playbook_ui 14.5.0.pre.alpha.javascriptassets3939 → 14.5.0.pre.alpha.play1549upgradereactmodal4130

Sign up to get free protection for your applications and to get access to all the features.
Files changed (63) hide show
  1. checksums.yaml +4 -4
  2. data/app/pb_kits/playbook/pb_advanced_table/index.js +60 -0
  3. data/app/pb_kits/playbook/pb_advanced_table/table_header.html.erb +1 -9
  4. data/app/pb_kits/playbook/pb_advanced_table/table_subrow_header.html.erb +1 -9
  5. data/app/pb_kits/playbook/pb_dropdown/_dropdown.tsx +20 -4
  6. data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_clear_selection.jsx +45 -0
  7. data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_clear_selection.md +1 -0
  8. data/app/pb_kits/playbook/pb_dropdown/docs/example.yml +1 -0
  9. data/app/pb_kits/playbook/pb_dropdown/docs/index.js +1 -0
  10. data/app/pb_kits/playbook/pb_dropdown/subcomponents/DropdownOption.tsx +1 -1
  11. data/app/pb_kits/playbook/pb_dropdown/subcomponents/DropdownTrigger.tsx +2 -2
  12. data/app/pb_kits/playbook/pb_enhanced_element/{element_observer.js → element_observer.ts} +27 -19
  13. data/app/pb_kits/playbook/pb_enhanced_element/{index.js → index.ts} +22 -15
  14. data/app/pb_kits/playbook/pb_filter/Filter/ResultsCount.tsx +4 -2
  15. data/app/pb_kits/playbook/pb_filter/docs/_filter_default.jsx +1 -1
  16. data/app/pb_kits/playbook/pb_form_pill/_form_pill.tsx +9 -1
  17. data/app/pb_kits/playbook/pb_form_pill/docs/_form_pill_truncated_text.html.erb +19 -0
  18. data/app/pb_kits/playbook/pb_form_pill/docs/_form_pill_truncated_text.jsx +27 -0
  19. data/app/pb_kits/playbook/pb_form_pill/docs/_form_pill_truncated_text.md +1 -0
  20. data/app/pb_kits/playbook/pb_form_pill/docs/example.yml +2 -0
  21. data/app/pb_kits/playbook/pb_form_pill/docs/index.js +1 -0
  22. data/app/pb_kits/playbook/pb_multi_level_select/_multi_level_select.tsx +211 -227
  23. data/app/pb_kits/playbook/pb_multi_level_select/context/index.tsx +5 -0
  24. data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_default.jsx +1 -1
  25. data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_reset.html.erb +93 -0
  26. data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_reset.md +1 -0
  27. data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_with_children.jsx +105 -0
  28. data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_with_children.md +1 -0
  29. data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_with_children_with_radios.jsx +106 -0
  30. data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_with_children_with_radios.md +1 -0
  31. data/app/pb_kits/playbook/pb_multi_level_select/docs/example.yml +4 -0
  32. data/app/pb_kits/playbook/pb_multi_level_select/docs/index.js +2 -0
  33. data/app/pb_kits/playbook/pb_multi_level_select/multi_level_select_options.tsx +149 -0
  34. data/app/pb_kits/playbook/pb_multiple_users_stacked/_multiple_users_stacked.scss +169 -65
  35. data/app/pb_kits/playbook/pb_multiple_users_stacked/_multiple_users_stacked.test.js +5 -5
  36. data/app/pb_kits/playbook/pb_multiple_users_stacked/_multiple_users_stacked.tsx +15 -9
  37. data/app/pb_kits/playbook/pb_multiple_users_stacked/docs/_multiple_users_stacked_size.html.erb +336 -0
  38. data/app/pb_kits/playbook/pb_multiple_users_stacked/docs/_multiple_users_stacked_size.jsx +97 -0
  39. data/app/pb_kits/playbook/pb_multiple_users_stacked/docs/example.yml +2 -0
  40. data/app/pb_kits/playbook/pb_multiple_users_stacked/docs/index.js +1 -0
  41. data/app/pb_kits/playbook/pb_multiple_users_stacked/multiple_users_stacked.html.erb +28 -6
  42. data/app/pb_kits/playbook/pb_multiple_users_stacked/multiple_users_stacked.rb +31 -1
  43. data/app/pb_kits/playbook/pb_typeahead/_typeahead.tsx +4 -1
  44. data/app/pb_kits/playbook/pb_typeahead/components/MultiValue.tsx +3 -1
  45. data/app/pb_kits/playbook/pb_typeahead/typeahead.rb +3 -1
  46. data/dist/chunks/_typeahead-C9g4qCcE.js +22 -0
  47. data/dist/chunks/_weekday_stacked-DQN7SPcO.js +45 -0
  48. data/dist/chunks/lib-CEpcaI8y.js +29 -0
  49. data/dist/chunks/{pb_form_validation-8H8TD40J.js → pb_form_validation-D9zkwt2b.js} +1 -1
  50. data/dist/chunks/vendor.js +1 -45
  51. data/dist/playbook-doc.js +1 -1
  52. data/dist/playbook-rails-react-bindings.js +1 -1
  53. data/dist/playbook-rails.js +1 -1
  54. data/dist/playbook.css +1 -1
  55. data/lib/playbook/pb_doc_helper.rb +5 -5
  56. data/lib/playbook/version.rb +1 -1
  57. metadata +23 -11
  58. data/dist/chunks/_typeahead-DPGG9h5l.js +0 -65
  59. data/dist/chunks/index-CaXZ6mCT.js +0 -1
  60. data/dist/chunks/index-DfoYI7sS.js +0 -1
  61. data/dist/chunks/lib-ByFv-sq8.js +0 -45
  62. data/dist/mark.js +0 -1
  63. data/dist/playbook-rails-friendly.js +0 -1
@@ -1,65 +0,0 @@
1
- import{r as reactExports,m as jsxRuntimeExports,n as getDefaultExportFromCjs,p as filter,q as omit,R as React,s as getAllIcons,t as get,u as commonjsGlobal,v as colors$1,w as highchartsTheme,x as merge,y as highchartsDarkTheme,z as useCollapsible,A as objectAssign,i as getAugmentedNamespace,B as createPopper,C as uniqueId,D as typography,E as cloneDeep,F as React$1,G as isString}from"./lib-ByFv-sq8.js";const initialState={items:[],dragData:{id:"",initialGroup:""},isDragging:"",activeContainer:""};const reducer=(state,action)=>{switch(action.type){case"SET_ITEMS":return Object.assign(Object.assign({},state),{items:action.payload});case"SET_DRAG_DATA":return Object.assign(Object.assign({},state),{dragData:action.payload});case"SET_IS_DRAGGING":return Object.assign(Object.assign({},state),{isDragging:action.payload});case"SET_ACTIVE_CONTAINER":return Object.assign(Object.assign({},state),{activeContainer:action.payload});case"CHANGE_CATEGORY":return Object.assign(Object.assign({},state),{items:state.items.map((item=>item.id===action.payload.itemId?Object.assign(Object.assign({},item),{container:action.payload.container}):item))});case"REORDER_ITEMS":{const{dragId:dragId,targetId:targetId}=action.payload;const newItems=[...state.items];const draggedItem=newItems.find((item=>item.id===dragId));const draggedIndex=newItems.indexOf(draggedItem);const targetIndex=newItems.findIndex((item=>item.id===targetId));newItems.splice(draggedIndex,1);newItems.splice(targetIndex,0,draggedItem);return Object.assign(Object.assign({},state),{items:newItems})}default:return state}};const DragContext=reactExports.createContext({});const DraggableContext=()=>reactExports.useContext(DragContext);const DraggableProvider=({children:children,initialItems:initialItems,onReorder:onReorder,onDragStart:onDragStart,onDragEnter:onDragEnter,onDragEnd:onDragEnd,onDrop:onDrop,onDragOver:onDragOver})=>{const[state,dispatch]=reactExports.useReducer(reducer,initialState);reactExports.useEffect((()=>{dispatch({type:"SET_ITEMS",payload:initialItems})}),[initialItems]);reactExports.useEffect((()=>{onReorder(state.items)}),[state.items]);const handleDragStart=(id2,container)=>{dispatch({type:"SET_DRAG_DATA",payload:{id:id2,initialGroup:container}});dispatch({type:"SET_IS_DRAGGING",payload:id2});if(onDragStart)onDragStart(id2,container)};const handleDragEnter=(id2,container)=>{if(state.dragData.id!==id2){dispatch({type:"REORDER_ITEMS",payload:{dragId:state.dragData.id,targetId:id2}});dispatch({type:"SET_DRAG_DATA",payload:{id:state.dragData.id,initialGroup:container}})}if(onDragEnter)onDragEnter(id2,container)};const handleDragEnd=()=>{dispatch({type:"SET_IS_DRAGGING",payload:""});dispatch({type:"SET_ACTIVE_CONTAINER",payload:""});if(onDragEnd)onDragEnd()};const changeCategory=(itemId,container)=>{dispatch({type:"CHANGE_CATEGORY",payload:{itemId:itemId,container:container}})};const handleDrop=container=>{dispatch({type:"SET_IS_DRAGGING",payload:""});dispatch({type:"SET_ACTIVE_CONTAINER",payload:""});changeCategory(state.dragData.id,container);if(onDrop)onDrop(container)};const handleDragOver=(e2,container)=>{e2.preventDefault();dispatch({type:"SET_ACTIVE_CONTAINER",payload:container});if(onDragOver)onDragOver(e2,container)};const contextValue=reactExports.useMemo((()=>({items:state.items,dragData:state.dragData,isDragging:state.isDragging,activeContainer:state.activeContainer,handleDragStart:handleDragStart,handleDragEnter:handleDragEnter,handleDragEnd:handleDragEnd,handleDrop:handleDrop,handleDragOver:handleDragOver})),[state]);return jsxRuntimeExports.jsx(DragContext.Provider,Object.assign({value:contextValue},{children:children}),void 0)};var classnames$1={exports:{}};
2
- /*!
3
- Copyright (c) 2018 Jed Watson.
4
- Licensed under the MIT License (MIT), see
5
- http://jedwatson.github.io/classnames
6
- */(function(module){(function(){var hasOwn={}.hasOwnProperty;function classNames2(){var classes=[];for(var i=0;i<arguments.length;i++){var arg=arguments[i];if(!arg)continue;var argType=typeof arg;if(argType==="string"||argType==="number"){classes.push(arg)}else if(Array.isArray(arg)){if(arg.length){var inner=classNames2.apply(null,arg);if(inner){classes.push(inner)}}}else if(argType==="object"){if(arg.toString!==Object.prototype.toString&&!arg.toString.toString().includes("[native code]")){classes.push(arg.toString());continue}for(var key in arg){if(hasOwn.call(arg,key)&&arg[key]){classes.push(key)}}}}return classes.join(" ")}if(module.exports){classNames2.default=classNames2;module.exports=classNames2}else{window.classNames=classNames2}})()})(classnames$1);var classnamesExports=classnames$1.exports;const classnames=getDefaultExportFromCjs(classnamesExports);const buildPrefixedProps=(prefix2,data)=>Object.keys(data).reduce(((props,key)=>{props[`${prefix2}-${key}`]=data[key];return props}),{});const noop$1=()=>{};const buildAriaProps=aria=>buildPrefixedProps("aria",aria);const buildDataProps=data=>buildPrefixedProps("data",data);const buildCss=(...rules)=>classnames(rules).replace(/\s/g,"_");const buildHtmlProps=htmlOptions=>{const htmlProps={};Object.keys(htmlOptions).forEach((key=>{htmlProps[key]=htmlOptions[key]}));return htmlProps};const isEmpty$1=value=>!value||value=="";const titleizedWord=word=>word.charAt(0).toUpperCase()+word.slice(1).toLowerCase();const titleize=sentence=>isEmpty$1(sentence)?sentence:sentence.split(" ").map(titleizedWord).join(" ");const notEmpty=value=>!isEmpty$1(value);const joinPresent=(array,separator)=>filter(array,notEmpty).join(separator);const camelToSnakeCase=word=>word.split(/([A-Z])/g).map(((w2,i)=>{const prefix2=i>0?"_":"";return w2===w2.toLowerCase()?w2:prefix2+w2.toLowerCase()})).join("");const BitValues=[0,1];const getResponsivePropClasses=(prop,classPrefix)=>{const keys=Object.keys(prop);return keys.map((size=>{const propValue=typeof prop[size]==="string"?camelToSnakeCase(prop[size]):prop[size];return`${classPrefix}_${size}_${propValue}`})).join(" ")};const getPositioningPropsClasses=(position2,value)=>{let css4="";if(typeof value==="string"){css4+=`${position2}_${value}`}else if(typeof value==="object"&&value.inset){css4+=`${position2}_${value.value}_inset`}else if(typeof value==="object"){css4+=`${position2}_${value.value}`}return css4};const filterClassName=value=>{if(value.includes("%")){return value.replace("%","_percent")}else{return value}};const PROP_CATEGORIES={hoverProps:({hover:hover})=>{let css4="";if(!hover)return css4;css4+=hover.shadow?`hover_shadow_${hover.shadow} `:"";css4+=hover.background?`hover_background_${hover.background} `:"";css4+=hover.scale?`hover_scale_${hover.scale} `:"";css4+=hover.color?`hover_color_${hover.color} `:"";return css4},spacingProps:({marginRight:marginRight,marginLeft:marginLeft,marginTop:marginTop,marginBottom:marginBottom,marginX:marginX,marginY:marginY,margin:margin,paddingRight:paddingRight,paddingLeft:paddingLeft,paddingTop:paddingTop,paddingBottom:paddingBottom,paddingX:paddingX,paddingY:paddingY,padding:padding})=>{let css4="";const spacingProps={marginRight:marginRight,marginLeft:marginLeft,marginTop:marginTop,marginBottom:marginBottom,marginX:marginX,marginY:marginY,margin:margin,paddingRight:paddingRight,paddingLeft:paddingLeft,paddingTop:paddingTop,paddingBottom:paddingBottom,paddingX:paddingX,paddingY:paddingY,padding:padding};const screenSizeValues=["xs","sm","md","lg","xl"];function handleObjectValue(properties,prefix2){let classResult="";const breakValue=properties.break||"on";const defaultValue=properties.default||null;Object.entries(properties).forEach((([key,value])=>{if(screenSizeValues.includes(key)){classResult+=`break_${breakValue}_${key}:${prefix2}_${value} `}}));if(defaultValue){classResult+=`${prefix2}_${defaultValue} `}return classResult}function getPrefix(key){const prefixes={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"};return prefixes[key]}Object.entries(spacingProps).forEach((([key,value])=>{if(value){if(typeof value==="object"){css4+=handleObjectValue(value,getPrefix(key))}else{const prefix2=getPrefix(key);css4+=`${prefix2}_${value} `}}}));return css4.trim()},borderRadiusProps:({borderRadius:borderRadius2})=>{let css4="";css4+=borderRadius2?`border_radius_${borderRadius2} `:"";return css4},overflowProps:({overflow:overflow,overflowX:overflowX,overflowY:overflowY})=>{let css4="";css4+=overflow?`overflow_${overflow}`:"";css4+=overflowX?`overflow_x_${overflowX}`:"";css4+=overflowY?`overflow_y_${overflowY}`:"";return css4},truncateProps:({truncate:truncate})=>{if(typeof truncate==="object"){return""}else{return truncate?`truncate_${truncate}`:""}},darkProps:({dark:dark})=>dark?"dark":"",numberSpacingProps:({numberSpacing:numberSpacing})=>{let css4="";css4+=numberSpacing?`ns_${numberSpacing} `:"";return css4},minWidthProps:({minWidth:minWidth})=>{let css4="";css4+=minWidth?`min_width_${filterClassName(minWidth)} `:"";return css4.trimEnd()},maxWidthProps:({maxWidth:maxWidth})=>{let css4="";css4+=maxWidth?`max_width_${filterClassName(maxWidth)} `:"";return css4.trimEnd()},zIndexProps:zIndex=>{let css4="";Object.entries(zIndex).forEach((zIndexEntry=>{if(zIndexEntry[0]=="zIndex"){if(typeof zIndexEntry[1]=="number"){css4+=`z_index_${zIndexEntry[1]} `}else if(typeof zIndexEntry[1]=="object"){Object.entries(zIndexEntry[1]).forEach((zIndexObj=>{css4+=`z_index_${zIndexObj[0]}_${zIndexObj[1]} `}))}}}));return css4},shadowProps:({shadow:shadow})=>{let css4="";css4+=shadow?`shadow_${shadow} `:"";return css4},lineHeightProps:({lineHeight:lineHeight})=>{let css4="";css4+=lineHeight?`line_height_${lineHeight} `:"";return css4},displayProps:display=>{let css4="";Object.entries(display).forEach((displayEntry=>{if(displayEntry[0]=="display"){if(typeof displayEntry[1]=="string"){css4+=`display_${displayEntry[1]} `}else if(typeof displayEntry[1]=="object"){Object.entries(displayEntry[1]).forEach((displayObj=>{css4+=`display_${displayObj[0]}_${displayObj[1]} `}))}else;}}));return css4},cursorProps:({cursor:cursor2})=>{let css4="";css4+=cursor2?`cursor_${camelToSnakeCase(cursor2)}`:"";return css4},alignContentProps:({alignContent:alignContent})=>{if(typeof alignContent==="object"){return getResponsivePropClasses(alignContent,"align_content")}return alignContent?`align_content_${camelToSnakeCase(alignContent)}`:""},alignItemsProps:({alignItems:alignItems})=>{if(typeof alignItems==="object"){return getResponsivePropClasses(alignItems,"align_items")}else{return alignItems?`align_items_${camelToSnakeCase(alignItems)}`:""}},alignSelfProps:({alignSelf:alignSelf})=>{if(typeof alignSelf==="object"){return getResponsivePropClasses(alignSelf,"align_self")}else{return alignSelf?`align_self_${alignSelf}`:""}},flexDirectionProps:({flexDirection:flexDirection})=>{if(typeof flexDirection=="object"){return getResponsivePropClasses(flexDirection,"flex_direction")}else{return flexDirection?`flex_direction_${camelToSnakeCase(flexDirection)}`:""}},flexWrapProps:({flexWrap:flexWrap})=>{if(typeof flexWrap=="object"){return getResponsivePropClasses(flexWrap,"flex_wrap")}else{return flexWrap?`flex_wrap_${camelToSnakeCase(flexWrap)}`:""}},flexProps:({flex:flex})=>{if(typeof flex==="object"){return getResponsivePropClasses(flex,"flex")}else{return flex?`flex_${flex}`:""}},flexGrowProps:({flexGrow:flexGrow})=>{if(typeof flexGrow=="object"){return getResponsivePropClasses(flexGrow,"flex_grow")}else if(BitValues.includes(flexGrow)){return`flex_grow_${flexGrow}`}else{return""}},flexShrinkProps:({flexShrink:flexShrink})=>{if(typeof flexShrink=="object"){return getResponsivePropClasses(flexShrink,"flex_shrink")}else if(BitValues.includes(flexShrink)){return`flex_shrink_${flexShrink}`}else{return""}},justifyContentProps:({justifyContent:justifyContent})=>{if(typeof justifyContent==="object"){return getResponsivePropClasses(justifyContent,"justify_content")}else{return justifyContent?`justify_content_${camelToSnakeCase(justifyContent)}`:""}},justifySelfProps:({justifySelf:justifySelf})=>{if(typeof justifySelf==="object"){return getResponsivePropClasses(justifySelf,"justify_self")}else{return justifySelf?`justify_self_${justifySelf}`:""}},orderProps:({order:order})=>{if(typeof order==="object"){return getResponsivePropClasses(order,"flex_order")}else{return order?`flex_order_${order}`:""}},positionProps:({position:position2})=>{let css4="";css4+=position2&&position2!=="static"?`position_${position2}`:"";return css4},topProps:({top:top})=>getPositioningPropsClasses("top",top),rightProps:({right:right})=>getPositioningPropsClasses("right",right),bottomProps:({bottom:bottom})=>getPositioningPropsClasses("bottom",bottom),leftProps:({left:left})=>getPositioningPropsClasses("left",left),textAlignProps:({textAlign:textAlign})=>{if(typeof textAlign==="object"){return getResponsivePropClasses(textAlign,"text_align")}else{return textAlign?`text_align_${textAlign} `:""}},verticalAlignProps:({verticalAlign:verticalAlign})=>{if(typeof verticalAlign==="object"){return getResponsivePropClasses(verticalAlign,"vertical_align")}else{return verticalAlign?`vertical_align_${verticalAlign} `:""}}};const globalProps=(props,defaultProps2={})=>{const allProps=Object.assign(Object.assign({},props),defaultProps2);return Object.keys(PROP_CATEGORIES).map((key=>PROP_CATEGORIES[key](allProps))).filter((value=>(value===null||value===void 0?void 0:value.length)>0)).join(" ")};const domSafeProps=props=>{const notSafeProps=["marginRight","marginLeft","marginTop","marginBottom","marginX","marginY","margin","paddingRight","paddingLeft","paddingTop","paddingBottom","paddingX","paddingY","padding","dark","enableDrag"];return omit(props,notSafeProps)};const Flex=props=>{const{align:align="none",children:children,className:className,data:data={},inline:inline=false,horizontal:horizontal="left",htmlOptions:htmlOptions={},justify:justify="none",orientation:orientation="row",spacing:spacing2="none",gap:gap="none",rowGap:rowGap="none",columnGap:columnGap="none",reverse:reverse=false,vertical:vertical="top",wrap:wrap2=false,alignSelf:alignSelf="none"}=props;const orientationClass=orientation!==void 0?`orientation_${orientation}`:"";const justifyClass=justify!=="none"?`justify_content_${justify}`:`justify_content_${horizontal}`;const alignClass=align!=="none"?`align_items_${align}`:`align_items_${vertical}`;const inlineClass=inline===true?"inline":"";const spacingClass=spacing2!==void 0?`spacing_${spacing2}`:"";const gapClass=gap!=="none"?`gap_${gap}`:"";const rowGapClass=rowGap!=="none"?`rowGap_${rowGap}`:"";const columnGapClass=columnGap!=="none"?`columnGap_${columnGap}`:"";const wrapClass=wrap2===true?"wrap":"";const reverseClass=reverse===true?"reverse":"";const alignSelfClass=alignSelf!=="none"?`align_self_${alignSelf}`:"";const dataProps=buildDataProps(data);const htmlProps=buildHtmlProps(htmlOptions);return jsxRuntimeExports.jsx("div",Object.assign({className:classnames(buildCss("pb_flex_kit",orientationClass,justifyClass,alignClass,inlineClass,reverseClass,wrapClass,spacingClass,gapClass,rowGapClass,columnGapClass,alignSelfClass),globalProps(props),className)},dataProps,htmlProps,{children:children}),void 0)};const FlexItem=props=>{const{children:children,className:className,fixedSize:fixedSize,grow:grow,htmlOptions:htmlOptions={},shrink:shrink,flex:flex="none",order:order="none",alignSelf:alignSelf,displayFlex:displayFlex}=props;const growClass=grow===true?"grow":"";const displayFlexClass=displayFlex===true?`display_flex_${displayFlex}`:"";const flexClass=flex!=="none"?`flex_${flex}`:"";const shrinkClass=shrink===true?"shrink":"";const alignSelfClass=alignSelf?`align_self_${alignSelf}`:"";const fixedStyle=fixedSize!==void 0?{flexBasis:`${fixedSize}`}:null;const orderClass=order!=="none"?`order_${order}`:null;const htmlProps=buildHtmlProps(htmlOptions);return jsxRuntimeExports.jsx("div",Object.assign({},htmlProps,{className:classnames(buildCss("pb_flex_item_kit",growClass,shrinkClass,flexClass,displayFlexClass),orderClass,alignSelfClass,globalProps(props),className),style:fixedStyle},{children:children}),void 0)};const isValidEmoji=emoji=>{const emojiRegex=new RegExp("^(\\p{Emoji}|\\uFE0F|\\u200D|\\u20E3)+$","u");return emojiRegex.test(emoji)};const flipMap={fa:{horizontal:"fa-flip-horizontal",vertical:"fa-flip-vertical",both:"fa-flip-horizontal fa-flip-vertical",none:""},svg:{horizontal:"flip_horizontal",vertical:"flip_vertical",both:"flip_horizontal flip_vertical",none:""}};const pulseMap={fa:"fa-pulse",svg:"pulse"};const spinMap={fa:"fa-spin",svg:"spin"};const rotateMap={fa:{90:"fa-rotate-90",180:"fa-rotate-180",270:"fa-rotate-270"},svg:{90:"rotate_90",180:"rotate_180",270:"rotate_270"}};const sizeMap={fa:{lg:"fa-lg",xs:"fa-xs",sm:"fa-sm","1x":"fa-1x","2x":"fa-2x","3x":"fa-3x","4x":"fa-4x","5x":"fa-5x","6x":"fa-6x","7x":"fa-7x","8x":"fa-8x","9x":"fa-9x","10x":"fa-10x","":""},svg:{lg:"svg_lg",xs:"svg_xs",sm:"svg_sm","1x":"svg_1x","2x":"svg_2x","3x":"svg_3x","4x":"svg_4x","5x":"svg_5x","6x":"svg_6x","7x":"svg_7x","8x":"svg_8x","9x":"svg_9x","10x":"svg_10x","":""}};const Icon=props=>{const{aria:aria={},border:border=false,className:className,color:color,customIcon:customIcon,data:data={},fixedWidth:fixedWidth=true,flip:flip="none",htmlOptions:htmlOptions={},icon:icon="",id:id2,inverse:inverse=false,listItem:listItem=false,pull:pull,pulse:pulse=false,rotation:rotation,size:size,fontStyle:fontStyle="far",spin:spin=false,tabIndex:tabIndex}=props;let iconElement=typeof icon==="object"?icon:null;if(!customIcon&&!iconElement){const PowerIcon=window.PB_ICONS?window.PB_ICONS[icon]:null;if(PowerIcon){iconElement=jsxRuntimeExports.jsx(PowerIcon,{},void 0)}}const isFA=!iconElement&&!customIcon;let classes=classnames(!iconElement&&!customIcon?"pb_icon_kit":"",iconElement||customIcon?"pb_custom_icon":fontStyle,iconElement?"svg-inline--fa":"",color?`color_${color}`:"",globalProps(props),className);const transformClasses=classnames(flip?flipMap[isFA?"fa":"svg"][flip]:null,pulse?pulseMap[isFA?"fa":"svg"]:null,rotation?rotateMap[isFA?"fa":"svg"][rotation]:null,spin?spinMap[isFA?"fa":"svg"]:null,size?sizeMap[isFA?"fa":"svg"][size]:null,border?isFA?"fa-border":"svg_border":null,fixedWidth?isFA?"fa-fw":"svg_fw":null,inverse?isFA?"fa-inverse":"svg_inverse":null,listItem?isFA?"fa-li":"svg_li":null,pull?isFA?`fa-pull-${pull}`:`pull_${pull}`:null);classes+=` ${transformClasses}`;if(isFA){const faClassList={"fa-border":border,"fa-inverse":inverse,"fa-li":listItem,[`fa-${size}`]:size,[`fa-pull-${pull}`]:pull};faClassList[`fa-${icon}`]=icon;classes+=` ${classnames(faClassList)}`}const classesEmoji=classnames("pb_icon_kit_emoji",globalProps(props),className);aria.label?null:aria.label=`${icon} icon`;const ariaProps=buildAriaProps(aria);const dataProps=buildDataProps(data);const htmlProps=buildHtmlProps(htmlOptions);const displaySVG=customIcon2=>{if(iconElement||customIcon2)return jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment,{children:React.cloneElement(iconElement||customIcon2,Object.assign(Object.assign(Object.assign(Object.assign({},dataProps),htmlProps),{className:classes,id:id2,width:"auto",height:"auto"}),props.tabIndex!==void 0&&{tabIndex:tabIndex}))},void 0);else if(isValidEmoji(icon))return jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment,{children:jsxRuntimeExports.jsx("span",Object.assign({},dataProps,htmlProps,{className:classesEmoji,id:id2},{children:icon}),void 0)},void 0);else return jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx("i",Object.assign({},dataProps,htmlProps,{className:classes,id:id2}),void 0),jsxRuntimeExports.jsx("span",Object.assign({},ariaProps,{hidden:true}),void 0)]},void 0)};return jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment,{children:displaySVG(customIcon)},void 0)};var main$1={exports:{}};(function(module){module.exports=function(modules){var installedModules={};function __webpack_require__(moduleId){if(installedModules[moduleId])return installedModules[moduleId].exports;var module2=installedModules[moduleId]={exports:{},id:moduleId,loaded:false};modules[moduleId].call(module2.exports,module2,module2.exports,__webpack_require__);module2.loaded=true;return module2.exports}__webpack_require__.m=modules;__webpack_require__.c=installedModules;__webpack_require__.p="";return __webpack_require__(0)}([function(module2,exports,__webpack_require__){module2.exports=__webpack_require__(1)},function(module2,exports,__webpack_require__){Object.defineProperty(exports,"__esModule",{value:true});function _interopRequireDefault2(obj){return obj&&obj.__esModule?obj:{default:obj}}var _Highlighter=__webpack_require__(2);var _Highlighter2=_interopRequireDefault2(_Highlighter);exports["default"]=_Highlighter2["default"];module2.exports=exports["default"]},function(module2,exports,__webpack_require__){Object.defineProperty(exports,"__esModule",{value:true});var _extends2=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source){if(Object.prototype.hasOwnProperty.call(source,key)){target[key]=source[key]}}}return target};exports["default"]=Highlighter2;function _interopRequireDefault2(obj){return obj&&obj.__esModule?obj:{default:obj}}function _objectWithoutProperties2(obj,keys){var target={};for(var i in obj){if(keys.indexOf(i)>=0)continue;if(!Object.prototype.hasOwnProperty.call(obj,i))continue;target[i]=obj[i]}return target}var _highlightWordsCore=__webpack_require__(3);var _propTypes3=__webpack_require__(4);var _propTypes22=_interopRequireDefault2(_propTypes3);var _react3=__webpack_require__(14);var _memoizeOne=__webpack_require__(15);var _memoizeOne2=_interopRequireDefault2(_memoizeOne);Highlighter2.propTypes={activeClassName:_propTypes22["default"].string,activeIndex:_propTypes22["default"].number,activeStyle:_propTypes22["default"].object,autoEscape:_propTypes22["default"].bool,className:_propTypes22["default"].string,findChunks:_propTypes22["default"].func,highlightClassName:_propTypes22["default"].oneOfType([_propTypes22["default"].object,_propTypes22["default"].string]),highlightStyle:_propTypes22["default"].object,highlightTag:_propTypes22["default"].oneOfType([_propTypes22["default"].node,_propTypes22["default"].func,_propTypes22["default"].string]),sanitize:_propTypes22["default"].func,searchWords:_propTypes22["default"].arrayOf(_propTypes22["default"].oneOfType([_propTypes22["default"].string,_propTypes22["default"].instanceOf(RegExp)])).isRequired,textToHighlight:_propTypes22["default"].string.isRequired,unhighlightTag:_propTypes22["default"].oneOfType([_propTypes22["default"].node,_propTypes22["default"].func,_propTypes22["default"].string]),unhighlightClassName:_propTypes22["default"].string,unhighlightStyle:_propTypes22["default"].object};function Highlighter2(_ref3){var _ref$activeClassName=_ref3.activeClassName;var activeClassName=_ref$activeClassName===void 0?"":_ref$activeClassName;var _ref$activeIndex=_ref3.activeIndex;var activeIndex=_ref$activeIndex===void 0?-1:_ref$activeIndex;var activeStyle=_ref3.activeStyle;var autoEscape=_ref3.autoEscape;var _ref$caseSensitive=_ref3.caseSensitive;var caseSensitive=_ref$caseSensitive===void 0?false:_ref$caseSensitive;var className=_ref3.className;var findChunks=_ref3.findChunks;var _ref$highlightClassName=_ref3.highlightClassName;var highlightClassName=_ref$highlightClassName===void 0?"":_ref$highlightClassName;var _ref$highlightStyle=_ref3.highlightStyle;var highlightStyle=_ref$highlightStyle===void 0?{}:_ref$highlightStyle;var _ref$highlightTag=_ref3.highlightTag;var highlightTag=_ref$highlightTag===void 0?"mark":_ref$highlightTag;var sanitize=_ref3.sanitize;var searchWords=_ref3.searchWords;var textToHighlight=_ref3.textToHighlight;var _ref$unhighlightTag=_ref3.unhighlightTag;var unhighlightTag=_ref$unhighlightTag===void 0?"span":_ref$unhighlightTag;var _ref$unhighlightClassName=_ref3.unhighlightClassName;var unhighlightClassName=_ref$unhighlightClassName===void 0?"":_ref$unhighlightClassName;var unhighlightStyle=_ref3.unhighlightStyle;var rest=_objectWithoutProperties2(_ref3,["activeClassName","activeIndex","activeStyle","autoEscape","caseSensitive","className","findChunks","highlightClassName","highlightStyle","highlightTag","sanitize","searchWords","textToHighlight","unhighlightTag","unhighlightClassName","unhighlightStyle"]);var chunks=(0,_highlightWordsCore.findAll)({autoEscape:autoEscape,caseSensitive:caseSensitive,findChunks:findChunks,sanitize:sanitize,searchWords:searchWords,textToHighlight:textToHighlight});var HighlightTag=highlightTag;var highlightIndex=-1;var highlightClassNames="";var highlightStyles=void 0;var lowercaseProps=function lowercaseProps2(object){var mapped={};for(var key in object){mapped[key.toLowerCase()]=object[key]}return mapped};var memoizedLowercaseProps=(0,_memoizeOne2["default"])(lowercaseProps);return(0,_react3.createElement)("span",_extends2({className:className},rest,{children:chunks.map((function(chunk,index2){var text=textToHighlight.substr(chunk.start,chunk.end-chunk.start);if(chunk.highlight){highlightIndex++;var highlightClass=void 0;if(typeof highlightClassName==="object"){if(!caseSensitive){highlightClassName=memoizedLowercaseProps(highlightClassName);highlightClass=highlightClassName[text.toLowerCase()]}else{highlightClass=highlightClassName[text]}}else{highlightClass=highlightClassName}var isActive=highlightIndex===+activeIndex;highlightClassNames=highlightClass+" "+(isActive?activeClassName:"");highlightStyles=isActive===true&&activeStyle!=null?Object.assign({},highlightStyle,activeStyle):highlightStyle;var props={children:text,className:highlightClassNames,key:index2,style:highlightStyles};if(typeof HighlightTag!=="string"){props.highlightIndex=highlightIndex}return(0,_react3.createElement)(HighlightTag,props)}else{return(0,_react3.createElement)(unhighlightTag,{children:text,className:unhighlightClassName,key:index2,style:unhighlightStyle})}}))}))}module2.exports=exports["default"]},function(module2,exports){module2.exports=function(modules){var installedModules={};function __webpack_require__(moduleId){if(installedModules[moduleId])return installedModules[moduleId].exports;var module3=installedModules[moduleId]={exports:{},id:moduleId,loaded:false};modules[moduleId].call(module3.exports,module3,module3.exports,__webpack_require__);module3.loaded=true;return module3.exports}__webpack_require__.m=modules;__webpack_require__.c=installedModules;__webpack_require__.p="";return __webpack_require__(0)}([function(module3,exports2,__webpack_require__){module3.exports=__webpack_require__(1)},function(module3,exports2,__webpack_require__){Object.defineProperty(exports2,"__esModule",{value:true});var _utils=__webpack_require__(2);Object.defineProperty(exports2,"combineChunks",{enumerable:true,get:function get2(){return _utils.combineChunks}});Object.defineProperty(exports2,"fillInChunks",{enumerable:true,get:function get2(){return _utils.fillInChunks}});Object.defineProperty(exports2,"findAll",{enumerable:true,get:function get2(){return _utils.findAll}});Object.defineProperty(exports2,"findChunks",{enumerable:true,get:function get2(){return _utils.findChunks}})},function(module3,exports2){Object.defineProperty(exports2,"__esModule",{value:true});exports2.findAll=function findAll2(_ref3){var autoEscape=_ref3.autoEscape,_ref$caseSensitive=_ref3.caseSensitive,caseSensitive=_ref$caseSensitive===void 0?false:_ref$caseSensitive,_ref$findChunks=_ref3.findChunks,findChunks=_ref$findChunks===void 0?defaultFindChunks:_ref$findChunks,sanitize=_ref3.sanitize,searchWords=_ref3.searchWords,textToHighlight=_ref3.textToHighlight;return fillInChunks({chunksToHighlight:combineChunks({chunks:findChunks({autoEscape:autoEscape,caseSensitive:caseSensitive,sanitize:sanitize,searchWords:searchWords,textToHighlight:textToHighlight})}),totalLength:textToHighlight?textToHighlight.length:0})};var combineChunks=exports2.combineChunks=function combineChunks2(_ref22){var chunks=_ref22.chunks;chunks=chunks.sort((function(first,second){return first.start-second.start})).reduce((function(processedChunks,nextChunk){if(processedChunks.length===0){return[nextChunk]}else{var prevChunk=processedChunks.pop();if(nextChunk.start<=prevChunk.end){var endIndex=Math.max(prevChunk.end,nextChunk.end);processedChunks.push({start:prevChunk.start,end:endIndex})}else{processedChunks.push(prevChunk,nextChunk)}return processedChunks}}),[]);return chunks};var defaultFindChunks=function defaultFindChunks2(_ref3){var autoEscape=_ref3.autoEscape,caseSensitive=_ref3.caseSensitive,_ref3$sanitize=_ref3.sanitize,sanitize=_ref3$sanitize===void 0?identity:_ref3$sanitize,searchWords=_ref3.searchWords,textToHighlight=_ref3.textToHighlight;textToHighlight=sanitize(textToHighlight);return searchWords.filter((function(searchWord){return searchWord})).reduce((function(chunks,searchWord){searchWord=sanitize(searchWord);if(autoEscape){searchWord=escapeRegExpFn(searchWord)}var regex=new RegExp(searchWord,caseSensitive?"g":"gi");var match2=void 0;while(match2=regex.exec(textToHighlight)){var start=match2.index;var end=regex.lastIndex;if(end>start){chunks.push({start:start,end:end})}if(match2.index==regex.lastIndex){regex.lastIndex++}}return chunks}),[])};exports2.findChunks=defaultFindChunks;var fillInChunks=exports2.fillInChunks=function fillInChunks2(_ref4){var chunksToHighlight=_ref4.chunksToHighlight,totalLength=_ref4.totalLength;var allChunks=[];var append2=function append22(start,end,highlight){if(end-start>0){allChunks.push({start:start,end:end,highlight:highlight})}};if(chunksToHighlight.length===0){append2(0,totalLength,false)}else{var lastIndex=0;chunksToHighlight.forEach((function(chunk){append2(lastIndex,chunk.start,false);append2(chunk.start,chunk.end,true);lastIndex=chunk.end}));append2(lastIndex,totalLength,false)}return allChunks};function identity(value){return value}function escapeRegExpFn(str){return str.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}}])},function(module2,exports,__webpack_require__){(function(process){if(process.env.NODE_ENV!=="production"){var REACT_ELEMENT_TYPE=typeof Symbol==="function"&&Symbol.for&&Symbol.for("react.element")||60103;var isValidElement=function(object){return typeof object==="object"&&object!==null&&object.$$typeof===REACT_ELEMENT_TYPE};var throwOnDirectAccess=true;module2.exports=__webpack_require__(6)(isValidElement,throwOnDirectAccess)}else{module2.exports=__webpack_require__(13)()}}).call(exports,__webpack_require__(5))},function(module2,exports){var process=module2.exports={};var cachedSetTimeout;var cachedClearTimeout;function defaultSetTimout(){throw new Error("setTimeout has not been defined")}function defaultClearTimeout(){throw new Error("clearTimeout has not been defined")}(function(){try{if(typeof setTimeout==="function"){cachedSetTimeout=setTimeout}else{cachedSetTimeout=defaultSetTimout}}catch(e2){cachedSetTimeout=defaultSetTimout}try{if(typeof clearTimeout==="function"){cachedClearTimeout=clearTimeout}else{cachedClearTimeout=defaultClearTimeout}}catch(e2){cachedClearTimeout=defaultClearTimeout}})();function runTimeout(fun){if(cachedSetTimeout===setTimeout){return setTimeout(fun,0)}if((cachedSetTimeout===defaultSetTimout||!cachedSetTimeout)&&setTimeout){cachedSetTimeout=setTimeout;return setTimeout(fun,0)}try{return cachedSetTimeout(fun,0)}catch(e2){try{return cachedSetTimeout.call(null,fun,0)}catch(e22){return cachedSetTimeout.call(this,fun,0)}}}function runClearTimeout(marker){if(cachedClearTimeout===clearTimeout){return clearTimeout(marker)}if((cachedClearTimeout===defaultClearTimeout||!cachedClearTimeout)&&clearTimeout){cachedClearTimeout=clearTimeout;return clearTimeout(marker)}try{return cachedClearTimeout(marker)}catch(e2){try{return cachedClearTimeout.call(null,marker)}catch(e22){return cachedClearTimeout.call(this,marker)}}}var queue=[];var draining=false;var currentQueue;var queueIndex=-1;function cleanUpNextTick(){if(!draining||!currentQueue){return}draining=false;if(currentQueue.length){queue=currentQueue.concat(queue)}else{queueIndex=-1}if(queue.length){drainQueue()}}function drainQueue(){if(draining){return}var timeout=runTimeout(cleanUpNextTick);draining=true;var len=queue.length;while(len){currentQueue=queue;queue=[];while(++queueIndex<len){if(currentQueue){currentQueue[queueIndex].run()}}queueIndex=-1;len=queue.length}currentQueue=null;draining=false;runClearTimeout(timeout)}process.nextTick=function(fun){var args=new Array(arguments.length-1);if(arguments.length>1){for(var i=1;i<arguments.length;i++){args[i-1]=arguments[i]}}queue.push(new Item(fun,args));if(queue.length===1&&!draining){runTimeout(drainQueue)}};function Item(fun,array){this.fun=fun;this.array=array}Item.prototype.run=function(){this.fun.apply(null,this.array)};process.title="browser";process.browser=true;process.env={};process.argv=[];process.version="";process.versions={};function noop3(){}process.on=noop3;process.addListener=noop3;process.once=noop3;process.off=noop3;process.removeListener=noop3;process.removeAllListeners=noop3;process.emit=noop3;process.prependListener=noop3;process.prependOnceListener=noop3;process.listeners=function(name2){return[]};process.binding=function(name2){throw new Error("process.binding is not supported")};process.cwd=function(){return"/"};process.chdir=function(dir){throw new Error("process.chdir is not supported")};process.umask=function(){return 0}},function(module2,exports,__webpack_require__){(function(process){var emptyFunction2=__webpack_require__(7);var invariant=__webpack_require__(8);var warning2=__webpack_require__(9);var assign2=__webpack_require__(10);var ReactPropTypesSecret2=__webpack_require__(11);var checkPropTypes=__webpack_require__(12);module2.exports=function(isValidElement,throwOnDirectAccess){var ITERATOR_SYMBOL=typeof Symbol==="function"&&Symbol.iterator;var FAUX_ITERATOR_SYMBOL="@@iterator";function getIteratorFn(maybeIterable){var iteratorFn=maybeIterable&&(ITERATOR_SYMBOL&&maybeIterable[ITERATOR_SYMBOL]||maybeIterable[FAUX_ITERATOR_SYMBOL]);if(typeof iteratorFn==="function"){return iteratorFn}}var ANONYMOUS="<<anonymous>>";var ReactPropTypes={array:createPrimitiveTypeChecker("array"),bool:createPrimitiveTypeChecker("boolean"),func:createPrimitiveTypeChecker("function"),number:createPrimitiveTypeChecker("number"),object:createPrimitiveTypeChecker("object"),string:createPrimitiveTypeChecker("string"),symbol:createPrimitiveTypeChecker("symbol"),any:createAnyTypeChecker(),arrayOf:createArrayOfTypeChecker,element:createElementTypeChecker(),instanceOf:createInstanceTypeChecker,node:createNodeChecker(),objectOf:createObjectOfTypeChecker,oneOf:createEnumTypeChecker,oneOfType:createUnionTypeChecker,shape:createShapeTypeChecker,exact:createStrictShapeTypeChecker};function is(x2,y2){if(x2===y2){return x2!==0||1/x2===1/y2}else{return x2!==x2&&y2!==y2}}function PropTypeError(message){this.message=message;this.stack=""}PropTypeError.prototype=Error.prototype;function createChainableTypeChecker(validate){if(process.env.NODE_ENV!=="production"){var manualPropTypeCallCache={};var manualPropTypeWarningCount=0}function checkType(isRequired,props,propName,componentName,location,propFullName,secret){componentName=componentName||ANONYMOUS;propFullName=propFullName||propName;if(secret!==ReactPropTypesSecret2){if(throwOnDirectAccess){invariant(false,"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")}else if(process.env.NODE_ENV!=="production"&&typeof console!=="undefined"){var cacheKey=componentName+":"+propName;if(!manualPropTypeCallCache[cacheKey]&&manualPropTypeWarningCount<3){warning2(false,"You are manually calling a React.PropTypes validation function for the `%s` prop on `%s`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details.",propFullName,componentName);manualPropTypeCallCache[cacheKey]=true;manualPropTypeWarningCount++}}}if(props[propName]==null){if(isRequired){if(props[propName]===null){return new PropTypeError("The "+location+" `"+propFullName+"` is marked as required "+("in `"+componentName+"`, but its value is `null`."))}return new PropTypeError("The "+location+" `"+propFullName+"` is marked as required in "+("`"+componentName+"`, but its value is `undefined`."))}return null}else{return validate(props,propName,componentName,location,propFullName)}}var chainedCheckType=checkType.bind(null,false);chainedCheckType.isRequired=checkType.bind(null,true);return chainedCheckType}function createPrimitiveTypeChecker(expectedType){function validate(props,propName,componentName,location,propFullName,secret){var propValue=props[propName];var propType=getPropType(propValue);if(propType!==expectedType){var preciseType=getPreciseType(propValue);return new PropTypeError("Invalid "+location+" `"+propFullName+"` of type "+("`"+preciseType+"` supplied to `"+componentName+"`, expected ")+("`"+expectedType+"`."))}return null}return createChainableTypeChecker(validate)}function createAnyTypeChecker(){return createChainableTypeChecker(emptyFunction2.thatReturnsNull)}function createArrayOfTypeChecker(typeChecker){function validate(props,propName,componentName,location,propFullName){if(typeof typeChecker!=="function"){return new PropTypeError("Property `"+propFullName+"` of component `"+componentName+"` has invalid PropType notation inside arrayOf.")}var propValue=props[propName];if(!Array.isArray(propValue)){var propType=getPropType(propValue);return new PropTypeError("Invalid "+location+" `"+propFullName+"` of type "+("`"+propType+"` supplied to `"+componentName+"`, expected an array."))}for(var i=0;i<propValue.length;i++){var error=typeChecker(propValue,i,componentName,location,propFullName+"["+i+"]",ReactPropTypesSecret2);if(error instanceof Error){return error}}return null}return createChainableTypeChecker(validate)}function createElementTypeChecker(){function validate(props,propName,componentName,location,propFullName){var propValue=props[propName];if(!isValidElement(propValue)){var propType=getPropType(propValue);return new PropTypeError("Invalid "+location+" `"+propFullName+"` of type "+("`"+propType+"` supplied to `"+componentName+"`, expected a single ReactElement."))}return null}return createChainableTypeChecker(validate)}function createInstanceTypeChecker(expectedClass){function validate(props,propName,componentName,location,propFullName){if(!(props[propName]instanceof expectedClass)){var expectedClassName=expectedClass.name||ANONYMOUS;var actualClassName=getClassName(props[propName]);return new PropTypeError("Invalid "+location+" `"+propFullName+"` of type "+("`"+actualClassName+"` supplied to `"+componentName+"`, expected ")+("instance of `"+expectedClassName+"`."))}return null}return createChainableTypeChecker(validate)}function createEnumTypeChecker(expectedValues){if(!Array.isArray(expectedValues)){process.env.NODE_ENV!=="production"?warning2(false,"Invalid argument supplied to oneOf, expected an instance of array."):void 0;return emptyFunction2.thatReturnsNull}function validate(props,propName,componentName,location,propFullName){var propValue=props[propName];for(var i=0;i<expectedValues.length;i++){if(is(propValue,expectedValues[i])){return null}}var valuesString=JSON.stringify(expectedValues);return new PropTypeError("Invalid "+location+" `"+propFullName+"` of value `"+propValue+"` "+("supplied to `"+componentName+"`, expected one of "+valuesString+"."))}return createChainableTypeChecker(validate)}function createObjectOfTypeChecker(typeChecker){function validate(props,propName,componentName,location,propFullName){if(typeof typeChecker!=="function"){return new PropTypeError("Property `"+propFullName+"` of component `"+componentName+"` has invalid PropType notation inside objectOf.")}var propValue=props[propName];var propType=getPropType(propValue);if(propType!=="object"){return new PropTypeError("Invalid "+location+" `"+propFullName+"` of type "+("`"+propType+"` supplied to `"+componentName+"`, expected an object."))}for(var key in propValue){if(propValue.hasOwnProperty(key)){var error=typeChecker(propValue,key,componentName,location,propFullName+"."+key,ReactPropTypesSecret2);if(error instanceof Error){return error}}}return null}return createChainableTypeChecker(validate)}function createUnionTypeChecker(arrayOfTypeCheckers){if(!Array.isArray(arrayOfTypeCheckers)){process.env.NODE_ENV!=="production"?warning2(false,"Invalid argument supplied to oneOfType, expected an instance of array."):void 0;return emptyFunction2.thatReturnsNull}for(var i=0;i<arrayOfTypeCheckers.length;i++){var checker=arrayOfTypeCheckers[i];if(typeof checker!=="function"){warning2(false,"Invalid argument supplied to oneOfType. Expected an array of check functions, but received %s at index %s.",getPostfixForTypeWarning(checker),i);return emptyFunction2.thatReturnsNull}}function validate(props,propName,componentName,location,propFullName){for(var i2=0;i2<arrayOfTypeCheckers.length;i2++){var checker2=arrayOfTypeCheckers[i2];if(checker2(props,propName,componentName,location,propFullName,ReactPropTypesSecret2)==null){return null}}return new PropTypeError("Invalid "+location+" `"+propFullName+"` supplied to "+("`"+componentName+"`."))}return createChainableTypeChecker(validate)}function createNodeChecker(){function validate(props,propName,componentName,location,propFullName){if(!isNode2(props[propName])){return new PropTypeError("Invalid "+location+" `"+propFullName+"` supplied to "+("`"+componentName+"`, expected a ReactNode."))}return null}return createChainableTypeChecker(validate)}function createShapeTypeChecker(shapeTypes){function validate(props,propName,componentName,location,propFullName){var propValue=props[propName];var propType=getPropType(propValue);if(propType!=="object"){return new PropTypeError("Invalid "+location+" `"+propFullName+"` of type `"+propType+"` "+("supplied to `"+componentName+"`, expected `object`."))}for(var key in shapeTypes){var checker=shapeTypes[key];if(!checker){continue}var error=checker(propValue,key,componentName,location,propFullName+"."+key,ReactPropTypesSecret2);if(error){return error}}return null}return createChainableTypeChecker(validate)}function createStrictShapeTypeChecker(shapeTypes){function validate(props,propName,componentName,location,propFullName){var propValue=props[propName];var propType=getPropType(propValue);if(propType!=="object"){return new PropTypeError("Invalid "+location+" `"+propFullName+"` of type `"+propType+"` "+("supplied to `"+componentName+"`, expected `object`."))}var allKeys=assign2({},props[propName],shapeTypes);for(var key in allKeys){var checker=shapeTypes[key];if(!checker){return new PropTypeError("Invalid "+location+" `"+propFullName+"` key `"+key+"` supplied to `"+componentName+"`.\nBad object: "+JSON.stringify(props[propName],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(shapeTypes),null," "))}var error=checker(propValue,key,componentName,location,propFullName+"."+key,ReactPropTypesSecret2);if(error){return error}}return null}return createChainableTypeChecker(validate)}function isNode2(propValue){switch(typeof propValue){case"number":case"string":case"undefined":return true;case"boolean":return!propValue;case"object":if(Array.isArray(propValue)){return propValue.every(isNode2)}if(propValue===null||isValidElement(propValue)){return true}var iteratorFn=getIteratorFn(propValue);if(iteratorFn){var iterator=iteratorFn.call(propValue);var step;if(iteratorFn!==propValue.entries){while(!(step=iterator.next()).done){if(!isNode2(step.value)){return false}}}else{while(!(step=iterator.next()).done){var entry=step.value;if(entry){if(!isNode2(entry[1])){return false}}}}}else{return false}return true;default:return false}}function isSymbol(propType,propValue){if(propType==="symbol"){return true}if(propValue["@@toStringTag"]==="Symbol"){return true}if(typeof Symbol==="function"&&propValue instanceof Symbol){return true}return false}function getPropType(propValue){var propType=typeof propValue;if(Array.isArray(propValue)){return"array"}if(propValue instanceof RegExp){return"object"}if(isSymbol(propType,propValue)){return"symbol"}return propType}function getPreciseType(propValue){if(typeof propValue==="undefined"||propValue===null){return""+propValue}var propType=getPropType(propValue);if(propType==="object"){if(propValue instanceof Date){return"date"}else if(propValue instanceof RegExp){return"regexp"}}return propType}function getPostfixForTypeWarning(value){var type=getPreciseType(value);switch(type){case"array":case"object":return"an "+type;case"boolean":case"date":case"regexp":return"a "+type;default:return type}}function getClassName(propValue){if(!propValue.constructor||!propValue.constructor.name){return ANONYMOUS}return propValue.constructor.name}ReactPropTypes.checkPropTypes=checkPropTypes;ReactPropTypes.PropTypes=ReactPropTypes;return ReactPropTypes}}).call(exports,__webpack_require__(5))},function(module2,exports){function makeEmptyFunction(arg){return function(){return arg}}var emptyFunction2=function emptyFunction22(){};emptyFunction2.thatReturns=makeEmptyFunction;emptyFunction2.thatReturnsFalse=makeEmptyFunction(false);emptyFunction2.thatReturnsTrue=makeEmptyFunction(true);emptyFunction2.thatReturnsNull=makeEmptyFunction(null);emptyFunction2.thatReturnsThis=function(){return this};emptyFunction2.thatReturnsArgument=function(arg){return arg};module2.exports=emptyFunction2},function(module2,exports,__webpack_require__){(function(process){var validateFormat=function validateFormat2(format){};if(process.env.NODE_ENV!=="production"){validateFormat=function validateFormat2(format){if(format===void 0){throw new Error("invariant requires an error message argument")}}}function invariant(condition,format,a2,b2,c2,d2,e2,f2){validateFormat(format);if(!condition){var error;if(format===void 0){error=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.")}else{var args=[a2,b2,c2,d2,e2,f2];var argIndex=0;error=new Error(format.replace(/%s/g,(function(){return args[argIndex++]})));error.name="Invariant Violation"}error.framesToPop=1;throw error}}module2.exports=invariant}).call(exports,__webpack_require__(5))},function(module2,exports,__webpack_require__){(function(process){var emptyFunction2=__webpack_require__(7);var warning2=emptyFunction2;if(process.env.NODE_ENV!=="production"){var printWarning=function printWarning2(format){for(var _len=arguments.length,args=Array(_len>1?_len-1:0),_key=1;_key<_len;_key++){args[_key-1]=arguments[_key]}var argIndex=0;var message="Warning: "+format.replace(/%s/g,(function(){return args[argIndex++]}));if(typeof console!=="undefined"){console.error(message)}try{throw new Error(message)}catch(x2){}};warning2=function warning22(condition,format){if(format===void 0){throw new Error("`warning(condition, format, ...args)` requires a warning message argument")}if(format.indexOf("Failed Composite propType: ")===0){return}if(!condition){for(var _len2=arguments.length,args=Array(_len2>2?_len2-2:0),_key2=2;_key2<_len2;_key2++){args[_key2-2]=arguments[_key2]}printWarning.apply(void 0,[format].concat(args))}}}module2.exports=warning2}).call(exports,__webpack_require__(5))},function(module2,exports){var getOwnPropertySymbols=Object.getOwnPropertySymbols;var hasOwnProperty2=Object.prototype.hasOwnProperty;var propIsEnumerable=Object.prototype.propertyIsEnumerable;function toObject(val){if(val===null||val===void 0){throw new TypeError("Object.assign cannot be called with null or undefined")}return Object(val)}function shouldUseNative(){try{if(!Object.assign){return false}var test1=new String("abc");test1[5]="de";if(Object.getOwnPropertyNames(test1)[0]==="5"){return false}var test2={};for(var i=0;i<10;i++){test2["_"+String.fromCharCode(i)]=i}var order2=Object.getOwnPropertyNames(test2).map((function(n2){return test2[n2]}));if(order2.join("")!=="0123456789"){return false}var test3={};"abcdefghijklmnopqrst".split("").forEach((function(letter){test3[letter]=letter}));if(Object.keys(Object.assign({},test3)).join("")!=="abcdefghijklmnopqrst"){return false}return true}catch(err){return false}}module2.exports=shouldUseNative()?Object.assign:function(target,source){var from2;var to=toObject(target);var symbols;for(var s2=1;s2<arguments.length;s2++){from2=Object(arguments[s2]);for(var key in from2){if(hasOwnProperty2.call(from2,key)){to[key]=from2[key]}}if(getOwnPropertySymbols){symbols=getOwnPropertySymbols(from2);for(var i=0;i<symbols.length;i++){if(propIsEnumerable.call(from2,symbols[i])){to[symbols[i]]=from2[symbols[i]]}}}}return to}},function(module2,exports){var ReactPropTypesSecret2="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";module2.exports=ReactPropTypesSecret2},function(module2,exports,__webpack_require__){(function(process){if(process.env.NODE_ENV!=="production"){var invariant=__webpack_require__(8);var warning2=__webpack_require__(9);var ReactPropTypesSecret2=__webpack_require__(11);var loggedTypeFailures={}}function checkPropTypes(typeSpecs,values,location,componentName,getStack){if(process.env.NODE_ENV!=="production"){for(var typeSpecName in typeSpecs){if(typeSpecs.hasOwnProperty(typeSpecName)){var error;try{invariant(typeof typeSpecs[typeSpecName]==="function","%s: %s type `%s` is invalid; it must be a function, usually from the `prop-types` package, but received `%s`.",componentName||"React class",location,typeSpecName,typeof typeSpecs[typeSpecName]);error=typeSpecs[typeSpecName](values,typeSpecName,componentName,location,null,ReactPropTypesSecret2)}catch(ex){error=ex}warning2(!error||error instanceof Error,"%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",componentName||"React class",location,typeSpecName,typeof error);if(error instanceof Error&&!(error.message in loggedTypeFailures)){loggedTypeFailures[error.message]=true;var stack=getStack?getStack():"";warning2(false,"Failed %s type: %s%s",location,error.message,stack!=null?stack:"")}}}}}module2.exports=checkPropTypes}).call(exports,__webpack_require__(5))},function(module2,exports,__webpack_require__){var emptyFunction2=__webpack_require__(7);var invariant=__webpack_require__(8);var ReactPropTypesSecret2=__webpack_require__(11);module2.exports=function(){function shim(props,propName,componentName,location,propFullName,secret){if(secret===ReactPropTypesSecret2){return}invariant(false,"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")}shim.isRequired=shim;function getShim(){return shim}var ReactPropTypes={array:shim,bool:shim,func:shim,number:shim,object:shim,string:shim,symbol:shim,any:shim,arrayOf:getShim,element:shim,instanceOf:getShim,node:shim,objectOf:getShim,oneOf:getShim,oneOfType:getShim,shape:getShim,exact:getShim};ReactPropTypes.checkPropTypes=emptyFunction2;ReactPropTypes.PropTypes=ReactPropTypes;return ReactPropTypes}},function(module2,exports){module2.exports=reactExports},function(module2,exports){var simpleIsEqual=function simpleIsEqual2(a2,b2){return a2===b2};function index2(resultFn){var isEqual3=arguments.length>1&&arguments[1]!==void 0?arguments[1]:simpleIsEqual;var lastThis=void 0;var lastArgs=[];var lastResult=void 0;var calledOnce=false;var isNewArgEqualToLast=function isNewArgEqualToLast2(newArg,index22){return isEqual3(newArg,lastArgs[index22])};var result=function result2(){for(var _len=arguments.length,newArgs=Array(_len),_key=0;_key<_len;_key++){newArgs[_key]=arguments[_key]}if(calledOnce&&lastThis===this&&newArgs.length===lastArgs.length&&newArgs.every(isNewArgEqualToLast)){return lastResult}calledOnce=true;lastThis=this;lastArgs=newArgs;lastResult=resultFn.apply(this,newArgs);return lastResult};return result}module2.exports=index2}])})(main$1);var mainExports$1=main$1.exports;const Highlighter=getDefaultExportFromCjs(mainExports$1);const Highlight=props=>{const{children:children,className:className="pb_highlight_kit",data:data={},highlightedText:highlightedText=["highlight"],htmlOptions:htmlOptions={},id:id2="",text:text=""}=props;const htmlProps=buildHtmlProps(htmlOptions);const highlightContent=text||children;return jsxRuntimeExports.jsx(Highlighter,Object.assign({autoEscape:true,data:data,highlightClassName:classnames(globalProps(props),className),highlightTag:"mark",id:id2,searchWords:highlightedText,textToHighlight:highlightContent},htmlProps),void 0)};const Body$1=props=>{if(props.variant);const{aria:aria={},children:children,className:className,color:color="",data:data={},highlightedText:highlightedText=[],highlighting:highlighting=false,htmlOptions:htmlOptions={},id:id2="",status:status=null,tag:tag="div",text:text="",variant:variant=null}=props;const ariaProps=buildAriaProps(aria);const dataProps=buildDataProps(data);const htmlProps=buildHtmlProps(htmlOptions);const classes=classnames(buildCss("pb_body_kit",color,variant,status),globalProps(props),className);const Tag=`${tag}`;return jsxRuntimeExports.jsxs(Tag,Object.assign({},ariaProps,dataProps,htmlProps,{className:classes,id:id2},{children:[highlighting&&jsxRuntimeExports.jsx(Highlight,Object.assign({highlightedText:highlightedText,text:text},{children:children}),void 0),!highlighting&&(text||children)]}),void 0)};const Caption=props=>{if(props.variant);const{aria:aria={},children:children,className:className,color:color,data:data={},htmlOptions:htmlOptions={},id:id2,size:size="md",tag:tag="div",text:text,variant:variant=null}=props;const tagOptions=["h1","h2","h3","h4","h5","h6","p","span","div","caption"];const Tag=tagOptions.includes(tag)?tag:"div";const ariaProps=buildAriaProps(aria);const dataProps=buildDataProps(data);const htmlProps=buildHtmlProps(htmlOptions);const css4=classnames(buildCss("pb_caption_kit",size,variant,color),globalProps(props),className);return jsxRuntimeExports.jsx(Tag,Object.assign({},ariaProps,dataProps,htmlProps,{className:css4,id:id2},{children:text||children}),void 0)};const getPlacementProps=(placement,size)=>{let placementMapping={};switch(size){case"xxs":case"xs":placementMapping={"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":placementMapping={"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":placementMapping={"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":placementMapping={"top-right":{top:{value:"xxs",inset:true},right:{value:"xxs",inset:true}},"bottom-left":{bottom:{value:"xxs",inset:true},left:{value:"xxs",inset:true}},"top-left":{top:{value:"xxs",inset:true},left:{value:"xxs",inset:true}},"bottom-right":{bottom:{value:"xxs",inset:true},right:{value:"xxs",inset:true}},"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 placementMapping[placement]||{}};const Image$1=props=>{const{alt:alt="",aria:aria={},className:className,data:data={},htmlOptions:htmlOptions={},id:id2,onError:onError=null,rounded:rounded=false,size:size="",transition:transition="fade",url:url=""}=props;const ariaProps=buildAriaProps(aria);const classes=classnames(buildCss("pb_image_kit",size?`size_${size}`:null),"lazyload",transition,{rounded:rounded},globalProps(props),className);const dataProps=buildDataProps(data);const htmlProps=buildHtmlProps(htmlOptions);return jsxRuntimeExports.jsx("img",{...ariaProps,...dataProps,...htmlProps,alt:alt,className:classes,"data-src":url,id:id2,onError:onError,src:url})};const OnlineStatus=props=>{const{aria:aria={},className:className,data:data={},htmlOptions:htmlOptions={},id:id2,status:status="offline",size:size="sm",noBorder:noBorder=false}=props;aria.label=status;const ariaProps=buildAriaProps(aria);const dataProps=buildDataProps(data);const htmlProps=buildHtmlProps(htmlOptions);const getBorder=noBorder?"no_border":"";const classes=classnames(buildCss("pb_online_status_kit",status,getBorder,"size",size),globalProps(props),className);return jsxRuntimeExports.jsx("div",{...ariaProps,...dataProps,...htmlProps,className:classes,id:id2})};const Badge=props=>{const{aria:aria={},className:className,closeProps:closeProps={},data:data={},htmlOptions:htmlOptions={},id:id2,removeIcon:removeIcon=false,removeOnClick:removeOnClick,rounded:rounded=false,text:text,variant:variant="neutral"}=props;const ariaProps=buildAriaProps(aria);const dataProps=buildDataProps(data);const htmlProps=buildHtmlProps(htmlOptions);const css4=classnames(buildCss("pb_badge_kit",variant==="success"?"success_sm":variant==="notificationError"?"notification_error":variant,rounded?"rounded":""),globalProps(props),className);const timesIcon=getAllIcons()["times"];return jsxRuntimeExports.jsx("div",{...ariaProps,...dataProps,...htmlProps,className:css4,id:id2,children:jsxRuntimeExports.jsxs("span",{children:[text,removeIcon&&jsxRuntimeExports.jsx("span",{onClick:removeOnClick,style:{cursor:"pointer"},...closeProps,children:jsxRuntimeExports.jsx(Icon,{className:"svg-inline--fa",customIcon:timesIcon.icon,fixedWidth:true})})]})})};const IconCircle=props=>{const{aria:aria={},className:className,dark:dark=false,data:data={},htmlOptions:htmlOptions={},icon:icon,id:id2,size:size="md",variant:variant="default"}=props;const ariaProps=buildAriaProps(aria);const dataProps=buildDataProps(data);const htmlProps=buildHtmlProps(htmlOptions);const classes=classnames(buildCss("pb_icon_circle_kit",`size_${size}`,variant),globalProps(props),className);return jsxRuntimeExports.jsx("div",{...ariaProps,...dataProps,...htmlProps,className:classes,id:id2,children:jsxRuntimeExports.jsx(Icon,{dark:dark,icon:icon})})};const DraggableContainer=props=>{const{aria:aria={},children:children,className:className,container:container,data:data={},htmlOptions:htmlOptions={},id:id2}=props;const{handleDragOver:handleDragOver,handleDrop:handleDrop,activeContainer:activeContainer}=DraggableContext();const ariaProps=buildAriaProps(aria);const dataProps=buildDataProps(data);const htmlProps=buildHtmlProps(htmlOptions);const classes=classnames(buildCss("pb_draggable_container"),`${activeContainer===container?"active":""}`,globalProps(props),className);return reactExports.createElement("div",Object.assign({},ariaProps,dataProps,htmlProps,{className:classes,id:id2,key:container,onDragOver:e2=>handleDragOver(e2,container),onDrop:()=>handleDrop(container)}),children)};const DraggableItem=props=>{const{aria:aria={},children:children,className:className,container:container,data:data={},htmlOptions:htmlOptions={},id:id2,dragId:dragId}=props;const{isDragging:isDragging,handleDragStart:handleDragStart,handleDragEnter:handleDragEnter,handleDragEnd:handleDragEnd}=DraggableContext();const ariaProps=buildAriaProps(aria);const dataProps=buildDataProps(data);const htmlProps=buildHtmlProps(htmlOptions);const classes=classnames(buildCss("pb_draggable_item"),`${isDragging===dragId?"is_dragging":""}`,globalProps(props),className);return reactExports.createElement("div",Object.assign({},ariaProps,dataProps,htmlProps,{className:classes,draggable:true,id:id2,key:dragId,onDragEnd:()=>handleDragEnd(),onDragEnter:()=>handleDragEnter(dragId,container),onDragStart:()=>handleDragStart(dragId,container)}),children)};const Draggable=props=>{const{aria:aria={},className:className,children:children,data:data={},htmlOptions:htmlOptions={},id:id2}=props;const ariaProps=buildAriaProps(aria);const dataProps=buildDataProps(data);const htmlProps=buildHtmlProps(htmlOptions);const classes=classnames(buildCss("pb_draggable"),globalProps(props),className);return jsxRuntimeExports.jsx("div",Object.assign({},ariaProps,dataProps,htmlProps,{className:classes,id:id2},{children:children}),void 0)};Draggable.Container=DraggableContainer;Draggable.Item=DraggableItem;const Header=props=>{const{children:children,className:className,headerColor:headerColor="category_1",headerColorStriped:headerColorStriped=false}=props;const headerCSS=buildCss("pb_card_header_kit",`${headerColor}`,headerColorStriped?"striped":"");const headerSpacing=globalProps(props);return jsxRuntimeExports.jsx("div",Object.assign({className:classnames(headerCSS,headerSpacing,className)},{children:children}),void 0)};const Body=props=>{const{children:children,className:className}=props;const bodyCSS=buildCss("pb_card_body_kit");const bodySpacing=globalProps(props);return jsxRuntimeExports.jsx("div",Object.assign({className:classnames(bodyCSS,bodySpacing,className)},{children:children}),void 0)};const Card=props=>{const{aria:aria={},background:background="none",borderNone:borderNone=false,borderRadius:borderRadius2="md",children:children,className:className,data:data={},dragId:dragId,dragHandle:dragHandle=true,draggableItem:draggableItem=false,highlight:highlight={},htmlOptions:htmlOptions={},selected:selected=false,tag:tag="div"}=props;const borderCSS=borderNone==true?"border_none":"";const selectedCSS=selected==true?"selected":"deselected";const backgroundCSS=background=="none"?"":`background_${background}`;const cardCss=buildCss("pb_card_kit",selectedCSS,borderCSS,`border_radius_${borderRadius2}`,backgroundCSS,{[`highlight_${highlight.position}`]:highlight.position,[`highlight_${highlight.color}`]:highlight.color});const ariaProps=buildAriaProps(aria);const dataProps=buildDataProps(data);const htmlProps=buildHtmlProps(htmlOptions);const cardChildren=React.Children.toArray(children);const subComponentTags=tagName=>cardChildren.filter((c2=>get(c2,"type.displayName")===tagName)).map(((child,i)=>{if(React.isValidElement(child)){return React.cloneElement(child,{key:`${tagName.toLowerCase()}-${i}`})}}));const nonHeaderChildren=cardChildren.filter((child=>get(child,"type.displayName")!=="Header"));const tagOptions=["div","section","footer","header","article","aside","main","nav"];const Tag=tagOptions.includes(tag)?tag:"div";return jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment,{children:draggableItem?jsxRuntimeExports.jsx(Draggable.Item,Object.assign({dragId:dragId},{children:jsxRuntimeExports.jsxs(Tag,Object.assign({},ariaProps,dataProps,htmlProps,{className:classnames(cardCss,globalProps(props),className)},{children:[subComponentTags("Header"),dragHandle?jsxRuntimeExports.jsxs(Flex,{children:[jsxRuntimeExports.jsx("span",Object.assign({className:"card_draggable_handle"},{children:jsxRuntimeExports.jsx(Icon,{icon:"grip-dots-vertical",paddingRight:"xs",verticalAlign:"middle"},void 0)}),void 0),jsxRuntimeExports.jsx("div",Object.assign({style:{width:"100%"}},{children:nonHeaderChildren}),void 0)]},void 0):nonHeaderChildren]}),void 0)}),dragId):jsxRuntimeExports.jsxs(Tag,Object.assign({},ariaProps,dataProps,htmlProps,{className:classnames(cardCss,globalProps(props),className)},{children:[subComponentTags("Header"),nonHeaderChildren]}),void 0)},void 0)};Card.Header=Header;Card.Body=Body;const firstTwoInitials=name2=>name2.split(/\s/).map((name22=>name22[0])).join("").substring(0,2);const Avatar=props=>{const{aria:aria={},className:className,data:data={},htmlOptions:htmlOptions={},name:name2=void 0,componentOverlay:componentOverlay,id:id2="",imageAlt:imageAlt="",imageUrl:imageUrl,size:size="md",status:status=null,dark:dark=false}=props;const dataProps=buildDataProps(data);const ariaProps=buildAriaProps(aria);const htmlProps=buildHtmlProps(htmlOptions);const classes=classnames(buildCss("pb_avatar_kit",`size_${size}`),globalProps(props),className);const initials=name2&&firstTwoInitials(name2);dataProps["data-initials"]=initials;const[error,setError]=reactExports.useState(false);const handleError=()=>setError(true);const canShowImage=imageUrl&&!error;const onlineStatusSize=["xxs","xs"].includes(size)?"sm":["sm","md"].includes(size)?"md":["lg","xl"].includes(size)?"lg":"sm";const onlineStatusPositionProps=["xxs","xs","sm"].includes(size)?{top:{inset:true,value:"0"},right:{inset:false,value:"xxs"}}:{bottom:{inset:true,value:"0"},right:{inset:true,value:size==="xl"?"sm":size==="lg"?"xs":"xxs"}};return jsxRuntimeExports.jsx("div",{...ariaProps,...dataProps,...htmlProps,className:classes,id:id2,children:componentOverlay?jsxRuntimeExports.jsxs(Flex,{display:"display_inline_block",position:"relative",children:[jsxRuntimeExports.jsx("div",{className:"avatar_wrapper","data-initials":initials,children:canShowImage&&jsxRuntimeExports.jsx(Image$1,{alt:imageAlt?imageAlt:name2,onError:handleError,url:imageUrl})}),componentOverlay.component==="badge"&&jsxRuntimeExports.jsx(Card,{borderNone:true,borderRadius:"rounded",padding:"none",position:"absolute",...getPlacementProps(componentOverlay.placement,size),children:jsxRuntimeExports.jsx(Badge,{rounded:true,text:componentOverlay.text,variant:componentOverlay.variant})}),componentOverlay.component==="iconCircle"&&jsxRuntimeExports.jsx(Card,{borderNone:true,borderRadius:"rounded",htmlOptions:{style:{padding:"2px"}},position:"absolute",...getPlacementProps(componentOverlay.placement,size),children:jsxRuntimeExports.jsx(IconCircle,{icon:componentOverlay.icon,size:"xxs",variant:componentOverlay.variant})})]}):jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx("div",{className:"avatar_wrapper","data-initials":initials,children:canShowImage&&jsxRuntimeExports.jsx(Image$1,{alt:imageAlt?imageAlt:name2,onError:handleError,url:imageUrl})}),status&&jsxRuntimeExports.jsx(OnlineStatus,{dark:dark,position:"absolute",size:onlineStatusSize,status:status,...onlineStatusPositionProps})]})})};const breakpoints={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)"};const getResponsiveValue=prop=>{if(typeof prop==="string"){return prop}for(const[bp,value]of Object.entries(prop||{})){if(bp!=="default"&&window.matchMedia(breakpoints[bp]).matches){return value}}return(prop==null?void 0:prop.default)||void 0};const Background=props=>{const{alt:alt=void 0,aria:aria={},backgroundColor:backgroundColor="light",backgroundPosition:backgroundPosition="",backgroundRepeat:backgroundRepeat="initial",backgroundSize:backgroundSize="cover",children:children,className:className,customColor:customColor,data:data={},htmlOptions:htmlOptions={},id:id2,imageUrl:imageUrl="",tag:tag="div",transition:transition=""}=props;const[responsiveProps,setResponsiveProps]=reactExports.useState({backgroundSize:getResponsiveValue(backgroundSize),backgroundPosition:getResponsiveValue(backgroundPosition),backgroundRepeat:getResponsiveValue(backgroundRepeat),backgroundColor:getResponsiveValue(backgroundColor),imageUrl:getResponsiveValue(imageUrl)});reactExports.useEffect((()=>{const updateResponsiveProps=()=>{setResponsiveProps({backgroundSize:getResponsiveValue(props.backgroundSize),backgroundPosition:getResponsiveValue(props.backgroundPosition),backgroundRepeat:getResponsiveValue(props.backgroundRepeat),backgroundColor:getResponsiveValue(props.backgroundColor),imageUrl:getResponsiveValue(props.imageUrl)})};window.addEventListener("resize",updateResponsiveProps);return()=>window.removeEventListener("resize",updateResponsiveProps)}),[props]);const{backgroundColor:resBackgroundColor,backgroundPosition:resBackgroundPosition,backgroundRepeat:resBackgroundRepeat,backgroundSize:resBackgroundSize,imageUrl:resImageUrl}=responsiveProps;const classes=classnames(buildCss("pb_background_kit"),"lazyload",globalProps(props),transition,{[`pb_background_color_${resBackgroundColor}`]:resBackgroundColor&&!customColor,[`pb_background_custom_color`]:!!customColor},className);const backgroundStyle={backgroundColor:customColor||void 0,...resImageUrl!==""?{backgroundImage:resImageUrl?`url(${resImageUrl})`:void 0,backgroundRepeat:resBackgroundRepeat||void 0,backgroundPosition:resBackgroundPosition||void 0,backgroundSize:resBackgroundSize||void 0}:{}};const Tag=`${tag}`;const ariaProps=buildAriaProps(aria);const dataProps=buildDataProps(data);const htmlProps=buildHtmlProps(htmlOptions);return jsxRuntimeExports.jsx(Tag,{...ariaProps,...dataProps,...htmlProps,alt:alt,className:classes,id:id2,style:backgroundStyle,children:children})};var highchartsReact_min={exports:{}};(function(module,exports){!function(t2,e2){module.exports=e2(reactExports)}("undefined"!=typeof self?self:commonjsGlobal,(function(t2){return function(t3){function e2(n2){if(r2[n2])return r2[n2].exports;var o2=r2[n2]={i:n2,l:false,exports:{}};return t3[n2].call(o2.exports,o2,o2.exports,e2),o2.l=true,o2.exports}var r2={};return e2.m=t3,e2.c=r2,e2.d=function(t4,r3,n2){e2.o(t4,r3)||Object.defineProperty(t4,r3,{configurable:false,enumerable:true,get:n2})},e2.n=function(t4){var r3=t4&&t4.__esModule?function(){return t4.default}:function(){return t4};return e2.d(r3,"a",r3),r3},e2.o=function(t4,e3){return Object.prototype.hasOwnProperty.call(t4,e3)},e2.p="",e2(e2.s=0)}([function(t3,e2,r2){function n2(){return n2=Object.assign?Object.assign.bind():function(t4){for(var e3=1;e3<arguments.length;e3++){var r3=arguments[e3];for(var n3 in r3)Object.prototype.hasOwnProperty.call(r3,n3)&&(t4[n3]=r3[n3])}return t4},n2.apply(this,arguments)}function o2(t4){return a2(t4)||i(t4)||u2(t4)||c2()}function c2(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function u2(t4,e3){if(t4){if("string"==typeof t4)return f2(t4,e3);var r3=Object.prototype.toString.call(t4).slice(8,-1);return"Object"===r3&&t4.constructor&&(r3=t4.constructor.name),"Map"===r3||"Set"===r3?Array.from(t4):"Arguments"===r3||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r3)?f2(t4,e3):void 0}}function i(t4){if("undefined"!=typeof Symbol&&null!=t4[Symbol.iterator]||null!=t4["@@iterator"])return Array.from(t4)}function a2(t4){if(Array.isArray(t4))return f2(t4)}function f2(t4,e3){(null==e3||e3>t4.length)&&(e3=t4.length);for(var r3=0,n3=new Array(e3);r3<e3;r3++)n3[r3]=t4[r3];return n3}function s2(t4){"@babel/helpers - typeof";return(s2="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t5){return typeof t5}:function(t5){return t5&&"function"==typeof Symbol&&t5.constructor===Symbol&&t5!==Symbol.prototype?"symbol":typeof t5})(t4)}Object.defineProperty(e2,"__esModule",{value:true}),r2.d(e2,"HighchartsReact",(function(){return d2}));var p2=r2(1),l2=r2.n(p2),y2="undefined"!=typeof window?p2.useLayoutEffect:p2.useEffect,d2=Object(p2.memo)(Object(p2.forwardRef)((function(t4,e3){var r3=Object(p2.useRef)(),c3=Object(p2.useRef)(),u3=Object(p2.useRef)(t4.constructorType),i2=Object(p2.useRef)(t4.highcharts);return y2((function(){function e4(){var e5=t4.highcharts||"object"===("undefined"==typeof window?"undefined":s2(window))&&window.Highcharts,n4=t4.constructorType||"chart";e5?e5[n4]?t4.options?c3.current=e5[n4](r3.current,t4.options,t4.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(c3.current){if(false!==t4.allowChartUpdate)if(t4.constructorType!==u3.current||t4.highcharts!==i2.current)u3.current=t4.constructorType,i2.current=t4.highcharts,e4();else if(!t4.immutable&&c3.current){var n3;(n3=c3.current).update.apply(n3,[t4.options].concat(o2(t4.updateArgs||[true,true])))}else e4()}else e4()}),[t4.options,t4.allowChartUpdate,t4.updateArgs,t4.containerProps,t4.highcharts,t4.constructorType]),y2((function(){return function(){c3.current&&(c3.current.destroy(),c3.current=null)}}),[]),Object(p2.useImperativeHandle)(e3,(function(){return{get chart(){return c3.current},container:r3}}),[]),l2.a.createElement("div",n2({},t4.containerProps,{ref:r3}))})));e2.default=d2},function(e2,r2){e2.exports=t2}])}))})(highchartsReact_min);var highchartsReact_minExports=highchartsReact_min.exports;const HighchartsReact=getDefaultExportFromCjs(highchartsReact_minExports);var highcharts={exports:{}};(function(module){!function(t2,e2){module.exports?(e2.default=e2,module.exports=t2&&t2.document?e2(t2):e2):(t2.Highcharts&&t2.Highcharts.error(16,true),t2.Highcharts=e2(t2))}("undefined"!=typeof window?window:commonjsGlobal,(function(t2){var e2={};function i(e3,i2,s2,r2){!e3.hasOwnProperty(i2)&&(e3[i2]=r2.apply(null,s2),t2&&"function"==typeof CustomEvent&&t2.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:i2,module:e3[i2]}})))}return i(e2,"Core/Globals.js",[],(function(){var e3,i2;return(i2=e3||(e3={})).SVG_NS="http://www.w3.org/2000/svg",i2.product="Highcharts",i2.version="11.4.8",i2.win=void 0!==t2?t2:{},i2.doc=i2.win.document,i2.svg=i2.doc&&i2.doc.createElementNS&&!!i2.doc.createElementNS(i2.SVG_NS,"svg").createSVGRect,i2.userAgent=i2.win.navigator&&i2.win.navigator.userAgent||"",i2.isChrome=i2.win.chrome,i2.isFirefox=-1!==i2.userAgent.indexOf("Firefox"),i2.isMS=/(edge|msie|trident)/i.test(i2.userAgent)&&!i2.win.opera,i2.isSafari=!i2.isChrome&&-1!==i2.userAgent.indexOf("Safari"),i2.isTouchDevice=/(Mobile|Android|Windows Phone)/.test(i2.userAgent),i2.isWebKit=-1!==i2.userAgent.indexOf("AppleWebKit"),i2.deg2rad=2*Math.PI/360,i2.hasBidiBug=i2.isFirefox&&4>parseInt(i2.userAgent.split("Firefox/")[1],10),i2.marginNames=["plotTop","marginRight","marginBottom","plotLeft"],i2.noop=function(){},i2.supportsPassiveEvents=function(){let t3=false;if(!i2.isMS){let e4=Object.defineProperty({},"passive",{get:function(){t3=true}});i2.win.addEventListener&&i2.win.removeEventListener&&(i2.win.addEventListener("testPassive",i2.noop,e4),i2.win.removeEventListener("testPassive",i2.noop,e4))}return t3}(),i2.charts=[],i2.composed=[],i2.dateFormats={},i2.seriesTypes={},i2.symbolSizes={},i2.chartCount=0,e3})),i(e2,"Core/Utilities.js",[e2["Core/Globals.js"]],(function(t3){let e3;let{charts:i2,doc:s2,win:r2}=t3;function o2(e4,i3,s3,n3){let a3=i3?"Highcharts error":"Highcharts warning";32===e4&&(e4=`${a3}: Deprecated member`);let h3=p2(e4),l3=h3?`${a3} #${e4}: www.highcharts.com/errors/${e4}/`:e4.toString();if(void 0!==n3){let t4="";h3&&(l3+="?"),C2(n3,(function(e5,i4){t4+=`\n - ${i4}: ${e5}`,h3&&(l3+=encodeURI(i4)+"="+encodeURI(e5))})),l3+=t4}M2(t3,"displayError",{chart:s3,code:e4,message:l3,params:n3},(function(){if(i3)throw Error(l3);r2.console&&-1===o2.messages.indexOf(l3)&&console.warn(l3)})),o2.messages.push(l3)}function n2(t4,e4){return parseInt(t4,e4||10)}function a2(t4){return"string"==typeof t4}function h2(t4){let e4=Object.prototype.toString.call(t4);return"[object Array]"===e4||"[object Array Iterator]"===e4}function l2(t4,e4){return!!t4&&"object"==typeof t4&&(!e4||!h2(t4))}function d2(t4){return l2(t4)&&"number"==typeof t4.nodeType}function c2(t4){let e4=t4&&t4.constructor;return!!(l2(t4,true)&&!d2(t4)&&e4&&e4.name&&"Object"!==e4.name)}function p2(t4){return"number"==typeof t4&&!isNaN(t4)&&t4<1/0&&t4>-1/0}function u2(t4){return null!=t4}function g2(t4,e4,i3){let s3;let r3=a2(e4)&&!u2(i3),o3=(e5,i4)=>{u2(e5)?t4.setAttribute(i4,e5):r3?(s3=t4.getAttribute(i4))||"class"!==i4||(s3=t4.getAttribute(i4+"Name")):t4.removeAttribute(i4)};return a2(e4)?o3(i3,e4):C2(e4,o3),s3}function f2(t4){return h2(t4)?t4:[t4]}function m2(t4,e4){let i3;for(i3 in t4||(t4={}),e4)t4[i3]=e4[i3];return t4}function x2(){let t4=arguments,e4=t4.length;for(let i3=0;i3<e4;i3++){let e5=t4[i3];if(null!=e5)return e5}}function y2(t4,e4){m2(t4.style,e4)}function b2(t4){return Math.pow(10,Math.floor(Math.log(t4)/Math.LN10))}function v2(t4,e4){return t4>1e14?t4:parseFloat(t4.toPrecision(e4||14))}(o2||(o2={})).messages=[],Math.easeInOutSine=function(t4){return-.5*(Math.cos(Math.PI*t4)-1)};let S2=Array.prototype.find?function(t4,e4){return t4.find(e4)}:function(t4,e4){let i3;let s3=t4.length;for(i3=0;i3<s3;i3++)if(e4(t4[i3],i3))return t4[i3]};function C2(t4,e4,i3){for(let s3 in t4)Object.hasOwnProperty.call(t4,s3)&&e4.call(i3||t4[s3],t4[s3],s3,t4)}function k2(t4,e4,i3){function s3(e5,i4){let s4=t4.removeEventListener;s4&&s4.call(t4,e5,i4,false)}function r3(i4){let r4,o4;t4.nodeName&&(e4?(r4={})[e4]=true:r4=i4,C2(r4,(function(t5,e5){if(i4[e5])for(o4=i4[e5].length;o4--;)s3(e5,i4[e5][o4].fn)})))}let o3="function"==typeof t4&&t4.prototype||t4;if(Object.hasOwnProperty.call(o3,"hcEvents")){let t5=o3.hcEvents;if(e4){let o4=t5[e4]||[];i3?(t5[e4]=o4.filter((function(t6){return i3!==t6.fn})),s3(e4,i3)):(r3(t5),t5[e4]=[])}else r3(t5),delete o3.hcEvents}}function M2(e4,i3,r3,o3){if(r3=r3||{},s2.createEvent&&(e4.dispatchEvent||e4.fireEvent&&e4!==t3)){let t4=s2.createEvent("Events");t4.initEvent(i3,true,true),r3=m2(t4,r3),e4.dispatchEvent?e4.dispatchEvent(r3):e4.fireEvent(i3,r3)}else if(e4.hcEvents){r3.target||m2(r3,{preventDefault:function(){r3.defaultPrevented=true},target:e4,type:i3});let t4=[],s3=e4,o4=false;for(;s3.hcEvents;)Object.hasOwnProperty.call(s3,"hcEvents")&&s3.hcEvents[i3]&&(t4.length&&(o4=true),t4.unshift.apply(t4,s3.hcEvents[i3])),s3=Object.getPrototypeOf(s3);o4&&t4.sort(((t5,e5)=>t5.order-e5.order)),t4.forEach((t5=>{false===t5.fn.call(e4,r3)&&r3.preventDefault()}))}o3&&!r3.defaultPrevented&&o3.call(e4,r3)}C2({map:"map",each:"forEach",grep:"filter",reduce:"reduce",some:"some"},(function(e4,i3){t3[i3]=function(t4){return o2(32,false,void 0,{[`Highcharts.${i3}`]:`use Array.${e4}`}),Array.prototype[e4].apply(t4,[].slice.call(arguments,1))}}));let w2=function(){let t4=Math.random().toString(36).substring(2,9)+"-",i3=0;return function(){return"highcharts-"+(e3?"":t4)+i3++}}();return r2.jQuery&&(r2.jQuery.fn.highcharts=function(){let e4=[].slice.call(arguments);if(this[0])return e4[0]?(new(t3[a2(e4[0])?e4.shift():"Chart"])(this[0],e4[0],e4[1]),this):i2[g2(this[0],"data-highcharts-chart")]}),{addEvent:function(e4,i3,s3,r3={}){let o3="function"==typeof e4&&e4.prototype||e4;Object.hasOwnProperty.call(o3,"hcEvents")||(o3.hcEvents={});let n3=o3.hcEvents;t3.Point&&e4 instanceof t3.Point&&e4.series&&e4.series.chart&&(e4.series.chart.runTrackerClick=true);let a3=e4.addEventListener;a3&&a3.call(e4,i3,s3,!!t3.supportsPassiveEvents&&{passive:void 0===r3.passive?-1!==i3.indexOf("touch"):r3.passive,capture:false}),n3[i3]||(n3[i3]=[]);let h3={fn:s3,order:"number"==typeof r3.order?r3.order:1/0};return n3[i3].push(h3),n3[i3].sort(((t4,e5)=>t4.order-e5.order)),function(){k2(e4,i3,s3)}},arrayMax:function(t4){let e4=t4.length,i3=t4[0];for(;e4--;)t4[e4]>i3&&(i3=t4[e4]);return i3},arrayMin:function(t4){let e4=t4.length,i3=t4[0];for(;e4--;)t4[e4]<i3&&(i3=t4[e4]);return i3},attr:g2,clamp:function(t4,e4,i3){return t4>e4?t4<i3?t4:i3:e4},clearTimeout:function(t4){u2(t4)&&clearTimeout(t4)},correctFloat:v2,createElement:function(t4,e4,i3,r3,o3){let n3=s2.createElement(t4);return e4&&m2(n3,e4),o3&&y2(n3,{padding:"0",border:"none",margin:"0"}),i3&&y2(n3,i3),r3&&r3.appendChild(n3),n3},crisp:(t4,e4=0,i3)=>{let s3=e4%2/2,r3=i3?-1:1;return(Math.round(t4*r3-s3)+s3)*r3},css:y2,defined:u2,destroyObjectProperties:function(t4,e4,i3){C2(t4,(function(s3,r3){s3!==e4&&(s3==null?void 0:s3.destroy)&&s3.destroy(),((s3==null?void 0:s3.destroy)||!i3)&&delete t4[r3]}))},diffObjects:function(t4,e4,i3,s3){let r3={};return function t5(e5,r4,o3,n3){let a3=i3?r4:e5;C2(e5,(function(i4,d3){if(!n3&&s3&&s3.indexOf(d3)>-1&&r4[d3]){i4=f2(i4),o3[d3]=[];for(let e6=0;e6<Math.max(i4.length,r4[d3].length);e6++)r4[d3][e6]&&(void 0===i4[e6]?o3[d3][e6]=r4[d3][e6]:(o3[d3][e6]={},t5(i4[e6],r4[d3][e6],o3[d3][e6],n3+1)))}else l2(i4,true)&&!i4.nodeType?(o3[d3]=h2(i4)?[]:{},t5(i4,r4[d3]||{},o3[d3],n3+1),0!==Object.keys(o3[d3]).length||"colorAxis"===d3&&0===n3||delete o3[d3]):(e5[d3]!==r4[d3]||d3 in e5&&!(d3 in r4))&&"__proto__"!==d3&&"constructor"!==d3&&(o3[d3]=a3[d3])}))}(t4,e4,r3,0),r3},discardElement:function(t4){t4&&t4.parentElement&&t4.parentElement.removeChild(t4)},erase:function(t4,e4){let i3=t4.length;for(;i3--;)if(t4[i3]===e4){t4.splice(i3,1);break}},error:o2,extend:m2,extendClass:function(t4,e4){let i3=function(){};return i3.prototype=new t4,m2(i3.prototype,e4),i3},find:S2,fireEvent:M2,getClosestDistance:function(t4,e4){let i3,r3,o3;let n3=!e4;return t4.forEach((t5=>{if(t5.length>1)for(o3=t5.length-1;o3>0;o3--)(r3=t5[o3]-t5[o3-1])<0&&!n3?(e4==null?void 0:e4(),e4=void 0):r3&&(void 0===i3||r3<i3)&&(i3=r3)})),i3},getMagnitude:b2,getNestedProperty:function(t4,e4){let i3=t4.split(".");for(;i3.length&&u2(e4);){let t5=i3.shift();if(void 0===t5||"__proto__"===t5)return;if("this"===t5){let t6;return l2(e4)&&(t6=e4["@this"]),t6??e4}let s3=e4[t5];if(!u2(s3)||"function"==typeof s3||"number"==typeof s3.nodeType||s3===r2)return;e4=s3}return e4},getStyle:function t4(e4,i3,s3){let o3;if("width"===i3){let i4=Math.min(e4.offsetWidth,e4.scrollWidth),s4=e4.getBoundingClientRect&&e4.getBoundingClientRect().width;return s4<i4&&s4>=i4-1&&(i4=Math.floor(s4)),Math.max(0,i4-(t4(e4,"padding-left",true)||0)-(t4(e4,"padding-right",true)||0))}if("height"===i3)return Math.max(0,Math.min(e4.offsetHeight,e4.scrollHeight)-(t4(e4,"padding-top",true)||0)-(t4(e4,"padding-bottom",true)||0));let a3=r2.getComputedStyle(e4,void 0);return a3&&(o3=a3.getPropertyValue(i3),x2(s3,"opacity"!==i3)&&(o3=n2(o3))),o3},inArray:function(t4,e4,i3){return o2(32,false,void 0,{"Highcharts.inArray":"use Array.indexOf"}),e4.indexOf(t4,i3)},insertItem:function(t4,e4){let i3;let s3=t4.options.index,r3=e4.length;for(i3=t4.options.isInternal?r3:0;i3<r3+1;i3++)if(!e4[i3]||p2(s3)&&s3<x2(e4[i3].options.index,e4[i3]._i)||e4[i3].options.isInternal){e4.splice(i3,0,t4);break}return i3},isArray:h2,isClass:c2,isDOMElement:d2,isFunction:function(t4){return"function"==typeof t4},isNumber:p2,isObject:l2,isString:a2,keys:function(t4){return o2(32,false,void 0,{"Highcharts.keys":"use Object.keys"}),Object.keys(t4)},merge:function(){let t4,e4=arguments,i3={},s3=function(t5,e5){return"object"!=typeof t5&&(t5={}),C2(e5,(function(i4,r4){"__proto__"!==r4&&"constructor"!==r4&&(!l2(i4,true)||c2(i4)||d2(i4)?t5[r4]=e5[r4]:t5[r4]=s3(t5[r4]||{},i4))})),t5};true===e4[0]&&(i3=e4[1],e4=Array.prototype.slice.call(e4,2));let r3=e4.length;for(t4=0;t4<r3;t4++)i3=s3(i3,e4[t4]);return i3},normalizeTickInterval:function(t4,e4,i3,s3,r3){let o3,n3=t4;i3=x2(i3,b2(t4));let a3=t4/i3;for(!e4&&(e4=r3?[1,1.2,1.5,2,2.5,3,4,5,6,8,10]:[1,2,2.5,5,10],false===s3&&(1===i3?e4=e4.filter((function(t5){return t5%1==0})):i3<=.1&&(e4=[1/i3]))),o3=0;o3<e4.length&&(n3=e4[o3],(!r3||!(n3*i3>=t4))&&(r3||!(a3<=(e4[o3]+(e4[o3+1]||e4[o3]))/2)));o3++);return v2(n3*i3,-Math.round(Math.log(.001)/Math.LN10))},objectEach:C2,offset:function(t4){let e4=s2.documentElement,i3=t4.parentElement||t4.parentNode?t4.getBoundingClientRect():{top:0,left:0,width:0,height:0};return{top:i3.top+(r2.pageYOffset||e4.scrollTop)-(e4.clientTop||0),left:i3.left+(r2.pageXOffset||e4.scrollLeft)-(e4.clientLeft||0),width:i3.width,height:i3.height}},pad:function(t4,e4,i3){return Array((e4||2)+1-String(t4).replace("-","").length).join(i3||"0")+t4},pick:x2,pInt:n2,pushUnique:function(t4,e4){return 0>t4.indexOf(e4)&&!!t4.push(e4)},relativeLength:function(t4,e4,i3){return/%$/.test(t4)?e4*parseFloat(t4)/100+(i3||0):parseFloat(t4)},removeEvent:k2,replaceNested:function(t4,...e4){let i3,s3;do{for(s3 of(i3=t4,e4))t4=t4.replace(s3[0],s3[1])}while(t4!==i3);return t4},splat:f2,stableSort:function(t4,e4){let i3,s3;let r3=t4.length;for(s3=0;s3<r3;s3++)t4[s3].safeI=s3;for(t4.sort((function(t5,s4){return 0===(i3=e4(t5,s4))?t5.safeI-s4.safeI:i3})),s3=0;s3<r3;s3++)delete t4[s3].safeI},syncTimeout:function(t4,e4,i3){return e4>0?setTimeout(t4,e4,i3):(t4.call(0,i3),-1)},timeUnits:{millisecond:1,second:1e3,minute:6e4,hour:36e5,day:864e5,week:6048e5,month:24192e5,year:314496e5},uniqueKey:w2,useSerialIds:function(t4){return e3=x2(t4,e3)},wrap:function(t4,e4,i3){let s3=t4[e4];t4[e4]=function(){let t5=arguments,e5=this;return i3.apply(this,[function(){return s3.apply(e5,arguments.length?arguments:t5)}].concat([].slice.call(arguments)))}}}})),i(e2,"Core/Chart/ChartDefaults.js",[],(function(){return{alignThresholds:false,panning:{enabled:false,type:"x"},styledMode:false,borderRadius:0,colorCount:10,allowMutatingData:true,ignoreHiddenSeries:true,spacing:[10,10,15,10],resetZoomButton:{theme:{},position:{}},reflow:true,type:"line",zooming:{singleTouch:false,resetButton:{theme:{zIndex:6},position:{align:"right",x:-10,y:10}}},width:null,height:null,borderColor:"#334eff",backgroundColor:"#ffffff",plotBorderColor:"#cccccc"}})),i(e2,"Core/Color/Palettes.js",[],(function(){return{colors:["#2caffe","#544fc5","#00e272","#fe6a35","#6b8abc","#d568fb","#2ee0ca","#fa4b42","#feb56a","#91e8e1"]}})),i(e2,"Core/Time.js",[e2["Core/Globals.js"],e2["Core/Utilities.js"]],(function(t3,e3){let{win:i2}=t3,{defined:s2,error:r2,extend:o2,isNumber:n2,isObject:a2,merge:h2,objectEach:l2,pad:d2,pick:c2,splat:p2,timeUnits:u2}=e3,g2=t3.isSafari&&i2.Intl&&i2.Intl.DateTimeFormat.prototype.formatRange,f2=t3.isSafari&&i2.Intl&&!i2.Intl.DateTimeFormat.prototype.formatRange;class m2{constructor(t4){this.options={},this.useUTC=false,this.variableTimezone=false,this.Date=i2.Date,this.getTimezoneOffset=this.timezoneOffsetFunction(),this.update(t4)}get(t4,e4){if(this.variableTimezone||this.timezoneOffset){let i3=e4.getTime(),s3=i3-this.getTimezoneOffset(e4);e4.setTime(s3);let r3=e4["getUTC"+t4]();return e4.setTime(i3),r3}return this.useUTC?e4["getUTC"+t4]():e4["get"+t4]()}set(t4,e4,i3){if(this.variableTimezone||this.timezoneOffset){if("Milliseconds"===t4||"Seconds"===t4||"Minutes"===t4&&this.getTimezoneOffset(e4)%36e5==0)return e4["setUTC"+t4](i3);let s3=this.getTimezoneOffset(e4),r3=e4.getTime()-s3;e4.setTime(r3),e4["setUTC"+t4](i3);let o3=this.getTimezoneOffset(e4);return r3=e4.getTime()+o3,e4.setTime(r3)}return this.useUTC||g2&&"FullYear"===t4?e4["setUTC"+t4](i3):e4["set"+t4](i3)}update(t4={}){let e4=c2(t4.useUTC,true);this.options=t4=h2(true,this.options,t4),this.Date=t4.Date||i2.Date||Date,this.useUTC=e4,this.timezoneOffset=e4&&t4.timezoneOffset||void 0,this.getTimezoneOffset=this.timezoneOffsetFunction(),this.variableTimezone=e4&&!!(t4.getTimezoneOffset||t4.timezone)}makeTime(t4,e4,i3,s3,r3,o3){let n3,a3,h3;return this.useUTC?(n3=this.Date.UTC.apply(0,arguments),a3=this.getTimezoneOffset(n3),n3+=a3,a3!==(h3=this.getTimezoneOffset(n3))?n3+=h3-a3:a3-36e5!==this.getTimezoneOffset(n3-36e5)||f2||(n3-=36e5)):n3=new this.Date(t4,e4,c2(i3,1),c2(s3,0),c2(r3,0),c2(o3,0)).getTime(),n3}timezoneOffsetFunction(){let t4=this,e4=this.options,i3=e4.getTimezoneOffset;return this.useUTC?e4.timezone?t5=>{try{let i4=`shortOffset,${e4.timezone||""}`,[s3,r3,o3,a3,h3=0]=(m2.formatCache[i4]=m2.formatCache[i4]||Intl.DateTimeFormat("en",{timeZone:e4.timezone,timeZoneName:"shortOffset"})).format(t5).split(/(GMT|:)/).map(Number),l3=-(36e5*(o3+h3/60));if(n2(l3))return l3}catch(t6){r2(34)}return 0}:this.useUTC&&i3?t5=>6e4*i3(t5.valueOf()):()=>6e4*(t4.timezoneOffset||0):t5=>6e4*new Date(t5.toString()).getTimezoneOffset()}dateFormat(e4,i3,r3){if(!s2(i3)||isNaN(i3))return t3.defaultOptions.lang&&t3.defaultOptions.lang.invalidDate||"";e4=c2(e4,"%Y-%m-%d %H:%M:%S");let n3=this,a3=new this.Date(i3),h3=this.get("Hours",a3),p3=this.get("Day",a3),u3=this.get("Date",a3),g3=this.get("Month",a3),f3=this.get("FullYear",a3),m3=t3.defaultOptions.lang,x2=m3&&m3.weekdays,y2=m3&&m3.shortWeekdays;return l2(o2({a:y2?y2[p3]:x2[p3].substr(0,3),A:x2[p3],d:d2(u3),e:d2(u3,2," "),w:p3,b:m3.shortMonths[g3],B:m3.months[g3],m:d2(g3+1),o:g3+1,y:f3.toString().substr(2,2),Y:f3,H:d2(h3),k:h3,I:d2(h3%12||12),l:h3%12||12,M:d2(this.get("Minutes",a3)),p:h3<12?"AM":"PM",P:h3<12?"am":"pm",S:d2(this.get("Seconds",a3)),L:d2(Math.floor(i3%1e3),3)},t3.dateFormats),(function(t4,s3){for(;-1!==e4.indexOf("%"+s3);)e4=e4.replace("%"+s3,"function"==typeof t4?t4.call(n3,i3):t4)})),r3?e4.substr(0,1).toUpperCase()+e4.substr(1):e4}resolveDTLFormat(t4){return a2(t4,true)?t4:{main:(t4=p2(t4))[0],from:t4[1],to:t4[2]}}getTimeTicks(t4,e4,i3,r3){let n3,a3,h3,l3;let d3=this,p3=d3.Date,g3=[],f3={},m3=new p3(e4),x2=t4.unitRange,y2=t4.count||1;if(r3=c2(r3,1),s2(e4)){d3.set("Milliseconds",m3,x2>=u2.second?0:y2*Math.floor(d3.get("Milliseconds",m3)/y2)),x2>=u2.second&&d3.set("Seconds",m3,x2>=u2.minute?0:y2*Math.floor(d3.get("Seconds",m3)/y2)),x2>=u2.minute&&d3.set("Minutes",m3,x2>=u2.hour?0:y2*Math.floor(d3.get("Minutes",m3)/y2)),x2>=u2.hour&&d3.set("Hours",m3,x2>=u2.day?0:y2*Math.floor(d3.get("Hours",m3)/y2)),x2>=u2.day&&d3.set("Date",m3,x2>=u2.month?1:Math.max(1,y2*Math.floor(d3.get("Date",m3)/y2))),x2>=u2.month&&(d3.set("Month",m3,x2>=u2.year?0:y2*Math.floor(d3.get("Month",m3)/y2)),a3=d3.get("FullYear",m3)),x2>=u2.year&&(a3-=a3%y2,d3.set("FullYear",m3,a3)),x2===u2.week&&(l3=d3.get("Day",m3),d3.set("Date",m3,d3.get("Date",m3)-l3+r3+(l3<r3?-7:0))),a3=d3.get("FullYear",m3);let t5=d3.get("Month",m3),o3=d3.get("Date",m3),c3=d3.get("Hours",m3);e4=m3.getTime(),(d3.variableTimezone||!d3.useUTC)&&s2(i3)&&(h3=i3-e4>4*u2.month||d3.getTimezoneOffset(e4)!==d3.getTimezoneOffset(i3));let p4=m3.getTime();for(n3=1;p4<i3;)g3.push(p4),x2===u2.year?p4=d3.makeTime(a3+n3*y2,0):x2===u2.month?p4=d3.makeTime(a3,t5+n3*y2):h3&&(x2===u2.day||x2===u2.week)?p4=d3.makeTime(a3,t5,o3+n3*y2*(x2===u2.day?1:7)):h3&&x2===u2.hour&&y2>1?p4=d3.makeTime(a3,t5,o3,c3+n3*y2):p4+=x2*y2,n3++;g3.push(p4),x2<=u2.hour&&g3.length<1e4&&g3.forEach((function(t6){t6%18e5==0&&"000000000"===d3.dateFormat("%H%M%S%L",t6)&&(f3[t6]="day")}))}return g3.info=o2(t4,{higherRanks:f3,totalRange:x2*y2}),g3}getDateFormat(t4,e4,i3,s3){let r3=this.dateFormat("%m-%d %H:%M:%S.%L",e4),o3="01-01 00:00:00.000",n3={millisecond:15,second:12,minute:9,hour:6,day:3},a3="millisecond",h3=a3;for(a3 in u2){if(t4===u2.week&&+this.dateFormat("%w",e4)===i3&&r3.substr(6)===o3.substr(6)){a3="week";break}if(u2[a3]>t4){a3=h3;break}if(n3[a3]&&r3.substr(n3[a3])!==o3.substr(n3[a3]))break;"week"!==a3&&(h3=a3)}return this.resolveDTLFormat(s3[a3]).main}}return m2.formatCache={},m2})),i(e2,"Core/Defaults.js",[e2["Core/Chart/ChartDefaults.js"],e2["Core/Globals.js"],e2["Core/Color/Palettes.js"],e2["Core/Time.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2,s2,r2){let{isTouchDevice:o2}=e3,{fireEvent:n2,merge:a2}=r2,h2={colors:i2.colors,symbols:["circle","diamond","square","triangle","triangle-down"],lang:{loading:"Loading...",months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],weekdays:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],decimalPoint:".",numericSymbols:["k","M","G","T","P","E"],resetZoom:"Reset zoom",resetZoomTitle:"Reset zoom level 1:1",thousandsSep:" "},global:{buttonTheme:{fill:"#f7f7f7",padding:8,r:2,stroke:"#cccccc","stroke-width":1,style:{color:"#333333",cursor:"pointer",fontSize:"0.8em",fontWeight:"normal"},states:{hover:{fill:"#e6e6e6"},select:{fill:"#e6e9ff",style:{color:"#000000",fontWeight:"bold"}},disabled:{style:{color:"#cccccc"}}}}},time:{Date:void 0,getTimezoneOffset:void 0,timezone:void 0,timezoneOffset:0,useUTC:true},chart:t3,title:{style:{color:"#333333",fontWeight:"bold"},text:"Chart title",align:"center",margin:15,widthAdjust:-44},subtitle:{style:{color:"#666666",fontSize:"0.8em"},text:"",align:"center",widthAdjust:-44},caption:{margin:15,style:{color:"#666666",fontSize:"0.8em"},text:"",align:"left",verticalAlign:"bottom"},plotOptions:{},legend:{enabled:true,align:"center",alignColumns:true,className:"highcharts-no-tooltip",events:{},layout:"horizontal",itemMarginBottom:2,itemMarginTop:2,labelFormatter:function(){return this.name},borderColor:"#999999",borderRadius:0,navigation:{style:{fontSize:"0.8em"},activeColor:"#0022ff",inactiveColor:"#cccccc"},itemStyle:{color:"#333333",cursor:"pointer",fontSize:"0.8em",textDecoration:"none",textOverflow:"ellipsis"},itemHoverStyle:{color:"#000000"},itemHiddenStyle:{color:"#666666",textDecoration:"line-through"},shadow:false,itemCheckboxStyle:{position:"absolute",width:"13px",height:"13px"},squareSymbol:true,symbolPadding:5,verticalAlign:"bottom",x:0,y:0,title:{style:{fontSize:"0.8em",fontWeight:"bold"}}},loading:{labelStyle:{fontWeight:"bold",position:"relative",top:"45%"},style:{position:"absolute",backgroundColor:"#ffffff",opacity:.5,textAlign:"center"}},tooltip:{enabled:true,animation:{duration:300,easing:t4=>Math.sqrt(1-Math.pow(t4-1,2))},borderRadius:3,dateTimeLabelFormats:{millisecond:"%A, %e %b, %H:%M:%S.%L",second:"%A, %e %b, %H:%M:%S",minute:"%A, %e %b, %H:%M",hour:"%A, %e %b, %H:%M",day:"%A, %e %b %Y",week:"Week from %A, %e %b %Y",month:"%B %Y",year:"%Y"},footerFormat:"",headerShape:"callout",hideDelay:500,padding:8,shape:"callout",shared:false,snap:o2?25:10,headerFormat:'<span style="font-size: 0.8em">{point.key}</span><br/>',pointFormat:'<span style="color:{point.color}">●</span> {series.name}: <b>{point.y}</b><br/>',backgroundColor:"#ffffff",borderWidth:void 0,shadow:true,stickOnContact:false,style:{color:"#333333",cursor:"default",fontSize:"0.8em"},useHTML:false},credits:{enabled:true,href:"https://www.highcharts.com?credits",position:{align:"right",x:-10,verticalAlign:"bottom",y:-5},style:{cursor:"pointer",color:"#999999",fontSize:"0.6em"},text:"Highcharts.com"}};h2.chart.styledMode=false;let l2=new s2(h2.time);return{defaultOptions:h2,defaultTime:l2,getOptions:function(){return h2},setOptions:function(t4){return n2(e3,"setOptions",{options:t4}),a2(true,h2,t4),(t4.time||t4.global)&&(e3.time?e3.time.update(a2(h2.global,h2.time,t4.global,t4.time)):e3.time=l2),h2}}})),i(e2,"Core/Color/Color.js",[e2["Core/Globals.js"],e2["Core/Utilities.js"]],(function(t3,e3){let{isNumber:i2,merge:s2,pInt:r2}=e3;class o2{static parse(t4){return t4?new o2(t4):o2.None}constructor(e4){let i3,s3,r3,n2;this.rgba=[NaN,NaN,NaN,NaN],this.input=e4;let a2=t3.Color;if(a2&&a2!==o2)return new a2(e4);if("object"==typeof e4&&void 0!==e4.stops)this.stops=e4.stops.map((t4=>new o2(t4[1])));else if("string"==typeof e4){if(this.input=e4=o2.names[e4.toLowerCase()]||e4,"#"===e4.charAt(0)){let t4=e4.length,i4=parseInt(e4.substr(1),16);7===t4?s3=[(16711680&i4)>>16,(65280&i4)>>8,255&i4,1]:4===t4&&(s3=[(3840&i4)>>4|(3840&i4)>>8,(240&i4)>>4|240&i4,(15&i4)<<4|15&i4,1])}if(!s3)for(r3=o2.parsers.length;r3--&&!s3;)(i3=(n2=o2.parsers[r3]).regex.exec(e4))&&(s3=n2.parse(i3))}s3&&(this.rgba=s3)}get(t4){let e4=this.input,r3=this.rgba;if("object"==typeof e4&&void 0!==this.stops){let i3=s2(e4);return i3.stops=[].slice.call(i3.stops),this.stops.forEach(((e5,s3)=>{i3.stops[s3]=[i3.stops[s3][0],e5.get(t4)]})),i3}return r3&&i2(r3[0])?"rgb"!==t4&&(t4||1!==r3[3])?"a"===t4?`${r3[3]}`:"rgba("+r3.join(",")+")":"rgb("+r3[0]+","+r3[1]+","+r3[2]+")":e4}brighten(t4){let e4=this.rgba;if(this.stops)this.stops.forEach((function(e5){e5.brighten(t4)}));else if(i2(t4)&&0!==t4)for(let i3=0;i3<3;i3++)e4[i3]+=r2(255*t4),e4[i3]<0&&(e4[i3]=0),e4[i3]>255&&(e4[i3]=255);return this}setOpacity(t4){return this.rgba[3]=t4,this}tweenTo(t4,e4){let s3=this.rgba,r3=t4.rgba;if(!i2(s3[0])||!i2(r3[0]))return t4.input||"none";let o3=1!==r3[3]||1!==s3[3];return(o3?"rgba(":"rgb(")+Math.round(r3[0]+(s3[0]-r3[0])*(1-e4))+","+Math.round(r3[1]+(s3[1]-r3[1])*(1-e4))+","+Math.round(r3[2]+(s3[2]-r3[2])*(1-e4))+(o3?","+(r3[3]+(s3[3]-r3[3])*(1-e4)):"")+")"}}return o2.names={white:"#ffffff",black:"#000000"},o2.parsers=[{regex:/rgba\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d?(?:\.\d+)?)\s*\)/,parse:function(t4){return[r2(t4[1]),r2(t4[2]),r2(t4[3]),parseFloat(t4[4],10)]}},{regex:/rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)/,parse:function(t4){return[r2(t4[1]),r2(t4[2]),r2(t4[3]),1]}}],o2.None=new o2(""),o2})),i(e2,"Core/Animation/Fx.js",[e2["Core/Color/Color.js"],e2["Core/Globals.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2){let{parse:s2}=t3,{win:r2}=e3,{isNumber:o2,objectEach:n2}=i2;class a2{constructor(t4,e4,i3){this.pos=NaN,this.options=e4,this.elem=t4,this.prop=i3}dSetter(){let t4=this.paths,e4=t4&&t4[0],i3=t4&&t4[1],s3=this.now||0,r3=[];if(1!==s3&&e4&&i3){if(e4.length===i3.length&&s3<1)for(let t5=0;t5<i3.length;t5++){let n3=e4[t5],a3=i3[t5],h2=[];for(let t6=0;t6<a3.length;t6++){let e5=n3[t6],i4=a3[t6];o2(e5)&&o2(i4)&&!("A"===a3[0]&&(4===t6||5===t6))?h2[t6]=e5+s3*(i4-e5):h2[t6]=i4}r3.push(h2)}else r3=i3}else r3=this.toD||[];this.elem.attr("d",r3,void 0,true)}update(){let t4=this.elem,e4=this.prop,i3=this.now,s3=this.options.step;this[e4+"Setter"]?this[e4+"Setter"]():t4.attr?t4.element&&t4.attr(e4,i3,null,true):t4.style[e4]=i3+this.unit,s3&&s3.call(t4,i3,this)}run(t4,e4,i3){let s3=this,o3=s3.options,n3=function(t5){return!n3.stopped&&s3.step(t5)},h2=r2.requestAnimationFrame||function(t5){setTimeout(t5,13)},l2=function(){for(let t5=0;t5<a2.timers.length;t5++)a2.timers[t5]()||a2.timers.splice(t5--,1);a2.timers.length&&h2(l2)};t4!==e4||this.elem["forceAnimate:"+this.prop]?(this.startTime=+new Date,this.start=t4,this.end=e4,this.unit=i3,this.now=this.start,this.pos=0,n3.elem=this.elem,n3.prop=this.prop,n3()&&1===a2.timers.push(n3)&&h2(l2)):(delete o3.curAnim[this.prop],o3.complete&&0===Object.keys(o3.curAnim).length&&o3.complete.call(this.elem))}step(t4){let e4,i3;let s3=+new Date,r3=this.options,o3=this.elem,a3=r3.complete,h2=r3.duration,l2=r3.curAnim;return o3.attr&&!o3.element?e4=false:t4||s3>=h2+this.startTime?(this.now=this.end,this.pos=1,this.update(),l2[this.prop]=true,i3=true,n2(l2,(function(t5){true!==t5&&(i3=false)})),i3&&a3&&a3.call(o3),e4=false):(this.pos=r3.easing((s3-this.startTime)/h2),this.now=this.start+(this.end-this.start)*this.pos,this.update(),e4=true),e4}initPath(t4,e4,i3){let s3=t4.startX,r3=t4.endX,n3=i3.slice(),a3=t4.isArea,h2=a3?2:1,l2=e4&&i3.length>e4.length&&i3.hasStackedCliffs,d2,c2,p2,u2,g2=e4&&e4.slice();if(!g2||l2)return[n3,n3];function f2(t5,e5){for(;t5.length<c2;){let i4=t5[0],s4=e5[c2-t5.length];if(s4&&"M"===i4[0]&&("C"===s4[0]?t5[0]=["C",i4[1],i4[2],i4[1],i4[2],i4[1],i4[2]]:t5[0]=["L",i4[1],i4[2]]),t5.unshift(i4),a3){let e6=t5.pop();t5.push(t5[t5.length-1],e6)}}}function m2(t5){for(;t5.length<c2;){let e5=t5[Math.floor(t5.length/h2)-1].slice();if("C"===e5[0]&&(e5[1]=e5[5],e5[2]=e5[6]),a3){let i4=t5[Math.floor(t5.length/h2)].slice();t5.splice(t5.length/2,0,e5,i4)}else t5.push(e5)}}if(s3&&r3&&r3.length){for(p2=0;p2<s3.length;p2++){if(s3[p2]===r3[0]){d2=p2;break}if(s3[0]===r3[r3.length-s3.length+p2]){d2=p2,u2=true;break}if(s3[s3.length-1]===r3[r3.length-s3.length+p2]){d2=s3.length-p2;break}}void 0===d2&&(g2=[])}return g2.length&&o2(d2)&&(c2=n3.length+d2*h2,u2?(f2(g2,n3),m2(n3)):(f2(n3,g2),m2(g2))),[g2,n3]}fillSetter(){a2.prototype.strokeSetter.apply(this,arguments)}strokeSetter(){this.elem.attr(this.prop,s2(this.start).tweenTo(s2(this.end),this.pos),void 0,true)}}return a2.timers=[],a2})),i(e2,"Core/Animation/AnimationUtilities.js",[e2["Core/Animation/Fx.js"],e2["Core/Utilities.js"]],(function(t3,e3){let{defined:i2,getStyle:s2,isArray:r2,isNumber:o2,isObject:n2,merge:a2,objectEach:h2,pick:l2}=e3;function d2(t4){return n2(t4)?a2({duration:500,defer:0},t4):{duration:t4?500:0,defer:0}}function c2(e4,i3){let s3=t3.timers.length;for(;s3--;)t3.timers[s3].elem!==e4||i3&&i3!==t3.timers[s3].prop||(t3.timers[s3].stopped=true)}return{animate:function(e4,i3,l3){let d3,p2="",u2,g2,f2;n2(l3)||(f2=arguments,l3={duration:f2[2],easing:f2[3],complete:f2[4]}),o2(l3.duration)||(l3.duration=400),l3.easing="function"==typeof l3.easing?l3.easing:Math[l3.easing]||Math.easeInOutSine,l3.curAnim=a2(i3),h2(i3,(function(o3,n3){c2(e4,n3),g2=new t3(e4,l3,n3),u2=void 0,"d"===n3&&r2(i3.d)?(g2.paths=g2.initPath(e4,e4.pathArray,i3.d),g2.toD=i3.d,d3=0,u2=1):e4.attr?d3=e4.attr(n3):(d3=parseFloat(s2(e4,n3))||0,"opacity"!==n3&&(p2="px")),u2||(u2=o3),"string"==typeof u2&&u2.match("px")&&(u2=u2.replace(/px/g,"")),g2.run(d3,u2,p2)}))},animObject:d2,getDeferredAnimation:function(t4,e4,s3){let r3=d2(e4),o3=s3?[s3]:t4.series,a3=0,h3=0;return o3.forEach((t5=>{let s4=d2(t5.options.animation);a3=n2(e4)&&i2(e4.defer)?r3.defer:Math.max(a3,s4.duration+s4.defer),h3=Math.min(r3.duration,s4.duration)})),t4.renderer.forExport&&(a3=0),{defer:Math.max(0,a3-h3),duration:Math.min(a3,h3)}},setAnimation:function(t4,e4){e4.renderer.globalAnimation=l2(t4,e4.options.chart.animation,true)},stop:c2}})),i(e2,"Core/Renderer/HTML/AST.js",[e2["Core/Globals.js"],e2["Core/Utilities.js"]],(function(t3,e3){let{SVG_NS:i2,win:s2}=t3,{attr:r2,createElement:o2,css:n2,error:a2,isFunction:h2,isString:l2,objectEach:d2,splat:c2}=e3,{trustedTypes:p2}=s2,u2=p2&&h2(p2.createPolicy)&&p2.createPolicy("highcharts",{createHTML:t4=>t4}),g2=u2?u2.createHTML(""):"",f2=function(){try{return!!(new DOMParser).parseFromString(g2,"text/html")}catch(t4){return false}}();class m2{static filterUserAttributes(t4){return d2(t4,((e4,i3)=>{let s3=true;-1===m2.allowedAttributes.indexOf(i3)&&(s3=false),-1!==["background","dynsrc","href","lowsrc","src"].indexOf(i3)&&(s3=l2(e4)&&m2.allowedReferences.some((t5=>0===e4.indexOf(t5)))),s3||(a2(33,false,void 0,{"Invalid attribute in config":`${i3}`}),delete t4[i3]),l2(e4)&&t4[i3]&&(t4[i3]=e4.replace(/</g,"&lt;"))})),t4}static parseStyle(t4){return t4.split(";").reduce(((t5,e4)=>{let i3=e4.split(":").map((t6=>t6.trim())),s3=i3.shift();return s3&&i3.length&&(t5[s3.replace(/-([a-z])/g,(t6=>t6[1].toUpperCase()))]=i3.join(":")),t5}),{})}static setElementHTML(t4,e4){t4.innerHTML=m2.emptyHTML,e4&&new m2(e4).addToDOM(t4)}constructor(t4){this.nodes="string"==typeof t4?this.parseMarkup(t4):t4}addToDOM(e4){return function e5(s3,o3){let h3;return c2(s3).forEach((function(s4){let l3;let c3=s4.tagName,p3=s4.textContent?t3.doc.createTextNode(s4.textContent):void 0,u3=m2.bypassHTMLFiltering;if(c3){if("#text"===c3)l3=p3;else if(-1!==m2.allowedTags.indexOf(c3)||u3){let a3="svg"===c3?i2:o3.namespaceURI||i2,h4=t3.doc.createElementNS(a3,c3),g3=s4.attributes||{};d2(s4,(function(t4,e6){"tagName"!==e6&&"attributes"!==e6&&"children"!==e6&&"style"!==e6&&"textContent"!==e6&&(g3[e6]=t4)})),r2(h4,u3?g3:m2.filterUserAttributes(g3)),s4.style&&n2(h4,s4.style),p3&&h4.appendChild(p3),e5(s4.children||[],h4),l3=h4}else a2(33,false,void 0,{"Invalid tagName in config":c3})}l3&&o3.appendChild(l3),h3=l3})),h3}(this.nodes,e4)}parseMarkup(t4){let e4;let i3=[];if(t4=t4.trim().replace(/ style=(["'])/g," data-style=$1"),f2)e4=(new DOMParser).parseFromString(u2?u2.createHTML(t4):t4,"text/html");else{let i4=o2("div");i4.innerHTML=t4,e4={body:i4}}let s3=(t5,e5)=>{let i4=t5.nodeName.toLowerCase(),r3={tagName:i4};"#text"===i4&&(r3.textContent=t5.textContent||"");let o3=t5.attributes;if(o3){let t6={};[].forEach.call(o3,(e6=>{"data-style"===e6.name?r3.style=m2.parseStyle(e6.value):t6[e6.name]=e6.value})),r3.attributes=t6}if(t5.childNodes.length){let e6=[];[].forEach.call(t5.childNodes,(t6=>{s3(t6,e6)})),e6.length&&(r3.children=e6)}e5.push(r3)};return[].forEach.call(e4.body.childNodes,(t5=>s3(t5,i3))),i3}}return m2.allowedAttributes=["alt","aria-controls","aria-describedby","aria-expanded","aria-haspopup","aria-hidden","aria-label","aria-labelledby","aria-live","aria-pressed","aria-readonly","aria-roledescription","aria-selected","class","clip-path","color","colspan","cx","cy","d","dx","dy","disabled","fill","filterUnits","flood-color","flood-opacity","height","href","id","in","in2","markerHeight","markerWidth","offset","opacity","operator","orient","padding","paddingLeft","paddingRight","patternUnits","r","radius","refX","refY","role","scope","slope","src","startOffset","stdDeviation","stroke","stroke-linecap","stroke-width","style","tableValues","result","rowspan","summary","target","tabindex","text-align","text-anchor","textAnchor","textLength","title","type","valign","width","x","x1","x2","xlink:href","y","y1","y2","zIndex"],m2.allowedReferences=["https://","http://","mailto:","/","../","./","#"],m2.allowedTags=["a","abbr","b","br","button","caption","circle","clipPath","code","dd","defs","div","dl","dt","em","feComponentTransfer","feComposite","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feMorphology","feOffset","feMerge","feMergeNode","filter","h1","h2","h3","h4","h5","h6","hr","i","img","li","linearGradient","marker","ol","p","path","pattern","pre","rect","small","span","stop","strong","style","sub","sup","svg","table","text","textPath","thead","title","tbody","tspan","td","th","tr","u","ul","#text"],m2.emptyHTML=g2,m2.bypassHTMLFiltering=false,m2})),i(e2,"Core/Templating.js",[e2["Core/Defaults.js"],e2["Core/Utilities.js"]],(function(t3,e3){let{defaultOptions:i2,defaultTime:s2}=t3,{extend:r2,getNestedProperty:o2,isArray:n2,isNumber:a2,isObject:h2,pick:l2,pInt:d2}=e3,c2={add:(t4,e4)=>t4+e4,divide:(t4,e4)=>0!==e4?t4/e4:"",eq:(t4,e4)=>t4==e4,each:function(t4){let e4=arguments[arguments.length-1];return!!n2(t4)&&t4.map(((i3,s3)=>p2(e4.body,r2(h2(i3)?i3:{"@this":i3},{"@index":s3,"@first":0===s3,"@last":s3===t4.length-1})))).join("")},ge:(t4,e4)=>t4>=e4,gt:(t4,e4)=>t4>e4,if:t4=>!!t4,le:(t4,e4)=>t4<=e4,lt:(t4,e4)=>t4<e4,multiply:(t4,e4)=>t4*e4,ne:(t4,e4)=>t4!=e4,subtract:(t4,e4)=>t4-e4,unless:t4=>!t4};function p2(t4="",e4,r3){let n3=/\{([\w\:\.\,;\-\/<>%@"'’= #\(\)]+)\}/g,a3=/\(([\w\:\.\,;\-\/<>%@"'= ]+)\)/g,h3=[],d3=/f$/,g2=/\.(\d)/,f2=i2.lang,m2=r3&&r3.time||s2,x2=r3&&r3.numberFormatter||u2,y2=(t5="")=>{let i3;return"true"===t5||"false"!==t5&&((i3=Number(t5)).toString()===t5?i3:o2(t5,e4))},b2,v2,S2=0,C2;for(;null!==(b2=n3.exec(t4));){let i3=a3.exec(b2[1]);i3&&(b2=i3,C2=true),v2&&v2.isBlock||(v2={ctx:e4,expression:b2[1],find:b2[0],isBlock:"#"===b2[1].charAt(0),start:b2.index,startInner:b2.index+b2[0].length,length:b2[0].length});let s3=b2[1].split(" ")[0].replace("#","");c2[s3]&&(v2.isBlock&&s3===v2.fn&&S2++,v2.fn||(v2.fn=s3));let r4="else"===b2[1];if(v2.isBlock&&v2.fn&&(b2[1]===`/${v2.fn}`||r4)){if(S2)!r4&&S2--;else{let e5=v2.startInner,i4=t4.substr(e5,b2.index-e5);void 0===v2.body?(v2.body=i4,v2.startInner=b2.index+b2[0].length):v2.elseBody=i4,v2.find+=i4+b2[0],r4||(h3.push(v2),v2=void 0)}}else v2.isBlock||h3.push(v2);if(i3&&!(v2==null?void 0:v2.isBlock))break}return h3.forEach((i3=>{let s3,o3;let{body:n4,elseBody:a4,expression:h4,fn:u3}=i3;if(u3){let t5=[i3],l3=h4.split(" ");for(o3=c2[u3].length;o3--;)t5.unshift(y2(l3[o3+1]));s3=c2[u3].apply(e4,t5),i3.isBlock&&"boolean"==typeof s3&&(s3=p2(s3?n4:a4,e4,r3))}else{let t5=h4.split(":");if(s3=y2(t5.shift()||""),t5.length&&"number"==typeof s3){let e5=t5.join(":");if(d3.test(e5)){let t6=parseInt((e5.match(g2)||["","-1"])[1],10);null!==s3&&(s3=x2(s3,t6,f2.decimalPoint,e5.indexOf(",")>-1?f2.thousandsSep:""))}else s3=m2.dateFormat(e5,s3)}}t4=t4.replace(i3.find,l2(s3,""))})),C2?p2(t4,e4,r3):t4}function u2(t4,e4,s3,r3){let o3,n3;t4=+t4||0,e4=+e4;let h3=i2.lang,c3=(t4.toString().split(".")[1]||"").split("e")[0].length,p3=t4.toString().split("e"),u3=e4;-1===e4?e4=Math.min(c3,20):a2(e4)?e4&&p3[1]&&p3[1]<0&&((n3=e4+ +p3[1])>=0?(p3[0]=(+p3[0]).toExponential(n3).split("e")[0],e4=n3):(p3[0]=p3[0].split(".")[0]||0,t4=e4<20?(p3[0]*Math.pow(10,p3[1])).toFixed(e4):0,p3[1]=0)):e4=2;let g2=(Math.abs(p3[1]?p3[0]:t4)+Math.pow(10,-Math.max(e4,c3)-1)).toFixed(e4),f2=String(d2(g2)),m2=f2.length>3?f2.length%3:0;return s3=l2(s3,h3.decimalPoint),r3=l2(r3,h3.thousandsSep),o3=(t4<0?"-":"")+(m2?f2.substr(0,m2)+r3:""),0>+p3[1]&&!u3?o3="0":o3+=f2.substr(m2).replace(/(\d{3})(?=\d)/g,"$1"+r3),e4?o3+=s3+g2.slice(-e4):0==+o3&&(o3="0"),p3[1]&&0!=+o3&&(o3+="e"+p3[1]),o3}return{dateFormat:function(t4,e4,i3){return s2.dateFormat(t4,e4,i3)},format:p2,helpers:c2,numberFormat:u2}})),i(e2,"Core/Renderer/RendererRegistry.js",[e2["Core/Globals.js"]],(function(t3){var e3,i2;let s2;return(i2=e3||(e3={})).rendererTypes={},i2.getRendererType=function(t4=s2){return i2.rendererTypes[t4]||i2.rendererTypes[s2]},i2.registerRendererType=function(e4,r2,o2){i2.rendererTypes[e4]=r2,(!s2||o2)&&(s2=e4,t3.Renderer=r2)},e3})),i(e2,"Core/Renderer/RendererUtilities.js",[e2["Core/Utilities.js"]],(function(t3){var e3;let{clamp:i2,pick:s2,pushUnique:r2,stableSort:o2}=t3;return(e3||(e3={})).distribute=function t4(e4,n2,a2){let h2=e4,l2=h2.reducedLen||n2,d2=(t5,e5)=>t5.target-e5.target,c2=[],p2=e4.length,u2=[],g2=c2.push,f2,m2,x2,y2=true,b2,v2,S2=0,C2;for(f2=p2;f2--;)S2+=e4[f2].size;if(S2>l2){for(o2(e4,((t5,e5)=>(e5.rank||0)-(t5.rank||0))),x2=(C2=e4[0].rank===e4[e4.length-1].rank)?p2/2:-1,m2=C2?x2:p2-1;x2&&S2>l2;)b2=e4[f2=Math.floor(m2)],r2(u2,f2)&&(S2-=b2.size),m2+=x2,C2&&m2>=e4.length&&(x2/=2,m2=x2);u2.sort(((t5,e5)=>e5-t5)).forEach((t5=>g2.apply(c2,e4.splice(t5,1))))}for(o2(e4,d2),e4=e4.map((t5=>({size:t5.size,targets:[t5.target],align:s2(t5.align,.5)})));y2;){for(f2=e4.length;f2--;)b2=e4[f2],v2=(Math.min.apply(0,b2.targets)+Math.max.apply(0,b2.targets))/2,b2.pos=i2(v2-b2.size*b2.align,0,n2-b2.size);for(f2=e4.length,y2=false;f2--;)f2>0&&e4[f2-1].pos+e4[f2-1].size>e4[f2].pos&&(e4[f2-1].size+=e4[f2].size,e4[f2-1].targets=e4[f2-1].targets.concat(e4[f2].targets),e4[f2-1].align=.5,e4[f2-1].pos+e4[f2-1].size>n2&&(e4[f2-1].pos=n2-e4[f2-1].size),e4.splice(f2,1),y2=true)}return g2.apply(h2,c2),f2=0,e4.some((e5=>{let i3=0;return(e5.targets||[]).some((()=>(h2[f2].pos=e5.pos+i3,void 0!==a2&&Math.abs(h2[f2].pos-h2[f2].target)>a2)?(h2.slice(0,f2+1).forEach((t5=>delete t5.pos)),h2.reducedLen=(h2.reducedLen||n2)-.1*n2,h2.reducedLen>.1*n2&&t4(h2,n2,a2),true):(i3+=h2[f2].size,f2++,false)))})),o2(h2,d2),h2},e3})),i(e2,"Core/Renderer/SVG/SVGElement.js",[e2["Core/Animation/AnimationUtilities.js"],e2["Core/Color/Color.js"],e2["Core/Globals.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2,s2){let{animate:r2,animObject:o2,stop:n2}=t3,{deg2rad:a2,doc:h2,svg:l2,SVG_NS:d2,win:c2}=i2,{addEvent:p2,attr:u2,createElement:g2,crisp:f2,css:m2,defined:x2,erase:y2,extend:b2,fireEvent:v2,isArray:S2,isFunction:C2,isObject:k2,isString:M2,merge:w2,objectEach:T2,pick:A2,pInt:P2,pushUnique:L2,replaceNested:O2,syncTimeout:D2,uniqueKey:E2}=s2;class I2{_defaultGetter(t4){let e4=A2(this[t4+"Value"],this[t4],this.element?this.element.getAttribute(t4):null,0);return/^-?[\d\.]+$/.test(e4)&&(e4=parseFloat(e4)),e4}_defaultSetter(t4,e4,i3){i3.setAttribute(e4,t4)}add(t4){let e4;let i3=this.renderer,s3=this.element;return t4&&(this.parentGroup=t4),void 0!==this.textStr&&"text"===this.element.nodeName&&i3.buildText(this),this.added=true,(!t4||t4.handleZ||this.zIndex)&&(e4=this.zIndexSetter()),e4||(t4?t4.element:i3.box).appendChild(s3),this.onAdd&&this.onAdd(),this}addClass(t4,e4){let i3=e4?"":this.attr("class")||"";return(t4=(t4||"").split(/ /g).reduce((function(t5,e5){return-1===i3.indexOf(e5)&&t5.push(e5),t5}),i3?[i3]:[]).join(" "))!==i3&&this.attr("class",t4),this}afterSetters(){this.doTransform&&(this.updateTransform(),this.doTransform=false)}align(t4,e4,i3,s3=true){let r3,o3,n3,a3;let h3={},l3=this.renderer,d3=l3.alignedObjects,c3=!!t4;t4?(this.alignOptions=t4,this.alignByTranslate=e4,this.alignTo=i3):(t4=this.alignOptions||{},e4=this.alignByTranslate,i3=this.alignTo);let p3=!i3||M2(i3)?i3||"renderer":void 0;p3&&(c3&&L2(d3,this),i3=void 0);let u3=A2(i3,l3[p3],l3),g3=t4.align,f3=t4.verticalAlign;return r3=(u3.x||0)+(t4.x||0),o3=(u3.y||0)+(t4.y||0),"right"===g3?n3=1:"center"===g3&&(n3=2),n3&&(r3+=((u3.width||0)-(t4.width||0))/n3),h3[e4?"translateX":"x"]=Math.round(r3),"bottom"===f3?a3=1:"middle"===f3&&(a3=2),a3&&(o3+=((u3.height||0)-(t4.height||0))/a3),h3[e4?"translateY":"y"]=Math.round(o3),s3&&(this[this.placed?"animate":"attr"](h3),this.placed=true),this.alignAttr=h3,this}alignSetter(t4){let e4={left:"start",center:"middle",right:"end"};e4[t4]&&(this.alignValue=t4,this.element.setAttribute("text-anchor",e4[t4]))}animate(t4,e4,i3){let s3=o2(A2(e4,this.renderer.globalAnimation,true)),n3=s3.defer;return h2.hidden&&(s3.duration=0),0!==s3.duration?(i3&&(s3.complete=i3),D2((()=>{this.element&&r2(this,t4,s3)}),n3)):(this.attr(t4,void 0,i3||s3.complete),T2(t4,(function(t5,e5){s3.step&&s3.step.call(this,t5,{prop:e5,pos:1,elem:this})}),this)),this}applyTextOutline(t4){let e4=this.element;-1!==t4.indexOf("contrast")&&(t4=t4.replace(/contrast/g,this.renderer.getContrast(e4.style.fill)));let s3=t4.split(" "),r3=s3[s3.length-1],o3=s3[0];if(o3&&"none"!==o3&&i2.svg){this.fakeTS=true,o3=o3.replace(/(^[\d\.]+)(.*?)$/g,(function(t6,e5,i4){return 2*Number(e5)+i4})),this.removeTextOutline();let t5=h2.createElementNS(d2,"tspan");u2(t5,{class:"highcharts-text-outline",fill:r3,stroke:r3,"stroke-width":o3,"stroke-linejoin":"round"});let i3=e4.querySelector("textPath")||e4;[].forEach.call(i3.childNodes,(e5=>{let i4=e5.cloneNode(true);i4.removeAttribute&&["fill","stroke","stroke-width","stroke"].forEach((t6=>i4.removeAttribute(t6))),t5.appendChild(i4)}));let s4=0;[].forEach.call(i3.querySelectorAll("text tspan"),(t6=>{s4+=Number(t6.getAttribute("dy"))}));let n3=h2.createElementNS(d2,"tspan");n3.textContent="​",u2(n3,{x:Number(e4.getAttribute("x")),dy:-s4}),t5.appendChild(n3),i3.insertBefore(t5,i3.firstChild)}}attr(t4,e4,i3,s3){let{element:r3}=this,o3=I2.symbolCustomAttribs,a3,h3,l3=this,d3;return"string"==typeof t4&&void 0!==e4&&(a3=t4,(t4={})[a3]=e4),"string"==typeof t4?l3=(this[t4+"Getter"]||this._defaultGetter).call(this,t4,r3):(T2(t4,(function(e5,i4){d3=false,s3||n2(this,i4),this.symbolName&&-1!==o3.indexOf(i4)&&(h3||(this.symbolAttr(t4),h3=true),d3=true),this.rotation&&("x"===i4||"y"===i4)&&(this.doTransform=true),d3||(this[i4+"Setter"]||this._defaultSetter).call(this,e5,i4,r3)}),this),this.afterSetters()),i3&&i3.call(this),l3}clip(t4){if(t4&&!t4.clipPath){let e4=E2()+"-",i3=this.renderer.createElement("clipPath").attr({id:e4}).add(this.renderer.defs);b2(t4,{clipPath:i3,id:e4,count:0}),t4.add(i3)}return this.attr("clip-path",t4?`url(${this.renderer.url}#${t4.id})`:"none")}crisp(t4,e4){e4=Math.round(e4||t4.strokeWidth||0);let i3=t4.x||this.x||0,s3=t4.y||this.y||0,r3=(t4.width||this.width||0)+i3,o3=(t4.height||this.height||0)+s3,n3=f2(i3,e4),a3=f2(s3,e4);return b2(t4,{x:n3,y:a3,width:f2(r3,e4)-n3,height:f2(o3,e4)-a3}),x2(t4.strokeWidth)&&(t4.strokeWidth=e4),t4}complexColor(t4,i3,s3){let r3=this.renderer,o3,n3,a3,h3,l3,d3,c3,p3,u3,g3,f3=[],m3;v2(this.renderer,"complexColor",{args:arguments},(function(){if(t4.radialGradient?n3="radialGradient":t4.linearGradient&&(n3="linearGradient"),n3){if(a3=t4[n3],l3=r3.gradients,d3=t4.stops,u3=s3.radialReference,S2(a3)&&(t4[n3]=a3={x1:a3[0],y1:a3[1],x2:a3[2],y2:a3[3],gradientUnits:"userSpaceOnUse"}),"radialGradient"===n3&&u3&&!x2(a3.gradientUnits)&&(h3=a3,a3=w2(a3,r3.getRadialAttr(u3,h3),{gradientUnits:"userSpaceOnUse"})),T2(a3,(function(t5,e4){"id"!==e4&&f3.push(e4,t5)})),T2(d3,(function(t5){f3.push(t5)})),l3[f3=f3.join(",")])g3=l3[f3].attr("id");else{a3.id=g3=E2();let t5=l3[f3]=r3.createElement(n3).attr(a3).add(r3.defs);t5.radAttr=h3,t5.stops=[],d3.forEach((function(i4){0===i4[1].indexOf("rgba")?(c3=(o3=e3.parse(i4[1])).get("rgb"),p3=o3.get("a")):(c3=i4[1],p3=1);let s4=r3.createElement("stop").attr({offset:i4[0],"stop-color":c3,"stop-opacity":p3}).add(t5);t5.stops.push(s4)}))}m3="url("+r3.url+"#"+g3+")",s3.setAttribute(i3,m3),s3.gradient=f3,t4.toString=function(){return m3}}}))}css(t4){let e4=this.styles,i3={},s3=this.element,r3,o3=!e4;if(e4&&T2(t4,(function(t5,s4){e4&&e4[s4]!==t5&&(i3[s4]=t5,o3=true)})),o3){e4&&(t4=b2(e4,i3)),null===t4.width||"auto"===t4.width?delete this.textWidth:"text"===s3.nodeName.toLowerCase()&&t4.width&&(r3=this.textWidth=P2(t4.width)),b2(this.styles,t4),r3&&!l2&&this.renderer.forExport&&delete t4.width;let o4=w2(t4);s3.namespaceURI===this.SVG_NS&&(["textOutline","textOverflow","width"].forEach((t5=>o4&&delete o4[t5])),o4.color&&(o4.fill=o4.color)),m2(s3,o4)}return this.added&&("text"===this.element.nodeName&&this.renderer.buildText(this),t4.textOutline&&this.applyTextOutline(t4.textOutline)),this}dashstyleSetter(t4){let e4,i3=this["stroke-width"];if("inherit"===i3&&(i3=1),t4=t4&&t4.toLowerCase()){let s3=t4.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(e4=s3.length;e4--;)s3[e4]=""+P2(s3[e4])*A2(i3,NaN);t4=s3.join(",").replace(/NaN/g,"none"),this.element.setAttribute("stroke-dasharray",t4)}}destroy(){var _a;let t4=this,e4=t4.element||{},i3=t4.renderer,s3=e4.ownerSVGElement,r3="SPAN"===e4.nodeName&&t4.parentGroup||void 0,o3,a3;if(e4.onclick=e4.onmouseout=e4.onmouseover=e4.onmousemove=e4.point=null,n2(t4),t4.clipPath&&s3){let e5=t4.clipPath;[].forEach.call(s3.querySelectorAll("[clip-path],[CLIP-PATH]"),(function(t5){t5.getAttribute("clip-path").indexOf(e5.element.id)>-1&&t5.removeAttribute("clip-path")})),t4.clipPath=e5.destroy()}if(t4.connector=(_a=t4.connector)==null?void 0:_a.destroy(),t4.stops){for(a3=0;a3<t4.stops.length;a3++)t4.stops[a3].destroy();t4.stops.length=0,t4.stops=void 0}for(t4.safeRemoveChild(e4);r3&&r3.div&&0===r3.div.childNodes.length;)o3=r3.parentGroup,t4.safeRemoveChild(r3.div),delete r3.div,r3=o3;t4.alignOptions&&y2(i3.alignedObjects,t4),T2(t4,(function(e5,i4){t4[i4]&&t4[i4].parentGroup===t4&&t4[i4].destroy&&t4[i4].destroy(),delete t4[i4]}))}dSetter(t4,e4,i3){S2(t4)&&("string"==typeof t4[0]&&(t4=this.renderer.pathToSegments(t4)),this.pathArray=t4,t4=t4.reduce(((t5,e5,i4)=>e5&&e5.join?(i4?t5+" ":"")+e5.join(" "):(e5||"").toString()),"")),/(NaN| {2}|^$)/.test(t4)&&(t4="M 0 0"),this[e4]!==t4&&(i3.setAttribute(e4,t4),this[e4]=t4)}fillSetter(t4,e4,i3){"string"==typeof t4?i3.setAttribute(e4,t4):t4&&this.complexColor(t4,e4,i3)}hrefSetter(t4,e4,i3){i3.setAttributeNS("http://www.w3.org/1999/xlink",e4,t4)}getBBox(t4,e4){let i3,s3,r3,o3;let{alignValue:n3,element:a3,renderer:h3,styles:l3,textStr:d3}=this,{cache:c3,cacheKeys:p3}=h3,u3=a3.namespaceURI===this.SVG_NS,g3=A2(e4,this.rotation,0),f3=h3.styledMode?a3&&I2.prototype.getStyle.call(a3,"font-size"):l3.fontSize;if(x2(d3)&&(-1===(o3=d3.toString()).indexOf("<")&&(o3=o3.replace(/\d/g,"0")),o3+=["",h3.rootFontSize,f3,g3,this.textWidth,n3,l3.textOverflow,l3.fontWeight].join(",")),o3&&!t4&&(i3=c3[o3]),!i3||i3.polygon){if(u3||h3.forExport){try{r3=this.fakeTS&&function(t6){let e5=a3.querySelector(".highcharts-text-outline");e5&&m2(e5,{display:t6})},C2(r3)&&r3("none"),i3=a3.getBBox?b2({},a3.getBBox()):{width:a3.offsetWidth,height:a3.offsetHeight,x:0,y:0},C2(r3)&&r3("")}catch(t6){}(!i3||i3.width<0)&&(i3={x:0,y:0,width:0,height:0})}else i3=this.htmlGetBBox();s3=i3.height,u3&&(i3.height=s3={"11px,17":14,"13px,20":16}[`${f3||""},${Math.round(s3)}`]||s3),g3&&(i3=this.getRotatedBox(i3,g3));let t5={bBox:i3};v2(this,"afterGetBBox",t5),i3=t5.bBox}if(o3&&(""===d3||i3.height>0)){for(;p3.length>250;)delete c3[p3.shift()];c3[o3]||p3.push(o3),c3[o3]=i3}return i3}getRotatedBox(t4,e4){let{x:i3,y:s3,width:r3,height:o3}=t4,{alignValue:n3,translateY:h3,rotationOriginX:l3=0,rotationOriginY:d3=0}=this,c3={right:1,center:.5}[n3||0]||0,p3=Number(this.element.getAttribute("y")||0)-(h3?0:s3),u3=e4*a2,g3=(e4-90)*a2,f3=Math.cos(u3),m3=Math.sin(u3),x3=r3*f3,y3=r3*m3,b3=Math.cos(g3),v3=Math.sin(g3),[[S3,C3],[k3,M3]]=[l3,d3].map((t5=>[t5-t5*f3,t5*m3])),w3=i3+c3*(r3-x3)+S3+M3+p3*b3,T3=w3+x3,A3=T3-o3*b3,P3=A3-x3,L3=s3+p3-c3*y3-C3+k3+p3*v3,O3=L3+y3,D3=O3-o3*v3,E3=D3-y3,I3=Math.min(w3,T3,A3,P3),j=Math.min(L3,O3,D3,E3),B2=Math.max(w3,T3,A3,P3)-I3,R2=Math.max(L3,O3,D3,E3)-j;return{x:I3,y:j,width:B2,height:R2,polygon:[[w3,L3],[T3,O3],[A3,D3],[P3,E3]]}}getStyle(t4){return c2.getComputedStyle(this.element||this,"").getPropertyValue(t4)}hasClass(t4){return-1!==(""+this.attr("class")).split(" ").indexOf(t4)}hide(){return this.attr({visibility:"hidden"})}htmlGetBBox(){return{height:0,width:0,x:0,y:0}}constructor(t4,e4){this.onEvents={},this.opacity=1,this.SVG_NS=d2,this.element="span"===e4||"body"===e4?g2(e4):h2.createElementNS(this.SVG_NS,e4),this.renderer=t4,this.styles={},v2(this,"afterInit")}on(t4,e4){let{onEvents:i3}=this;return i3[t4]&&i3[t4](),i3[t4]=p2(this.element,t4,e4),this}opacitySetter(t4,e4,i3){let s3=Number(Number(t4).toFixed(3));this.opacity=s3,i3.setAttribute(e4,s3)}reAlign(){var _a;((_a=this.alignOptions)==null?void 0:_a.width)&&"left"!==this.alignOptions.align&&(this.alignOptions.width=this.getBBox().width,this.placed=false,this.align())}removeClass(t4){return this.attr("class",(""+this.attr("class")).replace(M2(t4)?RegExp(`(^| )${t4}( |$)`):t4," ").replace(/ +/g," ").trim())}removeTextOutline(){let t4=this.element.querySelector("tspan.highcharts-text-outline");t4&&this.safeRemoveChild(t4)}safeRemoveChild(t4){let e4=t4.parentNode;e4&&e4.removeChild(t4)}setRadialReference(t4){let e4=this.element.gradient&&this.renderer.gradients[this.element.gradient];return this.element.radialReference=t4,e4&&e4.radAttr&&e4.animate(this.renderer.getRadialAttr(t4,e4.radAttr)),this}shadow(t4){var _a;let{renderer:e4}=this,i3=w2(((_a=this.parentGroup)==null?void 0:_a.rotation)===90?{offsetX:-1,offsetY:-1}:{},k2(t4)?t4:{}),s3=e4.shadowDefinition(i3);return this.attr({filter:t4?`url(${e4.url}#${s3})`:"none"})}show(t4=true){return this.attr({visibility:t4?"inherit":"visible"})}"stroke-widthSetter"(t4,e4,i3){this[e4]=t4,i3.setAttribute(e4,t4)}strokeWidth(){if(!this.renderer.styledMode)return this["stroke-width"]||0;let t4=this.getStyle("stroke-width"),e4=0,i3;return/px$/.test(t4)?e4=P2(t4):""!==t4&&(u2(i3=h2.createElementNS(d2,"rect"),{width:t4,"stroke-width":0}),this.element.parentNode.appendChild(i3),e4=i3.getBBox().width,i3.parentNode.removeChild(i3)),e4}symbolAttr(t4){let e4=this;I2.symbolCustomAttribs.forEach((function(i3){e4[i3]=A2(t4[i3],e4[i3])})),e4.attr({d:e4.renderer.symbols[e4.symbolName](e4.x,e4.y,e4.width,e4.height,e4)})}textSetter(t4){t4!==this.textStr&&(delete this.textPxLength,this.textStr=t4,this.added&&this.renderer.buildText(this),this.reAlign())}titleSetter(t4){let e4=this.element,i3=e4.getElementsByTagName("title")[0]||h2.createElementNS(this.SVG_NS,"title");e4.insertBefore?e4.insertBefore(i3,e4.firstChild):e4.appendChild(i3),i3.textContent=O2(A2(t4,""),[/<[^>]*>/g,""]).replace(/&lt;/g,"<").replace(/&gt;/g,">")}toFront(){let t4=this.element;return t4.parentNode.appendChild(t4),this}translate(t4,e4){return this.attr({translateX:t4,translateY:e4})}updateTransform(t4="transform"){var _a;let{element:e4,matrix:i3,rotation:s3=0,rotationOriginX:r3,rotationOriginY:o3,scaleX:n3,scaleY:a3,translateX:h3=0,translateY:l3=0}=this,d3=["translate("+h3+","+l3+")"];x2(i3)&&d3.push("matrix("+i3.join(",")+")"),s3&&(d3.push("rotate("+s3+" "+A2(r3,e4.getAttribute("x"),0)+" "+A2(o3,e4.getAttribute("y")||0)+")"),((_a=this.text)==null?void 0:_a.element.tagName)==="SPAN"&&this.text.attr({rotation:s3,rotationOriginX:(r3||0)-this.padding,rotationOriginY:(o3||0)-this.padding})),(x2(n3)||x2(a3))&&d3.push("scale("+A2(n3,1)+" "+A2(a3,1)+")"),d3.length&&!(this.text||this).textPath&&e4.setAttribute(t4,d3.join(" "))}visibilitySetter(t4,e4,i3){"inherit"===t4?i3.removeAttribute(e4):this[e4]!==t4&&i3.setAttribute(e4,t4),this[e4]=t4}xGetter(t4){return"circle"===this.element.nodeName&&("x"===t4?t4="cx":"y"===t4&&(t4="cy")),this._defaultGetter(t4)}zIndexSetter(t4,e4){let i3=this.renderer,s3=this.parentGroup,r3=(s3||i3).element||i3.box,o3=this.element,n3=r3===i3.box,a3,h3,l3,d3=false,c3,p3=this.added,u3;if(x2(t4)?(o3.setAttribute("data-z-index",t4),t4=+t4,this[e4]===t4&&(p3=false)):x2(this[e4])&&o3.removeAttribute("data-z-index"),this[e4]=t4,p3){for((t4=this.zIndex)&&s3&&(s3.handleZ=true),u3=(a3=r3.childNodes).length-1;u3>=0&&!d3;u3--)c3=!x2(l3=(h3=a3[u3]).getAttribute("data-z-index")),h3!==o3&&(t4<0&&c3&&!n3&&!u3?(r3.insertBefore(o3,a3[u3]),d3=true):(P2(l3)<=t4||c3&&(!x2(t4)||t4>=0))&&(r3.insertBefore(o3,a3[u3+1]),d3=true));d3||(r3.insertBefore(o3,a3[n3?3:0]),d3=true)}return d3}}return I2.symbolCustomAttribs=["anchorX","anchorY","clockwise","end","height","innerR","r","start","width","x","y"],I2.prototype.strokeSetter=I2.prototype.fillSetter,I2.prototype.yGetter=I2.prototype.xGetter,I2.prototype.matrixSetter=I2.prototype.rotationOriginXSetter=I2.prototype.rotationOriginYSetter=I2.prototype.rotationSetter=I2.prototype.scaleXSetter=I2.prototype.scaleYSetter=I2.prototype.translateXSetter=I2.prototype.translateYSetter=I2.prototype.verticalAlignSetter=function(t4,e4){this[e4]=t4,this.doTransform=true},I2})),i(e2,"Core/Renderer/SVG/SVGLabel.js",[e2["Core/Renderer/SVG/SVGElement.js"],e2["Core/Utilities.js"]],(function(t3,e3){let{defined:i2,extend:s2,isNumber:r2,merge:o2,pick:n2,removeEvent:a2}=e3;class h2 extends t3{constructor(t4,e4,i3,s3,r3,o3,n3,a3,l2,d2){let c2;super(t4,"g"),this.paddingLeftSetter=this.paddingSetter,this.paddingRightSetter=this.paddingSetter,this.doUpdate=false,this.textStr=e4,this.x=i3,this.y=s3,this.anchorX=o3,this.anchorY=n3,this.baseline=l2,this.className=d2,this.addClass("button"===d2?"highcharts-no-tooltip":"highcharts-label"),d2&&this.addClass("highcharts-"+d2),this.text=t4.text(void 0,0,0,a3).attr({zIndex:1}),"string"==typeof r3&&((c2=/^url\((.*?)\)$/.test(r3))||this.renderer.symbols[r3])&&(this.symbolKey=r3),this.bBox=h2.emptyBBox,this.padding=3,this.baselineOffset=0,this.needsBox=t4.styledMode||c2,this.deferredAttr={},this.alignFactor=0}alignSetter(t4){let e4={left:0,center:.5,right:1}[t4];e4!==this.alignFactor&&(this.alignFactor=e4,this.bBox&&r2(this.xSetting)&&this.attr({x:this.xSetting}))}anchorXSetter(t4,e4){this.anchorX=t4,this.boxAttr(e4,Math.round(t4)-this.getCrispAdjust()-this.xSetting)}anchorYSetter(t4,e4){this.anchorY=t4,this.boxAttr(e4,t4-this.ySetting)}boxAttr(t4,e4){this.box?this.box.attr(t4,e4):this.deferredAttr[t4]=e4}css(e4){if(e4){let t4={};e4=o2(e4),h2.textProps.forEach((i3=>{void 0!==e4[i3]&&(t4[i3]=e4[i3],delete e4[i3])})),this.text.css(t4),"fontSize"in t4||"fontWeight"in t4?this.updateTextPadding():("width"in t4||"textOverflow"in t4)&&this.updateBoxSize()}return t3.prototype.css.call(this,e4)}destroy(){a2(this.element,"mouseenter"),a2(this.element,"mouseleave"),this.text&&this.text.destroy(),this.box&&(this.box=this.box.destroy()),t3.prototype.destroy.call(this)}fillSetter(t4,e4){t4&&(this.needsBox=true),this.fill=t4,this.boxAttr(e4,t4)}getBBox(t4,e4){this.textStr&&0===this.bBox.width&&0===this.bBox.height&&this.updateBoxSize();let{padding:i3,height:s3=0,translateX:r3=0,translateY:o3=0,width:a3=0}=this,h3=n2(this.paddingLeft,i3),l2=e4??(this.rotation||0),d2={width:a3,height:s3,x:r3+this.bBox.x-h3,y:o3+this.bBox.y-i3+this.baselineOffset};return l2&&(d2=this.getRotatedBox(d2,l2)),d2}getCrispAdjust(){return(this.renderer.styledMode&&this.box?this.box.strokeWidth():this["stroke-width"]?parseInt(this["stroke-width"],10):0)%2/2}heightSetter(t4){this.heightSetting=t4,this.doUpdate=true}afterSetters(){super.afterSetters(),this.doUpdate&&(this.updateBoxSize(),this.doUpdate=false)}onAdd(){this.text.add(this),this.attr({text:n2(this.textStr,""),x:this.x||0,y:this.y||0}),this.box&&i2(this.anchorX)&&this.attr({anchorX:this.anchorX,anchorY:this.anchorY})}paddingSetter(t4,e4){r2(t4)?t4!==this[e4]&&(this[e4]=t4,this.updateTextPadding()):this[e4]=void 0}rSetter(t4,e4){this.boxAttr(e4,t4)}strokeSetter(t4,e4){this.stroke=t4,this.boxAttr(e4,t4)}"stroke-widthSetter"(t4,e4){t4&&(this.needsBox=true),this["stroke-width"]=t4,this.boxAttr(e4,t4)}"text-alignSetter"(t4){this.textAlign=t4}textSetter(t4){void 0!==t4&&this.text.attr({text:t4}),this.updateTextPadding(),this.reAlign()}updateBoxSize(){let t4;let e4=this.text,o3={},n3=this.padding,a3=this.bBox=(!r2(this.widthSetting)||!r2(this.heightSetting)||this.textAlign)&&i2(e4.textStr)?e4.getBBox(void 0,0):h2.emptyBBox;this.width=this.getPaddedWidth(),this.height=(this.heightSetting||a3.height||0)+2*n3;let l2=this.renderer.fontMetrics(e4);if(this.baselineOffset=n3+Math.min((this.text.firstLineMetrics||l2).b,a3.height||1/0),this.heightSetting&&(this.baselineOffset+=(this.heightSetting-l2.h)/2),this.needsBox&&!e4.textPath){if(!this.box){let t5=this.box=this.symbolKey?this.renderer.symbol(this.symbolKey):this.renderer.rect();t5.addClass(("button"===this.className?"":"highcharts-label-box")+(this.className?" highcharts-"+this.className+"-box":"")),t5.add(this)}t4=this.getCrispAdjust(),o3.x=t4,o3.y=(this.baseline?-this.baselineOffset:0)+t4,o3.width=Math.round(this.width),o3.height=Math.round(this.height),this.box.attr(s2(o3,this.deferredAttr)),this.deferredAttr={}}}updateTextPadding(){let t4=this.text;if(!t4.textPath){this.updateBoxSize();let e4=this.baseline?0:this.baselineOffset,s3=n2(this.paddingLeft,this.padding);i2(this.widthSetting)&&this.bBox&&("center"===this.textAlign||"right"===this.textAlign)&&(s3+={center:.5,right:1}[this.textAlign]*(this.widthSetting-this.bBox.width)),(s3!==t4.x||e4!==t4.y)&&(t4.attr("x",s3),t4.hasBoxWidthChanged&&(this.bBox=t4.getBBox(true)),void 0!==e4&&t4.attr("y",e4)),t4.x=s3,t4.y=e4}}widthSetter(t4){this.widthSetting=r2(t4)?t4:void 0,this.doUpdate=true}getPaddedWidth(){let t4=this.padding,e4=n2(this.paddingLeft,t4),i3=n2(this.paddingRight,t4);return(this.widthSetting||this.bBox.width||0)+e4+i3}xSetter(t4){this.x=t4,this.alignFactor&&(t4-=this.alignFactor*this.getPaddedWidth(),this["forceAnimate:x"]=true),this.xSetting=Math.round(t4),this.attr("translateX",this.xSetting)}ySetter(t4){this.ySetting=this.y=Math.round(t4),this.attr("translateY",this.ySetting)}}return h2.emptyBBox={width:0,height:0,x:0,y:0},h2.textProps=["color","direction","fontFamily","fontSize","fontStyle","fontWeight","lineHeight","textAlign","textDecoration","textOutline","textOverflow","whiteSpace","width"],h2})),i(e2,"Core/Renderer/SVG/Symbols.js",[e2["Core/Utilities.js"]],(function(t3){let{defined:e3,isNumber:i2,pick:s2}=t3;function r2(t4,i3,r3,o3,n3){let a2=[];if(n3){let h2=n3.start||0,l2=s2(n3.r,r3),d2=s2(n3.r,o3||r3),c2=2e-4/(n3.borderRadius?1:Math.max(l2,1)),p2=Math.abs((n3.end||0)-h2-2*Math.PI)<c2,u2=(n3.end||0)-(p2?c2:0),g2=n3.innerR,f2=s2(n3.open,p2),m2=Math.cos(h2),x2=Math.sin(h2),y2=Math.cos(u2),b2=Math.sin(u2),v2=s2(n3.longArc,u2-h2-Math.PI<c2?0:1),S2=["A",l2,d2,0,v2,s2(n3.clockwise,1),t4+l2*y2,i3+d2*b2];S2.params={start:h2,end:u2,cx:t4,cy:i3},a2.push(["M",t4+l2*m2,i3+d2*x2],S2),e3(g2)&&((S2=["A",g2,g2,0,v2,e3(n3.clockwise)?1-n3.clockwise:0,t4+g2*m2,i3+g2*x2]).params={start:u2,end:h2,cx:t4,cy:i3},a2.push(f2?["M",t4+g2*y2,i3+g2*b2]:["L",t4+g2*y2,i3+g2*b2],S2)),f2||a2.push(["Z"])}return a2}function o2(t4,e4,i3,s3,r3){return r3&&r3.r?n2(t4,e4,i3,s3,r3):[["M",t4,e4],["L",t4+i3,e4],["L",t4+i3,e4+s3],["L",t4,e4+s3],["Z"]]}function n2(t4,e4,i3,s3,r3){let o3=(r3==null?void 0:r3.r)||0;return[["M",t4+o3,e4],["L",t4+i3-o3,e4],["A",o3,o3,0,0,1,t4+i3,e4+o3],["L",t4+i3,e4+s3-o3],["A",o3,o3,0,0,1,t4+i3-o3,e4+s3],["L",t4+o3,e4+s3],["A",o3,o3,0,0,1,t4,e4+s3-o3],["L",t4,e4+o3],["A",o3,o3,0,0,1,t4+o3,e4],["Z"]]}return{arc:r2,callout:function(t4,e4,s3,r3,o3){let a2=Math.min(o3&&o3.r||0,s3,r3),h2=a2+6,l2=o3&&o3.anchorX,d2=o3&&o3.anchorY||0,c2=n2(t4,e4,s3,r3,{r:a2});if(!i2(l2)||l2<s3&&l2>0&&d2<r3&&d2>0)return c2;if(t4+l2>s3-h2){if(d2>e4+h2&&d2<e4+r3-h2)c2.splice(3,1,["L",t4+s3,d2-6],["L",t4+s3+6,d2],["L",t4+s3,d2+6],["L",t4+s3,e4+r3-a2]);else if(l2<s3){let i3=d2<e4+h2,o4=i3?e4:e4+r3;c2.splice(i3?2:5,0,["L",l2,d2],["L",t4+s3-a2,o4])}else c2.splice(3,1,["L",t4+s3,r3/2],["L",l2,d2],["L",t4+s3,r3/2],["L",t4+s3,e4+r3-a2])}else if(t4+l2<h2){if(d2>e4+h2&&d2<e4+r3-h2)c2.splice(7,1,["L",t4,d2+6],["L",t4-6,d2],["L",t4,d2-6],["L",t4,e4+a2]);else if(l2>0){let i3=d2<e4+h2,s4=i3?e4:e4+r3;c2.splice(i3?1:6,0,["L",l2,d2],["L",t4+a2,s4])}else c2.splice(7,1,["L",t4,r3/2],["L",l2,d2],["L",t4,r3/2],["L",t4,e4+a2])}else d2>r3&&l2<s3-h2?c2.splice(5,1,["L",l2+6,e4+r3],["L",l2,e4+r3+6],["L",l2-6,e4+r3],["L",t4+a2,e4+r3]):d2<0&&l2>h2&&c2.splice(1,1,["L",l2-6,e4],["L",l2,e4-6],["L",l2+6,e4],["L",s3-a2,e4]);return c2},circle:function(t4,e4,i3,s3){return r2(t4+i3/2,e4+s3/2,i3/2,s3/2,{start:.5*Math.PI,end:2.5*Math.PI,open:false})},diamond:function(t4,e4,i3,s3){return[["M",t4+i3/2,e4],["L",t4+i3,e4+s3/2],["L",t4+i3/2,e4+s3],["L",t4,e4+s3/2],["Z"]]},rect:o2,roundedRect:n2,square:o2,triangle:function(t4,e4,i3,s3){return[["M",t4+i3/2,e4],["L",t4+i3,e4+s3],["L",t4,e4+s3],["Z"]]},"triangle-down":function(t4,e4,i3,s3){return[["M",t4,e4],["L",t4+i3,e4],["L",t4+i3/2,e4+s3],["Z"]]}}})),i(e2,"Core/Renderer/SVG/TextBuilder.js",[e2["Core/Renderer/HTML/AST.js"],e2["Core/Globals.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2){let{doc:s2,SVG_NS:r2,win:o2}=e3,{attr:n2,extend:a2,fireEvent:h2,isString:l2,objectEach:d2,pick:c2}=i2;return class{constructor(t4){let e4=t4.styles;this.renderer=t4.renderer,this.svgElement=t4,this.width=t4.textWidth,this.textLineHeight=e4&&e4.lineHeight,this.textOutline=e4&&e4.textOutline,this.ellipsis=!!(e4&&"ellipsis"===e4.textOverflow),this.noWrap=!!(e4&&"nowrap"===e4.whiteSpace)}buildSVG(){let e4=this.svgElement,i3=e4.element,r3=e4.renderer,o3=c2(e4.textStr,"").toString(),n3=-1!==o3.indexOf("<"),a3=i3.childNodes,h3=!e4.added&&r3.box,d3=[o3,this.ellipsis,this.noWrap,this.textLineHeight,this.textOutline,e4.getStyle("font-size"),this.width].join(",");if(d3!==e4.textCache){e4.textCache=d3,delete e4.actualWidth;for(let t4=a3.length;t4--;)i3.removeChild(a3[t4]);if(n3||this.ellipsis||this.width||e4.textPath||-1!==o3.indexOf(" ")&&(!this.noWrap||/<br.*?>/g.test(o3))){if(""!==o3){h3&&h3.appendChild(i3);let s3=new t3(o3);this.modifyTree(s3.nodes),s3.addToDOM(i3),this.modifyDOM(),this.ellipsis&&-1!==(i3.textContent||"").indexOf("…")&&e4.attr("title",this.unescapeEntities(e4.textStr||"",["&lt;","&gt;"])),h3&&h3.removeChild(i3)}}else i3.appendChild(s2.createTextNode(this.unescapeEntities(o3)));l2(this.textOutline)&&e4.applyTextOutline&&e4.applyTextOutline(this.textOutline)}}modifyDOM(){let t4;let e4=this.svgElement,i3=n2(e4.element,"x");for(e4.firstLineMetrics=void 0;t4=e4.element.firstChild;)if(/^[\s\u200B]*$/.test(t4.textContent||" "))e4.element.removeChild(t4);else break;[].forEach.call(e4.element.querySelectorAll("tspan.highcharts-br"),((t5,s3)=>{t5.nextSibling&&t5.previousSibling&&(0===s3&&1===t5.previousSibling.nodeType&&(e4.firstLineMetrics=e4.renderer.fontMetrics(t5.previousSibling)),n2(t5,{dy:this.getLineHeight(t5.nextSibling),x:i3}))}));let a3=this.width||0;if(!a3)return;let h3=(t5,o3)=>{let h4=t5.textContent||"",l4=h4.replace(/([^\^])-/g,"$1- ").split(" "),d3=!this.noWrap&&(l4.length>1||e4.element.childNodes.length>1),c3=this.getLineHeight(o3),p2=0,u2=e4.actualWidth;if(this.ellipsis)h4&&this.truncate(t5,h4,void 0,0,Math.max(0,a3-.8*c3),((t6,e5)=>t6.substring(0,e5)+"…"));else if(d3){let h5=[],d4=[];for(;o3.firstChild&&o3.firstChild!==t5;)d4.push(o3.firstChild),o3.removeChild(o3.firstChild);for(;l4.length;)l4.length&&!this.noWrap&&p2>0&&(h5.push(t5.textContent||""),t5.textContent=l4.join(" ").replace(/- /g,"-")),this.truncate(t5,void 0,l4,0===p2&&u2||0,a3,((t6,e5)=>l4.slice(0,e5).join(" ").replace(/- /g,"-"))),u2=e4.actualWidth,p2++;d4.forEach((e5=>{o3.insertBefore(e5,t5)})),h5.forEach((e5=>{o3.insertBefore(s2.createTextNode(e5),t5);let a4=s2.createElementNS(r2,"tspan");a4.textContent="​",n2(a4,{dy:c3,x:i3}),o3.insertBefore(a4,t5)}))}},l3=t5=>{[].slice.call(t5.childNodes).forEach((i4=>{i4.nodeType===o2.Node.TEXT_NODE?h3(i4,t5):(-1!==i4.className.baseVal.indexOf("highcharts-br")&&(e4.actualWidth=0),l3(i4))}))};l3(e4.element)}getLineHeight(t4){let e4=t4.nodeType===o2.Node.TEXT_NODE?t4.parentElement:t4;return this.textLineHeight?parseInt(this.textLineHeight.toString(),10):this.renderer.fontMetrics(e4||this.svgElement.element).h}modifyTree(t4){let e4=(i3,s3)=>{let{attributes:r3={},children:o3,style:n3={},tagName:h3}=i3,l3=this.renderer.styledMode;if("b"===h3||"strong"===h3?l3?r3.class="highcharts-strong":n3.fontWeight="bold":("i"===h3||"em"===h3)&&(l3?r3.class="highcharts-emphasized":n3.fontStyle="italic"),n3&&n3.color&&(n3.fill=n3.color),"br"===h3){r3.class="highcharts-br",i3.textContent="​";let e5=t4[s3+1];e5&&e5.textContent&&(e5.textContent=e5.textContent.replace(/^ +/gm,""))}else"a"===h3&&o3&&o3.some((t5=>"#text"===t5.tagName))&&(i3.children=[{children:o3,tagName:"tspan"}]);"#text"!==h3&&"a"!==h3&&(i3.tagName="tspan"),a2(i3,{attributes:r3,style:n3}),o3&&o3.filter((t5=>"#text"!==t5.tagName)).forEach(e4)};t4.forEach(e4),h2(this.svgElement,"afterModifyTree",{nodes:t4})}truncate(t4,e4,i3,s3,r3,o3){let n3,a3;let h3=this.svgElement,{rotation:l3}=h3,d3=[],c3=i3?1:0,p2=(e4||i3||"").length,u2=p2,g2=function(e5,r4){let o4=r4||e5,n4=t4.parentNode;if(n4&&void 0===d3[o4]&&n4.getSubStringLength)try{d3[o4]=s3+n4.getSubStringLength(0,i3?o4+1:o4)}catch(t5){}return d3[o4]};if(h3.rotation=0,s3+(a3=g2(t4.textContent.length))>r3){for(;c3<=p2;)u2=Math.ceil((c3+p2)/2),i3&&(n3=o3(i3,u2)),a3=g2(u2,n3&&n3.length-1),c3===p2?c3=p2+1:a3>r3?p2=u2-1:c3=u2;0===p2?t4.textContent="":e4&&p2===e4.length-1||(t4.textContent=n3||o3(e4||i3,u2))}i3&&i3.splice(0,u2),h3.actualWidth=a3,h3.rotation=l3}unescapeEntities(t4,e4){return d2(this.renderer.escapes,(function(i3,s3){e4&&-1!==e4.indexOf(i3)||(t4=t4.toString().replace(RegExp(i3,"g"),s3))})),t4}}})),i(e2,"Core/Renderer/SVG/SVGRenderer.js",[e2["Core/Renderer/HTML/AST.js"],e2["Core/Defaults.js"],e2["Core/Color/Color.js"],e2["Core/Globals.js"],e2["Core/Renderer/RendererRegistry.js"],e2["Core/Renderer/SVG/SVGElement.js"],e2["Core/Renderer/SVG/SVGLabel.js"],e2["Core/Renderer/SVG/Symbols.js"],e2["Core/Renderer/SVG/TextBuilder.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2,s2,r2,o2,n2,a2,h2,l2){let d2;let{defaultOptions:c2}=e3,{charts:p2,deg2rad:u2,doc:g2,isFirefox:f2,isMS:m2,isWebKit:x2,noop:y2,SVG_NS:b2,symbolSizes:v2,win:S2}=s2,{addEvent:C2,attr:k2,createElement:M2,crisp:w2,css:T2,defined:A2,destroyObjectProperties:P2,extend:L2,isArray:O2,isNumber:D2,isObject:E2,isString:I2,merge:j,pick:B2,pInt:R2,replaceNested:z2,uniqueKey:N2}=l2;class W2{constructor(t4,e4,i3,s3,r3,o3,n3){let a3,h3;let l3=this.createElement("svg").attr({version:"1.1",class:"highcharts-root"}),d3=l3.element;n3||l3.css(this.getStyle(s3||{})),t4.appendChild(d3),k2(t4,"dir","ltr"),-1===t4.innerHTML.indexOf("xmlns")&&k2(d3,"xmlns",this.SVG_NS),this.box=d3,this.boxWrapper=l3,this.alignedObjects=[],this.url=this.getReferenceURL(),this.createElement("desc").add().element.appendChild(g2.createTextNode("Created with Highcharts 11.4.8")),this.defs=this.createElement("defs").add(),this.allowHTML=o3,this.forExport=r3,this.styledMode=n3,this.gradients={},this.cache={},this.cacheKeys=[],this.imgCount=0,this.rootFontSize=l3.getStyle("font-size"),this.setSize(e4,i3,false),f2&&t4.getBoundingClientRect&&((a3=function(){T2(t4,{left:0,top:0}),h3=t4.getBoundingClientRect(),T2(t4,{left:Math.ceil(h3.left)-h3.left+"px",top:Math.ceil(h3.top)-h3.top+"px"})})(),this.unSubPixelFix=C2(S2,"resize",a3))}definition(e4){return new t3([e4]).addToDOM(this.defs.element)}getReferenceURL(){if((f2||x2)&&g2.getElementsByTagName("base").length){if(!A2(d2)){let e4=N2(),i3=new t3([{tagName:"svg",attributes:{width:8,height:8},children:[{tagName:"defs",children:[{tagName:"clipPath",attributes:{id:e4},children:[{tagName:"rect",attributes:{width:4,height:4}}]}]},{tagName:"rect",attributes:{id:"hitme",width:8,height:8,"clip-path":`url(#${e4})`,fill:"rgba(0,0,0,0.001)"}}]}]).addToDOM(g2.body);T2(i3,{position:"fixed",top:0,left:0,zIndex:9e5});let s3=g2.elementFromPoint(6,6);d2="hitme"===(s3&&s3.id),g2.body.removeChild(i3)}if(d2)return z2(S2.location.href.split("#")[0],[/<[^>]*>/g,""],[/([\('\)])/g,"\\$1"],[/ /g,"%20"])}return""}getStyle(t4){return this.style=L2({fontFamily:"Helvetica, Arial, sans-serif",fontSize:"1rem"},t4),this.style}setStyle(t4){this.boxWrapper.css(this.getStyle(t4))}isHidden(){return!this.boxWrapper.getBBox().width}destroy(){let t4=this.defs;return this.box=null,this.boxWrapper=this.boxWrapper.destroy(),P2(this.gradients||{}),this.gradients=null,this.defs=t4.destroy(),this.unSubPixelFix&&this.unSubPixelFix(),this.alignedObjects=null,null}createElement(t4){return new this.Element(this,t4)}getRadialAttr(t4,e4){return{cx:t4[0]-t4[2]/2+(e4.cx||0)*t4[2],cy:t4[1]-t4[2]/2+(e4.cy||0)*t4[2],r:(e4.r||0)*t4[2]}}shadowDefinition(t4){let e4=[`highcharts-drop-shadow-${this.chartIndex}`,...Object.keys(t4).map((e5=>`${e5}-${t4[e5]}`))].join("-").toLowerCase().replace(/[^a-z\d\-]/g,""),i3=j({color:"#000000",offsetX:1,offsetY:1,opacity:.15,width:5},t4);return this.defs.element.querySelector(`#${e4}`)||this.definition({tagName:"filter",attributes:{id:e4,filterUnits:i3.filterUnits},children:this.getShadowFilterContent(i3)}),e4}getShadowFilterContent(t4){return[{tagName:"feDropShadow",attributes:{dx:t4.offsetX,dy:t4.offsetY,"flood-color":t4.color,"flood-opacity":Math.min(5*t4.opacity,1),stdDeviation:t4.width/2}}]}buildText(t4){new h2(t4).buildSVG()}getContrast(t4){let e4=i2.parse(t4).rgba.map((t5=>{let e5=t5/255;return e5<=.03928?e5/12.92:Math.pow((e5+.055)/1.055,2.4)})),s3=.2126*e4[0]+.7152*e4[1]+.0722*e4[2];return 1.05/(s3+.05)>(s3+.05)/.05?"#FFFFFF":"#000000"}button(e4,i3,s3,r3,o3={},n3,a3,h3,l3,d3){let p3=this.label(e4,i3,s3,l3,void 0,void 0,d3,void 0,"button"),u3=this.styledMode,g3=arguments,f3=0;o3=j(c2.global.buttonTheme,o3),u3&&(delete o3.fill,delete o3.stroke,delete o3["stroke-width"]);let x3=o3.states||{},y3=o3.style||{};delete o3.states,delete o3.style;let b3=[t3.filterUserAttributes(o3)],v3=[y3];return u3||["hover","select","disabled"].forEach(((e5,i4)=>{b3.push(j(b3[0],t3.filterUserAttributes(g3[i4+5]||x3[e5]||{}))),v3.push(b3[i4+1].style),delete b3[i4+1].style})),C2(p3.element,m2?"mouseover":"mouseenter",(function(){3!==f3&&p3.setState(1)})),C2(p3.element,m2?"mouseout":"mouseleave",(function(){3!==f3&&p3.setState(f3)})),p3.setState=(t4=0)=>{if(1!==t4&&(p3.state=f3=t4),p3.removeClass(/highcharts-button-(normal|hover|pressed|disabled)/).addClass("highcharts-button-"+["normal","hover","pressed","disabled"][t4]),!u3){p3.attr(b3[t4]);let e5=v3[t4];E2(e5)&&p3.css(e5)}},p3.attr(b3[0]),!u3&&(p3.css(L2({cursor:"default"},y3)),d3&&p3.text.css({pointerEvents:"none"})),p3.on("touchstart",(t4=>t4.stopPropagation())).on("click",(function(t4){3!==f3&&r3.call(p3,t4)}))}crispLine(t4,e4){let[i3,s3]=t4;return A2(i3[1])&&i3[1]===s3[1]&&(i3[1]=s3[1]=w2(i3[1],e4)),A2(i3[2])&&i3[2]===s3[2]&&(i3[2]=s3[2]=w2(i3[2],e4)),t4}path(t4){let e4=this.styledMode?{}:{fill:"none"};return O2(t4)?e4.d=t4:E2(t4)&&L2(e4,t4),this.createElement("path").attr(e4)}circle(t4,e4,i3){let s3=E2(t4)?t4:void 0===t4?{}:{x:t4,y:e4,r:i3},r3=this.createElement("circle");return r3.xSetter=r3.ySetter=function(t5,e5,i4){i4.setAttribute("c"+e5,t5)},r3.attr(s3)}arc(t4,e4,i3,s3,r3,o3){let n3;E2(t4)?(e4=(n3=t4).y,i3=n3.r,s3=n3.innerR,r3=n3.start,o3=n3.end,t4=n3.x):n3={innerR:s3,start:r3,end:o3};let a3=this.symbol("arc",t4,e4,i3,i3,n3);return a3.r=i3,a3}rect(t4,e4,i3,s3,r3,o3){let n3=E2(t4)?t4:void 0===t4?{}:{x:t4,y:e4,r:r3,width:Math.max(i3||0,0),height:Math.max(s3||0,0)},a3=this.createElement("rect");return this.styledMode||(void 0!==o3&&(n3["stroke-width"]=o3,L2(n3,a3.crisp(n3))),n3.fill="none"),a3.rSetter=function(t5,e5,i4){a3.r=t5,k2(i4,{rx:t5,ry:t5})},a3.rGetter=function(){return a3.r||0},a3.attr(n3)}roundedRect(t4){return this.symbol("roundedRect").attr(t4)}setSize(t4,e4,i3){this.width=t4,this.height=e4,this.boxWrapper.animate({width:t4,height:e4},{step:function(){this.attr({viewBox:"0 0 "+this.attr("width")+" "+this.attr("height")})},duration:B2(i3,true)?void 0:0}),this.alignElements()}g(t4){let e4=this.createElement("g");return t4?e4.attr({class:"highcharts-"+t4}):e4}image(t4,e4,i3,s3,r3,o3){let n3={preserveAspectRatio:"none"};D2(e4)&&(n3.x=e4),D2(i3)&&(n3.y=i3),D2(s3)&&(n3.width=s3),D2(r3)&&(n3.height=r3);let a3=this.createElement("image").attr(n3),h3=function(e5){a3.attr({href:t4}),o3.call(a3,e5)};if(o3){a3.attr({href:"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="});let e5=new S2.Image;C2(e5,"load",h3),e5.src=t4,e5.complete&&h3({})}else a3.attr({href:t4});return a3}symbol(t4,e4,i3,s3,r3,o3){let n3,a3,h3,l3;let d3=this,c3=/^url\((.*?)\)$/,u3=c3.test(t4),f3=!u3&&(this.symbols[t4]?t4:"circle"),m3=f3&&this.symbols[f3];if(m3)"number"==typeof e4&&(a3=m3.call(this.symbols,e4||0,i3||0,s3||0,r3||0,o3)),n3=this.path(a3),d3.styledMode||n3.attr("fill","none"),L2(n3,{symbolName:f3||void 0,x:e4,y:i3,width:s3,height:r3}),o3&&L2(n3,o3);else if(u3){h3=t4.match(c3)[1];let s4=n3=this.image(h3);s4.imgwidth=B2(o3&&o3.width,v2[h3]&&v2[h3].width),s4.imgheight=B2(o3&&o3.height,v2[h3]&&v2[h3].height),l3=t5=>t5.attr({width:t5.width,height:t5.height}),["width","height"].forEach((t5=>{s4[`${t5}Setter`]=function(t6,e5){this[e5]=t6;let{alignByTranslate:i4,element:s5,width:r4,height:n4,imgwidth:a4,imgheight:h4}=this,l4="width"===e5?a4:h4,d4=1;o3&&"within"===o3.backgroundSize&&r4&&n4&&a4&&h4?(d4=Math.min(r4/a4,n4/h4),k2(s5,{width:Math.round(a4*d4),height:Math.round(h4*d4)})):s5&&l4&&s5.setAttribute(e5,l4),!i4&&a4&&h4&&this.translate(((r4||0)-a4*d4)/2,((n4||0)-h4*d4)/2)}})),A2(e4)&&s4.attr({x:e4,y:i3}),s4.isImg=true,s4.symbolUrl=t4,A2(s4.imgwidth)&&A2(s4.imgheight)?l3(s4):(s4.attr({width:0,height:0}),M2("img",{onload:function(){let t5=p2[d3.chartIndex];0===this.width&&(T2(this,{position:"absolute",top:"-999em"}),g2.body.appendChild(this)),v2[h3]={width:this.width,height:this.height},s4.imgwidth=this.width,s4.imgheight=this.height,s4.element&&l3(s4),this.parentNode&&this.parentNode.removeChild(this),d3.imgCount--,d3.imgCount||!t5||t5.hasLoaded||t5.onload()},src:h3}),this.imgCount++)}return n3}clipRect(t4,e4,i3,s3){return this.rect(t4,e4,i3,s3,0)}text(t4,e4,i3,s3){let r3={};if(s3&&(this.allowHTML||!this.forExport))return this.html(t4,e4,i3);r3.x=Math.round(e4||0),i3&&(r3.y=Math.round(i3)),A2(t4)&&(r3.text=t4);let o3=this.createElement("text").attr(r3);return s3&&(!this.forExport||this.allowHTML)||(o3.xSetter=function(t5,e5,i4){let s4=i4.getElementsByTagName("tspan"),r4=i4.getAttribute(e5);for(let i5=0,o4;i5<s4.length;i5++)(o4=s4[i5]).getAttribute(e5)===r4&&o4.setAttribute(e5,t5);i4.setAttribute(e5,t5)}),o3}fontMetrics(t4){let e4=R2(o2.prototype.getStyle.call(t4,"font-size")||0),i3=e4<24?e4+3:Math.round(1.2*e4),s3=Math.round(.8*i3);return{h:i3,b:s3,f:e4}}rotCorr(t4,e4,i3){let s3=t4;return e4&&i3&&(s3=Math.max(s3*Math.cos(e4*u2),4)),{x:-t4/3*Math.sin(e4*u2),y:s3}}pathToSegments(t4){let e4=[],i3=[],s3={A:8,C:7,H:2,L:3,M:3,Q:5,S:5,T:3,V:2};for(let r3=0;r3<t4.length;r3++)I2(i3[0])&&D2(t4[r3])&&i3.length===s3[i3[0].toUpperCase()]&&t4.splice(r3,0,i3[0].replace("M","L").replace("m","l")),"string"==typeof t4[r3]&&(i3.length&&e4.push(i3.slice(0)),i3.length=0),i3.push(t4[r3]);return e4.push(i3.slice(0)),e4}label(t4,e4,i3,s3,r3,o3,a3,h3,l3){return new n2(this,t4,e4,i3,s3,r3,o3,a3,h3,l3)}alignElements(){this.alignedObjects.forEach((t4=>t4.align()))}}return L2(W2.prototype,{Element:o2,SVG_NS:b2,escapes:{"&":"&amp;","<":"&lt;",">":"&gt;","'":"&#39;",'"':"&quot;"},symbols:a2,draw:y2}),r2.registerRendererType("svg",W2,true),W2})),i(e2,"Core/Renderer/HTML/HTMLElement.js",[e2["Core/Renderer/HTML/AST.js"],e2["Core/Globals.js"],e2["Core/Renderer/SVG/SVGElement.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2,s2){let{composed:r2}=e3,{attr:o2,css:n2,createElement:a2,defined:h2,extend:l2,pInt:d2,pushUnique:c2}=s2;function p2(t4,e4,s3){var _a;let r3=((_a=this.div)==null?void 0:_a.style)||s3.style;i2.prototype[`${e4}Setter`].call(this,t4,e4,s3),r3&&(r3[e4]=t4)}let u2=(t4,e4)=>{var _a;if(!t4.div){let s3=o2(t4.element,"class"),r3=t4.css,n3=a2("div",s3?{className:s3}:void 0,{position:"absolute",left:`${t4.translateX||0}px`,top:`${t4.translateY||0}px`,...t4.styles,display:t4.display,opacity:t4.opacity,visibility:t4.visibility},((_a=t4.parentGroup)==null?void 0:_a.div)||e4);t4.classSetter=(t5,e5,i3)=>{i3.setAttribute("class",t5),n3.className=t5},t4.translateXSetter=t4.translateYSetter=(e5,i3)=>{t4[i3]=e5,n3.style["translateX"===i3?"left":"top"]=`${e5}px`,t4.doTransform=true},t4.opacitySetter=t4.visibilitySetter=p2,t4.css=e5=>(r3.call(t4,e5),e5.cursor&&(n3.style.cursor=e5.cursor),e5.pointerEvents&&(n3.style.pointerEvents=e5.pointerEvents),t4),t4.on=function(){return i2.prototype.on.apply({element:n3,onEvents:t4.onEvents},arguments),t4},t4.div=n3}return t4.div};class g2 extends i2{static compose(t4){c2(r2,this.compose)&&(t4.prototype.html=function(t5,e4,i3){return new g2(this,"span").attr({text:t5,x:Math.round(e4),y:Math.round(i3)})})}constructor(t4,e4){super(t4,e4),this.css({position:"absolute",...t4.styledMode?{}:{fontFamily:t4.style.fontFamily,fontSize:t4.style.fontSize}}),this.element.style.whiteSpace="nowrap"}getSpanCorrection(t4,e4,i3){this.xCorr=-t4*i3,this.yCorr=-e4}css(t4){let e4;let{element:i3}=this,s3="SPAN"===i3.tagName&&t4&&"width"in t4,r3=s3&&t4.width;return s3&&(delete t4.width,this.textWidth=d2(r3)||void 0,e4=true),(t4==null?void 0:t4.textOverflow)==="ellipsis"&&(t4.whiteSpace="nowrap",t4.overflow="hidden"),l2(this.styles,t4),n2(i3,t4),e4&&this.updateTransform(),this}htmlGetBBox(){let{element:t4}=this;return{x:t4.offsetLeft,y:t4.offsetTop,width:t4.offsetWidth,height:t4.offsetHeight}}updateTransform(){var _a;if(!this.added){this.alignOnAdd=true;return}let{element:t4,renderer:e4,rotation:i3,rotationOriginX:s3,rotationOriginY:r3,styles:o3,textAlign:a3="left",textWidth:l3,translateX:d3=0,translateY:c3=0,x:p3=0,y:u3=0}=this,g3={left:0,center:.5,right:1}[a3],f3=o3.whiteSpace;if(n2(t4,{marginLeft:`${d3}px`,marginTop:`${c3}px`}),"SPAN"===t4.tagName){let o4=[i3,a3,t4.innerHTML,l3,this.textAlign].join(","),d4=-(((_a=this.parentGroup)==null?void 0:_a.padding)*1)||0,c4,m2=false;if(l3!==this.oldTextWidth){let e5=this.textPxLength?this.textPxLength:(n2(t4,{width:"",whiteSpace:f3||"nowrap"}),t4.offsetWidth),s4=l3||0;(s4>this.oldTextWidth||e5>s4)&&(/[ \-]/.test(t4.textContent||t4.innerText)||"ellipsis"===t4.style.textOverflow)&&(n2(t4,{width:e5>s4||i3?l3+"px":"auto",display:"block",whiteSpace:f3||"normal"}),this.oldTextWidth=l3,m2=true)}this.hasBoxWidthChanged=m2,o4!==this.cTT&&(c4=e4.fontMetrics(t4).b,h2(i3)&&(i3!==(this.oldRotation||0)||a3!==this.oldAlign)&&this.setSpanRotation(i3,d4,d4),this.getSpanCorrection(!h2(i3)&&this.textPxLength||t4.offsetWidth,c4,g3));let{xCorr:x2=0,yCorr:y2=0}=this,b2=(s3??p3)-x2-p3-d4,v2=(r3??u3)-y2-u3-d4;n2(t4,{left:`${p3+x2}px`,top:`${u3+y2}px`,transformOrigin:`${b2}px ${v2}px`}),this.cTT=o4,this.oldRotation=i3,this.oldAlign=a3}}setSpanRotation(t4,e4,i3){n2(this.element,{transform:`rotate(${t4}deg)`,transformOrigin:`${e4}% ${i3}px`})}add(t4){let e4;let i3=this.renderer.box.parentNode,s3=[];if(this.parentGroup=t4,t4&&!(e4=t4.div)){let r3=t4;for(;r3;)s3.push(r3),r3=r3.parentGroup;for(let t5 of s3.reverse())e4=u2(t5,i3)}return(e4||i3).appendChild(this.element),this.added=true,this.alignOnAdd&&this.updateTransform(),this}textSetter(e4){e4!==this.textStr&&(delete this.bBox,delete this.oldTextWidth,t3.setElementHTML(this.element,e4??""),this.textStr=e4,this.doTransform=true)}alignSetter(t4){this.alignValue=this.textAlign=t4,this.doTransform=true}xSetter(t4,e4){this[e4]=t4,this.doTransform=true}}let f2=g2.prototype;return f2.visibilitySetter=f2.opacitySetter=p2,f2.ySetter=f2.rotationSetter=f2.rotationOriginXSetter=f2.rotationOriginYSetter=f2.xSetter,g2})),i(e2,"Core/Axis/AxisDefaults.js",[],(function(){var t3,e3;return(e3=t3||(t3={})).xAxis={alignTicks:true,allowDecimals:void 0,panningEnabled:true,zIndex:2,zoomEnabled:true,dateTimeLabelFormats:{millisecond:{main:"%H:%M:%S.%L",range:false},second:{main:"%H:%M:%S",range:false},minute:{main:"%H:%M",range:false},hour:{main:"%H:%M",range:false},day:{main:"%e %b"},week:{main:"%e %b"},month:{main:"%b '%y"},year:{main:"%Y"}},endOnTick:false,gridLineDashStyle:"Solid",gridZIndex:1,labels:{autoRotationLimit:80,distance:15,enabled:true,indentation:10,overflow:"justify",reserveSpace:void 0,rotation:void 0,staggerLines:0,step:0,useHTML:false,zIndex:7,style:{color:"#333333",cursor:"default",fontSize:"0.8em"}},maxPadding:.01,minorGridLineDashStyle:"Solid",minorTickLength:2,minorTickPosition:"outside",minorTicksPerMajor:5,minPadding:.01,offset:void 0,reversed:void 0,reversedStacks:false,showEmpty:true,showFirstLabel:true,showLastLabel:true,startOfWeek:1,startOnTick:false,tickLength:10,tickPixelInterval:100,tickmarkPlacement:"between",tickPosition:"outside",title:{align:"middle",useHTML:false,x:0,y:0,style:{color:"#666666",fontSize:"0.8em"}},visible:true,minorGridLineColor:"#f2f2f2",minorGridLineWidth:1,minorTickColor:"#999999",lineColor:"#333333",lineWidth:1,gridLineColor:"#e6e6e6",gridLineWidth:void 0,tickColor:"#333333"},e3.yAxis={reversedStacks:true,endOnTick:true,maxPadding:.05,minPadding:.05,tickPixelInterval:72,showLastLabel:true,labels:{x:void 0},startOnTick:true,title:{text:"Values"},stackLabels:{animation:{},allowOverlap:false,enabled:false,crop:true,overflow:"justify",formatter:function(){let{numberFormatter:t4}=this.axis.chart;return t4(this.total||0,-1)},style:{color:"#000000",fontSize:"0.7em",fontWeight:"bold",textOutline:"1px contrast"}},gridLineWidth:1,lineWidth:0},t3})),i(e2,"Core/Foundation.js",[e2["Core/Utilities.js"]],(function(t3){var e3;let{addEvent:i2,isFunction:s2,objectEach:r2,removeEvent:o2}=t3;return(e3||(e3={})).registerEventOptions=function(t4,e4){t4.eventOptions=t4.eventOptions||{},r2(e4.events,(function(e5,r3){t4.eventOptions[r3]!==e5&&(t4.eventOptions[r3]&&(o2(t4,r3,t4.eventOptions[r3]),delete t4.eventOptions[r3]),s2(e5)&&(t4.eventOptions[r3]=e5,i2(t4,r3,e5,{order:0})))}))},e3})),i(e2,"Core/Axis/Tick.js",[e2["Core/Templating.js"],e2["Core/Globals.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2){let{deg2rad:s2}=e3,{clamp:r2,correctFloat:o2,defined:n2,destroyObjectProperties:a2,extend:h2,fireEvent:l2,isNumber:d2,merge:c2,objectEach:p2,pick:u2}=i2;return class{constructor(t4,e4,i3,s3,r3){this.isNew=true,this.isNewLabel=true,this.axis=t4,this.pos=e4,this.type=i3||"",this.parameters=r3||{},this.tickmarkOffset=this.parameters.tickmarkOffset,this.options=this.parameters.options,l2(this,"init"),i3||s3||this.addLabel()}addLabel(){let e4=this,i3=e4.axis,s3=i3.options,r3=i3.chart,a3=i3.categories,c3=i3.logarithmic,p3=i3.names,g2=e4.pos,f2=u2(e4.options&&e4.options.labels,s3.labels),m2=i3.tickPositions,x2=g2===m2[0],y2=g2===m2[m2.length-1],b2=(!f2.step||1===f2.step)&&1===i3.tickInterval,v2=m2.info,S2=e4.label,C2,k2,M2,w2=this.parameters.category||(a3?u2(a3[g2],p3[g2],g2):g2);c3&&d2(w2)&&(w2=o2(c3.lin2log(w2))),i3.dateTime&&(v2?C2=(k2=r3.time.resolveDTLFormat(s3.dateTimeLabelFormats[!s3.grid&&v2.higherRanks[g2]||v2.unitName])).main:d2(w2)&&(C2=i3.dateTime.getXDateFormat(w2,s3.dateTimeLabelFormats||{}))),e4.isFirst=x2,e4.isLast=y2;let T2={axis:i3,chart:r3,dateTimeLabelFormat:C2,isFirst:x2,isLast:y2,pos:g2,tick:e4,tickPositionInfo:v2,value:w2};l2(this,"labelFormat",T2);let A2=e5=>f2.formatter?f2.formatter.call(e5,e5):f2.format?(e5.text=i3.defaultLabelFormatter.call(e5),t3.format(f2.format,e5,r3)):i3.defaultLabelFormatter.call(e5),P2=A2.call(T2,T2),L2=k2&&k2.list;L2?e4.shortenLabel=function(){for(M2=0;M2<L2.length;M2++)if(h2(T2,{dateTimeLabelFormat:L2[M2]}),S2.attr({text:A2.call(T2,T2)}),S2.getBBox().width<i3.getSlotWidth(e4)-2*(f2.padding||0))return;S2.attr({text:""})}:e4.shortenLabel=void 0,b2&&i3._addedPlotLB&&e4.moveLabel(P2,f2),n2(S2)||e4.movedLabel?S2&&S2.textStr!==P2&&!b2&&(!S2.textWidth||f2.style.width||S2.styles.width||S2.css({width:null}),S2.attr({text:P2}),S2.textPxLength=S2.getBBox().width):(e4.label=S2=e4.createLabel(P2,f2),e4.rotation=0)}createLabel(t4,e4,i3){let s3=this.axis,r3=s3.chart,o3=n2(t4)&&e4.enabled?r3.renderer.text(t4,i3==null?void 0:i3.x,i3==null?void 0:i3.y,e4.useHTML).add(s3.labelGroup):void 0;return o3&&(r3.styledMode||o3.css(c2(e4.style)),o3.textPxLength=o3.getBBox().width),o3}destroy(){a2(this,this.axis)}getPosition(t4,e4,i3,s3){let n3=this.axis,a3=n3.chart,h3=s3&&a3.oldChartHeight||a3.chartHeight,d3={x:t4?o2(n3.translate(e4+i3,void 0,void 0,s3)+n3.transB):n3.left+n3.offset+(n3.opposite?(s3&&a3.oldChartWidth||a3.chartWidth)-n3.right-n3.left:0),y:t4?h3-n3.bottom+n3.offset-(n3.opposite?n3.height:0):o2(h3-n3.translate(e4+i3,void 0,void 0,s3)-n3.transB)};return d3.y=r2(d3.y,-1e9,1e9),l2(this,"afterGetPosition",{pos:d3}),d3}getLabelPosition(t4,e4,i3,r3,o3,a3,h3,d3){let c3,p3;let g2=this.axis,f2=g2.transA,m2=g2.isLinked&&g2.linkedParent?g2.linkedParent.reversed:g2.reversed,x2=g2.staggerLines,y2=g2.tickRotCorr||{x:0,y:0},b2=r3||g2.reserveSpaceDefault?0:-g2.labelOffset*("center"===g2.labelAlign?.5:1),v2=o3.distance,S2={};return c3=0===g2.side?i3.rotation?-v2:-i3.getBBox().height:2===g2.side?y2.y+v2:Math.cos(i3.rotation*s2)*(y2.y-i3.getBBox(false,0).height/2),n2(o3.y)&&(c3=0===g2.side&&g2.horiz?o3.y+c3:o3.y),t4=t4+u2(o3.x,[0,1,0,-1][g2.side]*v2)+b2+y2.x-(a3&&r3?a3*f2*(m2?-1:1):0),e4=e4+c3-(a3&&!r3?a3*f2*(m2?1:-1):0),x2&&(p3=h3/(d3||1)%x2,g2.opposite&&(p3=x2-p3-1),e4+=p3*(g2.labelOffset/x2)),S2.x=t4,S2.y=Math.round(e4),l2(this,"afterGetLabelPosition",{pos:S2,tickmarkOffset:a3,index:h3}),S2}getLabelSize(){return this.label?this.label.getBBox()[this.axis.horiz?"height":"width"]:0}getMarkPath(t4,e4,i3,s3,r3=false,o3){return o3.crispLine([["M",t4,e4],["L",t4+(r3?0:-i3),e4+(r3?i3:0)]],s3)}handleOverflow(t4){let e4=this.axis,i3=e4.options.labels,r3=t4.x,o3=e4.chart.chartWidth,n3=e4.chart.spacing,a3=u2(e4.labelLeft,Math.min(e4.pos,n3[3])),h3=u2(e4.labelRight,Math.max(e4.isRadial?0:e4.pos+e4.len,o3-n3[1])),l3=this.label,d3=this.rotation,c3={left:0,center:.5,right:1}[e4.labelAlign||l3.attr("align")],p3=l3.getBBox().width,g2=e4.getSlotWidth(this),f2={},m2=g2,x2=1,y2,b2,v2;d3||"justify"!==i3.overflow?d3<0&&r3-c3*p3<a3?v2=Math.round(r3/Math.cos(d3*s2)-a3):d3>0&&r3+c3*p3>h3&&(v2=Math.round((o3-r3)/Math.cos(d3*s2))):(y2=r3-c3*p3,b2=r3+(1-c3)*p3,y2<a3?m2=t4.x+m2*(1-c3)-a3:b2>h3&&(m2=h3-t4.x+m2*c3,x2=-1),(m2=Math.min(g2,m2))<g2&&"center"===e4.labelAlign&&(t4.x+=x2*(g2-m2-c3*(g2-Math.min(p3,m2)))),(p3>m2||e4.autoRotation&&(l3.styles||{}).width)&&(v2=m2)),v2&&(this.shortenLabel?this.shortenLabel():(f2.width=Math.floor(v2)+"px",(i3.style||{}).textOverflow||(f2.textOverflow="ellipsis"),l3.css(f2)))}moveLabel(t4,e4){let i3=this,s3=i3.label,r3=i3.axis,o3=false,n3;s3&&s3.textStr===t4?(i3.movedLabel=s3,o3=true,delete i3.label):p2(r3.ticks,(function(e5){o3||e5.isNew||e5===i3||!e5.label||e5.label.textStr!==t4||(i3.movedLabel=e5.label,o3=true,e5.labelPos=i3.movedLabel.xy,delete e5.label)})),!o3&&(i3.labelPos||s3)&&(n3=i3.labelPos||s3.xy,i3.movedLabel=i3.createLabel(t4,e4,n3),i3.movedLabel&&i3.movedLabel.attr({opacity:0}))}render(t4,e4,i3){let s3=this.axis,r3=s3.horiz,n3=this.pos,a3=u2(this.tickmarkOffset,s3.tickmarkOffset),h3=this.getPosition(r3,n3,a3,e4),d3=h3.x,c3=h3.y,p3=s3.pos,g2=p3+s3.len,f2=r3?d3:c3;!s3.chart.polar&&this.isNew&&(o2(f2)<p3||f2>g2)&&(i3=0);let m2=u2(i3,this.label&&this.label.newOpacity,1);i3=u2(i3,1),this.isActive=true,this.renderGridLine(e4,i3),this.renderMark(h3,i3),this.renderLabel(h3,e4,m2,t4),this.isNew=false,l2(this,"afterRender")}renderGridLine(t4,e4){let i3=this.axis,s3=i3.options,r3={},o3=this.pos,n3=this.type,a3=u2(this.tickmarkOffset,i3.tickmarkOffset),h3=i3.chart.renderer,l3=this.gridLine,d3,c3=s3.gridLineWidth,p3=s3.gridLineColor,g2=s3.gridLineDashStyle;"minor"===this.type&&(c3=s3.minorGridLineWidth,p3=s3.minorGridLineColor,g2=s3.minorGridLineDashStyle),l3||(i3.chart.styledMode||(r3.stroke=p3,r3["stroke-width"]=c3||0,r3.dashstyle=g2),n3||(r3.zIndex=1),t4&&(e4=0),this.gridLine=l3=h3.path().attr(r3).addClass("highcharts-"+(n3?n3+"-":"")+"grid-line").add(i3.gridGroup)),l3&&(d3=i3.getPlotLinePath({value:o3+a3,lineWidth:l3.strokeWidth(),force:"pass",old:t4,acrossPanes:false}))&&l3[t4||this.isNew?"attr":"animate"]({d:d3,opacity:e4})}renderMark(t4,e4){let i3=this.axis,s3=i3.options,r3=i3.chart.renderer,o3=this.type,n3=i3.tickSize(o3?o3+"Tick":"tick"),a3=t4.x,h3=t4.y,l3=u2(s3["minor"!==o3?"tickWidth":"minorTickWidth"],!o3&&i3.isXAxis?1:0),d3=s3["minor"!==o3?"tickColor":"minorTickColor"],c3=this.mark,p3=!c3;n3&&(i3.opposite&&(n3[0]=-n3[0]),c3||(this.mark=c3=r3.path().addClass("highcharts-"+(o3?o3+"-":"")+"tick").add(i3.axisGroup),i3.chart.styledMode||c3.attr({stroke:d3,"stroke-width":l3})),c3[p3?"attr":"animate"]({d:this.getMarkPath(a3,h3,n3[0],c3.strokeWidth(),i3.horiz,r3),opacity:e4}))}renderLabel(t4,e4,i3,s3){let r3=this.axis,o3=r3.horiz,n3=r3.options,a3=this.label,h3=n3.labels,l3=h3.step,c3=u2(this.tickmarkOffset,r3.tickmarkOffset),p3=t4.x,g2=t4.y,f2=true;a3&&d2(p3)&&(a3.xy=t4=this.getLabelPosition(p3,g2,a3,o3,h3,c3,s3,l3),(!this.isFirst||this.isLast||n3.showFirstLabel)&&(!this.isLast||this.isFirst||n3.showLastLabel)?!o3||h3.step||h3.rotation||e4||0===i3||this.handleOverflow(t4):f2=false,l3&&s3%l3&&(f2=false),f2&&d2(t4.y)?(t4.opacity=i3,a3[this.isNewLabel?"attr":"animate"](t4).show(true),this.isNewLabel=false):(a3.hide(),this.isNewLabel=true))}replaceMovedLabel(){let t4=this.label,e4=this.axis;t4&&!this.isNew&&(t4.animate({opacity:0},void 0,t4.destroy),delete this.label),e4.isDirty=true,this.label=this.movedLabel,delete this.movedLabel}}})),i(e2,"Core/Axis/Axis.js",[e2["Core/Animation/AnimationUtilities.js"],e2["Core/Axis/AxisDefaults.js"],e2["Core/Color/Color.js"],e2["Core/Defaults.js"],e2["Core/Foundation.js"],e2["Core/Globals.js"],e2["Core/Axis/Tick.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2,s2,r2,o2,n2,a2){let{animObject:h2}=t3,{xAxis:l2,yAxis:d2}=e3,{defaultOptions:c2}=s2,{registerEventOptions:p2}=r2,{deg2rad:u2}=o2,{arrayMax:g2,arrayMin:f2,clamp:m2,correctFloat:x2,defined:y2,destroyObjectProperties:b2,erase:v2,error:S2,extend:C2,fireEvent:k2,getClosestDistance:M2,insertItem:w2,isArray:T2,isNumber:A2,isString:P2,merge:L2,normalizeTickInterval:O2,objectEach:D2,pick:E2,relativeLength:I2,removeEvent:j,splat:B2,syncTimeout:R2}=a2,z2=(t4,e4)=>O2(e4,void 0,void 0,E2(t4.options.allowDecimals,e4<.5||void 0!==t4.tickAmount),!!t4.tickAmount);C2(c2,{xAxis:l2,yAxis:L2(l2,d2)});class N2{constructor(t4,e4,i3){this.init(t4,e4,i3)}init(t4,e4,i3=this.coll){let s3="xAxis"===i3,r3=this.isZAxis||(t4.inverted?!s3:s3);this.chart=t4,this.horiz=r3,this.isXAxis=s3,this.coll=i3,k2(this,"init",{userOptions:e4}),this.opposite=E2(e4.opposite,this.opposite),this.side=E2(e4.side,this.side,r3?this.opposite?0:2:this.opposite?1:3),this.setOptions(e4);let o3=this.options,n3=o3.labels;this.type??(this.type=o3.type||"linear"),this.uniqueNames??(this.uniqueNames=o3.uniqueNames??true),k2(this,"afterSetType"),this.userOptions=e4,this.minPixelPadding=0,this.reversed=E2(o3.reversed,this.reversed),this.visible=o3.visible,this.zoomEnabled=o3.zoomEnabled,this.hasNames="category"===this.type||true===o3.categories,this.categories=T2(o3.categories)&&o3.categories||(this.hasNames?[]:void 0),this.names||(this.names=[],this.names.keys={}),this.plotLinesAndBandsGroups={},this.positiveValuesOnly=!!this.logarithmic,this.isLinked=y2(o3.linkedTo),this.ticks={},this.labelEdge=[],this.minorTicks={},this.plotLinesAndBands=[],this.alternateBands={},this.len??(this.len=0),this.minRange=this.userMinRange=o3.minRange||o3.maxZoom,this.range=o3.range,this.offset=o3.offset||0,this.max=void 0,this.min=void 0;let a3=E2(o3.crosshair,B2(t4.options.tooltip.crosshairs)[s3?0:1]);this.crosshair=true===a3?{}:a3,-1===t4.axes.indexOf(this)&&(s3?t4.axes.splice(t4.xAxis.length,0,this):t4.axes.push(this),w2(this,t4[this.coll])),t4.orderItems(this.coll),this.series=this.series||[],t4.inverted&&!this.isZAxis&&s3&&!y2(this.reversed)&&(this.reversed=true),this.labelRotation=A2(n3.rotation)?n3.rotation:void 0,p2(this,o3),k2(this,"afterInit")}setOptions(t4){let e4=this.horiz?{labels:{autoRotation:[-45],padding:4},margin:15}:{labels:{padding:1},title:{rotation:90*this.side}};this.options=L2(e4,c2[this.coll],t4),k2(this,"afterSetOptions",{userOptions:t4})}defaultLabelFormatter(){let t4=this.axis,{numberFormatter:e4}=this.chart,i3=A2(this.value)?this.value:NaN,s3=t4.chart.time,r3=t4.categories,o3=this.dateTimeLabelFormat,n3=c2.lang,a3=n3.numericSymbols,h3=n3.numericSymbolMagnitude||1e3,l3=t4.logarithmic?Math.abs(i3):t4.tickInterval,d3=a3&&a3.length,p3,u3;if(r3)u3=`${this.value}`;else if(o3)u3=s3.dateFormat(o3,i3);else if(d3&&a3&&l3>=1e3)for(;d3--&&void 0===u3;)l3>=(p3=Math.pow(h3,d3+1))&&10*i3%p3==0&&null!==a3[d3]&&0!==i3&&(u3=e4(i3/p3,-1)+a3[d3]);return void 0===u3&&(u3=Math.abs(i3)>=1e4?e4(i3,-1):e4(i3,-1,void 0,"")),u3}getSeriesExtremes(){let t4;let e4=this;k2(this,"getSeriesExtremes",null,(function(){e4.hasVisibleSeries=false,e4.dataMin=e4.dataMax=e4.threshold=void 0,e4.softThreshold=!e4.isXAxis,e4.series.forEach((i3=>{if(i3.reserveSpace()){let s3=i3.options,r3,o3=s3.threshold,n3,a3;if(e4.hasVisibleSeries=true,e4.positiveValuesOnly&&0>=(o3||0)&&(o3=void 0),e4.isXAxis)(r3=i3.xData)&&r3.length&&(r3=e4.logarithmic?r3.filter((t5=>t5>0)):r3,n3=(t4=i3.getXExtremes(r3)).min,a3=t4.max,A2(n3)||n3 instanceof Date||(r3=r3.filter(A2),n3=(t4=i3.getXExtremes(r3)).min,a3=t4.max),r3.length&&(e4.dataMin=Math.min(E2(e4.dataMin,n3),n3),e4.dataMax=Math.max(E2(e4.dataMax,a3),a3)));else{let t5=i3.applyExtremes();A2(t5.dataMin)&&(n3=t5.dataMin,e4.dataMin=Math.min(E2(e4.dataMin,n3),n3)),A2(t5.dataMax)&&(a3=t5.dataMax,e4.dataMax=Math.max(E2(e4.dataMax,a3),a3)),y2(o3)&&(e4.threshold=o3),(!s3.softThreshold||e4.positiveValuesOnly)&&(e4.softThreshold=false)}}}))})),k2(this,"afterGetSeriesExtremes")}translate(t4,e4,i3,s3,r3,o3){var _a;let n3=this.linkedParent||this,a3=s3&&n3.old?n3.old.min:n3.min;if(!A2(a3))return NaN;let h3=n3.minPixelPadding,l3=(n3.isOrdinal||((_a=n3.brokenAxis)==null?void 0:_a.hasBreaks)||n3.logarithmic&&r3)&&n3.lin2val,d3=1,c3=0,p3=s3&&n3.old?n3.old.transA:n3.transA,u3=0;return p3||(p3=n3.transA),i3&&(d3*=-1,c3=n3.len),n3.reversed&&(d3*=-1,c3-=d3*(n3.sector||n3.len)),e4?(u3=(t4=t4*d3+c3-h3)/p3+a3,l3&&(u3=n3.lin2val(u3))):(l3&&(t4=n3.val2lin(t4)),u3=d3*(t4-a3)*p3+c3+d3*h3+(A2(o3)?p3*o3:0),n3.isRadial||(u3=x2(u3))),u3}toPixels(t4,e4){return this.translate(t4,false,!this.horiz,void 0,true)+(e4?0:this.pos)}toValue(t4,e4){return this.translate(t4-(e4?0:this.pos),true,!this.horiz,void 0,true)}getPlotLinePath(t4){let e4=this,i3=e4.chart,s3=e4.left,r3=e4.top,o3=t4.old,n3=t4.value,a3=t4.lineWidth,h3=o3&&i3.oldChartHeight||i3.chartHeight,l3=o3&&i3.oldChartWidth||i3.chartWidth,d3=e4.transB,c3=t4.translatedValue,p3=t4.force,u3,g3,f3,x3,y3;function b3(t5,e5,i4){return"pass"!==p3&&(t5<e5||t5>i4)&&(p3?t5=m2(t5,e5,i4):y3=true),t5}let v3={value:n3,lineWidth:a3,old:o3,force:p3,acrossPanes:t4.acrossPanes,translatedValue:c3};return k2(this,"getPlotLinePath",v3,(function(t5){u3=f3=(c3=m2(c3=E2(c3,e4.translate(n3,void 0,void 0,o3)),-1e9,1e9))+d3,g3=x3=h3-c3-d3,A2(c3)?e4.horiz?(g3=r3,x3=h3-e4.bottom+(e4.options.isInternal?0:i3.scrollablePixelsY||0),u3=f3=b3(u3,s3,s3+e4.width)):(u3=s3,f3=l3-e4.right+(i3.scrollablePixelsX||0),g3=x3=b3(g3,r3,r3+e4.height)):(y3=true,p3=false),t5.path=y3&&!p3?void 0:i3.renderer.crispLine([["M",u3,g3],["L",f3,x3]],a3||1)})),v3.path}getLinearTickPositions(t4,e4,i3){let s3,r3,o3;let n3=x2(Math.floor(e4/t4)*t4),a3=x2(Math.ceil(i3/t4)*t4),h3=[];if(x2(n3+t4)===n3&&(o3=20),this.single)return[e4];for(s3=n3;s3<=a3&&(h3.push(s3),(s3=x2(s3+t4,o3))!==r3);)r3=s3;return h3}getMinorTickInterval(){let{minorTicks:t4,minorTickInterval:e4}=this.options;return true===t4?E2(e4,"auto"):false!==t4?e4:void 0}getMinorTickPositions(){let t4=this.options,e4=this.tickPositions,i3=this.minorTickInterval,s3=this.pointRangePadding||0,r3=(this.min||0)-s3,o3=(this.max||0)+s3,n3=o3-r3,a3=[],h3;if(n3&&n3/i3<this.len/3){let s4=this.logarithmic;if(s4)this.paddedTicks.forEach((function(t5,e5,r4){e5&&a3.push.apply(a3,s4.getLogTickPositions(i3,r4[e5-1],r4[e5],true))}));else if(this.dateTime&&"auto"===this.getMinorTickInterval())a3=a3.concat(this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(i3),r3,o3,t4.startOfWeek));else for(h3=r3+(e4[0]-r3)%i3;h3<=o3&&h3!==a3[0];h3+=i3)a3.push(h3)}return 0!==a3.length&&this.trimTicks(a3),a3}adjustForMinRange(){let t4=this.options,e4=this.logarithmic,{max:i3,min:s3,minRange:r3}=this,o3,n3,a3,h3;this.isXAxis&&void 0===r3&&!e4&&(r3=y2(t4.min)||y2(t4.max)||y2(t4.floor)||y2(t4.ceiling)?null:Math.min(5*(M2(this.series.map((t5=>{var _a;return(t5.xIncrement?(_a=t5.xData)==null?void 0:_a.slice(0,2):t5.xData)||[]})))||0),this.dataMax-this.dataMin)),A2(i3)&&A2(s3)&&A2(r3)&&i3-s3<r3&&(n3=this.dataMax-this.dataMin>=r3,o3=(r3-i3+s3)/2,a3=[s3-o3,E2(t4.min,s3-o3)],n3&&(a3[2]=e4?e4.log2lin(this.dataMin):this.dataMin),h3=[(s3=g2(a3))+r3,E2(t4.max,s3+r3)],n3&&(h3[2]=e4?e4.log2lin(this.dataMax):this.dataMax),(i3=f2(h3))-s3<r3&&(a3[0]=i3-r3,a3[1]=E2(t4.min,i3-r3),s3=g2(a3))),this.minRange=r3,this.min=s3,this.max=i3}getClosest(){let t4,e4;if(this.categories)e4=1;else{let i3=[];this.series.forEach((function(t5){var _a;let s3=t5.closestPointRange;((_a=t5.xData)==null?void 0:_a.length)===1?i3.push(t5.xData[0]):!t5.noSharedTooltip&&y2(s3)&&t5.reserveSpace()&&(e4=y2(e4)?Math.min(e4,s3):s3)})),i3.length&&(i3.sort(((t5,e5)=>t5-e5)),t4=M2([i3]))}return t4&&e4?Math.min(t4,e4):t4||e4}nameToX(t4){let e4=T2(this.options.categories),i3=e4?this.categories:this.names,s3=t4.options.x,r3;return t4.series.requireSorting=false,y2(s3)||(s3=this.uniqueNames&&i3?e4?i3.indexOf(t4.name):E2(i3.keys[t4.name],-1):t4.series.autoIncrement()),-1===s3?!e4&&i3&&(r3=i3.length):r3=s3,void 0!==r3?(this.names[r3]=t4.name,this.names.keys[t4.name]=r3):t4.x&&(r3=t4.x),r3}updateNames(){let t4=this,e4=this.names;e4.length>0&&(Object.keys(e4.keys).forEach((function(t5){delete e4.keys[t5]})),e4.length=0,this.minRange=this.userMinRange,(this.series||[]).forEach((e5=>{e5.xIncrement=null,(!e5.points||e5.isDirtyData)&&(t4.max=Math.max(t4.max,e5.xData.length-1),e5.processData(),e5.generatePoints()),e5.data.forEach((function(i3,s3){let r3;(i3==null?void 0:i3.options)&&void 0!==i3.name&&void 0!==(r3=t4.nameToX(i3))&&r3!==i3.x&&(i3.x=r3,e5.xData[s3]=r3)}))})))}setAxisTranslation(){let t4=this,e4=t4.max-t4.min,i3=t4.linkedParent,s3=!!t4.categories,r3=t4.isXAxis,o3=t4.axisPointRange||0,n3,a3=0,h3=0,l3,d3=t4.transA;(r3||s3||o3)&&(n3=t4.getClosest(),i3?(a3=i3.minPointOffset,h3=i3.pointRangePadding):t4.series.forEach((function(e5){let i4=s3?1:r3?E2(e5.options.pointRange,n3,0):t4.axisPointRange||0,l4=e5.options.pointPlacement;if(o3=Math.max(o3,i4),!t4.single||s3){let t5=e5.is("xrange")?!r3:r3;a3=Math.max(a3,t5&&P2(l4)?0:i4/2),h3=Math.max(h3,t5&&"on"===l4?0:i4)}})),l3=t4.ordinal&&t4.ordinal.slope&&n3?t4.ordinal.slope/n3:1,t4.minPointOffset=a3*=l3,t4.pointRangePadding=h3*=l3,t4.pointRange=Math.min(o3,t4.single&&s3?1:e4),r3&&n3&&(t4.closestPointRange=n3)),t4.translationSlope=t4.transA=d3=t4.staticScale||t4.len/(e4+h3||1),t4.transB=t4.horiz?t4.left:t4.bottom,t4.minPixelPadding=d3*a3,k2(this,"afterSetAxisTranslation")}minFromRange(){let{max:t4,min:e4}=this;return A2(t4)&&A2(e4)&&t4-e4||void 0}setTickInterval(t4){var _a,_b,_c,_d;let{categories:e4,chart:i3,dataMax:s3,dataMin:r3,dateTime:o3,isXAxis:n3,logarithmic:a3,options:h3,softThreshold:l3}=this,d3=A2(this.threshold)?this.threshold:void 0,c3=this.minRange||0,{ceiling:p3,floor:u3,linkedTo:g3,softMax:f3,softMin:m3}=h3,b3=A2(g3)&&((_a=i3[this.coll])==null?void 0:_a[g3]),v3=h3.tickPixelInterval,C3=h3.maxPadding,M3=h3.minPadding,w3=0,T3,P3=A2(h3.tickInterval)&&h3.tickInterval>=0?h3.tickInterval:void 0,L3,O3,D3,I3;if(o3||e4||b3||this.getTickAmount(),D3=E2(this.userMin,h3.min),I3=E2(this.userMax,h3.max),b3?(this.linkedParent=b3,T3=b3.getExtremes(),this.min=E2(T3.min,T3.dataMin),this.max=E2(T3.max,T3.dataMax),this.type!==b3.type&&S2(11,true,i3)):(l3&&y2(d3)&&A2(s3)&&A2(r3)&&(r3>=d3?(L3=d3,M3=0):s3<=d3&&(O3=d3,C3=0)),this.min=E2(D3,L3,r3),this.max=E2(I3,O3,s3)),A2(this.max)&&A2(this.min)&&(a3&&(this.positiveValuesOnly&&!t4&&0>=Math.min(this.min,E2(r3,this.min))&&S2(10,true,i3),this.min=x2(a3.log2lin(this.min),16),this.max=x2(a3.log2lin(this.max),16)),this.range&&A2(r3)&&(this.userMin=this.min=D3=Math.max(r3,this.minFromRange()||0),this.userMax=I3=this.max,this.range=void 0)),k2(this,"foundExtremes"),this.adjustForMinRange(),A2(this.min)&&A2(this.max)){if(!A2(this.userMin)&&A2(m3)&&m3<this.min&&(this.min=D3=m3),!A2(this.userMax)&&A2(f3)&&f3>this.max&&(this.max=I3=f3),e4||this.axisPointRange||((_b=this.stacking)==null?void 0:_b.usePercentage)||b3||!(w3=this.max-this.min)||(!y2(D3)&&M3&&(this.min-=w3*M3),y2(I3)||!C3||(this.max+=w3*C3)),!A2(this.userMin)&&A2(u3)&&(this.min=Math.max(this.min,u3)),!A2(this.userMax)&&A2(p3)&&(this.max=Math.min(this.max,p3)),l3&&A2(r3)&&A2(s3)){let t5=d3||0;!y2(D3)&&this.min<t5&&r3>=t5?this.min=h3.minRange?Math.min(t5,this.max-c3):t5:!y2(I3)&&this.max>t5&&s3<=t5&&(this.max=h3.minRange?Math.max(t5,this.min+c3):t5)}!i3.polar&&this.min>this.max&&(y2(h3.min)?this.max=this.min:y2(h3.max)&&(this.min=this.max)),w3=this.max-this.min}if(this.min!==this.max&&A2(this.min)&&A2(this.max)?b3&&!P3&&v3===b3.options.tickPixelInterval?this.tickInterval=P3=b3.tickInterval:this.tickInterval=E2(P3,this.tickAmount?w3/Math.max(this.tickAmount-1,1):void 0,e4?1:w3*v3/Math.max(this.len,v3)):this.tickInterval=1,n3&&!t4){let t5=this.min!==((_c=this.old)==null?void 0:_c.min)||this.max!==((_d=this.old)==null?void 0:_d.max);this.series.forEach((function(e5){var _a2;e5.forceCrop=(_a2=e5.forceCropping)==null?void 0:_a2.call(e5),e5.processData(t5)})),k2(this,"postProcessData",{hasExtremesChanged:t5})}this.setAxisTranslation(),k2(this,"initialAxisTranslation"),this.pointRange&&!P3&&(this.tickInterval=Math.max(this.pointRange,this.tickInterval));let j2=E2(h3.minTickInterval,o3&&!this.series.some((t5=>t5.noSharedTooltip))?this.closestPointRange:0);!P3&&this.tickInterval<j2&&(this.tickInterval=j2),o3||a3||P3||(this.tickInterval=z2(this,this.tickInterval)),this.tickAmount||(this.tickInterval=this.unsquish()),this.setTickPositions()}setTickPositions(){var _a,_b;let t4=this.options,e4=t4.tickPositions,i3=t4.tickPositioner,s3=this.getMinorTickInterval(),r3=!this.isPanning,o3=r3&&t4.startOnTick,n3=r3&&t4.endOnTick,a3=[],h3;if(this.tickmarkOffset=this.categories&&"between"===t4.tickmarkPlacement&&1===this.tickInterval?.5:0,this.single=this.min===this.max&&y2(this.min)&&!this.tickAmount&&(this.min%1==0||false!==t4.allowDecimals),e4)a3=e4.slice();else if(A2(this.min)&&A2(this.max)){if(!((_a=this.ordinal)==null?void 0:_a.positions)&&(this.max-this.min)/this.tickInterval>Math.max(2*this.len,200))a3=[this.min,this.max],S2(19,false,this.chart);else if(this.dateTime)a3=this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(this.tickInterval,t4.units),this.min,this.max,t4.startOfWeek,(_b=this.ordinal)==null?void 0:_b.positions,this.closestPointRange,true);else if(this.logarithmic)a3=this.logarithmic.getLogTickPositions(this.tickInterval,this.min,this.max);else{let t5=this.tickInterval,e5=t5;for(;e5<=2*t5;)if(a3=this.getLinearTickPositions(this.tickInterval,this.min,this.max),this.tickAmount&&a3.length>this.tickAmount)this.tickInterval=z2(this,e5*=1.1);else break}a3.length>this.len&&(a3=[a3[0],a3[a3.length-1]])[0]===a3[1]&&(a3.length=1),i3&&(this.tickPositions=a3,(h3=i3.apply(this,[this.min,this.max]))&&(a3=h3))}this.tickPositions=a3,this.minorTickInterval="auto"===s3&&this.tickInterval?this.tickInterval/t4.minorTicksPerMajor:s3,this.paddedTicks=a3.slice(0),this.trimTicks(a3,o3,n3),!this.isLinked&&A2(this.min)&&A2(this.max)&&(this.single&&a3.length<2&&!this.categories&&!this.series.some((t5=>t5.is("heatmap")&&"between"===t5.options.pointPlacement))&&(this.min-=.5,this.max+=.5),e4||h3||this.adjustTickAmount()),k2(this,"afterSetTickPositions")}trimTicks(t4,e4,i3){let s3=t4[0],r3=t4[t4.length-1],o3=!this.isOrdinal&&this.minPointOffset||0;if(k2(this,"trimTicks"),!this.isLinked){if(e4&&s3!==-1/0)this.min=s3;else for(;this.min-o3>t4[0];)t4.shift();if(i3)this.max=r3;else for(;this.max+o3<t4[t4.length-1];)t4.pop();0===t4.length&&y2(s3)&&!this.options.tickPositions&&t4.push((r3+s3)/2)}}alignToOthers(){let t4;let e4=this,i3=e4.chart,s3=[this],r3=e4.options,o3=i3.options.chart,n3="yAxis"===this.coll&&o3.alignThresholds,a3=[];if(e4.thresholdAlignment=void 0,(false!==o3.alignTicks&&r3.alignTicks||n3)&&false!==r3.startOnTick&&false!==r3.endOnTick&&!e4.logarithmic){let r4=t5=>{let{horiz:e5,options:i4}=t5;return[e5?i4.left:i4.top,i4.width,i4.height,i4.pane].join(",")},o4=r4(this);i3[this.coll].forEach((function(i4){let{series:n4}=i4;n4.length&&n4.some((t5=>t5.visible))&&i4!==e4&&r4(i4)===o4&&(t4=true,s3.push(i4))}))}if(t4&&n3){s3.forEach((t6=>{let i4=t6.getThresholdAlignment(e4);A2(i4)&&a3.push(i4)}));let t5=a3.length>1?a3.reduce(((t6,e5)=>t6+=e5),0)/a3.length:void 0;s3.forEach((e5=>{e5.thresholdAlignment=t5}))}return t4}getThresholdAlignment(t4){if((!A2(this.dataMin)||this!==t4&&this.series.some((t5=>t5.isDirty||t5.isDirtyData)))&&this.getSeriesExtremes(),A2(this.threshold)){let t5=m2((this.threshold-(this.dataMin||0))/((this.dataMax||0)-(this.dataMin||0)),0,1);return this.options.reversed&&(t5=1-t5),t5}}getTickAmount(){let t4=this.options,e4=t4.tickPixelInterval,i3=t4.tickAmount;y2(t4.tickInterval)||i3||!(this.len<e4)||this.isRadial||this.logarithmic||!t4.startOnTick||!t4.endOnTick||(i3=2),!i3&&this.alignToOthers()&&(i3=Math.ceil(this.len/e4)+1),i3<4&&(this.finalTickAmt=i3,i3=5),this.tickAmount=i3}adjustTickAmount(){let t4=this,{finalTickAmt:e4,max:i3,min:s3,options:r3,tickPositions:o3,tickAmount:n3,thresholdAlignment:a3}=t4,h3=o3==null?void 0:o3.length,l3=E2(t4.threshold,t4.softThreshold?0:null),d3,c3,p3=t4.tickInterval,u3,g3=()=>o3.push(x2(o3[o3.length-1]+p3)),f3=()=>o3.unshift(x2(o3[0]-p3));if(A2(a3)&&(u3=a3<.5?Math.ceil(a3*(n3-1)):Math.floor(a3*(n3-1)),r3.reversed&&(u3=n3-1-u3)),t4.hasData()&&A2(s3)&&A2(i3)){let a4=()=>{t4.transA*=(h3-1)/(n3-1),t4.min=r3.startOnTick?o3[0]:Math.min(s3,o3[0]),t4.max=r3.endOnTick?o3[o3.length-1]:Math.max(i3,o3[o3.length-1])};if(A2(u3)&&A2(t4.threshold)){for(;o3[u3]!==l3||o3.length!==n3||o3[0]>s3||o3[o3.length-1]<i3;){for(o3.length=0,o3.push(t4.threshold);o3.length<n3;)void 0===o3[u3]||o3[u3]>t4.threshold?f3():g3();if(p3>8*t4.tickInterval)break;p3*=2}a4()}else if(h3<n3){for(;o3.length<n3;)o3.length%2||s3===l3?g3():f3();a4()}if(y2(e4)){for(c3=d3=o3.length;c3--;)(3===e4&&c3%2==1||e4<=2&&c3>0&&c3<d3-1)&&o3.splice(c3,1);t4.finalTickAmt=void 0}}}setScale(){var _a,_b;let{coll:t4,stacking:e4}=this,i3=false,s3=false;this.series.forEach((t5=>{i3=i3||t5.isDirtyData||t5.isDirty,s3=s3||t5.xAxis&&t5.xAxis.isDirty||false})),this.setAxisSize();let r3=this.len!==(this.old&&this.old.len);r3||i3||s3||this.isLinked||this.forceRedraw||this.userMin!==(this.old&&this.old.userMin)||this.userMax!==(this.old&&this.old.userMax)||this.alignToOthers()?(e4&&"yAxis"===t4&&e4.buildStacks(),this.forceRedraw=false,this.userMinRange||(this.minRange=void 0),this.getSeriesExtremes(),this.setTickInterval(),e4&&"xAxis"===t4&&e4.buildStacks(),this.isDirty||(this.isDirty=r3||this.min!==((_a=this.old)==null?void 0:_a.min)||this.max!==((_b=this.old)==null?void 0:_b.max))):e4&&e4.cleanStacks(),i3&&delete this.allExtremes,k2(this,"afterSetScale")}setExtremes(t4,e4,i3=true,s3,r3){this.series.forEach((t5=>{delete t5.kdTree})),k2(this,"setExtremes",r3=C2(r3,{min:t4,max:e4}),(t5=>{this.userMin=t5.min,this.userMax=t5.max,this.eventArgs=t5,i3&&this.chart.redraw(s3)}))}setAxisSize(){let t4=this.chart,e4=this.options,i3=e4.offsets||[0,0,0,0],s3=this.horiz,r3=this.width=Math.round(I2(E2(e4.width,t4.plotWidth-i3[3]+i3[1]),t4.plotWidth)),o3=this.height=Math.round(I2(E2(e4.height,t4.plotHeight-i3[0]+i3[2]),t4.plotHeight)),n3=this.top=Math.round(I2(E2(e4.top,t4.plotTop+i3[0]),t4.plotHeight,t4.plotTop)),a3=this.left=Math.round(I2(E2(e4.left,t4.plotLeft+i3[3]),t4.plotWidth,t4.plotLeft));this.bottom=t4.chartHeight-o3-n3,this.right=t4.chartWidth-r3-a3,this.len=Math.max(s3?r3:o3,0),this.pos=s3?a3:n3}getExtremes(){let t4=this.logarithmic;return{min:t4?x2(t4.lin2log(this.min)):this.min,max:t4?x2(t4.lin2log(this.max)):this.max,dataMin:this.dataMin,dataMax:this.dataMax,userMin:this.userMin,userMax:this.userMax}}getThreshold(t4){let e4=this.logarithmic,i3=e4?e4.lin2log(this.min):this.min,s3=e4?e4.lin2log(this.max):this.max;return null===t4||t4===-1/0?t4=i3:t4===1/0?t4=s3:i3>t4?t4=i3:s3<t4&&(t4=s3),this.translate(t4,0,1,0,1)}autoLabelAlign(t4){let e4=(E2(t4,0)-90*this.side+720)%360,i3={align:"center"};return k2(this,"autoLabelAlign",i3,(function(t5){e4>15&&e4<165?t5.align="right":e4>195&&e4<345&&(t5.align="left")})),i3.align}tickSize(t4){let e4=this.options,i3=E2(e4["tick"===t4?"tickWidth":"minorTickWidth"],"tick"===t4&&this.isXAxis&&!this.categories?1:0),s3=e4["tick"===t4?"tickLength":"minorTickLength"],r3;i3&&s3&&("inside"===e4[t4+"Position"]&&(s3=-s3),r3=[s3,i3]);let o3={tickSize:r3};return k2(this,"afterTickSize",o3),o3.tickSize}labelMetrics(){let t4=this.chart.renderer,e4=this.ticks,i3=e4[Object.keys(e4)[0]]||{};return this.chart.renderer.fontMetrics(i3.label||i3.movedLabel||t4.box)}unsquish(){let t4=this.options.labels,e4=t4.padding||0,i3=this.horiz,s3=this.tickInterval,r3=this.len/(((this.categories?1:0)+this.max-this.min)/s3),o3=t4.rotation,n3=x2(.8*this.labelMetrics().h),a3=Math.max(this.max-this.min,0),h3=function(t5){let i4=(t5+2*e4)/(r3||1);return(i4=i4>1?Math.ceil(i4):1)*s3>a3&&t5!==1/0&&r3!==1/0&&a3&&(i4=Math.ceil(a3/s3)),x2(i4*s3)},l3=s3,d3,c3=Number.MAX_VALUE,p3;if(i3){if(!t4.staggerLines&&(A2(o3)?p3=[o3]:r3<t4.autoRotationLimit&&(p3=t4.autoRotation)),p3){let t5,e5;for(let i4 of p3)(i4===o3||i4&&i4>=-90&&i4<=90)&&(e5=(t5=h3(Math.abs(n3/Math.sin(u2*i4))))+Math.abs(i4/360))<c3&&(c3=e5,d3=i4,l3=t5)}}else l3=h3(.75*n3);return this.autoRotation=p3,this.labelRotation=E2(d3,A2(o3)?o3:0),t4.step?s3:l3}getSlotWidth(t4){let e4=this.chart,i3=this.horiz,s3=this.options.labels,r3=Math.max(this.tickPositions.length-(this.categories?0:1),1),o3=e4.margin[3];if(t4&&A2(t4.slotWidth))return t4.slotWidth;if(i3&&s3.step<2)return s3.rotation?0:(this.staggerLines||1)*this.len/r3;if(!i3){let t5=s3.style.width;if(void 0!==t5)return parseInt(String(t5),10);if(o3)return o3-e4.spacing[3]}return.33*e4.chartWidth}renderUnsquish(){let t4=this.chart,e4=t4.renderer,i3=this.tickPositions,s3=this.ticks,r3=this.options.labels,o3=r3.style,n3=this.horiz,a3=this.getSlotWidth(),h3=Math.max(1,Math.round(a3-(n3?2*(r3.padding||0):r3.distance||0))),l3={},d3=this.labelMetrics(),c3=o3.textOverflow,p3,u3,g3=0,f3,m3;if(P2(r3.rotation)||(l3.rotation=r3.rotation||0),i3.forEach((function(t5){let e5=s3[t5];e5.movedLabel&&e5.replaceMovedLabel(),e5&&e5.label&&e5.label.textPxLength>g3&&(g3=e5.label.textPxLength)})),this.maxLabelLength=g3,this.autoRotation)g3>h3&&g3>d3.h?l3.rotation=this.labelRotation:this.labelRotation=0;else if(a3&&(p3=h3,!c3))for(u3="clip",m3=i3.length;!n3&&m3--;)(f3=s3[i3[m3]].label)&&("ellipsis"===f3.styles.textOverflow?f3.css({textOverflow:"clip"}):f3.textPxLength>a3&&f3.css({width:a3+"px"}),f3.getBBox().height>this.len/i3.length-(d3.h-d3.f)&&(f3.specificTextOverflow="ellipsis"));l3.rotation&&(p3=g3>.5*t4.chartHeight?.33*t4.chartHeight:g3,c3||(u3="ellipsis")),this.labelAlign=r3.align||this.autoLabelAlign(this.labelRotation),this.labelAlign&&(l3.align=this.labelAlign),i3.forEach((function(t5){let e5=s3[t5],i4=e5&&e5.label,r4=o3.width,n4={};i4&&(i4.attr(l3),e5.shortenLabel?e5.shortenLabel():p3&&!r4&&"nowrap"!==o3.whiteSpace&&(p3<i4.textPxLength||"SPAN"===i4.element.tagName)?(n4.width=p3+"px",c3||(n4.textOverflow=i4.specificTextOverflow||u3),i4.css(n4)):!i4.styles.width||n4.width||r4||i4.css({width:null}),delete i4.specificTextOverflow,e5.rotation=l3.rotation)}),this),this.tickRotCorr=e4.rotCorr(d3.b,this.labelRotation||0,0!==this.side)}hasData(){return this.series.some((function(t4){return t4.hasData()}))||this.options.showEmpty&&y2(this.min)&&y2(this.max)}addTitle(t4){let e4;let i3=this.chart.renderer,s3=this.horiz,r3=this.opposite,o3=this.options.title,n3=this.chart.styledMode;this.axisTitle||((e4=o3.textAlign)||(e4=(s3?{low:"left",middle:"center",high:"right"}:{low:r3?"right":"left",middle:"center",high:r3?"left":"right"})[o3.align]),this.axisTitle=i3.text(o3.text||"",0,0,o3.useHTML).attr({zIndex:7,rotation:o3.rotation||0,align:e4}).addClass("highcharts-axis-title"),n3||this.axisTitle.css(L2(o3.style)),this.axisTitle.add(this.axisGroup),this.axisTitle.isNew=true),n3||o3.style.width||this.isRadial||this.axisTitle.css({width:this.len+"px"}),this.axisTitle[t4?"show":"hide"](t4)}generateTick(t4){let e4=this.ticks;e4[t4]?e4[t4].addLabel():e4[t4]=new n2(this,t4)}createGroups(){let{axisParent:t4,chart:e4,coll:i3,options:s3}=this,r3=e4.renderer,o3=(e5,o4,n3)=>r3.g(e5).attr({zIndex:n3}).addClass(`highcharts-${i3.toLowerCase()}${o4} `+(this.isRadial?`highcharts-radial-axis${o4} `:"")+(s3.className||"")).add(t4);this.axisGroup||(this.gridGroup=o3("grid","-grid",s3.gridZIndex),this.axisGroup=o3("axis","",s3.zIndex),this.labelGroup=o3("axis-labels","-labels",s3.labels.zIndex))}getOffset(){let t4=this,{chart:e4,horiz:i3,options:s3,side:r3,ticks:o3,tickPositions:n3,coll:a3}=t4,h3=e4.inverted&&!t4.isZAxis?[1,0,3,2][r3]:r3,l3=t4.hasData(),d3=s3.title,c3=s3.labels,p3=A2(s3.crossing),u3=e4.axisOffset,g3=e4.clipOffset,f3=[-1,1,1,-1][r3],m3,x3=0,b3,v3=0,S3=0,C3,M3;if(t4.showAxis=m3=l3||s3.showEmpty,t4.staggerLines=t4.horiz&&c3.staggerLines||void 0,t4.createGroups(),l3||t4.isLinked?(n3.forEach((function(e5){t4.generateTick(e5)})),t4.renderUnsquish(),t4.reserveSpaceDefault=0===r3||2===r3||{1:"left",3:"right"}[r3]===t4.labelAlign,E2(c3.reserveSpace,!p3&&null,"center"===t4.labelAlign||null,t4.reserveSpaceDefault)&&n3.forEach((function(t5){S3=Math.max(o3[t5].getLabelSize(),S3)})),t4.staggerLines&&(S3*=t4.staggerLines),t4.labelOffset=S3*(t4.opposite?-1:1)):D2(o3,(function(t5,e5){t5.destroy(),delete o3[e5]})),(d3==null?void 0:d3.text)&&false!==d3.enabled&&(t4.addTitle(m3),m3&&!p3&&false!==d3.reserveSpace&&(t4.titleOffset=x3=t4.axisTitle.getBBox()[i3?"height":"width"],v3=y2(b3=d3.offset)?0:E2(d3.margin,i3?5:10))),t4.renderLine(),t4.offset=f3*E2(s3.offset,u3[r3]?u3[r3]+(s3.margin||0):0),t4.tickRotCorr=t4.tickRotCorr||{x:0,y:0},M3=0===r3?-t4.labelMetrics().h:2===r3?t4.tickRotCorr.y:0,C3=Math.abs(S3)+v3,S3&&(C3-=M3,C3+=f3*(i3?E2(c3.y,t4.tickRotCorr.y+f3*c3.distance):E2(c3.x,f3*c3.distance))),t4.axisTitleMargin=E2(b3,C3),t4.getMaxLabelDimensions&&(t4.maxLabelDimensions=t4.getMaxLabelDimensions(o3,n3)),"colorAxis"!==a3&&g3){let e5=this.tickSize("tick");u3[r3]=Math.max(u3[r3],(t4.axisTitleMargin||0)+x3+f3*t4.offset,C3,n3&&n3.length&&e5?e5[0]+f3*t4.offset:0);let i4=!t4.axisLine||s3.offset?0:t4.axisLine.strokeWidth()/2;g3[h3]=Math.max(g3[h3],i4)}k2(this,"afterGetOffset")}getLinePath(t4){let e4=this.chart,i3=this.opposite,s3=this.offset,r3=this.horiz,o3=this.left+(i3?this.width:0)+s3,n3=e4.chartHeight-this.bottom-(i3?this.height:0)+s3;return i3&&(t4*=-1),e4.renderer.crispLine([["M",r3?this.left:o3,r3?n3:this.top],["L",r3?e4.chartWidth-this.right:o3,r3?n3:e4.chartHeight-this.bottom]],t4)}renderLine(){this.axisLine||(this.axisLine=this.chart.renderer.path().addClass("highcharts-axis-line").add(this.axisGroup),this.chart.styledMode||this.axisLine.attr({stroke:this.options.lineColor,"stroke-width":this.options.lineWidth,zIndex:7}))}getTitlePosition(t4){let e4=this.horiz,i3=this.left,s3=this.top,r3=this.len,o3=this.options.title,n3=e4?i3:s3,a3=this.opposite,h3=this.offset,l3=o3.x,d3=o3.y,c3=this.chart.renderer.fontMetrics(t4),p3=t4?Math.max(t4.getBBox(false,0).height-c3.h-1,0):0,u3={low:n3+(e4?0:r3),middle:n3+r3/2,high:n3+(e4?r3:0)}[o3.align],g3=(e4?s3+this.height:i3)+(e4?1:-1)*(a3?-1:1)*(this.axisTitleMargin||0)+[-p3,p3,c3.f,-p3][this.side],f3={x:e4?u3+l3:g3+(a3?this.width:0)+h3+l3,y:e4?g3+d3-(a3?this.height:0)+h3:u3+d3};return k2(this,"afterGetTitlePosition",{titlePosition:f3}),f3}renderMinorTick(t4,e4){let i3=this.minorTicks;i3[t4]||(i3[t4]=new n2(this,t4,"minor")),e4&&i3[t4].isNew&&i3[t4].render(null,true),i3[t4].render(null,false,1)}renderTick(t4,e4,i3){let s3=this.isLinked,r3=this.ticks;(!s3||t4>=this.min&&t4<=this.max||this.grid&&this.grid.isColumn)&&(r3[t4]||(r3[t4]=new n2(this,t4)),i3&&r3[t4].isNew&&r3[t4].render(e4,true,-1),r3[t4].render(e4))}render(){let t4,e4;let i3=this,s3=i3.chart,r3=i3.logarithmic,a3=s3.renderer,l3=i3.options,d3=i3.isLinked,c3=i3.tickPositions,p3=i3.axisTitle,u3=i3.ticks,g3=i3.minorTicks,f3=i3.alternateBands,m3=l3.stackLabels,x3=l3.alternateGridColor,y3=l3.crossing,b3=i3.tickmarkOffset,v3=i3.axisLine,S3=i3.showAxis,C3=h2(a3.globalAnimation);if(i3.labelEdge.length=0,i3.overlap=false,[u3,g3,f3].forEach((function(t5){D2(t5,(function(t6){t6.isActive=false}))})),A2(y3)){let t5=this.isXAxis?s3.yAxis[0]:s3.xAxis[0],e5=[1,-1,-1,1][this.side];if(t5){let s4=t5.toPixels(y3,true);i3.horiz&&(s4=t5.len-s4),i3.offset=e5*s4}}if(i3.hasData()||d3){let a4=i3.chart.hasRendered&&i3.old&&A2(i3.old.min);i3.minorTickInterval&&!i3.categories&&i3.getMinorTickPositions().forEach((function(t5){i3.renderMinorTick(t5,a4)})),c3.length&&(c3.forEach((function(t5,e5){i3.renderTick(t5,e5,a4)})),b3&&(0===i3.min||i3.single)&&(u3[-1]||(u3[-1]=new n2(i3,-1,null,true)),u3[-1].render(-1))),x3&&c3.forEach((function(n3,a5){e4=void 0!==c3[a5+1]?c3[a5+1]+b3:i3.max-b3,a5%2==0&&n3<i3.max&&e4<=i3.max+(s3.polar?-b3:b3)&&(f3[n3]||(f3[n3]=new o2.PlotLineOrBand(i3,{})),t4=n3+b3,f3[n3].options={from:r3?r3.lin2log(t4):t4,to:r3?r3.lin2log(e4):e4,color:x3,className:"highcharts-alternate-grid"},f3[n3].render(),f3[n3].isActive=true)})),i3._addedPlotLB||(i3._addedPlotLB=true,(l3.plotLines||[]).concat(l3.plotBands||[]).forEach((function(t5){i3.addPlotBandOrLine(t5)})))}[u3,g3,f3].forEach((function(t5){let e5=[],i4=C3.duration;D2(t5,(function(t6,i5){t6.isActive||(t6.render(i5,false,0),t6.isActive=false,e5.push(i5))})),R2((function(){let i5=e5.length;for(;i5--;)t5[e5[i5]]&&!t5[e5[i5]].isActive&&(t5[e5[i5]].destroy(),delete t5[e5[i5]])}),t5!==f3&&s3.hasRendered&&i4?i4:0)})),v3&&(v3[v3.isPlaced?"animate":"attr"]({d:this.getLinePath(v3.strokeWidth())}),v3.isPlaced=true,v3[S3?"show":"hide"](S3)),p3&&S3&&(p3[p3.isNew?"attr":"animate"](i3.getTitlePosition(p3)),p3.isNew=false),m3&&m3.enabled&&i3.stacking&&i3.stacking.renderStackTotals(),i3.old={len:i3.len,max:i3.max,min:i3.min,transA:i3.transA,userMax:i3.userMax,userMin:i3.userMin},i3.isDirty=false,k2(this,"afterRender")}redraw(){this.visible&&(this.render(),this.plotLinesAndBands.forEach((function(t4){t4.render()}))),this.series.forEach((function(t4){t4.isDirty=true}))}getKeepProps(){return this.keepProps||N2.keepProps}destroy(t4){let e4=this,i3=e4.plotLinesAndBands,s3=this.eventOptions;if(k2(this,"destroy",{keepEvents:t4}),t4||j(e4),[e4.ticks,e4.minorTicks,e4.alternateBands].forEach((function(t5){b2(t5)})),i3){let t5=i3.length;for(;t5--;)i3[t5].destroy()}for(let t5 in["axisLine","axisTitle","axisGroup","gridGroup","labelGroup","cross","scrollbar"].forEach((function(t6){e4[t6]&&(e4[t6]=e4[t6].destroy())})),e4.plotLinesAndBandsGroups)e4.plotLinesAndBandsGroups[t5]=e4.plotLinesAndBandsGroups[t5].destroy();D2(e4,(function(t5,i4){-1===e4.getKeepProps().indexOf(i4)&&delete e4[i4]})),this.eventOptions=s3}drawCrosshair(t4,e4){let s3=this.crosshair,r3=E2(s3&&s3.snap,true),o3=this.chart,n3,a3,h3,l3=this.cross,d3;if(k2(this,"drawCrosshair",{e:t4,point:e4}),t4||(t4=this.cross&&this.cross.e),s3&&false!==(y2(e4)||!r3)){if(r3?y2(e4)&&(a3=E2("colorAxis"!==this.coll?e4.crosshairPos:null,this.isXAxis?e4.plotX:this.len-e4.plotY)):a3=t4&&(this.horiz?t4.chartX-this.pos:this.len-t4.chartY+this.pos),y2(a3)&&(d3={value:e4&&(this.isXAxis?e4.x:E2(e4.stackY,e4.y)),translatedValue:a3},o3.polar&&C2(d3,{isCrosshair:true,chartX:t4&&t4.chartX,chartY:t4&&t4.chartY,point:e4}),n3=this.getPlotLinePath(d3)||null),!y2(n3)){this.hideCrosshair();return}h3=this.categories&&!this.isRadial,l3||(this.cross=l3=o3.renderer.path().addClass("highcharts-crosshair highcharts-crosshair-"+(h3?"category ":"thin ")+(s3.className||"")).attr({zIndex:E2(s3.zIndex,2)}).add(),!o3.styledMode&&(l3.attr({stroke:s3.color||(h3?i2.parse("#ccd3ff").setOpacity(.25).get():"#cccccc"),"stroke-width":E2(s3.width,1)}).css({"pointer-events":"none"}),s3.dashStyle&&l3.attr({dashstyle:s3.dashStyle}))),l3.show().attr({d:n3}),h3&&!s3.width&&l3.attr({"stroke-width":this.transA}),this.cross.e=t4}else this.hideCrosshair();k2(this,"afterDrawCrosshair",{e:t4,point:e4})}hideCrosshair(){this.cross&&this.cross.hide(),k2(this,"afterHideCrosshair")}update(t4,e4){let i3=this.chart;t4=L2(this.userOptions,t4),this.destroy(true),this.init(i3,t4),i3.isDirtyBox=true,E2(e4,true)&&i3.redraw()}remove(t4){let e4=this.chart,i3=this.coll,s3=this.series,r3=s3.length;for(;r3--;)s3[r3]&&s3[r3].remove(false);v2(e4.axes,this),v2(e4[i3]||[],this),e4.orderItems(i3),this.destroy(),e4.isDirtyBox=true,E2(t4,true)&&e4.redraw()}setTitle(t4,e4){this.update({title:t4},e4)}setCategories(t4,e4){this.update({categories:t4},e4)}}return N2.keepProps=["coll","extKey","hcEvents","len","names","series","userMax","userMin"],N2})),i(e2,"Core/Axis/DateTimeAxis.js",[e2["Core/Utilities.js"]],(function(t3){var e3;let{addEvent:i2,getMagnitude:s2,normalizeTickInterval:r2,timeUnits:o2}=t3;return function(t4){function e4(){return this.chart.time.getTimeTicks.apply(this.chart.time,arguments)}function n2(){if("datetime"!==this.type){this.dateTime=void 0;return}this.dateTime||(this.dateTime=new a2(this))}t4.compose=function(t5){return t5.keepProps.includes("dateTime")||(t5.keepProps.push("dateTime"),t5.prototype.getTimeTicks=e4,i2(t5,"afterSetType",n2)),t5};class a2{constructor(t5){this.axis=t5}normalizeTimeTickInterval(t5,e5){let i3=e5||[["millisecond",[1,2,5,10,20,25,50,100,200,500]],["second",[1,2,5,10,15,30]],["minute",[1,2,5,10,15,30]],["hour",[1,2,3,4,6,8,12]],["day",[1,2]],["week",[1,2]],["month",[1,2,3,4,6]],["year",null]],n3=i3[i3.length-1],a3=o2[n3[0]],h2=n3[1],l2;for(l2=0;l2<i3.length&&(a3=o2[(n3=i3[l2])[0]],h2=n3[1],!i3[l2+1]||!(t5<=(a3*h2[h2.length-1]+o2[i3[l2+1][0]])/2));l2++);a3===o2.year&&t5<5*a3&&(h2=[1,2,5]);let d2=r2(t5/a3,h2,"year"===n3[0]?Math.max(s2(t5/a3),1):1);return{unitRange:a3,count:d2,unitName:n3[0]}}getXDateFormat(t5,e5){let{axis:i3}=this,s3=i3.chart.time;return i3.closestPointRange?s3.getDateFormat(i3.closestPointRange,t5,i3.options.startOfWeek,e5)||s3.resolveDTLFormat(e5.year).main:s3.resolveDTLFormat(e5.day).main}}t4.Additions=a2}(e3||(e3={})),e3})),i(e2,"Core/Axis/LogarithmicAxis.js",[e2["Core/Utilities.js"]],(function(t3){var e3;let{addEvent:i2,normalizeTickInterval:s2,pick:r2}=t3;return function(t4){function e4(){"logarithmic"!==this.type?this.logarithmic=void 0:this.logarithmic??(this.logarithmic=new n2(this))}function o2(){let t5=this.logarithmic;t5&&(this.lin2val=function(e5){return t5.lin2log(e5)},this.val2lin=function(e5){return t5.log2lin(e5)})}t4.compose=function(t5){return t5.keepProps.includes("logarithmic")||(t5.keepProps.push("logarithmic"),i2(t5,"afterSetType",e4),i2(t5,"afterInit",o2)),t5};class n2{constructor(t5){this.axis=t5}getLogTickPositions(t5,e5,i3,o3){let n3=this.axis,a2=n3.len,h2=n3.options,l2=[];if(o3||(this.minorAutoInterval=void 0),t5>=.5)t5=Math.round(t5),l2=n3.getLinearTickPositions(t5,e5,i3);else if(t5>=.08){let s3,r3,n4,a3,h3,d2,c2;let p2=Math.floor(e5);for(s3=t5>.3?[1,2,4]:t5>.15?[1,2,4,6,8]:[1,2,3,4,5,6,7,8,9],r3=p2;r3<i3+1&&!c2;r3++)for(n4=0,a3=s3.length;n4<a3&&!c2;n4++)(h3=this.log2lin(this.lin2log(r3)*s3[n4]))>e5&&(!o3||d2<=i3)&&void 0!==d2&&l2.push(d2),d2>i3&&(c2=true),d2=h3}else{let d2=this.lin2log(e5),c2=this.lin2log(i3),p2=o3?n3.getMinorTickInterval():h2.tickInterval,u2=h2.tickPixelInterval/(o3?5:1),g2=o3?a2/n3.tickPositions.length:a2;t5=s2(t5=r2("auto"===p2?null:p2,this.minorAutoInterval,(c2-d2)*u2/(g2||1))),l2=n3.getLinearTickPositions(t5,d2,c2).map(this.log2lin),o3||(this.minorAutoInterval=t5/5)}return o3||(n3.tickInterval=t5),l2}lin2log(t5){return Math.pow(10,t5)}log2lin(t5){return Math.log(t5)/Math.LN10}}t4.Additions=n2}(e3||(e3={})),e3})),i(e2,"Core/Axis/PlotLineOrBand/PlotLineOrBandAxis.js",[e2["Core/Utilities.js"]],(function(t3){var e3;let{erase:i2,extend:s2,isNumber:r2}=t3;return function(t4){let e4;function o2(t5){return this.addPlotBandOrLine(t5,"plotBands")}function n2(t5,i3){let s3=this.userOptions,r3=new e4(this,t5);if(this.visible&&(r3=r3.render()),r3){if(this._addedPlotLB||(this._addedPlotLB=true,(s3.plotLines||[]).concat(s3.plotBands||[]).forEach((t6=>{this.addPlotBandOrLine(t6)}))),i3){let e5=s3[i3]||[];e5.push(t5),s3[i3]=e5}this.plotLinesAndBands.push(r3)}return r3}function a2(t5){return this.addPlotBandOrLine(t5,"plotLines")}function h2(t5,e5,i3){i3=i3||this.options;let s3=this.getPlotLinePath({value:e5,force:true,acrossPanes:i3.acrossPanes}),o3=[],n3=this.horiz,a3=!r2(this.min)||!r2(this.max)||t5<this.min&&e5<this.min||t5>this.max&&e5>this.max,h3=this.getPlotLinePath({value:t5,force:true,acrossPanes:i3.acrossPanes}),l3,d3=1,c3;if(h3&&s3)for(a3&&(c3=h3.toString()===s3.toString(),d3=0),l3=0;l3<h3.length;l3+=2){let t6=h3[l3],e6=h3[l3+1],i4=s3[l3],r3=s3[l3+1];("M"===t6[0]||"L"===t6[0])&&("M"===e6[0]||"L"===e6[0])&&("M"===i4[0]||"L"===i4[0])&&("M"===r3[0]||"L"===r3[0])&&(n3&&i4[1]===t6[1]?(i4[1]+=d3,r3[1]+=d3):n3||i4[2]!==t6[2]||(i4[2]+=d3,r3[2]+=d3),o3.push(["M",t6[1],t6[2]],["L",e6[1],e6[2]],["L",r3[1],r3[2]],["L",i4[1],i4[2]],["Z"])),o3.isFlat=c3}return o3}function l2(t5){this.removePlotBandOrLine(t5)}function d2(t5){let e5=this.plotLinesAndBands,s3=this.options,r3=this.userOptions;if(e5){let o3=e5.length;for(;o3--;)e5[o3].id===t5&&e5[o3].destroy();[s3.plotLines||[],r3.plotLines||[],s3.plotBands||[],r3.plotBands||[]].forEach((function(e6){for(o3=e6.length;o3--;)(e6[o3]||{}).id===t5&&i2(e6,e6[o3])}))}}function c2(t5){this.removePlotBandOrLine(t5)}t4.compose=function(t5,i3){let r3=i3.prototype;return r3.addPlotBand||(e4=t5,s2(r3,{addPlotBand:o2,addPlotLine:a2,addPlotBandOrLine:n2,getPlotBandPath:h2,removePlotBand:l2,removePlotLine:c2,removePlotBandOrLine:d2})),i3}}(e3||(e3={})),e3})),i(e2,"Core/Axis/PlotLineOrBand/PlotLineOrBand.js",[e2["Core/Axis/PlotLineOrBand/PlotLineOrBandAxis.js"],e2["Core/Utilities.js"]],(function(t3,e3){let{addEvent:i2,arrayMax:s2,arrayMin:r2,defined:o2,destroyObjectProperties:n2,erase:a2,fireEvent:h2,merge:l2,objectEach:d2,pick:c2}=e3;class p2{static compose(e4,s3){return i2(e4,"afterInit",(function(){this.labelCollectors.push((()=>{var _a;let t4=[];for(let e5 of this.axes)for(let{label:i3,options:s4}of e5.plotLinesAndBands)i3&&!((_a=s4==null?void 0:s4.label)==null?void 0:_a.allowOverlap)&&t4.push(i3);return t4}))})),t3.compose(p2,s3)}constructor(t4,e4){this.axis=t4,this.options=e4,this.id=e4.id}render(){h2(this,"render");let{axis:t4,options:e4}=this,{horiz:i3,logarithmic:s3}=t4,{color:r3,events:n3,zIndex:a3=0}=e4,p3={},u2=t4.chart.renderer,g2=e4.to,f2=e4.from,m2=e4.value,x2=e4.borderWidth,y2=e4.label,{label:b2,svgElem:v2}=this,S2=[],C2,k2=o2(f2)&&o2(g2),M2=o2(m2),w2=!v2,T2={class:"highcharts-plot-"+(k2?"band ":"line ")+(e4.className||"")},A2=k2?"bands":"lines";if(!t4.chart.styledMode&&(M2?(T2.stroke=r3||"#999999",T2["stroke-width"]=c2(e4.width,1),e4.dashStyle&&(T2.dashstyle=e4.dashStyle)):k2&&(T2.fill=r3||"#e6e9ff",x2&&(T2.stroke=e4.borderColor,T2["stroke-width"]=x2))),p3.zIndex=a3,A2+="-"+a3,(C2=t4.plotLinesAndBandsGroups[A2])||(t4.plotLinesAndBandsGroups[A2]=C2=u2.g("plot-"+A2).attr(p3).add()),v2||(this.svgElem=v2=u2.path().attr(T2).add(C2)),o2(m2))S2=t4.getPlotLinePath({value:(s3==null?void 0:s3.log2lin(m2))??m2,lineWidth:v2.strokeWidth(),acrossPanes:e4.acrossPanes});else{if(!(o2(f2)&&o2(g2)))return;S2=t4.getPlotBandPath((s3==null?void 0:s3.log2lin(f2))??f2,(s3==null?void 0:s3.log2lin(g2))??g2,e4)}return!this.eventsAdded&&n3&&(d2(n3,((t5,e5)=>{v2==null?void 0:v2.on(e5,(t6=>{n3[e5].apply(this,[t6])}))})),this.eventsAdded=true),(w2||!v2.d)&&(S2==null?void 0:S2.length)?v2.attr({d:S2}):v2&&(S2?(v2.show(),v2.animate({d:S2})):v2.d&&(v2.hide(),b2&&(this.label=b2=b2.destroy()))),y2&&(o2(y2.text)||o2(y2.formatter))&&(S2==null?void 0:S2.length)&&t4.width>0&&t4.height>0&&!S2.isFlat?(y2=l2({align:i3&&k2?"center":void 0,x:i3?!k2&&4:10,verticalAlign:!i3&&k2?"middle":void 0,y:i3?k2?16:10:k2?6:-4,rotation:i3&&!k2?90:0,...k2?{inside:true}:{}},y2),this.renderLabel(y2,S2,k2,a3)):b2&&b2.hide(),this}renderLabel(t4,e4,i3,n3){var _a;let a3=this.axis,h3=a3.chart.renderer,d3=t4.inside,c3=this.label;c3||(this.label=c3=h3.text(this.getLabelText(t4),0,0,t4.useHTML).attr({align:t4.textAlign||t4.align,rotation:t4.rotation,class:"highcharts-plot-"+(i3?"band":"line")+"-label "+(t4.className||""),zIndex:n3}),a3.chart.styledMode||c3.css(l2({fontSize:"0.8em",textOverflow:i3&&!d3?"":"ellipsis"},t4.style)),c3.add());let p3=e4.xBounds||[e4[0][1],e4[1][1],i3?e4[2][1]:e4[0][1]],u2=e4.yBounds||[e4[0][2],e4[1][2],i3?e4[2][2]:e4[0][2]],g2=r2(p3),f2=r2(u2),m2=s2(p3)-g2;c3.align(t4,false,{x:g2,y:f2,width:m2,height:s2(u2)-f2}),(!c3.alignValue||"left"===c3.alignValue||o2(d3))&&c3.css({width:(((_a=t4.style)==null?void 0:_a.width)||(i3&&d3?m2:90===c3.rotation?a3.height-(c3.alignAttr.y-a3.top):(t4.clip?a3.width:a3.chart.chartWidth)-(c3.alignAttr.x-a3.left)))+"px"}),c3.show(true)}getLabelText(t4){return o2(t4.formatter)?t4.formatter.call(this):t4.text}destroy(){a2(this.axis.plotLinesAndBands,this),delete this.axis,n2(this)}}return p2})),i(e2,"Core/Tooltip.js",[e2["Core/Animation/AnimationUtilities.js"],e2["Core/Templating.js"],e2["Core/Globals.js"],e2["Core/Renderer/RendererUtilities.js"],e2["Core/Renderer/RendererRegistry.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2,s2,r2,o2){var n2;let{animObject:a2}=t3,{format:h2}=e3,{composed:l2,doc:d2,isSafari:c2}=i2,{distribute:p2}=s2,{addEvent:u2,clamp:g2,css:f2,discardElement:m2,extend:x2,fireEvent:y2,isArray:b2,isNumber:v2,isString:S2,merge:C2,pick:k2,pushUnique:M2,splat:w2,syncTimeout:T2}=o2;class A2{constructor(t4,e4,i3){this.allowShared=true,this.crosshairs=[],this.distance=0,this.isHidden=true,this.isSticky=false,this.options={},this.outside=false,this.chart=t4,this.init(t4,e4),this.pointer=i3}bodyFormatter(t4){return t4.map((function(t5){let e4=t5.series.tooltipOptions;return(e4[(t5.point.formatPrefix||"point")+"Formatter"]||t5.point.tooltipFormatter).call(t5.point,e4[(t5.point.formatPrefix||"point")+"Format"]||"")}))}cleanSplit(t4){this.chart.series.forEach((function(e4){let i3=e4&&e4.tt;i3&&(!i3.isActive||t4?e4.tt=i3.destroy():i3.isActive=false)}))}defaultFormatter(t4){let e4;let i3=this.points||w2(this);return(e4=(e4=[t4.tooltipFooterHeaderFormatter(i3[0])]).concat(t4.bodyFormatter(i3))).push(t4.tooltipFooterHeaderFormatter(i3[0],true)),e4}destroy(){this.label&&(this.label=this.label.destroy()),this.split&&(this.cleanSplit(true),this.tt&&(this.tt=this.tt.destroy())),this.renderer&&(this.renderer=this.renderer.destroy(),m2(this.container)),o2.clearTimeout(this.hideTimer)}getAnchor(t4,e4){let i3;let{chart:s3,pointer:r3}=this,o3=s3.inverted,n3=s3.plotTop,a3=s3.plotLeft;if((t4=w2(t4))[0].series&&t4[0].series.yAxis&&!t4[0].series.yAxis.options.reversedStacks&&(t4=t4.slice().reverse()),this.followPointer&&e4)void 0===e4.chartX&&(e4=r3.normalize(e4)),i3=[e4.chartX-a3,e4.chartY-n3];else if(t4[0].tooltipPos)i3=t4[0].tooltipPos;else{let s4=0,r4=0;t4.forEach((function(t5){let e5=t5.pos(true);e5&&(s4+=e5[0],r4+=e5[1])})),s4/=t4.length,r4/=t4.length,this.shared&&t4.length>1&&e4&&(o3?s4=e4.chartX:r4=e4.chartY),i3=[s4-a3,r4-n3]}return i3.map(Math.round)}getClassName(t4,e4,i3){let s3=this.options,r3=t4.series,o3=r3.options;return[s3.className,"highcharts-label",i3&&"highcharts-tooltip-header",e4?"highcharts-tooltip-box":"highcharts-tooltip",!i3&&"highcharts-color-"+k2(t4.colorIndex,r3.colorIndex),o3&&o3.className].filter(S2).join(" ")}getLabel({anchorX:t4,anchorY:e4}={anchorX:0,anchorY:0}){let s3=this,o3=this.chart.styledMode,n3=this.options,a3=this.split&&this.allowShared,h3=this.container,l3=this.chart.renderer;if(this.label){let t5=!this.label.hasClass("highcharts-label");(!a3&&t5||a3&&!t5)&&this.destroy()}if(!this.label){if(this.outside){let t5=this.chart.options.chart.style,e5=r2.getRendererType();this.container=h3=i2.doc.createElement("div"),h3.className="highcharts-tooltip-container",f2(h3,{position:"absolute",top:"1px",pointerEvents:"none",zIndex:Math.max(this.options.style.zIndex||0,(t5&&t5.zIndex||0)+3)}),this.renderer=l3=new e5(h3,0,0,t5,void 0,void 0,l3.styledMode)}if(a3?this.label=l3.g("tooltip"):(this.label=l3.label("",t4,e4,n3.shape,void 0,void 0,n3.useHTML,void 0,"tooltip").attr({padding:n3.padding,r:n3.borderRadius}),o3||this.label.attr({fill:n3.backgroundColor,"stroke-width":n3.borderWidth||0}).css(n3.style).css({pointerEvents:n3.style.pointerEvents||(this.shouldStickOnContact()?"auto":"none")})),s3.outside){let t5=this.label;[t5.xSetter,t5.ySetter].forEach(((e5,i3)=>{t5[i3?"ySetter":"xSetter"]=r3=>{e5.call(t5,s3.distance),t5[i3?"y":"x"]=r3,h3&&(h3.style[i3?"top":"left"]=`${r3}px`)}}))}this.label.attr({zIndex:8}).shadow(n3.shadow).add()}return h3&&!h3.parentElement&&i2.doc.body.appendChild(h3),this.label}getPlayingField(){let{body:t4,documentElement:e4}=d2,{chart:i3,distance:s3,outside:r3}=this;return{width:r3?Math.max(t4.scrollWidth,e4.scrollWidth,t4.offsetWidth,e4.offsetWidth,e4.clientWidth)-2*s3:i3.chartWidth,height:r3?Math.max(t4.scrollHeight,e4.scrollHeight,t4.offsetHeight,e4.offsetHeight,e4.clientHeight):i3.chartHeight}}getPosition(t4,e4,i3){var _a,_b;let{distance:s3,chart:r3,outside:o3,pointer:n3}=this,{inverted:a3,plotLeft:h3,plotTop:l3,polar:d3}=r3,{plotX:c3=0,plotY:p3=0}=i3,u3={},g3=a3&&i3.h||0,{height:f3,width:m3}=this.getPlayingField(),x3=n3.getChartPosition(),y3=t5=>t5*x3.scaleX,b3=t5=>t5*x3.scaleY,v3=i4=>{let n4="x"===i4;return[i4,n4?m3:f3,n4?t4:e4].concat(o3?[n4?y3(t4):b3(e4),n4?x3.left-s3+y3(c3+h3):x3.top-s3+b3(p3+l3),0,n4?m3:f3]:[n4?t4:e4,n4?c3+h3:p3+l3,n4?h3:l3,n4?h3+r3.plotWidth:l3+r3.plotHeight])},S3=v3("y"),C3=v3("x"),M3,w3=!!i3.negative;!d3&&((_b=(_a=r3.hoverSeries)==null?void 0:_a.yAxis)==null?void 0:_b.reversed)&&(w3=!w3);let T3=!this.followPointer&&k2(i3.ttBelow,!d3&&!a3===w3),A3=function(t5,e5,i4,r4,n4,a4,h4){let l4=o3?"y"===t5?b3(s3):y3(s3):s3,d4=(i4-r4)/2,c4=r4<n4-s3,p4=n4+s3+r4<e5,f4=n4-l4-i4+d4,m4=n4+l4-d4;if(T3&&p4)u3[t5]=m4;else if(!T3&&c4)u3[t5]=f4;else if(c4)u3[t5]=Math.min(h4-r4,f4-g3<0?f4:f4-g3);else{if(!p4)return false;u3[t5]=Math.max(a4,m4+g3+i4>e5?m4:m4+g3)}},P2=function(t5,e5,i4,r4,o4){if(o4<s3||o4>e5-s3)return false;o4<i4/2?u3[t5]=1:o4>e5-r4/2?u3[t5]=e5-r4-2:u3[t5]=o4-i4/2},L2=function(t5){[S3,C3]=[C3,S3],M3=t5},O2=()=>{false!==A3.apply(0,S3)?false!==P2.apply(0,C3)||M3||(L2(true),O2()):M3?u3.x=u3.y=0:(L2(true),O2())};return(a3&&!d3||this.len>1)&&L2(),O2(),u3}hide(t4){let e4=this;o2.clearTimeout(this.hideTimer),t4=k2(t4,this.options.hideDelay),this.isHidden||(this.hideTimer=T2((function(){let i3=e4.getLabel();e4.getLabel().animate({opacity:0},{duration:t4?150:t4,complete:()=>{i3.hide(),e4.container&&e4.container.remove()}}),e4.isHidden=true}),t4))}init(t4,e4){this.chart=t4,this.options=e4,this.crosshairs=[],this.isHidden=true,this.split=e4.split&&!t4.inverted&&!t4.polar,this.shared=e4.shared||this.split,this.outside=k2(e4.outside,!!(t4.scrollablePixelsX||t4.scrollablePixelsY))}shouldStickOnContact(t4){return!!(!this.followPointer&&this.options.stickOnContact&&(!t4||this.pointer.inClass(t4.target,"highcharts-tooltip")))}move(t4,e4,i3,s3){let r3=this,o3=a2(!r3.isHidden&&r3.options.animation),n3=r3.followPointer||(r3.len||0)>1,h3={x:t4,y:e4};n3||(h3.anchorX=i3,h3.anchorY=s3),o3.step=()=>r3.drawTracker(),r3.getLabel().animate(h3,o3)}refresh(t4,e4){let{chart:i3,options:s3,pointer:r3,shared:n3}=this,a3=w2(t4),l3=a3[0],d3=[],c3=s3.format,p3=s3.formatter||this.defaultFormatter,u3=i3.styledMode,f3={},m3=this.allowShared;if(!s3.enabled||!l3.series)return;o2.clearTimeout(this.hideTimer),this.allowShared=!(!b2(t4)&&t4.series&&t4.series.noSharedTooltip),m3=m3&&!this.allowShared,this.followPointer=!this.split&&l3.series.tooltipOptions.followPointer;let x3=this.getAnchor(t4,e4),v3=x3[0],C3=x3[1];n3&&this.allowShared?(r3.applyInactiveState(a3),a3.forEach((function(t5){t5.setState("hover"),d3.push(t5.getLabelConfig())})),(f3=l3.getLabelConfig()).points=d3):f3=l3.getLabelConfig(),this.len=d3.length;let M3=S2(c3)?h2(c3,f3,i3):p3.call(f3,this),T3=l3.series;if(this.distance=k2(T3.tooltipOptions.distance,16),false===M3)this.hide();else{if(this.split&&this.allowShared)this.renderSplit(M3,a3);else{let t5=v3,o3=C3;if(e4&&r3.isDirectTouch&&(t5=e4.chartX-i3.plotLeft,o3=e4.chartY-i3.plotTop),i3.polar||false===T3.options.clip||a3.some((e5=>r3.isDirectTouch||e5.series.shouldShowTooltip(t5,o3)))){let t6=this.getLabel(m3&&this.tt||{});(!s3.style.width||u3)&&t6.css({width:(this.outside?this.getPlayingField():i3.spacingBox).width+"px"}),t6.attr({class:this.getClassName(l3),text:M3&&M3.join?M3.join(""):M3}),this.outside&&t6.attr({x:g2(t6.x||0,0,this.getPlayingField().width-(t6.width||0))}),u3||t6.attr({stroke:s3.borderColor||l3.color||T3.color||"#666666"}),this.updatePosition({plotX:v3,plotY:C3,negative:l3.negative,ttBelow:l3.ttBelow,h:x3[2]||0})}else{this.hide();return}}this.isHidden&&this.label&&this.label.attr({opacity:1}).show(),this.isHidden=false}y2(this,"refresh")}renderSplit(t4,e4){var _a;let i3=this,{chart:s3,chart:{chartWidth:r3,chartHeight:o3,plotHeight:n3,plotLeft:a3,plotTop:h3,scrollablePixelsY:l3=0,scrollablePixelsX:u3,styledMode:f3},distance:m3,options:y3,options:{positioner:b3},pointer:v3}=i3,{scrollLeft:C3=0,scrollTop:M3=0}=((_a=s3.scrollablePlotArea)==null?void 0:_a.scrollingContainer)||{},w3=i3.outside&&"number"!=typeof u3?d2.documentElement.getBoundingClientRect():{left:C3,right:C3+r3,top:M3,bottom:M3+o3},T3=i3.getLabel(),A3=this.renderer||s3.renderer,P2=!!(s3.xAxis[0]&&s3.xAxis[0].opposite),{left:L2,top:O2}=v3.getChartPosition(),D2=h3+M3,E2=0,I2=n3-l3;function j(t5,e5,s4,r4,o4=true){let n4,a4;return s4?(n4=P2?0:I2,a4=g2(t5-r4/2,w3.left,w3.right-r4-(i3.outside?L2:0))):(n4=e5-D2,a4=g2(a4=o4?t5-r4-m3:t5+m3,o4?a4:w3.left,w3.right)),{x:a4,y:n4}}S2(t4)&&(t4=[false,t4]);let B2=t4.slice(0,e4.length+1).reduce((function(t5,s4,r4){if(false!==s4&&""!==s4){let o4=e4[r4-1]||{isHeader:true,plotX:e4[0].plotX,plotY:n3,series:{}},l4=o4.isHeader,d3=l4?i3:o4.series,c3=d3.tt=function(t6,e5,s5){let r5=t6,{isHeader:o5,series:n4}=e5;if(!r5){let t7={padding:y3.padding,r:y3.borderRadius};f3||(t7.fill=y3.backgroundColor,t7["stroke-width"]=y3.borderWidth??1),r5=A3.label("",0,0,y3[o5?"headerShape":"shape"],void 0,void 0,y3.useHTML).addClass(i3.getClassName(e5,true,o5)).attr(t7).add(T3)}return r5.isActive=true,r5.attr({text:s5}),f3||r5.css(y3.style).attr({stroke:y3.borderColor||e5.color||n4.color||"#333333"}),r5}(d3.tt,o4,s4.toString()),p3=c3.getBBox(),u4=p3.width+c3.strokeWidth();l4&&(E2=p3.height,I2+=E2,P2&&(D2-=E2));let{anchorX:x3,anchorY:v4}=function(t6){let e5,i4;let{isHeader:s5,plotX:r5=0,plotY:o5=0,series:l5}=t6;if(s5)e5=Math.max(a3+r5,a3),i4=h3+n3/2;else{let{xAxis:t7,yAxis:s6}=l5;e5=t7.pos+g2(r5,-m3,t7.len+m3),l5.shouldShowTooltip(0,s6.pos-h3+o5,{ignoreX:true})&&(i4=s6.pos+o5)}return{anchorX:e5=g2(e5,w3.left-m3,w3.right+m3),anchorY:i4}}(o4);if("number"==typeof v4){let e5=p3.height+1,s5=b3?b3.call(i3,u4,e5,o4):j(x3,v4,l4,u4);t5.push({align:b3?0:void 0,anchorX:x3,anchorY:v4,boxWidth:u4,point:o4,rank:k2(s5.rank,l4?1:0),size:e5,target:s5.y,tt:c3,x:s5.x})}else c3.isActive=false}return t5}),[]);!b3&&B2.some((t5=>{let{outside:e5}=i3,s4=(e5?L2:0)+t5.anchorX;return s4<w3.left&&s4+t5.boxWidth<w3.right||s4<L2-w3.left+t5.boxWidth&&w3.right-s4>s4}))&&(B2=B2.map((t5=>{let{x:e5,y:i4}=j(t5.anchorX,t5.anchorY,t5.point.isHeader,t5.boxWidth,false);return x2(t5,{target:i4,x:e5})}))),i3.cleanSplit(),p2(B2,I2);let R2={left:L2,right:L2};B2.forEach((function(t5){let{x:e5,boxWidth:s4,isHeader:r4}=t5;!r4&&(i3.outside&&L2+e5<R2.left&&(R2.left=L2+e5),!r4&&i3.outside&&R2.left+s4>R2.right&&(R2.right=L2+e5))})),B2.forEach((function(t5){let{x:e5,anchorX:s4,anchorY:r4,pos:o4,point:{isHeader:n4}}=t5,a4={visibility:void 0===o4?"hidden":"inherit",x:e5,y:(o4||0)+D2,anchorX:s4,anchorY:r4};if(i3.outside&&e5<s4){let t6=L2-R2.left;t6>0&&(n4||(a4.x=e5+t6,a4.anchorX=s4+t6),n4&&(a4.x=(R2.right-R2.left)/2,a4.anchorX=s4+t6))}t5.tt.attr(a4)}));let{container:z2,outside:N2,renderer:W2}=i3;if(N2&&z2&&W2){let{width:t5,height:e5,x:i4,y:s4}=T3.getBBox();W2.setSize(t5+i4,e5+s4,false),z2.style.left=R2.left+"px",z2.style.top=O2+"px"}c2&&T3.attr({opacity:1===T3.opacity?.999:1})}drawTracker(){if(!this.shouldStickOnContact()){this.tracker&&(this.tracker=this.tracker.destroy());return}let t4=this.chart,e4=this.label,i3=this.shared?t4.hoverPoints:t4.hoverPoint;if(!e4||!i3)return;let s3={x:0,y:0,width:0,height:0},r3=this.getAnchor(i3),o3=e4.getBBox();r3[0]+=t4.plotLeft-(e4.translateX||0),r3[1]+=t4.plotTop-(e4.translateY||0),s3.x=Math.min(0,r3[0]),s3.y=Math.min(0,r3[1]),s3.width=r3[0]<0?Math.max(Math.abs(r3[0]),o3.width-r3[0]):Math.max(Math.abs(r3[0]),o3.width),s3.height=r3[1]<0?Math.max(Math.abs(r3[1]),o3.height-Math.abs(r3[1])):Math.max(Math.abs(r3[1]),o3.height),this.tracker?this.tracker.attr(s3):(this.tracker=e4.renderer.rect(s3).addClass("highcharts-tracker").add(e4),t4.styledMode||this.tracker.attr({fill:"rgba(0,0,0,0)"}))}styledModeFormat(t4){return t4.replace('style="font-size: 0.8em"','class="highcharts-header"').replace(/style="color:{(point|series)\.color}"/g,'class="highcharts-color-{$1.colorIndex} {series.options.className} {point.options.className}"')}tooltipFooterHeaderFormatter(t4,e4){let i3=t4.series,s3=i3.tooltipOptions,r3=i3.xAxis,o3=r3&&r3.dateTime,n3={isFooter:e4,labelConfig:t4},a3=s3.xDateFormat,l3=s3[e4?"footerFormat":"headerFormat"];return y2(this,"headerFormatter",n3,(function(e5){o3&&!a3&&v2(t4.key)&&(a3=o3.getXDateFormat(t4.key,s3.dateTimeLabelFormats)),o3&&a3&&(t4.point&&t4.point.tooltipDateKeys||["key"]).forEach((function(t5){l3=l3.replace("{point."+t5+"}","{point."+t5+":"+a3+"}")})),i3.chart.styledMode&&(l3=this.styledModeFormat(l3)),e5.text=h2(l3,{point:t4,series:i3},this.chart)})),n3.text}update(t4){this.destroy(),this.init(this.chart,C2(true,this.options,t4))}updatePosition(t4){let{chart:e4,container:i3,distance:s3,options:r3,pointer:o3,renderer:n3}=this,{height:a3=0,width:h3=0}=this.getLabel(),{left:l3,top:d3,scaleX:c3,scaleY:p3}=o3.getChartPosition(),u3=(r3.positioner||this.getPosition).call(this,h3,a3,t4),g3=(t4.plotX||0)+e4.plotLeft,m3=(t4.plotY||0)+e4.plotTop,x3;n3&&i3&&(r3.positioner&&(u3.x+=l3-s3,u3.y+=d3-s3),x3=(r3.borderWidth||0)+2*s3+2,n3.setSize(h3+x3,a3+x3,false),(1!==c3||1!==p3)&&(f2(i3,{transform:`scale(${c3}, ${p3})`}),g3*=c3,m3*=p3),g3+=l3-u3.x,m3+=d3-u3.y),this.move(Math.round(u3.x),Math.round(u3.y||0),g3,m3)}}return(n2=A2||(A2={})).compose=function(t4){M2(l2,"Core.Tooltip")&&u2(t4,"afterInit",(function(){let t5=this.chart;t5.options.tooltip&&(t5.tooltip=new n2(t5,t5.options.tooltip,this))}))},A2})),i(e2,"Core/Series/Point.js",[e2["Core/Renderer/HTML/AST.js"],e2["Core/Animation/AnimationUtilities.js"],e2["Core/Defaults.js"],e2["Core/Templating.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2,s2,r2){let{animObject:o2}=e3,{defaultOptions:n2}=i2,{format:a2}=s2,{addEvent:h2,crisp:l2,erase:d2,extend:c2,fireEvent:p2,getNestedProperty:u2,isArray:g2,isFunction:f2,isNumber:m2,isObject:x2,merge:y2,pick:b2,syncTimeout:v2,removeEvent:S2,uniqueKey:C2}=r2;class k2{animateBeforeDestroy(){let t4=this,e4={x:t4.startXPos,opacity:0},i3=t4.getGraphicalProps();i3.singular.forEach((function(i4){t4[i4]=t4[i4].animate("dataLabel"===i4?{x:t4[i4].startXPos,y:t4[i4].startYPos,opacity:0}:e4)})),i3.plural.forEach((function(e5){t4[e5].forEach((function(e6){e6.element&&e6.animate(c2({x:t4.startXPos},e6.startYPos?{x:e6.startXPos,y:e6.startYPos}:{}))}))}))}applyOptions(t4,e4){let i3=this.series,s3=i3.options.pointValKey||i3.pointValKey;return c2(this,t4=k2.prototype.optionsToObject.call(this,t4)),this.options=this.options?c2(this.options,t4):t4,t4.group&&delete this.group,t4.dataLabels&&delete this.dataLabels,s3&&(this.y=k2.prototype.getNestedProperty.call(this,s3)),this.selected&&(this.state="select"),"name"in this&&void 0===e4&&i3.xAxis&&i3.xAxis.hasNames&&(this.x=i3.xAxis.nameToX(this)),void 0===this.x&&i3?this.x=e4??i3.autoIncrement():m2(t4.x)&&i3.options.relativeXValue&&(this.x=i3.autoIncrement(t4.x)),this.isNull=this.isValid&&!this.isValid(),this.formatPrefix=this.isNull?"null":"point",this}destroy(){if(!this.destroyed){let t4=this,e4=t4.series,i3=e4.chart,s3=e4.options.dataSorting,r3=i3.hoverPoints,n3=o2(t4.series.chart.renderer.globalAnimation),a3=()=>{for(let e5 in(t4.graphic||t4.graphics||t4.dataLabel||t4.dataLabels)&&(S2(t4),t4.destroyElements()),t4)delete t4[e5]};t4.legendItem&&i3.legend.destroyItem(t4),r3&&(t4.setState(),d2(r3,t4),r3.length||(i3.hoverPoints=null)),t4===i3.hoverPoint&&t4.onMouseOut(),s3&&s3.enabled?(this.animateBeforeDestroy(),v2(a3,n3.duration)):a3(),i3.pointCount--}this.destroyed=true}destroyElements(t4){let e4=this,i3=e4.getGraphicalProps(t4);i3.singular.forEach((function(t5){e4[t5]=e4[t5].destroy()})),i3.plural.forEach((function(t5){e4[t5].forEach((function(t6){t6&&t6.element&&t6.destroy()})),delete e4[t5]}))}firePointEvent(t4,e4,i3){let s3=this,r3=this.series.options;s3.manageEvent(t4),"click"===t4&&r3.allowPointSelect&&(i3=function(t5){!s3.destroyed&&s3.select&&s3.select(null,t5.ctrlKey||t5.metaKey||t5.shiftKey)}),p2(s3,t4,e4,i3)}getClassName(){return"highcharts-point"+(this.selected?" highcharts-point-select":"")+(this.negative?" highcharts-negative":"")+(this.isNull?" highcharts-null-point":"")+(void 0!==this.colorIndex?" highcharts-color-"+this.colorIndex:"")+(this.options.className?" "+this.options.className:"")+(this.zone&&this.zone.className?" "+this.zone.className.replace("highcharts-negative",""):"")}getGraphicalProps(t4){let e4,i3;let s3=this,r3=[],o3={singular:[],plural:[]};for((t4=t4||{graphic:1,dataLabel:1}).graphic&&r3.push("graphic","connector"),t4.dataLabel&&r3.push("dataLabel","dataLabelPath","dataLabelUpper"),i3=r3.length;i3--;)s3[e4=r3[i3]]&&o3.singular.push(e4);return["graphic","dataLabel"].forEach((function(e5){let i4=e5+"s";t4[e5]&&s3[i4]&&o3.plural.push(i4)})),o3}getLabelConfig(){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}}getNestedProperty(t4){return t4?0===t4.indexOf("custom.")?u2(t4,this.options):this[t4]:void 0}getZone(){let t4=this.series,e4=t4.zones,i3=t4.zoneAxis||"y",s3,r3=0;for(s3=e4[0];this[i3]>=s3.value;)s3=e4[++r3];return this.nonZonedColor||(this.nonZonedColor=this.color),s3&&s3.color&&!this.options.color?this.color=s3.color:this.color=this.nonZonedColor,s3}hasNewShapeType(){return(this.graphic&&(this.graphic.symbolName||this.graphic.element.nodeName))!==this.shapeType}constructor(t4,e4,i3){this.formatPrefix="point",this.visible=true,this.series=t4,this.applyOptions(e4,i3),this.id??(this.id=C2()),this.resolveColor(),t4.chart.pointCount++,p2(this,"afterInit")}isValid(){return(m2(this.x)||this.x instanceof Date)&&m2(this.y)}optionsToObject(t4){let e4=this.series,i3=e4.options.keys,s3=i3||e4.pointArrayMap||["y"],r3=s3.length,o3={},n3,a3=0,h3=0;if(m2(t4)||null===t4)o3[s3[0]]=t4;else if(g2(t4))for(!i3&&t4.length>r3&&("string"==(n3=typeof t4[0])?o3.name=t4[0]:"number"===n3&&(o3.x=t4[0]),a3++);h3<r3;)i3&&void 0===t4[a3]||(s3[h3].indexOf(".")>0?k2.prototype.setNestedProperty(o3,t4[a3],s3[h3]):o3[s3[h3]]=t4[a3]),a3++,h3++;else"object"==typeof t4&&(o3=t4,t4.dataLabels&&(e4.hasDataLabels=()=>true),t4.marker&&(e4._hasPointMarkers=true));return o3}pos(t4,e4=this.plotY){if(!this.destroyed){let{plotX:i3,series:s3}=this,{chart:r3,xAxis:o3,yAxis:n3}=s3,a3=0,h3=0;if(m2(i3)&&m2(e4))return t4&&(a3=o3?o3.pos:r3.plotLeft,h3=n3?n3.pos:r3.plotTop),r3.inverted&&o3&&n3?[n3.len-e4+h3,o3.len-i3+a3]:[i3+a3,e4+h3]}}resolveColor(){let t4=this.series,e4=t4.chart.options.chart,i3=t4.chart.styledMode,s3,r3,o3=e4.colorCount,n3;delete this.nonZonedColor,t4.options.colorByPoint?(i3||(s3=(r3=t4.options.colors||t4.chart.options.colors)[t4.colorCounter],o3=r3.length),n3=t4.colorCounter,t4.colorCounter++,t4.colorCounter===o3&&(t4.colorCounter=0)):(i3||(s3=t4.color),n3=t4.colorIndex),this.colorIndex=b2(this.options.colorIndex,n3),this.color=b2(this.options.color,s3)}setNestedProperty(t4,e4,i3){return i3.split(".").reduce((function(t5,i4,s3,r3){let o3=r3.length-1===s3;return t5[i4]=o3?e4:x2(t5[i4],true)?t5[i4]:{},t5[i4]}),t4),t4}shouldDraw(){return!this.isNull}tooltipFormatter(t4){let e4=this.series,i3=e4.tooltipOptions,s3=b2(i3.valueDecimals,""),r3=i3.valuePrefix||"",o3=i3.valueSuffix||"";return e4.chart.styledMode&&(t4=e4.chart.tooltip.styledModeFormat(t4)),(e4.pointArrayMap||["y"]).forEach((function(e5){e5="{point."+e5,(r3||o3)&&(t4=t4.replace(RegExp(e5+"}","g"),r3+e5+"}"+o3)),t4=t4.replace(RegExp(e5+"}","g"),e5+":,."+s3+"f}")})),a2(t4,{point:this,series:this.series},e4.chart)}update(t4,e4,i3,s3){let r3;let o3=this,n3=o3.series,a3=o3.graphic,h3=n3.chart,l3=n3.options;function d3(){o3.applyOptions(t4);let s4=a3&&o3.hasMockGraphic,d4=null===o3.y?!s4:s4;a3&&d4&&(o3.graphic=a3.destroy(),delete o3.hasMockGraphic),x2(t4,true)&&(a3&&a3.element&&t4&&t4.marker&&void 0!==t4.marker.symbol&&(o3.graphic=a3.destroy()),(t4==null?void 0:t4.dataLabels)&&o3.dataLabel&&(o3.dataLabel=o3.dataLabel.destroy())),r3=o3.index,n3.updateParallelArrays(o3,r3),l3.data[r3]=x2(l3.data[r3],true)||x2(t4,true)?o3.options:b2(t4,l3.data[r3]),n3.isDirty=n3.isDirtyData=true,!n3.fixedBox&&n3.hasCartesianSeries&&(h3.isDirtyBox=true),"point"===l3.legendType&&(h3.isDirtyLegend=true),e4&&h3.redraw(i3)}e4=b2(e4,true),false===s3?d3():o3.firePointEvent("update",{options:t4},d3)}remove(t4,e4){this.series.removePoint(this.series.data.indexOf(this),t4,e4)}select(t4,e4){let i3=this,s3=i3.series,r3=s3.chart;t4=b2(t4,!i3.selected),this.selectedStaging=t4,i3.firePointEvent(t4?"select":"unselect",{accumulate:e4},(function(){i3.selected=i3.options.selected=t4,s3.options.data[s3.data.indexOf(i3)]=i3.options,i3.setState(t4&&"select"),e4||r3.getSelectedPoints().forEach((function(t5){let e5=t5.series;t5.selected&&t5!==i3&&(t5.selected=t5.options.selected=false,e5.options.data[e5.data.indexOf(t5)]=t5.options,t5.setState(r3.hoverPoints&&e5.options.inactiveOtherPoints?"inactive":""),t5.firePointEvent("unselect"))}))})),delete this.selectedStaging}onMouseOver(t4){let{inverted:e4,pointer:i3}=this.series.chart;i3&&(t4=t4?i3.normalize(t4):i3.getChartCoordinatesFromPoint(this,e4),i3.runPointActions(t4,this))}onMouseOut(){let t4=this.series.chart;this.firePointEvent("mouseOut"),this.series.options.inactiveOtherPoints||(t4.hoverPoints||[]).forEach((function(t5){t5.setState()})),t4.hoverPoints=t4.hoverPoint=null}manageEvent(t4){var _a,_b,_c,_d,_e,_f;let e4=y2(this.series.options.point,this.options),i3=(_a=e4.events)==null?void 0:_a[t4];f2(i3)&&(!((_b=this.hcEvents)==null?void 0:_b[t4])||((_d=(_c=this.hcEvents)==null?void 0:_c[t4])==null?void 0:_d.map((t5=>t5.fn)).indexOf(i3))===-1)?((_e=this.importedUserEvent)==null?void 0:_e.call(this),this.importedUserEvent=h2(this,t4,i3)):this.importedUserEvent&&!i3&&((_f=this.hcEvents)==null?void 0:_f[t4])&&(S2(this,t4),delete this.hcEvents[t4],Object.keys(this.hcEvents)||delete this.importedUserEvent)}setState(e4,i3){var _a;let s3=this.series,r3=this.state,o3=s3.options.states[e4||"normal"]||{},a3=n2.plotOptions[s3.type].marker&&s3.options.marker,h3=a3&&false===a3.enabled,l3=a3&&a3.states&&a3.states[e4||"normal"]||{},d3=false===l3.enabled,u3=this.marker||{},g3=s3.chart,f3=a3&&s3.markerAttribs,x3=s3.halo,y3,v3,S3,C3=s3.stateMarkerGraphic,k3;if((e4=e4||"")===this.state&&!i3||this.selected&&"select"!==e4||false===o3.enabled||e4&&(d3||h3&&false===l3.enabled)||e4&&u3.states&&u3.states[e4]&&false===u3.states[e4].enabled)return;if(this.state=e4,f3&&(y3=s3.markerAttribs(this,e4)),this.graphic&&!this.hasMockGraphic){if(r3&&this.graphic.removeClass("highcharts-point-"+r3),e4&&this.graphic.addClass("highcharts-point-"+e4),!g3.styledMode){v3=s3.pointAttribs(this,e4),S3=b2(g3.options.chart.animation,o3.animation);let t4=v3.opacity;s3.options.inactiveOtherPoints&&m2(t4)&&(this.dataLabels||[]).forEach((function(e5){e5&&!e5.hasClass("highcharts-data-label-hidden")&&(e5.animate({opacity:t4},S3),e5.connector&&e5.connector.animate({opacity:t4},S3))})),this.graphic.animate(v3,S3)}y3&&this.graphic.animate(y3,b2(g3.options.chart.animation,l3.animation,a3.animation)),C3&&C3.hide()}else e4&&l3&&(k3=u3.symbol||s3.symbol,C3&&C3.currentSymbol!==k3&&(C3=C3.destroy()),y3&&(C3?C3[i3?"animate":"attr"]({x:y3.x,y:y3.y}):k3&&(s3.stateMarkerGraphic=C3=g3.renderer.symbol(k3,y3.x,y3.y,y3.width,y3.height).add(s3.markerGroup),C3.currentSymbol=k3)),!g3.styledMode&&C3&&"inactive"!==this.state&&C3.attr(s3.pointAttribs(this,e4))),C3&&(C3[e4&&this.isInside?"show":"hide"](),C3.element.point=this,C3.addClass(this.getClassName(),true));let M2=o3.halo,w2=this.graphic||C3,T2=w2&&w2.visibility||"inherit";M2&&M2.size&&w2&&"hidden"!==T2&&!this.isCluster?(x3||(s3.halo=x3=g3.renderer.path().add(w2.parentGroup)),x3.show()[i3?"animate":"attr"]({d:this.haloPath(M2.size)}),x3.attr({class:"highcharts-halo highcharts-color-"+b2(this.colorIndex,s3.colorIndex)+(this.className?" "+this.className:""),visibility:T2,zIndex:-1}),x3.point=this,g3.styledMode||x3.attr(c2({fill:this.color||s3.color,"fill-opacity":M2.opacity},t3.filterUserAttributes(M2.attributes||{})))):((_a=x3==null?void 0:x3.point)==null?void 0:_a.haloPath)&&!x3.point.destroyed&&x3.animate({d:x3.point.haloPath(0)},null,x3.hide),p2(this,"afterSetState",{state:e4})}haloPath(t4){let e4=this.pos();return e4?this.series.chart.renderer.symbols.circle(l2(e4[0],1)-t4,e4[1]-t4,2*t4,2*t4):[]}}return k2})),i(e2,"Core/Pointer.js",[e2["Core/Color/Color.js"],e2["Core/Globals.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2){var s2;let{parse:r2}=t3,{charts:o2,composed:n2,isTouchDevice:a2}=e3,{addEvent:h2,attr:l2,css:d2,extend:c2,find:p2,fireEvent:u2,isNumber:g2,isObject:f2,objectEach:m2,offset:x2,pick:y2,pushUnique:b2,splat:v2}=i2;class S2{applyInactiveState(t4){let e4=[],i3;(t4||[]).forEach((function(t5){i3=t5.series,e4.push(i3),i3.linkedParent&&e4.push(i3.linkedParent),i3.linkedSeries&&(e4=e4.concat(i3.linkedSeries)),i3.navigatorSeries&&e4.push(i3.navigatorSeries)})),this.chart.series.forEach((function(t5){-1===e4.indexOf(t5)?t5.setState("inactive",true):t5.options.inactiveOtherPoints&&t5.setAllPointsToState("inactive")}))}destroy(){let t4=this;this.eventsToUnbind.forEach((t5=>t5())),this.eventsToUnbind=[],!e3.chartCount&&(S2.unbindDocumentMouseUp&&S2.unbindDocumentMouseUp.forEach((t5=>t5())),S2.unbindDocumentTouchEnd&&(S2.unbindDocumentTouchEnd=S2.unbindDocumentTouchEnd())),clearInterval(t4.tooltipTimeout),m2(t4,(function(e4,i3){t4[i3]=void 0}))}getSelectionMarkerAttrs(t4,e4){let i3={args:{chartX:t4,chartY:e4},attrs:{},shapeType:"rect"};return u2(this,"getSelectionMarkerAttrs",i3,(i4=>{let s3;let{chart:r3,zoomHor:o3,zoomVert:n3}=this,{mouseDownX:a3=0,mouseDownY:h3=0}=r3,l3=i4.attrs;l3.x=r3.plotLeft,l3.y=r3.plotTop,l3.width=o3?1:r3.plotWidth,l3.height=n3?1:r3.plotHeight,o3&&(s3=t4-a3,l3.width=Math.max(1,Math.abs(s3)),l3.x=(s3>0?0:s3)+a3),n3&&(s3=e4-h3,l3.height=Math.max(1,Math.abs(s3)),l3.y=(s3>0?0:s3)+h3)})),i3}drag(t4){let{chart:e4}=this,{mouseDownX:i3=0,mouseDownY:s3=0}=e4,{panning:o3,panKey:n3,selectionMarkerFill:a3}=e4.options.chart,h3=e4.plotLeft,l3=e4.plotTop,d3=e4.plotWidth,c3=e4.plotHeight,p3=f2(o3)?o3.enabled:o3,u3=n3&&t4[`${n3}Key`],g3=t4.chartX,m3=t4.chartY,x3,y3=this.selectionMarker;if((!y3||!y3.touch)&&(g3<h3?g3=h3:g3>h3+d3&&(g3=h3+d3),m3<l3?m3=l3:m3>l3+c3&&(m3=l3+c3),this.hasDragged=Math.sqrt(Math.pow(i3-g3,2)+Math.pow(s3-m3,2)),this.hasDragged>10)){x3=e4.isInsidePlot(i3-h3,s3-l3,{visiblePlotOnly:true});let{shapeType:n4,attrs:d4}=this.getSelectionMarkerAttrs(g3,m3);(e4.hasCartesianSeries||e4.mapView)&&this.hasZoom&&x3&&!u3&&!y3&&(this.selectionMarker=y3=e4.renderer[n4](),y3.attr({class:"highcharts-selection-marker",zIndex:7}).add(),e4.styledMode||y3.attr({fill:a3||r2("#334eff").setOpacity(.25).get()})),y3&&y3.attr(d4),x3&&!y3&&p3&&e4.pan(t4,o3)}}dragStart(t4){let e4=this.chart;e4.mouseIsDown=t4.type,e4.cancelClick=false,e4.mouseDownX=t4.chartX,e4.mouseDownY=t4.chartY}getSelectionBox(t4){let e4={args:{marker:t4},result:t4.getBBox()};return u2(this,"getSelectionBox",e4),e4.result}drop(t4){let e4;let{chart:i3,selectionMarker:s3}=this;for(let t5 of i3.axes)t5.isPanning&&(t5.isPanning=false,(t5.options.startOnTick||t5.options.endOnTick||t5.series.some((t6=>t6.boosted)))&&(t5.forceRedraw=true,t5.setExtremes(t5.userMin,t5.userMax,false),e4=true));if(e4&&i3.redraw(),s3&&t4){if(this.hasDragged){let e5=this.getSelectionBox(s3);i3.transform({axes:i3.axes.filter((t5=>t5.zoomEnabled&&("xAxis"===t5.coll&&this.zoomX||"yAxis"===t5.coll&&this.zoomY))),selection:{originalEvent:t4,xAxis:[],yAxis:[],...e5},from:e5})}g2(i3.index)&&(this.selectionMarker=s3.destroy())}i3&&g2(i3.index)&&(d2(i3.container,{cursor:i3._cursor}),i3.cancelClick=this.hasDragged>10,i3.mouseIsDown=false,this.hasDragged=0,this.pinchDown=[])}findNearestKDPoint(t4,e4,i3){let s3;return t4.forEach((function(t5){let r3=!(t5.noSharedTooltip&&e4)&&0>t5.options.findNearestPointBy.indexOf("y"),o3=t5.searchPoint(i3,r3);f2(o3,true)&&o3.series&&(!f2(s3,true)||function(t6,i4){var _a,_b;let s4=t6.distX-i4.distX,r4=t6.dist-i4.dist,o4=((_a=i4.series.group)==null?void 0:_a.zIndex)-((_b=t6.series.group)==null?void 0:_b.zIndex);return 0!==s4&&e4?s4:0!==r4?r4:0!==o4?o4:t6.series.index>i4.series.index?-1:1}(s3,o3)>0)&&(s3=o3)})),s3}getChartCoordinatesFromPoint(t4,e4){let{xAxis:i3,yAxis:s3}=t4.series,r3=t4.shapeArgs;if(i3&&s3){let o3=t4.clientX??t4.plotX??0,n3=t4.plotY||0;return t4.isNode&&r3&&g2(r3.x)&&g2(r3.y)&&(o3=r3.x,n3=r3.y),e4?{chartX:s3.len+s3.pos-n3,chartY:i3.len+i3.pos-o3}:{chartX:o3+i3.pos,chartY:n3+s3.pos}}if(r3&&r3.x&&r3.y)return{chartX:r3.x,chartY:r3.y}}getChartPosition(){if(this.chartPosition)return this.chartPosition;let{container:t4}=this.chart,e4=x2(t4);this.chartPosition={left:e4.left,top:e4.top,scaleX:1,scaleY:1};let{offsetHeight:i3,offsetWidth:s3}=t4;return s3>2&&i3>2&&(this.chartPosition.scaleX=e4.width/s3,this.chartPosition.scaleY=e4.height/i3),this.chartPosition}getCoordinates(t4){let e4={xAxis:[],yAxis:[]};for(let i3 of this.chart.axes)e4[i3.isXAxis?"xAxis":"yAxis"].push({axis:i3,value:i3.toValue(t4[i3.horiz?"chartX":"chartY"])});return e4}getHoverData(t4,e4,i3,s3,r3,o3){let n3=[],a3=function(t5){return t5.visible&&!(!r3&&t5.directTouch)&&y2(t5.options.enableMouseTracking,true)},h3=e4,l3,d3={chartX:o3?o3.chartX:void 0,chartY:o3?o3.chartY:void 0,shared:r3};u2(this,"beforeGetHoverData",d3),l3=h3&&!h3.stickyTracking?[h3]:i3.filter((t5=>t5.stickyTracking&&(d3.filter||a3)(t5)));let c3=s3&&t4||!o3?t4:this.findNearestKDPoint(l3,r3,o3);return h3=c3&&c3.series,c3&&(r3&&!h3.noSharedTooltip?(l3=i3.filter((function(t5){return d3.filter?d3.filter(t5):a3(t5)&&!t5.noSharedTooltip}))).forEach((function(t5){let e5=p2(t5.points,(function(t6){return t6.x===c3.x&&!t6.isNull}));f2(e5)&&(t5.boosted&&t5.boost&&(e5=t5.boost.getPoint(e5)),n3.push(e5))})):n3.push(c3)),u2(this,"afterGetHoverData",d3={hoverPoint:c3}),{hoverPoint:d3.hoverPoint,hoverSeries:h3,hoverPoints:n3}}getPointFromEvent(t4){let e4=t4.target,i3;for(;e4&&!i3;)i3=e4.point,e4=e4.parentNode;return i3}onTrackerMouseOut(t4){let e4=this.chart,i3=t4.relatedTarget,s3=e4.hoverSeries;this.isDirectTouch=false,!s3||!i3||s3.stickyTracking||this.inClass(i3,"highcharts-tooltip")||this.inClass(i3,"highcharts-series-"+s3.index)&&this.inClass(i3,"highcharts-tracker")||s3.onMouseOut()}inClass(t4,e4){let i3=t4,s3;for(;i3;){if(s3=l2(i3,"class")){if(-1!==s3.indexOf(e4))return true;if(-1!==s3.indexOf("highcharts-container"))return false}i3=i3.parentElement}}constructor(t4,e4){var _a;this.hasDragged=0,this.pointerCaptureEventsToUnbind=[],this.eventsToUnbind=[],this.options=e4,this.chart=t4,this.runChartClick=!!((_a=e4.chart.events)==null?void 0:_a.click),this.pinchDown=[],this.setDOMEvents(),u2(this,"afterInit")}normalize(t4,e4){let i3=t4.touches,s3=i3?i3.length?i3.item(0):y2(i3.changedTouches,t4.changedTouches)[0]:t4;e4||(e4=this.getChartPosition());let r3=s3.pageX-e4.left,o3=s3.pageY-e4.top;return c2(t4,{chartX:Math.round(r3/=e4.scaleX),chartY:Math.round(o3/=e4.scaleY)})}onContainerClick(t4){let e4=this.chart,i3=e4.hoverPoint,s3=this.normalize(t4),r3=e4.plotLeft,o3=e4.plotTop;!e4.cancelClick&&(i3&&this.inClass(s3.target,"highcharts-tracker")?(u2(i3.series,"click",c2(s3,{point:i3})),e4.hoverPoint&&i3.firePointEvent("click",s3)):(c2(s3,this.getCoordinates(s3)),e4.isInsidePlot(s3.chartX-r3,s3.chartY-o3,{visiblePlotOnly:true})&&u2(e4,"click",s3)))}onContainerMouseDown(t4){var _a;let i3=(1&(t4.buttons||t4.button))==1;t4=this.normalize(t4),e3.isFirefox&&0!==t4.button&&this.onContainerMouseMove(t4),(void 0===t4.button||i3)&&(this.zoomOption(t4),i3&&((_a=t4.preventDefault)==null?void 0:_a.call(t4)),this.dragStart(t4))}onContainerMouseLeave(t4){let{pointer:e4}=o2[y2(S2.hoverChartIndex,-1)]||{};t4=this.normalize(t4),this.onContainerMouseMove(t4),e4&&!this.inClass(t4.relatedTarget,"highcharts-tooltip")&&(e4.reset(),e4.chartPosition=void 0)}onContainerMouseEnter(){delete this.chartPosition}onContainerMouseMove(t4){let e4=this.chart,i3=e4.tooltip,s3=this.normalize(t4);this.setHoverChartIndex(t4),("mousedown"===e4.mouseIsDown||this.touchSelect(s3))&&this.drag(s3),!e4.openMenu&&(this.inClass(s3.target,"highcharts-tracker")||e4.isInsidePlot(s3.chartX-e4.plotLeft,s3.chartY-e4.plotTop,{visiblePlotOnly:true}))&&!(i3&&i3.shouldStickOnContact(s3))&&(this.inClass(s3.target,"highcharts-no-tooltip")?this.reset(false,0):this.runPointActions(s3))}onDocumentTouchEnd(t4){this.onDocumentMouseUp(t4)}onContainerTouchMove(t4){this.touchSelect(t4)?this.onContainerMouseMove(t4):this.touch(t4)}onContainerTouchStart(t4){this.touchSelect(t4)?this.onContainerMouseDown(t4):(this.zoomOption(t4),this.touch(t4,true))}onDocumentMouseMove(t4){let e4=this.chart,i3=e4.tooltip,s3=this.chartPosition,r3=this.normalize(t4,s3);!s3||e4.isInsidePlot(r3.chartX-e4.plotLeft,r3.chartY-e4.plotTop,{visiblePlotOnly:true})||i3&&i3.shouldStickOnContact(r3)||r3.target!==e4.container.ownerDocument&&this.inClass(r3.target,"highcharts-tracker")||this.reset()}onDocumentMouseUp(t4){var _a,_b;(_b=(_a=o2[y2(S2.hoverChartIndex,-1)])==null?void 0:_a.pointer)==null?void 0:_b.drop(t4)}pinch(t4){let e4=this,{chart:i3,hasZoom:s3,lastTouches:r3}=e4,o3=[].map.call(t4.touches||[],(t5=>e4.normalize(t5))),n3=o3.length,a3=1===n3&&(e4.inClass(t4.target,"highcharts-tracker")&&i3.runTrackerClick||e4.runChartClick),h3=i3.tooltip,l3=1===n3&&y2(h3==null?void 0:h3.options.followTouchMove,true);n3>1?e4.initiated=true:l3&&(e4.initiated=false),s3&&e4.initiated&&!a3&&false!==t4.cancelable&&t4.preventDefault(),"touchstart"===t4.type?(e4.pinchDown=o3,e4.res=true,i3.mouseDownX=t4.chartX):l3?this.runPointActions(e4.normalize(t4)):r3&&(u2(i3,"touchpan",{originalEvent:t4,touches:o3},(()=>{let e5=t5=>{let e6=t5[0],i4=t5[1]||e6;return{x:e6.chartX,y:e6.chartY,width:i4.chartX-e6.chartX,height:i4.chartY-e6.chartY}};i3.transform({axes:i3.axes.filter((t5=>t5.zoomEnabled&&(this.zoomHor&&t5.horiz||this.zoomVert&&!t5.horiz))),to:e5(o3),from:e5(r3),trigger:t4.type})})),e4.res&&(e4.res=false,this.reset(false,0))),e4.lastTouches=o3}reset(t4,e4){let i3=this.chart,s3=i3.hoverSeries,r3=i3.hoverPoint,o3=i3.hoverPoints,n3=i3.tooltip,a3=n3&&n3.shared?o3:r3;t4&&a3&&v2(a3).forEach((function(e5){e5.series.isCartesian&&void 0===e5.plotX&&(t4=false)})),t4?n3&&a3&&v2(a3).length&&(n3.refresh(a3),n3.shared&&o3?o3.forEach((function(t5){t5.setState(t5.state,true),t5.series.isCartesian&&(t5.series.xAxis.crosshair&&t5.series.xAxis.drawCrosshair(null,t5),t5.series.yAxis.crosshair&&t5.series.yAxis.drawCrosshair(null,t5))})):r3&&(r3.setState(r3.state,true),i3.axes.forEach((function(t5){t5.crosshair&&r3.series[t5.coll]===t5&&t5.drawCrosshair(null,r3)})))):(r3&&r3.onMouseOut(),o3&&o3.forEach((function(t5){t5.setState()})),s3&&s3.onMouseOut(),n3&&n3.hide(e4),this.unDocMouseMove&&(this.unDocMouseMove=this.unDocMouseMove()),i3.axes.forEach((function(t5){t5.hideCrosshair()})),i3.hoverPoints=i3.hoverPoint=void 0)}runPointActions(t4,e4,i3){let s3=this.chart,r3=s3.series,n3=s3.tooltip&&s3.tooltip.options.enabled?s3.tooltip:void 0,a3=!!n3&&n3.shared,l3=e4||s3.hoverPoint,d3=l3&&l3.series||s3.hoverSeries,c3=(!t4||"touchmove"!==t4.type)&&(!!e4||d3&&d3.directTouch&&this.isDirectTouch),u3=this.getHoverData(l3,d3,r3,c3,a3,t4);l3=u3.hoverPoint,d3=u3.hoverSeries;let g3=u3.hoverPoints,f3=d3&&d3.tooltipOptions.followPointer&&!d3.tooltipOptions.split,m3=a3&&d3&&!d3.noSharedTooltip;if(l3&&(i3||l3!==s3.hoverPoint||n3&&n3.isHidden)){if((s3.hoverPoints||[]).forEach((function(t5){-1===g3.indexOf(t5)&&t5.setState()})),s3.hoverSeries!==d3&&d3.onMouseOver(),this.applyInactiveState(g3),(g3||[]).forEach((function(t5){t5.setState("hover")})),s3.hoverPoint&&s3.hoverPoint.firePointEvent("mouseOut"),!l3.series)return;s3.hoverPoints=g3,s3.hoverPoint=l3,l3.firePointEvent("mouseOver",void 0,(()=>{n3&&l3&&n3.refresh(m3?g3:l3,t4)}))}else if(f3&&n3&&!n3.isHidden){let e5=n3.getAnchor([{}],t4);s3.isInsidePlot(e5[0],e5[1],{visiblePlotOnly:true})&&n3.updatePosition({plotX:e5[0],plotY:e5[1]})}this.unDocMouseMove||(this.unDocMouseMove=h2(s3.container.ownerDocument,"mousemove",(t5=>{var _a,_b;return(_b=(_a=o2[S2.hoverChartIndex??-1])==null?void 0:_a.pointer)==null?void 0:_b.onDocumentMouseMove(t5)})),this.eventsToUnbind.push(this.unDocMouseMove)),s3.axes.forEach((function(e5){let i4;let r4=y2((e5.crosshair||{}).snap,true);!r4||(i4=s3.hoverPoint)&&i4.series[e5.coll]===e5||(i4=p2(g3,(t5=>t5.series&&t5.series[e5.coll]===e5))),i4||!r4?e5.drawCrosshair(t4,i4):e5.hideCrosshair()}))}setDOMEvents(){let t4=this.chart.container,e4=t4.ownerDocument;t4.onmousedown=this.onContainerMouseDown.bind(this),t4.onmousemove=this.onContainerMouseMove.bind(this),t4.onclick=this.onContainerClick.bind(this),this.eventsToUnbind.push(h2(t4,"mouseenter",this.onContainerMouseEnter.bind(this)),h2(t4,"mouseleave",this.onContainerMouseLeave.bind(this))),S2.unbindDocumentMouseUp||(S2.unbindDocumentMouseUp=[]),S2.unbindDocumentMouseUp.push(h2(e4,"mouseup",this.onDocumentMouseUp.bind(this)));let i3=this.chart.renderTo.parentElement;for(;i3&&"BODY"!==i3.tagName;)this.eventsToUnbind.push(h2(i3,"scroll",(()=>{delete this.chartPosition}))),i3=i3.parentElement;this.eventsToUnbind.push(h2(t4,"touchstart",this.onContainerTouchStart.bind(this),{passive:false}),h2(t4,"touchmove",this.onContainerTouchMove.bind(this),{passive:false})),S2.unbindDocumentTouchEnd||(S2.unbindDocumentTouchEnd=h2(e4,"touchend",this.onDocumentTouchEnd.bind(this),{passive:false})),this.setPointerCapture(),h2(this.chart,"redraw",this.setPointerCapture.bind(this))}setPointerCapture(){var _a,_b;if(!a2)return;let t4=this.pointerCaptureEventsToUnbind,e4=this.chart,i3=e4.container,s3=y2((_a=e4.options.tooltip)==null?void 0:_a.followTouchMove,true)&&e4.series.some((t5=>t5.options.findNearestPointBy.indexOf("y")>-1));!this.hasPointerCapture&&s3?(t4.push(h2(i3,"pointerdown",(t5=>{var _a2,_b2;((_a2=t5.target)==null?void 0:_a2.hasPointerCapture(t5.pointerId))&&((_b2=t5.target)==null?void 0:_b2.releasePointerCapture(t5.pointerId))})),h2(i3,"pointermove",(t5=>{var _a2,_b2;(_b2=(_a2=e4.pointer)==null?void 0:_a2.getPointFromEvent(t5))==null?void 0:_b2.onMouseOver(t5)}))),e4.styledMode||d2(i3,{"touch-action":"none"}),i3.className+=" highcharts-no-touch-action",this.hasPointerCapture=true):this.hasPointerCapture&&!s3&&(t4.forEach((t5=>t5())),t4.length=0,e4.styledMode||d2(i3,{"touch-action":y2((_b=e4.options.chart.style)==null?void 0:_b["touch-action"],"manipulation")}),i3.className=i3.className.replace(" highcharts-no-touch-action",""),this.hasPointerCapture=false)}setHoverChartIndex(t4){var _a;let i3=this.chart,s3=e3.charts[y2(S2.hoverChartIndex,-1)];if(s3&&s3!==i3){let e4={relatedTarget:i3.container};t4&&!(t4==null?void 0:t4.relatedTarget)&&(t4={...e4,...t4}),(_a=s3.pointer)==null?void 0:_a.onContainerMouseLeave(t4||e4)}s3&&s3.mouseIsDown||(S2.hoverChartIndex=i3.index)}touch(t4,e4){let i3;let{chart:s3,pinchDown:r3=[]}=this;this.setHoverChartIndex(),1===(t4=this.normalize(t4)).touches.length?s3.isInsidePlot(t4.chartX-s3.plotLeft,t4.chartY-s3.plotTop,{visiblePlotOnly:true})&&!s3.openMenu?(e4&&this.runPointActions(t4),"touchmove"===t4.type&&(i3=!!r3[0]&&Math.pow(r3[0].chartX-t4.chartX,2)+Math.pow(r3[0].chartY-t4.chartY,2)>=16),y2(i3,true)&&this.pinch(t4)):e4&&this.reset():2===t4.touches.length&&this.pinch(t4)}touchSelect(t4){return!!(this.chart.zooming.singleTouch&&t4.touches&&1===t4.touches.length)}zoomOption(t4){let e4=this.chart,i3=e4.inverted,s3=e4.zooming.type||"",r3,o3;/touch/.test(t4.type)&&(s3=y2(e4.zooming.pinchType,s3)),this.zoomX=r3=/x/.test(s3),this.zoomY=o3=/y/.test(s3),this.zoomHor=r3&&!i3||o3&&i3,this.zoomVert=o3&&!i3||r3&&i3,this.hasZoom=r3||o3}}return(s2=S2||(S2={})).compose=function(t4){b2(n2,"Core.Pointer")&&h2(t4,"beforeRender",(function(){this.pointer=new s2(this,this.options)}))},S2})),i(e2,"Core/Legend/LegendSymbol.js",[e2["Core/Utilities.js"]],(function(t3){var e3;let{extend:i2,merge:s2,pick:r2}=t3;return function(t4){function e4(t5,e5,o2){var _a,_b;let n2=this.legendItem=this.legendItem||{},{chart:a2,options:h2}=this,{baseline:l2=0,symbolWidth:d2,symbolHeight:c2}=t5,p2=this.symbol||"circle",u2=c2/2,g2=a2.renderer,f2=n2.group,m2=l2-Math.round((((_a=t5.fontMetrics)==null?void 0:_a.b)||c2)*(o2?.4:.3)),x2={},y2,b2=h2.marker,v2=0;if(a2.styledMode||(x2["stroke-width"]=Math.min(h2.lineWidth||0,24),h2.dashStyle?x2.dashstyle=h2.dashStyle:"square"===h2.linecap||(x2["stroke-linecap"]="round")),n2.line=g2.path().addClass("highcharts-graph").attr(x2).add(f2),o2&&(n2.area=g2.path().addClass("highcharts-area").add(f2)),x2["stroke-linecap"]&&(v2=Math.min(n2.line.strokeWidth(),d2)/2),d2){let t6=[["M",v2,m2],["L",d2-v2,m2]];n2.line.attr({d:t6}),(_b=n2.area)==null?void 0:_b.attr({d:[...t6,["L",d2-v2,l2],["L",v2,l2]]})}if(b2&&false!==b2.enabled&&d2){let t6=Math.min(r2(b2.radius,u2),u2);0===p2.indexOf("url")&&(b2=s2(b2,{width:c2,height:c2}),t6=0),n2.symbol=y2=g2.symbol(p2,d2/2-t6,m2-t6,2*t6,2*t6,i2({context:"legend"},b2)).addClass("highcharts-point").add(f2),y2.isMarker=true}}t4.areaMarker=function(t5,i3){e4.call(this,t5,i3,true)},t4.lineMarker=e4,t4.rectangle=function(t5,e5){let i3=e5.legendItem||{},s3=t5.options,o2=t5.symbolHeight,n2=s3.squareSymbol,a2=n2?o2:t5.symbolWidth;i3.symbol=this.chart.renderer.rect(n2?(t5.symbolWidth-o2)/2:0,t5.baseline-o2+1,a2,o2,r2(t5.options.symbolRadius,o2/2)).addClass("highcharts-point").attr({zIndex:3}).add(i3.group)}}(e3||(e3={})),e3})),i(e2,"Core/Series/SeriesDefaults.js",[],(function(){return{lineWidth:2,allowPointSelect:false,crisp:true,showCheckbox:false,animation:{duration:1e3},enableMouseTracking:true,events:{},marker:{enabledThreshold:2,lineColor:"#ffffff",lineWidth:0,radius:4,states:{normal:{animation:true},hover:{animation:{duration:150},enabled:true,radiusPlus:2,lineWidthPlus:1},select:{fillColor:"#cccccc",lineColor:"#000000",lineWidth:2}}},point:{events:{}},dataLabels:{animation:{},align:"center",borderWidth:0,defer:true,formatter:function(){let{numberFormatter:t3}=this.series.chart;return"number"!=typeof this.y?"":t3(this.y,-1)},padding:5,style:{fontSize:"0.7em",fontWeight:"bold",color:"contrast",textOutline:"1px contrast"},verticalAlign:"bottom",x:0,y:0},cropThreshold:300,opacity:1,pointRange:0,softThreshold:true,states:{normal:{animation:true},hover:{animation:{duration:150},lineWidthPlus:1,marker:{},halo:{size:10,opacity:.25}},select:{animation:{duration:0}},inactive:{animation:{duration:150},opacity:.2}},stickyTracking:true,turboThreshold:1e3,findNearestPointBy:"x"}})),i(e2,"Core/Series/SeriesRegistry.js",[e2["Core/Globals.js"],e2["Core/Defaults.js"],e2["Core/Series/Point.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2,s2){var r2;let{defaultOptions:o2}=e3,{extend:n2,extendClass:a2,merge:h2}=s2;return function(e4){function s3(t4,s4){let r3=o2.plotOptions||{},n3=s4.defaultOptions,a3=s4.prototype;return a3.type=t4,a3.pointClass||(a3.pointClass=i2),!e4.seriesTypes[t4]&&(n3&&(r3[t4]=n3),e4.seriesTypes[t4]=s4,true)}e4.seriesTypes=t3.seriesTypes,e4.registerSeriesType=s3,e4.seriesType=function(t4,r3,l2,d2,c2){let p2=o2.plotOptions||{};if(r3=r3||"",p2[t4]=h2(p2[r3],l2),delete e4.seriesTypes[t4],s3(t4,a2(e4.seriesTypes[r3]||function(){},d2)),e4.seriesTypes[t4].prototype.type=t4,c2){class s4 extends i2{}n2(s4.prototype,c2),e4.seriesTypes[t4].prototype.pointClass=s4}return e4.seriesTypes[t4]}}(r2||(r2={})),r2})),i(e2,"Core/Series/Series.js",[e2["Core/Animation/AnimationUtilities.js"],e2["Core/Defaults.js"],e2["Core/Foundation.js"],e2["Core/Globals.js"],e2["Core/Legend/LegendSymbol.js"],e2["Core/Series/Point.js"],e2["Core/Series/SeriesDefaults.js"],e2["Core/Series/SeriesRegistry.js"],e2["Core/Renderer/SVG/SVGElement.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2,s2,r2,o2,n2,a2,h2,l2){let{animObject:d2,setAnimation:c2}=t3,{defaultOptions:p2}=e3,{registerEventOptions:u2}=i2,{svg:g2,win:f2}=s2,{seriesTypes:m2}=a2,{arrayMax:x2,arrayMin:y2,clamp:b2,correctFloat:v2,crisp:S2,defined:C2,destroyObjectProperties:k2,diffObjects:M2,erase:w2,error:T2,extend:A2,find:P2,fireEvent:L2,getClosestDistance:O2,getNestedProperty:D2,insertItem:E2,isArray:I2,isNumber:j,isString:B2,merge:R2,objectEach:z2,pick:N2,removeEvent:W2,splat:G2,syncTimeout:H2}=l2;class X2{constructor(){this.zoneAxis="y"}init(t4,e4){let i3;L2(this,"init",{options:e4});let s3=this,r3=t4.series;this.eventsToUnbind=[],s3.chart=t4,s3.options=s3.setOptions(e4);let o3=s3.options,n3=false!==o3.visible;s3.linkedSeries=[],s3.bindAxes(),A2(s3,{name:o3.name,state:"",visible:n3,selected:true===o3.selected}),u2(this,o3);let a3=o3.events;(a3&&a3.click||o3.point&&o3.point.events&&o3.point.events.click||o3.allowPointSelect)&&(t4.runTrackerClick=true),s3.getColor(),s3.getSymbol(),s3.parallelArrays.forEach((function(t5){s3[t5+"Data"]||(s3[t5+"Data"]=[])})),s3.isCartesian&&(t4.hasCartesianSeries=true),r3.length&&(i3=r3[r3.length-1]),s3._i=N2(i3&&i3._i,-1)+1,s3.opacity=s3.options.opacity,t4.orderItems("series",E2(this,r3)),o3.dataSorting&&o3.dataSorting.enabled?s3.setDataSortingOptions():s3.points||s3.data||s3.setData(o3.data,false),L2(this,"afterInit")}is(t4){return m2[t4]&&this instanceof m2[t4]}bindAxes(){let t4;let e4=this,i3=e4.options,s3=e4.chart;L2(this,"bindAxes",null,(function(){(e4.axisTypes||[]).forEach((function(r3){(s3[r3]||[]).forEach((function(s4){t4=s4.options,(N2(i3[r3],0)===s4.index||void 0!==i3[r3]&&i3[r3]===t4.id)&&(E2(e4,s4.series),e4[r3]=s4,s4.isDirty=true)})),e4[r3]||e4.optionalAxis===r3||T2(18,true,s3)}))})),L2(this,"afterBindAxes")}updateParallelArrays(t4,e4,i3){let s3=t4.series,r3=j(e4)?function(i4){let r4="y"===i4&&s3.toYData?s3.toYData(t4):t4[i4];s3[i4+"Data"][e4]=r4}:function(t5){Array.prototype[e4].apply(s3[t5+"Data"],i3)};s3.parallelArrays.forEach(r3)}hasData(){return this.visible&&void 0!==this.dataMax&&void 0!==this.dataMin||this.visible&&this.yData&&this.yData.length>0}hasMarkerChanged(t4,e4){let i3=t4.marker,s3=e4.marker||{};return i3&&(s3.enabled&&!i3.enabled||s3.symbol!==i3.symbol||s3.height!==i3.height||s3.width!==i3.width)}autoIncrement(t4){let e4=this.options,i3=e4.pointIntervalUnit,s3=e4.relativeXValue,r3=this.chart.time,o3=this.xIncrement,n3,a3;return(o3=N2(o3,e4.pointStart,0),this.pointInterval=a3=N2(this.pointInterval,e4.pointInterval,1),s3&&j(t4)&&(a3*=t4),i3&&(n3=new r3.Date(o3),"day"===i3?r3.set("Date",n3,r3.get("Date",n3)+a3):"month"===i3?r3.set("Month",n3,r3.get("Month",n3)+a3):"year"===i3&&r3.set("FullYear",n3,r3.get("FullYear",n3)+a3),a3=n3.getTime()-o3),s3&&j(t4))?o3+a3:(this.xIncrement=o3+a3,o3)}setDataSortingOptions(){let t4=this.options;A2(this,{requireSorting:false,sorted:false,enabledDataSorting:true,allowDG:false}),C2(t4.pointRange)||(t4.pointRange=1)}setOptions(t4){var _a,_b;let e4;let i3=this.chart,s3=i3.options.plotOptions,r3=i3.userOptions||{},o3=R2(t4),n3=i3.styledMode,a3={plotOptions:s3,userOptions:o3};L2(this,"setOptions",a3);let h3=a3.plotOptions[this.type],l3=r3.plotOptions||{},d3=l3.series||{},c3=p2.plotOptions[this.type]||{},u3=l3[this.type]||{};this.userOptions=a3.userOptions;let g3=R2(h3,s3.series,u3,o3);this.tooltipOptions=R2(p2.tooltip,(_a=p2.plotOptions.series)==null?void 0:_a.tooltip,c3==null?void 0:c3.tooltip,i3.userOptions.tooltip,(_b=l3.series)==null?void 0:_b.tooltip,u3.tooltip,o3.tooltip),this.stickyTracking=N2(o3.stickyTracking,u3.stickyTracking,d3.stickyTracking,!!this.tooltipOptions.shared&&!this.noSharedTooltip||g3.stickyTracking),null===h3.marker&&delete g3.marker,this.zoneAxis=g3.zoneAxis||"y";let f3=this.zones=(g3.zones||[]).map((t5=>({...t5})));return(g3.negativeColor||g3.negativeFillColor)&&!g3.zones&&(e4={value:g3[this.zoneAxis+"Threshold"]||g3.threshold||0,className:"highcharts-negative"},n3||(e4.color=g3.negativeColor,e4.fillColor=g3.negativeFillColor),f3.push(e4)),f3.length&&C2(f3[f3.length-1].value)&&f3.push(n3?{}:{color:this.color,fillColor:this.fillColor}),L2(this,"afterSetOptions",{options:g3}),g3}getName(){return N2(this.options.name,"Series "+(this.index+1))}getCyclic(t4,e4,i3){let s3,r3;let o3=this.chart,n3=`${t4}Index`,a3=`${t4}Counter`,h3=(i3==null?void 0:i3.length)||o3.options.chart.colorCount;!e4&&(C2(r3=N2("color"===t4?this.options.colorIndex:void 0,this[n3]))?s3=r3:(o3.series.length||(o3[a3]=0),s3=o3[a3]%h3,o3[a3]+=1),i3&&(e4=i3[s3])),void 0!==s3&&(this[n3]=s3),this[t4]=e4}getColor(){this.chart.styledMode?this.getCyclic("color"):this.options.colorByPoint?this.color="#cccccc":this.getCyclic("color",this.options.color||p2.plotOptions[this.type].color,this.chart.options.colors)}getPointsCollection(){return(this.hasGroupedData?this.points:this.data)||[]}getSymbol(){let t4=this.options.marker;this.getCyclic("symbol",t4.symbol,this.chart.options.symbols)}findPointIndex(t4,e4){let i3,s3,r3;let n3=t4.id,a3=t4.x,h3=this.points,l3=this.options.dataSorting;if(n3){let t5=this.chart.get(n3);t5 instanceof o2&&(i3=t5)}else if(this.linkedParent||this.enabledDataSorting||this.options.relativeXValue){let e5=e6=>!e6.touched&&e6.index===t4.index;if(l3&&l3.matchByName?e5=e6=>!e6.touched&&e6.name===t4.name:this.options.relativeXValue&&(e5=e6=>!e6.touched&&e6.options.x===t4.x),!(i3=P2(h3,e5)))return}return i3&&void 0!==(r3=i3&&i3.index)&&(s3=true),void 0===r3&&j(a3)&&(r3=this.xData.indexOf(a3,e4)),-1!==r3&&void 0!==r3&&this.cropped&&(r3=r3>=this.cropStart?r3-this.cropStart:r3),!s3&&j(r3)&&h3[r3]&&h3[r3].touched&&(r3=void 0),r3}updateData(t4,e4){let i3=this.options,s3=i3.dataSorting,r3=this.points,o3=[],n3=this.requireSorting,a3=t4.length===r3.length,h3,l3,d3,c3,p3=true;if(this.xIncrement=null,t4.forEach((function(t5,e5){let l4;let d4=C2(t5)&&this.pointClass.prototype.optionsToObject.call({series:this},t5)||{},p4=d4.x;d4.id||j(p4)?(-1===(l4=this.findPointIndex(d4,c3))||void 0===l4?o3.push(t5):r3[l4]&&t5!==i3.data[l4]?(r3[l4].update(t5,false,null,false),r3[l4].touched=true,n3&&(c3=l4+1)):r3[l4]&&(r3[l4].touched=true),(!a3||e5!==l4||s3&&s3.enabled||this.hasDerivedData)&&(h3=true)):o3.push(t5)}),this),h3)for(l3=r3.length;l3--;)(d3=r3[l3])&&!d3.touched&&d3.remove&&d3.remove(false,e4);else!a3||s3&&s3.enabled?p3=false:(t4.forEach((function(t5,e5){t5===r3[e5].y||r3[e5].destroyed||r3[e5].update(t5,false,null,false)})),o3.length=0);return r3.forEach((function(t5){t5&&(t5.touched=false)})),!!p3&&(o3.forEach((function(t5){this.addPoint(t5,false,null,null,false)}),this),null===this.xIncrement&&this.xData&&this.xData.length&&(this.xIncrement=x2(this.xData),this.autoIncrement()),true)}setData(t4,e4=true,i3,s3){var _a;let r3=this,o3=r3.points,n3=o3&&o3.length||0,a3=r3.options,h3=r3.chart,l3=a3.dataSorting,d3=r3.xAxis,c3=a3.turboThreshold,p3=this.xData,u3=this.yData,g3=r3.pointArrayMap,f3=g3&&g3.length,m3=a3.keys,x3,y3,b3,v3=0,S3=1,C3;h3.options.chart.allowMutatingData||(a3.data&&delete r3.options.data,r3.userOptions.data&&delete r3.userOptions.data,C3=R2(true,t4));let k3=(t4=C3||t4||[]).length;if(l3&&l3.enabled&&(t4=this.sortData(t4)),h3.options.chart.allowMutatingData&&false!==s3&&k3&&n3&&!r3.cropped&&!r3.hasGroupedData&&r3.visible&&!r3.boosted&&(b3=this.updateData(t4,i3)),!b3){r3.xIncrement=null,r3.colorCounter=0,this.parallelArrays.forEach((function(t5){r3[t5+"Data"].length=0}));let e5=c3&&k3>c3;if(e5){let i4=r3.getFirstValidPoint(t4),s4=r3.getFirstValidPoint(t4,k3-1,-1),o4=t5=>!!(I2(t5)&&(m3||j(t5[0])));if(j(i4)&&j(s4))for(x3=0;x3<k3;x3++)p3[x3]=this.autoIncrement(),u3[x3]=t4[x3];else if(o4(i4)&&o4(s4)){if(f3){if(i4.length===f3)for(x3=0;x3<k3;x3++)p3[x3]=this.autoIncrement(),u3[x3]=t4[x3];else for(x3=0;x3<k3;x3++)y3=t4[x3],p3[x3]=y3[0],u3[x3]=y3.slice(1,f3+1)}else if(m3&&(v3=m3.indexOf("x"),S3=m3.indexOf("y"),v3=v3>=0?v3:0,S3=S3>=0?S3:1),1===i4.length&&(S3=0),v3===S3)for(x3=0;x3<k3;x3++)p3[x3]=this.autoIncrement(),u3[x3]=t4[x3][S3];else for(x3=0;x3<k3;x3++)y3=t4[x3],p3[x3]=y3[v3],u3[x3]=y3[S3]}else e5=false}if(!e5)for(x3=0;x3<k3;x3++)y3={series:r3},r3.pointClass.prototype.applyOptions.apply(y3,[t4[x3]]),r3.updateParallelArrays(y3,x3);for(u3&&B2(u3[0])&&T2(14,true,h3),r3.data=[],r3.options.data=r3.userOptions.data=t4,x3=n3;x3--;)(_a=o3[x3])==null?void 0:_a.destroy();d3&&(d3.minRange=d3.userMinRange),r3.isDirty=h3.isDirtyBox=true,r3.isDirtyData=!!o3,i3=false}"point"===a3.legendType&&(this.processData(),this.generatePoints()),e4&&h3.redraw(i3)}sortData(t4){let e4=this,i3=e4.options.dataSorting.sortKey||"y",s3=function(t5,e5){return C2(e5)&&t5.pointClass.prototype.optionsToObject.call({series:t5},e5)||{}};return t4.forEach((function(i4,r3){t4[r3]=s3(e4,i4),t4[r3].index=r3}),this),t4.concat().sort(((t5,e5)=>{let s4=D2(i3,t5),r3=D2(i3,e5);return r3<s4?-1:r3>s4?1:0})).forEach((function(t5,e5){t5.x=e5}),this),e4.linkedSeries&&e4.linkedSeries.forEach((function(e5){let i4=e5.options,r3=i4.data;i4.dataSorting&&i4.dataSorting.enabled||!r3||(r3.forEach((function(i5,o3){r3[o3]=s3(e5,i5),t4[o3]&&(r3[o3].x=t4[o3].x,r3[o3].index=o3)})),e5.setData(r3,false))})),t4}getProcessedData(t4){let e4=this,i3=e4.xAxis,s3=e4.options.cropThreshold,r3=i3==null?void 0:i3.logarithmic,o3=e4.isCartesian,n3,a3,h3=0,l3,d3,c3,p3=e4.xData,u3=e4.yData,g3=false,f3=p3.length;i3&&(d3=(l3=i3.getExtremes()).min,c3=l3.max,g3=!!(i3.categories&&!i3.names.length)),o3&&e4.sorted&&!t4&&(!s3||f3>s3||e4.forceCrop)&&(p3[f3-1]<d3||p3[0]>c3?(p3=[],u3=[]):e4.yData&&(p3[0]<d3||p3[f3-1]>c3)&&(p3=(n3=this.cropData(e4.xData,e4.yData,d3,c3)).xData,u3=n3.yData,h3=n3.start,a3=true));let m3=O2([r3?p3.map(r3.log2lin):p3],(()=>e4.requireSorting&&!g3&&T2(15,false,e4.chart)));return{xData:p3,yData:u3,cropped:a3,cropStart:h3,closestPointRange:m3}}processData(t4){let e4=this.xAxis;if(this.isCartesian&&!this.isDirty&&!e4.isDirty&&!this.yAxis.isDirty&&!t4)return false;let i3=this.getProcessedData();this.cropped=i3.cropped,this.cropStart=i3.cropStart,this.processedXData=i3.xData,this.processedYData=i3.yData,this.closestPointRange=this.basePointRange=i3.closestPointRange,L2(this,"afterProcessData")}cropData(t4,e4,i3,s3){let r3=t4.length,o3,n3,a3=0,h3=r3;for(o3=0;o3<r3;o3++)if(t4[o3]>=i3){a3=Math.max(0,o3-1);break}for(n3=o3;n3<r3;n3++)if(t4[n3]>s3){h3=n3+1;break}return{xData:t4.slice(a3,h3),yData:e4.slice(a3,h3),start:a3,end:h3}}generatePoints(){let t4=this.options,e4=this.processedData||t4.data,i3=this.processedXData,s3=this.processedYData,r3=this.pointClass,o3=i3.length,n3=this.cropStart||0,a3=this.hasGroupedData,h3=t4.keys,l3=[],d3=t4.dataGrouping&&t4.dataGrouping.groupAll?n3:0,c3,p3,u3,g3,f3=this.data;if(!f3&&!a3){let t5=[];t5.length=e4.length,f3=this.data=t5}for(h3&&a3&&(this.options.keys=false),g3=0;g3<o3;g3++)p3=n3+g3,a3?((u3=new r3(this,[i3[g3]].concat(G2(s3[g3])))).dataGroup=this.groupMap[d3+g3],u3.dataGroup.options&&(u3.options=u3.dataGroup.options,A2(u3,u3.dataGroup.options),delete u3.dataLabels)):(u3=f3[p3])||void 0===e4[p3]||(f3[p3]=u3=new r3(this,e4[p3],i3[g3])),u3&&(u3.index=a3?d3+g3:p3,l3[g3]=u3);if(this.options.keys=h3,f3&&(o3!==(c3=f3.length)||a3))for(g3=0;g3<c3;g3++)g3!==n3||a3||(g3+=o3),f3[g3]&&(f3[g3].destroyElements(),f3[g3].plotX=void 0);this.data=f3,this.points=l3,L2(this,"afterGeneratePoints")}getXExtremes(t4){return{min:y2(t4),max:x2(t4)}}getExtremes(t4,e4){let i3=this.xAxis,s3=this.yAxis,r3=[],o3=this.requireSorting&&!this.is("column")?1:0,n3=!!s3&&s3.positiveValuesOnly,a3=e4||this.getExtremesFromAll||this.options.getExtremesFromAll,{processedXData:h3,processedYData:l3}=this,d3,c3,p3,u3,g3,f3,m3,b3=0,v3=0,S3=0;if(this.cropped&&a3){let t5=this.getProcessedData(true);h3=t5.xData,l3=t5.yData}let C3=(t4=t4||this.stackedYData||l3||[]).length,k3=h3||this.xData;for(i3&&(b3=(d3=i3.getExtremes()).min,v3=d3.max),f3=0;f3<C3;f3++)if(u3=k3[f3],c3=(j(g3=t4[f3])||I2(g3))&&((j(g3)?g3>0:g3.length)||!n3),p3=e4||this.getExtremesFromAll||this.options.getExtremesFromAll||this.cropped||!i3||(k3[f3+o3]||u3)>=b3&&(k3[f3-o3]||u3)<=v3,c3&&p3){if(m3=g3.length)for(;m3--;)j(g3[m3])&&(r3[S3++]=g3[m3]);else r3[S3++]=g3}let M3={activeYData:r3,dataMin:y2(r3),dataMax:x2(r3)};return L2(this,"afterGetExtremes",{dataExtremes:M3}),M3}applyExtremes(){let t4=this.getExtremes();return this.dataMin=t4.dataMin,this.dataMax=t4.dataMax,t4}getFirstValidPoint(t4,e4=0,i3=1){let s3=t4.length,r3=e4;for(;r3>=0&&r3<s3;){if(C2(t4[r3]))return t4[r3];r3+=i3}}translate(){var _a;this.processedXData||this.processData(),this.generatePoints();let t4=this.options,e4=t4.stacking,i3=this.xAxis,s3=i3.categories,r3=this.enabledDataSorting,o3=this.yAxis,n3=this.points,a3=n3.length,h3=this.pointPlacementToXValue(),l3=!!h3,d3=t4.threshold,c3=t4.startFromThreshold?d3:0,p3,u3,g3,f3,m3=Number.MAX_VALUE;function x3(t5){return b2(t5,-1e9,1e9)}for(p3=0;p3<a3;p3++){let t5;let a4=n3[p3],y3=a4.x,b3,S3,k3=a4.y,M3=a4.low,w3=e4&&((_a=o3.stacking)==null?void 0:_a.stacks[(this.negStacks&&k3<(c3?0:d3)?"-":"")+this.stackKey]);u3=i3.translate(y3,false,false,false,true,h3),a4.plotX=j(u3)?v2(x3(u3)):void 0,e4&&this.visible&&w3&&w3[y3]&&(f3=this.getStackIndicator(f3,y3,this.index),!a4.isNull&&f3.key&&(S3=(b3=w3[y3]).points[f3.key]),b3&&I2(S3)&&(M3=S3[0],k3=S3[1],M3===c3&&f3.key===w3[y3].base&&(M3=N2(j(d3)?d3:o3.min)),o3.positiveValuesOnly&&C2(M3)&&M3<=0&&(M3=void 0),a4.total=a4.stackTotal=N2(b3.total),a4.percentage=C2(a4.y)&&b3.total?a4.y/b3.total*100:void 0,a4.stackY=k3,this.irregularWidths||b3.setOffset(this.pointXOffset||0,this.barW||0,void 0,void 0,void 0,this.xAxis))),a4.yBottom=C2(M3)?x3(o3.translate(M3,false,true,false,true)):void 0,this.dataModify&&(k3=this.dataModify.modifyValue(k3,p3)),j(k3)&&void 0!==a4.plotX&&(t5=j(t5=o3.translate(k3,false,true,false,true))?x3(t5):void 0),a4.plotY=t5,a4.isInside=this.isPointInside(a4),a4.clientX=l3?v2(i3.translate(y3,false,false,false,true,h3)):u3,a4.negative=(a4.y||0)<(d3||0),a4.category=N2(s3&&s3[a4.x],a4.x),a4.isNull||false===a4.visible||(void 0!==g3&&(m3=Math.min(m3,Math.abs(u3-g3))),g3=u3),a4.zone=this.zones.length?a4.getZone():void 0,!a4.graphic&&this.group&&r3&&(a4.isNew=true)}this.closestPointRangePx=m3,L2(this,"afterTranslate")}getValidPoints(t4,e4,i3){let s3=this.chart;return(t4||this.points||[]).filter((function(t5){let{plotX:r3,plotY:o3}=t5;return!!((i3||!t5.isNull&&j(o3))&&(!e4||s3.isInsidePlot(r3,o3,{inverted:s3.inverted})))&&false!==t5.visible}))}getClipBox(){let{chart:t4,xAxis:e4,yAxis:i3}=this,{x:s3,y:r3,width:o3,height:n3}=R2(t4.clipBox);return e4&&e4.len!==t4.plotSizeX&&(o3=e4.len),i3&&i3.len!==t4.plotSizeY&&(n3=i3.len),t4.inverted&&!this.invertible&&([o3,n3]=[n3,o3]),{x:s3,y:r3,width:o3,height:n3}}getSharedClipKey(){return this.sharedClipKey=(this.options.xAxis||0)+","+(this.options.yAxis||0),this.sharedClipKey}setClip(){let{chart:t4,group:e4,markerGroup:i3}=this,s3=t4.sharedClips,r3=t4.renderer,o3=this.getClipBox(),n3=this.getSharedClipKey(),a3=s3[n3];a3?a3.animate(o3):s3[n3]=a3=r3.clipRect(o3),e4&&e4.clip(false===this.options.clip?void 0:a3),i3&&i3.clip()}animate(t4){let{chart:e4,group:i3,markerGroup:s3}=this,r3=e4.inverted,o3=d2(this.options.animation),n3=[this.getSharedClipKey(),o3.duration,o3.easing,o3.defer].join(","),a3=e4.sharedClips[n3],h3=e4.sharedClips[n3+"m"];if(t4&&i3){let t5=this.getClipBox();if(a3)a3.attr("height",t5.height);else{t5.width=0,r3&&(t5.x=e4.plotHeight),a3=e4.renderer.clipRect(t5),e4.sharedClips[n3]=a3;let i4={x:-99,y:-99,width:r3?e4.plotWidth+199:99,height:r3?99:e4.plotHeight+199};h3=e4.renderer.clipRect(i4),e4.sharedClips[n3+"m"]=h3}i3.clip(a3),s3==null?void 0:s3.clip(h3)}else if(a3&&!a3.hasClass("highcharts-animating")){let t5=this.getClipBox(),i4=o3.step;((s3==null?void 0:s3.element.childNodes.length)||e4.series.length>1)&&(o3.step=function(t6,e5){i4&&i4.apply(e5,arguments),"width"===e5.prop&&(h3==null?void 0:h3.element)&&h3.attr(r3?"height":"width",t6+99)}),a3.addClass("highcharts-animating").animate(t5,o3)}}afterAnimate(){this.setClip(),z2(this.chart.sharedClips,((t4,e4,i3)=>{t4&&!this.chart.container.querySelector(`[clip-path="url(#${t4.id})"]`)&&(t4.destroy(),delete i3[e4])})),this.finishedAnimating=true,L2(this,"afterAnimate")}drawPoints(t4=this.points){let e4,i3,s3,r3,o3,n3,a3;let h3=this.chart,l3=h3.styledMode,{colorAxis:d3,options:c3}=this,p3=c3.marker,u3=this[this.specialGroup||"markerGroup"],g3=this.xAxis,f3=N2(p3.enabled,!g3||!!g3.isRadial||null,this.closestPointRangePx>=p3.enabledThreshold*p3.radius);if(false!==p3.enabled||this._hasPointMarkers)for(e4=0;e4<t4.length;e4++)if(r3=(s3=(i3=t4[e4]).graphic)?"animate":"attr",o3=i3.marker||{},n3=!!i3.marker,(f3&&void 0===o3.enabled||o3.enabled)&&!i3.isNull&&false!==i3.visible){let t5=N2(o3.symbol,this.symbol,"rect");a3=this.markerAttribs(i3,i3.selected&&"select"),this.enabledDataSorting&&(i3.startXPos=g3.reversed?-(a3.width||0):g3.width);let e5=false!==i3.isInside;if(!s3&&e5&&((a3.width||0)>0||i3.hasImage)&&(i3.graphic=s3=h3.renderer.symbol(t5,a3.x,a3.y,a3.width,a3.height,n3?o3:p3).add(u3),this.enabledDataSorting&&h3.hasRendered&&(s3.attr({x:i3.startXPos}),r3="animate")),s3&&"animate"===r3&&s3[e5?"show":"hide"](e5).animate(a3),s3){let t6=this.pointAttribs(i3,l3||!i3.selected?void 0:"select");l3?d3&&s3.css({fill:t6.fill}):s3[r3](t6)}s3&&s3.addClass(i3.getClassName(),true)}else s3&&(i3.graphic=s3.destroy())}markerAttribs(t4,e4){let i3=this.options,s3=i3.marker,r3=t4.marker||{},o3=r3.symbol||s3.symbol,n3={},a3,h3,l3=N2(r3.radius,s3&&s3.radius);e4&&(a3=s3.states[e4],l3=N2((h3=r3.states&&r3.states[e4])&&h3.radius,a3&&a3.radius,l3&&l3+(a3&&a3.radiusPlus||0))),t4.hasImage=o3&&0===o3.indexOf("url"),t4.hasImage&&(l3=0);let d3=t4.pos();return j(l3)&&d3&&(i3.crisp&&(d3[0]=S2(d3[0],t4.hasImage?0:"rect"===o3?(s3==null?void 0:s3.lineWidth)||0:1)),n3.x=d3[0]-l3,n3.y=d3[1]-l3),l3&&(n3.width=n3.height=2*l3),n3}pointAttribs(t4,e4){let i3=this.options.marker,s3=t4&&t4.options,r3=s3&&s3.marker||{},o3=s3&&s3.color,n3=t4&&t4.color,a3=t4&&t4.zone&&t4.zone.color,h3,l3,d3=this.color,c3,p3,u3=N2(r3.lineWidth,i3.lineWidth),g3=1;return d3=o3||a3||n3||d3,c3=r3.fillColor||i3.fillColor||d3,p3=r3.lineColor||i3.lineColor||d3,e4=e4||"normal",h3=i3.states[e4]||{},u3=N2((l3=r3.states&&r3.states[e4]||{}).lineWidth,h3.lineWidth,u3+N2(l3.lineWidthPlus,h3.lineWidthPlus,0)),c3=l3.fillColor||h3.fillColor||c3,{stroke:p3=l3.lineColor||h3.lineColor||p3,"stroke-width":u3,fill:c3,opacity:g3=N2(l3.opacity,h3.opacity,g3)}}destroy(t4){let e4,i3,s3;let r3=this,o3=r3.chart,n3=/AppleWebKit\/533/.test(f2.navigator.userAgent),a3=r3.data||[];for(L2(r3,"destroy",{keepEventsForUpdate:t4}),this.removeEvents(t4),(r3.axisTypes||[]).forEach((function(t5){(s3=r3[t5])&&s3.series&&(w2(s3.series,r3),s3.isDirty=s3.forceRedraw=true)})),r3.legendItem&&r3.chart.legend.destroyItem(r3),e4=a3.length;e4--;)(i3=a3[e4])&&i3.destroy&&i3.destroy();for(let t5 of r3.zones)k2(t5,void 0,true);l2.clearTimeout(r3.animationTimeout),z2(r3,(function(t5,e5){t5 instanceof h2&&!t5.survive&&t5[n3&&"group"===e5?"hide":"destroy"]()})),o3.hoverSeries===r3&&(o3.hoverSeries=void 0),w2(o3.series,r3),o3.orderItems("series"),z2(r3,(function(e5,i4){t4&&"hcEvents"===i4||delete r3[i4]}))}applyZones(){let{area:t4,chart:e4,graph:i3,zones:s3,points:r3,xAxis:o3,yAxis:n3,zoneAxis:a3}=this,{inverted:h3,renderer:l3}=e4,d3=this[`${a3}Axis`],{isXAxis:c3,len:p3=0}=d3||{},u3=((i3==null?void 0:i3.strokeWidth())||0)/2+1,g3=(t5,e5=0,i4=0)=>{h3&&(i4=p3-i4);let{translated:s4=0,lineClip:r4}=t5,o4=i4-s4;r4==null?void 0:r4.push(["L",e5,Math.abs(o4)<u3?i4-u3*(o4<=0?-1:1):s4])};if(s3.length&&(i3||t4)&&d3&&j(d3.min)){let e5=d3.getExtremes().max,u4=t5=>{t5.forEach(((e6,i4)=>{("M"===e6[0]||"L"===e6[0])&&(t5[i4]=[e6[0],c3?p3-e6[1]:e6[1],c3?e6[2]:p3-e6[2]])}))};if(s3.forEach((t5=>{t5.lineClip=[],t5.translated=b2(d3.toPixels(N2(t5.value,e5),true)||0,0,p3)})),i3&&!this.showLine&&i3.hide(),t4&&t4.hide(),"y"===a3&&r3.length<o3.len)for(let t5 of r3){let{plotX:e6,plotY:i4,zone:r4}=t5,o4=r4&&s3[s3.indexOf(r4)-1];r4&&g3(r4,e6,i4),o4&&g3(o4,e6,i4)}let f3=[],m3=d3.toPixels(d3.getExtremes().min,true);s3.forEach((e6=>{var _a,_b;let s4=e6.lineClip||[],r4=Math.round(e6.translated||0);o3.reversed&&s4.reverse();let{clip:a4,simpleClip:d4}=e6,p4=0,g4=0,x3=o3.len,y3=n3.len;c3?(p4=r4,x3=m3):(g4=r4,y3=m3);let b3=[["M",p4,g4],["L",x3,g4],["L",x3,y3],["L",p4,y3],["Z"]],v3=[b3[0],...s4,b3[1],b3[2],...f3,b3[3],b3[4]];f3=s4.reverse(),m3=r4,h3&&(u4(v3),t4&&u4(b3)),a4?(a4.animate({d:v3}),d4==null?void 0:d4.animate({d:b3})):(a4=e6.clip=l3.path(v3),t4&&(d4=e6.simpleClip=l3.path(b3))),i3&&((_a=e6.graph)==null?void 0:_a.clip(a4)),t4&&((_b=e6.area)==null?void 0:_b.clip(d4))}))}else this.visible&&(i3&&i3.show(),t4&&t4.show())}plotGroup(t4,e4,i3,s3,r3){let o3=this[t4],n3=!o3,a3={visibility:i3,zIndex:s3||.1};return C2(this.opacity)&&!this.chart.styledMode&&"inactive"!==this.state&&(a3.opacity=this.opacity),o3||(this[t4]=o3=this.chart.renderer.g().add(r3)),o3.addClass("highcharts-"+e4+" highcharts-series-"+this.index+" highcharts-"+this.type+"-series "+(C2(this.colorIndex)?"highcharts-color-"+this.colorIndex+" ":"")+(this.options.className||"")+(o3.hasClass("highcharts-tracker")?" highcharts-tracker":""),true),o3.attr(a3)[n3?"attr":"animate"](this.getPlotBox(e4)),o3}getPlotBox(t4){let e4=this.xAxis,i3=this.yAxis,s3=this.chart,r3=s3.inverted&&!s3.polar&&e4&&this.invertible&&"series"===t4;return s3.inverted&&(e4=i3,i3=this.xAxis),{translateX:e4?e4.left:s3.plotLeft,translateY:i3?i3.top:s3.plotTop,rotation:r3?90:0,rotationOriginX:r3?(e4.len-i3.len)/2:0,rotationOriginY:r3?(e4.len+i3.len)/2:0,scaleX:r3?-1:1,scaleY:1}}removeEvents(t4){let{eventsToUnbind:e4}=this;t4||W2(this),e4.length&&(e4.forEach((t5=>{t5()})),e4.length=0)}render(){var _a,_b,_c,_d,_e;let t4=this,{chart:e4,options:i3,hasRendered:s3}=t4,r3=d2(i3.animation),o3=t4.visible?"inherit":"hidden",n3=i3.zIndex,a3=e4.seriesGroup,h3=t4.finishedAnimating?0:r3.duration;L2(this,"render"),t4.plotGroup("group","series",o3,n3,a3),t4.markerGroup=t4.plotGroup("markerGroup","markers",o3,n3,a3),false!==i3.clip&&t4.setClip(),h3&&((_a=t4.animate)==null?void 0:_a.call(t4,true)),t4.drawGraph&&(t4.drawGraph(),t4.applyZones()),t4.visible&&t4.drawPoints(),(_b=t4.drawDataLabels)==null?void 0:_b.call(t4),(_c=t4.redrawPoints)==null?void 0:_c.call(t4),i3.enableMouseTracking&&((_d=t4.drawTracker)==null?void 0:_d.call(t4)),h3&&((_e=t4.animate)==null?void 0:_e.call(t4)),s3||(h3&&r3.defer&&(h3+=r3.defer),t4.animationTimeout=H2((()=>{t4.afterAnimate()}),h3||0)),t4.isDirty=false,t4.hasRendered=true,L2(t4,"afterRender")}redraw(){let t4=this.isDirty||this.isDirtyData;this.translate(),this.render(),t4&&delete this.kdTree}reserveSpace(){return this.visible||!this.chart.options.chart.ignoreHiddenSeries}searchPoint(t4,e4){let{xAxis:i3,yAxis:s3}=this,r3=this.chart.inverted;return this.searchKDTree({clientX:r3?i3.len-t4.chartY+i3.pos:t4.chartX-i3.pos,plotY:r3?s3.len-t4.chartX+s3.pos:t4.chartY-s3.pos},e4,t4)}buildKDTree(t4){this.buildingKdTree=true;let e4=this,i3=e4.options.findNearestPointBy.indexOf("y")>-1?2:1;delete e4.kdTree,H2((function(){e4.kdTree=function t5(i4,s3,r3){let o3,n3;let a3=i4==null?void 0:i4.length;if(a3)return o3=e4.kdAxisArray[s3%r3],i4.sort(((t6,e5)=>(t6[o3]||0)-(e5[o3]||0))),{point:i4[n3=Math.floor(a3/2)],left:t5(i4.slice(0,n3),s3+1,r3),right:t5(i4.slice(n3+1),s3+1,r3)}}(e4.getValidPoints(void 0,!e4.directTouch),i3,i3),e4.buildingKdTree=false}),e4.options.kdNow||(t4==null?void 0:t4.type)==="touchstart"?0:1)}searchKDTree(t4,e4,i3){let s3=this,[r3,o3]=this.kdAxisArray,n3=e4?"distX":"dist",a3=(s3.options.findNearestPointBy||"").indexOf("y")>-1?2:1,h3=!!s3.isBubble;if(this.kdTree||this.buildingKdTree||this.buildKDTree(i3),this.kdTree)return function t5(e5,i4,a4,l3){var _a;let d3=i4.point,c3=s3.kdAxisArray[a4%l3],p3,u3,g3=d3;!function(t6,e6){var _a2;let i5=t6[r3],s4=e6[r3],n4=C2(i5)&&C2(s4)?i5-s4:null,a5=t6[o3],l4=e6[o3],d4=C2(a5)&&C2(l4)?a5-l4:0,c4=h3&&((_a2=e6.marker)==null?void 0:_a2.radius)||0;e6.dist=Math.sqrt((n4&&n4*n4||0)+d4*d4)-c4,e6.distX=C2(n4)?Math.abs(n4)-c4:Number.MAX_VALUE}(e5,d3);let f3=(e5[c3]||0)-(d3[c3]||0)+(h3&&((_a=d3.marker)==null?void 0:_a.radius)||0),m3=f3<0?"left":"right",x3=f3<0?"right":"left";return i4[m3]&&(g3=(p3=t5(e5,i4[m3],a4+1,l3))[n3]<g3[n3]?p3:d3),i4[x3]&&Math.sqrt(f3*f3)<g3[n3]&&(g3=(u3=t5(e5,i4[x3],a4+1,l3))[n3]<g3[n3]?u3:g3),g3}(t4,this.kdTree,a3,a3)}pointPlacementToXValue(){let{options:t4,xAxis:e4}=this,i3=t4.pointPlacement;return"between"===i3&&(i3=e4.reversed?-.5:.5),j(i3)?i3*(t4.pointRange||e4.pointRange):0}isPointInside(t4){let{chart:e4,xAxis:i3,yAxis:s3}=this,{plotX:r3=-1,plotY:o3=-1}=t4;return o3>=0&&o3<=(s3?s3.len:e4.plotHeight)&&r3>=0&&r3<=(i3?i3.len:e4.plotWidth)}drawTracker(){var _a;let t4=this,e4=t4.options,i3=e4.trackByArea,s3=[].concat((i3?t4.areaPath:t4.graphPath)||[]),r3=t4.chart,o3=r3.pointer,n3=r3.renderer,a3=((_a=r3.options.tooltip)==null?void 0:_a.snap)||0,h3=()=>{e4.enableMouseTracking&&r3.hoverSeries!==t4&&t4.onMouseOver()},l3="rgba(192,192,192,"+(g2?1e-4:.002)+")",d3=t4.tracker;d3?d3.attr({d:s3}):t4.graph&&(t4.tracker=d3=n3.path(s3).attr({visibility:t4.visible?"inherit":"hidden",zIndex:2}).addClass(i3?"highcharts-tracker-area":"highcharts-tracker-line").add(t4.group),r3.styledMode||d3.attr({"stroke-linecap":"round","stroke-linejoin":"round",stroke:l3,fill:i3?l3:"none","stroke-width":t4.graph.strokeWidth()+(i3?0:2*a3)}),[t4.tracker,t4.markerGroup,t4.dataLabelsGroup].forEach((t5=>{t5&&(t5.addClass("highcharts-tracker").on("mouseover",h3).on("mouseout",(t6=>{o3==null?void 0:o3.onTrackerMouseOut(t6)})),e4.cursor&&!r3.styledMode&&t5.css({cursor:e4.cursor}),t5.on("touchstart",h3))}))),L2(this,"afterDrawTracker")}addPoint(t4,e4,i3,s3,r3){let o3,n3;let a3=this.options,h3=this.data,l3=this.chart,d3=this.xAxis,c3=d3&&d3.hasNames&&d3.names,p3=a3.data,u3=this.xData;e4=N2(e4,true);let g3={series:this};this.pointClass.prototype.applyOptions.apply(g3,[t4]);let f3=g3.x;if(n3=u3.length,this.requireSorting&&f3<u3[n3-1])for(o3=true;n3&&u3[n3-1]>f3;)n3--;this.updateParallelArrays(g3,"splice",[n3,0,0]),this.updateParallelArrays(g3,n3),c3&&g3.name&&(c3[f3]=g3.name),p3.splice(n3,0,t4),(o3||this.processedData)&&(this.data.splice(n3,0,null),this.processData()),"point"===a3.legendType&&this.generatePoints(),i3&&(h3[0]&&h3[0].remove?h3[0].remove(false):(h3.shift(),this.updateParallelArrays(g3,"shift"),p3.shift())),false!==r3&&L2(this,"addPoint",{point:g3}),this.isDirty=true,this.isDirtyData=true,e4&&l3.redraw(s3)}removePoint(t4,e4,i3){let s3=this,r3=s3.data,o3=r3[t4],n3=s3.points,a3=s3.chart,h3=function(){n3&&n3.length===r3.length&&n3.splice(t4,1),r3.splice(t4,1),s3.options.data.splice(t4,1),s3.updateParallelArrays(o3||{series:s3},"splice",[t4,1]),o3&&o3.destroy(),s3.isDirty=true,s3.isDirtyData=true,e4&&a3.redraw()};c2(i3,a3),e4=N2(e4,true),o3?o3.firePointEvent("remove",null,h3):h3()}remove(t4,e4,i3,s3){let r3=this,o3=r3.chart;function n3(){r3.destroy(s3),o3.isDirtyLegend=o3.isDirtyBox=true,o3.linkSeries(s3),N2(t4,true)&&o3.redraw(e4)}false!==i3?L2(r3,"remove",null,n3):n3()}update(t4,e4){var _a,_b,_c;L2(this,"update",{options:t4=M2(t4,this.userOptions)});let i3=this,s3=i3.chart,r3=i3.userOptions,o3=i3.initialType||i3.type,n3=s3.options.plotOptions,a3=m2[o3].prototype,h3=i3.finishedAnimating&&{animation:false},l3={},d3,c3,p3=["colorIndex","eventOptions","navigatorSeries","symbolIndex","baseSeries"],u3=t4.type||r3.type||s3.options.chart.type,g3=!(this.hasDerivedData||u3&&u3!==this.type||void 0!==t4.pointStart||void 0!==t4.pointInterval||void 0!==t4.relativeXValue||t4.joinBy||t4.mapData||["dataGrouping","pointStart","pointInterval","pointIntervalUnit","keys"].some((t5=>i3.hasOptionChanged(t5))));u3=u3||o3,g3&&(p3.push("data","isDirtyData","isDirtyCanvas","points","processedData","processedXData","processedYData","xIncrement","cropped","_hasPointMarkers","hasDataLabels","nodes","layout","level","mapMap","mapData","minY","maxY","minX","maxX","transformGroups"),false!==t4.visible&&p3.push("area","graph"),i3.parallelArrays.forEach((function(t5){p3.push(t5+"Data")})),t4.data&&(t4.dataSorting&&A2(i3.options.dataSorting,t4.dataSorting),this.setData(t4.data,false))),t4=R2(r3,{index:void 0===r3.index?i3.index:r3.index,pointStart:((_a=n3==null?void 0:n3.series)==null?void 0:_a.pointStart)??r3.pointStart??((_b=i3.xData)==null?void 0:_b[0])},!g3&&{data:i3.options.data},t4,h3),g3&&t4.data&&(t4.data=i3.options.data),(p3=["group","markerGroup","dataLabelsGroup","transformGroup"].concat(p3)).forEach((function(t5){p3[t5]=i3[t5],delete i3[t5]}));let f3=false;if(m2[u3]){if(f3=u3!==i3.type,i3.remove(false,false,false,true),f3){if(s3.propFromSeries(),Object.setPrototypeOf)Object.setPrototypeOf(i3,m2[u3].prototype);else{let t5=Object.hasOwnProperty.call(i3,"hcEvents")&&i3.hcEvents;for(c3 in a3)i3[c3]=void 0;A2(i3,m2[u3].prototype),t5?i3.hcEvents=t5:delete i3.hcEvents}}}else T2(17,true,s3,{missingModuleFor:u3});if(p3.forEach((function(t5){i3[t5]=p3[t5]})),i3.init(s3,t4),g3&&this.points)for(let t5 of(false===(d3=i3.options).visible?(l3.graphic=1,l3.dataLabel=1):(this.hasMarkerChanged(d3,r3)&&(l3.graphic=1),((_c=i3.hasDataLabels)==null?void 0:_c.call(i3))||(l3.dataLabel=1)),this.points))t5&&t5.series&&(t5.resolveColor(),Object.keys(l3).length&&t5.destroyElements(l3),false===d3.showInLegend&&t5.legendItem&&s3.legend.destroyItem(t5));i3.initialType=o3,s3.linkSeries(),s3.setSortedData(),f3&&i3.linkedSeries.length&&(i3.isDirtyData=true),L2(this,"afterUpdate"),N2(e4,true)&&s3.redraw(!!g3&&void 0)}setName(t4){this.name=this.options.name=this.userOptions.name=t4,this.chart.isDirtyLegend=true}hasOptionChanged(t4){var _a,_b;let e4=this.chart,i3=this.options[t4],s3=e4.options.plotOptions,r3=this.userOptions[t4],o3=N2((_a=s3==null?void 0:s3[this.type])==null?void 0:_a[t4],(_b=s3==null?void 0:s3.series)==null?void 0:_b[t4]);return r3&&!C2(o3)?i3!==r3:i3!==N2(o3,i3)}onMouseOver(){let t4=this.chart,e4=t4.hoverSeries,i3=t4.pointer;i3==null?void 0:i3.setHoverChartIndex(),e4&&e4!==this&&e4.onMouseOut(),this.options.events.mouseOver&&L2(this,"mouseOver"),this.setState("hover"),t4.hoverSeries=this}onMouseOut(){let t4=this.options,e4=this.chart,i3=e4.tooltip,s3=e4.hoverPoint;e4.hoverSeries=null,s3&&s3.onMouseOut(),this&&t4.events.mouseOut&&L2(this,"mouseOut"),i3&&!this.stickyTracking&&(!i3.shared||this.noSharedTooltip)&&i3.hide(),e4.series.forEach((function(t5){t5.setState("",true)}))}setState(t4,e4){let i3=this,s3=i3.options,r3=i3.graph,o3=s3.inactiveOtherPoints,n3=s3.states,a3=N2(n3[t4||"normal"]&&n3[t4||"normal"].animation,i3.chart.options.chart.animation),h3=s3.lineWidth,l3=s3.opacity;if(t4=t4||"",i3.state!==t4&&([i3.group,i3.markerGroup,i3.dataLabelsGroup].forEach((function(e5){e5&&(i3.state&&e5.removeClass("highcharts-series-"+i3.state),t4&&e5.addClass("highcharts-series-"+t4))})),i3.state=t4,!i3.chart.styledMode)){if(n3[t4]&&false===n3[t4].enabled)return;if(t4&&(h3=n3[t4].lineWidth||h3+(n3[t4].lineWidthPlus||0),l3=N2(n3[t4].opacity,l3)),r3&&!r3.dashstyle&&j(h3))for(let t5 of[r3,...this.zones.map((t6=>t6.graph))])t5==null?void 0:t5.animate({"stroke-width":h3},a3);o3||[i3.group,i3.markerGroup,i3.dataLabelsGroup,i3.labelBySeries].forEach((function(t5){t5&&t5.animate({opacity:l3},a3)}))}e4&&o3&&i3.points&&i3.setAllPointsToState(t4||void 0)}setAllPointsToState(t4){this.points.forEach((function(e4){e4.setState&&e4.setState(t4)}))}setVisible(t4,e4){var _a;let i3=this,s3=i3.chart,r3=s3.options.chart.ignoreHiddenSeries,o3=i3.visible;i3.visible=t4=i3.options.visible=i3.userOptions.visible=void 0===t4?!o3:t4;let n3=t4?"show":"hide";["group","dataLabelsGroup","markerGroup","tracker","tt"].forEach((t5=>{var _a2;(_a2=i3[t5])==null?void 0:_a2[n3]()})),(s3.hoverSeries===i3||((_a=s3.hoverPoint)==null?void 0:_a.series)===i3)&&i3.onMouseOut(),i3.legendItem&&s3.legend.colorizeItem(i3,t4),i3.isDirty=true,i3.options.stacking&&s3.series.forEach((t5=>{t5.options.stacking&&t5.visible&&(t5.isDirty=true)})),i3.linkedSeries.forEach((e5=>{e5.setVisible(t4,false)})),r3&&(s3.isDirtyBox=true),L2(i3,n3),false!==e4&&s3.redraw()}show(){this.setVisible(true)}hide(){this.setVisible(false)}select(t4){this.selected=t4=this.options.selected=void 0===t4?!this.selected:t4,this.checkbox&&(this.checkbox.checked=t4),L2(this,t4?"select":"unselect")}shouldShowTooltip(t4,e4,i3={}){return i3.series=this,i3.visiblePlotOnly=true,this.chart.isInsidePlot(t4,e4,i3)}drawLegendSymbol(t4,e4){var _a;(_a=r2[this.options.legendSymbol||"rectangle"])==null?void 0:_a.call(this,t4,e4)}}return X2.defaultOptions=n2,X2.types=a2.seriesTypes,X2.registerType=a2.registerSeriesType,A2(X2.prototype,{axisTypes:["xAxis","yAxis"],coll:"series",colorCounter:0,directTouch:false,invertible:true,isCartesian:true,kdAxisArray:["clientX","plotY"],parallelArrays:["x","y"],pointClass:o2,requireSorting:true,sorted:true}),a2.series=X2,X2})),i(e2,"Core/Legend/Legend.js",[e2["Core/Animation/AnimationUtilities.js"],e2["Core/Foundation.js"],e2["Core/Globals.js"],e2["Core/Series/Series.js"],e2["Core/Series/Point.js"],e2["Core/Renderer/RendererUtilities.js"],e2["Core/Templating.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2,s2,r2,o2,n2,a2){var h2;let{animObject:l2,setAnimation:d2}=t3,{registerEventOptions:c2}=e3,{composed:p2,marginNames:u2}=i2,{distribute:g2}=o2,{format:f2}=n2,{addEvent:m2,createElement:x2,css:y2,defined:b2,discardElement:v2,find:S2,fireEvent:C2,isNumber:k2,merge:M2,pick:w2,pushUnique:T2,relativeLength:A2,stableSort:P2,syncTimeout:L2}=a2;class O2{constructor(t4,e4){this.allItems=[],this.initialItemY=0,this.itemHeight=0,this.itemMarginBottom=0,this.itemMarginTop=0,this.itemX=0,this.itemY=0,this.lastItemY=0,this.lastLineHeight=0,this.legendHeight=0,this.legendWidth=0,this.maxItemWidth=0,this.maxLegendWidth=0,this.offsetWidth=0,this.padding=0,this.pages=[],this.symbolHeight=0,this.symbolWidth=0,this.titleHeight=0,this.totalItemWidth=0,this.widthOption=0,this.chart=t4,this.setOptions(e4),e4.enabled&&(this.render(),c2(this,e4),m2(this.chart,"endResize",(function(){this.legend.positionCheckboxes()}))),m2(this.chart,"render",(()=>{this.options.enabled&&this.proximate&&(this.proximatePositions(),this.positionItems())}))}setOptions(t4){let e4=w2(t4.padding,8);this.options=t4,this.chart.styledMode||(this.itemStyle=t4.itemStyle,this.itemHiddenStyle=M2(this.itemStyle,t4.itemHiddenStyle)),this.itemMarginTop=t4.itemMarginTop,this.itemMarginBottom=t4.itemMarginBottom,this.padding=e4,this.initialItemY=e4-5,this.symbolWidth=w2(t4.symbolWidth,16),this.pages=[],this.proximate="proximate"===t4.layout&&!this.chart.inverted,this.baseline=void 0}update(t4,e4){let i3=this.chart;this.setOptions(M2(true,this.options,t4)),"events"in this.options&&c2(this,this.options),this.destroy(),i3.isDirtyLegend=i3.isDirtyBox=true,w2(e4,true)&&i3.redraw(),C2(this,"afterUpdate",{redraw:e4})}colorizeItem(t4,e4){let{area:i3,group:s3,label:r3,line:o3,symbol:n3}=t4.legendItem||{};if(s3==null?void 0:s3[e4?"removeClass":"addClass"]("highcharts-legend-item-hidden"),!this.chart.styledMode){let{itemHiddenStyle:s4={}}=this,a3=s4.color,{fillColor:h3,fillOpacity:l3,lineColor:d3,marker:c3}=t4.options,p3=t5=>(!e4&&(t5.fill&&(t5.fill=a3),t5.stroke&&(t5.stroke=a3)),t5);r3==null?void 0:r3.css(M2(e4?this.itemStyle:s4)),o3==null?void 0:o3.attr(p3({stroke:d3||t4.color})),n3&&n3.attr(p3(c3&&n3.isMarker?t4.pointAttribs():{fill:t4.color})),i3==null?void 0:i3.attr(p3({fill:h3||t4.color,"fill-opacity":h3?1:l3??.75}))}C2(this,"afterColorizeItem",{item:t4,visible:e4})}positionItems(){this.allItems.forEach(this.positionItem,this),this.chart.isResizing||this.positionCheckboxes()}positionItem(t4){let{group:e4,x:i3=0,y:s3=0}=t4.legendItem||{},r3=this.options,o3=r3.symbolPadding,n3=!r3.rtl,a3=t4.checkbox;if(e4&&e4.element){let r4={translateX:n3?i3:this.legendWidth-i3-2*o3-4,translateY:s3};e4[b2(e4.translateY)?"animate":"attr"](r4,void 0,(()=>{C2(this,"afterPositionItem",{item:t4})}))}a3&&(a3.x=i3,a3.y=s3)}destroyItem(t4){let e4=t4.checkbox,i3=t4.legendItem||{};for(let t5 of["group","label","line","symbol"])i3[t5]&&(i3[t5]=i3[t5].destroy());e4&&v2(e4),t4.legendItem=void 0}destroy(){for(let t4 of this.getAllItems())this.destroyItem(t4);for(let t4 of["clipRect","up","down","pager","nav","box","title","group"])this[t4]&&(this[t4]=this[t4].destroy());this.display=null}positionCheckboxes(){let t4;let e4=this.group&&this.group.alignAttr,i3=this.clipHeight||this.legendHeight,s3=this.titleHeight;e4&&(t4=e4.translateY,this.allItems.forEach((function(r3){let o3;let n3=r3.checkbox;n3&&(o3=t4+s3+n3.y+(this.scrollOffset||0)+3,y2(n3,{left:e4.translateX+r3.checkboxOffset+n3.x-20+"px",top:o3+"px",display:this.proximate||o3>t4-6&&o3<t4+i3-6?"":"none"}))}),this))}renderTitle(){let t4=this.options,e4=this.padding,i3=t4.title,s3,r3=0;i3.text&&(this.title||(this.title=this.chart.renderer.label(i3.text,e4-3,e4-4,void 0,void 0,void 0,t4.useHTML,void 0,"legend-title").attr({zIndex:1}),this.chart.styledMode||this.title.css(i3.style),this.title.add(this.group)),i3.width||this.title.css({width:this.maxLegendWidth+"px"}),r3=(s3=this.title.getBBox()).height,this.offsetWidth=s3.width,this.contentGroup.attr({translateY:r3})),this.titleHeight=r3}setText(t4){let e4=this.options;t4.legendItem.label.attr({text:e4.labelFormat?f2(e4.labelFormat,t4,this.chart):e4.labelFormatter.call(t4)})}renderItem(t4){let e4=t4.legendItem=t4.legendItem||{},i3=this.chart,s3=i3.renderer,r3=this.options,o3="horizontal"===r3.layout,n3=this.symbolWidth,a3=r3.symbolPadding||0,h3=this.itemStyle,l3=this.itemHiddenStyle,d3=o3?w2(r3.itemDistance,20):0,c3=!r3.rtl,p3=!t4.series,u3=!p3&&t4.series.drawLegendSymbol?t4.series:t4,g3=u3.options,f3=!!this.createCheckboxForItem&&g3&&g3.showCheckbox,m3=r3.useHTML,x3=t4.options.className,y3=e4.label,b3=n3+a3+d3+(f3?20:0);!y3&&(e4.group=s3.g("legend-item").addClass("highcharts-"+u3.type+"-series highcharts-color-"+t4.colorIndex+(x3?" "+x3:"")+(p3?" highcharts-series-"+t4.index:"")).attr({zIndex:1}).add(this.scrollGroup),e4.label=y3=s3.text("",c3?n3+a3:-a3,this.baseline||0,m3),i3.styledMode||y3.css(M2(t4.visible?h3:l3)),y3.attr({align:c3?"left":"right",zIndex:2}).add(e4.group),!this.baseline&&(this.fontMetrics=s3.fontMetrics(y3),this.baseline=this.fontMetrics.f+3+this.itemMarginTop,y3.attr("y",this.baseline),this.symbolHeight=w2(r3.symbolHeight,this.fontMetrics.f),r3.squareSymbol&&(this.symbolWidth=w2(r3.symbolWidth,Math.max(this.symbolHeight,16)),b3=this.symbolWidth+a3+d3+(f3?20:0),c3&&y3.attr("x",this.symbolWidth+a3))),u3.drawLegendSymbol(this,t4),this.setItemEvents&&this.setItemEvents(t4,y3,m3)),f3&&!t4.checkbox&&this.createCheckboxForItem&&this.createCheckboxForItem(t4),this.colorizeItem(t4,t4.visible),(i3.styledMode||!h3.width)&&y3.css({width:(r3.itemWidth||this.widthOption||i3.spacingBox.width)-b3+"px"}),this.setText(t4);let v3=y3.getBBox(),S3=this.fontMetrics&&this.fontMetrics.h||0;t4.itemWidth=t4.checkboxOffset=r3.itemWidth||e4.labelWidth||v3.width+b3,this.maxItemWidth=Math.max(this.maxItemWidth,t4.itemWidth),this.totalItemWidth+=t4.itemWidth,this.itemHeight=t4.itemHeight=Math.round(e4.labelHeight||(v3.height>1.5*S3?v3.height:S3))}layoutItem(t4){let e4=this.options,i3=this.padding,s3="horizontal"===e4.layout,r3=t4.itemHeight,o3=this.itemMarginBottom,n3=this.itemMarginTop,a3=s3?w2(e4.itemDistance,20):0,h3=this.maxLegendWidth,l3=e4.alignColumns&&this.totalItemWidth>h3?this.maxItemWidth:t4.itemWidth,d3=t4.legendItem||{};s3&&this.itemX-i3+l3>h3&&(this.itemX=i3,this.lastLineHeight&&(this.itemY+=n3+this.lastLineHeight+o3),this.lastLineHeight=0),this.lastItemY=n3+this.itemY+o3,this.lastLineHeight=Math.max(r3,this.lastLineHeight),d3.x=this.itemX,d3.y=this.itemY,s3?this.itemX+=l3:(this.itemY+=n3+r3+o3,this.lastLineHeight=r3),this.offsetWidth=this.widthOption||Math.max((s3?this.itemX-i3-(t4.checkbox?0:a3):l3)+i3,this.offsetWidth)}getAllItems(){let t4=[];return this.chart.series.forEach((function(e4){let i3=e4&&e4.options;e4&&w2(i3.showInLegend,!b2(i3.linkedTo)&&void 0,true)&&(t4=t4.concat((e4.legendItem||{}).labels||("point"===i3.legendType?e4.data:e4)))})),C2(this,"afterGetAllItems",{allItems:t4}),t4}getAlignment(){let t4=this.options;return this.proximate?t4.align.charAt(0)+"tv":t4.floating?"":t4.align.charAt(0)+t4.verticalAlign.charAt(0)+t4.layout.charAt(0)}adjustMargins(t4,e4){let i3=this.chart,s3=this.options,r3=this.getAlignment();r3&&[/(lth|ct|rth)/,/(rtv|rm|rbv)/,/(rbh|cb|lbh)/,/(lbv|lm|ltv)/].forEach((function(o3,n3){o3.test(r3)&&!b2(t4[n3])&&(i3[u2[n3]]=Math.max(i3[u2[n3]],i3.legend[(n3+1)%2?"legendHeight":"legendWidth"]+[1,-1,-1,1][n3]*s3[n3%2?"x":"y"]+w2(s3.margin,12)+e4[n3]+(i3.titleOffset[n3]||0)))}))}proximatePositions(){let t4;let e4=this.chart,i3=[],s3="left"===this.options.align;for(let r3 of(this.allItems.forEach((function(t5){let r4,o3,n3=s3,a3,h3;t5.yAxis&&(t5.xAxis.options.reversed&&(n3=!n3),t5.points&&(r4=S2(n3?t5.points:t5.points.slice(0).reverse(),(function(t6){return k2(t6.plotY)}))),o3=this.itemMarginTop+t5.legendItem.label.getBBox().height+this.itemMarginBottom,h3=t5.yAxis.top-e4.plotTop,a3=t5.visible?(r4?r4.plotY:t5.yAxis.height)+(h3-.3*o3):h3+t5.yAxis.height,i3.push({target:a3,size:o3,item:t5}))}),this),g2(i3,e4.plotHeight)))t4=r3.item.legendItem||{},k2(r3.pos)&&(t4.y=e4.plotTop-e4.spacing[0]+r3.pos)}render(){let t4=this.chart,e4=t4.renderer,i3=this.options,s3=this.padding,r3=this.getAllItems(),o3,n3,a3,h3=this.group,l3,d3=this.box;this.itemX=s3,this.itemY=this.initialItemY,this.offsetWidth=0,this.lastItemY=0,this.widthOption=A2(i3.width,t4.spacingBox.width-s3),l3=t4.spacingBox.width-2*s3-i3.x,["rm","lm"].indexOf(this.getAlignment().substring(0,2))>-1&&(l3/=2),this.maxLegendWidth=this.widthOption||l3,h3||(this.group=h3=e4.g("legend").addClass(i3.className||"").attr({zIndex:7}).add(),this.contentGroup=e4.g().attr({zIndex:1}).add(h3),this.scrollGroup=e4.g().add(this.contentGroup)),this.renderTitle(),P2(r3,((t5,e5)=>(t5.options&&t5.options.legendIndex||0)-(e5.options&&e5.options.legendIndex||0))),i3.reversed&&r3.reverse(),this.allItems=r3,this.display=o3=!!r3.length,this.lastLineHeight=0,this.maxItemWidth=0,this.totalItemWidth=0,this.itemHeight=0,r3.forEach(this.renderItem,this),r3.forEach(this.layoutItem,this),n3=(this.widthOption||this.offsetWidth)+s3,a3=this.lastItemY+this.lastLineHeight+this.titleHeight,a3=this.handleOverflow(a3)+s3,d3||(this.box=d3=e4.rect().addClass("highcharts-legend-box").attr({r:i3.borderRadius}).add(h3)),t4.styledMode||d3.attr({stroke:i3.borderColor,"stroke-width":i3.borderWidth||0,fill:i3.backgroundColor||"none"}).shadow(i3.shadow),n3>0&&a3>0&&d3[d3.placed?"animate":"attr"](d3.crisp.call({},{x:0,y:0,width:n3,height:a3},d3.strokeWidth())),h3[o3?"show":"hide"](),t4.styledMode&&"none"===h3.getStyle("display")&&(n3=a3=0),this.legendWidth=n3,this.legendHeight=a3,o3&&this.align(),this.proximate||this.positionItems(),C2(this,"afterRender")}align(t4=this.chart.spacingBox){let e4=this.chart,i3=this.options,s3=t4.y;/(lth|ct|rth)/.test(this.getAlignment())&&e4.titleOffset[0]>0?s3+=e4.titleOffset[0]:/(lbh|cb|rbh)/.test(this.getAlignment())&&e4.titleOffset[2]>0&&(s3-=e4.titleOffset[2]),s3!==t4.y&&(t4=M2(t4,{y:s3})),e4.hasRendered||(this.group.placed=false),this.group.align(M2(i3,{width:this.legendWidth,height:this.legendHeight,verticalAlign:this.proximate?"top":i3.verticalAlign}),true,t4)}handleOverflow(t4){let e4=this,i3=this.chart,s3=i3.renderer,r3=this.options,o3=r3.y,n3="top"===r3.verticalAlign,a3=this.padding,h3=r3.maxHeight,l3=r3.navigation,d3=w2(l3.animation,true),c3=l3.arrowSize||12,p3=this.pages,u3=this.allItems,g3=function(t5){"number"==typeof t5?S3.attr({height:t5}):S3&&(e4.clipRect=S3.destroy(),e4.contentGroup.clip()),e4.contentGroup.div&&(e4.contentGroup.div.style.clip=t5?"rect("+a3+"px,9999px,"+(a3+t5)+"px,0)":"auto")},f3=function(t5){return e4[t5]=s3.circle(0,0,1.3*c3).translate(c3/2,c3/2).add(v3),i3.styledMode||e4[t5].attr("fill","rgba(0,0,0,0.0001)"),e4[t5]},m3,x3,y3,b3=i3.spacingBox.height+(n3?-o3:o3)-a3,v3=this.nav,S3=this.clipRect;return"horizontal"!==r3.layout||"middle"===r3.verticalAlign||r3.floating||(b3/=2),h3&&(b3=Math.min(b3,h3)),p3.length=0,t4&&b3>0&&t4>b3&&false!==l3.enabled?(this.clipHeight=m3=Math.max(b3-20-this.titleHeight-a3,0),this.currentPage=w2(this.currentPage,1),this.fullHeight=t4,u3.forEach(((t5,e5)=>{let i4=(y3=t5.legendItem||{}).y||0,s4=Math.round(y3.label.getBBox().height),r4=p3.length;(!r4||i4-p3[r4-1]>m3&&(x3||i4)!==p3[r4-1])&&(p3.push(x3||i4),r4++),y3.pageIx=r4-1,x3&&((u3[e5-1].legendItem||{}).pageIx=r4-1),e5===u3.length-1&&i4+s4-p3[r4-1]>m3&&i4>p3[r4-1]&&(p3.push(i4),y3.pageIx=r4),i4!==x3&&(x3=i4)})),S3||(S3=e4.clipRect=s3.clipRect(0,a3-2,9999,0),e4.contentGroup.clip(S3)),g3(m3),v3||(this.nav=v3=s3.g().attr({zIndex:1}).add(this.group),this.up=s3.symbol("triangle",0,0,c3,c3).add(v3),f3("upTracker").on("click",(function(){e4.scroll(-1,d3)})),this.pager=s3.text("",15,10).addClass("highcharts-legend-navigation"),!i3.styledMode&&l3.style&&this.pager.css(l3.style),this.pager.add(v3),this.down=s3.symbol("triangle-down",0,0,c3,c3).add(v3),f3("downTracker").on("click",(function(){e4.scroll(1,d3)}))),e4.scroll(0),t4=b3):v3&&(g3(),this.nav=v3.destroy(),this.scrollGroup.attr({translateY:1}),this.clipHeight=0),t4}scroll(t4,e4){let i3=this.chart,s3=this.pages,r3=s3.length,o3=this.clipHeight,n3=this.options.navigation,a3=this.pager,h3=this.padding,c3=this.currentPage+t4;c3>r3&&(c3=r3),c3>0&&(void 0!==e4&&d2(e4,i3),this.nav.attr({translateX:h3,translateY:o3+this.padding+7+this.titleHeight,visibility:"inherit"}),[this.up,this.upTracker].forEach((function(t5){t5.attr({class:1===c3?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"})})),a3.attr({text:c3+"/"+r3}),[this.down,this.downTracker].forEach((function(t5){t5.attr({x:18+this.pager.getBBox().width,class:c3===r3?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"})}),this),i3.styledMode||(this.up.attr({fill:1===c3?n3.inactiveColor:n3.activeColor}),this.upTracker.css({cursor:1===c3?"default":"pointer"}),this.down.attr({fill:c3===r3?n3.inactiveColor:n3.activeColor}),this.downTracker.css({cursor:c3===r3?"default":"pointer"})),this.scrollOffset=-s3[c3-1]+this.initialItemY,this.scrollGroup.animate({translateY:this.scrollOffset}),this.currentPage=c3,this.positionCheckboxes(),L2((()=>{C2(this,"afterScroll",{currentPage:c3})}),l2(w2(e4,i3.renderer.globalAnimation,true)).duration))}setItemEvents(t4,e4,i3){let o3=this,n3=t4.legendItem||{},a3=o3.chart.renderer.boxWrapper,h3=t4 instanceof r2,l3=t4 instanceof s2,d3="highcharts-legend-"+(h3?"point":"series")+"-active",c3=o3.chart.styledMode,p3=i3?[e4,n3.symbol]:[n3.group],u3=e5=>{o3.allItems.forEach((i4=>{t4!==i4&&[i4].concat(i4.linkedSeries||[]).forEach((t5=>{t5.setState(e5,!h3)}))}))};for(let i4 of p3)i4&&i4.on("mouseover",(function(){t4.visible&&u3("inactive"),t4.setState("hover"),t4.visible&&a3.addClass(d3),c3||e4.css(o3.options.itemHoverStyle)})).on("mouseout",(function(){o3.chart.styledMode||e4.css(M2(t4.visible?o3.itemStyle:o3.itemHiddenStyle)),u3(""),a3.removeClass(d3),t4.setState()})).on("click",(function(e5){let i5=function(){t4.setVisible&&t4.setVisible(),u3(t4.visible?"inactive":"")};a3.removeClass(d3),C2(o3,"itemClick",{browserEvent:e5,legendItem:t4},i5),h3?t4.firePointEvent("legendItemClick",{browserEvent:e5}):l3&&C2(t4,"legendItemClick",{browserEvent:e5})}))}createCheckboxForItem(t4){t4.checkbox=x2("input",{type:"checkbox",className:"highcharts-legend-checkbox",checked:t4.selected,defaultChecked:t4.selected},this.options.itemCheckboxStyle,this.chart.container),m2(t4.checkbox,"click",(function(e4){let i3=e4.target;C2(t4.series||t4,"checkboxClick",{checked:i3.checked,item:t4},(function(){t4.select()}))}))}}return(h2=O2||(O2={})).compose=function(t4){T2(p2,"Core.Legend")&&m2(t4,"beforeMargins",(function(){this.legend=new h2(this,this.options.legend)}))},O2})),i(e2,"Core/Chart/Chart.js",[e2["Core/Animation/AnimationUtilities.js"],e2["Core/Axis/Axis.js"],e2["Core/Defaults.js"],e2["Core/Templating.js"],e2["Core/Foundation.js"],e2["Core/Globals.js"],e2["Core/Renderer/RendererRegistry.js"],e2["Core/Series/Series.js"],e2["Core/Series/SeriesRegistry.js"],e2["Core/Renderer/SVG/SVGRenderer.js"],e2["Core/Time.js"],e2["Core/Utilities.js"],e2["Core/Renderer/HTML/AST.js"],e2["Core/Axis/Tick.js"]],(function(t3,e3,i2,s2,r2,o2,n2,a2,h2,l2,d2,c2,p2,u2){let{animate:g2,animObject:f2,setAnimation:m2}=t3,{defaultOptions:x2,defaultTime:y2}=i2,{numberFormat:b2}=s2,{registerEventOptions:v2}=r2,{charts:S2,doc:C2,marginNames:k2,svg:M2,win:w2}=o2,{seriesTypes:T2}=h2,{addEvent:A2,attr:P2,createElement:L2,css:O2,defined:D2,diffObjects:E2,discardElement:I2,erase:j,error:B2,extend:R2,find:z2,fireEvent:N2,getStyle:W2,isArray:G2,isNumber:H2,isObject:X2,isString:F2,merge:Y2,objectEach:U2,pick:V2,pInt:$,relativeLength:Z2,removeEvent:_,splat:q2,syncTimeout:K,uniqueKey:J}=c2;class Q{static chart(t4,e4,i3){return new Q(t4,e4,i3)}constructor(t4,e4,i3){this.sharedClips={};let s3=[...arguments];(F2(t4)||t4.nodeName)&&(this.renderTo=s3.shift()),this.init(s3[0],s3[1])}setZoomOptions(){let t4=this.options.chart,e4=t4.zooming;this.zooming={...e4,type:V2(t4.zoomType,e4.type),key:V2(t4.zoomKey,e4.key),pinchType:V2(t4.pinchType,e4.pinchType),singleTouch:V2(t4.zoomBySingleTouch,e4.singleTouch,false),resetButton:Y2(e4.resetButton,t4.resetZoomButton)}}init(t4,e4){N2(this,"init",{args:arguments},(function(){let i3=Y2(x2,t4),s3=i3.chart;this.userOptions=R2({},t4),this.margin=[],this.spacing=[],this.labelCollectors=[],this.callback=e4,this.isResizing=0,this.options=i3,this.axes=[],this.series=[],this.time=t4.time&&Object.keys(t4.time).length?new d2(t4.time):o2.time,this.numberFormatter=s3.numberFormatter||b2,this.styledMode=s3.styledMode,this.hasCartesianSeries=s3.showAxes,this.index=S2.length,S2.push(this),o2.chartCount++,v2(this,s3),this.xAxis=[],this.yAxis=[],this.pointCount=this.colorCounter=this.symbolCounter=0,this.setZoomOptions(),N2(this,"afterInit"),this.firstRender()}))}initSeries(t4){let e4=this.options.chart,i3=t4.type||e4.type,s3=T2[i3];s3||B2(17,true,this,{missingModuleFor:i3});let r3=new s3;return"function"==typeof r3.init&&r3.init(this,t4),r3}setSortedData(){this.getSeriesOrderByLinks().forEach((function(t4){t4.points||t4.data||!t4.enabledDataSorting||t4.setData(t4.options.data,false)}))}getSeriesOrderByLinks(){return this.series.concat().sort((function(t4,e4){return t4.linkedSeries.length||e4.linkedSeries.length?e4.linkedSeries.length-t4.linkedSeries.length:0}))}orderItems(t4,e4=0){let i3=this[t4],s3=this.options[t4]=q2(this.options[t4]).slice(),r3=this.userOptions[t4]=this.userOptions[t4]?q2(this.userOptions[t4]).slice():[];if(this.hasRendered&&(s3.splice(e4),r3.splice(e4)),i3)for(let t5=e4,o3=i3.length;t5<o3;++t5){let e5=i3[t5];e5&&(e5.index=t5,e5 instanceof a2&&(e5.name=e5.getName()),e5.options.isInternal||(s3[t5]=e5.options,r3[t5]=e5.userOptions))}}isInsidePlot(t4,e4,i3={}){var _a;let{inverted:s3,plotBox:r3,plotLeft:o3,plotTop:n3,scrollablePlotBox:a3}=this,{scrollLeft:h3=0,scrollTop:l3=0}=i3.visiblePlotOnly&&((_a=this.scrollablePlotArea)==null?void 0:_a.scrollingContainer)||{},d3=i3.series,c3=i3.visiblePlotOnly&&a3||r3,p3=i3.inverted?e4:t4,u3=i3.inverted?t4:e4,g3={x:p3,y:u3,isInsidePlot:true,options:i3};if(!i3.ignoreX){let t5=d3&&(s3&&!this.polar?d3.yAxis:d3.xAxis)||{pos:o3,len:1/0},e5=i3.paneCoordinates?t5.pos+p3:o3+p3;e5>=Math.max(h3+o3,t5.pos)&&e5<=Math.min(h3+o3+c3.width,t5.pos+t5.len)||(g3.isInsidePlot=false)}if(!i3.ignoreY&&g3.isInsidePlot){let t5=!s3&&i3.axis&&!i3.axis.isXAxis&&i3.axis||d3&&(s3?d3.xAxis:d3.yAxis)||{pos:n3,len:1/0},e5=i3.paneCoordinates?t5.pos+u3:n3+u3;e5>=Math.max(l3+n3,t5.pos)&&e5<=Math.min(l3+n3+c3.height,t5.pos+t5.len)||(g3.isInsidePlot=false)}return N2(this,"afterIsInsidePlot",g3),g3.isInsidePlot}redraw(t4){N2(this,"beforeRedraw");let e4=this.hasCartesianSeries?this.axes:this.colorAxis||[],i3=this.series,s3=this.pointer,r3=this.legend,o3=this.userOptions.legend,n3=this.renderer,a3=n3.isHidden(),h3=[],l3,d3,c3,p3=this.isDirtyBox,u3=this.isDirtyLegend,g3;for(n3.rootFontSize=n3.boxWrapper.getStyle("font-size"),this.setResponsive&&this.setResponsive(false),m2(!!this.hasRendered&&t4,this),a3&&this.temporaryDisplay(),this.layOutTitles(false),c3=i3.length;c3--;)if(((g3=i3[c3]).options.stacking||g3.options.centerInCategory)&&(d3=true,g3.isDirty)){l3=true;break}if(l3)for(c3=i3.length;c3--;)(g3=i3[c3]).options.stacking&&(g3.isDirty=true);i3.forEach((function(t5){t5.isDirty&&("point"===t5.options.legendType?("function"==typeof t5.updateTotals&&t5.updateTotals(),u3=true):o3&&(o3.labelFormatter||o3.labelFormat)&&(u3=true)),t5.isDirtyData&&N2(t5,"updatedData")})),u3&&r3&&r3.options.enabled&&(r3.render(),this.isDirtyLegend=false),d3&&this.getStacks(),e4.forEach((function(t5){t5.updateNames(),t5.setScale()})),this.getMargins(),e4.forEach((function(t5){t5.isDirty&&(p3=true)})),e4.forEach((function(t5){let e5=t5.min+","+t5.max;t5.extKey!==e5&&(t5.extKey=e5,h3.push((function(){N2(t5,"afterSetExtremes",R2(t5.eventArgs,t5.getExtremes())),delete t5.eventArgs}))),(p3||d3)&&t5.redraw()})),p3&&this.drawChartBox(),N2(this,"predraw"),i3.forEach((function(t5){(p3||t5.isDirty)&&t5.visible&&t5.redraw(),t5.isDirtyData=false})),s3&&s3.reset(true),n3.draw(),N2(this,"redraw"),N2(this,"render"),a3&&this.temporaryDisplay(true),h3.forEach((function(t5){t5.call()}))}get(t4){let e4=this.series;function i3(e5){return e5.id===t4||e5.options&&e5.options.id===t4}let s3=z2(this.axes,i3)||z2(this.series,i3);for(let t5=0;!s3&&t5<e4.length;t5++)s3=z2(e4[t5].points||[],i3);return s3}getAxes(){let t4=this.userOptions;for(let i3 of(N2(this,"getAxes"),["xAxis","yAxis"]))for(let s3 of t4[i3]=q2(t4[i3]||{}))new e3(this,s3,i3);N2(this,"afterGetAxes")}getSelectedPoints(){return this.series.reduce(((t4,e4)=>(e4.getPointsCollection().forEach((e5=>{V2(e5.selectedStaging,e5.selected)&&t4.push(e5)})),t4)),[])}getSelectedSeries(){return this.series.filter((function(t4){return t4.selected}))}setTitle(t4,e4,i3){this.applyDescription("title",t4),this.applyDescription("subtitle",e4),this.applyDescription("caption",void 0),this.layOutTitles(i3)}applyDescription(t4,e4){let i3=this,s3=this.options[t4]=Y2(this.options[t4],e4),r3=this[t4];r3&&e4&&(this[t4]=r3=r3.destroy()),s3&&!r3&&((r3=this.renderer.text(s3.text,0,0,s3.useHTML).attr({align:s3.align,class:"highcharts-"+t4,zIndex:s3.zIndex||4}).add()).update=function(e5,s4){i3.applyDescription(t4,e5),i3.layOutTitles(s4)},this.styledMode||r3.css(R2("title"===t4?{fontSize:this.options.isStock?"1em":"1.2em"}:{},s3.style)),this[t4]=r3)}layOutTitles(t4=true){let e4=[0,0,0],i3=this.renderer,s3=this.spacingBox;["title","subtitle","caption"].forEach((function(t5){let r4=this[t5],o3=this.options[t5],n3=o3.verticalAlign||"top",a3="title"===t5?"top"===n3?-3:0:"top"===n3?e4[0]+2:0;if(r4){r4.css({width:(o3.width||s3.width+(o3.widthAdjust||0))+"px"});let t6=i3.fontMetrics(r4).b,h3=Math.round(r4.getBBox(o3.useHTML).height);r4.align(R2({y:"bottom"===n3?t6:a3+t6,height:h3},o3),false,"spacingBox"),o3.floating||("top"===n3?e4[0]=Math.ceil(e4[0]+h3):"bottom"===n3&&(e4[2]=Math.ceil(e4[2]+h3)))}}),this),e4[0]&&"top"===(this.options.title.verticalAlign||"top")&&(e4[0]+=this.options.title.margin),e4[2]&&"bottom"===this.options.caption.verticalAlign&&(e4[2]+=this.options.caption.margin);let r3=!this.titleOffset||this.titleOffset.join(",")!==e4.join(",");this.titleOffset=e4,N2(this,"afterLayOutTitles"),!this.isDirtyBox&&r3&&(this.isDirtyBox=this.isDirtyLegend=r3,this.hasRendered&&t4&&this.isDirtyBox&&this.redraw())}getContainerBox(){let t4=[].map.call(this.renderTo.children,(t5=>{if(t5!==this.container){let e5=t5.style.display;return t5.style.display="none",[t5,e5]}})),e4={width:W2(this.renderTo,"width",true)||0,height:W2(this.renderTo,"height",true)||0};return t4.filter(Boolean).forEach((([t5,e5])=>{t5.style.display=e5})),e4}getChartSize(){var _a;let t4=this.options.chart,e4=t4.width,i3=t4.height,s3=this.getContainerBox(),r3=s3.height>1&&!(!((_a=this.renderTo.parentElement)==null?void 0:_a.style.height)&&"100%"===this.renderTo.style.height);this.chartWidth=Math.max(0,e4||s3.width||600),this.chartHeight=Math.max(0,Z2(i3,this.chartWidth)||(r3?s3.height:400)),this.containerBox=s3}temporaryDisplay(t4){let e4=this.renderTo,i3;if(t4)for(;e4&&e4.style;)e4.hcOrigStyle&&(O2(e4,e4.hcOrigStyle),delete e4.hcOrigStyle),e4.hcOrigDetached&&(C2.body.removeChild(e4),e4.hcOrigDetached=false),e4=e4.parentNode;else for(;e4&&e4.style&&(C2.body.contains(e4)||e4.parentNode||(e4.hcOrigDetached=true,C2.body.appendChild(e4)),("none"===W2(e4,"display",false)||e4.hcOricDetached)&&(e4.hcOrigStyle={display:e4.style.display,height:e4.style.height,overflow:e4.style.overflow},i3={display:"block",overflow:"hidden"},e4!==this.renderTo&&(i3.height=0),O2(e4,i3),e4.offsetWidth||e4.style.setProperty("display","block","important")),(e4=e4.parentNode)!==C2.body););}setClassName(t4){this.container.className="highcharts-container "+(t4||"")}getContainer(){var _a;let t4=this.options,e4=t4.chart,i3="data-highcharts-chart",s3=J(),r3,o3=this.renderTo;o3||(this.renderTo=o3=e4.renderTo),F2(o3)&&(this.renderTo=o3=C2.getElementById(o3)),o3||B2(13,true,this);let a3=$(P2(o3,i3));H2(a3)&&S2[a3]&&S2[a3].hasRendered&&S2[a3].destroy(),P2(o3,i3,this.index),o3.innerHTML=p2.emptyHTML,e4.skipClone||o3.offsetWidth||this.temporaryDisplay(),this.getChartSize();let h3=this.chartHeight,d3=this.chartWidth;O2(o3,{overflow:"hidden"}),this.styledMode||(r3=R2({position:"relative",overflow:"hidden",width:d3+"px",height:h3+"px",textAlign:"left",lineHeight:"normal",zIndex:0,"-webkit-tap-highlight-color":"rgba(0,0,0,0)",userSelect:"none","touch-action":"manipulation",outline:"none",padding:"0px"},e4.style||{}));let c3=L2("div",{id:s3},r3,o3);this.container=c3,this.getChartSize(),d3===this.chartWidth||(d3=this.chartWidth,this.styledMode||O2(c3,{width:V2((_a=e4.style)==null?void 0:_a.width,d3+"px")})),this.containerBox=this.getContainerBox(),this._cursor=c3.style.cursor;let u3=e4.renderer||!M2?n2.getRendererType(e4.renderer):l2;if(this.renderer=new u3(c3,d3,h3,void 0,e4.forExport,t4.exporting&&t4.exporting.allowHTML,this.styledMode),m2(void 0,this),this.setClassName(e4.className),this.styledMode)for(let e5 in t4.defs)this.renderer.definition(t4.defs[e5]);else this.renderer.setStyle(e4.style);this.renderer.chartIndex=this.index,N2(this,"afterGetContainer")}getMargins(t4){let{spacing:e4,margin:i3,titleOffset:s3}=this;this.resetMargins(),s3[0]&&!D2(i3[0])&&(this.plotTop=Math.max(this.plotTop,s3[0]+e4[0])),s3[2]&&!D2(i3[2])&&(this.marginBottom=Math.max(this.marginBottom,s3[2]+e4[2])),this.legend&&this.legend.display&&this.legend.adjustMargins(i3,e4),N2(this,"getMargins"),t4||this.getAxisMargins()}getAxisMargins(){let t4=this,e4=t4.axisOffset=[0,0,0,0],i3=t4.colorAxis,s3=t4.margin,r3=function(t5){t5.forEach((function(t6){t6.visible&&t6.getOffset()}))};t4.hasCartesianSeries?r3(t4.axes):i3&&i3.length&&r3(i3),k2.forEach((function(i4,r4){D2(s3[r4])||(t4[i4]+=e4[r4])})),t4.setChartSize()}getOptions(){return E2(this.userOptions,x2)}reflow(t4){var _a;let e4=this,i3=e4.containerBox,s3=e4.getContainerBox();(_a=e4.pointer)==null?true:delete _a.chartPosition,!e4.isPrinting&&!e4.isResizing&&i3&&s3.width&&((s3.width!==i3.width||s3.height!==i3.height)&&(c2.clearTimeout(e4.reflowTimeout),e4.reflowTimeout=K((function(){e4.container&&e4.setSize(void 0,void 0,false)}),t4?100:0)),e4.containerBox=s3)}setReflow(){let t4=this,e4=e5=>{var _a;((_a=t4.options)==null?void 0:_a.chart.reflow)&&t4.hasLoaded&&t4.reflow(e5)};if("function"==typeof ResizeObserver)new ResizeObserver(e4).observe(t4.renderTo);else{let t5=A2(w2,"resize",e4);A2(this,"destroy",t5)}}setSize(t4,e4,i3){let s3=this,r3=s3.renderer;s3.isResizing+=1,m2(i3,s3);let o3=r3.globalAnimation;s3.oldChartHeight=s3.chartHeight,s3.oldChartWidth=s3.chartWidth,void 0!==t4&&(s3.options.chart.width=t4),void 0!==e4&&(s3.options.chart.height=e4),s3.getChartSize();let{chartWidth:n3,chartHeight:a3,scrollablePixelsX:h3=0,scrollablePixelsY:l3=0}=s3;(s3.isDirtyBox||n3!==s3.oldChartWidth||a3!==s3.oldChartHeight)&&(s3.styledMode||(o3?g2:O2)(s3.container,{width:`${n3+h3}px`,height:`${a3+l3}px`},o3),s3.setChartSize(true),r3.setSize(n3,a3,o3),s3.axes.forEach((function(t5){t5.isDirty=true,t5.setScale()})),s3.isDirtyLegend=true,s3.isDirtyBox=true,s3.layOutTitles(),s3.getMargins(),s3.redraw(o3),s3.oldChartHeight=void 0,N2(s3,"resize"),setTimeout((()=>{s3&&N2(s3,"endResize")}),f2(o3).duration)),s3.isResizing-=1}setChartSize(t4){let e4,i3,s3,r3;let{chartHeight:o3,chartWidth:n3,inverted:a3,spacing:h3,renderer:l3}=this,d3=this.clipOffset,c3=Math[a3?"floor":"round"];this.plotLeft=e4=Math.round(this.plotLeft),this.plotTop=i3=Math.round(this.plotTop),this.plotWidth=s3=Math.max(0,Math.round(n3-e4-this.marginRight)),this.plotHeight=r3=Math.max(0,Math.round(o3-i3-this.marginBottom)),this.plotSizeX=a3?r3:s3,this.plotSizeY=a3?s3:r3,this.spacingBox=l3.spacingBox={x:h3[3],y:h3[0],width:n3-h3[3]-h3[1],height:o3-h3[0]-h3[2]},this.plotBox=l3.plotBox={x:e4,y:i3,width:s3,height:r3},d3&&(this.clipBox={x:c3(d3[3]),y:c3(d3[0]),width:c3(this.plotSizeX-d3[1]-d3[3]),height:c3(this.plotSizeY-d3[0]-d3[2])}),t4||(this.axes.forEach((function(t5){t5.setAxisSize(),t5.setAxisTranslation()})),l3.alignElements()),N2(this,"afterSetChartSize",{skipAxes:t4})}resetMargins(){N2(this,"resetMargins");let t4=this,e4=t4.options.chart,i3=e4.plotBorderWidth||0,s3=i3/2;["margin","spacing"].forEach((function(i4){let s4=e4[i4],r3=X2(s4)?s4:[s4,s4,s4,s4];["Top","Right","Bottom","Left"].forEach((function(s5,o3){t4[i4][o3]=V2(e4[i4+s5],r3[o3])}))})),k2.forEach((function(e5,i4){t4[e5]=V2(t4.margin[i4],t4.spacing[i4])})),t4.axisOffset=[0,0,0,0],t4.clipOffset=[s3,s3,s3,s3],t4.plotBorderWidth=i3}drawChartBox(){let t4=this.options.chart,e4=this.renderer,i3=this.chartWidth,s3=this.chartHeight,r3=this.styledMode,o3=this.plotBGImage,n3=t4.backgroundColor,a3=t4.plotBackgroundColor,h3=t4.plotBackgroundImage,l3=this.plotLeft,d3=this.plotTop,c3=this.plotWidth,p3=this.plotHeight,u3=this.plotBox,g3=this.clipRect,f3=this.clipBox,m3=this.chartBackground,x3=this.plotBackground,y3=this.plotBorder,b3,v3,S3,C3="animate";m3||(this.chartBackground=m3=e4.rect().addClass("highcharts-background").add(),C3="attr"),r3?b3=v3=m3.strokeWidth():(v3=(b3=t4.borderWidth||0)+(t4.shadow?8:0),S3={fill:n3||"none"},(b3||m3["stroke-width"])&&(S3.stroke=t4.borderColor,S3["stroke-width"]=b3),m3.attr(S3).shadow(t4.shadow)),m3[C3]({x:v3/2,y:v3/2,width:i3-v3-b3%2,height:s3-v3-b3%2,r:t4.borderRadius}),C3="animate",x3||(C3="attr",this.plotBackground=x3=e4.rect().addClass("highcharts-plot-background").add()),x3[C3](u3),!r3&&(x3.attr({fill:a3||"none"}).shadow(t4.plotShadow),h3&&(o3?(h3!==o3.attr("href")&&o3.attr("href",h3),o3.animate(u3)):this.plotBGImage=e4.image(h3,l3,d3,c3,p3).add())),g3?g3.animate({width:f3.width,height:f3.height}):this.clipRect=e4.clipRect(f3),C3="animate",y3||(C3="attr",this.plotBorder=y3=e4.rect().addClass("highcharts-plot-border").attr({zIndex:1}).add()),r3||y3.attr({stroke:t4.plotBorderColor,"stroke-width":t4.plotBorderWidth||0,fill:"none"}),y3[C3](y3.crisp({x:l3,y:d3,width:c3,height:p3},-y3.strokeWidth())),this.isDirtyBox=false,N2(this,"afterDrawChartBox")}propFromSeries(){let t4,e4,i3;let s3=this,r3=s3.options.chart,o3=s3.options.series;["inverted","angular","polar"].forEach((function(n3){for(e4=T2[r3.type],i3=r3[n3]||e4&&e4.prototype[n3],t4=o3&&o3.length;!i3&&t4--;)(e4=T2[o3[t4].type])&&e4.prototype[n3]&&(i3=true);s3[n3]=i3}))}linkSeries(t4){let e4=this,i3=e4.series;i3.forEach((function(t5){t5.linkedSeries.length=0})),i3.forEach((function(t5){let{linkedTo:i4}=t5.options;if(F2(i4)){let s3;(s3=":previous"===i4?e4.series[t5.index-1]:e4.get(i4))&&s3.linkedParent!==t5&&(s3.linkedSeries.push(t5),t5.linkedParent=s3,s3.enabledDataSorting&&t5.setDataSortingOptions(),t5.visible=V2(t5.options.visible,s3.options.visible,t5.visible))}})),N2(this,"afterLinkSeries",{isUpdating:t4})}renderSeries(){this.series.forEach((function(t4){t4.translate(),t4.render()}))}render(){var _a;let t4=this.axes,e4=this.colorAxis,i3=this.renderer,s3=this.options.chart.axisLayoutRuns||2,r3=t5=>{t5.forEach((t6=>{t6.visible&&t6.render()}))},o3=0,n3=true,a3,h3=0;for(let e5 of(this.setTitle(),N2(this,"beforeMargins"),(_a=this.getStacks)==null?void 0:_a.call(this),this.getMargins(true),this.setChartSize(),t4)){let{options:t5}=e5,{labels:i4}=t5;if(this.hasCartesianSeries&&e5.horiz&&e5.visible&&i4.enabled&&e5.series.length&&"colorAxis"!==e5.coll&&!this.polar){o3=t5.tickLength,e5.createGroups();let s4=new u2(e5,0,"",true),r4=s4.createLabel("x",i4);if(s4.destroy(),r4&&V2(i4.reserveSpace,!H2(t5.crossing))&&(o3=r4.getBBox().height+i4.distance+Math.max(t5.offset||0,0)),o3){r4==null?void 0:r4.destroy();break}}}for(this.plotHeight=Math.max(this.plotHeight-o3,0);(n3||a3||s3>1)&&h3<s3;){let e5=this.plotWidth,i4=this.plotHeight;for(let e6 of t4)0===h3?e6.setScale():(e6.horiz&&n3||!e6.horiz&&a3)&&e6.setTickInterval(true);0===h3?this.getAxisMargins():this.getMargins(),n3=e5/this.plotWidth>(h3?1:1.1),a3=i4/this.plotHeight>(h3?1:1.05),h3++}this.drawChartBox(),this.hasCartesianSeries?r3(t4):e4&&e4.length&&r3(e4),this.seriesGroup||(this.seriesGroup=i3.g("series-group").attr({zIndex:3}).shadow(this.options.chart.seriesGroupShadow).add()),this.renderSeries(),this.addCredits(),this.setResponsive&&this.setResponsive(),this.hasRendered=true}addCredits(t4){let e4=this,i3=Y2(true,this.options.credits,t4);i3.enabled&&!this.credits&&(this.credits=this.renderer.text(i3.text+(this.mapCredits||""),0,0).addClass("highcharts-credits").on("click",(function(){i3.href&&(w2.location.href=i3.href)})).attr({align:i3.position.align,zIndex:8}),e4.styledMode||this.credits.css(i3.style),this.credits.add().align(i3.position),this.credits.update=function(t5){e4.credits=e4.credits.destroy(),e4.addCredits(t5)})}destroy(){let t4;let e4=this,i3=e4.axes,s3=e4.series,r3=e4.container,n3=r3&&r3.parentNode;for(N2(e4,"destroy"),e4.renderer.forExport?j(S2,e4):S2[e4.index]=void 0,o2.chartCount--,e4.renderTo.removeAttribute("data-highcharts-chart"),_(e4),t4=i3.length;t4--;)i3[t4]=i3[t4].destroy();for(this.scroller&&this.scroller.destroy&&this.scroller.destroy(),t4=s3.length;t4--;)s3[t4]=s3[t4].destroy();["title","subtitle","chartBackground","plotBackground","plotBGImage","plotBorder","seriesGroup","clipRect","credits","pointer","rangeSelector","legend","resetZoomButton","tooltip","renderer"].forEach((function(t5){let i4=e4[t5];i4&&i4.destroy&&(e4[t5]=i4.destroy())})),r3&&(r3.innerHTML=p2.emptyHTML,_(r3),n3&&I2(r3)),U2(e4,(function(t5,i4){delete e4[i4]}))}firstRender(){var _a;let t4=this,e4=t4.options;t4.getContainer(),t4.resetMargins(),t4.setChartSize(),t4.propFromSeries(),t4.getAxes();let i3=G2(e4.series)?e4.series:[];e4.series=[],i3.forEach((function(e5){t4.initSeries(e5)})),t4.linkSeries(),t4.setSortedData(),N2(t4,"beforeRender"),t4.render(),(_a=t4.pointer)==null?void 0:_a.getChartPosition(),t4.renderer.imgCount||t4.hasLoaded||t4.onload(),t4.temporaryDisplay(true)}onload(){this.callbacks.concat([this.callback]).forEach((function(t4){t4&&void 0!==this.index&&t4.apply(this,[this])}),this),N2(this,"load"),N2(this,"render"),D2(this.index)&&this.setReflow(),this.warnIfA11yModuleNotLoaded(),this.hasLoaded=true}warnIfA11yModuleNotLoaded(){let{options:t4,title:e4}=this;!t4||this.accessibility||(this.renderer.boxWrapper.attr({role:"img","aria-label":(e4&&e4.element.textContent||"").replace(/</g,"&lt;")}),t4.accessibility&&false===t4.accessibility.enabled||B2('Highcharts warning: Consider including the "accessibility.js" module to make your chart more usable for people with disabilities. Set the "accessibility.enabled" option to false to remove this warning. See https://www.highcharts.com/docs/accessibility/accessibility-module.',false,this))}addSeries(t4,e4,i3){let s3;let r3=this;return t4&&(e4=V2(e4,true),N2(r3,"addSeries",{options:t4},(function(){s3=r3.initSeries(t4),r3.isDirtyLegend=true,r3.linkSeries(),s3.enabledDataSorting&&s3.setData(t4.data,false),N2(r3,"afterAddSeries",{series:s3}),e4&&r3.redraw(i3)}))),s3}addAxis(t4,e4,i3,s3){return this.createAxis(e4?"xAxis":"yAxis",{axis:t4,redraw:i3,animation:s3})}addColorAxis(t4,e4,i3){return this.createAxis("colorAxis",{axis:t4,redraw:e4,animation:i3})}createAxis(t4,i3){let s3=new e3(this,i3.axis,t4);return V2(i3.redraw,true)&&this.redraw(i3.animation),s3}showLoading(t4){let e4=this,i3=e4.options,s3=i3.loading,r3=function(){o3&&O2(o3,{left:e4.plotLeft+"px",top:e4.plotTop+"px",width:e4.plotWidth+"px",height:e4.plotHeight+"px"})},o3=e4.loadingDiv,n3=e4.loadingSpan;o3||(e4.loadingDiv=o3=L2("div",{className:"highcharts-loading highcharts-loading-hidden"},null,e4.container)),n3||(e4.loadingSpan=n3=L2("span",{className:"highcharts-loading-inner"},null,o3),A2(e4,"redraw",r3)),o3.className="highcharts-loading",p2.setElementHTML(n3,V2(t4,i3.lang.loading,"")),e4.styledMode||(O2(o3,R2(s3.style,{zIndex:10})),O2(n3,s3.labelStyle),e4.loadingShown||(O2(o3,{opacity:0,display:""}),g2(o3,{opacity:s3.style.opacity||.5},{duration:s3.showDuration||0}))),e4.loadingShown=true,r3()}hideLoading(){let t4=this.options,e4=this.loadingDiv;e4&&(e4.className="highcharts-loading highcharts-loading-hidden",this.styledMode||g2(e4,{opacity:0},{duration:t4.loading.hideDuration||100,complete:function(){O2(e4,{display:"none"})}})),this.loadingShown=false}update(t4,e4,i3,s3){let r3,o3,n3;let a3=this,h3={credits:"addCredits",title:"setTitle",subtitle:"setSubtitle",caption:"setCaption"},l3=t4.isResponsiveOptions,c3=[];N2(a3,"update",{options:t4}),l3||a3.setResponsive(false,true),t4=E2(t4,a3.options),a3.userOptions=Y2(a3.userOptions,t4);let p3=t4.chart;p3&&(Y2(true,a3.options.chart,p3),this.setZoomOptions(),"className"in p3&&a3.setClassName(p3.className),("inverted"in p3||"polar"in p3||"type"in p3)&&(a3.propFromSeries(),r3=true),"alignTicks"in p3&&(r3=true),"events"in p3&&v2(this,p3),U2(p3,(function(t5,e5){-1!==a3.propsRequireUpdateSeries.indexOf("chart."+e5)&&(o3=true),-1!==a3.propsRequireDirtyBox.indexOf(e5)&&(a3.isDirtyBox=true),-1===a3.propsRequireReflow.indexOf(e5)||(a3.isDirtyBox=true,l3||(n3=true))})),!a3.styledMode&&p3.style&&a3.renderer.setStyle(a3.options.chart.style||{})),!a3.styledMode&&t4.colors&&(this.options.colors=t4.colors),t4.time&&(this.time===y2&&(this.time=new d2(t4.time)),Y2(true,a3.options.time,t4.time)),U2(t4,(function(e5,i4){a3[i4]&&"function"==typeof a3[i4].update?a3[i4].update(e5,false):"function"==typeof a3[h3[i4]]?a3[h3[i4]](e5):"colors"!==i4&&-1===a3.collectionsWithUpdate.indexOf(i4)&&Y2(true,a3.options[i4],t4[i4]),"chart"!==i4&&-1!==a3.propsRequireUpdateSeries.indexOf(i4)&&(o3=true)})),this.collectionsWithUpdate.forEach((function(e5){t4[e5]&&(q2(t4[e5]).forEach((function(t5,s4){let r4;let o4=D2(t5.id);o4&&(r4=a3.get(t5.id)),!r4&&a3[e5]&&(r4=a3[e5][V2(t5.index,s4)])&&(o4&&D2(r4.options.id)||r4.options.isInternal)&&(r4=void 0),r4&&r4.coll===e5&&(r4.update(t5,false),i3&&(r4.touched=true)),!r4&&i3&&a3.collectionsWithInit[e5]&&(a3.collectionsWithInit[e5][0].apply(a3,[t5].concat(a3.collectionsWithInit[e5][1]||[]).concat([false])).touched=true)})),i3&&a3[e5].forEach((function(t5){t5.touched||t5.options.isInternal?delete t5.touched:c3.push(t5)})))})),c3.forEach((function(t5){t5.chart&&t5.remove&&t5.remove(false)})),r3&&a3.axes.forEach((function(t5){t5.update({},false)})),o3&&a3.getSeriesOrderByLinks().forEach((function(t5){t5.chart&&t5.update({},false)}),this);let u3=p3&&p3.width,g3=p3&&(F2(p3.height)?Z2(p3.height,u3||a3.chartWidth):p3.height);n3||H2(u3)&&u3!==a3.chartWidth||H2(g3)&&g3!==a3.chartHeight?a3.setSize(u3,g3,s3):V2(e4,true)&&a3.redraw(s3),N2(a3,"afterUpdate",{options:t4,redraw:e4,animation:s3})}setSubtitle(t4,e4){this.applyDescription("subtitle",t4),this.layOutTitles(e4)}setCaption(t4,e4){this.applyDescription("caption",t4),this.layOutTitles(e4)}showResetZoom(){let t4=this,e4=x2.lang,i3=t4.zooming.resetButton,s3=i3.theme,r3="chart"===i3.relativeTo||"spacingBox"===i3.relativeTo?null:"plotBox";function o3(){t4.zoomOut()}N2(this,"beforeShowResetZoom",null,(function(){t4.resetZoomButton=t4.renderer.button(e4.resetZoom,null,null,o3,s3).attr({align:i3.position.align,title:e4.resetZoomTitle}).addClass("highcharts-reset-zoom").add().align(i3.position,false,r3)})),N2(this,"afterShowResetZoom")}zoomOut(){N2(this,"selection",{resetSelection:true},(()=>this.transform({reset:true,trigger:"zoom"})))}pan(t4,e4){let i3=this,s3="object"==typeof e4?e4:{enabled:e4,type:"x"},r3=s3.type,o3=r3&&i3[{x:"xAxis",xy:"axes",y:"yAxis"}[r3]].filter((t5=>t5.options.panningEnabled&&!t5.options.isInternal)),n3=i3.options.chart;(n3==null?void 0:n3.panning)&&(n3.panning=s3),N2(this,"pan",{originalEvent:t4},(()=>{i3.transform({axes:o3,event:t4,to:{x:t4.chartX-(i3.mouseDownX||0),y:t4.chartY-(i3.mouseDownY||0)},trigger:"pan"}),O2(i3.container,{cursor:"move"})}))}transform(t4){var _a;let{axes:e4=this.axes,event:i3,from:s3={},reset:r3,selection:o3,to:n3={},trigger:a3}=t4,{inverted:h3}=this,l3=false,d3,c3;for(let t5 of((_a=this.hoverPoints)==null?void 0:_a.forEach((t6=>t6.setState())),e4)){let{horiz:e5,len:p3,minPointOffset:u3=0,options:g3,reversed:f3}=t5,m3=e5?"width":"height",x3=e5?"x":"y",y3=V2(n3[m3],t5.len),b3=V2(s3[m3],t5.len),v3=10>Math.abs(y3)?1:y3/b3,S3=(s3[x3]||0)+b3/2-t5.pos,C3=S3-((n3[x3]??t5.pos)+y3/2-t5.pos)/v3,k3=f3&&!h3||!f3&&h3?-1:1;if(!r3&&(S3<0||S3>t5.len))continue;let M3=t5.toValue(C3,true)+(o3||t5.isOrdinal?0:u3*k3),w3=t5.toValue(C3+p3/v3,true)-(o3||t5.isOrdinal?0:u3*k3||0),T3=t5.allExtremes;if(M3>w3&&([M3,w3]=[w3,M3]),1===v3&&!r3&&"yAxis"===t5.coll&&!T3){for(let e6 of t5.series){let t6=e6.getExtremes(e6.getProcessedData(true).yData,true);T3??(T3={dataMin:Number.MAX_VALUE,dataMax:-Number.MAX_VALUE}),H2(t6.dataMin)&&H2(t6.dataMax)&&(T3.dataMin=Math.min(t6.dataMin,T3.dataMin),T3.dataMax=Math.max(t6.dataMax,T3.dataMax))}t5.allExtremes=T3}let{dataMin:A3,dataMax:P3,min:L3,max:O3}=R2(t5.getExtremes(),T3||{}),E3=A3??g3.min,I3=P3??g3.max,j2=w3-M3,B3=t5.categories?0:Math.min(j2,I3-E3),z3=E3-B3*(D2(g3.min)?0:g3.minPadding),N3=I3+B3*(D2(g3.max)?0:g3.maxPadding),W3=t5.allowZoomOutside||1===v3||"zoom"!==a3&&v3>1,G3=Math.min(g3.min??z3,z3,W3?L3:z3),X3=Math.max(g3.max??N3,N3,W3?O3:N3);(!t5.isOrdinal||t5.options.overscroll||1!==v3||r3)&&(M3<G3&&(M3=G3,v3>=1&&(w3=M3+j2)),w3>X3&&(w3=X3,v3>=1&&(M3=w3-j2)),(r3||t5.series.length&&(M3!==L3||w3!==O3)&&M3>=G3&&w3<=X3)&&(o3?o3[t5.coll].push({axis:t5,min:M3,max:w3}):(t5.isPanning="zoom"!==a3,t5.isPanning&&(c3=true),t5.setExtremes(r3?void 0:M3,r3?void 0:w3,false,false,{move:C3,trigger:a3,scale:v3}),!r3&&(M3>G3||w3<X3)&&"mousewheel"!==a3&&(d3=true)),l3=true),i3&&(this[e5?"mouseDownX":"mouseDownY"]=i3[e5?"chartX":"chartY"]))}return l3&&(o3?N2(this,"selection",o3,(()=>{delete t4.selection,t4.trigger="zoom",this.transform(t4)})):(!d3||c3||this.resetZoomButton?!d3&&this.resetZoomButton&&(this.resetZoomButton=this.resetZoomButton.destroy()):this.showResetZoom(),this.redraw("zoom"===a3&&(this.options.chart.animation??this.pointCount<100)))),l3}}return R2(Q.prototype,{callbacks:[],collectionsWithInit:{xAxis:[Q.prototype.addAxis,[true]],yAxis:[Q.prototype.addAxis,[false]],series:[Q.prototype.addSeries]},collectionsWithUpdate:["xAxis","yAxis","series"],propsRequireDirtyBox:["backgroundColor","borderColor","borderWidth","borderRadius","plotBackgroundColor","plotBackgroundImage","plotBorderColor","plotBorderWidth","plotShadow","shadow"],propsRequireReflow:["margin","marginTop","marginRight","marginBottom","marginLeft","spacing","spacingTop","spacingRight","spacingBottom","spacingLeft"],propsRequireUpdateSeries:["chart.inverted","chart.polar","chart.ignoreHiddenSeries","chart.type","colors","plotOptions","time","tooltip"]}),Q})),i(e2,"Extensions/ScrollablePlotArea.js",[e2["Core/Animation/AnimationUtilities.js"],e2["Core/Globals.js"],e2["Core/Renderer/RendererRegistry.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2,s2){let{stop:r2}=t3,{composed:o2}=e3,{addEvent:n2,createElement:a2,css:h2,defined:l2,merge:d2,pushUnique:c2}=s2;function p2(){let t4=this.scrollablePlotArea;(this.scrollablePixelsX||this.scrollablePixelsY)&&!t4&&(this.scrollablePlotArea=t4=new g2(this)),t4==null?void 0:t4.applyFixed()}function u2(){this.chart.scrollablePlotArea&&(this.chart.scrollablePlotArea.isDirty=true)}class g2{static compose(t4,e4,i3){c2(o2,this.compose)&&(n2(t4,"afterInit",u2),n2(e4,"afterSetChartSize",(t5=>this.afterSetSize(t5.target,t5))),n2(e4,"render",p2),n2(i3,"show",u2))}static afterSetSize(t4,e4){let i3,s3,r3;let{minWidth:o3,minHeight:n3}=t4.options.chart.scrollablePlotArea||{},{clipBox:a3,plotBox:h3,inverted:c3,renderer:p3}=t4;if(!p3.forExport&&(o3?(t4.scrollablePixelsX=i3=Math.max(0,o3-t4.chartWidth),i3&&(t4.scrollablePlotBox=d2(t4.plotBox),h3.width=t4.plotWidth+=i3,a3[c3?"height":"width"]+=i3,r3=true)):n3&&(t4.scrollablePixelsY=s3=Math.max(0,n3-t4.chartHeight),l2(s3)&&(t4.scrollablePlotBox=d2(t4.plotBox),h3.height=t4.plotHeight+=s3,a3[c3?"width":"height"]+=s3,r3=false)),l2(r3)&&!e4.skipAxes))for(let e5 of t4.axes)e5.horiz===r3&&(e5.setAxisSize(),e5.setAxisTranslation())}constructor(t4){var _a;let e4;let s3=t4.options.chart,r3=i2.getRendererType(),o3=s3.scrollablePlotArea||{},l3=this.moveFixedElements.bind(this),d3={WebkitOverflowScrolling:"touch",overflowX:"hidden",overflowY:"hidden"};t4.scrollablePixelsX&&(d3.overflowX="auto"),t4.scrollablePixelsY&&(d3.overflowY="auto"),this.chart=t4;let c3=this.parentDiv=a2("div",{className:"highcharts-scrolling-parent"},{position:"relative"},t4.renderTo),p3=this.scrollingContainer=a2("div",{className:"highcharts-scrolling"},d3,c3),u3=this.innerContainer=a2("div",{className:"highcharts-inner-container"},void 0,p3),g3=this.fixedDiv=a2("div",{className:"highcharts-fixed"},{position:"absolute",overflow:"hidden",pointerEvents:"none",zIndex:(((_a=s3.style)==null?void 0:_a.zIndex)||0)+2,top:0},void 0,true),f2=this.fixedRenderer=new r3(g3,t4.chartWidth,t4.chartHeight,s3.style);this.mask=f2.path().attr({fill:s3.backgroundColor||"#fff","fill-opacity":o3.opacity??.85,zIndex:-1}).addClass("highcharts-scrollable-mask").add(),p3.parentNode.insertBefore(g3,p3),h2(t4.renderTo,{overflow:"visible"}),n2(t4,"afterShowResetZoom",l3),n2(t4,"afterApplyDrilldown",l3),n2(t4,"afterLayOutTitles",l3),n2(p3,"scroll",(()=>{let{pointer:i3,hoverPoint:s4}=t4;i3&&(delete i3.chartPosition,s4&&(e4=s4),i3.runPointActions(void 0,e4,true))})),u3.appendChild(t4.container)}applyFixed(){var _a;let{chart:t4,fixedRenderer:e4,isDirty:i3,scrollingContainer:s3}=this,{axisOffset:o3,chartWidth:n3,chartHeight:a3,container:d3,plotHeight:c3,plotLeft:p3,plotTop:u3,plotWidth:g3,scrollablePixelsX:f2=0,scrollablePixelsY:m2=0}=t4,{scrollPositionX:x2=0,scrollPositionY:y2=0}=t4.options.chart.scrollablePlotArea||{},b2=n3+f2,v2=a3+m2;e4.setSize(n3,a3),(i3??true)&&(this.isDirty=false,this.moveFixedElements()),r2(t4.container),h2(d3,{width:`${b2}px`,height:`${v2}px`}),t4.renderer.boxWrapper.attr({width:b2,height:v2,viewBox:[0,0,b2,v2].join(" ")}),(_a=t4.chartBackground)==null?void 0:_a.attr({width:b2,height:v2}),h2(s3,{width:`${n3}px`,height:`${a3}px`}),l2(i3)||(s3.scrollLeft=f2*x2,s3.scrollTop=m2*y2);let S2=u3-o3[0]-1,C2=p3-o3[3]-1,k2=u3+c3+o3[2]+1,M2=p3+g3+o3[1]+1,w2=p3+g3-f2,T2=u3+c3-m2,A2=[["M",0,0]];f2?A2=[["M",0,S2],["L",p3-1,S2],["L",p3-1,k2],["L",0,k2],["Z"],["M",w2,S2],["L",n3,S2],["L",n3,k2],["L",w2,k2],["Z"]]:m2&&(A2=[["M",C2,0],["L",C2,u3-1],["L",M2,u3-1],["L",M2,0],["Z"],["M",C2,T2],["L",C2,a3],["L",M2,a3],["L",M2,T2],["Z"]]),"adjustHeight"!==t4.redrawTrigger&&this.mask.attr({d:A2})}moveFixedElements(){let t4;let{container:e4,inverted:i3,scrollablePixelsX:s3,scrollablePixelsY:r3}=this.chart,o3=this.fixedRenderer,n3=g2.fixedSelectors;for(let a3 of(s3&&!i3?t4=".highcharts-yaxis":s3&&i3?t4=".highcharts-xaxis":r3&&!i3?t4=".highcharts-xaxis":r3&&i3&&(t4=".highcharts-yaxis"),t4&&n3.push(`${t4}:not(.highcharts-radial-axis)`,`${t4}-labels:not(.highcharts-radial-axis-labels)`),n3))[].forEach.call(e4.querySelectorAll(a3),(t5=>{(t5.namespaceURI===o3.SVG_NS?o3.box:o3.box.parentNode).appendChild(t5),t5.style.pointerEvents="auto"}))}}return g2.fixedSelectors=[".highcharts-breadcrumbs-group",".highcharts-contextbutton",".highcharts-caption",".highcharts-credits",".highcharts-drillup-button",".highcharts-legend",".highcharts-legend-checkbox",".highcharts-navigator-series",".highcharts-navigator-xaxis",".highcharts-navigator-yaxis",".highcharts-navigator",".highcharts-range-selector-group",".highcharts-reset-zoom",".highcharts-scrollbar",".highcharts-subtitle",".highcharts-title"],g2})),i(e2,"Core/Axis/Stacking/StackItem.js",[e2["Core/Templating.js"],e2["Core/Series/SeriesRegistry.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2){let{format:s2}=t3,{series:r2}=e3,{destroyObjectProperties:o2,fireEvent:n2,isNumber:a2,pick:h2}=i2;return class{constructor(t4,e4,i3,s3,r3){let o3=t4.chart.inverted,n3=t4.reversed;this.axis=t4;let a3=this.isNegative=!!i3!=!!n3;this.options=e4=e4||{},this.x=s3,this.total=null,this.cumulative=null,this.points={},this.hasValidPoints=false,this.stack=r3,this.leftCliff=0,this.rightCliff=0,this.alignOptions={align:e4.align||(o3?a3?"left":"right":"center"),verticalAlign:e4.verticalAlign||(o3?"middle":a3?"bottom":"top"),y:e4.y,x:e4.x},this.textAlign=e4.textAlign||(o3?a3?"right":"left":"center")}destroy(){o2(this,this.axis)}render(t4){let e4=this.axis.chart,i3=this.options,r3=i3.format,o3=r3?s2(r3,this,e4):i3.formatter.call(this);if(this.label)this.label.attr({text:o3,visibility:"hidden"});else{this.label=e4.renderer.label(o3,null,void 0,i3.shape,void 0,void 0,i3.useHTML,false,"stack-labels");let s3={r:i3.borderRadius||0,text:o3,padding:h2(i3.padding,5),visibility:"hidden"};e4.styledMode||(s3.fill=i3.backgroundColor,s3.stroke=i3.borderColor,s3["stroke-width"]=i3.borderWidth,this.label.css(i3.style||{})),this.label.attr(s3),this.label.added||this.label.add(t4)}this.label.labelrank=e4.plotSizeY,n2(this,"afterRender")}setOffset(t4,e4,i3,s3,o3,l2){let{alignOptions:d2,axis:c2,label:p2,options:u2,textAlign:g2}=this,f2=c2.chart,m2=this.getStackBox({xOffset:t4,width:e4,boxBottom:i3,boxTop:s3,defaultX:o3,xAxis:l2}),{verticalAlign:x2}=d2;if(p2&&m2){let t5=p2.getBBox(void 0,0),e5=p2.padding,i4="justify"===h2(u2.overflow,"justify"),s4;d2.x=u2.x||0,d2.y=u2.y||0;let{x:o4,y:n3}=this.adjustStackPosition({labelBox:t5,verticalAlign:x2,textAlign:g2});m2.x-=o4,m2.y-=n3,p2.align(d2,false,m2),(s4=f2.isInsidePlot(p2.alignAttr.x+d2.x+o4,p2.alignAttr.y+d2.y+n3))||(i4=false),i4&&r2.prototype.justifyDataLabel.call(c2,p2,d2,p2.alignAttr,t5,m2),p2.attr({x:p2.alignAttr.x,y:p2.alignAttr.y,rotation:u2.rotation,rotationOriginX:t5.width*{left:0,center:.5,right:1}[u2.textAlign||"center"],rotationOriginY:t5.height/2}),h2(!i4&&u2.crop,true)&&(s4=a2(p2.x)&&a2(p2.y)&&f2.isInsidePlot(p2.x-e5+(p2.width||0),p2.y)&&f2.isInsidePlot(p2.x+e5,p2.y)),p2[s4?"show":"hide"]()}n2(this,"afterSetOffset",{xOffset:t4,width:e4})}adjustStackPosition({labelBox:t4,verticalAlign:e4,textAlign:i3}){let s3={bottom:0,middle:1,top:2,right:1,center:0,left:-1},r3=s3[e4],o3=s3[i3];return{x:t4.width/2+t4.width/2*o3,y:t4.height/2*r3}}getStackBox(t4){let e4=this.axis,i3=e4.chart,{boxTop:s3,defaultX:r3,xOffset:o3,width:n3,boxBottom:l2}=t4,d2=e4.stacking.usePercentage?100:h2(s3,this.total,0),c2=e4.toPixels(d2),p2=t4.xAxis||i3.xAxis[0],u2=h2(r3,p2.translate(this.x))+o3,g2=Math.abs(c2-e4.toPixels(l2||a2(e4.min)&&e4.logarithmic&&e4.logarithmic.lin2log(e4.min)||0)),f2=i3.inverted,m2=this.isNegative;return f2?{x:(m2?c2:c2-g2)-i3.plotLeft,y:p2.height-u2-n3+p2.top-i3.plotTop,width:g2,height:n3}:{x:u2+p2.transB-i3.plotLeft,y:(m2?c2-g2:c2)-i3.plotTop,width:n3,height:g2}}}})),i(e2,"Core/Axis/Stacking/StackingAxis.js",[e2["Core/Animation/AnimationUtilities.js"],e2["Core/Axis/Axis.js"],e2["Core/Series/SeriesRegistry.js"],e2["Core/Axis/Stacking/StackItem.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2,s2,r2){var o2;let{getDeferredAnimation:n2}=t3,{series:{prototype:a2}}=i2,{addEvent:h2,correctFloat:l2,defined:d2,destroyObjectProperties:c2,fireEvent:p2,isArray:u2,isNumber:g2,objectEach:f2,pick:m2}=r2;function x2(){let t4=this.inverted;this.axes.forEach((t5=>{t5.stacking&&t5.stacking.stacks&&t5.hasVisibleSeries&&(t5.stacking.oldStacks=t5.stacking.stacks)})),this.series.forEach((e4=>{let i3=e4.xAxis&&e4.xAxis.options||{};e4.options.stacking&&e4.reserveSpace()&&(e4.stackKey=[e4.type,m2(e4.options.stack,""),t4?i3.top:i3.left,t4?i3.height:i3.width].join(","))}))}function y2(){var _a;let t4=this.stacking;if(t4){let e4=t4.stacks;f2(e4,((t5,i3)=>{c2(t5),delete e4[i3]})),(_a=t4.stackTotalGroup)==null?void 0:_a.destroy()}}function b2(){this.stacking||(this.stacking=new w2(this))}function v2(t4,e4,i3,s3){return!d2(t4)||t4.x!==e4||s3&&t4.stackKey!==s3?t4={x:e4,index:0,key:s3,stackKey:s3}:t4.index++,t4.key=[i3,e4,t4.index].join(","),t4}function S2(){let t4;let e4=this,i3=e4.yAxis,s3=e4.stackKey||"",r3=i3.stacking.stacks,o3=e4.processedXData,n3=e4.options.stacking,a3=e4[n3+"Stacker"];a3&&[s3,"-"+s3].forEach((i4=>{var _a;let s4=o3.length,n4,h3,l3;for(;s4--;)n4=o3[s4],t4=e4.getStackIndicator(t4,n4,e4.index,i4),h3=(_a=r3[i4])==null?void 0:_a[n4],(l3=h3==null?void 0:h3.points[t4.key||""])&&a3.call(e4,l3,h3,s4)}))}function C2(t4,e4,i3){let s3=e4.total?100/e4.total:0;t4[0]=l2(t4[0]*s3),t4[1]=l2(t4[1]*s3),this.stackedYData[i3]=t4[1]}function k2(t4){(this.is("column")||this.is("columnrange"))&&(this.options.centerInCategory&&!this.options.stacking&&this.chart.series.length>1?a2.setStackedPoints.call(this,t4,"group"):t4.stacking.resetStacks())}function M2(t4,e4){var _a,_b;let i3,r3,o3,n3,a3,h3,c3,p3,g3;let f3=e4||this.options.stacking;if(!f3||!this.reserveSpace()||({group:"xAxis"}[f3]||"yAxis")!==t4.coll)return;let x3=this.processedXData,y3=this.processedYData,b3=[],v3=y3.length,S3=this.options,C3=S3.threshold||0,k3=S3.startFromThreshold?C3:0,M3=S3.stack,w3=e4?`${this.type},${f3}`:this.stackKey||"",T2="-"+w3,A2=this.negStacks,P2=t4.stacking,L2=P2.stacks,O2=P2.oldStacks;for(P2.stacksTouched+=1,c3=0;c3<v3;c3++){p3=x3[c3],g3=y3[c3],h3=(i3=this.getStackIndicator(i3,p3,this.index)).key||"",L2[a3=(r3=A2&&g3<(k3?0:C3))?T2:w3]||(L2[a3]={}),L2[a3][p3]||(((_a=O2[a3])==null?void 0:_a[p3])?(L2[a3][p3]=O2[a3][p3],L2[a3][p3].total=null):L2[a3][p3]=new s2(t4,t4.options.stackLabels,!!r3,p3,M3)),o3=L2[a3][p3],null!==g3?(o3.points[h3]=o3.points[this.index]=[m2(o3.cumulative,k3)],d2(o3.cumulative)||(o3.base=h3),o3.touched=P2.stacksTouched,i3.index>0&&false===this.singleStacks&&(o3.points[h3][0]=o3.points[this.index+","+p3+",0"][0])):(delete o3.points[h3],delete o3.points[this.index]);let e5=o3.total||0;"percent"===f3?(n3=r3?w3:T2,e5=A2&&((_b=L2[n3])==null?void 0:_b[p3])?(n3=L2[n3][p3]).total=Math.max(n3.total||0,e5)+Math.abs(g3)||0:l2(e5+(Math.abs(g3)||0))):"group"===f3?(u2(g3)&&(g3=g3[0]),null!==g3&&e5++):e5=l2(e5+(g3||0)),"group"===f3?o3.cumulative=(e5||1)-1:o3.cumulative=l2(m2(o3.cumulative,k3)+(g3||0)),o3.total=e5,null!==g3&&(o3.points[h3].push(o3.cumulative),b3[c3]=o3.cumulative,o3.hasValidPoints=true)}"percent"===f3&&(P2.usePercentage=true),"group"!==f3&&(this.stackedYData=b3),P2.oldStacks={}}class w2{constructor(t4){this.oldStacks={},this.stacks={},this.stacksTouched=0,this.axis=t4}buildStacks(){let t4,e4;let i3=this.axis,s3=i3.series,r3="xAxis"===i3.coll,o3=i3.options.reversedStacks,n3=s3.length;for(this.resetStacks(),this.usePercentage=false,e4=n3;e4--;)t4=s3[o3?e4:n3-e4-1],r3&&t4.setGroupedPoints(i3),t4.setStackedPoints(i3);if(!r3)for(e4=0;e4<n3;e4++)s3[e4].modifyStacks();p2(i3,"afterBuildStacks")}cleanStacks(){this.oldStacks&&(this.stacks=this.oldStacks,f2(this.stacks,(t4=>{f2(t4,(t5=>{t5.cumulative=t5.total}))})))}resetStacks(){f2(this.stacks,(t4=>{f2(t4,((e4,i3)=>{g2(e4.touched)&&e4.touched<this.stacksTouched?(e4.destroy(),delete t4[i3]):(e4.total=null,e4.cumulative=null)}))}))}renderStackTotals(){var _a;let t4=this.axis,e4=t4.chart,i3=e4.renderer,s3=this.stacks,r3=n2(e4,((_a=t4.options.stackLabels)==null?void 0:_a.animation)||false),o3=this.stackTotalGroup=this.stackTotalGroup||i3.g("stack-labels").attr({zIndex:6,opacity:0}).add();o3.translate(e4.plotLeft,e4.plotTop),f2(s3,(t5=>{f2(t5,(t6=>{t6.render(o3)}))})),o3.animate({opacity:1},r3)}}return(o2||(o2={})).compose=function(t4,e4,i3){let s3=e4.prototype,r3=i3.prototype;s3.getStacks||(h2(t4,"init",b2),h2(t4,"destroy",y2),s3.getStacks=x2,r3.getStackIndicator=v2,r3.modifyStacks=S2,r3.percentStacker=C2,r3.setGroupedPoints=k2,r3.setStackedPoints=M2)},o2})),i(e2,"Series/Line/LineSeries.js",[e2["Core/Series/Series.js"],e2["Core/Series/SeriesRegistry.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2){let{defined:s2,merge:r2,isObject:o2}=i2;class n2 extends t3{drawGraph(){let t4=this.options,e4=(this.gappedPath||this.getGraphPath).call(this),i3=this.chart.styledMode;[this,...this.zones].forEach(((s3,n3)=>{let a2,h2=s3.graph,l2=h2?"animate":"attr",d2=s3.dashStyle||t4.dashStyle;h2?(h2.endX=this.preventGraphAnimation?null:e4.xMap,h2.animate({d:e4})):e4.length&&(s3.graph=h2=this.chart.renderer.path(e4).addClass("highcharts-graph"+(n3?` highcharts-zone-graph-${n3-1} `:" ")+(n3&&s3.className||"")).attr({zIndex:1}).add(this.group)),h2&&!i3&&(a2={stroke:!n3&&t4.lineColor||s3.color||this.color||"#cccccc","stroke-width":t4.lineWidth||0,fill:this.fillGraph&&this.color||"none"},d2?a2.dashstyle=d2:"square"!==t4.linecap&&(a2["stroke-linecap"]=a2["stroke-linejoin"]="round"),h2[l2](a2).shadow(n3<2&&t4.shadow&&r2({filterUnits:"userSpaceOnUse"},o2(t4.shadow)?t4.shadow:{}))),h2&&(h2.startX=e4.xMap,h2.isArea=e4.isArea)}))}getGraphPath(t4,e4,i3){let r3=this,o3=r3.options,n3=[],a2=[],h2,l2=o3.step,d2=(t4=t4||r3.points).reversed;return d2&&t4.reverse(),(l2={right:1,center:2}[l2]||l2&&3)&&d2&&(l2=4-l2),(t4=this.getValidPoints(t4,false,!(o3.connectNulls&&!e4&&!i3))).forEach((function(d3,c2){let p2;let u2=d3.plotX,g2=d3.plotY,f2=t4[c2-1],m2=d3.isNull||"number"!=typeof g2;(d3.leftCliff||f2&&f2.rightCliff)&&!i3&&(h2=true),m2&&!s2(e4)&&c2>0?h2=!o3.connectNulls:m2&&!e4?h2=true:(0===c2||h2?p2=[["M",d3.plotX,d3.plotY]]:r3.getPointSpline?p2=[r3.getPointSpline(t4,d3,c2)]:l2?(p2=1===l2?[["L",f2.plotX,g2]]:2===l2?[["L",(f2.plotX+u2)/2,f2.plotY],["L",(f2.plotX+u2)/2,g2]]:[["L",u2,f2.plotY]]).push(["L",u2,g2]):p2=[["L",u2,g2]],a2.push(d3.x),l2&&(a2.push(d3.x),2===l2&&a2.push(d3.x)),n3.push.apply(n3,p2),h2=false)})),n3.xMap=a2,r3.graphPath=n3,n3}}return n2.defaultOptions=r2(t3.defaultOptions,{legendSymbol:"lineMarker"}),e3.registerSeriesType("line",n2),n2})),i(e2,"Series/Area/AreaSeriesDefaults.js",[],(function(){return{threshold:0,legendSymbol:"areaMarker"}})),i(e2,"Series/Area/AreaSeries.js",[e2["Series/Area/AreaSeriesDefaults.js"],e2["Core/Series/SeriesRegistry.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2){let{seriesTypes:{line:s2}}=e3,{extend:r2,merge:o2,objectEach:n2,pick:a2}=i2;class h2 extends s2{drawGraph(){this.areaPath=[],super.drawGraph.apply(this);let{areaPath:t4,options:e4}=this;[this,...this.zones].forEach(((i3,s3)=>{let r3={},o3=i3.fillColor||e4.fillColor,n3=i3.area,a3=n3?"animate":"attr";n3?(n3.endX=this.preventGraphAnimation?null:t4.xMap,n3.animate({d:t4})):(r3.zIndex=0,(n3=i3.area=this.chart.renderer.path(t4).addClass("highcharts-area"+(s3?` highcharts-zone-area-${s3-1} `:" ")+(s3&&i3.className||"")).add(this.group)).isArea=true),this.chart.styledMode||(r3.fill=o3||i3.color||this.color,r3["fill-opacity"]=o3?1:e4.fillOpacity??.75,n3.css({pointerEvents:this.stickyTracking?"none":"auto"})),n3[a3](r3),n3.startX=t4.xMap,n3.shiftUnit=e4.step?2:1}))}getGraphPath(t4){let e4,i3,r3;let o3=s2.prototype.getGraphPath,n3=this.options,h3=n3.stacking,l2=this.yAxis,d2=[],c2=[],p2=this.index,u2=l2.stacking.stacks[this.stackKey],g2=n3.threshold,f2=Math.round(l2.getThreshold(n3.threshold)),m2=a2(n3.connectNulls,"percent"===h3),x2=function(i4,s3,r4){let o4=t4[i4],n4=h3&&u2[o4.x].points[p2],a3=o4[r4+"Null"]||0,m3=o4[r4+"Cliff"]||0,x3,y3,b3=true;m3||a3?(x3=(a3?n4[0]:n4[1])+m3,y3=n4[0]+m3,b3=!!a3):!h3&&t4[s3]&&t4[s3].isNull&&(x3=y3=g2),void 0!==x3&&(c2.push({plotX:e4,plotY:null===x3?f2:l2.getThreshold(x3),isNull:b3,isCliff:true}),d2.push({plotX:e4,plotY:null===y3?f2:l2.getThreshold(y3),doCurve:false}))};t4=t4||this.points,h3&&(t4=this.getStackPoints(t4));for(let s3=0,o4=t4.length;s3<o4;++s3)h3||(t4[s3].leftCliff=t4[s3].rightCliff=t4[s3].leftNull=t4[s3].rightNull=void 0),i3=t4[s3].isNull,e4=a2(t4[s3].rectPlotX,t4[s3].plotX),r3=h3?a2(t4[s3].yBottom,f2):f2,i3&&!m2||(m2||x2(s3,s3-1,"left"),i3&&!h3&&m2||(c2.push(t4[s3]),d2.push({x:s3,plotX:e4,plotY:r3})),m2||x2(s3,s3+1,"right"));let y2=o3.call(this,c2,true,true);d2.reversed=true;let b2=o3.call(this,d2,true,true),v2=b2[0];v2&&"M"===v2[0]&&(b2[0]=["L",v2[1],v2[2]]);let S2=y2.concat(b2);S2.length&&S2.push(["Z"]);let C2=o3.call(this,c2,false,m2);return this.chart.series.length>1&&h3&&c2.some((t5=>t5.isCliff))&&(S2.hasStackedCliffs=C2.hasStackedCliffs=true),S2.xMap=y2.xMap,this.areaPath=S2,C2}getStackPoints(t4){let e4=this,i3=[],s3=[],r3=this.xAxis,o3=this.yAxis,h3=o3.stacking.stacks[this.stackKey],l2={},d2=o3.series,c2=d2.length,p2=o3.options.reversedStacks?1:-1,u2=d2.indexOf(e4);if(t4=t4||this.points,this.options.stacking){for(let e5=0;e5<t4.length;e5++)t4[e5].leftNull=t4[e5].rightNull=void 0,l2[t4[e5].x]=t4[e5];n2(h3,(function(t5,e5){null!==t5.total&&s3.push(e5)})),s3.sort((function(t5,e5){return t5-e5}));let g2=d2.map((t5=>t5.visible));s3.forEach((function(t5,n3){let f2=0,m2,x2;if(l2[t5]&&!l2[t5].isNull)i3.push(l2[t5]),[-1,1].forEach((function(i4){let r4=1===i4?"rightNull":"leftNull",o4=h3[s3[n3+i4]],a3=0;if(o4){let i5=u2;for(;i5>=0&&i5<c2;){let s4=d2[i5].index;!(m2=o4.points[s4])&&(s4===e4.index?l2[t5][r4]=true:g2[i5]&&(x2=h3[t5].points[s4])&&(a3-=x2[1]-x2[0])),i5+=p2}}l2[t5][1===i4?"rightCliff":"leftCliff"]=a3}));else{let e5=u2;for(;e5>=0&&e5<c2;){let i4=d2[e5].index;if(m2=h3[t5].points[i4]){f2=m2[1];break}e5+=p2}f2=a2(f2,0),f2=o3.translate(f2,0,1,0,1),i3.push({isNull:true,plotX:r3.translate(t5,0,0,0,1),x:t5,plotY:f2,yBottom:f2})}}))}return i3}}return h2.defaultOptions=o2(s2.defaultOptions,t3),r2(h2.prototype,{singleStacks:false}),e3.registerSeriesType("area",h2),h2})),i(e2,"Series/Spline/SplineSeries.js",[e2["Core/Series/SeriesRegistry.js"],e2["Core/Utilities.js"]],(function(t3,e3){let{line:i2}=t3.seriesTypes,{merge:s2,pick:r2}=e3;class o2 extends i2{getPointSpline(t4,e4,i3){let s3,o3,n2,a2;let h2=e4.plotX||0,l2=e4.plotY||0,d2=t4[i3-1],c2=t4[i3+1];function p2(t5){return t5&&!t5.isNull&&false!==t5.doCurve&&!e4.isCliff}if(p2(d2)&&p2(c2)){let t5=d2.plotX||0,i4=d2.plotY||0,r3=c2.plotX||0,p3=c2.plotY||0,u3=0;s3=(1.5*h2+t5)/2.5,o3=(1.5*l2+i4)/2.5,n2=(1.5*h2+r3)/2.5,a2=(1.5*l2+p3)/2.5,n2!==s3&&(u3=(a2-o3)*(n2-h2)/(n2-s3)+l2-a2),o3+=u3,a2+=u3,o3>i4&&o3>l2?(o3=Math.max(i4,l2),a2=2*l2-o3):o3<i4&&o3<l2&&(o3=Math.min(i4,l2),a2=2*l2-o3),a2>p3&&a2>l2?(a2=Math.max(p3,l2),o3=2*l2-a2):a2<p3&&a2<l2&&(a2=Math.min(p3,l2),o3=2*l2-a2),e4.rightContX=n2,e4.rightContY=a2,e4.controlPoints={low:[s3,o3],high:[n2,a2]}}let u2=["C",r2(d2.rightContX,d2.plotX,0),r2(d2.rightContY,d2.plotY,0),r2(s3,h2,0),r2(o3,l2,0),h2,l2];return d2.rightContX=d2.rightContY=void 0,u2}}return o2.defaultOptions=s2(i2.defaultOptions),t3.registerSeriesType("spline",o2),o2})),i(e2,"Series/AreaSpline/AreaSplineSeries.js",[e2["Series/Spline/SplineSeries.js"],e2["Core/Series/SeriesRegistry.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2){let{area:s2,area:{prototype:r2}}=e3.seriesTypes,{extend:o2,merge:n2}=i2;class a2 extends t3{}return a2.defaultOptions=n2(t3.defaultOptions,s2.defaultOptions),o2(a2.prototype,{getGraphPath:r2.getGraphPath,getStackPoints:r2.getStackPoints,drawGraph:r2.drawGraph}),e3.registerSeriesType("areaspline",a2),a2})),i(e2,"Series/Column/ColumnSeriesDefaults.js",[],(function(){return{borderRadius:3,centerInCategory:false,groupPadding:.2,marker:null,pointPadding:.1,minPointLength:0,cropThreshold:50,pointRange:null,states:{hover:{halo:false,brightness:.1},select:{color:"#cccccc",borderColor:"#000000"}},dataLabels:{align:void 0,verticalAlign:void 0,y:void 0},startFromThreshold:true,stickyTracking:false,tooltip:{distance:6},threshold:0,borderColor:"#ffffff"}})),i(e2,"Series/Column/ColumnSeries.js",[e2["Core/Animation/AnimationUtilities.js"],e2["Core/Color/Color.js"],e2["Series/Column/ColumnSeriesDefaults.js"],e2["Core/Globals.js"],e2["Core/Series/Series.js"],e2["Core/Series/SeriesRegistry.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2,s2,r2,o2,n2){let{animObject:a2}=t3,{parse:h2}=e3,{noop:l2}=s2,{clamp:d2,crisp:c2,defined:p2,extend:u2,fireEvent:g2,isArray:f2,isNumber:m2,merge:x2,pick:y2,objectEach:b2}=n2;class v2 extends r2{animate(t4){let e4,i3;let s3=this,r3=this.yAxis,o3=r3.pos,n3=r3.reversed,h3=s3.options,{clipOffset:l3,inverted:c3}=this.chart,p3={},g3=c3?"translateX":"translateY";t4&&l3?(p3.scaleY=.001,i3=d2(r3.toPixels(h3.threshold),o3,o3+r3.len),c3?(i3+=n3?-Math.floor(l3[0]):Math.ceil(l3[2]),p3.translateX=i3-r3.len):(i3+=n3?Math.ceil(l3[0]):-Math.floor(l3[2]),p3.translateY=i3),s3.clipBox&&s3.setClip(),s3.group.attr(p3)):(e4=Number(s3.group.attr(g3)),s3.group.animate({scaleY:1},u2(a2(s3.options.animation),{step:function(t5,i4){s3.group&&(p3[g3]=e4+i4.pos*(o3-e4),s3.group.attr(p3))}})))}init(t4,e4){super.init.apply(this,arguments);let i3=this;(t4=i3.chart).hasRendered&&t4.series.forEach((function(t5){t5.type===i3.type&&(t5.isDirty=true)}))}getColumnMetrics(){var _a,_b;let t4=this,e4=t4.options,i3=t4.xAxis,s3=t4.yAxis,r3=i3.options.reversedStacks,o3=i3.reversed&&!r3||!i3.reversed&&r3,n3={},a3,h3=0;false===e4.grouping?h3=1:t4.chart.series.forEach((function(e5){let i4;let r4=e5.yAxis,o4=e5.options;e5.type===t4.type&&e5.reserveSpace()&&s3.len===r4.len&&s3.pos===r4.pos&&(o4.stacking&&"group"!==o4.stacking?(void 0===n3[a3=e5.stackKey]&&(n3[a3]=h3++),i4=n3[a3]):false!==o4.grouping&&(i4=h3++),e5.columnIndex=i4)}));let l3=Math.min(Math.abs(i3.transA)*(!((_a=i3.brokenAxis)==null?void 0:_a.hasBreaks)&&((_b=i3.ordinal)==null?void 0:_b.slope)||e4.pointRange||i3.closestPointRange||i3.tickInterval||1),i3.len),d3=l3*e4.groupPadding,c3=(l3-2*d3)/(h3||1),p3=Math.min(e4.maxPointWidth||i3.len,y2(e4.pointWidth,c3*(1-2*e4.pointPadding))),u3=(t4.columnIndex||0)+(o3?1:0);return t4.columnMetrics={width:p3,offset:(c3-p3)/2+(d3+u3*c3-l3/2)*(o3?-1:1),paddedWidth:c3,columnCount:h3},t4.columnMetrics}crispCol(t4,e4,i3,s3){let r3=this.borderWidth,o3=this.chart.inverted;return s3=c2(e4+s3,r3,o3)-(e4=c2(e4,r3,o3)),this.options.crisp&&(i3=c2(t4+i3,r3)-(t4=c2(t4,r3))),{x:t4,y:e4,width:i3,height:s3}}adjustForMissingColumns(t4,e4,i3,s3){var _a;if(!i3.isNull&&s3.columnCount>1){let r3=this.xAxis.series.filter((t5=>t5.visible)).map((t5=>t5.index)),o3=0,n3=0;b2((_a=this.xAxis.stacking)==null?void 0:_a.stacks,(t5=>{if("number"==typeof i3.x){let e5=t5[i3.x.toString()];if(e5&&f2(e5.points[this.index])){let t6=Object.keys(e5.points).filter((t7=>!t7.match(",")&&e5.points[t7]&&e5.points[t7].length>1)).map(parseFloat).filter((t7=>-1!==r3.indexOf(t7))).sort(((t7,e6)=>e6-t7));o3=t6.indexOf(this.index),n3=t6.length}}})),o3=this.xAxis.reversed?n3-1-o3:o3;let a3=(n3-1)*s3.paddedWidth+e4;t4=(i3.plotX||0)+a3/2-e4-o3*s3.paddedWidth}return t4}translate(){let t4=this,e4=t4.chart,i3=t4.options,s3=t4.dense=t4.closestPointRange*t4.xAxis.transA<2,o3=t4.borderWidth=y2(i3.borderWidth,s3?0:1),n3=t4.xAxis,a3=t4.yAxis,h3=i3.threshold,l3=y2(i3.minPointLength,5),c3=t4.getColumnMetrics(),u3=c3.width,f3=t4.pointXOffset=c3.offset,x3=t4.dataMin,b3=t4.dataMax,v3=t4.translatedThreshold=a3.getThreshold(h3),S2=t4.barW=Math.max(u3,1+2*o3);i3.pointPadding&&(S2=Math.ceil(S2)),r2.prototype.translate.apply(t4),t4.points.forEach((function(s4){let r3=y2(s4.yBottom,v3),o4=999+Math.abs(r3),g3=s4.plotX||0,C2=d2(s4.plotY,-o4,a3.len+o4),k2,M2=Math.min(C2,r3),w2=Math.max(C2,r3)-M2,T2=u3,A2=g3+f3,P2=S2;l3&&Math.abs(w2)<l3&&(w2=l3,k2=!a3.reversed&&!s4.negative||a3.reversed&&s4.negative,m2(h3)&&m2(b3)&&s4.y===h3&&b3<=h3&&(a3.min||0)<h3&&(x3!==b3||(a3.max||0)<=h3)&&(k2=!k2,s4.negative=!s4.negative),M2=Math.abs(M2-v3)>l3?r3-l3:v3-(k2?l3:0)),p2(s4.options.pointWidth)&&(A2-=Math.round(((T2=P2=Math.ceil(s4.options.pointWidth))-u3)/2)),i3.centerInCategory&&!i3.stacking&&(A2=t4.adjustForMissingColumns(A2,T2,s4,c3)),s4.barX=A2,s4.pointWidth=T2,s4.tooltipPos=e4.inverted?[d2(a3.len+a3.pos-e4.plotLeft-C2,a3.pos-e4.plotLeft,a3.len+a3.pos-e4.plotLeft),n3.len+n3.pos-e4.plotTop-A2-P2/2,w2]:[n3.left-e4.plotLeft+A2+P2/2,d2(C2+a3.pos-e4.plotTop,a3.pos-e4.plotTop,a3.len+a3.pos-e4.plotTop),w2],s4.shapeType=t4.pointClass.prototype.shapeType||"roundedRect",s4.shapeArgs=t4.crispCol(A2,s4.isNull?v3:M2,P2,s4.isNull?0:w2)})),g2(this,"afterColumnTranslate")}drawGraph(){this.group[this.dense?"addClass":"removeClass"]("highcharts-dense-data")}pointAttribs(t4,e4){let i3=this.options,s3=this.pointAttrToOptions||{},r3=s3.stroke||"borderColor",o3=s3["stroke-width"]||"borderWidth",n3,a3,l3,d3=t4&&t4.color||this.color,c3=t4&&t4[r3]||i3[r3]||d3,p3=t4&&t4.options.dashStyle||i3.dashStyle,u3=t4&&t4[o3]||i3[o3]||this[o3]||0,g3=y2(t4&&t4.opacity,i3.opacity,1);t4&&this.zones.length&&(a3=t4.getZone(),d3=t4.options.color||a3&&(a3.color||t4.nonZonedColor)||this.color,a3&&(c3=a3.borderColor||c3,p3=a3.dashStyle||p3,u3=a3.borderWidth||u3)),e4&&t4&&(l3=(n3=x2(i3.states[e4],t4.options.states&&t4.options.states[e4]||{})).brightness,d3=n3.color||void 0!==l3&&h2(d3).brighten(n3.brightness).get()||d3,c3=n3[r3]||c3,u3=n3[o3]||u3,p3=n3.dashStyle||p3,g3=y2(n3.opacity,g3));let f3={fill:d3,stroke:c3,"stroke-width":u3,opacity:g3};return p3&&(f3.dashstyle=p3),f3}drawPoints(t4=this.points){let e4;let i3=this,s3=this.chart,r3=i3.options,o3=s3.renderer,n3=r3.animationLimit||250;t4.forEach((function(t5){let a3=t5.plotY,h3=t5.graphic,l3=!!h3,d3=h3&&s3.pointCount<n3?"animate":"attr";m2(a3)&&null!==t5.y?(e4=t5.shapeArgs,h3&&t5.hasNewShapeType()&&(h3=h3.destroy()),i3.enabledDataSorting&&(t5.startXPos=i3.xAxis.reversed?-(e4&&e4.width||0):i3.xAxis.width),!h3&&(t5.graphic=h3=o3[t5.shapeType](e4).add(t5.group||i3.group),h3&&i3.enabledDataSorting&&s3.hasRendered&&s3.pointCount<n3&&(h3.attr({x:t5.startXPos}),l3=true,d3="animate")),h3&&l3&&h3[d3](x2(e4)),s3.styledMode||h3[d3](i3.pointAttribs(t5,t5.selected&&"select")).shadow(false!==t5.allowShadow&&r3.shadow),h3&&(h3.addClass(t5.getClassName(),true),h3.attr({visibility:t5.visible?"inherit":"hidden"}))):h3&&(t5.graphic=h3.destroy())}))}drawTracker(t4=this.points){let e4;let i3=this,s3=i3.chart,r3=s3.pointer,o3=function(t5){let e5=r3==null?void 0:r3.getPointFromEvent(t5);r3&&e5&&i3.options.enableMouseTracking&&(r3.isDirectTouch=true,e5.onMouseOver(t5))};t4.forEach((function(t5){e4=f2(t5.dataLabels)?t5.dataLabels:t5.dataLabel?[t5.dataLabel]:[],t5.graphic&&(t5.graphic.element.point=t5),e4.forEach((function(e5){(e5.div||e5.element).point=t5}))})),i3._hasTracking||(i3.trackerGroups.forEach((function(t5){i3[t5]&&(i3[t5].addClass("highcharts-tracker").on("mouseover",o3).on("mouseout",(function(t6){r3==null?void 0:r3.onTrackerMouseOut(t6)})).on("touchstart",o3),!s3.styledMode&&i3.options.cursor&&i3[t5].css({cursor:i3.options.cursor}))})),i3._hasTracking=true),g2(this,"afterDrawTracker")}remove(){let t4=this,e4=t4.chart;e4.hasRendered&&e4.series.forEach((function(e5){e5.type===t4.type&&(e5.isDirty=true)})),r2.prototype.remove.apply(t4,arguments)}}return v2.defaultOptions=x2(r2.defaultOptions,i2),u2(v2.prototype,{directTouch:true,getSymbol:l2,negStacks:true,trackerGroups:["group","dataLabelsGroup"]}),o2.registerSeriesType("column",v2),v2})),i(e2,"Core/Series/DataLabel.js",[e2["Core/Animation/AnimationUtilities.js"],e2["Core/Templating.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2){var s2;let{getDeferredAnimation:r2}=t3,{format:o2}=e3,{defined:n2,extend:a2,fireEvent:h2,isArray:l2,isString:d2,merge:c2,objectEach:p2,pick:u2,pInt:g2,splat:f2}=i2;return function(t4){function e4(){return v2(this).some((t5=>t5==null?void 0:t5.enabled))}function i3(t5,e5,i4,s4,r3){var _a;let{chart:o3,enabledDataSorting:h3}=this,l3=this.isCartesian&&o3.inverted,d3=t5.plotX,p3=t5.plotY,g3=i4.rotation||0,f3=n2(d3)&&n2(p3)&&o3.isInsidePlot(d3,Math.round(p3),{inverted:l3,paneCoordinates:true,series:this}),m3=0===g3&&"justify"===u2(i4.overflow,h3?"none":"justify"),x3=this.visible&&false!==t5.visible&&n2(d3)&&(t5.series.forceDL||h3&&!m3||f3||u2(i4.inside,!!this.options.stacking)&&s4&&o3.isInsidePlot(d3,l3?s4.x+1:s4.y+s4.height-1,{inverted:l3,paneCoordinates:true,series:this})),y3=t5.pos();if(x3&&y3){var b3;let n3=e5.getBBox(),d4=e5.getBBox(void 0,0),p4={right:1,center:.5}[i4.align||0]||0,v3={bottom:1,middle:.5}[i4.verticalAlign||0]||0;if(s4=a2({x:y3[0],y:Math.round(y3[1]),width:0,height:0},s4||{}),"plotEdges"===i4.alignTo&&this.isCartesian&&(s4[l3?"x":"y"]=0,s4[l3?"width":"height"]=((_a=this.yAxis)==null?void 0:_a.len)||0),a2(i4,{width:n3.width,height:n3.height}),b3=s4,h3&&this.xAxis&&!m3&&this.setDataLabelStartPos(t5,e5,r3,f3,b3),e5.align(c2(i4,{width:d4.width,height:d4.height}),false,s4,false),e5.alignAttr.x+=p4*(d4.width-n3.width),e5.alignAttr.y+=v3*(d4.height-n3.height),e5[e5.placed?"animate":"attr"]({x:e5.alignAttr.x+(n3.width-d4.width)/2,y:e5.alignAttr.y+(n3.height-d4.height)/2,rotationOriginX:(e5.width||0)/2,rotationOriginY:(e5.height||0)/2}),m3&&s4.height>=0)this.justifyDataLabel(e5,i4,e5.alignAttr,n3,s4,r3);else if(u2(i4.crop,true)){let{x:t6,y:i5}=e5.alignAttr;x3=o3.isInsidePlot(t6,i5,{paneCoordinates:true,series:this})&&o3.isInsidePlot(t6+n3.width-1,i5+n3.height-1,{paneCoordinates:true,series:this})}i4.shape&&!g3&&e5[r3?"attr":"animate"]({anchorX:y3[0],anchorY:y3[1]})}r3&&h3&&(e5.placed=false),x3||h3&&!m3?(e5.show(),e5.placed=true):(e5.hide(),e5.placed=false)}function s3(){return this.plotGroup("dataLabelsGroup","data-labels",this.hasRendered?"inherit":"hidden",this.options.dataLabels.zIndex||6)}function m2(t5){let e5=this.hasRendered||0,i4=this.initDataLabelsGroup().attr({opacity:+e5});return!e5&&i4&&(this.visible&&i4.show(),this.options.animation?i4.animate({opacity:1},t5):i4.attr({opacity:1})),i4}function x2(t5){var _a;let e5;t5=t5||this.points;let i4=this,s4=i4.chart,a3=i4.options,l3=s4.renderer,{backgroundColor:c3,plotBackgroundColor:m3}=s4.options.chart,x3=l3.getContrast(d2(m3)&&m3||d2(c3)&&c3||"#000000"),y3=v2(i4),{animation:S3,defer:C2}=y3[0],k2=C2?r2(s4,S3,i4):{defer:0,duration:0};h2(this,"drawDataLabels"),((_a=i4.hasDataLabels)==null?void 0:_a.call(i4))&&(e5=this.initDataLabels(k2),t5.forEach((t6=>{var _a2,_b;let r3=t6.dataLabels||[];f2(b2(y3,t6.dlOptions||((_a2=t6.options)==null?void 0:_a2.dataLabels))).forEach(((c5,f3)=>{let m4=c5.enabled&&(t6.visible||t6.dataLabelOnHidden)&&(!t6.isNull||t6.dataLabelOnNull)&&function(t7,e6){let i5=e6.filter;if(i5){let e7=i5.operator,s5=t7[i5.property],r4=i5.value;return">"===e7&&s5>r4||"<"===e7&&s5<r4||">="===e7&&s5>=r4||"<="===e7&&s5<=r4||"=="===e7&&s5==r4||"==="===e7&&s5===r4||"!="===e7&&s5!=r4||"!=="===e7&&s5!==r4}return true}(t6,c5),{backgroundColor:y4,borderColor:b3,distance:v3,style:S4={}}=c5,C3,k3,M2,w2,T2={},A2=r3[f3],P2=!A2,L2;m4&&(k3=u2(c5[t6.formatPrefix+"Format"],c5.format),C3=t6.getLabelConfig(),M2=n2(k3)?o2(k3,C3,s4):(c5[t6.formatPrefix+"Formatter"]||c5.formatter).call(C3,c5),w2=c5.rotation,!s4.styledMode&&(S4.color=u2(c5.color,S4.color,d2(i4.color)?i4.color:void 0,"#000000"),"contrast"===S4.color?("none"!==y4&&(L2=y4),t6.contrastColor=l3.getContrast("auto"!==L2&&L2||t6.color||i4.color),S4.color=L2||!n2(v3)&&c5.inside||0>g2(v3||0)||a3.stacking?t6.contrastColor:x3):delete t6.contrastColor,a3.cursor&&(S4.cursor=a3.cursor)),T2={r:c5.borderRadius||0,rotation:w2,padding:c5.padding,zIndex:1},s4.styledMode||(T2.fill="auto"===y4?t6.color:y4,T2.stroke="auto"===b3?t6.color:b3,T2["stroke-width"]=c5.borderWidth),p2(T2,((t7,e6)=>{void 0===t7&&delete T2[e6]}))),!A2||m4&&n2(M2)&&!!A2.div==!!c5.useHTML&&(A2.rotation&&c5.rotation||A2.rotation===c5.rotation)||(A2=void 0,P2=true),m4&&n2(M2)&&(A2?T2.text=M2:(A2=l3.label(M2,0,0,c5.shape,void 0,void 0,c5.useHTML,void 0,"data-label")).addClass(" highcharts-data-label-color-"+t6.colorIndex+" "+(c5.className||"")+(c5.useHTML?" highcharts-tracker":"")),A2&&(A2.options=c5,A2.attr(T2),s4.styledMode?S4.width&&A2.css({width:S4.width,textOverflow:S4.textOverflow}):A2.css(S4).shadow(c5.shadow),h2(A2,"beforeAddingDataLabel",{labelOptions:c5,point:t6}),A2.added||A2.add(e5),i4.alignDataLabel(t6,A2,c5,void 0,P2),A2.isActive=true,r3[f3]&&r3[f3]!==A2&&r3[f3].destroy(),r3[f3]=A2))}));let c4=r3.length;for(;c4--;)r3[c4]&&r3[c4].isActive?r3[c4].isActive=false:((_b=r3[c4])==null?void 0:_b.destroy(),r3.splice(c4,1));t6.dataLabel=r3[0],t6.dataLabels=r3}))),h2(this,"afterDrawDataLabels")}function y2(t5,e5,i4,s4,r3,o3){let n3=this.chart,a3=e5.align,h3=e5.verticalAlign,l3=t5.box?0:t5.padding||0,d3=n3.inverted?this.yAxis:this.xAxis,c3=d3?d3.left-n3.plotLeft:0,p3=n3.inverted?this.xAxis:this.yAxis,u3=p3?p3.top-n3.plotTop:0,{x:g3=0,y:f3=0}=e5,m3,x3;return(m3=(i4.x||0)+l3+c3)<0&&("right"===a3&&g3>=0?(e5.align="left",e5.inside=true):g3-=m3,x3=true),(m3=(i4.x||0)+s4.width-l3+c3)>n3.plotWidth&&("left"===a3&&g3<=0?(e5.align="right",e5.inside=true):g3+=n3.plotWidth-m3,x3=true),(m3=i4.y+l3+u3)<0&&("bottom"===h3&&f3>=0?(e5.verticalAlign="top",e5.inside=true):f3-=m3,x3=true),(m3=(i4.y||0)+s4.height-l3+u3)>n3.plotHeight&&("top"===h3&&f3<=0?(e5.verticalAlign="bottom",e5.inside=true):f3+=n3.plotHeight-m3,x3=true),x3&&(e5.x=g3,e5.y=f3,t5.placed=!o3,t5.align(e5,void 0,r3)),x3}function b2(t5,e5){let i4=[],s4;if(l2(t5)&&!l2(e5))i4=t5.map((function(t6){return c2(t6,e5)}));else if(l2(e5)&&!l2(t5))i4=e5.map((function(e6){return c2(t5,e6)}));else if(l2(t5)||l2(e5)){if(l2(t5)&&l2(e5))for(s4=Math.max(t5.length,e5.length);s4--;)i4[s4]=c2(t5[s4],e5[s4])}else i4=c2(t5,e5);return i4}function v2(t5){var _a,_b;let e5=t5.chart.options.plotOptions;return f2(b2(b2((_a=e5==null?void 0:e5.series)==null?void 0:_a.dataLabels,(_b=e5==null?void 0:e5[t5.type])==null?void 0:_b.dataLabels),t5.options.dataLabels))}function S2(t5,e5,i4,s4,r3){let o3=this.chart,n3=o3.inverted,a3=this.xAxis,h3=a3.reversed,l3=((n3?e5.height:e5.width)||0)/2,d3=t5.pointWidth,c3=d3?d3/2:0;e5.startXPos=n3?r3.x:h3?-l3-c3:a3.width-l3+c3,e5.startYPos=n3?h3?this.yAxis.height-l3+c3:-l3-c3:r3.y,s4?"hidden"===e5.visibility&&(e5.show(),e5.attr({opacity:0}).animate({opacity:1})):e5.attr({opacity:1}).animate({opacity:0},void 0,e5.hide),o3.hasRendered&&(i4&&e5.attr({x:e5.startXPos,y:e5.startYPos}),e5.placed=true)}t4.compose=function(t5){let r3=t5.prototype;r3.initDataLabels||(r3.initDataLabels=m2,r3.initDataLabelsGroup=s3,r3.alignDataLabel=i3,r3.drawDataLabels=x2,r3.justifyDataLabel=y2,r3.setDataLabelStartPos=S2,r3.hasDataLabels=e4)}}(s2||(s2={})),s2})),i(e2,"Series/Column/ColumnDataLabel.js",[e2["Core/Series/DataLabel.js"],e2["Core/Globals.js"],e2["Core/Series/SeriesRegistry.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2,s2){var r2;let{composed:o2}=e3,{series:n2}=i2,{merge:a2,pick:h2,pushUnique:l2}=s2;return function(e4){function i3(t4,e5,i4,s3,r3){let o3=this.chart.inverted,l3=t4.series,d2=(l3.xAxis?l3.xAxis.len:this.chart.plotSizeX)||0,c2=(l3.yAxis?l3.yAxis.len:this.chart.plotSizeY)||0,p2=t4.dlBox||t4.shapeArgs,u2=h2(t4.below,t4.plotY>h2(this.translatedThreshold,c2)),g2=h2(i4.inside,!!this.options.stacking);if(p2){if(s3=a2(p2),!("allow"===i4.overflow&&false===i4.crop)){s3.y<0&&(s3.height+=s3.y,s3.y=0);let t5=s3.y+s3.height-c2;t5>0&&t5<s3.height-1&&(s3.height-=t5)}o3&&(s3={x:c2-s3.y-s3.height,y:d2-s3.x-s3.width,width:s3.height,height:s3.width}),g2||(o3?(s3.x+=u2?0:s3.width,s3.width=0):(s3.y+=u2?s3.height:0,s3.height=0))}i4.align=h2(i4.align,!o3||g2?"center":u2?"right":"left"),i4.verticalAlign=h2(i4.verticalAlign,o3||g2?"middle":u2?"top":"bottom"),n2.prototype.alignDataLabel.call(this,t4,e5,i4,s3,r3),i4.inside&&t4.contrastColor&&e5.css({color:t4.contrastColor})}e4.compose=function(e5){t3.compose(n2),l2(o2,"ColumnDataLabel")&&(e5.prototype.alignDataLabel=i3)}}(r2||(r2={})),r2})),i(e2,"Series/Bar/BarSeries.js",[e2["Series/Column/ColumnSeries.js"],e2["Core/Series/SeriesRegistry.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2){let{extend:s2,merge:r2}=i2;class o2 extends t3{}return o2.defaultOptions=r2(t3.defaultOptions,{}),s2(o2.prototype,{inverted:true}),e3.registerSeriesType("bar",o2),o2})),i(e2,"Series/Scatter/ScatterSeriesDefaults.js",[],(function(){return{lineWidth:0,findNearestPointBy:"xy",jitter:{x:0,y:0},marker:{enabled:true},tooltip:{headerFormat:'<span style="color:{point.color}">●</span> <span style="font-size: 0.8em"> {series.name}</span><br/>',pointFormat:"x: <b>{point.x}</b><br/>y: <b>{point.y}</b><br/>"}}})),i(e2,"Series/Scatter/ScatterSeries.js",[e2["Series/Scatter/ScatterSeriesDefaults.js"],e2["Core/Series/SeriesRegistry.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2){let{column:s2,line:r2}=e3.seriesTypes,{addEvent:o2,extend:n2,merge:a2}=i2;class h2 extends r2{applyJitter(){let t4=this,e4=this.options.jitter,i3=this.points.length;e4&&this.points.forEach((function(s3,r3){["x","y"].forEach((function(o3,n3){if(e4[o3]&&!s3.isNull){let a3=`plot${o3.toUpperCase()}`,h3=t4[`${o3}Axis`],l2=e4[o3]*h3.transA;if(h3&&!h3.logarithmic){let t5=Math.max(0,(s3[a3]||0)-l2),e5=Math.min(h3.len,(s3[a3]||0)+l2);s3[a3]=t5+(e5-t5)*function(t6){let e6=1e4*Math.sin(t6);return e6-Math.floor(e6)}(r3+n3*i3),"x"===o3&&(s3.clientX=s3.plotX)}}}))}))}drawGraph(){this.options.lineWidth?super.drawGraph():this.graph&&(this.graph=this.graph.destroy())}}return h2.defaultOptions=a2(r2.defaultOptions,t3),n2(h2.prototype,{drawTracker:s2.prototype.drawTracker,sorted:false,requireSorting:false,noSharedTooltip:true,trackerGroups:["group","markerGroup","dataLabelsGroup"]}),o2(h2,"afterTranslate",(function(){this.applyJitter()})),e3.registerSeriesType("scatter",h2),h2})),i(e2,"Series/CenteredUtilities.js",[e2["Core/Globals.js"],e2["Core/Series/Series.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2){var s2,r2;let{deg2rad:o2}=t3,{fireEvent:n2,isNumber:a2,pick:h2,relativeLength:l2}=i2;return(r2=s2||(s2={})).getCenter=function(){let t4=this.options,i3=this.chart,s3=2*(t4.slicedOffset||0),r3=i3.plotWidth-2*s3,o3=i3.plotHeight-2*s3,d2=t4.center,c2=Math.min(r3,o3),p2=t4.thickness,u2,g2=t4.size,f2=t4.innerSize||0,m2,x2;"string"==typeof g2&&(g2=parseFloat(g2)),"string"==typeof f2&&(f2=parseFloat(f2));let y2=[h2(d2[0],"50%"),h2(d2[1],"50%"),h2(g2&&g2<0?void 0:t4.size,"100%"),h2(f2&&f2<0?void 0:t4.innerSize||0,"0%")];for(!i3.angular||this instanceof e3||(y2[3]=0),m2=0;m2<4;++m2)x2=y2[m2],u2=m2<2||2===m2&&/%$/.test(x2),y2[m2]=l2(x2,[r3,o3,c2,y2[2]][m2])+(u2?s3:0);return y2[3]>y2[2]&&(y2[3]=y2[2]),a2(p2)&&2*p2<y2[2]&&p2>0&&(y2[3]=y2[2]-2*p2),n2(this,"afterGetCenter",{positions:y2}),y2},r2.getStartAndEndRadians=function(t4,e4){let i3=a2(t4)?t4:0,s3=a2(e4)&&e4>i3&&e4-i3<360?e4:i3+360;return{start:o2*(i3+-90),end:o2*(s3+-90)}},s2})),i(e2,"Series/Pie/PiePoint.js",[e2["Core/Animation/AnimationUtilities.js"],e2["Core/Series/Point.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2){let{setAnimation:s2}=t3,{addEvent:r2,defined:o2,extend:n2,isNumber:a2,pick:h2,relativeLength:l2}=i2;class d2 extends e3{getConnectorPath(t4){let e4=t4.dataLabelPosition,i3=t4.options||{},s3=i3.connectorShape,r3=this.connectorShapes[s3]||s3;return e4&&r3.call(this,{...e4.computed,alignment:e4.alignment},e4.connectorPosition,i3)||[]}getTranslate(){return this.sliced&&this.slicedTranslation||{translateX:0,translateY:0}}haloPath(t4){let e4=this.shapeArgs;return this.sliced||!this.visible?[]:this.series.chart.renderer.symbols.arc(e4.x,e4.y,e4.r+t4,e4.r+t4,{innerR:e4.r-1,start:e4.start,end:e4.end,borderRadius:e4.borderRadius})}constructor(t4,e4,i3){super(t4,e4,i3),this.half=0,this.name??(this.name="Slice");let s3=t5=>{this.slice("select"===t5.type)};r2(this,"select",s3),r2(this,"unselect",s3)}isValid(){return a2(this.y)&&this.y>=0}setVisible(t4,e4=true){t4!==this.visible&&this.update({visible:t4??!this.visible},e4,void 0,false)}slice(t4,e4,i3){let r3=this.series;s2(i3,r3.chart),e4=h2(e4,true),this.sliced=this.options.sliced=t4=o2(t4)?t4:!this.sliced,r3.options.data[r3.data.indexOf(this)]=this.options,this.graphic&&this.graphic.animate(this.getTranslate())}}return n2(d2.prototype,{connectorShapes:{fixedOffset:function(t4,e4,i3){let s3=e4.breakAt,r3=e4.touchingSliceAt,o3=i3.softConnector?["C",t4.x+("left"===t4.alignment?-5:5),t4.y,2*s3.x-r3.x,2*s3.y-r3.y,s3.x,s3.y]:["L",s3.x,s3.y];return[["M",t4.x,t4.y],o3,["L",r3.x,r3.y]]},straight:function(t4,e4){let i3=e4.touchingSliceAt;return[["M",t4.x,t4.y],["L",i3.x,i3.y]]},crookedLine:function(t4,e4,i3){let{breakAt:s3,touchingSliceAt:r3}=e4,{series:o3}=this,[n3,a3,h3]=o3.center,d3=h3/2,{plotLeft:c2,plotWidth:p2}=o3.chart,u2="left"===t4.alignment,{x:g2,y:f2}=t4,m2=s3.x;if(i3.crookDistance){let t5=l2(i3.crookDistance,1);m2=u2?n3+d3+(p2+c2-n3-d3)*(1-t5):c2+(n3-d3)*t5}else m2=n3+(a3-f2)*Math.tan((this.angle||0)-Math.PI/2);let x2=[["M",g2,f2]];return(u2?m2<=g2&&m2>=s3.x:m2>=g2&&m2<=s3.x)&&x2.push(["L",m2,f2]),x2.push(["L",s3.x,s3.y],["L",r3.x,r3.y]),x2}}}),d2})),i(e2,"Series/Pie/PieSeriesDefaults.js",[],(function(){return{borderRadius:3,center:[null,null],clip:false,colorByPoint:true,dataLabels:{connectorPadding:5,connectorShape:"crookedLine",crookDistance:void 0,distance:30,enabled:true,formatter:function(){return this.point.isNull?void 0:this.point.name},softConnector:true,x:0},fillColor:void 0,ignoreHiddenPoint:true,inactiveOtherPoints:true,legendType:"point",marker:null,size:null,showInLegend:false,slicedOffset:10,stickyTracking:false,tooltip:{followPointer:true},borderColor:"#ffffff",borderWidth:1,lineWidth:void 0,states:{hover:{brightness:.1}}}})),i(e2,"Series/Pie/PieSeries.js",[e2["Series/CenteredUtilities.js"],e2["Series/Column/ColumnSeries.js"],e2["Core/Globals.js"],e2["Series/Pie/PiePoint.js"],e2["Series/Pie/PieSeriesDefaults.js"],e2["Core/Series/Series.js"],e2["Core/Series/SeriesRegistry.js"],e2["Core/Renderer/SVG/Symbols.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2,s2,r2,o2,n2,a2,h2){let{getStartAndEndRadians:l2}=t3,{noop:d2}=i2,{clamp:c2,extend:p2,fireEvent:u2,merge:g2,pick:f2}=h2;class m2 extends o2{animate(t4){let e4=this,i3=e4.points,s3=e4.startAngleRad;t4||i3.forEach((function(t5){let i4=t5.graphic,r3=t5.shapeArgs;i4&&r3&&(i4.attr({r:f2(t5.startR,e4.center&&e4.center[3]/2),start:s3,end:s3}),i4.animate({r:r3.r,start:r3.start,end:r3.end},e4.options.animation))}))}drawEmpty(){let t4,e4;let i3=this.startAngleRad,s3=this.endAngleRad,r3=this.options;0===this.total&&this.center?(t4=this.center[0],e4=this.center[1],this.graph||(this.graph=this.chart.renderer.arc(t4,e4,this.center[1]/2,0,i3,s3).addClass("highcharts-empty-series").add(this.group)),this.graph.attr({d:a2.arc(t4,e4,this.center[2]/2,0,{start:i3,end:s3,innerR:this.center[3]/2})}),this.chart.styledMode||this.graph.attr({"stroke-width":r3.borderWidth,fill:r3.fillColor||"none",stroke:r3.color||"#cccccc"})):this.graph&&(this.graph=this.graph.destroy())}drawPoints(){let t4=this.chart.renderer;this.points.forEach((function(e4){e4.graphic&&e4.hasNewShapeType()&&(e4.graphic=e4.graphic.destroy()),e4.graphic||(e4.graphic=t4[e4.shapeType](e4.shapeArgs).add(e4.series.group),e4.delayedRendering=true)}))}generatePoints(){super.generatePoints(),this.updateTotals()}getX(t4,e4,i3,s3){let r3=this.center,o3=this.radii?this.radii[i3.index]||0:r3[2]/2,n3=s3.dataLabelPosition,a3=(n3==null?void 0:n3.distance)||0,h3=Math.asin(c2((t4-r3[1])/(o3+a3),-1,1));return r3[0]+Math.cos(h3)*(o3+a3)*(e4?-1:1)+(a3>0?(e4?-1:1)*(s3.padding||0):0)}hasData(){return!!this.processedXData.length}redrawPoints(){let t4,e4,i3,s3;let r3=this,o3=r3.chart;this.drawEmpty(),r3.group&&!o3.styledMode&&r3.group.shadow(r3.options.shadow),r3.points.forEach((function(n3){let a3={};e4=n3.graphic,!n3.isNull&&e4?(s3=n3.shapeArgs,t4=n3.getTranslate(),o3.styledMode||(i3=r3.pointAttribs(n3,n3.selected&&"select")),n3.delayedRendering?(e4.setRadialReference(r3.center).attr(s3).attr(t4),o3.styledMode||e4.attr(i3).attr({"stroke-linejoin":"round"}),n3.delayedRendering=false):(e4.setRadialReference(r3.center),o3.styledMode||g2(true,a3,i3),g2(true,a3,s3,t4),e4.animate(a3)),e4.attr({visibility:n3.visible?"inherit":"hidden"}),e4.addClass(n3.getClassName(),true)):e4&&(n3.graphic=e4.destroy())}))}sortByAngle(t4,e4){t4.sort((function(t5,i3){return void 0!==t5.angle&&(i3.angle-t5.angle)*e4}))}translate(t4){u2(this,"translate"),this.generatePoints();let e4=this.options,i3=e4.slicedOffset,s3=l2(e4.startAngle,e4.endAngle),r3=this.startAngleRad=s3.start,o3=(this.endAngleRad=s3.end)-r3,n3=this.points,a3=e4.ignoreHiddenPoint,h3=n3.length,d3,c3,p3,g3,f3,m3,x2,y2=0;for(t4||(this.center=t4=this.getCenter()),m3=0;m3<h3;m3++){x2=n3[m3],d3=r3+y2*o3,x2.isValid()&&(!a3||x2.visible)&&(y2+=x2.percentage/100),c3=r3+y2*o3;let e5={x:t4[0],y:t4[1],r:t4[2]/2,innerR:t4[3]/2,start:Math.round(1e3*d3)/1e3,end:Math.round(1e3*c3)/1e3};x2.shapeType="arc",x2.shapeArgs=e5,(p3=(c3+d3)/2)>1.5*Math.PI?p3-=2*Math.PI:p3<-Math.PI/2&&(p3+=2*Math.PI),x2.slicedTranslation={translateX:Math.round(Math.cos(p3)*i3),translateY:Math.round(Math.sin(p3)*i3)},g3=Math.cos(p3)*t4[2]/2,f3=Math.sin(p3)*t4[2]/2,x2.tooltipPos=[t4[0]+.7*g3,t4[1]+.7*f3],x2.half=p3<-Math.PI/2||p3>Math.PI/2?1:0,x2.angle=p3}u2(this,"afterTranslate")}updateTotals(){let t4=this.points,e4=t4.length,i3=this.options.ignoreHiddenPoint,s3,r3,o3=0;for(s3=0;s3<e4;s3++)(r3=t4[s3]).isValid()&&(!i3||r3.visible)&&(o3+=r3.y);for(s3=0,this.total=o3;s3<e4;s3++)(r3=t4[s3]).percentage=o3>0&&(r3.visible||!i3)?r3.y/o3*100:0,r3.total=o3}}return m2.defaultOptions=g2(o2.defaultOptions,r2),p2(m2.prototype,{axisTypes:[],directTouch:true,drawGraph:void 0,drawTracker:e3.prototype.drawTracker,getCenter:t3.getCenter,getSymbol:d2,invertible:false,isCartesian:false,noSharedTooltip:true,pointAttribs:e3.prototype.pointAttribs,pointClass:s2,requireSorting:false,searchPoint:d2,trackerGroups:["group","dataLabelsGroup"]}),n2.registerSeriesType("pie",m2),m2})),i(e2,"Series/Pie/PieDataLabel.js",[e2["Core/Series/DataLabel.js"],e2["Core/Globals.js"],e2["Core/Renderer/RendererUtilities.js"],e2["Core/Series/SeriesRegistry.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2,s2,r2){var o2;let{composed:n2,noop:a2}=e3,{distribute:h2}=i2,{series:l2}=s2,{arrayMax:d2,clamp:c2,defined:p2,pick:u2,pushUnique:g2,relativeLength:f2}=r2;return function(e4){let i3={radialDistributionY:function(t4,e5){var _a;return(((_a=e5.dataLabelPosition)==null?void 0:_a.top)||0)+t4.distributeBox.pos},radialDistributionX:function(t4,e5,i4,s4,r4){let o4=r4.dataLabelPosition;return t4.getX(i4<((o4==null?void 0:o4.top)||0)+2||i4>((o4==null?void 0:o4.bottom)||0)-2?s4:i4,e5.half,e5,r4)},justify:function(t4,e5,i4,s4){var _a;return s4[0]+(t4.half?-1:1)*(i4+(((_a=e5.dataLabelPosition)==null?void 0:_a.distance)||0))},alignToPlotEdges:function(t4,e5,i4,s4){let r4=t4.getBBox().width;return e5?r4+s4:i4-r4-s4},alignToConnectors:function(t4,e5,i4,s4){let r4=0,o4;return t4.forEach((function(t5){(o4=t5.dataLabel.getBBox().width)>r4&&(r4=o4)})),e5?r4+s4:i4-r4-s4}};function s3(t4,e5){let{center:i4,options:s4}=this,r4=i4[2]/2,o4=t4.angle||0,n3=Math.cos(o4),a3=Math.sin(o4),h3=i4[0]+n3*r4,l3=i4[1]+a3*r4,d3=Math.min((s4.slicedOffset||0)+(s4.borderWidth||0),e5/5);return{natural:{x:h3+n3*e5,y:l3+a3*e5},computed:{},alignment:e5<0?"center":t4.half?"right":"left",connectorPosition:{breakAt:{x:h3+n3*d3,y:l3+a3*d3},touchingSliceAt:{x:h3,y:l3}},distance:e5}}function r3(){var _a;let t4=this,e5=t4.points,i4=t4.chart,s4=i4.plotWidth,r4=i4.plotHeight,o4=i4.plotLeft,n3=Math.round(i4.chartWidth/3),a3=t4.center,c3=a3[2]/2,g3=a3[1],m3=[[],[]],x2=[0,0,0,0],y2=t4.dataLabelPositioners,b2,v2,S2,C2=0;t4.visible&&((_a=t4.hasDataLabels)==null?void 0:_a.call(t4))&&(e5.forEach((t5=>{(t5.dataLabels||[]).forEach((t6=>{t6.shortened&&(t6.attr({width:"auto"}).css({width:"auto",textOverflow:"clip"}),t6.shortened=false)}))})),l2.prototype.drawDataLabels.apply(t4),e5.forEach((t5=>{(t5.dataLabels||[]).forEach(((e6,i5)=>{var _a2;let s5=a3[2]/2,r5=e6.options,o5=f2((r5==null?void 0:r5.distance)||0,s5);0===i5&&m3[t5.half].push(t5),!p2((_a2=r5==null?void 0:r5.style)==null?void 0:_a2.width)&&e6.getBBox().width>n3&&(e6.css({width:Math.round(.7*n3)+"px"}),e6.shortened=true),e6.dataLabelPosition=this.getDataLabelPosition(t5,o5),C2=Math.max(C2,o5)}))})),m3.forEach(((e6,n4)=>{let l3=e6.length,d3=[],f3,m4,b3=0,k2;l3&&(t4.sortByAngle(e6,n4-.5),C2>0&&(f3=Math.max(0,g3-c3-C2),m4=Math.min(g3+c3+C2,i4.plotHeight),e6.forEach((t5=>{(t5.dataLabels||[]).forEach((e7=>{var _a2;let s5=e7.dataLabelPosition;s5&&s5.distance>0&&(s5.top=Math.max(0,g3-c3-s5.distance),s5.bottom=Math.min(g3+c3+s5.distance,i4.plotHeight),b3=e7.getBBox().height||21,e7.lineHeight=i4.renderer.fontMetrics(e7.text||e7).h+2*e7.padding,t5.distributeBox={target:(((_a2=e7.dataLabelPosition)==null?void 0:_a2.natural.y)||0)-s5.top+e7.lineHeight/2,size:b3,rank:t5.y},d3.push(t5.distributeBox))}))})),h2(d3,k2=m4+b3-f3,k2/5)),e6.forEach((i5=>{(i5.dataLabels||[]).forEach((h3=>{let l4=h3.options||{},g4=i5.distributeBox,f4=h3.dataLabelPosition,m5=(f4==null?void 0:f4.natural.y)||0,b4=l4.connectorPadding||0,C3=h3.lineHeight||21,k3=(C3-h3.getBBox().height)/2,M2=0,w2=m5,T2="inherit";if(f4){if(d3&&p2(g4)&&f4.distance>0&&(void 0===g4.pos?T2="hidden":(S2=g4.size,w2=y2.radialDistributionY(i5,h3))),l4.justify)M2=y2.justify(i5,h3,c3,a3);else switch(l4.alignTo){case"connectors":M2=y2.alignToConnectors(e6,n4,s4,o4);break;case"plotEdges":M2=y2.alignToPlotEdges(h3,n4,s4,o4);break;default:M2=y2.radialDistributionX(t4,i5,w2-k3,m5,h3)}if(f4.attribs={visibility:T2,align:f4.alignment},f4.posAttribs={x:M2+(l4.x||0)+({left:b4,right:-b4}[f4.alignment]||0),y:w2+(l4.y||0)-C3/2},f4.computed.x=M2,f4.computed.y=w2-k3,u2(l4.crop,true)){let t5;M2-(v2=h3.getBBox().width)<b4&&1===n4?(t5=Math.round(v2-M2+b4),x2[3]=Math.max(t5,x2[3])):M2+v2>s4-b4&&0===n4&&(t5=Math.round(M2+v2-s4+b4),x2[1]=Math.max(t5,x2[1])),w2-S2/2<0?x2[0]=Math.max(Math.round(-w2+S2/2),x2[0]):w2+S2/2>r4&&(x2[2]=Math.max(Math.round(w2+S2/2-r4),x2[2])),f4.sideOverflow=t5}}}))})))})),(0===d2(x2)||this.verifyDataLabelOverflow(x2))&&(this.placeDataLabels(),this.points.forEach((e6=>{(e6.dataLabels||[]).forEach((s5=>{var _a2;let{connectorColor:r5,connectorWidth:o5=1}=s5.options||{},n4=s5.dataLabelPosition;if(o5){let a4;b2=s5.connector,n4&&n4.distance>0?(a4=!b2,b2||(s5.connector=b2=i4.renderer.path().addClass("highcharts-data-label-connector highcharts-color-"+e6.colorIndex+(e6.className?" "+e6.className:"")).add(t4.dataLabelsGroup)),i4.styledMode||b2.attr({"stroke-width":o5,stroke:r5||e6.color||"#666666"}),b2[a4?"attr":"animate"]({d:e6.getConnectorPath(s5)}),b2.attr({visibility:(_a2=n4.attribs)==null?void 0:_a2.visibility})):b2&&(s5.connector=b2.destroy())}}))}))))}function o3(){this.points.forEach((t4=>{(t4.dataLabels||[]).forEach((t5=>{var _a;let e5=t5.dataLabelPosition;e5?(e5.sideOverflow&&(t5.css({width:Math.max(t5.getBBox().width-e5.sideOverflow,0)+"px",textOverflow:(((_a=t5.options)==null?void 0:_a.style)||{}).textOverflow||"ellipsis"}),t5.shortened=true),t5.attr(e5.attribs),t5[t5.moved?"animate":"attr"](e5.posAttribs),t5.moved=true):t5&&t5.attr({y:-9999})})),delete t4.distributeBox}),this)}function m2(t4){let e5=this.center,i4=this.options,s4=i4.center,r4=i4.minSize||80,o4=r4,n3=null!==i4.size;return!n3&&(null!==s4[0]?o4=Math.max(e5[2]-Math.max(t4[1],t4[3]),r4):(o4=Math.max(e5[2]-t4[1]-t4[3],r4),e5[0]+=(t4[3]-t4[1])/2),null!==s4[1]?o4=c2(o4,r4,e5[2]-Math.max(t4[0],t4[2])):(o4=c2(o4,r4,e5[2]-t4[0]-t4[2]),e5[1]+=(t4[0]-t4[2])/2),o4<e5[2]?(e5[2]=o4,e5[3]=Math.min(i4.thickness?Math.max(0,o4-2*i4.thickness):Math.max(0,f2(i4.innerSize||0,o4)),o4),this.translate(e5),this.drawDataLabels&&this.drawDataLabels()):n3=true),n3}e4.compose=function(e5){if(t3.compose(l2),g2(n2,"PieDataLabel")){let t4=e5.prototype;t4.dataLabelPositioners=i3,t4.alignDataLabel=a2,t4.drawDataLabels=r3,t4.getDataLabelPosition=s3,t4.placeDataLabels=o3,t4.verifyDataLabelOverflow=m2}}}(o2||(o2={})),o2})),i(e2,"Core/Geometry/GeometryUtilities.js",[],(function(){var t3,e3;return(e3=t3||(t3={})).getCenterOfPoints=function(t4){let e4=t4.reduce(((t5,e5)=>(t5.x+=e5.x,t5.y+=e5.y,t5)),{x:0,y:0});return{x:e4.x/t4.length,y:e4.y/t4.length}},e3.getDistanceBetweenPoints=function(t4,e4){return Math.sqrt(Math.pow(e4.x-t4.x,2)+Math.pow(e4.y-t4.y,2))},e3.getAngleBetweenPoints=function(t4,e4){return Math.atan2(e4.x-t4.x,e4.y-t4.y)},e3.pointInPolygon=function({x:t4,y:e4},i2){let s2=i2.length,r2,o2,n2=false;for(r2=0,o2=s2-1;r2<s2;o2=r2++){let[s3,a2]=i2[r2],[h2,l2]=i2[o2];a2>e4!=l2>e4&&t4<(h2-s3)*(e4-a2)/(l2-a2)+s3&&(n2=!n2)}return n2},t3})),i(e2,"Extensions/OverlappingDataLabels.js",[e2["Core/Geometry/GeometryUtilities.js"],e2["Core/Utilities.js"]],(function(t3,e3){let{pointInPolygon:i2}=t3,{addEvent:s2,fireEvent:r2,objectEach:o2,pick:n2}=e3;function a2(t4){let e4=t4.length,s3=(t5,e5)=>!(e5.x>=t5.x+t5.width||e5.x+e5.width<=t5.x||e5.y>=t5.y+t5.height||e5.y+e5.height<=t5.y),o3=(t5,e5)=>{for(let s4 of t5)if(i2({x:s4[0],y:s4[1]},e5))return true;return false},n3,a3,l3,d2,c2,p2=false;for(let i3=0;i3<e4;i3++)(n3=t4[i3])&&(n3.oldOpacity=n3.opacity,n3.newOpacity=1,n3.absoluteBox=function(t5){var _a,_b;if(t5&&(!t5.alignAttr||t5.placed)){let e5=t5.box?0:t5.padding||0,i4=t5.alignAttr||{x:t5.attr("x"),y:t5.attr("y")},s4=t5.getBBox();return t5.width=s4.width,t5.height=s4.height,{x:i4.x+(((_a=t5.parentGroup)==null?void 0:_a.translateX)||0)+e5,y:i4.y+(((_b=t5.parentGroup)==null?void 0:_b.translateY)||0)+e5,width:(t5.width||0)-2*e5,height:(t5.height||0)-2*e5,polygon:s4==null?void 0:s4.polygon}}}(n3));t4.sort(((t5,e5)=>(e5.labelrank||0)-(t5.labelrank||0)));for(let i3=0;i3<e4;++i3){d2=(a3=t4[i3])&&a3.absoluteBox;let r3=d2==null?void 0:d2.polygon;for(let n4=i3+1;n4<e4;++n4){c2=(l3=t4[n4])&&l3.absoluteBox;let e5=false;if(d2&&c2&&a3!==l3&&0!==a3.newOpacity&&0!==l3.newOpacity&&"hidden"!==a3.visibility&&"hidden"!==l3.visibility){let t5=c2.polygon;if(r3&&t5&&r3!==t5?o3(r3,t5)&&(e5=true):s3(d2,c2)&&(e5=true),e5){let t6=a3.labelrank<l3.labelrank?a3:l3,e6=t6.text;t6.newOpacity=0,(e6==null?void 0:e6.element.querySelector("textPath"))&&e6.hide()}}}}for(let e5 of t4)h2(e5,this)&&(p2=true);p2&&r2(this,"afterHideAllOverlappingLabels")}function h2(t4,e4){let i3,s3,o3=false;return t4&&(s3=t4.newOpacity,t4.oldOpacity!==s3&&(t4.hasClass("highcharts-data-label")?(t4[s3?"removeClass":"addClass"]("highcharts-data-label-hidden"),i3=function(){e4.styledMode||t4.css({pointerEvents:s3?"auto":"none"})},o3=true,t4[t4.isOld?"animate":"attr"]({opacity:s3},void 0,i3),r2(e4,"afterHideOverlappingLabel")):t4.attr({opacity:s3})),t4.isOld=true),o3}function l2(){var _a;let t4=this,e4=[];for(let i3 of t4.labelCollectors||[])e4=e4.concat(i3());for(let i3 of t4.yAxis||[])i3.stacking&&i3.options.stackLabels&&!i3.options.stackLabels.allowOverlap&&o2(i3.stacking.stacks,(t5=>{o2(t5,(t6=>{t6.label&&e4.push(t6.label)}))}));for(let i3 of t4.series||[])if(i3.visible&&((_a=i3.hasDataLabels)==null?void 0:_a.call(i3))){let s3=i4=>{for(let s4 of i4)s4.visible&&(s4.dataLabels||[]).forEach((i5=>{var _a2;let r3=i5.options||{};i5.labelrank=n2(r3.labelrank,s4.labelrank,(_a2=s4.shapeArgs)==null?void 0:_a2.height),r3.allowOverlap??Number(r3.distance)>0?(i5.oldOpacity=i5.opacity,i5.newOpacity=1,h2(i5,t4)):e4.push(i5)}))};s3(i3.nodes||[]),s3(i3.points)}this.hideOverlappingLabels(e4)}return{compose:function(t4){let e4=t4.prototype;e4.hideOverlappingLabels||(e4.hideOverlappingLabels=a2,s2(t4,"render",l2))}}})),i(e2,"Extensions/BorderRadius.js",[e2["Core/Defaults.js"],e2["Core/Globals.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2){let{defaultOptions:s2}=t3,{noop:r2}=e3,{addEvent:o2,extend:n2,isObject:a2,merge:h2,relativeLength:l2}=i2,d2={radius:0,scope:"stack",where:void 0},c2=r2,p2=r2;function u2(t4,e4,i3,s3,r3={}){let o3=c2(t4,e4,i3,s3,r3),{innerR:n3=0,r:a3=i3,start:h3=0,end:d3=0}=r3;if(r3.open||!r3.borderRadius)return o3;let p3=d3-h3,g3=Math.sin(p3/2),f3=Math.max(Math.min(l2(r3.borderRadius||0,a3-n3),(a3-n3)/2,a3*g3/(1+g3)),0),m3=Math.min(f3,p3/Math.PI*2*n3),x3=o3.length-1;for(;x3--;)!function(t5,e5,i4){let s4,r4,o4;let n4=t5[e5],a4=t5[e5+1];if("Z"===a4[0]&&(a4=t5[0]),("M"===n4[0]||"L"===n4[0])&&"A"===a4[0]?(s4=n4,r4=a4,o4=true):"A"===n4[0]&&("M"===a4[0]||"L"===a4[0])&&(s4=a4,r4=n4),s4&&r4&&r4.params){let n5=r4[1],a5=r4[5],h4=r4.params,{start:l3,end:d4,cx:c3,cy:p4}=h4,u3=a5?n5-i4:n5+i4,g4=u3?Math.asin(i4/u3):0,f4=a5?g4:-g4,m4=Math.cos(g4)*u3;o4?(h4.start=l3+f4,s4[1]=c3+m4*Math.cos(l3),s4[2]=p4+m4*Math.sin(l3),t5.splice(e5+1,0,["A",i4,i4,0,0,1,c3+n5*Math.cos(h4.start),p4+n5*Math.sin(h4.start)])):(h4.end=d4-f4,r4[6]=c3+n5*Math.cos(h4.end),r4[7]=p4+n5*Math.sin(h4.end),t5.splice(e5+1,0,["A",i4,i4,0,0,1,c3+m4*Math.cos(d4),p4+m4*Math.sin(d4)])),r4[4]=Math.abs(h4.end-h4.start)<Math.PI?0:1}}(o3,x3,x3>1?m3:f3);return o3}function g2(){var _a,_b;if(this.options.borderRadius&&!(this.chart.is3d&&this.chart.is3d())){let{options:t4,yAxis:e4}=this,i3="percent"===t4.stacking,r3=(_b=(_a=s2.plotOptions)==null?void 0:_a[this.type])==null?void 0:_b.borderRadius,o3=f2(t4.borderRadius,a2(r3)?r3:{}),h3=e4.options.reversed;for(let s3 of this.points){let{shapeArgs:r4}=s3;if("roundedRect"===s3.shapeType&&r4){let{width:a3=0,height:d3=0,y:c3=0}=r4,p3=c3,u3=d3;if("stack"===o3.scope&&s3.stackTotal){let r5=e4.translate(i3?100:s3.stackTotal,false,true,false,true),o4=e4.translate(t4.threshold||0,false,true,false,true),n3=this.crispCol(0,Math.min(r5,o4),0,Math.abs(r5-o4));p3=n3.y,u3=n3.height}let g3=(s3.negative?-1:1)*(h3?-1:1)==-1,f3=o3.where;!f3&&this.is("waterfall")&&Math.abs((s3.yBottom||0)-(this.translatedThreshold||0))>this.borderWidth&&(f3="all"),f3||(f3="end");let m3=Math.min(l2(o3.radius,a3),a3/2,"all"===f3?d3/2:1/0)||0;"end"===f3&&(g3&&(p3-=m3),u3+=m3),n2(r4,{brBoxHeight:u3,brBoxY:p3,r:m3})}}}}function f2(t4,e4){return a2(t4)||(t4={radius:t4||0}),h2(d2,e4,t4)}function m2(){let t4=f2(this.options.borderRadius);for(let e4 of this.points){let i3=e4.shapeArgs;i3&&(i3.borderRadius=l2(t4.radius,(i3.r||0)-(i3.innerR||0)))}}function x2(t4,e4,i3,s3,r3={}){let o3=p2(t4,e4,i3,s3,r3),{r:n3=0,brBoxHeight:a3=s3,brBoxY:h3=e4}=r3,l3=e4-h3,d3=h3+a3-(e4+s3),c3=l3-n3>-.1?0:n3,u3=d3-n3>-.1?0:n3,g3=Math.max(c3&&l3,0),f3=Math.max(u3&&d3,0),m3=[t4+c3,e4],y2=[t4+i3-c3,e4],b2=[t4+i3,e4+c3],v2=[t4+i3,e4+s3-u3],S2=[t4+i3-u3,e4+s3],C2=[t4+u3,e4+s3],k2=[t4,e4+s3-u3],M2=[t4,e4+c3],w2=(t5,e5)=>Math.sqrt(Math.pow(t5,2)-Math.pow(e5,2));if(g3){let t5=w2(c3,c3-g3);m3[0]-=t5,y2[0]+=t5,b2[1]=M2[1]=e4+c3-g3}if(s3<c3-g3){let r4=w2(c3,c3-g3-s3);b2[0]=v2[0]=t4+i3-c3+r4,S2[0]=Math.min(b2[0],S2[0]),C2[0]=Math.max(v2[0],C2[0]),k2[0]=M2[0]=t4+c3-r4,b2[1]=M2[1]=e4+s3}if(f3){let t5=w2(u3,u3-f3);S2[0]+=t5,C2[0]-=t5,v2[1]=k2[1]=e4+s3-u3+f3}if(s3<u3-f3){let r4=w2(u3,u3-f3-s3);b2[0]=v2[0]=t4+i3-u3+r4,y2[0]=Math.min(b2[0],y2[0]),m3[0]=Math.max(v2[0],m3[0]),k2[0]=M2[0]=t4+u3-r4,v2[1]=k2[1]=e4}return o3.length=0,o3.push(["M",...m3],["L",...y2],["A",c3,c3,0,0,1,...b2],["L",...v2],["A",u3,u3,0,0,1,...S2],["L",...C2],["A",u3,u3,0,0,1,...k2],["L",...M2],["A",c3,c3,0,0,1,...m3],["Z"]),o3}return{compose:function(t4,e4,i3){let s3=t4.types.pie;if(!e4.symbolCustomAttribs.includes("borderRadius")){let r3=i3.prototype.symbols;o2(t4,"afterColumnTranslate",g2,{order:9}),o2(s3,"afterTranslate",m2),e4.symbolCustomAttribs.push("borderRadius","brBoxHeight","brBoxY"),c2=r3.arc,p2=r3.roundedRect,r3.arc=u2,r3.roundedRect=x2}},optionsToObject:f2}})),i(e2,"Core/Responsive.js",[e2["Core/Utilities.js"]],(function(t3){var e3;let{diffObjects:i2,extend:s2,find:r2,merge:o2,pick:n2,uniqueKey:a2}=t3;return function(t4){function e4(t5,e5){let i3=t5.condition;(i3.callback||function(){return this.chartWidth<=n2(i3.maxWidth,Number.MAX_VALUE)&&this.chartHeight<=n2(i3.maxHeight,Number.MAX_VALUE)&&this.chartWidth>=n2(i3.minWidth,0)&&this.chartHeight>=n2(i3.minHeight,0)}).call(this)&&e5.push(t5._id)}function h2(t5,e5){let s3=this.options.responsive,n3=this.currentResponsive,h3=[],l2;!e5&&s3&&s3.rules&&s3.rules.forEach((t6=>{void 0===t6._id&&(t6._id=a2()),this.matchResponsiveRule(t6,h3)}),this);let d2=o2(...h3.map((t6=>r2((s3||{}).rules||[],(e6=>e6._id===t6)))).map((t6=>t6&&t6.chartOptions)));d2.isResponsiveOptions=true,h3=h3.toString()||void 0;let c2=n3&&n3.ruleIds;h3===c2||(n3&&(this.currentResponsive=void 0,this.updatingResponsive=true,this.update(n3.undoOptions,t5,true),this.updatingResponsive=false),h3?((l2=i2(d2,this.options,true,this.collectionsWithUpdate)).isResponsiveOptions=true,this.currentResponsive={ruleIds:h3,mergedOptions:d2,undoOptions:l2},this.updatingResponsive||this.update(d2,t5,true)):this.currentResponsive=void 0)}t4.compose=function(t5){let i3=t5.prototype;return i3.matchResponsiveRule||s2(i3,{matchResponsiveRule:e4,setResponsive:h2}),t5}}(e3||(e3={})),e3})),i(e2,"masters/highcharts.src.js",[e2["Core/Globals.js"],e2["Core/Utilities.js"],e2["Core/Defaults.js"],e2["Core/Animation/Fx.js"],e2["Core/Animation/AnimationUtilities.js"],e2["Core/Renderer/HTML/AST.js"],e2["Core/Templating.js"],e2["Core/Renderer/RendererRegistry.js"],e2["Core/Renderer/RendererUtilities.js"],e2["Core/Renderer/SVG/SVGElement.js"],e2["Core/Renderer/SVG/SVGRenderer.js"],e2["Core/Renderer/HTML/HTMLElement.js"],e2["Core/Axis/Axis.js"],e2["Core/Axis/DateTimeAxis.js"],e2["Core/Axis/LogarithmicAxis.js"],e2["Core/Axis/PlotLineOrBand/PlotLineOrBand.js"],e2["Core/Axis/Tick.js"],e2["Core/Tooltip.js"],e2["Core/Series/Point.js"],e2["Core/Pointer.js"],e2["Core/Legend/Legend.js"],e2["Core/Legend/LegendSymbol.js"],e2["Core/Chart/Chart.js"],e2["Extensions/ScrollablePlotArea.js"],e2["Core/Axis/Stacking/StackingAxis.js"],e2["Core/Axis/Stacking/StackItem.js"],e2["Core/Series/Series.js"],e2["Core/Series/SeriesRegistry.js"],e2["Series/Column/ColumnDataLabel.js"],e2["Series/Pie/PieDataLabel.js"],e2["Core/Series/DataLabel.js"],e2["Extensions/OverlappingDataLabels.js"],e2["Extensions/BorderRadius.js"],e2["Core/Responsive.js"],e2["Core/Color/Color.js"],e2["Core/Time.js"]],(function(t3,e3,i2,s2,r2,o2,n2,a2,h2,l2,d2,c2,p2,u2,g2,f2,m2,x2,y2,b2,v2,S2,C2,k2,M2,w2,T2,A2,P2,L2,O2,D2,E2,I2,j,B2){return t3.AST=o2,t3.Axis=p2,t3.Chart=C2,t3.Color=j,t3.DataLabel=O2,t3.Fx=s2,t3.HTMLElement=c2,t3.Legend=v2,t3.LegendSymbol=S2,t3.OverlappingDataLabels=t3.OverlappingDataLabels||D2,t3.PlotLineOrBand=f2,t3.Point=y2,t3.Pointer=b2,t3.RendererRegistry=a2,t3.Series=T2,t3.SeriesRegistry=A2,t3.StackItem=w2,t3.SVGElement=l2,t3.SVGRenderer=d2,t3.Templating=n2,t3.Tick=m2,t3.Time=B2,t3.Tooltip=x2,t3.animate=r2.animate,t3.animObject=r2.animObject,t3.chart=C2.chart,t3.color=j.parse,t3.dateFormat=n2.dateFormat,t3.defaultOptions=i2.defaultOptions,t3.distribute=h2.distribute,t3.format=n2.format,t3.getDeferredAnimation=r2.getDeferredAnimation,t3.getOptions=i2.getOptions,t3.numberFormat=n2.numberFormat,t3.seriesType=A2.seriesType,t3.setAnimation=r2.setAnimation,t3.setOptions=i2.setOptions,t3.stop=r2.stop,t3.time=i2.defaultTime,t3.timers=s2.timers,E2.compose(t3.Series,t3.SVGElement,t3.SVGRenderer),P2.compose(t3.Series.types.column),O2.compose(t3.Series),u2.compose(t3.Axis),c2.compose(t3.SVGRenderer),v2.compose(t3.Chart),g2.compose(t3.Axis),D2.compose(t3.Chart),L2.compose(t3.Series.types.pie),f2.compose(t3.Chart,t3.Axis),b2.compose(t3.Chart),I2.compose(t3.Chart),k2.compose(t3.Axis,t3.Chart,t3.Series),M2.compose(t3.Axis,t3.Chart,t3.Series),x2.compose(t3.Pointer),e3.extend(t3,e3),t3})),e2["masters/highcharts.src.js"]._modules=e2,e2["masters/highcharts.src.js"]}))})(highcharts);var highchartsExports=highcharts.exports;const Highcharts$1=getDefaultExportFromCjs(highchartsExports);const mapColors=array=>{const regex=/(data)\-[1-8]/;const newArray=array.map((item=>regex.test(item)?`${colors$1[`data_${item[item.length-1]}`]}`:item));return newArray};const BarGraph=({aria:aria={},data:data={},align:align="center",axisTitle:axisTitle,dark:dark=false,chartData:chartData,className:className="pb_bar_graph",colors:colors2,htmlOptions:htmlOptions={},customOptions:customOptions={},axisFormat:axisFormat,id:id2,pointStart:pointStart,stacking:stacking,subTitle:subTitle,type:type="column",title:title="Title",xAxisCategories:xAxisCategories,yAxisMin:yAxisMin,yAxisMax:yAxisMax,legend:legend=false,toggleLegendClick:toggleLegendClick=true,height:height,layout:layout="horizontal",verticalAlign:verticalAlign="bottom",x:x2=0,y:y2=0,...props})=>{const ariaProps=buildAriaProps(aria);const dataProps=buildDataProps(data);const htmlProps=buildHtmlProps(htmlOptions);const setupTheme=()=>{dark?Highcharts$1.setOptions(highchartsDarkTheme):Highcharts$1.setOptions(highchartsTheme)};setupTheme();const staticOptions={title:{text:title},chart:{height:height,type:type},subtitle:{text:subTitle},yAxis:[{labels:{format:typeof axisFormat==="string"?axisFormat:axisFormat&&axisFormat[0]?axisFormat[0].format:""},min:yAxisMin,max:yAxisMax,opposite:false,title:{text:Array.isArray(axisTitle)?axisTitle.length>0?axisTitle[0].name:null:axisTitle},plotLines:typeof yAxisMin!=="undefined"&&yAxisMin!==null?[]:[{value:0,zIndex:10,color:"#E4E8F0"}]}],xAxis:{categories:xAxisCategories},legend:{enabled:legend,align:align,verticalAlign:verticalAlign,layout:layout,x:x2,y:y2},colors:colors2!==void 0&&colors2.length>0?mapColors(colors2):highchartsTheme.colors,plotOptions:{series:{stacking:stacking,pointStart:pointStart,borderWidth:stacking?0:"",events:{},dataLabels:{enabled:false}}},series:chartData,credits:false};if(Array.isArray(axisTitle)&&axisTitle.length>1&&axisTitle[1].name){staticOptions.yAxis.push({labels:{format:typeof axisFormat==="string"?axisFormat:axisFormat[1].format},min:yAxisMin,max:yAxisMax,opposite:true,title:{text:axisTitle[1].name},plotLines:typeof yAxisMin!=="undefined"&&yAxisMin!==null?[]:[{value:0,zIndex:10,color:"#E4E8F0"}]})}if(!toggleLegendClick){staticOptions.plotOptions.series.events={legendItemClick:()=>false}}const filteredProps={...props};delete filteredProps.verticalAlign;const[options2,setOptions]=reactExports.useState({});reactExports.useEffect((()=>{setOptions(merge(staticOptions,customOptions))}),[chartData]);return jsxRuntimeExports.jsx(HighchartsReact,{containerProps:{className:classnames(globalProps(filteredProps),className),id:id2,...ariaProps,...dataProps,...htmlProps},highcharts:Highcharts$1,options:options2})};const buttonClassName=props=>{const{disabled:disabled=false,fullWidth:fullWidth=false,highlight:highlight,icon:icon,loading:loading=false,type:type="inline",variant:variant="primary",size:size=null}=props;let className="pb_button_kit";className+=`${variant!==null?`_${variant}`:""}`;className+=`${type!==null?`_${type}`:""}`;className+=`${fullWidth?"_block":""}`;className+=disabled?"_disabled":"_enabled";className+=loading?"_loading":"";className+=`${size!==null?` size_${size}`:""}`;className+=`${variant==="reaction"&&!isValidEmoji(icon)?` reaction_default`:""}`;className+=`${variant==="reaction"&&highlight?` active`:""}`;return className};const spinnerIcon=getAllIcons()["spinner"];const Button=props=>{const{aria:aria={},children:children,className:className,count:count2,data:data={},disabled:disabled,htmlOptions:htmlOptions={},icon:icon=null,iconRight:iconRight=false,id:id2,loading:loading=false,onClick:onClick,tabIndex:tabIndex,link:link=null,newWindow:newWindow=false,target:target="",text:text,htmlType:htmlType="button",value:value,variant:variant,form:form=null}=props;const ariaProps=buildAriaProps(aria);const dataProps=buildDataProps(data);const htmlProps=buildHtmlProps(htmlOptions);const css4=classnames(buttonClassName(props),globalProps(props),className);const loadingIcon=jsxRuntimeExports.jsx("div",{className:"loading-icon",children:jsxRuntimeExports.jsx(Icon,{className:"svg-inline--fa",customIcon:spinnerIcon.icon,fixedWidth:true,pulse:true})});const content=jsxRuntimeExports.jsxs("span",{className:"pb_button_content",children:[icon&&!iconRight&&jsxRuntimeExports.jsx(Icon,{className:"button_with_icon",icon:icon}),jsxRuntimeExports.jsx("span",{children:text||children}),icon&&iconRight&&jsxRuntimeExports.jsx(Icon,{className:"button_with_icon_right",icon:icon})]});const ifLoading=()=>{if(loading){return jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment,{children:loadingIcon})}else{return content}};const getTargetAttribute=()=>{if(target&&link){return target}else if(newWindow){return"_blank"}return null};const displayButton=()=>{if(link){return jsxRuntimeExports.jsx("a",{...ariaProps,...dataProps,...htmlProps,className:css4,href:link,id:id2,rel:target!=="child"?"noreferrer":null,role:"link",tabIndex:tabIndex,target:getTargetAttribute(),children:ifLoading()})}else if(variant==="reaction"){return jsxRuntimeExports.jsxs("button",{...ariaProps,...dataProps,...htmlProps,className:css4,disabled:disabled,form:form,id:id2,onClick:onClick,role:"button",tabIndex:tabIndex,type:htmlType,value:value,children:[icon&&isValidEmoji(icon)&&jsxRuntimeExports.jsxs(Flex,{align:"center",children:[jsxRuntimeExports.jsx(Icon,{icon:icon}),count2&&jsxRuntimeExports.jsx(Caption,{paddingLeft:"xxs",size:"xs",children:count2})]}),!isValidEmoji(icon)&&jsxRuntimeExports.jsx(Icon,{icon:icon?icon:"face-smile-plus"})]})}else{return jsxRuntimeExports.jsx("button",{...ariaProps,...dataProps,...htmlProps,className:css4,disabled:disabled,form:form,id:id2,onClick:onClick,role:"button",tabIndex:tabIndex,type:htmlType,value:value,children:ifLoading()})}};return jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment,{children:displayButton()})};const Checkbox=props=>{const{aria:aria={},checked:checked=false,children:children,className:className,dark:dark=false,data:data={},disabled:disabled=false,error:error=false,htmlOptions:htmlOptions={},id:id2,indeterminate:indeterminate=false,name:name2="",onChange:onChange2=()=>{},tabIndex:tabIndex,text:text="",value:value=""}=props;const checkRef=reactExports.useRef(null);const ariaProps=buildAriaProps(aria);const dataProps=buildDataProps(data);const htmlProps=buildHtmlProps(htmlOptions);const classes=classnames(buildCss("pb_checkbox_kit",checked?"checked":null,error?"error":null,indeterminate?"indeterminate":null),globalProps(props),className);reactExports.useEffect((()=>{if(checkRef.current){checkRef.current.checked=checked;checkRef.current.indeterminate=indeterminate}}),[indeterminate,checked]);const checkboxChildren=()=>{if(children)return children;else return jsxRuntimeExports.jsx("input",{defaultChecked:checked,disabled:disabled,name:name2,onChange:onChange2,ref:checkRef,tabIndex:tabIndex,type:"checkbox",value:value})};return jsxRuntimeExports.jsxs("label",{...ariaProps,...dataProps,...htmlProps,className:classes,id:id2,children:[jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment,{children:checkboxChildren()}),!indeterminate&&jsxRuntimeExports.jsx("span",{className:"pb_checkbox_checkmark",children:jsxRuntimeExports.jsx(Icon,{className:"check_icon",fixedWidth:true,icon:"check"})}),indeterminate&&jsxRuntimeExports.jsx("span",{className:"pb_checkbox_indeterminate",children:jsxRuntimeExports.jsx(Icon,{className:"indeterminate_icon",fixedWidth:true,icon:"minus"})}),jsxRuntimeExports.jsx(Body$1,{className:"pb_checkbox_label",dark:dark,status:error?"negative":null,variant:null,children:text})]})};var highchartsMore$1={exports:{}};(function(module){!function(t2){module.exports?(t2.default=t2,module.exports=t2):t2("undefined"!=typeof Highcharts?Highcharts:void 0)}((function(t2){var e2=t2?t2._modules:{};function i(e3,i2,s2,o2){e3.hasOwnProperty(i2)||(e3[i2]=o2.apply(null,s2),"function"==typeof CustomEvent&&t2.win.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:i2,module:e3[i2]}})))}i(e2,"Extensions/Pane/PaneComposition.js",[e2["Core/Utilities.js"]],(function(t3){let{addEvent:e3,correctFloat:i2,defined:s2,pick:o2}=t3;function a2(t4){let e4;let i3=this;return t4&&i3.pane.forEach((s3=>{r2(t4.chartX-i3.plotLeft,t4.chartY-i3.plotTop,s3.center)&&(e4=s3)})),e4}function r2(t4,e4,o3,a3,r3){let n3=true,l3=o3[0],h3=o3[1],p2=Math.sqrt(Math.pow(t4-l3,2)+Math.pow(e4-h3,2));if(s2(a3)&&s2(r3)){let s3=Math.atan2(i2(e4-h3,8),i2(t4-l3,8));r3!==a3&&(n3=a3>r3?s3>=a3&&s3<=Math.PI||s3<=r3&&s3>=-Math.PI:s3>=a3&&s3<=i2(r3,8))}return p2<=Math.ceil(o3[2]/2)&&n3}function n2(t4){this.polar&&(t4.options.inverted&&([t4.x,t4.y]=[t4.y,t4.x]),t4.isInsidePlot=this.pane.some((e4=>r2(t4.x,t4.y,e4.center,e4.axis&&e4.axis.normalizedStartAngleRad,e4.axis&&e4.axis.normalizedEndAngleRad))))}function l2(t4){let e4=this.chart;t4.hoverPoint&&t4.hoverPoint.plotX&&t4.hoverPoint.plotY&&e4.hoverPane&&!r2(t4.hoverPoint.plotX,t4.hoverPoint.plotY,e4.hoverPane.center)&&(t4.hoverPoint=void 0)}function h2(t4){let e4=this.chart;e4.polar?(e4.hoverPane=e4.getHoverPane(t4),t4.filter=function(i3){return i3.visible&&!(!t4.shared&&i3.directTouch)&&o2(i3.options.enableMouseTracking,true)&&(!e4.hoverPane||i3.xAxis.pane===e4.hoverPane)}):e4.hoverPane=void 0}return{compose:function(t4,i3){let s3=t4.prototype;s3.getHoverPane||(s3.collectionsWithUpdate.push("pane"),s3.getHoverPane=a2,e3(t4,"afterIsInsidePlot",n2),e3(i3,"afterGetHoverData",l2),e3(i3,"beforeGetHoverData",h2))}}})),i(e2,"Extensions/Pane/PaneDefaults.js",[],(function(){return{pane:{center:["50%","50%"],size:"85%",innerSize:"0%",startAngle:0},background:{shape:"circle",borderRadius:0,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%"}}})),i(e2,"Extensions/Pane/Pane.js",[e2["Series/CenteredUtilities.js"],e2["Extensions/Pane/PaneComposition.js"],e2["Extensions/Pane/PaneDefaults.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2,s2){let{extend:o2,merge:a2,splat:r2}=s2;class n2{constructor(t4,e4){this.coll="pane",this.init(t4,e4)}init(t4,e4){this.chart=e4,this.background=[],e4.pane.push(this),this.setOptions(t4)}setOptions(t4){this.options=t4=a2(i2.pane,this.chart.angular?{background:{}}:void 0,t4)}render(){let t4=this.options,e4=this.chart.renderer;this.group||(this.group=e4.g("pane-group").attr({zIndex:t4.zIndex||0}).add()),this.updateCenter();let s3=this.options.background;if(s3){let t5=Math.max((s3=r2(s3)).length,this.background.length||0);for(let e5=0;e5<t5;e5++)s3[e5]&&this.axis?this.renderBackground(a2(i2.background,s3[e5]),e5):this.background[e5]&&(this.background[e5]=this.background[e5].destroy(),this.background.splice(e5,1))}}renderBackground(t4,e4){let i3={class:"highcharts-pane "+(t4.className||"")},s3="animate";this.chart.styledMode||o2(i3,{fill:t4.backgroundColor,stroke:t4.borderColor,"stroke-width":t4.borderWidth}),this.background[e4]||(this.background[e4]=this.chart.renderer.path().add(this.group),s3="attr"),this.background[e4][s3]({d:this.axis.getPlotBandPath(t4.from,t4.to,t4)}).attr(i3)}updateCenter(e4){this.center=(e4||this.axis||{}).center=t3.getCenter.call(this)}update(t4,e4){a2(true,this.options,t4),this.setOptions(this.options),this.render(),this.chart.axes.forEach((function(t5){t5.pane===this&&(t5.pane=null,t5.update({},e4))}),this)}}return n2.compose=e3.compose,n2})),i(e2,"Series/AreaRange/AreaRangePoint.js",[e2["Core/Series/SeriesRegistry.js"],e2["Core/Utilities.js"]],(function(t3,e3){let{area:{prototype:{pointClass:i2,pointClass:{prototype:s2}}}}=t3.seriesTypes,{defined:o2,isNumber:a2}=e3;return class extends i2{setState(){let t4=this.state,e4=this.series,i3=e4.chart.polar;o2(this.plotHigh)||(this.plotHigh=e4.yAxis.toPixels(this.high,true)),o2(this.plotLow)||(this.plotLow=this.plotY=e4.yAxis.toPixels(this.low,true)),e4.lowerStateMarkerGraphic=e4.stateMarkerGraphic,e4.stateMarkerGraphic=e4.upperStateMarkerGraphic,this.graphic=this.graphics&&this.graphics[1],this.plotY=this.plotHigh,i3&&a2(this.plotHighX)&&(this.plotX=this.plotHighX),s2.setState.apply(this,arguments),this.state=t4,this.plotY=this.plotLow,this.graphic=this.graphics&&this.graphics[0],i3&&a2(this.plotLowX)&&(this.plotX=this.plotLowX),e4.upperStateMarkerGraphic=e4.stateMarkerGraphic,e4.stateMarkerGraphic=e4.lowerStateMarkerGraphic,e4.lowerStateMarkerGraphic=void 0;let r2=e4.modifyMarkerSettings();s2.setState.apply(this,arguments),e4.restoreMarkerSettings(r2)}haloPath(){let t4=this.series.chart.polar,e4=[];return this.plotY=this.plotLow,t4&&a2(this.plotLowX)&&(this.plotX=this.plotLowX),this.isInside&&(e4=s2.haloPath.apply(this,arguments)),this.plotY=this.plotHigh,t4&&a2(this.plotHighX)&&(this.plotX=this.plotHighX),this.isTopInside&&(e4=e4.concat(s2.haloPath.apply(this,arguments))),e4}isValid(){return a2(this.low)&&a2(this.high)}}})),i(e2,"Series/AreaRange/AreaRangeSeries.js",[e2["Series/AreaRange/AreaRangePoint.js"],e2["Core/Globals.js"],e2["Core/Series/SeriesRegistry.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2,s2){let{noop:o2}=e3,{area:a2,area:{prototype:r2},column:{prototype:n2}}=i2.seriesTypes,{addEvent:l2,defined:h2,extend:p2,isArray:d2,isNumber:c2,pick:u2,merge:g2}=s2;class f2 extends a2{toYData(t4){return[t4.low,t4.high]}highToXY(t4){let e4=this.chart,i3=this.xAxis.postTranslate(t4.rectPlotX||0,this.yAxis.len-(t4.plotHigh||0));t4.plotHighX=i3.x-e4.plotLeft,t4.plotHigh=i3.y-e4.plotTop,t4.plotLowX=t4.plotX}getGraphPath(t4){let e4=[],i3=[],s3=r2.getGraphPath,o3=this.options,a3=this.chart.polar,n3=a3&&false!==o3.connectEnds,l3=o3.connectNulls,h3,p3,d3,c3=o3.step;for(h3=(t4=t4||this.points).length;h3--;){p3=t4[h3];let s4=a3?{plotX:p3.rectPlotX,plotY:p3.yBottom,doCurve:false}:{plotX:p3.plotX,plotY:p3.plotY,doCurve:false};p3.isNull||n3||l3||t4[h3+1]&&!t4[h3+1].isNull||i3.push(s4),d3={polarPlotY:p3.polarPlotY,rectPlotX:p3.rectPlotX,yBottom:p3.yBottom,plotX:u2(p3.plotHighX,p3.plotX),plotY:p3.plotHigh,isNull:p3.isNull},i3.push(d3),e4.push(d3),p3.isNull||n3||l3||t4[h3-1]&&!t4[h3-1].isNull||i3.push(s4)}let g3=s3.call(this,t4);c3&&(true===c3&&(c3="left"),o3.step={left:"right",center:"center",right:"left"}[c3]);let f3=s3.call(this,e4),b2=s3.call(this,i3);o3.step=c3;let m2=[].concat(g3,f3);return!this.chart.polar&&b2[0]&&"M"===b2[0][0]&&(b2[0]=["L",b2[0][1],b2[0][2]]),this.graphPath=m2,this.areaPath=g3.concat(b2),m2.isArea=true,m2.xMap=g3.xMap,this.areaPath.xMap=g3.xMap,m2}drawDataLabels(){var _a,_b;let t4,e4,i3,s3,o3;let a3=this.points,n3=a3.length,l3=[],h3=this.options.dataLabels,c3=this.chart.inverted;if(h3){if(d2(h3)?(s3=h3[0]||{enabled:false},o3=h3[1]||{enabled:false}):((s3=p2({},h3)).x=h3.xHigh,s3.y=h3.yHigh,(o3=p2({},h3)).x=h3.xLow,o3.y=h3.yLow),s3.enabled||((_a=this.hasDataLabels)==null?void 0:_a.call(this))){for(t4=n3;t4--;)if(e4=a3[t4]){let{plotHigh:o4=0,plotLow:a4=0}=e4;i3=s3.inside?o4<a4:o4>a4,e4.y=e4.high,e4._plotY=e4.plotY,e4.plotY=o4,l3[t4]=e4.dataLabel,e4.dataLabel=e4.dataLabelUpper,e4.below=i3,c3?s3.align||(s3.align=i3?"right":"left"):s3.verticalAlign||(s3.verticalAlign=i3?"top":"bottom")}for(this.options.dataLabels=s3,r2.drawDataLabels&&r2.drawDataLabels.apply(this,arguments),t4=n3;t4--;)(e4=a3[t4])&&(e4.dataLabelUpper=e4.dataLabel,e4.dataLabel=l3[t4],delete e4.dataLabels,e4.y=e4.low,e4.plotY=e4._plotY)}if(o3.enabled||((_b=this.hasDataLabels)==null?void 0:_b.call(this))){for(t4=n3;t4--;)if(e4=a3[t4]){let{plotHigh:t5=0,plotLow:s4=0}=e4;i3=o3.inside?t5<s4:t5>s4,e4.below=!i3,c3?o3.align||(o3.align=i3?"left":"right"):o3.verticalAlign||(o3.verticalAlign=i3?"bottom":"top")}this.options.dataLabels=o3,r2.drawDataLabels&&r2.drawDataLabels.apply(this,arguments)}if(s3.enabled)for(t4=n3;t4--;)(e4=a3[t4])&&(e4.dataLabels=[e4.dataLabelUpper,e4.dataLabel].filter((function(t5){return!!t5})));this.options.dataLabels=h3}}alignDataLabel(){n2.alignDataLabel.apply(this,arguments)}modifyMarkerSettings(){let t4={marker:this.options.marker,symbol:this.symbol};if(this.options.lowMarker){let{options:{marker:t5,lowMarker:e4}}=this;this.options.marker=g2(t5,e4),e4.symbol&&(this.symbol=e4.symbol)}return t4}restoreMarkerSettings(t4){this.options.marker=t4.marker,this.symbol=t4.symbol}drawPoints(){let t4,e4;let i3=this.points.length,s3=this.modifyMarkerSettings();for(r2.drawPoints.apply(this,arguments),this.restoreMarkerSettings(s3),t4=0;t4<i3;)(e4=this.points[t4]).graphics=e4.graphics||[],e4.origProps={plotY:e4.plotY,plotX:e4.plotX,isInside:e4.isInside,negative:e4.negative,zone:e4.zone,y:e4.y},(e4.graphic||e4.graphics[0])&&(e4.graphics[0]=e4.graphic),e4.graphic=e4.graphics[1],e4.plotY=e4.plotHigh,h2(e4.plotHighX)&&(e4.plotX=e4.plotHighX),e4.y=u2(e4.high,e4.origProps.y),e4.negative=e4.y<(this.options.threshold||0),this.zones.length&&(e4.zone=e4.getZone()),this.chart.polar||(e4.isInside=e4.isTopInside=void 0!==e4.plotY&&e4.plotY>=0&&e4.plotY<=this.yAxis.len&&e4.plotX>=0&&e4.plotX<=this.xAxis.len),t4++;for(r2.drawPoints.apply(this,arguments),t4=0;t4<i3;)(e4=this.points[t4]).graphics=e4.graphics||[],(e4.graphic||e4.graphics[1])&&(e4.graphics[1]=e4.graphic),e4.graphic=e4.graphics[0],e4.origProps&&(p2(e4,e4.origProps),delete e4.origProps),t4++}hasMarkerChanged(t4,e4){let i3=t4.lowMarker,s3=e4.lowMarker||{};return i3&&(false===i3.enabled||s3.symbol!==i3.symbol||s3.height!==i3.height||s3.width!==i3.width)||super.hasMarkerChanged(t4,e4)}}return f2.defaultOptions=g2(a2.defaultOptions,{lineWidth:1,threshold:null,tooltip:{pointFormat:'<span style="color:{series.color}">●</span> {series.name}: <b>{point.low}</b> - <b>{point.high}</b><br/>'},trackByArea:true,dataLabels:{align:void 0,verticalAlign:void 0,xLow:0,xHigh:0,yLow:0,yHigh:0}}),l2(f2,"afterTranslate",(function(){"low,high"===this.pointArrayMap.join(",")&&this.points.forEach((t4=>{let e4=t4.high,i3=t4.plotY;t4.isNull?t4.plotY=void 0:(t4.plotLow=i3,t4.plotHigh=c2(e4)?this.yAxis.translate(this.dataModify?this.dataModify.modifyValue(e4):e4,false,true,void 0,true):void 0,this.dataModify&&(t4.yBottom=t4.plotHigh))}))}),{order:0}),l2(f2,"afterTranslate",(function(){this.points.forEach((t4=>{if(this.chart.polar)this.highToXY(t4),t4.plotLow=t4.plotY,t4.tooltipPos=[((t4.plotHighX||0)+(t4.plotLowX||0))/2,((t4.plotHigh||0)+(t4.plotLow||0))/2];else{let e4=t4.pos(false,t4.plotLow),i3=t4.pos(false,t4.plotHigh);e4&&i3&&(e4[0]=(e4[0]+i3[0])/2,e4[1]=(e4[1]+i3[1])/2),t4.tooltipPos=e4}}))}),{order:3}),p2(f2.prototype,{deferTranslatePolar:true,pointArrayMap:["low","high"],pointClass:t3,pointValKey:"low",setStackedPoints:o2}),i2.registerSeriesType("arearange",f2),f2})),i(e2,"Series/AreaSplineRange/AreaSplineRangeSeries.js",[e2["Series/AreaRange/AreaRangeSeries.js"],e2["Core/Series/SeriesRegistry.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2){let{spline:{prototype:s2}}=e3.seriesTypes,{merge:o2,extend:a2}=i2;class r2 extends t3{}return r2.defaultOptions=o2(t3.defaultOptions),a2(r2.prototype,{getPointSpline:s2.getPointSpline}),e3.registerSeriesType("areasplinerange",r2),r2})),i(e2,"Series/BoxPlot/BoxPlotSeriesDefaults.js",[],(function(){return{threshold:null,tooltip:{pointFormat:'<span style="color:{point.color}">●</span> <b>{series.name}</b><br/>Maximum: {point.high}<br/>Upper quartile: {point.q3}<br/>Median: {point.median}<br/>Lower quartile: {point.q1}<br/>Minimum: {point.low}<br/>'},whiskerLength:"50%",fillColor:"#ffffff",lineWidth:1,medianWidth:2,whiskerWidth:2}})),i(e2,"Series/BoxPlot/BoxPlotSeries.js",[e2["Series/BoxPlot/BoxPlotSeriesDefaults.js"],e2["Series/Column/ColumnSeries.js"],e2["Core/Globals.js"],e2["Core/Series/SeriesRegistry.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2,s2,o2){let{noop:a2}=i2,{crisp:r2,extend:n2,merge:l2,pick:h2}=o2;class p2 extends e3{pointAttribs(){return{}}translate(){let t4=this.yAxis,e4=this.pointArrayMap;super.translate.apply(this),this.points.forEach((function(i3){e4.forEach((function(e5){null!==i3[e5]&&(i3[e5+"Plot"]=t4.translate(i3[e5],0,1,0,1))})),i3.plotHigh=i3.highPlot}))}drawPoints(){let t4,e4,i3,s3,o3,a3,n3,l3,p3,d2,c2,u2,g2;let f2=this.points,b2=this.options,m2=this.chart,y2=m2.renderer,x2=false!==this.doQuartiles,P2=this.options.whiskerLength;for(let S2 of f2){let f3=(l3=S2.graphic)?"animate":"attr",M2=S2.shapeArgs,L2={},C2={},k2={},v2={},A2=S2.color||this.color;if(void 0!==S2.plotY){let w2;p3=M2.width,c2=(d2=M2.x)+p3,u2=p3/2,t4=x2?S2.q1Plot:S2.lowPlot,e4=x2?S2.q3Plot:S2.lowPlot,i3=S2.highPlot,s3=S2.lowPlot,l3||(S2.graphic=l3=y2.g("point").add(this.group),S2.stem=y2.path().addClass("highcharts-boxplot-stem").add(l3),P2&&(S2.whiskers=y2.path().addClass("highcharts-boxplot-whisker").add(l3)),x2&&(S2.box=y2.path(n3).addClass("highcharts-boxplot-box").add(l3)),S2.medianShape=y2.path(a3).addClass("highcharts-boxplot-median").add(l3)),m2.styledMode||(C2.stroke=S2.stemColor||b2.stemColor||A2,C2["stroke-width"]=h2(S2.stemWidth,b2.stemWidth,b2.lineWidth),C2.dashstyle=S2.stemDashStyle||b2.stemDashStyle||b2.dashStyle,S2.stem.attr(C2),P2&&(k2.stroke=S2.whiskerColor||b2.whiskerColor||A2,k2["stroke-width"]=h2(S2.whiskerWidth,b2.whiskerWidth,b2.lineWidth),k2.dashstyle=S2.whiskerDashStyle||b2.whiskerDashStyle||b2.dashStyle,S2.whiskers.attr(k2)),x2&&(L2.fill=S2.fillColor||b2.fillColor||A2,L2.stroke=b2.lineColor||A2,L2["stroke-width"]=b2.lineWidth||0,L2.dashstyle=S2.boxDashStyle||b2.boxDashStyle||b2.dashStyle,S2.box.attr(L2)),v2.stroke=S2.medianColor||b2.medianColor||A2,v2["stroke-width"]=h2(S2.medianWidth,b2.medianWidth,b2.lineWidth),v2.dashstyle=S2.medianDashStyle||b2.medianDashStyle||b2.dashStyle,S2.medianShape.attr(v2));let T2=r2((S2.plotX||0)+(this.pointXOffset||0)+(this.barW||0)/2,S2.stem.strokeWidth());if(w2=[["M",T2,e4],["L",T2,i3],["M",T2,t4],["L",T2,s3]],S2.stem[f3]({d:w2}),x2){let i4=S2.box.strokeWidth();t4=r2(t4,i4),e4=r2(e4,i4),w2=[["M",d2=r2(d2,i4),e4],["L",d2,t4],["L",c2=r2(c2,i4),t4],["L",c2,e4],["L",d2,e4],["Z"]],S2.box[f3]({d:w2})}if(P2){let t5=S2.whiskers.strokeWidth();i3=r2(S2.highPlot,t5),s3=r2(S2.lowPlot,t5),w2=[["M",r2(T2-(g2="string"==typeof P2&&/%$/.test(P2)?u2*parseFloat(P2)/100:Number(P2)/2)),i3],["L",r2(T2+g2),i3],["M",r2(T2-g2),s3],["L",r2(T2+g2),s3]],S2.whiskers[f3]({d:w2})}w2=[["M",d2,o3=r2(S2.medianPlot,S2.medianShape.strokeWidth())],["L",c2,o3]],S2.medianShape[f3]({d:w2})}}}toYData(t4){return[t4.low,t4.q1,t4.median,t4.q3,t4.high]}}return p2.defaultOptions=l2(e3.defaultOptions,t3),n2(p2.prototype,{pointArrayMap:["low","q1","median","q3","high"],pointValKey:"high",drawDataLabels:a2,setStackedPoints:a2}),s2.registerSeriesType("boxplot",p2),p2})),i(e2,"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:false,labels:{className:void 0,allowOverlap:false,format:"",formatter:void 0,align:"right",style:{fontSize:"0.9em",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:false,zIndex:1,zThreshold:0}})),i(e2,"Series/Bubble/BubbleLegendItem.js",[e2["Core/Color/Color.js"],e2["Core/Templating.js"],e2["Core/Globals.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2,s2){let{parse:o2}=t3,{noop:a2}=i2,{arrayMax:r2,arrayMin:n2,isNumber:l2,merge:h2,pick:p2,stableSort:d2}=s2;return class{constructor(t4,e4){this.setState=a2,this.init(t4,e4)}init(t4,e4){this.options=t4,this.visible=true,this.chart=e4.chart,this.legend=e4}addToLegend(t4){t4.splice(this.options.legendIndex,0,this)}drawLegendSymbol(t4){let e4;let i3=p2(t4.options.itemDistance,20),s3=this.legendItem||{},o3=this.options,a3=o3.ranges,r3=o3.connectorDistance;if(!a3||!a3.length||!l2(a3[0].value)){t4.options.bubbleLegend.autoRanges=true;return}d2(a3,(function(t5,e5){return e5.value-t5.value})),this.ranges=a3,this.setOptions(),this.render();let n3=this.getMaxLabelSize(),h3=this.ranges[0].radius,c2=2*h3;e4=(e4=r3-h3+n3.width)>0?e4:0,this.maxLabel=n3,this.movementX="left"===o3.labels.align?e4:0,s3.labelWidth=c2+e4+i3,s3.labelHeight=c2+n3.height/2}setOptions(){let t4=this.ranges,e4=this.options,i3=this.chart.series[e4.seriesIndex],s3=this.legend.baseline,a3={zIndex:e4.zIndex,"stroke-width":e4.borderWidth},r3={zIndex:e4.zIndex,"stroke-width":e4.connectorWidth},n3={align:this.legend.options.rtl||"left"===e4.labels.align?"right":"left",zIndex:e4.zIndex},l3=i3.options.marker.fillOpacity,d3=this.chart.styledMode;t4.forEach((function(c2,u2){d3||(a3.stroke=p2(c2.borderColor,e4.borderColor,i3.color),a3.fill=p2(c2.color,e4.color,1!==l3?o2(i3.color).setOpacity(l3).get("rgba"):i3.color),r3.stroke=p2(c2.connectorColor,e4.connectorColor,i3.color)),t4[u2].radius=this.getRangeRadius(c2.value),t4[u2]=h2(t4[u2],{center:t4[0].radius-t4[u2].radius+s3}),d3||h2(true,t4[u2],{bubbleAttribs:h2(a3),connectorAttribs:h2(r3),labelAttribs:n3})}),this)}getRangeRadius(t4){let e4=this.options,i3=this.options.seriesIndex,s3=this.chart.series[i3],o3=e4.ranges[0].value,a3=e4.ranges[e4.ranges.length-1].value,r3=e4.minSize,n3=e4.maxSize;return s3.getRadius.call(this,a3,o3,r3,n3,t4)}render(){let t4=this.legendItem||{},e4=this.chart.renderer,i3=this.options.zThreshold;for(let s3 of(this.symbols||(this.symbols={connectors:[],bubbleItems:[],labels:[]}),t4.symbol=e4.g("bubble-legend"),t4.label=e4.g("bubble-legend-item").css(this.legend.itemStyle||{}),t4.symbol.translateX=0,t4.symbol.translateY=0,t4.symbol.add(t4.label),t4.label.add(t4.group),this.ranges))s3.value>=i3&&this.renderRange(s3);this.hideOverlappingLabels()}renderRange(t4){let e4=this.ranges[0],i3=this.legend,s3=this.options,o3=s3.labels,a3=this.chart,r3=a3.series[s3.seriesIndex],n3=a3.renderer,l3=this.symbols,h3=l3.labels,p3=t4.center,d3=Math.abs(t4.radius),c2=s3.connectorDistance||0,u2=o3.align,g2=i3.options.rtl,f2=s3.borderWidth,b2=s3.connectorWidth,m2=e4.radius||0,y2=p3-d3-f2/2+b2/2,x2=(y2%1?1:.5)-(b2%2?0:.5),P2=n3.styledMode,S2=g2||"left"===u2?-c2:c2;"center"===u2&&(S2=0,s3.connectorDistance=0,t4.labelAttribs.align="center"),l3.bubbleItems.push(n3.circle(m2,p3+x2,d3).attr(P2?{}:t4.bubbleAttribs).addClass((P2?"highcharts-color-"+r3.colorIndex+" ":"")+"highcharts-bubble-legend-symbol "+(s3.className||"")).add(this.legendItem.symbol)),l3.connectors.push(n3.path(n3.crispLine([["M",m2,y2],["L",m2+S2,y2]],s3.connectorWidth)).attr(P2?{}:t4.connectorAttribs).addClass((P2?"highcharts-color-"+this.options.seriesIndex+" ":"")+"highcharts-bubble-legend-connectors "+(s3.connectorClassName||"")).add(this.legendItem.symbol));let M2=n3.text(this.formatLabel(t4)).attr(P2?{}:t4.labelAttribs).css(P2?{}:o3.style).addClass("highcharts-bubble-legend-labels "+(s3.labels.className||"")).add(this.legendItem.symbol),L2={x:m2+S2+s3.labels.x,y:y2+s3.labels.y+.4*M2.getBBox().height};M2.attr(L2),h3.push(M2),M2.placed=true,M2.alignAttr=L2}getMaxLabelSize(){let t4,e4;return this.symbols.labels.forEach((function(i3){e4=i3.getBBox(true),t4=t4?e4.width>t4.width?e4:t4:e4})),t4||{}}formatLabel(t4){let i3=this.options,s3=i3.labels.formatter,o3=i3.labels.format,{numberFormatter:a3}=this.chart;return o3?e3.format(o3,t4):s3?s3.call(t4):a3(t4.value,1)}hideOverlappingLabels(){let t4=this.chart,e4=this.options.labels.allowOverlap,i3=this.symbols;!e4&&i3&&(t4.hideOverlappingLabels(i3.labels),i3.labels.forEach((function(t5,e5){t5.newOpacity?t5.newOpacity!==t5.oldOpacity&&i3.connectors[e5].show():i3.connectors[e5].hide()})))}getRanges(){let t4=this.legend.bubbleLegend,e4=t4.chart.series,i3=t4.options.ranges,s3,o3,a3=Number.MAX_VALUE,d3=-Number.MAX_VALUE;return e4.forEach((function(t5){t5.isBubble&&!t5.ignoreSeries&&(o3=t5.zData.filter(l2)).length&&(a3=p2(t5.options.zMin,Math.min(a3,Math.max(n2(o3),false===t5.options.displayNegative?t5.options.zThreshold:-Number.MAX_VALUE))),d3=p2(t5.options.zMax,Math.max(d3,r2(o3))))})),s3=a3===d3?[{value:d3}]:[{value:a3},{value:(a3+d3)/2},{value:d3,autoRanges:true}],i3.length&&i3[0].radius&&s3.reverse(),s3.forEach((function(t5,e5){i3&&i3[e5]&&(s3[e5]=h2(i3[e5],t5))})),s3}predictBubbleSizes(){let t4=this.chart,e4=t4.legend.options,i3=e4.floating,s3="horizontal"===e4.layout,o3=s3?t4.legend.lastLineHeight:0,a3=t4.plotSizeX,r3=t4.plotSizeY,n3=t4.series[this.options.seriesIndex],l3=n3.getPxExtremes(),h3=Math.ceil(l3.minPxSize),p3=Math.ceil(l3.maxPxSize),d3=Math.min(r3,a3),c2,u2=n3.options.maxSize;return i3||!/%$/.test(u2)?c2=p3:(c2=(d3+o3)*(u2=parseFloat(u2))/100/(u2/100+1),(s3&&r3-c2>=a3||!s3&&a3-c2>=r3)&&(c2=p3)),[h3,Math.ceil(c2)]}updateRanges(t4,e4){let i3=this.legend.options.bubbleLegend;i3.minSize=t4,i3.maxSize=e4,i3.ranges=this.getRanges()}correctSizes(){let t4=this.legend,e4=this.chart.series[this.options.seriesIndex].getPxExtremes();Math.abs(Math.ceil(e4.maxPxSize)-this.options.maxSize)>1&&(this.updateRanges(this.options.minSize,e4.maxPxSize),t4.render())}}})),i(e2,"Series/Bubble/BubbleLegendComposition.js",[e2["Series/Bubble/BubbleLegendDefaults.js"],e2["Series/Bubble/BubbleLegendItem.js"],e2["Core/Defaults.js"],e2["Core/Globals.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2,s2,o2){let{setOptions:a2}=i2,{composed:r2}=s2,{addEvent:n2,objectEach:l2,pushUnique:h2,wrap:p2}=o2;function d2(t4,e4,i3){let s3,o3,a3;let r3=this.legend,n3=c2(this)>=0;r3&&r3.options.enabled&&r3.bubbleLegend&&r3.options.bubbleLegend.autoRanges&&n3?(s3=r3.bubbleLegend.options,o3=r3.bubbleLegend.predictBubbleSizes(),r3.bubbleLegend.updateRanges(o3[0],o3[1]),s3.placed||(r3.group.placed=false,r3.allItems.forEach((t5=>{(a3=t5.legendItem||{}).group&&(a3.group.translateY=void 0)}))),r3.render(),s3.placed||(this.getMargins(),this.axes.forEach((function(t5){t5.visible&&t5.render(),s3.placed||(t5.setScale(),t5.updateNames(),l2(t5.ticks,(function(t6){t6.isNew=true,t6.isNewLabel=true})))})),this.getMargins()),s3.placed=true,t4.call(this,e4,i3),r3.bubbleLegend.correctSizes(),b2(r3,u2(r3))):(t4.call(this,e4,i3),r3&&r3.options.enabled&&r3.bubbleLegend&&(r3.render(),b2(r3,u2(r3))))}function c2(t4){let e4=t4.series,i3=0;for(;i3<e4.length;){if(e4[i3]&&e4[i3].isBubble&&e4[i3].visible&&e4[i3].zData.length)return i3;i3++}return-1}function u2(t4){let e4=t4.allItems,i3=[],s3=e4.length,o3,a3,r3,n3=0,l3=0;for(n3=0;n3<s3;n3++)if(a3=e4[n3].legendItem||{},r3=(e4[n3+1]||{}).legendItem||{},a3.labelHeight&&(e4[n3].itemHeight=a3.labelHeight),e4[n3]===e4[s3-1]||a3.y!==r3.y){for(i3.push({height:0}),o3=i3[i3.length-1];l3<=n3;l3++)e4[l3].itemHeight>o3.height&&(o3.height=e4[l3].itemHeight);o3.step=n3}return i3}function g2(t4){let i3=this.bubbleLegend,s3=this.options,o3=s3.bubbleLegend,a3=c2(this.chart);i3&&i3.ranges&&i3.ranges.length&&(o3.ranges.length&&(o3.autoRanges=!!o3.ranges[0].autoRanges),this.destroyItem(i3)),a3>=0&&s3.enabled&&o3.enabled&&(o3.seriesIndex=a3,this.bubbleLegend=new e3(o3,this),this.bubbleLegend.addToLegend(t4.allItems))}function f2(t4){let e4;if(t4.defaultPrevented)return false;let i3=t4.legendItem,s3=this.chart,o3=i3.visible;this&&this.bubbleLegend&&(i3.visible=!o3,i3.ignoreSeries=o3,e4=c2(s3)>=0,this.bubbleLegend.visible!==e4&&(this.update({bubbleLegend:{enabled:e4}}),this.bubbleLegend.visible=e4),i3.visible=o3)}function b2(t4,e4){let i3=t4.allItems,s3=t4.options.rtl,o3,a3,r3,n3,l3=0;i3.forEach(((t5,i4)=>{(n3=t5.legendItem||{}).group&&(o3=n3.group.translateX||0,a3=n3.y||0,((r3=t5.movementX)||s3&&t5.ranges)&&(r3=s3?o3-t5.options.maxSize/2:o3+r3,n3.group.attr({translateX:r3})),i4>e4[l3].step&&l3++,n3.group.attr({translateY:Math.round(a3+e4[l3].height/2)}),n3.y=a3+e4[l3].height/2)}))}return{compose:function(e4,i3){h2(r2,"Series.BubbleLegend")&&(a2({legend:{bubbleLegend:t3}}),p2(e4.prototype,"drawChartBox",d2),n2(i3,"afterGetAllItems",g2),n2(i3,"itemClick",f2))}}})),i(e2,"Series/Bubble/BubblePoint.js",[e2["Core/Series/Point.js"],e2["Core/Series/SeriesRegistry.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2){let{seriesTypes:{scatter:{prototype:{pointClass:s2}}}}=e3,{extend:o2}=i2;class a2 extends s2{haloPath(e4){let i3=(e4&&this.marker&&this.marker.radius||0)+e4;if(this.series.chart.inverted){let t4=this.pos()||[0,0],{xAxis:e5,yAxis:s3,chart:o3}=this.series;return o3.renderer.symbols.circle(e5.len-t4[1]-i3,s3.len-t4[0]-i3,2*i3,2*i3)}return t3.prototype.haloPath.call(this,i3)}}return o2(a2.prototype,{ttBelow:false}),a2})),i(e2,"Series/Bubble/BubbleSeries.js",[e2["Series/Bubble/BubbleLegendComposition.js"],e2["Series/Bubble/BubblePoint.js"],e2["Core/Color/Color.js"],e2["Core/Globals.js"],e2["Core/Series/SeriesRegistry.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2,s2,o2,a2){let{parse:r2}=i2,{composed:n2,noop:l2}=s2,{series:h2,seriesTypes:{column:{prototype:p2},scatter:d2}}=o2,{addEvent:c2,arrayMax:u2,arrayMin:g2,clamp:f2,extend:b2,isNumber:m2,merge:y2,pick:x2,pushUnique:P2}=a2;function S2(){let t4=this.len,{coll:e4,isXAxis:i3,min:s3}=this,o3=i3?"xData":"yData",a3=(this.max||0)-(s3||0),r3=0,n3=t4,l3=t4/a3,h3;("xAxis"===e4||"yAxis"===e4)&&(this.series.forEach((t5=>{if(t5.bubblePadding&&t5.reserveSpace()){this.allowZoomOutside=true,h3=true;let e5=t5[o3];if(i3&&((t5.onPoint||t5).getRadii(0,0,t5),t5.onPoint&&(t5.radii=t5.onPoint.radii)),a3>0){let i4=e5.length;for(;i4--;)if(m2(e5[i4])&&this.dataMin<=e5[i4]&&e5[i4]<=this.max){let o4=t5.radii&&t5.radii[i4]||0;r3=Math.min((e5[i4]-s3)*l3-o4,r3),n3=Math.max((e5[i4]-s3)*l3+o4,n3)}}}})),h3&&a3>0&&!this.logarithmic&&(n3-=t4,l3*=(t4+Math.max(0,r3)-Math.min(n3,t4))/t4,[["min","userMin",r3],["max","userMax",n3]].forEach((t5=>{void 0===x2(this.options[t5[0]],this[t5[1]])&&(this[t5[0]]+=t5[2]/l3)}))))}class M2 extends d2{static compose(e4,i3,s3){t3.compose(i3,s3),P2(n2,"Series.Bubble")&&c2(e4,"foundExtremes",S2)}animate(t4){!t4&&this.points.length<this.options.animationLimit&&this.points.forEach((function(t5){let{graphic:e4,plotX:i3=0,plotY:s3=0}=t5;e4&&e4.width&&(this.hasRendered||e4.attr({x:i3,y:s3,width:1,height:1}),e4.animate(this.markerAttribs(t5),this.options.animation))}),this)}getRadii(){let t4=this.zData,e4=this.yData,i3=[],s3,o3,a3,r3=this.chart.bubbleZExtremes,{minPxSize:n3,maxPxSize:l3}=this.getPxExtremes();if(!r3){let t5,e5=Number.MAX_VALUE,i4=-Number.MAX_VALUE;this.chart.series.forEach((s4=>{if(s4.bubblePadding&&s4.reserveSpace()){let o4=(s4.onPoint||s4).getZExtremes();o4&&(e5=Math.min(x2(e5,o4.zMin),o4.zMin),i4=Math.max(x2(i4,o4.zMax),o4.zMax),t5=true)}})),t5?(r3={zMin:e5,zMax:i4},this.chart.bubbleZExtremes=r3):r3={zMin:0,zMax:0}}for(o3=0,s3=t4.length;o3<s3;o3++)a3=t4[o3],i3.push(this.getRadius(r3.zMin,r3.zMax,n3,l3,a3,e4&&e4[o3]));this.radii=i3}getRadius(t4,e4,i3,s3,o3,a3){let r3=this.options,n3="width"!==r3.sizeBy,l3=r3.zThreshold,h3=e4-t4,p3=.5;if(null===a3||null===o3)return null;if(m2(o3)){if(r3.sizeByAbsoluteValue&&(o3=Math.abs(o3-l3),e4=h3=Math.max(e4-l3,Math.abs(t4-l3)),t4=0),o3<t4)return i3/2-1;h3>0&&(p3=(o3-t4)/h3)}return n3&&p3>=0&&(p3=Math.sqrt(p3)),Math.ceil(i3+p3*(s3-i3))/2}hasData(){return!!this.processedXData.length}markerAttribs(t4,e4){let i3=super.markerAttribs(t4,e4),{height:s3=0,width:o3=0}=i3;return this.chart.inverted?b2(i3,{x:(t4.plotX||0)-o3/2,y:(t4.plotY||0)-s3/2}):i3}pointAttribs(t4,e4){let i3=this.options.marker.fillOpacity,s3=h2.prototype.pointAttribs.call(this,t4,e4);return 1!==i3&&(s3.fill=r2(s3.fill).setOpacity(i3).get("rgba")),s3}translate(){super.translate.call(this),this.getRadii(),this.translateBubble()}translateBubble(){let{data:t4,options:e4,radii:i3}=this,{minPxSize:s3}=this.getPxExtremes(),o3=t4.length;for(;o3--;){let a3=t4[o3],r3=i3?i3[o3]:0;"z"===this.zoneAxis&&(a3.negative=(a3.z||0)<(e4.zThreshold||0)),m2(r3)&&r3>=s3/2?(a3.marker=b2(a3.marker,{radius:r3,width:2*r3,height:2*r3}),a3.dlBox={x:a3.plotX-r3,y:a3.plotY-r3,width:2*r3,height:2*r3}):(a3.shapeArgs=a3.plotY=a3.dlBox=void 0,a3.isInside=false)}}getPxExtremes(){let t4=Math.min(this.chart.plotWidth,this.chart.plotHeight),e4=e5=>{let i4;return"string"==typeof e5&&(i4=/%$/.test(e5),e5=parseInt(e5,10)),i4?t4*e5/100:e5},i3=e4(x2(this.options.minSize,8)),s3=Math.max(e4(x2(this.options.maxSize,"20%")),i3);return{minPxSize:i3,maxPxSize:s3}}getZExtremes(){let t4=this.options,e4=(this.zData||[]).filter(m2);if(e4.length){let i3=x2(t4.zMin,f2(g2(e4),false===t4.displayNegative?t4.zThreshold||0:-Number.MAX_VALUE,Number.MAX_VALUE)),s3=x2(t4.zMax,u2(e4));if(m2(i3)&&m2(s3))return{zMin:i3,zMax:s3}}}}return M2.defaultOptions=y2(d2.defaultOptions,{dataLabels:{formatter:function(){let{numberFormatter:t4}=this.series.chart,{z:e4}=this.point;return m2(e4)?t4(e4,-1):""},inside:true,verticalAlign:"middle"},animationLimit:250,marker:{lineColor:null,lineWidth:1,fillOpacity:.5,radius:null,states:{hover:{radiusPlus:0}},symbol:"circle"},minSize:8,maxSize:"20%",softThreshold:false,states:{hover:{halo:{size:5}}},tooltip:{pointFormat:"({point.x}, {point.y}), Size: {point.z}"},turboThreshold:0,zThreshold:0,zoneAxis:"z"}),b2(M2.prototype,{alignDataLabel:p2.alignDataLabel,applyZones:l2,bubblePadding:true,isBubble:true,pointArrayMap:["y","z"],pointClass:e3,parallelArrays:["x","y","z"],trackerGroups:["group","dataLabelsGroup"],specialGroup:"group",zoneAxis:"z"}),c2(M2,"updatedData",(t4=>{delete t4.target.chart.bubbleZExtremes})),c2(M2,"remove",(t4=>{delete t4.target.chart.bubbleZExtremes})),o2.registerSeriesType("bubble",M2),M2})),i(e2,"Series/ColumnRange/ColumnRangePoint.js",[e2["Core/Series/SeriesRegistry.js"],e2["Core/Utilities.js"]],(function(t3,e3){let{seriesTypes:{column:{prototype:{pointClass:{prototype:i2}}},arearange:{prototype:{pointClass:s2}}}}=t3,{extend:o2,isNumber:a2}=e3;class r2 extends s2{isValid(){return a2(this.low)}}return o2(r2.prototype,{setState:i2.setState}),r2})),i(e2,"Series/ColumnRange/ColumnRangeSeries.js",[e2["Series/ColumnRange/ColumnRangePoint.js"],e2["Core/Globals.js"],e2["Core/Series/SeriesRegistry.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2,s2){let{noop:o2}=e3,{seriesTypes:{arearange:a2,column:r2,column:{prototype:n2}}}=i2,{addEvent:l2,clamp:h2,extend:p2,isNumber:d2,merge:c2,pick:u2}=s2;class g2 extends a2{setOptions(){return c2(true,arguments[0],{stacking:void 0}),a2.prototype.setOptions.apply(this,arguments)}translate(){return n2.translate.apply(this)}pointAttribs(){return n2.pointAttribs.apply(this,arguments)}translate3dPoints(){return n2.translate3dPoints.apply(this,arguments)}translate3dShapes(){return n2.translate3dShapes.apply(this,arguments)}afterColumnTranslate(){let t4,e4,i3,s3;let o3=this.yAxis,a3=this.xAxis,r3=a3.startAngleRad,n3=this.chart,l3=this.xAxis.isRadial,p3=Math.max(n3.chartWidth,n3.chartHeight)+999;this.points.forEach((g3=>{let f2=g3.shapeArgs||{},b2=this.options.minPointLength,m2=g3.plotY,y2=o3.translate(g3.high,0,1,0,1);if(d2(y2)&&d2(m2)){if(g3.plotHigh=h2(y2,-p3,p3),g3.plotLow=h2(m2,-p3,p3),s3=g3.plotHigh,Math.abs(t4=u2(g3.rectPlotY,g3.plotY)-g3.plotHigh)<b2?(e4=b2-t4,t4+=e4,s3-=e4/2):t4<0&&(t4*=-1,s3-=t4),l3&&this.polar)i3=g3.barX+r3,g3.shapeType="arc",g3.shapeArgs=this.polar.arc(s3+t4,s3,i3,i3+g3.pointWidth);else{f2.height=t4,f2.y=s3;let{x:e5=0,width:i4=0}=f2;g3.shapeArgs=c2(g3.shapeArgs,this.crispCol(e5,s3,i4,t4)),g3.tooltipPos=n3.inverted?[o3.len+o3.pos-n3.plotLeft-s3-t4/2,a3.len+a3.pos-n3.plotTop-e5-i4/2,t4]:[a3.left-n3.plotLeft+e5+i4/2,o3.pos-n3.plotTop+s3+t4/2,t4]}}}))}}return g2.defaultOptions=c2(r2.defaultOptions,a2.defaultOptions,{borderRadius:{where:"all"},pointRange:null,legendSymbol:"rectangle",marker:null,states:{hover:{halo:false}}}),l2(g2,"afterColumnTranslate",(function(){g2.prototype.afterColumnTranslate.apply(this)}),{order:5}),p2(g2.prototype,{directTouch:true,pointClass:t3,trackerGroups:["group","dataLabelsGroup"],adjustForMissingColumns:n2.adjustForMissingColumns,animate:n2.animate,crispCol:n2.crispCol,drawGraph:o2,drawPoints:n2.drawPoints,getSymbol:o2,drawTracker:n2.drawTracker,getColumnMetrics:n2.getColumnMetrics}),i2.registerSeriesType("columnrange",g2),g2})),i(e2,"Series/ColumnPyramid/ColumnPyramidSeriesDefaults.js",[],(function(){return{}})),i(e2,"Series/ColumnPyramid/ColumnPyramidSeries.js",[e2["Series/ColumnPyramid/ColumnPyramidSeriesDefaults.js"],e2["Core/Series/SeriesRegistry.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2){let{column:s2}=e3.seriesTypes,{clamp:o2,merge:a2,pick:r2}=i2;class n2 extends s2{translate(){let t4=this.chart,e4=this.options,i3=this.dense=this.closestPointRange*this.xAxis.transA<2,s3=this.borderWidth=r2(e4.borderWidth,i3?0:1),a3=this.yAxis,n3=e4.threshold,l2=r2(e4.minPointLength,5),h2=this.getColumnMetrics(),p2=h2.width,d2=this.pointXOffset=h2.offset,c2=this.translatedThreshold=a3.getThreshold(n3),u2=this.barW=Math.max(p2,1+2*s3);for(let i4 of(t4.inverted&&(c2-=.5),e4.pointPadding&&(u2=Math.ceil(u2)),super.translate(),this.points)){let s4=r2(i4.yBottom,c2),g2=999+Math.abs(s4),f2=o2(i4.plotY,-g2,a3.len+g2),b2=u2/2,m2=Math.min(f2,s4),y2=Math.max(f2,s4)-m2,x2=i4.plotX+d2,P2,S2,M2,L2,C2,k2,v2,A2,w2,T2,N2;e4.centerInCategory&&(x2=this.adjustForMissingColumns(x2,p2,i4,h2)),i4.barX=x2,i4.pointWidth=p2,i4.tooltipPos=t4.inverted?[a3.len+a3.pos-t4.plotLeft-f2,this.xAxis.len-x2-b2,y2]:[x2+b2,f2+a3.pos-t4.plotTop,y2],P2=n3+(i4.total||i4.y),"percent"===e4.stacking&&(P2=n3+(i4.y<0)?-100:100);let X2=a3.toPixels(P2,true);M2=(S2=t4.plotHeight-X2-(t4.plotHeight-c2))?b2*(m2-X2)/S2:0,L2=S2?b2*(m2+y2-X2)/S2:0,k2=x2-M2+b2,v2=x2+M2+b2,A2=x2+L2+b2,w2=x2-L2+b2,T2=m2-l2,N2=m2+y2,i4.y<0&&(T2=m2,N2=m2+y2+l2),t4.inverted&&(C2=a3.width-m2,S2=X2-(a3.width-c2),M2=b2*(X2-C2)/S2,L2=b2*(X2-(C2-y2))/S2,v2=(k2=x2+b2+M2)-2*M2,A2=x2-L2+b2,w2=x2+L2+b2,T2=m2,N2=m2+y2-l2,i4.y<0&&(N2=m2+y2+l2)),i4.shapeType="path",i4.shapeArgs={x:k2,y:T2,width:v2-k2,height:y2,d:[["M",k2,T2],["L",v2,T2],["L",A2,N2],["L",w2,N2],["Z"]]}}}}return n2.defaultOptions=a2(s2.defaultOptions,t3),e3.registerSeriesType("columnpyramid",n2),n2})),i(e2,"Series/ErrorBar/ErrorBarSeriesDefaults.js",[],(function(){return{color:"#000000",grouping:false,linkedTo:":previous",tooltip:{pointFormat:'<span style="color:{point.color}">●</span> {series.name}: <b>{point.low}</b> - <b>{point.high}</b><br/>'},whiskerWidth:null}})),i(e2,"Series/ErrorBar/ErrorBarSeries.js",[e2["Series/BoxPlot/BoxPlotSeries.js"],e2["Series/Column/ColumnSeries.js"],e2["Series/ErrorBar/ErrorBarSeriesDefaults.js"],e2["Core/Series/SeriesRegistry.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2,s2,o2){let{arearange:a2}=s2.seriesTypes,{addEvent:r2,merge:n2,extend:l2}=o2;class h2 extends t3{getColumnMetrics(){return this.linkedParent&&this.linkedParent.columnMetrics||e3.prototype.getColumnMetrics.call(this)}drawDataLabels(){let t4=this.pointValKey;if(a2)for(let e4 of(a2.prototype.drawDataLabels.call(this),this.points))e4.y=e4[t4]}toYData(t4){return[t4.low,t4.high]}}return h2.defaultOptions=n2(t3.defaultOptions,i2),r2(h2,"afterTranslate",(function(){for(let t4 of this.points)t4.plotLow=t4.plotY}),{order:0}),l2(h2.prototype,{pointArrayMap:["low","high"],pointValKey:"high",doQuartiles:false}),s2.registerSeriesType("errorbar",h2),h2})),i(e2,"Series/Gauge/GaugePoint.js",[e2["Core/Series/SeriesRegistry.js"]],(function(t3){let{series:{prototype:{pointClass:e3}}}=t3;return class extends e3{setState(t4){this.state=t4}}})),i(e2,"Series/Gauge/GaugeSeries.js",[e2["Series/Gauge/GaugePoint.js"],e2["Core/Globals.js"],e2["Core/Series/SeriesRegistry.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2,s2){let{noop:o2}=e3,{series:a2,seriesTypes:{column:r2}}=i2,{clamp:n2,isNumber:l2,extend:h2,merge:p2,pick:d2,pInt:c2,defined:u2}=s2;class g2 extends a2{translate(){let t4=this.yAxis,e4=this.options,i3=t4.center;this.generatePoints(),this.points.forEach((s3=>{let o3=p2(e4.dial,s3.dial),a3=c2(o3.radius)*i3[2]/200,r3=c2(o3.baseLength)*a3/100,h3=c2(o3.rearLength)*a3/100,d3=o3.baseWidth,g3=o3.topWidth,f2=e4.overshoot,b2=t4.startAngleRad+t4.translate(s3.y,void 0,void 0,void 0,true);(l2(f2)||false===e4.wrap)&&(f2=l2(f2)?f2/180*Math.PI:0,b2=n2(b2,t4.startAngleRad-f2,t4.endAngleRad+f2)),b2=180*b2/Math.PI,s3.shapeType="path";let m2=o3.path||[["M",-h3,-d3/2],["L",r3,-d3/2],["L",a3,-g3/2],["L",a3,g3/2],["L",r3,d3/2],["L",-h3,d3/2],["Z"]];s3.shapeArgs={d:m2,translateX:i3[0],translateY:i3[1],rotation:b2},s3.plotX=i3[0],s3.plotY=i3[1],u2(s3.y)&&t4.max-t4.min&&(s3.percentage=(s3.y-t4.min)/(t4.max-t4.min)*100)}))}drawPoints(){let t4=this,e4=t4.chart,i3=t4.yAxis.center,s3=t4.pivot,o3=t4.options,a3=o3.pivot,r3=e4.renderer;t4.points.forEach((i4=>{let s4=i4.graphic,a4=i4.shapeArgs,n3=a4.d,l3=p2(o3.dial,i4.dial);s4?(s4.animate(a4),a4.d=n3):i4.graphic=r3[i4.shapeType](a4).addClass("highcharts-dial").add(t4.group),e4.styledMode||i4.graphic[s4?"animate":"attr"]({stroke:l3.borderColor,"stroke-width":l3.borderWidth,fill:l3.backgroundColor})})),s3?s3.animate({translateX:i3[0],translateY:i3[1]}):a3&&(t4.pivot=r3.circle(0,0,a3.radius).attr({zIndex:2}).addClass("highcharts-pivot").translate(i3[0],i3[1]).add(t4.group),e4.styledMode||t4.pivot.attr({fill:a3.backgroundColor,stroke:a3.borderColor,"stroke-width":a3.borderWidth}))}animate(t4){let e4=this;t4||e4.points.forEach((t5=>{let i3=t5.graphic;i3&&(i3.attr({rotation:180*e4.yAxis.startAngleRad/Math.PI}),i3.animate({rotation:t5.shapeArgs.rotation},e4.options.animation))}))}render(){this.group=this.plotGroup("group","series",this.visible?"inherit":"hidden",this.options.zIndex,this.chart.seriesGroup),a2.prototype.render.call(this),this.group.clip(this.chart.clipRect)}setData(t4,e4){a2.prototype.setData.call(this,t4,false),this.processData(),this.generatePoints(),d2(e4,true)&&this.chart.redraw()}hasData(){return!!this.points.length}}return g2.defaultOptions=p2(a2.defaultOptions,{dataLabels:{borderColor:"#cccccc",borderRadius:3,borderWidth:1,crop:false,defer:false,enabled:true,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:false}),h2(g2.prototype,{angular:true,directTouch:true,drawGraph:o2,drawTracker:r2.prototype.drawTracker,fixedBox:true,forceDL:true,noSharedTooltip:true,pointClass:t3,trackerGroups:["group","dataLabelsGroup"]}),i2.registerSeriesType("gauge",g2),g2})),i(e2,"Series/DragNodesComposition.js",[e2["Core/Globals.js"],e2["Core/Utilities.js"]],(function(t3,e3){let{composed:i2}=t3,{addEvent:s2,pushUnique:o2}=e3;function a2(){let t4,e4,i3;let o3=this;o3.container&&(t4=s2(o3.container,"mousedown",(t5=>{let a3=o3.hoverPoint;a3&&a3.series&&a3.series.hasDraggableNodes&&a3.series.options.draggable&&(a3.series.onMouseDown(a3,t5),e4=s2(o3.container,"mousemove",(t6=>a3&&a3.series&&a3.series.onMouseMove(a3,t6))),i3=s2(o3.container.ownerDocument,"mouseup",(t6=>(e4(),i3(),a3&&a3.series&&a3.series.onMouseUp(a3,t6)))))}))),s2(o3,"destroy",(function(){t4()}))}return{compose:function(t4){o2(i2,"DragNodes")&&s2(t4,"load",a2)},onMouseDown:function(t4,e4){var _a;let i3=((_a=this.chart.pointer)==null?void 0:_a.normalize(e4))||e4;t4.fixedPosition={chartX:i3.chartX,chartY:i3.chartY,plotX:t4.plotX,plotY:t4.plotY},t4.inDragMode=true},onMouseMove:function(t4,e4){var _a;if(t4.fixedPosition&&t4.inDragMode){let i3,s3;let o3=this.chart,a3=((_a=o3.pointer)==null?void 0:_a.normalize(e4))||e4,r2=t4.fixedPosition.chartX-a3.chartX,n2=t4.fixedPosition.chartY-a3.chartY,l2=o3.graphLayoutsLookup;(Math.abs(r2)>5||Math.abs(n2)>5)&&(i3=t4.fixedPosition.plotX-r2,s3=t4.fixedPosition.plotY-n2,o3.isInsidePlot(i3,s3)&&(t4.plotX=i3,t4.plotY=s3,t4.hasDragged=true,this.redrawHalo(t4),l2.forEach((t5=>{t5.restartSimulation()}))))}},onMouseUp:function(t4){t4.fixedPosition&&(t4.hasDragged&&(this.layout.enableSimulation?this.layout.start():this.chart.redraw()),t4.inDragMode=t4.hasDragged=false,this.options.fixedDraggable||delete t4.fixedPosition)},redrawHalo:function(t4){t4&&this.halo&&this.halo.attr({d:t4.haloPath(this.options.states.hover.halo.size)})}}})),i(e2,"Series/GraphLayoutComposition.js",[e2["Core/Animation/AnimationUtilities.js"],e2["Core/Globals.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2){let{setAnimation:s2}=t3,{composed:o2}=e3,{addEvent:a2,pushUnique:r2}=i2;function n2(){this.graphLayoutsLookup&&(this.graphLayoutsLookup.forEach((t4=>{t4.updateSimulation()})),this.redraw())}function l2(){this.graphLayoutsLookup&&(this.graphLayoutsLookup.forEach((t4=>{t4.updateSimulation(false)})),this.redraw())}function h2(){this.graphLayoutsLookup&&this.graphLayoutsLookup.forEach((t4=>{t4.stop()}))}function p2(){let t4,e4=false,i3=i4=>{i4.maxIterations--&&isFinite(i4.temperature)&&!i4.isStable()&&!i4.enableSimulation&&(i4.beforeStep&&i4.beforeStep(),i4.step(),t4=false,e4=true)};if(this.graphLayoutsLookup){for(s2(false,this),this.graphLayoutsLookup.forEach((t5=>t5.start()));!t4;)t4=true,this.graphLayoutsLookup.forEach(i3);e4&&this.series.forEach((t5=>{t5&&t5.layout&&t5.render()}))}}return{compose:function(t4){r2(o2,"GraphLayout")&&(a2(t4,"afterPrint",n2),a2(t4,"beforePrint",l2),a2(t4,"predraw",h2),a2(t4,"render",p2))},integrations:{},layouts:{}}})),i(e2,"Series/PackedBubble/PackedBubblePoint.js",[e2["Core/Chart/Chart.js"],e2["Core/Series/Point.js"],e2["Core/Series/SeriesRegistry.js"]],(function(t3,e3,i2){let{seriesTypes:{bubble:{prototype:{pointClass:s2}}}}=i2;return class extends s2{destroy(){var _a;return((_a=this.series)==null?void 0:_a.layout)&&this.series.layout.removeElementFromCollection(this,this.series.layout.nodes),e3.prototype.destroy.apply(this,arguments)}firePointEvent(){let t4=this.series.options;if(this.isParentNode&&t4.parentNode){let i3=t4.allowPointSelect;t4.allowPointSelect=t4.parentNode.allowPointSelect,e3.prototype.firePointEvent.apply(this,arguments),t4.allowPointSelect=i3}else e3.prototype.firePointEvent.apply(this,arguments)}select(){let i3=this.series.chart;this.isParentNode?(i3.getSelectedPoints=i3.getSelectedParentNodes,e3.prototype.select.apply(this,arguments),i3.getSelectedPoints=t3.prototype.getSelectedPoints):e3.prototype.select.apply(this,arguments)}}})),i(e2,"Series/PackedBubble/PackedBubbleSeriesDefaults.js",[e2["Core/Utilities.js"]],(function(t3){let{isNumber:e3}=t3;return{minSize:"10%",maxSize:"50%",sizeBy:"area",zoneAxis:"y",crisp:false,tooltip:{pointFormat:"Value: {point.value}"},draggable:true,useSimulation:true,parentNode:{allowPointSelect:false},dataLabels:{formatter:function(){let{numberFormatter:t4}=this.series.chart,{value:i2}=this.point;return e3(i2)?t4(i2,-1):""},parentNodeFormatter:function(){return this.name},parentNodeTextPath:{enabled:true},padding:0,style:{transition:"opacity 2000ms"}},layoutAlgorithm:{initialPositions:"circle",initialPositionRadius:20,bubblePadding:5,parentNodeLimit:false,seriesInteraction:true,dragBetweenSeries:false,parentNodeOptions:{maxIterations:400,gravitationalConstant:.03,maxSpeed:50,initialPositionRadius:100,seriesInteraction:true,marker:{fillColor:null,fillOpacity:1,lineWidth:null,lineColor:null,symbol:"circle"}},enableSimulation:true,type:"packedbubble",integration:"packedbubble",maxIterations:1e3,splitSeries:false,maxSpeed:5,gravitationalConstant:.01,friction:-.981}}})),i(e2,"Series/Networkgraph/VerletIntegration.js",[],(function(){return{attractive:function(t3,e3,i2){let s2=t3.getMass(),o2=-i2.x*e3*this.diffTemperature,a2=-i2.y*e3*this.diffTemperature;t3.fromNode.fixedPosition||(t3.fromNode.plotX-=o2*s2.fromNode/t3.fromNode.degree,t3.fromNode.plotY-=a2*s2.fromNode/t3.fromNode.degree),t3.toNode.fixedPosition||(t3.toNode.plotX+=o2*s2.toNode/t3.toNode.degree,t3.toNode.plotY+=a2*s2.toNode/t3.toNode.degree)},attractiveForceFunction:function(t3,e3){return(e3-t3)/t3},barycenter:function(){let t3=this.options.gravitationalConstant||0,e3=(this.barycenter.xFactor-(this.box.left+this.box.width)/2)*t3,i2=(this.barycenter.yFactor-(this.box.top+this.box.height)/2)*t3;this.nodes.forEach((function(t4){t4.fixedPosition||(t4.plotX-=e3/t4.mass/t4.degree,t4.plotY-=i2/t4.mass/t4.degree)}))},getK:function(t3){return Math.pow(t3.box.width*t3.box.height/t3.nodes.length,.5)},integrate:function(t3,e3){let i2=-t3.options.friction,s2=t3.options.maxSpeed,o2=e3.prevX,a2=e3.prevY,r2=(e3.plotX+e3.dispX-o2)*i2,n2=(e3.plotY+e3.dispY-a2)*i2,l2=Math.abs,h2=l2(r2)/(r2||1),p2=l2(n2)/(n2||1),d2=h2*Math.min(s2,Math.abs(r2)),c2=p2*Math.min(s2,Math.abs(n2));e3.prevX=e3.plotX+e3.dispX,e3.prevY=e3.plotY+e3.dispY,e3.plotX+=d2,e3.plotY+=c2,e3.temperature=t3.vectorLength({x:d2,y:c2})},repulsive:function(t3,e3,i2){let s2=e3*this.diffTemperature/t3.mass/t3.degree;t3.fixedPosition||(t3.plotX+=i2.x*s2,t3.plotY+=i2.y*s2)},repulsiveForceFunction:function(t3,e3){return(e3-t3)/t3*(e3>t3?1:0)}}})),i(e2,"Series/PackedBubble/PackedBubbleIntegration.js",[e2["Core/Globals.js"],e2["Series/Networkgraph/VerletIntegration.js"]],(function(t3,e3){let{noop:i2}=t3;return{barycenter:function(){let t4,e4;let i3=this.options.gravitationalConstant,s2=this.box,o2=this.nodes;for(let a2 of o2)this.options.splitSeries&&!a2.isParentNode?(t4=a2.series.parentNode.plotX,e4=a2.series.parentNode.plotY):(t4=s2.width/2,e4=s2.height/2),a2.fixedPosition||(a2.plotX-=(a2.plotX-t4)*i3/(a2.mass*Math.sqrt(o2.length)),a2.plotY-=(a2.plotY-e4)*i3/(a2.mass*Math.sqrt(o2.length)))},getK:i2,integrate:e3.integrate,repulsive:function(t4,e4,i3,s2){let o2=e4*this.diffTemperature/t4.mass/t4.degree,a2=i3.x*o2,r2=i3.y*o2;t4.fixedPosition||(t4.plotX+=a2,t4.plotY+=r2),s2.fixedPosition||(s2.plotX-=a2,s2.plotY-=r2)},repulsiveForceFunction:function(t4,e4,i3,s2){return Math.min(t4,(i3.marker.radius+s2.marker.radius)/2)}}})),i(e2,"Series/Networkgraph/EulerIntegration.js",[],(function(){return{attractive:function(t3,e3,i2,s2){let o2=t3.getMass(),a2=i2.x/s2*e3,r2=i2.y/s2*e3;t3.fromNode.fixedPosition||(t3.fromNode.dispX-=a2*o2.fromNode/t3.fromNode.degree,t3.fromNode.dispY-=r2*o2.fromNode/t3.fromNode.degree),t3.toNode.fixedPosition||(t3.toNode.dispX+=a2*o2.toNode/t3.toNode.degree,t3.toNode.dispY+=r2*o2.toNode/t3.toNode.degree)},attractiveForceFunction:function(t3,e3){return t3*t3/e3},barycenter:function(){let t3=this.options.gravitationalConstant,e3=this.barycenter.xFactor,i2=this.barycenter.yFactor;this.nodes.forEach((function(s2){if(!s2.fixedPosition){let o2=s2.getDegree(),a2=o2*(1+o2/2);s2.dispX+=(e3-s2.plotX)*t3*a2/s2.degree,s2.dispY+=(i2-s2.plotY)*t3*a2/s2.degree}}))},getK:function(t3){return Math.pow(t3.box.width*t3.box.height/t3.nodes.length,.3)},integrate:function(t3,e3){e3.dispX+=e3.dispX*t3.options.friction,e3.dispY+=e3.dispY*t3.options.friction;let i2=e3.temperature=t3.vectorLength({x:e3.dispX,y:e3.dispY});0!==i2&&(e3.plotX+=e3.dispX/i2*Math.min(Math.abs(e3.dispX),t3.temperature),e3.plotY+=e3.dispY/i2*Math.min(Math.abs(e3.dispY),t3.temperature))},repulsive:function(t3,e3,i2,s2){t3.dispX+=i2.x/s2*e3/t3.degree,t3.dispY+=i2.y/s2*e3/t3.degree},repulsiveForceFunction:function(t3,e3){return e3*e3/t3}}})),i(e2,"Series/Networkgraph/QuadTreeNode.js",[],(function(){class t3{constructor(t4){this.body=false,this.isEmpty=false,this.isInternal=false,this.nodes=[],this.box=t4,this.boxSize=Math.min(t4.width,t4.height)}divideBox(){let e3=this.box.width/2,i2=this.box.height/2;this.nodes[0]=new t3({left:this.box.left,top:this.box.top,width:e3,height:i2}),this.nodes[1]=new t3({left:this.box.left+e3,top:this.box.top,width:e3,height:i2}),this.nodes[2]=new t3({left:this.box.left+e3,top:this.box.top+i2,width:e3,height:i2}),this.nodes[3]=new t3({left:this.box.left,top:this.box.top+i2,width:e3,height:i2})}getBoxPosition(t4){let e3=t4.plotX<this.box.left+this.box.width/2,i2=t4.plotY<this.box.top+this.box.height/2;return e3?i2?0:3:i2?1:2}insert(e3,i2){let s2;this.isInternal?this.nodes[this.getBoxPosition(e3)].insert(e3,i2-1):(this.isEmpty=false,this.body?i2?(this.isInternal=true,this.divideBox(),true!==this.body&&(this.nodes[this.getBoxPosition(this.body)].insert(this.body,i2-1),this.body=true),this.nodes[this.getBoxPosition(e3)].insert(e3,i2-1)):((s2=new t3({top:e3.plotX||NaN,left:e3.plotY||NaN,width:.1,height:.1})).body=e3,s2.isInternal=false,this.nodes.push(s2)):(this.isInternal=false,this.body=e3))}updateMassAndCenter(){let t4=0,e3=0,i2=0;if(this.isInternal){for(let s2 of this.nodes)s2.isEmpty||(t4+=s2.mass,e3+=s2.plotX*s2.mass,i2+=s2.plotY*s2.mass);e3/=t4,i2/=t4}else this.body&&(t4=this.body.mass,e3=this.body.plotX,i2=this.body.plotY);this.mass=t4,this.plotX=e3,this.plotY=i2}}return t3})),i(e2,"Series/Networkgraph/QuadTree.js",[e2["Series/Networkgraph/QuadTreeNode.js"]],(function(t3){return class{constructor(e3,i2,s2,o2){this.box={left:e3,top:i2,width:s2,height:o2},this.maxDepth=25,this.root=new t3(this.box),this.root.isInternal=true,this.root.isRoot=true,this.root.divideBox()}calculateMassAndCenter(){this.visitNodeRecursive(null,null,(function(t4){t4.updateMassAndCenter()}))}insertNodes(t4){for(let e3 of t4)this.root.insert(e3,this.maxDepth)}visitNodeRecursive(t4,e3,i2){let s2;if(t4||(t4=this.root),t4===this.root&&e3&&(s2=e3(t4)),false!==s2){for(let o2 of t4.nodes){if(o2.isInternal){if(e3&&(s2=e3(o2)),false===s2)continue;this.visitNodeRecursive(o2,e3,i2)}else o2.body&&e3&&e3(o2.body);i2&&i2(o2)}t4===this.root&&i2&&i2(t4)}}}})),i(e2,"Series/Networkgraph/ReingoldFruchtermanLayout.js",[e2["Series/Networkgraph/EulerIntegration.js"],e2["Core/Globals.js"],e2["Series/GraphLayoutComposition.js"],e2["Series/Networkgraph/QuadTree.js"],e2["Core/Utilities.js"],e2["Series/Networkgraph/VerletIntegration.js"]],(function(t3,e3,i2,s2,o2,a2){let{win:r2}=e3,{clamp:n2,defined:l2,isFunction:h2,fireEvent:p2,pick:d2}=o2;class c2{constructor(){this.box={},this.currentStep=0,this.initialRendering=true,this.links=[],this.nodes=[],this.series=[],this.simulation=false}static compose(e4){i2.compose(e4),i2.integrations.euler=t3,i2.integrations.verlet=a2,i2.layouts["reingold-fruchterman"]=c2}init(t4){this.options=t4,this.nodes=[],this.links=[],this.series=[],this.box={x:0,y:0,width:0,height:0},this.setInitialRendering(true),this.integration=i2.integrations[t4.integration],this.enableSimulation=t4.enableSimulation,this.attractiveForce=d2(t4.attractiveForce,this.integration.attractiveForceFunction),this.repulsiveForce=d2(t4.repulsiveForce,this.integration.repulsiveForceFunction),this.approximation=t4.approximation}updateSimulation(t4){this.enableSimulation=d2(t4,this.options.enableSimulation)}start(){let t4=this.series,e4=this.options;this.currentStep=0,this.forces=t4[0]&&t4[0].forces||[],this.chart=t4[0]&&t4[0].chart,this.initialRendering&&(this.initPositions(),t4.forEach((function(t5){t5.finishedAnimating=true,t5.render()}))),this.setK(),this.resetSimulation(e4),this.enableSimulation&&this.step()}step(){let t4=this.series;for(let t5 of(this.currentStep++,"barnes-hut"===this.approximation&&(this.createQuadTree(),this.quadTree.calculateMassAndCenter()),this.forces||[]))this[t5+"Forces"](this.temperature);if(this.applyLimits(),this.temperature=this.coolDown(this.startTemperature,this.diffTemperature,this.currentStep),this.prevSystemTemperature=this.systemTemperature,this.systemTemperature=this.getSystemTemperature(),this.enableSimulation){for(let e4 of t4)e4.chart&&e4.render();this.maxIterations--&&isFinite(this.temperature)&&!this.isStable()?(this.simulation&&r2.cancelAnimationFrame(this.simulation),this.simulation=r2.requestAnimationFrame((()=>this.step()))):(this.simulation=false,this.series.forEach((t5=>{p2(t5,"afterSimulation")})))}}stop(){this.simulation&&r2.cancelAnimationFrame(this.simulation)}setArea(t4,e4,i3,s3){this.box={left:t4,top:e4,width:i3,height:s3}}setK(){this.k=this.options.linkLength||this.integration.getK(this)}addElementsToCollection(t4,e4){for(let i3 of t4)-1===e4.indexOf(i3)&&e4.push(i3)}removeElementFromCollection(t4,e4){let i3=e4.indexOf(t4);-1!==i3&&e4.splice(i3,1)}clear(){this.nodes.length=0,this.links.length=0,this.series.length=0,this.resetSimulation()}resetSimulation(){this.forcedStop=false,this.systemTemperature=0,this.setMaxIterations(),this.setTemperature(),this.setDiffTemperature()}restartSimulation(){this.simulation?this.resetSimulation():(this.setInitialRendering(false),this.enableSimulation?this.start():this.setMaxIterations(1),this.chart&&this.chart.redraw(),this.setInitialRendering(true))}setMaxIterations(t4){this.maxIterations=d2(t4,this.options.maxIterations)}setTemperature(){this.temperature=this.startTemperature=Math.sqrt(this.nodes.length)}setDiffTemperature(){this.diffTemperature=this.startTemperature/(this.options.maxIterations+1)}setInitialRendering(t4){this.initialRendering=t4}createQuadTree(){this.quadTree=new s2(this.box.left,this.box.top,this.box.width,this.box.height),this.quadTree.insertNodes(this.nodes)}initPositions(){let t4=this.options.initialPositions;if(h2(t4))for(let e4 of(t4.call(this),this.nodes))l2(e4.prevX)||(e4.prevX=e4.plotX),l2(e4.prevY)||(e4.prevY=e4.plotY),e4.dispX=0,e4.dispY=0;else"circle"===t4?this.setCircularPositions():this.setRandomPositions()}setCircularPositions(){let t4;let e4=this.box,i3=this.nodes,s3=2*Math.PI/(i3.length+1),o3=i3.filter((function(t5){return 0===t5.linksTo.length})),a3={},r3=this.options.initialPositionRadius,n3=t5=>{for(let e5 of t5.linksFrom||[])a3[e5.toNode.id]||(a3[e5.toNode.id]=true,l3.push(e5.toNode),n3(e5.toNode))},l3=[];for(let t5 of o3)l3.push(t5),n3(t5);if(l3.length)for(let t5 of i3)-1===l3.indexOf(t5)&&l3.push(t5);else l3=i3;for(let i4=0,o4=l3.length;i4<o4;++i4)(t4=l3[i4]).plotX=t4.prevX=d2(t4.plotX,e4.width/2+r3*Math.cos(i4*s3)),t4.plotY=t4.prevY=d2(t4.plotY,e4.height/2+r3*Math.sin(i4*s3)),t4.dispX=0,t4.dispY=0}setRandomPositions(){let t4;let e4=this.box,i3=this.nodes,s3=i3.length+1,o3=t5=>{let e5=t5*t5/Math.PI;return e5-Math.floor(e5)};for(let a3=0,r3=i3.length;a3<r3;++a3)(t4=i3[a3]).plotX=t4.prevX=d2(t4.plotX,e4.width*o3(a3)),t4.plotY=t4.prevY=d2(t4.plotY,e4.height*o3(s3+a3)),t4.dispX=0,t4.dispY=0}force(t4,...e4){this.integration[t4].apply(this,e4)}barycenterForces(){this.getBarycenter(),this.force("barycenter")}getBarycenter(){let t4=0,e4=0,i3=0;for(let s3 of this.nodes)e4+=s3.plotX*s3.mass,i3+=s3.plotY*s3.mass,t4+=s3.mass;return this.barycenter={x:e4,y:i3,xFactor:e4/t4,yFactor:i3/t4},this.barycenter}barnesHutApproximation(t4,e4){let i3,s3;let o3=this.getDistXY(t4,e4),a3=this.vectorLength(o3);return t4!==e4&&0!==a3&&(e4.isInternal?e4.boxSize/a3<this.options.theta&&0!==a3?(s3=this.repulsiveForce(a3,this.k),this.force("repulsive",t4,s3*e4.mass,o3,a3),i3=false):i3=true:(s3=this.repulsiveForce(a3,this.k),this.force("repulsive",t4,s3*e4.mass,o3,a3))),i3}repulsiveForces(){if("barnes-hut"===this.approximation)for(let t4 of this.nodes)this.quadTree.visitNodeRecursive(null,(e4=>this.barnesHutApproximation(t4,e4)));else{let t4,e4,i3;for(let s3 of this.nodes)for(let o3 of this.nodes)s3===o3||s3.fixedPosition||(i3=this.getDistXY(s3,o3),0!==(e4=this.vectorLength(i3))&&(t4=this.repulsiveForce(e4,this.k),this.force("repulsive",s3,t4*o3.mass,i3,e4)))}}attractiveForces(){let t4,e4,i3;for(let s3 of this.links)s3.fromNode&&s3.toNode&&(t4=this.getDistXY(s3.fromNode,s3.toNode),0!==(e4=this.vectorLength(t4))&&(i3=this.attractiveForce(e4,this.k),this.force("attractive",s3,i3,t4,e4)))}applyLimits(){for(let t4 of this.nodes)t4.fixedPosition||(this.integration.integrate(this,t4),this.applyLimitBox(t4,this.box),t4.dispX=0,t4.dispY=0)}applyLimitBox(t4,e4){let i3=t4.radius;t4.plotX=n2(t4.plotX,e4.left+i3,e4.width-i3),t4.plotY=n2(t4.plotY,e4.top+i3,e4.height-i3)}coolDown(t4,e4,i3){return t4-e4*i3}isStable(){return 1e-5>Math.abs(this.systemTemperature-this.prevSystemTemperature)||this.temperature<=0}getSystemTemperature(){let t4=0;for(let e4 of this.nodes)t4+=e4.temperature;return t4}vectorLength(t4){return Math.sqrt(t4.x*t4.x+t4.y*t4.y)}getDistR(t4,e4){let i3=this.getDistXY(t4,e4);return this.vectorLength(i3)}getDistXY(t4,e4){let i3=t4.plotX-e4.plotX,s3=t4.plotY-e4.plotY;return{x:i3,y:s3,absX:Math.abs(i3),absY:Math.abs(s3)}}}return c2})),i(e2,"Series/PackedBubble/PackedBubbleLayout.js",[e2["Series/GraphLayoutComposition.js"],e2["Series/PackedBubble/PackedBubbleIntegration.js"],e2["Series/Networkgraph/ReingoldFruchtermanLayout.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2,s2){let{addEvent:o2,pick:a2}=s2;function r2(){let t4=this.series,e4=[];return t4.forEach((t5=>{t5.parentNode&&t5.parentNode.selected&&e4.push(t5.parentNode)})),e4}function n2(){this.allDataPoints&&delete this.allDataPoints}class l2 extends i2{constructor(){super(...arguments),this.index=NaN,this.nodes=[],this.series=[]}static compose(s3){i2.compose(s3),t3.integrations.packedbubble=e3,t3.layouts.packedbubble=l2;let a3=s3.prototype;a3.getSelectedParentNodes||(o2(s3,"beforeRedraw",n2),a3.getSelectedParentNodes=r2)}beforeStep(){this.options.marker&&this.series.forEach((t4=>{t4&&t4.calculateParentRadius()}))}isStable(){let t4=Math.abs(this.prevSystemTemperature-this.systemTemperature);return 1>Math.abs(10*this.systemTemperature/Math.sqrt(this.nodes.length))&&t4<1e-5||this.temperature<=0}setCircularPositions(){let t4=this.box,e4=this.nodes,i3=2*Math.PI/(e4.length+1),s3=this.options.initialPositionRadius,o3,r3,n3=0;for(let l3 of e4)this.options.splitSeries&&!l3.isParentNode?(o3=l3.series.parentNode.plotX,r3=l3.series.parentNode.plotY):(o3=t4.width/2,r3=t4.height/2),l3.plotX=l3.prevX=a2(l3.plotX,o3+s3*Math.cos(l3.index||n3*i3)),l3.plotY=l3.prevY=a2(l3.plotY,r3+s3*Math.sin(l3.index||n3*i3)),l3.dispX=0,l3.dispY=0,n3++}repulsiveForces(){let t4,e4,i3;let s3=this,o3=s3.options.bubblePadding,a3=s3.nodes;a3.forEach((r3=>{r3.degree=r3.mass,r3.neighbours=0,a3.forEach((a4=>{t4=0,r3!==a4&&!r3.fixedPosition&&(s3.options.seriesInteraction||r3.series===a4.series)&&(i3=s3.getDistXY(r3,a4),(e4=s3.vectorLength(i3)-(r3.marker.radius+a4.marker.radius+o3))<0&&(r3.degree+=.01,r3.neighbours++,t4=s3.repulsiveForce(-e4/Math.sqrt(r3.neighbours),s3.k,r3,a4)),s3.force("repulsive",r3,t4*a4.mass,i3,a4,e4))}))}))}applyLimitBox(t4,e4){let i3,s3;this.options.splitSeries&&!t4.isParentNode&&this.options.parentNodeLimit&&(i3=this.getDistXY(t4,t4.series.parentNode),(s3=t4.series.parentNodeRadius-t4.marker.radius-this.vectorLength(i3))<0&&s3>-2*t4.marker.radius&&(t4.plotX-=.01*i3.x,t4.plotY-=.01*i3.y)),super.applyLimitBox(t4,e4)}}return t3.layouts.packedbubble=l2,l2})),i(e2,"Series/SimulationSeriesUtilities.js",[e2["Core/Utilities.js"],e2["Core/Animation/AnimationUtilities.js"]],(function(t3,e3){let{merge:i2,syncTimeout:s2}=t3,{animObject:o2}=e3;return{initDataLabels:function(){let t4=this.options.dataLabels;if(!this.dataLabelsGroup){let e4=this.initDataLabelsGroup();return!this.chart.styledMode&&(t4==null?void 0:t4.style)&&e4.css(t4.style),e4.attr({opacity:0}),this.visible&&e4.show(),e4}return this.dataLabelsGroup.attr(i2({opacity:1},this.getPlotBox("data-labels"))),this.dataLabelsGroup},initDataLabelsDefer:function(){var _a;let t4=this.options.dataLabels;(t4==null?void 0:t4.defer)&&((_a=this.options.layoutAlgorithm)==null?void 0:_a.enableSimulation)?s2((()=>{this.deferDataLabels=false}),t4?o2(t4.animation).defer:0):this.deferDataLabels=false}}})),i(e2,"Extensions/TextPath.js",[e2["Core/Globals.js"],e2["Core/Utilities.js"]],(function(t3,e3){let{deg2rad:i2}=t3,{addEvent:s2,merge:o2,uniqueKey:a2,defined:r2,extend:n2}=e3;function l2(t4,e4){e4=o2(true,{enabled:true,attributes:{dy:-5,startOffset:"50%",textAnchor:"middle"}},e4);let i3=this.renderer.url,l3=this.text||this,h3=l3.textPath,{attributes:p3,enabled:d2}=e4;if(t4=t4||h3&&h3.path,h3&&h3.undo(),t4&&d2){let e5=s2(l3,"afterModifyTree",(e6=>{if(t4&&d2){let s3=t4.attr("id");s3||t4.attr("id",s3=a2());let o3={x:0,y:0};r2(p3.dx)&&(o3.dx=p3.dx,delete p3.dx),r2(p3.dy)&&(o3.dy=p3.dy,delete p3.dy),l3.attr(o3),this.attr({transform:""}),this.box&&(this.box=this.box.destroy());let h4=e6.nodes.slice(0);e6.nodes.length=0,e6.nodes[0]={tagName:"textPath",attributes:n2(p3,{"text-anchor":p3.textAnchor,href:`${i3}#${s3}`}),children:h4}}}));l3.textPath={path:t4,undo:e5}}else l3.attr({dx:0,dy:0}),delete l3.textPath;return this.added&&(l3.textCache="",this.renderer.buildText(l3)),this}function h2(t4){var _a;let e4=t4.bBox,s3=(_a=this.element)==null?void 0:_a.querySelector("textPath");if(s3){let t5=[],{b:o3,h:a3}=this.renderer.fontMetrics(this.element),r3=a3-o3,n3=RegExp('(<tspan>|<tspan(?!\\sclass="highcharts-br")[^>]*>|<\\/tspan>)',"g"),l3=s3.innerHTML.replace(n3,"").split(/<tspan class="highcharts-br"[^>]*>/),h3=l3.length,p3=(t6,e5)=>{let{x:a4,y:n4}=e5,l4=(s3.getRotationOfChar(t6)-90)*i2,h4=Math.cos(l4),p4=Math.sin(l4);return[[a4-r3*h4,n4-r3*p4],[a4+o3*h4,n4+o3*p4]]};for(let e5=0,i3=0;i3<h3;i3++){let o4=l3[i3].length;for(let a4=0;a4<o4;a4+=5)try{let o5=e5+a4+i3,[r4,n4]=p3(o5,s3.getStartPositionOfChar(o5));0===a4?(t5.push(n4),t5.push(r4)):(0===i3&&t5.unshift(n4),i3===h3-1&&t5.push(r4))}catch(t6){break}e5+=o4-1;try{let o5=e5+i3,a4=s3.getEndPositionOfChar(o5),[r4,n4]=p3(o5,a4);t5.unshift(n4),t5.unshift(r4)}catch(t6){break}}t5.length&&t5.push(t5[0].slice()),e4.polygon=t5}return e4}function p2(t4){var _a;let e4=t4.labelOptions,i3=t4.point,s3=e4[i3.formatPrefix+"TextPath"]||e4.textPath;s3&&!e4.useHTML&&(this.setTextPath(((_a=i3.getDataLabelPath)==null?void 0:_a.call(i3,this))||i3.graphic,s3),i3.dataLabelPath&&!s3.enabled&&(i3.dataLabelPath=i3.dataLabelPath.destroy()))}return{compose:function(t4){s2(t4,"afterGetBBox",h2),s2(t4,"beforeAddingDataLabel",p2);let e4=t4.prototype;e4.setTextPath||(e4.setTextPath=l2)}}})),i(e2,"Series/PackedBubble/PackedBubbleSeries.js",[e2["Core/Color/Color.js"],e2["Series/DragNodesComposition.js"],e2["Series/GraphLayoutComposition.js"],e2["Core/Globals.js"],e2["Series/PackedBubble/PackedBubblePoint.js"],e2["Series/PackedBubble/PackedBubbleSeriesDefaults.js"],e2["Series/PackedBubble/PackedBubbleLayout.js"],e2["Core/Series/SeriesRegistry.js"],e2["Series/SimulationSeriesUtilities.js"],e2["Core/Utilities.js"],e2["Core/Renderer/SVG/SVGElement.js"],e2["Extensions/TextPath.js"]],(function(t3,e3,i2,s2,o2,a2,r2,n2,l2,h2,p2,d2){let{parse:c2}=t3,{noop:u2}=s2,{series:{prototype:g2},seriesTypes:{bubble:f2}}=n2,{initDataLabels:b2,initDataLabelsDefer:m2}=l2,{addEvent:y2,clamp:x2,defined:P2,extend:S2,fireEvent:M2,isArray:L2,isNumber:C2,merge:k2,pick:v2}=h2;d2.compose(p2);class A2 extends f2{constructor(){super(...arguments),this.parentNodeMass=0,this.deferDataLabels=true}static compose(t4,i3,s3){f2.compose(t4,i3,s3),e3.compose(i3),r2.compose(i3)}accumulateAllPoints(){let t4;let e4=this.chart,i3=[];for(let s3 of e4.series)if(s3.is("packedbubble")&&s3.reserveSpace()){t4=s3.yData||[];for(let e5=0;e5<t4.length;e5++)i3.push([null,null,t4[e5],s3.index,e5,{id:e5,marker:{radius:0}}])}return i3}addLayout(){let t4=this.options.layoutAlgorithm=this.options.layoutAlgorithm||{},e4=t4.type||"packedbubble",s3=this.chart.options.chart,o3=this.chart.graphLayoutsStorage,a3=this.chart.graphLayoutsLookup,r3;o3||(this.chart.graphLayoutsStorage=o3={},this.chart.graphLayoutsLookup=a3=[]),(r3=o3[e4])||(t4.enableSimulation=P2(s3.forExport)?!s3.forExport:t4.enableSimulation,o3[e4]=r3=new i2.layouts[e4],r3.init(t4),a3.splice(r3.index,0,r3)),this.layout=r3,this.points.forEach((t5=>{t5.mass=2,t5.degree=1,t5.collisionNmb=1})),r3.setArea(0,0,this.chart.plotWidth,this.chart.plotHeight),r3.addElementsToCollection([this],r3.series),r3.addElementsToCollection(this.points,r3.nodes)}addSeriesLayout(){let t4=this.options.layoutAlgorithm=this.options.layoutAlgorithm||{},e4=t4.type||"packedbubble",s3=this.chart.graphLayoutsStorage,o3=this.chart.graphLayoutsLookup,a3=k2(t4,t4.parentNodeOptions,{enableSimulation:this.layout.options.enableSimulation}),r3=s3[e4+"-series"];r3||(s3[e4+"-series"]=r3=new i2.layouts[e4],r3.init(a3),o3.splice(r3.index,0,r3)),this.parentNodeLayout=r3,this.createParentNodes()}calculateParentRadius(){let t4=this.seriesBox();this.parentNodeRadius=x2(Math.sqrt(2*this.parentNodeMass/Math.PI)+20,20,t4?Math.max(Math.sqrt(Math.pow(t4.width,2)+Math.pow(t4.height,2))/2+20,20):Math.sqrt(2*this.parentNodeMass/Math.PI)+20),this.parentNode&&(this.parentNode.marker.radius=this.parentNode.radius=this.parentNodeRadius)}calculateZExtremes(){let t4=this.chart.series,e4=this.options.zMin,i3=this.options.zMax,s3=1/0,o3=-1/0;return e4&&i3?[e4,i3]:(t4.forEach((t5=>{t5.yData.forEach((t6=>{P2(t6)&&(t6>o3&&(o3=t6),t6<s3&&(s3=t6))}))})),[e4=v2(e4,s3),i3=v2(i3,o3)])}checkOverlap(t4,e4){let i3=t4[0]-e4[0],s3=t4[1]-e4[1];return Math.sqrt(i3*i3+s3*s3)-Math.abs(t4[2]+e4[2])<-.001}createParentNodes(){let t4=this.pointClass,e4=this.chart,i3=this.parentNodeLayout,s3=this.layout.options,o3,a3=this.parentNode,r3={radius:this.parentNodeRadius,lineColor:this.color,fillColor:c2(this.color).brighten(.4).get()};s3.parentNodeOptions&&(r3=k2(s3.parentNodeOptions.marker||{},r3)),this.parentNodeMass=0,this.points.forEach((t5=>{this.parentNodeMass+=Math.PI*Math.pow(t5.marker.radius,2)})),this.calculateParentRadius(),i3.nodes.forEach((t5=>{t5.seriesIndex===this.index&&(o3=true)})),i3.setArea(0,0,e4.plotWidth,e4.plotHeight),o3||(a3||(a3=new t4(this,{mass:this.parentNodeRadius/2,marker:r3,dataLabels:{inside:false},states:{normal:{marker:r3},hover:{marker:r3}},dataLabelOnNull:true,degree:this.parentNodeRadius,isParentNode:true,seriesIndex:this.index})),this.parentNode&&(a3.plotX=this.parentNode.plotX,a3.plotY=this.parentNode.plotY),this.parentNode=a3,i3.addElementsToCollection([this],i3.series),i3.addElementsToCollection([a3],i3.nodes))}deferLayout(){let t4=this.options.layoutAlgorithm;this.visible&&(this.addLayout(),t4.splitSeries&&this.addSeriesLayout())}destroy(){this.chart.graphLayoutsLookup&&this.chart.graphLayoutsLookup.forEach((t4=>{t4.removeElementFromCollection(this,t4.series)}),this),this.parentNode&&this.parentNodeLayout&&(this.parentNodeLayout.removeElementFromCollection(this.parentNode,this.parentNodeLayout.nodes),this.parentNode.dataLabel&&(this.parentNode.dataLabel=this.parentNode.dataLabel.destroy())),g2.destroy.apply(this,arguments)}drawDataLabels(){!this.deferDataLabels&&(g2.drawDataLabels.call(this,this.points),this.parentNode&&(this.parentNode.formatPrefix="parentNode",g2.drawDataLabels.call(this,[this.parentNode])))}drawGraph(){var _a;if(!this.layout||!this.layout.options.splitSeries)return;let t4=this.chart,e4=this.layout.options.parentNodeOptions.marker,i3={fill:e4.fillColor||c2(this.color).brighten(.4).get(),opacity:e4.fillOpacity,stroke:e4.lineColor||this.color,"stroke-width":v2(e4.lineWidth,this.options.lineWidth)},s3={};this.parentNodesGroup=this.plotGroup("parentNodesGroup","parentNode",this.visible?"inherit":"hidden",.1,t4.seriesGroup),(_a=this.group)==null?void 0:_a.attr({zIndex:2}),this.calculateParentRadius(),this.parentNode&&P2(this.parentNode.plotX)&&P2(this.parentNode.plotY)&&P2(this.parentNodeRadius)&&(s3=k2({x:this.parentNode.plotX-this.parentNodeRadius,y:this.parentNode.plotY-this.parentNodeRadius,width:2*this.parentNodeRadius,height:2*this.parentNodeRadius},i3),this.parentNode.graphic||(this.graph=this.parentNode.graphic=t4.renderer.symbol(i3.symbol).add(this.parentNodesGroup)),this.parentNode.graphic.attr(s3))}drawTracker(){let t4;let e4=this.parentNode;super.drawTracker(),e4&&(t4=L2(e4.dataLabels)?e4.dataLabels:e4.dataLabel?[e4.dataLabel]:[],e4.graphic&&(e4.graphic.element.point=e4),t4.forEach((t5=>{(t5.div||t5.element).point=e4})))}getPointRadius(){let t4,e4,i3,s3;let o3=this.chart,a3=o3.plotWidth,r3=o3.plotHeight,n3=this.options,l3=n3.useSimulation,h3=Math.min(a3,r3),p3={},d3=[],c3=o3.allDataPoints||[],u3=c3.length;["minSize","maxSize"].forEach((t5=>{let e5=parseInt(n3[t5],10),i4=/%$/.test(n3[t5]);p3[t5]=i4?h3*e5/100:e5*Math.sqrt(u3)})),o3.minRadius=t4=p3.minSize/Math.sqrt(u3),o3.maxRadius=e4=p3.maxSize/Math.sqrt(u3);let g3=l3?this.calculateZExtremes():[t4,e4];c3.forEach(((o4,a4)=>{i3=l3?x2(o4[2],g3[0],g3[1]):o4[2],0===(s3=this.getRadius(g3[0],g3[1],t4,e4,i3))&&(s3=null),c3[a4][2]=s3,d3.push(s3)})),this.radii=d3}init(){return g2.init.apply(this,arguments),m2.call(this),this.eventsToUnbind.push(y2(this,"updatedData",(function(){this.chart.series.forEach((t4=>{t4.type===this.type&&(t4.isDirty=true)}),this)}))),this}onMouseUp(t4){if(t4.fixedPosition&&!t4.removed){let i3;let s3=this.layout,o3=this.parentNodeLayout;o3&&s3.options.dragBetweenSeries&&o3.nodes.forEach((e4=>{t4&&t4.marker&&e4!==t4.series.parentNode&&(i3=s3.getDistXY(t4,e4),s3.vectorLength(i3)-e4.marker.radius-t4.marker.radius<0&&(e4.series.addPoint(k2(t4.options,{plotX:t4.plotX,plotY:t4.plotY}),false),s3.removeElementFromCollection(t4,s3.nodes),t4.remove()))})),e3.onMouseUp.apply(this,arguments)}}placeBubbles(t4){let e4=this.checkOverlap,i3=this.positionBubble,s3=[],o3=1,a3=0,r3=0,n3,l3=[],h3,p3=t4.sort(((t5,e5)=>e5[2]-t5[2]));if(p3.length){if(s3.push([[0,0,p3[0][2],p3[0][3],p3[0][4]]]),p3.length>1)for(s3.push([[0,0-p3[1][2]-p3[0][2],p3[1][2],p3[1][3],p3[1][4]]]),h3=2;h3<p3.length;h3++)p3[h3][2]=p3[h3][2]||1,e4(n3=i3(s3[o3][a3],s3[o3-1][r3],p3[h3]),s3[o3][0])?(s3.push([]),r3=0,s3[o3+1].push(i3(s3[o3][a3],s3[o3][0],p3[h3])),o3++,a3=0):o3>1&&s3[o3-1][r3+1]&&e4(n3,s3[o3-1][r3+1])?(r3++,s3[o3].push(i3(s3[o3][a3],s3[o3-1][r3],p3[h3])),a3++):(a3++,s3[o3].push(n3));this.chart.stages=s3,this.chart.rawPositions=[].concat.apply([],s3),this.resizeRadius(),l3=this.chart.rawPositions}return l3}pointAttribs(t4,e4){let i3=this.options,s3=t4&&t4.isParentNode,o3=i3.marker;s3&&i3.layoutAlgorithm&&i3.layoutAlgorithm.parentNodeOptions&&(o3=i3.layoutAlgorithm.parentNodeOptions.marker);let a3=o3.fillOpacity,r3=g2.pointAttribs.call(this,t4,e4);return 1!==a3&&(r3["fill-opacity"]=a3),r3}positionBubble(t4,e4,i3){let s3=Math.asin,o3=Math.acos,a3=Math.pow,r3=Math.abs,n3=(0,Math.sqrt)(a3(t4[0]-e4[0],2)+a3(t4[1]-e4[1],2)),l3=o3((a3(n3,2)+a3(i3[2]+e4[2],2)-a3(i3[2]+t4[2],2))/(2*(i3[2]+e4[2])*n3)),h3=s3(r3(t4[0]-e4[0])/n3),p3=(t4[1]-e4[1]<0?0:Math.PI)+l3+h3*((t4[0]-e4[0])*(t4[1]-e4[1])<0?1:-1),d3=Math.cos(p3),c3=Math.sin(p3);return[e4[0]+(e4[2]+i3[2])*c3,e4[1]-(e4[2]+i3[2])*d3,i3[2],i3[3],i3[4]]}render(){let t4=[];g2.render.apply(this,arguments),!this.options.dataLabels.allowOverlap&&(this.data.forEach((e4=>{L2(e4.dataLabels)&&e4.dataLabels.forEach((e5=>{t4.push(e5)}))})),this.options.useSimulation&&this.chart.hideOverlappingLabels(t4))}resizeRadius(){let t4,e4,i3,s3,o3;let a3=this.chart,r3=a3.rawPositions,n3=Math.min,l3=Math.max,h3=a3.plotLeft,p3=a3.plotTop,d3=a3.plotHeight,c3=a3.plotWidth;for(let a4 of(t4=i3=Number.POSITIVE_INFINITY,e4=s3=Number.NEGATIVE_INFINITY,r3))o3=a4[2],t4=n3(t4,a4[0]-o3),e4=l3(e4,a4[0]+o3),i3=n3(i3,a4[1]-o3),s3=l3(s3,a4[1]+o3);let u3=[e4-t4,s3-i3],g3=[(c3-h3)/u3[0],(d3-p3)/u3[1]],f3=n3.apply([],g3);if(Math.abs(f3-1)>1e-10){for(let t5 of r3)t5[2]*=f3;this.placeBubbles(r3)}else a3.diffY=d3/2+p3-i3-(s3-i3)/2,a3.diffX=c3/2+h3-t4-(e4-t4)/2}seriesBox(){let t4;let e4=this.chart,i3=this.data,s3=Math.max,o3=Math.min,a3=[e4.plotLeft,e4.plotLeft+e4.plotWidth,e4.plotTop,e4.plotTop+e4.plotHeight];return i3.forEach((e5=>{P2(e5.plotX)&&P2(e5.plotY)&&e5.marker.radius&&(t4=e5.marker.radius,a3[0]=o3(a3[0],e5.plotX-t4),a3[1]=s3(a3[1],e5.plotX+t4),a3[2]=o3(a3[2],e5.plotY-t4),a3[3]=s3(a3[3],e5.plotY+t4))})),C2(a3.width/a3.height)?a3:null}setVisible(){let t4=this;g2.setVisible.apply(t4,arguments),t4.parentNodeLayout&&t4.graph?t4.visible?(t4.graph.show(),t4.parentNode.dataLabel&&t4.parentNode.dataLabel.show()):(t4.graph.hide(),t4.parentNodeLayout.removeElementFromCollection(t4.parentNode,t4.parentNodeLayout.nodes),t4.parentNode.dataLabel&&t4.parentNode.dataLabel.hide()):t4.layout&&(t4.visible?t4.layout.addElementsToCollection(t4.points,t4.layout.nodes):t4.points.forEach((e4=>{t4.layout.removeElementFromCollection(e4,t4.layout.nodes)})))}translate(){let t4,e4,i3;let s3=this.chart,o3=this.data,a3=this.index,r3=this.options.useSimulation;for(let n3 of(this.processedXData=this.xData,this.generatePoints(),P2(s3.allDataPoints)||(s3.allDataPoints=this.accumulateAllPoints(),this.getPointRadius()),r3?i3=s3.allDataPoints:(i3=this.placeBubbles(s3.allDataPoints),this.options.draggable=false),i3))n3[3]===a3&&(t4=o3[n3[4]],e4=v2(n3[2],void 0),r3||(t4.plotX=n3[0]-s3.plotLeft+s3.diffX,t4.plotY=n3[1]-s3.plotTop+s3.diffY),C2(e4)&&(t4.marker=S2(t4.marker,{radius:e4,width:2*e4,height:2*e4}),t4.radius=e4));r3&&this.deferLayout(),M2(this,"afterTranslate")}}return A2.defaultOptions=k2(f2.defaultOptions,a2),S2(A2.prototype,{pointClass:o2,axisTypes:[],directTouch:true,forces:["barycenter","repulsive"],hasDraggableNodes:true,invertible:false,isCartesian:false,noSharedTooltip:true,pointArrayMap:["value"],pointValKey:"value",requireSorting:false,trackerGroups:["group","dataLabelsGroup","parentNodesGroup"],initDataLabels:b2,alignDataLabel:g2.alignDataLabel,indexateNodes:u2,onMouseDown:e3.onMouseDown,onMouseMove:e3.onMouseMove,redrawHalo:e3.redrawHalo,searchPoint:u2}),n2.registerSeriesType("packedbubble",A2),A2})),i(e2,"Series/Polygon/PolygonSeriesDefaults.js",[],(function(){return{marker:{enabled:false,states:{hover:{enabled:false}}},stickyTracking:false,tooltip:{followPointer:true,pointFormat:""},trackByArea:true,legendSymbol:"rectangle"}})),i(e2,"Series/Polygon/PolygonSeries.js",[e2["Core/Globals.js"],e2["Series/Polygon/PolygonSeriesDefaults.js"],e2["Core/Series/SeriesRegistry.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2,s2){let{noop:o2}=t3,{area:a2,line:r2,scatter:n2}=i2.seriesTypes,{extend:l2,merge:h2}=s2;class p2 extends n2{getGraphPath(){let t4=r2.prototype.getGraphPath.call(this),e4=t4.length+1;for(;e4--;)(e4===t4.length||"M"===t4[e4][0])&&e4>0&&t4.splice(e4,0,["Z"]);return this.areaPath=t4,t4}drawGraph(){this.options.fillColor=this.color,a2.prototype.drawGraph.call(this)}}return p2.defaultOptions=h2(n2.defaultOptions,e3),l2(p2.prototype,{type:"polygon",drawTracker:r2.prototype.drawTracker,setStackedPoints:o2}),i2.registerSeriesType("polygon",p2),p2})),i(e2,"Core/Axis/RadialAxisDefaults.js",[],(function(){return{circular:{gridLineWidth:1,labels:{align:void 0,x:0,y:void 0,style:{textOverflow:"none"}},maxPadding:0,minPadding:0,showLastLabel:false,tickLength:0},radial:{gridLineInterpolation:"circle",gridLineWidth:1,labels:{align:"right",padding:5,x:-3,y:-2},showLastLabel:false,title:{x:4,text:null,rotation:90}},radialGauge:{endOnTick:false,gridLineWidth:0,labels:{align:"center",distance:-25,x:0,y:void 0},lineWidth:1,minorGridLineWidth:0,minorTickInterval:"auto",minorTickLength:10,minorTickPosition:"inside",minorTickWidth:1,startOnTick:false,tickLength:10,tickPixelInterval:100,tickPosition:"inside",tickWidth:2,title:{rotation:0,text:""},zIndex:2}}})),i(e2,"Core/Axis/RadialAxis.js",[e2["Core/Axis/RadialAxisDefaults.js"],e2["Core/Defaults.js"],e2["Core/Globals.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2,s2){var o2;let{defaultOptions:a2}=e3,{composed:r2,noop:n2}=i2,{addEvent:l2,correctFloat:h2,defined:p2,extend:d2,fireEvent:c2,isObject:u2,merge:g2,pick:f2,pushUnique:b2,relativeLength:m2,wrap:y2}=s2;return function(e4){function s3(){this.autoConnect=this.isCircular&&void 0===f2(this.userMax,this.options.max)&&h2(this.endAngleRad-this.startAngleRad)===h2(2*Math.PI),!this.isCircular&&this.chart.inverted&&this.max++,this.autoConnect&&(this.max+=this.categories&&1||this.pointRange||this.closestPointRange||0)}function o3(){return()=>{if(this.isRadial&&this.tickPositions&&this.options.labels&&true!==this.options.labels.allowOverlap)return this.tickPositions.map((t4=>this.ticks[t4]&&this.ticks[t4].label)).filter((t4=>!!t4))}}function x2(){return n2}function P2(t4,e5,i3){let s4=this.pane.center,o4=t4.value,a3,r3,n3;return this.isCircular?(p2(o4)?t4.point&&(t4.point.shapeArgs||{}).start&&(o4=this.chart.inverted?this.translate(t4.point.rectPlotY,true):t4.point.x):(r3=t4.chartX||0,n3=t4.chartY||0,o4=this.translate(Math.atan2(n3-i3,r3-e5)-this.startAngleRad,true)),r3=(a3=this.getPosition(o4)).x,n3=a3.y):(p2(o4)||(r3=t4.chartX,n3=t4.chartY),p2(r3)&&p2(n3)&&(i3=s4[1]+this.chart.plotTop,o4=this.translate(Math.min(Math.sqrt(Math.pow(r3-e5,2)+Math.pow(n3-i3,2)),s4[2]/2)-s4[3]/2,true))),[o4,r3||0,n3||0]}function S2(t4,e5,i3){let s4=this.pane.center,o4=this.chart,a3=this.left||0,r3=this.top||0,n3,l3=f2(e5,s4[2]/2-this.offset),h3;return void 0===i3&&(i3=this.horiz?0:this.center&&-this.center[3]/2),i3&&(l3+=i3),this.isCircular||void 0!==e5?((h3=this.chart.renderer.symbols.arc(a3+s4[0],r3+s4[1],l3,l3,{start:this.startAngleRad,end:this.endAngleRad,open:true,innerR:0})).xBounds=[a3+s4[0]],h3.yBounds=[r3+s4[1]-l3]):(n3=this.postTranslate(this.angleRad,l3),h3=[["M",this.center[0]+o4.plotLeft,this.center[1]+o4.plotTop],["L",n3.x,n3.y]]),h3}function M2(){this.constructor.prototype.getOffset.call(this),this.chart.axisOffset[this.side]=0}function L2(t4,e5,i3){let s4=this.chart,o4=t5=>{if("string"==typeof t5){let e6=parseInt(t5,10);return d3.test(t5)&&(e6=e6*n3/100),e6}return t5},a3=this.center,r3=this.startAngleRad,n3=a3[2]/2,l3=Math.min(this.offset,0),h3=this.left||0,p3=this.top||0,d3=/%$/,c3=this.isCircular,u3,g3,b3,m3,y3,x3,P3=f2(o4(i3.outerRadius),n3),S3=o4(i3.innerRadius),M3=f2(o4(i3.thickness),10);if("polygon"===this.options.gridLineInterpolation)x3=this.getPlotLinePath({value:t4}).concat(this.getPlotLinePath({value:e5,reverse:true}));else{t4=Math.max(t4,this.min),e5=Math.min(e5,this.max);let o5=this.translate(t4),n4=this.translate(e5);c3||(P3=o5||0,S3=n4||0),"circle"!==i3.shape&&c3?(u3=r3+(o5||0),g3=r3+(n4||0)):(u3=-Math.PI/2,g3=1.5*Math.PI,y3=true),P3-=l3,M3-=l3,x3=s4.renderer.symbols.arc(h3+a3[0],p3+a3[1],P3,P3,{start:Math.min(u3,g3),end:Math.max(u3,g3),innerR:f2(S3,P3-M3),open:y3,borderRadius:i3.borderRadius}),c3&&(b3=(g3+u3)/2,m3=h3+a3[0]+a3[2]/2*Math.cos(b3),x3.xBounds=b3>-Math.PI/2&&b3<Math.PI/2?[m3,s4.plotWidth]:[0,m3],x3.yBounds=[p3+a3[1]+a3[2]/2*Math.sin(b3)],x3.yBounds[0]+=b3>-Math.PI&&b3<0||b3>Math.PI?-10:10)}return x3}function C2(t4){let e5=this.pane.center,i3=this.chart,s4=i3.inverted,o4=t4.reverse,a3=this.pane.options.background?this.pane.options.background[0]||this.pane.options.background:{},r3=a3.innerRadius||"0%",n3=a3.outerRadius||"100%",l3=e5[0]+i3.plotLeft,h3=e5[1]+i3.plotTop,p3=this.height,d3=t4.isCrosshair,c3=e5[3]/2,u3=t4.value,g3,f3,b3,y3,x3,P3,S3,M3,L3,C3=this.getPosition(u3),k3=C3.x,v3=C3.y;if(d3&&(u3=(M3=this.getCrosshairPosition(t4,l3,h3))[0],k3=M3[1],v3=M3[2]),this.isCircular)f3=Math.sqrt(Math.pow(k3-l3,2)+Math.pow(v3-h3,2)),b3="string"==typeof r3?m2(r3,1):r3/f3,y3="string"==typeof n3?m2(n3,1):n3/f3,e5&&c3&&(b3<(g3=c3/f3)&&(b3=g3),y3<g3&&(y3=g3)),L3=[["M",l3+b3*(k3-l3),h3-b3*(h3-v3)],["L",k3-(1-y3)*(k3-l3),v3+(1-y3)*(h3-v3)]];else if((u3=this.translate(u3))&&(u3<0||u3>p3)&&(u3=0),"circle"===this.options.gridLineInterpolation)L3=this.getLinePath(0,u3,c3);else if(L3=[],i3[s4?"yAxis":"xAxis"].forEach((t5=>{t5.pane===this.pane&&(x3=t5)})),x3){S3=x3.tickPositions,x3.autoConnect&&(S3=S3.concat([S3[0]])),o4&&(S3=S3.slice().reverse()),u3&&(u3+=c3);for(let t5=0;t5<S3.length;t5++)P3=x3.getPosition(S3[t5],u3),L3.push(t5?["L",P3.x,P3.y]:["M",P3.x,P3.y])}return L3}function k2(t4,e5){let i3=this.translate(t4);return this.postTranslate(this.isCircular?i3:this.angleRad,f2(this.isCircular?e5:i3<0?0:i3,this.center[2]/2)-this.offset)}function v2(){let t4=this.center,e5=this.chart,i3=this.options.title;return{x:e5.plotLeft+t4[0]+(i3.x||0),y:e5.plotTop+t4[1]-{high:.5,middle:.25,low:0}[i3.align]*t4[2]+(i3.y||0)}}function A2(t4){t4.beforeSetTickPositions=s3,t4.createLabelCollector=o3,t4.getCrosshairPosition=P2,t4.getLinePath=S2,t4.getOffset=M2,t4.getPlotBandPath=L2,t4.getPlotLinePath=C2,t4.getPosition=k2,t4.getTitlePosition=v2,t4.postTranslate=D2,t4.setAxisSize=B2,t4.setAxisTranslation=z2,t4.setOptions=O2}function w2(){let t4=this.chart,e5=this.options,i3=t4.angular&&this.isXAxis,s4=this.pane,o4=s4&&s4.options;if(!i3&&s4&&(t4.angular||t4.polar)){let t5=2*Math.PI,i4=(f2(o4.startAngle,0)-90)*Math.PI/180,s5=(f2(o4.endAngle,f2(o4.startAngle,0)+360)-90)*Math.PI/180;this.angleRad=(e5.angle||0)*Math.PI/180,this.startAngleRad=i4,this.endAngleRad=s5,this.offset=e5.offset||0;let a3=(i4%t5+t5)%t5,r3=(s5%t5+t5)%t5;a3>Math.PI&&(a3-=t5),r3>Math.PI&&(r3-=t5),this.normalizedStartAngleRad=a3,this.normalizedEndAngleRad=r3}}function T2(t4){this.isRadial&&(t4.align=void 0,t4.preventDefault())}function N2(){if(this.chart&&this.chart.labelCollectors){let t4=this.labelCollector?this.chart.labelCollectors.indexOf(this.labelCollector):-1;t4>=0&&this.chart.labelCollectors.splice(t4,1)}}function X2(t4){let e5;let i3=this.chart,s4=i3.angular,o4=i3.polar,a3=this.isXAxis,r3=this.coll,l3=t4.userOptions.pane||0,h3=this.pane=i3.pane&&i3.pane[l3];if("colorAxis"===r3){this.isRadial=false;return}s4?(s4&&a3?(this.isHidden=true,this.createLabelCollector=x2,this.getOffset=n2,this.redraw=E2,this.render=E2,this.setScale=n2,this.setCategories=n2,this.setTitle=n2):A2(this),e5=!a3):o4&&(A2(this),e5=this.horiz),s4||o4?(this.isRadial=true,this.labelCollector||(this.labelCollector=this.createLabelCollector()),this.labelCollector&&i3.labelCollectors.push(this.labelCollector)):this.isRadial=false,h3&&e5&&(h3.axis=this),this.isCircular=e5}function R2(){this.isRadial&&this.beforeSetTickPositions()}function Y2(t4){let e5=this.label;if(!e5)return;let i3=this.axis,s4=e5.getBBox(),o4=i3.options.labels,a3=(i3.translate(this.pos)+i3.startAngleRad+Math.PI/2)/Math.PI*180%360,r3=Math.round(a3),n3=p2(o4.y)?0:-(.3*s4.height),l3=o4.y,h3,d3=20,c3=o4.align,u3="end",g3=r3<0?r3+360:r3,b3=g3,y3=0,x3=0;i3.isRadial&&(h3=i3.getPosition(this.pos,i3.center[2]/2+m2(f2(o4.distance,-25),i3.center[2]/2,-i3.center[2]/2)),"auto"===o4.rotation?e5.attr({rotation:a3}):p2(l3)||(l3=i3.chart.renderer.fontMetrics(e5).b-s4.height/2),p2(c3)||(i3.isCircular?(s4.width>i3.len*i3.tickInterval/(i3.max-i3.min)&&(d3=0),c3=a3>d3&&a3<180-d3?"left":a3>180+d3&&a3<360-d3?"right":"center"):c3="center",e5.attr({align:c3})),"auto"===c3&&2===i3.tickPositions.length&&i3.isCircular&&(g3>90&&g3<180?g3=180-g3:g3>270&&g3<=360&&(g3=540-g3),b3>180&&b3<=360&&(b3=360-b3),(i3.pane.options.startAngle===r3||i3.pane.options.startAngle===r3+360||i3.pane.options.startAngle===r3-360)&&(u3="start"),c3=r3>=-90&&r3<=90||r3>=-360&&r3<=-270||r3>=270&&r3<=360?"start"===u3?"right":"left":"start"===u3?"left":"right",b3>70&&b3<110&&(c3="center"),g3<15||g3>=180&&g3<195?y3=.3*s4.height:g3>=15&&g3<=35?y3="start"===u3?0:.75*s4.height:g3>=195&&g3<=215?y3="start"===u3?.75*s4.height:0:g3>35&&g3<=90?y3="start"===u3?-(.25*s4.height):s4.height:g3>215&&g3<=270&&(y3="start"===u3?s4.height:-(.25*s4.height)),b3<15?x3="start"===u3?-(.15*s4.height):.15*s4.height:b3>165&&b3<=180&&(x3="start"===u3?.15*s4.height:-(.15*s4.height)),e5.attr({align:c3}),e5.translate(x3,y3+n3)),t4.pos.x=h3.x+(o4.x||0),t4.pos.y=h3.y+(l3||0))}function j(t4){this.axis.getPosition&&d2(t4.pos,this.axis.getPosition(this.pos))}function I2({options:t4}){t4.xAxis&&g2(true,e4.radialDefaultOptions.circular,t4.xAxis),t4.yAxis&&g2(true,e4.radialDefaultOptions.radialGauge,t4.yAxis)}function D2(t4,e5){let i3=this.chart,s4=this.center;return t4=this.startAngleRad+t4,{x:i3.plotLeft+s4[0]+Math.cos(t4)*e5,y:i3.plotTop+s4[1]+Math.sin(t4)*e5}}function E2(){this.isDirty=false}function B2(){let t4,e5;this.constructor.prototype.setAxisSize.call(this),this.isRadial&&(this.pane.updateCenter(this),t4=this.center=this.pane.center.slice(),this.isCircular?this.sector=this.endAngleRad-this.startAngleRad:(e5=this.postTranslate(this.angleRad,t4[3]/2),t4[0]=e5.x-this.chart.plotLeft,t4[1]=e5.y-this.chart.plotTop),this.len=this.width=this.height=(t4[2]-t4[3])*f2(this.sector,1)/2)}function z2(){this.constructor.prototype.setAxisTranslation.call(this),this.center&&(this.isCircular?this.transA=(this.endAngleRad-this.startAngleRad)/(this.max-this.min||1):this.transA=(this.center[2]-this.center[3])/2/(this.max-this.min||1),this.isXAxis?this.minPixelPadding=this.transA*this.minPointOffset:this.minPixelPadding=0)}function O2(t4){let{coll:i3}=this,{angular:s4,inverted:o4,polar:r3}=this.chart,n3={};s4?this.isXAxis||(n3=g2(a2.yAxis,e4.radialDefaultOptions.radialGauge)):r3&&(n3=this.horiz?g2(a2.xAxis,e4.radialDefaultOptions.circular):g2("xAxis"===i3?a2.xAxis:a2.yAxis,e4.radialDefaultOptions.radial)),o4&&"yAxis"===i3&&(n3.stackLabels=u2(a2.yAxis,true)?a2.yAxis.stackLabels:{},n3.reversedStacks=true);let l3=this.options=g2(n3,t4);l3.plotBands||(l3.plotBands=[]),c2(this,"afterSetOptions")}function W2(t4,e5,i3,s4,o4,a3,r3){let n3;let l3=this.axis;return l3.isRadial?["M",e5,i3,"L",(n3=l3.getPosition(this.pos,l3.center[2]/2+s4)).x,n3.y]:t4.call(this,e5,i3,s4,o4,a3,r3)}e4.radialDefaultOptions=g2(t3),e4.compose=function(t4,e5){return b2(r2,"Axis.Radial")&&(l2(t4,"afterInit",w2),l2(t4,"autoLabelAlign",T2),l2(t4,"destroy",N2),l2(t4,"init",X2),l2(t4,"initialAxisTranslation",R2),l2(e5,"afterGetLabelPosition",Y2),l2(e5,"afterGetPosition",j),l2(i2,"setOptions",I2),y2(e5.prototype,"getMarkPath",W2)),t4}}(o2||(o2={})),o2})),i(e2,"Series/PolarComposition.js",[e2["Core/Animation/AnimationUtilities.js"],e2["Core/Globals.js"],e2["Core/Series/Series.js"],e2["Extensions/Pane/Pane.js"],e2["Core/Axis/RadialAxis.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2,s2,o2,a2){let{animObject:r2}=t3,{composed:n2}=e3,{addEvent:l2,defined:h2,find:p2,isNumber:d2,merge:c2,pick:u2,pushUnique:g2,relativeLength:f2,splat:b2,uniqueKey:m2,wrap:y2}=a2;function x2(){(this.pane||[]).forEach((t4=>{t4.render()}))}function P2(t4){let e4=t4.args[0].xAxis,i3=t4.args[0].yAxis,s3=t4.args[0].chart;e4&&i3&&("polygon"===i3.gridLineInterpolation?(e4.startOnTick=true,e4.endOnTick=true):"polygon"===e4.gridLineInterpolation&&s3.inverted&&(i3.startOnTick=true,i3.endOnTick=true))}function S2(){this.pane||(this.pane=[]),this.options.pane=b2(this.options.pane),this.options.pane.forEach((t4=>{new s2(t4,this)}),this)}function M2(t4){let e4=t4.args.marker,i3=this.chart.xAxis[0],s3=this.chart.yAxis[0],o3=this.chart.inverted,a3=o3?s3:i3,r3=o3?i3:s3;if(this.chart.polar){t4.preventDefault();let i4=(e4.attr?e4.attr("start"):e4.start)-a3.startAngleRad,s4=e4.attr?e4.attr("r"):e4.r,o4=(e4.attr?e4.attr("end"):e4.end)-a3.startAngleRad,n3=e4.attr?e4.attr("innerR"):e4.innerR;t4.result.x=i4+a3.pos,t4.result.width=o4-i4,t4.result.y=r3.len+r3.pos-s4,t4.result.height=s4-n3}}function L2(t4){let e4=this.chart;if(e4.polar&&e4.hoverPane&&e4.hoverPane.axis){t4.preventDefault();let i3=e4.hoverPane.center,s3=e4.mouseDownX||0,o3=e4.mouseDownY||0,a3=t4.args.chartY,r3=t4.args.chartX,n3=2*Math.PI,l3=e4.hoverPane.axis.startAngleRad,h3=e4.hoverPane.axis.endAngleRad,p3=e4.inverted?e4.xAxis[0]:e4.yAxis[0],d3={},c3="arc";if(d3.x=i3[0]+e4.plotLeft,d3.y=i3[1]+e4.plotTop,this.zoomHor){let t5=l3>0?h3-l3:Math.abs(l3)+Math.abs(h3),u3=Math.atan2(o3-e4.plotTop-i3[1],s3-e4.plotLeft-i3[0])-l3,g3=Math.atan2(a3-e4.plotTop-i3[1],r3-e4.plotLeft-i3[0])-l3;d3.r=i3[2]/2,d3.innerR=i3[3]/2,u3<=0&&(u3+=n3),g3<=0&&(g3+=n3),g3<u3&&(g3=[u3,u3=g3][0]),t5<n3&&l3+g3>h3+(n3-t5)/2&&(g3=u3,u3=l3<=0?l3:0);let f3=d3.start=Math.max(u3+l3,l3),b3=d3.end=Math.min(g3+l3,h3);if("polygon"===p3.options.gridLineInterpolation){let t6=e4.hoverPane.axis,s4=f3-t6.startAngleRad+t6.pos,o4=p3.getPlotLinePath({value:p3.max}),a4=t6.toValue(s4),r4=t6.toValue(s4+(b3-f3));if(a4<t6.getExtremes().min){let{min:e5,max:i4}=t6.getExtremes();a4=i4-(e5-a4)}if(r4<t6.getExtremes().min){let{min:e5,max:i4}=t6.getExtremes();r4=i4-(e5-r4)}r4<a4&&(r4=[a4,a4=r4][0]),(o4=A2(o4,a4,r4,t6)).push(["L",i3[0]+e4.plotLeft,e4.plotTop+i3[1]]),d3.d=o4,c3="path"}}if(this.zoomVert){let t5=e4.inverted?e4.xAxis[0]:e4.yAxis[0],n4=Math.sqrt(Math.pow(s3-e4.plotLeft-i3[0],2)+Math.pow(o3-e4.plotTop-i3[1],2)),p4=Math.sqrt(Math.pow(r3-e4.plotLeft-i3[0],2)+Math.pow(a3-e4.plotTop-i3[1],2));if(p4<n4&&(n4=[p4,p4=n4][0]),p4>i3[2]/2&&(p4=i3[2]/2),n4<i3[3]/2&&(n4=i3[3]/2),this.zoomHor||(d3.start=l3,d3.end=h3),d3.r=p4,d3.innerR=n4,"polygon"===t5.options.gridLineInterpolation){let e5=t5.toValue(t5.len+t5.pos-n4),i4=t5.toValue(t5.len+t5.pos-p4),s4=t5.getPlotLinePath({value:i4}).concat(t5.getPlotLinePath({value:e5,reverse:true}));d3.d=s4,c3="path"}}if(this.zoomHor&&this.zoomVert&&"polygon"===p3.options.gridLineInterpolation){let t5=e4.hoverPane.axis,i4=d3.start||0,s4=d3.end||0,o4=i4-t5.startAngleRad+t5.pos,a4=t5.toValue(o4),r4=t5.toValue(o4+(s4-i4));if(d3.d instanceof Array){let t6=d3.d.slice(0,d3.d.length/2),i5=d3.d.slice(d3.d.length/2,d3.d.length);i5=[...i5].reverse();let s5=e4.hoverPane.axis;t6=A2(t6,a4,r4,s5),(i5=A2(i5,a4,r4,s5))&&(i5[0][0]="L"),i5=[...i5].reverse(),d3.d=t6.concat(i5),c3="path"}}t4.attrs=d3,t4.shapeType=c3}}function C2(){let t4=this.chart;t4.polar&&(this.polar=new E2(this),t4.inverted&&(this.isRadialSeries=true,this.is("column")&&(this.isRadialBar=true)))}function k2(){if(this.chart.polar&&this.xAxis){let{xAxis:t4,yAxis:i3}=this,s3=this.chart;this.kdByAngle=s3.tooltip&&s3.tooltip.shared,this.kdByAngle||s3.inverted?this.searchPoint=v2:this.options.findNearestPointBy="xy";let o3=this.points,a3=o3.length;for(;a3--;)this.is("column")||this.is("columnrange")||this.polar.toXY(o3[a3]),s3.hasParallelCoordinates||this.yAxis.reversed||(u2(o3[a3].y,Number.MIN_VALUE)<i3.min||o3[a3].x<t4.min||o3[a3].x>t4.max?(o3[a3].isNull=true,o3[a3].plotY=NaN):o3[a3].isNull=o3[a3].isValid&&!o3[a3].isValid());this.hasClipCircleSetter||(this.hasClipCircleSetter=!!this.eventsToUnbind.push(l2(this,"afterRender",(function(){let t5;s3.polar&&false!==this.options.clip&&(t5=this.yAxis.pane.center,this.clipCircle?this.clipCircle.animate({x:t5[0],y:t5[1],r:t5[2]/2,innerR:t5[3]/2}):this.clipCircle=function(t6,e4,i4,s4,o4){let a4=m2(),r3=t6.createElement("clipPath").attr({id:a4}).add(t6.defs),n3=o4?t6.arc(e4,i4,s4,o4,0,2*Math.PI).add(r3):t6.circle(e4,i4,s4).add(r3);return n3.id=a4,n3.clipPath=r3,n3}(s3.renderer,t5[0],t5[1],t5[2]/2,t5[3]/2),this.group.clip(this.clipCircle),this.setClip=e3.noop)}))))}}function v2(t4){let e4=this.chart,i3=this.xAxis,s3=this.yAxis,o3=i3.pane&&i3.pane.center,a3=t4.chartX-(o3&&o3[0]||0)-e4.plotLeft,r3=t4.chartY-(o3&&o3[1]||0)-e4.plotTop,n3=e4.inverted?{clientX:t4.chartX-s3.pos,plotY:t4.chartY-i3.pos}:{clientX:180+-180/Math.PI*Math.atan2(a3,r3)};return this.searchKDTree(n3)}function A2(t4,e4,i3,s3){let o3=s3.tickInterval,a3=s3.tickPositions,r3=p2(a3,(t5=>t5>=i3)),n3=p2([...a3].reverse(),(t5=>t5<=e4));return h2(r3)||(r3=a3[a3.length-1]),h2(n3)||(n3=a3[0],r3+=o3,t4[0][0]="L",t4.unshift(t4[t4.length-3])),(t4=t4.slice(a3.indexOf(n3),a3.indexOf(r3)+1))[0][0]="M",t4}function w2(t4,e4){return p2(this.pane||[],(t5=>t5.options.id===e4))||t4.call(this,e4)}function T2(t4,e4,s3,o3,a3,r3){let n3,l3,h3;let p3=this.chart,d3=u2(o3.inside,!!this.options.stacking);if(p3.polar){if(n3=e4.rectPlotX/Math.PI*180,p3.inverted)this.forceDL=p3.isInsidePlot(e4.plotX,e4.plotY),d3&&e4.shapeArgs?(l3=e4.shapeArgs,a3=c2(a3,{x:(h3=this.yAxis.postTranslate(((l3.start||0)+(l3.end||0))/2-this.xAxis.startAngleRad,e4.barX+e4.pointWidth/2)).x-p3.plotLeft,y:h3.y-p3.plotTop})):e4.tooltipPos&&(a3=c2(a3,{x:e4.tooltipPos[0],y:e4.tooltipPos[1]})),o3.align=u2(o3.align,"center"),o3.verticalAlign=u2(o3.verticalAlign,"middle");else{var g3;let t5,e5;null===(g3=o3).align&&(t5=n3>20&&n3<160?"left":n3>200&&n3<340?"right":"center",g3.align=t5),null===g3.verticalAlign&&(e5=n3<45||n3>315?"bottom":n3>135&&n3<225?"top":"middle",g3.verticalAlign=e5),o3=g3}i2.prototype.alignDataLabel.call(this,e4,s3,o3,a3,r3),this.isRadialBar&&e4.shapeArgs&&e4.shapeArgs.start===e4.shapeArgs.end?s3.hide():s3.show()}else t4.call(this,e4,s3,o3,a3,r3)}function N2(){let t4=this.options,e4=t4.stacking,i3=this.chart,s3=this.xAxis,o3=this.yAxis,r3=o3.reversed,n3=o3.center,l3=s3.startAngleRad,p3=s3.endAngleRad-l3,c3=t4.threshold,u3=0,g3,b3,m3,y3,x3,P3=0,S3=0,M3,L3,C3,k3,v3,A3,w3,T3;if(s3.isRadial)for(m3=(g3=this.points).length,y3=o3.translate(o3.min),x3=o3.translate(o3.max),c3=t4.threshold||0,i3.inverted&&d2(c3)&&h2(u3=o3.translate(c3))&&(u3<0?u3=0:u3>p3&&(u3=p3),this.translatedThreshold=u3+l3);m3--;){if(A3=(b3=g3[m3]).barX,L3=b3.x,C3=b3.y,b3.shapeType="arc",i3.inverted){b3.plotY=o3.translate(C3),e4&&o3.stacking?(v3=o3.stacking.stacks[(C3<0?"-":"")+this.stackKey],this.visible&&v3&&v3[L3]&&!b3.isNull&&(k3=v3[L3].points[this.getStackIndicator(void 0,L3,this.index).key],P3=o3.translate(k3[0]),S3=o3.translate(k3[1]),h2(P3)&&(P3=a2.clamp(P3,0,p3)))):(P3=u3,S3=b3.plotY),P3>S3&&(S3=[P3,P3=S3][0]),r3?S3>y3?S3=y3:P3<x3?P3=x3:(P3>y3||S3<x3)&&(P3=S3=p3):P3<y3?P3=y3:S3>x3?S3=x3:(S3<y3||P3>x3)&&(P3=S3=0),o3.min>o3.max&&(P3=S3=r3?p3:0),P3+=l3,S3+=l3,n3&&(b3.barX=A3+=n3[3]/2),w3=Math.max(A3,0),T3=Math.max(A3+b3.pointWidth,0);let i4=t4.borderRadius,s4=f2(("object"==typeof i4?i4.radius:i4)||0,T3-w3);b3.shapeArgs={x:n3[0],y:n3[1],r:T3,innerR:w3,start:P3,end:S3,borderRadius:s4},b3.opacity=P3===S3?0:void 0,b3.plotY=(h2(this.translatedThreshold)&&(P3<this.translatedThreshold?P3:S3))-l3}else P3=A3+l3,b3.shapeArgs=this.polar.arc(b3.yBottom,b3.plotY,P3,P3+b3.pointWidth),b3.shapeArgs.borderRadius=0;this.polar.toXY(b3),i3.inverted?(M3=o3.postTranslate(b3.rectPlotY,A3+b3.pointWidth/2),b3.tooltipPos=[M3.x-i3.plotLeft,M3.y-i3.plotTop]):b3.tooltipPos=[b3.plotX,b3.plotY],n3&&(b3.ttBelow=b3.plotY>n3[1])}}function X2(t4,e4){let i3,s3;let o3=this;if(this.chart.polar){e4=e4||this.points;for(let t5=0;t5<e4.length;t5++)if(!e4[t5].isNull){i3=t5;break}false!==this.options.connectEnds&&void 0!==i3&&(this.connectEnds=true,e4.splice(e4.length,0,e4[i3]),s3=true),e4.forEach((t5=>{void 0===t5.polarPlotY&&o3.polar.toXY(t5)}))}let a3=t4.apply(this,[].slice.call(arguments,1));return s3&&e4.pop(),a3}function R2(t4,e4){let i3=this.chart,s3={xAxis:[],yAxis:[]};return i3.polar?i3.axes.forEach((t5=>{if("colorAxis"===t5.coll)return;let o3=t5.isXAxis,a3=t5.center,r3=e4.chartX-a3[0]-i3.plotLeft,n3=e4.chartY-a3[1]-i3.plotTop;s3[o3?"xAxis":"yAxis"].push({axis:t5,value:t5.translate(o3?Math.PI-Math.atan2(r3,n3):Math.sqrt(Math.pow(r3,2)+Math.pow(n3,2)),true)})})):s3=t4.call(this,e4),s3}function Y2(t4,e4){this.chart.polar||t4.call(this,e4)}function j(t4,i3){let s3=this,o3=this.chart,a3=this.group,n3=this.markerGroup,l3=this.xAxis&&this.xAxis.center,h3=o3.plotLeft,p3=o3.plotTop,d3=this.options.animation,c3,g3,f3,b3,m3,y3;o3.polar?s3.isRadialBar?i3||(s3.startAngleRad=u2(s3.translatedThreshold,s3.xAxis.startAngleRad),e3.seriesTypes.pie.prototype.animate.call(s3,i3)):(d3=r2(d3),s3.is("column")?i3||(g3=l3[3]/2,s3.points.forEach((t5=>{f3=t5.graphic,m3=(b3=t5.shapeArgs)&&b3.r,y3=b3&&b3.innerR,f3&&b3&&(f3.attr({r:g3,innerR:g3}),f3.animate({r:m3,innerR:y3},s3.options.animation))}))):i3?(c3={translateX:l3[0]+h3,translateY:l3[1]+p3,scaleX:.001,scaleY:.001},a3.attr(c3),n3&&n3.attr(c3)):(c3={translateX:h3,translateY:p3,scaleX:1,scaleY:1},a3.animate(c3,d3),n3&&n3.animate(c3,d3))):t4.call(this,i3)}function I2(t4,e4,i3,s3){let o3,a3;if(this.chart.polar){if(s3){let t5=(a3=function t6(e5,i5,s4,o4){let a4,r3,n3,l3,h3,p3;let d3=o4?1:0,c3=(a4=i5>=0&&i5<=e5.length-1?i5:i5<0?e5.length-1+i5:0)-1<0?e5.length-(1+d3):a4-1,u3=a4+1>e5.length-1?d3:a4+1,g3=e5[c3],f3=e5[u3],b3=g3.plotX,m3=g3.plotY,y3=f3.plotX,x3=f3.plotY,P3=e5[a4].plotX,S3=e5[a4].plotY;r3=(1.5*P3+b3)/2.5,n3=(1.5*S3+m3)/2.5,l3=(1.5*P3+y3)/2.5,h3=(1.5*S3+x3)/2.5;let M3=Math.sqrt(Math.pow(r3-P3,2)+Math.pow(n3-S3,2)),L3=Math.sqrt(Math.pow(l3-P3,2)+Math.pow(h3-S3,2)),C3=Math.atan2(n3-S3,r3-P3);p3=Math.PI/2+(C3+Math.atan2(h3-S3,l3-P3))/2,Math.abs(C3-p3)>Math.PI/2&&(p3-=Math.PI),r3=P3+Math.cos(p3)*M3,n3=S3+Math.sin(p3)*M3;let k3={rightContX:l3=P3+Math.cos(Math.PI+p3)*L3,rightContY:h3=S3+Math.sin(Math.PI+p3)*L3,leftContX:r3,leftContY:n3,plotX:P3,plotY:S3};return s4&&(k3.prevPointCont=t6(e5,c3,false,o4)),k3}(e4,s3,true,this.connectEnds)).prevPointCont&&a3.prevPointCont.rightContX,i4=a3.prevPointCont&&a3.prevPointCont.rightContY;o3=["C",d2(t5)?t5:a3.plotX,d2(i4)?i4:a3.plotY,d2(a3.leftContX)?a3.leftContX:a3.plotX,d2(a3.leftContY)?a3.leftContY:a3.plotY,a3.plotX,a3.plotY]}else o3=["M",i3.plotX,i3.plotY]}else o3=t4.call(this,e4,i3,s3);return o3}function D2(t4,e4,i3=this.plotY){if(!this.destroyed){let{plotX:s3,series:o3}=this,{chart:a3}=o3;return a3.polar&&d2(s3)&&d2(i3)?[s3+(e4?a3.plotLeft:0),i3+(e4?a3.plotTop:0)]:t4.call(this,e4,i3)}}class E2{static compose(t4,e4,i3,a3,r3,h3,p3,d3,c3,u3){if(s2.compose(e4,i3),o2.compose(t4,r3),g2(n2,"Polar")){let t5=e4.prototype,s3=h3.prototype,o3=i3.prototype,r4=a3.prototype;if(l2(e4,"afterDrawChartBox",x2),l2(e4,"getAxes",S2),l2(e4,"init",P2),y2(t5,"get",w2),y2(o3,"getCoordinates",R2),y2(o3,"pinch",Y2),l2(i3,"getSelectionMarkerAttrs",L2),l2(i3,"getSelectionBox",M2),l2(a3,"afterInit",C2),l2(a3,"afterTranslate",k2,{order:2}),l2(a3,"afterColumnTranslate",N2,{order:4}),y2(r4,"animate",j),y2(s3,"pos",D2),d3){let t6=d3.prototype;y2(t6,"alignDataLabel",T2),y2(t6,"animate",j)}if(c3&&y2(c3.prototype,"getGraphPath",X2),u3){let t6=u3.prototype;y2(t6,"getPointSpline",I2),p3&&(p3.prototype.getPointSpline=t6.getPointSpline)}}}constructor(t4){this.series=t4}arc(t4,e4,i3,s3){let o3=this.series,a3=o3.xAxis.center,r3=o3.yAxis.len,n3=a3[3]/2,l3=r3-e4+n3,h3=r3-u2(t4,r3)+n3;return o3.yAxis.reversed&&(l3<0&&(l3=n3),h3<0&&(h3=n3)),{x:a3[0],y:a3[1],r:l3,innerR:h3,start:i3,end:s3}}toXY(t4){let e4=this.series,i3=e4.chart,s3=e4.xAxis,o3=e4.yAxis,a3=t4.plotX,r3=i3.inverted,n3=t4.y,l3=t4.plotY,h3=r3?a3:o3.len-l3,p3;if(r3&&e4&&!e4.isRadialBar&&(t4.plotY=l3=d2(n3)?o3.translate(n3):0),t4.rectPlotX=a3,t4.rectPlotY=l3,o3.center&&(h3+=o3.center[3]/2),d2(l3)){let e5=r3?o3.postTranslate(l3,h3):s3.postTranslate(a3,h3);t4.plotX=t4.polarPlotX=e5.x-i3.plotLeft,t4.plotY=t4.polarPlotY=e5.y-i3.plotTop}e4.kdByAngle?((p3=(a3/Math.PI*180+s3.pane.options.startAngle)%360)<0&&(p3+=360),t4.clientX=p3):t4.clientX=t4.plotX}}return E2})),i(e2,"Core/Axis/WaterfallAxis.js",[e2["Core/Globals.js"],e2["Core/Axis/Stacking/StackItem.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2){var s2;let{composed:o2}=t3,{addEvent:a2,objectEach:r2,pushUnique:n2}=i2;return function(t4){function i3(){let t5=this.waterfall.stacks;t5&&(t5.changed=false,delete t5.alreadyChanged)}function s3(){let t5=this.options.stackLabels;t5&&t5.enabled&&this.waterfall.stacks&&this.waterfall.renderStackTotals()}function l2(){this.waterfall||(this.waterfall=new p2(this))}function h2(){let t5=this.axes;for(let e4 of this.series)if(e4.options.stacking){for(let e5 of t5)e5.isXAxis||(e5.waterfall.stacks.changed=true);break}}t4.compose=function(t5,e4){n2(o2,"Axis.Waterfall")&&(a2(t5,"init",l2),a2(t5,"afterBuildStacks",i3),a2(t5,"afterRender",s3),a2(e4,"beforeRedraw",h2))};class p2{constructor(t5){this.axis=t5,this.stacks={changed:false}}renderStackTotals(){let t5=this.axis,i4=t5.waterfall.stacks,s4=t5.stacking&&t5.stacking.stackTotalGroup,o3=new e3(t5,t5.options.stackLabels||{},false,0,void 0);this.dummyStackItem=o3,s4&&r2(i4,(t6=>{r2(t6,((t7,i5)=>{o3.total=t7.stackTotal,o3.x=+i5,t7.label&&(o3.label=t7.label),e3.prototype.render.call(o3,s4),t7.label=o3.label,delete o3.label}))})),o3.total=null}}t4.Composition=p2}(s2||(s2={})),s2})),i(e2,"Series/Waterfall/WaterfallPoint.js",[e2["Series/Column/ColumnSeries.js"],e2["Core/Series/Point.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2){let{isNumber:s2}=i2;class o2 extends t3.prototype.pointClass{getClassName(){let t4=e3.prototype.getClassName.call(this);return this.isSum?t4+=" highcharts-sum":this.isIntermediateSum&&(t4+=" highcharts-intermediate-sum"),t4}isValid(){return s2(this.y)||this.isSum||!!this.isIntermediateSum}}return o2})),i(e2,"Series/Waterfall/WaterfallSeriesDefaults.js",[],(function(){return{dataLabels:{inside:true},lineWidth:1,lineColor:"#333333",dashStyle:"Dot",borderColor:"#333333",states:{hover:{lineWidthPlus:0}}}})),i(e2,"Series/Waterfall/WaterfallSeries.js",[e2["Core/Series/SeriesRegistry.js"],e2["Core/Utilities.js"],e2["Core/Axis/WaterfallAxis.js"],e2["Series/Waterfall/WaterfallPoint.js"],e2["Series/Waterfall/WaterfallSeriesDefaults.js"]],(function(t3,e3,i2,s2,o2){let{column:a2,line:r2}=t3.seriesTypes,{addEvent:n2,arrayMax:l2,arrayMin:h2,correctFloat:p2,crisp:d2,extend:c2,isNumber:u2,merge:g2,objectEach:f2,pick:b2}=e3;function m2(t4,e4){return Object.hasOwnProperty.call(t4,e4)}class y2 extends a2{generatePoints(){a2.prototype.generatePoints.apply(this);for(let t4=0,e4=this.points.length;t4<e4;t4++){let e5=this.points[t4],i3=this.processedYData[t4];u2(i3)&&(e5.isIntermediateSum||e5.isSum)&&(e5.y=p2(i3))}}processData(t4){let e4,i3,s3,o3,a3,r3;let n3=this.options,l3=this.yData,h3=n3.data,d3=l3.length,c3=n3.threshold||0;s3=i3=o3=a3=0;for(let t5=0;t5<d3;t5++)r3=l3[t5],e4=h3&&h3[t5]?h3[t5]:{},"sum"===r3||e4.isSum?l3[t5]=p2(s3):"intermediateSum"===r3||e4.isIntermediateSum?(l3[t5]=p2(i3),i3=0):(s3+=r3,i3+=r3),o3=Math.min(s3,o3),a3=Math.max(s3,a3);super.processData.call(this,t4),n3.stacking||(this.dataMin=o3+c3,this.dataMax=a3)}toYData(t4){return t4.isSum?"sum":t4.isIntermediateSum?"intermediateSum":t4.y}updateParallelArrays(t4,e4){super.updateParallelArrays.call(this,t4,e4),("sum"===this.yData[0]||"intermediateSum"===this.yData[0])&&(this.yData[0]=null)}pointAttribs(t4,e4){let i3=this.options.upColor;i3&&!t4.options.color&&u2(t4.y)&&(t4.color=t4.y>0?i3:void 0);let s3=a2.prototype.pointAttribs.call(this,t4,e4);return delete s3.dashstyle,s3}getGraphPath(){return[["M",0,0]]}getCrispPath(){var _a;let t4=this.data.filter((t5=>u2(t5.y))),e4=this.yAxis,i3=t4.length,s3=((_a=this.graph)==null?void 0:_a.strokeWidth())||0,o3=this.xAxis.reversed,a3=this.yAxis.reversed,r3=this.options.stacking,n3=[];for(let l3=1;l3<i3;l3++){if(!(this.options.connectNulls||u2(this.data[t4[l3].index-1].y)))continue;let i4=t4[l3].box,h3=t4[l3-1],p3=h3.y||0,c3=t4[l3-1].box;if(!i4||!c3)continue;let g3=e4.waterfall.stacks[this.stackKey],f3=p3>0?-c3.height:0;if(g3&&c3&&i4){let t5;let p4=g3[l3-1];if(r3){let i5=p4.connectorThreshold;t5=d2(e4.translate(i5,false,true,false,true)+(a3?f3:0),s3)}else t5=d2(c3.y+(h3.minPointLengthOffset||0),s3);n3.push(["M",(c3.x||0)+(o3?0:c3.width||0),t5],["L",(i4.x||0)+(o3&&i4.width||0),t5])}if(c3&&n3.length&&(!r3&&p3<0&&!a3||p3>0&&a3)){let t5=n3[n3.length-2];t5&&"number"==typeof t5[2]&&(t5[2]+=c3.height||0);let e5=n3[n3.length-1];e5&&"number"==typeof e5[2]&&(e5[2]+=c3.height||0)}}return n3}drawGraph(){r2.prototype.drawGraph.call(this),this.graph&&this.graph.attr({d:this.getCrispPath()})}setStackedPoints(t4){var _a;let e4=this.options,i3=(_a=t4.waterfall)==null?void 0:_a.stacks,s3=e4.threshold||0,o3=this.stackKey,a3=this.xData,r3=a3.length,n3=s3,l3=n3,h3,p3=0,d3=0,c3=0,u3,g3,f3,b3,m3,y3,x2,P2,S2=(t5,e5,i4,s4)=>{if(h3){if(u3)for(;i4<u3;i4++)h3.stackState[i4]+=s4;else h3.stackState[0]=t5,u3=h3.stackState.length;h3.stackState.push(h3.stackState[u3-1]+e5)}};if(t4.stacking&&i3&&this.reserveSpace()){P2=i3.changed,(x2=i3.alreadyChanged)&&0>x2.indexOf(o3)&&(P2=true),i3[o3]||(i3[o3]={});let t5=i3[o3];if(t5)for(let i4=0;i4<r3;i4++)(!t5[y3=a3[i4]]||P2)&&(t5[y3]={negTotal:0,posTotal:0,stackTotal:0,threshold:0,stateIndex:0,stackState:[],label:P2&&t5[y3]?t5[y3].label:void 0}),h3=t5[y3],(m3=this.yData[i4])>=0?h3.posTotal+=m3:h3.negTotal+=m3,b3=e4.data[i4],g3=h3.absolutePos=h3.posTotal,f3=h3.absoluteNeg=h3.negTotal,h3.stackTotal=g3+f3,u3=h3.stackState.length,b3&&b3.isIntermediateSum?(S2(c3,d3,0,c3),c3=d3,d3=s3,n3^=l3,l3^=n3,n3^=l3):b3&&b3.isSum?(S2(s3,p3,u3,0),n3=s3):(S2(n3,m3,0,p3),b3&&(p3+=m3,d3+=m3)),h3.stateIndex++,h3.threshold=n3,n3+=h3.stackTotal;i3.changed=false,i3.alreadyChanged||(i3.alreadyChanged=[]),i3.alreadyChanged.push(o3)}}getExtremes(){let t4,e4,i3;let s3=this.options.stacking;return s3?(t4=this.yAxis.waterfall.stacks,e4=this.stackedYNeg=[],i3=this.stackedYPos=[],"overlap"===s3?f2(t4[this.stackKey],(function(t5){e4.push(h2(t5.stackState)),i3.push(l2(t5.stackState))})):f2(t4[this.stackKey],(function(t5){e4.push(t5.negTotal+t5.threshold),i3.push(t5.posTotal+t5.threshold)})),{dataMin:h2(e4),dataMax:l2(i3)}):{dataMin:this.dataMin,dataMax:this.dataMax}}}return y2.defaultOptions=g2(a2.defaultOptions,o2),y2.compose=i2.compose,c2(y2.prototype,{pointValKey:"y",showLine:true,pointClass:s2}),n2(y2,"afterColumnTranslate",(function(){let{options:t4,points:e4,yAxis:i3}=this,s3=b2(t4.minPointLength,5),o3=s3/2,a3=t4.threshold||0,r3=t4.stacking,n3=i3.waterfall.stacks[this.stackKey],l3=a3,h3=a3,p3,f3,y3,x2;for(let t5=0;t5<e4.length;t5++){let b3=e4[t5],P2=this.processedYData[t5],S2=c2({x:0,y:0,width:0,height:0},b3.shapeArgs||{});b3.box=S2;let M2=[0,P2],L2=b3.y||0;if(r3){if(n3){let e5=n3[t5];"overlap"===r3?(f3=e5.stackState[e5.stateIndex--],p3=L2>=0?f3:f3-L2,m2(e5,"absolutePos")&&delete e5.absolutePos,m2(e5,"absoluteNeg")&&delete e5.absoluteNeg):(L2>=0?(f3=e5.threshold+e5.posTotal,e5.posTotal-=L2,p3=f3):(f3=e5.threshold+e5.negTotal,e5.negTotal-=L2,p3=f3-L2),!e5.posTotal&&u2(e5.absolutePos)&&m2(e5,"absolutePos")&&(e5.posTotal=e5.absolutePos,delete e5.absolutePos),!e5.negTotal&&u2(e5.absoluteNeg)&&m2(e5,"absoluteNeg")&&(e5.negTotal=e5.absoluteNeg,delete e5.absoluteNeg)),b3.isSum||(e5.connectorThreshold=e5.threshold+e5.stackTotal),i3.reversed?(y3=L2>=0?p3-L2:p3+L2,x2=p3):(y3=p3,x2=p3-L2),b3.below=y3<=a3,S2.y=i3.translate(y3,false,true,false,true),S2.height=Math.abs(S2.y-i3.translate(x2,false,true,false,true));let s4=i3.waterfall.dummyStackItem;s4&&(s4.x=t5,s4.label=n3[t5].label,s4.setOffset(this.pointXOffset||0,this.barW||0,this.stackedYNeg[t5],this.stackedYPos[t5],void 0,this.xAxis))}}else p3=Math.max(h3,h3+L2)+M2[0],S2.y=i3.translate(p3,false,true,false,true),b3.isSum?(S2.y=i3.translate(M2[1],false,true,false,true),S2.height=Math.min(i3.translate(M2[0],false,true,false,true),i3.len)-S2.y,b3.below=M2[1]<=a3):b3.isIntermediateSum?(L2>=0?(y3=M2[1]+l3,x2=l3):(y3=l3,x2=M2[1]+l3),i3.reversed&&(y3^=x2,x2^=y3,y3^=x2),S2.y=i3.translate(y3,false,true,false,true),S2.height=Math.abs(S2.y-Math.min(i3.translate(x2,false,true,false,true),i3.len)),l3+=M2[1],b3.below=y3<=a3):(S2.height=P2>0?i3.translate(h3,false,true,false,true)-S2.y:i3.translate(h3,false,true,false,true)-i3.translate(h3-P2,false,true,false,true),h3+=P2,b3.below=h3<a3),S2.height<0&&(S2.y+=S2.height,S2.height*=-1);b3.plotY=S2.y,b3.yBottom=S2.y+S2.height,S2.height<=s3&&!b3.isNull?(S2.height=s3,S2.y-=o3,b3.yBottom=S2.y+S2.height,b3.plotY=S2.y,L2<0?b3.minPointLengthOffset=-o3:b3.minPointLengthOffset=o3):(b3.isNull&&(S2.width=0),b3.minPointLengthOffset=0);let C2=b3.plotY+(b3.negative?S2.height:0);b3.below&&(b3.plotY+=S2.height),b3.tooltipPos&&(this.chart.inverted?b3.tooltipPos[0]=i3.len-C2:b3.tooltipPos[1]=C2),b3.isInside=this.isPointInside(b3);let k2=d2(b3.yBottom,this.borderWidth);S2.y=d2(S2.y,this.borderWidth),S2.height=k2-S2.y,g2(true,b3.shapeArgs,S2)}}),{order:2}),t3.registerSeriesType("waterfall",y2),y2})),i(e2,"masters/highcharts-more.src.js",[e2["Core/Globals.js"],e2["Core/Series/SeriesRegistry.js"],e2["Extensions/Pane/Pane.js"],e2["Series/Bubble/BubbleSeries.js"],e2["Series/PackedBubble/PackedBubbleSeries.js"],e2["Series/PolarComposition.js"],e2["Core/Axis/RadialAxis.js"],e2["Series/Waterfall/WaterfallSeries.js"]],(function(t3,e3,i2,s2,o2,a2,r2,n2){return t3.RadialAxis=r2,s2.compose(t3.Axis,t3.Chart,t3.Legend),o2.compose(t3.Axis,t3.Chart,t3.Legend),i2.compose(t3.Chart,t3.Pointer),a2.compose(t3.Axis,t3.Chart,t3.Pointer,t3.Series,t3.Tick,t3.Point,e3.seriesTypes.areasplinerange,e3.seriesTypes.column,e3.seriesTypes.line,e3.seriesTypes.spline),n2.compose(t3.Axis,t3.Chart),t3}))}))})(highchartsMore$1);var highchartsMoreExports=highchartsMore$1.exports;const highchartsMore=getDefaultExportFromCjs(highchartsMoreExports);const alignBlockElement=event2=>{const itemToMove=document.querySelector(`#wrapper-circle-chart-${event2.target.renderTo.id} .pb-circle-chart-block`);const chartContainer=document.querySelector(`#${event2.target.renderTo.id}`);if(itemToMove!==null&&chartContainer!==null){itemToMove.style.height=`${event2.target.chartHeight}px`;itemToMove.style.width=`${event2.target.chartWidth}px`;if(chartContainer.firstChild!==null){chartContainer.firstChild.before(itemToMove)}}};const CircleChart=({align:align="center",aria:aria={},rounded:rounded=false,borderColor:borderColor=(rounded?null:""),borderWidth:borderWidth=(rounded?20:null),chartData:chartData,children:children,className:className,colors:colors2=[],customOptions:customOptions={},dark:dark=false,data:data={},dataLabelHtml:dataLabelHtml="<div>{point.name}</div>",dataLabels:dataLabels=false,height:height,htmlOptions:htmlOptions={},id:id2,innerSize:innerSize="md",legend:legend=false,maxPointSize:maxPointSize=null,minPointSize:minPointSize=null,startAngle:startAngle=null,style:style="pie",title:title,tooltipHtml:tooltipHtml,useHtml:useHtml=false,zMin:zMin=null,layout:layout="horizontal",verticalAlign:verticalAlign="bottom",x:x2=0,y:y2=0,...props})=>{const ariaProps=buildAriaProps(aria);const dataProps=buildDataProps(data);const htmlProps=buildHtmlProps(htmlOptions);highchartsMore(Highcharts$1);const setupTheme=()=>{dark?Highcharts$1.setOptions(highchartsDarkTheme):Highcharts$1.setOptions(highchartsTheme)};setupTheme();Highcharts$1.setOptions({tooltip:{headerFormat:null,pointFormat:tooltipHtml?tooltipHtml:'<span style="font-weight: bold; color:{point.color};">●</span>{point.name}: <b>{point.y}</b>',useHTML:useHtml}});const innerSizes={sm:"35%",md:"50%",lg:"85%",none:"0%"};const innerSizeFormat=size=>innerSizes[size];const filteredProps={...props};delete filteredProps.verticalAlign;const[options2,setOptions]=reactExports.useState({});reactExports.useEffect((()=>{const formattedChartData=chartData.map((obj=>{obj.y=obj.value;delete obj.value;return obj}));const staticOptions={title:{text:title},chart:{height:height,type:style,events:{render:event2=>alignBlockElement(event2),redraw:event2=>alignBlockElement(event2)}},legend:{align:align,verticalAlign:verticalAlign,layout:layout,x:x2,y:y2},plotOptions:{pie:{colors:colors2.length>0?mapColors(colors2):highchartsTheme.colors,dataLabels:{enabled:dataLabels,connectorShape:"straight",connectorWidth:3,format:dataLabelHtml},showInLegend:legend}},series:[{minPointSize:minPointSize,maxPointSize:maxPointSize,innerSize:borderWidth==20?"100%":innerSizeFormat(innerSize),data:formattedChartData,zMin:zMin,startAngle:startAngle,borderWidth:borderWidth,borderColor:borderColor}],credits:false};setOptions(merge(staticOptions,customOptions))}),[chartData]);return jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment,{children:children?jsxRuntimeExports.jsxs("div",{id:`wrapper-circle-chart-${id2}`,children:[jsxRuntimeExports.jsx(HighchartsReact,{containerProps:{className:classnames("pb_circle_chart",globalProps(filteredProps)),id:id2,...ariaProps,...dataProps,...htmlProps},highcharts:Highcharts$1,options:options2}),jsxRuntimeExports.jsx("div",{className:"pb-circle-chart-block",children:children})]}):jsxRuntimeExports.jsx(HighchartsReact,{containerProps:{className:classnames("pb_circle_chart",globalProps(filteredProps)),id:id2,...ariaProps,...dataProps,...htmlProps},highcharts:Highcharts$1,options:options2})})};const CircleIconButton=props=>{const{aria:aria={},className:className,dark:dark,data:data={},disabled:disabled,htmlOptions:htmlOptions={},icon:icon,id:id2,loading:loading=false,onClick:onClick=noop$1,type:type,link:link,newWindow:newWindow,variant:variant}=props;const ariaProps=buildAriaProps(aria);const dataProps=buildDataProps(data);const htmlProps=buildHtmlProps(htmlOptions);const classes=classnames(buildCss("pb_circle_icon_button_kit"),globalProps(props),className);return jsxRuntimeExports.jsx("div",{...ariaProps,...dataProps,...htmlProps,className:classes,id:id2,children:jsxRuntimeExports.jsx(Button,{dark:dark,disabled:disabled,htmlType:type,link:link,loading:loading,newWindow:newWindow,onClick:onClick,text:null,variant:variant,children:jsxRuntimeExports.jsx(Icon,{fixedWidth:true,icon:icon})})})};const showElement=elem=>{elem.style.display="block";const height=elem.scrollHeight+"px";elem.style.height=height;elem.classList.add("is-visible");elem.style.overflow="hidden";window.setTimeout((()=>{if(!elem.classList.contains("is-visible")){elem.classList.add("is-visible")}elem.style.height="";elem.style.overflow="visible"}),300)};const hideElement=elem=>{elem.style.height=elem.scrollHeight+"px";window.setTimeout((()=>{elem.style.height="0";elem.style.paddingTop="0";elem.style.paddingBottom="0";elem.style.overflow="hidden"}),1);window.setTimeout((()=>{elem.classList.remove("is-visible");elem.style.overflow=""}),300)};const CollapsibleContext=reactExports.createContext({});const CollapsibleContent=({children:children,className:className,...props})=>{const context=reactExports.useContext(CollapsibleContext);const contentCSS=buildCss("pb_collapsible_content_kit");const contentSpacing=globalProps(props);const contentRef=reactExports.useRef(null);reactExports.useEffect((()=>{if(contentRef.current){if(context.collapsed){hideElement(contentRef.current)}else{showElement(contentRef.current)}}}),[context.collapsed]);return jsxRuntimeExports.jsx("div",{className:classnames(contentCSS,contentSpacing,"toggle-content",className),"data-collapsible-content":"true",ref:contentRef,children:children})};const colorMap={default:"#242B42",light:"#687887",lighter:"#C1CDD6",link:"#0056CF",error:"#FF2229",success:"#00CA74"};const CollapsibleIcon=({collapsed:collapsed,icon:icon,iconSize:iconSize,iconColor:iconColor,onIconClick:onIconClick})=>{const color=colorMap[iconColor];const showIcon=icon2=>{if(icon2==="none"){return[]}else if(typeof icon2==="string"){return[icon2,icon2]}return icon2};const handleIconClick=e2=>{if(onIconClick){e2.stopPropagation();onIconClick()}};return jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment,{children:icon!=="none"?collapsed?jsxRuntimeExports.jsx("div",{className:"icon_wrapper",onClick:e2=>handleIconClick(e2),style:{verticalAlign:"middle",color:color},children:jsxRuntimeExports.jsx(Icon,{icon:icon?showIcon(icon)[0]:"chevron-down",size:iconSize})},icon?showIcon(icon)[0]:"chevron-down"):jsxRuntimeExports.jsx("div",{className:"icon_wrapper",onClick:e2=>handleIconClick(e2),style:{verticalAlign:"middle",color:color},children:jsxRuntimeExports.jsx(Icon,{icon:icon?showIcon(icon)[1]:"chevron-up",size:iconSize})},icon?showIcon(icon)[1]:"chevron-up"):jsxRuntimeExports.jsx("div",{})})};const CollapsibleMain=({children:children,className:className,cursor:cursor2="pointer",...props})=>{const{collapsed:collapsed,toggle:toggle,icon:icon,iconSize:iconSize,iconColor:iconColor,onIconClick:onIconClick,onClick:onClick}=reactExports.useContext(CollapsibleContext);const mainCSS=buildCss("pb_collapsible_main_kit");const mainSpacing=globalProps(props,{cursor:cursor2});const handleCollapsibleClick=()=>{onClick&&onClick();const disableToggle=onClick&&onClick();if(disableToggle!==true){toggle()}};return jsxRuntimeExports.jsx("div",{className:classnames(mainCSS,mainSpacing,className),children:jsxRuntimeExports.jsx("div",{onClick:handleCollapsibleClick,children:jsxRuntimeExports.jsxs(Flex,{spacing:"between",vertical:"center",children:[jsxRuntimeExports.jsx(FlexItem,{children:children}),jsxRuntimeExports.jsx(FlexItem,{children:jsxRuntimeExports.jsx(CollapsibleIcon,{collapsed:collapsed,icon:icon,iconColor:iconColor,iconSize:iconSize,onIconClick:onIconClick})})]})})})};const Collapsible=({aria:aria={},className:className,children:children,collapsed:collapsed=true,data:data={},htmlOptions:htmlOptions={},icon:icon,iconColor:iconColor="default",iconSize:iconSize,onIconClick:onIconClick,onClick:onClick,id:id2,...props})=>{const[isCollapsed,toggle,setIsCollapsed]=useCollapsible(collapsed);reactExports.useEffect((()=>{setIsCollapsed(collapsed)}),[collapsed]);if(children.length!==2){throw new Error("Collapsible requires <CollapsibleMain> and <CollapsibleContent> to function properly.")}const FirstChild=children[0];const Main=FirstChild.type===CollapsibleMain?FirstChild:null;const Content=children[1];const{children:mainChildren=null,...mainProps}=Main?Main.props:{};const{children:contentChildren,...contentProps}=Content.props;const ariaProps=buildAriaProps(aria);const dataProps=buildDataProps(data);const htmlProps=buildHtmlProps(htmlOptions);const classes=classnames(buildCss("pb_collapsible_kit"),globalProps(props),className);return jsxRuntimeExports.jsx(CollapsibleContext.Provider,{value:{collapsed:isCollapsed,toggle:toggle,icon:icon,iconSize:iconSize,iconColor:iconColor,onIconClick:onIconClick,onClick:onClick},children:jsxRuntimeExports.jsxs("div",{...ariaProps,...dataProps,...htmlProps,className:classes,id:id2,children:[Main?jsxRuntimeExports.jsx(CollapsibleMain,{...mainProps,children:mainChildren}):FirstChild,jsxRuntimeExports.jsx(CollapsibleContent,{...contentProps,children:contentChildren})]})})};Collapsible.Main=CollapsibleMain;Collapsible.Content=CollapsibleContent;Collapsible.Icon=CollapsibleIcon;const Title=props=>{if(props.variant);const{aria:aria={},children:children,className:className,color:color,data:data={},htmlOptions:htmlOptions={},id:id2,size:size=3,bold:bold=true,tag:tag="h3",text:text,variant:variant=null}=props;const ariaProps=buildAriaProps(aria);const dataProps=buildDataProps(data);const htmlProps=buildHtmlProps(htmlOptions);const getBold=bold?"":"thin";const isSizeNumberOrString=typeof size==="number"||typeof size==="string";const buildResponsiveSizeCss=()=>{let css4="";if(!isSizeNumberOrString){Object.entries(size).forEach((sizeObj=>{css4+=`pb_title_kit_${sizeObj[0]}_${sizeObj[1]} `}))}return css4.trim()};const classes=classnames(buildCss("pb_title_kit",isSizeNumberOrString?`size_${size}`:"",variant,color,getBold),globalProps(props),buildResponsiveSizeCss(),className);const Tag=`${tag}`;return jsxRuntimeExports.jsx(Tag,{...ariaProps,...dataProps,...htmlProps,className:classes,id:id2,children:text||children})};const SectionSeparator=props=>{const{aria:aria={},children:children,className:className,data:data={},htmlOptions:htmlOptions={},id:id2,lineStyle:lineStyle="solid",orientation:orientation="horizontal",text:text,dark:dark=false,variant:variant="card"}=props;const ariaProps=buildAriaProps(aria);const dataProps=buildDataProps(data);const htmlProps=buildHtmlProps(htmlOptions);const classes=classnames(buildCss("pb_section_separator_kit",variant,orientation,lineStyle==="dashed"?lineStyle:""),globalProps(props),className);return jsxRuntimeExports.jsx("div",{...ariaProps,...dataProps,...htmlProps,className:classes,id:id2,children:children&&children||text&&jsxRuntimeExports.jsx("span",{children:jsxRuntimeExports.jsx(Caption,{dark:dark,text:text})})})};var lib={exports:{}};var Modal$2={};var reactDom={exports:{}};var reactDom_production_min={};var scheduler={exports:{}};var scheduler_production_min={};
7
- /** @license React v0.20.2
8
- * scheduler.production.min.js
9
- *
10
- * Copyright (c) Facebook, Inc. and its affiliates.
11
- *
12
- * This source code is licensed under the MIT license found in the
13
- * LICENSE file in the root directory of this source tree.
14
- */(function(exports){var f2,g2,h2,k2;if("object"===typeof performance&&"function"===typeof performance.now){var l2=performance;exports.unstable_now=function(){return l2.now()}}else{var p2=Date,q2=p2.now();exports.unstable_now=function(){return p2.now()-q2}}if("undefined"===typeof window||"function"!==typeof MessageChannel){var t2=null,u2=null,w2=function(){if(null!==t2)try{var a2=exports.unstable_now();t2(true,a2);t2=null}catch(b2){throw setTimeout(w2,0),b2}};f2=function(a2){null!==t2?setTimeout(f2,0,a2):(t2=a2,setTimeout(w2,0))};g2=function(a2,b2){u2=setTimeout(a2,b2)};h2=function(){clearTimeout(u2)};exports.unstable_shouldYield=function(){return false};k2=exports.unstable_forceFrameRate=function(){}}else{var x2=window.setTimeout,y2=window.clearTimeout;if("undefined"!==typeof console){var z2=window.cancelAnimationFrame;"function"!==typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills");"function"!==typeof z2&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills")}var A2=false,B2=null,C2=-1,D2=5,E2=0;exports.unstable_shouldYield=function(){return exports.unstable_now()>=E2};k2=function(){};exports.unstable_forceFrameRate=function(a2){0>a2||125<a2?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):D2=0<a2?Math.floor(1e3/a2):5};var F2=new MessageChannel,G2=F2.port2;F2.port1.onmessage=function(){if(null!==B2){var a2=exports.unstable_now();E2=a2+D2;try{B2(true,a2)?G2.postMessage(null):(A2=false,B2=null)}catch(b2){throw G2.postMessage(null),b2}}else A2=false};f2=function(a2){B2=a2;A2||(A2=true,G2.postMessage(null))};g2=function(a2,b2){C2=x2((function(){a2(exports.unstable_now())}),b2)};h2=function(){y2(C2);C2=-1}}function H2(a2,b2){var c2=a2.length;a2.push(b2);a:for(;;){var d2=c2-1>>>1,e2=a2[d2];if(void 0!==e2&&0<I2(e2,b2))a2[d2]=b2,a2[c2]=e2,c2=d2;else break a}}function J(a2){a2=a2[0];return void 0===a2?null:a2}function K(a2){var b2=a2[0];if(void 0!==b2){var c2=a2.pop();if(c2!==b2){a2[0]=c2;a:for(var d2=0,e2=a2.length;d2<e2;){var m2=2*(d2+1)-1,n2=a2[m2],v2=m2+1,r2=a2[v2];if(void 0!==n2&&0>I2(n2,c2))void 0!==r2&&0>I2(r2,n2)?(a2[d2]=r2,a2[v2]=c2,d2=v2):(a2[d2]=n2,a2[m2]=c2,d2=m2);else if(void 0!==r2&&0>I2(r2,c2))a2[d2]=r2,a2[v2]=c2,d2=v2;else break a}}return b2}return null}function I2(a2,b2){var c2=a2.sortIndex-b2.sortIndex;return 0!==c2?c2:a2.id-b2.id}var L2=[],M2=[],N2=1,O2=null,P2=3,Q=false,R2=false,S2=false;function T2(a2){for(var b2=J(M2);null!==b2;){if(null===b2.callback)K(M2);else if(b2.startTime<=a2)K(M2),b2.sortIndex=b2.expirationTime,H2(L2,b2);else break;b2=J(M2)}}function U2(a2){S2=false;T2(a2);if(!R2)if(null!==J(L2))R2=true,f2(V2);else{var b2=J(M2);null!==b2&&g2(U2,b2.startTime-a2)}}function V2(a2,b2){R2=false;S2&&(S2=false,h2());Q=true;var c2=P2;try{T2(b2);for(O2=J(L2);null!==O2&&(!(O2.expirationTime>b2)||a2&&!exports.unstable_shouldYield());){var d2=O2.callback;if("function"===typeof d2){O2.callback=null;P2=O2.priorityLevel;var e2=d2(O2.expirationTime<=b2);b2=exports.unstable_now();"function"===typeof e2?O2.callback=e2:O2===J(L2)&&K(L2);T2(b2)}else K(L2);O2=J(L2)}if(null!==O2)var m2=true;else{var n2=J(M2);null!==n2&&g2(U2,n2.startTime-b2);m2=false}return m2}finally{O2=null,P2=c2,Q=false}}var W2=k2;exports.unstable_IdlePriority=5;exports.unstable_ImmediatePriority=1;exports.unstable_LowPriority=4;exports.unstable_NormalPriority=3;exports.unstable_Profiling=null;exports.unstable_UserBlockingPriority=2;exports.unstable_cancelCallback=function(a2){a2.callback=null};exports.unstable_continueExecution=function(){R2||Q||(R2=true,f2(V2))};exports.unstable_getCurrentPriorityLevel=function(){return P2};exports.unstable_getFirstCallbackNode=function(){return J(L2)};exports.unstable_next=function(a2){switch(P2){case 1:case 2:case 3:var b2=3;break;default:b2=P2}var c2=P2;P2=b2;try{return a2()}finally{P2=c2}};exports.unstable_pauseExecution=function(){};exports.unstable_requestPaint=W2;exports.unstable_runWithPriority=function(a2,b2){switch(a2){case 1:case 2:case 3:case 4:case 5:break;default:a2=3}var c2=P2;P2=a2;try{return b2()}finally{P2=c2}};exports.unstable_scheduleCallback=function(a2,b2,c2){var d2=exports.unstable_now();"object"===typeof c2&&null!==c2?(c2=c2.delay,c2="number"===typeof c2&&0<c2?d2+c2:d2):c2=d2;switch(a2){case 1:var e2=-1;break;case 2:e2=250;break;case 5:e2=1073741823;break;case 4:e2=1e4;break;default:e2=5e3}e2=c2+e2;a2={id:N2++,callback:b2,priorityLevel:a2,startTime:c2,expirationTime:e2,sortIndex:-1};c2>d2?(a2.sortIndex=c2,H2(M2,a2),null===J(L2)&&a2===J(M2)&&(S2?h2():S2=true,g2(U2,c2-d2))):(a2.sortIndex=e2,H2(L2,a2),R2||Q||(R2=true,f2(V2)));return a2};exports.unstable_wrapCallback=function(a2){var b2=P2;return function(){var c2=P2;P2=b2;try{return a2.apply(this,arguments)}finally{P2=c2}}}})(scheduler_production_min);{scheduler.exports=scheduler_production_min}var schedulerExports=scheduler.exports;
15
- /** @license React v17.0.2
16
- * react-dom.production.min.js
17
- *
18
- * Copyright (c) Facebook, Inc. and its affiliates.
19
- *
20
- * This source code is licensed under the MIT license found in the
21
- * LICENSE file in the root directory of this source tree.
22
- */var aa=reactExports,m$3=objectAssign,r$3=schedulerExports;function y$3(a2){for(var b2="https://reactjs.org/docs/error-decoder.html?invariant="+a2,c2=1;c2<arguments.length;c2++)b2+="&args[]="+encodeURIComponent(arguments[c2]);return"Minified React error #"+a2+"; visit "+b2+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!aa)throw Error(y$3(227));var ba=new Set,ca={};function da(a2,b2){ea(a2,b2);ea(a2+"Capture",b2)}function ea(a2,b2){ca[a2]=b2;for(a2=0;a2<b2.length;a2++)ba.add(b2[a2])}var fa=!("undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement),ha=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,ia=Object.prototype.hasOwnProperty,ja={},ka={};function la(a2){if(ia.call(ka,a2))return true;if(ia.call(ja,a2))return false;if(ha.test(a2))return ka[a2]=true;ja[a2]=true;return false}function ma(a2,b2,c2,d2){if(null!==c2&&0===c2.type)return false;switch(typeof b2){case"function":case"symbol":return true;case"boolean":if(d2)return false;if(null!==c2)return!c2.acceptsBooleans;a2=a2.toLowerCase().slice(0,5);return"data-"!==a2&&"aria-"!==a2;default:return false}}function na(a2,b2,c2,d2){if(null===b2||"undefined"===typeof b2||ma(a2,b2,c2,d2))return true;if(d2)return false;if(null!==c2)switch(c2.type){case 3:return!b2;case 4:return false===b2;case 5:return isNaN(b2);case 6:return isNaN(b2)||1>b2}return false}function B(a2,b2,c2,d2,e2,f2,g2){this.acceptsBooleans=2===b2||3===b2||4===b2;this.attributeName=d2;this.attributeNamespace=e2;this.mustUseProperty=c2;this.propertyName=a2;this.type=b2;this.sanitizeURL=f2;this.removeEmptyString=g2}var D$2={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(a2){D$2[a2]=new B(a2,0,false,a2,null,false,false)}));[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(a2){var b2=a2[0];D$2[b2]=new B(b2,1,false,a2[1],null,false,false)}));["contentEditable","draggable","spellCheck","value"].forEach((function(a2){D$2[a2]=new B(a2,2,false,a2.toLowerCase(),null,false,false)}));["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(a2){D$2[a2]=new B(a2,2,false,a2,null,false,false)}));"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(a2){D$2[a2]=new B(a2,3,false,a2.toLowerCase(),null,false,false)}));["checked","multiple","muted","selected"].forEach((function(a2){D$2[a2]=new B(a2,3,true,a2,null,false,false)}));["capture","download"].forEach((function(a2){D$2[a2]=new B(a2,4,false,a2,null,false,false)}));["cols","rows","size","span"].forEach((function(a2){D$2[a2]=new B(a2,6,false,a2,null,false,false)}));["rowSpan","start"].forEach((function(a2){D$2[a2]=new B(a2,5,false,a2.toLowerCase(),null,false,false)}));var oa=/[\-:]([a-z])/g;function pa(a2){return a2[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(a2){var b2=a2.replace(oa,pa);D$2[b2]=new B(b2,1,false,a2,null,false,false)}));"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(a2){var b2=a2.replace(oa,pa);D$2[b2]=new B(b2,1,false,a2,"http://www.w3.org/1999/xlink",false,false)}));["xml:base","xml:lang","xml:space"].forEach((function(a2){var b2=a2.replace(oa,pa);D$2[b2]=new B(b2,1,false,a2,"http://www.w3.org/XML/1998/namespace",false,false)}));["tabIndex","crossOrigin"].forEach((function(a2){D$2[a2]=new B(a2,1,false,a2.toLowerCase(),null,false,false)}));D$2.xlinkHref=new B("xlinkHref",1,false,"xlink:href","http://www.w3.org/1999/xlink",true,false);["src","href","action","formAction"].forEach((function(a2){D$2[a2]=new B(a2,1,false,a2.toLowerCase(),null,true,true)}));function qa(a2,b2,c2,d2){var e2=D$2.hasOwnProperty(b2)?D$2[b2]:null;var f2=null!==e2?0===e2.type:d2?false:!(2<b2.length)||"o"!==b2[0]&&"O"!==b2[0]||"n"!==b2[1]&&"N"!==b2[1]?false:true;f2||(na(b2,c2,e2,d2)&&(c2=null),d2||null===e2?la(b2)&&(null===c2?a2.removeAttribute(b2):a2.setAttribute(b2,""+c2)):e2.mustUseProperty?a2[e2.propertyName]=null===c2?3===e2.type?false:"":c2:(b2=e2.attributeName,d2=e2.attributeNamespace,null===c2?a2.removeAttribute(b2):(e2=e2.type,c2=3===e2||4===e2&&true===c2?"":""+c2,d2?a2.setAttributeNS(d2,b2,c2):a2.setAttribute(b2,c2))))}var ra=aa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,sa=60103,ta=60106,ua=60107,wa=60108,xa=60114,ya=60109,za=60110,Aa=60112,Ba=60113,Ca=60120,Da=60115,Ea=60116,Fa=60121,Ga=60128,Ha=60129,Ia=60130,Ja=60131;if("function"===typeof Symbol&&Symbol.for){var E$1=Symbol.for;sa=E$1("react.element");ta=E$1("react.portal");ua=E$1("react.fragment");wa=E$1("react.strict_mode");xa=E$1("react.profiler");ya=E$1("react.provider");za=E$1("react.context");Aa=E$1("react.forward_ref");Ba=E$1("react.suspense");Ca=E$1("react.suspense_list");Da=E$1("react.memo");Ea=E$1("react.lazy");Fa=E$1("react.block");E$1("react.scope");Ga=E$1("react.opaque.id");Ha=E$1("react.debug_trace_mode");Ia=E$1("react.offscreen");Ja=E$1("react.legacy_hidden")}var Ka="function"===typeof Symbol&&Symbol.iterator;function La(a2){if(null===a2||"object"!==typeof a2)return null;a2=Ka&&a2[Ka]||a2["@@iterator"];return"function"===typeof a2?a2:null}var Ma;function Na(a2){if(void 0===Ma)try{throw Error()}catch(c2){var b2=c2.stack.trim().match(/\n( *(at )?)/);Ma=b2&&b2[1]||""}return"\n"+Ma+a2}var Oa=false;function Pa(a2,b2){if(!a2||Oa)return"";Oa=true;var c2=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(b2)if(b2=function(){throw Error()},Object.defineProperty(b2.prototype,"props",{set:function(){throw Error()}}),"object"===typeof Reflect&&Reflect.construct){try{Reflect.construct(b2,[])}catch(k2){var d2=k2}Reflect.construct(a2,[],b2)}else{try{b2.call()}catch(k2){d2=k2}a2.call(b2.prototype)}else{try{throw Error()}catch(k2){d2=k2}a2()}}catch(k2){if(k2&&d2&&"string"===typeof k2.stack){for(var e2=k2.stack.split("\n"),f2=d2.stack.split("\n"),g2=e2.length-1,h2=f2.length-1;1<=g2&&0<=h2&&e2[g2]!==f2[h2];)h2--;for(;1<=g2&&0<=h2;g2--,h2--)if(e2[g2]!==f2[h2]){if(1!==g2||1!==h2){do{if(g2--,h2--,0>h2||e2[g2]!==f2[h2])return"\n"+e2[g2].replace(" at new "," at ")}while(1<=g2&&0<=h2)}break}}}finally{Oa=false,Error.prepareStackTrace=c2}return(a2=a2?a2.displayName||a2.name:"")?Na(a2):""}function Qa(a2){switch(a2.tag){case 5:return Na(a2.type);case 16:return Na("Lazy");case 13:return Na("Suspense");case 19:return Na("SuspenseList");case 0:case 2:case 15:return a2=Pa(a2.type,false),a2;case 11:return a2=Pa(a2.type.render,false),a2;case 22:return a2=Pa(a2.type._render,false),a2;case 1:return a2=Pa(a2.type,true),a2;default:return""}}function Ra(a2){if(null==a2)return null;if("function"===typeof a2)return a2.displayName||a2.name||null;if("string"===typeof a2)return a2;switch(a2){case ua:return"Fragment";case ta:return"Portal";case xa:return"Profiler";case wa:return"StrictMode";case Ba:return"Suspense";case Ca:return"SuspenseList"}if("object"===typeof a2)switch(a2.$$typeof){case za:return(a2.displayName||"Context")+".Consumer";case ya:return(a2._context.displayName||"Context")+".Provider";case Aa:var b2=a2.render;b2=b2.displayName||b2.name||"";return a2.displayName||(""!==b2?"ForwardRef("+b2+")":"ForwardRef");case Da:return Ra(a2.type);case Fa:return Ra(a2._render);case Ea:b2=a2._payload;a2=a2._init;try{return Ra(a2(b2))}catch(c2){}}return null}function Sa(a2){switch(typeof a2){case"boolean":case"number":case"object":case"string":case"undefined":return a2;default:return""}}function Ta(a2){var b2=a2.type;return(a2=a2.nodeName)&&"input"===a2.toLowerCase()&&("checkbox"===b2||"radio"===b2)}function Ua(a2){var b2=Ta(a2)?"checked":"value",c2=Object.getOwnPropertyDescriptor(a2.constructor.prototype,b2),d2=""+a2[b2];if(!a2.hasOwnProperty(b2)&&"undefined"!==typeof c2&&"function"===typeof c2.get&&"function"===typeof c2.set){var e2=c2.get,f2=c2.set;Object.defineProperty(a2,b2,{configurable:true,get:function(){return e2.call(this)},set:function(a3){d2=""+a3;f2.call(this,a3)}});Object.defineProperty(a2,b2,{enumerable:c2.enumerable});return{getValue:function(){return d2},setValue:function(a3){d2=""+a3},stopTracking:function(){a2._valueTracker=null;delete a2[b2]}}}}function Va(a2){a2._valueTracker||(a2._valueTracker=Ua(a2))}function Wa(a2){if(!a2)return false;var b2=a2._valueTracker;if(!b2)return true;var c2=b2.getValue();var d2="";a2&&(d2=Ta(a2)?a2.checked?"true":"false":a2.value);a2=d2;return a2!==c2?(b2.setValue(a2),true):false}function Xa(a2){a2=a2||("undefined"!==typeof document?document:void 0);if("undefined"===typeof a2)return null;try{return a2.activeElement||a2.body}catch(b2){return a2.body}}function Ya(a2,b2){var c2=b2.checked;return m$3({},b2,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=c2?c2:a2._wrapperState.initialChecked})}function Za(a2,b2){var c2=null==b2.defaultValue?"":b2.defaultValue,d2=null!=b2.checked?b2.checked:b2.defaultChecked;c2=Sa(null!=b2.value?b2.value:c2);a2._wrapperState={initialChecked:d2,initialValue:c2,controlled:"checkbox"===b2.type||"radio"===b2.type?null!=b2.checked:null!=b2.value}}function $a(a2,b2){b2=b2.checked;null!=b2&&qa(a2,"checked",b2,false)}function ab(a2,b2){$a(a2,b2);var c2=Sa(b2.value),d2=b2.type;if(null!=c2)if("number"===d2){if(0===c2&&""===a2.value||a2.value!=c2)a2.value=""+c2}else a2.value!==""+c2&&(a2.value=""+c2);else if("submit"===d2||"reset"===d2){a2.removeAttribute("value");return}b2.hasOwnProperty("value")?bb(a2,b2.type,c2):b2.hasOwnProperty("defaultValue")&&bb(a2,b2.type,Sa(b2.defaultValue));null==b2.checked&&null!=b2.defaultChecked&&(a2.defaultChecked=!!b2.defaultChecked)}function cb(a2,b2,c2){if(b2.hasOwnProperty("value")||b2.hasOwnProperty("defaultValue")){var d2=b2.type;if(!("submit"!==d2&&"reset"!==d2||void 0!==b2.value&&null!==b2.value))return;b2=""+a2._wrapperState.initialValue;c2||b2===a2.value||(a2.value=b2);a2.defaultValue=b2}c2=a2.name;""!==c2&&(a2.name="");a2.defaultChecked=!!a2._wrapperState.initialChecked;""!==c2&&(a2.name=c2)}function bb(a2,b2,c2){if("number"!==b2||Xa(a2.ownerDocument)!==a2)null==c2?a2.defaultValue=""+a2._wrapperState.initialValue:a2.defaultValue!==""+c2&&(a2.defaultValue=""+c2)}function db(a2){var b2="";aa.Children.forEach(a2,(function(a3){null!=a3&&(b2+=a3)}));return b2}function eb(a2,b2){a2=m$3({children:void 0},b2);if(b2=db(b2.children))a2.children=b2;return a2}function fb(a2,b2,c2,d2){a2=a2.options;if(b2){b2={};for(var e2=0;e2<c2.length;e2++)b2["$"+c2[e2]]=true;for(c2=0;c2<a2.length;c2++)e2=b2.hasOwnProperty("$"+a2[c2].value),a2[c2].selected!==e2&&(a2[c2].selected=e2),e2&&d2&&(a2[c2].defaultSelected=true)}else{c2=""+Sa(c2);b2=null;for(e2=0;e2<a2.length;e2++){if(a2[e2].value===c2){a2[e2].selected=true;d2&&(a2[e2].defaultSelected=true);return}null!==b2||a2[e2].disabled||(b2=a2[e2])}null!==b2&&(b2.selected=true)}}function gb(a2,b2){if(null!=b2.dangerouslySetInnerHTML)throw Error(y$3(91));return m$3({},b2,{value:void 0,defaultValue:void 0,children:""+a2._wrapperState.initialValue})}function hb(a2,b2){var c2=b2.value;if(null==c2){c2=b2.children;b2=b2.defaultValue;if(null!=c2){if(null!=b2)throw Error(y$3(92));if(Array.isArray(c2)){if(!(1>=c2.length))throw Error(y$3(93));c2=c2[0]}b2=c2}null==b2&&(b2="");c2=b2}a2._wrapperState={initialValue:Sa(c2)}}function ib(a2,b2){var c2=Sa(b2.value),d2=Sa(b2.defaultValue);null!=c2&&(c2=""+c2,c2!==a2.value&&(a2.value=c2),null==b2.defaultValue&&a2.defaultValue!==c2&&(a2.defaultValue=c2));null!=d2&&(a2.defaultValue=""+d2)}function jb(a2){var b2=a2.textContent;b2===a2._wrapperState.initialValue&&""!==b2&&null!==b2&&(a2.value=b2)}var kb={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function lb(a2){switch(a2){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function mb(a2,b2){return null==a2||"http://www.w3.org/1999/xhtml"===a2?lb(b2):"http://www.w3.org/2000/svg"===a2&&"foreignObject"===b2?"http://www.w3.org/1999/xhtml":a2}var nb,ob=function(a2){return"undefined"!==typeof MSApp&&MSApp.execUnsafeLocalFunction?function(b2,c2,d2,e2){MSApp.execUnsafeLocalFunction((function(){return a2(b2,c2,d2,e2)}))}:a2}((function(a2,b2){if(a2.namespaceURI!==kb.svg||"innerHTML"in a2)a2.innerHTML=b2;else{nb=nb||document.createElement("div");nb.innerHTML="<svg>"+b2.valueOf().toString()+"</svg>";for(b2=nb.firstChild;a2.firstChild;)a2.removeChild(a2.firstChild);for(;b2.firstChild;)a2.appendChild(b2.firstChild)}}));function pb(a2,b2){if(b2){var c2=a2.firstChild;if(c2&&c2===a2.lastChild&&3===c2.nodeType){c2.nodeValue=b2;return}}a2.textContent=b2}var qb={animationIterationCount:true,borderImageOutset:true,borderImageSlice:true,borderImageWidth:true,boxFlex:true,boxFlexGroup:true,boxOrdinalGroup:true,columnCount:true,columns:true,flex:true,flexGrow:true,flexPositive:true,flexShrink:true,flexNegative:true,flexOrder:true,gridArea:true,gridRow:true,gridRowEnd:true,gridRowSpan:true,gridRowStart:true,gridColumn:true,gridColumnEnd:true,gridColumnSpan:true,gridColumnStart:true,fontWeight:true,lineClamp:true,lineHeight:true,opacity:true,order:true,orphans:true,tabSize:true,widows:true,zIndex:true,zoom:true,fillOpacity:true,floodOpacity:true,stopOpacity:true,strokeDasharray:true,strokeDashoffset:true,strokeMiterlimit:true,strokeOpacity:true,strokeWidth:true},rb=["Webkit","ms","Moz","O"];Object.keys(qb).forEach((function(a2){rb.forEach((function(b2){b2=b2+a2.charAt(0).toUpperCase()+a2.substring(1);qb[b2]=qb[a2]}))}));function sb(a2,b2,c2){return null==b2||"boolean"===typeof b2||""===b2?"":c2||"number"!==typeof b2||0===b2||qb.hasOwnProperty(a2)&&qb[a2]?(""+b2).trim():b2+"px"}function tb(a2,b2){a2=a2.style;for(var c2 in b2)if(b2.hasOwnProperty(c2)){var d2=0===c2.indexOf("--"),e2=sb(c2,b2[c2],d2);"float"===c2&&(c2="cssFloat");d2?a2.setProperty(c2,e2):a2[c2]=e2}}var ub=m$3({menuitem:true},{area:true,base:true,br:true,col:true,embed:true,hr:true,img:true,input:true,keygen:true,link:true,meta:true,param:true,source:true,track:true,wbr:true});function vb(a2,b2){if(b2){if(ub[a2]&&(null!=b2.children||null!=b2.dangerouslySetInnerHTML))throw Error(y$3(137,a2));if(null!=b2.dangerouslySetInnerHTML){if(null!=b2.children)throw Error(y$3(60));if(!("object"===typeof b2.dangerouslySetInnerHTML&&"__html"in b2.dangerouslySetInnerHTML))throw Error(y$3(61))}if(null!=b2.style&&"object"!==typeof b2.style)throw Error(y$3(62))}}function wb(a2,b2){if(-1===a2.indexOf("-"))return"string"===typeof b2.is;switch(a2){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return false;default:return true}}function xb(a2){a2=a2.target||a2.srcElement||window;a2.correspondingUseElement&&(a2=a2.correspondingUseElement);return 3===a2.nodeType?a2.parentNode:a2}var yb=null,zb=null,Ab=null;function Bb(a2){if(a2=Cb(a2)){if("function"!==typeof yb)throw Error(y$3(280));var b2=a2.stateNode;b2&&(b2=Db(b2),yb(a2.stateNode,a2.type,b2))}}function Eb(a2){zb?Ab?Ab.push(a2):Ab=[a2]:zb=a2}function Fb(){if(zb){var a2=zb,b2=Ab;Ab=zb=null;Bb(a2);if(b2)for(a2=0;a2<b2.length;a2++)Bb(b2[a2])}}function Gb(a2,b2){return a2(b2)}function Hb(a2,b2,c2,d2,e2){return a2(b2,c2,d2,e2)}function Ib(){}var Jb=Gb,Kb=false,Lb=false;function Mb(){if(null!==zb||null!==Ab)Ib(),Fb()}function Nb(a2,b2,c2){if(Lb)return a2(b2,c2);Lb=true;try{return Jb(a2,b2,c2)}finally{Lb=false,Mb()}}function Ob(a2,b2){var c2=a2.stateNode;if(null===c2)return null;var d2=Db(c2);if(null===d2)return null;c2=d2[b2];a:switch(b2){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(d2=!d2.disabled)||(a2=a2.type,d2=!("button"===a2||"input"===a2||"select"===a2||"textarea"===a2));a2=!d2;break a;default:a2=false}if(a2)return null;if(c2&&"function"!==typeof c2)throw Error(y$3(231,b2,typeof c2));return c2}var Pb=false;if(fa)try{var Qb={};Object.defineProperty(Qb,"passive",{get:function(){Pb=true}});window.addEventListener("test",Qb,Qb);window.removeEventListener("test",Qb,Qb)}catch(a2){Pb=false}function Rb(a2,b2,c2,d2,e2,f2,g2,h2,k2){var l2=Array.prototype.slice.call(arguments,3);try{b2.apply(c2,l2)}catch(n2){this.onError(n2)}}var Sb=false,Tb=null,Ub=false,Vb=null,Wb={onError:function(a2){Sb=true;Tb=a2}};function Xb(a2,b2,c2,d2,e2,f2,g2,h2,k2){Sb=false;Tb=null;Rb.apply(Wb,arguments)}function Yb(a2,b2,c2,d2,e2,f2,g2,h2,k2){Xb.apply(this,arguments);if(Sb){if(Sb){var l2=Tb;Sb=false;Tb=null}else throw Error(y$3(198));Ub||(Ub=true,Vb=l2)}}function Zb(a2){var b2=a2,c2=a2;if(a2.alternate)for(;b2.return;)b2=b2.return;else{a2=b2;do{b2=a2,0!==(b2.flags&1026)&&(c2=b2.return),a2=b2.return}while(a2)}return 3===b2.tag?c2:null}function $b(a2){if(13===a2.tag){var b2=a2.memoizedState;null===b2&&(a2=a2.alternate,null!==a2&&(b2=a2.memoizedState));if(null!==b2)return b2.dehydrated}return null}function ac(a2){if(Zb(a2)!==a2)throw Error(y$3(188))}function bc(a2){var b2=a2.alternate;if(!b2){b2=Zb(a2);if(null===b2)throw Error(y$3(188));return b2!==a2?null:a2}for(var c2=a2,d2=b2;;){var e2=c2.return;if(null===e2)break;var f2=e2.alternate;if(null===f2){d2=e2.return;if(null!==d2){c2=d2;continue}break}if(e2.child===f2.child){for(f2=e2.child;f2;){if(f2===c2)return ac(e2),a2;if(f2===d2)return ac(e2),b2;f2=f2.sibling}throw Error(y$3(188))}if(c2.return!==d2.return)c2=e2,d2=f2;else{for(var g2=false,h2=e2.child;h2;){if(h2===c2){g2=true;c2=e2;d2=f2;break}if(h2===d2){g2=true;d2=e2;c2=f2;break}h2=h2.sibling}if(!g2){for(h2=f2.child;h2;){if(h2===c2){g2=true;c2=f2;d2=e2;break}if(h2===d2){g2=true;d2=f2;c2=e2;break}h2=h2.sibling}if(!g2)throw Error(y$3(189))}}if(c2.alternate!==d2)throw Error(y$3(190))}if(3!==c2.tag)throw Error(y$3(188));return c2.stateNode.current===c2?a2:b2}function cc(a2){a2=bc(a2);if(!a2)return null;for(var b2=a2;;){if(5===b2.tag||6===b2.tag)return b2;if(b2.child)b2.child.return=b2,b2=b2.child;else{if(b2===a2)break;for(;!b2.sibling;){if(!b2.return||b2.return===a2)return null;b2=b2.return}b2.sibling.return=b2.return;b2=b2.sibling}}return null}function dc(a2,b2){for(var c2=a2.alternate;null!==b2;){if(b2===a2||b2===c2)return true;b2=b2.return}return false}var ec,fc,gc,hc,ic=false,jc=[],kc=null,lc=null,mc=null,nc=new Map,oc=new Map,pc=[],qc="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function rc(a2,b2,c2,d2,e2){return{blockedOn:a2,domEventName:b2,eventSystemFlags:c2|16,nativeEvent:e2,targetContainers:[d2]}}function sc(a2,b2){switch(a2){case"focusin":case"focusout":kc=null;break;case"dragenter":case"dragleave":lc=null;break;case"mouseover":case"mouseout":mc=null;break;case"pointerover":case"pointerout":nc.delete(b2.pointerId);break;case"gotpointercapture":case"lostpointercapture":oc.delete(b2.pointerId)}}function tc(a2,b2,c2,d2,e2,f2){if(null===a2||a2.nativeEvent!==f2)return a2=rc(b2,c2,d2,e2,f2),null!==b2&&(b2=Cb(b2),null!==b2&&fc(b2)),a2;a2.eventSystemFlags|=d2;b2=a2.targetContainers;null!==e2&&-1===b2.indexOf(e2)&&b2.push(e2);return a2}function uc(a2,b2,c2,d2,e2){switch(b2){case"focusin":return kc=tc(kc,a2,b2,c2,d2,e2),true;case"dragenter":return lc=tc(lc,a2,b2,c2,d2,e2),true;case"mouseover":return mc=tc(mc,a2,b2,c2,d2,e2),true;case"pointerover":var f2=e2.pointerId;nc.set(f2,tc(nc.get(f2)||null,a2,b2,c2,d2,e2));return true;case"gotpointercapture":return f2=e2.pointerId,oc.set(f2,tc(oc.get(f2)||null,a2,b2,c2,d2,e2)),true}return false}function vc(a2){var b2=wc(a2.target);if(null!==b2){var c2=Zb(b2);if(null!==c2){if(b2=c2.tag,13===b2){if(b2=$b(c2),null!==b2){a2.blockedOn=b2;hc(a2.lanePriority,(function(){r$3.unstable_runWithPriority(a2.priority,(function(){gc(c2)}))}));return}}else if(3===b2&&c2.stateNode.hydrate){a2.blockedOn=3===c2.tag?c2.stateNode.containerInfo:null;return}}}a2.blockedOn=null}function xc(a2){if(null!==a2.blockedOn)return false;for(var b2=a2.targetContainers;0<b2.length;){var c2=yc(a2.domEventName,a2.eventSystemFlags,b2[0],a2.nativeEvent);if(null!==c2)return b2=Cb(c2),null!==b2&&fc(b2),a2.blockedOn=c2,false;b2.shift()}return true}function zc(a2,b2,c2){xc(a2)&&c2.delete(b2)}function Ac(){for(ic=false;0<jc.length;){var a2=jc[0];if(null!==a2.blockedOn){a2=Cb(a2.blockedOn);null!==a2&&ec(a2);break}for(var b2=a2.targetContainers;0<b2.length;){var c2=yc(a2.domEventName,a2.eventSystemFlags,b2[0],a2.nativeEvent);if(null!==c2){a2.blockedOn=c2;break}b2.shift()}null===a2.blockedOn&&jc.shift()}null!==kc&&xc(kc)&&(kc=null);null!==lc&&xc(lc)&&(lc=null);null!==mc&&xc(mc)&&(mc=null);nc.forEach(zc);oc.forEach(zc)}function Bc(a2,b2){a2.blockedOn===b2&&(a2.blockedOn=null,ic||(ic=true,r$3.unstable_scheduleCallback(r$3.unstable_NormalPriority,Ac)))}function Cc(a2){function b2(b3){return Bc(b3,a2)}if(0<jc.length){Bc(jc[0],a2);for(var c2=1;c2<jc.length;c2++){var d2=jc[c2];d2.blockedOn===a2&&(d2.blockedOn=null)}}null!==kc&&Bc(kc,a2);null!==lc&&Bc(lc,a2);null!==mc&&Bc(mc,a2);nc.forEach(b2);oc.forEach(b2);for(c2=0;c2<pc.length;c2++)d2=pc[c2],d2.blockedOn===a2&&(d2.blockedOn=null);for(;0<pc.length&&(c2=pc[0],null===c2.blockedOn);)vc(c2),null===c2.blockedOn&&pc.shift()}function Dc(a2,b2){var c2={};c2[a2.toLowerCase()]=b2.toLowerCase();c2["Webkit"+a2]="webkit"+b2;c2["Moz"+a2]="moz"+b2;return c2}var Ec={animationend:Dc("Animation","AnimationEnd"),animationiteration:Dc("Animation","AnimationIteration"),animationstart:Dc("Animation","AnimationStart"),transitionend:Dc("Transition","TransitionEnd")},Fc={},Gc={};fa&&(Gc=document.createElement("div").style,"AnimationEvent"in window||(delete Ec.animationend.animation,delete Ec.animationiteration.animation,delete Ec.animationstart.animation),"TransitionEvent"in window||delete Ec.transitionend.transition);function Hc(a2){if(Fc[a2])return Fc[a2];if(!Ec[a2])return a2;var b2=Ec[a2],c2;for(c2 in b2)if(b2.hasOwnProperty(c2)&&c2 in Gc)return Fc[a2]=b2[c2];return a2}var Ic=Hc("animationend"),Jc=Hc("animationiteration"),Kc=Hc("animationstart"),Lc=Hc("transitionend"),Mc=new Map,Nc=new Map,Oc=["abort","abort",Ic,"animationEnd",Jc,"animationIteration",Kc,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",Lc,"transitionEnd","waiting","waiting"];function Pc(a2,b2){for(var c2=0;c2<a2.length;c2+=2){var d2=a2[c2],e2=a2[c2+1];e2="on"+(e2[0].toUpperCase()+e2.slice(1));Nc.set(d2,b2);Mc.set(d2,e2);da(e2,[d2])}}var Qc=r$3.unstable_now;Qc();var F$1=8;function Rc(a2){if(0!==(1&a2))return F$1=15,1;if(0!==(2&a2))return F$1=14,2;if(0!==(4&a2))return F$1=13,4;var b2=24&a2;if(0!==b2)return F$1=12,b2;if(0!==(a2&32))return F$1=11,32;b2=192&a2;if(0!==b2)return F$1=10,b2;if(0!==(a2&256))return F$1=9,256;b2=3584&a2;if(0!==b2)return F$1=8,b2;if(0!==(a2&4096))return F$1=7,4096;b2=4186112&a2;if(0!==b2)return F$1=6,b2;b2=62914560&a2;if(0!==b2)return F$1=5,b2;if(a2&67108864)return F$1=4,67108864;if(0!==(a2&134217728))return F$1=3,134217728;b2=805306368&a2;if(0!==b2)return F$1=2,b2;if(0!==(1073741824&a2))return F$1=1,1073741824;F$1=8;return a2}function Sc(a2){switch(a2){case 99:return 15;case 98:return 10;case 97:case 96:return 8;case 95:return 2;default:return 0}}function Tc(a2){switch(a2){case 15:case 14:return 99;case 13:case 12:case 11:case 10:return 98;case 9:case 8:case 7:case 6:case 4:case 5:return 97;case 3:case 2:case 1:return 95;case 0:return 90;default:throw Error(y$3(358,a2))}}function Uc(a2,b2){var c2=a2.pendingLanes;if(0===c2)return F$1=0;var d2=0,e2=0,f2=a2.expiredLanes,g2=a2.suspendedLanes,h2=a2.pingedLanes;if(0!==f2)d2=f2,e2=F$1=15;else if(f2=c2&134217727,0!==f2){var k2=f2&~g2;0!==k2?(d2=Rc(k2),e2=F$1):(h2&=f2,0!==h2&&(d2=Rc(h2),e2=F$1))}else f2=c2&~g2,0!==f2?(d2=Rc(f2),e2=F$1):0!==h2&&(d2=Rc(h2),e2=F$1);if(0===d2)return 0;d2=31-Vc(d2);d2=c2&((0>d2?0:1<<d2)<<1)-1;if(0!==b2&&b2!==d2&&0===(b2&g2)){Rc(b2);if(e2<=F$1)return b2;F$1=e2}b2=a2.entangledLanes;if(0!==b2)for(a2=a2.entanglements,b2&=d2;0<b2;)c2=31-Vc(b2),e2=1<<c2,d2|=a2[c2],b2&=~e2;return d2}function Wc(a2){a2=a2.pendingLanes&-1073741825;return 0!==a2?a2:a2&1073741824?1073741824:0}function Xc(a2,b2){switch(a2){case 15:return 1;case 14:return 2;case 12:return a2=Yc(24&~b2),0===a2?Xc(10,b2):a2;case 10:return a2=Yc(192&~b2),0===a2?Xc(8,b2):a2;case 8:return a2=Yc(3584&~b2),0===a2&&(a2=Yc(4186112&~b2),0===a2&&(a2=512)),a2;case 2:return b2=Yc(805306368&~b2),0===b2&&(b2=268435456),b2}throw Error(y$3(358,a2))}function Yc(a2){return a2&-a2}function Zc(a2){for(var b2=[],c2=0;31>c2;c2++)b2.push(a2);return b2}function $c(a2,b2,c2){a2.pendingLanes|=b2;var d2=b2-1;a2.suspendedLanes&=d2;a2.pingedLanes&=d2;a2=a2.eventTimes;b2=31-Vc(b2);a2[b2]=c2}var Vc=Math.clz32?Math.clz32:ad,bd=Math.log,cd=Math.LN2;function ad(a2){return 0===a2?32:31-(bd(a2)/cd|0)|0}var dd=r$3.unstable_UserBlockingPriority,ed=r$3.unstable_runWithPriority,fd=true;function gd(a2,b2,c2,d2){Kb||Ib();var e2=hd,f2=Kb;Kb=true;try{Hb(e2,a2,b2,c2,d2)}finally{(Kb=f2)||Mb()}}function id(a2,b2,c2,d2){ed(dd,hd.bind(null,a2,b2,c2,d2))}function hd(a2,b2,c2,d2){if(fd){var e2;if((e2=0===(b2&4))&&0<jc.length&&-1<qc.indexOf(a2))a2=rc(null,a2,b2,c2,d2),jc.push(a2);else{var f2=yc(a2,b2,c2,d2);if(null===f2)e2&&sc(a2,d2);else{if(e2){if(-1<qc.indexOf(a2)){a2=rc(f2,a2,b2,c2,d2);jc.push(a2);return}if(uc(f2,a2,b2,c2,d2))return;sc(a2,d2)}jd(a2,b2,d2,null,c2)}}}}function yc(a2,b2,c2,d2){var e2=xb(d2);e2=wc(e2);if(null!==e2){var f2=Zb(e2);if(null===f2)e2=null;else{var g2=f2.tag;if(13===g2){e2=$b(f2);if(null!==e2)return e2;e2=null}else if(3===g2){if(f2.stateNode.hydrate)return 3===f2.tag?f2.stateNode.containerInfo:null;e2=null}else f2!==e2&&(e2=null)}}jd(a2,b2,d2,e2,c2);return null}var kd=null,ld=null,md=null;function nd(){if(md)return md;var a2,b2=ld,c2=b2.length,d2,e2="value"in kd?kd.value:kd.textContent,f2=e2.length;for(a2=0;a2<c2&&b2[a2]===e2[a2];a2++);var g2=c2-a2;for(d2=1;d2<=g2&&b2[c2-d2]===e2[f2-d2];d2++);return md=e2.slice(a2,1<d2?1-d2:void 0)}function od(a2){var b2=a2.keyCode;"charCode"in a2?(a2=a2.charCode,0===a2&&13===b2&&(a2=13)):a2=b2;10===a2&&(a2=13);return 32<=a2||13===a2?a2:0}function pd(){return true}function qd(){return false}function rd(a2){function b2(b3,d2,e2,f2,g2){this._reactName=b3;this._targetInst=e2;this.type=d2;this.nativeEvent=f2;this.target=g2;this.currentTarget=null;for(var c2 in a2)a2.hasOwnProperty(c2)&&(b3=a2[c2],this[c2]=b3?b3(f2):f2[c2]);this.isDefaultPrevented=(null!=f2.defaultPrevented?f2.defaultPrevented:false===f2.returnValue)?pd:qd;this.isPropagationStopped=qd;return this}m$3(b2.prototype,{preventDefault:function(){this.defaultPrevented=true;var a3=this.nativeEvent;a3&&(a3.preventDefault?a3.preventDefault():"unknown"!==typeof a3.returnValue&&(a3.returnValue=false),this.isDefaultPrevented=pd)},stopPropagation:function(){var a3=this.nativeEvent;a3&&(a3.stopPropagation?a3.stopPropagation():"unknown"!==typeof a3.cancelBubble&&(a3.cancelBubble=true),this.isPropagationStopped=pd)},persist:function(){},isPersistent:pd});return b2}var sd={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(a2){return a2.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},td=rd(sd),ud=m$3({},sd,{view:0,detail:0}),vd=rd(ud),wd,xd,yd,Ad=m$3({},ud,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:zd,button:0,buttons:0,relatedTarget:function(a2){return void 0===a2.relatedTarget?a2.fromElement===a2.srcElement?a2.toElement:a2.fromElement:a2.relatedTarget},movementX:function(a2){if("movementX"in a2)return a2.movementX;a2!==yd&&(yd&&"mousemove"===a2.type?(wd=a2.screenX-yd.screenX,xd=a2.screenY-yd.screenY):xd=wd=0,yd=a2);return wd},movementY:function(a2){return"movementY"in a2?a2.movementY:xd}}),Bd=rd(Ad),Cd=m$3({},Ad,{dataTransfer:0}),Dd=rd(Cd),Ed=m$3({},ud,{relatedTarget:0}),Fd=rd(Ed),Gd=m$3({},sd,{animationName:0,elapsedTime:0,pseudoElement:0}),Hd=rd(Gd),Id=m$3({},sd,{clipboardData:function(a2){return"clipboardData"in a2?a2.clipboardData:window.clipboardData}}),Jd=rd(Id),Kd=m$3({},sd,{data:0}),Ld=rd(Kd),Md={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Nd={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Od={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Pd(a2){var b2=this.nativeEvent;return b2.getModifierState?b2.getModifierState(a2):(a2=Od[a2])?!!b2[a2]:false}function zd(){return Pd}var Qd=m$3({},ud,{key:function(a2){if(a2.key){var b2=Md[a2.key]||a2.key;if("Unidentified"!==b2)return b2}return"keypress"===a2.type?(a2=od(a2),13===a2?"Enter":String.fromCharCode(a2)):"keydown"===a2.type||"keyup"===a2.type?Nd[a2.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:zd,charCode:function(a2){return"keypress"===a2.type?od(a2):0},keyCode:function(a2){return"keydown"===a2.type||"keyup"===a2.type?a2.keyCode:0},which:function(a2){return"keypress"===a2.type?od(a2):"keydown"===a2.type||"keyup"===a2.type?a2.keyCode:0}}),Rd=rd(Qd),Sd=m$3({},Ad,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Td=rd(Sd),Ud=m$3({},ud,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:zd}),Vd=rd(Ud),Wd=m$3({},sd,{propertyName:0,elapsedTime:0,pseudoElement:0}),Xd=rd(Wd),Yd=m$3({},Ad,{deltaX:function(a2){return"deltaX"in a2?a2.deltaX:"wheelDeltaX"in a2?-a2.wheelDeltaX:0},deltaY:function(a2){return"deltaY"in a2?a2.deltaY:"wheelDeltaY"in a2?-a2.wheelDeltaY:"wheelDelta"in a2?-a2.wheelDelta:0},deltaZ:0,deltaMode:0}),Zd=rd(Yd),$d=[9,13,27,32],ae=fa&&"CompositionEvent"in window,be=null;fa&&"documentMode"in document&&(be=document.documentMode);var ce=fa&&"TextEvent"in window&&!be,de=fa&&(!ae||be&&8<be&&11>=be),ee=String.fromCharCode(32),fe=false;function ge(a2,b2){switch(a2){case"keyup":return-1!==$d.indexOf(b2.keyCode);case"keydown":return 229!==b2.keyCode;case"keypress":case"mousedown":case"focusout":return true;default:return false}}function he(a2){a2=a2.detail;return"object"===typeof a2&&"data"in a2?a2.data:null}var ie=false;function je(a2,b2){switch(a2){case"compositionend":return he(b2);case"keypress":if(32!==b2.which)return null;fe=true;return ee;case"textInput":return a2=b2.data,a2===ee&&fe?null:a2;default:return null}}function ke(a2,b2){if(ie)return"compositionend"===a2||!ae&&ge(a2,b2)?(a2=nd(),md=ld=kd=null,ie=false,a2):null;switch(a2){case"paste":return null;case"keypress":if(!(b2.ctrlKey||b2.altKey||b2.metaKey)||b2.ctrlKey&&b2.altKey){if(b2.char&&1<b2.char.length)return b2.char;if(b2.which)return String.fromCharCode(b2.which)}return null;case"compositionend":return de&&"ko"!==b2.locale?null:b2.data;default:return null}}var le={color:true,date:true,datetime:true,"datetime-local":true,email:true,month:true,number:true,password:true,range:true,search:true,tel:true,text:true,time:true,url:true,week:true};function me(a2){var b2=a2&&a2.nodeName&&a2.nodeName.toLowerCase();return"input"===b2?!!le[a2.type]:"textarea"===b2?true:false}function ne(a2,b2,c2,d2){Eb(d2);b2=oe(b2,"onChange");0<b2.length&&(c2=new td("onChange","change",null,c2,d2),a2.push({event:c2,listeners:b2}))}var pe=null,qe=null;function re(a2){se(a2,0)}function te(a2){var b2=ue(a2);if(Wa(b2))return a2}function ve(a2,b2){if("change"===a2)return b2}var we=false;if(fa){var xe;if(fa){var ye="oninput"in document;if(!ye){var ze=document.createElement("div");ze.setAttribute("oninput","return;");ye="function"===typeof ze.oninput}xe=ye}else xe=false;we=xe&&(!document.documentMode||9<document.documentMode)}function Ae(){pe&&(pe.detachEvent("onpropertychange",Be),qe=pe=null)}function Be(a2){if("value"===a2.propertyName&&te(qe)){var b2=[];ne(b2,qe,a2,xb(a2));a2=re;if(Kb)a2(b2);else{Kb=true;try{Gb(a2,b2)}finally{Kb=false,Mb()}}}}function Ce(a2,b2,c2){"focusin"===a2?(Ae(),pe=b2,qe=c2,pe.attachEvent("onpropertychange",Be)):"focusout"===a2&&Ae()}function De(a2){if("selectionchange"===a2||"keyup"===a2||"keydown"===a2)return te(qe)}function Ee(a2,b2){if("click"===a2)return te(b2)}function Fe(a2,b2){if("input"===a2||"change"===a2)return te(b2)}function Ge(a2,b2){return a2===b2&&(0!==a2||1/a2===1/b2)||a2!==a2&&b2!==b2}var He="function"===typeof Object.is?Object.is:Ge,Ie=Object.prototype.hasOwnProperty;function Je(a2,b2){if(He(a2,b2))return true;if("object"!==typeof a2||null===a2||"object"!==typeof b2||null===b2)return false;var c2=Object.keys(a2),d2=Object.keys(b2);if(c2.length!==d2.length)return false;for(d2=0;d2<c2.length;d2++)if(!Ie.call(b2,c2[d2])||!He(a2[c2[d2]],b2[c2[d2]]))return false;return true}function Ke(a2){for(;a2&&a2.firstChild;)a2=a2.firstChild;return a2}function Le(a2,b2){var c2=Ke(a2);a2=0;for(var d2;c2;){if(3===c2.nodeType){d2=a2+c2.textContent.length;if(a2<=b2&&d2>=b2)return{node:c2,offset:b2-a2};a2=d2}a:{for(;c2;){if(c2.nextSibling){c2=c2.nextSibling;break a}c2=c2.parentNode}c2=void 0}c2=Ke(c2)}}function Me(a2,b2){return a2&&b2?a2===b2?true:a2&&3===a2.nodeType?false:b2&&3===b2.nodeType?Me(a2,b2.parentNode):"contains"in a2?a2.contains(b2):a2.compareDocumentPosition?!!(a2.compareDocumentPosition(b2)&16):false:false}function Ne(){for(var a2=window,b2=Xa();b2 instanceof a2.HTMLIFrameElement;){try{var c2="string"===typeof b2.contentWindow.location.href}catch(d2){c2=false}if(c2)a2=b2.contentWindow;else break;b2=Xa(a2.document)}return b2}function Oe(a2){var b2=a2&&a2.nodeName&&a2.nodeName.toLowerCase();return b2&&("input"===b2&&("text"===a2.type||"search"===a2.type||"tel"===a2.type||"url"===a2.type||"password"===a2.type)||"textarea"===b2||"true"===a2.contentEditable)}var Pe=fa&&"documentMode"in document&&11>=document.documentMode,Qe=null,Re=null,Se=null,Te=false;function Ue(a2,b2,c2){var d2=c2.window===c2?c2.document:9===c2.nodeType?c2:c2.ownerDocument;Te||null==Qe||Qe!==Xa(d2)||(d2=Qe,"selectionStart"in d2&&Oe(d2)?d2={start:d2.selectionStart,end:d2.selectionEnd}:(d2=(d2.ownerDocument&&d2.ownerDocument.defaultView||window).getSelection(),d2={anchorNode:d2.anchorNode,anchorOffset:d2.anchorOffset,focusNode:d2.focusNode,focusOffset:d2.focusOffset}),Se&&Je(Se,d2)||(Se=d2,d2=oe(Re,"onSelect"),0<d2.length&&(b2=new td("onSelect","select",null,b2,c2),a2.push({event:b2,listeners:d2}),b2.target=Qe)))}Pc("cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focusin focus focusout blur input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0);Pc("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1);Pc(Oc,2);for(var Ve="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),We=0;We<Ve.length;We++)Nc.set(Ve[We],0);ea("onMouseEnter",["mouseout","mouseover"]);ea("onMouseLeave",["mouseout","mouseover"]);ea("onPointerEnter",["pointerout","pointerover"]);ea("onPointerLeave",["pointerout","pointerover"]);da("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));da("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));da("onBeforeInput",["compositionend","keypress","textInput","paste"]);da("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));da("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));da("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Xe="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Ye=new Set("cancel close invalid load scroll toggle".split(" ").concat(Xe));function Ze(a2,b2,c2){var d2=a2.type||"unknown-event";a2.currentTarget=c2;Yb(d2,b2,void 0,a2);a2.currentTarget=null}function se(a2,b2){b2=0!==(b2&4);for(var c2=0;c2<a2.length;c2++){var d2=a2[c2],e2=d2.event;d2=d2.listeners;a:{var f2=void 0;if(b2)for(var g2=d2.length-1;0<=g2;g2--){var h2=d2[g2],k2=h2.instance,l2=h2.currentTarget;h2=h2.listener;if(k2!==f2&&e2.isPropagationStopped())break a;Ze(e2,h2,l2);f2=k2}else for(g2=0;g2<d2.length;g2++){h2=d2[g2];k2=h2.instance;l2=h2.currentTarget;h2=h2.listener;if(k2!==f2&&e2.isPropagationStopped())break a;Ze(e2,h2,l2);f2=k2}}}if(Ub)throw a2=Vb,Ub=false,Vb=null,a2}function G(a2,b2){var c2=$e(b2),d2=a2+"__bubble";c2.has(d2)||(af(b2,a2,2,false),c2.add(d2))}var bf="_reactListening"+Math.random().toString(36).slice(2);function cf(a2){a2[bf]||(a2[bf]=true,ba.forEach((function(b2){Ye.has(b2)||df(b2,false,a2,null);df(b2,true,a2,null)})))}function df(a2,b2,c2,d2){var e2=4<arguments.length&&void 0!==arguments[4]?arguments[4]:0,f2=c2;"selectionchange"===a2&&9!==c2.nodeType&&(f2=c2.ownerDocument);var g2=$e(f2),h2=a2+"__"+(b2?"capture":"bubble");g2.has(h2)||(b2&&(e2|=4),af(f2,a2,e2,b2),g2.add(h2))}function af(a2,b2,c2,d2){var e2=Nc.get(b2);switch(void 0===e2?2:e2){case 0:e2=gd;break;case 1:e2=id;break;default:e2=hd}c2=e2.bind(null,b2,c2,a2);e2=void 0;!Pb||"touchstart"!==b2&&"touchmove"!==b2&&"wheel"!==b2||(e2=true);d2?void 0!==e2?a2.addEventListener(b2,c2,{capture:true,passive:e2}):a2.addEventListener(b2,c2,true):void 0!==e2?a2.addEventListener(b2,c2,{passive:e2}):a2.addEventListener(b2,c2,false)}function jd(a2,b2,c2,d2,e2){var f2=d2;if(0===(b2&1)&&0===(b2&2)&&null!==d2)a:for(;;){if(null===d2)return;var g2=d2.tag;if(3===g2||4===g2){var h2=d2.stateNode.containerInfo;if(h2===e2||8===h2.nodeType&&h2.parentNode===e2)break;if(4===g2)for(g2=d2.return;null!==g2;){var k2=g2.tag;if(3===k2||4===k2){if(k2=g2.stateNode.containerInfo,k2===e2||8===k2.nodeType&&k2.parentNode===e2)return}g2=g2.return}for(;null!==h2;){g2=wc(h2);if(null===g2)return;k2=g2.tag;if(5===k2||6===k2){d2=f2=g2;continue a}h2=h2.parentNode}}d2=d2.return}Nb((function(){var d3=f2,e3=xb(c2),g3=[];a:{var h3=Mc.get(a2);if(void 0!==h3){var k3=td,x2=a2;switch(a2){case"keypress":if(0===od(c2))break a;case"keydown":case"keyup":k3=Rd;break;case"focusin":x2="focus";k3=Fd;break;case"focusout":x2="blur";k3=Fd;break;case"beforeblur":case"afterblur":k3=Fd;break;case"click":if(2===c2.button)break a;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":k3=Bd;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":k3=Dd;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":k3=Vd;break;case Ic:case Jc:case Kc:k3=Hd;break;case Lc:k3=Xd;break;case"scroll":k3=vd;break;case"wheel":k3=Zd;break;case"copy":case"cut":case"paste":k3=Jd;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":k3=Td}var w2=0!==(b2&4),z2=!w2&&"scroll"===a2,u2=w2?null!==h3?h3+"Capture":null:h3;w2=[];for(var t2=d3,q2;null!==t2;){q2=t2;var v2=q2.stateNode;5===q2.tag&&null!==v2&&(q2=v2,null!==u2&&(v2=Ob(t2,u2),null!=v2&&w2.push(ef(t2,v2,q2))));if(z2)break;t2=t2.return}0<w2.length&&(h3=new k3(h3,x2,null,c2,e3),g3.push({event:h3,listeners:w2}))}}if(0===(b2&7)){a:{h3="mouseover"===a2||"pointerover"===a2;k3="mouseout"===a2||"pointerout"===a2;if(h3&&0===(b2&16)&&(x2=c2.relatedTarget||c2.fromElement)&&(wc(x2)||x2[ff]))break a;if(k3||h3){h3=e3.window===e3?e3:(h3=e3.ownerDocument)?h3.defaultView||h3.parentWindow:window;if(k3){if(x2=c2.relatedTarget||c2.toElement,k3=d3,x2=x2?wc(x2):null,null!==x2&&(z2=Zb(x2),x2!==z2||5!==x2.tag&&6!==x2.tag))x2=null}else k3=null,x2=d3;if(k3!==x2){w2=Bd;v2="onMouseLeave";u2="onMouseEnter";t2="mouse";if("pointerout"===a2||"pointerover"===a2)w2=Td,v2="onPointerLeave",u2="onPointerEnter",t2="pointer";z2=null==k3?h3:ue(k3);q2=null==x2?h3:ue(x2);h3=new w2(v2,t2+"leave",k3,c2,e3);h3.target=z2;h3.relatedTarget=q2;v2=null;wc(e3)===d3&&(w2=new w2(u2,t2+"enter",x2,c2,e3),w2.target=q2,w2.relatedTarget=z2,v2=w2);z2=v2;if(k3&&x2)b:{w2=k3;u2=x2;t2=0;for(q2=w2;q2;q2=gf(q2))t2++;q2=0;for(v2=u2;v2;v2=gf(v2))q2++;for(;0<t2-q2;)w2=gf(w2),t2--;for(;0<q2-t2;)u2=gf(u2),q2--;for(;t2--;){if(w2===u2||null!==u2&&w2===u2.alternate)break b;w2=gf(w2);u2=gf(u2)}w2=null}else w2=null;null!==k3&&hf(g3,h3,k3,w2,false);null!==x2&&null!==z2&&hf(g3,z2,x2,w2,true)}}}a:{h3=d3?ue(d3):window;k3=h3.nodeName&&h3.nodeName.toLowerCase();if("select"===k3||"input"===k3&&"file"===h3.type)var J=ve;else if(me(h3))if(we)J=Fe;else{J=De;var K=Ce}else(k3=h3.nodeName)&&"input"===k3.toLowerCase()&&("checkbox"===h3.type||"radio"===h3.type)&&(J=Ee);if(J&&(J=J(a2,d3))){ne(g3,J,c2,e3);break a}K&&K(a2,h3,d3);"focusout"===a2&&(K=h3._wrapperState)&&K.controlled&&"number"===h3.type&&bb(h3,"number",h3.value)}K=d3?ue(d3):window;switch(a2){case"focusin":if(me(K)||"true"===K.contentEditable)Qe=K,Re=d3,Se=null;break;case"focusout":Se=Re=Qe=null;break;case"mousedown":Te=true;break;case"contextmenu":case"mouseup":case"dragend":Te=false;Ue(g3,c2,e3);break;case"selectionchange":if(Pe)break;case"keydown":case"keyup":Ue(g3,c2,e3)}var Q;if(ae)b:{switch(a2){case"compositionstart":var L2="onCompositionStart";break b;case"compositionend":L2="onCompositionEnd";break b;case"compositionupdate":L2="onCompositionUpdate";break b}L2=void 0}else ie?ge(a2,c2)&&(L2="onCompositionEnd"):"keydown"===a2&&229===c2.keyCode&&(L2="onCompositionStart");L2&&(de&&"ko"!==c2.locale&&(ie||"onCompositionStart"!==L2?"onCompositionEnd"===L2&&ie&&(Q=nd()):(kd=e3,ld="value"in kd?kd.value:kd.textContent,ie=true)),K=oe(d3,L2),0<K.length&&(L2=new Ld(L2,a2,null,c2,e3),g3.push({event:L2,listeners:K}),Q?L2.data=Q:(Q=he(c2),null!==Q&&(L2.data=Q))));if(Q=ce?je(a2,c2):ke(a2,c2))d3=oe(d3,"onBeforeInput"),0<d3.length&&(e3=new Ld("onBeforeInput","beforeinput",null,c2,e3),g3.push({event:e3,listeners:d3}),e3.data=Q)}se(g3,b2)}))}function ef(a2,b2,c2){return{instance:a2,listener:b2,currentTarget:c2}}function oe(a2,b2){for(var c2=b2+"Capture",d2=[];null!==a2;){var e2=a2,f2=e2.stateNode;5===e2.tag&&null!==f2&&(e2=f2,f2=Ob(a2,c2),null!=f2&&d2.unshift(ef(a2,f2,e2)),f2=Ob(a2,b2),null!=f2&&d2.push(ef(a2,f2,e2)));a2=a2.return}return d2}function gf(a2){if(null===a2)return null;do{a2=a2.return}while(a2&&5!==a2.tag);return a2?a2:null}function hf(a2,b2,c2,d2,e2){for(var f2=b2._reactName,g2=[];null!==c2&&c2!==d2;){var h2=c2,k2=h2.alternate,l2=h2.stateNode;if(null!==k2&&k2===d2)break;5===h2.tag&&null!==l2&&(h2=l2,e2?(k2=Ob(c2,f2),null!=k2&&g2.unshift(ef(c2,k2,h2))):e2||(k2=Ob(c2,f2),null!=k2&&g2.push(ef(c2,k2,h2))));c2=c2.return}0!==g2.length&&a2.push({event:b2,listeners:g2})}function jf(){}var kf=null,lf=null;function mf(a2,b2){switch(a2){case"button":case"input":case"select":case"textarea":return!!b2.autoFocus}return false}function nf(a2,b2){return"textarea"===a2||"option"===a2||"noscript"===a2||"string"===typeof b2.children||"number"===typeof b2.children||"object"===typeof b2.dangerouslySetInnerHTML&&null!==b2.dangerouslySetInnerHTML&&null!=b2.dangerouslySetInnerHTML.__html}var of="function"===typeof setTimeout?setTimeout:void 0,pf="function"===typeof clearTimeout?clearTimeout:void 0;function qf(a2){1===a2.nodeType?a2.textContent="":9===a2.nodeType&&(a2=a2.body,null!=a2&&(a2.textContent=""))}function rf(a2){for(;null!=a2;a2=a2.nextSibling){var b2=a2.nodeType;if(1===b2||3===b2)break}return a2}function sf(a2){a2=a2.previousSibling;for(var b2=0;a2;){if(8===a2.nodeType){var c2=a2.data;if("$"===c2||"$!"===c2||"$?"===c2){if(0===b2)return a2;b2--}else"/$"===c2&&b2++}a2=a2.previousSibling}return null}var tf=0;function uf(a2){return{$$typeof:Ga,toString:a2,valueOf:a2}}var vf=Math.random().toString(36).slice(2),wf="__reactFiber$"+vf,xf="__reactProps$"+vf,ff="__reactContainer$"+vf,yf="__reactEvents$"+vf;function wc(a2){var b2=a2[wf];if(b2)return b2;for(var c2=a2.parentNode;c2;){if(b2=c2[ff]||c2[wf]){c2=b2.alternate;if(null!==b2.child||null!==c2&&null!==c2.child)for(a2=sf(a2);null!==a2;){if(c2=a2[wf])return c2;a2=sf(a2)}return b2}a2=c2;c2=a2.parentNode}return null}function Cb(a2){a2=a2[wf]||a2[ff];return!a2||5!==a2.tag&&6!==a2.tag&&13!==a2.tag&&3!==a2.tag?null:a2}function ue(a2){if(5===a2.tag||6===a2.tag)return a2.stateNode;throw Error(y$3(33))}function Db(a2){return a2[xf]||null}function $e(a2){var b2=a2[yf];void 0===b2&&(b2=a2[yf]=new Set);return b2}var zf=[],Af=-1;function Bf(a2){return{current:a2}}function H$1(a2){0>Af||(a2.current=zf[Af],zf[Af]=null,Af--)}function I(a2,b2){Af++;zf[Af]=a2.current;a2.current=b2}var Cf={},M=Bf(Cf),N=Bf(false),Df=Cf;function Ef(a2,b2){var c2=a2.type.contextTypes;if(!c2)return Cf;var d2=a2.stateNode;if(d2&&d2.__reactInternalMemoizedUnmaskedChildContext===b2)return d2.__reactInternalMemoizedMaskedChildContext;var e2={},f2;for(f2 in c2)e2[f2]=b2[f2];d2&&(a2=a2.stateNode,a2.__reactInternalMemoizedUnmaskedChildContext=b2,a2.__reactInternalMemoizedMaskedChildContext=e2);return e2}function Ff(a2){a2=a2.childContextTypes;return null!==a2&&void 0!==a2}function Gf(){H$1(N);H$1(M)}function Hf(a2,b2,c2){if(M.current!==Cf)throw Error(y$3(168));I(M,b2);I(N,c2)}function If(a2,b2,c2){var d2=a2.stateNode;a2=b2.childContextTypes;if("function"!==typeof d2.getChildContext)return c2;d2=d2.getChildContext();for(var e2 in d2)if(!(e2 in a2))throw Error(y$3(108,Ra(b2)||"Unknown",e2));return m$3({},c2,d2)}function Jf(a2){a2=(a2=a2.stateNode)&&a2.__reactInternalMemoizedMergedChildContext||Cf;Df=M.current;I(M,a2);I(N,N.current);return true}function Kf(a2,b2,c2){var d2=a2.stateNode;if(!d2)throw Error(y$3(169));c2?(a2=If(a2,b2,Df),d2.__reactInternalMemoizedMergedChildContext=a2,H$1(N),H$1(M),I(M,a2)):H$1(N);I(N,c2)}var Lf=null,Mf=null,Nf=r$3.unstable_runWithPriority,Of=r$3.unstable_scheduleCallback,Pf=r$3.unstable_cancelCallback,Qf=r$3.unstable_shouldYield,Rf=r$3.unstable_requestPaint,Sf=r$3.unstable_now,Tf=r$3.unstable_getCurrentPriorityLevel,Uf=r$3.unstable_ImmediatePriority,Vf=r$3.unstable_UserBlockingPriority,Wf=r$3.unstable_NormalPriority,Xf=r$3.unstable_LowPriority,Yf=r$3.unstable_IdlePriority,Zf={},$f=void 0!==Rf?Rf:function(){},ag=null,bg=null,cg=false,dg=Sf(),O$1=1e4>dg?Sf:function(){return Sf()-dg};function eg(){switch(Tf()){case Uf:return 99;case Vf:return 98;case Wf:return 97;case Xf:return 96;case Yf:return 95;default:throw Error(y$3(332))}}function fg(a2){switch(a2){case 99:return Uf;case 98:return Vf;case 97:return Wf;case 96:return Xf;case 95:return Yf;default:throw Error(y$3(332))}}function gg(a2,b2){a2=fg(a2);return Nf(a2,b2)}function hg(a2,b2,c2){a2=fg(a2);return Of(a2,b2,c2)}function ig(){if(null!==bg){var a2=bg;bg=null;Pf(a2)}jg()}function jg(){if(!cg&&null!==ag){cg=true;var a2=0;try{var b2=ag;gg(99,(function(){for(;a2<b2.length;a2++){var c2=b2[a2];do{c2=c2(true)}while(null!==c2)}}));ag=null}catch(c2){throw null!==ag&&(ag=ag.slice(a2+1)),Of(Uf,ig),c2}finally{cg=false}}}var kg=ra.ReactCurrentBatchConfig;function lg(a2,b2){if(a2&&a2.defaultProps){b2=m$3({},b2);a2=a2.defaultProps;for(var c2 in a2)void 0===b2[c2]&&(b2[c2]=a2[c2]);return b2}return b2}var mg=Bf(null),ng=null,og=null,pg=null;function qg(){pg=og=ng=null}function rg(a2){var b2=mg.current;H$1(mg);a2.type._context._currentValue=b2}function sg(a2,b2){for(;null!==a2;){var c2=a2.alternate;if((a2.childLanes&b2)===b2)if(null===c2||(c2.childLanes&b2)===b2)break;else c2.childLanes|=b2;else a2.childLanes|=b2,null!==c2&&(c2.childLanes|=b2);a2=a2.return}}function tg(a2,b2){ng=a2;pg=og=null;a2=a2.dependencies;null!==a2&&null!==a2.firstContext&&(0!==(a2.lanes&b2)&&(ug=true),a2.firstContext=null)}function vg(a2,b2){if(pg!==a2&&false!==b2&&0!==b2){if("number"!==typeof b2||1073741823===b2)pg=a2,b2=1073741823;b2={context:a2,observedBits:b2,next:null};if(null===og){if(null===ng)throw Error(y$3(308));og=b2;ng.dependencies={lanes:0,firstContext:b2,responders:null}}else og=og.next=b2}return a2._currentValue}var wg=false;function xg(a2){a2.updateQueue={baseState:a2.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null},effects:null}}function yg(a2,b2){a2=a2.updateQueue;b2.updateQueue===a2&&(b2.updateQueue={baseState:a2.baseState,firstBaseUpdate:a2.firstBaseUpdate,lastBaseUpdate:a2.lastBaseUpdate,shared:a2.shared,effects:a2.effects})}function zg(a2,b2){return{eventTime:a2,lane:b2,tag:0,payload:null,callback:null,next:null}}function Ag(a2,b2){a2=a2.updateQueue;if(null!==a2){a2=a2.shared;var c2=a2.pending;null===c2?b2.next=b2:(b2.next=c2.next,c2.next=b2);a2.pending=b2}}function Bg(a2,b2){var c2=a2.updateQueue,d2=a2.alternate;if(null!==d2&&(d2=d2.updateQueue,c2===d2)){var e2=null,f2=null;c2=c2.firstBaseUpdate;if(null!==c2){do{var g2={eventTime:c2.eventTime,lane:c2.lane,tag:c2.tag,payload:c2.payload,callback:c2.callback,next:null};null===f2?e2=f2=g2:f2=f2.next=g2;c2=c2.next}while(null!==c2);null===f2?e2=f2=b2:f2=f2.next=b2}else e2=f2=b2;c2={baseState:d2.baseState,firstBaseUpdate:e2,lastBaseUpdate:f2,shared:d2.shared,effects:d2.effects};a2.updateQueue=c2;return}a2=c2.lastBaseUpdate;null===a2?c2.firstBaseUpdate=b2:a2.next=b2;c2.lastBaseUpdate=b2}function Cg(a2,b2,c2,d2){var e2=a2.updateQueue;wg=false;var f2=e2.firstBaseUpdate,g2=e2.lastBaseUpdate,h2=e2.shared.pending;if(null!==h2){e2.shared.pending=null;var k2=h2,l2=k2.next;k2.next=null;null===g2?f2=l2:g2.next=l2;g2=k2;var n2=a2.alternate;if(null!==n2){n2=n2.updateQueue;var A2=n2.lastBaseUpdate;A2!==g2&&(null===A2?n2.firstBaseUpdate=l2:A2.next=l2,n2.lastBaseUpdate=k2)}}if(null!==f2){A2=e2.baseState;g2=0;n2=l2=k2=null;do{h2=f2.lane;var p2=f2.eventTime;if((d2&h2)===h2){null!==n2&&(n2=n2.next={eventTime:p2,lane:0,tag:f2.tag,payload:f2.payload,callback:f2.callback,next:null});a:{var C2=a2,x2=f2;h2=b2;p2=c2;switch(x2.tag){case 1:C2=x2.payload;if("function"===typeof C2){A2=C2.call(p2,A2,h2);break a}A2=C2;break a;case 3:C2.flags=C2.flags&-4097|64;case 0:C2=x2.payload;h2="function"===typeof C2?C2.call(p2,A2,h2):C2;if(null===h2||void 0===h2)break a;A2=m$3({},A2,h2);break a;case 2:wg=true}}null!==f2.callback&&(a2.flags|=32,h2=e2.effects,null===h2?e2.effects=[f2]:h2.push(f2))}else p2={eventTime:p2,lane:h2,tag:f2.tag,payload:f2.payload,callback:f2.callback,next:null},null===n2?(l2=n2=p2,k2=A2):n2=n2.next=p2,g2|=h2;f2=f2.next;if(null===f2)if(h2=e2.shared.pending,null===h2)break;else f2=h2.next,h2.next=null,e2.lastBaseUpdate=h2,e2.shared.pending=null}while(1);null===n2&&(k2=A2);e2.baseState=k2;e2.firstBaseUpdate=l2;e2.lastBaseUpdate=n2;Dg|=g2;a2.lanes=g2;a2.memoizedState=A2}}function Eg(a2,b2,c2){a2=b2.effects;b2.effects=null;if(null!==a2)for(b2=0;b2<a2.length;b2++){var d2=a2[b2],e2=d2.callback;if(null!==e2){d2.callback=null;d2=c2;if("function"!==typeof e2)throw Error(y$3(191,e2));e2.call(d2)}}}var Fg=(new aa.Component).refs;function Gg(a2,b2,c2,d2){b2=a2.memoizedState;c2=c2(d2,b2);c2=null===c2||void 0===c2?b2:m$3({},b2,c2);a2.memoizedState=c2;0===a2.lanes&&(a2.updateQueue.baseState=c2)}var Kg={isMounted:function(a2){return(a2=a2._reactInternals)?Zb(a2)===a2:false},enqueueSetState:function(a2,b2,c2){a2=a2._reactInternals;var d2=Hg(),e2=Ig(a2),f2=zg(d2,e2);f2.payload=b2;void 0!==c2&&null!==c2&&(f2.callback=c2);Ag(a2,f2);Jg(a2,e2,d2)},enqueueReplaceState:function(a2,b2,c2){a2=a2._reactInternals;var d2=Hg(),e2=Ig(a2),f2=zg(d2,e2);f2.tag=1;f2.payload=b2;void 0!==c2&&null!==c2&&(f2.callback=c2);Ag(a2,f2);Jg(a2,e2,d2)},enqueueForceUpdate:function(a2,b2){a2=a2._reactInternals;var c2=Hg(),d2=Ig(a2),e2=zg(c2,d2);e2.tag=2;void 0!==b2&&null!==b2&&(e2.callback=b2);Ag(a2,e2);Jg(a2,d2,c2)}};function Lg(a2,b2,c2,d2,e2,f2,g2){a2=a2.stateNode;return"function"===typeof a2.shouldComponentUpdate?a2.shouldComponentUpdate(d2,f2,g2):b2.prototype&&b2.prototype.isPureReactComponent?!Je(c2,d2)||!Je(e2,f2):true}function Mg(a2,b2,c2){var d2=false,e2=Cf;var f2=b2.contextType;"object"===typeof f2&&null!==f2?f2=vg(f2):(e2=Ff(b2)?Df:M.current,d2=b2.contextTypes,f2=(d2=null!==d2&&void 0!==d2)?Ef(a2,e2):Cf);b2=new b2(c2,f2);a2.memoizedState=null!==b2.state&&void 0!==b2.state?b2.state:null;b2.updater=Kg;a2.stateNode=b2;b2._reactInternals=a2;d2&&(a2=a2.stateNode,a2.__reactInternalMemoizedUnmaskedChildContext=e2,a2.__reactInternalMemoizedMaskedChildContext=f2);return b2}function Ng(a2,b2,c2,d2){a2=b2.state;"function"===typeof b2.componentWillReceiveProps&&b2.componentWillReceiveProps(c2,d2);"function"===typeof b2.UNSAFE_componentWillReceiveProps&&b2.UNSAFE_componentWillReceiveProps(c2,d2);b2.state!==a2&&Kg.enqueueReplaceState(b2,b2.state,null)}function Og(a2,b2,c2,d2){var e2=a2.stateNode;e2.props=c2;e2.state=a2.memoizedState;e2.refs=Fg;xg(a2);var f2=b2.contextType;"object"===typeof f2&&null!==f2?e2.context=vg(f2):(f2=Ff(b2)?Df:M.current,e2.context=Ef(a2,f2));Cg(a2,c2,e2,d2);e2.state=a2.memoizedState;f2=b2.getDerivedStateFromProps;"function"===typeof f2&&(Gg(a2,b2,f2,c2),e2.state=a2.memoizedState);"function"===typeof b2.getDerivedStateFromProps||"function"===typeof e2.getSnapshotBeforeUpdate||"function"!==typeof e2.UNSAFE_componentWillMount&&"function"!==typeof e2.componentWillMount||(b2=e2.state,"function"===typeof e2.componentWillMount&&e2.componentWillMount(),"function"===typeof e2.UNSAFE_componentWillMount&&e2.UNSAFE_componentWillMount(),b2!==e2.state&&Kg.enqueueReplaceState(e2,e2.state,null),Cg(a2,c2,e2,d2),e2.state=a2.memoizedState);"function"===typeof e2.componentDidMount&&(a2.flags|=4)}var Pg=Array.isArray;function Qg(a2,b2,c2){a2=c2.ref;if(null!==a2&&"function"!==typeof a2&&"object"!==typeof a2){if(c2._owner){c2=c2._owner;if(c2){if(1!==c2.tag)throw Error(y$3(309));var d2=c2.stateNode}if(!d2)throw Error(y$3(147,a2));var e2=""+a2;if(null!==b2&&null!==b2.ref&&"function"===typeof b2.ref&&b2.ref._stringRef===e2)return b2.ref;b2=function(a3){var b3=d2.refs;b3===Fg&&(b3=d2.refs={});null===a3?delete b3[e2]:b3[e2]=a3};b2._stringRef=e2;return b2}if("string"!==typeof a2)throw Error(y$3(284));if(!c2._owner)throw Error(y$3(290,a2))}return a2}function Rg(a2,b2){if("textarea"!==a2.type)throw Error(y$3(31,"[object Object]"===Object.prototype.toString.call(b2)?"object with keys {"+Object.keys(b2).join(", ")+"}":b2))}function Sg(a2){function b2(b3,c3){if(a2){var d3=b3.lastEffect;null!==d3?(d3.nextEffect=c3,b3.lastEffect=c3):b3.firstEffect=b3.lastEffect=c3;c3.nextEffect=null;c3.flags=8}}function c2(c3,d3){if(!a2)return null;for(;null!==d3;)b2(c3,d3),d3=d3.sibling;return null}function d2(a3,b3){for(a3=new Map;null!==b3;)null!==b3.key?a3.set(b3.key,b3):a3.set(b3.index,b3),b3=b3.sibling;return a3}function e2(a3,b3){a3=Tg(a3,b3);a3.index=0;a3.sibling=null;return a3}function f2(b3,c3,d3){b3.index=d3;if(!a2)return c3;d3=b3.alternate;if(null!==d3)return d3=d3.index,d3<c3?(b3.flags=2,c3):d3;b3.flags=2;return c3}function g2(b3){a2&&null===b3.alternate&&(b3.flags=2);return b3}function h2(a3,b3,c3,d3){if(null===b3||6!==b3.tag)return b3=Ug(c3,a3.mode,d3),b3.return=a3,b3;b3=e2(b3,c3);b3.return=a3;return b3}function k2(a3,b3,c3,d3){if(null!==b3&&b3.elementType===c3.type)return d3=e2(b3,c3.props),d3.ref=Qg(a3,b3,c3),d3.return=a3,d3;d3=Vg(c3.type,c3.key,c3.props,null,a3.mode,d3);d3.ref=Qg(a3,b3,c3);d3.return=a3;return d3}function l2(a3,b3,c3,d3){if(null===b3||4!==b3.tag||b3.stateNode.containerInfo!==c3.containerInfo||b3.stateNode.implementation!==c3.implementation)return b3=Wg(c3,a3.mode,d3),b3.return=a3,b3;b3=e2(b3,c3.children||[]);b3.return=a3;return b3}function n2(a3,b3,c3,d3,f3){if(null===b3||7!==b3.tag)return b3=Xg(c3,a3.mode,d3,f3),b3.return=a3,b3;b3=e2(b3,c3);b3.return=a3;return b3}function A2(a3,b3,c3){if("string"===typeof b3||"number"===typeof b3)return b3=Ug(""+b3,a3.mode,c3),b3.return=a3,b3;if("object"===typeof b3&&null!==b3){switch(b3.$$typeof){case sa:return c3=Vg(b3.type,b3.key,b3.props,null,a3.mode,c3),c3.ref=Qg(a3,null,b3),c3.return=a3,c3;case ta:return b3=Wg(b3,a3.mode,c3),b3.return=a3,b3}if(Pg(b3)||La(b3))return b3=Xg(b3,a3.mode,c3,null),b3.return=a3,b3;Rg(a3,b3)}return null}function p2(a3,b3,c3,d3){var e3=null!==b3?b3.key:null;if("string"===typeof c3||"number"===typeof c3)return null!==e3?null:h2(a3,b3,""+c3,d3);if("object"===typeof c3&&null!==c3){switch(c3.$$typeof){case sa:return c3.key===e3?c3.type===ua?n2(a3,b3,c3.props.children,d3,e3):k2(a3,b3,c3,d3):null;case ta:return c3.key===e3?l2(a3,b3,c3,d3):null}if(Pg(c3)||La(c3))return null!==e3?null:n2(a3,b3,c3,d3,null);Rg(a3,c3)}return null}function C2(a3,b3,c3,d3,e3){if("string"===typeof d3||"number"===typeof d3)return a3=a3.get(c3)||null,h2(b3,a3,""+d3,e3);if("object"===typeof d3&&null!==d3){switch(d3.$$typeof){case sa:return a3=a3.get(null===d3.key?c3:d3.key)||null,d3.type===ua?n2(b3,a3,d3.props.children,e3,d3.key):k2(b3,a3,d3,e3);case ta:return a3=a3.get(null===d3.key?c3:d3.key)||null,l2(b3,a3,d3,e3)}if(Pg(d3)||La(d3))return a3=a3.get(c3)||null,n2(b3,a3,d3,e3,null);Rg(b3,d3)}return null}function x2(e3,g3,h3,k3){for(var l3=null,t2=null,u2=g3,z2=g3=0,q2=null;null!==u2&&z2<h3.length;z2++){u2.index>z2?(q2=u2,u2=null):q2=u2.sibling;var n3=p2(e3,u2,h3[z2],k3);if(null===n3){null===u2&&(u2=q2);break}a2&&u2&&null===n3.alternate&&b2(e3,u2);g3=f2(n3,g3,z2);null===t2?l3=n3:t2.sibling=n3;t2=n3;u2=q2}if(z2===h3.length)return c2(e3,u2),l3;if(null===u2){for(;z2<h3.length;z2++)u2=A2(e3,h3[z2],k3),null!==u2&&(g3=f2(u2,g3,z2),null===t2?l3=u2:t2.sibling=u2,t2=u2);return l3}for(u2=d2(e3,u2);z2<h3.length;z2++)q2=C2(u2,e3,z2,h3[z2],k3),null!==q2&&(a2&&null!==q2.alternate&&u2.delete(null===q2.key?z2:q2.key),g3=f2(q2,g3,z2),null===t2?l3=q2:t2.sibling=q2,t2=q2);a2&&u2.forEach((function(a3){return b2(e3,a3)}));return l3}function w2(e3,g3,h3,k3){var l3=La(h3);if("function"!==typeof l3)throw Error(y$3(150));h3=l3.call(h3);if(null==h3)throw Error(y$3(151));for(var t2=l3=null,u2=g3,z2=g3=0,q2=null,n3=h3.next();null!==u2&&!n3.done;z2++,n3=h3.next()){u2.index>z2?(q2=u2,u2=null):q2=u2.sibling;var w3=p2(e3,u2,n3.value,k3);if(null===w3){null===u2&&(u2=q2);break}a2&&u2&&null===w3.alternate&&b2(e3,u2);g3=f2(w3,g3,z2);null===t2?l3=w3:t2.sibling=w3;t2=w3;u2=q2}if(n3.done)return c2(e3,u2),l3;if(null===u2){for(;!n3.done;z2++,n3=h3.next())n3=A2(e3,n3.value,k3),null!==n3&&(g3=f2(n3,g3,z2),null===t2?l3=n3:t2.sibling=n3,t2=n3);return l3}for(u2=d2(e3,u2);!n3.done;z2++,n3=h3.next())n3=C2(u2,e3,z2,n3.value,k3),null!==n3&&(a2&&null!==n3.alternate&&u2.delete(null===n3.key?z2:n3.key),g3=f2(n3,g3,z2),null===t2?l3=n3:t2.sibling=n3,t2=n3);a2&&u2.forEach((function(a3){return b2(e3,a3)}));return l3}return function(a3,d3,f3,h3){var k3="object"===typeof f3&&null!==f3&&f3.type===ua&&null===f3.key;k3&&(f3=f3.props.children);var l3="object"===typeof f3&&null!==f3;if(l3)switch(f3.$$typeof){case sa:a:{l3=f3.key;for(k3=d3;null!==k3;){if(k3.key===l3){switch(k3.tag){case 7:if(f3.type===ua){c2(a3,k3.sibling);d3=e2(k3,f3.props.children);d3.return=a3;a3=d3;break a}break;default:if(k3.elementType===f3.type){c2(a3,k3.sibling);d3=e2(k3,f3.props);d3.ref=Qg(a3,k3,f3);d3.return=a3;a3=d3;break a}}c2(a3,k3);break}else b2(a3,k3);k3=k3.sibling}f3.type===ua?(d3=Xg(f3.props.children,a3.mode,h3,f3.key),d3.return=a3,a3=d3):(h3=Vg(f3.type,f3.key,f3.props,null,a3.mode,h3),h3.ref=Qg(a3,d3,f3),h3.return=a3,a3=h3)}return g2(a3);case ta:a:{for(k3=f3.key;null!==d3;){if(d3.key===k3)if(4===d3.tag&&d3.stateNode.containerInfo===f3.containerInfo&&d3.stateNode.implementation===f3.implementation){c2(a3,d3.sibling);d3=e2(d3,f3.children||[]);d3.return=a3;a3=d3;break a}else{c2(a3,d3);break}else b2(a3,d3);d3=d3.sibling}d3=Wg(f3,a3.mode,h3);d3.return=a3;a3=d3}return g2(a3)}if("string"===typeof f3||"number"===typeof f3)return f3=""+f3,null!==d3&&6===d3.tag?(c2(a3,d3.sibling),d3=e2(d3,f3),d3.return=a3,a3=d3):(c2(a3,d3),d3=Ug(f3,a3.mode,h3),d3.return=a3,a3=d3),g2(a3);if(Pg(f3))return x2(a3,d3,f3,h3);if(La(f3))return w2(a3,d3,f3,h3);l3&&Rg(a3,f3);if("undefined"===typeof f3&&!k3)switch(a3.tag){case 1:case 22:case 0:case 11:case 15:throw Error(y$3(152,Ra(a3.type)||"Component"))}return c2(a3,d3)}}var Yg=Sg(true),Zg=Sg(false),$g={},ah=Bf($g),bh=Bf($g),ch=Bf($g);function dh(a2){if(a2===$g)throw Error(y$3(174));return a2}function eh(a2,b2){I(ch,b2);I(bh,a2);I(ah,$g);a2=b2.nodeType;switch(a2){case 9:case 11:b2=(b2=b2.documentElement)?b2.namespaceURI:mb(null,"");break;default:a2=8===a2?b2.parentNode:b2,b2=a2.namespaceURI||null,a2=a2.tagName,b2=mb(b2,a2)}H$1(ah);I(ah,b2)}function fh(){H$1(ah);H$1(bh);H$1(ch)}function gh(a2){dh(ch.current);var b2=dh(ah.current);var c2=mb(b2,a2.type);b2!==c2&&(I(bh,a2),I(ah,c2))}function hh(a2){bh.current===a2&&(H$1(ah),H$1(bh))}var P=Bf(0);function ih(a2){for(var b2=a2;null!==b2;){if(13===b2.tag){var c2=b2.memoizedState;if(null!==c2&&(c2=c2.dehydrated,null===c2||"$?"===c2.data||"$!"===c2.data))return b2}else if(19===b2.tag&&void 0!==b2.memoizedProps.revealOrder){if(0!==(b2.flags&64))return b2}else if(null!==b2.child){b2.child.return=b2;b2=b2.child;continue}if(b2===a2)break;for(;null===b2.sibling;){if(null===b2.return||b2.return===a2)return null;b2=b2.return}b2.sibling.return=b2.return;b2=b2.sibling}return null}var jh=null,kh=null,lh=false;function mh(a2,b2){var c2=nh(5,null,null,0);c2.elementType="DELETED";c2.type="DELETED";c2.stateNode=b2;c2.return=a2;c2.flags=8;null!==a2.lastEffect?(a2.lastEffect.nextEffect=c2,a2.lastEffect=c2):a2.firstEffect=a2.lastEffect=c2}function oh(a2,b2){switch(a2.tag){case 5:var c2=a2.type;b2=1!==b2.nodeType||c2.toLowerCase()!==b2.nodeName.toLowerCase()?null:b2;return null!==b2?(a2.stateNode=b2,true):false;case 6:return b2=""===a2.pendingProps||3!==b2.nodeType?null:b2,null!==b2?(a2.stateNode=b2,true):false;case 13:return false;default:return false}}function ph(a2){if(lh){var b2=kh;if(b2){var c2=b2;if(!oh(a2,b2)){b2=rf(c2.nextSibling);if(!b2||!oh(a2,b2)){a2.flags=a2.flags&-1025|2;lh=false;jh=a2;return}mh(jh,c2)}jh=a2;kh=rf(b2.firstChild)}else a2.flags=a2.flags&-1025|2,lh=false,jh=a2}}function qh(a2){for(a2=a2.return;null!==a2&&5!==a2.tag&&3!==a2.tag&&13!==a2.tag;)a2=a2.return;jh=a2}function rh(a2){if(a2!==jh)return false;if(!lh)return qh(a2),lh=true,false;var b2=a2.type;if(5!==a2.tag||"head"!==b2&&"body"!==b2&&!nf(b2,a2.memoizedProps))for(b2=kh;b2;)mh(a2,b2),b2=rf(b2.nextSibling);qh(a2);if(13===a2.tag){a2=a2.memoizedState;a2=null!==a2?a2.dehydrated:null;if(!a2)throw Error(y$3(317));a:{a2=a2.nextSibling;for(b2=0;a2;){if(8===a2.nodeType){var c2=a2.data;if("/$"===c2){if(0===b2){kh=rf(a2.nextSibling);break a}b2--}else"$"!==c2&&"$!"!==c2&&"$?"!==c2||b2++}a2=a2.nextSibling}kh=null}}else kh=jh?rf(a2.stateNode.nextSibling):null;return true}function sh(){kh=jh=null;lh=false}var th=[];function uh(){for(var a2=0;a2<th.length;a2++)th[a2]._workInProgressVersionPrimary=null;th.length=0}var vh=ra.ReactCurrentDispatcher,wh=ra.ReactCurrentBatchConfig,xh=0,R$1=null,S$1=null,T$1=null,yh=false,zh=false;function Ah(){throw Error(y$3(321))}function Bh(a2,b2){if(null===b2)return false;for(var c2=0;c2<b2.length&&c2<a2.length;c2++)if(!He(a2[c2],b2[c2]))return false;return true}function Ch(a2,b2,c2,d2,e2,f2){xh=f2;R$1=b2;b2.memoizedState=null;b2.updateQueue=null;b2.lanes=0;vh.current=null===a2||null===a2.memoizedState?Dh:Eh;a2=c2(d2,e2);if(zh){f2=0;do{zh=false;if(!(25>f2))throw Error(y$3(301));f2+=1;T$1=S$1=null;b2.updateQueue=null;vh.current=Fh;a2=c2(d2,e2)}while(zh)}vh.current=Gh;b2=null!==S$1&&null!==S$1.next;xh=0;T$1=S$1=R$1=null;yh=false;if(b2)throw Error(y$3(300));return a2}function Hh(){var a2={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};null===T$1?R$1.memoizedState=T$1=a2:T$1=T$1.next=a2;return T$1}function Ih(){if(null===S$1){var a2=R$1.alternate;a2=null!==a2?a2.memoizedState:null}else a2=S$1.next;var b2=null===T$1?R$1.memoizedState:T$1.next;if(null!==b2)T$1=b2,S$1=a2;else{if(null===a2)throw Error(y$3(310));S$1=a2;a2={memoizedState:S$1.memoizedState,baseState:S$1.baseState,baseQueue:S$1.baseQueue,queue:S$1.queue,next:null};null===T$1?R$1.memoizedState=T$1=a2:T$1=T$1.next=a2}return T$1}function Jh(a2,b2){return"function"===typeof b2?b2(a2):b2}function Kh(a2){var b2=Ih(),c2=b2.queue;if(null===c2)throw Error(y$3(311));c2.lastRenderedReducer=a2;var d2=S$1,e2=d2.baseQueue,f2=c2.pending;if(null!==f2){if(null!==e2){var g2=e2.next;e2.next=f2.next;f2.next=g2}d2.baseQueue=e2=f2;c2.pending=null}if(null!==e2){e2=e2.next;d2=d2.baseState;var h2=g2=f2=null,k2=e2;do{var l2=k2.lane;if((xh&l2)===l2)null!==h2&&(h2=h2.next={lane:0,action:k2.action,eagerReducer:k2.eagerReducer,eagerState:k2.eagerState,next:null}),d2=k2.eagerReducer===a2?k2.eagerState:a2(d2,k2.action);else{var n2={lane:l2,action:k2.action,eagerReducer:k2.eagerReducer,eagerState:k2.eagerState,next:null};null===h2?(g2=h2=n2,f2=d2):h2=h2.next=n2;R$1.lanes|=l2;Dg|=l2}k2=k2.next}while(null!==k2&&k2!==e2);null===h2?f2=d2:h2.next=g2;He(d2,b2.memoizedState)||(ug=true);b2.memoizedState=d2;b2.baseState=f2;b2.baseQueue=h2;c2.lastRenderedState=d2}return[b2.memoizedState,c2.dispatch]}function Lh(a2){var b2=Ih(),c2=b2.queue;if(null===c2)throw Error(y$3(311));c2.lastRenderedReducer=a2;var d2=c2.dispatch,e2=c2.pending,f2=b2.memoizedState;if(null!==e2){c2.pending=null;var g2=e2=e2.next;do{f2=a2(f2,g2.action),g2=g2.next}while(g2!==e2);He(f2,b2.memoizedState)||(ug=true);b2.memoizedState=f2;null===b2.baseQueue&&(b2.baseState=f2);c2.lastRenderedState=f2}return[f2,d2]}function Mh(a2,b2,c2){var d2=b2._getVersion;d2=d2(b2._source);var e2=b2._workInProgressVersionPrimary;if(null!==e2)a2=e2===d2;else if(a2=a2.mutableReadLanes,a2=(xh&a2)===a2)b2._workInProgressVersionPrimary=d2,th.push(b2);if(a2)return c2(b2._source);th.push(b2);throw Error(y$3(350))}function Nh(a2,b2,c2,d2){var e2=U;if(null===e2)throw Error(y$3(349));var f2=b2._getVersion,g2=f2(b2._source),h2=vh.current,k2=h2.useState((function(){return Mh(e2,b2,c2)})),l2=k2[1],n2=k2[0];k2=T$1;var A2=a2.memoizedState,p2=A2.refs,C2=p2.getSnapshot,x2=A2.source;A2=A2.subscribe;var w2=R$1;a2.memoizedState={refs:p2,source:b2,subscribe:d2};h2.useEffect((function(){p2.getSnapshot=c2;p2.setSnapshot=l2;var a3=f2(b2._source);if(!He(g2,a3)){a3=c2(b2._source);He(n2,a3)||(l2(a3),a3=Ig(w2),e2.mutableReadLanes|=a3&e2.pendingLanes);a3=e2.mutableReadLanes;e2.entangledLanes|=a3;for(var d3=e2.entanglements,h3=a3;0<h3;){var k3=31-Vc(h3),v2=1<<k3;d3[k3]|=a3;h3&=~v2}}}),[c2,b2,d2]);h2.useEffect((function(){return d2(b2._source,(function(){var a3=p2.getSnapshot,c3=p2.setSnapshot;try{c3(a3(b2._source));var d3=Ig(w2);e2.mutableReadLanes|=d3&e2.pendingLanes}catch(q2){c3((function(){throw q2}))}}))}),[b2,d2]);He(C2,c2)&&He(x2,b2)&&He(A2,d2)||(a2={pending:null,dispatch:null,lastRenderedReducer:Jh,lastRenderedState:n2},a2.dispatch=l2=Oh.bind(null,R$1,a2),k2.queue=a2,k2.baseQueue=null,n2=Mh(e2,b2,c2),k2.memoizedState=k2.baseState=n2);return n2}function Ph(a2,b2,c2){var d2=Ih();return Nh(d2,a2,b2,c2)}function Qh(a2){var b2=Hh();"function"===typeof a2&&(a2=a2());b2.memoizedState=b2.baseState=a2;a2=b2.queue={pending:null,dispatch:null,lastRenderedReducer:Jh,lastRenderedState:a2};a2=a2.dispatch=Oh.bind(null,R$1,a2);return[b2.memoizedState,a2]}function Rh(a2,b2,c2,d2){a2={tag:a2,create:b2,destroy:c2,deps:d2,next:null};b2=R$1.updateQueue;null===b2?(b2={lastEffect:null},R$1.updateQueue=b2,b2.lastEffect=a2.next=a2):(c2=b2.lastEffect,null===c2?b2.lastEffect=a2.next=a2:(d2=c2.next,c2.next=a2,a2.next=d2,b2.lastEffect=a2));return a2}function Sh(a2){var b2=Hh();a2={current:a2};return b2.memoizedState=a2}function Th(){return Ih().memoizedState}function Uh(a2,b2,c2,d2){var e2=Hh();R$1.flags|=a2;e2.memoizedState=Rh(1|b2,c2,void 0,void 0===d2?null:d2)}function Vh(a2,b2,c2,d2){var e2=Ih();d2=void 0===d2?null:d2;var f2=void 0;if(null!==S$1){var g2=S$1.memoizedState;f2=g2.destroy;if(null!==d2&&Bh(d2,g2.deps)){Rh(b2,c2,f2,d2);return}}R$1.flags|=a2;e2.memoizedState=Rh(1|b2,c2,f2,d2)}function Wh(a2,b2){return Uh(516,4,a2,b2)}function Xh(a2,b2){return Vh(516,4,a2,b2)}function Yh(a2,b2){return Vh(4,2,a2,b2)}function Zh(a2,b2){if("function"===typeof b2)return a2=a2(),b2(a2),function(){b2(null)};if(null!==b2&&void 0!==b2)return a2=a2(),b2.current=a2,function(){b2.current=null}}function $h(a2,b2,c2){c2=null!==c2&&void 0!==c2?c2.concat([a2]):null;return Vh(4,2,Zh.bind(null,b2,a2),c2)}function ai(){}function bi(a2,b2){var c2=Ih();b2=void 0===b2?null:b2;var d2=c2.memoizedState;if(null!==d2&&null!==b2&&Bh(b2,d2[1]))return d2[0];c2.memoizedState=[a2,b2];return a2}function ci(a2,b2){var c2=Ih();b2=void 0===b2?null:b2;var d2=c2.memoizedState;if(null!==d2&&null!==b2&&Bh(b2,d2[1]))return d2[0];a2=a2();c2.memoizedState=[a2,b2];return a2}function di(a2,b2){var c2=eg();gg(98>c2?98:c2,(function(){a2(true)}));gg(97<c2?97:c2,(function(){var c3=wh.transition;wh.transition=1;try{a2(false),b2()}finally{wh.transition=c3}}))}function Oh(a2,b2,c2){var d2=Hg(),e2=Ig(a2),f2={lane:e2,action:c2,eagerReducer:null,eagerState:null,next:null},g2=b2.pending;null===g2?f2.next=f2:(f2.next=g2.next,g2.next=f2);b2.pending=f2;g2=a2.alternate;if(a2===R$1||null!==g2&&g2===R$1)zh=yh=true;else{if(0===a2.lanes&&(null===g2||0===g2.lanes)&&(g2=b2.lastRenderedReducer,null!==g2))try{var h2=b2.lastRenderedState,k2=g2(h2,c2);f2.eagerReducer=g2;f2.eagerState=k2;if(He(k2,h2))return}catch(l2){}finally{}Jg(a2,e2,d2)}}var Gh={readContext:vg,useCallback:Ah,useContext:Ah,useEffect:Ah,useImperativeHandle:Ah,useLayoutEffect:Ah,useMemo:Ah,useReducer:Ah,useRef:Ah,useState:Ah,useDebugValue:Ah,useDeferredValue:Ah,useTransition:Ah,useMutableSource:Ah,useOpaqueIdentifier:Ah,unstable_isNewReconciler:false},Dh={readContext:vg,useCallback:function(a2,b2){Hh().memoizedState=[a2,void 0===b2?null:b2];return a2},useContext:vg,useEffect:Wh,useImperativeHandle:function(a2,b2,c2){c2=null!==c2&&void 0!==c2?c2.concat([a2]):null;return Uh(4,2,Zh.bind(null,b2,a2),c2)},useLayoutEffect:function(a2,b2){return Uh(4,2,a2,b2)},useMemo:function(a2,b2){var c2=Hh();b2=void 0===b2?null:b2;a2=a2();c2.memoizedState=[a2,b2];return a2},useReducer:function(a2,b2,c2){var d2=Hh();b2=void 0!==c2?c2(b2):b2;d2.memoizedState=d2.baseState=b2;a2=d2.queue={pending:null,dispatch:null,lastRenderedReducer:a2,lastRenderedState:b2};a2=a2.dispatch=Oh.bind(null,R$1,a2);return[d2.memoizedState,a2]},useRef:Sh,useState:Qh,useDebugValue:ai,useDeferredValue:function(a2){var b2=Qh(a2),c2=b2[0],d2=b2[1];Wh((function(){var b3=wh.transition;wh.transition=1;try{d2(a2)}finally{wh.transition=b3}}),[a2]);return c2},useTransition:function(){var a2=Qh(false),b2=a2[0];a2=di.bind(null,a2[1]);Sh(a2);return[a2,b2]},useMutableSource:function(a2,b2,c2){var d2=Hh();d2.memoizedState={refs:{getSnapshot:b2,setSnapshot:null},source:a2,subscribe:c2};return Nh(d2,a2,b2,c2)},useOpaqueIdentifier:function(){if(lh){var a2=false,b2=uf((function(){a2||(a2=true,c2("r:"+(tf++).toString(36)));throw Error(y$3(355))})),c2=Qh(b2)[1];0===(R$1.mode&2)&&(R$1.flags|=516,Rh(5,(function(){c2("r:"+(tf++).toString(36))}),void 0,null));return b2}b2="r:"+(tf++).toString(36);Qh(b2);return b2},unstable_isNewReconciler:false},Eh={readContext:vg,useCallback:bi,useContext:vg,useEffect:Xh,useImperativeHandle:$h,useLayoutEffect:Yh,useMemo:ci,useReducer:Kh,useRef:Th,useState:function(){return Kh(Jh)},useDebugValue:ai,useDeferredValue:function(a2){var b2=Kh(Jh),c2=b2[0],d2=b2[1];Xh((function(){var b3=wh.transition;wh.transition=1;try{d2(a2)}finally{wh.transition=b3}}),[a2]);return c2},useTransition:function(){var a2=Kh(Jh)[0];return[Th().current,a2]},useMutableSource:Ph,useOpaqueIdentifier:function(){return Kh(Jh)[0]},unstable_isNewReconciler:false},Fh={readContext:vg,useCallback:bi,useContext:vg,useEffect:Xh,useImperativeHandle:$h,useLayoutEffect:Yh,useMemo:ci,useReducer:Lh,useRef:Th,useState:function(){return Lh(Jh)},useDebugValue:ai,useDeferredValue:function(a2){var b2=Lh(Jh),c2=b2[0],d2=b2[1];Xh((function(){var b3=wh.transition;wh.transition=1;try{d2(a2)}finally{wh.transition=b3}}),[a2]);return c2},useTransition:function(){var a2=Lh(Jh)[0];return[Th().current,a2]},useMutableSource:Ph,useOpaqueIdentifier:function(){return Lh(Jh)[0]},unstable_isNewReconciler:false},ei=ra.ReactCurrentOwner,ug=false;function fi(a2,b2,c2,d2){b2.child=null===a2?Zg(b2,null,c2,d2):Yg(b2,a2.child,c2,d2)}function gi(a2,b2,c2,d2,e2){c2=c2.render;var f2=b2.ref;tg(b2,e2);d2=Ch(a2,b2,c2,d2,f2,e2);if(null!==a2&&!ug)return b2.updateQueue=a2.updateQueue,b2.flags&=-517,a2.lanes&=~e2,hi(a2,b2,e2);b2.flags|=1;fi(a2,b2,d2,e2);return b2.child}function ii(a2,b2,c2,d2,e2,f2){if(null===a2){var g2=c2.type;if("function"===typeof g2&&!ji(g2)&&void 0===g2.defaultProps&&null===c2.compare&&void 0===c2.defaultProps)return b2.tag=15,b2.type=g2,ki(a2,b2,g2,d2,e2,f2);a2=Vg(c2.type,null,d2,b2,b2.mode,f2);a2.ref=b2.ref;a2.return=b2;return b2.child=a2}g2=a2.child;if(0===(e2&f2)&&(e2=g2.memoizedProps,c2=c2.compare,c2=null!==c2?c2:Je,c2(e2,d2)&&a2.ref===b2.ref))return hi(a2,b2,f2);b2.flags|=1;a2=Tg(g2,d2);a2.ref=b2.ref;a2.return=b2;return b2.child=a2}function ki(a2,b2,c2,d2,e2,f2){if(null!==a2&&Je(a2.memoizedProps,d2)&&a2.ref===b2.ref)if(ug=false,0!==(f2&e2))0!==(a2.flags&16384)&&(ug=true);else return b2.lanes=a2.lanes,hi(a2,b2,f2);return li(a2,b2,c2,d2,f2)}function mi(a2,b2,c2){var d2=b2.pendingProps,e2=d2.children,f2=null!==a2?a2.memoizedState:null;if("hidden"===d2.mode||"unstable-defer-without-hiding"===d2.mode)if(0===(b2.mode&4))b2.memoizedState={baseLanes:0},ni(b2,c2);else if(0!==(c2&1073741824))b2.memoizedState={baseLanes:0},ni(b2,null!==f2?f2.baseLanes:c2);else return a2=null!==f2?f2.baseLanes|c2:c2,b2.lanes=b2.childLanes=1073741824,b2.memoizedState={baseLanes:a2},ni(b2,a2),null;else null!==f2?(d2=f2.baseLanes|c2,b2.memoizedState=null):d2=c2,ni(b2,d2);fi(a2,b2,e2,c2);return b2.child}function oi(a2,b2){var c2=b2.ref;if(null===a2&&null!==c2||null!==a2&&a2.ref!==c2)b2.flags|=128}function li(a2,b2,c2,d2,e2){var f2=Ff(c2)?Df:M.current;f2=Ef(b2,f2);tg(b2,e2);c2=Ch(a2,b2,c2,d2,f2,e2);if(null!==a2&&!ug)return b2.updateQueue=a2.updateQueue,b2.flags&=-517,a2.lanes&=~e2,hi(a2,b2,e2);b2.flags|=1;fi(a2,b2,c2,e2);return b2.child}function pi(a2,b2,c2,d2,e2){if(Ff(c2)){var f2=true;Jf(b2)}else f2=false;tg(b2,e2);if(null===b2.stateNode)null!==a2&&(a2.alternate=null,b2.alternate=null,b2.flags|=2),Mg(b2,c2,d2),Og(b2,c2,d2,e2),d2=true;else if(null===a2){var g2=b2.stateNode,h2=b2.memoizedProps;g2.props=h2;var k2=g2.context,l2=c2.contextType;"object"===typeof l2&&null!==l2?l2=vg(l2):(l2=Ff(c2)?Df:M.current,l2=Ef(b2,l2));var n2=c2.getDerivedStateFromProps,A2="function"===typeof n2||"function"===typeof g2.getSnapshotBeforeUpdate;A2||"function"!==typeof g2.UNSAFE_componentWillReceiveProps&&"function"!==typeof g2.componentWillReceiveProps||(h2!==d2||k2!==l2)&&Ng(b2,g2,d2,l2);wg=false;var p2=b2.memoizedState;g2.state=p2;Cg(b2,d2,g2,e2);k2=b2.memoizedState;h2!==d2||p2!==k2||N.current||wg?("function"===typeof n2&&(Gg(b2,c2,n2,d2),k2=b2.memoizedState),(h2=wg||Lg(b2,c2,h2,d2,p2,k2,l2))?(A2||"function"!==typeof g2.UNSAFE_componentWillMount&&"function"!==typeof g2.componentWillMount||("function"===typeof g2.componentWillMount&&g2.componentWillMount(),"function"===typeof g2.UNSAFE_componentWillMount&&g2.UNSAFE_componentWillMount()),"function"===typeof g2.componentDidMount&&(b2.flags|=4)):("function"===typeof g2.componentDidMount&&(b2.flags|=4),b2.memoizedProps=d2,b2.memoizedState=k2),g2.props=d2,g2.state=k2,g2.context=l2,d2=h2):("function"===typeof g2.componentDidMount&&(b2.flags|=4),d2=false)}else{g2=b2.stateNode;yg(a2,b2);h2=b2.memoizedProps;l2=b2.type===b2.elementType?h2:lg(b2.type,h2);g2.props=l2;A2=b2.pendingProps;p2=g2.context;k2=c2.contextType;"object"===typeof k2&&null!==k2?k2=vg(k2):(k2=Ff(c2)?Df:M.current,k2=Ef(b2,k2));var C2=c2.getDerivedStateFromProps;(n2="function"===typeof C2||"function"===typeof g2.getSnapshotBeforeUpdate)||"function"!==typeof g2.UNSAFE_componentWillReceiveProps&&"function"!==typeof g2.componentWillReceiveProps||(h2!==A2||p2!==k2)&&Ng(b2,g2,d2,k2);wg=false;p2=b2.memoizedState;g2.state=p2;Cg(b2,d2,g2,e2);var x2=b2.memoizedState;h2!==A2||p2!==x2||N.current||wg?("function"===typeof C2&&(Gg(b2,c2,C2,d2),x2=b2.memoizedState),(l2=wg||Lg(b2,c2,l2,d2,p2,x2,k2))?(n2||"function"!==typeof g2.UNSAFE_componentWillUpdate&&"function"!==typeof g2.componentWillUpdate||("function"===typeof g2.componentWillUpdate&&g2.componentWillUpdate(d2,x2,k2),"function"===typeof g2.UNSAFE_componentWillUpdate&&g2.UNSAFE_componentWillUpdate(d2,x2,k2)),"function"===typeof g2.componentDidUpdate&&(b2.flags|=4),"function"===typeof g2.getSnapshotBeforeUpdate&&(b2.flags|=256)):("function"!==typeof g2.componentDidUpdate||h2===a2.memoizedProps&&p2===a2.memoizedState||(b2.flags|=4),"function"!==typeof g2.getSnapshotBeforeUpdate||h2===a2.memoizedProps&&p2===a2.memoizedState||(b2.flags|=256),b2.memoizedProps=d2,b2.memoizedState=x2),g2.props=d2,g2.state=x2,g2.context=k2,d2=l2):("function"!==typeof g2.componentDidUpdate||h2===a2.memoizedProps&&p2===a2.memoizedState||(b2.flags|=4),"function"!==typeof g2.getSnapshotBeforeUpdate||h2===a2.memoizedProps&&p2===a2.memoizedState||(b2.flags|=256),d2=false)}return qi(a2,b2,c2,d2,f2,e2)}function qi(a2,b2,c2,d2,e2,f2){oi(a2,b2);var g2=0!==(b2.flags&64);if(!d2&&!g2)return e2&&Kf(b2,c2,false),hi(a2,b2,f2);d2=b2.stateNode;ei.current=b2;var h2=g2&&"function"!==typeof c2.getDerivedStateFromError?null:d2.render();b2.flags|=1;null!==a2&&g2?(b2.child=Yg(b2,a2.child,null,f2),b2.child=Yg(b2,null,h2,f2)):fi(a2,b2,h2,f2);b2.memoizedState=d2.state;e2&&Kf(b2,c2,true);return b2.child}function ri(a2){var b2=a2.stateNode;b2.pendingContext?Hf(a2,b2.pendingContext,b2.pendingContext!==b2.context):b2.context&&Hf(a2,b2.context,false);eh(a2,b2.containerInfo)}var si={dehydrated:null,retryLane:0};function ti(a2,b2,c2){var d2=b2.pendingProps,e2=P.current,f2=false,g2;(g2=0!==(b2.flags&64))||(g2=null!==a2&&null===a2.memoizedState?false:0!==(e2&2));g2?(f2=true,b2.flags&=-65):null!==a2&&null===a2.memoizedState||void 0===d2.fallback||true===d2.unstable_avoidThisFallback||(e2|=1);I(P,e2&1);if(null===a2){void 0!==d2.fallback&&ph(b2);a2=d2.children;e2=d2.fallback;if(f2)return a2=ui(b2,a2,e2,c2),b2.child.memoizedState={baseLanes:c2},b2.memoizedState=si,a2;if("number"===typeof d2.unstable_expectedLoadTime)return a2=ui(b2,a2,e2,c2),b2.child.memoizedState={baseLanes:c2},b2.memoizedState=si,b2.lanes=33554432,a2;c2=vi({mode:"visible",children:a2},b2.mode,c2,null);c2.return=b2;return b2.child=c2}if(null!==a2.memoizedState){if(f2)return d2=wi(a2,b2,d2.children,d2.fallback,c2),f2=b2.child,e2=a2.child.memoizedState,f2.memoizedState=null===e2?{baseLanes:c2}:{baseLanes:e2.baseLanes|c2},f2.childLanes=a2.childLanes&~c2,b2.memoizedState=si,d2;c2=xi(a2,b2,d2.children,c2);b2.memoizedState=null;return c2}if(f2)return d2=wi(a2,b2,d2.children,d2.fallback,c2),f2=b2.child,e2=a2.child.memoizedState,f2.memoizedState=null===e2?{baseLanes:c2}:{baseLanes:e2.baseLanes|c2},f2.childLanes=a2.childLanes&~c2,b2.memoizedState=si,d2;c2=xi(a2,b2,d2.children,c2);b2.memoizedState=null;return c2}function ui(a2,b2,c2,d2){var e2=a2.mode,f2=a2.child;b2={mode:"hidden",children:b2};0===(e2&2)&&null!==f2?(f2.childLanes=0,f2.pendingProps=b2):f2=vi(b2,e2,0,null);c2=Xg(c2,e2,d2,null);f2.return=a2;c2.return=a2;f2.sibling=c2;a2.child=f2;return c2}function xi(a2,b2,c2,d2){var e2=a2.child;a2=e2.sibling;c2=Tg(e2,{mode:"visible",children:c2});0===(b2.mode&2)&&(c2.lanes=d2);c2.return=b2;c2.sibling=null;null!==a2&&(a2.nextEffect=null,a2.flags=8,b2.firstEffect=b2.lastEffect=a2);return b2.child=c2}function wi(a2,b2,c2,d2,e2){var f2=b2.mode,g2=a2.child;a2=g2.sibling;var h2={mode:"hidden",children:c2};0===(f2&2)&&b2.child!==g2?(c2=b2.child,c2.childLanes=0,c2.pendingProps=h2,g2=c2.lastEffect,null!==g2?(b2.firstEffect=c2.firstEffect,b2.lastEffect=g2,g2.nextEffect=null):b2.firstEffect=b2.lastEffect=null):c2=Tg(g2,h2);null!==a2?d2=Tg(a2,d2):(d2=Xg(d2,f2,e2,null),d2.flags|=2);d2.return=b2;c2.return=b2;c2.sibling=d2;b2.child=c2;return d2}function yi(a2,b2){a2.lanes|=b2;var c2=a2.alternate;null!==c2&&(c2.lanes|=b2);sg(a2.return,b2)}function zi(a2,b2,c2,d2,e2,f2){var g2=a2.memoizedState;null===g2?a2.memoizedState={isBackwards:b2,rendering:null,renderingStartTime:0,last:d2,tail:c2,tailMode:e2,lastEffect:f2}:(g2.isBackwards=b2,g2.rendering=null,g2.renderingStartTime=0,g2.last=d2,g2.tail=c2,g2.tailMode=e2,g2.lastEffect=f2)}function Ai(a2,b2,c2){var d2=b2.pendingProps,e2=d2.revealOrder,f2=d2.tail;fi(a2,b2,d2.children,c2);d2=P.current;if(0!==(d2&2))d2=d2&1|2,b2.flags|=64;else{if(null!==a2&&0!==(a2.flags&64))a:for(a2=b2.child;null!==a2;){if(13===a2.tag)null!==a2.memoizedState&&yi(a2,c2);else if(19===a2.tag)yi(a2,c2);else if(null!==a2.child){a2.child.return=a2;a2=a2.child;continue}if(a2===b2)break a;for(;null===a2.sibling;){if(null===a2.return||a2.return===b2)break a;a2=a2.return}a2.sibling.return=a2.return;a2=a2.sibling}d2&=1}I(P,d2);if(0===(b2.mode&2))b2.memoizedState=null;else switch(e2){case"forwards":c2=b2.child;for(e2=null;null!==c2;)a2=c2.alternate,null!==a2&&null===ih(a2)&&(e2=c2),c2=c2.sibling;c2=e2;null===c2?(e2=b2.child,b2.child=null):(e2=c2.sibling,c2.sibling=null);zi(b2,false,e2,c2,f2,b2.lastEffect);break;case"backwards":c2=null;e2=b2.child;for(b2.child=null;null!==e2;){a2=e2.alternate;if(null!==a2&&null===ih(a2)){b2.child=e2;break}a2=e2.sibling;e2.sibling=c2;c2=e2;e2=a2}zi(b2,true,c2,null,f2,b2.lastEffect);break;case"together":zi(b2,false,null,null,void 0,b2.lastEffect);break;default:b2.memoizedState=null}return b2.child}function hi(a2,b2,c2){null!==a2&&(b2.dependencies=a2.dependencies);Dg|=b2.lanes;if(0!==(c2&b2.childLanes)){if(null!==a2&&b2.child!==a2.child)throw Error(y$3(153));if(null!==b2.child){a2=b2.child;c2=Tg(a2,a2.pendingProps);b2.child=c2;for(c2.return=b2;null!==a2.sibling;)a2=a2.sibling,c2=c2.sibling=Tg(a2,a2.pendingProps),c2.return=b2;c2.sibling=null}return b2.child}return null}var Bi,Ci,Di,Ei;Bi=function(a2,b2){for(var c2=b2.child;null!==c2;){if(5===c2.tag||6===c2.tag)a2.appendChild(c2.stateNode);else if(4!==c2.tag&&null!==c2.child){c2.child.return=c2;c2=c2.child;continue}if(c2===b2)break;for(;null===c2.sibling;){if(null===c2.return||c2.return===b2)return;c2=c2.return}c2.sibling.return=c2.return;c2=c2.sibling}};Ci=function(){};Di=function(a2,b2,c2,d2){var e2=a2.memoizedProps;if(e2!==d2){a2=b2.stateNode;dh(ah.current);var f2=null;switch(c2){case"input":e2=Ya(a2,e2);d2=Ya(a2,d2);f2=[];break;case"option":e2=eb(a2,e2);d2=eb(a2,d2);f2=[];break;case"select":e2=m$3({},e2,{value:void 0});d2=m$3({},d2,{value:void 0});f2=[];break;case"textarea":e2=gb(a2,e2);d2=gb(a2,d2);f2=[];break;default:"function"!==typeof e2.onClick&&"function"===typeof d2.onClick&&(a2.onclick=jf)}vb(c2,d2);var g2;c2=null;for(l2 in e2)if(!d2.hasOwnProperty(l2)&&e2.hasOwnProperty(l2)&&null!=e2[l2])if("style"===l2){var h2=e2[l2];for(g2 in h2)h2.hasOwnProperty(g2)&&(c2||(c2={}),c2[g2]="")}else"dangerouslySetInnerHTML"!==l2&&"children"!==l2&&"suppressContentEditableWarning"!==l2&&"suppressHydrationWarning"!==l2&&"autoFocus"!==l2&&(ca.hasOwnProperty(l2)?f2||(f2=[]):(f2=f2||[]).push(l2,null));for(l2 in d2){var k2=d2[l2];h2=null!=e2?e2[l2]:void 0;if(d2.hasOwnProperty(l2)&&k2!==h2&&(null!=k2||null!=h2))if("style"===l2)if(h2){for(g2 in h2)!h2.hasOwnProperty(g2)||k2&&k2.hasOwnProperty(g2)||(c2||(c2={}),c2[g2]="");for(g2 in k2)k2.hasOwnProperty(g2)&&h2[g2]!==k2[g2]&&(c2||(c2={}),c2[g2]=k2[g2])}else c2||(f2||(f2=[]),f2.push(l2,c2)),c2=k2;else"dangerouslySetInnerHTML"===l2?(k2=k2?k2.__html:void 0,h2=h2?h2.__html:void 0,null!=k2&&h2!==k2&&(f2=f2||[]).push(l2,k2)):"children"===l2?"string"!==typeof k2&&"number"!==typeof k2||(f2=f2||[]).push(l2,""+k2):"suppressContentEditableWarning"!==l2&&"suppressHydrationWarning"!==l2&&(ca.hasOwnProperty(l2)?(null!=k2&&"onScroll"===l2&&G("scroll",a2),f2||h2===k2||(f2=[])):"object"===typeof k2&&null!==k2&&k2.$$typeof===Ga?k2.toString():(f2=f2||[]).push(l2,k2))}c2&&(f2=f2||[]).push("style",c2);var l2=f2;if(b2.updateQueue=l2)b2.flags|=4}};Ei=function(a2,b2,c2,d2){c2!==d2&&(b2.flags|=4)};function Fi(a2,b2){if(!lh)switch(a2.tailMode){case"hidden":b2=a2.tail;for(var c2=null;null!==b2;)null!==b2.alternate&&(c2=b2),b2=b2.sibling;null===c2?a2.tail=null:c2.sibling=null;break;case"collapsed":c2=a2.tail;for(var d2=null;null!==c2;)null!==c2.alternate&&(d2=c2),c2=c2.sibling;null===d2?b2||null===a2.tail?a2.tail=null:a2.tail.sibling=null:d2.sibling=null}}function Gi(a2,b2,c2){var d2=b2.pendingProps;switch(b2.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:return Ff(b2.type)&&Gf(),null;case 3:fh();H$1(N);H$1(M);uh();d2=b2.stateNode;d2.pendingContext&&(d2.context=d2.pendingContext,d2.pendingContext=null);if(null===a2||null===a2.child)rh(b2)?b2.flags|=4:d2.hydrate||(b2.flags|=256);Ci(b2);return null;case 5:hh(b2);var e2=dh(ch.current);c2=b2.type;if(null!==a2&&null!=b2.stateNode)Di(a2,b2,c2,d2,e2),a2.ref!==b2.ref&&(b2.flags|=128);else{if(!d2){if(null===b2.stateNode)throw Error(y$3(166));return null}a2=dh(ah.current);if(rh(b2)){d2=b2.stateNode;c2=b2.type;var f2=b2.memoizedProps;d2[wf]=b2;d2[xf]=f2;switch(c2){case"dialog":G("cancel",d2);G("close",d2);break;case"iframe":case"object":case"embed":G("load",d2);break;case"video":case"audio":for(a2=0;a2<Xe.length;a2++)G(Xe[a2],d2);break;case"source":G("error",d2);break;case"img":case"image":case"link":G("error",d2);G("load",d2);break;case"details":G("toggle",d2);break;case"input":Za(d2,f2);G("invalid",d2);break;case"select":d2._wrapperState={wasMultiple:!!f2.multiple};G("invalid",d2);break;case"textarea":hb(d2,f2),G("invalid",d2)}vb(c2,f2);a2=null;for(var g2 in f2)f2.hasOwnProperty(g2)&&(e2=f2[g2],"children"===g2?"string"===typeof e2?d2.textContent!==e2&&(a2=["children",e2]):"number"===typeof e2&&d2.textContent!==""+e2&&(a2=["children",""+e2]):ca.hasOwnProperty(g2)&&null!=e2&&"onScroll"===g2&&G("scroll",d2));switch(c2){case"input":Va(d2);cb(d2,f2,true);break;case"textarea":Va(d2);jb(d2);break;case"select":case"option":break;default:"function"===typeof f2.onClick&&(d2.onclick=jf)}d2=a2;b2.updateQueue=d2;null!==d2&&(b2.flags|=4)}else{g2=9===e2.nodeType?e2:e2.ownerDocument;a2===kb.html&&(a2=lb(c2));a2===kb.html?"script"===c2?(a2=g2.createElement("div"),a2.innerHTML="<script><\/script>",a2=a2.removeChild(a2.firstChild)):"string"===typeof d2.is?a2=g2.createElement(c2,{is:d2.is}):(a2=g2.createElement(c2),"select"===c2&&(g2=a2,d2.multiple?g2.multiple=true:d2.size&&(g2.size=d2.size))):a2=g2.createElementNS(a2,c2);a2[wf]=b2;a2[xf]=d2;Bi(a2,b2,false,false);b2.stateNode=a2;g2=wb(c2,d2);switch(c2){case"dialog":G("cancel",a2);G("close",a2);e2=d2;break;case"iframe":case"object":case"embed":G("load",a2);e2=d2;break;case"video":case"audio":for(e2=0;e2<Xe.length;e2++)G(Xe[e2],a2);e2=d2;break;case"source":G("error",a2);e2=d2;break;case"img":case"image":case"link":G("error",a2);G("load",a2);e2=d2;break;case"details":G("toggle",a2);e2=d2;break;case"input":Za(a2,d2);e2=Ya(a2,d2);G("invalid",a2);break;case"option":e2=eb(a2,d2);break;case"select":a2._wrapperState={wasMultiple:!!d2.multiple};e2=m$3({},d2,{value:void 0});G("invalid",a2);break;case"textarea":hb(a2,d2);e2=gb(a2,d2);G("invalid",a2);break;default:e2=d2}vb(c2,e2);var h2=e2;for(f2 in h2)if(h2.hasOwnProperty(f2)){var k2=h2[f2];"style"===f2?tb(a2,k2):"dangerouslySetInnerHTML"===f2?(k2=k2?k2.__html:void 0,null!=k2&&ob(a2,k2)):"children"===f2?"string"===typeof k2?("textarea"!==c2||""!==k2)&&pb(a2,k2):"number"===typeof k2&&pb(a2,""+k2):"suppressContentEditableWarning"!==f2&&"suppressHydrationWarning"!==f2&&"autoFocus"!==f2&&(ca.hasOwnProperty(f2)?null!=k2&&"onScroll"===f2&&G("scroll",a2):null!=k2&&qa(a2,f2,k2,g2))}switch(c2){case"input":Va(a2);cb(a2,d2,false);break;case"textarea":Va(a2);jb(a2);break;case"option":null!=d2.value&&a2.setAttribute("value",""+Sa(d2.value));break;case"select":a2.multiple=!!d2.multiple;f2=d2.value;null!=f2?fb(a2,!!d2.multiple,f2,false):null!=d2.defaultValue&&fb(a2,!!d2.multiple,d2.defaultValue,true);break;default:"function"===typeof e2.onClick&&(a2.onclick=jf)}mf(c2,d2)&&(b2.flags|=4)}null!==b2.ref&&(b2.flags|=128)}return null;case 6:if(a2&&null!=b2.stateNode)Ei(a2,b2,a2.memoizedProps,d2);else{if("string"!==typeof d2&&null===b2.stateNode)throw Error(y$3(166));c2=dh(ch.current);dh(ah.current);rh(b2)?(d2=b2.stateNode,c2=b2.memoizedProps,d2[wf]=b2,d2.nodeValue!==c2&&(b2.flags|=4)):(d2=(9===c2.nodeType?c2:c2.ownerDocument).createTextNode(d2),d2[wf]=b2,b2.stateNode=d2)}return null;case 13:H$1(P);d2=b2.memoizedState;if(0!==(b2.flags&64))return b2.lanes=c2,b2;d2=null!==d2;c2=false;null===a2?void 0!==b2.memoizedProps.fallback&&rh(b2):c2=null!==a2.memoizedState;if(d2&&!c2&&0!==(b2.mode&2))if(null===a2&&true!==b2.memoizedProps.unstable_avoidThisFallback||0!==(P.current&1))0===V$1&&(V$1=3);else{if(0===V$1||3===V$1)V$1=4;null===U||0===(Dg&134217727)&&0===(Hi&134217727)||Ii(U,W$1)}if(d2||c2)b2.flags|=4;return null;case 4:return fh(),Ci(b2),null===a2&&cf(b2.stateNode.containerInfo),null;case 10:return rg(b2),null;case 17:return Ff(b2.type)&&Gf(),null;case 19:H$1(P);d2=b2.memoizedState;if(null===d2)return null;f2=0!==(b2.flags&64);g2=d2.rendering;if(null===g2)if(f2)Fi(d2,false);else{if(0!==V$1||null!==a2&&0!==(a2.flags&64))for(a2=b2.child;null!==a2;){g2=ih(a2);if(null!==g2){b2.flags|=64;Fi(d2,false);f2=g2.updateQueue;null!==f2&&(b2.updateQueue=f2,b2.flags|=4);null===d2.lastEffect&&(b2.firstEffect=null);b2.lastEffect=d2.lastEffect;d2=c2;for(c2=b2.child;null!==c2;)f2=c2,a2=d2,f2.flags&=2,f2.nextEffect=null,f2.firstEffect=null,f2.lastEffect=null,g2=f2.alternate,null===g2?(f2.childLanes=0,f2.lanes=a2,f2.child=null,f2.memoizedProps=null,f2.memoizedState=null,f2.updateQueue=null,f2.dependencies=null,f2.stateNode=null):(f2.childLanes=g2.childLanes,f2.lanes=g2.lanes,f2.child=g2.child,f2.memoizedProps=g2.memoizedProps,f2.memoizedState=g2.memoizedState,f2.updateQueue=g2.updateQueue,f2.type=g2.type,a2=g2.dependencies,f2.dependencies=null===a2?null:{lanes:a2.lanes,firstContext:a2.firstContext}),c2=c2.sibling;I(P,P.current&1|2);return b2.child}a2=a2.sibling}null!==d2.tail&&O$1()>Ji&&(b2.flags|=64,f2=true,Fi(d2,false),b2.lanes=33554432)}else{if(!f2)if(a2=ih(g2),null!==a2){if(b2.flags|=64,f2=true,c2=a2.updateQueue,null!==c2&&(b2.updateQueue=c2,b2.flags|=4),Fi(d2,true),null===d2.tail&&"hidden"===d2.tailMode&&!g2.alternate&&!lh)return b2=b2.lastEffect=d2.lastEffect,null!==b2&&(b2.nextEffect=null),null}else 2*O$1()-d2.renderingStartTime>Ji&&1073741824!==c2&&(b2.flags|=64,f2=true,Fi(d2,false),b2.lanes=33554432);d2.isBackwards?(g2.sibling=b2.child,b2.child=g2):(c2=d2.last,null!==c2?c2.sibling=g2:b2.child=g2,d2.last=g2)}return null!==d2.tail?(c2=d2.tail,d2.rendering=c2,d2.tail=c2.sibling,d2.lastEffect=b2.lastEffect,d2.renderingStartTime=O$1(),c2.sibling=null,b2=P.current,I(P,f2?b2&1|2:b2&1),c2):null;case 23:case 24:return Ki(),null!==a2&&null!==a2.memoizedState!==(null!==b2.memoizedState)&&"unstable-defer-without-hiding"!==d2.mode&&(b2.flags|=4),null}throw Error(y$3(156,b2.tag))}function Li(a2){switch(a2.tag){case 1:Ff(a2.type)&&Gf();var b2=a2.flags;return b2&4096?(a2.flags=b2&-4097|64,a2):null;case 3:fh();H$1(N);H$1(M);uh();b2=a2.flags;if(0!==(b2&64))throw Error(y$3(285));a2.flags=b2&-4097|64;return a2;case 5:return hh(a2),null;case 13:return H$1(P),b2=a2.flags,b2&4096?(a2.flags=b2&-4097|64,a2):null;case 19:return H$1(P),null;case 4:return fh(),null;case 10:return rg(a2),null;case 23:case 24:return Ki(),null;default:return null}}function Mi(a2,b2){try{var c2="",d2=b2;do{c2+=Qa(d2),d2=d2.return}while(d2);var e2=c2}catch(f2){e2="\nError generating stack: "+f2.message+"\n"+f2.stack}return{value:a2,source:b2,stack:e2}}function Ni(a2,b2){try{console.error(b2.value)}catch(c2){setTimeout((function(){throw c2}))}}var Oi="function"===typeof WeakMap?WeakMap:Map;function Pi(a2,b2,c2){c2=zg(-1,c2);c2.tag=3;c2.payload={element:null};var d2=b2.value;c2.callback=function(){Qi||(Qi=true,Ri=d2);Ni(a2,b2)};return c2}function Si(a2,b2,c2){c2=zg(-1,c2);c2.tag=3;var d2=a2.type.getDerivedStateFromError;if("function"===typeof d2){var e2=b2.value;c2.payload=function(){Ni(a2,b2);return d2(e2)}}var f2=a2.stateNode;null!==f2&&"function"===typeof f2.componentDidCatch&&(c2.callback=function(){"function"!==typeof d2&&(null===Ti?Ti=new Set([this]):Ti.add(this),Ni(a2,b2));var c3=b2.stack;this.componentDidCatch(b2.value,{componentStack:null!==c3?c3:""})});return c2}var Ui="function"===typeof WeakSet?WeakSet:Set;function Vi(a2){var b2=a2.ref;if(null!==b2)if("function"===typeof b2)try{b2(null)}catch(c2){Wi(a2,c2)}else b2.current=null}function Xi(a2,b2){switch(b2.tag){case 0:case 11:case 15:case 22:return;case 1:if(b2.flags&256&&null!==a2){var c2=a2.memoizedProps,d2=a2.memoizedState;a2=b2.stateNode;b2=a2.getSnapshotBeforeUpdate(b2.elementType===b2.type?c2:lg(b2.type,c2),d2);a2.__reactInternalSnapshotBeforeUpdate=b2}return;case 3:b2.flags&256&&qf(b2.stateNode.containerInfo);return;case 5:case 6:case 4:case 17:return}throw Error(y$3(163))}function Yi(a2,b2,c2){switch(c2.tag){case 0:case 11:case 15:case 22:b2=c2.updateQueue;b2=null!==b2?b2.lastEffect:null;if(null!==b2){a2=b2=b2.next;do{if(3===(a2.tag&3)){var d2=a2.create;a2.destroy=d2()}a2=a2.next}while(a2!==b2)}b2=c2.updateQueue;b2=null!==b2?b2.lastEffect:null;if(null!==b2){a2=b2=b2.next;do{var e2=a2;d2=e2.next;e2=e2.tag;0!==(e2&4)&&0!==(e2&1)&&(Zi(c2,a2),$i(c2,a2));a2=d2}while(a2!==b2)}return;case 1:a2=c2.stateNode;c2.flags&4&&(null===b2?a2.componentDidMount():(d2=c2.elementType===c2.type?b2.memoizedProps:lg(c2.type,b2.memoizedProps),a2.componentDidUpdate(d2,b2.memoizedState,a2.__reactInternalSnapshotBeforeUpdate)));b2=c2.updateQueue;null!==b2&&Eg(c2,b2,a2);return;case 3:b2=c2.updateQueue;if(null!==b2){a2=null;if(null!==c2.child)switch(c2.child.tag){case 5:a2=c2.child.stateNode;break;case 1:a2=c2.child.stateNode}Eg(c2,b2,a2)}return;case 5:a2=c2.stateNode;null===b2&&c2.flags&4&&mf(c2.type,c2.memoizedProps)&&a2.focus();return;case 6:return;case 4:return;case 12:return;case 13:null===c2.memoizedState&&(c2=c2.alternate,null!==c2&&(c2=c2.memoizedState,null!==c2&&(c2=c2.dehydrated,null!==c2&&Cc(c2))));return;case 19:case 17:case 20:case 21:case 23:case 24:return}throw Error(y$3(163))}function aj(a2,b2){for(var c2=a2;;){if(5===c2.tag){var d2=c2.stateNode;if(b2)d2=d2.style,"function"===typeof d2.setProperty?d2.setProperty("display","none","important"):d2.display="none";else{d2=c2.stateNode;var e2=c2.memoizedProps.style;e2=void 0!==e2&&null!==e2&&e2.hasOwnProperty("display")?e2.display:null;d2.style.display=sb("display",e2)}}else if(6===c2.tag)c2.stateNode.nodeValue=b2?"":c2.memoizedProps;else if((23!==c2.tag&&24!==c2.tag||null===c2.memoizedState||c2===a2)&&null!==c2.child){c2.child.return=c2;c2=c2.child;continue}if(c2===a2)break;for(;null===c2.sibling;){if(null===c2.return||c2.return===a2)return;c2=c2.return}c2.sibling.return=c2.return;c2=c2.sibling}}function bj(a2,b2){if(Mf&&"function"===typeof Mf.onCommitFiberUnmount)try{Mf.onCommitFiberUnmount(Lf,b2)}catch(f2){}switch(b2.tag){case 0:case 11:case 14:case 15:case 22:a2=b2.updateQueue;if(null!==a2&&(a2=a2.lastEffect,null!==a2)){var c2=a2=a2.next;do{var d2=c2,e2=d2.destroy;d2=d2.tag;if(void 0!==e2)if(0!==(d2&4))Zi(b2,c2);else{d2=b2;try{e2()}catch(f2){Wi(d2,f2)}}c2=c2.next}while(c2!==a2)}break;case 1:Vi(b2);a2=b2.stateNode;if("function"===typeof a2.componentWillUnmount)try{a2.props=b2.memoizedProps,a2.state=b2.memoizedState,a2.componentWillUnmount()}catch(f2){Wi(b2,f2)}break;case 5:Vi(b2);break;case 4:cj(a2,b2)}}function dj(a2){a2.alternate=null;a2.child=null;a2.dependencies=null;a2.firstEffect=null;a2.lastEffect=null;a2.memoizedProps=null;a2.memoizedState=null;a2.pendingProps=null;a2.return=null;a2.updateQueue=null}function ej(a2){return 5===a2.tag||3===a2.tag||4===a2.tag}function fj(a2){a:{for(var b2=a2.return;null!==b2;){if(ej(b2))break a;b2=b2.return}throw Error(y$3(160))}var c2=b2;b2=c2.stateNode;switch(c2.tag){case 5:var d2=false;break;case 3:b2=b2.containerInfo;d2=true;break;case 4:b2=b2.containerInfo;d2=true;break;default:throw Error(y$3(161))}c2.flags&16&&(pb(b2,""),c2.flags&=-17);a:b:for(c2=a2;;){for(;null===c2.sibling;){if(null===c2.return||ej(c2.return)){c2=null;break a}c2=c2.return}c2.sibling.return=c2.return;for(c2=c2.sibling;5!==c2.tag&&6!==c2.tag&&18!==c2.tag;){if(c2.flags&2)continue b;if(null===c2.child||4===c2.tag)continue b;else c2.child.return=c2,c2=c2.child}if(!(c2.flags&2)){c2=c2.stateNode;break a}}d2?gj(a2,c2,b2):hj(a2,c2,b2)}function gj(a2,b2,c2){var d2=a2.tag,e2=5===d2||6===d2;if(e2)a2=e2?a2.stateNode:a2.stateNode.instance,b2?8===c2.nodeType?c2.parentNode.insertBefore(a2,b2):c2.insertBefore(a2,b2):(8===c2.nodeType?(b2=c2.parentNode,b2.insertBefore(a2,c2)):(b2=c2,b2.appendChild(a2)),c2=c2._reactRootContainer,null!==c2&&void 0!==c2||null!==b2.onclick||(b2.onclick=jf));else if(4!==d2&&(a2=a2.child,null!==a2))for(gj(a2,b2,c2),a2=a2.sibling;null!==a2;)gj(a2,b2,c2),a2=a2.sibling}function hj(a2,b2,c2){var d2=a2.tag,e2=5===d2||6===d2;if(e2)a2=e2?a2.stateNode:a2.stateNode.instance,b2?c2.insertBefore(a2,b2):c2.appendChild(a2);else if(4!==d2&&(a2=a2.child,null!==a2))for(hj(a2,b2,c2),a2=a2.sibling;null!==a2;)hj(a2,b2,c2),a2=a2.sibling}function cj(a2,b2){for(var c2=b2,d2=false,e2,f2;;){if(!d2){d2=c2.return;a:for(;;){if(null===d2)throw Error(y$3(160));e2=d2.stateNode;switch(d2.tag){case 5:f2=false;break a;case 3:e2=e2.containerInfo;f2=true;break a;case 4:e2=e2.containerInfo;f2=true;break a}d2=d2.return}d2=true}if(5===c2.tag||6===c2.tag){a:for(var g2=a2,h2=c2,k2=h2;;)if(bj(g2,k2),null!==k2.child&&4!==k2.tag)k2.child.return=k2,k2=k2.child;else{if(k2===h2)break a;for(;null===k2.sibling;){if(null===k2.return||k2.return===h2)break a;k2=k2.return}k2.sibling.return=k2.return;k2=k2.sibling}f2?(g2=e2,h2=c2.stateNode,8===g2.nodeType?g2.parentNode.removeChild(h2):g2.removeChild(h2)):e2.removeChild(c2.stateNode)}else if(4===c2.tag){if(null!==c2.child){e2=c2.stateNode.containerInfo;f2=true;c2.child.return=c2;c2=c2.child;continue}}else if(bj(a2,c2),null!==c2.child){c2.child.return=c2;c2=c2.child;continue}if(c2===b2)break;for(;null===c2.sibling;){if(null===c2.return||c2.return===b2)return;c2=c2.return;4===c2.tag&&(d2=false)}c2.sibling.return=c2.return;c2=c2.sibling}}function ij(a2,b2){switch(b2.tag){case 0:case 11:case 14:case 15:case 22:var c2=b2.updateQueue;c2=null!==c2?c2.lastEffect:null;if(null!==c2){var d2=c2=c2.next;do{3===(d2.tag&3)&&(a2=d2.destroy,d2.destroy=void 0,void 0!==a2&&a2()),d2=d2.next}while(d2!==c2)}return;case 1:return;case 5:c2=b2.stateNode;if(null!=c2){d2=b2.memoizedProps;var e2=null!==a2?a2.memoizedProps:d2;a2=b2.type;var f2=b2.updateQueue;b2.updateQueue=null;if(null!==f2){c2[xf]=d2;"input"===a2&&"radio"===d2.type&&null!=d2.name&&$a(c2,d2);wb(a2,e2);b2=wb(a2,d2);for(e2=0;e2<f2.length;e2+=2){var g2=f2[e2],h2=f2[e2+1];"style"===g2?tb(c2,h2):"dangerouslySetInnerHTML"===g2?ob(c2,h2):"children"===g2?pb(c2,h2):qa(c2,g2,h2,b2)}switch(a2){case"input":ab(c2,d2);break;case"textarea":ib(c2,d2);break;case"select":a2=c2._wrapperState.wasMultiple,c2._wrapperState.wasMultiple=!!d2.multiple,f2=d2.value,null!=f2?fb(c2,!!d2.multiple,f2,false):a2!==!!d2.multiple&&(null!=d2.defaultValue?fb(c2,!!d2.multiple,d2.defaultValue,true):fb(c2,!!d2.multiple,d2.multiple?[]:"",false))}}}return;case 6:if(null===b2.stateNode)throw Error(y$3(162));b2.stateNode.nodeValue=b2.memoizedProps;return;case 3:c2=b2.stateNode;c2.hydrate&&(c2.hydrate=false,Cc(c2.containerInfo));return;case 12:return;case 13:null!==b2.memoizedState&&(jj=O$1(),aj(b2.child,true));kj(b2);return;case 19:kj(b2);return;case 17:return;case 23:case 24:aj(b2,null!==b2.memoizedState);return}throw Error(y$3(163))}function kj(a2){var b2=a2.updateQueue;if(null!==b2){a2.updateQueue=null;var c2=a2.stateNode;null===c2&&(c2=a2.stateNode=new Ui);b2.forEach((function(b3){var d2=lj.bind(null,a2,b3);c2.has(b3)||(c2.add(b3),b3.then(d2,d2))}))}}function mj(a2,b2){return null!==a2&&(a2=a2.memoizedState,null===a2||null!==a2.dehydrated)?(b2=b2.memoizedState,null!==b2&&null===b2.dehydrated):false}var nj=Math.ceil,oj=ra.ReactCurrentDispatcher,pj=ra.ReactCurrentOwner,X=0,U=null,Y=null,W$1=0,qj=0,rj=Bf(0),V$1=0,sj=null,tj=0,Dg=0,Hi=0,uj=0,vj=null,jj=0,Ji=Infinity;function wj(){Ji=O$1()+500}var Z=null,Qi=false,Ri=null,Ti=null,xj=false,yj=null,zj=90,Aj=[],Bj=[],Cj=null,Dj=0,Ej=null,Fj=-1,Gj=0,Hj=0,Ij=null,Jj=false;function Hg(){return 0!==(X&48)?O$1():-1!==Fj?Fj:Fj=O$1()}function Ig(a2){a2=a2.mode;if(0===(a2&2))return 1;if(0===(a2&4))return 99===eg()?1:2;0===Gj&&(Gj=tj);if(0!==kg.transition){0!==Hj&&(Hj=null!==vj?vj.pendingLanes:0);a2=Gj;var b2=4186112&~Hj;b2&=-b2;0===b2&&(a2=4186112&~a2,b2=a2&-a2,0===b2&&(b2=8192));return b2}a2=eg();0!==(X&4)&&98===a2?a2=Xc(12,Gj):(a2=Sc(a2),a2=Xc(a2,Gj));return a2}function Jg(a2,b2,c2){if(50<Dj)throw Dj=0,Ej=null,Error(y$3(185));a2=Kj(a2,b2);if(null===a2)return null;$c(a2,b2,c2);a2===U&&(Hi|=b2,4===V$1&&Ii(a2,W$1));var d2=eg();1===b2?0!==(X&8)&&0===(X&48)?Lj(a2):(Mj(a2,c2),0===X&&(wj(),ig())):(0===(X&4)||98!==d2&&99!==d2||(null===Cj?Cj=new Set([a2]):Cj.add(a2)),Mj(a2,c2));vj=a2}function Kj(a2,b2){a2.lanes|=b2;var c2=a2.alternate;null!==c2&&(c2.lanes|=b2);c2=a2;for(a2=a2.return;null!==a2;)a2.childLanes|=b2,c2=a2.alternate,null!==c2&&(c2.childLanes|=b2),c2=a2,a2=a2.return;return 3===c2.tag?c2.stateNode:null}function Mj(a2,b2){for(var c2=a2.callbackNode,d2=a2.suspendedLanes,e2=a2.pingedLanes,f2=a2.expirationTimes,g2=a2.pendingLanes;0<g2;){var h2=31-Vc(g2),k2=1<<h2,l2=f2[h2];if(-1===l2){if(0===(k2&d2)||0!==(k2&e2)){l2=b2;Rc(k2);var n2=F$1;f2[h2]=10<=n2?l2+250:6<=n2?l2+5e3:-1}}else l2<=b2&&(a2.expiredLanes|=k2);g2&=~k2}d2=Uc(a2,a2===U?W$1:0);b2=F$1;if(0===d2)null!==c2&&(c2!==Zf&&Pf(c2),a2.callbackNode=null,a2.callbackPriority=0);else{if(null!==c2){if(a2.callbackPriority===b2)return;c2!==Zf&&Pf(c2)}15===b2?(c2=Lj.bind(null,a2),null===ag?(ag=[c2],bg=Of(Uf,jg)):ag.push(c2),c2=Zf):14===b2?c2=hg(99,Lj.bind(null,a2)):(c2=Tc(b2),c2=hg(c2,Nj.bind(null,a2)));a2.callbackPriority=b2;a2.callbackNode=c2}}function Nj(a2){Fj=-1;Hj=Gj=0;if(0!==(X&48))throw Error(y$3(327));var b2=a2.callbackNode;if(Oj()&&a2.callbackNode!==b2)return null;var c2=Uc(a2,a2===U?W$1:0);if(0===c2)return null;var d2=c2;var e2=X;X|=16;var f2=Pj();if(U!==a2||W$1!==d2)wj(),Qj(a2,d2);do{try{Rj();break}catch(h2){Sj(a2,h2)}}while(1);qg();oj.current=f2;X=e2;null!==Y?d2=0:(U=null,W$1=0,d2=V$1);if(0!==(tj&Hi))Qj(a2,0);else if(0!==d2){2===d2&&(X|=64,a2.hydrate&&(a2.hydrate=false,qf(a2.containerInfo)),c2=Wc(a2),0!==c2&&(d2=Tj(a2,c2)));if(1===d2)throw b2=sj,Qj(a2,0),Ii(a2,c2),Mj(a2,O$1()),b2;a2.finishedWork=a2.current.alternate;a2.finishedLanes=c2;switch(d2){case 0:case 1:throw Error(y$3(345));case 2:Uj(a2);break;case 3:Ii(a2,c2);if((c2&62914560)===c2&&(d2=jj+500-O$1(),10<d2)){if(0!==Uc(a2,0))break;e2=a2.suspendedLanes;if((e2&c2)!==c2){Hg();a2.pingedLanes|=a2.suspendedLanes&e2;break}a2.timeoutHandle=of(Uj.bind(null,a2),d2);break}Uj(a2);break;case 4:Ii(a2,c2);if((c2&4186112)===c2)break;d2=a2.eventTimes;for(e2=-1;0<c2;){var g2=31-Vc(c2);f2=1<<g2;g2=d2[g2];g2>e2&&(e2=g2);c2&=~f2}c2=e2;c2=O$1()-c2;c2=(120>c2?120:480>c2?480:1080>c2?1080:1920>c2?1920:3e3>c2?3e3:4320>c2?4320:1960*nj(c2/1960))-c2;if(10<c2){a2.timeoutHandle=of(Uj.bind(null,a2),c2);break}Uj(a2);break;case 5:Uj(a2);break;default:throw Error(y$3(329))}}Mj(a2,O$1());return a2.callbackNode===b2?Nj.bind(null,a2):null}function Ii(a2,b2){b2&=~uj;b2&=~Hi;a2.suspendedLanes|=b2;a2.pingedLanes&=~b2;for(a2=a2.expirationTimes;0<b2;){var c2=31-Vc(b2),d2=1<<c2;a2[c2]=-1;b2&=~d2}}function Lj(a2){if(0!==(X&48))throw Error(y$3(327));Oj();if(a2===U&&0!==(a2.expiredLanes&W$1)){var b2=W$1;var c2=Tj(a2,b2);0!==(tj&Hi)&&(b2=Uc(a2,b2),c2=Tj(a2,b2))}else b2=Uc(a2,0),c2=Tj(a2,b2);0!==a2.tag&&2===c2&&(X|=64,a2.hydrate&&(a2.hydrate=false,qf(a2.containerInfo)),b2=Wc(a2),0!==b2&&(c2=Tj(a2,b2)));if(1===c2)throw c2=sj,Qj(a2,0),Ii(a2,b2),Mj(a2,O$1()),c2;a2.finishedWork=a2.current.alternate;a2.finishedLanes=b2;Uj(a2);Mj(a2,O$1());return null}function Vj(){if(null!==Cj){var a2=Cj;Cj=null;a2.forEach((function(a3){a3.expiredLanes|=24&a3.pendingLanes;Mj(a3,O$1())}))}ig()}function Wj(a2,b2){var c2=X;X|=1;try{return a2(b2)}finally{X=c2,0===X&&(wj(),ig())}}function Xj(a2,b2){var c2=X;X&=-2;X|=8;try{return a2(b2)}finally{X=c2,0===X&&(wj(),ig())}}function ni(a2,b2){I(rj,qj);qj|=b2;tj|=b2}function Ki(){qj=rj.current;H$1(rj)}function Qj(a2,b2){a2.finishedWork=null;a2.finishedLanes=0;var c2=a2.timeoutHandle;-1!==c2&&(a2.timeoutHandle=-1,pf(c2));if(null!==Y)for(c2=Y.return;null!==c2;){var d2=c2;switch(d2.tag){case 1:d2=d2.type.childContextTypes;null!==d2&&void 0!==d2&&Gf();break;case 3:fh();H$1(N);H$1(M);uh();break;case 5:hh(d2);break;case 4:fh();break;case 13:H$1(P);break;case 19:H$1(P);break;case 10:rg(d2);break;case 23:case 24:Ki()}c2=c2.return}U=a2;Y=Tg(a2.current,null);W$1=qj=tj=b2;V$1=0;sj=null;uj=Hi=Dg=0}function Sj(a2,b2){do{var c2=Y;try{qg();vh.current=Gh;if(yh){for(var d2=R$1.memoizedState;null!==d2;){var e2=d2.queue;null!==e2&&(e2.pending=null);d2=d2.next}yh=false}xh=0;T$1=S$1=R$1=null;zh=false;pj.current=null;if(null===c2||null===c2.return){V$1=1;sj=b2;Y=null;break}a:{var f2=a2,g2=c2.return,h2=c2,k2=b2;b2=W$1;h2.flags|=2048;h2.firstEffect=h2.lastEffect=null;if(null!==k2&&"object"===typeof k2&&"function"===typeof k2.then){var l2=k2;if(0===(h2.mode&2)){var n2=h2.alternate;n2?(h2.updateQueue=n2.updateQueue,h2.memoizedState=n2.memoizedState,h2.lanes=n2.lanes):(h2.updateQueue=null,h2.memoizedState=null)}var A2=0!==(P.current&1),p2=g2;do{var C2;if(C2=13===p2.tag){var x2=p2.memoizedState;if(null!==x2)C2=null!==x2.dehydrated?true:false;else{var w2=p2.memoizedProps;C2=void 0===w2.fallback?false:true!==w2.unstable_avoidThisFallback?true:A2?false:true}}if(C2){var z2=p2.updateQueue;if(null===z2){var u2=new Set;u2.add(l2);p2.updateQueue=u2}else z2.add(l2);if(0===(p2.mode&2)){p2.flags|=64;h2.flags|=16384;h2.flags&=-2981;if(1===h2.tag)if(null===h2.alternate)h2.tag=17;else{var t2=zg(-1,1);t2.tag=2;Ag(h2,t2)}h2.lanes|=1;break a}k2=void 0;h2=b2;var q2=f2.pingCache;null===q2?(q2=f2.pingCache=new Oi,k2=new Set,q2.set(l2,k2)):(k2=q2.get(l2),void 0===k2&&(k2=new Set,q2.set(l2,k2)));if(!k2.has(h2)){k2.add(h2);var v2=Yj.bind(null,f2,l2,h2);l2.then(v2,v2)}p2.flags|=4096;p2.lanes=b2;break a}p2=p2.return}while(null!==p2);k2=Error((Ra(h2.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display.")}5!==V$1&&(V$1=2);k2=Mi(k2,h2);p2=g2;do{switch(p2.tag){case 3:f2=k2;p2.flags|=4096;b2&=-b2;p2.lanes|=b2;var J=Pi(p2,f2,b2);Bg(p2,J);break a;case 1:f2=k2;var K=p2.type,Q=p2.stateNode;if(0===(p2.flags&64)&&("function"===typeof K.getDerivedStateFromError||null!==Q&&"function"===typeof Q.componentDidCatch&&(null===Ti||!Ti.has(Q)))){p2.flags|=4096;b2&=-b2;p2.lanes|=b2;var L2=Si(p2,f2,b2);Bg(p2,L2);break a}}p2=p2.return}while(null!==p2)}Zj(c2)}catch(va){b2=va;Y===c2&&null!==c2&&(Y=c2=c2.return);continue}break}while(1)}function Pj(){var a2=oj.current;oj.current=Gh;return null===a2?Gh:a2}function Tj(a2,b2){var c2=X;X|=16;var d2=Pj();U===a2&&W$1===b2||Qj(a2,b2);do{try{ak();break}catch(e2){Sj(a2,e2)}}while(1);qg();X=c2;oj.current=d2;if(null!==Y)throw Error(y$3(261));U=null;W$1=0;return V$1}function ak(){for(;null!==Y;)bk(Y)}function Rj(){for(;null!==Y&&!Qf();)bk(Y)}function bk(a2){var b2=ck(a2.alternate,a2,qj);a2.memoizedProps=a2.pendingProps;null===b2?Zj(a2):Y=b2;pj.current=null}function Zj(a2){var b2=a2;do{var c2=b2.alternate;a2=b2.return;if(0===(b2.flags&2048)){c2=Gi(c2,b2,qj);if(null!==c2){Y=c2;return}c2=b2;if(24!==c2.tag&&23!==c2.tag||null===c2.memoizedState||0!==(qj&1073741824)||0===(c2.mode&4)){for(var d2=0,e2=c2.child;null!==e2;)d2|=e2.lanes|e2.childLanes,e2=e2.sibling;c2.childLanes=d2}null!==a2&&0===(a2.flags&2048)&&(null===a2.firstEffect&&(a2.firstEffect=b2.firstEffect),null!==b2.lastEffect&&(null!==a2.lastEffect&&(a2.lastEffect.nextEffect=b2.firstEffect),a2.lastEffect=b2.lastEffect),1<b2.flags&&(null!==a2.lastEffect?a2.lastEffect.nextEffect=b2:a2.firstEffect=b2,a2.lastEffect=b2))}else{c2=Li(b2);if(null!==c2){c2.flags&=2047;Y=c2;return}null!==a2&&(a2.firstEffect=a2.lastEffect=null,a2.flags|=2048)}b2=b2.sibling;if(null!==b2){Y=b2;return}Y=b2=a2}while(null!==b2);0===V$1&&(V$1=5)}function Uj(a2){var b2=eg();gg(99,dk.bind(null,a2,b2));return null}function dk(a2,b2){do{Oj()}while(null!==yj);if(0!==(X&48))throw Error(y$3(327));var c2=a2.finishedWork;if(null===c2)return null;a2.finishedWork=null;a2.finishedLanes=0;if(c2===a2.current)throw Error(y$3(177));a2.callbackNode=null;var d2=c2.lanes|c2.childLanes,e2=d2,f2=a2.pendingLanes&~e2;a2.pendingLanes=e2;a2.suspendedLanes=0;a2.pingedLanes=0;a2.expiredLanes&=e2;a2.mutableReadLanes&=e2;a2.entangledLanes&=e2;e2=a2.entanglements;for(var g2=a2.eventTimes,h2=a2.expirationTimes;0<f2;){var k2=31-Vc(f2),l2=1<<k2;e2[k2]=0;g2[k2]=-1;h2[k2]=-1;f2&=~l2}null!==Cj&&0===(d2&24)&&Cj.has(a2)&&Cj.delete(a2);a2===U&&(Y=U=null,W$1=0);1<c2.flags?null!==c2.lastEffect?(c2.lastEffect.nextEffect=c2,d2=c2.firstEffect):d2=c2:d2=c2.firstEffect;if(null!==d2){e2=X;X|=32;pj.current=null;kf=fd;g2=Ne();if(Oe(g2)){if("selectionStart"in g2)h2={start:g2.selectionStart,end:g2.selectionEnd};else a:if(h2=(h2=g2.ownerDocument)&&h2.defaultView||window,(l2=h2.getSelection&&h2.getSelection())&&0!==l2.rangeCount){h2=l2.anchorNode;f2=l2.anchorOffset;k2=l2.focusNode;l2=l2.focusOffset;try{h2.nodeType,k2.nodeType}catch(va){h2=null;break a}var n2=0,A2=-1,p2=-1,C2=0,x2=0,w2=g2,z2=null;b:for(;;){for(var u2;;){w2!==h2||0!==f2&&3!==w2.nodeType||(A2=n2+f2);w2!==k2||0!==l2&&3!==w2.nodeType||(p2=n2+l2);3===w2.nodeType&&(n2+=w2.nodeValue.length);if(null===(u2=w2.firstChild))break;z2=w2;w2=u2}for(;;){if(w2===g2)break b;z2===h2&&++C2===f2&&(A2=n2);z2===k2&&++x2===l2&&(p2=n2);if(null!==(u2=w2.nextSibling))break;w2=z2;z2=w2.parentNode}w2=u2}h2=-1===A2||-1===p2?null:{start:A2,end:p2}}else h2=null;h2=h2||{start:0,end:0}}else h2=null;lf={focusedElem:g2,selectionRange:h2};fd=false;Ij=null;Jj=false;Z=d2;do{try{ek()}catch(va){if(null===Z)throw Error(y$3(330));Wi(Z,va);Z=Z.nextEffect}}while(null!==Z);Ij=null;Z=d2;do{try{for(g2=a2;null!==Z;){var t2=Z.flags;t2&16&&pb(Z.stateNode,"");if(t2&128){var q2=Z.alternate;if(null!==q2){var v2=q2.ref;null!==v2&&("function"===typeof v2?v2(null):v2.current=null)}}switch(t2&1038){case 2:fj(Z);Z.flags&=-3;break;case 6:fj(Z);Z.flags&=-3;ij(Z.alternate,Z);break;case 1024:Z.flags&=-1025;break;case 1028:Z.flags&=-1025;ij(Z.alternate,Z);break;case 4:ij(Z.alternate,Z);break;case 8:h2=Z;cj(g2,h2);var J=h2.alternate;dj(h2);null!==J&&dj(J)}Z=Z.nextEffect}}catch(va){if(null===Z)throw Error(y$3(330));Wi(Z,va);Z=Z.nextEffect}}while(null!==Z);v2=lf;q2=Ne();t2=v2.focusedElem;g2=v2.selectionRange;if(q2!==t2&&t2&&t2.ownerDocument&&Me(t2.ownerDocument.documentElement,t2)){null!==g2&&Oe(t2)&&(q2=g2.start,v2=g2.end,void 0===v2&&(v2=q2),"selectionStart"in t2?(t2.selectionStart=q2,t2.selectionEnd=Math.min(v2,t2.value.length)):(v2=(q2=t2.ownerDocument||document)&&q2.defaultView||window,v2.getSelection&&(v2=v2.getSelection(),h2=t2.textContent.length,J=Math.min(g2.start,h2),g2=void 0===g2.end?J:Math.min(g2.end,h2),!v2.extend&&J>g2&&(h2=g2,g2=J,J=h2),h2=Le(t2,J),f2=Le(t2,g2),h2&&f2&&(1!==v2.rangeCount||v2.anchorNode!==h2.node||v2.anchorOffset!==h2.offset||v2.focusNode!==f2.node||v2.focusOffset!==f2.offset)&&(q2=q2.createRange(),q2.setStart(h2.node,h2.offset),v2.removeAllRanges(),J>g2?(v2.addRange(q2),v2.extend(f2.node,f2.offset)):(q2.setEnd(f2.node,f2.offset),v2.addRange(q2))))));q2=[];for(v2=t2;v2=v2.parentNode;)1===v2.nodeType&&q2.push({element:v2,left:v2.scrollLeft,top:v2.scrollTop});"function"===typeof t2.focus&&t2.focus();for(t2=0;t2<q2.length;t2++)v2=q2[t2],v2.element.scrollLeft=v2.left,v2.element.scrollTop=v2.top}fd=!!kf;lf=kf=null;a2.current=c2;Z=d2;do{try{for(t2=a2;null!==Z;){var K=Z.flags;K&36&&Yi(t2,Z.alternate,Z);if(K&128){q2=void 0;var Q=Z.ref;if(null!==Q){var L2=Z.stateNode;switch(Z.tag){case 5:q2=L2;break;default:q2=L2}"function"===typeof Q?Q(q2):Q.current=q2}}Z=Z.nextEffect}}catch(va){if(null===Z)throw Error(y$3(330));Wi(Z,va);Z=Z.nextEffect}}while(null!==Z);Z=null;$f();X=e2}else a2.current=c2;if(xj)xj=false,yj=a2,zj=b2;else for(Z=d2;null!==Z;)b2=Z.nextEffect,Z.nextEffect=null,Z.flags&8&&(K=Z,K.sibling=null,K.stateNode=null),Z=b2;d2=a2.pendingLanes;0===d2&&(Ti=null);1===d2?a2===Ej?Dj++:(Dj=0,Ej=a2):Dj=0;c2=c2.stateNode;if(Mf&&"function"===typeof Mf.onCommitFiberRoot)try{Mf.onCommitFiberRoot(Lf,c2,void 0,64===(c2.current.flags&64))}catch(va){}Mj(a2,O$1());if(Qi)throw Qi=false,a2=Ri,Ri=null,a2;if(0!==(X&8))return null;ig();return null}function ek(){for(;null!==Z;){var a2=Z.alternate;Jj||null===Ij||(0!==(Z.flags&8)?dc(Z,Ij)&&(Jj=true):13===Z.tag&&mj(a2,Z)&&dc(Z,Ij)&&(Jj=true));var b2=Z.flags;0!==(b2&256)&&Xi(a2,Z);0===(b2&512)||xj||(xj=true,hg(97,(function(){Oj();return null})));Z=Z.nextEffect}}function Oj(){if(90!==zj){var a2=97<zj?97:zj;zj=90;return gg(a2,fk)}return false}function $i(a2,b2){Aj.push(b2,a2);xj||(xj=true,hg(97,(function(){Oj();return null})))}function Zi(a2,b2){Bj.push(b2,a2);xj||(xj=true,hg(97,(function(){Oj();return null})))}function fk(){if(null===yj)return false;var a2=yj;yj=null;if(0!==(X&48))throw Error(y$3(331));var b2=X;X|=32;var c2=Bj;Bj=[];for(var d2=0;d2<c2.length;d2+=2){var e2=c2[d2],f2=c2[d2+1],g2=e2.destroy;e2.destroy=void 0;if("function"===typeof g2)try{g2()}catch(k2){if(null===f2)throw Error(y$3(330));Wi(f2,k2)}}c2=Aj;Aj=[];for(d2=0;d2<c2.length;d2+=2){e2=c2[d2];f2=c2[d2+1];try{var h2=e2.create;e2.destroy=h2()}catch(k2){if(null===f2)throw Error(y$3(330));Wi(f2,k2)}}for(h2=a2.current.firstEffect;null!==h2;)a2=h2.nextEffect,h2.nextEffect=null,h2.flags&8&&(h2.sibling=null,h2.stateNode=null),h2=a2;X=b2;ig();return true}function gk(a2,b2,c2){b2=Mi(c2,b2);b2=Pi(a2,b2,1);Ag(a2,b2);b2=Hg();a2=Kj(a2,1);null!==a2&&($c(a2,1,b2),Mj(a2,b2))}function Wi(a2,b2){if(3===a2.tag)gk(a2,a2,b2);else for(var c2=a2.return;null!==c2;){if(3===c2.tag){gk(c2,a2,b2);break}else if(1===c2.tag){var d2=c2.stateNode;if("function"===typeof c2.type.getDerivedStateFromError||"function"===typeof d2.componentDidCatch&&(null===Ti||!Ti.has(d2))){a2=Mi(b2,a2);var e2=Si(c2,a2,1);Ag(c2,e2);e2=Hg();c2=Kj(c2,1);if(null!==c2)$c(c2,1,e2),Mj(c2,e2);else if("function"===typeof d2.componentDidCatch&&(null===Ti||!Ti.has(d2)))try{d2.componentDidCatch(b2,a2)}catch(f2){}break}}c2=c2.return}}function Yj(a2,b2,c2){var d2=a2.pingCache;null!==d2&&d2.delete(b2);b2=Hg();a2.pingedLanes|=a2.suspendedLanes&c2;U===a2&&(W$1&c2)===c2&&(4===V$1||3===V$1&&(W$1&62914560)===W$1&&500>O$1()-jj?Qj(a2,0):uj|=c2);Mj(a2,b2)}function lj(a2,b2){var c2=a2.stateNode;null!==c2&&c2.delete(b2);b2=0;0===b2&&(b2=a2.mode,0===(b2&2)?b2=1:0===(b2&4)?b2=99===eg()?1:2:(0===Gj&&(Gj=tj),b2=Yc(62914560&~Gj),0===b2&&(b2=4194304)));c2=Hg();a2=Kj(a2,b2);null!==a2&&($c(a2,b2,c2),Mj(a2,c2))}var ck;ck=function(a2,b2,c2){var d2=b2.lanes;if(null!==a2)if(a2.memoizedProps!==b2.pendingProps||N.current)ug=true;else if(0!==(c2&d2))ug=0!==(a2.flags&16384)?true:false;else{ug=false;switch(b2.tag){case 3:ri(b2);sh();break;case 5:gh(b2);break;case 1:Ff(b2.type)&&Jf(b2);break;case 4:eh(b2,b2.stateNode.containerInfo);break;case 10:d2=b2.memoizedProps.value;var e2=b2.type._context;I(mg,e2._currentValue);e2._currentValue=d2;break;case 13:if(null!==b2.memoizedState){if(0!==(c2&b2.child.childLanes))return ti(a2,b2,c2);I(P,P.current&1);b2=hi(a2,b2,c2);return null!==b2?b2.sibling:null}I(P,P.current&1);break;case 19:d2=0!==(c2&b2.childLanes);if(0!==(a2.flags&64)){if(d2)return Ai(a2,b2,c2);b2.flags|=64}e2=b2.memoizedState;null!==e2&&(e2.rendering=null,e2.tail=null,e2.lastEffect=null);I(P,P.current);if(d2)break;else return null;case 23:case 24:return b2.lanes=0,mi(a2,b2,c2)}return hi(a2,b2,c2)}else ug=false;b2.lanes=0;switch(b2.tag){case 2:d2=b2.type;null!==a2&&(a2.alternate=null,b2.alternate=null,b2.flags|=2);a2=b2.pendingProps;e2=Ef(b2,M.current);tg(b2,c2);e2=Ch(null,b2,d2,a2,e2,c2);b2.flags|=1;if("object"===typeof e2&&null!==e2&&"function"===typeof e2.render&&void 0===e2.$$typeof){b2.tag=1;b2.memoizedState=null;b2.updateQueue=null;if(Ff(d2)){var f2=true;Jf(b2)}else f2=false;b2.memoizedState=null!==e2.state&&void 0!==e2.state?e2.state:null;xg(b2);var g2=d2.getDerivedStateFromProps;"function"===typeof g2&&Gg(b2,d2,g2,a2);e2.updater=Kg;b2.stateNode=e2;e2._reactInternals=b2;Og(b2,d2,a2,c2);b2=qi(null,b2,d2,true,f2,c2)}else b2.tag=0,fi(null,b2,e2,c2),b2=b2.child;return b2;case 16:e2=b2.elementType;a:{null!==a2&&(a2.alternate=null,b2.alternate=null,b2.flags|=2);a2=b2.pendingProps;f2=e2._init;e2=f2(e2._payload);b2.type=e2;f2=b2.tag=hk(e2);a2=lg(e2,a2);switch(f2){case 0:b2=li(null,b2,e2,a2,c2);break a;case 1:b2=pi(null,b2,e2,a2,c2);break a;case 11:b2=gi(null,b2,e2,a2,c2);break a;case 14:b2=ii(null,b2,e2,lg(e2.type,a2),d2,c2);break a}throw Error(y$3(306,e2,""))}return b2;case 0:return d2=b2.type,e2=b2.pendingProps,e2=b2.elementType===d2?e2:lg(d2,e2),li(a2,b2,d2,e2,c2);case 1:return d2=b2.type,e2=b2.pendingProps,e2=b2.elementType===d2?e2:lg(d2,e2),pi(a2,b2,d2,e2,c2);case 3:ri(b2);d2=b2.updateQueue;if(null===a2||null===d2)throw Error(y$3(282));d2=b2.pendingProps;e2=b2.memoizedState;e2=null!==e2?e2.element:null;yg(a2,b2);Cg(b2,d2,null,c2);d2=b2.memoizedState.element;if(d2===e2)sh(),b2=hi(a2,b2,c2);else{e2=b2.stateNode;if(f2=e2.hydrate)kh=rf(b2.stateNode.containerInfo.firstChild),jh=b2,f2=lh=true;if(f2){a2=e2.mutableSourceEagerHydrationData;if(null!=a2)for(e2=0;e2<a2.length;e2+=2)f2=a2[e2],f2._workInProgressVersionPrimary=a2[e2+1],th.push(f2);c2=Zg(b2,null,d2,c2);for(b2.child=c2;c2;)c2.flags=c2.flags&-3|1024,c2=c2.sibling}else fi(a2,b2,d2,c2),sh();b2=b2.child}return b2;case 5:return gh(b2),null===a2&&ph(b2),d2=b2.type,e2=b2.pendingProps,f2=null!==a2?a2.memoizedProps:null,g2=e2.children,nf(d2,e2)?g2=null:null!==f2&&nf(d2,f2)&&(b2.flags|=16),oi(a2,b2),fi(a2,b2,g2,c2),b2.child;case 6:return null===a2&&ph(b2),null;case 13:return ti(a2,b2,c2);case 4:return eh(b2,b2.stateNode.containerInfo),d2=b2.pendingProps,null===a2?b2.child=Yg(b2,null,d2,c2):fi(a2,b2,d2,c2),b2.child;case 11:return d2=b2.type,e2=b2.pendingProps,e2=b2.elementType===d2?e2:lg(d2,e2),gi(a2,b2,d2,e2,c2);case 7:return fi(a2,b2,b2.pendingProps,c2),b2.child;case 8:return fi(a2,b2,b2.pendingProps.children,c2),b2.child;case 12:return fi(a2,b2,b2.pendingProps.children,c2),b2.child;case 10:a:{d2=b2.type._context;e2=b2.pendingProps;g2=b2.memoizedProps;f2=e2.value;var h2=b2.type._context;I(mg,h2._currentValue);h2._currentValue=f2;if(null!==g2)if(h2=g2.value,f2=He(h2,f2)?0:("function"===typeof d2._calculateChangedBits?d2._calculateChangedBits(h2,f2):1073741823)|0,0===f2){if(g2.children===e2.children&&!N.current){b2=hi(a2,b2,c2);break a}}else for(h2=b2.child,null!==h2&&(h2.return=b2);null!==h2;){var k2=h2.dependencies;if(null!==k2){g2=h2.child;for(var l2=k2.firstContext;null!==l2;){if(l2.context===d2&&0!==(l2.observedBits&f2)){1===h2.tag&&(l2=zg(-1,c2&-c2),l2.tag=2,Ag(h2,l2));h2.lanes|=c2;l2=h2.alternate;null!==l2&&(l2.lanes|=c2);sg(h2.return,c2);k2.lanes|=c2;break}l2=l2.next}}else g2=10===h2.tag?h2.type===b2.type?null:h2.child:h2.child;if(null!==g2)g2.return=h2;else for(g2=h2;null!==g2;){if(g2===b2){g2=null;break}h2=g2.sibling;if(null!==h2){h2.return=g2.return;g2=h2;break}g2=g2.return}h2=g2}fi(a2,b2,e2.children,c2);b2=b2.child}return b2;case 9:return e2=b2.type,f2=b2.pendingProps,d2=f2.children,tg(b2,c2),e2=vg(e2,f2.unstable_observedBits),d2=d2(e2),b2.flags|=1,fi(a2,b2,d2,c2),b2.child;case 14:return e2=b2.type,f2=lg(e2,b2.pendingProps),f2=lg(e2.type,f2),ii(a2,b2,e2,f2,d2,c2);case 15:return ki(a2,b2,b2.type,b2.pendingProps,d2,c2);case 17:return d2=b2.type,e2=b2.pendingProps,e2=b2.elementType===d2?e2:lg(d2,e2),null!==a2&&(a2.alternate=null,b2.alternate=null,b2.flags|=2),b2.tag=1,Ff(d2)?(a2=true,Jf(b2)):a2=false,tg(b2,c2),Mg(b2,d2,e2),Og(b2,d2,e2,c2),qi(null,b2,d2,true,a2,c2);case 19:return Ai(a2,b2,c2);case 23:return mi(a2,b2,c2);case 24:return mi(a2,b2,c2)}throw Error(y$3(156,b2.tag))};function ik(a2,b2,c2,d2){this.tag=a2;this.key=c2;this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null;this.index=0;this.ref=null;this.pendingProps=b2;this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null;this.mode=d2;this.flags=0;this.lastEffect=this.firstEffect=this.nextEffect=null;this.childLanes=this.lanes=0;this.alternate=null}function nh(a2,b2,c2,d2){return new ik(a2,b2,c2,d2)}function ji(a2){a2=a2.prototype;return!(!a2||!a2.isReactComponent)}function hk(a2){if("function"===typeof a2)return ji(a2)?1:0;if(void 0!==a2&&null!==a2){a2=a2.$$typeof;if(a2===Aa)return 11;if(a2===Da)return 14}return 2}function Tg(a2,b2){var c2=a2.alternate;null===c2?(c2=nh(a2.tag,b2,a2.key,a2.mode),c2.elementType=a2.elementType,c2.type=a2.type,c2.stateNode=a2.stateNode,c2.alternate=a2,a2.alternate=c2):(c2.pendingProps=b2,c2.type=a2.type,c2.flags=0,c2.nextEffect=null,c2.firstEffect=null,c2.lastEffect=null);c2.childLanes=a2.childLanes;c2.lanes=a2.lanes;c2.child=a2.child;c2.memoizedProps=a2.memoizedProps;c2.memoizedState=a2.memoizedState;c2.updateQueue=a2.updateQueue;b2=a2.dependencies;c2.dependencies=null===b2?null:{lanes:b2.lanes,firstContext:b2.firstContext};c2.sibling=a2.sibling;c2.index=a2.index;c2.ref=a2.ref;return c2}function Vg(a2,b2,c2,d2,e2,f2){var g2=2;d2=a2;if("function"===typeof a2)ji(a2)&&(g2=1);else if("string"===typeof a2)g2=5;else a:switch(a2){case ua:return Xg(c2.children,e2,f2,b2);case Ha:g2=8;e2|=16;break;case wa:g2=8;e2|=1;break;case xa:return a2=nh(12,c2,b2,e2|8),a2.elementType=xa,a2.type=xa,a2.lanes=f2,a2;case Ba:return a2=nh(13,c2,b2,e2),a2.type=Ba,a2.elementType=Ba,a2.lanes=f2,a2;case Ca:return a2=nh(19,c2,b2,e2),a2.elementType=Ca,a2.lanes=f2,a2;case Ia:return vi(c2,e2,f2,b2);case Ja:return a2=nh(24,c2,b2,e2),a2.elementType=Ja,a2.lanes=f2,a2;default:if("object"===typeof a2&&null!==a2)switch(a2.$$typeof){case ya:g2=10;break a;case za:g2=9;break a;case Aa:g2=11;break a;case Da:g2=14;break a;case Ea:g2=16;d2=null;break a;case Fa:g2=22;break a}throw Error(y$3(130,null==a2?a2:typeof a2,""))}b2=nh(g2,c2,b2,e2);b2.elementType=a2;b2.type=d2;b2.lanes=f2;return b2}function Xg(a2,b2,c2,d2){a2=nh(7,a2,d2,b2);a2.lanes=c2;return a2}function vi(a2,b2,c2,d2){a2=nh(23,a2,d2,b2);a2.elementType=Ia;a2.lanes=c2;return a2}function Ug(a2,b2,c2){a2=nh(6,a2,null,b2);a2.lanes=c2;return a2}function Wg(a2,b2,c2){b2=nh(4,null!==a2.children?a2.children:[],a2.key,b2);b2.lanes=c2;b2.stateNode={containerInfo:a2.containerInfo,pendingChildren:null,implementation:a2.implementation};return b2}function jk(a2,b2,c2){this.tag=b2;this.containerInfo=a2;this.finishedWork=this.pingCache=this.current=this.pendingChildren=null;this.timeoutHandle=-1;this.pendingContext=this.context=null;this.hydrate=c2;this.callbackNode=null;this.callbackPriority=0;this.eventTimes=Zc(0);this.expirationTimes=Zc(-1);this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0;this.entanglements=Zc(0);this.mutableSourceEagerHydrationData=null}function kk(a2,b2,c2){var d2=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:ta,key:null==d2?null:""+d2,children:a2,containerInfo:b2,implementation:c2}}function lk(a2,b2,c2,d2){var e2=b2.current,f2=Hg(),g2=Ig(e2);a:if(c2){c2=c2._reactInternals;b:{if(Zb(c2)!==c2||1!==c2.tag)throw Error(y$3(170));var h2=c2;do{switch(h2.tag){case 3:h2=h2.stateNode.context;break b;case 1:if(Ff(h2.type)){h2=h2.stateNode.__reactInternalMemoizedMergedChildContext;break b}}h2=h2.return}while(null!==h2);throw Error(y$3(171))}if(1===c2.tag){var k2=c2.type;if(Ff(k2)){c2=If(c2,k2,h2);break a}}c2=h2}else c2=Cf;null===b2.context?b2.context=c2:b2.pendingContext=c2;b2=zg(f2,g2);b2.payload={element:a2};d2=void 0===d2?null:d2;null!==d2&&(b2.callback=d2);Ag(e2,b2);Jg(e2,g2,f2);return g2}function mk(a2){a2=a2.current;if(!a2.child)return null;switch(a2.child.tag){case 5:return a2.child.stateNode;default:return a2.child.stateNode}}function nk(a2,b2){a2=a2.memoizedState;if(null!==a2&&null!==a2.dehydrated){var c2=a2.retryLane;a2.retryLane=0!==c2&&c2<b2?c2:b2}}function ok(a2,b2){nk(a2,b2);(a2=a2.alternate)&&nk(a2,b2)}function pk(){return null}function qk(a2,b2,c2){var d2=null!=c2&&null!=c2.hydrationOptions&&c2.hydrationOptions.mutableSources||null;c2=new jk(a2,b2,null!=c2&&true===c2.hydrate);b2=nh(3,null,null,2===b2?7:1===b2?3:0);c2.current=b2;b2.stateNode=c2;xg(b2);a2[ff]=c2.current;cf(8===a2.nodeType?a2.parentNode:a2);if(d2)for(a2=0;a2<d2.length;a2++){b2=d2[a2];var e2=b2._getVersion;e2=e2(b2._source);null==c2.mutableSourceEagerHydrationData?c2.mutableSourceEagerHydrationData=[b2,e2]:c2.mutableSourceEagerHydrationData.push(b2,e2)}this._internalRoot=c2}qk.prototype.render=function(a2){lk(a2,this._internalRoot,null,null)};qk.prototype.unmount=function(){var a2=this._internalRoot,b2=a2.containerInfo;lk(null,a2,null,(function(){b2[ff]=null}))};function rk(a2){return!(!a2||1!==a2.nodeType&&9!==a2.nodeType&&11!==a2.nodeType&&(8!==a2.nodeType||" react-mount-point-unstable "!==a2.nodeValue))}function sk(a2,b2){b2||(b2=a2?9===a2.nodeType?a2.documentElement:a2.firstChild:null,b2=!(!b2||1!==b2.nodeType||!b2.hasAttribute("data-reactroot")));if(!b2)for(var c2;c2=a2.lastChild;)a2.removeChild(c2);return new qk(a2,0,b2?{hydrate:true}:void 0)}function tk(a2,b2,c2,d2,e2){var f2=c2._reactRootContainer;if(f2){var g2=f2._internalRoot;if("function"===typeof e2){var h2=e2;e2=function(){var a3=mk(g2);h2.call(a3)}}lk(b2,g2,a2,e2)}else{f2=c2._reactRootContainer=sk(c2,d2);g2=f2._internalRoot;if("function"===typeof e2){var k2=e2;e2=function(){var a3=mk(g2);k2.call(a3)}}Xj((function(){lk(b2,g2,a2,e2)}))}return mk(g2)}ec=function(a2){if(13===a2.tag){var b2=Hg();Jg(a2,4,b2);ok(a2,4)}};fc=function(a2){if(13===a2.tag){var b2=Hg();Jg(a2,67108864,b2);ok(a2,67108864)}};gc=function(a2){if(13===a2.tag){var b2=Hg(),c2=Ig(a2);Jg(a2,c2,b2);ok(a2,c2)}};hc=function(a2,b2){return b2()};yb=function(a2,b2,c2){switch(b2){case"input":ab(a2,c2);b2=c2.name;if("radio"===c2.type&&null!=b2){for(c2=a2;c2.parentNode;)c2=c2.parentNode;c2=c2.querySelectorAll("input[name="+JSON.stringify(""+b2)+'][type="radio"]');for(b2=0;b2<c2.length;b2++){var d2=c2[b2];if(d2!==a2&&d2.form===a2.form){var e2=Db(d2);if(!e2)throw Error(y$3(90));Wa(d2);ab(d2,e2)}}}break;case"textarea":ib(a2,c2);break;case"select":b2=c2.value,null!=b2&&fb(a2,!!c2.multiple,b2,false)}};Gb=Wj;Hb=function(a2,b2,c2,d2,e2){var f2=X;X|=4;try{return gg(98,a2.bind(null,b2,c2,d2,e2))}finally{X=f2,0===X&&(wj(),ig())}};Ib=function(){0===(X&49)&&(Vj(),Oj())};Jb=function(a2,b2){var c2=X;X|=2;try{return a2(b2)}finally{X=c2,0===X&&(wj(),ig())}};function uk(a2,b2){var c2=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!rk(b2))throw Error(y$3(200));return kk(a2,b2,null,c2)}var vk={Events:[Cb,ue,Db,Eb,Fb,Oj,{current:false}]},wk={findFiberByHostInstance:wc,bundleType:0,version:"17.0.2",rendererPackageName:"react-dom"};var xk={bundleType:wk.bundleType,version:wk.version,rendererPackageName:wk.rendererPackageName,rendererConfig:wk.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:ra.ReactCurrentDispatcher,findHostInstanceByFiber:function(a2){a2=cc(a2);return null===a2?null:a2.stateNode},findFiberByHostInstance:wk.findFiberByHostInstance||pk,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null};if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var yk=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!yk.isDisabled&&yk.supportsFiber)try{Lf=yk.inject(xk),Mf=yk}catch(a2){}}reactDom_production_min.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=vk;reactDom_production_min.createPortal=uk;reactDom_production_min.findDOMNode=function(a2){if(null==a2)return null;if(1===a2.nodeType)return a2;var b2=a2._reactInternals;if(void 0===b2){if("function"===typeof a2.render)throw Error(y$3(188));throw Error(y$3(268,Object.keys(a2)))}a2=cc(b2);a2=null===a2?null:a2.stateNode;return a2};reactDom_production_min.flushSync=function(a2,b2){var c2=X;if(0!==(c2&48))return a2(b2);X|=1;try{if(a2)return gg(99,a2.bind(null,b2))}finally{X=c2,ig()}};reactDom_production_min.hydrate=function(a2,b2,c2){if(!rk(b2))throw Error(y$3(200));return tk(null,a2,b2,true,c2)};reactDom_production_min.render=function(a2,b2,c2){if(!rk(b2))throw Error(y$3(200));return tk(null,a2,b2,false,c2)};reactDom_production_min.unmountComponentAtNode=function(a2){if(!rk(a2))throw Error(y$3(40));return a2._reactRootContainer?(Xj((function(){tk(null,null,a2,false,(function(){a2._reactRootContainer=null;a2[ff]=null}))})),true):false};reactDom_production_min.unstable_batchedUpdates=Wj;reactDom_production_min.unstable_createPortal=function(a2,b2){return uk(a2,b2,2<arguments.length&&void 0!==arguments[2]?arguments[2]:null)};reactDom_production_min.unstable_renderSubtreeIntoContainer=function(a2,b2,c2,d2){if(!rk(c2))throw Error(y$3(200));if(null==a2||void 0===a2._reactInternals)throw Error(y$3(38));return tk(a2,b2,c2,false,d2)};reactDom_production_min.version="17.0.2";function checkDCE(){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__==="undefined"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!=="function"){return}try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(checkDCE)}catch(err){console.error(err)}}{checkDCE();reactDom.exports=reactDom_production_min}var reactDomExports=reactDom.exports;const ReactDOM=getDefaultExportFromCjs(reactDomExports);var propTypes={exports:{}};var ReactPropTypesSecret$1="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";var ReactPropTypesSecret_1=ReactPropTypesSecret$1;var ReactPropTypesSecret=ReactPropTypesSecret_1;function emptyFunction(){}function emptyFunctionWithReset(){}emptyFunctionWithReset.resetWarningCache=emptyFunction;var factoryWithThrowingShims=function(){function shim(props,propName,componentName,location,propFullName,secret){if(secret===ReactPropTypesSecret){return}var err=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");err.name="Invariant Violation";throw err}shim.isRequired=shim;function getShim(){return shim}var ReactPropTypes={array:shim,bigint:shim,bool:shim,func:shim,number:shim,object:shim,string:shim,symbol:shim,any:shim,arrayOf:getShim,element:shim,elementType:shim,instanceOf:getShim,node:shim,objectOf:getShim,oneOf:getShim,oneOfType:getShim,shape:getShim,exact:getShim,checkPropTypes:emptyFunctionWithReset,resetWarningCache:emptyFunction};ReactPropTypes.PropTypes=ReactPropTypes;return ReactPropTypes};{propTypes.exports=factoryWithThrowingShims()}var propTypesExports=propTypes.exports;const PropTypes=getDefaultExportFromCjs(propTypesExports);var ModalPortal={exports:{}};var focusManager={};var tabbable={exports:{}};(function(module,exports){Object.defineProperty(exports,"__esModule",{value:true});exports.default=findTabbableDescendants;
23
- /*!
24
- * Adapted from jQuery UI core
25
- *
26
- * http://jqueryui.com
27
- *
28
- * Copyright 2014 jQuery Foundation and other contributors
29
- * Released under the MIT license.
30
- * http://jquery.org/license
31
- *
32
- * http://api.jqueryui.com/category/ui-core/
33
- */var DISPLAY_NONE="none";var DISPLAY_CONTENTS="contents";var tabbableNode=/input|select|textarea|button|object|iframe/;function isNotOverflowing(element,style){return style.getPropertyValue("overflow")!=="visible"||element.scrollWidth<=0&&element.scrollHeight<=0}function hidesContents(element){var zeroSize=element.offsetWidth<=0&&element.offsetHeight<=0;if(zeroSize&&!element.innerHTML)return true;try{var style=window.getComputedStyle(element);var displayValue=style.getPropertyValue("display");return zeroSize?displayValue!==DISPLAY_CONTENTS&&isNotOverflowing(element,style):displayValue===DISPLAY_NONE}catch(exception){console.warn("Failed to inspect element style");return false}}function visible(element){var parentElement=element;var rootNode=element.getRootNode&&element.getRootNode();while(parentElement){if(parentElement===document.body)break;if(rootNode&&parentElement===rootNode)parentElement=rootNode.host.parentNode;if(hidesContents(parentElement))return false;parentElement=parentElement.parentNode}return true}function focusable(element,isTabIndexNotNaN){var nodeName=element.nodeName.toLowerCase();var res=tabbableNode.test(nodeName)&&!element.disabled||(nodeName==="a"?element.href||isTabIndexNotNaN:isTabIndexNotNaN);return res&&visible(element)}function tabbable2(element){var tabIndex=element.getAttribute("tabindex");if(tabIndex===null)tabIndex=void 0;var isTabIndexNaN=isNaN(tabIndex);return(isTabIndexNaN||tabIndex>=0)&&focusable(element,!isTabIndexNaN)}function findTabbableDescendants(element){var descendants=[].slice.call(element.querySelectorAll("*"),0).reduce((function(finished,el){return finished.concat(!el.shadowRoot?[el]:findTabbableDescendants(el.shadowRoot))}),[]);return descendants.filter(tabbable2)}module.exports=exports["default"]})(tabbable,tabbable.exports);var tabbableExports=tabbable.exports;Object.defineProperty(focusManager,"__esModule",{value:true});focusManager.resetState=resetState$4;focusManager.log=log$4;focusManager.handleBlur=handleBlur;focusManager.handleFocus=handleFocus;focusManager.markForFocusLater=markForFocusLater;focusManager.returnFocus=returnFocus;focusManager.popWithoutFocus=popWithoutFocus;focusManager.setupScopedFocus=setupScopedFocus;focusManager.teardownScopedFocus=teardownScopedFocus;var _tabbable=tabbableExports;var _tabbable2=_interopRequireDefault$4(_tabbable);function _interopRequireDefault$4(obj){return obj&&obj.__esModule?obj:{default:obj}}var focusLaterElements=[];var modalElement=null;var needToFocus=false;function resetState$4(){focusLaterElements=[]}function log$4(){}function handleBlur(){needToFocus=true}function handleFocus(){if(needToFocus){needToFocus=false;if(!modalElement){return}setTimeout((function(){if(modalElement.contains(document.activeElement)){return}var el=(0,_tabbable2.default)(modalElement)[0]||modalElement;el.focus()}),0)}}function markForFocusLater(){focusLaterElements.push(document.activeElement)}function returnFocus(){var preventScroll=arguments.length>0&&arguments[0]!==void 0?arguments[0]:false;var toFocus=null;try{if(focusLaterElements.length!==0){toFocus=focusLaterElements.pop();toFocus.focus({preventScroll:preventScroll})}return}catch(e2){console.warn(["You tried to return focus to",toFocus,"but it is not in the DOM anymore"].join(" "))}}function popWithoutFocus(){focusLaterElements.length>0&&focusLaterElements.pop()}function setupScopedFocus(element){modalElement=element;if(window.addEventListener){window.addEventListener("blur",handleBlur,false);document.addEventListener("focus",handleFocus,true)}else{window.attachEvent("onBlur",handleBlur);document.attachEvent("onFocus",handleFocus)}}function teardownScopedFocus(){modalElement=null;if(window.addEventListener){window.removeEventListener("blur",handleBlur);document.removeEventListener("focus",handleFocus)}else{window.detachEvent("onBlur",handleBlur);document.detachEvent("onFocus",handleFocus)}}var scopeTab={exports:{}};(function(module,exports){Object.defineProperty(exports,"__esModule",{value:true});exports.default=scopeTab2;var _tabbable3=tabbableExports;var _tabbable22=_interopRequireDefault2(_tabbable3);function _interopRequireDefault2(obj){return obj&&obj.__esModule?obj:{default:obj}}function getActiveElement(){var el=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;return el.activeElement.shadowRoot?getActiveElement(el.activeElement.shadowRoot):el.activeElement}function scopeTab2(node2,event2){var tabbable2=(0,_tabbable22.default)(node2);if(!tabbable2.length){event2.preventDefault();return}var target=void 0;var shiftKey=event2.shiftKey;var head=tabbable2[0];var tail=tabbable2[tabbable2.length-1];var activeElement=getActiveElement();if(node2===activeElement){if(!shiftKey)return;target=tail}if(tail===activeElement&&!shiftKey){target=head}if(head===activeElement&&shiftKey){target=tail}if(target){event2.preventDefault();target.focus();return}var checkSafari=/(\bChrome\b|\bSafari\b)\//.exec(navigator.userAgent);var isSafariDesktop=checkSafari!=null&&checkSafari[1]!="Chrome"&&/\biPod\b|\biPad\b/g.exec(navigator.userAgent)==null;if(!isSafariDesktop)return;var x2=tabbable2.indexOf(activeElement);if(x2>-1){x2+=shiftKey?-1:1}target=tabbable2[x2];if(typeof target==="undefined"){event2.preventDefault();target=shiftKey?tail:head;target.focus();return}event2.preventDefault();target.focus()}module.exports=exports["default"]})(scopeTab,scopeTab.exports);var scopeTabExports=scopeTab.exports;var ariaAppHider$1={};var warning=function(){};var warning_1=warning;const warning$1=getDefaultExportFromCjs(warning_1);var safeHTMLElement={};var exenv={exports:{}};
34
- /*!
35
- Copyright (c) 2015 Jed Watson.
36
- Based on code that is Copyright 2013-2015, Facebook, Inc.
37
- All rights reserved.
38
- */(function(module){(function(){var canUseDOM2=!!(typeof window!=="undefined"&&window.document&&window.document.createElement);var ExecutionEnvironment={canUseDOM:canUseDOM2,canUseWorkers:typeof Worker!=="undefined",canUseEventListeners:canUseDOM2&&!!(window.addEventListener||window.attachEvent),canUseViewport:canUseDOM2&&!!window.screen};if(module.exports){module.exports=ExecutionEnvironment}else{window.ExecutionEnvironment=ExecutionEnvironment}})()})(exenv);var exenvExports=exenv.exports;Object.defineProperty(safeHTMLElement,"__esModule",{value:true});safeHTMLElement.canUseDOM=safeHTMLElement.SafeNodeList=safeHTMLElement.SafeHTMLCollection=void 0;var _exenv=exenvExports;var _exenv2=_interopRequireDefault$3(_exenv);function _interopRequireDefault$3(obj){return obj&&obj.__esModule?obj:{default:obj}}var EE=_exenv2.default;var SafeHTMLElement=EE.canUseDOM?window.HTMLElement:{};safeHTMLElement.SafeHTMLCollection=EE.canUseDOM?window.HTMLCollection:{};safeHTMLElement.SafeNodeList=EE.canUseDOM?window.NodeList:{};safeHTMLElement.canUseDOM=EE.canUseDOM;safeHTMLElement.default=SafeHTMLElement;Object.defineProperty(ariaAppHider$1,"__esModule",{value:true});ariaAppHider$1.resetState=resetState$3;ariaAppHider$1.log=log$3;ariaAppHider$1.assertNodeList=assertNodeList;ariaAppHider$1.setElement=setElement;ariaAppHider$1.validateElement=validateElement;ariaAppHider$1.hide=hide;ariaAppHider$1.show=show;ariaAppHider$1.documentNotReadyOrSSRTesting=documentNotReadyOrSSRTesting;var _warning=warning_1;var _warning2=_interopRequireDefault$2(_warning);var _safeHTMLElement$1=safeHTMLElement;function _interopRequireDefault$2(obj){return obj&&obj.__esModule?obj:{default:obj}}var globalElement=null;function resetState$3(){if(globalElement){if(globalElement.removeAttribute){globalElement.removeAttribute("aria-hidden")}else if(globalElement.length!=null){globalElement.forEach((function(element){return element.removeAttribute("aria-hidden")}))}else{document.querySelectorAll(globalElement).forEach((function(element){return element.removeAttribute("aria-hidden")}))}}globalElement=null}function log$3(){}function assertNodeList(nodeList,selector){if(!nodeList||!nodeList.length){throw new Error("react-modal: No elements were found for selector "+selector+".")}}function setElement(element){var useElement=element;if(typeof useElement==="string"&&_safeHTMLElement$1.canUseDOM){var el=document.querySelectorAll(useElement);assertNodeList(el,useElement);useElement=el}globalElement=useElement||globalElement;return globalElement}function validateElement(appElement){var el=appElement||globalElement;if(el){return Array.isArray(el)||el instanceof HTMLCollection||el instanceof NodeList?el:[el]}else{(0,_warning2.default)(false,["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(" "));return[]}}function hide(appElement){var _iteratorNormalCompletion=true;var _didIteratorError=false;var _iteratorError=void 0;try{for(var _iterator=validateElement(appElement)[Symbol.iterator](),_step;!(_iteratorNormalCompletion=(_step=_iterator.next()).done);_iteratorNormalCompletion=true){var el=_step.value;el.setAttribute("aria-hidden","true")}}catch(err){_didIteratorError=true;_iteratorError=err}finally{try{if(!_iteratorNormalCompletion&&_iterator.return){_iterator.return()}}finally{if(_didIteratorError){throw _iteratorError}}}}function show(appElement){var _iteratorNormalCompletion2=true;var _didIteratorError2=false;var _iteratorError2=void 0;try{for(var _iterator2=validateElement(appElement)[Symbol.iterator](),_step2;!(_iteratorNormalCompletion2=(_step2=_iterator2.next()).done);_iteratorNormalCompletion2=true){var el=_step2.value;el.removeAttribute("aria-hidden")}}catch(err){_didIteratorError2=true;_iteratorError2=err}finally{try{if(!_iteratorNormalCompletion2&&_iterator2.return){_iterator2.return()}}finally{if(_didIteratorError2){throw _iteratorError2}}}}function documentNotReadyOrSSRTesting(){globalElement=null}var classList={};Object.defineProperty(classList,"__esModule",{value:true});classList.resetState=resetState$2;classList.log=log$2;var htmlClassList={};var docBodyClassList={};function removeClass(at,cls){at.classList.remove(cls)}function resetState$2(){var htmlElement=document.getElementsByTagName("html")[0];for(var cls in htmlClassList){removeClass(htmlElement,htmlClassList[cls])}var body=document.body;for(var _cls in docBodyClassList){removeClass(body,docBodyClassList[_cls])}htmlClassList={};docBodyClassList={}}function log$2(){}var incrementReference=function incrementReference2(poll,className){if(!poll[className]){poll[className]=0}poll[className]+=1;return className};var decrementReference=function decrementReference2(poll,className){if(poll[className]){poll[className]-=1}return className};var trackClass=function trackClass2(classListRef,poll,classes){classes.forEach((function(className){incrementReference(poll,className);classListRef.add(className)}))};var untrackClass=function untrackClass2(classListRef,poll,classes){classes.forEach((function(className){decrementReference(poll,className);poll[className]===0&&classListRef.remove(className)}))};classList.add=function add2(element,classString){return trackClass(element.classList,element.nodeName.toLowerCase()=="html"?htmlClassList:docBodyClassList,classString.split(" "))};classList.remove=function remove2(element,classString){return untrackClass(element.classList,element.nodeName.toLowerCase()=="html"?htmlClassList:docBodyClassList,classString.split(" "))};var portalOpenInstances$1={};Object.defineProperty(portalOpenInstances$1,"__esModule",{value:true});portalOpenInstances$1.log=log$1;portalOpenInstances$1.resetState=resetState$1;function _classCallCheck$2(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function")}}var PortalOpenInstances=function PortalOpenInstances2(){var _this=this;_classCallCheck$2(this,PortalOpenInstances2);this.register=function(openInstance){if(_this.openInstances.indexOf(openInstance)!==-1){return}_this.openInstances.push(openInstance);_this.emit("register")};this.deregister=function(openInstance){var index2=_this.openInstances.indexOf(openInstance);if(index2===-1){return}_this.openInstances.splice(index2,1);_this.emit("deregister")};this.subscribe=function(callback){_this.subscribers.push(callback)};this.emit=function(eventType){_this.subscribers.forEach((function(subscriber){return subscriber(eventType,_this.openInstances.slice())}))};this.openInstances=[];this.subscribers=[]};var portalOpenInstances=new PortalOpenInstances;function log$1(){console.log("portalOpenInstances ----------");console.log(portalOpenInstances.openInstances.length);portalOpenInstances.openInstances.forEach((function(p2){return console.log(p2)}));console.log("end portalOpenInstances ----------")}function resetState$1(){portalOpenInstances=new PortalOpenInstances}portalOpenInstances$1.default=portalOpenInstances;var bodyTrap$1={};Object.defineProperty(bodyTrap$1,"__esModule",{value:true});bodyTrap$1.resetState=resetState;bodyTrap$1.log=log;var _portalOpenInstances=portalOpenInstances$1;var _portalOpenInstances2=_interopRequireDefault$1(_portalOpenInstances);function _interopRequireDefault$1(obj){return obj&&obj.__esModule?obj:{default:obj}}var before=void 0,after=void 0,instances=[];function resetState(){var _arr=[before,after];for(var _i=0;_i<_arr.length;_i++){var item=_arr[_i];if(!item)continue;item.parentNode&&item.parentNode.removeChild(item)}before=after=null;instances=[]}function log(){console.log("bodyTrap ----------");console.log(instances.length);var _arr2=[before,after];for(var _i2=0;_i2<_arr2.length;_i2++){var item=_arr2[_i2];var check=item||{};console.log(check.nodeName,check.className,check.id)}console.log("edn bodyTrap ----------")}function focusContent(){if(instances.length===0){return}instances[instances.length-1].focusContent()}function bodyTrap(eventType,openInstances){if(!before&&!after){before=document.createElement("div");before.setAttribute("data-react-modal-body-trap","");before.style.position="absolute";before.style.opacity="0";before.setAttribute("tabindex","0");before.addEventListener("focus",focusContent);after=before.cloneNode();after.addEventListener("focus",focusContent)}instances=openInstances;if(instances.length>0){if(document.body.firstChild!==before){document.body.insertBefore(before,document.body.firstChild)}if(document.body.lastChild!==after){document.body.appendChild(after)}}else{if(before.parentElement){before.parentElement.removeChild(before)}if(after.parentElement){after.parentElement.removeChild(after)}}}_portalOpenInstances2.default.subscribe(bodyTrap);(function(module,exports){Object.defineProperty(exports,"__esModule",{value:true});var _extends2=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source){if(Object.prototype.hasOwnProperty.call(source,key)){target[key]=source[key]}}}return target};var _typeof2=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(obj){return typeof obj}:function(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};var _createClass2=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;if("value"in descriptor)descriptor.writable=true;Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){if(protoProps)defineProperties(Constructor.prototype,protoProps);if(staticProps)defineProperties(Constructor,staticProps);return Constructor}}();var _react3=reactExports;var _propTypes3=propTypesExports;var _propTypes22=_interopRequireDefault2(_propTypes3);var _focusManager=focusManager;var focusManager$1=_interopRequireWildcard2(_focusManager);var _scopeTab=scopeTabExports;var _scopeTab2=_interopRequireDefault2(_scopeTab);var _ariaAppHider2=ariaAppHider$1;var ariaAppHider2=_interopRequireWildcard2(_ariaAppHider2);var _classList=classList;var classList$1=_interopRequireWildcard2(_classList);var _safeHTMLElement3=safeHTMLElement;var _safeHTMLElement22=_interopRequireDefault2(_safeHTMLElement3);var _portalOpenInstances3=portalOpenInstances$1;var _portalOpenInstances22=_interopRequireDefault2(_portalOpenInstances3);function _interopRequireWildcard2(obj){if(obj&&obj.__esModule){return obj}else{var newObj={};if(obj!=null){for(var key in obj){if(Object.prototype.hasOwnProperty.call(obj,key))newObj[key]=obj[key]}}newObj.default=obj;return newObj}}function _interopRequireDefault2(obj){return obj&&obj.__esModule?obj:{default:obj}}function _classCallCheck2(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function")}}function _possibleConstructorReturn2(self2,call){if(!self2){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return call&&(typeof call==="object"||typeof call==="function")?call:self2}function _inherits2(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof superClass)}subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});if(superClass)Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass}var CLASS_NAMES={overlay:"ReactModal__Overlay",content:"ReactModal__Content"};var isTabKey=function isTabKey2(event2){return event2.code==="Tab"||event2.keyCode===9};var isEscKey=function isEscKey2(event2){return event2.code==="Escape"||event2.keyCode===27};var ariaHiddenInstances=0;var ModalPortal2=function(_Component){_inherits2(ModalPortal22,_Component);function ModalPortal22(props){_classCallCheck2(this,ModalPortal22);var _this=_possibleConstructorReturn2(this,(ModalPortal22.__proto__||Object.getPrototypeOf(ModalPortal22)).call(this,props));_this.setOverlayRef=function(overlay){_this.overlay=overlay;_this.props.overlayRef&&_this.props.overlayRef(overlay)};_this.setContentRef=function(content){_this.content=content;_this.props.contentRef&&_this.props.contentRef(content)};_this.afterClose=function(){var _this$props=_this.props,appElement=_this$props.appElement,ariaHideApp=_this$props.ariaHideApp,htmlOpenClassName=_this$props.htmlOpenClassName,bodyOpenClassName2=_this$props.bodyOpenClassName,parentSelector2=_this$props.parentSelector;var parentDocument=parentSelector2&&parentSelector2().ownerDocument||document;bodyOpenClassName2&&classList$1.remove(parentDocument.body,bodyOpenClassName2);htmlOpenClassName&&classList$1.remove(parentDocument.getElementsByTagName("html")[0],htmlOpenClassName);if(ariaHideApp&&ariaHiddenInstances>0){ariaHiddenInstances-=1;if(ariaHiddenInstances===0){ariaAppHider2.show(appElement)}}if(_this.props.shouldFocusAfterRender){if(_this.props.shouldReturnFocusAfterClose){focusManager$1.returnFocus(_this.props.preventScroll);focusManager$1.teardownScopedFocus()}else{focusManager$1.popWithoutFocus()}}if(_this.props.onAfterClose){_this.props.onAfterClose()}_portalOpenInstances22.default.deregister(_this)};_this.open=function(){_this.beforeOpen();if(_this.state.afterOpen&&_this.state.beforeClose){clearTimeout(_this.closeTimer);_this.setState({beforeClose:false})}else{if(_this.props.shouldFocusAfterRender){focusManager$1.setupScopedFocus(_this.node);focusManager$1.markForFocusLater()}_this.setState({isOpen:true},(function(){_this.openAnimationFrame=requestAnimationFrame((function(){_this.setState({afterOpen:true});if(_this.props.isOpen&&_this.props.onAfterOpen){_this.props.onAfterOpen({overlayEl:_this.overlay,contentEl:_this.content})}}))}))}};_this.close=function(){if(_this.props.closeTimeoutMS>0){_this.closeWithTimeout()}else{_this.closeWithoutTimeout()}};_this.focusContent=function(){return _this.content&&!_this.contentHasFocus()&&_this.content.focus({preventScroll:true})};_this.closeWithTimeout=function(){var closesAt=Date.now()+_this.props.closeTimeoutMS;_this.setState({beforeClose:true,closesAt:closesAt},(function(){_this.closeTimer=setTimeout(_this.closeWithoutTimeout,_this.state.closesAt-Date.now())}))};_this.closeWithoutTimeout=function(){_this.setState({beforeClose:false,isOpen:false,afterOpen:false,closesAt:null},_this.afterClose)};_this.handleKeyDown=function(event2){if(isTabKey(event2)){(0,_scopeTab2.default)(_this.content,event2)}if(_this.props.shouldCloseOnEsc&&isEscKey(event2)){event2.stopPropagation();_this.requestClose(event2)}};_this.handleOverlayOnClick=function(event2){if(_this.shouldClose===null){_this.shouldClose=true}if(_this.shouldClose&&_this.props.shouldCloseOnOverlayClick){if(_this.ownerHandlesClose()){_this.requestClose(event2)}else{_this.focusContent()}}_this.shouldClose=null};_this.handleContentOnMouseUp=function(){_this.shouldClose=false};_this.handleOverlayOnMouseDown=function(event2){if(!_this.props.shouldCloseOnOverlayClick&&event2.target==_this.overlay){event2.preventDefault()}};_this.handleContentOnClick=function(){_this.shouldClose=false};_this.handleContentOnMouseDown=function(){_this.shouldClose=false};_this.requestClose=function(event2){return _this.ownerHandlesClose()&&_this.props.onRequestClose(event2)};_this.ownerHandlesClose=function(){return _this.props.onRequestClose};_this.shouldBeClosed=function(){return!_this.state.isOpen&&!_this.state.beforeClose};_this.contentHasFocus=function(){return document.activeElement===_this.content||_this.content.contains(document.activeElement)};_this.buildClassName=function(which,additional){var classNames2=(typeof additional==="undefined"?"undefined":_typeof2(additional))==="object"?additional:{base:CLASS_NAMES[which],afterOpen:CLASS_NAMES[which]+"--after-open",beforeClose:CLASS_NAMES[which]+"--before-close"};var className=classNames2.base;if(_this.state.afterOpen){className=className+" "+classNames2.afterOpen}if(_this.state.beforeClose){className=className+" "+classNames2.beforeClose}return typeof additional==="string"&&additional?className+" "+additional:className};_this.attributesFromObject=function(prefix2,items){return Object.keys(items).reduce((function(acc,name2){acc[prefix2+"-"+name2]=items[name2];return acc}),{})};_this.state={afterOpen:false,beforeClose:false};_this.shouldClose=null;_this.moveFromContentToOverlay=null;return _this}_createClass2(ModalPortal22,[{key:"componentDidMount",value:function componentDidMount(){if(this.props.isOpen){this.open()}}},{key:"componentDidUpdate",value:function componentDidUpdate(prevProps,prevState){if(this.props.isOpen&&!prevProps.isOpen){this.open()}else if(!this.props.isOpen&&prevProps.isOpen){this.close()}if(this.props.shouldFocusAfterRender&&this.state.isOpen&&!prevState.isOpen){this.focusContent()}}},{key:"componentWillUnmount",value:function componentWillUnmount(){if(this.state.isOpen){this.afterClose()}clearTimeout(this.closeTimer);cancelAnimationFrame(this.openAnimationFrame)}},{key:"beforeOpen",value:function beforeOpen(){var _props=this.props,appElement=_props.appElement,ariaHideApp=_props.ariaHideApp,htmlOpenClassName=_props.htmlOpenClassName,bodyOpenClassName2=_props.bodyOpenClassName,parentSelector2=_props.parentSelector;var parentDocument=parentSelector2&&parentSelector2().ownerDocument||document;bodyOpenClassName2&&classList$1.add(parentDocument.body,bodyOpenClassName2);htmlOpenClassName&&classList$1.add(parentDocument.getElementsByTagName("html")[0],htmlOpenClassName);if(ariaHideApp){ariaHiddenInstances+=1;ariaAppHider2.hide(appElement)}_portalOpenInstances22.default.register(this)}},{key:"render",value:function render(){var _props2=this.props,id2=_props2.id,className=_props2.className,overlayClassName=_props2.overlayClassName,defaultStyles2=_props2.defaultStyles,children=_props2.children;var contentStyles=className?{}:defaultStyles2.content;var overlayStyles=overlayClassName?{}:defaultStyles2.overlay;if(this.shouldBeClosed()){return null}var overlayProps={ref:this.setOverlayRef,className:this.buildClassName("overlay",overlayClassName),style:_extends2({},overlayStyles,this.props.style.overlay),onClick:this.handleOverlayOnClick,onMouseDown:this.handleOverlayOnMouseDown};var contentProps=_extends2({id:id2,ref:this.setContentRef,style:_extends2({},contentStyles,this.props.style.content),className:this.buildClassName("content",className),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",_extends2({modal:true},this.props.aria)),this.attributesFromObject("data",this.props.data||{}),{"data-testid":this.props.testId});var contentElement2=this.props.contentElement(contentProps,children);return this.props.overlayElement(overlayProps,contentElement2)}}]);return ModalPortal22}(_react3.Component);ModalPortal2.defaultProps={style:{overlay:{},content:{}},defaultStyles:{}};ModalPortal2.propTypes={isOpen:_propTypes22.default.bool.isRequired,defaultStyles:_propTypes22.default.shape({content:_propTypes22.default.object,overlay:_propTypes22.default.object}),style:_propTypes22.default.shape({content:_propTypes22.default.object,overlay:_propTypes22.default.object}),className:_propTypes22.default.oneOfType([_propTypes22.default.string,_propTypes22.default.object]),overlayClassName:_propTypes22.default.oneOfType([_propTypes22.default.string,_propTypes22.default.object]),parentSelector:_propTypes22.default.func,bodyOpenClassName:_propTypes22.default.string,htmlOpenClassName:_propTypes22.default.string,ariaHideApp:_propTypes22.default.bool,appElement:_propTypes22.default.oneOfType([_propTypes22.default.instanceOf(_safeHTMLElement22.default),_propTypes22.default.instanceOf(_safeHTMLElement3.SafeHTMLCollection),_propTypes22.default.instanceOf(_safeHTMLElement3.SafeNodeList),_propTypes22.default.arrayOf(_propTypes22.default.instanceOf(_safeHTMLElement22.default))]),onAfterOpen:_propTypes22.default.func,onAfterClose:_propTypes22.default.func,onRequestClose:_propTypes22.default.func,closeTimeoutMS:_propTypes22.default.number,shouldFocusAfterRender:_propTypes22.default.bool,shouldCloseOnOverlayClick:_propTypes22.default.bool,shouldReturnFocusAfterClose:_propTypes22.default.bool,preventScroll:_propTypes22.default.bool,role:_propTypes22.default.string,contentLabel:_propTypes22.default.string,aria:_propTypes22.default.object,data:_propTypes22.default.object,children:_propTypes22.default.node,shouldCloseOnEsc:_propTypes22.default.bool,overlayRef:_propTypes22.default.func,contentRef:_propTypes22.default.func,id:_propTypes22.default.string,overlayElement:_propTypes22.default.func,contentElement:_propTypes22.default.func,testId:_propTypes22.default.string};exports.default=ModalPortal2;module.exports=exports["default"]})(ModalPortal,ModalPortal.exports);var ModalPortalExports=ModalPortal.exports;function componentWillMount(){var state=this.constructor.getDerivedStateFromProps(this.props,this.state);if(state!==null&&state!==void 0){this.setState(state)}}function componentWillReceiveProps(nextProps){function updater(prevState){var state=this.constructor.getDerivedStateFromProps(nextProps,prevState);return state!==null&&state!==void 0?state:null}this.setState(updater.bind(this))}function componentWillUpdate(nextProps,nextState){try{var prevProps=this.props;var prevState=this.state;this.props=nextProps;this.state=nextState;this.__reactInternalSnapshotFlag=true;this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(prevProps,prevState)}finally{this.props=prevProps;this.state=prevState}}componentWillMount.__suppressDeprecationWarning=true;componentWillReceiveProps.__suppressDeprecationWarning=true;componentWillUpdate.__suppressDeprecationWarning=true;function polyfill(Component){var prototype=Component.prototype;if(!prototype||!prototype.isReactComponent){throw new Error("Can only polyfill class components")}if(typeof Component.getDerivedStateFromProps!=="function"&&typeof prototype.getSnapshotBeforeUpdate!=="function"){return Component}var foundWillMountName=null;var foundWillReceivePropsName=null;var foundWillUpdateName=null;if(typeof prototype.componentWillMount==="function"){foundWillMountName="componentWillMount"}else if(typeof prototype.UNSAFE_componentWillMount==="function"){foundWillMountName="UNSAFE_componentWillMount"}if(typeof prototype.componentWillReceiveProps==="function"){foundWillReceivePropsName="componentWillReceiveProps"}else if(typeof prototype.UNSAFE_componentWillReceiveProps==="function"){foundWillReceivePropsName="UNSAFE_componentWillReceiveProps"}if(typeof prototype.componentWillUpdate==="function"){foundWillUpdateName="componentWillUpdate"}else if(typeof prototype.UNSAFE_componentWillUpdate==="function"){foundWillUpdateName="UNSAFE_componentWillUpdate"}if(foundWillMountName!==null||foundWillReceivePropsName!==null||foundWillUpdateName!==null){var componentName=Component.displayName||Component.name;var newApiName=typeof Component.getDerivedStateFromProps==="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+componentName+" uses "+newApiName+" but also contains the following legacy lifecycles:"+(foundWillMountName!==null?"\n "+foundWillMountName:"")+(foundWillReceivePropsName!==null?"\n "+foundWillReceivePropsName:"")+(foundWillUpdateName!==null?"\n "+foundWillUpdateName:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks")}if(typeof Component.getDerivedStateFromProps==="function"){prototype.componentWillMount=componentWillMount;prototype.componentWillReceiveProps=componentWillReceiveProps}if(typeof prototype.getSnapshotBeforeUpdate==="function"){if(typeof prototype.componentDidUpdate!=="function"){throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype")}prototype.componentWillUpdate=componentWillUpdate;var componentDidUpdate=prototype.componentDidUpdate;prototype.componentDidUpdate=function componentDidUpdatePolyfill(prevProps,prevState,maybeSnapshot){var snapshot=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:maybeSnapshot;componentDidUpdate.call(this,prevProps,prevState,snapshot)}}return Component}const reactLifecyclesCompat_es=Object.freeze(Object.defineProperty({__proto__:null,polyfill:polyfill},Symbol.toStringTag,{value:"Module"}));const require$$6=getAugmentedNamespace(reactLifecyclesCompat_es);Object.defineProperty(Modal$2,"__esModule",{value:true});Modal$2.bodyOpenClassName=Modal$2.portalClassName=void 0;var _extends$1=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source){if(Object.prototype.hasOwnProperty.call(source,key)){target[key]=source[key]}}}return target};var _createClass$1=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;if("value"in descriptor)descriptor.writable=true;Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){if(protoProps)defineProperties(Constructor.prototype,protoProps);if(staticProps)defineProperties(Constructor,staticProps);return Constructor}}();var _react=reactExports;var _react2=_interopRequireDefault(_react);var _reactDom=reactDomExports;var _reactDom2=_interopRequireDefault(_reactDom);var _propTypes=propTypesExports;var _propTypes2=_interopRequireDefault(_propTypes);var _ModalPortal=ModalPortalExports;var _ModalPortal2=_interopRequireDefault(_ModalPortal);var _ariaAppHider=ariaAppHider$1;var ariaAppHider=_interopRequireWildcard(_ariaAppHider);var _safeHTMLElement=safeHTMLElement;var _safeHTMLElement2=_interopRequireDefault(_safeHTMLElement);var _reactLifecyclesCompat=require$$6;function _interopRequireWildcard(obj){if(obj&&obj.__esModule){return obj}else{var newObj={};if(obj!=null){for(var key in obj){if(Object.prototype.hasOwnProperty.call(obj,key))newObj[key]=obj[key]}}newObj.default=obj;return newObj}}function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _classCallCheck$1(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function")}}function _possibleConstructorReturn$1(self2,call){if(!self2){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return call&&(typeof call==="object"||typeof call==="function")?call:self2}function _inherits$1(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof superClass)}subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});if(superClass)Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass}var portalClassName=Modal$2.portalClassName="ReactModalPortal";var bodyOpenClassName=Modal$2.bodyOpenClassName="ReactModal__Body--open";var isReact16=_safeHTMLElement.canUseDOM&&_reactDom2.default.createPortal!==void 0;var createHTMLElement=function createHTMLElement2(name2){return document.createElement(name2)};var getCreatePortal=function getCreatePortal2(){return isReact16?_reactDom2.default.createPortal:_reactDom2.default.unstable_renderSubtreeIntoContainer};function getParentElement(parentSelector2){return parentSelector2()}var Modal$1=function(_Component){_inherits$1(Modal2,_Component);function Modal2(){var _ref3;var _temp,_this,_ret;_classCallCheck$1(this,Modal2);for(var _len=arguments.length,args=Array(_len),_key=0;_key<_len;_key++){args[_key]=arguments[_key]}return _ret=(_temp=(_this=_possibleConstructorReturn$1(this,(_ref3=Modal2.__proto__||Object.getPrototypeOf(Modal2)).call.apply(_ref3,[this].concat(args))),_this),_this.removePortal=function(){!isReact16&&_reactDom2.default.unmountComponentAtNode(_this.node);var parent=getParentElement(_this.props.parentSelector);if(parent&&parent.contains(_this.node)){parent.removeChild(_this.node)}else{console.warn('React-Modal: "parentSelector" prop did not returned any DOM element. Make sure that the parent element is unmounted to avoid any memory leaks.')}},_this.portalRef=function(ref){_this.portal=ref},_this.renderPortal=function(props){var createPortal=getCreatePortal();var portal=createPortal(_this,_react2.default.createElement(_ModalPortal2.default,_extends$1({defaultStyles:Modal2.defaultStyles},props)),_this.node);_this.portalRef(portal)},_temp),_possibleConstructorReturn$1(_this,_ret)}_createClass$1(Modal2,[{key:"componentDidMount",value:function componentDidMount(){if(!_safeHTMLElement.canUseDOM)return;if(!isReact16){this.node=createHTMLElement("div")}this.node.className=this.props.portalClassName;var parent=getParentElement(this.props.parentSelector);parent.appendChild(this.node);!isReact16&&this.renderPortal(this.props)}},{key:"getSnapshotBeforeUpdate",value:function getSnapshotBeforeUpdate(prevProps){var prevParent=getParentElement(prevProps.parentSelector);var nextParent=getParentElement(this.props.parentSelector);return{prevParent:prevParent,nextParent:nextParent}}},{key:"componentDidUpdate",value:function componentDidUpdate(prevProps,_,snapshot){if(!_safeHTMLElement.canUseDOM)return;var _props=this.props,isOpen=_props.isOpen,portalClassName2=_props.portalClassName;if(prevProps.portalClassName!==portalClassName2){this.node.className=portalClassName2}var prevParent=snapshot.prevParent,nextParent=snapshot.nextParent;if(nextParent!==prevParent){prevParent.removeChild(this.node);nextParent.appendChild(this.node)}if(!prevProps.isOpen&&!isOpen)return;!isReact16&&this.renderPortal(this.props)}},{key:"componentWillUnmount",value:function componentWillUnmount(){if(!_safeHTMLElement.canUseDOM||!this.node||!this.portal)return;var state=this.portal.state;var now=Date.now();var closesAt=state.isOpen&&this.props.closeTimeoutMS&&(state.closesAt||now+this.props.closeTimeoutMS);if(closesAt){if(!state.beforeClose){this.portal.closeWithTimeout()}setTimeout(this.removePortal,closesAt-now)}else{this.removePortal()}}},{key:"render",value:function render(){if(!_safeHTMLElement.canUseDOM||!isReact16){return null}if(!this.node&&isReact16){this.node=createHTMLElement("div")}var createPortal=getCreatePortal();return createPortal(_react2.default.createElement(_ModalPortal2.default,_extends$1({ref:this.portalRef,defaultStyles:Modal2.defaultStyles},this.props)),this.node)}}],[{key:"setAppElement",value:function setAppElement(element){ariaAppHider.setElement(element)}}]);return Modal2}(_react.Component);Modal$1.propTypes={isOpen:_propTypes2.default.bool.isRequired,style:_propTypes2.default.shape({content:_propTypes2.default.object,overlay:_propTypes2.default.object}),portalClassName:_propTypes2.default.string,bodyOpenClassName:_propTypes2.default.string,htmlOpenClassName:_propTypes2.default.string,className:_propTypes2.default.oneOfType([_propTypes2.default.string,_propTypes2.default.shape({base:_propTypes2.default.string.isRequired,afterOpen:_propTypes2.default.string.isRequired,beforeClose:_propTypes2.default.string.isRequired})]),overlayClassName:_propTypes2.default.oneOfType([_propTypes2.default.string,_propTypes2.default.shape({base:_propTypes2.default.string.isRequired,afterOpen:_propTypes2.default.string.isRequired,beforeClose:_propTypes2.default.string.isRequired})]),appElement:_propTypes2.default.oneOfType([_propTypes2.default.instanceOf(_safeHTMLElement2.default),_propTypes2.default.instanceOf(_safeHTMLElement.SafeHTMLCollection),_propTypes2.default.instanceOf(_safeHTMLElement.SafeNodeList),_propTypes2.default.arrayOf(_propTypes2.default.instanceOf(_safeHTMLElement2.default))]),onAfterOpen:_propTypes2.default.func,onRequestClose:_propTypes2.default.func,closeTimeoutMS:_propTypes2.default.number,ariaHideApp:_propTypes2.default.bool,shouldFocusAfterRender:_propTypes2.default.bool,shouldCloseOnOverlayClick:_propTypes2.default.bool,shouldReturnFocusAfterClose:_propTypes2.default.bool,preventScroll:_propTypes2.default.bool,parentSelector:_propTypes2.default.func,aria:_propTypes2.default.object,data:_propTypes2.default.object,role:_propTypes2.default.string,contentLabel:_propTypes2.default.string,shouldCloseOnEsc:_propTypes2.default.bool,overlayRef:_propTypes2.default.func,contentRef:_propTypes2.default.func,id:_propTypes2.default.string,overlayElement:_propTypes2.default.func,contentElement:_propTypes2.default.func};Modal$1.defaultProps={isOpen:false,portalClassName:portalClassName,bodyOpenClassName:bodyOpenClassName,role:"dialog",ariaHideApp:true,closeTimeoutMS:0,shouldFocusAfterRender:true,shouldCloseOnEsc:true,shouldCloseOnOverlayClick:true,shouldReturnFocusAfterClose:true,preventScroll:false,parentSelector:function parentSelector(){return document.body},overlayElement:function overlayElement(props,contentEl){return _react2.default.createElement("div",props,contentEl)},contentElement:function contentElement(props,children){return _react2.default.createElement("div",props,children)}};Modal$1.defaultStyles={overlay:{position:"fixed",top:0,left:0,right:0,bottom:0,backgroundColor:"rgba(255, 255, 255, 0.75)"},content:{position:"absolute",top:"40px",left:"40px",right:"40px",bottom:"40px",border:"1px solid #ccc",background:"#fff",overflow:"auto",WebkitOverflowScrolling:"touch",borderRadius:"4px",outline:"none",padding:"20px"}};(0,_reactLifecyclesCompat.polyfill)(Modal$1);Modal$2.default=Modal$1;(function(module,exports){Object.defineProperty(exports,"__esModule",{value:true});var _Modal=Modal$2;var _Modal2=_interopRequireDefault2(_Modal);function _interopRequireDefault2(obj){return obj&&obj.__esModule?obj:{default:obj}}exports.default=_Modal2.default;module.exports=exports["default"]})(lib,lib.exports);var libExports=lib.exports;const Modal=getDefaultExportFromCjs(libExports);const CloseIcon=props=>{const{onClose:onClose}=props;const timesIcon=getAllIcons()["times"];return jsxRuntimeExports.jsx("div",{className:"pb_dialog_close_icon",onClick:onClose,children:jsxRuntimeExports.jsx(Icon,{className:"svg-inline--fa",customIcon:timesIcon.icon,fixedWidth:true})})};const DialogContext=React.createContext(null);const DialogHeader=props=>{const{aria:aria={},children:children,className:className,data:data={},htmlOptions:htmlOptions={},spacing:spacing2="between",closeable:closeable=true,separator:separator=true}=props;const ariaProps=buildAriaProps(aria);const dataProps=buildDataProps(data);const htmlProps=buildHtmlProps(htmlOptions);const api=reactExports.useContext(DialogContext);const headerCSS=buildCss("dialog_header");const headerSpacing=globalProps(props);return jsxRuntimeExports.jsxs("div",{className:"dialog_sticky_header",children:[jsxRuntimeExports.jsxs(Flex,{...ariaProps,...dataProps,...htmlProps,className:classnames(headerCSS,headerSpacing,className),spacing:spacing2,children:[children,closeable&&jsxRuntimeExports.jsx(CloseIcon,{onClose:api.onClose})]}),separator&&jsxRuntimeExports.jsx(SectionSeparator,{})]})};const DialogFooter=props=>{const{children:children,className:className,htmlOptions:htmlOptions={},spacing:spacing2="between",separator:separator=false}=props;const footerCSS=buildCss("dialog_footer");const footerSpacing=globalProps(props);const htmlProps=buildHtmlProps(htmlOptions);return jsxRuntimeExports.jsxs("div",{...htmlProps,children:[separator&&jsxRuntimeExports.jsx(SectionSeparator,{}),jsxRuntimeExports.jsx("div",{className:"dialog-pseudo-footer"}),jsxRuntimeExports.jsx(Flex,{className:classnames(footerCSS,footerSpacing,className),spacing:spacing2,children:children})]})};const DialogBody=props=>{const{children:children,className:className}=props;const bodyCSS=buildCss("dialog_body");const bodySpacing=globalProps(props);return jsxRuntimeExports.jsx("div",{className:classnames(bodyCSS,bodySpacing,className),children:children})};const Dialog=props=>{const{aria:aria={},cancelButton:cancelButton,confirmButton:confirmButton,className:className,data:data={},htmlOptions:htmlOptions={},id:id2,size:size="md",children:children,loading:loading=false,fullHeight:fullHeight=false,opened:opened,onCancel:onCancel,onConfirm:onConfirm,onClose:onClose,placement:placement="center",portalClassName:portalClassName2,shouldCloseOnOverlayClick:shouldCloseOnOverlayClick=true,status:status,text:text,title:title,trigger:trigger}=props;const ariaProps=buildAriaProps(aria);const dataProps=buildDataProps(data);const htmlProps=buildHtmlProps(htmlOptions);const dialogClassNames={base:classnames("pb_dialog",buildCss("pb_dialog",size,placement)),afterOpen:"pb_dialog_after_open",beforeClose:"pb_dialog_before_close"};const fullHeightClassNames=()=>{if(!fullHeight)return null;if(size==="xl")return`full_height_center`;return`full_height_${placement}`};const overlayClassNames={base:`pb_dialog_overlay ${fullHeight!==null&&fullHeightClassNames()}`,afterOpen:"pb_dialog_overlay_after_open",beforeClose:"pb_dialog_overlay_before_close"};const classes=classnames(buildCss("pb_dialog_wrapper"),globalProps(props),className);const[triggerOpened,setTriggerOpened]=reactExports.useState(false),modalIsOpened=trigger?triggerOpened:opened;const api={onClose:trigger?function(){setTriggerOpened(false)}:onClose};if(trigger){const modalTrigger=document.querySelector(trigger);modalTrigger.addEventListener("click",(()=>{setTriggerOpened(true);document.querySelector("#cancel-button").addEventListener("click",(()=>{setTriggerOpened(false)}))}),{once:true})}const sweetAlertStatus={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 jsxRuntimeExports.jsx(DialogContext.Provider,{value:api,children:jsxRuntimeExports.jsx("div",{...ariaProps,...dataProps,...htmlProps,className:classes,children:jsxRuntimeExports.jsx(Modal,{ariaHideApp:false,className:dialogClassNames,closeTimeoutMS:200,contentLabel:"Minimal Modal Example",id:id2,isOpen:modalIsOpened,onRequestClose:onClose,overlayClassName:overlayClassNames,portalClassName:portalClassName2,shouldCloseOnOverlayClick:shouldCloseOnOverlayClick&&!loading,children:jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[title&&!status?jsxRuntimeExports.jsx(Dialog.Header,{children:title}):null,!status&&text?jsxRuntimeExports.jsx(Dialog.Body,{children:text}):null,status&&jsxRuntimeExports.jsx(Dialog.Body,{className:"dialog_status_text_align",padding:"md",children:jsxRuntimeExports.jsxs(Flex,{align:"center",orientation:"column",children:[jsxRuntimeExports.jsx(IconCircle,{icon:sweetAlertStatus[status].icon,size:sweetAlertStatus[status].size,variant:sweetAlertStatus[status].variant}),jsxRuntimeExports.jsx(Title,{marginTop:"sm",size:3,children:title}),jsxRuntimeExports.jsx(Body$1,{marginTop:"xs",text:text})]})}),cancelButton&&confirmButton?jsxRuntimeExports.jsxs(Dialog.Footer,{children:[jsxRuntimeExports.jsx(Button,{disabled:loading,htmlType:"button",loading:loading,onClick:onConfirm,variant:"primary",children:confirmButton}),jsxRuntimeExports.jsx(Button,{disabled:loading,htmlType:"button",id:"cancel-button",onClick:onCancel,variant:"link",children:cancelButton})]}):null,children]})})})})};Dialog.Header=DialogHeader;Dialog.Body=DialogBody;Dialog.Footer=DialogFooter;const normalizeCharacters=widths=>widths.map((width=>parseInt(width.toString().replace(/[^0-9.]/gi,""))));const barValues=(normalizedValues,colors2)=>{const arrSum=value=>value.reduce(((a2,b2)=>a2+b2),0);const widthSum=arrSum(normalizedValues);return normalizedValues.map(((value,i)=>jsxRuntimeExports.jsx("div",{className:classnames("pb_distribution_width",colors2[i]?`color_${colors2[i]}`:""),style:{width:`${value*100/widthSum}%`}},i)))};const DistributionBar=props=>{const{htmlOptions:htmlOptions={},size:size="lg",widths:widths=[1],colors:colors2=[]}=props;const normalizedValues=normalizeCharacters(widths);const htmlProps=buildHtmlProps(htmlOptions);return jsxRuntimeExports.jsx("div",{className:classnames(`pb_distribution_bar_${size}`,globalProps(props)),...htmlProps,children:barValues(normalizedValues,colors2)})};const TextInput=(props,ref)=>{const{addOn:addOn={icon:null,alignment:"right",border:true},aria:aria={},className:className,dark:dark=false,data:data={},disabled:disabled,error:error,htmlOptions:htmlOptions={},id:id2,inline:inline=false,name:name2,label:label,onChange:onChange2=()=>{},placeholder:placeholder,required:required,type:type="text",value:value="",children:children=null}=props;const ariaProps=buildAriaProps(aria);const dataProps=buildDataProps(data);const htmlProps=buildHtmlProps(htmlOptions);const filteredProps=Object.assign({},props);if(filteredProps.marginBottom===void 0){filteredProps.marginBottom="sm"}const{alignment:alignment,border:border,icon:icon}=addOn;const addOnAlignment=alignment==="left"?"left":"right";const borderToChange=addOnAlignment==="left"?"right":"left";const borderToggle=border===false?"off":"on";const borderCss=`border_${borderToChange}_${borderToggle}`;const shouldShowAddOn=icon!==null;const addOnCss=shouldShowAddOn?"text_input_wrapper_add_on":"";const addOnDarkModeCardCss=shouldShowAddOn&&dark?"add-on-card-dark":"";const css4=classnames(["pb_text_input_kit",inline?"inline":"",error?"error":"",globalProps(filteredProps),className]);const addOnIcon=jsxRuntimeExports.jsx(Icon,{className:"add-on-icon",dark:dark,fixedWidth:false,icon:icon},void 0);const childInput=children?children.type==="input":void 0;const textInput=childInput?React.cloneElement(children,{className:"text_input"}):reactExports.createElement("input",Object.assign({},domSafeProps(props),{className:"text_input",disabled:disabled,id:id2,key:id2,name:name2,onChange:onChange2,placeholder:placeholder,ref:ref,required:required,type:type,value:value}));const addOnInput=jsxRuntimeExports.jsx(React.Fragment,{children:jsxRuntimeExports.jsxs(Flex,Object.assign({className:`add-on-${addOnAlignment} ${borderCss}`,vertical:"center"},{children:[addOnAlignment=="left"&&jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx(Card,Object.assign({className:`${addOnDarkModeCardCss} add-on-card card-left-aligned`,dark:dark},{children:addOnIcon}),void 0),textInput]},void 0),addOnAlignment!="left"&&jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[textInput,jsxRuntimeExports.jsx(Card,Object.assign({className:`${addOnDarkModeCardCss} add-on-card card-right-aligned`,dark:dark},{children:addOnIcon}),void 0)]},void 0)]}),void 0)},void 0);const render=(()=>{if(children&&!childInput)return children;if(shouldShowAddOn)return addOnInput;return textInput})();return jsxRuntimeExports.jsxs("div",Object.assign({},ariaProps,dataProps,htmlProps,{className:css4},{children:[label&&jsxRuntimeExports.jsx(Caption,{className:"pb_text_input_kit_label",text:label},void 0),jsxRuntimeExports.jsxs("div",Object.assign({className:`${addOnCss} text_input_wrapper`},{children:[render,error&&jsxRuntimeExports.jsx(Body$1,{status:"negative",text:error,variant:null},void 0)]}),void 0)]}),void 0)};const TextInput$1=reactExports.forwardRef(TextInput);var ManagerReferenceNodeContext=reactExports.createContext();var ManagerReferenceNodeSetterContext=reactExports.createContext();function Manager(_ref3){var children=_ref3.children;var _React$useState=reactExports.useState(null),referenceNode=_React$useState[0],setReferenceNode=_React$useState[1];var hasUnmounted=reactExports.useRef(false);reactExports.useEffect((function(){return function(){hasUnmounted.current=true}}),[]);var handleSetReferenceNode=reactExports.useCallback((function(node2){if(!hasUnmounted.current){setReferenceNode(node2)}}),[]);return reactExports.createElement(ManagerReferenceNodeContext.Provider,{value:referenceNode},reactExports.createElement(ManagerReferenceNodeSetterContext.Provider,{value:handleSetReferenceNode},children))}var unwrapArray=function unwrapArray2(arg){return Array.isArray(arg)?arg[0]:arg};var safeInvoke=function safeInvoke2(fn){if(typeof fn==="function"){for(var _len=arguments.length,args=new Array(_len>1?_len-1:0),_key=1;_key<_len;_key++){args[_key-1]=arguments[_key]}return fn.apply(void 0,args)}};var setRef=function setRef2(ref,node2){if(typeof ref==="function"){return safeInvoke(ref,node2)}else if(ref!=null){ref.current=node2}};var fromEntries=function fromEntries2(entries){return entries.reduce((function(acc,_ref3){var key=_ref3[0],value=_ref3[1];acc[key]=value;return acc}),{})};var useIsomorphicLayoutEffect=typeof window!=="undefined"&&window.document&&window.document.createElement?reactExports.useLayoutEffect:reactExports.useEffect;var hasElementType=typeof Element!=="undefined";var hasMap=typeof Map==="function";var hasSet=typeof Set==="function";var hasArrayBuffer=typeof ArrayBuffer==="function"&&!!ArrayBuffer.isView;function equal(a2,b2){if(a2===b2)return true;if(a2&&b2&&typeof a2=="object"&&typeof b2=="object"){if(a2.constructor!==b2.constructor)return false;var length2,i,keys;if(Array.isArray(a2)){length2=a2.length;if(length2!=b2.length)return false;for(i=length2;i--!==0;)if(!equal(a2[i],b2[i]))return false;return true}var it;if(hasMap&&a2 instanceof Map&&b2 instanceof Map){if(a2.size!==b2.size)return false;it=a2.entries();while(!(i=it.next()).done)if(!b2.has(i.value[0]))return false;it=a2.entries();while(!(i=it.next()).done)if(!equal(i.value[1],b2.get(i.value[0])))return false;return true}if(hasSet&&a2 instanceof Set&&b2 instanceof Set){if(a2.size!==b2.size)return false;it=a2.entries();while(!(i=it.next()).done)if(!b2.has(i.value[0]))return false;return true}if(hasArrayBuffer&&ArrayBuffer.isView(a2)&&ArrayBuffer.isView(b2)){length2=a2.length;if(length2!=b2.length)return false;for(i=length2;i--!==0;)if(a2[i]!==b2[i])return false;return true}if(a2.constructor===RegExp)return a2.source===b2.source&&a2.flags===b2.flags;if(a2.valueOf!==Object.prototype.valueOf)return a2.valueOf()===b2.valueOf();if(a2.toString!==Object.prototype.toString)return a2.toString()===b2.toString();keys=Object.keys(a2);length2=keys.length;if(length2!==Object.keys(b2).length)return false;for(i=length2;i--!==0;)if(!Object.prototype.hasOwnProperty.call(b2,keys[i]))return false;if(hasElementType&&a2 instanceof Element)return false;for(i=length2;i--!==0;){if((keys[i]==="_owner"||keys[i]==="__v"||keys[i]==="__o")&&a2.$$typeof){continue}if(!equal(a2[keys[i]],b2[keys[i]]))return false}return true}return a2!==a2&&b2!==b2}var reactFastCompare=function isEqual(a2,b2){try{return equal(a2,b2)}catch(error){if((error.message||"").match(/stack|recursion/i)){console.warn("react-fast-compare cannot handle circular refs");return false}throw error}};const isEqual$1=getDefaultExportFromCjs(reactFastCompare);var EMPTY_MODIFIERS$1=[];var usePopper=function usePopper2(referenceElement,popperElement,options2){if(options2===void 0){options2={}}var prevOptions=reactExports.useRef(null);var optionsWithDefaults={onFirstUpdate:options2.onFirstUpdate,placement:options2.placement||"bottom",strategy:options2.strategy||"absolute",modifiers:options2.modifiers||EMPTY_MODIFIERS$1};var _React$useState=reactExports.useState({styles:{popper:{position:optionsWithDefaults.strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),state=_React$useState[0],setState=_React$useState[1];var updateStateModifier=reactExports.useMemo((function(){return{name:"updateState",enabled:true,phase:"write",fn:function fn(_ref3){var state2=_ref3.state;var elements=Object.keys(state2.elements);reactDomExports.flushSync((function(){setState({styles:fromEntries(elements.map((function(element){return[element,state2.styles[element]||{}]}))),attributes:fromEntries(elements.map((function(element){return[element,state2.attributes[element]]})))})}))},requires:["computeStyles"]}}),[]);var popperOptions=reactExports.useMemo((function(){var newOptions={onFirstUpdate:optionsWithDefaults.onFirstUpdate,placement:optionsWithDefaults.placement,strategy:optionsWithDefaults.strategy,modifiers:[].concat(optionsWithDefaults.modifiers,[updateStateModifier,{name:"applyStyles",enabled:false}])};if(isEqual$1(prevOptions.current,newOptions)){return prevOptions.current||newOptions}else{prevOptions.current=newOptions;return newOptions}}),[optionsWithDefaults.onFirstUpdate,optionsWithDefaults.placement,optionsWithDefaults.strategy,optionsWithDefaults.modifiers,updateStateModifier]);var popperInstanceRef=reactExports.useRef();useIsomorphicLayoutEffect((function(){if(popperInstanceRef.current){popperInstanceRef.current.setOptions(popperOptions)}}),[popperOptions]);useIsomorphicLayoutEffect((function(){if(referenceElement==null||popperElement==null){return}var createPopper$1=options2.createPopper||createPopper;var popperInstance=createPopper$1(referenceElement,popperElement,popperOptions);popperInstanceRef.current=popperInstance;return function(){popperInstance.destroy();popperInstanceRef.current=null}}),[referenceElement,popperElement,options2.createPopper]);return{state:popperInstanceRef.current?popperInstanceRef.current.state:null,styles:state.styles,attributes:state.attributes,update:popperInstanceRef.current?popperInstanceRef.current.update:null,forceUpdate:popperInstanceRef.current?popperInstanceRef.current.forceUpdate:null}};var NOOP=function NOOP2(){return void 0};var NOOP_PROMISE=function NOOP_PROMISE2(){return Promise.resolve(null)};var EMPTY_MODIFIERS=[];function Popper(_ref3){var _ref$placement=_ref3.placement,placement=_ref$placement===void 0?"bottom":_ref$placement,_ref$strategy=_ref3.strategy,strategy=_ref$strategy===void 0?"absolute":_ref$strategy,_ref$modifiers=_ref3.modifiers,modifiers=_ref$modifiers===void 0?EMPTY_MODIFIERS:_ref$modifiers,referenceElement=_ref3.referenceElement,onFirstUpdate=_ref3.onFirstUpdate,innerRef=_ref3.innerRef,children=_ref3.children;var referenceNode=reactExports.useContext(ManagerReferenceNodeContext);var _React$useState=reactExports.useState(null),popperElement=_React$useState[0],setPopperElement=_React$useState[1];var _React$useState2=reactExports.useState(null),arrowElement=_React$useState2[0],setArrowElement=_React$useState2[1];reactExports.useEffect((function(){setRef(innerRef,popperElement)}),[innerRef,popperElement]);var options2=reactExports.useMemo((function(){return{placement:placement,strategy:strategy,onFirstUpdate:onFirstUpdate,modifiers:[].concat(modifiers,[{name:"arrow",enabled:arrowElement!=null,options:{element:arrowElement}}])}}),[placement,strategy,onFirstUpdate,modifiers,arrowElement]);var _usePopper=usePopper(referenceElement||referenceNode,popperElement,options2),state=_usePopper.state,styles=_usePopper.styles,forceUpdate=_usePopper.forceUpdate,update=_usePopper.update;var childrenProps=reactExports.useMemo((function(){return{ref:setPopperElement,style:styles.popper,placement:state?state.placement:placement,hasPopperEscaped:state&&state.modifiersData.hide?state.modifiersData.hide.hasPopperEscaped:null,isReferenceHidden:state&&state.modifiersData.hide?state.modifiersData.hide.isReferenceHidden:null,arrowProps:{style:styles.arrow,ref:setArrowElement},forceUpdate:forceUpdate||NOOP,update:update||NOOP_PROMISE}}),[setPopperElement,setArrowElement,placement,state,styles,update,forceUpdate]);return unwrapArray(children)(childrenProps)}function Reference(_ref3){var children=_ref3.children,innerRef=_ref3.innerRef;var setReferenceNode=reactExports.useContext(ManagerReferenceNodeSetterContext);var refHandler=reactExports.useCallback((function(node2){setRef(innerRef,node2);safeInvoke(setReferenceNode,node2)}),[innerRef,setReferenceNode]);reactExports.useEffect((function(){return function(){return setRef(innerRef,null)}}),[]);reactExports.useEffect((function(){warning$1(Boolean(setReferenceNode),"`Reference` should not be used outside of a `Manager` component.")}),[setReferenceNode]);return unwrapArray(children)({ref:refHandler})}const POPOVER_MODIFIERS={offset:{enabled:true,name:"offset",options:{offset:[0,20]},phase:"main"}};const popoverModifiers=({modifiers:modifiers,offset:offset})=>offset?modifiers.concat([POPOVER_MODIFIERS.offset]):modifiers;const Popover=props=>{const{aria:aria={},className:className,children:children,data:data={},htmlOptions:htmlOptions={},id:id2,modifiers:modifiers,offset:offset,placement:placement,referenceElement:referenceElement,zIndex:zIndex,maxHeight:maxHeight,maxWidth:maxWidth,minHeight:minHeight,minWidth:minWidth,targetId:targetId}=props;const items=globalProps(props).split(" ");const filteredItems=items.filter((item=>!item.includes("min_width")));const filteredGlobalProps=filteredItems.join(" ");const popoverSpacing=filteredGlobalProps.includes("dark")||!filteredGlobalProps?"p_sm":filteredGlobalProps;const overflowHandling=maxHeight||maxWidth?"overflow_handling":"";const zIndexStyle=zIndex?{zIndex:zIndex}:{};const widthHeightStyles=()=>Object.assign({},maxHeight?{maxHeight:maxHeight}:{},maxWidth?{maxWidth:maxWidth}:{},minHeight?{minHeight:minHeight}:{},minWidth?{minWidth:minWidth}:{});const ariaProps=buildAriaProps(aria);const dataProps=buildDataProps(data);const htmlProps=buildHtmlProps(htmlOptions);const classes=classnames(buildCss("pb_popover_kit"),filteredGlobalProps,className);return jsxRuntimeExports.jsx(Popper,{modifiers:popoverModifiers({modifiers:modifiers,offset:offset}),placement:placement,referenceElement:referenceElement,children:({placement:placement2,ref:ref,style:style})=>jsxRuntimeExports.jsx("div",{...ariaProps,...dataProps,...htmlProps,className:classes,"data-placement":placement2,id:id2,ref:ref,style:Object.assign({},style,zIndexStyle),children:jsxRuntimeExports.jsx("div",{className:classnames(`${buildCss("pb_popover_tooltip")} show`),children:jsxRuntimeExports.jsx("div",{className:classnames("pb_popover_body",popoverSpacing,overflowHandling),id:targetId,style:widthHeightStyles(),children:children})})})})};const PbReactPopover=props=>{const[targetId]=reactExports.useState(uniqueId("id-"));const{className:className,children:children,modifiers:modifiers=[],offset:offset=false,placement:placement="left",portal:portal="body",reference:reference,referenceElement:referenceElement,show:show2=false,usePortal:usePortal=true,zIndex:zIndex,maxHeight:maxHeight,maxWidth:maxWidth,minHeight:minHeight,minWidth:minWidth}=props;reactExports.useEffect((()=>{const{closeOnClick:closeOnClick,shouldClosePopover:shouldClosePopover=noop$1}=props;if(!closeOnClick)return;document.body.addEventListener("click",(e2=>{const target=e2.target;const targetIsPopover=target.closest("#"+targetId)!==null;const targetIsReference=target.closest("#reference-"+targetId)!==null;const shouldClose=()=>{setTimeout((()=>shouldClosePopover(true)),0)};switch(closeOnClick){case"outside":if(!targetIsPopover&&!targetIsReference)shouldClose();break;case"inside":if(targetIsPopover)shouldClose();break;case"any":if(targetIsPopover||!targetIsPopover&&!targetIsReference)shouldClose();break}}),{capture:true})}),[]);const popoverComponent=jsxRuntimeExports.jsx(Popover,{className:className,maxHeight:maxHeight,maxWidth:maxWidth,minHeight:minHeight,minWidth:minWidth,modifiers:modifiers,offset:offset,placement:placement,referenceElement:referenceElement,targetId:targetId,zIndex:zIndex,...props,children:children});return jsxRuntimeExports.jsx(Manager,{children:jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[reference&&!referenceElement&&jsxRuntimeExports.jsx(Reference,{children:({ref:ref})=>jsxRuntimeExports.jsx("span",{className:"pb_popover_reference_wrapper",id:"reference-"+targetId,ref:ref,children:jsxRuntimeExports.jsx(reference.type,{...reference.props})})}),show2&&(usePortal?jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment,{children:ReactDOM.createPortal(popoverComponent,document.querySelector(portal))}):{popoverComponent:popoverComponent})]})})};const FormPill=props=>{const{className:className,htmlOptions:htmlOptions={},id:id2,text:text,name:name2,onClick:onClick=()=>void 0,avatarUrl:avatarUrl,closeProps:closeProps={},size:size="",textTransform:textTransform="none",color:color="primary",data:data={},tabIndex:tabIndex,icon:icon=""}=props;const iconClass=icon?"_icon":"";const closeIconSize=size==="small"?"xs":"sm";const css4=classnames(`pb_form_pill_kit_${color}${iconClass}`,globalProps(props),className,size==="small"?"small":null,textTransform);const dataProps=buildDataProps(data);const htmlProps=buildHtmlProps(htmlOptions);return jsxRuntimeExports.jsxs("div",{className:css4,id:id2,tabIndex:tabIndex,...dataProps,...htmlProps,children:[(name2&&!icon&&!text||name2&&!icon&&text)&&jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx(Avatar,{imageUrl:avatarUrl,name:name2,size:"xxs",status:null}),jsxRuntimeExports.jsx(Title,{className:"pb_form_pill_text",size:4,text:name2})]}),(name2&&icon&&!text||name2&&icon&&text)&&jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx(Avatar,{imageUrl:avatarUrl,name:name2,size:"xxs",status:null}),jsxRuntimeExports.jsx(Title,{className:"pb_form_pill_text",size:4,text:name2}),jsxRuntimeExports.jsx(Icon,{className:"pb_form_pill_icon",color:color,icon:icon})]}),!name2&&icon&&text&&jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx(Icon,{className:"pb_form_pill_icon",color:color,icon:icon}),jsxRuntimeExports.jsx(Title,{className:"pb_form_pill_tag",size:4,text:text})]}),!name2&&!icon&&text&&jsxRuntimeExports.jsx(Title,{className:"pb_form_pill_tag",size:4,text:text}),jsxRuntimeExports.jsx("div",{className:"pb_form_pill_close",onClick:onClick,...closeProps,children:jsxRuntimeExports.jsx(Icon,{fixedWidth:true,icon:"times",size:closeIconSize})})]})};var solidGauge$1={exports:{}};(function(module){!function(t2){module.exports?(t2.default=t2,module.exports=t2):t2("undefined"!=typeof Highcharts?Highcharts:void 0)}((function(t2){var e2=t2?t2._modules:{};function o2(e3,o3,s2,i){e3.hasOwnProperty(o3)||(e3[o3]=i.apply(null,s2),"function"==typeof CustomEvent&&t2.win.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:o3,module:e3[o3]}})))}o2(e2,"Core/Axis/Color/ColorAxisLike.js",[e2["Core/Color/Color.js"],e2["Core/Utilities.js"]],(function(t3,e3){var o3,s2;let{parse:i}=t3,{merge:r2}=e3;return(s2=o3||(o3={})).initDataClasses=function(t4){let e4=this.chart,o4=this.legendItem=this.legendItem||{},s3=this.options,a2=t4.dataClasses||[],l2,n2,d2=e4.options.chart.colorCount,h2=0,u2;this.dataClasses=n2=[],o4.labels=[];for(let t5=0,o5=a2.length;t5<o5;++t5)l2=r2(l2=a2[t5]),n2.push(l2),(e4.styledMode||!l2.color)&&("category"===s3.dataClassColor?(e4.styledMode||(d2=(u2=e4.options.colors||[]).length,l2.color=u2[h2]),l2.colorIndex=h2,++h2===d2&&(h2=0)):l2.color=i(s3.minColor).tweenTo(i(s3.maxColor),o5<2?.5:t5/(o5-1)))},s2.initStops=function(){let t4=this.options,e4=this.stops=t4.stops||[[0,t4.minColor||""],[1,t4.maxColor||""]];for(let t5=0,o4=e4.length;t5<o4;++t5)e4[t5].color=i(e4[t5][1])},s2.normalizedValue=function(t4){let e4=this.max||0,o4=this.min||0;return this.logarithmic&&(t4=this.logarithmic.log2lin(t4)),1-(e4-t4)/(e4-o4||1)},s2.toColor=function(t4,e4){let o4,s3,i2,r3,a2,l2;let n2=this.dataClasses,d2=this.stops;if(n2){for(l2=n2.length;l2--;)if(s3=(a2=n2[l2]).from,i2=a2.to,(void 0===s3||t4>=s3)&&(void 0===i2||t4<=i2)){r3=a2.color,e4&&(e4.dataClass=l2,e4.colorIndex=a2.colorIndex);break}}else{for(o4=this.normalizedValue(t4),l2=d2.length;l2--&&!(o4>d2[l2][0]););s3=d2[l2]||d2[l2+1],o4=1-((i2=d2[l2+1]||s3)[0]-o4)/(i2[0]-s3[0]||1),r3=s3.color.tweenTo(i2.color,o4)}return r3},o3})),o2(e2,"Core/Axis/SolidGaugeAxis.js",[e2["Core/Axis/Color/ColorAxisLike.js"],e2["Core/Utilities.js"]],(function(t3,e3){let{extend:o3}=e3;return{init:function(e4){o3(e4,t3)}}})),o2(e2,"Series/SolidGauge/SolidGaugeSeriesDefaults.js",[],(function(){return{colorByPoint:true,dataLabels:{y:0}}})),o2(e2,"Series/SolidGauge/SolidGaugeSeries.js",[e2["Extensions/BorderRadius.js"],e2["Core/Series/SeriesRegistry.js"],e2["Core/Axis/SolidGaugeAxis.js"],e2["Series/SolidGauge/SolidGaugeSeriesDefaults.js"],e2["Core/Utilities.js"]],(function(t3,e3,o3,s2,i){let{gauge:r2,pie:a2}=e3.seriesTypes,{clamp:l2,extend:n2,isNumber:d2,merge:h2,pick:u2,pInt:c2}=i;class g2 extends r2{translate(){let t4=this.yAxis;o3.init(t4),!t4.dataClasses&&t4.options.dataClasses&&t4.initDataClasses(t4.options),t4.initStops(),r2.prototype.translate.call(this)}drawPoints(){let e4;let o4=this.yAxis,s3=o4.center,i2=this.options,r3=this.chart.renderer,a3=i2.overshoot,h3=i2.rounded&&void 0===i2.borderRadius,g3=d2(a3)?a3/180*Math.PI:0;for(let a4 of(d2(i2.threshold)&&(e4=o4.startAngleRad+o4.translate(i2.threshold,void 0,void 0,void 0,true)),this.thresholdAngleRad=u2(e4,o4.startAngleRad),this.points))if(!a4.isNull){let e5=c2(u2(a4.options.radius,i2.radius,100))*s3[2]/200,d3=c2(u2(a4.options.innerRadius,i2.innerRadius,60))*s3[2]/200,p2=Math.min(o4.startAngleRad,o4.endAngleRad),f2=Math.max(o4.startAngleRad,o4.endAngleRad),C2=a4.graphic,m2=o4.startAngleRad+o4.translate(a4.y,void 0,void 0,void 0,true),x2,A2,y2=o4.toColor(a4.y,a4);"none"===y2&&(y2=a4.color||this.color||"none"),"none"!==y2&&(a4.color=y2),m2=l2(m2,p2-g3,f2+g3),false===i2.wrap&&(m2=l2(m2,p2,f2));let R2=h3?(e5-d3)/2/e5:0,S2=Math.min(m2,this.thresholdAngleRad)-R2,j=Math.max(m2,this.thresholdAngleRad)+R2;j-S2>2*Math.PI&&(j=S2+2*Math.PI);let v2=h3?"50%":0;i2.borderRadius&&(v2=t3.optionsToObject(i2.borderRadius).radius),a4.shapeArgs=x2={x:s3[0],y:s3[1],r:e5,innerR:d3,start:S2,end:j,borderRadius:v2},a4.startR=e5,C2?(A2=x2.d,C2.animate(n2({fill:y2},x2)),A2&&(x2.d=A2)):a4.graphic=C2=r3.arc(x2).attr({fill:y2,"sweep-flag":0}).add(this.group),this.chart.styledMode||("square"!==i2.linecap&&C2.attr({"stroke-linecap":"round","stroke-linejoin":"round"}),C2.attr({stroke:i2.borderColor||"none","stroke-width":i2.borderWidth||0})),C2&&C2.addClass(a4.getClassName(),true)}}animate(t4){t4||(this.startAngleRad=this.thresholdAngleRad,a2.prototype.animate.call(this,t4))}}return g2.defaultOptions=h2(r2.defaultOptions,s2),e3.registerSeriesType("solidgauge",g2),g2})),o2(e2,"masters/modules/solid-gauge.src.js",[e2["Core/Globals.js"]],(function(t3){return t3}))}))})(solidGauge$1);var solidGaugeExports=solidGauge$1.exports;const solidGauge=getDefaultExportFromCjs(solidGaugeExports);const Gauge=({aria:aria={},chartData:chartData,customOptions:customOptions={},dark:dark=false,data:data={},disableAnimation:disableAnimation=false,fullCircle:fullCircle=false,height:height=null,htmlOptions:htmlOptions={},id:id2,max:max2=100,min:min2=0,prefix:prefix2="",showLabels:showLabels=false,style:style="solidgauge",suffix:suffix="",title:title="",tooltipHtml:tooltipHtml='<span style="font-weight: bold; color:{point.color};">●</span>{point.name}: <b>{point.y}</b>',colors:colors2=[],minorTickInterval:minorTickInterval=null,circumference:circumference=(fullCircle?[0,360]:[-100,100]),...props})=>{const ariaProps=buildAriaProps(aria);const dataProps=buildDataProps(data);const htmlProps=buildHtmlProps(htmlOptions);highchartsMore(Highcharts$1);solidGauge(Highcharts$1);const setupTheme=()=>{dark?Highcharts$1.setOptions(highchartsDarkTheme):Highcharts$1.setOptions(highchartsTheme)};setupTheme();Highcharts$1.setOptions({tooltip:{pointFormat:tooltipHtml,followPointer:true}});const css4=buildCss({pb_gauge_kit:true});const[options2,setOptions]=reactExports.useState({});reactExports.useEffect((()=>{const formattedChartData=chartData.map((obj=>{obj.y=obj.value;delete obj.value;return obj}));const staticOptions={chart:{events:{load(){setTimeout(this.reflow.bind(this),0)}},type:style,height:height},title:{text:title},yAxis:{min:min2,max:max2,lineWidth:0,tickWidth:0,minorTickInterval:minorTickInterval,tickAmount:2,tickPositions:[min2,max2],labels:{y:26,enabled:showLabels}},credits:false,series:[{data:formattedChartData}],pane:{center:["50%","50%"],size:"90%",startAngle:circumference[0],endAngle:circumference[1],background:{borderWidth:20,innerRadius:"90%",outerRadius:"90%",shape:"arc",className:"gauge-pane"}},colors:colors2!==void 0&&colors2.length>0?mapColors(colors2):highchartsTheme.colors,plotOptions:{series:{animation:!disableAnimation},solidgauge:{borderColor:colors2!==void 0&&colors2.length===1?mapColors(colors2).join():highchartsTheme.colors[0],borderWidth:20,radius:90,innerRadius:"90%",dataLabels:{borderWidth:0,color:colors$1.text_lt_default,enabled:true,format:`<span class="prefix">${prefix2}</span><span class="fix">{y:,f}</span><span class="suffix">${suffix}</span>`,style:{fontFamily:typography.font_family_base,fontWeight:typography.regular,fontSize:typography.heading_2},y:-26}}}};setOptions(merge(staticOptions,customOptions));if(document.querySelector(".prefix")){document.querySelectorAll(".prefix").forEach((prefix22=>{prefix22.setAttribute("y","28")}));document.querySelectorAll(".fix").forEach((fix=>fix.setAttribute("y","38")))}}),[chartData]);return jsxRuntimeExports.jsx(HighchartsReact,{containerProps:{className:classnames(css4,globalProps(props)),id:id2,...ariaProps,...dataProps,...htmlProps},highcharts:Highcharts$1,options:options2})};const Legend=props=>{const{aria:aria={},className:className,color:color="data_1",dark:dark=false,data:data={},htmlOptions:htmlOptions={},id:id2,prefixText:prefixText,text:text}=props;const ariaProps=buildAriaProps(aria);const dataProps=buildDataProps(data);const htmlProps=buildHtmlProps(htmlOptions);const customColor=color.charAt(0)==="#"&&color;const customColorStyle={background:customColor};const bodyCss=classnames(buildCss("pb_legend_kit",customColor?"":color),globalProps(props),className);return jsxRuntimeExports.jsx("div",{...ariaProps,...dataProps,...htmlProps,className:bodyCss,id:id2,children:jsxRuntimeExports.jsxs(Body$1,{color:dark?"lighter":"light",children:[jsxRuntimeExports.jsx("span",{className:`${customColor?"pb_legend_indicator_circle_custom":"pb_legend_indicator_circle"}`,style:customColorStyle}),prefixText&&jsxRuntimeExports.jsx(Title,{dark:dark,size:4,tag:"span",text:` ${prefixText} `}),` ${text} `]})})};const LineGraph=({aria:aria={},data:data={},align:align="center",className:className="pb_bar_graph",customOptions:customOptions={},dark:dark=false,gradient:gradient=false,type:type="line",htmlOptions:htmlOptions={},id:id2,legend:legend=false,toggleLegendClick:toggleLegendClick=true,layout:layout="horizontal",verticalAlign:verticalAlign="bottom",x:x2=0,y:y2=0,axisTitle:axisTitle,xAxisCategories:xAxisCategories,yAxisMin:yAxisMin,yAxisMax:yAxisMax,chartData:chartData,pointStart:pointStart,subTitle:subTitle,title:title,height:height,colors:colors2=[],...props})=>{const ariaProps=buildAriaProps(aria);const dataProps=buildDataProps(data);const htmlProps=buildHtmlProps(htmlOptions);const setupTheme=()=>{dark?Highcharts$1.setOptions(highchartsDarkTheme):Highcharts$1.setOptions(highchartsTheme)};setupTheme();const staticOptions={title:{text:title},chart:{height:height,type:type},subtitle:{text:subTitle},yAxis:{min:yAxisMin,max:yAxisMax,title:{text:axisTitle}},xAxis:{categories:xAxisCategories},legend:{enabled:legend,align:align,verticalAlign:verticalAlign,layout:layout,x:x2,y:y2},colors:colors2!==void 0&&colors2.length>0?mapColors(colors2):highchartsTheme.colors,plotOptions:{series:{pointStart:pointStart,events:{},dataLabels:{enabled:false}}},series:chartData,credits:false};if(!toggleLegendClick){staticOptions.plotOptions.series.events={legendItemClick:()=>false}}const filteredProps={...props};delete filteredProps.verticalAlign;const[options2,setOptions]=reactExports.useState({});reactExports.useEffect((()=>{setOptions(merge(staticOptions,customOptions))}),[chartData]);return jsxRuntimeExports.jsx(HighchartsReact,{containerProps:{className:classnames(globalProps(filteredProps),className),id:id2,...ariaProps,...dataProps,...htmlProps},highcharts:Highcharts$1,options:options2})};const Radio=({aria:aria={},alignment:alignment,children:children,className:className,customChildren:customChildren=false,dark:dark=false,disabled:disabled=false,error:error=false,data:data={},htmlOptions:htmlOptions={},id:id2,label:label,name:name2="radio_name",text:text="Radio Text",value:value="radio_text",onChange:onChange2=()=>{},...props},ref)=>{const radioRef=reactExports.useRef(null);const ariaProps=buildAriaProps(aria);const dataProps=buildDataProps(data);const htmlProps=buildHtmlProps(htmlOptions);const classes=classnames(buildCss("pb_radio_kit",alignment),dark?"dark":null,error?"error":null,globalProps(props),className);const classesCustom=classnames(dark?"dark":null,error?"error":null,globalProps(props),className);const displayRadio=props2=>{if(children&&customChildren==false)return children;else return jsxRuntimeExports.jsx("input",{disabled:disabled,id:id2,name:name2,onChange:onChange2,ref:ref,text:text,type:"radio",value:value,...props2})};const handleContainerClick=event2=>{var _a;if(event2){const target=event2.target;if(target.id==="pb-radio-children-wrapper"||target.closest("#pb-radio-children-wrapper")){(_a=radioRef.current)==null?void 0:_a.click()}}};return customChildren?jsxRuntimeExports.jsxs(Flex,{...ariaProps,...dataProps,...htmlProps,align:"center",className:classesCustom,cursor:"pointer",htmlFor:id2,htmlOptions:{onClick:event2=>{handleContainerClick(event2)}},id:"radio-container",children:[jsxRuntimeExports.jsxs("label",{className:buildCss("pb_radio_kit",alignment),children:[jsxRuntimeExports.jsx("input",{disabled:disabled,id:id2,name:name2,onChange:onChange2,ref:radioRef,type:"radio",value:value,...props}),jsxRuntimeExports.jsx("span",{className:"pb_radio_button"})]}),jsxRuntimeExports.jsxs("div",{id:"pb-radio-children-wrapper",children:[" ",children," "]})]}):jsxRuntimeExports.jsxs("label",{...ariaProps,...dataProps,...htmlProps,className:classes,htmlFor:id2,children:[jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment,{children:displayRadio(props)}),jsxRuntimeExports.jsx("span",{className:"pb_radio_button"}),jsxRuntimeExports.jsx(Body$1,{dark:dark,status:error?"negative":null,text:label,variant:null})]})};const Radio$1=reactExports.forwardRef(Radio);const filterFormattedDataById=(formattedData,id2)=>{const matched=[];const recursiveSearch=(data,term)=>{for(const item of data){if(item.id.toLowerCase()===term.toLowerCase()){matched.push(item);return}if(item.children&&item.children.length>0){recursiveSearch(item.children,term)}}};recursiveSearch(formattedData,id2);return matched};const findByFilter=(formattedData,searchTerm)=>{const matchedItems=[];const recursiveSearch=(data,term)=>{for(const item of data){if(item.label.toLowerCase().includes(term.toLowerCase())){matchedItems.push(item)}if(item.children){recursiveSearch(item.children,term)}}};recursiveSearch(formattedData,searchTerm);return matchedItems};const getAncestorsOfUnchecked=(data,item)=>{if(item.parent_id){const ancestor=filterFormattedDataById(data,item.parent_id);ancestor[0].checked=false;ancestor[0].parent_id&&getAncestorsOfUnchecked(data,ancestor[0])}return data};const getCheckedItems=data=>{const checkedItems=[];if(!Array.isArray(data)){return}data.forEach((item=>{if(item.checked){checkedItems.push(item)}if(item.children&&item.children.length>0){const childCheckedItems=getCheckedItems(item.children);checkedItems.push(...childCheckedItems)}}));return checkedItems};const getDefaultCheckedItems=treeData=>{const checkedDefault=[];const traverseTree=items=>{if(!Array.isArray(items)){return}items.forEach((item=>{if(item.checked){if(item.children&&item.children.length>0){const uncheckedChildren=item.children.filter((child=>!child.checked));if(uncheckedChildren.length===0){checkedDefault.push(item);return}}else{const parent=items.find((parentItem=>parentItem.id===item.parentId));if(!parent||!parent.checked){checkedDefault.push(item)}}}if(item.children&&item.children.length>0){traverseTree(item.children)}}))};traverseTree(treeData);return checkedDefault};const recursiveCheckParent=(item,data)=>{if(item.parent_id!==null){const parent=filterFormattedDataById(data,item.parent_id);const allChildrenChecked=parent[0].children.every((child=>child.checked));if(allChildrenChecked){parent[0].checked=true;const parentHasParent=parent[0].parent_id!==null;if(parentHasParent){recursiveCheckParent(parent[0],data)}}}return data};const getExpandedItems=(treeData,selectedIds)=>{const expandedItems=[];const traverse=(items,ancestors=[])=>{for(let i=0;i<items.length;i++){const item=items[i];const itemAncestors=[...ancestors,item];if(item.expanded){expandedItems.push(item.id)}if(selectedIds&&selectedIds.length&&selectedIds.includes(item.id)){expandedItems.push(...itemAncestors.map((ancestor=>ancestor.id)))}if(Array.isArray(item.children)){const hasCheckedChildren=item.children.some((child=>child.checked));if(hasCheckedChildren){expandedItems.push(...itemAncestors.map((ancestor=>ancestor.id)))}traverse(item.children,itemAncestors)}}};traverse(treeData);return expandedItems};const MultiLevelSelect=props=>{const{aria:aria={},className:className,data:data={},htmlOptions:htmlOptions={},id:id2,inputDisplay:inputDisplay="pills",inputName:inputName,name:name2,returnAllSelected:returnAllSelected=false,treeData:treeData,onSelect:onSelect=()=>null,selectedIds:selectedIds,variant:variant="multi",pillColor:pillColor="primary"}=props;const ariaProps=buildAriaProps(aria);const dataProps=buildDataProps(data);const htmlProps=buildHtmlProps(htmlOptions);const classes=classnames(buildCss("pb_multi_level_select"),globalProps(props),className);const dropdownRef=reactExports.useRef(null);const[isDropdownClosed,setIsDropdownClosed]=reactExports.useState(true);const[filterItem,setFilterItem]=reactExports.useState("");const[formattedData,setFormattedData]=reactExports.useState([]);const[returnedArray,setReturnedArray]=reactExports.useState([]);const[defaultReturn,setDefaultReturn]=reactExports.useState([]);const initialExpandedItems=getExpandedItems(treeData,selectedIds);const[expanded,setExpanded]=reactExports.useState(initialExpandedItems);const[singleSelectedItem,setSingleSelectedItem]=reactExports.useState({id:[],value:"",item:[]});const arrowDownElementId=`arrow_down_${id2}`;const arrowUpElementId=`arrow_up_${id2}`;const modifyRecursive=(tree,check)=>{if(!Array.isArray(tree)){return}return tree.map((item=>{item.checked=check;item.children=modifyRecursive(item.children,check);return item}))};const addCheckedAndParentProperty=(treeData2,selectedIds2,parent_id=null,depth=0)=>{if(!Array.isArray(treeData2)){return}return treeData2.map((item=>{const newItem={...item,checked:Boolean(selectedIds2&&selectedIds2.length&&selectedIds2.includes(item.id)),parent_id:parent_id,depth:depth};if(newItem.children&&newItem.children.length>0){const children=item.checked&&!returnAllSelected?modifyRecursive(item.children,true):item.children;newItem.children=addCheckedAndParentProperty(children,selectedIds2,newItem.id,depth+1)}return newItem}))};reactExports.useEffect((()=>{const formattedData2=addCheckedAndParentProperty(treeData,variant==="single"?[selectedIds==null?void 0:selectedIds[0]]:selectedIds);setFormattedData(formattedData2);if(variant==="single"){if((selectedIds==null?void 0:selectedIds.length)===0||!(selectedIds==null?void 0:selectedIds.length)){setSingleSelectedItem({id:[],value:"",item:[]})}else{if((selectedIds==null?void 0:selectedIds.length)!==0&&!singleSelectedItem.value){const selectedItem=filterFormattedDataById(formattedData2,selectedIds[0]);if(!selectedItem.length){setSingleSelectedItem({id:[],value:"",item:[]})}else{const{id:id22,value:value}=selectedItem[0];setSingleSelectedItem({id:[id22],value:value,item:selectedItem})}}}}}),[treeData,selectedIds]);reactExports.useEffect((()=>{if(returnAllSelected){setReturnedArray(getCheckedItems(formattedData))}else if(variant==="single"){setDefaultReturn(singleSelectedItem.item)}else{setDefaultReturn(getDefaultCheckedItems(formattedData))}}),[formattedData]);reactExports.useEffect((()=>{const handleClickOutside=event2=>{if(dropdownRef.current&&!dropdownRef.current.contains(event2.target)&&event2.target.id!==arrowDownElementId&&event2.target.id!==arrowUpElementId){setIsDropdownClosed(true)}};window.addEventListener("click",handleClickOutside);return()=>{window.removeEventListener("click",handleClickOutside)}}),[]);const modifyValue=(id22,tree,check)=>{if(!Array.isArray(tree)){return}return tree.map((item=>{if(item.id!=id22)item.children=modifyValue(id22,item.children,check);else{item.checked=check;if(variant==="single"){item.children=modifyRecursive(item.children,!check)}else{item.children=modifyRecursive(item.children,check)}}return item}))};const checkItem=item=>{const tree=cloneDeep(formattedData);if(returnAllSelected){return modifyValue(item.id,tree,true)}else{const checkedTree=modifyValue(item.id,tree,true);return recursiveCheckParent(item,checkedTree)}};const unCheckItem=item=>{const tree=cloneDeep(formattedData);if(returnAllSelected){return modifyValue(item.id,tree,false)}else{const uncheckedTree=modifyValue(item.id,tree,false);return getAncestorsOfUnchecked(uncheckedTree,item)}};const changeItem=(item,check)=>{const tree=check?checkItem(item):unCheckItem(item);setFormattedData(tree);return tree};const handlePillClose=(event2,clickedItem)=>{event2.stopPropagation();const updatedTree=changeItem(clickedItem,false);if(returnAllSelected){onSelect(getCheckedItems(updatedTree))}else{onSelect(getDefaultCheckedItems(updatedTree))}};const handleInputWrapperClick=e2=>{if(e2.target.id==="multiselect_input"||e2.target.classList.contains("pb_form_pill_tag")){return}setIsDropdownClosed(!isDropdownClosed)};const handledropdownItemClick=(e2,check)=>{const clickedItem=e2.target.parentNode.id;setFilterItem("");const filtered=filterFormattedDataById(formattedData,clickedItem);const updatedTree=changeItem(filtered[0],check);if(returnAllSelected){onSelect(getCheckedItems(updatedTree))}else{onSelect(getDefaultCheckedItems(updatedTree))}};const handleRadioButtonClick=e2=>{const{id:id22,value:inputText}=e2.target;const selectedItemID=id22.match(/^[^-]*/)[0];const treeWithNoSelections=modifyRecursive(formattedData,false);const treeWithSelectedItem=modifyValue(selectedItemID,treeWithNoSelections,true);const selectedItem=filterFormattedDataById(treeWithSelectedItem,selectedItemID);setFormattedData(treeWithSelectedItem);setSingleSelectedItem({id:[selectedItemID],value:inputText,item:selectedItem});setFilterItem("");setIsDropdownClosed(true);onSelect(selectedItem)};const handleRadioInputChange=inputText=>{modifyRecursive(formattedData,false);setDefaultReturn([]);setSingleSelectedItem({id:[],value:inputText,item:[]});setFilterItem(inputText)};const isTreeRowExpanded=item=>expanded.indexOf(item.id)>-1;const handleToggleClick=(id22,event2)=>{event2.stopPropagation();const clickedItem=filterFormattedDataById(formattedData,id22);if(clickedItem){let expandedArray=[...expanded];const itemExpanded=isTreeRowExpanded(clickedItem[0]);if(itemExpanded)expandedArray=expandedArray.filter((i=>i!=clickedItem[0].id));else expandedArray.push(clickedItem[0].id);setExpanded(expandedArray)}};const itemsSelectedLength=()=>{let items;if(returnAllSelected&&returnedArray&&returnedArray.length){items=returnedArray.length}else if(!returnAllSelected&&defaultReturn&&defaultReturn.length){items=defaultReturn.length}return items};const renderNestedOptions=items=>jsxRuntimeExports.jsx("ul",{children:Array.isArray(items)&&items.map((item=>jsxRuntimeExports.jsx("div",{children:jsxRuntimeExports.jsxs("li",{className:"dropdown_item","data-name":item.id,children:[jsxRuntimeExports.jsxs("div",{className:"dropdown_item_checkbox_row",children:[!item.parent_id&&!item.children?null:jsxRuntimeExports.jsx("div",{children:jsxRuntimeExports.jsx(CircleIconButton,{className:item.children&&item.children.length>0?"":"toggle_icon",icon:isTreeRowExpanded(item)?"chevron-down":"chevron-right",onClick:event2=>handleToggleClick(item.id,event2),variant:"link"})},isTreeRowExpanded(item)?"chevron-down":"chevron-right"),variant==="single"?item.hideRadio?jsxRuntimeExports.jsx(Body$1,{children:item.label}):jsxRuntimeExports.jsx(Radio$1,{checked:item.checked,id:`${item.id}-${item.label}`,label:item.label,name:inputName,onChange:e2=>handleRadioButtonClick(e2),padding:item.children?"none":"xs",type:"radio",value:item.label}):jsxRuntimeExports.jsx(Checkbox,{id:item.id,text:item.label,children:jsxRuntimeExports.jsx("input",{checked:item.checked,name:item.label,onChange:e2=>{handledropdownItemClick(e2,!item.checked)},type:"checkbox",value:item.label})})]}),isTreeRowExpanded(item)&&item.children&&item.children.length>0&&(variant==="single"||!filterItem)&&jsxRuntimeExports.jsx("div",{children:renderNestedOptions(item.children)})]})},item.id)))});return jsxRuntimeExports.jsx("div",{...ariaProps,...dataProps,...htmlProps,className:classes,id:id2,children:jsxRuntimeExports.jsxs("div",{className:"wrapper",ref:dropdownRef,children:[jsxRuntimeExports.jsxs("div",{className:"input_wrapper",onClick:handleInputWrapperClick,children:[jsxRuntimeExports.jsxs("div",{className:"input_inner_container",children:[variant==="single"&&defaultReturn.length!==0?defaultReturn.map((selectedItem=>jsxRuntimeExports.jsx("input",{name:`${name2}[]`,type:"hidden",value:selectedItem.id},selectedItem.id))):null,variant!=="single"&&jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[returnAllSelected&&returnedArray.length!==0?returnedArray.map((item=>jsxRuntimeExports.jsx("input",{name:`${name2}[]`,type:"hidden",value:item.id},item.id))):null,returnAllSelected&&returnedArray.length!==0&&inputDisplay==="pills"?returnedArray.map(((item,index2)=>jsxRuntimeExports.jsx(FormPill,{color:pillColor,onClick:event2=>handlePillClose(event2,item),text:item.label},index2))):null,!returnAllSelected&&defaultReturn.length!==0&&inputDisplay==="pills"?defaultReturn.map(((item,index2)=>jsxRuntimeExports.jsx(FormPill,{color:pillColor,onClick:event2=>handlePillClose(event2,item),text:item.label},index2))):null,returnAllSelected&&returnedArray.length!==0&&inputDisplay==="pills"&&jsxRuntimeExports.jsx("br",{}),!returnAllSelected&&defaultReturn.length!==0&&inputDisplay==="pills"&&jsxRuntimeExports.jsx("br",{})]}),jsxRuntimeExports.jsx("input",{id:"multiselect_input",onChange:e2=>{variant==="single"?handleRadioInputChange(e2.target.value):setFilterItem(e2.target.value)},onClick:()=>setIsDropdownClosed(false),placeholder:inputDisplay==="none"&&itemsSelectedLength()?`${itemsSelectedLength()} ${itemsSelectedLength()===1?"item":"items"} selected`:"Start typing...",value:singleSelectedItem.value||filterItem})]}),isDropdownClosed?jsxRuntimeExports.jsx("div",{id:arrowDownElementId,children:jsxRuntimeExports.jsx(Icon,{icon:"chevron-down",id:arrowDownElementId,size:"xs"})},"chevron-down"):jsxRuntimeExports.jsx("div",{id:arrowUpElementId,children:jsxRuntimeExports.jsx(Icon,{icon:"chevron-up",id:arrowUpElementId,size:"xs"})},"chevron-up")]}),jsxRuntimeExports.jsx("div",{className:`dropdown_menu ${isDropdownClosed?"close":"open"}`,children:renderNestedOptions(filterItem?findByFilter(formattedData,filterItem):formattedData)})]})})};const Nav=props=>{const{aria:aria={},borderless:borderless=false,children:children,className:className,data:data={},dark:dark=false,highlight:highlight=true,htmlOptions:htmlOptions={},id:id2,link:link="#",onClick:onClick,orientation:orientation="vertical",title:title="",variant:variant="normal",itemSpacing:itemSpacing}=props;const ariaProps=buildAriaProps(aria);const dataProps=buildDataProps(data);const htmlProps=buildHtmlProps(htmlOptions);const cardCss=classnames(buildCss("pb_nav_list",variant,orientation,{highlight:highlight,borderless:borderless}),globalProps(props),className);const childrenWithProps=React.Children.map(children,(child=>{if(React.isValidElement(child)){const childProps={orientation:orientation,variant:variant,itemSpacing:itemSpacing};return React.cloneElement(child,childProps)}return child}));return jsxRuntimeExports.jsxs("nav",{...ariaProps,...dataProps,...htmlProps,className:cardCss,id:id2,children:[title&&jsxRuntimeExports.jsx("div",{className:"pb_nav_list_title",children:jsxRuntimeExports.jsx("a",{className:"pb_nav_list_item_link_text",href:link,onClick:onClick,children:jsxRuntimeExports.jsx(Caption,{dark:dark,size:"md",text:`${title}`})})}),jsxRuntimeExports.jsx("div",{className:"pb_nav_wrapper",children:childrenWithProps})]})};const NavItem=props=>{const fontWeightDefault=(orientation2,variant2)=>orientation2==="horizontal"&&variant2==="subtle"?"regular":orientation2==="horizontal"&&variant2==="normal"?"bold":"regular";const{active:active=false,highlighted_border:highlighted_border=true,aria:aria={},orientation:orientation,variant:variant,fontWeight:fontWeight=fontWeightDefault(orientation,variant),children:children,className:className,collapsible:collapsible,data:data={},dark:dark=false,fontSize:fontSize="normal",htmlOptions:htmlOptions={},iconLeft:iconLeft,iconRight:iconRight,onIconRightClick:onIconRightClick,onIconLeftClick:onIconLeftClick,id:id2,imageUrl:imageUrl,link:link,onClick:onClick,target:target="_self",text:text="",collapsibleTrail:collapsibleTrail,collapsed:collapsed,itemSpacing:itemSpacing,margin:margin,marginBottom:marginBottom,marginTop:marginTop,marginRight:marginRight,marginLeft:marginLeft,marginX:marginX,marginY:marginY}=props;const spacingMarginProps={margin:margin,marginBottom:marginBottom,marginTop:marginTop,marginRight:marginRight,marginLeft:marginLeft,marginX:marginX,marginY:marginY};const filterItemSpacing=obj=>{const filteredPadding2={};const filteredMargin2={};for(const key in obj){if(key.startsWith("padding")){filteredPadding2[key]=obj[key]}else if(key.startsWith("margin")){filteredMargin2[key]=obj[key]}}return{filteredPadding:filteredPadding2,filteredMargin:filteredMargin2}};const{filteredPadding:filteredPadding,filteredMargin:filteredMargin}=filterItemSpacing(itemSpacing);const finalItemSpacing={...filteredMargin||{},...Object.entries(spacingMarginProps).reduce(((acc,[prop,value])=>{if(value){acc[prop]=value}return acc}),{})};const filteredProps={...props};filteredProps==null?true:delete filteredProps.margin;filteredProps==null?true:delete filteredProps.marginX;filteredProps==null?true:delete filteredProps.marginY;filteredProps==null?true:delete filteredProps.marginBottom;filteredProps==null?true:delete filteredProps.marginTop;filteredProps==null?true:delete filteredProps.marginRight;filteredProps==null?true:delete filteredProps.marginLeft;const Tag=link?"a":"div";const activeClass=active===true?"active":"";const highlightedBorderClass=active===true&&highlighted_border===false?"highlighted_border_none":"";const collapsibleTrailClass=collapsible&&collapsibleTrail?"collapsible_trail":"";const fontSizeMapping={small:"font_size_small",normal:"font_size_normal"};const fontWeightMapping={bold:"font_bold",bolder:"font_bolder",regular:"font_regular"};const fontSizeClass=fontSizeMapping[fontSize];const fontWeightClass=fontWeightMapping[fontWeight];const ariaProps=buildAriaProps(aria);const dataProps=buildDataProps(data);const htmlProps=buildHtmlProps(htmlOptions);const tagClasses=classnames(collapsible?"pb_nav_list_item_link_collapsible":"pb_nav_list_item_link");const classes=classnames(buildCss("pb_nav_list_kit_item",activeClass,highlightedBorderClass),collapsible?buildCss("pb_collapsible_nav_item",activeClass,highlightedBorderClass):"",fontSizeClass,fontWeightClass,tagClasses,collapsible?globalProps(filteredProps,{...filteredPadding}):globalProps(props,{...itemSpacing}),className);const handleIconClick=e2=>{if(onIconLeftClick){e2.stopPropagation();onIconLeftClick()}};const childrenWithProps=React.Children.map(children,(child=>{if(React.isValidElement(child)){const childProps={itemSpacing:itemSpacing};return React.cloneElement(child,childProps)}return child}));const collapsibleClasses=buildCss("collapsible_nav_wrapper",activeClass,highlightedBorderClass,collapsibleTrailClass);return jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment,{children:collapsible?jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment,{children:jsxRuntimeExports.jsxs(Collapsible,{className:collapsibleClasses,collapsed:collapsed,icon:iconRight&&iconRight,iconSize:"xs",id:id2,onClick:onClick,onIconClick:onIconRightClick,children:[jsxRuntimeExports.jsx(Collapsible.Main,{className:globalProps({...finalItemSpacing}),dark:dark,children:jsxRuntimeExports.jsxs(Tag,{...ariaProps,...dataProps,...htmlProps,className:classes,href:link,id:id2,target:target,children:[imageUrl&&jsxRuntimeExports.jsx("div",{className:"pb_nav_list_item_icon_section_collapsible",onClick:e2=>handleIconClick(e2),children:jsxRuntimeExports.jsx(Image$1,{className:"pb_nav_img_wrapper",url:imageUrl})},imageUrl),iconLeft&&jsxRuntimeExports.jsx("div",{className:"pb_nav_list_item_icon_section_collapsible",onClick:e2=>handleIconClick(e2),children:jsxRuntimeExports.jsx(Icon,{className:"pb_nav_list_item_icon_left_collapsible",fixedWidth:true,icon:iconLeft})},iconLeft),jsxRuntimeExports.jsx("span",{className:"pb_nav_list_item_text_collapsible",children:text})]})}),jsxRuntimeExports.jsx(Collapsible.Content,{children:childrenWithProps})]})}):jsxRuntimeExports.jsxs(Tag,{...ariaProps,...dataProps,...htmlProps,className:classes,href:link,id:id2,onClick:onClick,target:target,children:[imageUrl&&jsxRuntimeExports.jsx("div",{className:"pb_nav_list_item_icon_section",children:jsxRuntimeExports.jsx(Image$1,{className:"pb_nav_img_wrapper",url:imageUrl})},imageUrl),iconLeft&&jsxRuntimeExports.jsx("div",{className:"pb_nav_list_item_icon_section",children:jsxRuntimeExports.jsx(Icon,{className:"pb_nav_list_item_icon_left",fixedWidth:true,icon:iconLeft})},iconLeft),jsxRuntimeExports.jsx("span",{className:"pb_nav_list_item_text",children:text||children}),iconRight&&jsxRuntimeExports.jsx("div",{className:"pb_nav_list_item_icon_section",children:jsxRuntimeExports.jsx(Icon,{className:"pb_nav_list_item_icon_right",fixedWidth:true,icon:iconRight})},iconRight)]})})};const Passphrase=props=>{const{aria:aria={},className:className,confirmation:confirmation=false,data:data={},dark:dark=false,htmlOptions:htmlOptions={},id:id2,inputProps:inputProps={},label:label=(confirmation?"Confirm Passphrase":"Passphrase"),onChange:onChange2=()=>void 0,showTipsBelow:showTipsBelow="always",tips:tips=[],uncontrolled:uncontrolled=false,value:value=""}=props;const[uncontrolledValue,setUncontrolledValue]=reactExports.useState("");const[showPopover,setShowPopover]=reactExports.useState(false);const[showPassphrase,setShowPassphrase]=reactExports.useState(false);const handleChange=reactExports.useCallback((e2=>uncontrolled?setUncontrolledValue(e2.target.value):onChange2(e2)),[uncontrolled,onChange2]);const displayValue=reactExports.useMemo((()=>uncontrolled?uncontrolledValue:value),[value,uncontrolledValue,uncontrolled]);const toggleShowPopover=()=>setShowPopover(!showPopover);const handleShouldClosePopover=shouldClosePopover=>{setShowPopover(!shouldClosePopover)};const toggleShowPassphrase=e2=>{e2.preventDefault();setShowPassphrase(!showPassphrase)};const tipClass=classnames("passphrase-popover",showTipsBelow==="always"?null:`show-below-${showTipsBelow}`);const ariaProps=buildAriaProps(aria);const classes=classnames(buildCss("pb_passphrase"),globalProps(props),className);const dataProps=buildDataProps(data);const htmlProps=buildHtmlProps(htmlOptions);const popoverReference=jsxRuntimeExports.jsx(CircleIconButton,{className:tipClass,dark:dark,icon:"info-circle",onClick:toggleShowPopover,variant:"link"});const shieldIcon=getAllIcons()["shieldCheck"];const eyeIcon=getAllIcons()["eye"];return jsxRuntimeExports.jsx("div",{...ariaProps,...dataProps,...htmlProps,className:classes,id:id2,children:jsxRuntimeExports.jsxs("label",{children:[jsxRuntimeExports.jsxs(Flex,{align:"baseline",children:[jsxRuntimeExports.jsx(Caption,{className:"passphrase-label",text:label}),tips.length>0&&!confirmation&&jsxRuntimeExports.jsx(PbReactPopover,{className:"passphrase-tips",closeOnClick:"outside",placement:"right",reference:popoverReference,shouldClosePopover:handleShouldClosePopover,show:showPopover,children:jsxRuntimeExports.jsxs(Flex,{align:"center",orientation:"column",children:[jsxRuntimeExports.jsx(Caption,{marginBottom:"xs",text:"Tips for a good passphrase"}),jsxRuntimeExports.jsx("div",{children:tips.map(((tip,i)=>jsxRuntimeExports.jsxs(Caption,{marginBottom:"xs",size:"xs",children:[jsxRuntimeExports.jsx(Icon,{className:"svg-inline--fa",customIcon:shieldIcon.icon,marginRight:"xs"}),tip]},i)))})]})})]}),jsxRuntimeExports.jsxs("div",{className:"passphrase-text-input-wrapper",children:[jsxRuntimeExports.jsx(TextInput$1,{className:"passphrase-text-input",dark:dark,marginBottom:"xs",onChange:handleChange,placeholder:"Enter a passphrase...",type:showPassphrase?"text":"password",value:displayValue,...inputProps}),jsxRuntimeExports.jsxs("span",{className:"show-passphrase-icon",onClick:toggleShowPassphrase,children:[jsxRuntimeExports.jsx(Body$1,{className:showPassphrase?"hide-icon":"",color:"light",dark:dark,children:jsxRuntimeExports.jsx(Icon,{icon:"eye-slash"})}),jsxRuntimeExports.jsx(Body$1,{className:showPassphrase?"":"hide-icon",color:"light",dark:dark,children:jsxRuntimeExports.jsx(Icon,{className:"svg-inline--fa",customIcon:eyeIcon.icon})})]})]})]})})};var intlTelInput$2={exports:{}};(function(module){(function(factory){if(module.exports)module.exports=factory();else window.intlTelInput=factory()})((function(undefined$1){return function(){var allCountries=[["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"]]];for(var i=0;i<allCountries.length;i++){var c2=allCountries[i];allCountries[i]={name:c2[0],iso2:c2[1],dialCode:c2[2],priority:c2[3]||0,areaCodes:c2[4]||null}}function _objectSpread(target){for(var i2=1;i2<arguments.length;i2++){var source=arguments[i2]!=null?Object(arguments[i2]):{};var ownKeys2=Object.keys(source);if(typeof Object.getOwnPropertySymbols==="function"){ownKeys2.push.apply(ownKeys2,Object.getOwnPropertySymbols(source).filter((function(sym){return Object.getOwnPropertyDescriptor(source,sym).enumerable})))}ownKeys2.forEach((function(key){_defineProperty2(target,key,source[key])}))}return target}function _defineProperty2(obj,key,value){key=_toPropertyKey(key);if(key in obj){Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true})}else{obj[key]=value}return obj}function _classCallCheck2(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function")}}function _defineProperties2(target,props){for(var i2=0;i2<props.length;i2++){var descriptor=props[i2];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;if("value"in descriptor)descriptor.writable=true;Object.defineProperty(target,_toPropertyKey(descriptor.key),descriptor)}}function _createClass2(Constructor,protoProps,staticProps){if(protoProps)_defineProperties2(Constructor.prototype,protoProps);Object.defineProperty(Constructor,"prototype",{writable:false});return Constructor}function _toPropertyKey(arg){var key=_toPrimitive(arg,"string");return typeof key==="symbol"?key:String(key)}function _toPrimitive(input,hint){if(typeof input!=="object"||input===null)return input;var prim=input[Symbol.toPrimitive];if(prim!==undefined$1){var res=prim.call(input,hint||"default");if(typeof res!=="object")return res;throw new TypeError("@@toPrimitive must return a primitive value.")}return(hint==="string"?String:Number)(input)}var intlTelInputGlobals={getInstance:function getInstance(input){var id3=input.getAttribute("data-intl-tel-input-id");return window.intlTelInputGlobals.instances[id3]},instances:{},documentReady:function documentReady(){return document.readyState==="complete"}};if(typeof window==="object"){window.intlTelInputGlobals=intlTelInputGlobals}var id2=0;var defaults={allowDropdown:true,autoInsertDialCode:false,autoPlaceholder:"polite",countrySearch:false,customContainer:"",customPlaceholder:null,dropdownContainer:null,excludeCountries:[],fixDropdownWidth:false,formatOnDisplay:true,geoIpLookup:null,hiddenInput:"",initialCountry:"",localizedCountries:null,nationalMode:true,onlyCountries:[],placeholderNumberType:"MOBILE",preferredCountries:["us","gb"],separateDialCode:false,showFlags:true,useFullscreenPopup:typeof navigator!=="undefined"&&typeof window!=="undefined"?/Android.+Mobile|webOS|iPhone|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)||window.innerWidth<=500:false,utilsScript:""};var regionlessNanpNumbers=["800","822","833","844","855","866","877","880","881","882","883","884","885","886","887","888","889"];var forEachProp=function forEachProp2(obj,callback){var keys=Object.keys(obj);for(var i2=0;i2<keys.length;i2++){callback(keys[i2],obj[keys[i2]])}};var forEachInstance=function forEachInstance2(method){forEachProp(window.intlTelInputGlobals.instances,(function(key){window.intlTelInputGlobals.instances[key][method]()}))};var Iti=function(){function Iti2(input,options2){var _this=this;_classCallCheck2(this,Iti2);this.id=id2++;this.telInput=input;this.activeItem=null;this.highlightedItem=null;var customOptions=options2||{};this.options={};forEachProp(defaults,(function(key,value){_this.options[key]=customOptions.hasOwnProperty(key)?customOptions[key]:value}));this.hadInitialPlaceholder=Boolean(input.getAttribute("placeholder"))}_createClass2(Iti2,[{key:"_init",value:function _init(){var _this2=this;if(this.options.useFullscreenPopup){this.options.fixDropdownWidth=false}if(this.options.countrySearch&&!this.options.useFullscreenPopup){this.options.fixDropdownWidth=true}if(this.options.nationalMode){this.options.autoInsertDialCode=false}if(this.options.separateDialCode){this.options.autoInsertDialCode=false}var forceShowFlags=this.options.allowDropdown&&!this.options.separateDialCode;if(!this.options.showFlags&&forceShowFlags){this.options.showFlags=true}if(this.options.useFullscreenPopup&&!this.options.dropdownContainer){this.options.dropdownContainer=document.body}this.isRTL=!!this.telInput.closest("[dir=rtl]");if(typeof Promise!=="undefined"){var autoCountryPromise=new Promise((function(resolve,reject){_this2.resolveAutoCountryPromise=resolve;_this2.rejectAutoCountryPromise=reject}));var utilsScriptPromise=new Promise((function(resolve,reject){_this2.resolveUtilsScriptPromise=resolve;_this2.rejectUtilsScriptPromise=reject}));this.promise=Promise.all([autoCountryPromise,utilsScriptPromise])}else{this.resolveAutoCountryPromise=this.rejectAutoCountryPromise=function(){};this.resolveUtilsScriptPromise=this.rejectUtilsScriptPromise=function(){}}this.selectedCountryData={};this._processCountryData();this._generateMarkup();this._setInitialState();this._initListeners();this._initRequests()}},{key:"_processCountryData",value:function _processCountryData(){this._processAllCountries();this._processCountryCodes();this._processPreferredCountries();if(this.options.localizedCountries){this._translateCountriesByLocale()}if(this.options.onlyCountries.length||this.options.localizedCountries){this.countries.sort(this._countryNameSort)}}},{key:"_addCountryCode",value:function _addCountryCode(iso2,countryCode,priority){if(countryCode.length>this.countryCodeMaxLen){this.countryCodeMaxLen=countryCode.length}if(!this.countryCodes.hasOwnProperty(countryCode)){this.countryCodes[countryCode]=[]}for(var i2=0;i2<this.countryCodes[countryCode].length;i2++){if(this.countryCodes[countryCode][i2]===iso2){return}}var index2=priority!==undefined$1?priority:this.countryCodes[countryCode].length;this.countryCodes[countryCode][index2]=iso2}},{key:"_processAllCountries",value:function _processAllCountries(){if(this.options.onlyCountries.length){var lowerCaseOnlyCountries=this.options.onlyCountries.map((function(country){return country.toLowerCase()}));this.countries=allCountries.filter((function(country){return lowerCaseOnlyCountries.indexOf(country.iso2)>-1}))}else if(this.options.excludeCountries.length){var lowerCaseExcludeCountries=this.options.excludeCountries.map((function(country){return country.toLowerCase()}));this.countries=allCountries.filter((function(country){return lowerCaseExcludeCountries.indexOf(country.iso2)===-1}))}else{this.countries=allCountries}}},{key:"_translateCountriesByLocale",value:function _translateCountriesByLocale(){for(var i2=0;i2<this.countries.length;i2++){var iso=this.countries[i2].iso2.toLowerCase();if(this.options.localizedCountries.hasOwnProperty(iso)){this.countries[i2].name=this.options.localizedCountries[iso]}}}},{key:"_countryNameSort",value:function _countryNameSort(a2,b2){if(a2.name<b2.name){return-1}if(a2.name>b2.name){return 1}return 0}},{key:"_processCountryCodes",value:function _processCountryCodes(){this.countryCodeMaxLen=0;this.dialCodes={};this.countryCodes={};for(var i2=0;i2<this.countries.length;i2++){var c3=this.countries[i2];if(!this.dialCodes[c3.dialCode]){this.dialCodes[c3.dialCode]=true}this._addCountryCode(c3.iso2,c3.dialCode,c3.priority)}for(var _i=0;_i<this.countries.length;_i++){var _c=this.countries[_i];if(_c.areaCodes){var rootCountryCode=this.countryCodes[_c.dialCode][0];for(var j=0;j<_c.areaCodes.length;j++){var areaCode=_c.areaCodes[j];for(var k2=1;k2<areaCode.length;k2++){var partialDialCode=_c.dialCode+areaCode.substr(0,k2);this._addCountryCode(rootCountryCode,partialDialCode);this._addCountryCode(_c.iso2,partialDialCode)}this._addCountryCode(_c.iso2,_c.dialCode+areaCode)}}}}},{key:"_processPreferredCountries",value:function _processPreferredCountries(){this.preferredCountries=[];for(var i2=0;i2<this.options.preferredCountries.length;i2++){var countryCode=this.options.preferredCountries[i2].toLowerCase();var countryData=this._getCountryData(countryCode,false,true);if(countryData){this.preferredCountries.push(countryData)}}}},{key:"_createEl",value:function _createEl(name2,attrs,container){var el=document.createElement(name2);if(attrs){forEachProp(attrs,(function(key,value){return el.setAttribute(key,value)}))}if(container){container.appendChild(el)}return el}},{key:"_generateMarkup",value:function _generateMarkup(){this.telInput.classList.add("iti__tel-input");if(!this.telInput.hasAttribute("autocomplete")&&!(this.telInput.form&&this.telInput.form.hasAttribute("autocomplete"))){this.telInput.setAttribute("autocomplete","off")}var _this$options=this.options,allowDropdown=_this$options.allowDropdown,separateDialCode=_this$options.separateDialCode,showFlags=_this$options.showFlags,customContainer=_this$options.customContainer,hiddenInput=_this$options.hiddenInput,dropdownContainer=_this$options.dropdownContainer,fixDropdownWidth=_this$options.fixDropdownWidth,useFullscreenPopup=_this$options.useFullscreenPopup,countrySearch=_this$options.countrySearch;var parentClass="iti";if(allowDropdown){parentClass+=" iti--allow-dropdown"}if(separateDialCode){parentClass+=" iti--separate-dial-code"}if(showFlags){parentClass+=" iti--show-flags"}if(customContainer){parentClass+=" ".concat(customContainer)}var wrapper=this._createEl("div",{class:parentClass});this.telInput.parentNode.insertBefore(wrapper,this.telInput);var showFlagsContainer=allowDropdown||showFlags||separateDialCode;if(showFlagsContainer){this.flagsContainer=this._createEl("div",{class:"iti__flag-container"},wrapper)}wrapper.appendChild(this.telInput);if(showFlagsContainer){this.selectedFlag=this._createEl("div",_objectSpread({class:"iti__selected-flag"},allowDropdown&&{role:"combobox","aria-haspopup":"listbox","aria-controls":"iti-".concat(this.id,"__country-listbox"),"aria-expanded":"false","aria-label":"Telephone country code"}),this.flagsContainer)}if(showFlags){this.selectedFlagInner=this._createEl("div",{class:"iti__flag"},this.selectedFlag)}if(this.selectedFlag&&this.telInput.disabled){this.selectedFlag.setAttribute("aria-disabled","true")}if(separateDialCode){this.selectedDialCode=this._createEl("div",{class:"iti__selected-dial-code"},this.selectedFlag)}if(allowDropdown){if(!this.telInput.disabled){this.selectedFlag.setAttribute("tabindex","0")}this.dropdownArrow=this._createEl("div",{class:"iti__arrow"},this.selectedFlag);var extraClasses=fixDropdownWidth?"":"iti--flexible-dropdown-width";this.dropdownContent=this._createEl("div",{class:"iti__dropdown-content iti__hide ".concat(extraClasses)});if(countrySearch){this.searchInput=this._createEl("input",{type:"text",class:"iti__search-input",placeholder:"Search"},this.dropdownContent)}this.countryList=this._createEl("ul",{class:"iti__country-list",id:"iti-".concat(this.id,"__country-listbox"),role:"listbox","aria-label":"List of countries"},this.dropdownContent);if(this.preferredCountries.length&&!countrySearch){this._appendListItems(this.preferredCountries,"iti__preferred",true);this._createEl("li",{class:"iti__divider","aria-hidden":"true"},this.countryList)}this._appendListItems(this.countries,"iti__standard");if(dropdownContainer){var dropdownClasses="iti iti--container";if(useFullscreenPopup){dropdownClasses+=" iti--fullscreen-popup"}if(countrySearch){dropdownClasses+=" iti--country-search"}this.dropdown=this._createEl("div",{class:dropdownClasses});this.dropdown.appendChild(this.dropdownContent)}else{this.flagsContainer.appendChild(this.dropdownContent)}}if(hiddenInput){var hiddenInputName=hiddenInput;var name2=this.telInput.getAttribute("name");if(name2){var i2=name2.lastIndexOf("[");if(i2!==-1){hiddenInputName="".concat(name2.substr(0,i2),"[").concat(hiddenInputName,"]")}}this.hiddenInput=this._createEl("input",{type:"hidden",name:hiddenInputName});wrapper.appendChild(this.hiddenInput)}}},{key:"_appendListItems",value:function _appendListItems(countries,className,preferred){for(var i2=0;i2<countries.length;i2++){var c3=countries[i2];var idSuffix=preferred?"-preferred":"";var listItem=this._createEl("li",{id:"iti-".concat(this.id,"__item-").concat(c3.iso2).concat(idSuffix),class:"iti__country ".concat(className),tabindex:"-1",role:"option","data-dial-code":c3.dialCode,"data-country-code":c3.iso2,"aria-selected":"false"},this.countryList);c3.node=listItem;var content="";if(this.options.showFlags){content+="<div class='iti__flag-box'><div class='iti__flag iti__".concat(c3.iso2,"'></div></div>")}content+="<span class='iti__country-name'>".concat(c3.name,"</span>");content+="<span class='iti__dial-code'>+".concat(c3.dialCode,"</span>");listItem.insertAdjacentHTML("beforeend",content)}}},{key:"_setInitialState",value:function _setInitialState(){var attributeValue=this.telInput.getAttribute("value");var inputValue=this.telInput.value;var useAttribute=attributeValue&&attributeValue.charAt(0)==="+"&&(!inputValue||inputValue.charAt(0)!=="+");var val=useAttribute?attributeValue:inputValue;var dialCode=this._getDialCode(val);var isRegionlessNanp=this._isRegionlessNanp(val);var _this$options2=this.options,initialCountry=_this$options2.initialCountry,autoInsertDialCode=_this$options2.autoInsertDialCode;if(dialCode&&!isRegionlessNanp){this._updateFlagFromNumber(val)}else if(initialCountry!=="auto"){var isValidInitialCountry=initialCountry&&this._getCountryData(initialCountry,false,true);if(isValidInitialCountry){this._setFlag(initialCountry.toLowerCase())}else{if(dialCode&&isRegionlessNanp){this._setFlag("us")}else{this.defaultCountry=this.preferredCountries.length?this.preferredCountries[0].iso2:this.countries[0].iso2;if(!val){this._setFlag(this.defaultCountry)}}}if(!val&&autoInsertDialCode){this.telInput.value="+".concat(this.selectedCountryData.dialCode)}}if(val){this._updateValFromNumber(val)}}},{key:"_initListeners",value:function _initListeners(){this._initKeyListeners();if(this.options.autoInsertDialCode){this._initBlurListeners()}if(this.options.allowDropdown){this._initDropdownListeners()}if(this.hiddenInput){this._initHiddenInputListener()}}},{key:"_initHiddenInputListener",value:function _initHiddenInputListener(){var _this3=this;this._handleHiddenInputSubmit=function(){_this3.hiddenInput.value=_this3.getNumber()};if(this.telInput.form){this.telInput.form.addEventListener("submit",this._handleHiddenInputSubmit)}}},{key:"_getClosestLabel",value:function _getClosestLabel(){var el=this.telInput;while(el&&el.tagName!=="LABEL"){el=el.parentNode}return el}},{key:"_initDropdownListeners",value:function _initDropdownListeners(){var _this4=this;this._handleLabelClick=function(e2){if(_this4.dropdownContent.classList.contains("iti__hide")){_this4.telInput.focus()}else{e2.preventDefault()}};var label=this._getClosestLabel();if(label){label.addEventListener("click",this._handleLabelClick)}this._handleClickSelectedFlag=function(){if(_this4.dropdownContent.classList.contains("iti__hide")&&!_this4.telInput.disabled&&!_this4.telInput.readOnly){_this4._showDropdown()}};this.selectedFlag.addEventListener("click",this._handleClickSelectedFlag);this._handleFlagsContainerKeydown=function(e2){var isDropdownHidden=_this4.dropdownContent.classList.contains("iti__hide");if(isDropdownHidden&&["ArrowUp","ArrowDown"," ","Enter"].includes(e2.key)){e2.preventDefault();e2.stopPropagation();_this4._showDropdown()}if(e2.key==="Tab"){_this4._closeDropdown()}};this.flagsContainer.addEventListener("keydown",this._handleFlagsContainerKeydown)}},{key:"_initRequests",value:function _initRequests(){var _this5=this;if(this.options.utilsScript&&!window.intlTelInputUtils){if(window.intlTelInputGlobals.documentReady()){window.intlTelInputGlobals.loadUtils(this.options.utilsScript)}else{window.addEventListener("load",(function(){window.intlTelInputGlobals.loadUtils(_this5.options.utilsScript)}))}}else{this.resolveUtilsScriptPromise()}if(this.options.initialCountry==="auto"){this._loadAutoCountry()}else{this.resolveAutoCountryPromise()}}},{key:"_loadAutoCountry",value:function _loadAutoCountry(){if(window.intlTelInputGlobals.autoCountry){this.handleAutoCountry()}else if(!window.intlTelInputGlobals.startedLoadingAutoCountry){window.intlTelInputGlobals.startedLoadingAutoCountry=true;if(typeof this.options.geoIpLookup==="function"){this.options.geoIpLookup((function(countryCode){window.intlTelInputGlobals.autoCountry=countryCode.toLowerCase();setTimeout((function(){return forEachInstance("handleAutoCountry")}))}),(function(){return forEachInstance("rejectAutoCountryPromise")}))}}}},{key:"_initKeyListeners",value:function _initKeyListeners(){var _this6=this;this._handleKeyupEvent=function(){if(_this6._updateFlagFromNumber(_this6.telInput.value)){_this6._triggerCountryChange()}};this.telInput.addEventListener("keyup",this._handleKeyupEvent);this._handleClipboardEvent=function(){setTimeout(_this6._handleKeyupEvent)};this.telInput.addEventListener("cut",this._handleClipboardEvent);this.telInput.addEventListener("paste",this._handleClipboardEvent)}},{key:"_cap",value:function _cap(number){var max2=this.telInput.getAttribute("maxlength");return max2&&number.length>max2?number.substr(0,max2):number}},{key:"_initBlurListeners",value:function _initBlurListeners(){var _this7=this;this._handleSubmitOrBlurEvent=function(){_this7._removeEmptyDialCode()};if(this.telInput.form){this.telInput.form.addEventListener("submit",this._handleSubmitOrBlurEvent)}this.telInput.addEventListener("blur",this._handleSubmitOrBlurEvent)}},{key:"_removeEmptyDialCode",value:function _removeEmptyDialCode(){if(this.telInput.value.charAt(0)==="+"){var numeric=this._getNumeric(this.telInput.value);if(!numeric||this.selectedCountryData.dialCode===numeric){this.telInput.value=""}}}},{key:"_getNumeric",value:function _getNumeric(s2){return s2.replace(/\D/g,"")}},{key:"_trigger",value:function _trigger(name2){var e2=document.createEvent("Event");e2.initEvent(name2,true,true);this.telInput.dispatchEvent(e2)}},{key:"_showDropdown",value:function _showDropdown(){if(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();if(this.options.countrySearch){this._highlightListItem(this.countryList.firstElementChild,false);this.searchInput.focus()}else if(this.activeItem){this._highlightListItem(this.activeItem,false);this._scrollTo(this.activeItem,true)}this._bindDropdownListeners();this.dropdownArrow.classList.add("iti__arrow--up");this._trigger("open:countrydropdown")}},{key:"_toggleClass",value:function _toggleClass(el,className,shouldHaveClass){if(shouldHaveClass&&!el.classList.contains(className)){el.classList.add(className)}else if(!shouldHaveClass&&el.classList.contains(className)){el.classList.remove(className)}}},{key:"_setDropdownPosition",value:function _setDropdownPosition(){var _this8=this;if(this.options.dropdownContainer){this.options.dropdownContainer.appendChild(this.dropdown)}if(!this.options.useFullscreenPopup){var pos=this.telInput.getBoundingClientRect();var windowTop=window.pageYOffset||document.documentElement.scrollTop;var inputTop=pos.top+windowTop;var dropdownHeight=this.dropdownContent.offsetHeight;var dropdownFitsBelow=inputTop+this.telInput.offsetHeight+dropdownHeight<windowTop+window.innerHeight;var dropdownFitsAbove=inputTop-dropdownHeight>windowTop;var positionDropdownAboveInput=!this.options.countrySearch&&!dropdownFitsBelow&&dropdownFitsAbove;this._toggleClass(this.dropdownContent,"iti__dropdown-content--dropup",positionDropdownAboveInput);if(this.options.dropdownContainer){var extraTop=positionDropdownAboveInput?0:this.telInput.offsetHeight;this.dropdown.style.top="".concat(inputTop+extraTop,"px");this.dropdown.style.left="".concat(pos.left+document.body.scrollLeft,"px");this._handleWindowScroll=function(){return _this8._closeDropdown()};window.addEventListener("scroll",this._handleWindowScroll)}}}},{key:"_getClosestListItem",value:function _getClosestListItem(target){var el=target;while(el&&el!==this.countryList&&!el.classList.contains("iti__country")){el=el.parentNode}return el===this.countryList?null:el}},{key:"_bindDropdownListeners",value:function _bindDropdownListeners(){var _this9=this;this._handleMouseoverCountryList=function(e2){var listItem=_this9._getClosestListItem(e2.target);if(listItem){_this9._highlightListItem(listItem,false)}};this.countryList.addEventListener("mouseover",this._handleMouseoverCountryList);this._handleClickCountryList=function(e2){var listItem=_this9._getClosestListItem(e2.target);if(listItem){_this9._selectListItem(listItem)}};this.countryList.addEventListener("click",this._handleClickCountryList);var isOpening=true;this._handleClickOffToClose=function(){if(!isOpening){_this9._closeDropdown()}isOpening=false};document.documentElement.addEventListener("click",this._handleClickOffToClose);var query="";var queryTimer=null;this._handleKeydownOnDropdown=function(e2){if(["ArrowUp","ArrowDown","Enter","Escape"].includes(e2.key)){e2.preventDefault();e2.stopPropagation();if(e2.key==="ArrowUp"||e2.key==="ArrowDown"){_this9._handleUpDownKey(e2.key)}else if(e2.key==="Enter"){_this9._handleEnterKey()}else if(e2.key==="Escape"){_this9._closeDropdown()}}if(!_this9.options.countrySearch&&/^[a-zA-ZÀ-ÿа-яА-Я ]$/.test(e2.key)){e2.stopPropagation();if(queryTimer){clearTimeout(queryTimer)}query+=e2.key.toLowerCase();_this9._searchForCountry(query);queryTimer=setTimeout((function(){query=""}),1e3)}};document.addEventListener("keydown",this._handleKeydownOnDropdown);if(this.options.countrySearch){var doFilter=function doFilter2(){var inputQuery=_this9.searchInput.value.trim();if(inputQuery){_this9._filterCountries(inputQuery.toLowerCase())}else{_this9._filterCountries(null,true)}};var keyupTimer=null;this._handleSearchChange=function(){if(keyupTimer){clearTimeout(keyupTimer)}keyupTimer=setTimeout((function(){doFilter();keyupTimer=null}),100)};this.searchInput.addEventListener("input",this._handleSearchChange);this.searchInput.addEventListener("click",(function(e2){return e2.stopPropagation()}))}}},{key:"_filterCountries",value:function _filterCountries(query){var isReset=arguments.length>1&&arguments[1]!==undefined$1?arguments[1]:false;var isFirst=true;this.countryList.innerHTML="";for(var i2=0;i2<this.countries.length;i2++){var c3=this.countries[i2];var nameLower=c3.name.toLowerCase();var fullDialCode="+".concat(c3.dialCode);if(isReset||nameLower.includes(query)||fullDialCode.includes(query)){this.countryList.appendChild(c3.node);if(isFirst){this._highlightListItem(c3.node,false);isFirst=false}}}}},{key:"_handleUpDownKey",value:function _handleUpDownKey(key){var next2=key==="ArrowUp"?this.highlightedItem.previousElementSibling:this.highlightedItem.nextElementSibling;if(next2){if(next2.classList.contains("iti__divider")){next2=key==="ArrowUp"?next2.previousElementSibling:next2.nextElementSibling}}else if(this.countryList.childElementCount>1){next2=key==="ArrowUp"?this.countryList.lastElementChild:this.countryList.firstElementChild}if(next2){var doFocus=!this.options.countrySearch;this._highlightListItem(next2,doFocus);if(this.options.countrySearch){this._scrollTo(next2,false)}}}},{key:"_handleEnterKey",value:function _handleEnterKey(){if(this.highlightedItem){this._selectListItem(this.highlightedItem)}}},{key:"_searchForCountry",value:function _searchForCountry(query){for(var i2=0;i2<this.countries.length;i2++){if(this._startsWith(this.countries[i2].name,query)){var listItem=this.countries[i2].node;this._highlightListItem(listItem,false);this._scrollTo(listItem,true);break}}}},{key:"_startsWith",value:function _startsWith(a2,b2){return a2.substr(0,b2.length).toLowerCase()===b2}},{key:"_updateValFromNumber",value:function _updateValFromNumber(fullNumber){var number=fullNumber;if(this.options.formatOnDisplay&&window.intlTelInputUtils&&this.selectedCountryData){var useNational=this.options.nationalMode||number.charAt(0)!=="+"&&!this.options.separateDialCode;var _intlTelInputUtils$nu=intlTelInputUtils.numberFormat,NATIONAL=_intlTelInputUtils$nu.NATIONAL,INTERNATIONAL=_intlTelInputUtils$nu.INTERNATIONAL;var format=useNational?NATIONAL:INTERNATIONAL;number=intlTelInputUtils.formatNumber(number,this.selectedCountryData.iso2,format)}number=this._beforeSetNumber(number);this.telInput.value=number}},{key:"_updateFlagFromNumber",value:function _updateFlagFromNumber(fullNumber){var plusIndex=fullNumber.indexOf("+");var number=plusIndex?fullNumber.substring(plusIndex):fullNumber;var selectedDialCode=this.selectedCountryData.dialCode;var isNanp=selectedDialCode==="1";if(number&&isNanp&&number.charAt(0)!=="+"){if(number.charAt(0)!=="1"){number="1".concat(number)}number="+".concat(number)}if(this.options.separateDialCode&&selectedDialCode&&number.charAt(0)!=="+"){number="+".concat(selectedDialCode).concat(number)}var dialCode=this._getDialCode(number,true);var numeric=this._getNumeric(number);var countryCode=null;if(dialCode){var countryCodes=this.countryCodes[this._getNumeric(dialCode)];var alreadySelected=countryCodes.indexOf(this.selectedCountryData.iso2)!==-1&&numeric.length<=dialCode.length-1;var isRegionlessNanpNumber=selectedDialCode==="1"&&this._isRegionlessNanp(numeric);if(!isRegionlessNanpNumber&&!alreadySelected){for(var j=0;j<countryCodes.length;j++){if(countryCodes[j]){countryCode=countryCodes[j];break}}}}else if(number.charAt(0)==="+"&&numeric.length){countryCode=""}else if(!number||number==="+"){countryCode=this.defaultCountry}if(countryCode!==null){return this._setFlag(countryCode)}return false}},{key:"_isRegionlessNanp",value:function _isRegionlessNanp(number){var numeric=this._getNumeric(number);if(numeric.charAt(0)==="1"){var areaCode=numeric.substr(1,3);return regionlessNanpNumbers.indexOf(areaCode)!==-1}return false}},{key:"_highlightListItem",value:function _highlightListItem(listItem,shouldFocus){var prevItem=this.highlightedItem;if(prevItem){prevItem.classList.remove("iti__highlight")}this.highlightedItem=listItem;this.highlightedItem.classList.add("iti__highlight");this.selectedFlag.setAttribute("aria-activedescendant",listItem.getAttribute("id"));if(shouldFocus){this.highlightedItem.focus()}}},{key:"_getCountryData",value:function _getCountryData(countryCode,ignoreOnlyCountriesOption,allowFail){var countryList=ignoreOnlyCountriesOption?allCountries:this.countries;for(var i2=0;i2<countryList.length;i2++){if(countryList[i2].iso2===countryCode){return countryList[i2]}}if(allowFail){return null}throw new Error("No country data for '".concat(countryCode,"'"))}},{key:"_setFlag",value:function _setFlag(countryCode){var _this$options3=this.options,allowDropdown=_this$options3.allowDropdown,separateDialCode=_this$options3.separateDialCode,showFlags=_this$options3.showFlags;var prevCountry=this.selectedCountryData.iso2?this.selectedCountryData:{};this.selectedCountryData=countryCode?this._getCountryData(countryCode,false,false):{};if(this.selectedCountryData.iso2){this.defaultCountry=this.selectedCountryData.iso2}if(showFlags){this.selectedFlagInner.setAttribute("class","iti__flag iti__".concat(countryCode))}this._setSelectedCountryFlagTitleAttribute(countryCode,separateDialCode);if(separateDialCode){var dialCode=this.selectedCountryData.dialCode?"+".concat(this.selectedCountryData.dialCode):"";this.selectedDialCode.innerHTML=dialCode;var selectedFlagWidth=this.selectedFlag.offsetWidth||this._getHiddenSelectedFlagWidth();if(this.isRTL){this.telInput.style.paddingRight="".concat(selectedFlagWidth+6,"px")}else{this.telInput.style.paddingLeft="".concat(selectedFlagWidth+6,"px")}}this._updatePlaceholder();if(allowDropdown){var prevItem=this.activeItem;if(prevItem){prevItem.classList.remove("iti__active");prevItem.setAttribute("aria-selected","false")}if(countryCode){var nextItem=this.countryList.querySelector("#iti-".concat(this.id,"__item-").concat(countryCode,"-preferred"))||this.countryList.querySelector("#iti-".concat(this.id,"__item-").concat(countryCode));nextItem.setAttribute("aria-selected","true");nextItem.classList.add("iti__active");this.activeItem=nextItem}}return prevCountry.iso2!==countryCode}},{key:"_setSelectedCountryFlagTitleAttribute",value:function _setSelectedCountryFlagTitleAttribute(countryCode,separateDialCode){if(!this.selectedFlag){return}var title;if(countryCode&&!separateDialCode){title="".concat(this.selectedCountryData.name,": +").concat(this.selectedCountryData.dialCode)}else if(countryCode){title=this.selectedCountryData.name}else{title="Unknown"}this.selectedFlag.setAttribute("title",title)}},{key:"_getHiddenSelectedFlagWidth",value:function _getHiddenSelectedFlagWidth(){var containerClone=this.telInput.parentNode.cloneNode();containerClone.style.visibility="hidden";document.body.appendChild(containerClone);var flagsContainerClone=this.flagsContainer.cloneNode();containerClone.appendChild(flagsContainerClone);var selectedFlagClone=this.selectedFlag.cloneNode(true);flagsContainerClone.appendChild(selectedFlagClone);var width=selectedFlagClone.offsetWidth;containerClone.parentNode.removeChild(containerClone);return width}},{key:"_updatePlaceholder",value:function _updatePlaceholder(){var shouldSetPlaceholder=this.options.autoPlaceholder==="aggressive"||!this.hadInitialPlaceholder&&this.options.autoPlaceholder==="polite";if(window.intlTelInputUtils&&shouldSetPlaceholder){var numberType=intlTelInputUtils.numberType[this.options.placeholderNumberType];var placeholder=this.selectedCountryData.iso2?intlTelInputUtils.getExampleNumber(this.selectedCountryData.iso2,this.options.nationalMode,numberType):"";placeholder=this._beforeSetNumber(placeholder);if(typeof this.options.customPlaceholder==="function"){placeholder=this.options.customPlaceholder(placeholder,this.selectedCountryData)}this.telInput.setAttribute("placeholder",placeholder)}}},{key:"_selectListItem",value:function _selectListItem(listItem){var flagChanged=this._setFlag(listItem.getAttribute("data-country-code"));this._closeDropdown();this._updateDialCode(listItem.getAttribute("data-dial-code"));this.telInput.focus();var len=this.telInput.value.length;this.telInput.setSelectionRange(len,len);if(flagChanged){this._triggerCountryChange()}}},{key:"_closeDropdown",value:function _closeDropdown(){this.dropdownContent.classList.add("iti__hide");this.selectedFlag.setAttribute("aria-expanded","false");this.selectedFlag.removeAttribute("aria-activedescendant");this.dropdownArrow.classList.remove("iti__arrow--up");document.removeEventListener("keydown",this._handleKeydownOnDropdown);if(this.options.countrySearch){this.searchInput.removeEventListener("input",this._handleSearchChange)}document.documentElement.removeEventListener("click",this._handleClickOffToClose);this.countryList.removeEventListener("mouseover",this._handleMouseoverCountryList);this.countryList.removeEventListener("click",this._handleClickCountryList);if(this.options.dropdownContainer){if(!this.options.useFullscreenPopup){window.removeEventListener("scroll",this._handleWindowScroll)}if(this.dropdown.parentNode){this.dropdown.parentNode.removeChild(this.dropdown)}}this._trigger("close:countrydropdown")}},{key:"_scrollTo",value:function _scrollTo(element,middle){var container=this.dropdownContent;var windowTop=window.pageYOffset||document.documentElement.scrollTop;var containerHeight=container.offsetHeight;var containerTop=container.getBoundingClientRect().top+windowTop;var containerBottom=containerTop+containerHeight;var elementHeight=element.offsetHeight;var elementTop=element.getBoundingClientRect().top+windowTop;var elementBottom=elementTop+elementHeight;var newScrollTop=elementTop-containerTop+container.scrollTop;var middleOffset=containerHeight/2-elementHeight/2;if(elementTop<containerTop){if(middle){newScrollTop-=middleOffset}container.scrollTop=newScrollTop}else if(elementBottom>containerBottom){if(middle){newScrollTop+=middleOffset}var heightDifference=containerHeight-elementHeight;container.scrollTop=newScrollTop-heightDifference}}},{key:"_updateDialCode",value:function _updateDialCode(newDialCodeBare){var inputVal=this.telInput.value;var newDialCode="+".concat(newDialCodeBare);var newNumber;if(inputVal.charAt(0)==="+"){var prevDialCode=this._getDialCode(inputVal);if(prevDialCode){newNumber=inputVal.replace(prevDialCode,newDialCode)}else{newNumber=newDialCode}this.telInput.value=newNumber}else if(this.options.autoInsertDialCode){if(inputVal){newNumber=newDialCode+inputVal}else{newNumber=newDialCode}this.telInput.value=newNumber}}},{key:"_getDialCode",value:function _getDialCode(number,includeAreaCode){var dialCode="";if(number.charAt(0)==="+"){var numericChars="";for(var i2=0;i2<number.length;i2++){var c3=number.charAt(i2);if(!isNaN(parseInt(c3,10))){numericChars+=c3;if(includeAreaCode){if(this.countryCodes[numericChars]){dialCode=number.substr(0,i2+1)}}else{if(this.dialCodes[numericChars]){dialCode=number.substr(0,i2+1);break}}if(numericChars.length===this.countryCodeMaxLen){break}}}}return dialCode}},{key:"_getFullNumber",value:function _getFullNumber(){var val=this.telInput.value.trim();var dialCode=this.selectedCountryData.dialCode;var prefix2;var numericVal=this._getNumeric(val);if(this.options.separateDialCode&&val.charAt(0)!=="+"&&dialCode&&numericVal){prefix2="+".concat(dialCode)}else{prefix2=""}return prefix2+val}},{key:"_beforeSetNumber",value:function _beforeSetNumber(fullNumber){var number=fullNumber;if(this.options.separateDialCode){var dialCode=this._getDialCode(number);if(dialCode){dialCode="+".concat(this.selectedCountryData.dialCode);var start=number[dialCode.length]===" "||number[dialCode.length]==="-"?dialCode.length+1:dialCode.length;number=number.substr(start)}}return this._cap(number)}},{key:"_triggerCountryChange",value:function _triggerCountryChange(){this._trigger("countrychange")}},{key:"handleAutoCountry",value:function handleAutoCountry(){if(this.options.initialCountry==="auto"){this.defaultCountry=window.intlTelInputGlobals.autoCountry;if(!this.telInput.value){this.setCountry(this.defaultCountry)}this.resolveAutoCountryPromise()}}},{key:"handleUtils",value:function handleUtils(){if(window.intlTelInputUtils){if(this.telInput.value){this._updateValFromNumber(this.telInput.value)}this._updatePlaceholder()}this.resolveUtilsScriptPromise()}},{key:"destroy",value:function destroy(){var form=this.telInput.form;if(this.options.allowDropdown){this._closeDropdown();this.selectedFlag.removeEventListener("click",this._handleClickSelectedFlag);this.flagsContainer.removeEventListener("keydown",this._handleFlagsContainerKeydown);var label=this._getClosestLabel();if(label){label.removeEventListener("click",this._handleLabelClick)}}if(this.hiddenInput&&form){form.removeEventListener("submit",this._handleHiddenInputSubmit)}if(this.options.autoInsertDialCode){if(form){form.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 wrapper=this.telInput.parentNode;wrapper.parentNode.insertBefore(this.telInput,wrapper);wrapper.parentNode.removeChild(wrapper);delete window.intlTelInputGlobals.instances[this.id]}},{key:"getExtension",value:function getExtension(){if(window.intlTelInputUtils){return intlTelInputUtils.getExtension(this._getFullNumber(),this.selectedCountryData.iso2)}return""}},{key:"getNumber",value:function getNumber(format){if(window.intlTelInputUtils){var iso2=this.selectedCountryData.iso2;return intlTelInputUtils.formatNumber(this._getFullNumber(),iso2,format)}return""}},{key:"getNumberType",value:function getNumberType(){if(window.intlTelInputUtils){return intlTelInputUtils.getNumberType(this._getFullNumber(),this.selectedCountryData.iso2)}return-99}},{key:"getSelectedCountryData",value:function getSelectedCountryData(){return this.selectedCountryData}},{key:"getValidationError",value:function getValidationError(){if(window.intlTelInputUtils){var iso2=this.selectedCountryData.iso2;return intlTelInputUtils.getValidationError(this._getFullNumber(),iso2)}return-99}},{key:"isValidNumber",value:function isValidNumber(){var val=this._getFullNumber().trim();return window.intlTelInputUtils?intlTelInputUtils.isValidNumber(val,this.selectedCountryData.iso2):null}},{key:"isPossibleNumber",value:function isPossibleNumber(){var val=this._getFullNumber().trim();return window.intlTelInputUtils?intlTelInputUtils.isPossibleNumber(val,this.selectedCountryData.iso2):null}},{key:"setCountry",value:function setCountry(originalCountryCode){var countryCode=originalCountryCode.toLowerCase();if(this.selectedCountryData.iso2!==countryCode){this._setFlag(countryCode);this._updateDialCode(this.selectedCountryData.dialCode);this._triggerCountryChange()}}},{key:"setNumber",value:function setNumber(number){var flagChanged=this._updateFlagFromNumber(number);this._updateValFromNumber(number);if(flagChanged){this._triggerCountryChange()}}},{key:"setPlaceholderNumberType",value:function setPlaceholderNumberType(type){this.options.placeholderNumberType=type;this._updatePlaceholder()}}]);return Iti2}();intlTelInputGlobals.getCountryData=function(){return allCountries};var injectScript=function injectScript2(path,handleSuccess,handleFailure){var script=document.createElement("script");script.onload=function(){forEachInstance("handleUtils");if(handleSuccess){handleSuccess()}};script.onerror=function(){forEachInstance("rejectUtilsScriptPromise");if(handleFailure){handleFailure()}};script.className="iti-load-utils";script.async=true;script.src=path;document.body.appendChild(script)};intlTelInputGlobals.loadUtils=function(path){if(!window.intlTelInputUtils&&!window.intlTelInputGlobals.startedLoadingUtilsScript){window.intlTelInputGlobals.startedLoadingUtilsScript=true;if(typeof Promise!=="undefined"){return new Promise((function(resolve,reject){return injectScript(path,resolve,reject)}))}injectScript(path)}return null};intlTelInputGlobals.defaults=defaults;intlTelInputGlobals.version="18.5.3";return function(input,options2){var iti=new Iti(input,options2);iti._init();input.setAttribute("data-intl-tel-input-id",iti.id);window.intlTelInputGlobals.instances[iti.id]=iti;return iti}}()}))})(intlTelInput$2);var intlTelInputExports=intlTelInput$2.exports;var intlTelInput=intlTelInputExports;const intlTelInput$1=getDefaultExportFromCjs(intlTelInput);(function(){var aa2=this||self;function k2(a2,b2){a2=a2.split(".");var c2=aa2;a2[0]in c2||"undefined"==typeof c2.execScript||c2.execScript("var "+a2[0]);for(var d2;a2.length&&(d2=a2.shift());)a2.length||void 0===b2?c2[d2]&&c2[d2]!==Object.prototype[d2]?c2=c2[d2]:c2=c2[d2]={}:c2[d2]=b2}function m2(a2,b2){function c2(){}c2.prototype=b2.prototype;a2.$=b2.prototype;a2.prototype=new c2;a2.prototype.constructor=a2;a2.fa=function(d2,f2,e2){for(var g2=Array(arguments.length-2),h2=2;h2<arguments.length;h2++)g2[h2-2]=arguments[h2];return b2.prototype[f2].apply(d2,g2)}}function ba2(a2){const b2=[];let c2=0;for(const d2 in a2)b2[c2++]=a2[d2];return b2}function ca2(a2,b2){this.g=a2;this.m=!!b2.o;this.i=b2.h;this.v=b2.type;this.u=false;switch(this.i){case da2:case ea2:case fa2:case ha2:case ia2:case ja2:case ka2:this.u=true}this.l=b2.defaultValue}var ka2=1,ja2=2,da2=3,ea2=4,fa2=6,ha2=16,ia2=18;function la2(a2,b2){this.i=a2;this.g={};for(a2=0;a2<b2.length;a2++){var c2=b2[a2];this.g[c2.g]=c2}}function ma2(a2){a2=ba2(a2.g);a2.sort((function(b2,c2){return b2.g-c2.g}));return a2}function n2(){this.g={};this.l=this.j().g;this.i=this.m=null}n2.prototype.has=function(a2){return null!=this.g[a2.g]};n2.prototype.get=function(a2,b2){return p2(this,a2.g,b2)};n2.prototype.set=function(a2,b2){q2(this,a2.g,b2)};n2.prototype.add=function(a2,b2){r2(this,a2.g,b2)};function na2(a2,b2){for(var c2=ma2(a2.j()),d2=0;d2<c2.length;d2++){var f2=c2[d2],e2=f2.g;if(null!=b2.g[e2]){a2.i&&delete a2.i[f2.g];var g2=11==f2.i||10==f2.i;if(f2.m){f2=t2(b2,e2);for(var h2=0;h2<f2.length;h2++)r2(a2,e2,g2?f2[h2].clone():f2[h2])}else f2=u2(b2,e2),g2?(g2=u2(a2,e2))?na2(g2,f2):q2(a2,e2,f2.clone()):q2(a2,e2,f2)}}}n2.prototype.clone=function(){var a2=new this.constructor;a2!=this&&(a2.g={},a2.i&&(a2.i={}),na2(a2,this));return a2};function u2(a2,b2){var c2=a2.g[b2];if(null==c2)return null;if(a2.m){if(!(b2 in a2.i)){var d2=a2.m,f2=a2.l[b2];if(null!=c2)if(f2.m){for(var e2=[],g2=0;g2<c2.length;g2++)e2[g2]=d2.i(f2,c2[g2]);c2=e2}else c2=d2.i(f2,c2);return a2.i[b2]=c2}return a2.i[b2]}return c2}function p2(a2,b2,c2){var d2=u2(a2,b2);return a2.l[b2].m?d2[c2||0]:d2}function v2(a2,b2){if(null!=a2.g[b2])a2=p2(a2,b2);else a:{a2=a2.l[b2];if(void 0===a2.l)if(b2=a2.v,b2===Boolean)a2.l=false;else if(b2===Number)a2.l=0;else if(b2===String)a2.l=a2.u?"0":"";else{a2=new b2;break a}a2=a2.l}return a2}function t2(a2,b2){return u2(a2,b2)||[]}function w2(a2,b2){return a2.l[b2].m?null!=a2.g[b2]?a2.g[b2].length:0:null!=a2.g[b2]?1:0}function q2(a2,b2,c2){a2.g[b2]=c2;a2.i&&(a2.i[b2]=c2)}function r2(a2,b2,c2){a2.g[b2]||(a2.g[b2]=[]);a2.g[b2].push(c2);a2.i&&delete a2.i[b2]}function x2(a2,b2){var c2=[],d2;for(d2 in b2)0!=d2&&c2.push(new ca2(d2,b2[d2]));return new la2(a2,c2)}function y2(){}y2.prototype.g=function(a2){new a2.i;throw Error("Unimplemented")};y2.prototype.i=function(a2,b2){if(11==a2.i||10==a2.i)return b2 instanceof n2?b2:this.g(a2.v.prototype.j(),b2);if(14==a2.i)return"string"===typeof b2&&oa2.test(b2)&&(a2=Number(b2),0<a2)?a2:b2;if(!a2.u)return b2;a2=a2.v;if(a2===String){if("number"===typeof b2)return String(b2)}else if(a2===Number&&"string"===typeof b2&&("Infinity"===b2||"-Infinity"===b2||"NaN"===b2||oa2.test(b2)))return Number(b2);return b2};var oa2=/^-?[0-9]+$/;function z2(){}m2(z2,y2);z2.prototype.g=function(a2,b2){a2=new a2.i;a2.m=this;a2.g=b2;a2.i={};return a2};function B2(){}m2(B2,z2);B2.prototype.i=function(a2,b2){return 8==a2.i?!!b2:y2.prototype.i.apply(this,arguments)};B2.prototype.g=function(a2,b2){return B2.$.g.call(this,a2,b2)};function C2(a2,b2){null!=a2&&this.g.apply(this,arguments)}C2.prototype.i="";C2.prototype.set=function(a2){this.i=""+a2};C2.prototype.g=function(a2,b2,c2){this.i+=String(a2);if(null!=b2)for(let d2=1;d2<arguments.length;d2++)this.i+=arguments[d2];return this};C2.prototype.toString=function(){return this.i};function D2(){n2.call(this)}m2(D2,n2);var pa2=null;function E2(){n2.call(this)}m2(E2,n2);var qa2=null;function F2(){n2.call(this)}m2(F2,n2);var ra2=null;D2.prototype.j=function(){var a2=pa2;a2||(pa2=a2=x2(D2,{0:{name:"NumberFormat",s:"i18n.phonenumbers.NumberFormat"},1:{name:"pattern",required:true,h:9,type:String},2:{name:"format",required:true,h:9,type:String},3:{name:"leading_digits_pattern",o:true,h:9,type:String},4:{name:"national_prefix_formatting_rule",h:9,type:String},6:{name:"national_prefix_optional_when_formatting",h:8,defaultValue:false,type:Boolean},5:{name:"domestic_carrier_code_formatting_rule",h:9,type:String}}));return a2};D2.j=D2.prototype.j;E2.prototype.j=function(){var a2=qa2;a2||(qa2=a2=x2(E2,{0:{name:"PhoneNumberDesc",s:"i18n.phonenumbers.PhoneNumberDesc"},2:{name:"national_number_pattern",h:9,type:String},9:{name:"possible_length",o:true,h:5,type:Number},10:{name:"possible_length_local_only",o:true,h:5,type:Number},6:{name:"example_number",h:9,type:String}}));return a2};E2.j=E2.prototype.j;F2.prototype.j=function(){var a2=ra2;a2||(ra2=a2=x2(F2,{0:{name:"PhoneMetadata",s:"i18n.phonenumbers.PhoneMetadata"},1:{name:"general_desc",h:11,type:E2},2:{name:"fixed_line",h:11,type:E2},3:{name:"mobile",h:11,type:E2},4:{name:"toll_free",h:11,type:E2},5:{name:"premium_rate",h:11,type:E2},6:{name:"shared_cost",h:11,type:E2},7:{name:"personal_number",h:11,type:E2},8:{name:"voip",h:11,type:E2},21:{name:"pager",h:11,type:E2},25:{name:"uan",h:11,type:E2},27:{name:"emergency",h:11,type:E2},28:{name:"voicemail",h:11,type:E2},29:{name:"short_code",h:11,type:E2},30:{name:"standard_rate",h:11,type:E2},31:{name:"carrier_specific",h:11,type:E2},33:{name:"sms_services",h:11,type:E2},24:{name:"no_international_dialling",h:11,type:E2},9:{name:"id",required:true,h:9,type:String},10:{name:"country_code",h:5,type:Number},11:{name:"international_prefix",h:9,type:String},17:{name:"preferred_international_prefix",h:9,type:String},12:{name:"national_prefix",h:9,type:String},13:{name:"preferred_extn_prefix",h:9,type:String},15:{name:"national_prefix_for_parsing",h:9,type:String},16:{name:"national_prefix_transform_rule",h:9,type:String},18:{name:"same_mobile_and_fixed_line_pattern",h:8,defaultValue:false,type:Boolean},19:{name:"number_format",o:true,h:11,type:D2},20:{name:"intl_number_format",o:true,h:11,type:D2},22:{name:"main_country_for_code",h:8,defaultValue:false,type:Boolean},23:{name:"leading_digits",h:9,type:String}}));return a2};F2.j=F2.prototype.j;function H2(){n2.call(this)}m2(H2,n2);var sa2=null,ta2={ea:0,da:1,ca:5,ba:10,aa:20};H2.prototype.j=function(){var a2=sa2;a2||(sa2=a2=x2(H2,{0:{name:"PhoneNumber",s:"i18n.phonenumbers.PhoneNumber"},1:{name:"country_code",required:true,h:5,type:Number},2:{name:"national_number",required:true,h:4,type:Number},3:{name:"extension",h:9,type:String},4:{name:"italian_leading_zero",h:8,type:Boolean},8:{name:"number_of_leading_zeros",h:5,defaultValue:1,type:Number},5:{name:"raw_input",h:9,type:String},6:{name:"country_code_source",h:14,defaultValue:0,type:ta2},7:{name:"preferred_domestic_carrier_code",h:9,type:String}}));return a2};H2.ctor=H2;H2.ctor.j=H2.prototype.j;var I2={1:"US AG AI AS BB BM BS CA DM DO GD GU JM KN KY LC MP MS PR SX TC TT VC VG VI".split(" "),7:["RU","KZ"],20:["EG"],27:["ZA"],30:["GR"],31:["NL"],32:["BE"],33:["FR"],34:["ES"],36:["HU"],39:["IT","VA"],40:["RO"],41:["CH"],43:["AT"],44:["GB","GG","IM","JE"],45:["DK"],46:["SE"],47:["NO","SJ"],48:["PL"],49:["DE"],51:["PE"],52:["MX"],53:["CU"],54:["AR"],55:["BR"],56:["CL"],57:["CO"],58:["VE"],60:["MY"],61:["AU","CC","CX"],62:["ID"],63:["PH"],64:["NZ"],65:["SG"],66:["TH"],81:["JP"],82:["KR"],84:["VN"],86:["CN"],90:["TR"],91:["IN"],92:["PK"],93:["AF"],94:["LK"],95:["MM"],98:["IR"],211:["SS"],212:["MA","EH"],213:["DZ"],216:["TN"],218:["LY"],220:["GM"],221:["SN"],222:["MR"],223:["ML"],224:["GN"],225:["CI"],226:["BF"],227:["NE"],228:["TG"],229:["BJ"],230:["MU"],231:["LR"],232:["SL"],233:["GH"],234:["NG"],235:["TD"],236:["CF"],237:["CM"],238:["CV"],239:["ST"],240:["GQ"],241:["GA"],242:["CG"],243:["CD"],244:["AO"],245:["GW"],246:["IO"],247:["AC"],248:["SC"],249:["SD"],250:["RW"],251:["ET"],252:["SO"],253:["DJ"],254:["KE"],255:["TZ"],256:["UG"],257:["BI"],258:["MZ"],260:["ZM"],261:["MG"],262:["RE","YT"],263:["ZW"],264:["NA"],265:["MW"],266:["LS"],267:["BW"],268:["SZ"],269:["KM"],290:["SH","TA"],291:["ER"],297:["AW"],298:["FO"],299:["GL"],350:["GI"],351:["PT"],352:["LU"],353:["IE"],354:["IS"],355:["AL"],356:["MT"],357:["CY"],358:["FI","AX"],359:["BG"],370:["LT"],371:["LV"],372:["EE"],373:["MD"],374:["AM"],375:["BY"],376:["AD"],377:["MC"],378:["SM"],380:["UA"],381:["RS"],382:["ME"],383:["XK"],385:["HR"],386:["SI"],387:["BA"],389:["MK"],420:["CZ"],421:["SK"],423:["LI"],500:["FK"],501:["BZ"],502:["GT"],503:["SV"],504:["HN"],505:["NI"],506:["CR"],507:["PA"],508:["PM"],509:["HT"],590:["GP","BL","MF"],591:["BO"],592:["GY"],593:["EC"],594:["GF"],595:["PY"],596:["MQ"],597:["SR"],598:["UY"],599:["CW","BQ"],670:["TL"],672:["NF"],673:["BN"],674:["NR"],675:["PG"],676:["TO"],677:["SB"],678:["VU"],679:["FJ"],680:["PW"],681:["WF"],682:["CK"],683:["NU"],685:["WS"],686:["KI"],687:["NC"],688:["TV"],689:["PF"],690:["TK"],691:["FM"],692:["MH"],800:["001"],808:["001"],850:["KP"],852:["HK"],853:["MO"],855:["KH"],856:["LA"],870:["001"],878:["001"],880:["BD"],881:["001"],882:["001"],883:["001"],886:["TW"],888:["001"],960:["MV"],961:["LB"],962:["JO"],963:["SY"],964:["IQ"],965:["KW"],966:["SA"],967:["YE"],968:["OM"],970:["PS"],971:["AE"],972:["IL"],973:["BH"],974:["QA"],975:["BT"],976:["MN"],977:["NP"],979:["001"],992:["TJ"],993:["TM"],994:["AZ"],995:["GE"],996:["KG"],998:["UZ"]},ua2={AC:[,[,,"(?:[01589]\\d|[46])\\d{4}",,,,,,,[5,6]],[,,"6[2-467]\\d{3}",,,,"62889",,,[5]],[,,"4\\d{4}",,,,"40123",,,[5]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"AC",247,"00",,,,,,,,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"(?:0[1-9]|[1589]\\d)\\d{4}",,,,"542011",,,[6]],,,[,,,,,,,,,[-1]]],AD:[,[,,"(?:1|6\\d)\\d{7}|[135-9]\\d{5}",,,,,,,[6,8,9]],[,,"[78]\\d{5}",,,,"712345",,,[6]],[,,"690\\d{6}|[356]\\d{5}",,,,"312345",,,[6,9]],[,,"180[02]\\d{4}",,,,"18001234",,,[8]],[,,"[19]\\d{5}",,,,"912345",,,[6]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"AD",376,"00",,,,,,,,[[,"(\\d{3})(\\d{3})","$1 $2",["[135-9]"]],[,"(\\d{4})(\\d{4})","$1 $2",["1"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]]],,[,,,,,,,,,[-1]],,,[,,"1800\\d{4}",,,,,,,[8]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AE:[,[,,"(?:[4-7]\\d|9[0-689])\\d{7}|800\\d{2,9}|[2-4679]\\d{7}",,,,,,,[5,6,7,8,9,10,11,12]],[,,"[2-4679][2-8]\\d{6}",,,,"22345678",,,[8],[7]],[,,"5[024-68]\\d{7}",,,,"501234567",,,[9]],[,,"400\\d{6}|800\\d{2,9}",,,,"800123456"],[,,"900[02]\\d{5}",,,,"900234567",,,[9]],[,,"700[05]\\d{5}",,,,"700012345",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"AE",971,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{2,9})","$1 $2",["60|8"]],[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[236]|[479][2-8]"],"0$1"],[,"(\\d{3})(\\d)(\\d{5})","$1 $2 $3",["[479]"]],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["5"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"600[25]\\d{5}",,,,"600212345",,,[9]],,,[,,,,,,,,,[-1]]],AF:[,[,,"[2-7]\\d{8}",,,,,,,[9],[7]],[,,"(?:[25][0-8]|[34][0-4]|6[0-5])[2-9]\\d{6}",,,,"234567890",,,,[7]],[,,"7\\d{8}",,,,"701234567",,,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"AF",93,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[1-9]"]],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"]],[[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AG:[,[,,"(?:268|[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"268(?:4(?:6[0-38]|84)|56[0-2])\\d{4}",,,,"2684601234",,,,[7]],[,,"268(?:464|7(?:1[3-9]|[28]\\d|3[0246]|64|7[0-689]))\\d{4}",,,,"2684641234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,"26848[01]\\d{4}",,,,"2684801234",,,,[7]],"AG",1,"011","1",,,"([457]\\d{6})$|1","268$1",,,,,[,,"26840[69]\\d{4}",,,,"2684061234",,,,[7]],,"268",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AI:[,[,,"(?:264|[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"264(?:292|4(?:6[12]|9[78]))\\d{4}",,,,"2644612345",,,,[7]],[,,"264(?:235|4(?:69|76)|5(?:3[6-9]|8[1-4])|7(?:29|72))\\d{4}",,,,"2642351234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"AI",1,"011","1",,,"([2457]\\d{6})$|1","264$1",,,,,[,,"264724\\d{4}",,,,"2647241234",,,,[7]],,"264",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AL:[,[,,"(?:700\\d\\d|900)\\d{3}|8\\d{5,7}|(?:[2-5]|6\\d)\\d{7}",,,,,,,[6,7,8,9],[5]],[,,"4505[0-2]\\d{3}|(?:[2358][16-9]\\d[2-9]|4410)\\d{4}|(?:[2358][2-5][2-9]|4(?:[2-57-9][2-9]|6\\d))\\d{5}",,,,"22345678",,,[8],[5,6,7]],[,,"6(?:[78][2-9]|9\\d)\\d{6}",,,,"672123456",,,[9]],[,,"800\\d{4}",,,,"8001234",,,[7]],[,,"900[1-9]\\d\\d",,,,"900123",,,[6]],[,,"808[1-9]\\d\\d",,,,"808123",,,[6]],[,,"700[2-9]\\d{4}",,,,"70021234",,,[8]],[,,,,,,,,,[-1]],"AL",355,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3,4})","$1 $2",["80|9"],"0$1"],[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["4[2-6]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2358][2-5]|4"],"0$1"],[,"(\\d{3})(\\d{5})","$1 $2",["[23578]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["6"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AM:[,[,,"(?:[1-489]\\d|55|60|77)\\d{6}",,,,,,,[8],[5,6]],[,,"(?:(?:1[0-25]|47)\\d|2(?:2[2-46]|3[1-8]|4[2-69]|5[2-7]|6[1-9]|8[1-7])|3[12]2)\\d{5}",,,,"10123456",,,,[5,6]],[,,"(?:33|4[1349]|55|77|88|9[13-9])\\d{6}",,,,"77123456"],[,,"800\\d{5}",,,,"80012345"],[,,"90[016]\\d{5}",,,,"90012345"],[,,"80[1-4]\\d{5}",,,,"80112345"],[,,,,,,,,,[-1]],[,,"60(?:2[78]|3[5-9]|4[02-9]|5[0-46-9]|[6-8]\\d|9[0-2])\\d{4}",,,,"60271234"],"AM",374,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[89]0"],"0 $1"],[,"(\\d{3})(\\d{5})","$1 $2",["2|3[12]"],"(0$1)"],[,"(\\d{2})(\\d{6})","$1 $2",["1|47"],"(0$1)"],[,"(\\d{2})(\\d{6})","$1 $2",["[3-9]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AO:[,[,,"[29]\\d{8}",,,,,,,[9]],[,,"2\\d(?:[0134][25-9]|[25-9]\\d)\\d{5}",,,,"222123456"],[,,"9[1-59]\\d{7}",,,,"923123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"AO",244,"00",,,,,,,,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[29]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AR:[,[,,"(?:11|[89]\\d\\d)\\d{8}|[2368]\\d{9}",,,,,,,[10,11],[6,7,8]],[,,"3888[013-9]\\d{5}|3(?:7(?:1[15]|81)|8(?:21|4[16]|69|9[12]))[46]\\d{5}|(?:29(?:54|66)|3(?:7(?:55|77)|865))[2-8]\\d{5}|(?:2(?:2(?:2[59]|44|52)|3(?:26|44)|473|9(?:[07]2|2[26]|34|46))|3327)[45]\\d{5}|(?:2(?:284|3(?:02|23)|657|920)|3(?:4(?:8[27]|92)|541|878))[2-7]\\d{5}|(?:2(?:(?:26|62)2|320|477|9(?:42|83))|3(?:329|4(?:[47]6|62|89)|564))[2-6]\\d{5}|(?:(?:11[1-8]|670)\\d|2(?:2(?:0[45]|1[2-6]|3[3-6])|3(?:[06]4|7[45])|494|6(?:04|1[2-8]|[36][45]|4[3-6])|80[45]|9(?:[17][4-6]|[48][45]|9[3-6]))|3(?:364|4(?:1[2-8]|[235][4-6]|84)|5(?:1[2-9]|[38][4-6])|6(?:2[45]|44)|7[069][45]|8(?:0[45]|[17][2-6]|3[4-6]|[58][3-6])))\\d{6}|2(?:2(?:21|4[23]|6[145]|7[1-4]|8[356]|9[267])|3(?:16|3[13-8]|43|5[346-8]|9[3-5])|475|6(?:2[46]|4[78]|5[1568])|9(?:03|2[1457-9]|3[1356]|4[08]|[56][23]|82))4\\d{5}|(?:2(?:2(?:57|81)|3(?:24|46|92)|9(?:01|23|64))|3(?:4(?:42|71)|5(?:25|37|4[347]|71)|7(?:18|5[17])))[3-6]\\d{5}|(?:2(?:2(?:02|2[3467]|4[156]|5[45]|6[6-8]|91)|3(?:1[47]|25|[45][25]|96)|47[48]|625|932)|3(?:38[2578]|4(?:0[0-24-9]|3[78]|4[457]|58|6[03-9]|72|83|9[136-8])|5(?:2[124]|[368][23]|4[2689]|7[2-6])|7(?:16|2[15]|3[145]|4[13]|5[468]|7[2-5]|8[26])|8(?:2[5-7]|3[278]|4[3-5]|5[78]|6[1-378]|[78]7|94)))[4-6]\\d{5}",,,,"1123456789",,,[10],[6,7,8]],[,,"93(?:7(?:1[15]|81)[46]|8(?:(?:21|4[16]|69|9[12])[46]|88[013-9]))\\d{5}|9(?:29(?:54|66)|3(?:7(?:55|77)|865))[2-8]\\d{5}|9(?:2(?:2(?:2[59]|44|52)|3(?:26|44)|473|9(?:[07]2|2[26]|34|46))|3327)[45]\\d{5}|9(?:2(?:284|3(?:02|23)|657|920)|3(?:4(?:8[27]|92)|541|878))[2-7]\\d{5}|9(?:2(?:(?:26|62)2|320|477|9(?:42|83))|3(?:329|4(?:[47]6|62|89)|564))[2-6]\\d{5}|(?:675\\d|9(?:11[1-8]\\d|2(?:2(?:0[45]|1[2-6]|3[3-6])|3(?:[06]4|7[45])|494|6(?:04|1[2-8]|[36][45]|4[3-6])|80[45]|9(?:[17][4-6]|[48][45]|9[3-6]))|3(?:364|4(?:1[2-8]|[235][4-6]|84)|5(?:1[2-9]|[38][4-6])|6(?:2[45]|44)|7[069][45]|8(?:0[45]|[17][2-6]|3[4-6]|[58][3-6]))))\\d{6}|92(?:2(?:21|4[23]|6[145]|7[1-4]|8[356]|9[267])|3(?:16|3[13-8]|43|5[346-8]|9[3-5])|475|6(?:2[46]|4[78]|5[1568])|9(?:03|2[1457-9]|3[1356]|4[08]|[56][23]|82))4\\d{5}|9(?:2(?:2(?:57|81)|3(?:24|46|92)|9(?:01|23|64))|3(?:4(?:42|71)|5(?:25|37|4[347]|71)|7(?:18|5[17])))[3-6]\\d{5}|9(?:2(?:2(?:02|2[3467]|4[156]|5[45]|6[6-8]|91)|3(?:1[47]|25|[45][25]|96)|47[48]|625|932)|3(?:38[2578]|4(?:0[0-24-9]|3[78]|4[457]|58|6[03-9]|72|83|9[136-8])|5(?:2[124]|[368][23]|4[2689]|7[2-6])|7(?:16|2[15]|3[145]|4[13]|5[468]|7[2-5]|8[26])|8(?:2[5-7]|3[278]|4[3-5]|5[78]|6[1-378]|[78]7|94)))[4-6]\\d{5}",,,,"91123456789",,,,[6,7,8]],[,,"800\\d{7,8}",,,,"8001234567"],[,,"60[04579]\\d{7}",,,,"6001234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"AR",54,"00","0",,,"0?(?:(11|2(?:2(?:02?|[13]|2[13-79]|4[1-6]|5[2457]|6[124-8]|7[1-4]|8[13-6]|9[1267])|3(?:02?|1[467]|2[03-6]|3[13-8]|[49][2-6]|5[2-8]|[67])|4(?:7[3-578]|9)|6(?:[0136]|2[24-6]|4[6-8]?|5[15-8])|80|9(?:0[1-3]|[19]|2\\d|3[1-6]|4[02568]?|5[2-4]|6[2-46]|72?|8[23]?))|3(?:3(?:2[79]|6|8[2578])|4(?:0[0-24-9]|[12]|3[5-8]?|4[24-7]|5[4-68]?|6[02-9]|7[126]|8[2379]?|9[1-36-8])|5(?:1|2[1245]|3[237]?|4[1-46-9]|6[2-4]|7[1-6]|8[2-5]?)|6[24]|7(?:[069]|1[1568]|2[15]|3[145]|4[13]|5[14-8]|7[2-57]|8[126])|8(?:[01]|2[15-7]|3[2578]?|4[13-6]|5[4-8]?|6[1-357-9]|7[36-8]?|8[5-8]?|9[124])))15)?","9$1",,,[[,"(\\d{3})","$1",["0|1(?:0[0-35-7]|1[02-5]|2[015]|3[47]|4[478])|911"]],[,"(\\d{2})(\\d{4})","$1-$2",["[1-9]"]],[,"(\\d{3})(\\d{4})","$1-$2",["[2-9]"]],[,"(\\d{4})(\\d{4})","$1-$2",["[1-8]"]],[,"(\\d{4})(\\d{2})(\\d{4})","$1 $2-$3",["2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9])","2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8]))|2(?:2[24-9]|3[1-59]|47)","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5[56][46]|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|58|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|54(?:4|5[13-7]|6[89])|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:454|85[56])[46]|3(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1",,1],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["1"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[68]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2-$3",["[23]"],"0$1",,1],[,"(\\d)(\\d{4})(\\d{2})(\\d{4})","$2 15-$3-$4",["9(?:2[2-469]|3[3-578])","9(?:2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9]))","9(?:2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8])))|92(?:2[24-9]|3[1-59]|47)","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5(?:[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|5(?:4(?:4|5[13-7]|6[89])|[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1"],[,"(\\d)(\\d{2})(\\d{4})(\\d{4})","$2 15-$3-$4",["91"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{5})","$1-$2-$3",["8"],"0$1"],[,"(\\d)(\\d{3})(\\d{3})(\\d{4})","$2 15-$3-$4",["9"],"0$1"]],[[,"(\\d{4})(\\d{2})(\\d{4})","$1 $2-$3",["2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9])","2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8]))|2(?:2[24-9]|3[1-59]|47)","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5[56][46]|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|58|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|54(?:4|5[13-7]|6[89])|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:454|85[56])[46]|3(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1",,1],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["1"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[68]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2-$3",["[23]"],"0$1",,1],[,"(\\d)(\\d{4})(\\d{2})(\\d{4})","$1 $2 $3-$4",["9(?:2[2-469]|3[3-578])","9(?:2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9]))","9(?:2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8])))|92(?:2[24-9]|3[1-59]|47)","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5(?:[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|5(?:4(?:4|5[13-7]|6[89])|[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"]],[,"(\\d)(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3-$4",["91"]],[,"(\\d{3})(\\d{3})(\\d{5})","$1-$2-$3",["8"],"0$1"],[,"(\\d)(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3-$4",["9"]]],[,,,,,,,,,[-1]],,,[,,"810\\d{7}",,,,,,,[10]],[,,"810\\d{7}",,,,"8101234567",,,[10]],,,[,,,,,,,,,[-1]]],AS:[,[,,"(?:[58]\\d\\d|684|900)\\d{7}",,,,,,,[10],[7]],[,,"6846(?:22|33|44|55|77|88|9[19])\\d{4}",,,,"6846221234",,,,[7]],[,,"684(?:2(?:48|5[2468]|7[26])|7(?:3[13]|70|82))\\d{4}",,,,"6847331234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"AS",1,"011","1",,,"([267]\\d{6})$|1","684$1",,,,,[,,,,,,,,,[-1]],,"684",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AT:[,[,,"1\\d{3,12}|2\\d{6,12}|43(?:(?:0\\d|5[02-9])\\d{3,9}|2\\d{4,5}|[3467]\\d{4}|8\\d{4,6}|9\\d{4,7})|5\\d{4,12}|8\\d{7,12}|9\\d{8,12}|(?:[367]\\d|4[0-24-9])\\d{4,11}",,,,,,,[4,5,6,7,8,9,10,11,12,13],[3]],[,,"1(?:11\\d|[2-9]\\d{3,11})|(?:316|463|(?:51|66|73)2)\\d{3,10}|(?:2(?:1[467]|2[13-8]|5[2357]|6[1-46-8]|7[1-8]|8[124-7]|9[1458])|3(?:1[1-578]|3[23568]|4[5-7]|5[1378]|6[1-38]|8[3-68])|4(?:2[1-8]|35|7[1368]|8[2457])|5(?:2[1-8]|3[357]|4[147]|5[12578]|6[37])|6(?:13|2[1-47]|4[135-8]|5[468])|7(?:2[1-8]|35|4[13478]|5[68]|6[16-8]|7[1-6]|9[45]))\\d{4,10}",,,,"1234567890",,,,[3]],[,,"6(?:5[0-3579]|6[013-9]|[7-9]\\d)\\d{4,10}",,,,"664123456",,,[7,8,9,10,11,12,13]],[,,"800\\d{6,10}",,,,"800123456",,,[9,10,11,12,13]],[,,"(?:8[69][2-68]|9(?:0[01]|3[019]))\\d{6,10}",,,,"900123456",,,[9,10,11,12,13]],[,,"8(?:10|2[018])\\d{6,10}|828\\d{5}",,,,"810123456",,,[8,9,10,11,12,13]],[,,,,,,,,,[-1]],[,,"5(?:0[1-9]|17|[79]\\d)\\d{2,10}|7[28]0\\d{6,10}",,,,"780123456",,,[5,6,7,8,9,10,11,12,13]],"AT",43,"00","0",,,"0",,,,[[,"(\\d{4})","$1",["14"]],[,"(\\d)(\\d{3,12})","$1 $2",["1(?:11|[2-9])"],"0$1"],[,"(\\d{3})(\\d{2})","$1 $2",["517"],"0$1"],[,"(\\d{2})(\\d{3,5})","$1 $2",["5[079]"],"0$1"],[,"(\\d{6})","$1",["[18]"]],[,"(\\d{3})(\\d{3,10})","$1 $2",["(?:31|4)6|51|6(?:5[0-3579]|[6-9])|7(?:20|32|8)|[89]"],"0$1"],[,"(\\d{4})(\\d{3,9})","$1 $2",["[2-467]|5[2-6]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["5"],"0$1"],[,"(\\d{2})(\\d{4})(\\d{4,7})","$1 $2 $3",["5"],"0$1"]],[[,"(\\d)(\\d{3,12})","$1 $2",["1(?:11|[2-9])"],"0$1"],[,"(\\d{3})(\\d{2})","$1 $2",["517"],"0$1"],[,"(\\d{2})(\\d{3,5})","$1 $2",["5[079]"],"0$1"],[,"(\\d{3})(\\d{3,10})","$1 $2",["(?:31|4)6|51|6(?:5[0-3579]|[6-9])|7(?:20|32|8)|[89]"],"0$1"],[,"(\\d{4})(\\d{3,9})","$1 $2",["[2-467]|5[2-6]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["5"],"0$1"],[,"(\\d{2})(\\d{4})(\\d{4,7})","$1 $2 $3",["5"],"0$1"]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AU:[,[,,"1(?:[0-79]\\d{7}(?:\\d(?:\\d{2})?)?|8[0-24-9]\\d{7})|[2-478]\\d{8}|1\\d{4,7}",,,,,,,[5,6,7,8,9,10,12]],[,,"(?:(?:2(?:[0-26-9]\\d|3[0-8]|4[02-9]|5[0135-9])|3(?:[0-3589]\\d|4[0-578]|6[1-9]|7[0-35-9])|7(?:[013-57-9]\\d|2[0-8]))\\d{3}|8(?:51(?:0(?:0[03-9]|[12479]\\d|3[2-9]|5[0-8]|6[1-9]|8[0-7])|1(?:[0235689]\\d|1[0-69]|4[0-589]|7[0-47-9])|2(?:0[0-79]|[18][13579]|2[14-9]|3[0-46-9]|[4-6]\\d|7[89]|9[0-4]))|(?:6[0-8]|[78]\\d)\\d{3}|9(?:[02-9]\\d{3}|1(?:(?:[0-58]\\d|6[0135-9])\\d|7(?:0[0-24-9]|[1-9]\\d)|9(?:[0-46-9]\\d|5[0-79])))))\\d{3}",,,,"212345678",,,[9],[8]],[,,"4(?:(?:79|94)[01]|83[0-389])\\d{5}|4(?:[0-3]\\d|4[047-9]|5[0-25-9]|6[0-26-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}",,,,"412345678",,,[9]],[,,"180(?:0\\d{3}|2)\\d{3}",,,,"1800123456",,,[7,10]],[,,"190[0-26]\\d{6}",,,,"1900123456",,,[10]],[,,"13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",,,,"1300123456",,,[6,8,10,12]],[,,,,,,,,,[-1]],[,,"14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",,,,"147101234",,,[9]],"AU",61,"001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","0",,,"(183[12])|0",,"0011",,[[,"(\\d{2})(\\d{3,4})","$1 $2",["16"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["13"]],[,"(\\d{3})(\\d{3})","$1 $2",["19"]],[,"(\\d{3})(\\d{4})","$1 $2",["180","1802"]],[,"(\\d{4})(\\d{3,4})","$1 $2",["19"]],[,"(\\d{2})(\\d{3})(\\d{2,4})","$1 $2 $3",["16"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["14|4"],"0$1"],[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[2378]"],"(0$1)","$CC ($1)"],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:30|[89])"]],[,"(\\d{4})(\\d{4})(\\d{4})","$1 $2 $3",["130"]]],[[,"(\\d{2})(\\d{3,4})","$1 $2",["16"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2,4})","$1 $2 $3",["16"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["14|4"],"0$1"],[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[2378]"],"(0$1)","$CC ($1)"],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:30|[89])"]]],[,,"163\\d{2,6}",,,,"1631234",,,[5,6,7,8,9]],1,,[,,"1(?:3(?:00\\d{5}|45[0-4])|802)\\d{3}|1[38]00\\d{6}|13\\d{4}",,,,,,,[6,7,8,10,12]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AW:[,[,,"(?:[25-79]\\d\\d|800)\\d{4}",,,,,,,[7]],[,,"5(?:2\\d|8[1-9])\\d{4}",,,,"5212345"],[,,"(?:290|5[69]\\d|6(?:[03]0|22|4[0-2]|[69]\\d)|7(?:[34]\\d|7[07])|9(?:6[45]|9[4-8]))\\d{4}",,,,"5601234"],[,,"800\\d{4}",,,,"8001234"],[,,"900\\d{4}",,,,"9001234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"(?:28\\d|501)\\d{4}",,,,"5011234"],"AW",297,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[25-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AX:[,[,,"2\\d{4,9}|35\\d{4,5}|(?:60\\d\\d|800)\\d{4,6}|7\\d{5,11}|(?:[14]\\d|3[0-46-9]|50)\\d{4,8}",,,,,,,[5,6,7,8,9,10,11,12]],[,,"18[1-8]\\d{3,6}",,,,"181234567",,,[6,7,8,9]],[,,"4946\\d{2,6}|(?:4[0-8]|50)\\d{4,8}",,,,"412345678",,,[6,7,8,9,10]],[,,"800\\d{4,6}",,,,"800123456",,,[7,8,9]],[,,"[67]00\\d{5,6}",,,,"600123456",,,[8,9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"AX",358,"00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))","0",,,"0",,"00",,,,[,,,,,,,,,[-1]],,"18",[,,,,,,,,,[-1]],[,,"20\\d{4,8}|60[12]\\d{5,6}|7(?:099\\d{4,5}|5[03-9]\\d{3,7})|20[2-59]\\d\\d|(?:606|7(?:0[78]|1|3\\d))\\d{7}|(?:10|29|3[09]|70[1-5]\\d)\\d{4,8}",,,,"10112345"],,,[,,,,,,,,,[-1]]],AZ:[,[,,"365\\d{6}|(?:[124579]\\d|60|88)\\d{7}",,,,,,,[9],[7]],[,,"(?:2[12]428|3655[02])\\d{4}|(?:2(?:22[0-79]|63[0-28])|3654)\\d{5}|(?:(?:1[28]|46)\\d|2(?:[014-6]2|[23]3))\\d{6}",,,,"123123456",,,,[7]],[,,"36554\\d{4}|(?:[16]0|4[04]|5[015]|7[07]|99)\\d{7}",,,,"401234567"],[,,"88\\d{7}",,,,"881234567"],[,,"900200\\d{3}",,,,"900200123"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"AZ",994,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[1-9]"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["90"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[28]|2|365|46","1[28]|2|365[45]|46","1[28]|2|365(?:4|5[02])|46"],"(0$1)"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[13-9]"],"0$1"]],[[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["90"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[28]|2|365|46","1[28]|2|365[45]|46","1[28]|2|365(?:4|5[02])|46"],"(0$1)"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[13-9]"],"0$1"]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BA:[,[,,"6\\d{8}|(?:[35689]\\d|49|70)\\d{6}",,,,,,,[8,9],[6]],[,,"(?:3(?:[05-79][2-9]|1[4579]|[23][24-9]|4[2-4689]|8[2457-9])|49[2-579]|5(?:0[2-49]|[13][2-9]|[268][2-4679]|4[4689]|5[2-79]|7[2-69]|9[2-4689]))\\d{5}",,,,"30212345",,,[8],[6]],[,,"6040\\d{5}|6(?:03|[1-356]|44|7\\d)\\d{6}",,,,"61123456"],[,,"8[08]\\d{6}",,,,"80123456",,,[8]],[,,"9[0246]\\d{6}",,,,"90123456",,,[8]],[,,"8[12]\\d{6}",,,,"82123456",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BA",387,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3})","$1-$2",["[2-9]"]],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["6[1-3]|[7-9]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2-$3",["[3-5]|6[56]"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["6"],"0$1"]],[[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["6[1-3]|[7-9]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2-$3",["[3-5]|6[56]"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["6"],"0$1"]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"703[235]0\\d{3}|70(?:2[0-5]|3[0146]|[56]0)\\d{4}",,,,"70341234",,,[8]],,,[,,,,,,,,,[-1]]],BB:[,[,,"(?:246|[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"246521[0369]\\d{3}|246(?:2(?:2[78]|7[0-4])|4(?:1[024-6]|2\\d|3[2-9])|5(?:20|[34]\\d|54|7[1-3])|6(?:2\\d|38)|7[35]7|9(?:1[89]|63))\\d{4}",,,,"2464123456",,,,[7]],[,,"246(?:(?:2(?:[3568]\\d|4[0-57-9])|3(?:5[2-9]|6[0-6])|4(?:46|5\\d)|69[5-7]|8(?:[2-5]\\d|83))\\d|52(?:1[147]|20))\\d{3}",,,,"2462501234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"(?:246976|900[2-9]\\d\\d)\\d{4}",,,,"9002123456",,,,[7]],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,"24631\\d{5}",,,,"2463101234",,,,[7]],"BB",1,"011","1",,,"([2-9]\\d{6})$|1","246$1",,,,,[,,,,,,,,,[-1]],,"246",[,,,,,,,,,[-1]],[,,"246(?:292|367|4(?:1[7-9]|3[01]|4[47-9]|67)|7(?:1[2-9]|2\\d|3[016]|53))\\d{4}",,,,"2464301234",,,,[7]],,,[,,,,,,,,,[-1]]],BD:[,[,,"[1-469]\\d{9}|8[0-79]\\d{7,8}|[2-79]\\d{8}|[2-9]\\d{7}|[3-9]\\d{6}|[57-9]\\d{5}",,,,,,,[6,7,8,9,10]],[,,"(?:4(?:31\\d\\d|423)|5222)\\d{3}(?:\\d{2})?|8332[6-9]\\d\\d|(?:3(?:03[56]|224)|4(?:22[25]|653))\\d{3,4}|(?:3(?:42[47]|529|823)|4(?:027|525|65(?:28|8))|562|6257|7(?:1(?:5[3-5]|6[12]|7[156]|89)|22[589]56|32|42675|52(?:[25689](?:56|8)|[347]8)|71(?:6[1267]|75|89)|92374)|82(?:2[59]|32)56|9(?:03[23]56|23(?:256|373)|31|5(?:1|2[4589]56)))\\d{3}|(?:3(?:02[348]|22[35]|324|422)|4(?:22[67]|32[236-9]|6(?:2[46]|5[57])|953)|5526|6(?:024|6655)|81)\\d{4,5}|(?:2(?:7(?:1[0-267]|2[0-289]|3[0-29]|4[01]|5[1-3]|6[013]|7[0178]|91)|8(?:0[125]|1[1-6]|2[0157-9]|3[1-69]|41|6[1-35]|7[1-5]|8[1-8]|9[0-6])|9(?:0[0-2]|1[0-4]|2[568]|3[3-6]|5[5-7]|6[0136-9]|7[0-7]|8[014-9]))|3(?:0(?:2[025-79]|3[2-4])|181|22[12]|32[2356]|824)|4(?:02[09]|22[348]|32[045]|523|6(?:27|54))|666(?:22|53)|7(?:22[57-9]|42[56]|82[35])8|8(?:0[124-9]|2(?:181|2[02-4679]8)|4[12]|[5-7]2)|9(?:[04]2|2(?:2|328)|81))\\d{4}|(?:2(?:222|[45]\\d)\\d|3(?:1(?:2[5-7]|[5-7])|425|822)|4(?:033|1\\d|[257]1|332|4(?:2[246]|5[25])|6(?:2[35]|56|62)|8(?:23|54)|92[2-5])|5(?:02[03489]|22[457]|32[35-79]|42[46]|6(?:[18]|53)|724|826)|6(?:023|2(?:2[2-5]|5[3-5]|8)|32[3478]|42[34]|52[47]|6(?:[18]|6(?:2[34]|5[24]))|[78]2[2-5]|92[2-6])|7(?:02|21\\d|[3-589]1|6[12]|72[24])|8(?:217|3[12]|[5-7]1)|9[24]1)\\d{5}|(?:(?:3[2-8]|5[2-57-9]|6[03-589])1|4[4689][18])\\d{5}|[59]1\\d{5}",,,,"27111234"],[,,"(?:1[13-9]\\d|644)\\d{7}|(?:3[78]|44|66)[02-9]\\d{7}",,,,"1812345678",,,[10]],[,,"80[03]\\d{7}",,,,"8001234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"96(?:0[469]|1[0-47]|3[389]|43|6[69]|7[78])\\d{6}",,,,"9604123456",,,[10]],"BD",880,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{4,6})","$1-$2",["31[5-8]|[459]1"],"0$1"],[,"(\\d{3})(\\d{3,7})","$1-$2",["3(?:[67]|8[013-9])|4(?:6[168]|7|[89][18])|5(?:6[128]|9)|6(?:[15]|28|4[14])|7[2-589]|8(?:0[014-9]|[12])|9[358]|(?:3[2-5]|4[235]|5[2-578]|6[0389]|76|8[3-7]|9[24])1|(?:44|66)[01346-9]"],"0$1"],[,"(\\d{4})(\\d{3,6})","$1-$2",["[13-9]|22"],"0$1"],[,"(\\d)(\\d{7,8})","$1-$2",["2"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BE:[,[,,"4\\d{8}|[1-9]\\d{7}",,,,,,,[8,9]],[,,"80[2-8]\\d{5}|(?:1[0-69]|[23][2-8]|4[23]|5\\d|6[013-57-9]|71|8[1-79]|9[2-4])\\d{6}",,,,"12345678",,,[8]],[,,"4[5-9]\\d{7}",,,,"470123456",,,[9]],[,,"800[1-9]\\d{4}",,,,"80012345",,,[8]],[,,"(?:70(?:2[0-57]|3[04-7]|44|6[4-69]|7[0579])|90\\d\\d)\\d{4}",,,,"90012345",,,[8]],[,,"7879\\d{4}",,,,"78791234",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BE",32,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:80|9)0"],"0$1"],[,"(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[239]|4[23]"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[15-8]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["4"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"78(?:0[57]|1[014-8]|2[25]|3[15-8]|48|[56]0|7[06-8]|9\\d)\\d{4}",,,,"78102345",,,[8]],,,[,,,,,,,,,[-1]]],BF:[,[,,"[025-7]\\d{7}",,,,,,,[8]],[,,"2(?:0(?:49|5[23]|6[5-7]|9[016-9])|4(?:4[569]|5[4-6]|6[5-7]|7[0179])|5(?:[34]\\d|50|6[5-7]))\\d{4}",,,,"20491234"],[,,"(?:0[1-35-7]|5[0-8]|[67]\\d)\\d{6}",,,,"70123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BF",226,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[025-7]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BG:[,[,,"00800\\d{7}|[2-7]\\d{6,7}|[89]\\d{6,8}|2\\d{5}",,,,,,,[6,7,8,9,12],[4,5]],[,,"2\\d{5,7}|(?:43[1-6]|70[1-9])\\d{4,5}|(?:[36]\\d|4[124-7]|[57][1-9]|8[1-6]|9[1-7])\\d{5,6}",,,,"2123456",,,[6,7,8],[4,5]],[,,"(?:43[07-9]|99[69]\\d)\\d{5}|(?:8[7-9]|98)\\d{7}",,,,"43012345",,,[8,9]],[,,"(?:00800\\d\\d|800)\\d{5}",,,,"80012345",,,[8,12]],[,,"90\\d{6}",,,,"90123456",,,[8]],[,,"700\\d{5}",,,,"70012345",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BG",359,"00","0",,,"0",,,,[[,"(\\d{6})","$1",["1"]],[,"(\\d)(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["2"],"0$1"],[,"(\\d{3})(\\d{4})","$1 $2",["43[1-6]|70[1-9]"],"0$1"],[,"(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["2"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["[356]|4[124-7]|7[1-9]|8[1-6]|9[1-7]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:70|8)0"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3",["43[1-7]|7"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[48]|9[08]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"]],[[,"(\\d)(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["2"],"0$1"],[,"(\\d{3})(\\d{4})","$1 $2",["43[1-6]|70[1-9]"],"0$1"],[,"(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["2"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["[356]|4[124-7]|7[1-9]|8[1-6]|9[1-7]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:70|8)0"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3",["43[1-7]|7"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[48]|9[08]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BH:[,[,,"[136-9]\\d{7}",,,,,,,[8]],[,,"(?:1(?:3[1356]|6[0156]|7\\d)\\d|6(?:1[16]\\d|500|6(?:0\\d|3[12]|44|55|7[7-9]|88)|9[69][69])|7(?:[07]\\d\\d|1(?:11|78)))\\d{4}",,,,"17001234"],[,,"(?:3(?:[0-79]\\d|8[0-57-9])\\d|6(?:3(?:00|33|6[16])|441|6(?:3[03-9]|[69]\\d|7[0-6])))\\d{4}",,,,"36001234"],[,,"8[02369]\\d{6}",,,,"80123456"],[,,"(?:87|9[0-8])\\d{6}",,,,"90123456"],[,,"84\\d{6}",,,,"84123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BH",973,"00",,,,,,,,[[,"(\\d{4})(\\d{4})","$1 $2",["[13679]|8[02-4679]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BI:[,[,,"(?:[267]\\d|31)\\d{6}",,,,,,,[8]],[,,"(?:22|31)\\d{6}",,,,"22201234"],[,,"(?:29|[67][125-9])\\d{6}",,,,"79561234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BI",257,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2367]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BJ:[,[,,"[24-689]\\d{7}",,,,,,,[8]],[,,"2(?:02|1[037]|2[45]|3[68]|4\\d)\\d{5}",,,,"20211234"],[,,"(?:4[0-6]|[56]\\d|9[013-9])\\d{6}",,,,"90011234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"857[58]\\d{4}",,,,"85751234"],"BJ",229,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24-689]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"81\\d{6}",,,,"81123456"],,,[,,,,,,,,,[-1]]],BL:[,[,,"590\\d{6}|(?:69|80|9\\d)\\d{7}",,,,,,,[9]],[,,"590(?:2[7-9]|3[3-7]|5[12]|87)\\d{4}",,,,"590271234"],[,,"69(?:0\\d\\d|1(?:2[2-9]|3[0-5]))\\d{4}",,,,"690001234"],[,,"80[0-5]\\d{6}",,,,"800012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"9(?:(?:395|76[018])\\d|475[0-5])\\d{4}",,,,"976012345"],"BL",590,"00","0",,,"0",,,,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BM:[,[,,"(?:441|[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"441(?:[46]\\d\\d|5(?:4\\d|60|89))\\d{4}",,,,"4414123456",,,,[7]],[,,"441(?:[2378]\\d|5[0-39]|92)\\d{5}",,,,"4413701234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"BM",1,"011","1",,,"([2-9]\\d{6})$|1","441$1",,,,,[,,,,,,,,,[-1]],,"441",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BN:[,[,,"[2-578]\\d{6}",,,,,,,[7]],[,,"22[0-7]\\d{4}|(?:2[013-9]|[34]\\d|5[0-25-9])\\d{5}",,,,"2345678"],[,,"(?:22[89]|[78]\\d\\d)\\d{4}",,,,"7123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"5[34]\\d{5}",,,,"5345678"],"BN",673,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[2-578]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BO:[,[,,"(?:[2-467]\\d\\d|8001)\\d{5}",,,,,,,[8,9],[7]],[,,"(?:2(?:2\\d\\d|5(?:11|[258]\\d|9[67])|6(?:12|2\\d|9[34])|8(?:2[34]|39|62))|3(?:3\\d\\d|4(?:6\\d|8[24])|8(?:25|42|5[257]|86|9[25])|9(?:[27]\\d|3[2-4]|4[248]|5[24]|6[2-6]))|4(?:4\\d\\d|6(?:11|[24689]\\d|72)))\\d{4}",,,,"22123456",,,[8],[7]],[,,"[67]\\d{7}",,,,"71234567",,,[8]],[,,"8001[07]\\d{4}",,,,"800171234",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BO",591,"00(?:1\\d)?","0",,,"0(1\\d)?",,,,[[,"(\\d)(\\d{7})","$1 $2",["[23]|4[46]"],,"0$CC $1"],[,"(\\d{8})","$1",["[67]"],,"0$CC $1"],[,"(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["8"],,"0$CC $1"]],,[,,,,,,,,,[-1]],,,[,,"8001[07]\\d{4}",,,,,,,[9]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BQ:[,[,,"(?:[34]1|7\\d)\\d{5}",,,,,,,[7]],[,,"(?:318[023]|41(?:6[023]|70)|7(?:1[578]|2[05]|50)\\d)\\d{3}",,,,"7151234"],[,,"(?:31(?:8[14-8]|9[14578])|416[14-9]|7(?:0[01]|7[07]|8\\d|9[056])\\d)\\d{3}",,,,"3181234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BQ",599,"00",,,,,,,,,,[,,,,,,,,,[-1]],,"[347]",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BR:[,[,,"(?:[1-46-9]\\d\\d|5(?:[0-46-9]\\d|5[0-46-9]))\\d{8}|[1-9]\\d{9}|[3589]\\d{8}|[34]\\d{7}",,,,,,,[8,9,10,11]],[,,"(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-5]\\d{7}",,,,"1123456789",,,[10],[8]],[,,"(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])(?:7|9\\d)\\d{7}",,,,"11961234567",,,[10,11],[8,9]],[,,"800\\d{6,7}",,,,"800123456",,,[9,10]],[,,"300\\d{6}|[59]00\\d{6,7}",,,,"300123456",,,[9,10]],[,,"(?:30[03]\\d{3}|4(?:0(?:0\\d|20)|370))\\d{4}|300\\d{5}",,,,"40041234",,,[8,10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BR",55,"00(?:1[245]|2[1-35]|31|4[13]|[56]5|99)","0",,,"(?:0|90)(?:(1[245]|2[1-35]|31|4[13]|[56]5|99)(\\d{10,11}))?","$2",,,[[,"(\\d{3,6})","$1",["1(?:1[25-8]|2[357-9]|3[02-68]|4[12568]|5|6[0-8]|8[015]|9[0-47-9])|321|610"]],[,"(\\d{4})(\\d{4})","$1-$2",["300|4(?:0[02]|37)","4(?:02|37)0|[34]00"]],[,"(\\d{4})(\\d{4})","$1-$2",["[2-57]","[2357]|4(?:[0-24-9]|3(?:[0-689]|7[1-9]))"]],[,"(\\d{3})(\\d{2,3})(\\d{4})","$1 $2 $3",["(?:[358]|90)0"],"0$1"],[,"(\\d{5})(\\d{4})","$1-$2",["9"]],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-57]"],"($1)","0 $CC ($1)"],[,"(\\d{2})(\\d{5})(\\d{4})","$1 $2-$3",["[16][1-9]|[2-57-9]"],"($1)","0 $CC ($1)"]],[[,"(\\d{4})(\\d{4})","$1-$2",["300|4(?:0[02]|37)","4(?:02|37)0|[34]00"]],[,"(\\d{3})(\\d{2,3})(\\d{4})","$1 $2 $3",["(?:[358]|90)0"],"0$1"],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-57]"],"($1)","0 $CC ($1)"],[,"(\\d{2})(\\d{5})(\\d{4})","$1 $2-$3",["[16][1-9]|[2-57-9]"],"($1)","0 $CC ($1)"]],[,,,,,,,,,[-1]],,,[,,"30(?:0\\d{5,7}|3\\d{7})|40(?:0\\d|20)\\d{4}|800\\d{6,7}",,,,,,,[8,9,10]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BS:[,[,,"(?:242|[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"242(?:3(?:02|[236][1-9]|4[0-24-9]|5[0-68]|7[347]|8[0-4]|9[2-467])|461|502|6(?:0[1-5]|12|2[013]|[45]0|7[67]|8[78]|9[89])|7(?:02|88))\\d{4}",,,,"2423456789",,,,[7]],[,,"242(?:3(?:5[79]|7[56]|95)|4(?:[23][1-9]|4[1-35-9]|5[1-8]|6[2-8]|7\\d|81)|5(?:2[45]|3[35]|44|5[1-46-9]|65|77)|6[34]6|7(?:27|38)|8(?:0[1-9]|1[02-9]|2\\d|[89]9))\\d{4}",,,,"2423591234",,,,[7]],[,,"242300\\d{4}|8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456",,,,[7]],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"BS",1,"011","1",,,"([3-8]\\d{6})$|1","242$1",,,,,[,,,,,,,,,[-1]],,"242",[,,,,,,,,,[-1]],[,,"242225\\d{4}",,,,"2422250123"],,,[,,,,,,,,,[-1]]],BT:[,[,,"[17]\\d{7}|[2-8]\\d{6}",,,,,,,[7,8],[6]],[,,"(?:2[3-6]|[34][5-7]|5[236]|6[2-46]|7[246]|8[2-4])\\d{5}",,,,"2345678",,,[7],[6]],[,,"(?:1[67]|77)\\d{6}",,,,"17123456",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BT",975,"00",,,,,,,,[[,"(\\d{3})(\\d{3})","$1 $2",["[2-7]"]],[,"(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[2-68]|7[246]"]],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[67]|7"]]],[[,"(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[2-68]|7[246]"]],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[67]|7"]]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BW:[,[,,"(?:0800|(?:[37]|800)\\d)\\d{6}|(?:[2-6]\\d|90)\\d{5}",,,,,,,[7,8,10]],[,,"(?:2(?:4[0-48]|6[0-24]|9[0578])|3(?:1[0-35-9]|55|[69]\\d|7[013]|81)|4(?:6[03]|7[1267]|9[0-5])|5(?:3[03489]|4[0489]|7[1-47]|88|9[0-49])|6(?:2[1-35]|5[149]|8[067]))\\d{4}",,,,"2401234",,,[7]],[,,"(?:321|7[1-8]\\d)\\d{5}",,,,"71123456",,,[8]],[,,"(?:0800|800\\d)\\d{6}",,,,"0800012345",,,[10]],[,,"90\\d{5}",,,,"9012345",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"79(?:1(?:[01]\\d|2[0-8])|2[0-7]\\d)\\d{3}",,,,"79101234",,,[8]],"BW",267,"00",,,,,,,,[[,"(\\d{2})(\\d{5})","$1 $2",["90"]],[,"(\\d{3})(\\d{4})","$1 $2",["[24-6]|3[15-9]"]],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[37]"]],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["0"]],[,"(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["8"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BY:[,[,,"(?:[12]\\d|33|44|902)\\d{7}|8(?:0[0-79]\\d{5,7}|[1-7]\\d{9})|8(?:1[0-489]|[5-79]\\d)\\d{7}|8[1-79]\\d{6,7}|8[0-79]\\d{5}|8\\d{5}",,,,,,,[6,7,8,9,10,11],[5]],[,,"(?:1(?:5(?:1[1-5]|[24]\\d|6[2-4]|9[1-7])|6(?:[235]\\d|4[1-7])|7\\d\\d)|2(?:1(?:[246]\\d|3[0-35-9]|5[1-9])|2(?:[235]\\d|4[0-8])|3(?:[26]\\d|3[02-79]|4[024-7]|5[03-7])))\\d{5}",,,,"152450911",,,[9],[5,6,7]],[,,"(?:2(?:5[5-79]|9[1-9])|(?:33|44)\\d)\\d{6}",,,,"294911911",,,[9]],[,,"800\\d{3,7}|8(?:0[13]|20\\d)\\d{7}",,,,"8011234567"],[,,"(?:810|902)\\d{7}",,,,"9021234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"249\\d{6}",,,,"249123456",,,[9]],"BY",375,"810","8",,,"0|80?",,"8~10",,[[,"(\\d{3})(\\d{3})","$1 $2",["800"],"8 $1"],[,"(\\d{3})(\\d{2})(\\d{2,4})","$1 $2 $3",["800"],"8 $1"],[,"(\\d{4})(\\d{2})(\\d{3})","$1 $2-$3",["1(?:5[169]|6[3-5]|7[179])|2(?:1[35]|2[34]|3[3-5])","1(?:5[169]|6(?:3[1-3]|4|5[125])|7(?:1[3-9]|7[0-24-6]|9[2-7]))|2(?:1[35]|2[34]|3[3-5])"],"8 0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["1(?:[56]|7[467])|2[1-3]"],"8 0$1"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[1-4]"],"8 0$1"],[,"(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["[89]"],"8 $1"]],,[,,,,,,,,,[-1]],,,[,,"800\\d{3,7}|(?:8(?:0[13]|10|20\\d)|902)\\d{7}"],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BZ:[,[,,"(?:0800\\d|[2-8])\\d{6}",,,,,,,[7,11]],[,,"(?:2(?:[02]\\d|36|[68]0)|[3-58](?:[02]\\d|[68]0)|7(?:[02]\\d|32|[68]0))\\d{4}",,,,"2221234",,,[7]],[,,"6[0-35-7]\\d{5}",,,,"6221234",,,[7]],[,,"0800\\d{7}",,,,"08001234123",,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BZ",501,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1-$2",["[2-8]"]],[,"(\\d)(\\d{3})(\\d{4})(\\d{3})","$1-$2-$3-$4",["0"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CA:[,[,,"(?:[2-8]\\d|90)\\d{8}|3\\d{6}",,,,,,,[7,10]],[,,"(?:2(?:04|[23]6|[48]9|50|63)|3(?:06|43|54|6[578]|82)|4(?:03|1[68]|[26]8|3[178]|50|74)|5(?:06|1[49]|48|79|8[147])|6(?:04|[18]3|39|47|72)|7(?:0[59]|42|53|78|8[02])|8(?:[06]7|19|25|73)|90[25])[2-9]\\d{6}",,,,"5062345678",,,[10],[7]],[,,"(?:2(?:04|[23]6|[48]9|50|63)|3(?:06|43|54|6[578]|82)|4(?:03|1[68]|[26]8|3[178]|50|74)|5(?:06|1[49]|48|79|8[147])|6(?:04|[18]3|39|47|72)|7(?:0[59]|42|53|78|8[02])|8(?:[06]7|19|25|73)|90[25])[2-9]\\d{6}",,,,"5062345678",,,[10],[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456",,,[10]],[,,"900[2-9]\\d{6}",,,,"9002123456",,,[10]],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|(?:5(?:00|2[125-9]|33|44|66|77|88)|622)[2-9]\\d{6}",,,,"5002345678",,,[10]],[,,"600[2-9]\\d{6}",,,,"6002012345",,,[10]],"CA",1,"011","1",,,"1",,,1,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"310\\d{4}",,,,"3101234",,,[7]],,,[,,,,,,,,,[-1]]],CC:[,[,,"1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}",,,,,,,[6,7,8,9,10,12]],[,,"8(?:51(?:0(?:02|31|60|89)|1(?:18|76)|223)|91(?:0(?:1[0-2]|29)|1(?:[28]2|50|79)|2(?:10|64)|3(?:[06]8|22)|4[29]8|62\\d|70[23]|959))\\d{3}",,,,"891621234",,,[9],[8]],[,,"4(?:(?:79|94)[01]|83[0-389])\\d{5}|4(?:[0-3]\\d|4[047-9]|5[0-25-9]|6[0-26-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}",,,,"412345678",,,[9]],[,,"180(?:0\\d{3}|2)\\d{3}",,,,"1800123456",,,[7,10]],[,,"190[0-26]\\d{6}",,,,"1900123456",,,[10]],[,,"13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",,,,"1300123456",,,[6,8,10,12]],[,,,,,,,,,[-1]],[,,"14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",,,,"147101234",,,[9]],"CC",61,"001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","0",,,"([59]\\d{7})$|0","8$1","0011",,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CD:[,[,,"[189]\\d{8}|[1-68]\\d{6}",,,,,,,[7,9]],[,,"12\\d{7}|[1-6]\\d{6}",,,,"1234567"],[,,"88\\d{5}|(?:8[0-59]|9[017-9])\\d{7}",,,,"991234567"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CD",243,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["88"],"0$1"],[,"(\\d{2})(\\d{5})","$1 $2",["[1-6]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CF:[,[,,"(?:[27]\\d{3}|8776)\\d{4}",,,,,,,[8]],[,,"2[12]\\d{6}",,,,"21612345"],[,,"7[024-7]\\d{6}",,,,"70012345"],[,,,,,,,,,[-1]],[,,"8776\\d{4}",,,,"87761234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CF",236,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[278]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CG:[,[,,"222\\d{6}|(?:0\\d|80)\\d{7}",,,,,,,[9]],[,,"222[1-589]\\d{5}",,,,"222123456"],[,,"026(?:1[0-5]|6[6-9])\\d{4}|0(?:[14-6]\\d\\d|2(?:40|5[5-8]|6[07-9]))\\d{5}",,,,"061234567"],[,,,,,,,,,[-1]],[,,"80[0-2]\\d{6}",,,,"800123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CG",242,"00",,,,,,,,[[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["8"]],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[02]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CH:[,[,,"8\\d{11}|[2-9]\\d{8}",,,,,,,[9,12]],[,,"(?:2[12467]|3[1-4]|4[134]|5[256]|6[12]|[7-9]1)\\d{7}",,,,"212345678",,,[9]],[,,"7[35-9]\\d{7}",,,,"781234567",,,[9]],[,,"800\\d{6}",,,,"800123456",,,[9]],[,,"90[016]\\d{6}",,,,"900123456",,,[9]],[,,"84[0248]\\d{6}",,,,"840123456",,,[9]],[,,"878\\d{6}",,,,"878123456",,,[9]],[,,,,,,,,,[-1]],"CH",41,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8[047]|90"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-79]|81"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["8"],"0$1"]],,[,,"74[0248]\\d{6}",,,,"740123456",,,[9]],,,[,,,,,,,,,[-1]],[,,"5[18]\\d{7}",,,,"581234567",,,[9]],,,[,,"860\\d{9}",,,,"860123456789",,,[12]]],CI:[,[,,"[02]\\d{9}",,,,,,,[10]],[,,"2(?:[15]\\d{3}|7(?:2(?:0[23]|1[2357]|2[245]|3[45]|4[3-5])|3(?:06|1[69]|[2-6]7)))\\d{5}",,,,"2123456789"],[,,"0[157]\\d{8}",,,,"0123456789"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CI",225,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d)(\\d{5})","$1 $2 $3 $4",["2"]],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3 $4",["0"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CK:[,[,,"[2-578]\\d{4}",,,,,,,[5]],[,,"(?:2\\d|3[13-7]|4[1-5])\\d{3}",,,,"21234"],[,,"[578]\\d{4}",,,,"71234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CK",682,"00",,,,,,,,[[,"(\\d{2})(\\d{3})","$1 $2",["[2-578]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CL:[,[,,"12300\\d{6}|6\\d{9,10}|[2-9]\\d{8}",,,,,,,[9,10,11]],[,,"2(?:1982[0-6]|3314[05-9])\\d{3}|(?:2(?:1(?:160|962)|3(?:2\\d\\d|3(?:[03467]\\d|1[0-35-9]|2[1-9]|5[0-24-9]|8[0-3])|600)|646[59])|80[1-9]\\d\\d|9(?:3(?:[0-57-9]\\d\\d|6(?:0[02-9]|[1-9]\\d))|6(?:[0-8]\\d\\d|9(?:[02-79]\\d|1[05-9]))|7[1-9]\\d\\d|9(?:[03-9]\\d\\d|1(?:[0235-9]\\d|4[0-24-9])|2(?:[0-79]\\d|8[0-46-9]))))\\d{4}|(?:22|3[2-5]|[47][1-35]|5[1-3578]|6[13-57]|8[1-9]|9[2458])\\d{7}",,,,"221234567",,,[9]],[,,"2(?:1982[0-6]|3314[05-9])\\d{3}|(?:2(?:1(?:160|962)|3(?:2\\d\\d|3(?:[03467]\\d|1[0-35-9]|2[1-9]|5[0-24-9]|8[0-3])|600)|646[59])|80[1-9]\\d\\d|9(?:3(?:[0-57-9]\\d\\d|6(?:0[02-9]|[1-9]\\d))|6(?:[0-8]\\d\\d|9(?:[02-79]\\d|1[05-9]))|7[1-9]\\d\\d|9(?:[03-9]\\d\\d|1(?:[0235-9]\\d|4[0-24-9])|2(?:[0-79]\\d|8[0-46-9]))))\\d{4}|(?:22|3[2-5]|[47][1-35]|5[1-3578]|6[13-57]|8[1-9]|9[2458])\\d{7}",,,,"221234567",,,[9]],[,,"(?:123|8)00\\d{6}",,,,"800123456",,,[9,11]],[,,,,,,,,,[-1]],[,,"600\\d{7,8}",,,,"6001234567",,,[10,11]],[,,,,,,,,,[-1]],[,,"44\\d{7}",,,,"441234567",,,[9]],"CL",56,"(?:0|1(?:1[0-69]|2[02-5]|5[13-58]|69|7[0167]|8[018]))0",,,,,,,1,[[,"(\\d{4})","$1",["1(?:[03-589]|21)|[29]0|78"]],[,"(\\d{5})(\\d{4})","$1 $2",["219","2196"],"($1)"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["44"]],[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2[1-36]"],"($1)"],[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["9[2-9]"]],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["3[2-5]|[47]|5[1-3578]|6[13-57]|8(?:0[1-9]|[1-9])"],"($1)"],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["60|8"]],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]],[,"(\\d{3})(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3 $4",["60"]]],[[,"(\\d{5})(\\d{4})","$1 $2",["219","2196"],"($1)"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["44"]],[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2[1-36]"],"($1)"],[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["9[2-9]"]],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["3[2-5]|[47]|5[1-3578]|6[13-57]|8(?:0[1-9]|[1-9])"],"($1)"],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["60|8"]],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]],[,"(\\d{3})(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3 $4",["60"]]],[,,,,,,,,,[-1]],,,[,,"600\\d{7,8}",,,,,,,[10,11]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CM:[,[,,"[26]\\d{8}|88\\d{6,7}",,,,,,,[8,9]],[,,"2(?:22|33)\\d{6}",,,,"222123456",,,[9]],[,,"(?:24[23]|6[25-9]\\d)\\d{6}",,,,"671234567",,,[9]],[,,"88\\d{6,7}",,,,"88012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CM",237,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["88"]],[,"(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[26]|88"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CN:[,[,,"1[127]\\d{8,9}|2\\d{9}(?:\\d{2})?|[12]\\d{6,7}|86\\d{6}|(?:1[03-689]\\d|6)\\d{7,9}|(?:[3-579]\\d|8[0-57-9])\\d{6,9}",,,,,,,[7,8,9,10,11,12],[5,6]],[,,"(?:10(?:[02-79]\\d\\d|[18](?:0[1-9]|[1-9]\\d))|21(?:[18](?:0[1-9]|[1-9]\\d)|[2-79]\\d\\d))\\d{5}|(?:43[35]|754)\\d{7,8}|8(?:078\\d{7}|51\\d{7,8})|(?:10|(?:2|85)1|43[35]|754)(?:100\\d\\d|95\\d{3,4})|(?:2[02-57-9]|3(?:11|7[179])|4(?:[15]1|3[12])|5(?:1\\d|2[37]|3[12]|51|7[13-79]|9[15])|7(?:[39]1|5[57]|6[09])|8(?:71|98))(?:[02-8]\\d{7}|1(?:0(?:0\\d\\d(?:\\d{3})?|[1-9]\\d{5})|[1-9]\\d{6})|9(?:[0-46-9]\\d{6}|5\\d{3}(?:\\d(?:\\d{2})?)?))|(?:3(?:1[02-9]|35|49|5\\d|7[02-68]|9[1-68])|4(?:1[02-9]|2[179]|3[46-9]|5[2-9]|6[47-9]|7\\d|8[23])|5(?:3[03-9]|4[36]|5[02-9]|6[1-46]|7[028]|80|9[2-46-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[17]\\d|2[248]|3[04-9]|4[3-6]|5[0-3689]|6[2368]|9[02-9])|8(?:1[236-8]|2[5-7]|3\\d|5[2-9]|7[02-9]|8[36-8]|9[1-7])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:[02-8]\\d{6}|1(?:0(?:0\\d\\d(?:\\d{2})?|[1-9]\\d{4})|[1-9]\\d{5})|9(?:[0-46-9]\\d{5}|5\\d{3,5}))",,,,"1012345678",,,[7,8,9,10,11],[5,6]],[,,"1740[0-5]\\d{6}|1(?:[38]\\d|4[57]|[59][0-35-9]|6[25-7]|7[0-35-8])\\d{8}",,,,"13123456789",,,[11]],[,,"(?:(?:10|21)8|8)00\\d{7}",,,,"8001234567",,,[10,12]],[,,"16[08]\\d{5}",,,,"16812345",,,[8]],[,,"10(?:10\\d{4}|96\\d{3,4})|400\\d{7}|950\\d{7,8}|(?:2[0-57-9]|3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))96\\d{3,4}",,,,"4001234567",,,[7,8,9,10,11],[5,6]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CN",86,"00|1(?:[12]\\d|79)\\d\\d00","0",,,"(1(?:[12]\\d|79)\\d\\d)|0",,"00",,[[,"(\\d{5,6})","$1",["10|96"]],[,"(\\d{2})(\\d{5,6})","$1 $2",["(?:10|2[0-57-9])[19]","(?:10|2[0-57-9])(?:10|9[56])","10(?:10|9[56])|2[0-57-9](?:100|9[56])"],"0$1","$CC $1"],[,"(\\d{3})(\\d{4})","$1 $2",["[1-9]","1[1-9]|26|[3-9]|(?:10|2[0-57-9])(?:[0-8]|9[0-47-9])","1(?:0(?:[0-8]|9[0-47-9])|[1-9])|2(?:[0-57-9](?:[02-8]|1(?:0[1-9]|[1-9])|9[0-47-9])|6)|[3-9]"]],[,"(\\d{4})(\\d{4})","$1 $2",["16[08]"]],[,"(\\d{3})(\\d{5,6})","$1 $2",["3(?:[157]|35|49|9[1-68])|4(?:[17]|2[179]|6[47-9]|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]|4[13]|5[1-5])|(?:4[35]|59|85)[1-9]","(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))[19]","85[23](?:10|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:10|9[56])","85[23](?:100|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:100|9[56])"],"0$1","$CC $1"],[,"(\\d{4})(\\d{4})","$1 $2",["[1-9]","1(?:0(?:[02-8]|1[1-9]|9[0-47-9])|[1-9])|2(?:[0-57-9](?:[0-8]|9[0-47-9])|6)|[3-9]","1(?:0(?:[02-8]|1[1-9]|9[0-47-9])|[1-9])|26|3(?:[0268]|4[0-8]|9[079])|4(?:[049]|2[02-68]|[35]0|6[0-356]|8[014-9])|5(?:0|2[0-24-689]|4[0-2457-9]|6[057-9]|8[1-9]|90)|6(?:[0-24578]|3[06-9]|6[14-79]|9[03-9])|7(?:0[02-9]|2[0135-79]|3[23]|4[0-27-9]|6[1457]|8)|8(?:[046]|1[01459]|2[0-489]|5(?:0|[23][0-8])|8[0-2459]|9[09])|9(?:0[0457]|1[08]|[268]|4[024-9]|5[06-9])|(?:33|85[23]9)[0-46-9]|(?:2[0-57-9]|3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:[0-8]|9[0-47-9])","1(?:0[02-8]|[1-9])|2(?:[0-57-9][0-8]|6)|3(?:[0268]|3[0-46-9]|4[0-8]|9[079])|4(?:[049]|2[02-68]|[35]0|6[0-356]|8[014-9])|5(?:0|2[0-24-689]|4[0-2457-9]|6[057-9]|90)|6(?:[0-24578]|3[06-9]|6[14-79]|9[03-9])|7(?:0[02-9]|2[0135-79]|3[23]|4[0-27-9]|6[1457]|8)|8(?:[046]|1[01459]|2[0-489]|5(?:0|[23](?:[02-8]|1[1-9]|9[0-46-9]))|8[0-2459]|9[09])|9(?:0[0457]|1[08]|[268]|4[024-9]|5[06-9])|(?:10|2[0-57-9])9[0-47-9]|(?:101|58|85[23]10)[1-9]|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:[02-8]|1(?:0[1-9]|[1-9])|9[0-47-9])"]],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["(?:4|80)0"]],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["10|2(?:[02-57-9]|1[1-9])","10|2(?:[02-57-9]|1[1-9])","10[0-79]|2(?:[02-57-9]|1[1-79])|(?:10|21)8(?:0[1-9]|[1-9])"],"0$1","$CC $1",1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["3(?:[3-59]|7[02-68])|4(?:[26-8]|3[3-9]|5[2-9])|5(?:3[03-9]|[468]|7[028]|9[2-46-9])|6|7(?:[0-247]|3[04-9]|5[0-4689]|6[2368])|8(?:[1-358]|9[1-7])|9(?:[013479]|5[1-5])|(?:[34]1|55|79|87)[02-9]"],"0$1","$CC $1",1],[,"(\\d{3})(\\d{7,8})","$1 $2",["9"]],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["80"],"0$1","$CC $1",1],[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[3-578]"],"0$1","$CC $1",1],[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["1[3-9]"],,"$CC $1"],[,"(\\d{2})(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3 $4",["[12]"],"0$1",,1]],[[,"(\\d{2})(\\d{5,6})","$1 $2",["(?:10|2[0-57-9])[19]","(?:10|2[0-57-9])(?:10|9[56])","10(?:10|9[56])|2[0-57-9](?:100|9[56])"],"0$1","$CC $1"],[,"(\\d{3})(\\d{5,6})","$1 $2",["3(?:[157]|35|49|9[1-68])|4(?:[17]|2[179]|6[47-9]|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]|4[13]|5[1-5])|(?:4[35]|59|85)[1-9]","(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))[19]","85[23](?:10|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:10|9[56])","85[23](?:100|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:100|9[56])"],"0$1","$CC $1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["(?:4|80)0"]],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["10|2(?:[02-57-9]|1[1-9])","10|2(?:[02-57-9]|1[1-9])","10[0-79]|2(?:[02-57-9]|1[1-79])|(?:10|21)8(?:0[1-9]|[1-9])"],"0$1","$CC $1",1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["3(?:[3-59]|7[02-68])|4(?:[26-8]|3[3-9]|5[2-9])|5(?:3[03-9]|[468]|7[028]|9[2-46-9])|6|7(?:[0-247]|3[04-9]|5[0-4689]|6[2368])|8(?:[1-358]|9[1-7])|9(?:[013479]|5[1-5])|(?:[34]1|55|79|87)[02-9]"],"0$1","$CC $1",1],[,"(\\d{3})(\\d{7,8})","$1 $2",["9"]],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["80"],"0$1","$CC $1",1],[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[3-578]"],"0$1","$CC $1",1],[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["1[3-9]"],,"$CC $1"],[,"(\\d{2})(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3 $4",["[12]"],"0$1",,1]],[,,,,,,,,,[-1]],,,[,,"(?:(?:10|21)8|[48])00\\d{7}|950\\d{7,8}",,,,,,,[10,11,12]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CO:[,[,,"(?:60\\d\\d|9101)\\d{6}|(?:1\\d|3)\\d{9}",,,,,,,[10,11],[7]],[,,"601055(?:[0-4]\\d|50)\\d\\d|6010(?:[0-4]\\d|5[0-4])\\d{4}|60(?:[124-7][2-9]|8[1-9])\\d{6}",,,,"6012345678",,,[10],[7]],[,,"333301[0-5]\\d{3}|3333(?:00|2[5-9]|[3-9]\\d)\\d{4}|(?:3(?:24[1-9]|3(?:00|3[0-24-9]))|9101)\\d{6}|3(?:0[0-5]|1\\d|2[0-3]|5[01]|70)\\d{7}",,,,"3211234567",,,[10]],[,,"1800\\d{7}",,,,"18001234567",,,[11]],[,,"19(?:0[01]|4[78])\\d{7}",,,,"19001234567",,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CO",57,"00(?:4(?:[14]4|56)|[579])","0",,,"0([3579]|4(?:[14]4|56))?",,,,[[,"(\\d{3})(\\d{7})","$1 $2",["6"],"($1)","0$CC $1"],[,"(\\d{3})(\\d{7})","$1 $2",["3[0-357]|91"],,"0$CC $1"],[,"(\\d)(\\d{3})(\\d{7})","$1-$2-$3",["1"],"0$1"]],[[,"(\\d{3})(\\d{7})","$1 $2",["6"],"($1)","0$CC $1"],[,"(\\d{3})(\\d{7})","$1 $2",["3[0-357]|91"],,"0$CC $1"],[,"(\\d)(\\d{3})(\\d{7})","$1 $2 $3",["1"]]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CR:[,[,,"(?:8\\d|90)\\d{8}|(?:[24-8]\\d{3}|3005)\\d{4}",,,,,,,[8,10]],[,,"210[7-9]\\d{4}|2(?:[024-7]\\d|1[1-9])\\d{5}",,,,"22123456",,,[8]],[,,"(?:3005\\d|6500[01])\\d{3}|(?:5[07]|6[0-4]|7[0-3]|8[3-9])\\d{6}",,,,"83123456",,,[8]],[,,"800\\d{7}",,,,"8001234567",,,[10]],[,,"90[059]\\d{7}",,,,"9001234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"(?:210[0-6]|4\\d{3}|5100)\\d{4}",,,,"40001234",,,[8]],"CR",506,"00",,,,"(19(?:0[0-2468]|1[09]|20|66|77|99))",,,,[[,"(\\d{4})(\\d{4})","$1 $2",["[2-7]|8[3-9]"],,"$CC $1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[89]"],,"$CC $1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CU:[,[,,"[27]\\d{6,7}|[34]\\d{5,7}|63\\d{6}|(?:5|8\\d\\d)\\d{7}",,,,,,,[6,7,8,10],[4,5]],[,,"(?:3[23]|4[89])\\d{4,6}|(?:31|4[36]|8(?:0[25]|78)\\d)\\d{6}|(?:2[1-4]|4[1257]|7\\d)\\d{5,6}",,,,"71234567",,,,[4,5]],[,,"(?:5\\d|63)\\d{6}",,,,"51234567",,,[8]],[,,"800\\d{7}",,,,"8001234567",,,[10]],[,,,,,,,,,[-1]],[,,"807\\d{7}",,,,"8071234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CU",53,"119","0",,,"0",,,,[[,"(\\d{2})(\\d{4,6})","$1 $2",["2[1-4]|[34]"],"(0$1)"],[,"(\\d)(\\d{6,7})","$1 $2",["7"],"(0$1)"],[,"(\\d)(\\d{7})","$1 $2",["[56]"],"0$1"],[,"(\\d{3})(\\d{7})","$1 $2",["8"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CV:[,[,,"(?:[2-59]\\d\\d|800)\\d{4}",,,,,,,[7]],[,,"2(?:2[1-7]|3[0-8]|4[12]|5[1256]|6\\d|7[1-3]|8[1-5])\\d{4}",,,,"2211234"],[,,"(?:36|5[1-389]|9\\d)\\d{5}",,,,"9911234"],[,,"800\\d{4}",,,,"8001234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"(?:3[3-5]|4[356])\\d{5}",,,,"3401234"],"CV",238,"0",,,,,,,,[[,"(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[2-589]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CW:[,[,,"(?:[34]1|60|(?:7|9\\d)\\d)\\d{5}",,,,,,,[7,8]],[,,"9(?:4(?:3[0-5]|4[14]|6\\d)|50\\d|7(?:2[014]|3[02-9]|4[4-9]|6[357]|77|8[7-9])|8(?:3[39]|[46]\\d|7[01]|8[57-9]))\\d{4}",,,,"94351234"],[,,"953[01]\\d{4}|9(?:5[12467]|6[5-9])\\d{5}",,,,"95181234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"60[0-2]\\d{4}",,,,"6001234",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CW",599,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[3467]"]],[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["9[4-8]"]]],,[,,"955\\d{5}",,,,"95581234",,,[8]],1,"[69]",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CX:[,[,,"1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}",,,,,,,[6,7,8,9,10,12]],[,,"8(?:51(?:0(?:01|30|59|88)|1(?:17|46|75)|2(?:22|35))|91(?:00[6-9]|1(?:[28]1|49|78)|2(?:09|63)|3(?:12|26|75)|4(?:56|97)|64\\d|7(?:0[01]|1[0-2])|958))\\d{3}",,,,"891641234",,,[9],[8]],[,,"4(?:(?:79|94)[01]|83[0-389])\\d{5}|4(?:[0-3]\\d|4[047-9]|5[0-25-9]|6[0-26-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}",,,,"412345678",,,[9]],[,,"180(?:0\\d{3}|2)\\d{3}",,,,"1800123456",,,[7,10]],[,,"190[0-26]\\d{6}",,,,"1900123456",,,[10]],[,,"13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",,,,"1300123456",,,[6,8,10,12]],[,,,,,,,,,[-1]],[,,"14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",,,,"147101234",,,[9]],"CX",61,"001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","0",,,"([59]\\d{7})$|0","8$1","0011",,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CY:[,[,,"(?:[279]\\d|[58]0)\\d{6}",,,,,,,[8]],[,,"2[2-6]\\d{6}",,,,"22345678"],[,,"9(?:10|[4-79]\\d)\\d{5}",,,,"96123456"],[,,"800\\d{5}",,,,"80001234"],[,,"90[09]\\d{5}",,,,"90012345"],[,,"80[1-9]\\d{5}",,,,"80112345"],[,,"700\\d{5}",,,,"70012345"],[,,,,,,,,,[-1]],"CY",357,"00",,,,,,,,[[,"(\\d{2})(\\d{6})","$1 $2",["[257-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"(?:50|77)\\d{6}",,,,"77123456"],,,[,,,,,,,,,[-1]]],CZ:[,[,,"(?:[2-578]\\d|60)\\d{7}|9\\d{8,11}",,,,,,,[9,10,11,12]],[,,"(?:2\\d|3[1257-9]|4[16-9]|5[13-9])\\d{7}",,,,"212345678",,,[9]],[,,"(?:60[1-8]|7(?:0[2-5]|[2379]\\d))\\d{6}",,,,"601123456",,,[9]],[,,"800\\d{6}",,,,"800123456",,,[9]],[,,"9(?:0[05689]|76)\\d{6}",,,,"900123456",,,[9]],[,,"8[134]\\d{7}",,,,"811234567",,,[9]],[,,"70[01]\\d{6}",,,,"700123456",,,[9]],[,,"9[17]0\\d{6}",,,,"910123456",,,[9]],"CZ",420,"00",,,,,,,,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[2-8]|9[015-7]"]],[,"(\\d{2})(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3 $4",["96"]],[,"(\\d{2})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]],[,"(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"9(?:5\\d|7[2-4])\\d{6}",,,,"972123456",,,[9]],,,[,,"9(?:3\\d{9}|6\\d{7,10})",,,,"93123456789"]],DE:[,[,,"[2579]\\d{5,14}|49(?:[34]0|69|8\\d)\\d\\d?|49(?:37|49|60|7[089]|9\\d)\\d{1,3}|49(?:2[024-9]|3[2-689]|7[1-7])\\d{1,8}|(?:1|[368]\\d|4[0-8])\\d{3,13}|49(?:[015]\\d|2[13]|31|[46][1-8])\\d{1,9}",,,,,,,[4,5,6,7,8,9,10,11,12,13,14,15],[2,3]],[,,"32\\d{9,11}|49[1-6]\\d{10}|322\\d{6}|49[0-7]\\d{3,9}|(?:[34]0|[68]9)\\d{3,13}|(?:2(?:0[1-689]|[1-3569]\\d|4[0-8]|7[1-7]|8[0-7])|3(?:[3569]\\d|4[0-79]|7[1-7]|8[1-8])|4(?:1[02-9]|[2-48]\\d|5[0-6]|6[0-8]|7[0-79])|5(?:0[2-8]|[124-6]\\d|[38][0-8]|[79][0-7])|6(?:0[02-9]|[1-358]\\d|[47][0-8]|6[1-9])|7(?:0[2-8]|1[1-9]|[27][0-7]|3\\d|[4-6][0-8]|8[0-5]|9[013-7])|8(?:0[2-9]|1[0-79]|2\\d|3[0-46-9]|4[0-6]|5[013-9]|6[1-8]|7[0-8]|8[0-24-6])|9(?:0[6-9]|[1-4]\\d|[589][0-7]|6[0-8]|7[0-467]))\\d{3,12}",,,,"30123456",,,[5,6,7,8,9,10,11,12,13,14,15],[2,3,4]],[,,"15[0-25-9]\\d{8}|1(?:6[023]|7\\d)\\d{7,8}",,,,"15123456789",,,[10,11]],[,,"800\\d{7,12}",,,,"8001234567890",,,[10,11,12,13,14,15]],[,,"(?:137[7-9]|900(?:[135]|9\\d))\\d{6}",,,,"9001234567",,,[10,11]],[,,"180\\d{5,11}|13(?:7[1-6]\\d\\d|8)\\d{4}",,,,"18012345",,,[7,8,9,10,11,12,13,14]],[,,"700\\d{8}",,,,"70012345678",,,[11]],[,,,,,,,,,[-1]],"DE",49,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3,13})","$1 $2",["3[02]|40|[68]9"],"0$1"],[,"(\\d{3})(\\d{3,12})","$1 $2",["2(?:0[1-389]|1[124]|2[18]|3[14])|3(?:[35-9][15]|4[015])|906|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1","2(?:0[1-389]|12[0-8])|3(?:[35-9][15]|4[015])|906|2(?:[13][14]|2[18])|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1"],"0$1"],[,"(\\d{4})(\\d{2,11})","$1 $2",["[24-6]|3(?:[3569][02-46-9]|4[2-4679]|7[2-467]|8[2-46-8])|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]","[24-6]|3(?:3(?:0[1-467]|2[127-9]|3[124578]|7[1257-9]|8[1256]|9[145])|4(?:2[135]|4[13578]|9[1346])|5(?:0[14]|2[1-3589]|6[1-4]|7[13468]|8[13568])|6(?:2[1-489]|3[124-6]|6[13]|7[12579]|8[1-356]|9[135])|7(?:2[1-7]|4[145]|6[1-5]|7[1-4])|8(?:21|3[1468]|6|7[1467]|8[136])|9(?:0[12479]|2[1358]|4[134679]|6[1-9]|7[136]|8[147]|9[1468]))|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]|3[68]4[1347]|3(?:47|60)[1356]|3(?:3[46]|46|5[49])[1246]|3[4579]3[1357]"],"0$1"],[,"(\\d{3})(\\d{4})","$1 $2",["138"],"0$1"],[,"(\\d{5})(\\d{2,10})","$1 $2",["3"],"0$1"],[,"(\\d{3})(\\d{5,11})","$1 $2",["181"],"0$1"],[,"(\\d{3})(\\d)(\\d{4,10})","$1 $2 $3",["1(?:3|80)|9"],"0$1"],[,"(\\d{3})(\\d{7,8})","$1 $2",["1[67]"],"0$1"],[,"(\\d{3})(\\d{7,12})","$1 $2",["8"],"0$1"],[,"(\\d{5})(\\d{6})","$1 $2",["185","1850","18500"],"0$1"],[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["7"],"0$1"],[,"(\\d{4})(\\d{7})","$1 $2",["18[68]"],"0$1"],[,"(\\d{5})(\\d{6})","$1 $2",["15[0568]"],"0$1"],[,"(\\d{4})(\\d{7})","$1 $2",["15[1279]"],"0$1"],[,"(\\d{3})(\\d{8})","$1 $2",["18"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{7,8})","$1 $2 $3",["1(?:6[023]|7)"],"0$1"],[,"(\\d{4})(\\d{2})(\\d{7})","$1 $2 $3",["15[279]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{8})","$1 $2 $3",["15"],"0$1"]],,[,,"16(?:4\\d{1,10}|[89]\\d{1,11})",,,,"16412345",,,[4,5,6,7,8,9,10,11,12,13,14]],,,[,,,,,,,,,[-1]],[,,"18(?:1\\d{5,11}|[2-9]\\d{8})",,,,"18500123456",,,[8,9,10,11,12,13,14]],,,[,,"1(?:6(?:013|255|399)|7(?:(?:[015]1|[69]3)3|[2-4]55|[78]99))\\d{7,8}|15(?:(?:[03-68]00|113)\\d|2\\d55|7\\d99|9\\d33)\\d{7}",,,,"177991234567",,,[12,13]]],DJ:[,[,,"(?:2\\d|77)\\d{6}",,,,,,,[8]],[,,"2(?:1[2-5]|7[45])\\d{5}",,,,"21360003"],[,,"77\\d{6}",,,,"77831001"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"DJ",253,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[27]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],DK:[,[,,"[2-9]\\d{7}",,,,,,,[8]],[,,"(?:[2-7]\\d|8[126-9]|9[1-46-9])\\d{6}",,,,"32123456"],[,,"(?:[2-7]\\d|8[126-9]|9[1-46-9])\\d{6}",,,,"32123456"],[,,"80\\d{6}",,,,"80123456"],[,,"90\\d{6}",,,,"90123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"DK",45,"00",,,,,,,1,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],DM:[,[,,"(?:[58]\\d\\d|767|900)\\d{7}",,,,,,,[10],[7]],[,,"767(?:2(?:55|66)|4(?:2[01]|4[0-25-9])|50[0-4])\\d{4}",,,,"7674201234",,,,[7]],[,,"767(?:2(?:[2-4689]5|7[5-7])|31[5-7]|61[1-8]|70[1-6])\\d{4}",,,,"7672251234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"DM",1,"011","1",,,"([2-7]\\d{6})$|1","767$1",,,,,[,,,,,,,,,[-1]],,"767",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],DO:[,[,,"(?:[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"8(?:[04]9[2-9]\\d\\d|29(?:2(?:[0-59]\\d|6[04-9]|7[0-27]|8[0237-9])|3(?:[0-35-9]\\d|4[7-9])|[45]\\d\\d|6(?:[0-27-9]\\d|[3-5][1-9]|6[0135-8])|7(?:0[013-9]|[1-37]\\d|4[1-35689]|5[1-4689]|6[1-57-9]|8[1-79]|9[1-8])|8(?:0[146-9]|1[0-48]|[248]\\d|3[1-79]|5[01589]|6[013-68]|7[124-8]|9[0-8])|9(?:[0-24]\\d|3[02-46-9]|5[0-79]|60|7[0169]|8[57-9]|9[02-9])))\\d{4}",,,,"8092345678",,,,[7]],[,,"8[024]9[2-9]\\d{6}",,,,"8092345678",,,,[7]],[,,"8(?:00(?:14|[2-9]\\d)|(?:33|44|55|66|77|88)[2-9]\\d)\\d{5}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"DO",1,"011","1",,,"1",,,,,,[,,,,,,,,,[-1]],,"8001|8[024]9",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],DZ:[,[,,"(?:[1-4]|[5-79]\\d|80)\\d{7}",,,,,,,[8,9]],[,,"9619\\d{5}|(?:1\\d|2[013-79]|3[0-8]|4[013-689])\\d{6}",,,,"12345678"],[,,"(?:5(?:4[0-29]|5\\d|6[0-2])|6(?:[569]\\d|7[0-6])|7[7-9]\\d)\\d{6}",,,,"551234567",,,[9]],[,,"800\\d{6}",,,,"800123456",,,[9]],[,,"80[3-689]1\\d{5}",,,,"808123456",,,[9]],[,,"80[12]1\\d{5}",,,,"801123456",,,[9]],[,,,,,,,,,[-1]],[,,"98[23]\\d{6}",,,,"983123456",,,[9]],"DZ",213,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-4]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["9"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-8]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],EC:[,[,,"1\\d{9,10}|(?:[2-7]|9\\d)\\d{7}",,,,,,,[8,9,10,11],[7]],[,,"[2-7][2-7]\\d{6}",,,,"22123456",,,[8],[7]],[,,"964[0-2]\\d{5}|9(?:39|[57][89]|6[0-36-9]|[89]\\d)\\d{6}",,,,"991234567",,,[9]],[,,"1800\\d{7}|1[78]00\\d{6}",,,,"18001234567",,,[10,11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"[2-7]890\\d{4}",,,,"28901234",,,[8]],"EC",593,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{4})","$1-$2",["[2-7]"]],[,"(\\d)(\\d{3})(\\d{4})","$1 $2-$3",["[2-7]"],"(0$1)"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["9"],"0$1"],[,"(\\d{4})(\\d{3})(\\d{3,4})","$1 $2 $3",["1"]]],[[,"(\\d)(\\d{3})(\\d{4})","$1-$2-$3",["[2-7]"]],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["9"],"0$1"],[,"(\\d{4})(\\d{3})(\\d{3,4})","$1 $2 $3",["1"]]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],EE:[,[,,"8\\d{9}|[4578]\\d{7}|(?:[3-8]\\d|90)\\d{5}",,,,,,,[7,8,10]],[,,"(?:3[23589]|4[3-8]|6\\d|7[1-9]|88)\\d{5}",,,,"3212345",,,[7]],[,,"(?:5\\d{5}|8(?:1(?:0(?:0(?:00|[178]\\d)|[3-9]\\d\\d)|(?:1(?:0[236]|1\\d)|(?:2[0-59]|[3-79]\\d)\\d)\\d)|2(?:0(?:000|(?:19|[2-7]\\d)\\d)|(?:(?:[124-6]\\d|3[5-9])\\d|7(?:[0-79]\\d|8[13-9])|8(?:[2-6]\\d|7[01]))\\d)|[349]\\d{4}))\\d\\d|5(?:(?:[02]\\d|5[0-478])\\d|1(?:[0-8]\\d|95)|6(?:4[0-4]|5[1-589]))\\d{3}",,,,"51234567",,,[7,8]],[,,"800(?:(?:0\\d\\d|1)\\d|[2-9])\\d{3}",,,,"80012345"],[,,"(?:40\\d\\d|900)\\d{4}",,,,"9001234",,,[7,8]],[,,,,,,,,,[-1]],[,,"70[0-2]\\d{5}",,,,"70012345",,,[8]],[,,,,,,,,,[-1]],"EE",372,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[369]|4[3-8]|5(?:[0-2]|5[0-478]|6[45])|7[1-9]|88","[369]|4[3-8]|5(?:[02]|1(?:[0-8]|95)|5[0-478]|6(?:4[0-4]|5[1-589]))|7[1-9]|88"]],[,"(\\d{4})(\\d{3,4})","$1 $2",["[45]|8(?:00|[1-49])","[45]|8(?:00[1-9]|[1-49])"]],[,"(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["7"]],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["8"]]],,[,,,,,,,,,[-1]],,,[,,"800[2-9]\\d{3}",,,,,,,[7]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],EG:[,[,,"[189]\\d{8,9}|[24-6]\\d{8}|[135]\\d{7}",,,,,,,[8,9,10],[6,7]],[,,"13[23]\\d{6}|(?:15|57)\\d{6,7}|(?:2[2-4]|3|4[05-8]|5[05]|6[24-689]|8[2468]|9[235-7])\\d{7}",,,,"234567890",,,[8,9],[6,7]],[,,"1[0-25]\\d{8}",,,,"1001234567",,,[10]],[,,"800\\d{7}",,,,"8001234567",,,[10]],[,,"900\\d{7}",,,,"9001234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"EG",20,"00","0",,,"0",,,,[[,"(\\d)(\\d{7,8})","$1 $2",["[23]"],"0$1"],[,"(\\d{2})(\\d{6,7})","$1 $2",["1[35]|[4-6]|8[2468]|9[235-7]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],[,"(\\d{2})(\\d{8})","$1 $2",["1"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],EH:[,[,,"[5-8]\\d{8}",,,,,,,[9]],[,,"528[89]\\d{5}",,,,"528812345"],[,,"(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[0167]\\d|2[0-2]|5[01]|8[0-3]))\\d{6}",,,,"650123456"],[,,"80[0-7]\\d{6}",,,,"801234567"],[,,"89\\d{7}",,,,"891234567"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"(?:592(?:4[0-2]|93)|80[89]\\d\\d)\\d{4}",,,,"592401234"],"EH",212,"00","0",,,"0",,,,,,[,,,,,,,,,[-1]],,"528[89]",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],ER:[,[,,"[178]\\d{6}",,,,,,,[7],[6]],[,,"(?:1(?:1[12568]|[24]0|55|6[146])|8\\d\\d)\\d{4}",,,,"8370362",,,,[6]],[,,"(?:17[1-3]|7\\d\\d)\\d{4}",,,,"7123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"ER",291,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[178]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],ES:[,[,,"[5-9]\\d{8}",,,,,,,[9]],[,,"96906(?:0[0-8]|1[1-9]|[2-9]\\d)\\d\\d|9(?:69(?:0[0-57-9]|[1-9]\\d)|73(?:[0-8]\\d|9[1-9]))\\d{4}|(?:8(?:[1356]\\d|[28][0-8]|[47][1-9])|9(?:[135]\\d|[268][0-8]|4[1-9]|7[124-9]))\\d{6}",,,,"810123456"],[,,"(?:590[16]00\\d|9(?:6906(?:09|10)|7390\\d\\d))\\d\\d|(?:6\\d|7[1-48])\\d{7}",,,,"612345678"],[,,"[89]00\\d{6}",,,,"800123456"],[,,"80[367]\\d{6}",,,,"803123456"],[,,"90[12]\\d{6}",,,,"901123456"],[,,"70\\d{7}",,,,"701234567"],[,,,,,,,,,[-1]],"ES",34,"00",,,,,,,,[[,"(\\d{4})","$1",["905"]],[,"(\\d{6})","$1",["[79]9"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]00"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-9]"]]],[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]00"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-9]"]]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"51\\d{7}",,,,"511234567"],,,[,,,,,,,,,[-1]]],ET:[,[,,"(?:11|[2-579]\\d)\\d{7}",,,,,,,[9],[7]],[,,"11667[01]\\d{3}|(?:11(?:1(?:1[124]|2[2-7]|3[1-5]|5[5-8]|8[6-8])|2(?:13|3[6-8]|5[89]|7[05-9]|8[2-6])|3(?:2[01]|3[0-289]|4[1289]|7[1-4]|87)|4(?:1[69]|3[2-49]|4[0-3]|6[5-8])|5(?:1[578]|44|5[0-4])|6(?:1[578]|2[69]|39|4[5-7]|5[0-5]|6[0-59]|8[015-8]))|2(?:2(?:11[1-9]|22[0-7]|33\\d|44[1467]|66[1-68])|5(?:11[124-6]|33[2-8]|44[1467]|55[14]|66[1-3679]|77[124-79]|880))|3(?:3(?:11[0-46-8]|(?:22|55)[0-6]|33[0134689]|44[04]|66[01467])|4(?:44[0-8]|55[0-69]|66[0-3]|77[1-5]))|4(?:6(?:119|22[0-24-7]|33[1-5]|44[13-69]|55[14-689]|660|88[1-4])|7(?:(?:11|22)[1-9]|33[13-7]|44[13-6]|55[1-689]))|5(?:7(?:227|55[05]|(?:66|77)[14-8])|8(?:11[149]|22[013-79]|33[0-68]|44[013-8]|550|66[1-5]|77\\d)))\\d{4}",,,,"111112345",,,,[7]],[,,"700[1-9]\\d{5}|(?:7(?:0[1-9]|1[0-8]|22|77|86|99)|9\\d\\d)\\d{6}",,,,"911234567"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"ET",251,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-579]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],FI:[,[,,"[1-35689]\\d{4}|7\\d{10,11}|(?:[124-7]\\d|3[0-46-9])\\d{8}|[1-9]\\d{5,8}",,,,,,,[5,6,7,8,9,10,11,12]],[,,"(?:1[3-79][1-8]|[235689][1-8]\\d)\\d{2,6}",,,,"131234567",,,[5,6,7,8,9]],[,,"4946\\d{2,6}|(?:4[0-8]|50)\\d{4,8}",,,,"412345678",,,[6,7,8,9,10]],[,,"800\\d{4,6}",,,,"800123456",,,[7,8,9]],[,,"[67]00\\d{5,6}",,,,"600123456",,,[8,9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"FI",358,"00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))","0",,,"0",,"00",,[[,"(\\d{5})","$1",["75[12]"],"0$1"],[,"(\\d)(\\d{4,9})","$1 $2",["[2568][1-8]|3(?:0[1-9]|[1-9])|9"],"0$1"],[,"(\\d{6})","$1",["11"]],[,"(\\d{3})(\\d{3,7})","$1 $2",["[12]00|[368]|70[07-9]"],"0$1"],[,"(\\d{2})(\\d{4,8})","$1 $2",["[1245]|7[135]"],"0$1"],[,"(\\d{2})(\\d{6,10})","$1 $2",["7"],"0$1"]],[[,"(\\d)(\\d{4,9})","$1 $2",["[2568][1-8]|3(?:0[1-9]|[1-9])|9"],"0$1"],[,"(\\d{3})(\\d{3,7})","$1 $2",["[12]00|[368]|70[07-9]"],"0$1"],[,"(\\d{2})(\\d{4,8})","$1 $2",["[1245]|7[135]"],"0$1"],[,"(\\d{2})(\\d{6,10})","$1 $2",["7"],"0$1"]],[,,,,,,,,,[-1]],1,"1[03-79]|[2-9]",[,,"20(?:2[023]|9[89])\\d{1,6}|(?:60[12]\\d|7099)\\d{4,5}|(?:606|7(?:0[78]|1|3\\d))\\d{7}|(?:[1-3]00|7(?:0[1-5]\\d\\d|5[03-9]))\\d{3,7}"],[,,"20\\d{4,8}|60[12]\\d{5,6}|7(?:099\\d{4,5}|5[03-9]\\d{3,7})|20[2-59]\\d\\d|(?:606|7(?:0[78]|1|3\\d))\\d{7}|(?:10|29|3[09]|70[1-5]\\d)\\d{4,8}",,,,"10112345"],,,[,,,,,,,,,[-1]]],FJ:[,[,,"45\\d{5}|(?:0800\\d|[235-9])\\d{6}",,,,,,,[7,11]],[,,"603\\d{4}|(?:3[0-5]|6[25-7]|8[58])\\d{5}",,,,"3212345",,,[7]],[,,"(?:[279]\\d|45|5[01568]|8[034679])\\d{5}",,,,"7012345",,,[7]],[,,"0800\\d{7}",,,,"08001234567",,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"FJ",679,"0(?:0|52)",,,,,,"00",,[[,"(\\d{3})(\\d{4})","$1 $2",["[235-9]|45"]],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],FK:[,[,,"[2-7]\\d{4}",,,,,,,[5]],[,,"[2-47]\\d{4}",,,,"31234"],[,,"[56]\\d{4}",,,,"51234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"FK",500,"00",,,,,,,,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],FM:[,[,,"(?:[39]\\d\\d|820)\\d{4}",,,,,,,[7]],[,,"31(?:00[67]|208|309)\\d\\d|(?:3(?:[2357]0[1-9]|602|804|905)|(?:820|9[2-6]\\d)\\d)\\d{3}",,,,"3201234"],[,,"31(?:00[67]|208|309)\\d\\d|(?:3(?:[2357]0[1-9]|602|804|905)|(?:820|9[2-7]\\d)\\d)\\d{3}",,,,"3501234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"FM",691,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[389]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],FO:[,[,,"[2-9]\\d{5}",,,,,,,[6]],[,,"(?:20|[34]\\d|8[19])\\d{4}",,,,"201234"],[,,"(?:[27][1-9]|5\\d|9[16])\\d{4}",,,,"211234"],[,,"80[257-9]\\d{3}",,,,"802123"],[,,"90(?:[13-5][15-7]|2[125-7]|9\\d)\\d\\d",,,,"901123"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"(?:6[0-36]|88)\\d{4}",,,,"601234"],"FO",298,"00",,,,"(10(?:01|[12]0|88))",,,,[[,"(\\d{6})","$1",["[2-9]"],,"$CC $1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],FR:[,[,,"[1-9]\\d{8}",,,,,,,[9]],[,,"59[1-9]\\d{6}|(?:[1-3]\\d|4[1-9]|5[0-8])\\d{7}",,,,"123456789"],[,,"(?:6(?:[0-24-8]\\d|3[0-8]|9[589])|7[3-9]\\d)\\d{6}",,,,"612345678"],[,,"80[0-5]\\d{6}",,,,"801234567"],[,,"836(?:0[0-36-9]|[1-9]\\d)\\d{4}|8(?:1[2-9]|2[2-47-9]|3[0-57-9]|[569]\\d|8[0-35-9])\\d{6}",,,,"891123456"],[,,"8(?:1[01]|2[0156]|4[02]|84)\\d{6}",,,,"884012345"],[,,,,,,,,,[-1]],[,,"9\\d{8}",,,,"912345678"],"FR",33,"00","0",,,"0",,,,[[,"(\\d{4})","$1",["10"]],[,"(\\d{3})(\\d{3})","$1 $2",["1"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0 $1"],[,"(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[1-79]"],"0$1"]],[[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0 $1"],[,"(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[1-79]"],"0$1"]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"80[6-9]\\d{6}",,,,"806123456"],,,[,,,,,,,,,[-1]]],GA:[,[,,"(?:[067]\\d|11)\\d{6}|[2-7]\\d{6}",,,,,,,[7,8]],[,,"[01]1\\d{6}",,,,"01441234",,,[8]],[,,"(?:(?:0[2-7]|7[467])\\d|6(?:0[0-4]|10|[256]\\d))\\d{5}|[2-7]\\d{6}",,,,"06031234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"GA",241,"00",,,,"0(11\\d{6}|60\\d{6}|61\\d{6}|6[256]\\d{6}|7[467]\\d{6})","$1",,,[[,"(\\d)(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-7]"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["11|[67]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GB:[,[,,"[1-357-9]\\d{9}|[18]\\d{8}|8\\d{6}",,,,,,,[7,9,10],[4,5,6,8]],[,,"(?:1(?:1(?:3(?:[0-58]\\d\\d|73[0235])|4(?:[0-5]\\d\\d|69[7-9]|70[0-79])|(?:(?:5[0-26-9]|[78][0-49])\\d|6(?:[0-4]\\d|50))\\d)|(?:2(?:(?:0[024-9]|2[3-9]|3[3-79]|4[1-689]|[58][02-9]|6[0-47-9]|7[013-9]|9\\d)\\d|1(?:[0-7]\\d|8[0-2]))|(?:3(?:0\\d|1[0-8]|[25][02-9]|3[02-579]|[468][0-46-9]|7[1-35-79]|9[2-578])|4(?:0[03-9]|[137]\\d|[28][02-57-9]|4[02-69]|5[0-8]|[69][0-79])|5(?:0[1-35-9]|[16]\\d|2[024-9]|3[015689]|4[02-9]|5[03-9]|7[0-35-9]|8[0-468]|9[0-57-9])|6(?:0[034689]|1\\d|2[0-35689]|[38][013-9]|4[1-467]|5[0-69]|6[13-9]|7[0-8]|9[0-24578])|7(?:0[0246-9]|2\\d|3[0236-8]|4[03-9]|5[0-46-9]|6[013-9]|7[0-35-9]|8[024-9]|9[02-9])|8(?:0[35-9]|2[1-57-9]|3[02-578]|4[0-578]|5[124-9]|6[2-69]|7\\d|8[02-9]|9[02569])|9(?:0[02-589]|[18]\\d|2[02-689]|3[1-57-9]|4[2-9]|5[0-579]|6[2-47-9]|7[0-24578]|9[2-57]))\\d)\\d)|2(?:0[013478]|3[0189]|4[017]|8[0-46-9]|9[0-2])\\d{3})\\d{4}|1(?:2(?:0(?:46[1-4]|87[2-9])|545[1-79]|76(?:2\\d|3[1-8]|6[1-6])|9(?:7(?:2[0-4]|3[2-5])|8(?:2[2-8]|7[0-47-9]|8[3-5])))|3(?:6(?:38[2-5]|47[23])|8(?:47[04-9]|64[0157-9]))|4(?:044[1-7]|20(?:2[23]|8\\d)|6(?:0(?:30|5[2-57]|6[1-8]|7[2-8])|140)|8(?:052|87[1-3]))|5(?:2(?:4(?:3[2-79]|6\\d)|76\\d)|6(?:26[06-9]|686))|6(?:06(?:4\\d|7[4-79])|295[5-7]|35[34]\\d|47(?:24|61)|59(?:5[08]|6[67]|74)|9(?:55[0-4]|77[23]))|7(?:26(?:6[13-9]|7[0-7])|(?:442|688)\\d|50(?:2[0-3]|[3-68]2|76))|8(?:27[56]\\d|37(?:5[2-5]|8[239])|843[2-58])|9(?:0(?:0(?:6[1-8]|85)|52\\d)|3583|4(?:66[1-8]|9(?:2[01]|81))|63(?:23|3[1-4])|9561))\\d{3}",,,,"1212345678",,,[9,10],[4,5,6,7,8]],[,,"7(?:457[0-57-9]|700[01]|911[028])\\d{5}|7(?:[1-3]\\d\\d|4(?:[0-46-9]\\d|5[0-689])|5(?:0[0-8]|[13-9]\\d|2[0-35-9])|7(?:0[1-9]|[1-7]\\d|8[02-9]|9[0-689])|8(?:[014-9]\\d|[23][0-8])|9(?:[024-9]\\d|1[02-9]|3[0-689]))\\d{6}",,,,"7400123456",,,[10]],[,,"80[08]\\d{7}|800\\d{6}|8001111",,,,"8001234567"],[,,"(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[2-49]))\\d{7}|845464\\d",,,,"9012345678",,,[7,10]],[,,,,,,,,,[-1]],[,,"70\\d{8}",,,,"7012345678",,,[10]],[,,"56\\d{8}",,,,"5612345678",,,[10]],"GB",44,"00","0"," x",,"0",,,,[[,"(\\d{3})(\\d{4})","$1 $2",["800","8001","80011","800111","8001111"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["845","8454","84546","845464"],"0$1"],[,"(\\d{3})(\\d{6})","$1 $2",["800"],"0$1"],[,"(\\d{5})(\\d{4,5})","$1 $2",["1(?:38|5[23]|69|76|94)","1(?:(?:38|69)7|5(?:24|39)|768|946)","1(?:3873|5(?:242|39[4-6])|(?:697|768)[347]|9467)"],"0$1"],[,"(\\d{4})(\\d{5,6})","$1 $2",["1(?:[2-69][02-9]|[78])"],"0$1"],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["[25]|7(?:0|6[02-9])","[25]|7(?:0|6(?:[03-9]|2[356]))"],"0$1"],[,"(\\d{4})(\\d{6})","$1 $2",["7"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[1389]"],"0$1"]],,[,,"76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}",,,,"7640123456",,,[10]],1,,[,,,,,,,,,[-1]],[,,"(?:3[0347]|55)\\d{8}",,,,"5512345678",,,[10]],,,[,,,,,,,,,[-1]]],GD:[,[,,"(?:473|[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"473(?:2(?:3[0-2]|69)|3(?:2[89]|86)|4(?:[06]8|3[5-9]|4[0-49]|5[5-79]|73|90)|63[68]|7(?:58|84)|800|938)\\d{4}",,,,"4732691234",,,,[7]],[,,"473(?:4(?:0[2-79]|1[04-9]|2[0-5]|58)|5(?:2[01]|3[3-8])|901)\\d{4}",,,,"4734031234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"GD",1,"011","1",,,"([2-9]\\d{6})$|1","473$1",,,,,[,,,,,,,,,[-1]],,"473",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GE:[,[,,"(?:[3-57]\\d\\d|800)\\d{6}",,,,,,,[9],[6,7]],[,,"(?:3(?:[256]\\d|4[124-9]|7[0-4])|4(?:1\\d|2[2-7]|3[1-79]|4[2-8]|7[239]|9[1-7]))\\d{6}",,,,"322123456",,,,[6,7]],[,,"5(?:(?:(?:0555|1(?:[17]77|555))[5-9]|757(?:7[7-9]|8[01]))\\d|22252[0-4])\\d\\d|(?:5(?:00(?:0\\d|11|22|33|44|5[05]|77|88|99)|1(?:1(?:00|[124]\\d|3[01])|4\\d\\d)|(?:44|68)\\d\\d|5(?:[0157-9]\\d\\d|200)|7(?:[0147-9]\\d\\d|5(?:00|[57]5))|8(?:0(?:[018]\\d|2[0-4])|58[89]|8(?:55|88))|9(?:090|[1-35-9]\\d\\d))|790\\d\\d)\\d{4}|5(?:0(?:070|505)|1(?:0[01]0|1(?:07|33|51))|2(?:0[02]0|2[25]2)|3(?:0[03]0|3[35]3)|(?:40[04]|900)0|5222)[0-4]\\d{3}",,,,"555123456"],[,,"800\\d{6}",,,,"800123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"70[67]\\d{6}",,,,"706123456"],"GE",995,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["70"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["32"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[57]"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[348]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,"70[67]\\d{6}"],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GF:[,[,,"[56]94\\d{6}|(?:80|9\\d)\\d{7}",,,,,,,[9]],[,,"594(?:[02-49]\\d|1[0-4]|5[6-9]|6[0-3]|80)\\d{4}",,,,"594101234"],[,,"694(?:[0-249]\\d|3[0-8])\\d{4}",,,,"694201234"],[,,"80[0-5]\\d{6}",,,,"800012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"9(?:(?:396|76\\d)\\d|476[0-5])\\d{4}",,,,"976012345"],"GF",594,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[56]|9[47]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[89]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GG:[,[,,"(?:1481|[357-9]\\d{3})\\d{6}|8\\d{6}(?:\\d{2})?",,,,,,,[7,9,10],[6]],[,,"1481[25-9]\\d{5}",,,,"1481256789",,,[10],[6]],[,,"7(?:(?:781|839)\\d|911[17])\\d{5}",,,,"7781123456",,,[10]],[,,"80[08]\\d{7}|800\\d{6}|8001111",,,,"8001234567"],[,,"(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[0-3]))\\d{7}|845464\\d",,,,"9012345678",,,[7,10]],[,,,,,,,,,[-1]],[,,"70\\d{8}",,,,"7012345678",,,[10]],[,,"56\\d{8}",,,,"5612345678",,,[10]],"GG",44,"00","0",,,"([25-9]\\d{5})$|0","1481$1",,,,,[,,"76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}",,,,"7640123456",,,[10]],,,[,,,,,,,,,[-1]],[,,"(?:3[0347]|55)\\d{8}",,,,"5512345678",,,[10]],,,[,,,,,,,,,[-1]]],GH:[,[,,"(?:[235]\\d{3}|800)\\d{5}",,,,,,,[8,9],[7]],[,,"3082[0-5]\\d{4}|3(?:0(?:[237]\\d|8[01])|[167](?:2[0-6]|7\\d|80)|2(?:2[0-5]|7\\d|80)|3(?:2[0-3]|7\\d|80)|4(?:2[013-9]|3[01]|7\\d|80)|5(?:2[0-7]|7\\d|80)|8(?:2[0-2]|7\\d|80)|9(?:[28]0|7\\d))\\d{5}",,,,"302345678",,,[9],[7]],[,,"(?:2(?:[0346-9]\\d|5[67])|5(?:[03-7]\\d|9[1-9]))\\d{6}",,,,"231234567",,,[9]],[,,"800\\d{5}",,,,"80012345",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"GH",233,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[237]|8[0-2]"]],[,"(\\d{3})(\\d{5})","$1 $2",["8"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[235]"],"0$1"]],[[,"(\\d{3})(\\d{5})","$1 $2",["8"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[235]"],"0$1"]],[,,,,,,,,,[-1]],,,[,,"800\\d{5}",,,,,,,[8]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GI:[,[,,"(?:[25]\\d|60)\\d{6}",,,,,,,[8]],[,,"2190[0-2]\\d{3}|2(?:0(?:[02]\\d|3[01])|16[24-9]|2[2-5]\\d)\\d{4}",,,,"20012345"],[,,"5251[0-4]\\d{3}|(?:5(?:[146-8]\\d\\d|250)|60(?:1[01]|6\\d))\\d{4}",,,,"57123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"GI",350,"00",,,,,,,,[[,"(\\d{3})(\\d{5})","$1 $2",["2"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GL:[,[,,"(?:19|[2-689]\\d|70)\\d{4}",,,,,,,[6]],[,,"(?:19|3[1-7]|[68][1-9]|70|9\\d)\\d{4}",,,,"321000"],[,,"[245]\\d{5}",,,,"221234"],[,,"80\\d{4}",,,,"801234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"3[89]\\d{4}",,,,"381234"],"GL",299,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["19|[2-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GM:[,[,,"[2-9]\\d{6}",,,,,,,[7]],[,,"(?:4(?:[23]\\d\\d|4(?:1[024679]|[6-9]\\d))|5(?:5(?:3\\d|4[0-7])|6[67]\\d|7(?:1[04]|2[035]|3[58]|48))|8\\d{3})\\d{3}",,,,"5661234"],[,,"(?:[23679]\\d|5[0-489])\\d{5}",,,,"3012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"GM",220,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GN:[,[,,"722\\d{6}|(?:3|6\\d)\\d{7}",,,,,,,[8,9]],[,,"3(?:0(?:24|3[12]|4[1-35-7]|5[13]|6[189]|[78]1|9[1478])|1\\d\\d)\\d{4}",,,,"30241234",,,[8]],[,,"6[0-356]\\d{7}",,,,"601123456",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"722\\d{6}",,,,"722123456",,,[9]],"GN",224,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["3"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[67]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GP:[,[,,"590\\d{6}|(?:69|80|9\\d)\\d{7}",,,,,,,[9]],[,,"590(?:0[1-68]|[14][0-24-9]|2[0-68]|3[1-9]|5[3-579]|[68][0-689]|7[08]|9\\d)\\d{4}",,,,"590201234"],[,,"69(?:0\\d\\d|1(?:2[2-9]|3[0-5]))\\d{4}",,,,"690001234"],[,,"80[0-5]\\d{6}",,,,"800012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"9(?:(?:395|76[018])\\d|475[0-5])\\d{4}",,,,"976012345"],"GP",590,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[569]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],,[,,,,,,,,,[-1]],1,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GQ:[,[,,"222\\d{6}|(?:3\\d|55|[89]0)\\d{7}",,,,,,,[9]],[,,"33[0-24-9]\\d[46]\\d{4}|3(?:33|5\\d)\\d[7-9]\\d{4}",,,,"333091234"],[,,"(?:222|55\\d)\\d{6}",,,,"222123456"],[,,"80\\d[1-9]\\d{5}",,,,"800123456"],[,,"90\\d[1-9]\\d{5}",,,,"900123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"GQ",240,"00",,,,,,,,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235]"]],[,"(\\d{3})(\\d{6})","$1 $2",["[89]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GR:[,[,,"5005000\\d{3}|8\\d{9,11}|(?:[269]\\d|70)\\d{8}",,,,,,,[10,11,12]],[,,"2(?:1\\d\\d|2(?:2[1-46-9]|[36][1-8]|4[1-7]|5[1-4]|7[1-5]|[89][1-9])|3(?:1\\d|2[1-57]|[35][1-3]|4[13]|7[1-7]|8[124-6]|9[1-79])|4(?:1\\d|2[1-8]|3[1-4]|4[13-5]|6[1-578]|9[1-5])|5(?:1\\d|[29][1-4]|3[1-5]|4[124]|5[1-6])|6(?:1\\d|[269][1-6]|3[1245]|4[1-7]|5[13-9]|7[14]|8[1-5])|7(?:1\\d|2[1-5]|3[1-6]|4[1-7]|5[1-57]|6[135]|9[125-7])|8(?:1\\d|2[1-5]|[34][1-4]|9[1-57]))\\d{6}",,,,"2123456789",,,[10]],[,,"68[57-9]\\d{7}|(?:69|94)\\d{8}",,,,"6912345678",,,[10]],[,,"800\\d{7,9}",,,,"8001234567"],[,,"90[19]\\d{7}",,,,"9091234567",,,[10]],[,,"8(?:0[16]|12|[27]5|50)\\d{7}",,,,"8011234567",,,[10]],[,,"70\\d{8}",,,,"7012345678",,,[10]],[,,,,,,,,,[-1]],"GR",30,"00",,,,,,,,[[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["21|7"]],[,"(\\d{4})(\\d{6})","$1 $2",["2(?:2|3[2-57-9]|4[2-469]|5[2-59]|6[2-9]|7[2-69]|8[2-49])|5"]],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2689]"]],[,"(\\d{3})(\\d{3,4})(\\d{5})","$1 $2 $3",["8"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"5005000\\d{3}",,,,"5005000123",,,[10]],,,[,,,,,,,,,[-1]]],GT:[,[,,"80\\d{6}|(?:1\\d{3}|[2-7])\\d{7}",,,,,,,[8,11]],[,,"[267][2-9]\\d{6}",,,,"22456789",,,[8]],[,,"(?:[3-5]\\d\\d|80[0-4])\\d{5}",,,,"51234567",,,[8]],[,,"18[01]\\d{8}",,,,"18001112222",,,[11]],[,,"19\\d{9}",,,,"19001112222",,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"GT",502,"00",,,,,,,,[[,"(\\d{4})(\\d{4})","$1 $2",["[2-8]"]],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GU:[,[,,"(?:[58]\\d\\d|671|900)\\d{7}",,,,,,,[10],[7]],[,,"671(?:2\\d\\d|3(?:00|3[39]|4[349]|55|6[26])|4(?:00|56|7[1-9]|8[02-46-9])|5(?:55|6[2-5]|88)|6(?:3[2-578]|4[24-9]|5[34]|78|8[235-9])|7(?:[0479]7|2[0167]|3[45]|8[7-9])|8(?:[2-57-9]8|6[48])|9(?:2[29]|6[79]|7[1279]|8[7-9]|9[78]))\\d{4}",,,,"6713001234",,,,[7]],[,,"671(?:2\\d\\d|3(?:00|3[39]|4[349]|55|6[26])|4(?:00|56|7[1-9]|8[02-46-9])|5(?:55|6[2-5]|88)|6(?:3[2-578]|4[24-9]|5[34]|78|8[235-9])|7(?:[0479]7|2[0167]|3[45]|8[7-9])|8(?:[2-57-9]8|6[48])|9(?:2[29]|6[79]|7[1279]|8[7-9]|9[78]))\\d{4}",,,,"6713001234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"GU",1,"011","1",,,"([2-9]\\d{6})$|1","671$1",,1,,,[,,,,,,,,,[-1]],,"671",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GW:[,[,,"[49]\\d{8}|4\\d{6}",,,,,,,[7,9]],[,,"443\\d{6}",,,,"443201234",,,[9]],[,,"9(?:5\\d|6[569]|77)\\d{6}",,,,"955012345",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"40\\d{5}",,,,"4012345",,,[7]],"GW",245,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["40"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[49]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GY:[,[,,"(?:[2-8]\\d{3}|9008)\\d{3}",,,,,,,[7]],[,,"(?:2(?:1[6-9]|2[0-35-9]|3[1-4]|5[3-9]|6\\d|7[0-79])|3(?:2[25-9]|3\\d)|4(?:4[0-24]|5[56])|50[0-6]|77[1-57])\\d{4}",,,,"2201234"],[,,"(?:510|6\\d\\d|7(?:0\\d|1[0-8]|25|49))\\d{4}",,,,"6091234"],[,,"(?:289|8(?:00|6[28]|88|99))\\d{4}",,,,"2891234"],[,,"9008\\d{3}",,,,"9008123"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"515\\d{4}",,,,"5151234"],"GY",592,"001",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],HK:[,[,,"8[0-46-9]\\d{6,7}|9\\d{4,7}|(?:[2-7]|9\\d{3})\\d{7}",,,,,,,[5,6,7,8,9,11]],[,,"(?:2(?:[13-9]\\d|2[013-9])\\d|3(?:(?:[1569][0-24-9]|4[0-246-9]|7[0-24-69])\\d|8(?:4[0-8]|[59]\\d|6[01]))|58(?:0[1-9]|1[2-9]))\\d{4}",,,,"21234567",,,[8]],[,,"(?:4(?:44[5-9]|6(?:1[0-7]|4[0-57-9]|6[0-4]))|5(?:73[0-6]|95[0-8])|6(?:26[013-8]|66[0-3])|70(?:7[1-6]|8[0-4])|848[0-25-9]|9(?:29[013-9]|59[0-4]|899))\\d{4}|(?:4(?:4[015]|6[02357-9])|5(?:[1-59][0-46-9]|6[0-4689]|7[0-246-9])|6(?:0[1-9]|[13-59]\\d|[268][0-57-9]|7[0-79])|84[09]|9(?:0[1-9]|1[02-9]|[2358][0-8]|[467]\\d))\\d{5}",,,,"51234567",,,[8]],[,,"800\\d{6}",,,,"800123456",,,[9]],[,,"900(?:[0-24-9]\\d{7}|3\\d{1,4})",,,,"90012345678",,,[5,6,7,8,11]],[,,,,,,,,,[-1]],[,,"8(?:1[0-4679]\\d|2(?:[0-36]\\d|7[0-4])|3(?:[034]\\d|2[09]|70))\\d{4}",,,,"81123456",,,[8]],[,,,,,,,,,[-1]],"HK",852,"00(?:30|5[09]|[126-9]?)",,,,,,"00",,[[,"(\\d{3})(\\d{2,5})","$1 $2",["900","9003"]],[,"(\\d{4})(\\d{4})","$1 $2",["[2-7]|8[1-4]|9(?:0[1-9]|[1-8])"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]],[,"(\\d{3})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]]],,[,,"7(?:1(?:0[0-38]|1[0-3679]|3[013]|69|9[0136])|2(?:[02389]\\d|1[18]|7[27-9])|3(?:[0-38]\\d|7[0-369]|9[2357-9])|47\\d|5(?:[178]\\d|5[0-5])|6(?:0[0-7]|2[236-9]|[35]\\d)|7(?:[27]\\d|8[7-9])|8(?:[23689]\\d|7[1-9])|9(?:[025]\\d|6[0-246-8]|7[0-36-9]|8[238]))\\d{4}",,,,"71123456",,,[8]],,,[,,,,,,,,,[-1]],[,,"30(?:0[1-9]|[15-7]\\d|2[047]|89)\\d{4}",,,,"30161234",,,[8]],,,[,,,,,,,,,[-1]]],HN:[,[,,"8\\d{10}|[237-9]\\d{7}",,,,,,,[8,11]],[,,"2(?:2(?:0[0-59]|1[1-9]|[23]\\d|4[02-6]|5[57]|6[245]|7[0135689]|8[01346-9]|9[0-2])|4(?:0[578]|2[3-59]|3[13-9]|4[0-68]|5[1-3589])|5(?:0[2357-9]|1[1-356]|4[03-5]|5\\d|6[014-69]|7[04]|80)|6(?:[056]\\d|17|2[067]|3[047]|4[0-378]|[78][0-8]|9[01])|7(?:0[5-79]|6[46-9]|7[02-9]|8[034]|91)|8(?:79|8[0-357-9]|9[1-57-9]))\\d{4}",,,,"22123456",,,[8]],[,,"[37-9]\\d{7}",,,,"91234567",,,[8]],[,,"8002\\d{7}",,,,"80021234567",,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"HN",504,"00",,,,,,,,[[,"(\\d{4})(\\d{4})","$1-$2",["[237-9]"]],[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["8"]]],[[,"(\\d{4})(\\d{4})","$1-$2",["[237-9]"]]],[,,,,,,,,,[-1]],,,[,,"8002\\d{7}",,,,,,,[11]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],HR:[,[,,"(?:[24-69]\\d|3[0-79])\\d{7}|80\\d{5,7}|[1-79]\\d{7}|6\\d{5,6}",,,,,,,[6,7,8,9]],[,,"1\\d{7}|(?:2[0-3]|3[1-5]|4[02-47-9]|5[1-3])\\d{6,7}",,,,"12345678",,,[8,9],[6,7]],[,,"9(?:(?:0[1-9]|[12589]\\d)\\d\\d|7(?:[0679]\\d\\d|5(?:[01]\\d|44|77|9[5-7])))\\d{4}|98\\d{6}",,,,"921234567",,,[8,9]],[,,"80\\d{5,7}",,,,"800123456",,,[7,8,9]],[,,"6[01459]\\d{6}|6[01]\\d{4,5}",,,,"611234",,,[6,7,8]],[,,,,,,,,,[-1]],[,,"7[45]\\d{6}",,,,"74123456",,,[8]],[,,,,,,,,,[-1]],"HR",385,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{2})(\\d{2,3})","$1 $2 $3",["6[01]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["8"],"0$1"],[,"(\\d)(\\d{4})(\\d{3})","$1 $2 $3",["1"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[67]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["9"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-5]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"62\\d{6,7}|72\\d{6}",,,,"62123456",,,[8,9]],,,[,,,,,,,,,[-1]]],HT:[,[,,"(?:[2-489]\\d|55)\\d{6}",,,,,,,[8]],[,,"2(?:2\\d|5[1-5]|81|9[149])\\d{5}",,,,"22453300"],[,,"(?:[34]\\d|55)\\d{6}",,,,"34101234"],[,,"8\\d{7}",,,,"80012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"9(?:[67][0-4]|8[0-3589]|9\\d)\\d{5}",,,,"98901234"],"HT",509,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["[2-589]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],HU:[,[,,"[235-7]\\d{8}|[1-9]\\d{7}",,,,,,,[8,9],[6,7]],[,,"(?:1\\d|[27][2-9]|3[2-7]|4[24-9]|5[2-79]|6[23689]|8[2-57-9]|9[2-69])\\d{6}",,,,"12345678",,,[8],[6,7]],[,,"(?:[257]0|3[01])\\d{7}",,,,"201234567",,,[9]],[,,"(?:[48]0\\d|680[29])\\d{5}",,,,"80123456"],[,,"9[01]\\d{6}",,,,"90123456",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"21\\d{7}",,,,"211234567",,,[9]],"HU",36,"00","06",,,"06",,,,[[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["1"],"(06 $1)"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[27][2-9]|3[2-7]|4[24-9]|5[2-79]|6|8[2-57-9]|9[2-69]"],"(06 $1)"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-9]"],"06 $1"]],,[,,,,,,,,,[-1]],,,[,,"(?:[48]0\\d|680[29])\\d{5}"],[,,"38\\d{7}",,,,"381234567",,,[9]],,,[,,,,,,,,,[-1]]],ID:[,[,,"(?:(?:00[1-9]|8\\d)\\d{4}|[1-36])\\d{6}|00\\d{10}|[1-9]\\d{8,10}|[2-9]\\d{7}",,,,,,,[7,8,9,10,11,12,13],[5,6]],[,,"2[124]\\d{7,8}|619\\d{8}|2(?:1(?:14|500)|2\\d{3})\\d{3}|61\\d{5,8}|(?:2(?:[35][1-4]|6[0-8]|7[1-6]|8\\d|9[1-8])|3(?:1|[25][1-8]|3[1-68]|4[1-3]|6[1-3568]|7[0-469]|8\\d)|4(?:0[1-589]|1[01347-9]|2[0-36-8]|3[0-24-68]|43|5[1-378]|6[1-5]|7[134]|8[1245])|5(?:1[1-35-9]|2[25-8]|3[124-9]|4[1-3589]|5[1-46]|6[1-8])|6(?:[25]\\d|3[1-69]|4[1-6])|7(?:02|[125][1-9]|[36]\\d|4[1-8]|7[0-36-9])|9(?:0[12]|1[013-8]|2[0-479]|5[125-8]|6[23679]|7[159]|8[01346]))\\d{5,8}",,,,"218350123",,,[7,8,9,10,11],[5,6]],[,,"8[1-35-9]\\d{7,10}",,,,"812345678",,,[9,10,11,12]],[,,"00[17]803\\d{7}|(?:177\\d|800)\\d{5,7}|001803\\d{6}",,,,"8001234567",,,[8,9,10,11,12,13]],[,,"809\\d{7}",,,,"8091234567",,,[10]],[,,"804\\d{7}",,,,"8041234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"ID",62,"00[89]","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["15"]],[,"(\\d{2})(\\d{5,9})","$1 $2",["2[124]|[36]1"],"(0$1)"],[,"(\\d{3})(\\d{5,7})","$1 $2",["800"],"0$1"],[,"(\\d{3})(\\d{5,8})","$1 $2",["[2-79]"],"(0$1)"],[,"(\\d{3})(\\d{3,4})(\\d{3})","$1-$2-$3",["8[1-35-9]"],"0$1"],[,"(\\d{3})(\\d{6,8})","$1 $2",["1"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["804"],"0$1"],[,"(\\d{3})(\\d)(\\d{3})(\\d{3})","$1 $2 $3 $4",["80"],"0$1"],[,"(\\d{3})(\\d{4})(\\d{4,5})","$1-$2-$3",["8"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["001"]],[,"(\\d{2})(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3 $4",["0"]]],[[,"(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["15"]],[,"(\\d{2})(\\d{5,9})","$1 $2",["2[124]|[36]1"],"(0$1)"],[,"(\\d{3})(\\d{5,7})","$1 $2",["800"],"0$1"],[,"(\\d{3})(\\d{5,8})","$1 $2",["[2-79]"],"(0$1)"],[,"(\\d{3})(\\d{3,4})(\\d{3})","$1-$2-$3",["8[1-35-9]"],"0$1"],[,"(\\d{3})(\\d{6,8})","$1 $2",["1"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["804"],"0$1"],[,"(\\d{3})(\\d)(\\d{3})(\\d{3})","$1 $2 $3 $4",["80"],"0$1"],[,"(\\d{3})(\\d{4})(\\d{4,5})","$1-$2-$3",["8"],"0$1"]],[,,,,,,,,,[-1]],,,[,,"001803\\d{6,7}|(?:007803\\d|8071)\\d{6}",,,,,,,[10,12,13]],[,,"(?:1500|8071\\d{3})\\d{3}",,,,"8071123456",,,[7,10]],,,[,,,,,,,,,[-1]]],IE:[,[,,"(?:1\\d|[2569])\\d{6,8}|4\\d{6,9}|7\\d{8}|8\\d{8,9}",,,,,,,[7,8,9,10],[5,6]],[,,"(?:1\\d|21)\\d{6,7}|(?:2[24-9]|4(?:0[24]|5\\d|7)|5(?:0[45]|1\\d|8)|6(?:1\\d|[237-9])|9(?:1\\d|[35-9]))\\d{5}|(?:23|4(?:[1-469]|8\\d)|5[23679]|6[4-6]|7[14]|9[04])\\d{7}",,,,"2212345",,,,[5,6]],[,,"8(?:22|[35-9]\\d)\\d{6}",,,,"850123456",,,[9]],[,,"1800\\d{6}",,,,"1800123456",,,[10]],[,,"15(?:1[2-8]|[2-8]0|9[089])\\d{6}",,,,"1520123456",,,[10]],[,,"18[59]0\\d{6}",,,,"1850123456",,,[10]],[,,"700\\d{6}",,,,"700123456",,,[9]],[,,"76\\d{7}",,,,"761234567",,,[9]],"IE",353,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{5})","$1 $2",["2[24-9]|47|58|6[237-9]|9[35-9]"],"(0$1)"],[,"(\\d{3})(\\d{5})","$1 $2",["[45]0"],"(0$1)"],[,"(\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["1"],"(0$1)"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2569]|4[1-69]|7[14]"],"(0$1)"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["70"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["81"],"(0$1)"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[78]"],"0$1"],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["4"],"(0$1)"],[,"(\\d{2})(\\d)(\\d{3})(\\d{4})","$1 $2 $3 $4",["8"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,"18[59]0\\d{6}",,,,,,,[10]],[,,"818\\d{6}",,,,"818123456",,,[9]],,,[,,"88210[1-9]\\d{4}|8(?:[35-79]5\\d\\d|8(?:[013-9]\\d\\d|2(?:[01][1-9]|[2-9]\\d)))\\d{5}",,,,"8551234567",,,[10]]],IL:[,[,,"1\\d{6}(?:\\d{3,5})?|[57]\\d{8}|[1-489]\\d{7}",,,,,,,[7,8,9,10,11,12]],[,,"153\\d{8,9}|29[1-9]\\d{5}|(?:2[0-8]|[3489]\\d)\\d{6}",,,,"21234567",,,[8,11,12],[7]],[,,"55410\\d{4}|5(?:(?:[02][02-9]|[149][2-9]|[36]\\d|8[3-7])\\d|5(?:01|2\\d|3[0-3]|4[34]|5[0-25689]|6[6-8]|7[0-267]|8[7-9]|9[1-9]))\\d{5}",,,,"502345678",,,[9]],[,,"1(?:255|80[019]\\d{3})\\d{3}",,,,"1800123456",,,[7,10]],[,,"1212\\d{4}|1(?:200|9(?:0[0-2]|19))\\d{6}",,,,"1919123456",,,[8,10]],[,,"1700\\d{6}",,,,"1700123456",,,[10]],[,,,,,,,,,[-1]],[,,"7(?:38(?:0\\d|5[09]|88)|8(?:33|55|77|81)\\d)\\d{4}|7(?:18|2[23]|3[237]|47|6[258]|7\\d|82|9[2-9])\\d{6}",,,,"771234567",,,[9]],"IL",972,"0(?:0|1[2-9])","0",,,"0",,,,[[,"(\\d{4})(\\d{3})","$1-$2",["125"]],[,"(\\d{4})(\\d{2})(\\d{2})","$1-$2-$3",["121"]],[,"(\\d)(\\d{3})(\\d{4})","$1-$2-$3",["[2-489]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["[57]"],"0$1"],[,"(\\d{4})(\\d{3})(\\d{3})","$1-$2-$3",["12"]],[,"(\\d{4})(\\d{6})","$1-$2",["159"]],[,"(\\d)(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3-$4",["1[7-9]"]],[,"(\\d{3})(\\d{1,2})(\\d{3})(\\d{4})","$1-$2 $3-$4",["15"]]],,[,,,,,,,,,[-1]],,,[,,"1700\\d{6}",,,,,,,[10]],[,,"1599\\d{6}",,,,"1599123456",,,[10]],,,[,,"151\\d{8,9}",,,,"15112340000",,,[11,12]]],IM:[,[,,"1624\\d{6}|(?:[3578]\\d|90)\\d{8}",,,,,,,[10],[6]],[,,"1624(?:230|[5-8]\\d\\d)\\d{3}",,,,"1624756789",,,,[6]],[,,"76245[06]\\d{4}|7(?:4576|[59]24\\d|624[0-4689])\\d{5}",,,,"7924123456"],[,,"808162\\d{4}",,,,"8081624567"],[,,"8(?:440[49]06|72299\\d)\\d{3}|(?:8(?:45|70)|90[0167])624\\d{4}",,,,"9016247890"],[,,,,,,,,,[-1]],[,,"70\\d{8}",,,,"7012345678"],[,,"56\\d{8}",,,,"5612345678"],"IM",44,"00","0",,,"([25-8]\\d{5})$|0","1624$1",,,,,[,,,,,,,,,[-1]],,"74576|(?:16|7[56])24",[,,,,,,,,,[-1]],[,,"3440[49]06\\d{3}|(?:3(?:08162|3\\d{4}|45624|7(?:0624|2299))|55\\d{4})\\d{4}",,,,"5512345678"],,,[,,,,,,,,,[-1]]],IN:[,[,,"(?:000800|[2-9]\\d\\d)\\d{7}|1\\d{7,12}",,,,,,,[8,9,10,11,12,13],[6,7]],[,,"2717(?:[2-7]\\d|95)\\d{4}|(?:271[0-689]|782[0-6])[2-7]\\d{5}|(?:170[24]|2(?:(?:[02][2-79]|90)\\d|80[13468])|(?:3(?:23|80)|683|79[1-7])\\d|4(?:20[24]|72[2-8])|552[1-7])\\d{6}|(?:11|33|4[04]|80)[2-7]\\d{7}|(?:342|674|788)(?:[0189][2-7]|[2-7]\\d)\\d{5}|(?:1(?:2[0-249]|3[0-25]|4[145]|[59][14]|6[014]|7[1257]|8[01346])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568]|9[14])|3(?:26|4[13]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[014-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|2[14]|3[134]|4[47]|5[15]|[67]1)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91))[2-7]\\d{6}|(?:1(?:2[35-8]|3[346-9]|4[236-9]|[59][0235-9]|6[235-9]|7[34689]|8[257-9])|2(?:1[134689]|3[24-8]|4[2-8]|5[25689]|6[2-4679]|7[3-79]|8[2-479]|9[235-9])|3(?:01|1[79]|2[1245]|4[5-8]|5[125689]|6[235-7]|7[157-9]|8[2-46-8])|4(?:1[14578]|2[5689]|3[2-467]|5[4-7]|6[35]|73|8[2689]|9[2389])|5(?:[16][146-9]|2[14-8]|3[1346]|4[14-69]|5[46]|7[2-4]|8[2-8]|9[246])|6(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[124-6])|7(?:1[013-9]|2[0235-9]|3[2679]|4[1-35689]|5[2-46-9]|[67][02-9]|8[013-7]|9[089])|8(?:1[1357-9]|2[235-8]|3[03-57-9]|4[0-24-9]|5\\d|6[2457-9]|7[1-6]|8[1256]|9[2-4]))\\d[2-7]\\d{5}",,,,"7410410123",,,[10],[6,7,8]],[,,"(?:61279|7(?:887[02-9]|9(?:313|79[07-9]))|8(?:079[04-9]|(?:84|91)7[02-8]))\\d{5}|(?:6(?:12|[2-47]1|5[17]|6[13]|80)[0189]|7(?:1(?:2[0189]|9[0-5])|2(?:[14][017-9]|8[0-59])|3(?:2[5-8]|[34][017-9]|9[016-9])|4(?:1[015-9]|[29][89]|39|8[389])|5(?:[15][017-9]|2[04-9]|9[7-9])|6(?:0[0-47]|1[0-257-9]|2[0-4]|3[19]|5[4589])|70[0289]|88[089]|97[02-8])|8(?:0(?:6[67]|7[02-8])|70[017-9]|84[01489]|91[0-289]))\\d{6}|(?:7(?:31|4[47])|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[0189]\\d|7[02-8])\\d{5}|(?:6(?:[09]\\d|1[04679]|2[03689]|3[05-9]|4[0489]|50|6[069]|7[07]|8[7-9])|7(?:0\\d|2[0235-79]|3[05-8]|40|5[0346-8]|6[6-9]|7[1-9]|8[0-79]|9[089])|8(?:0[01589]|1[0-57-9]|2[235-9]|3[03-57-9]|[45]\\d|6[02457-9]|7[1-69]|8[0-25-9]|9[02-9])|9\\d\\d)\\d{7}|(?:6(?:(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|8[124-6])\\d|7(?:[235689]\\d|4[0189]))|7(?:1(?:[013-8]\\d|9[6-9])|28[6-8]|3(?:2[0-49]|9[2-5])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]\\d|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\d|5[0-367])|70[13-7]|881))[0189]\\d{5}",,,,"8123456789",,,[10]],[,,"000800\\d{7}|1(?:600\\d{6}|80(?:0\\d{4,9}|3\\d{9}))",,,,"1800123456"],[,,"186[12]\\d{9}",,,,"1861123456789",,,[13]],[,,"1860\\d{7}",,,,"18603451234",,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"IN",91,"00","0",,,"0",,,,[[,"(\\d{7})","$1",["575"]],[,"(\\d{8})","$1",["5(?:0|2[23]|3[03]|[67]1|88)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|888)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|8888)"],,,1],[,"(\\d{4})(\\d{4,5})","$1 $2",["180","1800"],,,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["140"],,,1],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["11|2[02]|33|4[04]|79[1-7]|80[2-46]","11|2[02]|33|4[04]|79(?:[1-6]|7[19])|80(?:[2-4]|6[0-589])","11|2[02]|33|4[04]|79(?:[124-6]|3(?:[02-9]|1[0-24-9])|7(?:1|9[1-6]))|80(?:[2-4]|6[0-589])"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1(?:2[0-249]|3[0-25]|4[145]|[68]|7[1257])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|5[12]|[78]1)|6(?:12|[2-4]1|5[17]|6[13]|80)|7(?:12|3[134]|4[47]|61|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91)|(?:43|59|75)[15]|(?:1[59]|29|67|72)[14]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|674|7(?:(?:2[14]|3[34]|5[15])[2-6]|61[346]|88[0-8])|8(?:70[2-6]|84[235-7]|91[3-7])|(?:1(?:29|60|8[06])|261|552|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|31|4[47])|8(?:16|2[014]|3[126]|6[136]|7[78]|83))[2-7]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12(?:[2-6]|7[0-8])|74[2-7])|7(?:(?:2[14]|5[15])[2-6]|3171|61[346]|88(?:[2-7]|82))|8(?:70[2-6]|84(?:[2356]|7[19])|91(?:[3-6]|7[19]))|73[134][2-6]|(?:74[47]|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[2-6]|7[19])|(?:1(?:29|60|8[06])|261|552|6(?:[2-4]1|5[17]|6[13]|7(?:1|4[0189])|80)|7(?:12|88[01]))[2-7]"],"0$1",,1],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2[2457-9]|3[2-5]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1[013-9]|28|3[129]|4[1-35689]|5[29]|6[02-5]|70)|807","1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2(?:[2457]|84|95)|3(?:[2-4]|55)|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1(?:[013-8]|9[6-9])|28[6-8]|3(?:17|2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4|5[0-367])|70[13-7])|807[19]","1(?:[2-479]|5(?:[0236-9]|5[013-9]))|[2-5]|6(?:2(?:84|95)|355|83)|73179|807(?:1|9[1-3])|(?:1552|6(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[124-6])\\d|7(?:1(?:[013-8]\\d|9[6-9])|28[6-8]|3(?:2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]\\d|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\d|5[0-367])|70[13-7]))[2-7]"],"0$1",,1],[,"(\\d{5})(\\d{5})","$1 $2",["[6-9]"],"0$1",,1],[,"(\\d{4})(\\d{2,4})(\\d{4})","$1 $2 $3",["1(?:6|8[06])","1(?:6|8[06]0)"],,,1],[,"(\\d{3})(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3 $4",["0"]],[,"(\\d{4})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["18"],,,1]],[[,"(\\d{8})","$1",["5(?:0|2[23]|3[03]|[67]1|88)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|888)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|8888)"],,,1],[,"(\\d{4})(\\d{4,5})","$1 $2",["180","1800"],,,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["140"],,,1],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["11|2[02]|33|4[04]|79[1-7]|80[2-46]","11|2[02]|33|4[04]|79(?:[1-6]|7[19])|80(?:[2-4]|6[0-589])","11|2[02]|33|4[04]|79(?:[124-6]|3(?:[02-9]|1[0-24-9])|7(?:1|9[1-6]))|80(?:[2-4]|6[0-589])"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1(?:2[0-249]|3[0-25]|4[145]|[68]|7[1257])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|5[12]|[78]1)|6(?:12|[2-4]1|5[17]|6[13]|80)|7(?:12|3[134]|4[47]|61|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91)|(?:43|59|75)[15]|(?:1[59]|29|67|72)[14]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|674|7(?:(?:2[14]|3[34]|5[15])[2-6]|61[346]|88[0-8])|8(?:70[2-6]|84[235-7]|91[3-7])|(?:1(?:29|60|8[06])|261|552|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|31|4[47])|8(?:16|2[014]|3[126]|6[136]|7[78]|83))[2-7]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12(?:[2-6]|7[0-8])|74[2-7])|7(?:(?:2[14]|5[15])[2-6]|3171|61[346]|88(?:[2-7]|82))|8(?:70[2-6]|84(?:[2356]|7[19])|91(?:[3-6]|7[19]))|73[134][2-6]|(?:74[47]|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[2-6]|7[19])|(?:1(?:29|60|8[06])|261|552|6(?:[2-4]1|5[17]|6[13]|7(?:1|4[0189])|80)|7(?:12|88[01]))[2-7]"],"0$1",,1],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2[2457-9]|3[2-5]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1[013-9]|28|3[129]|4[1-35689]|5[29]|6[02-5]|70)|807","1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2(?:[2457]|84|95)|3(?:[2-4]|55)|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1(?:[013-8]|9[6-9])|28[6-8]|3(?:17|2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4|5[0-367])|70[13-7])|807[19]","1(?:[2-479]|5(?:[0236-9]|5[013-9]))|[2-5]|6(?:2(?:84|95)|355|83)|73179|807(?:1|9[1-3])|(?:1552|6(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[124-6])\\d|7(?:1(?:[013-8]\\d|9[6-9])|28[6-8]|3(?:2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]\\d|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\d|5[0-367])|70[13-7]))[2-7]"],"0$1",,1],[,"(\\d{5})(\\d{5})","$1 $2",["[6-9]"],"0$1",,1],[,"(\\d{4})(\\d{2,4})(\\d{4})","$1 $2 $3",["1(?:6|8[06])","1(?:6|8[06]0)"],,,1],[,"(\\d{4})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["18"],,,1]],[,,,,,,,,,[-1]],,,[,,"1(?:600\\d{6}|800\\d{4,9})|(?:000800|18(?:03\\d\\d|6(?:0|[12]\\d\\d)))\\d{7}"],[,,"140\\d{7}",,,,"1409305260",,,[10]],,,[,,,,,,,,,[-1]]],IO:[,[,,"3\\d{6}",,,,,,,[7]],[,,"37\\d{5}",,,,"3709100"],[,,"38\\d{5}",,,,"3801234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"IO",246,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["3"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],IQ:[,[,,"(?:1|7\\d\\d)\\d{7}|[2-6]\\d{7,8}",,,,,,,[8,9,10],[6,7]],[,,"1\\d{7}|(?:2[13-5]|3[02367]|4[023]|5[03]|6[026])\\d{6,7}",,,,"12345678",,,[8,9],[6,7]],[,,"7[3-9]\\d{8}",,,,"7912345678",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"IQ",964,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-6]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],IR:[,[,,"[1-9]\\d{9}|(?:[1-8]\\d\\d|9)\\d{3,4}",,,,,,,[4,5,6,7,10],[8]],[,,"(?:1[137]|2[13-68]|3[1458]|4[145]|5[1468]|6[16]|7[1467]|8[13467])(?:[03-57]\\d{7}|[16]\\d{3}(?:\\d{4})?|[289]\\d{3}(?:\\d(?:\\d{3})?)?)|94(?:000[09]|2(?:121|[2689]0\\d)|30[0-2]\\d|4(?:111|40\\d))\\d{4}",,,,"2123456789",,,[6,7,10],[4,5,8]],[,,"9(?:(?:0(?:[0-35]\\d|4[4-6])|(?:[13]\\d|2[0-3])\\d)\\d|9(?:[0-46]\\d\\d|5[15]0|8(?:[12]\\d|88)|9(?:0[0-3]|[19]\\d|21|69|77|8[7-9])))\\d{5}",,,,"9123456789",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"IR",98,"00","0",,,"0",,,,[[,"(\\d{4,5})","$1",["96"],"0$1"],[,"(\\d{2})(\\d{4,5})","$1 $2",["(?:1[137]|2[13-68]|3[1458]|4[145]|5[1468]|6[16]|7[1467]|8[13467])[12689]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["9"],"0$1"],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["[1-8]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,"9(?:4440\\d{5}|6(?:0[12]|2[16-8]|3(?:08|[14]5|[23]|66)|4(?:0|80)|5[01]|6[89]|86|9[19]))",,,,,,,[4,5,10]],[,,"96(?:0[12]|2[16-8]|3(?:08|[14]5|[23]|66)|4(?:0|80)|5[01]|6[89]|86|9[19])",,,,"9601",,,[4,5]],,,[,,,,,,,,,[-1]]],IS:[,[,,"(?:38\\d|[4-9])\\d{6}",,,,,,,[7,9]],[,,"(?:4(?:1[0-24-69]|2[0-7]|[37][0-8]|4[0-24589]|5[0-68]|6\\d|8[0-36-8])|5(?:05|[156]\\d|2[02578]|3[0-579]|4[03-7]|7[0-2578]|8[0-35-9]|9[013-689])|872)\\d{4}",,,,"4101234",,,[7]],[,,"(?:38[589]\\d\\d|6(?:1[1-8]|2[0-6]|3[026-9]|4[014679]|5[0159]|6[0-69]|70|8[06-8]|9\\d)|7(?:5[057]|[6-9]\\d)|8(?:2[0-59]|[3-69]\\d|8[238]))\\d{4}",,,,"6111234"],[,,"80[0-8]\\d{4}",,,,"8001234",,,[7]],[,,"90(?:0\\d|1[5-79]|2[015-79]|3[135-79]|4[125-7]|5[25-79]|7[1-37]|8[0-35-7])\\d{3}",,,,"9001234",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"49[0-24-79]\\d{4}",,,,"4921234",,,[7]],"IS",354,"00|1(?:0(?:01|[12]0)|100)",,,,,,"00",,[[,"(\\d{3})(\\d{4})","$1 $2",["[4-9]"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["3"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"809\\d{4}",,,,"8091234",,,[7]],,,[,,"(?:689|8(?:7[18]|80)|95[48])\\d{4}",,,,"6891234",,,[7]]],IT:[,[,,"0\\d{5,10}|1\\d{8,10}|3(?:[0-8]\\d{7,10}|9\\d{7,8})|(?:55|70)\\d{8}|8\\d{5}(?:\\d{2,4})?",,,,,,,[6,7,8,9,10,11,12]],[,,"0669[0-79]\\d{1,6}|0(?:1(?:[0159]\\d|[27][1-5]|31|4[1-4]|6[1356]|8[2-57])|2\\d\\d|3(?:[0159]\\d|2[1-4]|3[12]|[48][1-6]|6[2-59]|7[1-7])|4(?:[0159]\\d|[23][1-9]|4[245]|6[1-5]|7[1-4]|81)|5(?:[0159]\\d|2[1-5]|3[2-6]|4[1-79]|6[4-6]|7[1-578]|8[3-8])|6(?:[0-57-9]\\d|6[0-8])|7(?:[0159]\\d|2[12]|3[1-7]|4[2-46]|6[13569]|7[13-6]|8[1-59])|8(?:[0159]\\d|2[3-578]|3[1-356]|[6-8][1-5])|9(?:[0159]\\d|[238][1-5]|4[12]|6[1-8]|7[1-6]))\\d{2,7}",,,,"0212345678",,,[6,7,8,9,10,11]],[,,"3[1-9]\\d{8}|3[2-9]\\d{7}",,,,"3123456789",,,[9,10]],[,,"80(?:0\\d{3}|3)\\d{3}",,,,"800123456",,,[6,9]],[,,"(?:0878\\d{3}|89(?:2\\d|3[04]|4(?:[0-4]|[5-9]\\d\\d)|5[0-4]))\\d\\d|(?:1(?:44|6[346])|89(?:38|5[5-9]|9))\\d{6}",,,,"899123456",,,[6,8,9,10]],[,,"84(?:[08]\\d{3}|[17])\\d{3}",,,,"848123456",,,[6,9]],[,,"1(?:78\\d|99)\\d{6}",,,,"1781234567",,,[9,10]],[,,"55\\d{8}",,,,"5512345678",,,[10]],"IT",39,"00",,,,,,,,[[,"(\\d{4,5})","$1",["1(?:0|9[246])","1(?:0|9(?:2[2-9]|[46]))"]],[,"(\\d{6})","$1",["1(?:1|92)"]],[,"(\\d{2})(\\d{4,6})","$1 $2",["0[26]"]],[,"(\\d{3})(\\d{3,6})","$1 $2",["0[13-57-9][0159]|8(?:03|4[17]|9[2-5])","0[13-57-9][0159]|8(?:03|4[17]|9(?:2|3[04]|[45][0-4]))"]],[,"(\\d{4})(\\d{2,6})","$1 $2",["0(?:[13-579][2-46-8]|8[236-8])"]],[,"(\\d{4})(\\d{4})","$1 $2",["894"]],[,"(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[26]|5"]],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["1(?:44|[679])|[378]"]],[,"(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[13-57-9][0159]|14"]],[,"(\\d{2})(\\d{4})(\\d{5})","$1 $2 $3",["0[26]"]],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]],[,"(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["3"]]],[[,"(\\d{2})(\\d{4,6})","$1 $2",["0[26]"]],[,"(\\d{3})(\\d{3,6})","$1 $2",["0[13-57-9][0159]|8(?:03|4[17]|9[2-5])","0[13-57-9][0159]|8(?:03|4[17]|9(?:2|3[04]|[45][0-4]))"]],[,"(\\d{4})(\\d{2,6})","$1 $2",["0(?:[13-579][2-46-8]|8[236-8])"]],[,"(\\d{4})(\\d{4})","$1 $2",["894"]],[,"(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[26]|5"]],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["1(?:44|[679])|[378]"]],[,"(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[13-57-9][0159]|14"]],[,"(\\d{2})(\\d{4})(\\d{5})","$1 $2 $3",["0[26]"]],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]],[,"(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["3"]]],[,,,,,,,,,[-1]],1,,[,,"848\\d{6}",,,,,,,[9]],[,,,,,,,,,[-1]],,,[,,"3[2-8]\\d{9,10}",,,,"33101234501",,,[11,12]]],JE:[,[,,"1534\\d{6}|(?:[3578]\\d|90)\\d{8}",,,,,,,[10],[6]],[,,"1534[0-24-8]\\d{5}",,,,"1534456789",,,,[6]],[,,"7(?:(?:(?:50|82)9|937)\\d|7(?:00[378]|97[7-9]))\\d{5}",,,,"7797712345"],[,,"80(?:07(?:35|81)|8901)\\d{4}",,,,"8007354567"],[,,"(?:8(?:4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|90(?:066[59]|1810|71(?:07|55)))\\d{4}",,,,"9018105678"],[,,,,,,,,,[-1]],[,,"701511\\d{4}",,,,"7015115678"],[,,"56\\d{8}",,,,"5612345678"],"JE",44,"00","0",,,"([0-24-8]\\d{5})$|0","1534$1",,,,,[,,"76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}",,,,"7640123456"],,,[,,,,,,,,,[-1]],[,,"(?:3(?:0(?:07(?:35|81)|8901)|3\\d{4}|4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|55\\d{4})\\d{4}",,,,"5512345678"],,,[,,,,,,,,,[-1]]],JM:[,[,,"(?:[58]\\d\\d|658|900)\\d{7}",,,,,,,[10],[7]],[,,"8766060\\d{3}|(?:658(?:2(?:[0-8]\\d|9[0-46-9])|[3-9]\\d\\d)|876(?:52[35]|6(?:0[1-3579]|1[0235-9]|[23]\\d|40|5[06]|6[2-589]|7[0-25-9]|8[04]|9[4-9])|7(?:0[2-689]|[1-6]\\d|8[056]|9[45])|9(?:0[1-8]|1[02378]|[2-8]\\d|9[2-468])))\\d{4}",,,,"8765230123",,,,[7]],[,,"(?:658295|876(?:2(?:0[1-9]|[13-9]\\d|2[013-9])|[348]\\d\\d|5(?:0[1-9]|[1-9]\\d)|6(?:4[89]|6[67])|7(?:0[07]|7\\d|8[1-47-9]|9[0-36-9])|9(?:[01]9|9[0579])))\\d{4}",,,,"8762101234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"JM",1,"011","1",,,"1",,,,,,[,,,,,,,,,[-1]],,"658|876",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],JO:[,[,,"(?:(?:[2689]|7\\d)\\d|32|53)\\d{6}",,,,,,,[8,9]],[,,"87(?:000|90[01])\\d{3}|(?:2(?:6(?:2[0-35-9]|3[0-578]|4[24-7]|5[0-24-8]|[6-8][023]|9[0-3])|7(?:0[1-79]|10|2[014-7]|3[0-689]|4[019]|5[0-3578]))|32(?:0[1-69]|1[1-35-7]|2[024-7]|3\\d|4[0-3]|[5-7][023])|53(?:0[0-3]|[13][023]|2[0-59]|49|5[0-35-9]|6[15]|7[45]|8[1-6]|9[0-36-9])|6(?:2(?:[05]0|22)|3(?:00|33)|4(?:0[0-25]|1[2-7]|2[0569]|[38][07-9]|4[025689]|6[0-589]|7\\d|9[0-2])|5(?:[01][056]|2[034]|3[0-57-9]|4[178]|5[0-69]|6[0-35-9]|7[1-379]|8[0-68]|9[0239]))|87(?:20|7[078]|99))\\d{4}",,,,"62001234",,,[8]],[,,"7(?:[78][0-25-9]|9\\d)\\d{6}",,,,"790123456",,,[9]],[,,"80\\d{6}",,,,"80012345",,,[8]],[,,"9\\d{7}",,,,"90012345",,,[8]],[,,"85\\d{6}",,,,"85012345",,,[8]],[,,"70\\d{7}",,,,"700123456",,,[9]],[,,,,,,,,,[-1]],"JO",962,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2356]|87"],"(0$1)"],[,"(\\d{3})(\\d{5,6})","$1 $2",["[89]"],"0$1"],[,"(\\d{2})(\\d{7})","$1 $2",["70"],"0$1"],[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["7"],"0$1"]],,[,,"74(?:66|77)\\d{5}",,,,"746612345",,,[9]],,,[,,,,,,,,,[-1]],[,,"8(?:10|8\\d)\\d{5}",,,,"88101234",,,[8]],,,[,,,,,,,,,[-1]]],JP:[,[,,"00[1-9]\\d{6,14}|[257-9]\\d{9}|(?:00|[1-9]\\d\\d)\\d{6}",,,,,,,[8,9,10,11,12,13,14,15,16,17]],[,,"(?:1(?:1[235-8]|2[3-6]|3[3-9]|4[2-6]|[58][2-8]|6[2-7]|7[2-9]|9[1-9])|(?:2[2-9]|[36][1-9])\\d|4(?:[2-578]\\d|6[02-8]|9[2-59])|5(?:[2-589]\\d|6[1-9]|7[2-8])|7(?:[25-9]\\d|3[4-9]|4[02-9])|8(?:[2679]\\d|3[2-9]|4[5-9]|5[1-9]|8[03-9])|9(?:[2-58]\\d|[679][1-9]))\\d{6}",,,,"312345678",,,[9]],[,,"[7-9]0[1-9]\\d{7}",,,,"9012345678",,,[10]],[,,"00777(?:[01]|5\\d)\\d\\d|(?:00(?:7778|882[1245])|(?:120|800\\d)\\d\\d)\\d{4}|00(?:37|66|78)\\d{6,13}",,,,"120123456"],[,,"990\\d{6}",,,,"990123456",,,[9]],[,,,,,,,,,[-1]],[,,"60\\d{7}",,,,"601234567",,,[9]],[,,"50[1-9]\\d{7}",,,,"5012345678",,,[10]],"JP",81,"010","0",,,"(000[259]\\d{6})$|(?:(?:003768)0?)|0","$1",,,[[,"(\\d{4})(\\d{4})","$1-$2",["007","0077","00777","00777[01]"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3",["(?:12|57|99)0"],"0$1"],[,"(\\d{4})(\\d)(\\d{4})","$1-$2-$3",["1(?:26|3[79]|4[56]|5[4-68]|6[3-5])|499|5(?:76|97)|746|8(?:3[89]|47|51)|9(?:80|9[16])","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:76|97)9|7468|8(?:3(?:8[7-9]|96)|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:769|979[2-69])|7468|8(?:3(?:8[7-9]|96[2457-9])|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["60"],"0$1"],[,"(\\d)(\\d{4})(\\d{4})","$1-$2-$3",["[36]|4(?:2[09]|7[01])","[36]|4(?:2(?:0|9[02-69])|7(?:0[019]|1))"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["1(?:1|5[45]|77|88|9[69])|2(?:2[1-37]|3[0-269]|4[59]|5|6[24]|7[1-358]|8[1369]|9[0-38])|4(?:[28][1-9]|3[0-57]|[45]|6[248]|7[2-579]|9[29])|5(?:2|3[0459]|4[0-369]|5[29]|8[02389]|9[0-389])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9[2-6])|8(?:2[124589]|3[26-9]|49|51|6|7[0-468]|8[68]|9[019])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9[1-489])","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2(?:[127]|3[014-9])|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9[19])|62|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|8[1-9]|9[29])|5(?:2|3(?:[045]|9[0-8])|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0-2469])|3(?:[29]|60)|49|51|6(?:[0-24]|36|5[0-3589]|7[23]|9[01459])|7[0-468]|8[68])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9(?:[1289]|3[34]|4[0178]))|(?:264|837)[016-9]|2(?:57|93)[015-9]|(?:25[0468]|422|838)[01]|(?:47[59]|59[89]|8(?:6[68]|9))[019]","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2[127]|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9(?:17|99))|6(?:2|4[016-9])|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|9[29])|5(?:2|3(?:[045]|9(?:[0-58]|6[4-9]|7[0-35689]))|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0169])|3(?:[29]|60|7(?:[017-9]|6[6-8]))|49|51|6(?:[0-24]|36[2-57-9]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|7(?:2[2-468]|3[78])|9[0145])|7[0-468]|8[68])|9(?:4[15]|5[138]|7[156]|8[189]|9(?:[1289]|3(?:31|4[357])|4[0178]))|(?:8294|96)[1-3]|2(?:57|93)[015-9]|(?:223|8699)[014-9]|(?:25[0468]|422|838)[01]|(?:48|8292|9[23])[1-9]|(?:47[59]|59[89]|8(?:68|9))[019]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3",["[14]|[289][2-9]|5[3-9]|7[2-4679]"],"0$1"],[,"(\\d{4})(\\d{2})(\\d{3,4})","$1-$2-$3",["007","0077"]],[,"(\\d{4})(\\d{2})(\\d{4})","$1-$2-$3",["008"]],[,"(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["800"],"0$1"],[,"(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[257-9]"],"0$1"],[,"(\\d{4})(\\d{3})(\\d{3,4})","$1-$2-$3",["0"]],[,"(\\d{4})(\\d{4})(\\d{4,5})","$1-$2-$3",["0"]],[,"(\\d{4})(\\d{5})(\\d{5,6})","$1-$2-$3",["0"]],[,"(\\d{4})(\\d{6})(\\d{6,7})","$1-$2-$3",["0"]]],[[,"(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3",["(?:12|57|99)0"],"0$1"],[,"(\\d{4})(\\d)(\\d{4})","$1-$2-$3",["1(?:26|3[79]|4[56]|5[4-68]|6[3-5])|499|5(?:76|97)|746|8(?:3[89]|47|51)|9(?:80|9[16])","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:76|97)9|7468|8(?:3(?:8[7-9]|96)|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:769|979[2-69])|7468|8(?:3(?:8[7-9]|96[2457-9])|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["60"],"0$1"],[,"(\\d)(\\d{4})(\\d{4})","$1-$2-$3",["[36]|4(?:2[09]|7[01])","[36]|4(?:2(?:0|9[02-69])|7(?:0[019]|1))"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["1(?:1|5[45]|77|88|9[69])|2(?:2[1-37]|3[0-269]|4[59]|5|6[24]|7[1-358]|8[1369]|9[0-38])|4(?:[28][1-9]|3[0-57]|[45]|6[248]|7[2-579]|9[29])|5(?:2|3[0459]|4[0-369]|5[29]|8[02389]|9[0-389])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9[2-6])|8(?:2[124589]|3[26-9]|49|51|6|7[0-468]|8[68]|9[019])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9[1-489])","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2(?:[127]|3[014-9])|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9[19])|62|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|8[1-9]|9[29])|5(?:2|3(?:[045]|9[0-8])|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0-2469])|3(?:[29]|60)|49|51|6(?:[0-24]|36|5[0-3589]|7[23]|9[01459])|7[0-468]|8[68])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9(?:[1289]|3[34]|4[0178]))|(?:264|837)[016-9]|2(?:57|93)[015-9]|(?:25[0468]|422|838)[01]|(?:47[59]|59[89]|8(?:6[68]|9))[019]","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2[127]|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9(?:17|99))|6(?:2|4[016-9])|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|9[29])|5(?:2|3(?:[045]|9(?:[0-58]|6[4-9]|7[0-35689]))|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0169])|3(?:[29]|60|7(?:[017-9]|6[6-8]))|49|51|6(?:[0-24]|36[2-57-9]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|7(?:2[2-468]|3[78])|9[0145])|7[0-468]|8[68])|9(?:4[15]|5[138]|7[156]|8[189]|9(?:[1289]|3(?:31|4[357])|4[0178]))|(?:8294|96)[1-3]|2(?:57|93)[015-9]|(?:223|8699)[014-9]|(?:25[0468]|422|838)[01]|(?:48|8292|9[23])[1-9]|(?:47[59]|59[89]|8(?:68|9))[019]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3",["[14]|[289][2-9]|5[3-9]|7[2-4679]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["800"],"0$1"],[,"(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[257-9]"],"0$1"]],[,,"20\\d{8}",,,,"2012345678",,,[10]],,,[,,"00(?:777(?:[01]|(?:5|8\\d)\\d)|882[1245]\\d\\d)\\d\\d|00(?:37|66|78)\\d{6,13}"],[,,"570\\d{6}",,,,"570123456",,,[9]],,,[,,,,,,,,,[-1]]],KE:[,[,,"(?:[17]\\d\\d|900)\\d{6}|(?:2|80)0\\d{6,7}|[4-6]\\d{6,8}",,,,,,,[7,8,9,10]],[,,"(?:4[245]|5[1-79]|6[01457-9])\\d{5,7}|(?:4[136]|5[08]|62)\\d{7}|(?:[24]0|66)\\d{6,7}",,,,"202012345",,,[7,8,9]],[,,"(?:1(?:0[0-6]|1[0-5]|2[014]|30)|7\\d\\d)\\d{6}",,,,"712123456",,,[9]],[,,"800[2-8]\\d{5,6}",,,,"800223456",,,[9,10]],[,,"900[02-9]\\d{5}",,,,"900223456",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"KE",254,"000","0",,,"0",,,,[[,"(\\d{2})(\\d{5,7})","$1 $2",["[24-6]"],"0$1"],[,"(\\d{3})(\\d{6})","$1 $2",["[17]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[89]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KG:[,[,,"8\\d{9}|[235-9]\\d{8}",,,,,,,[9,10],[5,6]],[,,"312(?:5[0-79]\\d|9(?:[0-689]\\d|7[0-24-9]))\\d{3}|(?:3(?:1(?:2[0-46-8]|3[1-9]|47|[56]\\d)|2(?:22|3[0-479]|6[0-7])|4(?:22|5[6-9]|6\\d)|5(?:22|3[4-7]|59|6\\d)|6(?:22|5[35-7]|6\\d)|7(?:22|3[468]|4[1-9]|59|[67]\\d)|9(?:22|4[1-8]|6\\d))|6(?:09|12|2[2-4])\\d)\\d{5}",,,,"312123456",,,[9],[5,6]],[,,"312(?:58\\d|973)\\d{3}|(?:2(?:0[0-35]|2\\d)|5[0-24-7]\\d|600|7(?:[07]\\d|55)|88[08]|9(?:12|9[05-9]))\\d{6}",,,,"700123456",,,[9]],[,,"800\\d{6,7}",,,,"800123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"KG",996,"00","0",,,"0",,,,[[,"(\\d{4})(\\d{5})","$1 $2",["3(?:1[346]|[24-79])"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235-79]|88"],"0$1"],[,"(\\d{3})(\\d{3})(\\d)(\\d{2,3})","$1 $2 $3 $4",["8"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KH:[,[,,"1\\d{9}|[1-9]\\d{7,8}",,,,,,,[8,9,10],[6,7]],[,,"23(?:4(?:[2-4]|[56]\\d)|[568]\\d\\d)\\d{4}|23[236-9]\\d{5}|(?:2[4-6]|3[2-6]|4[2-4]|[5-7][2-5])(?:(?:[237-9]|4[56]|5\\d)\\d{5}|6\\d{5,6})",,,,"23756789",,,[8,9],[6,7]],[,,"(?:(?:1[28]|3[18]|9[67])\\d|6[016-9]|7(?:[07-9]|[16]\\d)|8(?:[013-79]|8\\d))\\d{6}|(?:1\\d|9[0-57-9])\\d{6}|(?:2[3-6]|3[2-6]|4[2-4]|[5-7][2-5])48\\d{5}",,,,"91234567",,,[8,9]],[,,"1800(?:1\\d|2[019])\\d{4}",,,,"1800123456",,,[10]],[,,"1900(?:1\\d|2[09])\\d{4}",,,,"1900123456",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"KH",855,"00[14-9]","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-9]"],"0$1"],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KI:[,[,,"(?:[37]\\d|6[0-79])\\d{6}|(?:[2-48]\\d|50)\\d{3}",,,,,,,[5,8]],[,,"(?:[24]\\d|3[1-9]|50|65(?:02[12]|12[56]|22[89]|[3-5]00)|7(?:27\\d\\d|3100|5(?:02[12]|12[56]|22[89]|[34](?:00|81)|500))|8[0-5])\\d{3}",,,,"31234"],[,,"(?:6200[01]|7(?:310[1-9]|5(?:02[03-9]|12[0-47-9]|22[0-7]|[34](?:0[1-9]|8[02-9])|50[1-9])))\\d{3}|(?:63\\d\\d|7(?:(?:[0146-9]\\d|2[0-689])\\d|3(?:[02-9]\\d|1[1-9])|5(?:[0-2][013-9]|[34][1-79]|5[1-9]|[6-9]\\d)))\\d{4}",,,,"72001234",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"30(?:0[01]\\d\\d|12(?:11|20))\\d\\d",,,,"30010000",,,[8]],"KI",686,"00","0",,,"0",,,,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KM:[,[,,"[3478]\\d{6}",,,,,,,[7],[4]],[,,"7[4-7]\\d{5}",,,,"7712345",,,,[4]],[,,"[34]\\d{6}",,,,"3212345"],[,,,,,,,,,[-1]],[,,"8\\d{6}",,,,"8001234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"KM",269,"00",,,,,,,,[[,"(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[3478]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KN:[,[,,"(?:[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"869(?:2(?:29|36)|302|4(?:6[015-9]|70)|56[5-7])\\d{4}",,,,"8692361234",,,,[7]],[,,"869(?:48[89]|55[6-8]|66\\d|76[02-7])\\d{4}",,,,"8697652917",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"KN",1,"011","1",,,"([2-7]\\d{6})$|1","869$1",,,,,[,,,,,,,,,[-1]],,"869",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KP:[,[,,"85\\d{6}|(?:19\\d|[2-7])\\d{7}",,,,,,,[8,10],[6,7]],[,,"(?:(?:195|2)\\d|3[19]|4[159]|5[37]|6[17]|7[39]|85)\\d{6}",,,,"21234567",,,,[6,7]],[,,"19[1-3]\\d{7}",,,,"1921234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"KP",850,"00|99","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["8"],"0$1"],[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,"238[02-9]\\d{4}|2(?:[0-24-9]\\d|3[0-79])\\d{5}",,,,,,,[8]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KR:[,[,,"00[1-9]\\d{8,11}|(?:[12]|5\\d{3})\\d{7}|[13-6]\\d{9}|(?:[1-6]\\d|80)\\d{7}|[3-6]\\d{4,5}|(?:00|7)0\\d{8}",,,,,,,[5,6,8,9,10,11,12,13,14],[3,4,7]],[,,"(?:2|3[1-3]|[46][1-4]|5[1-5])[1-9]\\d{6,7}|(?:3[1-3]|[46][1-4]|5[1-5])1\\d{2,3}",,,,"22123456",,,[5,6,8,9,10],[3,4,7]],[,,"1(?:05(?:[0-8]\\d|9[0-6])|22[13]\\d)\\d{4,5}|1(?:0[0-46-9]|[16-9]\\d|2[013-9])\\d{6,7}",,,,"1020000000",,,[9,10]],[,,"00(?:308\\d{6,7}|798\\d{7,9})|(?:00368|80)\\d{7}",,,,"801234567",,,[9,11,12,13,14]],[,,"60[2-9]\\d{6}",,,,"602345678",,,[9]],[,,,,,,,,,[-1]],[,,"50\\d{8,9}",,,,"5012345678",,,[10,11]],[,,"70\\d{8}",,,,"7012345678",,,[10]],"KR",82,"00(?:[125689]|3(?:[46]5|91)|7(?:00|27|3|55|6[126]))","0",,,"0(8(?:[1-46-8]|5\\d\\d))?",,,,[[,"(\\d{5})","$1",["1[016-9]1","1[016-9]11","1[016-9]114"],"0$1"],[,"(\\d{2})(\\d{3,4})","$1-$2",["(?:3[1-3]|[46][1-4]|5[1-5])1"],"0$1","0$CC-$1"],[,"(\\d{4})(\\d{4})","$1-$2",["1"]],[,"(\\d)(\\d{3,4})(\\d{4})","$1-$2-$3",["2"],"0$1","0$CC-$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["60|8"],"0$1","0$CC-$1"],[,"(\\d{2})(\\d{3,4})(\\d{4})","$1-$2-$3",["[1346]|5[1-5]"],"0$1","0$CC-$1"],[,"(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[57]"],"0$1","0$CC-$1"],[,"(\\d{5})(\\d{3})(\\d{3})","$1 $2 $3",["003","0030"]],[,"(\\d{2})(\\d{5})(\\d{4})","$1-$2-$3",["5"],"0$1","0$CC-$1"],[,"(\\d{5})(\\d{3,4})(\\d{4})","$1 $2 $3",["0"]],[,"(\\d{5})(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3 $4",["0"]]],[[,"(\\d{2})(\\d{3,4})","$1-$2",["(?:3[1-3]|[46][1-4]|5[1-5])1"],"0$1","0$CC-$1"],[,"(\\d{4})(\\d{4})","$1-$2",["1"]],[,"(\\d)(\\d{3,4})(\\d{4})","$1-$2-$3",["2"],"0$1","0$CC-$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["60|8"],"0$1","0$CC-$1"],[,"(\\d{2})(\\d{3,4})(\\d{4})","$1-$2-$3",["[1346]|5[1-5]"],"0$1","0$CC-$1"],[,"(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[57]"],"0$1","0$CC-$1"],[,"(\\d{2})(\\d{5})(\\d{4})","$1-$2-$3",["5"],"0$1","0$CC-$1"]],[,,"15\\d{7,8}",,,,"1523456789",,,[9,10]],,,[,,"00(?:3(?:08\\d{6,7}|68\\d{7})|798\\d{7,9})",,,,,,,[11,12,13,14]],[,,"1(?:5(?:22|33|44|66|77|88|99)|6(?:[07]0|44|6[168]|88)|8(?:00|33|55|77|99))\\d{4}",,,,"15441234",,,[8]],,,[,,,,,,,,,[-1]]],KW:[,[,,"18\\d{5}|(?:[2569]\\d|41)\\d{6}",,,,,,,[7,8]],[,,"2(?:[23]\\d\\d|4(?:[1-35-9]\\d|44)|5(?:0[034]|[2-46]\\d|5[1-3]|7[1-7]))\\d{4}",,,,"22345678",,,[8]],[,,"(?:41\\d\\d|5(?:(?:[05]\\d|1[0-7]|6[56])\\d|2(?:22|5[25])|7(?:55|77)|88[58])|6(?:(?:0[034679]|5[015-9]|6\\d)\\d|1(?:00|11|66)|222|3[36]3|444|7(?:0[013-9]|[67]\\d)|888|9(?:[069]\\d|3[039]))|9(?:(?:0[09]|[4679]\\d|8[057-9])\\d|1(?:1[01]|99)|2(?:00|2\\d)|3(?:00|3[03])|5(?:00|5\\d)))\\d{4}",,,,"50012345",,,[8]],[,,"18\\d{5}",,,,"1801234",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"KW",965,"00",,,,,,,,[[,"(\\d{4})(\\d{3,4})","$1 $2",["[169]|2(?:[235]|4[1-35-9])|52"]],[,"(\\d{3})(\\d{5})","$1 $2",["[245]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KY:[,[,,"(?:345|[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"345(?:2(?:22|3[23]|44|66)|333|444|6(?:23|38|40)|7(?:30|4[35-79]|6[6-9]|77)|8(?:00|1[45]|[48]8)|9(?:14|4[035-9]))\\d{4}",,,,"3452221234",,,,[7]],[,,"345(?:32[1-9]|42[0-4]|5(?:1[67]|2[5-79]|4[6-9]|50|76)|649|82[56]|9(?:1[679]|2[2-9]|3[06-9]|90))\\d{4}",,,,"3453231234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002345678"],[,,"(?:345976|900[2-9]\\d\\d)\\d{4}",,,,"9002345678"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"KY",1,"011","1",,,"([2-9]\\d{6})$|1","345$1",,,,,[,,"345849\\d{4}",,,,"3458491234"],,"345",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KZ:[,[,,"(?:33622|8\\d{8})\\d{5}|[78]\\d{9}",,,,,,,[10,14],[5,6,7]],[,,"(?:33622|7(?:1(?:0(?:[23]\\d|4[0-3]|59|63)|1(?:[23]\\d|4[0-79]|59)|2(?:[23]\\d|59)|3(?:2\\d|3[0-79]|4[0-35-9]|59)|4(?:[24]\\d|3[013-9]|5[1-9]|97)|5(?:2\\d|3[1-9]|4[0-7]|59)|6(?:[2-4]\\d|5[19]|61)|72\\d|8(?:[27]\\d|3[1-46-9]|4[0-5]|59))|2(?:1(?:[23]\\d|4[46-9]|5[3469])|2(?:2\\d|3[0679]|46|5[12679])|3(?:[2-4]\\d|5[139])|4(?:2\\d|3[1-35-9]|59)|5(?:[23]\\d|4[0-8]|59|61)|6(?:2\\d|3[1-9]|4[0-4]|59)|7(?:[2379]\\d|40|5[279])|8(?:[23]\\d|4[0-3]|59)|9(?:2\\d|3[124578]|59))))\\d{5}",,,,"7123456789",,,[10],[5,6,7]],[,,"7(?:0[0-25-8]|47|6[0-4]|7[15-8]|85)\\d{7}",,,,"7710009998",,,[10]],[,,"8(?:00|108\\d{3})\\d{7}",,,,"8001234567"],[,,"809\\d{7}",,,,"8091234567",,,[10]],[,,,,,,,,,[-1]],[,,"808\\d{7}",,,,"8081234567",,,[10]],[,,"751\\d{7}",,,,"7511234567",,,[10]],"KZ",7,"810","8",,,"8",,"8~10",,,,[,,,,,,,,,[-1]],,"33|7",[,,"751\\d{7}",,,,,,,[10]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],LA:[,[,,"[23]\\d{9}|3\\d{8}|(?:[235-8]\\d|41)\\d{6}",,,,,,,[8,9,10],[6]],[,,"(?:2[13]|[35-7][14]|41|8[1468])\\d{6}",,,,"21212862",,,[8],[6]],[,,"(?:20(?:[2359]\\d|7[6-8]|88)|302\\d)\\d{6}",,,,"2023123456",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"LA",856,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2[13]|3[14]|[4-8]"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["30[013-9]"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[23]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"30[013-9]\\d{6}",,,,"301234567",,,[9]],,,[,,,,,,,,,[-1]]],LB:[,[,,"[27-9]\\d{7}|[13-9]\\d{6}",,,,,,,[7,8]],[,,"7(?:62|8[0-7]|9[04-9])\\d{4}|(?:[14-69]\\d|2(?:[14-69]\\d|[78][1-9])|7[2-57]|8[02-9])\\d{5}",,,,"1123456"],[,,"793(?:[01]\\d|2[0-4])\\d{3}|(?:(?:3|81)\\d|7(?:[01]\\d|6[013-9]|8[89]|9[12]))\\d{5}",,,,"71123456"],[,,,,,,,,,[-1]],[,,"9[01]\\d{6}",,,,"90123456",,,[8]],[,,"80\\d{6}",,,,"80123456",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"LB",961,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[13-69]|7(?:[2-57]|62|8[0-7]|9[04-9])|8[02-9]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[27-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],LC:[,[,,"(?:[58]\\d\\d|758|900)\\d{7}",,,,,,,[10],[7]],[,,"758(?:234|4(?:30|5\\d|6[2-9]|8[0-2])|57[0-2]|(?:63|75)8)\\d{4}",,,,"7584305678",,,,[7]],[,,"758(?:28[4-7]|384|4(?:6[01]|8[4-9])|5(?:1[89]|20|84)|7(?:1[2-9]|2\\d|3[0-3])|812)\\d{4}",,,,"7582845678",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"LC",1,"011","1",,,"([2-8]\\d{6})$|1","758$1",,,,,[,,,,,,,,,[-1]],,"758",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],LI:[,[,,"[68]\\d{8}|(?:[2378]\\d|90)\\d{5}",,,,,,,[7,9]],[,,"(?:2(?:01|1[27]|2[02]|3\\d|6[02-578]|96)|3(?:[24]0|33|7[0135-7]|8[048]|9[0269]))\\d{4}",,,,"2345678",,,[7]],[,,"(?:6(?:(?:4[5-9]|5[0-469])\\d|6(?:[0245]\\d|[17]0|3[7-9]))\\d|7(?:[37-9]\\d|42|56))\\d{4}",,,,"660234567"],[,,"8002[28]\\d\\d|80(?:05\\d|9)\\d{4}",,,,"8002222"],[,,"90(?:02[258]|1(?:23|3[14])|66[136])\\d\\d",,,,"9002222",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"LI",423,"00","0",,,"(1001)|0",,,,[[,"(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[2379]|8(?:0[09]|7)","[2379]|8(?:0(?:02|9)|7)"],,"$CC $1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["69"],,"$CC $1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"],,"$CC $1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"870(?:28|87)\\d\\d",,,,"8702812",,,[7]],,,[,,"697(?:42|56|[78]\\d)\\d{4}",,,,"697861234",,,[9]]],LK:[,[,,"[1-9]\\d{8}",,,,,,,[9],[7]],[,,"(?:12[2-9]|602|8[12]\\d|9(?:1\\d|22|9[245]))\\d{6}|(?:11|2[13-7]|3[1-8]|4[157]|5[12457]|6[35-7])[2-57]\\d{6}",,,,"112345678",,,,[7]],[,,"7(?:[0-25-8]\\d|4[0-4])\\d{6}",,,,"712345678"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"LK",94,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[1-689]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"1973\\d{5}",,,,"197312345"],,,[,,,,,,,,,[-1]]],LR:[,[,,"(?:[25]\\d|33|77|88)\\d{7}|(?:2\\d|[4-6])\\d{6}",,,,,,,[7,8,9]],[,,"2\\d{7}",,,,"21234567",,,[8]],[,,"(?:(?:(?:22|33)0|555|(?:77|88)\\d)\\d|4[67])\\d{5}|[56]\\d{6}",,,,"770123456",,,[7,9]],[,,,,,,,,,[-1]],[,,"332(?:02|[34]\\d)\\d{4}",,,,"332021234",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"LR",231,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[4-6]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[23578]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],LS:[,[,,"(?:[256]\\d\\d|800)\\d{5}",,,,,,,[8]],[,,"2\\d{7}",,,,"22123456"],[,,"[56]\\d{7}",,,,"50123456"],[,,"800[256]\\d{4}",,,,"80021234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"LS",266,"00",,,,,,,,[[,"(\\d{4})(\\d{4})","$1 $2",["[2568]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],LT:[,[,,"(?:[3469]\\d|52|[78]0)\\d{6}",,,,,,,[8]],[,,"(?:3[1478]|4[124-6]|52)\\d{6}",,,,"31234567"],[,,"6\\d{7}",,,,"61234567"],[,,"80[02]\\d{5}",,,,"80012345"],[,,"9(?:0[0239]|10)\\d{5}",,,,"90012345"],[,,"808\\d{5}",,,,"80812345"],[,,"70[05]\\d{5}",,,,"70012345"],[,,"[89]01\\d{5}",,,,"80123456"],"LT",370,"00","8",,,"[08]",,,,[[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["52[0-7]"],"(8-$1)",,1],[,"(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[7-9]"],"8 $1",,1],[,"(\\d{2})(\\d{6})","$1 $2",["37|4(?:[15]|6[1-8])"],"(8-$1)",,1],[,"(\\d{3})(\\d{5})","$1 $2",["[3-6]"],"(8-$1)",,1]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"70[67]\\d{5}",,,,"70712345"],,,[,,,,,,,,,[-1]]],LU:[,[,,"35[013-9]\\d{4,8}|6\\d{8}|35\\d{2,4}|(?:[2457-9]\\d|3[0-46-9])\\d{2,9}",,,,,,,[4,5,6,7,8,9,10,11]],[,,"(?:35[013-9]|80[2-9]|90[89])\\d{1,8}|(?:2[2-9]|3[0-46-9]|[457]\\d|8[13-9]|9[2-579])\\d{2,9}",,,,"27123456"],[,,"6(?:[269][18]|5[1568]|7[189]|81)\\d{6}",,,,"628123456",,,[9]],[,,"800\\d{5}",,,,"80012345",,,[8]],[,,"90[015]\\d{5}",,,,"90012345",,,[8]],[,,"801\\d{5}",,,,"80112345",,,[8]],[,,,,,,,,,[-1]],[,,"20(?:1\\d{5}|[2-689]\\d{1,7})",,,,"20201234",,,[4,5,6,7,8,9,10]],"LU",352,"00",,,,"(15(?:0[06]|1[12]|[35]5|4[04]|6[26]|77|88|99)\\d)",,,,[[,"(\\d{2})(\\d{3})","$1 $2",["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"],,"$CC $1"],[,"(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"],,"$CC $1"],[,"(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["20[2-689]"],,"$CC $1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4",["2(?:[0367]|4[3-8])"],,"$CC $1"],[,"(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["80[01]|90[015]"],,"$CC $1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["20"],,"$CC $1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"],,"$CC $1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4 $5",["2(?:[0367]|4[3-8])"],,"$CC $1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{1,5})","$1 $2 $3 $4",["[3-57]|8[13-9]|9(?:0[89]|[2-579])|(?:2|80)[2-9]"],,"$CC $1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],LV:[,[,,"(?:[268]\\d|90)\\d{6}",,,,,,,[8]],[,,"6\\d{7}",,,,"63123456"],[,,"23(?:23[0-57-9]|33[0238])\\d{3}|2(?:[0-24-9]\\d\\d|3(?:0[07]|[14-9]\\d|2[024-9]|3[0-24-9]))\\d{4}",,,,"21234567"],[,,"80\\d{6}",,,,"80123456"],[,,"90\\d{6}",,,,"90123456"],[,,"81\\d{6}",,,,"81123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"LV",371,"00",,,,,,,,[[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[269]|8[01]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],LY:[,[,,"[2-9]\\d{8}",,,,,,,[9],[7]],[,,"(?:2(?:0[56]|[1-6]\\d|7[124579]|8[124])|3(?:1\\d|2[2356])|4(?:[17]\\d|2[1-357]|5[2-4]|8[124])|5(?:[1347]\\d|2[1-469]|5[13-5]|8[1-4])|6(?:[1-479]\\d|5[2-57]|8[1-5])|7(?:[13]\\d|2[13-79])|8(?:[124]\\d|5[124]|84))\\d{6}",,,,"212345678",,,,[7]],[,,"9[1-6]\\d{7}",,,,"912345678"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"LY",218,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{7})","$1-$2",["[2-9]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MA:[,[,,"[5-8]\\d{8}",,,,,,,[9]],[,,"5(?:2(?:[0-25-79]\\d|3[1-578]|4[02-46-8]|8[0235-7])|3(?:[0-47]\\d|5[02-9]|6[02-8]|8[014-9]|9[3-9])|(?:4[067]|5[03])\\d)\\d{5}",,,,"520123456"],[,,"(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[0167]\\d|2[0-2]|5[01]|8[0-3]))\\d{6}",,,,"650123456"],[,,"80[0-7]\\d{6}",,,,"801234567"],[,,"89\\d{7}",,,,"891234567"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"(?:592(?:4[0-2]|93)|80[89]\\d\\d)\\d{4}",,,,"592401234"],"MA",212,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5[45]"],"0$1"],[,"(\\d{4})(\\d{5})","$1-$2",["5(?:2[2-489]|3[5-9]|9)|8(?:0[89]|92)","5(?:2(?:[2-49]|8[235-9])|3[5-9]|9)|8(?:0[89]|92)"],"0$1"],[,"(\\d{2})(\\d{7})","$1-$2",["8"],"0$1"],[,"(\\d{3})(\\d{6})","$1-$2",["[5-7]"],"0$1"]],,[,,,,,,,,,[-1]],1,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MC:[,[,,"(?:[3489]|6\\d)\\d{7}",,,,,,,[8,9]],[,,"(?:870|9[2-47-9]\\d)\\d{5}",,,,"99123456",,,[8]],[,,"4(?:[46]\\d|5[1-9])\\d{5}|(?:3|6\\d)\\d{7}",,,,"612345678"],[,,"(?:800|90\\d)\\d{5}",,,,"90123456",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"MC",377,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3",["87"]],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["4"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[389]"]],[,"(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["6"],"0$1"]],[[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["4"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[389]"]],[,"(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["6"],"0$1"]],[,,,,,,,,,[-1]],,,[,,"8[07]0\\d{5}",,,,,,,[8]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MD:[,[,,"(?:[235-7]\\d|[89]0)\\d{6}",,,,,,,[8]],[,,"(?:(?:2[1-9]|3[1-79])\\d|5(?:33|5[257]))\\d{5}",,,,"22212345"],[,,"562\\d{5}|(?:6\\d|7[16-9])\\d{6}",,,,"62112345"],[,,"800\\d{5}",,,,"80012345"],[,,"90[056]\\d{5}",,,,"90012345"],[,,"808\\d{5}",,,,"80812345"],[,,,,,,,,,[-1]],[,,"3[08]\\d{6}",,,,"30123456"],"MD",373,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{5})","$1 $2",["[89]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["22|3"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[25-7]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"803\\d{5}",,,,"80312345"],,,[,,,,,,,,,[-1]]],ME:[,[,,"(?:20|[3-79]\\d)\\d{6}|80\\d{6,7}",,,,,,,[8,9],[6]],[,,"(?:20[2-8]|3(?:[0-2][2-7]|3[24-7])|4(?:0[2-467]|1[2467])|5(?:0[2467]|1[24-7]|2[2-467]))\\d{5}",,,,"30234567",,,[8],[6]],[,,"6(?:[07-9]\\d|3[024]|6[0-25])\\d{5}",,,,"67622901",,,[8]],[,,"80(?:[0-2578]|9\\d)\\d{5}",,,,"80080002"],[,,"9(?:4[1568]|5[178])\\d{5}",,,,"94515151",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"78[1-49]\\d{5}",,,,"78108780",,,[8]],"ME",382,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-9]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"77[1-9]\\d{5}",,,,"77273012",,,[8]],,,[,,,,,,,,,[-1]]],MF:[,[,,"590\\d{6}|(?:69|80|9\\d)\\d{7}",,,,,,,[9]],[,,"590(?:0[079]|[14]3|[27][79]|3[03-7]|5[0-268]|87)\\d{4}",,,,"590271234"],[,,"69(?:0\\d\\d|1(?:2[2-9]|3[0-5]))\\d{4}",,,,"690001234"],[,,"80[0-5]\\d{6}",,,,"800012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"9(?:(?:395|76[018])\\d|475[0-5])\\d{4}",,,,"976012345"],"MF",590,"00","0",,,"0",,,,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MG:[,[,,"[23]\\d{8}",,,,,,,[9],[7]],[,,"2072[29]\\d{4}|20(?:2\\d|4[47]|5[3467]|6[279]|7[35]|8[268]|9[245])\\d{5}",,,,"202123456",,,,[7]],[,,"3[2-47-9]\\d{7}",,,,"321234567"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"22\\d{7}",,,,"221234567"],"MG",261,"00","0",,,"([24-9]\\d{6})$|0","20$1",,,[[,"(\\d{2})(\\d{2})(\\d{3})(\\d{2})","$1 $2 $3 $4",["[23]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MH:[,[,,"329\\d{4}|(?:[256]\\d|45)\\d{5}",,,,,,,[7]],[,,"(?:247|45[78]|528|625)\\d{4}",,,,"2471234"],[,,"(?:(?:23|54)5|329|45[356])\\d{4}",,,,"2351234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"635\\d{4}",,,,"6351234"],"MH",692,"011","1",,,"1",,,,[[,"(\\d{3})(\\d{4})","$1-$2",["[2-6]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MK:[,[,,"[2-578]\\d{7}",,,,,,,[8],[6,7]],[,,"(?:(?:2(?:62|77)0|3444)\\d|4[56]440)\\d{3}|(?:34|4[357])700\\d{3}|(?:2(?:[0-3]\\d|5[0-578]|6[01]|82)|3(?:1[3-68]|[23][2-68]|4[23568])|4(?:[23][2-68]|4[3-68]|5[2568]|6[25-8]|7[24-68]|8[4-68]))\\d{5}",,,,"22012345",,,,[6,7]],[,,"7(?:3555|(?:474|9[019]7)7)\\d{3}|7(?:[0-25-8]\\d\\d|3(?:[1-48]\\d|6[01]|7[01578])|4(?:2\\d|60|7[01578])|9(?:[2-4]\\d|5[01]|7[015]))\\d{4}",,,,"72345678"],[,,"800\\d{5}",,,,"80012345"],[,,"5\\d{7}",,,,"50012345"],[,,"8(?:0[1-9]|[1-9]\\d)\\d{5}",,,,"80123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"MK",389,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["2|34[47]|4(?:[37]7|5[47]|64)"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[347]"],"0$1"],[,"(\\d{3})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["[58]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],ML:[,[,,"[24-9]\\d{7}",,,,,,,[8]],[,,"2(?:07[0-8]|12[67])\\d{4}|(?:2(?:02|1[4-689])|4(?:0[0-4]|4[1-39]))\\d{5}",,,,"20212345"],[,,"2(?:0(?:01|79)|17\\d)\\d{4}|(?:5[01]|[679]\\d|8[2-49])\\d{6}",,,,"65012345"],[,,"80\\d{6}",,,,"80012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"ML",223,"00",,,,,,,,[[,"(\\d{4})","$1",["67[057-9]|74[045]","67(?:0[09]|[59]9|77|8[89])|74(?:0[02]|44|55)"]],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24-9]"]]],[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24-9]"]]],[,,,,,,,,,[-1]],,,[,,"80\\d{6}"],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MM:[,[,,"1\\d{5,7}|95\\d{6}|(?:[4-7]|9[0-46-9])\\d{6,8}|(?:2|8\\d)\\d{5,8}",,,,,,,[6,7,8,9,10],[5]],[,,"(?:1(?:(?:2\\d|3[56]|[89][0-6])\\d|4(?:2[29]|62|7[0-2]|83)|6)|2(?:2(?:00|8[34])|4(?:0\\d|[26]2|7[0-2]|83)|51\\d\\d)|4(?:2(?:2\\d\\d|48[013])|3(?:20\\d|4(?:70|83)|56)|420\\d|5470)|6(?:0(?:[23]|88\\d)|(?:124|[56]2\\d)\\d|2472|3(?:20\\d|470)|4(?:2[04]\\d|472)|7(?:(?:3\\d|8[01459])\\d|4[67]0)))\\d{4}|5(?:2(?:2\\d{5,6}|47[02]\\d{4})|(?:3472|4(?:2(?:1|86)|470)|522\\d|6(?:20\\d|483)|7(?:20\\d|48[01])|8(?:20\\d|47[02])|9(?:20\\d|470))\\d{4})|7(?:(?:0470|4(?:25\\d|470)|5(?:202|470|96\\d))\\d{4}|1(?:20\\d{4,5}|4(?:70|83)\\d{4}))|8(?:1(?:2\\d{5,6}|4(?:10|7[01]\\d)\\d{3})|2(?:2\\d{5,6}|(?:320|490\\d)\\d{3})|(?:3(?:2\\d\\d|470)|4[24-7]|5(?:(?:2\\d|51)\\d|4(?:[1-35-9]\\d|4[0-57-9]))|6[23])\\d{4})|(?:1[2-6]\\d|4(?:2[24-8]|3[2-7]|[46][2-6]|5[3-5])|5(?:[27][2-8]|3[2-68]|4[24-8]|5[23]|6[2-4]|8[24-7]|9[2-7])|6(?:[19]20|42[03-6]|(?:52|7[45])\\d)|7(?:[04][24-8]|[15][2-7]|22|3[2-4])|8(?:1[2-689]|2[2-8]|[35]2\\d))\\d{4}|25\\d{5,6}|(?:2[2-9]|6(?:1[2356]|[24][2-6]|3[24-6]|5[2-4]|6[2-8]|7[235-7]|8[245]|9[24])|8(?:3[24]|5[245]))\\d{4}",,,,"1234567",,,[6,7,8,9],[5]],[,,"(?:17[01]|9(?:2(?:[0-4]|[56]\\d\\d)|(?:3(?:[0-36]|4\\d)|(?:6\\d|8[89]|9[4-8])\\d|7(?:3|40|[5-9]\\d))\\d|4(?:(?:[0245]\\d|[1379])\\d|88)|5[0-6])\\d)\\d{4}|9[69]1\\d{6}|9(?:[68]\\d|9[089])\\d{5}",,,,"92123456",,,[7,8,9,10]],[,,"80080(?:0[1-9]|2\\d)\\d{3}",,,,"8008001234",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"1333\\d{4}|[12]468\\d{4}",,,,"13331234",,,[8]],"MM",95,"00","0",,,"0",,,,[[,"(\\d)(\\d{2})(\\d{3})","$1 $2 $3",["16|2"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["[45]|6(?:0[23]|[1-689]|7[235-7])|7(?:[0-4]|5[2-7])|8[1-6]"],"0$1"],[,"(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[12]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[4-7]|8[1-35]"],"0$1"],[,"(\\d)(\\d{3})(\\d{4,6})","$1 $2 $3",["9(?:2[0-4]|[35-9]|4[137-9])"],"0$1"],[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"],[,"(\\d)(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["92"],"0$1"],[,"(\\d)(\\d{5})(\\d{4})","$1 $2 $3",["9"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MN:[,[,,"[12]\\d{7,9}|[5-9]\\d{7}",,,,,,,[8,9,10],[4,5,6]],[,,"[12]2[1-3]\\d{5,6}|(?:(?:[12](?:1|27)|5[368])\\d\\d|7(?:0(?:[0-5]\\d|7[078]|80)|128))\\d{4}|[12](?:3[2-8]|4[2-68]|5[1-4689])\\d{6,7}",,,,"53123456",,,,[4,5,6]],[,,"(?:83[01]|92[039])\\d{5}|(?:5[05]|6[069]|8[015689]|9[013-9])\\d{6}",,,,"88123456",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"712[0-79]\\d{4}|7(?:1[013-9]|[25-9]\\d)\\d{5}",,,,"75123456",,,[8]],"MN",976,"001","0",,,"0",,,,[[,"(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["[12]1"],"0$1"],[,"(\\d{4})(\\d{4})","$1 $2",["[5-9]"]],[,"(\\d{3})(\\d{5,6})","$1 $2",["[12]2[1-3]"],"0$1"],[,"(\\d{4})(\\d{5,6})","$1 $2",["[12](?:27|3[2-8]|4[2-68]|5[1-4689])","[12](?:27|3[2-8]|4[2-68]|5[1-4689])[0-3]"],"0$1"],[,"(\\d{5})(\\d{4,5})","$1 $2",["[12]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MO:[,[,,"0800\\d{3}|(?:28|[68]\\d)\\d{6}",,,,,,,[7,8]],[,,"(?:28[2-9]|8(?:11|[2-57-9]\\d))\\d{5}",,,,"28212345",,,[8]],[,,"6800[0-79]\\d{3}|6(?:[235]\\d\\d|6(?:0[0-5]|[1-9]\\d)|8(?:0[1-9]|[14-8]\\d|2[5-9]|[39][0-4]))\\d{4}",,,,"66123456",,,[8]],[,,"0800\\d{3}",,,,"0800501",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"MO",853,"00",,,,,,,,[[,"(\\d{4})(\\d{3})","$1 $2",["0"]],[,"(\\d{4})(\\d{4})","$1 $2",["[268]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MP:[,[,,"[58]\\d{9}|(?:67|90)0\\d{7}",,,,,,,[10],[7]],[,,"670(?:2(?:3[3-7]|56|8[4-8])|32[1-38]|4(?:33|8[348])|5(?:32|55|88)|6(?:64|70|82)|78[3589]|8[3-9]8|989)\\d{4}",,,,"6702345678",,,,[7]],[,,"670(?:2(?:3[3-7]|56|8[4-8])|32[1-38]|4(?:33|8[348])|5(?:32|55|88)|6(?:64|70|82)|78[3589]|8[3-9]8|989)\\d{4}",,,,"6702345678",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"MP",1,"011","1",,,"([2-9]\\d{6})$|1","670$1",,1,,,[,,,,,,,,,[-1]],,"670",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MQ:[,[,,"596\\d{6}|(?:69|80|9\\d)\\d{7}",,,,,,,[9]],[,,"596(?:[03-7]\\d|10|2[7-9]|8[0-39]|9[04-9])\\d{4}",,,,"596301234"],[,,"69(?:6(?:[0-46-9]\\d|5[0-6])|727)\\d{4}",,,,"696201234"],[,,"80[0-5]\\d{6}",,,,"800012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"9(?:397[0-2]|477[0-5]|76(?:6\\d|7[0-367]))\\d{4}",,,,"976612345"],"MQ",596,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[569]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MR:[,[,,"(?:[2-4]\\d\\d|800)\\d{5}",,,,,,,[8]],[,,"(?:25[08]|35\\d|45[1-7])\\d{5}",,,,"35123456"],[,,"[2-4][0-46-9]\\d{6}",,,,"22123456"],[,,"800\\d{5}",,,,"80012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"MR",222,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-48]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MS:[,[,,"(?:[58]\\d\\d|664|900)\\d{7}",,,,,,,[10],[7]],[,,"6644(?:1[0-3]|91)\\d{4}",,,,"6644912345",,,,[7]],[,,"664(?:3(?:49|9[1-6])|49[2-6])\\d{4}",,,,"6644923456",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"MS",1,"011","1",,,"([34]\\d{6})$|1","664$1",,,,,[,,,,,,,,,[-1]],,"664",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MT:[,[,,"3550\\d{4}|(?:[2579]\\d\\d|800)\\d{5}",,,,,,,[8]],[,,"20(?:3[1-4]|6[059])\\d{4}|2(?:0[19]|[1-357]\\d|60)\\d{5}",,,,"21001234"],[,,"(?:7(?:210|[79]\\d\\d)|9(?:[29]\\d\\d|69[67]|8(?:1[1-3]|89|97)))\\d{4}",,,,"96961234"],[,,"800(?:02|[3467]\\d)\\d{3}",,,,"80071234"],[,,"5(?:0(?:0(?:37|43)|(?:6\\d|70|9[0168])\\d)|[12]\\d0[1-5])\\d{3}",,,,"50037123"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"3550\\d{4}",,,,"35501234"],"MT",356,"00",,,,,,,,[[,"(\\d{4})(\\d{4})","$1 $2",["[2357-9]"]]],,[,,"7117\\d{4}",,,,"71171234"],,,[,,,,,,,,,[-1]],[,,"501\\d{5}",,,,"50112345"],,,[,,,,,,,,,[-1]]],MU:[,[,,"(?:[57]|8\\d\\d)\\d{7}|[2-468]\\d{6}",,,,,,,[7,8,10]],[,,"(?:2(?:[0346-8]\\d|1[0-7])|4(?:[013568]\\d|2[4-8])|54(?:[3-5]\\d|71)|6\\d\\d|8(?:14|3[129]))\\d{4}",,,,"54480123",,,[7,8]],[,,"5(?:4(?:2[1-389]|7[1-9])|87[15-8])\\d{4}|(?:5(?:2[5-9]|4[3-689]|[57]\\d|8[0-689]|9[0-8])|7(?:0[0-3]|3[013]))\\d{5}",,,,"52512345",,,[8]],[,,"802\\d{7}|80[0-2]\\d{4}",,,,"8001234",,,[7,10]],[,,"30\\d{5}",,,,"3012345",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"3(?:20|9\\d)\\d{4}",,,,"3201234",,,[7]],"MU",230,"0(?:0|[24-7]0|3[03])",,,,,,"020",,[[,"(\\d{3})(\\d{4})","$1 $2",["[2-46]|8[013]"]],[,"(\\d{4})(\\d{4})","$1 $2",["[57]"]],[,"(\\d{5})(\\d{5})","$1 $2",["8"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MV:[,[,,"(?:800|9[0-57-9]\\d)\\d{7}|[34679]\\d{6}",,,,,,,[7,10]],[,,"(?:3(?:0[0-3]|3[0-59])|6(?:[58][024689]|6[024-68]|7[02468]))\\d{4}",,,,"6701234",,,[7]],[,,"(?:46[46]|[79]\\d\\d)\\d{4}",,,,"7712345",,,[7]],[,,"800\\d{7}",,,,"8001234567",,,[10]],[,,"900\\d{7}",,,,"9001234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"MV",960,"0(?:0|19)",,,,,,"00",,[[,"(\\d{3})(\\d{4})","$1-$2",["[34679]"]],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"4(?:0[01]|50)\\d{4}",,,,"4001234",,,[7]],,,[,,,,,,,,,[-1]]],MW:[,[,,"(?:[1289]\\d|31|77)\\d{7}|1\\d{6}",,,,,,,[7,9]],[,,"(?:1[2-9]|2[12]\\d\\d)\\d{5}",,,,"1234567"],[,,"111\\d{6}|(?:31|77|[89][89])\\d{7}",,,,"991234567",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"MW",265,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["1[2-9]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[137-9]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MX:[,[,,"1(?:(?:[27]2|44|87|99)[1-9]|65[0-689])\\d{7}|(?:1(?:[01]\\d|2[13-9]|[35][1-9]|4[0-35-9]|6[0-46-9]|7[013-9]|8[1-69]|9[1-8])|[2-9]\\d)\\d{8}",,,,,,,[10,11],[7,8]],[,,"657[12]\\d{6}|(?:2(?:0[01]|2\\d|3[1-35-8]|4[13-9]|7[1-689]|8[1-578]|9[467])|3(?:1[1-79]|[2458][1-9]|3\\d|7[1-8]|9[1-5])|4(?:1[1-57-9]|[25-7][1-9]|3[1-8]|4\\d|8[1-35-9]|9[2-689])|5(?:[56]\\d|88|9[1-79])|6(?:1[2-68]|[2-4][1-9]|5[1-3689]|6[1-57-9]|7[1-7]|8[67]|9[4-8])|7(?:[13467][1-9]|2\\d|5[13-9]|8[1-69]|9[17])|8(?:1\\d|2[13-689]|3[1-6]|4[124-6]|6[1246-9]|7[0-378]|9[12479])|9(?:1[346-9]|2[1-4]|3[2-46-8]|5[1348]|6[1-9]|7[12]|8[1-8]|9\\d))\\d{7}",,,,"2001234567",,,[10],[7,8]],[,,"657[12]\\d{6}|(?:1(?:2(?:2[1-9]|3[1-35-8]|4[13-9]|7[1-689]|8[1-578]|9[467])|3(?:1[1-79]|[2458][1-9]|3\\d|7[1-8]|9[1-5])|4(?:1[1-57-9]|[24-7][1-9]|3[1-8]|8[1-35-9]|9[2-689])|5(?:[56]\\d|88|9[1-79])|6(?:1[2-68]|[2-4][1-9]|5[1-3689]|6[1-57-9]|7[1-7]|8[67]|9[4-8])|7(?:[1-467][1-9]|5[13-9]|8[1-69]|9[17])|8(?:1\\d|2[13-689]|3[1-6]|4[124-6]|6[1246-9]|7[1-378]|9[12479])|9(?:1[346-9]|2[1-4]|3[2-46-8]|5[1348]|[69][1-9]|7[12]|8[1-8]))|2(?:2\\d|3[1-35-8]|4[13-9]|7[1-689]|8[1-578]|9[467])|3(?:1[1-79]|[2458][1-9]|3\\d|7[1-8]|9[1-5])|4(?:1[1-57-9]|[25-7][1-9]|3[1-8]|4\\d|8[1-35-9]|9[2-689])|5(?:[56]\\d|88|9[1-79])|6(?:1[2-68]|[2-4][1-9]|5[1-3689]|6[1-57-9]|7[1-7]|8[67]|9[4-8])|7(?:[13467][1-9]|2\\d|5[13-9]|8[1-69]|9[17])|8(?:1\\d|2[13-689]|3[1-6]|4[124-6]|6[1246-9]|7[0-378]|9[12479])|9(?:1[346-9]|2[1-4]|3[2-46-8]|5[1348]|6[1-9]|7[12]|8[1-8]|9\\d))\\d{7}",,,,"12221234567",,,,[7,8]],[,,"8(?:00|88)\\d{7}",,,,"8001234567",,,[10]],[,,"900\\d{7}",,,,"9001234567",,,[10]],[,,"300\\d{7}",,,,"3001234567",,,[10]],[,,"500\\d{7}",,,,"5001234567",,,[10]],[,,,,,,,,,[-1]],"MX",52,"0[09]","01",,,"0(?:[12]|4[45])|1",,"00",,[[,"(\\d{5})","$1",["53"]],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["33|5[56]|81"],,,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2-9]"],,,1],[,"(\\d)(\\d{2})(\\d{4})(\\d{4})","$2 $3 $4",["1(?:33|5[56]|81)"],,,1],[,"(\\d)(\\d{3})(\\d{3})(\\d{4})","$2 $3 $4",["1"],,,1]],[[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["33|5[56]|81"],,,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2-9]"],,,1],[,"(\\d)(\\d{2})(\\d{4})(\\d{4})","$2 $3 $4",["1(?:33|5[56]|81)"],,,1],[,"(\\d)(\\d{3})(\\d{3})(\\d{4})","$2 $3 $4",["1"],,,1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MY:[,[,,"1\\d{8,9}|(?:3\\d|[4-9])\\d{7}",,,,,,,[8,9,10],[6,7]],[,,"(?:3(?:2[0-36-9]|3[0-368]|4[0-278]|5[0-24-8]|6[0-467]|7[1246-9]|8\\d|9[0-57])\\d|4(?:2[0-689]|[3-79]\\d|8[1-35689])|5(?:2[0-589]|[3468]\\d|5[0-489]|7[1-9]|9[23])|6(?:2[2-9]|3[1357-9]|[46]\\d|5[0-6]|7[0-35-9]|85|9[015-8])|7(?:[2579]\\d|3[03-68]|4[0-8]|6[5-9]|8[0-35-9])|8(?:[24][2-8]|3[2-5]|5[2-7]|6[2-589]|7[2-578]|[89][2-9])|9(?:0[57]|13|[25-7]\\d|[3489][0-8]))\\d{5}",,,,"323856789",,,[8,9],[6,7]],[,,"1(?:1888[689]|4400|8(?:47|8[27])[0-4])\\d{4}|1(?:0(?:[23568]\\d|4[0-6]|7[016-9]|9[0-8])|1(?:[1-5]\\d\\d|6(?:0[5-9]|[1-9]\\d)|7(?:[0-4]\\d|5[0-7]))|(?:[269]\\d|[37][1-9]|4[235-9])\\d|5(?:31|9\\d\\d)|8(?:1[23]|[236]\\d|4[06]|5(?:46|[7-9])|7[016-9]|8[01]|9[0-8]))\\d{5}",,,,"123456789",,,[9,10]],[,,"1[378]00\\d{6}",,,,"1300123456",,,[10]],[,,"1600\\d{6}",,,,"1600123456",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"15(?:4(?:6[0-4]\\d|8(?:0[125]|[17]\\d|21|3[01]|4[01589]|5[014]|6[02]))|6(?:32[0-6]|78\\d))\\d{4}",,,,"1546012345",,,[10]],"MY",60,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{4})","$1-$2 $3",["[4-79]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1-$2 $3",["1(?:[02469]|[378][1-9]|53)|8","1(?:[02469]|[37][1-9]|53|8(?:[1-46-9]|5[7-9]))|8"],"0$1"],[,"(\\d)(\\d{4})(\\d{4})","$1-$2 $3",["3"],"0$1"],[,"(\\d)(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3-$4",["1(?:[367]|80)"]],[,"(\\d{3})(\\d{3})(\\d{4})","$1-$2 $3",["15"],"0$1"],[,"(\\d{2})(\\d{4})(\\d{4})","$1-$2 $3",["1"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MZ:[,[,,"(?:2|8\\d)\\d{7}",,,,,,,[8,9]],[,,"2(?:[1346]\\d|5[0-2]|[78][12]|93)\\d{5}",,,,"21123456",,,[8]],[,,"8[2-79]\\d{7}",,,,"821234567",,,[9]],[,,"800\\d{6}",,,,"800123456",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"MZ",258,"00",,,,,,,,[[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["2|8[2-79]"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NA:[,[,,"[68]\\d{7,8}",,,,,,,[8,9]],[,,"64426\\d{3}|6(?:1(?:2[2-7]|3[01378]|4[0-4])|254|32[0237]|4(?:27|41|5[25])|52[236-8]|626|7(?:2[2-4]|30))\\d{4,5}|6(?:1(?:(?:0\\d|2[0189]|3[24-69]|4[5-9])\\d|17|69|7[014])|2(?:17|5[0-36-8]|69|70)|3(?:17|2[14-689]|34|6[289]|7[01]|81)|4(?:17|2[0-2]|4[06]|5[0137]|69|7[01])|5(?:17|2[0459]|69|7[01])|6(?:17|25|38|42|69|7[01])|7(?:17|2[569]|3[13]|6[89]|7[01]))\\d{4}",,,,"61221234"],[,,"(?:60|8[1245])\\d{7}",,,,"811234567",,,[9]],[,,"80\\d{7}",,,,"800123456",,,[9]],[,,"8701\\d{5}",,,,"870123456",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"8(?:3\\d\\d|86)\\d{5}",,,,"88612345"],"NA",264,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["88"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["6"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["87"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NC:[,[,,"(?:050|[2-57-9]\\d\\d)\\d{3}",,,,,,,[6]],[,,"(?:2[03-9]|3[0-5]|4[1-7]|88)\\d{4}",,,,"201234"],[,,"(?:5[0-4]|[79]\\d|8[0-79])\\d{4}",,,,"751234"],[,,"050\\d{3}",,,,"050012"],[,,"36\\d{4}",,,,"366711"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"NC",687,"00",,,,,,,,[[,"(\\d{3})","$1",["5[6-8]"]],[,"(\\d{2})(\\d{2})(\\d{2})","$1.$2.$3",["[02-57-9]"]]],[[,"(\\d{2})(\\d{2})(\\d{2})","$1.$2.$3",["[02-57-9]"]]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NE:[,[,,"[027-9]\\d{7}",,,,,,,[8]],[,,"2(?:0(?:20|3[1-8]|4[13-5]|5[14]|6[14578]|7[1-578])|1(?:4[145]|5[14]|6[14-68]|7[169]|88))\\d{4}",,,,"20201234"],[,,"(?:23|7[047]|[89]\\d)\\d{6}",,,,"93123456"],[,,"08\\d{6}",,,,"08123456"],[,,"09\\d{6}",,,,"09123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"NE",227,"00",,,,,,,,[[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["08"]],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[089]|2[013]|7[047]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NF:[,[,,"[13]\\d{5}",,,,,,,[6],[5]],[,,"(?:1(?:06|17|28|39)|3[0-2]\\d)\\d{3}",,,,"106609",,,,[5]],[,,"(?:14|3[58])\\d{4}",,,,"381234",,,,[5]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"NF",672,"00",,,,"([0-258]\\d{4})$","3$1",,,[[,"(\\d{2})(\\d{4})","$1 $2",["1[0-3]"]],[,"(\\d)(\\d{5})","$1 $2",["[13]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NG:[,[,,"(?:[124-7]|9\\d{3})\\d{6}|[1-9]\\d{7}|[78]\\d{9,13}",,,,,,,[7,8,10,11,12,13,14],[5,6]],[,,"(?:(?:[1-356]\\d|4[02-8]|8[2-9])\\d|9(?:0[3-9]|[1-9]\\d))\\d{5}|7(?:0(?:[013-689]\\d|2[0-24-9])\\d{3,4}|[1-79]\\d{6})|(?:[12]\\d|4[147]|5[14579]|6[1578]|7[1-3578])\\d{5}",,,,"18040123",,,[7,8],[5,6]],[,,"(?:702[0-24-9]|819[01])\\d{6}|(?:70[13-689]|8(?:0[1-9]|1[0-8])|9(?:0[1-9]|1[1-356]))\\d{7}",,,,"8021234567",,,[10]],[,,"800\\d{7,11}",,,,"80017591759",,,[10,11,12,13,14]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"NG",234,"009","0",,,"0",,,,[[,"(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["78"],"0$1"],[,"(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[12]|9(?:0[3-9]|[1-9])"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["[3-7]|8[2-9]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[7-9]"],"0$1"],[,"(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["[78]"],"0$1"],[,"(\\d{3})(\\d{5})(\\d{5,6})","$1 $2 $3",["[78]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"700\\d{7,11}",,,,"7001234567",,,[10,11,12,13,14]],,,[,,,,,,,,,[-1]]],NI:[,[,,"(?:1800|[25-8]\\d{3})\\d{4}",,,,,,,[8]],[,,"2\\d{7}",,,,"21234567"],[,,"(?:5(?:5[0-7]|[78]\\d)|6(?:20|3[035]|4[045]|5[05]|77|8[1-9]|9[059])|(?:7[5-8]|8\\d)\\d)\\d{5}",,,,"81234567"],[,,"1800\\d{4}",,,,"18001234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"NI",505,"00",,,,,,,,[[,"(\\d{4})(\\d{4})","$1 $2",["[125-8]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NL:[,[,,"(?:[124-7]\\d\\d|3(?:[02-9]\\d|1[0-8]))\\d{6}|8\\d{6,9}|9\\d{6,10}|1\\d{4,5}",,,,,,,[5,6,7,8,9,10,11]],[,,"(?:1(?:[035]\\d|1[13-578]|6[124-8]|7[24]|8[0-467])|2(?:[0346]\\d|2[2-46-9]|5[125]|9[479])|3(?:[03568]\\d|1[3-8]|2[01]|4[1-8])|4(?:[0356]\\d|1[1-368]|7[58]|8[15-8]|9[23579])|5(?:[0358]\\d|[19][1-9]|2[1-57-9]|4[13-8]|6[126]|7[0-3578])|7\\d\\d)\\d{6}",,,,"101234567",,,[9]],[,,"(?:6[1-58]|970\\d)\\d{7}",,,,"612345678",,,[9,11]],[,,"800\\d{4,7}",,,,"8001234",,,[7,8,9,10]],[,,"90[069]\\d{4,7}",,,,"9061234",,,[7,8,9,10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"(?:85|91)\\d{7}",,,,"851234567",,,[9]],"NL",31,"00","0",,,"0",,,,[[,"(\\d{4})","$1",["1[238]|[34]"]],[,"(\\d{2})(\\d{3,4})","$1 $2",["14"]],[,"(\\d{6})","$1",["1"]],[,"(\\d{3})(\\d{4,7})","$1 $2",["[89]0"],"0$1"],[,"(\\d{2})(\\d{7})","$1 $2",["66"],"0$1"],[,"(\\d)(\\d{8})","$1 $2",["6"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["1[16-8]|2[259]|3[124]|4[17-9]|5[124679]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-578]|91"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{5})","$1 $2 $3",["9"],"0$1"]],[[,"(\\d{3})(\\d{4,7})","$1 $2",["[89]0"],"0$1"],[,"(\\d{2})(\\d{7})","$1 $2",["66"],"0$1"],[,"(\\d)(\\d{8})","$1 $2",["6"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["1[16-8]|2[259]|3[124]|4[17-9]|5[124679]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-578]|91"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{5})","$1 $2 $3",["9"],"0$1"]],[,,"66\\d{7}",,,,"662345678",,,[9]],,,[,,"140(?:1[035]|2[0346]|3[03568]|4[0356]|5[0358]|8[458])|140(?:1[16-8]|2[259]|3[124]|4[17-9]|5[124679]|7)\\d",,,,,,,[5,6]],[,,"140(?:1[035]|2[0346]|3[03568]|4[0356]|5[0358]|8[458])|(?:140(?:1[16-8]|2[259]|3[124]|4[17-9]|5[124679]|7)|8[478]\\d{6})\\d",,,,"14020",,,[5,6,9]],,,[,,,,,,,,,[-1]]],NO:[,[,,"(?:0|[2-9]\\d{3})\\d{4}",,,,,,,[5,8]],[,,"(?:2[1-4]|3[1-3578]|5[1-35-7]|6[1-4679]|7[0-8])\\d{6}",,,,"21234567",,,[8]],[,,"(?:4[015-8]|9\\d)\\d{6}",,,,"40612345",,,[8]],[,,"80[01]\\d{5}",,,,"80012345",,,[8]],[,,"82[09]\\d{5}",,,,"82012345",,,[8]],[,,"810(?:0[0-6]|[2-8]\\d)\\d{3}",,,,"81021234",,,[8]],[,,"880\\d{5}",,,,"88012345",,,[8]],[,,"85[0-5]\\d{5}",,,,"85012345",,,[8]],"NO",47,"00",,,,,,,,[[,"(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["8"]],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-79]"]]],,[,,,,,,,,,[-1]],1,"[02-689]|7[0-8]",[,,,,,,,,,[-1]],[,,"(?:0[2-9]|81(?:0(?:0[7-9]|1\\d)|5\\d\\d))\\d{3}",,,,"02000"],,,[,,"81[23]\\d{5}",,,,"81212345",,,[8]]],NP:[,[,,"(?:1\\d|9)\\d{9}|[1-9]\\d{7}",,,,,,,[8,10,11],[6,7]],[,,"(?:1[0-6]\\d|99[02-6])\\d{5}|(?:2[13-79]|3[135-8]|4[146-9]|5[135-7]|6[13-9]|7[15-9]|8[1-46-9]|9[1-7])[2-6]\\d{5}",,,,"14567890",,,[8],[6,7]],[,,"9(?:6[0-3]|7[024-6]|8[0-24-68])\\d{7}",,,,"9841234567",,,[10]],[,,"1(?:66001|800\\d\\d)\\d{5}",,,,"16600101234",,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"NP",977,"00","0",,,"0",,,,[[,"(\\d)(\\d{7})","$1-$2",["1[2-6]"],"0$1"],[,"(\\d{2})(\\d{6})","$1-$2",["1[01]|[2-8]|9(?:[1-59]|[67][2-6])"],"0$1"],[,"(\\d{3})(\\d{7})","$1-$2",["9"]],[,"(\\d{4})(\\d{2})(\\d{5})","$1-$2-$3",["1"]]],[[,"(\\d)(\\d{7})","$1-$2",["1[2-6]"],"0$1"],[,"(\\d{2})(\\d{6})","$1-$2",["1[01]|[2-8]|9(?:[1-59]|[67][2-6])"],"0$1"],[,"(\\d{3})(\\d{7})","$1-$2",["9"]]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NR:[,[,,"(?:444|(?:55|8\\d)\\d|666)\\d{4}",,,,,,,[7]],[,,"444\\d{4}",,,,"4441234"],[,,"(?:55[3-9]|666|8\\d\\d)\\d{4}",,,,"5551234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"NR",674,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[4-68]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NU:[,[,,"(?:[4-7]|888\\d)\\d{3}",,,,,,,[4,7]],[,,"[47]\\d{3}",,,,"7012",,,[4]],[,,"(?:[56]|888[1-9])\\d{3}",,,,"8884012"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"NU",683,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["8"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NZ:[,[,,"[1289]\\d{9}|50\\d{5}(?:\\d{2,3})?|[27-9]\\d{7,8}|(?:[34]\\d|6[0-35-9])\\d{6}|8\\d{4,6}",,,,,,,[5,6,7,8,9,10]],[,,"24099\\d{3}|(?:3[2-79]|[49][2-9]|6[235-9]|7[2-57-9])\\d{6}",,,,"32345678",,,[8],[7]],[,,"2(?:[0-27-9]\\d|6)\\d{6,7}|2(?:1\\d|75)\\d{5}",,,,"211234567",,,[8,9,10]],[,,"508\\d{6,7}|80\\d{6,8}",,,,"800123456",,,[8,9,10]],[,,"(?:1[13-57-9]\\d{5}|50(?:0[08]|30|66|77|88))\\d{3}|90\\d{6,8}",,,,"900123456",,,[7,8,9,10]],[,,,,,,,,,[-1]],[,,"70\\d{7}",,,,"701234567",,,[9]],[,,,,,,,,,[-1]],"NZ",64,"0(?:0|161)","0",,,"0",,"00",,[[,"(\\d{2})(\\d{3,8})","$1 $2",["8[1-79]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["50[036-8]|8|90","50(?:[0367]|88)|8|90"],"0$1"],[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["24|[346]|7[2-57-9]|9[2-9]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["2(?:10|74)|[589]"],"0$1"],[,"(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["1|2[028]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,5})","$1 $2 $3",["2(?:[169]|7[0-35-9])|7"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"8(?:1[16-9]|22|3\\d|4[045]|5[459]|6[235-9]|7[0-3579]|90)\\d{2,7}",,,,"83012378"],,,[,,,,,,,,,[-1]]],OM:[,[,,"(?:1505|[279]\\d{3}|500)\\d{4}|800\\d{5,6}",,,,,,,[7,8,9]],[,,"2[1-6]\\d{6}",,,,"23123456",,,[8]],[,,"1505\\d{4}|(?:7(?:[1289]\\d|6[89]|7[0-5])|9(?:0[1-9]|[1-9]\\d))\\d{5}",,,,"92123456",,,[8]],[,,"8007\\d{4,5}|(?:500|800[05])\\d{4}",,,,"80071234"],[,,"900\\d{5}",,,,"90012345",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"OM",968,"00",,,,,,,,[[,"(\\d{3})(\\d{4,6})","$1 $2",["[58]"]],[,"(\\d{2})(\\d{6})","$1 $2",["2"]],[,"(\\d{4})(\\d{4})","$1 $2",["[179]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PA:[,[,,"(?:00800|8\\d{3})\\d{6}|[68]\\d{7}|[1-57-9]\\d{6}",,,,,,,[7,8,10,11]],[,,"(?:1(?:0\\d|1[479]|2[37]|3[0137]|4[17]|5[05]|6[058]|7[0167]|8[2358]|9[1389])|2(?:[0235-79]\\d|1[0-7]|4[013-9]|8[02-9])|3(?:[089]\\d|1[0-7]|2[0-5]|33|4[0-79]|5[0-35]|6[068]|7[0-8])|4(?:00|3[0-579]|4\\d|7[0-57-9])|5(?:[01]\\d|2[0-7]|[56]0|79)|7(?:0[09]|2[0-26-8]|3[03]|4[04]|5[05-9]|6[0156]|7[0-24-9]|8[5-9]|90)|8(?:09|2[89]|3\\d|4[0-24-689]|5[014]|8[02])|9(?:0[5-9]|1[0135-8]|2[036-9]|3[35-79]|40|5[0457-9]|6[05-9]|7[04-9]|8[35-8]|9\\d))\\d{4}",,,,"2001234",,,[7]],[,,"(?:1[16]1|21[89]|6\\d{3}|8(?:1[01]|7[23]))\\d{4}",,,,"61234567",,,[7,8]],[,,"800\\d{4,5}|(?:00800|800\\d)\\d{6}",,,,"8001234"],[,,"(?:8(?:22|55|60|7[78]|86)|9(?:00|81))\\d{4}",,,,"8601234",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"PA",507,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1-$2",["[1-57-9]"]],[,"(\\d{4})(\\d{4})","$1-$2",["[68]"]],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PE:[,[,,"(?:[14-8]|9\\d)\\d{7}",,,,,,,[8,9],[6,7]],[,,"(?:(?:4[34]|5[14])[0-8]\\d|7(?:173|3[0-8]\\d)|8(?:10[05689]|6(?:0[06-9]|1[6-9]|29)|7(?:0[569]|[56]0)))\\d{4}|(?:1[0-8]|4[12]|5[236]|6[1-7]|7[246]|8[2-4])\\d{6}",,,,"11234567",,,[8],[6,7]],[,,"9\\d{8}",,,,"912345678",,,[9]],[,,"800\\d{5}",,,,"80012345",,,[8]],[,,"805\\d{5}",,,,"80512345",,,[8]],[,,"801\\d{5}",,,,"80112345",,,[8]],[,,"80[24]\\d{5}",,,,"80212345",,,[8]],[,,,,,,,,,[-1]],"PE",51,"00|19(?:1[124]|77|90)00","0"," Anexo ",,"0",,"00",,[[,"(\\d{3})(\\d{5})","$1 $2",["80"],"(0$1)"],[,"(\\d)(\\d{7})","$1 $2",["1"],"(0$1)"],[,"(\\d{2})(\\d{6})","$1 $2",["[4-8]"],"(0$1)"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PF:[,[,,"4\\d{5}(?:\\d{2})?|8\\d{7,8}",,,,,,,[6,8,9]],[,,"4(?:0[4-689]|9[4-68])\\d{5}",,,,"40412345",,,[8]],[,,"8[7-9]\\d{6}",,,,"87123456",,,[8]],[,,"80[0-5]\\d{6}",,,,"800012345",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"499\\d{5}",,,,"49901234",,,[8]],"PF",689,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["44"]],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["4|8[7-9]"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]]],,[,,,,,,,,,[-1]],,,[,,"44\\d{4}",,,,,,,[6]],[,,"44\\d{4}",,,,"440123",,,[6]],,,[,,,,,,,,,[-1]]],PG:[,[,,"(?:180|[78]\\d{3})\\d{4}|(?:[2-589]\\d|64)\\d{5}",,,,,,,[7,8]],[,,"(?:(?:3[0-2]|4[257]|5[34]|9[78])\\d|64[1-9]|85[02-46-9])\\d{4}",,,,"3123456",,,[7]],[,,"(?:7\\d|8[128])\\d{6}",,,,"70123456",,,[8]],[,,"180\\d{4}",,,,"1801234",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"2(?:0[0-57]|7[568])\\d{4}",,,,"2751234",,,[7]],"PG",675,"00|140[1-3]",,,,,,"00",,[[,"(\\d{3})(\\d{4})","$1 $2",["18|[2-69]|85"]],[,"(\\d{4})(\\d{4})","$1 $2",["[78]"]]],,[,,"27[01]\\d{4}",,,,"2700123",,,[7]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PH:[,[,,"(?:[2-7]|9\\d)\\d{8}|2\\d{5}|(?:1800|8)\\d{7,9}",,,,,,,[6,8,9,10,11,12,13],[4,5,7]],[,,"(?:(?:2[3-8]|3[2-68]|4[2-9]|5[2-6]|6[2-58]|7[24578])\\d{3}|88(?:22\\d\\d|42))\\d{4}|(?:2|8[2-8]\\d\\d)\\d{5}",,,,"232345678",,,[6,8,9,10],[4,5,7]],[,,"(?:8(?:1[37]|9[5-8])|9(?:0[5-9]|1[0-24-9]|[235-7]\\d|4[2-9]|8[135-9]|9[1-9]))\\d{7}",,,,"9051234567",,,[10]],[,,"1800\\d{7,9}",,,,"180012345678",,,[11,12,13]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"PH",63,"00","0",,,"0",,,,[[,"(\\d)(\\d{5})","$1 $2",["2"],"(0$1)"],[,"(\\d{4})(\\d{4,6})","$1 $2",["3(?:23|39|46)|4(?:2[3-6]|[35]9|4[26]|76)|544|88[245]|(?:52|64|86)2","3(?:230|397|461)|4(?:2(?:35|[46]4|51)|396|4(?:22|63)|59[347]|76[15])|5(?:221|446)|642[23]|8(?:622|8(?:[24]2|5[13]))"],"(0$1)"],[,"(\\d{5})(\\d{4})","$1 $2",["346|4(?:27|9[35])|883","3469|4(?:279|9(?:30|56))|8834"],"(0$1)"],[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2"],"(0$1)"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[3-7]|8[2-8]"],"(0$1)"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]],[,"(\\d{4})(\\d{1,2})(\\d{3})(\\d{4})","$1 $2 $3 $4",["1"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PK:[,[,,"122\\d{6}|[24-8]\\d{10,11}|9(?:[013-9]\\d{8,10}|2(?:[01]\\d\\d|2(?:[06-8]\\d|1[01]))\\d{7})|(?:[2-8]\\d{3}|92(?:[0-7]\\d|8[1-9]))\\d{6}|[24-9]\\d{8}|[89]\\d{7}",,,,,,,[8,9,10,11,12],[5,6,7]],[,,"(?:(?:21|42)[2-9]|58[126])\\d{7}|(?:2[25]|4[0146-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91)[2-9]\\d{6,7}|(?:2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:2[2-8]|3[27-9]|4[2-6]|6[3569]|9[25-8]))[2-9]\\d{5,6}",,,,"2123456789",,,[9,10],[5,6,7,8]],[,,"3(?:[0-247]\\d|3[0-79]|55|64)\\d{7}",,,,"3012345678",,,[10]],[,,"800\\d{5}(?:\\d{3})?",,,,"80012345",,,[8,11]],[,,"900\\d{5}",,,,"90012345",,,[8]],[,,,,,,,,,[-1]],[,,"122\\d{6}",,,,"122044444",,,[9]],[,,,,,,,,,[-1]],"PK",92,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3})(\\d{2,7})","$1 $2 $3",["[89]0"],"0$1"],[,"(\\d{4})(\\d{5})","$1 $2",["1"]],[,"(\\d{3})(\\d{6,7})","$1 $2",["2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:2[2-8]|3[27-9]|4[2-6]|6[3569]|9[25-8])","9(?:2[3-8]|98)|(?:2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:22|3[27-9]|4[2-6]|6[3569]|9[25-7]))[2-9]"],"(0$1)"],[,"(\\d{2})(\\d{7,8})","$1 $2",["(?:2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91)[2-9]"],"(0$1)"],[,"(\\d{5})(\\d{5})","$1 $2",["58"],"(0$1)"],[,"(\\d{3})(\\d{7})","$1 $2",["3"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91"],"(0$1)"],[,"(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[24-9]"],"(0$1)"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"(?:2(?:[125]|3[2358]|4[2-4]|9[2-8])|4(?:[0-246-9]|5[3479])|5(?:[1-35-7]|4[2-467])|6(?:0[468]|[1-8])|7(?:[14]|2[236])|8(?:[16]|2[2-689]|3[23578]|4[3478]|5[2356])|9(?:1|22|3[27-9]|4[2-6]|6[3569]|9[2-7]))111\\d{6}",,,,"21111825888",,,[11,12]],,,[,,,,,,,,,[-1]]],PL:[,[,,"(?:6|8\\d\\d)\\d{7}|[1-9]\\d{6}(?:\\d{2})?|[26]\\d{5}",,,,,,,[6,7,8,9,10]],[,,"47\\d{7}|(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])(?:[02-9]\\d{6}|1(?:[0-8]\\d{5}|9\\d{3}(?:\\d{2})?))",,,,"123456789",,,[7,9]],[,,"21(?:1(?:[145]\\d|3[1-5])|2\\d\\d)\\d{4}|(?:45|5[0137]|6[069]|7[2389]|88)\\d{7}",,,,"512345678",,,[9]],[,,"800\\d{6,7}",,,,"800123456",,,[9,10]],[,,"70[01346-8]\\d{6}",,,,"701234567",,,[9]],[,,"801\\d{6}",,,,"801234567",,,[9]],[,,,,,,,,,[-1]],[,,"39\\d{7}",,,,"391234567",,,[9]],"PL",48,"00",,,,,,,,[[,"(\\d{5})","$1",["19"]],[,"(\\d{3})(\\d{3})","$1 $2",["11|20|64"]],[,"(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])1","(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])19"]],[,"(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["64"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["21|39|45|5[0137]|6[0469]|7[02389]|8(?:0[14]|8)"]],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[2-8]|[2-7]|8[1-79]|9[145]"]],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["8"]]],,[,,"64\\d{4,7}",,,,"641234567",,,[6,7,8,9]],,,[,,,,,,,,,[-1]],[,,"804\\d{6}",,,,"804123456",,,[9]],,,[,,,,,,,,,[-1]]],PM:[,[,,"[45]\\d{5}|(?:708|80\\d)\\d{6}",,,,,,,[6,9]],[,,"(?:4[1-35-7]|5[01])\\d{4}",,,,"430123",,,[6]],[,,"(?:4[02-4]|5[056]|708[45][0-5])\\d{4}",,,,"551234"],[,,"80[0-5]\\d{6}",,,,"800012345",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"PM",508,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[45]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["7"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PR:[,[,,"(?:[589]\\d\\d|787)\\d{7}",,,,,,,[10],[7]],[,,"(?:787|939)[2-9]\\d{6}",,,,"7872345678",,,,[7]],[,,"(?:787|939)[2-9]\\d{6}",,,,"7872345678",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002345678"],[,,"900[2-9]\\d{6}",,,,"9002345678"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"PR",1,"011","1",,,"1",,,1,,,[,,,,,,,,,[-1]],,"787|939",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PS:[,[,,"[2489]2\\d{6}|(?:1\\d|5)\\d{8}",,,,,,,[8,9,10],[7]],[,,"(?:22[2-47-9]|42[45]|82[014-68]|92[3569])\\d{5}",,,,"22234567",,,[8],[7]],[,,"5[69]\\d{7}",,,,"599123456",,,[9]],[,,"1800\\d{6}",,,,"1800123456",,,[10]],[,,,,,,,,,[-1]],[,,"1700\\d{6}",,,,"1700123456",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"PS",970,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2489]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["5"],"0$1"],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PT:[,[,,"1693\\d{5}|(?:[26-9]\\d|30)\\d{7}",,,,,,,[9]],[,,"2(?:[12]\\d|3[1-689]|4[1-59]|[57][1-9]|6[1-35689]|8[1-69]|9[1256])\\d{6}",,,,"212345678"],[,,"6(?:[06]92(?:30|9\\d)|[35]92(?:3[03]|9\\d))\\d{3}|(?:(?:16|6[0356])93|9(?:[1-36]\\d\\d|480))\\d{5}",,,,"912345678"],[,,"80[02]\\d{6}",,,,"800123456"],[,,"(?:6(?:0[178]|4[68])\\d|76(?:0[1-57]|1[2-47]|2[237]))\\d{5}",,,,"760123456"],[,,"80(?:8\\d|9[1579])\\d{5}",,,,"808123456"],[,,"884[0-4689]\\d{5}",,,,"884123456"],[,,"30\\d{7}",,,,"301234567"],"PT",351,"00",,,,,,,,[[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["2[12]"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["16|[236-9]"]]],,[,,"6222\\d{5}",,,,"622212345"],,,[,,,,,,,,,[-1]],[,,"70(?:38[01]|596|(?:7\\d|8[17])\\d)\\d{4}",,,,"707123456"],,,[,,"600\\d{6}|6[06]9233\\d{3}",,,,"600110000"]],PW:[,[,,"(?:[24-8]\\d\\d|345|900)\\d{4}",,,,,,,[7]],[,,"(?:2(?:55|77)|345|488|5(?:35|44|87)|6(?:22|54|79)|7(?:33|47)|8(?:24|55|76)|900)\\d{4}",,,,"2771234"],[,,"(?:(?:46|83)[0-5]|6[2-4689]0)\\d{4}|(?:45|77|88)\\d{5}",,,,"6201234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"PW",680,"01[12]",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PY:[,[,,"59\\d{4,6}|9\\d{5,10}|(?:[2-46-8]\\d|5[0-8])\\d{4,7}",,,,,,,[6,7,8,9,10,11],[5]],[,,"(?:[26]1|3[289]|4[1246-8]|7[1-3]|8[1-36])\\d{5,7}|(?:2(?:2[4-68]|[4-68]\\d|7[15]|9[1-5])|3(?:18|3[167]|4[2357]|51|[67]\\d)|4(?:3[12]|5[13]|9[1-47])|5(?:[1-4]\\d|5[02-4])|6(?:3[1-3]|44|7[1-8])|7(?:4[0-4]|5\\d|6[1-578]|75|8[0-8])|858)\\d{5,6}",,,,"212345678",,,[7,8,9],[5,6]],[,,"9(?:51|6[129]|[78][1-6]|9[1-5])\\d{6}",,,,"961456789",,,[9]],[,,"9800\\d{5,7}",,,,"98000123456",,,[9,10,11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"8700[0-4]\\d{4}",,,,"870012345",,,[9]],"PY",595,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3,6})","$1 $2",["[2-9]0"],"0$1"],[,"(\\d{2})(\\d{5})","$1 $2",["[26]1|3[289]|4[1246-8]|7[1-3]|8[1-36]"],"(0$1)"],[,"(\\d{3})(\\d{4,5})","$1 $2",["2[279]|3[13-5]|4[359]|5|6(?:[34]|7[1-46-8])|7[46-8]|85"],"(0$1)"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["2[14-68]|3[26-9]|4[1246-8]|6(?:1|75)|7[1-35]|8[1-36]"],"(0$1)"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["87"]],[,"(\\d{3})(\\d{6})","$1 $2",["9(?:[5-79]|8[1-6])"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[2-8]"],"0$1"],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["9"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"[2-9]0\\d{4,7}",,,,"201234567",,,[6,7,8,9]],,,[,,,,,,,,,[-1]]],QA:[,[,,"800\\d{4}|(?:2|800)\\d{6}|(?:0080|[3-7])\\d{7}",,,,,,,[7,8,9,11]],[,,"4(?:1111|2022)\\d{3}|4(?:[04]\\d\\d|14[0-6]|999)\\d{4}",,,,"44123456",,,[8]],[,,"[35-7]\\d{7}",,,,"33123456",,,[8]],[,,"800\\d{4}|(?:0080[01]|800)\\d{6}",,,,"8001234",,,[7,9,11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"QA",974,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["2[16]|8"]],[,"(\\d{4})(\\d{4})","$1 $2",["[3-7]"]]],,[,,"2[16]\\d{5}",,,,"2123456",,,[7]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],RE:[,[,,"(?:26|[689]\\d)\\d{7}",,,,,,,[9]],[,,"26(?:2\\d\\d|3(?:0\\d|1[0-6]))\\d{4}",,,,"262161234"],[,,"69(?:2\\d\\d|3(?:[06][0-6]|1[013]|2[0-2]|3[0-39]|4\\d|5[0-5]|7[0-37]|8[0-8]|9[0-479]))\\d{4}",,,,"692123456"],[,,"80\\d{7}",,,,"801234567"],[,,"89[1-37-9]\\d{6}",,,,"891123456"],[,,"8(?:1[019]|2[0156]|84|90)\\d{6}",,,,"810123456"],[,,,,,,,,,[-1]],[,,"9(?:399[0-3]|479[0-5]|76(?:2[27]|3[0-37]))\\d{4}",,,,"939901234"],"RE",262,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2689]"],"0$1"]],,[,,,,,,,,,[-1]],1,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],RO:[,[,,"(?:[2378]\\d|62|90)\\d{7}|[23]\\d{5}",,,,,,,[6,9]],[,,"[23][13-6]\\d{7}|(?:2(?:19\\d|[3-6]\\d9)|31\\d\\d)\\d\\d",,,,"211234567"],[,,"7020\\d{5}|(?:62\\d|7(?:0[013-9]|1[0-3]|[2-7]\\d|8[03-8]|9[0-39]))\\d{6}",,,,"712034567",,,[9]],[,,"800\\d{6}",,,,"800123456",,,[9]],[,,"90[0136]\\d{6}",,,,"900123456",,,[9]],[,,"801\\d{6}",,,,"801123456",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"RO",40,"00","0"," int ",,"0",,,,[[,"(\\d{3})(\\d{3})","$1 $2",["2[3-6]","2[3-6]\\d9"],"0$1"],[,"(\\d{2})(\\d{4})","$1 $2",["219|31"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[23]1"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[236-9]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"(?:37\\d|80[578])\\d{6}",,,,"372123456",,,[9]],,,[,,,,,,,,,[-1]]],RS:[,[,,"38[02-9]\\d{6,9}|6\\d{7,9}|90\\d{4,8}|38\\d{5,6}|(?:7\\d\\d|800)\\d{3,9}|(?:[12]\\d|3[0-79])\\d{5,10}",,,,,,,[6,7,8,9,10,11,12],[4,5]],[,,"(?:11[1-9]\\d|(?:2[389]|39)(?:0[2-9]|[2-9]\\d))\\d{3,8}|(?:1[02-9]|2[0-24-7]|3[0-8])[2-9]\\d{4,9}",,,,"10234567",,,[7,8,9,10,11,12],[4,5,6]],[,,"6(?:[0-689]|7\\d)\\d{6,7}",,,,"601234567",,,[8,9,10]],[,,"800\\d{3,9}",,,,"80012345"],[,,"(?:78\\d|90[0169])\\d{3,7}",,,,"90012345",,,[6,7,8,9,10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"RS",381,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3,9})","$1 $2",["(?:2[389]|39)0|[7-9]"],"0$1"],[,"(\\d{2})(\\d{5,10})","$1 $2",["[1-36]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"7[06]\\d{4,10}",,,,"700123456"],,,[,,,,,,,,,[-1]]],RU:[,[,,"8\\d{13}|[347-9]\\d{9}",,,,,,,[10,14],[7]],[,,"(?:3(?:0[12]|4[1-35-79]|5[1-3]|65|8[1-58]|9[0145])|4(?:01|1[1356]|2[13467]|7[1-5]|8[1-7]|9[1-689])|8(?:1[1-8]|2[01]|3[13-6]|4[0-8]|5[15]|6[1-35-79]|7[1-37-9]))\\d{7}",,,,"3011234567",,,[10],[7]],[,,"9\\d{9}",,,,"9123456789",,,[10]],[,,"8(?:0[04]|108\\d{3})\\d{7}",,,,"8001234567"],[,,"80[39]\\d{7}",,,,"8091234567",,,[10]],[,,,,,,,,,[-1]],[,,"808\\d{7}",,,,"8081234567",,,[10]],[,,,,,,,,,[-1]],"RU",7,"810","8",,,"8",,"8~10",,[[,"(\\d{3})(\\d{2})(\\d{2})","$1-$2-$3",["[0-79]"]],[,"(\\d{4})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-8]|2[1-9])","7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:1[23]|[2-9]2))","7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:13[03-69]|62[013-9]))|72[1-57-9]2"],"8 ($1)",,1],[,"(\\d{5})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-68]|2[1-9])","7(?:1(?:[06][3-6]|[18]|2[35]|[3-5][3-5])|2(?:[13][3-5]|[24-689]|7[457]))","7(?:1(?:0(?:[356]|4[023])|[18]|2(?:3[013-9]|5)|3[45]|43[013-79]|5(?:3[1-8]|4[1-7]|5)|6(?:3[0-35-9]|[4-6]))|2(?:1(?:3[178]|[45])|[24-689]|3[35]|7[457]))|7(?:14|23)4[0-8]|71(?:33|45)[1-79]"],"8 ($1)",,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"8 ($1)",,1],[,"(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[349]|8(?:[02-7]|1[1-8])"],"8 ($1)",,1],[,"(\\d{4})(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3 $4",["8"],"8 ($1)"]],[[,"(\\d{4})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-8]|2[1-9])","7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:1[23]|[2-9]2))","7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:13[03-69]|62[013-9]))|72[1-57-9]2"],"8 ($1)",,1],[,"(\\d{5})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-68]|2[1-9])","7(?:1(?:[06][3-6]|[18]|2[35]|[3-5][3-5])|2(?:[13][3-5]|[24-689]|7[457]))","7(?:1(?:0(?:[356]|4[023])|[18]|2(?:3[013-9]|5)|3[45]|43[013-79]|5(?:3[1-8]|4[1-7]|5)|6(?:3[0-35-9]|[4-6]))|2(?:1(?:3[178]|[45])|[24-689]|3[35]|7[457]))|7(?:14|23)4[0-8]|71(?:33|45)[1-79]"],"8 ($1)",,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"8 ($1)",,1],[,"(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[349]|8(?:[02-7]|1[1-8])"],"8 ($1)",,1],[,"(\\d{4})(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3 $4",["8"],"8 ($1)"]],[,,,,,,,,,[-1]],1,"3[04-689]|[489]",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],RW:[,[,,"(?:06|[27]\\d\\d|[89]00)\\d{6}",,,,,,,[8,9]],[,,"(?:06|2[23568]\\d)\\d{6}",,,,"250123456"],[,,"7[237-9]\\d{7}",,,,"720123456",,,[9]],[,,"800\\d{6}",,,,"800123456",,,[9]],[,,"900\\d{6}",,,,"900123456",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"RW",250,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[7-9]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SA:[,[,,"92\\d{7}|(?:[15]|8\\d)\\d{8}",,,,,,,[9,10],[7]],[,,"1(?:1\\d|2[24-8]|3[35-8]|4[3-68]|6[2-5]|7[235-7])\\d{6}",,,,"112345678",,,[9],[7]],[,,"579[01]\\d{5}|5(?:[013-689]\\d|7[0-8])\\d{6}",,,,"512345678",,,[9]],[,,"800\\d{7}",,,,"8001234567",,,[10]],[,,"925\\d{6}",,,,"925012345",,,[9]],[,,"920\\d{6}",,,,"920012345",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"SA",966,"00","0",,,"0",,,,[[,"(\\d{4})(\\d{5})","$1 $2",["9"]],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["5"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["81"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"811\\d{7}",,,,"8110123456",,,[10]],,,[,,,,,,,,,[-1]]],SB:[,[,,"(?:[1-6]|[7-9]\\d\\d)\\d{4}",,,,,,,[5,7]],[,,"(?:1[4-79]|[23]\\d|4[0-2]|5[03]|6[0-37])\\d{3}",,,,"40123",,,[5]],[,,"48\\d{3}|(?:(?:7[1-9]|8[4-9])\\d|9(?:1[2-9]|2[013-9]|3[0-2]|[46]\\d|5[0-46-9]|7[0-689]|8[0-79]|9[0-8]))\\d{4}",,,,"7421234"],[,,"1[38]\\d{3}",,,,"18123",,,[5]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"5[12]\\d{3}",,,,"51123",,,[5]],"SB",677,"0[01]",,,,,,,,[[,"(\\d{2})(\\d{5})","$1 $2",["7|8[4-9]|9(?:[1-8]|9[0-8])"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SC:[,[,,"800\\d{4}|(?:[249]\\d|64)\\d{5}",,,,,,,[7]],[,,"4[2-46]\\d{5}",,,,"4217123"],[,,"2[125-8]\\d{5}",,,,"2510123"],[,,"800[08]\\d{3}",,,,"8000000"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"971\\d{4}|(?:64|95)\\d{5}",,,,"6412345"],"SC",248,"010|0[0-2]",,,,,,"00",,[[,"(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[246]|9[57]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SD:[,[,,"[19]\\d{8}",,,,,,,[9]],[,,"1(?:5\\d|8[35-7])\\d{6}",,,,"153123456"],[,,"(?:1[0-2]|9[0-3569])\\d{7}",,,,"911231234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"SD",249,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[19]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SE:[,[,,"(?:[26]\\d\\d|9)\\d{9}|[1-9]\\d{8}|[1-689]\\d{7}|[1-4689]\\d{6}|2\\d{5}",,,,,,,[6,7,8,9,10,12]],[,,"(?:(?:[12][136]|3[356]|4[0246]|6[03]|8\\d)\\d|90[1-9])\\d{4,6}|(?:1(?:2[0-35]|4[0-4]|5[0-25-9]|7[13-6]|[89]\\d)|2(?:2[0-7]|4[0136-8]|5[0138]|7[018]|8[01]|9[0-57])|3(?:0[0-4]|1\\d|2[0-25]|4[056]|7[0-2]|8[0-3]|9[023])|4(?:1[013-8]|3[0135]|5[14-79]|7[0-246-9]|8[0156]|9[0-689])|5(?:0[0-6]|[15][0-5]|2[0-68]|3[0-4]|4\\d|6[03-5]|7[013]|8[0-79]|9[01])|6(?:1[1-3]|2[0-4]|4[02-57]|5[0-37]|6[0-3]|7[0-2]|8[0247]|9[0-356])|9(?:1[0-68]|2\\d|3[02-5]|4[0-3]|5[0-4]|[68][01]|7[0135-8]))\\d{5,6}",,,,"8123456",,,[7,8,9]],[,,"7[02369]\\d{7}",,,,"701234567",,,[9]],[,,"20\\d{4,7}",,,,"20123456",,,[6,7,8,9]],[,,"649\\d{6}|99[1-59]\\d{4}(?:\\d{3})?|9(?:00|39|44)[1-8]\\d{3,6}",,,,"9001234567",,,[7,8,9,10]],[,,"77[0-7]\\d{6}",,,,"771234567",,,[9]],[,,"75[1-8]\\d{6}",,,,"751234567",,,[9]],[,,,,,,,,,[-1]],"SE",46,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{2,3})(\\d{2})","$1-$2 $3",["20"],"0$1"],[,"(\\d{3})(\\d{4})","$1-$2",["9(?:00|39|44|9)"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2})","$1-$2 $3",["[12][136]|3[356]|4[0246]|6[03]|90[1-9]"],"0$1"],[,"(\\d)(\\d{2,3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["8"],"0$1"],[,"(\\d{3})(\\d{2,3})(\\d{2})","$1-$2 $3",["1[2457]|2(?:[247-9]|5[0138])|3[0247-9]|4[1357-9]|5[0-35-9]|6(?:[125689]|4[02-57]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"],"0$1"],[,"(\\d{3})(\\d{2,3})(\\d{3})","$1-$2 $3",["9(?:00|39|44)"],"0$1"],[,"(\\d{2})(\\d{2,3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["1[13689]|2[0136]|3[1356]|4[0246]|54|6[03]|90[1-9]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["10|7"],"0$1"],[,"(\\d)(\\d{3})(\\d{3})(\\d{2})","$1-$2 $3 $4",["8"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1-$2 $3 $4",["[13-5]|2(?:[247-9]|5[0138])|6(?:[124-689]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{3})","$1-$2 $3 $4",["9"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4 $5",["[26]"],"0$1"]],[[,"(\\d{2})(\\d{2,3})(\\d{2})","$1 $2 $3",["20"]],[,"(\\d{3})(\\d{4})","$1 $2",["9(?:00|39|44|9)"]],[,"(\\d{2})(\\d{3})(\\d{2})","$1 $2 $3",["[12][136]|3[356]|4[0246]|6[03]|90[1-9]"]],[,"(\\d)(\\d{2,3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]],[,"(\\d{3})(\\d{2,3})(\\d{2})","$1 $2 $3",["1[2457]|2(?:[247-9]|5[0138])|3[0247-9]|4[1357-9]|5[0-35-9]|6(?:[125689]|4[02-57]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"]],[,"(\\d{3})(\\d{2,3})(\\d{3})","$1 $2 $3",["9(?:00|39|44)"]],[,"(\\d{2})(\\d{2,3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[13689]|2[0136]|3[1356]|4[0246]|54|6[03]|90[1-9]"]],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["10|7"]],[,"(\\d)(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3 $4",["8"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[13-5]|2(?:[247-9]|5[0138])|6(?:[124-689]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["9"]],[,"(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[26]"]]],[,,"74[02-9]\\d{6}",,,,"740123456",,,[9]],,,[,,,,,,,,,[-1]],[,,"10[1-8]\\d{6}",,,,"102345678",,,[9]],,,[,,"(?:25[245]|67[3-68])\\d{9}",,,,"254123456789",,,[12]]],SG:[,[,,"(?:(?:1\\d|8)\\d\\d|7000)\\d{7}|[3689]\\d{7}",,,,,,,[8,10,11]],[,,"662[0-24-9]\\d{4}|6(?:[0-578]\\d|6[013-57-9]|9[0-35-9])\\d{5}",,,,"61234567",,,[8]],[,,"8(?:08[013]|95[0-2])\\d{4}|(?:8(?:0[1-7]|[1-8]\\d|9[0-4])|9[0-8]\\d)\\d{5}",,,,"81234567",,,[8]],[,,"(?:18|8)00\\d{7}",,,,"18001234567",,,[10,11]],[,,"1900\\d{7}",,,,"19001234567",,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"(?:3[12]\\d|666)\\d{5}",,,,"31234567",,,[8]],"SG",65,"0[0-3]\\d",,,,,,,,[[,"(\\d{4,5})","$1",["1[013-9]|77","1(?:[013-8]|9(?:0[1-9]|[1-9]))|77"]],[,"(\\d{4})(\\d{4})","$1 $2",["[369]|8(?:0[1-8]|[1-9])"]],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]],[,"(\\d{4})(\\d{4})(\\d{3})","$1 $2 $3",["7"]],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]],[[,"(\\d{4})(\\d{4})","$1 $2",["[369]|8(?:0[1-8]|[1-9])"]],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]],[,"(\\d{4})(\\d{4})(\\d{3})","$1 $2 $3",["7"]],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"7000\\d{7}",,,,"70001234567",,,[11]],,,[,,,,,,,,,[-1]]],SH:[,[,,"(?:[256]\\d|8)\\d{3}",,,,,,,[4,5]],[,,"2(?:[0-57-9]\\d|6[4-9])\\d\\d",,,,"22158"],[,,"[56]\\d{4}",,,,"51234",,,[5]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"262\\d\\d",,,,"26212",,,[5]],"SH",290,"00",,,,,,,,,,[,,,,,,,,,[-1]],1,"[256]",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SI:[,[,,"[1-7]\\d{7}|8\\d{4,7}|90\\d{4,6}",,,,,,,[5,6,7,8]],[,,"(?:[1-357][2-8]|4[24-8])\\d{6}",,,,"12345678",,,[8],[7]],[,,"65(?:[178]\\d|5[56]|6[01])\\d{4}|(?:[37][01]|4[0139]|51|6[489])\\d{6}",,,,"31234567",,,[8]],[,,"80\\d{4,6}",,,,"80123456",,,[6,7,8]],[,,"89[1-3]\\d{2,5}|90\\d{4,6}",,,,"90123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"(?:59\\d\\d|8(?:1(?:[67]\\d|8[0-589])|2(?:0\\d|2[0-37-9]|8[0-2489])|3[389]\\d))\\d{4}",,,,"59012345",,,[8]],"SI",386,"00|10(?:22|66|88|99)","0",,,"0",,"00",,[[,"(\\d{2})(\\d{3,6})","$1 $2",["8[09]|9"],"0$1"],[,"(\\d{3})(\\d{5})","$1 $2",["59|8"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[37][01]|4[0139]|51|6"],"0$1"],[,"(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-57]"],"(0$1)"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SJ:[,[,,"0\\d{4}|(?:[489]\\d|79)\\d{6}",,,,,,,[5,8]],[,,"79\\d{6}",,,,"79123456",,,[8]],[,,"(?:4[015-8]|9\\d)\\d{6}",,,,"41234567",,,[8]],[,,"80[01]\\d{5}",,,,"80012345",,,[8]],[,,"82[09]\\d{5}",,,,"82012345",,,[8]],[,,"810(?:0[0-6]|[2-8]\\d)\\d{3}",,,,"81021234",,,[8]],[,,"880\\d{5}",,,,"88012345",,,[8]],[,,"85[0-5]\\d{5}",,,,"85012345",,,[8]],"SJ",47,"00",,,,,,,,,,[,,,,,,,,,[-1]],,"79",[,,,,,,,,,[-1]],[,,"(?:0[2-9]|81(?:0(?:0[7-9]|1\\d)|5\\d\\d))\\d{3}",,,,"02000"],,,[,,"81[23]\\d{5}",,,,"81212345",,,[8]]],SK:[,[,,"[2-689]\\d{8}|[2-59]\\d{6}|[2-5]\\d{5}",,,,,,,[6,7,9]],[,,"(?:2(?:16|[2-9]\\d{3})|(?:(?:[3-5][1-8]\\d|819)\\d|601[1-5])\\d)\\d{4}|(?:2|[3-5][1-8])1[67]\\d{3}|[3-5][1-8]16\\d\\d",,,,"221234567"],[,,"909[1-9]\\d{5}|9(?:0[1-8]|1[0-24-9]|4[03-57-9]|5\\d)\\d{6}",,,,"912123456",,,[9]],[,,"800\\d{6}",,,,"800123456",,,[9]],[,,"9(?:00|[78]\\d)\\d{6}",,,,"900123456",,,[9]],[,,"8[5-9]\\d{7}",,,,"850123456",,,[9]],[,,,,,,,,,[-1]],[,,"6(?:02|5[0-4]|9[0-6])\\d{6}",,,,"690123456",,,[9]],"SK",421,"00","0",,,"0",,,,[[,"(\\d)(\\d{2})(\\d{3,4})","$1 $2 $3",["21"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2,3})","$1 $2 $3",["[3-5][1-8]1","[3-5][1-8]1[67]"],"0$1"],[,"(\\d{4})(\\d{3})","$1 $2",["909","9090"],"0$1"],[,"(\\d)(\\d{3})(\\d{3})(\\d{2})","$1/$2 $3 $4",["2"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[689]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1/$2 $3 $4",["[3-5]"],"0$1"]],[[,"(\\d)(\\d{2})(\\d{3,4})","$1 $2 $3",["21"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2,3})","$1 $2 $3",["[3-5][1-8]1","[3-5][1-8]1[67]"],"0$1"],[,"(\\d)(\\d{3})(\\d{3})(\\d{2})","$1/$2 $3 $4",["2"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[689]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1/$2 $3 $4",["[3-5]"],"0$1"]],[,,"9090\\d{3}",,,,"9090123",,,[7]],,,[,,"9090\\d{3}|(?:602|8(?:00|[5-9]\\d)|9(?:00|[78]\\d))\\d{6}",,,,,,,[7,9]],[,,"96\\d{7}",,,,"961234567",,,[9]],,,[,,,,,,,,,[-1]]],SL:[,[,,"(?:[237-9]\\d|66)\\d{6}",,,,,,,[8],[6]],[,,"22[2-4][2-9]\\d{4}",,,,"22221234",,,,[6]],[,,"(?:25|3[0-5]|66|7[2-9]|8[08]|9[09])\\d{6}",,,,"25123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"SL",232,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{6})","$1 $2",["[236-9]"],"(0$1)"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SM:[,[,,"(?:0549|[5-7]\\d)\\d{6}",,,,,,,[8,10],[6]],[,,"0549(?:8[0157-9]|9\\d)\\d{4}",,,,"0549886377",,,[10],[6]],[,,"6[16]\\d{6}",,,,"66661212",,,[8]],[,,,,,,,,,[-1]],[,,"7[178]\\d{6}",,,,"71123456",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"5[158]\\d{6}",,,,"58001110",,,[8]],"SM",378,"00",,,,"([89]\\d{5})$","0549$1",,,[[,"(\\d{6})","$1",["[89]"]],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-7]"]],[,"(\\d{4})(\\d{6})","$1 $2",["0"]]],[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-7]"]],[,"(\\d{4})(\\d{6})","$1 $2",["0"]]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SN:[,[,,"(?:[378]\\d|93)\\d{7}",,,,,,,[9]],[,,"3(?:0(?:1[0-2]|80)|282|3(?:8[1-9]|9[3-9])|611)\\d{5}",,,,"301012345"],[,,"7(?:(?:[06-8]\\d|21|90)\\d|5(?:01|[19]0|25|[38]3|[4-7]\\d))\\d{5}",,,,"701234567"],[,,"800\\d{6}",,,,"800123456"],[,,"88[4689]\\d{6}",,,,"884123456"],[,,"81[02468]\\d{6}",,,,"810123456"],[,,,,,,,,,[-1]],[,,"(?:3(?:392|9[01]\\d)\\d|93(?:3[13]0|929))\\d{4}",,,,"933301234"],"SN",221,"00",,,,,,,,[[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[379]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SO:[,[,,"[346-9]\\d{8}|[12679]\\d{7}|[1-5]\\d{6}|[1348]\\d{5}",,,,,,,[6,7,8,9]],[,,"(?:1\\d|2[0-79]|3[0-46-8]|4[0-7]|5[57-9])\\d{5}|(?:[134]\\d|8[125])\\d{4}",,,,"4012345",,,[6,7]],[,,"(?:(?:15|(?:3[59]|4[89]|6\\d|7[79]|8[08])\\d|9(?:0\\d|[2-9]))\\d|2(?:4\\d|8))\\d{5}|(?:[67]\\d\\d|904)\\d{5}",,,,"71123456",,,[7,8,9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"SO",252,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{4})","$1 $2",["8[125]"]],[,"(\\d{6})","$1",["[134]"]],[,"(\\d)(\\d{6})","$1 $2",["[15]|2[0-79]|3[0-46-8]|4[0-7]"]],[,"(\\d)(\\d{7})","$1 $2",["(?:2|90)4|[67]"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[348]|64|79|90"]],[,"(\\d{2})(\\d{5,7})","$1 $2",["1|28|6[0-35-9]|77|9[2-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SR:[,[,,"(?:[2-5]|68|[78]\\d)\\d{5}",,,,,,,[6,7]],[,,"(?:2[1-3]|3[0-7]|(?:4|68)\\d|5[2-58])\\d{4}",,,,"211234"],[,,"(?:7[124-7]|8[124-9])\\d{5}",,,,"7412345",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"56\\d{4}",,,,"561234",,,[6]],"SR",597,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})","$1-$2-$3",["56"]],[,"(\\d{3})(\\d{3})","$1-$2",["[2-5]"]],[,"(\\d{3})(\\d{4})","$1-$2",["[6-8]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SS:[,[,,"[19]\\d{8}",,,,,,,[9]],[,,"1[89]\\d{7}",,,,"181234567"],[,,"(?:12|9[1257-9])\\d{7}",,,,"977123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"SS",211,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[19]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],ST:[,[,,"(?:22|9\\d)\\d{5}",,,,,,,[7]],[,,"22\\d{5}",,,,"2221234"],[,,"900[5-9]\\d{3}|9(?:0[1-9]|[89]\\d)\\d{4}",,,,"9812345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"ST",239,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[29]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SV:[,[,,"[267]\\d{7}|[89]00\\d{4}(?:\\d{4})?",,,,,,,[7,8,11]],[,,"2(?:79(?:0[0347-9]|[1-9]\\d)|89(?:0[024589]|[1-9]\\d))\\d{3}|2(?:[1-69]\\d|[78][0-8])\\d{5}",,,,"21234567",,,[8]],[,,"[67]\\d{7}",,,,"70123456",,,[8]],[,,"800\\d{4}(?:\\d{4})?",,,,"8001234",,,[7,11]],[,,"900\\d{4}(?:\\d{4})?",,,,"9001234",,,[7,11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"SV",503,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[89]"]],[,"(\\d{4})(\\d{4})","$1 $2",["[267]"]],[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[89]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SX:[,[,,"7215\\d{6}|(?:[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"7215(?:4[2-8]|8[239]|9[056])\\d{4}",,,,"7215425678",,,,[7]],[,,"7215(?:1[02]|2\\d|5[034679]|8[014-8])\\d{4}",,,,"7215205678",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"SX",1,"011","1",,,"(5\\d{6})$|1","721$1",,,,,[,,,,,,,,,[-1]],,"721",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SY:[,[,,"[1-39]\\d{8}|[1-5]\\d{7}",,,,,,,[8,9],[6,7]],[,,"21\\d{6,7}|(?:1(?:[14]\\d|[2356])|2[235]|3(?:[13]\\d|4)|4[134]|5[1-3])\\d{6}",,,,"112345678",,,,[6,7]],[,,"9[1-689]\\d{7}",,,,"944567890",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"SY",963,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-5]"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1",,1]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SZ:[,[,,"0800\\d{4}|(?:[237]\\d|900)\\d{6}",,,,,,,[8,9]],[,,"[23][2-5]\\d{6}",,,,"22171234",,,[8]],[,,"7[6-9]\\d{6}",,,,"76123456",,,[8]],[,,"0800\\d{4}",,,,"08001234",,,[8]],[,,"900\\d{6}",,,,"900012345",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"70\\d{6}",,,,"70012345",,,[8]],"SZ",268,"00",,,,,,,,[[,"(\\d{4})(\\d{4})","$1 $2",["[0237]"]],[,"(\\d{5})(\\d{4})","$1 $2",["9"]]],,[,,,,,,,,,[-1]],,,[,,"0800\\d{4}",,,,,,,[8]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TA:[,[,,"8\\d{3}",,,,,,,[4]],[,,"8\\d{3}",,,,"8999"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"TA",290,"00",,,,,,,,,,[,,,,,,,,,[-1]],,"8",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TC:[,[,,"(?:[58]\\d\\d|649|900)\\d{7}",,,,,,,[10],[7]],[,,"649(?:266|712|9(?:4\\d|50))\\d{4}",,,,"6497121234",,,,[7]],[,,"649(?:2(?:3[129]|4[1-79])|3\\d\\d|4[34][1-3])\\d{4}",,,,"6492311234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002345678"],[,,"900[2-9]\\d{6}",,,,"9002345678"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,"649(?:71[01]|966)\\d{4}",,,,"6497101234",,,,[7]],"TC",1,"011","1",,,"([2-479]\\d{6})$|1","649$1",,,,,[,,,,,,,,,[-1]],,"649",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TD:[,[,,"(?:22|[69]\\d|77)\\d{6}",,,,,,,[8]],[,,"22(?:[37-9]0|5[0-5]|6[89])\\d{4}",,,,"22501234"],[,,"(?:6[0235689]|77|9\\d)\\d{6}",,,,"63012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"TD",235,"00|16",,,,,,"00",,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2679]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TG:[,[,,"[279]\\d{7}",,,,,,,[8]],[,,"2(?:2[2-7]|3[23]|4[45]|55|6[67]|77)\\d{5}",,,,"22212345"],[,,"(?:7[019]|9[0-36-9])\\d{6}",,,,"90112345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"TG",228,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[279]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TH:[,[,,"(?:001800|[2-57]|[689]\\d)\\d{7}|1\\d{7,9}",,,,,,,[8,9,10,13]],[,,"(?:1[0689]|2\\d|3[2-9]|4[2-5]|5[2-6]|7[3-7])\\d{6}",,,,"21234567",,,[8]],[,,"671[0-8]\\d{5}|(?:14|6[1-6]|[89]\\d)\\d{7}",,,,"812345678",,,[9]],[,,"(?:001800\\d|1800)\\d{6}",,,,"1800123456",,,[10,13]],[,,"1900\\d{6}",,,,"1900123456",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"6[08]\\d{7}",,,,"601234567",,,[9]],"TH",66,"00[1-9]","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["2"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[13-9]"],"0$1"],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TJ:[,[,,"[0-57-9]\\d{8}",,,,,,,[9],[3,5,6,7]],[,,"(?:3(?:1[3-5]|2[245]|3[12]|4[24-7]|5[25]|72)|4(?:46|74|87))\\d{6}",,,,"372123456",,,,[3,5,6,7]],[,,"(?:4(?:1[18]|4[02-479])|81[1-9])\\d{6}|(?:0[0-57-9]|1[017]|2[02]|[34]0|5[05]|7[0178]|8[078]|9\\d)\\d{7}",,,,"917123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"TJ",992,"810",,,,,,"8~10",,[[,"(\\d{6})(\\d)(\\d{2})","$1 $2 $3",["331","3317"]],[,"(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["44[02-479]|[34]7"]],[,"(\\d{4})(\\d)(\\d{4})","$1 $2 $3",["3[1-5]"]],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[0-57-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TK:[,[,,"[2-47]\\d{3,6}",,,,,,,[4,5,6,7]],[,,"(?:2[2-4]|[34]\\d)\\d{2,5}",,,,"3101"],[,,"7[2-4]\\d{2,5}",,,,"7290"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"TK",690,"00",,,,,,,,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TL:[,[,,"7\\d{7}|(?:[2-47]\\d|[89]0)\\d{5}",,,,,,,[7,8]],[,,"(?:2[1-5]|3[1-9]|4[1-4])\\d{5}",,,,"2112345",,,[7]],[,,"7[2-8]\\d{6}",,,,"77212345",,,[8]],[,,"80\\d{5}",,,,"8012345",,,[7]],[,,"90\\d{5}",,,,"9012345",,,[7]],[,,,,,,,,,[-1]],[,,"70\\d{5}",,,,"7012345",,,[7]],[,,,,,,,,,[-1]],"TL",670,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[2-489]|70"]],[,"(\\d{4})(\\d{4})","$1 $2",["7"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TM:[,[,,"[1-6]\\d{7}",,,,,,,[8]],[,,"(?:1(?:2\\d|3[1-9])|2(?:22|4[0-35-8])|3(?:22|4[03-9])|4(?:22|3[128]|4\\d|6[15])|5(?:22|5[7-9]|6[014-689]))\\d{5}",,,,"12345678"],[,,"6\\d{7}",,,,"66123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"TM",993,"810","8",,,"8",,"8~10",,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["12"],"(8 $1)"],[,"(\\d{3})(\\d)(\\d{2})(\\d{2})","$1 $2-$3-$4",["[1-5]"],"(8 $1)"],[,"(\\d{2})(\\d{6})","$1 $2",["6"],"8 $1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TN:[,[,,"[2-57-9]\\d{7}",,,,,,,[8]],[,,"81200\\d{3}|(?:3[0-2]|7\\d)\\d{6}",,,,"30010123"],[,,"3(?:001|[12]40)\\d{4}|(?:(?:[259]\\d|4[0-8])\\d|3(?:1[1-35]|6[0-4]|91))\\d{5}",,,,"20123456"],[,,"8010\\d{4}",,,,"80101234"],[,,"88\\d{6}",,,,"88123456"],[,,"8[12]10\\d{4}",,,,"81101234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"TN",216,"00",,,,,,,,[[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-57-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TO:[,[,,"(?:0800|(?:[5-8]\\d\\d|999)\\d)\\d{3}|[2-8]\\d{4}",,,,,,,[5,7]],[,,"(?:2\\d|3[0-8]|4[0-4]|50|6[09]|7[0-24-69]|8[05])\\d{3}",,,,"20123",,,[5]],[,,"(?:55[4-6]|6(?:[09]\\d|3[02]|8[15-9])|(?:7\\d|8[46-9])\\d|999)\\d{4}",,,,"7715123",,,[7]],[,,"0800\\d{3}",,,,"0800222",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"55[0-37-9]\\d{4}",,,,"5510123",,,[7]],"TO",676,"00",,,,,,,,[[,"(\\d{2})(\\d{3})","$1-$2",["[2-4]|50|6[09]|7[0-24-69]|8[05]"]],[,"(\\d{4})(\\d{3})","$1 $2",["0"]],[,"(\\d{3})(\\d{4})","$1 $2",["[5-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TR:[,[,,"4\\d{6}|8\\d{11,12}|(?:[2-58]\\d\\d|900)\\d{7}",,,,,,,[7,10,12,13]],[,,"(?:2(?:[13][26]|[28][2468]|[45][268]|[67][246])|3(?:[13][28]|[24-6][2468]|[78][02468]|92)|4(?:[16][246]|[23578][2468]|4[26]))\\d{7}",,,,"2123456789",,,[10]],[,,"561(?:011|61\\d)\\d{4}|5(?:0[15-7]|1[06]|24|[34]\\d|5[1-59]|9[46])\\d{7}",,,,"5012345678",,,[10]],[,,"8(?:00\\d{7}(?:\\d{2,3})?|11\\d{7})",,,,"8001234567",,,[10,12,13]],[,,"(?:8[89]8|900)\\d{7}",,,,"9001234567",,,[10]],[,,,,,,,,,[-1]],[,,"592(?:21[12]|461)\\d{4}",,,,"5922121234",,,[10]],[,,"850\\d{7}",,,,"8500123456",,,[10]],"TR",90,"00","0",,,"0",,,,[[,"(\\d{3})(\\d)(\\d{3})","$1 $2 $3",["444"],,,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["512|8[01589]|90"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5(?:[0-59]|61)","5(?:[0-59]|61[06])","5(?:[0-59]|61[06]1)"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24][1-8]|3[1-9]"],"(0$1)",,1],[,"(\\d{3})(\\d{3})(\\d{6,7})","$1 $2 $3",["80"],"0$1",,1]],[[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["512|8[01589]|90"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5(?:[0-59]|61)","5(?:[0-59]|61[06])","5(?:[0-59]|61[06]1)"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24][1-8]|3[1-9]"],"(0$1)",,1],[,"(\\d{3})(\\d{3})(\\d{6,7})","$1 $2 $3",["80"],"0$1",,1]],[,,"512\\d{7}",,,,"5123456789",,,[10]],,,[,,"(?:444|811\\d{3})\\d{4}",,,,,,,[7,10]],[,,"444\\d{4}",,,,"4441444",,,[7]],,,[,,,,,,,,,[-1]]],TT:[,[,,"(?:[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"868(?:2(?:01|1[5-9]|[23]\\d|4[0-2])|6(?:0[7-9]|1[02-8]|2[1-9]|[3-69]\\d|7[0-79])|82[124])\\d{4}",,,,"8682211234",,,,[7]],[,,"868(?:(?:2[5-9]|3\\d)\\d|4(?:3[0-6]|[6-9]\\d)|6(?:20|78|8\\d)|7(?:0[1-9]|1[02-9]|[2-9]\\d))\\d{4}",,,,"8682911234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002345678"],[,,"900[2-9]\\d{6}",,,,"9002345678"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"TT",1,"011","1",,,"([2-46-8]\\d{6})$|1","868$1",,,,,[,,,,,,,,,[-1]],,"868",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,"868619\\d{4}",,,,"8686191234",,,,[7]]],TV:[,[,,"(?:2|7\\d\\d|90)\\d{4}",,,,,,,[5,6,7]],[,,"2[02-9]\\d{3}",,,,"20123",,,[5]],[,,"(?:7[01]\\d|90)\\d{4}",,,,"901234",,,[6,7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"TV",688,"00",,,,,,,,[[,"(\\d{2})(\\d{3})","$1 $2",["2"]],[,"(\\d{2})(\\d{4})","$1 $2",["90"]],[,"(\\d{2})(\\d{5})","$1 $2",["7"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TW:[,[,,"[2-689]\\d{8}|7\\d{9,10}|[2-8]\\d{7}|2\\d{6}",,,,,,,[7,8,9,10,11]],[,,"(?:2[2-8]\\d|370|55[01]|7[1-9])\\d{6}|4(?:(?:0(?:0[1-9]|[2-48]\\d)|1[023]\\d)\\d{4,5}|(?:[239]\\d\\d|4(?:0[56]|12|49))\\d{5})|6(?:[01]\\d{7}|4(?:0[56]|12|24|4[09])\\d{4,5})|8(?:(?:2(?:3\\d|4[0-269]|[578]0|66)|36[24-9]|90\\d\\d)\\d{4}|4(?:0[56]|12|24|4[09])\\d{4,5})|(?:2(?:2(?:0\\d\\d|4(?:0[68]|[249]0|3[0-467]|5[0-25-9]|6[0235689]))|(?:3(?:[09]\\d|1[0-4])|(?:4\\d|5[0-49]|6[0-29]|7[0-5])\\d)\\d)|(?:(?:3[2-9]|5[2-8]|6[0-35-79]|8[7-9])\\d\\d|4(?:2(?:[089]\\d|7[1-9])|(?:3[0-4]|[78]\\d|9[01])\\d))\\d)\\d{3}",,,,"221234567",,,[8,9]],[,,"(?:40001[0-2]|9[0-8]\\d{4})\\d{3}",,,,"912345678",,,[9]],[,,"80[0-79]\\d{6}|800\\d{5}",,,,"800123456",,,[8,9]],[,,"20(?:[013-9]\\d\\d|2)\\d{4}",,,,"203123456",,,[7,9]],[,,,,,,,,,[-1]],[,,"99\\d{7}",,,,"990123456",,,[9]],[,,"7010(?:[0-2679]\\d|3[0-7]|8[0-5])\\d{5}|70\\d{8}",,,,"7012345678",,,[10,11]],"TW",886,"0(?:0[25-79]|19)","0","#",,"0",,,,[[,"(\\d{2})(\\d)(\\d{4})","$1 $2 $3",["202"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[258]0"],"0$1"],[,"(\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["[23568]|4(?:0[02-48]|[1-47-9])|7[1-9]","[23568]|4(?:0[2-48]|[1-47-9])|(?:400|7)[1-9]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[49]"],"0$1"],[,"(\\d{2})(\\d{4})(\\d{4,5})","$1 $2 $3",["7"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"50[0-46-9]\\d{6}",,,,"500123456",,,[9]],,,[,,,,,,,,,[-1]]],TZ:[,[,,"(?:[25-8]\\d|41|90)\\d{7}",,,,,,,[9]],[,,"2[2-8]\\d{7}",,,,"222345678"],[,,"77[2-9]\\d{6}|(?:6[125-9]|7[13-689])\\d{7}",,,,"621234567"],[,,"80[08]\\d{6}",,,,"800123456"],[,,"90\\d{7}",,,,"900123456"],[,,"8(?:40|6[01])\\d{6}",,,,"840123456"],[,,,,,,,,,[-1]],[,,"41\\d{7}",,,,"412345678"],"TZ",255,"00[056]","0",,,"0",,,,[[,"(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[24]"],"0$1"],[,"(\\d{2})(\\d{7})","$1 $2",["5"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[67]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,"(?:8(?:[04]0|6[01])|90\\d)\\d{6}"],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],UA:[,[,,"[89]\\d{9}|[3-9]\\d{8}",,,,,,,[9,10],[5,6,7]],[,,"(?:3[1-8]|4[13-8]|5[1-7]|6[12459])\\d{7}",,,,"311234567",,,[9],[5,6,7]],[,,"(?:39|50|6[36-8]|7[1-3]|9[1-9])\\d{7}",,,,"501234567",,,[9]],[,,"800[1-8]\\d{5,6}",,,,"800123456"],[,,"900[239]\\d{5,6}",,,,"900212345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"89[1-579]\\d{6}",,,,"891234567",,,[9]],"UA",380,"00","0",,,"0",,"0~0",,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6[12][29]|(?:3[1-8]|4[136-8]|5[12457]|6[49])2|(?:56|65)[24]","6[12][29]|(?:35|4[1378]|5[12457]|6[49])2|(?:56|65)[24]|(?:3[1-46-8]|46)2[013-9]"],"0$1"],[,"(\\d{4})(\\d{5})","$1 $2",["3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6[0135689]|7[4-6])|6(?:[12][3-7]|[459])","3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6(?:[015689]|3[02389])|7[4-6])|6(?:[12][3-7]|[459])"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[3-7]|89|9[1-9]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[89]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],UG:[,[,,"800\\d{6}|(?:[29]0|[347]\\d)\\d{7}",,,,,,,[9],[5,6,7]],[,,"20(?:(?:240|30[67])\\d|6(?:00[0-2]|30[0-4]))\\d{3}|(?:20(?:[017]\\d|2[5-9]|32|5[0-4]|6[15-9])|[34]\\d{3})\\d{5}",,,,"312345678",,,,[5,6,7]],[,,"726[01]\\d{5}|7(?:[015-8]\\d|20|36|4[0-4]|9[89])\\d{6}",,,,"712345678"],[,,"800[1-3]\\d{5}",,,,"800123456"],[,,"90[1-3]\\d{6}",,,,"901123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"UG",256,"00[057]","0",,,"0",,,,[[,"(\\d{4})(\\d{5})","$1 $2",["202","2024"],"0$1"],[,"(\\d{3})(\\d{6})","$1 $2",["[27-9]|4(?:6[45]|[7-9])"],"0$1"],[,"(\\d{2})(\\d{7})","$1 $2",["[34]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],US:[,[,,"[2-9]\\d{9}|3\\d{6}",,,,,,,[10],[7]],[,,"(?:5056(?:[0-35-9]\\d|4[468])|73020\\d)\\d{4}|(?:4722|505[2-57-9]|983[289])\\d{6}|(?:2(?:0[1-35-9]|1[02-9]|2[03-57-9]|3[149]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-57-9]|1[02-9]|2[013569]|3[0-24679]|4[167]|5[0-2]|6[0149]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[349]|7[0589]|8[04])|5(?:0[1-47-9]|1[0235-8]|20|3[0149]|4[01]|5[179]|6[1-47]|7[0-5]|8[0256])|6(?:0[1-35-9]|1[024-9]|2[03689]|[34][016]|5[01679]|6[0-279]|78|8[0-29])|7(?:0[1-46-8]|1[2-9]|2[04-7]|3[1247]|4[037]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[068]|3[0-2589]|4[03578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[01357-9]|5[12469]|7[0-389]|8[04-69]))[2-9]\\d{6}",,,,"2015550123",,,,[7]],[,,"(?:5056(?:[0-35-9]\\d|4[468])|73020\\d)\\d{4}|(?:4722|505[2-57-9]|983[289])\\d{6}|(?:2(?:0[1-35-9]|1[02-9]|2[03-57-9]|3[149]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-57-9]|1[02-9]|2[013569]|3[0-24679]|4[167]|5[0-2]|6[0149]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[349]|7[0589]|8[04])|5(?:0[1-47-9]|1[0235-8]|20|3[0149]|4[01]|5[179]|6[1-47]|7[0-5]|8[0256])|6(?:0[1-35-9]|1[024-9]|2[03689]|[34][016]|5[01679]|6[0-279]|78|8[0-29])|7(?:0[1-46-8]|1[2-9]|2[04-7]|3[1247]|4[037]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[068]|3[0-2589]|4[03578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[01357-9]|5[12469]|7[0-389]|8[04-69]))[2-9]\\d{6}",,,,"2015550123",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002345678"],[,,"900[2-9]\\d{6}",,,,"9002345678"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"US",1,"011","1",,,"1",,,1,[[,"(\\d{3})(\\d{4})","$1-$2",["310"],,,1],[,"(\\d{3})(\\d{4})","$1-$2",["[24-9]|3(?:[02-9]|1[1-9])"]],[,"(\\d{3})(\\d{3})(\\d{4})","($1) $2-$3",["[2-9]"],,,1]],[[,"(\\d{3})(\\d{4})","$1-$2",["310"],,,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[2-9]"]]],[,,,,,,,,,[-1]],1,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],UY:[,[,,"0004\\d{2,9}|[1249]\\d{7}|(?:[49]\\d|80)\\d{5}",,,,,,,[6,7,8,9,10,11,12,13]],[,,"(?:1(?:770|9(?:20|87))|(?:2\\d|4[2-7])\\d\\d)\\d{4}",,,,"21231234",,,[8],[7]],[,,"9[1-9]\\d{6}",,,,"94231234",,,[8]],[,,"0004\\d{2,9}|(?:405|80[05])\\d{4}",,,,"8001234"],[,,"90[0-8]\\d{4}",,,,"9001234",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"UY",598,"0(?:0|1[3-9]\\d)","0"," int. ",,"0",,"00",,[[,"(\\d{3})(\\d{3,4})","$1 $2",["0"]],[,"(\\d{3})(\\d{4})","$1 $2",["[49]0|8"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"],[,"(\\d{4})(\\d{4})","$1 $2",["[124]"]],[,"(\\d{3})(\\d{3})(\\d{2,4})","$1 $2 $3",["0"]],[,"(\\d{3})(\\d{3})(\\d{3})(\\d{2,4})","$1 $2 $3 $4",["0"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],UZ:[,[,,"(?:20|33|[5-79]\\d|88)\\d{7}",,,,,,,[9]],[,,"(?:55\\d\\d|6(?:1(?:22|3[124]|4[1-4]|5[1-3578]|64)|2(?:22|3[0-57-9]|41)|5(?:22|3[3-7]|5[024-8])|6\\d\\d|7(?:[23]\\d|7[69])|9(?:22|4[1-8]|6[135]))|7(?:0(?:5[4-9]|6[0146]|7[124-6]|9[135-8])|(?:1[12]|[68]\\d)\\d|2(?:22|3[13-57-9]|4[1-3579]|5[14])|3(?:2\\d|3[1578]|4[1-35-7]|5[1-57]|61)|4(?:2\\d|3[1-579]|7[1-79])|5(?:22|5[1-9]|6[1457])|9(?:22|5[1-9])))\\d{5}",,,,"669050123"],[,,"(?:(?:[25]0|33|88|9[0-57-9])\\d{3}|6(?:1(?:2(?:2[01]|98)|35[0-4]|50\\d|61[23]|7(?:[01][017]|4\\d|55|9[5-9]))|2(?:(?:11|7\\d)\\d|2(?:[12]1|9[01379])|5(?:[126]\\d|3[0-4]))|5(?:19[01]|2(?:27|9[26])|(?:30|59|7\\d)\\d)|6(?:2(?:1[5-9]|2[0367]|38|41|52|60)|(?:3[79]|9[0-3])\\d|4(?:56|83)|7(?:[07]\\d|1[017]|3[07]|4[047]|5[057]|67|8[0178]|9[79]))|7(?:2(?:24|3[237]|4[5-9]|7[15-8])|5(?:7[12]|8[0589])|7(?:0\\d|[39][07])|9(?:0\\d|7[079]))|9(?:2(?:1[1267]|3[01]|5\\d|7[0-4])|(?:5[67]|7\\d)\\d|6(?:2[0-26]|8\\d)))|7(?:[07]\\d{3}|1(?:13[01]|6(?:0[47]|1[67]|66)|71[3-69]|98\\d)|2(?:2(?:2[79]|95)|3(?:2[5-9]|6[0-6])|57\\d|7(?:0\\d|1[17]|2[27]|3[37]|44|5[057]|66|88))|3(?:2(?:1[0-6]|21|3[469]|7[159])|(?:33|9[4-6])\\d|5(?:0[0-4]|5[579]|9\\d)|7(?:[0-3579]\\d|4[0467]|6[67]|8[078]))|4(?:2(?:29|5[0257]|6[0-7]|7[1-57])|5(?:1[0-4]|8\\d|9[5-9])|7(?:0\\d|1[024589]|2[0-27]|3[0137]|[46][07]|5[01]|7[5-9]|9[079])|9(?:7[015-9]|[89]\\d))|5(?:112|2(?:0\\d|2[29]|[49]4)|3[1568]\\d|52[6-9]|7(?:0[01578]|1[017]|[23]7|4[047]|[5-7]\\d|8[78]|9[079]))|9(?:22[128]|3(?:2[0-4]|7\\d)|57[02569]|7(?:2[05-9]|3[37]|4\\d|60|7[2579]|87|9[07]))))\\d{4}",,,,"912345678"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"UZ",998,"810","8",,,"8",,"8~10",,[[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[235-9]"],"8 $1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],VA:[,[,,"0\\d{5,10}|3[0-8]\\d{7,10}|55\\d{8}|8\\d{5}(?:\\d{2,4})?|(?:1\\d|39)\\d{7,8}",,,,,,,[6,7,8,9,10,11,12]],[,,"06698\\d{1,6}",,,,"0669812345",,,[6,7,8,9,10,11]],[,,"3[1-9]\\d{8}|3[2-9]\\d{7}",,,,"3123456789",,,[9,10]],[,,"80(?:0\\d{3}|3)\\d{3}",,,,"800123456",,,[6,9]],[,,"(?:0878\\d{3}|89(?:2\\d|3[04]|4(?:[0-4]|[5-9]\\d\\d)|5[0-4]))\\d\\d|(?:1(?:44|6[346])|89(?:38|5[5-9]|9))\\d{6}",,,,"899123456",,,[6,8,9,10]],[,,"84(?:[08]\\d{3}|[17])\\d{3}",,,,"848123456",,,[6,9]],[,,"1(?:78\\d|99)\\d{6}",,,,"1781234567",,,[9,10]],[,,"55\\d{8}",,,,"5512345678",,,[10]],"VA",39,"00",,,,,,,,,,[,,,,,,,,,[-1]],,"06698",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,"3[2-8]\\d{9,10}",,,,"33101234501",,,[11,12]]],VC:[,[,,"(?:[58]\\d\\d|784|900)\\d{7}",,,,,,,[10],[7]],[,,"784(?:266|3(?:6[6-9]|7\\d|8[0-6])|4(?:38|5[0-36-8]|8[0-8])|5(?:55|7[0-2]|93)|638|784)\\d{4}",,,,"7842661234",,,,[7]],[,,"784(?:4(?:3[0-5]|5[45]|89|9[0-8])|5(?:2[6-9]|3[0-4])|720)\\d{4}",,,,"7844301234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002345678"],[,,"900[2-9]\\d{6}",,,,"9002345678"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,"78451[0-2]\\d{4}",,,,"7845101234",,,,[7]],"VC",1,"011","1",,,"([2-7]\\d{6})$|1","784$1",,,,,[,,,,,,,,,[-1]],,"784",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],VE:[,[,,"[68]00\\d{7}|(?:[24]\\d|[59]0)\\d{8}",,,,,,,[10],[7]],[,,"(?:2(?:12|3[457-9]|[467]\\d|[58][1-9]|9[1-6])|[4-6]00)\\d{7}",,,,"2121234567",,,,[7]],[,,"4(?:1[24-8]|2[46])\\d{7}",,,,"4121234567"],[,,"800\\d{7}",,,,"8001234567"],[,,"90[01]\\d{7}",,,,"9001234567"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"VE",58,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{7})","$1-$2",["[24-689]"],"0$1","$CC $1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"501\\d{7}",,,,"5010123456",,,,[7]],,,[,,,,,,,,,[-1]]],VG:[,[,,"(?:284|[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"284(?:229|4(?:22|9[45])|774|8(?:52|6[459]))\\d{4}",,,,"2842291234",,,,[7]],[,,"284(?:245|3(?:0[0-3]|4[0-7]|68|9[34])|4(?:4[0-6]|68|9[69])|5(?:4[0-7]|68|9[69]))\\d{4}",,,,"2843001234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002345678"],[,,"900[2-9]\\d{6}",,,,"9002345678"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"VG",1,"011","1",,,"([2-578]\\d{6})$|1","284$1",,,,,[,,,,,,,,,[-1]],,"284",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],VI:[,[,,"[58]\\d{9}|(?:34|90)0\\d{7}",,,,,,,[10],[7]],[,,"340(?:2(?:0[0-368]|2[06-8]|4[49]|77)|3(?:32|44)|4(?:2[23]|44|7[34]|89)|5(?:1[34]|55)|6(?:2[56]|4[23]|77|9[023])|7(?:1[2-57-9]|2[57]|7\\d)|884|998)\\d{4}",,,,"3406421234",,,,[7]],[,,"340(?:2(?:0[0-368]|2[06-8]|4[49]|77)|3(?:32|44)|4(?:2[23]|44|7[34]|89)|5(?:1[34]|55)|6(?:2[56]|4[23]|77|9[023])|7(?:1[2-57-9]|2[57]|7\\d)|884|998)\\d{4}",,,,"3406421234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002345678"],[,,"900[2-9]\\d{6}",,,,"9002345678"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"VI",1,"011","1",,,"([2-9]\\d{6})$|1","340$1",,1,,,[,,,,,,,,,[-1]],,"340",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],VN:[,[,,"[12]\\d{9}|[135-9]\\d{8}|[16]\\d{7}|[16-8]\\d{6}",,,,,,,[7,8,9,10]],[,,"2(?:0[3-9]|1[0-689]|2[0-25-9]|[38][2-9]|4[2-8]|5[124-9]|6[0-39]|7[0-7]|9[0-4679])\\d{7}",,,,"2101234567",,,[10]],[,,"(?:5(?:2[238]|59)|89[6-9]|99[013-9])\\d{6}|(?:3\\d|5[1689]|7[06-9]|8[1-8]|9[0-8])\\d{7}",,,,"912345678",,,[9]],[,,"1800\\d{4,6}|12(?:0[13]|28)\\d{4}",,,,"1800123456",,,[8,9,10]],[,,"1900\\d{4,6}",,,,"1900123456",,,[8,9,10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"672\\d{6}",,,,"672012345",,,[9]],"VN",84,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[17]99"],"0$1",,1],[,"(\\d{2})(\\d{5})","$1 $2",["80"],"0$1",,1],[,"(\\d{3})(\\d{4,5})","$1 $2",["69"],"0$1",,1],[,"(\\d{4})(\\d{4,6})","$1 $2",["1"],,,1],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["6"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[357-9]"],"0$1",,1],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["2[48]"],"0$1",,1],[,"(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["2"],"0$1",,1]],[[,"(\\d{2})(\\d{5})","$1 $2",["80"],"0$1",,1],[,"(\\d{4})(\\d{4,6})","$1 $2",["1"],,,1],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["6"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[357-9]"],"0$1",,1],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["2[48]"],"0$1",,1],[,"(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["2"],"0$1",,1]],[,,,,,,,,,[-1]],,,[,,"[17]99\\d{4}|69\\d{5,6}",,,,,,,[7,8]],[,,"(?:[17]99|80\\d)\\d{4}|69\\d{5,6}",,,,"1992000",,,[7,8]],,,[,,,,,,,,,[-1]]],VU:[,[,,"[57-9]\\d{6}|(?:[238]\\d|48)\\d{3}",,,,,,,[5,7]],[,,"(?:38[0-8]|48[4-9])\\d\\d|(?:2[02-9]|3[4-7]|88)\\d{3}",,,,"22123",,,[5]],[,,"(?:[58]\\d|7[013-7])\\d{5}",,,,"5912345",,,[7]],[,,"81[18]\\d\\d",,,,"81123",,,[5]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"9(?:0[1-9]|1[01])\\d{4}",,,,"9010123",,,[7]],"VU",678,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[57-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"(?:3[03]|900\\d)\\d{3}",,,,"30123"],,,[,,,,,,,,,[-1]]],WF:[,[,,"(?:40|72)\\d{4}|8\\d{5}(?:\\d{3})?",,,,,,,[6,9]],[,,"72\\d{4}",,,,"721234",,,[6]],[,,"(?:72|8[23])\\d{4}",,,,"821234",,,[6]],[,,"80[0-5]\\d{6}",,,,"800012345",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"WF",681,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[478]"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,"[48]0\\d{4}",,,,"401234",,,[6]]],WS:[,[,,"(?:[2-6]|8\\d{5})\\d{4}|[78]\\d{6}|[68]\\d{5}",,,,,,,[5,6,7,10]],[,,"6[1-9]\\d{3}|(?:[2-5]|60)\\d{4}",,,,"22123",,,[5,6]],[,,"(?:7[1-35-7]|8(?:[3-7]|9\\d{3}))\\d{5}",,,,"7212345",,,[7,10]],[,,"800\\d{3}",,,,"800123",,,[6]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"WS",685,"0",,,,,,,,[[,"(\\d{5})","$1",["[2-5]|6[1-9]"]],[,"(\\d{3})(\\d{3,7})","$1 $2",["[68]"]],[,"(\\d{2})(\\d{5})","$1 $2",["7"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],XK:[,[,,"[23]\\d{7,8}|(?:4\\d\\d|[89]00)\\d{5}",,,,,,,[8,9]],[,,"(?:2[89]|39)0\\d{6}|[23][89]\\d{6}",,,,"28012345"],[,,"4[3-9]\\d{6}",,,,"43201234",,,[8]],[,,"800\\d{5}",,,,"80001234",,,[8]],[,,"900\\d{5}",,,,"90001234",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"XK",383,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{5})","$1 $2",["[89]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-4]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[23]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],YE:[,[,,"(?:1|7\\d)\\d{7}|[1-7]\\d{6}",,,,,,,[7,8,9],[6]],[,,"78[0-7]\\d{4}|17\\d{6}|(?:[12][2-68]|3[2358]|4[2-58]|5[2-6]|6[3-58]|7[24-6])\\d{5}",,,,"1234567",,,[7,8],[6]],[,,"7[01378]\\d{7}",,,,"712345678",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"YE",967,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-6]|7(?:[24-6]|8[0-7])"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["7"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],YT:[,[,,"(?:80|9\\d)\\d{7}|(?:26|63)9\\d{6}",,,,,,,[9]],[,,"269(?:0[0-467]|5[0-4]|6\\d|[78]0)\\d{4}",,,,"269601234"],[,,"639(?:0[0-79]|1[019]|[267]\\d|3[09]|40|5[05-9]|9[04-79])\\d{4}",,,,"639012345"],[,,"80\\d{7}",,,,"801234567"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"9(?:(?:39|47)8[01]|769\\d)\\d{4}",,,,"939801234"],"YT",262,"00","0",,,"0",,,,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],ZA:[,[,,"[1-79]\\d{8}|8\\d{4,9}",,,,,,,[5,6,7,8,9,10]],[,,"(?:2(?:0330|4302)|52087)0\\d{3}|(?:1[0-8]|2[1-378]|3[1-69]|4\\d|5[1346-8])\\d{7}",,,,"101234567",,,[9]],[,,"(?:1(?:3492[0-25]|4495[0235]|549(?:20|5[01]))|4[34]492[01])\\d{3}|8[1-4]\\d{3,7}|(?:2[27]|47|54)4950\\d{3}|(?:1(?:049[2-4]|9[12]\\d\\d)|(?:6\\d|7[0-46-9])\\d{3}|8(?:5\\d{3}|7(?:08[67]|158|28[5-9]|310)))\\d{4}|(?:1[6-8]|28|3[2-69]|4[025689]|5[36-8])4920\\d{3}|(?:12|[2-5]1)492\\d{4}",,,,"711234567",,,[5,6,7,8,9]],[,,"80\\d{7}",,,,"801234567",,,[9]],[,,"(?:86[2-9]|9[0-2]\\d)\\d{6}",,,,"862345678",,,[9]],[,,"860\\d{6}",,,,"860123456",,,[9]],[,,,,,,,,,[-1]],[,,"87(?:08[0-589]|15[0-79]|28[0-4]|31[1-9])\\d{4}|87(?:[02][0-79]|1[0-46-9]|3[02-9]|[4-9]\\d)\\d{5}",,,,"871234567",,,[9]],"ZA",27,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3,4})","$1 $2",["8[1-4]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["8[1-4]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["860"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-9]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"861\\d{6,7}",,,,"861123456",,,[9,10]],,,[,,,,,,,,,[-1]]],ZM:[,[,,"800\\d{6}|(?:21|63|[79]\\d)\\d{7}",,,,,,,[9],[6]],[,,"21[1-8]\\d{6}",,,,"211234567",,,,[6]],[,,"(?:7[5-79]|9[5-8])\\d{7}",,,,"955123456"],[,,"800\\d{6}",,,,"800123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"63\\d{7}",,,,"630123456"],"ZM",260,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3})","$1 $2",["[1-9]"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[28]"],"0$1"],[,"(\\d{2})(\\d{7})","$1 $2",["[79]"],"0$1"]],[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[28]"],"0$1"],[,"(\\d{2})(\\d{7})","$1 $2",["[79]"],"0$1"]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],ZW:[,[,,"2(?:[0-57-9]\\d{6,8}|6[0-24-9]\\d{6,7})|[38]\\d{9}|[35-8]\\d{8}|[3-6]\\d{7}|[1-689]\\d{6}|[1-3569]\\d{5}|[1356]\\d{4}",,,,,,,[5,6,7,8,9,10],[3,4]],[,,"(?:1(?:(?:3\\d|9)\\d|[4-8])|2(?:(?:(?:0(?:2[014]|5)|(?:2[0157]|31|84|9)\\d\\d|[56](?:[14]\\d\\d|20)|7(?:[089]|2[03]|[35]\\d\\d))\\d|4(?:2\\d\\d|8))\\d|1(?:2|[39]\\d{4}))|3(?:(?:123|(?:29\\d|92)\\d)\\d\\d|7(?:[19]|[56]\\d))|5(?:0|1[2-478]|26|[37]2|4(?:2\\d{3}|83)|5(?:25\\d\\d|[78])|[689]\\d)|6(?:(?:[16-8]21|28|52[013])\\d\\d|[39])|8(?:[1349]28|523)\\d\\d)\\d{3}|(?:4\\d\\d|9[2-9])\\d{4,5}|(?:(?:2(?:(?:(?:0|8[146])\\d|7[1-7])\\d|2(?:[278]\\d|92)|58(?:2\\d|3))|3(?:[26]|9\\d{3})|5(?:4\\d|5)\\d\\d)\\d|6(?:(?:(?:[0-246]|[78]\\d)\\d|37)\\d|5[2-8]))\\d\\d|(?:2(?:[569]\\d|8[2-57-9])|3(?:[013-59]\\d|8[37])|6[89]8)\\d{3}",,,,"1312345",,,,[3,4]],[,,"7(?:[178]\\d|3[1-9])\\d{6}",,,,"712345678",,,[9]],[,,"80(?:[01]\\d|20|8[0-8])\\d{3}",,,,"8001234",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"86(?:1[12]|22|30|44|55|77|8[368])\\d{6}",,,,"8686123456",,,[10]],"ZW",263,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3,5})","$1 $2",["2(?:0[45]|2[278]|[49]8)|3(?:[09]8|17)|6(?:[29]8|37|75)|[23][78]|(?:33|5[15]|6[68])[78]"],"0$1"],[,"(\\d)(\\d{3})(\\d{2,4})","$1 $2 $3",["[49]"],"0$1"],[,"(\\d{3})(\\d{4})","$1 $2",["80"],"0$1"],[,"(\\d{2})(\\d{7})","$1 $2",["24|8[13-59]|(?:2[05-79]|39|5[45]|6[15-8])2","2(?:02[014]|4|[56]20|[79]2)|392|5(?:42|525)|6(?:[16-8]21|52[013])|8[13-59]"],"(0$1)"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["2(?:1[39]|2[0157]|[378]|[56][14])|3(?:12|29)","2(?:1[39]|2[0157]|[378]|[56][14])|3(?:123|29)"],"0$1"],[,"(\\d{4})(\\d{6})","$1 $2",["8"],"0$1"],[,"(\\d{2})(\\d{3,5})","$1 $2",["1|2(?:0[0-36-9]|12|29|[56])|3(?:1[0-689]|[24-6])|5(?:[0236-9]|1[2-4])|6(?:[013-59]|7[0-46-9])|(?:33|55|6[68])[0-69]|(?:29|3[09]|62)[0-79]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["29[013-9]|39|54"],"0$1"],[,"(\\d{4})(\\d{3,5})","$1 $2",["(?:25|54)8","258|5483"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],800:[,[,,"(?:00|[1-9]\\d)\\d{6}",,,,,,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"(?:00|[1-9]\\d)\\d{6}",,,,"12345678"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"001",800,,,,,,,,1,[[,"(\\d{4})(\\d{4})","$1 $2",["\\d"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],808:[,[,,"[1-9]\\d{7}",,,,,,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"[1-9]\\d{7}",,,,"12345678"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"001",808,,,,,,,,1,[[,"(\\d{4})(\\d{4})","$1 $2",["[1-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],870:[,[,,"7\\d{11}|[35-7]\\d{8}",,,,,,,[9,12]],[,,,,,,,,,[-1]],[,,"(?:[356]|774[45])\\d{8}|7[6-8]\\d{7}",,,,"301234567"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"001",870,,,,,,,,,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[35-7]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],878:[,[,,"10\\d{10}",,,,,,,[12]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"10\\d{10}",,,,"101234567890"],"001",878,,,,,,,,1,[[,"(\\d{2})(\\d{5})(\\d{5})","$1 $2 $3",["1"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],881:[,[,,"6\\d{9}|[0-36-9]\\d{8}",,,,,,,[9,10]],[,,,,,,,,,[-1]],[,,"6\\d{9}|[0-36-9]\\d{8}",,,,"612345678"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"001",881,,,,,,,,,[[,"(\\d)(\\d{3})(\\d{5})","$1 $2 $3",["[0-37-9]"]],[,"(\\d)(\\d{3})(\\d{5,6})","$1 $2 $3",["6"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],882:[,[,,"[13]\\d{6}(?:\\d{2,5})?|[19]\\d{7}|(?:[25]\\d\\d|4)\\d{7}(?:\\d{2})?",,,,,,,[7,8,9,10,11,12]],[,,,,,,,,,[-1]],[,,"342\\d{4}|(?:337|49)\\d{6}|(?:3(?:2|47|7\\d{3})|50\\d{3})\\d{7}",,,,"3421234",,,[7,8,9,10,12]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"1(?:3(?:0[0347]|[13][0139]|2[035]|4[013568]|6[0459]|7[06]|8[15-8]|9[0689])\\d{4}|6\\d{5,10})|(?:345\\d|9[89])\\d{6}|(?:10|2(?:3|85\\d)|3(?:[15]|[69]\\d\\d)|4[15-8]|51)\\d{8}",,,,"390123456789"],"001",882,,,,,,,,,[[,"(\\d{2})(\\d{5})","$1 $2",["16|342"]],[,"(\\d{2})(\\d{6})","$1 $2",["49"]],[,"(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["1[36]|9"]],[,"(\\d{2})(\\d{4})(\\d{3})","$1 $2 $3",["3[23]"]],[,"(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["16"]],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["10|23|3(?:[15]|4[57])|4|51"]],[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["34"]],[,"(\\d{2})(\\d{4,5})(\\d{5})","$1 $2 $3",["[1-35]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,"348[57]\\d{7}",,,,"34851234567",,,[11]]],883:[,[,,"(?:[1-4]\\d|51)\\d{6,10}",,,,,,,[8,9,10,11,12]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"(?:2(?:00\\d\\d|10)|(?:370[1-9]|51\\d0)\\d)\\d{7}|51(?:00\\d{5}|[24-9]0\\d{4,7})|(?:1[0-79]|2[24-689]|3[02-689]|4[0-4])0\\d{5,9}",,,,"510012345"],"001",883,,,,,,,,1,[[,"(\\d{3})(\\d{3})(\\d{2,8})","$1 $2 $3",["[14]|2[24-689]|3[02-689]|51[24-9]"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["510"]],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["21"]],[,"(\\d{4})(\\d{4})(\\d{4})","$1 $2 $3",["51[13]"]],[,"(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[235]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],888:[,[,,"\\d{11}",,,,,,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"001",888,,,,,,,,1,[[,"(\\d{3})(\\d{3})(\\d{5})","$1 $2 $3"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"\\d{11}",,,,"12345678901"],,,[,,,,,,,,,[-1]]],979:[,[,,"[1359]\\d{8}",,,,,,,[9],[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"[1359]\\d{8}",,,,"123456789",,,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"001",979,,,,,,,,1,[[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[1359]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]]};function J(){this.g={}}J.i=void 0;J.g=function(){return J.i?J.i:J.i=new J};var va={0:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9","0":"0","1":"1","2":"2","3":"3","4":"4","5":"5","6":"6","7":"7","8":"8","9":"9","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9"},wa2={0:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9","0":"0","1":"1","2":"2","3":"3","4":"4","5":"5","6":"6","7":"7","8":"8","9":"9","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9",A:"2",B:"2",C:"2",D:"3",E:"3",F:"3",G:"4",H:"4",I:"4",J:"5",K:"5",L:"5",M:"6",N:"6",O:"6",P:"7",Q:"7",R:"7",S:"7",T:"8",U:"8",V:"8",W:"9",X:"9",Y:"9",Z:"9"},K=RegExp("^[++]+"),xa2=RegExp("([0-90-9٠-٩۰-۹])"),ya2=RegExp("[++0-90-9٠-٩۰-۹]"),za2=/[\\\/] *x/,Aa2=RegExp("[^0-90-9٠-٩۰-۹A-Za-z#]+$"),Ba2=/(?:.*?[A-Za-z]){3}.*/,Ca2=RegExp("^\\+([0-90-9٠-٩۰-۹]|[\\-\\.\\(\\)]?)*[0-90-9٠-٩۰-۹]([0-90-9٠-٩۰-۹]|[\\-\\.\\(\\)]?)*$"),Da2=RegExp("^([A-Za-z0-90-9٠-٩۰-۹]+((\\-)*[A-Za-z0-90-9٠-٩۰-۹])*\\.)*[A-Za-z]+((\\-)*[A-Za-z0-90-9٠-٩۰-۹])*\\.?$");function L2(a2){return"([0-90-9٠-٩۰-۹]{1,"+a2+"})"}function Ea2(){return";ext="+L2("20")+"|[  \\t,]*(?:e?xt(?:ensi(?:ó?|ó))?n?|e?xtn?|доб|anexo)[:\\..]?[  \\t,-]*"+(L2("20")+"#?|[  \\t,]*(?:[xx##~~]|int|int)[:\\..]?[  \\t,-]*")+(L2("9")+"#?|[- ]+")+(L2("6")+"#|[  \\t]*(?:,{2}|;)[:\\..]?[  \\t,-]*")+(L2("15")+"#?|[  \\t]*(?:,)+[:\\..]?[  \\t,-]*")+(L2("9")+"#?")}var Fa2=new RegExp("(?:"+Ea2()+")$","i"),Ga2=new RegExp("^[0-90-9٠-٩۰-۹]{2}$|^[++]*(?:[-x‐-―−ー--/  ­​⁠ ()()[].\\[\\]/~⁓∼~*]*[0-90-9٠-٩۰-۹]){3,}[-x‐-―−ー--/  ­​⁠ ()()[].\\[\\]/~⁓∼~*A-Za-z0-90-9٠-٩۰-۹]*(?:"+Ea2()+")?$","i"),Ha2=/(\$\d)/;function Ia2(a2){return 2>a2.length?false:M2(Ga2,a2)}function Ja2(a2){return M2(Ba2,a2)?N2(a2,wa2):N2(a2,va)}function Ka2(a2){var b2=Ja2(a2.toString());a2.i="";a2.g(b2)}function N2(a2,b2){for(var c2=new C2,d2,f2=a2.length,e2=0;e2<f2;++e2)d2=a2.charAt(e2),d2=b2[d2.toUpperCase()],null!=d2&&c2.g(d2);return c2.toString()}function O2(a2){return null!=a2&&isNaN(a2)&&a2.toUpperCase()in ua2}function Ma2(a2,b2,c2){if(0==p2(b2,2)&&null!=b2.g[5]){var d2=v2(b2,5);if(0<d2.length)return d2}d2=v2(b2,1);var f2=P2(b2);if(0==c2)return Na2(d2,0,f2,"");if(!(d2 in I2))return f2;a2=Q(a2,d2,R2(d2));b2=null!=b2.g[3]&&0!=p2(b2,3).length?3==c2?";ext="+p2(b2,3):null!=a2.g[13]?p2(a2,13)+v2(b2,3):" ext. "+v2(b2,3):"";a:{a2=0==t2(a2,20).length||2==c2?t2(a2,19):t2(a2,20);for(var e2,g2=a2.length,h2=0;h2<g2;++h2){e2=a2[h2];var l2=w2(e2,3);if(0==l2||0==f2.search(p2(e2,3,l2-1))){if(l2=new RegExp(p2(e2,1)),M2(l2,f2)){a2=e2;break a}}}a2=null}null!=a2&&(g2=a2,a2=v2(g2,2),e2=new RegExp(p2(g2,1)),v2(g2,5),g2=v2(g2,4),f2=2==c2&&null!=g2&&0<g2.length?f2.replace(e2,a2.replace(Ha2,g2)):f2.replace(e2,a2),3==c2&&(f2=f2.replace(RegExp("^[-x‐-―−ー--/  ­​⁠ ()()[].\\[\\]/~⁓∼~]+"),""),f2=f2.replace(RegExp("[-x‐-―−ー--/  ­​⁠ ()()[].\\[\\]/~⁓∼~]+","g"),"-")));return Na2(d2,c2,f2,b2)}function Q(a2,b2,c2){return"001"==c2?S2(a2,""+b2):S2(a2,c2)}function P2(a2){if(null==a2.g[2])return"";var b2=""+p2(a2,2);return null!=a2.g[4]&&p2(a2,4)&&0<v2(a2,8)?Array(v2(a2,8)+1).join("0")+b2:b2}function Na2(a2,b2,c2,d2){switch(b2){case 0:return"+"+a2+c2+d2;case 1:return"+"+a2+" "+c2+d2;case 3:return"tel:+"+a2+"-"+c2+d2;default:return c2+d2}}function T2(a2,b2){switch(b2){case 4:return p2(a2,5);case 3:return p2(a2,4);case 1:return p2(a2,3);case 0:case 2:return p2(a2,2);case 5:return p2(a2,6);case 6:return p2(a2,8);case 7:return p2(a2,7);case 8:return p2(a2,21);case 9:return p2(a2,25);case 10:return p2(a2,28);default:return p2(a2,1)}}function U2(a2,b2){return V2(a2,p2(b2,1))?V2(a2,p2(b2,5))?4:V2(a2,p2(b2,4))?3:V2(a2,p2(b2,6))?5:V2(a2,p2(b2,8))?6:V2(a2,p2(b2,7))?7:V2(a2,p2(b2,21))?8:V2(a2,p2(b2,25))?9:V2(a2,p2(b2,28))?10:V2(a2,p2(b2,2))?p2(b2,18)||V2(a2,p2(b2,3))?2:0:!p2(b2,18)&&V2(a2,p2(b2,3))?1:-1:-1}function S2(a2,b2){if(null==b2)return null;b2=b2.toUpperCase();var c2=a2.g[b2];if(null==c2){c2=ua2[b2];if(null==c2)return null;c2=(new B2).g(F2.j(),c2);a2.g[b2]=c2}return c2}function V2(a2,b2){var c2=a2.length;return 0<w2(b2,9)&&-1==t2(b2,9).indexOf(c2)?false:M2(v2(b2,2),a2)}function Oa2(a2,b2){if(null==b2)return null;var c2=v2(b2,1);c2=I2[c2];if(null==c2)a2=null;else if(1==c2.length)a2=c2[0];else a:{b2=P2(b2);for(var d2,f2=c2.length,e2=0;e2<f2;e2++){d2=c2[e2];var g2=S2(a2,d2);if(null!=g2.g[23]){if(0==b2.search(p2(g2,23))){a2=d2;break a}}else if(-1!=U2(b2,g2)){a2=d2;break a}}a2=null}return a2}function R2(a2){a2=I2[a2];return null==a2?"ZZ":a2[0]}function W2(a2,b2,c2,d2){var f2=T2(c2,d2),e2=0==w2(f2,9)?t2(p2(c2,1),9):t2(f2,9);f2=t2(f2,10);if(-1==e2[0])return 5;b2=b2.length;if(-1<f2.indexOf(b2))return 4;c2=e2[0];return c2==b2?0:c2>b2?2:e2[e2.length-1]<b2?3:-1<e2.indexOf(b2,1)?0:5}function X2(a2,b2){var c2=P2(b2);b2=v2(b2,1);if(!(b2 in I2))return 1;b2=Q(a2,b2,R2(b2));return W2(a2,c2,b2,-1)}function Pa2(a2,b2,c2,d2,f2,e2){if(0==b2.length)return 0;b2=new C2(b2);var g2;null!=c2&&(g2=p2(c2,11));null==g2&&(g2="NonMatch");var h2=b2.toString();if(0==h2.length)g2=20;else if(K.test(h2))h2=h2.replace(K,""),b2.i="",b2.g(Ja2(h2)),g2=1;else{h2=new RegExp(g2);Ka2(b2);g2=b2.toString();if(0==g2.search(h2)){h2=g2.match(h2)[0].length;var l2=g2.substring(h2).match(xa2);l2&&null!=l2[1]&&0<l2[1].length&&"0"==N2(l2[1],va)?g2=false:(b2.i="",b2.g(g2.substring(h2)),g2=true)}else g2=false;g2=g2?5:20}f2&&q2(e2,6,g2);if(20!=g2){if(2>=b2.i.length)throw Error("Phone number too short after IDD");a:{a2=b2.toString();if(0!=a2.length&&"0"!=a2.charAt(0)){for(f2=a2.length,b2=1;3>=b2&&b2<=f2;++b2)if(c2=parseInt(a2.substring(0,b2),10),c2 in I2){d2.g(a2.substring(b2));d2=c2;break a}}d2=0}if(0!=d2)return q2(e2,1,d2),d2;throw Error("Invalid country calling code")}if(null!=c2&&(g2=v2(c2,10),h2=""+g2,l2=b2.toString(),0==l2.lastIndexOf(h2,0)&&(h2=new C2(l2.substring(h2.length)),l2=p2(c2,1),l2=new RegExp(v2(l2,2)),Qa2(h2,c2,null),h2=h2.toString(),!M2(l2,b2.toString())&&M2(l2,h2)||3==W2(a2,b2.toString(),c2,-1))))return d2.g(h2),f2&&q2(e2,6,10),q2(e2,1,g2),g2;q2(e2,1,0);return 0}function Qa2(a2,b2,c2){var d2=a2.toString(),f2=d2.length,e2=p2(b2,15);if(0!=f2&&null!=e2&&0!=e2.length){var g2=new RegExp("^(?:"+e2+")");if(f2=g2.exec(d2)){e2=new RegExp(v2(p2(b2,1),2));var h2=M2(e2,d2),l2=f2.length-1;b2=p2(b2,16);if(null==b2||0==b2.length||null==f2[l2]||0==f2[l2].length){if(!h2||M2(e2,d2.substring(f2[0].length)))null!=c2&&0<l2&&null!=f2[l2]&&c2.g(f2[1]),a2.set(d2.substring(f2[0].length))}else if(d2=d2.replace(g2,b2),!h2||M2(e2,d2))null!=c2&&0<l2&&c2.g(f2[1]),a2.set(d2)}}}function Z2(a2,b2,c2){if(!O2(c2)&&0<b2.length&&"+"!=b2.charAt(0))throw Error("Invalid country calling code");return Ra2(a2,b2,c2,true)}function Ra2(a2,b2,c2,d2){if(null==b2)throw Error("The string supplied did not seem to be a phone number");if(250<b2.length)throw Error("The string supplied is too long to be a phone number");var f2=new C2;var e2=b2.indexOf(";phone-context=");if(-1===e2)e2=null;else if(e2+=15,e2>=b2.length)e2="";else{var g2=b2.indexOf(";",e2);e2=-1!==g2?b2.substring(e2,g2):b2.substring(e2)}var h2=e2;null==h2?g2=true:0===h2.length?g2=false:(g2=Ca2.exec(h2),h2=Da2.exec(h2),g2=null!==g2||null!==h2);if(!g2)throw Error("The string supplied did not seem to be a phone number");null!=e2?("+"===e2.charAt(0)&&f2.g(e2),e2=b2.indexOf("tel:"),f2.g(b2.substring(0<=e2?e2+4:0,b2.indexOf(";phone-context=")))):(e2=f2.g,g2=b2??"",h2=g2.search(ya2),0<=h2?(g2=g2.substring(h2),g2=g2.replace(Aa2,""),h2=g2.search(za2),0<=h2&&(g2=g2.substring(0,h2))):g2="",e2.call(f2,g2));e2=f2.toString();g2=e2.indexOf(";isub=");0<g2&&(f2.i="",f2.g(e2.substring(0,g2)));if(!Ia2(f2.toString()))throw Error("The string supplied did not seem to be a phone number");e2=f2.toString();if(!(O2(c2)||null!=e2&&0<e2.length&&K.test(e2)))throw Error("Invalid country calling code");e2=new H2;d2&&q2(e2,5,b2);a:{b2=f2.toString();g2=b2.search(Fa2);if(0<=g2&&Ia2(b2.substring(0,g2))){h2=b2.match(Fa2);for(var l2=h2.length,A2=1;A2<l2;++A2)if(null!=h2[A2]&&0<h2[A2].length){f2.i="";f2.g(b2.substring(0,g2));b2=h2[A2];break a}}b2=""}0<b2.length&&q2(e2,3,b2);g2=S2(a2,c2);b2=new C2;h2=0;l2=f2.toString();try{h2=Pa2(a2,l2,g2,b2,d2,e2)}catch(G2){if("Invalid country calling code"==G2.message&&K.test(l2)){if(l2=l2.replace(K,""),h2=Pa2(a2,l2,g2,b2,d2,e2),0==h2)throw G2}else throw G2}0!=h2?(f2=R2(h2),f2!=c2&&(g2=Q(a2,h2,f2))):(Ka2(f2),b2.g(f2.toString()),null!=c2?(h2=v2(g2,10),q2(e2,1,h2)):d2&&(delete e2.g[6],e2.i&&delete e2.i[6]));if(2>b2.i.length)throw Error("The string supplied is too short to be a phone number");null!=g2&&(c2=new C2,f2=new C2(b2.toString()),Qa2(f2,g2,c2),a2=W2(a2,f2.toString(),g2,-1),2!=a2&&4!=a2&&5!=a2&&(b2=f2,d2&&0<c2.toString().length&&q2(e2,7,c2.toString())));d2=b2.toString();a2=d2.length;if(2>a2)throw Error("The string supplied is too short to be a phone number");if(17<a2)throw Error("The string supplied is too long to be a phone number");if(1<d2.length&&"0"==d2.charAt(0)){q2(e2,4,true);for(a2=1;a2<d2.length-1&&"0"==d2.charAt(a2);)a2++;1!=a2&&q2(e2,8,a2)}q2(e2,2,parseInt(d2,10));return e2}function M2(a2,b2){return(a2="string"==typeof a2?b2.match("^(?:"+a2+")$"):b2.match(a2))&&a2[0].length==b2.length?true:false}k2("intlTelInputUtils",{});k2("intlTelInputUtils.formatNumber",((a2,b2,c2)=>{try{const f2=J.g(),e2=Z2(f2,a2,b2);var d2=X2(f2,e2);return 0==d2||4==d2?Ma2(f2,e2,"undefined"===typeof c2?0:c2):a2}catch(f2){return a2}}));k2("intlTelInputUtils.getExampleNumber",((a2,b2,c2)=>{try{const h2=J.g();a:{var d2=h2;if(O2(a2)){var f2=T2(S2(d2,a2),c2);try{if(null!=f2.g[6]){var e2=p2(f2,6);var g2=Ra2(d2,e2,a2,false);break a}}catch(l2){}}g2=null}return Ma2(h2,g2,b2?2:1)}catch(h2){return""}}));k2("intlTelInputUtils.getExtension",((a2,b2)=>{try{return p2(Z2(J.g(),a2,b2),3)}catch(c2){return""}}));k2("intlTelInputUtils.getNumberType",((a2,b2)=>{try{const h2=J.g();var c2=Z2(h2,a2,b2);a2=h2;var d2=Oa2(a2,c2),f2=Q(a2,v2(c2,1),d2);if(null==f2)var e2=-1;else{var g2=P2(c2);e2=U2(g2,f2)}return e2}catch(h2){return-99}}));k2("intlTelInputUtils.getValidationError",((a2,b2)=>{try{const c2=J.g(),d2=Z2(c2,a2,b2);return X2(c2,d2)}catch(c2){return"Invalid country calling code"===c2.message?1:3>=a2.length||"Phone number too short after IDD"===c2.message||"The string supplied is too short to be a phone number"===c2.message?2:"The string supplied is too long to be a phone number"===c2.message?3:-99}}));k2("intlTelInputUtils.isValidNumber",((a2,b2)=>{try{const Y2=J.g();var c2=Z2(Y2,a2,b2);a2=Y2;var d2=Oa2(a2,c2);var f2=v2(c2,1),e2=Q(a2,f2,d2),g2;if(!(g2=null==e2)){var h2;if(h2="001"!=d2){var l2=S2(a2,d2);if(null==l2)throw Error("Invalid region code: "+d2);var A2=v2(l2,10);h2=f2!=A2}g2=h2}if(g2)var G2=false;else{var Sa2=P2(c2);G2=-1!=U2(Sa2,e2)}return G2}catch(Y2){return false}}));k2("intlTelInputUtils.isPossibleNumber",((a2,b2)=>{try{const c2=J.g(),d2=Z2(c2,a2,b2);return 0===X2(c2,d2)}catch(c2){return false}}));k2("intlTelInputUtils.numberFormat",{E164:0,INTERNATIONAL:1,NATIONAL:2,RFC3966:3});k2("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});k2("intlTelInputUtils.validationError",{IS_POSSIBLE:0,INVALID_COUNTRY_CODE:1,TOO_SHORT:2,TOO_LONG:3,IS_POSSIBLE_LOCAL_ONLY:4,INVALID_LENGTH:5})})();const isEmpty=obj=>Object.keys(obj).length<1;const formatToGlobalCountryName=countryName=>countryName.split("(")[0].trim();const formatAllCountries=()=>{const countryData=window.intlTelInputGlobals.getCountryData();for(let i=0;i<countryData.length;i++){const country=countryData[i];country.name=formatToGlobalCountryName(country.name)}};formatAllCountries();const containOnlyNumbers=value=>/^[()+\-\ .\d]*$/g.test(value);const PhoneNumberInput=(props,ref)=>{const{aria:aria={},className:className,dark:dark=false,data:data={},disabled:disabled=false,htmlOptions:htmlOptions={},id:id2="",initialCountry:initialCountry="",isValid:isValid=()=>{},label:label="",name:name2="",onChange:onChange2=()=>{},onValidate:onValidate=()=>null,onlyCountries:onlyCountries=[],required:required=false,preferredCountries:preferredCountries=[],value:value=""}=props;const ariaProps=buildAriaProps(aria);const dataProps=buildDataProps(data);const htmlProps=buildHtmlProps(htmlOptions);const classes=classnames(buildCss("pb_phone_number_input"),globalProps(props),className);const inputRef=reactExports.useRef();const[inputValue,setInputValue]=reactExports.useState(value);const[itiInit,setItiInit]=reactExports.useState();const[error,setError]=reactExports.useState(props.error);const[dropDownIsOpen,setDropDownIsOpen]=reactExports.useState(false);const[selectedData,setSelectedData]=reactExports.useState();reactExports.useEffect((()=>{if((error==null?void 0:error.length)>0){onValidate(false)}else{onValidate(true)}}),[error,onValidate]);reactExports.useImperativeHandle(ref,(()=>({clearField(){setInputValue("");setError("")},inputNode(){return inputRef.current}})));const showFormattedError=(reason="")=>{const countryName=itiInit.getSelectedCountryData().name;const reasonText=reason.length>0?` (${reason})`:"";setError(`Invalid ${countryName} phone number${reasonText}`);return true};const validateTooLongNumber=itiInit2=>{if(!itiInit2)return;if(itiInit2.getValidationError()===3){return showFormattedError("too long")}else{setError("")}};const validateTooShortNumber=itiInit2=>{if(!itiInit2)return;if(itiInit2.getValidationError()===2){return showFormattedError("too short")}else{if(inputValue.length===1){return showFormattedError("too short")}else{setError("")}}};const validateOnlyNumbers=itiInit2=>{if(!itiInit2)return;if(inputValue&&!containOnlyNumbers(inputValue)){return showFormattedError("enter numbers only")}};const validateUnhandledError=itiInit2=>{if(!required||!itiInit2)return;if(itiInit2.getValidationError()===-99){if(inputValue.length===1){return showFormattedError("too short")}else if(inputValue.length===0){setError("Missing phone number");return true}else{return showFormattedError()}}};const validateMissingAreaCode=itiInit2=>{if(!required||!itiInit2)return;if(itiInit2.getValidationError()===4){showFormattedError("missing area code");return true}};const validateErrors=()=>{if(itiInit)isValid(itiInit.isValidNumber());if(validateOnlyNumbers(itiInit))return;if(validateTooLongNumber(itiInit))return;if(validateTooShortNumber(itiInit))return;if(validateUnhandledError(itiInit))return;if(validateMissingAreaCode(itiInit))return};const getCurrentSelectedData=(itiInit2,inputValue2)=>({...itiInit2.getSelectedCountryData(),number:inputValue2});const handleOnChange=evt=>{setInputValue(evt.target.value);const phoneNumberData=getCurrentSelectedData(itiInit,evt.target.value);setSelectedData(phoneNumberData);onChange2(phoneNumberData);isValid(itiInit.isValidNumber())};reactExports.useEffect(formatAllCountries,[]);reactExports.useEffect((()=>{const telInputInit=intlTelInput$1(inputRef.current,{separateDialCode:true,preferredCountries:preferredCountries,allowDropdown:!disabled,autoInsertDialCode:false,initialCountry:initialCountry,onlyCountries:onlyCountries});inputRef.current.addEventListener("countrychange",(evt=>{const phoneNumberData=getCurrentSelectedData(telInputInit,evt.target.value);setSelectedData(phoneNumberData);onChange2(phoneNumberData);validateErrors()}));inputRef.current.addEventListener("open:countrydropdown",(()=>setDropDownIsOpen(true)));inputRef.current.addEventListener("close:countrydropdown",(()=>setDropDownIsOpen(false)));setItiInit(telInputInit)}),[]);let textInputProps={className:dropDownIsOpen?"dropdown_open":"",dark:dark,"data-phone-number":JSON.stringify(selectedData),disabled:disabled,error:error,type:"tel",id:id2,label:label,name:name2,onBlur:validateErrors,onChange:handleOnChange,value:inputValue};let wrapperProps={className:classes};if(!isEmpty(aria))textInputProps={...textInputProps,...ariaProps};if(!isEmpty(data))wrapperProps={...wrapperProps,...dataProps};if(required)textInputProps.required=true;return jsxRuntimeExports.jsx("div",{...wrapperProps,...htmlProps,children:jsxRuntimeExports.jsx(TextInput$1,{ref:inputNode=>{ref?ref.current=inputNode:null;inputRef.current=inputNode},...textInputProps})})};const PhoneNumberInput$1=reactExports.forwardRef(PhoneNumberInput);var main={exports:{}};(function(module){var $aSSit$react=reactExports;function $parcel$export(e2,n2,v2,s2){Object.defineProperty(e2,n2,{get:v2,set:s2,enumerable:true,configurable:true})}$parcel$export(module.exports,"TrixEditor",(()=>$a889f07634db0f77$export$ba1ea3784ea3400d));class $a889f07634db0f77$export$ba1ea3784ea3400d extends $aSSit$react.Component{constructor(props){super(props);this.container=null;this.editor=null;this.d=null;this.id=this.generateId();this.state={showMergeTags:false,tags:[]}}generateId(){let dt=(new Date).getTime();let uuid="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(c2){let r2=(dt+Math.random()*16)%16|0;dt=Math.floor(dt/16);return(c2=="x"?r2:r2&3|8).toString(16)}));return"T"+uuid}componentDidMount(){let props=this.props;this.container=document.getElementById(`editor-${this.id}`);if(this.container){this.container.addEventListener("trix-initialize",(()=>{this.editor=this.container.editor;if(!this.editor)console.error("cannot find trix editor");if(props.onEditorReady&&typeof props.onEditorReady=="function")props.onEditorReady(this.editor)}),false);this.container.addEventListener("trix-change",this.handleChange.bind(this),false);if(props.uploadURL)this.container.addEventListener("trix-attachment-add",this.handleUpload.bind(this))}else console.error("editor not found")}componentWillUnmount(){this.container.removeEventListener("trix-initialize",this.handleChange);this.container.removeEventListener("trix-change",this.handleChange);if(this.props.uploadURL)this.container.removeEventListener("trix-attachment-add",this.handleUpload)}handleChange(e2){const props=this.props;let state=this.state;const text=e2.target.innerText;if(props.onChange)props.onChange(e2.target.innerHTML,text);const range=this.editor.getSelectedRange();if(text&&range[0]==range[1]){if(props.mergeTags){const lastChar=range[0]-1;if(lastChar>=0&&lastChar<text.length){const trigger=text[lastChar];for(let i=0;i<props.mergeTags.length;i++)if(trigger==props.mergeTags[i].trigger){state.showMergeTags=true;state.tags=props.mergeTags[i].tags;this.setState(state);break}}}}}handleUpload(e2){var attachment=e2.attachment;if(attachment.file)return this.uploadAttachment(attachment)}uploadAttachment(attachment){var file,form,xhr;file=attachment.file;form=new FormData;if(this.props.uploadData)for(var k2 in this.props.uploadData)form.append(k2,this.props.uploadData[k2]);form.append(this.props.fileParamName||"file",file);xhr=new XMLHttpRequest;xhr.open("POST",this.props.uploadURL,true);xhr.upload.onprogress=event2=>{var progress=event2.loaded/event2.total*100;return attachment.setUploadProgress(progress)};xhr.onload=()=>{var href,url;if(xhr.status>=200&&xhr.status<300){url=href=xhr.responseText;return attachment.setAttributes({url:url,href:href})}};return xhr.send(form)}handleTagSelected(t2,e2){e2.preventDefault();let state=this.state;state.showMergeTags=false;this.setState(state);this.editor.expandSelectionInDirection("backward");this.editor.insertString(t2.tag)}renderTagSelector(tags){if(!tags||!this.editor)return null;const editorPosition=document.getElementById("trix-editor-top-level-"+this.id).getBoundingClientRect();const rect=this.editor.getClientRectAtPosition(this.editor.getSelectedRange()[0]);const boxStyle={position:"absolute",top:rect.top+25-editorPosition.top,left:rect.left+25-editorPosition.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"};const tagStyle={display:"block",padding:".2em .5em",cursor:"pointer"};return $aSSit$react.createElement("div",{style:boxStyle,className:"react-trix-suggestions"},tags.map((t2=>$aSSit$react.createElement("a",{key:t2.name,style:tagStyle,href:"#",onClick:this.handleTagSelected.bind(this,t2)},t2.name))))}render(){let state=this.state;let props=this.props;var attributes={id:`editor-${this.id}`,input:`input-${this.id}`};if(props.className)attributes["class"]=props.className;if(props.autoFocus)attributes["autofocus"]=props.autoFocus.toString();if(props.placeholder)attributes["placeholder"]=props.placeholder;if(props.toolbar)attributes["toolbar"]=props.toolbar;let mergetags=null;if(state.showMergeTags)mergetags=this.renderTagSelector(state.tags);return $aSSit$react.createElement("div",{id:"trix-editor-top-level-"+this.id,ref:d2=>this.d=d2,style:{position:"relative"}},$aSSit$react.createElement("trix-editor",attributes),$aSSit$react.createElement("input",{type:"hidden",id:`input-${this.id}`,value:this.props.value}),mergetags)}}})(main);var mainExports=main.exports;const inlineFocus=()=>{const trixEditorElement=event.target;const trixEditorContainer=trixEditorElement.closest(".pb_rich_text_editor_kit");if(!trixEditorContainer.classList.contains("inline"))return;trixEditorContainer.classList.toggle("focused")};const useFocus=()=>{const allTrixEditors=document.querySelectorAll(".focus-editor-targets trix-editor");allTrixEditors.forEach((editorElement=>{const toolbarElement=editorElement.toolbarElement;if(editorElement==document.activeElement){editorElement.classList.add("focused-editor");toolbarElement.style.display="block"}else{if(!toolbarElement.contains(document.activeElement)){editorElement.classList.remove("focused-editor");toolbarElement.style.display="none"}}}))};var trix={exports:{}};(function(module){(function(){}).call(commonjsGlobal),function(){null==window.Set&&(window.Set=function(){function t2(){this.clear()}return t2.prototype.clear=function(){return this.values=[]},t2.prototype.has=function(t3){return-1!==this.values.indexOf(t3)},t2.prototype.add=function(t3){return this.has(t3)||this.values.push(t3),this},t2.prototype["delete"]=function(t3){var e2;return-1===(e2=this.values.indexOf(t3))?false:(this.values.splice(e2,1),true)},t2.prototype.forEach=function(){var t3;return(t3=this.values).forEach.apply(t3,arguments)},t2}())}.call(commonjsGlobal),function(t2){function e2(){}function n2(t3,e3){return function(){t3.apply(e3,arguments)}}function i(t3){if("object"!=typeof this)throw new TypeError("Promises must be constructed via new");if("function"!=typeof t3)throw new TypeError("not a function");this._state=0,this._handled=false,this._value=void 0,this._deferreds=[],c2(t3,this)}function o2(t3,e3){for(;3===t3._state;)t3=t3._value;return 0===t3._state?void t3._deferreds.push(e3):(t3._handled=true,void h2((function(){var n3=1===t3._state?e3.onFulfilled:e3.onRejected;if(null===n3)return void(1===t3._state?r2:s2)(e3.promise,t3._value);var i2;try{i2=n3(t3._value)}catch(o3){return void s2(e3.promise,o3)}r2(e3.promise,i2)})))}function r2(t3,e3){try{if(e3===t3)throw new TypeError("A promise cannot be resolved with itself.");if(e3&&("object"==typeof e3||"function"==typeof e3)){var o3=e3.then;if(e3 instanceof i)return t3._state=3,t3._value=e3,void a2(t3);if("function"==typeof o3)return void c2(n2(o3,e3),t3)}t3._state=1,t3._value=e3,a2(t3)}catch(r3){s2(t3,r3)}}function s2(t3,e3){t3._state=2,t3._value=e3,a2(t3)}function a2(t3){2===t3._state&&0===t3._deferreds.length&&setTimeout((function(){t3._handled||p2(t3._value)}),1);for(var e3=0,n3=t3._deferreds.length;n3>e3;e3++)o2(t3,t3._deferreds[e3]);t3._deferreds=null}function u2(t3,e3,n3){this.onFulfilled="function"==typeof t3?t3:null,this.onRejected="function"==typeof e3?e3:null,this.promise=n3}function c2(t3,e3){var n3=false;try{t3((function(t4){n3||(n3=true,r2(e3,t4))}),(function(t4){n3||(n3=true,s2(e3,t4))}))}catch(i2){if(n3)return;n3=true,s2(e3,i2)}}var l2=setTimeout,h2="function"==typeof setImmediate&&setImmediate||function(t3){l2(t3,1)},p2=function(t3){"undefined"!=typeof console&&console&&console.warn("Possible Unhandled Promise Rejection:",t3)};i.prototype["catch"]=function(t3){return this.then(null,t3)},i.prototype.then=function(t3,n3){var r3=new i(e2);return o2(this,new u2(t3,n3,r3)),r3},i.all=function(t3){var e3=Array.prototype.slice.call(t3);return new i((function(t4,n3){function i2(r4,s3){try{if(s3&&("object"==typeof s3||"function"==typeof s3)){var a3=s3.then;if("function"==typeof a3)return void a3.call(s3,(function(t5){i2(r4,t5)}),n3)}e3[r4]=s3,0===--o3&&t4(e3)}catch(u3){n3(u3)}}if(0===e3.length)return t4([]);for(var o3=e3.length,r3=0;r3<e3.length;r3++)i2(r3,e3[r3])}))},i.resolve=function(t3){return t3&&"object"==typeof t3&&t3.constructor===i?t3:new i((function(e3){e3(t3)}))},i.reject=function(t3){return new i((function(e3,n3){n3(t3)}))},i.race=function(t3){return new i((function(e3,n3){for(var i2=0,o3=t3.length;o3>i2;i2++)t3[i2].then(e3,n3)}))},i._setImmediateFn=function(t3){h2=t3},i._setUnhandledRejectionFn=function(t3){p2=t3},module.exports?module.exports=i:t2.Promise||(t2.Promise=i)}(commonjsGlobal),function(){var t2="object"==typeof window.customElements,e2="function"==typeof document.registerElement,n2=t2||e2;n2||(
39
- /**
40
- * @license
41
- * Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
42
- * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
43
- * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
44
- * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
45
- * Code distributed by Google as part of the polymer project is also
46
- * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
47
- */
48
- /**
49
- * @license
50
- * Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
51
- * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
52
- * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
53
- * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
54
- * Code distributed by Google as part of the polymer project is also
55
- * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
56
- */
57
- "undefined"==typeof WeakMap&&!function(){var t3=Object.defineProperty,e3=Date.now()%1e9,n3=function(){this.name="__st"+(1e9*Math.random()>>>0)+(e3+++"__")};n3.prototype={set:function(e4,n4){var i=e4[this.name];return i&&i[0]===e4?i[1]=n4:t3(e4,this.name,{value:[e4,n4],writable:true}),this},get:function(t4){var e4;return(e4=t4[this.name])&&e4[0]===t4?e4[1]:void 0},delete:function(t4){var e4=t4[this.name];return e4&&e4[0]===t4?(e4[0]=e4[1]=void 0,true):false},has:function(t4){var e4=t4[this.name];return e4?e4[0]===t4:false}},window.WeakMap=n3}(),function(t3){function e3(t4){A2.push(t4),b2||(b2=true,g2(i))}function n3(t4){return window.ShadowDOMPolyfill&&window.ShadowDOMPolyfill.wrapIfNeeded(t4)||t4}function i(){b2=false;var t4=A2;A2=[],t4.sort((function(t5,e5){return t5.uid_-e5.uid_}));var e4=false;t4.forEach((function(t5){var n4=t5.takeRecords();o2(t5),n4.length&&(t5.callback_(n4,t5),e4=true)})),e4&&i()}function o2(t4){t4.nodes_.forEach((function(e4){var n4=m2.get(e4);n4&&n4.forEach((function(e5){e5.observer===t4&&e5.removeTransientObservers()}))}))}function r2(t4,e4){for(var n4=t4;n4;n4=n4.parentNode){var i2=m2.get(n4);if(i2)for(var o3=0;o3<i2.length;o3++){var r3=i2[o3],s3=r3.options;if(n4===t4||s3.subtree){var a3=e4(s3);a3&&r3.enqueue(a3)}}}}function s2(t4){this.callback_=t4,this.nodes_=[],this.records_=[],this.uid_=++C2}function a2(t4,e4){this.type=t4,this.target=e4,this.addedNodes=[],this.removedNodes=[],this.previousSibling=null,this.nextSibling=null,this.attributeName=null,this.attributeNamespace=null,this.oldValue=null}function u2(t4){var e4=new a2(t4.type,t4.target);return e4.addedNodes=t4.addedNodes.slice(),e4.removedNodes=t4.removedNodes.slice(),e4.previousSibling=t4.previousSibling,e4.nextSibling=t4.nextSibling,e4.attributeName=t4.attributeName,e4.attributeNamespace=t4.attributeNamespace,e4.oldValue=t4.oldValue,e4}function c2(t4,e4){return x2=new a2(t4,e4)}function l2(t4){return w2?w2:(w2=u2(x2),w2.oldValue=t4,w2)}function h2(){x2=w2=void 0}function p2(t4){return t4===w2||t4===x2}function d2(t4,e4){return t4===e4?t4:w2&&p2(t4)?w2:null}function f2(t4,e4,n4){this.observer=t4,this.target=e4,this.options=n4,this.transientObservedNodes=[]}if(!t3.JsMutationObserver){var g2,m2=new WeakMap;if(/Trident|Edge/.test(navigator.userAgent))g2=setTimeout;else if(window.setImmediate)g2=window.setImmediate;else{var v2=[],y2=String(Math.random());window.addEventListener("message",(function(t4){if(t4.data===y2){var e4=v2;v2=[],e4.forEach((function(t5){t5()}))}})),g2=function(t4){v2.push(t4),window.postMessage(y2,"*")}}var b2=false,A2=[],C2=0;s2.prototype={observe:function(t4,e4){if(t4=n3(t4),!e4.childList&&!e4.attributes&&!e4.characterData||e4.attributeOldValue&&!e4.attributes||e4.attributeFilter&&e4.attributeFilter.length&&!e4.attributes||e4.characterDataOldValue&&!e4.characterData)throw new SyntaxError;var i2=m2.get(t4);i2||m2.set(t4,i2=[]);for(var o3,r3=0;r3<i2.length;r3++)if(i2[r3].observer===this){o3=i2[r3],o3.removeListeners(),o3.options=e4;break}o3||(o3=new f2(this,t4,e4),i2.push(o3),this.nodes_.push(t4)),o3.addListeners()},disconnect:function(){this.nodes_.forEach((function(t4){for(var e4=m2.get(t4),n4=0;n4<e4.length;n4++){var i2=e4[n4];if(i2.observer===this){i2.removeListeners(),e4.splice(n4,1);break}}}),this),this.records_=[]},takeRecords:function(){var t4=this.records_;return this.records_=[],t4}};var x2,w2;f2.prototype={enqueue:function(t4){var n4=this.observer.records_,i2=n4.length;if(n4.length>0){var o3=n4[i2-1],r3=d2(o3,t4);if(r3)return void(n4[i2-1]=r3)}else e3(this.observer);n4[i2]=t4},addListeners:function(){this.addListeners_(this.target)},addListeners_:function(t4){var e4=this.options;e4.attributes&&t4.addEventListener("DOMAttrModified",this,true),e4.characterData&&t4.addEventListener("DOMCharacterDataModified",this,true),e4.childList&&t4.addEventListener("DOMNodeInserted",this,true),(e4.childList||e4.subtree)&&t4.addEventListener("DOMNodeRemoved",this,true)},removeListeners:function(){this.removeListeners_(this.target)},removeListeners_:function(t4){var e4=this.options;e4.attributes&&t4.removeEventListener("DOMAttrModified",this,true),e4.characterData&&t4.removeEventListener("DOMCharacterDataModified",this,true),e4.childList&&t4.removeEventListener("DOMNodeInserted",this,true),(e4.childList||e4.subtree)&&t4.removeEventListener("DOMNodeRemoved",this,true)},addTransientObserver:function(t4){if(t4!==this.target){this.addListeners_(t4),this.transientObservedNodes.push(t4);var e4=m2.get(t4);e4||m2.set(t4,e4=[]),e4.push(this)}},removeTransientObservers:function(){var t4=this.transientObservedNodes;this.transientObservedNodes=[],t4.forEach((function(t5){this.removeListeners_(t5);for(var e4=m2.get(t5),n4=0;n4<e4.length;n4++)if(e4[n4]===this){e4.splice(n4,1);break}}),this)},handleEvent:function(t4){switch(t4.stopImmediatePropagation(),t4.type){case"DOMAttrModified":var e4=t4.attrName,n4=t4.relatedNode.namespaceURI,i2=t4.target,o3=new c2("attributes",i2);o3.attributeName=e4,o3.attributeNamespace=n4;var s3=t4.attrChange===MutationEvent.ADDITION?null:t4.prevValue;r2(i2,(function(t5){return!t5.attributes||t5.attributeFilter&&t5.attributeFilter.length&&-1===t5.attributeFilter.indexOf(e4)&&-1===t5.attributeFilter.indexOf(n4)?void 0:t5.attributeOldValue?l2(s3):o3}));break;case"DOMCharacterDataModified":var i2=t4.target,o3=c2("characterData",i2),s3=t4.prevValue;r2(i2,(function(t5){return t5.characterData?t5.characterDataOldValue?l2(s3):o3:void 0}));break;case"DOMNodeRemoved":this.addTransientObserver(t4.target);case"DOMNodeInserted":var a3,u3,p3=t4.target;"DOMNodeInserted"===t4.type?(a3=[p3],u3=[]):(a3=[],u3=[p3]);var d3=p3.previousSibling,f3=p3.nextSibling,o3=c2("childList",t4.target.parentNode);o3.addedNodes=a3,o3.removedNodes=u3,o3.previousSibling=d3,o3.nextSibling=f3,r2(t4.relatedNode,(function(t5){return t5.childList?o3:void 0}))}h2()}},t3.JsMutationObserver=s2,t3.MutationObserver||(t3.MutationObserver=s2,s2._isPolyfilled=true)}}(self),function(){if(!window.performance||!window.performance.now){var t3=Date.now();window.performance={now:function(){return Date.now()-t3}}}window.requestAnimationFrame||(window.requestAnimationFrame=function(){var t4=window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame;return t4?function(e4){return t4((function(){e4(performance.now())}))}:function(t5){return window.setTimeout(t5,1e3/60)}}()),window.cancelAnimationFrame||(window.cancelAnimationFrame=function(){return window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||function(t4){clearTimeout(t4)}}());var e3=function(){var t4=document.createEvent("Event");return t4.initEvent("foo",true,true),t4.preventDefault(),t4.defaultPrevented}();if(!e3){var n3=Event.prototype.preventDefault;Event.prototype.preventDefault=function(){this.cancelable&&(n3.call(this),Object.defineProperty(this,"defaultPrevented",{get:function(){return true},configurable:true}))}}var i=/Trident/.test(navigator.userAgent);if((!window.CustomEvent||i&&"function"!=typeof window.CustomEvent)&&(window.CustomEvent=function(t4,e4){e4=e4||{};var n4=document.createEvent("CustomEvent");return n4.initCustomEvent(t4,Boolean(e4.bubbles),Boolean(e4.cancelable),e4.detail),n4},window.CustomEvent.prototype=window.Event.prototype),!window.Event||i&&"function"!=typeof window.Event){var o2=window.Event;window.Event=function(t4,e4){e4=e4||{};var n4=document.createEvent("Event");return n4.initEvent(t4,Boolean(e4.bubbles),Boolean(e4.cancelable)),n4},window.Event.prototype=o2.prototype}}(),window.CustomElements=window.CustomElements||{flags:{}},function(t3){var e3=t3.flags,n3=[],i=function(t4){n3.push(t4)},o2=function(){n3.forEach((function(e4){e4(t3)}))};t3.addModule=i,t3.initializeModules=o2,t3.hasNative=Boolean(document.registerElement),t3.isIE=/Trident/.test(navigator.userAgent),t3.useNative=!e3.register&&t3.hasNative&&!window.ShadowDOMPolyfill&&(!window.HTMLImports||window.HTMLImports.useNative)}(window.CustomElements),window.CustomElements.addModule((function(t3){function e3(t4,e4){n3(t4,(function(t5){return e4(t5)?true:void i(t5,e4)})),i(t4,e4)}function n3(t4,e4,i2){var o3=t4.firstElementChild;if(!o3)for(o3=t4.firstChild;o3&&o3.nodeType!==Node.ELEMENT_NODE;)o3=o3.nextSibling;for(;o3;)e4(o3,i2)!==true&&n3(o3,e4,i2),o3=o3.nextElementSibling;return null}function i(t4,n4){for(var i2=t4.shadowRoot;i2;)e3(i2,n4),i2=i2.olderShadowRoot}function o2(t4,e4){r2(t4,e4,[])}function r2(t4,e4,n4){if(t4=window.wrap(t4),!(n4.indexOf(t4)>=0)){n4.push(t4);for(var i2,o3=t4.querySelectorAll("link[rel="+s2+"]"),a2=0,u2=o3.length;u2>a2&&(i2=o3[a2]);a2++)i2.import&&r2(i2.import,e4,n4);e4(t4)}}var s2=window.HTMLImports?window.HTMLImports.IMPORT_LINK_TYPE:"none";t3.forDocumentTree=o2,t3.forSubtree=e3})),window.CustomElements.addModule((function(t3){function e3(t4,e4){return n3(t4,e4)||i(t4,e4)}function n3(e4,n4){return t3.upgrade(e4,n4)?true:void(n4&&s2(e4))}function i(t4,e4){b2(t4,(function(t5){return n3(t5,e4)?true:void 0}))}function o2(t4){w2.push(t4),x2||(x2=true,setTimeout(r2))}function r2(){x2=false;for(var t4,e4=w2,n4=0,i2=e4.length;i2>n4&&(t4=e4[n4]);n4++)t4();w2=[]}function s2(t4){C2?o2((function(){a2(t4)})):a2(t4)}function a2(t4){t4.__upgraded__&&!t4.__attached&&(t4.__attached=true,t4.attachedCallback&&t4.attachedCallback())}function u2(t4){c2(t4),b2(t4,(function(t5){c2(t5)}))}function c2(t4){C2?o2((function(){l2(t4)})):l2(t4)}function l2(t4){t4.__upgraded__&&t4.__attached&&(t4.__attached=false,t4.detachedCallback&&t4.detachedCallback())}function h2(t4){for(var e4=t4,n4=window.wrap(document);e4;){if(e4==n4)return true;e4=e4.parentNode||e4.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&e4.host}}function p2(t4){if(t4.shadowRoot&&!t4.shadowRoot.__watched){y2.dom&&console.log("watching shadow-root for: ",t4.localName);for(var e4=t4.shadowRoot;e4;)g2(e4),e4=e4.olderShadowRoot}}function d2(t4,n4){if(y2.dom){var i2=n4[0];if(i2&&"childList"===i2.type&&i2.addedNodes&&i2.addedNodes){for(var o3=i2.addedNodes[0];o3&&o3!==document&&!o3.host;)o3=o3.parentNode;var r3=o3&&(o3.URL||o3._URL||o3.host&&o3.host.localName)||"";r3=r3.split("/?").shift().split("/").pop()}console.group("mutations (%d) [%s]",n4.length,r3||"")}var s3=h2(t4);n4.forEach((function(t5){"childList"===t5.type&&(E2(t5.addedNodes,(function(t6){t6.localName&&e3(t6,s3)})),E2(t5.removedNodes,(function(t6){t6.localName&&u2(t6)})))})),y2.dom&&console.groupEnd()}function f2(t4){for(t4=window.wrap(t4),t4||(t4=window.wrap(document));t4.parentNode;)t4=t4.parentNode;var e4=t4.__observer;e4&&(d2(t4,e4.takeRecords()),r2())}function g2(t4){if(!t4.__observer){var e4=new MutationObserver(d2.bind(this,t4));e4.observe(t4,{childList:true,subtree:true}),t4.__observer=e4}}function m2(t4){t4=window.wrap(t4),y2.dom&&console.group("upgradeDocument: ",t4.baseURI.split("/").pop());var n4=t4===window.wrap(document);e3(t4,n4),g2(t4),y2.dom&&console.groupEnd()}function v2(t4){A2(t4,m2)}var y2=t3.flags,b2=t3.forSubtree,A2=t3.forDocumentTree,C2=window.MutationObserver._isPolyfilled&&y2["throttle-attached"];t3.hasPolyfillMutations=C2,t3.hasThrottledAttached=C2;var x2=false,w2=[],E2=Array.prototype.forEach.call.bind(Array.prototype.forEach),S2=Element.prototype.createShadowRoot;S2&&(Element.prototype.createShadowRoot=function(){var t4=S2.call(this);return window.CustomElements.watchShadow(this),t4}),t3.watchShadow=p2,t3.upgradeDocumentTree=v2,t3.upgradeDocument=m2,t3.upgradeSubtree=i,t3.upgradeAll=e3,t3.attached=s2,t3.takeRecords=f2})),window.CustomElements.addModule((function(t3){function e3(e4,i2){if("template"===e4.localName&&window.HTMLTemplateElement&&HTMLTemplateElement.decorate&&HTMLTemplateElement.decorate(e4),!e4.__upgraded__&&e4.nodeType===Node.ELEMENT_NODE){var o3=e4.getAttribute("is"),r3=t3.getRegisteredDefinition(e4.localName)||t3.getRegisteredDefinition(o3);if(r3&&(o3&&r3.tag==e4.localName||!o3&&!r3.extends))return n3(e4,r3,i2)}}function n3(e4,n4,o3){return s2.upgrade&&console.group("upgrade:",e4.localName),n4.is&&e4.setAttribute("is",n4.is),i(e4,n4),e4.__upgraded__=true,r2(e4),o3&&t3.attached(e4),t3.upgradeSubtree(e4,o3),s2.upgrade&&console.groupEnd(),e4}function i(t4,e4){Object.__proto__?t4.__proto__=e4.prototype:(o2(t4,e4.prototype,e4.native),t4.__proto__=e4.prototype)}function o2(t4,e4,n4){for(var i2={},o3=e4;o3!==n4&&o3!==HTMLElement.prototype;){for(var r3,s3=Object.getOwnPropertyNames(o3),a2=0;r3=s3[a2];a2++)i2[r3]||(Object.defineProperty(t4,r3,Object.getOwnPropertyDescriptor(o3,r3)),i2[r3]=1);o3=Object.getPrototypeOf(o3)}}function r2(t4){t4.createdCallback&&t4.createdCallback()}var s2=t3.flags;t3.upgrade=e3,t3.upgradeWithDefinition=n3,t3.implementPrototype=i})),window.CustomElements.addModule((function(t3){function e3(e4,i2){var u3=i2||{};if(!e4)throw new Error("document.registerElement: first argument `name` must not be empty");if(e4.indexOf("-")<0)throw new Error("document.registerElement: first argument ('name') must contain a dash ('-'). Argument provided was '"+String(e4)+"'.");if(o2(e4))throw new Error("Failed to execute 'registerElement' on 'Document': Registration failed for type '"+String(e4)+"'. The type name is invalid.");if(c2(e4))throw new Error("DuplicateDefinitionError: a type with name '"+String(e4)+"' is already registered");return u3.prototype||(u3.prototype=Object.create(HTMLElement.prototype)),u3.__name=e4.toLowerCase(),u3.extends&&(u3.extends=u3.extends.toLowerCase()),u3.lifecycle=u3.lifecycle||{},u3.ancestry=r2(u3.extends),s2(u3),a2(u3),n3(u3.prototype),l2(u3.__name,u3),u3.ctor=h2(u3),u3.ctor.prototype=u3.prototype,u3.prototype.constructor=u3.ctor,t3.ready&&m2(document),u3.ctor}function n3(t4){if(!t4.setAttribute._polyfilled){var e4=t4.setAttribute;t4.setAttribute=function(t5,n5){i.call(this,t5,n5,e4)};var n4=t4.removeAttribute;t4.removeAttribute=function(t5){i.call(this,t5,null,n4)},t4.setAttribute._polyfilled=true}}function i(t4,e4,n4){t4=t4.toLowerCase();var i2=this.getAttribute(t4);n4.apply(this,arguments);var o3=this.getAttribute(t4);this.attributeChangedCallback&&o3!==i2&&this.attributeChangedCallback(t4,i2,o3)}function o2(t4){for(var e4=0;e4<C2.length;e4++)if(t4===C2[e4])return true}function r2(t4){var e4=c2(t4);return e4?r2(e4.extends).concat([e4]):[]}function s2(t4){for(var e4,n4=t4.extends,i2=0;e4=t4.ancestry[i2];i2++)n4=e4.is&&e4.tag;t4.tag=n4||t4.__name,n4&&(t4.is=t4.__name)}function a2(t4){if(!Object.__proto__){var e4=HTMLElement.prototype;if(t4.is){var n4=document.createElement(t4.tag);e4=Object.getPrototypeOf(n4)}for(var i2,o3=t4.prototype,r3=false;o3;)o3==e4&&(r3=true),i2=Object.getPrototypeOf(o3),i2&&(o3.__proto__=i2),o3=i2;r3||console.warn(t4.tag+" prototype not found in prototype chain for "+t4.is),t4.native=e4}}function u2(t4){return y2(E2(t4.tag),t4)}function c2(t4){return t4?x2[t4.toLowerCase()]:void 0}function l2(t4,e4){x2[t4]=e4}function h2(t4){return function(){return u2(t4)}}function p2(t4,e4,n4){return t4===w2?d2(e4,n4):S2(t4,e4)}function d2(t4,e4){t4&&(t4=t4.toLowerCase()),e4&&(e4=e4.toLowerCase());var n4=c2(e4||t4);if(n4){if(t4==n4.tag&&e4==n4.is)return new n4.ctor;if(!e4&&!n4.is)return new n4.ctor}var i2;return e4?(i2=d2(t4),i2.setAttribute("is",e4),i2):(i2=E2(t4),t4.indexOf("-")>=0&&b2(i2,HTMLElement),i2)}function f2(t4,e4){var n4=t4[e4];t4[e4]=function(){var t5=n4.apply(this,arguments);return v2(t5),t5}}var g2,m2=(t3.isIE,t3.upgradeDocumentTree),v2=t3.upgradeAll,y2=t3.upgradeWithDefinition,b2=t3.implementPrototype,A2=t3.useNative,C2=["annotation-xml","color-profile","font-face","font-face-src","font-face-uri","font-face-format","font-face-name","missing-glyph"],x2={},w2="http://www.w3.org/1999/xhtml",E2=document.createElement.bind(document),S2=document.createElementNS.bind(document);g2=Object.__proto__||A2?function(t4,e4){return t4 instanceof e4}:function(t4,e4){if(t4 instanceof e4)return true;for(var n4=t4;n4;){if(n4===e4.prototype)return true;n4=n4.__proto__}return false},f2(Node.prototype,"cloneNode"),f2(document,"importNode"),document.registerElement=e3,document.createElement=d2,document.createElementNS=p2,t3.registry=x2,t3.instanceof=g2,t3.reservedTagList=C2,t3.getRegisteredDefinition=c2,document.register=document.registerElement})),function(t3){function e3(){r2(window.wrap(document)),window.CustomElements.ready=true;var t4=window.requestAnimationFrame||function(t5){setTimeout(t5,16)};t4((function(){setTimeout((function(){window.CustomElements.readyTime=Date.now(),window.HTMLImports&&(window.CustomElements.elapsed=window.CustomElements.readyTime-window.HTMLImports.readyTime),document.dispatchEvent(new CustomEvent("WebComponentsReady",{bubbles:true}))}))}))}var n3=t3.useNative,i=t3.initializeModules;if(t3.isIE,n3){var o2=function(){};t3.watchShadow=o2,t3.upgrade=o2,t3.upgradeAll=o2,t3.upgradeDocumentTree=o2,t3.upgradeSubtree=o2,t3.takeRecords=o2,t3.instanceof=function(t4,e4){return t4 instanceof e4}}else i();var r2=t3.upgradeDocumentTree,s2=t3.upgradeDocument;if(window.wrap||(window.ShadowDOMPolyfill?(window.wrap=window.ShadowDOMPolyfill.wrapIfNeeded,window.unwrap=window.ShadowDOMPolyfill.unwrapIfNeeded):window.wrap=window.unwrap=function(t4){return t4}),window.HTMLImports&&(window.HTMLImports.__importsParsingHook=function(t4){t4.import&&s2(wrap(t4.import))}),"complete"===document.readyState||t3.flags.eager)e3();else if("interactive"!==document.readyState||window.attachEvent||window.HTMLImports&&!window.HTMLImports.ready){var a2=window.HTMLImports&&!window.HTMLImports.ready?"HTMLImportsLoaded":"DOMContentLoaded";window.addEventListener(a2,e3)}else e3()}(window.CustomElements))}.call(commonjsGlobal),function(){}.call(commonjsGlobal),function(){var t2=this;(function(){(function(){this.Trix={VERSION:"1.3.2",ZERO_WIDTH_SPACE:"\ufeff",NON_BREAKING_SPACE:" ",OBJECT_REPLACEMENT_CHARACTER:"",browser:{composesExistingText:/Android.*Chrome/.test(navigator.userAgent),forcesObjectResizing:/Trident.*rv:11/.test(navigator.userAgent),supportsInputEvents:function(){var t3,e3,n2,i;if("undefined"==typeof InputEvent)return false;for(i=["data","getTargetRanges","inputType"],t3=0,e3=i.length;e3>t3;t3++)if(n2=i[t3],!(n2 in InputEvent.prototype))return false;return true}()},config:{}}}).call(this)}).call(t2);var e2=t2.Trix;(function(){(function(){e2.BasicObject=function(){function t3(){}var e3,n2,i;return t3.proxyMethod=function(t4){var i2,o2,r2,s2,a2;return r2=n2(t4),i2=r2.name,s2=r2.toMethod,a2=r2.toProperty,o2=r2.optional,this.prototype[i2]=function(){var t5,n3;return t5=null!=s2?o2?"function"==typeof this[s2]?this[s2]():void 0:this[s2]():null!=a2?this[a2]:void 0,o2?(n3=null!=t5?t5[i2]:void 0,null!=n3?e3.call(n3,t5,arguments):void 0):(n3=t5[i2],e3.call(n3,t5,arguments))}},n2=function(t4){var e4,n3;if(!(n3=t4.match(i)))throw new Error("can't parse @proxyMethod expression: "+t4);return e4={name:n3[4]},null!=n3[2]?e4.toMethod=n3[1]:e4.toProperty=n3[1],null!=n3[3]&&(e4.optional=true),e4},e3=Function.prototype.apply,i=/^(.+?)(\(\))?(\?)?\.(.+?)$/,t3}()}).call(this),function(){var t3=function(t4,e3){function i(){this.constructor=t4}for(var o2 in e3)n2.call(e3,o2)&&(t4[o2]=e3[o2]);return i.prototype=e3.prototype,t4.prototype=new i,t4.__super__=e3.prototype,t4},n2={}.hasOwnProperty;e2.Object=function(n3){function i(){this.id=++o2}var o2;return t3(i,n3),o2=0,i.fromJSONString=function(t4){return this.fromJSON(JSON.parse(t4))},i.prototype.hasSameConstructorAs=function(t4){return this.constructor===(null!=t4?t4.constructor:void 0)},i.prototype.isEqualTo=function(t4){return this===t4},i.prototype.inspect=function(){var t4,e3,n4;return t4=function(){var t5,i2,o3;i2=null!=(t5=this.contentsForInspection())?t5:{},o3=[];for(e3 in i2)n4=i2[e3],o3.push(e3+"="+n4);return o3}.call(this),"#<"+this.constructor.name+":"+this.id+(t4.length?" "+t4.join(", "):"")+">"},i.prototype.contentsForInspection=function(){},i.prototype.toJSONString=function(){return JSON.stringify(this)},i.prototype.toUTF16String=function(){return e2.UTF16String.box(this)},i.prototype.getCacheKey=function(){return this.id.toString()},i}(e2.BasicObject)}.call(this),function(){e2.extend=function(t3){var e3,n2;for(e3 in t3)n2=t3[e3],this[e3]=n2;return this}}.call(this),function(){e2.extend({defer:function(t3){return setTimeout(t3,1)}})}.call(this),function(){var t3,n2;e2.extend({normalizeSpaces:function(t4){return t4.replace(RegExp(""+e2.ZERO_WIDTH_SPACE,"g"),"").replace(RegExp(""+e2.NON_BREAKING_SPACE,"g")," ")},normalizeNewlines:function(t4){return t4.replace(/\r\n/g,"\n")},breakableWhitespacePattern:RegExp("[^\\S"+e2.NON_BREAKING_SPACE+"]"),squishBreakableWhitespace:function(t4){return t4.replace(RegExp(""+e2.breakableWhitespacePattern.source,"g")," ").replace(/\ {2,}/g," ")},summarizeStringChange:function(t4,i){var o2,r2,s2,a2;return t4=e2.UTF16String.box(t4),i=e2.UTF16String.box(i),i.length<t4.length?(r2=n2(t4,i),a2=r2[0],o2=r2[1]):(s2=n2(i,t4),o2=s2[0],a2=s2[1]),{added:o2,removed:a2}}}),n2=function(n3,i){var o2,r2,s2,a2,u2;return n3.isEqualTo(i)?["",""]:(r2=t3(n3,i),a2=r2.utf16String.length,s2=a2?(u2=r2.offset,o2=n3.codepoints.slice(0,u2).concat(n3.codepoints.slice(u2+a2)),t3(i,e2.UTF16String.fromCodepoints(o2))):t3(i,n3),[r2.utf16String.toString(),s2.utf16String.toString()])},t3=function(t4,e3){var n3,i,o2;for(n3=0,i=t4.length,o2=e3.length;i>n3&&t4.charAt(n3).isEqualTo(e3.charAt(n3));)n3++;for(;i>n3+1&&t4.charAt(i-1).isEqualTo(e3.charAt(o2-1));)i--,o2--;return{utf16String:t4.slice(n3,i),offset:n3}}}.call(this),function(){e2.extend({copyObject:function(t3){var e3,n2,i;null==t3&&(t3={}),n2={};for(e3 in t3)i=t3[e3],n2[e3]=i;return n2},objectsAreEqual:function(t3,e3){var n2,i;if(null==t3&&(t3={}),null==e3&&(e3={}),Object.keys(t3).length!==Object.keys(e3).length)return false;for(n2 in t3)if(i=t3[n2],i!==e3[n2])return false;return true}})}.call(this),function(){var t3=[].slice;e2.extend({arraysAreEqual:function(t4,e3){var n2,i,o2,r2;if(null==t4&&(t4=[]),null==e3&&(e3=[]),t4.length!==e3.length)return false;for(i=n2=0,o2=t4.length;o2>n2;i=++n2)if(r2=t4[i],r2!==e3[i])return false;return true},arrayStartsWith:function(t4,n2){return null==t4&&(t4=[]),null==n2&&(n2=[]),e2.arraysAreEqual(t4.slice(0,n2.length),n2)},spliceArray:function(){var e3,n2,i;return n2=arguments[0],e3=2<=arguments.length?t3.call(arguments,1):[],i=n2.slice(0),i.splice.apply(i,e3),i},summarizeArrayChange:function(t4,e3){var n2,i,o2,r2,s2,a2,u2,c2,l2,h2,p2;for(null==t4&&(t4=[]),null==e3&&(e3=[]),n2=[],h2=[],o2=new Set,r2=0,u2=t4.length;u2>r2;r2++)p2=t4[r2],o2.add(p2);for(i=new Set,s2=0,c2=e3.length;c2>s2;s2++)p2=e3[s2],i.add(p2),o2.has(p2)||n2.push(p2);for(a2=0,l2=t4.length;l2>a2;a2++)p2=t4[a2],i.has(p2)||h2.push(p2);return{added:n2,removed:h2}}})}.call(this),function(){var t3,n2,i,o2;t3=null,n2=null,o2=null,i=null,e2.extend({getAllAttributeNames:function(){return null!=t3?t3:t3=e2.getTextAttributeNames().concat(e2.getBlockAttributeNames())},getBlockConfig:function(t4){return e2.config.blockAttributes[t4]},getBlockAttributeNames:function(){return null!=n2?n2:n2=Object.keys(e2.config.blockAttributes)},getTextConfig:function(t4){return e2.config.textAttributes[t4]},getTextAttributeNames:function(){return null!=o2?o2:o2=Object.keys(e2.config.textAttributes)},getListAttributeNames:function(){var t4,n3;return null!=i?i:i=function(){var i2,o3;i2=e2.config.blockAttributes,o3=[];for(t4 in i2)n3=i2[t4].listAttribute,null!=n3&&o3.push(n3);return o3}()}})}.call(this),function(){var t3,n2,i,o2,r2,s2=[].indexOf||function(t4){for(var e3=0,n3=this.length;n3>e3;e3++)if(e3 in this&&this[e3]===t4)return e3;return-1};t3=document.documentElement,n2=null!=(i=null!=(o2=null!=(r2=t3.matchesSelector)?r2:t3.webkitMatchesSelector)?o2:t3.msMatchesSelector)?i:t3.mozMatchesSelector,e2.extend({handleEvent:function(n3,i2){var r3,s3,a2,u2,c2,l2,h2,p2,d2,f2,g2;return h2=null!=i2?i2:{},c2=h2.onElement,u2=h2.matchingSelector,g2=h2.withCallback,a2=h2.inPhase,l2=h2.preventDefault,d2=h2.times,r3=null!=c2?c2:t3,p2=u2,f2="capturing"===a2,s3=function(t4){var n4;return null!=d2&&0===--d2&&s3.destroy(),n4=e2.findClosestElementFromNode(t4.target,{matchingSelector:p2}),null!=n4&&(null!=g2&&g2.call(n4,t4,n4),l2)?t4.preventDefault():void 0},s3.destroy=function(){return r3.removeEventListener(n3,s3,f2)},r3.addEventListener(n3,s3,f2),s3},handleEventOnce:function(t4,n3){return null==n3&&(n3={}),n3.times=1,e2.handleEvent(t4,n3)},triggerEvent:function(n3,i2){var o3,r3,s3,a2,u2,c2,l2;return l2=null!=i2?i2:{},c2=l2.onElement,r3=l2.bubbles,s3=l2.cancelable,o3=l2.attributes,a2=null!=c2?c2:t3,r3=r3!==false,s3=s3!==false,u2=document.createEvent("Events"),u2.initEvent(n3,r3,s3),null!=o3&&e2.extend.call(u2,o3),a2.dispatchEvent(u2)},elementMatchesSelector:function(t4,e3){return 1===(null!=t4?t4.nodeType:void 0)?n2.call(t4,e3):void 0},findClosestElementFromNode:function(t4,n3){var i2,o3,r3;for(o3=null!=n3?n3:{},i2=o3.matchingSelector,r3=o3.untilNode;null!=t4&&t4.nodeType!==Node.ELEMENT_NODE;)t4=t4.parentNode;if(null!=t4){if(null==i2)return t4;if(t4.closest&&null==r3)return t4.closest(i2);for(;t4&&t4!==r3;){if(e2.elementMatchesSelector(t4,i2))return t4;t4=t4.parentNode}}},findInnerElement:function(t4){for(;null!=t4?t4.firstElementChild:void 0;)t4=t4.firstElementChild;return t4},innerElementIsActive:function(t4){return document.activeElement!==t4&&e2.elementContainsNode(t4,document.activeElement)},elementContainsNode:function(t4,e3){if(t4&&e3)for(;e3;){if(e3===t4)return true;e3=e3.parentNode}},findNodeFromContainerAndOffset:function(t4,e3){var n3;if(t4)return t4.nodeType===Node.TEXT_NODE?t4:0===e3?null!=(n3=t4.firstChild)?n3:t4:t4.childNodes.item(e3-1)},findElementFromContainerAndOffset:function(t4,n3){var i2;return i2=e2.findNodeFromContainerAndOffset(t4,n3),e2.findClosestElementFromNode(i2)},findChildIndexOfNode:function(t4){var e3;if(null!=t4?t4.parentNode:void 0){for(e3=0;t4=t4.previousSibling;)e3++;return e3}},removeNode:function(t4){var e3;return null!=t4&&null!=(e3=t4.parentNode)?e3.removeChild(t4):void 0},walkTree:function(t4,e3){var n3,i2,o3,r3,s3;return o3=null!=e3?e3:{},i2=o3.onlyNodesOfType,r3=o3.usingFilter,n3=o3.expandEntityReferences,s3=function(){switch(i2){case"element":return NodeFilter.SHOW_ELEMENT;case"text":return NodeFilter.SHOW_TEXT;case"comment":return NodeFilter.SHOW_COMMENT;default:return NodeFilter.SHOW_ALL}}(),document.createTreeWalker(t4,s3,null!=r3?r3:null,n3===true)},tagName:function(t4){var e3;return null!=t4&&null!=(e3=t4.tagName)?e3.toLowerCase():void 0},makeElement:function(t4,e3){var n3,i2,o3,r3,s3,a2,u2,c2,l2,h2,p2,d2,f2,g2;if(null==e3&&(e3={}),"object"==typeof t4?(e3=t4,t4=e3.tagName):e3={attributes:e3},o3=document.createElement(t4),null!=e3.editable&&(null==e3.attributes&&(e3.attributes={}),e3.attributes.contenteditable=e3.editable),e3.attributes){l2=e3.attributes;for(a2 in l2)g2=l2[a2],o3.setAttribute(a2,g2)}if(e3.style){h2=e3.style;for(a2 in h2)g2=h2[a2],o3.style[a2]=g2}if(e3.data){p2=e3.data;for(a2 in p2)g2=p2[a2],o3.dataset[a2]=g2}if(e3.className)for(d2=e3.className.split(" "),r3=0,u2=d2.length;u2>r3;r3++)i2=d2[r3],o3.classList.add(i2);if(e3.textContent&&(o3.textContent=e3.textContent),e3.childNodes)for(f2=[].concat(e3.childNodes),s3=0,c2=f2.length;c2>s3;s3++)n3=f2[s3],o3.appendChild(n3);return o3},getBlockTagNames:function(){var t4,n3;return null!=e2.blockTagNames?e2.blockTagNames:e2.blockTagNames=function(){var i2,o3;i2=e2.config.blockAttributes,o3=[];for(t4 in i2)n3=i2[t4].tagName,n3&&o3.push(n3);return o3}()},nodeIsBlockContainer:function(t4){return e2.nodeIsBlockStartComment(null!=t4?t4.firstChild:void 0)},nodeProbablyIsBlockContainer:function(t4){var n3,i2;return n3=e2.tagName(t4),s2.call(e2.getBlockTagNames(),n3)>=0&&(i2=e2.tagName(t4.firstChild),s2.call(e2.getBlockTagNames(),i2)<0)},nodeIsBlockStart:function(t4,n3){var i2;return i2=(null!=n3?n3:{strict:true}).strict,i2?e2.nodeIsBlockStartComment(t4):e2.nodeIsBlockStartComment(t4)||!e2.nodeIsBlockStartComment(t4.firstChild)&&e2.nodeProbablyIsBlockContainer(t4)},nodeIsBlockStartComment:function(t4){return e2.nodeIsCommentNode(t4)&&"block"===(null!=t4?t4.data:void 0)},nodeIsCommentNode:function(t4){return(null!=t4?t4.nodeType:void 0)===Node.COMMENT_NODE},nodeIsCursorTarget:function(t4,n3){var i2;return i2=(null!=n3?n3:{}).name,t4?e2.nodeIsTextNode(t4)?t4.data===e2.ZERO_WIDTH_SPACE?i2?t4.parentNode.dataset.trixCursorTarget===i2:true:void 0:e2.nodeIsCursorTarget(t4.firstChild):void 0},nodeIsAttachmentElement:function(t4){return e2.elementMatchesSelector(t4,e2.AttachmentView.attachmentSelector)},nodeIsEmptyTextNode:function(t4){return e2.nodeIsTextNode(t4)&&""===(null!=t4?t4.data:void 0)},nodeIsTextNode:function(t4){return(null!=t4?t4.nodeType:void 0)===Node.TEXT_NODE}})}.call(this),function(){var t3,n2,i,o2,r2;t3=e2.copyObject,o2=e2.objectsAreEqual,e2.extend({normalizeRange:i=function(t4){var e3;if(null!=t4)return Array.isArray(t4)||(t4=[t4,t4]),[n2(t4[0]),n2(null!=(e3=t4[1])?e3:t4[0])]},rangeIsCollapsed:function(t4){var e3,n3,o3;if(null!=t4)return n3=i(t4),o3=n3[0],e3=n3[1],r2(o3,e3)},rangesAreEqual:function(t4,e3){var n3,o3,s2,a2,u2,c2;if(null!=t4&&null!=e3)return s2=i(t4),o3=s2[0],n3=s2[1],a2=i(e3),c2=a2[0],u2=a2[1],r2(o3,c2)&&r2(n3,u2)}}),n2=function(e3){return"number"==typeof e3?e3:t3(e3)},r2=function(t4,e3){return"number"==typeof t4?t4===e3:o2(t4,e3)}}.call(this),function(){var t3,n2,i,o2,r2,s2,a2;e2.registerElement=function(t4,e3){var n3,i2;return null==e3&&(e3={}),t4=t4.toLowerCase(),e3=a2(e3),i2=s2(e3),(n3=i2.defaultCSS)&&(delete i2.defaultCSS,o2(n3,t4)),r2(t4,i2)},o2=function(t4,e3){var n3;return n3=i(e3),n3.textContent=t4.replace(/%t/g,e3)},i=function(e3){var n3,i2;return n3=document.createElement("style"),n3.setAttribute("type","text/css"),n3.setAttribute("data-tag-name",e3.toLowerCase()),(i2=t3())&&n3.setAttribute("nonce",i2),document.head.insertBefore(n3,document.head.firstChild),n3},t3=function(){var t4;return(t4=n2("trix-csp-nonce")||n2("csp-nonce"))?t4.getAttribute("content"):void 0},n2=function(t4){return document.head.querySelector("meta[name="+t4+"]")},s2=function(t4){var e3,n3,i2;n3={};for(e3 in t4)i2=t4[e3],n3[e3]="function"==typeof i2?{value:i2}:i2;return n3},a2=function(){var t4;return t4=function(t5){var e3,n3,i2,o3,r3;for(e3={},r3=["initialize","connect","disconnect"],n3=0,o3=r3.length;o3>n3;n3++)i2=r3[n3],e3[i2]=t5[i2],delete t5[i2];return e3},window.customElements?function(e3){var n3,i2,o3,r3,s3;return s3=t4(e3),o3=s3.initialize,n3=s3.connect,i2=s3.disconnect,o3&&(r3=n3,n3=function(){return this.initialized||(this.initialized=true,o3.call(this)),null!=r3?r3.call(this):void 0}),n3&&(e3.connectedCallback=n3),i2&&(e3.disconnectedCallback=i2),e3}:function(e3){var n3,i2,o3,r3;return r3=t4(e3),o3=r3.initialize,n3=r3.connect,i2=r3.disconnect,o3&&(e3.createdCallback=o3),n3&&(e3.attachedCallback=n3),i2&&(e3.detachedCallback=i2),e3}}(),r2=function(){return window.customElements?function(t4,e3){var n3;return n3=function(){return"object"==typeof Reflect?Reflect.construct(HTMLElement,[],n3):HTMLElement.apply(this)},Object.setPrototypeOf(n3.prototype,HTMLElement.prototype),Object.setPrototypeOf(n3,HTMLElement),Object.defineProperties(n3.prototype,e3),window.customElements.define(t4,n3),n3}:function(t4,e3){var n3,i2;return i2=Object.create(HTMLElement.prototype,e3),n3=document.registerElement(t4,{prototype:i2}),Object.defineProperty(i2,"constructor",{value:n3}),n3}}()}.call(this),function(){var t3,n2;e2.extend({getDOMSelection:function(){var t4;return t4=window.getSelection(),t4.rangeCount>0?t4:void 0},getDOMRange:function(){var n3,i;return(n3=null!=(i=e2.getDOMSelection())?i.getRangeAt(0):void 0)&&!t3(n3)?n3:void 0},setDOMRange:function(t4){var n3;return n3=window.getSelection(),n3.removeAllRanges(),n3.addRange(t4),e2.selectionChangeObserver.update()}}),t3=function(t4){return n2(t4.startContainer)||n2(t4.endContainer)},n2=function(t4){return!Object.getPrototypeOf(t4)}}.call(this),function(){var t3;t3={"application/x-trix-feature-detection":"test"},e2.extend({dataTransferIsPlainText:function(t4){var e3,n2,i;return i=t4.getData("text/plain"),n2=t4.getData("text/html"),i&&n2?(e3=(new DOMParser).parseFromString(n2,"text/html").body,e3.textContent===i?!e3.querySelector("*"):void 0):null!=i?i.length:void 0},dataTransferIsWritable:function(e3){var n2,i;if(null!=(null!=e3?e3.setData:void 0)){for(n2 in t3)if(i=t3[n2],!function(){try{return e3.setData(n2,i),e3.getData(n2)===i}catch(t4){}}())return;return true}},keyEventIsKeyboardCommand:function(){return/Mac|^iP/.test(navigator.platform)?function(t4){return t4.metaKey}:function(t4){return t4.ctrlKey}}()})}.call(this),function(){e2.extend({RTL_PATTERN:/[\u05BE\u05C0\u05C3\u05D0-\u05EA\u05F0-\u05F4\u061B\u061F\u0621-\u063A\u0640-\u064A\u066D\u0671-\u06B7\u06BA-\u06BE\u06C0-\u06CE\u06D0-\u06D5\u06E5\u06E6\u200F\u202B\u202E\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE72\uFE74\uFE76-\uFEFC]/,getDirection:function(){var t3,n2,i,o2;return n2=e2.makeElement("input",{dir:"auto",name:"x",dirName:"x.dir"}),t3=e2.makeElement("form"),t3.appendChild(n2),i=function(){try{return new FormData(t3).has(n2.dirName)}catch(e3){}}(),o2=function(){try{return n2.matches(":dir(ltr),:dir(rtl)")}catch(t4){}}(),i?function(e3){return n2.value=e3,new FormData(t3).get(n2.dirName)}:o2?function(t4){return n2.value=t4,n2.matches(":dir(rtl)")?"rtl":"ltr"}:function(t4){var n3;return n3=t4.trim().charAt(0),e2.RTL_PATTERN.test(n3)?"rtl":"ltr"}}()})}.call(this),function(){}.call(this),function(){var t3,n2=function(t4,e3){function n3(){this.constructor=t4}for(var o2 in e3)i.call(e3,o2)&&(t4[o2]=e3[o2]);return n3.prototype=e3.prototype,t4.prototype=new n3,t4.__super__=e3.prototype,t4},i={}.hasOwnProperty;t3=e2.arraysAreEqual,e2.Hash=function(i2){function o2(t4){null==t4&&(t4={}),this.values=s2(t4),o2.__super__.constructor.apply(this,arguments)}var r2,s2,a2,u2,c2;return n2(o2,i2),o2.fromCommonAttributesOfObjects=function(t4){var e3,n3,i3,o3,s3,a3;if(null==t4&&(t4=[]),!t4.length)return new this;for(e3=r2(t4[0]),i3=e3.getKeys(),a3=t4.slice(1),n3=0,o3=a3.length;o3>n3;n3++)s3=a3[n3],i3=e3.getKeysCommonToHash(r2(s3)),e3=e3.slice(i3);return e3},o2.box=function(t4){return r2(t4)},o2.prototype.add=function(t4,e3){return this.merge(u2(t4,e3))},o2.prototype.remove=function(t4){return new e2.Hash(s2(this.values,t4))},o2.prototype.get=function(t4){return this.values[t4]},o2.prototype.has=function(t4){return t4 in this.values},o2.prototype.merge=function(t4){return new e2.Hash(a2(this.values,c2(t4)))},o2.prototype.slice=function(t4){var n3,i3,o3,r3;for(r3={},n3=0,o3=t4.length;o3>n3;n3++)i3=t4[n3],this.has(i3)&&(r3[i3]=this.values[i3]);return new e2.Hash(r3)},o2.prototype.getKeys=function(){return Object.keys(this.values)},o2.prototype.getKeysCommonToHash=function(t4){var e3,n3,i3,o3,s3;for(t4=r2(t4),o3=this.getKeys(),s3=[],e3=0,i3=o3.length;i3>e3;e3++)n3=o3[e3],this.values[n3]===t4.values[n3]&&s3.push(n3);return s3},o2.prototype.isEqualTo=function(e3){return t3(this.toArray(),r2(e3).toArray())},o2.prototype.isEmpty=function(){return 0===this.getKeys().length},o2.prototype.toArray=function(){var t4,e3,n3;return(null!=this.array?this.array:this.array=function(){var i3;e3=[],i3=this.values;for(t4 in i3)n3=i3[t4],e3.push(t4,n3);return e3}.call(this)).slice(0)},o2.prototype.toObject=function(){return s2(this.values)},o2.prototype.toJSON=function(){return this.toObject()},o2.prototype.contentsForInspection=function(){return{values:JSON.stringify(this.values)}},u2=function(t4,e3){var n3;return n3={},n3[t4]=e3,n3},a2=function(t4,e3){var n3,i3,o3;i3=s2(t4);for(n3 in e3)o3=e3[n3],i3[n3]=o3;return i3},s2=function(t4,e3){var n3,i3,o3,r3,s3;for(r3={},s3=Object.keys(t4).sort(),n3=0,o3=s3.length;o3>n3;n3++)i3=s3[n3],i3!==e3&&(r3[i3]=t4[i3]);return r3},r2=function(t4){return t4 instanceof e2.Hash?t4:new e2.Hash(t4)},c2=function(t4){return t4 instanceof e2.Hash?t4.values:t4},o2}(e2.Object)}.call(this),function(){e2.ObjectGroup=function(){function t3(t4,e3){var n2,i;this.objects=null!=t4?t4:[],i=e3.depth,n2=e3.asTree,n2&&(this.depth=i,this.objects=this.constructor.groupObjects(this.objects,{asTree:n2,depth:this.depth+1}))}return t3.groupObjects=function(t4,e3){var n2,i,o2,r2,s2,a2,u2,c2,l2;for(null==t4&&(t4=[]),l2=null!=e3?e3:{},o2=l2.depth,n2=l2.asTree,n2&&null==o2&&(o2=0),c2=[],s2=0,a2=t4.length;a2>s2;s2++){if(u2=t4[s2],r2){if(("function"==typeof u2.canBeGrouped?u2.canBeGrouped(o2):void 0)&&("function"==typeof(i=r2[r2.length-1]).canBeGroupedWith?i.canBeGroupedWith(u2,o2):void 0)){r2.push(u2);continue}c2.push(new this(r2,{depth:o2,asTree:n2})),r2=null}("function"==typeof u2.canBeGrouped?u2.canBeGrouped(o2):void 0)?r2=[u2]:c2.push(u2)}return r2&&c2.push(new this(r2,{depth:o2,asTree:n2})),c2},t3.prototype.getObjects=function(){return this.objects},t3.prototype.getDepth=function(){return this.depth},t3.prototype.getCacheKey=function(){var t4,e3,n2,i,o2;for(e3=["objectGroup"],o2=this.getObjects(),t4=0,n2=o2.length;n2>t4;t4++)i=o2[t4],e3.push(i.getCacheKey());return e3.join("/")},t3}()}.call(this),function(){var t3=function(t4,e3){function i(){this.constructor=t4}for(var o2 in e3)n2.call(e3,o2)&&(t4[o2]=e3[o2]);return i.prototype=e3.prototype,t4.prototype=new i,t4.__super__=e3.prototype,t4},n2={}.hasOwnProperty;e2.ObjectMap=function(e3){function n3(t4){var e4,n4,i,o2,r2;for(null==t4&&(t4=[]),this.objects={},i=0,o2=t4.length;o2>i;i++)r2=t4[i],n4=JSON.stringify(r2),null==(e4=this.objects)[n4]&&(e4[n4]=r2)}return t3(n3,e3),n3.prototype.find=function(t4){var e4;return e4=JSON.stringify(t4),this.objects[e4]},n3}(e2.BasicObject)}.call(this),function(){e2.ElementStore=function(){function t3(t4){this.reset(t4)}var e3;return t3.prototype.add=function(t4){var n2;return n2=e3(t4),this.elements[n2]=t4},t3.prototype.remove=function(t4){var n2,i;return n2=e3(t4),(i=this.elements[n2])?(delete this.elements[n2],i):void 0},t3.prototype.reset=function(t4){var e4,n2,i;for(null==t4&&(t4=[]),this.elements={},n2=0,i=t4.length;i>n2;n2++)e4=t4[n2],this.add(e4);return t4},e3=function(t4){return t4.dataset.trixStoreKey},t3}()}.call(this),function(){}.call(this),function(){var t3=function(t4,e3){function i(){this.constructor=t4}for(var o2 in e3)n2.call(e3,o2)&&(t4[o2]=e3[o2]);return i.prototype=e3.prototype,t4.prototype=new i,t4.__super__=e3.prototype,t4},n2={}.hasOwnProperty;e2.Operation=function(e3){function n3(){return n3.__super__.constructor.apply(this,arguments)}return t3(n3,e3),n3.prototype.isPerforming=function(){return this.performing===true},n3.prototype.hasPerformed=function(){return this.performed===true},n3.prototype.hasSucceeded=function(){return this.performed&&this.succeeded},n3.prototype.hasFailed=function(){return this.performed&&!this.succeeded},n3.prototype.getPromise=function(){return null!=this.promise?this.promise:this.promise=new Promise(function(t4){return function(e4,n4){return t4.performing=true,t4.perform((function(i,o2){return t4.succeeded=i,t4.performing=false,t4.performed=true,t4.succeeded?e4(o2):n4(o2)}))}}(this))},n3.prototype.perform=function(t4){return t4(false)},n3.prototype.release=function(){var t4;return null!=(t4=this.promise)&&"function"==typeof t4.cancel&&t4.cancel(),this.promise=null,this.performing=null,this.performed=null,this.succeeded=null},n3.proxyMethod("getPromise().then"),n3.proxyMethod("getPromise().catch"),n3}(e2.BasicObject)}.call(this),function(){var t3,n2,i,o2,r2,s2=function(t4,e3){function n3(){this.constructor=t4}for(var i2 in e3)a2.call(e3,i2)&&(t4[i2]=e3[i2]);return n3.prototype=e3.prototype,t4.prototype=new n3,t4.__super__=e3.prototype,t4},a2={}.hasOwnProperty;e2.UTF16String=function(t4){function e3(t5,e4){this.ucs2String=t5,this.codepoints=e4,this.length=this.codepoints.length,this.ucs2Length=this.ucs2String.length}return s2(e3,t4),e3.box=function(t5){return null==t5&&(t5=""),t5 instanceof this?t5:this.fromUCS2String(null!=t5?t5.toString():void 0)},e3.fromUCS2String=function(t5){return new this(t5,o2(t5))},e3.fromCodepoints=function(t5){return new this(r2(t5),t5)},e3.prototype.offsetToUCS2Offset=function(t5){return r2(this.codepoints.slice(0,Math.max(0,t5))).length},e3.prototype.offsetFromUCS2Offset=function(t5){return o2(this.ucs2String.slice(0,Math.max(0,t5))).length},e3.prototype.slice=function(){var t5;return this.constructor.fromCodepoints((t5=this.codepoints).slice.apply(t5,arguments))},e3.prototype.charAt=function(t5){return this.slice(t5,t5+1)},e3.prototype.isEqualTo=function(t5){return this.constructor.box(t5).ucs2String===this.ucs2String},e3.prototype.toJSON=function(){return this.ucs2String},e3.prototype.getCacheKey=function(){return this.ucs2String},e3.prototype.toString=function(){return this.ucs2String},e3}(e2.BasicObject),t3=1===("function"==typeof Array.from?Array.from("👼").length:void 0),n2=null!=("function"==typeof" ".codePointAt?" ".codePointAt(0):void 0),i=" 👼"===("function"==typeof String.fromCodePoint?String.fromCodePoint(32,128124):void 0),o2=t3&&n2?function(t4){return Array.from(t4).map((function(t5){return t5.codePointAt(0)}))}:function(t4){var e3,n3,i2,o3,r3;for(o3=[],e3=0,i2=t4.length;i2>e3;)r3=t4.charCodeAt(e3++),r3>=55296&&56319>=r3&&i2>e3&&(n3=t4.charCodeAt(e3++),56320===(64512&n3)?r3=((1023&r3)<<10)+(1023&n3)+65536:e3--),o3.push(r3);return o3},r2=i?function(t4){return String.fromCodePoint.apply(String,t4)}:function(t4){var e3,n3,i2;return e3=function(){var e4,o3,r3;for(r3=[],e4=0,o3=t4.length;o3>e4;e4++)i2=t4[e4],n3="",i2>65535&&(i2-=65536,n3+=String.fromCharCode(i2>>>10&1023|55296),i2=56320|1023&i2),r3.push(n3+String.fromCharCode(i2));return r3}(),e3.join("")}}.call(this),function(){}.call(this),function(){}.call(this),function(){e2.config.lang={attachFiles:"Attach Files",bold:"Bold",bullets:"Bullets",byte:"Byte",bytes:"Bytes",captionPlaceholder:"Add a caption…",code:"Code",heading1:"Heading",indent:"Increase Level",italic:"Italic",link:"Link",numbers:"Numbers",outdent:"Decrease Level",quote:"Quote",redo:"Redo",remove:"Remove",strike:"Strikethrough",undo:"Undo",unlink:"Unlink",url:"URL",urlPlaceholder:"Enter a URL…",GB:"GB",KB:"KB",MB:"MB",PB:"PB",TB:"TB"}}.call(this),function(){e2.config.css={attachment:"attachment",attachmentCaption:"attachment__caption",attachmentCaptionEditor:"attachment__caption-editor",attachmentMetadata:"attachment__metadata",attachmentMetadataContainer:"attachment__metadata-container",attachmentName:"attachment__name",attachmentProgress:"attachment__progress",attachmentSize:"attachment__size",attachmentToolbar:"attachment__toolbar",attachmentGallery:"attachment-gallery"}}.call(this),function(){var t3;e2.config.blockAttributes=t3={default:{tagName:"div",parse:false},quote:{tagName:"blockquote",nestable:true},heading1:{tagName:"h1",terminal:true,breakOnReturn:true,group:false},code:{tagName:"pre",terminal:true,text:{plaintext:true}},bulletList:{tagName:"ul",parse:false},bullet:{tagName:"li",listAttribute:"bulletList",group:false,nestable:true,test:function(n2){return e2.tagName(n2.parentNode)===t3[this.listAttribute].tagName}},numberList:{tagName:"ol",parse:false},number:{tagName:"li",listAttribute:"numberList",group:false,nestable:true,test:function(n2){return e2.tagName(n2.parentNode)===t3[this.listAttribute].tagName}},attachmentGallery:{tagName:"div",exclusive:true,terminal:true,parse:false,group:false}}}.call(this),function(){var t3,n2;t3=e2.config.lang,n2=[t3.bytes,t3.KB,t3.MB,t3.GB,t3.TB,t3.PB],e2.config.fileSize={prefix:"IEC",precision:2,formatter:function(e3){var i,o2,r2,s2,a2;switch(e3){case 0:return"0 "+t3.bytes;case 1:return"1 "+t3.byte;default:return i=function(){switch(this.prefix){case"SI":return 1e3;case"IEC":return 1024}}.call(this),o2=Math.floor(Math.log(e3)/Math.log(i)),r2=e3/Math.pow(i,o2),s2=r2.toFixed(this.precision),a2=s2.replace(/0*$/,"").replace(/\.$/,""),a2+" "+n2[o2]}}}}.call(this),function(){e2.config.textAttributes={bold:{tagName:"strong",inheritable:true,parser:function(t3){var e3;return e3=window.getComputedStyle(t3),"bold"===e3.fontWeight||e3.fontWeight>=600}},italic:{tagName:"em",inheritable:true,parser:function(t3){var e3;return e3=window.getComputedStyle(t3),"italic"===e3.fontStyle}},href:{groupTagName:"a",parser:function(t3){var n2,i,o2;return n2=e2.AttachmentView.attachmentSelector,o2="a:not("+n2+")",(i=e2.findClosestElementFromNode(t3,{matchingSelector:o2}))?i.getAttribute("href"):void 0}},strike:{tagName:"del",inheritable:true},frozen:{style:{backgroundColor:"highlight"}}}}.call(this),function(){var t3,n2,i,o2,r2;r2="[data-trix-serialize=false]",o2=["contenteditable","data-trix-id","data-trix-store-key","data-trix-mutable","data-trix-placeholder","tabindex"],n2="data-trix-serialized-attributes",i="["+n2+"]",t3=new RegExp("\x3c!--block--\x3e","g"),e2.extend({serializers:{"application/json":function(t4){var n3;if(t4 instanceof e2.Document)n3=t4;else{if(!(t4 instanceof HTMLElement))throw new Error("unserializable object");n3=e2.Document.fromHTML(t4.innerHTML)}return n3.toSerializableDocument().toJSONString()},"text/html":function(s2){var a2,u2,c2,l2,h2,p2,d2,f2,g2,m2,v2,y2,b2,A2,C2,x2,w2;if(s2 instanceof e2.Document)l2=e2.DocumentView.render(s2);else{if(!(s2 instanceof HTMLElement))throw new Error("unserializable object");l2=s2.cloneNode(true)}for(A2=l2.querySelectorAll(r2),h2=0,g2=A2.length;g2>h2;h2++)c2=A2[h2],e2.removeNode(c2);for(p2=0,m2=o2.length;m2>p2;p2++)for(a2=o2[p2],C2=l2.querySelectorAll("["+a2+"]"),d2=0,v2=C2.length;v2>d2;d2++)c2=C2[d2],c2.removeAttribute(a2);for(x2=l2.querySelectorAll(i),f2=0,y2=x2.length;y2>f2;f2++){c2=x2[f2];try{u2=JSON.parse(c2.getAttribute(n2)),c2.removeAttribute(n2);for(b2 in u2)w2=u2[b2],c2.setAttribute(b2,w2)}catch(E2){}}return l2.innerHTML.replace(t3,"")}},deserializers:{"application/json":function(t4){return e2.Document.fromJSONString(t4)},"text/html":function(t4){return e2.Document.fromHTML(t4)}},serializeToContentType:function(t4,n3){var i2;if(i2=e2.serializers[n3])return i2(t4);throw new Error("unknown content type: "+n3)},deserializeFromContentType:function(t4,n3){var i2;if(i2=e2.deserializers[n3])return i2(t4);throw new Error("unknown content type: "+n3)}})}.call(this),function(){var t3;t3=e2.config.lang,e2.config.toolbar={getDefaultHTML:function(){return'<div class="trix-button-row">\n <span class="trix-button-group trix-button-group--text-tools" data-trix-button-group="text-tools">\n <button type="button" class="trix-button trix-button--icon trix-button--icon-bold" data-trix-attribute="bold" data-trix-key="b" title="'+t3.bold+'" tabindex="-1">'+t3.bold+'</button>\n <button type="button" class="trix-button trix-button--icon trix-button--icon-italic" data-trix-attribute="italic" data-trix-key="i" title="'+t3.italic+'" tabindex="-1">'+t3.italic+'</button>\n <button type="button" class="trix-button trix-button--icon trix-button--icon-strike" data-trix-attribute="strike" title="'+t3.strike+'" tabindex="-1">'+t3.strike+'</button>\n <button type="button" class="trix-button trix-button--icon trix-button--icon-link" data-trix-attribute="href" data-trix-action="link" data-trix-key="k" title="'+t3.link+'" tabindex="-1">'+t3.link+'</button>\n </span>\n\n <span class="trix-button-group trix-button-group--block-tools" data-trix-button-group="block-tools">\n <button type="button" class="trix-button trix-button--icon trix-button--icon-heading-1" data-trix-attribute="heading1" title="'+t3.heading1+'" tabindex="-1">'+t3.heading1+'</button>\n <button type="button" class="trix-button trix-button--icon trix-button--icon-quote" data-trix-attribute="quote" title="'+t3.quote+'" tabindex="-1">'+t3.quote+'</button>\n <button type="button" class="trix-button trix-button--icon trix-button--icon-code" data-trix-attribute="code" title="'+t3.code+'" tabindex="-1">'+t3.code+'</button>\n <button type="button" class="trix-button trix-button--icon trix-button--icon-bullet-list" data-trix-attribute="bullet" title="'+t3.bullets+'" tabindex="-1">'+t3.bullets+'</button>\n <button type="button" class="trix-button trix-button--icon trix-button--icon-number-list" data-trix-attribute="number" title="'+t3.numbers+'" tabindex="-1">'+t3.numbers+'</button>\n <button type="button" class="trix-button trix-button--icon trix-button--icon-decrease-nesting-level" data-trix-action="decreaseNestingLevel" title="'+t3.outdent+'" tabindex="-1">'+t3.outdent+'</button>\n <button type="button" class="trix-button trix-button--icon trix-button--icon-increase-nesting-level" data-trix-action="increaseNestingLevel" title="'+t3.indent+'" tabindex="-1">'+t3.indent+'</button>\n </span>\n\n <span class="trix-button-group trix-button-group--file-tools" data-trix-button-group="file-tools">\n <button type="button" class="trix-button trix-button--icon trix-button--icon-attach" data-trix-action="attachFiles" title="'+t3.attachFiles+'" tabindex="-1">'+t3.attachFiles+'</button>\n </span>\n\n <span class="trix-button-group-spacer"></span>\n\n <span class="trix-button-group trix-button-group--history-tools" data-trix-button-group="history-tools">\n <button type="button" class="trix-button trix-button--icon trix-button--icon-undo" data-trix-action="undo" data-trix-key="z" title="'+t3.undo+'" tabindex="-1">'+t3.undo+'</button>\n <button type="button" class="trix-button trix-button--icon trix-button--icon-redo" data-trix-action="redo" data-trix-key="shift+z" title="'+t3.redo+'" tabindex="-1">'+t3.redo+'</button>\n </span>\n</div>\n\n<div class="trix-dialogs" data-trix-dialogs>\n <div class="trix-dialog trix-dialog--link" data-trix-dialog="href" data-trix-dialog-attribute="href">\n <div class="trix-dialog__link-fields">\n <input type="url" name="href" class="trix-input trix-input--dialog" placeholder="'+t3.urlPlaceholder+'" aria-label="'+t3.url+'" required data-trix-input>\n <div class="trix-button-group">\n <input type="button" class="trix-button trix-button--dialog" value="'+t3.link+'" data-trix-method="setAttribute">\n <input type="button" class="trix-button trix-button--dialog" value="'+t3.unlink+'" data-trix-method="removeAttribute">\n </div>\n </div>\n </div>\n</div>'}}}.call(this),function(){e2.config.undoInterval=5e3}.call(this),function(){e2.config.attachments={preview:{presentation:"gallery",caption:{name:true,size:true}},file:{caption:{size:true}}}}.call(this),function(){e2.config.keyNames={8:"backspace",9:"tab",13:"return",27:"escape",37:"left",39:"right",46:"delete",68:"d",72:"h",79:"o"}}.call(this),function(){e2.config.input={level2Enabled:true,getLevel:function(){return this.level2Enabled&&e2.browser.supportsInputEvents?2:0},pickFiles:function(t3){var n2;return n2=e2.makeElement("input",{type:"file",multiple:true,hidden:true,id:this.fileInputId}),n2.addEventListener("change",(function(){return t3(n2.files),e2.removeNode(n2)})),e2.removeNode(document.getElementById(this.fileInputId)),document.body.appendChild(n2),n2.click()},fileInputId:"trix-file-input-"+Date.now().toString(16)}}.call(this),function(){}.call(this),function(){e2.registerElement("trix-toolbar",{defaultCSS:"%t {\n display: block;\n}\n\n%t {\n white-space: nowrap;\n}\n\n%t [data-trix-dialog] {\n display: none;\n}\n\n%t [data-trix-dialog][data-trix-active] {\n display: block;\n}\n\n%t [data-trix-dialog] [data-trix-validate]:invalid {\n background-color: #ffdddd;\n}",initialize:function(){return""===this.innerHTML?this.innerHTML=e2.config.toolbar.getDefaultHTML():void 0}})}.call(this),function(){var t3=function(t4,e3){function i2(){this.constructor=t4}for(var o2 in e3)n2.call(e3,o2)&&(t4[o2]=e3[o2]);return i2.prototype=e3.prototype,t4.prototype=new i2,t4.__super__=e3.prototype,t4},n2={}.hasOwnProperty,i=[].indexOf||function(t4){for(var e3=0,n3=this.length;n3>e3;e3++)if(e3 in this&&this[e3]===t4)return e3;return-1};e2.ObjectView=function(n3){function o2(t4,e3){this.object=t4,this.options=null!=e3?e3:{},this.childViews=[],this.rootView=this}return t3(o2,n3),o2.prototype.getNodes=function(){var t4,e3,n4,i2,o3;for(null==this.nodes&&(this.nodes=this.createNodes()),i2=this.nodes,o3=[],t4=0,e3=i2.length;e3>t4;t4++)n4=i2[t4],o3.push(n4.cloneNode(true));return o3},o2.prototype.invalidate=function(){var t4;return this.nodes=null,this.childViews=[],null!=(t4=this.parentView)?t4.invalidate():void 0},o2.prototype.invalidateViewForObject=function(t4){var e3;return null!=(e3=this.findViewForObject(t4))?e3.invalidate():void 0},o2.prototype.findOrCreateCachedChildView=function(t4,e3){var n4;return(n4=this.getCachedViewForObject(e3))?this.recordChildView(n4):(n4=this.createChildView.apply(this,arguments),this.cacheViewForObject(n4,e3)),n4},o2.prototype.createChildView=function(t4,n4,i2){var o3;return null==i2&&(i2={}),n4 instanceof e2.ObjectGroup&&(i2.viewClass=t4,t4=e2.ObjectGroupView),o3=new t4(n4,i2),this.recordChildView(o3)},o2.prototype.recordChildView=function(t4){return t4.parentView=this,t4.rootView=this.rootView,this.childViews.push(t4),t4},o2.prototype.getAllChildViews=function(){var t4,e3,n4,i2,o3;for(o3=[],i2=this.childViews,e3=0,n4=i2.length;n4>e3;e3++)t4=i2[e3],o3.push(t4),o3=o3.concat(t4.getAllChildViews());return o3},o2.prototype.findElement=function(){return this.findElementForObject(this.object)},o2.prototype.findElementForObject=function(t4){var e3;return(e3=null!=t4?t4.id:void 0)?this.rootView.element.querySelector("[data-trix-id='"+e3+"']"):void 0},o2.prototype.findViewForObject=function(t4){var e3,n4,i2,o3;for(i2=this.getAllChildViews(),e3=0,n4=i2.length;n4>e3;e3++)if(o3=i2[e3],o3.object===t4)return o3},o2.prototype.getViewCache=function(){return this.rootView!==this?this.rootView.getViewCache():this.isViewCachingEnabled()?null!=this.viewCache?this.viewCache:this.viewCache={}:void 0},o2.prototype.isViewCachingEnabled=function(){return this.shouldCacheViews!==false},o2.prototype.enableViewCaching=function(){return this.shouldCacheViews=true},o2.prototype.disableViewCaching=function(){return this.shouldCacheViews=false},o2.prototype.getCachedViewForObject=function(t4){var e3;return null!=(e3=this.getViewCache())?e3[t4.getCacheKey()]:void 0},o2.prototype.cacheViewForObject=function(t4,e3){var n4;return null!=(n4=this.getViewCache())?n4[e3.getCacheKey()]=t4:void 0},o2.prototype.garbageCollectCachedViews=function(){var t4,e3,n4,o3,r2,s2;if(t4=this.getViewCache()){s2=this.getAllChildViews().concat(this),n4=function(){var t5,e4,n5;for(n5=[],t5=0,e4=s2.length;e4>t5;t5++)r2=s2[t5],n5.push(r2.object.getCacheKey());return n5}(),o3=[];for(e3 in t4)i.call(n4,e3)<0&&o3.push(delete t4[e3]);return o3}},o2}(e2.BasicObject)}.call(this),function(){var t3=function(t4,e3){function i(){this.constructor=t4}for(var o2 in e3)n2.call(e3,o2)&&(t4[o2]=e3[o2]);return i.prototype=e3.prototype,t4.prototype=new i,t4.__super__=e3.prototype,t4},n2={}.hasOwnProperty;e2.ObjectGroupView=function(e3){function n3(){n3.__super__.constructor.apply(this,arguments),this.objectGroup=this.object,this.viewClass=this.options.viewClass,delete this.options.viewClass}return t3(n3,e3),n3.prototype.getChildViews=function(){var t4,e4,n4,i;if(!this.childViews.length)for(i=this.objectGroup.getObjects(),t4=0,e4=i.length;e4>t4;t4++)n4=i[t4],this.findOrCreateCachedChildView(this.viewClass,n4,this.options);return this.childViews},n3.prototype.createNodes=function(){var t4,e4,n4,i,o2,r2,s2,a2,u2;for(t4=this.createContainerElement(),s2=this.getChildViews(),e4=0,i=s2.length;i>e4;e4++)for(u2=s2[e4],a2=u2.getNodes(),n4=0,o2=a2.length;o2>n4;n4++)r2=a2[n4],t4.appendChild(r2);return[t4]},n3.prototype.createContainerElement=function(t4){return null==t4&&(t4=this.objectGroup.getDepth()),this.getChildViews()[0].createContainerElement(t4)},n3}(e2.ObjectView)}.call(this),function(){var t3=function(t4,e3){function i(){this.constructor=t4}for(var o2 in e3)n2.call(e3,o2)&&(t4[o2]=e3[o2]);return i.prototype=e3.prototype,t4.prototype=new i,t4.__super__=e3.prototype,t4},n2={}.hasOwnProperty;e2.Controller=function(e3){function n3(){return n3.__super__.constructor.apply(this,arguments)}return t3(n3,e3),n3}(e2.BasicObject)}.call(this),function(){var t3,n2,i,o2,r2,s2,a2=function(t4,e3){return function(){return t4.apply(e3,arguments)}},u2=function(t4,e3){function n3(){this.constructor=t4}for(var i2 in e3)c2.call(e3,i2)&&(t4[i2]=e3[i2]);return n3.prototype=e3.prototype,t4.prototype=new n3,t4.__super__=e3.prototype,t4},c2={}.hasOwnProperty,l2=[].indexOf||function(t4){for(var e3=0,n3=this.length;n3>e3;e3++)if(e3 in this&&this[e3]===t4)return e3;return-1};t3=e2.findClosestElementFromNode,i=e2.nodeIsEmptyTextNode,n2=e2.nodeIsBlockStartComment,o2=e2.normalizeSpaces,r2=e2.summarizeStringChange,s2=e2.tagName,e2.MutationObserver=function(e3){function c3(t4){this.element=t4,this.didMutate=a2(this.didMutate,this),this.observer=new window.MutationObserver(this.didMutate),this.start()}var h2,p2,d2,f2;return u2(c3,e3),p2="data-trix-mutable",d2="["+p2+"]",f2={attributes:true,childList:true,characterData:true,characterDataOldValue:true,subtree:true},c3.prototype.start=function(){return this.reset(),this.observer.observe(this.element,f2)},c3.prototype.stop=function(){return this.observer.disconnect()},c3.prototype.didMutate=function(t4){var e4,n3;return(e4=this.mutations).push.apply(e4,this.findSignificantMutations(t4)),this.mutations.length?(null!=(n3=this.delegate)&&"function"==typeof n3.elementDidMutate&&n3.elementDidMutate(this.getMutationSummary()),this.reset()):void 0},c3.prototype.reset=function(){return this.mutations=[]},c3.prototype.findSignificantMutations=function(t4){var e4,n3,i2,o3;for(o3=[],e4=0,n3=t4.length;n3>e4;e4++)i2=t4[e4],this.mutationIsSignificant(i2)&&o3.push(i2);return o3},c3.prototype.mutationIsSignificant=function(t4){var e4,n3,i2,o3;if(this.nodeIsMutable(t4.target))return false;for(o3=this.nodesModifiedByMutation(t4),e4=0,n3=o3.length;n3>e4;e4++)if(i2=o3[e4],this.nodeIsSignificant(i2))return true;return false},c3.prototype.nodeIsSignificant=function(t4){return t4!==this.element&&!this.nodeIsMutable(t4)&&!i(t4)},c3.prototype.nodeIsMutable=function(e4){return t3(e4,{matchingSelector:d2})},c3.prototype.nodesModifiedByMutation=function(t4){var e4;switch(e4=[],t4.type){case"attributes":t4.attributeName!==p2&&e4.push(t4.target);break;case"characterData":e4.push(t4.target.parentNode),e4.push(t4.target);break;case"childList":e4.push.apply(e4,t4.addedNodes),e4.push.apply(e4,t4.removedNodes)}return e4},c3.prototype.getMutationSummary=function(){return this.getTextMutationSummary()},c3.prototype.getTextMutationSummary=function(){var t4,e4,n3,i2,o3,r3,s3,a3,u3,c4,h3;for(a3=this.getTextChangesFromCharacterData(),n3=a3.additions,o3=a3.deletions,h3=this.getTextChangesFromChildList(),u3=h3.additions,r3=0,s3=u3.length;s3>r3;r3++)e4=u3[r3],l2.call(n3,e4)<0&&n3.push(e4);return o3.push.apply(o3,h3.deletions),c4={},(t4=n3.join(""))&&(c4.textAdded=t4),(i2=o3.join(""))&&(c4.textDeleted=i2),c4},c3.prototype.getMutationsByType=function(t4){var e4,n3,i2,o3,r3;for(o3=this.mutations,r3=[],e4=0,n3=o3.length;n3>e4;e4++)i2=o3[e4],i2.type===t4&&r3.push(i2);return r3},c3.prototype.getTextChangesFromChildList=function(){var t4,e4,i2,r3,s3,a3,u3,c4,l3,p3,d3;for(t4=[],u3=[],a3=this.getMutationsByType("childList"),e4=0,r3=a3.length;r3>e4;e4++)s3=a3[e4],t4.push.apply(t4,s3.addedNodes),u3.push.apply(u3,s3.removedNodes);return c4=0===t4.length&&1===u3.length&&n2(u3[0]),c4?(p3=[],d3=["\n"]):(p3=h2(t4),d3=h2(u3)),{additions:function(){var t5,e5,n3;for(n3=[],i2=t5=0,e5=p3.length;e5>t5;i2=++t5)l3=p3[i2],l3!==d3[i2]&&n3.push(o2(l3));return n3}(),deletions:function(){var t5,e5,n3;for(n3=[],i2=t5=0,e5=d3.length;e5>t5;i2=++t5)l3=d3[i2],l3!==p3[i2]&&n3.push(o2(l3));return n3}()}},c3.prototype.getTextChangesFromCharacterData=function(){var t4,e4,n3,i2,s3,a3,u3,c4;return e4=this.getMutationsByType("characterData"),e4.length&&(c4=e4[0],n3=e4[e4.length-1],s3=o2(c4.oldValue),i2=o2(n3.target.data),a3=r2(s3,i2),t4=a3.added,u3=a3.removed),{additions:t4?[t4]:[],deletions:u3?[u3]:[]}},h2=function(t4){var e4,n3,i2,o3;for(null==t4&&(t4=[]),o3=[],e4=0,n3=t4.length;n3>e4;e4++)switch(i2=t4[e4],i2.nodeType){case Node.TEXT_NODE:o3.push(i2.data);break;case Node.ELEMENT_NODE:"br"===s2(i2)?o3.push("\n"):o3.push.apply(o3,h2(i2.childNodes))}return o3},c3}(e2.BasicObject)}.call(this),function(){var t3=function(t4,e3){function i(){this.constructor=t4}for(var o2 in e3)n2.call(e3,o2)&&(t4[o2]=e3[o2]);return i.prototype=e3.prototype,t4.prototype=new i,t4.__super__=e3.prototype,t4},n2={}.hasOwnProperty;e2.FileVerificationOperation=function(e3){function n3(t4){this.file=t4}return t3(n3,e3),n3.prototype.perform=function(t4){var e4;return e4=new FileReader,e4.onerror=function(){return t4(false)},e4.onload=function(n4){return function(){e4.onerror=null;try{e4.abort()}catch(i){}return t4(true,n4.file)}}(this),e4.readAsArrayBuffer(this.file)},n3}(e2.Operation)}.call(this),function(){var t3,n2,i=function(t4,e3){function n3(){this.constructor=t4}for(var i2 in e3)o2.call(e3,i2)&&(t4[i2]=e3[i2]);return n3.prototype=e3.prototype,t4.prototype=new n3,t4.__super__=e3.prototype,t4},o2={}.hasOwnProperty;t3=e2.handleEvent,n2=e2.innerElementIsActive,e2.InputController=function(o3){function r2(n3){var i2;this.element=n3,this.mutationObserver=new e2.MutationObserver(this.element),this.mutationObserver.delegate=this;for(i2 in this.events)t3(i2,{onElement:this.element,withCallback:this.handlerFor(i2)})}return i(r2,o3),r2.prototype.events={},r2.prototype.elementDidMutate=function(){},r2.prototype.editorWillSyncDocumentView=function(){return this.mutationObserver.stop()},r2.prototype.editorDidSyncDocumentView=function(){return this.mutationObserver.start()},r2.prototype.requestRender=function(){var t4;return null!=(t4=this.delegate)&&"function"==typeof t4.inputControllerDidRequestRender?t4.inputControllerDidRequestRender():void 0},r2.prototype.requestReparse=function(){var t4;return null!=(t4=this.delegate)&&"function"==typeof t4.inputControllerDidRequestReparse&&t4.inputControllerDidRequestReparse(),this.requestRender()},r2.prototype.attachFiles=function(t4){var n3,i2;return i2=function(){var i3,o4,r3;for(r3=[],i3=0,o4=t4.length;o4>i3;i3++)n3=t4[i3],r3.push(new e2.FileVerificationOperation(n3));return r3}(),Promise.all(i2).then(function(t5){return function(e3){return t5.handleInput((function(){var t6,n4;return null!=(t6=this.delegate)&&t6.inputControllerWillAttachFiles(),null!=(n4=this.responder)&&n4.insertFiles(e3),this.requestRender()}))}}(this))},r2.prototype.handlerFor=function(t4){return function(e3){return function(i2){return i2.defaultPrevented?void 0:e3.handleInput((function(){return n2(this.element)?void 0:(this.eventName=t4,this.events[t4].call(this,i2))}))}}(this)},r2.prototype.handleInput=function(t4){var e3,n3;try{return null!=(e3=this.delegate)&&e3.inputControllerWillHandleInput(),t4.call(this)}finally{null!=(n3=this.delegate)&&n3.inputControllerDidHandleInput()}},r2.prototype.createLinkHTML=function(t4,e3){var n3;return n3=document.createElement("a"),n3.href=t4,n3.textContent=null!=e3?e3:t4,n3.outerHTML},r2}(e2.BasicObject)}.call(this),function(){var t3,n2,i,o2,r2,s2,a2,u2,c2,l2,h2,p2,f2=function(t4,e3){function n3(){this.constructor=t4}for(var i2 in e3)g2.call(e3,i2)&&(t4[i2]=e3[i2]);return n3.prototype=e3.prototype,t4.prototype=new n3,t4.__super__=e3.prototype,t4},g2={}.hasOwnProperty,m2=[].indexOf||function(t4){for(var e3=0,n3=this.length;n3>e3;e3++)if(e3 in this&&this[e3]===t4)return e3;return-1};c2=e2.makeElement,l2=e2.objectsAreEqual,e2.tagName,n2=e2.browser,a2=e2.keyEventIsKeyboardCommand,o2=e2.dataTransferIsWritable,i=e2.dataTransferIsPlainText,u2=e2.config.keyNames,e2.Level0InputController=function(n3){function s3(){s3.__super__.constructor.apply(this,arguments),this.resetInputSummary()}var d2;return f2(s3,n3),d2=0,s3.prototype.setInputSummary=function(t4){var e3,n4;null==t4&&(t4={}),this.inputSummary.eventName=this.eventName;for(e3 in t4)n4=t4[e3],this.inputSummary[e3]=n4;return this.inputSummary},s3.prototype.resetInputSummary=function(){return this.inputSummary={}},s3.prototype.reset=function(){return this.resetInputSummary(),e2.selectionChangeObserver.reset()},s3.prototype.elementDidMutate=function(t4){var e3;return this.isComposing()?null!=(e3=this.delegate)&&"function"==typeof e3.inputControllerDidAllowUnhandledInput?e3.inputControllerDidAllowUnhandledInput():void 0:this.handleInput((function(){return this.mutationIsSignificant(t4)&&(this.mutationIsExpected(t4)?this.requestRender():this.requestReparse()),this.reset()}))},s3.prototype.mutationIsExpected=function(t4){var e3,n4,i2,o3,r3,s4,a3,u3,c3,l3;return a3=t4.textAdded,u3=t4.textDeleted,this.inputSummary.preferDocument?true:(e3=null!=a3?a3===this.inputSummary.textAdded:!this.inputSummary.textAdded,n4=null!=u3?this.inputSummary.didDelete:!this.inputSummary.didDelete,c3=("\n"===a3||" \n"===a3)&&!e3,l3="\n"===u3&&!n4,s4=c3&&!l3||l3&&!c3,s4&&(o3=this.getSelectedRange())&&(i2=c3?a3.replace(/\n$/,"").length||-1:(null!=a3?a3.length:void 0)||1,null!=(r3=this.responder)?r3.positionIsBlockBreak(o3[1]+i2):void 0)?true:e3&&n4)},s3.prototype.mutationIsSignificant=function(t4){var e3,n4,i2;return i2=Object.keys(t4).length>0,e3=""===(null!=(n4=this.compositionInput)?n4.getEndData():void 0),i2||!e3},s3.prototype.events={keydown:function(t4){var n4,i2,o3,r3,s4,c3,l3,h3,p3;if(this.isComposing()||this.resetInputSummary(),this.inputSummary.didInput=true,r3=u2[t4.keyCode]){for(i2=this.keys,h3=["ctrl","alt","shift","meta"],o3=0,c3=h3.length;c3>o3;o3++)l3=h3[o3],t4[l3+"Key"]&&("ctrl"===l3&&(l3="control"),i2=null!=i2?i2[l3]:void 0);null!=(null!=i2?i2[r3]:void 0)&&(this.setInputSummary({keyName:r3}),e2.selectionChangeObserver.reset(),i2[r3].call(this,t4))}return a2(t4)&&(n4=String.fromCharCode(t4.keyCode).toLowerCase())&&(s4=function(){var e3,n5,i3,o4;for(i3=["alt","shift"],o4=[],e3=0,n5=i3.length;n5>e3;e3++)l3=i3[e3],t4[l3+"Key"]&&o4.push(l3);return o4}(),s4.push(n4),null!=(p3=this.delegate)?p3.inputControllerDidReceiveKeyboardCommand(s4):void 0)?t4.preventDefault():void 0},keypress:function(t4){var e3,n4,i2;if(null==this.inputSummary.eventName&&!t4.metaKey&&(!t4.ctrlKey||t4.altKey))return(i2=p2(t4))?(null!=(e3=this.delegate)&&e3.inputControllerWillPerformTyping(),null!=(n4=this.responder)&&n4.insertString(i2),this.setInputSummary({textAdded:i2,didDelete:this.selectionIsExpanded()})):void 0},textInput:function(t4){var e3,n4,i2,o3;return e3=t4.data,o3=this.inputSummary.textAdded,o3&&o3!==e3&&o3.toUpperCase()===e3?(n4=this.getSelectedRange(),this.setSelectedRange([n4[0],n4[1]+o3.length]),null!=(i2=this.responder)&&i2.insertString(e3),this.setInputSummary({textAdded:e3}),this.setSelectedRange(n4)):void 0},dragenter:function(t4){return t4.preventDefault()},dragstart:function(t4){var e3;return t4.target,this.serializeSelectionToDataTransfer(t4.dataTransfer),this.draggedRange=this.getSelectedRange(),null!=(e3=this.delegate)&&"function"==typeof e3.inputControllerDidStartDrag?e3.inputControllerDidStartDrag():void 0},dragover:function(t4){var e3,n4;return!this.draggedRange&&!this.canAcceptDataTransfer(t4.dataTransfer)||(t4.preventDefault(),e3={x:t4.clientX,y:t4.clientY},l2(e3,this.draggingPoint))?void 0:(this.draggingPoint=e3,null!=(n4=this.delegate)&&"function"==typeof n4.inputControllerDidReceiveDragOverPoint?n4.inputControllerDidReceiveDragOverPoint(this.draggingPoint):void 0)},dragend:function(){var t4;return null!=(t4=this.delegate)&&"function"==typeof t4.inputControllerDidCancelDrag&&t4.inputControllerDidCancelDrag(),this.draggedRange=null,this.draggingPoint=null},drop:function(t4){var n4,i2,o3,r3,s4,a3,u3,c3,l3;return t4.preventDefault(),o3=null!=(s4=t4.dataTransfer)?s4.files:void 0,r3={x:t4.clientX,y:t4.clientY},null!=(a3=this.responder)&&a3.setLocationRangeFromPointRange(r3),(null!=o3?o3.length:void 0)?this.attachFiles(o3):this.draggedRange?(null!=(u3=this.delegate)&&u3.inputControllerWillMoveText(),null!=(c3=this.responder)&&c3.moveTextFromRange(this.draggedRange),this.draggedRange=null,this.requestRender()):(i2=t4.dataTransfer.getData("application/x-trix-document"))&&(n4=e2.Document.fromJSONString(i2),null!=(l3=this.responder)&&l3.insertDocument(n4),this.requestRender()),this.draggedRange=null,this.draggingPoint=null},cut:function(t4){var e3,n4;return(null!=(e3=this.responder)?e3.selectionIsExpanded():void 0)&&(this.serializeSelectionToDataTransfer(t4.clipboardData)&&t4.preventDefault(),null!=(n4=this.delegate)&&n4.inputControllerWillCutText(),this.deleteInDirection("backward"),t4.defaultPrevented)?this.requestRender():void 0},copy:function(t4){var e3;return(null!=(e3=this.responder)?e3.selectionIsExpanded():void 0)&&this.serializeSelectionToDataTransfer(t4.clipboardData)?t4.preventDefault():void 0},paste:function(t4){var n4,o3,s4,a3,u3,c3,l3,p3,f3,g3,v2,y2,b2,A2,C2,x2,w2,E2,S2,R2,k2,D2,L2;return n4=null!=(p3=t4.clipboardData)?p3:t4.testClipboardData,l3={clipboard:n4},null==n4||h2(t4)?void this.getPastedHTMLUsingHiddenElement(function(t5){return function(e3){var n5,i2,o4;return l3.type="text/html",l3.html=e3,null!=(n5=t5.delegate)&&n5.inputControllerWillPaste(l3),null!=(i2=t5.responder)&&i2.insertHTML(l3.html),t5.requestRender(),null!=(o4=t5.delegate)?o4.inputControllerDidPaste(l3):void 0}}(this)):((a3=n4.getData("URL"))?(l3.type="text/html",L2=(c3=n4.getData("public.url-name"))?e2.squishBreakableWhitespace(c3).trim():a3,l3.html=this.createLinkHTML(a3,L2),null!=(f3=this.delegate)&&f3.inputControllerWillPaste(l3),this.setInputSummary({textAdded:L2,didDelete:this.selectionIsExpanded()}),null!=(C2=this.responder)&&C2.insertHTML(l3.html),this.requestRender(),null!=(x2=this.delegate)&&x2.inputControllerDidPaste(l3)):i(n4)?(l3.type="text/plain",l3.string=n4.getData("text/plain"),null!=(w2=this.delegate)&&w2.inputControllerWillPaste(l3),this.setInputSummary({textAdded:l3.string,didDelete:this.selectionIsExpanded()}),null!=(E2=this.responder)&&E2.insertString(l3.string),this.requestRender(),null!=(S2=this.delegate)&&S2.inputControllerDidPaste(l3)):(u3=n4.getData("text/html"))?(l3.type="text/html",l3.html=u3,null!=(R2=this.delegate)&&R2.inputControllerWillPaste(l3),null!=(k2=this.responder)&&k2.insertHTML(l3.html),this.requestRender(),null!=(D2=this.delegate)&&D2.inputControllerDidPaste(l3)):m2.call(n4.types,"Files")>=0&&(s4=null!=(g3=n4.items)&&null!=(v2=g3[0])&&"function"==typeof v2.getAsFile?v2.getAsFile():void 0)&&(!s4.name&&(o3=r2(s4))&&(s4.name="pasted-file-"+ ++d2+"."+o3),l3.type="File",l3.file=s4,null!=(y2=this.delegate)&&y2.inputControllerWillAttachFiles(),null!=(b2=this.responder)&&b2.insertFile(l3.file),this.requestRender(),null!=(A2=this.delegate)&&A2.inputControllerDidPaste(l3)),t4.preventDefault())},compositionstart:function(t4){return this.getCompositionInput().start(t4.data)},compositionupdate:function(t4){return this.getCompositionInput().update(t4.data)},compositionend:function(t4){return this.getCompositionInput().end(t4.data)},beforeinput:function(){return this.inputSummary.didInput=true},input:function(t4){return this.inputSummary.didInput=true,t4.stopPropagation()}},s3.prototype.keys={backspace:function(t4){var e3;return null!=(e3=this.delegate)&&e3.inputControllerWillPerformTyping(),this.deleteInDirection("backward",t4)},delete:function(t4){var e3;return null!=(e3=this.delegate)&&e3.inputControllerWillPerformTyping(),this.deleteInDirection("forward",t4)},return:function(){var t4,e3;return this.setInputSummary({preferDocument:true}),null!=(t4=this.delegate)&&t4.inputControllerWillPerformTyping(),null!=(e3=this.responder)?e3.insertLineBreak():void 0},tab:function(t4){var e3,n4;return(null!=(e3=this.responder)?e3.canIncreaseNestingLevel():void 0)?(null!=(n4=this.responder)&&n4.increaseNestingLevel(),this.requestRender(),t4.preventDefault()):void 0},left:function(t4){var e3;return this.selectionIsInCursorTarget()?(t4.preventDefault(),null!=(e3=this.responder)?e3.moveCursorInDirection("backward"):void 0):void 0},right:function(t4){var e3;return this.selectionIsInCursorTarget()?(t4.preventDefault(),null!=(e3=this.responder)?e3.moveCursorInDirection("forward"):void 0):void 0},control:{d:function(t4){var e3;return null!=(e3=this.delegate)&&e3.inputControllerWillPerformTyping(),this.deleteInDirection("forward",t4)},h:function(t4){var e3;return null!=(e3=this.delegate)&&e3.inputControllerWillPerformTyping(),this.deleteInDirection("backward",t4)},o:function(t4){var e3,n4;return t4.preventDefault(),null!=(e3=this.delegate)&&e3.inputControllerWillPerformTyping(),null!=(n4=this.responder)&&n4.insertString("\n",{updatePosition:false}),this.requestRender()}},shift:{return:function(t4){var e3,n4;return null!=(e3=this.delegate)&&e3.inputControllerWillPerformTyping(),null!=(n4=this.responder)&&n4.insertString("\n"),this.requestRender(),t4.preventDefault()},tab:function(t4){var e3,n4;return(null!=(e3=this.responder)?e3.canDecreaseNestingLevel():void 0)?(null!=(n4=this.responder)&&n4.decreaseNestingLevel(),this.requestRender(),t4.preventDefault()):void 0},left:function(t4){return this.selectionIsInCursorTarget()?(t4.preventDefault(),this.expandSelectionInDirection("backward")):void 0},right:function(t4){return this.selectionIsInCursorTarget()?(t4.preventDefault(),this.expandSelectionInDirection("forward")):void 0}},alt:{backspace:function(){var t4;return this.setInputSummary({preferDocument:false}),null!=(t4=this.delegate)?t4.inputControllerWillPerformTyping():void 0}},meta:{backspace:function(){var t4;return this.setInputSummary({preferDocument:false}),null!=(t4=this.delegate)?t4.inputControllerWillPerformTyping():void 0}}},s3.prototype.getCompositionInput=function(){return this.isComposing()?this.compositionInput:this.compositionInput=new t3(this)},s3.prototype.isComposing=function(){return null!=this.compositionInput&&!this.compositionInput.isEnded()},s3.prototype.deleteInDirection=function(t4,e3){var n4;return(null!=(n4=this.responder)?n4.deleteInDirection(t4):void 0)!==false?this.setInputSummary({didDelete:true}):e3?(e3.preventDefault(),this.requestRender()):void 0},s3.prototype.serializeSelectionToDataTransfer=function(t4){var n4,i2;if(o2(t4))return n4=null!=(i2=this.responder)?i2.getSelectedDocument().toSerializableDocument():void 0,t4.setData("application/x-trix-document",JSON.stringify(n4)),t4.setData("text/html",e2.DocumentView.render(n4).innerHTML),t4.setData("text/plain",n4.toString().replace(/\n$/,"")),true},s3.prototype.canAcceptDataTransfer=function(t4){var e3,n4,i2,o3,r3,s4;for(s4={},o3=null!=(i2=null!=t4?t4.types:void 0)?i2:[],e3=0,n4=o3.length;n4>e3;e3++)r3=o3[e3],s4[r3]=true;return s4.Files||s4["application/x-trix-document"]||s4["text/html"]||s4["text/plain"]},s3.prototype.getPastedHTMLUsingHiddenElement=function(t4){var n4,i2,o3;return i2=this.getSelectedRange(),o3={position:"absolute",left:window.pageXOffset+"px",top:window.pageYOffset+"px",opacity:0},n4=c2({style:o3,tagName:"div",editable:true}),document.body.appendChild(n4),n4.focus(),requestAnimationFrame(function(o4){return function(){var r3;return r3=n4.innerHTML,e2.removeNode(n4),o4.setSelectedRange(i2),t4(r3)}}(this))},s3.proxyMethod("responder?.getSelectedRange"),s3.proxyMethod("responder?.setSelectedRange"),s3.proxyMethod("responder?.expandSelectionInDirection"),s3.proxyMethod("responder?.selectionIsInCursorTarget"),s3.proxyMethod("responder?.selectionIsExpanded"),s3}(e2.InputController),r2=function(t4){var e3,n3;return null!=(e3=t4.type)&&null!=(n3=e3.match(/\/(\w+)$/))?n3[1]:void 0},s2=null!=("function"==typeof" ".codePointAt?" ".codePointAt(0):void 0),p2=function(t4){var n3;return t4.key&&s2&&t4.key.codePointAt(0)===t4.keyCode?t4.key:(null===t4.which?n3=t4.keyCode:0!==t4.which&&0!==t4.charCode&&(n3=t4.charCode),null!=n3&&"escape"!==u2[n3]?e2.UTF16String.fromCodepoints([n3]).toString():void 0)},h2=function(t4){var e3,n3,i2,o3,r3,s3,u3,c3,l3;if(u3=t4.clipboardData){if(m2.call(u3.types,"text/html")>=0){for(c3=u3.types,i2=0,s3=c3.length;s3>i2;i2++)if(l3=c3[i2],e3=/^CorePasteboardFlavorType/.test(l3),n3=/^dyn\./.test(l3)&&u3.getData(l3),e3||n3)return true;return false}return o3=m2.call(u3.types,"com.apple.webarchive")>=0,r3=m2.call(u3.types,"com.apple.flat-rtfd")>=0,o3||r3}},t3=function(t4){function e3(t5){var e4;this.inputController=t5,e4=this.inputController,this.responder=e4.responder,this.delegate=e4.delegate,this.inputSummary=e4.inputSummary,this.data={}}return f2(e3,t4),e3.prototype.start=function(t5){var e4,n3;return this.data.start=t5,this.isSignificant()?("keypress"===this.inputSummary.eventName&&this.inputSummary.textAdded&&null!=(e4=this.responder)&&e4.deleteInDirection("left"),this.selectionIsExpanded()||(this.insertPlaceholder(),this.requestRender()),this.range=null!=(n3=this.responder)?n3.getSelectedRange():void 0):void 0},e3.prototype.update=function(t5){var e4;return this.data.update=t5,this.isSignificant()&&(e4=this.selectPlaceholder())?(this.forgetPlaceholder(),this.range=e4):void 0},e3.prototype.end=function(t5){var e4,n3,i2,o3;return this.data.end=t5,this.isSignificant()?(this.forgetPlaceholder(),this.canApplyToDocument()?(this.setInputSummary({preferDocument:true,didInput:false}),null!=(e4=this.delegate)&&e4.inputControllerWillPerformTyping(),null!=(n3=this.responder)&&n3.setSelectedRange(this.range),null!=(i2=this.responder)&&i2.insertString(this.data.end),null!=(o3=this.responder)?o3.setSelectedRange(this.range[0]+this.data.end.length):void 0):null!=this.data.start||null!=this.data.update?(this.requestReparse(),this.inputController.reset()):void 0):this.inputController.reset()},e3.prototype.getEndData=function(){return this.data.end},e3.prototype.isEnded=function(){return null!=this.getEndData()},e3.prototype.isSignificant=function(){return n2.composesExistingText?this.inputSummary.didInput:true},e3.prototype.canApplyToDocument=function(){var t5,e4;return 0===(null!=(t5=this.data.start)?t5.length:void 0)&&(null!=(e4=this.data.end)?e4.length:void 0)>0&&null!=this.range},e3.proxyMethod("inputController.setInputSummary"),e3.proxyMethod("inputController.requestRender"),e3.proxyMethod("inputController.requestReparse"),e3.proxyMethod("responder?.selectionIsExpanded"),e3.proxyMethod("responder?.insertPlaceholder"),e3.proxyMethod("responder?.selectPlaceholder"),e3.proxyMethod("responder?.forgetPlaceholder"),e3}(e2.BasicObject)}.call(this),function(){var t3,n2,i,o2=function(t4,e3){return function(){return t4.apply(e3,arguments)}},r2=function(t4,e3){function n3(){this.constructor=t4}for(var i2 in e3)s2.call(e3,i2)&&(t4[i2]=e3[i2]);return n3.prototype=e3.prototype,t4.prototype=new n3,t4.__super__=e3.prototype,t4},s2={}.hasOwnProperty,a2=[].indexOf||function(t4){for(var e3=0,n3=this.length;n3>e3;e3++)if(e3 in this&&this[e3]===t4)return e3;return-1};t3=e2.dataTransferIsPlainText,n2=e2.keyEventIsKeyboardCommand,i=e2.objectsAreEqual,e2.Level2InputController=function(s3){function u2(){return this.render=o2(this.render,this),u2.__super__.constructor.apply(this,arguments)}var c2,l2,h2,p2,d2,f2;return r2(u2,s3),u2.prototype.elementDidMutate=function(){var t4;return this.scheduledRender?this.composing&&null!=(t4=this.delegate)&&"function"==typeof t4.inputControllerDidAllowUnhandledInput?t4.inputControllerDidAllowUnhandledInput():void 0:this.reparse()},u2.prototype.scheduleRender=function(){return null!=this.scheduledRender?this.scheduledRender:this.scheduledRender=requestAnimationFrame(this.render)},u2.prototype.render=function(){var t4;return cancelAnimationFrame(this.scheduledRender),this.scheduledRender=null,this.composing||null!=(t4=this.delegate)&&t4.render(),"function"==typeof this.afterRender&&this.afterRender(),this.afterRender=null},u2.prototype.reparse=function(){var t4;return null!=(t4=this.delegate)?t4.reparse():void 0},u2.prototype.events={keydown:function(t4){var e3,i2,o3,r3;if(n2(t4)){if(e3=l2(t4),null!=(r3=this.delegate)?r3.inputControllerDidReceiveKeyboardCommand(e3):void 0)return t4.preventDefault()}else if(o3=t4.key,t4.altKey&&(o3+="+Alt"),t4.shiftKey&&(o3+="+Shift"),i2=this.keys[o3])return this.withEvent(t4,i2)},paste:function(t4){var e3,n3,i2,o3,r3,s4,a3,u3,c3;return h2(t4)?(t4.preventDefault(),this.attachFiles(t4.clipboardData.files)):p2(t4)?(t4.preventDefault(),n3={type:"text/plain",string:t4.clipboardData.getData("text/plain")},null!=(i2=this.delegate)&&i2.inputControllerWillPaste(n3),null!=(o3=this.responder)&&o3.insertString(n3.string),this.render(),null!=(r3=this.delegate)?r3.inputControllerDidPaste(n3):void 0):(e3=null!=(s4=t4.clipboardData)?s4.getData("URL"):void 0)?(t4.preventDefault(),n3={type:"text/html",html:this.createLinkHTML(e3)},null!=(a3=this.delegate)&&a3.inputControllerWillPaste(n3),null!=(u3=this.responder)&&u3.insertHTML(n3.html),this.render(),null!=(c3=this.delegate)?c3.inputControllerDidPaste(n3):void 0):void 0},beforeinput:function(t4){var e3;return(e3=this.inputTypes[t4.inputType])?(this.withEvent(t4,e3),this.scheduleRender()):void 0},input:function(){return e2.selectionChangeObserver.reset()},dragstart:function(t4){var e3,n3;return(null!=(e3=this.responder)?e3.selectionContainsAttachments():void 0)?(t4.dataTransfer.setData("application/x-trix-dragging",true),this.dragging={range:null!=(n3=this.responder)?n3.getSelectedRange():void 0,point:d2(t4)}):void 0},dragenter:function(t4){return c2(t4)?t4.preventDefault():void 0},dragover:function(t4){var e3,n3;if(this.dragging){if(t4.preventDefault(),e3=d2(t4),!i(e3,this.dragging.point))return this.dragging.point=e3,null!=(n3=this.responder)?n3.setLocationRangeFromPointRange(e3):void 0}else if(c2(t4))return t4.preventDefault()},drop:function(t4){var e3,n3,i2,o3;return this.dragging?(t4.preventDefault(),null!=(n3=this.delegate)&&n3.inputControllerWillMoveText(),null!=(i2=this.responder)&&i2.moveTextFromRange(this.dragging.range),this.dragging=null,this.scheduleRender()):c2(t4)?(t4.preventDefault(),e3=d2(t4),null!=(o3=this.responder)&&o3.setLocationRangeFromPointRange(e3),this.attachFiles(t4.dataTransfer.files)):void 0},dragend:function(){var t4;return this.dragging?(null!=(t4=this.responder)&&t4.setSelectedRange(this.dragging.range),this.dragging=null):void 0},compositionend:function(){return this.composing?(this.composing=false,this.scheduleRender()):void 0}},u2.prototype.keys={ArrowLeft:function(){var t4,e3;return(null!=(t4=this.responder)?t4.shouldManageMovingCursorInDirection("backward"):void 0)?(this.event.preventDefault(),null!=(e3=this.responder)?e3.moveCursorInDirection("backward"):void 0):void 0},ArrowRight:function(){var t4,e3;return(null!=(t4=this.responder)?t4.shouldManageMovingCursorInDirection("forward"):void 0)?(this.event.preventDefault(),null!=(e3=this.responder)?e3.moveCursorInDirection("forward"):void 0):void 0},Backspace:function(){var t4,e3,n3;return(null!=(t4=this.responder)?t4.shouldManageDeletingInDirection("backward"):void 0)?(this.event.preventDefault(),null!=(e3=this.delegate)&&e3.inputControllerWillPerformTyping(),null!=(n3=this.responder)&&n3.deleteInDirection("backward"),this.render()):void 0},Tab:function(){var t4,e3;return(null!=(t4=this.responder)?t4.canIncreaseNestingLevel():void 0)?(this.event.preventDefault(),null!=(e3=this.responder)&&e3.increaseNestingLevel(),this.render()):void 0},"Tab+Shift":function(){var t4,e3;return(null!=(t4=this.responder)?t4.canDecreaseNestingLevel():void 0)?(this.event.preventDefault(),null!=(e3=this.responder)&&e3.decreaseNestingLevel(),this.render()):void 0}},u2.prototype.inputTypes={deleteByComposition:function(){return this.deleteInDirection("backward",{recordUndoEntry:false})},deleteByCut:function(){return this.deleteInDirection("backward")},deleteByDrag:function(){return this.event.preventDefault(),this.withTargetDOMRange((function(){var t4;return this.deleteByDragRange=null!=(t4=this.responder)?t4.getSelectedRange():void 0}))},deleteCompositionText:function(){return this.deleteInDirection("backward",{recordUndoEntry:false})},deleteContent:function(){return this.deleteInDirection("backward")},deleteContentBackward:function(){return this.deleteInDirection("backward")},deleteContentForward:function(){return this.deleteInDirection("forward")},deleteEntireSoftLine:function(){return this.deleteInDirection("forward")},deleteHardLineBackward:function(){return this.deleteInDirection("backward")},deleteHardLineForward:function(){return this.deleteInDirection("forward")},deleteSoftLineBackward:function(){return this.deleteInDirection("backward")},deleteSoftLineForward:function(){return this.deleteInDirection("forward")},deleteWordBackward:function(){return this.deleteInDirection("backward")},deleteWordForward:function(){return this.deleteInDirection("forward")},formatBackColor:function(){return this.activateAttributeIfSupported("backgroundColor",this.event.data)},formatBold:function(){return this.toggleAttributeIfSupported("bold")},formatFontColor:function(){return this.activateAttributeIfSupported("color",this.event.data)},formatFontName:function(){return this.activateAttributeIfSupported("font",this.event.data)},formatIndent:function(){var t4;return(null!=(t4=this.responder)?t4.canIncreaseNestingLevel():void 0)?this.withTargetDOMRange((function(){var t5;return null!=(t5=this.responder)?t5.increaseNestingLevel():void 0})):void 0},formatItalic:function(){return this.toggleAttributeIfSupported("italic")},formatJustifyCenter:function(){return this.toggleAttributeIfSupported("justifyCenter")},formatJustifyFull:function(){return this.toggleAttributeIfSupported("justifyFull")},formatJustifyLeft:function(){return this.toggleAttributeIfSupported("justifyLeft")},formatJustifyRight:function(){return this.toggleAttributeIfSupported("justifyRight")},formatOutdent:function(){var t4;return(null!=(t4=this.responder)?t4.canDecreaseNestingLevel():void 0)?this.withTargetDOMRange((function(){var t5;return null!=(t5=this.responder)?t5.decreaseNestingLevel():void 0})):void 0},formatRemove:function(){return this.withTargetDOMRange((function(){var t4,e3,n3,i2;i2=[];for(t4 in null!=(e3=this.responder)?e3.getCurrentAttributes():void 0)i2.push(null!=(n3=this.responder)?n3.removeCurrentAttribute(t4):void 0);return i2}))},formatSetBlockTextDirection:function(){return this.activateAttributeIfSupported("blockDir",this.event.data)},formatSetInlineTextDirection:function(){return this.activateAttributeIfSupported("textDir",this.event.data)},formatStrikeThrough:function(){return this.toggleAttributeIfSupported("strike")},formatSubscript:function(){return this.toggleAttributeIfSupported("sub")},formatSuperscript:function(){return this.toggleAttributeIfSupported("sup")},formatUnderline:function(){return this.toggleAttributeIfSupported("underline")},historyRedo:function(){var t4;return null!=(t4=this.delegate)?t4.inputControllerWillPerformRedo():void 0},historyUndo:function(){var t4;return null!=(t4=this.delegate)?t4.inputControllerWillPerformUndo():void 0},insertCompositionText:function(){return this.composing=true,this.insertString(this.event.data)},insertFromComposition:function(){return this.composing=false,this.insertString(this.event.data)},insertFromDrop:function(){var t4,e3;return(t4=this.deleteByDragRange)?(this.deleteByDragRange=null,null!=(e3=this.delegate)&&e3.inputControllerWillMoveText(),this.withTargetDOMRange((function(){var e4;return null!=(e4=this.responder)?e4.moveTextFromRange(t4):void 0}))):void 0},insertFromPaste:function(){var n3,i2,o3,r3,s4,a3,u3,c3,l3,h3,p3;return n3=this.event.dataTransfer,s4={dataTransfer:n3},(i2=n3.getData("URL"))?(this.event.preventDefault(),s4.type="text/html",p3=(r3=n3.getData("public.url-name"))?e2.squishBreakableWhitespace(r3).trim():i2,s4.html=this.createLinkHTML(i2,p3),null!=(a3=this.delegate)&&a3.inputControllerWillPaste(s4),this.withTargetDOMRange((function(){var t4;return null!=(t4=this.responder)?t4.insertHTML(s4.html):void 0})),this.afterRender=function(t4){return function(){var e3;return null!=(e3=t4.delegate)?e3.inputControllerDidPaste(s4):void 0}}(this)):t3(n3)?(s4.type="text/plain",s4.string=n3.getData("text/plain"),null!=(u3=this.delegate)&&u3.inputControllerWillPaste(s4),this.withTargetDOMRange((function(){var t4;return null!=(t4=this.responder)?t4.insertString(s4.string):void 0})),this.afterRender=function(t4){return function(){var e3;return null!=(e3=t4.delegate)?e3.inputControllerDidPaste(s4):void 0}}(this)):(o3=n3.getData("text/html"))?(this.event.preventDefault(),s4.type="text/html",s4.html=o3,null!=(c3=this.delegate)&&c3.inputControllerWillPaste(s4),this.withTargetDOMRange((function(){var t4;return null!=(t4=this.responder)?t4.insertHTML(s4.html):void 0})),this.afterRender=function(t4){return function(){var e3;return null!=(e3=t4.delegate)?e3.inputControllerDidPaste(s4):void 0}}(this)):(null!=(l3=n3.files)?l3.length:void 0)?(s4.type="File",s4.file=n3.files[0],null!=(h3=this.delegate)&&h3.inputControllerWillPaste(s4),this.withTargetDOMRange((function(){var t4;return null!=(t4=this.responder)?t4.insertFile(s4.file):void 0})),this.afterRender=function(t4){return function(){var e3;return null!=(e3=t4.delegate)?e3.inputControllerDidPaste(s4):void 0}}(this)):void 0},insertFromYank:function(){return this.insertString(this.event.data)},insertLineBreak:function(){return this.insertString("\n")},insertLink:function(){return this.activateAttributeIfSupported("href",this.event.data)},insertOrderedList:function(){return this.toggleAttributeIfSupported("number")},insertParagraph:function(){var t4;return null!=(t4=this.delegate)&&t4.inputControllerWillPerformTyping(),this.withTargetDOMRange((function(){var t5;return null!=(t5=this.responder)?t5.insertLineBreak():void 0}))},insertReplacementText:function(){return this.insertString(this.event.dataTransfer.getData("text/plain"),{updatePosition:false})},insertText:function(){var t4,e3;return this.insertString(null!=(t4=this.event.data)?t4:null!=(e3=this.event.dataTransfer)?e3.getData("text/plain"):void 0)},insertTranspose:function(){return this.insertString(this.event.data)},insertUnorderedList:function(){return this.toggleAttributeIfSupported("bullet")}},u2.prototype.insertString=function(t4,e3){var n3;return null==t4&&(t4=""),null!=(n3=this.delegate)&&n3.inputControllerWillPerformTyping(),this.withTargetDOMRange((function(){var n4;return null!=(n4=this.responder)?n4.insertString(t4,e3):void 0}))},u2.prototype.toggleAttributeIfSupported=function(t4){var n3;return a2.call(e2.getAllAttributeNames(),t4)>=0?(null!=(n3=this.delegate)&&n3.inputControllerWillPerformFormatting(t4),this.withTargetDOMRange((function(){var e3;return null!=(e3=this.responder)?e3.toggleCurrentAttribute(t4):void 0}))):void 0},u2.prototype.activateAttributeIfSupported=function(t4,n3){var i2;return a2.call(e2.getAllAttributeNames(),t4)>=0?(null!=(i2=this.delegate)&&i2.inputControllerWillPerformFormatting(t4),this.withTargetDOMRange((function(){var e3;return null!=(e3=this.responder)?e3.setCurrentAttribute(t4,n3):void 0}))):void 0},u2.prototype.deleteInDirection=function(t4,e3){var n3,i2,o3,r3;return o3=(null!=e3?e3:{recordUndoEntry:true}).recordUndoEntry,o3&&null!=(r3=this.delegate)&&r3.inputControllerWillPerformTyping(),i2=function(e4){return function(){var n4;return null!=(n4=e4.responder)?n4.deleteInDirection(t4):void 0}}(this),(n3=this.getTargetDOMRange({minLength:2}))?this.withTargetDOMRange(n3,i2):i2()},u2.prototype.withTargetDOMRange=function(t4,n3){var i2;return"function"==typeof t4&&(n3=t4,t4=this.getTargetDOMRange()),t4?null!=(i2=this.responder)?i2.withTargetDOMRange(t4,n3.bind(this)):void 0:(e2.selectionChangeObserver.reset(),n3.call(this))},u2.prototype.getTargetDOMRange=function(t4){var e3,n3,i2,o3;return i2=(null!=t4?t4:{minLength:0}).minLength,(o3="function"==typeof(e3=this.event).getTargetRanges?e3.getTargetRanges():void 0)&&o3.length&&(n3=f2(o3[0]),0===i2||n3.toString().length>=i2)?n3:void 0},f2=function(t4){var e3;return e3=document.createRange(),e3.setStart(t4.startContainer,t4.startOffset),e3.setEnd(t4.endContainer,t4.endOffset),e3},u2.prototype.withEvent=function(t4,e3){var n3;this.event=t4;try{n3=e3.call(this)}finally{this.event=null}return n3},c2=function(t4){var e3,n3;return a2.call(null!=(e3=null!=(n3=t4.dataTransfer)?n3.types:void 0)?e3:[],"Files")>=0},h2=function(t4){var e3;return(e3=t4.clipboardData)?a2.call(e3.types,"Files")>=0&&1===e3.types.length&&e3.files.length>=1:void 0},p2=function(t4){var e3;return(e3=t4.clipboardData)?a2.call(e3.types,"text/plain")>=0&&1===e3.types.length:void 0},l2=function(t4){var e3;return e3=[],t4.altKey&&e3.push("alt"),t4.shiftKey&&e3.push("shift"),e3.push(t4.key),e3},d2=function(t4){return{x:t4.clientX,y:t4.clientY}},u2}(e2.InputController)}.call(this),function(){var t3,n2,i,o2,r2,s2,a2,u2,c2=function(t4,e3){return function(){return t4.apply(e3,arguments)}},l2=function(t4,e3){function n3(){this.constructor=t4}for(var i2 in e3)h2.call(e3,i2)&&(t4[i2]=e3[i2]);return n3.prototype=e3.prototype,t4.prototype=new n3,t4.__super__=e3.prototype,t4},h2={}.hasOwnProperty;n2=e2.defer,i=e2.handleEvent,s2=e2.makeElement,u2=e2.tagName,a2=e2.config,r2=a2.lang,t3=a2.css,o2=a2.keyNames,e2.AttachmentEditorController=function(a3){function h3(t4,e3,n3,i2){this.attachmentPiece=t4,this.element=e3,this.container=n3,this.options=null!=i2?i2:{},this.didBlurCaption=c2(this.didBlurCaption,this),this.didChangeCaption=c2(this.didChangeCaption,this),this.didInputCaption=c2(this.didInputCaption,this),this.didKeyDownCaption=c2(this.didKeyDownCaption,this),this.didClickActionButton=c2(this.didClickActionButton,this),this.didClickToolbar=c2(this.didClickToolbar,this),this.attachment=this.attachmentPiece.attachment,"a"===u2(this.element)&&(this.element=this.element.firstChild),this.install()}var p2;return l2(h3,a3),p2=function(t4){return function(){var e3;return e3=t4.apply(this,arguments),e3["do"](),null==this.undos&&(this.undos=[]),this.undos.push(e3.undo)}},h3.prototype.install=function(){return this.makeElementMutable(),this.addToolbar(),this.attachment.isPreviewable()?this.installCaptionEditor():void 0},h3.prototype.uninstall=function(){var t4,e3;for(this.savePendingCaption();e3=this.undos.pop();)e3();return null!=(t4=this.delegate)?t4.didUninstallAttachmentEditor(this):void 0},h3.prototype.savePendingCaption=function(){var t4,e3,n3;return null!=this.pendingCaption?(t4=this.pendingCaption,this.pendingCaption=null,t4?null!=(e3=this.delegate)&&"function"==typeof e3.attachmentEditorDidRequestUpdatingAttributesForAttachment?e3.attachmentEditorDidRequestUpdatingAttributesForAttachment({caption:t4},this.attachment):void 0:null!=(n3=this.delegate)&&"function"==typeof n3.attachmentEditorDidRequestRemovingAttributeForAttachment?n3.attachmentEditorDidRequestRemovingAttributeForAttachment("caption",this.attachment):void 0):void 0},h3.prototype.makeElementMutable=p2((function(){return{do:function(t4){return function(){return t4.element.dataset.trixMutable=true}}(this),undo:function(t4){return function(){return delete t4.element.dataset.trixMutable}}(this)}})),h3.prototype.addToolbar=p2((function(){var n3;return n3=s2({tagName:"div",className:t3.attachmentToolbar,data:{trixMutable:true},childNodes:s2({tagName:"div",className:"trix-button-row",childNodes:s2({tagName:"span",className:"trix-button-group trix-button-group--actions",childNodes:s2({tagName:"button",className:"trix-button trix-button--remove",textContent:r2.remove,attributes:{title:r2.remove},data:{trixAction:"remove"}})})})}),this.attachment.isPreviewable()&&n3.appendChild(s2({tagName:"div",className:t3.attachmentMetadataContainer,childNodes:s2({tagName:"span",className:t3.attachmentMetadata,childNodes:[s2({tagName:"span",className:t3.attachmentName,textContent:this.attachment.getFilename(),attributes:{title:this.attachment.getFilename()}}),s2({tagName:"span",className:t3.attachmentSize,textContent:this.attachment.getFormattedFilesize()})]})})),i("click",{onElement:n3,withCallback:this.didClickToolbar}),i("click",{onElement:n3,matchingSelector:"[data-trix-action]",withCallback:this.didClickActionButton}),{do:function(t4){return function(){return t4.element.appendChild(n3)}}(this),undo:function(){return function(){return e2.removeNode(n3)}}()}})),h3.prototype.installCaptionEditor=p2((function(){var o3,a4,u3,c3,l3;return c3=s2({tagName:"textarea",className:t3.attachmentCaptionEditor,attributes:{placeholder:r2.captionPlaceholder},data:{trixMutable:true}}),c3.value=this.attachmentPiece.getCaption(),l3=c3.cloneNode(),l3.classList.add("trix-autoresize-clone"),l3.tabIndex=-1,o3=function(){return l3.value=c3.value,c3.style.height=l3.scrollHeight+"px"},i("input",{onElement:c3,withCallback:o3}),i("input",{onElement:c3,withCallback:this.didInputCaption}),i("keydown",{onElement:c3,withCallback:this.didKeyDownCaption}),i("change",{onElement:c3,withCallback:this.didChangeCaption}),i("blur",{onElement:c3,withCallback:this.didBlurCaption}),u3=this.element.querySelector("figcaption"),a4=u3.cloneNode(),{do:function(e3){return function(){return u3.style.display="none",a4.appendChild(c3),a4.appendChild(l3),a4.classList.add(t3.attachmentCaption+"--editing"),u3.parentElement.insertBefore(a4,u3),o3(),e3.options.editCaption?n2((function(){return c3.focus()})):void 0}}(this),undo:function(){return e2.removeNode(a4),u3.style.display=null}}})),h3.prototype.didClickToolbar=function(t4){return t4.preventDefault(),t4.stopPropagation()},h3.prototype.didClickActionButton=function(t4){var n3;switch(t4.target.getAttribute("data-trix-action")){case"remove":return null!=(n3=this.delegate)?n3.attachmentEditorDidRequestRemovalOfAttachment(this.attachment):void 0}},h3.prototype.didKeyDownCaption=function(t4){var e3;return"return"===o2[t4.keyCode]?(t4.preventDefault(),this.savePendingCaption(),null!=(e3=this.delegate)&&"function"==typeof e3.attachmentEditorDidRequestDeselectingAttachment?e3.attachmentEditorDidRequestDeselectingAttachment(this.attachment):void 0):void 0},h3.prototype.didInputCaption=function(t4){return this.pendingCaption=t4.target.value.replace(/\s/g," ").trim()},h3.prototype.didChangeCaption=function(){return this.savePendingCaption()},h3.prototype.didBlurCaption=function(){return this.savePendingCaption()},h3}(e2.BasicObject)}.call(this),function(){var t3,n2,i,o2=function(t4,e3){function n3(){this.constructor=t4}for(var i2 in e3)r2.call(e3,i2)&&(t4[i2]=e3[i2]);return n3.prototype=e3.prototype,t4.prototype=new n3,t4.__super__=e3.prototype,t4},r2={}.hasOwnProperty;i=e2.makeElement,t3=e2.config.css,e2.AttachmentView=function(r3){function s2(){s2.__super__.constructor.apply(this,arguments),this.attachment=this.object,this.attachment.uploadProgressDelegate=this,this.attachmentPiece=this.options.piece}var a2;return o2(s2,r3),s2.attachmentSelector="[data-trix-attachment]",s2.prototype.createContentNodes=function(){return[]},s2.prototype.createNodes=function(){var e3,n3,o3,r4,s3,u2,c2;if(e3=r4=i({tagName:"figure",className:this.getClassName(),data:this.getData(),editable:false}),(n3=this.getHref())&&(r4=i({tagName:"a",editable:false,attributes:{href:n3,tabindex:-1}}),e3.appendChild(r4)),this.attachment.hasContent())r4.innerHTML=this.attachment.getContent();else for(c2=this.createContentNodes(),o3=0,s3=c2.length;s3>o3;o3++)u2=c2[o3],r4.appendChild(u2);return r4.appendChild(this.createCaptionElement()),this.attachment.isPending()&&(this.progressElement=i({tagName:"progress",attributes:{class:t3.attachmentProgress,value:this.attachment.getUploadProgress(),max:100},data:{trixMutable:true,trixStoreKey:["progressElement",this.attachment.id].join("/")}}),e3.appendChild(this.progressElement)),[a2("left"),e3,a2("right")]},s2.prototype.createCaptionElement=function(){var e3,n3,o3,r4,s3,a3,u2;return o3=i({tagName:"figcaption",className:t3.attachmentCaption}),(e3=this.attachmentPiece.getCaption())?(o3.classList.add(t3.attachmentCaption+"--edited"),o3.textContent=e3):(n3=this.getCaptionConfig(),n3.name&&(r4=this.attachment.getFilename()),n3.size&&(a3=this.attachment.getFormattedFilesize()),r4&&(s3=i({tagName:"span",className:t3.attachmentName,textContent:r4}),o3.appendChild(s3)),a3&&(r4&&o3.appendChild(document.createTextNode(" ")),u2=i({tagName:"span",className:t3.attachmentSize,textContent:a3}),o3.appendChild(u2))),o3},s2.prototype.getClassName=function(){var e3,n3;return n3=[t3.attachment,t3.attachment+"--"+this.attachment.getType()],(e3=this.attachment.getExtension())&&n3.push(t3.attachment+"--"+e3),n3.join(" ")},s2.prototype.getData=function(){var t4,e3;return e3={trixAttachment:JSON.stringify(this.attachment),trixContentType:this.attachment.getContentType(),trixId:this.attachment.id},t4=this.attachmentPiece.attributes,t4.isEmpty()||(e3.trixAttributes=JSON.stringify(t4)),this.attachment.isPending()&&(e3.trixSerialize=false),e3},s2.prototype.getHref=function(){return n2(this.attachment.getContent(),"a")?void 0:this.attachment.getHref()},s2.prototype.getCaptionConfig=function(){var t4,n3,i2;return i2=this.attachment.getType(),t4=e2.copyObject(null!=(n3=e2.config.attachments[i2])?n3.caption:void 0),"file"===i2&&(t4.name=true),t4},s2.prototype.findProgressElement=function(){var t4;return null!=(t4=this.findElement())?t4.querySelector("progress"):void 0},a2=function(t4){return i({tagName:"span",textContent:e2.ZERO_WIDTH_SPACE,data:{trixCursorTarget:t4,trixSerialize:false}})},s2.prototype.attachmentDidChangeUploadProgress=function(){var t4,e3;return e3=this.attachment.getUploadProgress(),null!=(t4=this.findProgressElement())?t4.value=e3:void 0},s2}(e2.ObjectView),n2=function(t4,e3){var n3;return n3=i("div"),n3.innerHTML=null!=t4?t4:"",n3.querySelector(e3)}}.call(this),function(){var t3,n2=function(t4,e3){function n3(){this.constructor=t4}for(var o2 in e3)i.call(e3,o2)&&(t4[o2]=e3[o2]);return n3.prototype=e3.prototype,t4.prototype=new n3,t4.__super__=e3.prototype,t4},i={}.hasOwnProperty;t3=e2.makeElement,e2.PreviewableAttachmentView=function(i2){function o2(){o2.__super__.constructor.apply(this,arguments),this.attachment.previewDelegate=this}return n2(o2,i2),o2.prototype.createContentNodes=function(){return this.image=t3({tagName:"img",attributes:{src:""},data:{trixMutable:true}}),this.refresh(this.image),[this.image]},o2.prototype.createCaptionElement=function(){var t4;return t4=o2.__super__.createCaptionElement.apply(this,arguments),t4.textContent||t4.setAttribute("data-trix-placeholder",e2.config.lang.captionPlaceholder),t4},o2.prototype.refresh=function(t4){var e3;return null==t4&&(t4=null!=(e3=this.findElement())?e3.querySelector("img"):void 0),t4?this.updateAttributesForImage(t4):void 0},o2.prototype.updateAttributesForImage=function(t4){var e3,n3,i3,o3,r2,s2;return r2=this.attachment.getURL(),n3=this.attachment.getPreviewURL(),t4.src=n3||r2,n3===r2?t4.removeAttribute("data-trix-serialized-attributes"):(i3=JSON.stringify({src:r2}),t4.setAttribute("data-trix-serialized-attributes",i3)),s2=this.attachment.getWidth(),e3=this.attachment.getHeight(),null!=s2&&(t4.width=s2),null!=e3&&(t4.height=e3),o3=["imageElement",this.attachment.id,t4.src,t4.width,t4.height].join("/"),t4.dataset.trixStoreKey=o3},o2.prototype.attachmentDidChangeAttributes=function(){return this.refresh(this.image),this.refresh()},o2}(e2.AttachmentView)}.call(this),function(){var t3,n2,i,o2=function(t4,e3){function n3(){this.constructor=t4}for(var i2 in e3)r2.call(e3,i2)&&(t4[i2]=e3[i2]);return n3.prototype=e3.prototype,t4.prototype=new n3,t4.__super__=e3.prototype,t4},r2={}.hasOwnProperty;i=e2.makeElement,t3=e2.findInnerElement,n2=e2.getTextConfig,e2.PieceView=function(r3){function s2(){var t4;s2.__super__.constructor.apply(this,arguments),this.piece=this.object,this.attributes=this.piece.getAttributes(),t4=this.options,this.textConfig=t4.textConfig,this.context=t4.context,this.piece.attachment?this.attachment=this.piece.attachment:this.string=this.piece.toString()}var a2;return o2(s2,r3),s2.prototype.createNodes=function(){var e3,n3,i2,o3,r4,s3;if(s3=this.attachment?this.createAttachmentNodes():this.createStringNodes(),e3=this.createElement()){for(i2=t3(e3),n3=0,o3=s3.length;o3>n3;n3++)r4=s3[n3],i2.appendChild(r4);s3=[e3]}return s3},s2.prototype.createAttachmentNodes=function(){var t4,n3;return t4=this.attachment.isPreviewable()?e2.PreviewableAttachmentView:e2.AttachmentView,n3=this.createChildView(t4,this.piece.attachment,{piece:this.piece}),n3.getNodes()},s2.prototype.createStringNodes=function(){var t4,e3,n3,o3,s3,a3,u2,c2,l2;if(null!=(u2=this.textConfig)?u2.plaintext:void 0)return[document.createTextNode(this.string)];for(a3=[],c2=this.string.split("\n"),n3=e3=0,o3=c2.length;o3>e3;n3=++e3)l2=c2[n3],n3>0&&(t4=i("br"),a3.push(t4)),l2.length&&(s3=document.createTextNode(this.preserveSpaces(l2)),a3.push(s3));return a3},s2.prototype.createElement=function(){var t4,e3,o3,r4,s3,a3,u2,c2,l2;c2={},a3=this.attributes;for(r4 in a3)if(l2=a3[r4],(t4=n2(r4))&&(t4.tagName&&(s3=i(t4.tagName),o3?(o3.appendChild(s3),o3=s3):e3=o3=s3),t4.styleProperty&&(c2[t4.styleProperty]=l2),t4.style)){u2=t4.style;for(r4 in u2)l2=u2[r4],c2[r4]=l2}if(Object.keys(c2).length){null==e3&&(e3=i("span"));for(r4 in c2)l2=c2[r4],e3.style[r4]=l2}return e3},s2.prototype.createContainerElement=function(){var t4,e3,o3,r4,s3;r4=this.attributes;for(o3 in r4)if(s3=r4[o3],(e3=n2(o3))&&e3.groupTagName)return t4={},t4[o3]=s3,i(e3.groupTagName,t4)},a2=e2.NON_BREAKING_SPACE,s2.prototype.preserveSpaces=function(t4){return this.context.isLast&&(t4=t4.replace(/\ $/,a2)),t4=t4.replace(/(\S)\ {3}(\S)/g,"$1 "+a2+" $2").replace(/\ {2}/g,a2+" ").replace(/\ {2}/g," "+a2),(this.context.isFirst||this.context.followsWhitespace)&&(t4=t4.replace(/^\ /,a2)),t4},s2}(e2.ObjectView)}.call(this),function(){var t3=function(t4,e3){function i(){this.constructor=t4}for(var o2 in e3)n2.call(e3,o2)&&(t4[o2]=e3[o2]);return i.prototype=e3.prototype,t4.prototype=new i,t4.__super__=e3.prototype,t4},n2={}.hasOwnProperty;e2.TextView=function(n3){function i(){i.__super__.constructor.apply(this,arguments),this.text=this.object,this.textConfig=this.options.textConfig}var o2;return t3(i,n3),i.prototype.createNodes=function(){var t4,n4,i2,r2,s2,a2,u2,c2,l2,h2;for(a2=[],c2=e2.ObjectGroup.groupObjects(this.getPieces()),r2=c2.length-1,i2=n4=0,s2=c2.length;s2>n4;i2=++n4)u2=c2[i2],t4={},0===i2&&(t4.isFirst=true),i2===r2&&(t4.isLast=true),o2(l2)&&(t4.followsWhitespace=true),h2=this.findOrCreateCachedChildView(e2.PieceView,u2,{textConfig:this.textConfig,context:t4}),a2.push.apply(a2,h2.getNodes()),l2=u2;return a2},i.prototype.getPieces=function(){var t4,e3,n4,i2,o3;for(i2=this.text.getPieces(),o3=[],t4=0,e3=i2.length;e3>t4;t4++)n4=i2[t4],n4.hasAttribute("blockBreak")||o3.push(n4);return o3},o2=function(t4){return/\s$/.test(null!=t4?t4.toString():void 0)},i}(e2.ObjectView)}.call(this),function(){var t3,n2,i,o2=function(t4,e3){function n3(){this.constructor=t4}for(var i2 in e3)r2.call(e3,i2)&&(t4[i2]=e3[i2]);return n3.prototype=e3.prototype,t4.prototype=new n3,t4.__super__=e3.prototype,t4},r2={}.hasOwnProperty;i=e2.makeElement,n2=e2.getBlockConfig,t3=e2.config.css,e2.BlockView=function(r3){function s2(){s2.__super__.constructor.apply(this,arguments),this.block=this.object,this.attributes=this.block.getAttributes()}return o2(s2,r3),s2.prototype.createNodes=function(){var t4,o3,r4,s3,a2,u2,c2,l2,h2,p2,d2;if(o3=document.createComment("block"),c2=[o3],this.block.isEmpty()?c2.push(i("br")):(p2=null!=(l2=n2(this.block.getLastAttribute()))?l2.text:void 0,d2=this.findOrCreateCachedChildView(e2.TextView,this.block.text,{textConfig:p2}),c2.push.apply(c2,d2.getNodes()),this.shouldAddExtraNewlineElement()&&c2.push(i("br"))),this.attributes.length)return c2;for(h2=e2.config.blockAttributes["default"].tagName,this.block.isRTL()&&(t4={dir:"rtl"}),r4=i({tagName:h2,attributes:t4}),s3=0,a2=c2.length;a2>s3;s3++)u2=c2[s3],r4.appendChild(u2);return[r4]},s2.prototype.createContainerElement=function(e3){var o3,r4,s3,a2,u2;return o3=this.attributes[e3],u2=n2(o3).tagName,0===e3&&this.block.isRTL()&&(r4={dir:"rtl"}),"attachmentGallery"===o3&&(a2=this.block.getBlockBreakPosition(),s3=t3.attachmentGallery+" "+t3.attachmentGallery+"--"+a2),i({tagName:u2,className:s3,attributes:r4})},s2.prototype.shouldAddExtraNewlineElement=function(){return/\n\n$/.test(this.block.toString())},s2}(e2.ObjectView)}.call(this),function(){var t3,n2,i=function(t4,e3){function n3(){this.constructor=t4}for(var i2 in e3)o2.call(e3,i2)&&(t4[i2]=e3[i2]);return n3.prototype=e3.prototype,t4.prototype=new n3,t4.__super__=e3.prototype,t4},o2={}.hasOwnProperty;t3=e2.defer,n2=e2.makeElement,e2.DocumentView=function(o3){function r2(){r2.__super__.constructor.apply(this,arguments),this.element=this.options.element,this.elementStore=new e2.ElementStore,this.setDocument(this.object)}var s2,a2,u2;return i(r2,o3),r2.render=function(t4){var e3,i2;return e3=n2("div"),i2=new this(t4,{element:e3}),i2.render(),i2.sync(),e3},r2.prototype.setDocument=function(t4){return t4.isEqualTo(this.document)?void 0:this.document=this.object=t4},r2.prototype.render=function(){var t4,i2,o4,r3,s3,a3,u3;if(this.childViews=[],this.shadowElement=n2("div"),!this.document.isEmpty()){for(s3=e2.ObjectGroup.groupObjects(this.document.getBlocks(),{asTree:true}),a3=[],t4=0,i2=s3.length;i2>t4;t4++)r3=s3[t4],u3=this.findOrCreateCachedChildView(e2.BlockView,r3),a3.push(function(){var t5,e3,n3,i3;for(n3=u3.getNodes(),i3=[],t5=0,e3=n3.length;e3>t5;t5++)o4=n3[t5],i3.push(this.shadowElement.appendChild(o4));return i3}.call(this));return a3}},r2.prototype.isSynced=function(){return s2(this.shadowElement,this.element)},r2.prototype.sync=function(){var t4;for(t4=this.createDocumentFragmentForSync();this.element.lastChild;)this.element.removeChild(this.element.lastChild);return this.element.appendChild(t4),this.didSync()},r2.prototype.didSync=function(){return this.elementStore.reset(a2(this.element)),t3(function(t4){return function(){return t4.garbageCollectCachedViews()}}(this))},r2.prototype.createDocumentFragmentForSync=function(){var t4,e3,n3,i2,o4,r3,s3,u3,c2,l2;for(e3=document.createDocumentFragment(),u3=this.shadowElement.childNodes,n3=0,o4=u3.length;o4>n3;n3++)s3=u3[n3],e3.appendChild(s3.cloneNode(true));for(c2=a2(e3),i2=0,r3=c2.length;r3>i2;i2++)t4=c2[i2],(l2=this.elementStore.remove(t4))&&t4.parentNode.replaceChild(l2,t4);return e3},a2=function(t4){return t4.querySelectorAll("[data-trix-store-key]")},s2=function(t4,e3){return u2(t4.innerHTML)===u2(e3.innerHTML)},u2=function(t4){return t4.replace(/&nbsp;/g," ")},r2}(e2.ObjectView)}.call(this),function(){var t3,n2,i,o2,r2,s2=function(t4,e3){return function(){return t4.apply(e3,arguments)}},a2=function(t4,e3){function n3(){this.constructor=t4}for(var i2 in e3)u2.call(e3,i2)&&(t4[i2]=e3[i2]);return n3.prototype=e3.prototype,t4.prototype=new n3,t4.__super__=e3.prototype,t4},u2={}.hasOwnProperty;i=e2.findClosestElementFromNode,o2=e2.handleEvent,r2=e2.innerElementIsActive,n2=e2.defer,t3=e2.AttachmentView.attachmentSelector,e2.CompositionController=function(u3){function c2(n3,i2){this.element=n3,this.composition=i2,this.didClickAttachment=s2(this.didClickAttachment,this),this.didBlur=s2(this.didBlur,this),this.didFocus=s2(this.didFocus,this),this.documentView=new e2.DocumentView(this.composition.document,{element:this.element}),o2("focus",{onElement:this.element,withCallback:this.didFocus}),o2("blur",{onElement:this.element,withCallback:this.didBlur}),o2("click",{onElement:this.element,matchingSelector:"a[contenteditable=false]",preventDefault:true}),o2("mousedown",{onElement:this.element,matchingSelector:t3,withCallback:this.didClickAttachment}),o2("click",{onElement:this.element,matchingSelector:"a"+t3,preventDefault:true})}return a2(c2,u3),c2.prototype.didFocus=function(){var t4,e3,n3;return t4=function(t5){return function(){var e4;return t5.focused?void 0:(t5.focused=true,null!=(e4=t5.delegate)&&"function"==typeof e4.compositionControllerDidFocus?e4.compositionControllerDidFocus():void 0)}}(this),null!=(e3=null!=(n3=this.blurPromise)?n3.then(t4):void 0)?e3:t4()},c2.prototype.didBlur=function(){return this.blurPromise=new Promise(function(t4){return function(e3){return n2((function(){var n3;return r2(t4.element)||(t4.focused=null,null!=(n3=t4.delegate)&&"function"==typeof n3.compositionControllerDidBlur&&n3.compositionControllerDidBlur()),t4.blurPromise=null,e3()}))}}(this))},c2.prototype.didClickAttachment=function(t4,e3){var n3,o3,r3;return n3=this.findAttachmentForElement(e3),o3=null!=i(t4.target,{matchingSelector:"figcaption"}),null!=(r3=this.delegate)&&"function"==typeof r3.compositionControllerDidSelectAttachment?r3.compositionControllerDidSelectAttachment(n3,{editCaption:o3}):void 0},c2.prototype.getSerializableElement=function(){return this.isEditingAttachment()?this.documentView.shadowElement:this.element},c2.prototype.render=function(){var t4,e3,n3;return this.revision!==this.composition.revision&&(this.documentView.setDocument(this.composition.document),this.documentView.render(),this.revision=this.composition.revision),this.canSyncDocumentView()&&!this.documentView.isSynced()&&(null!=(t4=this.delegate)&&"function"==typeof t4.compositionControllerWillSyncDocumentView&&t4.compositionControllerWillSyncDocumentView(),this.documentView.sync(),null!=(e3=this.delegate)&&"function"==typeof e3.compositionControllerDidSyncDocumentView&&e3.compositionControllerDidSyncDocumentView()),null!=(n3=this.delegate)&&"function"==typeof n3.compositionControllerDidRender?n3.compositionControllerDidRender():void 0},c2.prototype.rerenderViewForObject=function(t4){return this.invalidateViewForObject(t4),this.render()},c2.prototype.invalidateViewForObject=function(t4){return this.documentView.invalidateViewForObject(t4)},c2.prototype.isViewCachingEnabled=function(){return this.documentView.isViewCachingEnabled()},c2.prototype.enableViewCaching=function(){return this.documentView.enableViewCaching()},c2.prototype.disableViewCaching=function(){return this.documentView.disableViewCaching()},c2.prototype.refreshViewCache=function(){return this.documentView.garbageCollectCachedViews()},c2.prototype.isEditingAttachment=function(){return null!=this.attachmentEditor},c2.prototype.installAttachmentEditorForAttachment=function(t4,n3){var i2,o3,r3;if((null!=(r3=this.attachmentEditor)?r3.attachment:void 0)!==t4&&(o3=this.documentView.findElementForObject(t4)))return this.uninstallAttachmentEditor(),i2=this.composition.document.getAttachmentPieceForAttachment(t4),this.attachmentEditor=new e2.AttachmentEditorController(i2,o3,this.element,n3),this.attachmentEditor.delegate=this},c2.prototype.uninstallAttachmentEditor=function(){var t4;return null!=(t4=this.attachmentEditor)?t4.uninstall():void 0},c2.prototype.didUninstallAttachmentEditor=function(){return this.attachmentEditor=null,this.render()},c2.prototype.attachmentEditorDidRequestUpdatingAttributesForAttachment=function(t4,e3){var n3;return null!=(n3=this.delegate)&&"function"==typeof n3.compositionControllerWillUpdateAttachment&&n3.compositionControllerWillUpdateAttachment(e3),this.composition.updateAttributesForAttachment(t4,e3)},c2.prototype.attachmentEditorDidRequestRemovingAttributeForAttachment=function(t4,e3){var n3;return null!=(n3=this.delegate)&&"function"==typeof n3.compositionControllerWillUpdateAttachment&&n3.compositionControllerWillUpdateAttachment(e3),this.composition.removeAttributeForAttachment(t4,e3)},c2.prototype.attachmentEditorDidRequestRemovalOfAttachment=function(t4){var e3;return null!=(e3=this.delegate)&&"function"==typeof e3.compositionControllerDidRequestRemovalOfAttachment?e3.compositionControllerDidRequestRemovalOfAttachment(t4):void 0},c2.prototype.attachmentEditorDidRequestDeselectingAttachment=function(t4){var e3;return null!=(e3=this.delegate)&&"function"==typeof e3.compositionControllerDidRequestDeselectingAttachment?e3.compositionControllerDidRequestDeselectingAttachment(t4):void 0},c2.prototype.canSyncDocumentView=function(){return!this.isEditingAttachment()},c2.prototype.findAttachmentForElement=function(t4){return this.composition.document.getAttachmentById(parseInt(t4.dataset.trixId,10))},c2}(e2.BasicObject)}.call(this),function(){var t3,n2,i,o2=function(t4,e3){return function(){return t4.apply(e3,arguments)}},r2=function(t4,e3){function n3(){this.constructor=t4}for(var i2 in e3)s2.call(e3,i2)&&(t4[i2]=e3[i2]);return n3.prototype=e3.prototype,t4.prototype=new n3,t4.__super__=e3.prototype,t4},s2={}.hasOwnProperty;n2=e2.handleEvent,i=e2.triggerEvent,t3=e2.findClosestElementFromNode,e2.ToolbarController=function(e3){function s3(t4){this.element=t4,this.didKeyDownDialogInput=o2(this.didKeyDownDialogInput,this),this.didClickDialogButton=o2(this.didClickDialogButton,this),this.didClickAttributeButton=o2(this.didClickAttributeButton,this),this.didClickActionButton=o2(this.didClickActionButton,this),this.attributes={},this.actions={},this.resetDialogInputs(),n2("mousedown",{onElement:this.element,matchingSelector:a2,withCallback:this.didClickActionButton}),n2("mousedown",{onElement:this.element,matchingSelector:c2,withCallback:this.didClickAttributeButton}),n2("click",{onElement:this.element,matchingSelector:v2,preventDefault:true}),n2("click",{onElement:this.element,matchingSelector:l2,withCallback:this.didClickDialogButton}),n2("keydown",{onElement:this.element,matchingSelector:h2,withCallback:this.didKeyDownDialogInput})}var a2,u2,c2,l2,h2,p2,d2,f2,g2,m2,v2;return r2(s3,e3),c2="[data-trix-attribute]",a2="[data-trix-action]",v2=c2+", "+a2,p2="[data-trix-dialog]",u2=p2+"[data-trix-active]",l2=p2+" [data-trix-method]",h2=p2+" [data-trix-input]",s3.prototype.didClickActionButton=function(t4,e4){var n3,i2,o3;return null!=(i2=this.delegate)&&i2.toolbarDidClickButton(),t4.preventDefault(),n3=d2(e4),this.getDialog(n3)?this.toggleDialog(n3):null!=(o3=this.delegate)?o3.toolbarDidInvokeAction(n3):void 0},s3.prototype.didClickAttributeButton=function(t4,e4){var n3,i2,o3;return null!=(i2=this.delegate)&&i2.toolbarDidClickButton(),t4.preventDefault(),n3=f2(e4),this.getDialog(n3)?this.toggleDialog(n3):null!=(o3=this.delegate)&&o3.toolbarDidToggleAttribute(n3),this.refreshAttributeButtons()},s3.prototype.didClickDialogButton=function(e4,n3){var i2,o3;return i2=t3(n3,{matchingSelector:p2}),o3=n3.getAttribute("data-trix-method"),this[o3].call(this,i2)},s3.prototype.didKeyDownDialogInput=function(t4,e4){var n3,i2;return 13===t4.keyCode&&(t4.preventDefault(),n3=e4.getAttribute("name"),i2=this.getDialog(n3),this.setAttribute(i2)),27===t4.keyCode?(t4.preventDefault(),this.hideDialog()):void 0},s3.prototype.updateActions=function(t4){return this.actions=t4,this.refreshActionButtons()},s3.prototype.refreshActionButtons=function(){return this.eachActionButton(function(t4){return function(e4,n3){return e4.disabled=t4.actions[n3]===false}}(this))},s3.prototype.eachActionButton=function(t4){var e4,n3,i2,o3,r3;for(o3=this.element.querySelectorAll(a2),r3=[],n3=0,i2=o3.length;i2>n3;n3++)e4=o3[n3],r3.push(t4(e4,d2(e4)));return r3},s3.prototype.updateAttributes=function(t4){return this.attributes=t4,this.refreshAttributeButtons()},s3.prototype.refreshAttributeButtons=function(){return this.eachAttributeButton(function(t4){return function(e4,n3){return e4.disabled=t4.attributes[n3]===false,t4.attributes[n3]||t4.dialogIsVisible(n3)?(e4.setAttribute("data-trix-active",""),e4.classList.add("trix-active")):(e4.removeAttribute("data-trix-active"),e4.classList.remove("trix-active"))}}(this))},s3.prototype.eachAttributeButton=function(t4){var e4,n3,i2,o3,r3;for(o3=this.element.querySelectorAll(c2),r3=[],n3=0,i2=o3.length;i2>n3;n3++)e4=o3[n3],r3.push(t4(e4,f2(e4)));return r3},s3.prototype.applyKeyboardCommand=function(t4){var e4,n3,o3,r3,s4,a3,u3;for(s4=JSON.stringify(t4.sort()),u3=this.element.querySelectorAll("[data-trix-key]"),r3=0,a3=u3.length;a3>r3;r3++)if(e4=u3[r3],o3=e4.getAttribute("data-trix-key").split("+"),n3=JSON.stringify(o3.sort()),n3===s4)return i("mousedown",{onElement:e4}),true;return false},s3.prototype.dialogIsVisible=function(t4){var e4;return(e4=this.getDialog(t4))?e4.hasAttribute("data-trix-active"):void 0},s3.prototype.toggleDialog=function(t4){return this.dialogIsVisible(t4)?this.hideDialog():this.showDialog(t4)},s3.prototype.showDialog=function(t4){var e4,n3,i2,o3,r3,s4,a3,u3,c3,l3;for(this.hideDialog(),null!=(a3=this.delegate)&&a3.toolbarWillShowDialog(),i2=this.getDialog(t4),i2.setAttribute("data-trix-active",""),i2.classList.add("trix-active"),u3=i2.querySelectorAll("input[disabled]"),o3=0,s4=u3.length;s4>o3;o3++)n3=u3[o3],n3.removeAttribute("disabled");return(e4=f2(i2))&&(r3=m2(i2,t4))&&(r3.value=null!=(c3=this.attributes[e4])?c3:"",r3.select()),null!=(l3=this.delegate)?l3.toolbarDidShowDialog(t4):void 0},s3.prototype.setAttribute=function(t4){var e4,n3,i2;return e4=f2(t4),n3=m2(t4,e4),n3.willValidate&&!n3.checkValidity()?(n3.setAttribute("data-trix-validate",""),n3.classList.add("trix-validate"),n3.focus()):(null!=(i2=this.delegate)&&i2.toolbarDidUpdateAttribute(e4,n3.value),this.hideDialog())},s3.prototype.removeAttribute=function(t4){var e4,n3;return e4=f2(t4),null!=(n3=this.delegate)&&n3.toolbarDidRemoveAttribute(e4),this.hideDialog()},s3.prototype.hideDialog=function(){var t4,e4;return(t4=this.element.querySelector(u2))?(t4.removeAttribute("data-trix-active"),t4.classList.remove("trix-active"),this.resetDialogInputs(),null!=(e4=this.delegate)?e4.toolbarDidHideDialog(g2(t4)):void 0):void 0},s3.prototype.resetDialogInputs=function(){var t4,e4,n3,i2,o3;for(i2=this.element.querySelectorAll(h2),o3=[],t4=0,n3=i2.length;n3>t4;t4++)e4=i2[t4],e4.setAttribute("disabled","disabled"),e4.removeAttribute("data-trix-validate"),o3.push(e4.classList.remove("trix-validate"));return o3},s3.prototype.getDialog=function(t4){return this.element.querySelector("[data-trix-dialog="+t4+"]")},m2=function(t4,e4){return null==e4&&(e4=f2(t4)),t4.querySelector("[data-trix-input][name='"+e4+"']")},d2=function(t4){return t4.getAttribute("data-trix-action")},f2=function(t4){var e4;return null!=(e4=t4.getAttribute("data-trix-attribute"))?e4:t4.getAttribute("data-trix-dialog-attribute")},g2=function(t4){return t4.getAttribute("data-trix-dialog")},s3}(e2.BasicObject)}.call(this),function(){var t3=function(t4,e3){function i(){this.constructor=t4}for(var o2 in e3)n2.call(e3,o2)&&(t4[o2]=e3[o2]);return i.prototype=e3.prototype,t4.prototype=new i,t4.__super__=e3.prototype,t4},n2={}.hasOwnProperty;e2.ImagePreloadOperation=function(e3){function n3(t4){this.url=t4}return t3(n3,e3),n3.prototype.perform=function(t4){var e4;return e4=new Image,e4.onload=function(n4){return function(){return e4.width=n4.width=e4.naturalWidth,e4.height=n4.height=e4.naturalHeight,t4(true,e4)}}(this),e4.onerror=function(){return t4(false)},e4.src=this.url},n3}(e2.Operation)}.call(this),function(){var t3=function(t4,e3){return function(){return t4.apply(e3,arguments)}},n2=function(t4,e3){function n3(){this.constructor=t4}for(var o2 in e3)i.call(e3,o2)&&(t4[o2]=e3[o2]);return n3.prototype=e3.prototype,t4.prototype=new n3,t4.__super__=e3.prototype,t4},i={}.hasOwnProperty;e2.Attachment=function(i2){function o2(n3){null==n3&&(n3={}),this.releaseFile=t3(this.releaseFile,this),o2.__super__.constructor.apply(this,arguments),this.attributes=e2.Hash.box(n3),this.didChangeAttributes()}return n2(o2,i2),o2.previewablePattern=/^image(\/(gif|png|jpe?g)|$)/,o2.attachmentForFile=function(t4){var e3,n3;return n3=this.attributesForFile(t4),e3=new this(n3),e3.setFile(t4),e3},o2.attributesForFile=function(t4){return new e2.Hash({filename:t4.name,filesize:t4.size,contentType:t4.type})},o2.fromJSON=function(t4){return new this(t4)},o2.prototype.getAttribute=function(t4){return this.attributes.get(t4)},o2.prototype.hasAttribute=function(t4){return this.attributes.has(t4)},o2.prototype.getAttributes=function(){return this.attributes.toObject()},o2.prototype.setAttributes=function(t4){var e3,n3,i3;return null==t4&&(t4={}),e3=this.attributes.merge(t4),this.attributes.isEqualTo(e3)?void 0:(this.attributes=e3,this.didChangeAttributes(),null!=(n3=this.previewDelegate)&&"function"==typeof n3.attachmentDidChangeAttributes&&n3.attachmentDidChangeAttributes(this),null!=(i3=this.delegate)&&"function"==typeof i3.attachmentDidChangeAttributes?i3.attachmentDidChangeAttributes(this):void 0)},o2.prototype.didChangeAttributes=function(){return this.isPreviewable()?this.preloadURL():void 0},o2.prototype.isPending=function(){return null!=this.file&&!(this.getURL()||this.getHref())},o2.prototype.isPreviewable=function(){return this.attributes.has("previewable")?this.attributes.get("previewable"):this.constructor.previewablePattern.test(this.getContentType())},o2.prototype.getType=function(){return this.hasContent()?"content":this.isPreviewable()?"preview":"file"},o2.prototype.getURL=function(){return this.attributes.get("url")},o2.prototype.getHref=function(){return this.attributes.get("href")},o2.prototype.getFilename=function(){var t4;return null!=(t4=this.attributes.get("filename"))?t4:""},o2.prototype.getFilesize=function(){return this.attributes.get("filesize")},o2.prototype.getFormattedFilesize=function(){var t4;return t4=this.attributes.get("filesize"),"number"==typeof t4?e2.config.fileSize.formatter(t4):""},o2.prototype.getExtension=function(){var t4;return null!=(t4=this.getFilename().match(/\.(\w+)$/))?t4[1].toLowerCase():void 0},o2.prototype.getContentType=function(){return this.attributes.get("contentType")},o2.prototype.hasContent=function(){return this.attributes.has("content")},o2.prototype.getContent=function(){return this.attributes.get("content")},o2.prototype.getWidth=function(){return this.attributes.get("width")},o2.prototype.getHeight=function(){return this.attributes.get("height")},o2.prototype.getFile=function(){return this.file},o2.prototype.setFile=function(t4){return this.file=t4,this.isPreviewable()?this.preloadFile():void 0},o2.prototype.releaseFile=function(){return this.releasePreloadedFile(),this.file=null},o2.prototype.getUploadProgress=function(){var t4;return null!=(t4=this.uploadProgress)?t4:0},o2.prototype.setUploadProgress=function(t4){var e3;return this.uploadProgress!==t4?(this.uploadProgress=t4,null!=(e3=this.uploadProgressDelegate)&&"function"==typeof e3.attachmentDidChangeUploadProgress?e3.attachmentDidChangeUploadProgress(this):void 0):void 0},o2.prototype.toJSON=function(){return this.getAttributes()},o2.prototype.getCacheKey=function(){return[o2.__super__.getCacheKey.apply(this,arguments),this.attributes.getCacheKey(),this.getPreviewURL()].join("/")},o2.prototype.getPreviewURL=function(){return this.previewURL||this.preloadingURL},o2.prototype.setPreviewURL=function(t4){var e3,n3;return t4!==this.getPreviewURL()?(this.previewURL=t4,null!=(e3=this.previewDelegate)&&"function"==typeof e3.attachmentDidChangeAttributes&&e3.attachmentDidChangeAttributes(this),null!=(n3=this.delegate)&&"function"==typeof n3.attachmentDidChangePreviewURL?n3.attachmentDidChangePreviewURL(this):void 0):void 0},o2.prototype.preloadURL=function(){return this.preload(this.getURL(),this.releaseFile)},o2.prototype.preloadFile=function(){return this.file?(this.fileObjectURL=URL.createObjectURL(this.file),this.preload(this.fileObjectURL)):void 0},o2.prototype.releasePreloadedFile=function(){return this.fileObjectURL?(URL.revokeObjectURL(this.fileObjectURL),this.fileObjectURL=null):void 0},o2.prototype.preload=function(t4,n3){var i3;return t4&&t4!==this.getPreviewURL()?(this.preloadingURL=t4,i3=new e2.ImagePreloadOperation(t4),i3.then(function(e3){return function(i4){var o3,r2;return r2=i4.width,o3=i4.height,e3.getWidth()&&e3.getHeight()||e3.setAttributes({width:r2,height:o3}),e3.preloadingURL=null,e3.setPreviewURL(t4),"function"==typeof n3?n3():void 0}}(this))["catch"](function(t5){return function(){return t5.preloadingURL=null,"function"==typeof n3?n3():void 0}}(this))):void 0},o2}(e2.Object)}.call(this),function(){var t3=function(t4,e3){function i(){this.constructor=t4}for(var o2 in e3)n2.call(e3,o2)&&(t4[o2]=e3[o2]);return i.prototype=e3.prototype,t4.prototype=new i,t4.__super__=e3.prototype,t4},n2={}.hasOwnProperty;e2.Piece=function(n3){function i(t4,n4){null==n4&&(n4={}),i.__super__.constructor.apply(this,arguments),this.attributes=e2.Hash.box(n4)}return t3(i,n3),i.types={},i.registerType=function(t4,e3){return e3.type=t4,this.types[t4]=e3},i.fromJSON=function(t4){var e3;return(e3=this.types[t4.type])?e3.fromJSON(t4):void 0},i.prototype.copyWithAttributes=function(t4){return new this.constructor(this.getValue(),t4)},i.prototype.copyWithAdditionalAttributes=function(t4){return this.copyWithAttributes(this.attributes.merge(t4))},i.prototype.copyWithoutAttribute=function(t4){return this.copyWithAttributes(this.attributes.remove(t4))},i.prototype.copy=function(){return this.copyWithAttributes(this.attributes)},i.prototype.getAttribute=function(t4){return this.attributes.get(t4)},i.prototype.getAttributesHash=function(){return this.attributes},i.prototype.getAttributes=function(){return this.attributes.toObject()},i.prototype.getCommonAttributes=function(){var t4,e3,n4;return(n4=pieceList.getPieceAtIndex(0))?(t4=n4.attributes,e3=t4.getKeys(),pieceList.eachPiece((function(n5){return e3=t4.getKeysCommonToHash(n5.attributes),t4=t4.slice(e3)})),t4.toObject()):{}},i.prototype.hasAttribute=function(t4){return this.attributes.has(t4)},i.prototype.hasSameStringValueAsPiece=function(t4){return null!=t4&&this.toString()===t4.toString()},i.prototype.hasSameAttributesAsPiece=function(t4){return null!=t4&&(this.attributes===t4.attributes||this.attributes.isEqualTo(t4.attributes))},i.prototype.isBlockBreak=function(){return false},i.prototype.isEqualTo=function(t4){return i.__super__.isEqualTo.apply(this,arguments)||this.hasSameConstructorAs(t4)&&this.hasSameStringValueAsPiece(t4)&&this.hasSameAttributesAsPiece(t4)},i.prototype.isEmpty=function(){return 0===this.length},i.prototype.isSerializable=function(){return true},i.prototype.toJSON=function(){return{type:this.constructor.type,attributes:this.getAttributes()}},i.prototype.contentsForInspection=function(){return{type:this.constructor.type,attributes:this.attributes.inspect()}},i.prototype.canBeGrouped=function(){return this.hasAttribute("href")},i.prototype.canBeGroupedWith=function(t4){return this.getAttribute("href")===t4.getAttribute("href")},i.prototype.getLength=function(){return this.length},i.prototype.canBeConsolidatedWith=function(){return false},i}(e2.Object)}.call(this),function(){var t3=function(t4,e3){function i(){this.constructor=t4}for(var o2 in e3)n2.call(e3,o2)&&(t4[o2]=e3[o2]);return i.prototype=e3.prototype,t4.prototype=new i,t4.__super__=e3.prototype,t4},n2={}.hasOwnProperty;e2.Piece.registerType("attachment",e2.AttachmentPiece=function(n3){function i(t4){this.attachment=t4,i.__super__.constructor.apply(this,arguments),this.length=1,this.ensureAttachmentExclusivelyHasAttribute("href"),this.attachment.hasContent()||this.removeProhibitedAttributes()}return t3(i,n3),i.fromJSON=function(t4){return new this(e2.Attachment.fromJSON(t4.attachment),t4.attributes)},i.permittedAttributes=["caption","presentation"],i.prototype.ensureAttachmentExclusivelyHasAttribute=function(t4){return this.hasAttribute(t4)?(this.attachment.hasAttribute(t4)||this.attachment.setAttributes(this.attributes.slice(t4)),this.attributes=this.attributes.remove(t4)):void 0},i.prototype.removeProhibitedAttributes=function(){var t4;return t4=this.attributes.slice(this.constructor.permittedAttributes),t4.isEqualTo(this.attributes)?void 0:this.attributes=t4},i.prototype.getValue=function(){return this.attachment},i.prototype.isSerializable=function(){return!this.attachment.isPending()},i.prototype.getCaption=function(){var t4;return null!=(t4=this.attributes.get("caption"))?t4:""},i.prototype.isEqualTo=function(t4){var e3;return i.__super__.isEqualTo.apply(this,arguments)&&this.attachment.id===(null!=t4&&null!=(e3=t4.attachment)?e3.id:void 0)},i.prototype.toString=function(){return e2.OBJECT_REPLACEMENT_CHARACTER},i.prototype.toJSON=function(){var t4;return t4=i.__super__.toJSON.apply(this,arguments),t4.attachment=this.attachment,t4},i.prototype.getCacheKey=function(){return[i.__super__.getCacheKey.apply(this,arguments),this.attachment.getCacheKey()].join("/")},i.prototype.toConsole=function(){return JSON.stringify(this.toString())},i}(e2.Piece))}.call(this),function(){var t3,n2=function(t4,e3){function n3(){this.constructor=t4}for(var o2 in e3)i.call(e3,o2)&&(t4[o2]=e3[o2]);return n3.prototype=e3.prototype,t4.prototype=new n3,t4.__super__=e3.prototype,t4},i={}.hasOwnProperty;t3=e2.normalizeNewlines,e2.Piece.registerType("string",e2.StringPiece=function(e3){function i2(e4){i2.__super__.constructor.apply(this,arguments),this.string=t3(e4),this.length=this.string.length}return n2(i2,e3),i2.fromJSON=function(t4){return new this(t4.string,t4.attributes)},i2.prototype.getValue=function(){return this.string},i2.prototype.toString=function(){return this.string.toString()},i2.prototype.isBlockBreak=function(){return"\n"===this.toString()&&this.getAttribute("blockBreak")===true},i2.prototype.toJSON=function(){var t4;return t4=i2.__super__.toJSON.apply(this,arguments),t4.string=this.string,t4},i2.prototype.canBeConsolidatedWith=function(t4){return null!=t4&&this.hasSameConstructorAs(t4)&&this.hasSameAttributesAsPiece(t4)},i2.prototype.consolidateWith=function(t4){return new this.constructor(this.toString()+t4.toString(),this.attributes)},i2.prototype.splitAtOffset=function(t4){var e4,n3;return 0===t4?(e4=null,n3=this):t4===this.length?(e4=this,n3=null):(e4=new this.constructor(this.string.slice(0,t4),this.attributes),n3=new this.constructor(this.string.slice(t4),this.attributes)),[e4,n3]},i2.prototype.toConsole=function(){var t4;return t4=this.string,t4.length>15&&(t4=t4.slice(0,14)+"…"),JSON.stringify(t4.toString())},i2}(e2.Piece))}.call(this),function(){var t3,n2=function(t4,e3){function n3(){this.constructor=t4}for(var o3 in e3)i.call(e3,o3)&&(t4[o3]=e3[o3]);return n3.prototype=e3.prototype,t4.prototype=new n3,t4.__super__=e3.prototype,t4},i={}.hasOwnProperty,o2=[].slice;t3=e2.spliceArray,e2.SplittableList=function(e3){function i2(t4){null==t4&&(t4=[]),i2.__super__.constructor.apply(this,arguments),this.objects=t4.slice(0),this.length=this.objects.length}var r2,s2,a2;return n2(i2,e3),i2.box=function(t4){return t4 instanceof this?t4:new this(t4)},i2.prototype.indexOf=function(t4){return this.objects.indexOf(t4)},i2.prototype.splice=function(){var e4;return e4=1<=arguments.length?o2.call(arguments,0):[],new this.constructor(t3.apply(null,[this.objects].concat(o2.call(e4))))},i2.prototype.eachObject=function(t4){var e4,n3,i3,o3,r3,s3;for(r3=this.objects,s3=[],n3=e4=0,i3=r3.length;i3>e4;n3=++e4)o3=r3[n3],s3.push(t4(o3,n3));return s3},i2.prototype.insertObjectAtIndex=function(t4,e4){return this.splice(e4,0,t4)},i2.prototype.insertSplittableListAtIndex=function(t4,e4){return this.splice.apply(this,[e4,0].concat(o2.call(t4.objects)))},i2.prototype.insertSplittableListAtPosition=function(t4,e4){var n3,i3,o3;return o3=this.splitObjectAtPosition(e4),i3=o3[0],n3=o3[1],new this.constructor(i3).insertSplittableListAtIndex(t4,n3)},i2.prototype.editObjectAtIndex=function(t4,e4){return this.replaceObjectAtIndex(e4(this.objects[t4]),t4)},i2.prototype.replaceObjectAtIndex=function(t4,e4){return this.splice(e4,1,t4)},i2.prototype.removeObjectAtIndex=function(t4){return this.splice(t4,1)},i2.prototype.getObjectAtIndex=function(t4){return this.objects[t4]},i2.prototype.getSplittableListInRange=function(t4){var e4,n3,i3,o3;return i3=this.splitObjectsAtRange(t4),n3=i3[0],e4=i3[1],o3=i3[2],new this.constructor(n3.slice(e4,o3+1))},i2.prototype.selectSplittableList=function(t4){var e4,n3;return n3=function(){var n4,i3,o3,r3;for(o3=this.objects,r3=[],n4=0,i3=o3.length;i3>n4;n4++)e4=o3[n4],t4(e4)&&r3.push(e4);return r3}.call(this),new this.constructor(n3)},i2.prototype.removeObjectsInRange=function(t4){var e4,n3,i3,o3;return i3=this.splitObjectsAtRange(t4),n3=i3[0],e4=i3[1],o3=i3[2],new this.constructor(n3).splice(e4,o3-e4+1)},i2.prototype.transformObjectsInRange=function(t4,e4){var n3,i3,o3,r3,s3,a3,u2;return s3=this.splitObjectsAtRange(t4),r3=s3[0],i3=s3[1],a3=s3[2],u2=function(){var t5,s4,u3;for(u3=[],n3=t5=0,s4=r3.length;s4>t5;n3=++t5)o3=r3[n3],u3.push(n3>=i3&&a3>=n3?e4(o3):o3);return u3}(),new this.constructor(u2)},i2.prototype.splitObjectsAtRange=function(t4){var e4,n3,i3,o3,s3,u2;return o3=this.splitObjectAtPosition(a2(t4)),n3=o3[0],e4=o3[1],i3=o3[2],s3=new this.constructor(n3).splitObjectAtPosition(r2(t4)+i3),n3=s3[0],u2=s3[1],[n3,e4,u2-1]},i2.prototype.getObjectAtPosition=function(t4){var e4,i3;return i3=this.findIndexAndOffsetAtPosition(t4),e4=i3.index,i3.offset,this.objects[e4]},i2.prototype.splitObjectAtPosition=function(t4){var e4,n3,i3,o3,r3,s3,a3,u2,c2,l2;return s3=this.findIndexAndOffsetAtPosition(t4),e4=s3.index,r3=s3.offset,o3=this.objects.slice(0),null!=e4?0===r3?(c2=e4,l2=0):(i3=this.getObjectAtIndex(e4),a3=i3.splitAtOffset(r3),n3=a3[0],u2=a3[1],o3.splice(e4,1,n3,u2),c2=e4+1,l2=n3.getLength()-r3):(c2=o3.length,l2=0),[o3,c2,l2]},i2.prototype.consolidate=function(){var t4,e4,n3,i3,o3,r3;for(i3=[],o3=this.objects[0],r3=this.objects.slice(1),t4=0,e4=r3.length;e4>t4;t4++)n3=r3[t4],("function"==typeof o3.canBeConsolidatedWith?o3.canBeConsolidatedWith(n3):void 0)?o3=o3.consolidateWith(n3):(i3.push(o3),o3=n3);return null!=o3&&i3.push(o3),new this.constructor(i3)},i2.prototype.consolidateFromIndexToIndex=function(t4,e4){var n3,i3,r3;return i3=this.objects.slice(0),r3=i3.slice(t4,e4+1),n3=new this.constructor(r3).consolidate().toArray(),this.splice.apply(this,[t4,r3.length].concat(o2.call(n3)))},i2.prototype.findIndexAndOffsetAtPosition=function(t4){var e4,n3,i3,o3,r3,s3,a3;for(e4=0,a3=this.objects,i3=n3=0,o3=a3.length;o3>n3;i3=++n3){if(s3=a3[i3],r3=e4+s3.getLength(),t4>=e4&&r3>t4)return{index:i3,offset:t4-e4};e4=r3}return{index:null,offset:null}},i2.prototype.findPositionAtIndexAndOffset=function(t4,e4){var n3,i3,o3,r3,s3,a3;for(s3=0,a3=this.objects,n3=i3=0,o3=a3.length;o3>i3;n3=++i3)if(r3=a3[n3],t4>n3)s3+=r3.getLength();else if(n3===t4){s3+=e4;break}return s3},i2.prototype.getEndPosition=function(){var t4,e4;return null!=this.endPosition?this.endPosition:this.endPosition=function(){var n3,i3,o3;for(e4=0,o3=this.objects,n3=0,i3=o3.length;i3>n3;n3++)t4=o3[n3],e4+=t4.getLength();return e4}.call(this)},i2.prototype.toString=function(){return this.objects.join("")},i2.prototype.toArray=function(){return this.objects.slice(0)},i2.prototype.toJSON=function(){return this.toArray()},i2.prototype.isEqualTo=function(t4){return i2.__super__.isEqualTo.apply(this,arguments)||s2(this.objects,null!=t4?t4.objects:void 0)},s2=function(t4,e4){var n3,i3,o3,r3,s3;if(null==e4&&(e4=[]),t4.length!==e4.length)return false;for(s3=true,i3=n3=0,o3=t4.length;o3>n3;i3=++n3)r3=t4[i3],s3&&!r3.isEqualTo(e4[i3])&&(s3=false);return s3},i2.prototype.contentsForInspection=function(){var t4;return{objects:"["+function(){var e4,n3,i3,o3;for(i3=this.objects,o3=[],e4=0,n3=i3.length;n3>e4;e4++)t4=i3[e4],o3.push(t4.inspect());return o3}.call(this).join(", ")+"]"}},a2=function(t4){return t4[0]},r2=function(t4){return t4[1]},i2}(e2.Object)}.call(this),function(){var t3=function(t4,e3){function i(){this.constructor=t4}for(var o2 in e3)n2.call(e3,o2)&&(t4[o2]=e3[o2]);return i.prototype=e3.prototype,t4.prototype=new i,t4.__super__=e3.prototype,t4},n2={}.hasOwnProperty;e2.Text=function(n3){function i(t4){var n4;null==t4&&(t4=[]),i.__super__.constructor.apply(this,arguments),this.pieceList=new e2.SplittableList(function(){var e3,i2,o2;for(o2=[],e3=0,i2=t4.length;i2>e3;e3++)n4=t4[e3],n4.isEmpty()||o2.push(n4);return o2}())}return t3(i,n3),i.textForAttachmentWithAttributes=function(t4,n4){var i2;return i2=new e2.AttachmentPiece(t4,n4),new this([i2])},i.textForStringWithAttributes=function(t4,n4){var i2;return i2=new e2.StringPiece(t4,n4),new this([i2])},i.fromJSON=function(t4){var n4,i2;return i2=function(){var i3,o2,r2;for(r2=[],i3=0,o2=t4.length;o2>i3;i3++)n4=t4[i3],r2.push(e2.Piece.fromJSON(n4));return r2}(),new this(i2)},i.prototype.copy=function(){return this.copyWithPieceList(this.pieceList)},i.prototype.copyWithPieceList=function(t4){return new this.constructor(t4.consolidate().toArray())},i.prototype.copyUsingObjectMap=function(t4){var e3,n4;return n4=function(){var n5,i2,o2,r2,s2;for(o2=this.getPieces(),s2=[],n5=0,i2=o2.length;i2>n5;n5++)e3=o2[n5],s2.push(null!=(r2=t4.find(e3))?r2:e3);return s2}.call(this),new this.constructor(n4)},i.prototype.appendText=function(t4){return this.insertTextAtPosition(t4,this.getLength())},i.prototype.insertTextAtPosition=function(t4,e3){return this.copyWithPieceList(this.pieceList.insertSplittableListAtPosition(t4.pieceList,e3))},i.prototype.removeTextAtRange=function(t4){return this.copyWithPieceList(this.pieceList.removeObjectsInRange(t4))},i.prototype.replaceTextAtRange=function(t4,e3){return this.removeTextAtRange(e3).insertTextAtPosition(t4,e3[0])},i.prototype.moveTextFromRangeToPosition=function(t4,e3){var n4,i2;if(!(t4[0]<=e3&&e3<=t4[1]))return i2=this.getTextAtRange(t4),n4=i2.getLength(),t4[0]<e3&&(e3-=n4),this.removeTextAtRange(t4).insertTextAtPosition(i2,e3)},i.prototype.addAttributeAtRange=function(t4,e3,n4){var i2;return i2={},i2[t4]=e3,this.addAttributesAtRange(i2,n4)},i.prototype.addAttributesAtRange=function(t4,e3){return this.copyWithPieceList(this.pieceList.transformObjectsInRange(e3,(function(e4){return e4.copyWithAdditionalAttributes(t4)})))},i.prototype.removeAttributeAtRange=function(t4,e3){return this.copyWithPieceList(this.pieceList.transformObjectsInRange(e3,(function(e4){return e4.copyWithoutAttribute(t4)})))},i.prototype.setAttributesAtRange=function(t4,e3){return this.copyWithPieceList(this.pieceList.transformObjectsInRange(e3,(function(e4){return e4.copyWithAttributes(t4)})))},i.prototype.getAttributesAtPosition=function(t4){var e3,n4;return null!=(e3=null!=(n4=this.pieceList.getObjectAtPosition(t4))?n4.getAttributes():void 0)?e3:{}},i.prototype.getCommonAttributes=function(){var t4,n4;return t4=function(){var t5,e3,i2,o2;for(i2=this.pieceList.toArray(),o2=[],t5=0,e3=i2.length;e3>t5;t5++)n4=i2[t5],o2.push(n4.getAttributes());return o2}.call(this),e2.Hash.fromCommonAttributesOfObjects(t4).toObject()},i.prototype.getCommonAttributesAtRange=function(t4){var e3;return null!=(e3=this.getTextAtRange(t4).getCommonAttributes())?e3:{}},i.prototype.getExpandedRangeForAttributeAtOffset=function(t4,e3){var n4,i2,o2;for(n4=o2=e3,i2=this.getLength();n4>0&&this.getCommonAttributesAtRange([n4-1,o2])[t4];)n4--;for(;i2>o2&&this.getCommonAttributesAtRange([e3,o2+1])[t4];)o2++;return[n4,o2]},i.prototype.getTextAtRange=function(t4){return this.copyWithPieceList(this.pieceList.getSplittableListInRange(t4))},i.prototype.getStringAtRange=function(t4){return this.pieceList.getSplittableListInRange(t4).toString()},i.prototype.getStringAtPosition=function(t4){return this.getStringAtRange([t4,t4+1])},i.prototype.startsWithString=function(t4){return this.getStringAtRange([0,t4.length])===t4},i.prototype.endsWithString=function(t4){var e3;return e3=this.getLength(),this.getStringAtRange([e3-t4.length,e3])===t4},i.prototype.getAttachmentPieces=function(){var t4,e3,n4,i2,o2;for(i2=this.pieceList.toArray(),o2=[],t4=0,e3=i2.length;e3>t4;t4++)n4=i2[t4],null!=n4.attachment&&o2.push(n4);return o2},i.prototype.getAttachments=function(){var t4,e3,n4,i2,o2;for(i2=this.getAttachmentPieces(),o2=[],t4=0,e3=i2.length;e3>t4;t4++)n4=i2[t4],o2.push(n4.attachment);return o2},i.prototype.getAttachmentAndPositionById=function(t4){var e3,n4,i2,o2,r2,s2;for(o2=0,r2=this.pieceList.toArray(),e3=0,n4=r2.length;n4>e3;e3++){if(i2=r2[e3],(null!=(s2=i2.attachment)?s2.id:void 0)===t4)return{attachment:i2.attachment,position:o2};o2+=i2.length}return{attachment:null,position:null}},i.prototype.getAttachmentById=function(t4){var e3,i2;return i2=this.getAttachmentAndPositionById(t4),e3=i2.attachment,i2.position,e3},i.prototype.getRangeOfAttachment=function(t4){var e3,n4;return n4=this.getAttachmentAndPositionById(t4.id),t4=n4.attachment,e3=n4.position,null!=t4?[e3,e3+1]:void 0},i.prototype.updateAttributesForAttachment=function(t4,e3){var n4;return(n4=this.getRangeOfAttachment(e3))?this.addAttributesAtRange(t4,n4):this},i.prototype.getLength=function(){return this.pieceList.getEndPosition()},i.prototype.isEmpty=function(){return 0===this.getLength()},i.prototype.isEqualTo=function(t4){var e3;return i.__super__.isEqualTo.apply(this,arguments)||(null!=t4&&null!=(e3=t4.pieceList)?e3.isEqualTo(this.pieceList):void 0)},i.prototype.isBlockBreak=function(){return 1===this.getLength()&&this.pieceList.getObjectAtIndex(0).isBlockBreak()},i.prototype.eachPiece=function(t4){return this.pieceList.eachObject(t4)},i.prototype.getPieces=function(){return this.pieceList.toArray()},i.prototype.getPieceAtPosition=function(t4){return this.pieceList.getObjectAtPosition(t4)},i.prototype.contentsForInspection=function(){return{pieceList:this.pieceList.inspect()}},i.prototype.toSerializableText=function(){var t4;return t4=this.pieceList.selectSplittableList((function(t5){return t5.isSerializable()})),this.copyWithPieceList(t4)},i.prototype.toString=function(){return this.pieceList.toString()},i.prototype.toJSON=function(){return this.pieceList.toJSON()},i.prototype.toConsole=function(){var t4;return JSON.stringify(function(){var e3,n4,i2,o2;for(i2=this.pieceList.toArray(),o2=[],e3=0,n4=i2.length;n4>e3;e3++)t4=i2[e3],o2.push(JSON.parse(t4.toConsole()));return o2}.call(this))},i.prototype.getDirection=function(){return e2.getDirection(this.toString())},i.prototype.isRTL=function(){return"rtl"===this.getDirection()},i}(e2.Object)}.call(this),function(){var t3,i,o2,r2,s2=function(t4,e3){function n2(){this.constructor=t4}for(var i2 in e3)a2.call(e3,i2)&&(t4[i2]=e3[i2]);return n2.prototype=e3.prototype,t4.prototype=new n2,t4.__super__=e3.prototype,t4},a2={}.hasOwnProperty,u2=[].indexOf||function(t4){for(var e3=0,n2=this.length;n2>e3;e3++)if(e3 in this&&this[e3]===t4)return e3;return-1},c2=[].slice;t3=e2.arraysAreEqual,r2=e2.spliceArray,i=e2.getBlockConfig,e2.getBlockAttributeNames,o2=e2.getListAttributeNames,e2.Block=function(n2){function a3(t4,n3){null==t4&&(t4=new e2.Text),null==n3&&(n3=[]),a3.__super__.constructor.apply(this,arguments),this.text=h2(t4),this.attributes=n3}var l2,h2,p2,d2,f2,g2,m2,v2,y2;return s2(a3,n2),a3.fromJSON=function(t4){var n3;return n3=e2.Text.fromJSON(t4.text),new this(n3,t4.attributes)},a3.prototype.isEmpty=function(){return this.text.isBlockBreak()},a3.prototype.isEqualTo=function(e3){return a3.__super__.isEqualTo.apply(this,arguments)||this.text.isEqualTo(null!=e3?e3.text:void 0)&&t3(this.attributes,null!=e3?e3.attributes:void 0)},a3.prototype.copyWithText=function(t4){return new this.constructor(t4,this.attributes)},a3.prototype.copyWithoutText=function(){return this.copyWithText(null)},a3.prototype.copyWithAttributes=function(t4){return new this.constructor(this.text,t4)},a3.prototype.copyWithoutAttributes=function(){return this.copyWithAttributes(null)},a3.prototype.copyUsingObjectMap=function(t4){var e3;return this.copyWithText((e3=t4.find(this.text))?e3:this.text.copyUsingObjectMap(t4))},a3.prototype.addAttribute=function(t4){var e3;return e3=this.attributes.concat(d2(t4)),this.copyWithAttributes(e3)},a3.prototype.removeAttribute=function(t4){var e3,n3;return n3=i(t4).listAttribute,e3=g2(g2(this.attributes,t4),n3),this.copyWithAttributes(e3)},a3.prototype.removeLastAttribute=function(){return this.removeAttribute(this.getLastAttribute())},a3.prototype.getLastAttribute=function(){return f2(this.attributes)},a3.prototype.getAttributes=function(){return this.attributes.slice(0)},a3.prototype.getAttributeLevel=function(){return this.attributes.length},a3.prototype.getAttributeAtLevel=function(t4){return this.attributes[t4-1]},a3.prototype.hasAttribute=function(t4){return u2.call(this.attributes,t4)>=0},a3.prototype.hasAttributes=function(){return this.getAttributeLevel()>0},a3.prototype.getLastNestableAttribute=function(){return f2(this.getNestableAttributes())},a3.prototype.getNestableAttributes=function(){var t4,e3,n3,o3,r3;for(o3=this.attributes,r3=[],e3=0,n3=o3.length;n3>e3;e3++)t4=o3[e3],i(t4).nestable&&r3.push(t4);return r3},a3.prototype.getNestingLevel=function(){return this.getNestableAttributes().length},a3.prototype.decreaseNestingLevel=function(){var t4;return(t4=this.getLastNestableAttribute())?this.removeAttribute(t4):this},a3.prototype.increaseNestingLevel=function(){var t4,e3,n3;return(t4=this.getLastNestableAttribute())?(n3=this.attributes.lastIndexOf(t4),e3=r2.apply(null,[this.attributes,n3+1,0].concat(c2.call(d2(t4)))),this.copyWithAttributes(e3)):this},a3.prototype.getListItemAttributes=function(){var t4,e3,n3,o3,r3;for(o3=this.attributes,r3=[],e3=0,n3=o3.length;n3>e3;e3++)t4=o3[e3],i(t4).listAttribute&&r3.push(t4);return r3},a3.prototype.isListItem=function(){var t4;return null!=(t4=i(this.getLastAttribute()))?t4.listAttribute:void 0},a3.prototype.isTerminalBlock=function(){var t4;return null!=(t4=i(this.getLastAttribute()))?t4.terminal:void 0},a3.prototype.breaksOnReturn=function(){var t4;return null!=(t4=i(this.getLastAttribute()))?t4.breakOnReturn:void 0},a3.prototype.findLineBreakInDirectionFromPosition=function(t4,e3){var n3,i2;return i2=this.toString(),n3=function(){switch(t4){case"forward":return i2.indexOf("\n",e3);case"backward":return i2.slice(0,e3).lastIndexOf("\n")}}(),-1!==n3?n3:void 0},a3.prototype.contentsForInspection=function(){return{text:this.text.inspect(),attributes:this.attributes}},a3.prototype.toString=function(){return this.text.toString()},a3.prototype.toJSON=function(){return{text:this.text,attributes:this.attributes}},a3.prototype.getDirection=function(){return this.text.getDirection()},a3.prototype.isRTL=function(){return this.text.isRTL()},a3.prototype.getLength=function(){return this.text.getLength()},a3.prototype.canBeConsolidatedWith=function(t4){return!this.hasAttributes()&&!t4.hasAttributes()&&this.getDirection()===t4.getDirection()},a3.prototype.consolidateWith=function(t4){var n3,i2;return n3=e2.Text.textForStringWithAttributes("\n"),i2=this.getTextWithoutBlockBreak().appendText(n3),this.copyWithText(i2.appendText(t4.text))},a3.prototype.splitAtOffset=function(t4){var e3,n3;return 0===t4?(e3=null,n3=this):t4===this.getLength()?(e3=this,n3=null):(e3=this.copyWithText(this.text.getTextAtRange([0,t4])),n3=this.copyWithText(this.text.getTextAtRange([t4,this.getLength()]))),[e3,n3]},a3.prototype.getBlockBreakPosition=function(){return this.text.getLength()-1},a3.prototype.getTextWithoutBlockBreak=function(){return m2(this.text)?this.text.getTextAtRange([0,this.getBlockBreakPosition()]):this.text.copy()},a3.prototype.canBeGrouped=function(t4){return this.attributes[t4]},a3.prototype.canBeGroupedWith=function(t4,e3){var n3,r3,s3,a4;return s3=t4.getAttributes(),r3=s3[e3],n3=this.attributes[e3],!(n3!==r3||i(n3).group===false&&(a4=s3[e3+1],u2.call(o2(),a4)<0)||this.getDirection()!==t4.getDirection()&&!t4.isEmpty())},h2=function(t4){return t4=y2(t4),t4=l2(t4)},y2=function(t4){var n3,i2,o3,r3,s3,a4;return r3=false,a4=t4.getPieces(),i2=2<=a4.length?c2.call(a4,0,n3=a4.length-1):(n3=0,[]),o3=a4[n3++],null==o3?t4:(i2=function(){var t5,e3,n4;for(n4=[],t5=0,e3=i2.length;e3>t5;t5++)s3=i2[t5],s3.isBlockBreak()?(r3=true,n4.push(v2(s3))):n4.push(s3);return n4}(),r3?new e2.Text(c2.call(i2).concat([o3])):t4)},p2=e2.Text.textForStringWithAttributes("\n",{blockBreak:true}),l2=function(t4){return m2(t4)?t4:t4.appendText(p2)},m2=function(t4){var e3,n3;return n3=t4.getLength(),0===n3?false:(e3=t4.getTextAtRange([n3-1,n3]),e3.isBlockBreak())},v2=function(t4){return t4.copyWithoutAttribute("blockBreak")},d2=function(t4){var e3;return e3=i(t4).listAttribute,null!=e3?[e3,t4]:[t4]},f2=function(t4){return t4.slice(-1)[0]},g2=function(t4,e3){var n3;return n3=t4.lastIndexOf(e3),-1===n3?t4:r2(t4,n3,1)},a3}(e2.Object)}.call(this),function(){var t3,n2,i,o2=function(t4,e3){function n3(){this.constructor=t4}for(var i2 in e3)r2.call(e3,i2)&&(t4[i2]=e3[i2]);return n3.prototype=e3.prototype,t4.prototype=new n3,t4.__super__=e3.prototype,t4},r2={}.hasOwnProperty,s2=[].indexOf||function(t4){for(var e3=0,n3=this.length;n3>e3;e3++)if(e3 in this&&this[e3]===t4)return e3;return-1},a2=[].slice;n2=e2.tagName,i=e2.walkTree,t3=e2.nodeIsAttachmentElement,e2.HTMLSanitizer=function(r3){function u2(t4,e3){var n3;n3=null!=e3?e3:{},this.allowedAttributes=n3.allowedAttributes,this.forbiddenProtocols=n3.forbiddenProtocols,this.forbiddenElements=n3.forbiddenElements,null==this.allowedAttributes&&(this.allowedAttributes=c2),null==this.forbiddenProtocols&&(this.forbiddenProtocols=h2),null==this.forbiddenElements&&(this.forbiddenElements=l2),this.body=p2(t4)}var c2,l2,h2,p2;return o2(u2,r3),c2="style href src width height class".split(" "),h2="javascript:".split(" "),l2="script iframe noscript".split(" "),u2.sanitize=function(t4,e3){var n3;return n3=new this(t4,e3),n3.sanitize(),n3},u2.prototype.sanitize=function(){return this.sanitizeElements(),this.normalizeListElementNesting()},u2.prototype.getHTML=function(){return this.body.innerHTML},u2.prototype.getBody=function(){return this.body},u2.prototype.sanitizeElements=function(){var t4,n3,o3,r4,s3;for(s3=i(this.body),r4=[];s3.nextNode();)switch(o3=s3.currentNode,o3.nodeType){case Node.ELEMENT_NODE:this.elementIsRemovable(o3)?r4.push(o3):this.sanitizeElement(o3);break;case Node.COMMENT_NODE:r4.push(o3)}for(t4=0,n3=r4.length;n3>t4;t4++)o3=r4[t4],e2.removeNode(o3);return this.body},u2.prototype.sanitizeElement=function(t4){var e3,n3,i2,o3,r4;for(t4.hasAttribute("href")&&(o3=t4.protocol,s2.call(this.forbiddenProtocols,o3)>=0&&t4.removeAttribute("href")),r4=a2.call(t4.attributes),e3=0,n3=r4.length;n3>e3;e3++)i2=r4[e3].name,s2.call(this.allowedAttributes,i2)>=0||0===i2.indexOf("data-trix")||t4.removeAttribute(i2);return t4},u2.prototype.normalizeListElementNesting=function(){var t4,e3,i2,o3,r4;for(r4=a2.call(this.body.querySelectorAll("ul,ol")),t4=0,e3=r4.length;e3>t4;t4++)i2=r4[t4],(o3=i2.previousElementSibling)&&"li"===n2(o3)&&o3.appendChild(i2);return this.body},u2.prototype.elementIsRemovable=function(t4){return(null!=t4?t4.nodeType:void 0)===Node.ELEMENT_NODE?this.elementIsForbidden(t4)||this.elementIsntSerializable(t4):void 0},u2.prototype.elementIsForbidden=function(t4){var e3;return e3=n2(t4),s2.call(this.forbiddenElements,e3)>=0},u2.prototype.elementIsntSerializable=function(e3){return"false"===e3.getAttribute("data-trix-serialize")&&!t3(e3)},p2=function(t4){var e3,n3,i2,o3,r4;for(null==t4&&(t4=""),t4=t4.replace(/<\/html[^>]*>[^]*$/i,"</html>"),e3=document.implementation.createHTMLDocument(""),e3.documentElement.innerHTML=t4,r4=e3.head.querySelectorAll("style"),i2=0,o3=r4.length;o3>i2;i2++)n3=r4[i2],e3.body.appendChild(n3);return e3.body},u2}(e2.BasicObject)}.call(this),function(){var t3,n2,i,o2,r2,s2,a2,u2,c2,l2,h2,p2=function(t4,e3){function n3(){this.constructor=t4}for(var i2 in e3)d2.call(e3,i2)&&(t4[i2]=e3[i2]);return n3.prototype=e3.prototype,t4.prototype=new n3,t4.__super__=e3.prototype,t4},d2={}.hasOwnProperty,f2=[].indexOf||function(t4){for(var e3=0,n3=this.length;n3>e3;e3++)if(e3 in this&&this[e3]===t4)return e3;return-1};t3=e2.arraysAreEqual,s2=e2.makeElement,l2=e2.tagName,r2=e2.getBlockTagNames,h2=e2.walkTree,o2=e2.findClosestElementFromNode,i=e2.elementContainsNode,a2=e2.nodeIsAttachmentElement,u2=e2.normalizeSpaces,n2=e2.breakableWhitespacePattern,c2=e2.squishBreakableWhitespace,e2.HTMLParser=function(d3){function g2(t4,e3){this.html=t4,this.referenceElement=(null!=e3?e3:{}).referenceElement,this.blocks=[],this.blockElements=[],this.processedElements=[]}var m2,v2,y2,b2,A2,C2,x2,w2,E2,S2,R2,k2;return p2(g2,d3),g2.parse=function(t4,e3){var n3;return n3=new this(t4,e3),n3.parse(),n3},g2.prototype.getDocument=function(){return e2.Document.fromJSON(this.blocks)},g2.prototype.parse=function(){var t4,n3;try{for(this.createHiddenContainer(),t4=e2.HTMLSanitizer.sanitize(this.html).getHTML(),this.containerElement.innerHTML=t4,n3=h2(this.containerElement,{usingFilter:x2});n3.nextNode();)this.processNode(n3.currentNode);return this.translateBlockElementMarginsToNewlines()}finally{this.removeHiddenContainer()}},g2.prototype.createHiddenContainer=function(){return this.referenceElement?(this.containerElement=this.referenceElement.cloneNode(false),this.containerElement.removeAttribute("id"),this.containerElement.setAttribute("data-trix-internal",""),this.containerElement.style.display="none",this.referenceElement.parentNode.insertBefore(this.containerElement,this.referenceElement.nextSibling)):(this.containerElement=s2({tagName:"div",style:{display:"none"}}),document.body.appendChild(this.containerElement))},g2.prototype.removeHiddenContainer=function(){return e2.removeNode(this.containerElement)},x2=function(t4){return"style"===l2(t4)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},g2.prototype.processNode=function(t4){switch(t4.nodeType){case Node.TEXT_NODE:if(!this.isInsignificantTextNode(t4))return this.appendBlockForTextNode(t4),this.processTextNode(t4);break;case Node.ELEMENT_NODE:return this.appendBlockForElement(t4),this.processElement(t4)}},g2.prototype.appendBlockForTextNode=function(e3){var n3,i2,o3;return i2=e3.parentNode,i2===this.currentBlockElement&&this.isBlockElement(e3.previousSibling)?this.appendStringWithAttributes("\n"):i2!==this.containerElement&&!this.isBlockElement(i2)||(n3=this.getBlockAttributes(i2),t3(n3,null!=(o3=this.currentBlock)?o3.attributes:void 0))?void 0:(this.currentBlock=this.appendBlockForAttributesWithElement(n3,i2),this.currentBlockElement=i2)},g2.prototype.appendBlockForElement=function(e3){var n3,o3,r3,s3;if(r3=this.isBlockElement(e3),o3=i(this.currentBlockElement,e3),r3&&!this.isBlockElement(e3.firstChild)){if((!this.isInsignificantTextNode(e3.firstChild)||!this.isBlockElement(e3.firstElementChild))&&(n3=this.getBlockAttributes(e3),e3.firstChild))return o3&&t3(n3,this.currentBlock.attributes)?this.appendStringWithAttributes("\n"):(this.currentBlock=this.appendBlockForAttributesWithElement(n3,e3),this.currentBlockElement=e3)}else if(this.currentBlockElement&&!o3&&!r3)return(s3=this.findParentBlockElement(e3))?this.appendBlockForElement(s3):(this.currentBlock=this.appendEmptyBlock(),this.currentBlockElement=null)},g2.prototype.findParentBlockElement=function(t4){var e3;for(e3=t4.parentElement;e3&&e3!==this.containerElement;){if(this.isBlockElement(e3)&&f2.call(this.blockElements,e3)>=0)return e3;e3=e3.parentElement}return null},g2.prototype.processTextNode=function(t4){var e3,n3;return n3=t4.data,v2(t4.parentNode)||(n3=c2(n3),R2(null!=(e3=t4.previousSibling)?e3.textContent:void 0)&&(n3=A2(n3))),this.appendStringWithAttributes(n3,this.getTextAttributes(t4.parentNode))},g2.prototype.processElement=function(t4){var e3,n3,i2,o3,r3;if(a2(t4))return e3=w2(t4,"attachment"),Object.keys(e3).length&&(o3=this.getTextAttributes(t4),this.appendAttachmentWithAttributes(e3,o3),t4.innerHTML=""),this.processedElements.push(t4);switch(l2(t4)){case"br":return this.isExtraBR(t4)||this.isBlockElement(t4.nextSibling)||this.appendStringWithAttributes("\n",this.getTextAttributes(t4)),this.processedElements.push(t4);case"img":e3={url:t4.getAttribute("src"),contentType:"image"},i2=b2(t4);for(n3 in i2)r3=i2[n3],e3[n3]=r3;return this.appendAttachmentWithAttributes(e3,this.getTextAttributes(t4)),this.processedElements.push(t4);case"tr":if(t4.parentNode.firstChild!==t4)return this.appendStringWithAttributes("\n");break;case"td":if(t4.parentNode.firstChild!==t4)return this.appendStringWithAttributes(" | ")}},g2.prototype.appendBlockForAttributesWithElement=function(t4,e3){var n3;return this.blockElements.push(e3),n3=m2(t4),this.blocks.push(n3),n3},g2.prototype.appendEmptyBlock=function(){return this.appendBlockForAttributesWithElement([],null)},g2.prototype.appendStringWithAttributes=function(t4,e3){return this.appendPiece(S2(t4,e3))},g2.prototype.appendAttachmentWithAttributes=function(t4,e3){return this.appendPiece(E2(t4,e3))},g2.prototype.appendPiece=function(t4){return 0===this.blocks.length&&this.appendEmptyBlock(),this.blocks[this.blocks.length-1].text.push(t4)},g2.prototype.appendStringToTextAtIndex=function(t4,e3){var n3,i2;return i2=this.blocks[e3].text,n3=i2[i2.length-1],"string"===(null!=n3?n3.type:void 0)?n3.string+=t4:i2.push(S2(t4))},g2.prototype.prependStringToTextAtIndex=function(t4,e3){var n3,i2;return i2=this.blocks[e3].text,n3=i2[0],"string"===(null!=n3?n3.type:void 0)?n3.string=t4+n3.string:i2.unshift(S2(t4))},S2=function(t4,e3){var n3;return null==e3&&(e3={}),n3="string",t4=u2(t4),{string:t4,attributes:e3,type:n3}},E2=function(t4,e3){var n3;return null==e3&&(e3={}),n3="attachment",{attachment:t4,attributes:e3,type:n3}},m2=function(t4){var e3;return null==t4&&(t4={}),e3=[],{text:e3,attributes:t4}},g2.prototype.getTextAttributes=function(t4){var n3,i2,r3,s3,u3,c3,l3,h3,p3,d4,f3,g3;r3={},p3=e2.config.textAttributes;for(n3 in p3)if(u3=p3[n3],u3.tagName&&o2(t4,{matchingSelector:u3.tagName,untilNode:this.containerElement}))r3[n3]=true;else if(u3.parser){if(g3=u3.parser(t4)){for(i2=false,d4=this.findBlockElementAncestors(t4),c3=0,h3=d4.length;h3>c3;c3++)if(s3=d4[c3],u3.parser(s3)===g3){i2=true;break}i2||(r3[n3]=g3)}}else u3.styleProperty&&(g3=t4.style[u3.styleProperty])&&(r3[n3]=g3);if(a2(t4)){f3=w2(t4,"attributes");for(l3 in f3)g3=f3[l3],r3[l3]=g3}return r3},g2.prototype.getBlockAttributes=function(t4){var n3,i2,o3,r3;for(i2=[];t4&&t4!==this.containerElement;){r3=e2.config.blockAttributes;for(n3 in r3)o3=r3[n3],o3.parse!==false&&l2(t4)===o3.tagName&&(("function"==typeof o3.test?o3.test(t4):void 0)||!o3.test)&&(i2.push(n3),o3.listAttribute&&i2.push(o3.listAttribute));t4=t4.parentNode}return i2.reverse()},g2.prototype.findBlockElementAncestors=function(t4){var e3,n3;for(e3=[];t4&&t4!==this.containerElement;)n3=l2(t4),f2.call(r2(),n3)>=0&&e3.push(t4),t4=t4.parentNode;return e3},w2=function(t4,e3){var n3;try{return n3=JSON.parse(t4.getAttribute("data-trix-"+e3)),"text/html"===n3.contentType&&n3.content&&(n3.content=HTMLSanitizer.sanitize(n3.content).getHTML()),n3}catch(i2){return{}}},b2=function(t4){var e3,n3,i2;return i2=t4.getAttribute("width"),n3=t4.getAttribute("height"),e3={},i2&&(e3.width=parseInt(i2,10)),n3&&(e3.height=parseInt(n3,10)),e3},g2.prototype.isBlockElement=function(t4){var e3;if((null!=t4?t4.nodeType:void 0)===Node.ELEMENT_NODE&&!a2(t4)&&!o2(t4,{matchingSelector:"td",untilNode:this.containerElement}))return e3=l2(t4),f2.call(r2(),e3)>=0||"block"===window.getComputedStyle(t4).display},g2.prototype.isInsignificantTextNode=function(t4){var e3,n3,i2;if((null!=t4?t4.nodeType:void 0)===Node.TEXT_NODE&&k2(t4.data)&&(n3=t4.parentNode,i2=t4.previousSibling,e3=t4.nextSibling,(!C2(n3.previousSibling)||this.isBlockElement(n3.previousSibling))&&!v2(n3)))return!i2||this.isBlockElement(i2)||!e3||this.isBlockElement(e3)},g2.prototype.isExtraBR=function(t4){return"br"===l2(t4)&&this.isBlockElement(t4.parentNode)&&t4.parentNode.lastChild===t4},v2=function(t4){var e3;return e3=window.getComputedStyle(t4).whiteSpace,"pre"===e3||"pre-wrap"===e3||"pre-line"===e3},C2=function(t4){return t4&&!R2(t4.textContent)},g2.prototype.translateBlockElementMarginsToNewlines=function(){var e3,n3,i2,o3,r3,s3,a3;for(e3=this.getMarginOfDefaultBlockElement(),s3=this.blocks,a3=[],i2=n3=0,o3=s3.length;o3>n3;i2=++n3)s3[i2],(r3=this.getMarginOfBlockElementAtIndex(i2))&&(r3.top>2*e3.top&&this.prependStringToTextAtIndex("\n",i2),a3.push(r3.bottom>2*e3.bottom?this.appendStringToTextAtIndex("\n",i2):void 0));return a3},g2.prototype.getMarginOfBlockElementAtIndex=function(t4){var e3,n3;return!(e3=this.blockElements[t4])||!e3.textContent||(n3=l2(e3),f2.call(r2(),n3)>=0||f2.call(this.processedElements,e3)>=0)?void 0:y2(e3)},g2.prototype.getMarginOfDefaultBlockElement=function(){var t4;return t4=s2(e2.config.blockAttributes["default"].tagName),this.containerElement.appendChild(t4),y2(t4)},y2=function(t4){var e3;return e3=window.getComputedStyle(t4),"block"===e3.display?{top:parseInt(e3.marginTop),bottom:parseInt(e3.marginBottom)}:void 0},A2=function(t4){return t4.replace(RegExp("^"+n2.source+"+"),"")},k2=function(t4){return RegExp("^"+n2.source+"*$").test(t4)},R2=function(t4){return/\s$/.test(t4)},g2}(e2.BasicObject)}.call(this),function(){var t3,n2,i,o2,r2=function(t4,e3){function n3(){this.constructor=t4}for(var i2 in e3)s2.call(e3,i2)&&(t4[i2]=e3[i2]);return n3.prototype=e3.prototype,t4.prototype=new n3,t4.__super__=e3.prototype,t4},s2={}.hasOwnProperty,a2=[].slice,u2=[].indexOf||function(t4){for(var e3=0,n3=this.length;n3>e3;e3++)if(e3 in this&&this[e3]===t4)return e3;return-1};t3=e2.arraysAreEqual,i=e2.normalizeRange,o2=e2.rangeIsCollapsed,n2=e2.getBlockConfig,e2.Document=function(s3){function c2(t4){null==t4&&(t4=[]),c2.__super__.constructor.apply(this,arguments),0===t4.length&&(t4=[new e2.Block]),this.blockList=e2.SplittableList.box(t4)}var l2;return r2(c2,s3),c2.fromJSON=function(t4){var n3,i2;return i2=function(){var i3,o3,r3;for(r3=[],i3=0,o3=t4.length;o3>i3;i3++)n3=t4[i3],r3.push(e2.Block.fromJSON(n3));return r3}(),new this(i2)},c2.fromHTML=function(t4,n3){return e2.HTMLParser.parse(t4,n3).getDocument()},c2.fromString=function(t4,n3){var i2;return i2=e2.Text.textForStringWithAttributes(t4,n3),new this([new e2.Block(i2)])},c2.prototype.isEmpty=function(){var t4;return 1===this.blockList.length&&(t4=this.getBlockAtIndex(0),t4.isEmpty()&&!t4.hasAttributes())},c2.prototype.copy=function(t4){var e3;return null==t4&&(t4={}),e3=t4.consolidateBlocks?this.blockList.consolidate().toArray():this.blockList.toArray(),new this.constructor(e3)},c2.prototype.copyUsingObjectsFromDocument=function(t4){var n3;return n3=new e2.ObjectMap(t4.getObjects()),this.copyUsingObjectMap(n3)},c2.prototype.copyUsingObjectMap=function(t4){var e3,n3,i2;return n3=function(){var n4,o3,r3,s4;for(r3=this.getBlocks(),s4=[],n4=0,o3=r3.length;o3>n4;n4++)e3=r3[n4],s4.push((i2=t4.find(e3))?i2:e3.copyUsingObjectMap(t4));return s4}.call(this),new this.constructor(n3)},c2.prototype.copyWithBaseBlockAttributes=function(t4){var e3,n3,i2;return null==t4&&(t4=[]),i2=function(){var i3,o3,r3,s4;for(r3=this.getBlocks(),s4=[],i3=0,o3=r3.length;o3>i3;i3++)n3=r3[i3],e3=t4.concat(n3.getAttributes()),s4.push(n3.copyWithAttributes(e3));return s4}.call(this),new this.constructor(i2)},c2.prototype.replaceBlock=function(t4,e3){var n3;return n3=this.blockList.indexOf(t4),-1===n3?this:new this.constructor(this.blockList.replaceObjectAtIndex(e3,n3))},c2.prototype.insertDocumentAtRange=function(t4,e3){var n3,r3,s4,a3,u3,c3,l3;return r3=t4.blockList,u3=(e3=i(e3))[0],c3=this.locationFromPosition(u3),s4=c3.index,a3=c3.offset,l3=this,n3=this.getBlockAtPosition(u3),o2(e3)&&n3.isEmpty()&&!n3.hasAttributes()?l3=new this.constructor(l3.blockList.removeObjectAtIndex(s4)):n3.getBlockBreakPosition()===a3&&u3++,l3=l3.removeTextAtRange(e3),new this.constructor(l3.blockList.insertSplittableListAtPosition(r3,u3))},c2.prototype.mergeDocumentAtRange=function(e3,n3){var o3,r3,s4,a3,u3,c3,l3,h2,p2,d2,f2,g2;return f2=(n3=i(n3))[0],d2=this.locationFromPosition(f2),r3=this.getBlockAtIndex(d2.index).getAttributes(),o3=e3.getBaseBlockAttributes(),g2=r3.slice(-o3.length),t3(o3,g2)?(l3=r3.slice(0,-o3.length),c3=e3.copyWithBaseBlockAttributes(l3)):c3=e3.copy({consolidateBlocks:true}).copyWithBaseBlockAttributes(r3),s4=c3.getBlockCount(),a3=c3.getBlockAtIndex(0),t3(r3,a3.getAttributes())?(u3=a3.getTextWithoutBlockBreak(),p2=this.insertTextAtRange(u3,n3),s4>1&&(c3=new this.constructor(c3.getBlocks().slice(1)),h2=f2+u3.getLength(),p2=p2.insertDocumentAtRange(c3,h2))):p2=this.insertDocumentAtRange(c3,n3),p2},c2.prototype.insertTextAtRange=function(t4,e3){var n3,o3,r3,s4,a3;return a3=(e3=i(e3))[0],s4=this.locationFromPosition(a3),o3=s4.index,r3=s4.offset,n3=this.removeTextAtRange(e3),new this.constructor(n3.blockList.editObjectAtIndex(o3,(function(e4){return e4.copyWithText(e4.text.insertTextAtPosition(t4,r3))})))},c2.prototype.removeTextAtRange=function(t4){var e3,n3,r3,s4,a3,u3,c3,l3,h2,p2,d2,f2,g2,m2,v2,y2,b2,A2,C2,x2,w2;return p2=t4=i(t4),l3=p2[0],A2=p2[1],o2(t4)?this:(d2=this.locationRangeFromRange(t4),u3=d2[0],y2=d2[1],a3=u3.index,c3=u3.offset,s4=this.getBlockAtIndex(a3),v2=y2.index,b2=y2.offset,m2=this.getBlockAtIndex(v2),f2=A2-l3===1&&s4.getBlockBreakPosition()===c3&&m2.getBlockBreakPosition()!==b2&&"\n"===m2.text.getStringAtPosition(b2),f2?r3=this.blockList.editObjectAtIndex(v2,(function(t5){return t5.copyWithText(t5.text.removeTextAtRange([b2,b2+1]))})):(h2=s4.text.getTextAtRange([0,c3]),C2=m2.text.getTextAtRange([b2,m2.getLength()]),x2=h2.appendText(C2),g2=a3!==v2&&0===c3,w2=g2&&s4.getAttributeLevel()>=m2.getAttributeLevel(),n3=w2?m2.copyWithText(x2):s4.copyWithText(x2),e3=v2+1-a3,r3=this.blockList.splice(a3,e3,n3)),new this.constructor(r3))},c2.prototype.moveTextFromRangeToPosition=function(t4,e3){var n3,o3,r3,s4,u3,c3,l3,h2,p2,d2;return c3=t4=i(t4),p2=c3[0],r3=c3[1],e3>=p2&&r3>=e3?this:(o3=this.getDocumentAtRange(t4),h2=this.removeTextAtRange(t4),u3=e3>p2,u3&&(e3-=o3.getLength()),l3=o3.getBlocks(),s4=l3[0],n3=2<=l3.length?a2.call(l3,1):[],0===n3.length?(d2=s4.getTextWithoutBlockBreak(),u3&&(e3+=1)):d2=s4.text,h2=h2.insertTextAtRange(d2,e3),0===n3.length?h2:(o3=new this.constructor(n3),e3+=d2.getLength(),h2.insertDocumentAtRange(o3,e3)))},c2.prototype.addAttributeAtRange=function(t4,e3,i2){var o3;return o3=this.blockList,this.eachBlockAtRange(i2,(function(i3,r3,s4){return o3=o3.editObjectAtIndex(s4,(function(){return n2(t4)?i3.addAttribute(t4,e3):r3[0]===r3[1]?i3:i3.copyWithText(i3.text.addAttributeAtRange(t4,e3,r3))}))})),new this.constructor(o3)},c2.prototype.addAttribute=function(t4,e3){var n3;return n3=this.blockList,this.eachBlock((function(i2,o3){return n3=n3.editObjectAtIndex(o3,(function(){return i2.addAttribute(t4,e3)}))})),new this.constructor(n3)},c2.prototype.removeAttributeAtRange=function(t4,e3){var i2;return i2=this.blockList,this.eachBlockAtRange(e3,(function(e4,o3,r3){return n2(t4)?i2=i2.editObjectAtIndex(r3,(function(){return e4.removeAttribute(t4)})):o3[0]!==o3[1]?i2=i2.editObjectAtIndex(r3,(function(){return e4.copyWithText(e4.text.removeAttributeAtRange(t4,o3))})):void 0})),new this.constructor(i2)},c2.prototype.updateAttributesForAttachment=function(t4,e3){var n3,o3,r3;return o3=this.getRangeOfAttachment(e3)[0],n3=this.locationFromPosition(o3).index,r3=this.getTextAtIndex(n3),new this.constructor(this.blockList.editObjectAtIndex(n3,(function(n4){return n4.copyWithText(r3.updateAttributesForAttachment(t4,e3))})))},c2.prototype.removeAttributeForAttachment=function(t4,e3){var n3;return n3=this.getRangeOfAttachment(e3),this.removeAttributeAtRange(t4,n3)},c2.prototype.insertBlockBreakAtRange=function(t4){var n3,o3,r3,s4;return s4=(t4=i(t4))[0],r3=this.locationFromPosition(s4).offset,o3=this.removeTextAtRange(t4),0===r3&&(n3=[new e2.Block]),new this.constructor(o3.blockList.insertSplittableListAtPosition(new e2.SplittableList(n3),s4))},c2.prototype.applyBlockAttributeAtRange=function(t4,e3,i2){var o3,r3,s4,a3;return s4=this.expandRangeToLineBreaksAndSplitBlocks(i2),r3=s4.document,i2=s4.range,o3=n2(t4),o3.listAttribute?(r3=r3.removeLastListAttributeAtRange(i2,{exceptAttributeName:t4}),a3=r3.convertLineBreaksToBlockBreaksInRange(i2),r3=a3.document,i2=a3.range):r3=o3.exclusive?r3.removeBlockAttributesAtRange(i2):o3.terminal?r3.removeLastTerminalAttributeAtRange(i2):r3.consolidateBlocksAtRange(i2),r3.addAttributeAtRange(t4,e3,i2)},c2.prototype.removeLastListAttributeAtRange=function(t4,e3){var i2;return null==e3&&(e3={}),i2=this.blockList,this.eachBlockAtRange(t4,(function(t5,o3,r3){var s4;if((s4=t5.getLastAttribute())&&n2(s4).listAttribute&&s4!==e3.exceptAttributeName)return i2=i2.editObjectAtIndex(r3,(function(){return t5.removeAttribute(s4)}))})),new this.constructor(i2)},c2.prototype.removeLastTerminalAttributeAtRange=function(t4){var e3;return e3=this.blockList,this.eachBlockAtRange(t4,(function(t5,i2,o3){var r3;if((r3=t5.getLastAttribute())&&n2(r3).terminal)return e3=e3.editObjectAtIndex(o3,(function(){return t5.removeAttribute(r3)}))})),new this.constructor(e3)},c2.prototype.removeBlockAttributesAtRange=function(t4){var e3;return e3=this.blockList,this.eachBlockAtRange(t4,(function(t5,n3,i2){return t5.hasAttributes()?e3=e3.editObjectAtIndex(i2,(function(){return t5.copyWithoutAttributes()})):void 0})),new this.constructor(e3)},c2.prototype.expandRangeToLineBreaksAndSplitBlocks=function(t4){var e3,n3,o3,r3,s4,a3,u3,c3,l3;return a3=t4=i(t4),l3=a3[0],r3=a3[1],c3=this.locationFromPosition(l3),o3=this.locationFromPosition(r3),e3=this,u3=e3.getBlockAtIndex(c3.index),null!=(c3.offset=u3.findLineBreakInDirectionFromPosition("backward",c3.offset))&&(s4=e3.positionFromLocation(c3),e3=e3.insertBlockBreakAtRange([s4,s4+1]),o3.index+=1,o3.offset-=e3.getBlockAtIndex(c3.index).getLength(),c3.index+=1),c3.offset=0,0===o3.offset&&o3.index>c3.index?(o3.index-=1,o3.offset=e3.getBlockAtIndex(o3.index).getBlockBreakPosition()):(n3=e3.getBlockAtIndex(o3.index),"\n"===n3.text.getStringAtRange([o3.offset-1,o3.offset])?o3.offset-=1:o3.offset=n3.findLineBreakInDirectionFromPosition("forward",o3.offset),o3.offset!==n3.getBlockBreakPosition()&&(s4=e3.positionFromLocation(o3),e3=e3.insertBlockBreakAtRange([s4,s4+1]))),l3=e3.positionFromLocation(c3),r3=e3.positionFromLocation(o3),t4=i([l3,r3]),{document:e3,range:t4}},c2.prototype.convertLineBreaksToBlockBreaksInRange=function(t4){var e3,n3,o3;return n3=(t4=i(t4))[0],o3=this.getStringAtRange(t4).slice(0,-1),e3=this,o3.replace(/.*?\n/g,(function(t5){return n3+=t5.length,e3=e3.insertBlockBreakAtRange([n3-1,n3])})),{document:e3,range:t4}},c2.prototype.consolidateBlocksAtRange=function(t4){var e3,n3,o3,r3,s4;return o3=t4=i(t4),s4=o3[0],n3=o3[1],r3=this.locationFromPosition(s4).index,e3=this.locationFromPosition(n3).index,new this.constructor(this.blockList.consolidateFromIndexToIndex(r3,e3))},c2.prototype.getDocumentAtRange=function(t4){var e3;return t4=i(t4),e3=this.blockList.getSplittableListInRange(t4).toArray(),new this.constructor(e3)},c2.prototype.getStringAtRange=function(t4){var e3,n3,o3;return o3=t4=i(t4),n3=o3[o3.length-1],n3!==this.getLength()&&(e3=-1),this.getDocumentAtRange(t4).toString().slice(0,e3)},c2.prototype.getBlockAtIndex=function(t4){return this.blockList.getObjectAtIndex(t4)},c2.prototype.getBlockAtPosition=function(t4){var e3;return e3=this.locationFromPosition(t4).index,this.getBlockAtIndex(e3)},c2.prototype.getTextAtIndex=function(t4){var e3;return null!=(e3=this.getBlockAtIndex(t4))?e3.text:void 0},c2.prototype.getTextAtPosition=function(t4){var e3;return e3=this.locationFromPosition(t4).index,this.getTextAtIndex(e3)},c2.prototype.getPieceAtPosition=function(t4){var e3,n3,i2;return i2=this.locationFromPosition(t4),e3=i2.index,n3=i2.offset,this.getTextAtIndex(e3).getPieceAtPosition(n3)},c2.prototype.getCharacterAtPosition=function(t4){var e3,n3,i2;return i2=this.locationFromPosition(t4),e3=i2.index,n3=i2.offset,this.getTextAtIndex(e3).getStringAtRange([n3,n3+1])},c2.prototype.getLength=function(){return this.blockList.getEndPosition()},c2.prototype.getBlocks=function(){return this.blockList.toArray()},c2.prototype.getBlockCount=function(){return this.blockList.length},c2.prototype.getEditCount=function(){return this.editCount},c2.prototype.eachBlock=function(t4){return this.blockList.eachObject(t4)},c2.prototype.eachBlockAtRange=function(t4,e3){var n3,o3,r3,s4,a3,u3,c3,l3,h2,p2,d2,f2;if(u3=t4=i(t4),d2=u3[0],r3=u3[1],p2=this.locationFromPosition(d2),o3=this.locationFromPosition(r3),p2.index===o3.index)return n3=this.getBlockAtIndex(p2.index),f2=[p2.offset,o3.offset],e3(n3,f2,p2.index);for(h2=[],a3=s4=c3=p2.index,l3=o3.index;l3>=c3?l3>=s4:s4>=l3;a3=l3>=c3?++s4:--s4)(n3=this.getBlockAtIndex(a3))?(f2=function(){switch(a3){case p2.index:return[p2.offset,n3.text.getLength()];case o3.index:return[0,o3.offset];default:return[0,n3.text.getLength()]}}(),h2.push(e3(n3,f2,a3))):h2.push(void 0);return h2},c2.prototype.getCommonAttributesAtRange=function(t4){var n3,r3,s4;return r3=(t4=i(t4))[0],o2(t4)?this.getCommonAttributesAtPosition(r3):(s4=[],n3=[],this.eachBlockAtRange(t4,(function(t5,e3){return e3[0]!==e3[1]?(s4.push(t5.text.getCommonAttributesAtRange(e3)),n3.push(l2(t5))):void 0})),e2.Hash.fromCommonAttributesOfObjects(s4).merge(e2.Hash.fromCommonAttributesOfObjects(n3)).toObject())},c2.prototype.getCommonAttributesAtPosition=function(t4){var n3,i2,o3,r3,s4,a3,c3,h2,p2,d2;if(p2=this.locationFromPosition(t4),s4=p2.index,h2=p2.offset,o3=this.getBlockAtIndex(s4),!o3)return{};r3=l2(o3),n3=o3.text.getAttributesAtPosition(h2),i2=o3.text.getAttributesAtPosition(h2-1),a3=function(){var t5,n4;t5=e2.config.textAttributes,n4=[];for(c3 in t5)d2=t5[c3],d2.inheritable&&n4.push(c3);return n4}();for(c3 in i2)d2=i2[c3],(d2===n3[c3]||u2.call(a3,c3)>=0)&&(r3[c3]=d2);return r3},c2.prototype.getRangeOfCommonAttributeAtPosition=function(t4,e3){var n3,o3,r3,s4,a3,u3,c3,l3,h2;return a3=this.locationFromPosition(e3),r3=a3.index,s4=a3.offset,h2=this.getTextAtIndex(r3),u3=h2.getExpandedRangeForAttributeAtOffset(t4,s4),l3=u3[0],o3=u3[1],c3=this.positionFromLocation({index:r3,offset:l3}),n3=this.positionFromLocation({index:r3,offset:o3}),i([c3,n3])},c2.prototype.getBaseBlockAttributes=function(){var t4,e3,n3,i2,o3,r3,s4;for(t4=this.getBlockAtIndex(0).getAttributes(),n3=i2=1,s4=this.getBlockCount();s4>=1?s4>i2:i2>s4;n3=s4>=1?++i2:--i2)e3=this.getBlockAtIndex(n3).getAttributes(),r3=Math.min(t4.length,e3.length),t4=function(){var n4,i3,s5;for(s5=[],o3=n4=0,i3=r3;(i3>=0?i3>n4:n4>i3)&&e3[o3]===t4[o3];o3=i3>=0?++n4:--n4)s5.push(e3[o3]);return s5}();return t4},l2=function(t4){var e3,n3;return n3={},(e3=t4.getLastAttribute())&&(n3[e3]=true),n3},c2.prototype.getAttachmentById=function(t4){var e3,n3,i2,o3;for(o3=this.getAttachments(),n3=0,i2=o3.length;i2>n3;n3++)if(e3=o3[n3],e3.id===t4)return e3},c2.prototype.getAttachmentPieces=function(){var t4;return t4=[],this.blockList.eachObject((function(e3){var n3;return n3=e3.text,t4=t4.concat(n3.getAttachmentPieces())})),t4},c2.prototype.getAttachments=function(){var t4,e3,n3,i2,o3;for(i2=this.getAttachmentPieces(),o3=[],t4=0,e3=i2.length;e3>t4;t4++)n3=i2[t4],o3.push(n3.attachment);return o3},c2.prototype.getRangeOfAttachment=function(t4){var e3,n3,o3,r3,s4,a3,u3;for(r3=0,s4=this.blockList.toArray(),n3=e3=0,o3=s4.length;o3>e3;n3=++e3){if(a3=s4[n3].text,u3=a3.getRangeOfAttachment(t4))return i([r3+u3[0],r3+u3[1]]);r3+=a3.getLength()}},c2.prototype.getLocationRangeOfAttachment=function(t4){var e3;return e3=this.getRangeOfAttachment(t4),this.locationRangeFromRange(e3)},c2.prototype.getAttachmentPieceForAttachment=function(t4){var e3,n3,i2,o3;for(o3=this.getAttachmentPieces(),e3=0,n3=o3.length;n3>e3;e3++)if(i2=o3[e3],i2.attachment===t4)return i2},c2.prototype.findRangesForBlockAttribute=function(t4){var e3,n3,i2,o3,r3,s4,a3;for(r3=0,s4=[],a3=this.getBlocks(),n3=0,i2=a3.length;i2>n3;n3++)e3=a3[n3],o3=e3.getLength(),e3.hasAttribute(t4)&&s4.push([r3,r3+o3]),r3+=o3;return s4},c2.prototype.findRangesForTextAttribute=function(t4,e3){var n3,i2,o3,r3,s4,a3,u3,c3,l3,h2;for(h2=(null!=e3?e3:{}).withValue,a3=0,u3=[],c3=[],r3=function(e4){return null!=h2?e4.getAttribute(t4)===h2:e4.hasAttribute(t4)},l3=this.getPieces(),n3=0,i2=l3.length;i2>n3;n3++)s4=l3[n3],o3=s4.getLength(),r3(s4)&&(u3[1]===a3?u3[1]=a3+o3:c3.push(u3=[a3,a3+o3])),a3+=o3;return c3},c2.prototype.locationFromPosition=function(t4){var e3,n3;return n3=this.blockList.findIndexAndOffsetAtPosition(Math.max(0,t4)),null!=n3.index?n3:(e3=this.getBlocks(),{index:e3.length-1,offset:e3[e3.length-1].getLength()})},c2.prototype.positionFromLocation=function(t4){return this.blockList.findPositionAtIndexAndOffset(t4.index,t4.offset)},c2.prototype.locationRangeFromPosition=function(t4){return i(this.locationFromPosition(t4))},c2.prototype.locationRangeFromRange=function(t4){var e3,n3,o3,r3;if(t4=i(t4))return r3=t4[0],n3=t4[1],o3=this.locationFromPosition(r3),e3=this.locationFromPosition(n3),i([o3,e3])},c2.prototype.rangeFromLocationRange=function(t4){var e3,n3;return t4=i(t4),e3=this.positionFromLocation(t4[0]),o2(t4)||(n3=this.positionFromLocation(t4[1])),i([e3,n3])},c2.prototype.isEqualTo=function(t4){return this.blockList.isEqualTo(null!=t4?t4.blockList:void 0)},c2.prototype.getTexts=function(){var t4,e3,n3,i2,o3;for(i2=this.getBlocks(),o3=[],e3=0,n3=i2.length;n3>e3;e3++)t4=i2[e3],o3.push(t4.text);return o3},c2.prototype.getPieces=function(){var t4,e3,n3,i2,o3;for(n3=[],i2=this.getTexts(),t4=0,e3=i2.length;e3>t4;t4++)o3=i2[t4],n3.push.apply(n3,o3.getPieces());return n3},c2.prototype.getObjects=function(){return this.getBlocks().concat(this.getTexts()).concat(this.getPieces())},c2.prototype.toSerializableDocument=function(){var t4;return t4=[],this.blockList.eachObject((function(e3){return t4.push(e3.copyWithText(e3.text.toSerializableText()))})),new this.constructor(t4)},c2.prototype.toString=function(){return this.blockList.toString()},c2.prototype.toJSON=function(){return this.blockList.toJSON()},c2.prototype.toConsole=function(){var t4;return JSON.stringify(function(){var e3,n3,i2,o3;for(i2=this.blockList.toArray(),o3=[],e3=0,n3=i2.length;n3>e3;e3++)t4=i2[e3],o3.push(JSON.parse(t4.text.toConsole()));return o3}.call(this))},c2}(e2.Object)}.call(this),function(){e2.LineBreakInsertion=function(){function t3(t4){var e3;this.composition=t4,this.document=this.composition.document,e3=this.composition.getSelectedRange(),this.startPosition=e3[0],this.endPosition=e3[1],this.startLocation=this.document.locationFromPosition(this.startPosition),this.endLocation=this.document.locationFromPosition(this.endPosition),this.block=this.document.getBlockAtIndex(this.endLocation.index),this.breaksOnReturn=this.block.breaksOnReturn(),this.previousCharacter=this.block.text.getStringAtPosition(this.endLocation.offset-1),this.nextCharacter=this.block.text.getStringAtPosition(this.endLocation.offset)}return t3.prototype.shouldInsertBlockBreak=function(){return this.block.hasAttributes()&&this.block.isListItem()&&!this.block.isEmpty()?0!==this.startLocation.offset:this.breaksOnReturn&&"\n"!==this.nextCharacter},t3.prototype.shouldBreakFormattedBlock=function(){return this.block.hasAttributes()&&!this.block.isListItem()&&(this.breaksOnReturn&&"\n"===this.nextCharacter||"\n"===this.previousCharacter)},t3.prototype.shouldDecreaseListLevel=function(){return this.block.hasAttributes()&&this.block.isListItem()&&this.block.isEmpty()},t3.prototype.shouldPrependListItem=function(){return this.block.isListItem()&&0===this.startLocation.offset&&!this.block.isEmpty()},t3.prototype.shouldRemoveLastBlockAttribute=function(){return this.block.hasAttributes()&&!this.block.isListItem()&&this.block.isEmpty()},t3}()}.call(this),function(){var t3,n2,i,o2,r2,s2,a2,u2,c2,l2,h2=function(t4,e3){function n3(){this.constructor=t4}for(var i2 in e3)p2.call(e3,i2)&&(t4[i2]=e3[i2]);return n3.prototype=e3.prototype,t4.prototype=new n3,t4.__super__=e3.prototype,t4},p2={}.hasOwnProperty;s2=e2.normalizeRange,c2=e2.rangesAreEqual,u2=e2.rangeIsCollapsed,a2=e2.objectsAreEqual,t3=e2.arrayStartsWith,l2=e2.summarizeArrayChange,i=e2.getAllAttributeNames,o2=e2.getBlockConfig,r2=e2.getTextConfig,n2=e2.extend,e2.Composition=function(p3){function d2(){this.document=new e2.Document,this.attachments=[],this.currentAttributes={},this.revision=0}var f2;return h2(d2,p3),d2.prototype.setDocument=function(t4){var e3;return t4.isEqualTo(this.document)?void 0:(this.document=t4,this.refreshAttachments(),this.revision++,null!=(e3=this.delegate)&&"function"==typeof e3.compositionDidChangeDocument?e3.compositionDidChangeDocument(t4):void 0)},d2.prototype.getSnapshot=function(){return{document:this.document,selectedRange:this.getSelectedRange()}},d2.prototype.loadSnapshot=function(t4){var n3,i2,o3,r3;return n3=t4.document,r3=t4.selectedRange,null!=(i2=this.delegate)&&"function"==typeof i2.compositionWillLoadSnapshot&&i2.compositionWillLoadSnapshot(),this.setDocument(null!=n3?n3:new e2.Document),this.setSelection(null!=r3?r3:[0,0]),null!=(o3=this.delegate)&&"function"==typeof o3.compositionDidLoadSnapshot?o3.compositionDidLoadSnapshot():void 0},d2.prototype.insertText=function(t4,e3){var n3,i2,o3,r3;return r3=(null!=e3?e3:{updatePosition:true}).updatePosition,i2=this.getSelectedRange(),this.setDocument(this.document.insertTextAtRange(t4,i2)),o3=i2[0],n3=o3+t4.getLength(),r3&&this.setSelection(n3),this.notifyDelegateOfInsertionAtRange([o3,n3])},d2.prototype.insertBlock=function(t4){var n3;return null==t4&&(t4=new e2.Block),n3=new e2.Document([t4]),this.insertDocument(n3)},d2.prototype.insertDocument=function(t4){var n3,i2,o3;return null==t4&&(t4=new e2.Document),i2=this.getSelectedRange(),this.setDocument(this.document.insertDocumentAtRange(t4,i2)),o3=i2[0],n3=o3+t4.getLength(),this.setSelection(n3),this.notifyDelegateOfInsertionAtRange([o3,n3])},d2.prototype.insertString=function(t4,n3){var i2,o3;return i2=this.getCurrentTextAttributes(),o3=e2.Text.textForStringWithAttributes(t4,i2),this.insertText(o3,n3)},d2.prototype.insertBlockBreak=function(){var t4,e3,n3;return e3=this.getSelectedRange(),this.setDocument(this.document.insertBlockBreakAtRange(e3)),n3=e3[0],t4=n3+1,this.setSelection(t4),this.notifyDelegateOfInsertionAtRange([n3,t4])},d2.prototype.insertLineBreak=function(){var t4,n3;return n3=new e2.LineBreakInsertion(this),n3.shouldDecreaseListLevel()?(this.decreaseListLevel(),this.setSelection(n3.startPosition)):n3.shouldPrependListItem()?(t4=new e2.Document([n3.block.copyWithoutText()]),this.insertDocument(t4)):n3.shouldInsertBlockBreak()?this.insertBlockBreak():n3.shouldRemoveLastBlockAttribute()?this.removeLastBlockAttribute():n3.shouldBreakFormattedBlock()?this.breakFormattedBlock(n3):this.insertString("\n")},d2.prototype.insertHTML=function(t4){var n3,i2,o3,r3;return n3=e2.Document.fromHTML(t4),o3=this.getSelectedRange(),this.setDocument(this.document.mergeDocumentAtRange(n3,o3)),r3=o3[0],i2=r3+n3.getLength()-1,this.setSelection(i2),this.notifyDelegateOfInsertionAtRange([r3,i2])},d2.prototype.replaceHTML=function(t4){var n3,i2,o3;return n3=e2.Document.fromHTML(t4).copyUsingObjectsFromDocument(this.document),i2=this.getLocationRange({strict:false}),o3=this.document.rangeFromLocationRange(i2),this.setDocument(n3),this.setSelection(o3)},d2.prototype.insertFile=function(t4){return this.insertFiles([t4])},d2.prototype.insertFiles=function(t4){var n3,i2,o3,r3,s3,a3;for(i2=[],r3=0,s3=t4.length;s3>r3;r3++)o3=t4[r3],(null!=(a3=this.delegate)?a3.compositionShouldAcceptFile(o3):void 0)&&(n3=e2.Attachment.attachmentForFile(o3),i2.push(n3));return this.insertAttachments(i2)},d2.prototype.insertAttachment=function(t4){return this.insertAttachments([t4])},d2.prototype.insertAttachments=function(t4){var n3,i2,o3,r3,s3,a3,u3,c3,l3;for(c3=new e2.Text,r3=0,s3=t4.length;s3>r3;r3++)n3=t4[r3],l3=n3.getType(),a3=null!=(u3=e2.config.attachments[l3])?u3.presentation:void 0,o3=this.getCurrentTextAttributes(),a3&&(o3.presentation=a3),i2=e2.Text.textForAttachmentWithAttributes(n3,o3),c3=c3.appendText(i2);return this.insertText(c3)},d2.prototype.shouldManageDeletingInDirection=function(t4){var e3;if(e3=this.getLocationRange(),u2(e3)){if("backward"===t4&&0===e3[0].offset)return true;if(this.shouldManageMovingCursorInDirection(t4))return true}else if(e3[0].index!==e3[1].index)return true;return false},d2.prototype.deleteInDirection=function(t4,e3){var n3,i2,o3,r3,s3,a3,c3,l3;return r3=(null!=e3?e3:{}).length,s3=this.getLocationRange(),a3=this.getSelectedRange(),c3=u2(a3),c3?o3="backward"===t4&&0===s3[0].offset:l3=s3[0].index!==s3[1].index,o3&&this.canDecreaseBlockAttributeLevel()&&(i2=this.getBlock(),i2.isListItem()?this.decreaseListLevel():this.decreaseBlockAttributeLevel(),this.setSelection(a3[0]),i2.isEmpty())?false:(c3&&(a3=this.getExpandedRangeInDirection(t4,{length:r3}),"backward"===t4&&(n3=this.getAttachmentAtRange(a3))),n3?(this.editAttachment(n3),false):(this.setDocument(this.document.removeTextAtRange(a3)),this.setSelection(a3[0]),o3||l3?false:void 0))},d2.prototype.moveTextFromRange=function(t4){var e3;return e3=this.getSelectedRange()[0],this.setDocument(this.document.moveTextFromRangeToPosition(t4,e3)),this.setSelection(e3)},d2.prototype.removeAttachment=function(t4){var e3;return(e3=this.document.getRangeOfAttachment(t4))?(this.stopEditingAttachment(),this.setDocument(this.document.removeTextAtRange(e3)),this.setSelection(e3[0])):void 0},d2.prototype.removeLastBlockAttribute=function(){var t4,e3,n3,i2;return n3=this.getSelectedRange(),i2=n3[0],e3=n3[1],t4=this.document.getBlockAtPosition(e3),this.removeCurrentAttribute(t4.getLastAttribute()),this.setSelection(i2)},f2=" ",d2.prototype.insertPlaceholder=function(){return this.placeholderPosition=this.getPosition(),this.insertString(f2)},d2.prototype.selectPlaceholder=function(){return null!=this.placeholderPosition?(this.setSelectedRange([this.placeholderPosition,this.placeholderPosition+f2.length]),this.getSelectedRange()):void 0},d2.prototype.forgetPlaceholder=function(){return this.placeholderPosition=null},d2.prototype.hasCurrentAttribute=function(t4){var e3;return e3=this.currentAttributes[t4],null!=e3&&e3!==false},d2.prototype.toggleCurrentAttribute=function(t4){var e3;return(e3=!this.currentAttributes[t4])?this.setCurrentAttribute(t4,e3):this.removeCurrentAttribute(t4)},d2.prototype.canSetCurrentAttribute=function(t4){return o2(t4)?this.canSetCurrentBlockAttribute(t4):this.canSetCurrentTextAttribute(t4)},d2.prototype.canSetCurrentTextAttribute=function(){var t4,e3,n3,i2,o3;if(e3=this.getSelectedDocument()){for(o3=e3.getAttachments(),n3=0,i2=o3.length;i2>n3;n3++)if(t4=o3[n3],!t4.hasContent())return false;return true}},d2.prototype.canSetCurrentBlockAttribute=function(){var t4;if(t4=this.getBlock())return!t4.isTerminalBlock()},d2.prototype.setCurrentAttribute=function(t4,e3){return o2(t4)?this.setBlockAttribute(t4,e3):(this.setTextAttribute(t4,e3),this.currentAttributes[t4]=e3,this.notifyDelegateOfCurrentAttributesChange())},d2.prototype.setTextAttribute=function(t4,n3){var i2,o3,r3,s3;if(o3=this.getSelectedRange())return r3=o3[0],i2=o3[1],r3!==i2?this.setDocument(this.document.addAttributeAtRange(t4,n3,o3)):"href"===t4?(s3=e2.Text.textForStringWithAttributes(n3,{href:n3}),this.insertText(s3)):void 0},d2.prototype.setBlockAttribute=function(t4,e3){var i2;if(i2=this.getSelectedRange())return this.canSetCurrentAttribute(t4)?(this.getBlock(),this.setDocument(this.document.applyBlockAttributeAtRange(t4,e3,i2)),this.setSelection(i2)):void 0},d2.prototype.removeCurrentAttribute=function(t4){return o2(t4)?(this.removeBlockAttribute(t4),this.updateCurrentAttributes()):(this.removeTextAttribute(t4),delete this.currentAttributes[t4],this.notifyDelegateOfCurrentAttributesChange())},d2.prototype.removeTextAttribute=function(t4){var e3;if(e3=this.getSelectedRange())return this.setDocument(this.document.removeAttributeAtRange(t4,e3))},d2.prototype.removeBlockAttribute=function(t4){var e3;if(e3=this.getSelectedRange())return this.setDocument(this.document.removeAttributeAtRange(t4,e3))},d2.prototype.canDecreaseNestingLevel=function(){var t4;return(null!=(t4=this.getBlock())?t4.getNestingLevel():void 0)>0},d2.prototype.canIncreaseNestingLevel=function(){var e3,n3,i2;if(e3=this.getBlock())return(null!=(i2=o2(e3.getLastNestableAttribute()))?i2.listAttribute:0)?(n3=this.getPreviousBlock())?t3(n3.getListItemAttributes(),e3.getListItemAttributes()):void 0:e3.getNestingLevel()>0},d2.prototype.decreaseNestingLevel=function(){var t4;if(t4=this.getBlock())return this.setDocument(this.document.replaceBlock(t4,t4.decreaseNestingLevel()))},d2.prototype.increaseNestingLevel=function(){var t4;if(t4=this.getBlock())return this.setDocument(this.document.replaceBlock(t4,t4.increaseNestingLevel()))},d2.prototype.canDecreaseBlockAttributeLevel=function(){var t4;return(null!=(t4=this.getBlock())?t4.getAttributeLevel():void 0)>0},d2.prototype.decreaseBlockAttributeLevel=function(){var t4,e3;return(t4=null!=(e3=this.getBlock())?e3.getLastAttribute():void 0)?this.removeCurrentAttribute(t4):void 0},d2.prototype.decreaseListLevel=function(){var t4,e3,n3,i2,o3,r3;for(r3=this.getSelectedRange()[0],o3=this.document.locationFromPosition(r3).index,n3=o3,t4=this.getBlock().getAttributeLevel();(e3=this.document.getBlockAtIndex(n3+1))&&e3.isListItem()&&e3.getAttributeLevel()>t4;)n3++;return r3=this.document.positionFromLocation({index:o3,offset:0}),i2=this.document.positionFromLocation({index:n3,offset:0}),this.setDocument(this.document.removeLastListAttributeAtRange([r3,i2]))},d2.prototype.updateCurrentAttributes=function(){var t4,e3,n3,o3,r3,s3;if(s3=this.getSelectedRange({ignoreLock:true})){for(e3=this.document.getCommonAttributesAtRange(s3),r3=i(),n3=0,o3=r3.length;o3>n3;n3++)t4=r3[n3],e3[t4]||this.canSetCurrentAttribute(t4)||(e3[t4]=false);if(!a2(e3,this.currentAttributes))return this.currentAttributes=e3,this.notifyDelegateOfCurrentAttributesChange()}},d2.prototype.getCurrentAttributes=function(){return n2.call({},this.currentAttributes)},d2.prototype.getCurrentTextAttributes=function(){var t4,e3,n3,i2;t4={},n3=this.currentAttributes;for(e3 in n3)i2=n3[e3],i2!==false&&r2(e3)&&(t4[e3]=i2);return t4},d2.prototype.freezeSelection=function(){return this.setCurrentAttribute("frozen",true)},d2.prototype.thawSelection=function(){return this.removeCurrentAttribute("frozen")},d2.prototype.hasFrozenSelection=function(){return this.hasCurrentAttribute("frozen")},d2.proxyMethod("getSelectionManager().getPointRange"),d2.proxyMethod("getSelectionManager().setLocationRangeFromPointRange"),d2.proxyMethod("getSelectionManager().createLocationRangeFromDOMRange"),d2.proxyMethod("getSelectionManager().locationIsCursorTarget"),d2.proxyMethod("getSelectionManager().selectionIsExpanded"),d2.proxyMethod("delegate?.getSelectionManager"),d2.prototype.setSelection=function(t4){var e3,n3;return e3=this.document.locationRangeFromRange(t4),null!=(n3=this.delegate)?n3.compositionDidRequestChangingSelectionToLocationRange(e3):void 0},d2.prototype.getSelectedRange=function(){var t4;return(t4=this.getLocationRange())?this.document.rangeFromLocationRange(t4):void 0},d2.prototype.setSelectedRange=function(t4){var e3;return e3=this.document.locationRangeFromRange(t4),this.getSelectionManager().setLocationRange(e3)},d2.prototype.getPosition=function(){var t4;return(t4=this.getLocationRange())?this.document.positionFromLocation(t4[0]):void 0},d2.prototype.getLocationRange=function(t4){var e3,n3;return null!=(e3=null!=(n3=this.targetLocationRange)?n3:this.getSelectionManager().getLocationRange(t4))?e3:s2({index:0,offset:0})},d2.prototype.withTargetLocationRange=function(t4,e3){var n3;this.targetLocationRange=t4;try{n3=e3()}finally{this.targetLocationRange=null}return n3},d2.prototype.withTargetRange=function(t4,e3){var n3;return n3=this.document.locationRangeFromRange(t4),this.withTargetLocationRange(n3,e3)},d2.prototype.withTargetDOMRange=function(t4,e3){var n3;return n3=this.createLocationRangeFromDOMRange(t4,{strict:false}),this.withTargetLocationRange(n3,e3)},d2.prototype.getExpandedRangeInDirection=function(t4,e3){var n3,i2,o3,r3;return i2=(null!=e3?e3:{}).length,o3=this.getSelectedRange(),r3=o3[0],n3=o3[1],"backward"===t4?i2?r3-=i2:r3=this.translateUTF16PositionFromOffset(r3,-1):i2?n3+=i2:n3=this.translateUTF16PositionFromOffset(n3,1),s2([r3,n3])},d2.prototype.shouldManageMovingCursorInDirection=function(t4){var e3;return this.editingAttachment?true:(e3=this.getExpandedRangeInDirection(t4),null!=this.getAttachmentAtRange(e3))},d2.prototype.moveCursorInDirection=function(t4){var e3,n3,i2,o3;return this.editingAttachment?i2=this.document.getRangeOfAttachment(this.editingAttachment):(o3=this.getSelectedRange(),i2=this.getExpandedRangeInDirection(t4),n3=!c2(o3,i2)),this.setSelectedRange("backward"===t4?i2[0]:i2[1]),n3&&(e3=this.getAttachmentAtRange(i2))?this.editAttachment(e3):void 0},d2.prototype.expandSelectionInDirection=function(t4,e3){var n3,i2;return n3=(null!=e3?e3:{}).length,i2=this.getExpandedRangeInDirection(t4,{length:n3}),this.setSelectedRange(i2)},d2.prototype.expandSelectionForEditing=function(){return this.hasCurrentAttribute("href")?this.expandSelectionAroundCommonAttribute("href"):void 0},d2.prototype.expandSelectionAroundCommonAttribute=function(t4){var e3,n3;return e3=this.getPosition(),n3=this.document.getRangeOfCommonAttributeAtPosition(t4,e3),this.setSelectedRange(n3)},d2.prototype.selectionContainsAttachments=function(){var t4;return(null!=(t4=this.getSelectedAttachments())?t4.length:void 0)>0},d2.prototype.selectionIsInCursorTarget=function(){return this.editingAttachment||this.positionIsCursorTarget(this.getPosition())},d2.prototype.positionIsCursorTarget=function(t4){var e3;return(e3=this.document.locationFromPosition(t4))?this.locationIsCursorTarget(e3):void 0},d2.prototype.positionIsBlockBreak=function(t4){var e3;return null!=(e3=this.document.getPieceAtPosition(t4))?e3.isBlockBreak():void 0},d2.prototype.getSelectedDocument=function(){var t4;return(t4=this.getSelectedRange())?this.document.getDocumentAtRange(t4):void 0},d2.prototype.getSelectedAttachments=function(){var t4;return null!=(t4=this.getSelectedDocument())?t4.getAttachments():void 0},d2.prototype.getAttachments=function(){return this.attachments.slice(0)},d2.prototype.refreshAttachments=function(){var t4,e3,n3,i2,o3,r3,s3,a3,u3,c3,h3,p4;for(n3=this.document.getAttachments(),a3=l2(this.attachments,n3),t4=a3.added,h3=a3.removed,this.attachments=n3,i2=0,r3=h3.length;r3>i2;i2++)e3=h3[i2],e3.delegate=null,null!=(u3=this.delegate)&&"function"==typeof u3.compositionDidRemoveAttachment&&u3.compositionDidRemoveAttachment(e3);for(p4=[],o3=0,s3=t4.length;s3>o3;o3++)e3=t4[o3],e3.delegate=this,p4.push(null!=(c3=this.delegate)&&"function"==typeof c3.compositionDidAddAttachment?c3.compositionDidAddAttachment(e3):void 0);return p4},d2.prototype.attachmentDidChangeAttributes=function(t4){var e3;return this.revision++,null!=(e3=this.delegate)&&"function"==typeof e3.compositionDidEditAttachment?e3.compositionDidEditAttachment(t4):void 0},d2.prototype.attachmentDidChangePreviewURL=function(t4){var e3;return this.revision++,null!=(e3=this.delegate)&&"function"==typeof e3.compositionDidChangeAttachmentPreviewURL?e3.compositionDidChangeAttachmentPreviewURL(t4):void 0},d2.prototype.editAttachment=function(t4,e3){var n3;if(t4!==this.editingAttachment)return this.stopEditingAttachment(),this.editingAttachment=t4,null!=(n3=this.delegate)&&"function"==typeof n3.compositionDidStartEditingAttachment?n3.compositionDidStartEditingAttachment(this.editingAttachment,e3):void 0},d2.prototype.stopEditingAttachment=function(){var t4;if(this.editingAttachment)return null!=(t4=this.delegate)&&"function"==typeof t4.compositionDidStopEditingAttachment&&t4.compositionDidStopEditingAttachment(this.editingAttachment),this.editingAttachment=null},d2.prototype.updateAttributesForAttachment=function(t4,e3){return this.setDocument(this.document.updateAttributesForAttachment(t4,e3))},d2.prototype.removeAttributeForAttachment=function(t4,e3){return this.setDocument(this.document.removeAttributeForAttachment(t4,e3))},d2.prototype.breakFormattedBlock=function(t4){var n3,i2,o3,r3,s3;return i2=t4.document,n3=t4.block,r3=t4.startPosition,s3=[r3-1,r3],n3.getBlockBreakPosition()===t4.startLocation.offset?(n3.breaksOnReturn()&&"\n"===t4.nextCharacter?r3+=1:i2=i2.removeTextAtRange(s3),s3=[r3,r3]):"\n"===t4.nextCharacter?"\n"===t4.previousCharacter?s3=[r3-1,r3+1]:(s3=[r3,r3+1],r3+=1):t4.startLocation.offset-1!==0&&(r3+=1),o3=new e2.Document([n3.removeLastAttribute().copyWithoutText()]),this.setDocument(i2.insertDocumentAtRange(o3,s3)),this.setSelection(r3)},d2.prototype.getPreviousBlock=function(){var t4,e3;return(e3=this.getLocationRange())&&(t4=e3[0].index,t4>0)?this.document.getBlockAtIndex(t4-1):void 0},d2.prototype.getBlock=function(){var t4;return(t4=this.getLocationRange())?this.document.getBlockAtIndex(t4[0].index):void 0},d2.prototype.getAttachmentAtRange=function(t4){var n3;return n3=this.document.getDocumentAtRange(t4),n3.toString()===e2.OBJECT_REPLACEMENT_CHARACTER+"\n"?n3.getAttachments()[0]:void 0},d2.prototype.notifyDelegateOfCurrentAttributesChange=function(){var t4;return null!=(t4=this.delegate)&&"function"==typeof t4.compositionDidChangeCurrentAttributes?t4.compositionDidChangeCurrentAttributes(this.currentAttributes):void 0},d2.prototype.notifyDelegateOfInsertionAtRange=function(t4){var e3;return null!=(e3=this.delegate)&&"function"==typeof e3.compositionDidPerformInsertionAtRange?e3.compositionDidPerformInsertionAtRange(t4):void 0},d2.prototype.translateUTF16PositionFromOffset=function(t4,e3){var n3,i2;return i2=this.document.toUTF16String(),n3=i2.offsetFromUCS2Offset(t4),i2.offsetToUCS2Offset(n3+e3)},d2}(e2.BasicObject)}.call(this),function(){var t3=function(t4,e3){function i(){this.constructor=t4}for(var o2 in e3)n2.call(e3,o2)&&(t4[o2]=e3[o2]);return i.prototype=e3.prototype,t4.prototype=new i,t4.__super__=e3.prototype,t4},n2={}.hasOwnProperty;e2.UndoManager=function(e3){function n3(t4){this.composition=t4,this.undoEntries=[],this.redoEntries=[]}var i;return t3(n3,e3),n3.prototype.recordUndoEntry=function(t4,e4){var n4,o2,r2,s2,a2;return s2=null!=e4?e4:{},o2=s2.context,n4=s2.consolidatable,r2=this.undoEntries.slice(-1)[0],n4&&i(r2,t4,o2)?void 0:(a2=this.createEntry({description:t4,context:o2}),this.undoEntries.push(a2),this.redoEntries=[])},n3.prototype.undo=function(){var t4,e4;return(e4=this.undoEntries.pop())?(t4=this.createEntry(e4),this.redoEntries.push(t4),this.composition.loadSnapshot(e4.snapshot)):void 0},n3.prototype.redo=function(){var t4,e4;return(t4=this.redoEntries.pop())?(e4=this.createEntry(t4),this.undoEntries.push(e4),this.composition.loadSnapshot(t4.snapshot)):void 0},n3.prototype.canUndo=function(){return this.undoEntries.length>0},n3.prototype.canRedo=function(){return this.redoEntries.length>0},n3.prototype.createEntry=function(t4){var e4,n4,i2;return i2=null!=t4?t4:{},n4=i2.description,e4=i2.context,{description:null!=n4?n4.toString():void 0,context:JSON.stringify(e4),snapshot:this.composition.getSnapshot()}},i=function(t4,e4,n4){return(null!=t4?t4.description:void 0)===(null!=e4?e4.toString():void 0)&&(null!=t4?t4.context:void 0)===JSON.stringify(n4)},n3}(e2.BasicObject)}.call(this),function(){var t3;e2.attachmentGalleryFilter=function(e3){var n2;return n2=new t3(e3),n2.perform(),n2.getSnapshot()},t3=function(){function t4(t5){this.document=t5.document,this.selectedRange=t5.selectedRange}var e3,n2,i;return e3="attachmentGallery",n2="presentation",i="gallery",t4.prototype.perform=function(){return this.removeBlockAttribute(),this.applyBlockAttribute()},t4.prototype.getSnapshot=function(){return{document:this.document,selectedRange:this.selectedRange}},t4.prototype.removeBlockAttribute=function(){var t5,n3,i2,o2,r2;for(o2=this.findRangesOfBlocks(),r2=[],t5=0,n3=o2.length;n3>t5;t5++)i2=o2[t5],r2.push(this.document=this.document.removeAttributeAtRange(e3,i2));return r2},t4.prototype.applyBlockAttribute=function(){var t5,n3,i2,o2,r2,s2;for(i2=0,r2=this.findRangesOfPieces(),s2=[],t5=0,n3=r2.length;n3>t5;t5++)o2=r2[t5],o2[1]-o2[0]>1&&(o2[0]+=i2,o2[1]+=i2,"\n"!==this.document.getCharacterAtPosition(o2[1])&&(this.document=this.document.insertBlockBreakAtRange(o2[1]),o2[1]<this.selectedRange[1]&&this.moveSelectedRangeForward(),o2[1]++,i2++),0!==o2[0]&&"\n"!==this.document.getCharacterAtPosition(o2[0]-1)&&(this.document=this.document.insertBlockBreakAtRange(o2[0]),o2[0]<this.selectedRange[0]&&this.moveSelectedRangeForward(),o2[0]++,i2++),s2.push(this.document=this.document.applyBlockAttributeAtRange(e3,true,o2)));return s2},t4.prototype.findRangesOfBlocks=function(){return this.document.findRangesForBlockAttribute(e3)},t4.prototype.findRangesOfPieces=function(){return this.document.findRangesForTextAttribute(n2,{withValue:i})},t4.prototype.moveSelectedRangeForward=function(){return this.selectedRange[0]+=1,this.selectedRange[1]+=1},t4}()}.call(this),function(){var t3=function(t4,e3){return function(){return t4.apply(e3,arguments)}};e2.Editor=function(){function n2(n3,o2,r2){this.composition=n3,this.selectionManager=o2,this.element=r2,this.insertFiles=t3(this.insertFiles,this),this.undoManager=new e2.UndoManager(this.composition),this.filters=i.slice(0)}var i;return i=[e2.attachmentGalleryFilter],n2.prototype.loadDocument=function(t4){return this.loadSnapshot({document:t4,selectedRange:[0,0]})},n2.prototype.loadHTML=function(t4){return null==t4&&(t4=""),this.loadDocument(e2.Document.fromHTML(t4,{referenceElement:this.element}))},n2.prototype.loadJSON=function(t4){var n3,i2;return n3=t4.document,i2=t4.selectedRange,n3=e2.Document.fromJSON(n3),this.loadSnapshot({document:n3,selectedRange:i2})},n2.prototype.loadSnapshot=function(t4){return this.undoManager=new e2.UndoManager(this.composition),this.composition.loadSnapshot(t4)},n2.prototype.getDocument=function(){return this.composition.document},n2.prototype.getSelectedDocument=function(){return this.composition.getSelectedDocument()},n2.prototype.getSnapshot=function(){return this.composition.getSnapshot()},n2.prototype.toJSON=function(){return this.getSnapshot()},n2.prototype.deleteInDirection=function(t4){return this.composition.deleteInDirection(t4)},n2.prototype.insertAttachment=function(t4){return this.composition.insertAttachment(t4)},n2.prototype.insertAttachments=function(t4){return this.composition.insertAttachments(t4)},n2.prototype.insertDocument=function(t4){return this.composition.insertDocument(t4)},n2.prototype.insertFile=function(t4){return this.composition.insertFile(t4)},n2.prototype.insertFiles=function(t4){return this.composition.insertFiles(t4)},n2.prototype.insertHTML=function(t4){return this.composition.insertHTML(t4)},n2.prototype.insertString=function(t4){return this.composition.insertString(t4)},n2.prototype.insertText=function(t4){return this.composition.insertText(t4)},n2.prototype.insertLineBreak=function(){return this.composition.insertLineBreak()},n2.prototype.getSelectedRange=function(){return this.composition.getSelectedRange()},n2.prototype.getPosition=function(){return this.composition.getPosition()},n2.prototype.getClientRectAtPosition=function(t4){var e3;return e3=this.getDocument().locationRangeFromRange([t4,t4+1]),this.selectionManager.getClientRectAtLocationRange(e3)},n2.prototype.expandSelectionInDirection=function(t4){return this.composition.expandSelectionInDirection(t4)},n2.prototype.moveCursorInDirection=function(t4){return this.composition.moveCursorInDirection(t4)},n2.prototype.setSelectedRange=function(t4){return this.composition.setSelectedRange(t4)},n2.prototype.activateAttribute=function(t4,e3){return null==e3&&(e3=true),this.composition.setCurrentAttribute(t4,e3)},n2.prototype.attributeIsActive=function(t4){return this.composition.hasCurrentAttribute(t4)},n2.prototype.canActivateAttribute=function(t4){return this.composition.canSetCurrentAttribute(t4)},n2.prototype.deactivateAttribute=function(t4){return this.composition.removeCurrentAttribute(t4)},n2.prototype.canDecreaseNestingLevel=function(){return this.composition.canDecreaseNestingLevel()},n2.prototype.canIncreaseNestingLevel=function(){return this.composition.canIncreaseNestingLevel()},n2.prototype.decreaseNestingLevel=function(){return this.canDecreaseNestingLevel()?this.composition.decreaseNestingLevel():void 0},n2.prototype.increaseNestingLevel=function(){return this.canIncreaseNestingLevel()?this.composition.increaseNestingLevel():void 0},n2.prototype.canRedo=function(){return this.undoManager.canRedo()},n2.prototype.canUndo=function(){return this.undoManager.canUndo()},n2.prototype.recordUndoEntry=function(t4,e3){var n3,i2,o2;return o2=null!=e3?e3:{},i2=o2.context,n3=o2.consolidatable,this.undoManager.recordUndoEntry(t4,{context:i2,consolidatable:n3})},n2.prototype.redo=function(){return this.canRedo()?this.undoManager.redo():void 0},n2.prototype.undo=function(){return this.canUndo()?this.undoManager.undo():void 0},n2}()}.call(this),function(){var t3=function(t4,e3){function i(){this.constructor=t4}for(var o2 in e3)n2.call(e3,o2)&&(t4[o2]=e3[o2]);return i.prototype=e3.prototype,t4.prototype=new i,t4.__super__=e3.prototype,t4},n2={}.hasOwnProperty;e2.ManagedAttachment=function(e3){function n3(t4,e4){var n4;this.attachmentManager=t4,this.attachment=e4,n4=this.attachment,this.id=n4.id,this.file=n4.file}return t3(n3,e3),n3.prototype.remove=function(){return this.attachmentManager.requestRemovalOfAttachment(this.attachment)},n3.proxyMethod("attachment.getAttribute"),n3.proxyMethod("attachment.hasAttribute"),n3.proxyMethod("attachment.setAttribute"),n3.proxyMethod("attachment.getAttributes"),n3.proxyMethod("attachment.setAttributes"),n3.proxyMethod("attachment.isPending"),n3.proxyMethod("attachment.isPreviewable"),n3.proxyMethod("attachment.getURL"),n3.proxyMethod("attachment.getHref"),n3.proxyMethod("attachment.getFilename"),n3.proxyMethod("attachment.getFilesize"),n3.proxyMethod("attachment.getFormattedFilesize"),n3.proxyMethod("attachment.getExtension"),n3.proxyMethod("attachment.getContentType"),n3.proxyMethod("attachment.getFile"),n3.proxyMethod("attachment.setFile"),n3.proxyMethod("attachment.releaseFile"),n3.proxyMethod("attachment.getUploadProgress"),n3.proxyMethod("attachment.setUploadProgress"),n3}(e2.BasicObject)}.call(this),function(){var t3=function(t4,e3){function i(){this.constructor=t4}for(var o2 in e3)n2.call(e3,o2)&&(t4[o2]=e3[o2]);return i.prototype=e3.prototype,t4.prototype=new i,t4.__super__=e3.prototype,t4},n2={}.hasOwnProperty;e2.AttachmentManager=function(n3){function i(t4){var e3,n4,i2;for(null==t4&&(t4=[]),this.managedAttachments={},n4=0,i2=t4.length;i2>n4;n4++)e3=t4[n4],this.manageAttachment(e3)}return t3(i,n3),i.prototype.getAttachments=function(){var t4,e3,n4,i2;n4=this.managedAttachments,i2=[];for(e3 in n4)t4=n4[e3],i2.push(t4);return i2},i.prototype.manageAttachment=function(t4){var n4,i2;return null!=(n4=this.managedAttachments)[i2=t4.id]?n4[i2]:n4[i2]=new e2.ManagedAttachment(this,t4)},i.prototype.attachmentIsManaged=function(t4){return t4.id in this.managedAttachments},i.prototype.requestRemovalOfAttachment=function(t4){var e3;return this.attachmentIsManaged(t4)&&null!=(e3=this.delegate)&&"function"==typeof e3.attachmentManagerDidRequestRemovalOfAttachment?e3.attachmentManagerDidRequestRemovalOfAttachment(t4):void 0},i.prototype.unmanageAttachment=function(t4){var e3;return e3=this.managedAttachments[t4.id],delete this.managedAttachments[t4.id],e3},i}(e2.BasicObject)}.call(this),function(){var t3,n2,i,o2,r2,s2,a2,u2,c2,l2,h2;t3=e2.elementContainsNode,n2=e2.findChildIndexOfNode,r2=e2.nodeIsBlockStart,s2=e2.nodeIsBlockStartComment,o2=e2.nodeIsBlockContainer,a2=e2.nodeIsCursorTarget,u2=e2.nodeIsEmptyTextNode,c2=e2.nodeIsTextNode,i=e2.nodeIsAttachmentElement,l2=e2.tagName,h2=e2.walkTree,e2.LocationMapper=function(){function e3(t4){this.element=t4}var p2,d2,f2,g2;return e3.prototype.findLocationFromContainerAndOffset=function(e4,i2,o3){var s3,u3,l3,p3,g3,m2,v2;for(m2=(null!=o3?o3:{strict:true}).strict,u3=0,l3=false,p3={index:0,offset:0},(s3=this.findAttachmentElementParentForNode(e4))&&(e4=s3.parentNode,i2=n2(s3)),v2=h2(this.element,{usingFilter:f2});v2.nextNode();){if(g3=v2.currentNode,g3===e4&&c2(e4)){a2(g3)||(p3.offset+=i2);break}if(g3.parentNode===e4){if(u3++===i2)break}else if(!t3(e4,g3)&&u3>0)break;r2(g3,{strict:m2})?(l3&&p3.index++,p3.offset=0,l3=true):p3.offset+=d2(g3)}return p3},e3.prototype.findContainerAndOffsetFromLocation=function(t4){var e4,i2,s3,u3,l3;if(0===t4.index&&0===t4.offset){for(e4=this.element,u3=0;e4.firstChild;)if(e4=e4.firstChild,o2(e4)){u3=1;break}return[e4,u3]}if(l3=this.findNodeAndOffsetFromLocation(t4),i2=l3[0],s3=l3[1],i2){if(c2(i2))0===d2(i2)?(e4=i2.parentNode.parentNode,u3=n2(i2.parentNode),a2(i2,{name:"right"})&&u3++):(e4=i2,u3=t4.offset-s3);else{if(e4=i2.parentNode,!r2(i2.previousSibling)&&!o2(e4))for(;i2===e4.lastChild&&(i2=e4,e4=e4.parentNode,!o2(e4)););u3=n2(i2),0!==t4.offset&&u3++}return[e4,u3]}},e3.prototype.findNodeAndOffsetFromLocation=function(t4){var e4,n3,i2,o3,r3,s3,u3,l3;for(u3=0,l3=this.getSignificantNodesForIndex(t4.index),n3=0,i2=l3.length;i2>n3;n3++){if(e4=l3[n3],o3=d2(e4),t4.offset<=u3+o3)if(c2(e4)){if(r3=e4,s3=u3,t4.offset===s3&&a2(r3))break}else r3||(r3=e4,s3=u3);if(u3+=o3,u3>t4.offset)break}return[r3,s3]},e3.prototype.findAttachmentElementParentForNode=function(t4){for(;t4&&t4!==this.element;){if(i(t4))return t4;t4=t4.parentNode}},e3.prototype.getSignificantNodesForIndex=function(t4){var e4,n3,i2,o3,r3;for(i2=[],r3=h2(this.element,{usingFilter:p2}),o3=false;r3.nextNode();)if(n3=r3.currentNode,s2(n3)){if("undefined"!=typeof e4&&null!==e4?e4++:e4=0,e4===t4)o3=true;else if(o3)break}else o3&&i2.push(n3);return i2},d2=function(t4){var e4;return t4.nodeType===Node.TEXT_NODE?a2(t4)?0:(e4=t4.textContent,e4.length):"br"===l2(t4)||i(t4)?1:0},p2=function(t4){return g2(t4)===NodeFilter.FILTER_ACCEPT?f2(t4):NodeFilter.FILTER_REJECT},g2=function(t4){return u2(t4)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},f2=function(t4){return i(t4.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},e3}()}.call(this),function(){var t3,n2,i=[].slice;t3=e2.getDOMRange,n2=e2.setDOMRange,e2.PointMapper=function(){function e3(){}return e3.prototype.createDOMRangeFromPoint=function(e4){var i2,o2,r2,s2,a2,u2,c2,l2;if(c2=e4.x,l2=e4.y,document.caretPositionFromPoint)return a2=document.caretPositionFromPoint(c2,l2),r2=a2.offsetNode,o2=a2.offset,i2=document.createRange(),i2.setStart(r2,o2),i2;if(document.caretRangeFromPoint)return document.caretRangeFromPoint(c2,l2);if(document.body.createTextRange){s2=t3();try{u2=document.body.createTextRange(),u2.moveToPoint(c2,l2),u2.select()}catch(h2){}return i2=t3(),n2(s2),i2}},e3.prototype.getClientRectsForDOMRange=function(t4){var e4,n3,o2;return n3=i.call(t4.getClientRects()),o2=n3[0],e4=n3[n3.length-1],[o2,e4]},e3}()}.call(this),function(){var t3,n2=function(t4,e3){return function(){return t4.apply(e3,arguments)}},i=function(t4,e3){function n3(){this.constructor=t4}for(var i2 in e3)o2.call(e3,i2)&&(t4[i2]=e3[i2]);return n3.prototype=e3.prototype,t4.prototype=new n3,t4.__super__=e3.prototype,t4},o2={}.hasOwnProperty,r2=[].indexOf||function(t4){for(var e3=0,n3=this.length;n3>e3;e3++)if(e3 in this&&this[e3]===t4)return e3;return-1};t3=e2.getDOMRange,e2.SelectionChangeObserver=function(e3){function o3(){this.run=n2(this.run,this),this.update=n2(this.update,this),this.selectionManagers=[]}var s2;return i(o3,e3),o3.prototype.start=function(){return this.started?void 0:(this.started=true,"onselectionchange"in document?document.addEventListener("selectionchange",this.update,true):this.run())},o3.prototype.stop=function(){return this.started?(this.started=false,document.removeEventListener("selectionchange",this.update,true)):void 0},o3.prototype.registerSelectionManager=function(t4){return r2.call(this.selectionManagers,t4)<0?(this.selectionManagers.push(t4),this.start()):void 0},o3.prototype.unregisterSelectionManager=function(t4){var e4;return this.selectionManagers=function(){var n3,i2,o4,r3;for(o4=this.selectionManagers,r3=[],n3=0,i2=o4.length;i2>n3;n3++)e4=o4[n3],e4!==t4&&r3.push(e4);return r3}.call(this),0===this.selectionManagers.length?this.stop():void 0},o3.prototype.notifySelectionManagersOfSelectionChange=function(){var t4,e4,n3,i2,o4;for(n3=this.selectionManagers,i2=[],t4=0,e4=n3.length;e4>t4;t4++)o4=n3[t4],i2.push(o4.selectionDidChange());return i2},o3.prototype.update=function(){var e4;return e4=t3(),s2(e4,this.domRange)?void 0:(this.domRange=e4,this.notifySelectionManagersOfSelectionChange())},o3.prototype.reset=function(){return this.domRange=null,this.update()},o3.prototype.run=function(){return this.started?(this.update(),requestAnimationFrame(this.run)):void 0},s2=function(t4,e4){return(null!=t4?t4.startContainer:void 0)===(null!=e4?e4.startContainer:void 0)&&(null!=t4?t4.startOffset:void 0)===(null!=e4?e4.startOffset:void 0)&&(null!=t4?t4.endContainer:void 0)===(null!=e4?e4.endContainer:void 0)&&(null!=t4?t4.endOffset:void 0)===(null!=e4?e4.endOffset:void 0)},o3}(e2.BasicObject),null==e2.selectionChangeObserver&&(e2.selectionChangeObserver=new e2.SelectionChangeObserver)}.call(this),function(){var t3,n2,i,o2,r2,s2,a2,u2,c2,l2,h2=function(t4,e3){return function(){return t4.apply(e3,arguments)}},p2=function(t4,e3){function n3(){this.constructor=t4}for(var i2 in e3)d2.call(e3,i2)&&(t4[i2]=e3[i2]);return n3.prototype=e3.prototype,t4.prototype=new n3,t4.__super__=e3.prototype,t4},d2={}.hasOwnProperty;i=e2.getDOMSelection,n2=e2.getDOMRange,l2=e2.setDOMRange,t3=e2.elementContainsNode,s2=e2.nodeIsCursorTarget,r2=e2.innerElementIsActive,o2=e2.handleEvent,a2=e2.normalizeRange,u2=e2.rangeIsCollapsed,c2=e2.rangesAreEqual,e2.SelectionManager=function(d3){function f2(t4){this.element=t4,this.selectionDidChange=h2(this.selectionDidChange,this),this.didMouseDown=h2(this.didMouseDown,this),this.locationMapper=new e2.LocationMapper(this.element),this.pointMapper=new e2.PointMapper,this.lockCount=0,o2("mousedown",{onElement:this.element,withCallback:this.didMouseDown})}return p2(f2,d3),f2.prototype.getLocationRange=function(t4){var i2;return null==t4&&(t4={}),t4.strict===false?this.createLocationRangeFromDOMRange(n2(),{strict:false}):t4.ignoreLock?this.currentLocationRange:null!=(i2=this.lockedLocationRange)?i2:this.currentLocationRange},f2.prototype.setLocationRange=function(t4){var e3;if(!this.lockedLocationRange)return t4=a2(t4),(e3=this.createDOMRangeFromLocationRange(t4))?(l2(e3),this.updateCurrentLocationRange(t4)):void 0},f2.prototype.setLocationRangeFromPointRange=function(t4){var e3,n3;return t4=a2(t4),n3=this.getLocationAtPoint(t4[0]),e3=this.getLocationAtPoint(t4[1]),this.setLocationRange([n3,e3])},f2.prototype.getClientRectAtLocationRange=function(t4){var e3;return(e3=this.createDOMRangeFromLocationRange(t4))?this.getClientRectsForDOMRange(e3)[1]:void 0},f2.prototype.locationIsCursorTarget=function(t4){var e3,i2;return i2=this.findNodeAndOffsetFromLocation(t4),e3=i2[0],i2[1],s2(e3)},f2.prototype.lock=function(){return 0===this.lockCount++?(this.updateCurrentLocationRange(),this.lockedLocationRange=this.getLocationRange()):void 0},f2.prototype.unlock=function(){var t4;return 0===--this.lockCount&&(t4=this.lockedLocationRange,this.lockedLocationRange=null,null!=t4)?this.setLocationRange(t4):void 0},f2.prototype.clearSelection=function(){var t4;return null!=(t4=i())?t4.removeAllRanges():void 0},f2.prototype.selectionIsCollapsed=function(){var t4;return(null!=(t4=n2())?t4.collapsed:void 0)===true},f2.prototype.selectionIsExpanded=function(){return!this.selectionIsCollapsed()},f2.prototype.createLocationRangeFromDOMRange=function(t4,e3){var n3,i2;if(null!=t4&&this.domRangeWithinElement(t4)&&(i2=this.findLocationFromContainerAndOffset(t4.startContainer,t4.startOffset,e3)))return t4.collapsed||(n3=this.findLocationFromContainerAndOffset(t4.endContainer,t4.endOffset,e3)),a2([i2,n3])},f2.proxyMethod("locationMapper.findLocationFromContainerAndOffset"),f2.proxyMethod("locationMapper.findContainerAndOffsetFromLocation"),f2.proxyMethod("locationMapper.findNodeAndOffsetFromLocation"),f2.proxyMethod("pointMapper.createDOMRangeFromPoint"),f2.proxyMethod("pointMapper.getClientRectsForDOMRange"),f2.prototype.didMouseDown=function(){return this.pauseTemporarily()},f2.prototype.pauseTemporarily=function(){var e3,n3,i2,r3;return this.paused=true,n3=function(e4){return function(){var n4,o3,s3;for(e4.paused=false,clearTimeout(r3),o3=0,s3=i2.length;s3>o3;o3++)n4=i2[o3],n4.destroy();return t3(document,e4.element)?e4.selectionDidChange():void 0}}(this),r3=setTimeout(n3,200),i2=function(){var t4,i3,r4,s3;for(r4=["mousemove","keydown"],s3=[],t4=0,i3=r4.length;i3>t4;t4++)e3=r4[t4],s3.push(o2(e3,{onElement:document,withCallback:n3}));return s3}()},f2.prototype.selectionDidChange=function(){return this.paused||r2(this.element)?void 0:this.updateCurrentLocationRange()},f2.prototype.updateCurrentLocationRange=function(t4){var e3;return(null!=t4?t4:t4=this.createLocationRangeFromDOMRange(n2()))&&!c2(t4,this.currentLocationRange)?(this.currentLocationRange=t4,null!=(e3=this.delegate)&&"function"==typeof e3.locationRangeDidChange?e3.locationRangeDidChange(this.currentLocationRange.slice(0)):void 0):void 0},f2.prototype.createDOMRangeFromLocationRange=function(t4){var e3,n3,i2,o3;return i2=this.findContainerAndOffsetFromLocation(t4[0]),n3=u2(t4)?i2:null!=(o3=this.findContainerAndOffsetFromLocation(t4[1]))?o3:i2,null!=i2&&null!=n3?(e3=document.createRange(),e3.setStart.apply(e3,i2),e3.setEnd.apply(e3,n3),e3):void 0},f2.prototype.getLocationAtPoint=function(t4){var e3,n3;return(e3=this.createDOMRangeFromPoint(t4))&&null!=(n3=this.createLocationRangeFromDOMRange(e3))?n3[0]:void 0},f2.prototype.domRangeWithinElement=function(e3){return e3.collapsed?t3(this.element,e3.startContainer):t3(this.element,e3.startContainer)&&t3(this.element,e3.endContainer)},f2}(e2.BasicObject)}.call(this),function(){var t3,n2,i,o2,r2=function(t4,e3){function n3(){this.constructor=t4}for(var i2 in e3)s2.call(e3,i2)&&(t4[i2]=e3[i2]);return n3.prototype=e3.prototype,t4.prototype=new n3,t4.__super__=e3.prototype,t4},s2={}.hasOwnProperty,a2=[].slice;i=e2.rangeIsCollapsed,o2=e2.rangesAreEqual,n2=e2.objectsAreEqual,t3=e2.getBlockConfig,e2.EditorController=function(s3){function u2(t4){var n3,i2;this.editorElement=t4.editorElement,n3=t4.document,i2=t4.html,this.selectionManager=new e2.SelectionManager(this.editorElement),this.selectionManager.delegate=this,this.composition=new e2.Composition,this.composition.delegate=this,this.attachmentManager=new e2.AttachmentManager(this.composition.getAttachments()),this.attachmentManager.delegate=this,this.inputController=new(e2["Level"+e2.config.input.getLevel()+"InputController"])(this.editorElement),this.inputController.delegate=this,this.inputController.responder=this.composition,this.compositionController=new e2.CompositionController(this.editorElement,this.composition),this.compositionController.delegate=this,this.toolbarController=new e2.ToolbarController(this.editorElement.toolbarElement),this.toolbarController.delegate=this,this.editor=new e2.Editor(this.composition,this.selectionManager,this.editorElement),null!=n3?this.editor.loadDocument(n3):this.editor.loadHTML(i2)}var c2;return r2(u2,s3),u2.prototype.registerSelectionManager=function(){return e2.selectionChangeObserver.registerSelectionManager(this.selectionManager)},u2.prototype.unregisterSelectionManager=function(){return e2.selectionChangeObserver.unregisterSelectionManager(this.selectionManager)},u2.prototype.render=function(){return this.compositionController.render()},u2.prototype.reparse=function(){return this.composition.replaceHTML(this.editorElement.innerHTML)},u2.prototype.compositionDidChangeDocument=function(){return this.notifyEditorElement("document-change"),this.handlingInput?void 0:this.render()},u2.prototype.compositionDidChangeCurrentAttributes=function(t4){return this.currentAttributes=t4,this.toolbarController.updateAttributes(this.currentAttributes),this.updateCurrentActions(),this.notifyEditorElement("attributes-change",{attributes:this.currentAttributes})},u2.prototype.compositionDidPerformInsertionAtRange=function(t4){return this.pasting?this.pastedRange=t4:void 0},u2.prototype.compositionShouldAcceptFile=function(t4){return this.notifyEditorElement("file-accept",{file:t4})},u2.prototype.compositionDidAddAttachment=function(t4){var e3;return e3=this.attachmentManager.manageAttachment(t4),this.notifyEditorElement("attachment-add",{attachment:e3})},u2.prototype.compositionDidEditAttachment=function(t4){var e3;return this.compositionController.rerenderViewForObject(t4),e3=this.attachmentManager.manageAttachment(t4),this.notifyEditorElement("attachment-edit",{attachment:e3}),this.notifyEditorElement("change")},u2.prototype.compositionDidChangeAttachmentPreviewURL=function(t4){return this.compositionController.invalidateViewForObject(t4),this.notifyEditorElement("change")},u2.prototype.compositionDidRemoveAttachment=function(t4){var e3;return e3=this.attachmentManager.unmanageAttachment(t4),this.notifyEditorElement("attachment-remove",{attachment:e3})},u2.prototype.compositionDidStartEditingAttachment=function(t4,e3){return this.attachmentLocationRange=this.composition.document.getLocationRangeOfAttachment(t4),this.compositionController.installAttachmentEditorForAttachment(t4,e3),this.selectionManager.setLocationRange(this.attachmentLocationRange)},u2.prototype.compositionDidStopEditingAttachment=function(){return this.compositionController.uninstallAttachmentEditor(),this.attachmentLocationRange=null},u2.prototype.compositionDidRequestChangingSelectionToLocationRange=function(t4){return!this.loadingSnapshot||this.isFocused()?(this.requestedLocationRange=t4,this.compositionRevisionWhenLocationRangeRequested=this.composition.revision,this.handlingInput?void 0:this.render()):void 0},u2.prototype.compositionWillLoadSnapshot=function(){return this.loadingSnapshot=true},u2.prototype.compositionDidLoadSnapshot=function(){return this.compositionController.refreshViewCache(),this.render(),this.loadingSnapshot=false},u2.prototype.getSelectionManager=function(){return this.selectionManager},u2.proxyMethod("getSelectionManager().setLocationRange"),u2.proxyMethod("getSelectionManager().getLocationRange"),u2.prototype.attachmentManagerDidRequestRemovalOfAttachment=function(t4){return this.removeAttachment(t4)},u2.prototype.compositionControllerWillSyncDocumentView=function(){return this.inputController.editorWillSyncDocumentView(),this.selectionManager.lock(),this.selectionManager.clearSelection()},u2.prototype.compositionControllerDidSyncDocumentView=function(){return this.inputController.editorDidSyncDocumentView(),this.selectionManager.unlock(),this.updateCurrentActions(),this.notifyEditorElement("sync")},u2.prototype.compositionControllerDidRender=function(){return null!=this.requestedLocationRange&&(this.compositionRevisionWhenLocationRangeRequested===this.composition.revision&&this.selectionManager.setLocationRange(this.requestedLocationRange),this.requestedLocationRange=null,this.compositionRevisionWhenLocationRangeRequested=null),this.renderedCompositionRevision!==this.composition.revision&&(this.runEditorFilters(),this.composition.updateCurrentAttributes(),this.notifyEditorElement("render")),this.renderedCompositionRevision=this.composition.revision},u2.prototype.compositionControllerDidFocus=function(){return this.isFocusedInvisibly()&&this.setLocationRange({index:0,offset:0}),this.toolbarController.hideDialog(),this.notifyEditorElement("focus")},u2.prototype.compositionControllerDidBlur=function(){return this.notifyEditorElement("blur")},u2.prototype.compositionControllerDidSelectAttachment=function(t4,e3){return this.toolbarController.hideDialog(),this.composition.editAttachment(t4,e3)},u2.prototype.compositionControllerDidRequestDeselectingAttachment=function(t4){var e3,n3;return e3=null!=(n3=this.attachmentLocationRange)?n3:this.composition.document.getLocationRangeOfAttachment(t4),this.selectionManager.setLocationRange(e3[1])},u2.prototype.compositionControllerWillUpdateAttachment=function(t4){return this.editor.recordUndoEntry("Edit Attachment",{context:t4.id,consolidatable:true})},u2.prototype.compositionControllerDidRequestRemovalOfAttachment=function(t4){return this.removeAttachment(t4)},u2.prototype.inputControllerWillHandleInput=function(){return this.handlingInput=true,this.requestedRender=false},u2.prototype.inputControllerDidRequestRender=function(){return this.requestedRender=true},u2.prototype.inputControllerDidHandleInput=function(){return this.handlingInput=false,this.requestedRender?(this.requestedRender=false,this.render()):void 0},u2.prototype.inputControllerDidAllowUnhandledInput=function(){return this.notifyEditorElement("change")},u2.prototype.inputControllerDidRequestReparse=function(){return this.reparse()},u2.prototype.inputControllerWillPerformTyping=function(){return this.recordTypingUndoEntry()},u2.prototype.inputControllerWillPerformFormatting=function(t4){return this.recordFormattingUndoEntry(t4)},u2.prototype.inputControllerWillCutText=function(){return this.editor.recordUndoEntry("Cut")},u2.prototype.inputControllerWillPaste=function(t4){return this.editor.recordUndoEntry("Paste"),this.pasting=true,this.notifyEditorElement("before-paste",{paste:t4})},u2.prototype.inputControllerDidPaste=function(t4){return t4.range=this.pastedRange,this.pastedRange=null,this.pasting=null,this.notifyEditorElement("paste",{paste:t4})},u2.prototype.inputControllerWillMoveText=function(){return this.editor.recordUndoEntry("Move")},u2.prototype.inputControllerWillAttachFiles=function(){return this.editor.recordUndoEntry("Drop Files")},u2.prototype.inputControllerWillPerformUndo=function(){return this.editor.undo()},u2.prototype.inputControllerWillPerformRedo=function(){return this.editor.redo()},u2.prototype.inputControllerDidReceiveKeyboardCommand=function(t4){return this.toolbarController.applyKeyboardCommand(t4)},u2.prototype.inputControllerDidStartDrag=function(){return this.locationRangeBeforeDrag=this.selectionManager.getLocationRange()},u2.prototype.inputControllerDidReceiveDragOverPoint=function(t4){return this.selectionManager.setLocationRangeFromPointRange(t4)},u2.prototype.inputControllerDidCancelDrag=function(){return this.selectionManager.setLocationRange(this.locationRangeBeforeDrag),this.locationRangeBeforeDrag=null},u2.prototype.locationRangeDidChange=function(t4){return this.composition.updateCurrentAttributes(),this.updateCurrentActions(),this.attachmentLocationRange&&!o2(this.attachmentLocationRange,t4)&&this.composition.stopEditingAttachment(),this.notifyEditorElement("selection-change")},u2.prototype.toolbarDidClickButton=function(){return this.getLocationRange()?void 0:this.setLocationRange({index:0,offset:0})},u2.prototype.toolbarDidInvokeAction=function(t4){return this.invokeAction(t4)},u2.prototype.toolbarDidToggleAttribute=function(t4){return this.recordFormattingUndoEntry(t4),this.composition.toggleCurrentAttribute(t4),this.render(),this.selectionFrozen?void 0:this.editorElement.focus()},u2.prototype.toolbarDidUpdateAttribute=function(t4,e3){return this.recordFormattingUndoEntry(t4),this.composition.setCurrentAttribute(t4,e3),this.render(),this.selectionFrozen?void 0:this.editorElement.focus()},u2.prototype.toolbarDidRemoveAttribute=function(t4){return this.recordFormattingUndoEntry(t4),this.composition.removeCurrentAttribute(t4),this.render(),this.selectionFrozen?void 0:this.editorElement.focus()},u2.prototype.toolbarWillShowDialog=function(){return this.composition.expandSelectionForEditing(),this.freezeSelection()},u2.prototype.toolbarDidShowDialog=function(t4){return this.notifyEditorElement("toolbar-dialog-show",{dialogName:t4})},u2.prototype.toolbarDidHideDialog=function(t4){return this.thawSelection(),this.editorElement.focus(),this.notifyEditorElement("toolbar-dialog-hide",{dialogName:t4})},u2.prototype.freezeSelection=function(){return this.selectionFrozen?void 0:(this.selectionManager.lock(),this.composition.freezeSelection(),this.selectionFrozen=true,this.render())},u2.prototype.thawSelection=function(){return this.selectionFrozen?(this.composition.thawSelection(),this.selectionManager.unlock(),this.selectionFrozen=false,this.render()):void 0},u2.prototype.actions={undo:{test:function(){return this.editor.canUndo()},perform:function(){return this.editor.undo()}},redo:{test:function(){return this.editor.canRedo()},perform:function(){return this.editor.redo()}},link:{test:function(){return this.editor.canActivateAttribute("href")}},increaseNestingLevel:{test:function(){return this.editor.canIncreaseNestingLevel()},perform:function(){return this.editor.increaseNestingLevel()&&this.render()}},decreaseNestingLevel:{test:function(){return this.editor.canDecreaseNestingLevel()},perform:function(){return this.editor.decreaseNestingLevel()&&this.render()}},attachFiles:{test:function(){return true},perform:function(){return e2.config.input.pickFiles(this.editor.insertFiles)}}},u2.prototype.canInvokeAction=function(t4){var e3,n3;return this.actionIsExternal(t4)?true:!!(null!=(e3=this.actions[t4])&&null!=(n3=e3.test)?n3.call(this):void 0)},u2.prototype.invokeAction=function(t4){var e3,n3;return this.actionIsExternal(t4)?this.notifyEditorElement("action-invoke",{actionName:t4}):null!=(e3=this.actions[t4])&&null!=(n3=e3.perform)?n3.call(this):void 0},u2.prototype.actionIsExternal=function(t4){return/^x-./.test(t4)},u2.prototype.getCurrentActions=function(){var t4,e3;e3={};for(t4 in this.actions)e3[t4]=this.canInvokeAction(t4);return e3},u2.prototype.updateCurrentActions=function(){var t4;return t4=this.getCurrentActions(),n2(t4,this.currentActions)?void 0:(this.currentActions=t4,this.toolbarController.updateActions(this.currentActions),this.notifyEditorElement("actions-change",{actions:this.currentActions}))},u2.prototype.runEditorFilters=function(){var t4,e3,n3,i2,o3,r3,s4,a3;for(a3=this.composition.getSnapshot(),o3=this.editor.filters,n3=0,i2=o3.length;i2>n3;n3++)e3=o3[n3],t4=a3.document,s4=a3.selectedRange,a3=null!=(r3=e3.call(this.editor,a3))?r3:{},null==a3.document&&(a3.document=t4),null==a3.selectedRange&&(a3.selectedRange=s4);return c2(a3,this.composition.getSnapshot())?void 0:this.composition.loadSnapshot(a3)},c2=function(t4,e3){return o2(t4.selectedRange,e3.selectedRange)&&t4.document.isEqualTo(e3.document)},u2.prototype.updateInputElement=function(){var t4,n3;return t4=this.compositionController.getSerializableElement(),n3=e2.serializeToContentType(t4,"text/html"),this.editorElement.setInputElementValue(n3)},u2.prototype.notifyEditorElement=function(t4,e3){switch(t4){case"document-change":this.documentChangedSinceLastRender=true;break;case"render":this.documentChangedSinceLastRender&&(this.documentChangedSinceLastRender=false,this.notifyEditorElement("change"));break;case"change":case"attachment-add":case"attachment-edit":case"attachment-remove":this.updateInputElement()}return this.editorElement.notify(t4,e3)},u2.prototype.removeAttachment=function(t4){return this.editor.recordUndoEntry("Delete Attachment"),this.composition.removeAttachment(t4),this.render()},u2.prototype.recordFormattingUndoEntry=function(e3){var n3,o3;return n3=t3(e3),o3=this.selectionManager.getLocationRange(),n3||!i(o3)?this.editor.recordUndoEntry("Formatting",{context:this.getUndoContext(),consolidatable:true}):void 0},u2.prototype.recordTypingUndoEntry=function(){return this.editor.recordUndoEntry("Typing",{context:this.getUndoContext(this.currentAttributes),consolidatable:true})},u2.prototype.getUndoContext=function(){var t4;return t4=1<=arguments.length?a2.call(arguments,0):[],[this.getLocationContext(),this.getTimeContext()].concat(a2.call(t4))},u2.prototype.getLocationContext=function(){var t4;return t4=this.selectionManager.getLocationRange(),i(t4)?t4[0].index:t4},u2.prototype.getTimeContext=function(){return e2.config.undoInterval>0?Math.floor((new Date).getTime()/e2.config.undoInterval):0},u2.prototype.isFocused=function(){var t4;return this.editorElement===(null!=(t4=this.editorElement.ownerDocument)?t4.activeElement:void 0)},u2.prototype.isFocusedInvisibly=function(){return this.isFocused()&&!this.getLocationRange()},u2}(e2.Controller)}.call(this),function(){var t3,n2,i,o2,r2,s2,a2,u2=[].indexOf||function(t4){for(var e3=0,n3=this.length;n3>e3;e3++)if(e3 in this&&this[e3]===t4)return e3;return-1};n2=e2.browser,s2=e2.makeElement,a2=e2.triggerEvent,o2=e2.handleEvent,r2=e2.handleEventOnce,i=e2.findClosestElementFromNode,t3=e2.AttachmentView.attachmentSelector,e2.registerElement("trix-editor",function(){var c2,l2,h2,p2,d2,f2,g2,m2,v2;return g2=0,l2=function(t4){return!document.querySelector(":focus")&&t4.hasAttribute("autofocus")&&document.querySelector("[autofocus]")===t4?t4.focus():void 0},m2=function(t4){return t4.hasAttribute("contenteditable")?void 0:(t4.setAttribute("contenteditable",""),r2("focus",{onElement:t4,withCallback:function(){return h2(t4)}}))},h2=function(t4){return d2(t4),v2(t4)},d2=function(t4){return("function"==typeof document.queryCommandSupported?document.queryCommandSupported("enableObjectResizing"):void 0)?(document.execCommand("enableObjectResizing",false,false),o2("mscontrolselect",{onElement:t4,preventDefault:true})):void 0},v2=function(){var t4;return("function"==typeof document.queryCommandSupported?document.queryCommandSupported("DefaultParagraphSeparator"):void 0)&&(t4=e2.config.blockAttributes["default"].tagName,"div"===t4||"p"===t4)?document.execCommand("DefaultParagraphSeparator",false,t4):void 0},c2=function(t4){return t4.hasAttribute("role")?void 0:t4.setAttribute("role","textbox")},f2=function(t4){var e3;if(!t4.hasAttribute("aria-label")&&!t4.hasAttribute("aria-labelledby"))return(e3=function(){var e4,n3,i2;return i2=function(){var n4,i3,o3,r3;for(o3=t4.labels,r3=[],n4=0,i3=o3.length;i3>n4;n4++)e4=o3[n4],e4.contains(t4)||r3.push(e4.textContent);return r3}(),(n3=i2.join(" "))?t4.setAttribute("aria-label",n3):t4.removeAttribute("aria-label")})(),o2("focus",{onElement:t4,withCallback:e3})},p2=function(){return n2.forcesObjectResizing?{display:"inline",width:"auto"}:{display:"inline-block",width:"1px"}}(),{defaultCSS:"%t {\n display: block;\n}\n\n%t:empty:not(:focus)::before {\n content: attr(placeholder);\n color: graytext;\n cursor: text;\n pointer-events: none;\n}\n\n%t a[contenteditable=false] {\n cursor: text;\n}\n\n%t img {\n max-width: 100%;\n height: auto;\n}\n\n%t "+t3+" figcaption textarea {\n resize: none;\n}\n\n%t "+t3+" figcaption textarea.trix-autoresize-clone {\n position: absolute;\n left: -9999px;\n max-height: 0px;\n}\n\n%t "+t3+" figcaption[data-trix-placeholder]:empty::before {\n content: attr(data-trix-placeholder);\n color: graytext;\n}\n\n%t [data-trix-cursor-target] {\n display: "+p2.display+" !important;\n width: "+p2.width+" !important;\n padding: 0 !important;\n margin: 0 !important;\n border: none !important;\n}\n\n%t [data-trix-cursor-target=left] {\n vertical-align: top !important;\n margin-left: -1px !important;\n}\n\n%t [data-trix-cursor-target=right] {\n vertical-align: bottom !important;\n margin-right: -1px !important;\n}",trixId:{get:function(){return this.hasAttribute("trix-id")?this.getAttribute("trix-id"):(this.setAttribute("trix-id",++g2),this.trixId)}},labels:{get:function(){var t4,e3,n3;return e3=[],this.id&&this.ownerDocument&&e3.push.apply(e3,this.ownerDocument.querySelectorAll("label[for='"+this.id+"']")),(t4=i(this,{matchingSelector:"label"}))&&((n3=t4.control)===this||null===n3)&&e3.push(t4),e3}},toolbarElement:{get:function(){var t4,e3,n3;return this.hasAttribute("toolbar")?null!=(e3=this.ownerDocument)?e3.getElementById(this.getAttribute("toolbar")):void 0:this.parentNode?(n3="trix-toolbar-"+this.trixId,this.setAttribute("toolbar",n3),t4=s2("trix-toolbar",{id:n3}),this.parentNode.insertBefore(t4,this),t4):void 0}},inputElement:{get:function(){var t4,e3,n3;return this.hasAttribute("input")?null!=(n3=this.ownerDocument)?n3.getElementById(this.getAttribute("input")):void 0:this.parentNode?(e3="trix-input-"+this.trixId,this.setAttribute("input",e3),t4=s2("input",{type:"hidden",id:e3}),this.parentNode.insertBefore(t4,this.nextElementSibling),t4):void 0}},editor:{get:function(){var t4;return null!=(t4=this.editorController)?t4.editor:void 0}},name:{get:function(){var t4;return null!=(t4=this.inputElement)?t4.name:void 0}},value:{get:function(){var t4;return null!=(t4=this.inputElement)?t4.value:void 0},set:function(t4){var e3;return this.defaultValue=t4,null!=(e3=this.editor)?e3.loadHTML(this.defaultValue):void 0}},notify:function(t4,e3){return this.editorController?a2("trix-"+t4,{onElement:this,attributes:e3}):void 0},setInputElementValue:function(t4){var e3;return null!=(e3=this.inputElement)?e3.value=t4:void 0},initialize:function(){return this.hasAttribute("data-trix-internal")?void 0:(m2(this),c2(this),f2(this))},connect:function(){return this.hasAttribute("data-trix-internal")?void 0:(this.editorController||(a2("trix-before-initialize",{onElement:this}),this.editorController=new e2.EditorController({editorElement:this,html:this.defaultValue=this.value}),requestAnimationFrame(function(t4){return function(){return a2("trix-initialize",{onElement:t4})}}(this))),this.editorController.registerSelectionManager(),this.registerResetListener(),this.registerClickListener(),l2(this))},disconnect:function(){var t4;return null!=(t4=this.editorController)&&t4.unregisterSelectionManager(),this.unregisterResetListener(),this.unregisterClickListener()},registerResetListener:function(){return this.resetListener=this.resetBubbled.bind(this),window.addEventListener("reset",this.resetListener,false)},unregisterResetListener:function(){return window.removeEventListener("reset",this.resetListener,false)},registerClickListener:function(){return this.clickListener=this.clickBubbled.bind(this),window.addEventListener("click",this.clickListener,false)},unregisterClickListener:function(){return window.removeEventListener("click",this.clickListener,false)},resetBubbled:function(t4){var e3;if(!t4.defaultPrevented&&t4.target===(null!=(e3=this.inputElement)?e3.form:void 0))return this.reset()},clickBubbled:function(t4){var e3;if(!(t4.defaultPrevented||this.contains(t4.target)||!(e3=i(t4.target,{matchingSelector:"label"}))||u2.call(this.labels,e3)<0))return this.focus()},reset:function(){return this.value=this.defaultValue}}}())}.call(this),function(){}.call(this)}).call(this),module.exports?module.exports=e2:false}.call(commonjsGlobal)})(trix);var trixExports=trix.exports;const Trix=getDefaultExportFromCjs(trixExports);if(window==null?void 0:window.customElements){const customElemDef=window.customElements.define;window.customElements.define=(name2,cl,conf)=>{if(!customElements.get(name2))customElemDef.call(window.customElements,name2,cl,conf)}}function t$1(t2){return t2.split("-")[1]}function e$1(t2){return"y"===t2?"height":"width"}function n$2(t2){return t2.split("-")[0]}function o$1(t2){return["top","bottom"].includes(n$2(t2))?"x":"y"}function i$2(i,r2,a2){let{reference:l2,floating:s2}=i;const c2=l2.x+l2.width/2-s2.width/2,f2=l2.y+l2.height/2-s2.height/2,m2=o$1(r2),u2=e$1(m2),g2=l2[u2]/2-s2[u2]/2,d2="x"===m2;let p2;switch(n$2(r2)){case"top":p2={x:c2,y:l2.y-s2.height};break;case"bottom":p2={x:c2,y:l2.y+l2.height};break;case"right":p2={x:l2.x+l2.width,y:f2};break;case"left":p2={x:l2.x-s2.width,y:f2};break;default:p2={x:l2.x,y:l2.y}}switch(t$1(r2)){case"start":p2[m2]-=g2*(a2&&d2?-1:1);break;case"end":p2[m2]+=g2*(a2&&d2?-1:1)}return p2}const r$2=async(t2,e2,n2)=>{const{placement:o2="bottom",strategy:r2="absolute",middleware:a2=[],platform:l2}=n2,s2=a2.filter(Boolean),c2=await(null==l2.isRTL?void 0:l2.isRTL(e2));let f2=await l2.getElementRects({reference:t2,floating:e2,strategy:r2}),{x:m2,y:u2}=i$2(f2,o2,c2),g2=o2,d2={},p2=0;for(let n3=0;n3<s2.length;n3++){const{name:a3,fn:h2}=s2[n3],{x:y2,y:x2,data:w2,reset:v2}=await h2({x:m2,y:u2,initialPlacement:o2,placement:g2,strategy:r2,middlewareData:d2,rects:f2,platform:l2,elements:{reference:t2,floating:e2}});m2=null!=y2?y2:m2,u2=null!=x2?x2:u2,d2={...d2,[a3]:{...d2[a3],...w2}},v2&&p2<=50&&(p2++,"object"==typeof v2&&(v2.placement&&(g2=v2.placement),v2.rects&&(f2=true===v2.rects?await l2.getElementRects({reference:t2,floating:e2,strategy:r2}):v2.rects),({x:m2,y:u2}=i$2(f2,g2,c2))),n3=-1)}return{x:m2,y:u2,placement:g2,strategy:r2,middlewareData:d2}};function a$1(t2){return"number"!=typeof t2?function(t3){return{top:0,right:0,bottom:0,left:0,...t3}}(t2):{top:t2,right:t2,bottom:t2,left:t2}}function l$2(t2){return{...t2,top:t2.y,left:t2.x,right:t2.x+t2.width,bottom:t2.y+t2.height}}async function s$1(t2,e2){var n2;void 0===e2&&(e2={});const{x:o2,y:i,platform:r2,rects:s2,elements:c2,strategy:f2}=t2,{boundary:m2="clippingAncestors",rootBoundary:u2="viewport",elementContext:g2="floating",altBoundary:d2=false,padding:p2=0}=e2,h2=a$1(p2),y2=c2[d2?"floating"===g2?"reference":"floating":g2],x2=l$2(await r2.getClippingRect({element:null==(n2=await(null==r2.isElement?void 0:r2.isElement(y2)))||n2?y2:y2.contextElement||await(null==r2.getDocumentElement?void 0:r2.getDocumentElement(c2.floating)),boundary:m2,rootBoundary:u2,strategy:f2})),w2="floating"===g2?{...s2.floating,x:o2,y:i}:s2.reference,v2=await(null==r2.getOffsetParent?void 0:r2.getOffsetParent(c2.floating)),b2=await(null==r2.isElement?void 0:r2.isElement(v2))&&await(null==r2.getScale?void 0:r2.getScale(v2))||{x:1,y:1},A2=l$2(r2.convertOffsetParentRelativeRectToViewportRelativeRect?await r2.convertOffsetParentRelativeRectToViewportRelativeRect({rect:w2,offsetParent:v2,strategy:f2}):w2);return{top:(x2.top-A2.top+h2.top)/b2.y,bottom:(A2.bottom-x2.bottom+h2.bottom)/b2.y,left:(x2.left-A2.left+h2.left)/b2.x,right:(A2.right-x2.right+h2.right)/b2.x}}const c$2=Math.min,f$2=Math.max;function m$2(t2,e2,n2){return f$2(t2,c$2(e2,n2))}const u$1=n2=>({name:"arrow",options:n2,async fn(i){const{element:r2,padding:l2=0}=n2||{},{x:s2,y:c2,placement:f2,rects:u2,platform:g2,elements:d2}=i;if(null==r2)return{};const p2=a$1(l2),h2={x:s2,y:c2},y2=o$1(f2),x2=e$1(y2),w2=await g2.getDimensions(r2),v2="y"===y2,b2=v2?"top":"left",A2=v2?"bottom":"right",R2=v2?"clientHeight":"clientWidth",P2=u2.reference[x2]+u2.reference[y2]-h2[y2]-u2.floating[x2],E2=h2[y2]-u2.reference[y2],T2=await(null==g2.getOffsetParent?void 0:g2.getOffsetParent(r2));let D2=T2?T2[R2]:0;D2&&await(null==g2.isElement?void 0:g2.isElement(T2))||(D2=d2.floating[R2]||u2.floating[x2]);const L2=P2/2-E2/2,k2=p2[b2],O2=D2-w2[x2]-p2[A2],B2=D2/2-w2[x2]/2+L2,C2=m$2(k2,B2,O2),H2=null!=t$1(f2)&&B2!=C2&&u2.reference[x2]/2-(B2<k2?p2[b2]:p2[A2])-w2[x2]/2<0;return{[y2]:h2[y2]-(H2?B2<k2?k2-B2:O2-B2:0),data:{[y2]:C2,centerOffset:B2-C2}}}}),g$2=["top","right","bottom","left"];g$2.reduce(((t2,e2)=>t2.concat(e2,e2+"-start",e2+"-end")),[]);const p$2={left:"right",right:"left",bottom:"top",top:"bottom"};function h$2(t2){return t2.replace(/left|right|bottom|top/g,(t3=>p$2[t3]))}function y$2(n2,i,r2){void 0===r2&&(r2=false);const a2=t$1(n2),l2=o$1(n2),s2=e$1(l2);let c2="x"===l2?a2===(r2?"end":"start")?"right":"left":"start"===a2?"bottom":"top";return i.reference[s2]>i.floating[s2]&&(c2=h$2(c2)),{main:c2,cross:h$2(c2)}}const x$2={start:"end",end:"start"};function w$3(t2){return t2.replace(/start|end/g,(t3=>x$2[t3]))}const b$2=function(e2){return void 0===e2&&(e2={}),{name:"flip",options:e2,async fn(o2){var i;const{placement:r2,middlewareData:a2,rects:l2,initialPlacement:c2,platform:f2,elements:m2}=o2,{mainAxis:u2=true,crossAxis:g2=true,fallbackPlacements:d2,fallbackStrategy:p2="bestFit",fallbackAxisSideDirection:x2="none",flipAlignment:v2=true,...b2}=e2,A2=n$2(r2),R2=n$2(c2)===c2,P2=await(null==f2.isRTL?void 0:f2.isRTL(m2.floating)),E2=d2||(R2||!v2?[h$2(c2)]:function(t2){const e3=h$2(t2);return[w$3(t2),e3,w$3(e3)]}(c2));d2||"none"===x2||E2.push(...function(e3,o3,i2,r3){const a3=t$1(e3);let l3=function(t2,e4,n2){const o4=["left","right"],i3=["right","left"],r4=["top","bottom"],a4=["bottom","top"];switch(t2){case"top":case"bottom":return n2?e4?i3:o4:e4?o4:i3;case"left":case"right":return e4?r4:a4;default:return[]}}(n$2(e3),"start"===i2,r3);return a3&&(l3=l3.map((t2=>t2+"-"+a3)),o3&&(l3=l3.concat(l3.map(w$3)))),l3}(c2,v2,x2,P2));const T2=[c2,...E2],D2=await s$1(o2,b2),L2=[];let k2=(null==(i=a2.flip)?void 0:i.overflows)||[];if(u2&&L2.push(D2[A2]),g2){const{main:t2,cross:e3}=y$2(r2,l2,P2);L2.push(D2[t2],D2[e3])}if(k2=[...k2,{placement:r2,overflows:L2}],!L2.every((t2=>t2<=0))){var O2,B2;const t2=((null==(O2=a2.flip)?void 0:O2.index)||0)+1,e3=T2[t2];if(e3)return{data:{index:t2,overflows:k2},reset:{placement:e3}};let n2=null==(B2=k2.filter((t3=>t3.overflows[0]<=0)).sort(((t3,e4)=>t3.overflows[1]-e4.overflows[1]))[0])?void 0:B2.placement;if(!n2)switch(p2){case"bestFit":{var C2;const t3=null==(C2=k2.map((t4=>[t4.placement,t4.overflows.filter((t5=>t5>0)).reduce(((t5,e4)=>t5+e4),0)])).sort(((t4,e4)=>t4[1]-e4[1]))[0])?void 0:C2[0];t3&&(n2=t3);break}case"initialPlacement":n2=c2}if(r2!==n2)return{reset:{placement:n2}}}return{}}}};const D$1=function(e2){return{name:"offset",options:e2,async fn(i){const{x:r2,y:a2}=i,l2=await async function(e3,i2){const{placement:r3,platform:a3,elements:l3}=e3,s2=await(null==a3.isRTL?void 0:a3.isRTL(l3.floating)),c2=n$2(r3),f2=t$1(r3),m2="x"===o$1(r3),u2=["left","top"].includes(c2)?-1:1,g2=s2&&m2?-1:1,d2=i2;let{mainAxis:p2,crossAxis:h2,alignmentAxis:y2}={mainAxis:d2,crossAxis:0,alignmentAxis:null};return f2&&"number"==typeof y2&&(h2="end"===f2?-1*y2:y2),m2?{x:h2*g2,y:p2*u2}:{x:p2*u2,y:h2*g2}}(i,e2);return{x:r2+l2.x,y:a2+l2.y,data:l2}}}};function L$1(t2){return"x"===t2?"y":"x"}const k$1=function(t2){return void 0===t2&&(t2={}),{name:"shift",options:t2,async fn(e2){const{x:i,y:r2,placement:a2}=e2,{mainAxis:l2=true,crossAxis:c2=false,limiter:f2={fn:t3=>{let{x:e3,y:n2}=t3;return{x:e3,y:n2}}},...u2}=t2,g2={x:i,y:r2},d2=await s$1(e2,u2),p2=o$1(n$2(a2)),h2=L$1(p2);let y2=g2[p2],x2=g2[h2];if(l2){const t3="y"===p2?"bottom":"right";y2=m$2(y2+d2["y"===p2?"top":"left"],y2,y2-d2[t3])}if(c2){const t3="y"===h2?"bottom":"right";x2=m$2(x2+d2["y"===h2?"top":"left"],x2,x2-d2[t3])}const w2=f2.fn({...e2,[p2]:y2,[h2]:x2});return{...w2,data:{x:w2.x-i,y:w2.y-r2}}}}};function n$1(t2){var e2;return(null==(e2=t2.ownerDocument)?void 0:e2.defaultView)||window}function o(t2){return n$1(t2).getComputedStyle(t2)}function i$1(t2){return t2 instanceof n$1(t2).Node}function r$1(t2){return i$1(t2)?(t2.nodeName||"").toLowerCase():""}let l$1;function c$1(){if(l$1)return l$1;const t2=navigator.userAgentData;return t2&&Array.isArray(t2.brands)?(l$1=t2.brands.map((t3=>t3.brand+"/"+t3.version)).join(" "),l$1):navigator.userAgent}function s(t2){return t2 instanceof n$1(t2).HTMLElement}function f$1(t2){return t2 instanceof n$1(t2).Element}function u(t2){if("undefined"==typeof ShadowRoot)return false;return t2 instanceof n$1(t2).ShadowRoot||t2 instanceof ShadowRoot}function a(t2){const{overflow:e2,overflowX:n2,overflowY:i,display:r2}=o(t2);return/auto|scroll|overlay|hidden|clip/.test(e2+i+n2)&&!["inline","contents"].includes(r2)}function d$1(t2){return["table","td","th"].includes(r$1(t2))}function h$1(t2){const e2=/firefox/i.test(c$1()),n2=o(t2),i=n2.backdropFilter||n2.WebkitBackdropFilter;return"none"!==n2.transform||"none"!==n2.perspective||!!i&&"none"!==i||e2&&"filter"===n2.willChange||e2&&!!n2.filter&&"none"!==n2.filter||["transform","perspective"].some((t3=>n2.willChange.includes(t3)))||["paint","layout","strict","content"].some((t3=>{const e3=n2.contain;return null!=e3&&e3.includes(t3)}))}function p$1(){return/^((?!chrome|android).)*safari/i.test(c$1())}function g$1(t2){return["html","body","#document"].includes(r$1(t2))}const m$1=Math.min,y$1=Math.max,x$1=Math.round;function w$2(t2){const e2=o(t2);let n2=parseFloat(e2.width),i=parseFloat(e2.height);const r2=s(t2),l2=r2?t2.offsetWidth:n2,c2=r2?t2.offsetHeight:i,f2=x$1(n2)!==l2||x$1(i)!==c2;return f2&&(n2=l2,i=c2),{width:n2,height:i,fallback:f2}}function v$1(t2){return f$1(t2)?t2:t2.contextElement}const b$1={x:1,y:1};function L(t2){const e2=v$1(t2);if(!s(e2))return b$1;const n2=e2.getBoundingClientRect(),{width:o2,height:i,fallback:r2}=w$2(e2);let l2=(r2?x$1(n2.width):n2.width)/o2,c2=(r2?x$1(n2.height):n2.height)/i;return l2&&Number.isFinite(l2)||(l2=1),c2&&Number.isFinite(c2)||(c2=1),{x:l2,y:c2}}function E(e2,o2,i,r2){var l2,c2;void 0===o2&&(o2=false),void 0===i&&(i=false);const s2=e2.getBoundingClientRect(),u2=v$1(e2);let a2=b$1;o2&&(r2?f$1(r2)&&(a2=L(r2)):a2=L(e2));const d2=u2?n$1(u2):window,h2=p$1()&&i;let g2=(s2.left+(h2&&(null==(l2=d2.visualViewport)?void 0:l2.offsetLeft)||0))/a2.x,m2=(s2.top+(h2&&(null==(c2=d2.visualViewport)?void 0:c2.offsetTop)||0))/a2.y,y2=s2.width/a2.x,x2=s2.height/a2.y;if(u2){const t2=n$1(u2),e3=r2&&f$1(r2)?n$1(r2):r2;let o3=t2.frameElement;for(;o3&&r2&&e3!==t2;){const t3=L(o3),e4=o3.getBoundingClientRect(),i2=getComputedStyle(o3);e4.x+=(o3.clientLeft+parseFloat(i2.paddingLeft))*t3.x,e4.y+=(o3.clientTop+parseFloat(i2.paddingTop))*t3.y,g2*=t3.x,m2*=t3.y,y2*=t3.x,x2*=t3.y,g2+=e4.x,m2+=e4.y,o3=n$1(o3).frameElement}}return l$2({width:y2,height:x2,x:g2,y:m2})}function T(t2){return((i$1(t2)?t2.ownerDocument:t2.document)||window.document).documentElement}function R(t2){return f$1(t2)?{scrollLeft:t2.scrollLeft,scrollTop:t2.scrollTop}:{scrollLeft:t2.pageXOffset,scrollTop:t2.pageYOffset}}function C(t2){return E(T(t2)).left+R(t2).scrollLeft}function F(t2){if("html"===r$1(t2))return t2;const e2=t2.assignedSlot||t2.parentNode||u(t2)&&t2.host||T(t2);return u(e2)?e2.host:e2}function W(t2){const e2=F(t2);return g$1(e2)?e2.ownerDocument.body:s(e2)&&a(e2)?e2:W(e2)}function D(t2,e2){var o2;void 0===e2&&(e2=[]);const i=W(t2),r2=i===(null==(o2=t2.ownerDocument)?void 0:o2.body),l2=n$1(i);return r2?e2.concat(l2,l2.visualViewport||[],a(i)?i:[]):e2.concat(i,D(i))}function S(e2,i,r2){let l2;if("viewport"===i)l2=function(t2,e3){const o2=n$1(t2),i2=T(t2),r3=o2.visualViewport;let l3=i2.clientWidth,c3=i2.clientHeight,s2=0,f2=0;if(r3){l3=r3.width,c3=r3.height;const t3=p$1();(!t3||t3&&"fixed"===e3)&&(s2=r3.offsetLeft,f2=r3.offsetTop)}return{width:l3,height:c3,x:s2,y:f2}}(e2,r2);else if("document"===i)l2=function(t2){const e3=T(t2),n2=R(t2),i2=t2.ownerDocument.body,r3=y$1(e3.scrollWidth,e3.clientWidth,i2.scrollWidth,i2.clientWidth),l3=y$1(e3.scrollHeight,e3.clientHeight,i2.scrollHeight,i2.clientHeight);let c3=-n2.scrollLeft+C(t2);const s2=-n2.scrollTop;return"rtl"===o(i2).direction&&(c3+=y$1(e3.clientWidth,i2.clientWidth)-r3),{width:r3,height:l3,x:c3,y:s2}}(T(e2));else if(f$1(i))l2=function(t2,e3){const n2=E(t2,true,"fixed"===e3),o2=n2.top+t2.clientTop,i2=n2.left+t2.clientLeft,r3=s(t2)?L(t2):{x:1,y:1};return{width:t2.clientWidth*r3.x,height:t2.clientHeight*r3.y,x:i2*r3.x,y:o2*r3.y}}(i,r2);else{const t2={...i};if(p$1()){var c2,u2;const o2=n$1(e2);t2.x-=(null==(c2=o2.visualViewport)?void 0:c2.offsetLeft)||0,t2.y-=(null==(u2=o2.visualViewport)?void 0:u2.offsetTop)||0}l2=t2}return l$2(l2)}function A$1(t2,e2){return s(t2)&&"fixed"!==o(t2).position?e2?e2(t2):t2.offsetParent:null}function H(t2,e2){const i=n$1(t2);if(!s(t2))return i;let l2=A$1(t2,e2);for(;l2&&d$1(l2)&&"static"===o(l2).position;)l2=A$1(l2,e2);return l2&&("html"===r$1(l2)||"body"===r$1(l2)&&"static"===o(l2).position&&!h$1(l2))?i:l2||function(t3){let e3=F(t3);for(;s(e3)&&!g$1(e3);){if(h$1(e3))return e3;e3=F(e3)}return null}(t2)||i}function V(t2,e2,n2){const o2=s(e2),i=T(e2),l2=E(t2,true,"fixed"===n2,e2);let c2={scrollLeft:0,scrollTop:0};const f2={x:0,y:0};if(o2||!o2&&"fixed"!==n2)if(("body"!==r$1(e2)||a(i))&&(c2=R(e2)),s(e2)){const t3=E(e2,true);f2.x=t3.x+e2.clientLeft,f2.y=t3.y+e2.clientTop}else i&&(f2.x=C(i));return{x:l2.left+c2.scrollLeft-f2.x,y:l2.top+c2.scrollTop-f2.y,width:l2.width,height:l2.height}}const O={getClippingRect:function(t2){let{element:e2,boundary:n2,rootBoundary:i,strategy:l2}=t2;const c2="clippingAncestors"===n2?function(t3,e3){const n3=e3.get(t3);if(n3)return n3;let i2=D(t3).filter((t4=>f$1(t4)&&"body"!==r$1(t4))),l3=null;const c3="fixed"===o(t3).position;let s3=c3?F(t3):t3;for(;f$1(s3)&&!g$1(s3);){const t4=o(s3),e4=h$1(s3);"fixed"===t4.position?l3=null:(c3?e4||l3:e4||"static"!==t4.position||!l3||!["absolute","fixed"].includes(l3.position))?l3=t4:i2=i2.filter((t5=>t5!==s3)),s3=F(s3)}return e3.set(t3,i2),i2}(e2,this._c):[].concat(n2),s2=[...c2,i],u2=s2[0],a2=s2.reduce(((t3,n3)=>{const o2=S(e2,n3,l2);return t3.top=y$1(o2.top,t3.top),t3.right=m$1(o2.right,t3.right),t3.bottom=m$1(o2.bottom,t3.bottom),t3.left=y$1(o2.left,t3.left),t3}),S(e2,u2,l2));return{width:a2.right-a2.left,height:a2.bottom-a2.top,x:a2.left,y:a2.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(t2){let{rect:e2,offsetParent:n2,strategy:o2}=t2;const i=s(n2),l2=T(n2);if(n2===l2)return e2;let c2={scrollLeft:0,scrollTop:0},f2={x:1,y:1};const u2={x:0,y:0};if((i||!i&&"fixed"!==o2)&&(("body"!==r$1(n2)||a(l2))&&(c2=R(n2)),s(n2))){const t3=E(n2);f2=L(n2),u2.x=t3.x+n2.clientLeft,u2.y=t3.y+n2.clientTop}return{width:e2.width*f2.x,height:e2.height*f2.y,x:e2.x*f2.x-c2.scrollLeft*f2.x+u2.x,y:e2.y*f2.y-c2.scrollTop*f2.y+u2.y}},isElement:f$1,getDimensions:function(t2){return w$2(t2)},getOffsetParent:H,getDocumentElement:T,getScale:L,async getElementRects(t2){let{reference:e2,floating:n2,strategy:o2}=t2;const i=this.getOffsetParent||H,r2=this.getDimensions;return{reference:V(e2,await i(n2),o2),floating:{x:0,y:0,...await r2(n2)}}},getClientRects:t2=>Array.from(t2.getClientRects()),isRTL:t2=>"rtl"===o(t2).direction};const z$1=(t2,n2,o2)=>{const i=new Map,r2={platform:O,...o2},l2={...r2.platform,_c:i};return r$2(t2,n2,{...r2,platform:l2})};const arrow=options2=>{const{element:element,padding:padding}=options2;function isRef(value){return Object.prototype.hasOwnProperty.call(value,"current")}return{name:"arrow",options:options2,fn(args){if(isRef(element)){if(element.current!=null){return u$1({element:element.current,padding:padding}).fn(args)}return{}}else if(element){return u$1({element:element,padding:padding}).fn(args)}return{}}}};var index$2=typeof document!=="undefined"?reactExports.useLayoutEffect:reactExports.useEffect;function deepEqual(a2,b2){if(a2===b2){return true}if(typeof a2!==typeof b2){return false}if(typeof a2==="function"&&a2.toString()===b2.toString()){return true}let length2,i,keys;if(a2&&b2&&typeof a2=="object"){if(Array.isArray(a2)){length2=a2.length;if(length2!=b2.length)return false;for(i=length2;i--!==0;){if(!deepEqual(a2[i],b2[i])){return false}}return true}keys=Object.keys(a2);length2=keys.length;if(length2!==Object.keys(b2).length){return false}for(i=length2;i--!==0;){if(!Object.prototype.hasOwnProperty.call(b2,keys[i])){return false}}for(i=length2;i--!==0;){const key=keys[i];if(key==="_owner"&&a2.$$typeof){continue}if(!deepEqual(a2[key],b2[key])){return false}}return true}return a2!==a2&&b2!==b2}function useLatestRef$1(value){const ref=reactExports.useRef(value);index$2((()=>{ref.current=value}));return ref}function useFloating$1(options2){if(options2===void 0){options2={}}const{placement:placement="bottom",strategy:strategy="absolute",middleware:middleware2=[],platform:platform,whileElementsMounted:whileElementsMounted,open:open}=options2;const[data,setData]=reactExports.useState({x:null,y:null,strategy:strategy,placement:placement,middlewareData:{},isPositioned:false});const[latestMiddleware,setLatestMiddleware]=reactExports.useState(middleware2);if(!deepEqual(latestMiddleware,middleware2)){setLatestMiddleware(middleware2)}const referenceRef=reactExports.useRef(null);const floatingRef=reactExports.useRef(null);const dataRef=reactExports.useRef(data);const whileElementsMountedRef=useLatestRef$1(whileElementsMounted);const platformRef=useLatestRef$1(platform);const[reference,_setReference]=reactExports.useState(null);const[floating,_setFloating]=reactExports.useState(null);const setReference=reactExports.useCallback((node2=>{if(referenceRef.current!==node2){referenceRef.current=node2;_setReference(node2)}}),[]);const setFloating=reactExports.useCallback((node2=>{if(floatingRef.current!==node2){floatingRef.current=node2;_setFloating(node2)}}),[]);const update=reactExports.useCallback((()=>{if(!referenceRef.current||!floatingRef.current){return}const config={placement:placement,strategy:strategy,middleware:latestMiddleware};if(platformRef.current){config.platform=platformRef.current}z$1(referenceRef.current,floatingRef.current,config).then((data2=>{const fullData={...data2,isPositioned:true};if(isMountedRef.current&&!deepEqual(dataRef.current,fullData)){dataRef.current=fullData;reactDomExports.flushSync((()=>{setData(fullData)}))}}))}),[latestMiddleware,placement,strategy,platformRef]);index$2((()=>{if(open===false&&dataRef.current.isPositioned){dataRef.current.isPositioned=false;setData((data2=>({...data2,isPositioned:false})))}}),[open]);const isMountedRef=reactExports.useRef(false);index$2((()=>{isMountedRef.current=true;return()=>{isMountedRef.current=false}}),[]);index$2((()=>{if(reference&&floating){if(whileElementsMountedRef.current){return whileElementsMountedRef.current(reference,floating,update)}else{update()}}}),[reference,floating,update,whileElementsMountedRef]);const refs=reactExports.useMemo((()=>({reference:referenceRef,floating:floatingRef,setReference:setReference,setFloating:setFloating})),[setReference,setFloating]);const elements=reactExports.useMemo((()=>({reference:reference,floating:floating})),[reference,floating]);return reactExports.useMemo((()=>({...data,update:update,refs:refs,elements:elements,reference:setReference,floating:setFloating})),[data,update,refs,elements,setReference,setFloating])}var index$1=typeof document!=="undefined"?reactExports.useLayoutEffect:reactExports.useEffect;let serverHandoffComplete=false;let count=0;const genId=()=>"floating-ui-"+count++;function useFloatingId(){const[id2,setId]=reactExports.useState((()=>serverHandoffComplete?genId():void 0));index$1((()=>{if(id2==null){setId(genId())}}),[]);reactExports.useEffect((()=>{if(!serverHandoffComplete){serverHandoffComplete=true}}),[]);return id2}const useReactId=React$1["useId".toString()];const useId=useReactId||useFloatingId;function createPubSub(){const map=new Map;return{emit(event2,data){var _map$get;(_map$get=map.get(event2))==null?void 0:_map$get.forEach((handler=>handler(data)))},on(event2,listener){map.set(event2,[...map.get(event2)||[],listener])},off(event2,listener){var _map$get2;map.set(event2,((_map$get2=map.get(event2))==null?void 0:_map$get2.filter((l2=>l2!==listener)))||[])}}}const FloatingNodeContext=reactExports.createContext(null);const FloatingTreeContext=reactExports.createContext(null);const useFloatingParentNodeId=()=>{var _React$useContext;return((_React$useContext=reactExports.useContext(FloatingNodeContext))==null?void 0:_React$useContext.id)||null};const useFloatingTree=()=>reactExports.useContext(FloatingTreeContext);function getDocument(node2){return(node2==null?void 0:node2.ownerDocument)||document}function getWindow$1(value){return getDocument(value).defaultView||window}function isElement$1(value){return value?value instanceof getWindow$1(value).Element:false}function isShadowRoot$1(node2){if(typeof ShadowRoot==="undefined"){return false}const OwnElement=getWindow$1(node2).ShadowRoot;return node2 instanceof OwnElement||node2 instanceof ShadowRoot}function isMouseLikePointerType(pointerType,strict){const values=["mouse","pen"];{values.push("",void 0)}return values.includes(pointerType)}function contains(parent,child){if(!parent||!child){return false}const rootNode=child.getRootNode&&child.getRootNode();if(parent.contains(child)){return true}if(rootNode&&isShadowRoot$1(rootNode)){let next2=child;while(next2){if(parent===next2){return true}next2=next2.parentNode||next2.host}}return false}function useLatestRef(value){const ref=reactExports.useRef(value);index$1((()=>{ref.current=value}));return ref}const safePolygonIdentifier="data-floating-ui-safe-polygon";function getDelay(value,prop,pointerType){if(pointerType&&!isMouseLikePointerType(pointerType)){return 0}if(typeof value==="number"){return value}return value==null?void 0:value[prop]}const useHover=function(context,props){if(props===void 0){props={}}const{open:open,onOpenChange:onOpenChange,dataRef:dataRef,events:events,elements:{domReference:domReference,floating:floating},refs:refs}=context;const{enabled:enabled=true,delay:delay=0,handleClose:handleClose=null,mouseOnly:mouseOnly=false,restMs:restMs=0,move:move=true}=props;const tree=useFloatingTree();const parentId=useFloatingParentNodeId();const handleCloseRef=useLatestRef(handleClose);const delayRef=useLatestRef(delay);const pointerTypeRef=reactExports.useRef();const timeoutRef=reactExports.useRef();const handlerRef=reactExports.useRef();const restTimeoutRef=reactExports.useRef();const blockMouseMoveRef=reactExports.useRef(true);const performedPointerEventsMutationRef=reactExports.useRef(false);const unbindMouseMoveRef=reactExports.useRef((()=>{}));const isHoverOpen=reactExports.useCallback((()=>{var _dataRef$current$open;const type=(_dataRef$current$open=dataRef.current.openEvent)==null?void 0:_dataRef$current$open.type;return(type==null?void 0:type.includes("mouse"))&&type!=="mousedown"}),[dataRef]);reactExports.useEffect((()=>{if(!enabled){return}function onDismiss(){clearTimeout(timeoutRef.current);clearTimeout(restTimeoutRef.current);blockMouseMoveRef.current=true}events.on("dismiss",onDismiss);return()=>{events.off("dismiss",onDismiss)}}),[enabled,events]);reactExports.useEffect((()=>{if(!enabled||!handleCloseRef.current||!open){return}function onLeave(){if(isHoverOpen()){onOpenChange(false)}}const html=getDocument(floating).documentElement;html.addEventListener("mouseleave",onLeave);return()=>{html.removeEventListener("mouseleave",onLeave)}}),[floating,open,onOpenChange,enabled,handleCloseRef,dataRef,isHoverOpen]);const closeWithDelay=reactExports.useCallback((function(runElseBranch){if(runElseBranch===void 0){runElseBranch=true}const closeDelay=getDelay(delayRef.current,"close",pointerTypeRef.current);if(closeDelay&&!handlerRef.current){clearTimeout(timeoutRef.current);timeoutRef.current=setTimeout((()=>onOpenChange(false)),closeDelay)}else if(runElseBranch){clearTimeout(timeoutRef.current);onOpenChange(false)}}),[delayRef,onOpenChange]);const cleanupMouseMoveHandler=reactExports.useCallback((()=>{unbindMouseMoveRef.current();handlerRef.current=void 0}),[]);const clearPointerEvents=reactExports.useCallback((()=>{if(performedPointerEventsMutationRef.current){const body=getDocument(refs.floating.current).body;body.style.pointerEvents="";body.removeAttribute(safePolygonIdentifier);performedPointerEventsMutationRef.current=false}}),[refs]);reactExports.useEffect((()=>{if(!enabled){return}function isClickLikeOpenEvent(){return dataRef.current.openEvent?["click","mousedown"].includes(dataRef.current.openEvent.type):false}function onMouseEnter(event2){clearTimeout(timeoutRef.current);blockMouseMoveRef.current=false;if(mouseOnly&&!isMouseLikePointerType(pointerTypeRef.current)||restMs>0&&getDelay(delayRef.current,"open")===0){return}dataRef.current.openEvent=event2;const openDelay=getDelay(delayRef.current,"open",pointerTypeRef.current);if(openDelay){timeoutRef.current=setTimeout((()=>{onOpenChange(true)}),openDelay)}else{onOpenChange(true)}}function onMouseLeave(event2){if(isClickLikeOpenEvent()){return}unbindMouseMoveRef.current();const doc=getDocument(floating);clearTimeout(restTimeoutRef.current);if(handleCloseRef.current){if(!open){clearTimeout(timeoutRef.current)}handlerRef.current=handleCloseRef.current({...context,tree:tree,x:event2.clientX,y:event2.clientY,onClose(){clearPointerEvents();cleanupMouseMoveHandler();closeWithDelay()}});const handler=handlerRef.current;doc.addEventListener("mousemove",handler);unbindMouseMoveRef.current=()=>{doc.removeEventListener("mousemove",handler)};return}const shouldClose=pointerTypeRef.current==="touch"?!contains(floating,event2.relatedTarget):true;if(shouldClose){closeWithDelay()}}function onScrollMouseLeave(event2){if(isClickLikeOpenEvent()){return}handleCloseRef.current==null?void 0:handleCloseRef.current({...context,tree:tree,x:event2.clientX,y:event2.clientY,onClose(){clearPointerEvents();cleanupMouseMoveHandler();closeWithDelay()}})(event2)}if(isElement$1(domReference)){const ref=domReference;open&&ref.addEventListener("mouseleave",onScrollMouseLeave);floating==null?void 0:floating.addEventListener("mouseleave",onScrollMouseLeave);move&&ref.addEventListener("mousemove",onMouseEnter,{once:true});ref.addEventListener("mouseenter",onMouseEnter);ref.addEventListener("mouseleave",onMouseLeave);return()=>{open&&ref.removeEventListener("mouseleave",onScrollMouseLeave);floating==null?void 0:floating.removeEventListener("mouseleave",onScrollMouseLeave);move&&ref.removeEventListener("mousemove",onMouseEnter);ref.removeEventListener("mouseenter",onMouseEnter);ref.removeEventListener("mouseleave",onMouseLeave)}}}),[domReference,floating,enabled,context,mouseOnly,restMs,move,closeWithDelay,cleanupMouseMoveHandler,clearPointerEvents,onOpenChange,open,tree,delayRef,handleCloseRef,dataRef]);index$1((()=>{var _handleCloseRef$curre;if(!enabled){return}if(open&&(_handleCloseRef$curre=handleCloseRef.current)!=null&&_handleCloseRef$curre.__options.blockPointerEvents&&isHoverOpen()){const body=getDocument(floating).body;body.setAttribute(safePolygonIdentifier,"");body.style.pointerEvents="none";performedPointerEventsMutationRef.current=true;if(isElement$1(domReference)&&floating){var _tree$nodesRef$curren,_tree$nodesRef$curren2;const ref=domReference;const parentFloating=tree==null?void 0:(_tree$nodesRef$curren=tree.nodesRef.current.find((node2=>node2.id===parentId)))==null?void 0:(_tree$nodesRef$curren2=_tree$nodesRef$curren.context)==null?void 0:_tree$nodesRef$curren2.elements.floating;if(parentFloating){parentFloating.style.pointerEvents=""}ref.style.pointerEvents="auto";floating.style.pointerEvents="auto";return()=>{ref.style.pointerEvents="";floating.style.pointerEvents=""}}}}),[enabled,open,parentId,floating,domReference,tree,handleCloseRef,dataRef,isHoverOpen]);index$1((()=>{if(!open){pointerTypeRef.current=void 0;cleanupMouseMoveHandler();clearPointerEvents()}}),[open,cleanupMouseMoveHandler,clearPointerEvents]);reactExports.useEffect((()=>()=>{cleanupMouseMoveHandler();clearTimeout(timeoutRef.current);clearTimeout(restTimeoutRef.current);clearPointerEvents()}),[enabled,cleanupMouseMoveHandler,clearPointerEvents]);return reactExports.useMemo((()=>{if(!enabled){return{}}function setPointerRef(event2){pointerTypeRef.current=event2.pointerType}return{reference:{onPointerDown:setPointerRef,onPointerEnter:setPointerRef,onMouseMove(){if(open||restMs===0){return}clearTimeout(restTimeoutRef.current);restTimeoutRef.current=setTimeout((()=>{if(!blockMouseMoveRef.current){onOpenChange(true)}}),restMs)}},floating:{onMouseEnter(){clearTimeout(timeoutRef.current)},onMouseLeave(){events.emit("dismiss",{type:"mouseLeave",data:{returnFocus:false}});closeWithDelay(false)}}}}),[events,enabled,restMs,open,onOpenChange,closeWithDelay])};function getChildren(nodes,id2){let allChildren=nodes.filter((node2=>{var _node$context;return node2.parentId===id2&&((_node$context=node2.context)==null?void 0:_node$context.open)}));let currentChildren=allChildren;while(currentChildren.length){currentChildren=nodes.filter((node2=>{var _currentChildren;return(_currentChildren=currentChildren)==null?void 0:_currentChildren.some((n2=>{var _node$context2;return node2.parentId===n2.id&&((_node$context2=node2.context)==null?void 0:_node$context2.open)}))}));allChildren=allChildren.concat(currentChildren)}return allChildren}function getTarget(event2){if("composedPath"in event2){return event2.composedPath()[0]}return event2.target}const useInsertionEffect$1=React$1["useInsertionEffect".toString()];const useSafeInsertionEffect=useInsertionEffect$1||(fn=>fn());function useEvent(callback){const ref=reactExports.useRef((()=>{}));useSafeInsertionEffect((()=>{ref.current=callback}));return reactExports.useCallback((function(){for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++){args[_key]=arguments[_key]}return ref.current==null?void 0:ref.current(...args)}),[])}function isPointInPolygon(point,polygon){const[x2,y2]=point;let isInside2=false;const length2=polygon.length;for(let i=0,j=length2-1;i<length2;j=i++){const[xi2,yi2]=polygon[i]||[0,0];const[xj2,yj2]=polygon[j]||[0,0];const intersect=yi2>=y2!==yj2>=y2&&x2<=(xj2-xi2)*(y2-yi2)/(yj2-yi2)+xi2;if(intersect){isInside2=!isInside2}}return isInside2}function isInside(point,rect){return point[0]>=rect.x&&point[0]<=rect.x+rect.width&&point[1]>=rect.y&&point[1]<=rect.y+rect.height}function safePolygon(_temp){let{restMs:restMs=0,buffer:buffer=.5,blockPointerEvents:blockPointerEvents=false}=_temp===void 0?{}:_temp;let timeoutId2;let isInsideRect=false;let hasLanded=false;const fn=_ref3=>{let{x:x2,y:y2,placement:placement,elements:elements,onClose:onClose,nodeId:nodeId,tree:tree}=_ref3;return function onMouseMove(event2){function close(){clearTimeout(timeoutId2);onClose()}clearTimeout(timeoutId2);if(!elements.domReference||!elements.floating||placement==null||x2==null||y2==null){return}const{clientX:clientX,clientY:clientY}=event2;const clientPoint=[clientX,clientY];const target=getTarget(event2);const isLeave=event2.type==="mouseleave";const isOverFloatingEl=contains(elements.floating,target);const isOverReferenceEl=contains(elements.domReference,target);const refRect=elements.domReference.getBoundingClientRect();const rect=elements.floating.getBoundingClientRect();const side=placement.split("-")[0];const cursorLeaveFromRight=x2>rect.right-rect.width/2;const cursorLeaveFromBottom=y2>rect.bottom-rect.height/2;const isOverReferenceRect=isInside(clientPoint,refRect);if(isOverFloatingEl){hasLanded=true;if(!isLeave){return}}if(isOverReferenceEl){hasLanded=false}if(isOverReferenceEl&&!isLeave){hasLanded=true;return}if(isLeave&&isElement$1(event2.relatedTarget)&&contains(elements.floating,event2.relatedTarget)){return}if(tree&&getChildren(tree.nodesRef.current,nodeId).some((_ref22=>{let{context:context}=_ref22;return context==null?void 0:context.open}))){return}if(side==="top"&&y2>=refRect.bottom-1||side==="bottom"&&y2<=refRect.top+1||side==="left"&&x2>=refRect.right-1||side==="right"&&x2<=refRect.left+1){return close()}let rectPoly=[];switch(side){case"top":rectPoly=[[rect.left,refRect.top+1],[rect.left,rect.bottom-1],[rect.right,rect.bottom-1],[rect.right,refRect.top+1]];isInsideRect=clientX>=rect.left&&clientX<=rect.right&&clientY>=rect.top&&clientY<=refRect.top+1;break;case"bottom":rectPoly=[[rect.left,rect.top+1],[rect.left,refRect.bottom-1],[rect.right,refRect.bottom-1],[rect.right,rect.top+1]];isInsideRect=clientX>=rect.left&&clientX<=rect.right&&clientY>=refRect.bottom-1&&clientY<=rect.bottom;break;case"left":rectPoly=[[rect.right-1,rect.bottom],[rect.right-1,rect.top],[refRect.left+1,rect.top],[refRect.left+1,rect.bottom]];isInsideRect=clientX>=rect.left&&clientX<=refRect.left+1&&clientY>=rect.top&&clientY<=rect.bottom;break;case"right":rectPoly=[[refRect.right-1,rect.bottom],[refRect.right-1,rect.top],[rect.left+1,rect.top],[rect.left+1,rect.bottom]];isInsideRect=clientX>=refRect.right-1&&clientX<=rect.right&&clientY>=rect.top&&clientY<=rect.bottom;break}function getPolygon(_ref32){let[x22,y22]=_ref32;const isFloatingWider=rect.width>refRect.width;const isFloatingTaller=rect.height>refRect.height;switch(side){case"top":{const cursorPointOne=[isFloatingWider?x22+buffer/2:cursorLeaveFromRight?x22+buffer*4:x22-buffer*4,y22+buffer+1];const cursorPointTwo=[isFloatingWider?x22-buffer/2:cursorLeaveFromRight?x22+buffer*4:x22-buffer*4,y22+buffer+1];const commonPoints=[[rect.left,cursorLeaveFromRight?rect.bottom-buffer:isFloatingWider?rect.bottom-buffer:rect.top],[rect.right,cursorLeaveFromRight?isFloatingWider?rect.bottom-buffer:rect.top:rect.bottom-buffer]];return[cursorPointOne,cursorPointTwo,...commonPoints]}case"bottom":{const cursorPointOne=[isFloatingWider?x22+buffer/2:cursorLeaveFromRight?x22+buffer*4:x22-buffer*4,y22-buffer];const cursorPointTwo=[isFloatingWider?x22-buffer/2:cursorLeaveFromRight?x22+buffer*4:x22-buffer*4,y22-buffer];const commonPoints=[[rect.left,cursorLeaveFromRight?rect.top+buffer:isFloatingWider?rect.top+buffer:rect.bottom],[rect.right,cursorLeaveFromRight?isFloatingWider?rect.top+buffer:rect.bottom:rect.top+buffer]];return[cursorPointOne,cursorPointTwo,...commonPoints]}case"left":{const cursorPointOne=[x22+buffer+1,isFloatingTaller?y22+buffer/2:cursorLeaveFromBottom?y22+buffer*4:y22-buffer*4];const cursorPointTwo=[x22+buffer+1,isFloatingTaller?y22-buffer/2:cursorLeaveFromBottom?y22+buffer*4:y22-buffer*4];const commonPoints=[[cursorLeaveFromBottom?rect.right-buffer:isFloatingTaller?rect.right-buffer:rect.left,rect.top],[cursorLeaveFromBottom?isFloatingTaller?rect.right-buffer:rect.left:rect.right-buffer,rect.bottom]];return[...commonPoints,cursorPointOne,cursorPointTwo]}case"right":{const cursorPointOne=[x22-buffer,isFloatingTaller?y22+buffer/2:cursorLeaveFromBottom?y22+buffer*4:y22-buffer*4];const cursorPointTwo=[x22-buffer,isFloatingTaller?y22-buffer/2:cursorLeaveFromBottom?y22+buffer*4:y22-buffer*4];const commonPoints=[[cursorLeaveFromBottom?rect.left+buffer:isFloatingTaller?rect.left+buffer:rect.right,rect.top],[cursorLeaveFromBottom?isFloatingTaller?rect.left+buffer:rect.right:rect.left+buffer,rect.bottom]];return[cursorPointOne,cursorPointTwo,...commonPoints]}}}const poly=isInsideRect?rectPoly:getPolygon([x2,y2]);if(isInsideRect){return}else if(hasLanded&&!isOverReferenceRect){return close()}if(!isPointInPolygon([clientX,clientY],poly)){close()}else if(restMs&&!hasLanded){timeoutId2=setTimeout(close,restMs)}}};fn.__options={blockPointerEvents:blockPointerEvents};return fn}function useFloating(options2){if(options2===void 0){options2={}}const{open:open=false,onOpenChange:unstable_onOpenChange,nodeId:nodeId}=options2;const position2=useFloating$1(options2);const tree=useFloatingTree();const domReferenceRef=reactExports.useRef(null);const dataRef=reactExports.useRef({});const events=reactExports.useState((()=>createPubSub()))[0];const floatingId=useId();const[domReference,setDomReference]=reactExports.useState(null);const setPositionReference=reactExports.useCallback((node2=>{const positionReference=isElement$1(node2)?{getBoundingClientRect:()=>node2.getBoundingClientRect(),contextElement:node2}:node2;position2.refs.setReference(positionReference)}),[position2.refs]);const setReference=reactExports.useCallback((node2=>{if(isElement$1(node2)||node2===null){domReferenceRef.current=node2;setDomReference(node2)}if(isElement$1(position2.refs.reference.current)||position2.refs.reference.current===null||node2!==null&&!isElement$1(node2)){position2.refs.setReference(node2)}}),[position2.refs]);const refs=reactExports.useMemo((()=>({...position2.refs,setReference:setReference,setPositionReference:setPositionReference,domReference:domReferenceRef})),[position2.refs,setReference,setPositionReference]);const elements=reactExports.useMemo((()=>({...position2.elements,domReference:domReference})),[position2.elements,domReference]);const onOpenChange=useEvent(unstable_onOpenChange);const context=reactExports.useMemo((()=>({...position2,refs:refs,elements:elements,dataRef:dataRef,nodeId:nodeId,floatingId:floatingId,events:events,open:open,onOpenChange:onOpenChange})),[position2,nodeId,floatingId,events,open,onOpenChange,refs,elements]);index$1((()=>{const node2=tree==null?void 0:tree.nodesRef.current.find((node22=>node22.id===nodeId));if(node2){node2.context=context}}));return reactExports.useMemo((()=>({...position2,context:context,refs:refs,elements:elements,reference:setReference,positionReference:setPositionReference})),[position2,refs,elements,context,setReference,setPositionReference])}function mergeProps(userProps,propsList,elementKey){const map=new Map;return{...elementKey==="floating"&&{tabIndex:-1},...userProps,...propsList.map((value=>value?value[elementKey]:null)).concat(userProps).reduce(((acc,props)=>{if(!props){return acc}Object.entries(props).forEach((_ref3=>{let[key,value]=_ref3;if(key.indexOf("on")===0){if(!map.has(key)){map.set(key,[])}if(typeof value==="function"){var _map$get;(_map$get=map.get(key))==null?void 0:_map$get.push(value);acc[key]=function(){var _map$get2;for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++){args[_key]=arguments[_key]}return(_map$get2=map.get(key))==null?void 0:_map$get2.map((fn=>fn(...args))).find((val=>val!==void 0))}}}else{acc[key]=value}}));return acc}),{})}}const useInteractions=function(propsList){if(propsList===void 0){propsList=[]}const deps=propsList;const getReferenceProps=reactExports.useCallback((userProps=>mergeProps(userProps,propsList,"reference")),deps);const getFloatingProps=reactExports.useCallback((userProps=>mergeProps(userProps,propsList,"floating")),deps);const getItemProps=reactExports.useCallback((userProps=>mergeProps(userProps,propsList,"item")),propsList.map((key=>key==null?void 0:key.item)));return reactExports.useMemo((()=>({getReferenceProps:getReferenceProps,getFloatingProps:getFloatingProps,getItemProps:getItemProps})),[getReferenceProps,getFloatingProps,getItemProps])};const Tooltip=reactExports.forwardRef(((props,ref)=>{const{aria:aria={},className:className,children:children,data:data={},delay:delay=0,htmlOptions:htmlOptions={},icon:icon=null,interaction:interaction=false,placement:preferredPlacement="top",position:position2="absolute",text:text,showTooltip:showTooltip=true,zIndex:zIndex,...rest}=props;const dataProps=buildDataProps(data);const ariaProps=buildAriaProps(aria);const htmlProps=buildHtmlProps(htmlOptions);const css4=classnames(globalProps({...rest}),className);const[open,setOpen]=reactExports.useState(false);const arrowRef=reactExports.useRef(null);const{context:context,middlewareData:{arrow:{x:arrowX,y:arrowY}={}},placement:placement,refs:refs,strategy:strategy,x:x2,y:y2}=useFloating({strategy:position2,middleware:[arrow({element:arrowRef}),b$2({fallbackPlacements:["top","right","bottom","left"],fallbackStrategy:"initialPlacement",flipAlignment:false}),D$1(10),k$1()],open:open,onOpenChange(open2){if(!showTooltip){return}else{setOpen(open2)}},placement:preferredPlacement});const{getFloatingProps:getFloatingProps}=useInteractions([useHover(context,{delay:delay,handleClose:interaction?safePolygon({blockPointerEvents:false}):null})]);const staticSide={bottom:"top",left:"right",right:"left",top:"bottom"}[placement.split("-")[0]];return jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx("div",{className:`pb_tooltip_kit ${css4}`,ref:element=>{refs.setReference(element);if(ref){if(typeof ref==="function"){ref(element)}else if(typeof ref==="object"){ref.current=element}}},role:"tooltip_trigger",style:{display:"inline-block"},...ariaProps,...dataProps,...htmlProps,children:children}),open&&jsxRuntimeExports.jsxs("div",{...getFloatingProps({className:`tooltip_tooltip ${placement} visible`,ref:refs.setFloating,role:"tooltip",style:{position:strategy,top:y2??0,left:x2??0,zIndex:zIndex??0}}),children:[jsxRuntimeExports.jsxs(Flex,{align:"center",gap:"xs",children:[icon&&jsxRuntimeExports.jsx("i",{className:`pb_icon_kit`,children:jsxRuntimeExports.jsx(Icon,{icon:icon})}),text]}),jsxRuntimeExports.jsx("div",{className:"arrow_bg",ref:arrowRef,style:{position:"absolute",left:arrowX!=null?`${arrowX}px`:"",top:arrowY!=null?`${arrowY}px`:"",[staticSide]:"-5px"}})]})]})}));Tooltip.displayName="Tooltip";const EditorButton=({classname:classname,disable:disable,onclick:onclick,icon:icon,text:text})=>jsxRuntimeExports.jsx(Tooltip,{delay:{open:2e3},interaction:true,placement:"top",text:text,children:jsxRuntimeExports.jsx("button",{className:classname,disabled:disable,onClick:onclick,role:"button",type:"button",children:jsxRuntimeExports.jsx(Flex,{align:"center",className:"toolbar_button_icon",justify:"center",children:jsxRuntimeExports.jsx(Icon,{icon:icon,size:"lg"})})})});const ToolbarDropdown=({editor:editor})=>{const[showPopover,setShowPopover]=reactExports.useState(false);const toolbarDropdownItems=[{node:"paragraph",icon:"paragraph",isActive:editor.isActive("paragraph"),text:"Paragraph",onclick:()=>editor.chain().focus().setParagraph().run()},{node:"heading-1",icon:"h1",isActive:editor.isActive("heading",{level:1}),text:"Heading 1",onclick:()=>editor.chain().focus().toggleHeading({level:1}).run()},{node:"heading-2",icon:"h2",isActive:editor.isActive("heading",{level:2}),text:"Heading 2",onclick:()=>editor.chain().focus().toggleHeading({level:2}).run()},{node:"heading-3",icon:"h3",isActive:editor.isActive("heading",{level:3}),text:"Heading 3",onclick:()=>editor.chain().focus().toggleHeading({level:3}).run()},{node:"bulletList",icon:"list",isActive:editor.isActive("bulletList"),text:"Bullet List",onclick:()=>editor.chain().focus().toggleBulletList().run()},{node:"orderedList",icon:"list-ol",isActive:editor.isActive("orderedList"),text:"Ordered List",onclick:()=>editor.chain().focus().toggleOrderedList().run()},{node:"blockquote",icon:"block-quote",isActive:editor.isActive("blockquote"),text:"Block Quote",onclick:()=>editor.chain().focus().toggleBlockquote().run()}];const angleDown=getAllIcons()["angleDown"].icon;const handleTogglePopover=()=>{setShowPopover(!showPopover)};const handlePopoverClose=shouldClosePopover=>{setShowPopover(!shouldClosePopover)};let activeCount=0;const activeItems=[];for(const{text:text,isActive:isActive,icon:icon}of toolbarDropdownItems){if(isActive){activeCount++;activeItems.push(jsxRuntimeExports.jsxs(Flex,{align:"center",gap:"xs",children:[jsxRuntimeExports.jsx(Icon,{icon:icon,size:"lg"}),jsxRuntimeExports.jsx("div",{children:text}),jsxRuntimeExports.jsx(Flex,{className:showPopover?"fa-flip-vertical":"",display:"inline_flex",children:jsxRuntimeExports.jsx(Icon,{className:"svg-inline--fa",customIcon:angleDown,fixedWidth:true,"margin-left":"xs"})})]},icon))}}const popoverReference=jsxRuntimeExports.jsx(Button,{className:"editor-dropdown-button",onClick:handleTogglePopover,variant:"secondary",children:activeCount===2?activeItems[1]:activeCount===1?activeItems[0]||null:jsxRuntimeExports.jsxs(Flex,{align:"center",gap:"xs",children:[jsxRuntimeExports.jsx(Icon,{icon:"paragraph",size:"lg"}),jsxRuntimeExports.jsx("div",{children:"Paragraph"}),jsxRuntimeExports.jsx(Flex,{className:showPopover?"fa-flip-vertical":"",display:"inline_flex",children:jsxRuntimeExports.jsx(Icon,{className:"svg-inline--fa",customIcon:angleDown,fixedWidth:true,"margin-left":"xs"})})]},"paragraph")});return jsxRuntimeExports.jsx(PbReactPopover,{closeOnClick:"outside",padding:"none",placement:"bottom",reference:popoverReference,shouldClosePopover:handlePopoverClose,show:showPopover,children:jsxRuntimeExports.jsx(Nav,{paddingBottom:"xs",paddingTop:"xs",variant:"subtle",children:toolbarDropdownItems.map((({icon:icon,text:text,onclick:onclick,isActive:isActive},index2)=>jsxRuntimeExports.jsx(NavItem,{className:`pb_tiptap_toolbar_dropdown_list_item ${isActive?"is-active":""}`,cursor:"pointer",iconLeft:icon,margin:"none",onClick:()=>{onclick();setShowPopover(false)},paddingBottom:"xxs",paddingTop:"xxs",text:text},`${text}_${index2}`)))})})};const ToolbarNodes=({editor:editor})=>{const setLink=reactExports.useCallback((()=>{const previousUrl=editor.getAttributes("link").href;const url=window.prompt("URL",previousUrl);if(url===null){return}if(url===""){editor.chain().focus().extendMarkRange("link").unsetLink().run();return}editor.chain().focus().extendMarkRange("link").setLink({href:url}).run()}),[editor]);const toolbarNodesItems=[{onclick:()=>editor.chain().focus().toggleCodeBlock().run(),icon:"code",isActive:editor.isActive("codeBlock"),text:"Codeblock"},{onclick:setLink,icon:"link",isActive:editor.isActive("link"),text:"Link"}];return jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment,{children:toolbarNodesItems.map((({onclick:onclick,icon:icon,text:text,isActive:isActive},index2)=>jsxRuntimeExports.jsx(EditorButton,{classname:`toolbar_button ${isActive?"is-active":""}`,icon:icon,onclick:onclick,text:text},index2)))})};const ToolbarHistoryItems=({editor:editor})=>{const toolbarHistoryItems=[{classname:`toolbar_button`,icon:"undo",text:"Undo",onclick:()=>editor.chain().focus().undo().run(),disable:!editor.can().chain().focus().undo().run()},{classname:`toolbar_button`,icon:"redo",text:"Redo",onclick:()=>editor.chain().focus().redo().run(),disable:!editor.can().chain().focus().redo().run()}];return jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment,{children:jsxRuntimeExports.jsx(FlexItem,{displayFlex:true,children:toolbarHistoryItems.map((({onclick:onclick,classname:classname,disable:disable,icon:icon,text:text},index2)=>jsxRuntimeExports.jsx(EditorButton,{classname:classname,disable:disable,icon:icon,onclick:onclick,text:text},index2)))})})};const MoreExtensionsDropdown=({extensions:extensions})=>{const[showPopover,setShowPopover]=reactExports.useState(false);const handleTogglePopover=()=>{setShowPopover(!showPopover)};const handlePopoverClose=shouldClosePopover=>{setShowPopover(!shouldClosePopover)};const popoverReference=jsxRuntimeExports.jsx("button",{className:"toolbar_button",onClick:handleTogglePopover,role:"button",type:"button",children:jsxRuntimeExports.jsx(Flex,{align:"center",className:"toolbar_button_icon",justify:"center",children:jsxRuntimeExports.jsx(Icon,{icon:"ellipsis",size:"lg"})})});return jsxRuntimeExports.jsx(PbReactPopover,{closeOnClick:"outside",padding:"none",placement:"bottom",reference:popoverReference,shouldClosePopover:handlePopoverClose,show:showPopover,children:jsxRuntimeExports.jsx(Nav,{paddingBottom:extensions.length>1?"xs":"none",paddingTop:extensions.length>1?"xs":"none",variant:"subtle",children:extensions&&extensions.map((({icon:icon,text:text,onclick:onclick,isActive:isActive},index2)=>jsxRuntimeExports.jsx(NavItem,{className:`pb_tiptap_toolbar_dropdown_list_item ${isActive?"is-active":""}`,cursor:"pointer",iconLeft:icon,margin:"none",onClick:()=>{onclick();setShowPopover(false)},paddingBottom:"xxs",paddingTop:"xxs",text:text},`${text}_${index2}`)))})})};const EditorToolbar=({editor:editor,extensions:extensions})=>{const toolbaritems=[{icon:"bold",text:"Bold",classname:`toolbar_button ${editor.isActive("bold")?"is-active":""}`,onclick:()=>editor.chain().focus().toggleBold().run()},{icon:"italic",text:"Italic",classname:`toolbar_button ${editor.isActive("italic")?"is-active":""}`,onclick:()=>editor.chain().focus().toggleItalic().run()},{icon:"strikethrough",text:"Strikethrough",classname:`toolbar_button ${editor.isActive("strike")?"is-active":""}`,onclick:()=>editor.chain().focus().toggleStrike().run()}];return jsxRuntimeExports.jsx(Background,{backgroundColor:"white",className:"toolbar",children:jsxRuntimeExports.jsxs(Flex,{flex:"0",justify:"between",paddingX:"sm",paddingY:"xxs",children:[jsxRuntimeExports.jsxs(FlexItem,{className:"toolbar_block",displayFlex:true,children:[jsxRuntimeExports.jsx(ToolbarDropdown,{editor:editor}),jsxRuntimeExports.jsx(SectionSeparator,{orientation:"vertical"}),toolbaritems&&toolbaritems.map((({icon:icon,text:text,classname:classname,onclick:onclick},index2)=>jsxRuntimeExports.jsx(EditorButton,{classname:classname,icon:icon,onclick:onclick,text:text},index2))),jsxRuntimeExports.jsx(SectionSeparator,{orientation:"vertical"}),jsxRuntimeExports.jsx(ToolbarNodes,{editor:editor}),extensions&&jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment,{children:jsxRuntimeExports.jsx(MoreExtensionsDropdown,{extensions:extensions})})]}),jsxRuntimeExports.jsx(ToolbarHistoryItems,{editor:editor})]})})};Trix.config.textAttributes.inlineCode={tagName:"code",inheritable:true};const RichTextEditor=props=>{const{aria:aria={},advancedEditor:advancedEditor,advancedEditorToolbar:advancedEditorToolbar=true,toolbarBottom:toolbarBottom=false,children:children,className:className,data:data={},focus:focus=false,htmlOptions:htmlOptions={},inline:inline=false,extensions:extensions,name:name2,onChange:onChange2=noop$1,placeholder:placeholder,simple:simple=false,sticky:sticky=false,template:template="",value:value="",maxWidth:maxWidth="md"}=props;const ariaProps=buildAriaProps(aria),dataProps=buildDataProps(data),[editor,setEditor]=reactExports.useState();const htmlProps=buildHtmlProps(htmlOptions);const handleOnEditorReady=editorInstance=>setEditor(editorInstance),element=editor==null?void 0:editor.element;if(editor){const toolbarElement=element.parentElement.querySelector("trix-toolbar"),blockCodeButton=toolbarElement.querySelector("[data-trix-attribute=code]");let inlineCodeButton=toolbarElement.querySelector("[data-trix-attribute=inlineCode]");if(!inlineCodeButton){inlineCodeButton=blockCodeButton.cloneNode(true);blockCodeButton.hidden=true;inlineCodeButton.dataset.trixAttribute="inlineCode";blockCodeButton.insertAdjacentElement("afterend",inlineCodeButton)}if(toolbarBottom)editor.element.after(toolbarElement);focus?(document.addEventListener("trix-focus",useFocus),document.addEventListener("trix-blur",useFocus),useFocus()):null;document.addEventListener("trix-focus",inlineFocus);document.addEventListener("trix-blur",inlineFocus)}reactExports.useEffect((()=>{if(!editor||!template)return;editor.loadHTML("");editor.setSelectedRange([0,0]);editor.insertHTML(template)}),[editor,template]);reactExports.useEffect((()=>{if(!element)return;element.addEventListener("click",(({target:target})=>{const trixEditorContainer=target.closest(".pb_rich_text_editor_kit");if(!trixEditorContainer)return;const anchorElement=target.closest("a");if(!anchorElement)return;if(anchorElement.hasAttribute("href"))window.open(anchorElement.href)}))}),[element]);const richTextEditorClass="pb_rich_text_editor_kit",simpleClass=simple?"simple":"",focusClass=focus?"focus-editor-targets":"",stickyClass=sticky?"sticky":"",inlineClass=inline?"inline":"",toolbarBottomClass=toolbarBottom?"toolbar-bottom":"";let css4=classnames(globalProps(props,{maxWidth:maxWidth}),className);css4=classnames(richTextEditorClass,simpleClass,focusClass,stickyClass,inlineClass,toolbarBottomClass,css4);return jsxRuntimeExports.jsx("div",{...ariaProps,...dataProps,...htmlProps,className:css4,children:advancedEditor?jsxRuntimeExports.jsxs("div",{className:classnames("pb_rich_text_editor_advanced_container",{["toolbar-active"]:advancedEditorToolbar}),children:[advancedEditorToolbar&&jsxRuntimeExports.jsx(EditorToolbar,{editor:advancedEditor,extensions:extensions}),children]}):jsxRuntimeExports.jsx(mainExports.TrixEditor,{className:"",fileParamName:name2,mergeTags:[],onChange:onChange2,onEditorReady:handleOnEditorReady,placeholder:placeholder,value:value})})};var treemap$1={exports:{}};(function(module){!function(t2){module.exports?(t2.default=t2,module.exports=t2):t2("undefined"!=typeof Highcharts?Highcharts:void 0)}((function(t2){var e2=t2?t2._modules:{};function i(e3,i2,s2,r2){e3.hasOwnProperty(i2)||(e3[i2]=r2.apply(null,s2),"function"==typeof CustomEvent&&t2.win.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:i2,module:e3[i2]}})))}i(e2,"Extensions/Breadcrumbs/BreadcrumbsDefaults.js",[],(function(){return{lang:{mainBreadcrumb:"Main"},options:{buttonTheme:{fill:"none",height:18,padding:2,"stroke-width":0,zIndex:7,states:{select:{fill:"none"}},style:{color:"#334eff"}},buttonSpacing:5,floating:false,format:void 0,relativeTo:"plotBox",rtl:false,position:{align:"left",verticalAlign:"top",x:0,y:void 0},separator:{text:"/",style:{color:"#666666",fontSize:"0.8em"}},showFullPath:true,style:{},useHTML:false,zIndex:7}}})),i(e2,"Extensions/Breadcrumbs/Breadcrumbs.js",[e2["Extensions/Breadcrumbs/BreadcrumbsDefaults.js"],e2["Core/Templating.js"],e2["Core/Globals.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2,s2){let{format:r2}=e3,{composed:o2}=i2,{addEvent:l2,defined:n2,extend:a2,fireEvent:h2,isString:d2,merge:p2,objectEach:u2,pick:c2,pushUnique:g2}=s2;function m2(){if(this.breadcrumbs){let t4=this.resetZoomButton&&this.resetZoomButton.getBBox(),e4=this.breadcrumbs.options;t4&&"right"===e4.position.align&&"plotBox"===e4.relativeTo&&this.breadcrumbs.alignBreadcrumbsGroup(-t4.width-e4.buttonSpacing)}}function v2(){this.breadcrumbs&&(this.breadcrumbs.destroy(),this.breadcrumbs=void 0)}function b2(){let t4=this.breadcrumbs;if(t4&&!t4.options.floating&&t4.level){let e4=t4.options,i3=e4.buttonTheme,s3=(i3.height||0)+2*(i3.padding||0)+e4.buttonSpacing,r3=e4.position.verticalAlign;"bottom"===r3?(this.marginBottom=(this.marginBottom||0)+s3,t4.yOffset=s3):"middle"!==r3?(this.plotTop+=s3,t4.yOffset=-s3):t4.yOffset=void 0}}function f2(){this.breadcrumbs&&this.breadcrumbs.redraw()}function y2(t4){true===t4.resetSelection&&this.breadcrumbs&&this.breadcrumbs.alignBreadcrumbsGroup()}class x2{static compose(e4,i3){g2(o2,"Breadcrumbs")&&(l2(e4,"destroy",v2),l2(e4,"afterShowResetZoom",m2),l2(e4,"getMargins",b2),l2(e4,"redraw",f2),l2(e4,"selection",y2),a2(i3.lang,t3.lang))}constructor(t4,e4){this.elementList={},this.isDirty=true,this.level=0,this.list=[];let i3=p2(t4.options.drilldown&&t4.options.drilldown.drillUpButton,x2.defaultOptions,t4.options.navigation&&t4.options.navigation.breadcrumbs,e4);this.chart=t4,this.options=i3||{}}updateProperties(t4){this.setList(t4),this.setLevel(),this.isDirty=true}setList(t4){this.list=t4}setLevel(){this.level=this.list.length&&this.list.length-1}getLevel(){return this.level}getButtonText(t4){let e4=this.chart,i3=this.options,s3=e4.options.lang,o3=c2(i3.format,i3.showFullPath?"{level.name}":"← {level.name}"),l3=s3&&c2(s3.drillUpText,s3.mainBreadcrumb),a3=i3.formatter&&i3.formatter(t4)||r2(o3,{level:t4.levelOptions},e4)||"";return(d2(a3)&&!a3.length||"← "===a3)&&n2(l3)&&(a3=i3.showFullPath?l3:"← "+l3),a3}redraw(){this.isDirty&&this.render(),this.group&&this.group.align(),this.isDirty=false}render(){let t4=this.chart,e4=this.options;!this.group&&e4&&(this.group=t4.renderer.g("breadcrumbs-group").addClass("highcharts-no-tooltip highcharts-breadcrumbs").attr({zIndex:e4.zIndex}).add()),e4.showFullPath?this.renderFullPathButtons():this.renderSingleButton(),this.alignBreadcrumbsGroup()}renderFullPathButtons(){this.destroySingleButton(),this.resetElementListState(),this.updateListElements(),this.destroyListElements()}renderSingleButton(){let t4=this.chart,e4=this.list,i3=this.options.buttonSpacing;this.destroyListElements();let s3=this.group?this.group.getBBox().width:i3,r3=e4[e4.length-2];!t4.drillUpButton&&this.level>0?t4.drillUpButton=this.renderButton(r3,s3,i3):t4.drillUpButton&&(this.level>0?this.updateSingleButton():this.destroySingleButton())}alignBreadcrumbsGroup(t4){if(this.group){let e4=this.options,i3=e4.buttonTheme,s3=e4.position,r3="chart"===e4.relativeTo||"spacingBox"===e4.relativeTo?void 0:"plotBox",o3=this.group.getBBox(),l3=2*(i3.padding||0)+e4.buttonSpacing;s3.width=o3.width+l3,s3.height=o3.height+l3;let n3=p2(s3);t4&&(n3.x+=t4),this.options.rtl&&(n3.x+=s3.width),n3.y=c2(n3.y,this.yOffset,0),this.group.align(n3,true,r3)}}renderButton(t4,e4,i3){let s3=this,r3=this.chart,o3=s3.options,l3=p2(o3.buttonTheme),n3=r3.renderer.button(s3.getButtonText(t4),e4,i3,(function(e5){let i4;let r4=o3.events&&o3.events.click;r4&&(i4=r4.call(s3,e5,t4)),false!==i4&&(o3.showFullPath?e5.newLevel=t4.level:e5.newLevel=s3.level-1,h2(s3,"up",e5))}),l3).addClass("highcharts-breadcrumbs-button").add(s3.group);return r3.styledMode||n3.attr(o3.style),n3}renderSeparator(t4,e4){let i3=this.chart,s3=this.options.separator,r3=i3.renderer.label(s3.text,t4,e4,void 0,void 0,void 0,false).addClass("highcharts-breadcrumbs-separator").add(this.group);return i3.styledMode||r3.css(s3.style),r3}update(t4){p2(true,this.options,t4),this.destroy(),this.isDirty=true}updateSingleButton(){let t4=this.chart,e4=this.list[this.level-1];t4.drillUpButton&&t4.drillUpButton.attr({text:this.getButtonText(e4)})}destroy(){this.destroySingleButton(),this.destroyListElements(true),this.group&&this.group.destroy(),this.group=void 0}destroyListElements(t4){let e4=this.elementList;u2(e4,((i3,s3)=>{(t4||!e4[s3].updated)&&((i3=e4[s3]).button&&i3.button.destroy(),i3.separator&&i3.separator.destroy(),delete i3.button,delete i3.separator,delete e4[s3])})),t4&&(this.elementList={})}destroySingleButton(){this.chart.drillUpButton&&(this.chart.drillUpButton.destroy(),this.chart.drillUpButton=void 0)}resetElementListState(){u2(this.elementList,(t4=>{t4.updated=false}))}updateListElements(){let t4=this.elementList,e4=this.options.buttonSpacing,i3=this.list,s3=this.options.rtl,r3=s3?-1:1,o3=function(t5,e5){return r3*t5.getBBox().width+r3*e5},l3=function(t5,e5,i4){t5.translate(e5-t5.getBBox().width,i4)},n3=this.group?o3(this.group,e4):e4,a3,h3;for(let d3=0,p3=i3.length;d3<p3;++d3){let u3,c3;let g3=d3===p3-1;t4[(h3=i3[d3]).level]?(u3=(a3=t4[h3.level]).button,a3.separator||g3?a3.separator&&g3&&(a3.separator.destroy(),delete a3.separator):(n3+=r3*e4,a3.separator=this.renderSeparator(n3,e4),s3&&l3(a3.separator,n3,e4),n3+=o3(a3.separator,e4)),t4[h3.level].updated=true):(u3=this.renderButton(h3,n3,e4),s3&&l3(u3,n3,e4),n3+=o3(u3,e4),g3||(c3=this.renderSeparator(n3,e4),s3&&l3(c3,n3,e4),n3+=o3(c3,e4)),t4[h3.level]={button:u3,separator:c3,updated:true}),u3&&u3.setState(g3?2:0)}}}return x2.defaultOptions=t3.options,x2})),i(e2,"Series/ColorMapComposition.js",[e2["Core/Series/SeriesRegistry.js"],e2["Core/Renderer/SVG/SVGElement.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2){var s2;let{column:{prototype:r2}}=t3.seriesTypes,{addEvent:o2,defined:l2}=i2;return function(t4){function i3(t5){let i4=this.series,s3=i4.chart.renderer;this.moveToTopOnHover&&this.graphic&&(i4.stateMarkerGraphic||(i4.stateMarkerGraphic=new e3(s3,"use").css({pointerEvents:"none"}).add(this.graphic.parentGroup)),(t5==null?void 0:t5.state)==="hover"?(this.graphic.attr({id:this.id}),i4.stateMarkerGraphic.attr({href:`${s3.url}#${this.id}`,visibility:"visible"})):i4.stateMarkerGraphic.attr({href:""}))}t4.pointMembers={dataLabelOnNull:true,moveToTopOnHover:true,isValid:function(){return null!==this.value&&this.value!==1/0&&this.value!==-1/0&&(void 0===this.value||!isNaN(this.value))}},t4.seriesMembers={colorKey:"value",axisTypes:["xAxis","yAxis","colorAxis"],parallelArrays:["x","y","value"],pointArrayMap:["value"],trackerGroups:["group","markerGroup","dataLabelsGroup"],colorAttribs:function(t5){let e4={};return l2(t5.color)&&(!t5.state||"normal"===t5.state)&&(e4[this.colorProp||"fill"]=t5.color),e4},pointAttribs:r2.pointAttribs},t4.compose=function(t5){return o2(t5.prototype.pointClass,"afterSetState",i3),t5}}(s2||(s2={})),s2})),i(e2,"Series/Treemap/TreemapAlgorithmGroup.js",[],(function(){return class{constructor(t3,e3,i2,s2){this.height=t3,this.width=e3,this.plot=s2,this.direction=i2,this.startDirection=i2,this.total=0,this.nW=0,this.lW=0,this.nH=0,this.lH=0,this.elArr=[],this.lP={total:0,lH:0,nH:0,lW:0,nW:0,nR:0,lR:0,aspectRatio:function(t4,e4){return Math.max(t4/e4,e4/t4)}}}addElement(t3){this.lP.total=this.elArr[this.elArr.length-1],this.total=this.total+t3,0===this.direction?(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(t3)}reset(){this.nW=0,this.lW=0,this.elArr=[],this.total=0}}})),i(e2,"Series/Treemap/TreemapNode.js",[],(function(){return class{constructor(){this.childrenTotal=0,this.visible=false}init(t3,e3,i2,s2,r2,o2,l2){return this.id=t3,this.i=e3,this.children=i2,this.height=s2,this.level=r2,this.series=o2,this.parent=l2,this}}})),i(e2,"Series/DrawPointUtilities.js",[],(function(){return{draw:function(t3,e3){let{animatableAttribs:i2,onComplete:s2,css:r2,renderer:o2}=e3,l2=t3.series&&t3.series.chart.hasRendered?void 0:t3.series&&t3.series.options.animation,n2=t3.graphic;if(e3.attribs={...e3.attribs,class:t3.getClassName()},t3.shouldDraw())n2||(n2="text"===e3.shapeType?o2.text():"image"===e3.shapeType?o2.image(e3.imageUrl||"").attr(e3.shapeArgs||{}):o2[e3.shapeType](e3.shapeArgs||{}),t3.graphic=n2,n2.add(e3.group)),r2&&n2.css(r2),n2.attr(e3.attribs).animate(i2,!e3.isNew&&l2,s2);else if(n2){let e4=()=>{t3.graphic=n2=n2&&n2.destroy(),"function"==typeof s2&&s2()};Object.keys(i2).length?n2.animate(i2,void 0,(()=>e4())):e4()}}}})),i(e2,"Series/Treemap/TreemapPoint.js",[e2["Series/DrawPointUtilities.js"],e2["Core/Series/SeriesRegistry.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2){let{pie:{prototype:{pointClass:s2}},scatter:{prototype:{pointClass:r2}}}=e3.seriesTypes,{extend:o2,isNumber:l2,pick:n2}=i2;class a2 extends r2{constructor(){super(...arguments),this.shapeType="rect"}draw(e4){t3.draw(this,e4)}getClassName(){let t4=this.series,e4=t4.options,i3=super.getClassName();return this.node.level<=t4.nodeMap[t4.rootNode].level&&this.node.children.length?i3+=" highcharts-above-level":this.node.isLeaf||n2(e4.interactByLeaf,!e4.allowTraversingTree)?this.node.isLeaf||(i3+=" highcharts-internal-node"):i3+=" highcharts-internal-node-interactive",i3}isValid(){return!!(this.id||l2(this.value))}setState(t4){super.setState.apply(this,arguments),this.graphic&&this.graphic.attr({zIndex:"hover"===t4?1:0})}shouldDraw(){return l2(this.plotY)&&null!==this.y}}return o2(a2.prototype,{setVisible:s2.prototype.setVisible}),a2})),i(e2,"Series/Treemap/TreemapSeriesDefaults.js",[e2["Core/Series/SeriesRegistry.js"],e2["Core/Utilities.js"]],(function(t3,e3){let{isString:i2}=e3;return{allowTraversingTree:false,animationLimit:250,borderRadius:0,showInLegend:false,marker:void 0,colorByPoint:false,dataLabels:{defer:false,enabled:true,formatter:function(){let t4=this&&this.point?this.point:{};return i2(t4.name)?t4.name:""},inside:true,verticalAlign:"middle"},tooltip:{headerFormat:"",pointFormat:"<b>{point.name}</b>: {point.value}<br/>"},ignoreHiddenPoint:true,layoutAlgorithm:"sliceAndDice",layoutStartingDirection:"vertical",alternateStartingDirection:false,levelIsConstant:true,traverseUpButton:{position:{align:"right",x:-10,y:10}},borderColor:"#e6e6e6",borderWidth:1,colorKey:"colorValue",opacity:.15,states:{hover:{borderColor:"#999999",brightness:t3.seriesTypes.heatmap?0:.1,halo:false,opacity:.75,shadow:false}},legendSymbol:"rectangle",traverseToLeaf:false}})),i(e2,"Series/Treemap/TreemapUtilities.js",[],(function(){var t3;return(t3||(t3={})).recursive=function t4(e3,i2,s2){let r2=i2.call(s2||this,e3);false!==r2&&t4(r2,i2,s2)},t3})),i(e2,"Series/TreeUtilities.js",[e2["Core/Color/Color.js"],e2["Core/Utilities.js"]],(function(t3,e3){let{extend:i2,isArray:s2,isNumber:r2,isObject:o2,merge:l2,pick:n2,relativeLength:a2}=e3;return{getColor:function(e4,i3){let s3,r3,o3,l3,a3,h2;let d2=i3.index,p2=i3.mapOptionsToLevel,u2=i3.parentColor,c2=i3.parentColorIndex,g2=i3.series,m2=i3.colors,v2=i3.siblings,b2=g2.points,f2=g2.chart.options.chart;return e4&&(s3=b2[e4.i],r3=p2[e4.level]||{},s3&&r3.colorByPoint&&(l3=s3.index%(m2?m2.length:f2.colorCount),o3=m2&&m2[l3]),g2.chart.styledMode||(a3=n2(s3&&s3.options.color,r3&&r3.color,o3,u2&&(e5=>{let i4=r3&&r3.colorVariation;return i4&&"brightness"===i4.key&&d2&&v2?t3.parse(e5).brighten(i4.to*(d2/v2)).get():e5})(u2),g2.color)),h2=n2(s3&&s3.options.colorIndex,r3&&r3.colorIndex,l3,c2,i3.colorIndex)),{color:a3,colorIndex:h2}},getLevelOptions:function(t4){let e4,i3,a3,h2,d2,p2;let u2={};if(o2(t4))for(h2=r2(t4.from)?t4.from:1,p2=t4.levels,i3={},e4=o2(t4.defaults)?t4.defaults:{},s2(p2)&&(i3=p2.reduce(((t5,i4)=>{let s3,a4,d3;return o2(i4)&&r2(i4.level)&&(a4=n2((d3=l2({},i4)).levelIsConstant,e4.levelIsConstant),delete d3.levelIsConstant,delete d3.level,o2(t5[s3=i4.level+(a4?0:h2-1)])?l2(true,t5[s3],d3):t5[s3]=d3),t5}),{})),d2=r2(t4.to)?t4.to:1,a3=0;a3<=d2;a3++)u2[a3]=l2({},e4,o2(i3[a3])?i3[a3]:{});return u2},getNodeWidth:function(t4,e4){let{chart:i3,options:s3}=t4,{nodeDistance:r3=0,nodeWidth:o3=0}=s3,{plotSizeX:l3=1}=i3;if("auto"===o3){if("string"==typeof r3&&/%$/.test(r3))return l3/(e4+parseFloat(r3)/100*(e4-1));let t5=Number(r3);return(l3+t5)/(e4||1)-t5}return a2(o3,l3)},setTreeValues:function t4(e4,s3){let r3=s3.before,o3=s3.idRoot,l3=s3.mapIdToNode[o3],a3=false!==s3.levelIsConstant,h2=s3.points[e4.i],d2=h2&&h2.options||{},p2=[],u2=0;e4.levelDynamic=e4.level-(a3?0:l3.level),e4.name=n2(h2&&h2.name,""),e4.visible=o3===e4.id||true===s3.visible,"function"==typeof r3&&(e4=r3(e4,s3)),e4.children.forEach(((r4,o4)=>{let l4=i2({},s3);i2(l4,{index:o4,siblings:e4.children.length,visible:e4.visible}),r4=t4(r4,l4),p2.push(r4),r4.visible&&(u2+=r4.val)}));let c2=n2(d2.value,u2);return e4.visible=c2>=0&&(u2>0||e4.visible),e4.children=p2,e4.childrenTotal=u2,e4.isLeaf=e4.visible&&!u2,e4.val=c2,e4},updateRootId:function(t4){let e4,i3;return o2(t4)&&(i3=o2(t4.options)?t4.options:{},e4=n2(t4.rootNode,i3.rootId,""),o2(t4.userOptions)&&(t4.userOptions.rootId=e4),t4.rootNode=e4),e4}}})),i(e2,"Series/Treemap/TreemapSeries.js",[e2["Extensions/Breadcrumbs/Breadcrumbs.js"],e2["Core/Color/Color.js"],e2["Series/ColorMapComposition.js"],e2["Core/Globals.js"],e2["Core/Series/SeriesRegistry.js"],e2["Series/Treemap/TreemapAlgorithmGroup.js"],e2["Series/Treemap/TreemapNode.js"],e2["Series/Treemap/TreemapPoint.js"],e2["Series/Treemap/TreemapSeriesDefaults.js"],e2["Series/Treemap/TreemapUtilities.js"],e2["Series/TreeUtilities.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2,s2,r2,o2,l2,n2,a2,h2,d2,p2){let{parse:u2}=e3,{composed:c2,noop:g2}=s2,{column:m2,scatter:v2}=r2.seriesTypes,{getColor:b2,getLevelOptions:f2,updateRootId:y2}=d2,{addEvent:x2,correctFloat:T2,crisp:w2,defined:B2,error:S2,extend:C2,fireEvent:L2,isArray:P2,isObject:A2,isString:O2,merge:R2,pick:D2,pushUnique:j,stableSort:M2}=p2,N2=false;function I2(){let t4;let e4=this.xAxis,i3=this.yAxis;e4&&i3&&(this.is("treemap")?(t4={endOnTick:false,gridLineWidth:0,lineWidth:0,min:0,minPadding:0,max:100,maxPadding:0,startOnTick:false,title:void 0,tickPositions:[]},C2(i3.options,t4),C2(e4.options,t4),N2=true):N2&&(i3.setOptions(i3.userOptions),e4.setOptions(e4.userOptions),N2=false))}class U2 extends v2{static compose(t4){j(c2,"TreemapSeries")&&x2(t4,"afterBindAxes",I2)}algorithmCalcPoints(t4,e4,i3,s3){let r3=i3.plot,o3=i3.elArr.length-1,l3,n3,a3,h3,d3=i3.lW,p3=i3.lH,u3,c3=0;for(let t5 of(e4?(d3=i3.nW,p3=i3.nH):u3=i3.elArr[o3],i3.elArr))(e4||c3<o3)&&(0===i3.direction?(l3=r3.x,n3=r3.y,h3=t5/(a3=d3)):(l3=r3.x,n3=r3.y,a3=t5/(h3=p3)),s3.push({x:l3,y:n3,width:a3,height:T2(h3)}),0===i3.direction?r3.y=r3.y+h3:r3.x=r3.x+a3),c3+=1;i3.reset(),0===i3.direction?i3.width=i3.width-d3:i3.height=i3.height-p3,r3.y=r3.parent.y+(r3.parent.height-i3.height),r3.x=r3.parent.x+(r3.parent.width-i3.width),t4&&(i3.direction=1-i3.direction),e4||i3.addElement(u3)}algorithmFill(t4,e4,i3){let s3=[],r3,o3=e4.direction,l3=e4.x,n3=e4.y,a3=e4.width,h3=e4.height,d3,p3,u3,c3;for(let g3 of i3)r3=e4.width*e4.height*(g3.val/e4.val),d3=l3,p3=n3,0===o3?(a3-=u3=r3/(c3=h3),l3+=u3):(h3-=c3=r3/(u3=a3),n3+=c3),s3.push({x:d3,y:p3,width:u3,height:c3}),t4&&(o3=1-o3);return s3}algorithmLowAspectRatio(t4,e4,i3){let s3=[],r3={x:e4.x,y:e4.y,parent:e4},l3=e4.direction,n3=i3.length-1,a3=new o2(e4.height,e4.width,l3,r3),h3,d3=0;for(let o3 of i3)h3=e4.width*e4.height*(o3.val/e4.val),a3.addElement(h3),a3.lP.nR>a3.lP.lR&&this.algorithmCalcPoints(t4,false,a3,s3,r3),d3===n3&&this.algorithmCalcPoints(t4,true,a3,s3,r3),++d3;return s3}alignDataLabel(t4,e4,i3){let s3=i3.style;s3&&!B2(s3.textOverflow)&&e4.text&&e4.getBBox().width>(e4.text.textWidth||0)&&e4.css({textOverflow:"ellipsis",width:s3.width+="px"}),m2.prototype.alignDataLabel.apply(this,arguments),t4.dataLabel&&t4.dataLabel.attr({zIndex:(t4.node.zIndex||0)+1})}calculateChildrenAreas(t4,e4){let i3=this.options,s3=this.mapOptionsToLevel[t4.level+1],r3=D2(this[s3&&s3.layoutAlgorithm]&&s3.layoutAlgorithm,i3.layoutAlgorithm),o3=i3.alternateStartingDirection,l3=t4.children.filter((t5=>!t5.ignore)),n3=[];s3&&s3.layoutStartingDirection&&(e4.direction="vertical"===s3.layoutStartingDirection?0:1),n3=this[r3](e4,l3);let a3=-1;for(let t5 of l3){let i4=n3[++a3];t5.values=R2(i4,{val:t5.childrenTotal,direction:o3?1-e4.direction:e4.direction}),t5.pointValues=R2(i4,{x:i4.x/this.axisRatio,y:100-i4.y-i4.height,width:i4.width/this.axisRatio}),t5.children.length&&this.calculateChildrenAreas(t5,t5.values)}}createList(t4){let e4=this.chart,i3=e4.breadcrumbs,s3=[];if(i3){let i4=0;s3.push({level:i4,levelOptions:e4.series[0]});let r3=t4.target.nodeMap[t4.newRootId],o3=[];for(;r3.parent||""===r3.parent;)o3.push(r3),r3=t4.target.nodeMap[r3.parent];for(let t5 of o3.reverse())s3.push({level:++i4,levelOptions:t5});s3.length<=1&&(s3.length=0)}return s3}drawDataLabels(){let t4,e4;let i3=this.mapOptionsToLevel;for(let s3 of this.points.filter((function(t5){return t5.node.visible})))e4=i3[s3.node.level],t4={style:{}},s3.node.isLeaf||(t4.enabled=false),e4&&e4.dataLabels&&(t4=R2(t4,e4.dataLabels),this.hasDataLabels=()=>true),s3.shapeArgs&&(t4.style.width=s3.shapeArgs.width,s3.dataLabel&&s3.dataLabel.css({width:s3.shapeArgs.width+"px"})),s3.dlOptions=R2(t4,s3.options.dataLabels);super.drawDataLabels()}drawPoints(t4=this.points){let e4=this.chart,i3=e4.renderer,s3=e4.styledMode,r3=this.options,o3=s3?{}:r3.shadow,l3=r3.borderRadius,n3=e4.pointCount<r3.animationLimit,a3=r3.allowTraversingTree;for(let e5 of t4){let t5=e5.node.levelDynamic,h3={},d3={},p3={},u3="level-group-"+e5.node.level,c3=!!e5.graphic,g3=n3&&c3,m3=e5.shapeArgs;e5.shouldDraw()&&(e5.isInside=true,l3&&(d3.r=l3),R2(true,g3?h3:d3,c3?m3:{},s3?{}:this.pointAttribs(e5,e5.selected?"select":void 0)),this.colorAttribs&&s3&&C2(p3,this.colorAttribs(e5)),this[u3]||(this[u3]=i3.g(u3).attr({zIndex:1e3-(t5||0)}).add(this.group),this[u3].survive=true)),e5.draw({animatableAttribs:h3,attribs:d3,css:p3,group:this[u3],imageUrl:e5.imageUrl,renderer:i3,shadow:o3,shapeArgs:m3,shapeType:e5.shapeType}),a3&&e5.graphic&&(e5.drillId=r3.interactByLeaf?this.drillToByLeaf(e5):this.drillToByGroup(e5))}}drillToByGroup(t4){let e4=false;return t4.node.isLeaf||t4.node.level-this.nodeMap[this.rootNode].level!=1||(e4=t4.id),e4}drillToByLeaf(t4){let{traverseToLeaf:e4}=t4.series.options,i3=false,s3;if(t4.node.parent!==this.rootNode&&t4.node.isLeaf){if(e4)i3=t4.id;else for(s3=t4.node;!i3;)void 0!==s3.parent&&(s3=this.nodeMap[s3.parent]),s3.parent===this.rootNode&&(i3=s3.id)}return i3}drillToNode(t4,e4){S2(32,false,void 0,{"treemap.drillToNode":"use treemap.setRootNode"}),this.setRootNode(t4,e4)}drillUp(){let t4=this.nodeMap[this.rootNode];t4&&O2(t4.parent)&&this.setRootNode(t4.parent,true,{trigger:"traverseUpButton"})}getExtremes(){let{dataMin:t4,dataMax:e4}=super.getExtremes(this.colorValueData);return this.valueMin=t4,this.valueMax=e4,super.getExtremes()}getListOfParents(t4,e4){let i3=P2(t4)?t4:[],s3=P2(e4)?e4:[],r3=i3.reduce((function(t5,e5,i4){let s4=D2(e5.parent,"");return void 0===t5[s4]&&(t5[s4]=[]),t5[s4].push(i4),t5}),{"":[]});for(let t5 of Object.keys(r3)){let e5=r3[t5];if(""!==t5&&-1===s3.indexOf(t5)){for(let t6 of e5)r3[""].push(t6);delete r3[t5]}}return r3}getTree(){let t4=this.data.map((function(t5){return t5.id})),e4=this.getListOfParents(this.data,t4);return this.nodeMap={},this.nodeList=[],this.buildTree("",-1,0,e4)}buildTree(t4,e4,i3,s3,r3){let o3=[],l3=this.points[e4],n3=0,a3;for(let e5 of s3[t4]||[])n3=Math.max((a3=this.buildTree(this.points[e5].id,e5,i3+1,s3,t4)).height+1,n3),o3.push(a3);let h3=(new this.NodeClass).init(t4,e4,o3,n3,i3,this,r3);for(let t5 of o3)t5.parentNode=h3;return this.nodeMap[h3.id]=h3,this.nodeList.push(h3),l3&&(l3.node=h3,h3.point=l3),h3}hasData(){return!!this.processedXData.length}init(e4,i3){let s3=this,r3=R2(i3.drillUpButton,i3.breadcrumbs),o3=x2(s3,"setOptions",(t4=>{let e5=t4.userOptions;B2(e5.allowDrillToNode)&&!B2(e5.allowTraversingTree)&&(e5.allowTraversingTree=e5.allowDrillToNode,delete e5.allowDrillToNode),B2(e5.drillUpButton)&&!B2(e5.traverseUpButton)&&(e5.traverseUpButton=e5.drillUpButton,delete e5.drillUpButton)}));super.init(e4,i3),delete s3.opacity,s3.eventsToUnbind.push(o3),s3.options.allowTraversingTree&&(s3.eventsToUnbind.push(x2(s3,"click",s3.onClickDrillToNode)),s3.eventsToUnbind.push(x2(s3,"setRootNode",(function(t4){let e5=s3.chart;e5.breadcrumbs&&e5.breadcrumbs.updateProperties(s3.createList(t4))}))),s3.eventsToUnbind.push(x2(s3,"update",(function(t4,e5){let i4=this.chart.breadcrumbs;i4&&t4.options.breadcrumbs&&i4.update(t4.options.breadcrumbs)}))),s3.eventsToUnbind.push(x2(s3,"destroy",(function(t4){let e5=this.chart;e5.breadcrumbs&&!t4.keepEventsForUpdate&&(e5.breadcrumbs.destroy(),e5.breadcrumbs=void 0)})))),e4.breadcrumbs||(e4.breadcrumbs=new t3(e4,r3)),s3.eventsToUnbind.push(x2(e4.breadcrumbs,"up",(function(t4){let e5=this.level-t4.newLevel;for(let t5=0;t5<e5;t5++)s3.drillUp()})))}onClickDrillToNode(t4){let e4=t4.point,i3=e4&&e4.drillId;O2(i3)&&(e4.setState(""),this.setRootNode(i3,true,{trigger:"click"}))}pointAttribs(t4,e4){let i3;let s3=A2(this.mapOptionsToLevel)?this.mapOptionsToLevel:{},r3=t4&&s3[t4.node.level]||{},o3=this.options,l3=e4&&o3.states&&o3.states[e4]||{},n3=t4&&t4.getClassName()||"",a3={stroke:t4&&t4.borderColor||r3.borderColor||l3.borderColor||o3.borderColor,"stroke-width":D2(t4&&t4.borderWidth,r3.borderWidth,l3.borderWidth,o3.borderWidth),dashstyle:t4&&t4.borderDashStyle||r3.borderDashStyle||l3.borderDashStyle||o3.borderDashStyle,fill:t4&&t4.color||this.color};return-1!==n3.indexOf("highcharts-above-level")?(a3.fill="none",a3["stroke-width"]=0):-1!==n3.indexOf("highcharts-internal-node-interactive")?(i3=D2(l3.opacity,o3.opacity),a3.fill=u2(a3.fill).setOpacity(i3).get(),a3.cursor="pointer"):-1!==n3.indexOf("highcharts-internal-node")?a3.fill="none":e4&&(a3.fill=u2(a3.fill).brighten(l3.brightness).get()),a3}setColorRecursive(t4,e4,i3,s3,r3){let o3=this&&this.chart,l3=o3&&o3.options&&o3.options.colors;if(t4){let o4=b2(t4,{colors:l3,index:s3,mapOptionsToLevel:this.mapOptionsToLevel,parentColor:e4,parentColorIndex:i3,series:this,siblings:r3}),n3=this.points[t4.i];n3&&(n3.color=o4.color,n3.colorIndex=o4.colorIndex);let a3=-1;for(let e5 of t4.children||[])this.setColorRecursive(e5,o4.color,o4.colorIndex,++a3,t4.children.length)}}setPointValues(){let t4=this,{points:e4,xAxis:i3,yAxis:s3}=t4,r3=t4.chart.styledMode,o3=e5=>r3?0:t4.pointAttribs(e5)["stroke-width"]||0;for(let t5 of e4){let{pointValues:e5,visible:r4}=t5.node;if(e5&&r4){let{height:r5,width:l3,x:n3,y:a3}=e5,h3=o3(t5),d3=w2(i3.toPixels(n3,true),h3,true),p3=w2(i3.toPixels(n3+l3,true),h3,true),u3=w2(s3.toPixels(a3,true),h3,true),c3=w2(s3.toPixels(a3+r5,true),h3,true),g3={x:Math.min(d3,p3),y:Math.min(u3,c3),width:Math.abs(p3-d3),height:Math.abs(c3-u3)};t5.plotX=g3.x+g3.width/2,t5.plotY=g3.y+g3.height/2,t5.shapeArgs=g3}else delete t5.plotX,delete t5.plotY}}setRootNode(t4,e4,i3){L2(this,"setRootNode",C2({newRootId:t4,previousRootId:this.rootNode,redraw:D2(e4,true),series:this},i3),(function(t5){let e5=t5.series;e5.idPreviousRoot=t5.previousRootId,e5.rootNode=t5.newRootId,e5.isDirty=true,t5.redraw&&e5.chart.redraw()}))}setState(t4){this.options.inactiveOtherPoints=true,super.setState(t4,false),this.options.inactiveOtherPoints=false}setTreeValues(t4){let e4=this.options,i3=this.rootNode,s3=this.nodeMap[i3],r3="boolean"!=typeof e4.levelIsConstant||e4.levelIsConstant,o3=[],l3=this.points[t4.i],n3=0;for(let e5 of t4.children)e5=this.setTreeValues(e5),o3.push(e5),e5.ignore||(n3+=e5.val);M2(o3,((t5,e5)=>(t5.sortIndex||0)-(e5.sortIndex||0)));let a3=D2(l3&&l3.options.value,n3);return l3&&(l3.value=a3),C2(t4,{children:o3,childrenTotal:n3,ignore:!(D2(l3&&l3.visible,true)&&a3>0),isLeaf:t4.visible&&!n3,levelDynamic:t4.level-(r3?0:s3.level),name:D2(l3&&l3.name,""),sortIndex:D2(l3&&l3.sortIndex,-a3),val:a3}),t4}sliceAndDice(t4,e4){return this.algorithmFill(true,t4,e4)}squarified(t4,e4){return this.algorithmLowAspectRatio(true,t4,e4)}strip(t4,e4){return this.algorithmLowAspectRatio(false,t4,e4)}stripes(t4,e4){return this.algorithmFill(false,t4,e4)}translate(){let t4=this,e4=t4.options,i3=y2(t4),s3,r3,o3,l3;super.translate();let n3=t4.tree=t4.getTree();s3=t4.nodeMap[i3],""===i3||s3||(t4.setRootNode("",false),i3=t4.rootNode,s3=t4.nodeMap[i3]),t4.mapOptionsToLevel=f2({from:s3.level+1,levels:e4.levels,to:n3.height,defaults:{levelIsConstant:t4.options.levelIsConstant,colorByPoint:e4.colorByPoint}}),h2.recursive(t4.nodeMap[t4.rootNode],(e5=>{let i4=e5.parent,s4=false;return e5.visible=true,(i4||""===i4)&&(s4=t4.nodeMap[i4]),s4})),h2.recursive(t4.nodeMap[t4.rootNode].children,(t5=>{let e5=false;for(let i4 of t5)i4.visible=true,i4.children.length&&(e5=(e5||[]).concat(i4.children));return e5})),t4.setTreeValues(n3),t4.axisRatio=t4.xAxis.len/t4.yAxis.len,t4.nodeMap[""].pointValues=r3={x:0,y:0,width:100,height:100},t4.nodeMap[""].values=o3=R2(r3,{width:r3.width*t4.axisRatio,direction:"vertical"===e4.layoutStartingDirection?0:1,val:n3.val}),t4.calculateChildrenAreas(n3,o3),t4.colorAxis||e4.colorByPoint||t4.setColorRecursive(t4.tree),e4.allowTraversingTree&&(l3=s3.pointValues,t4.xAxis.setExtremes(l3.x,l3.x+l3.width,false),t4.yAxis.setExtremes(l3.y,l3.y+l3.height,false),t4.xAxis.setScale(),t4.yAxis.setScale()),t4.setPointValues()}}return U2.defaultOptions=R2(v2.defaultOptions,a2),C2(U2.prototype,{buildKDTree:g2,colorAttribs:i2.seriesMembers.colorAttribs,colorKey:"colorValue",directTouch:true,getExtremesFromAll:true,getSymbol:g2,optionalAxis:"colorAxis",parallelArrays:["x","y","value","colorValue"],pointArrayMap:["value"],pointClass:n2,NodeClass:l2,trackerGroups:["group","dataLabelsGroup"],utils:h2}),i2.compose(U2),r2.registerSeriesType("treemap",U2),U2})),i(e2,"masters/modules/treemap.src.js",[e2["Core/Globals.js"],e2["Extensions/Breadcrumbs/Breadcrumbs.js"],e2["Series/Treemap/TreemapSeries.js"]],(function(t3,e3,i2){return t3.Breadcrumbs=t3.Breadcrumbs||e3,t3.Breadcrumbs.compose(t3.Chart,t3.defaultOptions),i2.compose(t3.Series),t3}))}))})(treemap$1);var treemapExports=treemap$1.exports;const treemap=getDefaultExportFromCjs(treemapExports);const TreemapChart=({aria:aria={},data:data={},chartData:chartData,colors:colors2,customOptions:customOptions={},dark:dark=false,drillable:drillable=false,grouped:grouped=false,height:height,htmlOptions:htmlOptions={},id:id2,title:title="",tooltipHtml:tooltipHtml='<span style="font-weight: bold; color:{point.color};">●</span>{point.name}: <b>{point.value}</b>',type:type="treemap",...props})=>{const ariaProps=buildAriaProps(aria);const dataProps=buildDataProps(data);const htmlProps=buildHtmlProps(htmlOptions);const setupTheme=()=>{dark?Highcharts$1.setOptions(highchartsDarkTheme):Highcharts$1.setOptions(highchartsTheme)};treemap(Highcharts$1);setupTheme();const staticOptions={title:{text:title},chart:{height:height,type:type},credits:false,series:[{data:chartData}],plotOptions:{treemap:{tooltip:{pointFormat:tooltipHtml},allowTraversingTree:drillable,colorByPoint:!grouped,colors:colors2!==void 0&&colors2.length>0?mapColors(colors2):highchartsTheme.colors}}};const[options2,setOptions]=reactExports.useState({});reactExports.useEffect((()=>{setOptions(merge(staticOptions,customOptions))}),[chartData]);return jsxRuntimeExports.jsx(HighchartsReact,{containerProps:{className:classnames(globalProps(props),"pb_treemap_chart"),id:id2,...ariaProps,...dataProps,...htmlProps},highcharts:Highcharts$1,options:options2})};function _typeof(o2){"@babel/helpers - typeof";return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o3){return typeof o3}:function(o3){return o3&&"function"==typeof Symbol&&o3.constructor===Symbol&&o3!==Symbol.prototype?"symbol":typeof o3},_typeof(o2)}function toPrimitive(t2,r2){if("object"!=_typeof(t2)||!t2)return t2;var e2=t2[Symbol.toPrimitive];if(void 0!==e2){var i=e2.call(t2,r2||"default");if("object"!=_typeof(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r2?String:Number)(t2)}function toPropertyKey(t2){var i=toPrimitive(t2,"string");return"symbol"==_typeof(i)?i:String(i)}function _defineProperty(obj,key,value){key=toPropertyKey(key);if(key in obj){Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true})}else{obj[key]=value}return obj}function ownKeys(e2,r2){var t2=Object.keys(e2);if(Object.getOwnPropertySymbols){var o2=Object.getOwnPropertySymbols(e2);r2&&(o2=o2.filter((function(r3){return Object.getOwnPropertyDescriptor(e2,r3).enumerable}))),t2.push.apply(t2,o2)}return t2}function _objectSpread2(e2){for(var r2=1;r2<arguments.length;r2++){var t2=null!=arguments[r2]?arguments[r2]:{};r2%2?ownKeys(Object(t2),true).forEach((function(r3){_defineProperty(e2,r3,t2[r3])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e2,Object.getOwnPropertyDescriptors(t2)):ownKeys(Object(t2)).forEach((function(r3){Object.defineProperty(e2,r3,Object.getOwnPropertyDescriptor(t2,r3))}))}return e2}function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}function _iterableToArrayLimit(r2,l2){var t2=null==r2?null:"undefined"!=typeof Symbol&&r2[Symbol.iterator]||r2["@@iterator"];if(null!=t2){var e2,n2,i,u2,a2=[],f2=true,o2=false;try{if(i=(t2=t2.call(r2)).next,0===l2){if(Object(t2)!==t2)return;f2=false}else for(;!(f2=(e2=i.call(t2)).done)&&(a2.push(e2.value),a2.length!==l2);f2=true);}catch(r3){o2=true,n2=r3}finally{try{if(!f2&&null!=t2["return"]&&(u2=t2["return"](),Object(u2)!==u2))return}finally{if(o2)throw n2}}return a2}}function _arrayLikeToArray(arr,len){if(len==null||len>arr.length)len=arr.length;for(var i=0,arr2=new Array(len);i<len;i++)arr2[i]=arr[i];return arr2}function _unsupportedIterableToArray(o2,minLen){if(!o2)return;if(typeof o2==="string")return _arrayLikeToArray(o2,minLen);var n2=Object.prototype.toString.call(o2).slice(8,-1);if(n2==="Object"&&o2.constructor)n2=o2.constructor.name;if(n2==="Map"||n2==="Set")return Array.from(o2);if(n2==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n2))return _arrayLikeToArray(o2,minLen)}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _slicedToArray(arr,i){return _arrayWithHoles(arr)||_iterableToArrayLimit(arr,i)||_unsupportedIterableToArray(arr,i)||_nonIterableRest()}function _objectWithoutPropertiesLoose(source,excluded){if(source==null)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}function _objectWithoutProperties(source,excluded){if(source==null)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}var _excluded$6=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function useStateManager(_ref3){var _ref$defaultInputValu=_ref3.defaultInputValue,defaultInputValue=_ref$defaultInputValu===void 0?"":_ref$defaultInputValu,_ref$defaultMenuIsOpe=_ref3.defaultMenuIsOpen,defaultMenuIsOpen=_ref$defaultMenuIsOpe===void 0?false:_ref$defaultMenuIsOpe,_ref$defaultValue=_ref3.defaultValue,defaultValue=_ref$defaultValue===void 0?null:_ref$defaultValue,propsInputValue=_ref3.inputValue,propsMenuIsOpen=_ref3.menuIsOpen,propsOnChange=_ref3.onChange,propsOnInputChange=_ref3.onInputChange,propsOnMenuClose=_ref3.onMenuClose,propsOnMenuOpen=_ref3.onMenuOpen,propsValue=_ref3.value,restSelectProps=_objectWithoutProperties(_ref3,_excluded$6);var _useState=reactExports.useState(propsInputValue!==void 0?propsInputValue:defaultInputValue),_useState2=_slicedToArray(_useState,2),stateInputValue=_useState2[0],setStateInputValue=_useState2[1];var _useState3=reactExports.useState(propsMenuIsOpen!==void 0?propsMenuIsOpen:defaultMenuIsOpen),_useState4=_slicedToArray(_useState3,2),stateMenuIsOpen=_useState4[0],setStateMenuIsOpen=_useState4[1];var _useState5=reactExports.useState(propsValue!==void 0?propsValue:defaultValue),_useState6=_slicedToArray(_useState5,2),stateValue=_useState6[0],setStateValue=_useState6[1];var onChange2=reactExports.useCallback((function(value2,actionMeta){if(typeof propsOnChange==="function"){propsOnChange(value2,actionMeta)}setStateValue(value2)}),[propsOnChange]);var onInputChange=reactExports.useCallback((function(value2,actionMeta){var newValue;if(typeof propsOnInputChange==="function"){newValue=propsOnInputChange(value2,actionMeta)}setStateInputValue(newValue!==void 0?newValue:value2)}),[propsOnInputChange]);var onMenuOpen=reactExports.useCallback((function(){if(typeof propsOnMenuOpen==="function"){propsOnMenuOpen()}setStateMenuIsOpen(true)}),[propsOnMenuOpen]);var onMenuClose=reactExports.useCallback((function(){if(typeof propsOnMenuClose==="function"){propsOnMenuClose()}setStateMenuIsOpen(false)}),[propsOnMenuClose]);var inputValue=propsInputValue!==void 0?propsInputValue:stateInputValue;var menuIsOpen=propsMenuIsOpen!==void 0?propsMenuIsOpen:stateMenuIsOpen;var value=propsValue!==void 0?propsValue:stateValue;return _objectSpread2(_objectSpread2({},restSelectProps),{},{inputValue:inputValue,menuIsOpen:menuIsOpen,onChange:onChange2,onInputChange:onInputChange,onMenuClose:onMenuClose,onMenuOpen:onMenuOpen,value:value})}function _extends(){_extends=Object.assign?Object.assign.bind():function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source){if(Object.prototype.hasOwnProperty.call(source,key)){target[key]=source[key]}}}return target};return _extends.apply(this,arguments)}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function")}}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;if("value"in descriptor)descriptor.writable=true;Object.defineProperty(target,toPropertyKey(descriptor.key),descriptor)}}function _createClass(Constructor,protoProps,staticProps){if(protoProps)_defineProperties(Constructor.prototype,protoProps);if(staticProps)_defineProperties(Constructor,staticProps);Object.defineProperty(Constructor,"prototype",{writable:false});return Constructor}function _setPrototypeOf(o2,p2){_setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function _setPrototypeOf2(o3,p3){o3.__proto__=p3;return o3};return _setPrototypeOf(o2,p2)}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function")}subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});Object.defineProperty(subClass,"prototype",{writable:false});if(superClass)_setPrototypeOf(subClass,superClass)}function _getPrototypeOf(o2){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function _getPrototypeOf2(o3){return o3.__proto__||Object.getPrototypeOf(o3)};return _getPrototypeOf(o2)}function _isNativeReflectConstruct(){try{var t2=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t3){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct2(){return!!t2})()}function _assertThisInitialized(self2){if(self2===void 0){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return self2}function _possibleConstructorReturn(self2,call){if(call&&(_typeof(call)==="object"||typeof call==="function")){return call}else if(call!==void 0){throw new TypeError("Derived constructors may only return object or undefined")}return _assertThisInitialized(self2)}function _createSuper(Derived){var hasNativeReflectConstruct=_isNativeReflectConstruct();return function _createSuperInternal(){var Super=_getPrototypeOf(Derived),result;if(hasNativeReflectConstruct){var NewTarget=_getPrototypeOf(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else{result=Super.apply(this,arguments)}return _possibleConstructorReturn(this,result)}}function _arrayWithoutHoles(arr){if(Array.isArray(arr))return _arrayLikeToArray(arr)}function _iterableToArray(iter){if(typeof Symbol!=="undefined"&&iter[Symbol.iterator]!=null||iter["@@iterator"]!=null)return Array.from(iter)}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _toConsumableArray(arr){return _arrayWithoutHoles(arr)||_iterableToArray(arr)||_unsupportedIterableToArray(arr)||_nonIterableSpread()}function sheetForTag(tag){if(tag.sheet){return tag.sheet}for(var i=0;i<document.styleSheets.length;i++){if(document.styleSheets[i].ownerNode===tag){return document.styleSheets[i]}}}function createStyleElement(options2){var tag=document.createElement("style");tag.setAttribute("data-emotion",options2.key);if(options2.nonce!==void 0){tag.setAttribute("nonce",options2.nonce)}tag.appendChild(document.createTextNode(""));tag.setAttribute("data-s","");return tag}var StyleSheet=function(){function StyleSheet2(options2){var _this=this;this._insertTag=function(tag){var before2;if(_this.tags.length===0){if(_this.insertionPoint){before2=_this.insertionPoint.nextSibling}else if(_this.prepend){before2=_this.container.firstChild}else{before2=_this.before}}else{before2=_this.tags[_this.tags.length-1].nextSibling}_this.container.insertBefore(tag,before2);_this.tags.push(tag)};this.isSpeedy=options2.speedy===void 0?true:options2.speedy;this.tags=[];this.ctr=0;this.nonce=options2.nonce;this.key=options2.key;this.container=options2.container;this.prepend=options2.prepend;this.insertionPoint=options2.insertionPoint;this.before=null}var _proto=StyleSheet2.prototype;_proto.hydrate=function hydrate(nodes){nodes.forEach(this._insertTag)};_proto.insert=function insert(rule){if(this.ctr%(this.isSpeedy?65e3:1)===0){this._insertTag(createStyleElement(this))}var tag=this.tags[this.tags.length-1];if(this.isSpeedy){var sheet=sheetForTag(tag);try{sheet.insertRule(rule,sheet.cssRules.length)}catch(e2){}}else{tag.appendChild(document.createTextNode(rule))}this.ctr++};_proto.flush=function flush(){this.tags.forEach((function(tag){return tag.parentNode&&tag.parentNode.removeChild(tag)}));this.tags=[];this.ctr=0};return StyleSheet2}();var MS="-ms-";var MOZ="-moz-";var WEBKIT="-webkit-";var COMMENT="comm";var RULESET="rule";var DECLARATION="decl";var IMPORT="@import";var KEYFRAMES="@keyframes";var LAYER="@layer";var abs=Math.abs;var from=String.fromCharCode;var assign=Object.assign;function hash(value,length2){return charat(value,0)^45?(((length2<<2^charat(value,0))<<2^charat(value,1))<<2^charat(value,2))<<2^charat(value,3):0}function trim(value){return value.trim()}function match(value,pattern){return(value=pattern.exec(value))?value[0]:value}function replace(value,pattern,replacement){return value.replace(pattern,replacement)}function indexof(value,search){return value.indexOf(search)}function charat(value,index2){return value.charCodeAt(index2)|0}function substr(value,begin,end){return value.slice(begin,end)}function strlen(value){return value.length}function sizeof(value){return value.length}function append(value,array){return array.push(value),value}function combine(array,callback){return array.map(callback).join("")}var line=1;var column=1;var length=0;var position=0;var character=0;var characters="";function node(value,root,parent,type,props,children,length2){return{value:value,root:root,parent:parent,type:type,props:props,children:children,line:line,column:column,length:length2,return:""}}function copy(root,props){return assign(node("",null,null,"",null,null,0),root,{length:-root.length},props)}function char(){return character}function prev(){character=position>0?charat(characters,--position):0;if(column--,character===10)column=1,line--;return character}function next(){character=position<length?charat(characters,position++):0;if(column++,character===10)column=1,line++;return character}function peek(){return charat(characters,position)}function caret(){return position}function slice(begin,end){return substr(characters,begin,end)}function token(type){switch(type){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function alloc(value){return line=column=1,length=strlen(characters=value),position=0,[]}function dealloc(value){return characters="",value}function delimit(type){return trim(slice(position-1,delimiter(type===91?type+2:type===40?type+1:type)))}function whitespace(type){while(character=peek())if(character<33)next();else break;return token(type)>2||token(character)>3?"":" "}function escaping(index2,count2){while(--count2&&next())if(character<48||character>102||character>57&&character<65||character>70&&character<97)break;return slice(index2,caret()+(count2<6&&peek()==32&&next()==32))}function delimiter(type){while(next())switch(character){case type:return position;case 34:case 39:if(type!==34&&type!==39)delimiter(character);break;case 40:if(type===41)delimiter(type);break;case 92:next();break}return position}function commenter(type,index2){while(next())if(type+character===47+10)break;else if(type+character===42+42&&peek()===47)break;return"/*"+slice(index2,position-1)+"*"+from(type===47?type:next())}function identifier(index2){while(!token(peek()))next();return slice(index2,position)}function compile(value){return dealloc(parse("",null,null,null,[""],value=alloc(value),0,[0],value))}function parse(value,root,parent,rule,rules,rulesets,pseudo,points,declarations){var index2=0;var offset=0;var length2=pseudo;var atrule=0;var property=0;var previous=0;var variable=1;var scanning=1;var ampersand=1;var character2=0;var type="";var props=rules;var children=rulesets;var reference=rule;var characters2=type;while(scanning)switch(previous=character2,character2=next()){case 40:if(previous!=108&&charat(characters2,length2-1)==58){if(indexof(characters2+=replace(delimit(character2),"&","&\f"),"&\f")!=-1)ampersand=-1;break}case 34:case 39:case 91:characters2+=delimit(character2);break;case 9:case 10:case 13:case 32:characters2+=whitespace(previous);break;case 92:characters2+=escaping(caret()-1,7);continue;case 47:switch(peek()){case 42:case 47:append(comment(commenter(next(),caret()),root,parent),declarations);break;default:characters2+="/"}break;case 123*variable:points[index2++]=strlen(characters2)*ampersand;case 125*variable:case 59:case 0:switch(character2){case 0:case 125:scanning=0;case 59+offset:if(ampersand==-1)characters2=replace(characters2,/\f/g,"");if(property>0&&strlen(characters2)-length2)append(property>32?declaration(characters2+";",rule,parent,length2-1):declaration(replace(characters2," ","")+";",rule,parent,length2-2),declarations);break;case 59:characters2+=";";default:append(reference=ruleset(characters2,root,parent,index2,offset,rules,points,type,props=[],children=[],length2),rulesets);if(character2===123)if(offset===0)parse(characters2,root,reference,reference,props,rulesets,length2,points,children);else switch(atrule===99&&charat(characters2,3)===110?100:atrule){case 100:case 108:case 109:case 115:parse(value,reference,reference,rule&&append(ruleset(value,reference,reference,0,0,rules,points,type,rules,props=[],length2),children),rules,children,length2,points,rule?props:children);break;default:parse(characters2,reference,reference,reference,[""],children,0,points,children)}}index2=offset=property=0,variable=ampersand=1,type=characters2="",length2=pseudo;break;case 58:length2=1+strlen(characters2),property=previous;default:if(variable<1){if(character2==123)--variable;else if(character2==125&&variable++==0&&prev()==125)continue}switch(characters2+=from(character2),character2*variable){case 38:ampersand=offset>0?1:(characters2+="\f",-1);break;case 44:points[index2++]=(strlen(characters2)-1)*ampersand,ampersand=1;break;case 64:if(peek()===45)characters2+=delimit(next());atrule=peek(),offset=length2=strlen(type=characters2+=identifier(caret())),character2++;break;case 45:if(previous===45&&strlen(characters2)==2)variable=0}}return rulesets}function ruleset(value,root,parent,index2,offset,rules,points,type,props,children,length2){var post=offset-1;var rule=offset===0?rules:[""];var size=sizeof(rule);for(var i=0,j=0,k2=0;i<index2;++i)for(var x2=0,y2=substr(value,post+1,post=abs(j=points[i])),z2=value;x2<size;++x2)if(z2=trim(j>0?rule[x2]+" "+y2:replace(y2,/&\f/g,rule[x2])))props[k2++]=z2;return node(value,root,parent,offset===0?RULESET:type,props,children,length2)}function comment(value,root,parent){return node(value,root,parent,COMMENT,from(char()),substr(value,2,-2),0)}function declaration(value,root,parent,length2){return node(value,root,parent,DECLARATION,substr(value,0,length2),substr(value,length2+1,-1),length2)}function serialize(children,callback){var output="";var length2=sizeof(children);for(var i=0;i<length2;i++)output+=callback(children[i],i,children,callback)||"";return output}function stringify(element,index2,children,callback){switch(element.type){case LAYER:if(element.children.length)break;case IMPORT:case DECLARATION:return element.return=element.return||element.value;case COMMENT:return"";case KEYFRAMES:return element.return=element.value+"{"+serialize(element.children,callback)+"}";case RULESET:element.value=element.props.join(",")}return strlen(children=serialize(element.children,callback))?element.return=element.value+"{"+children+"}":""}function middleware(collection){var length2=sizeof(collection);return function(element,index2,children,callback){var output="";for(var i=0;i<length2;i++)output+=collection[i](element,index2,children,callback)||"";return output}}function rulesheet(callback){return function(element){if(!element.root){if(element=element.return)callback(element)}}}function memoize(fn){var cache=Object.create(null);return function(arg){if(cache[arg]===void 0)cache[arg]=fn(arg);return cache[arg]}}var identifierWithPointTracking=function identifierWithPointTracking2(begin,points,index2){var previous=0;var character2=0;while(true){previous=character2;character2=peek();if(previous===38&&character2===12){points[index2]=1}if(token(character2)){break}next()}return slice(begin,position)};var toRules=function toRules2(parsed,points){var index2=-1;var character2=44;do{switch(token(character2)){case 0:if(character2===38&&peek()===12){points[index2]=1}parsed[index2]+=identifierWithPointTracking(position-1,points,index2);break;case 2:parsed[index2]+=delimit(character2);break;case 4:if(character2===44){parsed[++index2]=peek()===58?"&\f":"";points[index2]=parsed[index2].length;break}default:parsed[index2]+=from(character2)}}while(character2=next());return parsed};var getRules=function getRules2(value,points){return dealloc(toRules(alloc(value),points))};var fixedElements=new WeakMap;var compat=function compat2(element){if(element.type!=="rule"||!element.parent||element.length<1){return}var value=element.value,parent=element.parent;var isImplicitRule=element.column===parent.column&&element.line===parent.line;while(parent.type!=="rule"){parent=parent.parent;if(!parent)return}if(element.props.length===1&&value.charCodeAt(0)!==58&&!fixedElements.get(parent)){return}if(isImplicitRule){return}fixedElements.set(element,true);var points=[];var rules=getRules(value,points);var parentRules=parent.props;for(var i=0,k2=0;i<rules.length;i++){for(var j=0;j<parentRules.length;j++,k2++){element.props[k2]=points[i]?rules[i].replace(/&\f/g,parentRules[j]):parentRules[j]+" "+rules[i]}}};var removeLabel=function removeLabel2(element){if(element.type==="decl"){var value=element.value;if(value.charCodeAt(0)===108&&value.charCodeAt(2)===98){element["return"]="";element.value=""}}};function prefix(value,length2){switch(hash(value,length2)){case 5103:return WEBKIT+"print-"+value+value;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return WEBKIT+value+value;case 5349:case 4246:case 4810:case 6968:case 2756:return WEBKIT+value+MOZ+value+MS+value+value;case 6828:case 4268:return WEBKIT+value+MS+value+value;case 6165:return WEBKIT+value+MS+"flex-"+value+value;case 5187:return WEBKIT+value+replace(value,/(\w+).+(:[^]+)/,WEBKIT+"box-$1$2"+MS+"flex-$1$2")+value;case 5443:return WEBKIT+value+MS+"flex-item-"+replace(value,/flex-|-self/,"")+value;case 4675:return WEBKIT+value+MS+"flex-line-pack"+replace(value,/align-content|flex-|-self/,"")+value;case 5548:return WEBKIT+value+MS+replace(value,"shrink","negative")+value;case 5292:return WEBKIT+value+MS+replace(value,"basis","preferred-size")+value;case 6060:return WEBKIT+"box-"+replace(value,"-grow","")+WEBKIT+value+MS+replace(value,"grow","positive")+value;case 4554:return WEBKIT+replace(value,/([^-])(transform)/g,"$1"+WEBKIT+"$2")+value;case 6187:return replace(replace(replace(value,/(zoom-|grab)/,WEBKIT+"$1"),/(image-set)/,WEBKIT+"$1"),value,"")+value;case 5495:case 3959:return replace(value,/(image-set\([^]*)/,WEBKIT+"$1$`$1");case 4968:return replace(replace(value,/(.+:)(flex-)?(.*)/,WEBKIT+"box-pack:$3"+MS+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+WEBKIT+value+value;case 4095:case 3583:case 4068:case 2532:return replace(value,/(.+)-inline(.+)/,WEBKIT+"$1$2")+value;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(strlen(value)-1-length2>6)switch(charat(value,length2+1)){case 109:if(charat(value,length2+4)!==45)break;case 102:return replace(value,/(.+:)(.+)-([^]+)/,"$1"+WEBKIT+"$2-$3$1"+MOZ+(charat(value,length2+3)==108?"$3":"$2-$3"))+value;case 115:return~indexof(value,"stretch")?prefix(replace(value,"stretch","fill-available"),length2)+value:value}break;case 4949:if(charat(value,length2+1)!==115)break;case 6444:switch(charat(value,strlen(value)-3-(~indexof(value,"!important")&&10))){case 107:return replace(value,":",":"+WEBKIT)+value;case 101:return replace(value,/(.+:)([^;!]+)(;|!.+)?/,"$1"+WEBKIT+(charat(value,14)===45?"inline-":"")+"box$3$1"+WEBKIT+"$2$3$1"+MS+"$2box$3")+value}break;case 5936:switch(charat(value,length2+11)){case 114:return WEBKIT+value+MS+replace(value,/[svh]\w+-[tblr]{2}/,"tb")+value;case 108:return WEBKIT+value+MS+replace(value,/[svh]\w+-[tblr]{2}/,"tb-rl")+value;case 45:return WEBKIT+value+MS+replace(value,/[svh]\w+-[tblr]{2}/,"lr")+value}return WEBKIT+value+MS+value+value}return value}var prefixer=function prefixer2(element,index2,children,callback){if(element.length>-1){if(!element["return"])switch(element.type){case DECLARATION:element["return"]=prefix(element.value,element.length);break;case KEYFRAMES:return serialize([copy(element,{value:replace(element.value,"@","@"+WEBKIT)})],callback);case RULESET:if(element.length)return combine(element.props,(function(value){switch(match(value,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return serialize([copy(element,{props:[replace(value,/:(read-\w+)/,":"+MOZ+"$1")]})],callback);case"::placeholder":return serialize([copy(element,{props:[replace(value,/:(plac\w+)/,":"+WEBKIT+"input-$1")]}),copy(element,{props:[replace(value,/:(plac\w+)/,":"+MOZ+"$1")]}),copy(element,{props:[replace(value,/:(plac\w+)/,MS+"input-$1")]})],callback)}return""}))}}};var defaultStylisPlugins=[prefixer];var createCache=function createCache2(options2){var key=options2.key;if(key==="css"){var ssrStyles=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(ssrStyles,(function(node2){var dataEmotionAttribute=node2.getAttribute("data-emotion");if(dataEmotionAttribute.indexOf(" ")===-1){return}document.head.appendChild(node2);node2.setAttribute("data-s","")}))}var stylisPlugins=options2.stylisPlugins||defaultStylisPlugins;var inserted={};var container;var nodesToHydrate=[];{container=options2.container||document.head;Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+key+' "]'),(function(node2){var attrib=node2.getAttribute("data-emotion").split(" ");for(var i=1;i<attrib.length;i++){inserted[attrib[i]]=true}nodesToHydrate.push(node2)}))}var _insert;var omnipresentPlugins=[compat,removeLabel];{var currentSheet;var finalizingPlugins=[stringify,rulesheet((function(rule){currentSheet.insert(rule)}))];var serializer=middleware(omnipresentPlugins.concat(stylisPlugins,finalizingPlugins));var stylis=function stylis2(styles){return serialize(compile(styles),serializer)};_insert=function insert(selector,serialized,sheet,shouldCache){currentSheet=sheet;stylis(selector?selector+"{"+serialized.styles+"}":serialized.styles);if(shouldCache){cache.inserted[serialized.name]=true}}}var cache={key:key,sheet:new StyleSheet({key:key,container:container,nonce:options2.nonce,speedy:options2.speedy,prepend:options2.prepend,insertionPoint:options2.insertionPoint}),nonce:options2.nonce,inserted:inserted,registered:{},insert:_insert};cache.sheet.hydrate(nodesToHydrate);return cache};var reactIs$1={exports:{}};var reactIs_production_min={};
58
- /** @license React v16.13.1
59
- * react-is.production.min.js
60
- *
61
- * Copyright (c) Facebook, Inc. and its affiliates.
62
- *
63
- * This source code is licensed under the MIT license found in the
64
- * LICENSE file in the root directory of this source tree.
65
- */var b="function"===typeof Symbol&&Symbol.for,c=b?Symbol.for("react.element"):60103,d=b?Symbol.for("react.portal"):60106,e=b?Symbol.for("react.fragment"):60107,f=b?Symbol.for("react.strict_mode"):60108,g=b?Symbol.for("react.profiler"):60114,h=b?Symbol.for("react.provider"):60109,k=b?Symbol.for("react.context"):60110,l=b?Symbol.for("react.async_mode"):60111,m=b?Symbol.for("react.concurrent_mode"):60111,n=b?Symbol.for("react.forward_ref"):60112,p=b?Symbol.for("react.suspense"):60113,q=b?Symbol.for("react.suspense_list"):60120,r=b?Symbol.for("react.memo"):60115,t=b?Symbol.for("react.lazy"):60116,v=b?Symbol.for("react.block"):60121,w$1=b?Symbol.for("react.fundamental"):60117,x=b?Symbol.for("react.responder"):60118,y=b?Symbol.for("react.scope"):60119;function z(a2){if("object"===typeof a2&&null!==a2){var u2=a2.$$typeof;switch(u2){case c:switch(a2=a2.type,a2){case l:case m:case e:case g:case f:case p:return a2;default:switch(a2=a2&&a2.$$typeof,a2){case k:case n:case t:case r:case h:return a2;default:return u2}}case d:return u2}}}function A(a2){return z(a2)===m}reactIs_production_min.AsyncMode=l;reactIs_production_min.ConcurrentMode=m;reactIs_production_min.ContextConsumer=k;reactIs_production_min.ContextProvider=h;reactIs_production_min.Element=c;reactIs_production_min.ForwardRef=n;reactIs_production_min.Fragment=e;reactIs_production_min.Lazy=t;reactIs_production_min.Memo=r;reactIs_production_min.Portal=d;reactIs_production_min.Profiler=g;reactIs_production_min.StrictMode=f;reactIs_production_min.Suspense=p;reactIs_production_min.isAsyncMode=function(a2){return A(a2)||z(a2)===l};reactIs_production_min.isConcurrentMode=A;reactIs_production_min.isContextConsumer=function(a2){return z(a2)===k};reactIs_production_min.isContextProvider=function(a2){return z(a2)===h};reactIs_production_min.isElement=function(a2){return"object"===typeof a2&&null!==a2&&a2.$$typeof===c};reactIs_production_min.isForwardRef=function(a2){return z(a2)===n};reactIs_production_min.isFragment=function(a2){return z(a2)===e};reactIs_production_min.isLazy=function(a2){return z(a2)===t};reactIs_production_min.isMemo=function(a2){return z(a2)===r};reactIs_production_min.isPortal=function(a2){return z(a2)===d};reactIs_production_min.isProfiler=function(a2){return z(a2)===g};reactIs_production_min.isStrictMode=function(a2){return z(a2)===f};reactIs_production_min.isSuspense=function(a2){return z(a2)===p};reactIs_production_min.isValidElementType=function(a2){return"string"===typeof a2||"function"===typeof a2||a2===e||a2===m||a2===g||a2===f||a2===p||a2===q||"object"===typeof a2&&null!==a2&&(a2.$$typeof===t||a2.$$typeof===r||a2.$$typeof===h||a2.$$typeof===k||a2.$$typeof===n||a2.$$typeof===w$1||a2.$$typeof===x||a2.$$typeof===y||a2.$$typeof===v)};reactIs_production_min.typeOf=z;{reactIs$1.exports=reactIs_production_min}var reactIsExports=reactIs$1.exports;var reactIs=reactIsExports;var FORWARD_REF_STATICS={$$typeof:true,render:true,defaultProps:true,displayName:true,propTypes:true};var MEMO_STATICS={$$typeof:true,compare:true,defaultProps:true,displayName:true,propTypes:true,type:true};var TYPE_STATICS={};TYPE_STATICS[reactIs.ForwardRef]=FORWARD_REF_STATICS;TYPE_STATICS[reactIs.Memo]=MEMO_STATICS;var isBrowser=true;function getRegisteredStyles(registered,registeredStyles,classNames2){var rawClassName="";classNames2.split(" ").forEach((function(className){if(registered[className]!==void 0){registeredStyles.push(registered[className]+";")}else{rawClassName+=className+" "}}));return rawClassName}var registerStyles=function registerStyles2(cache,serialized,isStringTag){var className=cache.key+"-"+serialized.name;if((isStringTag===false||isBrowser===false)&&cache.registered[className]===void 0){cache.registered[className]=serialized.styles}};var insertStyles=function insertStyles2(cache,serialized,isStringTag){registerStyles(cache,serialized,isStringTag);var className=cache.key+"-"+serialized.name;if(cache.inserted[serialized.name]===void 0){var current=serialized;do{cache.insert(serialized===current?"."+className:"",current,cache.sheet,true);current=current.next}while(current!==void 0)}};function murmur2(str){var h2=0;var k2,i=0,len=str.length;for(;len>=4;++i,len-=4){k2=str.charCodeAt(i)&255|(str.charCodeAt(++i)&255)<<8|(str.charCodeAt(++i)&255)<<16|(str.charCodeAt(++i)&255)<<24;k2=(k2&65535)*1540483477+((k2>>>16)*59797<<16);k2^=k2>>>24;h2=(k2&65535)*1540483477+((k2>>>16)*59797<<16)^(h2&65535)*1540483477+((h2>>>16)*59797<<16)}switch(len){case 3:h2^=(str.charCodeAt(i+2)&255)<<16;case 2:h2^=(str.charCodeAt(i+1)&255)<<8;case 1:h2^=str.charCodeAt(i)&255;h2=(h2&65535)*1540483477+((h2>>>16)*59797<<16)}h2^=h2>>>13;h2=(h2&65535)*1540483477+((h2>>>16)*59797<<16);return((h2^h2>>>15)>>>0).toString(36)}var unitlessKeys={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};var hyphenateRegex=/[A-Z]|^ms/g;var animationRegex=/_EMO_([^_]+?)_([^]*?)_EMO_/g;var isCustomProperty=function isCustomProperty2(property){return property.charCodeAt(1)===45};var isProcessableValue=function isProcessableValue2(value){return value!=null&&typeof value!=="boolean"};var processStyleName=memoize((function(styleName){return isCustomProperty(styleName)?styleName:styleName.replace(hyphenateRegex,"-$&").toLowerCase()}));var processStyleValue=function processStyleValue2(key,value){switch(key){case"animation":case"animationName":{if(typeof value==="string"){return value.replace(animationRegex,(function(match2,p1,p2){cursor={name:p1,styles:p2,next:cursor};return p1}))}}}if(unitlessKeys[key]!==1&&!isCustomProperty(key)&&typeof value==="number"&&value!==0){return value+"px"}return value};var noComponentSelectorMessage="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function handleInterpolation(mergedProps,registered,interpolation){if(interpolation==null){return""}if(interpolation.__emotion_styles!==void 0){return interpolation}switch(typeof interpolation){case"boolean":{return""}case"object":{if(interpolation.anim===1){cursor={name:interpolation.name,styles:interpolation.styles,next:cursor};return interpolation.name}if(interpolation.styles!==void 0){var next2=interpolation.next;if(next2!==void 0){while(next2!==void 0){cursor={name:next2.name,styles:next2.styles,next:cursor};next2=next2.next}}var styles=interpolation.styles+";";return styles}return createStringFromObject(mergedProps,registered,interpolation)}case"function":{if(mergedProps!==void 0){var previousCursor=cursor;var result=interpolation(mergedProps);cursor=previousCursor;return handleInterpolation(mergedProps,registered,result)}break}}{return interpolation}}function createStringFromObject(mergedProps,registered,obj){var string="";if(Array.isArray(obj)){for(var i=0;i<obj.length;i++){string+=handleInterpolation(mergedProps,registered,obj[i])+";"}}else{for(var _key in obj){var value=obj[_key];if(typeof value!=="object"){if(isProcessableValue(value)){string+=processStyleName(_key)+":"+processStyleValue(_key,value)+";"}}else{if(_key==="NO_COMPONENT_SELECTOR"&&false){throw new Error(noComponentSelectorMessage)}if(Array.isArray(value)&&typeof value[0]==="string"&&registered==null){for(var _i=0;_i<value.length;_i++){if(isProcessableValue(value[_i])){string+=processStyleName(_key)+":"+processStyleValue(_key,value[_i])+";"}}}else{var interpolated=handleInterpolation(mergedProps,registered,value);switch(_key){case"animation":case"animationName":{string+=processStyleName(_key)+":"+interpolated+";";break}default:{string+=_key+"{"+interpolated+"}"}}}}}}return string}var labelPattern=/label:\s*([^\s;\n{]+)\s*(;|$)/g;var cursor;var serializeStyles=function serializeStyles2(args,registered,mergedProps){if(args.length===1&&typeof args[0]==="object"&&args[0]!==null&&args[0].styles!==void 0){return args[0]}var stringMode=true;var styles="";cursor=void 0;var strings=args[0];if(strings==null||strings.raw===void 0){stringMode=false;styles+=handleInterpolation(mergedProps,registered,strings)}else{styles+=strings[0]}for(var i=1;i<args.length;i++){styles+=handleInterpolation(mergedProps,registered,args[i]);if(stringMode){styles+=strings[i]}}labelPattern.lastIndex=0;var identifierName="";var match2;while((match2=labelPattern.exec(styles))!==null){identifierName+="-"+match2[1]}var name2=murmur2(styles)+identifierName;return{name:name2,styles:styles,next:cursor}};var syncFallback=function syncFallback2(create){return create()};var useInsertionEffect=React$1["useInsertionEffect"]?React$1["useInsertionEffect"]:false;var useInsertionEffectAlwaysWithSyncFallback=useInsertionEffect||syncFallback;var hasOwnProperty={}.hasOwnProperty;var EmotionCacheContext=reactExports.createContext(typeof HTMLElement!=="undefined"?createCache({key:"css"}):null);EmotionCacheContext.Provider;var withEmotionCache=function withEmotionCache2(func){return reactExports.forwardRef((function(props,ref){var cache=reactExports.useContext(EmotionCacheContext);return func(props,cache,ref)}))};var ThemeContext=reactExports.createContext({});var typePropName="__EMOTION_TYPE_PLEASE_DO_NOT_USE__";var createEmotionProps=function createEmotionProps2(type,props){var newProps={};for(var key in props){if(hasOwnProperty.call(props,key)){newProps[key]=props[key]}}newProps[typePropName]=type;return newProps};var Insertion=function Insertion2(_ref3){var cache=_ref3.cache,serialized=_ref3.serialized,isStringTag=_ref3.isStringTag;registerStyles(cache,serialized,isStringTag);useInsertionEffectAlwaysWithSyncFallback((function(){return insertStyles(cache,serialized,isStringTag)}));return null};var Emotion=withEmotionCache((function(props,cache,ref){var cssProp=props.css;if(typeof cssProp==="string"&&cache.registered[cssProp]!==void 0){cssProp=cache.registered[cssProp]}var WrappedComponent=props[typePropName];var registeredStyles=[cssProp];var className="";if(typeof props.className==="string"){className=getRegisteredStyles(cache.registered,registeredStyles,props.className)}else if(props.className!=null){className=props.className+" "}var serialized=serializeStyles(registeredStyles,void 0,reactExports.useContext(ThemeContext));className+=cache.key+"-"+serialized.name;var newProps={};for(var key in props){if(hasOwnProperty.call(props,key)&&key!=="css"&&key!==typePropName&&true){newProps[key]=props[key]}}newProps.ref=ref;newProps.className=className;return reactExports.createElement(reactExports.Fragment,null,reactExports.createElement(Insertion,{cache:cache,serialized:serialized,isStringTag:typeof WrappedComponent==="string"}),reactExports.createElement(WrappedComponent,newProps))}));var Emotion$1=Emotion;var jsx=function jsx2(type,props){var args=arguments;if(props==null||!hasOwnProperty.call(props,"css")){return reactExports.createElement.apply(void 0,args)}var argsLength=args.length;var createElementArgArray=new Array(argsLength);createElementArgArray[0]=Emotion$1;createElementArgArray[1]=createEmotionProps(type,props);for(var i=2;i<argsLength;i++){createElementArgArray[i]=args[i]}return reactExports.createElement.apply(null,createElementArgArray)};function css(){for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++){args[_key]=arguments[_key]}return serializeStyles(args)}var keyframes=function keyframes2(){var insertable=css.apply(void 0,arguments);var name2="animation-"+insertable.name;return{name:name2,styles:"@keyframes "+name2+"{"+insertable.styles+"}",anim:1,toString:function toString(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}};function _taggedTemplateLiteral(strings,raw){if(!raw){raw=strings.slice(0)}return Object.freeze(Object.defineProperties(strings,{raw:{value:Object.freeze(raw)}}))}const min=Math.min;const max=Math.max;const round=Math.round;const floor=Math.floor;const createCoords=v2=>({x:v2,y:v2});function rectToClientRect(rect){return{...rect,top:rect.y,left:rect.x,right:rect.x+rect.width,bottom:rect.y+rect.height}}function getNodeName(node2){if(isNode(node2)){return(node2.nodeName||"").toLowerCase()}return"#document"}function getWindow(node2){var _node$ownerDocument;return(node2==null||(_node$ownerDocument=node2.ownerDocument)==null?void 0:_node$ownerDocument.defaultView)||window}function getDocumentElement(node2){var _ref3;return(_ref3=(isNode(node2)?node2.ownerDocument:node2.document)||window.document)==null?void 0:_ref3.documentElement}function isNode(value){return value instanceof Node||value instanceof getWindow(value).Node}function isElement(value){return value instanceof Element||value instanceof getWindow(value).Element}function isHTMLElement(value){return value instanceof HTMLElement||value instanceof getWindow(value).HTMLElement}function isShadowRoot(value){if(typeof ShadowRoot==="undefined"){return false}return value instanceof ShadowRoot||value instanceof getWindow(value).ShadowRoot}function isOverflowElement(element){const{overflow:overflow,overflowX:overflowX,overflowY:overflowY,display:display}=getComputedStyle$1(element);return/auto|scroll|overlay|hidden|clip/.test(overflow+overflowY+overflowX)&&!["inline","contents"].includes(display)}function isWebKit(){if(typeof CSS==="undefined"||!CSS.supports)return false;return CSS.supports("-webkit-backdrop-filter","none")}function isLastTraversableNode(node2){return["html","body","#document"].includes(getNodeName(node2))}function getComputedStyle$1(element){return getWindow(element).getComputedStyle(element)}function getParentNode(node2){if(getNodeName(node2)==="html"){return node2}const result=node2.assignedSlot||node2.parentNode||isShadowRoot(node2)&&node2.host||getDocumentElement(node2);return isShadowRoot(result)?result.host:result}function getNearestOverflowAncestor(node2){const parentNode=getParentNode(node2);if(isLastTraversableNode(parentNode)){return node2.ownerDocument?node2.ownerDocument.body:node2.body}if(isHTMLElement(parentNode)&&isOverflowElement(parentNode)){return parentNode}return getNearestOverflowAncestor(parentNode)}function getOverflowAncestors(node2,list,traverseIframes){var _node$ownerDocument2;if(list===void 0){list=[]}if(traverseIframes===void 0){traverseIframes=true}const scrollableAncestor=getNearestOverflowAncestor(node2);const isBody=scrollableAncestor===((_node$ownerDocument2=node2.ownerDocument)==null?void 0:_node$ownerDocument2.body);const win=getWindow(scrollableAncestor);if(isBody){return list.concat(win,win.visualViewport||[],isOverflowElement(scrollableAncestor)?scrollableAncestor:[],win.frameElement&&traverseIframes?getOverflowAncestors(win.frameElement):[])}return list.concat(scrollableAncestor,getOverflowAncestors(scrollableAncestor,[],traverseIframes))}function getCssDimensions(element){const css4=getComputedStyle$1(element);let width=parseFloat(css4.width)||0;let height=parseFloat(css4.height)||0;const hasOffset=isHTMLElement(element);const offsetWidth=hasOffset?element.offsetWidth:width;const offsetHeight=hasOffset?element.offsetHeight:height;const shouldFallback=round(width)!==offsetWidth||round(height)!==offsetHeight;if(shouldFallback){width=offsetWidth;height=offsetHeight}return{width:width,height:height,$:shouldFallback}}function unwrapElement(element){return!isElement(element)?element.contextElement:element}function getScale(element){const domElement=unwrapElement(element);if(!isHTMLElement(domElement)){return createCoords(1)}const rect=domElement.getBoundingClientRect();const{width:width,height:height,$:$}=getCssDimensions(domElement);let x2=($?round(rect.width):rect.width)/width;let y2=($?round(rect.height):rect.height)/height;if(!x2||!Number.isFinite(x2)){x2=1}if(!y2||!Number.isFinite(y2)){y2=1}return{x:x2,y:y2}}const noOffsets=createCoords(0);function getVisualOffsets(element){const win=getWindow(element);if(!isWebKit()||!win.visualViewport){return noOffsets}return{x:win.visualViewport.offsetLeft,y:win.visualViewport.offsetTop}}function shouldAddVisualOffsets(element,isFixed,floatingOffsetParent){{return false}}function getBoundingClientRect(element,includeScale,isFixedStrategy,offsetParent){if(includeScale===void 0){includeScale=false}const clientRect=element.getBoundingClientRect();const domElement=unwrapElement(element);let scale=createCoords(1);if(includeScale){{scale=getScale(element)}}const visualOffsets=shouldAddVisualOffsets()?getVisualOffsets(domElement):createCoords(0);let x2=(clientRect.left+visualOffsets.x)/scale.x;let y2=(clientRect.top+visualOffsets.y)/scale.y;let width=clientRect.width/scale.x;let height=clientRect.height/scale.y;if(domElement){const win=getWindow(domElement);const offsetWin=offsetParent;let currentIFrame=win.frameElement;while(currentIFrame&&offsetParent&&offsetWin!==win){const iframeScale=getScale(currentIFrame);const iframeRect=currentIFrame.getBoundingClientRect();const css4=getComputedStyle$1(currentIFrame);const left=iframeRect.left+(currentIFrame.clientLeft+parseFloat(css4.paddingLeft))*iframeScale.x;const top=iframeRect.top+(currentIFrame.clientTop+parseFloat(css4.paddingTop))*iframeScale.y;x2*=iframeScale.x;y2*=iframeScale.y;width*=iframeScale.x;height*=iframeScale.y;x2+=left;y2+=top;currentIFrame=getWindow(currentIFrame).frameElement}}return rectToClientRect({width:width,height:height,x:x2,y:y2})}function observeMove(element,onMove){let io=null;let timeoutId;const root=getDocumentElement(element);function cleanup(){clearTimeout(timeoutId);io&&io.disconnect();io=null}function refresh(skip,threshold){if(skip===void 0){skip=false}if(threshold===void 0){threshold=1}cleanup();const{left:left,top:top,width:width,height:height}=element.getBoundingClientRect();if(!skip){onMove()}if(!width||!height){return}const insetTop=floor(top);const insetRight=floor(root.clientWidth-(left+width));const insetBottom=floor(root.clientHeight-(top+height));const insetLeft=floor(left);const rootMargin=-insetTop+"px "+-insetRight+"px "+-insetBottom+"px "+-insetLeft+"px";const options2={rootMargin:rootMargin,threshold:max(0,min(1,threshold))||1};let isFirstUpdate=true;function handleObserve(entries){const ratio=entries[0].intersectionRatio;if(ratio!==threshold){if(!isFirstUpdate){return refresh()}if(!ratio){timeoutId=setTimeout((()=>{refresh(false,1e-7)}),100)}else{refresh(false,ratio)}}isFirstUpdate=false}try{io=new IntersectionObserver(handleObserve,{...options2,root:root.ownerDocument})}catch(e2){io=new IntersectionObserver(handleObserve,options2)}io.observe(element)}refresh(true);return cleanup}function autoUpdate(reference,floating,update,options2){if(options2===void 0){options2={}}const{ancestorScroll:ancestorScroll=true,ancestorResize:ancestorResize=true,elementResize:elementResize=typeof ResizeObserver==="function",layoutShift:layoutShift=typeof IntersectionObserver==="function",animationFrame:animationFrame=false}=options2;const referenceEl=unwrapElement(reference);const ancestors=ancestorScroll||ancestorResize?[...referenceEl?getOverflowAncestors(referenceEl):[],...getOverflowAncestors(floating)]:[];ancestors.forEach((ancestor=>{ancestorScroll&&ancestor.addEventListener("scroll",update,{passive:true});ancestorResize&&ancestor.addEventListener("resize",update)}));const cleanupIo=referenceEl&&layoutShift?observeMove(referenceEl,update):null;let reobserveFrame=-1;let resizeObserver=null;if(elementResize){resizeObserver=new ResizeObserver((_ref3=>{let[firstEntry]=_ref3;if(firstEntry&&firstEntry.target===referenceEl&&resizeObserver){resizeObserver.unobserve(floating);cancelAnimationFrame(reobserveFrame);reobserveFrame=requestAnimationFrame((()=>{resizeObserver&&resizeObserver.observe(floating)}))}update()}));if(referenceEl&&!animationFrame){resizeObserver.observe(referenceEl)}resizeObserver.observe(floating)}let frameId;let prevRefRect=animationFrame?getBoundingClientRect(reference):null;if(animationFrame){frameLoop()}function frameLoop(){const nextRefRect=getBoundingClientRect(reference);if(prevRefRect&&(nextRefRect.x!==prevRefRect.x||nextRefRect.y!==prevRefRect.y||nextRefRect.width!==prevRefRect.width||nextRefRect.height!==prevRefRect.height)){update()}prevRefRect=nextRefRect;frameId=requestAnimationFrame(frameLoop)}update();return()=>{ancestors.forEach((ancestor=>{ancestorScroll&&ancestor.removeEventListener("scroll",update);ancestorResize&&ancestor.removeEventListener("resize",update)}));cleanupIo&&cleanupIo();resizeObserver&&resizeObserver.disconnect();resizeObserver=null;if(animationFrame){cancelAnimationFrame(frameId)}}}var index=reactExports.useLayoutEffect;var _excluded$4=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"];var noop=function noop2(){};function applyPrefixToName(prefix2,name2){if(!name2){return prefix2}else if(name2[0]==="-"){return prefix2+name2}else{return prefix2+"__"+name2}}function classNames(prefix2,state){for(var _len=arguments.length,classNameList=new Array(_len>2?_len-2:0),_key=2;_key<_len;_key++){classNameList[_key-2]=arguments[_key]}var arr=[].concat(classNameList);if(state&&prefix2){for(var key in state){if(state.hasOwnProperty(key)&&state[key]){arr.push("".concat(applyPrefixToName(prefix2,key)))}}}return arr.filter((function(i){return i})).map((function(i){return String(i).trim()})).join(" ")}var cleanValue=function cleanValue2(value){if(isArray(value))return value.filter(Boolean);if(_typeof(value)==="object"&&value!==null)return[value];return[]};var cleanCommonProps=function cleanCommonProps2(props){props.className;props.clearValue;props.cx;props.getStyles;props.getClassNames;props.getValue;props.hasValue;props.isMulti;props.isRtl;props.options;props.selectOption;props.selectProps;props.setValue;props.theme;var innerProps=_objectWithoutProperties(props,_excluded$4);return _objectSpread2({},innerProps)};var getStyleProps=function getStyleProps2(props,name2,classNamesState){var cx=props.cx,getStyles=props.getStyles,getClassNames=props.getClassNames,className=props.className;return{css:getStyles(name2,props),className:cx(classNamesState!==null&&classNamesState!==void 0?classNamesState:{},getClassNames(name2,props),className)}};function handleInputChange(inputValue,actionMeta,onInputChange){if(onInputChange){var _newValue=onInputChange(inputValue,actionMeta);if(typeof _newValue==="string")return _newValue}return inputValue}function isDocumentElement(el){return[document.documentElement,document.body,window].indexOf(el)>-1}function normalizedHeight(el){if(isDocumentElement(el)){return window.innerHeight}return el.clientHeight}function getScrollTop(el){if(isDocumentElement(el)){return window.pageYOffset}return el.scrollTop}function scrollTo(el,top){if(isDocumentElement(el)){window.scrollTo(0,top);return}el.scrollTop=top}function getScrollParent(element){var style=getComputedStyle(element);var excludeStaticParent=style.position==="absolute";var overflowRx=/(auto|scroll)/;if(style.position==="fixed")return document.documentElement;for(var parent=element;parent=parent.parentElement;){style=getComputedStyle(parent);if(excludeStaticParent&&style.position==="static"){continue}if(overflowRx.test(style.overflow+style.overflowY+style.overflowX)){return parent}}return document.documentElement}function easeOutCubic(t2,b2,c2,d2){return c2*((t2=t2/d2-1)*t2*t2+1)+b2}function animatedScrollTo(element,to){var duration=arguments.length>2&&arguments[2]!==void 0?arguments[2]:200;var callback=arguments.length>3&&arguments[3]!==void 0?arguments[3]:noop;var start=getScrollTop(element);var change=to-start;var increment=10;var currentTime=0;function animateScroll(){currentTime+=increment;var val=easeOutCubic(currentTime,start,change,duration);scrollTo(element,val);if(currentTime<duration){window.requestAnimationFrame(animateScroll)}else{callback(element)}}animateScroll()}function scrollIntoView(menuEl,focusedEl){var menuRect=menuEl.getBoundingClientRect();var focusedRect=focusedEl.getBoundingClientRect();var overScroll=focusedEl.offsetHeight/3;if(focusedRect.bottom+overScroll>menuRect.bottom){scrollTo(menuEl,Math.min(focusedEl.offsetTop+focusedEl.clientHeight-menuEl.offsetHeight+overScroll,menuEl.scrollHeight))}else if(focusedRect.top-overScroll<menuRect.top){scrollTo(menuEl,Math.max(focusedEl.offsetTop-overScroll,0))}}function getBoundingClientObj(element){var rect=element.getBoundingClientRect();return{bottom:rect.bottom,height:rect.height,left:rect.left,right:rect.right,top:rect.top,width:rect.width}}function isTouchCapable(){try{document.createEvent("TouchEvent");return true}catch(e2){return false}}function isMobileDevice(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch(e2){return false}}var passiveOptionAccessed=false;var options={get passive(){return passiveOptionAccessed=true}};var w=typeof window!=="undefined"?window:{};if(w.addEventListener&&w.removeEventListener){w.addEventListener("p",noop,options);w.removeEventListener("p",noop,false)}var supportsPassiveEvents=passiveOptionAccessed;function notNullish(item){return item!=null}function isArray(arg){return Array.isArray(arg)}function valueTernary(isMulti,multiValue,singleValue){return isMulti?multiValue:singleValue}function singleValueAsValue(singleValue){return singleValue}function multiValueAsValue(multiValue){return multiValue}var removeProps=function removeProps2(propsObj){for(var _len2=arguments.length,properties=new Array(_len2>1?_len2-1:0),_key2=1;_key2<_len2;_key2++){properties[_key2-1]=arguments[_key2]}var propsMap=Object.entries(propsObj).filter((function(_ref3){var _ref22=_slicedToArray(_ref3,1),key=_ref22[0];return!properties.includes(key)}));return propsMap.reduce((function(newProps,_ref3){var _ref4=_slicedToArray(_ref3,2),key=_ref4[0],val=_ref4[1];newProps[key]=val;return newProps}),{})};var _excluded$3=["children","innerProps"],_excluded2$1=["children","innerProps"];function getMenuPlacement(_ref3){var preferredMaxHeight=_ref3.maxHeight,menuEl=_ref3.menuEl,minHeight=_ref3.minHeight,preferredPlacement=_ref3.placement,shouldScroll=_ref3.shouldScroll,isFixedPosition=_ref3.isFixedPosition,controlHeight2=_ref3.controlHeight;var scrollParent=getScrollParent(menuEl);var defaultState={placement:"bottom",maxHeight:preferredMaxHeight};if(!menuEl||!menuEl.offsetParent)return defaultState;var _scrollParent$getBoun=scrollParent.getBoundingClientRect(),scrollHeight=_scrollParent$getBoun.height;var _menuEl$getBoundingCl=menuEl.getBoundingClientRect(),menuBottom=_menuEl$getBoundingCl.bottom,menuHeight=_menuEl$getBoundingCl.height,menuTop=_menuEl$getBoundingCl.top;var _menuEl$offsetParent$=menuEl.offsetParent.getBoundingClientRect(),containerTop=_menuEl$offsetParent$.top;var viewHeight=isFixedPosition?window.innerHeight:normalizedHeight(scrollParent);var scrollTop=getScrollTop(scrollParent);var marginBottom=parseInt(getComputedStyle(menuEl).marginBottom,10);var marginTop=parseInt(getComputedStyle(menuEl).marginTop,10);var viewSpaceAbove=containerTop-marginTop;var viewSpaceBelow=viewHeight-menuTop;var scrollSpaceAbove=viewSpaceAbove+scrollTop;var scrollSpaceBelow=scrollHeight-scrollTop-menuTop;var scrollDown=menuBottom-viewHeight+scrollTop+marginBottom;var scrollUp=scrollTop+menuTop-marginTop;var scrollDuration=160;switch(preferredPlacement){case"auto":case"bottom":if(viewSpaceBelow>=menuHeight){return{placement:"bottom",maxHeight:preferredMaxHeight}}if(scrollSpaceBelow>=menuHeight&&!isFixedPosition){if(shouldScroll){animatedScrollTo(scrollParent,scrollDown,scrollDuration)}return{placement:"bottom",maxHeight:preferredMaxHeight}}if(!isFixedPosition&&scrollSpaceBelow>=minHeight||isFixedPosition&&viewSpaceBelow>=minHeight){if(shouldScroll){animatedScrollTo(scrollParent,scrollDown,scrollDuration)}var constrainedHeight=isFixedPosition?viewSpaceBelow-marginBottom:scrollSpaceBelow-marginBottom;return{placement:"bottom",maxHeight:constrainedHeight}}if(preferredPlacement==="auto"||isFixedPosition){var _constrainedHeight=preferredMaxHeight;var spaceAbove=isFixedPosition?viewSpaceAbove:scrollSpaceAbove;if(spaceAbove>=minHeight){_constrainedHeight=Math.min(spaceAbove-marginBottom-controlHeight2,preferredMaxHeight)}return{placement:"top",maxHeight:_constrainedHeight}}if(preferredPlacement==="bottom"){if(shouldScroll){scrollTo(scrollParent,scrollDown)}return{placement:"bottom",maxHeight:preferredMaxHeight}}break;case"top":if(viewSpaceAbove>=menuHeight){return{placement:"top",maxHeight:preferredMaxHeight}}if(scrollSpaceAbove>=menuHeight&&!isFixedPosition){if(shouldScroll){animatedScrollTo(scrollParent,scrollUp,scrollDuration)}return{placement:"top",maxHeight:preferredMaxHeight}}if(!isFixedPosition&&scrollSpaceAbove>=minHeight||isFixedPosition&&viewSpaceAbove>=minHeight){var _constrainedHeight2=preferredMaxHeight;if(!isFixedPosition&&scrollSpaceAbove>=minHeight||isFixedPosition&&viewSpaceAbove>=minHeight){_constrainedHeight2=isFixedPosition?viewSpaceAbove-marginTop:scrollSpaceAbove-marginTop}if(shouldScroll){animatedScrollTo(scrollParent,scrollUp,scrollDuration)}return{placement:"top",maxHeight:_constrainedHeight2}}return{placement:"bottom",maxHeight:preferredMaxHeight};default:throw new Error('Invalid placement provided "'.concat(preferredPlacement,'".'))}return defaultState}function alignToControl(placement){var placementToCSSProp={bottom:"top",top:"bottom"};return placement?placementToCSSProp[placement]:"bottom"}var coercePlacement=function coercePlacement2(p2){return p2==="auto"?"bottom":p2};var menuCSS=function menuCSS2(_ref22,unstyled){var _objectSpread2$1;var placement=_ref22.placement,_ref2$theme=_ref22.theme,borderRadius2=_ref2$theme.borderRadius,spacing2=_ref2$theme.spacing,colors2=_ref2$theme.colors;return _objectSpread2((_objectSpread2$1={label:"menu"},_defineProperty(_objectSpread2$1,alignToControl(placement),"100%"),_defineProperty(_objectSpread2$1,"position","absolute"),_defineProperty(_objectSpread2$1,"width","100%"),_defineProperty(_objectSpread2$1,"zIndex",1),_objectSpread2$1),unstyled?{}:{backgroundColor:colors2.neutral0,borderRadius:borderRadius2,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:spacing2.menuGutter,marginTop:spacing2.menuGutter})};var PortalPlacementContext=reactExports.createContext(null);var MenuPlacer=function MenuPlacer2(props){var children=props.children,minMenuHeight=props.minMenuHeight,maxMenuHeight=props.maxMenuHeight,menuPlacement=props.menuPlacement,menuPosition=props.menuPosition,menuShouldScrollIntoView=props.menuShouldScrollIntoView,theme=props.theme;var _ref3=reactExports.useContext(PortalPlacementContext)||{},setPortalPlacement=_ref3.setPortalPlacement;var ref=reactExports.useRef(null);var _useState=reactExports.useState(maxMenuHeight),_useState2=_slicedToArray(_useState,2),maxHeight=_useState2[0],setMaxHeight=_useState2[1];var _useState3=reactExports.useState(null),_useState4=_slicedToArray(_useState3,2),placement=_useState4[0],setPlacement=_useState4[1];var controlHeight2=theme.spacing.controlHeight;index((function(){var menuEl=ref.current;if(!menuEl)return;var isFixedPosition=menuPosition==="fixed";var shouldScroll=menuShouldScrollIntoView&&!isFixedPosition;var state=getMenuPlacement({maxHeight:maxMenuHeight,menuEl:menuEl,minHeight:minMenuHeight,placement:menuPlacement,shouldScroll:shouldScroll,isFixedPosition:isFixedPosition,controlHeight:controlHeight2});setMaxHeight(state.maxHeight);setPlacement(state.placement);setPortalPlacement===null||setPortalPlacement===void 0?void 0:setPortalPlacement(state.placement)}),[maxMenuHeight,menuPlacement,menuPosition,menuShouldScrollIntoView,minMenuHeight,setPortalPlacement,controlHeight2]);return children({ref:ref,placerProps:_objectSpread2(_objectSpread2({},props),{},{placement:placement||coercePlacement(menuPlacement),maxHeight:maxHeight})})};var Menu=function Menu2(props){var children=props.children,innerRef=props.innerRef,innerProps=props.innerProps;return jsx("div",_extends({},getStyleProps(props,"menu",{menu:true}),{ref:innerRef},innerProps),children)};var Menu$1=Menu;var menuListCSS=function menuListCSS2(_ref4,unstyled){var maxHeight=_ref4.maxHeight,baseUnit2=_ref4.theme.spacing.baseUnit;return _objectSpread2({maxHeight:maxHeight,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},unstyled?{}:{paddingBottom:baseUnit2,paddingTop:baseUnit2})};var MenuList$1=function MenuList2(props){var children=props.children,innerProps=props.innerProps,innerRef=props.innerRef,isMulti=props.isMulti;return jsx("div",_extends({},getStyleProps(props,"menuList",{"menu-list":true,"menu-list--is-multi":isMulti}),{ref:innerRef},innerProps),children)};var noticeCSS=function noticeCSS2(_ref5,unstyled){var _ref5$theme=_ref5.theme,baseUnit2=_ref5$theme.spacing.baseUnit,colors2=_ref5$theme.colors;return _objectSpread2({textAlign:"center"},unstyled?{}:{color:colors2.neutral40,padding:"".concat(baseUnit2*2,"px ").concat(baseUnit2*3,"px")})};var noOptionsMessageCSS=noticeCSS;var loadingMessageCSS=noticeCSS;var NoOptionsMessage=function NoOptionsMessage2(_ref6){var _ref6$children=_ref6.children,children=_ref6$children===void 0?"No options":_ref6$children,innerProps=_ref6.innerProps,restProps=_objectWithoutProperties(_ref6,_excluded$3);return jsx("div",_extends({},getStyleProps(_objectSpread2(_objectSpread2({},restProps),{},{children:children,innerProps:innerProps}),"noOptionsMessage",{"menu-notice":true,"menu-notice--no-options":true}),innerProps),children)};var LoadingMessage=function LoadingMessage2(_ref7){var _ref7$children=_ref7.children,children=_ref7$children===void 0?"Loading...":_ref7$children,innerProps=_ref7.innerProps,restProps=_objectWithoutProperties(_ref7,_excluded2$1);return jsx("div",_extends({},getStyleProps(_objectSpread2(_objectSpread2({},restProps),{},{children:children,innerProps:innerProps}),"loadingMessage",{"menu-notice":true,"menu-notice--loading":true}),innerProps),children)};var menuPortalCSS=function menuPortalCSS2(_ref8){var rect=_ref8.rect,offset=_ref8.offset,position2=_ref8.position;return{left:rect.left,position:position2,top:offset,width:rect.width,zIndex:1}};var MenuPortal=function MenuPortal2(props){var appendTo=props.appendTo,children=props.children,controlElement=props.controlElement,innerProps=props.innerProps,menuPlacement=props.menuPlacement,menuPosition=props.menuPosition;var menuPortalRef=reactExports.useRef(null);var cleanupRef=reactExports.useRef(null);var _useState5=reactExports.useState(coercePlacement(menuPlacement)),_useState6=_slicedToArray(_useState5,2),placement=_useState6[0],setPortalPlacement=_useState6[1];var portalPlacementContext=reactExports.useMemo((function(){return{setPortalPlacement:setPortalPlacement}}),[]);var _useState7=reactExports.useState(null),_useState8=_slicedToArray(_useState7,2),computedPosition=_useState8[0],setComputedPosition=_useState8[1];var updateComputedPosition=reactExports.useCallback((function(){if(!controlElement)return;var rect=getBoundingClientObj(controlElement);var scrollDistance=menuPosition==="fixed"?0:window.pageYOffset;var offset=rect[placement]+scrollDistance;if(offset!==(computedPosition===null||computedPosition===void 0?void 0:computedPosition.offset)||rect.left!==(computedPosition===null||computedPosition===void 0?void 0:computedPosition.rect.left)||rect.width!==(computedPosition===null||computedPosition===void 0?void 0:computedPosition.rect.width)){setComputedPosition({offset:offset,rect:rect})}}),[controlElement,menuPosition,placement,computedPosition===null||computedPosition===void 0?void 0:computedPosition.offset,computedPosition===null||computedPosition===void 0?void 0:computedPosition.rect.left,computedPosition===null||computedPosition===void 0?void 0:computedPosition.rect.width]);index((function(){updateComputedPosition()}),[updateComputedPosition]);var runAutoUpdate=reactExports.useCallback((function(){if(typeof cleanupRef.current==="function"){cleanupRef.current();cleanupRef.current=null}if(controlElement&&menuPortalRef.current){cleanupRef.current=autoUpdate(controlElement,menuPortalRef.current,updateComputedPosition,{elementResize:"ResizeObserver"in window})}}),[controlElement,updateComputedPosition]);index((function(){runAutoUpdate()}),[runAutoUpdate]);var setMenuPortalElement=reactExports.useCallback((function(menuPortalElement){menuPortalRef.current=menuPortalElement;runAutoUpdate()}),[runAutoUpdate]);if(!appendTo&&menuPosition!=="fixed"||!computedPosition)return null;var menuWrapper=jsx("div",_extends({ref:setMenuPortalElement},getStyleProps(_objectSpread2(_objectSpread2({},props),{},{offset:computedPosition.offset,position:menuPosition,rect:computedPosition.rect}),"menuPortal",{"menu-portal":true}),innerProps),children);return jsx(PortalPlacementContext.Provider,{value:portalPlacementContext},appendTo?reactDomExports.createPortal(menuWrapper,appendTo):menuWrapper)};var containerCSS=function containerCSS2(_ref3){var isDisabled=_ref3.isDisabled,isRtl=_ref3.isRtl;return{label:"container",direction:isRtl?"rtl":void 0,pointerEvents:isDisabled?"none":void 0,position:"relative"}};var SelectContainer=function SelectContainer2(props){var children=props.children,innerProps=props.innerProps,isDisabled=props.isDisabled,isRtl=props.isRtl;return jsx("div",_extends({},getStyleProps(props,"container",{"--is-disabled":isDisabled,"--is-rtl":isRtl}),innerProps),children)};var valueContainerCSS=function valueContainerCSS2(_ref22,unstyled){var spacing2=_ref22.theme.spacing,isMulti=_ref22.isMulti,hasValue=_ref22.hasValue,controlShouldRenderValue=_ref22.selectProps.controlShouldRenderValue;return _objectSpread2({alignItems:"center",display:isMulti&&hasValue&&controlShouldRenderValue?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},unstyled?{}:{padding:"".concat(spacing2.baseUnit/2,"px ").concat(spacing2.baseUnit*2,"px")})};var ValueContainer$1=function ValueContainer2(props){var children=props.children,innerProps=props.innerProps,isMulti=props.isMulti,hasValue=props.hasValue;return jsx("div",_extends({},getStyleProps(props,"valueContainer",{"value-container":true,"value-container--is-multi":isMulti,"value-container--has-value":hasValue}),innerProps),children)};var indicatorsContainerCSS=function indicatorsContainerCSS2(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}};var IndicatorsContainer$1=function IndicatorsContainer2(props){var children=props.children,innerProps=props.innerProps;return jsx("div",_extends({},getStyleProps(props,"indicatorsContainer",{indicators:true}),innerProps),children)};var _templateObject;var _excluded$2$1=["size"],_excluded2=["innerProps","isRtl","size"];var _ref2$2={name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"};var Svg=function Svg2(_ref3){var size=_ref3.size,props=_objectWithoutProperties(_ref3,_excluded$2$1);return jsx("svg",_extends({height:size,width:size,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:_ref2$2},props))};var CrossIcon=function CrossIcon2(props){return jsx(Svg,_extends({size:20},props),jsx("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"}))};var DownChevron=function DownChevron2(props){return jsx(Svg,_extends({size:20},props),jsx("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"}))};var baseCSS=function baseCSS2(_ref3,unstyled){var isFocused=_ref3.isFocused,_ref3$theme=_ref3.theme,baseUnit2=_ref3$theme.spacing.baseUnit,colors2=_ref3$theme.colors;return _objectSpread2({label:"indicatorContainer",display:"flex",transition:"color 150ms"},unstyled?{}:{color:isFocused?colors2.neutral60:colors2.neutral20,padding:baseUnit2*2,":hover":{color:isFocused?colors2.neutral80:colors2.neutral40}})};var dropdownIndicatorCSS=baseCSS;var DropdownIndicator=function DropdownIndicator2(props){var children=props.children,innerProps=props.innerProps;return jsx("div",_extends({},getStyleProps(props,"dropdownIndicator",{indicator:true,"dropdown-indicator":true}),innerProps),children||jsx(DownChevron,null))};var clearIndicatorCSS=baseCSS;var ClearIndicator=function ClearIndicator2(props){var children=props.children,innerProps=props.innerProps;return jsx("div",_extends({},getStyleProps(props,"clearIndicator",{indicator:true,"clear-indicator":true}),innerProps),children||jsx(CrossIcon,null))};var indicatorSeparatorCSS=function indicatorSeparatorCSS2(_ref4,unstyled){var isDisabled=_ref4.isDisabled,_ref4$theme=_ref4.theme,baseUnit2=_ref4$theme.spacing.baseUnit,colors2=_ref4$theme.colors;return _objectSpread2({label:"indicatorSeparator",alignSelf:"stretch",width:1},unstyled?{}:{backgroundColor:isDisabled?colors2.neutral10:colors2.neutral20,marginBottom:baseUnit2*2,marginTop:baseUnit2*2})};var IndicatorSeparator=function IndicatorSeparator2(props){var innerProps=props.innerProps;return jsx("span",_extends({},innerProps,getStyleProps(props,"indicatorSeparator",{"indicator-separator":true})))};var loadingDotAnimations=keyframes(_templateObject||(_templateObject=_taggedTemplateLiteral(["\n 0%, 80%, 100% { opacity: 0; }\n 40% { opacity: 1; }\n"])));var loadingIndicatorCSS=function loadingIndicatorCSS2(_ref5,unstyled){var isFocused=_ref5.isFocused,size=_ref5.size,_ref5$theme=_ref5.theme,colors2=_ref5$theme.colors,baseUnit2=_ref5$theme.spacing.baseUnit;return _objectSpread2({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:size,lineHeight:1,marginRight:size,textAlign:"center",verticalAlign:"middle"},unstyled?{}:{color:isFocused?colors2.neutral60:colors2.neutral20,padding:baseUnit2*2})};var LoadingDot=function LoadingDot2(_ref6){var delay=_ref6.delay,offset=_ref6.offset;return jsx("span",{css:css({animation:"".concat(loadingDotAnimations," 1s ease-in-out ").concat(delay,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:offset?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},"","")})};var LoadingIndicator=function LoadingIndicator2(_ref7){var innerProps=_ref7.innerProps,isRtl=_ref7.isRtl,_ref7$size=_ref7.size,size=_ref7$size===void 0?4:_ref7$size,restProps=_objectWithoutProperties(_ref7,_excluded2);return jsx("div",_extends({},getStyleProps(_objectSpread2(_objectSpread2({},restProps),{},{innerProps:innerProps,isRtl:isRtl,size:size}),"loadingIndicator",{indicator:true,"loading-indicator":true}),innerProps),jsx(LoadingDot,{delay:0,offset:isRtl}),jsx(LoadingDot,{delay:160,offset:true}),jsx(LoadingDot,{delay:320,offset:!isRtl}))};var css$1=function css2(_ref3,unstyled){var isDisabled=_ref3.isDisabled,isFocused=_ref3.isFocused,_ref$theme=_ref3.theme,colors2=_ref$theme.colors,borderRadius2=_ref$theme.borderRadius,spacing2=_ref$theme.spacing;return _objectSpread2({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:spacing2.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},unstyled?{}:{backgroundColor:isDisabled?colors2.neutral5:colors2.neutral0,borderColor:isDisabled?colors2.neutral10:isFocused?colors2.primary:colors2.neutral20,borderRadius:borderRadius2,borderStyle:"solid",borderWidth:1,boxShadow:isFocused?"0 0 0 1px ".concat(colors2.primary):void 0,"&:hover":{borderColor:isFocused?colors2.primary:colors2.neutral30}})};var Control=function Control2(props){var children=props.children,isDisabled=props.isDisabled,isFocused=props.isFocused,innerRef=props.innerRef,innerProps=props.innerProps,menuIsOpen=props.menuIsOpen;return jsx("div",_extends({ref:innerRef},getStyleProps(props,"control",{control:true,"control--is-disabled":isDisabled,"control--is-focused":isFocused,"control--menu-is-open":menuIsOpen}),innerProps,{"aria-disabled":isDisabled||void 0}),children)};var Control$1=Control;var _excluded$1$1=["data"];var groupCSS=function groupCSS2(_ref3,unstyled){var spacing2=_ref3.theme.spacing;return unstyled?{}:{paddingBottom:spacing2.baseUnit*2,paddingTop:spacing2.baseUnit*2}};var Group=function Group2(props){var children=props.children,cx=props.cx,getStyles=props.getStyles,getClassNames=props.getClassNames,Heading=props.Heading,headingProps=props.headingProps,innerProps=props.innerProps,label=props.label,theme=props.theme,selectProps=props.selectProps;return jsx("div",_extends({},getStyleProps(props,"group",{group:true}),innerProps),jsx(Heading,_extends({},headingProps,{selectProps:selectProps,theme:theme,getStyles:getStyles,getClassNames:getClassNames,cx:cx}),label),jsx("div",null,children))};var groupHeadingCSS=function groupHeadingCSS2(_ref22,unstyled){var _ref2$theme=_ref22.theme,colors2=_ref2$theme.colors,spacing2=_ref2$theme.spacing;return _objectSpread2({label:"group",cursor:"default",display:"block"},unstyled?{}:{color:colors2.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:spacing2.baseUnit*3,paddingRight:spacing2.baseUnit*3,textTransform:"uppercase"})};var GroupHeading=function GroupHeading2(props){var _cleanCommonProps=cleanCommonProps(props);_cleanCommonProps.data;var innerProps=_objectWithoutProperties(_cleanCommonProps,_excluded$1$1);return jsx("div",_extends({},getStyleProps(props,"groupHeading",{"group-heading":true}),innerProps))};var Group$1=Group;var _excluded$5=["innerRef","isDisabled","isHidden","inputClassName"];var inputCSS=function inputCSS2(_ref3,unstyled){var isDisabled=_ref3.isDisabled,value=_ref3.value,_ref$theme=_ref3.theme,spacing2=_ref$theme.spacing,colors2=_ref$theme.colors;return _objectSpread2(_objectSpread2({visibility:isDisabled?"hidden":"visible",transform:value?"translateZ(0)":""},containerStyle),unstyled?{}:{margin:spacing2.baseUnit/2,paddingBottom:spacing2.baseUnit/2,paddingTop:spacing2.baseUnit/2,color:colors2.neutral80})};var spacingStyle={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0};var containerStyle={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":_objectSpread2({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},spacingStyle)};var inputStyle=function inputStyle2(isHidden){return _objectSpread2({label:"input",color:"inherit",background:0,opacity:isHidden?0:1,width:"100%"},spacingStyle)};var Input=function Input2(props){var cx=props.cx,value=props.value;var _cleanCommonProps=cleanCommonProps(props),innerRef=_cleanCommonProps.innerRef,isDisabled=_cleanCommonProps.isDisabled,isHidden=_cleanCommonProps.isHidden,inputClassName=_cleanCommonProps.inputClassName,innerProps=_objectWithoutProperties(_cleanCommonProps,_excluded$5);return jsx("div",_extends({},getStyleProps(props,"input",{"input-container":true}),{"data-value":value||""}),jsx("input",_extends({className:cx({input:true},inputClassName),ref:innerRef,style:inputStyle(isHidden),disabled:isDisabled},innerProps)))};var Input$1=Input;var multiValueCSS=function multiValueCSS2(_ref3,unstyled){var _ref$theme=_ref3.theme,spacing2=_ref$theme.spacing,borderRadius2=_ref$theme.borderRadius,colors2=_ref$theme.colors;return _objectSpread2({label:"multiValue",display:"flex",minWidth:0},unstyled?{}:{backgroundColor:colors2.neutral10,borderRadius:borderRadius2/2,margin:spacing2.baseUnit/2})};var multiValueLabelCSS=function multiValueLabelCSS2(_ref22,unstyled){var _ref2$theme=_ref22.theme,borderRadius2=_ref2$theme.borderRadius,colors2=_ref2$theme.colors,cropWithEllipsis=_ref22.cropWithEllipsis;return _objectSpread2({overflow:"hidden",textOverflow:cropWithEllipsis||cropWithEllipsis===void 0?"ellipsis":void 0,whiteSpace:"nowrap"},unstyled?{}:{borderRadius:borderRadius2/2,color:colors2.neutral80,fontSize:"85%",padding:3,paddingLeft:6})};var multiValueRemoveCSS=function multiValueRemoveCSS2(_ref3,unstyled){var _ref3$theme=_ref3.theme,spacing2=_ref3$theme.spacing,borderRadius2=_ref3$theme.borderRadius,colors2=_ref3$theme.colors,isFocused=_ref3.isFocused;return _objectSpread2({alignItems:"center",display:"flex"},unstyled?{}:{borderRadius:borderRadius2/2,backgroundColor:isFocused?colors2.dangerLight:void 0,paddingLeft:spacing2.baseUnit,paddingRight:spacing2.baseUnit,":hover":{backgroundColor:colors2.dangerLight,color:colors2.danger}})};var MultiValueGeneric=function MultiValueGeneric2(_ref4){var children=_ref4.children,innerProps=_ref4.innerProps;return jsx("div",innerProps,children)};var MultiValueContainer=MultiValueGeneric;var MultiValueLabel=MultiValueGeneric;function MultiValueRemove(_ref5){var children=_ref5.children,innerProps=_ref5.innerProps;return jsx("div",_extends({role:"button"},innerProps),children||jsx(CrossIcon,{size:14}))}var MultiValue$1=function MultiValue2(props){var children=props.children,components2=props.components,data=props.data,innerProps=props.innerProps,isDisabled=props.isDisabled,removeProps3=props.removeProps,selectProps=props.selectProps;var Container=components2.Container,Label=components2.Label,Remove=components2.Remove;return jsx(Container,{data:data,innerProps:_objectSpread2(_objectSpread2({},getStyleProps(props,"multiValue",{"multi-value":true,"multi-value--is-disabled":isDisabled})),innerProps),selectProps:selectProps},jsx(Label,{data:data,innerProps:_objectSpread2({},getStyleProps(props,"multiValueLabel",{"multi-value__label":true})),selectProps:selectProps},children),jsx(Remove,{data:data,innerProps:_objectSpread2(_objectSpread2({},getStyleProps(props,"multiValueRemove",{"multi-value__remove":true})),{},{"aria-label":"Remove ".concat(children||"option")},removeProps3),selectProps:selectProps}))};var MultiValue$1$1=MultiValue$1;var optionCSS=function optionCSS2(_ref3,unstyled){var isDisabled=_ref3.isDisabled,isFocused=_ref3.isFocused,isSelected=_ref3.isSelected,_ref$theme=_ref3.theme,spacing2=_ref$theme.spacing,colors2=_ref$theme.colors;return _objectSpread2({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},unstyled?{}:{backgroundColor:isSelected?colors2.primary:isFocused?colors2.primary25:"transparent",color:isDisabled?colors2.neutral20:isSelected?colors2.neutral0:"inherit",padding:"".concat(spacing2.baseUnit*2,"px ").concat(spacing2.baseUnit*3,"px"),":active":{backgroundColor:!isDisabled?isSelected?colors2.primary:colors2.primary50:void 0}})};var Option$1=function Option2(props){var children=props.children,isDisabled=props.isDisabled,isFocused=props.isFocused,isSelected=props.isSelected,innerRef=props.innerRef,innerProps=props.innerProps;return jsx("div",_extends({},getStyleProps(props,"option",{option:true,"option--is-disabled":isDisabled,"option--is-focused":isFocused,"option--is-selected":isSelected}),{ref:innerRef,"aria-disabled":isDisabled},innerProps),children)};var Option$1$1=Option$1;var placeholderCSS=function placeholderCSS2(_ref3,unstyled){var _ref$theme=_ref3.theme,spacing2=_ref$theme.spacing,colors2=_ref$theme.colors;return _objectSpread2({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},unstyled?{}:{color:colors2.neutral50,marginLeft:spacing2.baseUnit/2,marginRight:spacing2.baseUnit/2})};var Placeholder$1=function Placeholder2(props){var children=props.children,innerProps=props.innerProps;return jsx("div",_extends({},getStyleProps(props,"placeholder",{placeholder:true}),innerProps),children)};var Placeholder$1$1=Placeholder$1;var css22=function css3(_ref3,unstyled){var isDisabled=_ref3.isDisabled,_ref$theme=_ref3.theme,spacing2=_ref$theme.spacing,colors2=_ref$theme.colors;return _objectSpread2({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},unstyled?{}:{color:isDisabled?colors2.neutral40:colors2.neutral80,marginLeft:spacing2.baseUnit/2,marginRight:spacing2.baseUnit/2})};var SingleValue=function SingleValue2(props){var children=props.children,isDisabled=props.isDisabled,innerProps=props.innerProps;return jsx("div",_extends({},getStyleProps(props,"singleValue",{"single-value":true,"single-value--is-disabled":isDisabled}),innerProps),children)};var SingleValue$1=SingleValue;var components={ClearIndicator:ClearIndicator,Control:Control$1,DropdownIndicator:DropdownIndicator,DownChevron:DownChevron,CrossIcon:CrossIcon,Group:Group$1,GroupHeading:GroupHeading,IndicatorsContainer:IndicatorsContainer$1,IndicatorSeparator:IndicatorSeparator,Input:Input$1,LoadingIndicator:LoadingIndicator,Menu:Menu$1,MenuList:MenuList$1,MenuPortal:MenuPortal,LoadingMessage:LoadingMessage,NoOptionsMessage:NoOptionsMessage,MultiValue:MultiValue$1$1,MultiValueContainer:MultiValueContainer,MultiValueLabel:MultiValueLabel,MultiValueRemove:MultiValueRemove,Option:Option$1$1,Placeholder:Placeholder$1$1,SelectContainer:SelectContainer,SingleValue:SingleValue$1,ValueContainer:ValueContainer$1};var defaultComponents=function defaultComponents2(props){return _objectSpread2(_objectSpread2({},components),props.components)};var safeIsNaN=Number.isNaN||function ponyfill(value){return typeof value==="number"&&value!==value};function isEqual2(first,second){if(first===second){return true}if(safeIsNaN(first)&&safeIsNaN(second)){return true}return false}function areInputsEqual(newInputs,lastInputs){if(newInputs.length!==lastInputs.length){return false}for(var i=0;i<newInputs.length;i++){if(!isEqual2(newInputs[i],lastInputs[i])){return false}}return true}function memoizeOne(resultFn,isEqual3){if(isEqual3===void 0){isEqual3=areInputsEqual}var cache=null;function memoized(){var newArgs=[];for(var _i=0;_i<arguments.length;_i++){newArgs[_i]=arguments[_i]}if(cache&&cache.lastThis===this&&isEqual3(newArgs,cache.lastArgs)){return cache.lastResult}var lastResult=resultFn.apply(this,newArgs);cache={lastResult:lastResult,lastArgs:newArgs,lastThis:this};return lastResult}memoized.clear=function clear(){cache=null};return memoized}var _ref={name:"7pg0cj-a11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap"};var A11yText=function A11yText2(props){return jsx("span",_extends({css:_ref},props))};var A11yText$1=A11yText;var defaultAriaLiveMessages={guidance:function guidance(props){var isSearchable=props.isSearchable,isMulti=props.isMulti,tabSelectsValue=props.tabSelectsValue,context=props.context,isInitialFocus=props.isInitialFocus;switch(context){case"menu":return"Use Up and Down to choose options, press Enter to select the currently focused option, press Escape to exit the menu".concat(tabSelectsValue?", press Tab to select the option and exit the menu":"",".");case"input":return isInitialFocus?"".concat(props["aria-label"]||"Select"," is focused ").concat(isSearchable?",type to refine list":"",", press Down to open the menu, ").concat(isMulti?" press left to focus selected values":""):"";case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value";default:return""}},onChange:function onChange(props){var action=props.action,_props$label=props.label,label=_props$label===void 0?"":_props$label,labels=props.labels,isDisabled=props.isDisabled;switch(action){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(label,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(labels.length>1?"s":""," ").concat(labels.join(","),", selected.");case"select-option":return isDisabled?"option ".concat(label," is disabled. Select another option."):"option ".concat(label,", selected.");default:return""}},onFocus:function onFocus(props){var context=props.context,focused=props.focused,options2=props.options,_props$label2=props.label,label=_props$label2===void 0?"":_props$label2,selectValue=props.selectValue,isDisabled=props.isDisabled,isSelected=props.isSelected,isAppleDevice2=props.isAppleDevice;var getArrayIndex=function getArrayIndex2(arr,item){return arr&&arr.length?"".concat(arr.indexOf(item)+1," of ").concat(arr.length):""};if(context==="value"&&selectValue){return"value ".concat(label," focused, ").concat(getArrayIndex(selectValue,focused),".")}if(context==="menu"&&isAppleDevice2){var disabled=isDisabled?" disabled":"";var status="".concat(isSelected?" selected":"").concat(disabled);return"".concat(label).concat(status,", ").concat(getArrayIndex(options2,focused),".")}return""},onFilter:function onFilter(props){var inputValue=props.inputValue,resultsMessage=props.resultsMessage;return"".concat(resultsMessage).concat(inputValue?" for search term "+inputValue:"",".")}};var LiveRegion=function LiveRegion2(props){var ariaSelection=props.ariaSelection,focusedOption=props.focusedOption,focusedValue=props.focusedValue,focusableOptions=props.focusableOptions,isFocused=props.isFocused,selectValue=props.selectValue,selectProps=props.selectProps,id2=props.id,isAppleDevice2=props.isAppleDevice;var ariaLiveMessages=selectProps.ariaLiveMessages,getOptionLabel4=selectProps.getOptionLabel,inputValue=selectProps.inputValue,isMulti=selectProps.isMulti,isOptionDisabled3=selectProps.isOptionDisabled,isSearchable=selectProps.isSearchable,menuIsOpen=selectProps.menuIsOpen,options2=selectProps.options,screenReaderStatus2=selectProps.screenReaderStatus,tabSelectsValue=selectProps.tabSelectsValue,isLoading=selectProps.isLoading;var ariaLabel=selectProps["aria-label"];var ariaLive=selectProps["aria-live"];var messages=reactExports.useMemo((function(){return _objectSpread2(_objectSpread2({},defaultAriaLiveMessages),ariaLiveMessages||{})}),[ariaLiveMessages]);var ariaSelected=reactExports.useMemo((function(){var message="";if(ariaSelection&&messages.onChange){var option=ariaSelection.option,selectedOptions=ariaSelection.options,removedValue=ariaSelection.removedValue,removedValues=ariaSelection.removedValues,value=ariaSelection.value;var asOption=function asOption2(val){return!Array.isArray(val)?val:null};var selected=removedValue||option||asOption(value);var label=selected?getOptionLabel4(selected):"";var multiSelected=selectedOptions||removedValues||void 0;var labels=multiSelected?multiSelected.map(getOptionLabel4):[];var onChangeProps=_objectSpread2({isDisabled:selected&&isOptionDisabled3(selected,selectValue),label:label,labels:labels},ariaSelection);message=messages.onChange(onChangeProps)}return message}),[ariaSelection,messages,isOptionDisabled3,selectValue,getOptionLabel4]);var ariaFocused=reactExports.useMemo((function(){var focusMsg="";var focused=focusedOption||focusedValue;var isSelected=!!(focusedOption&&selectValue&&selectValue.includes(focusedOption));if(focused&&messages.onFocus){var onFocusProps={focused:focused,label:getOptionLabel4(focused),isDisabled:isOptionDisabled3(focused,selectValue),isSelected:isSelected,options:focusableOptions,context:focused===focusedOption?"menu":"value",selectValue:selectValue,isAppleDevice:isAppleDevice2};focusMsg=messages.onFocus(onFocusProps)}return focusMsg}),[focusedOption,focusedValue,getOptionLabel4,isOptionDisabled3,messages,focusableOptions,selectValue,isAppleDevice2]);var ariaResults=reactExports.useMemo((function(){var resultsMsg="";if(menuIsOpen&&options2.length&&!isLoading&&messages.onFilter){var resultsMessage=screenReaderStatus2({count:focusableOptions.length});resultsMsg=messages.onFilter({inputValue:inputValue,resultsMessage:resultsMessage})}return resultsMsg}),[focusableOptions,inputValue,menuIsOpen,messages,options2,screenReaderStatus2,isLoading]);var isInitialFocus=(ariaSelection===null||ariaSelection===void 0?void 0:ariaSelection.action)==="initial-input-focus";var ariaGuidance=reactExports.useMemo((function(){var guidanceMsg="";if(messages.guidance){var context=focusedValue?"value":menuIsOpen?"menu":"input";guidanceMsg=messages.guidance({"aria-label":ariaLabel,context:context,isDisabled:focusedOption&&isOptionDisabled3(focusedOption,selectValue),isMulti:isMulti,isSearchable:isSearchable,tabSelectsValue:tabSelectsValue,isInitialFocus:isInitialFocus})}return guidanceMsg}),[ariaLabel,focusedOption,focusedValue,isMulti,isOptionDisabled3,isSearchable,menuIsOpen,messages,selectValue,tabSelectsValue,isInitialFocus]);var ScreenReaderText=jsx(reactExports.Fragment,null,jsx("span",{id:"aria-selection"},ariaSelected),jsx("span",{id:"aria-focused"},ariaFocused),jsx("span",{id:"aria-results"},ariaResults),jsx("span",{id:"aria-guidance"},ariaGuidance));return jsx(reactExports.Fragment,null,jsx(A11yText$1,{id:id2},isInitialFocus&&ScreenReaderText),jsx(A11yText$1,{"aria-live":ariaLive,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},isFocused&&!isInitialFocus&&ScreenReaderText))};var LiveRegion$1=LiveRegion;var diacritics=[{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źẑżžẓẕƶȥɀⱬꝣ"}];var anyDiacritic=new RegExp("["+diacritics.map((function(d2){return d2.letters})).join("")+"]","g");var diacriticToBase={};for(var i=0;i<diacritics.length;i++){var diacritic=diacritics[i];for(var j=0;j<diacritic.letters.length;j++){diacriticToBase[diacritic.letters[j]]=diacritic.base}}var stripDiacritics=function stripDiacritics2(str){return str.replace(anyDiacritic,(function(match2){return diacriticToBase[match2]}))};var memoizedStripDiacriticsForInput=memoizeOne(stripDiacritics);var trimString=function trimString2(str){return str.replace(/^\s+|\s+$/g,"")};var defaultStringify=function defaultStringify2(option){return"".concat(option.label," ").concat(option.value)};var createFilter=function createFilter2(config){return function(option,rawInput){if(option.data.__isNew__)return true;var _ignoreCase$ignoreAcc=_objectSpread2({ignoreCase:true,ignoreAccents:true,stringify:defaultStringify,trim:true,matchFrom:"any"},config),ignoreCase=_ignoreCase$ignoreAcc.ignoreCase,ignoreAccents=_ignoreCase$ignoreAcc.ignoreAccents,stringify2=_ignoreCase$ignoreAcc.stringify,trim2=_ignoreCase$ignoreAcc.trim,matchFrom=_ignoreCase$ignoreAcc.matchFrom;var input=trim2?trimString(rawInput):rawInput;var candidate=trim2?trimString(stringify2(option)):stringify2(option);if(ignoreCase){input=input.toLowerCase();candidate=candidate.toLowerCase()}if(ignoreAccents){input=memoizedStripDiacriticsForInput(input);candidate=stripDiacritics(candidate)}return matchFrom==="start"?candidate.substr(0,input.length)===input:candidate.indexOf(input)>-1}};var _excluded$2=["innerRef"];function DummyInput(_ref3){var innerRef=_ref3.innerRef,props=_objectWithoutProperties(_ref3,_excluded$2);var filteredProps=removeProps(props,"onExited","in","enter","exit","appear");return jsx("input",_extends({ref:innerRef},filteredProps,{css:css({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 cancelScroll=function cancelScroll2(event2){if(event2.cancelable)event2.preventDefault();event2.stopPropagation()};function useScrollCapture(_ref3){var isEnabled=_ref3.isEnabled,onBottomArrive=_ref3.onBottomArrive,onBottomLeave=_ref3.onBottomLeave,onTopArrive=_ref3.onTopArrive,onTopLeave=_ref3.onTopLeave;var isBottom=reactExports.useRef(false);var isTop=reactExports.useRef(false);var touchStart=reactExports.useRef(0);var scrollTarget=reactExports.useRef(null);var handleEventDelta=reactExports.useCallback((function(event2,delta){if(scrollTarget.current===null)return;var _scrollTarget$current=scrollTarget.current,scrollTop=_scrollTarget$current.scrollTop,scrollHeight=_scrollTarget$current.scrollHeight,clientHeight=_scrollTarget$current.clientHeight;var target=scrollTarget.current;var isDeltaPositive=delta>0;var availableScroll=scrollHeight-clientHeight-scrollTop;var shouldCancelScroll=false;if(availableScroll>delta&&isBottom.current){if(onBottomLeave)onBottomLeave(event2);isBottom.current=false}if(isDeltaPositive&&isTop.current){if(onTopLeave)onTopLeave(event2);isTop.current=false}if(isDeltaPositive&&delta>availableScroll){if(onBottomArrive&&!isBottom.current){onBottomArrive(event2)}target.scrollTop=scrollHeight;shouldCancelScroll=true;isBottom.current=true}else if(!isDeltaPositive&&-delta>scrollTop){if(onTopArrive&&!isTop.current){onTopArrive(event2)}target.scrollTop=0;shouldCancelScroll=true;isTop.current=true}if(shouldCancelScroll){cancelScroll(event2)}}),[onBottomArrive,onBottomLeave,onTopArrive,onTopLeave]);var onWheel=reactExports.useCallback((function(event2){handleEventDelta(event2,event2.deltaY)}),[handleEventDelta]);var onTouchStart=reactExports.useCallback((function(event2){touchStart.current=event2.changedTouches[0].clientY}),[]);var onTouchMove=reactExports.useCallback((function(event2){var deltaY=touchStart.current-event2.changedTouches[0].clientY;handleEventDelta(event2,deltaY)}),[handleEventDelta]);var startListening=reactExports.useCallback((function(el){if(!el)return;var notPassive=supportsPassiveEvents?{passive:false}:false;el.addEventListener("wheel",onWheel,notPassive);el.addEventListener("touchstart",onTouchStart,notPassive);el.addEventListener("touchmove",onTouchMove,notPassive)}),[onTouchMove,onTouchStart,onWheel]);var stopListening=reactExports.useCallback((function(el){if(!el)return;el.removeEventListener("wheel",onWheel,false);el.removeEventListener("touchstart",onTouchStart,false);el.removeEventListener("touchmove",onTouchMove,false)}),[onTouchMove,onTouchStart,onWheel]);reactExports.useEffect((function(){if(!isEnabled)return;var element=scrollTarget.current;startListening(element);return function(){stopListening(element)}}),[isEnabled,startListening,stopListening]);return function(element){scrollTarget.current=element}}var STYLE_KEYS=["boxSizing","height","overflow","paddingRight","position"];var LOCK_STYLES={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function preventTouchMove(e2){e2.preventDefault()}function allowTouchMove(e2){e2.stopPropagation()}function preventInertiaScroll(){var top=this.scrollTop;var totalScroll=this.scrollHeight;var currentScroll=top+this.offsetHeight;if(top===0){this.scrollTop=1}else if(currentScroll===totalScroll){this.scrollTop=top-1}}function isTouchDevice(){return"ontouchstart"in window||navigator.maxTouchPoints}var canUseDOM=!!(typeof window!=="undefined"&&window.document&&window.document.createElement);var activeScrollLocks=0;var listenerOptions={capture:false,passive:false};function useScrollLock(_ref3){var isEnabled=_ref3.isEnabled,_ref$accountForScroll=_ref3.accountForScrollbars,accountForScrollbars=_ref$accountForScroll===void 0?true:_ref$accountForScroll;var originalStyles=reactExports.useRef({});var scrollTarget=reactExports.useRef(null);var addScrollLock=reactExports.useCallback((function(touchScrollTarget){if(!canUseDOM)return;var target=document.body;var targetStyle=target&&target.style;if(accountForScrollbars){STYLE_KEYS.forEach((function(key){var val=targetStyle&&targetStyle[key];originalStyles.current[key]=val}))}if(accountForScrollbars&&activeScrollLocks<1){var currentPadding=parseInt(originalStyles.current.paddingRight,10)||0;var clientWidth=document.body?document.body.clientWidth:0;var adjustedPadding=window.innerWidth-clientWidth+currentPadding||0;Object.keys(LOCK_STYLES).forEach((function(key){var val=LOCK_STYLES[key];if(targetStyle){targetStyle[key]=val}}));if(targetStyle){targetStyle.paddingRight="".concat(adjustedPadding,"px")}}if(target&&isTouchDevice()){target.addEventListener("touchmove",preventTouchMove,listenerOptions);if(touchScrollTarget){touchScrollTarget.addEventListener("touchstart",preventInertiaScroll,listenerOptions);touchScrollTarget.addEventListener("touchmove",allowTouchMove,listenerOptions)}}activeScrollLocks+=1}),[accountForScrollbars]);var removeScrollLock=reactExports.useCallback((function(touchScrollTarget){if(!canUseDOM)return;var target=document.body;var targetStyle=target&&target.style;activeScrollLocks=Math.max(activeScrollLocks-1,0);if(accountForScrollbars&&activeScrollLocks<1){STYLE_KEYS.forEach((function(key){var val=originalStyles.current[key];if(targetStyle){targetStyle[key]=val}}))}if(target&&isTouchDevice()){target.removeEventListener("touchmove",preventTouchMove,listenerOptions);if(touchScrollTarget){touchScrollTarget.removeEventListener("touchstart",preventInertiaScroll,listenerOptions);touchScrollTarget.removeEventListener("touchmove",allowTouchMove,listenerOptions)}}}),[accountForScrollbars]);reactExports.useEffect((function(){if(!isEnabled)return;var element=scrollTarget.current;addScrollLock(element);return function(){removeScrollLock(element)}}),[isEnabled,addScrollLock,removeScrollLock]);return function(element){scrollTarget.current=element}}var blurSelectInput=function blurSelectInput2(event2){var element=event2.target;return element.ownerDocument.activeElement&&element.ownerDocument.activeElement.blur()};var _ref2$1={name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"};function ScrollManager(_ref3){var children=_ref3.children,lockEnabled=_ref3.lockEnabled,_ref$captureEnabled=_ref3.captureEnabled,captureEnabled=_ref$captureEnabled===void 0?true:_ref$captureEnabled,onBottomArrive=_ref3.onBottomArrive,onBottomLeave=_ref3.onBottomLeave,onTopArrive=_ref3.onTopArrive,onTopLeave=_ref3.onTopLeave;var setScrollCaptureTarget=useScrollCapture({isEnabled:captureEnabled,onBottomArrive:onBottomArrive,onBottomLeave:onBottomLeave,onTopArrive:onTopArrive,onTopLeave:onTopLeave});var setScrollLockTarget=useScrollLock({isEnabled:lockEnabled});var targetRef=function targetRef2(element){setScrollCaptureTarget(element);setScrollLockTarget(element)};return jsx(reactExports.Fragment,null,lockEnabled&&jsx("div",{onClick:blurSelectInput,css:_ref2$1}),children(targetRef))}var _ref2={name:"1a0ro4n-requiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"};var RequiredInput=function RequiredInput2(_ref3){var name2=_ref3.name,onFocus2=_ref3.onFocus;return jsx("input",{required:true,name:name2,tabIndex:-1,"aria-hidden":"true",onFocus:onFocus2,css:_ref2,value:"",onChange:function onChange2(){}})};var RequiredInput$1=RequiredInput;function testPlatform(re2){var _window$navigator$use;return typeof window!=="undefined"&&window.navigator!=null?re2.test(((_window$navigator$use=window.navigator["userAgentData"])===null||_window$navigator$use===void 0?void 0:_window$navigator$use.platform)||window.navigator.platform):false}function isIPhone(){return testPlatform(/^iPhone/i)}function isMac(){return testPlatform(/^Mac/i)}function isIPad(){return testPlatform(/^iPad/i)||isMac()&&navigator.maxTouchPoints>1}function isIOS(){return isIPhone()||isIPad()}function isAppleDevice(){return isMac()||isIOS()}var formatGroupLabel=function formatGroupLabel2(group){return group.label};var getOptionLabel$1=function getOptionLabel(option){return option.label};var getOptionValue$1=function getOptionValue(option){return option.value};var isOptionDisabled=function isOptionDisabled2(option){return!!option.isDisabled};var defaultStyles={clearIndicator:clearIndicatorCSS,container:containerCSS,control:css$1,dropdownIndicator:dropdownIndicatorCSS,group:groupCSS,groupHeading:groupHeadingCSS,indicatorsContainer:indicatorsContainerCSS,indicatorSeparator:indicatorSeparatorCSS,input:inputCSS,loadingIndicator:loadingIndicatorCSS,loadingMessage:loadingMessageCSS,menu:menuCSS,menuList:menuListCSS,menuPortal:menuPortalCSS,multiValue:multiValueCSS,multiValueLabel:multiValueLabelCSS,multiValueRemove:multiValueRemoveCSS,noOptionsMessage:noOptionsMessageCSS,option:optionCSS,placeholder:placeholderCSS,singleValue:css22,valueContainer:valueContainerCSS};var colors={primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"};var borderRadius=4;var baseUnit=4;var controlHeight=38;var menuGutter=baseUnit*2;var spacing={baseUnit:baseUnit,controlHeight:controlHeight,menuGutter:menuGutter};var defaultTheme={borderRadius:borderRadius,colors:colors,spacing:spacing};var defaultProps={"aria-live":"polite",backspaceRemovesValue:true,blurInputOnSelect:isTouchCapable(),captureMenuScroll:!isTouchCapable(),classNames:{},closeMenuOnSelect:true,closeMenuOnScroll:false,components:{},controlShouldRenderValue:true,escapeClearsValue:false,filterOption:createFilter(),formatGroupLabel:formatGroupLabel,getOptionLabel:getOptionLabel$1,getOptionValue:getOptionValue$1,isDisabled:false,isLoading:false,isMulti:false,isRtl:false,isSearchable:true,isOptionDisabled:isOptionDisabled,loadingMessage:function loadingMessage(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:false,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:false,menuShouldScrollIntoView:!isMobileDevice(),noOptionsMessage:function noOptionsMessage(){return"No options"},openMenuOnFocus:false,openMenuOnClick:true,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function screenReaderStatus(_ref3){var count2=_ref3.count;return"".concat(count2," result").concat(count2!==1?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:true,unstyled:false};function toCategorizedOption(props,option,selectValue,index2){var isDisabled=_isOptionDisabled(props,option,selectValue);var isSelected=_isOptionSelected(props,option,selectValue);var label=getOptionLabel2(props,option);var value=getOptionValue2(props,option);return{type:"option",data:option,isDisabled:isDisabled,isSelected:isSelected,label:label,value:value,index:index2}}function buildCategorizedOptions(props,selectValue){return props.options.map((function(groupOrOption,groupOrOptionIndex){if("options"in groupOrOption){var categorizedOptions=groupOrOption.options.map((function(option,optionIndex){return toCategorizedOption(props,option,selectValue,optionIndex)})).filter((function(categorizedOption2){return isFocusable(props,categorizedOption2)}));return categorizedOptions.length>0?{type:"group",data:groupOrOption,options:categorizedOptions,index:groupOrOptionIndex}:void 0}var categorizedOption=toCategorizedOption(props,groupOrOption,selectValue,groupOrOptionIndex);return isFocusable(props,categorizedOption)?categorizedOption:void 0})).filter(notNullish)}function buildFocusableOptionsFromCategorizedOptions(categorizedOptions){return categorizedOptions.reduce((function(optionsAccumulator,categorizedOption){if(categorizedOption.type==="group"){optionsAccumulator.push.apply(optionsAccumulator,_toConsumableArray(categorizedOption.options.map((function(option){return option.data}))))}else{optionsAccumulator.push(categorizedOption.data)}return optionsAccumulator}),[])}function buildFocusableOptionsWithIds(categorizedOptions,optionId){return categorizedOptions.reduce((function(optionsAccumulator,categorizedOption){if(categorizedOption.type==="group"){optionsAccumulator.push.apply(optionsAccumulator,_toConsumableArray(categorizedOption.options.map((function(option){return{data:option.data,id:"".concat(optionId,"-").concat(categorizedOption.index,"-").concat(option.index)}}))))}else{optionsAccumulator.push({data:categorizedOption.data,id:"".concat(optionId,"-").concat(categorizedOption.index)})}return optionsAccumulator}),[])}function buildFocusableOptions(props,selectValue){return buildFocusableOptionsFromCategorizedOptions(buildCategorizedOptions(props,selectValue))}function isFocusable(props,categorizedOption){var _props$inputValue=props.inputValue,inputValue=_props$inputValue===void 0?"":_props$inputValue;var data=categorizedOption.data,isSelected=categorizedOption.isSelected,label=categorizedOption.label,value=categorizedOption.value;return(!shouldHideSelectedOptions(props)||!isSelected)&&_filterOption(props,{label:label,value:value,data:data},inputValue)}function getNextFocusedValue(state,nextSelectValue){var focusedValue=state.focusedValue,lastSelectValue=state.selectValue;var lastFocusedIndex=lastSelectValue.indexOf(focusedValue);if(lastFocusedIndex>-1){var nextFocusedIndex=nextSelectValue.indexOf(focusedValue);if(nextFocusedIndex>-1){return focusedValue}else if(lastFocusedIndex<nextSelectValue.length){return nextSelectValue[lastFocusedIndex]}}return null}function getNextFocusedOption(state,options2){var lastFocusedOption=state.focusedOption;return lastFocusedOption&&options2.indexOf(lastFocusedOption)>-1?lastFocusedOption:options2[0]}var getFocusedOptionId=function getFocusedOptionId2(focusableOptionsWithIds,focusedOption){var _focusableOptionsWith;var focusedOptionId=(_focusableOptionsWith=focusableOptionsWithIds.find((function(option){return option.data===focusedOption})))===null||_focusableOptionsWith===void 0?void 0:_focusableOptionsWith.id;return focusedOptionId||null};var getOptionLabel2=function getOptionLabel3(props,data){return props.getOptionLabel(data)};var getOptionValue2=function getOptionValue3(props,data){return props.getOptionValue(data)};function _isOptionDisabled(props,option,selectValue){return typeof props.isOptionDisabled==="function"?props.isOptionDisabled(option,selectValue):false}function _isOptionSelected(props,option,selectValue){if(selectValue.indexOf(option)>-1)return true;if(typeof props.isOptionSelected==="function"){return props.isOptionSelected(option,selectValue)}var candidate=getOptionValue2(props,option);return selectValue.some((function(i){return getOptionValue2(props,i)===candidate}))}function _filterOption(props,option,inputValue){return props.filterOption?props.filterOption(option,inputValue):true}var shouldHideSelectedOptions=function shouldHideSelectedOptions2(props){var hideSelectedOptions=props.hideSelectedOptions,isMulti=props.isMulti;if(hideSelectedOptions===void 0)return isMulti;return hideSelectedOptions};var instanceId=1;var Select=function(_Component){_inherits(Select2,_Component);var _super=_createSuper(Select2);function Select2(_props){var _this;_classCallCheck(this,Select2);_this=_super.call(this,_props);_this.state={ariaSelection:null,focusedOption:null,focusedOptionId:null,focusableOptionsWithIds:[],focusedValue:null,inputIsHidden:false,isFocused:false,selectValue:[],clearFocusValueOnUpdate:false,prevWasFocused:false,inputIsHiddenAfterUpdate:void 0,prevProps:void 0,instancePrefix:""};_this.blockOptionHover=false;_this.isComposing=false;_this.commonProps=void 0;_this.initialTouchX=0;_this.initialTouchY=0;_this.openAfterFocus=false;_this.scrollToFocusedOptionOnUpdate=false;_this.userIsDragging=void 0;_this.isAppleDevice=isAppleDevice();_this.controlRef=null;_this.getControlRef=function(ref){_this.controlRef=ref};_this.focusedOptionRef=null;_this.getFocusedOptionRef=function(ref){_this.focusedOptionRef=ref};_this.menuListRef=null;_this.getMenuListRef=function(ref){_this.menuListRef=ref};_this.inputRef=null;_this.getInputRef=function(ref){_this.inputRef=ref};_this.focus=_this.focusInput;_this.blur=_this.blurInput;_this.onChange=function(newValue,actionMeta){var _this$props=_this.props,onChange2=_this$props.onChange,name2=_this$props.name;actionMeta.name=name2;_this.ariaOnChange(newValue,actionMeta);onChange2(newValue,actionMeta)};_this.setValue=function(newValue,action,option){var _this$props2=_this.props,closeMenuOnSelect=_this$props2.closeMenuOnSelect,isMulti=_this$props2.isMulti,inputValue=_this$props2.inputValue;_this.onInputChange("",{action:"set-value",prevInputValue:inputValue});if(closeMenuOnSelect){_this.setState({inputIsHiddenAfterUpdate:!isMulti});_this.onMenuClose()}_this.setState({clearFocusValueOnUpdate:true});_this.onChange(newValue,{action:action,option:option})};_this.selectOption=function(newValue){var _this$props3=_this.props,blurInputOnSelect=_this$props3.blurInputOnSelect,isMulti=_this$props3.isMulti,name2=_this$props3.name;var selectValue=_this.state.selectValue;var deselected=isMulti&&_this.isOptionSelected(newValue,selectValue);var isDisabled=_this.isOptionDisabled(newValue,selectValue);if(deselected){var candidate=_this.getOptionValue(newValue);_this.setValue(multiValueAsValue(selectValue.filter((function(i){return _this.getOptionValue(i)!==candidate}))),"deselect-option",newValue)}else if(!isDisabled){if(isMulti){_this.setValue(multiValueAsValue([].concat(_toConsumableArray(selectValue),[newValue])),"select-option",newValue)}else{_this.setValue(singleValueAsValue(newValue),"select-option")}}else{_this.ariaOnChange(singleValueAsValue(newValue),{action:"select-option",option:newValue,name:name2});return}if(blurInputOnSelect){_this.blurInput()}};_this.removeValue=function(removedValue){var isMulti=_this.props.isMulti;var selectValue=_this.state.selectValue;var candidate=_this.getOptionValue(removedValue);var newValueArray=selectValue.filter((function(i){return _this.getOptionValue(i)!==candidate}));var newValue=valueTernary(isMulti,newValueArray,newValueArray[0]||null);_this.onChange(newValue,{action:"remove-value",removedValue:removedValue});_this.focusInput()};_this.clearValue=function(){var selectValue=_this.state.selectValue;_this.onChange(valueTernary(_this.props.isMulti,[],null),{action:"clear",removedValues:selectValue})};_this.popValue=function(){var isMulti=_this.props.isMulti;var selectValue=_this.state.selectValue;var lastSelectedValue=selectValue[selectValue.length-1];var newValueArray=selectValue.slice(0,selectValue.length-1);var newValue=valueTernary(isMulti,newValueArray,newValueArray[0]||null);_this.onChange(newValue,{action:"pop-value",removedValue:lastSelectedValue})};_this.getFocusedOptionId=function(focusedOption){return getFocusedOptionId(_this.state.focusableOptionsWithIds,focusedOption)};_this.getFocusableOptionsWithIds=function(){return buildFocusableOptionsWithIds(buildCategorizedOptions(_this.props,_this.state.selectValue),_this.getElementId("option"))};_this.getValue=function(){return _this.state.selectValue};_this.cx=function(){for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++){args[_key]=arguments[_key]}return classNames.apply(void 0,[_this.props.classNamePrefix].concat(args))};_this.getOptionLabel=function(data){return getOptionLabel2(_this.props,data)};_this.getOptionValue=function(data){return getOptionValue2(_this.props,data)};_this.getStyles=function(key,props){var unstyled=_this.props.unstyled;var base=defaultStyles[key](props,unstyled);base.boxSizing="border-box";var custom=_this.props.styles[key];return custom?custom(base,props):base};_this.getClassNames=function(key,props){var _this$props$className,_this$props$className2;return(_this$props$className=(_this$props$className2=_this.props.classNames)[key])===null||_this$props$className===void 0?void 0:_this$props$className.call(_this$props$className2,props)};_this.getElementId=function(element){return"".concat(_this.state.instancePrefix,"-").concat(element)};_this.getComponents=function(){return defaultComponents(_this.props)};_this.buildCategorizedOptions=function(){return buildCategorizedOptions(_this.props,_this.state.selectValue)};_this.getCategorizedOptions=function(){return _this.props.menuIsOpen?_this.buildCategorizedOptions():[]};_this.buildFocusableOptions=function(){return buildFocusableOptionsFromCategorizedOptions(_this.buildCategorizedOptions())};_this.getFocusableOptions=function(){return _this.props.menuIsOpen?_this.buildFocusableOptions():[]};_this.ariaOnChange=function(value,actionMeta){_this.setState({ariaSelection:_objectSpread2({value:value},actionMeta)})};_this.onMenuMouseDown=function(event2){if(event2.button!==0){return}event2.stopPropagation();event2.preventDefault();_this.focusInput()};_this.onMenuMouseMove=function(event2){_this.blockOptionHover=false};_this.onControlMouseDown=function(event2){if(event2.defaultPrevented){return}var openMenuOnClick=_this.props.openMenuOnClick;if(!_this.state.isFocused){if(openMenuOnClick){_this.openAfterFocus=true}_this.focusInput()}else if(!_this.props.menuIsOpen){if(openMenuOnClick){_this.openMenu("first")}}else{if(event2.target.tagName!=="INPUT"&&event2.target.tagName!=="TEXTAREA"){_this.onMenuClose()}}if(event2.target.tagName!=="INPUT"&&event2.target.tagName!=="TEXTAREA"){event2.preventDefault()}};_this.onDropdownIndicatorMouseDown=function(event2){if(event2&&event2.type==="mousedown"&&event2.button!==0){return}if(_this.props.isDisabled)return;var _this$props4=_this.props,isMulti=_this$props4.isMulti,menuIsOpen=_this$props4.menuIsOpen;_this.focusInput();if(menuIsOpen){_this.setState({inputIsHiddenAfterUpdate:!isMulti});_this.onMenuClose()}else{_this.openMenu("first")}event2.preventDefault()};_this.onClearIndicatorMouseDown=function(event2){if(event2&&event2.type==="mousedown"&&event2.button!==0){return}_this.clearValue();event2.preventDefault();_this.openAfterFocus=false;if(event2.type==="touchend"){_this.focusInput()}else{setTimeout((function(){return _this.focusInput()}))}};_this.onScroll=function(event2){if(typeof _this.props.closeMenuOnScroll==="boolean"){if(event2.target instanceof HTMLElement&&isDocumentElement(event2.target)){_this.props.onMenuClose()}}else if(typeof _this.props.closeMenuOnScroll==="function"){if(_this.props.closeMenuOnScroll(event2)){_this.props.onMenuClose()}}};_this.onCompositionStart=function(){_this.isComposing=true};_this.onCompositionEnd=function(){_this.isComposing=false};_this.onTouchStart=function(_ref22){var touches=_ref22.touches;var touch=touches&&touches.item(0);if(!touch){return}_this.initialTouchX=touch.clientX;_this.initialTouchY=touch.clientY;_this.userIsDragging=false};_this.onTouchMove=function(_ref3){var touches=_ref3.touches;var touch=touches&&touches.item(0);if(!touch){return}var deltaX=Math.abs(touch.clientX-_this.initialTouchX);var deltaY=Math.abs(touch.clientY-_this.initialTouchY);var moveThreshold=5;_this.userIsDragging=deltaX>moveThreshold||deltaY>moveThreshold};_this.onTouchEnd=function(event2){if(_this.userIsDragging)return;if(_this.controlRef&&!_this.controlRef.contains(event2.target)&&_this.menuListRef&&!_this.menuListRef.contains(event2.target)){_this.blurInput()}_this.initialTouchX=0;_this.initialTouchY=0};_this.onControlTouchEnd=function(event2){if(_this.userIsDragging)return;_this.onControlMouseDown(event2)};_this.onClearIndicatorTouchEnd=function(event2){if(_this.userIsDragging)return;_this.onClearIndicatorMouseDown(event2)};_this.onDropdownIndicatorTouchEnd=function(event2){if(_this.userIsDragging)return;_this.onDropdownIndicatorMouseDown(event2)};_this.handleInputChange=function(event2){var prevInputValue=_this.props.inputValue;var inputValue=event2.currentTarget.value;_this.setState({inputIsHiddenAfterUpdate:false});_this.onInputChange(inputValue,{action:"input-change",prevInputValue:prevInputValue});if(!_this.props.menuIsOpen){_this.onMenuOpen()}};_this.onInputFocus=function(event2){if(_this.props.onFocus){_this.props.onFocus(event2)}_this.setState({inputIsHiddenAfterUpdate:false,isFocused:true});if(_this.openAfterFocus||_this.props.openMenuOnFocus){_this.openMenu("first")}_this.openAfterFocus=false};_this.onInputBlur=function(event2){var prevInputValue=_this.props.inputValue;if(_this.menuListRef&&_this.menuListRef.contains(document.activeElement)){_this.inputRef.focus();return}if(_this.props.onBlur){_this.props.onBlur(event2)}_this.onInputChange("",{action:"input-blur",prevInputValue:prevInputValue});_this.onMenuClose();_this.setState({focusedValue:null,isFocused:false})};_this.onOptionHover=function(focusedOption){if(_this.blockOptionHover||_this.state.focusedOption===focusedOption){return}var options2=_this.getFocusableOptions();var focusedOptionIndex=options2.indexOf(focusedOption);_this.setState({focusedOption:focusedOption,focusedOptionId:focusedOptionIndex>-1?_this.getFocusedOptionId(focusedOption):null})};_this.shouldHideSelectedOptions=function(){return shouldHideSelectedOptions(_this.props)};_this.onValueInputFocus=function(e2){e2.preventDefault();e2.stopPropagation();_this.focus()};_this.onKeyDown=function(event2){var _this$props5=_this.props,isMulti=_this$props5.isMulti,backspaceRemovesValue=_this$props5.backspaceRemovesValue,escapeClearsValue=_this$props5.escapeClearsValue,inputValue=_this$props5.inputValue,isClearable=_this$props5.isClearable,isDisabled=_this$props5.isDisabled,menuIsOpen=_this$props5.menuIsOpen,onKeyDown=_this$props5.onKeyDown,tabSelectsValue=_this$props5.tabSelectsValue,openMenuOnFocus=_this$props5.openMenuOnFocus;var _this$state=_this.state,focusedOption=_this$state.focusedOption,focusedValue=_this$state.focusedValue,selectValue=_this$state.selectValue;if(isDisabled)return;if(typeof onKeyDown==="function"){onKeyDown(event2);if(event2.defaultPrevented){return}}_this.blockOptionHover=true;switch(event2.key){case"ArrowLeft":if(!isMulti||inputValue)return;_this.focusValue("previous");break;case"ArrowRight":if(!isMulti||inputValue)return;_this.focusValue("next");break;case"Delete":case"Backspace":if(inputValue)return;if(focusedValue){_this.removeValue(focusedValue)}else{if(!backspaceRemovesValue)return;if(isMulti){_this.popValue()}else if(isClearable){_this.clearValue()}}break;case"Tab":if(_this.isComposing)return;if(event2.shiftKey||!menuIsOpen||!tabSelectsValue||!focusedOption||openMenuOnFocus&&_this.isOptionSelected(focusedOption,selectValue)){return}_this.selectOption(focusedOption);break;case"Enter":if(event2.keyCode===229){break}if(menuIsOpen){if(!focusedOption)return;if(_this.isComposing)return;_this.selectOption(focusedOption);break}return;case"Escape":if(menuIsOpen){_this.setState({inputIsHiddenAfterUpdate:false});_this.onInputChange("",{action:"menu-close",prevInputValue:inputValue});_this.onMenuClose()}else if(isClearable&&escapeClearsValue){_this.clearValue()}break;case" ":if(inputValue){return}if(!menuIsOpen){_this.openMenu("first");break}if(!focusedOption)return;_this.selectOption(focusedOption);break;case"ArrowUp":if(menuIsOpen){_this.focusOption("up")}else{_this.openMenu("last")}break;case"ArrowDown":if(menuIsOpen){_this.focusOption("down")}else{_this.openMenu("first")}break;case"PageUp":if(!menuIsOpen)return;_this.focusOption("pageup");break;case"PageDown":if(!menuIsOpen)return;_this.focusOption("pagedown");break;case"Home":if(!menuIsOpen)return;_this.focusOption("first");break;case"End":if(!menuIsOpen)return;_this.focusOption("last");break;default:return}event2.preventDefault()};_this.state.instancePrefix="react-select-"+(_this.props.instanceId||++instanceId);_this.state.selectValue=cleanValue(_props.value);if(_props.menuIsOpen&&_this.state.selectValue.length){var focusableOptionsWithIds=_this.getFocusableOptionsWithIds();var focusableOptions=_this.buildFocusableOptions();var optionIndex=focusableOptions.indexOf(_this.state.selectValue[0]);_this.state.focusableOptionsWithIds=focusableOptionsWithIds;_this.state.focusedOption=focusableOptions[optionIndex];_this.state.focusedOptionId=getFocusedOptionId(focusableOptionsWithIds,focusableOptions[optionIndex])}return _this}_createClass(Select2,[{key:"componentDidMount",value:function componentDidMount(){this.startListeningComposition();this.startListeningToTouch();if(this.props.closeMenuOnScroll&&document&&document.addEventListener){document.addEventListener("scroll",this.onScroll,true)}if(this.props.autoFocus){this.focusInput()}if(this.props.menuIsOpen&&this.state.focusedOption&&this.menuListRef&&this.focusedOptionRef){scrollIntoView(this.menuListRef,this.focusedOptionRef)}}},{key:"componentDidUpdate",value:function componentDidUpdate(prevProps){var _this$props6=this.props,isDisabled=_this$props6.isDisabled,menuIsOpen=_this$props6.menuIsOpen;var isFocused=this.state.isFocused;if(isFocused&&!isDisabled&&prevProps.isDisabled||isFocused&&menuIsOpen&&!prevProps.menuIsOpen){this.focusInput()}if(isFocused&&isDisabled&&!prevProps.isDisabled){this.setState({isFocused:false},this.onMenuClose)}else if(!isFocused&&!isDisabled&&prevProps.isDisabled&&this.inputRef===document.activeElement){this.setState({isFocused:true})}if(this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate){scrollIntoView(this.menuListRef,this.focusedOptionRef);this.scrollToFocusedOptionOnUpdate=false}}},{key:"componentWillUnmount",value:function componentWillUnmount(){this.stopListeningComposition();this.stopListeningToTouch();document.removeEventListener("scroll",this.onScroll,true)}},{key:"onMenuOpen",value:function onMenuOpen(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function onMenuClose(){this.onInputChange("",{action:"menu-close",prevInputValue:this.props.inputValue});this.props.onMenuClose()}},{key:"onInputChange",value:function onInputChange(newValue,actionMeta){this.props.onInputChange(newValue,actionMeta)}},{key:"focusInput",value:function focusInput(){if(!this.inputRef)return;this.inputRef.focus()}},{key:"blurInput",value:function blurInput(){if(!this.inputRef)return;this.inputRef.blur()}},{key:"openMenu",value:function openMenu(focusOption){var _this2=this;var _this$state2=this.state,selectValue=_this$state2.selectValue,isFocused=_this$state2.isFocused;var focusableOptions=this.buildFocusableOptions();var openAtIndex=focusOption==="first"?0:focusableOptions.length-1;if(!this.props.isMulti){var selectedIndex=focusableOptions.indexOf(selectValue[0]);if(selectedIndex>-1){openAtIndex=selectedIndex}}this.scrollToFocusedOptionOnUpdate=!(isFocused&&this.menuListRef);this.setState({inputIsHiddenAfterUpdate:false,focusedValue:null,focusedOption:focusableOptions[openAtIndex],focusedOptionId:this.getFocusedOptionId(focusableOptions[openAtIndex])},(function(){return _this2.onMenuOpen()}))}},{key:"focusValue",value:function focusValue(direction){var _this$state3=this.state,selectValue=_this$state3.selectValue,focusedValue=_this$state3.focusedValue;if(!this.props.isMulti)return;this.setState({focusedOption:null});var focusedIndex=selectValue.indexOf(focusedValue);if(!focusedValue){focusedIndex=-1}var lastIndex=selectValue.length-1;var nextFocus=-1;if(!selectValue.length)return;switch(direction){case"previous":if(focusedIndex===0){nextFocus=0}else if(focusedIndex===-1){nextFocus=lastIndex}else{nextFocus=focusedIndex-1}break;case"next":if(focusedIndex>-1&&focusedIndex<lastIndex){nextFocus=focusedIndex+1}break}this.setState({inputIsHidden:nextFocus!==-1,focusedValue:selectValue[nextFocus]})}},{key:"focusOption",value:function focusOption(){var direction=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"first";var pageSize=this.props.pageSize;var focusedOption=this.state.focusedOption;var options2=this.getFocusableOptions();if(!options2.length)return;var nextFocus=0;var focusedIndex=options2.indexOf(focusedOption);if(!focusedOption){focusedIndex=-1}if(direction==="up"){nextFocus=focusedIndex>0?focusedIndex-1:options2.length-1}else if(direction==="down"){nextFocus=(focusedIndex+1)%options2.length}else if(direction==="pageup"){nextFocus=focusedIndex-pageSize;if(nextFocus<0)nextFocus=0}else if(direction==="pagedown"){nextFocus=focusedIndex+pageSize;if(nextFocus>options2.length-1)nextFocus=options2.length-1}else if(direction==="last"){nextFocus=options2.length-1}this.scrollToFocusedOptionOnUpdate=true;this.setState({focusedOption:options2[nextFocus],focusedValue:null,focusedOptionId:this.getFocusedOptionId(options2[nextFocus])})}},{key:"getTheme",value:function getTheme(){if(!this.props.theme){return defaultTheme}if(typeof this.props.theme==="function"){return this.props.theme(defaultTheme)}return _objectSpread2(_objectSpread2({},defaultTheme),this.props.theme)}},{key:"getCommonProps",value:function getCommonProps(){var clearValue=this.clearValue,cx=this.cx,getStyles=this.getStyles,getClassNames=this.getClassNames,getValue=this.getValue,selectOption=this.selectOption,setValue=this.setValue,props=this.props;var isMulti=props.isMulti,isRtl=props.isRtl,options2=props.options;var hasValue=this.hasValue();return{clearValue:clearValue,cx:cx,getStyles:getStyles,getClassNames:getClassNames,getValue:getValue,hasValue:hasValue,isMulti:isMulti,isRtl:isRtl,options:options2,selectOption:selectOption,selectProps:props,setValue:setValue,theme:this.getTheme()}}},{key:"hasValue",value:function hasValue(){var selectValue=this.state.selectValue;return selectValue.length>0}},{key:"hasOptions",value:function hasOptions(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function isClearable(){var _this$props7=this.props,isClearable2=_this$props7.isClearable,isMulti=_this$props7.isMulti;if(isClearable2===void 0)return isMulti;return isClearable2}},{key:"isOptionDisabled",value:function isOptionDisabled3(option,selectValue){return _isOptionDisabled(this.props,option,selectValue)}},{key:"isOptionSelected",value:function isOptionSelected(option,selectValue){return _isOptionSelected(this.props,option,selectValue)}},{key:"filterOption",value:function filterOption(option,inputValue){return _filterOption(this.props,option,inputValue)}},{key:"formatOptionLabel",value:function formatOptionLabel(data,context){if(typeof this.props.formatOptionLabel==="function"){var _inputValue=this.props.inputValue;var _selectValue=this.state.selectValue;return this.props.formatOptionLabel(data,{context:context,inputValue:_inputValue,selectValue:_selectValue})}else{return this.getOptionLabel(data)}}},{key:"formatGroupLabel",value:function formatGroupLabel3(data){return this.props.formatGroupLabel(data)}},{key:"startListeningComposition",value:function startListeningComposition(){if(document&&document.addEventListener){document.addEventListener("compositionstart",this.onCompositionStart,false);document.addEventListener("compositionend",this.onCompositionEnd,false)}}},{key:"stopListeningComposition",value:function stopListeningComposition(){if(document&&document.removeEventListener){document.removeEventListener("compositionstart",this.onCompositionStart);document.removeEventListener("compositionend",this.onCompositionEnd)}}},{key:"startListeningToTouch",value:function startListeningToTouch(){if(document&&document.addEventListener){document.addEventListener("touchstart",this.onTouchStart,false);document.addEventListener("touchmove",this.onTouchMove,false);document.addEventListener("touchend",this.onTouchEnd,false)}}},{key:"stopListeningToTouch",value:function stopListeningToTouch(){if(document&&document.removeEventListener){document.removeEventListener("touchstart",this.onTouchStart);document.removeEventListener("touchmove",this.onTouchMove);document.removeEventListener("touchend",this.onTouchEnd)}}},{key:"renderInput",value:function renderInput(){var _this$props8=this.props,isDisabled=_this$props8.isDisabled,isSearchable=_this$props8.isSearchable,inputId=_this$props8.inputId,inputValue=_this$props8.inputValue,tabIndex=_this$props8.tabIndex,form=_this$props8.form,menuIsOpen=_this$props8.menuIsOpen,required=_this$props8.required;var _this$getComponents=this.getComponents(),Input3=_this$getComponents.Input;var _this$state4=this.state,inputIsHidden=_this$state4.inputIsHidden,ariaSelection=_this$state4.ariaSelection;var commonProps=this.commonProps;var id2=inputId||this.getElementId("input");var ariaAttributes=_objectSpread2(_objectSpread2(_objectSpread2({"aria-autocomplete":"list","aria-expanded":menuIsOpen,"aria-haspopup":true,"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":required,role:"combobox","aria-activedescendant":this.isAppleDevice?void 0:this.state.focusedOptionId||""},menuIsOpen&&{"aria-controls":this.getElementId("listbox")}),!isSearchable&&{"aria-readonly":true}),this.hasValue()?(ariaSelection===null||ariaSelection===void 0?void 0:ariaSelection.action)==="initial-input-focus"&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});if(!isSearchable){return reactExports.createElement(DummyInput,_extends({id:id2,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:noop,onFocus:this.onInputFocus,disabled:isDisabled,tabIndex:tabIndex,inputMode:"none",form:form,value:""},ariaAttributes))}return reactExports.createElement(Input3,_extends({},commonProps,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:id2,innerRef:this.getInputRef,isDisabled:isDisabled,isHidden:inputIsHidden,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:tabIndex,form:form,type:"text",value:inputValue},ariaAttributes))}},{key:"renderPlaceholderOrValue",value:function renderPlaceholderOrValue(){var _this3=this;var _this$getComponents2=this.getComponents(),MultiValue3=_this$getComponents2.MultiValue,MultiValueContainer2=_this$getComponents2.MultiValueContainer,MultiValueLabel2=_this$getComponents2.MultiValueLabel,MultiValueRemove2=_this$getComponents2.MultiValueRemove,SingleValue3=_this$getComponents2.SingleValue,Placeholder3=_this$getComponents2.Placeholder;var commonProps=this.commonProps;var _this$props9=this.props,controlShouldRenderValue=_this$props9.controlShouldRenderValue,isDisabled=_this$props9.isDisabled,isMulti=_this$props9.isMulti,inputValue=_this$props9.inputValue,placeholder=_this$props9.placeholder;var _this$state5=this.state,selectValue=_this$state5.selectValue,focusedValue=_this$state5.focusedValue,isFocused=_this$state5.isFocused;if(!this.hasValue()||!controlShouldRenderValue){return inputValue?null:reactExports.createElement(Placeholder3,_extends({},commonProps,{key:"placeholder",isDisabled:isDisabled,isFocused:isFocused,innerProps:{id:this.getElementId("placeholder")}}),placeholder)}if(isMulti){return selectValue.map((function(opt,index2){var isOptionFocused=opt===focusedValue;var key="".concat(_this3.getOptionLabel(opt),"-").concat(_this3.getOptionValue(opt));return reactExports.createElement(MultiValue3,_extends({},commonProps,{components:{Container:MultiValueContainer2,Label:MultiValueLabel2,Remove:MultiValueRemove2},isFocused:isOptionFocused,isDisabled:isDisabled,key:key,index:index2,removeProps:{onClick:function onClick(){return _this3.removeValue(opt)},onTouchEnd:function onTouchEnd(){return _this3.removeValue(opt)},onMouseDown:function onMouseDown(e2){e2.preventDefault()}},data:opt}),_this3.formatOptionLabel(opt,"value"))}))}if(inputValue){return null}var singleValue=selectValue[0];return reactExports.createElement(SingleValue3,_extends({},commonProps,{data:singleValue,isDisabled:isDisabled}),this.formatOptionLabel(singleValue,"value"))}},{key:"renderClearIndicator",value:function renderClearIndicator(){var _this$getComponents3=this.getComponents(),ClearIndicator3=_this$getComponents3.ClearIndicator;var commonProps=this.commonProps;var _this$props10=this.props,isDisabled=_this$props10.isDisabled,isLoading=_this$props10.isLoading;var isFocused=this.state.isFocused;if(!this.isClearable()||!ClearIndicator3||isDisabled||!this.hasValue()||isLoading){return null}var innerProps={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return reactExports.createElement(ClearIndicator3,_extends({},commonProps,{innerProps:innerProps,isFocused:isFocused}))}},{key:"renderLoadingIndicator",value:function renderLoadingIndicator(){var _this$getComponents4=this.getComponents(),LoadingIndicator3=_this$getComponents4.LoadingIndicator;var commonProps=this.commonProps;var _this$props11=this.props,isDisabled=_this$props11.isDisabled,isLoading=_this$props11.isLoading;var isFocused=this.state.isFocused;if(!LoadingIndicator3||!isLoading)return null;var innerProps={"aria-hidden":"true"};return reactExports.createElement(LoadingIndicator3,_extends({},commonProps,{innerProps:innerProps,isDisabled:isDisabled,isFocused:isFocused}))}},{key:"renderIndicatorSeparator",value:function renderIndicatorSeparator(){var _this$getComponents5=this.getComponents(),DropdownIndicator3=_this$getComponents5.DropdownIndicator,IndicatorSeparator3=_this$getComponents5.IndicatorSeparator;if(!DropdownIndicator3||!IndicatorSeparator3)return null;var commonProps=this.commonProps;var isDisabled=this.props.isDisabled;var isFocused=this.state.isFocused;return reactExports.createElement(IndicatorSeparator3,_extends({},commonProps,{isDisabled:isDisabled,isFocused:isFocused}))}},{key:"renderDropdownIndicator",value:function renderDropdownIndicator(){var _this$getComponents6=this.getComponents(),DropdownIndicator3=_this$getComponents6.DropdownIndicator;if(!DropdownIndicator3)return null;var commonProps=this.commonProps;var isDisabled=this.props.isDisabled;var isFocused=this.state.isFocused;var innerProps={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return reactExports.createElement(DropdownIndicator3,_extends({},commonProps,{innerProps:innerProps,isDisabled:isDisabled,isFocused:isFocused}))}},{key:"renderMenu",value:function renderMenu(){var _this4=this;var _this$getComponents7=this.getComponents(),Group3=_this$getComponents7.Group,GroupHeading3=_this$getComponents7.GroupHeading,Menu3=_this$getComponents7.Menu,MenuList3=_this$getComponents7.MenuList,MenuPortal3=_this$getComponents7.MenuPortal,LoadingMessage3=_this$getComponents7.LoadingMessage,NoOptionsMessage3=_this$getComponents7.NoOptionsMessage,Option3=_this$getComponents7.Option;var commonProps=this.commonProps;var focusedOption=this.state.focusedOption;var _this$props12=this.props,captureMenuScroll=_this$props12.captureMenuScroll,inputValue=_this$props12.inputValue,isLoading=_this$props12.isLoading,loadingMessage2=_this$props12.loadingMessage,minMenuHeight=_this$props12.minMenuHeight,maxMenuHeight=_this$props12.maxMenuHeight,menuIsOpen=_this$props12.menuIsOpen,menuPlacement=_this$props12.menuPlacement,menuPosition=_this$props12.menuPosition,menuPortalTarget=_this$props12.menuPortalTarget,menuShouldBlockScroll=_this$props12.menuShouldBlockScroll,menuShouldScrollIntoView=_this$props12.menuShouldScrollIntoView,noOptionsMessage2=_this$props12.noOptionsMessage,onMenuScrollToTop=_this$props12.onMenuScrollToTop,onMenuScrollToBottom=_this$props12.onMenuScrollToBottom;if(!menuIsOpen)return null;var render=function render2(props,id2){var type=props.type,data=props.data,isDisabled=props.isDisabled,isSelected=props.isSelected,label=props.label,value=props.value;var isFocused=focusedOption===data;var onHover=isDisabled?void 0:function(){return _this4.onOptionHover(data)};var onSelect=isDisabled?void 0:function(){return _this4.selectOption(data)};var optionId="".concat(_this4.getElementId("option"),"-").concat(id2);var innerProps={id:optionId,onClick:onSelect,onMouseMove:onHover,onMouseOver:onHover,tabIndex:-1,role:"option","aria-selected":_this4.isAppleDevice?void 0:isSelected};return reactExports.createElement(Option3,_extends({},commonProps,{innerProps:innerProps,data:data,isDisabled:isDisabled,isSelected:isSelected,key:optionId,label:label,type:type,value:value,isFocused:isFocused,innerRef:isFocused?_this4.getFocusedOptionRef:void 0}),_this4.formatOptionLabel(props.data,"menu"))};var menuUI;if(this.hasOptions()){menuUI=this.getCategorizedOptions().map((function(item){if(item.type==="group"){var _data=item.data,options2=item.options,groupIndex=item.index;var groupId="".concat(_this4.getElementId("group"),"-").concat(groupIndex);var headingId="".concat(groupId,"-heading");return reactExports.createElement(Group3,_extends({},commonProps,{key:groupId,data:_data,options:options2,Heading:GroupHeading3,headingProps:{id:headingId,data:item.data},label:_this4.formatGroupLabel(item.data)}),item.options.map((function(option){return render(option,"".concat(groupIndex,"-").concat(option.index))})))}else if(item.type==="option"){return render(item,"".concat(item.index))}}))}else if(isLoading){var message=loadingMessage2({inputValue:inputValue});if(message===null)return null;menuUI=reactExports.createElement(LoadingMessage3,commonProps,message)}else{var _message=noOptionsMessage2({inputValue:inputValue});if(_message===null)return null;menuUI=reactExports.createElement(NoOptionsMessage3,commonProps,_message)}var menuPlacementProps={minMenuHeight:minMenuHeight,maxMenuHeight:maxMenuHeight,menuPlacement:menuPlacement,menuPosition:menuPosition,menuShouldScrollIntoView:menuShouldScrollIntoView};var menuElement=reactExports.createElement(MenuPlacer,_extends({},commonProps,menuPlacementProps),(function(_ref4){var ref=_ref4.ref,_ref4$placerProps=_ref4.placerProps,placement=_ref4$placerProps.placement,maxHeight=_ref4$placerProps.maxHeight;return reactExports.createElement(Menu3,_extends({},commonProps,menuPlacementProps,{innerRef:ref,innerProps:{onMouseDown:_this4.onMenuMouseDown,onMouseMove:_this4.onMenuMouseMove},isLoading:isLoading,placement:placement}),reactExports.createElement(ScrollManager,{captureEnabled:captureMenuScroll,onTopArrive:onMenuScrollToTop,onBottomArrive:onMenuScrollToBottom,lockEnabled:menuShouldBlockScroll},(function(scrollTargetRef){return reactExports.createElement(MenuList3,_extends({},commonProps,{innerRef:function innerRef(instance){_this4.getMenuListRef(instance);scrollTargetRef(instance)},innerProps:{role:"listbox","aria-multiselectable":commonProps.isMulti,id:_this4.getElementId("listbox")},isLoading:isLoading,maxHeight:maxHeight,focusedOption:focusedOption}),menuUI)})))}));return menuPortalTarget||menuPosition==="fixed"?reactExports.createElement(MenuPortal3,_extends({},commonProps,{appendTo:menuPortalTarget,controlElement:this.controlRef,menuPlacement:menuPlacement,menuPosition:menuPosition}),menuElement):menuElement}},{key:"renderFormField",value:function renderFormField(){var _this5=this;var _this$props13=this.props,delimiter2=_this$props13.delimiter,isDisabled=_this$props13.isDisabled,isMulti=_this$props13.isMulti,name2=_this$props13.name,required=_this$props13.required;var selectValue=this.state.selectValue;if(required&&!this.hasValue()&&!isDisabled){return reactExports.createElement(RequiredInput$1,{name:name2,onFocus:this.onValueInputFocus})}if(!name2||isDisabled)return;if(isMulti){if(delimiter2){var value=selectValue.map((function(opt){return _this5.getOptionValue(opt)})).join(delimiter2);return reactExports.createElement("input",{name:name2,type:"hidden",value:value})}else{var input=selectValue.length>0?selectValue.map((function(opt,i){return reactExports.createElement("input",{key:"i-".concat(i),name:name2,type:"hidden",value:_this5.getOptionValue(opt)})})):reactExports.createElement("input",{name:name2,type:"hidden",value:""});return reactExports.createElement("div",null,input)}}else{var _value=selectValue[0]?this.getOptionValue(selectValue[0]):"";return reactExports.createElement("input",{name:name2,type:"hidden",value:_value})}}},{key:"renderLiveRegion",value:function renderLiveRegion(){var commonProps=this.commonProps;var _this$state6=this.state,ariaSelection=_this$state6.ariaSelection,focusedOption=_this$state6.focusedOption,focusedValue=_this$state6.focusedValue,isFocused=_this$state6.isFocused,selectValue=_this$state6.selectValue;var focusableOptions=this.getFocusableOptions();return reactExports.createElement(LiveRegion$1,_extends({},commonProps,{id:this.getElementId("live-region"),ariaSelection:ariaSelection,focusedOption:focusedOption,focusedValue:focusedValue,isFocused:isFocused,selectValue:selectValue,focusableOptions:focusableOptions,isAppleDevice:this.isAppleDevice}))}},{key:"render",value:function render(){var _this$getComponents8=this.getComponents(),Control3=_this$getComponents8.Control,IndicatorsContainer3=_this$getComponents8.IndicatorsContainer,SelectContainer3=_this$getComponents8.SelectContainer,ValueContainer3=_this$getComponents8.ValueContainer;var _this$props14=this.props,className=_this$props14.className,id2=_this$props14.id,isDisabled=_this$props14.isDisabled,menuIsOpen=_this$props14.menuIsOpen;var isFocused=this.state.isFocused;var commonProps=this.commonProps=this.getCommonProps();return reactExports.createElement(SelectContainer3,_extends({},commonProps,{className:className,innerProps:{id:id2,onKeyDown:this.onKeyDown},isDisabled:isDisabled,isFocused:isFocused}),this.renderLiveRegion(),reactExports.createElement(Control3,_extends({},commonProps,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:isDisabled,isFocused:isFocused,menuIsOpen:menuIsOpen}),reactExports.createElement(ValueContainer3,_extends({},commonProps,{isDisabled:isDisabled}),this.renderPlaceholderOrValue(),this.renderInput()),reactExports.createElement(IndicatorsContainer3,_extends({},commonProps,{isDisabled:isDisabled}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function getDerivedStateFromProps(props,state){var prevProps=state.prevProps,clearFocusValueOnUpdate=state.clearFocusValueOnUpdate,inputIsHiddenAfterUpdate=state.inputIsHiddenAfterUpdate,ariaSelection=state.ariaSelection,isFocused=state.isFocused,prevWasFocused=state.prevWasFocused,instancePrefix=state.instancePrefix;var options2=props.options,value=props.value,menuIsOpen=props.menuIsOpen,inputValue=props.inputValue,isMulti=props.isMulti;var selectValue=cleanValue(value);var newMenuOptionsState={};if(prevProps&&(value!==prevProps.value||options2!==prevProps.options||menuIsOpen!==prevProps.menuIsOpen||inputValue!==prevProps.inputValue)){var focusableOptions=menuIsOpen?buildFocusableOptions(props,selectValue):[];var focusableOptionsWithIds=menuIsOpen?buildFocusableOptionsWithIds(buildCategorizedOptions(props,selectValue),"".concat(instancePrefix,"-option")):[];var focusedValue=clearFocusValueOnUpdate?getNextFocusedValue(state,selectValue):null;var focusedOption=getNextFocusedOption(state,focusableOptions);var focusedOptionId=getFocusedOptionId(focusableOptionsWithIds,focusedOption);newMenuOptionsState={selectValue:selectValue,focusedOption:focusedOption,focusedOptionId:focusedOptionId,focusableOptionsWithIds:focusableOptionsWithIds,focusedValue:focusedValue,clearFocusValueOnUpdate:false}}var newInputIsHiddenState=inputIsHiddenAfterUpdate!=null&&props!==prevProps?{inputIsHidden:inputIsHiddenAfterUpdate,inputIsHiddenAfterUpdate:void 0}:{};var newAriaSelection=ariaSelection;var hasKeptFocus=isFocused&&prevWasFocused;if(isFocused&&!hasKeptFocus){newAriaSelection={value:valueTernary(isMulti,selectValue,selectValue[0]||null),options:selectValue,action:"initial-input-focus"};hasKeptFocus=!prevWasFocused}if((ariaSelection===null||ariaSelection===void 0?void 0:ariaSelection.action)==="initial-input-focus"){newAriaSelection=null}return _objectSpread2(_objectSpread2(_objectSpread2({},newMenuOptionsState),newInputIsHiddenState),{},{prevProps:props,ariaSelection:newAriaSelection,prevWasFocused:hasKeptFocus})}}]);return Select2}(reactExports.Component);Select.defaultProps=defaultProps;var StateManagedSelect=reactExports.forwardRef((function(props,ref){var baseSelectProps=useStateManager(props);return reactExports.createElement(Select,_extends({ref:ref},baseSelectProps))}));var StateManagedSelect$1=StateManagedSelect;var _excluded$1=["defaultOptions","cacheOptions","loadOptions","options","isLoading","onInputChange","filterOption"];function useAsync(_ref3){var _ref$defaultOptions=_ref3.defaultOptions,propsDefaultOptions=_ref$defaultOptions===void 0?false:_ref$defaultOptions,_ref$cacheOptions=_ref3.cacheOptions,cacheOptions=_ref$cacheOptions===void 0?false:_ref$cacheOptions,propsLoadOptions=_ref3.loadOptions;_ref3.options;var _ref$isLoading=_ref3.isLoading,propsIsLoading=_ref$isLoading===void 0?false:_ref$isLoading,propsOnInputChange=_ref3.onInputChange,_ref$filterOption=_ref3.filterOption,filterOption=_ref$filterOption===void 0?null:_ref$filterOption,restSelectProps=_objectWithoutProperties(_ref3,_excluded$1);var propsInputValue=restSelectProps.inputValue;var lastRequest=reactExports.useRef(void 0);var mounted=reactExports.useRef(false);var _useState=reactExports.useState(Array.isArray(propsDefaultOptions)?propsDefaultOptions:void 0),_useState2=_slicedToArray(_useState,2),defaultOptions=_useState2[0],setDefaultOptions=_useState2[1];var _useState3=reactExports.useState(typeof propsInputValue!=="undefined"?propsInputValue:""),_useState4=_slicedToArray(_useState3,2),stateInputValue=_useState4[0],setStateInputValue=_useState4[1];var _useState5=reactExports.useState(propsDefaultOptions===true),_useState6=_slicedToArray(_useState5,2),isLoading=_useState6[0],setIsLoading=_useState6[1];var _useState7=reactExports.useState(void 0),_useState8=_slicedToArray(_useState7,2),loadedInputValue=_useState8[0],setLoadedInputValue=_useState8[1];var _useState9=reactExports.useState([]),_useState10=_slicedToArray(_useState9,2),loadedOptions=_useState10[0],setLoadedOptions=_useState10[1];var _useState11=reactExports.useState(false),_useState12=_slicedToArray(_useState11,2),passEmptyOptions=_useState12[0],setPassEmptyOptions=_useState12[1];var _useState13=reactExports.useState({}),_useState14=_slicedToArray(_useState13,2),optionsCache=_useState14[0],setOptionsCache=_useState14[1];var _useState15=reactExports.useState(void 0),_useState16=_slicedToArray(_useState15,2),prevDefaultOptions=_useState16[0],setPrevDefaultOptions=_useState16[1];var _useState17=reactExports.useState(void 0),_useState18=_slicedToArray(_useState17,2),prevCacheOptions=_useState18[0],setPrevCacheOptions=_useState18[1];if(cacheOptions!==prevCacheOptions){setOptionsCache({});setPrevCacheOptions(cacheOptions)}if(propsDefaultOptions!==prevDefaultOptions){setDefaultOptions(Array.isArray(propsDefaultOptions)?propsDefaultOptions:void 0);setPrevDefaultOptions(propsDefaultOptions)}reactExports.useEffect((function(){mounted.current=true;return function(){mounted.current=false}}),[]);var loadOptions=reactExports.useCallback((function(inputValue,callback){if(!propsLoadOptions)return callback();var loader=propsLoadOptions(inputValue,callback);if(loader&&typeof loader.then==="function"){loader.then(callback,(function(){return callback()}))}}),[propsLoadOptions]);reactExports.useEffect((function(){if(propsDefaultOptions===true){loadOptions(stateInputValue,(function(options3){if(!mounted.current)return;setDefaultOptions(options3||[]);setIsLoading(!!lastRequest.current)}))}}),[]);var onInputChange=reactExports.useCallback((function(newValue,actionMeta){var inputValue=handleInputChange(newValue,actionMeta,propsOnInputChange);if(!inputValue){lastRequest.current=void 0;setStateInputValue("");setLoadedInputValue("");setLoadedOptions([]);setIsLoading(false);setPassEmptyOptions(false);return}if(cacheOptions&&optionsCache[inputValue]){setStateInputValue(inputValue);setLoadedInputValue(inputValue);setLoadedOptions(optionsCache[inputValue]);setIsLoading(false);setPassEmptyOptions(false)}else{var request=lastRequest.current={};setStateInputValue(inputValue);setIsLoading(true);setPassEmptyOptions(!loadedInputValue);loadOptions(inputValue,(function(options3){if(!mounted)return;if(request!==lastRequest.current)return;lastRequest.current=void 0;setIsLoading(false);setLoadedInputValue(inputValue);setLoadedOptions(options3||[]);setPassEmptyOptions(false);setOptionsCache(options3?_objectSpread2(_objectSpread2({},optionsCache),{},_defineProperty({},inputValue,options3)):optionsCache)}))}}),[cacheOptions,loadOptions,loadedInputValue,optionsCache,propsOnInputChange]);var options2=passEmptyOptions?[]:stateInputValue&&loadedInputValue?loadedOptions:defaultOptions||[];return _objectSpread2(_objectSpread2({},restSelectProps),{},{options:options2,isLoading:isLoading||propsIsLoading,onInputChange:onInputChange,filterOption:filterOption})}var AsyncSelect=reactExports.forwardRef((function(props,ref){var stateManagedProps=useAsync(props);var selectProps=useStateManager(stateManagedProps);return reactExports.createElement(Select,_extends({ref:ref},selectProps))}));var AsyncSelect$1=AsyncSelect;var _excluded=["allowCreateWhileLoading","createOptionPosition","formatCreateLabel","isValidNewOption","getNewOptionData","onCreateOption","options","onChange"];var compareOption=function compareOption2(){var inputValue=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";var option=arguments.length>1?arguments[1]:void 0;var accessors=arguments.length>2?arguments[2]:void 0;var candidate=String(inputValue).toLowerCase();var optionValue=String(accessors.getOptionValue(option)).toLowerCase();var optionLabel=String(accessors.getOptionLabel(option)).toLowerCase();return optionValue===candidate||optionLabel===candidate};var builtins={formatCreateLabel:function formatCreateLabel(inputValue){return'Create "'.concat(inputValue,'"')},isValidNewOption:function isValidNewOption(inputValue,selectValue,selectOptions,accessors){return!(!inputValue||selectValue.some((function(option){return compareOption(inputValue,option,accessors)}))||selectOptions.some((function(option){return compareOption(inputValue,option,accessors)})))},getNewOptionData:function getNewOptionData(inputValue,optionLabel){return{label:optionLabel,value:inputValue,__isNew__:true}}};function useCreatable(_ref3){var _ref$allowCreateWhile=_ref3.allowCreateWhileLoading,allowCreateWhileLoading=_ref$allowCreateWhile===void 0?false:_ref$allowCreateWhile,_ref$createOptionPosi=_ref3.createOptionPosition,createOptionPosition=_ref$createOptionPosi===void 0?"last":_ref$createOptionPosi,_ref$formatCreateLabe=_ref3.formatCreateLabel,formatCreateLabel2=_ref$formatCreateLabe===void 0?builtins.formatCreateLabel:_ref$formatCreateLabe,_ref$isValidNewOption=_ref3.isValidNewOption,isValidNewOption2=_ref$isValidNewOption===void 0?builtins.isValidNewOption:_ref$isValidNewOption,_ref$getNewOptionData=_ref3.getNewOptionData,getNewOptionData2=_ref$getNewOptionData===void 0?builtins.getNewOptionData:_ref$getNewOptionData,onCreateOption=_ref3.onCreateOption,_ref$options=_ref3.options,propsOptions=_ref$options===void 0?[]:_ref$options,propsOnChange=_ref3.onChange,restSelectProps=_objectWithoutProperties(_ref3,_excluded);var _restSelectProps$getO=restSelectProps.getOptionValue,getOptionValue$1$1=_restSelectProps$getO===void 0?getOptionValue$1:_restSelectProps$getO,_restSelectProps$getO2=restSelectProps.getOptionLabel,getOptionLabel$1$1=_restSelectProps$getO2===void 0?getOptionLabel$1:_restSelectProps$getO2,inputValue=restSelectProps.inputValue,isLoading=restSelectProps.isLoading,isMulti=restSelectProps.isMulti,value=restSelectProps.value,name2=restSelectProps.name;var newOption=reactExports.useMemo((function(){return isValidNewOption2(inputValue,cleanValue(value),propsOptions,{getOptionValue:getOptionValue$1$1,getOptionLabel:getOptionLabel$1$1})?getNewOptionData2(inputValue,formatCreateLabel2(inputValue)):void 0}),[formatCreateLabel2,getNewOptionData2,getOptionLabel$1$1,getOptionValue$1$1,inputValue,isValidNewOption2,propsOptions,value]);var options2=reactExports.useMemo((function(){return(allowCreateWhileLoading||!isLoading)&&newOption?createOptionPosition==="first"?[newOption].concat(_toConsumableArray(propsOptions)):[].concat(_toConsumableArray(propsOptions),[newOption]):propsOptions}),[allowCreateWhileLoading,createOptionPosition,isLoading,newOption,propsOptions]);var onChange2=reactExports.useCallback((function(newValue,actionMeta){if(actionMeta.action!=="select-option"){return propsOnChange(newValue,actionMeta)}var valueArray=Array.isArray(newValue)?newValue:[newValue];if(valueArray[valueArray.length-1]===newOption){if(onCreateOption)onCreateOption(inputValue);else{var newOptionData=getNewOptionData2(inputValue,inputValue);var newActionMeta={action:"create-option",name:name2,option:newOptionData};propsOnChange(valueTernary(isMulti,[].concat(_toConsumableArray(cleanValue(value)),[newOptionData]),newOptionData),newActionMeta)}return}propsOnChange(newValue,actionMeta)}),[getNewOptionData2,inputValue,isMulti,name2,newOption,onCreateOption,propsOnChange,value]);return _objectSpread2(_objectSpread2({},restSelectProps),{},{options:options2,onChange:onChange2})}var CreatableSelect=reactExports.forwardRef((function(props,ref){var creatableProps=useStateManager(props);var selectProps=useCreatable(creatableProps);return reactExports.createElement(Select,_extends({ref:ref},selectProps))}));var CreatableSelect$1=CreatableSelect;var AsyncCreatableSelect=reactExports.forwardRef((function(props,ref){var stateManagerProps=useAsync(props);var creatableProps=useStateManager(stateManagerProps);var selectProps=useCreatable(creatableProps);return reactExports.createElement(Select,_extends({ref:ref},selectProps))}));var AsyncCreatableSelect$1=AsyncCreatableSelect;const TypeaheadControl=props=>jsxRuntimeExports.jsx("div",{className:"pb_typeahead_wrapper",children:jsxRuntimeExports.jsx(TextInput$1,{dark:props.selectProps.dark,error:props.selectProps.error,label:props.selectProps.label,marginBottom:"none",children:jsxRuntimeExports.jsx(Flex,{children:jsxRuntimeExports.jsx(components.Control,{className:"text_input",...props})})})});const ClearContainer=props=>{const{selectProps:selectProps,clearValue:clearValue}=props;reactExports.useEffect((()=>{document.addEventListener(`pb-typeahead-kit-${selectProps.id}:clear`,clearValue)}),[true]);return jsxRuntimeExports.jsx(components.ClearIndicator,{className:"clear_indicator",...props})};const IndicatorsContainer=props=>jsxRuntimeExports.jsx(components.IndicatorsContainer,{className:"text_input_indicators",...props});const MenuList=props=>jsxRuntimeExports.jsxs(components.MenuList,{...props,children:[props.children,props.footer]});const MultiValue=props=>{const{removeProps:removeProps3}=props;const{imageUrl:imageUrl,label:label}=props.data;const{dark:dark,multiKit:multiKit,pillColor:pillColor}=props.selectProps;return jsxRuntimeExports.jsxs(components.MultiValueContainer,{className:"text_input_multivalue_container",...props,children:[multiKit==="badge"&&jsxRuntimeExports.jsx(Badge,{closeProps:removeProps3,removeIcon:true,text:label,variant:"primary"}),multiKit!=="badge"&&imageUrl&&jsxRuntimeExports.jsx(FormPill,{avatarUrl:imageUrl,closeProps:removeProps3,color:pillColor,dark:dark,marginRight:"xs",name:label,size:multiKit==="smallPill"?"small":"",text:"",...props}),multiKit!=="badge"&&!imageUrl&&jsxRuntimeExports.jsx(FormPill,{closeProps:removeProps3,color:pillColor,dark:dark,marginRight:"xs",name:"",size:multiKit==="smallPill"?"small":"",text:label,...props})]})};const User=props=>{const{align:align="left",aria:aria={},avatar:avatar=false,avatarUrl:avatarUrl,className:className,dark:dark=false,data:data={},htmlOptions:htmlOptions={},id:id2,name:name2,orientation:orientation="horizontal",size:size="sm",subtitle:subtitle,territory:territory="",title:title=""}=props;const dataProps=buildDataProps(data);const ariaProps=buildAriaProps(aria);const htmlProps=buildHtmlProps(htmlOptions);const classes=classnames(buildCss("pb_user_kit",align,orientation,size),globalProps(props),className);const avatarPresent=avatar||avatarUrl;return jsxRuntimeExports.jsxs("div",{...ariaProps,...dataProps,...htmlProps,className:classes,id:id2,children:[avatarPresent&&jsxRuntimeExports.jsx(Avatar,{imageUrl:avatarUrl,name:name2,size:size,status:null}),jsxRuntimeExports.jsxs("div",{className:"content_wrapper",children:[jsxRuntimeExports.jsx(Title,{dark:dark,size:size=="lg"?3:4,text:name2}),jsxRuntimeExports.jsx(Body$1,{color:"light",dark:dark,variant:null,children:territory===""?title:`${territory} • ${title}`}),typeof subtitle==="string"&&jsxRuntimeExports.jsx(Body$1,{color:"light",dark:dark,text:subtitle,variant:null}),typeof subtitle!=="string"&&jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment,{children:subtitle})]})]})};const Option=props=>{const{imageUrl:imageUrl}=props.data;const{valueComponent:valueComponent}=props.selectProps;return jsxRuntimeExports.jsx(components.Option,{...props,children:jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[!valueComponent&&imageUrl&&jsxRuntimeExports.jsx(User,{align:"left",avatarUrl:imageUrl,dark:props.selectProps.dark,name:props.label,orientation:"horizontal"}),valueComponent&&valueComponent(props.data),!valueComponent&&!imageUrl&&props.label]})})};const Placeholder=props=>jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment,{children:jsxRuntimeExports.jsxs(Flex,{align:"center",className:"placeholder",children:[jsxRuntimeExports.jsx(components.IndicatorsContainer,{...props}),props.selectProps.plusIcon&&jsxRuntimeExports.jsx(Icon,{className:"typeahead-plus-icon",icon:"plus"})]})});const ValueContainer=props=>jsxRuntimeExports.jsx(components.ValueContainer,{className:"text_input_value_container",...props});const kitComponents=Object.freeze(Object.defineProperty({__proto__:null,ClearIndicator:ClearContainer,Control:TypeaheadControl,IndicatorsContainer:IndicatorsContainer,MenuList:MenuList,MultiValue:MultiValue,Option:Option,Placeholder:Placeholder,ValueContainer:ValueContainer},Symbol.toStringTag,{value:"Module"}));const Typeahead=({async:async,className:className,components:components2={},createable:createable,error:error="",data:data={},getOptionLabel:getOptionLabel4,getOptionValue:getOptionValue4,htmlOptions:htmlOptions={},id:id2,loadOptions:loadOptions=noop$1,marginBottom:marginBottom="sm",pillColor:pillColor,...props})=>{const selectProps={cacheOptions:true,components:{Control:TypeaheadControl,ClearIndicator:ClearContainer,IndicatorsContainer:IndicatorsContainer,IndicatorSeparator:null,MenuList:MenuList,MultiValue:MultiValue,Option:Option,Placeholder:Placeholder,ValueContainer:ValueContainer,...components2},loadOptions:isString(loadOptions)?get(window,loadOptions):loadOptions,getOptionLabel:isString(getOptionLabel4)?get(window,getOptionLabel4):getOptionLabel4,getOptionValue:isString(getOptionValue4)?get(window,getOptionValue4):getOptionValue4,defaultOptions:true,id:id2||uniqueId(),inline:false,isClearable:true,isSearchable:true,name:name,multiKit:"",onCreateOption:null,plusIcon:false,onMultiValueClick:_option=>void 0,pillColor:pillColor,...props};const Tag=createable?async?AsyncCreatableSelect$1:CreatableSelect$1:async?AsyncSelect$1:StateManagedSelect$1;const handleOnChange=(_data,{action:action,option:option,removedValue:removedValue})=>{if(action==="select-option"){if(selectProps.onMultiValueClick)selectProps.onMultiValueClick(option);const multiValueClearEvent=new CustomEvent(`pb-typeahead-kit-${selectProps.id}-result-option-select`,{detail:option?option:_data});document.dispatchEvent(multiValueClearEvent)}if(action==="remove-value"||action==="pop-value"){const multiValueRemoveEvent=new CustomEvent(`pb-typeahead-kit-${selectProps.id}-result-option-remove`,{detail:removedValue});document.dispatchEvent(multiValueRemoveEvent)}if(action==="clear"){const multiValueClearEvent=new CustomEvent(`pb-typeahead-kit-${selectProps.id}-result-clear`);document.dispatchEvent(multiValueClearEvent)}};const dataProps=buildDataProps(data);const htmlProps=buildHtmlProps(htmlOptions);const classes=classnames("pb_typeahead_kit react-select",`mb_${marginBottom}`,globalProps(props),className);const inlineClass=selectProps.inline?"inline":null;return jsxRuntimeExports.jsx("div",{...dataProps,...htmlProps,className:classnames(classes,inlineClass),children:jsxRuntimeExports.jsx(Tag,{classNamePrefix:"typeahead-kit-select",error:error,onChange:handleOnChange,...selectProps})})};Object.keys(kitComponents).forEach((k2=>{Typeahead[k2]=kitComponents[k2]}));export{globalProps as $,Avatar as A,BarGraph as B,CircleChart as C,Dialog as D,NavItem as E,Flex as F,Gauge as G,Highlight as H,Icon as I,PbReactPopover as J,Radio$1 as K,Legend as L,MultiLevelSelect as M,Nav as N,OnlineStatus as O,Passphrase as P,ReactDOM as Q,RichTextEditor as R,SectionSeparator as S,TreemapChart as T,User as U,Tooltip as V,components as W,buildAriaProps as X,buildDataProps as Y,buildHtmlProps as Z,classnames as _,DialogBody as a,buildCss as a0,domSafeProps as a1,DialogContext as a2,Modal as a3,noop$1 as a4,HighchartsReact as a5,joinPresent as a6,titleize as a7,DialogFooter as b,DialogHeader as c,DistributionBar as d,LineGraph as e,Typeahead as f,PhoneNumberInput$1 as g,Button as h,Title as i,Background as j,FlexItem as k,Card as l,Badge as m,Body$1 as n,Caption as o,Checkbox as p,CircleIconButton as q,reactDomExports as r,Collapsible as s,PropTypes as t,DraggableProvider as u,Draggable as v,Image$1 as w,IconCircle as x,TextInput$1 as y,FormPill as z};