/*! 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.ux_bundle_jsonpfunction=window.ux_bundle_jsonpfunction||[]).push([[0],{34:function(t,e,n){"use strict";n.d(e,"l",(function(){return r})),n.d(e,"k",(function(){return i})),n.d(e,"a",(function(){return o})),n.d(e,"d",(function(){return u})),n.d(e,"e",(function(){return a})),n.d(e,"f",(function(){return s})),n.d(e,"j",(function(){return l})),n.d(e,"t",(function(){return f})),n.d(e,"n",(function(){return c})),n.d(e,"q",(function(){return h})),n.d(e,"o",(function(){return d})),n.d(e,"b",(function(){return p})),n.d(e,"r",(function(){return g})),n.d(e,"s",(function(){return y})),n.d(e,"u",(function(){return v})),n.d(e,"p",(function(){return b})),n.d(e,"g",(function(){return w})),n.d(e,"i",(function(){return m})),n.d(e,"m",(function(){return _})),n.d(e,"h",(function(){return x})),n.d(e,"c",(function(){return E}));const r="service.name",i="service.environment",o="agent.name",u="error.exception.message",a="error.exception.type",s="error.grouping_key",l="processor.event",f="user_agent.name",c="transaction.duration.us",h="transaction.type",d="transaction.id",p="client.geo.country_iso_code",g="url.full",y="user_agent.device.name",v="user_agent.os.name",b="transaction.marks.agent.timeToFirstByte",w="transaction.marks.agent.firstContentfulPaint",m="transaction.marks.agent.largestContentfulPaint",_="transaction.experience.tbt",x="transaction.experience.fid",E="transaction.experience.cls"},36:function(t,e,n){"use strict";n.d(e,"a",(function(){return a})),n.d(e,"b",(function(){return s}));var r=n(0);n(34);const i="ENVIRONMENT_ALL",o="ENVIRONMENT_NOT_DEFINED";function u(t){return t&&t!==o?t===i?r.i18n.translate("xpack.ux.filter.environment.allLabel",{defaultMessage:"All"}):t:r.i18n.translate("xpack.ux.filter.environment.notDefinedLabel",{defaultMessage:"Not defined"})}const a={value:i,text:u(i)},s={value:o,text:u(o)}},37:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));const r="page-load"},38:function(t,e,n){"use strict";n.d(e,"a",(function(){return o})),n.d(e,"b",(function(){return u})),n.d(e,"c",(function(){return a}));var r=n(0),i=n(34);const o={transactionUrl:{title:r.i18n.translate("xpack.ux.localFilters.titles.transactionUrl",{defaultMessage:"URL"}),fieldName:i.r},transactionUrlExcluded:{title:r.i18n.translate("xpack.ux.localFilters.titles.transactionUrl",{defaultMessage:"URL"}),fieldName:i.r,excluded:!0},browser:{title:r.i18n.translate("xpack.ux.localFilters.titles.browser",{defaultMessage:"Browser"}),fieldName:i.t},browserExcluded:{title:r.i18n.translate("xpack.ux.localFilters.titles.browser",{defaultMessage:"Browser"}),fieldName:i.t,excluded:!0},device:{title:r.i18n.translate("xpack.ux.localFilters.titles.device",{defaultMessage:"Device"}),fieldName:i.s},deviceExcluded:{title:r.i18n.translate("xpack.ux.localFilters.titles.device",{defaultMessage:"Device"}),fieldName:i.s,excluded:!0},location:{title:r.i18n.translate("xpack.ux.localFilters.titles.location",{defaultMessage:"Location"}),fieldName:i.b},locationExcluded:{title:r.i18n.translate("xpack.ux.localFilters.titles.location",{defaultMessage:"Location"}),fieldName:i.b,excluded:!0},os:{title:r.i18n.translate("xpack.ux.localFilters.titles.os",{defaultMessage:"OS"}),fieldName:i.u},osExcluded:{title:r.i18n.translate("xpack.ux.localFilters.titles.os",{defaultMessage:"OS"}),fieldName:i.u,excluded:!0},serviceName:{title:r.i18n.translate("xpack.ux.localFilters.titles.serviceName",{defaultMessage:"Service name"}),fieldName:i.l}},u=Object.keys(o),a=u.reduce(((t,e)=>({...t,[e]:{...o[e],name:e}})),{})},39:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(9);function i(t,e){return Object(r.mergeWith)({},Object(r.cloneDeep)(t),e,((t,e)=>{if(!Object(r.isPlainObject)(t)||!Object(r.isPlainObject)(e))return e}))}},40:function(t,e,n){"use strict";n.d(e,"b",(function(){return s})),n.d(e,"a",(function(){return l}));var r=n(23),i=n(34),o=n(37),u=n(45),a=n(47);function s({setup:t,urlQuery:e,checkFetchStartFieldExists:n=!0,start:s,end:l}){const{uiFilters:f}=t;return{body:{query:{bool:{filter:[...Object(a.a)(s,l),{term:{[i.q]:o.a}},{terms:{[i.j]:[r.ProcessorEvent.transaction]}},...n?[{exists:{field:"transaction.marks.navigationTiming.fetchStart"}}]:[],...e?[{wildcard:{"url.full":`*${e}*`}}]:[],...Object(u.a)(f)],must_not:[...Object(u.a)(f,!0)]}}}}}function l({setup:t,urlQuery:e,start:n,end:o}){return{body:{query:{bool:{filter:[...Object(a.a)(n,o),{term:{[i.a]:"rum-js"}},{terms:{[i.j]:[r.ProcessorEvent.error]}},...Object(u.a)(t.uiFilters),...e?[{wildcard:{"url.full":`*${e}*`}}]:[]],must_not:[...Object(u.a)(t.uiFilters,!0)]}}}}}},41:function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),n.d(e,"b",(function(){return o}));var r=n(48);let i=()=>{throw new Error("callApmApi has to be initialized before used. Call createCallApmApi first.")};function o(t){i=(e,n)=>{const{params:i}=n,{method:o,pathname:u}=function(t,e={}){const{method:n,pathname:r,version:i}=function(t){var e;const n=t.split(" "),r=n[0].trim().toLowerCase(),i=n[1].trim(),o=null===(e=n[2])||void 0===e?void 0:e.trim();if(!["get","post","put","delete"].includes(r))throw new Error(`Endpoint ${t} was not prefixed with a valid HTTP method`);if(!o&&i.startsWith("/api"))throw new Error(`Missing version for public endpoint ${t}`);return{method:r,pathname:i,version:o}}(t);return{method:n,pathname:Object.keys(e).reduce(((t,n)=>t.replace(`{${n}}`,e[n])),r),version:i}}(e,null==i?void 0:i.path);return Object(r.a)(t,{...n,method:o,pathname:u,body:null==i?void 0:i.body,query:null==i?void 0:i.query})}}},42:function(t,e,n){"use strict";n.d(e,"a",(function(){return u})),n.d(e,"d",(function(){return s})),n.d(e,"b",(function(){return l})),n.d(e,"c",(function(){return f}));var r=n(34),i=n(39),o=n(40);const u=[100,0,0],a=t=>{var e;if(!Array.isArray(t))return null;const n=null!==(e=null==t?void 0:t.map((({value:t})=>{var e;return null!==(e=null==t?void 0:t.toFixed(0))&&void 0!==e?e:0})))&&void 0!==e?e:[];return[Number(null==n?void 0:n[0]),Number(null==n?void 0:n[1])-Number(null==n?void 0:n[0]),100-Number(null==n?void 0:n[1])]};function s(t,e=l){var n,r,i,o,s,f,c;if(!t)return t;const{lcp:h,cls:d,fid:p,tbt:g,fcp:y,lcpRanks:v,fidRanks:b,clsRanks:w,coreVitalPages:m}=null!==(n=t.aggregations)&&void 0!==n?n:{},_=e.toFixed(1);return{coreVitalPages:null!==(r=null==m?void 0:m.doc_count)&&void 0!==r?r:0,cls:null!==(i=null==d?void 0:d.values[_])&&void 0!==i?i:null,fid:null==p?void 0:p.values[_],lcp:null==h?void 0:h.values[_],tbt:null!==(o=null==g?void 0:g.values[_])&&void 0!==o?o:0,fcp:null==y?void 0:y.values[_],lcpRanks:null!=h&&h.values[_]&&null!==(s=a(null==v?void 0:v.values))&&void 0!==s?s:u,fidRanks:null!=p&&p.values[_]&&null!==(f=a(null==b?void 0:b.values))&&void 0!==f?f:u,clsRanks:null!=d&&d.values[_]&&null!==(c=a(null==w?void 0:w.values))&&void 0!==c?c:u}}const l=50;function f(t,e,n,u,a=l){const s={uiFilters:null!=u?u:{}},f=Object(o.b)({setup:s,urlQuery:n,start:t,end:e});return Object(i.a)(f,{body:{size:0,query:{bool:{filter:[...f.body.query.bool.filter]}},aggs:{coreVitalPages:{filter:{exists:{field:"transaction.experience"}}},lcp:{percentiles:{field:r.i,percents:[a]}},fid:{percentiles:{field:r.h,percents:[a]}},cls:{percentiles:{field:r.c,percents:[a]}},tbt:{percentiles:{field:r.m,percents:[a]}},fcp:{percentiles:{field:r.g,percents:[a]}},lcpRanks:{percentile_ranks:{field:r.i,values:[2500,4e3],keyed:!1}},fidRanks:{percentile_ranks:{field:r.h,values:[100,300],keyed:!1}},clsRanks:{percentile_ranks:{field:r.c,values:[.1,.25],keyed:!1}}}}})}},45:function(t,e,n){"use strict";n.d(e,"a",(function(){return u}));var r=n(36),i=n(38),o=n(46);function u(t,e){const n=t;return[...i.b.filter((t=>{const r=t in n;return"string"==typeof t&&(e?t.includes("Excluded")&&r:!t.includes("Excluded")&&r)})).map((t=>{const e=i.c[t],r=n[t];return{terms:{[e.fieldName]:r}}})),...e?[]:Object(o.a)(t.environment||r.a.value)]}},46:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(34),i=n(36);function o(t){return t&&t!==i.a.value?t===i.b.value?[{bool:{must_not:{exists:{field:r.k}}}}]:[{term:{[r.k]:t}}]:[]}},47:function(t,e,n){"use strict";function r(t,e,n="@timestamp"){return[{range:{[n]:{gte:t,lte:e,format:"epoch_millis"}}}]}n.d(e,"a",(function(){return r}))},48:function(t,e,n){"use strict";n.d(e,"b",(function(){return f})),n.d(e,"a",(function(){return c}));var r=n(9),i=n(54),o=n.n(i),u=n(59),a=n.n(u),s=n(13);const l=new o.a({max:100,maxAge:36e5});function f(){l.reset()}async function c({http:t,uiSettings:e},n){const i=e.get(s.enableInspectEsQueries),o=function(t){const{pathname:e,method:n,body:r,query:i,headers:o}=t;return a()({pathname:e,method:n,body:r,query:i,headers:o})}(n),u=l.get(o);if(u)return u;const{pathname:f,method:c="get",...h}=function(t,e){const n=e&&Object(r.startsWith)(t.pathname,"/internal/apm"),{body:i,...o}=t;return{...o,...void 0!==i?{body:JSON.stringify(i)}:{},query:{...t.query,...n?{_inspect:!0}:{}}}}(n,i),d=c.toLowerCase(),p=await t[d](f,h);return function(t){return void 0!==t.isCachable?t.isCachable:!!(t.query&&t.query.start&&t.query.end)&&(Object(r.isString)(t.query.end)&&new Date(t.query.end).getTime()0,serviceName:null===(n=t.aggregations)||void 0===n||null===(r=n.services)||void 0===r||null===(i=r.mostTraffic)||void 0===i||null===(o=i.buckets)||void 0===o||null===(u=o[0])||void 0===u?void 0:u.key}:t}function l({start:t=i()().subtract(24,"h").valueOf(),end:e=i()().valueOf()}){return{body:{size:0,query:{bool:{filter:[{term:{[o.q]:u.a}},{term:{[o.j]:"transaction"}}]}},aggs:{services:{filter:Object(a.a)(t,e)[0],aggs:{mostTraffic:{terms:{field:o.l,size:1}}}}}}}}},54:function(t,e,n){"use strict";t.exports=v;var r,i=n(55),o=n(57),u=n(58),a=(r="function"==typeof Symbol&&"1"!==Object({IS_KIBANA_DISTRIBUTABLE:"true"})._nodeLRUCacheForceNoSymbol?function(t){return Symbol(t)}:function(t){return"_"+t})("max"),s=r("length"),l=r("lengthCalculator"),f=r("allowStale"),c=r("maxAge"),h=r("dispose"),d=r("noDisposeOnSet"),p=r("lruList"),g=r("cache");function y(){return 1}function v(t){if(!(this instanceof v))return new v(t);"number"==typeof t&&(t={max:t}),t||(t={});var e=this[a]=t.max;(!e||"number"!=typeof e||e<=0)&&(this[a]=1/0);var n=t.length||y;"function"!=typeof n&&(n=y),this[l]=n,this[f]=t.stale||!1,this[c]=t.maxAge||0,this[h]=t.dispose,this[d]=t.noDisposeOnSet||!1,this.reset()}function b(t,e,n,r){var i=n.value;m(t,i)&&(x(t,n),t[f]||(i=void 0)),i&&e.call(r,i.value,i.key,t)}function w(t,e,n){var r=t[g].get(e);if(r){var i=r.value;m(t,i)?(x(t,r),t[f]||(i=void 0)):n&&t[p].unshiftNode(r),i&&(i=i.value)}return i}function m(t,e){if(!e||!e.maxAge&&!t[c])return!1;var n=Date.now()-e.now;return e.maxAge?n>e.maxAge:t[c]&&n>t[c]}function _(t){if(t[s]>t[a])for(var e=t[p].tail;t[s]>t[a]&&null!==e;){var n=e.prev;x(t,e),e=n}}function x(t,e){if(e){var n=e.value;t[h]&&t[h](n.key,n.value),t[s]-=n.length,t[g].delete(n.key),t[p].removeNode(e)}}function E(t,e,n,r,i){this.key=t,this.value=e,this.length=n,this.now=r,this.maxAge=i||0}Object.defineProperty(v.prototype,"max",{set:function(t){(!t||"number"!=typeof t||t<=0)&&(t=1/0),this[a]=t,_(this)},get:function(){return this[a]},enumerable:!0}),Object.defineProperty(v.prototype,"allowStale",{set:function(t){this[f]=!!t},get:function(){return this[f]},enumerable:!0}),Object.defineProperty(v.prototype,"maxAge",{set:function(t){(!t||"number"!=typeof t||t<0)&&(t=0),this[c]=t,_(this)},get:function(){return this[c]},enumerable:!0}),Object.defineProperty(v.prototype,"lengthCalculator",{set:function(t){"function"!=typeof t&&(t=y),t!==this[l]&&(this[l]=t,this[s]=0,this[p].forEach((function(t){t.length=this[l](t.value,t.key),this[s]+=t.length}),this)),_(this)},get:function(){return this[l]},enumerable:!0}),Object.defineProperty(v.prototype,"length",{get:function(){return this[s]},enumerable:!0}),Object.defineProperty(v.prototype,"itemCount",{get:function(){return this[p].length},enumerable:!0}),v.prototype.rforEach=function(t,e){e=e||this;for(var n=this[p].tail;null!==n;){var r=n.prev;b(this,t,n,e),n=r}},v.prototype.forEach=function(t,e){e=e||this;for(var n=this[p].head;null!==n;){var r=n.next;b(this,t,n,e),n=r}},v.prototype.keys=function(){return this[p].toArray().map((function(t){return t.key}),this)},v.prototype.values=function(){return this[p].toArray().map((function(t){return t.value}),this)},v.prototype.reset=function(){this[h]&&this[p]&&this[p].length&&this[p].forEach((function(t){this[h](t.key,t.value)}),this),this[g]=new i,this[p]=new u,this[s]=0},v.prototype.dump=function(){return this[p].map((function(t){if(!m(this,t))return{k:t.key,v:t.value,e:t.now+(t.maxAge||0)}}),this).toArray().filter((function(t){return t}))},v.prototype.dumpLru=function(){return this[p]},v.prototype.inspect=function(t,e){var n="LRUCache {",r=!1;this[f]&&(n+="\n allowStale: true",r=!0);var i=this[a];i&&i!==1/0&&(r&&(n+=","),n+="\n max: "+o.inspect(i,e),r=!0);var u=this[c];u&&(r&&(n+=","),n+="\n maxAge: "+o.inspect(u,e),r=!0);var h=this[l];h&&h!==y&&(r&&(n+=","),n+="\n length: "+o.inspect(this[s],e),r=!0);var d=!1;return this[p].forEach((function(t){d?n+=",\n ":(r&&(n+=",\n"),d=!0,n+="\n ");var i=o.inspect(t.key).split("\n").join("\n "),a={value:t.value};t.maxAge!==u&&(a.maxAge=t.maxAge),h!==y&&(a.length=t.length),m(this,t)&&(a.stale=!0),a=o.inspect(a,e).split("\n").join("\n "),n+=i+" => "+a})),(d||r)&&(n+="\n"),n+="}"},v.prototype.set=function(t,e,n){var r=(n=n||this[c])?Date.now():0,i=this[l](e,t);if(this[g].has(t)){if(i>this[a])return x(this,this[g].get(t)),!1;var o=this[g].get(t).value;return this[h]&&(this[d]||this[h](t,o.value)),o.now=r,o.maxAge=n,o.value=e,this[s]+=i-o.length,o.length=i,this.get(t),_(this),!0}var u=new E(t,e,i,r,n);return u.length>this[a]?(this[h]&&this[h](t,e),!1):(this[s]+=u.length,this[p].unshift(u),this[g].set(t,this[p].head),_(this),!0)},v.prototype.has=function(t){return!!this[g].has(t)&&!m(this,this[g].get(t).value)},v.prototype.get=function(t){return w(this,t,!0)},v.prototype.peek=function(t){return w(this,t,!1)},v.prototype.pop=function(){var t=this[p].tail;return t?(x(this,t),t.value):null},v.prototype.del=function(t){x(this,this[g].get(t))},v.prototype.load=function(t){this.reset();for(var e=Date.now(),n=t.length-1;n>=0;n--){var r=t[n],i=r.e||0;if(0===i)this.set(r.k,r.v);else{var o=i-e;o>0&&this.set(r.k,r.v,o)}}},v.prototype.prune=function(){var t=this;this[g].forEach((function(e,n){w(t,n,!1)}))}},55:function(t,e,n){"pseudomap"===Object({IS_KIBANA_DISTRIBUTABLE:"true"}).npm_package_name&&"test"===Object({IS_KIBANA_DISTRIBUTABLE:"true"}).npm_lifecycle_script&&(Object({IS_KIBANA_DISTRIBUTABLE:"true"}).TEST_PSEUDOMAP="true"),"function"!=typeof Map||Object({IS_KIBANA_DISTRIBUTABLE:"true"}).TEST_PSEUDOMAP?t.exports=n(56):t.exports=Map},56:function(t,e){var n=Object.prototype.hasOwnProperty;function r(t){if(!(this instanceof r))throw new TypeError("Constructor PseudoMap requires 'new'");if(this.clear(),t)if(t instanceof r||"function"==typeof Map&&t instanceof Map)t.forEach((function(t,e){this.set(e,t)}),this);else{if(!Array.isArray(t))throw new TypeError("invalid argument");t.forEach((function(t){this.set(t[0],t[1])}),this)}}function i(t,e){return t===e||t!=t&&e!=e}function o(t,e,n){this.key=t,this.value=e,this._index=n}function u(t,e){for(var r=0,o="_"+e,u=o;n.call(t,u);u=o+r++)if(i(t[u].key,e))return t[u]}t.exports=r,r.prototype.forEach=function(t,e){e=e||this,Object.keys(this._data).forEach((function(n){"size"!==n&&t.call(e,this._data[n].value,this._data[n].key)}),this)},r.prototype.has=function(t){return!!u(this._data,t)},r.prototype.get=function(t){var e=u(this._data,t);return e&&e.value},r.prototype.set=function(t,e){!function(t,e,r){for(var u=0,a="_"+e,s=a;n.call(t,s);s=a+u++)if(i(t[s].key,e))return void(t[s].value=r);t.size++,t[s]=new o(e,r,s)}(this._data,t,e)},r.prototype.delete=function(t){var e=u(this._data,t);e&&(delete this._data[e._index],this._data.size--)},r.prototype.clear=function(){var t=Object.create(null);t.size=0,Object.defineProperty(this,"_data",{value:t,enumerable:!1,configurable:!0,writable:!1})},Object.defineProperty(r.prototype,"size",{get:function(){return this._data.size},set:function(t){},enumerable:!0,configurable:!0}),r.prototype.values=r.prototype.keys=r.prototype.entries=function(){throw new Error("iterators are not implemented in this version")}},57:function(t,e,n){t.exports=n(24)(2948)},58:function(t,e){function n(t){var e=this;if(e instanceof n||(e=new n),e.tail=null,e.head=null,e.length=0,t&&"function"==typeof t.forEach)t.forEach((function(t){e.push(t)}));else if(arguments.length>0)for(var r=0,i=arguments.length;r1)n=e;else{if(!this.head)throw new TypeError("Reduce of empty list with no initial value");r=this.head.next,n=this.head.value}for(var i=0;null!==r;i++)n=t(n,r.value,i),r=r.next;return n},n.prototype.reduceReverse=function(t,e){var n,r=this.tail;if(arguments.length>1)n=e;else{if(!this.tail)throw new TypeError("Reduce of empty list with no initial value");r=this.tail.prev,n=this.tail.value}for(var i=this.length-1;null!==r;i--)n=t(n,r.value,i),r=r.prev;return n},n.prototype.toArray=function(){for(var t=new Array(this.length),e=0,n=this.head;null!==n;e++)t[e]=n.value,n=n.next;return t},n.prototype.toArrayReverse=function(){for(var t=new Array(this.length),e=0,n=this.tail;null!==n;e++)t[e]=n.value,n=n.prev;return t},n.prototype.slice=function(t,e){(e=e||this.length)<0&&(e+=this.length),(t=t||0)<0&&(t+=this.length);var r=new n;if(ethis.length&&(e=this.length);for(var i=0,o=this.head;null!==o&&ithis.length&&(e=this.length);for(var i=this.length,o=this.tail;null!==o&&i>e;i--)o=o.prev;for(;null!==o&&i>t;i--,o=o.prev)r.push(o.value);return r},n.prototype.reverse=function(){for(var t=this.head,e=this.tail,n=t;null!==n;n=n.prev){var r=n.prev;n.prev=n.next,n.next=r}return this.head=e,this.tail=t,this}},59:function(t,e,n){var r;t.exports=function t(e,n,i){function o(a,s){if(!n[a]){if(!e[a]){if(!s&&"function"==typeof r&&r)return r(a,!0);if(u)return u(a,!0);throw new Error("Cannot find module '"+a+"'")}var l=n[a]={exports:{}};e[a][0].call(l.exports,(function(t){return o(e[a][1][t]||t)}),l,l.exports,t,e,n,i)}return n[a].exports}for(var u="function"==typeof r&&r,a=0;a=0)return this.dispatch("[CIRCULAR:"+a+"]");if(n.push(e),void 0!==o&&o.isBuffer&&o.isBuffer(e))return r("buffer:"),r(e);if("object"===u||"function"===u){var s=Object.keys(e);t.unorderedObjects&&(s=s.sort()),!1===t.respectType||p(e)||s.splice(0,0,"prototype","__proto__","constructor"),t.excludeKeys&&(s=s.filter((function(e){return!t.excludeKeys(e)}))),r("object:"+s.length+":");var l=this;return s.forEach((function(n){l.dispatch(n),r(":"),t.excludeValues||l.dispatch(e[n]),r(",")}))}if(!this["_"+u]){if(t.ignoreUnknown)return r("["+u+"]");throw new Error('Unknown object type "'+u+'"')}this["_"+u](e)},_array:function(e,i){i=void 0!==i?i:!1!==t.unorderedArrays;var o=this;if(r("array:"+e.length+":"),!i||e.length<=1)return e.forEach((function(t){return o.dispatch(t)}));var u=[],a=e.map((function(e){var r=new y,i=n.slice();return g(t,r,i).dispatch(e),u=u.concat(i.slice(n.length)),r.read().toString()}));return n=n.concat(u),a.sort(),this._array(a,!1)},_date:function(t){return r("date:"+t.toJSON())},_symbol:function(t){return r("symbol:"+t.toString())},_error:function(t){return r("error:"+t.toString())},_boolean:function(t){return r("bool:"+t.toString())},_string:function(t){r("string:"+t.length+":"),r(t.toString())},_function:function(e){r("fn:"),p(e)?this.dispatch("[native]"):this.dispatch(e.toString()),!1!==t.respectFunctionNames&&this.dispatch("function-name:"+String(e.name)),t.respectFunctionProperties&&this._object(e)},_number:function(t){return r("number:"+t.toString())},_xml:function(t){return r("xml:"+t.toString())},_null:function(){return r("Null")},_undefined:function(){return r("Undefined")},_regexp:function(t){return r("regex:"+t.toString())},_uint8array:function(t){return r("uint8array:"),this.dispatch(Array.prototype.slice.call(t))},_uint8clampedarray:function(t){return r("uint8clampedarray:"),this.dispatch(Array.prototype.slice.call(t))},_int8array:function(t){return r("uint8array:"),this.dispatch(Array.prototype.slice.call(t))},_uint16array:function(t){return r("uint16array:"),this.dispatch(Array.prototype.slice.call(t))},_int16array:function(t){return r("uint16array:"),this.dispatch(Array.prototype.slice.call(t))},_uint32array:function(t){return r("uint32array:"),this.dispatch(Array.prototype.slice.call(t))},_int32array:function(t){return r("uint32array:"),this.dispatch(Array.prototype.slice.call(t))},_float32array:function(t){return r("float32array:"),this.dispatch(Array.prototype.slice.call(t))},_float64array:function(t){return r("float64array:"),this.dispatch(Array.prototype.slice.call(t))},_arraybuffer:function(t){return r("arraybuffer:"),this.dispatch(new Uint8Array(t))},_url:function(t){return r("url:"+t.toString())},_map:function(e){r("map:");var n=Array.from(e);return this._array(n,!1!==t.unorderedSets)},_set:function(e){r("set:");var n=Array.from(e);return this._array(n,!1!==t.unorderedSets)},_blob:function(){if(t.ignoreUnknown)return r("[blob]");throw Error('Hashing Blob objects is currently not supported\n(see https://github.com/puleos/object-hash/issues/26)\nUse "options.replacer" or "options.ignoreUnknown"\n')},_domwindow:function(){return r("domwindow")},_process:function(){return r("process")},_timer:function(){return r("timer")},_pipe:function(){return r("pipe")},_tcp:function(){return r("tcp")},_udp:function(){return r("udp")},_tty:function(){return r("tty")},_statwatcher:function(){return r("statwatcher")},_securecontext:function(){return r("securecontext")},_connection:function(){return r("connection")},_zlib:function(){return r("zlib")},_context:function(){return r("context")},_nodescript:function(){return r("nodescript")},_httpparser:function(){return r("httpparser")},_dataview:function(){return r("dataview")},_signal:function(){return r("signal")},_fsevent:function(){return r("fsevent")},_tlswrap:function(){return r("tlswrap")}}}function y(){return{buf:"",write:function(t){this.buf+=t},end:function(t){this.buf+=t},read:function(){return this.buf}}}var v=t("crypto");(n=e.exports=h).sha1=function(t){return h(t)},n.keys=function(t){return h(t,{excludeValues:!0,algorithm:"sha1",encoding:"hex"})},n.MD5=function(t){return h(t,{algorithm:"md5",encoding:"hex"})},n.keysMD5=function(t){return h(t,{algorithm:"md5",encoding:"hex",excludeValues:!0})};var b=v.getHashes?v.getHashes().slice():["sha1","md5"];b.push("passthrough");var w=["buffer","hex","binary","base64"];n.writeToStream=function(t,e,n){return void 0===n&&(n=e,e={}),g(e=d(t,e),n).dispatch(t)}}).call(this,t("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},t("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/fake_e8180ef5.js","/")},{buffer:3,crypto:5,lYpoI2:10}],2:[function(t,e,n){(function(t,e,r,i,o,u,a,s,l){var f="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";!function(t){"use strict";function e(t){var e=t.charCodeAt(0);return e===r||e===s?62:e===i||e===l?63:e0)throw new Error("Invalid string. Length must be a multiple of 4");var f=t.length;s="="===t.charAt(f-2)?2:"="===t.charAt(f-1)?1:0,l=new n(3*t.length/4-s),u=s>0?t.length-4:t.length;var c=0;for(i=0,o=0;i>16),r((65280&a)>>8),r(255&a);return 2===s?r(255&(a=e(t.charAt(i))<<2|e(t.charAt(i+1))>>4)):1===s&&(r((a=e(t.charAt(i))<<10|e(t.charAt(i+1))<<4|e(t.charAt(i+2))>>2)>>8&255),r(255&a)),l},t.fromByteArray=function(t){function e(t){return f.charAt(t)}function n(t){return e(t>>18&63)+e(t>>12&63)+e(t>>6&63)+e(63&t)}var r,i,o,u=t.length%3,a="";for(r=0,o=t.length-u;r>2),a+=e(i<<4&63),a+="==";break;case 2:a+=e((i=(t[t.length-2]<<8)+t[t.length-1])>>10),a+=e(i>>4&63),a+=e(i<<2&63),a+="="}return a}}(void 0===n?this.base64js={}:n)}).call(this,t("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},t("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/base64-js/lib/b64.js","/node_modules/gulp-browserify/node_modules/base64-js/lib")},{buffer:3,lYpoI2:10}],3:[function(t,e,n){(function(e,r,i,o,u,a,s,l,f){function i(t,e,n){if(!(this instanceof i))return new i(t,e,n);var r,o,u,a=typeof t;if("base64"===e&&"string"===a)for(t=function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}(t);t.length%4!=0;)t+="=";if("number"===a)r=L(t);else if("string"===a)r=i.byteLength(t,e);else{if("object"!==a)throw new Error("First argument needs to be a number, array or string.");r=L(t.length)}if(i._useTypedArrays?o=i._augment(new Uint8Array(r)):((o=this).length=r,o._isBuffer=!0),i._useTypedArrays&&"number"==typeof t.byteLength)o._set(t);else if(function(t){return U(t)||i.isBuffer(t)||t&&"object"==typeof t&&"number"==typeof t.length}(t))for(u=0;uo&&(r=o):r=o;var u=e.length;P(u%2==0,"Invalid hex string"),r>u/2&&(r=u/2);for(var a=0;a>8,r=e%256,i.push(r),i.push(n);return i}(e),t,n,r)}function y(t,e,n){var r="";n=Math.min(t.length,n);for(var i=e;i=o))return n?(i=t[e],e+1=o))return n?(e+2>>0)):(e+1>>0),i}function w(t,e,n,r){if(r||(P("boolean"==typeof n,"missing or invalid endian"),P(null!=e,"missing offset"),P(e+1=t.length)){var i=v(t,e,n,!0);return 32768&i?-1*(65535-i+1):i}}function m(t,e,n,r){if(r||(P("boolean"==typeof n,"missing or invalid endian"),P(null!=e,"missing offset"),P(e+3=t.length)){var i=b(t,e,n,!0);return 2147483648&i?-1*(4294967295-i+1):i}}function _(t,e,n,r){return r||(P("boolean"==typeof n,"missing or invalid endian"),P(e+3=o))for(var u=0,a=Math.min(o-n,2);u>>8*(r?u:1-u)}function A(t,e,n,r,i){i||(P(null!=e,"missing value"),P("boolean"==typeof r,"missing or invalid endian"),P(null!=n,"missing offset"),P(n+3=o))for(var u=0,a=Math.min(o-n,4);u>>8*(r?u:3-u)&255}function I(t,e,n,r,i){i||(P(null!=e,"missing value"),P("boolean"==typeof r,"missing or invalid endian"),P(null!=n,"missing offset"),P(n+1=t.length||E(t,e>=0?e:65535+e+1,n,r,i)}function B(t,e,n,r,i){i||(P(null!=e,"missing value"),P("boolean"==typeof r,"missing or invalid endian"),P(null!=n,"missing offset"),P(n+3=t.length||A(t,e>=0?e:4294967295+e+1,n,r,i)}function k(t,e,n,r,i){i||(P(null!=e,"missing value"),P("boolean"==typeof r,"missing or invalid endian"),P(null!=n,"missing offset"),P(n+3=t.length||q.write(t,e,n,r,23,4)}function j(t,e,n,r,i){i||(P(null!=e,"missing value"),P("boolean"==typeof r,"missing or invalid endian"),P(null!=n,"missing offset"),P(n+7=t.length||q.write(t,e,n,r,52,8)}function S(t,e,n){return"number"!=typeof t?n:(t=~~t)>=e?e:t>=0||(t+=e)>=0?t:0}function L(t){return(t=~~Math.ceil(+t))<0?0:t}function U(t){return(Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)})(t)}function N(t){return t<16?"0"+t.toString(16):t.toString(16)}function O(t){for(var e=[],n=0;n=55296&&r<=57343&&n++;for(var o=encodeURIComponent(t.slice(i,n+1)).substr(1).split("%"),u=0;u=e.length||i>=t.length);i++)e[i+n]=t[i];return i}function M(t){try{return decodeURIComponent(t)}catch(t){return String.fromCharCode(65533)}}function F(t,e){P("number"==typeof t,"cannot write a non-number as a number"),P(t>=0,"specified a negative value for writing an unsigned value"),P(t<=e,"value is larger than maximum value for type"),P(Math.floor(t)===t,"value has a fractional component")}function D(t,e,n){P("number"==typeof t,"cannot write a non-number as a number"),P(t<=e,"value larger than maximum allowed value"),P(t>=n,"value smaller than minimum allowed value"),P(Math.floor(t)===t,"value has a fractional component")}function R(t,e,n){P("number"==typeof t,"cannot write a non-number as a number"),P(t<=e,"value larger than maximum allowed value"),P(t>=n,"value smaller than minimum allowed value")}function P(t,e){if(!t)throw new Error(e||"Failed assertion")}var Y=t("base64-js"),q=t("ieee754");n.Buffer=i,n.SlowBuffer=i,n.INSPECT_MAX_BYTES=50,i.poolSize=8192,i._useTypedArrays=function(){try{var t=new ArrayBuffer(0),e=new Uint8Array(t);return e.foo=function(){return 42},42===e.foo()&&"function"==typeof e.subarray}catch(t){return!1}}(),i.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"raw":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},i.isBuffer=function(t){return!(null==t||!t._isBuffer)},i.byteLength=function(t,e){var n;switch(t+="",e||"utf8"){case"hex":n=t.length/2;break;case"utf8":case"utf-8":n=O(t).length;break;case"ascii":case"binary":case"raw":n=t.length;break;case"base64":n=T(t).length;break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":n=2*t.length;break;default:throw new Error("Unknown encoding")}return n},i.concat=function(t,e){if(P(U(t),"Usage: Buffer.concat(list, [totalLength])\nlist should be an Array."),0===t.length)return new i(0);if(1===t.length)return t[0];var n;if("number"!=typeof e)for(e=0,n=0;nu&&(n=u):n=u,r=String(r||"utf8").toLowerCase()){case"hex":o=c(this,t,e,n);break;case"utf8":case"utf-8":o=h(this,t,e,n);break;case"ascii":o=d(this,t,e,n);break;case"binary":o=function(t,e,n,r){return d(t,e,n,r)}(this,t,e,n);break;case"base64":o=p(this,t,e,n);break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":o=g(this,t,e,n);break;default:throw new Error("Unknown encoding")}return o},i.prototype.toString=function(t,e,n){var r,i=this;if(t=String(t||"utf8").toLowerCase(),e=Number(e)||0,(n=void 0!==n?Number(n):n=i.length)===e)return"";switch(t){case"hex":r=function(t,e,n){var r=t.length;(!e||e<0)&&(e=0),(!n||n<0||n>r)&&(n=r);for(var i="",o=e;o=n,"sourceEnd < sourceStart"),P(e>=0&&e=0&&n=0&&r<=o.length,"sourceEnd out of bounds"),r>this.length&&(r=this.length),t.length-e=this.length))return this[t]},i.prototype.readUInt16LE=function(t,e){return v(this,t,!0,e)},i.prototype.readUInt16BE=function(t,e){return v(this,t,!1,e)},i.prototype.readUInt32LE=function(t,e){return b(this,t,!0,e)},i.prototype.readUInt32BE=function(t,e){return b(this,t,!1,e)},i.prototype.readInt8=function(t,e){if(e||(P(null!=t,"missing offset"),P(t=this.length))return 128&this[t]?-1*(255-this[t]+1):this[t]},i.prototype.readInt16LE=function(t,e){return w(this,t,!0,e)},i.prototype.readInt16BE=function(t,e){return w(this,t,!1,e)},i.prototype.readInt32LE=function(t,e){return m(this,t,!0,e)},i.prototype.readInt32BE=function(t,e){return m(this,t,!1,e)},i.prototype.readFloatLE=function(t,e){return _(this,t,!0,e)},i.prototype.readFloatBE=function(t,e){return _(this,t,!1,e)},i.prototype.readDoubleLE=function(t,e){return x(this,t,!0,e)},i.prototype.readDoubleBE=function(t,e){return x(this,t,!1,e)},i.prototype.writeUInt8=function(t,e,n){n||(P(null!=t,"missing value"),P(null!=e,"missing offset"),P(e=this.length||(this[e]=t)},i.prototype.writeUInt16LE=function(t,e,n){E(this,t,e,!0,n)},i.prototype.writeUInt16BE=function(t,e,n){E(this,t,e,!1,n)},i.prototype.writeUInt32LE=function(t,e,n){A(this,t,e,!0,n)},i.prototype.writeUInt32BE=function(t,e,n){A(this,t,e,!1,n)},i.prototype.writeInt8=function(t,e,n){n||(P(null!=t,"missing value"),P(null!=e,"missing offset"),P(e=this.length||(t>=0?this.writeUInt8(t,e,n):this.writeUInt8(255+t+1,e,n))},i.prototype.writeInt16LE=function(t,e,n){I(this,t,e,!0,n)},i.prototype.writeInt16BE=function(t,e,n){I(this,t,e,!1,n)},i.prototype.writeInt32LE=function(t,e,n){B(this,t,e,!0,n)},i.prototype.writeInt32BE=function(t,e,n){B(this,t,e,!1,n)},i.prototype.writeFloatLE=function(t,e,n){k(this,t,e,!0,n)},i.prototype.writeFloatBE=function(t,e,n){k(this,t,e,!1,n)},i.prototype.writeDoubleLE=function(t,e,n){j(this,t,e,!0,n)},i.prototype.writeDoubleBE=function(t,e,n){j(this,t,e,!1,n)},i.prototype.fill=function(t,e,n){if(t||(t=0),e||(e=0),n||(n=this.length),"string"==typeof t&&(t=t.charCodeAt(0)),P("number"==typeof t&&!isNaN(t),"value is not a number"),P(n>=e,"end < start"),n!==e&&0!==this.length){P(e>=0&&e=0&&n<=this.length,"end out of bounds");for(var r=e;r"},i.prototype.toArrayBuffer=function(){if("undefined"!=typeof Uint8Array){if(i._useTypedArrays)return new i(this).buffer;for(var t=new Uint8Array(this.length),e=0,n=t.length;ev?e=t(e):e.length>5]|=128<>>9<<4)]=e;for(var n=1732584193,r=-271733879,i=-1732584194,o=271733878,u=0;u>>32-e}(v(v(e,t),v(r,o)),i),n)}function d(t,e,n,r,i,o,u){return h(e&n|~e&r,t,e,i,o,u)}function p(t,e,n,r,i,o,u){return h(e&r|n&~r,t,e,i,o,u)}function g(t,e,n,r,i,o,u){return h(e^n^r,t,e,i,o,u)}function y(t,e,n,r,i,o,u){return h(n^(e|~r),t,e,i,o,u)}function v(t,e){var n=(65535&t)+(65535&e);return(t>>16)+(e>>16)+(n>>16)<<16|65535&n}var b=t("./helpers");e.exports=function(t){return b.hash(t,c,16)}}).call(this,t("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},t("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/md5.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{"./helpers":4,buffer:3,lYpoI2:10}],7:[function(t,e,n){(function(t,n,r,i,o,u,a,s,l){!function(){var t,n;t=function(t){for(var e,n=new Array(t),r=0;r>>((3&r)<<3)&255;return n},this.crypto&&crypto.getRandomValues&&(n=function(t){var e=new Uint8Array(t);return crypto.getRandomValues(e),e}),e.exports=n||t}()}).call(this,t("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},t("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/rng.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{buffer:3,lYpoI2:10}],8:[function(t,e,n){(function(n,r,i,o,u,a,s,l,f){function c(t,e){t[e>>5]|=128<<24-e%32,t[15+(e+64>>9<<4)]=e;for(var n=Array(80),r=1732584193,i=-271733879,o=-1732584194,u=271733878,a=-1009589776,s=0;s>16)+(e>>16)+(n>>16)<<16|65535&n}function g(t,e){return t<>>32-e}var y=t("./helpers");e.exports=function(t){return y.hash(t,c,20,!0)}}).call(this,t("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},t("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/sha.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{"./helpers":4,buffer:3,lYpoI2:10}],9:[function(t,e,n){(function(n,r,i,o,u,a,s,l,f){var c=t("./helpers"),h=function(t,e){var n=(65535&t)+(65535&e);return(t>>16)+(e>>16)+(n>>16)<<16|65535&n},d=function(t,e){return t>>>e|t<<32-e},p=function(t,e){return t>>>e},g=function(t,e,n){return t&e^~t&n},y=function(t,e,n){return t&e^t&n^e&n},v=function(t){return d(t,2)^d(t,13)^d(t,22)},b=function(t){return d(t,6)^d(t,11)^d(t,25)},w=function(t){return d(t,7)^d(t,18)^p(t,3)},m=function(t){return d(t,17)^d(t,19)^p(t,10)},_=function(t,e){var n,r,i,o,u,a,s,l,f,c,d=new Array(1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298),p=new Array(1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225),_=new Array(64);t[e>>5]|=128<<24-e%32,t[15+(e+64>>9<<4)]=e;for(var x=0;x0)&&n.shift()()}),!0),function(t){n.push(t),window.postMessage("process-tick","*")}}return function(t){setTimeout(t,0)}}(),t.title="browser",t.browser=!0,t.env={},t.argv=[],t.on=f,t.addListener=f,t.once=f,t.off=f,t.removeListener=f,t.removeAllListeners=f,t.emit=f,t.binding=function(t){throw new Error("process.binding is not supported")},t.cwd=function(){return"/"},t.chdir=function(t){throw new Error("process.chdir is not supported")}}).call(this,t("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},t("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/process/browser.js","/node_modules/gulp-browserify/node_modules/process")},{buffer:3,lYpoI2:10}],11:[function(t,e,n){(function(t,e,r,i,o,u,a,s,l){n.read=function(t,e,n,r,i){var o,u,a=8*i-r-1,s=(1<>1,f=-7,c=n?i-1:0,h=n?-1:1,d=t[e+c];for(c+=h,o=d&(1<<-f)-1,d>>=-f,f+=a;f>0;o=256*o+t[e+c],c+=h,f-=8);for(u=o&(1<<-f)-1,o>>=-f,f+=r;f>0;u=256*u+t[e+c],c+=h,f-=8);if(0===o)o=1-l;else{if(o===s)return u?NaN:1/0*(d?-1:1);u+=Math.pow(2,r),o-=l}return(d?-1:1)*u*Math.pow(2,o-r)},n.write=function(t,e,n,r,i,o){var u,a,s,l=8*o-i-1,f=(1<>1,h=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,d=r?0:o-1,p=r?1:-1,g=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(a=isNaN(e)?1:0,u=f):(u=Math.floor(Math.log(e)/Math.LN2),e*(s=Math.pow(2,-u))<1&&(u--,s*=2),(e+=u+c>=1?h/s:h*Math.pow(2,1-c))*s>=2&&(u++,s/=2),u+c>=f?(a=0,u=f):u+c>=1?(a=(e*s-1)*Math.pow(2,i),u+=c):(a=e*Math.pow(2,c-1)*Math.pow(2,i),u=0));i>=8;t[n+d]=255&a,d+=p,a/=256,i-=8);for(u=u<0;t[n+d]=255&u,d+=p,u/=256,l-=8);t[n+d-p]|=128*g}}).call(this,t("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},t("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/ieee754/index.js","/node_modules/ieee754")},{buffer:3,lYpoI2:10}]},{},[1])(1)}}]);