/*! Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one or more contributor license agreements. * Licensed under the Elastic License 2.0; you may not use this file except in compliance with the Elastic License 2.0. */ (window.ml_bundle_jsonpfunction=window.ml_bundle_jsonpfunction||[]).push([[6],{105:function(e,t,r){"use strict";let n,o;r.d(t,"f",(function(){return n})),r.d(t,"a",(function(){return o})),r.d(t,"c",(function(){return i})),r.d(t,"b",(function(){return a})),r.d(t,"e",(function(){return s})),r.d(t,"d",(function(){return l})),r.d(t,"h",(function(){return u})),r.d(t,"g",(function(){return c})),function(e){e.SINGLE_METRIC="single_metric",e.MULTI_METRIC="multi_metric",e.POPULATION="population",e.ADVANCED="advanced",e.CATEGORIZATION="categorization",e.RARE="rare",e.GEO="geo"}(n||(n={})),function(e){e.SINGLE_METRIC="single-metric-wizard",e.MULTI_METRIC="multi-metric-wizard",e.POPULATION="population-wizard",e.CATEGORIZATION="categorization-wizard",e.RARE="rare-wizard",e.GEO="geo-wizard",e.APM_TRANSACTION="ml-module-apm-transaction",e.SINGLE_METRIC_FROM_LENS="single-metric-wizard-from-lens",e.MULTI_METRIC_FROM_LENS="multi-metric-wizard-from-lens"}(o||(o={}));const i="10MB",a="15m",s="1h",l="60s",u="shared",c=5},106:function(e,t,r){"use strict";r.d(t,"f",(function(){return w})),r.d(t,"r",(function(){return E})),r.d(t,"q",(function(){return _})),r.d(t,"p",(function(){return O})),r.d(t,"n",(function(){return T})),r.d(t,"k",(function(){return S})),r.d(t,"o",(function(){return N})),r.d(t,"m",(function(){return M})),r.d(t,"s",(function(){return D})),r.d(t,"l",(function(){return C})),r.d(t,"b",(function(){return L})),r.d(t,"a",(function(){return I})),r.d(t,"g",(function(){return R})),r.d(t,"e",(function(){return j})),r.d(t,"c",(function(){return k})),r.d(t,"d",(function(){return q})),r.d(t,"x",(function(){return F})),r.d(t,"y",(function(){return P})),r.d(t,"w",(function(){return U})),r.d(t,"j",(function(){return V})),r.d(t,"t",(function(){return H})),r.d(t,"v",(function(){return G})),r.d(t,"u",(function(){return $})),r.d(t,"i",(function(){return z})),r.d(t,"h",(function(){return Y}));var n=r(7),o=r(408),i=r.n(o),a=(r(39),r(76)),s=r.n(a),l=r(6),u=r(20),c=r(67),d=r(22),f=r(98),p=r(42),m=r(41),g=r(31),h=r(105),b=r(229),y=r(139),v=r(290);function w(e){let t=3600;return e<=120?t=60:e<=1200?t=Math.floor(e/2):e<=43200&&(t=600),t}function E(e){return void 0===function(e){const t=Object(b.b)(e.datafeed_config);if(Object(u.a)(t)){const e=Object(v.a)(t);if(void 0!==e&&void 0!==t[e]&&!A(t[e]))return l.i18n.translate("xpack.ml.timeSeriesJob.jobWithUnsupportedCompositeAggregationMessage",{defaultMessage:"the datafeed contains unsupported composite sources"})}if(!1===e.analysis_config.detectors.some(((t,r)=>_(e,r))))return l.i18n.translate("xpack.ml.timeSeriesJob.notViewableTimeSeriesJobMessage",{defaultMessage:"it is not a viewable time series job"})}(e)}function _(e,t){return O(e,t)||T(e,t)}function A(e){return!(Object(u.a)(e,["composite"])&&Object(u.a)(e.composite,["sources"])&&Array.isArray(e.composite.sources))||!e.composite.sources.some((e=>{const t=Object(v.a)(e);if(void 0!==t&&Object(u.a)(e[t])){const r=Object.keys(e[t]);return 1===r.length&&"date_histogram"!==r[0]&&"terms"!==r[0]}return!1}))}function x(e){return"date_histogram"!==e&&"aggs"!==e&&"aggregations"!==e}function O(e,t){let r=!1;const{detectors:n}=e.analysis_config;if(t>=0&&t=0&&t0){var a,s;const n=null!==(a=null===(s=e.model_plot_config)||void 0===s?void 0:s.terms)&&void 0!==a?a:"";if(""!==n){const o=e.analysis_config.detectors[t],a=o.hasOwnProperty("partition_field_name"),s=o.hasOwnProperty("by_field_name"),l=n.split(",");if(a){const e=r.find((e=>e.fieldName===o.partition_field_name));i=void 0!==(null==e?void 0:e.fieldValue)&&-1!==l.indexOf(String(e.fieldValue))}if(!0===i&&!0===s){const e=r.find((e=>e.fieldName===o.by_field_name));i=void 0!==(null==e?void 0:e.fieldValue)&&-1!==l.indexOf(String(e.fieldValue))}}}return i}function M(e,t){var r;const n=null!==(r=e.job_version)&&void 0!==r?r:"0.0.0";return i()(n,t)}function D(e){return e===f.n.MEAN||e===f.n.HIGH_MEAN||e===f.n.LOW_MEAN||e===f.n.METRIC?f.b.AVG:e===f.n.SUM||e===f.n.HIGH_SUM||e===f.n.LOW_SUM||e===f.n.NON_NULL_SUM||e===f.n.LOW_NON_NULL_SUM||e===f.n.HIGH_NON_NULL_SUM?f.b.SUM:e===f.n.COUNT||e===f.n.HIGH_COUNT||e===f.n.LOW_COUNT||e===f.n.NON_ZERO_COUNT||e===f.n.LOW_NON_ZERO_COUNT||e===f.n.HIGH_NON_ZERO_COUNT?f.b.COUNT:e===f.n.DISTINCT_COUNT||e===f.n.LOW_DISTINCT_COUNT||e===f.n.HIGH_DISTINCT_COUNT?f.b.CARDINALITY:e===f.n.MEDIAN||e===f.n.HIGH_MEDIAN||e===f.n.LOW_MEDIAN?f.b.PERCENTILES:e===f.n.MIN||e===f.n.MAX?e:e===f.n.RARE?f.b.COUNT:null}function C(e){return/^[a-z0-9\-\_]+$/g.test(e)&&!/^([_-].*)?(.*[_-])?$/g.test(e)}const L="50.0",I=10;function R(e){return`datafeed-${e}`}function j(e,t,r,o=!1){const i=[];let a=!0;if(e){Object(n.isEmpty)(e.job_id)?(i.push({id:"job_id_empty"}),a=!1):!1===C(e.job_id)?(i.push({id:"job_id_invalid"}),a=!1):Object(g.c)(p.b)(e.job_id)?(i.push({id:"job_id_invalid_max_length",maxLength:p.b}),a=!1):i.push({id:"job_id_valid"});const{messages:s,valid:l}=U(e);if(i.push(...s),a=a&&l,e.analysis_config.categorization_filters){let t=!0;Object(n.each)(e.analysis_config.categorization_filters,(r=>{try{new RegExp(r)}catch(e){t=!1}void 0!==e.analysis_config.categorization_field_name&&""!==e.analysis_config.categorization_field_name||(t=!1),""===r&&(t=!1)})),t?i.push({id:"categorization_filters_valid"}):(i.push({id:"categorization_filters_invalid"}),a=!1)}let u=!1;if(0===e.analysis_config.detectors.length)i.push({id:"detectors_empty"}),a=!1;else{let t=!0;Object(n.each)(e.analysis_config.detectors,(r=>{var o;Object(n.isEmpty)(r.function)&&(t=!1),!0===(null===(o=e.analysis_config.per_partition_categorization)||void 0===o?void 0:o.enabled)&&(r.by_field_name===f.e||r.over_field_name===f.e)&&void 0===r.partition_field_name&&(u=!0)})),t?i.push({id:"detectors_function_not_empty"}):(i.push({id:"detectors_function_empty"}),a=!1),u&&(i.push({id:"categorizer_detector_missing_per_partition_field"}),a=!1)}if(e.analysis_config.detectors.length>=2){if(void 0!==e.analysis_config.per_partition_categorization&&(e.analysis_config.per_partition_categorization.enabled||e.analysis_config.per_partition_categorization.stop_on_warn&&Array.isArray(e.analysis_config.detectors)&&e.analysis_config.detectors.length>=2)){const t=e.analysis_config.detectors.filter((e=>e.by_field_name===f.e||e.over_field_name===f.e||e.partition_field_name===f.e)),r=[...new Set(t.map((e=>e.partition_field_name)).filter((e=>void 0!==e)))];r.length>1&&(a=!1,i.push({id:"categorizer_varying_per_partition_fields",fields:r.join(", ")}))}const t=e.analysis_config.detectors.map((e=>Object(n.pick)(e,["function","field_name","by_field_name","over_field_name","partition_field_name"]))),r=t.reduce(((e,t)=>(0===e.filter((e=>Object(n.isEqual)(e,t))).length&&e.push(t),e)),[]);t.length!==r.length&&(i.push({id:"detectors_duplicates"}),a=!1)}if(""===e.analysis_config.bucket_span||void 0===e.analysis_config.bucket_span?(i.push({id:"bucket_span_empty"}),a=!1):B(e.analysis_config.bucket_span)?i.push({id:"bucket_span_valid",bucketSpan:e.analysis_config.bucket_span}):(i.push({id:"bucket_span_invalid"}),a=!1),void 0!==t&&(0===Object.keys(t).length?(i.push({id:"index_fields_invalid"}),a=!1):i.push({id:"index_fields_valid"})),!1===o){const t=e.analysis_limits&&e.analysis_limits.model_memory_limit,{messages:n,valid:o}=P(t);if(i.push(...n),a=a&&o,o){const{messages:t,valid:n}=F(e,r);i.push(...t),a=a&&n}}}else a=!1;return{messages:i,valid:a,contains:e=>i.some((t=>e===t.id)),find:e=>i.find((t=>e===t.id))}}function k(e){const t=[];let r=!0;if(e){let n={id:"query_delay_valid"};!1===B(e.query_delay)&&(n={id:"query_delay_invalid"},r=!1),t.push(n);let o={id:"frequency_valid"};!1===B(e.frequency)&&(o={id:"frequency_invalid"},r=!1),t.push(o)}return{messages:t,valid:r,contains:e=>t.some((t=>e===t.id)),find:e=>t.find((t=>e===t.id))}}function q(e,t){const r=[];let n=!0;var o;t&&e&&(void 0===Object(b.b)(t)||null!==(o=e.analysis_config)&&void 0!==o&&o.summary_count_field_name||(n=!1,r.push({id:"missing_summary_count_field_name"})));return{messages:r,valid:n,contains:e=>r.some((t=>e===t.id)),find:e=>r.find((t=>e===t.id))}}function F(e,t){const r=[];let n=!0;if(void 0!==e.analysis_limits&&void 0!==e.analysis_limits.model_memory_limit&&"object"==typeof t&&void 0!==t.max_model_memory_limit){const o=t.max_model_memory_limit.toUpperCase(),i=e.analysis_limits.model_memory_limit.toUpperCase();s()(i).value()>s()(o).value()?(r.push({id:"model_memory_limit_invalid"}),n=!1):r.push({id:"model_memory_limit_valid"})}return{valid:n,messages:r,contains:e=>r.some((t=>e===t.id)),find:e=>r.find((t=>e===t.id))}}function P(e){const t=[];let r=!0;if(void 0!==e){const n=String(e).toUpperCase().match(/\d+(\w+)$/),o=n&&2===n.length?n[1]:null;null===o||-1===p.a.indexOf(o)?(t.push({id:"model_memory_limit_units_invalid"}),r=!1):t.push({id:"model_memory_limit_units_valid"})}return{valid:r,messages:t,contains:e=>t.some((t=>e===t.id)),find:e=>t.find((t=>e===t.id))}}function U(e){const{groups:t=[]}=e,r=[...t.some((e=>!C(e)))?[{id:"job_group_id_invalid"}]:[],...t.some((e=>Object(g.c)(p.b)(e)))?[{id:"job_group_id_invalid_max_length"}]:[]],n=0===r.length,o=n&&t.length?[{id:"job_group_id_valid"}]:r;return{valid:n,messages:o,contains:e=>o.some((t=>e===t.id)),find:e=>o.find((t=>e===t.id))}}function B(e){return void 0===e||null!==function(e){if(void 0===e)return null;const t=Object(m.a)(e,!0);return null!==t&&0!==t.asMilliseconds()&&0===t.milliseconds()?t:null}(e)}function V(e,t){return void 0!==e&&void 0!==t?Math.max(e,t):void 0!==e?e:t}function H(e){Object.values(h.a).includes(e.created_by)&&delete e.created_by}function G(e){return e.includes(",")?e.split(",").map((e=>e.trim())):[e]}function $(e){const t=Math.max(...e.map((e=>Object(m.a)(e))).filter(d.a).map((e=>e.asSeconds())));return Number.isFinite(t)?t:void 0}function z(e,t,r,o=c.FilterStateStore.APP_STATE){return i=e,[{bool:{must:[{match_all:{}}]}},{bool:{filter:[],must:[{match_all:{}}],must_not:[]}},{bool:{filter:[],must:[{match_all:{}}]}},{bool:{must:[{match_all:{}}],must_not:[]}},{match_all:{}}].some((e=>Object(n.isEqual)(e,i)))?[]:[{meta:{...void 0!==t?{index:t}:{},...void 0!==r?{alias:r}:{},negate:!1,disabled:!1,type:"custom",value:JSON.stringify(e)},query:e,$state:{store:o}}];var i}function Y(e){Array.isArray(e)||(e=[e]);const t=new Set;for(const r of e)for(const e of r.analysis_config.influencers||[])t.add(e);return Array.from(t)}},112:function(e,t,r){"use strict";r.d(t,"a",(function(){return h}));var n=r(5),o=r.n(n),i=r(7),a=r(39),s=r.n(a),l=r(6),u=r(110),c=r(41);var d=r(12),f=r(101);let p=[],m={};function g(e,t,r,n,o="absolute"){const i=e.map((e=>`'${e}'`)).join(",");let a,l,u="";return void 0!==n&&(u+=n),"quick"===o?(a=t,l=r):(a=s()(t).toISOString(),l=s()(r).toISOString()),u+=`?_g=(ml:(jobIds:!(${i}))`,u+=`,refreshInterval:(display:Off,pause:!t,value:0),time:(from:'${a}'`,u+=`,to:'${l}'`,"invalid"===o&&(u+=",mode:invalid"),u+="))&_a=(query:(query_string:(analyze_wildcard:!t,query:'*')))",u}const h=new class job_service_JobService{constructor(){o()(this,"loadJobsWrapper",(()=>this.loadJobs().then((function(e){return e})).catch((function(e){console.log("Error loading jobs in route resolve.",e),Promise.resolve([])})))),this.tempJobCloningObjects={createdBy:void 0,datafeed:void 0,job:void 0,skipTimeRangeStep:!1,start:void 0,end:void 0,calendars:void 0,autoSetTimeRange:!1},this.jobs=[],this.basicJobs={},this.jobDescriptions={},this.detectorsByJob={},this.customUrlsByJob={},this.jobStats={activeNodes:{label:l.i18n.translate("xpack.ml.jobService.activeMLNodesLabel",{defaultMessage:"Active ML nodes"}),value:0,show:!0},total:{label:l.i18n.translate("xpack.ml.jobService.totalJobsLabel",{defaultMessage:"Total jobs"}),value:0,show:!0},open:{label:l.i18n.translate("xpack.ml.jobService.openJobsLabel",{defaultMessage:"Open jobs"}),value:0,show:!0},closed:{label:l.i18n.translate("xpack.ml.jobService.closedJobsLabel",{defaultMessage:"Closed jobs"}),value:0,show:!0},failed:{label:l.i18n.translate("xpack.ml.jobService.failedJobsLabel",{defaultMessage:"Failed jobs"}),value:0,show:!1},activeDatafeeds:{label:l.i18n.translate("xpack.ml.jobService.activeDatafeedsLabel",{defaultMessage:"Active datafeeds"}),value:0,show:!0}}}loadJobs(){return new Promise(((e,t)=>{function r(e){console.log("jobService error getting list of jobs:",e),Object(f.a)().displayErrorToast(e),t({jobs:p,err:e})}p=[],m={},d.ml.getJobs().then((t=>{p=t.jobs,d.ml.getJobStats().then((t=>{for(let e=0;e{for(let e=0;e{const a=t.analysis_config,s=Object(c.a)(a.bucket_span),l={id:t.job_id,bucketSpanSeconds:s.asSeconds()};void 0!==t.description&&!1===/^\s*$/.test(t.description)?l.description=t.description:l.description=t.job_id,l.detectors=Object(i.get)(a,"detectors",[]),n[l.id]=l.detectors,void 0!==t.custom_settings&&void 0!==t.custom_settings.custom_urls&&(l.customUrls=[],Object(i.each)(t.custom_settings.custom_urls,(e=>{void 0!==e.url_name&&void 0!==e.url_value&&function(e){const t=function(e){const t=document.createElement("a");return t.setAttribute("href",e),t.href}(e);return/^https?:\/\//.test(t)}(e.url_value)&&l.customUrls.push(e)})),l.customUrls.length>0&&(o[l.id]=l.customUrls)),e.jobDescriptions[l.id]=l.description,e.basicJobs[l.id]=l,r.push(l)})),e.detectorsByJob=n,e.customUrlsByJob=o}(this,p),this.jobs=p,e({jobs:this.jobs})}))})).catch((e=>{r(e)}))})).catch((e=>{r(e)}))}))}refreshJob(e){return new Promise(((t,r)=>{function n(e){console.log("JobService error getting list of jobs:",e),Object(f.a)().displayErrorToast(e),r({jobs:p,err:e})}d.ml.getJobs({jobId:e}).then((r=>{if(r.jobs&&r.jobs.length){const o=r.jobs[0];d.ml.getJobStats({jobId:e}).then((r=>{for(let e=0;e{for(let t=0;t{n(e)}))}})).catch((e=>{n(e)}))}))}loadDatafeeds(e){return new Promise(((t,r)=>{const n=void 0!==e?{datafeed_id:e}:void 0;function o(e){console.log("loadDatafeeds error getting list of datafeeds:",e),Object(f.a)().displayErrorToast(e),r({jobs:p,err:e})}d.ml.getDatafeeds(n).then((e=>{const r=e.datafeeds;d.ml.getDatafeedStats().then((e=>{for(let t=0;t{o(e)}))})).catch((e=>{o(e)}))}))}updateSingleJobDatafeedState(e){return new Promise(((t,r)=>{const n=this.getDatafeedId(e);d.ml.getDatafeedStats({datafeedId:n}).then((e=>{const r=e.datafeeds;let n="UNKNOWN";r&&r.length&&(n=r[0].state),t(n)})).catch((e=>{r(e)}))}))}saveNewJob(e){function t(t){console.log("Response for job query:",t);const r=function(e,t){if(!e)return console.log("checkSaveResponse(): response is empty"),!1;if(e.job_id){if(e.job_id===t.job_id)return console.log("checkSaveResponse(): save successful"),!0}else if(e.errorCode)return console.log("checkSaveResponse(): save failed",e),!1}(t,e);return{success:r,job:e,resp:t}}return d.ml.addJob({jobId:e.job_id,job:e}).then(t).catch(t)}cloneDatafeed(e){const t=Object(i.cloneDeep)(e);return t&&(delete t.datafeed_id,delete t.job_id),t}getJob(e){return Object(i.find)(p,(t=>t.job_id===e))}openJob(e){return d.ml.openJob({jobId:e})}closeJob(e){return d.ml.closeJob({jobId:e})}saveNewDatafeed(e,t){const r=`datafeed-${t}`;return e.job_id=t,d.ml.addDatafeed({datafeedId:r,datafeedConfig:e})}startDatafeed(e,t,r,n){return new Promise(((t,o)=>{Object(i.isNumber)(n)&&n++,d.ml.startDatafeed({datafeedId:e,start:r,end:n}).then((e=>{t(e)})).catch((e=>{console.log("jobService error starting datafeed:",e),o(e)}))}))}forceStartDatafeeds(e,t,r){return d.ml.jobs.forceStartDatafeeds(e,t,r)}stopDatafeeds(e){return d.ml.jobs.stopDatafeeds(e)}deleteJobs(e,t){return d.ml.jobs.deleteJobs(e,t)}closeJobs(e){return d.ml.jobs.closeJobs(e)}resetJobs(e,t){return d.ml.jobs.resetJobs(e,t)}validateDetector(e){return new Promise(((t,r)=>{e?d.ml.validateDetector({detector:e}).then((e=>{t(e)})).catch((e=>{r(e)})):r({})}))}getDatafeedId(e){let t=m[e];return void 0===t&&(t=`datafeed-${e}`),t}getJobGroups(){const e=[],t={};return this.jobs.forEach((e=>{Array.isArray(e.groups)&&e.groups.forEach((r=>{void 0===t[r]?t[r]=[e]:t[r].push(e)}))})),Object(i.each)(t,((t,r)=>{e.push({id:r,jobs:t})})),e}createResultsUrlForJobs(e,t,r){return function(e,t,r){let n,o,i="absolute";const a=e.map((e=>e.id));if(Object(u.f)(r)){n=r.from,o=r.to;const e=s()(r.from).isValid(),i=s()(r.to).isValid();if(!e&&!i)return g(a,n,o,t,"quick")}else if(r&&(i="invalid"),1===e.length)n=e[0].earliestTimestampMs,o=e[0].latestResultsTimestampMs;else{const t=e.filter((e=>void 0!==e.earliestTimestampMs));t.length>0&&(n=Math.min(...t.map((e=>e.earliestTimestampMs))),o=Math.max(...t.map((e=>e.latestResultsTimestampMs))))}return g(a,s()(n).format(u.a),s()(o).format(u.a),t,i)}(e,t,r)}createResultsUrl(e,t,r,n){return g(e,t,r,n)}async getJobAndGroupIds(){try{return await d.ml.jobs.getAllJobAndGroupIds()}catch(e){return{jobIds:[],groupIds:[]}}}}},116:function(e,t,r){"use strict";r.d(t,"f",(function(){return u})),r.d(t,"b",(function(){return c})),r.d(t,"h",(function(){return f})),r.d(t,"e",(function(){return p})),r.d(t,"c",(function(){return m})),r.d(t,"d",(function(){return g})),r.d(t,"a",(function(){return h})),r.d(t,"g",(function(){return b}));var n=r(131),o=r.n(n),i=r(406),a=r.n(i),s=r(67),l=r(22);function u(e,t,r){return String(e).replace(/\$([^?&$\'"]+)\$/g,((e,n)=>{let o=t&&void 0!==t[n]?t[n]:null;return!0===r&&null!==o&&(o=encodeURIComponent(o)),null!==o?o:e}))}function c(e){let t="";return void 0!==e.function&&""!==e.function?(t+=e.function,void 0!==e.field_name&&""!==e.field_name&&(t+="("+d(e.field_name)+")")):void 0!==e.field_name&&""!==e.field_name&&(t+=d(e.field_name)),void 0!==e.by_field_name&&""!==e.by_field_name&&(t+=" by "+d(e.by_field_name)),void 0!==e.over_field_name&&""!==e.over_field_name&&(t+=" over "+d(e.over_field_name)),void 0!==e.use_null&&(t+=" use_null="+e.use_null),void 0!==e.partition_field_name&&""!==e.partition_field_name&&(t+=" partition_field_name="+d(e.partition_field_name)),void 0!==e.exclude_frequent&&(t+=" exclude_frequent="+e.exclude_frequent),t}function d(e){return e.match(/\W/g)?'"'+e+'"':e}function f(e){if(null==e)return"";let t=e.toString();if(e&&"number"==typeof e){const r=e.toString().split(".");r[0]=r[0].replace(/\B(?=(\d{3})+(?!\d))/g,","),t=r.join(".")}return t}function p(e){return String(e).replace(/\W/g,(e=>a.a.encode(e,{useNamedReferences:!0,encodeEverything:!0,allowUnsafeSymbols:!1})))}function m(e){return String(e).replace(/[-[\]{}()+!<>=?:\/\\^"~*&|\s]/g,"\\$&")}function g(e,t){return Object(l.a)(e)&&Object(l.a)(t)?`${Object(s.escapeKuery)(e)}:${Object(s.escapeKuery)(t.toString())}`:""}function h(e,t){e=t&&"number"==typeof e?o.a.format(",")(e):e;const r=o.a.select("body").append("div"),n=r.append("svg").append("g").attr("class","temp-axis-label tick").selectAll("text.temp.axis").data(["a"]).enter().append("text").text(e)[0][0].getBBox().width;return o.a.select(".temp-axis-label").remove(),void 0!==r&&r.remove(),Math.ceil(n)}function b(e,t){return"string"==typeof e&&"string"==typeof t&&null===e.toLowerCase().match(t.toLowerCase())==0}},117:function(e,t,r){"use strict";r.d(t,"c",(function(){return o})),r.d(t,"d",(function(){return i})),r.d(t,"h",(function(){return a})),r.d(t,"b",(function(){return s})),r.d(t,"e",(function(){return l})),r.d(t,"f",(function(){return u})),r.d(t,"j",(function(){return c})),r.d(t,"g",(function(){return d})),r.d(t,"a",(function(){return f})),r.d(t,"i",(function(){return p}));var n=r(6);const o={CLEAR_EXPLORER_DATA:"clearExplorerData",CLEAR_INFLUENCER_FILTER_SETTINGS:"clearInfluencerFilterSettings",CLEAR_JOBS:"clearJobs",JOB_SELECTION_CHANGE:"jobSelectionChange",SET_CHARTS_DATA_LOADING:"setChartsDataLoading",SET_EXPLORER_DATA:"setExplorerData"},i={ADD:"+",REMOVE:"-"},a={OVERALL:"overall",VIEW_BY:"viewBy"},s={EVENT_DISTRIBUTION:"event_distribution",POPULATION_DISTRIBUTION:"population_distribution",SINGLE_METRIC:"single_metric",GEO_MAP:"geo_map"},l=10,u=10,c=n.i18n.translate("xpack.ml.explorer.jobIdLabel",{defaultMessage:"job ID"}),d=n.i18n.translate("xpack.ml.explorer.overallLabel",{defaultMessage:"Overall"}),f=1e3,p=10},123:function(e,t,r){"use strict";r.d(t,"b",(function(){return u.b})),r.d(t,"a",(function(){return u.a})),r.d(t,"e",(function(){return d})),r.d(t,"d",(function(){return f})),r.d(t,"c",(function(){return y})),r.d(t,"f",(function(){return w}));var n=r(5),o=r.n(n),i=r(6),a=r(0),s=r(25);class anomaly_swimlane_embeddable_factory_AnomalySwimlaneEmbeddableFactory{constructor(e){o()(this,"type",u.b),o()(this,"grouping",[{id:a.f,getDisplayName:()=>a.a,getIconType:()=>a.d}]),this.getStartServices=e}async isEditable(){return!0}getDisplayName(){return i.i18n.translate("xpack.ml.components.jobAnomalyScoreEmbeddable.displayName",{defaultMessage:"Anomaly swim lane"})}getDescription(){return i.i18n.translate("xpack.ml.components.jobAnomalyScoreEmbeddable.description",{defaultMessage:"View anomaly detection results in a timeline."})}async getExplicitInput(){const[e]=await this.getServices();try{const{resolveAnomalySwimlaneUserInput:t}=await Promise.all([r.e(2),r.e(1),r.e(0),r.e(3),r.e(4),r.e(8)]).then(r.bind(null,683));return await t(e)}catch(e){return Promise.reject()}}async getServices(){const[e,t]=await this.getStartServices(),{AnomalyDetectorService:n}=await r.e(9).then(r.bind(null,668)),{AnomalyTimelineService:o}=await r.e(24).then(r.bind(null,213)),{mlApiServicesProvider:i}=await Promise.resolve().then(r.bind(null,12)),{mlResultsServiceProvider:a}=await r.e(0).then(r.bind(null,143)),l=new s.a(e.http);return[e,t,{anomalyDetectorService:new n(l),anomalyTimelineService:new o(t.data.query.timefilter.timefilter,e.uiSettings,a(i(l)))}]}async create(e,t){const n=await this.getServices(),{AnomalySwimlaneEmbeddable:o}=await r.e(22).then(r.bind(null,272));return new o(e,n,t)}}var l=r(186);class anomaly_charts_embeddable_factory_AnomalyChartsEmbeddableFactory{constructor(e){o()(this,"type",u.a),o()(this,"grouping",[{id:a.f,getDisplayName:()=>a.a,getIconType:()=>a.d}]),this.getStartServices=e}async isEditable(){return!0}getDisplayName(){return i.i18n.translate("xpack.ml.components.mlAnomalyExplorerEmbeddable.displayName",{defaultMessage:"Anomaly chart"})}getDescription(){return i.i18n.translate("xpack.ml.components.mlAnomalyExplorerEmbeddable.description",{defaultMessage:"View anomaly detection results in a chart."})}async getExplicitInput(){const[e]=await this.getServices();try{const{resolveEmbeddableAnomalyChartsUserInput:t}=await Promise.all([r.e(2),r.e(1),r.e(0),r.e(3),r.e(4),r.e(7)]).then(r.bind(null,669));return await t(e)}catch(e){return Promise.reject()}}async getServices(){const[e,t]=await this.getStartServices(),{AnomalyDetectorService:n}=await r.e(9).then(r.bind(null,668)),{mlApiServicesProvider:o}=await Promise.resolve().then(r.bind(null,12)),{mlResultsServiceProvider:i}=await r.e(0).then(r.bind(null,143)),a=new s.a(e.http),u=new n(a),c=o(a),d=i(c);return[e,t,{anomalyDetectorService:u,anomalyExplorerService:new l.a(t.data.query.timefilter.timefilter,c,d),mlResultsService:d}]}async create(e,t){const n=await this.getServices(),{AnomalyChartsEmbeddable:o}=await r.e(21).then(r.bind(null,274));return new o(e,n,t)}}var u=r(47),c=r(20);function d(e){return Object(c.a)(e,["embeddable"])&&Object(c.a)(e.embeddable,["type"])&&e.embeddable.type===u.b}function f(e){return Object(c.a)(e,["embeddable"])&&Object(c.a)(e.embeddable,["type"])&&e.embeddable.type===u.a}var p=r(2),m=r.n(p),g=r(72),h=r(28),b=r(4);function y(e,t,r){const{embeddable:n}=r,o=n.getEmbeddableFactory(e);if(!o)throw new Error(`Embeddable type "${e}" has not been registered.`);return m.a.memo((e=>Object(b.jsx)(v,{factory:o,input:e})))}const v=({factory:e,input:t})=>{const[r,n,o]=Object(g.useEmbeddableFactory)({factory:e,input:t});return n?Object(b.jsx)(h.EuiLoadingChart,null):Object(b.jsx)(g.EmbeddableRoot,{embeddable:r,loading:n,error:o,input:t})};function w(e,t){const r=new anomaly_swimlane_embeddable_factory_AnomalySwimlaneEmbeddableFactory(t.getStartServices);e.registerEmbeddableFactory(r.type,r);const n=new anomaly_charts_embeddable_factory_AnomalyChartsEmbeddableFactory(t.getStartServices);e.registerEmbeddableFactory(n.type,n)}},124:function(e,t,r){"use strict";r.d(t,"a",(function(){return v})),r.d(t,"d",(function(){return w})),r.d(t,"n",(function(){return E})),r.d(t,"g",(function(){return _})),r.d(t,"f",(function(){return A})),r.d(t,"k",(function(){return x})),r.d(t,"i",(function(){return O})),r.d(t,"j",(function(){return T})),r.d(t,"o",(function(){return S})),r.d(t,"l",(function(){return N})),r.d(t,"m",(function(){return M})),r.d(t,"p",(function(){return D})),r.d(t,"c",(function(){return L})),r.d(t,"b",(function(){return I})),r.d(t,"h",(function(){return R})),r.d(t,"q",(function(){return j})),r.d(t,"e",(function(){return k}));var n=r(7),o=r(73),i=r.n(o),a=r(10),s=r(114),l=r(20),u=r(107),c=r(98),d=r(178),f=r(129),p=r(106),m=r(41),g=r(12),h=r(112),b=r(13),y=r(117);function v(e){return e.map((e=>{var t;const r=Object(m.a)(e.analysis_config.bucket_span);return{id:e.job_id,selected:!1,bucketSpanSeconds:r.asSeconds(),isSingleMetricViewerJob:Object(p.r)(e),sourceIndices:e.datafeed_config.indices,modelPlotEnabled:!0===(null===(t=e.model_plot_config)||void 0===t?void 0:t.enabled)}}))}function w(){return{selectedCells:void 0}}async function E(e,t,r,o,i,a,s,l){const u={};a.forEach((e=>{const t=e.fieldName;void 0===u[e.fieldName]&&(u[e.fieldName]=[]),u[t].push(e.fieldValue)})),i.forEach((e=>{(e.influencers||[]).forEach((e=>{const t=e.influencer_field_name,r=e.influencer_field_values;void 0===u[t]&&(u[t]=[]),u[t].push(...r)}))}));const c={};Object.keys(u).forEach((e=>{const t=u[e];c[e]=Object(n.uniq)(t)}));const d=[];return Object.keys(c).forEach((e=>{void 0!==a.find((t=>t.fieldName===e))?d.push(...a):c[e].forEach((t=>{d.push({fieldName:e,fieldValue:t})}))})),await D(e,t,r,o,d,s,l)}function _(e){const t=[];return e.forEach((e=>{const r=h.a.getJob(e.id);void 0!==r&&r.analysis_config&&r.analysis_config.influencers&&t.push(...r.analysis_config.influencers)})),t}function A(){const e=Object(b.i)().get("dateFormat:tz");return"Browser"!==e?e:i.a.tz.guess()}function x(e,t){const r=t;let n=r.min.valueOf(),o=r.max.valueOf();return void 0!==(null==e?void 0:e.times)&&(n=void 0!==e.times[0]?1e3*e.times[0]:r.min.valueOf(),o=r.max.valueOf(),void 0!==e.times[1]&&(o=1e3*e.times[1]-1)),{earliestMs:n,latestMs:o}}function O(e,t){return e&&e.type!==y.h.OVERALL&&void 0!==e.viewByFieldName&&e.viewByFieldName!==y.j?e.lanes.map((e=>({fieldName:t,fieldValue:e}))):[]}function T(e,t){return e&&e.type!==y.h.OVERALL&&void 0!==e.viewByFieldName&&e.viewByFieldName===y.j?e.lanes:t.map((e=>e.id))}function S(e,t){const r=e.map((e=>e.id)),n=x(void 0,t);return new Promise((e=>{Object(a.lastValueFrom)(g.ml.annotations.getAnnotations$({jobIds:r,earliestMs:n.earliestMs,latestMs:n.latestMs,maxAnnotations:d.a})).then((t=>{if(void 0!==t.error||void 0===t.annotations){const r=Object(u.b)(t.error);return e({annotationsData:[],error:""!==r?r:void 0})}const n=[];return r.forEach((e=>{const r=t.annotations[e];void 0!==r&&n.push(...r)})),e({annotationsData:n.sort(((e,t)=>e.timestamp-t.timestamp)).map(((e,t)=>(e.key=(t+1).toString(),e)))})})).catch((t=>{const r=Object(u.b)(t);return e({annotationsData:[],error:""!==r?r:void 0})}))}))}function N(e,t,r){const n=T(e,t),o=x(e,r);return new Promise((e=>{Object(a.lastValueFrom)(g.ml.annotations.getAnnotations$({jobIds:n,earliestMs:o.earliestMs,latestMs:o.latestMs,maxAnnotations:d.a})).then((t=>{if(void 0!==t.error||void 0===t.annotations){const r=Object(u.b)(t.error);return e({annotationsData:[],totalCount:0,error:""!==r?r:void 0})}const r=[];return n.forEach((e=>{const n=t.annotations[e];void 0!==n&&r.push(...n)})),e({annotationsData:r.sort(((e,t)=>e.timestamp-t.timestamp)).map(((e,t)=>(e.key=(t+1).toString(),e))),totalCount:t.totalCount})})).catch((t=>{const r=Object(u.b)(t);return e({annotationsData:[],totalCount:0,error:""!==r?r:void 0})}))}))}async function M(e,t,r,o,i,a,s,l){const u=T(e,t),f=O(e,i),m=x(e,o);return new Promise(((e,t)=>{g.ml.results.getAnomaliesTableData(u,[],f,a,s,m.earliestMs,m.latestMs,r,d.b,y.e,l).toPromise().then((t=>{const r=t.anomalies,o=h.a.detectorsByJob;r.forEach((e=>{const t=e.jobId,r=Object(n.get)(o,[t,e.detectorIndex]);e.detector=Object(n.get)(r,["detector_description"],e.source.function_description),void 0!==r&&void 0!==r.custom_rules&&(e.rulesLength=r.custom_rules.length);const i=h.a.getJob(t);let a=Object(p.p)(i,e.detectorIndex);if(!1===a&&Object(p.n)(i,e.detectorIndex)){const t=Object(c.x)(e.source);a=Object(p.o)(i,e.detectorIndex,t)}e.isTimeSeriesViewRecord=a,e.isGeoRecord=void 0!==r&&r.function===c.n.LAT_LONG,void 0!==h.a.customUrlsByJob[t]&&(e.customUrls=h.a.customUrlsByJob[t])})),e({anomalies:r,interval:t.interval,examplesByJobId:t.examplesByJobId,showViewSeriesLink:!0,jobIds:u})})).catch((e=>{console.log("Explorer - error loading data for anomalies table:",e),t()}))}))}async function D(e,t,r,n,o,i,a){return new Promise((s=>{!0!==i?e.getTopInfluencers(t,r,n,y.f,10,1,o,a).then((e=>{s(e.influencers)})):s({})}))}function C(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function L(e){return e.replace(/[()]/g,"\\$&")}function I(e){return e.replace(/[\\"]/g,"\\$&")}function R(e,t){const r=C(e),n=C(t);return new RegExp(`(${r})\\s?:\\s?(")?(${n})(")?`,"i")}function j(e,t,r){let n="";const o=R(t,r);return n=e.replace(o,""),n=n.replace(/\s+(and|or)\s+(and|or)\s+/gi," $1 "),n=n.replace(/\s(and|or)\s*$/gi,""),n=n.replace(/^\s*(and|or)\s/gi,""),n}async function k(e,t){const r={},n=new Map;if(Array.isArray(e))for(const a of e){let e,u;if(i=a,Object(l.a)(i)&&"string"==typeof i.id&&void 0!==i.selected&&void 0!==i.bucketSpanSeconds?(e=a.sourceIndices,u=a.id):(e=a.datafeed_config.indices,u=a.job_id),Array.isArray(e))for(const i of e){var o;const e=n.get(i),a=null!==(o=null==e?void 0:e.id)&&void 0!==o?o:await Object(f.c)(i);if(a){const o=null!=e?e:await t.get(a);if(!o)continue;n.set(i,o);const l=[...o.fields.getByType(s.a.GEO_POINT),...o.fields.getByType(s.a.GEO_SHAPE)];l.length>0&&(void 0===r[u]&&(r[u]={[i]:{geoFields:[],dataViewId:a}}),r[u][i].geoFields.push(...l.map((e=>e.name))))}}}var i;return{sourceIndicesWithGeoFieldsMap:r,dataViews:[...n.values()]}}},139:function(e,t,r){"use strict";r.d(t,"b",(function(){return i})),r.d(t,"c",(function(){return a})),r.d(t,"a",(function(){return s}));var n=r(42);const o=(e,t)=>e.indexOf(t)>=0;function i(e){const t=e.map((e=>e.status));return[n.c.INFO,n.c.WARNING,n.c.ERROR].reduce(((e,r)=>o(t,r)?r:e),n.c.SUCCESS)}function a(e){if(null===e)return!1;try{return JSON.parse(e),!0}catch(e){return!1}}function s(e,t,r=!1){if(void 0===t)return;let n;return Object.keys(e).some((function(o){return o===t?(n=!0===r?e:e[o],!0):e.hasOwnProperty(o)&&null!==e[o]&&"object"==typeof e[o]?(n=s(e[o],t,r),void 0!==n):void 0})),n}},155:function(e,t,r){"use strict";r.d(t,"a",(function(){return s}));var n=r(35),o=r(173);const i=[n.euiDarkVars.euiColorVis0,n.euiDarkVars.euiColorVis1,n.euiDarkVars.euiColorVis2,n.euiDarkVars.euiColorVis3,n.euiDarkVars.euiColorVis4,n.euiDarkVars.euiColorVis5,n.euiDarkVars.euiColorVis6,n.euiDarkVars.euiColorVis7,n.euiDarkVars.euiColorVis8,n.euiDarkVars.euiColorVis9,n.euiDarkVars.euiColorDarkShade,n.euiDarkVars.euiColorPrimary],a={};function s(e){if(void 0===a[e]){const t=Object(o.a)(e),r=i[t%i.length];return a[e]=r,r}return a[e]}},165:function(e,t,r){"use strict";r.d(t,"b",(function(){return f})),r.d(t,"a",(function(){return p})),r.d(t,"c",(function(){return b})),r.d(t,"d",(function(){return y})),r.d(t,"e",(function(){return v}));var n=r(28),o=r(68),i=r(67),a=r(98),s=r(110),l=r(120),u=r(155),c=r(212),d=r(360);const f={TYPICAL:"typical",ACTUAL:"actual",TYPICAL_TO_ACTUAL:"typical to actual"},p={type:o.STYLE_TYPE.DYNAMIC,options:{customColorRamp:a.r,field:{name:"record_score",origin:o.FIELD_ORIGIN.SOURCE},useCustomColorRamp:!0}},m={type:"VECTOR",properties:{fillColor:p,lineColor:p},isTimeAware:!1},g={type:"VECTOR",properties:{fillColor:{type:"STATIC",options:{color:"#98A2B2"}},lineColor:{type:"STATIC",options:{color:"#fff"}},lineWidth:{type:"STATIC",options:{size:2}},iconSize:{type:"STATIC",options:{size:6}}}};function h(e){return e.split(",").map((e=>Number(e))).reverse()}function b(e){const t=[];for(const r in f)f.hasOwnProperty(r)&&t.push({id:Object(n.htmlIdGenerator)()(),type:o.LAYER_TYPE.GEOJSON_VECTOR,sourceDescriptor:d.AnomalySource.createDescriptor({jobId:e,typicalActual:f[r]}),style:f[r]===f.TYPICAL?g:m});return t}function y(e){const t=[];for(const r in e)if(e.hasOwnProperty(r)){const{dataViewId:i,geoFields:a}=e[r];a.forEach((e=>{const a=Object(u.a)(e);t.push({id:Object(n.htmlIdGenerator)()(),type:o.LAYER_TYPE.GEOJSON_VECTOR,style:{type:"VECTOR",properties:{fillColor:{type:"STATIC",options:{color:a}},lineColor:{type:"STATIC",options:{color:a}}}},sourceDescriptor:{id:Object(n.htmlIdGenerator)()(),type:o.SOURCE_TYPES.ES_SEARCH,tooltipProperties:[e],label:r,indexPatternId:i,geoField:e,scalingType:o.SCALING_TYPES.MVT}})}))}return t}async function v(e,t,r,n){var o;const{query:a,timeFilters:u}=n,d=a&&""!==a.query;let p;const m=Object(c.a)([{id:t}]);d&&a.language===l.b.KUERY?p=Object(i.toElasticsearchQuery)(Object(i.fromKueryExpression)(a.query),m):d&&(null==a?void 0:a.language)===l.b.LUCENE&&(p=Object(i.luceneStringToDsl)(a.query));const g=[{term:{job_id:t}},{term:{result_type:"record"}}];let b={must:g};p&&p.bool?b={...b,...p.bool}:p&&b.must.push(p);const y={query:{bool:b},size:1e3,_source:{excludes:[]}};if(u){const e={range:{timestamp:{gte:`${u.from}`,lte:u.to}}};g.push(e)}let v=null;try{v=await e.anomalySearch({body:y},[t])}catch(e){}return{type:"FeatureCollection",features:(null===(o=v)||void 0===o?void 0:o.hits.hits.map((({_source:e})=>{const t=e.geo_results,n=t&&t.actual_point?h(t.actual_point):[0,0],o=t&&t.typical_point?h(t.typical_point):[0,0];let i;i=r===f.TYPICAL||r===f.ACTUAL?{type:"Point",coordinates:r===f.TYPICAL?o:n}:{type:"LineString",coordinates:[o,n]};const a={...e.partition_field_name?{[e.partition_field_name]:e.partition_field_value}:{},...e.by_field_name?{[e.by_field_name]:e.by_field_value}:{},...e.over_field_name?{[e.over_field_name]:e.over_field_value}:{}},l=Object.keys(a),u=e.influencers?e.influencers.filter((({influencer_field_name:e,influencer_field_values:t})=>t.length&&!l.includes(e))):[];return{type:"Feature",geometry:i,properties:{actual:n,typical:o,fieldName:e.field_name,functionDescription:e.function_description,timestamp:Object(s.d)(e.timestamp),record_score:Math.floor(e.record_score),...Object.keys(a).length>0?a:{},...u.length?{influencers:u}:{}}}})))||[]}}},177:function(e,t,r){e.exports=r(56)(190)},178:function(e,t,r){"use strict";r.d(t,"a",(function(){return n})),r.d(t,"b",(function(){return o}));const n=500,o=500},186:function(e,t,r){"use strict";r.d(t,"b",(function(){return c})),r.d(t,"a",(function(){return AnomalyExplorerChartsService}));var n=r(5),o=r.n(n),i=r(10),a=r(11),s=r(20),l=r(22),u=r(192);const c=6;class AnomalyExplorerChartsService{constructor(e,t,r){o()(this,"_customTimeRange",void 0),this.timeFilter=e,this.mlApiServices=t,this.mlResultsService=r,this.timeFilter.enableTimeRangeSelector()}setTimeRange(e){this._customTimeRange=e}getTimeBounds(){return void 0!==this._customTimeRange?this.timeFilter.calculateBounds(this._customTimeRange):this.timeFilter.getBounds()}async getCombinedJobs(e){return(await Promise.all(e.map((e=>this.mlApiServices.jobs.jobForCloning(e))))).filter(l.a).filter((e=>void 0!==e.job&&void 0!==e.datafeed)).map((({job:e,datafeed:t})=>({...e,datafeed_config:t})))}loadDataForCharts$(e,t,r,n=[],o,l){return o||0!==n.length||void 0!==l||Object(i.of)([]),this.mlResultsService.getRecordsForInfluencer$(e,n,0,t,r,500,l).pipe(Object(a.map)((e=>Object(s.a)(o)||void 0!==l?e.records:[])))}getAnomalyData$(e,t,r,n,o,i,s=0,l){const d=this.getTimeBounds(),f=null!=d&&d.min?d.min.valueOf():void 0,p=null!=d&&d.max?d.max.valueOf():void 0,m=t+u.a;let g=Math.min(Math.max(Math.floor(m/550),1),4);l&&l(g=Math.min(e.seriesToPlot.length,g),e.chartsPerRow=g,e))))}}},187:function(e,t,r){"use strict";r.d(t,"a",(function(){return v.b})),r.d(t,"b",(function(){return S}));var n=r(72),o=r(6),i=r(123);const a="editSwimlanePanelAction";var s=r(98),l=r(1);const u="openInAnomalyExplorerAction";var c=r(218);const d="createMLADJobAction";var f=r(67),p=r(10),m=r(78),g=r(117),h=r(49);const b="applyInfluencerFiltersAction",y=[m.DASHBOARD_APP_ID];var v=r(253),w=r(39),E=r.n(w);const _="applyTimeRangeSelectionAction",A=[m.DASHBOARD_APP_ID],x="clearSelectionAction",O="editAnomalyChartsPanelAction",T="applyEntityFieldFiltersAction";function S(e,t){const m=(w=t.getStartServices,{id:"edit-anomaly-swimlane",type:a,getIconType:e=>"pencil",getDisplayName:()=>o.i18n.translate("xpack.ml.actions.editSwimlaneTitle",{defaultMessage:"Edit swim lane"}),async execute({embeddable:e}){if(!e)throw new Error("Not possible to execute an action without the embeddable context");const[t]=await w();try{const{resolveAnomalySwimlaneUserInput:n}=await Promise.all([r.e(2),r.e(1),r.e(0),r.e(3),r.e(4),r.e(8)]).then(r.bind(null,683)),o=await n(t,e.getInput());e.updateInput(o)}catch(e){return Promise.reject()}},isCompatible:async({embeddable:e})=>e.type===i.b&&e.getInput().viewMode===n.ViewMode.EDIT});var w;const S=function(e){return{id:"open-in-anomaly-explorer",type:u,getIconType:e=>"visTable",getDisplayName:()=>o.i18n.translate("xpack.ml.actions.openInAnomalyExplorerTitle",{defaultMessage:"Open in Anomaly Explorer"}),async getHref(t){const[,r]=await e(),n=r.share.url.locators.get(l.a);if(Object(i.e)(t)){const{embeddable:e,data:r}=t,{jobIds:o,timeRange:i,viewBy:a}=e.getInput(),{perPage:s,fromPage:l}=e.getOutput();return n.getUrl({page:"explorer",pageState:{jobIds:o,timeRange:i,mlExplorerSwimlane:{viewByFromPage:l,viewByPerPage:s,viewByFieldName:a,...r?{selectedType:r.type,selectedTimes:r.times,selectedLanes:r.lanes}:{}}}})}if(Object(i.d)(t)){const{embeddable:e}=t,{jobIds:r,timeRange:o}=e.getInput(),{entityFields:i}=e.getOutput();let a;if(Array.isArray(i)&&1===i.length&&i[0].operation===s.m.ADD){const{fieldName:e,fieldValue:t}=i[0];if(void 0!==e&&void 0!==t){const r=[e,t];a={influencersFilterQuery:{bool:{should:[{match_phrase:{[e]:String(t)}}],minimum_should_match:1}},filterActive:!0,queryString:`${e}:"${t}"`,...Array.isArray(r)?{filteredFields:r}:{}}}}return n.getUrl({page:"explorer",pageState:{jobIds:r,timeRange:o,...a?{mlExplorerFilter:a}:{},query:{}}})}},async execute(t){if(!t.embeddable)throw new Error("Not possible to execute an action without the embeddable context");const[{application:r}]=await e(),n=await this.getHref(t);n&&await r.navigateToUrl(n)},isCompatible:async({embeddable:e})=>e.type===i.b||e.type===i.a}}(t.getStartServices),N=function(e){return{id:"apply-to-current-view",type:b,getIconType:e=>"filter",getDisplayName:()=>o.i18n.translate("xpack.ml.actions.applyInfluencersFiltersTitle",{defaultMessage:"Filter for value"}),async execute({data:t}){if(!t)throw new Error("No swim lane selection data provided");const[,r]=await e();r.data.query.filterManager.addFilters(t.lanes.map((e=>({$state:{store:f.FilterStateStore.APP_STATE},meta:{alias:o.i18n.translate("xpack.ml.actions.influencerFilterAliasLabel",{defaultMessage:"{labelValue}",values:{labelValue:`${t.viewByFieldName}:${e}`}}),controlledBy:h.b,disabled:!1,key:t.viewByFieldName,negate:!1,params:{query:e},type:"phrase"},query:{match_phrase:{[t.viewByFieldName]:e}}}))))},async isCompatible({embeddable:t,data:r}){const[{application:n}]=await e(),o=await Object(p.firstValueFrom)(n.currentAppId$);return t.type===i.b&&void 0!==r&&r.type===g.h.VIEW_BY&&r.viewByFieldName!==g.j&&1===r.lanes.length&&y.includes(o)}}}(t.getStartServices),M=function(e){return{id:"apply-entity-field-filters",type:T,getIconType:e=>"filter",getDisplayName:()=>o.i18n.translate("xpack.ml.actions.applyEntityFieldsFiltersTitle",{defaultMessage:"Filter for value"}),async execute({data:t}){if(!t)throw new Error("No entities provided");const[,r]=await e(),n=r.data.query.filterManager;n.addFilters(t.filter((e=>e.operation===s.m.ADD)).map((({fieldName:e,fieldValue:t})=>({$state:{store:f.FilterStateStore.APP_STATE},meta:{alias:o.i18n.translate("xpack.ml.actions.entityFieldFilterAliasLabel",{defaultMessage:"{labelValue}",values:{labelValue:`${e}:${t}`}}),controlledBy:h.a,negate:!1,disabled:!1,type:"phrase",key:e,params:{query:t}},query:{match_phrase:{[e]:t}}})))),t.filter((e=>e.operation===s.m.REMOVE)).forEach((e=>{const t=n.getFilters().find((t=>t.meta.key===e.fieldName&&"object"==typeof t.meta.params&&"query"in t.meta.params&&t.meta.params.query===e.fieldValue));t&&n.removeFilter(t)}))},isCompatible:async({embeddable:e,data:t})=>e.type===i.a&&void 0!==t}}(t.getStartServices),D=function(e){return{id:"apply-time-range-selection",type:_,getIconType:e=>"timeline",getDisplayName:()=>o.i18n.translate("xpack.ml.actions.applyTimeRangeSelectionTitle",{defaultMessage:"Apply time range selection"}),async execute({embeddable:t,data:r}){if(!r)throw new Error("No swim lane selection data provided");const[,n]=await e(),o=n.data.query.timefilter.timefilter,{interval:i}=t.getOutput();if(!i)throw new Error("Interval is required to set a time range");let[a,s]=r.times;a*=1e3,s*=1e3,o.setTime({from:E()(a),to:E()(s),mode:"absolute"})},async isCompatible({embeddable:t,data:r}){const[{application:n}]=await e(),o=await Object(p.firstValueFrom)(n.currentAppId$);return t.type===i.b&&void 0!==r&&A.includes(o)}}}(t.getStartServices),C=(t.getStartServices,{id:"clear-selection-action",type:x,getIconType:e=>"cross",getDisplayName:()=>o.i18n.translate("xpack.ml.actions.clearSelectionTitle",{defaultMessage:"Clear selection"}),shouldAutoExecute:()=>Promise.resolve(!1),async execute({updateCallback:e}){e()},isCompatible:async({updateCallback:e})=>"function"==typeof e}),L=function(e){return{id:"edit-anomaly-charts",type:O,getIconType:e=>"pencil",getDisplayName:()=>o.i18n.translate("xpack.ml.actions.editAnomalyChartsTitle",{defaultMessage:"Edit anomaly charts"}),async execute({embeddable:t}){if(!t)throw new Error("Not possible to execute an action without the embeddable context");const[n]=await e();try{const{resolveEmbeddableAnomalyChartsUserInput:e}=await Promise.all([r.e(2),r.e(1),r.e(0),r.e(3),r.e(4),r.e(7)]).then(r.bind(null,669)),o=await e(n,t.getInput());t.updateInput(o)}catch(e){return Promise.reject()}},isCompatible:async({embeddable:e})=>e.type===i.a&&e.getInput().viewMode===n.ViewMode.EDIT}}(t.getStartServices),I=function(e){return{id:"create-ml-ad-job-action",type:d,getIconType:e=>"machineLearningApp",getDisplayName:()=>o.i18n.translate("xpack.ml.actions.createADJobFromLens",{defaultMessage:"Create anomaly detection job"}),async execute({embeddable:t}){if(!t)throw new Error("Not possible to execute an action without the embeddable context");try{if(Object(c.b)(t)){const[{showLensVisToADJobFlyout:n},[o,{share:i,data:a,lens:s,dashboard:l}]]=await Promise.all([Promise.all([r.e(2),r.e(1),r.e(0),r.e(3),r.e(4),r.e(19)]).then(r.bind(null,677)),e()]);if(void 0===s)return;await n(t,o,i,a,s,l)}else if(Object(c.c)(t)){const[{showMapVisToADJobFlyout:n},[o,{share:i,data:a,dashboard:s}]]=await Promise.all([Promise.all([r.e(2),r.e(1),r.e(0),r.e(3),r.e(4),r.e(20)]).then(r.bind(null,678)),e()]);await n(t,o,i,a,s)}}catch(e){return Promise.reject()}},async isCompatible(t){var n,o;const i=t.embeddable.type;if("map"!==i&&("lens"!==i||!t.embeddable.getSavedVis()))return!1;const[{getJobsItemsFromEmbeddable:a,isCompatibleVisualizationType:s},[l,{lens:u}]]=await Promise.all([Promise.all([r.e(3),r.e(32)]).then(r.bind(null,270)),e()]),{isCompatibleMapVisualization:d}=await r.e(13).then(r.bind(null,216));if(null===(n=l.application.capabilities.ml)||void 0===n||!n.canCreateJob||null===(o=l.application.capabilities.ml)||void 0===o||!o.canStartStopDatafeed)return!1;try{if("lens"===i&&u){const{chartInfo:e}=await a(t.embeddable,u);return s(e)}return!Object(c.c)(t.embeddable)||d(t.embeddable)}catch(e){return console.error("Error attempting to check for ML job compatibility",e),!1}}}}(t.getStartServices);e.registerAction(m),e.registerAction(S),e.registerAction(N),e.registerAction(M),e.registerAction(D),e.registerAction(C),e.registerAction(L),e.attachAction(n.CONTEXT_MENU_TRIGGER,m.id),e.attachAction(n.CONTEXT_MENU_TRIGGER,L.id),e.attachAction(n.CONTEXT_MENU_TRIGGER,S.id),e.registerTrigger(v.d),e.registerTrigger(v.c),e.addTriggerAction(v.b,N),e.addTriggerAction(v.b,D),e.addTriggerAction(v.b,S),e.addTriggerAction(v.b,C),e.addTriggerAction(v.a,M),e.addTriggerAction(n.CONTEXT_MENU_TRIGGER,I)}},192:function(e,t,r){"use strict";r.d(t,"a",(function(){return x})),r.d(t,"c",(function(){return O})),r.d(t,"b",(function(){return D}));var n=r(2),o=r.n(n),i=r(28),a=r(7),s=r(66),l=r(39),u=r.n(l),c=r(6),d=r(88),f=r(4),p=r(98),m=r(110),g=r(55),h=r(15);const b=({cardinality:e,fromPage:t,perPage:r,onPaginationChange:o})=>{const a=t-1,[s,l]=Object(n.useState)(!1),u=()=>l(!1),d=Object(n.useCallback)((e=>{o({fromPage:e+1})}),[]),p=Object(n.useCallback)((e=>{o({perPage:e})}),[]),m=Math.ceil(e/r),g=[5,10,20,50,100].map((e=>Object(f.jsx)(i.EuiContextMenuItem,{key:`${e}_rows`,icon:e===r?"check":"empty",onClick:()=>{u(),p(e)},"data-test-subj":`${e} rows`},Object(f.jsx)(h.FormattedMessage,{id:"xpack.ml.explorer.swimLaneSelectRowsPerPage",defaultMessage:"{rowsCount} rows",values:{rowsCount:e}}))));return Object(f.jsx)(i.EuiFlexGroup,{justifyContent:"spaceBetween",alignItems:"center"},Object(f.jsx)(i.EuiFlexItem,{grow:!1},Object(f.jsx)(i.EuiPopover,{button:Object(f.jsx)(i.EuiButtonEmpty,{size:"xs",color:"text",iconType:"arrowDown",iconSide:"right",onClick:()=>l((()=>!s)),"data-test-subj":"mlSwimLanePageSizeControl"},Object(f.jsx)("span",{"data-test-subj":r},Object(f.jsx)(h.FormattedMessage,{id:"xpack.ml.explorer.swimLaneRowsPerPage",defaultMessage:"Rows per page: {rowsCount}",values:{rowsCount:r}}))),isOpen:s,closePopover:u,panelPaddingSize:"none"},Object(f.jsx)(i.EuiContextMenuPanel,{items:g,"data-test-subj":"mlSwimLanePageSizePanel"}))),Object(f.jsx)(i.EuiFlexItem,{grow:!1},Object(f.jsx)(i.EuiPagination,{"aria-label":c.i18n.translate("xpack.ml.explorer.swimLanePagination",{defaultMessage:"Anomaly swim lane pagination"}),pageCount:m,activePage:a,onPageClick:d,"data-test-subj":"mlSwimLanePagination"})))};var y=r(117),v=r(116),w=r(248),E=(r(625),r(193)),_=r(252),A=r(9);const x=_.c+2*_.b;function O(e){return e&&e.hasOwnProperty("cardinality")}var T={name:"bjn8wh",styles:"position:relative"},S={name:"vxhryu",styles:"width:100%;height:100%;overflow:hidden"},N={name:"wo686d",styles:"width:100%;overflow-y:auto;overflow-x:hidden"},M={name:"xbymsc",styles:"position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)"};const D=({id:e,onResize:t,perPage:r,fromPage:l,swimlaneLimit:h,onPaginationChange:O,isLoading:D,noDataWarning:C,filterActive:L,swimlaneData:I,swimlaneType:R,selection:j,onCellsSelection:k,timeBuckets:q,chartsService:F,showTimeline:P=!0,showYAxis:U=!0,showLegend:B=!0,"data-test-subj":V,yAxisWidth:H})=>{var G,$,z;const[Y,W]=Object(n.useState)(0),{services:{theme:J}}=Object(A.d)(),X=Object(g.b)(J),{euiTheme:Z}=Object(A.a)(),Q=Object(n.useRef)(),K=Object(n.useCallback)(Object(a.throttle)((e=>{const r=e.width-x;W(r),t(r)}),500),[Y]),ee=Object(n.useMemo)((()=>{const e=!0===L&&R===y.h.OVERALL;if(null==I||!I.points)return[];const t=I.laneLabels;return I.points.map((t=>{const r={...t,time:1e3*t.time,value:0===t.value?null:t.value};return e&&(r.laneLabel=c.i18n.translate("xpack.ml.explorer.overallSwimlaneUnfilteredLabel",{defaultMessage:"{label} (unfiltered)",values:{label:Object(v.e)(t.laneLabel)}})),r})).sort(((e,r)=>{let n=t.indexOf(e.laneLabel),o=t.indexOf(r.laneLabel);return n=n>-1?n:t.length,o=o>-1?o:t.length,n-o}))}),[null==I?void 0:I.points,L,R,null==I?void 0:I.laneLabels]),te=(null==I||null===(G=I.laneLabels)||void 0===G?void 0:G.length)>0&&ee.length>0,re=(te||D)&&void 0!==h&&h>(null!=r?r:5)&&O&&l&&r,ne=null!==($=null==I||null===(z=I.laneLabels)||void 0===z?void 0:z.length)&&void 0!==$?$:0,oe=Object(n.useMemo)((()=>D?Q.current:32*ne+(B?34:0)+(P?24:0)),[D,ne]);Object(n.useEffect)((()=>{D||(Q.current=oe)}),[D,oe]);const ie=Object(n.useMemo)((()=>{if(j&&I&&(R===j.type&&(void 0===(null==I?void 0:I.fieldName)||I.fieldName===j.viewByFieldName)||!1!==L))return{x:j.times.map((e=>1e3*e)),y:j.lanes}}),[j,I,R]),ae=!!k,se=Object(n.useMemo)((()=>te?{background:{color:Z.euiPanelBackgroundColorModifiers.plain},heatmap:{grid:{stroke:{width:1,color:Z.euiBorderColor}},cell:{maxWidth:"fill",maxHeight:"fill",label:{visible:!1},border:{stroke:Z.euiBorderColor,strokeWidth:0}},yAxisLabel:{visible:U,width:H,textColor:Z.euiTextSubduedColor,padding:_.b,fontSize:parseInt(Z.euiFontSizeXS,10)},xAxisLabel:{visible:P,textColor:Z.euiTextSubduedColor,fontSize:parseInt(Z.euiFontSizeXS,10)},brushMask:{visible:ae,fill:X?"rgb(30,31,35,80%)":"rgb(247,247,247,50%)"},brushArea:{visible:ae,stroke:X?"rgb(255, 255, 255)":"rgb(105, 112, 125)"},...B?{maxLegendHeight:34}:{}}}:{}),[te,R,null==I?void 0:I.fieldName,X,q,k]),le=Object(n.useRef)(null),ue=Object(d.useActiveCursor)(F.activeCursor,le,{isDateHistogram:!0}),ce=Object(n.useCallback)((e=>{if(!k)return;const t=e[0][0],r=t.datum.x/1e3,n={lanes:[String(t.datum.y)],times:[r,r+I.interval],type:R,viewByFieldName:I.fieldName};k(n)}),[R,null==I?void 0:I.fieldName,null==I?void 0:I.interval,k]),de=Object(n.useMemo)((()=>{return{placement:"auto",fallbackPlacements:["left"],boundary:"chart",customTooltip:(e=null==I?void 0:I.fieldName,({values:t})=>{const r=[];if(1===t.length&&e){const[n]=t;r.push({skipHeader:!0}),r.push({label:e,value:n.value,seriesIdentifier:{key:n.value}})}else if(3===t.length){const[n,o,i]=t,a=Object(m.c)(parseInt(n.value,10));r.push({label:a}),void 0!==e&&r.push({label:e,value:o.value,seriesIdentifier:{key:o.value}}),r.push({label:c.i18n.translate("xpack.ml.explorer.swimlane.maxAnomalyScoreLabel",{defaultMessage:"Max anomaly score"}),value:"0"===i.formattedValue?" < 1":i.formattedValue,color:i.color,seriesIdentifier:{key:i.value}})}return Object(f.jsx)(w.a,{tooltipData:r})})};var e}),[null==I?void 0:I.fieldName]),fe=Object(n.useMemo)((()=>I?{min:1e3*I.earliest,max:1e3*I.latest,minInterval:1e3*I.interval}:void 0),[I]),pe=e=>{e.cells.length&&ae&&"function"==typeof k&&k({lanes:e.y,times:e.x.map((e=>e/1e3)),type:R,viewByFieldName:I.fieldName})},me=!D&&!te&&!!C;return Object(f.jsx)(i.EuiResizeObserver,{onResize:K},(t=>{var n,a;return Object(f.jsx)(i.EuiFlexGroup,{gutterSize:"none",direction:"column",ref:t,"data-test-subj":V,css:S},Object(f.jsx)(i.EuiFlexItem,{css:N,grow:!1},Object(f.jsx)(o.a.Fragment,null,Object(f.jsx)("div",null,Object(f.jsx)("div",{style:{height:`${oe}px`},css:T,hidden:me},te&&!D&&Object(f.jsx)(s.Chart,{className:"mlSwimLaneContainer",ref:le},Object(f.jsx)(s.Tooltip,de),Object(f.jsx)(s.Settings,{theme:se,onElementClick:ce,onPointerUpdate:ue,showLegend:B,legendPosition:s.Position.Top,xDomain:fe,debugState:null!==(n=window._echDebugStateFlag)&&void 0!==n&&n,onBrushEnd:pe}),Object(f.jsx)(s.Heatmap,{id:e,timeZone:"UTC",colorScale:{type:"bands",bands:[{start:p.g.LOW,end:p.g.WARNING,color:p.q.LOW},{start:p.g.WARNING,end:p.g.MINOR,color:p.q.WARNING},{start:p.g.MINOR,end:p.g.MAJOR,color:p.q.MINOR},{start:p.g.MAJOR,end:p.g.CRITICAL,color:p.q.MAJOR},{start:p.g.CRITICAL,end:1/0,color:p.q.CRITICAL}]},data:ee,xAccessor:"time",yAccessor:"laneLabel",valueAccessor:"value",highlightedData:ie,valueFormatter:p.y,xScale:{type:s.ScaleType.Time,interval:{type:"fixed",unit:"ms",value:null!==(a=null==fe?void 0:fe.minInterval)&&void 0!==a?a:6e4}},ySortPredicate:"dataIndex",yAxisLabelFormatter:e=>""===e?E.a:String(e),xAxisLabelFormatter:e=>{q.setInterval(`${I.interval}s`);const t=q.getScaledDateFormat();return u()(e).format(t)}})),D&&Object(f.jsx)(i.EuiText,{textAlign:"center",css:M},Object(f.jsx)(i.EuiLoadingChart,{size:"xl",mono:!0,"data-test-subj":"mlSwimLaneLoadingIndicator"}))),me?Object(f.jsx)(o.a.Fragment,null,C):null))),re&&Object(f.jsx)(i.EuiFlexItem,{grow:!1},Object(f.jsx)(b,{cardinality:h,fromPage:l,perPage:r,onPaginationChange:O})))}))}},193:function(e,t,r){"use strict";r.d(t,"a",(function(){return p})),r.d(t,"b",(function(){return entity_control_EntityControl}));var n=r(5),o=r.n(n),i=r(7),a=r(2),s=r(28),l=r(15),u=r(6),c=r(98),d=r(4);const f=({entity:e,isModelPlotEnabled:t,config:r,onConfigChange:n})=>{var o,i;const[c,f]=Object(a.useState)(!1),p=t&&!(null!=r&&r.anomalousOnly),m=Object(a.useMemo)((()=>[{id:"anomaly_score",label:u.i18n.translate("xpack.ml.timeSeriesExplorer.sortByScoreLabel",{defaultMessage:"Anomaly score"}),disabled:p},{id:"name",label:u.i18n.translate("xpack.ml.timeSeriesExplorer.sortByNameLabel",{defaultMessage:"Name"})}]),[t,r]),g=Object(a.useMemo)((()=>[{id:"asc",label:u.i18n.translate("xpack.ml.timeSeriesExplorer.ascOptionsOrderLabel",{defaultMessage:"asc"})},{id:"desc",label:u.i18n.translate("xpack.ml.timeSeriesExplorer.descOptionsOrderLabel",{defaultMessage:"desc"})}]),[]);return Object(d.jsx)(s.EuiPopover,{ownFocus:!0,style:{height:"40px"},button:Object(d.jsx)(s.EuiButtonIcon,{color:"text",iconSize:"m",iconType:"gear","aria-label":u.i18n.translate("xpack.ml.timeSeriesExplorer.editControlConfiguration",{defaultMessage:"Edit field configuration"}),onClick:()=>{f(!c)},"data-test-subj":`mlSingleMetricViewerEntitySelectionConfigButton_${e.fieldName}`}),isOpen:c,closePopover:()=>{f(!1)}},Object(d.jsx)("div",{"data-test-subj":`mlSingleMetricViewerEntitySelectionConfigPopover_${e.fieldName}`},Object(d.jsx)(s.EuiFormRow,{label:Object(d.jsx)(l.FormattedMessage,{id:"xpack.ml.timeSeriesExplorer.sortByLabel",defaultMessage:"Sort by"})},Object(d.jsx)(s.EuiRadioGroup,{options:m,idSelected:p?"name":null==r||null===(o=r.sort)||void 0===o?void 0:o.by,onChange:t=>{n(e.fieldType,{sort:{order:r.sort.order,by:t}})},compressed:!0,"data-test-subj":`mlSingleMetricViewerEntitySelectionConfigSortBy_${e.fieldName}`})),Object(d.jsx)(s.EuiFormRow,{label:Object(d.jsx)(l.FormattedMessage,{id:"xpack.ml.timeSeriesExplorer.orderLabel",defaultMessage:"Order"})},Object(d.jsx)(s.EuiRadioGroup,{options:g,idSelected:null==r||null===(i=r.sort)||void 0===i?void 0:i.order,onChange:t=>{n(e.fieldType,{sort:{by:r.sort.by,order:t}})},compressed:!0,"data-test-subj":`mlSingleMetricViewerEntitySelectionConfigOrder_${e.fieldName}`})),Object(d.jsx)(s.EuiHorizontalRule,{margin:"s"}),Object(d.jsx)(s.EuiFlexGroup,{gutterSize:"xs",alignItems:"center"},Object(d.jsx)(s.EuiFlexItem,{grow:!1},t?Object(d.jsx)(s.EuiSwitch,{label:Object(d.jsx)(l.FormattedMessage,{id:"xpack.ml.timeSeriesExplorer.anomalousOnlyLabel",defaultMessage:"Anomalous only"}),checked:r.anomalousOnly,onChange:t=>{const o=t.target.checked;n(e.fieldType,{anomalousOnly:o,sort:{order:r.sort.order,by:r.sort.by}})},compressed:!0,"data-test-subj":`mlSingleMetricViewerEntitySelectionConfigAnomalousOnly_${e.fieldName}`}):Object(d.jsx)(s.EuiSwitch,{label:Object(d.jsx)(l.FormattedMessage,{id:"xpack.ml.timeSeriesExplorer.applyTimeRangeLabel",defaultMessage:"Apply time range"}),checked:r.applyTimeRange,onChange:t=>{const r=t.target.checked;n(e.fieldType,{applyTimeRange:r})},compressed:!0,"data-test-subj":`mlSingleMetricViewerEntitySelectionConfigAnomalousOnly_${e.fieldName}`})),Object(d.jsx)(s.EuiFlexItem,{grow:!1,style:{width:"16px"}},!t||null!=r&&r.anomalousOnly?null:Object(d.jsx)(s.EuiToolTip,{position:"top",content:Object(d.jsx)(l.FormattedMessage,{id:"xpack.ml.timeSeriesExplorer.nonAnomalousResultsWithModelPlotInfo",defaultMessage:"The list contains values from the model plot results."})},Object(d.jsx)(s.EuiIcon,{tabIndex:0,type:"iInCircle",color:"subdued"})),t||null!=r&&r.applyTimeRange?null:Object(d.jsx)(s.EuiToolTip,{position:"top",content:Object(d.jsx)(l.FormattedMessage,{id:"xpack.ml.timeSeriesExplorer.ignoreTimeRangeInfo",defaultMessage:"The list contains values from all anomalies created during the lifetime of the job."})},Object(d.jsx)(s.EuiIcon,{tabIndex:0,type:"iInCircle",color:"subdued"}))))))},p=u.i18n.translate("xpack.ml.timeSeriesExplorer.emptyPartitionFieldLabel.",{defaultMessage:'"" (empty string)'});class entity_control_EntityControl extends a.Component{constructor(...e){super(...e),o()(this,"inputRef",void 0),o()(this,"state",{selectedOptions:void 0,options:void 0,isLoading:!1,isEntityConfigPopoverOpen:!1}),o()(this,"onChange",(e=>{var t,r,n;const o=e.length>0?e:void 0;this.setState({selectedOptions:o});const i=Array.isArray(o)&&null!==(null===(t=o[0].value)||void 0===t?void 0:t.value)&&null!==(r=null===(n=o[0].value)||void 0===n?void 0:n.value)&&void 0!==r?r:null;this.props.entityFieldValueChanged(this.props.entity,i)})),o()(this,"onManualInput",(e=>{if(!e.trim().toLowerCase())return;const t={label:e,value:{value:e}};this.setState({selectedOptions:[t]}),this.props.entityFieldValueChanged(this.props.entity,e)})),o()(this,"onSearchChange",(e=>{this.setState({isLoading:!0,options:[]}),this.props.onSearchChange(this.props.entity,e)})),o()(this,"renderOption",((e,t)=>{var r;const n=Object(d.jsx)(s.EuiHighlight,{search:t},e.label);return null!==(r=e.value)&&void 0!==r&&r.maxRecordScore?Object(d.jsx)(s.EuiHealth,{color:Object(c.A)(e.value.maxRecordScore)},n):n}))}componentDidUpdate(e){const{entity:t,forceSelection:r,isLoading:n,options:o}=this.props,{options:a,selectedOptions:s}=this.state,{fieldValue:l}=t;let u=s;void 0===s&&null!==l||Array.isArray(s)&&s[0].value!==l&&null!==l?u=[{label:""===l?p:l,value:l}]:Array.isArray(s)&&null===l&&(u=void 0),!0===e.isLoading&&!1===n&&this.setState({isLoading:!1,selectedOptions:u}),Object(i.isEqual)(o,a)||this.setState({options:o}),r&&this.inputRef&&this.inputRef.focus()}render(){const{entity:e,forceSelection:t,isModelPlotEnabled:r,config:n,onConfigChange:o}=this.props,{isLoading:i,options:a,selectedOptions:c}=this.state,p=Object(d.jsx)(s.EuiComboBox,{async:!0,isLoading:i,inputRef:e=>{e&&(this.inputRef=e)},style:{minWidth:"300px"},placeholder:u.i18n.translate("xpack.ml.timeSeriesExplorer.enterValuePlaceholder",{defaultMessage:"Enter value"}),singleSelection:{asPlainText:!0},onCreateOption:this.onManualInput,customOptionText:u.i18n.translate("xpack.ml.timeSeriesExplorer.setManualInputHelperText",{defaultMessage:"No matching values"}),options:a,selectedOptions:c,onChange:this.onChange,onSearchChange:this.onSearchChange,isClearable:!1,renderOption:this.renderOption,"data-test-subj":`mlSingleMetricViewerEntitySelection ${e.fieldName}`,prepend:Object(d.jsx)(f,{entity:e,isModelPlotEnabled:r,config:n,onConfigChange:o})}),m=Object(d.jsx)(l.FormattedMessage,{id:"xpack.ml.timeSeriesExplorer.selectFieldMessage",defaultMessage:"Select {fieldName}",values:{fieldName:e.fieldName}});return Object(d.jsx)(s.EuiFlexItem,{grow:!1},Object(d.jsx)(s.EuiFormRow,{label:e.fieldName,helpText:t?m:null},p))}}},212:function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));var n=r(340),o=r(124);function i(e){return{title:n.a,fields:Object(o.g)(e).map((e=>({name:e,type:"string",aggregatable:!0,searchable:!0})))}}},218:function(e,t,r){"use strict";r.d(t,"a",(function(){return quick_create_job_base_QuickJobCreatorBase})),r.d(t,"b",(function(){return u})),r.d(t,"c",(function(){return c}));var n=r(6),o=r(7),i=r(10),a=r(67),s=r(106),l=r(144);function u(e){return e.hasOwnProperty("type")&&"lens"===e.type}function c(e){return e.hasOwnProperty("type")&&"map"===e.type}function d(e,t){if(Array.isArray(e)){const r=e.concat(t);return Object(o.uniqWith)(r,o.isEqual)}}class quick_create_job_base_QuickJobCreatorBase{constructor(e,t,r,n){this.kibanaConfig=e,this.timeFilter=t,this.dashboardService=r,this.mlApiServices=n}async putJobAndDataFeed({jobId:e,datafeedConfig:t,jobConfig:r,createdByLabel:n,dashboard:o,start:a,end:l,startJob:u,runInRealTime:c}){const d=Object(s.g)(e),f={...t,job_id:e,datafeed_id:d},p={...r,job_id:e,custom_settings:{created_by:n,...await this.getCustomUrls(o,f)}},m={jobCreated:{success:!1},datafeedCreated:{success:!1},jobOpened:{success:!1},datafeedStarted:{success:!1}};try{if(void 0!==a&&void 0!==l&&void 0!==p.data_description.time_field&&t.indices.length>0){const{modelMemoryLimit:e}=await Object(i.firstValueFrom)(this.mlApiServices.calculateModelMemoryLimit$({datafeedConfig:f,analysisConfig:p.analysis_config,indexPattern:t.indices[0],query:t.query,timeFieldName:p.data_description.time_field,earliestMs:a,latestMs:l}));void 0===p.analysis_limits&&(p.analysis_limits={}),p.analysis_limits.model_memory_limit=e}}catch(e){console.error("could not calculate model memory limit",e)}try{await this.mlApiServices.addJob({jobId:p.job_id,job:p})}catch(e){return m.jobCreated.error=e,m}m.jobCreated.success=!0;try{await this.mlApiServices.addDatafeed({datafeedId:d,datafeedConfig:f})}catch(e){return m.datafeedCreated.error=e,m}if(m.datafeedCreated.success=!0,u){try{await this.mlApiServices.openJob({jobId:e})}catch(e){if(409!==e.body.statusCode)return m.jobOpened.error=e,m}m.jobOpened.success=!0;try{await this.mlApiServices.startDatafeed({datafeedId:d,start:a,...c?{}:{end:l}})}catch(e){return m.datafeedStarted.error=e,m}m.datafeedStarted.success=!0}return m}combineQueriesAndFilters(e,t,r,n){let i;const{combinedQuery:a}=Object(l.a)({query:e.query,filter:e.filters},r,this.kibanaConfig),{combinedQuery:s}=Object(l.a)({query:t.query,filter:t.filters},r,this.kibanaConfig);if(n){const{combinedQuery:e}=Object(l.a)({query:n.query,filter:n.filters},r,this.kibanaConfig);i=Object(o.mergeWith)(s,e,d)}return Object(o.mergeWith)(a,i||s,d)}async createDashboardLink(e,t){var r;const o=null==e?void 0:e.getTitle();if(void 0===o||""===o)return null;const i=await this.dashboardService.findDashboardsService(),l=await i.findByTitle(o);if(void 0===l)return null;const u={dashboardId:l.id,timeRange:{from:"$earliest$",to:"$latest$",mode:"absolute"},filters:Object(s.i)(t.query,void 0,t.job_id,a.FilterStateStore.GLOBAL_STATE)},c=await(null===(r=this.dashboardService.locator)||void 0===r?void 0:r.getLocation(u));if(void 0===c)return null;const d=`${c.app}${c.path}`;return{url_name:n.i18n.translate("xpack.ml.newJob.fromLens.createJob.namedUrlDashboard",{defaultMessage:"Open {dashboardTitle}",values:{dashboardTitle:o}}),url_value:d,time_range:"auto"}}async getCustomUrls(e,t){const r=await this.createDashboardLink(e,t);return void 0!==e&&null!==r?{custom_urls:[r]}:{}}}},229:function(e,t,r){"use strict";function n(e){return void 0!==(null==e?void 0:e.aggregations)?e.aggregations:void 0!==(null==e?void 0:e.aggs)?e.aggs:void 0}r.d(t,"a",(function(){return n})),r.d(t,"b",(function(){return o}));const o=e=>n(e)},247:function(e,t,r){"use strict";r.d(t,"a",(function(){return ChartTooltipService}));var n=r(5),o=r.n(n),i=r(10),a=r(7),s=r(11);class ChartTooltipService{constructor(){o()(this,"chartTooltip$",new i.BehaviorSubject({isTooltipVisible:!1,tooltipData:[],offset:{x:0,y:0},target:null})),o()(this,"tooltipState$",this.chartTooltip$.asObservable().pipe(Object(s.distinctUntilChanged)(a.isEqual)))}show(e,t,r={x:0,y:0}){if(!t)throw new Error("target is required for the tooltip positioning");this.chartTooltip$.next({...this.chartTooltip$.getValue(),isTooltipVisible:!0,offset:r,tooltipData:e,target:t})}hide(){this.chartTooltip$.next({isTooltipVisible:!1,tooltipData:[],offset:{x:0,y:0},target:null,isTooltipVisible:!1})}}},248:function(e,t,r){"use strict";r.d(t,"a",(function(){return f})),r.d(t,"b",(function(){return m}));var n=r(2),o=r.n(n),i=r(70),a=r.n(i),s=r(615),l=r.n(s),u=r(28),c=(r(610),r(247)),d=r(4);const f=({tooltipData:e})=>{return Object(d.jsx)("div",{className:"mlChartTooltip"},e.length>0&&void 0===e[0].skipHeader&&Object(d.jsx)("div",{className:"mlChartTooltip__header"},(t=e[0])?t.label:null),e.length>1&&Object(d.jsx)("div",{className:"mlChartTooltip__list"},e.slice(1).map((({label:e,value:t,color:r,isHighlighted:n,seriesIdentifier:o,valueAccessor:i})=>{const s=a()("mlChartTooltip__item",{echTooltip__rowHighlighted:n}),l=Array.isArray(t)?t.map((e=>Object(d.jsx)("div",{key:e},e))):t;return Object(d.jsx)("div",{key:`${o.key}__${i}`,className:s,style:{borderLeftColor:r}},Object(d.jsx)(u.EuiFlexGroup,null,Object(d.jsx)(u.EuiFlexItem,{className:"eui-textBreakWord mlChartTooltip__label",grow:!1},e),Object(d.jsx)(u.EuiFlexItem,{className:"eui-textBreakAll mlChartTooltip__value"},l)))}))));var t},p=o.a.memo((({service:e})=>{const[t,r]=Object(n.useState)([]),o=Object(n.useRef)();Object(n.useEffect)((()=>{const t=e.tooltipState$.subscribe((e=>{o.current&&"function"==typeof o.current&&o.current(e.target),r(e.tooltipData)}));return()=>{t.unsubscribe()}}),[]);const i=Object(n.useCallback)((({triggerRef:e})=>(o.current=e,null)),[]),a=Object(n.useCallback)((({tooltipRef:e,getTooltipProps:r})=>Object(d.jsx)("div",r({ref:e}),Object(d.jsx)(f,{tooltipData:t}))),[t]),s=t.length>0;return Object(d.jsx)(l.a,{modifiers:[{name:"preventOverflow",options:{rootBoundary:"viewport"}}],placement:"top-start",trigger:"none",tooltipShown:s,tooltip:a},i)})),m=({children:e})=>{const t=Object(n.useMemo)((()=>new c.a),[]);return Object(d.jsx)(o.a.Fragment,null,Object(d.jsx)(p,{service:t}),e(t))}},249:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Manager=function(e){var t=e.children,r=n.useState(null),o=r[0],s=r[1];return n.useEffect((function(){return function(){s(null)}}),[s]),n.createElement(i.Provider,{value:o},n.createElement(a.Provider,{value:s},t))},t.ManagerReferenceNodeSetterContext=t.ManagerReferenceNodeContext=void 0;var n=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=o();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,t&&t.set(e,r),r}(r(2));function o(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return o=function(){return e},e}var i=n.createContext();t.ManagerReferenceNodeContext=i;var a=n.createContext();t.ManagerReferenceNodeSetterContext=a},250:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useIsomorphicLayoutEffect=t.fromEntries=t.setRef=t.safeInvoke=t.unwrapArray=void 0;var n=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=o();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,t&&t.set(e,r),r}(r(2));function o(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return o=function(){return e},e}t.unwrapArray=function(e){return Array.isArray(e)?e[0]:e};var i=function(e){if("function"==typeof e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n{const u=o.a.useRef(null),{euiTheme:g}=Object(d.a)();return Object(n.useEffect)((()=>{if(null!==u.current&&Array.isArray(r)){const o=a.a.select(u.current);o.selectAll("*").remove();const d=u.current.getBoundingClientRect(),f=p,h=d.width,b=o.append("svg").attr("width","100%").attr("height",12),y=Object(s.scaleTime)().domain([t.min,t.max]).range([f,h]);b.append("text").attr("text-anchor","end").attr("class","swimlaneAnnotationLabel").text(l.i18n.translate("xpack.ml.explorer.swimlaneAnnotationLabel",{defaultMessage:"Annotations"})).attr("x",p-m).attr("y",6).attr("dominant-baseline","middle").style("fill",g.euiTextSubduedColor).style("font-size",g.euiFontSizeXS),b.append("rect").attr("x",f).attr("y",0).attr("height",12).attr("width",h-f).style("stroke",g.euiBorderColor).style("fill","none").style("stroke-width",1);let v=[];const w=[...r].sort(((e,t)=>e.timestamp-t.timestamp));if(w.length>0){var e;let t=null!==(e=w[0].end_timestamp)&&void 0!==e?e:w[0].timestamp;v=[{start:w[0].timestamp,end:t,annotations:[w[0]]}];for(let e=1;e{const r=Math.max(e.end?y(Math.min(e.end,t.max))-Math.max(y(e.start),f):0,8),n=e.start>=t.min?y(e.start):f;b.append("rect").classed("mlAnnotationRect",!0).attr("x",n+r>=h?h-r:n).attr("y",0).attr("height",12).attr("width",r).on("mouseover",(function(){const t=[];if(Array.isArray(e.annotations)){const r=e.annotations.length>1;r&&t.push({skipHeader:!0}),e.annotations.forEach((e=>{let n=c()(e.timestamp).format("MMMM Do YYYY, HH:mm");var o,i,a;void 0!==e.end_timestamp&&(n+=` - ${c()(e.end_timestamp).format(r?"HH:mm":"MMMM Do YYYY, HH:mm")}`),r?t.push({label:n,value:`${e.annotation}`,seriesIdentifier:{key:"anomaly_timeline",specId:null!==(o=e._id)&&void 0!==o?o:`${e.annotation}-${e.timestamp}-label`},valueAccessor:"annotation"}):t.push({label:`${e.annotation}`,seriesIdentifier:{key:"anomaly_timeline",specId:null!==(i=e._id)&&void 0!==i?i:`${e.annotation}-${e.timestamp}-label`},valueAccessor:"label"},{label:`${n}`,seriesIdentifier:{key:"anomaly_timeline",specId:null!==(a=e._id)&&void 0!==a?a:`${e.annotation}-${e.timestamp}-ts`},valueAccessor:"time"}),void 0!==e.partition_field_name&&void 0!==e.partition_field_value&&t.push({label:`${e.partition_field_name}: ${e.partition_field_value}`,seriesIdentifier:{key:"anomaly_timeline",specId:e._id?`${e._id}-partition`:`${e.partition_field_name}-${e.partition_field_value}-label`},valueAccessor:"partition"})}))}i.show(t,this)})).on("mouseout",(()=>i.hide()))}))}}),[e,t,r,i]),Object(f.jsx)("div",{ref:u})}},253:function(e,t,r){"use strict";r.d(t,"b",(function(){return n})),r.d(t,"d",(function(){return o})),r.d(t,"a",(function(){return i})),r.d(t,"c",(function(){return a}));const n="SWIM_LANE_SELECTION_TRIGGER",o={id:n,title:"",description:"Swim lane selection triggered"},i="EXPLORER_ENTITY_FIELD_SELECTION_TRIGGER",a={id:i,title:"",description:"Entity field selection triggered"}},287:function(e,t,r){(function(t){const r="object"==typeof t&&Object({IS_KIBANA_DISTRIBUTABLE:"true"})&&Object({IS_KIBANA_DISTRIBUTABLE:"true"}).NODE_DEBUG&&/\bsemver\b/i.test(Object({IS_KIBANA_DISTRIBUTABLE:"true"}).NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};e.exports=r}).call(this,r(288))},288:function(e,t,r){e.exports=r(56)(448)},289:function(e,t){const r=Number.MAX_SAFE_INTEGER||9007199254740991;e.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_BUILD_LENGTH:250,MAX_SAFE_INTEGER:r,RELEASE_TYPES:["major","premajor","minor","preminor","patch","prepatch","prerelease"],SEMVER_SPEC_VERSION:"2.0.0",FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}},290:function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n=r(20);const o=e=>{if(Object(n.a)(e)){const t=Object.keys(e);return t.length>0?t[0]:void 0}}},340:function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));const n=".ml-anomalies-*"},341:function(e,t,r){"use strict";r.d(t,"a",(function(){return u})),r.d(t,"e",(function(){return c})),r.d(t,"f",(function(){return d})),r.d(t,"b",(function(){return f})),r.d(t,"d",(function(){return AnomalySourceTooltipProperty})),r.d(t,"c",(function(){return AnomalySourceField}));var n=r(5),o=r.n(n),i=(r(2),r(7)),a=r(6),s=r(68),l=r(4);const u=a.i18n.translate("xpack.ml.maps.anomalyLayerActualLabel",{defaultMessage:"Actual"}),c=a.i18n.translate("xpack.ml.maps.anomalyLayerTypicalLabel",{defaultMessage:"Typical"}),d=a.i18n.translate("xpack.ml.maps.anomalyLayerTypicalToActualLabel",{defaultMessage:"Typical to actual"}),f={record_score:{label:a.i18n.translate("xpack.ml.maps.anomalyLayerRecordScoreLabel",{defaultMessage:"Record score"}),type:"number"},timestamp:{label:a.i18n.translate("xpack.ml.maps.anomalyLayerTimeStampLabel",{defaultMessage:"Time"}),type:"string"},fieldName:{label:a.i18n.translate("xpack.ml.maps.anomalyLayerFieldNameLabel",{defaultMessage:"Field name"}),type:"string"},functionDescription:{label:a.i18n.translate("xpack.ml.maps.anomalyLayerFunctionDescriptionLabel",{defaultMessage:"Function"}),type:"string"},actual:{label:u,type:"string"},typical:{label:c,type:"string"},partition_field_name:{label:a.i18n.translate("xpack.ml.maps.anomalyLayerPartitionFieldNameLabel",{defaultMessage:"Partition field name"}),type:"string"},partition_field_value:{label:a.i18n.translate("xpack.ml.maps.anomalyLayerPartitionFieldValueLabel",{defaultMessage:"Partition field value"}),type:"string"},by_field_name:{label:a.i18n.translate("xpack.ml.maps.anomalyLayerByFieldNameLabel",{defaultMessage:"By field name"}),type:"string"},by_field_value:{label:a.i18n.translate("xpack.ml.maps.anomalyLayerByFieldValueLabel",{defaultMessage:"By field value"}),type:"string"},over_field_name:{label:a.i18n.translate("xpack.ml.maps.anomalyLayerOverFieldNameLabel",{defaultMessage:"Over field name"}),type:"string"},over_field_value:{label:a.i18n.translate("xpack.ml.maps.anomalyLayerOverFieldValueLabel",{defaultMessage:"Over field value"}),type:"string"},influencers:{label:a.i18n.translate("xpack.ml.maps.anomalyLayerInfluencersLabel",{defaultMessage:"Influencers"}),type:"string"}},p=Math.pow(10,s.DECIMAL_DEGREES_PRECISION);function m(e){return Math.round(Number(e)*p)/p}class AnomalySourceTooltipProperty{constructor(e,t){this._field=e,this._value=t}async getESFilters(){return[]}getHtmlDisplayValue(){if("influencers"===this._field)try{const e=JSON.parse(this._value);return Object(l.jsx)("ul",null,e.map((({influencer_field_name:e,influencer_field_values:t})=>Object(l.jsx)("li",null,`${e}: ${t.slice(0,3).join(", ")}`))))}catch(e){}else if("actual"===this._field||"typical"===this._field)try{const e=JSON.parse(this._value);return`[${m(e[0])}, ${m(e[1])}]`}catch(e){}return this._value.toString()}getPropertyKey(){return this._field}getPropertyName(){return f[this._field]&&f[this._field].label?f[this._field].label:this._field}getRawValue(){return this._value.toString()}isFilterable(){return!1}}class AnomalySourceField{constructor({source:e,field:t}){o()(this,"_source",void 0),o()(this,"_field",void 0),this._source=e,this._field=t}async createTooltipProperty(e){return new AnomalySourceTooltipProperty(this._field,Object(i.escape)(Array.isArray(e)?e.join():e||""))}async getDataType(){return f[this._field].type}async getLabel(){return f[this._field].label}getName(){return this._field}getMbFieldName(){return this.getName()}getOrigin(){return s.FIELD_ORIGIN.SOURCE}getRootName(){return this.getName()}getSource(){return this._source}isEqual(e){return this.getName()===e.getName()}isValid(){return!0}supportsFieldMetaFromLocalData(){return!0}supportsFieldMetaFromEs(){return!1}canValueBeFormatted(){return!1}async getExtendedStatsFieldMetaRequest(){return null}async getPercentilesFieldMetaRequest(e){return null}async getCategoricalFieldMetaRequest(e){return null}pluckRangeFromTileMetaFeature(e){return null}isCount(){return!1}}},342:function(e,t,r){"use strict";r.d(t,"a",(function(){return LayerSelector}));var n=r(5),o=r.n(n),i=r(2),a=r(28),s=r(6),l=r(165),u=r(341),c=r(4);class LayerSelector extends i.Component{constructor(...e){super(...e),o()(this,"_isMounted",!1),o()(this,"state",{}),o()(this,"onSelect",(e=>{const t=e[0].value;this._isMounted&&(this.setState({typicalActual:t}),this.props.onChange(t))}))}componentDidMount(){this._isMounted=!0}componentWillUnmount(){this._isMounted=!1}render(){const e=[{value:this.props.typicalActual,label:this.props.typicalActual}];return Object(c.jsx)(a.EuiFormRow,{label:s.i18n.translate("xpack.ml.maps.typicalActualLabel",{defaultMessage:"Type"}),display:"columnCompressed"},Object(c.jsx)(a.EuiComboBox,{singleSelection:!0,onChange:this.onSelect,options:[{value:l.b.ACTUAL,label:u.a},{value:l.b.TYPICAL,label:u.e},{value:l.b.TYPICAL_TO_ACTUAL,label:u.f}],selectedOptions:e}))}}},343:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.usePopper=void 0;var n,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var i=n?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(r,o,i):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}(r(2)),i=r(620),a=(n=r(621))&&n.__esModule?n:{default:n},s=r(250);function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}var u=[];t.usePopper=function(e,t,r){void 0===r&&(r={});var n=o.useRef(null),l={onFirstUpdate:r.onFirstUpdate,placement:r.placement||"bottom",strategy:r.strategy||"absolute",modifiers:r.modifiers||u},c=o.useState({styles:{popper:{position:l.strategy,left:"0",top:"0"}},attributes:{}}),d=c[0],f=c[1],p=o.useMemo((function(){return{name:"updateState",enabled:!0,phase:"write",fn:function(e){var t=e.state,r=Object.keys(t.elements);f({styles:(0,s.fromEntries)(r.map((function(e){return[e,t.styles[e]||{}]}))),attributes:(0,s.fromEntries)(r.map((function(e){return[e,t.attributes[e]]})))})},requires:["computeStyles"]}}),[]),m=o.useMemo((function(){var e={onFirstUpdate:l.onFirstUpdate,placement:l.placement,strategy:l.strategy,modifiers:[].concat(l.modifiers,[p,{name:"applyStyles",enabled:!1}])};return(0,a.default)(n.current,e)?n.current||e:(n.current=e,e)}),[l.onFirstUpdate,l.placement,l.strategy,l.modifiers,p]),g=o.useRef();return(0,s.useIsomorphicLayoutEffect)((function(){g.current&&g.current.setOptions(m)}),[m]),(0,s.useIsomorphicLayoutEffect)((function(){if(null!=e&&null!=t){var n=(r.createPopper||i.createPopper)(e,t,m);return g.current=n,function(){n.destroy(),g.current=null}}}),[e,t,r.createPopper]),{state:g.current?g.current.state:null,styles:d.styles,attributes:d.attributes,update:g.current?g.current.update:null,forceUpdate:g.current?g.current.forceUpdate:null}}},344:function(e,t,r){!function(e){"use strict";function t(e,t){return et?1:e>=t?0:NaN}function r(e){let r=e,n=e;function o(e,t,r,o){for(null==r&&(r=0),null==o&&(o=e.length);r>>1;n(e[i],t)<0?r=i+1:o=i}return r}return 1===e.length&&(r=(t,r)=>e(t)-r,n=function(e){return(r,n)=>t(e(r),n)}(e)),{left:o,center:function(e,t,n,i){null==n&&(n=0),null==i&&(i=e.length);const a=o(e,t,n,i-1);return a>n&&r(e[a-1],t)>-r(e[a],t)?a-1:a},right:function(e,t,r,o){for(null==r&&(r=0),null==o&&(o=e.length);r>>1;n(e[i],t)>0?o=i:r=i+1}return r}}}function n(e){return null===e?NaN:+e}const o=r(t),i=o.right,a=o.left,s=r(n).center;function l(e,t){let r=0;if(void 0===t)for(let t of e)null!=t&&(t=+t)>=t&&++r;else{let n=-1;for(let o of e)null!=(o=t(o,++n,e))&&(o=+o)>=o&&++r}return r}function u(e){return 0|e.length}function c(e){return!(e>0)}function d(e){return"object"!=typeof e||"length"in e?e:Array.from(e)}function f(e,t){let r,n=0,o=0,i=0;if(void 0===t)for(let t of e)null!=t&&(t=+t)>=t&&(r=t-o,o+=r/++n,i+=r*(t-o));else{let a=-1;for(let s of e)null!=(s=t(s,++a,e))&&(s=+s)>=s&&(r=s-o,o+=r/++n,i+=r*(s-o))}if(n>1)return i/(n-1)}function p(e,t){const r=f(e,t);return r?Math.sqrt(r):r}function m(e,t){let r,n;if(void 0===t)for(const t of e)null!=t&&(void 0===r?t>=t&&(r=n=t):(r>t&&(r=t),n=i&&(r=n=i):(r>i&&(r=i),n0){for(i=e[--o];o>0&&(t=i,r=e[--o],i=t+r,n=r-(i-t),!n););o>0&&(n<0&&e[o-1]<0||n>0&&e[o-1]>0)&&(r=2*n,t=i+r,r==t-i&&(i=t))}return i}}class InternMap extends Map{constructor(e,t=y){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:t}}),null!=e)for(const[t,r]of e)this.set(t,r)}get(e){return super.get(g(this,e))}has(e){return super.has(g(this,e))}set(e,t){return super.set(h(this,e),t)}delete(e){return super.delete(b(this,e))}}class InternSet extends Set{constructor(e,t=y){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:t}}),null!=e)for(const t of e)this.add(t)}has(e){return super.has(g(this,e))}add(e){return super.add(h(this,e))}delete(e){return super.delete(b(this,e))}}function g({_intern:e,_key:t},r){const n=t(r);return e.has(n)?e.get(n):r}function h({_intern:e,_key:t},r){const n=t(r);return e.has(n)?e.get(n):(e.set(n,r),r)}function b({_intern:e,_key:t},r){const n=t(r);return e.has(n)&&(r=e.get(r),e.delete(n)),r}function y(e){return null!==e&&"object"==typeof e?e.valueOf():e}function v(e){return e}function w(e,...t){return A(e,v,v,t)}function E(e,t,...r){return A(e,v,t,r)}function _(e){if(1!==e.length)throw new Error("duplicate key");return e[0]}function A(e,t,r,n){return function e(o,i){if(i>=n.length)return r(o);const a=new InternMap,s=n[i++];let l=-1;for(const e of o){const t=s(e,++l,o),r=a.get(t);r?r.push(e):a.set(t,[e])}for(const[t,r]of a)a.set(t,e(r,i));return t(a)}(e,0)}function x(e,t){return Array.from(t,(t=>e[t]))}function O(e,...r){if("function"!=typeof e[Symbol.iterator])throw new TypeError("values is not iterable");e=Array.from(e);let[n=t]=r;if(1===n.length||r.length>1){const o=Uint32Array.from(e,((e,t)=>t));return r.length>1?(r=r.map((t=>e.map(t))),o.sort(((e,n)=>{for(const o of r){const r=t(o[e],o[n]);if(r)return r}}))):(n=e.map(n),o.sort(((e,r)=>t(n[e],n[r])))),x(e,o)}return e.sort(n)}var T=Array.prototype.slice;function S(e){return function(){return e}}var N=Math.sqrt(50),M=Math.sqrt(10),D=Math.sqrt(2);function C(e,t,r){var n,o,i,a,s=-1;if(r=+r,(e=+e)==(t=+t)&&r>0)return[e];if((n=t0){let r=Math.round(e/a),n=Math.round(t/a);for(r*at&&--n,i=new Array(o=n-r+1);++st&&--n,i=new Array(o=n-r+1);++s=0?(i>=N?10:i>=M?5:i>=D?2:1)*Math.pow(10,o):-Math.pow(10,-o)/(i>=N?10:i>=M?5:i>=D?2:1)}function I(e,t,r){let n;for(;;){const o=L(e,t,r);if(o===n||0===o||!isFinite(o))return[e,t];o>0?(e=Math.floor(e/o)*o,t=Math.ceil(t/o)*o):o<0&&(e=Math.ceil(e*o)/o,t=Math.floor(t*o)/o),n=o}}function R(e){return Math.ceil(Math.log(l(e))/Math.LN2)+1}function j(){var e=v,t=m,r=R;function n(n){Array.isArray(n)||(n=Array.from(n));var o,a,s=n.length,l=new Array(s);for(o=0;o=d)if(e>=d&&t===m){const e=L(c,d,r);isFinite(e)&&(e>0?d=(Math.floor(d/e)+1)*e:e<0&&(d=(Math.ceil(d*-e)+1)/-e))}else f.pop()}for(var p=f.length;f[0]<=c;)f.shift(),--p;for(;f[p-1]>d;)f.pop(),--p;var g,h=new Array(p+1);for(o=0;o<=p;++o)(g=h[o]=[]).x0=o>0?f[o-1]:c,g.x1=o=t)&&(r=t);else{let n=-1;for(let o of e)null!=(o=t(o,++n,e))&&(r=o)&&(r=o)}return r}function q(e,t){let r;if(void 0===t)for(const t of e)null!=t&&(r>t||void 0===r&&t>=t)&&(r=t);else{let n=-1;for(let o of e)null!=(o=t(o,++n,e))&&(r>o||void 0===r&&o>=o)&&(r=o)}return r}function F(e,r,n=0,o=e.length-1,i=t){for(;o>n;){if(o-n>600){const t=o-n+1,a=r-n+1,s=Math.log(t),l=.5*Math.exp(2*s/3),u=.5*Math.sqrt(s*l*(t-l)/t)*(a-t/2<0?-1:1);F(e,r,Math.max(n,Math.floor(r-a*l/t+u)),Math.min(o,Math.floor(r+(t-a)*l/t+u)),i)}const t=e[r];let a=n,s=o;for(P(e,n,r),i(e[o],t)>0&&P(e,n,o);a0;)--s}0===i(e[n],t)?P(e,n,s):(++s,P(e,s,o)),s<=r&&(n=s+1),r<=s&&(o=s-1)}return e}function P(e,t,r){const n=e[t];e[t]=e[r],e[r]=n}function U(e,t,r){if(n=(e=Float64Array.from(function*(e,t){if(void 0===t)for(let t of e)null!=t&&(t=+t)>=t&&(yield t);else{let r=-1;for(let n of e)null!=(n=t(n,++r,e))&&(n=+n)>=n&&(yield n)}}(e,r))).length){if((t=+t)<=0||n<2)return q(e);if(t>=1)return k(e);var n,o=(n-1)*t,i=Math.floor(o),a=k(F(e,i).subarray(0,i+1));return a+(q(e.subarray(i+1))-a)*(o-i)}}function B(e,t){let r,n=-1,o=-1;if(void 0===t)for(const t of e)++o,null!=t&&(r=t)&&(r=t,n=o);else for(let i of e)null!=(i=t(i,++o,e))&&(r=i)&&(r=i,n=o);return n}function V(e,t){let r,n=-1,o=-1;if(void 0===t)for(const t of e)++o,null!=t&&(r>t||void 0===r&&t>=t)&&(r=t,n=o);else for(let i of e)null!=(i=t(i,++o,e))&&(r>i||void 0===r&&i>=i)&&(r=i,n=o);return n}function H(e,t){return[e,t]}function G(e,r=t){if(1===r.length)return V(e,r);let n,o=-1,i=-1;for(const t of e)++i,(o<0?0===r(t,t):r(t,n)<0)&&(n=t,o=i);return o}var $=z(Math.random);function z(e){return function(t,r=0,n=t.length){let o=n-(r=+r);for(;o;){const n=e()*o--|0,i=t[o+r];t[o+r]=t[n+r],t[n+r]=i}return t}}function Y(e){if(!(o=e.length))return[];for(var t=-1,r=q(e,W),n=new Array(r);++te(...t)}(e.pop()),r=(e=e.map(d)).map(u),n=e.length-1,o=new Array(n+1).fill(0),i=[];if(n<0||r.some(c))return i;for(;;){i.push(o.map(((t,r)=>e[r][t])));let a=n;for(;++o[a]===r[a];){if(0===a)return t?i.map(t):i;o[a--]=0}}},e.cumsum=function(e,t){var r=0,n=0;return Float64Array.from(e,void 0===t?e=>r+=+e||0:o=>r+=+t(o,n++,e)||0)},e.descending=function(e,t){return te?1:t>=e?0:NaN},e.deviation=p,e.difference=function(e,...t){e=new Set(e);for(const r of t)for(const t of r)e.delete(t);return e},e.disjoint=function(e,t){const r=t[Symbol.iterator](),n=new Set;for(const t of e){if(n.has(t))return!1;let e,o;for(;({value:e,done:o}=r.next())&&!o;){if(Object.is(t,e))return!1;n.add(e)}}return!0},e.every=function(e,t){if("function"!=typeof t)throw new TypeError("test is not a function");let r=-1;for(const n of e)if(!t(n,++r,e))return!1;return!0},e.extent=m,e.fcumsum=function(e,t){const r=new Adder;let n=-1;return Float64Array.from(e,void 0===t?e=>r.add(+e||0):o=>r.add(+t(o,++n,e)||0))},e.filter=function(e,t){if("function"!=typeof t)throw new TypeError("test is not a function");const r=[];let n=-1;for(const o of e)t(o,++n,e)&&r.push(o);return r},e.fsum=function(e,t){const r=new Adder;if(void 0===t)for(let t of e)(t=+t)&&r.add(t);else{let n=-1;for(let o of e)(o=+t(o,++n,e))&&r.add(o)}return+r},e.greatest=function(e,r=t){let n,o=!1;if(1===r.length){let i;for(const a of e){const e=r(a);(o?t(e,i)>0:0===t(e,e))&&(n=a,i=e,o=!0)}}else for(const t of e)(o?r(t,n)>0:0===r(t,t))&&(n=t,o=!0);return n},e.greatestIndex=function(e,r=t){if(1===r.length)return B(e,r);let n,o=-1,i=-1;for(const t of e)++i,(o<0?0===r(t,t):r(t,n)>0)&&(n=t,o=i);return o},e.group=w,e.groupSort=function(e,r,n){return(1===r.length?O(E(e,r,n),(([e,r],[n,o])=>t(r,o)||t(e,n))):O(w(e,n),(([e,n],[o,i])=>r(n,i)||t(e,o)))).map((([e])=>e))},e.groups=function(e,...t){return A(e,Array.from,v,t)},e.histogram=j,e.index=function(e,...t){return A(e,v,_,t)},e.indexes=function(e,...t){return A(e,Array.from,_,t)},e.intersection=function(e,...t){e=new Set(e),t=t.map(J);e:for(const r of e)for(const n of t)if(!n.has(r)){e.delete(r);continue e}return e},e.least=function(e,r=t){let n,o=!1;if(1===r.length){let i;for(const a of e){const e=r(a);(o?t(e,i)<0:0===t(e,e))&&(n=a,i=e,o=!0)}}else for(const t of e)(o?r(t,n)<0:0===r(t,t))&&(n=t,o=!0);return n},e.leastIndex=G,e.map=function(e,t){if("function"!=typeof e[Symbol.iterator])throw new TypeError("values is not iterable");if("function"!=typeof t)throw new TypeError("mapper is not a function");return Array.from(e,((r,n)=>t(r,n,e)))},e.max=k,e.maxIndex=B,e.mean=function(e,t){let r=0,n=0;if(void 0===t)for(let t of e)null!=t&&(t=+t)>=t&&(++r,n+=t);else{let o=-1;for(let i of e)null!=(i=t(i,++o,e))&&(i=+i)>=i&&(++r,n+=i)}if(r)return n/r},e.median=function(e,t){return U(e,.5,t)},e.merge=function(e){return Array.from(function*(e){for(const t of e)yield*t}(e))},e.min=q,e.minIndex=V,e.nice=I,e.pairs=function(e,t=H){const r=[];let n,o=!1;for(const i of e)o&&r.push(t(n,i)),n=i,o=!0;return r},e.permute=x,e.quantile=U,e.quantileSorted=function(e,t,r=n){if(o=e.length){if((t=+t)<=0||o<2)return+r(e[0],0,e);if(t>=1)return+r(e[o-1],o-1,e);var o,i=(o-1)*t,a=Math.floor(i),s=+r(e[a],a,e);return s+(+r(e[a+1],a+1,e)-s)*(i-a)}},e.quickselect=F,e.range=function(e,t,r){e=+e,t=+t,r=(o=arguments.length)<2?(t=e,e=0,1):o<3?1:+r;for(var n=-1,o=0|Math.max(0,Math.ceil((t-e)/r)),i=new Array(o);++n=N?o*=10:i>=M?o*=5:i>=D&&(o*=2),t0))return a;do{a.push(i=new Date(+r)),t(r,o),e(r)}while(i=t)for(;e(t),!r(t);)t.setTime(t-1)}),(function(e,n){if(e>=e)if(n<0)for(;++n<=0;)for(;t(e,-1),!r(e););else for(;--n>=0;)for(;t(e,1),!r(e););}))},i&&(s.count=function(t,o){return r.setTime(+t),n.setTime(+o),e(r),e(n),Math.floor(i(r,n))},s.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?s.filter(a?function(t){return a(t)%e==0}:function(t){return s.count(0,t)%e==0}):s:null}),s}var i=o((function(){}),(function(e,t){e.setTime(+e+t)}),(function(e,t){return t-e}));i.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?o((function(t){t.setTime(Math.floor(t/e)*e)}),(function(t,r){t.setTime(+t+r*e)}),(function(t,r){return(r-t)/e})):i:null};var a=i.range;const s=1e3,l=60*s,u=60*l,c=24*u,d=7*c,f=30*c,p=365*c;var m=o((function(e){e.setTime(e-e.getMilliseconds())}),(function(e,t){e.setTime(+e+t*s)}),(function(e,t){return(t-e)/s}),(function(e){return e.getUTCSeconds()})),g=m.range,h=o((function(e){e.setTime(e-e.getMilliseconds()-e.getSeconds()*s)}),(function(e,t){e.setTime(+e+t*l)}),(function(e,t){return(t-e)/l}),(function(e){return e.getMinutes()})),b=h.range,y=o((function(e){e.setTime(e-e.getMilliseconds()-e.getSeconds()*s-e.getMinutes()*l)}),(function(e,t){e.setTime(+e+t*u)}),(function(e,t){return(t-e)/u}),(function(e){return e.getHours()})),v=y.range,w=o((e=>e.setHours(0,0,0,0)),((e,t)=>e.setDate(e.getDate()+t)),((e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*l)/c),(e=>e.getDate()-1)),E=w.range;function _(e){return o((function(t){t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)}),(function(e,t){e.setDate(e.getDate()+7*t)}),(function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*l)/d}))}var A=_(0),x=_(1),O=_(2),T=_(3),S=_(4),N=_(5),M=_(6),D=A.range,C=x.range,L=O.range,I=T.range,R=S.range,j=N.range,k=M.range,q=o((function(e){e.setDate(1),e.setHours(0,0,0,0)}),(function(e,t){e.setMonth(e.getMonth()+t)}),(function(e,t){return t.getMonth()-e.getMonth()+12*(t.getFullYear()-e.getFullYear())}),(function(e){return e.getMonth()})),F=q.range,P=o((function(e){e.setMonth(0,1),e.setHours(0,0,0,0)}),(function(e,t){e.setFullYear(e.getFullYear()+t)}),(function(e,t){return t.getFullYear()-e.getFullYear()}),(function(e){return e.getFullYear()}));P.every=function(e){return isFinite(e=Math.floor(e))&&e>0?o((function(t){t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)}),(function(t,r){t.setFullYear(t.getFullYear()+r*e)})):null};var U=P.range,B=o((function(e){e.setUTCSeconds(0,0)}),(function(e,t){e.setTime(+e+t*l)}),(function(e,t){return(t-e)/l}),(function(e){return e.getUTCMinutes()})),V=B.range,H=o((function(e){e.setUTCMinutes(0,0,0)}),(function(e,t){e.setTime(+e+t*u)}),(function(e,t){return(t-e)/u}),(function(e){return e.getUTCHours()})),G=H.range,$=o((function(e){e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCDate(e.getUTCDate()+t)}),(function(e,t){return(t-e)/c}),(function(e){return e.getUTCDate()-1})),z=$.range;function Y(e){return o((function(t){t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCDate(e.getUTCDate()+7*t)}),(function(e,t){return(t-e)/d}))}var W=Y(0),J=Y(1),X=Y(2),Z=Y(3),Q=Y(4),K=Y(5),ee=Y(6),te=W.range,re=J.range,ne=X.range,oe=Z.range,ie=Q.range,ae=K.range,se=ee.range,le=o((function(e){e.setUTCDate(1),e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCMonth(e.getUTCMonth()+t)}),(function(e,t){return t.getUTCMonth()-e.getUTCMonth()+12*(t.getUTCFullYear()-e.getUTCFullYear())}),(function(e){return e.getUTCMonth()})),ue=le.range,ce=o((function(e){e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCFullYear(e.getUTCFullYear()+t)}),(function(e,t){return t.getUTCFullYear()-e.getUTCFullYear()}),(function(e){return e.getUTCFullYear()}));ce.every=function(e){return isFinite(e=Math.floor(e))&&e>0?o((function(t){t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),(function(t,r){t.setUTCFullYear(t.getUTCFullYear()+r*e)})):null};var de=ce.range;function fe(e,r,n,o,a,g){const h=[[m,1,s],[m,5,5*s],[m,15,15*s],[m,30,30*s],[g,1,l],[g,5,5*l],[g,15,15*l],[g,30,30*l],[a,1,u],[a,3,3*u],[a,6,6*u],[a,12,12*u],[o,1,c],[o,2,2*c],[n,1,d],[r,1,f],[r,3,3*f],[e,1,p]];function b(r,n,o){const a=Math.abs(n-r)/o,s=t.bisector((([,,e])=>e)).right(h,a);if(s===h.length)return e.every(t.tickStep(r/p,n/p,o));if(0===s)return i.every(Math.max(t.tickStep(r,n,o),1));const[l,u]=h[a/h[s-1][2]{this.props.onChange({propName:"typicalActual",value:e})},typicalActual:this.props.typicalActual})),Object(g.jsx)(p.EuiSpacer,{size:"s"}))}}class anomaly_source_AnomalySource{static createDescriptor(e){if("string"!=typeof e.jobId)throw new Error("Job id is required for anomaly layer creation");return{type:s.SOURCE_TYPES.ES_ML_ANOMALIES,jobId:e.jobId,typicalActual:e.typicalActual||d.b.ACTUAL}}constructor(e,t){o()(this,"_descriptor",void 0),this._descriptor=anomaly_source_AnomalySource.createDescriptor(e)}async getGeoJsonWithMeta(e,t,r,n){const o=await Object(d.e)(anomaly_source_AnomalySource.mlResultsService,this._descriptor.jobId,this._descriptor.typicalActual,t);return{data:o,meta:{areResultsTrimmed:1e3===o.features.length}}}canFormatFeatureProperties(){return!1}cloneDescriptor(){return{type:this._descriptor.type,jobId:this._descriptor.jobId,typicalActual:this._descriptor.typicalActual}}createField({fieldName:e}){if("record_score"!==e)throw new Error("Record score field name is required");return new u.c({source:this,field:e})}async createFieldFormatter(e){return null}destroy(){}getApplyGlobalQuery(){return!0}getApplyForceRefresh(){return!1}getApplyGlobalTime(){return!0}async getAttributions(){return[]}async getBoundsForFilters(e,t){return null}async getDisplayName(){return i.i18n.translate("xpack.ml.maps.anomalySource.displayLabel",{defaultMessage:"{typicalActual} for {jobId}",values:{typicalActual:this._descriptor.typicalActual,jobId:this._descriptor.jobId}})}getFieldByName(e){return"record_score"===e?new u.c({source:this,field:e}):null}getSourceStatus(e){const t=e?e.getMeta():null;return null!=t&&t.areResultsTrimmed?{tooltipContent:i.i18n.translate("xpack.ml.maps.resultsTrimmedMsg",{defaultMessage:"Results limited to first {count} documents.",values:{count:1e3}}),areResultsTrimmed:!0}:{tooltipContent:null,areResultsTrimmed:!1}}getType(){return this._descriptor.type}isMvt(){return!1}supportsJoins(){return!1}async getFields(){return Object.keys(u.b).map((e=>new u.c({source:this,field:e})))}getGeoGridPrecision(e){return 0}isBoundsAware(){return!1}async getImmutableProperties(e){let t;try{var r;t=await(null===(r=anomaly_source_AnomalySource.mlLocator)||void 0===r?void 0:r.getUrl({page:c.b.ANOMALY_EXPLORER,pageState:{jobIds:[this._descriptor.jobId],timeRange:e.timeFilters}}))}catch(e){}return[{label:i.i18n.translate("xpack.ml.maps.anomalySourcePropLabel",{defaultMessage:"Job Id"}),value:this._descriptor.jobId,...t?{link:t}:{}}]}async isTimeAware(){return!0}renderSourceSettingsEditor({onChange:e}){return Object(g.jsx)(update_anomaly_source_editor_UpdateAnomalySourceEditor,{onChange:e,typicalActual:this._descriptor.typicalActual})}async supportsFitToBounds(){return!0}async getLicensedFeatures(){return[]}getMaxZoom(){return s.MAX_ZOOM}getMinZoom(){return s.MIN_ZOOM}getSourceTooltipContent(e){var t;const r=e?e.getMeta():null;return{tooltipContent:i.i18n.translate("xpack.ml.maps.sourceTooltip",{defaultMessage:"Shows anomalies"}),areResultsTrimmed:null!==(t=null==r?void 0:r.areResultsTrimmed)&&void 0!==t&&t}}async getSupportedShapeTypes(){return this._descriptor.typicalActual===d.b.TYPICAL_TO_ACTUAL?[s.VECTOR_SHAPE_TYPE.LINE]:[s.VECTOR_SHAPE_TYPE.POINT]}getSyncMeta(){return{jobId:this._descriptor.jobId,typicalActual:this._descriptor.typicalActual}}async getTooltipProperties(e){const t=[];for(const r in e)r!==l.GEOJSON_FEATURE_ID_PROPERTY_NAME&&e.hasOwnProperty(r)&&t.push(new u.d(r,e[r]));return t}isFieldAware(){return!0}async getValueSuggestions(e,t){return[]}getAttributionProvider(){return null}getIndexPatternIds(){return[]}getInspectorAdapters(){}getJoinsDisabledReason(){return null}async getLeftJoinFields(){return[]}getFeatureActions(e){return[]}getQueryableIndexPatternIds(){return[]}isESSource(){return!1}isFilterByMapBounds(){return!1}isGeoGridPrecisionAware(){return!1}isQueryAware(){return!0}isRefreshTimerAware(){return!0}async getTimesliceMaskFieldName(){return null}async supportsFeatureEditing(){return!1}hasTooltipProperties(){return!0}async addFeature(){}async deleteFeature(){}getUpdateDueToTimeslice(){return!0}async getDefaultFields(){return{}}}o()(anomaly_source_AnomalySource,"mlResultsService",void 0),o()(anomaly_source_AnomalySource,"mlLocator",void 0)},406:function(e,t,r){(function(e,n){var o;/*! https://mths.be/he v1.2.0 by @mathias | MIT license */!function(i){var a=(e&&e.exports,"object"==typeof n&&n);a.global!==a&&a.window;var s=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,l=/[\x01-\x7F]/g,u=/[\x01-\t\x0B\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,c=/<\u20D2|=\u20E5|>\u20D2|\u205F\u200A|\u219D\u0338|\u2202\u0338|\u2220\u20D2|\u2229\uFE00|\u222A\uFE00|\u223C\u20D2|\u223D\u0331|\u223E\u0333|\u2242\u0338|\u224B\u0338|\u224D\u20D2|\u224E\u0338|\u224F\u0338|\u2250\u0338|\u2261\u20E5|\u2264\u20D2|\u2265\u20D2|\u2266\u0338|\u2267\u0338|\u2268\uFE00|\u2269\uFE00|\u226A\u0338|\u226A\u20D2|\u226B\u0338|\u226B\u20D2|\u227F\u0338|\u2282\u20D2|\u2283\u20D2|\u228A\uFE00|\u228B\uFE00|\u228F\u0338|\u2290\u0338|\u2293\uFE00|\u2294\uFE00|\u22B4\u20D2|\u22B5\u20D2|\u22D8\u0338|\u22D9\u0338|\u22DA\uFE00|\u22DB\uFE00|\u22F5\u0338|\u22F9\u0338|\u2933\u0338|\u29CF\u0338|\u29D0\u0338|\u2A6D\u0338|\u2A70\u0338|\u2A7D\u0338|\u2A7E\u0338|\u2AA1\u0338|\u2AA2\u0338|\u2AAC\uFE00|\u2AAD\uFE00|\u2AAF\u0338|\u2AB0\u0338|\u2AC5\u0338|\u2AC6\u0338|\u2ACB\uFE00|\u2ACC\uFE00|\u2AFD\u20E5|[\xA0-\u0113\u0116-\u0122\u0124-\u012B\u012E-\u014D\u0150-\u017E\u0192\u01B5\u01F5\u0237\u02C6\u02C7\u02D8-\u02DD\u0311\u0391-\u03A1\u03A3-\u03A9\u03B1-\u03C9\u03D1\u03D2\u03D5\u03D6\u03DC\u03DD\u03F0\u03F1\u03F5\u03F6\u0401-\u040C\u040E-\u044F\u0451-\u045C\u045E\u045F\u2002-\u2005\u2007-\u2010\u2013-\u2016\u2018-\u201A\u201C-\u201E\u2020-\u2022\u2025\u2026\u2030-\u2035\u2039\u203A\u203E\u2041\u2043\u2044\u204F\u2057\u205F-\u2063\u20AC\u20DB\u20DC\u2102\u2105\u210A-\u2113\u2115-\u211E\u2122\u2124\u2127-\u2129\u212C\u212D\u212F-\u2131\u2133-\u2138\u2145-\u2148\u2153-\u215E\u2190-\u219B\u219D-\u21A7\u21A9-\u21AE\u21B0-\u21B3\u21B5-\u21B7\u21BA-\u21DB\u21DD\u21E4\u21E5\u21F5\u21FD-\u2205\u2207-\u2209\u220B\u220C\u220F-\u2214\u2216-\u2218\u221A\u221D-\u2238\u223A-\u2257\u2259\u225A\u225C\u225F-\u2262\u2264-\u228B\u228D-\u229B\u229D-\u22A5\u22A7-\u22B0\u22B2-\u22BB\u22BD-\u22DB\u22DE-\u22E3\u22E6-\u22F7\u22F9-\u22FE\u2305\u2306\u2308-\u2310\u2312\u2313\u2315\u2316\u231C-\u231F\u2322\u2323\u232D\u232E\u2336\u233D\u233F\u237C\u23B0\u23B1\u23B4-\u23B6\u23DC-\u23DF\u23E2\u23E7\u2423\u24C8\u2500\u2502\u250C\u2510\u2514\u2518\u251C\u2524\u252C\u2534\u253C\u2550-\u256C\u2580\u2584\u2588\u2591-\u2593\u25A1\u25AA\u25AB\u25AD\u25AE\u25B1\u25B3-\u25B5\u25B8\u25B9\u25BD-\u25BF\u25C2\u25C3\u25CA\u25CB\u25EC\u25EF\u25F8-\u25FC\u2605\u2606\u260E\u2640\u2642\u2660\u2663\u2665\u2666\u266A\u266D-\u266F\u2713\u2717\u2720\u2736\u2758\u2772\u2773\u27C8\u27C9\u27E6-\u27ED\u27F5-\u27FA\u27FC\u27FF\u2902-\u2905\u290C-\u2913\u2916\u2919-\u2920\u2923-\u292A\u2933\u2935-\u2939\u293C\u293D\u2945\u2948-\u294B\u294E-\u2976\u2978\u2979\u297B-\u297F\u2985\u2986\u298B-\u2996\u299A\u299C\u299D\u29A4-\u29B7\u29B9\u29BB\u29BC\u29BE-\u29C5\u29C9\u29CD-\u29D0\u29DC-\u29DE\u29E3-\u29E5\u29EB\u29F4\u29F6\u2A00-\u2A02\u2A04\u2A06\u2A0C\u2A0D\u2A10-\u2A17\u2A22-\u2A27\u2A29\u2A2A\u2A2D-\u2A31\u2A33-\u2A3C\u2A3F\u2A40\u2A42-\u2A4D\u2A50\u2A53-\u2A58\u2A5A-\u2A5D\u2A5F\u2A66\u2A6A\u2A6D-\u2A75\u2A77-\u2A9A\u2A9D-\u2AA2\u2AA4-\u2AB0\u2AB3-\u2AC8\u2ACB\u2ACC\u2ACF-\u2ADB\u2AE4\u2AE6-\u2AE9\u2AEB-\u2AF3\u2AFD\uFB00-\uFB04]|\uD835[\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDCCF\uDD04\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDD6B]/g,d={"­":"shy","‌":"zwnj","‍":"zwj","‎":"lrm","⁣":"ic","⁢":"it","⁡":"af","‏":"rlm","​":"ZeroWidthSpace","⁠":"NoBreak","̑":"DownBreve","⃛":"tdot","⃜":"DotDot","\t":"Tab","\n":"NewLine"," ":"puncsp"," ":"MediumSpace"," ":"thinsp"," ":"hairsp"," ":"emsp13"," ":"ensp"," ":"emsp14"," ":"emsp"," ":"numsp"," ":"nbsp","  ":"ThickSpace","‾":"oline",_:"lowbar","‐":"dash","–":"ndash","—":"mdash","―":"horbar",",":"comma",";":"semi","⁏":"bsemi",":":"colon","⩴":"Colone","!":"excl","¡":"iexcl","?":"quest","¿":"iquest",".":"period","‥":"nldr","…":"mldr","·":"middot","'":"apos","‘":"lsquo","’":"rsquo","‚":"sbquo","‹":"lsaquo","›":"rsaquo",'"':"quot","“":"ldquo","”":"rdquo","„":"bdquo","«":"laquo","»":"raquo","(":"lpar",")":"rpar","[":"lsqb","]":"rsqb","{":"lcub","}":"rcub","⌈":"lceil","⌉":"rceil","⌊":"lfloor","⌋":"rfloor","⦅":"lopar","⦆":"ropar","⦋":"lbrke","⦌":"rbrke","⦍":"lbrkslu","⦎":"rbrksld","⦏":"lbrksld","⦐":"rbrkslu","⦑":"langd","⦒":"rangd","⦓":"lparlt","⦔":"rpargt","⦕":"gtlPar","⦖":"ltrPar","⟦":"lobrk","⟧":"robrk","⟨":"lang","⟩":"rang","⟪":"Lang","⟫":"Rang","⟬":"loang","⟭":"roang","❲":"lbbrk","❳":"rbbrk","‖":"Vert","§":"sect","¶":"para","@":"commat","*":"ast","/":"sol",undefined:null,"&":"amp","#":"num","%":"percnt","‰":"permil","‱":"pertenk","†":"dagger","‡":"Dagger","•":"bull","⁃":"hybull","′":"prime","″":"Prime","‴":"tprime","⁗":"qprime","‵":"bprime","⁁":"caret","`":"grave","´":"acute","˜":"tilde","^":"Hat","¯":"macr","˘":"breve","˙":"dot","¨":"die","˚":"ring","˝":"dblac","¸":"cedil","˛":"ogon","ˆ":"circ","ˇ":"caron","°":"deg","©":"copy","®":"reg","℗":"copysr","℘":"wp","℞":"rx","℧":"mho","℩":"iiota","←":"larr","↚":"nlarr","→":"rarr","↛":"nrarr","↑":"uarr","↓":"darr","↔":"harr","↮":"nharr","↕":"varr","↖":"nwarr","↗":"nearr","↘":"searr","↙":"swarr","↝":"rarrw","↝̸":"nrarrw","↞":"Larr","↟":"Uarr","↠":"Rarr","↡":"Darr","↢":"larrtl","↣":"rarrtl","↤":"mapstoleft","↥":"mapstoup","↦":"map","↧":"mapstodown","↩":"larrhk","↪":"rarrhk","↫":"larrlp","↬":"rarrlp","↭":"harrw","↰":"lsh","↱":"rsh","↲":"ldsh","↳":"rdsh","↵":"crarr","↶":"cularr","↷":"curarr","↺":"olarr","↻":"orarr","↼":"lharu","↽":"lhard","↾":"uharr","↿":"uharl","⇀":"rharu","⇁":"rhard","⇂":"dharr","⇃":"dharl","⇄":"rlarr","⇅":"udarr","⇆":"lrarr","⇇":"llarr","⇈":"uuarr","⇉":"rrarr","⇊":"ddarr","⇋":"lrhar","⇌":"rlhar","⇐":"lArr","⇍":"nlArr","⇑":"uArr","⇒":"rArr","⇏":"nrArr","⇓":"dArr","⇔":"iff","⇎":"nhArr","⇕":"vArr","⇖":"nwArr","⇗":"neArr","⇘":"seArr","⇙":"swArr","⇚":"lAarr","⇛":"rAarr","⇝":"zigrarr","⇤":"larrb","⇥":"rarrb","⇵":"duarr","⇽":"loarr","⇾":"roarr","⇿":"hoarr","∀":"forall","∁":"comp","∂":"part","∂̸":"npart","∃":"exist","∄":"nexist","∅":"empty","∇":"Del","∈":"in","∉":"notin","∋":"ni","∌":"notni","϶":"bepsi","∏":"prod","∐":"coprod","∑":"sum","+":"plus","±":"pm","÷":"div","×":"times","<":"lt","≮":"nlt","<⃒":"nvlt","=":"equals","≠":"ne","=⃥":"bne","⩵":"Equal",">":"gt","≯":"ngt",">⃒":"nvgt","¬":"not","|":"vert","¦":"brvbar","−":"minus","∓":"mp","∔":"plusdo","⁄":"frasl","∖":"setmn","∗":"lowast","∘":"compfn","√":"Sqrt","∝":"prop","∞":"infin","∟":"angrt","∠":"ang","∠⃒":"nang","∡":"angmsd","∢":"angsph","∣":"mid","∤":"nmid","∥":"par","∦":"npar","∧":"and","∨":"or","∩":"cap","∩︀":"caps","∪":"cup","∪︀":"cups","∫":"int","∬":"Int","∭":"tint","⨌":"qint","∮":"oint","∯":"Conint","∰":"Cconint","∱":"cwint","∲":"cwconint","∳":"awconint","∴":"there4","∵":"becaus","∶":"ratio","∷":"Colon","∸":"minusd","∺":"mDDot","∻":"homtht","∼":"sim","≁":"nsim","∼⃒":"nvsim","∽":"bsim","∽̱":"race","∾":"ac","∾̳":"acE","∿":"acd","≀":"wr","≂":"esim","≂̸":"nesim","≃":"sime","≄":"nsime","≅":"cong","≇":"ncong","≆":"simne","≈":"ap","≉":"nap","≊":"ape","≋":"apid","≋̸":"napid","≌":"bcong","≍":"CupCap","≭":"NotCupCap","≍⃒":"nvap","≎":"bump","≎̸":"nbump","≏":"bumpe","≏̸":"nbumpe","≐":"doteq","≐̸":"nedot","≑":"eDot","≒":"efDot","≓":"erDot","≔":"colone","≕":"ecolon","≖":"ecir","≗":"cire","≙":"wedgeq","≚":"veeeq","≜":"trie","≟":"equest","≡":"equiv","≢":"nequiv","≡⃥":"bnequiv","≤":"le","≰":"nle","≤⃒":"nvle","≥":"ge","≱":"nge","≥⃒":"nvge","≦":"lE","≦̸":"nlE","≧":"gE","≧̸":"ngE","≨︀":"lvnE","≨":"lnE","≩":"gnE","≩︀":"gvnE","≪":"ll","≪̸":"nLtv","≪⃒":"nLt","≫":"gg","≫̸":"nGtv","≫⃒":"nGt","≬":"twixt","≲":"lsim","≴":"nlsim","≳":"gsim","≵":"ngsim","≶":"lg","≸":"ntlg","≷":"gl","≹":"ntgl","≺":"pr","⊀":"npr","≻":"sc","⊁":"nsc","≼":"prcue","⋠":"nprcue","≽":"sccue","⋡":"nsccue","≾":"prsim","≿":"scsim","≿̸":"NotSucceedsTilde","⊂":"sub","⊄":"nsub","⊂⃒":"vnsub","⊃":"sup","⊅":"nsup","⊃⃒":"vnsup","⊆":"sube","⊈":"nsube","⊇":"supe","⊉":"nsupe","⊊︀":"vsubne","⊊":"subne","⊋︀":"vsupne","⊋":"supne","⊍":"cupdot","⊎":"uplus","⊏":"sqsub","⊏̸":"NotSquareSubset","⊐":"sqsup","⊐̸":"NotSquareSuperset","⊑":"sqsube","⋢":"nsqsube","⊒":"sqsupe","⋣":"nsqsupe","⊓":"sqcap","⊓︀":"sqcaps","⊔":"sqcup","⊔︀":"sqcups","⊕":"oplus","⊖":"ominus","⊗":"otimes","⊘":"osol","⊙":"odot","⊚":"ocir","⊛":"oast","⊝":"odash","⊞":"plusb","⊟":"minusb","⊠":"timesb","⊡":"sdotb","⊢":"vdash","⊬":"nvdash","⊣":"dashv","⊤":"top","⊥":"bot","⊧":"models","⊨":"vDash","⊭":"nvDash","⊩":"Vdash","⊮":"nVdash","⊪":"Vvdash","⊫":"VDash","⊯":"nVDash","⊰":"prurel","⊲":"vltri","⋪":"nltri","⊳":"vrtri","⋫":"nrtri","⊴":"ltrie","⋬":"nltrie","⊴⃒":"nvltrie","⊵":"rtrie","⋭":"nrtrie","⊵⃒":"nvrtrie","⊶":"origof","⊷":"imof","⊸":"mumap","⊹":"hercon","⊺":"intcal","⊻":"veebar","⊽":"barvee","⊾":"angrtvb","⊿":"lrtri","⋀":"Wedge","⋁":"Vee","⋂":"xcap","⋃":"xcup","⋄":"diam","⋅":"sdot","⋆":"Star","⋇":"divonx","⋈":"bowtie","⋉":"ltimes","⋊":"rtimes","⋋":"lthree","⋌":"rthree","⋍":"bsime","⋎":"cuvee","⋏":"cuwed","⋐":"Sub","⋑":"Sup","⋒":"Cap","⋓":"Cup","⋔":"fork","⋕":"epar","⋖":"ltdot","⋗":"gtdot","⋘":"Ll","⋘̸":"nLl","⋙":"Gg","⋙̸":"nGg","⋚︀":"lesg","⋚":"leg","⋛":"gel","⋛︀":"gesl","⋞":"cuepr","⋟":"cuesc","⋦":"lnsim","⋧":"gnsim","⋨":"prnsim","⋩":"scnsim","⋮":"vellip","⋯":"ctdot","⋰":"utdot","⋱":"dtdot","⋲":"disin","⋳":"isinsv","⋴":"isins","⋵":"isindot","⋵̸":"notindot","⋶":"notinvc","⋷":"notinvb","⋹":"isinE","⋹̸":"notinE","⋺":"nisd","⋻":"xnis","⋼":"nis","⋽":"notnivc","⋾":"notnivb","⌅":"barwed","⌆":"Barwed","⌌":"drcrop","⌍":"dlcrop","⌎":"urcrop","⌏":"ulcrop","⌐":"bnot","⌒":"profline","⌓":"profsurf","⌕":"telrec","⌖":"target","⌜":"ulcorn","⌝":"urcorn","⌞":"dlcorn","⌟":"drcorn","⌢":"frown","⌣":"smile","⌭":"cylcty","⌮":"profalar","⌶":"topbot","⌽":"ovbar","⌿":"solbar","⍼":"angzarr","⎰":"lmoust","⎱":"rmoust","⎴":"tbrk","⎵":"bbrk","⎶":"bbrktbrk","⏜":"OverParenthesis","⏝":"UnderParenthesis","⏞":"OverBrace","⏟":"UnderBrace","⏢":"trpezium","⏧":"elinters","␣":"blank","─":"boxh","│":"boxv","┌":"boxdr","┐":"boxdl","└":"boxur","┘":"boxul","├":"boxvr","┤":"boxvl","┬":"boxhd","┴":"boxhu","┼":"boxvh","═":"boxH","║":"boxV","╒":"boxdR","╓":"boxDr","╔":"boxDR","╕":"boxdL","╖":"boxDl","╗":"boxDL","╘":"boxuR","╙":"boxUr","╚":"boxUR","╛":"boxuL","╜":"boxUl","╝":"boxUL","╞":"boxvR","╟":"boxVr","╠":"boxVR","╡":"boxvL","╢":"boxVl","╣":"boxVL","╤":"boxHd","╥":"boxhD","╦":"boxHD","╧":"boxHu","╨":"boxhU","╩":"boxHU","╪":"boxvH","╫":"boxVh","╬":"boxVH","▀":"uhblk","▄":"lhblk","█":"block","░":"blk14","▒":"blk12","▓":"blk34","□":"squ","▪":"squf","▫":"EmptyVerySmallSquare","▭":"rect","▮":"marker","▱":"fltns","△":"xutri","▴":"utrif","▵":"utri","▸":"rtrif","▹":"rtri","▽":"xdtri","▾":"dtrif","▿":"dtri","◂":"ltrif","◃":"ltri","◊":"loz","○":"cir","◬":"tridot","◯":"xcirc","◸":"ultri","◹":"urtri","◺":"lltri","◻":"EmptySmallSquare","◼":"FilledSmallSquare","★":"starf","☆":"star","☎":"phone","♀":"female","♂":"male","♠":"spades","♣":"clubs","♥":"hearts","♦":"diams","♪":"sung","✓":"check","✗":"cross","✠":"malt","✶":"sext","❘":"VerticalSeparator","⟈":"bsolhsub","⟉":"suphsol","⟵":"xlarr","⟶":"xrarr","⟷":"xharr","⟸":"xlArr","⟹":"xrArr","⟺":"xhArr","⟼":"xmap","⟿":"dzigrarr","⤂":"nvlArr","⤃":"nvrArr","⤄":"nvHarr","⤅":"Map","⤌":"lbarr","⤍":"rbarr","⤎":"lBarr","⤏":"rBarr","⤐":"RBarr","⤑":"DDotrahd","⤒":"UpArrowBar","⤓":"DownArrowBar","⤖":"Rarrtl","⤙":"latail","⤚":"ratail","⤛":"lAtail","⤜":"rAtail","⤝":"larrfs","⤞":"rarrfs","⤟":"larrbfs","⤠":"rarrbfs","⤣":"nwarhk","⤤":"nearhk","⤥":"searhk","⤦":"swarhk","⤧":"nwnear","⤨":"toea","⤩":"tosa","⤪":"swnwar","⤳":"rarrc","⤳̸":"nrarrc","⤵":"cudarrr","⤶":"ldca","⤷":"rdca","⤸":"cudarrl","⤹":"larrpl","⤼":"curarrm","⤽":"cularrp","⥅":"rarrpl","⥈":"harrcir","⥉":"Uarrocir","⥊":"lurdshar","⥋":"ldrushar","⥎":"LeftRightVector","⥏":"RightUpDownVector","⥐":"DownLeftRightVector","⥑":"LeftUpDownVector","⥒":"LeftVectorBar","⥓":"RightVectorBar","⥔":"RightUpVectorBar","⥕":"RightDownVectorBar","⥖":"DownLeftVectorBar","⥗":"DownRightVectorBar","⥘":"LeftUpVectorBar","⥙":"LeftDownVectorBar","⥚":"LeftTeeVector","⥛":"RightTeeVector","⥜":"RightUpTeeVector","⥝":"RightDownTeeVector","⥞":"DownLeftTeeVector","⥟":"DownRightTeeVector","⥠":"LeftUpTeeVector","⥡":"LeftDownTeeVector","⥢":"lHar","⥣":"uHar","⥤":"rHar","⥥":"dHar","⥦":"luruhar","⥧":"ldrdhar","⥨":"ruluhar","⥩":"rdldhar","⥪":"lharul","⥫":"llhard","⥬":"rharul","⥭":"lrhard","⥮":"udhar","⥯":"duhar","⥰":"RoundImplies","⥱":"erarr","⥲":"simrarr","⥳":"larrsim","⥴":"rarrsim","⥵":"rarrap","⥶":"ltlarr","⥸":"gtrarr","⥹":"subrarr","⥻":"suplarr","⥼":"lfisht","⥽":"rfisht","⥾":"ufisht","⥿":"dfisht","⦚":"vzigzag","⦜":"vangrt","⦝":"angrtvbd","⦤":"ange","⦥":"range","⦦":"dwangle","⦧":"uwangle","⦨":"angmsdaa","⦩":"angmsdab","⦪":"angmsdac","⦫":"angmsdad","⦬":"angmsdae","⦭":"angmsdaf","⦮":"angmsdag","⦯":"angmsdah","⦰":"bemptyv","⦱":"demptyv","⦲":"cemptyv","⦳":"raemptyv","⦴":"laemptyv","⦵":"ohbar","⦶":"omid","⦷":"opar","⦹":"operp","⦻":"olcross","⦼":"odsold","⦾":"olcir","⦿":"ofcir","⧀":"olt","⧁":"ogt","⧂":"cirscir","⧃":"cirE","⧄":"solb","⧅":"bsolb","⧉":"boxbox","⧍":"trisb","⧎":"rtriltri","⧏":"LeftTriangleBar","⧏̸":"NotLeftTriangleBar","⧐":"RightTriangleBar","⧐̸":"NotRightTriangleBar","⧜":"iinfin","⧝":"infintie","⧞":"nvinfin","⧣":"eparsl","⧤":"smeparsl","⧥":"eqvparsl","⧫":"lozf","⧴":"RuleDelayed","⧶":"dsol","⨀":"xodot","⨁":"xoplus","⨂":"xotime","⨄":"xuplus","⨆":"xsqcup","⨍":"fpartint","⨐":"cirfnint","⨑":"awint","⨒":"rppolint","⨓":"scpolint","⨔":"npolint","⨕":"pointint","⨖":"quatint","⨗":"intlarhk","⨢":"pluscir","⨣":"plusacir","⨤":"simplus","⨥":"plusdu","⨦":"plussim","⨧":"plustwo","⨩":"mcomma","⨪":"minusdu","⨭":"loplus","⨮":"roplus","⨯":"Cross","⨰":"timesd","⨱":"timesbar","⨳":"smashp","⨴":"lotimes","⨵":"rotimes","⨶":"otimesas","⨷":"Otimes","⨸":"odiv","⨹":"triplus","⨺":"triminus","⨻":"tritime","⨼":"iprod","⨿":"amalg","⩀":"capdot","⩂":"ncup","⩃":"ncap","⩄":"capand","⩅":"cupor","⩆":"cupcap","⩇":"capcup","⩈":"cupbrcap","⩉":"capbrcup","⩊":"cupcup","⩋":"capcap","⩌":"ccups","⩍":"ccaps","⩐":"ccupssm","⩓":"And","⩔":"Or","⩕":"andand","⩖":"oror","⩗":"orslope","⩘":"andslope","⩚":"andv","⩛":"orv","⩜":"andd","⩝":"ord","⩟":"wedbar","⩦":"sdote","⩪":"simdot","⩭":"congdot","⩭̸":"ncongdot","⩮":"easter","⩯":"apacir","⩰":"apE","⩰̸":"napE","⩱":"eplus","⩲":"pluse","⩳":"Esim","⩷":"eDDot","⩸":"equivDD","⩹":"ltcir","⩺":"gtcir","⩻":"ltquest","⩼":"gtquest","⩽":"les","⩽̸":"nles","⩾":"ges","⩾̸":"nges","⩿":"lesdot","⪀":"gesdot","⪁":"lesdoto","⪂":"gesdoto","⪃":"lesdotor","⪄":"gesdotol","⪅":"lap","⪆":"gap","⪇":"lne","⪈":"gne","⪉":"lnap","⪊":"gnap","⪋":"lEg","⪌":"gEl","⪍":"lsime","⪎":"gsime","⪏":"lsimg","⪐":"gsiml","⪑":"lgE","⪒":"glE","⪓":"lesges","⪔":"gesles","⪕":"els","⪖":"egs","⪗":"elsdot","⪘":"egsdot","⪙":"el","⪚":"eg","⪝":"siml","⪞":"simg","⪟":"simlE","⪠":"simgE","⪡":"LessLess","⪡̸":"NotNestedLessLess","⪢":"GreaterGreater","⪢̸":"NotNestedGreaterGreater","⪤":"glj","⪥":"gla","⪦":"ltcc","⪧":"gtcc","⪨":"lescc","⪩":"gescc","⪪":"smt","⪫":"lat","⪬":"smte","⪬︀":"smtes","⪭":"late","⪭︀":"lates","⪮":"bumpE","⪯":"pre","⪯̸":"npre","⪰":"sce","⪰̸":"nsce","⪳":"prE","⪴":"scE","⪵":"prnE","⪶":"scnE","⪷":"prap","⪸":"scap","⪹":"prnap","⪺":"scnap","⪻":"Pr","⪼":"Sc","⪽":"subdot","⪾":"supdot","⪿":"subplus","⫀":"supplus","⫁":"submult","⫂":"supmult","⫃":"subedot","⫄":"supedot","⫅":"subE","⫅̸":"nsubE","⫆":"supE","⫆̸":"nsupE","⫇":"subsim","⫈":"supsim","⫋︀":"vsubnE","⫋":"subnE","⫌︀":"vsupnE","⫌":"supnE","⫏":"csub","⫐":"csup","⫑":"csube","⫒":"csupe","⫓":"subsup","⫔":"supsub","⫕":"subsub","⫖":"supsup","⫗":"suphsub","⫘":"supdsub","⫙":"forkv","⫚":"topfork","⫛":"mlcp","⫤":"Dashv","⫦":"Vdashl","⫧":"Barv","⫨":"vBar","⫩":"vBarv","⫫":"Vbar","⫬":"Not","⫭":"bNot","⫮":"rnmid","⫯":"cirmid","⫰":"midcir","⫱":"topcir","⫲":"nhpar","⫳":"parsim","⫽":"parsl","⫽⃥":"nparsl","♭":"flat","♮":"natur","♯":"sharp","¤":"curren","¢":"cent",$:"dollar","£":"pound","¥":"yen","€":"euro","¹":"sup1","½":"half","⅓":"frac13","¼":"frac14","⅕":"frac15","⅙":"frac16","⅛":"frac18","²":"sup2","⅔":"frac23","⅖":"frac25","³":"sup3","¾":"frac34","⅗":"frac35","⅜":"frac38","⅘":"frac45","⅚":"frac56","⅝":"frac58","⅞":"frac78","𝒶":"ascr","𝕒":"aopf","𝔞":"afr","𝔸":"Aopf","𝔄":"Afr","𝒜":"Ascr","ª":"ordf","á":"aacute","Á":"Aacute","à":"agrave","À":"Agrave","ă":"abreve","Ă":"Abreve","â":"acirc","Â":"Acirc","å":"aring","Å":"angst","ä":"auml","Ä":"Auml","ã":"atilde","Ã":"Atilde","ą":"aogon","Ą":"Aogon","ā":"amacr","Ā":"Amacr","æ":"aelig","Æ":"AElig","𝒷":"bscr","𝕓":"bopf","𝔟":"bfr","𝔹":"Bopf","ℬ":"Bscr","𝔅":"Bfr","𝔠":"cfr","𝒸":"cscr","𝕔":"copf","ℭ":"Cfr","𝒞":"Cscr","ℂ":"Copf","ć":"cacute","Ć":"Cacute","ĉ":"ccirc","Ĉ":"Ccirc","č":"ccaron","Č":"Ccaron","ċ":"cdot","Ċ":"Cdot","ç":"ccedil","Ç":"Ccedil","℅":"incare","𝔡":"dfr","ⅆ":"dd","𝕕":"dopf","𝒹":"dscr","𝒟":"Dscr","𝔇":"Dfr","ⅅ":"DD","𝔻":"Dopf","ď":"dcaron","Ď":"Dcaron","đ":"dstrok","Đ":"Dstrok","ð":"eth","Ð":"ETH","ⅇ":"ee","ℯ":"escr","𝔢":"efr","𝕖":"eopf","ℰ":"Escr","𝔈":"Efr","𝔼":"Eopf","é":"eacute","É":"Eacute","è":"egrave","È":"Egrave","ê":"ecirc","Ê":"Ecirc","ě":"ecaron","Ě":"Ecaron","ë":"euml","Ë":"Euml","ė":"edot","Ė":"Edot","ę":"eogon","Ę":"Eogon","ē":"emacr","Ē":"Emacr","𝔣":"ffr","𝕗":"fopf","𝒻":"fscr","𝔉":"Ffr","𝔽":"Fopf","ℱ":"Fscr","ff":"fflig","ffi":"ffilig","ffl":"ffllig","fi":"filig",fj:"fjlig","fl":"fllig","ƒ":"fnof","ℊ":"gscr","𝕘":"gopf","𝔤":"gfr","𝒢":"Gscr","𝔾":"Gopf","𝔊":"Gfr","ǵ":"gacute","ğ":"gbreve","Ğ":"Gbreve","ĝ":"gcirc","Ĝ":"Gcirc","ġ":"gdot","Ġ":"Gdot","Ģ":"Gcedil","𝔥":"hfr","ℎ":"planckh","𝒽":"hscr","𝕙":"hopf","ℋ":"Hscr","ℌ":"Hfr","ℍ":"Hopf","ĥ":"hcirc","Ĥ":"Hcirc","ℏ":"hbar","ħ":"hstrok","Ħ":"Hstrok","𝕚":"iopf","𝔦":"ifr","𝒾":"iscr","ⅈ":"ii","𝕀":"Iopf","ℐ":"Iscr","ℑ":"Im","í":"iacute","Í":"Iacute","ì":"igrave","Ì":"Igrave","î":"icirc","Î":"Icirc","ï":"iuml","Ï":"Iuml","ĩ":"itilde","Ĩ":"Itilde","İ":"Idot","į":"iogon","Į":"Iogon","ī":"imacr","Ī":"Imacr","ij":"ijlig","IJ":"IJlig","ı":"imath","𝒿":"jscr","𝕛":"jopf","𝔧":"jfr","𝒥":"Jscr","𝔍":"Jfr","𝕁":"Jopf","ĵ":"jcirc","Ĵ":"Jcirc","ȷ":"jmath","𝕜":"kopf","𝓀":"kscr","𝔨":"kfr","𝒦":"Kscr","𝕂":"Kopf","𝔎":"Kfr","ķ":"kcedil","Ķ":"Kcedil","𝔩":"lfr","𝓁":"lscr","ℓ":"ell","𝕝":"lopf","ℒ":"Lscr","𝔏":"Lfr","𝕃":"Lopf","ĺ":"lacute","Ĺ":"Lacute","ľ":"lcaron","Ľ":"Lcaron","ļ":"lcedil","Ļ":"Lcedil","ł":"lstrok","Ł":"Lstrok","ŀ":"lmidot","Ŀ":"Lmidot","𝔪":"mfr","𝕞":"mopf","𝓂":"mscr","𝔐":"Mfr","𝕄":"Mopf","ℳ":"Mscr","𝔫":"nfr","𝕟":"nopf","𝓃":"nscr","ℕ":"Nopf","𝒩":"Nscr","𝔑":"Nfr","ń":"nacute","Ń":"Nacute","ň":"ncaron","Ň":"Ncaron","ñ":"ntilde","Ñ":"Ntilde","ņ":"ncedil","Ņ":"Ncedil","№":"numero","ŋ":"eng","Ŋ":"ENG","𝕠":"oopf","𝔬":"ofr","ℴ":"oscr","𝒪":"Oscr","𝔒":"Ofr","𝕆":"Oopf","º":"ordm","ó":"oacute","Ó":"Oacute","ò":"ograve","Ò":"Ograve","ô":"ocirc","Ô":"Ocirc","ö":"ouml","Ö":"Ouml","ő":"odblac","Ő":"Odblac","õ":"otilde","Õ":"Otilde","ø":"oslash","Ø":"Oslash","ō":"omacr","Ō":"Omacr","œ":"oelig","Œ":"OElig","𝔭":"pfr","𝓅":"pscr","𝕡":"popf","ℙ":"Popf","𝔓":"Pfr","𝒫":"Pscr","𝕢":"qopf","𝔮":"qfr","𝓆":"qscr","𝒬":"Qscr","𝔔":"Qfr","ℚ":"Qopf","ĸ":"kgreen","𝔯":"rfr","𝕣":"ropf","𝓇":"rscr","ℛ":"Rscr","ℜ":"Re","ℝ":"Ropf","ŕ":"racute","Ŕ":"Racute","ř":"rcaron","Ř":"Rcaron","ŗ":"rcedil","Ŗ":"Rcedil","𝕤":"sopf","𝓈":"sscr","𝔰":"sfr","𝕊":"Sopf","𝔖":"Sfr","𝒮":"Sscr","Ⓢ":"oS","ś":"sacute","Ś":"Sacute","ŝ":"scirc","Ŝ":"Scirc","š":"scaron","Š":"Scaron","ş":"scedil","Ş":"Scedil","ß":"szlig","𝔱":"tfr","𝓉":"tscr","𝕥":"topf","𝒯":"Tscr","𝔗":"Tfr","𝕋":"Topf","ť":"tcaron","Ť":"Tcaron","ţ":"tcedil","Ţ":"Tcedil","™":"trade","ŧ":"tstrok","Ŧ":"Tstrok","𝓊":"uscr","𝕦":"uopf","𝔲":"ufr","𝕌":"Uopf","𝔘":"Ufr","𝒰":"Uscr","ú":"uacute","Ú":"Uacute","ù":"ugrave","Ù":"Ugrave","ŭ":"ubreve","Ŭ":"Ubreve","û":"ucirc","Û":"Ucirc","ů":"uring","Ů":"Uring","ü":"uuml","Ü":"Uuml","ű":"udblac","Ű":"Udblac","ũ":"utilde","Ũ":"Utilde","ų":"uogon","Ų":"Uogon","ū":"umacr","Ū":"Umacr","𝔳":"vfr","𝕧":"vopf","𝓋":"vscr","𝔙":"Vfr","𝕍":"Vopf","𝒱":"Vscr","𝕨":"wopf","𝓌":"wscr","𝔴":"wfr","𝒲":"Wscr","𝕎":"Wopf","𝔚":"Wfr","ŵ":"wcirc","Ŵ":"Wcirc","𝔵":"xfr","𝓍":"xscr","𝕩":"xopf","𝕏":"Xopf","𝔛":"Xfr","𝒳":"Xscr","𝔶":"yfr","𝓎":"yscr","𝕪":"yopf","𝒴":"Yscr","𝔜":"Yfr","𝕐":"Yopf","ý":"yacute","Ý":"Yacute","ŷ":"ycirc","Ŷ":"Ycirc","ÿ":"yuml","Ÿ":"Yuml","𝓏":"zscr","𝔷":"zfr","𝕫":"zopf","ℨ":"Zfr","ℤ":"Zopf","𝒵":"Zscr","ź":"zacute","Ź":"Zacute","ž":"zcaron","Ž":"Zcaron","ż":"zdot","Ż":"Zdot","Ƶ":"imped","þ":"thorn","Þ":"THORN","ʼn":"napos","α":"alpha","Α":"Alpha","β":"beta","Β":"Beta","γ":"gamma","Γ":"Gamma","δ":"delta","Δ":"Delta","ε":"epsi","ϵ":"epsiv","Ε":"Epsilon","ϝ":"gammad","Ϝ":"Gammad","ζ":"zeta","Ζ":"Zeta","η":"eta","Η":"Eta","θ":"theta","ϑ":"thetav","Θ":"Theta","ι":"iota","Ι":"Iota","κ":"kappa","ϰ":"kappav","Κ":"Kappa","λ":"lambda","Λ":"Lambda","μ":"mu","µ":"micro","Μ":"Mu","ν":"nu","Ν":"Nu","ξ":"xi","Ξ":"Xi","ο":"omicron","Ο":"Omicron","π":"pi","ϖ":"piv","Π":"Pi","ρ":"rho","ϱ":"rhov","Ρ":"Rho","σ":"sigma","Σ":"Sigma","ς":"sigmaf","τ":"tau","Τ":"Tau","υ":"upsi","Υ":"Upsilon","ϒ":"Upsi","φ":"phi","ϕ":"phiv","Φ":"Phi","χ":"chi","Χ":"Chi","ψ":"psi","Ψ":"Psi","ω":"omega","Ω":"ohm","а":"acy","А":"Acy","б":"bcy","Б":"Bcy","в":"vcy","В":"Vcy","г":"gcy","Г":"Gcy","ѓ":"gjcy","Ѓ":"GJcy","д":"dcy","Д":"Dcy","ђ":"djcy","Ђ":"DJcy","е":"iecy","Е":"IEcy","ё":"iocy","Ё":"IOcy","є":"jukcy","Є":"Jukcy","ж":"zhcy","Ж":"ZHcy","з":"zcy","З":"Zcy","ѕ":"dscy","Ѕ":"DScy","и":"icy","И":"Icy","і":"iukcy","І":"Iukcy","ї":"yicy","Ї":"YIcy","й":"jcy","Й":"Jcy","ј":"jsercy","Ј":"Jsercy","к":"kcy","К":"Kcy","ќ":"kjcy","Ќ":"KJcy","л":"lcy","Л":"Lcy","љ":"ljcy","Љ":"LJcy","м":"mcy","М":"Mcy","н":"ncy","Н":"Ncy","њ":"njcy","Њ":"NJcy","о":"ocy","О":"Ocy","п":"pcy","П":"Pcy","р":"rcy","Р":"Rcy","с":"scy","С":"Scy","т":"tcy","Т":"Tcy","ћ":"tshcy","Ћ":"TSHcy","у":"ucy","У":"Ucy","ў":"ubrcy","Ў":"Ubrcy","ф":"fcy","Ф":"Fcy","х":"khcy","Х":"KHcy","ц":"tscy","Ц":"TScy","ч":"chcy","Ч":"CHcy","џ":"dzcy","Џ":"DZcy","ш":"shcy","Ш":"SHcy","щ":"shchcy","Щ":"SHCHcy","ъ":"hardcy","Ъ":"HARDcy","ы":"ycy","Ы":"Ycy","ь":"softcy","Ь":"SOFTcy","э":"ecy","Э":"Ecy","ю":"yucy","Ю":"YUcy","я":"yacy","Я":"YAcy","ℵ":"aleph","ℶ":"beth","ℷ":"gimel","ℸ":"daleth"},f=/["&'<>`]/g,p={'"':""","&":"&","'":"'","<":"<",">":">","`":"`"},m=/&#(?:[xX][^a-fA-F0-9]|[^0-9xX])/,g=/[\0-\x08\x0B\x0E-\x1F\x7F-\x9F\uFDD0-\uFDEF\uFFFE\uFFFF]|[\uD83F\uD87F\uD8BF\uD8FF\uD93F\uD97F\uD9BF\uD9FF\uDA3F\uDA7F\uDABF\uDAFF\uDB3F\uDB7F\uDBBF\uDBFF][\uDFFE\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,h=/&(CounterClockwiseContourIntegral|DoubleLongLeftRightArrow|ClockwiseContourIntegral|NotNestedGreaterGreater|NotSquareSupersetEqual|DiacriticalDoubleAcute|NotRightTriangleEqual|NotSucceedsSlantEqual|NotPrecedesSlantEqual|CloseCurlyDoubleQuote|NegativeVeryThinSpace|DoubleContourIntegral|FilledVerySmallSquare|CapitalDifferentialD|OpenCurlyDoubleQuote|EmptyVerySmallSquare|NestedGreaterGreater|DoubleLongRightArrow|NotLeftTriangleEqual|NotGreaterSlantEqual|ReverseUpEquilibrium|DoubleLeftRightArrow|NotSquareSubsetEqual|NotDoubleVerticalBar|RightArrowLeftArrow|NotGreaterFullEqual|NotRightTriangleBar|SquareSupersetEqual|DownLeftRightVector|DoubleLongLeftArrow|leftrightsquigarrow|LeftArrowRightArrow|NegativeMediumSpace|blacktriangleright|RightDownVectorBar|PrecedesSlantEqual|RightDoubleBracket|SucceedsSlantEqual|NotLeftTriangleBar|RightTriangleEqual|SquareIntersection|RightDownTeeVector|ReverseEquilibrium|NegativeThickSpace|longleftrightarrow|Longleftrightarrow|LongLeftRightArrow|DownRightTeeVector|DownRightVectorBar|GreaterSlantEqual|SquareSubsetEqual|LeftDownVectorBar|LeftDoubleBracket|VerticalSeparator|rightleftharpoons|NotGreaterGreater|NotSquareSuperset|blacktriangleleft|blacktriangledown|NegativeThinSpace|LeftDownTeeVector|NotLessSlantEqual|leftrightharpoons|DoubleUpDownArrow|DoubleVerticalBar|LeftTriangleEqual|FilledSmallSquare|twoheadrightarrow|NotNestedLessLess|DownLeftTeeVector|DownLeftVectorBar|RightAngleBracket|NotTildeFullEqual|NotReverseElement|RightUpDownVector|DiacriticalTilde|NotSucceedsTilde|circlearrowright|NotPrecedesEqual|rightharpoondown|DoubleRightArrow|NotSucceedsEqual|NonBreakingSpace|NotRightTriangle|LessEqualGreater|RightUpTeeVector|LeftAngleBracket|GreaterFullEqual|DownArrowUpArrow|RightUpVectorBar|twoheadleftarrow|GreaterEqualLess|downharpoonright|RightTriangleBar|ntrianglerighteq|NotSupersetEqual|LeftUpDownVector|DiacriticalAcute|rightrightarrows|vartriangleright|UpArrowDownArrow|DiacriticalGrave|UnderParenthesis|EmptySmallSquare|LeftUpVectorBar|leftrightarrows|DownRightVector|downharpoonleft|trianglerighteq|ShortRightArrow|OverParenthesis|DoubleLeftArrow|DoubleDownArrow|NotSquareSubset|bigtriangledown|ntrianglelefteq|UpperRightArrow|curvearrowright|vartriangleleft|NotLeftTriangle|nleftrightarrow|LowerRightArrow|NotHumpDownHump|NotGreaterTilde|rightthreetimes|LeftUpTeeVector|NotGreaterEqual|straightepsilon|LeftTriangleBar|rightsquigarrow|ContourIntegral|rightleftarrows|CloseCurlyQuote|RightDownVector|LeftRightVector|nLeftrightarrow|leftharpoondown|circlearrowleft|SquareSuperset|OpenCurlyQuote|hookrightarrow|HorizontalLine|DiacriticalDot|NotLessGreater|ntriangleright|DoubleRightTee|InvisibleComma|InvisibleTimes|LowerLeftArrow|DownLeftVector|NotSubsetEqual|curvearrowleft|trianglelefteq|NotVerticalBar|TildeFullEqual|downdownarrows|NotGreaterLess|RightTeeVector|ZeroWidthSpace|looparrowright|LongRightArrow|doublebarwedge|ShortLeftArrow|ShortDownArrow|RightVectorBar|GreaterGreater|ReverseElement|rightharpoonup|LessSlantEqual|leftthreetimes|upharpoonright|rightarrowtail|LeftDownVector|Longrightarrow|NestedLessLess|UpperLeftArrow|nshortparallel|leftleftarrows|leftrightarrow|Leftrightarrow|LeftRightArrow|longrightarrow|upharpoonleft|RightArrowBar|ApplyFunction|LeftTeeVector|leftarrowtail|NotEqualTilde|varsubsetneqq|varsupsetneqq|RightTeeArrow|SucceedsEqual|SucceedsTilde|LeftVectorBar|SupersetEqual|hookleftarrow|DifferentialD|VerticalTilde|VeryThinSpace|blacktriangle|bigtriangleup|LessFullEqual|divideontimes|leftharpoonup|UpEquilibrium|ntriangleleft|RightTriangle|measuredangle|shortparallel|longleftarrow|Longleftarrow|LongLeftArrow|DoubleLeftTee|Poincareplane|PrecedesEqual|triangleright|DoubleUpArrow|RightUpVector|fallingdotseq|looparrowleft|PrecedesTilde|NotTildeEqual|NotTildeTilde|smallsetminus|Proportional|triangleleft|triangledown|UnderBracket|NotHumpEqual|exponentiale|ExponentialE|NotLessTilde|HilbertSpace|RightCeiling|blacklozenge|varsupsetneq|HumpDownHump|GreaterEqual|VerticalLine|LeftTeeArrow|NotLessEqual|DownTeeArrow|LeftTriangle|varsubsetneq|Intersection|NotCongruent|DownArrowBar|LeftUpVector|LeftArrowBar|risingdotseq|GreaterTilde|RoundImplies|SquareSubset|ShortUpArrow|NotSuperset|quaternions|precnapprox|backepsilon|preccurlyeq|OverBracket|blacksquare|MediumSpace|VerticalBar|circledcirc|circleddash|CircleMinus|CircleTimes|LessGreater|curlyeqprec|curlyeqsucc|diamondsuit|UpDownArrow|Updownarrow|RuleDelayed|Rrightarrow|updownarrow|RightVector|nRightarrow|nrightarrow|eqslantless|LeftCeiling|Equilibrium|SmallCircle|expectation|NotSucceeds|thickapprox|GreaterLess|SquareUnion|NotPrecedes|NotLessLess|straightphi|succnapprox|succcurlyeq|SubsetEqual|sqsupseteq|Proportion|Laplacetrf|ImaginaryI|supsetneqq|NotGreater|gtreqqless|NotElement|ThickSpace|TildeEqual|TildeTilde|Fouriertrf|rmoustache|EqualTilde|eqslantgtr|UnderBrace|LeftVector|UpArrowBar|nLeftarrow|nsubseteqq|subsetneqq|nsupseteqq|nleftarrow|succapprox|lessapprox|UpTeeArrow|upuparrows|curlywedge|lesseqqgtr|varepsilon|varnothing|RightFloor|complement|CirclePlus|sqsubseteq|Lleftarrow|circledast|RightArrow|Rightarrow|rightarrow|lmoustache|Bernoullis|precapprox|mapstoleft|mapstodown|longmapsto|dotsquare|downarrow|DoubleDot|nsubseteq|supsetneq|leftarrow|nsupseteq|subsetneq|ThinSpace|ngeqslant|subseteqq|HumpEqual|NotSubset|triangleq|NotCupCap|lesseqgtr|heartsuit|TripleDot|Leftarrow|Coproduct|Congruent|varpropto|complexes|gvertneqq|LeftArrow|LessTilde|supseteqq|MinusPlus|CircleDot|nleqslant|NotExists|gtreqless|nparallel|UnionPlus|LeftFloor|checkmark|CenterDot|centerdot|Mellintrf|gtrapprox|bigotimes|OverBrace|spadesuit|therefore|pitchfork|rationals|PlusMinus|Backslash|Therefore|DownBreve|backsimeq|backprime|DownArrow|nshortmid|Downarrow|lvertneqq|eqvparsl|imagline|imagpart|infintie|integers|Integral|intercal|LessLess|Uarrocir|intlarhk|sqsupset|angmsdaf|sqsubset|llcorner|vartheta|cupbrcap|lnapprox|Superset|SuchThat|succnsim|succneqq|angmsdag|biguplus|curlyvee|trpezium|Succeeds|NotTilde|bigwedge|angmsdah|angrtvbd|triminus|cwconint|fpartint|lrcorner|smeparsl|subseteq|urcorner|lurdshar|laemptyv|DDotrahd|approxeq|ldrushar|awconint|mapstoup|backcong|shortmid|triangle|geqslant|gesdotol|timesbar|circledR|circledS|setminus|multimap|naturals|scpolint|ncongdot|RightTee|boxminus|gnapprox|boxtimes|andslope|thicksim|angmsdaa|varsigma|cirfnint|rtriltri|angmsdab|rppolint|angmsdac|barwedge|drbkarow|clubsuit|thetasym|bsolhsub|capbrcup|dzigrarr|doteqdot|DotEqual|dotminus|UnderBar|NotEqual|realpart|otimesas|ulcorner|hksearow|hkswarow|parallel|PartialD|elinters|emptyset|plusacir|bbrktbrk|angmsdad|pointint|bigoplus|angmsdae|Precedes|bigsqcup|varkappa|notindot|supseteq|precneqq|precnsim|profalar|profline|profsurf|leqslant|lesdotor|raemptyv|subplus|notnivb|notnivc|subrarr|zigrarr|vzigzag|submult|subedot|Element|between|cirscir|larrbfs|larrsim|lotimes|lbrksld|lbrkslu|lozenge|ldrdhar|dbkarow|bigcirc|epsilon|simrarr|simplus|ltquest|Epsilon|luruhar|gtquest|maltese|npolint|eqcolon|npreceq|bigodot|ddagger|gtrless|bnequiv|harrcir|ddotseq|equivDD|backsim|demptyv|nsqsube|nsqsupe|Upsilon|nsubset|upsilon|minusdu|nsucceq|swarrow|nsupset|coloneq|searrow|boxplus|napprox|natural|asympeq|alefsym|congdot|nearrow|bigstar|diamond|supplus|tritime|LeftTee|nvinfin|triplus|NewLine|nvltrie|nvrtrie|nwarrow|nexists|Diamond|ruluhar|Implies|supmult|angzarr|suplarr|suphsub|questeq|because|digamma|Because|olcross|bemptyv|omicron|Omicron|rotimes|NoBreak|intprod|angrtvb|orderof|uwangle|suphsol|lesdoto|orslope|DownTee|realine|cudarrl|rdldhar|OverBar|supedot|lessdot|supdsub|topfork|succsim|rbrkslu|rbrksld|pertenk|cudarrr|isindot|planckh|lessgtr|pluscir|gesdoto|plussim|plustwo|lesssim|cularrp|rarrsim|Cayleys|notinva|notinvb|notinvc|UpArrow|Uparrow|uparrow|NotLess|dwangle|precsim|Product|curarrm|Cconint|dotplus|rarrbfs|ccupssm|Cedilla|cemptyv|notniva|quatint|frac35|frac38|frac45|frac56|frac58|frac78|tridot|xoplus|gacute|gammad|Gammad|lfisht|lfloor|bigcup|sqsupe|gbreve|Gbreve|lharul|sqsube|sqcups|Gcedil|apacir|llhard|lmidot|Lmidot|lmoust|andand|sqcaps|approx|Abreve|spades|circeq|tprime|divide|topcir|Assign|topbot|gesdot|divonx|xuplus|timesd|gesles|atilde|solbar|SOFTcy|loplus|timesb|lowast|lowbar|dlcorn|dlcrop|softcy|dollar|lparlt|thksim|lrhard|Atilde|lsaquo|smashp|bigvee|thinsp|wreath|bkarow|lsquor|lstrok|Lstrok|lthree|ltimes|ltlarr|DotDot|simdot|ltrPar|weierp|xsqcup|angmsd|sigmav|sigmaf|zeetrf|Zcaron|zcaron|mapsto|vsupne|thetav|cirmid|marker|mcomma|Zacute|vsubnE|there4|gtlPar|vsubne|bottom|gtrarr|SHCHcy|shchcy|midast|midcir|middot|minusb|minusd|gtrdot|bowtie|sfrown|mnplus|models|colone|seswar|Colone|mstpos|searhk|gtrsim|nacute|Nacute|boxbox|telrec|hairsp|Tcedil|nbumpe|scnsim|ncaron|Ncaron|ncedil|Ncedil|hamilt|Scedil|nearhk|hardcy|HARDcy|tcedil|Tcaron|commat|nequiv|nesear|tcaron|target|hearts|nexist|varrho|scedil|Scaron|scaron|hellip|Sacute|sacute|hercon|swnwar|compfn|rtimes|rthree|rsquor|rsaquo|zacute|wedgeq|homtht|barvee|barwed|Barwed|rpargt|horbar|conint|swarhk|roplus|nltrie|hslash|hstrok|Hstrok|rmoust|Conint|bprime|hybull|hyphen|iacute|Iacute|supsup|supsub|supsim|varphi|coprod|brvbar|agrave|Supset|supset|igrave|Igrave|notinE|Agrave|iiiint|iinfin|copysr|wedbar|Verbar|vangrt|becaus|incare|verbar|inodot|bullet|drcorn|intcal|drcrop|cularr|vellip|Utilde|bumpeq|cupcap|dstrok|Dstrok|CupCap|cupcup|cupdot|eacute|Eacute|supdot|iquest|easter|ecaron|Ecaron|ecolon|isinsv|utilde|itilde|Itilde|curarr|succeq|Bumpeq|cacute|ulcrop|nparsl|Cacute|nprcue|egrave|Egrave|nrarrc|nrarrw|subsup|subsub|nrtrie|jsercy|nsccue|Jsercy|kappav|kcedil|Kcedil|subsim|ulcorn|nsimeq|egsdot|veebar|kgreen|capand|elsdot|Subset|subset|curren|aacute|lacute|Lacute|emptyv|ntilde|Ntilde|lagran|lambda|Lambda|capcap|Ugrave|langle|subdot|emsp13|numero|emsp14|nvdash|nvDash|nVdash|nVDash|ugrave|ufisht|nvHarr|larrfs|nvlArr|larrhk|larrlp|larrpl|nvrArr|Udblac|nwarhk|larrtl|nwnear|oacute|Oacute|latail|lAtail|sstarf|lbrace|odblac|Odblac|lbrack|udblac|odsold|eparsl|lcaron|Lcaron|ograve|Ograve|lcedil|Lcedil|Aacute|ssmile|ssetmn|squarf|ldquor|capcup|ominus|cylcty|rharul|eqcirc|dagger|rfloor|rfisht|Dagger|daleth|equals|origof|capdot|equest|dcaron|Dcaron|rdquor|oslash|Oslash|otilde|Otilde|otimes|Otimes|urcrop|Ubreve|ubreve|Yacute|Uacute|uacute|Rcedil|rcedil|urcorn|parsim|Rcaron|Vdashl|rcaron|Tstrok|percnt|period|permil|Exists|yacute|rbrack|rbrace|phmmat|ccaron|Ccaron|planck|ccedil|plankv|tstrok|female|plusdo|plusdu|ffilig|plusmn|ffllig|Ccedil|rAtail|dfisht|bernou|ratail|Rarrtl|rarrtl|angsph|rarrpl|rarrlp|rarrhk|xwedge|xotime|forall|ForAll|Vvdash|vsupnE|preceq|bigcap|frac12|frac13|frac14|primes|rarrfs|prnsim|frac15|Square|frac16|square|lesdot|frac18|frac23|propto|prurel|rarrap|rangle|puncsp|frac25|Racute|qprime|racute|lesges|frac34|abreve|AElig|eqsim|utdot|setmn|urtri|Equal|Uring|seArr|uring|searr|dashv|Dashv|mumap|nabla|iogon|Iogon|sdote|sdotb|scsim|napid|napos|equiv|natur|Acirc|dblac|erarr|nbump|iprod|erDot|ucirc|awint|esdot|angrt|ncong|isinE|scnap|Scirc|scirc|ndash|isins|Ubrcy|nearr|neArr|isinv|nedot|ubrcy|acute|Ycirc|iukcy|Iukcy|xutri|nesim|caret|jcirc|Jcirc|caron|twixt|ddarr|sccue|exist|jmath|sbquo|ngeqq|angst|ccaps|lceil|ngsim|UpTee|delta|Delta|rtrif|nharr|nhArr|nhpar|rtrie|jukcy|Jukcy|kappa|rsquo|Kappa|nlarr|nlArr|TSHcy|rrarr|aogon|Aogon|fflig|xrarr|tshcy|ccirc|nleqq|filig|upsih|nless|dharl|nlsim|fjlig|ropar|nltri|dharr|robrk|roarr|fllig|fltns|roang|rnmid|subnE|subne|lAarr|trisb|Ccirc|acirc|ccups|blank|VDash|forkv|Vdash|langd|cedil|blk12|blk14|laquo|strns|diams|notin|vDash|larrb|blk34|block|disin|uplus|vdash|vBarv|aelig|starf|Wedge|check|xrArr|lates|lbarr|lBarr|notni|lbbrk|bcong|frasl|lbrke|frown|vrtri|vprop|vnsup|gamma|Gamma|wedge|xodot|bdquo|srarr|doteq|ldquo|boxdl|boxdL|gcirc|Gcirc|boxDl|boxDL|boxdr|boxdR|boxDr|TRADE|trade|rlhar|boxDR|vnsub|npart|vltri|rlarr|boxhd|boxhD|nprec|gescc|nrarr|nrArr|boxHd|boxHD|boxhu|boxhU|nrtri|boxHu|clubs|boxHU|times|colon|Colon|gimel|xlArr|Tilde|nsime|tilde|nsmid|nspar|THORN|thorn|xlarr|nsube|nsubE|thkap|xhArr|comma|nsucc|boxul|boxuL|nsupe|nsupE|gneqq|gnsim|boxUl|boxUL|grave|boxur|boxuR|boxUr|boxUR|lescc|angle|bepsi|boxvh|varpi|boxvH|numsp|Theta|gsime|gsiml|theta|boxVh|boxVH|boxvl|gtcir|gtdot|boxvL|boxVl|boxVL|crarr|cross|Cross|nvsim|boxvr|nwarr|nwArr|sqsup|dtdot|Uogon|lhard|lharu|dtrif|ocirc|Ocirc|lhblk|duarr|odash|sqsub|Hacek|sqcup|llarr|duhar|oelig|OElig|ofcir|boxvR|uogon|lltri|boxVr|csube|uuarr|ohbar|csupe|ctdot|olarr|olcir|harrw|oline|sqcap|omacr|Omacr|omega|Omega|boxVR|aleph|lneqq|lnsim|loang|loarr|rharu|lobrk|hcirc|operp|oplus|rhard|Hcirc|orarr|Union|order|ecirc|Ecirc|cuepr|szlig|cuesc|breve|reals|eDDot|Breve|hoarr|lopar|utrif|rdquo|Umacr|umacr|efDot|swArr|ultri|alpha|rceil|ovbar|swarr|Wcirc|wcirc|smtes|smile|bsemi|lrarr|aring|parsl|lrhar|bsime|uhblk|lrtri|cupor|Aring|uharr|uharl|slarr|rbrke|bsolb|lsime|rbbrk|RBarr|lsimg|phone|rBarr|rbarr|icirc|lsquo|Icirc|emacr|Emacr|ratio|simne|plusb|simlE|simgE|simeq|pluse|ltcir|ltdot|empty|xharr|xdtri|iexcl|Alpha|ltrie|rarrw|pound|ltrif|xcirc|bumpe|prcue|bumpE|asymp|amacr|cuvee|Sigma|sigma|iiint|udhar|iiota|ijlig|IJlig|supnE|imacr|Imacr|prime|Prime|image|prnap|eogon|Eogon|rarrc|mdash|mDDot|cuwed|imath|supne|imped|Amacr|udarr|prsim|micro|rarrb|cwint|raquo|infin|eplus|range|rangd|Ucirc|radic|minus|amalg|veeeq|rAarr|epsiv|ycirc|quest|sharp|quot|zwnj|Qscr|race|qscr|Qopf|qopf|qint|rang|Rang|Zscr|zscr|Zopf|zopf|rarr|rArr|Rarr|Pscr|pscr|prop|prod|prnE|prec|ZHcy|zhcy|prap|Zeta|zeta|Popf|popf|Zdot|plus|zdot|Yuml|yuml|phiv|YUcy|yucy|Yscr|yscr|perp|Yopf|yopf|part|para|YIcy|Ouml|rcub|yicy|YAcy|rdca|ouml|osol|Oscr|rdsh|yacy|real|oscr|xvee|andd|rect|andv|Xscr|oror|ordm|ordf|xscr|ange|aopf|Aopf|rHar|Xopf|opar|Oopf|xopf|xnis|rhov|oopf|omid|xmap|oint|apid|apos|ogon|ascr|Ascr|odot|odiv|xcup|xcap|ocir|oast|nvlt|nvle|nvgt|nvge|nvap|Wscr|wscr|auml|ntlg|ntgl|nsup|nsub|nsim|Nscr|nscr|nsce|Wopf|ring|npre|wopf|npar|Auml|Barv|bbrk|Nopf|nopf|nmid|nLtv|beta|ropf|Ropf|Beta|beth|nles|rpar|nleq|bnot|bNot|nldr|NJcy|rscr|Rscr|Vscr|vscr|rsqb|njcy|bopf|nisd|Bopf|rtri|Vopf|nGtv|ngtr|vopf|boxh|boxH|boxv|nges|ngeq|boxV|bscr|scap|Bscr|bsim|Vert|vert|bsol|bull|bump|caps|cdot|ncup|scnE|ncap|nbsp|napE|Cdot|cent|sdot|Vbar|nang|vBar|chcy|Mscr|mscr|sect|semi|CHcy|Mopf|mopf|sext|circ|cire|mldr|mlcp|cirE|comp|shcy|SHcy|vArr|varr|cong|copf|Copf|copy|COPY|malt|male|macr|lvnE|cscr|ltri|sime|ltcc|simg|Cscr|siml|csub|Uuml|lsqb|lsim|uuml|csup|Lscr|lscr|utri|smid|lpar|cups|smte|lozf|darr|Lopf|Uscr|solb|lopf|sopf|Sopf|lneq|uscr|spar|dArr|lnap|Darr|dash|Sqrt|LJcy|ljcy|lHar|dHar|Upsi|upsi|diam|lesg|djcy|DJcy|leqq|dopf|Dopf|dscr|Dscr|dscy|ldsh|ldca|squf|DScy|sscr|Sscr|dsol|lcub|late|star|Star|Uopf|Larr|lArr|larr|uopf|dtri|dzcy|sube|subE|Lang|lang|Kscr|kscr|Kopf|kopf|KJcy|kjcy|KHcy|khcy|DZcy|ecir|edot|eDot|Jscr|jscr|succ|Jopf|jopf|Edot|uHar|emsp|ensp|Iuml|iuml|eopf|isin|Iscr|iscr|Eopf|epar|sung|epsi|escr|sup1|sup2|sup3|Iota|iota|supe|supE|Iopf|iopf|IOcy|iocy|Escr|esim|Esim|imof|Uarr|QUOT|uArr|uarr|euml|IEcy|iecy|Idot|Euml|euro|excl|Hscr|hscr|Hopf|hopf|TScy|tscy|Tscr|hbar|tscr|flat|tbrk|fnof|hArr|harr|half|fopf|Fopf|tdot|gvnE|fork|trie|gtcc|fscr|Fscr|gdot|gsim|Gscr|gscr|Gopf|gopf|gneq|Gdot|tosa|gnap|Topf|topf|geqq|toea|GJcy|gjcy|tint|gesl|mid|Sfr|ggg|top|ges|gla|glE|glj|geq|gne|gEl|gel|gnE|Gcy|gcy|gap|Tfr|tfr|Tcy|tcy|Hat|Tau|Ffr|tau|Tab|hfr|Hfr|ffr|Fcy|fcy|icy|Icy|iff|ETH|eth|ifr|Ifr|Eta|eta|int|Int|Sup|sup|ucy|Ucy|Sum|sum|jcy|ENG|ufr|Ufr|eng|Jcy|jfr|els|ell|egs|Efr|efr|Jfr|uml|kcy|Kcy|Ecy|ecy|kfr|Kfr|lap|Sub|sub|lat|lcy|Lcy|leg|Dot|dot|lEg|leq|les|squ|div|die|lfr|Lfr|lgE|Dfr|dfr|Del|deg|Dcy|dcy|lne|lnE|sol|loz|smt|Cup|lrm|cup|lsh|Lsh|sim|shy|map|Map|mcy|Mcy|mfr|Mfr|mho|gfr|Gfr|sfr|cir|Chi|chi|nap|Cfr|vcy|Vcy|cfr|Scy|scy|ncy|Ncy|vee|Vee|Cap|cap|nfr|scE|sce|Nfr|nge|ngE|nGg|vfr|Vfr|ngt|bot|nGt|nis|niv|Rsh|rsh|nle|nlE|bne|Bfr|bfr|nLl|nlt|nLt|Bcy|bcy|not|Not|rlm|wfr|Wfr|npr|nsc|num|ocy|ast|Ocy|ofr|xfr|Xfr|Ofr|ogt|ohm|apE|olt|Rho|ape|rho|Rfr|rfr|ord|REG|ang|reg|orv|And|and|AMP|Rcy|amp|Afr|ycy|Ycy|yen|yfr|Yfr|rcy|par|pcy|Pcy|pfr|Pfr|phi|Phi|afr|Acy|acy|zcy|Zcy|piv|acE|acd|zfr|Zfr|pre|prE|psi|Psi|qfr|Qfr|zwj|Or|ge|Gg|gt|gg|el|oS|lt|Lt|LT|Re|lg|gl|eg|ne|Im|it|le|DD|wp|wr|nu|Nu|dd|lE|Sc|sc|pi|Pi|ee|af|ll|Ll|rx|gE|xi|pm|Xi|ic|pr|Pr|in|ni|mp|mu|ac|Mu|or|ap|Gt|GT|ii);|&(Aacute|Agrave|Atilde|Ccedil|Eacute|Egrave|Iacute|Igrave|Ntilde|Oacute|Ograve|Oslash|Otilde|Uacute|Ugrave|Yacute|aacute|agrave|atilde|brvbar|ccedil|curren|divide|eacute|egrave|frac12|frac14|frac34|iacute|igrave|iquest|middot|ntilde|oacute|ograve|oslash|otilde|plusmn|uacute|ugrave|yacute|AElig|Acirc|Aring|Ecirc|Icirc|Ocirc|THORN|Ucirc|acirc|acute|aelig|aring|cedil|ecirc|icirc|iexcl|laquo|micro|ocirc|pound|raquo|szlig|thorn|times|ucirc|Auml|COPY|Euml|Iuml|Ouml|QUOT|Uuml|auml|cent|copy|euml|iuml|macr|nbsp|ordf|ordm|ouml|para|quot|sect|sup1|sup2|sup3|uuml|yuml|AMP|ETH|REG|amp|deg|eth|not|reg|shy|uml|yen|GT|LT|gt|lt)(?!;)([=a-zA-Z0-9]?)|&#([0-9]+)(;?)|&#[xX]([a-fA-F0-9]+)(;?)|&([0-9a-zA-Z]+)/g,b={aacute:"á",Aacute:"Á",abreve:"ă",Abreve:"Ă",ac:"∾",acd:"∿",acE:"∾̳",acirc:"â",Acirc:"Â",acute:"´",acy:"а",Acy:"А",aelig:"æ",AElig:"Æ",af:"⁡",afr:"𝔞",Afr:"𝔄",agrave:"à",Agrave:"À",alefsym:"ℵ",aleph:"ℵ",alpha:"α",Alpha:"Α",amacr:"ā",Amacr:"Ā",amalg:"⨿",amp:"&",AMP:"&",and:"∧",And:"⩓",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",aogon:"ą",Aogon:"Ą",aopf:"𝕒",Aopf:"𝔸",ap:"≈",apacir:"⩯",ape:"≊",apE:"⩰",apid:"≋",apos:"'",ApplyFunction:"⁡",approx:"≈",approxeq:"≊",aring:"å",Aring:"Å",ascr:"𝒶",Ascr:"𝒜",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",atilde:"ã",Atilde:"Ã",auml:"ä",Auml:"Ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",bcy:"б",Bcy:"Б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",beta:"β",Beta:"Β",beth:"ℶ",between:"≬",bfr:"𝔟",Bfr:"𝔅",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bnot:"⌐",bNot:"⫭",bopf:"𝕓",Bopf:"𝔹",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxhD:"╥",boxHd:"╤",boxHD:"╦",boxhu:"┴",boxhU:"╨",boxHu:"╧",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"‵",breve:"˘",Breve:"˘",brvbar:"¦",bscr:"𝒷",Bscr:"ℬ",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpe:"≏",bumpE:"⪮",bumpeq:"≏",Bumpeq:"≎",cacute:"ć",Cacute:"Ć",cap:"∩",Cap:"⋒",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",ccaron:"č",Ccaron:"Č",ccedil:"ç",Ccedil:"Ç",ccirc:"ĉ",Ccirc:"Ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",cdot:"ċ",Cdot:"Ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",CenterDot:"·",cfr:"𝔠",Cfr:"ℭ",chcy:"ч",CHcy:"Ч",check:"✓",checkmark:"✓",chi:"χ",Chi:"Χ",cir:"○",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cire:"≗",cirE:"⧃",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",colone:"≔",Colone:"⩴",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"𝕔",Copf:"ℂ",coprod:"∐",Coproduct:"∐",copy:"©",COPY:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"⨯",cscr:"𝒸",Cscr:"𝒞",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cup:"∪",Cup:"⋓",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",dArr:"⇓",Darr:"↡",dash:"‐",dashv:"⊣",Dashv:"⫤",dbkarow:"⤏",dblac:"˝",dcaron:"ď",Dcaron:"Ď",dcy:"д",Dcy:"Д",dd:"ⅆ",DD:"ⅅ",ddagger:"‡",ddarr:"⇊",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",delta:"δ",Delta:"Δ",demptyv:"⦱",dfisht:"⥿",dfr:"𝔡",Dfr:"𝔇",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",djcy:"ђ",DJcy:"Ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",dopf:"𝕕",Dopf:"𝔻",dot:"˙",Dot:"¨",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",downarrow:"↓",Downarrow:"⇓",DownArrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",dscr:"𝒹",Dscr:"𝒟",dscy:"ѕ",DScy:"Ѕ",dsol:"⧶",dstrok:"đ",Dstrok:"Đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",dzcy:"џ",DZcy:"Џ",dzigrarr:"⟿",eacute:"é",Eacute:"É",easter:"⩮",ecaron:"ě",Ecaron:"Ě",ecir:"≖",ecirc:"ê",Ecirc:"Ê",ecolon:"≕",ecy:"э",Ecy:"Э",eDDot:"⩷",edot:"ė",eDot:"≑",Edot:"Ė",ee:"ⅇ",efDot:"≒",efr:"𝔢",Efr:"𝔈",eg:"⪚",egrave:"è",Egrave:"È",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",emacr:"ē",Emacr:"Ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp:" ",emsp13:" ",emsp14:" ",eng:"ŋ",ENG:"Ŋ",ensp:" ",eogon:"ę",Eogon:"Ę",eopf:"𝕖",Eopf:"𝔼",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",epsilon:"ε",Epsilon:"Ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"ℯ",Escr:"ℰ",esdot:"≐",esim:"≂",Esim:"⩳",eta:"η",Eta:"Η",eth:"ð",ETH:"Ð",euml:"ë",Euml:"Ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",exponentiale:"ⅇ",ExponentialE:"ⅇ",fallingdotseq:"≒",fcy:"ф",Fcy:"Ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",ffr:"𝔣",Ffr:"𝔉",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",fopf:"𝕗",Fopf:"𝔽",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",Fscr:"ℱ",gacute:"ǵ",gamma:"γ",Gamma:"Γ",gammad:"ϝ",Gammad:"Ϝ",gap:"⪆",gbreve:"ğ",Gbreve:"Ğ",Gcedil:"Ģ",gcirc:"ĝ",Gcirc:"Ĝ",gcy:"г",Gcy:"Г",gdot:"ġ",Gdot:"Ġ",ge:"≥",gE:"≧",gel:"⋛",gEl:"⪌",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",gfr:"𝔤",Gfr:"𝔊",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",gjcy:"ѓ",GJcy:"Ѓ",gl:"≷",gla:"⪥",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",gopf:"𝕘",Gopf:"𝔾",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",gscr:"ℊ",Gscr:"𝒢",gsim:"≳",gsime:"⪎",gsiml:"⪐",gt:">",Gt:"≫",GT:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",hardcy:"ъ",HARDcy:"Ъ",harr:"↔",hArr:"⇔",harrcir:"⥈",harrw:"↭",Hat:"^",hbar:"ℏ",hcirc:"ĥ",Hcirc:"Ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"ℋ",hslash:"ℏ",hstrok:"ħ",Hstrok:"Ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",iacute:"í",Iacute:"Í",ic:"⁣",icirc:"î",Icirc:"Î",icy:"и",Icy:"И",Idot:"İ",iecy:"е",IEcy:"Е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"ℑ",igrave:"ì",Igrave:"Ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",ijlig:"ij",IJlig:"IJ",Im:"ℑ",imacr:"ī",Imacr:"Ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",Implies:"⇒",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",int:"∫",Int:"∬",intcal:"⊺",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"⁣",InvisibleTimes:"⁢",iocy:"ё",IOcy:"Ё",iogon:"į",Iogon:"Į",iopf:"𝕚",Iopf:"𝕀",iota:"ι",Iota:"Ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",itilde:"ĩ",Itilde:"Ĩ",iukcy:"і",Iukcy:"І",iuml:"ï",Iuml:"Ï",jcirc:"ĵ",Jcirc:"Ĵ",jcy:"й",Jcy:"Й",jfr:"𝔧",Jfr:"𝔍",jmath:"ȷ",jopf:"𝕛",Jopf:"𝕁",jscr:"𝒿",Jscr:"𝒥",jsercy:"ј",Jsercy:"Ј",jukcy:"є",Jukcy:"Є",kappa:"κ",Kappa:"Κ",kappav:"ϰ",kcedil:"ķ",Kcedil:"Ķ",kcy:"к",Kcy:"К",kfr:"𝔨",Kfr:"𝔎",kgreen:"ĸ",khcy:"х",KHcy:"Х",kjcy:"ќ",KJcy:"Ќ",kopf:"𝕜",Kopf:"𝕂",kscr:"𝓀",Kscr:"𝒦",lAarr:"⇚",lacute:"ĺ",Lacute:"Ĺ",laemptyv:"⦴",lagran:"ℒ",lambda:"λ",Lambda:"Λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",larr:"←",lArr:"⇐",Larr:"↞",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",latail:"⤙",lAtail:"⤛",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",lcaron:"ľ",Lcaron:"Ľ",lcedil:"ļ",Lcedil:"Ļ",lceil:"⌈",lcub:"{",lcy:"л",Lcy:"Л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",leftarrow:"←",Leftarrow:"⇐",LeftArrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",Leftrightarrow:"⇔",LeftRightArrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",leg:"⋚",lEg:"⪋",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",lfr:"𝔩",Lfr:"𝔏",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",ljcy:"љ",LJcy:"Љ",ll:"≪",Ll:"⋘",llarr:"⇇",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",lmidot:"ŀ",Lmidot:"Ŀ",lmoust:"⎰",lmoustache:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",Longleftarrow:"⟸",LongLeftArrow:"⟵",longleftrightarrow:"⟷",Longleftrightarrow:"⟺",LongLeftRightArrow:"⟷",longmapsto:"⟼",longrightarrow:"⟶",Longrightarrow:"⟹",LongRightArrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",lopf:"𝕝",Lopf:"𝕃",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",lstrok:"ł",Lstrok:"Ł",lt:"<",Lt:"≪",LT:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",map:"↦",Map:"⤅",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",mcy:"м",Mcy:"М",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",mfr:"𝔪",Mfr:"𝔐",mho:"℧",micro:"µ",mid:"∣",midast:"*",midcir:"⫰",middot:"·",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",mopf:"𝕞",Mopf:"𝕄",mp:"∓",mscr:"𝓂",Mscr:"ℳ",mstpos:"∾",mu:"μ",Mu:"Μ",multimap:"⊸",mumap:"⊸",nabla:"∇",nacute:"ń",Nacute:"Ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",ncaron:"ň",Ncaron:"Ň",ncedil:"ņ",Ncedil:"Ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",ncy:"н",Ncy:"Н",ndash:"–",ne:"≠",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",nedot:"≐̸",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",nexist:"∄",nexists:"∄",nfr:"𝔫",Nfr:"𝔑",nge:"≱",ngE:"≧̸",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",ngt:"≯",nGt:"≫⃒",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",njcy:"њ",NJcy:"Њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nle:"≰",nlE:"≦̸",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nlt:"≮",nLt:"≪⃒",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"⁠",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"ℕ",not:"¬",Not:"⫬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrarr:"↛",nrArr:"⇏",nrarrc:"⤳̸",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",nscr:"𝓃",Nscr:"𝒩",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsube:"⊈",nsubE:"⫅̸",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupe:"⊉",nsupE:"⫆̸",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",ntilde:"ñ",Ntilde:"Ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",nu:"ν",Nu:"Ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",oacute:"ó",Oacute:"Ó",oast:"⊛",ocir:"⊚",ocirc:"ô",Ocirc:"Ô",ocy:"о",Ocy:"О",odash:"⊝",odblac:"ő",Odblac:"Ő",odiv:"⨸",odot:"⊙",odsold:"⦼",oelig:"œ",OElig:"Œ",ofcir:"⦿",ofr:"𝔬",Ofr:"𝔒",ogon:"˛",ograve:"ò",Ograve:"Ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",omacr:"ō",Omacr:"Ō",omega:"ω",Omega:"Ω",omicron:"ο",Omicron:"Ο",omid:"⦶",ominus:"⊖",oopf:"𝕠",Oopf:"𝕆",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",or:"∨",Or:"⩔",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",oscr:"ℴ",Oscr:"𝒪",oslash:"ø",Oslash:"Ø",osol:"⊘",otilde:"õ",Otilde:"Õ",otimes:"⊗",Otimes:"⨷",otimesas:"⨶",ouml:"ö",Ouml:"Ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",par:"∥",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",pcy:"п",Pcy:"П",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",pfr:"𝔭",Pfr:"𝔓",phi:"φ",Phi:"Φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",pi:"π",Pi:"Π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",popf:"𝕡",Popf:"ℙ",pound:"£",pr:"≺",Pr:"⪻",prap:"⪷",prcue:"≼",pre:"⪯",prE:"⪳",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportion:"∷",Proportional:"∝",propto:"∝",prsim:"≾",prurel:"⊰",pscr:"𝓅",Pscr:"𝒫",psi:"ψ",Psi:"Ψ",puncsp:" ",qfr:"𝔮",Qfr:"𝔔",qint:"⨌",qopf:"𝕢",Qopf:"ℚ",qprime:"⁗",qscr:"𝓆",Qscr:"𝒬",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",racute:"ŕ",Racute:"Ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarr:"→",rArr:"⇒",Rarr:"↠",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",rarrtl:"↣",Rarrtl:"⤖",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",rcaron:"ř",Rcaron:"Ř",rcedil:"ŗ",Rcedil:"Ŗ",rceil:"⌉",rcub:"}",rcy:"р",Rcy:"Р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",Re:"ℜ",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",rho:"ρ",Rho:"Ρ",rhov:"ϱ",RightAngleBracket:"⟩",rightarrow:"→",Rightarrow:"⇒",RightArrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"𝓇",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",sacute:"ś",Sacute:"Ś",sbquo:"‚",sc:"≻",Sc:"⪼",scap:"⪸",scaron:"š",Scaron:"Š",sccue:"≽",sce:"⪰",scE:"⪴",scedil:"ş",Scedil:"Ş",scirc:"ŝ",Scirc:"Ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",scy:"с",Scy:"С",sdot:"⋅",sdotb:"⊡",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",sfr:"𝔰",Sfr:"𝔖",sfrown:"⌢",sharp:"♯",shchcy:"щ",SHCHcy:"Щ",shcy:"ш",SHcy:"Ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",sigma:"σ",Sigma:"Σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",softcy:"ь",SOFTcy:"Ь",sol:"/",solb:"⧄",solbar:"⌿",sopf:"𝕤",Sopf:"𝕊",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squf:"▪",srarr:"→",sscr:"𝓈",Sscr:"𝒮",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",star:"☆",Star:"⋆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",sube:"⊆",subE:"⫅",subedot:"⫃",submult:"⫁",subne:"⊊",subnE:"⫋",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup:"⊃",Sup:"⋑",sup1:"¹",sup2:"²",sup3:"³",supdot:"⪾",supdsub:"⫘",supe:"⊇",supE:"⫆",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supne:"⊋",supnE:"⫌",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:"\t",target:"⌖",tau:"τ",Tau:"Τ",tbrk:"⎴",tcaron:"ť",Tcaron:"Ť",tcedil:"ţ",Tcedil:"Ţ",tcy:"т",Tcy:"Т",tdot:"⃛",telrec:"⌕",tfr:"𝔱",Tfr:"𝔗",there4:"∴",therefore:"∴",Therefore:"∴",theta:"θ",Theta:"Θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:"  ",thinsp:" ",ThinSpace:" ",thkap:"≈",thksim:"∼",thorn:"þ",THORN:"Þ",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",topf:"𝕥",Topf:"𝕋",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",tscr:"𝓉",Tscr:"𝒯",tscy:"ц",TScy:"Ц",tshcy:"ћ",TSHcy:"Ћ",tstrok:"ŧ",Tstrok:"Ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",uacute:"ú",Uacute:"Ú",uarr:"↑",uArr:"⇑",Uarr:"↟",Uarrocir:"⥉",ubrcy:"ў",Ubrcy:"Ў",ubreve:"ŭ",Ubreve:"Ŭ",ucirc:"û",Ucirc:"Û",ucy:"у",Ucy:"У",udarr:"⇅",udblac:"ű",Udblac:"Ű",udhar:"⥮",ufisht:"⥾",ufr:"𝔲",Ufr:"𝔘",ugrave:"ù",Ugrave:"Ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",umacr:"ū",Umacr:"Ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",uogon:"ų",Uogon:"Ų",uopf:"𝕦",Uopf:"𝕌",uparrow:"↑",Uparrow:"⇑",UpArrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",updownarrow:"↕",Updownarrow:"⇕",UpDownArrow:"↕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",upsilon:"υ",Upsilon:"Υ",UpTee:"⊥",UpTeeArrow:"↥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",uring:"ů",Uring:"Ů",urtri:"◹",uscr:"𝓊",Uscr:"𝒰",utdot:"⋰",utilde:"ũ",Utilde:"Ũ",utri:"▵",utrif:"▴",uuarr:"⇈",uuml:"ü",Uuml:"Ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",vcy:"в",Vcy:"В",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",vee:"∨",Vee:"⋁",veebar:"⊻",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",vfr:"𝔳",Vfr:"𝔙",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",vopf:"𝕧",Vopf:"𝕍",vprop:"∝",vrtri:"⊳",vscr:"𝓋",Vscr:"𝒱",vsubne:"⊊︀",vsubnE:"⫋︀",vsupne:"⊋︀",vsupnE:"⫌︀",Vvdash:"⊪",vzigzag:"⦚",wcirc:"ŵ",Wcirc:"Ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",wfr:"𝔴",Wfr:"𝔚",wopf:"𝕨",Wopf:"𝕎",wp:"℘",wr:"≀",wreath:"≀",wscr:"𝓌",Wscr:"𝒲",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",xfr:"𝔵",Xfr:"𝔛",xharr:"⟷",xhArr:"⟺",xi:"ξ",Xi:"Ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",xopf:"𝕩",Xopf:"𝕏",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",xscr:"𝓍",Xscr:"𝒳",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",yacute:"ý",Yacute:"Ý",yacy:"я",YAcy:"Я",ycirc:"ŷ",Ycirc:"Ŷ",ycy:"ы",Ycy:"Ы",yen:"¥",yfr:"𝔶",Yfr:"𝔜",yicy:"ї",YIcy:"Ї",yopf:"𝕪",Yopf:"𝕐",yscr:"𝓎",Yscr:"𝒴",yucy:"ю",YUcy:"Ю",yuml:"ÿ",Yuml:"Ÿ",zacute:"ź",Zacute:"Ź",zcaron:"ž",Zcaron:"Ž",zcy:"з",Zcy:"З",zdot:"ż",Zdot:"Ż",zeetrf:"ℨ",ZeroWidthSpace:"​",zeta:"ζ",Zeta:"Ζ",zfr:"𝔷",Zfr:"ℨ",zhcy:"ж",ZHcy:"Ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"ℤ",zscr:"𝓏",Zscr:"𝒵",zwj:"‍",zwnj:"‌"},y={aacute:"á",Aacute:"Á",acirc:"â",Acirc:"Â",acute:"´",aelig:"æ",AElig:"Æ",agrave:"à",Agrave:"À",amp:"&",AMP:"&",aring:"å",Aring:"Å",atilde:"ã",Atilde:"Ã",auml:"ä",Auml:"Ä",brvbar:"¦",ccedil:"ç",Ccedil:"Ç",cedil:"¸",cent:"¢",copy:"©",COPY:"©",curren:"¤",deg:"°",divide:"÷",eacute:"é",Eacute:"É",ecirc:"ê",Ecirc:"Ê",egrave:"è",Egrave:"È",eth:"ð",ETH:"Ð",euml:"ë",Euml:"Ë",frac12:"½",frac14:"¼",frac34:"¾",gt:">",GT:">",iacute:"í",Iacute:"Í",icirc:"î",Icirc:"Î",iexcl:"¡",igrave:"ì",Igrave:"Ì",iquest:"¿",iuml:"ï",Iuml:"Ï",laquo:"«",lt:"<",LT:"<",macr:"¯",micro:"µ",middot:"·",nbsp:" ",not:"¬",ntilde:"ñ",Ntilde:"Ñ",oacute:"ó",Oacute:"Ó",ocirc:"ô",Ocirc:"Ô",ograve:"ò",Ograve:"Ò",ordf:"ª",ordm:"º",oslash:"ø",Oslash:"Ø",otilde:"õ",Otilde:"Õ",ouml:"ö",Ouml:"Ö",para:"¶",plusmn:"±",pound:"£",quot:'"',QUOT:'"',raquo:"»",reg:"®",REG:"®",sect:"§",shy:"­",sup1:"¹",sup2:"²",sup3:"³",szlig:"ß",thorn:"þ",THORN:"Þ",times:"×",uacute:"ú",Uacute:"Ú",ucirc:"û",Ucirc:"Û",ugrave:"ù",Ugrave:"Ù",uml:"¨",uuml:"ü",Uuml:"Ü",yacute:"ý",Yacute:"Ý",yen:"¥",yuml:"ÿ"},v={0:"�",128:"€",130:"‚",131:"ƒ",132:"„",133:"…",134:"†",135:"‡",136:"ˆ",137:"‰",138:"Š",139:"‹",140:"Œ",142:"Ž",145:"‘",146:"’",147:"“",148:"”",149:"•",150:"–",151:"—",152:"˜",153:"™",154:"š",155:"›",156:"œ",158:"ž",159:"Ÿ"},w=[1,2,3,4,5,6,7,8,11,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,64976,64977,64978,64979,64980,64981,64982,64983,64984,64985,64986,64987,64988,64989,64990,64991,64992,64993,64994,64995,64996,64997,64998,64999,65e3,65001,65002,65003,65004,65005,65006,65007,65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111],E=String.fromCharCode,_={}.hasOwnProperty,A=function(e,t){return _.call(e,t)},x=function(e,t){if(!e)return t;var r,n={};for(r in t)n[r]=A(e,r)?e[r]:t[r];return n},O=function(e,t){var r="";return e>=55296&&e<=57343||e>1114111?(t&&N("character reference outside the permissible Unicode range"),"�"):A(v,e)?(t&&N("disallowed character reference"),v[e]):(t&&function(e,t){for(var r=-1,n=e.length;++r65535&&(r+=E((e-=65536)>>>10&1023|55296),e=56320|1023&e),r+=E(e))},T=function(e){return"&#x"+e.toString(16).toUpperCase()+";"},S=function(e){return"&#"+e+";"},N=function(e){throw Error("Parse error: "+e)},M=function(e,t){(t=x(t,M.options)).strict&&g.test(e)&&N("forbidden code point");var r=t.encodeEverything,n=t.useNamedReferences,o=t.allowUnsafeSymbols,i=t.decimal?S:T,a=function(e){return i(e.charCodeAt(0))};return r?(e=e.replace(l,(function(e){return n&&A(d,e)?"&"+d[e]+";":a(e)})),n&&(e=e.replace(/>\u20D2/g,">⃒").replace(/<\u20D2/g,"<⃒").replace(/fj/g,"fj")),n&&(e=e.replace(c,(function(e){return"&"+d[e]+";"})))):n?(o||(e=e.replace(f,(function(e){return"&"+d[e]+";"}))),e=(e=e.replace(/>\u20D2/g,">⃒").replace(/<\u20D2/g,"<⃒")).replace(c,(function(e){return"&"+d[e]+";"}))):o||(e=e.replace(f,a)),e.replace(s,(function(e){var t=e.charCodeAt(0),r=e.charCodeAt(1);return i(1024*(t-55296)+r-56320+65536)})).replace(u,a)};M.options={allowUnsafeSymbols:!1,encodeEverything:!1,strict:!1,useNamedReferences:!1,decimal:!1};var D=function(e,t){var r=(t=x(t,D.options)).strict;return r&&m.test(e)&&N("malformed character reference"),e.replace(h,(function(e,n,o,i,a,s,l,u,c){var d,f,p,m,g,h;return n?b[g=n]:o?(g=o,(h=i)&&t.isAttributeValue?(r&&"="==h&&N("`&` did not start a character reference"),e):(r&&N("named character reference was not terminated by a semicolon"),y[g]+(h||""))):a?(p=a,f=s,r&&!f&&N("character reference was not terminated by a semicolon"),d=parseInt(p,10),O(d,r)):l?(m=l,f=u,r&&!f&&N("character reference was not terminated by a semicolon"),d=parseInt(m,16),O(d,r)):(r&&N("named character reference was not terminated by a semicolon"),e)}))};D.options={isAttributeValue:!1,strict:!1};var C={version:"1.2.0",encode:M,decode:D,escape:function(e){return e.replace(f,(function(e){return p[e]}))},unescape:D};void 0===(o=function(){return C}.call(t,r,t,e))||(e.exports=o)}()}).call(this,r(407)(e),r(177))},407:function(e,t,r){e.exports=r(56)(451)},408:function(e,t,r){const n=r(409);e.exports=(e,t,r)=>n(e,t,r)>=0},409:function(e,t,r){const n=r(410);e.exports=(e,t,r)=>new n(e,r).compare(new n(t,r))},410:function(e,t,r){const n=r(287),{MAX_LENGTH:o,MAX_SAFE_INTEGER:i}=r(289),{safeRe:a,t:s}=r(411),l=r(412),{compareIdentifiers:u}=r(413);class SemVer{constructor(e,t){if(t=l(t),e instanceof SemVer){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if("string"!=typeof e)throw new TypeError(`Invalid version. Must be a string. Got type "${typeof e}".`);if(e.length>o)throw new TypeError(`version is longer than ${o} characters`);n("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;const r=e.trim().match(t.loose?a[s.LOOSE]:a[s.FULL]);if(!r)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+r[1],this.minor=+r[2],this.patch=+r[3],this.major>i||this.major<0)throw new TypeError("Invalid major version");if(this.minor>i||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>i||this.patch<0)throw new TypeError("Invalid patch version");r[4]?this.prerelease=r[4].split(".").map((e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&t=0;)"number"==typeof this.prerelease[n]&&(this.prerelease[n]++,n=-2);if(-1===n){if(t===this.prerelease.join(".")&&!1===r)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(e)}}if(t){let n=[t,e];!1===r&&(n=[t]),0===u(this.prerelease[0],t)?isNaN(this.prerelease[1])&&(this.prerelease=n):this.prerelease=n}break}default:throw new Error(`invalid increment argument: ${e}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}}e.exports=SemVer},411:function(e,t,r){const{MAX_SAFE_COMPONENT_LENGTH:n,MAX_SAFE_BUILD_LENGTH:o,MAX_LENGTH:i}=r(289),a=r(287),s=(t=e.exports={}).re=[],l=t.safeRe=[],u=t.src=[],c=t.t={};let d=0;const f="[a-zA-Z0-9-]",p=[["\\s",1],["\\d",i],[f,o]],m=(e,t,r)=>{const n=(e=>{for(const[t,r]of p)e=e.split(`${t}*`).join(`${t}{0,${r}}`).split(`${t}+`).join(`${t}{1,${r}}`);return e})(t),o=d++;a(e,o,t),c[e]=o,u[o]=t,s[o]=new RegExp(t,r?"g":void 0),l[o]=new RegExp(n,r?"g":void 0)};m("NUMERICIDENTIFIER","0|[1-9]\\d*"),m("NUMERICIDENTIFIERLOOSE","\\d+"),m("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${f}*`),m("MAINVERSION",`(${u[c.NUMERICIDENTIFIER]})\\.(${u[c.NUMERICIDENTIFIER]})\\.(${u[c.NUMERICIDENTIFIER]})`),m("MAINVERSIONLOOSE",`(${u[c.NUMERICIDENTIFIERLOOSE]})\\.(${u[c.NUMERICIDENTIFIERLOOSE]})\\.(${u[c.NUMERICIDENTIFIERLOOSE]})`),m("PRERELEASEIDENTIFIER",`(?:${u[c.NUMERICIDENTIFIER]}|${u[c.NONNUMERICIDENTIFIER]})`),m("PRERELEASEIDENTIFIERLOOSE",`(?:${u[c.NUMERICIDENTIFIERLOOSE]}|${u[c.NONNUMERICIDENTIFIER]})`),m("PRERELEASE",`(?:-(${u[c.PRERELEASEIDENTIFIER]}(?:\\.${u[c.PRERELEASEIDENTIFIER]})*))`),m("PRERELEASELOOSE",`(?:-?(${u[c.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${u[c.PRERELEASEIDENTIFIERLOOSE]})*))`),m("BUILDIDENTIFIER",`${f}+`),m("BUILD",`(?:\\+(${u[c.BUILDIDENTIFIER]}(?:\\.${u[c.BUILDIDENTIFIER]})*))`),m("FULLPLAIN",`v?${u[c.MAINVERSION]}${u[c.PRERELEASE]}?${u[c.BUILD]}?`),m("FULL",`^${u[c.FULLPLAIN]}$`),m("LOOSEPLAIN",`[v=\\s]*${u[c.MAINVERSIONLOOSE]}${u[c.PRERELEASELOOSE]}?${u[c.BUILD]}?`),m("LOOSE",`^${u[c.LOOSEPLAIN]}$`),m("GTLT","((?:<|>)?=?)"),m("XRANGEIDENTIFIERLOOSE",`${u[c.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),m("XRANGEIDENTIFIER",`${u[c.NUMERICIDENTIFIER]}|x|X|\\*`),m("XRANGEPLAIN",`[v=\\s]*(${u[c.XRANGEIDENTIFIER]})(?:\\.(${u[c.XRANGEIDENTIFIER]})(?:\\.(${u[c.XRANGEIDENTIFIER]})(?:${u[c.PRERELEASE]})?${u[c.BUILD]}?)?)?`),m("XRANGEPLAINLOOSE",`[v=\\s]*(${u[c.XRANGEIDENTIFIERLOOSE]})(?:\\.(${u[c.XRANGEIDENTIFIERLOOSE]})(?:\\.(${u[c.XRANGEIDENTIFIERLOOSE]})(?:${u[c.PRERELEASELOOSE]})?${u[c.BUILD]}?)?)?`),m("XRANGE",`^${u[c.GTLT]}\\s*${u[c.XRANGEPLAIN]}$`),m("XRANGELOOSE",`^${u[c.GTLT]}\\s*${u[c.XRANGEPLAINLOOSE]}$`),m("COERCE",`(^|[^\\d])(\\d{1,${n}})(?:\\.(\\d{1,${n}}))?(?:\\.(\\d{1,${n}}))?(?:$|[^\\d])`),m("COERCERTL",u[c.COERCE],!0),m("LONETILDE","(?:~>?)"),m("TILDETRIM",`(\\s*)${u[c.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",m("TILDE",`^${u[c.LONETILDE]}${u[c.XRANGEPLAIN]}$`),m("TILDELOOSE",`^${u[c.LONETILDE]}${u[c.XRANGEPLAINLOOSE]}$`),m("LONECARET","(?:\\^)"),m("CARETTRIM",`(\\s*)${u[c.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",m("CARET",`^${u[c.LONECARET]}${u[c.XRANGEPLAIN]}$`),m("CARETLOOSE",`^${u[c.LONECARET]}${u[c.XRANGEPLAINLOOSE]}$`),m("COMPARATORLOOSE",`^${u[c.GTLT]}\\s*(${u[c.LOOSEPLAIN]})$|^$`),m("COMPARATOR",`^${u[c.GTLT]}\\s*(${u[c.FULLPLAIN]})$|^$`),m("COMPARATORTRIM",`(\\s*)${u[c.GTLT]}\\s*(${u[c.LOOSEPLAIN]}|${u[c.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",m("HYPHENRANGE",`^\\s*(${u[c.XRANGEPLAIN]})\\s+-\\s+(${u[c.XRANGEPLAIN]})\\s*$`),m("HYPHENRANGELOOSE",`^\\s*(${u[c.XRANGEPLAINLOOSE]})\\s+-\\s+(${u[c.XRANGEPLAINLOOSE]})\\s*$`),m("STAR","(<|>)?=?\\s*\\*"),m("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),m("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")},412:function(e,t){const r=Object.freeze({loose:!0}),n=Object.freeze({});e.exports=e=>e?"object"!=typeof e?r:e:n},413:function(e,t){const r=/^[0-9]+$/,n=(e,t)=>{const n=r.test(e),o=r.test(t);return n&&o&&(e=+e,t=+t),e===t?0:n&&!o?-1:o&&!n?1:en(t,e)}},610:function(e,t,r){switch(window.__kbnThemeTag__){case"v8dark":return r(611);case"v8light":return r(613)}},611:function(e,t,r){var n=r(103),o=r(612);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);n(o,{insert:"head",singleton:!1}),e.exports=o.locals||{}},612:function(e,t,r){(t=r(104)(!1)).push([e.i,'.mlChartTooltip{background-color:#000;border-radius:6px;box-shadow:0 1px 5px #00000040,0 3.6px 13px rgba(0,0,0,.175),0 8.4px 23px #00000026,0 23px 35px rgba(0,0,0,.125);color:#fff;font-size:12px;font-size:.85714rem;line-height:1.14286rem;max-width:256px;max-width:512px;overflow-wrap:break-word;padding:0;pointer-events:none;transition:opacity .25s;-webkit-user-select:none;user-select:none;z-index:9000}.mlChartTooltip .euiHorizontalRule{background-color:#333}.mlChartTooltip__list{margin:4px;padding-bottom:4px}.mlChartTooltip__header{border-bottom:1px solid #333;font-weight:700;margin-bottom:4px;padding:4px 8px}.mlChartTooltip__item{border-left:4px solid #0000;box-sizing:border-box;display:flex;padding:3px}.mlChartTooltip__label{min-width:1px}.mlChartTooltip__value{font-feature-settings:"tnum";font-weight:700;margin-left:8px;text-align:right}.mlChartTooltip__rowHighlighted{background-color:#ffffff1a}.mlChartTooltip--hidden{opacity:0}',""]),e.exports=t},613:function(e,t,r){var n=r(103),o=r(614);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);n(o,{insert:"head",singleton:!1}),e.exports=o.locals||{}},614:function(e,t,r){(t=r(104)(!1)).push([e.i,'.mlChartTooltip{background-color:#404040;border-radius:6px;box-shadow:0 1px 5px #0000001a,0 3.6px 13px #00000012,0 8.4px 23px #0000000f,0 23px 35px #0000000d;color:#fff;font-size:12px;font-size:.85714rem;line-height:1.14286rem;max-width:256px;max-width:512px;overflow-wrap:break-word;padding:0;pointer-events:none;transition:opacity .25s;-webkit-user-select:none;user-select:none;z-index:9000}.mlChartTooltip .euiHorizontalRule{background-color:#595959}.mlChartTooltip__list{margin:4px;padding-bottom:4px}.mlChartTooltip__header{border-bottom:1px solid #595959;font-weight:700;margin-bottom:4px;padding:4px 8px}.mlChartTooltip__item{border-left:4px solid #0000;box-sizing:border-box;display:flex;padding:3px}.mlChartTooltip__label{min-width:1px}.mlChartTooltip__value{font-feature-settings:"tnum";font-weight:700;margin-left:8px;text-align:right}.mlChartTooltip__rowHighlighted{background-color:#ffffff1a}.mlChartTooltip--hidden{opacity:0}',""]),e.exports=t},615:function(e,t,r){"use strict";var n=r(616),o=r(100),i=r(617),a=r(2),s=r(71),l=r(618),u=a.createContext({}),c=function(){for(var e=arguments.length,t=new Array(e),r=0;rwindow.pageXOffset+document.body.offsetWidth?g-w:g,A=h+E>window.pageYOffset+document.body.offsetHeight?h-E:h;n.transform="translate3d("+_+"px, "+A+"px, 0"}return a.createElement(p,o({arrowProps:l,closeOnReferenceHidden:m,isReferenceHidden:u,placement:s,update:d,style:n,tooltip:i,trigger:c,mutationObserverOptions:v},{clearScheduled:e.clearScheduled,hideTooltip:e.hideTooltip,innerRef:r}))}));return a.createElement(l.Manager,null,a.createElement(l.Reference,{innerRef:d},(function(t){var n=t.ref;return r({getTriggerProps:e.getTriggerProps,triggerRef:n})})),this.getState()&&(g?s.createPortal(E,h):E))},r.isControlled=function(){return void 0!==this.props.tooltipShown},r.getState=function(){return this.isControlled()?this.props.tooltipShown:this.state.tooltipShown},r.isTriggeredBy=function(e){var t=this.props.trigger;return t===e||Array.isArray(t)&&t.includes(e)},t}(a.Component);m.defaultProps={closeOnReferenceHidden:!0,defaultTooltipShown:!1,delayHide:0,delayShow:0,followCursor:!1,onVisibilityChange:function(){},placement:"right",portalContainer:d()?document.body:null,trigger:"hover",usePortal:d(),mutationObserverOptions:{childList:!0,subtree:!0},modifiers:[]},e.exports=m},616:function(e,t,r){e.exports=r(56)(1467)},617:function(e,t,r){e.exports=r(56)(2963)},618:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Popper",{enumerable:!0,get:function(){return n.Popper}}),Object.defineProperty(t,"Manager",{enumerable:!0,get:function(){return o.Manager}}),Object.defineProperty(t,"Reference",{enumerable:!0,get:function(){return i.Reference}}),Object.defineProperty(t,"usePopper",{enumerable:!0,get:function(){return a.usePopper}});var n=r(619),o=r(249),i=r(622),a=r(343)},619:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Popper=function(e){var t=e.placement,r=void 0===t?"bottom":t,s=e.strategy,d=void 0===s?"absolute":s,f=e.modifiers,p=void 0===f?c:f,m=e.referenceElement,g=e.onFirstUpdate,h=e.innerRef,b=e.children,y=n.useContext(o.ManagerReferenceNodeContext),v=n.useState(null),w=v[0],E=v[1],_=n.useState(null),A=_[0],x=_[1];n.useEffect((function(){(0,i.setRef)(h,w)}),[h,w]);var O=n.useMemo((function(){return{placement:r,strategy:d,onFirstUpdate:g,modifiers:[].concat(p,[{name:"arrow",enabled:null!=A,options:{element:A}}])}}),[r,d,g,p,A]),T=(0,a.usePopper)(m||y,w,O),S=T.state,N=T.styles,M=T.forceUpdate,D=T.update,C=n.useMemo((function(){return{ref:E,style:N.popper,placement:S?S.placement:r,hasPopperEscaped:S&&S.modifiersData.hide?S.modifiersData.hide.hasPopperEscaped:null,isReferenceHidden:S&&S.modifiersData.hide?S.modifiersData.hide.isReferenceHidden:null,arrowProps:{style:N.arrow,ref:x},forceUpdate:M||l,update:D||u}}),[E,x,r,S,N,D,M]);return(0,i.unwrapArray)(b)(C)};var n=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var i=n?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(r,o,i):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}(r(2)),o=r(249),i=r(250),a=r(343);function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}var l=function(){},u=function(){return Promise.resolve(null)},c=[]},620:function(e,t,r){"use strict";function n(e,t){var r=e.getBoundingClientRect();return{width:r.width/1,height:r.height/1,top:r.top/1,right:r.right/1,bottom:r.bottom/1,left:r.left/1,x:r.left/1,y:r.top/1}}function o(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function i(e){var t=o(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function a(e){return e instanceof o(e).Element||e instanceof Element}function s(e){return e instanceof o(e).HTMLElement||e instanceof HTMLElement}function l(e){return"undefined"!=typeof ShadowRoot&&(e instanceof o(e).ShadowRoot||e instanceof ShadowRoot)}function u(e){return e?(e.nodeName||"").toLowerCase():null}function c(e){return((a(e)?e.ownerDocument:e.document)||window.document).documentElement}function d(e){return n(c(e)).left+i(e).scrollLeft}function f(e){return o(e).getComputedStyle(e)}function p(e){var t=f(e),r=t.overflow,n=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+o+n)}function m(e,t,r){void 0===r&&(r=!1);var a=s(t);s(t)&&function(e){var t=e.getBoundingClientRect();t.width,e.offsetWidth,t.height,e.offsetHeight}(t);var l,f,m=c(t),g=n(e),h={scrollLeft:0,scrollTop:0},b={x:0,y:0};return(a||!a&&!r)&&(("body"!==u(t)||p(m))&&(h=(l=t)!==o(l)&&s(l)?{scrollLeft:(f=l).scrollLeft,scrollTop:f.scrollTop}:i(l)),s(t)?((b=n(t)).x+=t.clientLeft,b.y+=t.clientTop):m&&(b.x=d(m))),{x:g.left+h.scrollLeft-b.x,y:g.top+h.scrollTop-b.y,width:g.width,height:g.height}}function g(e){var t=n(e),r=e.offsetWidth,o=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-o)<=1&&(o=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:o}}function h(e){return"html"===u(e)?e:e.assignedSlot||e.parentNode||(l(e)?e.host:null)||c(e)}function b(e){return["html","body","#document"].indexOf(u(e))>=0?e.ownerDocument.body:s(e)&&p(e)?e:b(h(e))}function y(e,t){var r;void 0===t&&(t=[]);var n=b(e),i=n===(null==(r=e.ownerDocument)?void 0:r.body),a=o(n),s=i?[a].concat(a.visualViewport||[],p(n)?n:[]):n,l=t.concat(s);return i?l:l.concat(y(h(s)))}function v(e){return["table","td","th"].indexOf(u(e))>=0}function w(e){return s(e)&&"fixed"!==f(e).position?e.offsetParent:null}function E(e){for(var t=o(e),r=w(e);r&&v(r)&&"static"===f(r).position;)r=w(r);return r&&("html"===u(r)||"body"===u(r)&&"static"===f(r).position)?t:r||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&s(e)&&"fixed"===f(e).position)return null;for(var r=h(e);s(r)&&["html","body"].indexOf(u(r))<0;){var n=f(r);if("none"!==n.transform||"none"!==n.perspective||"paint"===n.contain||-1!==["transform","perspective"].indexOf(n.willChange)||t&&"filter"===n.willChange||t&&n.filter&&"none"!==n.filter)return r;r=r.parentNode}return null}(e)||t}Object.defineProperty(t,"__esModule",{value:!0});var _="top",A="bottom",x="right",O="left",T="auto",S=[_,A,x,O],N="start",M="end",D="clippingParents",C="viewport",L="popper",I="reference",R=S.reduce((function(e,t){return e.concat([t+"-"+N,t+"-"+M])}),[]),j=[].concat(S,[T]).reduce((function(e,t){return e.concat([t,t+"-"+N,t+"-"+M])}),[]),k=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function q(e){var t=new Map,r=new Set,n=[];function o(e){r.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!r.has(e)){var n=t.get(e);n&&o(n)}})),n.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){r.has(e.name)||o(e)})),n}function F(e){return e.split("-")[0]}var P=Math.max,U=Math.min,B=Math.round;function V(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&l(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function H(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function G(e,t){return t===C?H(function(e){var t=o(e),r=c(e),n=t.visualViewport,i=r.clientWidth,a=r.clientHeight,s=0,l=0;return n&&(i=n.width,a=n.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(s=n.offsetLeft,l=n.offsetTop)),{width:i,height:a,x:s+d(e),y:l}}(e)):s(t)?function(e){var t=n(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}(t):H(function(e){var t,r=c(e),n=i(e),o=null==(t=e.ownerDocument)?void 0:t.body,a=P(r.scrollWidth,r.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),s=P(r.scrollHeight,r.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),l=-n.scrollLeft+d(e),u=-n.scrollTop;return"rtl"===f(o||r).direction&&(l+=P(r.clientWidth,o?o.clientWidth:0)-a),{width:a,height:s,x:l,y:u}}(c(e)))}function $(e){return e.split("-")[1]}function z(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Y(e){var t,r=e.reference,n=e.element,o=e.placement,i=o?F(o):null,a=o?$(o):null,s=r.x+r.width/2-n.width/2,l=r.y+r.height/2-n.height/2;switch(i){case _:t={x:s,y:r.y-n.height};break;case A:t={x:s,y:r.y+r.height};break;case x:t={x:r.x+r.width,y:l};break;case O:t={x:r.x-n.width,y:l};break;default:t={x:r.x,y:r.y}}var u=i?z(i):null;if(null!=u){var c="y"===u?"height":"width";switch(a){case N:t[u]=t[u]-(r[c]/2-n[c]/2);break;case M:t[u]=t[u]+(r[c]/2-n[c]/2)}}return t}function W(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function J(e,t){return t.reduce((function(t,r){return t[r]=e,t}),{})}function X(e,t){void 0===t&&(t={});var r=t,o=r.placement,i=void 0===o?e.placement:o,l=r.boundary,d=void 0===l?D:l,p=r.rootBoundary,m=void 0===p?C:p,g=r.elementContext,b=void 0===g?L:g,v=r.altBoundary,w=void 0!==v&&v,O=r.padding,T=void 0===O?0:O,N=W("number"!=typeof T?T:J(T,S)),M=b===L?I:L,R=e.rects.popper,j=e.elements[w?M:b],k=function(e,t,r){var n="clippingParents"===t?function(e){var t=y(h(e)),r=["absolute","fixed"].indexOf(f(e).position)>=0&&s(e)?E(e):e;return a(r)?t.filter((function(e){return a(e)&&V(e,r)&&"body"!==u(e)})):[]}(e):[].concat(t),o=[].concat(n,[r]),i=o[0],l=o.reduce((function(t,r){var n=G(e,r);return t.top=P(n.top,t.top),t.right=U(n.right,t.right),t.bottom=U(n.bottom,t.bottom),t.left=P(n.left,t.left),t}),G(e,i));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}(a(j)?j:j.contextElement||c(e.elements.popper),d,m),q=n(e.elements.reference),F=Y({reference:q,element:R,strategy:"absolute",placement:i}),B=H(Object.assign({},R,F)),$=b===L?B:q,z={top:k.top-$.top+N.top,bottom:$.bottom-k.bottom+N.bottom,left:k.left-$.left+N.left,right:$.right-k.right+N.right},X=e.modifiersData.offset;if(b===L&&X){var Z=X[i];Object.keys(z).forEach((function(e){var t=[x,A].indexOf(e)>=0?1:-1,r=[_,A].indexOf(e)>=0?"y":"x";z[e]+=Z[r]*t}))}return z}var Z={placement:"bottom",modifiers:[],strategy:"absolute"};function Q(){for(var e=arguments.length,t=new Array(e),r=0;r=0?-1:1,i="function"==typeof r?r(Object.assign({},t,{placement:e})):r,a=i[0],s=i[1];return a=a||0,s=(s||0)*o,[O,x].indexOf(n)>=0?{x:s,y:a}:{x:a,y:s}}(r,t.rects,i),e}),{}),s=a[t.placement],l=s.x,u=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=u),t.modifiersData[n]=a}},le={left:"right",right:"left",bottom:"top",top:"bottom"};function ue(e){return e.replace(/left|right|bottom|top/g,(function(e){return le[e]}))}var ce={start:"end",end:"start"};function de(e){return e.replace(/start|end/g,(function(e){return ce[e]}))}function fe(e,t){void 0===t&&(t={});var r=t,n=r.placement,o=r.boundary,i=r.rootBoundary,a=r.padding,s=r.flipVariations,l=r.allowedAutoPlacements,u=void 0===l?j:l,c=$(n),d=c?s?R:R.filter((function(e){return $(e)===c})):S,f=d.filter((function(e){return u.indexOf(e)>=0}));0===f.length&&(f=d);var p=f.reduce((function(t,r){return t[r]=X(e,{placement:r,boundary:o,rootBoundary:i,padding:a})[F(r)],t}),{});return Object.keys(p).sort((function(e,t){return p[e]-p[t]}))}var pe={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,r=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var o=r.mainAxis,i=void 0===o||o,a=r.altAxis,s=void 0===a||a,l=r.fallbackPlacements,u=r.padding,c=r.boundary,d=r.rootBoundary,f=r.altBoundary,p=r.flipVariations,m=void 0===p||p,g=r.allowedAutoPlacements,h=t.options.placement,b=F(h),y=l||(b!==h&&m?function(e){if(F(e)===T)return[];var t=ue(e);return[de(e),t,de(t)]}(h):[ue(h)]),v=[h].concat(y).reduce((function(e,r){return e.concat(F(r)===T?fe(t,{placement:r,boundary:c,rootBoundary:d,padding:u,flipVariations:m,allowedAutoPlacements:g}):r)}),[]),w=t.rects.reference,E=t.rects.popper,S=new Map,M=!0,D=v[0],C=0;C=0,k=j?"width":"height",q=X(t,{placement:L,boundary:c,rootBoundary:d,altBoundary:f,padding:u}),P=j?R?x:O:R?A:_;w[k]>E[k]&&(P=ue(P));var U=ue(P),B=[];if(i&&B.push(q[I]<=0),s&&B.push(q[P]<=0,q[U]<=0),B.every((function(e){return e}))){D=L,M=!1;break}S.set(L,B)}if(M)for(var V=function(e){var t=v.find((function(t){var r=S.get(t);if(r)return r.slice(0,e).every((function(e){return e}))}));if(t)return D=t,"break"},H=m?3:1;H>0&&"break"!==V(H);H--);t.placement!==D&&(t.modifiersData[n]._skip=!0,t.placement=D,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function me(e,t,r){return P(e,U(t,r))}var ge={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,r=e.options,n=e.name,o=r.mainAxis,i=void 0===o||o,a=r.altAxis,s=void 0!==a&&a,l=r.boundary,u=r.rootBoundary,c=r.altBoundary,d=r.padding,f=r.tether,p=void 0===f||f,m=r.tetherOffset,h=void 0===m?0:m,b=X(t,{boundary:l,rootBoundary:u,padding:d,altBoundary:c}),y=F(t.placement),v=$(t.placement),w=!v,T=z(y),S="x"===T?"y":"x",M=t.modifiersData.popperOffsets,D=t.rects.reference,C=t.rects.popper,L="function"==typeof h?h(Object.assign({},t.rects,{placement:t.placement})):h,I={x:0,y:0};if(M){if(i||s){var R="y"===T?_:O,j="y"===T?A:x,k="y"===T?"height":"width",q=M[T],B=M[T]+b[R],V=M[T]-b[j],H=p?-C[k]/2:0,G=v===N?D[k]:C[k],Y=v===N?-C[k]:-D[k],W=t.elements.arrow,J=p&&W?g(W):{width:0,height:0},Z=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},Q=Z[R],K=Z[j],ee=me(0,D[k],J[k]),te=w?D[k]/2-H-ee-Q-L:G-ee-Q-L,re=w?-D[k]/2+H+ee+K+L:Y+ee+K+L,ne=t.elements.arrow&&E(t.elements.arrow),oe=ne?"y"===T?ne.clientTop||0:ne.clientLeft||0:0,ie=t.modifiersData.offset?t.modifiersData.offset[t.placement][T]:0,ae=M[T]+te-ie-oe,se=M[T]+re-ie;if(i){var le=me(p?U(B,ae):B,q,p?P(V,se):V);M[T]=le,I[T]=le-q}if(s){var ue="x"===T?_:O,ce="x"===T?A:x,de=M[S],fe=de+b[ue],pe=de-b[ce],ge=me(p?U(fe,ae):fe,de,p?P(pe,se):pe);M[S]=ge,I[S]=ge-de}}t.modifiersData[n]=I}},requiresIfExists:["offset"]},he={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,r=e.state,n=e.name,o=e.options,i=r.elements.arrow,a=r.modifiersData.popperOffsets,s=F(r.placement),l=z(s),u=[O,x].indexOf(s)>=0?"height":"width";if(i&&a){var c=function(e,t){return W("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:J(e,S))}(o.padding,r),d=g(i),f="y"===l?_:O,p="y"===l?A:x,m=r.rects.reference[u]+r.rects.reference[l]-a[l]-r.rects.popper[u],h=a[l]-r.rects.reference[l],b=E(i),y=b?"y"===l?b.clientHeight||0:b.clientWidth||0:0,v=m/2-h/2,w=c[f],T=y-d[u]-c[p],N=y/2-d[u]/2+v,M=me(w,N,T),D=l;r.modifiersData[n]=((t={})[D]=M,t.centerOffset=M-N,t)}},effect:function(e){var t=e.state,r=e.options.element,n=void 0===r?"[data-popper-arrow]":r;null!=n&&("string"!=typeof n||(n=t.elements.popper.querySelector(n)))&&V(t.elements.popper,n)&&(t.elements.arrow=n)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function be(e,t,r){return void 0===r&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function ye(e){return[_,x,A,O].some((function(t){return e[t]>=0}))}var ve={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,r=e.name,n=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=X(t,{elementContext:"reference"}),s=X(t,{altBoundary:!0}),l=be(a,n),u=be(s,o,i),c=ye(l),d=ye(u);t.modifiersData[r]={referenceClippingOffsets:l,popperEscapeOffsets:u,isReferenceHidden:c,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":d})}},we=K({defaultModifiers:[te,re,ie,ae]}),Ee=[te,re,ie,ae,se,pe,ge,he,ve],_e=K({defaultModifiers:Ee});t.applyStyles=ae,t.arrow=he,t.computeStyles=ie,t.createPopper=_e,t.createPopperLite=we,t.defaultModifiers=Ee,t.detectOverflow=X,t.eventListeners=te,t.flip=pe,t.hide=ve,t.offset=se,t.popperGenerator=K,t.popperOffsets=re,t.preventOverflow=ge},621:function(e,t){var r="undefined"!=typeof Element,n="function"==typeof Map,o="function"==typeof Set,i="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function a(e,t){if(e===t)return!0;if(e&&t&&"object"==typeof e&&"object"==typeof t){if(e.constructor!==t.constructor)return!1;var s,l,u,c;if(Array.isArray(e)){if((s=e.length)!=t.length)return!1;for(l=s;0!=l--;)if(!a(e[l],t[l]))return!1;return!0}if(n&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(c=e.entries();!(l=c.next()).done;)if(!t.has(l.value[0]))return!1;for(c=e.entries();!(l=c.next()).done;)if(!a(l.value[1],t.get(l.value[0])))return!1;return!0}if(o&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(c=e.entries();!(l=c.next()).done;)if(!t.has(l.value[0]))return!1;return!0}if(i&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if((s=e.length)!=t.length)return!1;for(l=s;0!=l--;)if(e[l]!==t[l])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===t.toString();if((s=(u=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(l=s;0!=l--;)if(!Object.prototype.hasOwnProperty.call(t,u[l]))return!1;if(r&&e instanceof Element)return!1;for(l=s;0!=l--;)if(("_owner"!==u[l]&&"__v"!==u[l]&&"__o"!==u[l]||!e.$$typeof)&&!a(e[u[l]],t[u[l]]))return!1;return!0}return e!=e&&t!=t}e.exports=function(e,t){try{return a(e,t)}catch(e){if((e.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw e}}},622:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Reference=function(e){var t=e.children,r=e.innerRef,n=o.useContext(a.ManagerReferenceNodeSetterContext),l=o.useCallback((function(e){(0,s.setRef)(r,e),(0,s.safeInvoke)(n,e)}),[r,n]);return o.useEffect((function(){return function(){return(0,s.setRef)(r,null)}})),o.useEffect((function(){(0,i.default)(Boolean(n),"`Reference` should not be used outside of a `Manager` component.")}),[n]),(0,s.unwrapArray)(t)({ref:l})};var n,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var i=n?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(r,o,i):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}(r(2)),i=(n=r(623))&&n.__esModule?n:{default:n},a=r(249),s=r(250);function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}},623:function(e,t,r){"use strict";e.exports=function(){}},625:function(e,t,r){switch(window.__kbnThemeTag__){case"v8dark":return r(626);case"v8light":return r(628)}},626:function(e,t,r){var n=r(103),o=r(627);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);n(o,{insert:"head",singleton:!1}),e.exports=o.locals||{}},627:function(e,t,r){(t=r(104)(!1)).push([e.i,".mlSwimLaneContainer .echLegendListContainer{height:34px!important}.mlSwimLaneContainer .echLegendList{display:flex!important;flex-wrap:nowrap;justify-content:space-between!important;position:absolute;right:0}",""]),e.exports=t},628:function(e,t,r){var n=r(103),o=r(629);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);n(o,{insert:"head",singleton:!1}),e.exports=o.locals||{}},629:function(e,t,r){(t=r(104)(!1)).push([e.i,".mlSwimLaneContainer .echLegendListContainer{height:34px!important}.mlSwimLaneContainer .echLegendList{display:flex!important;flex-wrap:nowrap;justify-content:space-between!important;position:absolute;right:0}",""]),e.exports=t},630:function(e,t,r){!function(e,t,r,n,o,i){"use strict";function a(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e)}return this}function s(e,t){switch(arguments.length){case 0:break;case 1:"function"==typeof e?this.interpolator(e):this.range(e);break;default:this.domain(e),"function"==typeof t?this.interpolator(t):this.range(t)}return this}const l=Symbol("implicit");function u(){var e=new Map,t=[],r=[],n=l;function o(o){var i=o+"",a=e.get(i);if(!a){if(n!==l)return n;e.set(i,a=t.push(o))}return r[(a-1)%r.length]}return o.domain=function(r){if(!arguments.length)return t.slice();t=[],e=new Map;for(const n of r){const r=n+"";e.has(r)||e.set(r,t.push(n))}return o},o.range=function(e){return arguments.length?(r=Array.from(e),o):r.slice()},o.unknown=function(e){return arguments.length?(n=e,o):n},o.copy=function(){return u(t,r).unknown(n)},a.apply(o,arguments),o}function c(){var e,r,n=u().unknown(void 0),o=n.domain,i=n.range,s=0,l=1,d=!1,f=0,p=0,m=.5;function g(){var n=o().length,a=lt&&(r=e,e=t,t=r),c=function(r){return Math.max(e,Math.min(t,r))}),o=n>2?b:h,i=a=null,g}function g(t){return null==t||isNaN(t=+t)?n:(i||(i=o(s.map(e),l,u)))(e(c(t)))}return g.invert=function(n){return c(t((a||(a=o(l,s.map(e),r.interpolateNumber)))(n)))},g.domain=function(e){return arguments.length?(s=Array.from(e,f),d()):s.slice()},g.range=function(e){return arguments.length?(l=Array.from(e),d()):l.slice()},g.rangeRound=function(e){return l=Array.from(e),u=r.interpolateRound,d()},g.clamp=function(e){return arguments.length?(c=!!e||m,d()):c!==m},g.interpolate=function(e){return arguments.length?(u=e,d()):u},g.unknown=function(e){return arguments.length?(n=e,g):n},function(r,n){return e=r,t=n,d()}}function w(){return v()(m,m)}function E(e,r,o,i){var a,s=t.tickStep(e,r,o);switch((i=n.formatSpecifier(null==i?",f":i)).type){case"s":var l=Math.max(Math.abs(e),Math.abs(r));return null!=i.precision||isNaN(a=n.precisionPrefix(s,l))||(i.precision=a),n.formatPrefix(i,l);case"":case"e":case"g":case"p":case"r":null!=i.precision||isNaN(a=n.precisionRound(s,Math.max(Math.abs(e),Math.abs(r))))||(i.precision=a-("e"===i.type));break;case"f":case"%":null!=i.precision||isNaN(a=n.precisionFixed(s))||(i.precision=a-2*("%"===i.type))}return n.format(i)}function _(e){var r=e.domain;return e.ticks=function(e){var n=r();return t.ticks(n[0],n[n.length-1],null==e?10:e)},e.tickFormat=function(e,t){var n=r();return E(n[0],n[n.length-1],null==e?10:e,t)},e.nice=function(n){null==n&&(n=10);var o,i,a=r(),s=0,l=a.length-1,u=a[s],c=a[l],d=10;for(c0;){if((i=t.tickIncrement(u,c,n))===o)return a[s]=u,a[l]=c,r(a);if(i>0)u=Math.floor(u/i)*i,c=Math.ceil(c/i)*i;else{if(!(i<0))break;u=Math.ceil(u*i)/i,c=Math.floor(c*i)/i}o=i}return e},e}function A(e,t){var r,n=0,o=(e=e.slice()).length-1,i=e[n],a=e[o];return a0){for(;p<=m;++p)for(d=1,c=o(p);du)break;h.push(f)}}else for(;p<=m;++p)for(d=s-1,c=o(p);d>=1;--d)if(!((f=c*d)u)break;h.push(f)}2*h.length0?i[t-1]:n[0],t=i?[s[i-1],o]:[s[t-1],s[t]]},u.unknown=function(e){return arguments.length?(r=e,u):u},u.thresholds=function(){return s.slice()},u.copy=function(){return e().domain([n,o]).range(l).unknown(r)},a.apply(_(u),arguments)},e.scaleRadial=function e(){var t,r=w(),n=[0,1],o=!1;function i(e){var n=function(e){return Math.sign(e)*Math.sqrt(Math.abs(e))}(r(e));return isNaN(n)?t:o?Math.round(n):n}return i.invert=function(e){return r.invert(P(e))},i.domain=function(e){return arguments.length?(r.domain(e),i):r.domain()},i.range=function(e){return arguments.length?(r.range((n=Array.from(e,f)).map(P)),i):n.slice()},i.rangeRound=function(e){return i.range(e).round(!0)},i.round=function(e){return arguments.length?(o=!!e,i):o},i.clamp=function(e){return arguments.length?(r.clamp(e),i):r.clamp()},i.unknown=function(e){return arguments.length?(t=e,i):t},i.copy=function(){return e(r.domain(),n).round(o).clamp(r.clamp()).unknown(t)},a.apply(i,arguments),_(i)},e.scaleSequential=function e(){var t=_(H()(m));return t.copy=function(){return G(t,e())},s.apply(t,arguments)},e.scaleSequentialLog=function e(){var t=D(H()).domain([1,10]);return t.copy=function(){return G(t,e()).base(t.base())},s.apply(t,arguments)},e.scaleSequentialPow=$,e.scaleSequentialQuantile=function e(){var r=[],n=m;function o(e){if(null!=e&&!isNaN(e=+e))return n((t.bisect(r,e,1)-1)/(r.length-1))}return o.domain=function(e){if(!arguments.length)return r.slice();r=[];for(let t of e)null==t||isNaN(t=+t)||r.push(t);return r.sort(t.ascending),o},o.interpolator=function(e){return arguments.length?(n=e,o):n},o.range=function(){return r.map(((e,t)=>n(t/(r.length-1))))},o.quantiles=function(e){return Array.from({length:e+1},((n,o)=>t.quantile(r,o/e)))},o.copy=function(){return e(n).domain(r)},s.apply(o,arguments)},e.scaleSequentialSqrt=function(){return $.apply(null,arguments).exponent(.5)},e.scaleSequentialSymlog=function e(){var t=I(H());return t.copy=function(){return G(t,e()).constant(t.constant())},s.apply(t,arguments)},e.scaleSqrt=function(){return F.apply(null,arguments).exponent(.5)},e.scaleSymlog=function e(){var t=I(v());return t.copy=function(){return y(t,e()).constant(t.constant())},a.apply(t,arguments)},e.scaleThreshold=function e(){var r,n=[.5],o=[0,1],i=1;function s(e){return null!=e&&e<=e?o[t.bisect(n,e,0,i)]:r}return s.domain=function(e){return arguments.length?(n=Array.from(e),i=Math.min(n.length,o.length-1),s):n.slice()},s.range=function(e){return arguments.length?(o=Array.from(e),i=Math.min(n.length,o.length-1),s):o.slice()},s.invertExtent=function(e){var t=o.indexOf(e);return[n[t-1],n[t]]},s.unknown=function(e){return arguments.length?(r=e,s):r},s.copy=function(){return e().domain(n).range(o).unknown(r)},a.apply(s,arguments)},e.scaleTime=function(){return a.apply(V(o.timeTicks,o.timeTickInterval,o.timeYear,o.timeMonth,o.timeWeek,o.timeDay,o.timeHour,o.timeMinute,o.timeSecond,i.timeFormat).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)},e.scaleUtc=function(){return a.apply(V(o.utcTicks,o.utcTickInterval,o.utcYear,o.utcMonth,o.utcWeek,o.utcDay,o.utcHour,o.utcMinute,o.utcSecond,i.utcFormat).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)},e.tickFormat=E,Object.defineProperty(e,"__esModule",{value:!0})}(t,r(344),r(631),r(633),r(345),r(634))},631:function(e,t,r){!function(e,t){"use strict";function r(e,t,r,n,o){var i=e*e,a=i*e;return((1-3*e+3*i-a)*t+(4-6*i+3*a)*r+(1+3*e+3*i-3*a)*n+a*o)/6}function n(e){var t=e.length-1;return function(n){var o=n<=0?n=0:n>=1?(n=1,t-1):Math.floor(n*t),i=e[o],a=e[o+1],s=o>0?e[o-1]:2*i-a,l=o()=>e;function a(e,t){return function(r){return e+r*t}}function s(e,t){var r=t-e;return r?a(e,r>180||r<-180?r-360*Math.round(r/360):r):i(isNaN(e)?t:e)}function l(e){return 1==(e=+e)?u:function(t,r){return r-t?function(e,t,r){return e=Math.pow(e,r),t=Math.pow(t,r)-e,r=1/r,function(n){return Math.pow(e+n*t,r)}}(t,r,e):i(isNaN(t)?r:t)}}function u(e,t){var r=t-e;return r?a(e,r):i(isNaN(e)?t:e)}var c=function e(r){var n=l(r);function o(e,r){var o=n((e=t.rgb(e)).r,(r=t.rgb(r)).r),i=n(e.g,r.g),a=n(e.b,r.b),s=u(e.opacity,r.opacity);return function(t){return e.r=o(t),e.g=i(t),e.b=a(t),e.opacity=s(t),e+""}}return o.gamma=e,o}(1);function d(e){return function(r){var n,o,i=r.length,a=new Array(i),s=new Array(i),l=new Array(i);for(n=0;ni&&(o=t.slice(i,o),s[a]?s[a]+=o:s[++a]=o),(r=r[0])===(n=n[0])?s[a]?s[a]+=n:s[++a]=n:(s[++a]=null,l.push({i:a,x:y(r,n)})),i=E.lastIndex;return i180?t+=360:t-e>180&&(e+=360),i.push({i:r.push(o(r)+"rotate(",null,n)-2,x:y(e,t)})):t&&r.push(o(r)+"rotate("+t+n)}(i.rotate,a.rotate,s,l),function(e,t,r,i){e!==t?i.push({i:r.push(o(r)+"skewX(",null,n)-2,x:y(e,t)}):t&&r.push(o(r)+"skewX("+t+n)}(i.skewX,a.skewX,s,l),function(e,t,r,n,i,a){if(e!==r||t!==n){var s=i.push(o(i)+"scale(",null,",",null,")");a.push({i:s-4,x:y(e,r)},{i:s-2,x:y(t,n)})}else 1===r&&1===n||i.push(o(i)+"scale("+r+","+n+")")}(i.scaleX,i.scaleY,a.scaleX,a.scaleY,s,l),i=a=null,function(e){for(var t,r=-1,n=l.length;++r>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===r?E(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===r?E(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=c.exec(e))?new x(t[1],t[2],t[3],1):(t=d.exec(e))?new x(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=f.exec(e))?E(t[1],t[2],t[3],t[4]):(t=p.exec(e))?E(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=m.exec(e))?N(t[1],t[2]/100,t[3]/100,1):(t=g.exec(e))?N(t[1],t[2]/100,t[3]/100,t[4]):h.hasOwnProperty(e)?w(h[e]):"transparent"===e?new x(NaN,NaN,NaN,0):null}function w(e){return new x(e>>16&255,e>>8&255,255&e,1)}function E(e,t,r,n){return n<=0&&(e=t=r=NaN),new x(e,t,r,n)}function _(e){return e instanceof n||(e=v(e)),e?new x((e=e.rgb()).r,e.g,e.b,e.opacity):new x}function A(e,t,r,n){return 1===arguments.length?_(e):new x(e,t,r,null==n?1:n)}function x(e,t,r,n){this.r=+e,this.g=+t,this.b=+r,this.opacity=+n}function O(){return"#"+S(this.r)+S(this.g)+S(this.b)}function T(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===e?")":", "+e+")")}function S(e){return((e=Math.max(0,Math.min(255,Math.round(e)||0)))<16?"0":"")+e.toString(16)}function N(e,t,r,n){return n<=0?e=t=r=NaN:r<=0||r>=1?e=t=NaN:t<=0&&(e=NaN),new C(e,t,r,n)}function M(e){if(e instanceof C)return new C(e.h,e.s,e.l,e.opacity);if(e instanceof n||(e=v(e)),!e)return new C;if(e instanceof C)return e;var t=(e=e.rgb()).r/255,r=e.g/255,o=e.b/255,i=Math.min(t,r,o),a=Math.max(t,r,o),s=NaN,l=a-i,u=(a+i)/2;return l?(s=t===a?(r-o)/l+6*(r0&&u<1?0:s,new C(s,l,u,e.opacity)}function D(e,t,r,n){return 1===arguments.length?M(e):new C(e,t,r,null==n?1:n)}function C(e,t,r,n){this.h=+e,this.s=+t,this.l=+r,this.opacity=+n}function L(e,t,r){return 255*(e<60?t+(r-t)*e/60:e<180?r:e<240?t+(r-t)*(240-e)/60:t)}t(n,v,{copy:function(e){return Object.assign(new this.constructor,this,e)},displayable:function(){return this.rgb().displayable()},hex:b,formatHex:b,formatHsl:function(){return M(this).formatHsl()},formatRgb:y,toString:y}),t(x,A,r(n,{brighter:function(e){return e=null==e?i:Math.pow(i,e),new x(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=null==e?o:Math.pow(o,e),new x(this.r*e,this.g*e,this.b*e,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:O,formatHex:O,formatRgb:T,toString:T})),t(C,D,r(n,{brighter:function(e){return e=null==e?i:Math.pow(i,e),new C(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?o:Math.pow(o,e),new C(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,r=this.l,n=r+(r<.5?r:1-r)*t,o=2*r-n;return new x(L(e>=240?e-240:e+120,o,n),L(e,o,n),L(e<120?e+240:e-120,o,n),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===e?")":", "+e+")")}}));const I=Math.PI/180,R=180/Math.PI,j=.96422,k=1,q=.82521,F=4/29,P=6/29,U=3*P*P,B=P*P*P;function V(e){if(e instanceof G)return new G(e.l,e.a,e.b,e.opacity);if(e instanceof Z)return Q(e);e instanceof x||(e=_(e));var t,r,n=W(e.r),o=W(e.g),i=W(e.b),a=$((.2225045*n+.7168786*o+.0606169*i)/k);return n===o&&o===i?t=r=a:(t=$((.4360747*n+.3850649*o+.1430804*i)/j),r=$((.0139322*n+.0971045*o+.7141733*i)/q)),new G(116*a-16,500*(t-a),200*(a-r),e.opacity)}function H(e,t,r,n){return 1===arguments.length?V(e):new G(e,t,r,null==n?1:n)}function G(e,t,r,n){this.l=+e,this.a=+t,this.b=+r,this.opacity=+n}function $(e){return e>B?Math.pow(e,1/3):e/U+F}function z(e){return e>P?e*e*e:U*(e-F)}function Y(e){return 255*(e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055)}function W(e){return(e/=255)<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)}function J(e){if(e instanceof Z)return new Z(e.h,e.c,e.l,e.opacity);if(e instanceof G||(e=V(e)),0===e.a&&0===e.b)return new Z(NaN,01?n[0]+n.slice(2):n,+e.slice(r+1)]}function r(e){return(e=t(Math.abs(e)))?e[1]:NaN}var n,o=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function i(e){if(!(t=o.exec(e)))throw new Error("invalid format: "+e);var t;return new a({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}function a(e){this.fill=void 0===e.fill?" ":e.fill+"",this.align=void 0===e.align?">":e.align+"",this.sign=void 0===e.sign?"-":e.sign+"",this.symbol=void 0===e.symbol?"":e.symbol+"",this.zero=!!e.zero,this.width=void 0===e.width?void 0:+e.width,this.comma=!!e.comma,this.precision=void 0===e.precision?void 0:+e.precision,this.trim=!!e.trim,this.type=void 0===e.type?"":e.type+""}function s(e,r){var n=t(e,r);if(!n)return e+"";var o=n[0],i=n[1];return i<0?"0."+new Array(-i).join("0")+o:o.length>i+1?o.slice(0,i+1)+"."+o.slice(i+1):o+new Array(i-o.length+2).join("0")}i.prototype=a.prototype,a.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};var l={"%":(e,t)=>(100*e).toFixed(t),b:e=>Math.round(e).toString(2),c:e=>e+"",d:function(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)},e:(e,t)=>e.toExponential(t),f:(e,t)=>e.toFixed(t),g:(e,t)=>e.toPrecision(t),o:e=>Math.round(e).toString(8),p:(e,t)=>s(100*e,t),r:s,s:function(e,r){var o=t(e,r);if(!o)return e+"";var i=o[0],a=o[1],s=a-(n=3*Math.max(-8,Math.min(8,Math.floor(a/3))))+1,l=i.length;return s===l?i:s>l?i+new Array(s-l+1).join("0"):s>0?i.slice(0,s)+"."+i.slice(s):"0."+new Array(1-s).join("0")+t(e,Math.max(0,r+s-1))[0]},X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)};function u(e){return e}var c,d=Array.prototype.map,f=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function p(e){var t,o,a=void 0===e.grouping||void 0===e.thousands?u:(t=d.call(e.grouping,Number),o=e.thousands+"",function(e,r){for(var n=e.length,i=[],a=0,s=t[0],l=0;n>0&&s>0&&(l+s+1>r&&(s=Math.max(1,r-l)),i.push(e.substring(n-=s,n+s)),!((l+=s+1)>r));)s=t[a=(a+1)%t.length];return i.reverse().join(o)}),s=void 0===e.currency?"":e.currency[0]+"",c=void 0===e.currency?"":e.currency[1]+"",p=void 0===e.decimal?".":e.decimal+"",m=void 0===e.numerals?u:function(e){return function(t){return t.replace(/[0-9]/g,(function(t){return e[+t]}))}}(d.call(e.numerals,String)),g=void 0===e.percent?"%":e.percent+"",h=void 0===e.minus?"−":e.minus+"",b=void 0===e.nan?"NaN":e.nan+"";function y(e){var t=(e=i(e)).fill,r=e.align,o=e.sign,u=e.symbol,d=e.zero,y=e.width,v=e.comma,w=e.precision,E=e.trim,_=e.type;"n"===_?(v=!0,_="g"):l[_]||(void 0===w&&(w=12),E=!0,_="g"),(d||"0"===t&&"="===r)&&(d=!0,t="0",r="=");var A="$"===u?s:"#"===u&&/[boxX]/.test(_)?"0"+_.toLowerCase():"",x="$"===u?c:/[%p]/.test(_)?g:"",O=l[_],T=/[defgprs%]/.test(_);function S(e){var i,s,l,u=A,c=x;if("c"===_)c=O(e)+c,e="";else{var g=(e=+e)<0||1/e<0;if(e=isNaN(e)?b:O(Math.abs(e),w),E&&(e=function(e){e:for(var t,r=e.length,n=1,o=-1;n0&&(o=0)}return o>0?e.slice(0,o)+e.slice(t+1):e}(e)),g&&0==+e&&"+"!==o&&(g=!1),u=(g?"("===o?o:h:"-"===o||"("===o?"":o)+u,c=("s"===_?f[8+n/3]:"")+c+(g&&"("===o?")":""),T)for(i=-1,s=e.length;++i(l=e.charCodeAt(i))||l>57){c=(46===l?p+e.slice(i+1):e.slice(i))+c,e=e.slice(0,i);break}}v&&!d&&(e=a(e,1/0));var S=u.length+e.length+c.length,N=S>1)+u+e+c+N.slice(S);break;default:e=N+u+e+c}return m(e)}return w=void 0===w?6:/[gprs]/.test(_)?Math.max(1,Math.min(21,w)):Math.max(0,Math.min(20,w)),S.toString=function(){return e+""},S}return{format:y,formatPrefix:function(e,t){var n=y(((e=i(e)).type="f",e)),o=3*Math.max(-8,Math.min(8,Math.floor(r(t)/3))),a=Math.pow(10,-o),s=f[8+o/3];return function(e){return n(a*e)+s}}}}function m(t){return c=p(t),e.format=c.format,e.formatPrefix=c.formatPrefix,c}m({thousands:",",grouping:[3],currency:["$",""]}),e.FormatSpecifier=a,e.formatDefaultLocale=m,e.formatLocale=p,e.formatSpecifier=i,e.precisionFixed=function(e){return Math.max(0,-r(Math.abs(e)))},e.precisionPrefix=function(e,t){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(r(t)/3)))-r(Math.abs(e)))},e.precisionRound=function(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,r(t)-r(e))+1},Object.defineProperty(e,"__esModule",{value:!0})}(t)},634:function(e,t,r){!function(e,t){"use strict";function r(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function n(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function o(e,t,r){return{y:e,m:t,d:r,H:0,M:0,S:0,L:0}}function i(e){var i=e.dateTime,a=e.date,l=e.time,u=e.periods,c=e.days,d=e.shortDays,f=e.months,z=e.shortMonths,fe=p(u),xe=m(u),Oe=p(c),Te=m(c),Se=p(d),Ne=m(d),Me=p(f),De=m(f),Ce=p(z),Le=m(z),Ie={a:function(e){return d[e.getDay()]},A:function(e){return c[e.getDay()]},b:function(e){return z[e.getMonth()]},B:function(e){return f[e.getMonth()]},c:null,d:j,e:j,f:U,g:Z,G:K,H:k,I:q,j:F,L:P,m:B,M:V,p:function(e){return u[+(e.getHours()>=12)]},q:function(e){return 1+~~(e.getMonth()/3)},Q:_e,s:Ae,S:H,u:G,U:$,V:Y,w:W,W:J,x:null,X:null,y:X,Y:Q,Z:ee,"%":Ee},Re={a:function(e){return d[e.getUTCDay()]},A:function(e){return c[e.getUTCDay()]},b:function(e){return z[e.getUTCMonth()]},B:function(e){return f[e.getUTCMonth()]},c:null,d:te,e:te,f:ae,g:be,G:ve,H:re,I:ne,j:oe,L:ie,m:se,M:le,p:function(e){return u[+(e.getUTCHours()>=12)]},q:function(e){return 1+~~(e.getUTCMonth()/3)},Q:_e,s:Ae,S:ue,u:ce,U:de,V:pe,w:me,W:ge,x:null,X:null,y:he,Y:ye,Z:we,"%":Ee},je={a:function(e,t,r){var n=Se.exec(t.slice(r));return n?(e.w=Ne.get(n[0].toLowerCase()),r+n[0].length):-1},A:function(e,t,r){var n=Oe.exec(t.slice(r));return n?(e.w=Te.get(n[0].toLowerCase()),r+n[0].length):-1},b:function(e,t,r){var n=Ce.exec(t.slice(r));return n?(e.m=Le.get(n[0].toLowerCase()),r+n[0].length):-1},B:function(e,t,r){var n=Me.exec(t.slice(r));return n?(e.m=De.get(n[0].toLowerCase()),r+n[0].length):-1},c:function(e,t,r){return Fe(e,i,t,r)},d:O,e:O,f:C,g:E,G:w,H:S,I:S,j:T,L:D,m:x,M:N,p:function(e,t,r){var n=fe.exec(t.slice(r));return n?(e.p=xe.get(n[0].toLowerCase()),r+n[0].length):-1},q:A,Q:I,s:R,S:M,u:h,U:b,V:y,w:g,W:v,x:function(e,t,r){return Fe(e,a,t,r)},X:function(e,t,r){return Fe(e,l,t,r)},y:E,Y:w,Z:_,"%":L};function ke(e,t){return function(r){var n,o,i,a=[],l=-1,u=0,c=e.length;for(r instanceof Date||(r=new Date(+r));++l53)return null;"w"in u||(u.w=1),"Z"in u?(l=(s=n(o(u.y,0,1))).getUTCDay(),s=l>4||0===l?t.utcMonday.ceil(s):t.utcMonday(s),s=t.utcDay.offset(s,7*(u.V-1)),u.y=s.getUTCFullYear(),u.m=s.getUTCMonth(),u.d=s.getUTCDate()+(u.w+6)%7):(l=(s=r(o(u.y,0,1))).getDay(),s=l>4||0===l?t.timeMonday.ceil(s):t.timeMonday(s),s=t.timeDay.offset(s,7*(u.V-1)),u.y=s.getFullYear(),u.m=s.getMonth(),u.d=s.getDate()+(u.w+6)%7)}else("W"in u||"U"in u)&&("w"in u||(u.w="u"in u?u.u%7:"W"in u?1:0),l="Z"in u?n(o(u.y,0,1)).getUTCDay():r(o(u.y,0,1)).getDay(),u.m=0,u.d="W"in u?(u.w+6)%7+7*u.W-(l+5)%7:u.w+7*u.U-(l+6)%7);return"Z"in u?(u.H+=u.Z/100|0,u.M+=u.Z%100,n(u)):r(u)}}function Fe(e,t,r,n){for(var o,i,a=0,l=t.length,u=r.length;a=u)return-1;if(37===(o=t.charCodeAt(a++))){if(o=t.charAt(a++),!(i=je[o in s?t.charAt(a++):o])||(n=i(e,r,n))<0)return-1}else if(o!=r.charCodeAt(n++))return-1}return n}return Ie.x=ke(a,Ie),Ie.X=ke(l,Ie),Ie.c=ke(i,Ie),Re.x=ke(a,Re),Re.X=ke(l,Re),Re.c=ke(i,Re),{format:function(e){var t=ke(e+="",Ie);return t.toString=function(){return e},t},parse:function(e){var t=qe(e+="",!1);return t.toString=function(){return e},t},utcFormat:function(e){var t=ke(e+="",Re);return t.toString=function(){return e},t},utcParse:function(e){var t=qe(e+="",!0);return t.toString=function(){return e},t}}}var a,s={"-":"",_:" ",0:"0"},l=/^\s*\d+/,u=/^%/,c=/[\\^$*+?|[\]().{}]/g;function d(e,t,r){var n=e<0?"-":"",o=(n?-e:e)+"",i=o.length;return n+(i[e.toLowerCase(),t])))}function g(e,t,r){var n=l.exec(t.slice(r,r+1));return n?(e.w=+n[0],r+n[0].length):-1}function h(e,t,r){var n=l.exec(t.slice(r,r+1));return n?(e.u=+n[0],r+n[0].length):-1}function b(e,t,r){var n=l.exec(t.slice(r,r+2));return n?(e.U=+n[0],r+n[0].length):-1}function y(e,t,r){var n=l.exec(t.slice(r,r+2));return n?(e.V=+n[0],r+n[0].length):-1}function v(e,t,r){var n=l.exec(t.slice(r,r+2));return n?(e.W=+n[0],r+n[0].length):-1}function w(e,t,r){var n=l.exec(t.slice(r,r+4));return n?(e.y=+n[0],r+n[0].length):-1}function E(e,t,r){var n=l.exec(t.slice(r,r+2));return n?(e.y=+n[0]+(+n[0]>68?1900:2e3),r+n[0].length):-1}function _(e,t,r){var n=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(r,r+6));return n?(e.Z=n[1]?0:-(n[2]+(n[3]||"00")),r+n[0].length):-1}function A(e,t,r){var n=l.exec(t.slice(r,r+1));return n?(e.q=3*n[0]-3,r+n[0].length):-1}function x(e,t,r){var n=l.exec(t.slice(r,r+2));return n?(e.m=n[0]-1,r+n[0].length):-1}function O(e,t,r){var n=l.exec(t.slice(r,r+2));return n?(e.d=+n[0],r+n[0].length):-1}function T(e,t,r){var n=l.exec(t.slice(r,r+3));return n?(e.m=0,e.d=+n[0],r+n[0].length):-1}function S(e,t,r){var n=l.exec(t.slice(r,r+2));return n?(e.H=+n[0],r+n[0].length):-1}function N(e,t,r){var n=l.exec(t.slice(r,r+2));return n?(e.M=+n[0],r+n[0].length):-1}function M(e,t,r){var n=l.exec(t.slice(r,r+2));return n?(e.S=+n[0],r+n[0].length):-1}function D(e,t,r){var n=l.exec(t.slice(r,r+3));return n?(e.L=+n[0],r+n[0].length):-1}function C(e,t,r){var n=l.exec(t.slice(r,r+6));return n?(e.L=Math.floor(n[0]/1e3),r+n[0].length):-1}function L(e,t,r){var n=u.exec(t.slice(r,r+1));return n?r+n[0].length:-1}function I(e,t,r){var n=l.exec(t.slice(r));return n?(e.Q=+n[0],r+n[0].length):-1}function R(e,t,r){var n=l.exec(t.slice(r));return n?(e.s=+n[0],r+n[0].length):-1}function j(e,t){return d(e.getDate(),t,2)}function k(e,t){return d(e.getHours(),t,2)}function q(e,t){return d(e.getHours()%12||12,t,2)}function F(e,r){return d(1+t.timeDay.count(t.timeYear(e),e),r,3)}function P(e,t){return d(e.getMilliseconds(),t,3)}function U(e,t){return P(e,t)+"000"}function B(e,t){return d(e.getMonth()+1,t,2)}function V(e,t){return d(e.getMinutes(),t,2)}function H(e,t){return d(e.getSeconds(),t,2)}function G(e){var t=e.getDay();return 0===t?7:t}function $(e,r){return d(t.timeSunday.count(t.timeYear(e)-1,e),r,2)}function z(e){var r=e.getDay();return r>=4||0===r?t.timeThursday(e):t.timeThursday.ceil(e)}function Y(e,r){return e=z(e),d(t.timeThursday.count(t.timeYear(e),e)+(4===t.timeYear(e).getDay()),r,2)}function W(e){return e.getDay()}function J(e,r){return d(t.timeMonday.count(t.timeYear(e)-1,e),r,2)}function X(e,t){return d(e.getFullYear()%100,t,2)}function Z(e,t){return d((e=z(e)).getFullYear()%100,t,2)}function Q(e,t){return d(e.getFullYear()%1e4,t,4)}function K(e,r){var n=e.getDay();return d((e=n>=4||0===n?t.timeThursday(e):t.timeThursday.ceil(e)).getFullYear()%1e4,r,4)}function ee(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+d(t/60|0,"0",2)+d(t%60,"0",2)}function te(e,t){return d(e.getUTCDate(),t,2)}function re(e,t){return d(e.getUTCHours(),t,2)}function ne(e,t){return d(e.getUTCHours()%12||12,t,2)}function oe(e,r){return d(1+t.utcDay.count(t.utcYear(e),e),r,3)}function ie(e,t){return d(e.getUTCMilliseconds(),t,3)}function ae(e,t){return ie(e,t)+"000"}function se(e,t){return d(e.getUTCMonth()+1,t,2)}function le(e,t){return d(e.getUTCMinutes(),t,2)}function ue(e,t){return d(e.getUTCSeconds(),t,2)}function ce(e){var t=e.getUTCDay();return 0===t?7:t}function de(e,r){return d(t.utcSunday.count(t.utcYear(e)-1,e),r,2)}function fe(e){var r=e.getUTCDay();return r>=4||0===r?t.utcThursday(e):t.utcThursday.ceil(e)}function pe(e,r){return e=fe(e),d(t.utcThursday.count(t.utcYear(e),e)+(4===t.utcYear(e).getUTCDay()),r,2)}function me(e){return e.getUTCDay()}function ge(e,r){return d(t.utcMonday.count(t.utcYear(e)-1,e),r,2)}function he(e,t){return d(e.getUTCFullYear()%100,t,2)}function be(e,t){return d((e=fe(e)).getUTCFullYear()%100,t,2)}function ye(e,t){return d(e.getUTCFullYear()%1e4,t,4)}function ve(e,r){var n=e.getUTCDay();return d((e=n>=4||0===n?t.utcThursday(e):t.utcThursday.ceil(e)).getUTCFullYear()%1e4,r,4)}function we(){return"+0000"}function Ee(){return"%"}function _e(e){return+e}function Ae(e){return Math.floor(+e/1e3)}function xe(t){return a=i(t),e.timeFormat=a.format,e.timeParse=a.parse,e.utcFormat=a.utcFormat,e.utcParse=a.utcParse,a}xe({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],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"]});var Oe="%Y-%m-%dT%H:%M:%S.%LZ";var Te=Date.prototype.toISOString?function(e){return e.toISOString()}:e.utcFormat(Oe);var Se=+new Date("2000-01-01T00:00:00.000Z")?function(e){var t=new Date(e);return isNaN(t)?null:t}:e.utcParse(Oe);e.isoFormat=Te,e.isoParse=Se,e.timeFormatDefaultLocale=xe,e.timeFormatLocale=i,Object.defineProperty(e,"__esModule",{value:!0})}(t,r(345))},98:function(e,t,r){"use strict";let n,o;r.d(t,"g",(function(){return o})),r.d(t,"q",(function(){return i})),r.d(t,"I",(function(){return w})),r.d(t,"J",(function(){return v})),r.d(t,"b",(function(){return b})),r.d(t,"n",(function(){return m})),r.d(t,"t",(function(){return g})),r.d(t,"v",(function(){return U})),r.d(t,"w",(function(){return j})),r.d(t,"x",(function(){return k})),r.d(t,"C",(function(){return I})),r.d(t,"D",(function(){return L})),r.d(t,"G",(function(){return P})),r.d(t,"F",(function(){return R})),r.d(t,"K",(function(){return q})),r.d(t,"L",(function(){return F})),r.d(t,"m",(function(){return M})),r.d(t,"f",(function(){return V})),r.d(t,"p",(function(){return H})),r.d(t,"o",(function(){return G})),r.d(t,"r",(function(){return B})),r.d(t,"E",(function(){return z})),r.d(t,"h",(function(){return A})),r.d(t,"i",(function(){return O})),r.d(t,"j",(function(){return S})),r.d(t,"k",(function(){return x})),r.d(t,"l",(function(){return T})),r.d(t,"a",(function(){return l})),r.d(t,"e",(function(){return s})),r.d(t,"s",(function(){return c})),r.d(t,"u",(function(){return u})),r.d(t,"H",(function(){return p})),r.d(t,"c",(function(){return d})),r.d(t,"d",(function(){return f})),r.d(t,"y",(function(){return Y})),r.d(t,"z",(function(){return W})),r.d(t,"A",(function(){return J})),r.d(t,"B",(function(){return X})),function(e){e.CRITICAL="critical",e.MAJOR="major",e.MINOR="minor",e.WARNING="warning",e.LOW="low",e.UNKNOWN="unknown"}(n||(n={})),function(e){e[e.CRITICAL=75]="CRITICAL",e[e.MAJOR=50]="MAJOR",e[e.MINOR=25]="MINOR",e[e.WARNING=3]="WARNING",e[e.LOW=0]="LOW"}(o||(o={}));const i={CRITICAL:"#fe5050",MAJOR:"#fba740",MINOR:"#fdec25",WARNING:"#8bc8fb",LOW:"#d2e9f7",BLANK:"#ffffff"};var a=r(114);const s="mlcategory",l="doc_count",u="_doc_count",c=["_source","_type","_index","_id","_version","_score"],d="__ml_event_rate_count__",f="metrics",p={id:s,name:s,type:a.a.KEYWORD,aggregatable:!1,counter:!1};let m;!function(e){e.COUNT="count",e.HIGH_COUNT="high_count",e.LOW_COUNT="low_count",e.NON_ZERO_COUNT="non_zero_count",e.HIGH_NON_ZERO_COUNT="high_non_zero_count",e.LOW_NON_ZERO_COUNT="low_non_zero_count",e.DISTINCT_COUNT="distinct_count",e.HIGH_DISTINCT_COUNT="high_distinct_count",e.LOW_DISTINCT_COUNT="low_distinct_count",e.MIN="min",e.MAX="max",e.MEDIAN="median",e.LOW_MEDIAN="low_median",e.HIGH_MEAN="high_mean",e.MEAN="mean",e.LOW_MEAN="low_mean",e.HIGH_MEDIAN="high_median",e.METRIC="metric",e.VARP="varp",e.HIGH_VARP="high_varp",e.LOW_VARP="low_varp",e.SUM="sum",e.HIGH_SUM="high_sum",e.LOW_SUM="low_sum",e.NON_NULL_SUM="non_null_sum",e.HIGH_NON_NULL_SUM="high_non_null_sum",e.LOW_NON_NULL_SUM="low_non_null_sum",e.RARE="rare",e.FREQ_RARE="freq_rare",e.INFO_CONTENT="info_content",e.HIGH_INFO_CONTENT="high_info_content",e.LOW_INFO_CONTENT="low_info_content",e.TIME_OF_DAY="time_of_day",e.TIME_OF_WEEK="time_of_week",e.LAT_LONG="lat_long"}(m||(m={}));const g=[m.NON_ZERO_COUNT,m.HIGH_NON_ZERO_COUNT,m.LOW_NON_ZERO_COUNT,m.NON_NULL_SUM,m.HIGH_NON_NULL_SUM,m.LOW_NON_NULL_SUM];let h,b;function y(){return{kibanaName:null,dslName:null,type:f,mlModelPlotAgg:{max:h.MAX,min:h.MIN}}}!function(e){e.COUNT="count",e.AVG="avg",e.MAX="max",e.MIN="min",e.SUM="sum",e.MEDIAN="median",e.CARDINALITY="cardinality"}(h||(h={})),function(e){e.COUNT="count",e.AVG="avg",e.MAX="max",e.MIN="min",e.SUM="sum",e.PERCENTILES="percentiles",e.CARDINALITY="cardinality"}(b||(b={}));const v=[{id:m.NON_ZERO_COUNT,title:"Non zero count",...y()},{id:m.HIGH_NON_ZERO_COUNT,title:"High non zero count",...y()},{id:m.LOW_NON_ZERO_COUNT,title:"Low non zero count",...y()},{id:m.HIGH_DISTINCT_COUNT,title:"High distinct count",fields:[],...y()},{id:m.LOW_DISTINCT_COUNT,title:"Low distinct count",fields:[],...y()},{id:m.METRIC,title:"Metric",fields:[],...y()},{id:m.VARP,title:"varp",fields:[],...y()},{id:m.HIGH_VARP,title:"High varp",fields:[],...y()},{id:m.LOW_VARP,title:"Low varp",fields:[],...y()},{id:m.NON_NULL_SUM,title:"Non null sum",fields:[],...y()},{id:m.HIGH_NON_NULL_SUM,title:"High non null sum",fields:[],...y()},{id:m.LOW_NON_NULL_SUM,title:"Low non null sum",fields:[],...y()},{id:m.RARE,title:"Rare",...y()},{id:m.FREQ_RARE,title:"Freq rare",...y()},{id:m.INFO_CONTENT,title:"Info content",fields:[],...y()},{id:m.HIGH_INFO_CONTENT,title:"High info content",fields:[],...y()},{id:m.LOW_INFO_CONTENT,title:"Low info content",fields:[],...y()},{id:m.TIME_OF_DAY,title:"Time of day",...y()},{id:m.TIME_OF_WEEK,title:"Time of week",...y()},{id:m.LAT_LONG,title:"Lat long",fields:[],...y()}],w=[{id:m.COUNT,title:"Count",kibanaName:h.COUNT,dslName:b.COUNT,type:f,mlModelPlotAgg:{max:h.MAX,min:h.MIN}},{id:m.HIGH_COUNT,title:"High count",kibanaName:h.COUNT,dslName:b.COUNT,type:f,mlModelPlotAgg:{max:h.MAX,min:h.MIN}},{id:m.LOW_COUNT,title:"Low count",kibanaName:h.COUNT,dslName:b.COUNT,type:f,mlModelPlotAgg:{max:h.MAX,min:h.MIN}},{id:m.MEAN,title:"Mean",kibanaName:h.AVG,dslName:b.AVG,type:f,mlModelPlotAgg:{max:h.AVG,min:h.AVG},fields:[]},{id:m.HIGH_MEAN,title:"High mean",kibanaName:h.AVG,dslName:b.AVG,type:f,mlModelPlotAgg:{max:h.AVG,min:h.AVG},fields:[]},{id:m.LOW_MEAN,title:"Low mean",kibanaName:h.AVG,dslName:b.AVG,type:f,mlModelPlotAgg:{max:h.AVG,min:h.AVG},fields:[]},{id:m.SUM,title:"Sum",kibanaName:h.SUM,dslName:b.SUM,type:f,mlModelPlotAgg:{max:h.SUM,min:h.SUM},fields:[]},{id:m.HIGH_SUM,title:"High sum",kibanaName:h.SUM,dslName:b.SUM,type:f,mlModelPlotAgg:{max:h.SUM,min:h.SUM},fields:[]},{id:m.LOW_SUM,title:"Low sum",kibanaName:h.SUM,dslName:b.SUM,type:f,mlModelPlotAgg:{max:h.SUM,min:h.SUM},fields:[]},{id:m.MEDIAN,title:"Median",kibanaName:h.MEDIAN,dslName:b.PERCENTILES,type:f,mlModelPlotAgg:{max:h.MAX,min:h.MIN},fields:[]},{id:m.HIGH_MEDIAN,title:"High median",kibanaName:h.MEDIAN,dslName:b.PERCENTILES,type:f,mlModelPlotAgg:{max:h.MAX,min:h.MIN},fields:[]},{id:m.LOW_MEDIAN,title:"Low median",kibanaName:h.MEDIAN,dslName:b.PERCENTILES,type:f,mlModelPlotAgg:{max:h.MAX,min:h.MIN},fields:[]},{id:m.MIN,title:"Min",kibanaName:h.MIN,dslName:b.MIN,type:f,mlModelPlotAgg:{max:h.MIN,min:h.MIN},fields:[]},{id:m.MAX,title:"Max",kibanaName:h.MAX,dslName:b.MAX,type:f,mlModelPlotAgg:{max:h.MAX,min:h.MAX},fields:[]},{id:m.DISTINCT_COUNT,title:"Distinct count",kibanaName:h.CARDINALITY,dslName:b.CARDINALITY,type:f,mlModelPlotAgg:{max:h.MAX,min:h.MIN},fields:[]}];var E=r(6);const _={critical:{id:n.CRITICAL,label:E.i18n.translate("xpack.ml.anomalyUtils.severity.criticalLabel",{defaultMessage:"critical"})},major:{id:n.MAJOR,label:E.i18n.translate("xpack.ml.anomalyUtils.severity.majorLabel",{defaultMessage:"major"})},minor:{id:n.MINOR,label:E.i18n.translate("xpack.ml.anomalyUtils.severity.minorLabel",{defaultMessage:"minor"})},warning:{id:n.WARNING,label:E.i18n.translate("xpack.ml.anomalyUtils.severity.warningLabel",{defaultMessage:"warning"})},unknown:{id:n.UNKNOWN,label:E.i18n.translate("xpack.ml.anomalyUtils.severity.unknownLabel",{defaultMessage:"unknown"})},low:{id:n.LOW,label:E.i18n.translate("xpack.ml.anomalyUtils.severityWithLow.lowLabel",{defaultMessage:"low"})}};let A,x,O,T;!function(e){e.SKIP_MODEL_UPDATE="skip_model_update",e.SKIP_RESULT="skip_result"}(A||(A={})),function(e){e.EXCLUDE="exclude",e.INCLUDE="include"}(x||(x={})),function(e){e.ACTUAL="actual",e.DIFF_FROM_TYPICAL="diff_from_typical",e.TYPICAL="typical"}(O||(O={})),function(e){e.LESS_THAN="lt",e.LESS_THAN_OR_EQUAL="lte",e.GREATER_THAN="gt",e.GREATER_THAN_OR_EQUAL="gte"}(T||(T={}));const S=["freq_rare","lat_long","metric","rare"];let N;!function(e){e.BY="by",e.OVER="over",e.PARTITON="partition"}(N||(N={}));const M={ADD:"+",REMOVE:"-"},D=["count","distinct_count","lat_long","mean","max","min","sum","median","varp","info_content","time"],C=["count","distinct_count","lat_long","mean","max","min","sum","median","varp","info_content","time"];function L(e){return"mlcategory"===e.entityName}function I(e){return e>=o.CRITICAL?_.critical:e>=o.MAJOR?_.major:e>=o.MINOR?_.minor:e>=o.WARNING?_.warning:e>=o.LOW?_.low:_.unknown}function R(e){if(void 0===e.anomaly_score_explanation)return!1;const t=e.anomaly_score_explanation.single_bucket_impact,r=e.anomaly_score_explanation.multi_bucket_impact;return void 0!==r&&0!==r&&!(void 0!==t&&t>r)&&((void 0===t||0===t)&&r>0||void 0!==t&&r>t&&(r-t)*r/t*1.7>=2)}function j(e){return e<2?1:e<4?2:e<7?3:e<12?4:5}function k(e){const t=[];return void 0!==e.partition_field_name&&t.push({fieldName:e.partition_field_name,fieldValue:e.partition_field_value,fieldType:N.PARTITON}),void 0!==e.over_field_name&&t.push({fieldName:e.over_field_name,fieldValue:e.over_field_value,fieldType:N.OVER}),void 0!==e.by_field_name&&void 0===e.over_field_name&&t.push({fieldName:e.by_field_name,fieldValue:e.by_field_value,fieldType:N.BY}),t}function q(e){return D.indexOf(e)>-1}function F(e){return C.indexOf(e)>-1}function P(e){return-1===S.indexOf(e.function)||void 0!==function(e){return void 0!==e.by_field_name&&void 0!==e.by_field_value?e.by_field_name:void 0!==e.over_field_name?e.over_field_name:void 0!==e.partition_field_name?e.partition_field_name:void 0}(e)}const U={toES(e){let t=e;return"mean"===t?t="avg":"distinct_count"===t?t="cardinality":"median"===t&&(t="percentiles"),t},toML(e){let t=e;return"avg"===t?t="mean":"cardinality"===t?t="distinct_count":"percentiles"===t&&(t="median"),t}},B=[{stop:o.LOW,color:i.WARNING},{stop:o.MINOR,color:i.MINOR},{stop:o.MAJOR,color:i.MAJOR},{stop:o.CRITICAL,color:i.CRITICAL}],V={BUCKET:"bucket",RECORD:"record",INFLUENCER:"influencer"},H=["partition_field","over_field","by_field"],G="job_id";var $=r(20);function z(e){return Object($.a)(e,["url_name","url_value","time_range"])&&"string"==typeof e.time_range}function Y(e){return e<1?"< 1":String(parseInt(String(e),10))}function W(e){return e>=o.CRITICAL?_.critical:e>=o.MAJOR?_.major:e>=o.MINOR?_.minor:e>=o.LOW?_.warning:_.unknown}function J(e){return e>=o.CRITICAL?i.CRITICAL:e>=o.MAJOR?i.MAJOR:e>=o.MINOR?i.MINOR:e>=o.WARNING?i.WARNING:e>=o.LOW?i.LOW:i.BLANK}function X(e){return e>=75?n.CRITICAL:e>=50?n.MAJOR:e>=25?n.MINOR:e>=3?n.WARNING:e>=0?n.LOW:n.UNKNOWN}}}]);