PageSourceSearch

https://acscontrol.com/cp/javascript/vendors.js?1699430276

js acscontrol.com collected 2026-10-06 05:28:05 UTC 1,642,811 bytes, 52 lines download raw bytes

vendor: 8,581 bytes, line 1
1(self.webpackChunkPlesk=self.webpackChunkPlesk||[]).push([["vendors"],[,,,,,,,(e,t,n)=>{"use strict";var r=n(8),i=n(9),o=n(11),a=n(55),s=n(10),u=r.RegExp,c=u.prototype;i&&s((function(){var e=!0;try{u(".","d")}catch(t){e=!1}var t={},n="",r=e?"dgimsy":"gimsy",i=function(e,r){Object.defineProperty(t,e,{get:function(){return n+=r,!0}})},o={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var a in e&&(o.hasIndices="d"),o)i(a,o[a]);return Object.getOwnPropertyDescriptor(c,"flags").get.call(t)!==r||n!==r}))&&o(c,"flags",{configurable:!0,get:a})},function(e,t,n){"use strict";var r=function(e){return e&&e.Math===Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n.g&&n.g)||function(){return this}()||this||Function("return this")()},(e,t,n)=>{"use strict";var r=n(10);e.exports=!r((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},e=>{"use strict";e.exports=function(e){try{return!!e()}catch(e){return!0}}},(e,t,n)=>{"use strict";var r=n(12),i=n(29);e.exports=function(e,t,n){return n.get&&r(n.get,t,{getter:!0}),n.set&&r(n.set,t,{setter:!0}),i.f(e,t,n)}},(e,t,n)=>{"use strict";var r=n(13),i=n(10),o=n(15),a=n(17),s=n(9),u=n(21).CONFIGURABLE,c=n(22),l=n(25),f=l.enforce,p=l.get,d=String,h=Object.defineProperty,m=r("".slice),y=r("".replace),g=r([].join),v=s&&!i((function(){return 8!==h((function(){}),"length",{value:8}).length})),b=String(String).split("String"),_=e.exports=function(e,t,n){"Symbol("===m(d(t),0,7)&&(t="["+y(d(t),/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!a(e,"name")||u&&e.name!==t)&&(s?h(e,"name",{value:t,configurable:!0}):e.name=t),v&&n&&a(n,"arity")&&e.length!==n.arity&&h(e,"length",{value:n.arity});try{n&&a(n,"constructor")&&n.constructor?s&&h(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var r=f(e);return a(r,"source")||(r.source=g(b,"string"==typeof t?t:"")),e};Function.prototype.toString=_((function(){return o(this)&&p(this).source||c(this)}),"toString")},(e,t,n)=>{"use strict";var r=n(14),i=Function.prototype,o=i.call,a=r&&i.bind.bind(o,o);e.exports=r?a:function(e){return function(){return o.apply(e,arguments)}}},(e,t,n)=>{"use strict";var r=n(10);e.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},(e,t,n)=>{"use strict";var r=n(16),i=r.all;e.exports=r.IS_HTMLDDA?function(e){return"function"==typeof e||e===i}:function(e){return"function"==typeof e}},e=>{"use strict";var t="object"==typeof document&&document.all,n=void 0===t&&void 0!==t;e.exports={all:t,IS_HTMLDDA:n}},(e,t,n)=>{"use strict";var r=n(13),i=n(18),o=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return o(i(e),t)}},(e,t,n)=>{"use strict";var r=n(19),i=Object;e.exports=function(e){return i(r(e))}},(e,t,n)=>{"use strict";var r=n(20),i=TypeError;e.exports=function(e){if(r(e))throw i("Can't call method on "+e);return e}},e=>{"use strict";e.exports=function(e){return null==e}},(e,t,n)=>{"use strict";var r=n(9),i=n(17),o=Function.prototype,a=r&&Object.getOwnPropertyDescriptor,s=i(o,"name"),u=s&&"something"===function(){}.name,c=s&&(!r||r&&a(o,"name").configurable);e.exports={EXISTS:s,PROPER:u,CONFIGURABLE:c}},(e,t,n)=>{"use strict";var r=n(13),i=n(15),o=n(23),a=r(Function.toString);i(o.inspectSource)||(o.inspectSource=function(e){return a(e)}),e.exports=o.inspectSource},(e,t,n)=>{"use strict";var r=n(8),i=n(24),o="__core-js_shared__",a=r[o]||i(o,{});e.exports=a},(e,t,n)=>{"use strict";var r=n(8),i=Object.defineProperty;e.exports=function(e,t){try{i(r,e,{value:t,configurable:!0,writable:!0})}catch(n){r[e]=t}return t}},(e,t,n)=>{"use strict";var r,i,o,a=n(26),s=n(8),u=n(27),c=n(28),l=n(17),f=n(23),p=n(53),d=n(54),h="Object already initialized",m=s.TypeError,y=s.WeakMap;if(a||f.state){var g=f.state||(f.state=new y);g.get=g.get,g.has=g.has,g.set=g.set,r=function(e,t){if(g.has(e))throw m(h);return t.facade=e,g.set(e,t),t},i=function(e){return g.get(e)||{}},o=function(e){return g.has(e)}}else{var v=p("state");d[v]=!0,r=function(e,t){if(l(e,v))throw m(h);return t.facade=e,c(e,v,t),t},i=function(e){return l(e,v)?e[v]:{}},o=function(e){return l(e,v)}}e.exports={set:r,get:i,has:o,enforce:function(e){return o(e)?i(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!u(t)||(n=i(t)).type!==e)throw m("Incompatible receiver, "+e+" required");return n}}}},(e,t,n)=>{"use strict";var r=n(8),i=n(15),o=r.WeakMap;e.exports=i(o)&&/native code/.test(String(o))},(e,t,n)=>{"use strict";var r=n(15),i=n(16),o=i.all;e.exports=i.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:r(e)||e===o}:function(e){return"object"==typeof e?null!==e:r(e)}},(e,t,n)=>{"use strict";var r=n(9),i=n(29),o=n(52);e.exports=r?function(e,t,n){return i.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},(e,t,n)=>{"use strict";var r=n(9),i=n(30),o=n(32),a=n(33),s=n(34),u=TypeError,c=Object.defineProperty,l=Object.getOwnPropertyDescriptor,f="enumerable",p="configurable",d="writable";t.f=r?o?function(e,t,n){if(a(e),t=s(t),a(n),"function"==typeof e&&"prototype"===t&&"value"in n&&d in n&&!n[d]){var r=l(e,t);r&&r[d]&&(e[t]=n.value,n={configurable:p in n?n[p]:r[p],enumerable:f in n?n[f]:r[f],writable:!1})}return c(e,t,n)}:c:function(e,t,n){if(a(e),t=s(t),a(n),i)try{return c(e,t,n)}catch(e){}if("get"in n||"set"in n)throw u("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},(e,t,n)=>{"use strict";var r=n(9),i=n(10),o=n(31);e.exports=!r&&!i((function(){return 7!==Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},(e,t,n)=>{"use strict";var r=n(8),i=n(27),o=r.document,a=i(o)&&i(o.createElement);e.exports=function(e){return a?o.createElement(e):{}}},(e,t,n)=>{"use strict";var r=n(9),i=n(10);e.exports=r&&i((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},(e,t,n)=>{"use strict";var r=n(27),i=String,o=TypeError;e.exports=function(e){if(r(e))return e;throw o(i(e)+" is not an object")}},(e,t,n)=>{"use strict";var r=n(35),i=n(37);e.exports=function(e){var t=r(e,"string");return i(t)?t:t+""}},(e,t,n)=>{"use strict";var r=n(36),i=n(27),o=n(37),a=n(44),s=n(47),u=n(48),c=TypeError,l=u("toPrimitive");e.exports=function(e,t){if(!i(e)||o(e))return e;var n,u=a(e,l);if(u){if(void 0===t&&(t="default"),n=r(u,e,t),!i(n)||o(n))return n;throw c("Can't convert object to primitive value")}return void 0===t&&(t="number"),s(e,t)}},(e,t,n)=>{"use strict";var r=n(14),i=Function.prototype.call;e.exports=r?i.bind(i):function(){return i.apply(i,arguments)}},(e,t,n)=>{"use strict";var r=n(38),i=n(15),o=n(39),a=n(40),s=Object;e.exports=a?function(e){return"symbol"==typeof e}:function(e){var t=r("Symbol");return i(t)&&o(t.prototype,s(e))}},(e,t,n)=>{"use strict";var r=n(8),i=n(15);e.exports=function(e,t){return arguments.length<2?(n=r[e],i(n)?n:void 0):r[e]&&r[e][t];var n}},(e,t,n)=>{"use strict";var r=n(13);e.exports=r({}.isPrototypeOf)},(e,t,n)=>{"use strict";var r=n(41);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},(e,t,n)=>{"use strict";var r=n(42),i=n(10),o=n(8).String;e.exports=!!Object.getOwnPropertySymbols&&!i((function(){var e=Symbol("symbol detection");return!o(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},(e,t,n)=>{"use strict";var r,i,o=n(8),a=n(43),s=o.process,u=o.Deno,c=s&&s.versions||u&&u.version,l=c&&c.v8;l&&(i=(r=l.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!i&&a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(i=+r[1]),e.exports=i},e=>{"use strict";e.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},(e,t,n)=>{"use strict";var r=n(45),i=n(20);e.exports=function(e,t){var n=e[t];return i(n)?void 0:r(n)}},(e,t,n)=>{"use strict";var r=n(15),i=n(46),o=TypeError;e.exports=function(e){if(r(e))return e;throw o(i(e)+" is not a function")}},e=>{"use strict";var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},(e,t,n)=>{"use strict";var r=n(36),i=n(15),o=n(27),a=TypeError;e.exports=function(e,t){var n,s;if("string"===t&&i(n=e.toString)&&!o(s=r(n,e)))return s;if(i(n=e.valueOf)&&!o(s=r(n,e)))return s;if("string"!==t&&i(n=e.toString)&&!o(s=r(n,e)))return s;throw a("Can't convert object to primitive value")}},(e,t,n)=>{"use strict";var r=n(8),i=n(49),o=n(17),a=n(51),s=n(41),u=n(40),c=r.Symbol,l=i("wks"),f=u?c.for||c:c&&c.withoutSetter||a;e.exports=function(e){return o(l,e)||(l[e]=s&&o(c,e)?c[e]:f("Symbol."+e)),l[e]}},(e,t,n)=>{"use strict";var r=n(50),i=n(23);
1(e.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.32.2",mode:r?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.32.2/LICENSE",source:"https://github.com/zloirock/core-js"})},e=>{"use strict";e.exports=!1},(e,t,n)=>{"use strict";var r=n(13),i=0,o=Math.random(),a=r(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+a(++i+o,36)}},e=>{"use strict";e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},(e,t,n)=>{"use strict";var r=n(49),i=n(51),o=r("keys");e.exports=function(e){return o[e]||(o[e]=i(e))}},e=>{"use strict";e.exports={}},(e,t,n)=>{"use strict";var r=n(33);e.exports=function(){var e=r(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t}},(e,t,n)=>{"use strict";n(57),n(87)},(e,t,n)=>{"use strict";var r=n(58),i=n(8),o=n(78).clear;r({global:!0,bind:!0,enumerable:!0,forced:i.clearImmediate!==o},{clearImmediate:o})},(e,t,n)=>{"use strict";var r=n(8),i=n(59).f,o=n(28),a=n(64),s=n(24),u=n(65),c=n(77);e.exports=function(e,t){var n,l,f,p,d,h=e.target,m=e.global,y=e.stat;if(n=m?r:y?r[h]||s(h,{}):(r[h]||{}).prototype)for(l in t){if(p=t[l],f=e.dontCallGetSet?(d=i(n,l))&&d.value:n[l],!c(m?l:h+(y?".":"#")+l,e.forced)&&void 0!==f){if(typeof p==typeof f)continue;u(p,f)}(e.sham||f&&f.sham)&&o(p,"sham",!0),a(n,l,p,e)}}},(e,t,n)=>{"use strict";var r=n(9),i=n(36),o=n(60),a=n(52),s=n(61),u=n(34),c=n(17),l=n(30),f=Object.getOwnPropertyDescriptor;t.f=r?f:function(e,t){if(e=s(e),t=u(t),l)try{return f(e,t)}catch(e){}if(c(e,t))return a(!i(o.f,e,t),e[t])}},(e,t)=>{"use strict";var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,i=r&&!n.call({1:2},1);t.f=i?function(e){var t=r(this,e);return!!t&&t.enumerable}:n},(e,t,n)=>{"use strict";var r=n(62),i=n(19);e.exports=function(e){return r(i(e))}},(e,t,n)=>{"use strict";var r=n(13),i=n(10),o=n(63),a=Object,s=r("".split);e.exports=i((function(){return!a("z").propertyIsEnumerable(0)}))?function(e){return"String"===o(e)?s(e,""):a(e)}:a},(e,t,n)=>{"use strict";var r=n(13),i=r({}.toString),o=r("".slice);e.exports=function(e){return o(i(e),8,-1)}},(e,t,n)=>{"use strict";var r=n(15),i=n(29),o=n(12),a=n(24);e.exports=function(e,t,n,s){s||(s={});var u=s.enumerable,c=void 0!==s.name?s.name:t;if(r(n)&&o(n,c,s),s.global)u?e[t]=n:a(t,n);else{try{s.unsafe?e[t]&&(u=!0):delete e[t]}catch(e){}u?e[t]=n:i.f(e,t,{value:n,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return e}},(e,t,n)=>{"use strict";var r=n(17),i=n(66),o=n(59),a=n(29);e.exports=function(e,t,n){for(var s=i(t),u=a.f,c=o.f,l=0;l<s.length;l++){var f=s[l];r(e,f)||n&&r(n,f)||u(e,f,c(t,f))}}},(e,t,n)=>{"use strict";var r=n(38),i=n(13),o=n(67),a=n(76),s=n(33),u=i([].concat);e.exports=r("Reflect","ownKeys")||function(e){var t=o.f(s(e)),n=a.f;return n?u(t,n(e)):t}},(e,t,n)=>{"use strict";var r=n(68),i=n(75).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,i)}},(e,t,n)=>{"use strict";var r=n(13),i=n(17),o=n(61),a=n(69).indexOf,s=n(54),u=r([].push);e.exports=function(e,t){var n,r=o(e),c=0,l=[];for(n in r)!i(s,n)&&i(r,n)&&u(l,n);for(;t.length>c;)i(r,n=t[c++])&&(~a(l,n)||u(l,n));return l}},(e,t,n)=>{"use strict";var r=n(61),i=n(70),o=n(73),a=function(e){return function(t,n,a){var s,u=r(t),c=o(u),l=i(a,c);if(e&&n!=n){for(;c>l;)if((s=u[l++])!=s)return!0}else for(;c>l;l++)if((e||l in u)&&u[l]===n)return e||l||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},(e,t,n)=>{"use strict";var r=n(71),i=Math.max,o=Math.min;e.exports=function(e,t){var n=r(e);return n<0?i(n+t,0):o(n,t)}},(e,t,n)=>{"use strict";var r=n(72);e.exports=function(e){var t=+e;return t!=t||0===t?0:r(t)}},e=>{"use strict";var t=Math.ceil,n=Math.floor;e.exports=Math.trunc||function(e){var r=+e;return(r>0?n:t)(r)}},(e,t,n)=>{"use strict";var r=n(74);e.exports=function(e){return r(e.length)}},(e,t,n)=>{"use strict";var r=n(71),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},e=>{"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleStr
1ing","toString","valueOf"]},(e,t)=>{"use strict";t.f=Object.getOwnPropertySymbols},(e,t,n)=>{"use strict";var r=n(10),i=n(15),o=/#|\.prototype\./,a=function(e,t){var n=u[s(e)];return n===l||n!==c&&(i(t)?r(t):!!t)},s=a.normalize=function(e){return String(e).replace(o,".").toLowerCase()},u=a.data={},c=a.NATIVE="N",l=a.POLYFILL="P";e.exports=a},(e,t,n)=>{"use strict";var r,i,o,a,s=n(8),u=n(79),c=n(80),l=n(15),f=n(17),p=n(10),d=n(82),h=n(83),m=n(31),y=n(84),g=n(85),v=n(86),b=s.setImmediate,_=s.clearImmediate,E=s.process,S=s.Dispatch,w=s.Function,T=s.MessageChannel,O=s.String,x=0,k={},R="onreadystatechange";p((function(){r=s.location}));var N=function(e){if(f(k,e)){var t=k[e];delete k[e],t()}},A=function(e){return function(){N(e)}},I=function(e){N(e.data)},D=function(e){s.postMessage(O(e),r.protocol+"//"+r.host)};b&&_||(b=function(e){y(arguments.length,1);var t=l(e)?e:w(e),n=h(arguments,1);return k[++x]=function(){u(t,void 0,n)},i(x),x},_=function(e){delete k[e]},v?i=function(e){E.nextTick(A(e))}:S&&S.now?i=function(e){S.now(A(e))}:T&&!g?(a=(o=new T).port2,o.port1.onmessage=I,i=c(a.postMessage,a)):s.addEventListener&&l(s.postMessage)&&!s.importScripts&&r&&"file:"!==r.protocol&&!p(D)?(i=D,s.addEventListener("message",I,!1)):i=R in m("script")?function(e){d.appendChild(m("script"))[R]=function(){d.removeChild(this),N(e)}}:function(e){setTimeout(A(e),0)}),e.exports={set:b,clear:_}},(e,t,n)=>{"use strict";var r=n(14),i=Function.prototype,o=i.apply,a=i.call;e.exports="object"==typeof Reflect&&Reflect.apply||(r?a.bind(o):function(){return a.apply(o,arguments)})},(e,t,n)=>{"use strict";var r=n(81),i=n(45),o=n(14),a=r(r.bind);e.exports=function(e,t){return i(e),void 0===t?e:o?a(e,t):function(){return e.apply(t,arguments)}}},(e,t,n)=>{"use strict";var r=n(63),i=n(13);e.exports=function(e){if("Function"===r(e))return i(e)}},(e,t,n)=>{"use strict";var r=n(38);e.exports=r("document","documentElement")},(e,t,n)=>{"use strict";var r=n(13);e.exports=r([].slice)},e=>{"use strict";var t=TypeError;e.exports=function(e,n){if(e<n)throw t("Not enough arguments");return e}},(e,t,n)=>{"use strict";var r=n(43);
1e.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(r)},(e,t,n)=>{"use strict";var r=n(8),i=n(63);e.exports="process"===i(r.process)},(e,t,n)=>{"use strict";var r=n(58),i=n(8),o=n(78).set,a=n(88),s=i.setImmediate?a(o,!1):o;r({global:!0,bind:!0,enumerable:!0,forced:i.setImmediate!==s},{setImmediate:s})},(e,t,n)=>{"use strict";var r,i=n(8),o=n(79),a=n(15),s=n(89),u=n(43),c=n(83),l=n(84),f=i.Function,p=/MSIE .\./.test(u)||s&&((r=i.Bun.version.split(".")).length<3||"0"===r[0]&&(r[1]<3||"3"===r[1]&&"0"===r[2]));e.exports=function(e,t){var n=t?2:1;return p?function(r,i){var s=l(arguments.length,1)>n,u=a(r)?r:f(r),p=s?c(arguments,n):[],d=s?function(){o(u,this,p)}:u;return t?e(d,i):e(d)}:e}},e=>{"use strict";e.exports="function"==typeof Bun&&Bun&&"string"==typeof Bun.version},,,,,(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(95);function i(e,t,n){return(t=(0,r.default)(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(96),i=n(97);function o(e){var t=(0,i.default)(e,"string");return"symbol"===(0,r.default)(t)?t:String(t)}},(e,t,n)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}n.r(t),n.d(t,{default:()=>r})},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(96);function i(e,t){if("object"!==(0,r.default)(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!==(0,r.default)(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}},,,,,,,(e,t,n)=>{n(105);var r=n(107),i=r.Service,o=r.apiLoader;o.services.firehose={},r.Firehose=i.defineService("firehose",["2015-08-04"]),Object.defineProperty(o.services.firehose,"2015-08-04",{get:function(){var e=n(230);return e.paginators=n(231).pagination,e},enumerable:!0,configurable:!0}),e.exports=r.Firehose},(e,t,n)=>{var r=n(106);r.crypto.lib=n(192),r.Buffer=n(195).Buffer,r.url=n(202),r.querystring=n(204),r.realClock=n(207),r.environment="js",r.createEventStream=n(208).createEventStream,r.isBrowser=function(){return!0},r.isNode=function(){return!1};var i=n(107);if(e.exports=i,n(138),n(139),n(214),n(220),n(221),n(222),n(226),i.XML.Parser=n(227),n(228),void 0===o)var o={browser:!0}},(e,t,n)=>{var r,i={environment:"nodejs",engine:function(){if(i.isBrowser()&&"undefined"!=typeof navigator)return navigator.userAgent;var e=process.platform+"/"+process.version;return process.env.AWS_EXECUTION_ENV&&(e+=" exec-env/"+process.env.AWS_EXECUTION_ENV),e},userAgent:function(){var e=i.environment,t="aws-sdk-"+e+"/"+n(107).VERSION;return"nodejs"===e&&(t+=" "+i.engine()),t},uriEscape:function(e){var t=encodeURIComponent(e);return t=(t=t.replace(/[^A-Za-z0-9_.~\-%]+/g,escape)).replace(/[*]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))},uriEscapePath:function(e){var t=[];return i.arrayEach(e.split("/"),(function(e){t.push(i.uriEscape(e))})),t.join("/")},urlParse:function(e){return i.url.parse(e)},urlFormat:function(e){return i.url.format(e)},queryStringParse:function(e){return i.querystring.parse(e)},queryParamsToString:function(e){var t=[],n=i.uriEscape,r=Object.keys(e).sort();return i.arrayEach(r,(function(r){var o=e[r],a=n(r),s=a+"=";if(Array.isArray(o)){var u=[];i.arrayEach(o,(function(e){u.push(n(e))})),s=a+"="+u.sort().join("&"+a+"=")}else null!=o&&(s=a+"="+n(o));t.push(s)})),t.join("&")},readFileSync:function(e){return i.isBrowser()?null:n(181).readFileSync(e,"utf-8")},base64:{encode:function(e){if("number"==typeof e)throw i.error(new Error("Cannot base64 encode number "+e));return null==e?e:i.buffer.toBuffer(e).toString("base64")},decode:function(e){if("number"==typeof e)throw i.error(new Error("Cannot base64 decode number "+e));return null==e?e:i.buffer.toBuffer(e,"base64")}},buffer:{toBuffer:function(e,t){return"function"==typeof i.Buffer.from&&i.Buffer.from!==Uint8Array.from?i.Buffer.from(e,t):new i.Buffer(e,t)},alloc:function(e,t,n){if("number"!=typeof e)throw new Error("size passed to alloc must be a number.");if("function"==typeof i.Buffer.alloc)return i.Buffer.alloc(e,t,n);var r=new i.Buffer(e);return void 0!==t&&"function"==typeof r.fill&&r.fill(t,void 0,void 0,n),r},toStream:function(e){i.Buffer.isBuffer(e)||(e=i.buffer.toBuffer(e));var t=new i.stream.Readable,n=0;return t._read=function(r){if(n>=e.length)return t.push(null);var i=n+r;i>e.length&&(i=e.length),t.push(e.slice(n,i)),n=i},t},concat:function(e){var t,n,r=0,o=0;for(n=0;n<e.length;n++)r+=e[n].length;for(t=i.buffer.alloc(r),n=0;n<e.length;
vendor: 25,397 bytes, line 1
1n++)e[n].copy(t,o),o+=e[n].length;return t}},string:{byteLength:function(e){if(null==e)return 0;if("string"==typeof e&&(e=i.buffer.toBuffer(e)),"number"==typeof e.byteLength)return e.byteLength;if("number"==typeof e.length)return e.length;if("number"==typeof e.size)return e.size;if("string"==typeof e.path)return n(181).lstatSync(e.path).size;throw i.error(new Error("Cannot determine length of "+e),{object:e})},upperFirst:function(e){return e[0].toUpperCase()+e.substr(1)},lowerFirst:function(e){return e[0].toLowerCase()+e.substr(1)}},ini:{parse:function(e){var t,n={};return i.arrayEach(e.split(/\r?\n/),(function(e){if("["===(e=e.split(/(^|\s)[;#]/)[0].trim())[0]&&"]"===e[e.length-1]){if("__proto__"===(t=e.substring(1,e.length-1))||"__proto__"===t.split(/\s/)[1])throw i.error(new Error("Cannot load profile name '"+t+"' from shared ini file."))}else if(t){var r=e.indexOf("="),o=e.length-1;if(-1!==r&&0!==r&&r!==o){var a=e.substring(0,r).trim(),s=e.substring(r+1).trim();n[t]=n[t]||{},n[t][a]=s}}})),n}},fn:{noop:function(){},callback:function(e){if(e)throw e},makeAsync:function(e,t){return t&&t<=e.length?e:function(){var t=Array.prototype.slice.call(arguments,0);t.pop()(e.apply(null,t))}}},date:{getDate:function(){return r||(r=n(107)),r.config.systemClockOffset?new Date((new Date).getTime()+r.config.systemClockOffset):new Date},iso8601:function(e){return void 0===e&&(e=i.date.getDate()),e.toISOString().replace(/\.\d{3}Z$/,"Z")},rfc822:function(e){return void 0===e&&(e=i.date.getDate()),e.toUTCString()},unixTimestamp:function(e){return void 0===e&&(e=i.date.getDate()),e.getTime()/1e3},from:function(e){return"number"==typeof e?new Date(1e3*e):new Date(e)},format:function(e,t){return t||(t="iso8601"),i.date[t](i.date.from(e))},parseTimestamp:function(e){if("number"==typeof e)return new Date(1e3*e);if(e.match(/^\d+$/))return new Date(1e3*e);if(e.match(/^\d{4}/))return new Date(e);if(e.match(/^\w{3},/))return new Date(e);throw i.error(new Error("unhandled timestamp format: "+e),{code:"TimestampParserError"})}},crypto:{crc32Table:[0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918e3,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117],crc32:function(e){var t=i.crypto.crc32Table,n=-1;"string"==typeof e&&(e=i.buffer.toBuffer(e));for(var r=0;r<e.length;r++){n=n>>>8^t[255&(n^e.readUInt8(r))]}return(-1^n)>>>0},hmac:function(e,t,n,r){return n||(n="binary"),"buffer"===n&&(n=void 0),r||(r="sha256"),"string"==typeof t&&(t=i.buffer.toBuffer(t)),i.crypto.lib.createHmac(r,e).update(t).digest(n)},md5:function(e,t,n){return i.crypto.hash("md5",e,t,n)},sha256:function(e,t,n){return i.crypto.hash("sha256",e,t,n)},hash:function(e,t,n,r){var o=i.crypto.createHash(e);n||(n="binary"),"buffer"===n&&(n=void 0),"string"==typeof t&&(t=i.buffer.toBuffer(t));var a=i.arraySliceFn(t),s=i.Buffer.isBuffer(t);if(i.isBrowser()&&"undefined"!=typeof ArrayBuffer&&t&&t.buffer instanceof ArrayBuffer&&(s=!0),r&&"object"==typeof t&&"function"==typeof t.on&&!s)t.on("data",(function(e){o.update(e)})),t.on("error",(function(e){r(e)})),t.on("end",(function(){r(null,o.digest(n))}));else{if(!r||!a||s||"undefined"==typeof FileReader){i.isBrowser()&&"object"==typeof t&&!s&&(t=new i.Buffer(new Uint8Array(t)));var u=o.update(t).digest(n);return r&&r(null,u),u}var c=0,l=new FileReader;l.onerror=function(){r(new Error("Failed to read data."))},l.onload=function(){var e=new i.Buffer(new Uint8Array(l.result));o.update(e),c+=e.length,l._continueReading()},l._continueReading=function(){if(c>=t.size)r(null,o.digest(n));else{var e=c+524288;e>t.size&&(e=t.size),l.readAsArrayBuffer(a.call(t,c,e))}},l._continueReading()}},toHex:function(e){for(var t=[],n=0;n<e.length;n++)t.push(("0"+e.charCodeAt(n).toString(16)).substr(-2,2));return t.join("")},createHash:function(e){return i.crypto.lib.createHash(e)}},abort:{},each:function(e,t){for(var n in e){if(Object.prototype.hasOwnProperty.call(e,n))if(t.call(this,n,e[n])===i.abort)break}},arrayEach:function(e,t){for(var n in e){if(Object.prototype.hasOwnProperty.call(e,n))if(t.call(this,e[n],parseInt(n,10))===i.abort)break}},update:function(e,t){return i.each(t,(function(t,n){e[t]=n})),e},merge:function(e,t){return i.update(i.copy(e),t)},copy:function(e){if(null==e)return e;var t={};for(var n in e)t[n]=e[n];return t},isEmpty:function(e){for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t))return!1;return!0},arraySliceFn:function(e){var t=e.slice||e.webkitSlice||e.mozSlice;return"function"==typeof t?t:null},isType:function(e,t){return"function"==typeof t&&(t=i.typeName(t)),Object.prototype.toString.call(e)==="[object "+t+"]"},typeName:function(e){if(Object.prototype.hasOwnProperty.call(e,"name"))return e.name;var t=e.toString(),n=t.match(/^\s*function (.+)\(/);return n?n[1]:t},error:function(e,t){var n=null;for(var r in"string"==typeof e.message&&""!==e.message&&("string"==typeof t||t&&t.message)&&((n=i.copy(e)).message=e.message),e.message=e.message||null,"string"==typeof t?e.message=t:"object"==typeof t&&null!==t&&(i.update(e,t),t.message&&(e.message=t.message),(t.code||t.name)&&(e.code=t.code||t.name),t.stack&&(e.stack=t.stack)),"function"==typeof Object.defineProperty&&(Object.defineProperty(e,"name",{writable:!0,enumerable:!1}),Object.defineProperty(e,"message",{enumerable:!0})),e.name=String(t&&t.name||e.name||e.code||"Error"),e.time=new Date,n&&(e.originalError=n),t||{})if("["===r[0]&&"]"===r[r.length-1]){if("code"===(r=r.slice(1,-1))||"message"===r)continue;e["["+r+"]"]="See error."+r+" for details.",Object.defineProperty(e,r,{value:e[r]||t&&t[r]||n&&n[r],enumerable:!1,writable:!0})}return e},inherit:function(e,t){var n=null;if(void 0===t)t=e,e=Object,n={};else{var r=function(){};r.prototype=e.prototype,n=new r}return t.constructor===Object&&(t.constructor=function(){if(e!==Object)return e.apply(this,arguments)}),t.constructor.prototype=n,i.update(t.constructor.prototype,t),t.constructor.__super__=e,t.constructor},mixin:function(){for(var e=arguments[0],t=1;t<arguments.length;t++)for(var n in arguments[t].prototype){var r=arguments[t].prototype[n];"constructor"!==n&&(e.prototype[n]=r)}return e},hideProperties:function(e,t){"function"==typeof Object.defineProperty&&i.arrayEach(t,(function(t){Object.defineProperty(e,t,{enumerable:!1,writable:!0,configurable:!0})}))},property:function(e,t,n,r,i){var o={configurable:!0,enumerable:void 0===r||r};"function"!=typeof n||i?(o.value=n,o.writable=!0):o.get=n,Object.defineProperty(e,t,o)},memoizedProperty:function(e,t,n,r){var o=null;i.property(e,t,(function(){return null===o&&(o=n()),o}),r)},hoistPayloadMember:function(e){var t=e.request,n=t.operation,r=t.service.api.operations[n],o=r.output;if(o.payload&&!r.hasEventOutput){var a=o.members[o.payload],s=e.data[o.payload];"structure"===a.type&&i.each(s,(function(t,n){i.property(e.data,t,n,!1)}))}},computeSha256:function(e,t){if(i.isNode()){var r=i.stream.Stream,o=n(181);if("function"==typeof r&&e instanceof r){if("string"!=typeof e.path)return t(new Error("Non-file stream objects are not supported with SigV4"));var a={};"number"==typeof e.start&&(a.start=e.start),"number"==typeof e.end&&(a.end=e.end),e=o.createReadStream(e.path,a)}}i.crypto.sha256(e,"hex",(function(e,n){e?t(e):t(null,n)}))},isClockSkewed:function(e){if(e)return i.property(r.config,"isClockSkewed",Math.abs((new Date).getTime()-e)>=3e5,!1),r.config.isClockSkewed},applyClockOffset:function(e){e&&(r.config.systemClockOffset=e-(new Date).getTime())},extractRequestId:function(e){var t=e.httpResponse.headers["x-amz-request-id"]||e.httpResponse.headers["x-amzn-requestid"];!t&&e.data&&e.data.ResponseMetadata&&(t=e.data.ResponseMetadata.RequestId),t&&(e.requestId=t),e.error&&(e.error.requestId=t)},addPromises:function(e,t){var n=!1;void 0===t&&r&&r.config&&(t=r.config.getPromisesDependency()),void 0===t&&"undefined"!=typeof Promise&&(t=Promise),"function"!=typeof t&&(n=!0),Array.isArray(e)||(e=[e]);for(var i=0;i<e.length;i++){var o=e[i];n?o.deletePromisesFromClass&&o.deletePromisesFromClass():o.addPromisesToClass&&o.addPromisesToClass(t)}},promisifyMethod:function(e,t){return function(){var n=this,r=Array.prototype.slice.call(arguments);return new t((function(t,i){r.push((function(e,n){e?i(e):t(n)})),n[e].apply(n,r)}))}},isDualstackAvailable:function(e){if(!e)return!1;var t=n(128);return"string"!=typeof e&&(e=e.serviceIdentifier),!("string"!=typeof e||!t.hasOwnProperty(e))&&!!t[e].dualstackAvailable},calculateRetryDelay:function(e,t,n){t||(t={});var r=t.customBackoff||null;if("function"==typeof r)return r(e,n);var i="number"==typeof t.base?t.base:100;return Math.random()*(Math.pow(2,e)*i)},handleRequestWithRetries:function(e,t,n){t||(t={});var o=r.HttpClient.getInstance(),a=t.httpOptions||{},s=0,u=function(e){var r=t.maxRetries||0;if(e&&"TimeoutError"===e.code&&(e.retryable=!0),e&&e.retryable&&s<r){var o=i.calculateRetryDelay(s,t.retryDelayOptions,e);if(o>=0)return s++,void setTimeout(c,o+(e.retryAfter||0))}n(e)},c=function(){var t="";o.handleRequest(e,a,(function(e){e.on("data",(function(e){t+=e.toString()})),e.on("end",(function(){var r=e.statusCode;if(r<300)n(null,t);else{var o=1e3*parseInt(e.headers["retry-after"],10)||0,a=i.error(new Error,{statusCode:r,retryable:r>=500||429===r});o&&a.retryable&&(a.retryAfter=o),u(a)}}))}),u)};r.util.defer(c)},uuid:{v4:function(){return n(182).v4()}},convertPayloadToString:function(e){var t=e.request,n=t.operation,r=t.service.api.operations[n].output||{};r.payload&&e.data[r.payload]&&(e.data[r.payload]=e.data[r.payload].toString())},defer:function(e){"object"==typeof process&&"function"==typeof process.nextTick?process.nextTick(e):"function"==typeof setImmediate?setImmediate(e):setTimeout(e,0)},getRequestPayloadShape:function(e){var t=e.service.api.operations;if(t){var n=(t||{})[e.operation];if(n&&n.input&&n.input.payload)return n.input.members[n.input.payload]}},getProfilesFromSharedConfig:function(e,t){var n={},r={};if(process.env[i.configOptInEnv])r=e.loadFrom({isConfig:!0,filename:process.env[i.sharedConfigFileEnv]});var o={};try{o=e.loadFrom({filename:t||process.env[i.configOptInEnv]&&process.env[i.sharedCredentialsFileEnv]})}catch(e){if(!process.env[i.configOptInEnv])throw e}for(var a=0,s=Object.keys(r);a<s.length;a++)n[s[a]]=u(n[s[a]]||{},r[s[a]]);for(a=0,s=Object.keys(o);a<s.length;a++)n[s[a]]=u(n[s[a]]||{},o[s[a]]);return n;function u(e,t){for(var n=0,r=Object.keys(t);n<r.length;n++)e[r[n]]=t[r[n]];return e}},ARN:{validate:function(e){return e&&0===e.indexOf("arn:")&&e.split(":").length>=6},parse:function(e){var t=e.split(":");return{partition:t[1],service:t[2],region:t[3],accountId:t[4],resource:t.slice(5).join(":")}},build:function(e){if(void 0===e.service||void 0===e.region||void 0===e.accountId||void 0===e.resource)throw i.error(new Error("Input ARN object is invalid"));return"arn:"+(e.partition||"aws")+":"+e.service+":"+e.region+":"+e.accountId+":"+e.resource}},defaultProfile:"default",configOptInEnv:"AWS_SDK_LOAD_CONFIG",sharedCredentialsFileEnv:"AWS_SHARED_CREDENTIALS_FILE",sharedConfigFileEnv:"AWS_CONFIG_FILE",imdsDisabledEnv:"AWS_EC2_METADATA_DISABLED"};e.exports=i},(e,t,n)=>{var r={util:n(106)};({}).toString(),e.exports=r,r.util.update(r,{VERSION:"2.1463.0",Signers:{},Protocol:{Json:n(108),Query:n(112),Rest:n(116),RestJson:n(117),RestXml:n(118)},XML:{Builder:n(119),Parser:null},JSON:{Builder:n(109),Parser:n(110)},Model:{Api:n(124),Operation:n(125),Shape:n(114),Paginator:n(126),ResourceWaiter:n(127)},apiLoader:n(129),EndpointCache:n(130).EndpointCache}),n(132),n(133),n(137),n(140),n(141),n(165),n(168),n(169),n(170),n(179),n(180),r.events=new r.SequentialExecutor,r.util.memoizedProperty(r,"endpointCache",(function(){return new r.EndpointCache(r.config.endpointCacheSize)}),!0)},(e,t,n)=>{var r=n(106),i=n(109),o=n(110),a=n(111).populateHostPrefix;e.exports={buildRequest:function(e){var t=e.httpRequest,n=e.service.api,r=n.targetPrefix+"."+n.operations[e.operation].name,o=n.jsonVersion||"1.0",s=n.operations[e.operation].input,u=new i;1===o&&(o="1.0"),n.awsQueryCompatible&&(t.params||(t.params={}),Object.assign(t.params,e.params)),t.body=u.build(e.params||{},s),t.headers["Content-Type"]="application/x-amz-json-"+o,t.headers["X-Amz-Target"]=r,a(e)},extractError:function(e){var t={},n=e.httpResponse;if(t.code=n.headers["x-amzn-errortype"]||"UnknownError","string"==typeof t.code&&(t.code=t.code.split(":")[0]),n.body.length>0)try{var i=JSON.parse(n.body.toString()),o=i.__type||i.code||i.Code;for(var a in o&&(t.code=o.split("#").pop()),"RequestEntityTooLarge"===t.code?t.message="Request body must be less than 1 MB":t.message=i.message||i.Message||null,i||{})"code"!==a&&"message"!==a&&(t["["+a+"]"]="See error."+a+" for details.",Object.defineProperty(t,a,{value:i[a],enumerable:!1,writable:!0}))}catch(i){t.statusCode=n.statusCode,t.message=n.statusMessage}else t.statusCode=n.statusCode,t.message=n.statusCode.toString();e.error=r.error(new Error,t)},extractData:function(e){var t=e.httpResponse.body.toString()||"{}";if(!1===e.request.service.config.convertResponseTypes)e.data=JSON.parse(t);else{var n=e.request.service.api.operations[e.request.operation].output||{},r=new o;e.data=r.parse(t,n)}}}},(e,t,n)=>{var r=n(106);function i(){}function o(e,t){if(t&&null!=e)switch(t.type){case"structure":return function(e,t){if(t.isDocument)return e;var n={};return r.each(e,(function(e,r){var i=t.members[e];if(i){if("body"!==i.location)return;var a=i.isLocationName?i.name:e,s=o(r,i);void 0!==s&&(n[a]=s)}})),n}(e,t);case"map":return function(e,t){var n={};return r.each(e,(function(e,r){var i=o(r,t.value);void 0!==i&&(n[e]=i)})),n}(e,t);case"list":return function(e,t){var n=[];return r.arrayEach(e,(function(e){var r=o(e,t.member);void 0!==r&&n.push(r)})),n}(e,t);default:return function(e,t){return t.toWireFormat(e)}(e,t)}}i.prototype.build=function(e,t){return JSON.stringify(o(e,t))},e.exports=i},(e,t,n)=>{var r=n(106);function i(){}function o(e,t){if(t&&void 0!==e)switch(t.type){case"structure":return function(e,t){if(null==e)return;if(t.isDocument)return e;var n={},i=t.members;return r.each(i,(function(t,r){var i=r.isLocationName?r.name:t;if(Object.prototype.hasOwnProperty.call(e,i)){var a=o(e[i],r);void 0!==a&&(n[t]=a)}})),n}(e,t);case"map":return function(e,t){if(null==e)return;var n={};return r.each(e,(function(e,r){var i=o(r,t.value);n[e]=void 0===i?null:i})),n}(e,t);case"list":return function(e,t){if(null==e)return;var n=[];return r.arrayEach(e,(function(e){var r=o(e,t.member);void 0===r?n.push(null):n.push(r)})),n}(e,t);default:return function(e,t){return t.toType(e)}(e,t)}}i.prototype.parse=function(e,t){return o(JSON.parse(e),t)},e.exports=i},(e,t,n)=>{var r=n(106),i=n(107);e.exports={populateHostPrefix:function(e){if(!e.service.config.hostPrefixEnabled)return e;var t,n,o,a=e.service.api.operations[e.operation];if(function(e){var t=e.service.api,n=t.operations[e.operation],i=t.endpointOperation&&t.endpointOperation===r.string.lowerFirst(n.name);return"NULL"!==n.endpointDiscoveryRequired||!0===i}(e))return e;if(a.endpoint&&a.endpoint.hostPrefix){var s=function(e,t,n){return r.each(n.members,(function(n,i){if(!0===i.hostLabel){if("string"!=typeof t[n]||""===t[n])throw r.error(new Error,{message:"Parameter "+n+" should be a non-empty string.",code:"InvalidParameter"});var o=new RegExp("\\{"+n+"\\}","g");e=e.replace(o,t[n])}})),e}(a.endpoint.hostPrefix,e.params,a.input);!function(e,t){e.host&&(e.host=t+e.host);e.hostname&&(e.hostname=t+e.hostname)}(e.httpRequest.endpoint,s),t=e.httpRequest.endpoint.hostname,n=t.split("."),o=/^[a-zA-Z0-9]{1}$|^[a-zA-Z0-9][a-zA-Z0-9\-]*[a-zA-Z0-9]$/,r.arrayEach(n,(function(e){if(!e.length||e.length<1||e.length>63)throw r.error(new Error,{code:"ValidationError",message:"Hostname label length should be between 1 to 63 characters, inclusive."});if(!o.test(e))throw i.util.error(new Error,{code:"ValidationError",message:e+" is not hostname compatible."})}))}return e}}},(e,t,n)=>{var r=n(107),i=n(106),o=n(113),a=n(114),s=n(111).populateHostPrefix;e.exports={buildRequest:function(e){var t=e.service.api.operations[e.operation],n=e.httpRequest;n.headers["Content-Type"]="application/x-www-form-urlencoded; charset=utf-8",n.params={Version:e.service.api.apiVersion,Action:t.name},(new o).serialize(e.params,t.input,(function(e,t){n.params[e]=t})),n.body=i.queryParamsToString(n.params),s(e)},extractError:function(e){var t,n=e.httpResponse.body.toString();if(n.match("<UnknownOperationException"))t={Code:"UnknownOperation",Message:"Unknown operation "+e.request.operation};else try{t=(new r.XML.Parser).parse(n)}catch(n){t={Code:e.httpResponse.statusCode,Message:e.httpResponse.statusMessage}}t.requestId&&!e.requestId&&(e.requestId=t.requestId),t.Errors&&(t=t.Errors),t.Error&&(t=t.Error),t.Code?e.error=i.error(new Error,{code:t.Code,message:t.Message}):e.error=i.error(new Error,{code:e.httpResponse.statusCode,message:null})},extractData:function(e){var t=e.request,n=t.service.api.operations[t.operation].output||{},o=n;if(o.resultWrapper){var s=a.create({type:"structure"});s.members[o.resultWrapper]=n,s.memberNames=[o.resultWrapper],i.property(n,"name",n.resultWrapper),n=s}var u=new r.XML.Parser;if(n&&n.members&&!n.members._XAMZRequestId){var c=a.create({type:"string"},{api:{protocol:"query"}},"requestId");n.members._XAMZRequestId=c}var l=u.parse(e.httpResponse.body.toString(),n);e.requestId=l._XAMZRequestId||l.requestId,l._XAMZRequestId&&delete l._XAMZRequestId,o.resultWrapper&&l[o.resultWrapper]&&(i.update(l,l[o.resultWrapper]),delete l[o.resultWrapper]),e.data=l}}},(e,t,n)=>{var r=n(106);function i(){}function o(e){return e.isQueryName||"ec2"!==e.api.protocol?e.name:e.name[0].toUpperCase()+e.name.substr(1)}function a(e,t,n,i){r.each(n.members,(function(n,r){var a=t[n];if(null!=a){var u=o(r);s(u=e?e+"."+u:u,a,r,i)}}))}function s(e,t,n,i){null!=t&&("structure"===n.type?a(e,t,n,i):"list"===n.type?function(e,t,n,i){var a=n.member||{};0!==t.length?r.arrayEach(t,(function(t,r){var u="."+(r+1);if("ec2"===n.api.protocol)u+="";else if(n.flattened){if(a.name){var c=e.split(".");c.pop(),c.push(o(a)),e=c.join(".")}}else u="."+(a.name?a.name:"member")+u;s(e+u,t,a,i)})):i.call(this,e,null)}(e,t,n,i):"map"===n.type?function(e,t,n,i){var o=1;r.each(t,(function(t,r){var a=(n.flattened?".":".entry.")+o+++".",u=a+(n.key.name||"key"),c=a+(n.value.name||"value");s(e+u,t,n.key,i),s(e+c,r,n.value,i)}))}(e,t,n,i):i(e,n.toWireFormat(t).toString()))}i.prototype.serialize=function(e,t,n){a("",e,t,n)},e.exports=i},(e,t,n)=>{var r=n(115),i=n(106);function o(e,t,n){null!=n&&i.property.apply(this,arguments)}function a(e,t){e.constructor.prototype[t]||i.memoizedProperty.apply(this,arguments)}function s(e,t,n){t=t||{},o(this,"shape",e.shape),o(this,"api",t.api,!1),o(this,"type",e.type),o(this,"enum",e.enum),o(this,"min",e.min),o(this,"max",e.max),o(this,"pattern",e.pattern),o(this,"location",e.location||this.location||"body"),o(this,"name",this.name||e.xmlName||e.queryName||e.locationName||n),o(this,"isStreaming",e.streaming||this.isStreaming||!1),o(this,"requiresLength",e.requiresLength,!1),o(this,"isComposite",e.isComposite||!1),o(this,"isShape",!0,!1),o(this,"isQueryName",Boolean(e.queryName),!1),o(this,"isLocationName",Boolean(e.locationName),!1),o(this,"isIdempotent",!0===e.idempotencyToken),o(this,"isJsonValue",!0===e.jsonvalue),o(this,"isSensitive",!0===e.sensitive||e.prototype&&!0===e.prototype.sensitive),o(this,"isEventStream",Boolean(e.eventstream),!1),o(this,"isEvent",Boolean(e.event),!1),o(this,"isEventPayload",Boolean(e.eventpayload),!1),o(this,"isEventHeader",Boolean(e.eventheader),!1),o(this,"isTimestampFormatSet",Boolean(e.timestampFormat)||e.prototype&&!0===e.prototype.isTimestampFormatSet,!1),o(this,"endpointDiscoveryId",Boolean(e.endpointdiscoveryid),!1),o(this,"hostLabel",Boolean(e.hostLabel),!1),t.documentation&&(o(this,"documentation",e.documentation),o(this,"documentationUrl",e.documentationUrl)),e.xmlAttribute&&o(this,"isXmlAttribute",e.xmlAttribute||!1),o(this,"defaultValue",null),this.toWireFormat=function(e){return null==e?"":e},this.toType=function(e){return e}}function u(e){s.apply(this,arguments),o(this,"isComposite",!0),e.flattened&&o(this,"flattened",e.flattened||!1)}function c(e,t){var n=this,i=null,c=!this.isShape;u.apply(this,arguments),c&&(o(this,"defaultValue",(function(){return{}})),o(this,"members",{}),o(this,"memberNames",[]),o(this,"required",[]),o(this,"isRequired",(function(){return!1})),o(this,"isDocument",Boolean(e.document))),e.members&&(o(this,"members",new r(e.members,t,(function(e,n){return s.create(n,t,e)}))),a(this,"memberNames",(function(){return e.xmlOrder||Object.keys(e.members)})),e.event&&(a(this,"eventPayloadMemberName",(function(){for(var e=n.members,t=n.memberNames,r=0,i=t.length;r<i;r++)if(e[t[r]].isEventPayload)return t[r]})),a(this,"eventHeaderMemberNames",(function(){for(var e=n.members,t=n.memberNames,r=[],i=0,o=t.length;i<o;i++)e[t[i]].isEventHeader&&r.push(t[i]);return r})))),e.required&&(o(this,"required",e.required),o(this,"isRequired",(function(t){if(!i){i={};for(var n=0;n<e.required.length;n++)i[e.required[n]]=!0}return i[t]}),!1,!0)),o(this,"resultWrapper",e.resultWrapper||null),e.payload&&o(this,"payload",e.payload),"string"==typeof e.xmlNamespace?o(this,"xmlNamespaceUri",e.xmlNamespace):"object"==typeof e.xmlNamespace&&(o(this,"xmlNamespacePrefix",e.xmlNamespace.prefix),o(this,"xmlNamespaceUri",e.xmlNamespace.uri))}function l(e,t){var n=this,r=!this.isShape;if(u.apply(this,arguments),r&&o(this,"defaultValue",(function(){return[]})),e.member&&a(this,"member",(function(){return s.create(e.member,t)})),this.flattened){var i=this.name;a(this,"name",(function(){return n.member.name||i}))}}function f(e,t){var n=!this.isShape;u.apply(this,arguments),n&&(o(this,"defaultValue",(function(){return{}})),o(this,"key",s.create({type:"string"},t)),o(this,"value",s.create({type:"string"},t))),e.key&&a(this,"key",(function(){return s.create(e.key,t)})),e.value&&a(this,"value",(function(){return s.create(e.value,t)}))}function p(){s.apply(this,arguments);var e=["rest-xml","query","ec2"];this.toType=function(t){return t=this.api&&e.indexOf(this.api.protocol)>-1?t||"":t,this.isJsonValue?JSON.parse(t):t&&"function"==typeof t.toString?t.toString():t},this.toWireFormat=function(e){return this.isJsonValue?JSON.stringify(e):e}}function d(){s.apply(this,arguments),this.toType=function(e){var t=i.base64.decode(e);if(this.isSensitive&&i.isNode()&&"function"==typeof i.Buffer.alloc){var n=i.Buffer.alloc(t.length,t);t.fill(0),t=n}return t},this.toWireFormat=i.base64.encode}function h(){d.apply(this,arguments)}function m(){s.apply(this,arguments),this.toType=function(e){return"boolean"==typeof e?e:null==e?null:"true"===e}}s.normalizedTypes={character:"string",double:"float",long:"integer",short:"integer",biginteger:"integer",bigdecimal
1:"float",blob:"binary"},s.types={structure:c,list:l,map:f,boolean:m,timestamp:function(e){var t=this;if(s.apply(this,arguments),e.timestampFormat)o(this,"timestampFormat",e.timestampFormat);else if(t.isTimestampFormatSet&&this.timestampFormat)o(this,"timestampFormat",this.timestampFormat);else if("header"===this.location)o(this,"timestampFormat","rfc822");else if("querystring"===this.location)o(this,"timestampFormat","iso8601");else if(this.api)switch(this.api.protocol){case"json":case"rest-json":o(this,"timestampFormat","unixTimestamp");break;case"rest-xml":case"query":case"ec2":o(this,"timestampFormat","iso8601")}this.toType=function(e){return null==e?null:"function"==typeof e.toUTCString?e:"string"==typeof e||"number"==typeof e?i.date.parseTimestamp(e):null},this.toWireFormat=function(e){return i.date.format(e,t.timestampFormat)}},float:function(){s.apply(this,arguments),this.toType=function(e){return null==e?null:parseFloat(e)},this.toWireFormat=this.toType},integer:function(){s.apply(this,arguments),this.toType=function(e){return null==e?null:parseInt(e,10)},this.toWireFormat=this.toType},string:p,base64:h,binary:d},s.resolve=function(e,t){if(e.shape){var n=t.api.shapes[e.shape];if(!n)throw new Error("Cannot find shape reference: "+e.shape);return n}return null},s.create=function(e,t,n){if(e.isShape)return e;var r=s.resolve(e,t);if(r){var i=Object.keys(e);t.documentation||(i=i.filter((function(e){return!e.match(/documentation/)})));var o=function(){r.constructor.call(this,e,t,n)};return o.prototype=r,new o}e.type||(e.members?e.type="structure":e.member?e.type="list":e.key?e.type="map":e.type="string");var a=e.type;if(s.normalizedTypes[e.type]&&(e.type=s.normalizedTypes[e.type]),s.types[e.type])return new s.types[e.type](e,t,n);throw new Error("Unrecognized shape type: "+a)},s.shapes={StructureShape:c,ListShape:l,MapShape:f,StringShape:p,BooleanShape:m,Base64Shape:h},e.exports=s},(e,t,n)=>{var r=n(106).memoizedProperty;function i(e,t,n,i){r(this,i(e),(function(){return n(e,t)}))}e.exports=function(e,t,n,r,o){for(var a in r=r||String,e)Object.prototype.hasOwnProperty.call(e,a)&&(i.call(this,a,e[a],n,r),o&&o(a,e[a]))}},(e,t,n)=>{var r=n(106),i=n(111).populateHostPrefix;function o(e,t,n,i){var o=[e,t].join("/");o=o.replace(/\/+/g,"/");var a={},s=!1;if(r.each(n.members,(function(e,t){var n=i[e];if(null!=n)if("uri"===t.location){var u=new RegExp("\\{"+t.name+"(\\+)?\\}");o=o.replace(u,(function(e,t){return(t?r.uriEscapePath:r.uriEscape)(String(n))}))}else"querystring"===t.location&&(s=!0,"list"===t.type?a[t.name]=n.map((function(e){return r.uriEscape(t.member.toWireFormat(e).toString())})):"map"===t.type?r.each(n,(function(e,t){Array.isArray(t)?a[e]=t.map((function(e){return r.uriEscape(String(e))})):a[e]=r.uriEscape(String(t))})):a[t.name]=r.uriEscape(t.toWireFormat(n).toString()))})),s){o+=o.indexOf("?")>=0?"&":"?";var u=[];r.arrayEach(Object.keys(a).sort(),(function(e){Array.isArray(a[e])||(a[e]=[a[e]]);for(var t=0;t<a[e].length;t++)u.push(r.uriEscape(String(e))+"="+a[e][t])})),o+=u.join("&")}return o}e.exports={buildRequest:function(e){!function(e){e.httpRequest.method=e.service.api.operations[e.operation].httpMethod}(e),function(e){var t=e.service.api.operations[e.operation],n=t.input,r=
vendor: 4,390 bytes, line 1
1o(e.httpRequest.endpoint.path,t.httpPath,n,e.params);e.httpRequest.path=r}(e),function(e){var t=e.service.api.operations[e.operation];r.each(t.input.members,(function(t,n){var i=e.params[t];null!=i&&("headers"===n.location&&"map"===n.type?r.each(i,(function(t,r){e.httpRequest.headers[n.name+t]=r})):"header"===n.location&&(i=n.toWireFormat(i).toString(),n.isJsonValue&&(i=r.base64.encode(i)),e.httpRequest.headers[n.name]=i))}))}(e),i(e)},extractError:function(){},extractData:function(e){var t=e.request,n={},i=e.httpResponse,o=t.service.api.operations[t.operation].output,a={};r.each(i.headers,(function(e,t){a[e.toLowerCase()]=t})),r.each(o.members,(function(e,t){var o=(t.name||e).toLowerCase();if("headers"===t.location&&"map"===t.type){n[e]={};var s=t.isLocationName?t.name:"",u=new RegExp("^"+s+"(.+)","i");r.each(i.headers,(function(t,r){var i=t.match(u);null!==i&&(n[e][i[1]]=r)}))}else if("header"===t.location){if(void 0!==a[o]){var c=t.isJsonValue?r.base64.decode(a[o]):a[o];n[e]=t.toType(c)}}else"statusCode"===t.location&&(n[e]=parseInt(i.statusCode,10))})),e.data=n},generateURI:o}},(e,t,n)=>{var r=n(106),i=n(116),o=n(108),a=n(109),s=n(110),u=["GET","HEAD","DELETE"];function c(e,t){if(!e.httpRequest.headers["Content-Type"]){var n=t?"binary/octet-stream":"application/json";e.httpRequest.headers["Content-Type"]=n}}e.exports={buildRequest:function(e){i.buildRequest(e),u.indexOf(e.httpRequest.method)<0&&function(e){var t=new a,n=e.service.api.operations[e.operation].input;if(n.payload){var r,i=n.members[n.payload];r=e.params[n.payload],"structure"===i.type?(e.httpRequest.body=t.build(r||{},i),c(e)):void 0!==r&&(e.httpRequest.body=r,("binary"===i.type||i.isStreaming)&&c(e,!0))}else e.httpRequest.body=t.build(e.params,n),c(e)}(e)},extractError:function(e){o.extractError(e)},extractData:function(e){i.extractData(e);var t=e.request,n=t.service.api.operations[t.operation],a=t.service.api.operations[t.operation].output||{};if(n.hasEventOutput,a.payload){var u=a.members[a.payload],c=e.httpResponse.body;if(u.isEventStream)l=new s,e.data[payload]=r.createEventStream(2===AWS.HttpClient.streamsApiVersion?e.httpResponse.stream:c,l,u);else if("structure"===u.type||"list"===u.type){var l=new s;e.data[a.payload]=l.parse(c,u)}else"binary"===u.type||u.isStreaming?e.data[a.payload]=c:e.data[a.payload]=u.toType(c)}else{var f=e.data;o.extractData(e),e.data=r.merge(f,e.data)}},unsetContentLength:function(e){void 0===r.getRequestPayloadShape(e)&&u.indexOf(e.httpRequest.method)>=0&&delete e.httpRequest.headers["Content-Length"]}}},(e,t,n)=>{var r=n(107),i=n(106),o=n(116);e.exports={buildRequest:function(e){o.buildRequest(e),["GET","HEAD"].indexOf(e.httpRequest.method)<0&&function(e){var t=e.service.api.operations[e.operation].input,n=new r.XML.Builder,o=e.params,a=t.payload;if(a){var s=t.members[a];if(void 0===(o=o[a]))return;if("structure"===s.type){var u=s.name;e.httpRequest.body=n.toXML(o,s,u,!0)}else e.httpRequest.body=o}else e.httpRequest.body=n.toXML(o,t,t.name||t.shape||i.string.upperFirst(e.operation)+"Request")}(e)},extractError:function(e){var t;o.extractError(e);try{t=(new r.XML.Parser).parse(e.httpResponse.body.toString())}catch(n){t={Code:e.httpResponse.statusCode,Message:e.httpResponse.statusMessage}}t.Errors&&(t=t.Errors),t.Error&&(t=t.Error),t.Code?e.error=i.error(new Error,{code:t.Code,message:t.Message}):e.error=i.error(new Error,{code:e.httpResponse.statusCode,message:null})},extractData:function(e){var t;o.extractData(e);var n=e.request,a=e.httpResponse.body,s=n.service.api.operations[n.operation],u=s.output,c=(s.hasEventOutput,u.payload);if(c){var l=u.members[c];l.isEventStream?(t=new r.XML.Parser,e.data[c]=i.createEventStream(2===r.HttpClient.streamsApiVersion?e.httpResponse.stream:e.httpResponse.body,t,l)):"structure"===l.type?(t=new r.XML.Parser,e.data[c]=t.parse(a.toString(),l)):"binary"===l.type||l.isStreaming?e.data[c]=a:e.data[c]=l.toType(a)}else if(a.length>0){var f=(t=new r.XML.Parser).parse(a.toString(),u);i.update(e.data,f)}}}},(e,t,n)=>{var r=n(106),i=n(120).XmlNode,o=n(122).XmlText;function a(){}function s(e,t,n){switch(n.type){case"structure":return function(e,t,n){r.arrayEach(n.memberNames,(function(r){var o=n.members[r];if("body"===o.location){var a=t[r],c=o.name;if(null!=a)if(o.isXmlAttribute)e.addAttribute(c,a);else if(o.flattened)s(e,a,o);else{var l=new i(c);e.addChildNode(l),u(l,o),s(l,a,o)}}}))}
1(e,t,n);case"map":return function(e,t,n){var o=n.key.name||"key",a=n.value.name||"value";r.each(t,(function(t,r){var u=new i(n.flattened?n.name:"entry");e.addChildNode(u);var c=new i(o),l=new i(a);u.addChildNode(c),u.addChildNode(l),s(c,t,n.key),s(l,r,n.value)}))}(e,t,n);case"list":return function(e,t,n){n.flattened?r.arrayEach(t,(function(t){var r=n.member.name||n.name,o=new i(r);e.addChildNode(o),s(o,t,n.member)})):r.arrayEach(t,(function(t){var r=n.member.name||"member",o=new i(r);e.addChildNode(o),s(o,t,n.member)}))}(e,t,n);default:return function(e,t,n){e.addChildNode(new o(n.toWireFormat(t)))}(e,t,n)}}function u(e,t,n){var r,i="xmlns";t.xmlNamespaceUri?(r=t.xmlNamespaceUri,t.xmlNamespacePrefix&&(i+=":"+t.xmlNamespacePrefix)):n&&t.api.xmlNamespaceUri&&(r=t.api.xmlNamespaceUri),r&&e.addAttribute(i,r)}a.prototype.toXML=function(e,t,n,r){var o=new i(n);return u(o,t,!0),s(o,e,t),o.children.length>0||r?o.toString():""},e.exports=a},(e,t,n)=>{var r=n(121).escapeAttribute;function i(e,t){void 0===t&&(t=[]),this.name=e,this.children=t,this.attributes={}}i.prototype.addAttribute=function(e,t){return this.attributes[e]=t,this},i.prototype.addChildNode=function(e){return this.children.push(e),this},i.prototype.removeAttribute=function(e){return delete this.attributes[e],this},i.prototype.toString=function(){for(var e=Boolean(this.children.length),t="<"+this.name,n=this.attributes,i=0,o=Object.keys(n);i<o.length;i++){var a=o[i],s=n[a];null!=s&&(t+=" "+a+'="'+r(""+s)+'"')}return t+(e?">"+this.children.map((function(e){return e.toString()})).join("")+"</"+this.name+">":"/>")},e.exports={XmlNode:i}},e=>{e.exports={escapeAttribute:function(e){return e.replace(/&/g,"&amp;").replace(/'/g,"&apos;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;")}}},(e,t,n)=>{var r=n(123).escapeElement;function i(e){this.value=e}i.prototype.toString=function(){return r(""+this.value)},e.exports={XmlText:i}},e=>{e.exports={escapeElement:function(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/\r/g,"&#x0D;").replace(/\n/g,"&#x0A;").replace(/\u0085/g,"&#x85;").replace(/\u2028/,"&#x2028;")}}},(e,t,n)=>{var r=n(115),i=n(125),o=n(114),a=n(126),s=n(127),u=n(128),c=n(106),l=c.property,f=c.memoizedProperty;e.exports=function(e,t){var n=this;e=e||{},(t=t||{}).api=this,e.metadata=e.metadata||{};var p=t.serviceIdentifier;delete t.serviceIdentifier,l(this,"isApi",!0,!1),l(this,"apiVersion",e.metadata.apiVersion),l(this,"endpointPrefix",e.metadata.endpointPrefix),l(this,"signingName",e.metadata.signingName),l(this,"globalEndpoint",e.metadata.globalEndpoint),l(this,"signatureVersion",e.metadata.signatureVersion),l(this,"jsonVersion",e.metadata.jsonVersion),l(this,"targetPrefix",e.metadata.targetPrefix),l(this,"protocol",e.metadata.protocol),l(this,"timestampFormat",e.metadata.timestampFormat),l(this,"xmlNamespaceUri",e.metadata.xmlNamespace),l(this,"abbreviation",e.metadata.serviceAbbreviation),l(this,"fullName",e.metadata.serviceFullName),l(this,"serviceId",e.metadata.serviceId),p&&u[p]&&l(this,"xmlNoDefaultLists",u[p].xmlNoDefaultLists,!1),f(this,"className",(function(){var t=e.metadata.serviceAbbreviation||e.metadata.serviceFullName;return t?("ElasticLoadBalancing"===(t=t.replace(/^Amazon|AWS\s*|\(.*|\s+|\W+/g,""))&&(t="ELB"),t):null})),l(this,"operations",new r(e.operations,t,(function(e,n){return new i(e,n,t)}),c.string.lowerFirst,(function(e,t){!0===t.endpointoperation&&l(n,"endpointOperation",c.string.lowerFirst(e)),t.endpointdiscovery&&!n.hasRequiredEndpointDiscovery&&l(n,"hasRequiredEndpointDiscovery",!0===t.endpointdiscovery.required)}))),l(this,"shapes",new r(e.shapes,t,(function(e,n){return o.create(n,t)}))),l(this,"paginators",new r(e.paginators,t,(function(e,n){return new a(e,n,t)}))),l(this,"waiters",new r(e.waiters,t,(function(e,n){return new s(e,n,t)}),c.string.lowerFirst)),t.documentation&&(l(this,"documentation",e.documentation),l(this,"documentationUrl",e.documentationUrl)),l(this,"awsQueryCompatible",e.metadata.awsQueryCompatible)}},(e,t,n)=>{var r=n(114),i=n(106),o=i.property,a=i.memoizedProperty;e.exports=function(e,t,n){var i=this;n=n||{},o(this,"name",t.name||e),o(this,"api",n.api,!1),t.http=t.http||{},o(this,"endpoint",t.endpoint),o(this,"httpMethod",t.http.method||"POST"),o(this,"httpPath",t.http.requestUri||"/"),o(this,"authtype",t.authtype||""),o(this,"endpointDiscoveryRequired",t.endpointdiscovery?t.endpointdiscovery.required?"REQUIRED":"OPTIONAL":"NULL");var s=t.httpChecksumRequired||t.httpChecksum&&t.httpChecksum.requestChecksumRequired;o(this,"httpChecksumRequired",s,!1),a(this,"input",(function(){return t.input?r.create(t.input,n):new r.create({type:"structure"},n)})),a(this,"output",(function(){return t.output?r.create(t.output,n):new r.create({type:"structure"},n)})),a(this,"errors",(function(){var e=[];
1if(!t.errors)return null;for(var i=0;i<t.errors.length;i++)e.push(r.create(t.errors[i],n));return e})),a(this,"paginator",(function(){return n.api.paginators[e]})),n.documentation&&(o(this,"documentation",t.documentation),o(this,"documentationUrl",t.documentationUrl)),a(this,"idempotentMembers",(function(){var e=[],t=i.input,n=t.members;if(!t.members)return e;for(var r in n)n.hasOwnProperty(r)&&!0===n[r].isIdempotent&&e.push(r);return e})),a(this,"hasEventOutput",(function(){return function(e){var t=e.members,n=e.payload;if(!e.members)return!1;if(n){return t[n].isEventStream}for(var r in t)if(!t.hasOwnProperty(r)&&!0===t[r].isEventStream)return!0;return!1}(i.output)}))}},(e,t,n)=>{var r=n(106).property;e.exports=function(e,t){r(this,"inputToken",t.input_token),r(this,"limitKey",t.limit_key),r(this,"moreResults",t.more_results),r(this,"outputToken",t.output_token),r(this,"resultKey",t.result_key)}},(e,t,n)=>{var r=n(106),i=r.property;e.exports=function(e,t,n){n=n||{},i(this,"name",e),i(this,"api",n.api,!1),t.operation&&i(this,"operation",r.string.lowerFirst(t.operation));var o=this;["type","description","delay","maxAttempts","acceptors"].forEach((function(e){var n=t[e];n&&i(o,e,n)}))}},e=>{"use strict";
vendor: 5,331 bytes, line 1
1e.exports=JSON.parse('{"acm":{"name":"ACM","cors":true},"apigateway":{"name":"APIGateway","cors":true},"applicationautoscaling":{"prefix":"application-autoscaling","name":"ApplicationAutoScaling","cors":true},"appstream":{"name":"AppStream"},"autoscaling":{"name":"AutoScaling","cors":true},"batch":{"name":"Batch"},"budgets":{"name":"Budgets"},"clouddirectory":{"name":"CloudDirectory","versions":["2016-05-10*"]},"cloudformation":{"name":"CloudFormation","cors":true},"cloudfront":{"name":"CloudFront","versions":["2013-05-12*","2013-11-11*","2014-05-31*","2014-10-21*","2014-11-06*","2015-04-17*","2015-07-27*","2015-09-17*","2016-01-13*","2016-01-28*","2016-08-01*","2016-08-20*","2016-09-07*","2016-09-29*","2016-11-25*","2017-03-25*","2017-10-30*","2018-06-18*","2018-11-05*","2019-03-26*"],"cors":true},"cloudhsm":{"name":"CloudHSM","cors":true},"cloudsearch":{"name":"CloudSearch"},"cloudsearchdomain":{"name":"CloudSearchDomain"},"cloudtrail":{"name":"CloudTrail","cors":true},"cloudwatch":{"prefix":"monitoring","name":"CloudWatch","cors":true},"cloudwatchevents":{"prefix":"events","name":"CloudWatchEvents","versions":["2014-02-03*"],"cors":true},"cloudwatchlogs":{"prefix":"logs","name":"CloudWatchLogs","cors":true},"codebuild":{"name":"CodeBuild","cors":true},"codecommit":{"name":"CodeCommit","cors":true},"codedeploy":{"name":"CodeDeploy","cors":true},"codepipeline":{"name":"CodePipeline","cors":true},"cognitoidentity":{"prefix":"cognito-identity","name":"CognitoIdentity","cors":true},"cognitoidentityserviceprovider":{"prefix":"cognito-idp","name":"CognitoIdentityServiceProvider","cors":true},"cognitosync":{"prefix":"cognito-sync","name":"CognitoSync","cors":true},"configservice":{"prefix":"config","name":"ConfigService","cors":true},"cur":{"name":"CUR","cors":true},"datapipeline":{"name":"DataPipeline"},"devicefarm":{"name":"DeviceFarm","cors":true},"directconnect":{"name":"DirectConnect","cors":true},"directoryservice":{"prefix":"ds","name":"DirectoryService"},"discovery":{"name":"Discovery"},"dms":{"name":"DMS"},"dynamodb":{"name":"DynamoDB","cors":true},"dynamodbstreams":{"prefix":"streams.dynamodb","name":"DynamoDBStreams","cors":true},"ec2":{"name":"EC2","versions":["2013-06-15*","2013-10-15*","2014-02-01*","2014-05-01*","2014-06-15*","2014-09-01*","2014-10-01*","2015-03-01*","2015-04-15*","2015-10-01*","2016-04-01*","2016-09-15*"],"cors":true},"ecr":{"name":"ECR","cors":true},"ecs":{"name":"ECS","cors":true},"efs":{"prefix":"elasticfilesystem","name":"EFS","cors":true},"elasticache":{"name":"ElastiCache","versions":["2012-11-15*","2014-03-24*","2014-07-15*","2014-09-30*"],"cors":true},"elasticbeanstalk":{"name":"ElasticBeanstalk","cors":true},"elb":{"prefix":"elasticloadbalancing","name":"ELB","cors":true},"elbv2":{"prefix":"elasticloadbalancingv2","name":"ELBv2","cors":true},"emr":{"prefix":"elasticmapreduce","name":"EMR","cors":true},"es":{"name":"ES"},"elastictranscoder":{"name":"ElasticTranscoder","cors":true},"firehose":{"name":"Firehose","cors":true},"gamelift":{"name":"GameLift","cors":true},"glacier":{"name":"Glacier"},"health":{"name":"Health"},"iam":{"name":"IAM","cors":true},"importexport":{"name":"ImportExport"},"inspector":{"name":"Inspector","versions":["2015-08-18*"],"cors":true},"iot":{"name":"Iot","cors":true},"iotdata":{"prefix":"iot-data","name":"IotData","cors":true},"kinesis":{"name":"Kinesis","cors":true},"kinesisanalytics":{"name":"KinesisAnalytics"},"kms":{"name":"KMS","cors":true},"lambda":{"name":"Lambda","cors":true},"lexruntime":{"prefix":"runtime.lex","name":"LexRuntime","cors":true},"lightsail":{"name":"Lightsail"},"machinelearning":{"name":"MachineLearning","cors":true},"marketplacecommerceanalytics":{"name":"MarketplaceCommerceAnalytics","cors":true},"marketplacemetering":{"prefix":"meteringmarketplace","name":"MarketplaceMetering"},"mturk":{"prefix":"mturk-requester","name":"MTurk","cors":true},"mobileanalytics":{"name":"MobileAnalytics","cors":true},"opsworks":{"name":"OpsWorks","cors":true},"opsworkscm":{"name":"OpsWorksCM"},"organizations":{"name":"Organizations"},"pinpoint":{"name":"Pinpoint"},"polly":{"name":"Polly","cors":true},"rds":{"name":"RDS","versions":["2014-09-01*"],"cors":true},"redshift":{"name":"Redshift","cors":true},"rekognition":{"name":"Rekognition","cors":true},"resourcegroupstaggingapi":{"name":"ResourceGroupsTaggingAPI"},"route53":{"name":"Route53","cors":true},"route53domains":{"name":"Route53Domains","cors":true},"s3":{"name":"S3","dualstackAvailable":true,"cors":true},"s3control":{"name":"S3Control","dualstackAvailable":true,"xmlNoDefaultLists":true},"servicecatalog":{"name":"ServiceCatalog","cors":true},"ses":{"prefix":"email","name":"SES","cors":true},"shield":{"name":"Shield"},"simpledb":{"prefix":"sdb","name":"SimpleDB"},"sms":{"name":"SMS"},"snowball":{"name":"Snowball"},"sns":{"name":"SNS","cors":true},"sqs":{"name":"SQS","cors":true},"ssm":{"name":"SSM","cors":true},"storagegateway":{"name":"StorageGateway","cors":true},"stepfunctions":{"prefix":"states","name":"StepFunctions"},"sts":{"name":"STS","cors":true},"support":{"name":"Support"},"swf":{"name":"SWF"},"xray":{"name":"XRay","cors":true},"waf":{"name":"WAF","cors":true},"wafregional":{"prefix":"waf-regional","name":"WAFRegional"},"workdocs":{"name":"WorkDocs","cors":true},"workspaces":{"name":"WorkSpaces"},"
1codestar":{"name":"CodeStar"},"lexmodelbuildingservice":{"prefix":"lex-models","name":"LexModelBuildingService","cors":true},"marketplaceentitlementservice":{"prefix":"entitlement.marketplace","name":"MarketplaceEntitlementService"},"athena":{"name":"Athena","cors":true},"greengrass":{"name":"Greengrass"},"dax":{"name":"DAX"},"migrationhub":{"prefix":"AWSMigrationHub","name":"MigrationHub"},"cloudhsmv2":{"name":"CloudHSMV2","cors":true},"glue":{"name":"Glue"},"mobile":{"name":"Mobile"},"pricing":{"name":"Pricing","cors":true},"costexplorer":{"prefix":"ce","name":"CostExplorer","cors":true},"mediaconvert":{"name":"MediaConvert"},"medialive":{"name":"MediaLive"},"mediapackage":{"name":"MediaPackage"},"mediastore":{"name":"MediaStore"},"mediastoredata":{"prefix":"mediastore-data","name":"MediaStoreData","cors":true},"appsync":{"name":"AppSync"},"guardduty":{"name":"GuardDuty"},"mq":{"name":"MQ"},"comprehend":{"name":"Comprehend","cors":true},"iotjobsdataplane":{"prefix":"iot-jobs-data","name":"IoTJobsDataPlane"},"kinesisvideoarchivedmedia":{"prefix":"kinesis-video-archived-media","name":"KinesisVideoArchivedMedia","cors":true},"kinesisvideomedia":{"prefix":"kinesis-video-media","name":"KinesisVideoMedia","cors":true},"kinesisvideo":{"name":"KinesisVideo","cors":true},"sagemakerruntime":{"prefix":"runtime.sagemaker","name":"SageMakerRuntime"},"sagemaker":{"name":"SageMaker"},"translate":{"name":"Translate","cors":true},"resourcegroups":{"prefix":"resource-groups","name":"ResourceGroups","cors":true},"alexaforbusiness":{"name":"AlexaForBusiness"},"cloud9":{"name":"Cloud9"},"serverlessapplicationrepository":{"prefix":"serverlessrepo","name":"ServerlessApplicationRepository"},"servicediscovery":{"name":"ServiceDiscovery"},"workmail":{"name":"WorkMail"},"autoscalingplans":{"prefix":"autoscaling-plans","name":"AutoScalingPlans"},"transcribeservice":{"prefix":"transcribe","name":"TranscribeService"},"connect":{"name":"Connect","cors":true},"acmpca":{"prefix":"acm-pca","name":"ACMPCA"},"fms":{"name":"FMS"},"secretsmanager":{"name":"SecretsManager","cors":true},"iotanalytics":{"name":"IoTAnalytics","cors":true},"iot1clickdevicesservice":{"prefix":"iot1click-devices","name":"IoT1ClickDevicesService"},"iot1clickprojects":{"prefix":"iot1click-projects","name":"IoT1ClickProjects"},"pi":{"name":"PI"},"neptune":{"name":"Neptune"},"mediatailor":{"name":"MediaTailor"},"eks":{"name":"EKS"},"macie":{"name":"Macie"},"dlm":{"name":"DLM"},"signer":{"name":"Signer"},"chime":{"name":"Chime"},"pinpointemail":{"prefix":"pinpoint-email","name":"PinpointEmail"},"ram":{"name":"RAM"},"route53resolver":{"name":"Route53Resolver"},"pinpointsmsvoice":{"prefix":"sms-voice","name":"PinpointSMSVoice"},"quicksight":{"name":"QuickSight"},"rdsdataservice":{"prefix":"rds-data","name":"RDSDataService"},"amplify":{"name":"Amplify"},"datasync":{"name":"DataSync"},"robomaker":{"name":"RoboMaker"},"transfer":{"name":"Transfer"},"globalaccelerator":{"name":"GlobalAccelerator"},"comprehendmedical":{"name":"ComprehendMedical","cors":true},"kinesisanalyticsv2":{"name":"KinesisAnalyticsV2"},"mediaconnect":{"name":"MediaConnect"},"fsx":{"name":"FSx"},"securityhub":{"name":"SecurityHub"},"appmesh":{"name":"AppMesh","versions":["2018-10-01*"]},"licensemanager":{"prefix":"license-manager","name":"LicenseManager"},"kafka":{"name":"Kafka"},"apigatewaymanagementapi":{"name":"ApiGatewayManagementApi"},"apigatewayv2":{"name":"ApiGatewayV2"},"docdb":{"name":"DocDB"},"backup":{"name":"Backup"},"worklink":{"name":"WorkLink"},"textract":{"name":"Textract"},"managedblockchain":{"name":"ManagedBlockchain"},"mediapackagevod":{"prefix":"mediapackage-vod","name":"MediaPackageVod"},"groundstation":{"name":"GroundStation"},"iotthingsgraph":{"name":"IoTThingsGraph"},"iotevents":{"name":"IoTEvents"},"ioteventsdata":{"prefix":"iotevents-data","name":"IoTEventsData"},"personalize":{"name":"Personalize","cors":true},"personalizeevents":{"prefix":"personalize-events","name":"PersonalizeEvents","cors":true},"personalizeruntime":{"prefix":"personalize-runtime","name":"PersonalizeRuntime","cors":true},"applicationinsights":{"prefix":"application-insights","name":"ApplicationInsights"},"servicequotas":{"prefix":"service-quotas","name":"ServiceQuotas"},"ec2instanceconnect":{"prefix":"ec2-instance-connect","name":"EC2InstanceConnect"},"eventbridge":{"name":"EventBridge"},"lakeformation":{"name":"LakeFormation"},"forecastservice":{"prefix":"forecast","name":"ForecastService","cors":true},"forecastqueryservice":{"prefix":"forecastquery","name":"ForecastQueryService","cors":true},"qldb":{"name":"QLDB"},"qldbsession":{"prefix":"qldb-session","name":"QLDBSession"},"workmailmessageflow":{"name":"WorkMailMessageFlow"},"codestarnotifications":{"prefix":"codestar-notifications","name":"CodeStarNotifications"},"savingsplans":{"name":"SavingsPlans"},"sso":{"name":"SSO"},"ssooidc":{"prefix":"sso-oidc","name":"SSOOIDC"},"marketplacecatalog":{"prefix":"marketplace-catalog","name":"MarketplaceCatalog","cors":true},"dataexchange":{"name":"DataExchange"},"sesv2":{"name":"SESV2"},"migrationhubconfig":{"prefix":"migrationhub-config","name":"MigrationHubConfig"},"connectparticipant":{"name":"ConnectParticipant"},"appconfig":{"name":"AppConfig"},"iotsecuretunneling":{"name":"IoTSecureTunneling"},"wafv2":{"name":"WAFV2"},"elasticinference":{"prefix":"elastic-inference","name":"ElasticInference"},"imagebuilder":{"name":"Imagebuilder"},"schemas":{"name":"Schemas"},"accessanalyzer":{"name":"AccessAnalyzer"},"codegurureviewer":{"prefix":"codeguru-reviewer","name":"CodeGuruReviewer"},"codeguruprofiler":{"name":"CodeGuruProfiler"},"computeoptimizer":{"prefix":"compute-optimizer","name":"ComputeOptimizer"},"frauddetector":{"name":"FraudDetector"},"kendra":{"name":"Kendra"}
1,"networkmanager":{"name":"NetworkManager"},"outposts":{"name":"Outposts"},"augmentedairuntime":{"prefix":"sagemaker-a2i-runtime","name":"AugmentedAIRuntime"},"ebs":{"name":"EBS"},"kinesisvideosignalingchannels":{"prefix":"kinesis-video-signaling","name":"KinesisVideoSignalingChannels","cors":true},"detective":{"name":"Detective"},"codestarconnections":{"prefix":"codestar-connections","name":"CodeStarconnections"},"synthetics":{"name":"Synthetics"},"iotsitewise":{"name":"IoTSiteWise"},"macie2":{"name":"Macie2"},"codeartifact":{"name":"CodeArtifact"},"honeycode":{"name":"Honeycode"},"ivs":{"name":"IVS"},"braket":{"name":"Braket"},"identitystore":{"name":"IdentityStore"},"appflow":{"name":"Appflow"},"redshiftdata":{"prefix":"redshift-data","name":"RedshiftData"},"ssoadmin":{"prefix":"sso-admin","name":"SSOAdmin"},"timestreamquery":{"prefix":"timestream-query","name":"TimestreamQuery"},"timestreamwrite":{"prefix":"timestream-write","name":"TimestreamWrite"},"s3outposts":{"name":"S3Outposts"},"databrew":{"name":"DataBrew"},"servicecatalogappregistry":{"prefix":"servicecatalog-appregistry","name":"ServiceCatalogAppRegistry"},"networkfirewall":{"prefix":"network-firewall","name":"NetworkFirewall"},"mwaa":{"name":"MWAA"},"amplifybackend":{"name":"AmplifyBackend"},"appintegrations":{"name":"AppIntegrations"},"connectcontactlens":{"prefix":"connect-contact-lens","name":"ConnectContactLens"},"devopsguru":{"prefix":"devops-guru","name":"DevOpsGuru"},"ecrpublic":{"prefix":"ecr-public","name":"ECRPUBLIC"},"lookoutvision":{"name":"LookoutVision"},"sagemakerfeaturestoreruntime":{"prefix":"sagemaker-featurestore-runtime","name":"SageMakerFeatureStoreRuntime"},"customerprofiles":{"prefix":"customer-profiles","name":"CustomerProfiles"},"auditmanager":{"name":"AuditManager"},"emrcontainers":{"prefix":"emr-containers","name":"EMRcontainers"},"healthlake":{"name":"HealthLake"},"sagemakeredge":{"prefix":"sagemaker-edge","name":"SagemakerEdge"},"amp":{"name":"Amp","cors":true},"greengrassv2":{"name":"GreengrassV2"},"iotdeviceadvisor":{"name":"IotDeviceAdvisor"},"iotfleethub":{"name":"IoTFleetHub"},"iotwireless":{"name":"IoTWireless"},"location":{"name":"Location","cors":true},"wellarchitected":{"name":"WellArchitected"},"lexmodelsv2":{"prefix":"models.lex.v2","name":"LexModelsV2"},"lexruntimev2":{"prefix":"runtime.lex.v2","name":"LexRuntimeV2","cors":true},"fis":{"name":"Fis"},"lookoutmetrics":{"name":"LookoutMetrics"},"mgn":{"name":"Mgn"},"lookoutequipment":{"name":"LookoutEquipment"},"nimble":{"name":"Nimble"},"finspace":{"name":"Finspace"},"finspacedata":{"prefix":"finspace-data","name":"Finspacedata"},"ssmcontacts":{"prefix":"ssm-contacts","name":"SSMContacts"},"ssmincidents":{"prefix":"ssm-incidents","name":"SSMIncidents"},"applicationcostprofiler":{"name":"ApplicationCostProfiler"},"apprunner":{"name":"AppRunner"},"proton":{"name":"Proton"},"route53recoverycluster":{"prefix":"route53-recovery-cluster","name":"Route53RecoveryCluster"},"route53recoverycontrolconfig":{"prefix":"route53-recovery-control-config","name":"Route53RecoveryControlConfig"},"route53recoveryreadiness":{"prefix":"route53-recovery-readiness","name":"Route53RecoveryReadiness"},"chimesdkidentity":{"prefix":"chime-sdk-identity","name":"ChimeSDKIdentity"},"chimesdkmessaging":{"prefix":"chime-sdk-messaging","name":"ChimeSDKMessaging"},"snowdevicemanagement":{"prefix":"snow-device-management","name":"SnowDeviceManagement"},"memorydb":{"name":"MemoryDB"},"opensearch":{"name":"OpenSearch"},"kafkaconnect":{"name":"KafkaConnect"},"voiceid":{"prefix":"voice-id","name":"VoiceID"},"wisdom":{"name":"Wisdom"},"account":{"name":"Account"},"cloudcontrol":{"name":"CloudControl"},"grafana":{"name":"Grafana"},"panorama":{"name":"Panorama"},"chimesdkmeetings":{"prefix":"chime-sdk-meetings","name":"ChimeSDKMeetings"},"resiliencehub":{"name":"Resiliencehub"},"migrationhubstrategy":{"name":"MigrationHubStrategy"},"appconfigdata":{"name":"AppConfigData"},"drs":{"name":"Drs"},"migrationhubrefactorspaces":{"prefix":"migration-hub-refactor-spaces","name":"MigrationHubRefactorSpaces"},"evidently":{"name":"Evidently"},"inspector2":{"name":"Inspector2"},"rbin":{"name":"Rbin"},"rum":{"name":"RUM"},"backupgateway":{"prefix":"backup-gateway","name":"BackupGateway"},"iottwinmaker":{"name":"IoTTwinMaker"},"workspacesweb":{"prefix":"workspaces-web","name":"WorkSpacesWeb"},"amplifyuibuilder":{"name":"AmplifyUIBuilder"},"keyspaces":{"name":"Keyspaces"},"billingconductor":{"name":"Billingconductor"},"gamesparks":{"name":"GameSparks"},"pinpointsmsvoicev2":{"prefix":"pinpoint-sms-voice-v2","name":"PinpointSMSVoiceV2"},"ivschat":{"name":"Ivschat"},"chimesdkmediapipelines":{"prefix":"chime-sdk-media-pipelines","name":"ChimeSDKMediaPipelines"},"emrserverless":{"prefix":"emr-serverless","name":"EMRServerless"},"m2":{"name":"M2"},"connectcampaigns":{"name":"ConnectCampaigns"},"redshiftserverless":{"prefix":"redshift-serverless","name":"RedshiftServerless"},"rolesanywhere":{"name":"RolesAnywhere"},"licensemanagerusersubscriptions":{"prefix":"license-manager-user-subscriptions","name":"LicenseManagerUserSubscriptions"},"backupstorage":{"name":"BackupStorage"},"privatenetworks":{"name":"PrivateNetworks"},"supportapp":{"prefix":"support-app","name":"SupportApp"},"controltower":{"name":"ControlTower"},"iotfleetwise":{"name":"IoTFleetWise"},"migrationhuborchestrator":{"name":"MigrationHubOrchestrator"},"connectcases":{"name":"ConnectCases"},"resourceexplorer2":{"prefix":"resource-explorer-2","name":"ResourceExplorer2"},"scheduler":{"name":"Scheduler"},"chimesdkvoice":{"prefix":"chime-sdk-voice","name":"ChimeSDKVoice"}
1,"iotroborunner":{"prefix":"iot-roborunner","name":"IoTRoboRunner"},"ssmsap":{"prefix":"ssm-sap","name":"SsmSap"},"oam":{"name":"OAM"},"arczonalshift":{"prefix":"arc-zonal-shift","name":"ARCZonalShift"},"omics":{"name":"Omics"},"opensearchserverless":{"name":"OpenSearchServerless"},"securitylake":{"name":"SecurityLake"},"simspaceweaver":{"name":"SimSpaceWeaver"},"docdbelastic":{"prefix":"docdb-elastic","name":"DocDBElastic"},"sagemakergeospatial":{"prefix":"sagemaker-geospatial","name":"SageMakerGeospatial"},"codecatalyst":{"name":"CodeCatalyst"},"pipes":{"name":"Pipes"},"sagemakermetrics":{"prefix":"sagemaker-metrics","name":"SageMakerMetrics"},"kinesisvideowebrtcstorage":{"prefix":"kinesis-video-webrtc-storage","name":"KinesisVideoWebRTCStorage"},"licensemanagerlinuxsubscriptions":{"prefix":"license-manager-linux-subscriptions","name":"LicenseManagerLinuxSubscriptions"},"kendraranking":{"prefix":"kendra-ranking","name":"KendraRanking"},"cleanrooms":{"name":"CleanRooms"},"cloudtraildata":{"prefix":"cloudtrail-data","name":"CloudTrailData"},"tnb":{"name":"Tnb"},"internetmonitor":{"name":"InternetMonitor"},"ivsrealtime":{"prefix":"ivs-realtime","name":"IVSRealTime"},"vpclattice":{"prefix":"vpc-lattice","name":"VPCLattice"},"osis":{"name":"OSIS"},"mediapackagev2":{"name":"MediaPackageV2"},"paymentcryptography":{"prefix":"payment-cryptography","name":"PaymentCryptography"},"paymentcryptographydata":{"prefix":"payment-cryptography-data","name":"PaymentCryptographyData"},"codegurusecurity":{"prefix":"codeguru-security","name":"CodeGuruSecurity"},"verifiedpermissions":{"name":"VerifiedPermissions"},"appfabric":{"name":"AppFabric"},"medicalimaging":{"prefix":"medical-imaging","name":"MedicalImaging"},"entityresolution":{"name":"EntityResolution"},"managedblockchainquery":{"prefix":"managedblockchain-query","name":"ManagedBlockchainQuery"},"neptunedata":{"name":"Neptunedata"},"pcaconnectorad":{"prefix":"pca-connector-ad","name":"PcaConnectorAd"}}')},e=>{function t(e,n){if(!t.services.hasOwnProperty(e))throw new Error("InvalidService: Failed to load api for "+e);return t.services[e][n]}t.services={},e.exports=t},(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(131),i=function(){function e(e){void 0===e&&(e=1e3),this.maxSize=e,this.cache=new r.LRUCache(e)}return Object.defineProperty(e.prototype,"size",{get:function(){return this.cache.length},enumerable:!0,configurable:!0}),e.prototype.put=function(t,n){var r="string"!=typeof t?e.getKeyString(t):t,i=this.populateValue(n);this.cache.put(r,i)},e.prototype.get=function(t){var n="string"!=typeof t?e.getKeyString(t):t,r=Date.now(),i=this.cache.get(n);if(i){for(var o=i.length-1;o>=0;o--){i[o].Expire<r&&i.splice(o,1)}if(0===i.length)return void this.cache.remove(n)}return i},e.getKeyString=function(e){for(var t=[],n=Object.keys(e).sort(),r=0;r<n.length;r++){var i=n[r];void 0!==e[i]&&t.push(e[i])}return t.join(" ")},e.prototype.populateValue=function(e){var t=Date.now();return e.map((function(e){return{Address:e.Address||"",Expire:t+60*(e.CachePeriodInMinutes||1)*1e3}}))},e.prototype.empty=function(){this.cache.empty()},e.prototype.remove=function(t){var n="string"!=typeof t?e.getKeyString(t):t;this.cache.remove(n)},e}();t.EndpointCache=i},(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(e,t){this.key=e,this.value=t},r=function(){function e(e){if(this.nodeMap={},this.size=0,"number"!=typeof e||e<1)throw new Error("Cache size can only be positive number");this.sizeLimit=e}return Object.defineProperty(e.prototype,"length",{get:function(){return this.size},enumerable:!0,configurable:!0}),e.prototype.prependToList=function(e){this.headerNode?(this.headerNode.prev=e,e.next=this.headerNode):this.tailNode=e,this.headerNode=e,this.size++},e.prototype.removeFromTail=function(){if(this.tailNode){var e=this.tailNode,t=e.prev;return t&&(t.next=void 0),e.prev=void 0,this.tailNode=t,this.size--,e}},e.prototype.detachFromList=function(e){this.headerNode===e&&(this.headerNode=e.next),this.tailNode===e&&(this.tailNode=e.prev),e.prev&&(e.prev.next=e.next),e.next&&(e.next.prev=e.prev),e.next=void 0,e.prev=void 0,this.size--},e.prototype.get=function(e){if(this.nodeMap[e]){var t=this.nodeMap[e];return this.detachFromList(t),this.prependToList(t),t.value}},e.prototype.remove=function(e){if(this.nodeMap[e]){var t=this.nodeMap[e];this.detachFromList(t),delete this.nodeMap[e]}},e.prototype.put=function(e,t){if(this.nodeMap[e])this.remove(e);else if(this.size===this.sizeLimit){var r=this.removeFromTail().key;delete this.nodeMap[r]}var i=new n(e,t);this.nodeMap[e]=i,this.prependToList(i)},e.prototype.empty=function(){for(var e=Object.keys(this.nodeMap),t=0;t<e.length;t++){var n=e[t],r=this.nodeMap[n];this.detachFromList(r),delete this.nodeMap[n]}},e}();t.LRUCache=r},(e,t,n)=>{var r=n(107);r.SequentialExecutor=r.util.inherit({constructor:function(){this._events={}},listeners:function(e){return this._events[e]?this._events[e].slice(0):[]},on:function(e,t,n){return this._events[e]?n?this._events[e].unshift(t):this._events[e].push(t):this._events[e]=[t],this},onAsync:function(e,t,n){return t._isAsync=!0,this.on(e,t,n)},removeListener:function(e,t){var n=this._events[e];if(n){for(var r=n.length,i=-1,o=0;o<r;++o)n[o]===t&&(i=o);i>-1&&n.splice(i,1)}return this},removeAllListeners:function(e){return e?delete this._events[e]:this._events={},this},emit:function(e,t,n){n||(n=function(){});var r=this.listeners(e),i=r.length;return this.callListeners(r,t,n),i>0},callListeners:function(e,t,n,i){var o=this,a=i||null;function s(i){if(i&&(a=r.util.error(a||new Error,i),o._haltHandlersOnError))return n.call(o,a);o.callListeners(e,t,n,a)}for(;e.length>0;){var u=e.shift();if(u._isAsync)return void u.apply(o,t.concat([s]));try{u.apply(o,t)}catch(e){a=r.util.error(a||new Error,e)}if(a&&o._haltHandlersOnError)return void n.call(o,a)}n.call(o,a)},addListeners:function(e){var t=this;return e._events&&(e=e._events),r.util.each(e,(function(e,n){"function"==typeof n&&(n=[n]),r.util.arrayEach(n,(function(n){t.on(e,n)}))})),t},addNamedListener:function(e,t,n,r){return this[e]=n,this.addListener(t,n,r),this},addNamedAsyncListener:function(e,t,n,r){return n._isAsync=!0,this.addNamedListener(e,t,n,r)},addNamedListeners:function(e){var t=this;return e((function(){t.addNamedListener.apply(t,arguments)}),(function(){t.addNamedAsyncListener.apply(t,arguments)})),this}}),r.SequentialExecutor.prototype.addListener=r.SequentialExecutor.prototype.on,e.exports=r.SequentialExecutor},(e,t,n)=>{var r=n(107),i=n(124),o=n(134),a=r.util.inherit,s=0,u=n(136);r.Service=a({constructor:function(e){if(!this.loadServiceClass)throw r.util.error(new Error,"Service must be constructed with `new' operator");if(e){if(e.region){var t=e.region;u.isFipsRegion(t)&&(e.region=u.getRealRegion(t),e.useFipsEndpoint=!0),u.isGlobalRegion(t)&&(e.region=u.getRealRegion(t))}"boolean"==typeof e.useDualstack&&"boolean"!=typeof e.useDualstackEndpoint&&(e.useDualstackEndpoint=e.useDualstack)}var n=this.loadServiceClass(e||{});if(n){var i=r.util.copy(e),o=new n(e);return Object.defineProperty(o,"_originalConfig",{get:function(){return i}
vendor: 5,382 bytes, line 1
1,enumerable:!1,configurable:!0}),o._clientId=++s,o}this.initialize(e)},initialize:function(e){var t=r.config[this.serviceIdentifier];if(this.config=new r.Config(r.config),t&&this.config.update(t,!0),e&&this.config.update(e,!0),this.validateService(),this.config.endpoint||o.configureEndpoint(this),this.config.endpoint=this.endpointFromTemplate(this.config.endpoint),this.setEndpoint(this.config.endpoint),r.SequentialExecutor.call(this),r.Service.addDefaultMonitoringListeners(this),(this.config.clientSideMonitoring||r.Service._clientSideMonitoring)&&this.publisher){var n=this.publisher;this.addNamedListener("PUBLISH_API_CALL","apiCall",(function(e){process.nextTick((function(){n.eventHandler(e)}))})),this.addNamedListener("PUBLISH_API_ATTEMPT","apiCallAttempt",(function(e){process.nextTick((function(){n.eventHandler(e)}))}))}},validateService:function(){},loadServiceClass:function(e){var t=e;if(r.util.isEmpty(this.api)){if(t.apiConfig)return r.Service.defineServiceApi(this.constructor,t.apiConfig);if(this.constructor.services){(t=new r.Config(r.config)).update(e,!0);var n=t.apiVersions[this.constructor.serviceIdentifier];return n=n||t.apiVersion,this.getLatestServiceClass(n)}return null}return null},getLatestServiceClass:function(e){return e=this.getLatestServiceVersion(e),null===this.constructor.services[e]&&r.Service.defineServiceApi(this.constructor,e),this.constructor.services[e]},getLatestServiceVersion:function(e){if(!this.constructor.services||0===this.constructor.services.length)throw new Error("No services defined on "+this.constructor.serviceIdentifier);if(e?r.util.isType(e,Date)&&(e=r.util.date.iso8601(e).split("T")[0]):e="latest",Object.hasOwnProperty(this.constructor.services,e))return e;for(var t=Object.keys(this.constructor.services).sort(),n=null,i=t.length-1;i>=0;i--)if("*"!==t[i][t[i].length-1]&&(n=t[i]),t[i].substr(0,10)<=e)return n;throw new Error("Could not find "+this.constructor.serviceIdentifier+" API to satisfy version constraint `"+e+"'")},api:{},defaultRetryCount:3,customizeRequests:function(e){if(e){if("function"!=typeof e)throw new Error("Invalid callback type '"+typeof e+"' provided in customizeRequests");this.customRequestHandler=e}else this.customRequestHandler=null},makeRequest:function(e,t,n){if("function"==typeof t&&(n=t,t=null),t=t||{},this.config.params){var i=this.api.operations[e];i&&(t=r.util.copy(t),r.util.each(this.config.params,(function(e,n){i.input.members[e]&&(void 0!==t[e]&&null!==t[e]||(t[e]=n))})))}var o=new r.Request(this,e,t);return this.addAllRequestListeners(o),this.attachMonitoringEmitter(o),n&&o.send(n),o},makeUnauthenticatedRequest:function(e,t,n){"function"==typeof t&&(n=t,t={});var r=this.makeRequest(e,t).toUnauthenticated();return n?r.send(n):r},waitFor:function(e,t,n){return new r.ResourceWaiter(this,e).wait(t,n)},addAllRequestListeners:function(e){for(var t=[r.events,r.EventListeners.Core,this.serviceInterface(),r.EventListeners.CorePost],n=0;n<t.length;n++)t[n]&&e.addListeners(t[n]);this.config.paramValidation||e.removeListener("validate",r.EventListeners.Core.VALIDATE_PARAMETERS),this.config.logger&&e.addListeners(r.EventListeners.Logger),this.setupRequestListeners(e),"function"==typeof this.constructor.prototype.customRequestHandler&&this.constructor.prototype.customRequestHandler(e),Object.prototype.hasOwnProperty.call(this,"customRequestHandler")&&"function"==typeof this.customRequestHandler&&this.customRequestHandler(e)},apiCallEvent:function(e){var t=e.service.api.operations[e.operation],n={Type:"ApiCall",Api:t?t.name:e.operation,Version:1,Service:e.service.api.serviceId||e.service.api.endpointPrefix,Region:e.httpRequest.region,MaxRetriesExceeded:0,UserAgent:e.httpRequest.getUserAgent()},r=e.response;if(r.httpResponse.statusCode&&(n.FinalHttpStatusCode=r.httpResponse.statusCode),r.error){var i=r.error;r.httpResponse.statusCode>299?(i.code&&(n.FinalAwsException=i.code),i.message&&(n.FinalAwsExceptionMessage=i.message)):((i.code||i.name)&&(n.FinalSdkException=i.code||i.name),i.message&&(n.FinalSdkExceptionMessage=i.message))}return n},apiAttemptEvent:function(e){var t=e.service.api.operations[e.operation],n={Type:"ApiCallAttempt",Api:t?t.name:e.operation,Version:1,Service:e.service.api.serviceId||e.service.api.endpointPrefix,Fqdn:e.httpRequest.endpoint.hostname,UserAgent:e.httpRequest.getUserAgent()},r=e.response;return r.httpResponse.statusCode&&(n.HttpStatusCode=r.httpResponse.statusCode),!e._unAuthenticated&&e.service.config.credentials&&e.service.config.credentials.accessKeyId&&(n.AccessKey=e.service.config.credentials.accessKeyId),r.httpResponse.headers?(e.httpRequest.headers["x-amz-security-token"]&&(n.SessionToken=e.httpRequest.headers["x-amz-security-token"]),r.httpResponse.headers["x-amzn-requestid"]&&(n.XAmznRequestId=r.httpResponse.headers["x-amzn-requestid"]),r.httpResponse.headers["x-amz-request-id"]&&(n.XAmzRequestId=r.httpResponse.headers["x-amz-request-id"]),r.httpResponse.headers["x-amz-id-2"]&&(n.XAmzId2=r.httpResponse.headers["x-amz-id-2"]),n):n},attemptFailEvent:function(e){var t=this.apiAttemptEvent(e),n=e.response,r=n.error;return n.httpResponse.statusCode>299?(r.code&&(t.AwsException=r.code),r.message&&(t.AwsExceptionMessage=r.message)):((r.code||r.name)&&(t.SdkException=r.code||r.name),r.message&&(t.SdkExceptionMessage=r.message)),t},attachMonitoringEmitter:function(e){var t,n,i,o,a,s,u=0,c=this;
1e.on("validate",(function(){o=r.util.realClock.now(),s=Date.now()}),true),e.on("sign",(function(){n=r.util.realClock.now(),t=Date.now(),a=e.httpRequest.region,u++}),true),e.on("validateResponse",(function(){i=Math.round(r.util.realClock.now()-n)})),e.addNamedListener("API_CALL_ATTEMPT","success",(function(){var n=c.apiAttemptEvent(e);n.Timestamp=t,n.AttemptLatency=i>=0?i:0,n.Region=a,c.emit("apiCallAttempt",[n])})),e.addNamedListener("API_CALL_ATTEMPT_RETRY","retry",(function(){var o=c.attemptFailEvent(e);o.Timestamp=t,i=i||Math.round(r.util.realClock.now()-n),o.AttemptLatency=i>=0?i:0,o.Region=a,c.emit("apiCallAttempt",[o])})),e.addNamedListener("API_CALL","complete",(function(){var t=c.apiCallEvent(e);if(t.AttemptCount=u,!(t.AttemptCount<=0)){t.Timestamp=s;var n=Math.round(r.util.realClock.now()-o);t.Latency=n>=0?n:0;var i=e.response;i.error&&i.error.retryable&&"number"==typeof i.retryCount&&"number"==typeof i.maxRetries&&i.retryCount>=i.maxRetries&&(t.MaxRetriesExceeded=1),c.emit("apiCall",[t])}}))},setupRequestListeners:function(e){},getSigningName:function(){return this.api.signingName||this.api.endpointPrefix},getSignerClass:function(e){var t,n=null,i="";e&&(i=(n=(e.service.api.operations||{})[e.operation]||null)?n.authtype:"");return t=this.config.signatureVersion?this.config.signatureVersion:"v4"===i||"v4-unsigned-body"===i?"v4":"bearer"===i?"bearer"
vendor: 9,234 bytes, line 1
1:this.api.signatureVersion,r.Signers.RequestSigner.getVersion(t)},serviceInterface:function(){switch(this.api.protocol){case"ec2":case"query":return r.EventListeners.Query;case"json":return r.EventListeners.Json;case"rest-json":return r.EventListeners.RestJson;case"rest-xml":return r.EventListeners.RestXml}if(this.api.protocol)throw new Error("Invalid service `protocol' "+this.api.protocol+" in API config")},successfulResponse:function(e){return e.httpResponse.statusCode<300},numRetries:function(){return void 0!==this.config.maxRetries?this.config.maxRetries:this.defaultRetryCount},retryDelays:function(e,t){return r.util.calculateRetryDelay(e,this.config.retryDelayOptions,t)},retryableError:function(e){return!!this.timeoutError(e)||(!!this.networkingError(e)||(!!this.expiredCredentialsError(e)||(!!this.throttledError(e)||e.statusCode>=500)))},networkingError:function(e){return"NetworkingError"===e.code},timeoutError:function(e){return"TimeoutError"===e.code},expiredCredentialsError:function(e){return"ExpiredTokenException"===e.code},clockSkewError:function(e){switch(e.code){case"RequestTimeTooSkewed":case"RequestExpired":case"InvalidSignatureException":case"SignatureDoesNotMatch":case"AuthFailure":case"RequestInTheFuture":return!0;default:return!1}},getSkewCorrectedDate:function(){return new Date(Date.now()+this.config.systemClockOffset)},applyClockOffset:function(e){e&&(this.config.systemClockOffset=e-Date.now())},isClockSkewed:function(e){if(e)return Math.abs(this.getSkewCorrectedDate().getTime()-e)>=3e5},throttledError:function(e){if(429===e.statusCode)return!0;switch(e.code){case"ProvisionedThroughputExceededException":case"Throttling":case"ThrottlingException":case"RequestLimitExceeded":case"RequestThrottled":case"RequestThrottledException":case"TooManyRequestsException":case"TransactionInProgressException":case"EC2ThrottledException":return!0;default:return!1}},endpointFromTemplate:function(e){if("string"!=typeof e)return e;var t=e;return t=(t=(t=t.replace(/\{service\}/g,this.api.endpointPrefix)).replace(/\{region\}/g,this.config.region)).replace(/\{scheme\}/g,this.config.sslEnabled?"https":"http")},setEndpoint:function(e){this.endpoint=new r.Endpoint(e,this.config)},paginationConfig:function(e,t){var n=this.api.operations[e].paginator;if(!n){if(t){var i=new Error;throw r.util.error(i,"No pagination configuration for "+e)}return null}return n}}),r.util.update(r.Service,{defineMethods:function(e){r.util.each(e.prototype.api.operations,(function(t){e.prototype[t]||("none"===e.prototype.api.operations[t].authtype?e.prototype[t]=function(e,n){return this.makeUnauthenticatedRequest(t,e,n)}:e.prototype[t]=function(e,n){return this.makeRequest(t,e,n)})}))},defineService:function(e,t,n){r.Service._serviceMap[e]=!0,Array.isArray(t)||(n=t,t=[]);var i=a(r.Service,n||{});if("string"==typeof e){r.Service.addVersions(i,t);var o=i.serviceIdentifier||e;i.serviceIdentifier=o}else i.prototype.api=e,r.Service.defineMethods(i);if(r.SequentialExecutor.call(this.prototype),!this.prototype.publisher&&r.util.clientSideMonitoring){var s=r.util.clientSideMonitoring.Publisher,u=(0,r.util.clientSideMonitoring.configProvider)();this.prototype.publisher=new s(u),u.enabled&&(r.Service._clientSideMonitoring=!0)}return r.SequentialExecutor.call(i.prototype),r.Service.addDefaultMonitoringListeners(i.prototype),i},addVersions:function(e,t){Array.isArray(t)||(t=[t]),e.services=e.services||{};for(var n=0;n<t.length;n++)void 0===e.services[t[n]]&&(e.services[t[n]]=null);e.apiVersions=Object.keys(e.services).sort()},defineServiceApi:function(e,t,n){var o=a(e,{serviceIdentifier:e.serviceIdentifier});function s(t){t.isApi?o.prototype.api=t:o.prototype.api=new i(t,{serviceIdentifier:e.serviceIdentifier})}if("string"==typeof t){if(n)s(n);else try{s(r.apiLoader(e.serviceIdentifier,t))}catch(n){throw r.util.error(n,{message:"Could not find API configuration "+e.serviceIdentifier+"-"+t})}Object.prototype.hasOwnProperty.call(e.services,t)||(e.apiVersions=e.apiVersions.concat(t).sort()),e.services[t]=o}else s(t);return r.Service.defineMethods(o),o},hasService:function(e){return Object.prototype.hasOwnProperty.call(r.Service._serviceMap,e)},addDefaultMonitoringListeners:function(e){e.addNamedListener("MONITOR_EVENTS_BUBBLE","apiCallAttempt",(function(t){var n=Object.getPrototypeOf(e);n._events&&n.emit("apiCallAttempt",[t])})),e.addNamedListener("CALL_EVENTS_BUBBLE","apiCall",(function(t){var n=Object.getPrototypeOf(e);n._events&&n.emit("apiCall",[t])}))},_serviceMap:{}}),r.util.mixin(r.Service,r.SequentialExecutor),e.exports=r.Service},(e,t,n)=>{var r=n(106),i=n(135);function o(e,t){r.each(t,(function(t,n){"globalEndpoint"!==t&&(void 0!==e.config[t]&&null!==e.config[t]||(e.config[t]=n))}))}e.exports={configureEndpoint:function(e){for(var t=function(e){var t=e.config.region,n=function(e){if(!e)return null;var t=e.split("-");return t.length<3?null:t.slice(0,t.length-2).join("-")+"-*"}(t),r=e.api.endpointPrefix;return[[t,r],[n,r],[t,"*"],[n,"*"],["*",r],[t,"internal-*"],["*","*"]].map((function(e){return e[0]&&e[1]?e.join("/"):null}))}(e),n=e.config.useFipsEndpoint,r=e.config.useDualstackEndpoint,a=0;a<t.length;a++){var s=t[a];if(s){var u=n?r?i.dualstackFipsRules:i.fipsRules:r?i.dualstackRules:i.rules;if(Object.prototype.hasOwnProperty.call(u,s)){var c=u[s];"string"==typeof c&&(c=i.patterns[c]),e.isGlobalEndpoint=!!c.globalEndpoint,c.signingRegion&&(e.signingRegion=c.signingRegion),c.signatureVersion||(c.signatureVersion="v4");var l="bearer"===(e.api&&e.api.signatureVersion);return void o(e,Object.assign({},c,{signatureVersion:l?"bearer":c.signatureVersion}))}}}},getEndpointSuffix:function(e){for(var t={"^(us|eu|ap|sa|ca|me)\\-\\w+\\-\\d+$":"amazonaws.com","^cn\\-\\w+\\-\\d+$":"amazonaws.com.cn","^us\\-gov\\-\\w+\\-\\d+$":"amazonaws.com","^us\\-iso\\-\\w+\\-\\d+$":"c2s.ic.gov","^us\\-isob\\-\\w+\\-\\d+$":"sc2s.sgov.gov"},n=Object.keys(t),r=0;r<n.length;r++){var i=RegExp(n[r]),o=t[n[r]];if(i.test(e))return o}return"amazonaws.com"}}},e=>{"use strict";e.exports=JSON.parse('{"rules":{"*/*":{"endpoint":"{service}.{region}.amazonaws.com"},"cn-*/*":{"endpoint":"{service}.{region}.amazonaws.com.cn"},"us-iso-*/*":"usIso","us-isob-*/*":"usIsob","*/budgets":"globalSSL","*/cloudfront":"globalSSL","*/sts":"globalSSL","*/importexport":{"endpoint":"{service}.amazonaws.com","signatureVersion":"v2","globalEndpoint":true},"*/route53":"globalSSL","cn-*/route53":{"endpoint":"{service}.amazonaws.com.cn","globalEndpoint":true,"signingRegion":"cn-northwest-1"},"us-gov-*/route53":"globalGovCloud","us-iso-*/route53":{"endpoint":"{service}.c2s.ic.gov","globalEndpoint":true,"signingRegion":"us-iso-east-1"},"us-isob-*/route53":{"endpoint":"{service}.sc2s.sgov.gov","globalEndpoint":true,"signingRegion":"us-isob-east-1"},"*/waf":"globalSSL","*/iam":"globalSSL","cn-*/iam":{"endpoint":"{service}.cn-north-1.amazonaws.com.cn","globalEndpoint":true,"signingRegion":"cn-north-1"},"us-iso-*/iam":{"endpoint":"{service}.us-iso-east-1.c2s.ic.gov","globalEndpoint":true,"signingRegion":"us-iso-east-1"},"us-gov-*/iam":"globalGovCloud","*/ce":{"endpoint":"{service}.us-east-1.amazonaws.com","globalEndpoint":true,"signingRegion":"us-east-1"},"cn-*/ce":{"endpoint":"{service}.cn-northwest-1.amazonaws.com.cn","globalEndpoint":true,"signingRegion":"cn-northwest-1"},"us-gov-*/sts":{"endpoint":"{service}.{region}.amazonaws.com"},"us-gov-west-1/s3":"s3signature","us-west-1/s3":"s3signature","us-west-2/s3":"s3signature","eu-west-1/s3":"s3signature","ap-southeast-1/s3":"s3signature","ap-southeast-2/s3":"s3signature","ap-northeast-1/s3":"s3signature","sa-east-1/s3":"s3signature","us-east-1/s3":{"endpoint":"{service}.amazonaws.com","signatureVersion":"s3"},"us-east-1/sdb":{"endpoint":"{service}.amazonaws.com","signatureVersion":"v2"},"*/sdb":{"endpoint":"{service}.{region}.amazonaws.com","signatureVersion":"v2"},"*/resource-explorer-2":"dualstackByDefault","*/kendra-ranking":"dualstackByDefault","*/internetmonitor":"dualstackByDefault","*/codecatalyst":"globalDualstackByDefault"},"fipsRules":{"*/*":"fipsStandard","us-gov-*/*":"fipsStandard","us-iso-*/*":{"endpoint":"{service}-fips.{region}.c2s.ic.gov"},"us-iso-*/dms":"usIso","us-isob-*/*":{"endpoint":"{service}-fips.{region}.sc2s.sgov.gov"},"us-isob-*/dms":"usIsob","cn-*/*":{"endpoint":"{service}-fips.{region}.amazonaws.com.cn"},"*/api.ecr":"fips.api.ecr","*/api.sagemaker":"fips.api.sagemaker","*/batch":"fipsDotPrefix","*/eks":"fipsDotPrefix","*/models.lex":"fips.models.lex","*/runtime.lex":"fips.runtime.lex","*/runtime.sagemaker":{"endpoint":"runtime-fips.sagemaker.{region}.amazonaws.com"},"*/iam":"fipsWithoutRegion","*/route53":"fipsWithoutRegion","*/transcribe":"fipsDotPrefix","*/waf":"fipsWithoutRegion","us-gov-*/transcribe":"fipsDotPrefix","us-gov-*/api.ecr":"fips.api.ecr","us-gov-*/api.sagemaker":"fips.api.sagemaker","us-gov-*/models.lex":"fips.models.lex","us-gov-*/runtime.lex":"fips.runtime.lex","us-gov-*/acm-pca":"fipsWithServiceOnly","us-gov-*/batch":"fipsWithServiceOnly","us-gov-*/cloudformation":"fipsWithServiceOnly","us-gov-*/config":"fipsWithServiceOnly","us-gov-*/eks":"fipsWithServiceOnly","us-gov-*/elasticmapreduce":"fipsWithServiceOnly","us-gov-*/identitystore":"fipsWithServiceOnly","us-gov-*/
1dynamodb":"fipsWithServiceOnly","us-gov-*/elasticloadbalancing":"fipsWithServiceOnly","us-gov-*/guardduty":"fipsWithServiceOnly","us-gov-*/monitoring":"fipsWithServiceOnly","us-gov-*/resource-groups":"fipsWithServiceOnly","us-gov-*/runtime.sagemaker":"fipsWithServiceOnly","us-gov-*/servicecatalog-appregistry":"fipsWithServiceOnly","us-gov-*/servicequotas":"fipsWithServiceOnly","us-gov-*/ssm":"fipsWithServiceOnly","us-gov-*/sts":"fipsWithServiceOnly","us-gov-*/support":"fipsWithServiceOnly","us-gov-west-1/states":"fipsWithServiceOnly","us-iso-east-1/elasticfilesystem":{"endpoint":"elasticfilesystem-fips.{region}.c2s.ic.gov"},"us-gov-west-1/organizations":"fipsWithServiceOnly","us-gov-west-1/route53":{"endpoint":"route53.us-gov.amazonaws.com"},"*/resource-explorer-2":"fipsDualstackByDefault","*/kendra-ranking":"dualstackByDefault","*/internetmonitor":"dualstackByDefault","*/codecatalyst":"fipsGlobalDualstackByDefault"},"dualstackRules":{"*/*":{"endpoint":"{service}.{region}.api.aws"},"cn-*/*":{"endpoint":"{service}.{region}.api.amazonwebservices.com.cn"},"*/s3":"dualstackLegacy","cn-*/s3":"dualstackLegacyCn","*/s3-control":"dualstackLegacy","cn-*/s3-control":"dualstackLegacyCn","ap-south-1/ec2":"dualstackLegacyEc2","eu-west-1/ec2":"dualstackLegacyEc2","sa-east-1/ec2":"dualstackLegacyEc2","us-east-1/ec2":"dualstackLegacyEc2","us-east-2/ec2":"dualstackLegacyEc2","us-west-2/ec2":"dualstackLegacyEc2"},"dualstackFipsRules":{"*/*":{"endpoint":"{service}-fips.{region}.api.aws"},"cn-*/*":{"endpoint":"{service}-fips.{region}.api.amazonwebservices.com.cn"},"*/s3":"dualstackFipsLegacy","cn-*/s3":"dualstackFipsLegacyCn","*/s3-control":"dualstackFipsLegacy","cn-*/s3-control":"dualstackFipsLegacyCn"},"patterns":{"globalSSL":{"endpoint":"https://{service}.amazonaws.com","globalEndpoint":true,"signingRegion":"us-east-1"},"globalGovCloud":{"endpoint":"{service}.us-gov.amazonaws.com","globalEndpoint":true,"signingRegion":"us-gov-west-1"},"s3signature":{"endpoint":"{service}.{region}.amazonaws.com","signatureVersion":"s3"},"usIso":{"endpoint":"{service}.{region}.c2s.ic.gov"},"usIsob":{"endpoint":"{service}.{region}.sc2s.sgov.gov"},"fipsStandard":{"endpoint":"{service}-fips.{region}.amazonaws.com"},"fipsDotPrefix":{"endpoint":"fips.{service}.{region}.amazonaws.com"},"fipsWithoutRegion":{"endpoint":"{service}-fips.amazonaws.com"},"fips.api.ecr":{"endpoint":"ecr-fips.{region}.amazonaws.com"},"fips.api.sagemaker":{"endpoint":"api-fips.sagemaker.{region}.amazonaws.com"},"fips.models.lex":{"endpoint":"models-fips.lex.{region}.amazonaws.com"},"fips.runtime.lex":{"endpoint":"runtime-fips.lex.{region}.amazonaws.com"},"fipsWithServiceOnly":{"endpoint":"{service}.{region}.amazonaws.com"},"dualstackLegacy":{"endpoint":"{service}.dualstack.{region}.amazonaws.com"},"dualstackLegacyCn":{"endpoint":"{service}.dualstack.{region}.amazonaws.com.cn"},"dualstackFipsLegacy":{"endpoint":"{service}-fips.dualstack.{region}.amazonaws.com"},"dualstackFipsLegacyCn":{"endpoint":"{service}-fips.dualstack.{region}.amazonaws.com.cn"},"dualstackLegacyEc2":{"endpoint":"api.ec2.{region}.aws"},"dualstackByDefault":{"endpoint":"{service}.{region}.api.aws"},"fipsDualstackByDefault":{"endpoint":"{service}-fips.{region}.api.aws"},"globalDualstackByDefault":{"endpoint":"{service}.global.api.aws"},"fipsGlobalDualstackByDefault":{"endpoint":"{service}-fips.global.api.aws"}}}')},e=>{e.exports={isFipsRegion:function(e){return"string"==typeof e&&(e.startsWith("fips-")||e.endsWith("-fips"))},isGlobalRegion:function(e){return"string"==typeof e&&["aws-global","aws-us-gov-global"].includes(e)},getRealRegion:function(e){return["fips-aws-global","aws-fips","aws-global"].includes(e)?"us-east-1":["fips-aws-us-gov-global","aws-us-gov-global"].includes(e)?"us-gov-west-1":e.replace(/fips-(dkr-|prod-)?|-fips/,"")}}},(e,t,n)=>{var r,i=n(107);n(138),n(139),i.Config=i.util.inherit({constructor:function(e){void 0===e&&(e={}),e=this.extractCredentials(e),i.util.each.call(this,this.keys,(function(t,n){this.set(t,e[t],n)}))},getCredentials:function(e){var t,n=this;function r(t){e(t,t?null:n.credentials)}function o(e,t){return new i.util.error(t||new Error,{code:"CredentialsError",message:e,name:"CredentialsError"})}n.credentials?"function"==typeof n.credentials.get?n.credentials.get((function(e){e&&(e=o("Could not load credentials from "+n.credentials.constructor.name,e)),r(e)})):(t=null,n.credentials.accessKeyId&&n.credentials.secretAccessKey||(t=o("Missing credentials")),r(t)):n.credentialProvider?n.credentialProvider.resolve((function(e,t){e&&(e=o("Could not load credentials from any providers",e)),n.credentials=t,r(e)})):r(o("No credentials to load"))},getToken:function(e){var t,n=this;function r(t){e(t,t?null:n.token)}function o(e,t){return new i.util.error(t||new Error,{code:"TokenError",message:e,name:"TokenError"})}n.token?"function"==typeof n.token.get?n.token.get((function(e){e&&(e=o("Could not load token from "+n.token.constructor.name,e)),r(e)})):(t=null,n.token.token||(t=o("Missing token")),r(t)):n.tokenProvider?n.tokenProvider.resolve((function(e,t){e&&(e=o("Could not load token from any providers",e)),n.token=t,r(e)})):r(o("No token to load"))},update:function(e,t){t=t||!1,e=this.extractCredentials(e),i.util.each.call(this,e,(function(e,n){(t||Object.prototype.hasOwnProperty.call(this.keys,e)||i.Service.hasService(e))&&this.set(e,n)}))},loadFromPath:function(e){this.clear();var t=JSON.parse(i.util.readFileSync(e)),n=new i.FileSystemCredentials(e),r=new i.CredentialProviderChain;return r.providers.unshift(n),r.resolve((function(e,n){if(e)throw e;t.credentials=n})),this.constructor(t),this},clear:function(){i.util.each.call(this,this.keys,(function(e){delete this[e]})),this.set("credentials",void 0),this.set("credentialProvider",void 0)},set:function(e,t,n){void 0===t?(void 0===n&&(n=this.keys[e]),this[e]="function"==typeof n?n.call(this):n):"httpOptions"===e&&this[e]?this[e]=i.util.merge(this[e],t):this[e]=t},keys:{credentials:null,credentialProvider:null,region:null,logger:null,apiVersions:{},apiVersion:null,endpoint:void 0,httpOptions:{timeout:12e4},maxRetries:void 0,maxRedirects:10,paramValidation:!0,sslEnabled:!0,s3ForcePathStyle:!1,s3BucketEndpoint:!1,s3DisableBodySigning:!0,s3UsEast1RegionalEndpoint:"legacy",s3UseArnRegion:void 0,computeChecksums:!0,convertResponseTypes:!0,correctClockSkew:!1,customUserAgent:null,dynamoDbCrc32:!0,systemClockOffset:0,signatureVersion:null,signatureCache:!0,retryDelayOptions:{},useAccelerateEndpoint:!1,clientSideMonitoring:!1,endpointDiscoveryEnabled:void 0,endpointCacheSize:1e3,hostPrefixEnabled:!0,stsRegionalEndpoints:"legacy",useFipsEndpoint:!1,useDualstackEndpoint:!1,token:null},extractCredentials:function(e){return e.accessKeyId&&e.secretAccessKey&&((e=i.util.copy(e)).credentials=new i.Credentials(e)),e},setPromisesDependency:function(e){r=e,null===e&&"function"==typeof Promise&&(r=Promise);var t=[i.Request,i.Credentials,i.CredentialProviderChain];
vendor: 8,401 bytes, line 1
1i.S3&&(t.push(i.S3),i.S3.ManagedUpload&&t.push(i.S3.ManagedUpload)),i.util.addPromises(t,r)},getPromisesDependency:function(){return r}}),i.config=new i.Config},(e,t,n)=>{var r=n(107);r.Credentials=r.util.inherit({constructor:function(){if(r.util.hideProperties(this,["secretAccessKey"]),this.expired=!1,this.expireTime=null,this.refreshCallbacks=[],1===arguments.length&&"object"==typeof arguments[0]){var e=arguments[0].credentials||arguments[0];this.accessKeyId=e.accessKeyId,this.secretAccessKey=e.secretAccessKey,this.sessionToken=e.sessionToken}else this.accessKeyId=arguments[0],this.secretAccessKey=arguments[1],this.sessionToken=arguments[2]},expiryWindow:15,needsRefresh:function(){var e=r.util.date.getDate().getTime(),t=new Date(e+1e3*this.expiryWindow);return!!(this.expireTime&&t>this.expireTime)||(this.expired||!this.accessKeyId||!this.secretAccessKey)},get:function(e){var t=this;this.needsRefresh()?this.refresh((function(n){n||(t.expired=!1),e&&e(n)})):e&&e()},refresh:function(e){this.expired=!1,e()},coalesceRefresh:function(e,t){var n=this;1===n.refreshCallbacks.push(e)&&n.load((function(e){r.util.arrayEach(n.refreshCallbacks,(function(n){t?n(e):r.util.defer((function(){n(e)}))})),n.refreshCallbacks.length=0}))},load:function(e){e()}}),r.Credentials.addPromisesToClass=function(e){this.prototype.getPromise=r.util.promisifyMethod("get",e),this.prototype.refreshPromise=r.util.promisifyMethod("refresh",e)},r.Credentials.deletePromisesFromClass=function(){delete this.prototype.getPromise,delete this.prototype.refreshPromise},r.util.addPromises(r.Credentials)},(e,t,n)=>{var r=n(107);r.CredentialProviderChain=r.util.inherit(r.Credentials,{constructor:function(e){this.providers=e||r.CredentialProviderChain.defaultProviders.slice(0),this.resolveCallbacks=[]},resolve:function(e){var t=this;if(0===t.providers.length)return e(new Error("No providers")),t;if(1===t.resolveCallbacks.push(e)){var n=0,i=t.providers.slice(0);!function e(o,a){if(!o&&a||n===i.length)return r.util.arrayEach(t.resolveCallbacks,(function(e){e(o,a)})),void(t.resolveCallbacks.length=0);var s=i[n++];(a="function"==typeof s?s.call():s).get?a.get((function(t){e(t,t?null:a)})):e(null,a)}()}return t}}),r.CredentialProviderChain.defaultProviders=[],r.CredentialProviderChain.addPromisesToClass=function(e){this.prototype.resolvePromise=r.util.promisifyMethod("resolve",e)},r.CredentialProviderChain.deletePromisesFromClass=function(){delete this.prototype.resolvePromise},r.util.addPromises(r.CredentialProviderChain)},(e,t,n)=>{var r=n(107),i=r.util.inherit;r.Endpoint=i({constructor:function(e,t){if(r.util.hideProperties(this,["slashes","auth","hash","search","query"]),null==e)throw new Error("Invalid endpoint: "+e);if("string"!=typeof e)return r.util.copy(e);e.match(/^http/)||(e=((t&&void 0!==t.sslEnabled?t.sslEnabled:r.config.sslEnabled)?"https":"http")+"://"+e);r.util.update(this,r.util.urlParse(e)),this.port?this.port=parseInt(this.port,10):this.port="https:"===this.protocol?443:80}}),r.HttpRequest=i({constructor:function(e,t){e=new r.Endpoint(e),this.method="POST",this.path=e.path||"/",this.headers={},this.body="",this.endpoint=e,this.region=t,this._userAgent="",this.setUserAgent()},setUserAgent:function(){this._userAgent=this.headers[this.getUserAgentHeaderName()]=r.util.userAgent()},getUserAgentHeaderName:function(){return(r.util.isBrowser()?"X-Amz-":"")+"User-Agent"},appendToUserAgent:function(e){"string"==typeof e&&e&&(this._userAgent+=" "+e),this.headers[this.getUserAgentHeaderName()]=this._userAgent},getUserAgent:function(){return this._userAgent},pathname:function(){return this.path.split("?",1)[0]},search:function(){var e=this.path.split("?",2)[1];return e?(e=r.util.queryStringParse(e),r.util.queryParamsToString(e)):""},updateEndpoint:function(e){var t=new r.Endpoint(e);this.endpoint=t,this.path=t.path||"/",this.headers.Host&&(this.headers.Host=t.host)}}),r.HttpResponse=i({constructor:function(){this.statusCode=void 0,this.headers={},this.body=void 0,this.streaming=!1,this.stream=null},createUnbufferedStream:function(){return this.streaming=!0,this.stream}}),r.HttpClient=i({}),r.HttpClient.getInstance=function(){return void 0===this.singleton&&(this.singleton=new this),this.singleton}},(e,t,n)=>{var r=n(107),i=n(132),o=n(142).discoverEndpoint;function a(e){if(!e.service.api.operations)return"";var t=e.service.api.operations[e.operation];return t?t.authtype:""}function s(e){var t=e.service;return t.config.signatureVersion?t.config.signatureVersion:t.api.signatureVersion?t.api.signatureVersion:a(e)}r.EventListeners={Core:{}},r.EventListeners={Core:(new i).addNamedListeners((function(e,t){t("VALIDATE_CREDENTIALS","validate",(function(e,t){if(!e.service.api.signatureVersion&&!e.service.config.signatureVersion)return t();"bearer"!==s(e)?e.service.config.getCredentials((function(n){n&&(e.response.error=r.util.error(n,{code:"CredentialsError",message:"Missing credentials in config, if using AWS_CONFIG_FILE, set AWS_SDK_LOAD_CONFIG=1"})),t()})):e.service.config.getToken((function(n){n&&(e.response.error=r.util.error(n,{code:"TokenError"})),t()}))})),e("VALIDATE_REGION","validate",(function(e){if(!e.service.isGlobalEndpoint){var t=new RegExp(/^([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9-]{0,61}[a-zA-Z0-9])$/);e.service.config.region?t.test(e.service.config.region)||(e.response.error=r.util.error(new Error,{code:"ConfigError",message:"Invalid region in config"})):e.response.error=r.util.error(new Error,{code:"ConfigError",message:"Missing region in config"})}})),e("BUILD_IDEMPOTENCY_TOKENS","validate",(function(e){if(e.service.api.operations){var t=e.service.api.operations[e.operation];if(t){var n=t.idempotentMembers;if(n.length){for(var i=r.util.copy(e.params),o=0,a=n.length;o<a;o++)i[n[o]]||(i[n[o]]=r.util.uuid.v4());e.params=i}}}})),e("VALIDATE_PARAMETERS","validate",(function(e){if(e.service.api.operations){var t=e.service.api.operations[e.operation].input,n=e.service.config.paramValidation;new r.ParamValidator(n).validate(t,e.params)}})),e("COMPUTE_CHECKSUM","afterBuild",(function(e){if(e.service.api.operations){var t=e.service.api.operations[e.operation];if(t){var n=e.httpRequest.body,i=n&&(r.util.Buffer.isBuffer(n)||"string"==typeof n),o=e.httpRequest.headers;if(t.httpChecksumRequired&&e.service.config.computeChecksums&&i&&!o["Content-MD5"]){var a=r.util.crypto.md5(n,"base64");o["Content-MD5"]=a}}}})),t("COMPUTE_SHA256","afterBuild",(function(e,t){if(e.haltHandlersOnError(),e.service.api.operations){var n=e.service.api.operations[e.operation],i=n?n.authtype:"";if(!e.service.api.signatureVersion&&!i&&!e.service.config.signatureVersion)return t();if(e.service.getSignerClass(e)===r.Signers.V4){var o=e.httpRequest.body||"";if(i.indexOf("unsigned-body")>=0)return e.httpRequest.headers["X-Amz-Content-Sha256"]="UNSIGNED-PAYLOAD",t();r.util.computeSha256(o,(function(n,r){n?t(n):(e.httpRequest.headers["X-Amz-Content-Sha256"]=r,t())}))}else t()}})),e("SET_CONTENT_LENGTH","afterBuild",(function(e){var t=a(e),n=r.util.getRequestPayloadShape(e);if(void 0===e.httpRequest.headers["Content-Length"])try{var i=r.util.string.byteLength(e.httpRequest.body);e.httpRequest.headers["Content-Length"]=i}catch(r){if(n&&n.isStreaming){if(n.requiresLength)throw r;if(t.indexOf("unsigned-body")>=0)return void(e.httpRequest.headers["Transfer-Encoding"]="chunked");throw r}throw r}})),e("SET_HTTP_HOST","afterBuild",(function(e){e.httpRequest.headers.Host=e.httpRequest.endpoint.host})),e("SET_TRACE_ID","afterBuild",(function(e){var t="X-Amzn-Trace-Id";if(r.util.isNode()&&!Object.hasOwnProperty.call(e.httpRequest.headers,t)){var n=process.env.AWS_LAMBDA_FUNCTION_NAME,i=process.env._X_AMZN_TRACE_ID;"string"==typeof n&&n.length>0&&"string"==typeof i&&i.length>0&&(e.httpRequest.headers[t]=i)}})),e("RESTART","restart",(function(){var e=this.response.error;e&&e.retryable&&(this.httpRequest=new r.HttpRequest(this.service.endpoint,this.service.region),this.response.retryCount<this.service.config.maxRetries?this.response.retryCount++:this.response.error=null)}));t("DISCOVER_ENDPOINT","sign",o,!0),t("SIGN","sign",(function(e,t){var n=e.service,r=s(e);if(!r||0===r.length)return t();"bearer"===r?n.config.getToken((function(r,i){if(r)return e.response.error=r,t();try{new(n.getSignerClass(e))(e.httpRequest).addAuthorization(i)}catch(t){e.response.error=t}t()})):n.config.getCredentials((function(r,i){if(r)return e.response.error=r,t();
1try{var o=n.getSkewCorrectedDate(),a=n.getSignerClass(e),s=(e.service.api.operations||{})[e.operation],u=new a(e.httpRequest,n.getSigningName(e),{signatureCache:n.config.signatureCache,operation:s,signatureVersion:n.api.signatureVersion});u.setServiceClientId(n._clientId),delete e.httpRequest.headers.Authorization,delete e.httpRequest.headers.Date,delete e.httpRequest.headers["X-Amz-Date"],u.addAuthorization(i,o),e.signedAt=o}catch(t){e.response.error=t}t()}))})),e("VALIDATE_RESPONSE","validateResponse",(function(e){this.service.successfulResponse(e,this)?(e.data={},e.error=null):(e.data=null,e.error=r.util.error(new Error,{code:"UnknownError",message:"An unknown error occurred."}))})),e("ERROR","error",(function(e,t){if(t.request.service.api.awsQueryCompatible){var n=t.httpResponse.headers,r=n?n["x-amzn-query-error"]:void 0;r&&r.includes(";")&&(t.error.code=r.split(";")[0])}}),!0),t("SEND","send",(function(e,t){function n(n){e.httpResponse.stream=n;var i=e.request.httpRequest.stream,o=e.request.service,a=o.api,s=e.request.operation,u=a.operations[s]||{};n.on("headers",(function(i,a,s){if(e.request.emit("httpHeaders",[i,a,e,s]),!e.httpResponse.streaming)if(2===r.HttpClient.streamsApiVersion){if(u.hasEventOutput&&o.successfulResponse(e))return e.request.emit("httpDone"),void t();n.on("readable",(function(){var t=n.read();null!==t&&e.request.emit("httpData",[t,e])}))}else n.on("data",(function(t){e.request.emit("httpData",[t,e])}))})),n.on("end",(function(){if(!i||!i.didCallback){if(2===r.HttpClient.streamsApiVersion&&u.hasEventOutput&&o.successfulResponse(e))return;e.request.emit("httpDone"),t()}}))}function i(n){if("RequestAbortedError"!==n.code){var i="TimeoutError"===n.code?n.code:"NetworkingError";n=r.util.error(n,{code:i,region:e.request.httpRequest.region,hostname:e.request.httpRequest.endpoint.hostname,retryable:!0})}e.error=n,e.request.emit("httpError",[e.error,e],(function(){t()}))}function o(){var t,o=r.HttpClient.getInstance(),a=e.request.service.config.httpOptions||{};try{var s=o.handleRequest(e.request.httpRequest,a,n,i);(t=s).on("sendProgress",(function(t){e.request.emit("httpUploadProgress",[t,e])})),t.on("receiveProgress",(function(t){e.request.emit("httpDownloadProgress",[t,e])}))}catch(e){i(e)}}e.httpResponse._abortCallback=t,e.error=null,e.data=null,(e.request.service.getSkewCorrectedDate()-this.signedAt)/1e3>=600?this.emit("sign",[this],(function(e){e?t(e):o()})):o()})),e("HTTP_HEADERS","httpHeaders",(function(e,t,n,i){n.httpResponse.statusCode=e,n.httpResponse.statusMessage=i,n.httpResponse.headers=t,n.httpResponse.body=r.util.buffer.toBuffer(""),n.httpResponse.buffers=[],n.httpResponse.numBytes=0;var o=t.date||t.Date,a=n.request.service;if(o){var s=Date.parse(o);a.config.correctClockSkew&&a.isClockSkewed(s)&&a.applyClockOffset(s)}})),e("HTTP_DATA","httpData",(function(e,t){if(e){if(r.util.isNode()){t.httpResponse.numBytes+=e.length;var n=t.httpResponse.headers["content-length"],i={loaded:t.httpResponse.numBytes,total:n};t.request.emit("httpDownloadProgress",[i,t])}t.httpResponse.buffers.push(r.util.buffer.toBuffer(e))}})),e("HTTP_DONE","httpDone",(function(e){if(e.httpResponse.buffers&&e.httpResponse.buffers.length>0){var t=r.util.buffer.concat(e.httpResponse.buffers);e.httpResponse.body=t}delete e.httpResponse.numBytes,delete e.httpResponse.buffers})),e("FINALIZE_ERROR","retry",(function(e){e.httpResponse.statusCode&&(e.error.statusCode=e.httpResponse.statusCode,void 0===e.error.retryable&&(e.error.retryable=this.service.retryableError(e.error,this)))})),e("INVALIDATE_CREDENTIALS","retry",(function(e){if(e.error)switch(e.error.code){case"RequestExpired":case"ExpiredTokenException":case"ExpiredToken":e.error.retryable=!0,e.request.service.config.credentials.expired=!0}})),e("EXPIRED_SIGNATURE","retry",(function(e){var t=e.error;t&&"string"==typeof t.code&&"string"==typeof t.message&&t.code.match(/Signature/)&&t.message.match(/expired/)&&(e.error.retryable=!0)})),e("CLOCK_SKEWED","retry",(function(e){e.error&&this.service.clockSkewError(e.error)&&this.service.config.correctClockSkew&&(e.error.retryable=!0)})),e("REDIRECT","retry",(function(e){e.error&&e.error.statusCode>=300&&e.error.statusCode<400&&e.httpResponse.headers.location&&(this.httpRequest.endpoint=new r.Endpoint(e.httpResponse.headers.location),this.httpRequest.headers.Host=this.httpRequest.endpoint.host,e.error.redirect=!0,e.error.retryable=!0)})),e("RETRY_CHECK","retry",(function(e){e.error&&(e.error.redirect&&e.redirectCount<e.maxRedirects?e.error.retryDelay=0:e.retryCount<e.maxRetries&&(e.error.retryDelay=this.service.retryDelays(e.retryCount,e.error)||0))}
vendor: 11,508 bytes, line 1
1)),t("RESET_RETRY_STATE","afterRetry",(function(e,t){var n,r=!1;e.error&&(n=e.error.retryDelay||0,e.error.retryable&&e.retryCount<e.maxRetries?(e.retryCount++,r=!0):e.error.redirect&&e.redirectCount<e.maxRedirects&&(e.redirectCount++,r=!0)),r&&n>=0?(e.error=null,setTimeout(t,n)):t()}))})),CorePost:(new i).addNamedListeners((function(e){e("EXTRACT_REQUEST_ID","extractData",r.util.extractRequestId),e("EXTRACT_REQUEST_ID","extractError",r.util.extractRequestId),e("ENOTFOUND_ERROR","httpError",(function(e){if("NetworkingError"===e.code&&function(e){return"ENOTFOUND"===e.errno||"number"==typeof e.errno&&"function"==typeof r.util.getSystemErrorName&&["EAI_NONAME","EAI_NODATA"].indexOf(r.util.getSystemErrorName(e.errno)>=0)}(e)){var t="Inaccessible host: `"+e.hostname+"' at port `"+e.port+"'. This service may not be available in the `"+e.region+"' region.";this.response.error=r.util.error(new Error(t),{code:"UnknownEndpoint",region:e.region,hostname:e.hostname,retryable:!0,originalError:e})}}))})),Logger:(new i).addNamedListeners((function(e){e("LOG_REQUEST","complete",(function(e){var t=e.request,i=t.service.config.logger;if(i){var o=function(){var o=(e.request.service.getSkewCorrectedDate().getTime()-t.startTime.getTime())/1e3,s=!!i.isTTY,u=e.httpResponse.statusCode,c=t.params;t.service.api.operations&&t.service.api.operations[t.operation]&&t.service.api.operations[t.operation].input&&(c=a(t.service.api.operations[t.operation].input,t.params));var l=n(143).inspect(c,!0,null),f="";return s&&(f+="�[33m"),f+="[AWS "+t.service.serviceIdentifier+" "+u,f+=" "+o.toString()+"s "+e.retryCount+" retries]",s&&(f+="�[0;1m"),f+=" "+r.util.string.lowerFirst(t.operation),f+="("+l+")",s&&(f+="�[0m"),f}();"function"==typeof i.log?i.log(o):"function"==typeof i.write&&i.write(o+"\n")}function a(e,t){if(!t)return t;if(e.isSensitive)return"***SensitiveInformation***";switch(e.type){case"structure":var n={};return r.util.each(t,(function(t,r){Object.prototype.hasOwnProperty.call(e.members,t)?n[t]=a(e.members[t],r):n[t]=r})),n;case"list":var i=[];return r.util.arrayEach(t,(function(t,n){i.push(a(e.member,t))})),i;case"map":var o={};return r.util.each(t,(function(t,n){o[t]=a(e.value,n)})),o;default:return t}}}))})),Json:(new i).addNamedListeners((function(e){var t=n(108);e("BUILD","build",t.buildRequest),e("EXTRACT_DATA","extractData",t.extractData),e("EXTRACT_ERROR","extractError",t.extractError)})),Rest:(new i).addNamedListeners((function(e){var t=n(116);e("BUILD","build",t.buildRequest),e("EXTRACT_DATA","extractData",t.extractData),e("EXTRACT_ERROR","extractError",t.extractError)})),RestJson:(new i).addNamedListeners((function(e){var t=n(117);e("BUILD","build",t.buildRequest),e("EXTRACT_DATA","extractData",t.extractData),e("EXTRACT_ERROR","extractError",t.extractError),e("UNSET_CONTENT_LENGTH","afterBuild",t.unsetContentLength)})),RestXml:(new i).addNamedListeners((function(e){var t=n(118);e("BUILD","build",t.buildRequest),e("EXTRACT_DATA","extractData",t.extractData),e("EXTRACT_ERROR","extractError",t.extractError)})),Query:(new i).addNamedListeners((function(e){var t=n(112);e("BUILD","build",t.buildRequest),e("EXTRACT_DATA","extractData",t.extractData),e("EXTRACT_ERROR","extractError",t.extractError)}))}},(e,t,n)=>{var r=n(107),i=n(106),o=["AWS_ENABLE_ENDPOINT_DISCOVERY","AWS_ENDPOINT_DISCOVERY_ENABLED"];function a(e){var t=e.service,n=t.api||{},r=(n.operations,{});return t.config.region&&(r.region=t.config.region),n.serviceId&&(r.serviceId=n.serviceId),t.config.credentials.accessKeyId&&(r.accessKeyId=t.config.credentials.accessKeyId),r}function s(e,t,n){n&&null!=t&&"structure"===n.type&&n.required&&n.required.length>0&&i.arrayEach(n.required,(function(r){var i=n.members[r];if(!0===i.endpointDiscoveryId){var o=i.isLocationName?i.name:r;e[o]=String(t[r])}else s(e,t[r],i)}))}function u(e,t){var n={};return s(n,e.params,t),n}function c(e){var t=e.service,n=t.api,o=n.operations?n.operations[e.operation]:void 0,s=u(e,o?o.input:void 0),c=a(e);Object.keys(s).length>0&&(c=i.update(c,s),o&&(c.operation=o.name));var l=r.endpointCache.get(c);if(!l||1!==l.length||""!==l[0].Address)if(l&&l.length>0)e.httpRequest.updateEndpoint(l[0].Address);else{var f=t.makeRequest(n.endpointOperation,{Operation:o.name,Identifiers:s});p(f),f.removeListener("validate",r.EventListeners.Core.VALIDATE_PARAMETERS),f.removeListener("retry",r.EventListeners.Core.RETRY_CHECK),r.endpointCache.put(c,[{Address:"",CachePeriodInMinutes:1}]),f.send((function(e,t){t&&t.Endpoints?r.endpointCache.put(c,t.Endpoints):e&&r.endpointCache.put(c,[{Address:"",CachePeriodInMinutes:1}])}))}}var l={};function f(e,t){var n=e.service,o=n.api,s=o.operations?o.operations[e.operation]:void 0,c=s?s.input:void 0,f=u(e,c),d=a(e);Object.keys(f).length>0&&(d=i.update(d,f),s&&(d.operation=s.name));var h=r.EndpointCache.getKeyString(d),m=r.endpointCache.get(h);if(m&&1===m.length&&""===m[0].Address)return l[h]||(l[h]=[]),void l[h].push({request:e,callback:t});if(m&&m.length>0)e.httpRequest.updateEndpoint(m[0].Address),t();else{var y=n.makeRequest(o.endpointOperation,{Operation:s.name,Identifiers:f});y.removeListener("validate",r.EventListeners.Core.VALIDATE_PARAMETERS),p(y),r.endpointCache.put(h,[{Address:"",CachePeriodInMinutes:60}]),y.send((function(n,o){if(n){if(e.response.error=i.error(n,{retryable:!1}),r.endpointCache.remove(d),l[h]){var a=l[h];i.arrayEach(a,(function(e){e.request.response.error=i.error(n,{retryable:!1}),e.callback()})),delete l[h]}}else if(o&&(r.endpointCache.put(h,o.Endpoints),e.httpRequest.updateEndpoint(o.Endpoints[0].Address),l[h])){a=l[h];i.arrayEach(a,(function(e){e.request.httpRequest.updateEndpoint(o.Endpoints[0].Address),e.callback()})),delete l[h]}t()}))}}function p(e){var t=e.service.api.apiVersion;t&&!e.httpRequest.headers["x-amz-api-version"]&&(e.httpRequest.headers["x-amz-api-version"]=t)}function d(e){var t=e.error,n=e.httpResponse;if(t&&("InvalidEndpointException"===t.code||421===n.statusCode)){var o=e.request,s=o.service.api.operations||{},c=u(o,s[o.operation]?s[o.operation].input:void 0),l=a(o);Object.keys(c).length>0&&(l=i.update(l,c),s[o.operation]&&(l.operation=s[o.operation].name)),r.endpointCache.remove(l)}}function h(e){return["false","0"].indexOf(e)>=0}e.exports={discoverEndpoint:function(e,t){var n=e.service||{};if(function(e){if(e._originalConfig&&e._originalConfig.endpoint&&!0===e._originalConfig.endpointDiscoveryEnabled)throw i.error(new Error,{code:"ConfigurationException",message:"Custom endpoint is supplied; endpointDiscoveryEnabled must not be true."});var t=r.config[e.serviceIdentifier]||{};return Boolean(r.config.endpoint||t.endpoint||e._originalConfig&&e._originalConfig.endpoint)}(n)||e.isPresigned())return t();var a=(n.api.operations||{})[e.operation],s=a?a.endpointDiscoveryRequired:"NULL",u=function(e){var t=e.service||{};if(void 0!==t.config.endpointDiscoveryEnabled)return t.config.endpointDiscoveryEnabled;if(!i.isBrowser()){for(var n=0;n<o.length;n++){var a=o[n];if(Object.prototype.hasOwnProperty.call(process.env,a)){if(""===process.env[a]||void 0===process.env[a])throw i.error(new Error,{code:"ConfigurationException",message:"environmental variable "+a+" cannot be set to nothing"});return!h(process.env[a])}}var s={};try{s=r.util.iniLoader?r.util.iniLoader.loadFrom({isConfig:!0,filename:process.env[r.util.sharedConfigFileEnv]}):{}}catch(e){}var u=s[process.env.AWS_PROFILE||r.util.defaultProfile]||{};if(Object.prototype.hasOwnProperty.call(u,"endpoint_discovery_enabled")){if(void 0===u.endpoint_discovery_enabled)throw i.error(new Error,{code:"ConfigurationException",message:"config file entry 'endpoint_discovery_enabled' cannot be set to nothing"});return!h(u.endpoint_discovery_enabled)}}}(e),l=n.api.hasRequiredEndpointDiscovery;switch((u||l)&&e.httpRequest.appendToUserAgent("endpoint-discovery"),s){case"OPTIONAL":(u||l)&&(c(e),e.addNamedListener("INVALIDATE_CACHED_ENDPOINTS","extractError",d)),t();break;case"REQUIRED":if(!1===u){e.response.error=i.error(new Error,{code:"ConfigurationException",message:"Endpoint Discovery is disabled but "+n.api.className+"."+e.operation+"() requires it. Please check your configurations."}),t();break}e.addNamedListener("INVALIDATE_CACHED_ENDPOINTS","extractError",d),f(e,t);break;default:t()}},requiredDiscoverEndpoint:f,optionalDiscoverEndpoint:c,marshallCustomIdentifiers:u,getCacheKey:a,invalidateCachedEndpoint:d}},(e,t,n)=>{var r=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++)n[t[r]]=Object.getOwnPropertyDescriptor(e,t[r]);return n},i=/%[sdj%]/g;t.format=function(e){if(!v(e)){for(var t=[],n=0;n<arguments.length;n++)t.push(u(arguments[n]));return t.join(" ")}n=1;for(var r=arguments,o=r.length,a=String(e).replace(i,(function(e){if("%%"===e)return"%";if(n>=o)return e;switch(e){case"%s":return String(r[n++]);case"%d":return Number(r[n++]);case"%j":try{return JSON.stringify(r[n++])}catch(e){return"[Circular]"}default:return e}})),s=r[n];n<o;s=r[++n])y(s)||!E(s)?a+=" "+s:a+=" "+u(s);return a},t.deprecate=function(e,n){if("undefined"!=typeof process&&!0===process.noDeprecation)return e;if("undefined"==typeof process)return function(){return t.deprecate(e,n).apply(this,arguments)};var r=!1;return function(){if(!r){if(process.throwDeprecation)throw new Error(n);process.traceDeprecation?console.trace(n):console.error(n),r=!0}return e.apply(this,arguments)}};var o={},a=/^$/;if(process.env.NODE_DEBUG){var s=process.env.NODE_DEBUG;s=s.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),a=new RegExp("^"+s+"$","i")}function u(e,n){var r={seen:[],stylize:l};return arguments.length>=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),m(n)?r.showHidden=n:n&&t._extend(r,n),b(r.showHidden)&&(r.showHidden=!1),b(r.depth)&&(r.depth=2),b(r.colors)&&(r.colors=!1),b(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=c),f(r,e,r.depth)}function c(e,t){var n=u.styles[t];return n?"�["+u.colors[n][0]+"m"+e+"�["+u.colors[n][1]+"m":e}function l(e,t){return e}function f(e,n,r){if(e.customInspect&&n&&T(n.inspect)&&n.inspect!==t.inspect&&(!n.constructor||n.constructor.prototype!==n)){var i=n.inspect(r,e);return v(i)||(i=f(e,i,r)),i}var o=function(e,t){if(b(t))return e.stylize("undefined","undefined");if(v(t)){var n="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(n,"string")}if(g(t))return e.stylize(""+t,"number");if(m(t))return e.stylize(""+t,"boolean");if(y(t))return e.stylize("null","null")}(e,n);if(o)return o;var a=Object.keys(n),s=function(e){var t={};return e.forEach((function(e,n){t[e]=!0})),t}(a);if(e.showHidden&&(a=Object.getOwnPropertyNames(n)),w(n)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return p(n);if(0===a.length){if(T(n)){var u=n.name?": "+n.name:"";return e.stylize("[Function"+u+"]","special")}if(_(n))return e.stylize(RegExp.prototype.toString.call(n),"regexp");if(S(n))return e.stylize(Date.prototype.toString.call(n),"date");if(w(n))return p(n)}var c,l="",E=!1,O=["{","}"];(h(n)&&(E=!0,O=["[","]"]),T(n))&&(l=" [Function"+(n.name?": "+n.name:"")+"]");return _(n)&&(l=" "+RegExp.prototype.toString.call(n)),S(n)&&(l=" "+Date.prototype.toUTCString.call(n)),w(n)&&(l=" "+p(n)),0!==a.length||E&&0!=n.length?r<0?_(n)?e.stylize(RegExp.prototype.toString.call(n),"regexp"):e.stylize("[Object]","special"):(e.seen.push(n),c=E?function(e,t,n,r,i){for(var o=[],a=0,s=t.length;a<s;++a)R(t,String(a))?o.push(d(e,t,n,r,String(a),!0)):o.push("");
vendor: 4,137 bytes, line 1
1return i.forEach((function(i){i.match(/^\d+$/)||o.push(d(e,t,n,r,i,!0))})),o}(e,n,r,s,a):a.map((function(t){return d(e,n,r,s,t,E)})),e.seen.pop(),function(e,t,n){var r=e.reduce((function(e,t){return t.indexOf("\n")>=0&&0,e+t.replace(/\u001b\[\d\d?m/g,"").length+1}),0);if(r>60)return n[0]+(""===t?"":t+"\n ")+" "+e.join(",\n  ")+" "+n[1];return n[0]+t+" "+e.join(", ")+" "+n[1]}(c,l,O)):O[0]+l+O[1]}function p(e){return"["+Error.prototype.toString.call(e)+"]"}function d(e,t,n,r,i,o){var a,s,u;if((u=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]}).get?s=u.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):u.set&&(s=e.stylize("[Setter]","special")),R(r,i)||(a="["+i+"]"),s||(e.seen.indexOf(u.value)<0?(s=y(n)?f(e,u.value,null):f(e,u.value,n-1)).indexOf("\n")>-1&&(s=o?s.split("\n").map((function(e){return"  "+e})).join("\n").slice(2):"\n"+s.split("\n").map((function(e){return"   "+e})).join("\n")):s=e.stylize("[Circular]","special")),b(a)){if(o&&i.match(/^\d+$/))return s;(a=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.slice(1,-1),a=e.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=e.stylize(a,"string"))}return a+": "+s}function h(e){return Array.isArray(e)}function m(e){return"boolean"==typeof e}function y(e){return null===e}function g(e){return"number"==typeof e}function v(e){return"string"==typeof e}function b(e){return void 0===e}function _(e){return E(e)&&"[object RegExp]"===O(e)}function E(e){return"object"==typeof e&&null!==e}function S(e){return E(e)&&"[object Date]"===O(e)}function w(e){return E(e)&&("[object Error]"===O(e)||e instanceof Error)}function T(e){return"function"==typeof e}function O(e){return Object.prototype.toString.call(e)}function x(e){return e<10?"0"+e.toString(10):e.toString(10)}t.debuglog=function(e){if(e=e.toUpperCase(),!o[e])if(a.test(e)){var n=process.pid;o[e]=function(){var r=t.format.apply(t,arguments);console.error("%s %d: %s",e,n,r)}}else o[e]=function(){};return o[e]},t.inspect=u,u.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},u.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},t.types=n(144),t.isArray=h,t.isBoolean=m,t.isNull=y,t.isNullOrUndefined=function(e){return null==e},t.isNumber=g,t.isString=v,t.isSymbol=function(e){return"symbol"==typeof e},t.isUndefined=b,t.isRegExp=_,t.types.isRegExp=_,t.isObject=E,t.isDate=S,t.types.isDate=S,t.isError=w,t.types.isNativeError=w,t.isFunction=T,t.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},t.isBuffer=n(163);var k=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function R(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.log=function(){var e,n;console.log("%s - %s",(e=new Date,n=[x(e.getHours()),x(e.getMinutes()),x(e.getSeconds())].join(":"),[e.getDate(),k[e.getMonth()],n].join(" ")),t.format.apply(t,arguments))},t.inherits=n(164),t._extend=function(e,t){if(!t||!E(t))return e;for(var n=Object.keys(t),r=n.length;r--;)e[n[r]]=t[n[r]];return e};var N="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function A(e,t){if(!e){var n=new Error("Promise was rejected with a falsy value");n.reason=e,e=n}return t(e)}t.promisify=function(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');if(N&&e[N]){var t;if("function"!=typeof(t=e[N]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(t,N,{value:t,enumerable:!1,writable:!1,configurable:!0}),t}function t(){for(var t,n,r=new Promise((function(e,r){t=e,n=r})),i=[],o=0;o<arguments.length;o++)i.push(arguments[o]);i.push((function(e,r){e?n(e):t(r)}));try{e.apply(this,i)}catch(e){n(e)}return r}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),N&&Object.defineProperty(t,N,{value:t,enumerable:!1,writable:!1,
vendor: 6,861 bytes, line 1
1configurable:!0}),Object.defineProperties(t,r(e))},t.promisify.custom=N,t.callbackify=function(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');function t(){for(var t=[],n=0;n<arguments.length;n++)t.push(arguments[n]);var r=t.pop();if("function"!=typeof r)throw new TypeError("The last argument must be of type Function");var i=this,o=function(){return r.apply(i,arguments)};e.apply(this,t).then((function(e){process.nextTick(o.bind(null,null,e))}),(function(e){process.nextTick(A.bind(null,e,o))}))}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),Object.defineProperties(t,r(e)),t}},(e,t,n)=>{"use strict";var r=n(145),i=n(156),o=n(157),a=n(162);function s(e){return e.call.bind(e)}var u="undefined"!=typeof BigInt,c="undefined"!=typeof Symbol,l=s(Object.prototype.toString),f=s(Number.prototype.valueOf),p=s(String.prototype.valueOf),d=s(Boolean.prototype.valueOf);if(u)var h=s(BigInt.prototype.valueOf);if(c)var m=s(Symbol.prototype.valueOf);function y(e,t){if("object"!=typeof e)return!1;try{return t(e),!0}catch(e){return!1}}function g(e){return"[object Map]"===l(e)}function v(e){return"[object Set]"===l(e)}function b(e){return"[object WeakMap]"===l(e)}function _(e){return"[object WeakSet]"===l(e)}function E(e){return"[object ArrayBuffer]"===l(e)}function S(e){return"undefined"!=typeof ArrayBuffer&&(E.working?E(e):e instanceof ArrayBuffer)}function w(e){return"[object DataView]"===l(e)}function T(e){return"undefined"!=typeof DataView&&(w.working?w(e):e instanceof DataView)}t.isArgumentsObject=r,t.isGeneratorFunction=i,t.isTypedArray=a,t.isPromise=function(e){return"undefined"!=typeof Promise&&e instanceof Promise||null!==e&&"object"==typeof e&&"function"==typeof e.then&&"function"==typeof e.catch},t.isArrayBufferView=function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):a(e)||T(e)},t.isUint8Array=function(e){return"Uint8Array"===o(e)},t.isUint8ClampedArray=function(e){return"Uint8ClampedArray"===o(e)},t.isUint16Array=function(e){return"Uint16Array"===o(e)},t.isUint32Array=function(e){return"Uint32Array"===o(e)},t.isInt8Array=function(e){return"Int8Array"===o(e)},t.isInt16Array=function(e){return"Int16Array"===o(e)},t.isInt32Array=function(e){return"Int32Array"===o(e)},t.isFloat32Array=function(e){return"Float32Array"===o(e)},t.isFloat64Array=function(e){return"Float64Array"===o(e)},t.isBigInt64Array=function(e){return"BigInt64Array"===o(e)},t.isBigUint64Array=function(e){return"BigUint64Array"===o(e)},g.working="undefined"!=typeof Map&&g(new Map),t.isMap=function(e){return"undefined"!=typeof Map&&(g.working?g(e):e instanceof Map)},v.working="undefined"!=typeof Set&&v(new Set),t.isSet=function(e){return"undefined"!=typeof Set&&(v.working?v(e):e instanceof Set)},b.working="undefined"!=typeof WeakMap&&b(new WeakMap),t.isWeakMap=function(e){return"undefined"!=typeof WeakMap&&(b.working?b(e):e instanceof WeakMap)},_.working="undefined"!=typeof WeakSet&&_(new WeakSet),t.isWeakSet=function(e){return _(e)},E.working="undefined"!=typeof ArrayBuffer&&E(new ArrayBuffer),t.isArrayBuffer=S,w.working="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView&&w(new DataView(new ArrayBuffer(1),0,1)),t.isDataView=T;var O="undefined"!=typeof SharedArrayBuffer?SharedArrayBuffer:void 0;function x(e){return"[object SharedArrayBuffer]"===l(e)}function k(e){return void 0!==O&&(void 0===x.working&&(x.working=x(new O)),x.working?x(e):e instanceof O)}function R(e){return y(e,f)}function N(e){return y(e,p)}function A(e){return y(e,d)}function I(e){return u&&y(e,h)}function D(e){return c&&y(e,m)}t.isSharedArrayBuffer=k,t.isAsyncFunction=function(e){return"[object AsyncFunction]"===l(e)},t.isMapIterator=function(e){return"[object Map Iterator]"===l(e)},t.isSetIterator=function(e){return"[object Set Iterator]"===l(e)},t.isGeneratorObject=function(e){return"[object Generator]"===l(e)},t.isWebAssemblyCompiledModule=function(e){return"[object WebAssembly.Module]"===l(e)},t.isNumberObject=R,t.isStringObject=N,t.isBooleanObject=A,t.isBigIntObject=I,t.isSymbolObject=D,t.isBoxedPrimitive=function(e){return R(e)||N(e)||A(e)||I(e)||D(e)},t.isAnyArrayBuffer=function(e){return"undefined"!=typeof Uint8Array&&(S(e)||k(e))},["isProxy","isExternal","isModuleNamespaceObject"].forEach((function(e){Object.defineProperty(t,e,{enumerable:!1,value:function(){throw new Error(e+" is not supported in userland")}})}))},(e,t,n)=>{"use strict";var r=n(146)(),i=n(148)("Object.prototype.toString"),o=function(e){return!(r&&e&&"object"==typeof e&&Symbol.toStringTag in e)&&"[object Arguments]"===i(e)},a=function(e){return!!o(e)||null!==e&&"object"==typeof e&&"number"==typeof e.length&&e.length>=0&&"[object Array]"!==i(e)&&"[object Function]"===i(e.callee)},s=function(){return o(arguments)}();o.isLegacyArguments=a,e.exports=s?o:a},(e,t,n)=>{"use strict";var r=n(147);e.exports=function(){return r()&&!!Symbol.toStringTag}},e=>{"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),n=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(t in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var r=Object.getOwnPropertySymbols(e);if(1!==r.length||r[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var i=Object.getOwnPropertyDescriptor(e,t);if(42!==i.value||!0!==i.enumerable)return!1}return!0}},(e,t,n)=>{"use strict";var r=n(149),i=n(155),o=i(r("String.prototype.indexOf"));e.exports=function(e,t){var n=r(e,!!t);return"function"==typeof n&&o(e,".prototype.")>-1?i(n):n}},(e,t,n)=>{"use strict";var r,i=SyntaxError,o=Function,a=TypeError,s=function(e){try{return o('"use strict"; return ('+e+").constructor;")()}catch(e){}},u=Object.getOwnPropertyDescriptor;if(u)try{u({},"")}catch(e){u=null}var c=function(){throw new a},l=u?function(){try{return c}catch(e){try{return u(arguments,"callee").get}catch(e){return c}}}():c,f=n(150)(),p=n(151)(),d=Object.getPrototypeOf||(p?function(e){return e.__proto__}:null),h={},m="undefined"!=typeof Uint8Array&&d?d(Uint8Array):r,y={"%AggregateError%":"undefined"==typeof AggregateError?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?r:ArrayBuffer,"%ArrayIteratorPrototype%":f&&d?d([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":h,"%AsyncGenerator%":h,"%AsyncGeneratorFunction%":h,"%AsyncIteratorPrototype%":h,"%Atomics%":"undefined"==typeof Atomics?r:Atom
vendor: 6,270 bytes, line 1
1ics,"%BigInt%":"undefined"==typeof BigInt?r:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?r:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?r:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?r:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?r:FinalizationRegistry,"%Function%":o,"%GeneratorFunction%":h,"%Int8Array%":"undefined"==typeof Int8Array?r:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?r:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":f&&d?d(d([][Symbol.iterator]())):r,"%JSON%":"object"==typeof JSON?JSON:r,"%Map%":"undefined"==typeof Map?r:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&f&&d?d((new Map)[Symbol.iterator]()):r,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?r:Promise,"%Proxy%":"undefined"==typeof Proxy?r:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?r:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?r:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&f&&d?d((new Set)[Symbol.iterator]()):r,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":f&&d?d(""[Symbol.iterator]()):r,"%Symbol%":f?Symbol:r,"%SyntaxError%":i,"%ThrowTypeError%":l,"%TypedArray%":m,"%TypeError%":a,"%Uint8Array%":"undefined"==typeof Uint8Array?r:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?r:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?r:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?r:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?r:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?r:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?r:WeakSet};if(d)try{null.error}catch(e){var g=d(d(e));y["%Error.prototype%"]=g}var v=function e(t){var n;if("%AsyncFunction%"===t)n=s("async function () {}");else if("%GeneratorFunction%"===t)n=s("function* () {}");else if("%AsyncGeneratorFunction%"===t)n=s("async function* () {}");else if("%AsyncGenerator%"===t){var r=e("%AsyncGeneratorFunction%");r&&(n=r.prototype)}else if("%AsyncIteratorPrototype%"===t){var i=e("%AsyncGenerator%");i&&d&&(n=d(i.prototype))}return y[t]=n,n},b={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},_=n(152),E=n(154),S=_.call(Function.call,Array.prototype.concat),w=_.call(Function.apply,Array.prototype.splice),T=_.call(Function.call,String.prototype.replace),O=_.call(Function.call,String.prototype.slice),x=_.call(Function.call,RegExp.prototype.exec),k=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,R=/\\(\\)?/g,N=function(e,t){var n,r=e;if(E(b,r)&&(r="%"+(n=b[r])[0]+"%"),E(y,r)){var o=y[r];if(o===h&&(o=v(r)),void 0===o&&!t)throw new a("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:n,name:r,value:o}}throw new i("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new a("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new a('"allowMissing" argument must be a boolean');if(null===x(/^%?[^%]*%?$/,e))throw new i("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
vendor: 5,505 bytes, line 1
1var n=function(e){var t=O(e,0,1),n=O(e,-1);if("%"===t&&"%"!==n)throw new i("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==t)throw new i("invalid intrinsic syntax, expected opening `%`");var r=[];return T(e,k,(function(e,t,n,i){r[r.length]=n?T(i,R,"$1"):t||e})),r}(e),r=n.length>0?n[0]:"",o=N("%"+r+"%",t),s=o.name,c=o.value,l=!1,f=o.alias;f&&(r=f[0],w(n,S([0,1],f)));for(var p=1,d=!0;p<n.length;p+=1){var h=n[p],m=O(h,0,1),g=O(h,-1);if(('"'===m||"'"===m||"`"===m||'"'===g||"'"===g||"`"===g)&&m!==g)throw new i("property names with quotes must have matching quotes");if("constructor"!==h&&d||(l=!0),E(y,s="%"+(r+="."+h)+"%"))c=y[s];else if(null!=c){if(!(h in c)){if(!t)throw new a("base intrinsic for "+e+" exists, but the property is not available.");return}if(u&&p+1>=n.length){var v=u(c,h);c=(d=!!v)&&"get"in v&&!("originalValue"in v.get)?v.get:c[h]}else d=E(c,h),c=c[h];d&&!l&&(y[s]=c)}}return c}},(e,t,n)=>{"use strict";var r="undefined"!=typeof Symbol&&Symbol,i=n(147);e.exports=function(){return"function"==typeof r&&("function"==typeof Symbol&&("symbol"==typeof r("foo")&&("symbol"==typeof Symbol("bar")&&i())))}},e=>{"use strict";var t={foo:{}},n=Object;e.exports=function(){return{__proto__:t}.foo===t.foo&&!({__proto__:null}instanceof n)}},(e,t,n)=>{"use strict";var r=n(153);e.exports=Function.prototype.bind||r},e=>{"use strict";var t=Array.prototype.slice,n=Object.prototype.toString;e.exports=function(e){var r=this;if("function"!=typeof r||"[object Function]"!==n.call(r))throw new TypeError("Function.prototype.bind called on incompatible "+r);for(var i,o=t.call(arguments,1),a=Math.max(0,r.length-o.length),s=[],u=0;u<a;u++)s.push("$"+u);if(i=Function("binder","return function ("+s.join(",")+"){ return binder.apply(this,arguments); }")((function(){if(this instanceof i){var n=r.apply(this,o.concat(t.call(arguments)));return Object(n)===n?n:this}return r.apply(e,o.concat(t.call(arguments)))})),r.prototype){var c=function(){};c.prototype=r.prototype,i.prototype=new c,c.prototype=null}return i}},(e,t,n)=>{"use strict";var r=n(152);e.exports=r.call(Function.call,Object.prototype.hasOwnProperty)},(e,t,n)=>{"use strict";var r=n(152),i=n(149),o=i("%Function.prototype.apply%"),a=i("%Function.prototype.call%"),s=i("%Reflect.apply%",!0)||r.call(a,o),u=i("%Object.getOwnPropertyDescriptor%",!0),c=i("%Object.defineProperty%",!0),l=i("%Math.max%");if(c)try{c({},"a",{value:1})}catch(e){c=null}e.exports=function(e){var t=s(r,a,arguments);u&&c&&(u(t,"length").configurable&&c(t,"length",{value:1+l(0,e.length-(arguments.length-1))}));return t};var f=function(){return s(r,o,arguments)};c?c(e.exports,"apply",{value:f}):e.exports.apply=f},(e,t,n)=>{"use strict";var r,i=Object.prototype.toString,o=Function.prototype.toString,a=/^\s*(?:function)?\*/,s=n(146)(),u=Object.getPrototypeOf;e.exports=function(e){if("function"!=typeof e)return!1;if(a.test(o.call(e)))return!0;if(!s)return"[object GeneratorFunction]"===i.call(e);if(!u)return!1;if(void 0===r){var t=function(){if(!s)return!1;try{return Function("return function*() {}")()}catch(e){}}();r=!!t&&u(t)}return u(e)===r}},(e,t,n)=>{"use strict";var r=n(158),i=n(160),o=n(155),a=n(148),s=n(161),u=a("Object.prototype.toString"),c=n(146)(),l="undefined"==typeof globalThis?n.g:globalThis,f=i(),p=a("String.prototype.slice"),d=Object.getPrototypeOf,h=a("Array.prototype.indexOf",!0)||function(e,t){for(var n=0;n<e.length;n+=1)if(e[n]===t)return n;return-1},m={__proto__:null};r(f,c&&s&&d?function(e){var t=new l[e];if(Symbol.toStringTag in t){var n=d(t),r=s(n,Symbol.toStringTag);if(!r){var i=d(n);r=s(i,Symbol.toStringTag)}m["$"+e]=o(r.get)}}:function(e){var t=new l[e];m["$"+e]=o(t.slice)});e.exports=function(e){if(!e||"object"!=typeof e)return!1;if(!c){var t=p(u(e),8,-1);return h(f,t)>-1?t:"Object"===t&&function(e){var t=!1;return r(m,(function(n,r){if(!t)try{n(e),t=p(r,1)}catch(e){}})),t}(e)}return s?function(e){var t=!1;return r(m,(function(n,r){if(!t)try{"$"+n(e)===r&&(t=p(r,1))}catch(e){}})),t}(e):null}},(e,t,n)=>{"use strict";var r=n(159),i=Object.prototype.toString,o=Object.prototype.hasOwnProperty;e.exports=function(e,t,n){if(!r(t))throw new TypeError("iterator must be a function");var a;arguments.length>=3&&(a=n),"[object Array]"===i.call(e)?function(e,t,n){for(var r=0,i=e.length;r<i;r++)o.call(e,r)&&(null==n?t(e[r],r,e):t.call(n,e[r],r,e))}(e,t,a):"string"==typeof e?function(e,t,n){for(var r=0,i=e.length;r<i;r++)null==n?t(e.charAt(r),r,e):t.call(n,e.charAt(r),r,e)}(e,t,a):function(e,t,n){for(var r in e)o.call(e,r)&&(null==n?t(e[r],r,e):t.call(n,e[r],r,e))}(e,t,a)}},e=>{"use strict";var t,n,r=Function.prototype.toString,i="object"==typeof Reflect&&null!==Reflect&&Reflect.apply;if("function"==typeof i&&"function"==typeof Object.defineProperty)try{t=Object.defineProperty({},"length",{get:function(){throw n}}),n={},i((function(){throw 42}),null,t)}catch(e){e!==n&&(i=null)}else i=null;var o=/^\s*class\b/,a=function(e){try{var t=r.call(e);return o.test(t)}catch(e){return!1}},s=function(e){try{return!a(e)&&(r.call(e),!0)}catch(e){return!1}},u=Object.prototype.toString,c="function"==typeof Symbol&&!!Symbol.toStringTag,l=!(0 in[,]),f=function(){return!1};if("object"==typeof document){var p=document.all;u.call(p)===u.call(document.all)&&(f=function(e){if((l||!e)&&(void 0===e||"object"==typeof e))try{var t=u.call(e);return("[object HTMLAllCollection]"===t||"[object HTML document.all class]"===t||"[object HTMLCollection]"===t||"[object Object]"===t)&&null==e("")}catch(e){}return!1})}
1e.exports=i?function(e){if(f(e))return!0;if(!e)return!1;if("function"!=typeof e&&"object"!=typeof e)return!1;try{i(e,null,t)}catch(e){if(e!==n)return!1}return!a(e)&&s(e)}:function(e){if(f(e))return!0;if(!e)return!1;if("function"!=typeof e&&"object"!=typeof e)return!1;if(c)return s(e);if(a(e))return!1;var t=u.call(e);return!("[object Function]"!==t&&"[object GeneratorFunction]"!==t&&!/^\[object HTML/.test(t))&&s(e)}},(e,t,n)=>{"use strict";var r=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],i="undefined"==typeof globalThis?n.g:globalThis;e.exports=function(){for(var e=[],t=0;t<r.length;t++)"function"==typeof i[r[t]]&&(e[e.length]=r[t]);return e}},(e,t,n)=>{"use strict";var r=n(149)("%Object.getOwnPropertyDescriptor%",!0);if(r)try{r([],"length")}catch(e){r=null}e.exports=r},(e,t,n)=>{"use strict";var r=n(157);e.exports=function(e){return!!r(e)}},e=>{e.exports=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}},e=>{"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}},(e,t,n)=>{var r=n(107),i=n(166),o=r.util.inherit,a=r.util.domain,s=n(167),u={success:1,error:1,complete:1};var c=new i;c.setupStates=function(){var e=function(e,t){var n=this;n._haltHandlersOnError=!1,n.emit(n._asm.currentState,(function(e){if(e)if(r=n,Object.prototype.hasOwnProperty.call(u,r._asm.currentState)){if(!(a&&n.domain instanceof a.Domain))throw e;e.domainEmitter=n,e.domain=n.domain,e.domainThrown=!1,n.domain.emit("error",e)}else n.response.error=e,t(e);else t(n.response.error);var r}))};this.addState("validate","build","error",e),this.addState("build","afterBuild","restart",e),this.addState("afterBuild","sign","restart",e),this.addState("sign","send","retry",e),this.addState("retry","afterRetry","afterRetry",e),this.addState("afterRetry","sign","error",e),this.addState("send","validateResponse","retry",e),this.addState("validateResponse","extractData","extractError",e),this.addState("extractError","extractData","retry",e),this.addState("extractData","success","retry",e),this.addState("restart","build","error",e),this.addState("success","complete","complete",e),this.addState("error","complete","complete",e),this.addState("complete",null,null,e)},c.setupStates(),r.Request=o({constructor:function(e,t,n){var o=e.endpoint,s=e.config.region,u=e.config.customUserAgent;e.signingRegion?s=e.signingRegion:e.isGlobalEndpoint&&(s="us-east-1"),this.domain=a&&a.active,this.service=e,this.operation=t,this.params=n||{},this.httpRequest=new r.HttpRequest(o,s),this.httpRequest.appendToUserAgent(u),this.startTime=e.getSkewCorrectedDate(),this.response=new r.Response(this),this._asm=new i(c.states,"validate"),this._haltHandlersOnError=!1,r.SequentialExecutor.call(this),this.emit=this.emitEvent},send:function(e){return e&&(this.httpRequest.appendToUserAgent("callback"),this.on("complete",(function(t){e.call(t,t.error,t.data)}))),this.runTo(),this.response},build:function(e){return this.runTo("send",e)},runTo:function(e,t){return this._asm.runTo(e,t,this),this},abort:function(){return this.removeAllListeners("validateResponse"),this.removeAllListeners("extractError"),this.on("validateResponse",(function(e){e.error=r.util.error(new Error("Request aborted by user"),{code:"RequestAbortedError",retryable:!1})})),this.httpRequest.stream&&!this.httpRequest.stream.didCallback&&(this.httpRequest.stream.abort(),this.httpRequest._abortCallback?this.httpRequest._abortCallback():this.removeAllListeners("send")),this},eachPage:function(e){e=r.util.fn.makeAsync(e,3),this.on("complete",(function t(n){e.call(n,n.error,n.data,(function(i){!1!==i&&(n.hasNextPage()?n.nextPage().on("complete",t).send():e.call(n,null,null,r.util.fn.noop))}))})).send()},eachItem:function(e){var t=this;
1this.eachPage((function(n,i){if(n)return e(n,null);if(null===i)return e(null,null);var o=t.service.paginationConfig(t.operation).resultKey;Array.isArray(o)&&(o=o[0]);var a=s.search(i,o),u=!0;return r.util.arrayEach(a,(function(t){if(!1===(u=e(null,t)))return r.util.abort})),u}))},isPageable:function(){return!!this.service.paginationConfig(this.operation)},createReadStream:function(){var e=r.util.stream,t=this,n=null;return 2===r.HttpClient.streamsApiVersion?(n=new e.PassThrough,process.nextTick((function(){t.send()}))):((n=new e.Stream).readable=!0,n.sent=!1,n.on("newListener",(function(e){n.sent||"data"!==e||(n.sent=!0,process.nextTick((function(){t.send()})))}))),this.on("error",(function(e){n.emit("error",e)})),this.on("httpHeaders",(function(i,o,a){if(i<300){t.removeListener("httpData",r.EventListeners.Core.HTTP_DATA),t.removeListener("httpError",r.EventListeners.Core.HTTP_ERROR),t.on("httpError",(function(e){a.error=e,a.error.retryable=!1}));var s,u=!1;if("HEAD"!==t.httpRequest.method&&(s=parseInt(o["content-length"],10)),void 0!==s&&!isNaN(s)&&s>=0){u=!0;var c=0}var l=function(){u&&c!==s?n.emit("error",r.util.error(new Error("Stream content length mismatch. Received "+c+" of "+s+" bytes."),{code:"StreamContentLengthMismatch"})):2===r.HttpClient.streamsApiVersion?n.end():n.emit("end")},f=a.httpResponse.createUnbufferedStream();if(2===r.HttpClient.streamsApiVersion)if(u){var p=new e.PassThrough;p._write=function(t){return t&&t.length&&(c+=t.length),e.PassThrough.prototype._write.apply(this,arguments)},p.on("end",l),n.on("error",(function(e){u=!1,f.unpipe(p),p.emit("end"),p.end()})),f.pipe(p).pipe(n,{end:!1})}else f.pipe(n);else u&&f.on("data",(function(e){e&&e.length&&(c+=e.length)})),f.on("data",(function(e){n.emit("data",e)})),f.on("end",l);f.on("error",(function(e){u=!1,n.emit("error",e)}))}})),n},emitEvent:function(e,t,n){"function"==typeof t&&(n=t,t=null),n||(n=function(){}),t||(t=this.eventParameters(e,this.response)),r.SequentialExecutor.prototype.emit.call(this,e,t,(function(e){e&&(this.response.error=e),n.call(this,e)}))},eventParameters:function(e){switch(e){case"restart":case"validate":case"sign":case"build":case"afterValidate":case"afterBuild":return[this];case"error":return[this.response.error,this.response];default:return[this.response]}},presign:function(e,t){return t||"function"!=typeof e||(t=e,e=null),(new r.Signers.Presign).sign(this.toGet(),e,t)},isPresigned:function(){return Object.prototype.hasOwnProperty.call(this.httpRequest.headers,"presigned-expires")},toUnauthenticated:function(){return this._unAuthenticated=!0,this.removeListener("validate",r.EventListeners.Core.VALIDATE_CREDENTIALS),this.removeListener("sign",r.EventListeners.Core.SIGN),this},toGet:function(){return"query"!==this.service.api.protocol&&"ec2"!==this.service.api.protocol||(this.removeListener("build",this.buildAsGet),this.addListener("build",this.buildAsGet)),this},buildAsGet:function(e){e.httpRequest.method="GET",e.httpRequest.path=e.service.endpoint.path+"?"+e.httpRequest.body,e.httpRequest.body="",delete e.httpRequest.headers["Content-Length"],delete e.httpRequest.headers["Content-Type"]},haltHandlersOnError:function(){this._haltHandlersOnError=!0}}),r.Request.addPromisesToClass=function(e){this.prototype.promise=function(){var t=this;return this.httpRequest.appendToUserAgent("promise"),new e((function(e,n){t.on("complete",(function(t){t.error?n(t.error):e(Object.defineProperty(t.data||{},"$response",{value:t}))})),t.runTo()}))}},r.Request.deletePromisesFromClass=function(){delete this.prototype.promise},r.util.addPromises(r.Request),r.util.mixin(r.Request,r.SequentialExecutor)},e=>{function t(e,t){this.currentState=t||null,this.states=e||{}}t.prototype.runTo=function(e,t,n,r){"function"==typeof e&&(r=n,n=t,t=e,e=null);var i=this,o=i.states[i.currentState];o.fn.call(n||i,r,(function(r){if(r){if(!o.fail)return t?t.call(n,r):null;i.currentState=o.fail}else{if(!o.accept)return t?t.call(n):null;i.currentState=o.accept}if(i.currentState===e)return t?t.call(n,r):null;i.runTo(e,t,n,r)}))},t.prototype.addState=function(e,t,n,r){return"function"==typeof t?(r=t,t=null,n=null):"function"==typeof n&&(r=n,n=null),this.currentState||(this.currentState=e),this.states[e]={accept:t,fail:n,fn:r},this},e.exports=t},(e,t)=>{!function(e){"use strict";function t(e){return null!==e&&"[object Array]"===Object.prototype.toString.call(e)}function n(e){return null!==e&&"[object Object]"===Object.prototype.toString.call(e)}function r(e,i){if(e===i)return!0;
vendor: 15,289 bytes, line 1
1if(Object.prototype.toString.call(e)!==Object.prototype.toString.call(i))return!1;if(!0===t(e)){if(e.length!==i.length)return!1;for(var o=0;o<e.length;o++)if(!1===r(e[o],i[o]))return!1;return!0}if(!0===n(e)){var a={};for(var s in e)if(hasOwnProperty.call(e,s)){if(!1===r(e[s],i[s]))return!1;a[s]=!0}for(var u in i)if(hasOwnProperty.call(i,u)&&!0!==a[u])return!1;return!0}return!1}function i(e){if(""===e||!1===e||null===e)return!0;if(t(e)&&0===e.length)return!0;if(n(e)){for(var r in e)if(e.hasOwnProperty(r))return!1;return!0}return!1}var o;o="function"==typeof String.prototype.trimLeft?function(e){return e.trimLeft()}:function(e){return e.match(/^\s*(.*)/)[1]};var a=0,s=1,u=2,c=3,l=4,f=6,p=8,d=9,h={0:"number",1:"any",2:"string",3:"array",4:"object",5:"boolean",6:"expression",7:"null",8:"Array<number>",9:"Array<string>"},m="EOF",y="UnquotedIdentifier",g="QuotedIdentifier",v="Rbracket",b="Rparen",_="Comma",E="Colon",S="Rbrace",w="Number",T="Current",O="Expref",x="Pipe",k="Or",R="And",N="EQ",A="GT",I="LT",D="GTE",C="LTE",P="NE",L="Flatten",M="Star",j="Filter",F="Dot",U="Not",B="Lbrace",q="Lbracket",G="Lparen",V="Literal",H={".":F,"*":M,",":_,":":E,"{":B,"}":S,"]":v,"(":G,")":b,"@":T},z={"<":!0,">":!0,"=":!0,"!":!0},$={" ":!0,"\t":!0,"\n":!0};function K(e){return e>="0"&&e<="9"||"-"===e}function Y(){}Y.prototype={tokenize:function(e){var t,n,r,i,o=[];for(this._current=0;this._current<e.length;)if((i=e[this._current])>="a"&&i<="z"||i>="A"&&i<="Z"||"_"===i)t=this._current,n=this._consumeUnquotedIdentifier(e),o.push({type:y,value:n,start:t});else if(void 0!==H[e[this._current]])o.push({type:H[e[this._current]],value:e[this._current],start:this._current}),this._current++;else if(K(e[this._current]))r=this._consumeNumber(e),o.push(r);else if("["===e[this._current])r=this._consumeLBracket(e),o.push(r);else if('"'===e[this._current])t=this._current,n=this._consumeQuotedIdentifier(e),o.push({type:g,value:n,start:t});else if("'"===e[this._current])t=this._current,n=this._consumeRawStringLiteral(e),o.push({type:V,value:n,start:t});else if("`"===e[this._current]){t=this._current;var a=this._consumeLiteral(e);o.push({type:V,value:a,start:t})}else if(void 0!==z[e[this._current]])o.push(this._consumeOperator(e));else if(void 0!==$[e[this._current]])this._current++;else if("&"===e[this._current])t=this._current,this._current++,"&"===e[this._current]?(this._current++,o.push({type:R,value:"&&",start:t})):o.push({type:O,value:"&",start:t});else{if("|"!==e[this._current]){var s=new Error("Unknown character:"+e[this._current]);throw s.name="LexerError",s}t=this._current,this._current++,"|"===e[this._current]?(this._current++,o.push({type:k,value:"||",start:t})):o.push({type:x,value:"|",start:t})}return o},_consumeUnquotedIdentifier:function(e){var t,n=this._current;for(this._current++;this._current<e.length&&((t=e[this._current])>="a"&&t<="z"||t>="A"&&t<="Z"||t>="0"&&t<="9"||"_"===t);)this._current++;return e.slice(n,this._current)},_consumeQuotedIdentifier:function(e){var t=this._current;this._current++;for(var n=e.length;'"'!==e[this._current]&&this._current<n;){var r=this._current;"\\"!==e[r]||"\\"!==e[r+1]&&'"'!==e[r+1]?r++:r+=2,this._current=r}return this._current++,JSON.parse(e.slice(t,this._current))},_consumeRawStringLiteral:function(e){var t=this._current;this._current++;for(var n=e.length;"'"!==e[this._current]&&this._current<n;){var r=this._current;"\\"!==e[r]||"\\"!==e[r+1]&&"'"!==e[r+1]?r++:r+=2,this._current=r}return this._current++,e.slice(t+1,this._current-1).replace("\\'","'")},_consumeNumber:function(e){var t=this._current;this._current++;for(var n=e.length;K(e[this._current])&&this._current<n;)this._current++;var r=parseInt(e.slice(t,this._current));return{type:w,value:r,start:t}},_consumeLBracket:function(e){var t=this._current;return this._current++,"?"===e[this._current]?(this._current++,{type:j,value:"[?",start:t}):"]"===e[this._current]?(this._current++,{type:L,value:"[]",start:t}):{type:q,value:"[",start:t}},_consumeOperator:function(e){var t=this._current,n=e[t];return this._current++,"!"===n?"="===e[this._current]?(this._current++,{type:P,value:"!=",start:t}):{type:U,value:"!",start:t}:"<"===n?"="===e[this._current]?(this._current++,{type:C,value:"<=",start:t}):{type:I,value:"<",start:t}:">"===n?"="===e[this._current]?(this._current++,{type:D,value:">=",start:t}):{type:A,value:">",start:t}:"="===n&&"="===e[this._current]?(this._current++,{type:N,value:"==",start:t}):void 0},_consumeLiteral:function(e){this._current++;for(var t,n=this._current,r=e.length;"`"!==e[this._current]&&this._current<r;){var i=this._current;"\\"!==e[i]||"\\"!==e[i+1]&&"`"!==e[i+1]?i++:i+=2,this._current=i}var a=o(e.slice(n,this._current));return a=a.replace("\\`","`"),t=this._looksLikeJSON(a)?JSON.parse(a):JSON.parse('"'+a+'"'),this._current++,t},_looksLikeJSON:function(e){if(""===e)return!1;if('[{"'.indexOf(e[0])>=0)return!0;if(["true","false","null"].indexOf(e)>=0)return!0;if(!("-0123456789".indexOf(e[0])>=0))return!1;try{return JSON.parse(e),!0}catch(e){return!1}}};var W={};function Q(){}function X(e){this.runtime=e}function J(e){this._interpreter=e,this.functionTable={abs:{_func:this._functionAbs,_signature:[{types:[a]}]},avg:{_func:this._functionAvg,_signature:[{types:[p]}]},ceil:{_func:this._functionCeil,_signature:[{types:[a]}]},contains:{_func:this._functionContains,_signature:[{types:[u,c]},{types:[s]}]},ends_with:{_func:this._functionEndsWith,_signature:[{types:[u]},{types:[u]}]},floor:{_func:this._functionFloor,_signature:[{types:[a]}]},length:{_func:this._functionLength,_signature:[{types:[u,c,l]}]},map:{_func:this._functionMap,_signature:[{types:[f]},{types:[c]}]},max:{_func:this._functionMax,_signature:[{types:[p,d]}]},merge:{_func:this._functionMerge,_signature:[{types:[l],variadic:!0}]},max_by:{_func:this._functionMaxBy,_signature:[{types:[c]},{types:[f]}]},sum:{_func:this._functionSum,_signature:[{types:[p]}]},starts_with:{_func:this._functionStartsWith,_signature:[{types:[u]},{types:[u]}]},min:{_func:this._functionMin,_signature:[{types:[p,d]}]},min_by:{_func:this._functionMinBy,_signature:[{types:[c]},{types:[f]}]},type:{_func:this._functionType,_signature:[{types:[s]}]},keys:{_func:this._functionKeys,_signature:[{types:[l]}]},values:{_func:this._functionValues,_signature:[{types:[l]}]},sort:{_func:this._functionSort,_signature:[{types:[d,p]}]},sort_by:{_func:this._functionSortBy,_signature:[{types:[c]},{types:[f]}]},join:{_func:this._functionJoin,_signature:[{types:[u]},{types:[d]}]},reverse:{_func:this._functionReverse,_signature:[{types:[u,c]}]},to_array:{_func:this._functionToArray,_signature:[{types:[s]}]},to_string:{_func:this._functionToString,_signature:[{types:[s]}]},to_number:{_func:this._functionToNumber,_signature:[{types:[s]}]},not_null:{_func:this._functionNotNull,_signature:[{types:[s],variadic:!0}]}}}W[m]=0,W[y]=0,W[g]=0,W[v]=0,W[b]=0,W[_]=0,W[S]=0,W[w]=0,W[T]=0,W[O]=0,W[x]=1,W[k]=2,W[R]=3,W[N]=5,W[A]=5,W[I]=5,W[D]=5,W[C]=5,W[P]=5,W[L]=9,W[M]=20,W[j]=21,W[F]=40,W[U]=45,W[B]=50,W[q]=55,W[G]=60,Q.prototype={parse:function(e){this._loadTokens(e),this.index=0;var t=this.expression(0);if(this._lookahead(0)!==m){var n=this._lookaheadToken(0),r=new Error("Unexpected token type: "+n.type+", value: "+n.value);throw r.name="ParserError",r}return t},_loadTokens:function(e){var t=(new Y).tokenize(e);t.push({type:m,value:"",start:e.length}),this.tokens=t},expression:function(e){var t=this._lookaheadToken(0);this._advance();for(var n=this.nud(t),r=this._lookahead(0);e<W[r];)this._advance(),n=this.led(r,n),r=this._lookahead(0);return n},_lookahead:function(e){return this.tokens[this.index+e].type},_lookaheadToken:function(e){return this.tokens[this.index+e]},_advance:function(){this.index++},nud:function(e){var t,n;switch(e.type){case V:return{type:"Literal",value:e.value};case y:return{type:"Field",name:e.value};case g:var r={type:"Field",name:e.value};if(this._lookahead(0)===G)throw new Error("Quoted identifier not allowed for function names.");return r;case U:return{type:"NotExpression",children:[t=this.expression(W.Not)]};case M:return t=null,{type:"ValueProjection",children:[{type:"Identity"},t=this._lookahead(0)===v?{type:"Identity"}:this._parseProjectionRHS(W.Star)]};case j:return this.led(e.type,{type:"Identity"});case B:return this._parseMultiselectHash();case L:return{type:"Projection",children:[{type:L,children:[{type:"Identity"}]},t=this._parseProjectionRHS(W.Flatten)]};case q:return this._lookahead(0)===w||this._lookahead(0)===E?(t=this._parseIndexExpression(),this._projectIfSlice({type:"Identity"},t)):this._lookahead(0)===M&&this._lookahead(1)===v?(this._advance(),this._advance(),{type:"Projection",children:[{type:"Identity"},t=this._parseProjectionRHS(W.Star)]}):this._parseMultiselectList();case T:return{type:T};case O:return{type:"ExpressionReference",children:[n=this.expression(W.Expref)]};case G:for(var i=[];this._lookahead(0)!==b;)this._lookahead(0)===T?(n={type:T},this._advance()):n=this.expression(0),i.push(n);return this._match(b),i[0];default:this._errorToken(e)}},led:function(e,t){var n;switch(e){case F:var r=W.Dot;return this._lookahead(0)!==M?{type:"Subexpression",children:[t,n=this._parseDotRHS(r)]}:(this._advance(),{type:"ValueProjection",children:[t,n=this._parseProjectionRHS(r)]});case x:return n=this.expression(W.Pipe),{type:x,children:[t,n]};case k:return{type:"OrExpression",children:[t,n=this.expression(W.Or)]};case R:return{type:"AndExpression",children:[t,n=this.expression(W.And)]};case G:for(var i,o=t.name,a=[];this._lookahead(0)!==b;)this._lookahead(0)===T?(i={type:T},this._advance()):i=this.expression(0),this._lookahead(0)===_&&this._match(_),a.push(i);return this._match(b),{type:"Function",name:o,children:a};case j:var s=this.expression(0);return this._match(v),{type:"FilterProjection",children:[t,n=this._lookahead(0)===L?{type:"Identity"}:this._parseProjectionRHS(W.Filter),s]};case L:return{type:"Projection",children:[{type:L,children:[t]},this._parseProjectionRHS(W.Flatten)]};case N:case P:case A:case D:case I:case C:return this._parseComparator(t,e);case q:var u=this._lookaheadToken(0);return u.type===w||u.type===E?(n=this._parseIndexExpression(),this._projectIfSlice(t,n)):(this._match(M),this._match(v),{type:"Projection",children:[t,n=this._parseProjectionRHS(W.Star)]});default:this._errorToken(this._lookaheadToken(0))}},_match:function(e){if(this._lookahead(0)!==e){var t=this._lookaheadToken(0),n=new Error("Expected "+e+", got: "+t.type);throw n.name="ParserError",n}this._advance()},_errorToken:function(e){var t=new Error("Invalid token ("+e.type+'): "'+e.value+'"');throw t.name="ParserError",t},_parseIndexExpression:function(){if(this._lookahead(0)===E||this._lookahead(1)===E)return this._parseSliceExpression();var e={type:"Index",value:this._lookaheadToken(0).value};return this._advance(),this._match(v),e},_projectIfSlice:function(e,t){var n={type:"IndexExpression",children:[e,t]};return"Slice"===t.type?{type:"Projection",children:[n,this._parseProjectionRHS(W.Star)]}:n},_parseSliceExpression:function(){for(var e=[null,null,null],t=0,n=this._lookahead(0);n!==v&&t<3;){if(n===E)t++,this._advance();else{if(n!==w){var r=this._lookahead(0),i=new Error("Syntax error, unexpected token: "+r.value+"("+r.type+")");throw i.name="Parsererror",i}e[t]=this._lookaheadToken(0).value,this._advance()}n=this._lookahead(0)}return this._match(v),{type:"Slice",children:e}},_parseComparator:function(e,t){return{type:"Comparator",name:t,children:[e,this.expression(W[t])]}},_parseDotRHS:function(e){var t=this._lookahead(0);return[y,g,M].indexOf(t)>=0?this.expression(e):t===q?(this._match(q),this._parseMultiselectList()):t===B?(this._match(B),this._parseMultiselectHash()):void 0},_parseProjectionRHS:function(e){var t;if(W[this._lookahead(0)]<10)t={type:"Identity"};else if(this._lookahead(0)===q)t=this.expression(e);else if(this._lookahead(0)===j)t=this.expression(e);else{if(this._lookahead(0)!==F){var n=this._lookaheadToken(0),r=new Error("Sytanx error, unexpected token: "+n.value+"("+n.type+")");throw r.name="ParserError",r}this._match(F),t=this._parseDotRHS(e)}return t},_parseMultiselectList:function(){for(var e=[];this._lookahead(0)!==v;){var t=this.expression(0);if(e.push(t),this._lookahead(0)===_&&(this._match(_),this._lookahead(0)===v))throw new Error("Unexpected token Rbracket")}return this._match(v),{type:"MultiSelectList",children:e}},_parseMultiselectHash:function(){for(var e,t,n,r=[],i=[y,g];;){if(e=this._lookaheadToken(0),i.indexOf(e.type)<0)throw new Error("Expecting an identifier token, got: "+e.type);if(t=e.value,this._advance(),this._match(E),n={type:"KeyValuePair",name:t,value:this.expression(0)},r.push(n),this._lookahead(0)===_)this._match(_);else if(this._lookahead(0)===S){this._match(S);break}}return{type:"MultiSelectHash",children:r}}},X.prototype={search:function(e,t){return this.visit(e,t)},visit:function(e,o){var a,s,u,c,l,f,p,d,h;switch(e.type){case"Field":return null!==o&&n(o)?void 0===(f=o[e.name])?null:f:null;case"Subexpression":for(u=this.visit(e.children[0],o),h=1;h<e.children.length;h++)if(null===(u=this.visit(e.children[1],u)))return null;return u;case"IndexExpression":return p=this.visit(e.children[0],o),this.visit(e.children[1],p);case"Index":if(!t(o))return null;var m=e.value;return m<0&&(m=o.length+m),void 0===(u=o[m])&&(u=null),u;case"Slice":if(!t(o))return null;var y=e.children.slice(0),g=this.computeSliceParams(o.length,y),v=g[0],b=g[1],_=g[2];if(u=[],_>0)for(h=v;h<b;h+=_)u.push(o[h]);else for(h=v;h>b;h+=_)u.push(o[h]);return u;case"Projection":var E=this.visit(e.children[0],o);if(!t(E))return null;for(d=[],h=0;h<E.length;h++)null!==(s=this.visit(e.children[1],E[h]))&&d.push(s);return d;case"ValueProjection":if(!n(E=this.visit(e.children[0],o)))return null;d=[];var S=function(e){for(var t=Object.keys(e),n=[],r=0;r<t.length;r++)n.push(e[t[r]]);return n}(E);for(h=0;h<S.length;h++)null!==(s=this.visit(e.children[1],S[h]))&&d.push(s);return d;case"FilterProjection":if(!t(E=this.visit(e.children[0],o)))return null;var w=[],k=[];for(h=0;h<E.length;h++)i(a=this.visit(e.children[2],E[h]))||w.push(E[h]);for(var R=0;R<w.length;R++)null!==(s=this.visit(e.children[1],w[R]))&&k.push(s);return k;case"Comparator":switch(c=this.visit(e.children[0],o),l=this.visit(e.children[1],o),e.name){case N:u=r(c,l);break;case P:u=!r(c,l);break;case A:u=c>l;break;case D:u=c>=l;break;case I:u=c<l;break;case C:u=c<=l;break;default:throw new Error("Unknown comparator: "+e.name)}return u;case L:var M=this.visit(e.children[0],o);if(!t(M))return null;var j=[];for(h=0;h<M.length;h++)t(s=M[h])?j.push.apply(j,s):j.push(s);return j;case"Identity":return o;case"MultiSelectList":if(null===o)return null;for(d=[],h=0;h<e.children.length;h++)d.push(this.visit(e.children[h],o));return d;case"MultiSelectHash":if(null===o)return null;var F;for(d={},h=0;h<e.children.length;h++)d[(F=e.children[h]).name]=this.visit(F.value,o);return d;case"OrExpression":return i(a=this.visit(e.children[0],o))&&(a=this.visit(e.children[1],o)),a;case"AndExpression":return!0===i(c=this.visit(e.children[0],o))?c:this.visit(e.children[1],o);case"NotExpression":return i(c=this.visit(e.children[0],o));case"Literal":return e.value;case x:return p=this.visit(e.children[0],o),this.visit(e.children[1],p);case T:return o;
vendor: 6,371 bytes, line 1
1case"Function":var U=[];for(h=0;h<e.children.length;h++)U.push(this.visit(e.children[h],o));return this.runtime.callFunction(e.name,U);case"ExpressionReference":var B=e.children[0];return B.jmespathType=O,B;default:throw new Error("Unknown node type: "+e.type)}},computeSliceParams:function(e,t){var n=t[0],r=t[1],i=t[2],o=[null,null,null];if(null===i)i=1;else if(0===i){var a=new Error("Invalid slice, step cannot be 0");throw a.name="RuntimeError",a}var s=i<0;return n=null===n?s?e-1:0:this.capSliceRange(e,n,i),r=null===r?s?-1:e:this.capSliceRange(e,r,i),o[0]=n,o[1]=r,o[2]=i,o},capSliceRange:function(e,t,n){return t<0?(t+=e)<0&&(t=n<0?-1:0):t>=e&&(t=n<0?e-1:e),t}},J.prototype={callFunction:function(e,t){var n=this.functionTable[e];if(void 0===n)throw new Error("Unknown function: "+e+"()");return this._validateArgs(e,t,n._signature),n._func.call(this,t)},_validateArgs:function(e,t,n){var r,i,o,a;if(n[n.length-1].variadic){if(t.length<n.length)throw r=1===n.length?" argument":" arguments",new Error("ArgumentError: "+e+"() takes at least"+n.length+r+" but received "+t.length)}else if(t.length!==n.length)throw r=1===n.length?" argument":" arguments",new Error("ArgumentError: "+e+"() takes "+n.length+r+" but received "+t.length);for(var s=0;s<n.length;s++){a=!1,i=n[s].types,o=this._getTypeName(t[s]);for(var u=0;u<i.length;u++)if(this._typeMatches(o,i[u],t[s])){a=!0;break}if(!a){var c=i.map((function(e){return h[e]})).join(",");throw new Error("TypeError: "+e+"() expected argument "+(s+1)+" to be type "+c+" but received type "+h[o]+" instead.")}}},_typeMatches:function(e,t,n){if(t===s)return!0;if(t!==d&&t!==p&&t!==c)return e===t;if(t===c)return e===c;if(e===c){var r;t===p?r=a:t===d&&(r=u);for(var i=0;i<n.length;i++)if(!this._typeMatches(this._getTypeName(n[i]),r,n[i]))return!1;return!0}},_getTypeName:function(e){switch(Object.prototype.toString.call(e)){case"[object String]":return u;case"[object Number]":return a;case"[object Array]":return c;case"[object Boolean]":return 5;case"[object Null]":return 7;case"[object Object]":return e.jmespathType===O?f:l}},_functionStartsWith:function(e){return 0===e[0].lastIndexOf(e[1])},_functionEndsWith:function(e){var t=e[0],n=e[1];return-1!==t.indexOf(n,t.length-n.length)},_functionReverse:function(e){if(this._getTypeName(e[0])===u){for(var t=e[0],n="",r=t.length-1;r>=0;r--)n+=t[r];return n}var i=e[0].slice(0);return i.reverse(),i},_functionAbs:function(e){return Math.abs(e[0])},_functionCeil:function(e){return Math.ceil(e[0])},_functionAvg:function(e){for(var t=0,n=e[0],r=0;r<n.length;r++)t+=n[r];return t/n.length},_functionContains:function(e){return e[0].indexOf(e[1])>=0},_functionFloor:function(e){return Math.floor(e[0])},_functionLength:function(e){return n(e[0])?Object.keys(e[0]).length:e[0].length},_functionMap:function(e){for(var t=[],n=this._interpreter,r=e[0],i=e[1],o=0;o<i.length;o++)t.push(n.visit(r,i[o]));return t},_functionMerge:function(e){for(var t={},n=0;n<e.length;n++){var r=e[n];for(var i in r)t[i]=r[i]}return t},_functionMax:function(e){if(e[0].length>0){if(this._getTypeName(e[0][0])===a)return Math.max.apply(Math,e[0]);for(var t=e[0],n=t[0],r=1;r<t.length;r++)n.localeCompare(t[r])<0&&(n=t[r]);return n}return null},_functionMin:function(e){if(e[0].length>0){if(this._getTypeName(e[0][0])===a)return Math.min.apply(Math,e[0]);for(var t=e[0],n=t[0],r=1;r<t.length;r++)t[r].localeCompare(n)<0&&(n=t[r]);return n}return null},_functionSum:function(e){for(var t=0,n=e[0],r=0;r<n.length;r++)t+=n[r];return t},_functionType:function(e){switch(this._getTypeName(e[0])){case a:return"number";case u:return"string";case c:return"array";case l:return"object";case 5:return"boolean";case f:return"expref";case 7:return"null"}},_functionKeys:function(e){return Object.keys(e[0])},_functionValues:function(e){for(var t=e[0],n=Object.keys(t),r=[],i=0;i<n.length;i++)r.push(t[n[i]]);return r},_functionJoin:function(e){var t=e[0];return e[1].join(t)},_functionToArray:function(e){return this._getTypeName(e[0])===c?e[0]:[e[0]]},_functionToString:function(e){return this._getTypeName(e[0])===u?e[0]:JSON.stringify(e[0])},_functionToNumber:function(e){var t,n=this._getTypeName(e[0]);return n===a?e[0]:n!==u||(t=+e[0],isNaN(t))?null:t},_functionNotNull:function(e){for(var t=0;t<e.length;t++)if(7!==this._getTypeName(e[t]))return e[t];return null},_functionSort:function(e){var t=e[0].slice(0);return t.sort(),t},_functionSortBy:function(e){var t=e[0].slice(0);if(0===t.length)return t;var n=this._interpreter,r=e[1],i=this._getTypeName(n.visit(r,t[0]));if([a,u].indexOf(i)<0)throw new Error("TypeError");for(var o=this,s=[],c=0;c<t.length;c++)s.push([c,t[c]]);s.sort((function(e,t){var a=n.visit(r,e[1]),s=n.visit(r,t[1]);if(o._getTypeName(a)!==i)throw new Error("TypeError: expected "+i+", received "+o._getTypeName(a));if(o._getTypeName(s)!==i)throw new Error("TypeError: expected "+i+", received "+o._getTypeName(s));return a>s?1:a<s?-1:e[0]-t[0]}));for(var l=0;l<s.length;l++)t[l]=s[l][1];return t},_functionMaxBy:function(e){for(var t,n,r=e[1],i=e[0],o=this.createKeyFunction(r,[a,u]),s=-1/0,c=0;c<i.length;c++)(n=o(i[c]))>s&&(s=n,t=i[c]);return t},_functionMinBy:function(e){for(var t,n,r=e[1],i=e[0],o=this.createKeyFunction(r,[a,u]),s=1/0,c=0;c<i.length;c++)(n=o(i[c]))<s&&(s=n,t=i[c]);return t},createKeyFunction:function(e,t){var n=this,r=this._interpreter;return function(i){var o=r.visit(e,i);if(t.indexOf(n._getTypeName(o))<0){var a="TypeError: expected one of "+t+", received "+n._getTypeName(o);throw new Error(a)}return o}}},e.tokenize=function(e){return(new Y).tokenize(e)},e.compile=function(e){return(new Q).parse(e)},e.search=function(e,t){var n=new Q,r=new J,i=new X(r);r._interpreter=i;var o=n.parse(t);return i.search(o,e)},e.strictDeepEqual=r}(t)},(e,t,n)=>{var r=n(107),i=r.util.inherit,o=n(167);r.Response=i({constructor:function(e){this.request=e,this.data=null,this.error=null,this.retryCount=0,this.redirectCount=0,this.httpResponse=new r.HttpResponse,e&&(this.maxRetries=e.service.numRetries(),this.maxRedirects=e.service.config.maxRedirects)},nextPage:function(e){var t,n=this.request.service,i=this.request.operation;try{t=n.paginationConfig(i,!0)}catch(e){this.error=e}if(!this.hasNextPage()){if(e)e(this.error,null);else if(this.error)throw this.error;return null}var o=r.util.copy(this.request.params);if(this.nextPageTokens){var a=t.inputToken;
vendor: 9,155 bytes, line 1
1"string"==typeof a&&(a=[a]);for(var s=0;s<a.length;s++)o[a[s]]=this.nextPageTokens[s];return n.makeRequest(this.request.operation,o,e)}return e?e(null,null):null},hasNextPage:function(){return this.cacheNextPageTokens(),!!this.nextPageTokens||void 0===this.nextPageTokens&&void 0},cacheNextPageTokens:function(){if(Object.prototype.hasOwnProperty.call(this,"nextPageTokens"))return this.nextPageTokens;this.nextPageTokens=void 0;var e=this.request.service.paginationConfig(this.request.operation);if(!e)return this.nextPageTokens;if(this.nextPageTokens=null,e.moreResults&&!o.search(this.data,e.moreResults))return this.nextPageTokens;var t=e.outputToken;return"string"==typeof t&&(t=[t]),r.util.arrayEach.call(this,t,(function(e){var t=o.search(this.data,e);t&&(this.nextPageTokens=this.nextPageTokens||[],this.nextPageTokens.push(t))})),this.nextPageTokens}})},(e,t,n)=>{var r=n(107),i=r.util.inherit,o=n(167);function a(e){var t=e.request._waiter,n=t.config.acceptors,r=!1,i="retry";n.forEach((function(n){if(!r){var o=t.matchers[n.matcher];o&&o(e,n.expected,n.argument)&&(r=!0,i=n.state)}})),!r&&e.error&&(i="failure"),"success"===i?t.setSuccess(e):t.setError(e,"retry"===i)}r.ResourceWaiter=i({constructor:function(e,t){this.service=e,this.state=t,this.loadWaiterConfig(this.state)},service:null,state:null,config:null,matchers:{path:function(e,t,n){try{var r=o.search(e.data,n)}catch(e){return!1}return o.strictDeepEqual(r,t)},pathAll:function(e,t,n){try{var r=o.search(e.data,n)}catch(e){return!1}Array.isArray(r)||(r=[r]);var i=r.length;if(!i)return!1;for(var a=0;a<i;a++)if(!o.strictDeepEqual(r[a],t))return!1;return!0},pathAny:function(e,t,n){try{var r=o.search(e.data,n)}catch(e){return!1}Array.isArray(r)||(r=[r]);for(var i=r.length,a=0;a<i;a++)if(o.strictDeepEqual(r[a],t))return!0;return!1},status:function(e,t){var n=e.httpResponse.statusCode;return"number"==typeof n&&n===t},error:function(e,t){return"string"==typeof t&&e.error?t===e.error.code:t===!!e.error}},listeners:(new r.SequentialExecutor).addNamedListeners((function(e){e("RETRY_CHECK","retry",(function(e){var t=e.request._waiter;e.error&&"ResourceNotReady"===e.error.code&&(e.error.retryDelay=1e3*(t.config.delay||0))})),e("CHECK_OUTPUT","extractData",a),e("CHECK_ERROR","extractError",a)})),wait:function(e,t){"function"==typeof e&&(t=e,e=void 0),e&&e.$waiter&&("number"==typeof(e=r.util.copy(e)).$waiter.delay&&(this.config.delay=e.$waiter.delay),"number"==typeof e.$waiter.maxAttempts&&(this.config.maxAttempts=e.$waiter.maxAttempts),delete e.$waiter);var n=this.service.makeRequest(this.config.operation,e);return n._waiter=this,n.response.maxRetries=this.config.maxAttempts,n.addListeners(this.listeners),t&&n.send(t),n},setSuccess:function(e){e.error=null,e.data=e.data||{},e.request.removeAllListeners("extractData")},setError:function(e,t){e.data=null,e.error=r.util.error(e.error||new Error,{code:"ResourceNotReady",message:"Resource is not in the state "+this.state,retryable:t})},loadWaiterConfig:function(e){if(!this.service.api.waiters[e])throw new r.util.error(new Error,{code:"StateNotFoundError",message:"State "+e+" not found."});this.config=r.util.copy(this.service.api.waiters[e])}})},(e,t,n)=>{var r=n(107),i=r.util.inherit;r.Signers.RequestSigner=i({constructor:function(e){this.request=e},setServiceClientId:function(e){this.serviceClientId=e},getServiceClientId:function(){return this.serviceClientId}}),r.Signers.RequestSigner.getVersion=function(e){switch(e){case"v2":return r.Signers.V2;case"v3":return r.Signers.V3;case"s3v4":case"v4":return r.Signers.V4;case"s3":return r.Signers.S3;case"v3https":return r.Signers.V3Https;case"bearer":return r.Signers.Bearer}throw new Error("Unknown signing version "+e)},n(171),n(172),n(173),n(174),n(176),n(177),n(178)},(e,t,n)=>{var r=n(107),i=r.util.inherit;r.Signers.V2=i(r.Signers.RequestSigner,{addAuthorization:function(e,t){t||(t=r.util.date.getDate());var n=this.request;n.params.Timestamp=r.util.date.iso8601(t),n.params.SignatureVersion="2",n.params.SignatureMethod="HmacSHA256",n.params.AWSAccessKeyId=e.accessKeyId,e.sessionToken&&(n.params.SecurityToken=e.sessionToken),delete n.params.Signature,n.params.Signature=this.signature(e),n.body=r.util.queryParamsToString(n.params),n.headers["Content-Length"]=n.body.length},signature:function(e){return r.util.crypto.hmac(e.secretAccessKey,this.stringToSign(),"base64")},stringToSign:function(){var e=[];return e.push(this.request.method),e.push(this.request.endpoint.host.toLowerCase()),e.push(this.request.pathname()),e.push(r.util.queryParamsToString(this.request.params)),e.join("\n")}}),e.exports=r.Signers.V2},(e,t,n)=>{var r=n(107),i=r.util.inherit;r.Signers.V3=i(r.Signers.RequestSigner,{addAuthorization:function(e,t){var n=r.util.date.rfc822(t);this.request.headers["X-Amz-Date"]=n,e.sessionToken&&(this.request.headers["x-amz-security-token"]=e.sessionToken),this.request.headers["X-Amzn-Authorization"]=this.authorization(e,n)},authorization:function(e){return"AWS3 AWSAccessKeyId="+e.accessKeyId+",Algorithm=HmacSHA256,SignedHeaders="+this.signedHeaders()+",Signature="+this.signature(e)},signedHeaders:function(){var e=[];return r.util.arrayEach(this.headersToSign(),(function(t){e.push(t.toLowerCase())})),e.sort().join(";")},canonicalHeaders:function(){var e=this.request.headers,t=[];return r.util.arrayEach(this.headersToSign(),(function(n){t.push(n.toLowerCase().trim()+":"+String(e[n]).trim())})),t.sort().join("\n")+"\n"},headersToSign:function(){var e=[];return r.util.each(this.request.headers,(function(t){("Host"===t||"Content-Encoding"===t||t.match(/^X-Amz/i))&&e.push(t)})),e},signature:function(e){return r.util.crypto.hmac(e.secretAccessKey,this.stringToSign(),"base64")},stringToSign:function(){var e=[];return e.push(this.request.method),e.push("/"),e.push(""),e.push(this.canonicalHeaders()),e.push(this.request.body),r.util.crypto.sha256(e.join("\n"))}}),e.exports=r.Signers.V3},(e,t,n)=>{var r=n(107),i=r.util.inherit;n(172),r.Signers.V3Https=i(r.Signers.V3,{authorization:function(e){return"AWS3-HTTPS AWSAccessKeyId="+e.accessKeyId+",Algorithm=HmacSHA256,Signature="+this.signature(e)},stringToSign:function(){return this.request.headers["X-Amz-Date"]}}),e.exports=r.Signers.V3Https},(e,t,n)=>{var r=n(107),i=n(175),o=r.util.inherit,a="presigned-expires";r.Signers.V4=o(r.Signers.RequestSigner,{constructor:function(e,t,n){r.Signers.RequestSigner.call(this,e),this.serviceName=t,n=n||{},this.signatureCache="boolean"!=typeof n.signatureCache||n.signatureCache,this.operation=n.operation,this.signatureVersion=n.signatureVersion},algorithm:"AWS4-HMAC-SHA256",addAuthorization:function(e,t){var n=r.util.date.iso8601(t).replace(/[:\-]|\.\d{3}/g,"");this.isPresigned()?this.updateForPresigned(e,n):this.addHeaders(e,n),this.request.headers.Authorization=this.authorization(e,n)},addHeaders:function(e,t){this.request.headers["X-Amz-Date"]=t,e.sessionToken&&(this.request.headers["x-amz-security-token"]=e.sessionToken)},updateForPresigned:function(e,t){var n=this.credentialString(t),i={"X-Amz-Date":t,"X-Amz-Algorithm":this.algorithm,"X-Amz-Credential":e.accessKeyId+"/"+n,"X-Amz-Expires":this.request.headers[a],"X-Amz-SignedHeaders":this.signedHeaders()};e.sessionToken&&(i["X-Amz-Security-Token"]=e.sessionToken),this.request.headers["Content-Type"]&&(i["Content-Type"]=this.request.headers["Content-Type"]),this.request.headers["Content-MD5"]&&(i["Content-MD5"]=this.request.headers["Content-MD5"]),this.request.headers["Cache-Control"]&&(i["Cache-Control"]=this.request.headers["Cache-Control"]),r.util.each.call(this,this.request.headers,(function(e,t){if(e!==a&&this.isSignableHeader(e)){var n=e.toLowerCase();0===n.indexOf("x-amz-meta-")?i[n]=t:0===n.indexOf("x-amz-")&&(i[e]=t)}}));var o=this.request.path.indexOf("?")>=0?"&":"?";this.request.path+=o+r.util.queryParamsToString(i)},authorization:function(e,t){var n=[],r=this.credentialString(t);return n.push(this.algorithm+" Credential="+e.accessKeyId+"/"+r),n.push("SignedHeaders="+this.signedHeaders()),n.push("Signature="+this.signature(e,t)),n.join(", ")},signature:function(e,t){var n=i.getSigningKey(e,t.substr(0,8),this.request.region,this.serviceName,this.signatureCache);return r.util.crypto.hmac(n,this.stringToSign(t),"hex")},stringToSign:function(e){var t=[];return t.push("AWS4-HMAC-SHA256"),t.push(e),t.push(this.credentialString(e)),t.push(this.hexEncodedHash(this.canonicalString())),t.join("\n")},canonicalString:function(){var e=[],t=this.request.pathname();return"s3"!==this.serviceName&&"s3v4"!==this.signatureVersion&&(t=r.util.uriEscapePath(t)),e.push(this.request.method),e.push(t),e.push(this.request.search()),e.push(this.canonicalHeaders()+"\n"),e.push(this.signedHeaders()),e.push(this.hexEncodedBodyHash()),e.join("\n")},canonicalHeaders:function(){var e=[];r.util.each.call(this,this.request.headers,(function(t,n){e.push([t,n])})),e.sort((function(e,t){return e[0].toLowerCase()<t[0].toLowerCase()?-1:1}));var t=[];return r.util.arrayEach.call(this,e,(function(e){var n=e[0].toLowerCase();if(this.isSignableHeader(n)){var i=e[1];if(null==i||"function"!=typeof i.toString)throw r.util.error(new Error("Header "+n+" contains invali
1d value"),{code:"InvalidHeader"});t.push(n+":"+this.canonicalHeaderValues(i.toString()))}})),t.join("\n")},canonicalHeaderValues:function(e){return e.replace(/\s+/g," ").replace(/^\s+|\s+$/g,"")},signedHeaders:function(){var e=[];return r.util.each.call(this,this.request.headers,(function(t){t=t.toLowerCase(),this.isSignableHeader(t)&&e.push(t)})),e.sort().join(";")},credentialString:function(e){return i.createScope(e.substr(0,8),this.request.region,this.serviceName)},hexEncodedHash:function(e){return r.util.crypto.sha256(e,"hex")},hexEncodedBodyHash:function(){var e=this.request;return this.isPresigned()&&["s3","s3-object-lambda"].indexOf(this.serviceName)>-1&&!e.body?"UNSIGNED-PAYLOAD":e.headers["X-Amz-Content-Sha256"]?e.headers["X-Amz-Content-Sha256"]:this.hexEncodedHash(this.request.body||"")},unsignableHeaders:["authorization","content-type","content-length","user-agent",a,"expect","x-amzn-trace-id"],isSignableHeader:function(e){return 0===e.toLowerCase().indexOf("x-amz-")||this.unsignableHeaders.indexOf(e)<0},isPresigned:function(){return!!this.request.headers[a]}}),e.exports=r.Signers.V4},(e,t,n)=>{var r=n(107),i={},o=[],a="aws4_request";e.exports={createScope:function(e,t,n){return[e.substr(0,8),t,n,a].join("/")},getSigningKey:function(e,t,n,s,u){var c=[r.util.crypto.hmac(e.secretAccessKey,e.accessKeyId,"base64"),t,n,s].join("_");if((u=!1!==u)&&c in i)return i[c];var l=r.util.crypto.hmac("AWS4"+e.secretAccessKey,t,"buffer"),f=r.util.crypto.hmac(l,n,"buffer"),p=r.util.crypto.hmac(f,s,"buffer"),d=r.util.crypto.hmac(p,a,"buffer");return u&&(i[c]=d,o.push(c),o.length>50&&delete i[o.shift()]),d},emptyCache:function(){i={},o=[]}}},(e,t,n)=>{var r=n(107),i=r.util.inherit;r.Signers.S3=i(r.Signers.RequestSigner,{subResources:{acl:1,accelerate:1,analytics:1,cors:1,lifecycle:1,delete:1,inventory:1,location:1,logging:1,metrics:1,notification:1,partNumber:1,policy:1,requestPayment:1,replication:1,restore:1,tagging:1,torrent:1,uploadId:1,uploads:1,versionId:1,versioning:1,versions:1,website:1},responseHeaders:{"response-content-type":1,"response-content-language":1,"response-expires":1,"response-cache-control":1,"response-content-disposition":1,"response-content-encoding":1},addAuthorization:function(e,t){this.request.headers["presigned-expires"]||(this.request.headers["X-Amz-Date"]=r.util.date.rfc822(t)),e.sessionToken&&(this.request.headers["x-amz-security-token"]=e.sessionToken);var n=this.sign(e.secretAccessKey,this.stringToSign()),i="AWS "+e.accessKeyId+":"+n;this.request.headers.Authorization=i},stringToSign:function(){var e=this.request,t=[];t.push(e.method),t.push(e.headers["Content-MD5"]||""),t.push(e.headers["Content-Type"]||""),t.push(e.headers["presigned-expires"]||"");var n=this.canonicalizedAmzHeaders();return n&&t.push(n),t.push(this.canonicalizedResource()),t.join("\n")},canonicalizedAmzHeaders:function(){var e=[];r.util.each(this.request.headers,(function(t){t.match(/^x-amz-/i)&&e.push(t)})),e.sort((function(e,t){return e.toLowerCase()<t.toLowerCase()?-1:1}));var t=[];return r.util.arrayEach.call(this,e,(function(e){t.push(e.toLowerCase()+":"+String(this.request.headers[e]))})),t.join("\n")},canonicalizedResource:function(){var e=this.request,t=e.path.split("?"),n=t[0],i=t[1],o="";if(e.virtualHostedBucket&&(o+="/"+e.virtualHostedBucket),o+=n,i){var a=[];r.util.arrayEach.call(this,i.split("&"),(function(e){var t=e.split("=")[0],n=e.split("=")[1];if(this.subResources[t]||this.responseHeaders[t]){var r={name:t};void 0!==n&&(this.subResources[t]?r.value=n:r.value=decodeURIComponent(n)),a.push(r)}})),a.sort((function(e,t){return e.name<t.name?-1:1})),a.length&&(i=[],r.util.arrayEach(a,(function(e){void 0===e.value?i.push(e.name):i.push(e.name+"="+e.value)})),o+="?"+i.join("&"))}return o},sign:function(e,t){return r.util.crypto.hmac(e,t,"base64","sha1")}}),e.exports=r.Signers.S3},(e,t,n)=>{var r=n(107),i=r.util.inherit,o="presigned-expires";function a(e){var t=e.httpRequest.headers[o],n=e.service.getSignerClass(e);if(delete e.httpRequest.headers["User-Agent"],delete e.httpRequest.headers["X-Amz-User-Agent"],n===r.Signers.V4){if(t>604800){throw r.util.error(new Error,{code:"InvalidExpiryTime",message:"Presigning does not support expiry time greater than a week with SigV4 signing.",retryable:!1})}e.httpRequest.headers[o]=t}else{if(n!==r.Signers.S3)throw r.util.error(new Error,{message:"Presigning only supports S3 or SigV4 signing.",code:"UnsupportedSigner",retryable:!1});
vendor: 4,170 bytes, line 1
1var i=e.service?e.service.getSkewCorrectedDate():r.util.date.getDate();e.httpRequest.headers[o]=parseInt(r.util.date.unixTimestamp(i)+t,10).toString()}}function s(e){var t=e.httpRequest.endpoint,n=r.util.urlParse(e.httpRequest.path),i={};n.search&&(i=r.util.queryStringParse(n.search.substr(1)));var a=e.httpRequest.headers.Authorization.split(" ");if("AWS"===a[0])a=a[1].split(":"),i.Signature=a.pop(),i.AWSAccessKeyId=a.join(":"),r.util.each(e.httpRequest.headers,(function(e,t){e===o&&(e="Expires"),0===e.indexOf("x-amz-meta-")&&(delete i[e],e=e.toLowerCase()),i[e]=t})),delete e.httpRequest.headers[o],delete i.Authorization,delete i.Host;else if("AWS4-HMAC-SHA256"===a[0]){a.shift();var s=a.join(" ").match(/Signature=(.*?)(?:,|\s|\r?\n|$)/)[1];i["X-Amz-Signature"]=s,delete i.Expires}t.pathname=n.pathname,t.search=r.util.queryParamsToString(i)}r.Signers.Presign=i({sign:function(e,t,n){if(e.httpRequest.headers[o]=t||3600,e.on("build",a),e.on("sign",s),e.removeListener("afterBuild",r.EventListeners.Core.SET_CONTENT_LENGTH),e.removeListener("afterBuild",r.EventListeners.Core.COMPUTE_SHA256),e.emit("beforePresign",[e]),!n){if(e.build(),e.response.error)throw e.response.error;return r.util.urlFormat(e.httpRequest.endpoint)}e.build((function(){this.response.error?n(this.response.error):n(null,r.util.urlFormat(e.httpRequest.endpoint))}))}}),e.exports=r.Signers.Presign},(e,t,n)=>{var r=n(107);r.Signers.Bearer=r.util.inherit(r.Signers.RequestSigner,{constructor:function(e){r.Signers.RequestSigner.call(this,e)},addAuthorization:function(e){this.request.headers.Authorization="Bearer "+e.token}})},(e,t,n)=>{var r=n(107);r.ParamValidator=r.util.inherit({constructor:function(e){!0!==e&&void 0!==e||(e={min:!0}),this.validation=e},validate:function(e,t,n){if(this.errors=[],this.validateMember(e,t||{},n||"params"),this.errors.length>1){var i=this.errors.join("\n* ");throw i="There were "+this.errors.length+" validation errors:\n* "+i,r.util.error(new Error(i),{code:"MultipleValidationErrors",errors:this.errors})}if(1===this.errors.length)throw this.errors[0];return!0},fail:function(e,t){this.errors.push(r.util.error(new Error(t),{code:e}))},validateStructure:function(e,t,n){if(e.isDocument)return!0;var r;this.validateType(t,n,["object"],"structure");for(var i=0;e.required&&i<e.required.length;i++){var o=t[r=e.required[i]];null==o&&this.fail("MissingRequiredParameter","Missing required key '"+r+"' in "+n)}for(r in t)if(Object.prototype.hasOwnProperty.call(t,r)){var a=t[r],s=e.members[r];if(void 0!==s){var u=[n,r].join(".");this.validateMember(s,a,u)}else null!=a&&this.fail("UnexpectedParameter","Unexpected key '"+r+"' found in "+n)}return!0},validateMember:function(e,t,n){switch(e.type){case"structure":return this.validateStructure(e,t,n);case"list":return this.validateList(e,t,n);case"map":return this.validateMap(e,t,n);default:return this.validateScalar(e,t,n)}},validateList:function(e,t,n){if(this.validateType(t,n,[Array])){this.validateRange(e,t.length,n,"list member count");for(var r=0;r<t.length;r++)this.validateMember(e.member,t[r],n+"["+r+"]")}},validateMap:function(e,t,n){if(this.validateType(t,n,["object"],"map")){var r=0;for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(this.validateMember(e.key,i,n+"[key='"+i+"']"),this.validateMember(e.value,t[i],n+"['"+i+"']"),r++);this.validateRange(e,r,n,"map member count")}},validateScalar:function(e,t,n){switch(e.type){case null:case void 0:case"string":return this.validateString(e,t,n);case"base64":case"binary":return this.validatePayload(t,n);case"integer":case"float":return this.validateNumber(e,t,n);case"boolean":return this.validateType(t,n,["boolean"]);case"timestamp":return this.validateType(t,n,[Date,/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d+)?Z$/,"number"],"Date object, ISO-8601 string, or a UNIX timestamp");default:return this.fail("UnkownType","Unhandled type "+e.type+" for "+n)}},validateString:function(e,t,n){var r=["string"];e.isJsonValue&&(r=r.concat(["number","object","boolean"])),null!==t&&this.validateType(t,n,r)&&(this.validateEnum(e,t,n),this.validateRange(e,t.length,n,"string length"),this.validatePattern(e,t,n),this.validateUri(e,t,n
vendor: 18,104 bytes, lines 1-7
1))},validateUri:function(e,t,n){"uri"===e.location&&0===t.length&&this.fail("UriParameterError",'Expected uri parameter to have length >= 1, but found "'+t+'" for '+n)},validatePattern:function(e,t,n){this.validation.pattern&&void 0!==e.pattern&&(new RegExp(e.pattern).test(t)||this.fail("PatternMatchError",'Provided value "'+t+'" does not match regex pattern /'+e.pattern+"/ for "+n))},validateRange:function(e,t,n,r){this.validation.min&&void 0!==e.min&&t<e.min&&this.fail("MinRangeError","Expected "+r+" >= "+e.min+", but found "+t+" for "+n),this.validation.max&&void 0!==e.max&&t>e.max&&this.fail("MaxRangeError","Expected "+r+" <= "+e.max+", but found "+t+" for "+n)},validateEnum:function(e,t,n){this.validation.enum&&void 0!==e.enum&&-1===e.enum.indexOf(t)&&this.fail("EnumError","Found string value of "+t+", but expected "+e.enum.join("|")+" for "+n)},validateType:function(e,t,n,i){if(null==e)return!1;for(var o=!1,a=0;a<n.length;a++){if("string"==typeof n[a]){if(typeof e===n[a])return!0}else if(n[a]instanceof RegExp){if((e||"").toString().match(n[a]))return!0}else{if(e instanceof n[a])return!0;if(r.util.isType(e,n[a]))return!0;i||o||(n=n.slice()),n[a]=r.util.typeName(n[a])}o=!0}var s=i;s||(s=n.join(", ").replace(/,([^,]+)$/,", or$1"));var u=s.match(/^[aeiou]/i)?"n":"";return this.fail("InvalidParameterType","Expected "+t+" to be a"+u+" "+s),!1},validateNumber:function(e,t,n){if(null!=t){if("string"==typeof t){var r=parseFloat(t);r.toString()===t&&(t=r)}this.validateType(t,n,["number"])&&this.validateRange(e,t,n,"numeric value")}},validatePayload:function(e,t){if(null!=e&&"string"!=typeof e&&(!e||"number"!=typeof e.byteLength)){if(r.util.isNode()){var n=r.util.stream.Stream;if(r.util.Buffer.isBuffer(e)||e instanceof n)return}else if(void 0!==typeof Blob&&e instanceof Blob)return;var i=["Buffer","Stream","File","Blob","ArrayBuffer","DataView"];if(e)for(var o=0;o<i.length;o++){if(r.util.isType(e,i[o]))return;if(r.util.typeName(e.constructor)===i[o])return}this.fail("InvalidParameterType","Expected "+t+" to be a string, Buffer, Stream, Blob, or typed array object")}}})},e=>{var t=["We are formalizing our plans to enter AWS SDK for JavaScript (v2) into maintenance mode in 2023.\n","Please migrate your code to use AWS SDK for JavaScript (v3).","For more information, check the migration guide at https://a.co/7PzMCcy"].join("\n");e.exports={suppress:!1},setTimeout((function(){e.exports.suppress||"undefined"!=typeof process&&("object"==typeof process.env&&void 0!==process.env.AWS_EXECUTION_ENV&&0===process.env.AWS_EXECUTION_ENV.indexOf("AWS_Lambda_")||"object"==typeof process.env&&void 0!==process.env.AWS_SDK_JS_SUPPRESS_MAINTENANCE_MODE_MESSAGE||"function"==typeof process.emitWarning&&process.emitWarning(t,{type:"NOTE"}))}),0)},,(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"v1",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(t,"v3",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"v4",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"v5",{enumerable:!0,get:function(){return a.default}});var r=s(n(183)),i=s(n(186)),o=s(n(189)),a=s(n(190));function s(e){return e&&e.__esModule?e:{default:e}}},(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i,o=s(n(184)),a=s(n(185));function s(e){return e&&e.__esModule?e:{default:e}}var u=0,c=0;var l=function(e,t,n){var s=t&&n||0,l=t||[],f=(e=e||{}).node||r,p=void 0!==e.clockseq?e.clockseq:i;if(null==f||null==p){var d=e.random||(e.rng||o.default)();null==f&&(f=r=[1|d[0],d[1],d[2],d[3],d[4],d[5]]),null==p&&(p=i=16383&(d[6]<<8|d[7]))}var h=void 0!==e.msecs?e.msecs:(new Date).getTime(),m=void 0!==e.nsecs?e.nsecs:c+1,y=h-u+(m-c)/1e4;if(y<0&&void 0===e.clockseq&&(p=p+1&16383),(y<0||h>u)&&void 0===e.nsecs&&(m=0),m>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");u=h,c=m,i=p;var g=(1e4*(268435455&(h+=122192928e5))+m)%4294967296;l[s++]=g>>>24&255,l[s++]=g>>>16&255,l[s++]=g>>>8&255,l[s++]=255&g;var v=h/4294967296*1e4&268435455;l[s++]=v>>>8&255,l[s++]=255&v,l[s++]=v>>>24&15|16,l[s++]=v>>>16&255,l[s++]=p>>>8|128,l[s++]=255&p;for(var b=0;b<6;++b)l[s+b]=f[b];return t||(0,a.default)(l)};t.default=l},(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){if(!n)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return n(r)};var n="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto),r=new Uint8Array(16)},(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;for(var n=[],r=0;r<256;++r)n[r]=(r+256).toString(16).substr(1);var i=function(e,t){var r=t||0,i=n;return[i[e[r++]],i[e[r++]],i[e[r++]],i[e[r++]],"-",i[e[r++]],i[e[r++]],"-",i[e[r++]],i[e[r++]],"-",i[e[r++]],i[e[r++]],"-",i[e[r++]],i[e[r++]],i[e[r++]],i[e[r++]],i[e[r++]],i[e[r++]]].join("")};t.default=i},(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n(187)),i=o(n(188));function o(e){return e&&e.__esModule?e:{default:e}}var a=(0,r.default)("v3",48,i.default);t.default=a},(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var r=function(e,r,o,a){var s=o&&a||0;if("string"==typeof e&&(e=function(e){e=unescape(encodeURIComponent(e));for(var t=new Array(e.length),n=0;n<e.length;n++)t[n]=e.charCodeAt(n);return t}(e)),"string"==typeof r&&(r=function(e){var t=[];return e.replace(/[a-fA-F0-9]{2}/g,(function(e){t.push(parseInt(e,16))})),t}(r)),!Array.isArray(e))throw TypeError("value must be an array of bytes");if(!Array.isArray(r)||16!==r.length)throw TypeError("namespace must be uuid string or an Array of 16 byte values");var u=n(r.concat(e));if(u[6]=15&u[6]|t,u[8]=63&u[8]|128,o)for(var c=0;c<16;++c)o[s+c]=u[c];return o||(0,i.default)(u)};try{r.name=e}catch(e){}return r.DNS=o,r.URL=a,r},t.URL=t.DNS=void 0;var r,i=(r=n(185))&&r.__esModule?r:{default:r};const o="6ba7b810-9dad-11d1-80b4-00c04fd430c8";t.DNS=o;const a="6ba7b811-9dad-11d1-80b4-00c04fd430c8";t.URL=a},(e,t)=>{"use strict";function n(e,t){var n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n}function r(e,t,r,i,o,a){return n((s=n(n(t,e),n(i,a)))<<(u=o)|s>>>32-u,r);var s,u}function i(e,t,n,i,o,a,s){return r(t&n|~t&i,e,t,o,a,s)}function o(e,t,n,i,o,a,s){return r(t&i|n&~i,e,t,o,a,s)}function a(e,t,n,i,o,a,s){return r(t^n^i,e,t,o,a,s)}function s(e,t,n,i,o,a,s){return r(n^(t|~i),e,t,o,a,s)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var u=function(e){if("string"==typeof e){var t=unescape(encodeURIComponent(e));e=new Array(t.length);for(var r=0;r<t.length;r++)e[r]=t.charCodeAt(r)}return function(e){var t,n,r,i=[],o=32*e.length,a="0123456789abcdef";for(t=0;t<o;t+=8)n=e[t>>5]>>>t%32&255,r=parseInt(a.charAt(n>>>4&15)+a.charAt(15&n),16),i.push(r);return i}(function(e,t){var r,u,c,l,f;e[t>>5]|=128<<t%32,e[14+(t+64>>>9<<4)]=t;var p=1732584193,d=-271733879,h=-1732584194,m=271733878;for(r=0;r<e.length;r+=16)u=p,c=d,l=h,f=m,p=i(p,d,h,m,e[r],7,-680876936),m=i(m,p,d,h,e[r+1],12,-389564586),h=i(h,m,p,d,e[r+2],17,606105819),d=i(d,h,m,p,e[r+3],22,-1044525330),p=i(p,d,h,m,e[r+4],7,-176418897),m=i(m,p,d,h,e[r+5],12,1200080426),h=i(h,m,p,d,e[r+6],17,-1473231341),d=i(d,h,m,p,e[r+7],22,-45705983),p=i(p,d,h,m,e[r+8],7,1770035416),m=i(m,p,d,h,e[r+9],12,-1958414417),h=i(h,m,p,d,e[r+10],17,-42063),d=i(d,h,m,p,e[r+11],22,-1990404162),p=i(p,d,h,m,e[r+12],7,1804603682),m=i(m,p,d,h,e[r+13],12,-40341101),h=i(h,m,p,d,e[r+14],17,-1502002290),p=o(p,d=i(d,h,m,p,e[r+15],22,1236535329),h,m,e[r+1],5,-165796510),m=o(m,p,d,h,e[r+6],9,-1069501632),h=o(h,m,p,d,e[r+11],14,643717713),d=o(d,h,m,p,e[r],20,-373897302),p=o(p,d,h,m,e[r+5],5,-701558691),m=o(m,p,d,h,e[r+10],9,38016083),h=o(h,m,p,d,e[r+15],14,-660478335),d=o(d,h,m,p,e[r+4],20,-405537848),p=o(p,d,h,m,e[r+9],5,568446438),m=o(m,p,d,h,e[r+14],9,-1019803690),h=o(h,m,p,d,e[r+3],14,-187363961),d=o(d,h,m,p,e[r+8],20,1163531501),p=o(p,d,h,m,e[r+13],5,-1444681467),m=o(m,p,d,h,e[r+2],9,-51403784),h=o(h,m,p,d,e[r+7],14,1735328473),p=a(p,d=o(d,h,m,p,e[r+12],20,-1926607734),h,m,e[r+5],4,-378558),m=a(m,p,d,h,e[r+8],11,-2022574463),h=a(h,m,p,d,e[r+11],16,1839030562),d=a(d,h,m,p,e[r+14],23,-35309556),p=a(p,d,h,m,e[r+1],4,-1530992060),m=a(m,p,d,h,e[r+4],11,1272893353),h=a(h,m,p,d,e[r+7],16,-155497632),d=a(d,h,m,p,e[r+10],23,-1094730640),p=a(p,d,h,m,e[r+13],4,681279174),m=a(m,p,d,h,e[r],11,-358537222),h=a(h,m,p,d,e[r+3],16,-722521979),d=a(d,h,m,p,e[r+6],23,76029189),p=a(p,d,h,m,e[r+9],4,-640364487),m=a(m,p,d,h,e[r+12],11,-421815835),h=a(h,m,p,d,e[r+15],16,530742520),p=s(p,d=a(d,h,m,p,e[r+2],23,-995338651),h,m,e[r],6,-198630844),m=s(m,p,d,h,e[r+7],10,1126891415),h=s(h,m,p,d,e[r+14],15,-1416354905),d=s(d,h,m,p,e[r+5],21,-57434055),p=s(p,d,h,m,e[r+12],6,1700485571),m=s(m,p,d,h,e[r+3],10,-1894986606),h=s(h,m,p,d,e[r+10],15,-1051523),d=s(d,h,m,p,e[r+1],21,-2054922799),p=s(p,d,h,m,e[r+8],6,1873313359),m=s(m,p,d,h,e[r+15],10,-30611744),h=s(h,m,p,d,e[r+6],15,-1560198380),d=s(d,h,m,p,e[r+13],21,1309151649),p=s(p,d,h,m,e[r+4],6,-145523070),m=s(m,p,d,h,e[r+11],10,-1120210379),h=s(h,m,p,d,e[r+2],15,718787259),d=s(d,h,m,p,e[r+9],21,-343485551),p=n(p,u),d=n(d,c),h=n(h,l),m=n(m,f);return[p,d,h,m]}(function(e){var t,n=[];for(n[(e.length>>2)-1]=void 0,t=0;t<n.length;t+=1)n[t]=0;var r=8*e.length;for(t=0;t<r;t+=8)n[t>>5]|=(255&e[t/8])<<t%32;return n}(e),8*e.length))};t.default=u},(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n(184)),i=o(n(185));function o(e){return e&&e.__esModule?e:{default:e}}var a=function(e,t,n){var o=t&&n||0;"string"==typeof e&&(t="binary"===e?new Array(16):null,e=null);var a=(e=e||{}).random||(e.rng||r.default)();if(a[6]=15&a[6]|64,a[8]=63&a[8]|128,t)for(var s=0;s<16;++s)t[o+s]=a[s];return t||(0,i.default)(a)};t.default=a},(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n(187)),i=o(n(191));function o(e){return e&&e.__esModule?e:{default:e}}var a=(0,r.default)("v5",80,i.default);t.default=a},(e,t)=>{"use strict";function n(e,t,n,r){switch(e){case 0:return t&n^~t&r;case 1:case 3:return t^n^r;case 2:return t&n^t&r^n&r}}function r(e,t){return e<<t|e>>>32-t}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=function(e){var t=[1518500249,1859775393,2400959708,3395469782],i=[1732584193,4023233417,2562383102,271733878,3285377520];if("string"==typeof e){var o=unescape(encodeURIComponent(e));e=new Array(o.length);for(var a=0;a<o.length;a++)e[a]=o.charCodeAt(a)}e.push(128);var s=e.length/4+2,u=Math.ceil(s/16),c=new Array(u);for(a=0;a<u;a++){c[a]=new Array(16);for(var l=0;l<16;l++)c[a][l]=e[64*a+4*l]<<24|e[64*a+4*l+1]<<16|e[64*a+4*l+2]<<8|e[64*a+4*l+3]}for(c[u-1][14]=8*(e.length-1)/Math.pow(2,32),c[u-1][14]=Math.floor(c[u-1][14]),c[u-1][15]=8*(e.length-1)&4294967295,a=0;a<u;a++){for(var f=new Array(80),p=0;p<16;p++)f[p]=c[a][p];for(p=16;p<80;p++)f[p]=r(f[p-3]^f[p-8]^f[p-14]^f[p-16],1);var d=i[0],h=i[1],m=i[2],y=i[3],g=i[4];for(p=0;p<80;p++){var v=Math.floor(p/20),b=r(d,5)+n(v,h,m,y)+g+t[v]+f[p]>>>0;g=y,y=m,m=r(h,30)>>>0,h=d,d=b}i[0]=i[0]+d>>>0,i[1]=i[1]+h>>>0,i[2]=i[2]+m>>>0,i[3]=i[3]+y>>>0,i[4]=i[4]+g>>>0}return[i[0]>>24&255,i[0]>>16&255,i[0]>>8&255,255&i[0],i[1]>>24&255,i[1]>>16&255,i[1]>>8&255,255&i[1],i[2]>>24&255,i[2]>>16&255,i[2]>>8&255,255&i[2],i[3]>>24&255,i[3]>>16&255,i[3]>>8&255,255&i[3],i[4]>>24&255,i[4]>>16&255,i[4]>>8&255,255&i[4]]};t.default=i},(e,t,n)=>{var r=n(193),i=n(199),o=n(200),a=n(201);e.exports={createHash:function(e){if("md5"===(e=e.toLowerCase()))return new i;if("sha256"===e)return new a;if("sha1"===e)return new o;throw new Error("Hash algorithm "+e+" is not supported in the browser SDK")},createHmac:function(e,t){if("md5"===(e=e.toLowerCase()))return new r(i,t);if("sha256"===e)return new r(a,t);if("sha1"===e)return new r(o,t);throw new Error("HMAC algorithm "+e+" is not supported in the browser SDK")},createSign:function(){throw new Error("createSign is not implemented in the browser")}}},(e,t,n)=>{var r=n(194);function i(e,t){this.hash=new e,this.outer=new e;var n=function(e,t){var n=r.convertToBuffer(t);if(n.byteLength>e.BLOCK_SIZE){var i=new e;i.update(n),n=i.digest()}var o=new Uint8Array(e.BLOCK_SIZE);return o.set(n),o}(e,t),i=new Uint8Array(e.BLOCK_SIZE);i.set(n);for(var o=0;o<e.BLOCK_SIZE;o++)n[o]^=54,i[o]^=92;this.hash.update(n),this.outer.update(i);for(o=0;o<n.byteLength;o++)n[o]=0}e.exports=i,i.prototype.update=function(e){if(r.isEmptyData(e)||this.error)return this;try{this.hash.update(r.convertToBuffer(e))}catch(e){this.error=e}return this},i.prototype.digest=function(e){return this.outer.finished||this.outer.update(this.hash.digest()),this.outer.digest(e)}},(e,t,n)=>{var r=n(195).Buffer;"undefined"!=typeof ArrayBuffer&&void 0===ArrayBuffer.isView&&(ArrayBuffer.isView=function(e){return i.indexOf(Object.prototype.toString.call(e))>-1});var i=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]","[object DataView]"];e.exports={isEmptyData:function(e){return"string"==typeof e?0===e.length:0===e.byteLength},convertToBuffer:function(e){return"string"==typeof e&&(e=new r(e,"utf8")),ArrayBuffer.isView(e)?new Uint8Array(e.buffer,e.byteOffset,e.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(e)}}},(e,t,n)=>{"use strict";
2/*!
3 * The buffer module from node.js, for the browser.
4 *
5 * @author   Feross Aboukhadijeh <http://feross.org>
6 * @license  MIT
7 */var r=n(196),i=n(197),o=n(198);function a(){return u.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function s(e,t){if(a()<t)throw new RangeError("Invalid typed array length");return u.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=u.prototype:(null===e&&(e=new u(t)),e.length=t),e}function u(e,t,n){if(!(u.TYPED_ARRAY_SUPPORT||this instanceof u))return new u(e,t,n);if("number"==typeof e){if("string"==typeof t)throw new Error("If encoding is specified then the first argument must be a string");return f(this,e)}return c(this,e,t,n)}function c(e,t,n,r){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer?function(e,t,n,r){if(t.byteLength,n<0||t.byteLength<n)throw new RangeError("'offset' is out of bounds");if(t.byteLength<n+(r||0))throw new RangeError("'length' is out of bounds");t=void 0===n&&void 0===r?new Uint8Array(t):void 0===r?new Uint8Array(t,n):new Uint8Array(t,n,r);u.TYPED_ARRAY_SUPPORT?(e=t).__proto__=u.prototype:e=p(e,t);return e}(e,t,n,r):"string"==typeof t?function(e,t,n){"string"==typeof n&&""!==n||(n="utf8");if(!u.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var r=0|h(t,n);e=s(e,r);var i=e.write(t,n);i!==r&&(e=e.slice(0,i));return e}(e,t,n):function(e,t){if(u.isBuffer(t)){var n=0|d(t.length);return 0===(e=s(e,n)).length||t.copy(e,0,0,n),e}if(t){if("undefined"!=typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!=typeof t.length||(r=t.length)!=r?s(e,0):p(e,t);if("Buffer"===t.type&&o(t.data))return p(e,t.data)}var r;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}function l(e){if("number"!=typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function f(e,t){if(l(t),e=s(e,t<0?0:0|d(t)),!u.TYPED_ARRAY_SUPPORT)for(var n=0;n<t;++n)e[n]=0;return e}function p(e,t){var n=t.length<0?0:0|d(t.length);e=s(e,n);for(var r=0;r<n;r+=1)e[r]=255&t[r];return e}function d(e){if(e>=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|e}function h(e,t){if(u.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return q(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return G(e).length;default:if(r)return q(e).length;t=(""+t).toLowerCase(),r=!0}}function m(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return A(this,t,n);case"utf8":case"utf-8":return x(this,t,n);case"ascii":return R(this,t,n);case"latin1":case"binary":return N(this,t,n);case"base64":return O(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return I(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function y(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function g(e,t,n,r,i){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}else if(n<0){if(!i)return-1;n=0}if("string"==typeof t&&(t=u.from(t,r)),u.isBuffer(t))return 0===t.length?-1:v(e,t,n,r,i);if("number"==typeof t)return t&=255,u.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):v(e,[t],n,r,i);throw new TypeError("val must be string, number or Buffer")}function v(e,t,n,r,i){var o,a=1,s=e.length,u=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;a=2,s/=2,u/=2,n/=2}function c(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(i){var l=-1;for(o=n;o<s;
vendor: 14,543 bytes, line 7
7o++)if(c(e,o)===c(t,-1===l?0:o-l)){if(-1===l&&(l=o),o-l+1===u)return l*a}else-1!==l&&(o-=o-l),l=-1}else for(n+u>s&&(n=s-u),o=n;o>=0;o--){for(var f=!0,p=0;p<u;p++)if(c(e,o+p)!==c(t,p)){f=!1;break}if(f)return o}return-1}function b(e,t,n,r){n=Number(n)||0;var i=e.length-n;r?(r=Number(r))>i&&(r=i):r=i;var o=t.length;if(o%2!=0)throw new TypeError("Invalid hex string");r>o/2&&(r=o/2);for(var a=0;a<r;++a){var s=parseInt(t.substr(2*a,2),16);if(isNaN(s))return a;e[n+a]=s}return a}function _(e,t,n,r){return V(q(t,e.length-n),e,n,r)}function E(e,t,n,r){return V(function(e){for(var t=[],n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}(t),e,n,r)}function S(e,t,n,r){return E(e,t,n,r)}function w(e,t,n,r){return V(G(t),e,n,r)}function T(e,t,n,r){return V(function(e,t){for(var n,r,i,o=[],a=0;a<e.length&&!((t-=2)<0);++a)r=(n=e.charCodeAt(a))>>8,i=n%256,o.push(i),o.push(r);return o}(t,e.length-n),e,n,r)}function O(e,t,n){return 0===t&&n===e.length?r.fromByteArray(e):r.fromByteArray(e.slice(t,n))}function x(e,t,n){n=Math.min(e.length,n);for(var r=[],i=t;i<n;){var o,a,s,u,c=e[i],l=null,f=c>239?4:c>223?3:c>191?2:1;if(i+f<=n)switch(f){case 1:c<128&&(l=c);break;case 2:128==(192&(o=e[i+1]))&&(u=(31&c)<<6|63&o)>127&&(l=u);break;case 3:o=e[i+1],a=e[i+2],128==(192&o)&&128==(192&a)&&(u=(15&c)<<12|(63&o)<<6|63&a)>2047&&(u<55296||u>57343)&&(l=u);break;case 4:o=e[i+1],a=e[i+2],s=e[i+3],128==(192&o)&&128==(192&a)&&128==(192&s)&&(u=(15&c)<<18|(63&o)<<12|(63&a)<<6|63&s)>65535&&u<1114112&&(l=u)}null===l?(l=65533,f=1):l>65535&&(l-=65536,r.push(l>>>10&1023|55296),l=56320|1023&l),r.push(l),i+=f}return function(e){var t=e.length;if(t<=k)return String.fromCharCode.apply(String,e);var n="",r=0;for(;r<t;)n+=String.fromCharCode.apply(String,e.slice(r,r+=k));return n}(r)}t.Buffer=u,t.SlowBuffer=function(e){+e!=e&&(e=0);return u.alloc(+e)},t.INSPECT_MAX_BYTES=50,u.TYPED_ARRAY_SUPPORT=void 0!==n.g.TYPED_ARRAY_SUPPORT?n.g.TYPED_ARRAY_SUPPORT:function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"==typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(e){return!1}}(),t.kMaxLength=a(),u.poolSize=8192,u._augment=function(e){return e.__proto__=u.prototype,e},u.from=function(e,t,n){return c(null,e,t,n)},u.TYPED_ARRAY_SUPPORT&&(u.prototype.__proto__=Uint8Array.prototype,u.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&u[Symbol.species]===u&&Object.defineProperty(u,Symbol.species,{value:null,configurable:!0})),u.alloc=function(e,t,n){return function(e,t,n,r){return l(t),t<=0?s(e,t):void 0!==n?"string"==typeof r?s(e,t).fill(n,r):s(e,t).fill(n):s(e,t)}(null,e,t,n)},u.allocUnsafe=function(e){return f(null,e)},u.allocUnsafeSlow=function(e){return f(null,e)},u.isBuffer=function(e){return!(null==e||!e._isBuffer)},u.compare=function(e,t){if(!u.isBuffer(e)||!u.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var n=e.length,r=t.length,i=0,o=Math.min(n,r);i<o;++i)if(e[i]!==t[i]){n=e[i],r=t[i];break}return n<r?-1:r<n?1:0},u.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},u.concat=function(e,t){if(!o(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return u.alloc(0);var n;if(void 0===t)for(t=0,n=0;n<e.length;++n)t+=e[n].length;var r=u.allocUnsafe(t),i=0;for(n=0;n<e.length;++n){var a=e[n];if(!u.isBuffer(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(r,i),i+=a.length}return r},u.byteLength=h,u.prototype._isBuffer=!0,u.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)y(this,t,t+1);return this},u.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)y(this,t,t+3),y(this,t+1,t+2);return this},u.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)y(this,t,t+7),y(this,t+1,t+6),y(this,t+2,t+5),y(this,t+3,t+4);return this},u.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?x(this,0,e):m.apply(this,arguments)},u.prototype.equals=function(e){if(!u.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===u.compare(this,e)},u.prototype.inspect=function(){var e="",n=t.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(e+=" ... ")),"<Buffer "+e+">"},u.prototype.compare=function(e,t,n,r,i){if(!u.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return-1;if(t>=n)return 1;if(this===e)return 0;for(var o=(i>>>=0)-(r>>>=0),a=(n>>>=0)-(t>>>=0),s=Math.min(o,a),c=this.slice(r,i),l=e.slice(t,n),f=0;f<s;++f)if(c[f]!==l[f]){o=c[f],a=l[f];break}return o<a?-1:a<o?1:0},u.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},u.prototype.indexOf=function(e,t,n){return g(this,e,t,n,!0)},u.prototype.lastIndexOf=function(e,t,n){return g(this,e,t,n,!1)},u.prototype.write=function(e,t,n,r){if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)r=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(n)?(n|=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var i=this.length-t;if((void 0===n||n>i)&&(n=i),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o=!1;;)switch(r){case"hex":return b(this,e,t,n);case"utf8":case"utf-8":return _(this,e,t,n);case"ascii":return E(this,e,t,n);case"latin1":case"binary":return S(this,e,t,n);case"base64":return w(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return T(this,e,t,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var k=4096;function R(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;i<n;++i)r+=String.fromCharCode(127&e[i]);return r}function N(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;i<n;++i)r+=String.fromCharCode(e[i]);return r}function A(e,t,n){var r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);for(var i="",o=t;o<n;++o)i+=B(e[o]);return i}function I(e,t,n){for(var r=e.slice(t,n),i="",o=0;o<r.length;o+=2)i+=String.fromCharCode(r[o]+256*r[o+1]);return i}function D(e,t,n){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function C(e,t,n,r,i,o){if(!u.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<o)throw new RangeError('"value" argument is out of bounds');if(n+r>e.length)throw new RangeError("Index out of range")}function P(e,t,n,r){t<0&&(t=65535+t+1);for(var i=0,o=Math.min(e.length-n,2);i<o;++i)e[n+i]=(t&255<<8*(r?i:1-i))>>>8*(r?i:1-i)}function L(e,t,n,r){t<0&&(t=4294967295+t+1);for(var i=0,o=Math.min(e.length-n,4);i<o;++i)e[n+i]=t>>>8*(r?i:3-i)&255}function M(e,t,n,r,i,o){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function j(e,t,n,r,o){return o||M(e,0,n,4),i.write(e,t,n,r,23,4),n+4}function F(e,t,n,r,o){return o||M(e,0,n,8),i.write(e,t,n,r,52,8),n+8}u.prototype.slice=function(e,t){var n,r=this.length;if((e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=void 0===t?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e),u.TYPED_ARRAY_SUPPORT)(n=this.subarray(e,t)).__proto__=u.prototype;else{var i=t-e;n=new u(i,void 0);for(var o=0;o<i;++o)n[o]=this[o+e]}return n},u.prototype.readUIntLE=function(e,t,n){e|=0,t|=0,n||D(e,t,this.length);for(var r=this[e],i=1,o=0;++o<t&&(i*=256);)r+=this[e+o]*i;return r},u.prototype.readUIntBE=function(e,t,n){e|=0,t|=0,n||D(e,t,this.length);for(var r=this[e+--t],i=1;t>0&&(i*=256);)r+=this[e+--t]*i;return r},u.prototype.readUInt8=function(e,t){return t||D(e,1,this.length),this[e]},u.prototype.readUInt16LE=function(e,t){return t||D(e,2,this.length),this[e]|this[e+1]<<8},u.prototype.readUInt16BE=function(e,t){return t||D(e,2,this.length),this[e]<<8|this[e+1]},u.prototype.readUInt32LE=function(e,t){return t||D(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},u.prototype.readUInt32BE=function(e,t){return t||D(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},u.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||D(e,t,this.length);for(var r=this[e],i=1,o=0;++o<t&&(i*=256);)r+=this[e+o]*i;return r>=(i*=128)&&(r-=Math.pow(2,8*t)),r},u.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||D(e,t,this.length);for(var r=t,i=1,o=this[e+--r];r>0&&(i*=256);)o+=this[e+--r]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*t)),o},u.prototype.readInt8=function(e,t){return t||D(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},u.prototype.readInt16LE=function(e,t){t||D(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},u.prototype.readInt16BE=function(e,t){t||D(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},u.prototype.readInt32LE=function(e,t){return t||D(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},u.prototype.readInt32BE=function(e,t){return t||D(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},u.prototype.readFloatLE=function(e,t){return t||D(e,4,this.length),i.read(this,e,!0,23,4)},u.prototype.readFloatBE=function(e,t){return t||D(e,4,this.length),i.read(this,e,!1,23,4)},u.prototype.readDoubleLE=function(e,t){return t||D(e,8,this.length),i.read(this,e,!0,52,8)},u.prototype.readDoubleBE=function(e,t){return t||D(e,8,this.length),i.read(this,e,!1,52,8)},u.prototype.writeUIntLE=function(e,t,n,r){(e=+e,t|=0,n|=0,r)||C(this,e,t,n,Math.pow(2,8*n)-1,0);var i=1,o=0;for(this[t]=255&e;++o<n&&(i*=256);)this[t+o]=e/i&255;return t+n},u.prototype.writeUIntBE=function(e,t,n,r){(e=+e,t|=0,n|=0,r)||C(this,e,t,n,Math.pow(2,8*n)-1,0);var i=n-1,o=1;for(this[t+i]=255&e;--i>=0&&(o*=256);)this[t+i]=e/o&255;return t+n},u.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||C(this,e,t,1,255,0),u.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},u.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||C(this,e,t,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):P(this,e,t,!0),t+2},u.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||C(this,e,t,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):P(this,e,t,!1),t+2},u.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||C(this,e,t,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):L(this,e,t,!0),t+4},u.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||C(this,e,t,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):L(this,e,t,!1),t+4},u.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);C(this,e,t,n,i-1,-i)}var o=0,a=1,s=0;for(this[t]=255&e;++o<n&&(a*=256);)e<0&&0===s&&0!==this[t+o-1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+n},u.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);C(this,e,t,n,i-1,-i)}var o=n-1,a=1,s=0;for(this[t+o]=255&e;--o>=0&&(a*=256);)e<0&&0===s&&0!==this[t+o+1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+n},u.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||C(this,e,t,1,127,-128),u.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},u.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||C(this,e,t,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):P(this,e,t,!0),t+2},u.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||C(this,e,t,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):P(this,e,t,!1),t+2},u.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||C(this,e,t,4,2147483647,-2147483648),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):L(this,e,t,!0),t+4},u.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||C(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):L(this,e,t,!1),t+4},u.prototype.writeFloatLE=function(e,t,n){return j(this,e,t,!0,n)},u.prototype.writeFloatBE=function(e,t,n){return j(this,e,t,!1,n)},u.prototype.writeDoubleLE=function(e,t,n){return F(this,e,t,!0,n)},u.prototype.writeDoubleBE=function(e,t,n){return F(this,e,t,!1,n)},u.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);var i,o=r-n;if(this===e&&n<t&&t<r)for(i=o-1;i>=0;--i)e[i+t]=this[i+n];else if(o<1e3||!u.TYPED_ARRAY_SUPPORT)for(i=0;i<o;++i)e[i+t]=this[i+n];else Uint8Array.prototype.set.call(e,this.subarray(n,n+o),t);return o},u.prototype.fill=function(e,t,n,r){if("string"==typeof e){if("string"==typeof t?(r=t,t=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),1===e.length){var i=e.charCodeAt(0);i<256&&(e=i)}if(void 0!==r&&"string"!=typeof r)throw new TypeError("encoding must be a string");if("string"==typeof r&&!u.isEncoding(r))throw new TypeError("Unknown encoding: "+r)}else"number"==typeof e&&(e&=255);if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;var o;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(o=t;o<n;++o)this[o]=e;else{var a=u.isBuffer(e)?e:q(new u(e,r).toString()),s=a.length;for(o=0;o<n-t;++o)this[o+t]=a[o%s]}return this};var U=/[^+\/0-9A-Za-z-_]/g;function B(e){return e<16?"0"+e.toString(16):e.toString(16)}function q(e,t){var n;t=t||1/0;for(var r=e.length,i=null,o=[],a=0;a<r;++a){if((n=e.charCodeAt(a))>55295&&n<57344){if(!i){if(n>56319){(t-=3)>
vendor: 6,008 bytes, lines 7-9
7-1&&o.push(239,191,189);continue}if(a+1===r){(t-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;o.push(n)}else if(n<2048){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function G(e){return r.toByteArray(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(U,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function V(e,t,n,r){for(var i=0;i<r&&!(i+n>=t.length||i>=e.length);++i)t[i+n]=e[i];return i}},(e,t)=>{"use strict";t.byteLength=function(e){var t=s(e),n=t[0],r=t[1];return 3*(n+r)/4-r},t.toByteArray=function(e){var t,n,o=s(e),a=o[0],u=o[1],c=new i(function(e,t,n){return 3*(t+n)/4-n}(0,a,u)),l=0,f=u>0?a-4:a;for(n=0;n<f;n+=4)t=r[e.charCodeAt(n)]<<18|r[e.charCodeAt(n+1)]<<12|r[e.charCodeAt(n+2)]<<6|r[e.charCodeAt(n+3)],c[l++]=t>>16&255,c[l++]=t>>8&255,c[l++]=255&t;2===u&&(t=r[e.charCodeAt(n)]<<2|r[e.charCodeAt(n+1)]>>4,c[l++]=255&t);1===u&&(t=r[e.charCodeAt(n)]<<10|r[e.charCodeAt(n+1)]<<4|r[e.charCodeAt(n+2)]>>2,c[l++]=t>>8&255,c[l++]=255&t);return c},t.fromByteArray=function(e){for(var t,r=e.length,i=r%3,o=[],a=16383,s=0,c=r-i;s<c;s+=a)o.push(u(e,s,s+a>c?c:s+a));1===i?(t=e[r-1],o.push(n[t>>2]+n[t<<4&63]+"==")):2===i&&(t=(e[r-2]<<8)+e[r-1],o.push(n[t>>10]+n[t>>4&63]+n[t<<2&63]+"="));return o.join("")};for(var n=[],r=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0;a<64;++a)n[a]=o[a],r[o.charCodeAt(a)]=a;function s(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function u(e,t,r){for(var i,o,a=[],s=t;s<r;s+=3)i=(e[s]<<16&16711680)+(e[s+1]<<8&65280)+(255&e[s+2]),a.push(n[(o=i)>>18&63]+n[o>>12&63]+n[o>>6&63]+n[63&o]);return a.join("")}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},(e,t)=>{
8/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
9t.read=function(e,t,n,r,i){var o,a,s=8*i-r-1,u=(1<<s)-1,c=u>>1,l=-7,f=n?i-1:0,p=n?-1:1,d=e[t+f];for(f+=p,o=d&(1<<-l)-1,d>>=-l,l+=s;l>0;o=256*o+e[t+f],f+=p,l-=8);for(a=o&(1<<-l)-1,o>>=-l,l+=r;l>0;a=256*a+e[t+f],f+=p,l-=8);if(0===o)o=1-c;else{if(o===u)return a?NaN:1/0*(d?-1:1);a+=Math.pow(2,r),o-=c}return(d?-1:1)*a*Math.pow(2,o-r)},t.write=function(e,t,n,r,i,o){var a,s,u,c=8*o-i-1,l=(1<<c)-1,f=l>>1,p=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,d=r?0:o-1,h=r?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=l):(a=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-a))<1&&(a--,u*=2),(t+=a+f>=1?p/u:p*Math.pow(2,1-f))*u>=2&&(a++,u/=2),a+f>=l?(s=0,a=l):a+f>=1?(s=(t*u-1)*Math.pow(2,i),a+=f):(s=t*Math.pow(2,f-1)*Math.pow(2,i),a=0));i>=8;e[n+d]=255&s,d+=h,s/=256,i-=8);for(a=a<<i|s,c+=i;c>0;e[n+d]=255&a,d+=h,a/=256,c-=8);e[n+d-h]|=128*m}},e=>{var t={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==t.call(e)}},(e,t,n)=>{var r=n(194),i=n(195).Buffer,o=64;function a(){this.state=[1732584193,4023233417,2562383102,271733878],this.buffer=new DataView(new ArrayBuffer(o)),this.bufferLength=0,this.bytesHashed=0,this.finished=!1}function s(e,t,n,r,i,o){return((t=(t+e&4294967295)+(r+o&4294967295)&4294967295)<<i|t>>>32-i)+n&4294967295}function u(e,t,n,r,i,o,a){return s(t&n|~t&r,e,t,i,o,a)}function c(e,t,n,r,i,o,a){return s(t&r|n&~r,e,t,i,o,a)}function l(e,t,n,r,i,o,a){return s(t^n^r,e,t,i,o,a)}function f(e,t,n,r,i,o,a){return s(n^(t|~r),e,t,i,o,a)}e.exports=a,a.BLOCK_SIZE=o,a.prototype.update=function(e){if(r.isEmptyData(e))return this;if(this.finished)throw new Error("Attempted to update an already finished hash.");var t=r.convertToBuffer(e),n=0,i=t.byteLength;for(this.bytesHashed+=i;i>0;)this.buffer.setUint8(this.bufferLength++,t[n++]),i--,this.bufferLength===o&&(this.hashBuffer(),this.bufferLength=0);return this},a.prototype.digest=function(e){if(!this.finished){var t=this,n=t.buffer,r=t.bufferLength,a=8*t.bytesHashed;if(n.setUint8(this.bufferLength++,128),r%o>=56){for(var s=this.bufferLength;s<o;s++)n.setUint8(s,0);this.hashBuffer(),this.bufferLength=0}for(s=this.bufferLength;s<56;s++)n.setUint8(s,0);n.setUint32(56,a>>>0,!0),n.setUint32(60,Math.floor(a/4294967296),!0),this.hashBuffer(),this.finished=!0}var u=new DataView(new ArrayBuffer(16));for(s=0;s<4;s++)u.setUint32(4*s,this.state[s],!0);var c=new i(u.buffer,u.byteOffset,u.byteLength);return e?c.toString(e):c},a.prototype.hashBuffer=function(){var e=this.buffer,t=this.state,n=t[0],r=t[1],i=t[2],o=t[3];n=u(n,r,i,o,e.getUint32(0,!0),7,3614090360),o=u(o,n,r,i,e.getUint32(4,!0),12,3905402710),i=u(i,o,n,r,e.getUint32(8,!0),17,606105819),r=u(r,i,o,n,e.getUint32(12,!0),22,3250441966),n=u(n,r,i,o,e.getUint32(16,!0),7,4118548399),o=u(o,n,r,i,e.getUint32(20,!0),12,1200080426),i=u(i,o,n,r,e.getUint32(24,!0),17,2821735955),r=u(r,i,o,n,e.getUint32(28,!0),22,4249261313),n=u(n,r,i,o,e.getUint32(32,!0),7,1770035416),o=u(o,n,r,i,e.getUint32(36,!0),12,2336552879),i=u(i,o,n,r,e.getUint32(40,!0),17,4294925233),r=u(r,i,o,n,e.getUint32(44,!0),22,2304563134),n=u(n,r,i,o,e.getUint32(48,!0),7,1804603682),o=u(o,n,r,i,e.getUint32(52,!0),12,4254626195),i=u(i,o,n,r,e.getUint32(56,!0),17,2792965006),n=c(n,r=u(r,i,o,n,e.getUint32(60,!0),22,1236535329),i,o,e.getUint32(4,!0),5,4129170786),o=c(o,n,r,i,e.getUint32(24,!0),9,3225465664),i=c(i,o,n,r,e.getUint32(44,!0),14,643717713),r=c(r,i,o,n,e.getUint32(0,!0),20,3921069994),n=c(n,r,i,o,e.getUint32(20,!0),5,3593408605),o=c(o,n,r,i,e.getUint32(40,!0),9,38016083),i=c(i,o,n,r,e.getUint32(60,!0),14,3634488961),r=c(r,i,o,n,e.getUint32(16,!0),20,3889429448),n=c(n,r,i,o,e.getUint32(36,!0),5,568446438),o=c(o,n,r,i,e.getUint32(56,!0),9,327
vendor: 10,619 bytes, line 9
95163606),i=c(i,o,n,r,e.getUint32(12,!0),14,4107603335),r=c(r,i,o,n,e.getUint32(32,!0),20,1163531501),n=c(n,r,i,o,e.getUint32(52,!0),5,2850285829),o=c(o,n,r,i,e.getUint32(8,!0),9,4243563512),i=c(i,o,n,r,e.getUint32(28,!0),14,1735328473),n=l(n,r=c(r,i,o,n,e.getUint32(48,!0),20,2368359562),i,o,e.getUint32(20,!0),4,4294588738),o=l(o,n,r,i,e.getUint32(32,!0),11,2272392833),i=l(i,o,n,r,e.getUint32(44,!0),16,1839030562),r=l(r,i,o,n,e.getUint32(56,!0),23,4259657740),n=l(n,r,i,o,e.getUint32(4,!0),4,2763975236),o=l(o,n,r,i,e.getUint32(16,!0),11,1272893353),i=l(i,o,n,r,e.getUint32(28,!0),16,4139469664),r=l(r,i,o,n,e.getUint32(40,!0),23,3200236656),n=l(n,r,i,o,e.getUint32(52,!0),4,681279174),o=l(o,n,r,i,e.getUint32(0,!0),11,3936430074),i=l(i,o,n,r,e.getUint32(12,!0),16,3572445317),r=l(r,i,o,n,e.getUint32(24,!0),23,76029189),n=l(n,r,i,o,e.getUint32(36,!0),4,3654602809),o=l(o,n,r,i,e.getUint32(48,!0),11,3873151461),i=l(i,o,n,r,e.getUint32(60,!0),16,530742520),n=f(n,r=l(r,i,o,n,e.getUint32(8,!0),23,3299628645),i,o,e.getUint32(0,!0),6,4096336452),o=f(o,n,r,i,e.getUint32(28,!0),10,1126891415),i=f(i,o,n,r,e.getUint32(56,!0),15,2878612391),r=f(r,i,o,n,e.getUint32(20,!0),21,4237533241),n=f(n,r,i,o,e.getUint32(48,!0),6,1700485571),o=f(o,n,r,i,e.getUint32(12,!0),10,2399980690),i=f(i,o,n,r,e.getUint32(40,!0),15,4293915773),r=f(r,i,o,n,e.getUint32(4,!0),21,2240044497),n=f(n,r,i,o,e.getUint32(32,!0),6,1873313359),o=f(o,n,r,i,e.getUint32(60,!0),10,4264355552),i=f(i,o,n,r,e.getUint32(24,!0),15,2734768916),r=f(r,i,o,n,e.getUint32(52,!0),21,1309151649),n=f(n,r,i,o,e.getUint32(16,!0),6,4149444226),o=f(o,n,r,i,e.getUint32(44,!0),10,3174756917),i=f(i,o,n,r,e.getUint32(8,!0),15,718787259),r=f(r,i,o,n,e.getUint32(36,!0),21,3951481745),t[0]=n+t[0]&4294967295,t[1]=r+t[1]&4294967295,t[2]=i+t[2]&4294967295,t[3]=o+t[3]&4294967295}},(e,t,n)=>{var r=n(195).Buffer,i=n(194);new Uint32Array([1518500249,1859775393,-1894007588,-899497514]),Math.pow(2,53);function o(){this.h0=1732584193,this.h1=4023233417,this.h2=2562383102,this.h3=271733878,this.h4=3285377520,this.block=new Uint32Array(80),this.offset=0,this.shift=24,this.totalLength=0}e.exports=o,o.BLOCK_SIZE=64,o.prototype.update=function(e){if(this.finished)throw new Error("Attempted to update an already finished hash.");if(i.isEmptyData(e))return this;var t=(e=i.convertToBuffer(e)).length;this.totalLength+=8*t;for(var n=0;n<t;n++)this.write(e[n]);return this},o.prototype.write=function(e){this.block[this.offset]|=(255&e)<<this.shift,this.shift?this.shift-=8:(this.offset++,this.shift=24),16===this.offset&&this.processBlock()},o.prototype.digest=function(e){this.write(128),(this.offset>14||14===this.offset&&this.shift<24)&&this.processBlock(),this.offset=14,this.shift=24,this.write(0),this.write(0),this.write(this.totalLength>0xffffffffff?this.totalLength/1099511627776:0),this.write(this.totalLength>4294967295?this.totalLength/4294967296:0);for(var t=24;t>=0;t-=8)this.write(this.totalLength>>t);var n=new r(20),i=new DataView(n.buffer);return i.setUint32(0,this.h0,!1),i.setUint32(4,this.h1,!1),i.setUint32(8,this.h2,!1),i.setUint32(12,this.h3,!1),i.setUint32(16,this.h4,!1),e?n.toString(e):n},o.prototype.processBlock=function(){for(var e=16;e<80;e++){var t=this.block[e-3]^this.block[e-8]^this.block[e-14]^this.block[e-16];this.block[e]=t<<1|t>>>31}var n,r,i=this.h0,o=this.h1,a=this.h2,s=this.h3,u=this.h4;for(e=0;e<80;e++){e<20?(n=s^o&(a^s),r=1518500249):e<40?(n=o^a^s,r=1859775393):e<60?(n=o&a|s&(o|a),r=2400959708):(n=o^a^s,r=3395469782);var c=(i<<5|i>>>27)+n+u+r+(0|this.block[e]);u=s,s=a,a=o<<30|o>>>2,o=i,i=c}for(this.h0=this.h0+i|0,this.h1=this.h1+o|0,this.h2=this.h2+a|0,this.h3=this.h3+s|0,this.h4=this.h4+u|0,this.offset=0,e=0;e<16;e++)this.block[e]=0}},(e,t,n)=>{var r=n(195).Buffer,i=n(194),o=64,a=new Uint32Array([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]),s=Math.pow(2,53)-1;function u(){this.state=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.temp=new Int32Array(64),this.buffer=new Uint8Array(64),this.bufferLength=0,this.bytesHashed=0,this.finished=!1}e.exports=u,u.BLOCK_SIZE=o,u.prototype.update=function(e){if(this.finished)throw new Error("Attempted to update an already finished hash.");if(i.isEmptyData(e))return this;var t=0,n=(e=i.convertToBuffer(e)).byteLength;if(this.bytesHashed+=n,8*this.bytesHashed>s)throw new Error("Cannot hash more than 2^53 - 1 bits");for(;n>0;)this.buffer[this.bufferLength++]=e[t++],n--,this.bufferLength===o&&(this.hashBuffer(),this.bufferLength=0);return this},u.prototype.digest=function(e){if(!this.finished){var t=8*this.bytesHashed,n=new DataView(this.buffer.buffer,this.buffer.byteOffset,this.buffer.byteLength),i=this.bufferLength;if(n.setUint8(this.bufferLength++,128),i%o>=56){for(var a=this.bufferLength;a<o;a++)n.setUint8(a,0);this.hashBuffer(),this.bufferLength=0}for(a=this.bufferLength;a<56;a++)n.setUint8(a,0);n.setUint32(56,Math.floor(t/4294967296),!0),n.setUint32(60,t),this.hashBuffer(),this.finished=!0}var s=new r(32);for(a=0;a<8;a++)s[4*a]=this.state[a]>>>24&255,s[4*a+1]=this.state[a]>>>16&255,s[4*a+2]=this.state[a]>>>8&255,s[4*a+3]=this.state[a]>>>0&255;return e?s.toString(e):s},u.prototype.hashBuffer=function(){for(var e=this.buffer,t=this.state,n=t[0],r=t[1],i=t[2],s=t[3],u=t[4],c=t[5],l=t[6],f=t[7],p=0;p<o;p++){if(p<16)this.temp[p]=(255&e[4*p])<<24|(255&e[4*p+1])<<16|(255&e[4*p+2])<<8|255&e[4*p+3];else{var d=this.temp[p-2],h=(d>>>17|d<<15)^(d>>>19|d<<13)^d>>>10,m=((d=this.temp[p-15])>>>7|d<<25)^(d>>>18|d<<14)^d>>>3;this.temp[p]=(h+this.temp[p-7]|0)+(m+this.temp[p-16]|0)}var y=(((u>>>6|u<<26)^(u>>>11|u<<21)^(u>>>25|u<<7))+(u&c^~u&l)|0)+(f+(a[p]+this.temp[p]|0)|0)|0,g=((n>>>2|n<<30)^(n>>>13|n<<19)^(n>>>22|n<<10))+(n&r^n&i^r&i)|0;f=l,l=c,c=u,u=s+y|0,s=i,i=r,r=n,n=y+g|0}t[0]+=n,t[1]+=r,t[2]+=i,t[3]+=s,t[4]+=u,t[5]+=c,t[6]+=l,t[7]+=f}},(e,t,n)=>{var r=n(203);function i(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}t.parse=g,t.resolve=function(e,t){return g(e,!1,!0).resolve(t)},t.resolveObject=function(e,t){return e?g(e,!1,!0).resolveObject(t):t},t.format=function(e){v(e)&&(e=g(e));return e instanceof i?e.format():i.prototype.format.call(e)},t.Url=i;var o=/^([a-z0-9.+-]+:)/i,a=/:[0-9]*$/,s=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),u=["'"].concat(s),c=["%","/","?",";","#"].concat(u),l=["/","?","#"],f=/^[a-z0-9A-Z_-]{0,63}$/,p=/^([a-z0-9A-Z_-]{0,63})(.*)$/,d={javascript:!0,"javascript:":!0},h={javascript:!0,"javascript:":!0},m={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},y=n(204);function g(e,t,n){if(e&&b(e)&&e instanceof i)return e;var r=new i;return r.parse(e,t,n),r}function v(e){return"string"==typeof e}function b(e){return"object"==typeof e&&null!==e}function _(e){return null===e}i.prototype.parse=function(e,t,n){if(!v(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var i=e;i=i.trim();var a=o.exec(i);if(a){var s=(a=a[0]).toLowerCase();this.protocol=s,i=i.substr(a.length)}if(n||a||i.match(/^\/\/[^@\/]+@[^@\/]+/)){var g="//"===i.substr(0,2);!g||a&&h[a]||(i=i.substr(2),this.slashes=!0)}if(!h[a]&&(g||a&&!m[a])){for(var b,_,E=-1,S=0;S<l.length;S++){-1!==(w=i.indexOf(l[S]))&&(-1===E||w<E)&&(E=w)}-1!==(_=-1===E?i.lastIndexOf("@"):i.lastIndexOf("@",E))&&(b=i.slice(0,_),i=i.slice(_+1),this.auth=decodeURIComponent(b)),E=-1;for(S=0;S<c.length;S++){var w;-1!==(w=i.indexOf(c[S]))&&(-1===E||w<E)&&(E=w)}-1===E&&(E=i.length),this.host=i.slice(0,E),i=i.slice(E),this.parseHost(),this.hostname=this.hostname||"";var T="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!T)for(var O=this.hostname.split(/\./),x=(S=0,O.length);S<x;S++){var k=O[S];if(k&&!k.match(f)){for(var R="",N=0,A=k.length;N<A;N++)k.charCodeAt(N)>127?R+="x":R+=k[N];if(!R.match(f)){var I=O.slice(0,S),D=O.slice(S+1),C=k.match(p);C&&(I.push(C[1]),D.unshift(C[2])),D.length&&(i="/"+D.join(".")+i),this.hostname=I.join(".");break}}}if(this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),!T){var P=this.hostname.split("."),L=[];for(S=0;S<P.length;++S){var M=P[S];L.push(M.match(/[^A-Za-z0-9_-]/)?"xn--"+r.encode(M):M)}this.hostname=L.join(".")}var j=this.port?":"+this.port:"",F=this.hostname||"";this.host=F+j,this.href+=this.host,T&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==i[0]&&(i="/"+i))}if(!d[s])for(S=0,x=u.length;S<x;S++){var U=u[S],B=encodeURIComponent(U);B===U&&(B=escape(U)),i=i.split(U).join(B)}var q=i.indexOf("#");-1!==q&&(this.hash=i.substr(q),i=i.slice(0,q));var G=i.indexOf("?");if(-1!==G?(this.search=i.substr(G),this.query=i.substr(G+1),t&&(this.query=y.parse(this.query)),i=i.slice(0,G)):t&&(this.search="",this.query={}),i&&(this.pathname=i),m[s]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){j=this.pathname||"",M=this.search||"";this.path=j+M}return this.href=this.format(),this},i.prototype.format=function(){var e=this.auth||"";e&&(e=(e=encodeURIComponent(e)).replace(/%3A/i,":"),e+="@");var t=this.protocol||"",n=this.pathname||"",r=this.hash||"",i=!1,o="";this.host?i=e+this.host:this.hostname&&(i=e+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(i+=":"+this.port)),this.query&&b(this.query)&&Object.keys(this.query).length&&(o=y.stringify(this.query));var a=this.search||o&&"?"+o||"";return t&&":"!==t.substr(-1)&&(t+=":"),this.slashes||(!t||m[t])&&!1!==i?(i="//"+(i||""),n&&"/"!==n.charAt(0)&&(n="/"+n)):i||(i=""),r&&"#"!==r.charAt(0)&&(r="#"+r),a&&"?"!==a.charAt(0)&&(a="?"+a),t+i+(n=n.replace(/[?#]/g,(function(e){return encodeURIComponent(e)})))+(a=a.replace("#","%23"))+r},i.prototype.resolve=function(e){return this.resolveObject(g(e,!1,!0)).format()},i.prototype.resolveObject=function(e){if(v(e)){var t=new i;t.parse(e,!1,!0),e=t}var n=new i;
vendor: 5,067 bytes, line 9
9if(Object.keys(this).forEach((function(e){n[e]=this[e]}),this),n.hash=e.hash,""===e.href)return n.href=n.format(),n;if(e.slashes&&!e.protocol)return Object.keys(e).forEach((function(t){"protocol"!==t&&(n[t]=e[t])})),m[n.protocol]&&n.hostname&&!n.pathname&&(n.path=n.pathname="/"),n.href=n.format(),n;if(e.protocol&&e.protocol!==n.protocol){if(!m[e.protocol])return Object.keys(e).forEach((function(t){n[t]=e[t]})),n.href=n.format(),n;if(n.protocol=e.protocol,e.host||h[e.protocol])n.pathname=e.pathname;else{for(var r=(e.pathname||"").split("/");r.length&&!(e.host=r.shift()););e.host||(e.host=""),e.hostname||(e.hostname=""),""!==r[0]&&r.unshift(""),r.length<2&&r.unshift(""),n.pathname=r.join("/")}if(n.search=e.search,n.query=e.query,n.host=e.host||"",n.auth=e.auth,n.hostname=e.hostname||e.host,n.port=e.port,n.pathname||n.search){var o=n.pathname||"",a=n.search||"";n.path=o+a}return n.slashes=n.slashes||e.slashes,n.href=n.format(),n}var s=n.pathname&&"/"===n.pathname.charAt(0),u=e.host||e.pathname&&"/"===e.pathname.charAt(0),c=u||s||n.host&&e.pathname,l=c,f=n.pathname&&n.pathname.split("/")||[],p=(r=e.pathname&&e.pathname.split("/")||[],n.protocol&&!m[n.protocol]);if(p&&(n.hostname="",n.port=null,n.host&&(""===f[0]?f[0]=n.host:f.unshift(n.host)),n.host="",e.protocol&&(e.hostname=null,e.port=null,e.host&&(""===r[0]?r[0]=e.host:r.unshift(e.host)),e.host=null),c=c&&(""===r[0]||""===f[0])),u)n.host=e.host||""===e.host?e.host:n.host,n.hostname=e.hostname||""===e.hostname?e.hostname:n.hostname,n.search=e.search,n.query=e.query,f=r;else if(r.length)f||(f=[]),f.pop(),f=f.concat(r),n.search=e.search,n.query=e.query;else if(null!=e.search){if(p)n.hostname=n.host=f.shift(),(E=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=E.shift(),n.host=n.hostname=E.shift());return n.search=e.search,n.query=e.query,_(n.pathname)&&_(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n}if(!f.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var d=f.slice(-1)[0],y=(n.host||e.host)&&("."===d||".."===d)||""===d,g=0,b=f.length;b>=0;b--)"."==(d=f[b])?f.splice(b,1):".."===d?(f.splice(b,1),g++):g&&(f.splice(b,1),g--);if(!c&&!l)for(;g--;g)f.unshift("..");!c||""===f[0]||f[0]&&"/"===f[0].charAt(0)||f.unshift(""),y&&"/"!==f.join("/").substr(-1)&&f.push("");var E,S=""===f[0]||f[0]&&"/"===f[0].charAt(0);p&&(n.hostname=n.host=S?"":f.length?f.shift():"",(E=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=E.shift(),n.host=n.hostname=E.shift()));return(c=c||n.host&&f.length)&&!S&&f.unshift(""),f.length?n.pathname=f.join("/"):(n.pathname=null,n.path=null),_(n.pathname)&&_(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=e.auth||n.auth,n.slashes=n.slashes||e.slashes,n.href=n.format(),n},i.prototype.parseHost=function(){var e=this.host,t=a.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},function(e,t,n){var r;/*! https://mths.be/punycode v1.3.2 by @mathias */e=n.nmd(e),function(i){t&&t.nodeType,e&&e.nodeType;var o="object"==typeof n.g&&n.g;o.global!==o&&o.window!==o&&o.self;var a,s=2147483647,u=36,c=1,l=26,f=38,p=700,d=72,h=128,m="-",y=/^xn--/,g=/[^\x20-\x7E]/,v=/[\x2E\u3002\uFF0E\uFF61]/g,b={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},_=u-c,E=Math.floor,S=String.fromCharCode;function w(e){throw RangeError(b[e])}function T(e,t){for(var n=e.length,r=[];n--;)r[n]=t(e[n]);return r}function O(e,t){var n=e.split("@"),r="";return n.length>1&&(r=n[0]+"@",e=n[1]),r+T((e=e.replace(v,".")).split("."),t).join(".")}function x(e){for(var t,n,r=[],i=0,o=e.length;i<o;)(t=e.charCodeAt(i++))>=55296&&t<=56319&&i<o?56320==(64512&(n=e.charCodeAt(i++)))?r.push(((1023&t)<<10)+(1023&n)+65536):(r.push(t),i--):r.push(t);return r}function k(e){return T(e,(function(e){var t="";return e>65535&&(t+=S((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=S(e)})).join("")}function R(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function N(e,t,n){var r=0;for(e=n?E(e/p):e>>1,e+=E(e/t);e>_*l>>1;r+=u)e=E(e/_);return E(r+(_+1)*e/(e+f))}function A(e){var t,n,r,i,o,a,f,p,y,g,v,b=[],_=e.length,S=0,T=h,O=d;for((n=e.lastIndexOf(m))<0&&(n=0),r=0;r<n;++r)e.charCodeAt(r)>=128&&w("not-basic"),b.push(e.charCodeAt(r));for(i=n>0?n+1:0;i<_;){for(o=S,a=1,f=u;i>=_&&w("invalid-input"),((p=(v=e.charCodeAt(i++))-48<10?v-22:v-65<26?v-65:v-97<26?v-97:u)>=u||p>E((s-S)/a))&&w("overflow"),S+=p*a,!(p<(y=f<=O?c:f>=O+l?l:f-O));f+=u)a>E(s/(g=u-y))&&w("overflow"),a*=g;O=N(S-o,t=b.length+1,0==o),E(S/t)>s-T&&w("overflow"),T+=E(S/t),S%=t,b.splice(S++,0,T)}return k(b)}function I(e){var t,n,r,i,o,a,f,p,y,g,v,b,_,T,O,k=[];for(b=(e=x(e)).length,t=h,n=0,o=d,a=0;a<b;++a)(v=e[a])<128&&k.push(S(v));for(r=i=k.length,i&&k.push(m);r<b;){for(f=s,a=0;a<b;++a)(v=e[a])>=t&&v<f&&(f=v);for(f-t>E((s-n)/(_=r+1))&&w("overflow"),n+=(f-t)*_,t=f,a=0;a<b;++a)if((v=e[a])<t&&++n>s&&w("overflow"),v==t){for(p=n,y=u;!(p<(g=y<=o?c:y>
vendor: 13,475 bytes, line 9
9=o+l?l:y-o));y+=u)O=p-g,T=u-g,k.push(S(R(g+O%T,0))),p=E(O/T);k.push(S(R(p,0))),o=N(n,_,r==i),n=0,++r}++n,++t}return k.join("")}a={version:"1.3.2",ucs2:{decode:x,encode:k},decode:A,encode:I,toASCII:function(e){return O(e,(function(e){return g.test(e)?"xn--"+I(e):e}))},toUnicode:function(e){return O(e,(function(e){return y.test(e)?A(e.slice(4).toLowerCase()):e}))}},void 0===(r=function(){return a}.call(t,n,t,e))||(e.exports=r)}()},(e,t,n)=>{"use strict";t.decode=t.parse=n(205),t.encode=t.stringify=n(206)},e=>{"use strict";function t(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e,n,r,i){n=n||"&",r=r||"=";var o={};if("string"!=typeof e||0===e.length)return o;var a=/\+/g;e=e.split(n);var s=1e3;i&&"number"==typeof i.maxKeys&&(s=i.maxKeys);var u=e.length;s>0&&u>s&&(u=s);for(var c=0;c<u;++c){var l,f,p,d,h=e[c].replace(a,"%20"),m=h.indexOf(r);m>=0?(l=h.substr(0,m),f=h.substr(m+1)):(l=h,f=""),p=decodeURIComponent(l),d=decodeURIComponent(f),t(o,p)?Array.isArray(o[p])?o[p].push(d):o[p]=[o[p],d]:o[p]=d}return o}},e=>{"use strict";var t=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,n,r,i){return n=n||"&",r=r||"=",null===e&&(e=void 0),"object"==typeof e?Object.keys(e).map((function(i){var o=encodeURIComponent(t(i))+r;return Array.isArray(e[i])?e[i].map((function(e){return o+encodeURIComponent(t(e))})).join(n):o+encodeURIComponent(t(e[i]))})).join(n):i?encodeURIComponent(t(i))+r+encodeURIComponent(t(e)):""}},e=>{e.exports={now:function(){return"undefined"!=typeof performance&&"function"==typeof performance.now?performance.now():Date.now()}}},(e,t,n)=>{var r=n(209).eventMessageChunker,i=n(210).parseEvent;e.exports={createEventStream:function(e,t,n){for(var o=r(e),a=[],s=0;s<o.length;s++)a.push(i(t,o[s],n));return a}}},e=>{e.exports={eventMessageChunker:function(e){for(var t=[],n=0;n<e.length;){var r=e.readInt32BE(n),i=e.slice(n,r+n);n+=r,t.push(i)}return t}}},(e,t,n)=>{var r=n(211).parseMessage;e.exports={parseEvent:function(e,t,n){var i=r(t),o=i.headers[":message-type"];if(o){if("error"===o.value)throw function(e){var t=e.headers[":error-code"],n=e.headers[":error-message"],r=new Error(n.value||n);return r.code=r.name=t.value||t,r}(i);if("event"!==o.value)return}var a=i.headers[":event-type"],s=n.members[a.value];if(s){var u={},c=s.eventPayloadMemberName;if(c){var l=s.members[c];"binary"===l.type?u[c]=i.body:u[c]=e.parse(i.body.toString(),l)}for(var f=s.eventHeaderMemberNames,p=0;p<f.length;p++){var d=f[p];i.headers[d]&&(u[d]=s.members[d].toType(i.headers[d].value))}var h={};return h[a.value]=u,h}}}},(e,t,n)=>{var r=n(212).Int64,i=n(213).splitMessage,o="boolean",a="byte",s="short",u="integer",c="long",l="binary",f="string",p="timestamp",d="uuid";function h(e){for(var t={},n=0;n<e.length;){var i=e.readUInt8(n++),h=e.slice(n,n+i).toString();switch(n+=i,e.readUInt8(n++)){case 0:t[h]={type:o,value:!0};break;case 1:t[h]={type:o,value:!1};break;case 2:t[h]={type:a,value:e.readInt8(n++)};break;case 3:t[h]={type:s,value:e.readInt16BE(n)},n+=2;break;case 4:t[h]={type:u,value:e.readInt32BE(n)},n+=4;break;case 5:t[h]={type:c,value:new r(e.slice(n,n+8))},n+=8;break;case 6:var m=e.readUInt16BE(n);n+=2,t[h]={type:l,value:e.slice(n,n+m)},n+=m;break;case 7:var y=e.readUInt16BE(n);n+=2,t[h]={type:f,value:e.slice(n,n+y).toString()},n+=y;break;case 8:t[h]={type:p,value:new Date(new r(e.slice(n,n+8)).valueOf())},n+=8;break;case 9:var g=e.slice(n,n+16).toString("hex");n+=16,t[h]={type:d,value:g.substr(0,8)+"-"+g.substr(8,4)+"-"+g.substr(12,4)+"-"+g.substr(16,4)+"-"+g.substr(20)};break;default:throw new Error("Unrecognized header type tag")}}return t}e.exports={parseMessage:function(e){var t=i(e);return{headers:h(t.headers),body:t.body}}}},(e,t,n)=>{var r=n(107).util,i=r.buffer.toBuffer;function o(e){if(8!==e.length)throw new Error("Int64 buffers must be exactly 8 bytes");r.Buffer.isBuffer(e)||(e=i(e)),this.bytes=e}function a(e){for(var t=0;t<8;t++)e[t]^=255;for(t=7;t>-1&&(e[t]++,0===e[t]);t--);}o.fromNumber=function(e){if(e>0x8000000000000000||e<-0x8000000000000000)throw new Error(e+" is too large (or, if negative, too small) to represent as an Int64");for(var t=new Uint8Array(8),n=7,r=Math.abs(Math.round(e));n>-1&&r>0;n--,r/=256)t[n]=r;return e<0&&a(t),new o(t)},o.prototype.valueOf=function(){var e=this.bytes.slice(0),t=128&e[0];return t&&a(e),parseInt(e.toString("hex"),16)*(t?-1:1)},o.prototype.toString=function(){return String(this.valueOf())},e.exports={Int64:o}},(e,t,n)=>{var r=n(107).util,i=r.buffer.toBuffer;e.exports={splitMessage:function(e){if(r.Buffer.isBuffer(e)||(e=i(e)),e.length<16)throw new Error("Provided message too short to accommodate event stream message overhead");if(e.length!==e.readUInt32BE(0))throw new Error("Reported message length does not match received message length");var t=e.readUInt32BE(8);if(t!==r.crypto.crc32(e.slice(0,8)))throw new Error("The prelude checksum specified in the message ("+t+") does not match the calculated CRC32 checksum.");var n=e.readUInt32BE(e.length-4);if(n!==r.crypto.crc32(e.slice(0,e.length-4)))throw new Error("The message checksum did not match the expected value of "+n);var o=12+e.readUInt32BE(4);return{headers:e.slice(12,o),body:e.slice(o,e.length-4)}}}},(e,t,n)=>{var r=n(107),i=n(215);r.TemporaryCredentials=r.util.inherit(r.Credentials,{constructor:function(e,t){r.Credentials.call(this),this.loadMasterCredentials(t),this.expired=!0,this.params=e||{},this.params.RoleArn&&(this.params.RoleSessionName=this.params.RoleSessionName||"temporary-credentials")},refresh:function(e){this.coalesceRefresh(e||r.util.fn.callback)},load:function(e){var t=this;t.createClients(),t.masterCredentials.get((function(){t.service.config.credentials=t.masterCredentials,(t.params.RoleArn?t.service.assumeRole:t.service.getSessionToken).call(t.service,(function(n,r){n||t.service.credentialsFrom(r,t),e(n)}))}))},loadMasterCredentials:function(e){for(this.masterCredentials=e||r.config.credentials;this.masterCredentials.masterCredentials;)this.masterCredentials=this.masterCredentials.masterCredentials;"function"!=typeof this.masterCredentials.get&&(this.masterCredentials=new r.Credentials(this.masterCredentials))},createClients:function(){this.service=this.service||new i({params:this.params})}})},(e,t,n)=>{n(105);var r=n(107),i=r.Service,o=r.apiLoader;o.services.sts={},r.STS=i.defineService("sts",["2011-06-15"]),n(216),Object.defineProperty(o.services.sts,"2011-06-15",{get:function(){var e=n(218);return e.paginators=n(219).pagination,e},enumerable:!0,configurable:!0}),e.exports=r.STS},(e,t,n)=>{var r=n(107),i=n(217);r.util.update(r.STS.prototype,{credentialsFrom:function(e,t){return e?(t||(t=new r.TemporaryCredentials),t.expired=!1,t.accessKeyId=e.Credentials.AccessKeyId,t.secretAccessKey=e.Credentials.SecretAccessKey,t.sessionToken=e.Credentials.SessionToken,t.expireTime=e.Credentials.Expiration,t):null},assumeRoleWithWebIdentity:function(e,t){return this.makeUnauthenticatedRequest("assumeRoleWithWebIdentity",e,t)},assumeRoleWithSAML:function(e,t){return this.makeUnauthenticatedRequest("assumeRoleWithSAML",e,t)},setupRequestListeners:function(e){e.addListener("validate",this.optInRegionalEndpoint,!0)},optInRegionalEndpoint:function(e){var t=e.service,n=t.config;if(n.stsRegionalEndpoints=i(t._originalConfig,{env:"AWS_STS_REGIONAL_ENDPOINTS",sharedConfig:"sts_regional_endpoints",clientConfig:"stsRegionalEndpoints"}),"regional"===n.stsRegionalEndpoints&&t.isGlobalEndpoint){if(!n.region)throw r.util.error(new Error,{code:"ConfigError",message:"Missing region in config"});var o=n.endpoint.indexOf(".amazonaws.com"),a=n.endpoint.substring(0,o)+"."+n.region+n.endpoint.substring(o);e.httpRequest.updateEndpoint(a),e.httpRequest.region=n.region}}})},(e,t,n)=>{var r=n(107);function i(e,t){if("string"==typeof e){if(["legacy","regional"].indexOf(e.toLowerCase())>=0)return e.toLowerCase();throw r.util.error(new Error,t)}}e.exports=function(e,t){var n;if((e=e||{})[t.clientConfig]&&(n=i(e[t.clientConfig],{code:"InvalidConfiguration",message:'invalid "'+t.clientConfig+'" configuration. Expect "legacy"  or "regional". Got "'+e[t.clientConfig]+'".'})))return n;if(!r.util.isNode())return n;if(Object.prototype.hasOwnProperty.call(process.env,t.env)&&(n=i(process.env[t.env],{code:"InvalidEnvironmentalVariable",message:"invalid "+t.env+' environmental variable. Expect "legacy"  or "regional". Got "'+process.env[t.env]+'".'})))return n;var o={};try{o=r.util.getProfilesFromSharedConfig(r.util.iniLoader)[process.env.AWS_PROFILE||r.util.defaultProfile]}catch(e){}return o&&Object.prototype.hasOwnProperty.call(o,t.sharedConfig)&&(n=i(o[t.sharedConfig],{code:"InvalidConfiguration",message:"invalid "+t.sharedConfig+' profile config. Expect "legacy"  or "regional". Got "'+o[t.sharedConfig]+'".'})),n}},e=>{"use strict";e.exports=JSON.parse('{"version":"2.0","metadata":{"apiVersion":"2011-06-15","endpointPrefix":"sts","globalEndpoint":"sts.amazonaws.com","protocol":"query","serviceAbbreviation":"AWS STS","serviceFullName":"AWS Security Token Service","serviceId":"STS","signatureVersion":"v4","uid":"sts-2011-06-15","xmlNamespace":"https://sts.amazonaws.com/doc/2011-06-15/"},"operations":{"AssumeRole":{"input":{"type":"structure","required":["RoleArn","RoleSessionName"],"members":{"RoleArn":{},"RoleSessionName":{},"PolicyArns":{"shape":"S4"},"Policy":{},"DurationSeconds":{"type":"integer"},"Tags":{"shape":"S8"},"TransitiveTagKeys":{"type":"list","member":{}},"ExternalId":{},"SerialNumber":{},"TokenCode":{},"SourceIdentity":{},"ProvidedContexts":{"type":"list","member":{"type":"structure","members":{"ProviderArn":{},"ContextAssertion":{}}}}}},"output":{"resultWrapper":"AssumeRoleResult","type":"structure","members":{"Credentials":{"shape":"Sl"},"AssumedRoleUser":{"shape":"Sq"},"PackedPolicySize":{"type":"integer"},"SourceIdentity":{}}}},"AssumeRoleWithSAML":{"input":{"type":"structure","required":["RoleArn","PrincipalArn","SAMLAssertion"],"members":{"RoleArn":{},"PrincipalArn":{},"SAMLAssertion":{"type":"string","sensitive":true},"PolicyArns":{"shape":"S4"},"Policy":{},"DurationSeconds":{"type":"integer"}}},"output":{"resultWrapper":"AssumeRoleWithSAMLResult","type":"structure","members":{"Credentials":{"shape":"Sl"},"AssumedRoleUser":{"shape":"Sq"},"PackedPolicySize":{"type":"integer"},"Subject":{},"SubjectType":{},"Issuer":{},"Audience":{},"NameQualifier":{},"SourceIdentity":{}}}},"AssumeRoleWithWebIdentity":{"input":{"type":"structure","required":["RoleArn","RoleSessionName","WebIdentityToken"],"members":{"RoleArn":{},"RoleSessionName":{},"WebIdentityToken":{"type":"string","sensitive":true},"ProviderId":{},"PolicyArns":{"shape":"S4"},"Policy":{},"DurationSeconds":{"type":"integer"}}},"output":{"resultWrapper":"AssumeRoleWithWebIdentityResult","type":"structure","members":{"Credentials":{"shape":"Sl"},"SubjectFromWebIdentityToken":{},"AssumedRoleUser":{"shape":"Sq"},"PackedPolicySize":{"type":"integer"},"Provider":{},"Audience":{},"SourceIdentity":{}}}},"DecodeAuthorizationMessage":{"input":{"type":"structure","required":["EncodedMessage"],"members":{"EncodedMessage":{}}},"output":{"resultWrapper":"DecodeAuthorizationMessageResult","type":"structure","members":{"DecodedMessage":{}}}},"GetAccessKeyInfo":{"input":{"type":"structure","required":["AccessKeyId"],"members":{"AccessKeyId":{}}},"output":{"resultWrapper":"GetAccessKeyInfoResult","type":"structure","members":{"Account":{}}}},"GetCallerIdentity":{"input":{"type":"structure","members":{}},"output":{"resultWrapper":"GetCallerIdentityResult","type":"structure","members":{"UserId":{},"Account":{},"Arn":{}}}},"GetFederationToken":{"input":{"type":"structure","required":["Name"],"members":{"Name":{},"Policy":{},"PolicyArns":{"shape":"S4"},"DurationSeconds":{"type":"integer"},"Tags":{"shape":"S8"}}},"output":{"resultWrapper":"GetFederationTokenResult","type":"structure","members":{"Credentials":{"shape":"Sl"},"FederatedUser":{"type":"structure","required":["FederatedUserId","Arn"],"members":{"FederatedUserId":{},"Arn":{}}},"PackedPolicySize":{"type":"integer"}}}},"GetSessionToken":{"input":{"type":"structure","members":{"DurationSeconds":{"type":"integer"},"SerialNumber":{},"TokenCode":{}}},"output":{"resultWrapper":"GetSessionTokenResult","type":"structure","members":{"Credentials":{"shape":"Sl"}}}}},"shapes":{"S4":{"type":"list","member":{"type":"structure","members":{"arn":{}}}},"S8":{"type":"list","member":{"type":"structure","required":["Key","Value"],"members":{"Key":{},"Value":{}}}},"Sl":{"type":"structure","required":["AccessKeyId","SecretAccessKey","SessionToken","Expiration"],"members":{"AccessKeyId":{},"SecretAccessKey":{"type":"string","sensitive":true},"SessionToken":{},"Expiration":{"type":"timestamp"}}},"Sq":{"type":"structure","required":["AssumedRoleId","Arn"],"members":{"AssumedRoleId":{},"Arn":{}}}}}')},e=>{"use strict";e.exports={pagination:{}}},(e,t,n)=>{var r=n(107),i=n(215);r.ChainableTemporaryCredentials=r.util.inherit(r.Credentials,{constructor:function(e){r.Credentials.call(this),e=e||{},this.errorCode="ChainableTemporaryCredentialsProviderFailure",this.expired=!0,this.tokenCodeFn=null;var t=r.util.copy(e.params)||{};if(t.RoleArn&&(t.RoleSessionName=t.RoleSessionName||"temporary-credentials"),t.SerialNumber){if(!e.tokenCodeFn||"function"!=typeof e.tokenCodeFn)throw new r.util.error(new Error("tokenCodeFn must be a function when params.Seri
9alNumber is given"),{code:this.errorCode});this.tokenCodeFn=e.tokenCodeFn}var n=r.util.merge({params:t,credentials:e.masterCredentials||r.config.credentials},e.stsConfig||{});this.service=new i(n)},refresh:function(e){this.coalesceRefresh(e||r.util.fn.callback)},load:function(e){var t=this,n=t.service.config.params.RoleArn?"assumeRole":"getSessionToken";this.getTokenCode((function(r,i){var o={};r?e(r):(i&&(o.TokenCode=i),t.service[n](o,(function(n,r){n||t.service.credentialsFrom(r,t),e(n)})))}))},getTokenCode:function(e){var t=this;this.tokenCodeFn?this.tokenCodeFn(this.service.config.params.SerialNumber,(function(n,i){if(n){var o=n;return n instanceof Error&&(o=n.message),void e(r.util.error(new Error("Error fetching MFA token: "+o),{code:t.errorCode}))}e(null,i)})):e(null)}})},(e,t,n)=>{var r=n(107),i=n(215);r.WebIdentityCredentials=r.util.inherit(r.Credentials,{constructor:function(e,t){r.Credentials.call(this),this.expired=!0,this.params=e,this.params.RoleSessionName=this.params.RoleSessionName||"web-identity",this.data=null,this._clientConfig=r.util.copy(t||{})},refresh:function(e){this.coalesceRefresh(e||r.util.fn.callback)},load:function(e){var t=this;t.createClients(),t.service.assumeRoleWithWebIdentity((function(n,r){t.data=null,n||(t.data=r,t.service.credentialsFrom(r,t)),e(n)}))},createClients:function(){if(!this.service){var e=r.util.merge({},this._clientConfig);e.params=this.params,this.service=new i(e)}}})},(e,t,n)=>{var r=n(107),i=n(223),o=n(215);r.CognitoIdentityCredentials=r.util.inherit(r.Credentials,{localStorageKey:{id:"aws.cognito.identity-id.",providers:"aws.cognito.identity-providers."},constructor:function(e,t){r.Credentials.call(this),this.expired=!0,this.params=e,this.data=null,this._identityId=null,this._clientConfig=r.util.copy(t||{}),this.loadCachedId();var n=this;Object.defineProperty(this,"identityId",{get:function(){return n.loadCachedId(),n._identityId||n.params.IdentityId},set:function(e){n._identityId=e}})},refresh:function(e){this.coalesceRefresh(e||r.util.fn.callback)},load:function(e){var t=this;t.createClients(),t.data=null,t._identityId=null,t.getId((function(n){n?(t.clearIdOnNotAuthorized(n),e(n)):t.params.RoleArn?t.getCredentialsFromSTS(e):t.getCredentialsForIdentity(e)}))},clearCachedId:function(){this._identityId=null,delete this.params.IdentityId;var e=this.params.IdentityPoolId,t=this.params.LoginId||"";delete this.storage[this.localStorageKey.id+e+t],delete this.storage[this.localStorageKey.providers+e+t]},clearIdOnNotAuthorized:function(e){"NotAuthorizedException"==e.code&&this.clearCachedId()},getId:function(e){var t=this;if("string"==typeof t.params.IdentityId)return e(null,t.params.IdentityId);t.cognito.getId((function(n,r){!n&&r.IdentityId?(t.params.IdentityId=r.IdentityId,e(null,r.IdentityId)):e(n)}))},loadCredentials:function(e,t){e&&t&&(t.expired=!1,t.accessKeyId=e.Credentials.AccessKeyId,t.secretAccessKey=e.Credentials.SecretKey,t.sessionToken=e.Credentials.SessionToken,t.expireTime=e.Credentials.Expiration)},getCredentialsForIdentity:function(e){var t=this;t.cognito.getCredentialsForIdentity((function(n,r){n?t.clearIdOnNotAuthorized(n):(t.cacheId(r),t.data=r,t.loadCredentials(t.data,t)),e(n)}))},getCredentialsFromSTS:function(e){var t=this;t.cognito.getOpenIdToken((function(n,r){n?(t.clearIdOnNotAuthorized(n),e(n)):(t.cacheId(r),t.params.WebIdentityToken=r.Token,t.webIdentityCredentials.refresh((function(n){n||(t.data=t.webIdentityCredentials.data,t.sts.credentialsFrom(t.data,t)),e(n)})))}))},loadCachedId:function(){var e=this;if(r.util.isBrowser()&&!e.params.IdentityId){var t=e.getStorage("id");if(t&&e.params.Logins){var n=Object.keys(e.params.Logins);0!==(e.getStorage("providers")||"").split(",").filter((function(e){return-1!==n.indexOf(e)})).length&&(e.params.IdentityId=t)}else t&&(e.params.IdentityId=t)}},createClients:function(){var e=this._clientConfig;if(this.webIdentityCredentials=this.webIdentityCredentials||new r.WebIdentityCredentials(this.params,e),!this.cognito){var t=r.util.merge({},e);t.params=this.params,this.cognito=new i(t)}this.sts=this.sts||new o(e)},cacheId:function(e){this._identityId=e.IdentityId,this.params.IdentityId=this._identityId,r.util.isBrowser()&&(this.setStorage("id",e.IdentityId),this.params.Logins&&this.setStorage("providers",Object.keys(this.params.Logins).join(",")))},getStorage:function(e){return this.storage[this.localStorageKey[e]+this.params.IdentityPoolId+(this.params.LoginId||"")]},setStorage:function(e,t){try{this.storage[this.localStorageKey[e]+this.params.IdentityPoolId+(this.params.LoginId||"")]=t}catch(e){}},storage:function(){try{var e=r.util.isBrowser()&&null!==window.localStorage&&"object"==typeof window.localStorage?window.localStorage:{};return e["aws.test-storage"]="foobar",delete e["aws.test-storage"],e}catch(e){return{}}}()})},(e,t,n)=>{n(105);var r=n(107),i=r.Service,o=r.apiLoader;o.services.cognitoidentity={},r.CognitoIdentity=i.defineService("cognitoidentity",["2014-06-30"]),Object.defineProperty(o.services.cognitoidentity,"2014-06-30",{get:function(){var e=n(224);return e.paginators=n(225).pagination,e},enumerable:!0,configurable:!0}),e.exports=r.CognitoIdentity},e=>{"use strict";e.exports=JSON.parse('{"version":"2.0","metadata":{"apiVersion":"2014-06-30","endpointPrefix":"cognito-identity","jsonVersion":"1.1","protocol":"json","serviceFullName":"Amazon Cognito Identity","serviceId":"Cognito Identity","signatureVersion":"v4","targetPrefix":"AWSCognitoIdentityService","uid":"cognito-identity-2014-06-30"},"operations":{"CreateIdentityPool":{"input":{"type":"structure","required":["IdentityPoolName","AllowUnauthenticatedIdentities"],"members":{"IdentityPoolName":{},"AllowUnauthenticatedIdentities":{"type":"boolean"},"AllowClassicFlow":{"type":"boolean"},"SupportedLoginProviders":{"shape":"S5"},"DeveloperProviderName":{},"OpenIdConnectProviderARNs":{"shape":"S9"}
9,"CognitoIdentityProviders":{"shape":"Sb"},"SamlProviderARNs":{"shape":"Sg"},"IdentityPoolTags":{"shape":"Sh"}}},"output":{"shape":"Sk"}},"DeleteIdentities":{"input":{"type":"structure","required":["IdentityIdsToDelete"],"members":{"IdentityIdsToDelete":{"type":"list","member":{}}}},"output":{"type":"structure","members":{"UnprocessedIdentityIds":{"type":"list","member":{"type":"structure","members":{"IdentityId":{},"ErrorCode":{}}}}}}},"DeleteIdentityPool":{"input":{"type":"structure","required":["IdentityPoolId"],"members":{"IdentityPoolId":{}}}},"DescribeIdentity":{"input":{"type":"structure","required":["IdentityId"],"members":{"IdentityId":{}}},"output":{"shape":"Sv"}},"DescribeIdentityPool":{"input":{"type":"structure","required":["IdentityPoolId"],"members":{"IdentityPoolId":{}}},"output":{"shape":"Sk"}},"GetCredentialsForIdentity":{"input":{"type":"structure","required":["IdentityId"],"members":{"IdentityId":{},"Logins":{"shape":"S10"},"CustomRoleArn":{}}},"output":{"type":"structure","members":{"IdentityId":{},"Credentials":{"type":"structure","members":{"AccessKeyId":{},"SecretKey":{},"SessionToken":{},"Expiration":{"type":"timestamp"}}}}},"authtype":"none"},"GetId":{"input":{"type":"structure","required":["IdentityPoolId"],"members":{"AccountId":{},"IdentityPoolId":{},"Logins":{"shape":"S10"}}},"output":{"type":"structure","members":{"IdentityId":{}}},"authtype":"none"},"GetIdentityPoolRoles":{"input":{"type":"structure","required":["IdentityPoolId"],"members":{"IdentityPoolId":{}}},"output":{"type":"structure","members":{"IdentityPoolId":{},"Roles":{"shape":"S1c"},"RoleMappings":{"shape":"S1e"}}}},"GetOpenIdToken":{"input":{"type":"structure","required":["IdentityId"],"members":{"IdentityId":{},"Logins":{"shape":"S10"}}},"output":{"type":"structure","members":{"IdentityId":{},"Token":{}}},"authtype":"none"},"GetOpenIdTokenForDeveloperIdentity":{"input":{"type":"structure","required":["IdentityPoolId","Logins"],"members":{"IdentityPoolId":{},"IdentityId":{},"Logins":{"shape":"S10"},"PrincipalTags":{"shape":"S1s"},"TokenDuration":{"type":"long"}}},"output":{"type":"structure","members":{"IdentityId":{},"Token":{}}}},"GetPrincipalTagAttributeMap":{"input":{"type":"structure","required":["IdentityPoolId","IdentityProviderName"],"members":{"IdentityPoolId":{},"IdentityProviderName":{}}},"output":{"type":"structure","members":{"IdentityPoolId":{},"IdentityProviderName":{},"UseDefaults":{"type":"boolean"},"PrincipalTags":{"shape":"S1s"}}}},"ListIdentities":{"input":{"type":"structure","required":["IdentityPoolId","MaxResults"],"members":{"IdentityPoolId":{},"MaxResults":{"type":"integer"},"NextToken":{},"HideDisabled":{"type":"boolean"}}},"output":{"type":"structure","members":{"IdentityPoolId":{},"Identities":{"type":"list","member":{"shape":"Sv"}},"NextToken":{}}}},"ListIdentityPools":{"input":{"type":"structure","required":["MaxResults"],"members":{"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"IdentityPools":{"type":"list","member":{"type":"structure","members":{"IdentityPoolId":{},"IdentityPoolName":{}}}},"NextToken":{}}}},"ListTagsForResource":{"input":{"type":"structure","required":["ResourceArn"],"members":{"ResourceArn":{}}},"output":{"type":"structure","members":{"Tags":{"shape":"Sh"}}}},"LookupDeveloperIdentity":{"input":{"type":"structure","required":["IdentityPoolId"],"members":{"IdentityPoolId":{},"IdentityId":{},"DeveloperUserIdentifier":{},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"IdentityId":{},"DeveloperUserIdentifierList":{"type":"list","member":{}},"NextToken":{}}}},"MergeDeveloperIdentities":{"input":{"type":"structure","required":["SourceUserIdentifier","DestinationUserIdentifier","DeveloperProviderName","IdentityPoolId"],"members":{"SourceUserIdentifier":{},"DestinationUserIdentifier":{},"DeveloperProviderName":{},"IdentityPoolId":{}}},"output":{"type":"structure","members":{"IdentityId":{}}}},"SetIdentityPoolRoles":{"input":{"type":"structure","required":["IdentityPoolId","Roles"],"members":{"IdentityPoolId":{},"Roles":{"shape":"S1c"},"RoleMappings":{"shape":"S1e"}}}},"SetPrincipalTagAttributeMap":{"input":{"type":"structure","required":["IdentityPoolId","IdentityProvi
9derName"],"members":{"IdentityPoolId":{},"IdentityProviderName":{},"UseDefaults":{"type":"boolean"},"PrincipalTags":{"shape":"S1s"}}},"output":{"type":"structure","members":{"IdentityPoolId":{},"IdentityProviderName":{},"UseDefaults":{"type":"boolean"},"PrincipalTags":{"shape":"S1s"}}}},"TagResource":{"input":{"type":"structure","required":["ResourceArn","Tags"],"members":{"ResourceArn":{},"Tags":{"shape":"Sh"}}},"output":{"type":"structure","members":{}}},"UnlinkDeveloperIdentity":{"input":{"type":"structure","required":["IdentityId","IdentityPoolId","DeveloperProviderName","DeveloperUserIdentifier"],"members":{"IdentityId":{},"IdentityPoolId":{},"DeveloperProviderName":{},"DeveloperUserIdentifier":{}}}},"UnlinkIdentity":{"input":{"type":"structure","required":["IdentityId","Logins","LoginsToRemove"],"members":{"IdentityId":{},"Logins":{"shape":"S10"},"LoginsToRemove":{"shape":"Sw"}}},"authtype":"none"},"UntagResource":{"input":{"type":"structure","required":["ResourceArn","TagKeys"],"members":{"ResourceArn":{},"TagKeys":{"type":"list","member":{}}}},"output":{"type":"structure","members":{}}},"UpdateIdentityPool":{"input":{"shape":"Sk"},"output":{"shape":"Sk"}}},"shapes":{"S5":{"type":"map","key":{},"value":{}},"S9":{"type":"list","member":{}},"Sb":{"type":"list","member":{"type":"structure","members":{"ProviderName":{},"ClientId":{},"ServerSideTokenCheck":{"type":"boolean"}}}},"Sg":{"type":"list","member":{}},"Sh":{"type":"map","key":{},"value":{}},"Sk":{"type":"structure","required":["IdentityPoolId","IdentityPoolName","AllowUnauthenticatedIdentities"],"members":{"IdentityPoolId":{},"IdentityPoolName":{},"AllowUnauthenticatedIdentities":{"type":"boolean"},"AllowClassicFlow":{"type":"boolean"},"SupportedLoginProviders":{"shape":"S5"},"DeveloperProviderName":{},"OpenIdConnectProviderARNs":{"shape":"S9"},"CognitoIdentityProviders":{"shape":"Sb"},"SamlProviderARNs":{"shape":"Sg"},"IdentityPoolTags":{"shape":"Sh"}}},"Sv":{"type":"structure","members":{"IdentityId":{},"Logins":{"shape":"Sw"},"CreationDate":{"type":"timestamp"},"LastModifiedDate":{"type":"timestamp"}}},"Sw":{"type":"list","member":{}},"S10":{"type":"map","key":{},"value":{}},"S1c":{"type":"map","key":{},"value":{}},"S1e":{"type":"map","key":{},"value":{"type":"structure","required":["Type"],"members":{"Type":{},"AmbiguousRoleResolution":{},"RulesConfiguration":{"type":"structure","required":["Rules"],"members":{"Rules":{"type":"list","member":{"type":"structure","required":["Claim","MatchType","Value","RoleARN"],"members":{"Claim":{},"MatchType":{},"Value":{},"RoleARN":{}}}}}}}}},"S1s":{"type":"map","key":{},"value":{}}}}')},e=>{"use strict";e.exports=JSON.parse('{"pagination":{"ListIdentityPools":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"IdentityPools"}}}')},(e,t,n)=>{var r=n(107),i=n(215);r.SAMLCredentials=r.util.inherit(r.Credentials,{constructor:function(e){r.Credentials.call(this),this.expired=!0,this.params=e},refresh:function(e){this.coalesceRefresh(e||r.util.fn.callback)},load:function(e){var t=this;t.createClients(),t.service.assumeRoleWithSAML((function(n,r){n||t.service.credentialsFrom(r,t),e(n)}))},createClients:function(){this.service=this.service||new i({params:this.params})}})},(e,t,n)=>{var r=n(106),i=n(114);function o(){}function a(e,t){for(var n=e.getElementsByTagName(t),r=0,i=n.length;r<i;r++)if(n[r].parentNode===e)return n[r]}function s(e,t){switch(t||(t={}),t.type){case"structure":return u(e,t);case"map":return function(e,t){var n={},r=t.key.name||"key",i=t.value.name||"value",o=t.flattened?t.name:"entry",u=e.firstElementChild;for(;u;){if(u.nodeName===o){var c=a(u,r).textContent,l=a(u,i);n[c]=s(l,t.value)}u=u.nextElementSibling}return n}(e,t);case"list":return function(e,t){var n=[],r=t.flattened?t.name:t.member.name||"member",i=e.firstElementChild;for(;i;)i.nodeName===r&&n.push(s(i,t.member)),i=i.nextElementSibling;return n}(e,t);case void 0:case null:return function(e){if(null==e)return"";if(!e.firstElementChild)return null===e.parentNode.parentNode?{}:0===e.childNodes.length?"":e.textContent;var t={type:"structure",members:{}},n=e.firstElementChild;for(;n;){var r=n.nodeName;Object.prototype.hasOwnProperty.call(t.members,r)?t.members[r].type="list":t.members[r]={name:r},n=n.nextElementSibling}return u(e,t)}(e);default:return function(e,t){if(e.getAttribute){var n=e.getAttribute("encoding");"base64"===n&&(t=new i.create({type:n}))}var r=e.textContent;""===r&&(r=null);return"function"==typeof t.toType?t.toType(r):r}(e,t)}}function u(e,t){var n={};return null===e||r.each(t.members,(function(r,i){if(i.isXmlAttribute){if(Object.prototype.hasOwnProperty.call(e.attributes,i.name)){var o=e.attributes[i.name].value;n[r]=s({textContent:o},i)}}else{var u=i.flattened?e:a(e,i.name);u?n[r]=s(u,i):i.flattened||"list"!==i.type||t.api.xmlNoDefaultLists||(n[r]=i.defaultValue)}})),n}o.prototype.parse=function(e,t){if(""===e.replace(/^\s+/,""))return{};var n,i;try{if(window.DOMParser){try{n=(new DOMParser).parseFromString(e,"text/xml")}catch(e){throw r.error(new Error("Parse error in document"),{originalError:e,code:"XMLParserError",retryable:!0})}if(null===n.documentElement)throw r.error(new Error("Cannot parse empty document."),{code:"XMLParserError",retryable:!0});var o=n.getElementsByTagName("parsererror")[0];if(o&&(o.parentNode===n||"body"===o.parentNode.nodeName||o.parentNode.parentNode===n||"body"===o.parentNode.parentNode.nodeName)){var u=o.getElementsByTagName("div")[0]||o;throw r.error(new Error(u.textContent||"Parser error in document"),{code:"XMLParserError",retryable:!0})}}else{if(!window.ActiveXObject)throw new Error("Cannot load XML parser");if((n=new window.ActiveXObject("Microsoft.XMLDOM")).async=!1,!n.loadXML(e))throw r.error(new Error("Parse error in document"),{code:"XMLParserError",retryable:!0})}}catch(e){i=e}if(n&&n.documentElement&&!i){var c=s(n.documentElement,t),l=a(n.documentElement,"ResponseMetadata");return l&&(c.ResponseMetadata=s(l,{})),c}if(i)throw r.error(i||new Error,{code:"XMLParserError",retryable:!0});return{}},e.exports=o},(e,t,n)=>{var r=n(107),i=n(229).EventEmitter;n(140),r.XHRClient=r.util.inherit({handleRequest:function(e,t,n,o){var a=this,s=e.endpoint,u=new i,c=s.protocol+"//"+s.hostname;80!==s.port&&443!==s.port&&(c+=":"+s.port),c+=e.path;var l=new XMLHttpRequest,f=!1;e.stream=l,l.addEventListener("readystatechange",(function(){try{if(0===l.status)return}catch(e){return}this.readyState>=this.HEADERS_RECEIVED&&!f&&(u.statusCode=l.status,u.headers=a.parseHeaders(l.getAllResponseHeaders()),u.emit("headers",u.statusCode,u.headers,l.statusText),f=!0),this.readyState===this.DONE&&a.finishRequest(l,u)}),!1),l.upload.addEventListener("progress",(function(e){u.emit("sendProgress",e)})),l.addEventListener("progress",(function(e){u.emit("receiveProgress",e)}),!1),l.addEventListener("timeout",(function(){o(r.util.error(new Error("Timeout"),{code:"TimeoutError"}))}),!1),l.addEventListener("error",(function(){o(r.util.error(new Error("Network Failure"),{code:"NetworkingError"}))}),!1),l.addEventListener("abort",(function(){o(r.util.error(new Error("Request aborted"),{code:"RequestAbortedError"}))}),!1),n(u),l.open(e.method,c,!1!==t.xhrAsync),r.util.each(e.headers,(function(e,t){"Content-Length"!==e&&"User-Agent"!==e&&"Host"!==e&&l.setRequestHeader(e,t)})),t.timeout&&!1!==t.xhrAsync&&(l.timeout=t.timeout),t.xhrWithCredentials&&(l.withCredentials=!0);try{l.responseType="arraybuffer"}catch(e){}
vendor: 5,157 bytes, line 9
9try{e.body?l.send(e.body):l.send()}catch(t){if(!e.body||"object"!=typeof e.body.buffer)throw t;l.send(e.body.buffer)}return u},parseHeaders:function(e){var t={};return r.util.arrayEach(e.split(/\r?\n/),(function(e){var n=e.split(":",1)[0],r=e.substring(n.length+2);n.length>0&&(t[n.toLowerCase()]=r)})),t},finishRequest:function(e,t){var n;if("arraybuffer"===e.responseType&&e.response){var i=e.response;n=new r.util.Buffer(i.byteLength);for(var o=new Uint8Array(i),a=0;a<n.length;++a)n[a]=o[a]}try{n||"string"!=typeof e.responseText||(n=new r.util.Buffer(e.responseText))}catch(e){}n&&t.emit("data",n),t.emit("end")}}),r.HttpClient.prototype=r.XHRClient.prototype,r.HttpClient.streamsApiVersion=1},e=>{function t(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function n(e){return"function"==typeof e}function r(e){return"object"==typeof e&&null!==e}function i(e){return void 0===e}e.exports=t,t.EventEmitter=t,t.prototype._events=void 0,t.prototype._maxListeners=void 0,t.defaultMaxListeners=10,t.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||isNaN(e))throw TypeError("n must be a positive number");return this._maxListeners=e,this},t.prototype.emit=function(e){var t,o,a,s,u,c;if(this._events||(this._events={}),"error"===e&&(!this._events.error||r(this._events.error)&&!this._events.error.length)){if((t=arguments[1])instanceof Error)throw t;var l=new Error('Uncaught, unspecified "error" event. ('+t+")");throw l.context=t,l}if(i(o=this._events[e]))return!1;if(n(o))switch(arguments.length){case 1:o.call(this);break;case 2:o.call(this,arguments[1]);break;case 3:o.call(this,arguments[1],arguments[2]);break;default:s=Array.prototype.slice.call(arguments,1),o.apply(this,s)}else if(r(o))for(s=Array.prototype.slice.call(arguments,1),a=(c=o.slice()).length,u=0;u<a;u++)c[u].apply(this,s);return!0},t.prototype.addListener=function(e,o){var a;if(!n(o))throw TypeError("listener must be a function");return this._events||(this._events={}),this._events.newListener&&this.emit("newListener",e,n(o.listener)?o.listener:o),this._events[e]?r(this._events[e])?this._events[e].push(o):this._events[e]=[this._events[e],o]:this._events[e]=o,r(this._events[e])&&!this._events[e].warned&&(a=i(this._maxListeners)?t.defaultMaxListeners:this._maxListeners)&&a>0&&this._events[e].length>a&&(this._events[e].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[e].length),"function"==typeof console.trace&&console.trace()),this},t.prototype.on=t.prototype.addListener,t.prototype.once=function(e,t){if(!n(t))throw TypeError("listener must be a function");var r=!1;function i(){this.removeListener(e,i),r||(r=!0,t.apply(this,arguments))}return i.listener=t,this.on(e,i),this},t.prototype.removeListener=function(e,t){var i,o,a,s;if(!n(t))throw TypeError("listener must be a function");if(!this._events||!this._events[e])return this;if(a=(i=this._events[e]).length,o=-1,i===t||n(i.listener)&&i.listener===t)delete this._events[e],this._events.removeListener&&this.emit("removeListener",e,t);else if(r(i)){for(s=a;s-- >0;)if(i[s]===t||i[s].listener&&i[s].listener===t){o=s;break}if(o<0)return this;1===i.length?(i.length=0,delete this._events[e]):i.splice(o,1),this._events.removeListener&&this.emit("removeListener",e,t)}return this},t.prototype.removeAllListeners=function(e){var t,r;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[e]&&delete this._events[e],this;if(0===arguments.length){for(t in this._events)"removeListener"!==t&&this.removeAllListeners(t);return this.removeAllListeners("removeListener"),this._events={},this}if(n(r=this._events[e]))this.removeListener(e,r);else if(r)for(;r.length;)this.removeListener(e,r[r.length-1]);return delete this._events[e],this},t.prototype.listeners=function(e){return this._events&&this._events[e]?n(this._events[e])?[this._events[e]]:this._events[e].slice():[]},t.prototype.listenerCount=function(e){if(this._events){var t=this._events[e];if(n(t))return 1;if(t)return t.length}return 0},t.listenerCount=function(e,t){return e.listenerCount(t)}},e=>{"use strict";e.exports=JSON.parse('{"version":"2.0","metadata":{"apiVersion":"2015-08-04","endpointPrefix":"firehose","jsonVersion":"1.1","protocol":"json","serviceAbbreviation":"Firehose","serviceFullName":"Amazon Kinesis Firehose","serviceId":"Firehose","signatureVersion":"v4","targetPrefix":"Firehose_20150804","uid":"firehose-2015-08-04"},"operations":{"CreateDeliveryStream":{"input":{"type":"structure","required":["DeliveryStreamName"],"members":{"DeliveryStreamName":{},"DeliveryStreamType":{},"KinesisStreamSourceConfiguration":{"type":"structure","required":["KinesisStreamARN","RoleARN"],"members":{"KinesisStreamARN":{},"RoleARN":{}}},"DeliveryStreamEncryptionConfigurationInput":{"shape":"S7"},"S3DestinationConfiguration":{"shape":"Sa","deprecated":true},"ExtendedS3DestinationConfiguration":{"type":"structure","required":["RoleARN","BucketARN"],"members":{"RoleARN":{},"BucketARN":{},"Prefix":{},"ErrorOutputPrefix":{}
9,"BufferingHints":{"shape":"Se"},"CompressionFormat":{},"EncryptionConfiguration":{"shape":"Si"},"CloudWatchLoggingOptions":{"shape":"Sl"},"ProcessingConfiguration":{"shape":"Sq"},"S3BackupMode":{},"S3BackupConfiguration":{"shape":"Sa"},"DataFormatConversionConfiguration":{"shape":"Sz"},"DynamicPartitioningConfiguration":{"shape":"S1o"}}},"RedshiftDestinationConfiguration":{"type":"structure","required":["RoleARN","ClusterJDBCURL","CopyCommand","Username","Password","S3Configuration"],"members":{"RoleARN":{},"ClusterJDBCURL":{},"CopyCommand":{"shape":"S1t"},"Username":{"shape":"S1x"},"Password":{"shape":"S1y"},"RetryOptions":{"shape":"S1z"},"S3Configuration":{"shape":"Sa"},"ProcessingConfiguration":{"shape":"Sq"},"S3BackupMode":{},"S3BackupConfiguration":{"shape":"Sa"},"CloudWatchLoggingOptions":{"shape":"Sl"}}},"ElasticsearchDestinationConfiguration":{"type":"structure","required":["RoleARN","IndexName","S3Configuration"],"members":{"RoleARN":{},"DomainARN":{},"ClusterEndpoint":{},"IndexName":{},"TypeName":{},"IndexRotationPeriod":{},"BufferingHints":{"shape":"S28"},"RetryOptions":{"shape":"S2b"},"S3BackupMode":{},"S3Configuration":{"shape":"Sa"},"ProcessingConfiguration":{"shape":"Sq"},"CloudWatchLoggingOptions":{"shape":"Sl"},"VpcConfiguration":{"shape":"S2e"},"DocumentIdOptions":{"shape":"S2h"}}},"AmazonopensearchserviceDestinationConfiguration":{"type":"structure","required":["RoleARN","IndexName","S3Configuration"],"members":{"RoleARN":{},"DomainARN":{},"ClusterEndpoint":{},"IndexName":{},"TypeName":{},"IndexRotationPeriod":{},"BufferingHints":{"shape":"S2p"},"RetryOptions":{"shape":"S2s"},"S3BackupMode":{},"S3Configuration":{"shape":"Sa"},"ProcessingConfiguration":{"shape":"Sq"},"CloudWatchLoggingOptions":{"shape":"Sl"},"VpcConfiguration":{"shape":"S2e"},"DocumentIdOptions":{"shape":"S2h"}}},"SplunkDestinationConfiguration":{"type":"structure","required":["HECEndpoint","HECEndpointType","HECToken","S3Configuration"],"members":{"HECEndpoint":{},"HECEndpointType":{},"HECToken":{},"HECAcknowledgmentTimeoutInSeconds":{"type":"integer"},"RetryOptions":{"shape":"S30"},"S3BackupMode":{},"S3Configuration":{"shape":"Sa"},"ProcessingConfiguration":{"shape":"Sq"},"CloudWatchLoggingOptions":{"shape":"Sl"}}},"HttpEndpointDestinationConfiguration":{"type":"structure","required":["EndpointConfiguration","S3Configuration"],"members":{"EndpointConfiguration":{"shape":"S34"},"BufferingHints":{"shape":"S38"},"CloudWatchLoggingOptions":{"shape":"Sl"},"RequestConfiguration":{"shape":"S3b"},"ProcessingConfiguration":{"shape":"Sq"},"RoleARN":{},"RetryOptions":{"shape":"S3h"},"S3BackupMode":{},"S3Configuration":{"shape":"Sa"}}},"Tags":{"shape":"S3k"},"AmazonOpenSearchServerlessDestinationConfiguration":{"type":"structure","required":["RoleARN","IndexName","S3Configuration"],"members":{"RoleARN":{},"CollectionEndpoint":{},"IndexName":{},"BufferingHints":{"shape":"S3r"},"RetryOptions":{"shape":"S3u"},"S3BackupMode":{},"S3Configuration":{"shape":"Sa"},"ProcessingConfiguration":{"shape":"Sq"},"CloudWatchLoggingOptions":{"shape":"Sl"},"VpcConfiguration":{"shape":"S2e"}}}}},"output":{"type":"structure","members":{"DeliveryStreamARN":{}}}},"DeleteDeliveryStream":{"input":{"type":"structure","required":["DeliveryStreamName"],"members":{"DeliveryStreamName":{},"AllowForceDelete":{"type":"boolean"}}},"output":{"type":"structure","members":{}}},"DescribeDeliveryStream":{"input":{"type":"structure","required":["DeliveryStreamName"],"members":{"DeliveryStreamName":{},"Limit":{"type":"integer"},"ExclusiveStartDestinationId":{}}},"output":{"type":"structure","required":["DeliveryStreamDescription"],"members":{"DeliveryStreamDescription":{"type":"structure","required":["DeliveryStreamName","DeliveryStreamARN","DeliveryStreamStatus","DeliveryStreamType","VersionId","Destinations","HasMoreDestinations"],"members":{"DeliveryStreamName":{},"DeliveryStreamARN":{},"DeliveryStreamStatus":{},"FailureDescription":{"shape":"S47"},"DeliveryStreamEncryptionConfiguration":{"type":"structure","members":{"KeyARN":{},"KeyType":{},"Status":{},"FailureDescription":{"shape":"S47"}}},"DeliveryStreamType":{},"VersionId":{},"CreateTimestamp":{"type":"timestamp"},"LastUpdateTimestamp":{"type":"timestamp"},"Source":{"type":"structure","members":{"KinesisStreamSourceDescription":{"type":"structure","members":{"KinesisStreamARN":{},"RoleARN":{},"DeliveryStartTimestamp":{"type":"timestamp"}}}}},"Destinations":{"type":"list","member":{"type":"structure","required":["DestinationId"],"members":{"DestinationId":{},"S3DestinationDescription":{"shape":"S4i"},"ExtendedS3DestinationDescription":{"type":"structure","required":["RoleARN","BucketARN","BufferingHints","CompressionFormat","EncryptionConfiguration"],"members":{"RoleARN":{},"BucketARN":{},"Prefix":{},"ErrorOutputPrefix":{}
9,"BufferingHints":{"shape":"Se"},"CompressionFormat":{},"EncryptionConfiguration":{"shape":"Si"},"CloudWatchLoggingOptions":{"shape":"Sl"},"ProcessingConfiguration":{"shape":"Sq"},"S3BackupMode":{},"S3BackupDescription":{"shape":"S4i"},"DataFormatConversionConfiguration":{"shape":"Sz"},"DynamicPartitioningConfiguration":{"shape":"S1o"}}},"RedshiftDestinationDescription":{"type":"structure","required":["RoleARN","ClusterJDBCURL","CopyCommand","Username","S3DestinationDescription"],"members":{"RoleARN":{},"ClusterJDBCURL":{},"CopyCommand":{"shape":"S1t"},"Username":{"shape":"S1x"},"RetryOptions":{"shape":"S1z"},"S3DestinationDescription":{"shape":"S4i"},"ProcessingConfiguration":{"shape":"Sq"},"S3BackupMode":{},"S3BackupDescription":{"shape":"S4i"},"CloudWatchLoggingOptions":{"shape":"Sl"}}},"ElasticsearchDestinationDescription":{"type":"structure","members":{"RoleARN":{},"DomainARN":{},"ClusterEndpoint":{},"IndexName":{},"TypeName":{},"IndexRotationPeriod":{},"BufferingHints":{"shape":"S28"},"RetryOptions":{"shape":"S2b"},"S3BackupMode":{},"S3DestinationDescription":{"shape":"S4i"},"ProcessingConfiguration":{"shape":"Sq"},"CloudWatchLoggingOptions":{"shape":"Sl"},"VpcConfigurationDescription":{"shape":"S4m"},"DocumentIdOptions":{"shape":"S2h"}}},"AmazonopensearchserviceDestinationDescription":{"type":"structure","members":{"RoleARN":{},"DomainARN":{},"ClusterEndpoint":{},"IndexName":{},"TypeName":{},"IndexRotationPeriod":{},"BufferingHints":{"shape":"S2p"},"RetryOptions":{"shape":"S2s"},"S3BackupMode":{},"S3DestinationDescription":{"shape":"S4i"},"ProcessingConfiguration":{"shape":"Sq"},"CloudWatchLoggingOptions":{"shape":"Sl"},"VpcConfigurationDescription":{"shape":"S4m"},"DocumentIdOptions":{"shape":"S2h"}}},"SplunkDestinationDescription":{"type":"structure","members":{"HECEndpoint":{},"HECEndpointType":{},"HECToken":{},"HECAcknowledgmentTimeoutInSeconds":{"type":"integer"},"RetryOptions":{"shape":"S30"},"S3BackupMode":{},"S3DestinationDescription":{"shape":"S4i"},"ProcessingConfiguration":{"shape":"Sq"},"CloudWatchLoggingOptions":{"shape":"Sl"}}},"HttpEndpointDestinationDescription":{"type":"structure","members":{"EndpointConfiguration":{"type":"structure","members":{"Url":{"shape":"S35"},"Name":{}}},"BufferingHints":{"shape":"S38"},"CloudWatchLoggingOptions":{"shape":"Sl"},"RequestConfiguration":{"shape":"S3b"},"ProcessingConfiguration":{"shape":"Sq"},"RoleARN":{},"RetryOptions":{"shape":"S3h"},"S3BackupMode":{},"S3DestinationDescription":{"shape":"S4i"}}},"AmazonOpenSearchServerlessDestinationDescription":{"type":"structure","members":{"RoleARN":{},"CollectionEndpoint":{},"IndexName":{},"BufferingHints":{"shape":"S3r"},"RetryOptions":{"shape":"S3u"},"S3BackupMode":{},"S3DestinationDescription":{"shape":"S4i"},"ProcessingConfiguration":{"shape":"Sq"},"CloudWatchLoggingOptions":{"shape":"Sl"},"VpcConfigurationDescription":{"shape":"S4m"}}}}}},"HasMoreDestinations":{"type":"boolean"}}}}}},"ListDeliveryStreams":{"input":{"type":"structure","members":{"Limit":{"type":"integer"},"DeliveryStreamType":{},"ExclusiveStartDeliveryStreamName":{}}},"output":{"type":"structure","required":["DeliveryStreamNames","HasMoreDeliveryStreams"],"members":{"DeliveryStreamNames":{"type":"list","member":{}},"HasMoreDeliveryStreams":{"type":"boolean"}}}},"ListTagsForDeliveryStream":{"input":{"type":"structure","required":["DeliveryStreamName"],"members":{"DeliveryStreamName":{},"ExclusiveStartTagKey":{},"Limit":{"type":"integer"}}},"output":{"type":"structure","required":["Tags","HasMoreTags"],"members":{"Tags":{"type":"list","member":{"shape":"S3l"}},"HasMoreTags":{"type":"boolean"}}}},"PutRecord":{"input":{"type":"structure","required":["DeliveryStreamName","Record"],"members":{"DeliveryStreamName":{},"Record":{"shape":"S51"}}},"output":{"type":"structure","required":["RecordId"],"members":{"RecordId":{},"Encrypted":{"type":"boolean"}}}},"PutRecordBatch":{"input":{"type":"structure","required":["DeliveryStreamName","Records"],"members":{"DeliveryStreamName":{},"Records":{"type":"list","member":{"shape":"S51"}}}},"output":{"type":"structure","required":["FailedPutCount","RequestResponses"],"members":{"FailedPutCount":{"type":"integer"},"Encrypted":{"type":"boolean"},"RequestResponses":{"type":"list","member":{"type":"structure","members":{"RecordId":{},"ErrorCode":{},"ErrorMessage":{}}}}}}},"StartDeliveryStreamEncryption":{"input":{"type":"structure","required":["DeliveryStreamName"],"members":{"DeliveryStreamName":{},"DeliveryStreamEncryptionConfigurationInput":{"shape":"S7"}}},"output":{"type":"structure","members":{}}},"StopDeliveryStreamEncryption":{"input":{"type":"structure","required":["DeliveryStreamName"],"members":{"DeliveryStreamName":{}}},"output":{"type":"structure","members":{}}},"TagDeliveryStream":{"input":{"type":"structure","required":["DeliveryStreamName","Tags"],"members":{"DeliveryStreamName":{},"Tags":{"shape":"S3k"}}},"output":{"type":"structure","members":{}}},"UntagDeliveryStream":{"input":{"type":"structure","required":["DeliveryStreamName","TagKeys"],"members":{"DeliveryStreamName":{},"TagKeys":{"type":"list","member":{}}}},"output":{"type":"structure","members":{}}},"UpdateDestination":{"input":{"type":"structure","required":["DeliveryStreamName","CurrentDeliveryStreamVersionId","DestinationId"],"members":{"DeliveryStreamName":{},"CurrentDeliveryStreamVersionId":{},"DestinationId":{},"S3DestinationUpdate":{"shape":"S5m","deprecated":true},"ExtendedS3DestinationUpdate":{"type":"structure","members":{"RoleARN":{},"BucketARN":{},"Prefix":{},"ErrorOutputPrefix":{}
9,"BufferingHints":{"shape":"Se"},"CompressionFormat":{},"EncryptionConfiguration":{"shape":"Si"},"CloudWatchLoggingOptions":{"shape":"Sl"},"ProcessingConfiguration":{"shape":"Sq"},"S3BackupMode":{},"S3BackupUpdate":{"shape":"S5m"},"DataFormatConversionConfiguration":{"shape":"Sz"},"DynamicPartitioningConfiguration":{"shape":"S1o"}}},"RedshiftDestinationUpdate":{"type":"structure","members":{"RoleARN":{},"ClusterJDBCURL":{},"CopyCommand":{"shape":"S1t"},"Username":{"shape":"S1x"},"Password":{"shape":"S1y"},"RetryOptions":{"shape":"S1z"},"S3Update":{"shape":"S5m"},"ProcessingConfiguration":{"shape":"Sq"},"S3BackupMode":{},"S3BackupUpdate":{"shape":"S5m"},"CloudWatchLoggingOptions":{"shape":"Sl"}}},"ElasticsearchDestinationUpdate":{"type":"structure","members":{"RoleARN":{},"DomainARN":{},"ClusterEndpoint":{},"IndexName":{},"TypeName":{},"IndexRotationPeriod":{},"BufferingHints":{"shape":"S28"},"RetryOptions":{"shape":"S2b"},"S3Update":{"shape":"S5m"},"ProcessingConfiguration":{"shape":"Sq"},"CloudWatchLoggingOptions":{"shape":"Sl"},"DocumentIdOptions":{"shape":"S2h"}}},"AmazonopensearchserviceDestinationUpdate":{"type":"structure","members":{"RoleARN":{},"DomainARN":{},"ClusterEndpoint":{},"IndexName":{},"TypeName":{},"IndexRotationPeriod":{},"BufferingHints":{"shape":"S2p"},"RetryOptions":{"shape":"S2s"},"S3Update":{"shape":"S5m"},"ProcessingConfiguration":{"shape":"Sq"},"CloudWatchLoggingOptions":{"shape":"Sl"},"DocumentIdOptions":{"shape":"S2h"}}},"SplunkDestinationUpdate":{"type":"structure","members":{"HECEndpoint":{},"HECEndpointType":{},"HECToken":{},"HECAcknowledgmentTimeoutInSeconds":{"type":"integer"},"RetryOptions":{"shape":"S30"},"S3BackupMode":{},"S3Update":{"shape":"S5m"},"ProcessingConfiguration":{"shape":"Sq"},"CloudWatchLoggingOptions":{"shape":"Sl"}}},"HttpEndpointDestinationUpdate":{"type":"structure","members":{"EndpointConfiguration":{"shape":"S34"},"BufferingHints":{"shape":"S38"},"CloudWatchLoggingOptions":{"shape":"Sl"},"RequestConfiguration":{"shape":"S3b"},"ProcessingConfiguration":{"shape":"Sq"},"RoleARN":{},"RetryOptions":{"shape":"S3h"},"S3BackupMode":{},"S3Update":{"shape":"S5m"}}},"AmazonOpenSearchServerlessDestinationUpdate":{"type":"structure","members":{"RoleARN":{},"CollectionEndpoint":{},"IndexName":{},"BufferingHints":{"shape":"S3r"},"RetryOptions":{"shape":"S3u"},"S3Update":{"shape":"S5m"},"ProcessingConfiguration":{"shape":"Sq"},"CloudWatchLoggingOptions":{"shape":"Sl"}}}}},"output":{"type":"structure","members":{}}}},"shapes":{"S7":{"type":"structure","required":["KeyType"],"members":{"KeyARN":{},"KeyType":{}}},"Sa":{"type":"structure","required":["RoleARN","BucketARN"],"members":{"RoleARN":{},"BucketARN":{},"Prefix":{},"ErrorOutputPrefix":{},"BufferingHints":{"shape":"Se"},"CompressionFormat":{},"EncryptionConfiguration":{"shape":"Si"},"CloudWatchLoggingOptions":{"shape":"Sl"}}},"Se":{"type":"structure","members":{"SizeInMBs":{"type":"integer"},"IntervalInSeconds":{"type":"integer"}}},"Si":{"type":"structure","members":{"NoEncryptionConfig":{},"KMSEncryptionConfig":{"type":"structure","required":["AWSKMSKeyARN"],"members":{"AWSKMSKeyARN":{}}}}},"Sl":{"type":"structure","members":{"Enabled":{"type":"boolean"},"LogGroupName":{},"LogStreamName":{}}},"Sq":{"type":"structure","members":{"Enabled":{"type":"boolean"},"Processors":{"type":"list","member":{"type":"structure","required":["Type"],"members":{"Type":{},"Parameters":{"type":"list","member":{"type":"structure","required":["ParameterName","ParameterValue"],"members":{"ParameterName":{},"ParameterValue":{}}}}}}}}},"Sz":{"type":"structure","members":{"SchemaConfiguration":{"type":"structure","members":{"RoleARN":{},"CatalogId":{},"DatabaseName":{},"TableName":{},"Region":{},"VersionId":{}}},"InputFormatConfiguration":{"type":"structure","members":{"Deserializer":{"type":"structure","members":{"OpenXJsonSerDe":{"type":"structure","members":{"ConvertDotsInJsonKeysToUnderscores":{"type":"boolean"},"CaseInsensitive":{"type":"boolean"},"ColumnToJsonKeyMappings":{"type":"map","key":{},"value":{}}}},"HiveJsonSerDe":{"type":"structure","members":{"TimestampFormats":{"type":"list","member":{}}}}}}}},"OutputFormatConfiguration":{"type":"structure","members":{"Serializer":{"type":"structure","members":{"ParquetSerDe":{"type":"structure","members":{"BlockSizeBytes":{"type":"integer"},"PageSizeBytes":{"type":"integer"},"Compression":{},"EnableDictionaryCompression":{"type":"boolean"},"MaxPaddingBytes":{"type":"integer"},"WriterVersion":{}}},"OrcSerDe":{"type":"structure","members":{"StripeSizeBytes":{"type":"integer"},"BlockSizeBytes":{"type":"integer"},"RowIndexStride":{"type":"integer"},"EnablePadding":{"type":"boolean"},"PaddingTolerance":{"type":"double"},"Compression":{},"BloomFilterColumns":{"type":"list","member":{}},"BloomFilterFalsePositiveProbability":{"type":"double"},"DictionaryKeyThreshold":{"type":"double"},"FormatVersion":{}}}}}}},"Enabled":{"type":"boolean"}}},"S1o":{"type":"structure","members":{"RetryOptions":{"type":"structure","members":{"DurationInSeconds":{"type":"integer"}}},"Enabled":{"type":"boolean"}}},"S1t":{"type":"structure","required":["DataTableName"],"members":{"DataTableName":{},"DataTableColumns":{},"CopyOptions":{}}},"S1x":{"type":"string","sensitive":true},"S1y":{"type":"string","sensitive":true},"S1z":{"type":"structure","members":{"DurationInSeconds":{"type":"integer"}}},"S28":{"type":"structure","members":{"IntervalInSeconds":{"type":"integer"},"SizeInMBs":{"type":"integer"}}},"S2b":{"type":"structure","members":{"DurationInSeconds":{"type":"integer"}}},"S2e":{"type":"structure","required":["SubnetIds","RoleARN","SecurityGroupIds"],"members":{"SubnetIds":{"shape":"S2f"},"RoleARN":{},"SecurityGroupIds":{"shape":"S2g"}}},"S2f":{"type":"list","member":{}},"S2g":{"type":"list","member":{}},"S2h":{"type":"structure","required":["DefaultDocumentIdFormat"],"members":{"DefaultDocumentIdFormat":{}}},"S2p":{"type":"structure","members":{"IntervalInSeconds":{"type":"integer"},"SizeInMBs":{"type":"integer"}}},"S2s":{"type":"structure","members":{"DurationInSeconds":{"type":"integer"}}},"S30":{"type":"structure","members":{"DurationInSeconds":{"type":"integer"}}},"S34":{"type":"structure","required":["Url"],"members":{"Url":{"shape":"S35"},"Name":{},"AccessKey":{"type":"string","sensitive":true}}},"S35":{"type":"string","sensitive":true},"S38":{"type":"structure","members":{"SizeInMBs":{"type":"integer"},"IntervalInSeconds":{"type":"integer"}}},"S3b":{"type":"structure","members":{"ContentEncoding":{},"CommonAttributes":{"type":"list","member":{"type":"structure","required":["AttributeName","AttributeValue"],"members":{"AttributeName":{"type":"string","sensitive":true},"AttributeValue":{"type":"string","sensitive":true}}}}}},"S3h":{"type":"structure","members":{"DurationInSeconds":{"type":"integer"}}},"S3k":{"type":"list","member":{"shape":"S3l"}},"S3l":{"type":"structure","required":["Key"],"members":{"Key":{},"Value":{}}},"S3r":{"type":"structure","members":{"IntervalInSeconds":{"type":"integer"},"SizeInMBs":{"type":"integer"}}},"S3u":{"type":"structure","members":{"DurationInSeconds":{"type":"integer"}}},"S47":{"type":"structure","required":["Type","Details"],"members":{"Type":{},"Details":{}}},"S4i":{"type":"structure","required":["RoleARN","BucketARN","BufferingHints","CompressionFormat","EncryptionConfiguration"],"members":{"RoleARN":{},"BucketARN":{},"Prefix":{},"ErrorOutputPrefix":{}
9,"BufferingHints":{"shape":"Se"},"CompressionFormat":{},"EncryptionConfiguration":{"shape":"Si"},"CloudWatchLoggingOptions":{"shape":"Sl"}}},"S4m":{"type":"structure","required":["SubnetIds","RoleARN","SecurityGroupIds","VpcId"],"members":{"SubnetIds":{"shape":"S2f"},"RoleARN":{},"SecurityGroupIds":{"shape":"S2g"},"VpcId":{}}},"S51":{"type":"structure","required":["Data"],"members":{"Data":{"type":"blob"}}},"S5m":{"type":"structure","members":{"RoleARN":{},"BucketARN":{},"Prefix":{},"ErrorOutputPrefix":{},"BufferingHints":{"shape":"Se"},"CompressionFormat":{},"EncryptionConfiguration":{"shape":"Si"},"CloudWatchLoggingOptions":{"shape":"Sl"}}}}}')},e=>{"use strict";e.exports={pagination:{}}},(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,r.default)(e),!e||/[\s<>]/.test(e))return!1;if(0===e.indexOf("mailto:"))return!1;if((t=(0,a.default)(t,c)).validate_length&&e.length>=2083)return!1;if(!t.allow_fragments&&e.includes("#"))return!1;if(!t.allow_query_components&&(e.includes("?")||e.includes("&")))return!1;var n,s,p,d,h,m,y,g;if(y=e.split("#"),e=y.shift(),y=e.split("?"),e=y.shift(),(y=e.split("://")).length>1){if(n=y.shift().toLowerCase(),t.require_valid_protocol&&-1===t.protocols.indexOf(n))return!1}else{if(t.require_protocol)return!1;if("//"===e.slice(0,2)){if(!t.allow_protocol_relative_urls)return!1;y[0]=e.slice(2)}}if(""===(e=y.join("://")))return!1;if(y=e.split("/"),""===(e=y.shift())&&!t.require_host)return!0;if((y=e.split("@")).length>1){if(t.disallow_auth)return!1;if(""===y[0])return!1;if((s=y.shift()).indexOf(":")>=0&&s.split(":").length>2)return!1;var v=s.split(":"),b=(w=2,function(e){if(Array.isArray(e))return e}(S=v)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}}(S,w)||function(e,t){if(e){if("string"==typeof e)return u(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?u(e,t):void 0}}(S,w)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),_=b[0],E=b[1];if(""===_&&""===E)return!1}var S,w;d=y.join("@"),m=null,g=null;var T=d.match(l);T?(p="",g=T[1],m=T[2]||null):(p=(y=d.split(":")).shift(),y.length&&(m=y.join(":")));if(null!==m&&m.length>0){if(h=parseInt(m,10),!/^[0-9]+$/.test(m)||h<=0||h>65535)return!1}else if(t.require_port)return!1;if(t.host_whitelist)return f(p,t.host_whitelist);if(""===p&&!t.require_host)return!0;if(!((0,o.default)(p)||(0,i.default)(p,t)||g&&(0,o.default)(g,6)))return!1;if(p=p||g,t.host_blacklist&&f(p,t.host_blacklist))return!1;return!0};var r=s(n(233)),i=s(n(234)),o=s(n(236)),a=s(n(235));function s(e){return e&&e.__esModule?e:{default:e}}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var c={protocols:["http","https","ftp"],require_tld:!0,require_protocol:!1,require_host:!0,require_port:!1,require_valid_protocol:!0,allow_underscores:!1,allow_trailing_dot:!1,allow_protocol_relative_urls:!1,allow_fragments:!0,allow_query_components:!0,validate_length:!0},l=/^\[([^\]]+)\](?::([0-9]+))?$/;function f(e,t){for(var n=0;n<t.length;n++){var r=t[n];if(e===r||(i=r,"[object RegExp]"===Object.prototype.toString.call(i)&&r.test(e)))return!0}var i;return!1}e.exports=t.default,e.exports.default=t.default},(e,t)=>{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if(!("string"==typeof e||e instanceof String)){var t=n(e);throw null===e?t="null":"object"===t&&(t=e.constructor.name),new TypeError("Expected a string but received a ".concat(t))}},e.exports=t.default,e.exports.default=t.default},(e,t,n)=>{"use strict";
9Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,r.default)(e),(t=(0,i.default)(t,a)).allow_trailing_dot&&"."===e[e.length-1]&&(e=e.substring(0,e.length-1));!0===t.allow_wildcard&&0===e.indexOf("*.")&&(e=e.substring(2));var n=e.split("."),o=n[n.length-1];if(t.require_tld){if(n.length<2)return!1;if(!t.allow_numeric_tld&&!/^([a-z\u00A1-\u00A8\u00AA-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}|xn[a-z0-9-]{2,})$/i.test(o))return!1;if(/\s/.test(o))return!1}if(!t.allow_numeric_tld&&/^\d+$/.test(o))return!1;return n.every((function(e){return!(e.length>63&&!t.ignore_max_length)&&(!!/^[a-z_\u00a1-\uffff0-9-]+$/i.test(e)&&(!/[\uff01-\uff5e]/.test(e)&&(!/^-|-$/.test(e)&&!(!t.allow_underscores&&/_/.test(e)))))}))};var r=o(n(233)),i=o(n(235));function o(e){return e&&e.__esModule?e:{default:e}}var a={require_tld:!0,allow_underscores:!1,allow_trailing_dot:!1,allow_numeric_tld:!1,allow_wildcard:!1,ignore_max_length:!1};e.exports=t.default,e.exports.default=t.default},(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;for(var n in t)void 0===e[n]&&(e[n]=t[n]);return e},e.exports=t.default,e.exports.default=t.default},(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if((0,i.default)(t),!(n=String(n)))return e(t,4)||e(t,6);if("4"===n)return s.test(t);if("6"===n)return c.test(t);return!1};var r,i=(r=n(233))&&r.__esModule?r:{default:r};var o="(?:[0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])",a="(".concat(o,"[.]){3}").concat(o),s=new RegExp("^".concat(a,"$")),u="(?:[0-9a-fA-F]{1,4})",c=new RegExp("^("+"(?:".concat(u,":){7}(?:").concat(u,"|:)|")+"(?:".concat(u,":){6}(?:").concat(a,"|:").concat(u,"|:)|")+"(?:".concat(u,":){5}(?::").concat(a,"|(:").concat(u,"){1,2}|:)|")+"(?:".concat(u,":){4}(?:(:").concat(u,"){0,1}:").concat(a,"|(:").concat(u,"){1,3}|:)|")+"(?:".concat(u,":){3}(?:(:").concat(u,"){0,2}:").concat(a,"|(:").concat(u,"){1,4}|:)|")+"(?:".concat(u,":){2}(?:(:").concat(u,"){0,3}:").concat(a,"|(:").concat(u,"){1,5}|:)|")+"(?:".concat(u,":){1}(?:(:").concat(u,"){0,4}:").concat(a,"|(:").concat(u,"){1,6}|:)|")+"(?::((?::".concat(u,"){0,5}:").concat(a,"|(?::").concat(u,"){1,7}|:))")+")(%[0-9a-zA-Z-.:]{1,})?$");e.exports=t.default,e.exports.default=t.default},,,,,,,,(e,t,n)=>{e.exports=n(245)()},(e,t,n)=>{"use strict";var r=n(246);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,n,i,o,a){if(a!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:i}
9;return n.PropTypes=n,n}},e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},(e,t,n)=>{"use strict";n.r(t),n.d(t,{ErrorCode:()=>o.ErrorCode,FormatError:()=>o.FormatError,IntlMessageFormat:()=>r.IntlMessageFormat,InvalidValueError:()=>o.InvalidValueError,InvalidValueTypeError:()=>o.InvalidValueTypeError,MissingValueError:()=>o.MissingValueError,PART_TYPE:()=>i.PART_TYPE,default:()=>a,formatToParts:()=>i.formatToParts,isFormatXMLElementFn:()=>i.isFormatXMLElementFn});var r=n(262),i=n(248),o=n(261);const a=r.IntlMessageFormat},(e,t,n)=>{"use strict";n.r(t),n.d(t,{PART_TYPE:()=>r,formatToParts:()=>s,isFormatXMLElementFn:()=>a});var r,i=n(249),o=n(261);function a(e){return"function"==typeof e}function s(e,t,n,u,c,l,f){if(1===e.length&&(0,i.isLiteralElement)(e[0]))return[{type:r.literal,value:e[0].value}];for(var p=[],d=0,h=e;d<h.length;d++){var m=h[d];if((0,i.isLiteralElement)(m))p.push({type:r.literal,value:m.value});else if((0,i.isPoundElement)(m))"number"==typeof l&&p.push({type:r.literal,value:n.getNumberFormat(t).format(l)});else{var y=m.value;if(!c||!(y in c))throw new o.MissingValueError(y,f);var g=c[y];if((0,i.isArgumentElement)(m))g&&"string"!=typeof g&&"number"!=typeof g||(g="string"==typeof g||"number"==typeof g?String(g):""),p.push({type:"string"==typeof g?r.literal:r.object,value:g});else if((0,i.isDateElement)(m)){var v="string"==typeof m.style?u.date[m.style]:(0,i.isDateTimeSkeleton)(m.style)?m.style.parsedOptions:void 0;p.push({type:r.literal,value:n.getDateTimeFormat(t,v).format(g)})}else if((0,i.isTimeElement)(m)){v="string"==typeof m.style?u.time[m.style]:(0,i.isDateTimeSkeleton)(m.style)?m.style.parsedOptions:u.time.medium;p.push({type:r.literal,value:n.getDateTimeFormat(t,v).format(g)})}else if((0,i.isNumberElement)(m)){(v="string"==typeof m.style?u.number[m.style]:(0,i.isNumberSkeleton)(m.style)?m.style.parsedOptions:void 0)&&v.scale&&(g*=v.scale||1),p.push({type:r.literal,value:n.getNumberFormat(t,v).format(g)})}else{if((0,i.isTagElement)(m)){var b=m.children,_=m.value,E=c[_];if(!a(E))throw new o.InvalidValueTypeError(_,"function",f);var S=E(s(b,t,n,u,c,l).map((function(e){return e.value})));Array.isArray(S)||(S=[S]),p.push.apply(p,S.map((function(e){return{type:"string"==typeof e?r.literal:r.object,value:e}})))}if((0,i.isSelectElement)(m)){if(!(w=m.options[g]||m.options.other))throw new o.InvalidValueError(m.value,g,Object.keys(m.options),f);p.push.apply(p,s(w.value,t,n,u,c))}else if((0,i.isPluralElement)(m)){var w;if(!(w=m.options["=".concat(g)])){if(!Intl.PluralRules)throw new o.FormatError('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',o.ErrorCode.MISSING_INTL_API,f);var T=n.getPluralRules(t,{type:m.pluralType}).select(g-(m.offset||0));w=m.options[T]||m.options.other}if(!w)throw new o.InvalidValueError(m.value,g,Object.keys(m.options),f);p.push.apply(p,s(w.value,t,n,u,c,g-(m.offset||0)))}else;}}}return function(e){return e.length<2?e:e.reduce((function(e,t){var n=e[e.length-1];return n&&n.type===r.literal&&t.type===r.literal?n.value+=t.value:e.push(t),e}),[])}(p)}!function(e){e[e.literal=0]="literal",e[e.object=1]="object"}(r||(r={}))},(e,t,n)=>{"use strict";n.r(t),n.d(t,{SKELETON_TYPE:()=>a.SKELETON_TYPE,TYPE:()=>a.TYPE,_Parser:()=>c,createLiteralElement:()=>a.createLiteralElement,createNumberElement:()=>a.createNumberElement,isArgumentElement:()=>a.isArgumentElement,isDateElement:()=>a.isDateElement,isDateTimeSkeleton:()=>a.isDateTimeSkeleton,isLiteralElement:()=>a.isLiteralElement,isNumberElement:()=>a.isNumberElement,isNumberSkeleton:()=>a.isNumberSkeleton,isPluralElement:()=>a.isPluralElement,isPoundElement:()=>a.isPoundElement,isSelectElement:()=>a.isSelectElement,isTagElement:()=>a.isTagElement,isTimeElement:()=>a.isTimeElement,parse:()=>u});var r=n(258),i=n(250),o=n(251),a=n(252);function s(e){e.forEach((function(e){if(delete e.location,(0,a.isSelectElement)(e)||(0,a.isPluralElement)(e))for(var t in e.options)delete e.options[t].location,s(e.options[t].value);else(0,a.isNumberElement)(e)&&(0,a.isNumberSkeleton)(e.style)||((0,a.isDateElement)(e)||(0,a.isTimeElement)(e))&&(0,a.isDateTimeSkeleton)(e.style)?delete e.style.location:(0,a.isTagElement)(e)&&s(e.children)}))}function u(e,t){void 0===t&&(t={}),t=(0,r.__assign)({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var n=new o.Parser(e,t).parse();if(n.err){var a=SyntaxError(i.ErrorKind[n.err.kind]);throw a.location=n.err.location,a.originalMessage=n.err.message,a}return(null==t?void 0:t.captureLocation)||s(n.val),n.val}var c=o.Parser},(e,t,n)=>{"use strict";var r;n.r(t),n.d(t,{ErrorKind:()=>r}),function(e){e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_
vendor: 11,392 bytes, line 9
9NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"}(r||(r={}))},(e,t,n)=>{"use strict";n.r(t),n.d(t,{Parser:()=>A});var r,i=n(258),o=n(250),a=n(252),s=n(253),u=n(254),c=n(259),l=new RegExp("^".concat(s.SPACE_SEPARATOR_REGEX.source,"*")),f=new RegExp("".concat(s.SPACE_SEPARATOR_REGEX.source,"*$"));function p(e,t){return{start:e,end:t}}var d=!!String.prototype.startsWith&&"_a".startsWith("a",1),h=!!String.fromCodePoint,m=!!Object.fromEntries,y=!!String.prototype.codePointAt,g=!!String.prototype.trimStart,v=!!String.prototype.trimEnd,b=!!Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},_=!0;try{_="a"===(null===(r=R("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===r?void 0:r[0])}catch(e){_=!1}var E,S=d?function(e,t,n){return e.startsWith(t,n)}:function(e,t,n){return e.slice(n,n+t.length)===t},w=h?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n,r="",i=e.length,o=0;i>o;){if((n=e[o++])>1114111)throw RangeError(n+" is not a valid code point");r+=n<65536?String.fromCharCode(n):String.fromCharCode(55296+((n-=65536)>>10),n%1024+56320)}return r},T=m?Object.fromEntries:function(e){for(var t={},n=0,r=e;n<r.length;n++){var i=r[n],o=i[0],a=i[1];t[o]=a}return t},O=y?function(e,t){return e.codePointAt(t)}:function(e,t){var n=e.length;if(!(t<0||t>=n)){var r,i=e.charCodeAt(t);return i<55296||i>56319||t+1===n||(r=e.charCodeAt(t+1))<56320||r>57343?i:r-56320+(i-55296<<10)+65536}},x=g?function(e){return e.trimStart()}:function(e){return e.replace(l,"")},k=v?function(e){return e.trimEnd()}:function(e){return e.replace(f,"")};function R(e,t){return new RegExp(e,t)}if(_){var N=R("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");E=function(e,t){var n;return N.lastIndex=t,null!==(n=N.exec(e)[1])&&void 0!==n?n:""}}else E=function(e,t){for(var n=[];;){var r=O(e,t);if(void 0===r||D(r)||C(r))break;n.push(r),t+=r>=65536?2:1}return w.apply(void 0,n)};var A=function(){function e(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}return e.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(e,t,n){for(var r=[];!this.isEOF();){var i=this.char();if(123===i){if((s=this.parseArgument(e,n)).err)return s;r.push(s.val)}else{if(125===i&&e>0)break;if(35!==i||"plural"!==t&&"selectordinal"!==t){if(60===i&&!this.ignoreTag&&47===this.peek()){if(n)break;return this.error(o.ErrorKind.UNMATCHED_CLOSING_TAG,p(this.clonePosition(),this.clonePosition()))}if(60===i&&!this.ignoreTag&&I(this.peek()||0)){if((s=this.parseTag(e,t)).err)return s;r.push(s.val)}else{var s;if((s=this.parseLiteral(e,t)).err)return s;r.push(s.val)}}else{var u=this.clonePosition();this.bump(),r.push({type:a.TYPE.pound,location:p(u,this.clonePosition())})}}}return{val:r,err:null}},e.prototype.parseTag=function(e,t){var n=this.clonePosition();this.bump();var r=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:a.TYPE.literal,value:"<".concat(r,"/>"),location:p(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var i=this.parseMessage(e+1,t,!0);if(i.err)return i;var s=i.val,u=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!I(this.char()))return this.error(o.ErrorKind.INVALID_TAG,p(u,this.clonePosition()));var c=this.clonePosition();return r!==this.parseTagName()?this.error(o.ErrorKind.UNMATCHED_CLOSING_TAG,p(c,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:a.TYPE.tag,value:r,children:s,location:p(n,this.clonePosition())},err:null}:this.error(o.ErrorKind.INVALID_TAG,p(u,this.clonePosition())))}return this.error(o.ErrorKind.UNCLOSED_TAG,p(n,this.clonePosition()))}return this.error(o.ErrorKind.INVALID_TAG,p(n,this.clonePosition()))},e.prototype.parseTagName=function(){var e,t=this.offset();for(this.bump();!this.isEOF()&&(45===(e=this.char())||46===e||e>=48&&e<=57||95===e||e>=97&&e<=122||e>=65&&e<=90||183==e||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039);)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(e,t){for(var n=this.clonePosition(),r="";;){var i=this.tryParseQuote(t);if(i)r+=i;else{var o=this.tryParseUnquoted(e,t);if(o)r+=o;else{var s=this.tryParseLeftAngleBracket();if(!s)break;r+=s}}}var u=p(n,this.clonePosition());return{val:{type:a.TYPE.literal,value:r,location:u},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(I(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},e.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(39===n){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(n);this.bump()}return w.apply(void 0,t)},e.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var n=this.char();return 60===n||123===n||35===n&&("plural"===t||"selectordinal"===t)||125===n&&e>0?null:(this.bump(),w(n))},e.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(o.ErrorKind.EXPECT_ARGUMENT_CLOSING_BRACE,p(n,this.clonePosition()));if(125===this.char())return this.bump(),this.error(o.ErrorKind.EMPTY_ARGUMENT,p(n,this.clonePosition()));var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(o.ErrorKind.MALFORMED_ARGUMENT,p(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(o.ErrorKind.EXPECT_ARGUMENT_CLOSING_BRACE,p(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:a.TYPE.argument,value:r,location:p(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(o.ErrorKind.EXPECT_ARGUMENT_CLOSING_BRACE,p(n,this.clonePosition())):this.parseArgumentOptions(e,t,r,n);default:return this.error(o.ErrorKind.MALFORMED_ARGUMENT,p(n,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=E(this.message,t),r=t+n.length;return this.bumpTo(r),{value:n,location:p(e,this.clonePosition())}},e.prototype.parseArgumentOptions=function(e,t,n,r){var s,l=this.clonePosition(),f=this.parseIdentifierIfPossible().value,d=this.clonePosition();switch(f){case"":return this.error(o.ErrorKind.EXPECT_ARGUMENT_TYPE,p(l,d));case"number":case"date":case"time":this.bumpSpace();var h=null;if(this.bumpIf(",")){this.bumpSpace();var m=this.clonePosition();if((O=this.parseSimpleArgStyleIfPossible()).err)return O;if(0===(b=k(O.val)).length)return this.error(o.ErrorKind.EXPECT_ARGUMENT_STYLE,p(this.clonePosition(),this.clonePosition()));h={style:b,styleLocation:p(m,this.clonePosition())}}if((R=this.tryParseArgumentClose(r)).err)return R;var y=p(r,this.clonePosition());if(h&&S(null==h?void 0:h.style,"::",0)){var g=x(h.style.slice(2));if("number"===f)return(O=this.parseNumberSkeletonFromString(g,h.styleLocation)).err?O:{val:{type:a.TYPE.number,value:n,location:y,style:O.val},err:null};if(0===g.length)return this.error(o.ErrorKind.EXPECT_DATE_TIME_SKELETON,y);var v=g;this.locale&&(v=(0,c.getBestPattern)(g,this.locale));var b={type:a.SKELETON_TYPE.dateTime,pattern:v,location:h.styleLocation,parsedOptions:this.shouldParseSkeletons?(0,u.parseDateTimeSkeleton)(v):{}};return{val:{type:"date"===f?a.TYPE.date:a.TYPE.time,value:n,location:y,style:b},err:null}}return{val:{type:"number"===f?a.TYPE.number:"date"===f?a.TYPE.date:a.TYPE.time,value:n,location:y,style:null!==(s=null==h?void 0:h.style)&&void 0!==s?s:null},err:null};case"plural":case"selectordinal":case"select":var _=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(o.ErrorKind.EXPECT_SELECT_ARGUMENT_OPTIONS,p(_,(0,i.__assign)({},_)));this.bumpSpace();var E=this.parseIdentifierIfPossible(),w=0;if("select"!==f&&"offset"===E.value){if(!this.bumpIf(":"))return this.error(o.ErrorKind.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,p(this.clonePosition(),this.clonePosition()));var O;if(this.bumpSpace(),(O=this.tryParseDecimalInteger(o.ErrorKind.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,o.ErrorKind.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return O;this.bumpSpace(),E=this.parseIdentifierIfPossible(),w=O.val}var R,N=this.tryParsePluralOrSelectOptions(e,f,t,E);if(N.err)return N;if((R=this.tryParseArgumentClose(r)).err)return R;var A=p(r,this.clonePosition());return"select"===f?{val:{type:a.TYPE.select,value:n,options:T(N.val),location:A},err:null}:{val:{type:a.TYPE.plural,value:n,options:T(N.val),offset:w,pluralType:"plural"===f?"cardinal":"ordinal",location:A},err:null};default:return this.error(o.ErrorKind.INVALID_ARGUMENT_TYPE,p(l,d))}},e.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(o.ErrorKind.EXPECT_ARGUMENT_CLOSING_BRACE,p(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();){switch(this.char()){case 39:this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(o.ErrorKind.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,p(n,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(e>0))return{val:this.message.slice(t.offset,this.offset()),err:null};e-=1;break;default:this.bump()}}return{val:this.message.slice(t.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(e,t){var n=[];try{n=(0,u.parseNumberSkeletonFromString)(e)}
vendor: 5,035 bytes, line 9
9catch(e){return this.error(o.ErrorKind.INVALID_NUMBER_SKELETON,t)}return{val:{type:a.SKELETON_TYPE.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?(0,u.parseNumberSkeleton)(n):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(e,t,n,r){for(var i,a=!1,s=[],u=new Set,c=r.value,l=r.location;;){if(0===c.length){var f=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var d=this.tryParseDecimalInteger(o.ErrorKind.EXPECT_PLURAL_ARGUMENT_SELECTOR,o.ErrorKind.INVALID_PLURAL_ARGUMENT_SELECTOR);if(d.err)return d;l=p(f,this.clonePosition()),c=this.message.slice(f.offset,this.offset())}if(u.has(c))return this.error("select"===t?o.ErrorKind.DUPLICATE_SELECT_ARGUMENT_SELECTOR:o.ErrorKind.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===c&&(a=!0),this.bumpSpace();var h=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?o.ErrorKind.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:o.ErrorKind.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,p(this.clonePosition(),this.clonePosition()));var m=this.parseMessage(e+1,t,n);if(m.err)return m;var y=this.tryParseArgumentClose(h);if(y.err)return y;s.push([c,{value:m.val,location:p(h,this.clonePosition())}]),u.add(c),this.bumpSpace(),c=(i=this.parseIdentifierIfPossible()).value,l=i.location}return 0===s.length?this.error("select"===t?o.ErrorKind.EXPECT_SELECT_ARGUMENT_SELECTOR:o.ErrorKind.EXPECT_PLURAL_ARGUMENT_SELECTOR,p(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!a?this.error(o.ErrorKind.MISSING_OTHER_CLAUSE,p(this.clonePosition(),this.clonePosition())):{val:s,err:null}},e.prototype.tryParseDecimalInteger=function(e,t){var n=1,r=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var i=!1,o=0;!this.isEOF();){var a=this.char();if(!(a>=48&&a<=57))break;i=!0,o=10*o+(a-48),this.bump()}var s=p(r,this.clonePosition());return i?b(o*=n)?{val:o,err:null}:this.error(t,s):this.error(e,s)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=O(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},e.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},e.prototype.bump=function(){if(!this.isEOF()){var e=this.char();10===e?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2)}},e.prototype.bumpIf=function(e){if(S(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(e){var t=this.offset(),n=this.message.indexOf(e,t);return n>=0?(this.bumpTo(n),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(t>e)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&D(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),n=this.message.charCodeAt(t+(e>=65536?2:1));return null!=n?n:null},e}();function I(e){return e>=97&&e<=122||e>=65&&e<=90}function D(e){return e>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||8233===e}function C(e){return e>=33&&e<=35||36===e||e>=37&&e<=39||40===e||41===e||42===e||43===e||44===e||45===e||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||91===e||92===e||93===e||94===e||96===e||123===e||124===e||125===e||126===e||161===e||e>=162&&e<=165||166===e||167===e||169===e||171===e||172===e||174===e||176===e||177===e||182===e||187===e||191===e||215===e||247===e||e>=8208&&e<=8213||e>=8214&&e<=8215||8216===e||8217===e||8218===e||e>=8219&&e<=8220||8221===e||8222===e||8223===e||e>=8224&&e<=8231||e>=8240&&e<=8248||8249===e||8250===e||e>=8251&&e<=8254||e>=8257&&e<=8259||8260===e||8261===e||8262===e||e>=8263&&e<=8273||8274===e||8275===e||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||8608===e||e>=8609&&e<=8610||8611===e||e>=8612&&e<=8613||8614===e||e>=8615&&e<=8621||8622===e||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||8658===e||8659===e||8660===e||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||8968===e||8969===e||8970===e||8971===e||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||9001===e||9002===e||e>=9003&&e<=9083||9084===e||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||9655===e||e>
9=9656&&e<=9664||9665===e||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||9839===e||e>=9840&&e<=10087||10088===e||10089===e||10090===e||10091===e||10092===e||10093===e||10094===e||10095===e||10096===e||10097===e||10098===e||10099===e||10100===e||10101===e||e>=10132&&e<=10175||e>=10176&&e<=10180||10181===e||10182===e||e>=10183&&e<=10213||10214===e||10215===e||10216===e||10217===e||10218===e||10219===e||10220===e||10221===e||10222===e||10223===e||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||10627===e||10628===e||10629===e||10630===e||10631===e||10632===e||10633===e||10634===e||10635===e||10636===e||10637===e||10638===e||10639===e||10640===e||10641===e||10642===e||10643===e||10644===e||10645===e||10646===e||10647===e||10648===e||e>=10649&&e<=10711||10712===e||10713===e||10714===e||10715===e||e>=10716&&e<=10747||10748===e||10749===e||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||11158===e||e>=11159&&e<=11263||e>=11776&&e<=11777||11778===e||11779===e||11780===e||11781===e||e>=11782&&e<=11784||11785===e||11786===e||11787===e||11788===e||11789===e||e>=11790&&e<=11798||11799===e||e>=11800&&e<=11801||11802===e||11803===e||11804===e||11805===e||e>=11806&&e<=11807||11808===e||11809===e||11810===e||11811===e||11812===e||11813===e||11814===e||11815===e||11816===e||11817===e||e>=11818&&e<=11822||11823===e||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||11840===e||11841===e||11842===e||e>=11843&&e<=11855||e>=11856&&e<=11857||11858===e||e>=11859&&e<=11903||e>=12289&&e<=12291||12296===e||12297===e||12298===e||12299===e||12300===e||12301===e||12302===e||12303===e||12304===e||12305===e||e>=12306&&e<=12307||12308===e||12309===e||12310===e||12311===e||12312===e||12313===e||12314===e||12315===e||12316===e||12317===e||e>=12318&&e<=12319||12320===e||12336===e||64830===e||64831===e||e>=65093&&e<=65094}},(e,t,n)=>{"use strict";var r,i;function o(e){return e.type===r.literal}function a(e){return e.type===r.argument}function s(e){return e.type===r.number}function u(e){return e.type===r.date}function c(e){return e.type===r.time}function l(e){return e.type===r.select}function f(e){return e.type===r.plural}function p(e){return e.type===r.pound}function d(e){return e.type===r.tag}function h(e){return!(!e||"object"!=typeof e||e.type!==i.number)}function m(e){return!(!e||"object"!=typeof e||e.type!==i.dateTime)}function y(e){return{type:r.literal,value:e}}function g(e,t){return{type:r.number,value:e,style:t}}n.r(t),n.d(t,{SKELETON_TYPE:()=>i,TYPE:()=>r,createLiteralElement:()=>y,createNumberElement:()=>g,isArgumentElement:()=>a,isDateElement:()=>u,isDateTimeSkeleton:()=>m,isLiteralElement:()=>o,isNumberElement:()=>s,isNumberSkeleton:()=>h,isPluralElement:()=>f,isPoundElement:()=>p,isSelectElement:()=>l,isTagElement:()=>d,isTimeElement:()=>c}),function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag"}(r||(r={})),function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"}(i||(i={}))},(e,t,n)=>{"use strict";n.r(t),n.d(t,{SPACE_SEPARATOR_REGEX:()=>r,WHITE_SPACE_REGEX:()=>i});var r=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,i=/[\t-\r \x85\u200E\u200F\u2028\u2029]/},(e,t,n)=>{"use strict";n.r(t),n.d(t,{parseDateTimeSkeleton:()=>r.parseDateTimeSkeleton,parseNumberSkeleton:()=>i.parseNumberSkeleton,parseNumberSkeletonFromString:()=>i.parseNumberSkeletonFromString});var r=n(255),i=n(256)},(e,t,n)=>{"use strict";n.r(t),n.d(t,{parseDateTimeSkeleton:()=>i});var r=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function i(e){var t={};return e.replace(r,(function(e){var n=e.length;switch(e[0]){case"G":t.era=4===n?"long":5===n?"narrow":"short";break;case"y":t.year=2===n?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][n-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][n-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=4===n?"short":5===n?"narrow":"short";break;case"e":if(n<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"c":if(n<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][n-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][n-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][n-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][n-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][n-1];break;case"s":t.second=["numeric","2-digit"][n-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=n<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""})),t}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{parseNumberSkeleton:()=>h,parseNumberSkeletonFromString:()=>
vendor: 4,292 bytes, line 9
9o});var r=n(258),i=n(257);function o(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=[],n=0,r=e.split(i.WHITE_SPACE_REGEX).filter((function(e){return e.length>0}));n<r.length;n++){var o=r[n].split("/");if(0===o.length)throw new Error("Invalid number skeleton");for(var a=o[0],s=o.slice(1),u=0,c=s;u<c.length;u++){if(0===c[u].length)throw new Error("Invalid number skeleton")}t.push({stem:a,options:s})}return t}var a=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,s=/^(@+)?(\+|#+)?[rs]?$/g,u=/(\*)(0+)|(#+)(0+)|(0+)/g,c=/^(0+)$/;function l(e){var t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(s,(function(e,n,r){return"string"!=typeof r?(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length):"+"===r?t.minimumSignificantDigits=n.length:"#"===n[0]?t.maximumSignificantDigits=n.length:(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length+("string"==typeof r?r.length:0)),""})),t}function f(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function p(e){var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var n=e.slice(0,2);if("+!"===n?(t.signDisplay="always",e=e.slice(2)):"+?"===n&&(t.signDisplay="exceptZero",e=e.slice(2)),!c.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function d(e){var t=f(e);return t||{}}function h(e){for(var t={},n=0,i=e;n<i.length;n++){var o=i[n];switch(o.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=o.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=o.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=(0,r.__assign)((0,r.__assign)((0,r.__assign)({},t),{notation:"scientific"}),o.options.reduce((function(e,t){return(0,r.__assign)((0,r.__assign)({},e),d(t))}),{}));continue;case"engineering":t=(0,r.__assign)((0,r.__assign)((0,r.__assign)({},t),{notation:"engineering"}),o.options.reduce((function(e,t){return(0,r.__assign)((0,r.__assign)({},e),d(t))}),{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(o.options[0]);continue;case"integer-width":if(o.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");o.options[0].replace(u,(function(e,n,r,i,o,a){if(n)t.minimumIntegerDigits=r.length;else{if(i&&o)throw new Error("We currently do not support maximum integer digits");if(a)throw new Error("We currently do not support exact integer digits")}return""}));continue}if(c.test(o.stem))t.minimumIntegerDigits=o.stem.length;else if(a.test(o.stem)){if(o.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");o.stem.replace(a,(function(e,n,r,i,o,a){return"*"===r?t.minimumFractionDigits=n.length:i&&"#"===i[0]?t.maximumFractionDigits=i.length:o&&a?(t.minimumFractionDigits=o.length,t.maximumFractionDigits=o.length+a.length):(t.minimumFractionDigits=n.length,t.maximumFractionDigits=n.length),""}));var h=o.options[0];"w"===h?t=(0,r.__assign)((0,r.__assign)({}
vendor: 5,264 bytes, line 9
9,t),{trailingZeroDisplay:"stripIfInteger"}):h&&(t=(0,r.__assign)((0,r.__assign)({},t),l(h)))}else if(s.test(o.stem))t=(0,r.__assign)((0,r.__assign)({},t),l(o.stem));else{var m=f(o.stem);m&&(t=(0,r.__assign)((0,r.__assign)({},t),m));var y=p(o.stem);y&&(t=(0,r.__assign)((0,r.__assign)({},t),y))}}return t}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{WHITE_SPACE_REGEX:()=>r});var r=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i},(e,t,n)=>{"use strict";n.r(t),n.d(t,{__addDisposableResource:()=>P,__assign:()=>o,__asyncDelegator:()=>O,__asyncGenerator:()=>T,__asyncValues:()=>x,__await:()=>w,__awaiter:()=>h,__classPrivateFieldGet:()=>I,__classPrivateFieldIn:()=>C,__classPrivateFieldSet:()=>D,__createBinding:()=>y,__decorate:()=>s,__disposeResources:()=>M,__esDecorate:()=>c,__exportStar:()=>g,__extends:()=>i,__generator:()=>m,__importDefault:()=>A,__importStar:()=>N,__makeTemplateObject:()=>k,__metadata:()=>d,__param:()=>u,__propKey:()=>f,__read:()=>b,__rest:()=>a,__runInitializers:()=>l,__setFunctionName:()=>p,__spread:()=>_,__spreadArray:()=>S,__spreadArrays:()=>E,__values:()=>v,default:()=>j});var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)};function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var o=function(){return o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},o.apply(this,arguments)};function a(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}function s(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a}function u(e,t){return function(n,r){t(n,r,e)}}function c(e,t,n,r,i,o){function a(e){if(void 0!==e&&"function"!=typeof e)throw new TypeError("Function expected");return e}for(var s,u=r.kind,c="getter"===u?"get":"setter"===u?"set":"value",l=!t&&e?r.static?e:e.prototype:null,f=t||(l?Object.getOwnPropertyDescriptor(l,r.name):{}),p=!1,d=n.length-1;d>=0;d--){var h={};for(var m in r)h[m]="access"===m?{}:r[m];for(var m in r.access)h.access[m]=r.access[m];h.addInitializer=function(e){if(p)throw new TypeError("Cannot add initializers after decoration has completed");o.push(a(e||null))};var y=(0,n[d])("accessor"===u?{get:f.get,set:f.set}:f[c],h);if("accessor"===u){if(void 0===y)continue;if(null===y||"object"!=typeof y)throw new TypeError("Object expected");(s=a(y.get))&&(f.get=s),(s=a(y.set))&&(f.set=s),(s=a(y.init))&&i.unshift(s)}else(s=a(y))&&("field"===u?i.unshift(s):f[c]=s)}l&&Object.defineProperty(l,r.name,f),p=!0}function l(e,t,n){for(var r=arguments.length>2,i=0;i<t.length;i++)n=r?t[i].call(e,n):t[i].call(e);return r?n:void 0}function f(e){return"symbol"==typeof e?e:"".concat(e)}function p(e,t,n){return"symbol"==typeof t&&(t=t.description?"[".concat(t.description,"]"):""),Object.defineProperty(e,"name",{configurable:!0,value:n?"".concat(n," ",t):t})}function d(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function h(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{u(r.next(e))}catch(e){o(e)}}function s(e){try{u(r.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((r=r.apply(e,t||[])).next())}))}function m(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(u){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,s[0]&&(a=0)),a;)try{if(n=1,r&&(i=2&s[0]?r.return:s[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,s[1])).done)return i;switch(r=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]<i[3])){a.label=s[1];break}if(6===s[0]&&a.label<i[1]){a.label=i[1],i=s;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(s);break}i[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],r=0}finally{n=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,u])}}}var y=Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);
vendor: 5,169 bytes, line 9
9i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]};function g(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||y(t,e,n)}function v(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function b(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function _(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(b(arguments[t]));return e}function E(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),i=0;for(t=0;t<n;t++)for(var o=arguments[t],a=0,s=o.length;a<s;a++,i++)r[i]=o[a];return r}function S(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}function w(e){return this instanceof w?(this.v=e,this):new w(e)}function T(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=n.apply(e,t||[]),o=[];return r={},a("next"),a("throw"),a("return"),r[Symbol.asyncIterator]=function(){return this},r;function a(e){i[e]&&(r[e]=function(t){return new Promise((function(n,r){o.push([e,t,n,r])>1||s(e,t)}))})}function s(e,t){try{(n=i[e](t)).value instanceof w?Promise.resolve(n.value.v).then(u,c):l(o[0][2],n)}catch(e){l(o[0][3],e)}var n}function u(e){s("next",e)}function c(e){s("throw",e)}function l(e,t){e(t),o.shift(),o.length&&s(o[0][0],o[0][1])}}function O(e){var t,n;return t={},r("next"),r("throw",(function(e){throw e})),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,i){t[r]=e[r]?function(t){return(n=!n)?{value:w(e[r](t)),done:!1}:i?i(t):t}:i}}function x(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=v(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise((function(r,i){(function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)})(r,i,(t=e[n](t)).done,t.value)}))}}}function k(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var R=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t};function N(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&y(t,e,n);return R(t,e),t}function A(e){return e&&e.__esModule?e:{default:e}}function I(e,t,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)}function D(e,t,n,r,i){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!i)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!i:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?i.call(e,n):i?i.value=n:t.set(e,n),n}function C(e,t){if(null===t||"object"!=typeof t&&"function"!=typeof t)throw new TypeError("Cannot use 'in' operator on non-object");return"function"==typeof e?t===e:e.has(t)}function P(e,t,n){if(null!=t){if("object"!=typeof t&&"function"!=typeof t)throw new TypeError("Object expected.");var r;if(n){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");r=t[Symbol.asyncDispose]}if(void 0===r){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");r=t[Symbol.dispose]}if("function"!=typeof r)throw new TypeError("Object not disposable.");e.stack.push({value:t,dispose:r,async:n})}else n&&e.stack.push({async:!0});return t}var L="function"==typeof SuppressedError?SuppressedError:function(e,t,n){var r=new Error(n);return r.name="SuppressedError",r.error=e,r.suppressed=t,r};function M(e){function t(t){e.error=e.hasError?new L(t,e.error,"An error was suppressed during disposal."):t,e.hasError=!0}return function n(){for(;e.stack.length;){var r=e.stack.pop();try{var i=r.dispose&&r.dispose.call(r.value);if(r.async)return Promise.resolve(i).then(n,(function(e){return t(e),n()}))}catch(e){t(e)}}if(e.hasError)throw e.error}()}const j={__extends:i,__assign:o,__rest:a,__decorate:s,__param:u,__metadata:d,__awaiter:h,__generator:m,__createBinding:y,__exportStar:g,__values:v,__read:b,__spread:_,__spreadArrays:E,__spreadArray:S,__await:w,__asyncGenerator:T,__asyncDelegator:O,__asyncValues:x,__makeTemplateOb
9ject:k,__importStar:N,__importDefault:A,__classPrivateFieldGet:I,__classPrivateFieldSet:D,__classPrivateFieldIn:C,__addDisposableResource:P,__disposeResources:M}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{getBestPattern:()=>i});var r=n(260);function i(e,t){for(var n="",r=0;r<e.length;r++){var i=e.charAt(r);if("j"===i){for(var a=0;r+1<e.length&&e.charAt(r+1)===i;)a++,r++;var s=1+(1&a),u=a<2?1:3+(a>>1),c=o(t);for("H"!=c&&"k"!=c||(u=0);u-- >0;)n+="a";for(;s-- >0;)n=c+n}else n+="J"===i?"H":i}return n}function o(e){var t=e.hourCycle;if(void 0===t&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var n,i=e.language;return"root"!==i&&(n=e.maximize().region),(r.timeData[n||""]||r.timeData[i||""]||r.timeData["".concat(i,"-001")]||r.timeData["001"])[0]}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{timeData:()=>r});var r={"001":["H","h"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["H","h","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["H","hB","h","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["H","h","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],CV:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["H","hB","h","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["H","h","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["H","h","hB","hb"],HR:["H","hB"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","h","K"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MW:["h","hb","H","hB"],MX:["H","h","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["H","h","hB","hb"],NL:["H","hB"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["H","hB","h","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["H","h","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["H","h","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TL:["H","hB","hb","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["H","h","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{ErrorCode:()=>r,FormatError:()=>o,InvalidValueError:()=>a,InvalidValueTypeError:()=>s,MissingValueError:()=>u});var r,i=n(258);!function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"}(r||(r={}));var o=function(e){function t(t,n,r){var i=e.call(this,t)||this;return i.code=n,i.originalMessage=r,i}return(0,i.__extends)(t,e),t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),a=function(e){function t(t,n,i,o){return e.call(this,'Invalid values for "'.concat(t,'": "').concat(n,'". Options are "').concat(Object.keys(i).join('", "'),'"'),r.INVALID_VALUE,o)||this}return(0,i.__extends)(t,e),t}(o),s=function(e){function t(t,n,i){return e.call(this,'Value for "'.concat(t,'" must be of type ').concat(n),r.INVA
9LID_VALUE,i)||this}return(0,i.__extends)(t,e),t}(o),u=function(e){function t(t,n){return e.call(this,'The intl string context variable "'.concat(t,'" was not provided to the string "').concat(n,'"'),r.MISSING_VALUE,n)||this}return(0,i.__extends)(t,e),t}(o)},(e,t,n)=>{"use strict";n.r(t),n.d(t,{IntlMessageFormat:()=>c});var r=n(258),i=n(249),o=n(263),a=n(248);function s(e,t){return t?Object.keys(e).reduce((function(n,i){var o,a;return n[i]=(o=e[i],(a=t[i])?(0,r.__assign)((0,r.__assign)((0,r.__assign)({},o||{}),a||{}),Object.keys(o).reduce((function(e,t){return e[t]=(0,r.__assign)((0,r.__assign)({},o[t]),a[t]||{}),e}),{})):o),n}),(0,r.__assign)({},e)):e}function u(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,n){e[t]=n}}}}}var c=function(){function e(t,n,i,c){void 0===n&&(n=e.defaultLocale);var l,f=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var t=f.formatToParts(e);if(1===t.length)return t[0].value;var n=t.reduce((function(e,t){return e.length&&t.type===a.PART_TYPE.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e}),[]);return n.length<=1?n[0]||"":n},this.formatToParts=function(e){return(0,a.formatToParts)(f.ast,f.locales,f.formatters,f.formats,e,void 0,f.message)},this.resolvedOptions=function(){var e;return{locale:(null===(e=f.resolvedLocale)||void 0===e?void 0:e.toString())||Intl.NumberFormat.supportedLocalesOf(f.locales)[0]}},this.getAst=function(){return f.ast},this.locales=n,this.resolvedLocale=e.resolveLocale(n),"string"==typeof t){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var p=c||{},d=(p.formatters,(0,r.__rest)(p,["formatters"]));this.ast=e.__parse(t,(0,r.__assign)((0,r.__assign)({},d),{locale:this.resolvedLocale}))}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=s(e.formats,i),this.formatters=c&&c.formatters||(void 0===(l=this.formatterCache)&&(l={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:(0,o.memoize)((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,(0,r.__spreadArray)([void 0],t,!1)))}),{cache:u(l.number),strategy:o.strategies.variadic}),getDateTimeFormat:(0,o.memoize)((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,(0,r.__spreadArray)([void 0],t,!1)))}),{cache:u(l.dateTime),strategy:o.strategies.variadic}),getPluralRules:(0,o.memoize)((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,(0,r.__spreadArray)([void 0],t,!1)))}),{cache:u(l.pluralRules),strategy:o.strategies.variadic})})}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(e){if(void 0!==Intl.Locale){var t=Intl.NumberFormat.supportedLocalesOf(e);return t.length>0?new Intl.Locale(t[0]):new Intl.Locale("string"==typeof e?e:e[0])}},e.__parse=i.parse,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}()},(e,t,n)=>{"use strict";function r(e,t){var n=t&&t.cache?t.cache:l,r=t&&t.serializer?t.serializer:u;return(t&&t.strategy?t.strategy:s)(e,{cache:n,serializer:r})}function i(e,t,n,r){var i,o=null==(i=r)||"number"==typeof i||"boolean"==typeof i?r:n(r),a=t.get(o);return void 0===a&&(a=e.call(this,r),t.set(o,a)),a}function o(e,t,n){var r=Array.prototype.slice.call(arguments,3),i=n(r),o=t.get(i);return void 0===o&&(o=e.apply(this,r),t.set(i,o)),o}function a(e,t,n,r,i){return n.bind(t,e,r,i)}
9function s(e,t){return a(e,this,1===e.length?i:o,t.cache.create(),t.serializer)}n.r(t),n.d(t,{memoize:()=>r,strategies:()=>f});var u=function(){return JSON.stringify(arguments)};function c(){this.cache=Object.create(null)}c.prototype.get=function(e){return this.cache[e]},c.prototype.set=function(e,t){this.cache[e]=t};var l={create:function(){return new c}},f={variadic:function(e,t){return a(e,this,o,t.cache.create(),t.serializer)},monadic:function(e,t){return a(e,this,i,t.cache.create(),t.serializer)}}},,(e,t,n)=>{"use strict";var r=n(242);t.createRoot=r.createRoot,t.hydrateRoot=r.hydrateRoot},(e,t,n)=>{"use strict";n.r(t),n.d(t,{addBreadcrumb:()=>l,captureCheckIn:()=>b,captureEvent:()=>u,captureException:()=>a,captureMessage:()=>s,close:()=>E,configureScope:()=>c,flush:()=>_,lastEventId:()=>S,setContext:()=>f,setExtra:()=>d,setExtras:()=>p,setTag:()=>m,setTags:()=>h,setUser:()=>y,startTransaction:()=>v,withScope:()=>g});var r=n(278),i=n(274),o=n(267);function a(e,t){return(0,o.getCurrentHub)().captureException(e,{captureContext:t})}function s(e,t){const n="string"==typeof t?t:void 0,r="string"!=typeof t?{captureContext:t}:void 0;return(0,o.getCurrentHub)().captureMessage(e,n,r)}function u(e,t){return(0,o.getCurrentHub)().captureEvent(e,t)}function c(e){(0,o.getCurrentHub)().configureScope(e)}function l(e){(0,o.getCurrentHub)().addBreadcrumb(e)}function f(e,t){(0,o.getCurrentHub)().setContext(e,t)}function p(e){(0,o.getCurrentHub)().setExtras(e)}function d(e,t){(0,o.getCurrentHub)().setExtra(e,t)}function h(e){(0,o.getCurrentHub)().setTags(e)}function m(e,t){(0,o.getCurrentHub)().setTag(e,t)}function y(e){(0,o.getCurrentHub)().setUser(e)}function g(e){(0,o.getCurrentHub)().withScope(e)}function v(e,t){return(0,o.getCurrentHub)().startTransaction({...e},t)}function b(e,t){const n=(0,o.getCurrentHub)(),a=n.getScope(),s=n.getClient();if(s){if(s.captureCheckIn)return s.captureCheckIn(e,t,a);("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.logger.warn("Cannot capture check-in. Client does not support sending check-ins.")}else("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.logger.warn("Cannot capture check-in. No client defined.");return(0,i.uuid4)()}async function _(e){const t=(0,o.getCurrentHub)().getClient();return t?t.flush(e):(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.logger.warn("Cannot flush events. No client defined."),Promise.resolve(!1))}async function E(e){const t=(0,o.getCurrentHub)().getClient();return t?t.close(e):(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.logger.warn("Cannot flush events and disable SDK. No client defined."),Promise.resolve(!1))}function S(){return(0,o.getCurrentHub)().lastEventId()}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{API_VERSION:()=>l,Hub:()=>p,ensureHubOnCarrier:()=>g,getCurrentHub:()=>m,getHubFromCarrier:()=>E,getMainCarrier:()=>d,makeMain:()=>h,runWithAsyncContext:()=>b,setAsyncContextStrategy:()=>v,setHubOnCarrier:()=>S});var r=n(274),i=n(270),o=n(278),a=n(271),s=n(282),u=n(268),c=n(269);const l=4,f=100;class p{constructor(e,t=new u.Scope,n=l){this._version=n,this._stack=[{scope:t}],e&&this.bindClient(e)}isOlderThan(e){return this._version<e}bindClient(e){this.getStackTop().client=e,e&&e.setupIntegrations&&e.setupIntegrations()}pushScope(){const e=u.Scope.clone(this.getScope());return this.getStack().push({client:this.getClient(),scope:e}),e}popScope(){return!(this.getStack().length<=1)&&!!this.getStack().pop()}withScope(e){const t=this.pushScope();try{e(t)}finally{this.popScope()}}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getStack(){return this._stack}getStackTop(){return this._stack[this._stack.length-1]}captureException(e,t){const n=this._lastEventId=t&&t.event_id?t.event_id:(0,r.uuid4)(),i=new Error("Sentry syntheticException");return this._withClient(((r,o)=>{r.captureException(e,{originalException:e,syntheticException:i,...t,event_id:n},o)})),n}captureMessage(e,t,n){const i=this._lastEventId=n&&n.event_id?n.event_id:(0,r.uuid4)(),o=new Error(e);return this._withClient(((r,a)=>{r.captureMessage(e,t,{originalException:e,syntheticException:o,...n,event_id:i},a)})),i}captureEvent(e,t){const n=t&&t.event_id?t.event_id:(0,r.uuid4)();return e.type||(this._lastEventId=n),this._withClient(((r,i)=>{r.captureEvent(e,{...t,event_id:n},i)})),n}lastEventId(){return this._lastEventId}addBreadcrumb(e,t){const{scope:n,client:r}=this.getStackTop();if(!r)return;const{beforeBreadcrumb:a=null,maxBreadcrumbs:s=f}=r.getOptions&&r.getOptions()||{};if(s<=0)return;const u={timestamp:(0,i.dateTimestampInSeconds)(),...e},c=a?(0,o.consoleSandbox)((()=>a(u,t))):u;null!==c&&(r.emit&&r.emit("beforeAddBreadcrumb",c,t),n.addBreadcrumb(c,s))}
9setUser(e){this.getScope().setUser(e)}setTags(e){this.getScope().setTags(e)}setExtras(e){this.getScope().setExtras(e)}setTag(e,t){this.getScope().setTag(e,t)}setExtra(e,t){this.getScope().setExtra(e,t)}setContext(e,t){this.getScope().setContext(e,t)}configureScope(e){const{scope:t,client:n}=this.getStackTop();n&&e(t)}run(e){const t=h(this);try{e(this)}finally{h(t)}}getIntegration(e){const t=this.getClient();if(!t)return null;try{return t.getIntegration(e)}catch(t){return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.logger.warn(`Cannot retrieve integration ${e.id} from the current Hub`),null}}startTransaction(e,t){const n=this._callExtensionMethod("startTransaction",e,t);if(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&!n){this.getClient()?console.warn("Tracing extension 'startTransaction' has not been added. Call 'addTracingExtensions' before calling 'init':\nSentry.addTracingExtensions();\nSentry.init({...});\n"):console.warn("Tracing extension 'startTransaction' is missing. You should 'init' the SDK before calling 'startTransaction'")}return n}traceHeaders(){return this._callExtensionMethod("traceHeaders")}captureSession(e=!1){if(e)return this.endSession();this._sendSessionUpdate()}endSession(){const e=this.getStackTop().scope,t=e.getSession();t&&(0,c.closeSession)(t),this._sendSessionUpdate(),e.setSession()}startSession(e){const{scope:t,client:n}=this.getStackTop(),{release:r,environment:i=s.DEFAULT_ENVIRONMENT}=n&&n.getOptions()||{},{userAgent:o}=a.GLOBAL_OBJ.navigator||{},u=(0,c.makeSession)({release:r,environment:i,user:t.getUser(),...o&&{userAgent:o},...e}),l=t.getSession&&t.getSession();return l&&"ok"===l.status&&(0,c.updateSession)(l,{status:"exited"}),this.endSession(),t.setSession(u),u}shouldSendDefaultPii(){const e=this.getClient(),t=e&&e.getOptions();return Boolean(t&&t.sendDefaultPii)}_sendSessionUpdate(){const{scope:e,client:t}=this.getStackTop(),n=e.getSession();n&&t&&t.captureSession&&t.captureSession(n)}_withClient(e){const{scope:t,client:n}=this.getStackTop();n&&e(n,t)}_callExtensionMethod(e,...t){const n=d().__SENTRY__;if(n&&n.extensions&&"function"==typeof n.extensions[e])return n.extensions[e].apply(this,t);("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.logger.warn(`Extension method ${e} couldn't be found, doing nothing.`)}}function d(){return a.GLOBAL_OBJ.__SENTRY__=a.GLOBAL_OBJ.__SENTRY__||{extensions:{},hub:void 0},a.GLOBAL_OBJ}function h(e){const t=d(),n=E(t);return S(t,e),n}function m(){const e=d();if(e.__SENTRY__&&e.__SENTRY__.acs){const t=e.__SENTRY__.acs.getCurrentHub();if(t)return t}return y(e)}function y(e=d()){return _(e)&&!E(e).isOlderThan(l)||S(e,new p),E(e)}function g(e,t=y()){if(!_(e)||E(e).isOlderThan(l)){const n=t.getStackTop();S(e,new p(n.client,u.Scope.clone(n.scope)))}}function v(e){const t=d();t.__SENTRY__=t.__SENTRY__||{},t.__SENTRY__.acs=e}function b(e,t={}){const n=d();return n.__SENTRY__&&n.__SENTRY__.acs?n.__SENTRY__.acs.runWithAsyncContext(e,t):e()}function _(e){return!!(e&&e.__SENTRY__&&e.__SENTRY__.hub)}function E(e){return(0,a.getGlobalSingleton)("hub",(()=>new p),e)}function S(e,t){if(!e)return!1;return(e.__SENTRY__=e.__SENTRY__||{}).hub=t,!0}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{Scope:()=>u});var r=n(276),i=n(270),o=n(274),a=n(280),s=n(269);class u{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext=c()}static clone(e){const t=new u;return e&&(t._breadcrumbs=[...e._breadcrumbs],t._tags={...e._tags},t._extra={...e._extra},t._contexts={...e._contexts},t._user=e._user,t._level=e._level,t._span=e._span,t._session=e._session,t._transactionName=e._transactionName,t._fingerprint=e._fingerprint,t._eventProcessors=[...e._eventProcessors],t._requestSession=e._requestSession,t._attachments=[...e._attachments],t._sdkProcessingMetadata={...e._sdkProcessingMetadata},t._propagationContext={...e._propagationContext}),t}addScopeListener(e){this._scopeListeners.push(e)}addEventProcessor(e){return this._eventProcessors.push(e),this}setUser(e){return this._user=e||{},this._session&&(0,s.updateSession)(this._session,{user:e}),this._notifyScopeListeners(),this}getUser(){return this._user}getRequestSession(){return this._requestSession}setRequestSession(e){return this._requestSession=e,this}setTags(e){return this._tags={...this._tags,...e},this._notifyScopeListeners(),this}setTag(e,t){return this._tags={...this._tags,[e]:t},this._notifyScopeListeners(),this}setExtras(e){return this._extra={...this._extra,...e},this._notifyScopeListeners(),this}setExtra(e,t){return this._extra={...this._extra,[e]:t},this._notifyScopeListeners(),this}setFingerprint(e){return this._fingerprint=e,this._notifyScopeListeners(),this}setLevel(e){return this._level=e,this._notifyScopeListeners(),this}setTransactionName(e){return this._transactionName=e,this._notifyScopeListeners(),this}setContext(e,t){return null===t?delete this._contexts[e]:this._contexts[e]=t,this._notifyScopeListeners(),this}setSpan(e){return this._span=e,this._notifyScopeListeners(),this}getSpan(){return this._span}getTransaction(){const e=this.getSpan();return e&&e.transaction}setSession(e){return e?this._session=e:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(e){if(!e)return this;if("function"==typeof e){const t=e(this);return t instanceof u?t:this}return e instanceof u?(this._tags={...this._tags,...e._tags},this._extra={...this._extra,...e._extra},this._contexts={...this._contexts,...e._contexts},e._user&&Object.keys(e._user).length&&(this._user=e._user),e._level&&(this._level=e._level),e._fingerprint&&(this._fingerprint=e._fingerprint),e._requestSession&&(this._requestSession=e._requestSession),e._propagationContext&&(this._propagationContext=e._propagationContext)):(0,r.isPlainObject)(e)&&(this._tags={...this._tags,...e.tags},this._extra={...this._extra,...e.extra},this._contexts={...this._contexts,...e.contexts},e.user&&(this._user=e.user),e.level&&(this._level=e.level),e.fingerprint&&(this._fingerprint=e.fingerprint),e.requestSession&&(this._requestSession=e.requestSession),e.propagationContext&&(this._propagationContext=e.propagationContext)),this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._span=void 0,this._session=void 0,this._notifyScopeListeners(),this._attachments=[],this._propagationContext=c(),this}addBreadcrumb(e,t){const n="number"==typeof t?t:100;if(n<=0)return this;const r={timestamp:(0,i.dateTimestampInSeconds)(),...e},o=this._breadcrumbs;return o.push(r),this._breadcrumbs=o.length>n?o.slice(-n):o,this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(e){return this._attachments.push(e),this}getAttachments(){return this._attachments}clearAttachments(){return this._attachments=[],this}applyToEvent(e,t={}){if(this._extra&&Object.keys(this._extra).length&&(e.extra={...this._extra,...e.extra}),this._tags&&Object.keys(this._tags).length&&(e.tags={...this._tags,...e.tags}),this._user&&Object.keys(this._user).length&&(e.user={...this._user,...e.user}),this._contexts&&Object.keys(this._contexts).length&&(e.contexts={...this._contexts,...e.contexts}),this._level&&(e.level=this._level),this._transactionName&&(e.transaction=this._transactionName),this._span){e.contexts={trace:this._span.getTraceContext(),...e.contexts};const t=this._span.transaction;if(t){e.sdkProcessingMetadata={dynamicSamplingContext:t.getDynamicSamplingContext(),...e.sdkProcessingMetadata};const n=t.name;n&&(e.tags={transaction:n,...e.tags})}}this._applyFingerprint(e);const n=this._getBreadcrumbs(),r=[...e.breadcrumbs||[],...n];return e.breadcrumbs=r.length>0?r:void 0,e.sdkProcessingMetadata={...e.sdkProcessingMetadata,...this._sdkProcessingMetadata,prop
9agationContext:this._propagationContext},(0,a.notifyEventProcessors)([...(0,a.getGlobalEventProcessors)(),...this._eventProcessors],e,t)}setSDKProcessingMetadata(e){return this._sdkProcessingMetadata={...this._sdkProcessingMetadata,...e},this}setPropagationContext(e){return this._propagationContext=e,this}getPropagationContext(){return this._propagationContext}_getBreadcrumbs(){return this._breadcrumbs}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach((e=>{e(this)})),this._notifyingListeners=!1)}_applyFingerprint(e){e.fingerprint=e.fingerprint?(0,o.arrayify)(e.fingerprint):[],this._fingerprint&&(e.fingerprint=e.fingerprint.concat(this._fingerprint)),e.fingerprint&&!e.fingerprint.length&&delete e.fingerprint}}function c(){return{traceId:(0,o.uuid4)(),spanId:(0,o.uuid4)().substring(16)}}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{closeSession:()=>u,makeSession:()=>a,updateSession:()=>s});var r=n(270),i=n(274),o=n(277);function a(e){const t=(0,r.timestampInSeconds)(),n={sid:(0,i.uuid4)(),init:!0,timestamp:t,started:t,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>function(e){return(0,o.dropUndefinedKeys)({sid:`${e.sid}`,init:e.init,started:new Date(1e3*e.started).toISOString(),timestamp:new Date(1e3*e.timestamp).toISOString(),status:e.status,errors:e.errors,did:"number"==typeof e.did||"string"==typeof e.did?`${e.did}`:void 0,duration:e.duration,attrs:{release:e.release,environment:e.environment,ip_address:e.ipAddress,user_agent:e.userAgent}})}(n)};return e&&s(n,e),n}function s(e,t={}){if(t.user&&(!e.ipAddress&&t.user.ip_address&&(e.ipAddress=t.user.ip_address),e.did||t.did||(e.did=t.user.id||t.user.email||t.user.username)),e.timestamp=t.timestamp||(0,r.timestampInSeconds)(),t.ignoreDuration&&(e.ignoreDuration=t.ignoreDuration),t.sid&&(e.sid=32===t.sid.length?t.sid:(0,i.uuid4)()),void 0!==t.init&&(e.init=t.init),!e.did&&t.did&&(e.did=`${t.did}`),"number"==typeof t.started&&(e.started=t.started),e.ignoreDuration)e.duration=void 0;else if("number"==typeof t.duration)e.duration=t.duration;else{const t=e.timestamp-e.started;e.duration=t>=0?t:0}t.release&&(e.release=t.release),t.environment&&(e.environment=t.environment),!e.ipAddress&&t.ipAddress&&(e.ipAddress=t.ipAddress),!e.userAgent&&t.userAgent&&(e.userAgent=t.userAgent),"number"==typeof t.errors&&(e.errors=t.errors),t.status&&(e.status=t.status)}function u(e,t){let n={};t?n={status:t}:"ok"===e.status&&(n={status:"exited"}),s(e,n)}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{_browserPerformanceTimeOriginMode:()=>d,browserPerformanceTimeOrigin:()=>h,dateTimestampInSeconds:()=>c,timestampInSeconds:()=>l,timestampWithMs:()=>f,usingPerformanceAPI:()=>p});var r=n(272),i=n(271);e=n.hmd(e);const o=(0,i.getGlobalObject)(),a={nowSeconds:()=>Date.now()/1e3};const s=(0,r.isNodeEnv)()?function(){try{return(0,r.dynamicRequire)(e,"perf_hooks").performance}catch(e){return}}():function(){const{performance:e}=o;if(!e||!e.now)return;return{now:()=>e.now(),timeOrigin:Date.now()-e.now()}}(),u=void 0===s?a:{nowSeconds:()=>(s.timeOrigin+s.now())/1e3},c=a.nowSeconds.bind(a),l=u.nowSeconds.bind(u),f=l,p=void 0!==s;let d;const h=(()=>{const{performance:e}=o;if(!e||!e.now)return void(d="none");const t=36e5,n=e.now(),r=Date.now(),i=e.timeOrigin?Math.abs(e.timeOrigin+n-r):t,a=i<t,s=e.timing&&e.timing.navigationStart,u="number"==typeof s?Math.abs(s+n-r):t;return a||u<t?i<=u?(d="timeOrigin",e.timeOrigin):(d="navigationStart",s):(d="dateNow",r)})()},(e,t,n)=>{"use strict";function r(e){return e&&e.Math==Math?e:void 0}n.r(t),n.d(t,{GLOBAL_OBJ:()=>i,getGlobalObject:()=>o,getGlobalSingleton:()=>a});const i="object"==typeof globalThis&&r(globalThis)||"object"==typeof window&&r(window)||"object"==typeof self&&r(self)||"object"==typeof n.g&&r(n.g)||function(){return this}()||{};function o(){return i}function a(e,t,n){const r=n||i,o=r.__SENTRY__=r.__SENTRY__||{};return o[e]||(o[e]=t())}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{dynamicRequire:()=>o,isNodeEnv:()=>i,loadModule:()=>a});var r=n(273);function i(){return!(0,r.isBrowserBundle)()&&"[object process]"===Object.prototype.toString.call("undefined"!=typeof process?process:0)}function o(e,t){return e.require(t)}function a(t){let n;try{n=o(e,t)}catch(e){}try{const{cwd:r}=o(e,"process");n=o(e,`${r()}/node_modules/${t}`)}catch(e){}return n}e=n.hmd(e)},(e,t,n)=>{"use strict";function r(){return"undefined"!=typeof __SENTRY_BROWSER_BUNDLE__&&!!__SENTRY_BROWSER_BUNDLE__}function i(){return"npm"}n.r(t),n.d(t,{getSDKSource:()=>
9i,isBrowserBundle:()=>r})},(e,t,n)=>{"use strict";n.r(t),n.d(t,{addContextToFrame:()=>d,addExceptionMechanism:()=>l,addExceptionTypeValue:()=>c,arrayify:()=>m,checkOrSetAlreadyCaught:()=>h,getEventDescription:()=>u,parseSemver:()=>p,uuid4:()=>a});var r=n(277),i=n(275),o=n(271);function a(){const e=o.GLOBAL_OBJ,t=e.crypto||e.msCrypto;let n=()=>16*Math.random();try{if(t&&t.randomUUID)return t.randomUUID().replace(/-/g,"");t&&t.getRandomValues&&(n=()=>t.getRandomValues(new Uint8Array(1))[0])}catch(e){}return([1e7]+1e3+4e3+8e3+1e11).replace(/[018]/g,(e=>(e^(15&n())>>e/4).toString(16)))}function s(e){return e.exception&&e.exception.values?e.exception.values[0]:void 0}function u(e){const{message:t,event_id:n}=e;if(t)return t;const r=s(e);return r?r.type&&r.value?`${r.type}: ${r.value}`:r.type||r.value||n||"<unknown>":n||"<unknown>"}function c(e,t,n){const r=e.exception=e.exception||{},i=r.values=r.values||[],o=i[0]=i[0]||{};o.value||(o.value=t||""),o.type||(o.type=n||"Error")}function l(e,t){const n=s(e);if(!n)return;const r=n.mechanism;if(n.mechanism={type:"generic",handled:!0,...r,...t},t&&"data"in t){const e={...r&&r.data,...t.data};n.mechanism.data=e}}const f=/^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$/;function p(e){const t=e.match(f)||[],n=parseInt(t[1],10),r=parseInt(t[2],10),i=parseInt(t[3],10);return{buildmetadata:t[5],major:isNaN(n)?void 0:n,minor:isNaN(r)?void 0:r,patch:isNaN(i)?void 0:i,prerelease:t[4]}}function d(e,t,n=5){if(void 0===t.lineno)return;const r=e.length,o=Math.max(Math.min(r-1,t.lineno-1),0);t.pre_context=e.slice(Math.max(0,o-n),o).map((e=>(0,i.snipLine)(e,0))),t.context_line=(0,i.snipLine)(e[Math.min(r-1,o)],t.colno||0),t.post_context=e.slice(Math.min(o+1,r),o+1+n).map((e=>(0,i.snipLine)(e,0)))}function h(e){if(e&&e.__sentry_captured__)return!0;try{(0,r.addNonEnumerableProperty)(e,"__sentry_captured__",!0)}catch(e){}return!1}function m(e){return Array.isArray(e)?e:[e]}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{isMatchingPattern:()=>s,safeJoin:()=>a,snipLine:()=>o,stringMatchesSomePattern:()=>u,truncate:()=>i});var r=n(276);function i(e,t=0){return"string"!=typeof e||0===t||e.length<=t?e:`${e.slice(0,t)}...`}function o(e,t){let n=e;const r=n.length;if(r<=150)return n;t>r&&(t=r);let i=Math.max(t-60,0);i<5&&(i=0);let o=Math.min(i+140,r);return o>r-5&&(o=r),o===r&&(i=Math.max(o-140,0)),n=n.slice(i,o),i>0&&(n=`'{snip} ${n}`),o<r&&(n+=" {snip}"),n}function a(e,t){if(!Array.isArray(e))return"";const n=[];for(let t=0;t<e.length;t++){const i=e[t];try{(0,r.isVueViewModel)(i)?n.push("[VueViewModel]"):n.push(String(i))}catch(e){n.push("[value cannot be serialized]")}}return n.join(t)}function s(e,t,n=!1){return!!(0,r.isString)(e)&&((0,r.isRegExp)(t)?t.test(e):!!(0,r.isString)(t)&&(n?e===t:e.includes(t)))}function u(e,t=[],n=!1){return t.some((t=>s(e,t,n)))}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{isDOMError:()=>s,isDOMException:()=>u,isElement:()=>d,isError:()=>i,isErrorEvent:()=>a,isEvent:()=>p,isInstanceOf:()=>v,isNaN:()=>g,isPlainObject:()=>f,isPrimitive:()=>l,isRegExp:()=>h,isString:()=>c,isSyntheticEvent:()=>y,isThenable:()=>m,isVueViewModel:()=>b});const r=Object.prototype.toString;function i(e){switch(r.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return v(e,Error)}}function o(e,t){return r.call(e)===`[object ${t}]`}function a(e){return o(e,"ErrorEvent")}function s(e){return o(e,"DOMError")}function u(e){return o(e,"DOMException")}function c(e){return o(e,"String")}function l(e){return null===e||"object"!=typeof e&&"function"!=typeof e}function f(e){return o(e,"Object")}function p(e){return"undefined"!=typeof Event&&v(e,Event)}function d(e){return"undefined"!=typeof Element&&v(e,Element)}function h(e){return o(e,"RegExp")}function m(e){return Boolean(e&&e.then&&"function"==typeof e.then)}function y(e){return f(e)&&"nativeEvent"in e&&"preventDefault"in e&&"stopPropagation"in e}function g(e){return"number"==typeof e&&e!=e}function v(e,t){try{return e instanceof t}catch(e){return!1}}function b(e){return!("object"!=typeof e||null===e||!e.__isVue&&!e._isVue)}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{addNonEnumerableProperty:()=>u,convertToPlainObject:()=>p,dropUndefinedKeys:()=>y,extractExceptionKeysForMessage:()=>m,fill:()=>s,getOriginalFunction:()=>l,markFunctionWrapped:()=>c,objectify:()=>v,urlEncode:()=>f});var r=n(279),i=n(276),o=n(278),a=n(275);function s(e,t,n){if(!(t in e))return;const r=e[t],i=n(r);"function"==typeof i&&c(i,r),e[t]=i}function u(e,t,n){try{Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0})}catch(n){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.logger.log(`Failed to add non-enumerable property "${t}" to object`,e)}}function c(e,t){try{const n=t.prototype||{};e.prototype=t.prototype=n,u(e,"__sentry_original__",t)}catch(e){}}function l(e){return e.__sentry_original__}function f(e){return Object.keys(e).map((t=>`${encodeURIComponent(t)}=${encodeURIComponent(e[t])}`)).join("&")}function p(e){if((0,i.isError)(e))return{message:e.message,name:e.name,stack:e.stack,...h(e)};if((0,i.isEvent)(e)){const t={type:e.type,target:d(e.target),currentTarget:d(e.currentTarget),...h(e)};return"undefined"!=typeof CustomEvent&&(0,i.isInstanceOf)(e,CustomEvent)&&(t.detail=e.detail),t}return e}function d(e){try{return(0,i.isElement)(e)?(0,r.htmlTreeAsString)(e):Object.prototype.toString.call(e)}catch(e){return"<unknown>"}}function h(e){if("object"==typeof e&&null!==e){const t={};for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}return{}}function m(e,t=40){const n=Object.keys(p(e));if(n.sort(),!n.length)return"[object has no keys]";if(n[0].length>=t)return(0,a.truncate)(n[0],t);for(let e=n.length;e>0;e--){const r=n.slice(0,e).join(", ");
9if(!(r.length>t))return e===n.length?r:(0,a.truncate)(r,t)}return""}function y(e){return g(e,new Map)}function g(e,t){if((0,i.isPlainObject)(e)){const n=t.get(e);if(void 0!==n)return n;const r={};t.set(e,r);for(const n of Object.keys(e))void 0!==e[n]&&(r[n]=g(e[n],t));return r}if(Array.isArray(e)){const n=t.get(e);if(void 0!==n)return n;const r=[];return t.set(e,r),e.forEach((e=>{r.push(g(e,t))})),r}return e}function v(e){let t;switch(!0){case null==e:t=new String(e);break;case"symbol"==typeof e||"bigint"==typeof e:t=Object(e);break;case(0,i.isPrimitive)(e):t=new e.constructor(e);break;default:t=e}return t}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{CONSOLE_LEVELS:()=>i,consoleSandbox:()=>a,logger:()=>s,originalConsoleMethods:()=>o});var r=n(271);const i=["debug","info","warn","error","log","assert","trace"],o={};function a(e){if(!("console"in r.GLOBAL_OBJ))return e();const t=r.GLOBAL_OBJ.console,n={},i=Object.keys(o);i.forEach((e=>{const r=o[e];n[e]=t[e],t[e]=r}));try{return e()}finally{i.forEach((e=>{t[e]=n[e]}))}}const s=function(){let e=!1;const t={enable:()=>{e=!0},disable:()=>{e=!1}};return"undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__?i.forEach((n=>{t[n]=(...t)=>{e&&a((()=>{r.GLOBAL_OBJ.console[n](`Sentry Logger [${n}]:`,...t)}))}})):i.forEach((e=>{t[e]=()=>{}})),t}()},(e,t,n)=>{"use strict";n.r(t),n.d(t,{getDomElement:()=>c,getLocationHref:()=>u,htmlTreeAsString:()=>a});var r=n(276);const i=(0,n(271).getGlobalObject)(),o=80;function a(e,t={}){try{let n=e;const r=5,i=[];let a=0,u=0;const c=" > ",l=c.length;let f;const p=Array.isArray(t)?t:t.keyAttrs,d=!Array.isArray(t)&&t.maxStringLength||o;for(;n&&a++<r&&(f=s(n,p),!("html"===f||a>1&&u+i.length*l+f.length>=d));)i.push(f),u+=f.length,n=n.parentNode;return i.reverse().join(c)}catch(e){return"<unknown>"}}function s(e,t){const n=e,i=[];let o,a,s,u,c;if(!n||!n.tagName)return"";i.push(n.tagName.toLowerCase());const l=t&&t.length?t.filter((e=>n.getAttribute(e))).map((e=>[e,n.getAttribute(e)])):null;if(l&&l.length)l.forEach((e=>{i.push(`[${e[0]}="${e[1]}"]`)}));else if(n.id&&i.push(`#${n.id}`),o=n.className,o&&(0,r.isString)(o))for(a=o.split(/\s+/),c=0;c<a.length;c++)i.push(`.${a[c]}`);const f=["aria-label","type","name","title","alt"];for(c=0;c<f.length;c++)s=f[c],u=n.getAttribute(s),u&&i.push(`[${s}="${u}"]`);return i.join("")}function u(){try{return i.document.location.href}catch(e){return""}}function c(e){return i.document&&i.document.querySelector?i.document.querySelector(e):null}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{addGlobalEventProcessor:()=>u,getGlobalEventProcessors:()=>s,notifyEventProcessors:()=>c});var r=n(271),i=n(281),o=n(278),a=n(276);function s(){return(0,r.getGlobalSingleton)("globalEventProcessors",(()=>[]))}function u(e){s().push(e)}function c(e,t,n,r=0){return new i.SyncPromise(((i,s)=>{const u=e[r];if(null===t||"function"!=typeof u)i(t);else{const l=u({...t},n);("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.id&&null===l&&o.logger.log(`Event processor "${u.id}" dropped event`),(0,a.isThenable)(l)?l.then((t=>c(e,t,n,r+1).then(i))).then(null,s):c(e,l,n,r+1).then(i).then(null,s)}}))}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{SyncPromise:()=>s,rejectedSyncPromise:()=>a,resolvedSyncPromise:()=>o});var r,i=n(276);function o(e){return new s((t=>{t(e)}))}function a(e){return new s(((t,n)=>{n(e)}))}!function(e){e[e.PENDING=0]="PENDING";e[e.RESOLVED=1]="RESOLVED";e[e.REJECTED=2]="REJECTED"}(r||(r={}));class s{constructor(e){s.prototype.__init.call(this),s.prototype.__init2.call(this),s.prototype.__init3.call(this),s.prototype.__init4.call(this),this._state=r.PENDING,this._handlers=[];try{e(this._resolve,this._reject)}catch(e){this._reject(e)}}then(e,t){return new s(((n,r)=>{this._handlers.push([!1,t=>{if(e)try{n(e(t))}catch(e){r(e)}else n(t)},e=>{if(t)try{n(t(e))}catch(e){r(e)}else r(e)}]),this._executeHandlers()}))}catch(e){return this.then((e=>e),e)}finally(e){return new s(((t,n)=>{let r,i;return this.then((t=>{i=!1,r=t,e&&e()}),(t=>{i=!0,r=t,e&&e()})).then((()=>{i?n(r):t(r)}))}))}__init(){this._resolve=e=>{this._setResult(r.RESOLVED,e)}}__init2(){this._reject=e=>{this._setResult(r.REJECTED,e)}}__init3(){this._setResult=(e,t)=>{this._state===r.PENDING&&((0,i.isThenable)(t)?t.then(this._resolve,this._reject):(this._state=e,this._value=t,this._executeHandlers()))}}__init4(){this._executeHandlers=()=>
9{if(this._state===r.PENDING)return;const e=this._handlers.slice();this._handlers=[],e.forEach((e=>{e[0]||(this._state===r.RESOLVED&&e[1](this._value),this._state===r.REJECTED&&e[2](this._value),e[0]=!0)}))}}}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{DEFAULT_ENVIRONMENT:()=>r});const r="production"},,,,,,,,,(e,t,n)=>{"use strict";n.r(t),n.d(t,{cacheSlot:()=>i,forgetCache:()=>s,makeVar:()=>c,recallCache:()=>u});var r=n(292),i=new(n(297).Slot),o=new WeakMap;function a(e){var t=o.get(e);return t||o.set(e,t={vars:new Set,dep:(0,r.dep)()}),t}function s(e){a(e).vars.forEach((function(t){return t.forgetCache(e)}))}function u(e){a(e).vars.forEach((function(t){return t.attachCache(e)}))}function c(e){var t=new Set,n=new Set,r=function(s){if(arguments.length>0){if(e!==s){e=s,t.forEach((function(e){a(e).dep.dirty(r),function(e){e.broadcastWatches&&e.broadcastWatches()}(e)}));var u=Array.from(n);n.clear(),u.forEach((function(t){return t(e)}))}}else{var c=i.getValue();c&&(o(c),a(c).dep(r))}return e};r.onNextChange=function(e){return n.add(e),function(){n.delete(e)}};var o=r.attachCache=function(e){return t.add(e),a(e).vars.add(r),r};return r.forgetCache=function(e){return t.delete(e)},r}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{KeyTrie:()=>r.Trie,asyncFromGen:()=>a.asyncFromGen,bindContext:()=>a.bindContext,defaultMakeCacheKey:()=>c,dep:()=>s.dep,noContext:()=>a.noContext,nonReactive:()=>a.nonReactive,setTimeout:()=>a.setTimeout,wrap:()=>f});var r=n(293),i=n(294),o=n(295),a=n(296),s=n(300);let u;function c(...e){return(u||(u=new r.Trie("function"==typeof WeakMap))).lookupArray(e)}const l=new Set;function f(e,{max:t=Math.pow(2,16),makeCacheKey:n=c,keyArgs:r,subscribe:s}=Object.create(null)){const u=new i.Cache(t,(e=>e.dispose())),f=function(){const t=n.apply(null,r?r.apply(null,arguments):arguments);if(void 0===t)return e.apply(null,arguments);let i=u.get(t);i||(u.set(t,i=new o.Entry(e)),i.subscribe=s,i.forget=()=>u.delete(t));const c=i.recompute(Array.prototype.slice.call(arguments));return u.set(t,i),l.add(u),a.parentEntrySlot.hasValue()||(l.forEach((e=>e.clean())),l.clear()),c};function p(e){const t=u.get(e);t&&t.setDirty()}function d(e){const t=u.get(e);if(t)return t.peek()}function h(e){return u.delete(e)}return Object.defineProperty(f,"size",{get:()=>u.map.size,configurable:!1,enumerable:!1}),Object.freeze(f.options={max:t,makeCacheKey:n,keyArgs:r,subscribe:s}),f.dirtyKey=p,f.dirty=function(){p(n.apply(null,arguments))},f.peekKey=d,f.peek=function(){return d(n.apply(null,arguments))},f.forgetKey=h,f.forget=function(){return h(n.apply(null,arguments))},f.makeCacheKey=n,f.getKey=r?function(){return n.apply(null,r.apply(null,arguments))}:n,Object.freeze(f)}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{Trie:()=>s});const r=()=>Object.create(null),{forEach:i,slice:o}=Array.prototype,{hasOwnProperty:a}=Object.prototype;class s{constructor(e=!0,t=r){this.weakness=e,this.makeData=t}lookup(...e){return this.lookupArray(e)}lookupArray(e){let t=this;return i.call(e,(e=>t=t.getChildTrie(e))),a.call(t,"data")?t.data:t.data=this.makeData(o.call(e))}peek(...e){return this.peekArray(e)}peekArray(e){let t=this;for(let n=0,r=e.length;t&&n<r;++n){const r=this.weakness&&u(e[n])?t.weak:t.strong;t=r&&r.get(e[n])}return t&&t.data}getChildTrie(e){const t=this.weakness&&u(e)?this.weak||(this.weak=new WeakMap):this.strong||(this.strong=new Map);let n=t.get(e);return n||t.set(e,n=new s(this.weakness,this.makeData)),n}}function u(e){switch(typeof e){case"object":if(null===e)break;case"function":return!0}return!1}},(e,t,n)=>{"use strict";function r(){}n.r(t),n.d(t,{Cache:()=>i});class i{constructor(e=1/0,t=r){this.max=e,this.dispose=t,this.map=new Map,this.newest=null,this.oldest=null}has(e){return this.map.has(e)}get(e){const t=this.getNode(e);return t&&t.value}getNode(e){const t=this.map.get(e);if(t&&t!==this.newest){const{older:e,newer:n}=t;n&&(n.older=e),e&&(e.newer=n),t.older=this.newest,t.older.newer=t,t.newer=null,this.newest=t,t===this.oldest&&(this.oldest=n)}return t}set(e,t){let n=this.getNode(e);return n?n.value=t:(n={key:e,value:t,newer:null,older:this.newest},this.newest&&(this.newest.newer=n),this.newest=n,this.oldest=this.oldest||n,this.map.set(e,n),n.value)}clean(){for(;this.oldest&&this.map.size>this.max;)this.delete(this.oldest.key)}delete(e){const t=this.map.get(e);return!!t&&(t===this.newest&&(this.newest=t.older),t===this.oldest&&(this.oldest=t.newer),t.newer&&(t.newer.older=t.older),t.older&&(t.older.newer=t.newer),this.map.delete(e),this.dispose(t.value,e),!0)}}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{Entry:()=>c});var r=n(296),i=n(299);const o=[],a=100;function s(e,t){if(!e)throw new Error(t||"assertion failure")}function u(e){switch(e.length){case 0:throw new Error("unknown value");case 1:return e[0];case 2:throw e[1]}}class c{constructor(e){this.fn=e,this.parents=new Set,this.childValues=new Map,this.dirtyChildren=null,this.dirty=!0,this.recomputing=!1,this.value=[],this.deps=null,++c.count}peek(){if(1===this.value.length&&!p(this))return l(this),this.value[0]}recompute(e){return s(!this.recomputing,"already recomputing"),l(this),p(this)?function(e,t){b(e),r.parentEntrySlot.withValue(e,f,[e,t]),function(e,t){if("function"==typeof e.subscribe)try{(0,i.maybeUnsubscribe)(e),e.unsubscribe=e.subscribe.apply(null,t)}catch(t){return e.setDirty(),!1}return!0}(e,t)&&function(e){if(e.dirty=!1,p(e))return;h(e)}(e);return u(e.value)}(this,e):u(this.value)}setDirty(){this.dirty||(this.dirty=!0,this.value.length=0,d(this),(0,i.maybeUnsubscribe)(this))}dispose(){this.setDirty(),b(this),m(this,((e,t)=>{e.setDirty(),_(e,this)}))}forget(){this.dispose()}dependOn(e){e.add(this),this.deps||(this.deps=o.pop()||new Set),this.deps.add(e)}
9forgetDeps(){this.deps&&((0,i.arrayFromSet)(this.deps).forEach((e=>e.delete(this))),this.deps.clear(),o.push(this.deps),this.deps=null)}}function l(e){const t=r.parentEntrySlot.getValue();if(t)return e.parents.add(t),t.childValues.has(e)||t.childValues.set(e,[]),p(e)?y(t,e):g(t,e),t}function f(e,t){e.recomputing=!0,e.value.length=0;try{e.value[0]=e.fn.apply(null,t)}catch(t){e.value[1]=t}e.recomputing=!1}function p(e){return e.dirty||!(!e.dirtyChildren||!e.dirtyChildren.size)}function d(e){m(e,y)}function h(e){m(e,g)}function m(e,t){const n=e.parents.size;if(n){const r=(0,i.arrayFromSet)(e.parents);for(let i=0;i<n;++i)t(r[i],e)}}function y(e,t){s(e.childValues.has(t)),s(p(t));const n=!p(e);if(e.dirtyChildren){if(e.dirtyChildren.has(t))return}else e.dirtyChildren=o.pop()||new Set;e.dirtyChildren.add(t),n&&d(e)}function g(e,t){s(e.childValues.has(t)),s(!p(t));const n=e.childValues.get(t);0===n.length?e.childValues.set(t,t.value.slice(0)):function(e,t){const n=e.length;return n>0&&n===t.length&&e[n-1]===t[n-1]}(n,t.value)||e.setDirty(),v(e,t),p(e)||h(e)}function v(e,t){const n=e.dirtyChildren;n&&(n.delete(t),0===n.size&&(o.length<a&&o.push(n),e.dirtyChildren=null))}function b(e){e.childValues.size>0&&e.childValues.forEach(((t,n)=>{_(e,n)})),e.forgetDeps(),s(null===e.dirtyChildren)}function _(e,t){t.parents.delete(e),e.childValues.delete(t),v(e,t)}c.count=0},(e,t,n)=>{"use strict";n.r(t),n.d(t,{asyncFromGen:()=>r.asyncFromGen,bindContext:()=>r.bind,noContext:()=>r.noContext,nonReactive:()=>o,parentEntrySlot:()=>i,setTimeout:()=>r.setTimeout});var r=n(297);const i=new r.Slot;function o(e){return i.withValue(void 0,e)}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{Slot:()=>r.Slot,asyncFromGen:()=>s,bind:()=>i,noContext:()=>o,setTimeout:()=>a,wrapYieldingFiberMethods:()=>c});var r=n(298);const{bind:i,noContext:o}=r.Slot;function a(e,t){return setTimeout(i(e),t)}function s(e){return function(){const t=e.apply(this,arguments),n=i(t.next),r=i(t.throw);return new Promise(((e,i)=>{function o(n,r){try{var o=n.call(t,r)}catch(e){return i(e)}const u=o.done?e:a;var c;(c=o.value)&&"function"==typeof c.then?o.value.then(u,o.done?i:s):u(o.value)}const a=e=>o(n,e),s=e=>o(r,e);a()}))}}const u=[];function c(e){if(u.indexOf(e)<0){const t=(e,t)=>{const n=e[t];e[t]=function(){return o(n,arguments,this)}};t(e,"yield"),t(e.prototype,"run"),t(e.prototype,"throwInto"),u.push(e)}return e}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{Slot:()=>c});let r=null;const i={};let o=1;function a(e){try{return e()}catch(e){}}const s="@wry/context:Slot",u=a((()=>globalThis))||a((()=>global))||Object.create(null),c=u[s]||Array[s]||function(e){try{Object.defineProperty(u,s,{value:e,enumerable:!1,writable:!1,configurable:!0})}finally{return e}}(class{constructor(){this.id=["slot",o++,Date.now(),Math.random().toString(36).slice(2)].join(":")}hasValue(){for(let e=r;e;e=e.parent)if(this.id in e.slots){const t=e.slots[this.id];if(t===i)break;return e!==r&&(r.slots[this.id]=t),!0}return r&&(r.slots[this.id]=i),!1}getValue(){if(this.hasValue())return r.slots[this.id]}withValue(e,t,n,i){const o={__proto__:null,[this.id]:e},a=r;r={parent:a,slots:o};try{return t.apply(i,n)}finally{r=a}}static bind(e){const t=r;return function(){const n=r;try{return r=t,e.apply(this,arguments)}finally{r=n}}}static noContext(e,t,n){if(!r)return e.apply(n,t);{const i=r;try{return r=null,e.apply(n,t)}finally{r=i}}}})},(e,t,n)=>{"use strict";n.r(t),n.d(t,{arrayFromSet:()=>i,hasOwnProperty:()=>r,maybeUnsubscribe:()=>o});const{hasOwnProperty:r}=Object.prototype,i=Array.from||function(e){const t=[];return e.forEach((e=>t.push(e))),t};function o(e){const{unsubscribe:t}=e;"function"==typeof t&&(e.unsubscribe=void 0,t())}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{dep:()=>a});var r=n(296),i=n(299);const o={setDirty:!0,dispose:!0,forget:!0};function a(e){const t=new Map,n=e&&e.subscribe;function a(e){const o=r.parentEntrySlot.getValue();if(o){let r=t.get(e);r||t.set(e,r=new Set),o.dependOn(r),"function"==typeof n&&((0,i.maybeUnsubscribe)(r),r.unsubscribe=n(e))}}return a.dirty=function(e,n){const r=t.get(e);if(r){const a=n&&i.hasOwnProperty.call(o,n)?n:"setDirty";(0,i.arrayFromSet)(r).forEach((e=>e[a]())),t.delete(e),(0,i.maybeUnsubscribe)(r)}},a}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{useReactiveVar:()=>
9o});var r=n(242),i=n(302);function o(e){return(0,i.useSyncExternalStore)(r.useCallback((function(t){return e.onNextChange((function n(){t(),e.onNextChange(n)}))}),[e]),e,e)}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{useSyncExternalStore:()=>s});var r=n(303),i=n(242),o=n(311),a=!1,s=i.useSyncExternalStore||function(e,t,n){var s=t();!1===globalThis.__DEV__||a||s===t()||(a=!0,!1!==globalThis.__DEV__&&r.invariant.error(56));var c=i.useState({inst:{value:s,getSnapshot:t}}),l=c[0].inst,f=c[1];return o.canUseLayoutEffect?i.useLayoutEffect((function(){Object.assign(l,{value:s,getSnapshot:t}),u(l)&&f({inst:l})}),[e,s,t]):Object.assign(l,{value:s,getSnapshot:t}),i.useEffect((function(){return u(l)&&f({inst:l}),e((function(){u(l)&&f({inst:l})}))}),[e]),s};function u(e){var t=e.value,n=e.getSnapshot;try{return t!==n()}catch(e){return!0}}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{DEV:()=>a,InvariantError:()=>r.InvariantError,__DEV__:()=>a,global:()=>o.default,invariant:()=>r.invariant,maybe:()=>i.maybe,newInvariantError:()=>r.newInvariantError});var r=n(304),i=n(307),o=n(306),a=!1!==globalThis.__DEV__},(e,t,n)=>{"use strict";n.r(t),n.d(t,{ApolloErrorMessageHandler:()=>f,InvariantError:()=>i.InvariantError,invariant:()=>c,newInvariantError:()=>l});var r=n(258),i=n(305),o=n(308),a=n(306),s=n(309);function u(e){return function(t){for(var n=[],i=1;i<arguments.length;i++)n[i-1]=arguments[i];"number"==typeof t?e(p(t,n)):e.apply(void 0,(0,r.__spreadArray)([t],n,!1))}}var c=Object.assign((function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];e||(0,i.invariant)(e,p(t,n))}),{debug:u(i.invariant.debug),log:u(i.invariant.log),warn:u(i.invariant.warn),error:u(i.invariant.error)});function l(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return new i.InvariantError(p(e,t))}var f=Symbol.for("ApolloErrorMessageHandler_"+o.version);function p(e,t){if(void 0===t&&(t=[]),e){var n=t.map((function(e){return"string"==typeof e?e:(0,s.stringifyForDisplay)(e,2).slice(0,1e3)}));return a.default[f]&&a.default[f](e,n)||"An error occurred! For more details, see the full error text at https://go.apollo.dev/c/err#".concat(encodeURIComponent(JSON.stringify({version:o.version,message:e,args:n})))}}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{InvariantError:()=>s,default:()=>d,invariant:()=>u,setVerbosity:()=>p});var r=n(258),i="Invariant Violation",o=Object.setPrototypeOf,a=void 0===o?function(e,t){return e.__proto__=t,e}:o,s=function(e){function t(n){void 0===n&&(n=i);var r=e.call(this,"number"==typeof n?i+": "+n+" (see https://github.com/apollographql/invariant-packages)":n)||this;return r.framesToPop=1,r.name=i,a(r,t.prototype),r}return(0,r.__extends)(t,e),t}(Error);function u(e,t){if(!e)throw new s(t)}var c=["debug","log","warn","error","silent"],l=c.indexOf("log");function f(e){return function(){if(c.indexOf(e)>=l)return(console[e]||console.log).apply(console,arguments)}}function p(e){var t=c[l];return l=Math.max(0,c.indexOf(e)),t}!function(e){e.debug=f("debug"),e.log=f("log"),e.warn=f("warn"),e.error=f("error")}(u||(u={}));const d=u},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(307);const i=(0,r.maybe)((function(){return globalThis}))||(0,r.maybe)((function(){return window}))||(0,r.maybe)((function(){return self}))||(0,r.maybe)((function(){return global}))||(0,r.maybe)((function(){return r.maybe.constructor("return this")()}))},(e,t,n)=>{"use strict";function r(e){try{return e()}catch(e){}}n.r(t),n.d(t,{maybe:()=>r})},(e,t,n)=>{"use strict";n.r(t),n.d(t,{version:()=>r});var r="3.8.4"},(e,t,n)=>{"use strict";n.r(t),n.d(t,{stringifyForDisplay:()=>i});var r=n(310);function i(e,t){void 0===t&&(t=0);var n=(0,r.makeUniqueId)("stringifyForDisplay");return JSON.stringify(e,(function(e,t){return void 0===t?n:t}),t).split(JSON.stringify(n)).join("<undefined>")}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{makeUniqueId:()=>i});var r=new Map;function i(e){var t=r.get(e)||1;return r.set(e,t+1),"".concat(e,":").concat(t,":").concat(Math.random().toString(36).slice(2))}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{canUseAsyncIteratorSymbol:()=>s,canUseDOM:()=>
9u,canUseLayoutEffect:()=>l,canUseSymbol:()=>a,canUseWeakMap:()=>i,canUseWeakSet:()=>o});var r=n(303),i="function"==typeof WeakMap&&"ReactNative"!==(0,r.maybe)((function(){return navigator.product})),o="function"==typeof WeakSet,a="function"==typeof Symbol&&"function"==typeof Symbol.for,s=a&&Symbol.asyncIterator,u="function"==typeof(0,r.maybe)((function(){return window.document.createElement})),c=(0,r.maybe)((function(){return navigator.userAgent.indexOf("jsdom")>=0}))||!1,l=u&&!c},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.withoutGraphQLFetch=t.excludeGraphQLFetch=t.SentryLink=void 0;var r=n(372);Object.defineProperty(t,"SentryLink",{enumerable:!0,get:function(){return r.SentryLink}});var i=n(654);Object.defineProperty(t,"excludeGraphQLFetch",{enumerable:!0,get:function(){return i.excludeGraphQLFetch}}),Object.defineProperty(t,"withoutGraphQLFetch",{enumerable:!0,get:function(){return i.withoutGraphQLFetch}})},(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SentryLink=void 0;var r=n(258),i=n(373),o=n(392),a=n(468),s=n(567),u=n(569),c=function(e){function t(t){void 0===t&&(t={});var n=e.call(this)||this;return n.options=(0,s.withDefaults)(t),n}return(0,r.__extends)(t,e),t.prototype.request=function(e,t){var n,s,c=this.options;if(null!==(s=null===(n=c.shouldHandleOperation)||void 0===n?void 0:n.call(c,e))&&void 0!==s&&!s)return t(e);c.setTransaction&&(0,u.setTransaction)(e),c.setFingerprint&&(0,u.setFingerprint)(e);var l=c.attachBreadcrumbs,f=l?(0,a.makeBreadcrumb)(e,c):void 0;return new o.Observable((function(n){var o=t(e).subscribe({next:function(e){l&&(f.level=function(e){return e.errors&&e.errors.length>0?"error":"info"}(e),l.includeFetchResult&&(f.data.fetchResult=e),l.includeError&&e.errors&&e.errors.length>0&&(f.data.error=new i.ApolloError({graphQLErrors:e.errors}))),n.next(e)},complete:function(){l&&(0,u.attachBreadcrumbToSentry)(e,f,c),n.complete()},error:function(t){if(l){f.level="error";var i=void 0;if(function(e){return"object"==typeof e&&null!==e&&"response"in e&&"result"in e&&"statusCode"in e}(t)){var o=t.result;t.response;i=(0,r.__rest)(t,["result","response"]),l.includeFetchResult&&(f.data.fetchResult=o)}else i=t;l.includeError&&(f.data.error=i),(0,u.attachBreadcrumbToSentry)(e,f,c)}n.error(t)}});return function(){o.unsubscribe()}}))},t}(i.ApolloLink);t.SentryLink=c},(e,t,n)=>{"use strict";n.r(t),n.d(t,{ApolloCache:()=>c.ApolloCache,ApolloClient:()=>r.ApolloClient,ApolloError:()=>s.ApolloError,ApolloLink:()=>h.ApolloLink,Cache:()=>u.Cache,DocumentTransform:()=>_.DocumentTransform,HttpLink:()=>m.HttpLink,InMemoryCache:()=>l.InMemoryCache,MissingFieldError:()=>f.MissingFieldError,NetworkStatus:()=>a.NetworkStatus,Observable:()=>E.Observable,ObservableQuery:()=>o.ObservableQuery,checkFetcher:()=>m.checkFetcher,concat:()=>h.concat,createHttpLink:()=>m.createHttpLink,createSignalIfSupported:()=>m.createSignalIfSupported,defaultDataIdFromObject:()=>p.defaultDataIdFromObject,defaultPrinter:()=>m.defaultPrinter,disableExperimentalFragmentVariables:()=>T.disableExperimentalFragmentVariables,disableFragmentWarnings:()=>T.disableFragmentWarnings,empty:()=>h.empty,enableExperimentalFragmentVariables:()=>T.enableExperimentalFragmentVariables,execute:()=>h.execute,fallbackHttpConfig:()=>m.fallbackHttpConfig,from:()=>h.from,fromError:()=>y.fromError,fromPromise:()=>v.fromPromise,gql:()=>T.gql,isApolloError:()=>s.isApolloError,isNetworkRequestSettled:()=>a.isNetworkRequestSettled,isReference:()=>S.isReference,makeReference:()=>S.makeReference,makeVar:()=>d.makeVar,mergeOptions:()=>i.mergeOptions,parseAndCheckHttpResponse:()=>m.parseAndCheckHttpResponse,resetCaches:()=>T.resetCaches,rewriteURIForGET:()=>m.rewriteURIForGET,selectHttpOptionsAndBody:()=>m.selectHttpOptionsAndBody,selectHttpOptionsAndBodyInternal:()=>m.selectHttpOptionsAndBodyInternal,selectURI:()=>m.selectURI,serializeFetchParameter:()=>m.serializeFetchParameter,setLogVerbosity:()=>w.setVerbosity,split:()=>h.split,throwServerError:()=>b.throwServerError,toPromise:()=>g.toPromise});var r=n(374),i=n(375),o=n(427),a=n(426),s=n(416),u=n(435),c=n(436),l=n(437),f=n(445),p=n(438),d=n(291),h=n(446),m=n(451),y=n(404),g=n(453),v=n(454),b=n(417),_=n(422),E=n(392),S=n(396),w=n(305),T=n(455);(0,w.setVerbosity)(!1!==globalThis.__DEV__?"log":"silent")},(e,t,n)=>{"use strict";n.r(t),n.d(t,{ApolloClient:()=>d,mergeOptions:()=>f.mergeOptions});var r=n(258),i=n(303),o=n(391),a=n(434),s=n(308),u=n(377),c=n(420),l=n(418),f=n(375),p=!1,d=function(){function e(e){var t=this;if(this.resetStoreCallbacks=[],this.clearStoreCallbacks=[],!e.cac
9he)throw(0,i.newInvariantError)(13);var n=e.uri,r=e.credentials,a=e.headers,f=e.cache,p=e.documentTransform,d=e.ssrMode,h=void 0!==d&&d,m=e.ssrForceFetchDelay,y=void 0===m?0:m,g=e.connectToDevTools,v=void 0===g?"object"==typeof window&&!window.__APOLLO_CLIENT__&&!1!==globalThis.__DEV__:g,b=e.queryDeduplication,_=void 0===b||b,E=e.defaultOptions,S=e.assumeImmutableResults,w=void 0===S?f.assumeImmutableResults:S,T=e.resolvers,O=e.typeDefs,x=e.fragmentMatcher,k=e.name,R=e.version,N=e.link;N||(N=n?new u.HttpLink({uri:n,credentials:r,headers:a}):o.ApolloLink.empty()),this.link=N,this.cache=f,this.disableNetworkFetches=h||y>0,this.queryDeduplication=_,this.defaultOptions=E||Object.create(null),this.typeDefs=O,y&&setTimeout((function(){return t.disableNetworkFetches=!1}),y),this.watchQuery=this.watchQuery.bind(this),this.query=this.query.bind(this),this.mutate=this.mutate.bind(this),this.resetStore=this.resetStore.bind(this),this.reFetchObservableQueries=this.reFetchObservableQueries.bind(this),this.version=s.version,this.localState=new l.LocalState({cache:f,client:this,resolvers:T,fragmentMatcher:x}),this.queryManager=new c.QueryManager({cache:this.cache,link:this.link,defaultOptions:this.defaultOptions,documentTransform:p,queryDeduplication:_,ssrMode:h,clientAwareness:{name:k,version:R},localState:this.localState,assumeImmutableResults:w,onBroadcast:v?function(){t.devToolsHookCb&&t.devToolsHookCb({action:{},state:{queries:t.queryManager.getQueryStore(),mutations:t.queryManager.mutationStore||{}},dataWithOptimisticResults:t.cache.extract(!0)})}:void 0}),v&&this.connectToDevTools()}return e.prototype.connectToDevTools=function(){if("object"==typeof window){var e=window,t=Symbol.for("apollo.devtools");(e[t]=e[t]||[]).push(this),e.__APOLLO_CLIENT__=this}p||!1===globalThis.__DEV__||(p=!0,setTimeout((function(){if("undefined"!=typeof window&&window.document&&window.top===window.self&&!window.__APOLLO_DEVTOOLS_GLOBAL_HOOK__){var e=window.navigator,t=e&&e.userAgent,n=void 0;"string"==typeof t&&(t.indexOf("Chrome/")>-1?n="https://chrome.google.com/webstore/detail/apollo-client-developer-t/jdkknkkbebbapilgoeccciglkfbmbnfm":t.indexOf("Firefox/")>-1&&(n="https://addons.mozilla.org/en-US/firefox/addon/apollo-developer-tools/")),n&&!1!==globalThis.__DEV__&&i.invariant.log("Download the Apollo DevTools for a better development experience: %s",n)}}),1e4))},Object.defineProperty(e.prototype,"documentTransform",{get:function(){return this.queryManager.documentTransform},enumerable:!1,configurable:!0}),e.prototype.stop=function(){this.queryManager.stop()},e.prototype.watchQuery=function(e){return this.defaultOptions.watchQuery&&(e=(0,f.mergeOptions)(this.defaultOptions.watchQuery,e)),!this.disableNetworkFetches||"network-only"!==e.fetchPolicy&&"cache-and-network"!==e.fetchPolicy||(e=(0,r.__assign)((0,r.__assign)({},e),{fetchPolicy:"cache-first"})),this.queryManager.watchQuery(e)},e.prototype.query=function(e){return this.defaultOptions.query&&(e=(0,f.mergeOptions)(this.defaultOptions.query,e)),(0,i.invariant)("cache-and-network"!==e.fetchPolicy,14),this.disableNetworkFetches&&"network-only"===e.fetchPolicy&&(e=(0,r.__assign)((0,r.__assign)({},e),{fetchPolicy:"cache-first"})),this.queryManager.query(e)},e.prototype.mutate=function(e){return this.defaultOptions.mutate&&(e=(0,f.mergeOptions)(this.defaultOptions.mutate,e)),this.queryManager.mutate(e)},e.prototype.subscribe=function(e){return this.queryManager.startGraphQLSubscription(e)},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!1),this.cache.readQuery(e,t)},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!1),this.cache.readFragment(e,t)},e.prototype.writeQuery=function(e){var t=this.cache.writeQuery(e);return!1!==e.broadcast&&this.queryManager.broadcastQueries(),t},e.prototype.writeFragment=function(e){var t=this.cache.writeFragment(e);return!1!==e.broadcast&&this.queryManager.broadcastQueries(),t},e.prototype.__actionHookForDevTools=function(e){this.devToolsHookCb=e},e.prototype.__requestRaw=function(e){return(0,a.execute)(this.link,e)},e.prototype.resetStore=function(){var e=this;return Promise.resolve().then((function(){return e.queryManager.clearStore({discardWatches:!1})})).then((function(){return Promise.all(e.resetStoreCallbacks.map((function(e){return e()})))})).then((function(){return e.reFetchObservableQueries()}))},e.prototype.clearStore=function(){var e=this;return Promise.resolve().then((function(){return e.queryManager.clearStore({discardWatches:!0})})).then((function(){return Promise.all(e.clearStoreCallbacks.map((function(e){return e()})))}))},e.prototype.onResetStore=function(e){var t=this;return this.resetStoreCallbacks.push(e),function(){t.resetStoreCallbacks=t.resetStoreCallbacks.filter((function(t){return t!==e}))}},e.prototype.onClearStore=function(e){var t=this;return this.clearStoreCallbacks.push(e),function(){t.clearStoreCallbacks=t.clearStoreCallbacks.filter((function(t){return t!==e}))}},e.prototype.reFetchObservableQueries=function(e){return this.queryManager.reFetchObservableQueries(e)},e.prototype.refetchQueries=function(e){var t=this.queryManager.refetchQueries(e),n=[],r=[];t.forEach((function(e,t){n.push(t),r.push(e)}));var o=Promise.all(r);return o.queries=n,o.results=r,o.catch((function(e){!1!==globalThis.__DEV__&&i.invariant.debug(15,e)})),o},e.prototype.getObservableQueries=function(e){return void 0===e&&(e="active"),this.queryManager.getObservableQueries(e)},e.prototype.extract=function(e){return this.cache.extract(e)},e.prototype.restore=function(e){return this.cache.restore(e)},e.prototype.addResolvers=function(e){this.localState.addResolvers(e)},e.prototype.setResolvers=function(e){this.localState.setResolvers(e)},e.prototype.getResolvers=function(){return this.localState.getResolvers()},e.prototype.setLocalStateFragmentMatcher=function(e){this.localState.setFragmentMatcher(e)},e.prototype.setLink=function(e){this.link=this.queryManager.link=e},e}()},(e,t,n)=>{"use strict";n.r(t),n.d(t,{mergeOptions:()=>o});var r=n(258),i=n(376);function o(e,t){return(0,i.compact)(e,t,t.variables&&{variables:(0,i.compact)((0,r.__assign)((0,r.__assign)({},e&&e.variables),t.variables))})}},(e,t,n)=>{"use strict";function r(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=Object.create(null);return e.forEach((function(e){e&&Object.keys(e).forEach((function(t){var r=e[t];void 0!==r&&(n[t]=r)}))}
9)),n}n.r(t),n.d(t,{compact:()=>r})},(e,t,n)=>{"use strict";n.r(t),n.d(t,{HttpLink:()=>a});var r=n(258),i=n(391),o=n(378),a=function(e){function t(t){void 0===t&&(t={});var n=e.call(this,(0,o.createHttpLink)(t).request)||this;return n.options=t,n}return(0,r.__extends)(t,e),t}(i.ApolloLink)},(e,t,n)=>{"use strict";n.r(t),n.d(t,{createHttpLink:()=>b});var r=n(258),i=n(303),o=n(391),a=n(401),s=n(392),u=n(407),c=n(400),l=n(408),f=n(390),p=n(379),d=n(406),h=n(404),m=n(405),y=n(402),g=n(395),v=(0,i.maybe)((function(){return fetch})),b=function(e){void 0===e&&(e={});var t=e.uri,n=void 0===t?"/graphql":t,b=e.fetch,_=e.print,E=void 0===_?p.defaultPrinter:_,S=e.includeExtensions,w=e.preserveHeaderCase,T=e.useGETForQueries,O=e.includeUnusedVariables,x=void 0!==O&&O,k=(0,r.__rest)(e,["uri","fetch","print","includeExtensions","preserveHeaderCase","useGETForQueries","includeUnusedVariables"]);!1!==globalThis.__DEV__&&(0,f.checkFetcher)(b||v);var R={http:{includeExtensions:S,preserveHeaderCase:w},options:k.fetchOptions,credentials:k.credentials,headers:k.headers};return new o.ApolloLink((function(e){var t=(0,c.selectURI)(e,n),o=e.getContext(),f={};if(o.clientAwareness){var _=o.clientAwareness,S=_.name,w=_.version;S&&(f["apollographql-client-name"]=S),w&&(f["apollographql-client-version"]=w)}var O=(0,r.__assign)((0,r.__assign)({},f),o.headers),k={http:o.http,options:o.fetchOptions,credentials:o.credentials,headers:O};if((0,a.hasDirectives)(["client"],e.query)){var N=(0,y.removeClientSetsFromDocument)(e.query);if(!N)return(0,h.fromError)(new Error("HttpLink: Trying to send a client-only query to the server. To send to the server, ensure a non-client field is added to the query or set the `transformOptions.removeClientFields` option to `true`."));e.query=N}var A,I=(0,p.selectHttpOptionsAndBodyInternal)(e,E,p.fallbackHttpConfig,R,k),D=I.options,C=I.body;C.variables&&!x&&(C.variables=(0,m.filterOperationVariables)(C.variables,e.query)),D.signal||"undefined"==typeof AbortController||(A=new AbortController,D.signal=A.signal);var P,L="OperationDefinition"===(P=(0,g.getMainDefinition)(e.query)).kind&&"subscription"===P.operation,M=(0,a.hasDirectives)(["defer"],e.query);if(T&&!e.query.definitions.some((function(e){return"OperationDefinition"===e.kind&&"mutation"===e.operation}))&&(D.method="GET"),M||L){D.headers=D.headers||{};var j="multipart/mixed;";L&&M&&!1!==globalThis.__DEV__&&i.invariant.warn(36),L?j+="boundary=graphql;subscriptionSpec=1.0,application/json":M&&(j+="deferSpec=20220824,application/json"),D.headers.accept=j}if("GET"===D.method){var F=(0,d.rewriteURIForGET)(t,C),U=F.newURI,B=F.parseError;if(B)return(0,h.fromError)(B);t=U}else try{D.body=(0,u.serializeFetchParameter)(C,"Payload")}catch(B){return(0,h.fromError)(B)}return new s.Observable((function(n){var r=b||(0,i.maybe)((function(){return fetch}))||v,o=n.next.bind(n);return r(t,D).then((function(t){var n;e.setContext({response:t});var r=null===(n=t.headers)||void 0===n?void 0:n.get("content-type");return null!==r&&/^multipart\/mixed/i.test(r)?(0,l.readMultipartBody)(t,o):(0,l.parseAndCheckHttpResponse)(e)(t).then(o)})).then((function(){A=void 0,n.complete()})).catch((function(e){A=void 0,(0,l.handleError)(e,n)})),function(){A&&A.abort()}}))}))}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{defaultPrinter:()=>a,fallbackHttpConfig:()=>o,selectHttpOptionsAndBody:()=>s,selectHttpOptionsAndBodyInternal:()=>u});var r=n(258),i=n(380),o={http:{includeQuery:!0,includeExtensions:!1,preserveHeaderCase:!1},headers:{accept:"*/*","content-type":"application/json"},options:{method:"POST"}},a=function(e,t){return t(e)};function s(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];return n.unshift(t),u.apply(void 0,(0,r.__spreadArray)([e,a],n,!1))}function u(e,t){for(var n=[],o=2;o<arguments.length;o++)n[o-2]=arguments[o];var a={},s={};n.forEach((function(e){a=(0,r.__assign)((0,r.__assign)((0,r.__assign)({},a),e.options),{headers:(0,r.__assign)((0,r.__assign)({},a.headers),e.headers)}),e.credentials&&(a.credentials=e.credentials),s=(0,r.__assign)((0,r.__assign)({},s),e.http)})),a.headers&&(a.headers=function(e,t){if(!t){var n=Object.create(null);
9return Object.keys(Object(e)).forEach((function(t){n[t.toLowerCase()]=e[t]})),n}var r=Object.create(null);Object.keys(Object(e)).forEach((function(t){r[t.toLowerCase()]={originalName:t,value:e[t]}}));var i=Object.create(null);return Object.keys(r).forEach((function(e){i[r[e].originalName]=r[e].value})),i}(a.headers,s.preserveHeaderCase));var u=e.operationName,c=e.extensions,l=e.variables,f=e.query,p={operationName:u,variables:l};return s.includeExtensions&&(p.extensions=c),s.includeQuery&&(p.query=t(f,i.print)),{options:a,body:p}}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{print:()=>o});var r=n(381),i=n(311).canUseWeakMap?new WeakMap:void 0,o=function(e){var t;return(t=null==i?void 0:i.get(e))||(t=(0,r.print)(e),null==i||i.set(e,t)),t}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{print:()=>a});var r=n(387),i=n(389),o=n(382);function a(e){return(0,o.visit)(e,s)}const s={Name:{leave:e=>e.value},Variable:{leave:e=>"$"+e.name},Document:{leave:e=>u(e.definitions,"\n\n")},OperationDefinition:{leave(e){const t=l("(",u(e.variableDefinitions,", "),")"),n=u([e.operation,u([e.name,t]),u(e.directives," ")]," ");return("query"===n?"":n+" ")+e.selectionSet}},VariableDefinition:{leave:({variable:e,type:t,defaultValue:n,directives:r})=>e+": "+t+l(" = ",n)+l(" ",u(r," "))},SelectionSet:{leave:({selections:e})=>c(e)},Field:{leave({alias:e,name:t,arguments:n,directives:r,selectionSet:i}){const o=l("",e,": ")+t;let a=o+l("(",u(n,", "),")");return a.length>80&&(a=o+l("(\n",f(u(n,"\n")),"\n)")),u([a,u(r," "),i]," ")}},Argument:{leave:({name:e,value:t})=>e+": "+t},FragmentSpread:{leave:({name:e,directives:t})=>"..."+e+l(" ",u(t," "))},InlineFragment:{leave:({typeCondition:e,directives:t,selectionSet:n})=>u(["...",l("on ",e),u(t," "),n]," ")},FragmentDefinition:{leave:({name:e,typeCondition:t,variableDefinitions:n,directives:r,selectionSet:i})=>`fragment ${e}${l("(",u(n,", "),")")} on ${t} ${l("",u(r," ")," ")}`+i},IntValue:{leave:({value:e})=>e},FloatValue:{leave:({value:e})=>e},StringValue:{leave:({value:e,block:t})=>t?(0,r.printBlockString)(e):(0,i.printString)(e)},BooleanValue:{leave:({value:e})=>e?"true":"false"},NullValue:{leave:()=>"null"},EnumValue:{leave:({value:e})=>e},ListValue:{leave:({values:e})=>"["+u(e,", ")+"]"},ObjectValue:{leave:({fields:e})=>"{"+u(e,", ")+"}"},ObjectField:{leave:({name:e,value:t})=>e+": "+t},Directive:{leave:({name:e,arguments:t})=>"@"+e+l("(",u(t,", "),")")},NamedType:{leave:({name:e})=>e},ListType:{leave:({type:e})=>"["+e+"]"},NonNullType:{leave:({type:e})=>e+"!"},SchemaDefinition:{leave:({description:e,directives:t,operationTypes:n})=>l("",e,"\n")+u(["schema",u(t," "),c(n)]," ")},OperationTypeDefinition:{leave:({operation:e,type:t})=>e+": "+t},ScalarTypeDefinition:{leave:({description:e,name:t,directives:n})=>l("",e,"\n")+u(["scalar",t,u(n," ")]," ")},ObjectTypeDefinition:{leave:({description:e,name:t,interfaces:n,directives:r,fields:i})=>l("",e,"\n")+u(["type",t,l("implements ",u(n," & ")),u(r," "),c(i)]," ")},FieldDefinition:{leave:({description:e,name:t,arguments:n,type:r,directives:i})=>l("",e,"\n")+t+(p(n)?l("(\n",f(u(n,"\n")),"\n)"):l("(",u(n,", "),")"))+": "+r+l(" ",u(i," "))},InputValueDefinition:{leave:({description:e,name:t,type:n,defaultValue:r,directives:i})=>l("",e,"\n")+u([t+": "+n,l("= ",r),u(i," ")]," ")},InterfaceTypeDefinition:{leave:({description:e,name:t,interfaces:n,directives:r,fields:i})=>l("",e,"\n")+u(["interface",t,l("implements ",u(n," & ")),u(r," "),c(i)]," ")},UnionTypeDefinition:{leave:({description:e,name:t,directives:n,types:r})=>l("",e,"\n")+u(["union",t,u(n," "),l("= ",u(r," | "))]," ")},EnumTypeDefinition:{leave:({description:e,name:t,directives:n,values:r})=>l("",e,"\n")+u(["enum",t,u(n," "),c(r)]," ")},EnumValueDefinition:{leave:({description:e,name:t,directives:n})=>l("",e,"\n")+u([t,u(n," ")]," ")},InputObjectTypeDefinition:{leave:({description:e,name:t,directives:n,fields:r})=>l("",e,"\n")+u(["input",t,u(n," "),c(r)]," ")},DirectiveDefinition:{leave:({description:e,name:t,arguments:n,repeatable:r,locations:i})=>l("",e,"\n")+"directive @"+t+(p(n)?l("(\n",f(u(n,"\n")),"\n)"):l("(",u(n,", "),")"))+(r?" repeatable":"")+" on "+u(i," | ")},SchemaExtension:{leave:({directives:e,operationTypes:t})=>u(["extend schema",u(e," "),c(t)]," ")},ScalarTypeExtension:{leave:({name:e,directives:t})=>u(["extend scalar",e,u(t," ")]," ")},ObjectTypeExtension:{leave:({name:e,interfaces:t,directives:n,fields:r})=>u(["extend type",e,l("implements ",u(t," & ")),u(n," "),c(r)]," ")},InterfaceTypeExtension:{leave:({name:e,interfaces:t,directives:n,fields:r})=>u(["extend interface",e,l("implements ",u(t," & ")),u(n," "),c(r)]," ")},UnionTypeExtension:{leave:({name:e,directives:t,types:n})=>u(["extend union",e,u(t," "),l("= ",u(n," | "))]," ")},EnumTypeExtension:{leave:({name:e,directives:t,values:n})=>u(["extend enum",e,u(t," "),c(n)]," ")},InputObjectTypeExtension:{leave:({name:e,directives:t,fields:n})=>u(["extend input",e,u(t," "),c(n)]," ")}};function u(e,t=""){var n;return null!==(n=null==e?void 0:e.filter((e=>e)).join(t))&&void 0!==n?n:""}function c(e){return l("{\n",f(u(e,"\n")),"\n}")}function l(e,t,n=""){return null!=t&&""!==t?e+t+n:""}function f(e){return l("  ",e.replace(/\n/g,"\n  "))}function p(e){var t;return null!==(t=null==e?void 0:e.some((e=>e.includes("\n"))))&&void 0!==t&&t}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{BREAK:()=>s,getEnterLeaveForKind:()=>l,getVisitFn:()=>f,visit:()=>u,visitInParallel:()=>c});var r=n(385),i=n(386),o=n(383),a=n(384);const s=Object.freeze({});function u(e,t,n=o.QueryDocumentKeys){const u=new Map;for(const e of Object.values(a.Kind))u.set(e,l(t,e));let c,f,p,d=Array.isArray(e),h=[e],m=-1,y=[],g=e;const v=[],b=[];do{m++;const e=m===h.length,a=e&&0!==y.length;if(e){if(f=0===b.length?void 0:v[v.length-1],g=p,p=b.pop(),a)if(d){g=g.slice();let e=0;for(const[t,n]of y){const r=t-e;null===n?(g.splice(r,1),e++):g[r]=n}}else{g=Object.defineProperties({},Object.getOwnPropertyDescriptors(g));for(const[e,t]of y)g[e]=t}m=c.index,h=c.keys,y=c.edits,d=c.inArray,c=c.prev}else if(p){if(f=d?m:h[m],g=p[f],null==g)continue;v.push(f)}let l;if(!Array.isArray(g)){var _,E;(0,o.isNode)(g)||(0,r.devAssert)(!1,`Invalid AST Node: ${(0,i.inspect)(g)}.`);const n=e?null===(_=u.get(g.kind))||void 0===_?void 0:_.leave:null===(E=u.get(g.kind))||void 0===E?void 0:E.enter;if(l=null==n?void 0:n.call(t,g,f,p,v,b),l===s)break;if(!1===l){if(!e){v.pop();continue}}else if(void 0!==l&&(y.push([f,l]),!e)){if(!(0,o.isNode)(l)){v.pop();continue}g=l}}var S;if(void 0===l&&a&&y.push([f,g]),e)v.pop();else c={inArray:d,index:m,keys:h,edits:y,prev:c},d=Array.isArray(g),h=d?g:null!==(S=n[g.kind])&&void 0!==S?S:[],m=-1,y=[],p&&b.push(p),p=g}while(void 0!==c);return 0!==y.length?y[y.length-1][1]:e}function c(e){const t=new Array(e.length).fill(null),n=Object.create(null);for(const r of Object.values(a.Kind)){let i=!1;const o=new Array(e.length).fill(void 0),a=new Array(e.length).fill(void 0);for(let t=0;t<e.length;
9++t){const{enter:n,leave:s}=l(e[t],r);i||(i=null!=n||null!=s),o[t]=n,a[t]=s}if(!i)continue;const u={enter(...n){const r=n[0];for(let a=0;a<e.length;a++)if(null===t[a]){var i;const u=null===(i=o[a])||void 0===i?void 0:i.apply(e[a],n);if(!1===u)t[a]=r;else if(u===s)t[a]=s;else if(void 0!==u)return u}},leave(...n){const r=n[0];for(let o=0;o<e.length;o++)if(null===t[o]){var i;const r=null===(i=a[o])||void 0===i?void 0:i.apply(e[o],n);if(r===s)t[o]=s;else if(void 0!==r&&!1!==r)return r}else t[o]===r&&(t[o]=null)}};n[r]=u}return n}function l(e,t){const n=e[t];return"object"==typeof n?n:"function"==typeof n?{enter:n,leave:void 0}:{enter:e.enter,leave:e.leave}}function f(e,t,n){const{enter:r,leave:i}=l(e,t);return n?i:r}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{Location:()=>r,OperationTypeNode:()=>u,QueryDocumentKeys:()=>o,Token:()=>i,isNode:()=>s});class r{constructor(e,t,n){this.start=e.start,this.end=t.end,this.startToken=e,this.endToken=t,this.source=n}get[Symbol.toStringTag](){return"Location"}toJSON(){return{start:this.start,end:this.end}}}class i{constructor(e,t,n,r,i,o){this.kind=e,this.start=t,this.end=n,this.line=r,this.column=i,this.value=o,this.prev=null,this.next=null}get[Symbol.toStringTag](){return"Token"}toJSON(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}}}const o={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]},a=new Set(Object.keys(o));function s(e){const t=null==e?void 0:e.kind;return"string"==typeof t&&a.has(t)}var u;!function(e){e.QUERY="query",e.MUTATION="mutation",e.SUBSCRIPTION="subscription"}(u||(u={}))},(e,t,n)=>{"use strict";var r;n.r(t),n.d(t,{Kind:()=>r}),function(e){e.NAME="Name",e.DOCUMENT="Document",e.OPERATION_DEFINITION="OperationDefinition",e.VARIABLE_DEFINITION="VariableDefinition",e.SELECTION_SET="SelectionSet",e.FIELD="Field",e.ARGUMENT="Argument",e.FRAGMENT_SPREAD="FragmentSpread",e.INLINE_FRAGMENT="InlineFragment",e.FRAGMENT_DEFINITION="FragmentDefinition",e.VARIABLE="Variable",e.INT="IntValue",e.FLOAT="FloatValue",e.STRING="StringValue",e.BOOLEAN="BooleanValue",e.NULL="NullValue",e.ENUM="EnumValue",e.LIST="ListValue",e.OBJECT="ObjectValue",e.OBJECT_FIELD="ObjectField",e.DIRECTIVE="Directive",e.NAMED_TYPE="NamedType",e.LIST_TYPE="ListType",e.NON_NULL_TYPE="NonNullType",e.SCHEMA_DEFINITION="SchemaDefinition",e.OPERATION_TYPE_DEFINITION="OperationTypeDefinition",e.SCALAR_TYPE_DEFINITION="ScalarTypeDefinition",e.OBJECT_TYPE_DEFINITION="ObjectTypeDefinition",e.FIELD_DEFINITION="FieldDefinition",e.INPUT_VALUE_DEFINITION="InputValueDefinition",e.INTERFACE_TYPE_DEFINITION="InterfaceTypeDefinition",e.UNION_TYPE_DEFINITION="UnionTypeDefinition",e.ENUM_TYPE_DEFINITION="EnumTypeDefinition",e.ENUM_VALUE_DEFINITION="EnumValueDefinition",e.INPUT_OBJECT_TYPE_DEFINITION="InputObjectTypeDefinition",e.DIRECTIVE_DEFINITION="DirectiveDefinition",e.SCHEMA_EXTENSION="SchemaExtension",e.SCALAR_TYPE_EXTENSION="ScalarTypeExtension",e.OBJECT_TYPE_EXTENSION="ObjectTypeExtension",e.INTERFACE_TYPE_EXTENSION="InterfaceTypeExtension",e.UNION_TYPE_EXTENSION="UnionTypeExtension",e.ENUM_TYPE_EXTENSION="EnumTypeExtension",e.INPUT_OBJECT_TYPE_EXTENSION="InputObjectTypeExtension"}(r||(r={}))},(e,t,n)=>{"use strict";function r(e,t){if(!Boolean(e))throw new Error(t)}n.r(t),n.d(t,{devAssert:()=>r})},(e,t,n)=>{"use strict";n.r(t),n.d(t,{inspect:()=>o});const r=10,i=2;function o(e){return a(e,[])}function a(e,t){switch(typeof e){case"string":return JSON.stringify(e);case"function":return e.name?`[function ${e.name}]`:"[function]";case"object":return function(e,t){if(null===e)return"null";if(t.includes(e))return"[Circular]";const n=[...t,e];if(function(e){return"function"==typeof e.toJSON}(e)){const t=e.toJSON();if(t!==e)return"string"==typeof t?t:a(t,n)}else if(Array.isArray(e))return function(e,t){if(0===e.length)return"[]";if(t.length>i)return"[Array]";const n=Math.min(r,e.length),o=e.length-n,s=[];for(let r=0;r<n;++r)s.push(a(e[r],t));1===o?s.push("... 1 more item"):o>1&&s.push(`... ${o} more items`);return"["+s.join(", ")+"]"}(e,n);return function(e,t){const n=Object.entries(e);if(0===n.length)return"{}";if(t.length>i)return"["+function(e){const t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if("Object"===t&&"function"==typeof e.constructor){const t=e.constructor.name;if("string"==typeof t&&""!==t)return t}return t}(e)+"]";const r=n.map((([e,n])=>e+": "+a(n,t)));return"{ "+r.join(", ")+" }"}(e,n)}(e,t);default:return String(e)}}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{dedentBlockStringLines:()=>i,isPrintableAsBlockString:()=>a,printBlockString:()=>s});var r=n(388);function i(e){var t;let n=Number.MAX_SAFE_INTEGER,r=null,i=-1;for(let t=0;t<e.length;++t){var a;const s=e[t],u=o(s);u!==s.length&&(r=null!==(a=r)&&void 0!==a?a:t,i=t,0!==t&&u<n&&(n=u))}return e.map(((e,t)=>0===t?e:e.slice(n))).slice(null!==(t=r)&&void 0!==t?t:0,i+1)}function o(e){let t=0;for(;t<e.length&&(0,r.isWhiteSpace)(e.charCodeAt(t));)++t;return t}function a(e){if(""===e)return!0;let t=!0,n=!1,r=!0,i=!1;for(let o=0;o<e.length;++o)switch(e.codePointAt(o)){case 0:case 1:case 2:case 3:case 4:case 5:case 
96:case 7:case 8:case 11:case 12:case 14:case 15:case 13:return!1;case 10:if(t&&!i)return!1;i=!0,t=!0,n=!1;break;case 9:case 32:n||(n=t);break;default:r&&(r=n),t=!1}return!t&&(!r||!i)}function s(e,t){const n=e.replace(/"""/g,'\\"""'),i=n.split(/\r\n|[\n\r]/g),o=1===i.length,a=i.length>1&&i.slice(1).every((e=>0===e.length||(0,r.isWhiteSpace)(e.charCodeAt(0)))),s=n.endsWith('\\"""'),u=e.endsWith('"')&&!s,c=e.endsWith("\\"),l=u||c,f=!(null!=t&&t.minimize)&&(!o||e.length>70||l||a||s);let p="";const d=o&&(0,r.isWhiteSpace)(e.charCodeAt(0));return(f&&!d||a)&&(p+="\n"),p+=n,(f||l)&&(p+="\n"),'"""'+p+'"""'}},(e,t,n)=>{"use strict";function r(e){return 9===e||32===e}function i(e){return e>=48&&e<=57}function o(e){return e>=97&&e<=122||e>=65&&e<=90}function a(e){return o(e)||95===e}function s(e){return o(e)||i(e)||95===e}n.r(t),n.d(t,{isDigit:()=>i,isLetter:()=>o,isNameContinue:()=>s,isNameStart:()=>a,isWhiteSpace:()=>r})},(e,t,n)=>{"use strict";function r(e){return`"${e.replace(i,o)}"`}n.r(t),n.d(t,{printString:()=>r});const i=/[\x00-\x1f\x22\x5c\x7f-\x9f]/g;function o(e){return a[e.charCodeAt(0)]}const a=["\\u0000","\\u0001","\\u0002","\\u0003","\\u0004","\\u0005","\\u0006","\\u0007","\\b","\\t","\\n","\\u000B","\\f","\\r","\\u000E","\\u000F","\\u0010","\\u0011","\\u0012","\\u0013","\\u0014","\\u0015","\\u0016","\\u0017","\\u0018","\\u0019","\\u001A","\\u001B","\\u001C","\\u001D","\\u001E","\\u001F","","",'\\"',"","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\\\","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\u007F","\\u0080","\\u0081","\\u0082","\\u0083","\\u0084","\\u0085","\\u0086","\\u0087","\\u0088","\\u0089","\\u008A","\\u008B","\\u008C","\\u008D","\\u008E","\\u008F","\\u0090","\\u0091","\\u0092","\\u0093","\\u0094","\\u0095","\\u0096","\\u0097","\\u0098","\\u0099","\\u009A","\\u009B","\\u009C","\\u009D","\\u009E","\\u009F"]},(e,t,n)=>{"use strict";n.r(t),n.d(t,{checkFetcher:()=>i});var r=n(303),i=function(e){if(!e&&"undefined"==typeof fetch)throw(0,r.newInvariantError)(35)}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{ApolloLink:()=>f});var r=n(303),i=n(392),o=n(393),a=n(394),s=n(399);function u(e,t){return t?t(e):i.Observable.of()}function c(e){return"function"==typeof e?new f(e):e}function l(e){return e.request.length<=1}var f=function(){function e(e){e&&(this.request=e)}return e.empty=function(){return new e((function(){return i.Observable.of()}))},e.from=function(t){return 0===t.length?e.empty():t.map(c).reduce((function(e,t){return e.concat(t)}))},e.split=function(t,n,r){var o=c(n),a=c(r||new e(u));return l(o)&&l(a)?new e((function(e){return t(e)?o.request(e)||i.Observable.of():a.request(e)||i.Observable.of()})):new e((function(e,n){return t(e)?o.request(e,n)||i.Observable.of():a.request(e,n)||i.Observable.of()}))},e.execute=function(e,t){return e.request((0,o.createOperation)(t.context,(0,a.transformOperation)((0,s.validateOperation)(t))))||i.Observable.of()},e.concat=function(t,n){var o=c(t);if(l(o))return!1!==globalThis.__DEV__&&r.invariant.warn(33,o),o;var a=c(n);return l(a)?new e((function(e){return o.request(e,(function(e){return a.request(e)||i.Observable.of()}))||i.Observable.of()})):new e((function(e,t){return o.request(e,(function(e){return a.request(e,t)||i.Observable.of()}))||i.Observable.of()}))},e.prototype.split=function(t,n,r){return this.concat(e.split(t,n,r||new e(u)))},e.prototype.concat=function(t){return e.concat(this,t)},e.prototype.request=function(e,t){throw(0,r.newInvariantError)(34)},e.prototype.onError=function(e,t){if(t&&t.error)return t.error(e),!1;throw e},e.prototype.setOnError=function(e){return this.onError=e,this},e}()},(e,t,n)=>{"use strict";function r(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return i(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function a(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}n.r(t),n.d(t,{Observable:()=>T});var s=function(){return"function"==typeof Symbol},u=function(e){return s()&&Boolean(Symbol[e])},c=function(e){return u(e)?Symbol[e]:"@@"+e};s()&&!u("observable")&&(Symbol.observable=Symbol("observable"));var l=c("iterator"),f=c("observable"),p=c("species");function d(e,t){var n=e[t];if(null!=n){if("function"!=typeof n)throw new TypeError(n+" is not a function");return n}}function h(e){var t=e.constructor;return void 0!==t&&null===(t=t[p])&&(t=void 0),void 0!==t?t:T}function m(e){return e instanceof T}
vendor: 4,288 bytes, line 9
9function y(e){y.log?y.log(e):setTimeout((function(){throw e}))}function g(e){Promise.resolve().then((function(){try{e()}catch(e){y(e)}}))}function v(e){var t=e._cleanup;if(void 0!==t&&(e._cleanup=void 0,t))try{if("function"==typeof t)t();else{var n=d(t,"unsubscribe");n&&n.call(t)}}catch(e){y(e)}}function b(e){e._observer=void 0,e._queue=void 0,e._state="closed"}function _(e,t,n){e._state="running";var r=e._observer;try{var i=d(r,t);switch(t){case"next":i&&i.call(r,n);break;case"error":if(b(e),!i)throw n;i.call(r,n);break;case"complete":b(e),i&&i.call(r)}}catch(e){y(e)}"closed"===e._state?v(e):"running"===e._state&&(e._state="ready")}function E(e,t,n){if("closed"!==e._state){if("buffering"!==e._state)return"ready"!==e._state?(e._state="buffering",e._queue=[{type:t,value:n}],void g((function(){return function(e){var t=e._queue;if(t){e._queue=void 0,e._state="ready";for(var n=0;n<t.length&&(_(e,t[n].type,t[n].value),"closed"!==e._state);++n);}}(e)}))):void _(e,t,n);e._queue.push({type:t,value:n})}}var S=function(){function e(e,t){this._cleanup=void 0,this._observer=e,this._queue=void 0,this._state="initializing";var n=new w(this);try{this._cleanup=t.call(void 0,n)}catch(e){n.error(e)}"initializing"===this._state&&(this._state="ready")}return e.prototype.unsubscribe=function(){"closed"!==this._state&&(b(this),v(this))},a(e,[{key:"closed",get:function(){return"closed"===this._state}}]),e}(),w=function(){function e(e){this._subscription=e}var t=e.prototype;return t.next=function(e){E(this._subscription,"next",e)},t.error=function(e){E(this._subscription,"error",e)},t.complete=function(){E(this._subscription,"complete")},a(e,[{key:"closed",get:function(){return"closed"===this._subscription._state}}]),e}(),T=function(){function e(t){if(!(this instanceof e))throw new TypeError("Observable cannot be called as a function");if("function"!=typeof t)throw new TypeError("Observable initializer must be a function");this._subscriber=t}var t=e.prototype;return t.subscribe=function(e){return"object"==typeof e&&null!==e||(e={next:e,error:arguments[1],complete:arguments[2]}),new S(e,this._subscriber)},t.forEach=function(e){var t=this;return new Promise((function(n,r){if("function"==typeof e)var i=t.subscribe({next:function(t){try{e(t,o)}catch(e){r(e),i.unsubscribe()}},error:r,complete:n});else r(new TypeError(e+" is not a function"));function o(){i.unsubscribe(),n()}}))},t.map=function(e){var t=this;if("function"!=typeof e)throw new TypeError(e+" is not a function");return new(h(this))((function(n){return t.subscribe({next:function(t){try{t=e(t)}catch(e){return n.error(e)}n.next(t)},error:function(e){n.error(e)},complete:function(){n.complete()}})}))},t.filter=function(e){var t=this;if("function"!=typeof e)throw new TypeError(e+" is not a function");return new(h(this))((function(n){return t.subscribe({next:function(t){try{if(!e(t))return}catch(e){return n.error(e)}n.next(t)},error:function(e){n.error(e)},complete:function(){n.complete()}})}))},t.reduce=function(e){var t=this;if("function"!=typeof e)throw new TypeError(e+" is not a function");var n=h(this),r=arguments.length>1,i=!1,o=arguments[1];return new n((function(n){return t.subscribe({next:function(t){var a=!i;if(i=!0,!a||r)try{o=e(o,t)}catch(e){return n.error(e)}else o=t},error:function(e){n.error(e)},complete:function(){if(!i&&!r)return n.error(new TypeError("Cannot reduce an empty sequence"));n.next(o),n.complete()}})}))},t.concat=function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var i=h(this);return new i((function(t){var r,o=0;return function e(a){r=a.subscribe({next:function(e){t.next(e)},error:function(e){t.error(e)},complete:function(){o===n.length?(r=void 0,t.complete()):e(i.from(n[o++]))}})}(e),function(){r&&(r.unsubscribe(),r=void 0)}}))},t.flatMap=function(e){var t=this;if("function"!=typeof e)throw new TypeError(e+" is not a function");var n=h(this);return new n((function(r){var i=[],o=t.subscribe({next:function(t){if(e)try{t=e(t)}catch(e){return r.error(e)}var o=n.from(t).subscribe({next:function(e){r.next(e)},error:function(e){r.error(e)},complete:function(){var e=i.indexOf(o);e>=0&&i.splice(e,1),a()}});i.push(o)},error:function(e){r.error(e)},complete:function(){a()}});function a(){o.closed&&0===i.length&&r.complete()}
9return function(){i.forEach((function(e){return e.unsubscribe()})),o.unsubscribe()}}))},t[f]=function(){return this},e.from=function(t){var n="function"==typeof this?this:e;if(null==t)throw new TypeError(t+" is not an object");var i=d(t,f);if(i){var o=i.call(t);if(Object(o)!==o)throw new TypeError(o+" is not an object");return m(o)&&o.constructor===n?o:new n((function(e){return o.subscribe(e)}))}if(u("iterator")&&(i=d(t,l)))return new n((function(e){g((function(){if(!e.closed){for(var n,o=r(i.call(t));!(n=o()).done;){var a=n.value;if(e.next(a),e.closed)return}e.complete()}}))}));if(Array.isArray(t))return new n((function(e){g((function(){if(!e.closed){for(var n=0;n<t.length;++n)if(e.next(t[n]),e.closed)return;e.complete()}}))}));throw new TypeError(t+" is not observable")},e.of=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return new("function"==typeof this?this:e)((function(e){g((function(){if(!e.closed){for(var t=0;t<n.length;++t)if(e.next(n[t]),e.closed)return;e.complete()}}))}))},a(e,null,[{key:p,get:function(){return this}}]),e}();s()&&Object.defineProperty(T,Symbol("extensions"),{value:{symbol:f,hostReportError:y},configurable:!0})},(e,t,n)=>{"use strict";n.r(t),n.d(t,{createOperation:()=>i});var r=n(258);function i(e,t){var n=(0,r.__assign)({},e);return Object.defineProperty(t,"setContext",{enumerable:!1,value:function(e){n="function"==typeof e?(0,r.__assign)((0,r.__assign)({},n),e(n)):(0,r.__assign)((0,r.__assign)({},n),e)}}),Object.defineProperty(t,"getContext",{enumerable:!1,value:function(){return(0,r.__assign)({},n)}}),t}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{transformOperation:()=>i});var r=n(395);function i(e){var t={variables:e.variables||{},extensions:e.extensions||{},operationName:e.operationName,query:e.query};return t.operationName||(t.operationName="string"!=typeof t.query?(0,r.getOperationName)(t.query)||void 0:""),t}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{checkDocument:()=>o,getDefaultValues:()=>p,getFragmentDefinition:()=>l,getFragmentDefinitions:()=>u,getMainDefinition:()=>f,getOperationDefinition:()=>a,getOperationName:()=>s,getQueryDefinition:()=>c});var r=n(303),i=n(396);function o(e){(0,r.invariant)(e&&"Document"===e.kind,71);var t=e.definitions.filter((function(e){return"FragmentDefinition"!==e.kind})).map((function(e){if("OperationDefinition"!==e.kind)throw(0,r.newInvariantError)(72,e.kind);return e}));return(0,r.invariant)(t.length<=1,73,t.length),e}function a(e){return o(e),e.definitions.filter((function(e){return"OperationDefinition"===e.kind}))[0]}function s(e){return e.definitions.filter((function(e){return"OperationDefinition"===e.kind&&!!e.name})).map((function(e){return e.name.value}))[0]||null}function u(e){return e.definitions.filter((function(e){return"FragmentDefinition"===e.kind}))}function c(e){var t=a(e);return(0,r.invariant)(t&&"query"===t.operation,74),t}function l(e){(0,r.invariant)("Document"===e.kind,75),(0,r.invariant)(e.definitions.length<=1,76);var t=e.definitions[0];return(0,r.invariant)("FragmentDefinition"===t.kind,77),t}function f(e){var t;o(e);for(var n=0,i=e.definitions;n<i.length;n++){var a=i[n];if("OperationDefinition"===a.kind){var s=a.operation;if("query"===s||"mutation"===s||"subscription"===s)return a}"FragmentDefinition"!==a.kind||t||(t=a)}if(t)return t;throw(0,r.newInvariantError)(78)}function p(e){var t=Object.create(null),n=e&&e.variableDefinitions;return n&&n.length&&n.forEach((function(e){e.defaultValue&&(0,i.valueToObjectRepresentation)(t,e.variable.name,e.defaultValue)})),t}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{argumentsObjectFromField:()=>m,getStoreKeyName:()=>p,getTypenameFromResult:()=>g,isDocumentNode:()=>u,isField:()=>v,isInlineFragment:()=>b,isReference:()=>s,makeReference:()=>a,resultKeyNameFromField:()=>y,storeKeyNameFromField:()=>l,valueToObjectRepresentation:()=>c});var r=n(303),i=n(397),o=n(398);function a(e){return{__ref:String(e)}}function s(e){return Boolean(e&&"object"==typeof e&&"string"==typeof e.__ref)}function u(e){return(0,i.isNonNullObject)(e)&&"Document"===e.kind&&Array.isArray(e.definitions)}function c(e,t,n,i){if(function(e){return"IntValue"===e.kind}
9(n)||function(e){return"FloatValue"===e.kind}(n))e[t.value]=Number(n.value);else if(function(e){return"BooleanValue"===e.kind}(n)||function(e){return"StringValue"===e.kind}(n))e[t.value]=n.value;else if(function(e){return"ObjectValue"===e.kind}(n)){var o={};n.fields.map((function(e){return c(o,e.name,e.value,i)})),e[t.value]=o}else if(function(e){return"Variable"===e.kind}(n)){var a=(i||{})[n.name.value];e[t.value]=a}else if(function(e){return"ListValue"===e.kind}(n))e[t.value]=n.values.map((function(e){var n={};return c(n,t,e,i),n[t.value]}));else if(function(e){return"EnumValue"===e.kind}(n))e[t.value]=n.value;else{if(!function(e){return"NullValue"===e.kind}(n))throw(0,r.newInvariantError)(79,t.value,n.kind);e[t.value]=null}}function l(e,t){var n=null;e.directives&&(n={},e.directives.forEach((function(e){n[e.name.value]={},e.arguments&&e.arguments.forEach((function(r){var i=r.name,o=r.value;return c(n[e.name.value],i,o,t)}))})));var r=null;return e.arguments&&e.arguments.length&&(r={},e.arguments.forEach((function(e){var n=e.name,i=e.value;return c(r,n,i,t)}))),p(e.name.value,r,n)}var f=["connection","include","skip","client","rest","export","nonreactive"],p=Object.assign((function(e,t,n){if(t&&n&&n.connection&&n.connection.key){if(n.connection.filter&&n.connection.filter.length>0){var r=n.connection.filter?n.connection.filter:[];r.sort();var i={};return r.forEach((function(e){i[e]=t[e]})),"".concat(n.connection.key,"(").concat(d(i),")")}return n.connection.key}var o=e;if(t){var a=d(t);o+="(".concat(a,")")}return n&&Object.keys(n).forEach((function(e){-1===f.indexOf(e)&&(n[e]&&Object.keys(n[e]).length?o+="@".concat(e,"(").concat(d(n[e]),")"):o+="@".concat(e))})),o}),{setStringify:function(e){var t=d;return d=e,t}}),d=function(e){return JSON.stringify(e,h)};function h(e,t){return(0,i.isNonNullObject)(t)&&!Array.isArray(t)&&(t=Object.keys(t).sort().reduce((function(e,n){return e[n]=t[n],e}),{})),t}function m(e,t){if(e.arguments&&e.arguments.length){var n={};return e.arguments.forEach((function(e){var r=e.name,i=e.value;return c(n,r,i,t)})),n}return null}function y(e){return e.alias?e.alias.value:e.name.value}function g(e,t,n){for(var r,i=0,a=t.selections;i<a.length;i++){if(v(c=a[i])){if("__typename"===c.name.value)return e[y(c)]}else r?r.push(c):r=[c]}if("string"==typeof e.__typename)return e.__typename;if(r)for(var s=0,u=r;s<u.length;s++){var c=u[s],l=g(e,(0,o.getFragmentFromSelection)(c,n).selectionSet,n);if("string"==typeof l)return l}}function v(e){return"Field"===e.kind}function b(e){return"InlineFragment"===e.kind}},(e,t,n)=>{"use strict";function r(e){return null!==e&&"object"==typeof e}function i(e){return null!==e&&"object"==typeof e&&(Object.getPrototypeOf(e)===Object.prototype||null===Object.getPrototypeOf(e))}n.r(t),n.d(t,{isNonNullObject:()=>r,isPlainObject:()=>i})},(e,t,n)=>{"use strict";n.r(t),n.d(t,{createFragmentMap:()=>a,getFragmentFromSelection:()=>s,getFragmentQueryDocument:()=>o});var r=n(258),i=n(303);function o(e,t){var n=t,o=[];return e.definitions.forEach((function(e){if("OperationDefinition"===e.kind)throw(0,i.newInvariantError)(68,e.operation,e.name?" named '".concat(e.name.value,"'"):"");"FragmentDefinition"===e.kind&&o.push(e)})),void 0===n&&((0,i.invariant)(1===o.length,69,o.length),n=o[0].name.value),(0,r.__assign)((0,r.__assign)({},e),{definitions:(0,r.__spreadArray)([{kind:"OperationDefinition",operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:n}}]}}],e.definitions,!0)})}function a(e){void 0===e&&(e=[]);var t={};return e.forEach((function(e){t[e.name.value]=e})),t}function s(e,t){switch(e.kind){case"InlineFragment":return e;case"FragmentSpread":var n=e.name.value;if("function"==typeof t)return t(n);var r=t&&t[n];return(0,i.invariant)(r,70,n),r||null;default:return null}}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{validateOperation:()=>i});var r=n(303);function i(e){for(var t=["query","operationName","variables","extensions","context"],n=0,i=Object.keys(e);n<i.length;n++){var o=i[n];if(t.indexOf(o)<0)throw(0,r.newInvariantError)(41,o)}return e}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{selectURI:()=>r});var r=function(e,t){var n=e.getContext().uri;return n||("function"==typeof t?t(e):t||"/graphql")}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{getDirectiveNames:()=>a,getInclusionDirectives:()=>f,hasAllDirectives:()=>u,hasAnyDirectives:()=>s,hasClientExports:()=>l,hasDirectives:()=>c,shouldInclude:()=>o});var r=n(303),i=n(382);function o(e,t){var n=e.directives;return!n||!n.length||f(n).every((function(e){var n=e.directive,i=e.ifArgument,o=!1;return"Variable"===i.value.kind?(o=t&&t[i.value.name.value],(0,r.invariant)(void 0!==o,64,n.name.value)):o=i.value.value,"skip"===n.name.value?!o:o}))}function a(e){var t=[];return(0,i.visit)(e,{Directive:function(e){t.push(e.name.value)}}),t}var s=function(e,t){return c(e,t,!1)},u=function(e,t){return c(e,t,!0)};
9function c(e,t,n){var r=new Set(e),o=r.size;return(0,i.visit)(t,{Directive:function(e){if(r.delete(e.name.value)&&(!n||!r.size))return i.BREAK}}),n?!r.size:r.size<o}function l(e){return e&&c(["client","export"],e,!0)}function f(e){var t=[];return e&&e.length&&e.forEach((function(e){if("skip"===(n=e.name.value)||"include"===n){var n,i=e.arguments,o=e.name.value;(0,r.invariant)(i&&1===i.length,65,o);var a=i[0];(0,r.invariant)(a.name&&"if"===a.name.value,66,o);var s=a.value;(0,r.invariant)(s&&("Variable"===s.kind||"BooleanValue"===s.kind),67,o),t.push({directive:e,ifArgument:a})}})),t}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{addTypenameToDocument:()=>g,buildQueryFromSelectionSet:()=>S,removeArgumentsFromDocument:()=>_,removeClientSetsFromDocument:()=>w,removeConnectionDirectiveFromDocument:()=>b,removeDirectivesFromDocument:()=>y,removeFragmentSpreadFromDocument:()=>E});var r=n(258),i=n(303),o=n(384),a=n(382),s=n(395),u=n(396),c=n(398),l=n(403),f={kind:o.Kind.FIELD,name:{kind:o.Kind.NAME,value:"__typename"}};function p(e,t){return!e||e.selectionSet.selections.every((function(e){return e.kind===o.Kind.FRAGMENT_SPREAD&&p(t[e.name.value],t)}))}function d(e){return p((0,s.getOperationDefinition)(e)||(0,s.getFragmentDefinition)(e),(0,c.createFragmentMap)((0,s.getFragmentDefinitions)(e)))?null:e}function h(e){var t=new Map,n=new Map;return e.forEach((function(e){e&&(e.name?t.set(e.name,e):e.test&&n.set(e.test,e))})),function(e){var r=t.get(e.name.value);return!r&&n.size&&n.forEach((function(t,n){n(e)&&(r=t)})),r}}function m(e){var t=new Map;return function(n){void 0===n&&(n=e);var r=t.get(n);return r||t.set(n,r={variables:new Set,fragmentSpreads:new Set}),r}}function y(e,t){(0,s.checkDocument)(t);for(var n=m(""),u=m(""),c=function(e){for(var t=0,r=void 0;t<e.length&&(r=e[t]);++t)if(!(0,l.isArray)(r)){if(r.kind===o.Kind.OPERATION_DEFINITION)return n(r.name&&r.name.value);if(r.kind===o.Kind.FRAGMENT_DEFINITION)return u(r.name.value)}return!1!==globalThis.__DEV__&&i.invariant.error(80),null},f=0,p=t.definitions.length-1;p>=0;--p)t.definitions[p].kind===o.Kind.OPERATION_DEFINITION&&++f;var y=h(e),g=function(e){return(0,l.isNonEmptyArray)(e)&&e.map(y).some((function(e){return e&&e.remove}))},v=new Map,b=!1,_={enter:function(e){if(g(e.directives))return b=!0,null}},E=(0,a.visit)(t,{Field:_,InlineFragment:_,VariableDefinition:{enter:function(){return!1}},Variable:{enter:function(e,t,n,r,i){var o=c(i);o&&o.variables.add(e.name.value)}},FragmentSpread:{enter:function(e,t,n,r,i){if(g(e.directives))return b=!0,null;var o=c(i);o&&o.fragmentSpreads.add(e.name.value)}},FragmentDefinition:{enter:function(e,t,n,r){v.set(JSON.stringify(r),e)},leave:function(e,t,n,r){return e===v.get(JSON.stringify(r))?e:f>0&&e.selectionSet.selections.every((function(e){return e.kind===o.Kind.FIELD&&"__typename"===e.name.value}))?(u(e.name.value).removed=!0,b=!0,null):void 0}},Directive:{leave:function(e){if(y(e))return b=!0,null}}});if(!b)return t;var S=function(e){return e.transitiveVars||(e.transitiveVars=new Set(e.variables),e.removed||e.fragmentSpreads.forEach((function(t){S(u(t)).transitiveVars.forEach((function(t){e.transitiveVars.add(t)}))}))),e},w=new Set;E.definitions.forEach((function(e){e.kind===o.Kind.OPERATION_DEFINITION?S(n(e.name&&e.name.value)).fragmentSpreads.forEach((function(e){w.add(e)})):e.kind!==o.Kind.FRAGMENT_DEFINITION||0!==f||u(e.name.value).removed||w.add(e.name.value)})),w.forEach((function(e){S(u(e)).fragmentSpreads.forEach((function(e){w.add(e)}))}));var T={enter:function(e){if(t=e.name.value,!w.has(t)||u(t).removed)return null;var t}};return d((0,a.visit)(E,{FragmentSpread:T,FragmentDefinition:T,OperationDefinition:{leave:function(e){if(e.variableDefinitions){var t=S(n(e.name&&e.name.value)).transitiveVars;if(t.size<e.variableDefinitions.length)return(0,r.__assign)((0,r.__assign)({},e),{variableDefinitions:e.variableDefinitions.filter((function(e){return t.has(e.variable.name.value)}))})}}}}))}var g=Object.assign((function(e){return(0,a.visit)(e,{SelectionSet:{enter:function(e,t,n){if(!n||n.kind!==o.Kind.OPERATION_DEFINITION){var i=e.selections;if(i)if(!i.some((function(e){return(0,u.isField)(e)&&("__typename"===e.name.value||0===e.name.value.lastIndexOf("__",0))}))){var a=n;if(!((0,u.isField)(a)&&a.directives&&a.directives.some((function(e){return"export"===e.name.value}))))return(0,r.__assign)((0,r.__assign)({},e),{selections:(0,r.__spreadArray)((0,r.__spreadArray)([],i,!0),[f],!1)})}}}}})}),{added:function(e){return e===f}}),v={test:function(e){var t="connection"===e.name.value;return t&&(e.arguments&&e.arguments.some((function(e){return"key"===e.name.value}))||!1!==globalThis.__DEV__&&i.invariant.warn(81)),t}}
9;function b(e){return y([v],(0,s.checkDocument)(e))}function _(e,t){var n=function(e){return function(t){return e.some((function(e){return t.value&&t.value.kind===o.Kind.VARIABLE&&t.value.name&&(e.name===t.value.name.value||e.test&&e.test(t))}))}}(e);return d((0,a.visit)(t,{OperationDefinition:{enter:function(t){return(0,r.__assign)((0,r.__assign)({},t),{variableDefinitions:t.variableDefinitions?t.variableDefinitions.filter((function(t){return!e.some((function(e){return e.name===t.variable.name.value}))})):[]})}},Field:{enter:function(t){if(e.some((function(e){return e.remove}))){var r=0;if(t.arguments&&t.arguments.forEach((function(e){n(e)&&(r+=1)})),1===r)return null}}},Argument:{enter:function(e){if(n(e))return null}}}))}function E(e,t){function n(t){if(e.some((function(e){return e.name===t.name.value})))return null}return d((0,a.visit)(t,{FragmentSpread:{enter:n},FragmentDefinition:{enter:n}}))}function S(e){return"query"===(0,s.getMainDefinition)(e).operation?e:(0,a.visit)(e,{OperationDefinition:{enter:function(e){return(0,r.__assign)((0,r.__assign)({},e),{operation:"query"})}}})}function w(e){return(0,s.checkDocument)(e),y([{test:function(e){return"client"===e.name.value},remove:!0}],e)}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{isArray:()=>r,isNonEmptyArray:()=>i});var r=Array.isArray;function i(e){return Array.isArray(e)&&e.length>0}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{fromError:()=>i});var r=n(392);function i(e){return new r.Observable((function(t){t.error(e)}))}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{filterOperationVariables:()=>o});var r=n(258),i=n(382);function o(e,t){var n=(0,r.__assign)({},e),o=new Set(Object.keys(e));return(0,i.visit)(t,{Variable:function(e,t,n){n&&"VariableDefinition"!==n.kind&&o.delete(e.name.value)}}),o.forEach((function(e){delete n[e]})),n}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{rewriteURIForGET:()=>i});var r=n(407);function i(e,t){var n=[],i=function(e,t){n.push("".concat(e,"=").concat(encodeURIComponent(t)))};if("query"in t&&i("query",t.query),t.operationName&&i("operationName",t.operationName),t.variables){var o=void 0;try{o=(0,r.serializeFetchParameter)(t.variables,"Variables map")}catch(e){return{parseError:e}}i("variables",o)}if(t.extensions){var a=void 0;try{a=(0,r.serializeFetchParameter)(t.extensions,"Extensions map")}catch(e){return{parseError:e}}i("extensions",a)}var s="",u=e,c=e.indexOf("#");-1!==c&&(s=e.substr(c),u=e.substr(0,c));var l=-1===u.indexOf("?")?"?":"&";return{newURI:u+l+n.join("&")+s}}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{serializeFetchParameter:()=>i});var r=n(303),i=function(e,t){var n;try{n=JSON.stringify(e)}catch(e){var i=(0,r.newInvariantError)(37,t,e.message);throw i.parseError=e,i}return n}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{handleError:()=>p,parseAndCheckHttpResponse:()=>d,parseHeaders:()=>l,parseJsonBody:()=>f,readMultipartBody:()=>c});var r=n(258),i=n(409),o=n(417),a=n(416),s=n(414),u=Object.prototype.hasOwnProperty;function c(e,t){var n;return(0,r.__awaiter)(this,void 0,void 0,(function(){var o,u,c,p,d,h,m,y,g,v,b,_,E,S,w,T,O,x,k,R,N,A,I;return(0,r.__generator)(this,(function(D){switch(D.label){case 0:if(void 0===TextDecoder)throw new Error("TextDecoder must be defined in the environment: please import a polyfill.");o=new TextDecoder("utf-8"),u=null===(n=e.headers)||void 0===n?void 0:n.get("content-type"),c="boundary=",p=(null==u?void 0:u.includes(c))?null==u?void 0:u.substring((null==u?void 0:u.indexOf(c))+9).replace(/['"]/g,"").replace(/\;(.*)/gm,"").trim():"-",d="\r\n--".concat(p),h="",m=(0,i.responseIterator)(e),y=!0,D.label=1;case 1:return y?[4,m.next()]:[3,3];case 2:for(g=D.sent(),v=g.value,b=g.done,_="string"==typeof v?v:o.decode(v),E=h.length-d.length+1,y=!b,S=(h+=_).indexOf(d,E);S>-1;){if(w=void 0,A=[h.slice(0,S),h.slice(S+d.length)],h=A[1],T=(w=A[0]).indexOf("\r\n\r\n"),O=l(w.slice(0,T)),(x=O["content-type"])&&-1===x.toLowerCase().indexOf("application/json"))throw new Error("Unsupported patch content type: application/json is required.");if(k=w.slice(T))if(R=f(e,k),Object.keys(R).length>1||"data"in R||"incremental"in R||"errors"in R||"payload"in R)(0,s.isApolloPayloadResult)(R)?(N={},"payload"in R&&(N=(0,r.__assign)({},R.payload)),"errors"in R&&(N=(0,r.__assign)((0,r.__assign)({},N),{extensions:(0,r.__assign)((0,r.__assign)({},"extensions"in N?N.extensions:null),(I={},I[a.PROTOCOL_ERRORS_SYMBOL]=R.errors,I))})),t(N)):t(R);else if(1===Object.keys(R).length&&"hasNext"in R&&!R.hasNext)return[2];S=h.indexOf(d)}return[3,1];case 3:return[2]}}
9))}))}function l(e){var t={};return e.split("\n").forEach((function(e){var n=e.indexOf(":");if(n>-1){var r=e.slice(0,n).trim().toLowerCase(),i=e.slice(n+1).trim();t[r]=i}})),t}function f(e,t){if(e.status>=300){(0,o.throwServerError)(e,function(){try{return JSON.parse(t)}catch(e){return t}}(),"Response not successful: Received status code ".concat(e.status))}try{return JSON.parse(t)}catch(r){var n=r;throw n.name="ServerParseError",n.response=e,n.statusCode=e.status,n.bodyText=t,n}}function p(e,t){e.result&&e.result.errors&&e.result.data&&t.next(e.result),t.error(e)}function d(e){return function(t){return t.text().then((function(e){return f(t,e)})).then((function(n){return t.status>=300&&(0,o.throwServerError)(t,n,"Response not successful: Received status code ".concat(t.status)),Array.isArray(n)||u.call(n,"data")||u.call(n,"errors")||(0,o.throwServerError)(t,n,"Server response was missing for query '".concat(Array.isArray(e)?e.map((function(e){return e.operationName})):e.operationName,"'.")),n}))}}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{responseIterator:()=>u});var r=n(311),i=n(410),o=n(413),a=n(412),s=n(411);function u(e){var t=e;if(e.body&&(t=e.body),function(e){return!(!r.canUseAsyncIteratorSymbol||!e[Symbol.asyncIterator])}(t))return(0,i.default)(t);if(function(e){return!!e.getReader}(t))return(0,s.default)(t.getReader());if(function(e){return!!e.stream}(t))return(0,s.default)(t.stream().getReader());if(function(e){return!!e.arrayBuffer}(t))return(0,a.default)(t.arrayBuffer());if(function(e){return!!e.pipe}(t))return(0,o.default)(t);throw new Error("Unknown body type for responseIterator. Please pass a streamable response.")}},(e,t,n)=>{"use strict";function r(e){var t,n=e[Symbol.asyncIterator]();return(t={next:function(){return n.next()}})[Symbol.asyncIterator]=function(){return this},t}n.r(t),n.d(t,{default:()=>r})},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(311);function i(e){var t={next:function(){return e.read()}};return r.canUseAsyncIteratorSymbol&&(t[Symbol.asyncIterator]=function(){return this}),t}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(311);function i(e){var t=!1,n={next:function(){return t?Promise.resolve({value:void 0,done:!0}):(t=!0,new Promise((function(t,n){e.then((function(e){t({value:e,done:!1})})).catch(n)})))}};return r.canUseAsyncIteratorSymbol&&(n[Symbol.asyncIterator]=function(){return this}),n}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(311);function i(e){var t=null,n=null,i=!1,o=[],a=[];function s(e){if(!n){if(a.length){var t=a.shift();if(Array.isArray(t)&&t[0])return t[0]({value:e,done:!1})}o.push(e)}}function u(e){n=e,a.slice().forEach((function(t){t[1](e)})),!t||t()}function c(){i=!0,a.slice().forEach((function(e){e[0]({value:void 0,done:!0})})),!t||t()}t=function(){t=null,e.removeListener("data",s),e.removeListener("error",u),e.removeListener("end",c),e.removeListener("finish",c),e.removeListener("close",c)},e.on("data",s),e.on("error",u),e.on("end",c),e.on("finish",c),e.on("close",c);var l={next:function(){return new Promise((function(e,t){return n?t(n):o.length?e({value:o.shift(),done:!1}):i?e({value:void 0,done:!0}):void a.push([e,t])}))}};return r.canUseAsyncIteratorSymbol&&(l[Symbol.asyncIterator]=function(){return this}),l}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{isApolloPayloadResult:()=>c,isExecutionPatchIncrementalResult:()=>a,isExecutionPatchInitialResult:()=>s,isExecutionPatchResult:()=>u,mergeIncrementalData:()=>l});var r=n(397),i=n(403),o=n(415);function a(e){return"incremental"in e}function s(e){return"hasNext"in e&&"data"in e}function u(e){return a(e)||s(e)}function c(e){return(0,r.isNonNullObject)(e)&&"payload"in e}function l(e,t){var n=e,r=new o.DeepMerger;return a(t)&&(0,i.isNonEmptyArray)(t.incremental)&&t.incremental.forEach((function(e){for(var t=e.data,i=e.path,o=i.length-1;o>=0;--o){var a=i[o],s=!isNaN(+a)?[]:{};s[a]=t,t=s}n=r.merge(n,t)})),n}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{DeepMerger:()=>c,mergeDeep:()=>a,mergeDeepArray:()=>s});var r=n(258),i=n(397),o=Object.prototype.hasOwnProperty;function a(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return s(e)}function s(e){var t=e[0]||{},n=e.length;if(n>1)for(var r=new c,i=1;i<n;++i)t=r.merge(t,e[i]);return t}
9var u=function(e,t,n){return this.merge(e[n],t[n])},c=function(){function e(e){void 0===e&&(e=u),this.reconciler=e,this.isObject=i.isNonNullObject,this.pastCopies=new Set}return e.prototype.merge=function(e,t){for(var n=this,a=[],s=2;s<arguments.length;s++)a[s-2]=arguments[s];return(0,i.isNonNullObject)(t)&&(0,i.isNonNullObject)(e)?(Object.keys(t).forEach((function(i){if(o.call(e,i)){var s=e[i];if(t[i]!==s){var u=n.reconciler.apply(n,(0,r.__spreadArray)([e,t,i],a,!1));u!==s&&((e=n.shallowCopyForMerge(e))[i]=u)}}else(e=n.shallowCopyForMerge(e))[i]=t[i]})),e):t},e.prototype.shallowCopyForMerge=function(e){return(0,i.isNonNullObject)(e)&&(this.pastCopies.has(e)||(e=Array.isArray(e)?e.slice(0):(0,r.__assign)({__proto__:Object.getPrototypeOf(e)},e),this.pastCopies.add(e))),e},e}()},(e,t,n)=>{"use strict";n.r(t),n.d(t,{ApolloError:()=>u,PROTOCOL_ERRORS_SYMBOL:()=>o,graphQLResultHasProtocolErrors:()=>a,isApolloError:()=>s});var r=n(258),i=(n(303),n(397)),o=Symbol();function a(e){return!!e.extensions&&Array.isArray(e.extensions[o])}function s(e){return e.hasOwnProperty("graphQLErrors")}var u=function(e){function t(n){var o,a,s=n.graphQLErrors,u=n.protocolErrors,c=n.clientErrors,l=n.networkError,f=n.errorMessage,p=n.extraInfo,d=e.call(this,f)||this;return d.name="ApolloError",d.graphQLErrors=s||[],d.protocolErrors=u||[],d.clientErrors=c||[],d.networkError=l||null,d.message=f||(o=d,a=(0,r.__spreadArray)((0,r.__spreadArray)((0,r.__spreadArray)([],o.graphQLErrors,!0),o.clientErrors,!0),o.protocolErrors,!0),o.networkError&&a.push(o.networkError),a.map((function(e){return(0,i.isNonNullObject)(e)&&e.message||"Error message not found."})).join("\n")),d.extraInfo=p,d.__proto__=t.prototype,d}return(0,r.__extends)(t,e),t}(Error)},(e,t,n)=>{"use strict";n.r(t),n.d(t,{throwServerError:()=>r});var r=function(e,t,n){var r=new Error(n);throw r.name="ServerError",r.response=e,r.statusCode=e.status,r.result=t,r}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{LocalState:()=>h});var r=n(258),i=n(303),o=n(382),a=n(419),s=n(415),u=n(401),c=n(402),l=n(395),f=n(398),p=n(396),d=n(291),h=function(){function e(e){var t=e.cache,n=e.client,r=e.resolvers,i=e.fragmentMatcher;this.selectionsToResolveCache=new WeakMap,this.cache=t,n&&(this.client=n),r&&this.addResolvers(r),i&&this.setFragmentMatcher(i)}return e.prototype.addResolvers=function(e){var t=this;this.resolvers=this.resolvers||{},Array.isArray(e)?e.forEach((function(e){t.resolvers=(0,s.mergeDeep)(t.resolvers,e)})):this.resolvers=(0,s.mergeDeep)(this.resolvers,e)},e.prototype.setResolvers=function(e){this.resolvers={},this.addResolvers(e)},e.prototype.getResolvers=function(){return this.resolvers||{}},e.prototype.runResolvers=function(e){var t=e.document,n=e.remoteResult,i=e.context,o=e.variables,a=e.onlyRunForcedResolvers,s=void 0!==a&&a;return(0,r.__awaiter)(this,void 0,void 0,(function(){return(0,r.__generator)(this,(function(e){return t?[2,this.resolveDocument(t,n.data,i,o,this.fragmentMatcher,s).then((function(e){return(0,r.__assign)((0,r.__assign)({},n),{data:e.result})}))]:[2,n]}))}))},e.prototype.setFragmentMatcher=function(e){this.fragmentMatcher=e},e.prototype.getFragmentMatcher=function(){return this.fragmentMatcher},e.prototype.clientQuery=function(e){return(0,u.hasDirectives)(["client"],e)&&this.resolvers?e:null},e.prototype.serverQuery=function(e){return(0,c.removeClientSetsFromDocument)(e)},e.prototype.prepareContext=function(e){var t=this.cache;return(0,r.__assign)((0,r.__assign)({},e),{cache:t,getCacheKey:function(e){return t.identify(e)}})},e.prototype.addExportedVariables=function(e,t,n){return void 0===t&&(t={}),void 0===n&&(n={}),(0,r.__awaiter)(this,void 0,void 0,(function(){return(0,r.__generator)(this,(function(i){return e?[2,this.resolveDocument(e,this.buildRootValueFromCache(e,t)||{},this.prepareContext(n),t).then((function(e){return(0,r.__assign)((0,r.__assign)({},t),e.exportedVariables)}))]:[2,(0,r.__assign)({},t)]}))}))},e.prototype.shouldForceResolvers=function(e){var t=!1;return(0,o.visit)(e,{Directive:{enter:function(e){if("client"===e.name.value&&e.arguments&&(t=e.arguments.some((function(e){return"always"===e.name.value&&"BooleanValue"===e.value.kind&&!0===e.value.value}))))return o.BREAK}}}),t},e.prototype.buildRootValueFromCache=function(e,t){return this.cache.diff({query:(0,c.buildQueryFromSelectionSet)(e),variables:t,returnPartialData:!0,optimistic:!1}).result},e.prototype.resolveDocument=function(e,t,n,i,o,a){return void 0===n&&(n={}),void 0===i&&(i={}),void 0===o&&(o=function(){return!0}),void 0===a&&(a=!1),(0,r.__awaiter)(this,void 0,void 0,(function(){var s,u,c,p,d,h,m,y,g,v;return(0,r.__generator)(this,(function(b){return s=(0,l.getMainDefinition)(e),u=(0,l.getFragmentDefinitions)(e),c=(0,f.createFragmentMap)(u),p=this.collectSelectionsToResolve(s,c),d=s.operation,h=d?d.charAt(0).toUpperCase()+d.slice(1):"Query",y=(m=this).cache,g=m.client,v={fragmentMap:c,context:(0,r.__assign)((0,r.__assign)({}
9,n),{cache:y,client:g}),variables:i,fragmentMatcher:o,defaultOperationType:h,exportedVariables:{},selectionsToResolve:p,onlyRunForcedResolvers:a},!1,[2,this.resolveSelectionSet(s.selectionSet,false,t,v).then((function(e){return{result:e,exportedVariables:v.exportedVariables}}))]}))}))},e.prototype.resolveSelectionSet=function(e,t,n,o){return(0,r.__awaiter)(this,void 0,void 0,(function(){var a,c,l,f,d,h=this;return(0,r.__generator)(this,(function(m){return a=o.fragmentMap,c=o.context,l=o.variables,f=[n],d=function(e){return(0,r.__awaiter)(h,void 0,void 0,(function(){var s,d;return(0,r.__generator)(this,(function(r){return(t||o.selectionsToResolve.has(e))&&(0,u.shouldInclude)(e,l)?(0,p.isField)(e)?[2,this.resolveField(e,t,n,o).then((function(t){var n;void 0!==t&&f.push(((n={})[(0,p.resultKeyNameFromField)(e)]=t,n))}))]:((0,p.isInlineFragment)(e)?s=e:(s=a[e.name.value],(0,i.invariant)(s,16,e.name.value)),s&&s.typeCondition&&(d=s.typeCondition.name.value,o.fragmentMatcher(n,d,c))?[2,this.resolveSelectionSet(s.selectionSet,t,n,o).then((function(e){f.push(e)}))]:[2]):[2]}))}))},[2,Promise.all(e.selections.map(d)).then((function(){return(0,s.mergeDeepArray)(f)}))]}))}))},e.prototype.resolveField=function(e,t,n,i){return(0,r.__awaiter)(this,void 0,void 0,(function(){var o,a,s,u,c,l,f,h,m,y=this;return(0,r.__generator)(this,(function(r){return n?(o=i.variables,a=e.name.value,s=(0,p.resultKeyNameFromField)(e),u=a!==s,c=n[s]||n[a],l=Promise.resolve(c),i.onlyRunForcedResolvers&&!this.shouldForceResolvers(e)||(f=n.__typename||i.defaultOperationType,(h=this.resolvers&&this.resolvers[f])&&(m=h[u?a:s])&&(l=Promise.resolve(d.cacheSlot.withValue(this.cache,m,[n,(0,p.argumentsObjectFromField)(e,o),i.context,{field:e,fragmentMap:i.fragmentMap}])))),[2,l.then((function(n){var r,o;if(void 0===n&&(n=c),e.directives&&e.directives.forEach((function(e){"export"===e.name.value&&e.arguments&&e.arguments.forEach((function(e){"as"===e.name.value&&"StringValue"===e.value.kind&&(i.exportedVariables[e.value.value]=n)}))})),!e.selectionSet)return n;if(null==n)return n;var a=null!==(o=null===(r=e.directives)||void 0===r?void 0:r.some((function(e){return"client"===e.name.value})))&&void 0!==o&&o;return Array.isArray(n)?y.resolveSubSelectedArray(e,t||a,n,i):e.selectionSet?y.resolveSelectionSet(e.selectionSet,t||a,n,i):void 0}))]):[2,null]}))}))},e.prototype.resolveSubSelectedArray=function(e,t,n,r){var i=this;return Promise.all(n.map((function(n){return null===n?null:Array.isArray(n)?i.resolveSubSelectedArray(e,t,n,r):e.selectionSet?i.resolveSelectionSet(e.selectionSet,t,n,r):void 0})))},e.prototype.collectSelectionsToResolve=function(e,t){var n=function(e){return!Array.isArray(e)},r=this.selectionsToResolveCache;return function e(s){if(!r.has(s)){var u=new Set;r.set(s,u),(0,o.visit)(s,{Directive:function(e,t,r,i,o){"client"===e.name.value&&o.forEach((function(e){n(e)&&(0,a.isSelectionNode)(e)&&u.add(e)}))},FragmentSpread:function(r,o,s,c,l){var f=t[r.name.value];(0,i.invariant)(f,17,r.name.value);var p=e(f);p.size>0&&(l.forEach((function(e){n(e)&&(0,a.isSelectionNode)(e)&&u.add(e)})),u.add(r),p.forEach((function(e){u.add(e)})))}})}return r.get(s)}(e)},e}()},(e,t,n)=>{"use strict";n.r(t),n.d(t,{isConstValueNode:()=>u,isDefinitionNode:()=>i,isExecutableDefinitionNode:()=>o,isSelectionNode:()=>a,isTypeDefinitionNode:()=>f,isTypeExtensionNode:()=>d,isTypeNode:()=>c,isTypeSystemDefinitionNode:()=>l,isTypeSystemExtensionNode:()=>p,isValueNode:()=>s});var r=n(384);function i(e){return o(e)||l(e)||p(e)}function o(e){return e.kind===r.Kind.OPERATION_DEFINITION||e.kind===r.Kind.FRAGMENT_DEFINITION}function a(e){return e.kind===r.Kind.FIELD||e.kind===r.Kind.FRAGMENT_SPREAD||e.kind===r.Kind.INLINE_FRAGMENT}function s(e){return e.kind===r.Kind.VARIABLE||e.kind===r.Kind.INT||e.kind===r.Kind.FLOAT||e.kind===r.Kind.STRING||e.kind===r.Kind.BOOLEAN||e.kind===r.Kind.NULL||e.kind===r.Kind.ENUM||e.kind===r.Kind.LIST||e.kind===r.Kind.OBJECT}function u(e){return s(e)&&(e.kind===r.Kind.LIST?e.values.some(u):e.kind===r.Kind.OBJECT?e.fields.some((e=>u(e.value))):e.kind!==r.Kind.VARIABLE)}function c(e){return e.kind===r.Kind.NAMED_TYPE||e.kind===r.Kind.LIST_TYPE||e.kind===r.Kind.NON_NULL_TYPE}function l(e){return e.kind===r.Kind.SCHEMA_DEFINITION||f(e)||e.kind===r.Kind.DIRECTIVE_DEFINITION}function f(e){return e.kind===r.Kind.SCALAR_TYPE_DEFINITION||e.kind===r.Kind.OBJECT_TYPE_DEFINITION||e.kind===r.Kind.INTERFACE_TYPE_DEFINITION||e.kind===r.Kind.UNION_TYPE_DEFINITION||e.kind===r.Kind.ENUM_TYPE_DEFINITION||e.kind===r.Kind.INPUT_OBJECT_TYPE_DEFINITION}function p(e){return e.kind===r.Kind.SCHEMA_EXTENSION||d(e)}function d(e){return e.kind===r.Kind.SCALAR_TYPE_EXTENSION||e.kind===r.Kind.OBJECT_TYPE_EXTENSION||e.kind===r.Kind.INTERFACE_TYPE_EXTENSION||e.kind===r.Kind.UNION_TYPE_EXTENSION||e.kind===r.Kind.ENUM_TYPE_EXTENSION||e.kind===r.Kind.INPUT_OBJECT_TYPE_EXTENSION}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{QueryManager:()=>N});var r=n(258),i=n(303),o=n(421),a=n(434),s=n(414),u=n(401),c=n(402),l=n(432),f=n(311),p=n(422),d=n(423),h=n(424),m=n(403),y=n(395),g=n(396),v=n(397),b=n(310),_=n(392),E=n(433),S=n(416),w=n(427),T=n(426),O=n(418),x=n(425),k=n(380),R=Object.prototype.hasOwnProperty,N=function(){function e(e){var t=this,n=e.cache,r=e.link,i=e.defaultOptions,o=e.documentTransform,a=e.queryDeduplication,s=void 0!==a&&a,u=e.onBroadcast,c=e.ssrMode,l=void 0!==c&&c,d=e.clientAwareness,h=void 0===d?{}:d,m=e.localState,y=e.assumeImmutableResults,g=void 0===y?!!n.assumeImmutableResults:y;this.clientAwareness={},this.queries=new Map,this.fetchCancelFns=new Map,this.transformCache=new(f.canUseWeakMap?WeakMap:Map),this.queryIdCounter=1,this.requestIdCounter=1,this.mutationIdCounter=1,this.inFlightLinkObservables=new Map;var v=new p.DocumentTransform((function(e){return t.cache.transformDocument(e)}),{cache:!1});this.cache=n,this.link=r,this.defaultOptions=i||Object.create(null),this.queryDeduplication=s,this.clientAwareness=h,this.localState=m||new O.LocalState({cache:n}),this.ssrMode=l,this.assumeImmutableResults=g,this.documentTransform=o?v.concat(o).concat(v):v,(this.onBroadcast=u)&&(this.mutationStore=Object.create(null))}return e.prototype.stop=function(){var e=this;
9this.queries.forEach((function(t,n){e.stopQueryNoBroadcast(n)})),this.cancelPendingFetches((0,i.newInvariantError)(23))},e.prototype.cancelPendingFetches=function(e){this.fetchCancelFns.forEach((function(t){return t(e)})),this.fetchCancelFns.clear()},e.prototype.mutate=function(e){var t,n,o=e.mutation,a=e.variables,s=e.optimisticResponse,u=e.updateQueries,c=e.refetchQueries,l=void 0===c?[]:c,f=e.awaitRefetchQueries,p=void 0!==f&&f,m=e.update,y=e.onQueryUpdated,g=e.fetchPolicy,v=void 0===g?(null===(t=this.defaultOptions.mutate)||void 0===t?void 0:t.fetchPolicy)||"network-only":g,b=e.errorPolicy,_=void 0===b?(null===(n=this.defaultOptions.mutate)||void 0===n?void 0:n.errorPolicy)||"none":b,E=e.keepRootFields,w=e.context;return(0,r.__awaiter)(this,void 0,void 0,(function(){var e,t,n,c;return(0,r.__generator)(this,(function(f){switch(f.label){case 0:return(0,i.invariant)(o,24),(0,i.invariant)("network-only"===v||"no-cache"===v,25),e=this.generateMutationId(),o=this.cache.transformForLink(this.transform(o)),t=this.getDocumentInfo(o).hasClientExports,a=this.getVariables(o,a),t?[4,this.localState.addExportedVariables(o,a,w)]:[3,2];case 1:a=f.sent(),f.label=2;case 2:return n=this.mutationStore&&(this.mutationStore[e]={mutation:o,variables:a,loading:!0,error:null}),s&&this.markMutationOptimistic(s,{mutationId:e,document:o,variables:a,fetchPolicy:v,errorPolicy:_,context:w,updateQueries:u,update:m,keepRootFields:E}),this.broadcastQueries(),c=this,[2,new Promise((function(t,i){return(0,d.asyncMap)(c.getObservableFromLink(o,(0,r.__assign)((0,r.__assign)({},w),{optimisticResponse:s}),a,!1),(function(t){if((0,h.graphQLResultHasError)(t)&&"none"===_)throw new S.ApolloError({graphQLErrors:(0,h.getGraphQLErrorsFromResult)(t)});n&&(n.loading=!1,n.error=null);var i=(0,r.__assign)({},t);return"function"==typeof l&&(l=l(i)),"ignore"===_&&(0,h.graphQLResultHasError)(i)&&delete i.errors,c.markMutationResult({mutationId:e,result:i,document:o,variables:a,fetchPolicy:v,errorPolicy:_,context:w,update:m,updateQueries:u,awaitRefetchQueries:p,refetchQueries:l,removeOptimistic:s?e:void 0,onQueryUpdated:y,keepRootFields:E})})).subscribe({next:function(e){c.broadcastQueries(),"hasNext"in e&&!1!==e.hasNext||t(e)},error:function(t){n&&(n.loading=!1,n.error=t),s&&c.cache.removeOptimistic(e),c.broadcastQueries(),i(t instanceof S.ApolloError?t:new S.ApolloError({networkError:t}))}})}))]}}))}))},e.prototype.markMutationResult=function(e,t){var n=this;void 0===t&&(t=this.cache);var i=e.result,o=[],a="no-cache"===e.fetchPolicy;if(!a&&(0,x.shouldWriteResult)(i,e.errorPolicy)){if((0,s.isExecutionPatchIncrementalResult)(i)||o.push({result:i.data,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}),(0,s.isExecutionPatchIncrementalResult)(i)&&(0,m.isNonEmptyArray)(i.incremental)){var u=t.diff({id:"ROOT_MUTATION",query:this.getDocumentInfo(e.document).asQuery,variables:e.variables,optimistic:!1,returnPartialData:!0}),c=void 0;u.result&&(c=(0,s.mergeIncrementalData)(u.result,i)),void 0!==c&&(i.data=c,o.push({result:c,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}))}var l=e.updateQueries;l&&this.queries.forEach((function(e,r){var a=e.observableQuery,s=a&&a.queryName;if(s&&R.call(l,s)){var u=l[s],c=n.queries.get(r),f=c.document,p=c.variables,d=t.diff({query:f,variables:p,returnPartialData:!0,optimistic:!1}),h=d.result;if(d.complete&&h){var m=u(h,{mutationResult:i,queryName:f&&(0,y.getOperationName)(f)||void 0,queryVariables:p});m&&o.push({result:m,dataId:"ROOT_QUERY",query:f,variables:p})}}}))}if(o.length>0||e.refetchQueries||e.update||e.onQueryUpdated||e.removeOptimistic){var f=[];if(this.refetchQueries({updateCache:function(t){a||o.forEach((function(e){return t.write(e)}));var u=e.update,c=!(0,s.isExecutionPatchResult)(i)||(0,s.isExecutionPatchIncrementalResult)(i)&&!i.hasNext;if(u){if(!a){var l=t.diff({id:"ROOT_MUTATION",query:n.getDocumentInfo(e.document).asQuery,variables:e.variables,optimistic:!1,returnPartialData:!0});l.complete&&("incremental"in(i=(0,r.__assign)((0,r.__assign)({},i),{data:l.result}))&&delete i.incremental,"hasNext"in i&&delete i.hasNext)}c&&u(t,i,{context:e.context,variables:e.variables})}a||e.keepRootFields||!c||t.modify({id:"ROOT_MUTATION",fields:function(e,t){var n=t.fieldName,r=t.DELETE;return"__typename"===n?e:r}})},include:e.refetchQueries,optimistic:!1,removeOptimistic:e.removeOptimistic,onQueryUpdated:e.onQueryUpdated||null}
9).forEach((function(e){return f.push(e)})),e.awaitRefetchQueries||e.onQueryUpdated)return Promise.all(f).then((function(){return i}))}return Promise.resolve(i)},e.prototype.markMutationOptimistic=function(e,t){var n=this,o="function"==typeof e?e(t.variables):e;return this.cache.recordOptimisticTransaction((function(e){try{n.markMutationResult((0,r.__assign)((0,r.__assign)({},t),{result:{data:o}}),e)}catch(e){!1!==globalThis.__DEV__&&i.invariant.error(e)}}),t.mutationId)},e.prototype.fetchQuery=function(e,t,n){return this.fetchConcastWithInfo(e,t,n).concast.promise},e.prototype.getQueryStore=function(){var e=Object.create(null);return this.queries.forEach((function(t,n){e[n]={variables:t.variables,networkStatus:t.networkStatus,networkError:t.networkError,graphQLErrors:t.graphQLErrors}})),e},e.prototype.resetErrors=function(e){var t=this.queries.get(e);t&&(t.networkError=void 0,t.graphQLErrors=[])},e.prototype.transform=function(e){return this.documentTransform.transformDocument(e)},e.prototype.getDocumentInfo=function(e){var t=this.transformCache;if(!t.has(e)){var n={hasClientExports:(0,u.hasClientExports)(e),hasForcedResolvers:this.localState.shouldForceResolvers(e),hasNonreactiveDirective:(0,u.hasDirectives)(["nonreactive"],e),clientQuery:this.localState.clientQuery(e),serverQuery:(0,c.removeDirectivesFromDocument)([{name:"client",remove:!0},{name:"connection"},{name:"nonreactive"}],e),defaultVars:(0,y.getDefaultValues)((0,y.getOperationDefinition)(e)),asQuery:(0,r.__assign)((0,r.__assign)({},e),{definitions:e.definitions.map((function(e){return"OperationDefinition"===e.kind&&"query"!==e.operation?(0,r.__assign)((0,r.__assign)({},e),{operation:"query"}):e}))})};t.set(e,n)}return t.get(e)},e.prototype.getVariables=function(e,t){return(0,r.__assign)((0,r.__assign)({},this.getDocumentInfo(e).defaultVars),t)},e.prototype.watchQuery=function(e){var t=this.transform(e.query);void 0===(e=(0,r.__assign)((0,r.__assign)({},e),{variables:this.getVariables(t,e.variables)})).notifyOnNetworkStatusChange&&(e.notifyOnNetworkStatusChange=!1);var n=new x.QueryInfo(this),i=new w.ObservableQuery({queryManager:this,queryInfo:n,options:e});return i.lastQuery=t,this.queries.set(i.queryId,n),n.init({document:t,observableQuery:i,variables:i.variables}),i},e.prototype.query=function(e,t){var n=this;return void 0===t&&(t=this.generateQueryId()),(0,i.invariant)(e.query,26),(0,i.invariant)("Document"===e.query.kind,27),(0,i.invariant)(!e.returnPartialData,28),(0,i.invariant)(!e.pollInterval,29),this.fetchQuery(t,(0,r.__assign)((0,r.__assign)({},e),{query:this.transform(e.query)})).finally((function(){return n.stopQuery(t)}))},e.prototype.generateQueryId=function(){return String(this.queryIdCounter++)},e.prototype.generateRequestId=function(){return this.requestIdCounter++},e.prototype.generateMutationId=function(){return String(this.mutationIdCounter++)},e.prototype.stopQueryInStore=function(e){this.stopQueryInStoreNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryInStoreNoBroadcast=function(e){var t=this.queries.get(e);t&&t.stop()},e.prototype.clearStore=function(e){return void 0===e&&(e={discardWatches:!0}),this.cancelPendingFetches((0,i.newInvariantError)(30)),this.queries.forEach((function(e){e.observableQuery?e.networkStatus=T.NetworkStatus.loading:e.stop()})),this.mutationStore&&(this.mutationStore=Object.create(null)),this.cache.reset(e)},e.prototype.getObservableQueries=function(e){var t=this;void 0===e&&(e="active");var n=new Map,o=new Map,a=new Set;return Array.isArray(e)&&e.forEach((function(e){"string"==typeof e?o.set(e,!1):(0,g.isDocumentNode)(e)?o.set(t.transform(e),!1):(0,v.isNonNullObject)(e)&&e.query&&a.add(e)})),this.queries.forEach((function(t,r){var i=t.observableQuery,a=t.document;if(i){if("all"===e)return void n.set(r,i);var s=i.queryName;if("standby"===i.options.fetchPolicy||"active"===e&&!i.hasObservers())return;("active"===e||s&&o.has(s)||a&&o.has(a))&&(n.set(r,i),s&&o.set(s,!0),a&&o.set(a,!0))}})),a.size&&a.forEach((function(e){var o=(0,b.makeUniqueId)("legacyOneTimeQuery"),a=t.getQuery(o).init({document:e.query,variables:e.variables}),s=new w.ObservableQuery({queryManager:t,queryInfo:a,options:(0,r.__assign)((0,r.__assign)({},e),{fetchPolicy:"network-only"})});(0,i.invariant)(s.queryId===o),a.setObservableQuery(s),n.set(o,s)})),!1!==globalThis.__DEV__&&o.size&&o.forEach((function(e,t){e||!1!==globalThis.__DEV__&&i.invariant.warn("string"==typeof t?31:32,t)})),n},e.prototype.reFetchObservableQueries=function(e){var t=this;void 0===e&&(e=!1);var n=[];return this.getObservableQueries(e?"all":"active").forEach((function(r,i){var o=r.options.fetchPolicy;
9r.resetLastResults(),(e||"standby"!==o&&"cache-only"!==o)&&n.push(r.refetch()),t.getQuery(i).setDiff(null)})),this.broadcastQueries(),Promise.all(n)},e.prototype.setObservableQuery=function(e){this.getQuery(e.queryId).setObservableQuery(e)},e.prototype.startGraphQLSubscription=function(e){var t=this,n=e.query,r=e.fetchPolicy,i=e.errorPolicy,o=void 0===i?"none":i,a=e.variables,s=e.context,u=void 0===s?{}:s;n=this.transform(n),a=this.getVariables(n,a);var c=function(e){return t.getObservableFromLink(n,u,e).map((function(i){"no-cache"!==r&&((0,x.shouldWriteResult)(i,o)&&t.cache.write({query:n,result:i.data,dataId:"ROOT_SUBSCRIPTION",variables:e}),t.broadcastQueries());var a=(0,h.graphQLResultHasError)(i),s=(0,S.graphQLResultHasProtocolErrors)(i);if(a||s){var u={};if(a&&(u.graphQLErrors=i.errors),s&&(u.protocolErrors=i.extensions[S.PROTOCOL_ERRORS_SYMBOL]),"none"===o||s)throw new S.ApolloError(u)}return"ignore"===o&&delete i.errors,i}))};if(this.getDocumentInfo(n).hasClientExports){var l=this.localState.addExportedVariables(n,a,u).then(c);return new _.Observable((function(e){var t=null;return l.then((function(n){return t=n.subscribe(e)}),e.error),function(){return t&&t.unsubscribe()}}))}return c(a)},e.prototype.stopQuery=function(e){this.stopQueryNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryNoBroadcast=function(e){this.stopQueryInStoreNoBroadcast(e),this.removeQuery(e)},e.prototype.removeQuery=function(e){this.fetchCancelFns.delete(e),this.queries.has(e)&&(this.getQuery(e).stop(),this.queries.delete(e))},e.prototype.broadcastQueries=function(){this.onBroadcast&&this.onBroadcast(),this.queries.forEach((function(e){return e.notify()}))},e.prototype.getLocalState=function(){return this.localState},e.prototype.getObservableFromLink=function(e,t,n,i){var o,s,u=this;void 0===i&&(i=null!==(o=null==t?void 0:t.queryDeduplication)&&void 0!==o?o:this.queryDeduplication);var c=this.getDocumentInfo(e),f=c.serverQuery,p=c.clientQuery;if(f){var h=this.inFlightLinkObservables,m=this.link,g={query:f,variables:n,operationName:(0,y.getOperationName)(f)||void 0,context:this.prepareContext((0,r.__assign)((0,r.__assign)({},t),{forceFetch:!i}))};if(t=g.context,i){var v=(0,k.print)(f),b=h.get(v)||new Map;h.set(v,b);var S=(0,l.canonicalStringify)(n);if(!(s=b.get(S))){var w=new E.Concast([(0,a.execute)(m,g)]);b.set(S,s=w),w.beforeNext((function(){b.delete(S)&&b.size<1&&h.delete(v)}))}}else s=new E.Concast([(0,a.execute)(m,g)])}else s=new E.Concast([_.Observable.of({data:{}})]),t=this.prepareContext(t);return p&&(s=(0,d.asyncMap)(s,(function(e){return u.localState.runResolvers({document:p,remoteResult:e,context:t,variables:n})}))),s},e.prototype.getResultsFromLink=function(e,t,n){var r=e.lastRequestId=this.generateRequestId(),i=this.cache.transformForLink(n.query);return(0,d.asyncMap)(this.getObservableFromLink(i,n.context,n.variables),(function(o){var a=(0,h.getGraphQLErrorsFromResult)(o),s=a.length>0;if(r>=e.lastRequestId){if(s&&"none"===n.errorPolicy)throw e.markError(new S.ApolloError({graphQLErrors:a}));e.markResult(o,i,n,t),e.markReady()}var u={data:o.data,loading:!1,networkStatus:T.NetworkStatus.ready};return s&&"ignore"!==n.errorPolicy&&(u.errors=a,u.networkStatus=T.NetworkStatus.error),u}),(function(t){var n=(0,S.isApolloError)(t)?t:new S.ApolloError({networkError:t});throw r>=e.lastRequestId&&e.markError(n),n}))},e.prototype.fetchConcastWithInfo=function(e,t,n){var r=this;void 0===n&&(n=T.NetworkStatus.loading);var i,o,a=t.query,s=this.getVariables(a,t.variables),u=this.getQuery(e),c=this.defaultOptions.watchQuery,l=t.fetchPolicy,f=void 0===l?c&&c.fetchPolicy||"cache-first":l,p=t.errorPolicy,d=void 0===p?c&&c.errorPolicy||"none":p,h=t.returnPartialData,m=void 0!==h&&h,y=t.notifyOnNetworkStatusChange,g=void 0!==y&&y,v=t.context,b=void 0===v?{}:v,_=Object.assign({},t,{query:a,variables:s,fetchPolicy:f,errorPolicy:d,returnPartialData:m,notifyOnNetworkStatusChange:g,context:b}),S=function(e){_.variables=e;var i=r.fetchQueryByPolicy(u,_,n);return"standby"!==_.fetchPolicy&&i.sources.length>0&&u.observableQuery&&u.observableQuery.applyNextFetchPolicy("after-fetch",t),i},w=function(){return r.fetchCancelFns.delete(e)};if(this.fetchCancelFns.set(e,(function(e){w(),setTimeout((function(){return i.cancel(e)}))})),this.getDocumentInfo(_.query).hasClientExports)i=new E.Concast(this.localState.addExportedVariables(_.query,_.variables,_.context).then(S).then((function(e){return e.sources}))),o=!0;else{var O=S(_.variables);o=O.fromLink,i=new E.Concast(O.sources)}
9return i.promise.then(w,w),{concast:i,fromLink:o}},e.prototype.refetchQueries=function(e){var t=this,n=e.updateCache,r=e.include,i=e.optimistic,o=void 0!==i&&i,a=e.removeOptimistic,s=void 0===a?o?(0,b.makeUniqueId)("refetchQueries"):void 0:a,u=e.onQueryUpdated,c=new Map;r&&this.getObservableQueries(r).forEach((function(e,n){c.set(n,{oq:e,lastDiff:t.getQuery(n).getDiff()})}));var l=new Map;return n&&this.cache.batch({update:n,optimistic:o&&s||!1,removeOptimistic:s,onWatchUpdated:function(e,t,n){var r=e.watcher instanceof x.QueryInfo&&e.watcher.observableQuery;if(r){if(u){c.delete(r.queryId);var i=u(r,t,n);return!0===i&&(i=r.refetch()),!1!==i&&l.set(r,i),i}null!==u&&c.set(r.queryId,{oq:r,lastDiff:n,diff:t})}}}),c.size&&c.forEach((function(e,n){var r,i=e.oq,o=e.lastDiff,a=e.diff;if(u){if(!a){var s=i.queryInfo;s.reset(),a=s.getDiff()}r=u(i,a,o)}u&&!0!==r||(r=i.refetch()),!1!==r&&l.set(i,r),n.indexOf("legacyOneTimeQuery")>=0&&t.stopQueryNoBroadcast(n)})),s&&this.cache.removeOptimistic(s),l},e.prototype.fetchQueryByPolicy=function(e,t,n){var i=this,a=t.query,s=t.variables,u=t.fetchPolicy,c=t.refetchWritePolicy,l=t.errorPolicy,f=t.returnPartialData,p=t.context,d=t.notifyOnNetworkStatusChange,h=e.networkStatus;e.init({document:a,variables:s,networkStatus:n});var m=function(){return e.getDiff()},y=function(t,n){void 0===n&&(n=e.networkStatus||T.NetworkStatus.loading);var u=t.result;!1===globalThis.__DEV__||f||(0,o.equal)(u,{})||(0,w.logMissingFieldErrors)(t.missing);var c=function(e){return _.Observable.of((0,r.__assign)({data:e,loading:(0,T.isNetworkRequestInFlight)(n),networkStatus:n},t.complete?null:{partial:!0}))};return u&&i.getDocumentInfo(a).hasForcedResolvers?i.localState.runResolvers({document:a,remoteResult:{data:u},context:p,variables:s,onlyRunForcedResolvers:!0}).then((function(e){return c(e.data||void 0)})):"none"===l&&n===T.NetworkStatus.refetch&&Array.isArray(t.missing)?c(void 0):c(u)},g="no-cache"===u?0:n===T.NetworkStatus.refetch&&"merge"!==c?1:2,v=function(){return i.getResultsFromLink(e,g,{query:a,variables:s,context:p,fetchPolicy:u,errorPolicy:l})},b=d&&"number"==typeof h&&h!==n&&(0,T.isNetworkRequestInFlight)(n);switch(u){default:case"cache-first":return(E=m()).complete?{fromLink:!1,sources:[y(E,e.markReady())]}:f||b?{fromLink:!0,sources:[y(E),v()]}:{fromLink:!0,sources:[v()]};case"cache-and-network":var E;return(E=m()).complete||f||b?{fromLink:!0,sources:[y(E),v()]}:{fromLink:!0,sources:[v()]};case"cache-only":return{fromLink:!1,sources:[y(m(),e.markReady())]};case"network-only":return b?{fromLink:!0,sources:[y(m()),v()]}:{fromLink:!0,sources:[v()]};case"no-cache":return b?{fromLink:!0,sources:[y(e.getDiff()),v()]}:{fromLink:!0,sources:[v()]};case"standby":return{fromLink:!1,sources:[]}}},e.prototype.getQuery=function(e){return e&&!this.queries.has(e)&&this.queries.set(e,new x.QueryInfo(this,e)),this.queries.get(e)},e.prototype.prepareContext=function(e){void 0===e&&(e={});var t=this.localState.prepareContext(e);return(0,r.__assign)((0,r.__assign)({},t),{clientAwareness:this.clientAwareness})},e}()},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>u,equal:()=>s});const{toString:r,hasOwnProperty:i}=Object.prototype,o=Function.prototype.toString,a=new Map;function s(e,t){try{return c(e,t)}finally{a.clear()}}const u=s;function c(e,t){if(e===t)return!0;const n=r.call(e);if(n!==r.call(t))return!1;switch(n){case"[object Array]":if(e.length!==t.length)return!1;case"[object Object]":{if(d(e,t))return!0;const n=l(e),r=l(t),o=n.length;if(o!==r.length)return!1;for(let e=0;e<o;++e)if(!i.call(t,n[e]))return!1;for(let r=0;r<o;++r){const i=n[r];if(!c(e[i],t[i]))return!1}return!0}case"[object Error]":return e.name===t.name&&e.message===t.message;case"[object Number]":if(e!=e)return t!=t;case"[object Boolean]":case"[object Date]":return+e==+t;case"[object RegExp]":case"[object String]":return e==`${t}`;case"[object Map]":case"[object Set]":{if(e.size!==t.size)return!1;if(d(e,t))return!0;const r=e.entries(),i="[object Map]"===n;for(;;){const e=r.next();if(e.done)break;const[n,o]=e.value;if(!t.has(n))return!1;if(i&&!c(o,t.get(n)))return!1}return!0}case"[object Uint16Array]":case"[object Uint8Array]":case"[object Uint32Array]":case"[object Int32Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object ArrayBuffer]":e=new Uint8Array(e),t=new Uint8Array(t);case"[object DataView]":{let n=e.byteLength;if(n===t.byteLength)for(;n--&&e[n]===t[n];);return-1===n}case"[object AsyncFunction]":case"[object GeneratorFunction]":case"[object AsyncGeneratorFunction]":case"[object Function]":{const n=o.call(e);return n===o.call(t)&&!function(e,t){const n=e.length-t.length;return n>=0&&e.indexOf(t,n)===n}(n,p)}}return!1}function l(e){return Object.keys(e).filter(f,e)}function f(e){return void 0!==this[e]}const p="{ [native code] }";function d(e,t){let n=a.get(e);if(n){if(n.has(t))return!0}else a.set(e,n=new Set);return n.add(t),!1}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{DocumentTransform:()=>u});var r=n(293),i=n(311),o=n(395),a=n(303);function s(e){return e}var u=function(){function e(e,t){void 0===t&&(t=Object.create(null)),this.resultCache=i.canUseWeakSet?new WeakSet:new Set,this.transform=e,t.getCacheKey&&(this.getCacheKey=t.getCacheKey),!1!==t.cache&&(this.stableCacheKeys=new r.Trie(i.canUseWeakMap,(function(e){return{key:e}})))}return e.prototype.getCacheKey=function(e){return[e]},e.identity=function(){return new e(s,{cache:!1})},e.split=function(t,n,r){return void 0===r&&(r=e.identity()),new e((function(e){return(t(e)?n:r).transformDocument(e)}),{cache:!1})},e.prototype.transformDocument=function(e){if(this.resultCache.has(e))return e;var t=this.getStableCacheEntry(e);if(t&&t.value)return t.value;(0,o.checkDocument)(e);var n=this.transform(e);return this.resultCache.add(n),t&&(t.value=n),n},e.prototype.concat=function(t){var n=this;return new e((function(e){return t.transformDocument(n.transformDocument(e))}
9),{cache:!1})},e.prototype.getStableCacheEntry=function(e){if(this.stableCacheKeys){var t=this.getCacheKey(e);return t?((0,a.invariant)(Array.isArray(t),63),this.stableCacheKeys.lookupArray(t)):void 0}},e}()},(e,t,n)=>{"use strict";n.r(t),n.d(t,{asyncMap:()=>i});var r=n(392);function i(e,t,n){return new r.Observable((function(r){var i=r.next,o=r.error,a=r.complete,s=0,u=!1,c={then:function(e){return new Promise((function(t){return t(e())}))}};function l(e,t){return e?function(t){++s;var n=function(){return e(t)};c=c.then(n,n).then((function(e){--s,i&&i.call(r,e),u&&f.complete()}),(function(e){throw--s,e})).catch((function(e){o&&o.call(r,e)}))}:function(e){return t&&t.call(r,e)}}var f={next:l(t,i),error:l(n,o),complete:function(){u=!0,s||a&&a.call(r)}},p=e.subscribe(f);return function(){return p.unsubscribe()}}))}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{getGraphQLErrorsFromResult:()=>a,graphQLResultHasError:()=>o});var r=n(403),i=n(414);function o(e){var t=a(e);return(0,r.isNonEmptyArray)(t)}function a(e){var t=(0,r.isNonEmptyArray)(e.errors)?e.errors.slice(0):[];return(0,i.isExecutionPatchIncrementalResult)(e)&&(0,r.isNonEmptyArray)(e.incremental)&&e.incremental.forEach((function(e){e.errors&&t.push.apply(t,e.errors)})),t}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{QueryInfo:()=>m,shouldWriteResult:()=>y});var r=n(258),i=n(421),o=n(415),a=n(414),s=n(427),u=n(311),c=n(403),l=n(424),f=n(426),p=new(u.canUseWeakMap?WeakMap:Map);function d(e,t){var n=e[t];"function"==typeof n&&(e[t]=function(){return p.set(e,(p.get(e)+1)%1e15),n.apply(this,arguments)})}function h(e){e.notifyTimeout&&(clearTimeout(e.notifyTimeout),e.notifyTimeout=void 0)}var m=function(){function e(e,t){void 0===t&&(t=e.generateQueryId()),this.queryId=t,this.listeners=new Set,this.document=null,this.lastRequestId=1,this.subscriptions=new Set,this.stopped=!1,this.dirty=!1,this.observableQuery=null;var n=this.cache=e.cache;p.has(n)||(p.set(n,0),d(n,"evict"),d(n,"modify"),d(n,"reset"))}return e.prototype.init=function(e){var t=e.networkStatus||f.NetworkStatus.loading;return this.variables&&this.networkStatus!==f.NetworkStatus.loading&&!(0,i.equal)(this.variables,e.variables)&&(t=f.NetworkStatus.setVariables),(0,i.equal)(e.variables,this.variables)||(this.lastDiff=void 0),Object.assign(this,{document:e.document,variables:e.variables,networkError:null,graphQLErrors:this.graphQLErrors||[],networkStatus:t}),e.observableQuery&&this.setObservableQuery(e.observableQuery),e.lastRequestId&&(this.lastRequestId=e.lastRequestId),this},e.prototype.reset=function(){h(this),this.dirty=!1},e.prototype.getDiff=function(){var e=this.getDiffOptions();if(this.lastDiff&&(0,i.equal)(e,this.lastDiff.options))return this.lastDiff.diff;this.updateWatch(this.variables);var t=this.observableQuery;if(t&&"no-cache"===t.options.fetchPolicy)return{complete:!1};var n=this.cache.diff(e);return this.updateLastDiff(n,e),n},e.prototype.updateLastDiff=function(e,t){this.lastDiff=e?{diff:e,options:t||this.getDiffOptions()}:void 0},e.prototype.getDiffOptions=function(e){var t;return void 0===e&&(e=this.variables),{query:this.document,variables:e,returnPartialData:!0,optimistic:!0,canonizeResults:null===(t=this.observableQuery)||void 0===t?void 0:t.options.canonizeResults}},e.prototype.setDiff=function(e){var t=this,n=this.lastDiff&&this.lastDiff.diff;this.updateLastDiff(e),this.dirty||(0,i.equal)(n&&n.result,e&&e.result)||(this.dirty=!0,this.notifyTimeout||(this.notifyTimeout=setTimeout((function(){return t.notify()}),0)))},e.prototype.setObservableQuery=function(e){var t=this;e!==this.observableQuery&&(this.oqListener&&this.listeners.delete(this.oqListener),this.observableQuery=e,e?(e.queryInfo=this,this.listeners.add(this.oqListener=function(){t.getDiff().fromOptimisticTransaction?e.observe():(0,s.reobserveCacheFirst)(e)})):delete this.oqListener)},e.prototype.notify=function(){var e=this;h(this),this.shouldNotify()&&this.listeners.forEach((function(t){return t(e)})),this.dirty=!1},e.prototype.shouldNotify=function(){if(!this.dirty||!this.listeners.size)return!1;if((0,f.isNetworkRequestInFlight)(this.networkStatus)&&this.observableQuery){var e=this.observableQuery.options.fetchPolicy;if("cache-only"!==e&&"cache-and-network"!==e)return!1}return!0},e.prototype.stop=function(){if(!this.stopped){this.stopped=!0,this.reset(),this.cancel(),this.cancel=e.prototype.cancel,this.subscriptions.forEach((function(e){return e.unsubscribe()}));var t=this.observableQuery;t&&t.stopPolling()}},e.prototype.cancel=function(){},e.prototype.updateWatch=function(e){var t=this;void 0===e&&(e=this.variables);var n=this.observableQuery;if(!n||"no-cache"!==n.options.fetchPolicy){var o=(0,r.__assign)((0,r.__assign)({},this.getDiffOptions(e)),{watcher:this,callback:function(e){return t.setDiff(e)}});
9this.lastWatch&&(0,i.equal)(o,this.lastWatch)||(this.cancel(),this.cancel=this.cache.watch(this.lastWatch=o))}},e.prototype.resetLastWrite=function(){this.lastWrite=void 0},e.prototype.shouldWrite=function(e,t){var n=this.lastWrite;return!(n&&n.dmCount===p.get(this.cache)&&(0,i.equal)(t,n.variables)&&(0,i.equal)(e.data,n.result.data))},e.prototype.markResult=function(e,t,n,r){var s=this,u=new o.DeepMerger,l=(0,c.isNonEmptyArray)(e.errors)?e.errors.slice(0):[];if(this.reset(),"incremental"in e&&(0,c.isNonEmptyArray)(e.incremental)){var f=(0,a.mergeIncrementalData)(this.getDiff().result,e);e.data=f}else if("hasNext"in e&&e.hasNext){var d=this.getDiff();e.data=u.merge(d.result,e.data)}this.graphQLErrors=l,"no-cache"===n.fetchPolicy?this.updateLastDiff({result:e.data,complete:!0},this.getDiffOptions(n.variables)):0!==r&&(y(e,n.errorPolicy)?this.cache.performTransaction((function(o){if(s.shouldWrite(e,n.variables))o.writeQuery({query:t,data:e.data,variables:n.variables,overwrite:1===r}),s.lastWrite={result:e,variables:n.variables,dmCount:p.get(s.cache)};else if(s.lastDiff&&s.lastDiff.diff.complete)return void(e.data=s.lastDiff.diff.result);var a=s.getDiffOptions(n.variables),u=o.diff(a);!s.stopped&&(0,i.equal)(s.variables,n.variables)&&s.updateWatch(n.variables),s.updateLastDiff(u,a),u.complete&&(e.data=u.result)})):this.lastWrite=void 0)},e.prototype.markReady=function(){return this.networkError=null,this.networkStatus=f.NetworkStatus.ready},e.prototype.markError=function(e){return this.networkStatus=f.NetworkStatus.error,this.lastWrite=void 0,this.reset(),e.graphQLErrors&&(this.graphQLErrors=e.graphQLErrors),e.networkError&&(this.networkError=e.networkError),e},e}();function y(e,t){void 0===t&&(t="none");var n="ignore"===t||"all"===t,r=!(0,l.graphQLResultHasError)(e);return!r&&n&&e.data&&(r=!0),r}},(e,t,n)=>{"use strict";var r;function i(e){return!!e&&e<7}function o(e){return 7===e||8===e}n.r(t),n.d(t,{NetworkStatus:()=>r,isNetworkRequestInFlight:()=>i,isNetworkRequestSettled:()=>o}),function(e){e[e.loading=1]="loading",e[e.setVariables=2]="setVariables",e[e.fetchMore=3]="fetchMore",e[e.refetch=4]="refetch",e[e.poll=6]="poll",e[e.ready=7]="ready",e[e.error=8]="error"}(r||(r={}))},(e,t,n)=>{"use strict";n.r(t),n.d(t,{ObservableQuery:()=>y,logMissingFieldErrors:()=>b,reobserveCacheFirst:()=>g});var r=n(258),i=n(303),o=n(421),a=n(426),s=n(395),u=n(376),c=n(429),l=n(430),f=n(392),p=n(431),d=n(428),h=Object.assign,m=Object.hasOwnProperty,y=function(e){function t(t){var n=t.queryManager,i=t.queryInfo,o=t.options,a=e.call(this,(function(e){try{var t=e._subscription._observer;t&&!t.error&&(t.error=v)}catch(e){}var n=!a.observers.size;a.observers.add(e);var r=a.last;return r&&r.error?e.error&&e.error(r.error):r&&r.result&&e.next&&e.next(r.result),n&&a.reobserve().catch((function(){})),function(){a.observers.delete(e)&&!a.observers.size&&a.tearDownQuery()}}))||this;a.observers=new Set,a.subscriptions=new Set,a.queryInfo=i,a.queryManager=n,a.waitForOwnResult=_(o.fetchPolicy),a.isTornDown=!1;var u=n.defaultOptions.watchQuery,c=(void 0===u?{}:u).fetchPolicy,l=void 0===c?"cache-first":c,f=o.fetchPolicy,p=void 0===f?l:f,d=o.initialFetchPolicy,h=void 0===d?"standby"===p?l:p:d;a.options=(0,r.__assign)((0,r.__assign)({},o),{initialFetchPolicy:h,fetchPolicy:p}),a.queryId=i.queryId||n.generateQueryId();var m=(0,s.getOperationDefinition)(a.query);return a.queryName=m&&m.name&&m.name.value,a}return(0,r.__extends)(t,e),Object.defineProperty(t.prototype,"query",{get:function(){return this.lastQuery||this.options.query},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"variables",{get:function(){return this.options.variables},enumerable:!1,configurable:!0}),t.prototype.result=function(){var e=this;return new Promise((function(t,n){var r={next:function(n){t(n),e.observers.delete(r),e.observers.size||e.queryManager.removeQuery(e.queryId),setTimeout((function(){i.unsubscribe()}),0)},error:n},i=e.subscribe(r)}))},t.prototype.getCurrentResult=function(e){void 0===e&&(e=!0);var t=this.getLastResult(!0),n=this.queryInfo.networkStatus||t&&t.networkStatus||a.NetworkStatus.ready,i=(0,r.__assign)((0,r.__assign)({}
9,t),{loading:(0,a.isNetworkRequestInFlight)(n),networkStatus:n}),s=this.options.fetchPolicy,u=void 0===s?"cache-first":s;if(_(u)||this.queryManager.getDocumentInfo(this.query).hasForcedResolvers);else if(this.waitForOwnResult)this.queryInfo.updateWatch();else{var c=this.queryInfo.getDiff();(c.complete||this.options.returnPartialData)&&(i.data=c.result),(0,o.equal)(i.data,{})&&(i.data=void 0),c.complete?(delete i.partial,!c.complete||i.networkStatus!==a.NetworkStatus.loading||"cache-first"!==u&&"cache-only"!==u||(i.networkStatus=a.NetworkStatus.ready,i.loading=!1)):i.partial=!0,!1===globalThis.__DEV__||c.complete||this.options.partialRefetch||i.loading||i.data||i.error||b(c.missing)}return e&&this.updateLastResult(i),i},t.prototype.isDifferentFromLastResult=function(e,t){return!this.last||((this.queryManager.getDocumentInfo(this.query).hasNonreactiveDirective?!(0,d.equalByQuery)(this.query,this.last.result,e,this.variables):!(0,o.equal)(this.last.result,e))||t&&!(0,o.equal)(this.last.variables,t))},t.prototype.getLast=function(e,t){var n=this.last;if(n&&n[e]&&(!t||(0,o.equal)(n.variables,this.variables)))return n[e]},t.prototype.getLastResult=function(e){return this.getLast("result",e)},t.prototype.getLastError=function(e){return this.getLast("error",e)},t.prototype.resetLastResults=function(){delete this.last,this.isTornDown=!1},t.prototype.resetQueryStoreErrors=function(){this.queryManager.resetErrors(this.queryId)},t.prototype.refetch=function(e){var t,n={pollInterval:0},u=this.options.fetchPolicy;if(n.fetchPolicy="cache-and-network"===u?u:"no-cache"===u?"no-cache":"network-only",!1!==globalThis.__DEV__&&e&&m.call(e,"variables")){var c=(0,s.getQueryDefinition)(this.query),l=c.variableDefinitions;l&&l.some((function(e){return"variables"===e.variable.name.value}))||!1!==globalThis.__DEV__&&i.invariant.warn(18,e,(null===(t=c.name)||void 0===t?void 0:t.value)||c)}return e&&!(0,o.equal)(this.options.variables,e)&&(n.variables=this.options.variables=(0,r.__assign)((0,r.__assign)({},this.options.variables),e)),this.queryInfo.resetLastWrite(),this.reobserve(n,a.NetworkStatus.refetch)},t.prototype.fetchMore=function(e){var t=this,n=(0,r.__assign)((0,r.__assign)({},e.query?e:(0,r.__assign)((0,r.__assign)((0,r.__assign)((0,r.__assign)({},this.options),{query:this.options.query}),e),{variables:(0,r.__assign)((0,r.__assign)({},this.options.variables),e.variables)})),{fetchPolicy:"no-cache"});n.query=this.transformDocument(n.query);var i=this.queryManager.generateQueryId();this.lastQuery=e.query?this.transformDocument(this.options.query):n.query;var o=this.queryInfo,s=o.networkStatus;o.networkStatus=a.NetworkStatus.fetchMore,n.notifyOnNetworkStatusChange&&this.observe();var u=new Set;return this.queryManager.fetchQuery(i,n,a.NetworkStatus.fetchMore).then((function(r){return t.queryManager.removeQuery(i),o.networkStatus===a.NetworkStatus.fetchMore&&(o.networkStatus=s),t.queryManager.cache.batch({update:function(i){var o=e.updateQuery;o?i.updateQuery({query:t.query,variables:t.variables,returnPartialData:!0,optimistic:!1},(function(e){return o(e,{fetchMoreResult:r.data,variables:n.variables})})):i.writeQuery({query:n.query,variables:n.variables,data:r.data})},onWatchUpdated:function(e){u.add(e.query)}}),r})).finally((function(){u.has(t.query)||g(t)}))},t.prototype.subscribeToMore=function(e){var t=this,n=this.queryManager.startGraphQLSubscription({query:e.document,variables:e.variables,context:e.context}).subscribe({next:function(n){var r=e.updateQuery;r&&t.updateQuery((function(e,t){var i=t.variables;return r(e,{subscriptionData:n,variables:i})}))},error:function(t){e.onError?e.onError(t):!1!==globalThis.__DEV__&&i.invariant.error(19,t)}});return this.subscriptions.add(n),function(){t.subscriptions.delete(n)&&n.unsubscribe()}},t.prototype.setOptions=function(e){return this.reobserve(e)},t.prototype.silentSetOptions=function(e){var t=(0,u.compact)(this.options,e||{});h(this.options,t)},t.prototype.setVariables=function(e){return(0,o.equal)(this.variables,e)?this.observers.size?this.result():Promise.resolve():(this.options.variables=e,this.observers.size?this.reobserve({fetchPolicy:this.options.initialFetchPolicy,variables:e},a.NetworkStatus.setVariables):Promise.resolve())},t.prototype.updateQuery=function(e){var t=this.queryManager,n=e(t.cache.diff({query:this.options.query,variables:this.variables,returnPartialData:!0,optimistic:!1}).result,{variables:this.variables});n&&(t.cache.writeQuery({query:this.options.query,data:n,variables:this.variables}),t.broadcastQueries())},t.prototype.startPolling=function(e){this.options.pollInterval=e,this.updatePolling()},t.prototype.stopPolling=function(){this.options.pollInterval=0,this.updatePolling()},t.prototype.applyNextFetchPolicy=function(e,t){if(t.nextFetchPolicy){var n=t.fetchPolicy,r=void 0===n?"cache-first":n,i=t.initialFetchPolicy,o=void 0===i?r:i;"standby"===r||("function"==typeof t.nextFetchPolicy?t.fetchPolicy=t.nextFetchPolicy(r,{reason:e,options:t,observable:this,initialFetchPolicy:o}):t.fetchPolicy="variables-changed"===e?o:t.nextFetchPolicy)}return t.fetchPolicy},t.prototype.fetch=function(e,t){return this.queryManager.setObservableQuery(this),this.queryManager.fetchConcastWithInfo(this.queryId,e,t)},t.prototype.updatePolling=function(){var e=this;if(!this.queryManager.ssrMode){var t=this.pollingInfo,n=this.options.pollInterval;if(n){if(!t||t.interval!==n){(0,i.invariant)(n,20),(t||(this.pollingInfo={})).interval=n;
9var r=function(){e.pollingInfo&&((0,a.isNetworkRequestInFlight)(e.queryInfo.networkStatus)?o():e.reobserve({fetchPolicy:"no-cache"===e.options.initialFetchPolicy?"no-cache":"network-only"},a.NetworkStatus.poll).then(o,o))},o=function(){var t=e.pollingInfo;t&&(clearTimeout(t.timeout),t.timeout=setTimeout(r,t.interval))};o()}}else t&&(clearTimeout(t.timeout),delete this.pollingInfo)}},t.prototype.updateLastResult=function(e,t){void 0===t&&(t=this.variables);var n=this.getLastError();return n&&this.last&&!(0,o.equal)(t,this.last.variables)&&(n=void 0),this.last=(0,r.__assign)({result:this.queryManager.assumeImmutableResults?e:(0,c.cloneDeep)(e),variables:t},n?{error:n}:null)},t.prototype.reobserveAsConcast=function(e,t){var n=this;this.isTornDown=!1;var i=t===a.NetworkStatus.refetch||t===a.NetworkStatus.fetchMore||t===a.NetworkStatus.poll,s=this.options.variables,c=this.options.fetchPolicy,l=(0,u.compact)(this.options,e||{}),f=i?l:h(this.options,l),p=this.transformDocument(f.query);this.lastQuery=p,i||(this.updatePolling(),e&&e.variables&&!(0,o.equal)(e.variables,s)&&"standby"!==f.fetchPolicy&&f.fetchPolicy===c&&(this.applyNextFetchPolicy("variables-changed",f),void 0===t&&(t=a.NetworkStatus.setVariables)));var d=p===f.query?f:(0,r.__assign)((0,r.__assign)({},f),{query:p});this.waitForOwnResult&&(this.waitForOwnResult=_(d.fetchPolicy));var m=function(){n.concast===v&&(n.waitForOwnResult=!1)},y=d.variables&&(0,r.__assign)({},d.variables),g=this.fetch(d,t),v=g.concast,b=g.fromLink,E={next:function(e){m(),n.reportResult(e,y)},error:function(e){m(),n.reportError(e,y)}};return i||!b&&this.concast||(this.concast&&this.observer&&this.concast.removeObserver(this.observer),this.concast=v,this.observer=E),v.addObserver(E),v},t.prototype.reobserve=function(e,t){return this.reobserveAsConcast(e,t).promise},t.prototype.resubscribeAfterError=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=this.last;this.resetLastResults();var r=this.subscribe.apply(this,e);return this.last=n,r},t.prototype.observe=function(){this.reportResult(this.getCurrentResult(!1),this.variables)},t.prototype.reportResult=function(e,t){var n=this.getLastError(),r=this.isDifferentFromLastResult(e,t);(n||!e.partial||this.options.returnPartialData)&&this.updateLastResult(e,t),(n||r)&&(0,l.iterateObserversSafely)(this.observers,"next",e)},t.prototype.reportError=function(e,t){var n=(0,r.__assign)((0,r.__assign)({},this.getLastResult()),{error:e,errors:e.graphQLErrors,networkStatus:a.NetworkStatus.error,loading:!1});this.updateLastResult(n,t),(0,l.iterateObserversSafely)(this.observers,"error",this.last.error=e)},t.prototype.hasObservers=function(){return this.observers.size>0},t.prototype.tearDownQuery=function(){this.isTornDown||(this.concast&&this.observer&&(this.concast.removeObserver(this.observer),delete this.concast,delete this.observer),this.stopPolling(),this.subscriptions.forEach((function(e){return e.unsubscribe()})),this.subscriptions.clear(),this.queryManager.stopQuery(this.queryId),this.observers.clear(),this.isTornDown=!0)},t.prototype.transformDocument=function(e){return this.queryManager.transform(e)},t}(f.Observable);function g(e){var t=e.options,n=t.fetchPolicy,r=t.nextFetchPolicy;return"cache-and-network"===n||"network-only"===n?e.reobserve({fetchPolicy:"cache-first",nextFetchPolicy:function(){return this.nextFetchPolicy=r,"function"==typeof r?r.apply(this,arguments):n}}):e.reobserve()}function v(e){!1!==globalThis.__DEV__&&i.invariant.error(21,e.message,e.stack)}function b(e){!1!==globalThis.__DEV__&&e&&!1!==globalThis.__DEV__&&i.invariant.debug(22,e)}function _(e){return"network-only"===e||"no-cache"===e||"standby"===e}(0,p.fixObservableSubclass)(y)},(e,t,n)=>{"use strict";n.r(t),n.d(t,{equalByQuery:()=>c});var r=n(258),i=n(421),o=n(395),a=n(398),s=n(401),u=n(396);function c(e,t,n,s){var u=t.data,c=(0,r.__rest)(t,["data"]),f=n.data,p=(0,r.__rest)(n,["data"]);return(0,i.default)(c,p)&&l((0,o.getMainDefinition)(e).selectionSet,u,f,{fragmentMap:(0,a.createFragmentMap)((0,o.getFragmentDefinitions)(e)),variables:s})}function l(e,t,n,r){if(t===n)return!0;var o=new Set;return e.selections.every((function(e){if(o.has(e))return!0;
9if(o.add(e),!(0,s.shouldInclude)(e,r.variables))return!0;if(f(e))return!0;if((0,u.isField)(e)){var c=(0,u.resultKeyNameFromField)(e),p=t&&t[c],d=n&&n[c],h=e.selectionSet;if(!h)return(0,i.default)(p,d);var m=Array.isArray(p),y=Array.isArray(d);if(m!==y)return!1;if(m&&y){var g=p.length;if(d.length!==g)return!1;for(var v=0;v<g;++v)if(!l(h,p[v],d[v],r))return!1;return!0}return l(h,p,d,r)}var b=(0,a.getFragmentFromSelection)(e,r.fragmentMap);return b?!!f(b)||l(b.selectionSet,t,n,r):void 0}))}function f(e){return!!e.directives&&e.directives.some(p)}function p(e){return"nonreactive"===e.name.value}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{cloneDeep:()=>i});var r=Object.prototype.toString;function i(e){return o(e)}function o(e,t){switch(r.call(e)){case"[object Array]":if((t=t||new Map).has(e))return t.get(e);var n=e.slice(0);return t.set(e,n),n.forEach((function(e,r){n[r]=o(e,t)})),n;case"[object Object]":if((t=t||new Map).has(e))return t.get(e);var i=Object.create(Object.getPrototypeOf(e));return t.set(e,i),Object.keys(e).forEach((function(n){i[n]=o(e[n],t)})),i;default:return e}}},(e,t,n)=>{"use strict";function r(e,t,n){var r=[];e.forEach((function(e){return e[t]&&r.push(e)})),r.forEach((function(e){return e[t](n)}))}n.r(t),n.d(t,{iterateObserversSafely:()=>r})},(e,t,n)=>{"use strict";n.r(t),n.d(t,{fixObservableSubclass:()=>o});var r=n(392),i=n(311);function o(e){function t(t){Object.defineProperty(e,t,{value:r.Observable})}return i.canUseSymbol&&Symbol.species&&t(Symbol.species),t("@@species"),e}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{ObjectCanon:()=>l,canonicalStringify:()=>f});var r=n(258),i=n(293),o=n(397),a=n(311),s=n(403);var u,c,l=function(){function e(){this.known=new(a.canUseWeakSet?WeakSet:Set),this.pool=new i.Trie(a.canUseWeakMap),this.passes=new WeakMap,this.keysByJSON=new Map,this.empty=this.admit({})}return e.prototype.isKnown=function(e){return(0,o.isNonNullObject)(e)&&this.known.has(e)},e.prototype.pass=function(e){if((0,o.isNonNullObject)(e)){var t=function(e){return(0,o.isNonNullObject)(e)?(0,s.isArray)(e)?e.slice(0):(0,r.__assign)({__proto__:Object.getPrototypeOf(e)},e):e}(e);return this.passes.set(t,e),t}return e},e.prototype.admit=function(e){var t=this;if((0,o.isNonNullObject)(e)){var n=this.passes.get(e);if(n)return n;switch(Object.getPrototypeOf(e)){case Array.prototype:if(this.known.has(e))return e;var r=e.map(this.admit,this);return(u=this.pool.lookupArray(r)).array||(this.known.add(u.array=r),!1!==globalThis.__DEV__&&Object.freeze(r)),u.array;case null:case Object.prototype:if(this.known.has(e))return e;var i=Object.getPrototypeOf(e),a=[i],s=this.sortedKeys(e);a.push(s.json);var u,c=a.length;if(s.sorted.forEach((function(n){a.push(t.admit(e[n]))})),!(u=this.pool.lookupArray(a)).object){var l=u.object=Object.create(i);this.known.add(l),s.sorted.forEach((function(e,t){l[e]=a[c+t]})),!1!==globalThis.__DEV__&&Object.freeze(l)}return u.object}}return e},e.prototype.sortedKeys=function(e){var t=Object.keys(e),n=this.pool.lookupArray(t);if(!n.keys){t.sort();var r=JSON.stringify(t);(n.keys=this.keysByJSON.get(r))||this.keysByJSON.set(r,n.keys={sorted:t,json:r})}return n.keys},e}(),f=Object.assign((function(e){if((0,o.isNonNullObject)(e)){void 0===u&&p();var t=u.admit(e),n=c.get(t);return void 0===n&&c.set(t,n=JSON.stringify(t)),n}return JSON.stringify(e)}),{reset:p});function p(){u=new l,c=new(a.canUseWeakMap?WeakMap:Map)}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{Concast:()=>u});var r=n(258),i=n(392),o=n(430),a=n(431);function s(e){return e&&"function"==typeof e.then}var u=function(e){function t(t){var n=e.call(this,(function(e){return n.addObserver(e),function(){return n.removeObserver(e)}}))||this;return n.observers=new Set,n.promise=new Promise((function(e,t){n.resolve=e,n.reject=t})),n.handlers={next:function(e){null!==n.sub&&(n.latest=["next",e],n.notify("next",e),(0,o.iterateObserversSafely)(n.observers,"next",e))},error:function(e){var t=n.sub;null!==t&&(t&&setTimeout((function(){return t.unsubscribe()})),n.sub=null,n.latest=["error",e],n.reject(e),n.notify("error",e),(0,o.iterateObserversSafely)(n.observers,"error",e))},complete:function(){var e=n,t=e.sub,r=e.sources;if(null!==t){var i=(void 0===r?[]:r).shift();i?s(i)?i.then((function(e){return n.sub=e.subscribe(n.handlers)})):n.sub=i.subscribe(n.handlers):(t&&setTimeout((function(){return t.unsubscribe()})),n.sub=null,n.latest&&"next"===n.latest[0]?n.resolve(n.latest[1]):n.resolve(),n.notify("complete"),(0,o.iterateObserversSafely)(n.observers,"complete"))}}},n.nextResultListeners=new Set,n.cancel=function(e){n.reject(e),n.sources=[],n.handlers.complete()},n.promise.catch((function(e){})),"function"==typeof t&&(t=[new i.Observable(t)]),s(t)?t.then((function(e){return n.start(e)}),n.handlers.error):n.start(t),n}return(0,r.__extends)(t,e),t.prototype.start=function(e){void 0===this.sub&&(this.sources=Array.from(e),this.handlers.complete())},t.prototype.deliverLastMessage=function(e){if(this.latest){var t=this.latest[0],n=e[t];n&&n.call(e,this.latest[1]),null===this.sub&&"next"===t&&e.complete&&e.complete()}},t.prototype.addObserver=function(e){this.observers.has(e)||(this.deliverLastMessage(e),this.observers.add(e))},t.prototype.removeObserver=function(e){this.observers.delete(e)&&this.observers.size<1&&this.handlers.complete()},t.prototype.notify=function(e,t){var n=this.nextResultListeners;
9n.size&&(this.nextResultListeners=new Set,n.forEach((function(n){return n(e,t)})))},t.prototype.beforeNext=function(e){var t=!1;this.nextResultListeners.add((function(n,r){t||(t=!0,e(n,r))}))},t}(i.Observable);(0,a.fixObservableSubclass)(u)},(e,t,n)=>{"use strict";n.r(t),n.d(t,{execute:()=>r});var r=n(391).ApolloLink.execute},(e,t,n)=>{"use strict";var r;n.r(t),n.d(t,{Cache:()=>r}),r||(r={})},(e,t,n)=>{"use strict";n.r(t),n.d(t,{ApolloCache:()=>a});var r=n(258),i=n(292),o=n(398),a=function(){function e(){this.assumeImmutableResults=!1,this.getFragmentDoc=(0,i.wrap)(o.getFragmentQueryDocument)}return e.prototype.batch=function(e){var t,n=this,r="string"==typeof e.optimistic?e.optimistic:!1===e.optimistic?null:void 0;return this.performTransaction((function(){return t=e.update(n)}),r),t},e.prototype.recordOptimisticTransaction=function(e,t){this.performTransaction(e,t)},e.prototype.transformDocument=function(e){return e},e.prototype.transformForLink=function(e){return e},e.prototype.identify=function(e){},e.prototype.gc=function(){return[]},e.prototype.modify=function(e){return!1},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!!e.optimistic),this.read((0,r.__assign)((0,r.__assign)({},e),{rootId:e.id||"ROOT_QUERY",optimistic:t}))},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!!e.optimistic),this.read((0,r.__assign)((0,r.__assign)({},e),{query:this.getFragmentDoc(e.fragment,e.fragmentName),rootId:e.id,optimistic:t}))},e.prototype.writeQuery=function(e){var t=e.id,n=e.data,i=(0,r.__rest)(e,["id","data"]);return this.write(Object.assign(i,{dataId:t||"ROOT_QUERY",result:n}))},e.prototype.writeFragment=function(e){var t=e.id,n=e.data,i=e.fragment,o=e.fragmentName,a=(0,r.__rest)(e,["id","data","fragment","fragmentName"]);return this.write(Object.assign(a,{query:this.getFragmentDoc(i,o),dataId:t,result:n}))},e.prototype.updateQuery=function(e,t){return this.batch({update:function(n){var i=n.readQuery(e),o=t(i);return null==o?i:(n.writeQuery((0,r.__assign)((0,r.__assign)({},e),{data:o})),o)}})},e.prototype.updateFragment=function(e,t){return this.batch({update:function(n){var i=n.readFragment(e),o=t(i);return null==o?i:(n.writeFragment((0,r.__assign)((0,r.__assign)({},e),{data:o})),o)}})},e}()},(e,t,n)=>{"use strict";n.r(t),n.d(t,{InMemoryCache:()=>b});var r=n(258),i=n(303),o=n(292),a=n(421),s=n(436),u=n(445),c=n(422),l=n(402),f=n(396),p=n(444),d=n(443),h=n(441),m=n(291),y=n(439),g=n(438),v=n(432),b=function(e){function t(t){void 0===t&&(t={});var n=e.call(this)||this;return n.watches=new Set,n.addTypenameTransform=new c.DocumentTransform(l.addTypenameToDocument),n.assumeImmutableResults=!0,n.makeVar=m.makeVar,n.txCount=0,n.config=(0,g.normalizeConfig)(t),n.addTypename=!!n.config.addTypename,n.policies=new y.Policies({cache:n,dataIdFromObject:n.config.dataIdFromObject,possibleTypes:n.config.possibleTypes,typePolicies:n.config.typePolicies}),n.init(),n}return(0,r.__extends)(t,e),t.prototype.init=function(){var e=this.data=new h.EntityStore.Root({policies:this.policies,resultCaching:this.config.resultCaching});this.optimisticData=e.stump,this.resetResultCache()},t.prototype.resetResultCache=function(e){var t=this,n=this.storeReader,r=this.config.fragments;this.storeWriter=new d.StoreWriter(this,this.storeReader=new p.StoreReader({cache:this,addTypename:this.addTypename,resultCacheMaxSize:this.config.resultCacheMaxSize,canonizeResults:(0,g.shouldCanonizeResults)(this.config),canon:e?void 0:n&&n.canon,fragments:r}),r),this.maybeBroadcastWatch=(0,o.wrap)((function(e,n){return t.broadcastWatch(e,n)}),{max:this.config.resultCacheMaxSize,makeCacheKey:function(e){var n=e.optimistic?t.optimisticData:t.data;if((0,h.supportsResultCaching)(n)){var r=e.optimistic,i=e.id,o=e.variables;return n.makeCacheKey(e.query,e.callback,(0,v.canonicalStringify)({optimistic:r,id:i,variables:o}))}}}),new Set([this.data.group,this.optimisticData.group]).forEach((function(e){return e.resetCaching()}))},t.prototype.restore=function(e){return this.init(),e&&this.data.replace(e),this},t.prototype.extract=function(e){return void 0===e&&(e=!1),(e?this.optimisticData:this.data).extract()},t.prototype.read=function(e){var t=e.returnPartialData,n=void 0!==t&&t;try{return this.storeReader.diffQueryAgainstStore((0,r.__assign)((0,r.__assign)({},e),{store:e.optimistic?this.optimisticData:this.data,config:this.config,returnPartialData:n})).result||null}catch(e){if(e instanceof u.MissingFieldError)return null;throw e}},t.prototype.write=function(e){try{return++this.txCount,this.storeWriter.writeToStore(this.data,e)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.modify=function(e){if(g.hasOwn.call(e,"id")&&!e.id)return!1;var t=e.optimistic?this.optimisticData:this.data;try{return++this.txCount,t.modify(e.id||"ROOT_QUERY",e.fields)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.diff=function(e){return this.storeReader.diffQueryAgainstStore((0,r.__assign)((0,r.__assign)({},e),{store:e.optimistic?this.optimisticData:this.data,rootId:e.id||"ROOT_QUERY",config:this.config}))},t.prototype.watch=function(e){var t=this;return this.watches.size||(0,m.recallCache)(this),this.watches.add(e),e.immediate&&this.maybeBroadcastWatch(e),function(){t.watches.delete(e)&&!t.watches.size&&(0,m.forgetCache)(t),t.maybeBroadcastWatch.forget(e)}},t.prototype.gc=function(e){v.canonicalStringify.reset();var t=this.optimisticData.gc();return e&&!this.txCount&&(e.resetResultCache?this.resetResultCache(e.resetResultIdentities):e.resetResultIdentities&&this.storeReader.resetCanon()),t},t.prototype.retain=function(e,t){return(t?this.optimisticData:this.data).retain(e)},t.prototype.release=function(e,t){return(t?this.optimisticData:this.data).release(e)},t.prototype.identify=function(e){if((0,f.isReference)(e))return e.__ref;try{return this.policies.identify(e)[0]}catch(e){!1!==globalThis.__DEV__&&i.invariant.warn(e)}},t.prototype.evict=function(e){if(!e.id){if(g.hasOwn.call(e,"id"))return!1;e=(0,r.__assign)((0,r.__assign)({},e),{id:"ROOT_QUERY"})}try{return++this.txCount,this.optimisticData.evict(e,this.data)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.reset=function(e){var t=this;return this.init(),v.canonicalStringify.reset(),e&&e.discardWatches?(this.watches.forEac
9h((function(e){return t.maybeBroadcastWatch.forget(e)})),this.watches.clear(),(0,m.forgetCache)(this)):this.broadcastWatches(),Promise.resolve()},t.prototype.removeOptimistic=function(e){var t=this.optimisticData.removeLayer(e);t!==this.optimisticData&&(this.optimisticData=t,this.broadcastWatches())},t.prototype.batch=function(e){var t,n=this,i=e.update,o=e.optimistic,a=void 0===o||o,s=e.removeOptimistic,u=e.onWatchUpdated,c=function(e){var r=n,o=r.data,a=r.optimisticData;++n.txCount,e&&(n.data=n.optimisticData=e);try{return t=i(n)}finally{--n.txCount,n.data=o,n.optimisticData=a}},l=new Set;return u&&!this.txCount&&this.broadcastWatches((0,r.__assign)((0,r.__assign)({},e),{onWatchUpdated:function(e){return l.add(e),!1}})),"string"==typeof a?this.optimisticData=this.optimisticData.addLayer(a,c):!1===a?c(this.data):c(),"string"==typeof s&&(this.optimisticData=this.optimisticData.removeLayer(s)),u&&l.size?(this.broadcastWatches((0,r.__assign)((0,r.__assign)({},e),{onWatchUpdated:function(e,t){var n=u.call(this,e,t);return!1!==n&&l.delete(e),n}})),l.size&&l.forEach((function(e){return n.maybeBroadcastWatch.dirty(e)}))):this.broadcastWatches(e),t},t.prototype.performTransaction=function(e,t){return this.batch({update:e,optimistic:t||null!==t})},t.prototype.transformDocument=function(e){return this.addTypenameToDocument(this.addFragmentsToDocument(e))},t.prototype.broadcastWatches=function(e){var t=this;this.txCount||this.watches.forEach((function(n){return t.maybeBroadcastWatch(n,e)}))},t.prototype.addFragmentsToDocument=function(e){var t=this.config.fragments;return t?t.transform(e):e},t.prototype.addTypenameToDocument=function(e){return this.addTypename?this.addTypenameTransform.transformDocument(e):e},t.prototype.broadcastWatch=function(e,t){var n=e.lastDiff,r=this.diff(e);t&&(e.optimistic&&"string"==typeof t.optimistic&&(r.fromOptimisticTransaction=!0),t.onWatchUpdated&&!1===t.onWatchUpdated.call(this,e,r,n))||n&&(0,a.equal)(n.result,r.result)||e.callback(e.lastDiff=r,n)},t}(s.ApolloCache)},(e,t,n)=>{"use strict";n.r(t),n.d(t,{TypeOrFieldNameRegExp:()=>v,defaultDataIdFromObject:()=>d,extractFragmentContext:()=>w,fieldNameFromStoreName:()=>b,getTypenameFromStoreObject:()=>g,hasOwn:()=>f,isArray:()=>r.isArray,isNullish:()=>p,makeProcessedFieldsMerger:()=>S,normalizeConfig:()=>m,selectionSetMatchesResult:()=>_,shouldCanonizeResults:()=>y,storeValueIsStoreObject:()=>E});var r=n(403),i=n(376),o=n(396),a=n(397),s=n(401),u=n(415),c=n(398),l=n(395),f=Object.prototype.hasOwnProperty;function p(e){return null==e}function d(e,t){var n=e.__typename,r=e.id,i=e._id;if("string"==typeof n&&(t&&(t.keyObject=p(r)?p(i)?void 0:{_id:i}:{id:r}),p(r)&&!p(i)&&(r=i),!p(r)))return"".concat(n,":").concat("number"==typeof r||"string"==typeof r?r:JSON.stringify(r))}var h={dataIdFromObject:d,addTypename:!0,resultCaching:!0,canonizeResults:!1};function m(e){return(0,i.compact)(h,e)}function y(e){var t=e.canonizeResults;return void 0===t?h.canonizeResults:t}function g(e,t){return(0,o.isReference)(t)?e.get(t.__ref,"__typename"):t&&t.__typename}var v=/^[_a-z][_0-9a-z]*/i;function b(e){var t=e.match(v);return t?t[0]:e}function _(e,t,n){return!!(0,a.isNonNullObject)(t)&&((0,r.isArray)(t)?t.every((function(t){return _(e,t,n)})):e.selections.every((function(e){if((0,o.isField)(e)&&(0,s.shouldInclude)(e,n)){var r=(0,o.resultKeyNameFromField)(e);return f.call(t,r)&&(!e.selectionSet||_(e.selectionSet,t[r],n))}return!0})))}function E(e){return(0,a.isNonNullObject)(e)&&!(0,o.isReference)(e)&&!(0,r.isArray)(e)}function S(){return new u.DeepMerger}function w(e,t){var n=(0,c.createFragmentMap)((0,l.getFragmentDefinitions)(e));return{fragmentMap:n,lookupFragment:function(e){var r=n[e];return!r&&t&&(r=t.lookup(e)),r||null}}}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{Policies:()=>v,normalizeReadFieldOptions:()=>_});var r=n(258),i=n(303),o=n(396),a=n(309),s=n(397),u=n(438),c=n(403),l=n(291),f=n(432),p=n(440);function d(e){return void 0!==e.args?e.args:e.field?(0,o.argumentsObjectFromField)(e.field,e.variables):null}o.getStoreKeyName.setStringify(f.canonicalStringify);var h=function(){},m=function(e,t){return t.fieldName},y=function(e,t,n){return(0,n.mergeObjects)(e,t)},g=function(e,t){return t},v=function(){function e(e){this.config=e,this.typePolicies=Object.create(null),this.toBeAdded=Object.create(null),this.supertypeMap=new Map,this.fuzzySubtypes=new Map,this.rootIdsByTypename=Object.create(null),this.rootTypenamesById=Object.create(null),this.usingPossibleTypes=!1,this.config=(0,r.__assign)({dataIdFromObject:u.defaultDataIdFromObject},e),this.cache=this.config.cache,this.setRootTypename("Query"),this.setRootTypename("Mutation"),this.setRootTypename("Subscription"),e.possibleTypes&&this.addPossibleTypes(e.possibleTypes),e.typePolicies&&this.addTypePolicies(e.typePolicies)}return e.prototype.identify=function(e,t){var n,i=this,o=t&&(t.typename||(null===(n=t.storeObject)||void 0===n?void 0:n.__typename))||e.__typename;if(o===this.rootTypenamesById.ROOT_QUERY)return["ROOT_QUERY"];for(var a,s=t&&t.storeObject||e,u=(0,r.__assign)((0,r.__assign)({},t),{typename:o,storeObject:s,readField:t&&t.readField||function(){var e=_(arguments,s);return i.readField(e,{store:i.cache.data,variables:e.variables})}}),l=o&&this.getTypePolicy(o),f=l&&l.keyFn||this.config.dataIdFromObject;f;){var d=f((0,r.__assign)((0,r.__assign)({},e),s),u);if(!(0,c.isArray)(d)){a=d;break}f=(0,p.keyFieldsFnFromSpecifier)(d)}return a=a?String(a):void 0,u.keyObject?[a,u.keyObject]:[a]},e.prototype.addTypePolicies=function(e){var t=this;Object.keys(e).forEach((function(n){var i=e[n],o=i.queryType,a=i.mutationType,s=i.subscriptionType,c=(0,r.__rest)(i,["queryType","mutationType","subscriptionType"]);o&&t.setRootTypename("Query",n),a&&t.setRootTypename("Mutation",n),s&&t.setRootTypename("Subscription",n),u.hasOwn.call(t.toBeAdded,n)?t.toBeAdded[n].push(c):t.toBeAdded[n]=[c]}))},e.prototype.updateTypePolicy=function(e,t){var n=this,r=this.getTypePolicy(e),i=t.keyFields,o=t.fields;function a(e,t){e.merge="function"==typeof t?t:!0===t?y:!1===t?g:e.merge}a(r,t.merge),r.keyFn=!1===i?h:(0,c.isArray)(i)?(0,p.keyFieldsFnFromSpecifier)(i):"function"==typeof i?i:r.keyFn,o&&Object.keys(o).forEac
9h((function(t){var r=n.getFieldPolicy(e,t,!0),i=o[t];if("function"==typeof i)r.read=i;else{var s=i.keyArgs,u=i.read,l=i.merge;r.keyFn=!1===s?m:(0,c.isArray)(s)?(0,p.keyArgsFnFromSpecifier)(s):"function"==typeof s?s:r.keyFn,"function"==typeof u&&(r.read=u),a(r,l)}r.read&&r.merge&&(r.keyFn=r.keyFn||m)}))},e.prototype.setRootTypename=function(e,t){void 0===t&&(t=e);var n="ROOT_"+e.toUpperCase(),r=this.rootTypenamesById[n];t!==r&&((0,i.invariant)(!r||r===e,3,e),r&&delete this.rootIdsByTypename[r],this.rootIdsByTypename[t]=n,this.rootTypenamesById[n]=t)},e.prototype.addPossibleTypes=function(e){var t=this;this.usingPossibleTypes=!0,Object.keys(e).forEach((function(n){t.getSupertypeSet(n,!0),e[n].forEach((function(e){t.getSupertypeSet(e,!0).add(n);var r=e.match(u.TypeOrFieldNameRegExp);r&&r[0]===e||t.fuzzySubtypes.set(e,new RegExp(e))}))}))},e.prototype.getTypePolicy=function(e){var t=this;if(!u.hasOwn.call(this.typePolicies,e)){var n=this.typePolicies[e]=Object.create(null);n.fields=Object.create(null);var i=this.supertypeMap.get(e);!i&&this.fuzzySubtypes.size&&(i=this.getSupertypeSet(e,!0),this.fuzzySubtypes.forEach((function(n,r){if(n.test(e)){var o=t.supertypeMap.get(r);o&&o.forEach((function(e){return i.add(e)}))}}))),i&&i.size&&i.forEach((function(e){var i=t.getTypePolicy(e),o=i.fields,a=(0,r.__rest)(i,["fields"]);Object.assign(n,a),Object.assign(n.fields,o)}))}var o=this.toBeAdded[e];return o&&o.length&&o.splice(0).forEach((function(n){t.updateTypePolicy(e,n)})),this.typePolicies[e]},e.prototype.getFieldPolicy=function(e,t,n){if(e){var r=this.getTypePolicy(e).fields;return r[t]||n&&(r[t]=Object.create(null))}},e.prototype.getSupertypeSet=function(e,t){var n=this.supertypeMap.get(e);return!n&&t&&this.supertypeMap.set(e,n=new Set),n},e.prototype.fragmentMatches=function(e,t,n,r){var o=this;if(!e.typeCondition)return!0;if(!t)return!1;var a=e.typeCondition.name.value;if(t===a)return!0;if(this.usingPossibleTypes&&this.supertypeMap.has(a))for(var s=this.getSupertypeSet(t,!0),c=[s],l=function(e){var t=o.getSupertypeSet(e,!1);t&&t.size&&c.indexOf(t)<0&&c.push(t)},f=!(!n||!this.fuzzySubtypes.size),p=!1,d=0;d<c.length;++d){var h=c[d];if(h.has(a))return s.has(a)||(p&&!1!==globalThis.__DEV__&&i.invariant.warn(4,t,a),s.add(a)),!0;h.forEach(l),f&&d===c.length-1&&(0,u.selectionSetMatchesResult)(e.selectionSet,n,r)&&(f=!1,p=!0,this.fuzzySubtypes.forEach((function(e,n){var r=t.match(e);r&&r[0]===t&&l(n)})))}return!1},e.prototype.hasKeyArgs=function(e,t){var n=this.getFieldPolicy(e,t,!1);return!(!n||!n.keyFn)},e.prototype.getStoreFieldName=function(e){var t,n=e.typename,r=e.fieldName,i=this.getFieldPolicy(n,r,!1),a=i&&i.keyFn;if(a&&n)for(var s={typename:n,fieldName:r,field:e.field||null,variables:e.variables},l=d(e);a;){var f=a(l,s);if(!(0,c.isArray)(f)){t=f||r;break}a=(0,p.keyArgsFnFromSpecifier)(f)}return void 0===t&&(t=e.field?(0,o.storeKeyNameFromField)(e.field,e.variables):(0,o.getStoreKeyName)(r,d(e))),!1===t?r:r===(0,u.fieldNameFromStoreName)(t)?t:r+":"+t},e.prototype.readField=function(e,t){var n=e.from;if(n&&(e.field||e.fieldName)){if(void 0===e.typename){var r=t.store.getFieldValue(n,"__typename");r&&(e.typename=r)}var i=this.getStoreFieldName(e),a=(0,u.fieldNameFromStoreName)(i),s=t.store.getFieldValue(n,i),c=this.getFieldPolicy(e.typename,a,!1),f=c&&c.read;if(f){var p=b(this,n,e,t,t.store.getStorage((0,o.isReference)(n)?n.__ref:n,i));return l.cacheSlot.withValue(this.cache,f,[s,p])}return s}},e.prototype.getReadFunction=function(e,t){var n=this.getFieldPolicy(e,t,!1);return n&&n.read},e.prototype.getMergeFunction=function(e,t,n){var r=this.getFieldPolicy(e,t,!1),i=r&&r.merge;return!i&&n&&(i=(r=this.getTypePolicy(n))&&r.merge),i},e.prototype.runMergeFunction=function(e,t,n,r,i){var o=n.field,a=n.typename,s=n.merge;return s===y?E(r.store)(e,t):s===g?t:(r.overwrite&&(e=void 0),s(e,t,b(this,void 0,{typename:a,fieldName:o.name.value,field:o,variables:r.variables},r,i||Object.create(null))))},e}();function b(e,t,n,r,i){var a=e.getStoreFieldName(n),s=(0,u.fieldNameFromStoreName)(a),c=n.variables||r.variables,l=r.store,f=l.toReference,p=l.canRead;return{args:d(n),field:n.field||null,fieldName:s,storeFieldName:a,variables:c,isReference:o.isReference,toReference:f,storage:i,cache:e.cache,canRead:p,readField:function(){return e.readField(_(arguments,t,c),r)},mergeObjects:E(r.store)}}function _(e,t,n){var o,s=e[0],c=e[1],l=e.length;return"string"==typeof s?o={fieldName:s,from:l>1?c:t}:(o=(0,r.__assign)({},s),u.hasOwn.call(o,"from")||(o.from=t)),!1!==globalThis.__DEV__&&void 0===o.from&&!1!==globalThis.__DEV__&&i.invariant.warn(5,(0,a.stringifyForDisplay)(Array.from(e))),void 0===o.variables&&(o.variables=n),o}function E(e){return function(t,n){if((0,c.isArray)(t)||(0,c.isArray)(n))throw(0,i.newInvariantError)(6);if((0,s.isNonNullObject)(t)&&(0,s.isNonNullObject)(n)){var a=e.getFieldValue(t,"__typename"),l=e.getFieldValue(n,"__typename");if(a&&l&&a!==l)return n;if((0,o.isReference)(t)&&(0,u.storeValueIsStoreObject)(n))return e.merge(t.__ref,n),t;if((0,u.storeValueIsStoreObject)(t)&&(0,o.isReference)(n))return e.merge(t,n.__ref),n;if((0,u.storeValueIsStoreObject)(t)&&(0,u.storeValueIsStoreObject)(n))return(0,r.__assign)((0,r.__assign)({},t),n)}return n}}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{collectSpecifierPaths:()=>d,extractKeyPath:()=>y,getSpecifierPaths:()=>h,keyArgsFnFromSpecifier:()=>p,keyFieldsFnFromSpecifier:()=>f});var r=n(303),i=n(403),o=n(396),a=n(415),s=n(397),u=n(438),c=Object.create(null);function l(e){var t=JSON.stringify(e);return c[t]||(c[t]=Object.create(null))}function f(e){var t=l(e);return t.keyFieldsFn||(t.keyFieldsFn=function(t,n){var i=function(e,t){return n.readField(t,e)},o=n.keyObject=d(e,(function(e){var o=y(n.storeObject,e,i);return void 0===o&&t!==n.storeObject&&u.hasOwn.call(t,e[0])&&(o=y(t,e,m)),(0,r.invariant)(void 0!==o,2,e.join("."),t),o}));return"".concat(n.typename,":").concat(JSON.stringify(o))})}function p(e){var t=l(e);return t.keyArgsFn||(t.keyArgsFn=function(t,n){var r=n.field,a=n.variables,s=n.fieldName,c=d(e,(function(e){var n=e[0],s=n.charAt(0);if("@"!==s)if("$"!==s){if(t)return y(t,e)}else{var c=n.slice(1);if(a&&u.hasOwn.call(a,c)){var l=e.slice(0);return l[0]=c,y(a,l)}}else if(r&&(0,i.isNonEmptyArray)(r.directives)){var f=n.slice(1),p=r.directives.find((function(e){return e.name.value===f}
9)),d=p&&(0,o.argumentsObjectFromField)(p,a);return d&&y(d,e.slice(1))}})),l=JSON.stringify(c);return(t||"{}"!==l)&&(s+=":"+l),s})}function d(e,t){var n=new a.DeepMerger;return h(e).reduce((function(e,r){var i,o=t(r);if(void 0!==o){for(var a=r.length-1;a>=0;--a)(i={})[r[a]]=o,o=i;e=n.merge(e,o)}return e}),Object.create(null))}function h(e){var t=l(e);if(!t.paths){var n=t.paths=[],r=[];e.forEach((function(t,o){(0,i.isArray)(t)?(h(t).forEach((function(e){return n.push(r.concat(e))})),r.length=0):(r.push(t),(0,i.isArray)(e[o+1])||(n.push(r.slice(0)),r.length=0))}))}return t.paths}function m(e,t){return e[t]}function y(e,t,n){return n=n||m,g(t.reduce((function e(t,r){return(0,i.isArray)(t)?t.map((function(t){return e(t,r)})):t&&n(t,r)}),e))}function g(e){return(0,s.isNonNullObject)(e)?(0,i.isArray)(e)?e.map(g):d(Object.keys(e).sort(),(function(t){return y(e,t)})):e}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{EntityStore:()=>g,maybeDependOnExistenceOfEntity:()=>_,supportsResultCaching:()=>T});var r=n(258),i=n(303),o=n(292),a=n(421),s=n(293),u=n(442),c=n(396),l=n(415),f=n(397),p=n(311),d=n(438),h=Object.create(null),m=function(){return h},y=Object.create(null),g=function(){function e(e,t){var n=this;this.policies=e,this.group=t,this.data=Object.create(null),this.rootIds=Object.create(null),this.refs=Object.create(null),this.getFieldValue=function(e,t){return(0,u.maybeDeepFreeze)((0,c.isReference)(e)?n.get(e.__ref,t):e&&e[t])},this.canRead=function(e){return(0,c.isReference)(e)?n.has(e.__ref):"object"==typeof e},this.toReference=function(e,t){if("string"==typeof e)return(0,c.makeReference)(e);if((0,c.isReference)(e))return e;var r=n.policies.identify(e)[0];if(r){var i=(0,c.makeReference)(r);return t&&n.merge(r,e),i}}}return e.prototype.toObject=function(){return(0,r.__assign)({},this.data)},e.prototype.has=function(e){return void 0!==this.lookup(e,!0)},e.prototype.get=function(e,t){if(this.group.depend(e,t),d.hasOwn.call(this.data,e)){var n=this.data[e];if(n&&d.hasOwn.call(n,t))return n[t]}return"__typename"===t&&d.hasOwn.call(this.policies.rootTypenamesById,e)?this.policies.rootTypenamesById[e]:this instanceof E?this.parent.get(e,t):void 0},e.prototype.lookup=function(e,t){return t&&this.group.depend(e,"__exists"),d.hasOwn.call(this.data,e)?this.data[e]:this instanceof E?this.parent.lookup(e,t):this.policies.rootTypenamesById[e]?Object.create(null):void 0},e.prototype.merge=function(e,t){var n,r=this;(0,c.isReference)(e)&&(e=e.__ref),(0,c.isReference)(t)&&(t=t.__ref);var o="string"==typeof e?this.lookup(n=e):e,a="string"==typeof t?this.lookup(n=t):t;if(a){(0,i.invariant)("string"==typeof n,1);var s=new l.DeepMerger(w).merge(o,a);if(this.data[n]=s,s!==o&&(delete this.refs[n],this.group.caching)){var u=Object.create(null);o||(u.__exists=1),Object.keys(a).forEach((function(e){if(!o||o[e]!==s[e]){u[e]=1;var t=(0,d.fieldNameFromStoreName)(e);t===e||r.policies.hasKeyArgs(s.__typename,t)||(u[t]=1),void 0!==s[e]||r instanceof E||delete s[e]}})),!u.__typename||o&&o.__typename||this.policies.rootTypenamesById[n]!==s.__typename||delete u.__typename,Object.keys(u).forEach((function(e){return r.group.dirty(n,e)}))}}},e.prototype.modify=function(e,t){var n=this,i=this.lookup(e);if(i){var o=Object.create(null),a=!1,s=!0,l={DELETE:h,INVALIDATE:y,isReference:c.isReference,toReference:this.toReference,canRead:this.canRead,readField:function(t,r){return n.policies.readField("string"==typeof t?{fieldName:t,from:r||(0,c.makeReference)(e)}:t,{store:n})}};
9if(Object.keys(i).forEach((function(c){var f=(0,d.fieldNameFromStoreName)(c),p=i[c];if(void 0!==p){var g="function"==typeof t?t:t[c]||t[f];if(g){var v=g===m?h:g((0,u.maybeDeepFreeze)(p),(0,r.__assign)((0,r.__assign)({},l),{fieldName:f,storeFieldName:c,storage:n.getStorage(e,c)}));v===y?n.group.dirty(e,c):(v===h&&(v=void 0),v!==p&&(o[c]=v,a=!0,p=v))}void 0!==p&&(s=!1)}})),a)return this.merge(e,o),s&&(this instanceof E?this.data[e]=void 0:delete this.data[e],this.group.dirty(e,"__exists")),!0}return!1},e.prototype.delete=function(e,t,n){var r,i=this.lookup(e);if(i){var o=this.getFieldValue(i,"__typename"),a=t&&n?this.policies.getStoreFieldName({typename:o,fieldName:t,args:n}):t;return this.modify(e,a?((r={})[a]=m,r):m)}return!1},e.prototype.evict=function(e,t){var n=!1;return e.id&&(d.hasOwn.call(this.data,e.id)&&(n=this.delete(e.id,e.fieldName,e.args)),this instanceof E&&this!==t&&(n=this.parent.evict(e,t)||n),(e.fieldName||n)&&this.group.dirty(e.id,e.fieldName||"__exists")),n},e.prototype.clear=function(){this.replace(null)},e.prototype.extract=function(){var e=this,t=this.toObject(),n=[];return this.getRootIdSet().forEach((function(t){d.hasOwn.call(e.policies.rootTypenamesById,t)||n.push(t)})),n.length&&(t.__META={extraRootIds:n.sort()}),t},e.prototype.replace=function(e){var t=this;if(Object.keys(this.data).forEach((function(n){e&&d.hasOwn.call(e,n)||t.delete(n)})),e){var n=e.__META,i=(0,r.__rest)(e,["__META"]);
9Object.keys(i).forEach((function(e){t.merge(e,i[e])})),n&&n.extraRootIds.forEach(this.retain,this)}},e.prototype.retain=function(e){return this.rootIds[e]=(this.rootIds[e]||0)+1},e.prototype.release=function(e){if(this.rootIds[e]>0){var t=--this.rootIds[e];return t||delete this.rootIds[e],t}return 0},e.prototype.getRootIdSet=function(e){return void 0===e&&(e=new Set),Object.keys(this.rootIds).forEach(e.add,e),this instanceof E?this.parent.getRootIdSet(e):Object.keys(this.policies.rootTypenamesById).forEach(e.add,e),e},e.prototype.gc=function(){var e=this,t=this.getRootIdSet(),n=this.toObject();t.forEach((function(r){d.hasOwn.call(n,r)&&(Object.keys(e.findChildRefIds(r)).forEach(t.add,t),delete n[r])}));var r=Object.keys(n);if(r.length){for(var i=this;i instanceof E;)i=i.parent;r.forEach((function(e){return i.delete(e)}))}return r},e.prototype.findChildRefIds=function(e){if(!d.hasOwn.call(this.refs,e)){var t=this.refs[e]=Object.create(null),n=this.data[e];if(!n)return t;var r=new Set([n]);r.forEach((function(e){(0,c.isReference)(e)&&(t[e.__ref]=!0),(0,f.isNonNullObject)(e)&&Object.keys(e).forEach((function(t){var n=e[t];(0,f.isNonNullObject)(n)&&r.add(n)}))}))}return this.refs[e]},e.prototype.makeCacheKey=function(){return this.group.keyMaker.lookupArray(arguments)},e}(),v=function(){function e(e,t){void 0===t&&(t=null),this.caching=e,this.parent=t,this.d=null,this.resetCaching()}return e.prototype.resetCaching=function(){this.d=this.caching?(0,o.dep)():null,this.keyMaker=new s.Trie(p.canUseWeakMap)}
9,e.prototype.depend=function(e,t){if(this.d){this.d(b(e,t));var n=(0,d.fieldNameFromStoreName)(t);n!==t&&this.d(b(e,n)),this.parent&&this.parent.depend(e,t)}},e.prototype.dirty=function(e,t){this.d&&this.d.dirty(b(e,t),"__exists"===t?"forget":"setDirty")},e}();function b(e,t){return t+"#"+e}function _(e,t){T(e)&&e.group.depend(t,"__exists")}!function(e){var t=function(e){function t(t){var n=t.policies,r=t.resultCaching,i=void 0===r||r,o=t.seed,a=e.call(this,n,new v(i))||this;return a.stump=new S(a),a.storageTrie=new s.Trie(p.canUseWeakMap),o&&a.replace(o),a}return(0,r.__extends)(t,e),t.prototype.addLayer=function(e,t){return this.stump.addLayer(e,t)},t.prototype.removeLayer=function(){return this},t.prototype.getStorage=function(){return this.storageTrie.lookupArray(arguments)},t}(e);e.Root=t}(g||(g={}));var E=function(e){function t(t,n,r,i){var o=e.call(this,n.policies,i)||this;return o.id=t,o.parent=n,o.replay=r,o.group=i,r(o),o}return(0,r.__extends)(t,e),t.prototype.addLayer=function(e,n){return new t(e,this,n,this.group)},t.prototype.removeLayer=function(e){var t=this,n=this.parent.removeLayer(e);return e===this.id?(this.group.caching&&Object.keys(this.data).forEach((function(e){var r=t.data[e],i=n.lookup(e);i?r?r!==i&&Object.keys(r).forEach((function(n){(0,a.equal)(r[n],i[n])||t.group.dirty(e,n)}
9)):(t.group.dirty(e,"__exists"),Object.keys(i).forEach((function(n){t.group.dirty(e,n)}))):t.delete(e)})),n):n===this.parent?this:n.addLayer(this.id,this.replay)},t.prototype.toObject=function(){return(0,r.__assign)((0,r.__assign)({},this.parent.toObject()),this.data)},t.prototype.findChildRefIds=function(t){var n=this.parent.findChildRefIds(t);return d.hasOwn.call(this.data,t)?(0,r.__assign)((0,r.__assign)({},n),e.prototype.findChildRefIds.call(this,t)):n},t.prototype.getStorage=function(){for(var e=this.parent;e.parent;)e=e.parent;return e.getStorage.apply(e,arguments)},t}(g),S=function(e){function t(t){return e.call(this,"EntityStore.Stump",t,(function(){}),new v(t.group.caching,t.group))||this}return(0,r.__extends)(t,e),t.prototype.removeLayer=function(){return this},t.prototype.merge=function(){return this.parent.merge.apply(this.parent,arguments)},t}(E);function w(e,t,n){var r=e[n],i=t[n];return(0,a.equal)(r,i)?r:i}function T(e){return!!(e instanceof g&&e.group.caching)}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{maybeDeepFreeze:()=>o});var r=n(397);function i(e){var t=new Set([e]);return t.forEach((function(e){(0,r.isNonNullObject)(e)&&function(e){if(!1!==globalThis.__DEV__&&!Object.isFrozen(e))try{Object.freeze(e)}catch(e){if(e instanceof TypeError)return null;throw e}return e}(e)===e&&Object.getOwnPropertyNames(e).forEach((function(n){(0,r.isNonNullObject)(e[n])&&t.add(e[n])}))})),e}function o(e){return!1!==globalThis.__DEV__&&i(e),e}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{StoreWriter:()=>b});var r=n(258),i=n(303),o=n(421),a=n(293),s=n(384),u=n(395),c=n(396),l=n(402),f=n(429),p=n(401),d=n(403),h=n(398),m=n(438),y=n(432),g=n(439);function v(e,t,n){var i="".concat(t).concat(n),o=e.flavors.get(i);return o||e.flavors.set(i,o=e.clientOnly===t&&e.deferred===n?e:(0,r.__assign)((0,r.__assign)({},e),{clientOnly:t,deferred:n})),o}var b=function(){function e(e,t,n){this.cache=e,this.reader=t,this.fragments=n}return e.prototype.writeToStore=function(e,t){var n=this,a=t.query,s=t.result,l=t.dataId,f=t.variables,p=t.overwrite,h=(0,u.getOperationDefinition)(a),g=(0,m.makeProcessedFieldsMerger)();f=(0,r.__assign)((0,r.__assign)({},(0,u.getDefaultValues)(h)),f);var v=(0,r.__assign)((0,r.__assign)({store:e,written:Object.create(null),merge:function(e,t){return g.merge(e,t)},variables:f,varString:(0,y.canonicalStringify)(f)},(0,m.extractFragmentContext)(a,this.fragments)),{overwrite:!!p,incomingById:new Map,clientOnly:!1,deferred:!1,flavors:new Map}),b=this.processSelectionSet({result:s||Object.create(null),dataId:l,selectionSet:h.selectionSet,mergeTree:{map:new Map},context:v});if(!(0,c.isReference)(b))throw(0,i.newInvariantError)(9,s);return v.incomingById.forEach((function(t,r){var a=t.storeObject,s=t.mergeTree,u=t.fieldNodeSet,l=(0,c.makeReference)(r);if(s&&s.map.size){var f=n.applyMerges(s,l,a,v);if((0,c.isReference)(f))return;a=f}if(!1!==globalThis.__DEV__&&!v.overwrite){var p=Object.create(null);u.forEach((function(e){e.selectionSet&&(p[e.name.value]=!0)}));Object.keys(a).forEach((function(e){(function(e){return!0===p[(0,m.fieldNameFromStoreName)(e)]})(e)&&!function(e){var t=s&&s.map.get(e);return Boolean(t&&t.info&&t.info.merge)}(e)&&function(e,t,n,r){var a=function(e){var t=r.getFieldValue(e,n);return"object"==typeof t&&t},s=a(e);if(!s)return;var u=a(t);if(!u)return;if((0,c.isReference)(s))return;if((0,o.equal)(s,u))return;if(Object.keys(s).every((function(e){return void 0!==r.getFieldValue(u,e)})))return;var l=r.getFieldValue(e,"__typename")||r.getFieldValue(t,"__typename"),f=(0,m.fieldNameFromStoreName)(n),p="".concat(l,".").concat(f);if(O.has(p))return;O.add(p);var h=[];(0,d.isArray)(s)||(0,d.isArray)(u)||[s,u].forEach((function(e){var t=r.getFieldValue(e,"__typename");"string"!=typeof t||h.includes(t)||h.push(t)}));!1!==globalThis.__DEV__&&i.invariant.warn(12,f,l,h.length?"either ensure all objects of type "+h.join(" and ")+" have an ID or a custom merge function, or ":"",p,s,u)}(l,a,e,v.store)}))}e.merge(r,a)})),e.retain(b.__ref),b},e.prototype.processSelectionSet=function(e){var t=this,n=e.dataId,o=e.result,a=e.selectionSet,s=e.context,u=e.mergeTree,f=this.cache.policies,p=Object.create(null),d=n&&f.rootTypenamesById[n]||(0,c.getTypenameFromResult)(o,a,s.fragmentMap)||n&&s.store.get(n,"__typename");"string"==typeof d&&(p.__typename=d);var h=function(){var e=(0,g.normalizeReadFieldOptions)(arguments,p,s.variables);if((0,c.isReference)(e.from)){var t=s.incomingById.get(e.from.__ref);
9if(t){var n=f.readField((0,r.__assign)((0,r.__assign)({},e),{from:t.storeObject}),s);if(void 0!==n)return n}}return f.readField(e,s)},y=new Set;this.flattenFields(a,o,s,d).forEach((function(e,n){var r,a=(0,c.resultKeyNameFromField)(n),s=o[a];if(y.add(n),void 0!==s){var g=f.getStoreFieldName({typename:d,fieldName:n.name.value,field:n,variables:e.variables}),b=E(u,g),_=t.processFieldValue(s,n,n.selectionSet?v(e,!1,!1):e,b),S=void 0;n.selectionSet&&((0,c.isReference)(_)||(0,m.storeValueIsStoreObject)(_))&&(S=h("__typename",_));var w=f.getMergeFunction(d,n.name.value,S);w?b.info={field:n,typename:d,merge:w}:T(u,g),p=e.merge(p,((r={})[g]=_,r))}else!1===globalThis.__DEV__||e.clientOnly||e.deferred||l.addTypenameToDocument.added(n)||f.getReadFunction(d,n.name.value)||!1!==globalThis.__DEV__&&i.invariant.error(10,(0,c.resultKeyNameFromField)(n),o)}));try{var b=f.identify(o,{typename:d,selectionSet:a,fragmentMap:s.fragmentMap,storeObject:p,readField:h}),_=b[0],O=b[1];n=n||_,O&&(p=s.merge(p,O))}catch(e){if(!n)throw e}if("string"==typeof n){var x=(0,c.makeReference)(n),k=s.written[n]||(s.written[n]=[]);if(k.indexOf(a)>=0)return x;if(k.push(a),this.reader&&this.reader.isFresh(o,x,a,s))return x;var R=s.incomingById.get(n);return R?(R.storeObject=s.merge(R.storeObject,p),R.mergeTree=S(R.mergeTree,u),y.forEach((function(e){return R.fieldNodeSet.add(e)}))):s.incomingById.set(n,{storeObject:p,mergeTree:w(u)?void 0:u,fieldNodeSet:y}),x}return p},e.prototype.processFieldValue=function(e,t,n,r){var i=this;return t.selectionSet&&null!==e?(0,d.isArray)(e)?e.map((function(e,o){var a=i.processFieldValue(e,t,n,E(r,o));return T(r,o),a})):this.processSelectionSet({result:e,selectionSet:t.selectionSet,context:n,mergeTree:r}):!1!==globalThis.__DEV__?(0,f.cloneDeep)(e):e},e.prototype.flattenFields=function(e,t,n,r){void 0===r&&(r=(0,c.getTypenameFromResult)(t,e,n.fragmentMap));var o=new Map,u=this.cache.policies,l=new a.Trie(!1);return function e(a,f){var m=l.lookup(a,f.clientOnly,f.deferred);m.visited||(m.visited=!0,a.selections.forEach((function(a){if((0,p.shouldInclude)(a,n.variables)){var l=f.clientOnly,m=f.deferred;if(l&&m||!(0,d.isNonEmptyArray)(a.directives)||a.directives.forEach((function(e){var t=e.name.value;if("client"===t&&(l=!0),"defer"===t){var r=(0,c.argumentsObjectFromField)(e,n.variables);r&&!1===r.if||(m=!0)}})),(0,c.isField)(a)){var y=o.get(a);y&&(l=l&&y.clientOnly,m=m&&y.deferred),o.set(a,v(n,l,m))}else{var g=(0,h.getFragmentFromSelection)(a,n.lookupFragment);if(!g&&a.kind===s.Kind.FRAGMENT_SPREAD)throw(0,i.newInvariantError)(11,a.name.value);g&&u.fragmentMatches(g,r,t,n.variables)&&e(g.selectionSet,v(n,l,m))}}})))}(e,n),o},e.prototype.applyMerges=function(e,t,n,o,a){var s,u=this;if(e.map.size&&!(0,c.isReference)(n)){var l,f=(0,d.isArray)(n)||!(0,c.isReference)(t)&&!(0,m.storeValueIsStoreObject)(t)?void 0:t,p=n;f&&!a&&(a=[(0,c.isReference)(f)?f.__ref:f]);var h=function(e,t){return(0,d.isArray)(e)?"number"==typeof t?e[t]:void 0:o.store.getFieldValue(e,String(t))};e.map.forEach((function(e,t){var n=h(f,t),r=h(p,t);if(void 0!==r){a&&a.push(t);var s=u.applyMerges(e,n,r,o,a);s!==r&&(l=l||new Map).set(t,s),a&&(0,i.invariant)(a.pop()===t)}})),l&&(n=(0,d.isArray)(p)?p.slice(0):(0,r.__assign)({},p),l.forEach((function(e,t){n[t]=e})))}return e.info?this.cache.policies.runMergeFunction(t,n,e.info,o,a&&(s=o.store).getStorage.apply(s,a)):n},e}(),_=[];function E(e,t){var n=e.map;return n.has(t)||n.set(t,_.pop()||{map:new Map}),n.get(t)}function S(e,t){if(e===t||!t||w(t))return e;if(!e||w(e))return t;var n=e.info&&t.info?(0,r.__assign)((0,r.__assign)({},e.info),t.info):e.info||t.info,i=e.map.size&&t.map.size,o={info:n,map:i?new Map:e.map.size?e.map:t.map};if(i){var a=new Set(t.map.keys());e.map.forEach((function(e,n){o.map.set(n,S(e,t.map.get(n))),a.delete(n)})),a.forEach((function(n){o.map.set(n,S(t.map.get(n),e.map.get(n)))}))}return o}function w(e){return!e||!(e.info||e.map.size)}function T(e,t){var n=e.map,r=n.get(t);r&&w(r)&&(_.push(r),n.delete(t))}var O=new Set},(e,t,n)=>{"use strict";n.r(t),n.d(t,{StoreReader:()=>w});var r=n(258),i=n(303),o=n(384),a=n(292),s=n(311),u=n(376),c=n(396),l=n(395),f=n(415),p=n(401),d=n(402),h=n(398),m=n(442),y=n(397),g=n(441),v=n(438),b=n(403),_=n(445),E=n(432);function S(e){return[e.selectionSet,e.objectOrReference,e.context,e.context.canonizeResults]}var w=function(){function e(e){var t=this;this.knownResults=new(s.canUseWeakMap?WeakMap:Map),this.config=(0,u.compact)(e,{addTypename:!1!==e.addTypename,canonizeResults:(0,v.shouldCanonizeResults)(e)}
9),this.canon=e.canon||new E.ObjectCanon,this.executeSelectionSet=(0,a.wrap)((function(e){var n,i=e.context.canonizeResults,o=S(e);o[3]=!i;var a=(n=t.executeSelectionSet).peek.apply(n,o);return a?i?(0,r.__assign)((0,r.__assign)({},a),{result:t.canon.admit(a.result)}):a:((0,g.maybeDependOnExistenceOfEntity)(e.context.store,e.enclosingRef.__ref),t.execSelectionSetImpl(e))}),{max:this.config.resultCacheMaxSize,keyArgs:S,makeCacheKey:function(e,t,n,r){if((0,g.supportsResultCaching)(n.store))return n.store.makeCacheKey(e,(0,c.isReference)(t)?t.__ref:t,n.varString,r)}}),this.executeSubSelectedArray=(0,a.wrap)((function(e){return(0,g.maybeDependOnExistenceOfEntity)(e.context.store,e.enclosingRef.__ref),t.execSubSelectedArrayImpl(e)}),{max:this.config.resultCacheMaxSize,makeCacheKey:function(e){var t=e.field,n=e.array,r=e.context;if((0,g.supportsResultCaching)(r.store))return r.store.makeCacheKey(t,n,r.varString)}})}return e.prototype.resetCanon=function(){this.canon=new E.ObjectCanon},e.prototype.diffQueryAgainstStore=function(e){var t=e.store,n=e.query,i=e.rootId,o=void 0===i?"ROOT_QUERY":i,a=e.variables,s=e.returnPartialData,u=void 0===s||s,f=e.canonizeResults,p=void 0===f?this.config.canonizeResults:f,d=this.config.cache.policies;a=(0,r.__assign)((0,r.__assign)({},(0,l.getDefaultValues)((0,l.getQueryDefinition)(n))),a);var h,m=(0,c.makeReference)(o),y=this.executeSelectionSet({selectionSet:(0,l.getMainDefinition)(n).selectionSet,objectOrReference:m,enclosingRef:m,context:(0,r.__assign)({store:t,query:n,policies:d,variables:a,varString:(0,E.canonicalStringify)(a),canonizeResults:p},(0,v.extractFragmentContext)(n,this.config.fragments))});if(y.missing&&(h=[new _.MissingFieldError(T(y.missing),y.missing,n,a)],!u))throw h[0];return{result:y.result,complete:!h,missing:h}},e.prototype.isFresh=function(e,t,n,r){if((0,g.supportsResultCaching)(r.store)&&this.knownResults.get(e)===n){var i=this.executeSelectionSet.peek(n,t,r,this.canon.isKnown(e));if(i&&e===i.result)return!0}return!1},e.prototype.execSelectionSetImpl=function(e){var t=this,n=e.selectionSet,r=e.objectOrReference,a=e.enclosingRef,s=e.context;if((0,c.isReference)(r)&&!s.policies.rootTypenamesById[r.__ref]&&!s.store.has(r.__ref))return{result:this.canon.empty,missing:"Dangling reference to missing ".concat(r.__ref," object")};var u,l=s.variables,y=s.policies,g=s.store.getFieldValue(r,"__typename"),v=[],_=new f.DeepMerger;function E(e,t){var n;return e.missing&&(u=_.merge(u,((n={})[t]=e.missing,n))),e.result}this.config.addTypename&&"string"==typeof g&&!y.rootIdsByTypename[g]&&v.push({__typename:g});var S=new Set(n.selections);S.forEach((function(e){var n,f;if((0,p.shouldInclude)(e,l))if((0,c.isField)(e)){var m=y.readField({fieldName:e.name.value,field:e,variables:s.variables,from:r},s),w=(0,c.resultKeyNameFromField)(e);void 0===m?d.addTypenameToDocument.added(e)||(u=_.merge(u,((n={})[w]="Can't find field '".concat(e.name.value,"' on ").concat((0,c.isReference)(r)?r.__ref+" object":"object "+JSON.stringify(r,null,2)),n))):(0,b.isArray)(m)?m=E(t.executeSubSelectedArray({field:e,array:m,enclosingRef:a,context:s}),w):e.selectionSet?null!=m&&(m=E(t.executeSelectionSet({selectionSet:e.selectionSet,objectOrReference:m,enclosingRef:(0,c.isReference)(m)?m:a,context:s}),w)):s.canonizeResults&&(m=t.canon.pass(m)),void 0!==m&&v.push(((f={})[w]=m,f))}else{var T=(0,h.getFragmentFromSelection)(e,s.lookupFragment);if(!T&&e.kind===o.Kind.FRAGMENT_SPREAD)throw(0,i.newInvariantError)(7,e.name.value);T&&y.fragmentMatches(T,g)&&T.selectionSet.selections.forEach(S.add,S)}}));var w={result:(0,f.mergeDeepArray)(v),missing:u},T=s.canonizeResults?this.canon.admit(w):(0,m.maybeDeepFreeze)(w);return T.result&&this.knownResults.set(T.result,n),T},e.prototype.execSubSelectedArrayImpl=function(e){var t,n=this,r=e.field,o=e.array,a=e.enclosingRef,s=e.context,u=new f.DeepMerger;function l(e,n){var r;return e.missing&&(t=u.merge(t,((r={})[n]=e.missing,r))),e.result}return r.selectionSet&&(o=o.filter(s.store.canRead)),o=o.map((function(e,t){return null===e?null:(0,b.isArray)(e)?l(n.executeSubSelectedArray({field:r,array:e,enclosingRef:a,context:s}),t):r.selectionSet?l(n.executeSelectionSet({selectionSet:r.selectionSet,objectOrReference:e,enclosingRef:(0,c.isReference)(e)?e:a,context:s}),t):(!1!==globalThis.__DEV__&&function(e,t,n){if(!t.selectionSet){var r=new Set([n]);r.forEach((function(n){(0,y.isNonNullObject)(n)&&((0,i.invariant)(!(0,c.isReference)(n),8,(0,v.getTypenameFromStoreObject)(e,n),t.name.value),Object.values(n).forEac
9h(r.add,r))}))}}(s.store,r,e),e)})),{result:s.canonizeResults?this.canon.admit(o):o,missing:t}},e}();function T(e){try{JSON.stringify(e,(function(e,t){if("string"==typeof t)throw t;return t}))}catch(e){return e}}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{MissingFieldError:()=>i});var r=n(258),i=function(e){function t(n,r,i,o){var a,s=e.call(this,n)||this;if(s.message=n,s.path=r,s.query=i,s.variables=o,Array.isArray(s.path)){s.missing=s.message;for(var u=s.path.length-1;u>=0;--u)s.missing=((a={})[s.path[u]]=s.missing,a)}else s.missing=s.path;return s.__proto__=t.prototype,s}return(0,r.__extends)(t,e),t}(Error)},(e,t,n)=>{"use strict";n.r(t),n.d(t,{ApolloLink:()=>u.ApolloLink,concat:()=>a.concat,empty:()=>r.empty,execute:()=>s.execute,from:()=>i.from,split:()=>o.split});n(303);var r=n(447),i=n(448),o=n(449),a=n(450),s=n(434),u=n(391)},(e,t,n)=>{"use strict";n.r(t),n.d(t,{empty:()=>r});var r=n(391).ApolloLink.empty},(e,t,n)=>{"use strict";n.r(t),n.d(t,{from:()=>r});var r=n(391).ApolloLink.from},(e,t,n)=>{"use strict";n.r(t),n.d(t,{split:()=>r});var r=n(391).ApolloLink.split},(e,t,n)=>{"use strict";n.r(t),n.d(t,{concat:()=>r});var r=n(391).ApolloLink.concat},(e,t,n)=>{"use strict";n.r(t),n.d(t,{HttpLink:()=>l.HttpLink,checkFetcher:()=>a.checkFetcher,createHttpLink:()=>c.createHttpLink,createSignalIfSupported:()=>s.createSignalIfSupported,defaultPrinter:()=>o.defaultPrinter,fallbackHttpConfig:()=>o.fallbackHttpConfig,parseAndCheckHttpResponse:()=>r.parseAndCheckHttpResponse,rewriteURIForGET:()=>f.rewriteURIForGET,selectHttpOptionsAndBody:()=>o.selectHttpOptionsAndBody,selectHttpOptionsAndBodyInternal:()=>o.selectHttpOptionsAndBodyInternal,selectURI:()=>u.selectURI,serializeFetchParameter:()=>i.serializeFetchParameter});n(303);var r=n(408),i=n(407),o=n(379),a=n(390),s=n(452),u=n(400),c=n(378),l=n(377),f=n(406)},(e,t,n)=>{"use strict";n.r(t),n.d(t,{createSignalIfSupported:()=>r});var r=function(){if("undefined"==typeof AbortController)return{controller:!1,signal:!1};var e=new AbortController;return{controller:e,signal:e.signal}}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{toPromise:()=>i});var r=n(303);function i(e){var t=!1;return new Promise((function(n,i){e.subscribe({next:function(e){t?!1!==globalThis.__DEV__&&r.invariant.warn(40):(t=!0,n(e))},error:i})}))}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{fromPromise:()=>i});var r=n(392);function i(e){return new r.Observable((function(t){e.then((function(e){t.next(e),t.complete()})).catch(t.error.bind(t))}))}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>w,disableExperimentalFragmentVariables:()=>y,disableFragmentWarnings:()=>h,enableExperimentalFragmentVariables:()=>m,gql:()=>p,resetCaches:()=>d});var r=n(258),i=n(456),o=new Map,a=new Map,s=!0,u=!1;function c(e){return e.replace(/[\s,]+/g," ").trim()}function l(e){var t=new Set,n=[];return e.definitions.forEach((function(e){if("FragmentDefinition"===e.kind){var r=e.name.value,i=c((u=e.loc).source.body.substring(u.start,u.end)),o=a.get(r);o&&!o.has(i)?s&&console.warn("Warning: fragment with name "+r+" already exists.\ngraphql-tag enforces all fragment names across your application to be unique; read more about\nthis in the docs: http://dev.apollodata.com/core/fragments.html#unique-names"):o||a.set(r,o=new Set),o.add(i),t.has(i)||(t.add(i),n.push(e))}else n.push(e);var u})),(0,r.__assign)((0,r.__assign)({},e),{definitions:n})}function f(e){var t=c(e);if(!o.has(t)){var n=(0,i.parse)(e,{experimentalFragmentVariables:u,allowLegacyFragmentVariables:u});if(!n||"Document"!==n.kind)throw new Error("Not a valid GraphQL document.");o.set(t,function(e){var t=new Set(e.definitions);t.forEach((function(e){e.loc&&delete e.loc,Object.keys(e).forEach((function(n){var r=e[n];r&&"object"==typeof r&&t.add(r)}))}));var n=e.loc;return n&&(delete n.startToken,delete n.endToken),e}(l(n)))}return o.get(t)}function p(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];"string"==typeof e&&(e=[e]);var r=e[0];return t.forEach((function(t,n){t&&"Document"===t.kind?r+=t.loc.source.body:r+=t,r+=e[n+1]})),f(r)}function d(){o.clear(),a.clear()}function h(){s=!1}function m(){u=!0}function y(){u=!1}var g,v=p,b=d,_=h,E=m,S=y;(g=p||(p={})).gql=v,g.resetCaches=b,g.disableFragmentWarnings=_,g.enableExperimentalFragmentVariables=E,g.disableExperimentalFragmentVariables=S,p.default=p;const w=p},(e,t,n)=>{"use strict";n.r(t),n.d(t,{Parser:()=>h,parse:()=>l,parseConstValue:()=>p,parseType:()=>d,parseValue:()=>f});var r=n(461),i=n(383),o=n(467),a=n(384),s=n(460),u=n(458),c=n(457);function l(e,t){return new h(e,t).parseDocument()}function f(e,t){const n=new h(e,t);n.expectToken(c.TokenKind.SOF);const r=n.parseValueLiteral(!1);return n.expectToken(c.TokenKind.EOF),r}function p(e,t){const n=new h(e,t);n.expectToken(c.TokenKind.SOF);const r=n.parseConstValueLiteral();return n.expectToken(c.TokenKind.EOF),r}function d(e,t){const n=new h(e,t);n.expectToken(c.TokenKind.SOF);const r=n.parseTypeReference();return n.expectToken(c.TokenKind.EOF),r}class h{constructor(e,t={}){const n=(0,u.isSource)(e)?e:new u.Source(e);this._lexer=new s.Lexer(n),this._options=t,this._tokenCounter=0}parseName(){const e=this.expectToken(c.TokenKind.NAME);return this.node(e,{kind:a.Kind.NAME,value:e.value})}parseDocument(){return this.node(this._lexer.token,{kind:a.Kind.DOCUMENT,definitions:this.many(c.TokenKind.SOF,this.parseDefinition,c.TokenKind.EOF)})}parseDefinition(){if(this.peek(c.TokenKind.BRACE_L))return this.parseOperationDefinition();const e=this.peekDescription(),t=e?this._lexer.lookahead():this._lexer.token;if(t.kind===c.TokenKind.NAME){switch(t.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}if(e)throw(0,r.syntaxError)(this._lexer.source,this._lexer.token.start,"Unexpected description, descriptions are supported only on type definitions.");switch(t.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition();case"extend":return this.parseTypeSystemExtension()}}throw this.unexpected(t)}parseOperationDefinition(){const e=this._lexer.token;if(this.peek(c.TokenKind.BRACE_L))return this.node(e,{kind:a.Kind.OPERATION_DEFINITION,operation:i.OperationTypeNode.QUERY,name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet()});const t=this.parseOperationType();let n;return this.peek(c.TokenKind.NAME)&&(n=this.parseName()),this.node(e,{kind:a.Kind.OPERATION_DEFINITION,operation:t,name:n,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseOperationType(){const e=this.expectToken(c.TokenKind.NAME);switch(e.value){case"query":return i.OperationTypeNode.QUERY;case"mutation":return i.OperationTypeNode.MUTATION;case"subscription":return i.OperationTypeNode.SUBSCRIPTION}throw this.unexpected(e)}parseVariableDefinitions(){return this.optionalMany(c.TokenKind.PAREN_L,this.parseVariableDefinition,c.TokenKind.PAREN_R)}parseVariableDefinition(){return this.node(this._lexer.token,{kind:a.Kind.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(c.TokenKind.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(c.TokenKind.EQUALS)?this.parseConstValueLiteral():void 0,directives:this.parseConstDirectives()})}parseVariable(){const e=this._lexer.token;return this.expectToken(c.TokenKind.DOLLAR),this.node(e,{kind:a.Kind.VARIABLE,name:this.parseName()})}parseSelectionSet(){return this.node(this._lexer.token,{kind:a.Kind.SELECTION_SET,selections:this.many(c.TokenKind.BRACE_L,this.parseSelection,c.TokenKind.BRACE_R)})}parseSelection(){return this.peek(c.TokenKind.SPREAD)?this.parseFragment():this.parseField()}parseField(){const e=this._lexer.token,t=this.parseName();let n,r;return this.expectOptionalToken(c.TokenKind.COLON)?(n=t,r=this.parseName()):r=t,this.node(e,{kind:a.Kind.FIELD,alias:n,name:r,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(c.TokenKind.BRACE_L)?this.parseSelectionSet():void 0})}parseArguments(e){const t=e?this.parseConstArgument:this.parseArgument;return this.optionalMany(c.TokenKind.PAREN_L,t,c.TokenKind.PAREN_R)}parseArgument(e=!1){const t=this._lexer.token,n=this.parseName();return this.expectToken(c.TokenKind.COLON),this.node(t,{kind:a.Kind.ARGUMENT,name:n,value:this.parseValueLiteral(e)})}parseConstArgument(){return this.parseArgument(!0)}parseFragment(){const e=this._lexer.token;this.expectToken(c.TokenKind.SPREAD);const t=this.expectOptionalKeyword("on");return!t&&this.peek(c.TokenKind.NAME)?this.node(e,{kind:a.Kind.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1)}):this.node(e,{kind:a.Kind.INLINE_FRAGMENT,typeCondition:t?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentDefinition(){const e=this._lexer.token;return this.expectKeyword("fragment"),!0===this._options.allowLegacyFragmentVariables?this.node(e,{kind:a.Kind.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()}):this.node(e,{kind:a.Kind.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentName(){if("on"===this._lexer.token.value)throw this.unexpected();return this.parseName()}parseValueLiteral(e){const t=this._lexer.token;switch(t.kind){case c.TokenKind.BRACKET_L:return this.parseList(e);case c.TokenKind.BRACE_L:return this.parseObject(e);case c.TokenKind.INT:return this.advanceLexer(),this.node(t,{kind:a.Kind.INT,value:t.value});case c.TokenKind.FLOAT:return this.advanceLexer(),this.node(t,{kind:a.Kind.FLOAT,value:t.value});case c.TokenKind.STRING:case c.TokenKind.BLOCK_STRING:return this.parseStringLiteral();case c.TokenKind.NAME:switch(this.advanceLexer(),t.value){case"true":return this.node(t,{kind:a.Kind.BOOLEAN,value:!0});case"false":return this.node(t,{kind:a.Kind.BOOLEAN,value:!1});case"null":return this.node(t,{kind:a.Kind.NULL});default:return this.node(t,{kind:a.Kind.ENUM,value:t.value})}case c.TokenKind.DOLLAR:if(e){if(this.expectToken(c.TokenKind.DOLLAR),this._lexer.token.kind===c.TokenKind.NAME){const e=this._lexer.token.value;throw(0,r.syntaxError)(this._lexer.source,t.start,`Unexpected variable "$${e}" in constant value.`)}throw this.unexpected(t)}return this.parseVariable();default:throw this.unexpected()}}parseConstValueLiteral(){return this.parseValueLiteral(!0)}parseStringLiteral(){const e=this._lexer.token;return this.advanceLexer(),this.node(e,{kind:a.Kind.STRING,value:e.value,block:e.kind===c.TokenKind.BLOCK_STRING})}parseList(e){return this.node(this._lexer.token,{kind:a.Kind.LIST,values:this.any(c.TokenKind.BRACKET_L,(()=>this.parseValueLiteral(e)),c.TokenKind.BRACKET_R)})}parseObject(e){return this.node(this._lexer.token,{kind:a.Kind.OBJECT,fields:this.any(c.TokenKind.BRACE_L,(()=>this.parseObjectField(e)),c.TokenKind.BRACE_R)})}parseObjectField(e){const t=this._lexer.token,n=this.parseName();return this.expectToken(c.TokenKind.COLON),this.node(t,{kind:a.Kind.OBJECT_FIELD,name:n,value:this.parseValueLiteral(e)})}parseDirectives(e){const t=[];for(;this.peek(c.TokenKind.AT);)t.push(this.parseDirective(e));return t}parseConstDirectives(){return this.parseDirectives(!0)}parseDirective(e){const t=this._lexer.token;return this.expectToken(c.TokenKind.AT),this.node(t,{kind:a.Kind.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(e)})}parseTypeReference(){const e=this._lexer.token;let t;if(this.expectOptionalToken(c.TokenKind.BRACKET_L)){const n=this.parseTypeReference();this.expectToken(c.TokenKind.BRACKET_R),t=this.node(e,{kind:a.Kind.LIST_TYPE,type:n})}else t=this.parseNamedType();return this.expectOptionalToken(c.TokenKind.BANG)?this.node(e,{kind:a.Kind.NON_NULL_TYPE,type:t}):t}parseNamedType(){return this.node(this._lexer.token,{kind:a.Kind.NAMED_TYPE,name:this.parseName()})}peekDescription(){return this.peek(c.TokenKind.STRING)||this.peek(c.TokenKind.BLOCK_STRING)}parseDescription(){if(this.peekDescription())return this.parseStringLiteral()}parseSchemaDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("schema");const n=this.parseConstDirectives(),r=this.many(c.TokenKind.BRACE_L,this.parseOperationTypeDefinition,c.TokenKind.BRACE_R);return this.node(e,{kind:a.Kind.SCHEMA_DEFINITION,description:t,directives:n,operationTypes:r})}parseOperationTypeDefinition(){const e=this._lexer.token,t=this.parseOperationType();this.expectToken(c.TokenKind.COLON);const n=this.parseNamedType();return this.node(e,{kind:a.Kind.OPERATION_TYPE_DEFINITION,operation:t,type:n})}parseScalarTypeDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("scalar");const n=this.parseName(),r=this.parseConstDirectives();return this.node(e,{kind:a.Kind.SCALAR_TYPE_DEFINITION,description:t,name:n,directives:r})}parseObjectTypeDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("type");const n=this.parseName(),r=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),o=this.parseFieldsDefinition();return this.node(e,{kind:a.Kind.OBJECT_TYPE_DEFINITION,description:t,name:n,interfaces:r,directives:i,fields:o})}parseImplementsInterfaces(){return this.expectOptionalKeyword("implements")?this.delimitedMany(c.TokenKind.AMP,this.parseNamedType):[]}parseFieldsDefinition(){return this.optionalMany(c.TokenKind.BRACE_L,this.parseFieldDefinition,c.TokenKind.BRACE_R)}parseFieldDefinition(){const e=this._lexer.token,t=this.parseDescription(),n=this.parseName(),r=this.parseArgumentDefs();this.expectToken(c.TokenKind.COLON);const i=this.parseTypeReference(),o=this.parseConstDirectives();return this.node(e,{kind:a.Kind.FIELD_DEFINITION,description:t,name:n,arguments:r,type:i,directives:o})}parseArgumentDefs(){return this.optionalMany(c.TokenKind.PAREN_L,this.parseInputValueDef,c.TokenKind.PAREN_R)}parseInputValueDef(){const e=this._lexer.token,t=this.parseDescription(),n=this.parseName();this.expectToken(c.TokenKind.COLON);const r=this.parseTypeReference();let i;this.expectOptionalToken(c.TokenKind.EQUALS)&&(i=this.parseConstValueLiteral());const o=this.parseConstDirectives();return this.node(e,{kind:a.Kind.INPUT_VALUE_DEFINITION,description:t,name:n,type:r,defaultValue:i,directives:o})}parseInterfaceTypeDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("interface");const n=this.parseName(),r=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),o=this.parseFieldsDefinition();return this.node(e,{kind:a.Kind.INTERFACE_TYPE_DEFINITION,description:t,name:n,interfaces:r,directives:i,fields:o})}parseUnionTypeDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("union");const n=this.parseName(),r=this.parseConstDirectives(),i=this.parseUnionMemberTypes();return this.node(e,{kind:a.Kind.UNION_TYPE_DEFINITION,description:t,name:n,directives:r,types:i})}parseUnionMemberTypes(){return this.expectOptionalToken(c.TokenKind.EQUALS)?this.delimitedMany(c.TokenKind.PIPE,this.parseNamedType):[]}parseEnumTypeDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("enum");const n=this.parseName(),r=this.parseConstDirectives(),i=this.parseEnumValuesDefinition();return this.node(e,{kind:a.Kind.ENUM_TYPE_DEFINITION,description:t,name:n,directives:r,values:i})}parseEnumValuesDefinition(){return this.optionalMany(c.TokenKind.BRACE_L,this.parseEnumValueDefinition,c.TokenKind.BRACE_R)}parseEnumValueDefinition(){const e=this._lexer.token,t=this.parseDescription(),n=this.parseEnumValueName(),r=this.parseConstDirectives();return this.node(e,{kind:a.Kind.ENUM_VALUE_DEFINITION,description:t,name:n,directives:r})}parseEnumValueName(){if("true"===this._lexer.toke
9n.value||"false"===this._lexer.token.value||"null"===this._lexer.token.value)throw(0,r.syntaxError)(this._lexer.source,this._lexer.token.start,`${m(this._lexer.token)} is reserved and cannot be used for an enum value.`);return this.parseName()}parseInputObjectTypeDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("input");const n=this.parseName(),r=this.parseConstDirectives(),i=this.parseInputFieldsDefinition();return this.node(e,{kind:a.Kind.INPUT_OBJECT_TYPE_DEFINITION,description:t,name:n,directives:r,fields:i})}parseInputFieldsDefinition(){return this.optionalMany(c.TokenKind.BRACE_L,this.parseInputValueDef,c.TokenKind.BRACE_R)}parseTypeSystemExtension(){const e=this._lexer.lookahead();if(e.kind===c.TokenKind.NAME)switch(e.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(e)}parseSchemaExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");const t=this.parseConstDirectives(),n=this.optionalMany(c.TokenKind.BRACE_L,this.parseOperationTypeDefinition,c.TokenKind.BRACE_R);if(0===t.length&&0===n.length)throw this.unexpected();return this.node(e,{kind:a.Kind.SCHEMA_EXTENSION,directives:t,operationTypes:n})}parseScalarTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");const t=this.parseName(),n=this.parseConstDirectives();if(0===n.length)throw this.unexpected();return this.node(e,{kind:a.Kind.SCALAR_TYPE_EXTENSION,name:t,directives:n})}parseObjectTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");const t=this.parseName(),n=this.parseImplementsInterfaces(),r=this.parseConstDirectives(),i=this.parseFieldsDefinition();if(0===n.length&&0===r.length&&0===i.length)throw this.unexpected();return this.node(e,{kind:a.Kind.OBJECT_TYPE_EXTENSION,name:t,interfaces:n,directives:r,fields:i})}parseInterfaceTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");const t=this.parseName(),n=this.parseImplementsInterfaces(),r=this.parseConstDirectives(),i=this.parseFieldsDefinition();if(0===n.length&&0===r.length&&0===i.length)throw this.unexpected();return this.node(e,{kind:a.Kind.INTERFACE_TYPE_EXTENSION,name:t,interfaces:n,directives:r,fields:i})}parseUnionTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");const t=this.parseName(),n=this.parseConstDirectives(),r=this.parseUnionMemberTypes();if(0===n.length&&0===r.length)throw this.unexpected();return this.node(e,{kind:a.Kind.UNION_TYPE_EXTENSION,name:t,directives:n,types:r})}parseEnumTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");const t=this.parseName(),n=this.parseConstDirectives(),r=this.parseEnumValuesDefinition();if(0===n.length&&0===r.length)throw this.unexpected();return this.node(e,{kind:a.Kind.ENUM_TYPE_EXTENSION,name:t,directives:n,values:r})}parseInputObjectTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");const t=this.parseName(),n=this.parseConstDirectives(),r=this.parseInputFieldsDefinition();if(0===n.length&&0===r.length)throw this.unexpected();return this.node(e,{kind:a.Kind.INPUT_OBJECT_TYPE_EXTENSION,name:t,directives:n,fields:r})}parseDirectiveDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("directive"),this.expectToken(c.TokenKind.AT);const n=this.parseName(),r=this.parseArgumentDefs(),i=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");const o=this.parseDirectiveLocations();return this.node(e,{kind:a.Kind.DIRECTIVE_DEFINITION,description:t,name:n,arguments:r,repeatable:i,locations:o})}parseDirectiveLocations(){return this.delimitedMany(c.TokenKind.PIPE,this.parseDirectiveLocation)}parseDirectiveLocation(){const e=this._lexer.token,t=this.parseName();if(Object.prototype.hasOwnProperty.call(o.DirectiveLocation,t.value))return t;throw this.unexpected(e)}node(e,t){return!0!==this._options.noLocation&&(t.loc=new i.Location(e,this._lexer.lastToken,this._lexer.source)),t}peek(e){return this._lexer.token.kind===e}expectToken(e){const t=this._lexer.token;if(t.kind===e)return this.advanceLexer(),t;throw(0,r.syntaxError)(this._lexer.source,t.start,`Expected ${y(e)}, found ${m(t)}.`)}expectOptionalToken(e){return this._lexer.token.kind===e&&(this.advanceLexer(),!0)}expectKeyword(e){const t=this._lexer.token;if(t.kind!==c.TokenKind.NAME||t.value!==e)throw(0,r.syntaxError)(this._lexer.source,t.start,`Expected "${e}", found ${m(t)}.`);this.advanceLexer()}expectOptionalKeyword(e){const t=this._lexer.token;return t.kind===c.TokenKind.NAME&&t.value===e&&(this.advanceLexer(),!0)}unexpected(e){const t=null!=e?e:this._lexer.token;return(0,r.syntaxError)(this._lexer.source,t.start,`Unexpected ${m(t)}.`)}any(e,t,n){this.expectToken(e);const r=[];for(;!this.expectOptionalToken(n);)r.push(t.call(this));return r}optionalMany(e,t,n){if(this.expectOptionalToken(e)){const e=[];do{e.push(t.call(this))}while(!this.expectOptionalToken(n));return e}return[]}many(e,t,n){this.expectToken(e);const r=[];do{r.push(t.call(this))}while(!this.expectOptionalToken(n));return r}delimitedMany(e,t){this.expectOptionalToken(e);const n=[];do{n.push(t.call(this))}while(this.expectOptionalToken(e));return n}advanceLexer(){const{maxTokens:e}=this._options,t=this._lexer.advance();if(void 0!==e&&t.kind!==c.TokenKind.EOF&&(++this._tokenCounter,this._tokenCounter>e))throw(0,r.syntaxError)(this._lexer.source,t.start,`Document contains more that ${e} tokens. Parsing aborted.`)}}function m(e){const t=e.value;return y(e.kind)+(null!=t?` "${t}"`:"")}function y(e){return(0,s.isPunctuatorTokenKind)(e)?`"${e}"`:e}},(e,t,n)=>{"use strict";var r;n.r(t),n.d(t,{TokenKind:()=>r}),function(e){e.SOF="<SOF>",e.EOF="<EOF>",e.BANG="!",e.DOLLAR="$",e.AMP="&",e.PAREN_L="(",e.PAREN_R=")",e.SPREAD="...",e.COLON=":",e.EQUALS="=",e.AT="@",e.BRACKET_L="[",e.BRACKET_R="]",e.BRACE_L="{",e.PIPE="|",e.BRACE_R="}
9",e.NAME="Name",e.INT="Int",e.FLOAT="Float",e.STRING="String",e.BLOCK_STRING="BlockString",e.COMMENT="Comment"}(r||(r={}))},(e,t,n)=>{"use strict";n.r(t),n.d(t,{Source:()=>a,isSource:()=>s});var r=n(385),i=n(386),o=n(459);class a{constructor(e,t="GraphQL request",n={line:1,column:1}){"string"==typeof e||(0,r.devAssert)(!1,`Body must be a string. Received: ${(0,i.inspect)(e)}.`),this.body=e,this.name=t,this.locationOffset=n,this.locationOffset.line>0||(0,r.devAssert)(!1,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||(0,r.devAssert)(!1,"column in locationOffset is 1-indexed and must be positive.")}get[Symbol.toStringTag](){return"Source"}}function s(e){return(0,o.instanceOf)(e,a)}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{instanceOf:()=>i});var r=n(386);const i=globalThis.process&&"production"===globalThis.process.env.NODE_ENV?function(e,t){return e instanceof t}:function(e,t){if(e instanceof t)return!0;if("object"==typeof e&&null!==e){var n;const i=t.prototype[Symbol.toStringTag];if(i===(Symbol.toStringTag in e?e[Symbol.toStringTag]:null===(n=e.constructor)||void 0===n?void 0:n.name)){const t=(0,r.inspect)(e);throw new Error(`Cannot use ${i} "${t}" from another module or realm.\n\nEnsure that there is only one instance of "graphql" in the node_modules\ndirectory. If different versions of "graphql" are the dependencies of other\nrelied on modules, use "resolutions" to ensure only one version is installed.\n\nhttps://yarnpkg.com/en/docs/selective-version-resolutions\n\nDuplicate "graphql" modules cannot be used at the same time since different\nversions may have different capabilities and behavior. The data from one\nversion used in the function from another could produce confusing and\nspurious results.`)}}return!1}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{Lexer:()=>u,isPunctuatorTokenKind:()=>c});var r=n(461),i=n(383),o=n(387),a=n(388),s=n(457);class u{constructor(e){const t=new i.Token(s.TokenKind.SOF,0,0,0,0);this.source=e,this.lastToken=t,this.token=t,this.line=1,this.lineStart=0}get[Symbol.toStringTag](){return"Lexer"}advance(){this.lastToken=this.token;return this.token=this.lookahead()}lookahead(){let e=this.token;if(e.kind!==s.TokenKind.EOF)do{if(e.next)e=e.next;else{const t=y(this,e.end);e.next=t,t.prev=e,e=t}}while(e.kind===s.TokenKind.COMMENT);return e}}function c(e){return e===s.TokenKind.BANG||e===s.TokenKind.DOLLAR||e===s.TokenKind.AMP||e===s.TokenKind.PAREN_L||e===s.TokenKind.PAREN_R||e===s.TokenKind.SPREAD||e===s.TokenKind.COLON||e===s.TokenKind.EQUALS||e===s.TokenKind.AT||e===s.TokenKind.BRACKET_L||e===s.TokenKind.BRACKET_R||e===s.TokenKind.BRACE_L||e===s.TokenKind.PIPE||e===s.TokenKind.BRACE_R}function l(e){return e>=0&&e<=55295||e>=57344&&e<=1114111}function f(e,t){return p(e.charCodeAt(t))&&d(e.charCodeAt(t+1))}function p(e){return e>=55296&&e<=56319}function d(e){return e>=56320&&e<=57343}function h(e,t){const n=e.source.body.codePointAt(t);if(void 0===n)return s.TokenKind.EOF;
9if(n>=32&&n<=126){const e=String.fromCodePoint(n);return'"'===e?"'\"'":`"${e}"`}return"U+"+n.toString(16).toUpperCase().padStart(4,"0")}function m(e,t,n,r,o){const a=e.line,s=1+n-e.lineStart;return new i.Token(t,n,r,a,s,o)}function y(e,t){const n=e.source.body,i=n.length;let o=t;for(;o<i;){const t=n.charCodeAt(o);switch(t){case 65279:case 9:case 32:case 44:++o;continue;case 10:++o,++e.line,e.lineStart=o;continue;case 13:10===n.charCodeAt(o+1)?o+=2:++o,++e.line,e.lineStart=o;continue;case 35:return g(e,o);case 33:return m(e,s.TokenKind.BANG,o,o+1);case 36:return m(e,s.TokenKind.DOLLAR,o,o+1);case 38:return m(e,s.TokenKind.AMP,o,o+1);case 40:return m(e,s.TokenKind.PAREN_L,o,o+1);case 41:return m(e,s.TokenKind.PAREN_R,o,o+1);case 46:if(46===n.charCodeAt(o+1)&&46===n.charCodeAt(o+2))return m(e,s.TokenKind.SPREAD,o,o+3);break;case 58:return m(e,s.TokenKind.COLON,o,o+1);case 61:return m(e,s.TokenKind.EQUALS,o,o+1);case 64:return m(e,s.TokenKind.AT,o,o+1);case 91:return m(e,s.TokenKind.BRACKET_L,o,o+1);case 93:return m(e,s.TokenKind.BRACKET_R,o,o+1);case 123:return m(e,s.TokenKind.BRACE_L,o,o+1);case 124:return m(e,s.TokenKind.PIPE,o,o+1);case 125:return m(e,s.TokenKind.BRACE_R,o,o+1);case 34:return 34===n.charCodeAt(o+1)&&34===n.charCodeAt(o+2)?x(e,o):_(e,o)}if((0,a.isDigit)(t)||45===t)return v(e,o,t);if((0,a.isNameStart)(t))return k(e,o);throw(0,r.syntaxError)(e.source,o,39===t?"Unexpected single quote character ('), did you mean to use a double quote (\")?":l(t)||f(n,o)?`Unexpected character: ${h(e,o)}.`:`Invalid character: ${h(e,o)}.`)}return m(e,s.TokenKind.EOF,i,i)}function g(e,t){const n=e.source.body,r=n.length;let i=t+1;for(;i<r;){const e=n.charCodeAt(i);if(10===e||13===e)break;if(l(e))++i;else{if(!f(n,i))break;i+=2}}return m(e,s.TokenKind.COMMENT,t,i,n.slice(t+1,i))}function v(e,t,n){const i=e.source.body;let o=t,u=n,c=!1;if(45===u&&(u=i.charCodeAt(++o)),48===u){if(u=i.charCodeAt(++o),(0,a.isDigit)(u))throw(0,r.syntaxError)(e.source,o,`Invalid number, unexpected digit after 0: ${h(e,o)}.`)}else o=b(e,o,u),u=i.charCodeAt(o);if(46===u&&(c=!0,u=i.charCodeAt(++o),o=b(e,o,u),u=i.charCodeAt(o)),69!==u&&101!==u||(c=!0,u=i.charCodeAt(++o),43!==u&&45!==u||(u=i.charCodeAt(++o)),o=b(e,o,u),u=i.charCodeAt(o)),46===u||(0,a.isNameStart)(u))throw(0,r.syntaxError)(e.source,o,`Invalid number, expected digit but got: ${h(e,o)}.`);return m(e,c?s.TokenKind.FLOAT:s.TokenKind.INT,t,o,i.slice(t,o))}function b(e,t,n){if(!(0,a.isDigit)(n))throw(0,r.syntaxError)(e.source,t,`Invalid number, expected digit but got: ${h(e,t)}.`);const i=e.source.body;let o=t+1;for(;(0,a.isDigit)(i.charCodeAt(o));)++o;return o}function _(e,t){const n=e.source.body,i=n.length;let o=t+1,a=o,u="";for(;o<i;){const i=n.charCodeAt(o);if(34===i)return u+=n.slice(a,o),m(e,s.TokenKind.STRING,t,o+1,u);if(92!==i){if(10===i||13===i)break;if(l(i))++o;else{if(!f(n,o))throw(0,r.syntaxError)(e.source,o,`Invalid character within String: ${h(e,o)}.`);o+=2}}else{u+=n.slice(a,o);const t=117===n.charCodeAt(o+1)?123===n.charCodeAt(o+2)?E(e,o):S(e,o):O(e,o);u+=t.value,o+=t.size,a=o}}throw(0,r.syntaxError)(e.source,o,"Unterminated string.")}function E(e,t){const n=e.source.body;let i=0,o=3;for(;o<12;){const e=n.charCodeAt(t+o++);if(125===e){if(o<5||!l(i))break;return{value:String.fromCodePoint(i),size:o}}if(i=i<<4|T(e),i<0)break}throw(0,r.syntaxError)(e.source,t,`Invalid Unicode escape sequence: "${n.slice(t,t+o)}".`)}function S(e,t){const n=e.source.body,i=w(n,t+2);if(l(i))return{value:String.fromCodePoint(i),size:6};if(p(i)&&92===n.charCodeAt(t+6)&&117===n.charCodeAt(t+7)){const e=w(n,t+8);if(d(e))return{value:String.fromCodePoint(i,e),size:12}}throw(0,r.syntaxError)(e.source,t,`Invalid Unicode escape sequence: "${n.slice(t,t+6)}".`)}function w(e,t){return T(e.charCodeAt(t))<<12|T(e.charCodeAt(t+1))<<8|T(e.charCodeAt(t+2))<<4|T(e.charCodeAt(t+3))}function T(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}function O(e,t){const n=e.source.body;switch(n.charCodeAt(t+1)){case 34:return{value:'"',size:2};case 92:return{value:"\\",size:2};case 47:return{value:"/",size:2};case 98:return{value:"\b",size:2};case 102:return{value:"\f",size:2};case 110:return{value:"\n",size:2};case 114:return{value:"\r",size:2};case 116:return{value:"\t",size:2}}throw(0,r.syntaxError)(e.source,t,`Invalid character escape sequence: "${n.slice(t,t+2)}".`)}function x(e,t){const n=e.source.body,i=n.length;let a=e.lineStart,u=t+3,c=u,p="";const d=[];for(;u<i;){const i=n.charCodeAt(u);if(34===i&&34===n.charCodeAt(u+1)&&34===n.charCodeAt(u+2)){p+=n.slice(c,u),d.push(p);const r=m(e,s.TokenKind.BLOCK_STRING,t,u+3,(0,o.dedentBlockStringLines)(d).join("\n"));return e.line+=d.length-1,e.lineStart=a,r}if(92!==i||34!==n.charCodeAt(u+1)||34!==n.charCodeAt(u+2)||34!==n.charCodeAt(u+3))if(10!==i&&13!==i)if(l(i))++u;else{if(!f(n,u))throw(0,r.syntaxError)(e.source,u,`Invalid character within String: ${h(e,u)}.`);u+=2}else p+=n.slice(c,u),d.push(p),13===i&&10===n.charCodeAt(u+1)?u+=2:++u,p="",c=u,a=u;else p+=n.slice(c,u),c=u+1,u+=4}throw(0,r.syntaxError)(e.source,u,"Unterminated string.")}function k(e,t){const n=e.source.body,r=n.length;let i=t+1;for(;i<r;){const e=n.charCodeAt(i);if(!(0,a.isNameContinue)(e))break;++i}return m(e,s.TokenKind.NAME,t,i,n.slice(t,i))}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{syntaxError:()=>i});var r=n(462);function i(e,t,n){return new r.GraphQLError(`Syntax Error: ${n}`,{source:e,positions:[t]})}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{GraphQLError:()=>a,formatError:()=>c,printError:()=>u});var r=n(465),i=n(463),o=n(466);
9class a extends Error{constructor(e,...t){var n,o,u;const{nodes:c,source:l,positions:f,path:p,originalError:d,extensions:h}=function(e){const t=e[0];return null==t||"kind"in t||"length"in t?{nodes:t,source:e[1],positions:e[2],path:e[3],originalError:e[4],extensions:e[5]}:t}(t);super(e),this.name="GraphQLError",this.path=null!=p?p:void 0,this.originalError=null!=d?d:void 0,this.nodes=s(Array.isArray(c)?c:c?[c]:void 0);const m=s(null===(n=this.nodes)||void 0===n?void 0:n.map((e=>e.loc)).filter((e=>null!=e)));this.source=null!=l?l:null==m||null===(o=m[0])||void 0===o?void 0:o.source,this.positions=null!=f?f:null==m?void 0:m.map((e=>e.start)),this.locations=f&&l?f.map((e=>(0,i.getLocation)(l,e))):null==m?void 0:m.map((e=>(0,i.getLocation)(e.source,e.start)));const y=(0,r.isObjectLike)(null==d?void 0:d.extensions)?null==d?void 0:d.extensions:void 0;this.extensions=null!==(u=null!=h?h:y)&&void 0!==u?u:Object.create(null),Object.defineProperties(this,{message:{writable:!0,enumerable:!0},name:{enumerable:!1},nodes:{enumerable:!1},source:{enumerable:!1},positions:{enumerable:!1},originalError:{enumerable:!1}}),null!=d&&d.stack?Object.defineProperty(this,"stack",{value:d.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,a):Object.defineProperty(this,"stack",{value:Error().stack,writable:!0,configurable:!0})}get[Symbol.toStringTag](){return"GraphQLError"}toString(){let e=this.message;if(this.nodes)for(const t of this.nodes)t.loc&&(e+="\n\n"+(0,o.printLocation)(t.loc));else if(this.source&&this.locations)for(const t of this.locations)e+="\n\n"+(0,o.printSourceLocation)(this.source,t);return e}toJSON(){const e={message:this.message};return null!=this.locations&&(e.locations=this.locations),null!=this.path&&(e.path=this.path),null!=this.extensions&&Object.keys(this.extensions).length>0&&(e.extensions=this.extensions),e}}function s(e){return void 0===e||0===e.length?void 0:e}function u(e){return e.toString()}function c(e){return e.toJSON()}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{getLocation:()=>o});var r=n(464);const i=/\r\n|[\n\r]/g;function o(e,t){let n=0,o=1;
9for(const a of e.body.matchAll(i)){if("number"==typeof a.index||(0,r.invariant)(!1),a.index>=t)break;n=a.index+a[0].length,o+=1}return{line:o,column:t+1-n}}},(e,t,n)=>{"use strict";function r(e,t){if(!Boolean(e))throw new Error(null!=t?t:"Unexpected invariant triggered.")}n.r(t),n.d(t,{invariant:()=>r})},(e,t,n)=>{"use strict";function r(e){return"object"==typeof e&&null!==e}n.r(t),n.d(t,{isObjectLike:()=>r})},(e,t,n)=>{"use strict";n.r(t),n.d(t,{printLocation:()=>i,printSourceLocation:()=>o});var r=n(463);function i(e){return o(e.source,(0,r.getLocation)(e.source,e.start))}function o(e,t){const n=e.locationOffset.column-1,r="".padStart(n)+e.body,i=t.line-1,o=e.locationOffset.line-1,s=t.line+o,u=1===t.line?n:0,c=t.column+u,l=`${e.name}:${s}:${c}\n`,f=r.split(/\r\n|[\n\r]/g),p=f[i];if(p.length>120){const e=Math.floor(c/80),t=c%80,n=[];for(let e=0;e<p.length;e+=80)n.push(p.slice(e,e+80));return l+a([[`${s} |`,n[0]],...n.slice(1,e+1).map((e=>["|",e])),["|","^".padStart(t)],["|",n[e+1]]])}return l+a([[s-1+" |",f[i-1]],[`${s} |`,p],["|","^".padStart(c)],[`${s+1} |`,f[i+1]]])}function a(e){const t=e.filter((([e,t])=>void 0!==t)),n=Math.max(...t.map((([e])=>e.length)));return t.map((([e,t])=>e.padStart(n)+(t?" "+t:""))).join("\n")}},(e,t,n)=>{"use strict";var r;n.r(t),n.d(t,{DirectiveLocation:()=>r}),function(e){e.QUERY="QUERY",e.MUTATION="MUTATION",e.SUBSCRIPTION="SUBSCRIPTION",e.FIELD="FIELD",e.FRAGMENT_DEFINITION="FRAGMENT_DEFINITION",e.FRAGMENT_SPREAD="FRAGMENT_SPREAD",e.INLINE_FRAGMENT="INLINE_FRAGMENT",e.VARIABLE_DEFINITION="VARIABLE_DEFINITION",e.SCHEMA="SCHEMA",e.SCALAR="SCALAR",e.OBJECT="OBJECT",e.FIELD_DEFINITION="FIELD_DEFINITION",e.ARGUMENT_DEFINITION="ARGUMENT_DEFINITION",e.INTERFACE="INTERFACE",e.UNION="UNION",e.ENUM="ENUM",e.ENUM_VALUE="ENUM_VALUE",e.INPUT_OBJECT="INPUT_OBJECT",e.INPUT_FIELD_DEFINITION="INPUT_FIELD_DEFINITION"}(r||(r={}))},(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.makeBreadcrumb=void 0;var r=(0,n(258).__importDefault)(n(469)),i=n(471),o=n(566);t.makeBreadcrumb=function(e,t){var n,a,s,u,c,l,f,p=t.attachBreadcrumbs,d=(0,o.extractDefinition)(e),h={},m=t.uri;m&&(h.url=m);var y=null===(n=d.name)||void 0===n?void 0:n.value;y&&(h.operationName=y),p.includeQuery&&(h.query=null!==(u=null===(s=null===(a=d.loc)||void 0===a?void 0:a.source)||void 0===s?void 0:s.body)&&void 0!==u?u:(0,i.print)(d)),p.includeVariables&&(h.variables=e.variables),p.includeCache&&(h.cache=null!==(f=null===(l=null===(c=e.getContext().cache)||void 0===c?void 0:c.data)||void 0===l?void 0:l.data)&&void 0!==f?f:void 0);var g,v,b=p.includeContext;return b&&(h.context=(g=e.getContext(),v={},b.forEach((function(e){v[e]=r.default.get(g,e)})),v)),{type:"http",category:"graphql.".concat(d.operation),data:h}}},(e,t,n)=>{"use strict";const r=n(470),i=new Set(["__proto__","prototype","constructor"]);function o(e){const t=e.split("."),n=[];for(let e=0;e<t.length;e++){let r=t[e];for(;"\\"===r[r.length-1]&&void 0!==t[e+1];)r=r.slice(0,-1)+".",r+=t[++e];n.push(r)}return n.some((e=>i.has(e)))?[]:n}e.exports={get(e,t,n){if(!r(e)||"string"!=typeof t)return void 0===n?e:n;const i=o(t);if(0!==i.length){for(let t=0;t<i.length;t++)if(null==(e=e[i[t]])){if(t!==i.length-1)return n;break}return void 0===e?n:e}},set(e,t,n){if(!r(e)||"string"!=typeof t)return e;const i=e,a=o(t);for(let t=0;t<a.length;t++){const i=a[t];r(e[i])||(e[i]={}),t===a.length-1&&(e[i]=n),e=e[i]}return i},delete(e,t){if(!r(e)||"string"!=typeof t)return!1;const n=o(t);for(let t=0;t<n.length;t++){const i=n[t];if(t===n.length-1)return delete e[i],!0;if(e=e[i],!r(e))return!1}},has(e,t){if(!r(e)||"string"!=typeof t)return!1;const n=o(t);if(0===n.length)return!1;for(let t=0;t<n.length;t++){if(!r(e))return!1;if(!(n[t]in e))return!1;e=e[n[t]]}return!0}}},e=>{"use strict";e.exports=e=>{const t=typeof e;return null!==e&&("object"===t||"function"===t)}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{BREAK:()=>_.BREAK,BreakingChangeType:()=>Me.BreakingChangeType,DEFAULT_DEPRECATION_REASON:()=>s.DEFAULT_DEPRECATION_REASON,DangerousChangeType:()=>Me.DangerousChangeType,DirectiveLocation:()=>S.DirectiveLocation,ExecutableDefinitionsRule:()=>I.ExecutableDefinitionsRule,FieldsOnCorrectTypeRule:()=>D.FieldsOnCorrectTypeRule,FragmentsOnCompositeTypesRule:()=>C.FragmentsOnCompositeTypesRule,GRAPHQL_MAX_INT:()=>u.GRAPHQL_MAX_INT,GRAPHQL_MIN_INT:()=>u.GRAPHQL_MIN_INT,GraphQLBoolean:()=>u.GraphQLBoolean,GraphQLDeprecatedDirective:()=>s.GraphQLDeprecatedDirective,GraphQLDirective:()=>s.GraphQLDirective,GraphQLEnumType:()=>o.GraphQLEnumType,GraphQLError:()=>de.GraphQLError,GraphQLFloat:()=>u.GraphQLFloat,GraphQLID:()=>u.GraphQLID,GraphQLIncludeDirective:()=>s.GraphQLIncludeDirective,GraphQLInputObjectType:()=>o.GraphQLInputObjectType,GraphQLInt:()=>u.GraphQLInt,GraphQLInterfaceType:()=>o.GraphQLInterfaceType,GraphQLList:()=>
9o.GraphQLList,GraphQLNonNull:()=>o.GraphQLNonNull,GraphQLObjectType:()=>o.GraphQLObjectType,GraphQLScalarType:()=>o.GraphQLScalarType,GraphQLSchema:()=>a.GraphQLSchema,GraphQLSkipDirective:()=>s.GraphQLSkipDirective,GraphQLSpecifiedByDirective:()=>s.GraphQLSpecifiedByDirective,GraphQLString:()=>u.GraphQLString,GraphQLUnionType:()=>o.GraphQLUnionType,Kind:()=>E.Kind,KnownArgumentNamesRule:()=>P.KnownArgumentNamesRule,KnownDirectivesRule:()=>L.KnownDirectivesRule,KnownFragmentNamesRule:()=>M.KnownFragmentNamesRule,KnownTypeNamesRule:()=>j.KnownTypeNamesRule,Lexer:()=>y.Lexer,Location:()=>p.Location,LoneAnonymousOperationRule:()=>F.LoneAnonymousOperationRule,LoneSchemaDefinitionRule:()=>re.LoneSchemaDefinitionRule,NoDeprecatedCustomRule:()=>fe.NoDeprecatedCustomRule,NoFragmentCyclesRule:()=>U.NoFragmentCyclesRule,NoSchemaIntrospectionCustomRule:()=>pe.NoSchemaIntrospectionCustomRule,NoUndefinedVariablesRule:()=>B.NoUndefinedVariablesRule,NoUnusedFragmentsRule:()=>q.NoUnusedFragmentsRule,NoUnusedVariablesRule:()=>G.NoUnusedVariablesRule,OperationTypeNode:()=>p.OperationTypeNode,OverlappingFieldsCanBeMergedRule:()=>V.OverlappingFieldsCanBeMergedRule,PossibleFragmentSpreadsRule:()=>H.PossibleFragmentSpreadsRule,PossibleTypeExtensionsRule:()=>le.PossibleTypeExtensionsRule,ProvidedRequiredArgumentsRule:()=>z.ProvidedRequiredArgumentsRule,ScalarLeafsRule:()=>$.ScalarLeafsRule,SchemaMetaFieldDef:()=>c.SchemaMetaFieldDef,SingleFieldSubscriptionsRule:()=>K.SingleFieldSubscriptionsRule,Source:()=>d.Source,Token:()=>p.Token,TokenKind:()=>g.TokenKind,TypeInfo:()=>Ne.TypeInfo,TypeKind:()=>c.TypeKind,TypeMetaFieldDef:()=>c.TypeMetaFieldDef,TypeNameMetaFieldDef:()=>c.TypeNameMetaFieldDef,UniqueArgumentDefinitionNamesRule:()=>ue.UniqueArgumentDefinitionNamesRule,UniqueArgumentNamesRule:()=>Y.UniqueArgumentNamesRule,UniqueDirectiveNamesRule:()=>ce.UniqueDirectiveNamesRule,UniqueDirectivesPerLocationRule:()=>W.UniqueDirectivesPerLocationRule,UniqueEnumValueNamesRule:()=>ae.UniqueEnumValueNamesRule,UniqueFieldDefinitionNamesRule:()=>se.UniqueFieldDefinitionNamesRule,UniqueFragmentNamesRule:()=>Q.UniqueFragmentNamesRule,UniqueInputFieldNamesRule:()=>X.UniqueInputFieldNamesRule,UniqueOperationNamesRule:()=>J.UniqueOperationNamesRule,UniqueOperationTypesRule:()=>ie.UniqueOperationTypesRule,UniqueTypeNamesRule:()=>oe.UniqueTypeNamesRule,UniqueVariableNamesRule:()=>Z.UniqueVariableNamesRule,ValidationContext:()=>N.ValidationContext,ValuesOfCorrectTypeRule:()=>ee.ValuesOfCorrectTypeRule,VariablesAreInputTypesRule:()=>te.VariablesAreInputTypesRule,VariablesInAllowedPositionRule:()=>ne.VariablesInAllowedPositionRule,__Directive:()=>c.__Directive,__DirectiveLocation:()=>c.__DirectiveLocation,__EnumValue:()=>c.__EnumValue,__Field:()=>c.__Field,__InputValue:()=>c.__InputValue,__Schema:()=>c.__Schema,__Type:()=>c.__Type,__TypeKind:()=>c.__TypeKind,assertAbstractType:()=>o.assertAbstractType,assertCompositeType:()=>o.assertCompositeType,assertDirective:()=>s.assertDirective,assertEnumType:()=>o.assertEnumType,assertEnumValueName:()=>f.assertEnumValueName,assertInputObjectType:()=>o.assertInputObjectType,assertInputType:()=>o.assertInputType,assertInterfaceType:()=>o.assertInterfaceType,assertLeafType:()=>o.assertLeafType,assertListType:()=>o.assertListType,assertName:()=>f.assertName,assertNamedType:()=>o.assertNamedType,assertNonNullType:()=>o.assertNonNullType,assertNullableType:()=>o.assertNullableType,assertObjectType:()=>o.assertObjectType,assertOutputType:()=>o.assertOutputType,assertScalarType:()=>o.assertScalarType,assertSchema:()=>a.assertSchema,assertType:()=>o.assertType,assertUnionType:()=>o.assertUnionType,assertValidName:()=>Le.assertValidName,assertValidSchema:()=>l.assertValidSchema,assertWrappingType:()=>o.assertWrappingType,astFromValue:()=>Re.astFromValue,buildASTSchema:()=>Ee.buildASTSchema,buildClientSchema:()=>_e.buildClientSchema,buildSchema:()=>Ee.buildSchema,coerceInputValue:()=>Ae.coerceInputValue,concatAST:()=>Ie.concatAST,createSourceEventStream:()=>k.createSourceEventStream,defaultFieldResolver:()=>T.defaultFieldResolver,defaultTypeResolver:()=>T.defaultTypeResolver,doTypesOverlap:()=>Pe.doTypesOverlap,execute:()=>T.execute,executeSync:()=>T.executeSync,extendSchema:()=>Se.extendSchema,findBreakingChanges:()=>Me.findBreakingChanges,findDangerousChanges:()=>Me.findDangerousChanges,formatError:()=>de.formatError,getArgumentValues:()=>x.getArgumentValues,getDirectiveValues:()=>x.getDirectiveValues,getEnterLeaveForKind:()=>_.getEnterLeaveForKind,getIntrospectionQuery:()=>ye.getIntrospectionQuery,getLocation:()=>h.getLocation,getNamedType:()=>o.getNamedType,getNullableType:()=>o.getNullableType,getOperationAST:()=>ge.getOperationAST,getOperationRootType:()=>ve.getOperationRootType,getVariableValues:()=>x.getVariableValues,getVisitFn:()=>_.getVisitFn,graphql:()=>i.graphql,graphqlSync:()=>i.graphqlSync,introspectionFromSchema:()=>be.introspectionFromSchema,introspectionTypes:()=>c.introspectionTypes,isAbstractType:()=>o.isAbstractType,isCompositeType:()=>o.isCompositeType,isConstValueNode:()=>w.isConstValueNode,isDefinitionNode:()=>w.isDefinitionNode,isDirective:()=>s.isDirective,isEnumType:()=>o.isEnumType,isEqualType:()=>Pe.isEqualType,isExecutableDefinitionNode:()=>w.isExecutableDefinitionNode,isInputObjectType:()=>o.isInputObjectType,isInputType:()=>o.isInputType,isInterfaceType:()=>o.isInterfaceType,isIntrospectionType:()=>c.isIntrospectionType,isLeafType:()=>o.isLeafType,isListType:()=>o.isListType,isNamedType:()=>o.isNamedType,isNonNullType:()=>o.isNonNullType,isNullableType:()=>o.isNullableType,isObjectType:()=>o.isObjectType,isOutputType:()=>o.isOutputType,isRequiredArgument:()=>o.isRequiredArgument,isRequiredInputField:()=>o.isRequiredInputField,isScalarType:()=>o.isScalarType,isSchema:()=>a.isSchema,isSelectionNode:()=>w.isSelectionNode,isSpecifiedDirective:()=>s.isSpecifiedDirective,isSpecifiedScalarType:()=>u.isSpecifiedScalarType,isType:()=>o.isType,isTypeDefinitionNode:()=>w.isTypeDefinitionNode,isTypeExtensionNode:()=>w.isTypeExtensionNode,isTypeNode:()=>w.isTypeNode,isTypeSubTypeOf:()=>Pe.isTypeSubTypeOf,isTypeSystemDefinitionNode:()=>w.isTypeSystemDefinitionNode,isTypeSystemExtensionNode:()=>w.isTypeSystemExtensionNode,isUnionType:()=>o.isUnionType,isValidNameError:()=>Le.isValidNameError,isValueNode:()=>w.isValueNode,isWrappingType:()=>o.isWrappingType,lexicographicSortSchema:()=>we.lexicographicSortSchema,locatedError:()=>me.locatedError,parse:()=>v.parse,parseConstValue:()=>v.parseConstValue,parseType:()=>v.parseType,parseValue:()=>v.parseValue,print:()=>b.print,printError:()=>de.printError,printIntrospectionSchema:()=>Te.printIntrospectionSchema,printLocation:()=>m.printLocation,printSchema:()=>Te.printSchema,printSourceLocation:()=>m.printSourceLocation,printType:()=>Te.printType,resolveObjMapThunk:()=>o.resolveObjMapThunk,resolveReadonlyArrayThunk:()=>o.resolveReadonlyArrayThunk,responsePathAsArray:()=>O.pathToArray,separateOperations:()=>De.separateOperations,specifiedDirectives:()=>s.specifiedDirectives,specifiedRules:()=>A.specifiedRules,specifiedScalarTypes:()=>u.specifiedScalarTypes,stripIgnoredCharacters:()=>Ce.stripIgnoredCharacters,subscribe:()=>k.subscribe,syntaxError:()=>he.syntaxError,typeFromAST:()=>Oe.typeFromAST,validate:()=>R.validate,validateSchema:()=>l.validateSchema,valueFromAST:()=>xe.valueFromAST,valueFromASTUntyped:()=>ke.valueFromASTUntyped,version:()=>r.version,versionInfo:()=>r.versionInfo,visit:()=>_.visit,visitInParallel:()=>_.visitInParallel,visitWithTypeInfo:()=>Ne.visitWithTypeInfo});var r=n(472),i=n(473),o=n(480),a=n(476),s=n(478),u=n(489),c=n(490),l=n(475),f=n(479),p=n(383),d=n(458),h=n(463),m=n(466),y=n(460),g=n(457),v=n(456),b=n(38
91),_=n(382),E=n(384),S=n(467),w=n(419),T=n(541),O=n(506),x=n(501),k=n(547),R=n(494),N=n(540),A=n(495),I=n(496),D=n(511),C=n(508),P=n(523),L=n(521),M=n(513),j=n(507),F=n(498),U=n(516),B=n(519),q=n(514),G=n(520),V=n(528),H=n(515),z=n(526),$=n(510),K=n(499),Y=n(524),W=n(522),Q=n(512),X=n(530),J=n(497),Z=n(517),ee=n(525),te=n(509),ne=n(527),re=n(531),ie=n(532),oe=n(533),ae=n(534),se=n(535),ue=n(536),ce=n(537),le=n(538),fe=n(550),pe=n(551),de=n(462),he=n(461),me=n(545),ye=n(552),ge=n(553),ve=n(554),be=n(555),_e=n(556),Ee=n(557),Se=n(558),we=n(559),Te=n(560),Oe=n(502),xe=n(503),ke=n(482),Re=n(491),Ne=n(539),Ae=n(504),Ie=n(561),De=n(562),Ce=n(563),Pe=n(493),Le=n(564),Me=n(565)},(e,t,n)=>{"use strict";n.r(t),n.d(t,{version:()=>r,versionInfo:()=>i});const r="16.8.1",i=Object.freeze({major:16,minor:8,patch:1,preReleaseTag:null})},(e,t,n)=>{"use strict";n.r(t),n.d(t,{graphql:()=>c,graphqlSync:()=>l});var r=n(385),i=n(474),o=n(456),a=n(475),s=n(494),u=n(541);function c(e){return new Promise((t=>t(f(e))))}function l(e){const t=f(e);if((0,i.isPromise)(t))throw new Error("GraphQL execution failed to complete synchronously.");return t}function f(e){arguments.length<2||(0,r.devAssert)(!1,"graphql@16 dropped long-deprecated support for positional arguments, please pass an object instead.");const{schema:t,source:n,rootValue:i,contextValue:c,variableValues:l,operationName:f,fieldResolver:p,typeResolver:d}=e,h=(0,a.validateSchema)(t);if(h.length>0)return{errors:h};let m;try{m=(0,o.parse)(n)}catch(e){return{errors:[e]}}const y=(0,s.validate)(t,m);return y.length>0?{errors:y}:(0,u.execute)({schema:t,document:m,rootValue:i,contextValue:c,variableValues:l,operationName:f,fieldResolver:p,typeResolver:d})}},(e,t,n)=>{"use strict";function r(e){return"function"==typeof(null==e?void 0:e.then)}n.r(t),n.d(t,{isPromise:()=>r})},(e,t,n)=>{"use strict";n.r(t),n.d(t,{assertValidSchema:()=>p,validateSchema:()=>f});var r=n(386),i=n(462),o=n(383),a=n(493),s=n(480),u=n(478),c=n(490),l=n(476);function f(e){if((0,l.assertSchema)(e),e.__validationErrors)return e.__validationErrors;const t=new d(e);!function(e){const t=e.schema,n=t.getQueryType();if(n){if(!(0,s.isObjectType)(n)){var i;e.reportError(`Query root type must be Object type, it cannot be ${(0,r.inspect)(n)}.`,null!==(i=h(t,o.OperationTypeNode.QUERY))&&void 0!==i?i:n.astNode)}}else e.reportError("Query root type must be provided.",t.astNode);const a=t.getMutationType();var u;a&&!(0,s.isObjectType)(a)&&e.reportError(`Mutation root type must be Object type if provided, it cannot be ${(0,r.inspect)(a)}.`,null!==(u=h(t,o.OperationTypeNode.MUTATION))&&void 0!==u?u:a.astNode);const c=t.getSubscriptionType();var l;c&&!(0,s.isObjectType)(c)&&e.reportError(`Subscription root type must be Object type if provided, it cannot be ${(0,r.inspect)(c)}.`,null!==(l=h(t,o.OperationTypeNode.SUBSCRIPTION))&&void 0!==l?l:c.astNode)}(t),function(e){for(const n of e.schema.getDirectives())if((0,u.isDirective)(n)){m(e,n);for(const i of n.args){var t;if(m(e,i),(0,s.isInputType)(i.type)||e.reportError(`The type of @${n.name}(${i.name}:) must be Input Type but got: ${(0,r.inspect)(i.type)}.`,i.astNode),(0,s.isRequiredArgument)(i)&&null!=i.deprecationReason)e.reportError(`Required argument @${n.name}(${i.name}:) cannot be deprecated.`,[O(i.astNode),null===(t=i.astNode)||void 0===t?void 0:t.type])}}else e.reportError(`Expected directive but got: ${(0,r.inspect)(n)}.`,null==n?void 0:n.astNode)}(t),function(e){const t=function(e){const t=Object.create(null),n=[],r=Object.create(null);return i;function i(o){if(t[o.name])return;t[o.name]=!0,r[o.name]=n.length;const a=Object.values(o.getFields());for(const t of a)if((0,s.isNonNullType)(t.type)&&(0,s.isInputObjectType)(t.type.ofType)){const o=t.type.ofType,a=r[o.name];if(n.push(t),void 0===a)i(o);else{const t=n.slice(a),r=t.map((e=>e.name)).join(".");e.reportError(`Cannot reference Input Object "${o.name}" within itself through a series of non-null fields: "${r}".`,t.map((e=>e.astNode)))}n.pop()}r[o.name]=void 0}}(e),n=e.schema.getTypeMap();for(const i of Object.values(n))(0,s.isNamedType)(i)?((0,c.isIntrospectionType)(i)||m(e,i),(0,s.isObjectType)(i)||(0,s.isInterfaceType)(i)?(y(e,i),g(e,i)):(0,s.isUnionType)(i)?_(e,i):(0,s.isEnumType)(i)?E(e,i):(0,s.isInputObjectType)(i)&&(S(e,i),t(i))):e.reportError(`Expected GraphQL named type but got: ${(0,r.inspect)(i)}.`,i.astNode)}(t);const n=t.getErrors();return e.__validationErrors=n,n}function p(e){const t=f(e);
9if(0!==t.length)throw new Error(t.map((e=>e.message)).join("\n\n"))}class d{constructor(e){this._errors=[],this.schema=e}reportError(e,t){const n=Array.isArray(t)?t.filter(Boolean):t;this._errors.push(new i.GraphQLError(e,{nodes:n}))}getErrors(){return this._errors}}function h(e,t){var n;return null===(n=[e.astNode,...e.extensionASTNodes].flatMap((e=>{var t;return null!==(t=null==e?void 0:e.operationTypes)&&void 0!==t?t:[]})).find((e=>e.operation===t)))||void 0===n?void 0:n.type}function m(e,t){t.name.startsWith("__")&&e.reportError(`Name "${t.name}" must not begin with "__", which is reserved by GraphQL introspection.`,t.astNode)}function y(e,t){const n=Object.values(t.getFields());0===n.length&&e.reportError(`Type ${t.name} must define one or more fields.`,[t.astNode,...t.extensionASTNodes]);for(const u of n){var i;if(m(e,u),!(0,s.isOutputType)(u.type))e.reportError(`The type of ${t.name}.${u.name} must be Output Type but got: ${(0,r.inspect)(u.type)}.`,null===(i=u.astNode)||void 0===i?void 0:i.type);for(const n of u.args){const i=n.name;var o,a;if(m(e,n),!(0,s.isInputType)(n.type))e.reportError(`The type of ${t.name}.${u.name}(${i}:) must be Input Type but got: ${(0,r.inspect)(n.type)}.`,null===(o=n.astNode)||void 0===o?void 0:o.type);if((0,s.isRequiredArgument)(n)&&null!=n.deprecationReason)e.reportError(`Required argument ${t.name}.${u.name}(${i}:) cannot be deprecated.`,[O(n.astNode),null===(a=n.astNode)||void 0===a?void 0:a.type])}}}function g(e,t){const n=Object.create(null);for(const i of t.getInterfaces())(0,s.isInterfaceType)(i)?t!==i?n[i.name]?e.reportError(`Type ${t.name} can only implement ${i.name} once.`,w(t,i)):(n[i.name]=!0,b(e,t,i),v(e,t,i)):e.reportError(`Type ${t.name} cannot implement itself because it would create a circular reference.`,w(t,i)):e.reportError(`Type ${(0,r.inspect)(t)} must only implement Interface types, it cannot implement ${(0,r.inspect)(i)}.`,w(t,i))}function v(e,t,n){const i=t.getFields();for(const f of Object.values(n.getFields())){const p=f.name,d=i[p];if(d){var o,u;if(!(0,a.isTypeSubTypeOf)(e.schema,d.type,f.type))e.reportError(`Interface field ${n.name}.${p} expects type ${(0,r.inspect)(f.type)} but ${t.name}.${p} is type ${(0,r.inspect)(d.type)}.`,[null===(o=f.astNode)||void 0===o?void 0:o.type,null===(u=d.astNode)||void 0===u?void 0:u.type]);for(const i of f.args){const o=i.name,s=d.args.find((e=>e.name===o));var c,l;if(s){if(!(0,a.isEqualType)(i.type,s.type))e.reportError(`Interface field argument ${n.name}.${p}(${o}:) expects type ${(0,r.inspect)(i.type)} but ${t.name}.${p}(${o}:) is type ${(0,r.inspect)(s.type)}.`,[null===(c=i.astNode)||void 0===c?void 0:c.type,null===(l=s.astNode)||void 0===l?void 0:l.type])}else e.reportError(`Interface field argument ${n.name}.${p}(${o}:) expected but ${t.name}.${p} does not provide it.`,[i.astNode,d.astNode])}for(const r of d.args){const i=r.name;!f.args.find((e=>e.name===i))&&(0,s.isRequiredArgument)(r)&&e.reportError(`Object field ${t.name}.${p} includes required argument ${i} that is missing from the Interface field ${n.name}.${p}.`,[r.astNode,f.astNode])}}else e.reportError(`Interface field ${n.name}.${p} expected but ${t.name} does not provide it.`,[f.astNode,t.astNode,...t.extensionASTNodes])}}function b(e,t,n){const r=t.getInterfaces();for(const i of n.getInterfaces())r.includes(i)||e.reportError(i===t?`Type ${t.name} cannot implement ${n.name} because it would create a circular reference.`:`Type ${t.name} must implement ${i.name} because it is implemented by ${n.name}.`,[...w(n,i),...w(t,n)])}function _(e,t){const n=t.getTypes();0===n.length&&e.reportError(`Union type ${t.name} must define one or more member types.`,[t.astNode,...t.extensionASTNodes]);const i=Object.create(null);for(const o of n)i[o.name]?e.reportError(`Union type ${t.name} can only include type ${o.name} once.`,T(t,o.name)):(i[o.name]=!0,(0,s.isObjectType)(o)||e.reportError(`Union type ${t.name} can only include Object types, it cannot include ${(0,r.inspect)(o)}.`,T(t,String(o))))}function E(e,t){const n=t.getValues();0===n.length&&e.reportError(`Enum type ${t.name} must define one or more values.`,[t.astNode,...t.extensionASTNodes]);for(const t of n)m(e,t)}function S(e,t){const n=Object.values(t.getFields());0===n.length&&e.reportError(`Input Object type ${t.name} must define one or more fields.`,[t.astNode,...t.extensionASTNodes]);for(const a of n){var i,o;if(m(e,a),!(0,s.isInputType)(a.type))e.reportError(`The type of ${t.name}.${a.name} must be Input Type but got: ${(0,r.inspect)(a.type)}.`,null===(i=a.astNode)||void 0===i?void 0:i.type);if((0,s.isRequiredInputField)(a)&&null!=a.deprecationReason)e.reportError(`Required input field ${t.name}.${a.name} cannot be deprecated.`,[O(a.astNode),null===(o=a.astNode)||void 0===o?void 0:o.type])}}function w(e,t){const{astNode:n,extensionASTNodes:r}=e;return(null!=n?[n,...r]:r).flatMap((e=>{var t;return null!==(t=e.interfaces)&&void 0!==t?t:[]})).filter((e=>e.name.value===t.name))}function T(e,t){const{astNode:n,extensionASTNodes:r}=e;return(null!=n?[n,...r]:r).flatMap((e=>{var t;return null!==(t=e.types)&&void 0!==t?t:[]})).filter((e=>e.name.value===t))}function O(e){var t;return null==e||null===(t=e.directives)||void 0===t?void 0:t.find((e=>e.name.value===u.GraphQLDeprecatedDirective.name))}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{GraphQLSchema:()=>h,assertSchema:()=>d,isSchema:()=>p});var r=n(385),i=n(386),o=n(459),a=n(465),s=n(477),u=n(383),c=n(480),l=n(478),f=n(490);function p(e){return(0,o.instanceOf)(e,h)}function d(e){if(!p(e))throw new Error(`Expected ${(0,i.inspect)(e)} to be a GraphQL schema.`);return e}class h{constructor(e){var t,n;this.__validationErrors=!0===e.assumeValid?[]:void 0,(0,a.isObjectLike)(e)||(0,r.devAssert)(!1,"Must provide configuration object."),!e.types||Array.isArray(e.types)||(0,r.devAssert)(!1,`"types" must be Array if provided but got: ${(0,i.inspect)(e.types)}
9.`),!e.directives||Array.isArray(e.directives)||(0,r.devAssert)(!1,`"directives" must be Array if provided but got: ${(0,i.inspect)(e.directives)}.`),this.description=e.description,this.extensions=(0,s.toObjMap)(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=null!==(t=e.extensionASTNodes)&&void 0!==t?t:[],this._queryType=e.query,this._mutationType=e.mutation,this._subscriptionType=e.subscription,this._directives=null!==(n=e.directives)&&void 0!==n?n:l.specifiedDirectives;const o=new Set(e.types);if(null!=e.types)for(const t of e.types)o.delete(t),m(t,o);null!=this._queryType&&m(this._queryType,o),null!=this._mutationType&&m(this._mutationType,o),null!=this._subscriptionType&&m(this._subscriptionType,o);for(const e of this._directives)if((0,l.isDirective)(e))for(const t of e.args)m(t.type,o);m(f.__Schema,o),this._typeMap=Object.create(null),this._subTypeMap=Object.create(null),this._implementationsMap=Object.create(null);for(const e of o){if(null==e)continue;const t=e.name;if(t||(0,r.devAssert)(!1,"One of the provided types for building the Schema is missing a name."),void 0!==this._typeMap[t])throw new Error(`Schema must contain uniquely named types but contains multiple types named "${t}".`);if(this._typeMap[t]=e,(0,c.isInterfaceType)(e)){for(const t of e.getInterfaces())if((0,c.isInterfaceType)(t)){let n=this._implementationsMap[t.name];void 0===n&&(n=this._implementationsMap[t.name]={objects:[],interfaces:[]}),n.interfaces.push(e)}}else if((0,c.isObjectType)(e))for(const t of e.getInterfaces())if((0,c.isInterfaceType)(t)){let n=this._implementationsMap[t.name];void 0===n&&(n=this._implementationsMap[t.name]={objects:[],interfaces:[]}),n.objects.push(e)}}}get[Symbol.toStringTag](){return"GraphQLSchema"}getQueryType(){return this._queryType}getMutationType(){return this._mutationType}getSubscriptionType(){return this._subscriptionType}getRootType(e){switch(e){case u.OperationTypeNode.QUERY:return this.getQueryType();case u.OperationTypeNode.MUTATION:return this.getMutationType();case u.OperationTypeNode.SUBSCRIPTION:return this.getSubscriptionType()}}getTypeMap(){return this._typeMap}getType(e){return this.getTypeMap()[e]}getPossibleTypes(e){return(0,c.isUnionType)(e)?e.getTypes():this.getImplementations(e).objects}getImplementations(e){const t=this._implementationsMap[e.name];return null!=t?t:{objects:[],interfaces:[]}}isSubType(e,t){let n=this._subTypeMap[e.name];if(void 0===n){if(n=Object.create(null),(0,c.isUnionType)(e))for(const t of e.getTypes())n[t.name]=!0;else{const t=this.getImplementations(e);for(const e of t.objects)n[e.name]=!0;for(const e of t.interfaces)n[e.name]=!0}this._subTypeMap[e.name]=n}return void 0!==n[t.name]}getDirectives(){return this._directives}getDirective(e){return this.getDirectives().find((t=>t.name===e))}toConfig(){return{description:this.description,query:this.getQueryType(),mutation:this.getMutationType(),subscription:this.getSubscriptionType(),types:Object.values(this.getTypeMap()),directives:this.getDirectives(),extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes,assumeValid:void 0!==this.__validationErrors}}}function m(e,t){const n=(0,c.getNamedType)(e);if(!t.has(n))if(t.add(n),(0,c.isUnionType)(n))for(const e of n.getTypes())m(e,t);else if((0,c.isObjectType)(n)||(0,c.isInterfaceType)(n)){for(const e of n.getInterfaces())m(e,t);for(const e of Object.values(n.getFields())){m(e.type,t);for(const n of e.args)m(n.type,t)}}else if((0,c.isInputObjectType)(n))for(const e of Object.values(n.getFields()))m(e.type,t);return t}},(e,t,n)=>{"use strict";function r(e){if(null==e)return Object.create(null);if(null===Object.getPrototypeOf(e))return e;const t=Object.create(null);for(const[n,r]of Object.entries(e))t[n]=r;return t}n.r(t),n.d(t,{toObjMap:()=>r})},(e,t,n)=>{"use strict";n.r(t),n.d(t,{DEFAULT_DEPRECATION_REASON:()=>g,GraphQLDeprecatedDirective:()=>v,GraphQLDirective:()=>h,GraphQLIncludeDirective:()=>m,GraphQLSkipDirective:()=>y,GraphQLSpecifiedByDirective:()=>b,assertDirective:()=>d,isDirective:()=>p,isSpecifiedDirective:()=>E,specifiedDirectives:()=>_});var r=n(385),i=n(386),o=n(459),a=n(465),s=n(477),u=n(467),c=n(479),l=n(480),f=n(489);function p(e){return(0,o.instanceOf)(e,h)}function d(e){if(!p(e))throw new Error(`Expected ${(0,i.inspect)(e)} to be a GraphQL directive.`);return e}class h{constructor(e){var t,n;this.name=(0,c.assertName)(e.name),this.description=e.description,this.locations=e.locations,this.isRepeatable=null!==(t=e.isRepeatable)&&void 0!==t&&t,this.extensions=(0,s.toObjMap)(e.extensions),this.astNode=e.astNode,Array.isArray(e.locations)||(0,r.devAssert)(!1,`@${e.name} locations must be an Array.`);const i=null!==(n=e.args)&&void 0!==n?n:{};(0,a.isObjectLike)(i)&&!Array.isArray(i)||(0,r.devAssert)(!1,`@${e.name} args must be an object with argument names as keys.`),this.args=(0,l.defineArguments)(i)}get[Symbol.toStringTag](){return"GraphQLDirective"}toConfig(){return{name:this.name,description:this.description,locations:this.locations,args:(0,l.argsToArgsConfig)(this.args),isRepeatable:this.isRepeatable,extensions:this.extensions,astNode:this.astNode}}toString(){return"@"+this.name}toJSON(){return this.toString()}}const m=new h({name:"include",description:"Directs the executor to include this field or fragment only when the `if` argument is true.",locations:[u.DirectiveLocation.FIELD,u.DirectiveLocation.FRAGMENT_SPREAD,u.DirectiveLocation.INLINE_FRAGMENT],args:{if:{type:new l.GraphQLNonNull(f.GraphQLBoolean),description:"Included when true."}}}),y=new h({name:"skip",description:"Directs the executor to skip this field or fragment when the `if` argument is true.",locations:[u.DirectiveLocation.FIELD,u.DirectiveLocation.FRAGMENT_SPREAD,u.DirectiveLocation.INLINE_FRAGMENT],args:{if:{type:new l.GraphQLNonNull(f.GraphQLBoolean),description:"Skipped when true."}}}),g="No longer supported",v=new h({name:"deprecated",description:"Marks an element of a GraphQL schema as no longer supported.",locations:[u.DirectiveLocation.FIELD_DEFINITION,u.DirectiveLocation.ARGUMENT_DEFINITION,u.DirectiveLocation.INPUT_FIELD_DEFINITION,u.DirectiveLocation.ENUM_VALUE],args:{reason:{type:f.GraphQLString,description:"Explains why this element was deprecated, usually also including a suggestion for how to access supported similar data. Formatted using the Markdown syntax, as specified by [CommonMark](https://commonmark.org/).",defaultValue:g}}}),b=new h({name:"specifiedBy",description:"Exposes a URL that specifies the behavior of this scalar.",locations:[u.DirectiveLocation.SCALAR],args:{url:{type:new l.GraphQLNonNull(f.GraphQLString),description:"The URL that specifies the behavior of this scalar."}}}),_=Object.freeze([m,y,v,b]);function E(e){return _.some((({name:t})=>t===e.name))}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{assertEnumValueName:()=>s,assertName:()=>a});var r=n(385),i=n(462),o=n(388);function a(e){if(null!=e||(0,r.devAssert)(!1,"Must provide name."),"string"==typeof e||(0,r.devAssert)(!1,"Expected name to be a string."),0===e.length)throw new i.GraphQLError("Expected name to be a non-empty string.");for(let t=1;t<e.length;++t)if(!(0,o.isNameContinue)(e.charCodeAt(t)))throw new i.GraphQLError(`Names must only contain [_a-zA-Z0-9] but "${e}" does not.`);if(!(0,o.isNameStart)(e.charCodeAt(0)))throw new i.GraphQLError(`Names must start with [_a-zA-Z] but "${e}" does not.`);return e}function s(e){if("true"===e||"false"===e||"null"===e)throw new i.GraphQLError(`Enum values cannot be named: ${e}`);return a(e)}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{GraphQLEnumType:()=>ge,GraphQLInputObjectType:()=>be,GraphQLInterfaceType:()=>he,GraphQLList:()=>K,GraphQLNonNull:()=>Y,GraphQLObjectType:()=>ae,GraphQLScalarType:()=>oe,GraphQLUnionType:()=>me,argsToArgsConfig:()=>pe,assertAbstractType:()=>$,assertCompositeType:()=>H,assertEnumType:()=>A,assertInputObjectType:()=>D,assertInputType:()=>F,assertInterfaceType:()=>x,assertLeafType:()=>G,assertListType:()=>P,assertNamedType:()=>te,assertNonNullType:()=>M,assertNullableType:()=>J,assertObjectType:()=>T,assertOutputType:()=>B,assertScalarType:()=>S,assertType:()=>_,assertUnionType:()=>R,assertWrappingType:()=>Q,defineArguments:()=>ce,getNamedType:()=>ne,getNullableType:()=>Z,isAbstractType:()=>z,isCompositeType:()=>V,isEnumType:()=>N,isInputObjectType:()=>I,isInputType:()=>j,isInterfaceType:()=>O,isLeafType:()=>q,isListType:()=>C,isNamedType:()=>ee,isNonNullType:()=>L,isNullableType:()=>X,isObjectType:()=>w,isOutputType:()=>U,isRequiredArgument:()=>de,isRequiredInputField:()=>Ee,isScalarType:()=>E,isType:()=>b,isUnionType:()=>k,isWrappingType:()=>W,resolveObjMapThunk:()=>ie,resolveReadonlyArrayThunk:()=>re});var r=n(385),i=n(488),o=n(481),a=n(386),s=n(459),u=n(465),c=n(485),l=n(483),f=n(484),p=n(486),d=n(477),h=n(462),m=n(384),y=n(381),g=n(482),v=n(479);function b(e){return E(e)||w(e)||O(e)||k(e)||N(e)||I(e)||C(e)||L(e)}function _(e){if(!b(e))throw new Error(`Expected ${(0,a.inspect)(e)} to be a GraphQL type.`);return e}function E(e){return(0,s.instanceOf)(e,oe)}function S(e){if(!E(e))throw new Error(`Expected ${(0,a.inspect)(e)} to be a GraphQL Scalar type.`);return e}function w(e){return(0,s.instanceOf)(e,ae)}function T(e){if(!w(e))throw new Error(`Expected ${(0,a.inspect)(e)} to be a GraphQL Object type.`);return e}function O(e){return(0,s.instanceOf)(e,he)}function x(e){if(!O(e))throw new Error(`Expected ${(0,a.inspect)(e)} to be a GraphQL Interface type.`);return e}function k(e){return(0,s.instanceOf)(e,me)}function R(e){if(!k(e))throw new Error(`Expected ${(0,a.inspect)(e)} to be a GraphQL Union type.`);return e}function N(e){return(0,s.instanceOf)(e,ge)}function A(e){if(!N(e))throw new Error(`Expected ${(0,a.inspect)(e)} to be a GraphQL Enum type.`);return e}function I(e){return(0,s.instanceOf)(e,be)}function D(e){if(!I(e))throw new Error(`Expected ${(0,a.inspect)(e)} to be a GraphQL Input Object type.`);return e}function C(e){return(0,s.instanceOf)(e,K)}function P(e){if(!C(e))throw new Error(`Expected ${(0,a.inspect)(e)} to be a GraphQL List type.`);return e}function L(e){return(0,s.instanceOf)(e,Y)}function M(e){if(!L(e))throw new Error(`Expected ${(0,a.inspect)(e)} to be a GraphQL Non-Null type.`);return e}function j(e){return E(e)||N(e)||I(e)||W(e)&&j(e.ofType)}function F(e){if(!j(e))throw new Error(`Expected ${(0,a.inspect)(e)} to be a GraphQL input type.`);return e}function U(e){return E(e)||w(e)||O(e)||k(e)||N(e)||W(e)&&U(e.ofType)}function B(e){if(!U(e))throw new Error(`Expected ${(0,a.inspect)(e)} to be a GraphQL output type.`);return e}function q(e){return E(e)||N(e)}function G(e){if(!q(e))throw new Error(`Expected ${(0,a.inspect)(e)} to be a GraphQL leaf type.`);return e}function V(e){return w(e)||O(e)||k(e)}function H(e){if(!V(e))throw new Error(`Expected ${(0,a.inspect)(e)} to be a GraphQL composite type.`);return e}function z(e){return O(e)||k(e)}function $(e){if(!z(e))throw new Error(`Expected ${(0,a.inspect)(e)} to be a GraphQL abstract type.`);return e}class K{constructor(e){b(e)||(0,r.devAssert)(!1,`Expected ${(0,a.inspect)(e)} to be a GraphQL type.`),this.ofType=e}get[Symbol.toStringTag](){return"GraphQLList"}toString(){return"["+String(this.ofType)+"]"}toJSON(){return this.toString()}}class Y{constructor(e){X(e)||(0,r.devAssert)(!1,`Expected ${(0,a.inspect)(e)} to be a GraphQL nullable type.`),this.ofType=e}get[Symbol.toStringTag](){return"GraphQLNonNull"}toString(){return String(this.ofType)+"!"}toJSON(){return this.toString()}}function W(e){return C(e)||L(e)}function Q(e){if(!W(e))throw new Error(`Expected ${(0,a.inspect)(e)} to be a GraphQL wrapping type.`);return e}function X(e){return b(e)&&!L(e)}function J(e){if(!X(e))throw new Error(`Expected ${(0,a.inspect)(e)} to be a GraphQL nullable type.`);return e}function Z(e){if(e)return L(e)?e.ofType:e}function ee(e){return E(e)||w(e)||O(e)||k(e)||N(e)||I(e)}function te(e){if(!ee(e))throw new Error(`Expected ${(0,a.inspect)(e)} to be a GraphQL named type.`);return e}function ne(e){if(e){let t=e;for(;W(t);)t=t.ofType;return t}}function re(e){return"function"==typeof e?e():e}function ie(e){return"function"==typeof e?e():e}class oe{constructor(e){var t,n,i,s;const u=null!==(t=e.parseValue)&&void 0!==t?t:o.identityFunc;this.name=(0,v.assertName)(e.name),this.description=e.description,this.specifiedByURL=e.specifiedByURL,this.serialize=null!==(n=e.serialize)&&void 0!==n?n:o.identityFunc,this.parseValue=u,this.parseLiteral=null!==(i=e.parseLiteral)&&void 0!==i?i:(e,t)=>u((0,g.valueFromASTUntyped)(e,t)),this.extensions=(0,d.toObjMap)(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=null!==(s=e.extensionASTNodes)&&void 0!==s?s:[],null==e.specifiedByURL||"string"==typeof e.specifiedByURL||(0,r.devAssert)(!1,`${this.name} must provide "specifiedByURL" as a string, but got: ${(0,a.inspect)(e.specifiedByURL)}.`),null==e.serialize||"function"==typeof e.serialize||(0,r.devAssert)(!1,`${this.name} must provide "serialize" function. If this custom Scalar is also used as an input type, ensure "parseValue" and "parseLiteral" functions are also provided.`),e.parseLiteral&&("function"==typeof e.parseValue&&"function"==typeof e.parseLiteral||(0,r.devAssert)(!1,`${this.name} must provide both "parseValue" and "parseLiteral" functions.`))}get[Symbol.toStringTag](){return"GraphQLScalarType"}toConfig(){return{name:this.name,description:this.description,specifiedByURL:this.specifiedByURL,serialize:this.serialize,parseValue:this.parseValue,parseLiteral:this.parseLiteral,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}class ae{constructor(e){var t;this.name=(0,v.assertName)(e.name),this.description=e.description,this.isTypeOf=e.isTypeOf,this.extensions=(0,d.toObjMap)(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=null!==(t=e.extensionASTNodes)&&void 0!==t?t:[],this._fields=()=>ue(e),this._interfaces=()=>se(e),null==e.isTypeOf||"function"==typeof e.isTypeOf||(0,r.devAssert)(!1,`${this.name} must provide "isTypeOf" as a function, but got: ${(0,a.inspect)(e.isTypeOf)}.`)}get[Symbol.toStringTag](){return"GraphQLObjectType"}getFields(){return"function"==typeof this._fields&&(this._fields=this._fields()),this._fields}
9getInterfaces(){return"function"==typeof this._interfaces&&(this._interfaces=this._interfaces()),this._interfaces}toConfig(){return{name:this.name,description:this.description,interfaces:this.getInterfaces(),fields:fe(this.getFields()),isTypeOf:this.isTypeOf,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}function se(e){var t;const n=re(null!==(t=e.interfaces)&&void 0!==t?t:[]);return Array.isArray(n)||(0,r.devAssert)(!1,`${e.name} interfaces must be an Array or a function which returns an Array.`),n}function ue(e){const t=ie(e.fields);return le(t)||(0,r.devAssert)(!1,`${e.name} fields must be an object with field names as keys or a function which returns such an object.`),(0,f.mapValue)(t,((t,n)=>{var i;le(t)||(0,r.devAssert)(!1,`${e.name}.${n} field config must be an object.`),null==t.resolve||"function"==typeof t.resolve||(0,r.devAssert)(!1,`${e.name}.${n} field resolver must be a function if provided, but got: ${(0,a.inspect)(t.resolve)}.`);const o=null!==(i=t.args)&&void 0!==i?i:{};return le(o)||(0,r.devAssert)(!1,`${e.name}.${n} args must be an object with argument names as keys.`),{name:(0,v.assertName)(n),description:t.description,type:t.type,args:ce(o),resolve:t.resolve,subscribe:t.subscribe,deprecationReason:t.deprecationReason,extensions:(0,d.toObjMap)(t.extensions),astNode:t.astNode}}))}function ce(e){return Object.entries(e).map((([e,t])=>({name:(0,v.assertName)(e),description:t.description,type:t.type,defaultValue:t.defaultValue,deprecationReason:t.deprecationReason,extensions:(0,d.toObjMap)(t.extensions),astNode:t.astNode})))}function le(e){return(0,u.isObjectLike)(e)&&!Array.isArray(e)}function fe(e){return(0,f.mapValue)(e,(e=>({description:e.description,type:e.type,args:pe(e.args),resolve:e.resolve,subscribe:e.subscribe,deprecationReason:e.deprecationReason,extensions:e.extensions,astNode:e.astNode})))}function pe(e){return(0,l.keyValMap)(e,(e=>e.name),(e=>({description:e.description,type:e.type,defaultValue:e.defaultValue,deprecationReason:e.deprecationReason,extensions:e.extensions,astNode:e.astNode})))}function de(e){return L(e.type)&&void 0===e.defaultValue}class he{constructor(e){var t;this.name=(0,v.assertName)(e.name),this.description=e.description,this.resolveType=e.resolveType,this.extensions=(0,d.toObjMap)(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=null!==(t=e.extensionASTNodes)&&void 0!==t?t:[],this._fields=ue.bind(void 0,e),this._interfaces=se.bind(void 0,e),null==e.resolveType||"function"==typeof e.resolveType||(0,r.devAssert)(!1,`${this.name} must provide "resolveType" as a function, but got: ${(0,a.inspect)(e.resolveType)}.`)}get[Symbol.toStringTag](){return"GraphQLInterfaceType"}getFields(){return"function"==typeof this._fields&&(this._fields=this._fields()),this._fields}getInterfaces(){return"function"==typeof this._interfaces&&(this._interfaces=this._interfaces()),this._interfaces}toConfig(){return{name:this.name,description:this.description,interfaces:this.getInterfaces(),fields:fe(this.getFields()),resolveType:this.resolveType,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}class me{constructor(e){var t;this.name=(0,v.assertName)(e.name),this.description=e.description,this.resolveType=e.resolveType,this.extensions=(0,d.toObjMap)(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=null!==(t=e.extensionASTNodes)&&void 0!==t?t:[],this._types=ye.bind(void 0,e),null==e.resolveType||"function"==typeof e.resolveType||(0,r.devAssert)(!1,`${this.name} must provide "resolveType" as a function, but got: ${(0,a.inspect)(e.resolveType)}.`)}get[Symbol.toStringTag](){return"GraphQLUnionType"}getTypes(){return"function"==typeof this._types&&(this._types=this._types()),this._types}toConfig(){return{name:this.name,description:this.description,types:this.getTypes(),resolveType:this.resolveType,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}function ye(e){const t=re(e.types);return Array.isArray(t)||(0,r.devAssert)(!1,`Must provide Array of types or a function which returns such an array for Union ${e.name}.`),t}class ge{constructor(e){var t,n,i;this.name=(0,v.assertName)(e.name),this.description=e.description,this.extensions=(0,d.toObjMap)(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=null!==(t=e.extensionASTNodes)&&void 0!==t?t:[],this._values=(n=this.name,le(i=e.values)||(0,r.devAssert)(!1,`${n} values must be an object with value names as keys.`),Object.entries(i).map((([e,t])=>(le(t)||(0,r.devAssert)(!1,`${n}.${e} must refer to an object with a "value" key representing an internal value but got: ${(0,a.inspect)(t)}.`),{name:(0,v.assertEnumValueName)(e),description:t.description,value:void 0!==t.value?t.value:e,deprecationReason:t.deprecationReason,extensions:(0,d.toObjMap)(t.extensions),astNode:t.astNode})))),this._valueLookup=new Map(this._values.map((e=>[e.value,e]))),this._nameLookup=(0,c.keyMap)(this._values,(e=>
9e.name))}get[Symbol.toStringTag](){return"GraphQLEnumType"}getValues(){return this._values}getValue(e){return this._nameLookup[e]}serialize(e){const t=this._valueLookup.get(e);if(void 0===t)throw new h.GraphQLError(`Enum "${this.name}" cannot represent value: ${(0,a.inspect)(e)}`);return t.name}parseValue(e){if("string"!=typeof e){const t=(0,a.inspect)(e);throw new h.GraphQLError(`Enum "${this.name}" cannot represent non-string value: ${t}.`+ve(this,t))}const t=this.getValue(e);if(null==t)throw new h.GraphQLError(`Value "${e}" does not exist in "${this.name}" enum.`+ve(this,e));return t.value}parseLiteral(e,t){if(e.kind!==m.Kind.ENUM){const t=(0,y.print)(e);throw new h.GraphQLError(`Enum "${this.name}" cannot represent non-enum value: ${t}.`+ve(this,t),{nodes:e})}const n=this.getValue(e.value);if(null==n){const t=(0,y.print)(e);throw new h.GraphQLError(`Value "${t}" does not exist in "${this.name}" enum.`+ve(this,t),{nodes:e})}return n.value}toConfig(){const e=(0,l.keyValMap)(this.getValues(),(e=>e.name),(e=>({description:e.description,value:e.value,deprecationReason:e.deprecationReason,extensions:e.extensions,astNode:e.astNode})));return{name:this.name,description:this.description,values:e,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}function ve(e,t){const n=e.getValues().map((e=>e.name)),r=(0,p.suggestionList)(t,n);return(0,i.didYouMean)("the enum value",r)}class be{constructor(e){var t;this.name=(0,v.assertName)(e.name),this.description=e.description,this.extensions=(0,d.toObjMap)(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=null!==(t=e.extensionASTNodes)&&void 0!==t?t:[],this._fields=_e.bind(void 0,e)}get[Symbol.toStringTag](){return"GraphQLInputObjectType"}getFields(){return"function"==typeof this._fields&&(this._fields=this._fields()),this._fields}toConfig(){const e=(0,f.mapValue)(this.getFields(),(e=>({description:e.description,type:e.type,defaultValue:e.defaultValue,deprecationReason:e.deprecationReason,extensions:e.extensions,astNode:e.astNode})));return{name:this.name,description:this.description,fields:e,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}function _e(e){const t=ie(e.fields);return le(t)||(0,r.devAssert)(!1,`${e.name} fields must be an object with field names as keys or a function which returns such an object.`),(0,f.mapValue)(t,((t,n)=>(!("resolve"in t)||(0,r.devAssert)(!1,`${e.name}.${n} field has a resolve property, but Input Types cannot define resolvers.`),{name:(0,v.assertName)(n),description:t.description,type:t.type,defaultValue:t.defaultValue,deprecationReason:t.deprecationReason,extensions:(0,d.toObjMap)(t.extensions),astNode:t.astNode})))}function Ee(e){return L(e.type)&&void 0===e.defaultValue}},(e,t,n)=>{"use strict";function r(e){return e}n.r(t),n.d(t,{identityFunc:()=>r})},(e,t,n)=>{"use strict";n.r(t),n.d(t,{valueFromASTUntyped:()=>o});var r=n(483),i=n(384);function o(e,t){switch(e.kind){case i.Kind.NULL:return null;case i.Kind.INT:return parseInt(e.value,10);case i.Kind.FLOAT:return parseFloat(e.value);case i.Kind.STRING:case i.Kind.ENUM:case i.Kind.BOOLEAN:return e.value;case i.Kind.LIST:return e.values.map((e=>o(e,t)));case i.Kind.OBJECT:return(0,r.keyValMap)(e.fields,(e=>e.name.value),(e=>o(e.value,t)));case i.Kind.VARIABLE:return null==t?void 0:t[e.name.value]}}},(e,t,n)=>{"use strict";function r(e,t,n){const r=Object.create(null);for(const i of e)r[t(i)]=n(i);return r}n.r(t),n.d(t,{keyValMap:()=>r})},(e,t,n)=>{"use strict";function r(e,t){const n=Object.create(null);for(const r of Object.keys(e))n[r]=t(e[r],r);return n}n.r(t),n.d(t,{mapValue:()=>r})},(e,t,n)=>{"use strict";function r(e,t){const n=Object.create(null);for(const r of e)n[t(r)]=r;return n}n.r(t),n.d(t,{keyMap:()=>r})},(e,t,n)=>{"use strict";n.r(t),n.d(t,{suggestionList:()=>i});var r=n(487);function i(e,t){const n=Object.create(null),i=new o(e),a=Math.floor(.4*e.length)+1;for(const e of t){const t=i.measure(e,a);void 0!==t&&(n[e]=t)}return Object.keys(n).sort(((e,t)=>{const i=n[e]-n[t];return 0!==i?i:(0,r.naturalCompare)(e,t)}))}class o{constructor(e){this._input=e,this._inputLowerCase=e.toLowerCase(),this._inputArray=a(this._inputLowerCase),this._rows=[new Array(e.length+1).fill(0),new Array(e.length+1).fill(0),new Array(e.length+1).fill(0)]}measure(e,t){if(this._input===e)return 0;const n=e.toLowerCase();if(this._inputLowerCase===n)return 1;let r=a(n),i=this._inputArray;
9if(r.length<i.length){const e=r;r=i,i=e}const o=r.length,s=i.length;if(o-s>t)return;const u=this._rows;for(let e=0;e<=s;e++)u[0][e]=e;for(let e=1;e<=o;e++){const n=u[(e-1)%3],o=u[e%3];let a=o[0]=e;for(let t=1;t<=s;t++){const s=r[e-1]===i[t-1]?0:1;let c=Math.min(n[t]+1,o[t-1]+1,n[t-1]+s);if(e>1&&t>1&&r[e-1]===i[t-2]&&r[e-2]===i[t-1]){const n=u[(e-2)%3][t-2];c=Math.min(c,n+1)}c<a&&(a=c),o[t]=c}if(a>t)return}const c=u[o%3][s];return c<=t?c:void 0}}function a(e){const t=e.length,n=new Array(t);for(let r=0;r<t;++r)n[r]=e.charCodeAt(r);return n}},(e,t,n)=>{"use strict";function r(e,t){let n=0,r=0;for(;n<e.length&&r<t.length;){let o=e.charCodeAt(n),s=t.charCodeAt(r);if(a(o)&&a(s)){let u=0;do{++n,u=10*u+o-i,o=e.charCodeAt(n)}while(a(o)&&u>0);let c=0;do{++r,c=10*c+s-i,s=t.charCodeAt(r)}while(a(s)&&c>0);if(u<c)return-1;if(u>c)return 1}else{if(o<s)return-1;if(o>s)return 1;++n,++r}}return e.length-t.length}n.r(t),n.d(t,{naturalCompare:()=>r});const i=48,o=57;function a(e){return!isNaN(e)&&i<=e&&e<=o}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{didYouMean:()=>i});const r=5;function i(e,t){const[n,i]=t?[e,t]:[void 0,e];let o=" Did you mean ";n&&(o+=n+" ");const a=i.map((e=>`"${e}"`));switch(a.length){case 0:return"";case 1:return o+a[0]+"?";case 2:return o+a[0]+" or "+a[1]+"?"}const s=a.slice(0,r),u=s.pop();return o+s.join(", ")+", or "+u+"?"}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{GRAPHQL_MAX_INT:()=>c,GRAPHQL_MIN_INT:()=>l,GraphQLBoolean:()=>h,GraphQLFloat:()=>p,GraphQLID:()=>m,GraphQLInt:()=>f,GraphQLString:()=>d,isSpecifiedScalarType:()=>g,specifiedScalarTypes:()=>y});var r=n(386),i=n(465),o=n(462),a=n(384),s=n(381),u=n(480);const c=2147483647,l=-2147483648,f=new u.GraphQLScalarType({name:"Int",description:"The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.",serialize(e){const t=v(e);if("boolean"==typeof t)return t?1:0;let n=t;if("string"==typeof t&&""!==t&&(n=Number(t)),"number"!=typeof n||!Number.isInteger(n))throw new o.GraphQLError(`Int cannot represent non-integer value: ${(0,r.inspect)(t)}`);if(n>c||n<l)throw new o.GraphQLError("Int cannot represent non 32-bit signed integer value: "+(0,r.inspect)(t));return n},parseValue(e){if("number"!=typeof e||!Number.isInteger(e))throw new o.GraphQLError(`Int cannot represent non-integer value: ${(0,r.inspect)(e)}`);if(e>c||e<l)throw new o.GraphQLError(`Int cannot represent non 32-bit signed integer value: ${e}`);return e},parseLiteral(e){if(e.kind!==a.Kind.INT)throw new o.GraphQLError(`Int cannot represent non-integer value: ${(0,s.print)(e)}`,{nodes:e});const t=parseInt(e.value,10);if(t>c||t<l)throw new o.GraphQLError(`Int cannot represent non 32-bit signed integer value: ${e.value}`,{nodes:e});return t}}),p=new u.GraphQLScalarType({name:"Float",description:"The `Float` scalar type represents signed double-precision fractional values as specified by [IEEE 754](https://en.wikipedia.org/wiki/IEEE_floating_point).",serialize(e){const t=v(e);if("boolean"==typeof t)return t?1:0;let n=t;if("string"==typeof t&&""!==t&&(n=Number(t)),"number"!=typeof n||!Number.isFinite(n))throw new o.GraphQLError(`Float cannot represent non numeric value: ${(0,r.inspect)(t)}`);return n},parseValue(e){if("number"!=typeof e||!Number.isFinite(e))throw new o.GraphQLError(`Float cannot represent non numeric value: ${(0,r.inspect)(e)}`);return e},parseLiteral(e){if(e.kind!==a.Kind.FLOAT&&e.kind!==a.Kind.INT)throw new o.GraphQLError(`Float cannot represent non numeric value: ${(0,s.print)(e)}`,e);return parseFloat(e.value)}}),d=new u.GraphQLScalarType({name:"String",description:"The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.",serialize(e){const t=v(e);if("string"==typeof t)return t;if("boolean"==typeof t)return t?"true":"false";if("number"==typeof t&&Number.isFinite(t))return t.toString();throw new o.GraphQLError(`String cannot represent value: ${(0,r.inspect)(e)}`)},parseValue(e){if("string"!=typeof e)throw new o.GraphQLError(`String cannot represent a non string value: ${(0,r.inspect)(e)}`);return e},parseLiteral(e){if(e.kind!==a.Kind.STRING)throw new o.GraphQLError(`String cannot represent a non string value: ${(0,s.print)(e)}`,{nodes:e});return e.value}}),h=new u.GraphQLScalarType({name:"Boolean",description:"The `Boolean` scalar type represents `true` or `false`.",serialize(e){const t=v(e);if("boolean"==typeof t)return t;if(Number.isFinite(t))return 0!==t;throw new o.GraphQLError(`Boolean cannot represent a non boolean value: ${(0,r.inspect)(t)}`)},parseValue(e){if("boolean"!=typeof e)throw new o.GraphQLError(`Boolean cannot represent a non boolean value: ${(0,r.inspect)(e)}`);return e},parseLiteral(e){if(e.kind!==a.Kind.BOOLEAN)throw new o.GraphQLError(`Boolean cannot represent a non boolean value: ${(0,s.print)(e)}`,{nodes:e});return e.value}}),m=new u.GraphQLScalarType({name:"ID",description:'The `ID` scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as `"4"`) or integer (such as `4`) input value will be accepted as an ID.',serialize(e){const t=v(e);if("string"==typeof t)return t;if(Number.isInteger(t))return String(t);throw new o.GraphQLError(`ID cannot represent value: ${(0,r.inspect)(e)}`)},parseValue(e){if("string"==typeof e)return e;if("number"==typeof e&&Number.isInteger(e))return e.toString();throw new o.GraphQLError(`ID cannot represent value: ${(0,r.inspect)(e)}`)},parseLiteral(e){if(e.kind!==a.Kind.STRING&&e.kind!==a.Kind.INT)throw new o.GraphQLError("ID cannot represent a non-string and non-integer value: "+(0,s.print)(e),{nodes:e});return e.value}}),y=Object.freeze([d,f,p,h,m]);function g(e){return y.some((({name:t})=>e.name===t))}function v(e){if((0,i.isObjectLike)(e)){if("function"==typeof e.valueOf){const t=e.valueOf();if(!(0,i.isObjectLike)(t))return t}if("function"==typeof e.toJSON)return e.toJSON()}return e}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{SchemaMetaFieldDef:()=>b,TypeKind:()=>g,TypeMetaFieldDef:()=>_,TypeNameMetaFieldDef:()=>E,__Directive:()=>f,__DirectiveLocation:()=>p,__EnumValue:()=>y,__Field:()=>h,__InputValue:()=>m,__Schema:()=>l,__Type:()=>d,__TypeKind:()=>v,introspectionTypes:()=>S,isIntrospectionType:()=>w});var r=n(386),i=n(464),o=n(467),a=n(381),s=n(491),u=n(480),c=n(489);const l=new u.GraphQLObjectType({name:"__Schema",description:"A GraphQL Schema defines the capabilities of a GraphQL server. It exposes all available types and directives on the server, as well as the entry points for query, mutation, and subscription operations.",fields:()=>({description:{type:c.GraphQLString,resolve:e=>e.description}
9,types:{description:"A list of all types supported by this server.",type:new u.GraphQLNonNull(new u.GraphQLList(new u.GraphQLNonNull(d))),resolve:e=>Object.values(e.getTypeMap())},queryType:{description:"The type that query operations will be rooted at.",type:new u.GraphQLNonNull(d),resolve:e=>e.getQueryType()},mutationType:{description:"If this server supports mutation, the type that mutation operations will be rooted at.",type:d,resolve:e=>e.getMutationType()},subscriptionType:{description:"If this server support subscription, the type that subscription operations will be rooted at.",type:d,resolve:e=>e.getSubscriptionType()},directives:{description:"A list of all directives supported by this server.",type:new u.GraphQLNonNull(new u.GraphQLList(new u.GraphQLNonNull(f))),resolve:e=>e.getDirectives()}})}),f=new u.GraphQLObjectType({name:"__Directive",description:"A Directive provides a way to describe alternate runtime execution and type validation behavior in a GraphQL document.\n\nIn some cases, you need to provide options to alter GraphQL's execution behavior in ways field arguments will not suffice, such as conditionally including or skipping a field. Directives provide this by describing additional information to the executor.",fields:()=>({name:{type:new u.GraphQLNonNull(c.GraphQLString),resolve:e=>e.name},description:{type:c.GraphQLString,resolve:e=>e.description},isRepeatable:{type:new u.GraphQLNonNull(c.GraphQLBoolean),resolve:e=>e.isRepeatable},locations:{type:new u.GraphQLNonNull(new u.GraphQLList(new u.GraphQLNonNull(p))),resolve:e=>e.locations},args:{type:new u.GraphQLNonNull(new u.GraphQLList(new u.GraphQLNonNull(m))),args:{includeDeprecated:{type:c.GraphQLBoolean,defaultValue:!1}},resolve:(e,{includeDeprecated:t})=>t?e.args:e.args.filter((e=>null==e.deprecationReason))}})}),p=new u.GraphQLEnumType({name:"__DirectiveLocation",description:"A Directive can be adjacent to many parts of the GraphQL language, a __DirectiveLocation describes one such possible adjacencies.",values:{QUERY:{value:o.DirectiveLocation.QUERY,description:"Location adjacent to a query operation."},MUTATION:{value:o.DirectiveLocation.MUTATION,description:"Location adjacent to a mutation operation."},SUBSCRIPTION:{value:o.DirectiveLocation.SUBSCRIPTION,description:"Location adjacent to a subscription operation."},FIELD:{value:o.DirectiveLocation.FIELD,description:"Location adjacent to a field."},FRAGMENT_DEFINITION:{value:o.DirectiveLocation.FRAGMENT_DEFINITION,description:"Location adjacent to a fragment definition."},FRAGMENT_SPREAD:{value:o.DirectiveLocation.FRAGMENT_SPREAD,description:"Location adjacent to a fragment spread."},INLINE_FRAGMENT:{value:o.DirectiveLocation.INLINE_FRAGMENT,description:"Location adjacent to an inline fragment."},VARIABLE_DEFINITION:{value:o.DirectiveLocation.VARIABLE_DEFINITION,description:"Location adjacent to a variable definition."},SCHEMA:{value:o.DirectiveLocation.SCHEMA,description:"Location adjacent to a schema definition."},SCALAR:{value:o.DirectiveLocation.SCALAR,description:"Location adjacent to a scalar definition."},OBJECT:{value:o.DirectiveLocation.OBJECT,description:"Location adjacent to an object type definition."},FIELD_DEFINITION:{value:o.DirectiveLocation.FIELD_DEFINITION,description:"Location adjacent to a field definition."},ARGUMENT_DEFINITION:{value:o.DirectiveLocation.ARGUMENT_DEFINITION,description:"Location adjacent to an argument definition."},INTERFACE:{value:o.DirectiveLocation.INTERFACE,description:"Location adjacent to an interface definition."},UNION:{value:o.DirectiveLocation.UNION,description:"Location adjacent to a union definition."},ENUM:{value:o.DirectiveLocation.ENUM,description:"Location adjacent to an enum definition."},ENUM_VALUE:{value:o.DirectiveLocation.ENUM_VALUE,description:"Location adjacent to an enum value definition."},INPUT_OBJECT:{value:o.DirectiveLocation.INPUT_OBJECT,description:"Location adjacent to an input object type definition."},INPUT_FIELD_DEFINITION:{value:o.DirectiveLocation.INPUT_FIELD_DEFINITION,description:"Location adjacent to an input object field definition."}}}),d=new u.GraphQLObjectType({name:"__Type",description:"The fundamental unit of any GraphQL Schema is the type. There are many kinds of types in GraphQL as represented by the `__TypeKind` enum.\n\nDepending on the kind of a type, certain fields describe information about that type. Scalar types provide no information beyond a name, description and optional `specifiedByURL`, while Enum types provide their values. Object and Interface types provide the fields they describe. Abstract types, Union and Interface, provide the Object types possible at runtime. List and NonNull types compose other types.",fields:()=>({kind:{type:new u.GraphQLNonNull(v),resolve:e=>(0,u.isScalarType)(e)?g.SCALAR:(0,u.isObjectType)(e)?g.OBJECT:(0,u.isInterfaceType)(e)?g.INTERFACE:(0,u.isUnionType)(e)?g.UNION:(0,u.isEnumType)(e)?g.ENUM:(0,u.isInputObjectType)(e)?g.INPUT_OBJECT:(0,u.isListType)(e)?g.LIST:(0,u.isNonNullType)(e)?g.NON_NULL:void(0,i.invariant)(!1,`Unexpected type: "${(0,r.inspect)(e)}".`)},name:{type:c.GraphQLString,resolve:e=>"name"in e?e.name:void 0},description:{type:c.GraphQLString,resolve:e=>"description"in e?e.description:void 0},specifiedByURL:{type:c.GraphQLString,resolve:e=>"specifiedByURL"in e?e.specifiedByURL:void 0},fields:{type:new u.GraphQLList(new u.GraphQLNonNull(h)),args:{includeDeprecated:{type:c.GraphQLBoolean,defaultValue:!1}},resolve(e,{includeDeprecated:t}){if((0,u.isObjectType)(e)||(0,u.isInterfaceType)(e)){const n=Object.values(e.getFields());return t?n:n.filter((e=>null==e.deprecationReason))}}},interfaces:{type:new u.GraphQLList(new u.GraphQLNonNull(d)),resolve(e){if((0,u.isObjectType)(e)||(0,u.isInterfaceType)(e))return e.getInterfaces()}},possibleTypes:{type:new u.GraphQLList(new u.GraphQLNonNull(d)),resolve(e,t,n,{schema:r}){if((0,u.isAbstractType)(e))return r.getPossibleTypes(e)}},enumValues:{type:new u.GraphQLList(new u.GraphQLNonNull(y)),args:{includeDeprecated:{type:c.GraphQLBoolean,defaultValue:!1}},resolve(e,{includeDeprecated:t}){if((0,u.isEnumType)(e)){const n=e.getValues();return t?n:n.filter((e=>null==e.deprecationReason))}}},inputFields:{type:new u.GraphQLList(new u.GraphQLNonNull(m)),args:{includeDeprecated:{type:c.GraphQLBoolean,defaultValue:!1}},resolve(e,{includeDeprecated:t}){if((0,u.isInputObjectType)(e)){const n=Object.values(e.getFields());return t?n:n.filter((e=>null==e.deprecationReason))}}},ofType:{type:d,resolve:e=>
9"ofType"in e?e.ofType:void 0}})}),h=new u.GraphQLObjectType({name:"__Field",description:"Object and Interface types are described by a list of Fields, each of which has a name, potentially a list of arguments, and a return type.",fields:()=>({name:{type:new u.GraphQLNonNull(c.GraphQLString),resolve:e=>e.name},description:{type:c.GraphQLString,resolve:e=>e.description},args:{type:new u.GraphQLNonNull(new u.GraphQLList(new u.GraphQLNonNull(m))),args:{includeDeprecated:{type:c.GraphQLBoolean,defaultValue:!1}},resolve:(e,{includeDeprecated:t})=>t?e.args:e.args.filter((e=>null==e.deprecationReason))},type:{type:new u.GraphQLNonNull(d),resolve:e=>e.type},isDeprecated:{type:new u.GraphQLNonNull(c.GraphQLBoolean),resolve:e=>null!=e.deprecationReason},deprecationReason:{type:c.GraphQLString,resolve:e=>e.deprecationReason}})}),m=new u.GraphQLObjectType({name:"__InputValue",description:"Arguments provided to Fields or Directives and the input fields of an InputObject are represented as Input Values which describe their type and optionally a default value.",fields:()=>({name:{type:new u.GraphQLNonNull(c.GraphQLString),resolve:e=>e.name},description:{type:c.GraphQLString,resolve:e=>e.description},type:{type:new u.GraphQLNonNull(d),resolve:e=>e.type},defaultValue:{type:c.GraphQLString,description:"A GraphQL-formatted string representing the default value for this input value.",resolve(e){const{type:t,defaultValue:n}=e,r=(0,s.astFromValue)(n,t);return r?(0,a.print)(r):null}},isDeprecated:{type:new u.GraphQLNonNull(c.GraphQLBoolean),resolve:e=>null!=e.deprecationReason},deprecationReason:{type:c.GraphQLString,resolve:e=>e.deprecationReason}})}),y=new u.GraphQLObjectType({name:"__EnumValue",description:"One possible value for a given Enum. Enum values are unique values, not a placeholder for a string or numeric value. However an Enum value is returned in a JSON response as a string.",fields:()=>({name:{type:new u.GraphQLNonNull(c.GraphQLString),resolve:e=>e.name},description:{type:c.GraphQLString,resolve:e=>e.description},isDeprecated:{type:new u.GraphQLNonNull(c.GraphQLBoolean),resolve:e=>null!=e.deprecationReason},deprecationReason:{type:c.GraphQLString,resolve:e=>e.deprecationReason}})});var g;!function(e){e.SCALAR="SCALAR",e.OBJECT="OBJECT",e.INTERFACE="INTERFACE",e.UNION="UNION",e.ENUM="ENUM",e.INPUT_OBJECT="INPUT_OBJECT",e.LIST="LIST",e.NON_NULL="NON_NULL"}(g||(g={}));const v=new u.GraphQLEnumType({name:"__TypeKind",description:"An enum describing what kind of type a given `__Type` is.",values:{SCALAR:{value:g.SCALAR,description:"Indicates this type is a scalar."},OBJECT:{value:g.OBJECT,description:"Indicates this type is an object. `fields` and `interfaces` are valid fields."},INTERFACE:{value:g.INTERFACE,description:"Indicates this type is an interface. `fields`, `interfaces`, and `possibleTypes` are valid fields."},UNION:{value:g.UNION,description:"Indicates this type is a union. `possibleTypes` is a valid field."},ENUM:{value:g.ENUM,description:"Indicates this type is an enum. `enumValues` is a valid field."},INPUT_OBJECT:{value:g.INPUT_OBJECT,description:"Indicates this type is an input object. `inputFields` is a valid field."},LIST:{value:g.LIST,description:"Indicates this type is a list. `ofType` is a valid field."},NON_NULL:{value:g.NON_NULL,description:"Indicates this type is a non-null. `ofType` is a valid field."}}}),b={name:"__schema",type:new u.GraphQLNonNull(l),description:"Access the current type schema of this server.",args:[],resolve:(e,t,n,{schema:r})=>r,deprecationReason:void 0,extensions:Object.create(null),astNode:void 0},_={name:"__type",type:d,description:"Request the type information of a single type.",args:[{name:"name",description:void 0,type:new u.GraphQLNonNull(c.GraphQLString),defaultValue:void 0,deprecationReason:void 0,extensions:Object.create(null),astNode:void 0}],resolve:(e,{name:t},n,{schema:r})=>r.getType(t),deprecationReason:void 0,extensions:Object.create(null),astNode:void 0},E={name:"__typename",type:new u.GraphQLNonNull(c.GraphQLString),description:"The name of the current Object type at runtime.",args:[],resolve:(e,t,n,{parentType:r})=>r.name,deprecationReason:void 0,extensions:Object.create(null),astNode:void 0},S=Object.freeze([l,f,p,d,h,m,y,v]);function w(e){return S.some((({name:t})=>e.name===t))}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{astFromValue:()=>l});var r=n(386),i=n(464),o=n(492),a=n(465),s=n(384),u=n(480),c=n(489);function l(e,t){if((0,u.isNonNullType)(t)){const n=l(e,t.ofType);return(null==n?void 0:n.kind)===s.Kind.NULL?null:n}if(null===e)return{kind:s.Kind.NULL};if(void 0===e)return null;if((0,u.isListType)(t)){const n=t.ofType;if((0,o.isIterableObject)(e)){const t=[];for(const r of e){const e=l(r,n);null!=e&&t.push(e)}return{kind:s.Kind.LIST,values:t}}return l(e,n)}if((0,u.isInputObjectType)(t)){if(!(0,a.isObjectLike)(e))return null;const n=[];for(const r of Object.values(t.getFields())){const t=l(e[r.name],r.type);t&&n.push({kind:s.Kind.OBJECT_FIELD,name:{kind:s.Kind.NAME,value:r.name},value:t})}return{kind:s.Kind.OBJECT,fields:n}}if((0,u.isLeafType)(t)){const n=t.serialize(e);if(null==n)return null;if("boolean"==typeof n)return{kind:s.Kind.BOOLEAN,value:n};if("number"==typeof n&&Number.isFinite(n)){const e=String(n);return f.test(e)?{kind:s.Kind.INT,value:e}:{kind:s.Kind.FLOAT,value:e}}if("string"==typeof n)return(0,u.isEnumType)(t)?{kind:s.Kind.ENUM,value:n}:t===c.GraphQLID&&f.test(n)?{kind:s.Kind.INT,value:n}:{kind:s.Kind.STRING,value:n};throw new TypeError(`Cannot convert value to AST: ${(0,r.inspect)(n)}.`)}(0,i.invariant)(!1,"Unexpected input type: "+(0,r.inspect)(t))}const f=/^-?(?:0|[1-9][0-9]*)$/},(e,t,n)=>{"use strict";function r(e){return"object"==typeof e&&"function"==typeof(null==e?void 0:e[Symbol.iterator])}n.r(t),n.d(t,{isIterableObject:()=>r})},(e,t,n)=>{"use strict";n.r(t),n.d(t,{doTypesOverlap:()=>a,isEqualType:()=>i,isTypeSubTypeOf:()=>o});var r=n(480);function i(e,t){return e===t||((0,r.isNonNullType)(e)&&(0,r.isNonNullType)(t)||!(!(0,r.isListType)(e)||!(0,r.isListType)(t)))&&i(e.ofType,t.ofType)}function o(e,t,n){return t===n||((0,r.isNonNullType)(n)?!!(0,r.isNonNullType)(t)&&o(e,t.ofType,n.ofType):(0,r.isNonNullType)(t)?o(e,t.ofType,n):(0,r.isListType)(n)?!!(0,r.isListType)(t)&&o(e,t.ofType,n.ofType):!(0,r.isListType)(t)&&((0,r.isAbstractType)(n)&&((0,r.isInterfaceType)(t)||(0,r.isObjectType)(t))&&e.isSubType(n,t)))}function a(e,t,n){return t===n||((0,r.isAbstractType)(t)?(0,r.isAbstractType)(n)?e.getPossibleTypes(t).some((t=>e.isSubType(n,t))):e.isSubType(t,n):!!(0,r.isAbstractType)(n)&&e.isSubType(n,t))}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{assertValidSDL:()=>p,assertValidSDLExtension:()=>d,validate:()=>l,validateSDL:()=>f});var r=n(385),i=n(462),o=n(382),a=n(475),s=n(539),u=n(495),c=n(540);function l(e,t,n=u.specifiedRules,l,f=new s.TypeInfo(e)){var p;const d=null!==(p=null==l?void 0:l.maxErrors)&&void 0!==p?p:100;t||(0,r.devAssert)(!1,"Must provide document."),(0,a.assertValidSchema)(e);const h=Object.freeze({}),m=[],y=new c.ValidationContext(e,t,f,(e=>{if(m.length>=d)throw m.push(new i.GraphQLError("Too many validation errors, error limit reached. Validation aborted.")),h;m.push(e)})),g=(0,o.visitInParallel)(n.map((e=>e(y))));try{(0,o.visit)(t,(0,s.visitWithTypeInfo)(f,g))}catch(e){if(e!==h)throw e}return m}function f(e,t,n=u.specifiedSDLRules){const r=[],i=new c.SDLValidationContext(e,t,(e=>{r.push(e)})),a=n.map((e=>e(i)));return(0,o.visit)(e,(0,o.visitInParallel)(a)),r}function p(e){const t=f(e);
9if(0!==t.length)throw new Error(t.map((e=>e.message)).join("\n\n"))}function d(e,t){const n=f(e,t);if(0!==n.length)throw new Error(n.map((e=>e.message)).join("\n\n"))}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{specifiedRules:()=>j,specifiedSDLRules:()=>F});var r=n(496),i=n(511),o=n(508),a=n(523),s=n(521),u=n(513),c=n(507),l=n(498),f=n(531),p=n(516),d=n(519),h=n(514),m=n(520),y=n(528),g=n(515),v=n(538),b=n(526),_=n(510),E=n(499),S=n(536),w=n(524),T=n(537),O=n(522),x=n(534),k=n(535),R=n(512),N=n(530),A=n(497),I=n(532),D=n(533),C=n(517),P=n(525),L=n(509),M=n(527);const j=Object.freeze([r.ExecutableDefinitionsRule,A.UniqueOperationNamesRule,l.LoneAnonymousOperationRule,E.SingleFieldSubscriptionsRule,c.KnownTypeNamesRule,o.FragmentsOnCompositeTypesRule,L.VariablesAreInputTypesRule,_.ScalarLeafsRule,i.FieldsOnCorrectTypeRule,R.UniqueFragmentNamesRule,u.KnownFragmentNamesRule,h.NoUnusedFragmentsRule,g.PossibleFragmentSpreadsRule,p.NoFragmentCyclesRule,C.UniqueVariableNamesRule,d.NoUndefinedVariablesRule,m.NoUnusedVariablesRule,s.KnownDirectivesRule,O.UniqueDirectivesPerLocationRule,a.KnownArgumentNamesRule,w.UniqueArgumentNamesRule,P.ValuesOfCorrectTypeRule,b.ProvidedRequiredArgumentsRule,M.VariablesInAllowedPositionRule,y.OverlappingFieldsCanBeMergedRule,N.UniqueInputFieldNamesRule]),F=Object.freeze([f.LoneSchemaDefinitionRule,I.UniqueOperationTypesRule,D.UniqueTypeNamesRule,x.UniqueEnumValueNamesRule,k.UniqueFieldDefinitionNamesRule,S.UniqueArgumentDefinitionNamesRule,T.UniqueDirectiveNamesRule,c.KnownTypeNamesRule,s.KnownDirectivesRule,O.UniqueDirectivesPerLocationRule,v.PossibleTypeExtensionsRule,a.KnownArgumentNamesOnDirectivesRule,w.UniqueArgumentNamesRule,N.UniqueInputFieldNamesRule,b.ProvidedRequiredArgumentsOnDirectivesRule])},(e,t,n)=>{"use strict";n.r(t),n.d(t,{ExecutableDefinitionsRule:()=>a});var r=n(462),i=n(384),o=n(419);function a(e){return{Document(t){for(const n of t.definitions)if(!(0,o.isExecutableDefinitionNode)(n)){const t=n.kind===i.Kind.SCHEMA_DEFINITION||n.kind===i.Kind.SCHEMA_EXTENSION?"schema":'"'+n.name.value+'"';e.reportError(new r.GraphQLError(`The ${t} definition is not executable.`,{nodes:n}))}return!1}}}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{UniqueOperationNamesRule:()=>i});var r=n(462);function i(e){const t=Object.create(null);return{OperationDefinition(n){const i=n.name;return i&&(t[i.value]?e.reportError(new r.GraphQLError(`There can be only one operation named "${i.value}".`,{nodes:[t[i.value],i]})):t[i.value]=i),!1},FragmentDefinition:()=>!1}}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{LoneAnonymousOperationRule:()=>o});var r=n(462),i=n(384);function o(e){let t=0;return{Document(e){t=e.definitions.filter((e=>e.kind===i.Kind.OPERATION_DEFINITION)).length},OperationDefinition(n){!n.name&&t>1&&e.reportError(new r.GraphQLError("This anonymous operation must be the only defined operation.",{nodes:n}))}}}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{SingleFieldSubscriptionsRule:()=>a});var r=n(462),i=n(384),o=n(500);function a(e){return{OperationDefinition(t){if("subscription"===t.operation){const n=e.getSchema(),a=n.getSubscriptionType();if(a){const s=t.name?t.name.value:null,u=Object.create(null),c=e.getDocument(),l=Object.create(null);for(const e of c.definitions)e.kind===i.Kind.FRAGMENT_DEFINITION&&(l[e.name.value]=e);const f=(0,o.collectFields)(n,l,u,a,t.selectionSet);if(f.size>1){const t=[...f.values()].slice(1).flat();e.reportError(new r.GraphQLError(null!=s?`Subscription "${s}" must select only one top level field.`:"Anonymous Subscription must select only one top level field.",{nodes:t}))}for(const t of f.values()){t[0].name.value.startsWith("__")&&e.reportError(new r.GraphQLError(null!=s?`Subscription "${s}" must not select an introspection top level field.`:"Anonymous Subscription must not select an introspection top level field.",{nodes:t}))}}}}}}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{collectFields:()=>u,collectSubfields:()=>c});var r=n(384),i=n(480),o=n(478),a=n(502),s=n(501);function u(e,t,n,r,i){const o=new Map;return l(e,t,n,r,i,o,new Set),o}function c(e,t,n,r,i){const o=new Map,a=new Set;for(const s of i)s.selectionSet&&l(e,t,n,r,s.selectionSet,o,a);return o}function l(e,t,n,i,o,a,s){for(const c of o.selections)switch(c.kind){case r.Kind.FIELD:{if(!f(n,c))continue;const e=(u=c).alias?u.alias.value:u.name.value,t=a.get(e);void 0!==t?t.push(c):a.set(e,[c]);break}case r.Kind.INLINE_FRAGMENT:if(!f(n,c)||!p(e,c,i))continue;l(e,t,n,i,c.selectionSet,a,s);break;case r.Kind.FRAGMENT_SPREAD:{const r=c.name.value;if(s.has(r)||!f(n,c))continue;s.add(r);const o=t[r];if(!o||!p(e,o,i))continue;l(e,t,n,i,o.selectionSet,a,s);break}}var u}function f(e,t){const n=(0,s.getDirectiveValues)(o.GraphQLSkipDirective,t,e);if(!0===(null==n?void 0:n.if))return!1;const r=(0,s.getDirectiveValues)(o.GraphQLIncludeDirective,t,e);return!1!==(null==r?void 0:r.if)}function p(e,t,n){const r=t.typeCondition;if(!r)return!0;const o=(0,a.typeFromAST)(e,r);return o===n||!!(0,i.isAbstractType)(o)&&e.isSubType(o,n)}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{getArgumentValues:()=>h,getDirectiveValues:()=>m,getVariableValues:()=>d});var r=n(386),i=n(485),o=n(505),a=n(462),s=n(384),u=n(381),c=n(480),l=n(504),f=n(502),p=n(503);function d(e,t,n,i){const s=[],d=null==i?void 0:i.maxErrors;try{const i=function(e,t,n,i){const s={};for(const d of t){const t=d.variable.name.value,h=(0,f.typeFromAST)(e,d.type);if(!(0,c.isInputType)(h)){const e=(0,u.print)(d.type);i(new a.GraphQLError(`Variable "$${t}" expected value of type "${e}" which cannot be used as an input type.`,{nodes:d.type}));continue}if(!y(n,t)){if(d.defaultValue)s[t]=(0,p.valueFromAST)(d.defaultValue,h);else if((0,c.isNonNullType)(h)){const e=(0,r.inspect)(h);i(new a.GraphQLError(`Variable "$${t}" of required type "${e}" was not provided.`,{nodes:d}))}continue}const m=n[t];if(null===m&&(0,c.isNonNullType)(h)){const e=(0,r.inspect)(h);i(new a.GraphQLError(`Variable "$${t}" of non-null type "${e}" must not be null.`,{nodes:d}))}else s[t]=(0,l.coerceInputValue)(m,h,((e,n,s)=>{let u=`Variable "$${t}" got invalid value `+(0,r.inspect)(n);e.length>0&&(u+=` at "${t}${(0,o.printPathArray)(e)}"`),i(new a.GraphQLError(u+"; "+s.message,{nodes:d,originalError:s}))}))}return s}(e,t,n,(e=>{if(null!=d&&s.length>=d)throw new a.GraphQLError("Too many errors processing variables, error limit reached. Execution aborted.");s.push(e)}));if(0===s.length)return{coerced:i}}catch(e){s.push(e)}return{errors:s}}function h(e,t,n){var o;const l={},f=null!==(o=t.arguments)&&void 0!==o?o:[],d=(0,i.keyMap)(f,(e=>e.name.value));for(const i of e.args){const e=i.name,o=i.type,f=d[e];if(!f){if(void 0!==i.defaultValue)l[e]=i.defaultValue;else if((0,c.isNonNullType)(o))throw new a.GraphQLError(`Argument "${e}" of required type "${(0,r.inspect)(o)}" was not provided.`,{nodes:t});continue}const h=f.value;let m=h.kind===s.Kind.NULL;if(h.kind===s.Kind.VARIABLE){const t=h.name.value;if(null==n||!y(n,t)){if(void 0!==i.defaultValue)l[e]=i.defaultValue;else if((0,c.isNonNullType)(o))throw new a.GraphQLError(`Argument "${e}" of required type "${(0,r.inspect)(o)}" was provided the variable "$${t}" which was not provided a runtime value.`,{nodes:h});continue}m=null==n[t]}if(m&&(0,c.isNonNullType)(o))throw new a.GraphQLError(`Argument "${e}" of non-null type "${(0,r.inspect)(o)}" must not be null.`,{nodes:h});const g=(0,p.valueFromAST)(h,o,n);if(void 0===g)throw new a.GraphQLError(`Argument "${e}
9" has invalid value ${(0,u.print)(h)}.`,{nodes:h});l[e]=g}return l}function m(e,t,n){var r;const i=null===(r=t.directives)||void 0===r?void 0:r.find((t=>t.name.value===e.name));if(i)return h(e,i,n)}function y(e,t){return Object.prototype.hasOwnProperty.call(e,t)}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{typeFromAST:()=>o});var r=n(384),i=n(480);function o(e,t){switch(t.kind){case r.Kind.LIST_TYPE:{const n=o(e,t.type);return n&&new i.GraphQLList(n)}case r.Kind.NON_NULL_TYPE:{const n=o(e,t.type);return n&&new i.GraphQLNonNull(n)}case r.Kind.NAMED_TYPE:return e.getType(t.name.value)}}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{valueFromAST:()=>u});var r=n(386),i=n(464),o=n(485),a=n(384),s=n(480);function u(e,t,n){if(e){if(e.kind===a.Kind.VARIABLE){const r=e.name.value;if(null==n||void 0===n[r])return;const i=n[r];if(null===i&&(0,s.isNonNullType)(t))return;return i}if((0,s.isNonNullType)(t)){if(e.kind===a.Kind.NULL)return;return u(e,t.ofType,n)}if(e.kind===a.Kind.NULL)return null;if((0,s.isListType)(t)){const r=t.ofType;if(e.kind===a.Kind.LIST){const t=[];for(const i of e.values)if(c(i,n)){if((0,s.isNonNullType)(r))return;t.push(null)}else{const e=u(i,r,n);if(void 0===e)return;t.push(e)}return t}const i=u(e,r,n);if(void 0===i)return;return[i]}if((0,s.isInputObjectType)(t)){if(e.kind!==a.Kind.OBJECT)return;const r=Object.create(null),i=(0,o.keyMap)(e.fields,(e=>e.name.value));for(const e of Object.values(t.getFields())){const t=i[e.name];if(!t||c(t.value,n)){if(void 0!==e.defaultValue)r[e.name]=e.defaultValue;else if((0,s.isNonNullType)(e.type))return;continue}const o=u(t.value,e.type,n);if(void 0===o)return;r[e.name]=o}return r}if((0,s.isLeafType)(t)){let r;try{r=t.parseLiteral(e,n)}catch(e){return}if(void 0===r)return;return r}(0,i.invariant)(!1,"Unexpected input type: "+(0,r.inspect)(t))}}function c(e,t){return e.kind===a.Kind.VARIABLE&&(null==t||void 0===t[e.name.value])}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{coerceInputValue:()=>d});var r=n(488),i=n(386),o=n(464),a=n(492),s=n(465),u=n(506),c=n(505),l=n(486),f=n(462),p=n(480);function d(e,t,n=h){return m(e,t,n,void 0)}function h(e,t,n){let r="Invalid value "+(0,i.inspect)(t);throw e.length>0&&(r+=` at "value${(0,c.printPathArray)(e)}"`),n.message=r+": "+n.message,n}function m(e,t,n,c){if((0,p.isNonNullType)(t))return null!=e?m(e,t.ofType,n,c):void n((0,u.pathToArray)(c),e,new f.GraphQLError(`Expected non-nullable type "${(0,i.inspect)(t)}" not to be null.`));if(null==e)return null;if((0,p.isListType)(t)){const r=t.ofType;return(0,a.isIterableObject)(e)?Array.from(e,((e,t)=>{const i=(0,u.addPath)(c,t,void 0);return m(e,r,n,i)})):[m(e,r,n,c)]}if((0,p.isInputObjectType)(t)){if(!(0,s.isObjectLike)(e))return void n((0,u.pathToArray)(c),e,new f.GraphQLError(`Expected type "${t.name}" to be an object.`));const o={},a=t.getFields();for(const r of Object.values(a)){const a=e[r.name];if(void 0!==a)o[r.name]=m(a,r.type,n,(0,u.addPath)(c,r.name,t.name));else if(void 0!==r.defaultValue)o[r.name]=r.defaultValue;else if((0,p.isNonNullType)(r.type)){const t=(0,i.inspect)(r.type);n((0,u.pathToArray)(c),e,new f.GraphQLError(`Field "${r.name}" of required type "${t}" was not provided.`))}}for(const i of Object.keys(e))if(!a[i]){const o=(0,l.suggestionList)(i,Object.keys(t.getFields()));n((0,u.pathToArray)(c),e,new f.GraphQLError(`Field "${i}" is not defined by type "${t.name}".`+(0,r.didYouMean)(o)))}return o}if((0,p.isLeafType)(t)){let r;try{r=t.parseValue(e)}catch(r){return void(r instanceof f.GraphQLError?n((0,u.pathToArray)(c),e,r):n((0,u.pathToArray)(c),e,new f.GraphQLError(`Expected type "${t.name}". `+r.message,{originalError:r})))}return void 0===r&&n((0,u.pathToArray)(c),e,new f.GraphQLError(`Expected type "${t.name}".`)),r}(0,o.invariant)(!1,"Unexpected input type: "+(0,i.inspect)(t))}},(e,t,n)=>{"use strict";function r(e){return e.map((e=>"number"==typeof e?"["+e.toString()+"]":"."+e)).join("")}n.r(t),n.d(t,{printPathArray:()=>r})},(e,t,n)=>{"use strict";function r(e,t,n){return{prev:e,key:t,typename:n}}function i(e){const t=[];let n=e;for(;n;)t.push(n.key),n=n.prev;return t.reverse()}n.r(t),n.d(t,{addPath:()=>r,pathToArray:()=>i})},(e,t,n)=>{"use strict";n.r(t),n.d(t,{KnownTypeNamesRule:()=>u});var r=n(488),i=n(486),o=n(462),a=n(419),s=n(490);function u(e){const t=e.getSchema(),n=t?t.getTypeMap():Object.create(null),s=Object.create(null);for(const t of e.getDocument().definitions)(0,a.isTypeDefinitionNode)(t)&&(s[t.name.value]=!0);const u=[...Object.keys(n),...Object.keys(s)];return{NamedType(t,l,f,p,d){const h=t.name.value;if(!n[h]&&!s[h]){var m;const n=null!==(m=d[2])&&void 0!==m?m:f,s=null!=n&&("kind"in(y=n)&&((0,a.isTypeSystemDefinitionNode)(y)||(0,a.isTypeSystemExtensionNode)(y)));if(s&&c.includes(h))return;const l=(0,i.suggestionList)(h,s?c.concat(u):u);e.reportError(new o.GraphQLError(`Unknown type "${h}".`+(0,r.didYouMean)(l),{nodes:t}))}var y}}}const c=[...n(489).specifiedScalarTypes,...s.introspectionTypes].map((e=>e.name))},(e,t,n)=>{"use strict";n.r(t),n.d(t,{FragmentsOnCompositeTypesRule:()=>s});var r=n(462),i=n(381),o=n(480),a=n(502);function s(e){return{InlineFragment(t){const n=t.typeCondition;if(n){const t=(0,a.typeFromAST)(e.getSchema(),n);if(t&&!(0,o.isCompositeType)(t)){const t=(0,i.print)(n);e.reportError(new r.GraphQLError(`Fragment cannot condition on non composite type "${t}".`,{nodes:n}))}}},FragmentDefinition(t){const n=(0,a.typeFromAST)(e.getSchema(),t.typeCondition);if(n&&!(0,o.isCompositeType)(n)){const n=(0,i.print)(t.typeCondition);e.reportError(new r.GraphQLError(`Fragment "${t.name.value}" cannot condition on non composite type "${n}".`,{nodes:t.typeCondition}))}}}}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{VariablesAreInputTypesRule:()=>s});var r=n(462),i=n(381),o=n(480),a=n(502);function s(e){return{VariableDefinition(t){const n=(0,a.typeFromAST)(e.getSchema(),t.type);if(void 0!==n&&!(0,o.isInputType)(n)){const n=t.variable.name.value,o=(0,i.print)(t.type);e.reportError(new r.GraphQLError(`Variable "$${n}" cannot be non-input type "${o}".`,{nodes:t.type}))}}}}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{ScalarLeafsRule:()=>a});var r=n(386),i=n(462),o=n(480);function a(e){return{Field(t){const n=e.getType(),a=t.selectionSet;
9if(n)if((0,o.isLeafType)((0,o.getNamedType)(n))){if(a){const o=t.name.value,s=(0,r.inspect)(n);e.reportError(new i.GraphQLError(`Field "${o}" must not have a selection since type "${s}" has no subfields.`,{nodes:a}))}}else if(!a){const o=t.name.value,a=(0,r.inspect)(n);e.reportError(new i.GraphQLError(`Field "${o}" of type "${a}" must have a selection of subfields. Did you mean "${o} { ... }"?`,{nodes:t}))}}}}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{FieldsOnCorrectTypeRule:()=>u});var r=n(488),i=n(487),o=n(486),a=n(462),s=n(480);function u(e){return{Field(t){const n=e.getParentType();if(n){if(!e.getFieldDef()){const u=e.getSchema(),c=t.name.value;let l=(0,r.didYouMean)("to use an inline fragment on",function(e,t,n){if(!(0,s.isAbstractType)(t))return[];const r=new Set,o=Object.create(null);for(const i of e.getPossibleTypes(t))if(i.getFields()[n]){r.add(i),o[i.name]=1;for(const e of i.getInterfaces()){var a;e.getFields()[n]&&(r.add(e),o[e.name]=(null!==(a=o[e.name])&&void 0!==a?a:0)+1)}}return[...r].sort(((t,n)=>{const r=o[n.name]-o[t.name];return 0!==r?r:(0,s.isInterfaceType)(t)&&e.isSubType(t,n)?-1:(0,s.isInterfaceType)(n)&&e.isSubType(n,t)?1:(0,i.naturalCompare)(t.name,n.name)})).map((e=>e.name))}(u,n,c));""===l&&(l=(0,r.didYouMean)(function(e,t){if((0,s.isObjectType)(e)||(0,s.isInterfaceType)(e)){const n=Object.keys(e.getFields());return(0,o.suggestionList)(t,n)}return[]}(n,c))),e.reportError(new a.GraphQLError(`Cannot query field "${c}" on type "${n.name}".`+l,{nodes:t}))}}}}}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{UniqueFragmentNamesRule:()=>i});var r=n(462);function i(e){const t=Object.create(null);return{OperationDefinition:()=>!1,FragmentDefinition(n){const i=n.name.value;return t[i]?e.reportError(new r.GraphQLError(`There can be only one fragment named "${i}".`,{nodes:[t[i],n.name]})):t[i]=n.name,!1}}}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{KnownFragmentNamesRule:()=>i});var r=n(462);function i(e){return{FragmentSpread(t){const n=t.name.value;e.getFragment(n)||e.reportError(new r.GraphQLError(`Unknown fragment "${n}".`,{nodes:t.name}))}}}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{NoUnusedFragmentsRule:()=>i});var r=n(462);function i(e){const t=[],n=[];return{OperationDefinition:e=>(t.push(e),!1),FragmentDefinition:e=>(n.push(e),!1),Document:{leave(){const i=Object.create(null);for(const n of t)for(const t of e.getRecursivelyReferencedFragments(n))i[t.name.value]=!0;for(const t of n){const n=t.name.value;!0!==i[n]&&e.reportError(new r.GraphQLError(`Fragment "${n}" is never used.`,{nodes:t}))}}}}}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{PossibleFragmentSpreadsRule:()=>u});var r=n(386),i=n(462),o=n(480),a=n(493),s=n(502);function u(e){return{InlineFragment(t){const n=e.getType(),s=e.getParentType();if((0,o.isCompositeType)(n)&&(0,o.isCompositeType)(s)&&!(0,a.doTypesOverlap
9)(e.getSchema(),n,s)){const o=(0,r.inspect)(s),a=(0,r.inspect)(n);e.reportError(new i.GraphQLError(`Fragment cannot be spread here as objects of type "${o}" can never be of type "${a}".`,{nodes:t}))}},FragmentSpread(t){const n=t.name.value,u=function(e,t){const n=e.getFragment(t);if(n){const t=(0,s.typeFromAST)(e.getSchema(),n.typeCondition);if((0,o.isCompositeType)(t))return t}}(e,n),c=e.getParentType();if(u&&c&&!(0,a.doTypesOverlap)(e.getSchema(),u,c)){const o=(0,r.inspect)(c),a=(0,r.inspect)(u);e.reportError(new i.GraphQLError(`Fragment "${n}" cannot be spread here as objects of type "${o}" can never be of type "${a}".`,{nodes:t}))}}}}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{NoFragmentCyclesRule:()=>i});var r=n(462);function i(e){const t=Object.create(null),n=[],i=Object.create(null);return{OperationDefinition:()=>!1,FragmentDefinition:e=>(o(e),!1)};function o(a){if(t[a.name.value])return;const s=a.name.value;t[s]=!0;const u=e.getFragmentSpreads(a.selectionSet);if(0!==u.length){i[s]=n.length;for(const t of u){const a=t.name.value,s=i[a];if(n.push(t),void 0===s){const t=e.getFragment(a);t&&o(t)}else{const t=n.slice(s),i=t.slice(0,-1).map((e=>'"'+e.name.value+'"')).join(", ");e.reportError(new r.GraphQLError(`Cannot spread fragment "${a}" within itself`+(""!==i?` via ${i}.`:"."),{nodes:t}))}n.pop()}i[s]=void 0}}}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{UniqueVariableNamesRule:()=>o});var r=n(518),i=n(462);function o(e){return{OperationDefinition(t){var n;const o=null!==(n=t.variableDefinitions)&&void 0!==n?n:[],a=(0,r.groupBy)(o,(e=>e.variable.name.value));for(const[t,n]of a)n.length>1&&e.reportError(new i.GraphQLError(`There can be only one variable named "$${t}".`,{nodes:n.map((e=>e.variable.name))}))}}}},(e,t,n)=>{"use strict";function r(e,t){const n=new Map;for(const r of e){const e=t(r),i=n.get(e);void 0===i?n.set(e,[r]):i.push(r)}return n}n.r(t),n.d(t,{groupBy:()=>r})},(e,t,n)=>{"use strict";n.r(t),n.d(t,{NoUndefinedVariablesRule:()=>i});var r=n(462);function i(e){let t=Object.create(null);return{OperationDefinition:{enter(){t=Object.create(null)},leave(n){const i=e.getRecursiveVariableUsages(n);for(const{node:o}of i){const i=o.name.value;!0!==t[i]&&e.reportError(new r.GraphQLError(n.name?`Variable "$${i}" is not defined by operation "${n.name.value}".`:`Variable "$${i}" is not defined.`,{nodes:[o,n]}))}}},VariableDefinition(e){t[e.variable.name.value]=!0}}}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{NoUnusedVariablesRule:()=>i});var r=n(462);function i(e){let t=[];return{OperationDefinition:{enter(){t=[]},leave(n){const i=Object.create(null),o=e.getRecursiveVariableUsages(n);for(const{node:e}of o)i[e.name.value]=!0;for(const o of t){const t=o.variable.name.value;!0!==i[t]&&e.reportError(new r.GraphQLError(n.name?`Variable "$${t}" is never used in operation "${n.name.value}".`:`Variable "$${t}" is never used.`,{nodes:o}))}}},VariableDefinition(e){t.push(e)}}}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{KnownDirectivesRule:()=>l});var r=n(386),i=n(464),o=n(462),a=n(383),s=n(467),u=n(384),c=n(478);function l(e){const t=Object.create(null),n=e.getSchema(),l=n?n.getDirectives():c.specifiedDirectives;for(const e of l)t[e.name]=e.locations;const f=e.getDocument().definitions;for(const e of f)e.kind===u.Kind.DIRECTIVE_DEFINITION&&(t[e.name.value]=e.locations.map((e=>e.value)));return{Directive(n,c,l,f,p){const d=n.name.value,h=t[d];if(!h)return void e.reportError(new o.GraphQLError(`Unknown directive "@${d}".`,{nodes:n}));const m=function(e){const t=e[e.length-1];switch("kind"in t||(0,i.invariant)(!1),t.kind){case u.Kind.OPERATION_DEFINITION:return function(e){switch(e){case a.OperationTypeNode.QUERY:return s.DirectiveLocation.QUERY;case a.OperationTypeNode.MUTATION:return s.DirectiveLocation.MUTATION;case a.OperationTypeNode.SUBSCRIPTION:return s.DirectiveLocation.SUBSCRIPTION}}(t.operation);case u.Kind.FIELD:return s.DirectiveLocation.FIELD;case u.Kind.FRAGMENT_SPREAD:return s.DirectiveLocation.FRAGMENT_SPREAD;case u.Kind.INLINE_FRAGMENT:return s.DirectiveLocation.INLINE_FRAGMENT;case u.Kind.FRAGMENT_DEFINITION:return s.DirectiveLocation.FRAGMENT_DEFINITION;case u.Kind.VARIABLE_DEFINITION:return s.DirectiveLocation.VARIABLE_DEFINITION;case u.Kind.SCHEMA_DEFINITION:case u.Kind.SCHEMA_EXTENSION:return s.DirectiveLocation.SCHEMA;case u.Kind.SCALAR_TYPE_DEFINITION:case u.Kind.SCALAR_TYPE_EXTENSION:return s.DirectiveLocation.SCALAR;case u.Kind.OBJECT_TYPE_DEFINITION:case u.Kind.OBJECT_TYPE_EXTENSION:return s.DirectiveLocation.OBJECT;case u.Kind.FIELD_DEFINITION:return s.DirectiveLocation.FIELD_DEFINITION;case u.Kind.INTERFACE_TYPE_DEFINITION:case u.Kind.INTERFACE_TYPE_EXTENSION:return s.DirectiveLocation.INT
9ERFACE;case u.Kind.UNION_TYPE_DEFINITION:case u.Kind.UNION_TYPE_EXTENSION:return s.DirectiveLocation.UNION;case u.Kind.ENUM_TYPE_DEFINITION:case u.Kind.ENUM_TYPE_EXTENSION:return s.DirectiveLocation.ENUM;case u.Kind.ENUM_VALUE_DEFINITION:return s.DirectiveLocation.ENUM_VALUE;case u.Kind.INPUT_OBJECT_TYPE_DEFINITION:case u.Kind.INPUT_OBJECT_TYPE_EXTENSION:return s.DirectiveLocation.INPUT_OBJECT;case u.Kind.INPUT_VALUE_DEFINITION:{const t=e[e.length-3];return"kind"in t||(0,i.invariant)(!1),t.kind===u.Kind.INPUT_OBJECT_TYPE_DEFINITION?s.DirectiveLocation.INPUT_FIELD_DEFINITION:s.DirectiveLocation.ARGUMENT_DEFINITION}default:(0,i.invariant)(!1,"Unexpected kind: "+(0,r.inspect)(t.kind))}}(p);m&&!h.includes(m)&&e.reportError(new o.GraphQLError(`Directive "@${d}" may not be used on ${m}.`,{nodes:n}))}}}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{UniqueDirectivesPerLocationRule:()=>s});var r=n(462),i=n(384),o=n(419),a=n(478);function s(e){const t=Object.create(null),n=e.getSchema(),s=n?n.getDirectives():a.specifiedDirectives;for(const e of s)t[e.name]=!e.isRepeatable;const u=e.getDocument().definitions;for(const e of u)e.kind===i.Kind.DIRECTIVE_DEFINITION&&(t[e.name.value]=!e.repeatable);const c=Object.create(null),l=Object.create(null);return{enter(n){if(!("directives"in n)||!n.directives)return;let a;if(n.kind===i.Kind.SCHEMA_DEFINITION||n.kind===i.Kind.SCHEMA_EXTENSION)a=c;else if((0,o.isTypeDefinitionNode)(n)||(0,o.isTypeExtensionNode)(n)){const e=n.name.value;a=l[e],void 0===a&&(l[e]=a=Object.create(null))}else a=Object.create(null);for(const i of n.directives){const n=i.name.value;t[n]&&(a[n]?e.reportError(new r.GraphQLError(`The directive "@${n}" can only be used once at this location.`,{nodes:[a[n],i]})):a[n]=i)}}}}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{KnownArgumentNamesOnDirectivesRule:()=>c,KnownArgumentNamesRule:()=>u});var r=n(488),i=n(486),o=n(462),a=n(384),s=n(478);function u(e){return{...c(e),Argument(t){const n=e.getArgument(),a=e.getFieldDef(),s=e.getParentType();if(!n&&a&&s){const n=t.name.value,u=a.args.map((e=>e.name)),c=(0,i.suggestionList)(n,u);e.reportError(new o.GraphQLError(`Unknown argument "${n}" on field "${s.name}.${a.name}".`+(0,r.didYouMean)(c),{nodes:t}))}}}}function c(e){const t=Object.create(null),n=e.getSchema(),u=n?n.getDirectives():s.specifiedDirectives;for(const e of u)t[e.name]=e.args.map((e=>e.name));const c=e.getDocument().definitions;for(const e of c)if(e.kind===a.Kind.DIRECTIVE_DEFINITION){var l;const n=null!==(l=e.arguments)&&void 0!==l?l:[];t[e.name.value]=n.map((e=>e.name.value))}return{Directive(n){const a=n.name.value,s=t[a];if(n.arguments&&s)for(const t of n.arguments){const n=t.name.value;if(!s.includes(n)){const u=(0,i.suggestionList)(n,s);e.reportError(new o.GraphQLError(`Unknown argument "${n}" on directive "@${a}".`+(0,r.didYouMean)(u),{nodes:t}))}}return!1}}}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{UniqueArgumentNamesRule:()=>o});var r=n(518),i=n(462);function o(e){return{Field:t,Directive:t};function t(t){var n;const o=null!==(n=t.arguments)&&void 0!==n?n:[],a=(0,r.groupBy)(o,(e=>
9e.name.value));for(const[t,n]of a)n.length>1&&e.reportError(new i.GraphQLError(`There can be only one argument named "${t}".`,{nodes:n.map((e=>e.name))}))}}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{ValuesOfCorrectTypeRule:()=>l});var r=n(488),i=n(386),o=n(485),a=n(486),s=n(462),u=n(381),c=n(480);function l(e){return{ListValue(t){const n=(0,c.getNullableType)(e.getParentInputType());if(!(0,c.isListType)(n))return f(e,t),!1},ObjectValue(t){const n=(0,c.getNamedType)(e.getInputType());if(!(0,c.isInputObjectType)(n))return f(e,t),!1;const r=(0,o.keyMap)(t.fields,(e=>e.name.value));for(const o of Object.values(n.getFields())){if(!r[o.name]&&(0,c.isRequiredInputField)(o)){const r=(0,i.inspect)(o.type);e.reportError(new s.GraphQLError(`Field "${n.name}.${o.name}" of required type "${r}" was not provided.`,{nodes:t}))}}},ObjectField(t){const n=(0,c.getNamedType)(e.getParentInputType());if(!e.getInputType()&&(0,c.isInputObjectType)(n)){const i=(0,a.suggestionList)(t.name.value,Object.keys(n.getFields()));e.reportError(new s.GraphQLError(`Field "${t.name.value}" is not defined by type "${n.name}".`+(0,r.didYouMean)(i),{nodes:t}))}},NullValue(t){const n=e.getInputType();(0,c.isNonNullType)(n)&&e.reportError(new s.GraphQLError(`Expected value of type "${(0,i.inspect)(n)}", found ${(0,u.print)(t)}.`,{nodes:t}))},EnumValue:t=>f(e,t),IntValue:t=>f(e,t),FloatValue:t=>f(e,t),StringValue:t=>f(e,t),BooleanValue:t=>f(e,t)}}function f(e,t){const n=e.getInputType();if(!n)return;const r=(0,c.getNamedType)(n);if((0,c.isLeafType)(r))try{if(void 0===r.parseLiteral(t,void 0)){const r=(0,i.inspect)(n);e.reportError(new s.GraphQLError(`Expected value of type "${r}", found ${(0,u.print)(t)}.`,{nodes:t}))}}catch(r){const o=(0,i.inspect)(n);r instanceof s.GraphQLError?e.reportError(r):e.reportError(new s.GraphQLError(`Expected value of type "${o}", found ${(0,u.print)(t)}; `+r.message,{nodes:t,originalError:r}))}else{const r=(0,i.inspect)(n);e.reportError(new s.GraphQLError(`Expected value of type "${r}", found ${(0,u.print)(t)}.`,{nodes:t}))}}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{ProvidedRequiredArgumentsOnDirectivesRule:()=>f,ProvidedRequiredArgumentsRule:()=>l});var r=n(386),i=n(485),o=n(462),a=n(384),s=n(381),u=n(480),c=n(478);function l(e){return{...f(e),Field:{leave(t){var n;const i=e.getFieldDef();if(!i)return!1;const a=new Set(null===(n=t.arguments)||void 0===n?void 0:n.map((e=>e.name.value)));for(const n of i.args)if(!a.has(n.name)&&(0,u.isRequiredArgument)(n)){const a=(0,r.inspect)(n.type);e.reportError(new o.GraphQLError(`Field "${i.name}" argument "${n.name}" of type "${a}" is required, but it was not provided.`,{nodes:t}))}}}}}function f(e){var t;const n=Object.create(null),l=e.getSchema(),f=null!==(t=null==l?void 0:l.getDirectives())&&void 0!==t?t:c.specifiedDirectives;for(const e of f)n[e.name]=(0,i.keyMap)(e.args.filter(u.isRequiredArgument),(e=>e.name));const d=e.getDocument().definitions;for(const e of d)if(e.kind===a.Kind.DIRECTIVE_DEFINITION){var h;const t=null!==(h=e.arguments)&&void 0!==h?h:[];n[e.name.value]=(0,i.keyMap)(t.filter(p),(e=>e.name.value))}return{Directive:{leave(t){const i=t.name.value,a=n[i];if(a){var c;const n=null!==(c=t.arguments)&&void 0!==c?c:[],l=new Set(n.map((e=>e.name.value)));for(const[n,c]of Object.entries(a))if(!l.has(n)){const a=(0,u.isType)(c.type)?(0,r.inspect)(c.type):(0,s.print)(c.type);e.reportError(new o.GraphQLError(`Directive "@${i}" argument "${n}" of type "${a}" is required, but it was not provided.`,{nodes:t}))}}}}}}function p(e){return e.type.kind===a.Kind.NON_NULL_TYPE&&null==e.defaultValue}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{VariablesInAllowedPositionRule:()=>c});var r=n(386),i=n(462),o=n(384),a=n(480),s=n(493),u=n(502);function c(e){let t=Object.create(null);return{OperationDefinition:{enter(){t=Object.create(null)},leave(n){const o=e.getRecursiveVariableUsages(n);for(const{node:n,type:a,defaultValue:s}of o){const o=n.name.value,c=t[o];if(c&&a){const t=e.getSchema(),f=(0,u.typeFromAST)(t,c.type);if(f&&!l(t,f,c.defaultValue,a,s)){const t=(0,r.inspect)(f),s=(0,r.inspect)(a);e.reportError(new i.GraphQLError(`Variable "$${o}" of type "${t}" used in position expecting type "${s}".`,{nodes:[c,n]}))}}}}},VariableDefinition(e){t[e.variable.name.value]=e}}}function l(e,t,n,r,i){if((0,a.isNonNullType)(r)&&!(0,a.isNonNullType)(t)){if(!(null!=n&&n.kind!==o.Kind.NULL)&&!(void 0!==i))return!1;const a=r.ofType;return(0,s.isTypeSubTypeOf)(e,t,a)}return(0,s.isTypeSubTypeOf)(e,t,r)}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{OverlappingFieldsCanBeMergedRule:()=>f});var r=n(386),i=n(462),o=n(384),a=n(381),s=n(480),u=n(529),c=n(502);function l(e){return Array.isArray(e)?e.map((([e,t])=>`subfields "${e}" conflict because `+l(t))).join(" and "):e}function f(e){const t=new E,n=new Map;return{SelectionSet(r){const o=function(e,t,n,r,i){const o=[],[a,s]=v(e,t,r,i
9);if(function(e,t,n,r,i){for(const[o,a]of Object.entries(i))if(a.length>1)for(let i=0;i<a.length;i++)for(let s=i+1;s<a.length;s++){const u=m(e,n,r,!1,o,a[i],a[s]);u&&t.push(u)}}(e,o,t,n,a),0!==s.length)for(let r=0;r<s.length;r++){p(e,o,t,n,!1,a,s[r]);for(let i=r+1;i<s.length;i++)d(e,o,t,n,!1,s[r],s[i])}return o}(e,n,t,e.getParentType(),r);for(const[[t,n],r,a]of o){const o=l(n);e.reportError(new i.GraphQLError(`Fields "${t}" conflict because ${o}. Use different aliases on the fields to fetch both if this was intentional.`,{nodes:r.concat(a)}))}}}}function p(e,t,n,r,i,o,a){const s=e.getFragment(a);if(!s)return;const[u,c]=b(e,n,s);if(o!==u){h(e,t,n,r,i,o,u);for(const s of c)r.has(s,a,i)||(r.add(s,a,i),p(e,t,n,r,i,o,s))}}function d(e,t,n,r,i,o,a){if(o===a)return;if(r.has(o,a,i))return;r.add(o,a,i);const s=e.getFragment(o),u=e.getFragment(a);if(!s||!u)return;const[c,l]=b(e,n,s),[f,p]=b(e,n,u);h(e,t,n,r,i,c,f);for(const a of p)d(e,t,n,r,i,o,a);for(const o of l)d(e,t,n,r,i,o,a)}function h(e,t,n,r,i,o,a){for(const[s,u]of Object.entries(o)){const o=a[s];if(o)for(const a of u)for(const u of o){const o=m(e,n,r,i,s,a,u);o&&t.push(o)}}}function m(e,t,n,i,o,a,u){const[c,l,f]=a,[m,b,_]=u,E=i||c!==m&&(0,s.isObjectType)(c)&&(0,s.isObjectType)(m);if(!E){const e=l.name.value,t=b.name.value;if(e!==t)return[[o,`"${e}" and "${t}" are different fields`],[l],[b]];if(!function(e,t){const n=e.arguments,r=t.arguments;if(void 0===n||0===n.length)return void 0===r||0===r.length;if(void 0===r||0===r.length)return!1;if(n.length!==r.length)return!1;const i=new Map(r.map((({name:e,value:t})=>[e.value,t])));return n.every((e=>{const t=e.value,n=i.get(e.name.value);return void 0!==n&&y(t)===y(n)}))}(l,b))return[[o,"they have differing arguments"],[l],[b]]}const S=null==f?void 0:f.type,w=null==_?void 0:_.type;if(S&&w&&g(S,w))return[[o,`they return conflicting types "${(0,r.inspect)(S)}" and "${(0,r.inspect)(w)}"`],[l],[b]];const T=l.selectionSet,O=b.selectionSet;if(T&&O){const r=function(e,t,n,r,i,o,a,s){const u=[],[c,l]=v(e,t,i,o),[f,m]=v(e,t,a,s);h(e,u,t,n,r,c,f);for(const i of m)p(e,u,t,n,r,c,i);for(const i of l)p(e,u,t,n,r,f,i);for(const i of l)for(const o of m)d(e,u,t,n,r,i,o);return u}(e,t,n,E,(0,s.getNamedType)(S),T,(0,s.getNamedType)(w),O);return function(e,t,n,r){if(e.length>0)return[[t,e.map((([e])=>e))],[n,...e.map((([,e])=>e)).flat()],[r,...e.map((([,,e])=>e)).flat()]]}(r,o,l,b)}}function y(e){return(0,a.print)((0,u.sortValueNode)(e))}function g(e,t){return(0,s.isListType)(e)?!(0,s.isListType)(t)||g(e.ofType,t.ofType):!!(0,s.isListType)(t)||((0,s.isNonNullType)(e)?!(0,s.isNonNullType)(t)||g(e.ofType,t.ofType):!!(0,s.isNonNullType)(t)||!(!(0,s.isLeafType)(e)&&!(0,s.isLeafType)(t))&&e!==t)}function v(e,t,n,r){const i=t.get(r);if(i)return i;const o=Object.create(null),a=Object.create(null);_(e,n,r,o,a);const s=[o,Object.keys(a)];return t.set(r,s),s}function b(e,t,n){const r=t.get(n.selectionSet);if(r)return r;const i=(0,c.typeFromAST)(e.getSchema(),n.typeCondition);return v(e,t,i,n.selectionSet)}function _(e,t,n,r,i){for(const a of n.selections)switch(a.kind){case o.Kind.FIELD:{const e=a.name.value;let n;((0,s.isObjectType)(t)||(0,s.isInterfaceType)(t))&&(n=t.getFields()[e]);const i=a.alias?a.alias.value:e;r[i]||(r[i]=[]),r[i].push([t,a,n]);break}case o.Kind.FRAGMENT_SPREAD:i[a.name.value]=!0;break;case o.Kind.INLINE_FRAGMENT:{const n=a.typeCondition,o=n?(0,c.typeFromAST)(e.getSchema(),n):t;_(e,o,a.selectionSet,r,i);break}}}class E{constructor(){this._data=new Map}has(e,t,n){var r;const[i,o]=e<t?[e,t]:[t,e],a=null===(r=this._data.get(i))||void 0===r?void 0:r.get(o);return void 0!==a&&(!!n||n===a)}add(e,t,n){const[r,i]=e<t?[e,t]:[t,e],o=this._data.get(r);void 0===o?this._data.set(r,new Map([[i,n]])):o.set(i,n)}}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{sortValueNode:()=>o});var r=n(487),i=n(384);function o(e){switch(e.kind){case i.Kind.OBJECT:return{...e,fields:(t=e.fields,t.map((e=>({...e,value:o(e.value)}))).sort(((e,t)=>(0,r.naturalCompare)(e.name.value,t.name.value))))};case i.Kind.LIST:return{...e,values:e.values.map(o)};case i.Kind.INT:case i.Kind.FLOAT:case i.Kind.STRING:case i.Kind.BOOLEAN:case i.Kind.NULL:case i.Kind.ENUM:case i.Kind.VARIABLE:return e}var t}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{UniqueInputFieldNamesRule:()=>
9o});var r=n(464),i=n(462);function o(e){const t=[];let n=Object.create(null);return{ObjectValue:{enter(){t.push(n),n=Object.create(null)},leave(){const e=t.pop();e||(0,r.invariant)(!1),n=e}},ObjectField(t){const r=t.name.value;n[r]?e.reportError(new i.GraphQLError(`There can be only one input field named "${r}".`,{nodes:[n[r],t.name]})):n[r]=t.name}}}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{LoneSchemaDefinitionRule:()=>i});var r=n(462);function i(e){var t,n,i;const o=e.getSchema(),a=null!==(t=null!==(n=null!==(i=null==o?void 0:o.astNode)&&void 0!==i?i:null==o?void 0:o.getQueryType())&&void 0!==n?n:null==o?void 0:o.getMutationType())&&void 0!==t?t:null==o?void 0:o.getSubscriptionType();let s=0;return{SchemaDefinition(t){a?e.reportError(new r.GraphQLError("Cannot define a new schema within a schema extension.",{nodes:t})):(s>0&&e.reportError(new r.GraphQLError("Must provide only one schema definition.",{nodes:t})),++s)}}}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{UniqueOperationTypesRule:()=>i});var r=n(462);function i(e){const t=e.getSchema(),n=Object.create(null),i=t?{query:t.getQueryType(),mutation:t.getMutationType(),subscription:t.getSubscriptionType()}:{};return{SchemaDefinition:o,SchemaExtension:o};function o(t){var o;const a=null!==(o=t.operationTypes)&&void 0!==o?o:[];for(const t of a){const o=t.operation,a=n[o];i[o]?e.reportError(new r.GraphQLError(`Type for ${o} already defined in the schema. It cannot be redefined.`,{nodes:t})):a?e.reportError(new r.GraphQLError(`There can be only one ${o} type in schema.`,{nodes:[a,t]})):n[o]=t}return!1}}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{UniqueTypeNamesRule:()=>i});var r=n(462);function i(e){const t=Object.create(null),n=e.getSchema();return{ScalarTypeDefinition:i,ObjectTypeDefinition:i,InterfaceTypeDefinition:i,UnionTypeDefinition:i,EnumTypeDefinition:i,InputObjectTypeDefinition:i};function i(i){const o=i.name.value;if(null==n||!n.getType(o))return t[o]?e.reportError(new r.GraphQLError(`There can be only one type named "${o}".`,{nodes:[t[o],i.name]})):t[o]=i.name,!1;e.reportError(new r.GraphQLError(`Type "${o}" already exists in the schema. It cannot also be defined in this type definition.`,{nodes:i.name}))}}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{UniqueEnumValueNamesRule:()=>o});var r=n(462),i=n(480);function o(e){const t=e.getSchema(),n=t?t.getTypeMap():Object.create(null),o=Object.create(null);return{EnumTypeDefinition:a,EnumTypeExtension:a};function a(t){var a;const s=t.name.value;o[s]||(o[s]=Object.create(null));const u=null!==(a=t.values)&&void 0!==a?a:[],c=o[s];for(const t of u){const o=t.name.value,a=n[s];(0,i.isEnumType)(a)&&a.getValue(o)?e.reportError(new r.GraphQLError(`Enum value "${s}.${o}" already exists in the schema. It cannot also be defined in this type extension.`,{nodes:t.name})):c[o]?e.reportError(new r.GraphQLError(`Enum value "${s}.${o}" can only be defined once.`,{nodes:[c[o],t.name]})):c[o]=t.name}return!1}}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{UniqueFieldDefinitionNamesRule:()=>o});var r=n(462),i=n(480);function o(e){const t=e.getSchema(),n=t?t.getTypeMap():Object.create(null),i=Object.create(null);return{InputObjectTypeDefinition:o,InputObjectTypeExtension:o,InterfaceTypeDefinition:o,InterfaceTypeExtension:o,ObjectTypeDefinition:o,ObjectTypeExtension:o};function o(t){var o;const s=t.name.value;i[s]||(i[s]=Object.create(null));const u=null!==(o=t.fields)&&void 0!==o?o:[],c=i[s];for(const t of u){const i=t.name.value;a(n[s],i)?e.reportError(new r.GraphQLError(`Field "${s}.${i}" already exists in the schema. It cannot also be defined in this type extension.`,{nodes:t.name})):c[i]?e.reportError(new r.GraphQLError(`Field "${s}.${i}" can only be defined once.`,{nodes:[c[i],t.name]})):c[i]=t.name}return!1}}function a(e,t){return!!((0,i.isObjectType)(e)||(0,i.isInterfaceType)(e)||(0,i.isInputObjectType)(e))&&null!=e.getFields()[t]}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{UniqueArgumentDefinitionNamesRule:()=>o});var r=n(518),i=n(462);function o(e){return{DirectiveDefinition(e){var t;const r=null!==(t=e.arguments)&&void 0!==t?t:[];return n(`@${e.name.value}`,r)},InterfaceTypeDefinition:t,InterfaceTypeExtension:t,ObjectTypeDefinition:t,ObjectTypeExtension:t};function t(e){var t;const r=e.name.value,i=null!==(t=e.fields)&&void 0!==t?t:[];for(const e of i){var o;n(`${r}.${e.name.value}`,null!==(o=e.arguments)&&void 0!==o?o:[])}return!1}function n(t,n){const o=(0,r.groupBy)(n,(e=>
9e.name.value));for(const[n,r]of o)r.length>1&&e.reportError(new i.GraphQLError(`Argument "${t}(${n}:)" can only be defined once.`,{nodes:r.map((e=>e.name))}));return!1}}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{UniqueDirectiveNamesRule:()=>i});var r=n(462);function i(e){const t=Object.create(null),n=e.getSchema();return{DirectiveDefinition(i){const o=i.name.value;if(null==n||!n.getDirective(o))return t[o]?e.reportError(new r.GraphQLError(`There can be only one directive named "@${o}".`,{nodes:[t[o],i.name]})):t[o]=i.name,!1;e.reportError(new r.GraphQLError(`Directive "@${o}" already exists in the schema. It cannot be redefined.`,{nodes:i.name}))}}}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{PossibleTypeExtensionsRule:()=>f});var r=n(488),i=n(386),o=n(464),a=n(486),s=n(462),u=n(384),c=n(419),l=n(480);function f(e){const t=e.getSchema(),n=Object.create(null);for(const t of e.getDocument().definitions)(0,c.isTypeDefinitionNode)(t)&&(n[t.name.value]=t);return{ScalarTypeExtension:f,ObjectTypeExtension:f,InterfaceTypeExtension:f,UnionTypeExtension:f,EnumTypeExtension:f,InputObjectTypeExtension:f};function f(c){const f=c.name.value,d=n[f],h=null==t?void 0:t.getType(f);let m;if(d?m=p[d.kind]:h&&(m=function(e){if((0,l.isScalarType)(e))return u.Kind.SCALAR_TYPE_EXTENSION;if((0,l.isObjectType)(e))return u.Kind.OBJECT_TYPE_EXTENSION;if((0,l.isInterfaceType)(e))return u.Kind.INTERFACE_TYPE_EXTENSION;if((0,l.isUnionType)(e))return u.Kind.UNION_TYPE_EXTENSION;if((0,l.isEnumType)(e))return u.Kind.ENUM_TYPE_EXTENSION;if((0,l.isInputObjectType)(e))return u.Kind.INPUT_OBJECT_TYPE_EXTENSION;(0,o.invariant)(!1,"Unexpected type: "+(0,i.inspect)(e))}(h)),m){if(m!==c.kind){const t=function(e){switch(e){case u.Kind.SCALAR_TYPE_EXTENSION:return"scalar";case u.Kind.OBJECT_TYPE_EXTENSION:return"object";case u.Kind.INTERFACE_TYPE_EXTENSION:return"interface";case u.Kind.UNION_TYPE_EXTENSION:return"union";case u.Kind.ENUM_TYPE_EXTENSION:return"enum";case u.Kind.INPUT_OBJECT_TYPE_EXTENSION:return"input object";default:(0,o.invariant)(!1,"Unexpected kind: "+(0,i.inspect)(e))}}(c.kind);e.reportError(new s.GraphQLError(`Cannot extend non-${t} type "${f}".`,{nodes:d?[d,c]:c}))}}else{const i=Object.keys({...n,...null==t?void 0:t.getTypeMap()}),o=(0,a.suggestionList)(f,i);e.reportError(new s.GraphQLError(`Cannot extend type "${f}" because it is not defined.`+(0,r.didYouMean)(o),{nodes:c.name}))}}}const p={[u.Kind.SCALAR_TYPE_DEFINITION]:u.Kind.SCALAR_TYPE_EXTENSION,[u.Kind.OBJECT_TYPE_DEFINITION]:u.Kind.OBJECT_TYPE_EXTENSION,[u.Kind.INTERFACE_TYPE_DEFINITION]:u.Kind.INTERFACE_TYPE_EXTENSION,[u.Kind.UNION_TYPE_DEFINITION]:u.Kind.UNION_TYPE_EXTENSION,[u.Kind.ENUM_TYPE_DEFINITION]:u.Kind.ENUM_TYPE_EXTENSION,[u.Kind.INPUT_OBJECT_TYPE_DEFINITION]:u.Kind.INPUT_OBJECT_TYPE_EXTENSION}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{TypeInfo:()=>c,visitWithTypeInfo:()=>f});var r=n(383),i=n(384),o=n(382),a=n(480),s=n(490),u=n(502);class c{constructor(e,t,n){this._schema=e,this._typeStack=[],this._parentTypeStack=[],this._inputTypeStack=[],this._fieldDefStack=[],this._defaultValueStack=[],this._directive=null,this._argument=null,this._enumValue=null,this._getFieldDef=null!=n?n:l,t&&((0,a.isInputType)(t)&&this._inputTypeStack.push(t),(0,a.isCompositeType)(t)&&this._parentTypeStack.push(t),(0,a.isOutputType)(t)&&this._typeStack.push(t))}get[Symbol.toStringTag](){return"TypeInfo"}
9getType(){if(this._typeStack.length>0)return this._typeStack[this._typeStack.length-1]}getParentType(){if(this._parentTypeStack.length>0)return this._parentTypeStack[this._parentTypeStack.length-1]}getInputType(){if(this._inputTypeStack.length>0)return this._inputTypeStack[this._inputTypeStack.length-1]}getParentInputType(){if(this._inputTypeStack.length>1)return this._inputTypeStack[this._inputTypeStack.length-2]}getFieldDef(){if(this._fieldDefStack.length>0)return this._fieldDefStack[this._fieldDefStack.length-1]}getDefaultValue(){if(this._defaultValueStack.length>0)return this._defaultValueStack[this._defaultValueStack.length-1]}getDirective(){return this._directive}getArgument(){return this._argument}getEnumValue(){return this._enumValue}enter(e){const t=this._schema;switch(e.kind){case i.Kind.SELECTION_SET:{const e=(0,a.getNamedType)(this.getType());this._parentTypeStack.push((0,a.isCompositeType)(e)?e:void 0);break}case i.Kind.FIELD:{const n=this.getParentType();let r,i;n&&(r=this._getFieldDef(t,n,e),r&&(i=r.type)),this._fieldDefStack.push(r),this._typeStack.push((0,a.isOutputType)(i)?i:void 0);break}case i.Kind.DIRECTIVE:this._directive=t.getDirective(e.name.value);break;case i.Kind.OPERATION_DEFINITION:{const n=t.getRootType(e.operation);this._typeStack.push((0,a.isObjectType)(n)?n:void 0);break}case i.Kind.INLINE_FRAGMENT:case i.Kind.FRAGMENT_DEFINITION:{const n=e.typeCondition,r=n?(0,u.typeFromAST)(t,n):(0,a.getNamedType)(this.getType());this._typeStack.push((0,a.isOutputType)(r)?r:void 0);break}case i.Kind.VARIABLE_DEFINITION:{const n=(0,u.typeFromAST)(t,e.type);this._inputTypeStack.push((0,a.isInputType)(n)?n:void 0);break}case i.Kind.ARGUMENT:{var n;let t,r;const i=null!==(n=this.getDirective())&&void 0!==n?n:this.getFieldDef();i&&(t=i.args.find((t=>t.name===e.name.value)),t&&(r=t.type)),this._argument=t,this._defaultValueStack.push(t?t.defaultValue:void 0),this._inputTypeStack.push((0,a.isInputType)(r)?r:void 0);break}case i.Kind.LIST:{const e=(0,a.getNullableType)(this.getInputType()),t=(0,a.isListType)(e)?e.ofType:e;this._defaultValueStack.push(void 0),this._inputTypeStack.push((0,a.isInputType)(t)?t:void 0);break}case i.Kind.OBJECT_FIELD:{const t=(0,a.getNamedType)(this.getInputType());let n,r;(0,a.isInputObjectType)(t)&&(r=t.getFields()[e.name.value],r&&(n=r.type)),this._defaultValueStack.push(r?r.defaultValue:void 0),this._inputTypeStack.push((0,a.isInputType)(n)?n:void 0);break}case i.Kind.ENUM:{const t=(0,a.getNamedType)(this.getInputType());let n;(0,a.isEnumType)(t)&&(n=t.getValue(e.value)),this._enumValue=n;break}}}leave(e){switch(e.kind){case i.Kind.SELECTION_SET:this._parentTypeStack.pop();break;case i.Kind.FIELD:this._fieldDefStack.pop(),this._typeStack.pop();break;case i.Kind.DIRECTIVE:this._directive=null;break;case i.Kind.OPERATION_DEFINITION:case i.Kind.INLINE_FRAGMENT:case i.Kind.FRAGMENT_DEFINITION:this._typeStack.pop();break;case i.Kind.VARIABLE_DEFINITION:this._inputTypeStack.pop();break;case i.Kind.ARGUMENT:this._argument=null,this._defaultValueStack.pop(),this._inputTypeStack.pop();break;case i.Kind.LIST:case i.Kind.OBJECT_FIELD:this._defaultValueStack.pop(),this._inputTypeStack.pop();break;case i.Kind.ENUM:this._enumValue=null}}}function l(e,t,n){const r=n.name.value;return r===s.SchemaMetaFieldDef.name&&e.getQueryType()===t?s.SchemaMetaFieldDef:r===s.TypeMetaFieldDef.name&&e.getQueryType()===t?s.TypeMetaFieldDef:r===s.TypeNameMetaFieldDef.name&&(0,a.isCompositeType)(t)?s.TypeNameMetaFieldDef:(0,a.isObjectType)(t)||(0,a.isInterfaceType)(t)?t.getFields()[r]:void 0}function f(e,t){return{enter(...n){const i=n[0];e.enter(i);const a=(0,o.getEnterLeaveForKind)(t,i.kind).enter;if(a){const o=a.apply(t,n);return void 0!==o&&(e.leave(i),(0,r.isNode)(o)&&e.enter(o)),o}},leave(...n){const r=n[0],i=(0,o.getEnterLeaveForKind)(t,r.kind).leave;let a;return i&&(a=i.apply(t,n)),e.leave(r),a}}}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{ASTValidationContext:()=>a,SDLValidationContext:()=>s,ValidationContext:()=>u});var r=n(384),i=n(382),o=n(539);class a{constructor(e,t){this._ast=e,this._fragments=void 0,this._fragmentSpreads=new Map,this._recursivelyReferencedFragments=new Map,this._onError=t}get[Symbol.toStringTag](){return"ASTValidationContext"}reportError(e){this._onError(e)}getDocument(){return this._ast}getFragment(e){let t;if(this._fragments)t=this._fragments;else{t=Object.create(null);for(const e of this.getDocument().definitions)e.kind===r.Kind.FRAGMENT_DEFINITION&&(t[e.name.value]=e);this._fragments=t}return t[e]}getFragmentSpreads(e){let t=this._fragmentSpreads.get(e);if(!t){t=[];const n=[e];let i;for(;i=n.pop();)for(const e of i.selections)e.kind===r.Kind.FRAGMENT_SPREAD?t.push(e):e.selectionSet&&n.push(e.selectionSet);this._fragmentSpreads.set(e,t)}return t}getRecursivelyReferencedFragments(e){let t=this._recursivelyReferencedFragments.get(e);if(!t){t=[];const n=Object.create(null),r=[e.selectionSet];let i;for(;i=r.pop();)for(const e of this.getFragmentSpreads(i)){const i=e.name.value;if(!0!==n[i]){n[i]=!0;const e=this.getFragment(i);e&&(t.push(e),r.push(e.selectionSet))}}this._recursivelyReferencedFragments.set(e,t)}return t}}class s extends a{constructor(e,t,n){super(e,n),this._schema=t}get[Symbol.toStringTag](){return"SDLValidationContext"}getSchema(){return this._schema}}class u extends a{constructor(e,t,n,r){super(t,r),this._schema=e,this._typeInfo=n,this._variableUsages=new Map,this._recursiveVariableUsages=new Map}get[Symbol.toStringTag](){return"ValidationContext"}getSchema(){return this._schema}getVariableUsages(e){let t=this._variableUsages.get(e);if(!t){const n=[],r=new o.TypeInfo(this._schema);(0,i.visit)(e,(0,o.visitWithTypeInfo)(r,{VariableDefinition:()=>!1,Variable(e){n.push({node:e,type:r.getInputType(),defaultValue:r.getDefaultValue()})}})),t=n,this._variableUsages.set(e,t)}return t}getRecursiveVariableUsages(e){let t=this._recursiveVariableUsages.get(e);if(!t){t=this.getVariableUsages(e);for(const n of this.getRecursivelyReferencedFragments(e))t=t.concat(this.getVariableUsages(n));this._recursiveVariableUsages.set(e,t)}return t}getType(){return this._typeInfo.getType()}getParentType(){return this._typeInfo.getParentType()}getInputType(){return this._typeInfo.getInputType()}getParentInputType(){return this._typeInfo.getParentInputType()}getFieldDef(){return this._typeInfo.getFieldDef()}getDirective(){return this._typeInfo.getDirective()}getArgument(){return this._typeInfo.getArgument()}getEnumValue(){return this._typeInfo.getEnumValue()}}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{assertValidExecutionArguments:()=>x,buildExecutionContext:()=>
9k,buildResolveInfo:()=>A,defaultFieldResolver:()=>j,defaultTypeResolver:()=>M,execute:()=>w,executeSync:()=>T,getFieldDef:()=>F});var r=n(385),i=n(386),o=n(464),a=n(492),s=n(465),u=n(474),c=n(542),l=n(506),f=n(544),p=n(543),d=n(462),h=n(545),m=n(383),y=n(384),g=n(480),v=n(490),b=n(475),_=n(500),E=n(501);const S=(0,c.memoize3)(((e,t,n)=>(0,_.collectSubfields)(e.schema,e.fragments,e.variableValues,t,n)));function w(e){arguments.length<2||(0,r.devAssert)(!1,"graphql@16 dropped long-deprecated support for positional arguments, please pass an object instead.");const{schema:t,document:n,variableValues:i,rootValue:o}=e;x(t,n,i);const a=k(e);if(!("schema"in a))return{errors:a};try{const{operation:e}=a,t=function(e,t,n){const r=e.schema.getRootType(t.operation);if(null==r)throw new d.GraphQLError(`Schema is not configured to execute ${t.operation} operation.`,{nodes:t});const i=(0,_.collectFields)(e.schema,e.fragments,e.variableValues,r,t.selectionSet),o=void 0;switch(t.operation){case m.OperationTypeNode.QUERY:return R(e,r,n,o,i);case m.OperationTypeNode.MUTATION:return function(e,t,n,r,i){return(0,p.promiseReduce)(i.entries(),((i,[o,a])=>{const s=(0,l.addPath)(r,o,t.name),c=N(e,t,n,a,s);return void 0===c?i:(0,u.isPromise)(c)?c.then((e=>(i[o]=e,i))):(i[o]=c,i)}),Object.create(null))}(e,r,n,o,i);case m.OperationTypeNode.SUBSCRIPTION:return R(e,r,n,o,i)}}(a,e,o);return(0,u.isPromise)(t)?t.then((e=>O(e,a.errors)),(e=>(a.errors.push(e),O(null,a.errors)))):O(t,a.errors)}catch(e){return a.errors.push(e),O(null,a.errors)}}function T(e){const t=w(e);if((0,u.isPromise)(t))throw new Error("GraphQL execution failed to complete synchronously.");return t}function O(e,t){return 0===t.length?{data:e}:{errors:t,data:e}}function x(e,t,n){t||(0,r.devAssert)(!1,"Must provide document."),(0,b.assertValidSchema)(e),null==n||(0,s.isObjectLike)(n)||(0,r.devAssert)(!1,"Variables must be provided as an Object where each property is a variable value. Perhaps look to see if an unparsed JSON string was provided.")}function k(e){var t,n;const{schema:r,document:i,rootValue:o,contextValue:a,variableValues:s,operationName:u,fieldResolver:c,typeResolver:l,subscribeFieldResolver:f}=e;let p;const h=Object.create(null);for(const e of i.definitions)switch(e.kind){case y.Kind.OPERATION_DEFINITION:if(null==u){if(void 0!==p)return[new d.GraphQLError("Must provide operation name if query contains multiple operations.")];p=e}else(null===(t=e.name)||void 0===t?void 0:t.value)===u&&(p=e);break;case y.Kind.FRAGMENT_DEFINITION:h[e.name.value]=e}if(!p)return null!=u?[new d.GraphQLError(`Unknown operation named "${u}".`)]:[new d.GraphQLError("Must provide an operation.")];const m=null!==(n=p.variableDefinitions)&&void 0!==n?n:[],g=(0,E.getVariableValues)(r,m,null!=s?s:{},{maxErrors:50});return g.errors?g.errors:{schema:r,fragments:h,rootValue:o,contextValue:a,operation:p,variableValues:g.coerced,fieldResolver:null!=c?c:j,typeResolver:null!=l?l:M,subscribeFieldResolver:null!=f?f:j,errors:[]}}function R(e,t,n,r,i){const o=Object.create(null);let a=!1;try{for(const[s,c]of i.entries()){const i=N(e,t,n,c,(0,l.addPath)(r,s,t.name));void 0!==i&&(o[s]=i,(0,u.isPromise)(i)&&(a=!0))}}catch(e){if(a)return(0,f.promiseForObject)(o).finally((()=>{throw e}));throw e}return a?(0,f.promiseForObject)(o):o}function N(e,t,n,r,i){var o;const a=F(e.schema,t,r[0]);if(!a)return;const s=a.type,c=null!==(o=a.resolve)&&void 0!==o?o:e.fieldResolver,f=A(e,a,r,t,i);try{const t=(0,E.getArgumentValues)(a,r[0],e.variableValues),o=c(n,t,e.contextValue,f);let p;return p=(0,u.isPromise)(o)?o.then((t=>D(e,s,r,f,i,t))):D(e,s,r,f,i,o),(0,u.isPromise)(p)?p.then(void 0,(t=>I((0,h.locatedError)(t,r,(0,l.pathToArray)(i)),s,e))):p}catch(t){return I((0,h.locatedError)(t,r,(0,l.pathToArray)(i)),s,e)}}function A(e,t,n,r,i){return{fieldName:t.name,fieldNodes:n,returnType:t.type,parentType:r,path:i,schema:e.schema,fragments:e.fragments,rootValue:e.rootValue,operation:e.operation,variableValues:e.variableValues}}function I(e,t,n){if((0,g.isNonNullType)(t))throw e;return n.errors.push(e),null}function D(e,t,n,r,s,c){if(c instanceof Error)throw c;if((0,g.isNonNullType)(t)){const i=D(e,t.ofType,n,r,s,c);if(null===i)throw new Error(`Cannot return null for non-nullable field ${r.parentType.name}.${r.fieldName}.`);return i}return null==c?null:(0,g.isListType)(t)?function(e,t,n,r,i,o){if(!(0,a.isIterableObject)(o))throw new d.GraphQLError(`Expected Iterable, but did not find one for field "${r.parentType.name}.${r.fieldName}".`);const s=t.ofType;let c=!1;const f=Array.from(o,((t,o)=>{const a=(0,l.addPath)(i,o,void 0);try{let i;return i=(0,u.isPromise)(t)?t.then((t=>D(e,s,n,r,a,t))):D(e,s,n,r,a,t),(0,u.isPromise)(i)?(c=!0,i.then(void 0,(t=>I((0,h.locatedError)(t,n,(0,l.pathToArray)(a)),s,e)))):i}catch(t){return I((0,h.locatedError)(t,n,(0,l.pathToArray)(a)),s,e)}}
9));return c?Promise.all(f):f}(e,t,n,r,s,c):(0,g.isLeafType)(t)?function(e,t){const n=e.serialize(t);if(null==n)throw new Error(`Expected \`${(0,i.inspect)(e)}.serialize(${(0,i.inspect)(t)})\` to return non-nullable value, returned: ${(0,i.inspect)(n)}`);return n}(t,c):(0,g.isAbstractType)(t)?function(e,t,n,r,i,o){var a;const s=null!==(a=t.resolveType)&&void 0!==a?a:e.typeResolver,c=e.contextValue,l=s(o,c,r,t);if((0,u.isPromise)(l))return l.then((a=>P(e,C(a,e,t,n,r,o),n,r,i,o)));return P(e,C(l,e,t,n,r,o),n,r,i,o)}(e,t,n,r,s,c):(0,g.isObjectType)(t)?P(e,t,n,r,s,c):void(0,o.invariant)(!1,"Cannot complete value of unexpected output type: "+(0,i.inspect)(t))}function C(e,t,n,r,o,a){if(null==e)throw new d.GraphQLError(`Abstract type "${n.name}" must resolve to an Object type at runtime for field "${o.parentType.name}.${o.fieldName}". Either the "${n.name}" type should provide a "resolveType" function or each possible type should provide an "isTypeOf" function.`,r);if((0,g.isObjectType)(e))throw new d.GraphQLError("Support for returning GraphQLObjectType from resolveType was removed in [email protected] please return type name instead.");if("string"!=typeof e)throw new d.GraphQLError(`Abstract type "${n.name}" must resolve to an Object type at runtime for field "${o.parentType.name}.${o.fieldName}" with value ${(0,i.inspect)(a)}, received "${(0,i.inspect)(e)}".`);const s=t.schema.getType(e);if(null==s)throw new d.GraphQLError(`Abstract type "${n.name}" was resolved to a type "${e}" that does not exist inside the schema.`,{nodes:r});if(!(0,g.isObjectType)(s))throw new d.GraphQLError(`Abstract type "${n.name}" was resolved to a non-object type "${e}".`,{nodes:r});if(!t.schema.isSubType(n,s))throw new d.GraphQLError(`Runtime Object type "${s.name}" is not a possible type for "${n.name}".`,{nodes:r});return s}function P(e,t,n,r,i,o){const a=S(e,t,n);if(t.isTypeOf){const s=t.isTypeOf(o,e.contextValue,r);if((0,u.isPromise)(s))return s.then((r=>{if(!r)throw L(t,o,n);return R(e,t,o,i,a)}));if(!s)throw L(t,o,n)}return R(e,t,o,i,a)}function L(e,t,n){return new d.GraphQLError(`Expected value of type "${e.name}" but got: ${(0,i.inspect)(t)}.`,{nodes:n})}const M=function(e,t,n,r){if((0,s.isObjectLike)(e)&&"string"==typeof e.__typename)return e.__typename;const i=n.schema.getPossibleTypes(r),o=[];for(let r=0;r<i.length;r++){const a=i[r];if(a.isTypeOf){const i=a.isTypeOf(e,t,n);if((0,u.isPromise)(i))o[r]=i;else if(i)return a.name}}return o.length?Promise.all(o).then((e=>{for(let t=0;t<e.length;t++)if(e[t])return i[t].name})):void 0},j=function(e,t,n,r){if((0,s.isObjectLike)(e)||"function"==typeof e){const i=e[r.fieldName];return"function"==typeof i?e[r.fieldName](t,n,r):i}};function F(e,t,n){const r=n.name.value;return r===v.SchemaMetaFieldDef.name&&e.getQueryType()===t?v.SchemaMetaFieldDef:r===v.TypeMetaFieldDef.name&&e.getQueryType()===t?v.TypeMetaFieldDef:r===v.TypeNameMetaFieldDef.name?v.TypeNameMetaFieldDef:t.getFields()[r]}},(e,t,n)=>{"use strict";function r(e){let t;return function(n,r,i){void 0===t&&(t=new WeakMap);let o=t.get(n);void 0===o&&(o=new WeakMap,t.set(n,o));let a=o.get(r);void 0===a&&(a=new WeakMap,o.set(r,a));let s=a.get(i);return void 0===s&&(s=e(n,r,i),a.set(i,s)),s}}n.r(t),n.d(t,{memoize3:()=>r})},(e,t,n)=>{"use strict";n.r(t),n.d(t,{promiseReduce:()=>i});var r=n(474);function i(e,t,n){let i=n;for(const n of e)i=(0,r.isPromise)(i)?i.then((e=>t(e,n))):t(i,n);return i}},(e,t,n)=>{"use strict";function r(e){return Promise.all(Object.values(e)).then((t=>{const n=Object.create(null);for(const[r,i]of Object.keys(e).entries())n[i]=t[r];return n}))}n.r(t),n.d(t,{promiseForObject:()=>r})},(e,t,n)=>{"use strict";n.r(t),n.d(t,{locatedError:()=>o});var r=n(546),i=n(462);function o(e,t,n){var o;const a=(0,r.toError)(e);return s=a,Array.isArray(s.path)?a:new i.GraphQLError(a.message,{nodes:null!==(o=a.nodes)&&void 0!==o?o:t,source:a.source,positions:a.positions,path:n,originalError:a});var s}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{toError:()=>i});var r=n(386);function i(e){return e instanceof Error?e:new o(e)}class o extends Error{constructor(e){super("Unexpected error value: "+(0,r.inspect)(e)),this.name="NonErrorThrown",this.thrownValue=e}}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{createSourceEventStream:()=>h,subscribe:()=>d});var r=n(385),i=n(386),o=n(548),a=n(506),s=n(462),u=n(545),c=n(500),l=n(541),f=n(549),p=n(501);async function d(e){arguments.length<2||(0,r.devAssert)(!1,"graphql@16 dropped long-deprecated support for positional arguments, please pass an object instead.");const t=await h(e);
9if(!(0,o.isAsyncIterable)(t))return t;return(0,f.mapAsyncIterator)(t,(t=>(0,l.execute)({...e,rootValue:t})))}async function h(...e){const t=function(e){const t=e[0];return t&&"document"in t?t:{schema:t,document:e[1],rootValue:e[2],contextValue:e[3],variableValues:e[4],operationName:e[5],subscribeFieldResolver:e[6]}}(e),{schema:n,document:r,variableValues:f}=t;(0,l.assertValidExecutionArguments)(n,r,f);const d=(0,l.buildExecutionContext)(t);if(!("schema"in d))return{errors:d};try{const e=await async function(e){const{schema:t,fragments:n,operation:r,variableValues:i,rootValue:o}=e,f=t.getSubscriptionType();if(null==f)throw new s.GraphQLError("Schema is not configured to execute subscription operation.",{nodes:r});const d=(0,c.collectFields)(t,n,i,f,r.selectionSet),[h,m]=[...d.entries()][0],y=(0,l.getFieldDef)(t,f,m[0]);if(!y){const e=m[0].name.value;throw new s.GraphQLError(`The subscription field "${e}" is not defined.`,{nodes:m})}const g=(0,a.addPath)(void 0,h,f.name),v=(0,l.buildResolveInfo)(e,y,m,f,g);try{var b;const t=(0,p.getArgumentValues)(y,m[0],i),n=e.contextValue,r=null!==(b=y.subscribe)&&void 0!==b?b:e.subscribeFieldResolver,a=await r(o,t,n,v);if(a instanceof Error)throw a;return a}catch(e){throw(0,u.locatedError)(e,m,(0,a.pathToArray)(g))}}(d);if(!(0,o.isAsyncIterable)(e))throw new Error(`Subscription field must return Async Iterable. Received: ${(0,i.inspect)(e)}.`);return e}catch(e){if(e instanceof s.GraphQLError)return{errors:[e]};throw e}}},(e,t,n)=>{"use strict";function r(e){return"function"==typeof(null==e?void 0:e[Symbol.asyncIterator])}n.r(t),n.d(t,{isAsyncIterable:()=>r})},(e,t,n)=>{"use strict";function r(e,t){const n=e[Symbol.asyncIterator]();async function r(e){if(e.done)return e;try{return{value:await t(e.value),done:!1}}catch(e){if("function"==typeof n.return)try{await n.return()}catch(e){}throw e}}return{next:async()=>r(await n.next()),return:async()=>"function"==typeof n.return?r(await n.return()):{value:void 0,done:!0},async throw(e){if("function"==typeof n.throw)return r(await n.throw(e));throw e},[Symbol.asyncIterator](){return this}}}n.r(t),n.d(t,{mapAsyncIterator:()=>r})},(e,t,n)=>{"use strict";n.r(t),n.d(t,{NoDeprecatedCustomRule:()=>a});var r=n(464),i=n(462),o=n(480);function a(e){return{Field(t){const n=e.getFieldDef(),o=null==n?void 0:n.deprecationReason;if(n&&null!=o){const a=e.getParentType();null!=a||(0,r.invariant)(!1),e.reportError(new i.GraphQLError(`The field ${a.name}.${n.name} is deprecated. ${o}`,{nodes:t}))}},Argument(t){const n=e.getArgument(),o=null==n?void 0:n.deprecationReason;if(n&&null!=o){const a=e.getDirective();if(null!=a)e.reportError(new i.GraphQLError(`Directive "@${a.name}" argument "${n.name}" is deprecated. ${o}`,{nodes:t}));else{const a=e.getParentType(),s=e.getFieldDef();null!=a&&null!=s||(0,r.invariant)(!1),e.reportError(new i.GraphQLError(`Field "${a.name}.${s.name}" argument "${n.name}" is deprecated. ${o}`,{nodes:t}))}}},ObjectField(t){const n=(0,o.getNamedType)(e.getParentInputType());if((0,o.isInputObjectType)(n)){const r=n.getFields()[t.name.value],o=null==r?void 0:r.deprecationReason;null!=o&&e.reportError(new i.GraphQLError(`The input field ${n.name}.${r.name} is deprecated. ${o}`,{nodes:t}))}},EnumValue(t){const n=e.getEnumValue(),a=null==n?void 0:n.deprecationReason;if(n&&null!=a){const s=(0,o.getNamedType)(e.getInputType());null!=s||(0,r.invariant)(!1),e.reportError(new i.GraphQLError(`The enum value "${s.name}.${n.name}" is deprecated. ${a}`,{nodes:t}))}}}}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{NoSchemaIntrospectionCustomRule:()=>a});var r=n(462),i=n(480),o=n(490);function a(e){return{Field(t){const n=(0,i.getNamedType)(e.getType());n&&(0,o.isIntrospectionType)(n)&&e.reportError(new r.GraphQLError(`GraphQL introspection has been disabled, but the requested query contained the field "${t.name.value}".`,{nodes:t}))}}}},(e,t,n)=>{"use strict";function r(e){const t={descriptions:!0,specifiedByUrl:!1,directiveIsRepeatable:!1,schemaDescription:!1,inputValueDeprecation:!1,...e},n=t.descriptions?"description":"",r=t.specifiedByUrl?"specifiedByURL":"",i=t.directiveIsRepeatable?"isRepeatable":"";function o(e){return t.inputValueDeprecation?e:""}return`\n    query IntrospectionQuery {\n      __schema {\n        ${t.schemaDescription?n:""}\n        queryType { name }\n        mutationType { name }\n        subscriptionType { name }\n        types {\n          ...FullType\n        }
9\n        directives {\n          name\n          ${n}\n          ${i}\n          locations\n          args${o("(includeDeprecated: true)")} {\n            ...InputValue\n          }\n        }\n      }\n    }\n\n    fragment FullType on __Type {\n      kind\n      name\n      ${n}\n      ${r}\n      fields(includeDeprecated: true) {\n        name\n        ${n}\n        args${o("(includeDeprecated: true)")} {\n          ...InputValue\n        }\n        type {\n          ...TypeRef\n        }\n        isDeprecated\n        deprecationReason\n      }\n      inputFields${o("(includeDeprecated: true)")} {\n        ...InputValue\n      }\n      interfaces {\n        ...TypeRef\n      }\n      enumValues(includeDeprecated: true) {\n        name\n        ${n}\n        isDeprecated\n        deprecationReason\n      }\n      possibleTypes {\n        ...TypeRef\n      }\n    }\n\n    fragment InputValue on __InputValue {\n      name\n      ${n}\n      type { ...TypeRef }\n      defaultValue\n      ${o("isDeprecated")}\n      ${o("deprecationReason")}\n    }\n\n    fragment TypeRef on __Type {\n      kind\n      name\n      ofType {\n        kind\n        name\n        ofType {\n          kind\n          name\n          ofType {\n            kind\n            name\n            ofType {\n              kind\n              name\n              ofType {\n                kind\n                name\n                ofType {\n                  kind\n                  name\n                  ofType {\n                    kind\n                    name\n                    ofType {\n                      kind\n                      name\n                      ofType {\n                        kind\n                        name\n                      }\n                    }\n                  }\n                }\n              }\n            }\n          }\n        }\n      }\n    }\n  `}n.r(t),n.d(t,{getIntrospectionQuery:()=>r})},(e,t,n)=>{"use strict";n.r(t),n.d(t,{getOperationAST:()=>i});var r=n(384);function i(e,t){let n=null;for(const o of e.definitions){var i;if(o.kind===r.Kind.OPERATION_DEFINITION)if(null==t){if(n)return null;n=o}else if((null===(i=o.name)||void 0===i?void 0:i.value)===t)return o}return n}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{getOperationRootType:()=>i});var r=n(462);function i(e,t){if("query"===t.operation){const n=e.getQueryType();if(!n)throw new r.GraphQLError("Schema does not define the required query root type.",{nodes:t});return n}if("mutation"===t.operation){const n=e.getMutationType();if(!n)throw new r.GraphQLError("Schema is not configured for mutations.",{nodes:t});return n}if("subscription"===t.operation){const n=e.getSubscriptionType();if(!n)throw new r.GraphQLError("Schema is not configured for subscriptions.",{nodes:t});return n}throw new r.GraphQLError("Can only have query, mutation and subscription operations.",{nodes:t})}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{introspectionFromSchema:()=>s});var r=n(464),i=n(456),o=n(541),a=n(552);function s(e,t){const n={specifiedByUrl:!0,directiveIsRepeatable:!0,schemaDescription:!0,inputValueDeprecation:!0,...t},s=(0,i.parse)((0,a.getIntrospectionQuery)(n)),u=(0,o.executeSync)({schema:e,document:s});return!u.errors&&u.data||(0,r.invariant)(!1),u.data}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{buildClientSchema:()=>h});var r=n(385),i=n(386),o=n(465),a=n(483),s=n(456),u=n(480),c=n(478),l=n(490),f=n(489),p=n(476),d=n(503);function h(e,t){(0,o.isObjectLike)(e)&&(0,o.isObjectLike)(e.__schema)||(0,r.devAssert)(!1,`Invalid or incomplete introspection result. Ensure that you are passing "data" property of introspection response and no "errors" was returned alongside: ${(0,i.inspect)(e)}.`);const n=e.__schema,h=(0,a.keyValMap)(n.types,(e=>e.name),(e=>function(e){if(null!=e&&null!=e.name&&null!=e.kind)switch(e.kind){case l.TypeKind.SCALAR:return r=e,new u.GraphQLScalarType({name:r.name,description:r.description,specifiedByURL:r.specifiedByURL});case l.TypeKind.OBJECT:return n=e,new u.GraphQLObjectType({name:n.name,description:n.description,interfaces:()=>w(n),fields:()=>T(n)});case l.TypeKind.INTERFACE:return t=e,new u.GraphQLInterfaceType({name:t.name,description:t.description,interfaces:()=>w(t),fields:()=>T(t)});case l.TypeKind.UNION:return function(e){if(!e.possibleTypes){const t=(0,i.inspect)(e);throw new Error(`Introspection result missing possibleTypes: ${t}.`)}return new u.GraphQLUnionType({name:e.name,description:e.description,types:()=>e.possibleTypes.map(E)})}(e);case l.TypeKind.ENUM:return function(e){if(!e.enumValues){const t=(0,i.inspect)(e);throw new Error(`Introspection result missing enumValues: ${t}.`)}return new u.GraphQLEnumType({name:e.name,description:e.description,values:(0,a.keyValMap)(e.enumValues,(e=>
9e.name),(e=>({description:e.description,deprecationReason:e.deprecationReason})))})}(e);case l.TypeKind.INPUT_OBJECT:return function(e){if(!e.inputFields){const t=(0,i.inspect)(e);throw new Error(`Introspection result missing inputFields: ${t}.`)}return new u.GraphQLInputObjectType({name:e.name,description:e.description,fields:()=>x(e.inputFields)})}(e)}var t;var n;var r;const o=(0,i.inspect)(e);throw new Error(`Invalid or incomplete introspection result. Ensure that a full introspection query is used in order to build a client schema: ${o}.`)}(e)));for(const e of[...f.specifiedScalarTypes,...l.introspectionTypes])h[e.name]&&(h[e.name]=e);const m=n.queryType?E(n.queryType):null,y=n.mutationType?E(n.mutationType):null,g=n.subscriptionType?E(n.subscriptionType):null,v=n.directives?n.directives.map((function(e){if(!e.args){const t=(0,i.inspect)(e);throw new Error(`Introspection result missing directive args: ${t}.`)}if(!e.locations){const t=(0,i.inspect)(e);throw new Error(`Introspection result missing directive locations: ${t}.`)}return new c.GraphQLDirective({name:e.name,description:e.description,isRepeatable:e.isRepeatable,locations:e.locations.slice(),args:x(e.args)})})):[];return new p.GraphQLSchema({description:n.description,query:m,mutation:y,subscription:g,types:Object.values(h),directives:v,assumeValid:null==t?void 0:t.assumeValid});function b(e){if(e.kind===l.TypeKind.LIST){const t=e.ofType;if(!t)throw new Error("Decorated type deeper than introspection query.");return new u.GraphQLList(b(t))}if(e.kind===l.TypeKind.NON_NULL){const t=e.ofType;if(!t)throw new Error("Decorated type deeper than introspection query.");const n=b(t);return new u.GraphQLNonNull((0,u.assertNullableType)(n))}return _(e)}function _(e){const t=e.name;if(!t)throw new Error(`Unknown type reference: ${(0,i.inspect)(e)}.`);const n=h[t];if(!n)throw new Error(`Invalid or incomplete schema, unknown type: ${t}. Ensure that a full introspection query is used in order to build a client schema.`);return n}function E(e){return(0,u.assertObjectType)(_(e))}function S(e){return(0,u.assertInterfaceType)(_(e))}function w(e){if(null===e.interfaces&&e.kind===l.TypeKind.INTERFACE)return[];if(!e.interfaces){const t=(0,i.inspect)(e);throw new Error(`Introspection result missing interfaces: ${t}.`)}return e.interfaces.map(S)}function T(e){if(!e.fields)throw new Error(`Introspection result missing fields: ${(0,i.inspect)(e)}.`);return(0,a.keyValMap)(e.fields,(e=>e.name),O)}function O(e){const t=b(e.type);if(!(0,u.isOutputType)(t)){const e=(0,i.inspect)(t);throw new Error(`Introspection must provide output type for fields, but received: ${e}.`)}if(!e.args){const t=(0,i.inspect)(e);throw new Error(`Introspection result missing field args: ${t}.`)}return{description:e.description,deprecationReason:e.deprecationReason,type:t,args:x(e.args)}}function x(e){return(0,a.keyValMap)(e,(e=>e.name),k)}function k(e){const t=b(e.type);if(!(0,u.isInputType)(t)){const e=(0,i.inspect)(t);throw new Error(`Introspection must provide input type for arguments, but received: ${e}.`)}const n=null!=e.defaultValue?(0,d.valueFromAST)((0,s.parseValue)(e.defaultValue),t):void 0;return{description:e.description,type:t,defaultValue:n,deprecationReason:e.deprecationReason}}}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{buildASTSchema:()=>l,buildSchema:()=>f});var r=n(385),i=n(384),o=n(456),a=n(478),s=n(476),u=n(494),c=n(558);function l(e,t){null!=e&&e.kind===i.Kind.DOCUMENT||(0,r.devAssert)(!1,"Must provide valid Document AST."),!0!==(null==t?void 0:t.assumeValid)&&!0!==(null==t?void 0:t.assumeValidSDL)&&(0,u.assertValidSDL)(e);const n={description:void 0,types:[],directives:[],extensions:Object.create(null),extensionASTNodes:[],assumeValid:!1},o=(0,c.extendSchemaImpl)(n,e,t);if(null==o.astNode)for(const e of o.types)switch(e.name){case"Query":o.query=e;break;case"Mutation":o.mutation=e;break;case"Subscription":o.subscription=e}const l=[...o.directives,...a.specifiedDirectives.filter((e=>o.directives.every((t=>t.name!==e.name))))];return new s.GraphQLSchema({...o,directives:l})}function f(e,t){return l((0,o.parse)(e,{noLocation:null==t?void 0:t.noLocation,allowLegacyFragmentVariables:null==t?void 0:t.allowLegacyFragmentVariables}),{assumeValidSDL:null==t?void 0:t.assumeValidSDL,assumeValid:null==t?void 0:t.assumeValid})}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{extendSchema:()=>v,extendSchemaImpl:()=>b});var r=n(385),i=n(386),o=n(464),a=n(485),s=n(484),u=n(384),c=n(419),l=n(480),f=n(478),p=n(490),d=n(489),h=n(476),m=n(494),y=n(501),g=n(503);function v(e,t,n){(0,h.assertSchema)(e),null!=t&&t.kind===u.Kind.DOCUMENT||(0,r.devAssert)(!1,"Must provide valid Document AST."),!0!==(null==n?void 0:n.assumeValid)&&!0!==(null==n?void 0:n.assumeValidSDL)&&(0,m.assertValidSDLExtension)(t,e);const i=e.toConfig(),o=b(i,t,n);return i===o?e:new h.GraphQLSchema(o)}function b(e,t,n){var r,a,h,m;const y=[],v=Object.create(null),b=[];let w;const T=[];for(const e of t.definitions)if(e.kind===u.Kind.SCHEMA_DEFINITION)w=e;else if(e.kind===u.Kind.SCHEMA_EXTENSION)T.push(e);else if((0,c.isTypeDefinitionNode)(e))y.push(e);else if((0,c.isTypeExtensionNode)(e)){const t=e.name.value,n=v[t];v[t]=n?n.concat([e]):[e]}else e.kind===u.Kind.DIRECTIVE_DEFINITION&&b.push(e);if(0===Object.keys(v).length&&0===y.length&&0===b.length&&0===T.length&&null==w)return e;const O=Object.create(null);for(const t of e.types)O[t.name]=A(t);for(const e of y){var x;const t=e.name.value;O[t]=null!==(x=_[t])&&void 0!==x?x:G(e)}const k={query:e.query&&N(e.query),mutation:e.mutation&&N(e.mutation),subscription:e.subscription&&N(e.subscription),...w&&C([w]),...C(T)};return{description:null===(r=w)||void 0===r||null===(a=r.description)||void 0===a?void 0:a.value,...k,types:Object.values(O),directives:[...e.directives.map((function(e){const t=e.toConfig();return new f.GraphQLDirective({...t,args:(0,s.mapValue)(t.args,D)})})),...b.map((function(e){var t;return new f.GraphQLDirective({name:e.name.value,description:null===(t=e.description)||void 0===t?void 0:t.value,locations:e.locations.map((({value:e})=>e)),isRepeatable:e.repeatable,args:j(e.arguments),astNode:e})}))],extensions:Object.create(null),astNode:null!==(h=w)&&void 0!==h?h:e.astNode,extensionASTNodes:e.extensionASTNodes.concat(T),assumeValid:null!==(m=null==n?void 0:n.assumeValid)&&void 0!==m&&m};function R(e){return(0,l.isListType)(e)?new l.GraphQLList(R(e.ofType)):(0,l.isNonNullType)(e)?new l.GraphQLNonNull(R(e.ofType)):N(e)}function N(e){return O[e.name]}function A(e){return(0,p.isIntrospectionType)(e)||(0,d.isSpecifiedScalarType)(e)?e:(0,l.isScalarType)(e)?function(e){var t;const n=e.toConfig(),r=null!==(t=v[n.name])&&void 0!==t?t:[];let i=n.specifiedByURL;for(const e of r){var o;i=null!==(o=S(e))&&void 0!==o?o:i}return new l.GraphQLScalarType({...n,specifiedByURL:i,extensionASTNodes:n.extensionASTNodes.concat(r)})}(e):(0,l.isObjectType)(e)?function(e){var t;const n=e.toConfig(),r=null!==(t=v[n.name])&&void 0!==t?t:[];return new l.GraphQLObjectType({...n,interfaces:()=>[...e.getInterfaces().map(N),...B(r)],fields:()=>({...(0,s.mapValue)(n.fields,I),...M(r)}),extensionASTNodes:n.extensionASTNodes.concat(r)})}(e):(0,l.isInterfaceType)(e)?function(e){var t;const n=e.toConfig(),r=null!==(t=v[n.name])&&void 0!==t?t:[];return new l.GraphQLInterfaceType({...n,interfaces:()=>[...e.getInterfaces().map(N),...B(r)],fields:()=>({...(0,s.mapValue)(n.fields,I),...M(r)}),extensionASTNodes:n.extensionASTNodes.concat(r)})}(e):(0,l.isUnionType)(e)?function(e){var t;const n=e.toConfig(),r=null!==(t=v[n.name])&&void 0!==t?t:[];return new l.GraphQLUnionType({...n,types:()=>[...e.getTypes().map(N),...q(r)],extensionASTNodes:n.extensionASTNodes.concat(r)})}(e):(0,l.isEnumType)(e)?function(e){var t;const n=e.toConfig(),r=null!==(t=v[e.name])&&void 0!==t?t:[];return new l.GraphQLEnumType({...n,values:{...n.values,...U(r)},extensionASTNodes:n.extensionASTNodes.concat(r)})}(e):(0,l.isInputObjectType)(e)?function(e){var t;const n=e.toConfig(),r=null!==(t=v[n.name])&&void 0!==t?t:[];return new l.GraphQLInputObjectType({...n,fields:()=>
9({...(0,s.mapValue)(n.fields,(e=>({...e,type:R(e.type)}))),...F(r)}),extensionASTNodes:n.extensionASTNodes.concat(r)})}(e):void(0,o.invariant)(!1,"Unexpected type: "+(0,i.inspect)(e))}function I(e){return{...e,type:R(e.type),args:e.args&&(0,s.mapValue)(e.args,D)}}function D(e){return{...e,type:R(e.type)}}function C(e){const t={};for(const r of e){var n;const e=null!==(n=r.operationTypes)&&void 0!==n?n:[];for(const n of e)t[n.operation]=P(n.type)}return t}function P(e){var t;const n=e.name.value,r=null!==(t=_[n])&&void 0!==t?t:O[n];if(void 0===r)throw new Error(`Unknown type: "${n}".`);return r}function L(e){return e.kind===u.Kind.LIST_TYPE?new l.GraphQLList(L(e.type)):e.kind===u.Kind.NON_NULL_TYPE?new l.GraphQLNonNull(L(e.type)):P(e)}function M(e){const t=Object.create(null);for(const i of e){var n;const e=null!==(n=i.fields)&&void 0!==n?n:[];for(const n of e){var r;t[n.name.value]={type:L(n.type),description:null===(r=n.description)||void 0===r?void 0:r.value,args:j(n.arguments),deprecationReason:E(n),astNode:n}}}return t}function j(e){const t=null!=e?e:[],n=Object.create(null);for(const e of t){var r;const t=L(e.type);n[e.name.value]={type:t,description:null===(r=e.description)||void 0===r?void 0:r.value,defaultValue:(0,g.valueFromAST)(e.defaultValue,t),deprecationReason:E(e),astNode:e}}return n}function F(e){const t=Object.create(null);for(const i of e){var n;const e=null!==(n=i.fields)&&void 0!==n?n:[];for(const n of e){var r;const e=L(n.type);t[n.name.value]={type:e,description:null===(r=n.description)||void 0===r?void 0:r.value,defaultValue:(0,g.valueFromAST)(n.defaultValue,e),deprecationReason:E(n),astNode:n}}}return t}function U(e){const t=Object.create(null);for(const i of e){var n;const e=null!==(n=i.values)&&void 0!==n?n:[];for(const n of e){var r;t[n.name.value]={description:null===(r=n.description)||void 0===r?void 0:r.value,deprecationReason:E(n),astNode:n}}}return t}function B(e){return e.flatMap((e=>{var t,n;return null!==(t=null===(n=e.interfaces)||void 0===n?void 0:n.map(P))&&void 0!==t?t:[]}))}function q(e){return e.flatMap((e=>{var t,n;return null!==(t=null===(n=e.types)||void 0===n?void 0:n.map(P))&&void 0!==t?t:[]}))}function G(e){var t;const n=e.name.value,r=null!==(t=v[n])&&void 0!==t?t:[];switch(e.kind){case u.Kind.OBJECT_TYPE_DEFINITION:{var i;const t=[e,...r];return new l.GraphQLObjectType({name:n,description:null===(i=e.description)||void 0===i?void 0:i.value,interfaces:()=>B(t),fields:()=>M(t),astNode:e,extensionASTNodes:r})}case u.Kind.INTERFACE_TYPE_DEFINITION:{var o;const t=[e,...r];return new l.GraphQLInterfaceType({name:n,description:null===(o=e.description)||void 0===o?void 0:o.value,interfaces:()=>B(t),fields:()=>M(t),astNode:e,extensionASTNodes:r})}case u.Kind.ENUM_TYPE_DEFINITION:{var a;const t=[e,...r];return new l.GraphQLEnumType({name:n,description:null===(a=e.description)||void 0===a?void 0:a.value,values:U(t),astNode:e,extensionASTNodes:r})}case u.Kind.UNION_TYPE_DEFINITION:{var s;const t=[e,...r];return new l.GraphQLUnionType({name:n,description:null===(s=e.description)||void 0===s?void 0:s.value,types:()=>q(t),astNode:e,extensionASTNodes:r})}case u.Kind.SCALAR_TYPE_DEFINITION:var c;return new l.GraphQLScalarType({name:n,description:null===(c=e.description)||void 0===c?void 0:c.value,specifiedByURL:S(e),astNode:e,extensionASTNodes:r});case u.Kind.INPUT_OBJECT_TYPE_DEFINITION:{var f;const t=[e,...r];return new l.GraphQLInputObjectType({name:n,description:null===(f=e.description)||void 0===f?void 0:f.value,fields:()=>F(t),astNode:e,extensionASTNodes:r})}}}}const _=(0,a.keyMap)([...d.specifiedScalarTypes,...p.introspectionTypes],(e=>e.name));function E(e){const t=(0,y.getDirectiveValues)(f.GraphQLDeprecatedDirective,e);return null==t?void 0:t.reason}function S(e){const t=(0,y.getDirectiveValues)(f.GraphQLSpecifiedByDirective,e);return null==t?void 0:t.url}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{lexicographicSortSchema:()=>f});var r=n(386),i=n(464),o=n(483),a=n(487),s=n(480),u=n(478),c=n(490),l=n(476);function f(e){const t=e.toConfig(),n=(0,o.keyValMap)(d(t.types),(e=>e.name),(function(e){if((0,s.isScalarType)(e)||(0,c.isIntrospectionType)(e))return e;if((0,s.isObjectType)(e)){const t=e.toConfig();return new s.GraphQLObjectType({...t,interfaces:()=>v(t.interfaces),fields:()=>g(t.fields)})}if((0,s.isInterfaceType)(e)){const t=e.toConfig();return new s.GraphQLInterfaceType({...t,interfaces:()=>v(t.interfaces),fields:()=>g(t.fields)})}if((0,s.isUnionType)(e)){const t=e.toConfig();return new s.GraphQLUnionType({...t,types:()=>v(t.types)})}if((0,s.isEnumType)(e)){const t=e.toConfig();return new s.GraphQLEnumType({...t,values:p(t.values,(e=>e))})}if((0,s.isInputObjectType)(e)){const t=e.toConfig();return new s.GraphQLInputObjectType({...t,fields:()=>p(t.fields,(e=>({...e,type:a(e.type)})))})}(0,i.invariant)(!1,"Unexpected type: "+(0,r.inspect)(e))}));return new l.GraphQLSchema({...t,types:Object.values(n),directives:d(t.directives).map((function(e){const t=e.toConfig();return new u.GraphQLDirective({...t,locations:h(t.locations,(e=>e)),args:y(t.args)})})),query:m(t.query),mutation:m(t.mutation),subscription:m(t.subscription)});function a(e){return(0,s.isListType)(e)?new s.GraphQLList(a(e.ofType)):(0,s.isNonNullType)(e)?new s.GraphQLNonNull(a(e.ofType)):f(e)}function f(e){return n[e.name]}function m(e){return e&&f(e)}function y(e){return p(e,(e=>({...e,type:a(e.type)})))}function g(e){return p(e,(e=>({...e,type:a(e.type),args:e.args&&y(e.args)})))}function v(e){return d(e).map(f)}}function p(e,t){const n=Object.create(null);for(const r of Object.keys(e).sort(a.naturalCompare))n[r]=t(e[r]);return n}function d(e){return h(e,(e=>e.name))}function h(e,t){return e.slice().sort(((e,n)=>{const r=t(e),i=t(n);return(0,a.naturalCompare)(r,i)}))}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{printIntrospectionSchema:()=>h,printSchema:()=>d,printType:()=>v});var r=n(386),i=n(464),o=n(387),a=n(384),s=n(381),u=n(480),c=n(478),l=n(490),f=n(489),p=n(49
91);function d(e){return y(e,(e=>!(0,c.isSpecifiedDirective)(e)),m)}function h(e){return y(e,c.isSpecifiedDirective,l.isIntrospectionType)}function m(e){return!(0,f.isSpecifiedScalarType)(e)&&!(0,l.isIntrospectionType)(e)}function y(e,t,n){const r=e.getDirectives().filter(t),i=Object.values(e.getTypeMap()).filter(n);return[g(e),...r.map((e=>function(e){return O(e)+"directive @"+e.name+S(e.args)+(e.isRepeatable?" repeatable":"")+" on "+e.locations.join(" | ")}(e))),...i.map((e=>v(e)))].filter(Boolean).join("\n\n")}function g(e){if(null==e.description&&function(e){const t=e.getQueryType();if(t&&"Query"!==t.name)return!1;const n=e.getMutationType();if(n&&"Mutation"!==n.name)return!1;const r=e.getSubscriptionType();if(r&&"Subscription"!==r.name)return!1;return!0}(e))return;const t=[],n=e.getQueryType();n&&t.push(`  query: ${n.name}`);const r=e.getMutationType();r&&t.push(`  mutation: ${r.name}`);const i=e.getSubscriptionType();return i&&t.push(`  subscription: ${i.name}`),O(e)+`schema {\n${t.join("\n")}\n}`}function v(e){return(0,u.isScalarType)(e)?function(e){return O(e)+`scalar ${e.name}`+function(e){if(null==e.specifiedByURL)return"";return` @specifiedBy(url: ${(0,s.print)({kind:a.Kind.STRING,value:e.specifiedByURL})})`}(e)}(e):(0,u.isObjectType)(e)?function(e){return O(e)+`type ${e.name}`+b(e)+_(e)}(e):(0,u.isInterfaceType)(e)?function(e){return O(e)+`interface ${e.name}`+b(e)+_(e)}(e):(0,u.isUnionType)(e)?function(e){const t=e.getTypes(),n=t.length?" = "+t.join(" | "):"";return O(e)+"union "+e.name+n}(e):(0,u.isEnumType)(e)?function(e){const t=e.getValues().map(((e,t)=>O(e,"  ",!t)+"  "+e.name+T(e.deprecationReason)));return O(e)+`enum ${e.name}`+E(t)}(e):(0,u.isInputObjectType)(e)?function(e){const t=Object.values(e.getFields()).map(((e,t)=>O(e,"  ",!t)+"  "+w(e)));return O(e)+`input ${e.name}`+E(t)}(e):void(0,i.invariant)(!1,"Unexpected type: "+(0,r.inspect)(e))}function b(e){const t=e.getInterfaces();return t.length?" implements "+t.map((e=>e.name)).join(" & "):""}function _(e){return E(Object.values(e.getFields()).map(((e,t)=>O(e,"  ",!t)+"  "+e.name+S(e.args,"  ")+": "+String(e.type)+T(e.deprecationReason))))}function E(e){return 0!==e.length?" {\n"+e.join("\n")+"\n}":""}function S(e,t=""){return 0===e.length?"":e.every((e=>!e.description))?"("+e.map(w).join(", ")+")":"(\n"+e.map(((e,n)=>O(e,"  "+t,!n)+"  "+t+w(e))).join("\n")+"\n"+t+")"}function w(e){const t=(0,p.astFromValue)(e.defaultValue,e.type);let n=e.name+": "+String(e.type);return t&&(n+=` = ${(0,s.print)(t)}`),n+T(e.deprecationReason)}function T(e){if(null==e)return"";if(e!==c.DEFAULT_DEPRECATION_REASON){return` @deprecated(reason: ${(0,s.print)({kind:a.Kind.STRING,value:e})})`}return" @deprecated"}function O(e,t="",n=!0){const{description:r}=e;if(null==r)return"";return(t&&!n?"\n"+t:t)+(0,s.print)({kind:a.Kind.STRING,value:r,block:(0,o.isPrintableAsBlockString)(r)}).replace(/\n/g,"\n"+t)+"\n"}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{concatAST:()=>i});var r=n(384);function i(e){const t=[];for(const n of e)t.push(...n.definitions);return{kind:r.Kind.DOCUMENT,definitions:t}}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{separateOperations:()=>o});var r=n(384),i=n(382);function o(e){const t=[],n=Object.create(null);for(const i of e.definitions)switch(i.kind){case r.Kind.OPERATION_DEFINITION:t.push(i);break;case r.Kind.FRAGMENT_DEFINITION:n[i.name.value]=s(i.selectionSet)}const i=Object.create(null);for(const o of t){const t=new Set;for(const e of s(o.selectionSet))a(t,n,e);i[o.name?o.name.value:""]={kind:r.Kind.DOCUMENT,definitions:e.definitions.filter((e=>e===o||e.kind===r.Kind.FRAGMENT_DEFINITION&&t.has(e.name.value)))}}return i}function a(e,t,n){if(!e.has(n)){e.add(n);const r=t[n];if(void 0!==r)for(const n of r)a(e,t,n)}}function s(e){const t=[];return(0,i.visit)(e,{FragmentSpread(e){t.push(e.name.value)}}),t}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{stripIgnoredCharacters:()=>s});var r=n(387),i=n(460),o=n(458),a=n(457);function s(e){const t=(0,o.isSource)(e)?e:new o.Source(e),n=t.body,s=new i.Lexer(t);let u="",c=!1;for(;s.advance().kind!==a.TokenKind.EOF;){const e=s.token,t=e.kind,o=!(0,i.isPunctuatorTokenKind)(e.kind);c&&(o||e.kind===a.TokenKind.SPREAD)&&(u+=" ");const l=n.slice(e.start,e.end);t===a.TokenKind.BLOCK_STRING?u+=(0,r.printBlockString)(e.value,{minimize:!0}):u+=l,c=o}return u}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{assertValidName:()=>a,isValidNameError:()=>s});var r=n(385),i=n(462),o=n(479);function a(e){const t=s(e);if(t)throw t;return e}function s(e){if("string"==typeof e||(0,r.devAssert)(!1,"Expected name to be a string."),e.startsWith("__"))return new i.GraphQLError(`Name "${e}" must not begin with "__", which is reserved by GraphQL introspection.`);try{(0,o.assertName)(e)}catch(e){return e}}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{BreakingChangeType:()=>r,DangerousChangeType:()=>i,findBreakingChanges:()=>d,findDangerousChanges:()=>h});var r,i,o=n(386),a=n(464),s=n(485),u=n(381),c=n(480),l=n(489),f=n(491),p=n(529);function d(e,t){return m(e,t).filter((e=>e.type in r))}function h(e,t){return m(e,t).filter((e=>e.type in i))}function m(e,t){return[...g(e,t),...y(e,t)]}function y(e,t){const n=[],i=R(e.getDirectives(),t.getDirectives());for(const e of i.removed)n.push({type:r.DIRECTIVE_REMOVED,description:`${e.name} was removed.`});for(const[e,t]of i.persisted){const i=R(e.args,t.args);for(const t of i.added)(0,c.isRequiredArgument)(t)&&n.push({type:r.REQUIRED_DIRECTIVE_ARG_ADDED,description:`A required arg ${t.name} on directive ${e.name} was added.`});for(const t of i.removed)n.push({type:r.DIRECTIVE_ARG_REMOVED,description:`${t.name} was removed from ${e.name}.`});e.isRepeatable&&!t.isRepeatable&&n.push({type:r.DIRECTIVE_REPEATABLE_REMOVED,description:`Repeatable flag was removed from ${e.name}.`});for(const i of e.locations)t.locations.includes(i)||n.push({type:r.DIRECTIVE_LOCATION_REMOVED,description:`${i} was removed from ${e.name}.`})}return n}function g(e,t){const n=[],i=R(Object.values(e.getTypeMap()),Object.values(t.getTypeMap()));for(const e of i.removed)n.push({type:r.TYPE_REMOVED,description:(0,l.isSpecifiedScalarType)(e)?`Standard scalar ${e.name} was removed because it is not referenced anymore.`:`${e.name} was removed.`});for(const[e,t]of i.persisted)(0,c.isEnumType)(e)&&(0,c.isEnumType)(t)?n.push(..._(e,t)):(0,c.isUnionType)(e)&&(0,c.isUnionType)(t)?n.push(...b(e,t)):(0,c.isInputObjectType)(e)&&(0,c.isInputObjectType)(t)?n.push(...v(e,t)):(0,c.isObjectType)(e)&&(0,c.isObjectType)(t)||(0,c.isInterfaceType)(e)&&(0,c.isInterfaceType)(t)?n.push(...S(e,t),...E(e,t)):e.constructor!==t.constructor&&n.push({type:r.TYPE_CHANGED_KIND,description:`${e.name} changed from ${x(e)} to ${x(t)}.`});return n}function v(e,t){const n=[],o=R(Object.values(e.getFields()),Object.values(t.getFields()));for(const t of o.added)(0,c.isRequiredInputField)(t)?n.push({type:r.REQUIRED_INPUT_FIELD_ADDED,description:`A required field ${t.name} on input type ${e.name} was added.`}):n.push({type:i.OPTIONAL_INPUT_FIELD_ADDED,description:`An optional field ${t.name} on input type ${e.name} was added.`});for(const t of o.removed)n.push({type:r.FIELD_REMOVED,description:`${e.name}.${t.name} was removed.`});for(const[t,i]of o.persisted){O(t.type,i.type)||n.push({type:r.FIELD_CHANGED_KIND,description:`${e.name}.${t.name} changed type from ${String(t.type)} to ${String(i.type)}.`})}return n}function b(e,t){const n=[],o=R(e.getTypes(),t.getTypes());for(const t of o.added)n.push({type:i.TYPE_ADDED_TO_UNION,description:`${t.name} was added to union type ${e.name}.`});for(const t of o.removed)n.push({type:r.TYPE_REMOVED_FROM_UNION,description:`${t.name} was removed from union type ${e.name}.`});return n}function _(e,t){const n=[],o=R(e.getValues(),t.getValues());for(const t of o.added)n.push({type:i.VALUE_ADDED_TO_ENUM,description:`${t.name} was added to enum type ${e.name}.`});for(const t of o.removed)n.push({type:r.VALUE_REMOVED_FROM_ENUM,description:`${t.name} was removed from enum type ${e.name}.`});return n}function E(e,t){const n=[],o=R(e.getInterfaces(),t.getInterfaces());
9for(const t of o.added)n.push({type:i.IMPLEMENTED_INTERFACE_ADDED,description:`${t.name} added to interfaces implemented by ${e.name}.`});for(const t of o.removed)n.push({type:r.IMPLEMENTED_INTERFACE_REMOVED,description:`${e.name} no longer implements interface ${t.name}.`});return n}function S(e,t){const n=[],i=R(Object.values(e.getFields()),Object.values(t.getFields()));for(const t of i.removed)n.push({type:r.FIELD_REMOVED,description:`${e.name}.${t.name} was removed.`});for(const[t,o]of i.persisted){n.push(...w(e,t,o));T(t.type,o.type)||n.push({type:r.FIELD_CHANGED_KIND,description:`${e.name}.${t.name} changed type from ${String(t.type)} to ${String(o.type)}.`})}return n}function w(e,t,n){const o=[],a=R(t.args,n.args);for(const n of a.removed)o.push({type:r.ARG_REMOVED,description:`${e.name}.${t.name} arg ${n.name} was removed.`});for(const[n,s]of a.persisted){if(O(n.type,s.type)){if(void 0!==n.defaultValue)if(void 0===s.defaultValue)o.push({type:i.ARG_DEFAULT_VALUE_CHANGE,description:`${e.name}.${t.name} arg ${n.name} defaultValue was removed.`});else{const r=k(n.defaultValue,n.type),a=k(s.defaultValue,s.type);r!==a&&o.push({type:i.ARG_DEFAULT_VALUE_CHANGE,description:`${e.name}.${t.name} arg ${n.name} has changed defaultValue from ${r} to ${a}.`})}}else o.push({type:r.ARG_CHANGED_KIND,description:`${e.name}.${t.name} arg ${n.name} has changed type from ${String(n.type)} to ${String(s.type)}.`})}for(const n of a.added)(0,c.isRequiredArgument)(n)?o.push({type:r.REQUIRED_ARG_ADDED,description:`A required arg ${n.name} on ${e.name}.${t.name} was added.`}):o.push({type:i.OPTIONAL_ARG_ADDED,description:`An optional arg ${n.name} on ${e.name}.${t.name} was added.`});return o}function T(e,t){return(0,c.isListType)(e)?(0,c.isListType)(t)&&T(e.ofType,t.ofType)||(0,c.isNonNullType)(t)&&T(e,t.ofType):(0,c.isNonNullType)(e)?(0,c.isNonNullType)(t)&&T(e.ofType,t.ofType):(0,c.isNamedType)(t)&&e.name===t.name||(0,c.isNonNullType)(t)&&T(e,t.ofType)}function O(e,t){return(0,c.isListType)(e)?(0,c.isListType)(t)&&O(e.ofType,t.ofType):(0,c.isNonNullType)(e)?(0,c.isNonNullType)(t)&&O(e.ofType,t.ofType)||!(0,c.isNonNullType)(t)&&O(e.ofType,t):(0,c.isNamedType)(t)&&e.name===t.name}function x(e){return(0,c.isScalarType)(e)?"a Scalar type":(0,c.isObjectType)(e)?"an Object type":(0,c.isInterfaceType)(e)?"an Interface type":(0,c.isUnionType)(e)?"a Union type":(0,c.isEnumType)(e)?"an Enum type":(0,c.isInputObjectType)(e)?"an Input type":void(0,a.invariant)(!1,"Unexpected type: "+(0,o.inspect)(e))}function k(e,t){const n=(0,f.astFromValue)(e,t);return null!=n||(0,a.invariant)(!1),(0,u.print)((0,p.sortValueNode)(n))}function R(e,t){const n=[],r=[],i=[],o=(0,s.keyMap)(e,(({name:e})=>e)),a=(0,s.keyMap)(t,(({name:e})=>e));for(const t of e){const e=a[t.name];void 0===e?r.push(t):i.push([t,e])}for(const e of t)void 0===o[e.name]&&n.push(e);return{added:n,persisted:i,removed:r}}!function(e){e.TYPE_REMOVED="TYPE_REMOVED",e.TYPE_CHANGED_KIND="TYPE_CHANGED_KIND",e.TYPE_REMOVED_FROM_UNION="TYPE_REMOVED_FROM_UNION",e.VALUE_REMOVED_FROM_ENUM="VALUE_REMOVED_FROM_ENUM",e.REQUIRED_INPUT_FIELD_ADDED="REQUIRED_INPUT_FIELD_ADDED",e.IMPLEMENTED_INTERFACE_REMOVED="IMPLEMENTED_INTERFACE_REMOVED",e.FIELD_REMOVED="FIELD_REMOVED",e.FIELD_CHANGED_KIND="FIELD_CHANGED_KIND",e.REQUIRED_ARG_ADDED="REQUIRED_ARG_ADDED",e.ARG_REMOVED="ARG_REMOVED",e.ARG_CHANGED_KIND="ARG_CHANGED_KIND",e.DIRECTIVE_REMOVED="DIRECTIVE_REMOVED",e.DIRECTIVE_ARG_REMOVED="DIRECTIVE_ARG_REMOVED",e.REQUIRED_DIRECTIVE_ARG_ADDED="REQUIRED_DIRECTIVE_ARG_ADDED",e.DIRECTIVE_REPEATABLE_REMOVED="DIRECTIVE_REPEATABLE_REMOVED",e.DIRECTIVE_LOCATION_REMOVED="DIRECTIVE_LOCATION_REMOVED"}(r||(r={})),function(e){e.VALUE_ADDED_TO_ENUM="VALUE_ADDED_TO_ENUM",e.TYPE_ADDED_TO_UNION="TYPE_ADDED_TO_UNION",e.OPTIONAL_INPUT_FIELD_ADDED="OPTIONAL_INPUT_FIELD_ADDED",e.OPTIONAL_ARG_ADDED="OPTIONAL_ARG_ADDED",e.IMPLEMENTED_INTERFACE_ADDED="IMPLEMENTED_INTERFACE_ADDED",e.ARG_DEFAULT_VALUE_CHANGE="ARG_DEFAULT_VALUE_CHANGE"}(i||(i={}))},(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.extractDefinition=void 0,t.extractDefinition=function(e){return e.query.definitions.find((function(e){return"OperationDefinition"===e.kind}))}},(e,t,n)=>{"use strict";
9Object.defineProperty(t,"__esModule",{value:!0}),t.withDefaults=t.defaultOptions=void 0;var r=(0,n(258).__importDefault)(n(568));t.defaultOptions={shouldHandleOperation:void 0,uri:void 0,setTransaction:!0,setFingerprint:!0,attachBreadcrumbs:{includeQuery:!1,includeVariables:!1,includeFetchResult:!1,includeError:!1,includeCache:!1,includeContext:!1,transform:void 0}},t.withDefaults=function(e){return(0,r.default)(t.defaultOptions,e)}},e=>{"use strict";var t=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===n}(e)}(e)};var n="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function r(e,t){return!1!==t.clone&&t.isMergeableObject(e)?u((n=e,Array.isArray(n)?[]:{}),e,t):e;var n}function i(e,t,n){return e.concat(t).map((function(e){return r(e,n)}))}function o(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return Object.propertyIsEnumerable.call(e,t)})):[]}(e))}function a(e,t){try{return t in e}catch(e){return!1}}function s(e,t,n){var i={};return n.isMergeableObject(e)&&o(e).forEach((function(t){i[t]=r(e[t],n)})),o(t).forEach((function(o){(function(e,t){return a(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,o)||(a(e,o)&&n.isMergeableObject(t[o])?i[o]=function(e,t){if(!t.customMerge)return u;var n=t.customMerge(e);return"function"==typeof n?n:u}(o,n)(e[o],t[o],n):i[o]=r(t[o],n))})),i}function u(e,n,o){(o=o||{}).arrayMerge=o.arrayMerge||i,o.isMergeableObject=o.isMergeableObject||t,o.cloneUnlessOtherwiseSpecified=r;var a=Array.isArray(n);return a===Array.isArray(e)?a?o.arrayMerge(e,n,o):s(e,n,o):r(n,o)}u.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,n){return u(e,n,t)}),{})};var c=u;e.exports=c},(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.attachBreadcrumbToSentry=t.setFingerprint=t.DEFAULT_FINGERPRINT=t.setTransaction=void 0;var r=n(570),i=n(566),o=n(653);t.setTransaction=function(e){var t=(0,i.extractDefinition)(e).name;t&&(0,r.configureScope)((function(e){e.setTransactionName(t.value)}))},t.DEFAULT_FINGERPRINT="{{ default }}",t.setFingerprint=function(e){var n=(0,i.extractDefinition)(e).name;n&&(0,r.configureScope)((function(e){e.setFingerprint([t.DEFAULT_FINGERPRINT,n.value])}))},t.attachBreadcrumbToSentry=function(e,t,n){var i=n.attachBreadcrumbs&&"function"==typeof n.attachBreadcrumbs.transform?n.attachBreadcrumbs.transform(t,e):t;i.data=(0,o.stringifyObjectKeys)(i.data),(0,r.addBreadcrumb)(i)}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{Breadcrumbs:()=>j.Breadcrumbs,BrowserClient:()=>E.BrowserClient,BrowserProfilingIntegration:()=>P.BrowserProfilingIntegration,BrowserTracing:()=>A.BrowserTracing,Dedupe:()=>B.Dedupe,FunctionToString:()=>i.FunctionToString,GlobalHandlers:()=>L.GlobalHandlers,HttpContext:()=>U.HttpContext,Hub:()=>o.Hub,InboundFilters:()=>a.InboundFilters,Integrations:()=>G,LinkedErrors:()=>F.LinkedErrors,ModuleMetadata:()=>s.ModuleMetadata,Replay:()=>N.Replay,SDK_VERSION:()=>u.SDK_VERSION,Scope:()=>c.Scope,TryCatch:()=>M.TryCatch,WINDOW:()=>_.WINDOW,addBreadcrumb:()=>l.addBreadcrumb,addGlobalEventProcessor:()=>f.addGlobalEventProcessor,addTracingExtensions:()=>p.addTracingExtensions,captureEvent:()=>l.captureEvent,captureException:()=>l.captureException,captureMessage:()=>l.captureMessage,captureUserFeedback:()=>k.captureUserFeedback,chromeStackLineParser:()=>T.chromeStackLineParser,close:()=>l.close,configureScope:()=>l.configureScope,createTransport:()=>d.createTransport,createUserFeedbackEnvelope:()=>x.createUserFeedbackEnvelope,defaultIntegrations:()=>k.defaultIntegrations,defaultRequestInstrumentationOptions:()=>I.defaultRequestInstrumentationOptions,defaultStackLineParsers:()=>T.defaultStackLineParsers,defaultStackParser:()=>T.defaultStackParser,eventFromException:()=>O.eventFromException,eventFromMessage:()=>O.eventFromMessage,exceptionFromError:()=>O.exceptionFromError,extractTraceparentData:()=>h.extractTraceparentData,flush:()=>l.flush,forceLoad:()=>k.forceLoad,geckoStackLineParser:()=>T.geckoStackLineParser,getActiveSpan:()=>m.getActiveSpan,getActiveTransaction:()=>y.getActiveTransaction,getCurrentHub:()=>o.getCurrentHub,getHubFromCarrier:()=>o.getHubFromCarrier,init:()=>k.init,instrumentOutgoingRequests:()=>I.instrumentOutgoingRequests,lastEventId:()=>l.lastEventId,makeBrowserOfflineTransport:()=>D.makeBrowserOfflineTransport,makeFetchTransport:()=>S.makeFetchTransport,makeMain:()=>o.makeMain,makeMultiplexedTransport:()=>g.makeMultiplexedTransport,makeXHRTransport:()=>w.makeXHRTransport,onLoad:()=>k.onLoad,onProfilingStartRouteTransaction:()=>C.onProfilingStartRouteTransaction,opera10StackLineParser:()=>T.opera10StackLineParser,opera11StackLineParser:()=>T.opera11StackLineParser,setContext:()=>l.setContext,setExtra:()=>l.setExtra,setExtras:()=>l.setExtras,setMeasurement:()=>v.setMeasurement,setTag:()=>
9l.setTag,setTags:()=>l.setTags,setUser:()=>l.setUser,showReportDialog:()=>k.showReportDialog,spanStatusfromHttpCode:()=>b.spanStatusfromHttpCode,startInactiveSpan:()=>m.startInactiveSpan,startSpan:()=>m.startSpan,startSpanManual:()=>m.startSpanManual,startTransaction:()=>l.startTransaction,trace:()=>m.trace,winjsStackLineParser:()=>T.winjsStackLineParser,withScope:()=>l.withScope,wrap:()=>k.wrap});var r=n(651),i=n(571),o=n(267),a=n(572),s=n(573),u=n(581),c=n(268),l=n(266),f=n(280),p=n(582),d=n(596),h=n(586),m=n(600),y=n(594),g=n(601),v=n(603),b=n(585),_=n(604),E=n(605),S=n(613),w=n(615),T=n(616),O=n(610),x=n(611),k=n(617),R=n(652),N=n(627),A=n(628),I=n(631),D=n(646),C=n(648),P=n(650),L=n(621),M=n(618),j=n(619),F=n(622),U=n(625),B=n(624);let q={};_.WINDOW.Sentry&&_.WINDOW.Sentry.Integrations&&(q=_.WINDOW.Sentry.Integrations);const G={...q,...r,...R}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{FunctionToString:()=>o});var r=n(277);let i;class o{static __initStatic(){this.id="FunctionToString"}constructor(){this.name=o.id}setupOnce(){i=Function.prototype.toString;try{Function.prototype.toString=function(...e){const t=(0,r.getOriginalFunction)(this)||this;return i.apply(t,e)}}catch(e){}}}o.__initStatic()},(e,t,n)=>{"use strict";n.r(t),n.d(t,{InboundFilters:()=>u,_mergeOptions:()=>c,_shouldDropEvent:()=>l});var r=n(278),i=n(274),o=n(275);const a=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/],s=[/^.*healthcheck.*$/,/^.*healthy.*$/,/^.*live.*$/,/^.*ready.*$/,/^.*heartbeat.*$/,/^.*\/health$/,/^.*\/healthz$/];class u{static __initStatic(){this.id="InboundFilters"}constructor(e={}){this.name=u.id,this._options=e}setupOnce(e,t){const n=e=>{const n=t();if(n){const t=n.getIntegration(u);if(t){const r=n.getClient(),i=r?r.getOptions():{};return l(e,c(t._options,i))?null:e}}return e};n.id=this.name,e(n)}}function c(e={},t={}){return{allowUrls:[...e.allowUrls||[],...t.allowUrls||[]],denyUrls:[...e.denyUrls||[],...t.denyUrls||[]],ignoreErrors:[...e.ignoreErrors||[],...t.ignoreErrors||[],...e.disableErrorDefaults?[]:a],ignoreTransactions:[...e.ignoreTransactions||[],...t.ignoreTransactions||[],...e.disableTransactionDefaults?[]:s],ignoreInternal:void 0===e.ignoreInternal||e.ignoreInternal}}function l(e,t){return t.ignoreInternal&&function(e){try{return"SentryError"===e.exception.values[0].type}catch(e){}return!1}(e)?(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.logger.warn(`Event dropped due to being internal Sentry Error.\nEvent: ${(0,i.getEventDescription)(e)}`),!0):function(e,t){if(e.type||!t||!t.length)return!1;return function(e){const t=[];e.message&&t.push(e.message);let n;try{n=e.exception.values[e.exception.values.length-1]}catch(e){}n&&n.value&&(t.push(n.value),n.type&&t.push(`${n.type}: ${n.value}`));"undefined"!=typeof __SENTRY_DEBUG__&&!__SENTRY_DEBUG__||0!==t.length||r.logger.error(`Could not extract message for event ${(0,i.getEventDescription)(e)}`);return t}(e).some((e=>(0,o.stringMatchesSomePattern)(e,t)))}(e,t.ignoreErrors)?(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.logger.warn(`Event dropped due to being matched by \`ignoreErrors\` option.\nEvent: ${(0,i.getEventDescription)(e)}`),!0):function(e,t){if("transaction"!==e.type||!t||!t.length)return!1;const n=e.transaction;return!!n&&(0,o.stringMatchesSomePattern)(n,t)}(e,t.ignoreTransactions)?(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.logger.warn(`Event dropped due to being matched by \`ignoreTransactions\` option.\nEvent: ${(0,i.getEventDescription)(e)}`),!0):function(e,t){if(!t||!t.length)return!1;const n=f(e);return!!n&&(0,o.stringMatchesSomePattern)(n,t)}(e,t.denyUrls)?(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.logger.warn(`Event dropped due to being matched by \`denyUrls\` option.\nEvent: ${(0,i.getEventDescription)(e)}.\nUrl: ${f(e)}`),!0):!function(e,t){if(!t||!t.length)return!0;const n=f(e);return!n||(0,o.stringMatchesSomePattern)(n,t)}(e,t.allowUrls)&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.logger.warn(`Event dropped due to not being matched by \`allowUrls\` option.\nEvent: ${(0,i.getEventDescription)(e)}.\nUrl: ${f(e)}`),!0)}function f(e){try{let t;try{t=e.exception.values[0].stacktrace.frames}catch(e){}return t?function(e=[]){for(let t=e.length-1;t>=0;t--){const n=e[t];if(n&&"<anonymous>"!==n.filename&&"[native code]"!==n.filename)return n.filename||null}return null}(t):null}catch(t){return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.logger.error(`Cannot extract url for event ${(0,i.getEventDescription)(e)}`),null}}u.__initStatic()},(e,t,n)=>{"use strict";n.r(t),n.d(t,{ModuleMetadata:()=>o});var r=n(574),i=n(580);class o{static __initStatic(){this.id="ModuleMetadata"}constructor(){this.name=o.id}setupOnce(e,t){const n=t().getClient();if(!n||"function"!=typeof n.on)return;n.on("beforeEnvelope",(e=>{(0,r.forEachEnvelopeItem)(e,((e,t)=>
9{if("event"===t){const t=Array.isArray(e)?e[1]:void 0;t&&((0,i.stripMetadataFromStackFrames)(t),e[1]=t)}}))}));const o=n.getOptions().stackParser;e((e=>((0,i.addMetadataToStackFrames)(o,e),e)))}}o.__initStatic()},(e,t,n)=>{"use strict";n.r(t),n.d(t,{addItemToEnvelope:()=>s,createAttachmentEnvelopeItem:()=>d,createEnvelope:()=>a,createEventEnvelopeHeaders:()=>g,envelopeContainsItemType:()=>c,envelopeItemTypeToDataCategory:()=>m,forEachEnvelopeItem:()=>u,getSdkMetadataForEnvelopeHeader:()=>y,parseEnvelope:()=>p,serializeEnvelope:()=>f});var r=n(579),i=n(575),o=n(277);function a(e,t=[]){return[e,t]}function s(e,t){const[n,r]=e;return[n,[...r,t]]}function u(e,t){const n=e[1];for(const e of n){if(t(e,e[0].type))return!0}return!1}function c(e,t){return u(e,((e,n)=>t.includes(n)))}function l(e,t){return(t||new TextEncoder).encode(e)}function f(e,t){const[n,r]=e;let o=JSON.stringify(n);function a(e){"string"==typeof o?o="string"==typeof e?o+e:[l(o,t),e]:o.push("string"==typeof e?l(e,t):e)}for(const e of r){const[t,n]=e;if(a(`\n${JSON.stringify(t)}\n`),"string"==typeof n||n instanceof Uint8Array)a(n);else{let e;try{e=JSON.stringify(n)}catch(t){e=JSON.stringify((0,i.normalize)(n))}a(e)}}return"string"==typeof o?o:function(e){const t=e.reduce(((e,t)=>e+t.length),0),n=new Uint8Array(t);let r=0;for(const t of e)n.set(t,r),r+=t.length;return n}(o)}function p(e,t,n){let r="string"==typeof e?t.encode(e):e;function i(e){const t=r.subarray(0,e);return r=r.subarray(e+1),t}function o(){let e=r.indexOf(10);return e<0&&(e=r.length),JSON.parse(n.decode(i(e)))}const a=o(),s=[];for(;r.length;){const e=o(),t="number"==typeof e.length?e.length:void 0;s.push([e,t?i(t):o()])}return[a,s]}function d(e,t){const n="string"==typeof e.data?l(e.data,t):e.data;return[(0,o.dropUndefinedKeys)({type:"attachment",length:n.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType}),n]}const h={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default",profile:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor"};function m(e){return h[e]}function y(e){if(!e||!e.sdk)return;const{name:t,version:n}=e.sdk;return{name:t,version:n}}function g(e,t,n,i){const a=e.sdkProcessingMetadata&&e.sdkProcessingMetadata.dynamicSamplingContext;return{event_id:e.event_id,sent_at:(new Date).toISOString(),...t&&{sdk:t},...!!n&&{dsn:(0,r.dsnToString)(i)},...a&&{trace:(0,o.dropUndefinedKeys)({...a})}}}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{normalize:()=>s,normalizeToSize:()=>u,walk:()=>c});var r=n(276),i=n(576),o=n(277),a=n(577);function s(e,t=100,n=1/0){try{return c("",e,t,n)}catch(e){return{ERROR:`**non-serializable** (${e})`}}}function u(e,t=3,n=102400){const r=s(e,t);return i=r,function(e){return~-encodeURI(e).split(/%..|./).length}(JSON.stringify(i))>n?u(e,t-1,n):r;var i}function c(e,t,s=1/0,u=1/0,l=(0,i.memoBuilder)()){const[f,p]=l;if(null==t||["number","boolean","string"].includes(typeof t)&&!(0,r.isNaN)(t))return t;const d=function(e,t){try{if("domain"===e&&t&&"object"==typeof t&&t._events)return"[Domain]";if("domainEmitter"===e)return"[DomainEmitter]";if(void 0!==n.g&&t===n.g)return"[Global]";if("undefined"!=typeof window&&t===window)return"[Window]";if("undefined"!=typeof document&&t===document)return"[Document]";if((0,r.isVueViewModel)(t))return"[VueViewModel]";if((0,r.isSyntheticEvent)(t))return"[SyntheticEvent]";if("number"==typeof t&&t!=t)return"[NaN]";if("function"==typeof t)return`[Function: ${(0,a.getFunctionName)(t)}]`;if("symbol"==typeof t)return`[${String(t)}]`;if("bigint"==typeof t)return`[BigInt: ${String(t)}]`;const i=function(e){const t=Object.getPrototypeOf(e);return t?t.constructor.name:"null prototype"}(t);return/^HTML(\w*)Element$/.test(i)?`[HTMLElement: ${i}]`:`[object ${i}]`}catch(e){return`**non-serializable** (${e})`}}(e,t);if(!d.startsWith("[object "))return d;if(t.__sentry_skip_normalization__)return t;const h="number"==typeof t.__sentry_override_normalization_depth__?t.__sentry_override_normalization_depth__:s;if(0===h)return d.replace("object ","");if(f(t))return"[Circular ~]";const m=t;if(m&&"function"==typeof m.toJSON)try{return c("",m.toJSON(),h-1,u,l)}catch(e){}const y=Array.isArray(t)?[]:{};let g=0;const v=(0,o.convertToPlainObject)(t);for(const e in v){if(!Object.prototype.hasOwnProperty.call(v,e))continue;if(g>=u){y[e]="[MaxProperties ~]";break}const t=v[e];y[e]=c(e,t,h-1,u,l),g++}return p(t),y}},(e,t,n)=>{"use strict";function r(){const e="function"==typeof WeakSet,t=e?new WeakSet:[];return[function(n){if(e)return!!t.has(n)||(t.add(n),!1);for(let e=0;e<t.length;e++){if(t[e]===n)return!0}return t.push(n),!1},function(n){if(e)t.delete(n);else for(let e=0;e<t.length;e++)if(t[e]===n){t.splice(e,1);break}}]}n.r(t),n.d(t,{memoBuilder:()=>r})},(e,t,n)=>{"use strict";n.r(t),n.d(t,{createStackParser:()=>s,getFunctionName:()=>f,nodeStackLineParser:()=>p,stackParserFromStackParserOptions:()=>u,stripSentryFramesAndReverse:()=>c});var r=n(578);const i=50,o=/\(error: (.*)\)/,a=/captureMessage|captureException/;function s(...e){const t=e.sort(((e,t)=>e[0]-t[0])).map((e=>e[1]));return(e,n=0)=>{const r=[],a=e.split("\n");for(let e=n;e<a.length;e++){const n=a[e];if(n.length>1024)continue;const s=o.test(n)?n.replace(o,"$1"):n;if(!s.match(/\S*Error: /)){for(const e of t){const t=e(s);if(t){r.push(t);break}}if(r.length>=i)break}}return c(r)}}
9function u(e){return Array.isArray(e)?s(...e):e}function c(e){if(!e.length)return[];const t=Array.from(e);return/sentryWrapped/.test(t[t.length-1].function||"")&&t.pop(),t.reverse(),a.test(t[t.length-1].function||"")&&(t.pop(),a.test(t[t.length-1].function||"")&&t.pop()),t.slice(0,i).map((e=>({...e,filename:e.filename||t[t.length-1].filename,function:e.function||"?"})))}const l="<anonymous>";function f(e){try{return e&&"function"==typeof e&&e.name||l}catch(e){return l}}function p(e){return[90,(0,r.node)(e)]}},(e,t,n)=>{"use strict";function r(e){const t=/^\s*[-]{4,}$/,n=/at (?:async )?(?:(.+?)\s+\()?(?:(.+):(\d+):(\d+)?|([^)]+))\)?/;return r=>{const i=r.match(n);if(i){let t,n,r,o,a;if(i[1]){r=i[1];let e=r.lastIndexOf(".");if("."===r[e-1]&&e--,e>0){t=r.slice(0,e),n=r.slice(e+1);const i=t.indexOf(".Module");i>0&&(r=r.slice(i+1),t=t.slice(0,i))}o=void 0}n&&(o=t,a=n),"<anonymous>"===n&&(a=void 0,r=void 0),void 0===r&&(a=a||"<anonymous>",r=o?`${o}.${a}`:a);let s=i[2]&&i[2].startsWith("file://")?i[2].slice(7):i[2];const u="native"===i[5];s||!i[5]||u||(s=i[5]);const c=!(u||s&&!s.startsWith("/")&&!s.includes(":\\")&&!s.startsWith(".")&&!s.match(/^[a-zA-Z]([a-zA-Z0-9.\-+])*:\/\//))&&void 0!==s&&!s.includes("node_modules/");return{filename:s,module:e?e(s):void 0,function:r,lineno:parseInt(i[3],10)||void 0,colno:parseInt(i[4],10)||void 0,in_app:c}}if(r.match(t))return{filename:r}}}n.r(t),n.d(t,{node:()=>r})},(e,t,n)=>{"use strict";n.r(t),n.d(t,{dsnFromString:()=>a,dsnToString:()=>o,makeDsn:()=>u});var r=n(278);const i=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function o(e,t=!1){const{host:n,path:r,pass:i,port:o,projectId:a,protocol:s,publicKey:u}=e;return`${s}://${u}${t&&i?`:${i}`:""}@${n}${o?`:${o}`:""}/${r?`${r}/`:r}${a}`}function a(e){const t=i.exec(e);if(!t)return void console.error(`Invalid Sentry Dsn: ${e}`);const[n,r,o="",a,u="",c]=t.slice(1);let l="",f=c;const p=f.split("/");if(p.length>1&&(l=p.slice(0,-1).join("/"),f=p.pop()),f){const e=f.match(/^\d+/);e&&(f=e[0])}return s({host:a,pass:o,path:l,projectId:f,port:u,protocol:n,publicKey:r})}function s(e){return{protocol:e.protocol,publicKey:e.publicKey||"",pass:e.pass||"",host:e.host,port:e.port||"",path:e.path||"",projectId:e.projectId}}function u(e){const t="string"==typeof e?a(e):s(e);if(t&&function(e){if("undefined"!=typeof __SENTRY_DEBUG__&&!__SENTRY_DEBUG__)return!0;const{port:t,projectId:n,protocol:i}=e;return!(["protocol","publicKey","host","projectId"].find((t=>!e[t]&&(r.logger.error(`Invalid Sentry Dsn: ${t} missing`),!0)))||(n.match(/^\d+$/)?function(e){return"http"===e||"https"===e}(i)?t&&isNaN(parseInt(t,10))&&(r.logger.error(`Invalid Sentry Dsn: Invalid port ${t}`),1):(r.logger.error(`Invalid Sentry Dsn: Invalid protocol ${i}`),1):(r.logger.error(`Invalid Sentry Dsn: Invalid projectId ${n}`),1)))}(t))return t}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{addMetadataToStackFrames:()=>s,getMetadataForUrl:()=>a,stripMetadataFromStackFrames:()=>u});var r=n(271);const i=new Map,o=new Set;function a(e,t){return function(e){if(r.GLOBAL_OBJ._sentryModuleMetadata)for(const t of Object.keys(r.GLOBAL_OBJ._sentryModuleMetadata)){const n=r.GLOBAL_OBJ._sentryModuleMetadata[t];if(o.has(t))continue;o.add(t);const a=e(t);for(const e of a.reverse())if(e.filename){i.set(e.filename,n);break}}}(e),i.get(t)}function s(e,t){try{t.exception.values.forEach((t=>{if(t.stacktrace)for(const n of t.stacktrace.frames||[]){if(!n.filename)continue;const t=a(e,n.filename);t&&(n.module_metadata=t)}}))}catch(e){}}function u(e){try{e.exception.values.forEach((e=>{if(e.stacktrace)for(const t of e.stacktrace.frames||[])delete t.module_metadata}))}catch(e){}}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{SDK_VERSION:()=>r});const r="7.70.0"},(e,t,n)=>{"use strict";n.r(t),n.d(t,{addTracingExtensions:()=>h,startIdleTransaction:()=>d});var r=n(278),i=n(276),o=n(267),a=n(583),s=n(590),u=n(589),c=n(584);function l(){const e=this.getScope().getSpan();return e?{"sentry-trace":e.toTraceparent()}:{}}function f(e,t,n){if(!(0,a.hasTracingEnabled)(t))return e.sampled=!1,e;if(void 0!==e.sampled)return e.setMetadata({sampleRate:Number(e.sampled)}),e;let o;return"function"==typeof t.tracesSampler?(o=t.tracesSampler(n),e.setMetadata({sampleRate:Number(o)})):void 0!==n.parentSampled?o=n.parentSampled:void 0!==t.tracesSampleRate?(o=t.tracesSampleRate,e.setMetadata({sampleRate:Number(o)})):(o=1,e.setMetadata({sampleRate:o})),function(e){if((0,i.isNaN)(e)||"number"!=typeof e&&"boolean"!=typeof e)return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.logger.warn(`[Tracing] Given sample rate is invali
9d. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(e)} of type ${JSON.stringify(typeof e)}.`),!1;if(e<0||e>1)return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.logger.warn(`[Tracing] Given sample rate is invalid. Sample rate must be between 0 and 1. Got ${e}.`),!1;return!0}(o)?o?(e.sampled=Math.random()<o,e.sampled?(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.logger.log(`[Tracing] starting ${e.op} transaction - ${e.name}`),e):(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.logger.log(`[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = ${Number(o)})`),e)):(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.logger.log("[Tracing] Discarding transaction because "+("function"==typeof t.tracesSampler?"tracesSampler returned 0 or false":"a negative sampling decision was inherited or tracesSampleRate is set to 0")),e.sampled=!1,e):(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.logger.warn("[Tracing] Discarding transaction because of invalid sample rate."),e.sampled=!1,e)}function p(e,t){const n=this.getClient(),i=n&&n.getOptions()||{},o=i.instrumenter||"sentry",a=e.instrumenter||"sentry";o!==a&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.logger.error(`A transaction was started with instrumenter=\`${a}\`, but the SDK is configured with the \`${o}\` instrumenter.\nThe transaction will not be sampled. Please use the ${o} instrumentation to start transactions.`),e.sampled=!1);let s=new c.Transaction(e,this);return s=f(s,i,{parentSampled:e.parentSampled,transactionContext:e,...t}),s.sampled&&s.initSpanRecorder(i._experiments&&i._experiments.maxSpans),n&&n.emit&&n.emit("startTransaction",s),s}function d(e,t,n,r,i,o,a){const s=e.getClient(),c=s&&s.getOptions()||{};let l=new u.IdleTransaction(t,e,n,r,a,i);return l=f(l,c,{parentSampled:t.parentSampled,transactionContext:t,...o}),l.sampled&&l.initSpanRecorder(c._experiments&&c._experiments.maxSpans),s&&s.emit&&s.emit("startTransaction",l),l}function h(){const e=(0,o.getMainCarrier)();e.__SENTRY__&&(e.__SENTRY__.extensions=e.__SENTRY__.extensions||{},e.__SENTRY__.extensions.startTransaction||(e.__SENTRY__.extensions.startTransaction=p),e.__SENTRY__.extensions.traceHeaders||(e.__SENTRY__.extensions.traceHeaders=l),(0,s.registerErrorInstrumentation)())}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{hasTracingEnabled:()=>i});var r=n(267);function i(e){if("boolean"==typeof __SENTRY_TRACING__&&!__SENTRY_TRACING__)return!1;const t=(0,r.getCurrentHub)().getClient(),n=e||t&&t.getOptions();return!!n&&(n.enableTracing||"tracesSampleRate"in n||"tracesSampler"in n)}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{Transaction:()=>u});var r=n(278),i=n(277),o=n(267),a=n(588),s=n(585);class u extends s.Span{constructor(e,t){super(e),delete this.description,this._measurements={},this._contexts={},this._hub=t||(0,o.getCurrentHub)(),this._name=e.name||"",this.metadata={source:"custom",...e.metadata,spanMetadata:{}},this._trimEnd=e.trimEnd,this.transaction=this;const n=this.metadata.dynamicSamplingContext;n&&(this._frozenDynamicSamplingContext={...n})}get name(){return this._name}set name(e){this.setName(e)}setName(e,t="custom"){this._name=e,this.metadata.source=t}initSpanRecorder(e=1e3){this.spanRecorder||(this.spanRecorder=new s.SpanRecorder(e)),this.spanRecorder.add(this)}setContext(e,t){null===t?delete this._contexts[e]:this._contexts[e]=t}setMeasurement(e,t,n=""){this._measurements[e]={value:t,unit:n}}setMetadata(e){this.metadata={...this.metadata,...e}}finish(e){if(void 0!==this.endTimestamp)return;this.name||(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.logger.warn("Transaction has no name, falling back to `<unlabeled transaction>`."),this.name="<unlabeled transaction>"),super.finish(e);const t=this._hub.getClient();if(t&&t.emit&&t.emit("finishTransaction",this),!0!==this.sampled)return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.logger.log("[Tracing] Discarding transaction because its trace was not chosen to be sampled."),void(t&&t.recordDroppedEvent("sample_rate","transaction"));const n=this.spanRecorder?this.spanRecorder.spans.filter((e=>e!==this&&e.endTimestamp)):[];this._trimEnd&&n.length>0&&(this.endTimestamp=n.reduce(((e,t)=>e.endTimestamp&&t.endTimestamp?e.endTimestamp>t.endTimestamp?e:t:e)).endTimestamp);const i=this.metadata,o={contexts:{...this._contexts,trace:this.getTraceContext()},spans:n,start_timestamp:this.startTimestamp,tags:this.tags,timestamp:this.endTimestamp,transaction:this.name,type:"transaction",sdkProcessingMetadata:{...i,dynamicSamplingContext:this.getDynamicSamplingContext()},...i.source&&{transaction_info:{source:i.source}}};return Object.keys(this._measurements).length>0&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.logger.log("[Measurements] Adding measurements to transaction",JSON.stringify(this._measurements,void 0,2)),o.measurements=this._measurements),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.logger.log(`[Tracing] Finishing ${this.op} transaction: ${this.name}.`),this._hub.captureEvent(o)}toContext(){const e=super.toContext();return(0,i.dropUndefinedKeys)({...e,name:this.name,trimEnd:this._trimEnd})}updateWithContext(e){return super.updateWithContext(e),this.name=e.name||"",this._trimEnd=e.trimEnd,this}getDynamicSamplingContext(){if(this._frozenDynamicSamplingContext)return this._frozenDynamicSamplingContext;const e=this._hub||(0,o.getCurrentHub)(),t=e.getClient();if(!t)return{};const n=e.getScope(),r=(0,a.getDynamicSamplingContextFromClient)(this.traceId,t,n),i=this.metadata.sampleRate;void 0!==i&&(r.sample_rate=`${i}`);const s=this.metadata.source;return s&&"url"!==s&&(r.transaction=this.name),void 0!==this.sampled&&(r.sampled=String(this.sampled)),r}setHub(e){this._hub=e}}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{Span:()=>c,SpanRecorder:()=>u,spanStatusfromHttpCode:()=>l});var r=n(274),i=n(270),o=n(278),a=n(586),s=n(277);class u{constructor(e=1e3){this._maxlen=e,this.spans=[]}add(e){this.spans.length>this._maxlen?e.spanRecorder=void 0:this.spans.push(e)}}class c{constructor(e={}){this.traceId=e.traceId||(0,r.uuid4)(),this.spanId=e.spanId||(0,r.uuid4)().substring(16),this.startTimestamp=e.startTimestamp||(0,i.timestampInSeconds)(),this.tags=e.tags||{},this.data=e.data||{},this.instrumenter=e.instrumenter||"sentry",this.origin=e.origin||"manual",e.parentSpanId&&(this.parentSpanId=e.parentSpanId),"sampled"in e&&(this.sampled=e.sampled),e.op&&(this.op=e.op),e.description&&(this.description=e.description),e.name&&(this.description=e.name),e.status&&(this.status=e.status),e.endTimestamp&&(this.endTimestamp=e.endTimestamp)}get name(){return this.description||""}set name(e){this.setName(e)}startChild(e){const t=new c({...e,parentSpanId:this.spanId,sampled:this.sampled,traceId:this.traceId});if(t.spanRecorder=this.spanRecorder,t.spanRecorder&&t.spanRecorder.add(t),t.transaction=this.transaction,("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&t.transaction){const n=`[Tracing] Starting '${e&&e.op||"< unknown op >"}' span on transaction '${t.transaction.name||"< unknown name >"}' (${t.transaction.spanId}).`;t.transaction.metadata.spanMetadata[t.spanId]={logMessage:n},o.logger.log(n)}return t}setTag(e,t){return this.tags={...this.tags,[e]:t},this}setData(e,t){return this.data={...this.data,[e]:t},this}setStatus(e){return this.status=e,this}setHttpStatus(e){this.setTag("http.status_code",String(e)),this.setData("http.response.status_code",e);const t=l(e);return"unknown_error"!==t&&this.setStatus(t),this}setName(e){this.description=e}isSuccess(){return"ok"===this.status}finish(e){if(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&this.transaction&&this.transaction.spanId!==this.spanId){const{logMessage:e}=this.transaction.metadata.spanMetadata[this.spanId];e&&o.logger.log(e.replace("Starting","Finishing"))}this.endTimestamp="number"==typeof e?e:(0,i.timestampInSeconds)()}toTraceparent(){return(0,a.generateSentryTraceHeader)(this.traceId,this.spanId,this.sampled)}toContext(){return(0,s.dropUndefinedKeys)({data:this.data,description:this.description,endTimestamp:this.endTimestamp,op:this.op,parentSpanId:this.parentSpanId,sampled:this.sampled,spanId:this.spanId,startTimestamp:this.startTimestamp,status:this.status,tags:this.tags,traceId:this.traceId})}updateWithContext(e){return this.data=e.data||{},this.description=e.description,this.endTimestamp=e.endTimestamp,this.op=e.op,this.parentSpanId=e.parentSpanId,this.sampled=e.sampled,this.spanId=e.spanId||this.spanId,this.startTimestamp=e.startTimestamp||this.startTimestamp,this.status=e.status,this.tags=e.tags||{},this.traceId=e.traceId||this.traceId,this}getTraceContext(){return(0,s.dropUndefinedKeys)({data:Object.keys(this.data).length>0?this.data:void 0,description:this.description,op:this.op,parent_span_id:this.parentSpanId,span_id:this.spanId,status:this.status,tags:Object.keys(this.tags).length>0?this.tags:void 0,trace_id:this.traceId})}toJSON(){return(0,s.dropUndefinedKeys)({data:Object.keys(this.data).length>0?this.data:void 0,description:this.description,op:this.op,parent_span_id:this.parentSpanId,span_id:this.spanId,start_timestamp:this.startTimestamp,status:this.status,tags:Object.keys(this.tags).length>0?this.tags:void 0,timestamp:this.endTimestamp,trace_id:this.traceId,origin:this.origin})}}function l(e){if(e<400&&e>=100)return"ok";if(e>
9=400&&e<500)switch(e){case 401:return"unauthenticated";case 403:return"permission_denied";case 404:return"not_found";case 409:return"already_exists";case 413:return"failed_precondition";case 429:return"resource_exhausted";default:return"invalid_argument"}if(e>=500&&e<600)switch(e){case 501:return"unimplemented";case 503:return"unavailable";case 504:return"deadline_exceeded";default:return"internal_error"}return"unknown_error"}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{TRACEPARENT_REGEXP:()=>o,extractTraceparentData:()=>a,generateSentryTraceHeader:()=>u,tracingContextFromHeaders:()=>s});var r=n(587),i=n(274);const o=new RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");function a(e){if(!e)return;const t=e.match(o);if(!t)return;let n;return"1"===t[3]?n=!0:"0"===t[3]&&(n=!1),{traceId:t[1],parentSampled:n,parentSpanId:t[2]}}function s(e,t){const n=a(e),o=(0,r.baggageHeaderToDynamicSamplingContext)(t),{traceId:s,parentSpanId:u,parentSampled:c}=n||{},l={traceId:s||(0,i.uuid4)(),spanId:(0,i.uuid4)().substring(16),sampled:c};return u&&(l.parentSpanId=u),o&&(l.dsc=o),{traceparentData:n,dynamicSamplingContext:o,propagationContext:l}}function u(e=(0,i.uuid4)(),t=(0,i.uuid4)().substring(16),n){let r="";return void 0!==n&&(r=n?"-1":"-0"),`${e}-${t}${r}`}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{BAGGAGE_HEADER_NAME:()=>o,MAX_BAGGAGE_STRING_LENGTH:()=>u,SENTRY_BAGGAGE_KEY_PREFIX:()=>a,SENTRY_BAGGAGE_KEY_PREFIX_REGEX:()=>s,baggageHeaderToDynamicSamplingContext:()=>c,dynamicSamplingContextToSentryBaggageHeader:()=>l});var r=n(276),i=n(278);const o="baggage",a="sentry-",s=/^sentry-/,u=8192;function c(e){if(!(0,r.isString)(e)&&!Array.isArray(e))return;let t={};if(Array.isArray(e))t=e.reduce(((e,t)=>({...e,...f(t)})),{});else{if(!e)return;t=f(e)}const n=Object.entries(t).reduce(((e,[t,n])=>{if(t.match(s)){e[t.slice(a.length)]=n}return e}),{});return Object.keys(n).length>0?n:void 0}function l(e){if(!e)return;return function(e){if(0===Object.keys(e).length)return;return Object.entries(e).reduce(((e,[t,n],r)=>{const o=`${encodeURIComponent(t)}=${encodeURIComponent(n)}`,a=0===r?o:`${e},${o}`;return a.length>u?(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.logger.warn(`Not adding key: ${t} with val: ${n} to baggage header due to exceeding baggage size limits.`),e):a}),"")}(Object.entries(e).reduce(((e,[t,n])=>(n&&(e[`${a}${t}`]=n),e)),{}))}function f(e){return e.split(",").map((e=>e.split("=").map((e=>decodeURIComponent(e.trim()))))).reduce(((e,[t,n])=>(e[t]=n,e)),{})}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{getDynamicSamplingContextFromClient:()=>o});var r=n(277),i=n(282);function o(e,t,n){const o=t.getOptions(),{publicKey:a}=t.getDsn()||{},{segment:s}=n&&n.getUser()||{},u=(0,r.dropUndefinedKeys)({environment:o.environment||i.DEFAULT_ENVIRONMENT,release:o.release,user_segment:s,public_key:a,trace_id:e});return t.emit&&t.emit("createDsc",u),u}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{IdleTransaction:()=>l,IdleTransactionSpanRecorder:()=>c,TRACING_DEFAULTS:()=>s});var r=n(270),i=n(278),o=n(585),a=n(584);const s={idleTimeout:1e3,finalTimeout:3e4,heartbeatInterval:5e3},u=["heartbeatFailed","idleTimeout","documentHidden","finalTimeout","externalFinish","cancelled"];class c extends o.SpanRecorder{constructor(e,t,n,r){super(r),this._pushActivity=e,this._popActivity=t,this.transactionSpanId=n}add(e){e.spanId!==this.transactionSpanId&&(e.finish=t=>{e.endTimestamp="number"==typeof t?t:(0,r.timestampInSeconds)(),this._popActivity(e.spanId)},void 0===e.endTimestamp&&this._pushActivity(e.spanId)),super.add(e)}}class l extends a.Transaction{constructor(e,t,n=s.idleTimeout,r=s.finalTimeout,o=s.heartbeatInterval,a=!1){super(e,t),this._idleHub=t,this._idleTimeout=n,this._finalTimeout=r,this._heartbeatInterval=o,this._onScope=a,this.activities={},this._heartbeatCounter=0,this._finished=!1,this._idleTimeoutCanceledPermanently=!1,this._beforeFinishCallbacks=[],this._finishReason=u[4],a&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.logger.log(`Setting idle transaction on scope. Span ID: ${this.spanId}`),t.configureScope((e=>e.setSpan(this)))),this._restartIdleTimeout(),setTimeout((()=>{this._finished||(this.setStatus("deadline_exceeded"),this._finishReason=u[3],this.finish())}),this._finalTimeout)}finish(e=(0,r.timestampInSeconds)()){if(this._finished=!0,this.activities={},"ui.action.click"===this.op&&this.setTag("finishReason",this._finishReason),this.spanRecorder){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.logger.log("[Tracing] finishing IdleTransaction",new Date(1e3*e).toISOString(),this.op);
9for(const t of this._beforeFinishCallbacks)t(this,e);this.spanRecorder.spans=this.spanRecorder.spans.filter((t=>{if(t.spanId===this.spanId)return!0;t.endTimestamp||(t.endTimestamp=e,t.setStatus("cancelled"),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.logger.log("[Tracing] cancelling span since transaction ended early",JSON.stringify(t,void 0,2)));const n=t.startTimestamp<e,r=(this._finalTimeout+this._idleTimeout)/1e3,o=t.endTimestamp-this.startTimestamp<r;if("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__){const e=JSON.stringify(t,void 0,2);n?o||i.logger.log("[Tracing] discarding Span since it finished after Transaction final timeout",e):i.logger.log("[Tracing] discarding Span since it happened after Transaction was finished",e)}return n&&o})),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.logger.log("[Tracing] flushing IdleTransaction")}else("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.logger.log("[Tracing] No active IdleTransaction");if(this._onScope){const e=this._idleHub.getScope();e.getTransaction()===this&&e.setSpan(void 0)}return super.finish(e)}registerBeforeFinishCallback(e){this._beforeFinishCallbacks.push(e)}initSpanRecorder(e){if(!this.spanRecorder){const t=e=>{this._finished||this._pushActivity(e)},n=e=>{this._finished||this._popActivity(e)};this.spanRecorder=new c(t,n,this.spanId,e),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.logger.log("Starting heartbeat"),this._pingHeartbeat()}this.spanRecorder.add(this)}cancelIdleTimeout(e,{restartOnChildSpanChange:t}={restartOnChildSpanChange:!0}){this._idleTimeoutCanceledPermanently=!1===t,this._idleTimeoutID&&(clearTimeout(this._idleTimeoutID),this._idleTimeoutID=void 0,0===Object.keys(this.activities).length&&this._idleTimeoutCanceledPermanently&&(this._finishReason=u[5],this.finish(e)))}setFinishReason(e){this._finishReason=e}_restartIdleTimeout(e){this.cancelIdleTimeout(),this._idleTimeoutID=setTimeout((()=>{this._finished||0!==Object.keys(this.activities).length||(this._finishReason=u[1],this.finish(e))}),this._idleTimeout)}_pushActivity(e){this.cancelIdleTimeout(void 0,{restartOnChildSpanChange:!this._idleTimeoutCanceledPermanently}),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.logger.log(`[Tracing] pushActivity: ${e}`),this.activities[e]=!0,("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.logger.log("[Tracing] new activities count",Object.keys(this.activities).length)}_popActivity(e){if(this.activities[e]&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.logger.log(`[Tracing] popActivity ${e}`),delete this.activities[e],("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.logger.log("[Tracing] new activities count",Object.keys(this.activities).length)),0===Object.keys(this.activities).length){const e=(0,r.timestampInSeconds)();this._idleTimeoutCanceledPermanently?(this._finishReason=u[5],this.finish(e)):this._restartIdleTimeout(e+this._idleTimeout/1e3)}}_beat(){if(this._finished)return;const e=Object.keys(this.activities).join("");e===this._prevHeartbeatString?this._heartbeatCounter++:this._heartbeatCounter=1,this._prevHeartbeatString=e,this._heartbeatCounter>=3?(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.logger.log("[Tracing] Transaction finished because of no change for 3 heart beats"),this.setStatus("deadline_exceeded"),this._finishReason=u[0],this.finish()):this._pingHeartbeat()}_pingHeartbeat(){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.logger.log(`pinging Heartbeat -> current counter: ${this._heartbeatCounter}`),setTimeout((()=>{this._beat()}),this._heartbeatInterval)}}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{registerErrorInstrumentation:()=>s});var r=n(591),i=n(278),o=n(594);let a=!1;function s(){a||(a=!0,(0,r.addInstrumentationHandler)("error",u),(0,r.addInstrumentationHandler)("unhandledrejection",u))}function u(){const e=(0,o.getActiveTransaction)();if(e){const t="internal_error";("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.logger.log(`[Tracing] Transaction: ${t} -> Global error occured`),e.setStatus(t)}}u.tag="sentry_tracingErrorCallback"},(e,t,n)=>{"use strict";n.r(t),n.d(t,{SENTRY_XHR_DATA_KEY:()=>f,addInstrumentationHandler:()=>m,instrumentDOM:()=>k,instrumentXHR:()=>E,parseFetchArgs:()=>_,resetInstrumentationHandlers:()=>y});var r=n(276),i=n(278),o=n(277),a=n(577),s=n(592),u=n(271),c=n(593);const l=(0,u.getGlobalObject)(),f="__sentry_xhr_v2__",p={},d={};function h(e){if(!d[e])switch(d[e]=!0,e){case"console":!function(){if(!("console"in u.GLOBAL_OBJ))return;i.CONSOLE_LEVELS.forEach((function(e){e in u.GLOBAL_OBJ.console&&(0,o.fill)(u.G
9LOBAL_OBJ.console,e,(function(t){return i.originalConsoleMethods[e]=t,function(...t){g("console",{args:t,level:e});const n=i.originalConsoleMethods[e];n&&n.apply(u.GLOBAL_OBJ.console,t)}}))}))}();break;case"dom":k();break;case"xhr":E();break;case"fetch":!function(){if(!(0,s.supportsNativeFetch)())return;(0,o.fill)(u.GLOBAL_OBJ,"fetch",(function(e){return function(...t){const{method:n,url:r}=_(t),i={args:t,fetchData:{method:n,url:r},startTimestamp:Date.now()};return g("fetch",{...i}),e.apply(u.GLOBAL_OBJ,t).then((e=>(g("fetch",{...i,endTimestamp:Date.now(),response:e}),e)),(e=>{throw g("fetch",{...i,endTimestamp:Date.now(),error:e}),e}))}}))}();break;case"history":!function(){if(!(0,c.supportsHistory)())return;const e=l.onpopstate;function t(e){return function(...t){const n=t.length>2?t[2]:void 0;if(n){const e=S,t=String(n);S=t,g("history",{from:e,to:t})}return e.apply(this,t)}}l.onpopstate=function(...t){const n=l.location.href,r=S;if(S=n,g("history",{from:r,to:n}),e)try{return e.apply(this,t)}catch(e){}},(0,o.fill)(l.history,"pushState",t),(0,o.fill)(l.history,"replaceState",t)}();break;case"error":R=l.onerror,l.onerror=function(e,t,n,r,i){return g("error",{column:r,error:i,line:n,msg:e,url:t}),!(!R||R.__SENTRY_LOADER__)&&R.apply(this,arguments)},l.onerror.__SENTRY_INSTRUMENTED__=!0;break;case"unhandledrejection":N=l.onunhandledrejection,l.onunhandledrejection=function(e){return g("unhandledrejection",e),!(N&&!N.__SENTRY_LOADER__)||N.apply(this,arguments)},l.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0;break;default:return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.logger.warn("unknown instrumentation type:",e))}}function m(e,t){p[e]=p[e]||[],p[e].push(t),h(e)}function y(){Object.keys(p).forEach((e=>{p[e]=void 0}))}function g(e,t){if(e&&p[e])for(const n of p[e]||[])try{n(t)}catch(t){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.logger.error(`Error while triggering instrumentation handler.\nType: ${e}\nName: ${(0,a.getFunctionName)(n)}\nError:`,t)}}function v(e,t){return!!e&&"object"==typeof e&&!!e[t]}function b(e){return"string"==typeof e?e:e?v(e,"url")?e.url:e.toString?e.toString():"":""}function _(e){if(0===e.length)return{method:"GET",url:""};if(2===e.length){const[t,n]=e;return{url:b(t),method:v(n,"method")?String(n.method).toUpperCase():"GET"}}const t=e[0];return{url:b(t),method:v(t,"method")?String(t.method).toUpperCase():"GET"}}function E(){if(!l.XMLHttpRequest)return;const e=XMLHttpRequest.prototype;(0,o.fill)(e,"open",(function(e){return function(...t){const n=t[1],i=this[f]={method:(0,r.isString)(t[0])?t[0].toUpperCase():t[0],url:t[1],request_headers:{}};(0,r.isString)(n)&&"POST"===i.method&&n.match(/sentry_key/)&&(this.__sentry_own_request__=!0);const a=()=>{const e=this[f];if(e&&4===this.readyState){try{e.status_code=this.status}catch(e){}g("xhr",{args:t,endTimestamp:Date.now(),startTimestamp:Date.now(),xhr:this})}};return"onreadystatechange"in this&&"function"==typeof this.onreadystatechange?(0,o.fill)(this,"onreadystatechange",(function(e){return function(...t){return a(),e.apply(this,t)}})):this.addEventListener("readystatechange",a),(0,o.fill)(this,"setRequestHeader",(function(e){return function(...t){const[n,r]=t,i=this[f];return i&&(i.request_headers[n.toLowerCase()]=r),e.apply(this,t)}})),e.apply(this,t)}})),(0,o.fill)(e,"send",(function(e){return function(...t){const n=this[f];return n&&void 0!==t[0]&&(n.body=t[0]),g("xhr",{args:t,startTimestamp:Date.now(),xhr:this}),e.apply(this,t)}}))}let S;const w=1e3;let T,O;function x(e,t=!1){return n=>{if(!n||O===n)return;if(function(e){if("keypress"!==e.type)return!1;try{const t=e.target;if(!t||!t.tagName)return!0;if("INPUT"===t.tagName||"TEXTAREA"===t.tagName||t.isContentEditable)return!1}catch(e){}return!0}(n))return;const r="keypress"===n.type?"input":n.type;(void 0===T||function(e,t){if(!e)return!0;if(e.type!==t.type)return!0;try{if(e.target!==t.target)return!0}catch(e){}return!1}(O,n))&&(e({event:n,name:r,global:t}),O=n),clearTimeout(T),T=l.setTimeout((()=>{T=void 0}),w)}}function k(){if(!l.document)return;const e=g.bind(null,"dom"),t=x(e,!0);l.document.addEventListener("click",t,!1),l.document.addEventListener("keypress",t,!1),["EventTarget","Node"].forEach((t=>{const n=l[t]&&l[t].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&((0,o.fill)(n,"addEventListener",(function(t){return function(n,r,i){if("click"===n||"keypress"==n)try{const r=this,o=r.__sentry_instrumentation_handlers__=r.__sentry_instrumentation_handlers__||{},a=o[n]=o[n]||{refCount:0};if(!a.handler){const r=x(e);a.handler=r,t.call(this,n,r,i)}a.refCount++}catch(e){}return t.call(this,n,r,i)}})),(0,o.fill)(n,"removeEventListener",(function(e){return function(t,n,r){if("click"===t||"keypress"==t)try{const n=this,i=n.__sentry_instrumentation_handlers__||{},o=i[t];o&&(o.refCount--,o.refCount<=0&&(e.call(this,t,o.handler,r),o.handler=void 0,delete i[t]),0===Object.keys(i).length&&delete n.__sentry_instrumentation_handlers__)}catch(e){}return e.call(this,t,n,r)}})))}))}let R=null;let N=null},(e,t,n)=>{"use strict";n.r(t),n.d(t,{isNativeFetch:()=>c,supportsDOMError:()=>a,supportsDOMException:()=>s,supportsErrorEvent:()=>o,supportsFetch:()=>u,supportsNativeFetch:()=>l,supportsReferrerPolicy:()=>p,supportsReportingObserver:()=>f});var r=n(278);const i=(0,n(271).getGlobalObject)();function o(){try{return new ErrorEvent(""),!0}catch(e){return!1}}function a(){try{return new DOMError(""),!0}catch(e){return!1}}function s(){try{return new DOMException(""),!0}catch(e){return!1}}function u(){if(!("fetch"in i))return!1;
9try{return new Headers,new Request("http://www.example.com"),new Response,!0}catch(e){return!1}}function c(e){return e&&/^function fetch\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}function l(){if(!u())return!1;if(c(i.fetch))return!0;let e=!1;const t=i.document;if(t&&"function"==typeof t.createElement)try{const n=t.createElement("iframe");n.hidden=!0,t.head.appendChild(n),n.contentWindow&&n.contentWindow.fetch&&(e=c(n.contentWindow.fetch)),t.head.removeChild(n)}catch(e){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.logger.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",e)}return e}function f(){return"ReportingObserver"in i}function p(){if(!u())return!1;try{return new Request("_",{referrerPolicy:"origin"}),!0}catch(e){return!1}}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{supportsHistory:()=>i});const r=(0,n(271).getGlobalObject)();function i(){const e=r.chrome,t=e&&e.app&&e.app.runtime,n="history"in r&&!!r.history.pushState&&!!r.history.replaceState;return!t&&n}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{TRACEPARENT_REGEXP:()=>i.TRACEPARENT_REGEXP,extractTraceparentData:()=>i.extractTraceparentData,getActiveTransaction:()=>a,stripUrlQueryAndFragment:()=>o.stripUrlQueryAndFragment});var r=n(267),i=n(586),o=n(595);function a(e){return(e||(0,r.getCurrentHub)()).getScope().getTransaction()}},(e,t,n)=>{"use strict";function r(e){if(!e)return{};const t=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};const n=t[6]||"",r=t[8]||"";return{host:t[4],path:t[5],protocol:t[2],search:n,hash:r,relative:t[5]+n+r}}function i(e){return e.split(/[\?#]/,1)[0]}function o(e){return e.split(/\\?\//).filter((e=>e.length>0&&","!==e)).length}function a(e){const{protocol:t,host:n,path:r}=e;return`${t?`${t}://`:""}${n&&n.replace(/^.*@/,"[filtered]:[filtered]@").replace(":80","").replace(":443","")||""}${r}`}n.r(t),n.d(t,{getNumberOfUrlSegments:()=>o,getSanitizedUrlString:()=>a,parseUrl:()=>r,stripUrlQueryAndFragment:()=>i})},(e,t,n)=>{"use strict";n.r(t),n.d(t,{DEFAULT_TRANSPORT_BUFFER_SIZE:()=>c,createTransport:()=>l});var r=n(597),i=n(574),o=n(599),a=n(281),s=n(278),u=n(598);const c=30;function l(e,t,n=(0,r.makePromiseBuffer)(e.bufferSize||c)){let l={};function p(r){const c=[];if((0,i.forEachEnvelopeItem)(r,((t,n)=>{const r=(0,i.envelopeItemTypeToDataCategory)(n);if((0,o.isRateLimited)(l,r)){const i=f(t,n);e.recordDroppedEvent("ratelimit_backoff",r,i)}else c.push(t)})),0===c.length)return(0,a.resolvedSyncPromise)();const p=(0,i.createEnvelope)(r[0],c),d=t=>{(0,i.forEachEnvelopeItem)(p,((n,r)=>{const o=f(n,r);e.recordDroppedEvent(t,(0,i.envelopeItemTypeToDataCategory)(r),o)}))};return n.add((()=>t({body:(0,i.serializeEnvelope)(p,e.textEncoder)}).then((e=>(void 0!==e.statusCode&&(e.statusCode<200||e.statusCode>=300)&&("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&s.logger.warn(`Sentry responded with status code ${e.statusCode} to sent event.`),l=(0,o.updateRateLimits)(l,e),e)),(e=>{throw d("network_error"),e})))).then((e=>e),(e=>{if(e instanceof u.SentryError)return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&s.logger.error("Skipped sending event because buffer is full."),d("queue_overflow"),(0,a.resolvedSyncPromise)();throw e}))}return p.__sentry__baseTransport__=!0,{send:p,flush:e=>n.drain(e)}}function f(e,t){if("event"===t||"transaction"===t)return Array.isArray(e)?e[1]:void 0}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{makePromiseBuffer:()=>o});var r=n(598),i=n(281);function o(e){const t=[];function n(e){return t.splice(t.indexOf(e),1)[0]}return{$:t,add:function(o){if(!(void 0===e||t.length<e))return(0,i.rejectedSyncPromise)(new r.SentryError("Not adding Promise because buffer limit was reached."));const a=o();return-1===t.indexOf(a)&&t.push(a),a.then((()=>n(a))).then(null,(()=>n(a).then(null,(()=>{})))),a},drain:function(e){return new i.SyncPromise(((n,r)=>{let o=t.length;if(!o)return n(!0);const a=setTimeout((()=>{e&&e>0&&n(!1)}),e);t.forEach((e=>{(0,i.resolvedSyncPromise)(e).then((()=>{--o||(clearTimeout(a),n(!0))}),r)}))}))}}}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{SentryError:()=>r});
9class r extends Error{constructor(e,t="warn"){super(e),this.message=e,this.name=new.target.prototype.constructor.name,Object.setPrototypeOf(this,new.target.prototype),this.logLevel=t}}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{DEFAULT_RETRY_AFTER:()=>r,disabledUntil:()=>o,isRateLimited:()=>a,parseRetryAfterHeader:()=>i,updateRateLimits:()=>s});const r=6e4;function i(e,t=Date.now()){const n=parseInt(`${e}`,10);if(!isNaN(n))return 1e3*n;const i=Date.parse(`${e}`);return isNaN(i)?r:i-t}function o(e,t){return e[t]||e.all||0}function a(e,t,n=Date.now()){return o(e,t)>n}function s(e,{statusCode:t,headers:n},r=Date.now()){const o={...e},a=n&&n["x-sentry-rate-limits"],s=n&&n["retry-after"];if(a)for(const e of a.trim().split(",")){const[t,n]=e.split(":",2),i=parseInt(t,10),a=1e3*(isNaN(i)?60:i);if(n)for(const e of n.split(";"))o[e]=r+a;else o.all=r+a}else s?o.all=r+i(s,r):429===t&&(o.all=r+6e4);return o}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{getActiveSpan:()=>f,startActiveSpan:()=>u,startInactiveSpan:()=>l,startSpan:()=>s,startSpanManual:()=>c,trace:()=>a});var r=n(276),i=n(267),o=n(583);function a(e,t,n=(()=>{})){const o=d(e),a=(0,i.getCurrentHub)(),s=a.getScope(),u=s.getSpan(),c=p(a,u,o);function l(){c&&c.finish(),a.getScope().setSpan(u)}let f;s.setSpan(c);try{f=t(c)}catch(e){throw c&&c.setStatus("internal_error"),n(e),l(),e}return(0,r.isThenable)(f)?Promise.resolve(f).then((()=>{l()}),(e=>{c&&c.setStatus("internal_error"),n(e),l()})):l(),f}function s(e,t){const n=d(e),o=(0,i.getCurrentHub)(),a=o.getScope(),s=a.getSpan(),u=p(o,s,n);function c(){u&&u.finish(),o.getScope().setSpan(s)}let l;a.setSpan(u);try{l=t(u)}catch(e){throw u&&u.setStatus("internal_error"),c(),e}return(0,r.isThenable)(l)?Promise.resolve(l).then((()=>{c()}),(()=>{u&&u.setStatus("internal_error"),c()})):c(),l}const u=s;function c(e,t){const n=d(e),o=(0,i.getCurrentHub)(),a=o.getScope(),s=a.getSpan(),u=p(o,s,n);let c;a.setSpan(u);try{c=t(u,(function(){u&&u.finish(),o.getScope().setSpan(s)}))}catch(e){throw u&&u.setStatus("internal_error"),e}return(0,r.isThenable)(c)&&Promise.resolve(c).then(void 0,(()=>{u&&u.setStatus("internal_error")})),c}function l(e){if(!(0,o.hasTracingEnabled)())return;const t={...e};void 0!==t.name&&void 0===t.description&&(t.description=t.name);const n=(0,i.getCurrentHub)(),r=f();return r?r.startChild(t):n.startTransaction(t)}function f(){return(0,i.getCurrentHub)().getScope().getSpan()}function p(e,t,n){if((0,o.hasTracingEnabled)())return t?t.startChild(n):e.startTransaction(n)}function d(e){const t={...e};return void 0!==t.name&&void 0===t.description&&(t.description=t.name),t}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{eventFromEnvelope:()=>a,makeMultiplexedTransport:()=>s});var r=n(574),i=n(579),o=n(602);function a(e,t){let n;return(0,r.forEachEnvelopeItem)(e,((e,r)=>(t.includes(r)&&(n=Array.isArray(e)?e[1]:void 0),!!n))),n}function s(e,t){return n=>{const r=e(n),s={};function u(t,r){const u=r?`${t}:${r}`:t;if(!s[u]){const c=(0,i.dsnFromString)(t);if(!c)return;const l=(0,o.getEnvelopeEndpointWithUrlEncodedAuth)(c);s[u]=r?function(e,t){return n=>{const r=e(n);return{send:async e=>{const n=a(e,["event","transaction","profile","replay_event"]);return n&&(n.release=t),r.send(e)},flush:e=>r.flush(e)}}}(e,r)({...n,url:l}):e({...n,url:l})}return s[u]}return{send:async function(e){const n=t({envelope:e,getEvent:function(t){const n=t&&t.length?t:["event"];return a(e,n)}}).map((e=>"string"==typeof e?u(e,void 0):u(e.dsn,e.release))).filter((e=>!!e));return 0===n.length&&n.push(r),(await Promise.all(n.map((t=>t.send(e)))))[0]},flush:async function(e){const t=[...Object.keys(s).map((e=>s[e])),r];return(await Promise.all(t.map((t=>t.flush(e))))).every((e=>e))}}}}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{getEnvelopeEndpointWithUrlEncodedAuth:()=>s,getReportDialogEndpoint:()=>u});var r=n(277),i=n(579);const o="7";function a(e){const t=e.protocol?`${e.protocol}:`:"",n=e.port?`:${e.port}`:"";return`${t}//${e.host}${n}${e.path?`/${e.path}`:""}/api/`}function s(e,t={}){const n="string"==typeof t?t:t.tunnel,i="string"!=typeof t&&t._metadata?t._metadata.sdk:void 0;return n||`${function(e){return`${a(e)}${e.projectId}/envelope/`}(e)}?${function(e,t){return(0,r.urlEncode)({sentry_key:e.publicKey,sentry_version:o,...t&&{sentry_client:`${t.name}/${t.version}`}})}(e,i)}`}function u(e,t){const n=(0,i.makeDsn)(e);if(!n)return"";const r=`${a(n)}embed/error-page/`;let o=`dsn=${(0,i.dsnToString)(n)}`;for(const e in t)if("dsn"!==e)if("user"===e){const e=t.user;if(!e)continue;e.name&&(o+=`&name=${encodeURIComponent(e.name)}
9`),e.email&&(o+=`&email=${encodeURIComponent(e.email)}`)}else o+=`&${encodeURIComponent(e)}=${encodeURIComponent(t[e])}`;return`${r}?${o}`}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{setMeasurement:()=>i});var r=n(594);function i(e,t,n){const i=(0,r.getActiveTransaction)();i&&i.setMeasurement(e,t,n)}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{WINDOW:()=>s,ignoreNextOnError:()=>l,shouldIgnoreOnError:()=>c,wrap:()=>f});var r=n(266),i=n(271),o=n(277),a=n(274);const s=i.GLOBAL_OBJ;let u=0;function c(){return u>0}function l(){u++,setTimeout((()=>{u--}))}function f(e,t={},n){if("function"!=typeof e)return e;try{const t=e.__sentry_wrapped__;if(t)return t;if((0,o.getOriginalFunction)(e))return e}catch(t){return e}const i=function(){const i=Array.prototype.slice.call(arguments);try{n&&"function"==typeof n&&n.apply(this,arguments);const r=i.map((e=>f(e,t)));return e.apply(this,r)}catch(e){throw l(),(0,r.withScope)((n=>{n.addEventProcessor((e=>(t.mechanism&&((0,a.addExceptionTypeValue)(e,void 0,void 0),(0,a.addExceptionMechanism)(e,t.mechanism)),e.extra={...e.extra,arguments:i},e))),(0,r.captureException)(e)})),e}};try{for(const t in e)Object.prototype.hasOwnProperty.call(e,t)&&(i[t]=e[t])}catch(e){}(0,o.markFunctionWrapped)(i,e),(0,o.addNonEnumerableProperty)(e,"__sentry_wrapped__",i);try{Object.getOwnPropertyDescriptor(i,"name").configurable&&Object.defineProperty(i,"name",{get:()=>e.name})}catch(e){}return i}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{BrowserClient:()=>p});var r=n(606),i=n(581),o=n(273),a=n(278),s=n(612),u=n(579),c=n(610),l=n(604),f=n(611);class p extends r.BaseClient{constructor(e){const t=l.WINDOW.SENTRY_SDK_SOURCE||(0,o.getSDKSource)();e._metadata=e._metadata||{},e._metadata.sdk=e._metadata.sdk||{name:"sentry.javascript.browser",packages:[{name:`${t}:@sentry/browser`,version:i.SDK_VERSION}],version:i.SDK_VERSION},super(e),e.sendClientReports&&l.WINDOW.document&&l.WINDOW.document.addEventListener("visibilitychange",(()=>{"hidden"===l.WINDOW.document.visibilityState&&this._flushOutcomes()}))}eventFromException(e,t){return(0,c.eventFromException)(this._options.stackParser,e,t,this._options.attachStacktrace)}eventFromMessage(e,t="info",n){return(0,c.eventFromMessage)(this._options.stackParser,e,t,n,this._options.attachStacktrace)}captureUserFeedback(e){if(!this._isEnabled())return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.logger.warn("SDK not enabled, will not capture user feedback."));const t=(0,f.createUserFeedbackEnvelope)(e,{metadata:this.getSdkMetadata(),dsn:this.getDsn(),tunnel:this.getOptions().tunnel});this._sendEnvelope(t)}_prepareEvent(e,t,n){return e.platform=e.platform||"javascript",super._prepareEvent(e,t,n)}_flushOutcomes(){const e=this._clearOutcomes();if(0===e.length)return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.logger.log("No outcomes to send"));if(!this._dsn)return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.logger.log("No dsn provided, will not send outcomes"));("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.logger.log("Sending outcomes:",e);const t=(0,s.createClientReportEnvelope)(e,this._options.tunnel&&(0,u.dsnToString)(this._dsn));this._sendEnvelope(t)}}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{BaseClient:()=>g});var r=n(579),i=n(278),o=n(274),a=n(276),s=n(281),u=n(574),c=n(598),l=n(602),f=n(608),p=n(607),d=n(269),h=n(588),m=n(609);const y="Not capturing exception because it's already been captured.";class g{constructor(e){if(this._options=e,this._integrations={},this._integrationsInitialized=!1,this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],e.dsn?this._dsn=(0,r.makeDsn)(e.dsn):("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.logger.warn("No DSN provided, client will not do anything."),this._dsn){const t=(0,l.getEnvelopeEndpointWithUrlEncodedAuth)(this._dsn,e);this._transport=e.transport({recordDroppedEvent:this.recordDroppedEvent.bind(this),...e.transportOptions,url:t})}}captureException(e,t,n){if((0,o.checkOrSetAlreadyCaught)(e))return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.logger.log(y));let r=t&&t.event_id;return this._process(this.eventFromException(e,t).then((e=>this._captureEvent(e,t,n))).then((e=>{r=e}))),r}captureMessage(e,t,n,r){let i=n&&n.event_id;const o=(0,a.isPrimitive)(e)?this.eventFromMessage(String(e),t,n):this.eventFromException(e,n);return this._process(o.then((e=>this._captureEvent(e,n,r))).then((e=>{i=e}))),i}captureEvent(e,t,n){if(t&&t.originalException&&(0,o.checkOrSetAlreadyCaught)(t.originalException))return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.logger.log(y));let r=t&&t.event_id;return this._process(this._captureEvent(e,t,n).then((e=>{r=e}))),r}captureSession(e){this._isEnabled()?"string"!=typeof e.release?("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.logger.warn("Discarded session because of missing or non-string release"):(this.sendSession(e),(0,d.updateSession)(e,{init:!1})):("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.logger.warn("SDK not enabled, will not capture session.")}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}flush(e){const t=this._transport;
9return t?this._isClientDoneProcessing(e).then((n=>t.flush(e).then((e=>n&&e)))):(0,s.resolvedSyncPromise)(!0)}close(e){return this.flush(e).then((e=>(this.getOptions().enabled=!1,e)))}getEventProcessors(){return this._eventProcessors}addEventProcessor(e){this._eventProcessors.push(e)}setupIntegrations(){this._isEnabled()&&!this._integrationsInitialized&&(this._integrations=(0,p.setupIntegrations)(this,this._options.integrations),this._integrationsInitialized=!0)}getIntegrationById(e){return this._integrations[e]}getIntegration(e){try{return this._integrations[e.id]||null}catch(t){return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.logger.warn(`Cannot retrieve integration ${e.id} from the current Client`),null}}addIntegration(e){(0,p.setupIntegration)(this,e,this._integrations)}sendEvent(e,t={}){if(this.emit("beforeSendEvent",e,t),this._dsn){let n=(0,f.createEventEnvelope)(e,this._dsn,this._options._metadata,this._options.tunnel);for(const e of t.attachments||[])n=(0,u.addItemToEnvelope)(n,(0,u.createAttachmentEnvelopeItem)(e,this._options.transportOptions&&this._options.transportOptions.textEncoder));const r=this._sendEnvelope(n);r&&r.then((t=>this.emit("afterSendEvent",e,t)),null)}}sendSession(e){if(this._dsn){const t=(0,f.createSessionEnvelope)(e,this._dsn,this._options._metadata,this._options.tunnel);this._sendEnvelope(t)}}recordDroppedEvent(e,t,n){if(this._options.sendClientReports){const n=`${e}:${t}`;("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.logger.log(`Adding outcome: "${n}"`),this._outcomes[n]=this._outcomes[n]+1||1}}on(e,t){this._hooks[e]||(this._hooks[e]=[]),this._hooks[e].push(t)}emit(e,...t){this._hooks[e]&&this._hooks[e].forEach((e=>e(...t)))}_updateSessionFromEvent(e,t){let n=!1,r=!1;const i=t.exception&&t.exception.values;if(i){r=!0;for(const e of i){const t=e.mechanism;if(t&&!1===t.handled){n=!0;break}}}const o="ok"===e.status;(o&&0===e.errors||o&&n)&&((0,d.updateSession)(e,{...n&&{status:"crashed"},errors:e.errors||Number(r||n)}),this.captureSession(e))}_isClientDoneProcessing(e){return new s.SyncPromise((t=>{let n=0;const r=setInterval((()=>{0==this._numProcessing?(clearInterval(r),t(!0)):(n+=1,e&&n>=e&&(clearInterval(r),t(!1)))}),1)}))}_isEnabled(){return!1!==this.getOptions().enabled&&void 0!==this._dsn}_prepareEvent(e,t,n){const r=this.getOptions(),i=Object.keys(this._integrations);return!t.integrations&&i.length>0&&(t.integrations=i),this.emit("preprocessEvent",e,t),(0,m.prepareEvent)(r,e,t,n,this).then((e=>{if(null===e)return e;const{propagationContext:t}=e.sdkProcessingMetadata||{};if(!(e.contexts&&e.contexts.trace)&&t){const{traceId:r,spanId:i,parentSpanId:o,dsc:a}=t;e.contexts={trace:{trace_id:r,span_id:i,parent_span_id:o},...e.contexts};const s=a||(0,h.getDynamicSamplingContextFromClient)(r,this,n);e.sdkProcessingMetadata={dynamicSamplingContext:s,...e.sdkProcessingMetadata}}return e}))}_captureEvent(e,t={},n){return this._processEvent(e,t,n).then((e=>e.event_id),(e=>{if("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__){const t=e;"log"===t.logLevel?i.logger.log(t.message):i.logger.warn(t)}}))}_processEvent(e,t,n){const r=this.getOptions(),{sampleRate:i}=r;if(!this._isEnabled())return(0,s.rejectedSyncPromise)(new c.SentryError("SDK not enabled, will not capture event.","log"));const o=b(e),u=v(e),l=e.type||"error",f=`before send for type \`${l}\``;if(u&&"number"==typeof i&&Math.random()>i)return this.recordDroppedEvent("sample_rate","error",e),(0,s.rejectedSyncPromise)(new c.SentryError(`Discarding event because it's not included in the random sample (sampling rate = ${i})`,"log"));const p="replay_event"===l?"replay":l;return this._prepareEvent(e,t,n).then((n=>{if(null===n)throw this.recordDroppedEvent("event_processor",p,e),new c.SentryError("An event processor returned `null`, will not send event.","log");if(t.data&&!0===t.data.__sentry__)return n;const i=function(e,t,n){const{beforeSend:r,beforeSendTransaction:i}=e;if(v(t)&&r)return r(t,n);if(b(t)&&i)return i(t,n);return t}(r,n,t);return function(e,t){const n=`${t} must return \`null\` or a valid event.`;if((0,a.isThenable)(e))return e.then((e=>{if(!(0,a.isPlainObject)(e)&&null!==e)throw new c.SentryError(n);return e}),(e=>{throw new c.SentryError(`${t} rejected with ${e}`)}));if(!(0,a.isPlainObject)(e)&&null!==e)throw new c.SentryError(n);return e}(i,f)})).then((r=>{if(null===r)throw this.recordDroppedEvent("before_send",p,e),new c.SentryError(`${f} returned \`null\`, will not send event.`,"log");const i=n&&n.getSession();!o&&i&&this._updateSessionFromEvent(i,r);const a=r.transaction_info;if(o&&a&&r.transaction!==e.transaction){const e="custom";r.transaction_info={...a,source:e}}return this.sendEvent(r,t),r})).then(null,(e=>{if(e instanceof c.SentryError)throw e;throw this.captureException(e,{data:{__sentry__:!0},originalException:e}),new c.SentryError(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.\nReason: ${e}`)}))}_process(e){this._numProcessing++,e.then((e=>(this._numProcessing--,e)),(e=>(this._numProcessing--,e)))}
9_sendEnvelope(e){if(this._transport&&this._dsn)return this.emit("beforeEnvelope",e),this._transport.send(e).then(null,(e=>{("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.logger.error("Error while sending event:",e)}));("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.logger.error("Transport disabled")}_clearOutcomes(){const e=this._outcomes;return this._outcomes={},Object.keys(e).map((t=>{const[n,r]=t.split(":");return{reason:n,category:r,quantity:e[t]}}))}}function v(e){return void 0===e.type}function b(e){return"transaction"===e.type}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{getIntegrationsToSetup:()=>u,installedIntegrations:()=>s,setupIntegration:()=>l,setupIntegrations:()=>c});var r=n(274),i=n(278),o=n(280),a=n(267);const s=[];function u(e){const t=e.defaultIntegrations||[],n=e.integrations;let i;t.forEach((e=>{e.isDefaultInstance=!0})),i=Array.isArray(n)?[...t,...n]:"function"==typeof n?(0,r.arrayify)(n(t)):t;const o=function(e){const t={};return e.forEach((e=>{const{name:n}=e,r=t[n];r&&!r.isDefaultInstance&&e.isDefaultInstance||(t[n]=e)})),Object.keys(t).map((e=>t[e]))}(i),a=function(e,t){for(let n=0;n<e.length;n++)if(!0===t(e[n]))return n;return-1}(o,(e=>"Debug"===e.name));if(-1!==a){const[e]=o.splice(a,1);o.push(e)}return o}function c(e,t){const n={};return t.forEach((t=>{t&&l(e,t,n)})),n}function l(e,t,n){if(n[t.name]=t,-1===s.indexOf(t.name)&&(t.setupOnce(o.addGlobalEventProcessor,a.getCurrentHub),s.push(t.name)),e.on&&"function"==typeof t.preprocessEvent){const n=t.preprocessEvent.bind(t);e.on("preprocessEvent",((t,r)=>n(t,r,e)))}if(e.addEventProcessor&&"function"==typeof t.processEvent){const n=t.processEvent.bind(t),r=Object.assign(((t,r)=>n(t,r,e)),{id:t.name});e.addEventProcessor(r)}("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.logger.log(`Integration installed: ${t.name}`)}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{createEventEnvelope:()=>a,createSessionEnvelope:()=>o});var r=n(574),i=n(579);function o(e,t,n,o){const a=(0,r.getSdkMetadataForEnvelopeHeader)(n),s={sent_at:(new Date).toISOString(),...a&&{sdk:a},...!!o&&{dsn:(0,i.dsnToString)(t)}},u="aggregates"in e?[{type:"sessions"},e]:[{type:"session"},e.toJSON()];return(0,r.createEnvelope)(s,[u])}function a(e,t,n,i){const o=(0,r.getSdkMetadataForEnvelopeHeader)(n),a=e.type&&"replay_event"!==e.type?e.type:"event";!function(e,t){t&&(e.sdk=e.sdk||{},e.sdk.name=e.sdk.name||t.name,e.sdk.version=e.sdk.version||t.version,e.sdk.integrations=[...e.sdk.integrations||[],...t.integrations||[]],e.sdk.packages=[...e.sdk.packages||[],...t.packages||[]])}(e,n&&n.sdk);const s=(0,r.createEventEnvelopeHeaders)(e,o,i,t);delete e.sdkProcessingMetadata;const u=[{type:a},e];return(0,r.createEnvelope)(s,[u])}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{applyDebugIds:()=>h,applyDebugMeta:()=>m,prepareEvent:()=>p});var r=n(274),i=n(270),o=n(281),a=n(275),s=n(271),u=n(575),c=n(282),l=n(280),f=n(268);function p(e,t,n,s,p){const{normalizeDepth:d=3,normalizeMaxBreadth:y=1e3}=e,g={...t,event_id:t.event_id||n.event_id||(0,r.uuid4)(),timestamp:t.timestamp||(0,i.dateTimestampInSeconds)()},v=n.integrations||e.integrations.map((e=>e.name));!function(e,t){const{environment:n,release:r,dist:i,maxValueLength:o=250}=t;"environment"in e||(e.environment="environment"in t?n:c.DEFAULT_ENVIRONMENT);void 0===e.release&&void 0!==r&&(e.release=r);void 0===e.dist&&void 0!==i&&(e.dist=i);e.message&&(e.message=(0,a.truncate)(e.message,o));const s=e.exception&&e.exception.values&&e.exception.values[0];s&&s.value&&(s.value=(0,a.truncate)(s.value,o));const u=e.request;u&&u.url&&(u.url=(0,a.truncate)(u.url,o))}(g,e),function(e,t){t.length>0&&(e.sdk=e.sdk||{},e.sdk.integrations=[...e.sdk.integrations||[],...t])}(g,v),void 0===t.type&&h(g,e.stackParser);let b=s;n.captureContext&&(b=f.Scope.clone(b).update(n.captureContext));let _=(0,o.resolvedSyncPromise)(g);if(b){if(b.getAttachments){const e=[...n.attachments||[],...b.getAttachments()];e.length&&(n.attachments=e)}_=b.applyToEvent(g,n)}return _.then((e=>p&&p.getEventProcessors?(0,l.notifyEventProcessors)(p.getEventProcessors(),e,n):e)).then((e=>(e&&m(e),"number"==typeof d&&d>0?function(e,t,n){if(!e)return null;const r={...e,...e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map((e=>({...e,...e.data&&{data:(0,u.normalize)(e.data,t,n)}})))},...e.user&&{user:(0,u.normalize)(e.user,t,n)},...e.contexts&&{contexts:(0,u.normalize)(e.contexts,t,n)},...e.extra&&{extra:(0,u.normalize)(e.extra,t,n)}};e.contexts&&e.contexts.trace&&r.contexts&&(r.contexts.trace=e.contexts.trace,e.contexts.trace.data&&(r.contexts.trace.data=(0,u.normalize)(e.contexts.trace.data,t,n)));e.spans&&(r.spans=e.spans.map((e=>(e.data&&(e.data=(0,u.normalize)(e.data,t,n)),e))));return r}(e,d,y):e)))}const d=new WeakMap;function h(e,t){const n=s.GLOBAL_OBJ._sentryDebugIds;if(!n)return;let r;const i=d.get(t);i?r=i:(r=new Map,d.set(t,r));const o=Object.keys(n).reduce(((e,i)=>{let o;const a=r.get(i);a?o=a:(o=t(i),r.set(i,o));for(let t=o.length-1;t>=0;t--){const r=o[t];if(r.filename){e[r.filename]=n[i];break}}return e}),{});
9try{e.exception.values.forEach((e=>{e.stacktrace.frames.forEach((e=>{e.filename&&(e.debug_id=o[e.filename])}))}))}catch(e){}}function m(e){const t={};try{e.exception.values.forEach((e=>{e.stacktrace.frames.forEach((e=>{e.debug_id&&(e.abs_path?t[e.abs_path]=e.debug_id:e.filename&&(t[e.filename]=e.debug_id),delete e.debug_id)}))}))}catch(e){}if(0===Object.keys(t).length)return;e.debug_meta=e.debug_meta||{},e.debug_meta.images=e.debug_meta.images||[];const n=e.debug_meta.images;Object.keys(t).forEach((e=>{n.push({type:"sourcemap",code_file:e,debug_id:t[e]})}))}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{eventFromError:()=>f,eventFromException:()=>m,eventFromMessage:()=>y,eventFromPlainObject:()=>l,eventFromString:()=>v,eventFromUnknownInput:()=>g,exceptionFromError:()=>c,parseStackFrames:()=>p});var r=n(267),i=n(276),o=n(575),a=n(274),s=n(281),u=n(277);function c(e,t){const n=p(e,t),r={type:t&&t.name,value:h(t)};return n.length&&(r.stacktrace={frames:n}),void 0===r.type&&""===r.value&&(r.value="Unrecoverable error caught"),r}function l(e,t,n,a){const s=(0,r.getCurrentHub)().getClient(),u=s&&s.getOptions().normalizeDepth,c={exception:{values:[{type:(0,i.isEvent)(t)?t.constructor.name:a?"UnhandledRejection":"Error",value:b(t,{isUnhandledRejection:a})}]},extra:{__serialized__:(0,o.normalizeToSize)(t,u)}};if(n){const t=p(e,n);t.length&&(c.exception.values[0].stacktrace={frames:t})}return c}function f(e,t){return{exception:{values:[c(e,t)]}}}function p(e,t){const n=t.stacktrace||t.stack||"",r=function(e){if(e){if("number"==typeof e.framesToPop)return e.framesToPop;if(d.test(e.message))return 1}return 0}(t);try{return e(n,r)}catch(e){}return[]}const d=/Minified React error #\d+;/i;function h(e){const t=e&&e.message;return t?t.error&&"string"==typeof t.error.message?t.error.message:t:"No error message"}function m(e,t,n,r){const i=g(e,t,n&&n.syntheticException||void 0,r);return(0,a.addExceptionMechanism)(i),i.level="error",n&&n.event_id&&(i.event_id=n.event_id),(0,s.resolvedSyncPromise)(i)}function y(e,t,n="info",r,i){const o=v(e,t,r&&r.syntheticException||void 0,i);return o.level=n,r&&r.event_id&&(o.event_id=r.event_id),(0,s.resolvedSyncPromise)(o)}function g(e,t,n,r,o){let s;if((0,i.isErrorEvent)(t)&&t.error){return f(e,t.error)}if((0,i.isDOMError)(t)||(0,i.isDOMException)(t)){const o=t;if("stack"in t)s=f(e,t);else{const t=o.name||((0,i.isDOMError)(o)?"DOMError":"DOMException"),u=o.message?`${t}: ${o.message}`:t;s=v(e,u,n,r),(0,a.addExceptionTypeValue)(s,u)}return"code"in o&&(s.tags={...s.tags,"DOMException.code":`${o.code}`}),s}if((0,i.isError)(t))return f(e,t);if((0,i.isPlainObject)(t)||(0,i.isEvent)(t)){return s=l(e,t,n,o),(0,a.addExceptionMechanism)(s,{synthetic:!0}),s}return s=v(e,t,n,r),(0,a.addExceptionTypeValue)(s,`${t}`,void 0),(0,a.addExceptionMechanism)(s,{synthetic:!0}),s}function v(e,t,n,r){const i={message:t};if(r&&n){const r=p(e,n);r.length&&(i.exception={values:[{value:t,stacktrace:{frames:r}}]})}return i}function b(e,{isUnhandledRejection:t}){const n=(0,u.extractExceptionKeysForMessage)(e),r=t?"promise rejection":"exception";if((0,i.isErrorEvent)(e))return`Event \`ErrorEvent\` captured as ${r} with message \`${e.message}\``;if((0,i.isEvent)(e)){return`Event \`${function(e){try{const t=Object.getPrototypeOf(e);return t?t.constructor.name:void 0}catch(e){}}(e)}\` (type=${e.type}) captured as ${r}`}return`Object captured as ${r} with keys: ${n}`}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{createUserFeedbackEnvelope:()=>o});var r=n(579),i=n(574);function o(e,{metadata:t,tunnel:n,dsn:o}){const a={event_id:e.event_id,sent_at:(new Date).toISOString(),...t&&t.sdk&&{sdk:{name:t.sdk.name,version:t.sdk.version}},...!!n&&!!o&&{dsn:(0,r.dsnToString)(o)}},s=function(e){return[{type:"user_report"},e]}(e);return(0,i.createEnvelope)(a,[s])}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{createClientReportEnvelope:()=>o});var r=n(574),i=n(270);function o(e,t,n){const o=[{type:"client_report"},{timestamp:n||(0,i.dateTimestampInSeconds)(),discarded_events:e}];return(0,r.createEnvelope)(t?{dsn:t}:{},[o])}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{makeFetchTransport:()=>a});var r=n(596),i=n(281),o=n(614);function a(e,t=(0,o.getNativeFetchImplementation)()){let n=0,a=0;return(0,r.createTransport)(e,(function(r){const s=r.body.length;n+=s,a++;const u={body:r.body,method:"POST",referrerPolicy:"origin",headers:e.headers,keepalive:n<=6e4&&a<15,...e.fetchOptions};try{return t(e.url,u).then((e=>(n-=s,a--,{statusCode:e.status,headers:{"x-sentry-rate-limits":e.headers.get("X-Sentry-Rate-Limits"),"retry-after":e.headers.get("Retry-After")}})))}catch(e){return(0,o.clearCachedFetchImplementation)(),n-=s,a--,(0,i.rejectedSyncPromise)(e)}}))}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{clearCachedFetchImplementation:()=>u,getNativeFetchImplementation:()=>s});var r=n(592),i=n(278),o=n(604);let a;function s(){if(a)return a;
9if((0,r.isNativeFetch)(o.WINDOW.fetch))return a=o.WINDOW.fetch.bind(o.WINDOW);const e=o.WINDOW.document;let t=o.WINDOW.fetch;if(e&&"function"==typeof e.createElement)try{const n=e.createElement("iframe");n.hidden=!0,e.head.appendChild(n);const r=n.contentWindow;r&&r.fetch&&(t=r.fetch),e.head.removeChild(n)}catch(e){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.logger.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",e)}return a=t.bind(o.WINDOW)}function u(){a=void 0}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{makeXHRTransport:()=>a});var r=n(596),i=n(281);const o=4;function a(e){return(0,r.createTransport)(e,(function(t){return new i.SyncPromise(((n,r)=>{const i=new XMLHttpRequest;i.onerror=r,i.onreadystatechange=()=>{i.readyState===o&&n({statusCode:i.status,headers:{"x-sentry-rate-limits":i.getResponseHeader("X-Sentry-Rate-Limits"),"retry-after":i.getResponseHeader("Retry-After")}})},i.open("POST",e.url);for(const t in e.headers)Object.prototype.hasOwnProperty.call(e.headers,t)&&i.setRequestHeader(t,e.headers[t]);i.send(t.body)}))}))}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{chromeStackLineParser:()=>u,defaultStackLineParsers:()=>v,defaultStackParser:()=>b,geckoStackLineParser:()=>f,opera10StackLineParser:()=>m,opera11StackLineParser:()=>g,winjsStackLineParser:()=>d});var r=n(577);const i="?";function o(e,t,n,r){const i={filename:e,function:t,in_app:!0};return void 0!==n&&(i.lineno=n),void 0!==r&&(i.colno=r),i}const a=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,s=/\((\S*)(?::(\d+))(?::(\d+))\)/,u=[30,e=>{const t=a.exec(e);if(t){if(t[2]&&0===t[2].indexOf("eval")){const e=s.exec(t[2]);e&&(t[2]=e[1],t[3]=e[2],t[4]=e[3])}const[e,n]=_(t[1]||i,t[2]);return o(n,e,t[3]?+t[3]:void 0,t[4]?+t[4]:void 0)}}],c=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,l=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,f=[50,e=>{const t=c.exec(e);if(t){if(t[3]&&t[3].indexOf(" > eval")>-1){const e=l.exec(t[3]);e&&(t[1]=t[1]||"eval",t[3]=e[1],t[4]=e[2],t[5]="")}let e=t[3],n=t[1]||i;return[n,e]=_(n,e),o(e,n,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}}],p=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:[-a-z]+):.*?):(\d+)(?::(\d+))?\)?\s*$/i,d=[40,e=>{const t=p.exec(e);return t?o(t[2],t[1]||i,+t[3],t[4]?+t[4]:void 0):void 0}],h=/ line (\d+).*script (?:in )?(\S+)(?:: in function (\S+))?$/i,m=[10,e=>{const t=h.exec(e);return t?o(t[2],t[3]||i,+t[1]):void 0}],y=/ line (\d+), column (\d+)\s*(?:in (?:<anonymous function: ([^>]+)>|([^)]+))\(.*\))? in (.*):\s*$/i,g=[20,e=>{const t=y.exec(e);return t?o(t[5],t[3]||t[4]||i,+t[1],+t[2]):void 0}],v=[u,f,d],b=(0,r.createStackParser)(...v),_=(e,t)=>{const n=-1!==e.indexOf("safari-extension"),r=-1!==e.indexOf("safari-web-extension");return n||r?[-1!==e.indexOf("@")?e.split("@")[0]:i,n?`safari-extension:${t}`:`safari-web-extension:${t}`]:[e,t]}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{captureUserFeedback:()=>I,defaultIntegrations:()=>T,forceLoad:()=>k,init:()=>O,onLoad:()=>R,showReportDialog:()=>x,wrap:()=>N});var r=n(572),i=n(571),o=n(607),a=n(626),s=n(267),u=n(602),c=n(577),l=n(592),f=n(278),p=n(591),d=n(605),h=n(604),m=n(621),y=n(618),g=n(619),v=n(622),b=n(625),_=n(624),E=n(616),S=n(613),w=n(615);const T=[new r.InboundFilters,new i.FunctionToString,new y.TryCatch,new g.Breadcrumbs,new m.GlobalHandlers,new v.LinkedErrors,new _.Dedupe,new b.HttpContext];function O(e={}){void 0===e.defaultIntegrations&&(e.defaultIntegrations=T),void 0===e.release&&("string"==typeof __SENTRY_RELEASE__&&(e.release=__SENTRY_RELEASE__),h.WINDOW.SENTRY_RELEASE&&h.WINDOW.SENTRY_RELEASE.id&&(e.release=h.WINDOW.SENTRY_RELEASE.id)),void 0===e.autoSessionTracking&&(e.autoSessionTracking=!0),void 0===e.sendClientReports&&(e.sendClientReports=!0);const t={...e,stackParser:(0,c.stackParserFromStackParserOptions)(e.stackParser||E.defaultStackParser),integrations:(0,o.getIntegrationsToSetup)(e),transport:e.transport||((0,l.supportsFetch)()?S.makeFetchTransport:w.makeXHRTransport)};(0,a.initAndBind)(d.BrowserClient,t),e.autoSessionTracking&&function(){if(void 0===h.WINDOW.document)return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&f.logger.warn("Session tracking in non-browser environment with @
9sentry/browser is not supported."));const e=(0,s.getCurrentHub)();if(!e.captureSession)return;A(e),(0,p.addInstrumentationHandler)("history",(({from:e,to:t})=>{void 0!==e&&e!==t&&A((0,s.getCurrentHub)())}))}()}function x(e={},t=(0,s.getCurrentHub)()){if(!h.WINDOW.document)return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&f.logger.error("Global document not defined in showReportDialog call"));const{client:n,scope:r}=t.getStackTop(),i=e.dsn||n&&n.getDsn();if(!i)return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&f.logger.error("DSN not configured for showReportDialog call"));r&&(e.user={...r.getUser(),...e.user}),e.eventId||(e.eventId=t.lastEventId());const o=h.WINDOW.document.createElement("script");o.async=!0,o.crossOrigin="anonymous",o.src=(0,u.getReportDialogEndpoint)(i,e),e.onLoad&&(o.onload=e.onLoad);const a=h.WINDOW.document.head||h.WINDOW.document.body;a?a.appendChild(o):("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&f.logger.error("Not injecting report dialog. No injection point found in HTML")}function k(){}function R(e){e()}function N(e){return(0,h.wrap)(e)()}function A(e){e.startSession({ignoreDuration:!0}),e.captureSession()}function I(e){const t=(0,s.getCurrentHub)().getClient();t&&t.captureUserFeedback(e)}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{TryCatch:()=>s});var r=n(277),i=n(577),o=n(604);const a=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","BroadcastChannel","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","SharedWorker","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"];class s{static __initStatic(){this.id="TryCatch"}constructor(e){this.name=s.id,this._options={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,...e}}setupOnce(){this._options.setTimeout&&(0,r.fill)(o.WINDOW,"setTimeout",u),this._options.setInterval&&(0,r.fill)(o.WINDOW,"setInterval",u),this._options.requestAnimationFrame&&(0,r.fill)(o.WINDOW,"requestAnimationFrame",c),this._options.XMLHttpRequest&&"XMLHttpRequest"in o.WINDOW&&(0,r.fill)(XMLHttpRequest.prototype,"send",l);const e=this._options.eventTarget;if(e){(Array.isArray(e)?e:a).forEach(f)}}}function u(e){return function(...t){const n=t[0];return t[0]=(0,o.wrap)(n,{mechanism:{data:{function:(0,i.getFunctionName)(e)},handled:!1,type:"instrument"}}),e.apply(this,t)}}function c(e){return function(t){return e.apply(this,[(0,o.wrap)(t,{mechanism:{data:{function:"requestAnimationFrame",handler:(0,i.getFunctionName)(e)},handled:!1,type:"instrument"}})])}}function l(e){return function(...t){const n=this;return["onload","onerror","onprogress","onreadystatechange"].forEach((e=>{e in n&&"function"==typeof n[e]&&(0,r.fill)(n,e,(function(t){const n={mechanism:{data:{function:e,handler:(0,i.getFunctionName)(t)},handled:!1,type:"instrument"}},a=(0,r.getOriginalFunction)(t);return a&&(n.mechanism.data.handler=(0,i.getFunctionName)(a)),(0,o.wrap)(t,n)}))})),e.apply(this,t)}}function f(e){const t=o.WINDOW,n=t[e]&&t[e].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&((0,r.fill)(n,"addEventListener",(function(t){return function(n,r,a){try{"function"==typeof r.handleEvent&&(r.handleEvent=(0,o.wrap)(r.handleEvent,{mechanism:{data:{function:"handleEvent",handler:(0,i.getFunctionName)(r),target:e},handled:!1,type:"instrument"}}))}catch(e){}return t.apply(this,[n,(0,o.wrap)(r,{mechanism:{data:{function:"addEventListener",handler:(0,i.getFunctionName)(r),target:e},handled:!1,type:"instrument"}}),a])}})),(0,r.fill)(n,"removeEventListener",(function(e){return function(t,n,r){const i=n;try{const n=i&&i.__sentry_wrapped__;n&&e.call(this,t,n,r)}catch(e){}return e.call(this,t,i,r)}})))}s.__initStatic()},(e,t,n)=>{"use strict";n.r(t),n.d(t,{Breadcrumbs:()=>d});var r=n(267),i=n(591),o=n(274),a=n(278),s=n(279),u=n(620),c=n(275),l=n(595),f=n(604);const p=1024;class d{static __initStatic(){this.id="Breadcrumbs"}constructor(e){this.name=d.id,this.options={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...e}}setupOnce(){if(this.options.console&&(0,i.addInstrumentationHandler)("console",m),this.options.dom&&(0,i.addInstrumentationHandler)("dom",function(e){function t(t){let n,i="object"==typeof e?e.serializeAttribute:void 0,o="object"==typeof e&&"number"==typeof e.maxStringLength?e.maxStringLength:void 0;o&&o>p&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.logger.warn(`\`dom.maxStringLength\` cannot exceed 1024, but a value of ${o} was configured. Sentry will use 1024 instead.`),o=p),"string"==typeof i&&(i=[i]);try{const e=t.event;n=function(e){return!!e&&!!e.target}(e)?(0,s.htmlTreeAsString)(e.target,{keyAttrs:i,maxStringLength:o}):(0,s.htmlTreeAsString)(e,{keyAttrs:i,maxStringLength:o})}catch(e){n="<unknown>"}0!==n.length&&(0,r.getCurrentHub)().addBreadcrumb({category:`ui.${t.name}`,message:n},{event:t.event,name:t.name,global:t.global})}return t}(this.options.dom)),this.options.xhr&&(0,i.addInstrumentationHandler)("xhr",y),this.options.fetch&&(0,i.addInstrumentationHandler)("fetch",g),this.options.history&&(0,i.addInstrumentationHandler)("history",v),this.options.sentry){const e=(0,r.getCurrentHub)().getClient();e&&e.on&&e.on("beforeSendEvent",h)}}}function h(e){(0,r.getCurrentHub)().addBreadcrumb({category:"sentry."+("transaction"===e.type?"transaction":"event"),event_id:e.event_id,level:e.level,message:(0,o.getEventDescription)(e)},{event:e})}function m(e){const t={category:"console",data:{arguments:e.args,logger:"console"},level:(0,u.severityLevelFromString)(e.level),message:(0,c.safeJoin)(e.args," ")};if("assert"===e.level){if(!1!==e.args[0])return;t.message=`Assertion failed: ${(0,c.safeJoin)(e.args.slice(1)," ")||"console.assert"}`,t.data.arguments=e.args.slice(1)}(0,r.getCurrentHub)().addBreadcrumb(t,{input:e.args,level:e.level})}function y(e){const{startTimestamp:t,endTimestamp:n}=e,o=e.xhr[i.SENTRY_XHR_DATA_KEY];if(!t||!n||!o)return;const{method:a,url:s,status_code:u,body:c}=o,l={method:a,url:s,status_code:u},f={xhr:e.xhr,input:c,startTimestamp:t,endTimestamp:n};(0,r.getCurrentHub)().addBreadcrumb({category:"xhr",data:l,type:"http"},f)}function g(e){const{startTimestamp:t,endTimestamp:n}=e;
9if(n&&(!e.fetchData.url.match(/sentry_key/)||"POST"!==e.fetchData.method))if(e.error){const i=e.fetchData,o={data:e.error,input:e.args,startTimestamp:t,endTimestamp:n};(0,r.getCurrentHub)().addBreadcrumb({category:"fetch",data:i,level:"error",type:"http"},o)}else{const i={...e.fetchData,status_code:e.response&&e.response.status},o={input:e.args,response:e.response,startTimestamp:t,endTimestamp:n};(0,r.getCurrentHub)().addBreadcrumb({category:"fetch",data:i,type:"http"},o)}}function v(e){let t=e.from,n=e.to;const i=(0,l.parseUrl)(f.WINDOW.location.href);let o=(0,l.parseUrl)(t);const a=(0,l.parseUrl)(n);o.path||(o=i),i.protocol===a.protocol&&i.host===a.host&&(n=a.relative),i.protocol===o.protocol&&i.host===o.host&&(t=o.relative),(0,r.getCurrentHub)().addBreadcrumb({category:"navigation",data:{from:t,to:n}})}d.__initStatic()},(e,t,n)=>{"use strict";n.r(t),n.d(t,{severityFromString:()=>i,severityLevelFromString:()=>o,validSeverityLevels:()=>r});const r=["fatal","error","warning","log","info","debug"];function i(e){return o(e)}function o(e){return"warn"===e?"warning":r.includes(e)?e:"log"}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{GlobalHandlers:()=>f});var r=n(267),i=n(591),o=n(276),a=n(279),s=n(278),u=n(274),c=n(610),l=n(604);class f{static __initStatic(){this.id="GlobalHandlers"}constructor(e){this.name=f.id,this._options={onerror:!0,onunhandledrejection:!0,...e},this._installFunc={onerror:p,onunhandledrejection:d}}setupOnce(){Error.stackTraceLimit=50;const e=this._options;for(const n in e){const r=this._installFunc[n];r&&e[n]&&(t=n,("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&s.logger.log(`Global Handler attached: ${t}`),r(),this._installFunc[n]=void 0)}var t}}function p(){(0,i.addInstrumentationHandler)("error",(e=>{const[t,n,r]=y();if(!t.getIntegration(f))return;const{msg:i,url:a,line:s,column:u,error:p}=e;if((0,l.shouldIgnoreOnError)()||p&&p.__sentry_own_request__)return;const d=void 0===p&&(0,o.isString)(i)?function(e,t,n,r){const i=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i;let a=(0,o.isErrorEvent)(e)?e.message:e,s="Error";const u=a.match(i);u&&(s=u[1],a=u[2]);const c={exception:{values:[{type:s,value:a}]}};return h(c,t,n,r)}(i,a,s,u):h((0,c.eventFromUnknownInput)(n,p||i,void 0,r,!1),a,s,u);d.level="error",m(t,p,d,"onerror")}))}function d(){(0,i.addInstrumentationHandler)("unhandledrejection",(e=>{const[t,n,r]=y();if(!t.getIntegration(f))return;let i=e;try{"reason"in e?i=e.reason:"detail"in e&&"reason"in e.detail&&(i=e.detail.reason)}catch(e){}if((0,l.shouldIgnoreOnError)()||i&&i.__sentry_own_request__)return!0;const a=(0,o.isPrimitive)(i)?{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(i)}`}]}}:(0,c.eventFromUnknownInput)(n,i,void 0,r,!0);a.level="error",m(t,i,a,"onunhandledrejection")}))}function h(e,t,n,r){const i=e.exception=e.exception||{},s=i.values=i.values||[],u=s[0]=s[0]||{},c=u.stacktrace=u.stacktrace||{},l=c.frames=c.frames||[],f=isNaN(parseInt(r,10))?void 0:r,p=isNaN(parseInt(n,10))?void 0:n,d=(0,o.isString)(t)&&t.length>0?t:(0,a.getLocationHref)();return 0===l.length&&l.push({colno:f,filename:d,function:"?",in_app:!0,lineno:p}),e}function m(e,t,n,r){(0,u.addExceptionMechanism)(n,{handled:!1,type:r}),e.captureEvent(n,{originalException:t})}function y(){const e=(0,r.getCurrentHub)(),t=e.getClient(),n=t&&t.getOptions()||{stackParser:()=>[],attachStacktrace:!1};return[e,n.stackParser,n.attachStacktrace]}f.__initStatic()},(e,t,n)=>{"use strict";n.r(t),n.d(t,{LinkedErrors:()=>o});var r=n(623),i=n(610);class o{static __initStatic(){this.id="LinkedErrors"}constructor(e={}){this.name=o.id,this._key=e.key||"cause",this._limit=e.limit||5}setupOnce(){}preprocessEvent(e,t,n){const o=n.getOptions();(0,r.applyAggregateErrorsToEvent)(i.exceptionFromError,o.stackParser,o.maxValueLength,this._key,this._limit,e,t)}}o.__initStatic()},(e,t,n)=>{"use strict";n.r(t),n.d(t,{applyAggregateErrorsToEvent:()=>o});var r=n(276),i=n(275);function o(e,t,n=250,o,s,u,c){if(!(u.exception&&u.exception.values&&c&&(0,r.isInstanceOf)(c.originalException,Error)))return;const l=u.exception.values.length>0?u.exception.values[u.exception.values.length-1]:void 0;var f,p;l&&(u.exception.values=(f=a(e,t,s,c.originalException,o,u.exception.values,l,0),p=n,f.map((e=>(e.value&&(e.value=(0,i.truncate)(e.value,p)),e)))))}function a(e,t,n,i,o,c,l,f){if(c.length>=n+1)return c;let p=[...c];if((0,r.isInstanceOf)(i[o],Error)){s(l,f);const r=e(t,i[o]),c=p.length;u(r,o,c,f),p=a(e,t,n,i[o],o,[r,...p],r,c)}
9return Array.isArray(i.errors)&&i.errors.forEach(((i,c)=>{if((0,r.isInstanceOf)(i,Error)){s(l,f);const r=e(t,i),d=p.length;u(r,`errors[${c}]`,d,f),p=a(e,t,n,i,o,[r,...p],r,d)}})),p}function s(e,t){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism={...e.mechanism,is_exception_group:!0,exception_id:t}}function u(e,t,n,r){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism={...e.mechanism,type:"chained",source:t,exception_id:n,parent_id:r}}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{Dedupe:()=>i});var r=n(278);class i{static __initStatic(){this.id="Dedupe"}constructor(){this.name=i.id}setupOnce(e,t){const n=e=>{if(e.type)return e;const n=t().getIntegration(i);if(n){try{if(function(e,t){if(!t)return!1;if(function(e,t){const n=e.message,r=t.message;if(!n&&!r)return!1;if(n&&!r||!n&&r)return!1;if(n!==r)return!1;if(!a(e,t))return!1;if(!o(e,t))return!1;return!0}(e,t))return!0;if(function(e,t){const n=s(t),r=s(e);if(!n||!r)return!1;if(n.type!==r.type||n.value!==r.value)return!1;if(!a(e,t))return!1;if(!o(e,t))return!1;return!0}(e,t))return!0;return!1}(e,n._previousEvent))return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.logger.warn("Event dropped due to being a duplicate of previously captured event."),null}catch(t){return n._previousEvent=e}return n._previousEvent=e}return e};n.id=this.name,e(n)}}function o(e,t){let n=u(e),r=u(t);if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;if(r.length!==n.length)return!1;for(let e=0;e<r.length;e++){const t=r[e],i=n[e];if(t.filename!==i.filename||t.lineno!==i.lineno||t.colno!==i.colno||t.function!==i.function)return!1}return!0}function a(e,t){let n=e.fingerprint,r=t.fingerprint;if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;try{return!(n.join("")!==r.join(""))}catch(e){return!1}}function s(e){return e.exception&&e.exception.values&&e.exception.values[0]}function u(e){const t=e.exception;if(t)try{return t.values[0].stacktrace.frames}catch(e){return}}i.__initStatic()},(e,t,n)=>{"use strict";n.r(t),n.d(t,{HttpContext:()=>a});var r=n(280),i=n(267),o=n(604);class a{static __initStatic(){this.id="HttpContext"}constructor(){this.name=a.id}setupOnce(){(0,r.addGlobalEventProcessor)((e=>{if((0,i.getCurrentHub)().getIntegration(a)){if(!o.WINDOW.navigator&&!o.WINDOW.location&&!o.WINDOW.document)return e;const t=e.request&&e.request.url||o.WINDOW.location&&o.WINDOW.location.href,{referrer:n}=o.WINDOW.document||{},{userAgent:r}=o.WINDOW.navigator||{},i={...e.request&&e.request.headers,...n&&{Referer:n},...r&&{"User-Agent":r}},a={...e.request,...t&&{url:t},headers:i};return{...e,request:a}}return e}))}}a.__initStatic()},(e,t,n)=>{"use strict";n.r(t),n.d(t,{initAndBind:()=>o});var r=n(278),i=n(267);function o(e,t){!0===t.debug&&("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__?r.logger.enable():console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle."));const n=(0,i.getCurrentHub)();n.getScope().update(t.initialScope);const o=new e(t);n.bindClient(o)}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{Replay:()=>nr});var r=n(267),i=n(280),o=n(609),a=n(266),s=n(271),u=n(575),c=n(277),l=n(279),f=n(278),p=n(274),d=n(591),h=n(275),m=n(270),y=n(574),g=n(272);const v=s.GLOBAL_OBJ,b="sentryReplaySession",_="replay_event",E="Unable to send Replay",S=15e4,w=5e3,T=2e7,O=36e5;var x;function k(e){const t=null==e?void 0:e.host;return Boolean(t&&t.shadowRoot&&t.shadowRoot===e)}function R({maskInputOptions:e,tagName:t,type:n}){"option"===t.toLowerCase()&&(t="select");const r="string"==typeof n?n.toLowerCase():void 0;return e[t.toLowerCase()]||r&&e[r]||"password"===r||"input"===t&&!n&&e.text}function N({input:e,maskInputSelector:t,unmaskInputSelector:n,maskInputOptions:r,tagName:i,type:o,value:a,maskInputFn:s}){let u=a||"";return n&&e.matches(n)||(e.hasAttribute("data-rr-is-password")&&(o="password"),(R({maskInputOptions:r,tagName:i,type:o})||t&&e.matches(t))&&(u=s?s(u):"*".repeat(u.length))),u}!function(e){e[e.Document=0]="Document",e[e.DocumentType=1]="DocumentType",e[e.Element=2]="Element",e[e.Text=3]="Text",e[e.CDATA=4]="CDATA",e[e.Comment=5]="Comment"}(x||(x={}));const A="__rrweb_original__";function I(e){const t=e.type;return e.hasAttribute("data-rr-is-password")?"password":t?t.toLowerCase():null}function D(e,t,n){return"string"==typeof n&&n.toLowerCase(),"INPUT"!==t||"radio"!==n&&"checkbox"!==n?e.value:e.getAttribute("value")||""}let C=1;const P=new RegExp("[^a-z0-9-_:]"),L=-2;function M(e){return e?e.replace(/[\S]/g,"*"):""}function j(e){try{const t=e.rules||e.cssRules;return t?Array.from(t).map(F).join(""):null}catch(e){return null}}function F(e){let t=e.cssText;if(function(e){return"styleSheet"in e}(e))try{t=j(e.styleSheet)||t}catch(e){}return U(t)}function U(e){if(e.indexOf(":")>-1){const t=/(\[(?:[\w-]+)[^\\])(:(?:[\w-]+)\])/gm;return e.replace(t,"$1\\$2")}return e}let B,q;const G=/url\((?:(')([^']*)'|(")(.*?)"|([^)]*))\)/gm,V=/^(?!www\.|(?:http|ftp)s?:\/\/|[A-Za-z]:\\|\/\/|#).*/,H=/^(data:)([^,]*),(.*)/i;function z(e,t){return(e||"").replace(G,((e,n,r,i,o,a)=>{const s=r||o||a,u=n||i||"";if(!s)return e;if(!V.test(s))return`url(${u}${s}${u})`;if(H.test(s))return`url(${u}${s}${u})`;if("/"===s[0])return`url(${u}${function(e){let t="";return t=e.indexOf("//")>-1?e.split("/").slice(0,3).join("/"):e.split("/")[0],t=t.split("?")[0],t}(t)+s}${u})`;const c=t.split("/"),l=s.split("/");c.pop();for(const e of l)"."!==e&&(".."===e?c.pop():c.push(e));return`url(${u}${c.join("/")}${u})`}))}const $=/^[^ \t\n\r\u000c]+/,K=/^[, \t\n\r\u000c]+/;function Y(e,t){if(!t||""===t.trim())return t;const n=e.createElement("a");return n.href=t,n.href}function W(){const e=document.createElement("a");return e.href="",e.href}
9function Q(e,t,n,r,i,o,a,s){if(!i)return i;const u=r.toLowerCase(),c=n.toLowerCase();return"src"===u||"href"===u||"xlink:href"===u&&"#"!==i[0]?Y(e,i):"background"!==u||"table"!==c&&"td"!==c&&"th"!==c?"srcset"===u?function(e,t){if(""===t.trim())return t;let n=0;function r(e){let r,i=e.exec(t.substring(n));return i?(r=i[0],n+=r.length,r):""}let i=[];for(;r(K),!(n>=t.length);){let o=r($);if(","===o.slice(-1))o=Y(e,o.substring(0,o.length-1)),i.push(o);else{let r="";o=Y(e,o);let a=!1;for(;;){let e=t.charAt(n);if(""===e){i.push((o+r).trim());break}if(a)")"===e&&(a=!1);else{if(","===e){n+=1,i.push((o+r).trim());break}"("===e&&(a=!0)}r+=e,n+=1}}}return i.join(", ")}(e,i):"style"===u?z(i,W()):"object"===c&&"data"===u?Y(e,i):o&&function(e,t,n,r){if(r&&e.matches(r))return!1;return["placeholder","title","aria-label"].indexOf(t)>-1||"input"===n&&"value"===t&&e.hasAttribute("type")&&["submit","button"].indexOf(e.getAttribute("type").toLowerCase())>-1}(t,u,c,a)?s?s(i):M(i):i:Y(e,i)}function X(e,t,n,r,i){if(!e)return!1;if(e.nodeType!==e.ELEMENT_NODE)return X(e.parentNode,t,n,r,i);if(r&&(e.matches(r)||e.closest(r)))return!1;if(i)return!0;if("string"==typeof t){if(e.classList.contains(t))return!0}else for(let n=0;n<e.classList.length;n++){const r=e.classList[n];if(t.test(r))return!0}return!(!n||!e.matches(n))||X(e.parentNode,t,n,r,i)}function J(e,t){var n;const{doc:r,blockClass:i,blockSelector:o,unblockSelector:a,maskTextClass:s,maskTextSelector:u,unmaskTextSelector:c,inlineStylesheet:l,maskInputSelector:f,unmaskInputSelector:p,maskAllText:d,maskInputOptions:h={},maskTextFn:m,maskInputFn:y,dataURLOptions:g={},inlineImages:v,recordCanvas:b,keepIframeSrcFn:_}=t;let E;if(r.__sn){const e=r.__sn.id;E=1===e?void 0:e}switch(e.nodeType){case e.DOCUMENT_NODE:return"CSS1Compat"!==e.compatMode?{type:x.Document,childNodes:[],compatMode:e.compatMode,rootId:E}:{type:x.Document,childNodes:[],rootId:E};case e.DOCUMENT_TYPE_NODE:return{type:x.DocumentType,name:e.name,publicId:e.publicId,systemId:e.systemId,rootId:E};case e.ELEMENT_NODE:const t=function(e,t,n,r){if(r&&e.matches(r))return!1;if("string"==typeof t){if(e.classList.contains(t))return!0}else for(let n=0;n<e.classList.length;n++){const r=e.classList[n];if(t.test(r))return!0}return!!n&&e.matches(n)}(e,i,o,a),T=function(e){if(e instanceof HTMLFormElement)return"form";const t=e.tagName.toLowerCase().trim();return P.test(t)?"div":t}(e);let O={};for(const{name:t,value:n}of Array.from(e.attributes))te(T,t)||(O[t]=Q(r,e,T,t,n,d,c,m));if("link"===T&&l){const t=Array.from(r.styleSheets).find((t=>t.href===e.href));let n=null;t&&(n=j(t)),n&&(delete O.rel,delete O.href,O._cssText=z(n,t.href))}if("style"===T&&e.sheet&&!(e.innerText||e.textContent||"").trim().length){const t=j(e.sheet);t&&(O._cssText=z(t,W()))}if("input"===T||"textarea"===T||"select"===T||"option"===T){const t=e,n=I(t),r=D(t,T.toUpperCase(),n),i=e.checked;"submit"!==n&&"button"!==n&&r&&(O.value=N({input:t,type:n,tagName:T,value:r,maskInputSelector:f,unmaskInputSelector:p,maskInputOptions:h,maskInputFn:y})),i&&(O.checked=i)}if("option"===T&&(e.selected&&!h.select?O.selected=!0:delete O.selected),"canvas"===T&&b)if("2d"===e.__context)(function(e){const t=e.getContext("2d");if(!t)return!0;for(let n=0;n<e.width;n+=50)for(let r=0;r<e.height;r+=50){const i=t.getImageData,o=A in i?i[A]:i;if(new Uint32Array(o.call(t,n,r,Math.min(50,e.width-n),Math.min(50,e.height-r)).data.buffer).some((e=>0!==e)))return!1}return!0})(e)||(O.rr_dataURL=e.toDataURL(g.type,g.quality));else if(!("__context"in e)){const t=e.toDataURL(g.type,g.quality),n=document.createElement("canvas");n.width=e.width,n.height=e.height;t!==n.toDataURL(g.type,g.quality)&&(O.rr_dataURL=t)}if("img"===T&&v){B||(B=r.createElement("canvas"),q=B.getContext("2d"));const t=e,n=t.crossOrigin;t.crossOrigin="anonymous";const i=()=>{try{B.width=t.naturalWidth,B.height=t.naturalHeight,q.drawImage(t,0,0),O.rr_dataURL=B.toDataURL(g.type,g.quality)}catch(e){console.warn(`Cannot inline img src=${t.currentSrc}! Error: ${e}`)}n?O.crossOrigin=n:delete O.crossOrigin};t.complete&&0!==t.naturalWidth?i():t.onload=i}if("audio"!==T&&"video"!==T||(O.rr_mediaState=e.paused?"paused":"played",O.rr_mediaCurrentTime=e.currentTime),e.scrollLeft&&(O.rr_scrollLeft=e.scrollLeft),e.scrollTop&&(O.rr_scrollTop=e.scrollTop),t){const{width:t,height:n}=e.getBoundingClientRect();O={class:O.class,rr_width:`${t}px`,rr_height:`${n}px`}}return"iframe"!==T||_(O.src)||(e.contentDocument||(O.rr_src=O.src),delete O.src),{type:x.Element,tagName:T,attributes:O,childNodes:[],isSVG:(w=e,Boolean("svg"===w.tagName||w.ownerSVGElement)||void 0),needBlock:t,rootId:E};case e.TEXT_NODE:const k=e.parentNode&&e.parentNode.tagName;let R=e.textContent;const C="STYLE"===k||void 0,L="SCRIPT"===k||void 0;if(C&&R){try{e.nextSibling||e.previousSibling||(null===(n=e.parentNode.sheet)||void 0===n?void 0:n.cssRules)&&(R=(S=e.parentNode.sheet).cssRules?Array.from(S.cssRules).map((e=>e.cssText?U(e.cssText):"")).join(""):"")}catch(t){console.warn(`Cannot get CSS styles from text's parentNode. Error: ${t}`,e)}R=z(R,W())}
9if(L&&(R="SCRIPT_PLACEHOLDER"),"TEXTAREA"===k&&R)R="";else if("OPTION"===k&&R){R=N({input:e.parentNode,type:null,tagName:k,value:R,maskInputSelector:f,unmaskInputSelector:p,maskInputOptions:h,maskInputFn:y})}else!C&&!L&&X(e,s,u,c,d)&&R&&(R=m?m(R):M(R));return{type:x.Text,textContent:R||"",isStyle:C,rootId:E};case e.CDATA_SECTION_NODE:return{type:x.CDATA,textContent:"",rootId:E};case e.COMMENT_NODE:return{type:x.Comment,textContent:e.textContent||"",rootId:E};default:return!1}var S,w}function Z(e){return null==e?"":e.toLowerCase()}function ee(e,t){const{doc:n,map:r,blockClass:i,blockSelector:o,unblockSelector:a,maskTextClass:s,maskTextSelector:u,unmaskTextSelector:c,skipChild:l=!1,inlineStylesheet:f=!0,maskInputSelector:p,unmaskInputSelector:d,maskAllText:h,maskInputOptions:m={},maskTextFn:y,maskInputFn:g,slimDOMOptions:v,dataURLOptions:b={},inlineImages:_=!1,recordCanvas:E=!1,onSerialize:S,onIframeLoad:w,iframeLoadTimeout:T=5e3,keepIframeSrcFn:O=(()=>!1)}=t;let{preserveWhiteSpace:R=!0}=t;const N=J(e,{doc:n,blockClass:i,blockSelector:o,unblockSelector:a,maskTextClass:s,maskTextSelector:u,unmaskTextSelector:c,inlineStylesheet:f,maskInputSelector:p,unmaskInputSelector:d,maskAllText:h,maskInputOptions:m,maskTextFn:y,maskInputFn:g,dataURLOptions:b,inlineImages:_,recordCanvas:E,keepIframeSrcFn:O});if(!N)return console.warn(e,"not serialized"),null;let A;A="__sn"in e?e.__sn.id:!function(e,t){if(t.comment&&e.type===x.Comment)return!0;if(e.type===x.Element){if(t.script&&("script"===e.tagName||"link"===e.tagName&&("preload"===e.attributes.rel||"modulepreload"===e.attributes.rel)&&"script"===e.attributes.as||"link"===e.tagName&&"prefetch"===e.attributes.rel&&"string"==typeof e.attributes.href&&e.attributes.href.endsWith(".js")))return!0;if(t.headFavicon&&("link"===e.tagName&&"shortcut icon"===e.attributes.rel||"meta"===e.tagName&&(Z(e.attributes.name).match(/^msapplication-tile(image|color)$/)||"application-name"===Z(e.attributes.name)||"icon"===Z(e.attributes.rel)||"apple-touch-icon"===Z(e.attributes.rel)||"shortcut icon"===Z(e.attributes.rel))))return!0;if("meta"===e.tagName){if(t.headMetaDescKeywords&&Z(e.attributes.name).match(/^description|keywords$/))return!0;if(t.headMetaSocial&&(Z(e.attributes.property).match(/^(og|twitter|fb):/)||Z(e.attributes.name).match(/^(og|twitter):/)||"pinterest"===Z(e.attributes.name)))return!0;if(t.headMetaRobots&&("robots"===Z(e.attributes.name)||"googlebot"===Z(e.attributes.name)||"bingbot"===Z(e.attributes.name)))return!0;if(t.headMetaHttpEquiv&&void 0!==e.attributes["http-equiv"])return!0;if(t.headMetaAuthorship&&("author"===Z(e.attributes.name)||"generator"===Z(e.attributes.name)||"framework"===Z(e.attributes.name)||"publisher"===Z(e.attributes.name)||"progid"===Z(e.attributes.name)||Z(e.attributes.property).match(/^article:/)||Z(e.attributes.property).match(/^product:/)))return!0;if(t.headMetaVerification&&("google-site-verification"===Z(e.attributes.name)||"yandex-verification"===Z(e.attributes.name)||"csrf-token"===Z(e.attributes.name)||"p:domain_verify"===Z(e.attributes.name)||"verify-v1"===Z(e.attributes.name)||"verification"===Z(e.attributes.name)||"shopify-checkout-api-token"===Z(e.attributes.name)))return!0}}return!1}(N,v)&&(R||N.type!==x.Text||N.isStyle||N.textContent.replace(/^\s+|\s+$/gm,"").length)?C++:L;const I=Object.assign(N,{id:A});if(e.__sn=I,A===L)return null;r[A]=e,S&&S(e);let D=!l;if(I.type===x.Element&&(D=D&&!I.needBlock,delete I.needBlock,e.shadowRoot&&(I.isShadowHost=!0)),(I.type===x.Document||I.type===x.Element)&&D){v.headWhitespace&&N.type===x.Element&&"head"===N.tagName&&(R=!1);const t={doc:n,map:r,blockClass:i,blockSelector:o,unblockSelector:a,maskTextClass:s,maskTextSelector:u,unmaskTextSelector:c,skipChild:l,inlineStylesheet:f,maskInputSelector:p,unmaskInputSelector:d,maskAllText:h,maskInputOptions:m,maskTextFn:y,maskInputFn:g,slimDOMOptions:v,dataURLOptions:b,inlineImages:_,recordCanvas:E,preserveWhiteSpace:R,onSerialize:S,onIframeLoad:w,iframeLoadTimeout:T,keepIframeSrcFn:O};for(const n of Array.from(e.childNodes)){const e=ee(n,t);e&&I.childNodes.push(e)}
9if(function(e){return e.nodeType===e.ELEMENT_NODE}(e)&&e.shadowRoot)for(const n of Array.from(e.shadowRoot.childNodes)){const e=ee(n,t);e&&(e.isShadow=!0,I.childNodes.push(e))}}return e.parentNode&&k(e.parentNode)&&(I.isShadow=!0),I.type===x.Element&&"iframe"===I.tagName&&function(e,t,n){const r=e.contentWindow;if(!r)return;let i,o=!1;try{i=r.document.readyState}catch(e){return}if("complete"!==i){const r=setTimeout((()=>{o||(t(),o=!0)}),n);return void e.addEventListener("load",(()=>{clearTimeout(r),o=!0,t()}))}const a="about:blank";r.location.href===a&&e.src!==a&&""!==e.src?e.addEventListener("load",t):setTimeout(t,0)}(e,(()=>{const t=e.contentDocument;if(t&&w){const n=ee(t,{doc:t,map:r,blockClass:i,blockSelector:o,unblockSelector:a,maskTextClass:s,maskTextSelector:u,unmaskTextSelector:c,skipChild:!1,inlineStylesheet:f,maskInputSelector:p,unmaskInputSelector:d,maskAllText:h,maskInputOptions:m,maskTextFn:y,maskInputFn:g,slimDOMOptions:v,dataURLOptions:b,inlineImages:_,recordCanvas:E,preserveWhiteSpace:R,onSerialize:S,onIframeLoad:w,iframeLoadTimeout:T,keepIframeSrcFn:O});n&&w(e,n)}}),T),I}function te(e,t,n){return("video"===e||"audio"===e)&&"autoplay"===t}var ne,re,ie,oe,ae,se;function ue(e,t,n=document){const r={capture:!0,passive:!0};return n.addEventListener(e,t,r),()=>n.removeEventListener(e,t,r)}!function(e){e[e.DomContentLoaded=0]="DomContentLoaded",e[e.Load=1]="Load",e[e.FullSnapshot=2]="FullSnapshot",e[e.IncrementalSnapshot=3]="IncrementalSnapshot",e[e.Meta=4]="Meta",e[e.Custom=5]="Custom",e[e.Plugin=6]="Plugin"}(ne||(ne={})),function(e){e[e.Mutation=0]="Mutation",e[e.MouseMove=1]="MouseMove",e[e.MouseInteraction=2]="MouseInteraction",e[e.Scroll=3]="Scroll",e[e.ViewportResize=4]="ViewportResize",e[e.Input=5]="Input",e[e.TouchMove=6]="TouchMove",e[e.MediaInteraction=7]="MediaInteraction",e[e.StyleSheetRule=8]="StyleSheetRule",e[e.CanvasMutation=9]="CanvasMutation",e[e.Font=10]="Font",e[e.Log=11]="Log",e[e.Drag=12]="Drag",e[e.StyleDeclaration=13]="StyleDeclaration"}(re||(re={})),function(e){e[e.MouseUp=0]="MouseUp",e[e.MouseDown=1]="MouseDown",e[e.Click=2]="Click",e[e.ContextMenu=3]="ContextMenu",e[e.DblClick=4]="DblClick",e[e.Focus=5]="Focus",e[e.Blur=6]="Blur",e[e.TouchStart=7]="TouchStart",e[e.TouchMove_Departed=8]="TouchMove_Departed",e[e.TouchEnd=9]="TouchEnd",e[e.TouchCancel=10]="TouchCancel"}(ie||(ie={})),function(e){e[e["2D"]=0]="2D",e[e.WebGL=1]="WebGL",e[e.WebGL2=2]="WebGL2"}(oe||(oe={})),function(e){e[e.Play=0]="Play",e[e.Pause=1]="Pause",e[e.Seeked=2]="Seeked",e[e.VolumeChange=3]="VolumeChange"}(ae||(ae={})),function(e){e.Start="start",e.Pause="pause",e.Resume="resume",e.Resize="resize",e.Finish="finish",e.FullsnapshotRebuilded="fullsnapshot-rebuilded",e.LoadStylesheetStart="load-stylesheet-start",e.LoadStylesheetEnd="load-stylesheet-end",e.SkipStart="skip-start",e.SkipEnd="skip-end",e.MouseInteraction="mouse-interaction",e.EventCast="event-cast",e.CustomEvent="custom-event",e.Flush="flush",e.StateChange="state-change",e.PlayBack="play-back"}(se||(se={}));const ce="Please stop import mirror directly. Instead of that,\r\nnow you can use replayer.getMirror() to access the mirror instance of a replayer,\r\nor you can use record.mirror to access the mirror instance during recording.";let le={map:{},getId:()=>(console.error(ce),-1),getNode:()=>(console.error(ce),null),removeNodeFromMap(){console.error(ce)},has:()=>(console.error(ce),!1),reset(){console.error(ce)}};function fe(e,t,n={}){let r=null,i=0;return function(o){let a=Date.now();i||!1!==n.leading||(i=a);let s=t-(a-i),u=this,c=arguments;s<=0||s>t?(r&&(clearTimeout(r),r=null),i=a,e.apply(u,c)):r||!1===n.trailing||(r=setTimeout((()=>{i=!1===n.leading?0:Date.now(),r=null,e.apply(u,c)}),s))}}function pe(e,t,n,r,i=window){const o=i.Object.getOwnPropertyDescriptor(e,t);return i.Object.defineProperty(e,t,r?n:{set(e){setTimeout((()=>{n.set.call(this,e)}),0),o&&o.set&&o.set.call(this,e)}}),()=>pe(e,t,o||{},!0)}function de(e,t,n){try{if(!(t in e))return()=>{};const r=e[t],i=n(r);return"function"==typeof i&&(i.prototype=i.prototype||{},Object.defineProperties(i,{__rrweb_original__:{enumerable:!1,value:r}})),e[t]=i,()=>{e[t]=r}}catch(e){return()=>{}}}function he(){return window.innerHeight||document.documentElement&&document.documentElement.clientHeight||document.body&&document.body.clientHeight}function me(){return window.innerWidth||document.documentElement&&document.documentElement.clientWidth||document.body&&document.body.clientWidth}function ye(e,t,n,r){if(!e)return!1;if(e.nodeType===e.ELEMENT_NODE){let i=!1;const o=r&&e.matches(r);return"string"==typeof t?i=void 0!==e.closest?!o&&null!==e.closest("."+t):!o&&e.classList.contains(t):!o&&e.classList.forEach((e=>{t.test(e)&&(i=!0)})),!i&&n&&(i=e.matches(n)),!o&&i||ye(e.parentNode,t,n,r)}
9return e.nodeType,e.TEXT_NODE,ye(e.parentNode,t,n,r)}function ge(e){return"__sn"in e&&e.__sn.id===L}function ve(e,t){if(k(e))return!1;const n=t.getId(e);return!t.has(n)||(!e.parentNode||e.parentNode.nodeType!==e.DOCUMENT_NODE)&&(!e.parentNode||ve(e.parentNode,t))}function be(e){return Boolean(e.changedTouches)}function _e(e){return"__sn"in e&&(e.__sn.type===x.Element&&"iframe"===e.__sn.tagName)}function Ee(e){return Boolean(null==e?void 0:e.shadowRoot)}function Se(e){return"__ln"in e}"undefined"!=typeof window&&window.Proxy&&window.Reflect&&(le=new Proxy(le,{get:(e,t,n)=>("map"===t&&console.error(ce),Reflect.get(e,t,n))}));class we{constructor(){this.length=0,this.head=null}get(e){if(e>=this.length)throw new Error("Position outside of list range");let t=this.head;for(let n=0;n<e;n++)t=(null==t?void 0:t.next)||null;return t}addNode(e){const t={value:e,previous:null,next:null};if(e.__ln=t,e.previousSibling&&Se(e.previousSibling)){const n=e.previousSibling.__ln.next;t.next=n,t.previous=e.previousSibling.__ln,e.previousSibling.__ln.next=t,n&&(n.previous=t)}else if(e.nextSibling&&Se(e.nextSibling)&&e.nextSibling.__ln.previous){const n=e.nextSibling.__ln.previous;t.previous=n,t.next=e.nextSibling.__ln,e.nextSibling.__ln.previous=t,n&&(n.next=t)}else this.head&&(this.head.previous=t),t.next=this.head,this.head=t;this.length++}removeNode(e){const t=e.__ln;this.head&&(t.previous?(t.previous.next=t.next,t.next&&(t.next.previous=t.previous)):(this.head=t.next,this.head&&(this.head.previous=null)),e.__ln&&delete e.__ln,this.length--)}}const Te=(e,t)=>
9`${e}@${t}`;function Oe(e){return"__sn"in e}class xe{constructor(){this.frozen=!1,this.locked=!1,this.texts=[],this.attributes=[],this.removes=[],this.mapRemoves=[],this.movedMap={},this.addedSet=new Set,this.movedSet=new Set,this.droppedSet=new Set,this.processMutations=e=>{e.forEach(this.processMutation),this.emit()},this.emit=()=>{if(this.frozen||this.locked)return;const e=[],t=new we,n=e=>{let t=e,n=L;for(;n===L;)t=t&&t.nextSibling,n=t&&this.mirror.getId(t);return n},r=r=>{var i,o,a,s,u;const c=r.getRootNode?null===(i=r.getRootNode())||void 0===i?void 0:i.host:null;let l=c;for(;null===(a=null===(o=null==l?void 0:l.getRootNode)||void 0===o?void 0:o.call(l))||void 0===a?void 0:a.host;)l=(null===(u=null===(s=null==l?void 0:l.getRootNode)||void 0===s?void 0:s.call(l))||void 0===u?void 0:u.host)||null;const f=!(this.doc.contains(r)||l&&this.doc.contains(l));if(!r.parentNode||f)return;const p=k(r.parentNode)?this.mirror.getId(c):this.mirror.getId(r.parentNode),d=n(r);if(-1===p||-1===d)return t.addNode(r);let h=ee(r,{doc:this.doc,map:this.mirror.map,blockClass:this.blockClass,blockSelector:this.blockSelector,unblockSelector:this.unblockSelector,maskTextClass:this.maskTextClass,maskTextSelector:this.maskTextSelector,unmaskTextSelector:this.unmaskTextSelector,maskInputSelector:this.maskInputSelector,unmaskInputSelector:this.unmaskInputSelector,skipChild:!0,inlineStylesheet:this.inlineStylesheet,maskAllText:this.maskAllText,maskInputOptions:this.maskInputOptions,maskTextFn:this.maskTextFn,maskInputFn:this.maskInputFn,slimDOMOptions:this.slimDOMOptions,recordCanvas:this.recordCanvas,inlineImages:this.inlineImages,onSerialize:e=>{_e(e)&&this.iframeManager.addIframe(e),Ee(r)&&this.shadowDomManager.addShadowRoot(r.shadowRoot,document)},onIframeLoad:(e,t)=>{this.iframeManager.attachIframe(e,t),this.shadowDomManager.observeAttachShadow(e)}});h&&e.push({parentId:p,nextId:d,node:h})};for(;this.mapRemoves.length;)this.mirror.removeNodeFromMap(this.mapRemoves.shift());for(const e of this.movedSet)Re(this.removes,e,this.mirror)&&!this.movedSet.has(e.parentNode)||r(e);for(const e of this.addedSet)Ne(this.droppedSet,e)||Re(this.removes,e,this.mirror)?Ne(this.movedSet,e)?r(e):this.droppedSet.add(e):r(e);let i=null;for(;t.length;){let e=null;if(i){const t=this.mirror.getId(i.value.parentNode),r=n(i.value);-1!==t&&-1!==r&&(e=i)}if(!e)for(let r=t.length-1;r>=0;r--){const i=t.get(r);if(i){const t=this.mirror.getId(i.value.parentNode),r=n(i.value);if(-1!==t&&-1!==r){e=i;break}}}if(!e){for(;t.head;)t.removeNode(t.head.value);break}i=e.previous,t.removeNode(e.value),r(e.value)}const o={texts:this.texts.map((e=>({id:this.mirror.getId(e.node),value:e.value}))).filter((e=>this.mirror.has(e.id))),attributes:this.attributes.map((e=>({id:this.mirror.getId(e.node),attributes:e.attributes}))).filter((e=>this.mirror.has(e.id))),removes:this.removes,adds:e};(o.texts.length||o.attributes.length||o.removes.length||o.adds.length)&&(this.texts=[],this.attributes=[],this.removes=[],this.addedSet=new Set,this.movedSet=new Set,this.droppedSet=new Set,this.movedMap={},this.mutationCb(o))},this.processMutation=e=>{if(!ge(e.target))switch(e.type){case"characterData":{const t=e.target.textContent;ye(e.target,this.blockClass,this.blockSelector,this.unblockSelector)||t===e.oldValue||this.texts.push({value:X(e.target,this.maskTextClass,this.maskTextSelector,this.unmaskTextSelector,this.maskAllText)&&t?this.maskTextFn?this.maskTextFn(t):t.replace(/[\S]/g,"*"):t,node:e.target});break}case"attributes":{const t=e.target;let n=t.getAttribute(e.attributeName);if("value"===e.attributeName&&(n=N({input:t,maskInputSelector:this.maskInputSelector,unmaskInputSelector:this.unmaskInputSelector,maskInputOptions:this.maskInputOptions,tagName:t.tagName,type:t.getAttribute("type"),value:n,maskInputFn:this.maskInputFn})),ye(e.target,this.blockClass,this.blockSelector,this.unblockSelector)||n===e.oldValue)return;let r=this.attributes.find((t=>t.node===e.target));if(r||(r={node:e.target,attributes:{}},this.attributes.push(r)),"type"===e.attributeName&&"INPUT"===t.tagName&&"password"===(e.oldValue||"").toLowerCase()&&t.setAttribute("data-rr-is-password","true"),"style"===e.attributeName){const n=this.doc.createElement("span");e.oldValue&&n.setAttribute("style",e.oldValue),void 0!==r.attributes.style&&null!==r.attributes.style||(r.attributes.style={});try{const e=r.attributes.style;for(const r of Array.from(t.style)){const i=t.style.getPropertyValue(r),o=t.style.getPropertyPriority(r);i===n.style.getPropertyValue(r)&&o===n.style.getPropertyPriority(r)||(e[r]=""===o?i:[i,o]
9)}for(const r of Array.from(n.style))""===t.style.getPropertyValue(r)&&(e[r]=!1)}catch(e){console.warn("[rrweb] Error when parsing update to style attribute:",e)}}else{const t=e.target;r.attributes[e.attributeName]=Q(this.doc,t,t.tagName,e.attributeName,n,this.maskAllText,this.unmaskTextSelector,this.maskTextFn)}break}case"childList":e.addedNodes.forEach((t=>this.genAdds(t,e.target))),e.removedNodes.forEach((t=>{const n=this.mirror.getId(t),r=k(e.target)?this.mirror.getId(e.target.host):this.mirror.getId(e.target);ye(e.target,this.blockClass,this.blockSelector,this.unblockSelector)||ge(t)||(this.addedSet.has(t)?(ke(this.addedSet,t),this.droppedSet.add(t)):this.addedSet.has(e.target)&&-1===n||ve(e.target,this.mirror)||(this.movedSet.has(t)&&this.movedMap[Te(n,r)]?ke(this.movedSet,t):this.removes.push({parentId:r,id:n,isShadow:!!k(e.target)||void 0})),this.mapRemoves.push(t))}))}},this.genAdds=(e,t)=>{if(!t||!ye(t,this.blockClass,this.blockSelector,this.unblockSelector)){if(Oe(e)){if(ge(e))return;this.movedSet.add(e);let n=null;t&&Oe(t)&&(n=t.__sn.id),n&&(this.movedMap[Te(e.__sn.id,n)]=!0)}else this.addedSet.add(e),this.droppedSet.delete(e);ye(e,this.blockClass,this.blockSelector,this.unblockSelector)||e.childNodes.forEach((e=>this.genAdds(e)))}}}init(e){["mutationCb","blockClass","blockSelector","unblockSelector","maskTextClass","maskTextSelector","unmaskTextSelector","maskInputSelector","unmaskInputSelector","inlineStylesheet","maskAllText","maskInputOptions","maskTextFn","maskInputFn","recordCanvas","inlineImages","slimDOMOptions","doc","mirror","iframeManager","shadowDomManager","canvasManager"].forEach((t=>{this[t]=e[t]}))}freeze(){this.frozen=!0,this.canvasManager.freeze()}unfreeze(){this.frozen=!1,this.canvasManager.unfreeze(),this.emit()}isFrozen(){return this.frozen}lock(){this.locked=!0,this.canvasManager.lock()}unlock(){this.locked=!1,this.canvasManager.unlock(),this.emit()}reset(){this.shadowDomManager.reset(),this.canvasManager.reset()}}function ke(e,t){e.delete(t),t.childNodes.forEach((t=>ke(e,t)))}function Re(e,t,n){const{parentNode:r}=t;if(!r)return!1;const i=n.getId(r);return!!e.some((e=>e.id===i))||Re(e,r,n)}function Ne(e,t){const{parentNode:n}=t;return!!n&&(!!e.has(n)||Ne(e,n))}const Ae=e=>(...t)=>{try{return e(...t)}catch(e){try{e.__rrweb__=!0}catch(e){}throw e}},Ie=[];function De(e){try{if("composedPath"in e){const t=e.composedPath();if(t.length)return t[0]}else if("path"in e&&e.path.length)return e.path[0]}catch(e){}return e&&e.target}function Ce(e,t){var n,r;const i=new xe;Ie.push(i),i.init(e);let o=window.MutationObserver||window.__rrMutationObserver;const a=null===(r=null===(n=null===window||void 0===window?void 0:window.Zone)||void 0===n?void 0:n.__symbol__)||void 0===r?void 0:r.call(n,"MutationObserver");a&&window[a]&&(o=window[a]);const s=new o(Ae((t=>{e.onMutation&&!1===e.onMutation(t)||i.processMutations(t)})));return s.observe(t,{attributes:!0,attributeOldValue:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0}),s}function Pe({mouseInteractionCb:e,doc:t,mirror:n,blockClass:r,blockSelector:i,unblockSelector:o,sampling:a}){if(!1===a.mouseInteraction)return()=>{};const s=!0===a.mouseInteraction||void 0===a.mouseInteraction?{}:a.mouseInteraction,u=[];return Object.keys(ie).filter((e=>Number.isNaN(Number(e))&&!e.endsWith("_Departed")&&!1!==s[e])).forEach((a=>{const s=a.toLowerCase(),c=Ae((t=>a=>{const s=De(a);if(ye(s,r,i,o))return;const u=be(a)?a.changedTouches[0]:a;if(!u)return;const c=n.getId(s),{clientX:l,clientY:f}=u;Ae(e)({type:ie[t],id:c,x:l,y:f})})(a));u.push(ue(s,c,t))})),Ae((()=>{u.forEach((e=>e()))}))}function Le({scrollCb:e,doc:t,mirror:n,blockClass:r,blockSelector:i,unblockSelector:o,sampling:a}){const s=fe((a=>{const s=De(a);if(!s||ye(s,r,i,o))return;const u=n.getId(s);if(s===t){const n=t.scrollingElement||t.documentElement;Ae(e)({id:u,x:n.scrollLeft,y:n.scrollTop})}else Ae(e)({id:u,x:s.scrollLeft,y:s.scrollTop})}),a.scroll||100);return ue("scroll",Ae(s),t)}function Me(e,t){const n=Object.assign({},e);return t||delete n.userTriggered,n}const je=["INPUT","TEXTAREA","SELECT"],Fe=new WeakMap;function Ue({inputCb:e,doc:t,mirror:n,blockClass:r,blockSelector:i,unblockSelector:o,ignoreClass:a,ignoreSelector:s,maskInputSelector:u,unmaskInputSelector:c,maskInputOptions:l,maskInputFn:f,sampling:p,userTr
9iggeredOnInput:d}){function h(e){let n=De(e);const p=n&&n.tagName,h=e.isTrusted;if("OPTION"===p&&(n=n.parentElement),!n||!p||je.indexOf(p)<0||ye(n,r,i,o))return;const y=n,g=I(y);if(y.classList.contains(a)||s&&y.matches(s))return;let v=D(y,p,g),b=!1;"radio"!==g&&"checkbox"!==g||(b=n.checked),function({tagName:e,type:t,maskInputOptions:n,maskInputSelector:r}){return r||R({maskInputOptions:n,tagName:e,type:t})}({maskInputOptions:l,maskInputSelector:u,tagName:p,type:g})&&(v=N({input:y,maskInputOptions:l,maskInputSelector:u,unmaskInputSelector:c,tagName:p,type:g,value:v,maskInputFn:f})),m(n,Ae(Me)({text:v,isChecked:b,userTriggered:h},d));const _=n.name;"radio"===g&&_&&b&&t.querySelectorAll(`input[type="radio"][name="${_}"]`).forEach((e=>{if(e!==n){const t=N({input:e,maskInputOptions:l,maskInputSelector:u,unmaskInputSelector:c,tagName:p,type:g,value:D(e,p,g),maskInputFn:f});m(e,Ae(Me)({text:t,isChecked:!b,userTriggered:!1},d))}}))}function m(t,r){const i=Fe.get(t);if(!i||i.text!==r.text||i.isChecked!==r.isChecked){Fe.set(t,r);const i=n.getId(t);e(Object.assign(Object.assign({},r),{id:i}))}}const y=("last"===p.input?["change"]:["input","change"]).map((e=>ue(e,Ae(h),t))),g=Object.getOwnPropertyDescriptor(HTMLInputElement.prototype,"value"),v=[[HTMLInputElement.prototype,"value"],[HTMLInputElement.prototype,"checked"],[HTMLSelectElement.prototype,"value"],[HTMLTextAreaElement.prototype,"value"],[HTMLSelectElement.prototype,"selectedIndex"],[HTMLOptionElement.prototype,"selected"]];return g&&g.set&&y.push(...v.map((e=>pe(e[0],e[1],{set(){Ae(h)({target:this})}})))),Ae((()=>{y.forEach((e=>e()))}))}function Be(e){return function(e,t){if(Ge("CSSGroupingRule")&&e.parentRule instanceof CSSGroupingRule||Ge("CSSMediaRule")&&e.parentRule instanceof CSSMediaRule||Ge("CSSSupportsRule")&&e.parentRule instanceof CSSSupportsRule||Ge("CSSConditionRule")&&e.parentRule instanceof CSSConditionRule){const n=Array.from(e.parentRule.cssRules).indexOf(e);t.unshift(n)}else{const n=Array.from(e.parentStyleSheet.cssRules).indexOf(e);t.unshift(n)}return t}(e,[])}function qe(e,t={}){const n=e.doc.defaultView;if(!n)return()=>{};!function(e,t){const{mutationCb:n,mousemoveCb:r,mouseInteractionCb:i,scrollCb:o,viewportResizeCb:a,inputCb:s,mediaInteractionCb:u,styleSheetRuleCb:c,styleDeclarationCb:l,canvasMutationCb:f,fontCb:p}=e;e.mutationCb=(...e)=>{t.mutation&&t.mutation(...e),n(...e)},e.mousemoveCb=(...e)=>{t.mousemove&&t.mousemove(...e),r(...e)},e.mouseInteractionCb=(...e)=>{t.mouseInteraction&&t.mouseInteraction(...e),i(...e)},e.scrollCb=(...e)=>{t.scroll&&t.scroll(...e),o(...e)},e.viewportResizeCb=(...e)=>{t.viewportResize&&t.viewportResize(...e),a(...e)},e.inputCb=(...e)=>{t.input&&t.input(...e),s(...e)},e.mediaInteractionCb=(...e)=>{t.mediaInteaction&&t.mediaInteaction(...e),u(...e)},e.styleSheetRuleCb=(...e)=>{t.styleSheetRule&&t.styleSheetRule(...e),c(...e)},e.styleDeclarationCb=(...e)=>{t.styleDeclaration&&t.styleDeclaration(...e),l(...e)},e.canvasMutationCb=(...e)=>{t.canvasMutation&&t.canvasMutation(...e),f(...e)},e.fontCb=(...e)=>{t.font&&t.font(...e),p(...e)}
9}(e,t);const r=Ce(e,e.doc),i=function({mousemoveCb:e,sampling:t,doc:n,mirror:r}){if(!1===t.mousemove)return()=>{};const i="number"==typeof t.mousemove?t.mousemove:50,o="number"==typeof t.mousemoveCallback?t.mousemoveCallback:500;let a,s=[];const u=fe((t=>{const n=Date.now()-a;Ae(e)(s.map((e=>(e.timeOffset-=n,e))),t),s=[],a=null}),o),c=fe((e=>{const t=De(e),{clientX:n,clientY:i}=be(e)?e.changedTouches[0]:e;a||(a=Date.now()),s.push({x:n,y:i,id:r.getId(t),timeOffset:Date.now()-a}),u("undefined"!=typeof DragEvent&&e instanceof DragEvent?re.Drag:e instanceof MouseEvent?re.MouseMove:re.TouchMove)}),i,{trailing:!1}),l=[ue("mousemove",Ae(c),n),ue("touchmove",Ae(c),n),ue("drag",Ae(c),n)];return Ae((()=>{l.forEach((e=>e()))}))}(e),o=Pe(e),a=Le(e),s=function({viewportResizeCb:e}){let t=-1,n=-1;const r=fe((()=>{const r=he(),i=me();t===r&&n===i||(Ae(e)({width:Number(i),height:Number(r)}),t=r,n=i)}),200);return ue("resize",Ae(r),window)}(e),u=Ue(e),c=function({mediaInteractionCb:e,blockClass:t,blockSelector:n,unblockSelector:r,mirror:i,sampling:o}){const a=a=>fe(Ae((o=>{const s=De(o);if(!s||ye(s,t,n,r))return;const{currentTime:u,volume:c,muted:l}=s;e({type:a,id:i.getId(s),currentTime:u,volume:c,muted:l})})),o.media||500),s=[ue("play",a(0)),ue("pause",a(1)),ue("seeked",a(2)),ue("volumechange",a(3))];return Ae((()=>{s.forEach((e=>e()))}))}(e),l=function({styleSheetRuleCb:e,mirror:t},{win:n}){if(!n.CSSStyleSheet||!n.CSSStyleSheet.prototype)return()=>{};const r=n.CSSStyleSheet.prototype.insertRule;n.CSSStyleSheet.prototype.insertRule=new Proxy(r,{apply:Ae(((n,r,i)=>{const[o,a]=i,s=t.getId(r.ownerNode);return-1!==s&&e({id:s,adds:[{rule:o,index:a}]}),n.apply(r,i)}))});const i=n.CSSStyleSheet.prototype.deleteRule;n.CSSStyleSheet.prototype.deleteRule=new Proxy(i,{apply:Ae(((n,r,i)=>{const[o]=i,a=t.getId(r.ownerNode);return-1!==a&&e({id:a,removes:[{index:o}]}),n.apply(r,i)}))});const o={};Ve("CSSGroupingRule")?o.CSSGroupingRule=n.CSSGroupingRule:(Ve("CSSMediaRule")&&(o.CSSMediaRule=n.CSSMediaRule),Ve("CSSConditionRule")&&(o.CSSConditionRule=n.CSSConditionRule),Ve("CSSSupportsRule")&&(o.CSSSupportsRule=n.CSSSupportsRule));const a={};return Object.entries(o).forEach((([n,r])=>{a[n]={insertRule:r.prototype.insertRule,deleteRule:r.prototype.deleteRule},r.prototype.insertRule=new Proxy(a[n].insertRule,{apply:Ae(((n,r,i)=>{const[o,a]=i,s=t.getId(r.parentStyleSheet.ownerNode);return-1!==s&&e({id:s,adds:[{rule:o,index:[...Be(r),a||0]}]}),n.apply(r,i)}))}),r.prototype.deleteRule=new Proxy(a[n].deleteRule,{apply:Ae(((n,r,i)=>{const[o]=i,a=t.getId(r.parentStyleSheet.ownerNode);return-1!==a&&e({id:a,removes:[{index:[...Be(r),o]}]}),n.apply(r,i)}))})})),Ae((()=>{n.CSSStyleSheet.prototype.insertRule=r,n.CSSStyleSheet.prototype.deleteRule=i,Object.entries(o).forEach((([e,t])=>{t.prototype.insertRule=a[e].insertRule,t.prototype.deleteRule=a[e].deleteRule}))}))}(e,{win:n}),f=function({styleDeclarationCb:e,mirror:t},{win:n}){const r=n.CSSStyleDeclaration.prototype.setProperty;n.CSSStyleDeclaration.prototype.setProperty=new Proxy(r,{apply:Ae(((n,r,i)=>{var o,a;const[s,u,c]=i,l=t.getId(null===(a=null===(o=r.parentRule)||void 0===o?void 0:o.parentStyleSheet)||void 0===a?void 0:a.ownerNode);return-1!==l&&e({id:l,set:{property:s,value:u,priority:c},index:Be(r.parentRule)}),n.apply(r,i)}))});const i=n.CSSStyleDeclaration.prototype.removeProperty;return n.CSSStyleDeclaration.prototype.removeProperty=new Proxy(i,{apply:Ae(((n,r,i)=>{var o,a;const[s]=i,u=t.getId(null===(a=null===(o=r.parentRule)||void 0===o?void 0:o.parentStyleSheet)||void 0===a?void 0:a.ownerNode);return-1!==u&&e({id:u,remove:{property:s},index:Be(r.parentRule)}),n.apply(r,i)}))}),Ae((()=>{n.CSSStyleDeclaration.prototype.setProperty=r,n.CSSStyleDeclaration.prototype.removeProperty=i}))}(e,{win:n}),p=e.collectFonts?function({fontCb:e,doc:t}){const n=t.defaultView;if(!n)return()=>{};const r=[],i=new WeakMap,o=n.FontFace;n.FontFace=function(e,t,n){const r=new o(e,t,n);return i.set(r,{family:e,buffer:"string"!=typeof t,descriptors:n,fontSource:"string"==typeof t?t:JSON.stringify(Array.from(new Uint8Array(t)))}),r};const a=de(t.fonts,"add",(function(t){return function(n){return setTimeout((()=>{const t=i.get(n);t&&(e(t),i.delete(n))}),0),t.apply(this,[n])}}));return r.push((()=>{n.FontFace=o})),r.push(a),Ae((()=>{r.forEach((e=>e()))}))}(e):()=>{},d=[];for(const t of e.plugins)d.push(t.observer(t.callback,n,t.options));return Ae((()=>{Ie.forEach((e=>e.reset())),r.disconnect(),i(),o(),a(),s(),u(),c();try{l(),f()}catch(e){}p(),d.forEach((e=>e()))}))}function Ge(e){return void 0!==window[e]}function Ve(e){return Boolean(void 0!==window[e]&&window[e].prototype&&"insertRule"in window[e].prototype&&"deleteRule"in window[e].prototype)}class He{constructor(e){this.iframes=new WeakMap,this.mutationCb=e.mutationCb}addIframe(e){this.iframes.set(e,!0)}addLoadListener(e){this.loadListener=e}attachIframe(e,t){var n;this.mutationCb({adds:[{parentId:e.__sn.id,nextId:null,node:t}],removes:[],texts:[],attributes:[],isAttachIframe:!0}),null===(n=this.loadListener)||void 0===n||n.call(this,e)}}class ze{constructor(e){this.restorePatches=[],this.mutationCb=e.mutationCb,this.scrollCb=e.scrollCb,this.bypassOptions=e.bypassOptions,this.mirror=e.mirror;
9const t=this;this.restorePatches.push(de(HTMLElement.prototype,"attachShadow",(function(e){return function(){const n=e.apply(this,arguments);return this.shadowRoot&&t.addShadowRoot(this.shadowRoot,this.ownerDocument),n}})))}addShadowRoot(e,t){Ce(Object.assign(Object.assign({},this.bypassOptions),{doc:t,mutationCb:this.mutationCb,mirror:this.mirror,shadowDomManager:this}),e),Le(Object.assign(Object.assign({},this.bypassOptions),{scrollCb:this.scrollCb,doc:e,mirror:this.mirror}))}observeAttachShadow(e){if(e.contentWindow){const t=this;this.restorePatches.push(de(e.contentWindow.HTMLElement.prototype,"attachShadow",(function(n){return function(){const r=n.apply(this,arguments);return this.shadowRoot&&t.addShadowRoot(this.shadowRoot,e.contentDocument),r}})))}}reset(){this.restorePatches.forEach((e=>e()))}}for(var $e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Ke="undefined"==typeof Uint8Array?[]:new Uint8Array(256),Ye=0;Ye<64;Ye++)Ke[$e.charCodeAt(Ye)]=Ye;const We=new Map;const Qe=(e,t,n)=>{if(!e||!Ze(e,t)&&"object"!=typeof e)return;const r=function(e,t){let n=We.get(e);return n||(n=new Map,We.set(e,n)),n.has(t)||n.set(t,[]),n.get(t)}(n,e.constructor.name);let i=r.indexOf(e);return-1===i&&(i=r.length,r.push(e)),i};function Xe(e,t,n){if(e instanceof Array)return e.map((e=>Xe(e,t,n)));if(null===e)return e;if(e instanceof Float32Array||e instanceof Float64Array||e instanceof Int32Array||e instanceof Uint32Array||e instanceof Uint8Array||e instanceof Uint16Array||e instanceof Int16Array||e instanceof Int8Array||e instanceof Uint8ClampedArray){return{rr_type:e.constructor.name,args:[Object.values(e)]}}if(e instanceof ArrayBuffer){const t=e.constructor.name,n=function(e){var t,n=new Uint8Array(e),r=n.length,i="";for(t=0;t<r;t+=3)i+=$e[n[t]>>2],i+=$e[(3&n[t])<<4|n[t+1]>>4],i+=$e[(15&n[t+1])<<2|n[t+2]>>6],i+=$e[63&n[t+2]];return r%3==2?i=i.substring(0,i.length-1)+"=":r%3==1&&(i=i.substring(0,i.length-2)+"=="),i}(e);return{rr_type:t,base64:n}}if(e instanceof DataView){return{rr_type:e.constructor.name,args:[Xe(e.buffer,t,n),e.byteOffset,e.byteLength]}}if(e instanceof HTMLImageElement){const t=e.constructor.name,{src:n}=e;return{rr_type:t,src:n}}if(e instanceof ImageData){return{rr_type:e.constructor.name,args:[Xe(e.data,t,n),e.width,e.height]}}if(Ze(e,t)||"object"==typeof e){return{rr_type:e.constructor.name,index:Qe(e,t,n)}}return e}const Je=(e,t,n)=>[...e].map((e=>Xe(e,t,n))),Ze=(e,t)=>{const n=["WebGLActiveInfo","WebGLBuffer","WebGLFramebuffer","WebGLProgram","WebGLRenderbuffer","WebGLShader","WebGLShaderPrecisionFormat","WebGLTexture","WebGLUniformLocation","WebGLVertexArrayObject","WebGLVertexArrayObjectOES"].filter((e=>"function"==typeof t[e]));return Boolean(n.find((n=>e instanceof t[n])))};function et(e,t,n,r,i,o,a,s){const u=[],c=Object.getOwnPropertyNames(e);for(const l of c)try{if("function"!=typeof e[l])continue;const c=de(e,l,(function(u){return function(...c){const f=u.apply(this,c);if(Qe(f,s,e),!ye(this.canvas,r,o,i)){a.getId(this.canvas);const r=Je([...c],s,e),i={type:t,property:l,args:r};n(this.canvas,i)}return f}}));u.push(c)}catch(r){const i=pe(e,l,{set(e){n(this.canvas,{type:t,property:l,args:[e],setter:!0})}});u.push(i)}return u}class tt{reset(){this.pendingCanvasMutations.clear(),this.resetObservers&&this.resetObservers()}freeze(){this.frozen=!0}unfreeze(){this.frozen=!1}lock(){this.locked=!0}unlock(){this.locked=!1}constructor(e){this.pendingCanvasMutations=new Map,this.rafStamps={latestId:0,invokeId:null},this.frozen=!1,this.locked=!1,this.processMutation=function(e,t){!(this.rafStamps.invokeId&&this.rafStamps.latestId!==this.rafStamps.invokeId)&&this.rafStamps.invokeId||(this.rafStamps.invokeId=this.rafStamps.latestId),this.pendingCanvasMutations.has(e)||this.pendingCanvasMutations.set(e,[]),this.pendingCanvasMutations.get(e).push(t)},this.mutationCb=e.mutationCb,this.mirror=e.mirror,!0===e.recordCanvas&&this.initCanvasMutationObserver(e.win,e.blockClass,e.blockSelector,e.unblockSelector)}initCanvasMutationObserver(e,t,n,r){this.startRAFTimestamping(),this.startPendingCanvasMutationFlusher();const i=function(e,t,n,r){const i=[];try{const o=de(e.HTMLCanvasElement.prototype,"getContext",(function(e){return function(i,...o){return ye(this,t,n,r)||"__context"in this||(this.__context=i),e.apply(this,[i,...o])}}));i.push(o)}catch(e){console.error("failed to patch HTMLCanvasElement.prototype.getContext")}return()=>
9{i.forEach((e=>e()))}}(e,t,r,n),o=function(e,t,n,r,i,o){const a=[],s=Object.getOwnPropertyNames(t.CanvasRenderingContext2D.prototype);for(const o of s)try{if("function"!=typeof t.CanvasRenderingContext2D.prototype[o])continue;const s=de(t.CanvasRenderingContext2D.prototype,o,(function(t){return function(...a){return ye(this.canvas,n,i,r)||setTimeout((()=>{const t=[...a];if("drawImage"===o&&t[0]&&t[0]instanceof HTMLCanvasElement){const e=t[0],n=e.getContext("2d");let r=null==n?void 0:n.getImageData(0,0,e.width,e.height),i=null==r?void 0:r.data;t[0]=JSON.stringify(i)}e(this.canvas,{type:oe["2D"],property:o,args:t})}),0),t.apply(this,a)}}));a.push(s)}catch(n){const r=pe(t.CanvasRenderingContext2D.prototype,o,{set(t){e(this.canvas,{type:oe["2D"],property:o,args:[t],setter:!0})}});a.push(r)}return()=>{a.forEach((e=>e()))}}(this.processMutation.bind(this),e,t,r,n,this.mirror),a=function(e,t,n,r,i,o){const a=[];return a.push(...et(t.WebGLRenderingContext.prototype,oe.WebGL,e,n,r,i,o,t)),void 0!==t.WebGL2RenderingContext&&a.push(...et(t.WebGL2RenderingContext.prototype,oe.WebGL2,e,n,r,i,o,t)),()=>{a.forEach((e=>e()))}}(this.processMutation.bind(this),e,t,r,n,this.mirror);this.resetObservers=()=>{i(),o(),a()}}startPendingCanvasMutationFlusher(){requestAnimationFrame((()=>this.flushPendingCanvasMutations()))}startRAFTimestamping(){const e=t=>{this.rafStamps.latestId=t,requestAnimationFrame(e)};requestAnimationFrame(e)}flushPendingCanvasMutations(){this.pendingCanvasMutations.forEach(((e,t)=>{const n=this.mirror.getId(t);this.flushPendingCanvasMutationFor(t,n)})),requestAnimationFrame((()=>this.flushPendingCanvasMutations()))}flushPendingCanvasMutationFor(e,t){if(this.frozen||this.locked)return;const n=this.pendingCanvasMutations.get(e);if(!n||-1===t)return;const r=n.map((e=>{const t=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}(e,["type"]);return t})),{type:i}=n[0];this.mutationCb({id:t,type:i,commands:r}),this.pendingCanvasMutations.delete(e)}}function nt(e){return Object.assign(Object.assign({},e),{timestamp:Date.now()})}let rt,it;const ot={map:{},getId:e=>e&&e.__sn?e.__sn.id:-1,getNode(e){return this.map[e]||null},removeNodeFromMap(e){const t=e.__sn&&e.__sn.id;delete this.map[t],e.childNodes&&e.childNodes.forEach((e=>this.removeNodeFromMap(e)))},has(e){return this.map.hasOwnProperty(e)},reset(){this.map={}}};function at(e={}){const{emit:t,checkoutEveryNms:n,checkoutEveryNth:r,blockClass:i="rr-block",blockSelector:o=null,unblockSelector:a=null,ignoreClass:s="rr-ignore",ignoreSelector:u=null,maskTextClass:c="rr-mask",maskTextSelector:l=null,maskInputSelector:f=null,unmaskTextSelector:p=null,unmaskInputSelector:d=null,inlineStylesheet:h=!0,maskAllText:m=!1,maskAllInputs:y,maskInputOptions:g,slimDOMOptions:v,maskInputFn:b,maskTextFn:_,hooks:E,packFn:S,sampling:w={},mousemoveWait:T,recordCanvas:O=!1,userTriggeredOnInput:x=!1,collectFonts:k=!1,inlineImages:R=!1,plugins:N,keepIframeSrcFn:A=(()=>!1),onMutation:I}=e;if(!t)throw new Error("emit function is required");void 0!==T&&void 0===w.mousemove&&(w.mousemove=T);const D=!0===y?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0,radio:!0,checkbox:!0}:void 0!==g?g:{},C=!0===v||"all"===v?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaVerification:!0,headMetaAuthorship:"all"===v,headMetaDescKeywords:"all"===v}:v||{};let P;!function(e=window){"NodeList"in e&&!e.NodeList.prototype.forEach&&(e.NodeList.prototype.forEach=Array.prototype.forEach),"DOMTokenList"in e&&!e.DOMTokenList.prototype.forEach&&(e.DOMTokenList.prototype.forEach=Array.prototype.forEach),Node.prototype.contains||(Node.prototype.contains=function(e){if(!(0 in arguments))throw new TypeError("1 argument is required");do{if(this===e)return!0}while(e=e&&e.parentNode);return!1})}();let L=0;rt=(e,i)=>{var o;if(!(null===(o=Ie[0])||void 0===o?void 0:o.isFrozen())||e.type===ne.FullSnapshot||e.type===ne.IncrementalSnapshot&&e.data.source===re.Mutation||Ie.forEach((e=>e.unfreeze())),t((e=>{for(const t of N||[])t.eventProcessor&&(e=t.eventProcessor(e));return S&&(e=S(e)),e})(e),i),e.type===ne.FullSnapshot)P=e,L=0;else if(e.type===ne.IncrementalSnapshot){if(e.data.source===re.Mutation&&e.data.isAttachIframe)return;L++;const t=r&&L>=r,i=n&&e.timestamp-P.timestamp>n;(t||i)&&it(!0)}};const M=e=>{rt(nt({type:ne.IncrementalSnapshot,data:Object.assign({source:re.Mutation},e)}))},j=e=>rt(nt({type:ne.IncrementalSnapshot,data:Object.assign({source:re.Scroll},e)})),F=e=>rt(nt({type:ne.IncrementalSnapshot,data:Object.assign({source:re.CanvasMutation},e)})),U=new He({mutationCb:M}),B=new tt({recordCanvas:O,mutationCb:F,win:window,blockClass:i,blockSelector:o,unblockSelector:a,mirror:ot}),q=new ze({mutationCb:M,scrollCb:j,bypassOptions:{onMutation:I,blockClass:i,blockSelector:o,unblockSelector:a,maskTextClass:c,maskTextSelector:l,unmaskTextSelector:p,maskInputSelector:f,unmaskInputSelector:d,inlineStylesheet:h,maskAllText:m,maskInputOptions:D,maskTextFn:_,maskInputFn:b,recordCanvas:O,inlineImages:R,sampling:w,slimDOMOptions:C,iframeManager:U,canvasManager:B},mirror:ot});it=(e=!1)=>{var t,n,r,s;rt(nt({type:ne.Meta,data:{href:window.location.href,width:me(),height:he()}}),e),Ie.forEach((e=>e.lock()));
9const[u,y]=function(e,t){const{blockClass:n="rr-block",blockSelector:r=null,unblockSelector:i=null,maskTextClass:o="rr-mask",maskTextSelector:a=null,unmaskTextSelector:s=null,inlineStylesheet:u=!0,inlineImages:c=!1,recordCanvas:l=!1,maskInputSelector:f=null,unmaskInputSelector:p=null,maskAllText:d=!1,maskAllInputs:h=!1,maskTextFn:m,maskInputFn:y,slimDOM:g=!1,dataURLOptions:v,preserveWhiteSpace:b,onSerialize:_,onIframeLoad:E,iframeLoadTimeout:S,keepIframeSrcFn:w=(()=>!1)}=t||{},T={};return[ee(e,{doc:e,map:T,blockClass:n,blockSelector:r,unblockSelector:i,maskTextClass:o,maskTextSelector:a,unmaskTextSelector:s,skipChild:!1,inlineStylesheet:u,maskInputSelector:f,unmaskInputSelector:p,maskAllText:d,maskInputOptions:!0===h?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0}:!1===h?{}:h,maskTextFn:m,maskInputFn:y,slimDOMOptions:!0===g||"all"===g?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaDescKeywords:"all"===g,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaAuthorship:!0,headMetaVerification:!0}:!1===g?{}:g,dataURLOptions:v,inlineImages:c,recordCanvas:l,preserveWhiteSpace:b,onSerialize:_,onIframeLoad:E,iframeLoadTimeout:S,keepIframeSrcFn:w}),T]}(document,{blockClass:i,blockSelector:o,unblockSelector:a,maskTextClass:c,maskTextSelector:l,unmaskTextSelector:p,maskInputSelector:f,unmaskInputSelector:d,inlineStylesheet:h,maskAllText:m,maskAllInputs:D,maskTextFn:_,slimDOM:C,recordCanvas:O,inlineImages:R,onSerialize:e=>{_e(e)&&U.addIframe(e),Ee(e)&&q.addShadowRoot(e.shadowRoot,document)},onIframeLoad:(e,t)=>{U.attachIframe(e,t),q.observeAttachShadow(e)},keepIframeSrcFn:A});if(!u)return console.warn("Failed to snapshot the document");ot.map=y,rt(nt({type:ne.FullSnapshot,data:{node:u,initialOffset:{left:void 0!==window.pageXOffset?window.pageXOffset:(null===document||void 0===document?void 0:document.documentElement.scrollLeft)||(null===(n=null===(t=null===document||void 0===document?void 0:document.body)||void 0===t?void 0:t.parentElement)||void 0===n?void 0:n.scrollLeft)||(null===document||void 0===document?void 0:document.body.scrollLeft)||0,top:void 0!==window.pageYOffset?window.pageYOffset:(null===document||void 0===document?void 0:document.documentElement.scrollTop)||(null===(s=null===(r=null===document||void 0===document?void 0:document.body)||void 0===r?void 0:r.parentElement)||void 0===s?void 0:s.scrollTop)||(null===document||void 0===document?void 0:document.body.scrollTop)||0}}})),Ie.forEach((e=>e.unlock()))};try{const e=[];e.push(ue("DOMContentLoaded",(()=>{rt(nt({type:ne.DomContentLoaded,data:{}}))})));const t=e=>{var t;return Ae(qe)({onMutation:I,mutationCb:M,mousemoveCb:(e,t)=>rt(nt({type:ne.IncrementalSnapshot,data:{source:t,positions:e}})),mouseInteractionCb:e=>rt(nt({type:ne.IncrementalSnapshot,data:Object.assign({source:re.MouseInteraction},e)})),scrollCb:j,viewportResizeCb:e=>rt(nt({type:ne.IncrementalSnapshot,data:Object.assign({source:re.ViewportResize},e)})),inputCb:e=>rt(nt({type:ne.IncrementalSnapshot,data:Object.assign({source:re.Input},e)})),mediaInteractionCb:e=>rt(nt({type:ne.IncrementalSnapshot,data:Object.assign({source:re.MediaInteraction},e)})),styleSheetRuleCb:e=>rt(nt({type:ne.IncrementalSnapshot,data:Object.assign({source:re.StyleSheetRule},e)})),styleDeclarationCb:e=>rt(nt({type:ne.IncrementalSnapshot,data:Object.assign({source:re.StyleDeclaration},e)})),canvasMutationCb:F,fontCb:e=>rt(nt({type:ne.IncrementalSnapshot,data:Object.assign({source:re.Font},e)})),blockClass:i,ignoreClass:s,ignoreSelector:u,maskTextClass:c,maskTextSelector:l,unmaskTextSelector:p,maskInputSelector:f,unmaskInputSelector:d,maskInputOptions:D,inlineStylesheet:h,sampling:w,recordCanvas:O,inlineImages:R,userTriggeredOnInput:x,collectFonts:k,doc:e,maskAllText:m,maskInputFn:b,maskTextFn:_,blockSelector:o,unblockSelector:a,slimDOMOptions:C,mirror:ot,iframeManager:U,shadowDomManager:q,canvasManager:B,plugins:(null===(t=null==N?void 0:N.filter((e=>e.observer)))||void 0===t?void 0:t.map((e=>({observer:e.observer,options:e.options,callback:t=>rt(nt({type:ne.Plugin,data:{plugin:e.name,payload:t}}
9))}))))||[]},E)};U.addLoadListener((n=>{try{e.push(t(n.contentDocument))}catch(e){console.warn(e)}}));const n=()=>{it(),e.push(t(document))};return"interactive"===document.readyState||"complete"===document.readyState?n():e.push(ue("load",(()=>{rt(nt({type:ne.Load,data:{}})),n()}),window)),()=>{e.forEach((e=>e()))}}catch(e){console.warn(e)}}function st(e){return e>9999999999?e:1e3*e}function ut(e,t){"sentry.transaction"!==t.category&&(["ui.click","ui.input"].includes(t.category)?e.triggerUserActivity():e.checkAndHandleExpiredSession(),e.addUpdate((()=>(e.throttledAddEvent({type:ne.Custom,timestamp:1e3*(t.timestamp||0),data:{tag:"breadcrumb",payload:(0,u.normalize)(t,10,1e3)}}),"console"===t.category))))}at.addCustomEvent=(e,t)=>{if(!rt)throw new Error("please add custom event after start recording");rt(nt({type:ne.Custom,data:{tag:e,payload:t}}))},at.freezePage=()=>{Ie.forEach((e=>e.freeze()))},at.takeFullSnapshot=e=>{if(!it)throw new Error("please take full snapshot after start recording");it(e)},at.mirror=ot;const ct="button,a";function lt(e){const t=ft(e);if(!(t&&t instanceof Element))return t;return t.closest(ct)||t}function ft(e){return function(e){return"object"==typeof e&&!!e&&"target"in e}(e)?e.target:e}let pt;function dt(e){return pt||(pt=[],(0,c.fill)(v,"open",(function(e){return function(...t){if(pt)try{pt.forEach((e=>e()))}catch(e){}return e.apply(v,t)}}))),pt.push(e),()=>{const t=pt?pt.indexOf(e):-1;t>-1&&pt.splice(t,1)}}class ht{constructor(e,t,n=ut){this._lastMutation=0,this._lastScroll=0,this._clicks=[],this._timeout=t.timeout/1e3,this._threshold=t.threshold/1e3,this._scollTimeout=t.scrollTimeout/1e3,this._replay=e,this._ignoreSelector=t.ignoreSelector,this._addBreadcrumbEvent=n}addListeners(){const e=()=>{this._lastScroll=yt()},t=dt((()=>{this._lastMutation=yt()})),n=e=>{if(!e.target)return;const t=lt(e);t&&this._handleMultiClick(t)},r=new MutationObserver((()=>{this._lastMutation=yt()}));r.observe(v.document.documentElement,{attributes:!0,characterData:!0,childList:!0,subtree:!0}),v.addEventListener("scroll",e,{passive:!0}),v.addEventListener("click",n,{passive:!0}),this._teardown=()=>{v.removeEventListener("scroll",e),v.removeEventListener("click",n),t(),r.disconnect(),this._clicks=[],this._lastMutation=0,this._lastScroll=0}}removeListeners(){this._teardown&&this._teardown(),this._checkClickTimeout&&clearTimeout(this._checkClickTimeout)}handleClick(e,t){if(function(e,t){if(!mt.includes(e.tagName))return!0;if("INPUT"===e.tagName&&!["submit","button"].includes(e.getAttribute("type")||""))return!0;if("A"===e.tagName&&(e.hasAttribute("download")||e.hasAttribute("target")&&"_self"!==e.getAttribute("target")))return!0;if(t&&e.matches(t))return!0;return!1}(t,this._ignoreSelector)||!function(e){return!(!e.data||"number"!=typeof e.data.nodeId||!e.timestamp)}(e))return;const n={timestamp:(r=e.timestamp,r>9999999999?r/1e3:r),clickBreadcrumb:e,clickCount:0,node:t};var r;this._clicks.some((e=>e.node===n.node&&Math.abs(e.timestamp-n.timestamp)<1))||(this._clicks.push(n),1===this._clicks.length&&this._scheduleCheckClicks())}_handleMultiClick(e){this._getClicks(e).forEach((e=>{e.clickCount++}))}_getClicks(e){return this._clicks.filter((t=>t.node===e))}_checkClicks(){const e=[],t=yt();this._clicks.forEach((n=>{!n.mutationAfter&&this._lastMutation&&(n.mutationAfter=n.timestamp<=this._lastMutation?this._lastMutation-n.timestamp:void 0),!n.scrollAfter&&this._lastScroll&&(n.scrollAfter=n.timestamp<=this._lastScroll?this._lastScroll-n.timestamp:void 0),n.timestamp+this._timeout<=t&&e.push(n)}));for(const t of e){const e=this._clicks.indexOf(t);e>-1&&(this._generateBreadcrumbs(t),this._clicks.splice(e,1))}this._clicks.length&&this._scheduleCheckClicks()}_generateBreadcrumbs(e){const t=this._replay,n=e.scrollAfter&&e.scrollAfter<=this._scollTimeout,r=e.mutationAfter&&e.mutationAfter<=this._threshold,i=!n&&!r,{clickCount:o,clickBreadcrumb:a}=e;if(i){const n=1e3*Math.min(e.mutationAfter||this._timeout,this._timeout),r=n<1e3*this._timeout?"mutation":"timeout",i={type:"default",message:a.message,timestamp:a.timestamp,category:"ui.slowClickDetected",data:{...a.data,url:v.location.href,route:t.getCurrentRoute(),timeAfterClickMs:n,endReason:r,clickCount:o||1}};this._addBreadcrumbEvent(t,i)}else if(o>1){const e={type:"default",message:a.message,timestamp:a.timestamp,category:"ui.multiClick",data:{...a.data,url:v.location.href,route:t.getCurrentRoute(),clickCount:o,metric:!0}};this._addBreadcrumbEvent(t,e)}}_scheduleCheckClicks(){this._checkClickTimeout&&clearTimeout(this._checkClickTimeout),this._checkClickTimeout=setTimeout((()=>this._checkClicks()),1e3)}}const mt=["A","BUTTON","INPUT"];function yt(){return Date.now()/1e3}function gt(e){return{timestamp:Date.now()/1e3,type:"default",...e}}var vt;!function(e){e[e.Document=0]="Document",e[e.DocumentType=1]="DocumentType",e[e.Element=2]="Element",e[e.Text=3]="Text",e[e.CDATA=4]="CDATA",e[e.Comment=5]="Comment"}(vt||(vt={}));const bt=new Set(["id","class","aria-label","role","name","alt","title","data-test-id","data-testid","disabled","aria-disabled"]);function _t(e){const t={};for(const n in e)if(bt.has(n)){let r=n;"data-testid"!==n&&"data-test-id"!==n||(r="testId"),t[r]=e[n]}return t}const Et=e=>t=>{if(!e.isEnabled())return;const n=function(e){const{target:t,message:n}=function(e){const t="click"===e.name;let n,r=null;try{r=t?lt(e.event):ft(e.event),n=(0,l.htmlTreeAsString)(r,{maxStringLength:200})||"<unknown>"}catch(e){n="<unknown>"}return{target:r,message:n}}(e);return gt({category:`ui.${e.name}`,...St(t,n)})}(t);if(!n)return;const r="click"===t.name,i=r&&t.event;var o,a,s;!(r&&e.clickDetector&&i)||i.altKey||i.metaKey||i.ctrlKey||i.shiftKey||(o=e.clickDetector,a=n,s=lt(t.event),o.handleClick(a,s)),ut(e,n)};function St(e,t){const n=e&&"__sn"in e&&e.__sn.type===vt.Element?e.__sn:null;return{message:t,data:n?{nodeId:n.id,node:{id:n.id,tagName:n.tagName,textContent:e?Array.from(e.childNodes).map((e=>
9"__sn"in e&&e.__sn.type===vt.Text&&e.__sn.textContent)).filter(Boolean).map((e=>e.trim())).join(""):"",attributes:_t(n.attributes)}}:{}}}function wt(e,t){if(!e.isEnabled())return;e.updateUserActivity();const n=function(e){const{metaKey:t,shiftKey:n,ctrlKey:r,altKey:i,key:o,target:a}=e;if(!a||function(e){return"INPUT"===e.tagName||"TEXTAREA"===e.tagName||e.isContentEditable}(a)||!o)return null;const s=t||r||i,u=1===o.length;if(!s&&u)return null;const c=(0,l.htmlTreeAsString)(a,{maxStringLength:200})||"<unknown>",f=St(a,c);return gt({category:"ui.keyDown",message:c,data:{...f.data,metaKey:t,shiftKey:n,ctrlKey:r,altKey:i,key:o}})}(t);n&&ut(e,n)}const Tt=["name","type","startTime","transferSize","duration"];function Ot(e){return function(t){return Tt.every((n=>e[n]===t[n]))}}function xt(e){const t=new PerformanceObserver((t=>{const n=function(e,t){const[n,r,i]=e.reduce(((e,t)=>("navigation"===t.entryType?e[0].push(t):"largest-contentful-paint"===t.entryType?e[1].push(t):e[2].push(t),e)),[[],[],[]]),o=[],a=[];let s=r.length?r[r.length-1]:void 0;return t.forEach((e=>{if("largest-contentful-paint"!==e.entryType)if("navigation"!==e.entryType)o.push(e);else{const t=e;e.duration>0&&!n.find(Ot(t))&&!a.find(Ot(t))&&a.push(t)}else(!s||s.startTime<e.startTime)&&(s=e)})),[...s?[s]:[],...n,...i,...o,...a].sort(((e,t)=>e.startTime-t.startTime))}(e.performanceEvents,t.getEntries());e.performanceEvents=n}));return["element","event","first-input","largest-contentful-paint","layout-shift","longtask","navigation","paint","resource"].forEach((e=>{try{t.observe({type:e,buffered:!0})}catch(e){}})),t}const kt='/*! pako 2.1.0 https://github.com/nodeca/pako @license (MIT AND Zlib) */\nfunction t(t){let e=t.length;for(;--e>=0;)t[e]=0}const e=new Uint8Array([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0]),a=new Uint8Array([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13]),i=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),n=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),s=new Array(576);t(s);const r=new Array(60);t(r);const o=new Array(512);t(o);const l=new Array(256);t(l);const h=new Array(29);t(h);const d=new Array(30);function _(t,e,a,i,n){this.static_tree=t,this.extra_bits=e,this.extra_base=a,this.elems=i,this.max_length=n,this.has_stree=t&&t.length}let f,c,u;function w(t,e){this.dyn_tree=t,this.max_code=0,this.stat_desc=e}t(d);const m=t=>t<256?o[t]:o[256+(t>>>7)],b=(t,e)=>{t.pending_buf[t.pending++]=255&e,t.pending_buf[t.pending++]=e>>>8&255},g=(t,e,a)=>{t.bi_valid>16-a?(t.bi_buf|=e<<t.bi_valid&65535,b(t,t.bi_buf),t.bi_buf=e>>16-t.bi_valid,t.bi_valid+=a-16):(t.bi_buf|=e<<t.bi_valid&65535,t.bi_valid+=a)},p=(t,e,a)=>{g(t,a[2*e],a[2*e+1])},k=(t,e)=>{let a=0;do{a|=1&t,t>>>=1,a<<=1}while(--e>0);return a>>>1},v=(t,e,a)=>{const i=new Array(16);let n,s,r=0;for(n=1;n<=15;n++)r=r+a[n-1]<<1,i[n]=r;for(s=0;s<=e;s++){let e=t[2*s+1];0!==e&&(t[2*s]=k(i[e]++,e))}},y=t=>{let e;for(e=0;e<286;e++)t.dyn_ltree[2*e]=0;for(e=0;e<30;e++)t.dyn_dtree[2*e]=0;for(e=0;e<19;e++)t.bl_tree[2*e]=0;t.dyn_ltree[512]=1,t.opt_len=t.static_len=0,t.sym_next=t.matches=0},x=t=>{t.bi_valid>8?b(t,t.bi_buf):t.bi_valid>0&&(t.pending_buf[t.pending++]=t.bi_buf),t.bi_buf=0,t.bi_valid=0},z=(t,e,a,i)=>{const n=2*e,s=2*a;return t[n]<t[s]||t[n]===t[s]&&i[e]<=i[a]},A=(t,e,a)=>{const i=t.heap[a];let n=a<<1;for(;n<=t.heap_len&&(n<t.heap_len&&z(e,t.heap[n+1],t.heap[n],t.depth)&&n++,!z(e,i,t.heap[n],t.depth));)t.heap[a]=t.heap[n],a=n,n<<=1;t.heap[a]=i},E=(t,i,n)=>{let s,r,o,_,f=0;if(0!==t.sym_next)do{s=255&t.pending_buf[t.sym_buf+f++],s+=(255&t.pending_buf[t.sym_buf+f++])<<8,r=t.pending_buf[t.sym_buf+f++],0===s?p(t,r,i):(o=l[r],p(t,o+256+1,i),_=e[o],0!==_&&(r-=h[o],g(t,r,_)),s--,o=m(s),p(t,o,n),_=a[o],0!==_&&(s-=d[o],g(t,s,_)))}while(f<t.sym_next);p(t,256,i)},R=(t,e)=>{const a=e.dyn_tree,i=e.stat_desc.static_tree,n=e.stat_desc.has_stree,s=e.stat_desc.elems;let r,o,l,h=-1;for(t.heap_len=0,t.heap_max=573,r=0;r<s;r++)0!==a[2*r]?(t.heap[++t.heap_len]=h=r,t.depth[r]=0):a[2*r+1]=0;for(;t.heap_len<2;)l=t.heap[++t.heap_len]=h<2?++h:0,a[2*l]=1,t.depth[l]=0,t.opt_len--,n&&(t.static_len-=i[2*l+1]);for(e.max_code=h,r=t.heap_len>>1;r>=1;r--)A(t,a,r);l=s;do{r=t.heap[1],t.heap[1]=t.heap[t.heap_len--],A(t,a,1),o=t.heap[1],t.heap[--t.heap_max]=r,t.heap[--t.heap_max]=o,a[2*l]=a[2*r]+a[2*o],t.depth[l]=(t.depth[r]>=t.depth[o]?t.depth[r]:t.depth[o])+1,a[2*r+1]=a[2*o+1]=l,t.heap[1]=l++,A(t,a,1)}while(t.heap_len>=2);t.heap[--t.heap_max]=t.heap[1],((t,e)=>{const a=e.dyn_tree,i=e.max_code,n=e.stat_desc.static_tree,s=e.stat_desc.has_stree,r=e.stat_desc.extra_bits,o=e.stat_desc.extra_base,l=e.stat_desc.max_length;let h,d,_,f,c,u,w=0;for(f=0;f<=15;f++)t.bl_count[f]=0;for(a[2*t.heap[t.heap_max]+1]=0,h=t.heap_max+1;h<573;
vendor: 4,476 bytes, line 9
9h++)d=t.heap[h],f=a[2*a[2*d+1]+1]+1,f>l&&(f=l,w++),a[2*d+1]=f,d>i||(t.bl_count[f]++,c=0,d>=o&&(c=r[d-o]),u=a[2*d],t.opt_len+=u*(f+c),s&&(t.static_len+=u*(n[2*d+1]+c)));if(0!==w){do{for(f=l-1;0===t.bl_count[f];)f--;t.bl_count[f]--,t.bl_count[f+1]+=2,t.bl_count[l]--,w-=2}while(w>0);for(f=l;0!==f;f--)for(d=t.bl_count[f];0!==d;)_=t.heap[--h],_>i||(a[2*_+1]!==f&&(t.opt_len+=(f-a[2*_+1])*a[2*_],a[2*_+1]=f),d--)}})(t,e),v(a,h,t.bl_count)},Z=(t,e,a)=>{let i,n,s=-1,r=e[1],o=0,l=7,h=4;for(0===r&&(l=138,h=3),e[2*(a+1)+1]=65535,i=0;i<=a;i++)n=r,r=e[2*(i+1)+1],++o<l&&n===r||(o<h?t.bl_tree[2*n]+=o:0!==n?(n!==s&&t.bl_tree[2*n]++,t.bl_tree[32]++):o<=10?t.bl_tree[34]++:t.bl_tree[36]++,o=0,s=n,0===r?(l=138,h=3):n===r?(l=6,h=3):(l=7,h=4))},U=(t,e,a)=>{let i,n,s=-1,r=e[1],o=0,l=7,h=4;for(0===r&&(l=138,h=3),i=0;i<=a;i++)if(n=r,r=e[2*(i+1)+1],!(++o<l&&n===r)){if(o<h)do{p(t,n,t.bl_tree)}while(0!=--o);else 0!==n?(n!==s&&(p(t,n,t.bl_tree),o--),p(t,16,t.bl_tree),g(t,o-3,2)):o<=10?(p(t,17,t.bl_tree),g(t,o-3,3)):(p(t,18,t.bl_tree),g(t,o-11,7));o=0,s=n,0===r?(l=138,h=3):n===r?(l=6,h=3):(l=7,h=4)}};let S=!1;const D=(t,e,a,i)=>{g(t,0+(i?1:0),3),x(t),b(t,a),b(t,~a),a&&t.pending_buf.set(t.window.subarray(e,e+a),t.pending),t.pending+=a};var T=(t,e,a,i)=>{let o,l,h=0;t.level>0?(2===t.strm.data_type&&(t.strm.data_type=(t=>{let e,a=4093624447;for(e=0;e<=31;e++,a>>>=1)if(1&a&&0!==t.dyn_ltree[2*e])return 0;if(0!==t.dyn_ltree[18]||0!==t.dyn_ltree[20]||0!==t.dyn_ltree[26])return 1;for(e=32;e<256;e++)if(0!==t.dyn_ltree[2*e])return 1;return 0})(t)),R(t,t.l_desc),R(t,t.d_desc),h=(t=>{let e;for(Z(t,t.dyn_ltree,t.l_desc.max_code),Z(t,t.dyn_dtree,t.d_desc.max_code),R(t,t.bl_desc),e=18;e>=3&&0===t.bl_tree[2*n[e]+1];e--);return t.opt_len+=3*(e+1)+5+5+4,e})(t),o=t.opt_len+3+7>>>3,l=t.static_len+3+7>>>3,l<=o&&(o=l)):o=l=a+5,a+4<=o&&-1!==e?D(t,e,a,i):4===t.strategy||l===o?(g(t,2+(i?1:0),3),E(t,s,r)):(g(t,4+(i?1:0),3),((t,e,a,i)=>{let s;for(g(t,e-257,5),g(t,a-1,5),g(t,i-4,4),s=0;s<i;s++)g(t,t.bl_tree[2*n[s]+1],3);U(t,t.dyn_ltree,e-1),U(t,t.dyn_dtree,a-1)})(t,t.l_desc.max_code+1,t.d_desc.max_code+1,h+1),E(t,t.dyn_ltree,t.dyn_dtree)),y(t),i&&x(t)},O={_tr_init:t=>{S||((()=>{let t,n,w,m,b;const g=new Array(16);for(w=0,m=0;m<28;m++)for(h[m]=w,t=0;t<1<<e[m];t++)l[w++]=m;for(l[w-1]=m,b=0,m=0;m<16;m++)for(d[m]=b,t=0;t<1<<a[m];t++)o[b++]=m;for(b>>=7;m<30;m++)for(d[m]=b<<7,t=0;t<1<<a[m]-7;t++)o[256+b++]=m;for(n=0;n<=15;n++)g[n]=0;for(t=0;t<=143;)s[2*t+1]=8,t++,g[8]++;for(;t<=255;)s[2*t+1]=9,t++,g[9]++;for(;t<=279;)s[2*t+1]=7,t++,g[7]++;for(;t<=287;)s[2*t+1]=8,t++,g[8]++;for(v(s,287,g),t=0;t<30;t++)r[2*t+1]=5,r[2*t]=k(t,5);f=new _(s,e,257,286,15),c=new _(r,a,0,30,15),u=new _(new Array(0),i,0,19,7)})(),S=!0),t.l_desc=new w(t.dyn_ltree,f),t.d_desc=new w(t.dyn_dtree,c),t.bl_desc=new w(t.bl_tree,u),t.bi_buf=0,t.bi_valid=0,y(t)},_tr_stored_block:D,_tr_flush_block:T,_tr_tally:(t,e,a)=>(t.pending_buf[t.sym_buf+t.sym_next++]=e,t.pending_buf[t.sym_buf+t.sym_next++]=e>>8,t.pending_buf[t.sym_buf+t.sym_next++]=a,0===e?t.dyn_ltree[2*a]++:(t.matches++,e--,t.dyn_ltree[2*(l[a]+256+1)]++,t.dyn_dtree[2*m(e)]++),t.sym_next===t.sym_end),_tr_align:t=>{g(t,2,3),p(t,256,s),(t=>{16===t.bi_valid?(b(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):t.bi_valid>=8&&(t.pending_buf[t.pending++]=255&t.bi_buf,t.bi_buf>>=8,t.bi_valid-=8)})(t)}};var F=(t,e,a,i)=>{let n=65535&t|0,s=t>>>16&65535|0,r=0;for(;0!==a;){r=a>2e3?2e3:a,a-=r;do{n=n+e[i++]|0,s=s+n|0}while(--r);n%=65521,s%=65521}return n|s<<16|0};const L=new Uint32Array((()=>{let t,e=[];for(var a=0;a<256;a++){t=a;for(var i=0;i<8;i++)t=1&t?3988292384^t>>>1:t>>>1;e[a]=t}return e})());var N=(t,e,a,i)=>{const n=L,s=i+a;t^=-1;for(let a=i;a<s;a++)t=t>>>8^n[255&(t^e[a])];return-1^t},I={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},B={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8};const{_tr_init:C,_tr_stored_block:H,_tr_flush_block:M,_tr_tally:j,_tr_align:K}=O,{Z_NO_FLUSH:P,Z_PARTIAL_FLUSH:Y,Z_FULL_FLUSH:G,Z_FINISH:X,Z_BLOCK:W,Z_OK:q,Z_STREAM_END:J,Z_STREAM_ERROR:Q,Z_DATA_ERROR:V,Z_BUF_ER
vendor: 10,438 bytes, line 9
9ROR:$,Z_DEFAULT_COMPRESSION:tt,Z_FILTERED:et,Z_HUFFMAN_ONLY:at,Z_RLE:it,Z_FIXED:nt,Z_DEFAULT_STRATEGY:st,Z_UNKNOWN:rt,Z_DEFLATED:ot}=B,lt=(t,e)=>(t.msg=I[e],e),ht=t=>2*t-(t>4?9:0),dt=t=>{let e=t.length;for(;--e>=0;)t[e]=0},_t=t=>{let e,a,i,n=t.w_size;e=t.hash_size,i=e;do{a=t.head[--i],t.head[i]=a>=n?a-n:0}while(--e);e=n,i=e;do{a=t.prev[--i],t.prev[i]=a>=n?a-n:0}while(--e)};let ft=(t,e,a)=>(e<<t.hash_shift^a)&t.hash_mask;const ct=t=>{const e=t.state;let a=e.pending;a>t.avail_out&&(a=t.avail_out),0!==a&&(t.output.set(e.pending_buf.subarray(e.pending_out,e.pending_out+a),t.next_out),t.next_out+=a,e.pending_out+=a,t.total_out+=a,t.avail_out-=a,e.pending-=a,0===e.pending&&(e.pending_out=0))},ut=(t,e)=>{M(t,t.block_start>=0?t.block_start:-1,t.strstart-t.block_start,e),t.block_start=t.strstart,ct(t.strm)},wt=(t,e)=>{t.pending_buf[t.pending++]=e},mt=(t,e)=>{t.pending_buf[t.pending++]=e>>>8&255,t.pending_buf[t.pending++]=255&e},bt=(t,e,a,i)=>{let n=t.avail_in;return n>i&&(n=i),0===n?0:(t.avail_in-=n,e.set(t.input.subarray(t.next_in,t.next_in+n),a),1===t.state.wrap?t.adler=F(t.adler,e,n,a):2===t.state.wrap&&(t.adler=N(t.adler,e,n,a)),t.next_in+=n,t.total_in+=n,n)},gt=(t,e)=>{let a,i,n=t.max_chain_length,s=t.strstart,r=t.prev_length,o=t.nice_match;const l=t.strstart>t.w_size-262?t.strstart-(t.w_size-262):0,h=t.window,d=t.w_mask,_=t.prev,f=t.strstart+258;let c=h[s+r-1],u=h[s+r];t.prev_length>=t.good_match&&(n>>=2),o>t.lookahead&&(o=t.lookahead);do{if(a=e,h[a+r]===u&&h[a+r-1]===c&&h[a]===h[s]&&h[++a]===h[s+1]){s+=2,a++;do{}while(h[++s]===h[++a]&&h[++s]===h[++a]&&h[++s]===h[++a]&&h[++s]===h[++a]&&h[++s]===h[++a]&&h[++s]===h[++a]&&h[++s]===h[++a]&&h[++s]===h[++a]&&s<f);if(i=258-(f-s),s=f-258,i>r){if(t.match_start=e,r=i,i>=o)break;c=h[s+r-1],u=h[s+r]}}}while((e=_[e&d])>l&&0!=--n);return r<=t.lookahead?r:t.lookahead},pt=t=>{const e=t.w_size;let a,i,n;do{if(i=t.window_size-t.lookahead-t.strstart,t.strstart>=e+(e-262)&&(t.window.set(t.window.subarray(e,e+e-i),0),t.match_start-=e,t.strstart-=e,t.block_start-=e,t.insert>t.strstart&&(t.insert=t.strstart),_t(t),i+=e),0===t.strm.avail_in)break;if(a=bt(t.strm,t.window,t.strstart+t.lookahead,i),t.lookahead+=a,t.lookahead+t.insert>=3)for(n=t.strstart-t.insert,t.ins_h=t.window[n],t.ins_h=ft(t,t.ins_h,t.window[n+1]);t.insert&&(t.ins_h=ft(t,t.ins_h,t.window[n+3-1]),t.prev[n&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=n,n++,t.insert--,!(t.lookahead+t.insert<3)););}while(t.lookahead<262&&0!==t.strm.avail_in)},kt=(t,e)=>{let a,i,n,s=t.pending_buf_size-5>t.w_size?t.w_size:t.pending_buf_size-5,r=0,o=t.strm.avail_in;do{if(a=65535,n=t.bi_valid+42>>3,t.strm.avail_out<n)break;if(n=t.strm.avail_out-n,i=t.strstart-t.block_start,a>i+t.strm.avail_in&&(a=i+t.strm.avail_in),a>n&&(a=n),a<s&&(0===a&&e!==X||e===P||a!==i+t.strm.avail_in))break;r=e===X&&a===i+t.strm.avail_in?1:0,H(t,0,0,r),t.pending_buf[t.pending-4]=a,t.pending_buf[t.pending-3]=a>>8,t.pending_buf[t.pending-2]=~a,t.pending_buf[t.pending-1]=~a>>8,ct(t.strm),i&&(i>a&&(i=a),t.strm.output.set(t.window.subarray(t.block_start,t.block_start+i),t.strm.next_out),t.strm.next_out+=i,t.strm.avail_out-=i,t.strm.total_out+=i,t.block_start+=i,a-=i),a&&(bt(t.strm,t.strm.output,t.strm.next_out,a),t.strm.next_out+=a,t.strm.avail_out-=a,t.strm.total_out+=a)}while(0===r);return o-=t.strm.avail_in,o&&(o>=t.w_size?(t.matches=2,t.window.set(t.strm.input.subarray(t.strm.next_in-t.w_size,t.strm.next_in),0),t.strstart=t.w_size,t.insert=t.strstart):(t.window_size-t.strstart<=o&&(t.strstart-=t.w_size,t.window.set(t.window.subarray(t.w_size,t.w_size+t.strstart),0),t.matches<2&&t.matches++,t.insert>t.strstart&&(t.insert=t.strstart)),t.window.set(t.strm.input.subarray(t.strm.next_in-o,t.strm.next_in),t.strstart),t.strstart+=o,t.insert+=o>t.w_size-t.insert?t.w_size-t.insert:o),t.block_start=t.strstart),t.high_water<t.strstart&&(t.high_water=t.strstart),r?4:e!==P&&e!==X&&0===t.strm.avail_in&&t.strstart===t.block_start?2:(n=t.window_size-t.strstart,t.strm.avail_in>n&&t.block_start>=t.w_size&&(t.block_start-=t.w_size,t.strstart-=t.w_size,t.window.set(t.window.subarray(t.w_size,t.w_size+t.strstart),0),t.matches<2&&t.matches++,n+=t.w_size,t.insert>t.strstart&&(t.insert=t.strstart)),n>t.strm.avail_in&&(n=t.strm.avail_in),n&&(bt(t.strm,t.window,t.strstart,n),t.strstart+=n,t.insert+=n>t.w_size-t.insert?t.w_size-t.insert:n),t.high_water<t.strstart&&(t.high_water=t.strstart),n=t.bi_valid+42>>3,n=t.pending_buf_size-n>65535?65535:t.pending_buf_size-n,s=n>t.w_size?t.w_size:n,i=t.strstart-t.block_start,(i>=s||(i||e===X)&&e!==P&&0===t.strm.avail_in&&i<=n)&&(a=i>n?n:i,r=e===X&&0===t.strm.avail_in&&a===i?1:0,H(t,t.block_start,a,r),t.block_start+=a,ct(t.strm)),r?3:1)},vt=(t,e)=>{let a,i;for(;;){if(t.lookahead<262){if(pt(t),t.lookahead<262&&e===P)return 1;if(0===t.lookahead)break}if(a=0,t.lookahead>=3&&(t.ins_h=ft(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),0!==a&&t.strstart-a<=t.w_size-262&&(t.match_length=gt(t,a)),t.match_length>=3)if(i=j(t,t.strstart-t.match_start,t.match_length-3),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=3){t.match_length--;do{t.strstart++,t.ins_h=ft(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart}while(0!=--t.match_length);t.strstart++}else t.strstart+=t.match_length,t.match_length=0,t.ins_h=t.window[t.strstart],t.ins_h=ft(t,t.ins_h,t.window[t.strstart+1]);else i=j(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++;if(i&&(ut(t,!1),0===t.strm.avail_out))return 1}return t.insert=t.strstart<2?t.strstart:2,e===X?(ut(t,!0),0===t.strm.avail_out?3:4):t.sym_next&&(ut(t,!1),0===t.strm.avail_out)?1:2},yt=(t,e)=>{let a,i,n;for(;;){if(t.lookahead<262){if(pt(t),t.lookahead<262&&e===P)return 1;if(0===t.lookahead)break}if(a=0,t.lookahead>=3&&(t.ins_h=ft(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),t.prev_length=t.match_length,t.prev_match=t.match_start,t.match_length=2,0!==a&&t.prev_length<t.max_lazy_match&&t.strstart-a<=t.w_size-262&&(t.match_length=gt(t,a),t.match_length<=5&&(t.strategy===et||3===t.match_length&&t.strstart-t.match_start>4096)&&(t.match_length=2)),t.prev_length>=3&&t.match_length<=t.prev_length){n=t.strstart+t.lookahead-3,i=j(t,t.strstart-1-t.prev_match,t.prev_length-3),t.lookahead-=t.prev_length-1,t.prev_length-=2;do{++t.strstart<=n&&(t.ins_h=ft(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart)}while(0!=--t.prev_length);if(t.match_available=0,t.match_length=2,t.strstart++,i&&(ut(t,!1),0===t.strm.avail_out))return 1}else if(t.match_available){if(i=j(t,0,t.window[t.strstart-1]),i&&ut(t,!1),t.strstart++,t.lookahead--,0===t.strm.avail_out)return 1}else t.match_available=1,t.strstart++,t.lookahead--}return t.match_available&&(i=j(t,0,t.window[t.strstart-1]),t.match_available=0),t.insert=t.strstart<2?t.strstart:2,e===X?(ut(t,!0),0===t.strm.avail_out?3:4):t.sym_next&&(ut(t,!1),0===t.strm.avail_out)?1:2};function xt(t,e,a,i,n){this.good_length=t,this.max_lazy=e,this.nice_length=a,this.max_chain=i,this.func=n}const zt=[new xt(0,0,0,0,kt),new xt(4,4,8,4,vt),new xt(4,5,16,8,vt),new xt(4,6,32,32,vt),new xt(4,4,16,16,yt),new xt(8,16,32,32,yt),new xt(8,16,128,128,yt),new xt(8,32,128,256,yt),new xt(32,128,258,1024,yt),new xt(32,258,258,4096,yt)];function At(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=ot,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Uint16Array(1146),this.dyn_dtree=new Uint16Array(122),this.bl_tree=new Uint16Array(78),dt(this.dyn_ltree),dt(this.dyn_dtree),dt(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(16),this.heap=new Uint16Array(573),dt(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(573),dt(this.depth),this.sym_buf=0,this.lit_bufsize=0,this.sym_next=0,this.sym_end=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}const Et=t=>{if(!t)return 1;const e=t.state;return!e||e.strm!==t||42!==e.status&&57!==e.status&&69!==e.status&&73!==e.status&&91!==e.status&&103!==e.status&&113!==e.status&&666!==e.status?1:0},Rt=t=>{if(Et(t))return lt(t,Q);t.total_in=t.total_out=0,t.data_type=rt;const e=t.state;return e.pending=0,e.pending_out=0,e.wrap<0&&(e.wrap=-e.wrap),e.status=2===e.wrap?57:e.wrap?42:113,t.adler=2===e.wrap?0:1,e.last_flush=-2,C(e),q},Zt=t=>{const e=Rt(t);var a;return e===q&&((a=t.state).window_size=2*a.w_size,dt(a.head),a.max_lazy_match=zt[a.level].max_lazy,a.good_match=zt[a.level].good_length,a.nice_match=zt[a.level].nice_length,a.max_chain_length=zt[a.level].max_chain,a.strstart=0,a.block_start=0,a.lookahead=0,a.insert=0,a.match_length=a.prev_length=2,a.match_available=0,a.ins_h=0),e},Ut=(t,e,a,i,n,s)=>{if(!t)return Q;let r=1;if(e===tt&&(e=6),i<0?(r=0,i=-i):i>15&&(r=2,i-=16),n<1||n>9||a!==ot||i<8||i>15||e<0||e>9||s<0||s>nt||8===i&&1!==r)return lt(t,Q);8===i&&(i=9);const o=new At;return t.state=o,o.strm=t,o.status=42,o.wrap=r,o.gzhead=null,o.w_bits=i,o.w_size=1<<o.w_bits,o.w_mask=o.w_size-1,o.hash_bits=n+7,o.hash_size=1<<o.hash_bits,o.hash_mask=o.hash_size-1,o.hash_shift=~~((o.hash_bits+3-1)/3),o.window=new Uint8Array(2*o.w_size),o.head=new Uint16Array(o.hash_size),o.prev=new Uint16Array(o.w_size),o.lit_bufsize=1<<n+6,o.pending_buf_size=4*o.lit_bufsize,o.pending_buf=new Uint8Array(o.pending_buf_size),o.sym_buf=o.lit_bufsize,o.sym_end=3*(o.lit_bufsize-1),o.level=e,o.strategy=s,o.method=a,Zt(t)};var St={deflateInit:(t,e)=>Ut(t,e,ot,15,8,st),deflateInit2:Ut,deflateReset:Zt,deflateResetKeep:Rt,deflateSetHeader:(t,e)=>Et(t)||2!==t.state.wrap?Q:(t.state.gzhead=e,q),deflate:(t,e)=>{if(Et(t)||e>W||e<0)return t?lt(t,Q):Q;const a=t.state;if(!t.output||0!==t.avail_in&&!t.input||666===a.status&&e!==X)return lt(t,0===t.avail_out?$:Q);const i=a.last_flush;
vendor: 4,728 bytes, line 9
9if(a.last_flush=e,0!==a.pending){if(ct(t),0===t.avail_out)return a.last_flush=-1,q}else if(0===t.avail_in&&ht(e)<=ht(i)&&e!==X)return lt(t,$);if(666===a.status&&0!==t.avail_in)return lt(t,$);if(42===a.status&&0===a.wrap&&(a.status=113),42===a.status){let e=ot+(a.w_bits-8<<4)<<8,i=-1;if(i=a.strategy>=at||a.level<2?0:a.level<6?1:6===a.level?2:3,e|=i<<6,0!==a.strstart&&(e|=32),e+=31-e%31,mt(a,e),0!==a.strstart&&(mt(a,t.adler>>>16),mt(a,65535&t.adler)),t.adler=1,a.status=113,ct(t),0!==a.pending)return a.last_flush=-1,q}if(57===a.status)if(t.adler=0,wt(a,31),wt(a,139),wt(a,8),a.gzhead)wt(a,(a.gzhead.text?1:0)+(a.gzhead.hcrc?2:0)+(a.gzhead.extra?4:0)+(a.gzhead.name?8:0)+(a.gzhead.comment?16:0)),wt(a,255&a.gzhead.time),wt(a,a.gzhead.time>>8&255),wt(a,a.gzhead.time>>16&255),wt(a,a.gzhead.time>>24&255),wt(a,9===a.level?2:a.strategy>=at||a.level<2?4:0),wt(a,255&a.gzhead.os),a.gzhead.extra&&a.gzhead.extra.length&&(wt(a,255&a.gzhead.extra.length),wt(a,a.gzhead.extra.length>>8&255)),a.gzhead.hcrc&&(t.adler=N(t.adler,a.pending_buf,a.pending,0)),a.gzindex=0,a.status=69;else if(wt(a,0),wt(a,0),wt(a,0),wt(a,0),wt(a,0),wt(a,9===a.level?2:a.strategy>=at||a.level<2?4:0),wt(a,3),a.status=113,ct(t),0!==a.pending)return a.last_flush=-1,q;if(69===a.status){if(a.gzhead.extra){let e=a.pending,i=(65535&a.gzhead.extra.length)-a.gzindex;for(;a.pending+i>a.pending_buf_size;){let n=a.pending_buf_size-a.pending;if(a.pending_buf.set(a.gzhead.extra.subarray(a.gzindex,a.gzindex+n),a.pending),a.pending=a.pending_buf_size,a.gzhead.hcrc&&a.pending>e&&(t.adler=N(t.adler,a.pending_buf,a.pending-e,e)),a.gzindex+=n,ct(t),0!==a.pending)return a.last_flush=-1,q;e=0,i-=n}let n=new Uint8Array(a.gzhead.extra);a.pending_buf.set(n.subarray(a.gzindex,a.gzindex+i),a.pending),a.pending+=i,a.gzhead.hcrc&&a.pending>e&&(t.adler=N(t.adler,a.pending_buf,a.pending-e,e)),a.gzindex=0}a.status=73}if(73===a.status){if(a.gzhead.name){let e,i=a.pending;do{if(a.pending===a.pending_buf_size){if(a.gzhead.hcrc&&a.pending>i&&(t.adler=N(t.adler,a.pending_buf,a.pending-i,i)),ct(t),0!==a.pending)return a.last_flush=-1,q;i=0}e=a.gzindex<a.gzhead.name.length?255&a.gzhead.name.charCodeAt(a.gzindex++):0,wt(a,e)}while(0!==e);a.gzhead.hcrc&&a.pending>i&&(t.adler=N(t.adler,a.pending_buf,a.pending-i,i)),a.gzindex=0}a.status=91}if(91===a.status){if(a.gzhead.comment){let e,i=a.pending;do{if(a.pending===a.pending_buf_size){if(a.gzhead.hcrc&&a.pending>i&&(t.adler=N(t.adler,a.pending_buf,a.pending-i,i)),ct(t),0!==a.pending)return a.last_flush=-1,q;i=0}e=a.gzindex<a.gzhead.comment.length?255&a.gzhead.comment.charCodeAt(a.gzindex++):0,wt(a,e)}while(0!==e);a.gzhead.hcrc&&a.pending>i&&(t.adler=N(t.adler,a.pending_buf,a.pending-i,i))}a.status=103}if(103===a.status){if(a.gzhead.hcrc){if(a.pending+2>a.pending_buf_size&&(ct(t),0!==a.pending))return a.last_flush=-1,q;wt(a,255&t.adler),wt(a,t.adler>>8&255),t.adler=0}if(a.status=113,ct(t),0!==a.pending)return a.last_flush=-1,q}if(0!==t.avail_in||0!==a.lookahead||e!==P&&666!==a.status){let i=0===a.level?kt(a,e):a.strategy===at?((t,e)=>{let a;for(;;){if(0===t.lookahead&&(pt(t),0===t.lookahead)){if(e===P)return 1;break}if(t.match_length=0,a=j(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,a&&(ut(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,e===X?(ut(t,!0),0===t.strm.avail_out?3:4):t.sym_next&&(ut(t,!1),0===t.strm.avail_out)?1:2})(a,e):a.strategy===it?((t,e)=>{let a,i,n,s;const r=t.window;for(;;){if(t.lookahead<=258){if(pt(t),t.lookahead<=258&&e===P)return 1;if(0===t.lookahead)break}if(t.match_length=0,t.lookahead>=3&&t.strstart>0&&(n=t.strstart-1,i=r[n],i===r[++n]&&i===r[++n]&&i===r[++n])){s=t.strstart+258;do{}while(i===r[++n]&&i===r[++n]&&i===r[++n]&&i===r[++n]&&i===r[++n]&&i===r[++n]&&i===r[++n]&&i===r[++n]&&n<s);t.match_length=258-(s-n),t.match_length>t.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=3?(a=j(t,1,t.match_length-3),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(a=j(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),a&&(ut(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,e===X?(ut(t,!0),0===t.strm.avail_out?3:4):t.sym_next&&(ut(t,!1),0===t.strm.avail_out)?1:2})(a,e):zt[a.level].func(a,e);if(3!==i&&4!==i||(a.status=666),1===i||3===i)return 0===t.avail_out&&(a.last_flush=-1),q;if(2===i&&(e===Y?K(a):e!==W&&(H(a,0,0,!1),e===G&&(dt(a.head),0===a.lookahead&&(a.strstart=0,a.block_start=0,a.insert=0))),ct(t),0===t.avail_out))return a.last_flush=-1,q}return e!==X?q:a.wrap<=0?J:(2===a.wrap?(wt(a,255&t.adler),wt(a,t.adler>>8&255),wt(a,t.adler>>16&255),wt(a,t.adler>>24&255),wt(a,255&t.total_in),wt(a,t.total_in>>8&255),wt(a,t.total_in>>16&255),wt(a,t.total_in>>24&255)):(mt(a,t.adler>>>16),mt(a,65535&t.adler)),ct(t),a.wrap>
vendor: 4,506 bytes, line 9
90&&(a.wrap=-a.wrap),0!==a.pending?q:J)},deflateEnd:t=>{if(Et(t))return Q;const e=t.state.status;return t.state=null,113===e?lt(t,V):q},deflateSetDictionary:(t,e)=>{let a=e.length;if(Et(t))return Q;const i=t.state,n=i.wrap;if(2===n||1===n&&42!==i.status||i.lookahead)return Q;if(1===n&&(t.adler=F(t.adler,e,a,0)),i.wrap=0,a>=i.w_size){0===n&&(dt(i.head),i.strstart=0,i.block_start=0,i.insert=0);let t=new Uint8Array(i.w_size);t.set(e.subarray(a-i.w_size,a),0),e=t,a=i.w_size}const s=t.avail_in,r=t.next_in,o=t.input;for(t.avail_in=a,t.next_in=0,t.input=e,pt(i);i.lookahead>=3;){let t=i.strstart,e=i.lookahead-2;do{i.ins_h=ft(i,i.ins_h,i.window[t+3-1]),i.prev[t&i.w_mask]=i.head[i.ins_h],i.head[i.ins_h]=t,t++}while(--e);i.strstart=t,i.lookahead=2,pt(i)}return i.strstart+=i.lookahead,i.block_start=i.strstart,i.insert=i.lookahead,i.lookahead=0,i.match_length=i.prev_length=2,i.match_available=0,t.next_in=r,t.input=o,t.avail_in=s,i.wrap=n,q},deflateInfo:"pako deflate (from Nodeca project)"};const Dt=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);var Tt=function(t){const e=Array.prototype.slice.call(arguments,1);for(;e.length;){const a=e.shift();if(a){if("object"!=typeof a)throw new TypeError(a+"must be non-object");for(const e in a)Dt(a,e)&&(t[e]=a[e])}}return t},Ot=t=>{let e=0;for(let a=0,i=t.length;a<i;a++)e+=t[a].length;const a=new Uint8Array(e);for(let e=0,i=0,n=t.length;e<n;e++){let n=t[e];a.set(n,i),i+=n.length}return a};let Ft=!0;try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(t){Ft=!1}const Lt=new Uint8Array(256);for(let t=0;t<256;t++)Lt[t]=t>=252?6:t>=248?5:t>=240?4:t>=224?3:t>=192?2:1;Lt[254]=Lt[254]=1;var Nt=t=>{if("function"==typeof TextEncoder&&TextEncoder.prototype.encode)return(new TextEncoder).encode(t);let e,a,i,n,s,r=t.length,o=0;for(n=0;n<r;n++)a=t.charCodeAt(n),55296==(64512&a)&&n+1<r&&(i=t.charCodeAt(n+1),56320==(64512&i)&&(a=65536+(a-55296<<10)+(i-56320),n++)),o+=a<128?1:a<2048?2:a<65536?3:4;for(e=new Uint8Array(o),s=0,n=0;s<o;n++)a=t.charCodeAt(n),55296==(64512&a)&&n+1<r&&(i=t.charCodeAt(n+1),56320==(64512&i)&&(a=65536+(a-55296<<10)+(i-56320),n++)),a<128?e[s++]=a:a<2048?(e[s++]=192|a>>>6,e[s++]=128|63&a):a<65536?(e[s++]=224|a>>>12,e[s++]=128|a>>>6&63,e[s++]=128|63&a):(e[s++]=240|a>>>18,e[s++]=128|a>>>12&63,e[s++]=128|a>>>6&63,e[s++]=128|63&a);return e},It=(t,e)=>{const a=e||t.length;if("function"==typeof TextDecoder&&TextDecoder.prototype.decode)return(new TextDecoder).decode(t.subarray(0,e));let i,n;const s=new Array(2*a);for(n=0,i=0;i<a;){let e=t[i++];if(e<128){s[n++]=e;continue}let r=Lt[e];if(r>4)s[n++]=65533,i+=r-1;else{for(e&=2===r?31:3===r?15:7;r>1&&i<a;)e=e<<6|63&t[i++],r--;r>1?s[n++]=65533:e<65536?s[n++]=e:(e-=65536,s[n++]=55296|e>>10&1023,s[n++]=56320|1023&e)}}return((t,e)=>{if(e<65534&&t.subarray&&Ft)return String.fromCharCode.apply(null,t.length===e?t:t.subarray(0,e));let a="";for(let i=0;i<e;i++)a+=String.fromCharCode(t[i]);return a})(s,n)},Bt=(t,e)=>{(e=e||t.length)>t.length&&(e=t.length);let a=e-1;for(;a>=0&&128==(192&t[a]);)a--;return a<0||0===a?e:a+Lt[t[a]]>e?a:e};var Ct=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0};const Ht=Object.prototype.toString,{Z_NO_FLUSH:Mt,Z_SYNC_FLUSH:jt,Z_FULL_FLUSH:Kt,Z_FINISH:Pt,Z_OK:Yt,Z_STREAM_END:Gt,Z_DEFAULT_COMPRESSION:Xt,Z_DEFAULT_STRATEGY:Wt,Z_DEFLATED:qt}=B;function Jt(t){this.options=Tt({level:Xt,method:qt,chunkSize:16384,windowBits:15,memLevel:8,strategy:Wt},t||{});let e=this.options;e.raw&&e.windowBits>0?e.windowBits=-e.windowBits:e.gzip&&e.windowBits>0&&e.windowBits<16&&(e.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Ct,this.strm.avail_out=0;let a=St.deflateInit2(this.strm,e.level,e.method,e.windowBits,e.memLevel,e.strategy);if(a!==Yt)throw new Error(I[a]);if(e.header&&St.deflateSetHeader(this.strm,e.header),e.dictionary){let t;if(t="string"==typeof e.dictionary?Nt(e.dictionary):"[object ArrayBuffer]"===Ht.call(e.dictionary)?new Uint8Array(e.dictionary):e.dictionary,a=St.deflateSetDictionary(this.strm,t),a!==Yt)throw new Error(I[a]);this._dict_set=!0}}function Qt(t,e){const a=new Jt(e);if(a.push(t,!0),a.err)throw a.msg||I[a.err];return a.result}Jt.prototype.push=function(t,e){const a=this.strm,i=this.options.chunkSize;let n,s;if(this.ended)return!1;for(s=e===~~e?e:!0===e?Pt:Mt,"string"==typeof t?a.input=Nt(t):"[object ArrayBuffer]"===Ht.call(t)?a.input=new 
vendor: 5,942 bytes, line 9
9Uint8Array(t):a.input=t,a.next_in=0,a.avail_in=a.input.length;;)if(0===a.avail_out&&(a.output=new Uint8Array(i),a.next_out=0,a.avail_out=i),(s===jt||s===Kt)&&a.avail_out<=6)this.onData(a.output.subarray(0,a.next_out)),a.avail_out=0;else{if(n=St.deflate(a,s),n===Gt)return a.next_out>0&&this.onData(a.output.subarray(0,a.next_out)),n=St.deflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===Yt;if(0!==a.avail_out){if(s>0&&a.next_out>0)this.onData(a.output.subarray(0,a.next_out)),a.avail_out=0;else if(0===a.avail_in)break}else this.onData(a.output)}return!0},Jt.prototype.onData=function(t){this.chunks.push(t)},Jt.prototype.onEnd=function(t){t===Yt&&(this.result=Ot(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg};var Vt={Deflate:Jt,deflate:Qt,deflateRaw:function(t,e){return(e=e||{}).raw=!0,Qt(t,e)},gzip:function(t,e){return(e=e||{}).gzip=!0,Qt(t,e)},constants:B};var $t=function(t,e){let a,i,n,s,r,o,l,h,d,_,f,c,u,w,m,b,g,p,k,v,y,x,z,A;const E=t.state;a=t.next_in,z=t.input,i=a+(t.avail_in-5),n=t.next_out,A=t.output,s=n-(e-t.avail_out),r=n+(t.avail_out-257),o=E.dmax,l=E.wsize,h=E.whave,d=E.wnext,_=E.window,f=E.hold,c=E.bits,u=E.lencode,w=E.distcode,m=(1<<E.lenbits)-1,b=(1<<E.distbits)-1;t:do{c<15&&(f+=z[a++]<<c,c+=8,f+=z[a++]<<c,c+=8),g=u[f&m];e:for(;;){if(p=g>>>24,f>>>=p,c-=p,p=g>>>16&255,0===p)A[n++]=65535&g;else{if(!(16&p)){if(0==(64&p)){g=u[(65535&g)+(f&(1<<p)-1)];continue e}if(32&p){E.mode=16191;break t}t.msg="invalid literal/length code",E.mode=16209;break t}k=65535&g,p&=15,p&&(c<p&&(f+=z[a++]<<c,c+=8),k+=f&(1<<p)-1,f>>>=p,c-=p),c<15&&(f+=z[a++]<<c,c+=8,f+=z[a++]<<c,c+=8),g=w[f&b];a:for(;;){if(p=g>>>24,f>>>=p,c-=p,p=g>>>16&255,!(16&p)){if(0==(64&p)){g=w[(65535&g)+(f&(1<<p)-1)];continue a}t.msg="invalid distance code",E.mode=16209;break t}if(v=65535&g,p&=15,c<p&&(f+=z[a++]<<c,c+=8,c<p&&(f+=z[a++]<<c,c+=8)),v+=f&(1<<p)-1,v>o){t.msg="invalid distance too far back",E.mode=16209;break t}if(f>>>=p,c-=p,p=n-s,v>p){if(p=v-p,p>h&&E.sane){t.msg="invalid distance too far back",E.mode=16209;break t}if(y=0,x=_,0===d){if(y+=l-p,p<k){k-=p;do{A[n++]=_[y++]}while(--p);y=n-v,x=A}}else if(d<p){if(y+=l+d-p,p-=d,p<k){k-=p;do{A[n++]=_[y++]}while(--p);if(y=0,d<k){p=d,k-=p;do{A[n++]=_[y++]}while(--p);y=n-v,x=A}}}else if(y+=d-p,p<k){k-=p;do{A[n++]=_[y++]}while(--p);y=n-v,x=A}for(;k>2;)A[n++]=x[y++],A[n++]=x[y++],A[n++]=x[y++],k-=3;k&&(A[n++]=x[y++],k>1&&(A[n++]=x[y++]))}else{y=n-v;do{A[n++]=A[y++],A[n++]=A[y++],A[n++]=A[y++],k-=3}while(k>2);k&&(A[n++]=A[y++],k>1&&(A[n++]=A[y++]))}break}}break}}while(a<i&&n<r);k=c>>3,a-=k,c-=k<<3,f&=(1<<c)-1,t.next_in=a,t.next_out=n,t.avail_in=a<i?i-a+5:5-(a-i),t.avail_out=n<r?r-n+257:257-(n-r),E.hold=f,E.bits=c};const te=new Uint16Array([3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0]),ee=new Uint8Array([16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78]),ae=new Uint16Array([1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0]),ie=new Uint8Array([16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64]);var ne=(t,e,a,i,n,s,r,o)=>{const l=o.bits;let h,d,_,f,c,u,w=0,m=0,b=0,g=0,p=0,k=0,v=0,y=0,x=0,z=0,A=null;const E=new Uint16Array(16),R=new Uint16Array(16);let Z,U,S,D=null;for(w=0;w<=15;w++)E[w]=0;for(m=0;m<i;m++)E[e[a+m]]++;for(p=l,g=15;g>=1&&0===E[g];g--);if(p>g&&(p=g),0===g)return n[s++]=20971520,n[s++]=20971520,o.bits=1,0;for(b=1;b<g&&0===E[b];b++);for(p<b&&(p=b),y=1,w=1;w<=15;w++)if(y<<=1,y-=E[w],y<0)return-1;if(y>0&&(0===t||1!==g))return-1;for(R[1]=0,w=1;w<15;w++)R[w+1]=R[w]+E[w];for(m=0;m<i;m++)0!==e[a+m]&&(r[R[e[a+m]]++]=m);if(0===t?(A=D=r,u=20):1===t?(A=te,D=ee,u=257):(A=ae,D=ie,u=0),z=0,m=0,w=b,c=s,k=p,v=0,_=-1,x=1<<p,f=x-1,1===t&&x>852||2===t&&x>592)return 1;for(;;){Z=w-v,r[m]+1<u?(U=0,S=r[m]):r[m]>=u?(U=D[r[m]-u],S=A[r[m]-u]):(U=96,S=0),h=1<<w-v,d=1<<k,b=d;do{d-=h,n[c+(z>>v)+d]=Z<<24|U<<16|S|0}while(0!==d);for(h=1<<w-1;z&h;)h>>=1;if(0!==h?(z&=h-1,z+=h):z=0,m++,0==--E[w]){if(w===g)break;w=e[a+r[m]]}if(w>p&&(z&f)!==_){for(0===v&&(v=p),c+=b,k=w-v,y=1<<k;k+v<g&&(y-=E[k+v],!(y<=0));)k++,y<<=1;if(x+=1<<k,1===t&&x>852||2===t&&x>592)return 1;_=z&f,n[_]=p<<24|k<<16|c-s|0}}return 0!==z&&(n[c+z]=w-v<<24|64<<16|0),o.bits=p,0};const{Z_FINISH:se,Z_BLOCK:re,Z_TREES:oe,Z_OK:le,Z_STREAM_END:he,Z_NEED_DICT:de,Z_STREAM_ERROR:_e,Z_DATA_ERROR:fe,Z_MEM_ERROR:ce,Z_BUF_ERROR:ue,Z_DEFLATED:we}=B,me=16209,be=t=>(t>>>24&255)+(t>>>8&65280)+((65280&t)<<8)+((255&t)<<24);function ge(){this.strm=null,this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new Uint16Array(320),this.work=new Uint16Array(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}const pe=t=>{if(!t)return 1;const e=t.state;return!e||e.strm!==t||e.mode<16180||e.mode>16211?1:0},ke=t=>{if(pe(t))return _e;const e=t.state;return t.total_in=t.total_out=e.total=0,t.msg="",e.wrap&&(t.adler=1&e.wrap),e.mode=16180,e.last=0,e.havedict=0,e.flags=-1,e.dmax=32768,e.head=null,e.hold=0,e.bits=0,e.lencode=e.lendyn=new Int32Array(852),e.distcode=e.distdyn=new Int32Array(592),e.sane=1,e.back=-1,le},ve=t=>{if(pe(t))return _e;const e=t.state;return e.wsize=0,e.whave=0,e.wnext=0,ke(t)},ye=(t,e)=>{let a;if(pe(t))return _e;const i=t.state;return e<0?(a=0,e=-e):(a=5+(e>>4),e<48&&(e&=15)),e&&(e<8||e>15)?_e:(null!==i.window&&i.wbits!==e&&(i.window=null),i.wrap=a,i.wbits=e,ve(t))},xe=(t,e)=>{if(!t)return _e;const a=new ge;t.state=a,a.strm=t,a.window=null,a.mode=16180;const i=ye(t,e);return i!==le&&(t.state=null),i};let ze,Ae,Ee=!0;const Re=t=>
vendor: 11,506 bytes, line 9
9{if(Ee){ze=new Int32Array(512),Ae=new Int32Array(32);let e=0;for(;e<144;)t.lens[e++]=8;for(;e<256;)t.lens[e++]=9;for(;e<280;)t.lens[e++]=7;for(;e<288;)t.lens[e++]=8;for(ne(1,t.lens,0,288,ze,0,t.work,{bits:9}),e=0;e<32;)t.lens[e++]=5;ne(2,t.lens,0,32,Ae,0,t.work,{bits:5}),Ee=!1}t.lencode=ze,t.lenbits=9,t.distcode=Ae,t.distbits=5},Ze=(t,e,a,i)=>{let n;const s=t.state;return null===s.window&&(s.wsize=1<<s.wbits,s.wnext=0,s.whave=0,s.window=new Uint8Array(s.wsize)),i>=s.wsize?(s.window.set(e.subarray(a-s.wsize,a),0),s.wnext=0,s.whave=s.wsize):(n=s.wsize-s.wnext,n>i&&(n=i),s.window.set(e.subarray(a-i,a-i+n),s.wnext),(i-=n)?(s.window.set(e.subarray(a-i,a),0),s.wnext=i,s.whave=s.wsize):(s.wnext+=n,s.wnext===s.wsize&&(s.wnext=0),s.whave<s.wsize&&(s.whave+=n))),0};var Ue={inflateReset:ve,inflateReset2:ye,inflateResetKeep:ke,inflateInit:t=>xe(t,15),inflateInit2:xe,inflate:(t,e)=>{let a,i,n,s,r,o,l,h,d,_,f,c,u,w,m,b,g,p,k,v,y,x,z=0;const A=new Uint8Array(4);let E,R;const Z=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);if(pe(t)||!t.output||!t.input&&0!==t.avail_in)return _e;a=t.state,16191===a.mode&&(a.mode=16192),r=t.next_out,n=t.output,l=t.avail_out,s=t.next_in,i=t.input,o=t.avail_in,h=a.hold,d=a.bits,_=o,f=l,x=le;t:for(;;)switch(a.mode){case 16180:if(0===a.wrap){a.mode=16192;break}for(;d<16;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}if(2&a.wrap&&35615===h){0===a.wbits&&(a.wbits=15),a.check=0,A[0]=255&h,A[1]=h>>>8&255,a.check=N(a.check,A,2,0),h=0,d=0,a.mode=16181;break}if(a.head&&(a.head.done=!1),!(1&a.wrap)||(((255&h)<<8)+(h>>8))%31){t.msg="incorrect header check",a.mode=me;break}if((15&h)!==we){t.msg="unknown compression method",a.mode=me;break}if(h>>>=4,d-=4,y=8+(15&h),0===a.wbits&&(a.wbits=y),y>15||y>a.wbits){t.msg="invalid window size",a.mode=me;break}a.dmax=1<<a.wbits,a.flags=0,t.adler=a.check=1,a.mode=512&h?16189:16191,h=0,d=0;break;case 16181:for(;d<16;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}if(a.flags=h,(255&a.flags)!==we){t.msg="unknown compression method",a.mode=me;break}if(57344&a.flags){t.msg="unknown header flags set",a.mode=me;break}a.head&&(a.head.text=h>>8&1),512&a.flags&&4&a.wrap&&(A[0]=255&h,A[1]=h>>>8&255,a.check=N(a.check,A,2,0)),h=0,d=0,a.mode=16182;case 16182:for(;d<32;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}a.head&&(a.head.time=h),512&a.flags&&4&a.wrap&&(A[0]=255&h,A[1]=h>>>8&255,A[2]=h>>>16&255,A[3]=h>>>24&255,a.check=N(a.check,A,4,0)),h=0,d=0,a.mode=16183;case 16183:for(;d<16;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}a.head&&(a.head.xflags=255&h,a.head.os=h>>8),512&a.flags&&4&a.wrap&&(A[0]=255&h,A[1]=h>>>8&255,a.check=N(a.check,A,2,0)),h=0,d=0,a.mode=16184;case 16184:if(1024&a.flags){for(;d<16;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}a.length=h,a.head&&(a.head.extra_len=h),512&a.flags&&4&a.wrap&&(A[0]=255&h,A[1]=h>>>8&255,a.check=N(a.check,A,2,0)),h=0,d=0}else a.head&&(a.head.extra=null);a.mode=16185;case 16185:if(1024&a.flags&&(c=a.length,c>o&&(c=o),c&&(a.head&&(y=a.head.extra_len-a.length,a.head.extra||(a.head.extra=new Uint8Array(a.head.extra_len)),a.head.extra.set(i.subarray(s,s+c),y)),512&a.flags&&4&a.wrap&&(a.check=N(a.check,i,c,s)),o-=c,s+=c,a.length-=c),a.length))break t;a.length=0,a.mode=16186;case 16186:if(2048&a.flags){if(0===o)break t;c=0;do{y=i[s+c++],a.head&&y&&a.length<65536&&(a.head.name+=String.fromCharCode(y))}while(y&&c<o);if(512&a.flags&&4&a.wrap&&(a.check=N(a.check,i,c,s)),o-=c,s+=c,y)break t}else a.head&&(a.head.name=null);a.length=0,a.mode=16187;case 16187:if(4096&a.flags){if(0===o)break t;c=0;do{y=i[s+c++],a.head&&y&&a.length<65536&&(a.head.comment+=String.fromCharCode(y))}while(y&&c<o);if(512&a.flags&&4&a.wrap&&(a.check=N(a.check,i,c,s)),o-=c,s+=c,y)break t}else a.head&&(a.head.comment=null);a.mode=16188;case 16188:if(512&a.flags){for(;d<16;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}if(4&a.wrap&&h!==(65535&a.check)){t.msg="header crc mismatch",a.mode=me;break}h=0,d=0}a.head&&(a.head.hcrc=a.flags>>9&1,a.head.done=!0),t.adler=a.check=0,a.mode=16191;break;case 16189:for(;d<32;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}t.adler=a.check=be(h),h=0,d=0,a.mode=16190;case 16190:if(0===a.havedict)return t.next_out=r,t.avail_out=l,t.next_in=s,t.avail_in=o,a.hold=h,a.bits=d,de;t.adler=a.check=1,a.mode=16191;case 16191:if(e===re||e===oe)break t;case 16192:if(a.last){h>>>=7&d,d-=7&d,a.mode=16206;break}for(;d<3;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}switch(a.last=1&h,h>>>=1,d-=1,3&h){case 0:a.mode=16193;break;case 1:if(Re(a),a.mode=16199,e===oe){h>>>=2,d-=2;break t}break;case 2:a.mode=16196;break;case 3:t.msg="invalid block type",a.mode=me}h>>>=2,d-=2;break;case 16193:for(h>>>=7&d,d-=7&d;d<32;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}if((65535&h)!=(h>>>16^65535)){t.msg="invalid stored block lengths",a.mode=me;break}if(a.length=65535&h,h=0,d=0,a.mode=16194,e===oe)break t;case 16194:a.mode=16195;case 16195:if(c=a.length,c){if(c>o&&(c=o),c>l&&(c=l),0===c)break t;n.set(i.subarray(s,s+c),r),o-=c,s+=c,l-=c,r+=c,a.length-=c;break}a.mode=16191;break;case 16196:for(;d<14;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}if(a.nlen=257+(31&h),h>>>=5,d-=5,a.ndist=1+(31&h),h>>>=5,d-=5,a.ncode=4+(15&h),h>>>=4,d-=4,a.nlen>286||a.ndist>30){t.msg="too many length or distance symbols",a.mode=me;break}a.have=0,a.mode=16197;case 16197:for(;a.have<a.ncode;){for(;d<3;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}a.lens[Z[a.have++]]=7&h,h>>>=3,d-=3}for(;a.have<19;)a.lens[Z[a.have++]]=0;if(a.lencode=a.lendyn,a.lenbits=7,E={bits:a.lenbits},x=ne(0,a.lens,0,19,a.lencode,0,a.work,E),a.lenbits=E.bits,x){t.msg="invalid code lengths set",a.mode=me;break}a.have=0,a.mode=16198;case 16198:for(;a.have<a.nlen+a.ndist;){for(;z=a.lencode[h&(1<<a.lenbits)-1],m=z>>>24,b=z>>>16&255,g=65535&z,!(m<=d);){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}if(g<16)h>>>=m,d-=m,a.lens[a.have++]=g;else{if(16===g){for(R=m+2;d<R;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}if(h>>>=m,d-=m,0===a.have){t.msg="invalid bit length repeat",a.mode=me;break}y=a.lens[a.have-1],c=3+(3&h),h>>>=2,d-=2}else if(17===g){for(R=m+3;d<R;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}h>>>=m,d-=m,y=0,c=3+(7&h),h>>>=3,d-=3}else{for(R=m+7;d<R;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}h>>>=m,d-=m,y=0,c=11+(127&h),h>>>=7,d-=7}if(a.have+c>a.nlen+a.ndist){t.msg="invalid bit length repeat",a.mode=me;break}for(;c--;)a.lens[a.have++]=y}}if(a.mode===me)break;if(0===a.lens[256]){t.msg="invalid code -- missing end-of-block",a.mode=me;break}if(a.lenbits=9,E={bits:a.lenbits},x=ne(1,a.lens,0,a.nlen,a.lencode,0,a.work,E),a.lenbits=E.bits,x){t.msg="invalid literal/lengths set",a.mode=me;break}if(a.distbits=6,a.distcode=a.distdyn,E={bits:a.distbits},x=ne(2,a.lens,a.nlen,a.ndist,a.distcode,0,a.work,E),a.distbits=E.bits,x){t.msg="invalid distances set",a.mode=me;break}if(a.mode=16199,e===oe)break t;case 16199:a.mode=16200;case 16200:if(o>=6&&l>=258){t.next_out=r,t.avail_out=l,t.next_in=s,t.avail_in=o,a.hold=h,a.bits=d,$t(t,f),r=t.next_out,n=t.output,l=t.avail_out,s=t.next_in,i=t.input,o=t.avail_in,h=a.hold,d=a.bits,16191===a.mode&&(a.back=-1);break}for(a.back=0;z=a.lencode[h&(1<<a.lenbits)-1],m=z>>>24,b=z>>>16&255,g=65535&z,!(m<=d);){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}if(b&&0==(240&b)){for(p=m,k=b,v=g;z=a.lencode[v+((h&(1<<p+k)-1)>>p)],m=z>>>24,b=z>>>16&255,g=65535&z,!(p+m<=d);){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}h>>>=p,d-=p,a.back+=p}if(h>>>=m,d-=m,a.back+=m,a.length=g,0===b){a.mode=16205;break}if(32&b){a.back=-1,a.mode=16191;break}if(64&b){t.msg="invalid literal/length code",a.mode=me;break}a.extra=15&b,a.mode=16201;case 16201:if(a.extra){for(R=a.extra;d<R;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}a.length+=h&(1<<a.extra)-1,h>>>=a.extra,d-=a.extra,a.back+=a.extra}a.was=a.length,a.mode=16202;case 16202:for(;z=a.distcode[h&(1<<a.distbits)-1],m=z>>>24,b=z>>>16&255,g=65535&z,!(m<=d);){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}if(0==(240&b)){for(p=m,k=b,v=g;z=a.distcode[v+((h&(1<<p+k)-1)>>p)],m=z>>>24,b=z>>>16&255,g=65535&z,!(p+m<=d);){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}h>>>=p,d-=p,a.back+=p}if(h>>>=m,d-=m,a.back+=m,64&b){t.msg="invalid distance code",a.mode=me;break}a.offset=g,a.extra=15&b,a.mode=16203;case 16203:if(a.extra){for(R=a.extra;d<R;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}a.offset+=h&(1<<a.extra)-1,h>>>=a.extra,d-=a.extra,a.back+=a.extra}if(a.offset>a.dmax){t.msg="invalid distance too far back",a.mode=me;break}a.mode=16204;case 16204:if(0===l)break t;if(c=f-l,a.offset>c){if(c=a.offset-c,c>a.whave&&a.sane){t.msg="invalid distance too far back",a.mode=me;break}c>a.wnext?(c-=a.wnext,u=a.wsize-c):u=a.wnext-c,c>a.length&&(c=a.length),w=a.window}else w=n,u=r-a.offset,c=a.length;c>l&&(c=l),l-=c,a.length-=c;do{n[r++]=w[u++]}while(--c);0===a.length&&(a.mode=16200);break;case 16205:if(0===l)break t;n[r++]=a.length,l--,a.mode=16200;break;case 16206:if(a.wrap){for(;d<32;){if(0===o)break t;o--,h|=i[s++]<<d,d+=8}if(f-=l,t.total_out+=f,a.total+=f,4&a.wrap&&f&&(t.adler=a.check=a.flags?N(a.check,n,f,r-f):F(a.check,n,f,r-f)),f=l,4&a.wrap&&(a.flags?h:be(h))!==a.check){t.msg="incorrect data check",a.mode=me;break}h=0,d=0}a.mode=16207;case 16207:if(a.wrap&&a.flags){for(;d<32;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}if(4&a.wrap&&h!==(4294967295&a.total)){t.msg="incorrect length check",a.mode=me;break}h=0,d=0}a.mode=16208;case 16208:x=he;break t;case me:x=fe;break t;case 16210:return ce;default:return _e}return t.next_out=r,t.avail_out=l,t.next_in=s,t.avail_in=o,a.hold=h,a.bits=d,(a.wsize||f!==t.avail_out&&a.mode<me&&(a.mode<16206||e!==se))&&Ze(t,t.output,t.next_out,f-t.avail_out),_-=t.avail_in,f-=t.avail_out,t.total_in+=_,t.total_out+=f,a.total+=f,4&a.wrap&&f&&(t.adler=a.check=a.flags?N(a.check,n,f,t.next_out-f):F(a.check,n,f,t.next_out-f)),t.data_type=a.bits+(a.last?64:0)+(16191===a.mode?128:0)+(16199===a.mode||16194===a.mode?256:0),(0===_&&0===f||e===se)&&x===le&&(x=ue),x},inflateEnd:t=>{if(pe(t))return _e;let e=t.state;return e.window&&(e.window=null),t.state=null,le},inflateGetHeader:(t,e)=>{if(pe(t))return _e;const a=t.state;return 0==(2&a.wrap)?_e:(a.head=e,e.done=!1,le)},inflateSetDictionary:(t,e)=>{const a=e.length;let i,n,s;return pe(t)?_e:(i=t.state,0!==i.wrap&&16190!==i.mode?_e:16190===i.mode&&(n=1,n=F(n,e,a,0),n!==i.check)?fe:(s=Ze(t,e,a,a),s?(i.mode=16210,ce):(i.havedict=1,le)))},inflateInfo:"pako inflate (from Nodeca project)"};var Se=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1};const De=Object.prototype.toString,{Z_NO_FLUSH:Te,Z_FINISH:Oe,Z_OK:Fe,Z_STREAM_END:Le,Z_NEED_DICT:Ne,Z_STREAM_ERROR:Ie,Z_DATA_ERROR:Be,Z_MEM_ERROR:Ce}=B;function He(t){this.options=Tt({chunkSize:65536,windowBits:15,to:""},t||{});const e=this.options;e.raw&&e.windowBits>=0&&e.windowBits<16&&(e.windowBits=-e.windowBits,0===e.windowBits&&(e.windowBits=-15)),!(e.windowBits>=0&&e.windowBits<16)||t&&t.windowBits||(e.windowBits+=32),e.windowBits>15&&e.windowBits<48&&0==(15&e.windowBits)&&(e.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Ct,this.strm.avail_out=0;let a=Ue.inflateInit2(this.strm,e.windowBits);if(a!==Fe)throw new Error(I[a]);if(this.header=new Se,Ue.inflateGetHeader(this.strm,this.header),e.dictionary&&("string"==typeof e.dictionary?e.dictionary=Nt(e.dictionary):"[object ArrayBuffer]"===De.call(e.dictionary)&&(e.dictionary=new Uint8Array(e.dictionary)),e.raw&&(a=Ue.inflateSetDictionary(this.strm,e.dictionary),a!==Fe)))throw new Error(I[a])}He.prototype.push=function(t,e){const a=this.strm,i=this.options.chunkSize,n=this.options.dictionary;let s,r,o;
9if(this.ended)return!1;for(r=e===~~e?e:!0===e?Oe:Te,"[object ArrayBuffer]"===De.call(t)?a.input=new Uint8Array(t):a.input=t,a.next_in=0,a.avail_in=a.input.length;;){for(0===a.avail_out&&(a.output=new Uint8Array(i),a.next_out=0,a.avail_out=i),s=Ue.inflate(a,r),s===Ne&&n&&(s=Ue.inflateSetDictionary(a,n),s===Fe?s=Ue.inflate(a,r):s===Be&&(s=Ne));a.avail_in>0&&s===Le&&a.state.wrap>0&&0!==t[a.next_in];)Ue.inflateReset(a),s=Ue.inflate(a,r);switch(s){case Ie:case Be:case Ne:case Ce:return this.onEnd(s),this.ended=!0,!1}if(o=a.avail_out,a.next_out&&(0===a.avail_out||s===Le))if("string"===this.options.to){let t=Bt(a.output,a.next_out),e=a.next_out-t,n=It(a.output,t);a.next_out=e,a.avail_out=i-e,e&&a.output.set(a.output.subarray(t,t+e),0),this.onData(n)}else this.onData(a.output.length===a.next_out?a.output:a.output.subarray(0,a.next_out));if(s!==Fe||0!==o){if(s===Le)return s=Ue.inflateEnd(this.strm),this.onEnd(s),this.ended=!0,!0;if(0===a.avail_in)break}}return!0},He.prototype.onData=function(t){this.chunks.push(t)},He.prototype.onEnd=function(t){t===Fe&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=Ot(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg};const{Deflate:Me,deflate:je,deflateRaw:Ke,gzip:Pe}=Vt;var Ye=Me,Ge=je,Xe=B;const We=new class{constructor(){this._init()}clear(){this._init()}addEvent(t){if(!t)throw new Error("Adding invalid event");const e=this._hasEvents?",":"";this.deflate.push(e+t,Xe.Z_SYNC_FLUSH),this._hasEvents=!0}finish(){if(this.deflate.push("]",Xe.Z_FINISH),this.deflate.err)throw this.deflate.err;const t=this.deflate.result;return this._init(),t}_init(){this._hasEvents=!1,this.deflate=new Ye,this.deflate.push("[",Xe.Z_NO_FLUSH)}},qe={clear:()=>{We.clear()},addEvent:t=>We.addEvent(t),finish:()=>We.finish(),compress:t=>function(t){return Ge(t)}(t)};addEventListener("message",(function(t){const e=t.data.method,a=t.data.id,i=t.data.arg;if(e in qe&&"function"==typeof qe[e])try{const t=qe[e](i);postMessage({id:a,method:e,success:!0,response:t})}catch(t){postMessage({id:a,method:e,success:!1,response:t.message}),console.error(t)}})),postMessage({id:void 0,method:"init",success:!0,response:void 0});';function Rt(e,t){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&(f.logger.info(e),t&&At(e))}function Nt(e,t){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&(f.logger.info(e),t&&setTimeout((()=>{At(e)}),0))}function At(e){(0,r.getCurrentHub)().addBreadcrumb({category:"console",data:{logger:"replay"},level:"info",message:e},{level:"info"})}class It extends Error{constructor(){super("Event buffer exceeded maximum size of 20000000.")}}class Dt{constructor(){this.events=[],this._totalSize=0,this.hasCheckout=!1}get hasEvents(){return this.events.length>0}get type(){return"sync"}destroy(){this.events=[]}async addEvent(e){const t=JSON.stringify(e).length;if(this._totalSize+=t,this._totalSize>T)throw new It;this.events.push(e)}finish(){return new Promise((e=>{const t=this.events;this.clear(),e(JSON.stringify(t))}))}clear(){this.events=[],this._totalSize=0,this.hasCheckout=!1}getEarliestTimestamp(){const e=this.events.map((e=>e.timestamp)).sort()[0];return e?st(e):null}}class Ct{constructor(e){this._worker=e,this._id=0}ensureReady(){return this._ensureReadyPromise||(this._ensureReadyPromise=new Promise(((e,t)=>{this._worker.addEventListener("message",(({data:n})=>{n.success?e():t()}),{once:!0}),this._worker.addEventListener("error",(e=>{t(e)}),{once:!0})}))),this._ensureReadyPromise}destroy(){Rt("[Replay] Destroying compression worker"),this._worker.terminate()}postMessage(e,t){const n=this._getAndIncrementId();return new Promise(((r,i)=>{const o=({data:t})=>{const a=t;if(a.method===e&&a.id===n){if(this._worker.removeEventListener("message",o),!a.success)return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&f.logger.error("[Replay]",a.response),void i(new Error("Error in compression worker"));r(a.response)}};this._worker.addEventListener("message",o),this._worker.postMessage({id:n,method:e,arg:t})}))}_getAndIncrementId(){return this._id++}}
9class Pt{constructor(e){this._worker=new Ct(e),this._earliestTimestamp=null,this._totalSize=0,this.hasCheckout=!1}get hasEvents(){return!!this._earliestTimestamp}get type(){return"worker"}ensureReady(){return this._worker.ensureReady()}destroy(){this._worker.destroy()}addEvent(e){const t=st(e.timestamp);(!this._earliestTimestamp||t<this._earliestTimestamp)&&(this._earliestTimestamp=t);const n=JSON.stringify(e);return this._totalSize+=n.length,this._totalSize>T?Promise.reject(new It):this._sendEventToWorker(n)}finish(){return this._finishRequest()}clear(){this._earliestTimestamp=null,this._totalSize=0,this.hasCheckout=!1,this._worker.postMessage("clear")}getEarliestTimestamp(){return this._earliestTimestamp}_sendEventToWorker(e){return this._worker.postMessage("addEvent",e)}async _finishRequest(){const e=await this._worker.postMessage("finish");return this._earliestTimestamp=null,this._totalSize=0,e}}class Lt{constructor(e){this._fallback=new Dt,this._compression=new Pt(e),this._used=this._fallback,this._ensureWorkerIsLoadedPromise=this._ensureWorkerIsLoaded()}get type(){return this._used.type}get hasEvents(){return this._used.hasEvents}get hasCheckout(){return this._used.hasCheckout}set hasCheckout(e){this._used.hasCheckout=e}destroy(){this._fallback.destroy(),this._compression.destroy()}clear(){return this._used.clear()}getEarliestTimestamp(){return this._used.getEarliestTimestamp()}addEvent(e){return this._used.addEvent(e)}async finish(){return await this.ensureWorkerIsLoaded(),this._used.finish()}ensureWorkerIsLoaded(){return this._ensureWorkerIsLoadedPromise}async _ensureWorkerIsLoaded(){try{await this._compression.ensureReady()}catch(e){return void Rt("[Replay] Failed to load the compression worker, falling back to simple buffer")}await this._switchToCompressionWorker()}async _switchToCompressionWorker(){const{events:e,hasCheckout:t}=this._fallback,n=[];for(const t of e)n.push(this._compression.addEvent(t));this._compression.hasCheckout=t,this._used=this._compression;try{await Promise.all(n)}catch(e){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&f.logger.warn("[Replay] Failed to add events when switching buffers.",e)}}}function Mt({useCompression:e}){if(e&&window.Worker)try{const e=function(){const e=new Blob([kt]);return URL.createObjectURL(e)}();Rt("[Replay] Using compression worker");const t=new Worker(e);return new Lt(t)}catch(e){Rt("[Replay] Failed to create compression worker")}return Rt("[Replay] Using simple buffer"),new Dt}function jt(){try{return"sessionStorage"in v&&!!v.sessionStorage}catch(e){return!1}}function Ft(e){!function(){if(!jt())return;try{v.sessionStorage.removeItem(b)}catch(e){}}(),e.session=void 0}function Ut(e){return void 0!==e&&Math.random()<e}function Bt(e){if(jt())try{v.sessionStorage.setItem(b,JSON.stringify(e))}catch(e){}}function qt(e){const t=Date.now();return{id:e.id||(0,p.uuid4)(),started:e.started||t,lastActivity:e.lastActivity||t,segmentId:e.segmentId||0,sampled:e.sampled,previousSessionId:e.previousSessionId}}function Gt({sessionSampleRate:e,allowBuffering:t,stickySession:n=!1},{previousSessionId:r}={}){const i=function(e,t){return Ut(e)?"session":!!t&&"buffer"}(e,t),o=qt({sampled:i,previousSessionId:r});return n&&Bt(o),o}function Vt(e,t,n=+new Date){return null===e||void 0===t||t<0||0!==t&&e+t<=n}function Ht(e,{maxReplayDuration:t,sessionIdleExpire:n,targetTime:r=Date.now()}){return Vt(e.started,t,r)||Vt(e.lastActivity,n,r)}function zt(e,{sessionIdleExpire:t,maxReplayDuration:n}){return!!Ht(e,{sessionIdleExpire:t,maxReplayDuration:n})&&("buffer"!==e.sampled||0!==e.segmentId)}function $t({traceInternals:e,sessionIdleExpire:t,maxReplayDuration:n,previousSessionId:r},i){const o=i.stickySession&&function(e){if(!jt())return null;try{const t=v.sessionStorage.getItem(b);if(!t)return null;const n=JSON.parse(t);return Nt("[Replay] Loading existing session",e),qt(n)}catch(e){return null}}(e);return o?zt(o,{sessionIdleExpire:t,maxReplayDuration:n})?(Nt("[Replay] Session in sessionStorage is expired, creating new one..."),Gt(i,{previousSessionId:o.id})):o:(Nt("[Replay] Creating new session",e),Gt(i,{previousSessionId:r}))}function Kt(e,t,n){return!!Wt(e,t)&&(Yt(e,t,n),!0)}async function Yt(e,t,n){if(!e.eventBuffer)return null;try{n&&"buffer"===e.recordingMode&&e.eventBuffer.clear(),n&&(e.eventBuffer.hasCheckout=!0);const r=function(e,t){try{if("function"==typeof t&&function(e){return e.type===ne.Custom}(e))return t(e)}catch(e){return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&f.logger.error("[Replay] An error occured in the `beforeAddRecordingEvent` callback, skipping the event...",e),null}return e}(t,e.getOptions().beforeAddRecordingEvent);if(!r)return;return await e.eventBuffer.addEvent(r)}catch(t){const n=t&&t instanceof It?"addEventSizeExceeded":"addEvent";("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&f.logger.error(t),await e.stop({reason:n});const i=(0,r.getCurrentHub)().getClient();i&&i.recordDroppedEvent("internal_sdk_error","replay")}}
9function Wt(e,t){if(!e.eventBuffer||e.isPaused()||!e.isEnabled())return!1;const n=st(t.timestamp);return!(n+e.timeouts.sessionIdlePause<Date.now())&&(!(n>e.getContext().initialTimestamp+e.getOptions().maxReplayDuration)||(Rt(`[Replay] Skipping event with timestamp ${n} because it is after maxReplayDuration`,e.getOptions()._experiments.traceInternals),!1))}function Qt(e){return!e.type}function Xt(e){return"transaction"===e.type}function Jt(e){const t=function(){const e=(0,r.getCurrentHub)().getClient();if(!e)return!1;const t=e.getTransport();if(!t)return!1;return t.send.__sentry__baseTransport__||!1}();return(n,r)=>{if(!e.isEnabled()||!Qt(n)&&!Xt(n))return;const i=r&&r.statusCode;t&&(!i||i<200||i>=300)||(Xt(n)?function(e,t){const n=e.getContext();t.contexts&&t.contexts.trace&&t.contexts.trace.trace_id&&n.traceIds.size<100&&n.traceIds.add(t.contexts.trace.trace_id)}(e,n):function(e,t){const n=e.getContext();t.event_id&&n.errorIds.size<100&&n.errorIds.add(t.event_id);"buffer"===e.recordingMode&&t.tags&&t.tags.replayId&&setTimeout((()=>{e.sendBufferedReplayOrFlush()}))}(e,n))}}function Zt(e,t=!1){const n=t?Jt(e):void 0;return(t,r)=>{if(!e.isEnabled())return t;if(function(e){return"replay_event"===e.type}(t))return delete t.breadcrumbs,t;if(!Qt(t)&&!Xt(t))return t;if(function(e,t){return!(e.type||!e.exception||!e.exception.values||!e.exception.values.length)&&(!(!t.originalException||!t.originalException.__rrweb__)||e.exception.values.some((e=>!!(e.stacktrace&&e.stacktrace.frames&&e.stacktrace.frames.length)&&e.stacktrace.frames.some((e=>e.filename&&e.filename.includes("/rrweb/src/"))))))}(t,r)&&!e.getOptions()._experiments.captureExceptions)return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&f.logger.log("[Replay] Ignoring error from rrweb internals",t),null;const i=function(e,t){return"buffer"===e.recordingMode&&t.message!==E&&!(!t.exception||t.type)&&Ut(e.getOptions().errorSampleRate)}(e,t);return(i||"session"===e.recordingMode)&&(t.tags={...t.tags,replayId:e.getSessionId()}),n&&n(t,{statusCode:200}),t}}function en(e,t){return t.map((({type:t,start:n,end:r,name:i,data:o})=>{const a=e.throttledAddEvent({type:ne.Custom,timestamp:n,data:{tag:"performanceSpan",payload:{op:t,description:i,startTimestamp:n,endTimestamp:r,data:o}}});return"string"==typeof a?Promise.resolve(null):a}))}function tn(e){return t=>{if(!e.isEnabled())return;const n=function(e){const{from:t,to:n}=e,r=Date.now()/1e3;return{type:"navigation.push",start:r,end:r,name:n,data:{previous:t}}}(t);null!==n&&(e.getContext().urls.push(n.name),e.triggerUserActivity(),e.addUpdate((()=>(en(e,[n]),!1))))}}function nn(e,t){return("undefined"!=typeof __SENTRY_DEBUG__&&!__SENTRY_DEBUG__||!e.getOptions()._experiments.traceInternals)&&function(e){const t=(0,r.getCurrentHub)().getClient(),n=t&&t.getDsn();return!!n&&e.includes(n.host)}(t)}function rn(e,t){e.isEnabled()&&null!==t&&(nn(e,t.name)||e.addUpdate((()=>(en(e,[t]),!0))))}function on(e){return t=>{if(!e.isEnabled())return;const n=function(e){const{startTimestamp:t,endTimestamp:n,xhr:r}=e,i=r[d.SENTRY_XHR_DATA_KEY];if(!t||!n||!i)return null;const{method:o,url:a,status_code:s}=i;return void 0===a?null:{type:"resource.xhr",name:a,start:t/1e3,end:n/1e3,data:{method:o,statusCode:s}}}(t);rn(e,n)}}const an=10,sn=11,un=12,cn=13,ln=14,fn=15,pn=20,dn=21,hn=22,mn=23,yn=["true","false","null"];function gn(e,t){if(!t.length)return e;let n=e;const r=t.length-1;n=function(e,t){switch(t){case an:return`${e}"~~":"~~"`;case sn:return`${e}:"~~"`;case un:return`${e}~~":"~~"`;case cn:return function(e){const t=e.lastIndexOf(":"),n=e.slice(t+1);if(yn.includes(n.trim()))return`${e},"~~":"~~"`;return`${e.slice(0,t+1)}"~~"`}(e);case ln:return`${e}~~"`;case fn:return`${e},"~~":"~~"`;case pn:return`${e}"~~"`;case dn:return function(e){const t=function(e){for(let t=e.length-1;t>=0;t--){const n=e[t];if(","===n||"["===n)return t}return-1}(e);if(t>-1){const n=e.slice(t+1);return yn.includes(n.trim())?`${e},"~~"`:`${e.slice(0,t+1)}"~~"`}return e}(e);case hn:return`${e}~~"`;case mn:return`${e},"~~"`}return e}(n,t[r]);for(let e=r;e>=0;e--){switch(t[e]){case an:n=`${n}}`;break;case pn:n=`${n}]`}}return n}
9function vn(e,t,n){const r=e[e.length-1],i=t[n];if(!/\s/.test(i))if('"'!==i||bn(t,n))switch(i){case"{":!function(e,t){if(!t)return void e.push(an);if(t===cn)return void e.push(an);t===dn&&e.push(an);if(t===pn)e.push(an)}(e,r);break;case"[":!function(e,t){if(!t)return e.push(pn),void e.push(dn);if(t===cn)return e.push(pn),void e.push(dn);t===dn&&(e.push(pn),e.push(dn));if(t===pn)e.push(pn),e.push(dn)}(e,r);break;case":":!function(e,t){t===sn&&(e.pop(),e.push(cn))}(e,r);break;case",":!function(e,t){if(t===cn)return void e.pop();if(t===fn)return e.pop(),void e.pop();if(t===dn)return;if(t===mn)e.pop()}(e,r);break;case"}":!function(e,t){t===an&&e.pop();t===cn&&(e.pop(),e.pop());t===fn&&(e.pop(),e.pop(),e.pop());e[e.length-1]===cn&&e.push(fn);e[e.length-1]===dn&&e.push(mn)}(e,r);break;case"]":!function(e,t){t===pn&&e.pop();t===dn&&(e.pop(),e.pop());t===mn&&(e.pop(),e.pop(),e.pop());e[e.length-1]===cn&&e.push(fn);e[e.length-1]===dn&&e.push(mn)}(e,r)}else!function(e,t){if(t===ln)return e.pop(),void e.push(fn);if(t===hn)return e.pop(),void e.push(mn);if(t===cn)return void e.push(ln);if(t===dn)return void e.push(hn);if(t===an)return void e.push(un);if(t===un)e.pop(),e.push(sn)}(e,r)}function bn(e,t){return"\\"===e[t-1]&&!bn(e,t-1)}function _n(e){return gn(e,function(e){const t=[];for(let n=0;n<e.length;n++)vn(t,e,n);return t}(e))}function En(e,t){if(e)try{if("string"==typeof e)return t.encode(e).length;if(e instanceof URLSearchParams)return t.encode(e.toString()).length;if(e instanceof FormData){const n=Rn(e);return t.encode(n).length}if(e instanceof Blob)return e.size;if(e instanceof ArrayBuffer)return e.byteLength}catch(e){}}function Sn(e){if(!e)return;const t=parseInt(e,10);return isNaN(t)?void 0:t}function wn(e){return"string"==typeof e?e:e instanceof URLSearchParams?e.toString():e instanceof FormData?Rn(e):void 0}function Tn(e,t){if(!t)return null;const{startTimestamp:n,endTimestamp:r,url:i,method:o,statusCode:a,request:s,response:u}=t;return{type:e,start:n/1e3,end:r/1e3,name:i,data:(0,c.dropUndefinedKeys)({method:o,statusCode:a,request:s,response:u})}}function On(e){return{headers:{},size:e,_meta:{warnings:["URL_SKIPPED"]}}}function xn(e,t,n){if(!t&&0===Object.keys(e).length)return;if(!t)return{headers:e};if(!n)return{headers:e,size:t};const r={headers:e,size:t},{body:i,warnings:o}=function(e){if(!e||"string"!=typeof e)return{body:e,warnings:[]};const t=e.length>S;if(function(e){const t=e[0],n=e[e.length-1];return"["===t&&"]"===n||"{"===t&&"}"===n}(e))try{const n=t?_n(e.slice(0,S)):e;return{body:JSON.parse(n),warnings:t?["JSON_TRUNCATED"]:[]}}catch(n){return{body:t?`${e.slice(0,S)}…`:e,warnings:t?["INVALID_JSON","TEXT_TRUNCATED"]:["INVALID_JSON"]}}return{body:t?`${e.slice(0,S)}…`:e,warnings:t?["TEXT_TRUNCATED"]:[]}}(n);return r.body=i,o.length>0&&(r._meta={warnings:o}),r}function kn(e,t){return Object.keys(e).reduce(((n,r)=>{const i=r.toLowerCase();return t.includes(i)&&e[r]&&(n[i]=e[r]),n}),{})}function Rn(e){return new URLSearchParams(e).toString()}function Nn(e,t){const n=function(e,t=v.document.baseURI){if(e.startsWith("http://")||e.startsWith("https://")||e.startsWith(v.location.origin))return e;const n=new URL(e,t);if(n.origin!==new URL(t).origin)return e;const r=n.href;if(!e.endsWith("/")&&r.endsWith("/"))return r.slice(0,-1);return r}(e);return(0,h.stringMatchesSomePattern)(n,t)}async function An(e,t,n){try{const r=await async function(e,t,n){const{startTimestamp:r,endTimestamp:i}=t,{url:o,method:a,status_code:s=0,request_body_size:u,response_body_size:c}=e.data,l=Nn(o,n.networkDetailAllowUrls)&&!Nn(o,n.networkDetailDenyUrls),f=l?function({networkCaptureBodies:e,networkRequestHeaders:t},n,r){const i=function(e,t){if(1===e.length&&"string"!=typeof e[0])return Cn(e[0],t);if(2===e.length)return Cn(e[1],t);return{}}(n,t);if(!e)return xn(i,r,void 0);const o=wn(In(n));return xn(i,r,o)}(n,t.input,u):On(u),p=await async function(e,{networkCaptureBodies:t,textEncoder:n,networkResponseHeaders:r},i,o){if(!e&&void 0!==o)return On(o);const a=Dn(i.headers,r);if(!t&&void 0!==o)return xn(a,o,void 0);try{const r=i.clone(),s=await async function(e){try{return await e.text()}catch(e){return}}(r),u=s&&s.length&&void 0===o?En(s,n):o;return e?xn(a,u,t?s:void 0):On(u)}catch(e){return xn(a,o,void 0)}}(l,n,t.response,c);return{startTimestamp:r,endTimestamp:i,url:o,method:a,statusCode:s,request:f,response:p}}
9(e,t,n),i=Tn("resource.fetch",r);rn(n.replay,i)}catch(e){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&f.logger.error("[Replay] Failed to capture fetch breadcrumb",e)}}function In(e=[]){if(2===e.length&&"object"==typeof e[1])return e[1].body}function Dn(e,t){const n={};return t.forEach((t=>{e.get(t)&&(n[t]=e.get(t))})),n}function Cn(e,t){if(!e)return{};const n=e.headers;return n?n instanceof Headers?Dn(n,t):Array.isArray(n)?{}:kn(n,t):{}}async function Pn(e,t,n){try{const r=function(e,t,n){const{startTimestamp:r,endTimestamp:i,input:o,xhr:a}=t,{url:s,method:u,status_code:c=0,request_body_size:l,response_body_size:f}=e.data;if(!s)return null;if(!Nn(s,n.networkDetailAllowUrls)||Nn(s,n.networkDetailDenyUrls)){return{startTimestamp:r,endTimestamp:i,url:s,method:u,statusCode:c,request:On(l),response:On(f)}}const p=a[d.SENTRY_XHR_DATA_KEY],h=p?kn(p.request_headers,n.networkRequestHeaders):{},m=kn(function(e){const t=e.getAllResponseHeaders();if(!t)return{};return t.split("\r\n").reduce(((e,t)=>{const[n,r]=t.split(": ");return e[n.toLowerCase()]=r,e}),{})}(a),n.networkResponseHeaders),y=xn(h,l,n.networkCaptureBodies?wn(o):void 0),g=xn(m,f,n.networkCaptureBodies?t.xhr.responseText:void 0);return{startTimestamp:r,endTimestamp:i,url:s,method:u,statusCode:c,request:y,response:g}}(e,t,n),i=Tn("resource.xhr",r);rn(n.replay,i)}catch(e){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&f.logger.error("[Replay] Failed to capture fetch breadcrumb",e)}}function Ln(e){const t=(0,r.getCurrentHub)().getClient();try{const n=new TextEncoder,{networkDetailAllowUrls:r,networkDetailDenyUrls:i,networkCaptureBodies:o,networkRequestHeaders:a,networkResponseHeaders:s}=e.getOptions(),u={replay:e,textEncoder:n,networkDetailAllowUrls:r,networkDetailDenyUrls:i,networkCaptureBodies:o,networkRequestHeaders:a,networkResponseHeaders:s};t&&t.on?t.on("beforeAddBreadcrumb",((e,t)=>function(e,t,n){if(!t.data)return;try{(function(e){return"xhr"===e.category})(t)&&function(e){return e&&e.xhr}(n)&&(!function(e,t,n){const{xhr:r,input:i}=t,o=En(i,n.textEncoder),a=r.getResponseHeader("content-length")?Sn(r.getResponseHeader("content-length")):En(r.response,n.textEncoder);void 0!==o&&(e.data.request_body_size=o),void 0!==a&&(e.data.response_body_size=a)}(t,n,e),Pn(t,n,e)),function(e){return"fetch"===e.category}(t)&&function(e){return e&&e.response}(n)&&(!function(e,t,n){const{input:r,response:i}=t,o=En(In(r),n.textEncoder),a=i?Sn(i.headers.get("content-length")):void 0;void 0!==o&&(e.data.request_body_size=o),void 0!==a&&(e.data.response_body_size=a)}(t,n,e),An(t,n,e))}catch(e){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&f.logger.warn("Error when enriching network breadcrumb")}}(u,e,t))):((0,d.addInstrumentationHandler)("fetch",function(e){return t=>{if(!e.isEnabled())return;const n=function(e){const{startTimestamp:t,endTimestamp:n,fetchData:r,response:i}=e;if(!n)return null;const{method:o,url:a}=r;return{type:"resource.fetch",start:t/1e3,end:n/1e3,name:a,data:{method:o,statusCode:i?i.status:void 0}}}(t);rn(e,n)}}(e)),(0,d.addInstrumentationHandler)("xhr",on(e)))}catch(e){}}let Mn=null;const jn=e=>t=>{if(!e.isEnabled())return;const n=function(e){const t=e.getLastBreadcrumb&&e.getLastBreadcrumb();if(Mn===t||!t)return null;if(Mn=t,!function(e){return!!e.category}(t)||["fetch","xhr","sentry.event","sentry.transaction"].includes(t.category)||t.category.startsWith("ui."))return null;if("console"===t.category)return function(e){const t=e.data&&e.data.arguments;if(!Array.isArray(t)||0===t.length)return gt(e);let n=!1;const r=t.map((e=>{if(!e)return e;if("string"==typeof e)return e.length>w?(n=!0,`${e.slice(0,w)}…`):e;if("object"==typeof e)try{const t=(0,u.normalize)(e,7),r=JSON.stringify(t);if(r.length>w){const e=_n(r.slice(0,w)),t=JSON.parse(e);return n=!0,t}return t}catch(e){}return e}));return gt({...e,data:{...e.data,arguments:r,...n?{_meta:{warnings:["CONSOLE_ARG_TRUNCATED"]}}:{}}})}(t);return gt(t)}(t);n&&ut(e,n)};function Fn(e){return!(!e||!e.on)}function Un(e){const{jsHeapSizeLimit:t,totalJSHeapSize:n,usedJSHeapSize:r}=e,i=Date.now()/1e3;return{type:"memory",name:"memory",start:i,end:i,data:{memory:{jsHeapSizeLimit:t,totalJSHeapSize:n,usedJSHeapSize:r}}}}const Bn={resource:function(e){const{entryType:t,initiatorType:n,name:r,responseEnd:i,startTime:o,decodedBodySize:a,encodedBodySize:s,responseStatus:u,transferSize:c}=e;if(["fetch","xmlhttprequest"].includes(n))return null;return{type:`${t}.${n}`,start:Gn(o),end:Gn(i),name:r,data:{size:c,statusCode:u,decodedBodySize:a,encodedBodySize:s}}},paint:function(e){const{duration:t,entryType:n,name:r,startTime:i}=e,o=Gn(i);return{type:n,name:r,start:o,end:o+t,data:void 0}},navigation:function(e){const{entryType:t,name:n,decodedBodySize:r,duration:i,domComplete:o,encodedBodySize:a,domContentLoadedEventStart:s,domContentLoadedEventEnd:u,domInteractive:c,loadEventStart:l,loadEventEnd:f,redirectCount:p,startTime:d,transferSize:h,type:m}=e;if(0===i)return null;return{type:`${t}.${m}`,start:Gn(d),end:Gn(o),name:n,data:{size:h,decodedBodySize:r,encodedBodySize:a,duration:i,domInteractive:c,domContentLoadedEventStart:s,domContentLoadedEventEnd:u,loadEventStart:l,loadEventEnd:f,domComplete:o,redirectCount:p}}},"largest-contentful-paint":function(e){const{entryType:t,startTime:n,size:r}=e;let i=0;if(v.performance){const e=v.performance.getEntriesByType("navigation")[0];i=e&&e.activationStart||0}const o=Math.max(n-i,0),a=Gn(i)+o/1e3;return{type:t,name:t,start:a,end:a,data:{value:o,size:r,nodeId:at.mirror.getId(e.element)}}}};function qn(e){return void 0===Bn[e.entryType]?null:Bn[e.entryType](e)}function Gn(e){return((m.browserPerformanceTimeOrigin||v.performance.timeOrigin)+e)/1e3}function Vn(e){let t=!1;return(n,r)=>{if(!e.checkAndHandleExpiredSession())return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&f.logger.warn("[Replay] Received replay event after session expired."));const i=r||!t;t=!0,e.addUpdate((()=>
9{if("buffer"===e.recordingMode&&i&&e.setInitialState(),!Kt(e,n,i))return!0;if(!i)return!1;if(function(e,t){if(!t||!e.session||0!==e.session.segmentId)return;Kt(e,function(e){const t=e.getOptions();return{type:ne.Custom,timestamp:Date.now(),data:{tag:"options",payload:{sessionSampleRate:t.sessionSampleRate,errorSampleRate:t.errorSampleRate,useCompressionOption:t.useCompression,blockAllMedia:t.blockAllMedia,maskAllText:t.maskAllText,maskAllInputs:t.maskAllInputs,useCompression:!!e.eventBuffer&&"worker"===e.eventBuffer.type,networkDetailHasUrls:t.networkDetailAllowUrls.length>0,networkCaptureBodies:t.networkCaptureBodies,networkRequestHasHeaders:t.networkRequestHeaders.length>0,networkResponseHasHeaders:t.networkResponseHeaders.length>0}}}}(e),!1)}(e,i),e.session&&e.session.previousSessionId)return!0;if("buffer"===e.recordingMode&&e.session&&e.eventBuffer){const t=e.eventBuffer.getEarliestTimestamp();t&&(Rt(`[Replay] Updating session start time to earliest event in buffer to ${new Date(t)}`,e.getOptions()._experiments.traceInternals),e.session.started=t,e.getOptions().stickySession&&Bt(e.session))}return"session"===e.recordingMode&&e.flush(),!0}))}}async function Hn({recordingData:e,replayId:t,segmentId:n,eventContext:i,timestamp:a,session:s}){const u=function({recordingData:e,headers:t}){let n;const r=`${JSON.stringify(t)}\n`;if("string"==typeof e)n=`${r}${e}`;else{const t=(new TextEncoder).encode(r);n=new Uint8Array(t.length+e.length),n.set(t),n.set(e,t.length)}return n}({recordingData:e,headers:{segment_id:n}}),{urls:c,errorIds:l,traceIds:f,initialTimestamp:p}=i,d=(0,r.getCurrentHub)(),h=d.getClient(),m=d.getScope(),g=h&&h.getTransport(),v=h&&h.getDsn();if(!(h&&g&&v&&s.sampled))return;const b={type:_,replay_start_timestamp:p/1e3,timestamp:a/1e3,error_ids:l,trace_ids:f,urls:c,replay_id:t,segment_id:n,replay_type:s.sampled},S=await async function({client:e,scope:t,replayId:n,event:r}){const i={event_id:n,integrations:"object"!=typeof e._integrations||null===e._integrations||Array.isArray(e._integrations)?void 0:Object.keys(e._integrations)};e.emit&&e.emit("preprocessEvent",r,i);const a=await(0,o.prepareEvent)(e.getOptions(),r,i,t,e);if(!a)return null;a.platform=a.platform||"javascript";const s=e.getSdkMetadata&&e.getSdkMetadata(),{name:u,version:c}=s&&s.sdk||{};return a.sdk={...a.sdk,name:u||"sentry.javascript.unknown",version:c||"0.0.0"},a}({scope:m,client:h,replayId:t,event:b});if(!S)return h.recordDroppedEvent("event_processor","replay",b),void Rt("An event processor returned `null`, will not send event.");delete S.sdkProcessingMetadata;const w=function(e,t,n,r){return(0,y.createEnvelope)((0,y.createEventEnvelopeHeaders)(e,(0,y.getSdkMetadataForEnvelopeHeader)(e),r,n),[[{type:"replay_event"},e],[{type:"replay_recording",length:"string"==typeof t?(new TextEncoder).encode(t).length:t.length},t]])}(S,u,v,h.getOptions().tunnel);let T;try{T=await g.send(w)}catch(e){const t=new Error(E);try{t.cause=e}catch(e){}throw t}if(!T)return T;if("number"==typeof T.statusCode&&(T.statusCode<200||T.statusCode>=300))throw new zn(T.statusCode);return T}class zn extends Error{constructor(e){super(`Transport returned status code ${e}`)}}async function $n(e,t={count:0,interval:5e3}){const{recordingData:n,options:r}=e;if(n.length)try{return await Hn(e),!0}catch(n){if(n instanceof zn)throw n;if((0,a.setContext)("Replays",{_retryCount:t.count}),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r._experiments&&r._experiments.captureExceptions&&(0,a.captureException)(n),t.count>=3){const e=new Error(`${E} - max retries exceeded`);try{e.cause=n}catch(e){}throw e}return t.interval*=++t.count,new Promise(((n,r)=>{setTimeout((async()=>{try{await $n(e,t),n(!0)}catch(e){r(e)}}),t.interval)}))}}const Kn="__THROTTLED";function Yn(e,t,n){const r=new Map;let i=!1;return(...o)=>{const a=Math.floor(Date.now()/1e3);if((e=>{const t=e-n;r.forEach(((e,n)=>{n<t&&r.delete(n)}))})(a),[...r.values()].reduce(((e,t)=>e+t),0)>=t){const e=i;return i=!0,e?"__SKIPPED":Kn}i=!1;const s=r.get(a)||0;return r.set(a,s+1),e(...o)}}class Wn{constructor({options:e,recordingOptions:t}){Wn.prototype.__init.call(this),Wn.prototype.__init2.call(this),Wn.prototype.__init3.call(this),Wn.prototype.__init4.call(this),Wn.prototype.__init5.call(this),Wn.prototype.__init6.call(this),this.eventBuffer=null,this.performanceEvents=[],this.recordingMode="session",this.timeouts={sessionIdlePause:3e5,sessionIdleExpire:9e5},this._lastActivity=Date.now(),this._isEnabled=!1,this._isPaused=!1,this._hasInitializedCoreListeners=!1,this._context={errorIds:new Set,traceIds:new Set,urls:[],initialTimestamp:Date.now(),initialUrl:""},this._recordingOptions=t,this._options=e,this._debouncedFlush=function(e,t,n){let r,i,o;const a=n&&n.maxWait?Math.max(n.maxWait,t):0;function s(){return u(),r=e(),r}function u(){void 0!==i&&clearTimeout(i),void 0!==o&&clearTimeout(o),i=o=void 0}function c(){return i&&clearTimeout(i),i=setTimeout(s,t),a&&void 0===o&&(o=setTimeout(s,a)),r}return c.cancel=u,c.flush=function(){return void 0!==i||void 0!==o?s():r},c}((()=>this._flush()),this._options.flushMinDelay,{maxWait:this._options.flushMaxDelay}),this._throttledAddEvent=Yn(((e,t)=>function(e,t,n){return Wt(e,t)?Yt(e,t,n):Promise.resolve(null)}(this,e,t)),300,5);const{slowClickTimeout:n,slowClickIgnoreSelectors:r}=this.getOptions(),i=n?{threshold:Math.min(3e3,n),timeout:n,scrollTimeout:300,ignoreSelector:r?r.join(","):""}:void 0;i&&(this.clickDetector=new ht(this,i))}getContext(){return this._context}isEnabled(){return this._isEnabled}isPaused(){return this._isPaused}getOptions(){return this._options}initializeSampling(e){const{errorSampleRate:t,sessionSampleRate:n}=this._options;t<=0&&n<=0||(this._initializeSessionForSampling(e),this.session?!1!==this.session.sampled&&(this.recordingMode="buffer"===this.session.sampled&&0===this.session.segmentId?"buffer":"session",Nt(`[Replay] Starting replay in ${this.recordingMode} mode`,this._options._experiments.traceInternals),this._initializeRecording()):this._handleException(new Error("Unable to initialize and create session")))}
9start(){if(this._isEnabled&&"session"===this.recordingMode)throw new Error("Replay recording is already in progress");if(this._isEnabled&&"buffer"===this.recordingMode)throw new Error("Replay buffering is in progress, call `flush()` to save the replay");Nt("[Replay] Starting replay in session mode",this._options._experiments.traceInternals);const e=$t({maxReplayDuration:this._options.maxReplayDuration,sessionIdleExpire:this.timeouts.sessionIdleExpire,traceInternals:this._options._experiments.traceInternals},{stickySession:this._options.stickySession,sessionSampleRate:1,allowBuffering:!1});this.session=e,this._initializeRecording()}startBuffering(){if(this._isEnabled)throw new Error("Replay recording is already in progress");Nt("[Replay] Starting replay in buffer mode",this._options._experiments.traceInternals);const e=$t({sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration,traceInternals:this._options._experiments.traceInternals},{stickySession:this._options.stickySession,sessionSampleRate:0,allowBuffering:!0});this.session=e,this.recordingMode="buffer",this._initializeRecording()}startRecording(){try{this._stopRecording=at({...this._recordingOptions,..."buffer"===this.recordingMode&&{checkoutEveryNms:6e4},emit:Vn(this),onMutation:this._onMutationHandler})}catch(e){this._handleException(e)}}stopRecording(){try{return this._stopRecording&&(this._stopRecording(),this._stopRecording=void 0),!0}catch(e){return this._handleException(e),!1}}async stop({forceFlush:e=!1,reason:t}={}){if(this._isEnabled){this._isEnabled=!1;try{Rt("[Replay] Stopping Replay"+(t?` triggered by ${t}`:""),this._options._experiments.traceInternals),this._removeListeners(),this.stopRecording(),this._debouncedFlush.cancel(),e&&await this._flush({force:!0}),this.eventBuffer&&this.eventBuffer.destroy(),this.eventBuffer=null,Ft(this)}catch(e){this._handleException(e)}}}pause(){this._isPaused||(this._isPaused=!0,this.stopRecording(),Rt("[Replay] Pausing replay",this._options._experiments.traceInternals))}resume(){this._isPaused&&this._checkSession()&&(this._isPaused=!1,this.startRecording(),Rt("[Replay] Resuming replay",this._options._experiments.traceInternals))}async sendBufferedReplayOrFlush({continueRecording:e=!0}={}){if("session"===this.recordingMode)return this.flushImmediate();const t=Date.now();Rt("[Replay] Converting buffer to session",this._options._experiments.traceInternals),await this.flushImmediate();const n=this.stopRecording();e&&n&&"session"!==this.recordingMode&&(this.recordingMode="session",this.session&&(this._updateUserActivity(t),this._updateSessionActivity(t),this._maybeSaveSession()),this.startRecording())}addUpdate(e){const t=e();"buffer"!==this.recordingMode&&!0!==t&&this._debouncedFlush()}triggerUserActivity(){if(this._updateUserActivity(),this._stopRecording)this.checkAndHandleExpiredSession(),this._updateSessionActivity();else{if(!this._checkSession())return;this.resume()}}updateUserActivity(){this._updateUserActivity(),this._updateSessionActivity()}conditionalFlush(){return"buffer"===this.recordingMode?Promise.resolve():this.flushImmediate()}flush(){return this._debouncedFlush()}flushImmediate(){return this._debouncedFlush(),this._debouncedFlush.flush()}cancelFlush(){this._debouncedFlush.cancel()}getSessionId(){return this.session&&this.session.id}checkAndHandleExpiredSession(){if(!(this._lastActivity&&Vt(this._lastActivity,this.timeouts.sessionIdlePause)&&this.session&&"session"===this.session.sampled))return!!this._checkSession();this.pause()}setInitialState(){const e=`${v.location.pathname}${v.location.hash}${v.location.search}`,t=`${v.location.origin}${e}`;this.performanceEvents=[],this._clearContext(),this._context.initialUrl=t,this._context.initialTimestamp=Date.now(),this._context.urls.push(t)}throttledAddEvent(e,t){const n=this._throttledAddEvent(e,t);if(n===Kn){const e=gt({category:"replay.throttled"});this.addUpdate((()=>!Kt(this,{type:5,timestamp:e.timestamp||0,data:{tag:"breadcrumb",payload:e,metric:!0}})))}return n}getCurrentRoute(){const e=this.lastTransaction||(0,r.getCurrentHub)().getScope().getTransaction();if(e&&["route","custom"].includes(e.metadata.source))return e.name}_initializeRecording(){this.setInitialState(),this._updateSessionActivity(),this.eventBuffer=Mt({useCompression:this._options.useCompression}),this._removeListeners(),this._addListeners(),this._isEnabled=!0,this._isPaused=!1,this.startRecording()}_handleException(e){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&f.logger.error("[Replay]",e),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&this._options._experiments&&this._options._experiments.captureExceptions&&(0,a.captureException)(e)}_initializeSessionForSampling(e){const t=this._options.errorSampleRate>0,n=$t({sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration,traceInternals:this._options._experiments.traceInternals,previousSessionId:e},{stickySession:this._options.stickySession,sessionSampleRate:this._options.sessionSampleRate,allowBuffering:t});this.session=n}_checkSession(){if(!this.session)return!1;const e=this.session;return!zt(e,{sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration})||(this._refreshSession(e),!1)}async _refreshSession(e){this._isEnabled&&(await this.stop({reason:"refresh session"}),this.initializeSampling(e.id))}_addListeners(){try{v.document.addEventListener("visibilitychange",this._handleVisibilityChange),v.addEventListener("blur",this._handleWindowBlur),v.addEventListener("focus",this._handleWindowFocus),v.addEventListener("keydown",this._handleKeyboardEvent),this.clickDetector&&this.clickDetector.addListeners(),this._hasInitializedCoreListeners||(!function(e){const t=(0,r.getCurrentHub)().getScope(),n=(0,r.getCurrentHub)().getClient();t.addScopeListener(jn(e)),(0,d.addInstrumentationHandler)("dom",Et(e)),(0,d.addInstrumentationHandler)("history",tn(e)),Ln(e),(0,i.addGlobalEventProcessor)(Zt(e,!Fn(n))),Fn(n)&&(n.on("afterSendEvent",Jt(e)),n.on("createDsc",(t=>{const n=e.getSessionId();n&&e.isEnabled()&&"session"===e.recordingMode&&(t.replay_id=n)})),n.on("startTransaction",(t=>{e.lastTransaction=t})),n.on("finishTransaction",(t=>{e.lastTransaction=t})))}(this),this._hasInitializedCoreListeners=!0)}catch(e){this._handleException(e)}"PerformanceObserver"in v&&(this._performanceObserver=xt(this))}_removeListeners(){try{v.document.removeEventListener("visibilitychange",this._handleVisibilityChange),v.removeEventListener("blur",this._handleWindowBlur),v.removeEventListener("focus",this._handleWindowFocus),v.removeEventListener("keydown",this._handleKeyboardEvent),this.clickDetector&&this.clickDetector.removeListeners(),this._performanceObserver&&(this._performanceObserver.disconnect(),this._performanceObserver=void 0)}catch(e){this._handleException(e)}}__init(){this._handleVisibilityChange=()=>{"visible"===v.document.visibilityState?this._doChangeToForegroundTasks():this._doChangeToBackgroun
9dTasks()}}__init2(){this._handleWindowBlur=()=>{const e=gt({category:"ui.blur"});this._doChangeToBackgroundTasks(e)}}__init3(){this._handleWindowFocus=()=>{const e=gt({category:"ui.focus"});this._doChangeToForegroundTasks(e)}}__init4(){this._handleKeyboardEvent=e=>{wt(this,e)}}_doChangeToBackgroundTasks(e){if(!this.session)return;Ht(this.session,{maxReplayDuration:this._options.maxReplayDuration,sessionIdleExpire:this.timeouts.sessionIdleExpire})||(e&&this._createCustomBreadcrumb(e),this.conditionalFlush())}_doChangeToForegroundTasks(e){if(!this.session)return;this.checkAndHandleExpiredSession()?e&&this._createCustomBreadcrumb(e):Rt("[Replay] Document has become active, but session has expired")}_triggerFullSnapshot(e=!0){try{Rt("[Replay] Taking full rrweb snapshot"),at.takeFullSnapshot(e)}catch(e){this._handleException(e)}}_updateUserActivity(e=Date.now()){this._lastActivity=e}_updateSessionActivity(e=Date.now()){this.session&&(this.session.lastActivity=e,this._maybeSaveSession())}_createCustomBreadcrumb(e){this.addUpdate((()=>{this.throttledAddEvent({type:ne.Custom,timestamp:e.timestamp||0,data:{tag:"breadcrumb",payload:e}})}))}_addPerformanceEntries(){const e=[...this.performanceEvents];return this.performanceEvents=[],Promise.all(en(this,function(e){return e.map(qn).filter(Boolean)}(e)))}_clearContext(){this._context.errorIds.clear(),this._context.traceIds.clear(),this._context.urls=[]}_updateInitialTimestampFromEventBuffer(){const{session:e,eventBuffer:t}=this;if(!e||!t)return;if(e.segmentId)return;const n=t.getEarliestTimestamp();n&&n<this._context.initialTimestamp&&(this._context.initialTimestamp=n)}_popEventContext(){const e={initialTimestamp:this._context.initialTimestamp,initialUrl:this._context.initialUrl,errorIds:Array.from(this._context.errorIds),traceIds:Array.from(this._context.traceIds),urls:this._context.urls};return this._clearContext(),e}async _runFlush(){const e=this.getSessionId();if(this.session&&this.eventBuffer&&e){if(await this._addPerformanceEntries(),this.eventBuffer&&this.eventBuffer.hasEvents&&(await async function(e){try{return Promise.all(en(e,[Un(v.performance.memory)]))}catch(e){return[]}}(this),this.eventBuffer&&e===this.getSessionId()))try{this._updateInitialTimestampFromEventBuffer();const t=Date.now();if(t-this._context.initialTimestamp>this._options.maxReplayDuration+3e4)throw new Error("Session is too long, not sending replay");const n=this._popEventContext(),r=this.session.segmentId++;this._maybeSaveSession();const i=await this.eventBuffer.finish();await $n({replayId:e,recordingData:i,segmentId:r,eventContext:n,session:this.session,options:this.getOptions(),timestamp:t})}catch(e){this._handleException(e),this.stop({reason:"sendReplay"});const t=(0,r.getCurrentHub)().getClient();t&&t.recordDroppedEvent("send_error","replay")}}else("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&f.logger.error("[Replay] No session or eventBuffer found to flush.")}__init5(){this._flush=async({force:e=!1}={})=>{if(!this._isEnabled&&!e)return;if(!this.checkAndHandleExpiredSession())return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&f.logger.error("[Replay] Attempting to finish replay event after session expired."));if(!this.session)return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&f.logger.error("[Replay] No session found to flush."));const t=this.session.started,n=Date.now()-t;this._debouncedFlush.cancel();const r=n<this._options.minReplayDuration,i=n>this._options.maxReplayDuration+5e3;if(r||i)return Rt(`[Replay] Session duration (${Math.floor(n/1e3)}s) is too ${r?"short":"long"}, not sending replay.`,this._options._experiments.traceInternals),void(r&&this._debouncedFlush());const o=this.eventBuffer;if(o&&0===this.session.segmentId&&!o.hasCheckout&&Rt("[Replay] Flushing initial segment without checkout.",this._options._experiments.traceInternals),!this._flushLock)return this._flushLock=this._runFlush(),await this._flushLock,void(this._flushLock=void 0);try{await this._flushLock}catch(e){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&f.logger.error(e)}finally{this._debouncedFlush()}}}_maybeSaveSession(){this.session&&this._options.stickySession&&Bt(this.session)}__init6(){this._onMutationHandler=e=>{const t=e.length,n=this._options.mutationLimit,r=n&&t>n;
9if(t>this._options.mutationBreadcrumbLimit||r){const e=gt({category:"replay.mutations",data:{count:t,limit:r}});this._createCustomBreadcrumb(e)}return!r||(this.stop({reason:"mutationLimit",forceFlush:"session"===this.recordingMode}),!1)}}}function Qn(e,t,n,r){const i=[...e,..."string"==typeof r?r.split(","):[],...t];return void 0!==n&&("string"==typeof n&&i.push(`.${n}`),console.warn("[Replay] You are using a deprecated configuration item for privacy. Read the documentation on how to use the new privacy configuration.")),i.join(",")}function Xn({mask:e,unmask:t,block:n,unblock:r,ignore:i,blockClass:o,blockSelector:a,maskTextClass:s,maskTextSelector:u,ignoreClass:c}){const l=Qn(e,[".sentry-mask","[data-sentry-mask]"],s,u),f=Qn(t,[".sentry-unmask","[data-sentry-unmask]"]),p={maskTextSelector:l,unmaskTextSelector:f,maskInputSelector:l,unmaskInputSelector:f,blockSelector:Qn(n,[".sentry-block","[data-sentry-block]",'base[href="/"]'],o,a),unblockSelector:Qn(r,[".sentry-unblock","[data-sentry-unblock]"]),ignoreSelector:Qn(i,[".sentry-ignore","[data-sentry-ignore]",'input[type="file"]'],c)};return o instanceof RegExp&&(p.blockClass=o),s instanceof RegExp&&(p.maskTextClass=s),p}function Jn(){return"undefined"!=typeof window&&(!(0,g.isNodeEnv)()||"undefined"!=typeof process&&"renderer"===process.type)}const Zn='img,image,svg,video,object,picture,embed,map,audio,link[rel="icon"],link[rel="apple-touch-icon"]',er=["content-length","content-type","accept"];let tr=!1;class nr{static __initStatic(){this.id="Replay"}constructor({flushMinDelay:e=5e3,flushMaxDelay:t=5500,minReplayDuration:n=4999,maxReplayDuration:r=36e5,stickySession:i=!0,useCompression:o=!0,_experiments:a={},sessionSampleRate:s,errorSampleRate:u,maskAllText:c=!0,maskAllInputs:l=!0,blockAllMedia:f=!0,mutationBreadcrumbLimit:p=750,mutationLimit:d=1e4,slowClickTimeout:h=7e3,slowClickIgnoreSelectors:m=[],networkDetailAllowUrls:y=[],networkDetailDenyUrls:g=[],networkCaptureBodies:v=!0,networkRequestHeaders:b=[],networkResponseHeaders:_=[],mask:E=[],unmask:S=[],block:w=[],unblock:T=[],ignore:x=[],maskFn:k,beforeAddRecordingEvent:R,blockClass:N,blockSelector:A,maskInputOptions:I,maskTextClass:D,maskTextSelector:C,ignoreClass:P}={}){if(this.name=nr.id,this._recordingOptions={maskAllInputs:l,maskAllText:c,maskInputOptions:{...I||{},password:!0},maskTextFn:k,maskInputFn:k,...Xn({mask:E,unmask:S,block:w,unblock:T,ignore:x,blockClass:N,blockSelector:A,maskTextClass:D,maskTextSelector:C,ignoreClass:P}),slimDOMOptions:"all",inlineStylesheet:!0,inlineImages:!1,collectFonts:!0},this._initialOptions={flushMinDelay:e,flushMaxDelay:t,minReplayDuration:Math.min(n,15e3),maxReplayDuration:Math.min(r,O),stickySession:i,sessionSampleRate:s,errorSampleRate:u,useCompression:o,blockAllMedia:f,maskAllInputs:l,maskAllText:c,mutationBreadcrumbLimit:p,mutationLimit:d,slowClickTimeout:h,slowClickIgnoreSelectors:m,networkDetailAllowUrls:y,networkDetailDenyUrls:g,networkCaptureBodies:v,networkRequestHeaders:rr(b),networkResponseHeaders:rr(_),beforeAddRecordingEvent:R,_experiments:a},"number"==typeof s&&(console.warn(`[Replay] You are passing \`sessionSampleRate\` to the Replay integration.\nThis option is deprecated and will be removed soon.\nInstead, configure \`replaysSessionSampleRate\` directly in the SDK init options, e.g.:\nSentry.init({ replaysSessionSampleRate: ${s} })`),this._initialOptions.sessionSampleRate=s),"number"==typeof u&&(console.warn(`[Replay] You are passing \`errorSampleRate\` to the Replay integration.\nThis option is deprecated and will be removed soon.\nInstead, configure \`replaysOnErrorSampleRate\` directly in the SDK init options, e.g.:\nSentry.init({ replaysOnErrorSampleRate: ${u} })`),this._initialOptions.errorSampleRate=u),this._initialOptions.blockAllMedia&&(this._recordingOptions.blockSelector=this._recordingOptions.blockSelector?`${this._recordingOptions.blockSelector},${Zn}`:Zn),this._isInitialized&&Jn())throw new Error("Multiple Sentry Session Replay instances are not supported");this._isInitialized=!0}get _isInitialized(){return tr}set _isInitialized(e){tr=e}setupOnce(){Jn()&&(this._setup(),setTimeout((()=>this._initialize())))}start(){this._replay&&this._replay.start()}
9startBuffering(){this._replay&&this._replay.startBuffering()}stop(){return this._replay?this._replay.stop({forceFlush:"session"===this._replay.recordingMode}):Promise.resolve()}flush(e){return this._replay&&this._replay.isEnabled()?this._replay.sendBufferedReplayOrFlush(e):Promise.resolve()}getReplayId(){if(this._replay&&this._replay.isEnabled())return this._replay.getSessionId()}_initialize(){this._replay&&this._replay.initializeSampling()}_setup(){const e=function(e){const t=(0,r.getCurrentHub)().getClient(),n=t&&t.getOptions(),i={sessionSampleRate:0,errorSampleRate:0,...(0,c.dropUndefinedKeys)(e)};if(!n)return console.warn("SDK client is not available."),i;null==e.sessionSampleRate&&null==e.errorSampleRate&&null==n.replaysSessionSampleRate&&null==n.replaysOnErrorSampleRate&&console.warn("Replay is disabled because neither `replaysSessionSampleRate` nor `replaysOnErrorSampleRate` are set.");"number"==typeof n.replaysSessionSampleRate&&(i.sessionSampleRate=n.replaysSessionSampleRate);"number"==typeof n.replaysOnErrorSampleRate&&(i.errorSampleRate=n.replaysOnErrorSampleRate);return i}(this._initialOptions);this._replay=new Wn({options:e,recordingOptions:this._recordingOptions})}}function rr(e){return[...er,...e.map((e=>e.toLowerCase()))]}nr.__initStatic()},(e,t,n)=>{"use strict";n.r(t),n.d(t,{BROWSER_TRACING_INTEGRATION_ID:()=>h,BrowserTracing:()=>y,getMetaContent:()=>g});var r=n(589),i=n(582),o=n(594),a=n(278),s=n(586),u=n(279),c=n(645),l=n(632),f=n(631),p=n(629),d=n(630);const h="BrowserTracing",m={...r.TRACING_DEFAULTS,markBackgroundTransactions:!0,routingInstrumentation:p.instrumentRoutingWithDefaults,startTransactionOnLocationChange:!0,startTransactionOnPageLoad:!0,enableLongTask:!0,_experiments:{},...f.defaultRequestInstrumentationOptions};class y{constructor(e){this.name=h,this._hasSetTracePropagationTargets=!1,(0,i.addTracingExtensions)(),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&(this._hasSetTracePropagationTargets=!(!e||!e.tracePropagationTargets&&!e.tracingOrigins)),this.options={...m,...e},void 0!==this.options._experiments.enableLongTask&&(this.options.enableLongTask=this.options._experiments.enableLongTask),e&&!e.tracePropagationTargets&&e.tracingOrigins&&(this.options.tracePropagationTargets=e.tracingOrigins),this._collectWebVitals=(0,l.startTrackingWebVitals)(),this.options.enableLongTask&&(0,l.startTrackingLongTasks)(),this.options._experiments.enableInteractions&&(0,l.startTrackingInteractions)()}setupOnce(e,t){this._getCurrentHub=t;const n=t().getClient(),r=n&&n.getOptions(),{routingInstrumentation:i,startTransactionOnLocationChange:o,startTransactionOnPageLoad:s,markBackgroundTransactions:u,traceFetch:l,traceXHR:p,shouldCreateSpanForRequest:d,enableHTTPTimings:h,_experiments:m}=this.options,y=r&&r.tracePropagationTargets,g=y||this.options.tracePropagationTargets;("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&this._hasSetTracePropagationTargets&&y&&a.logger.warn("[Tracing] The `tracePropagationTargets` option was set in the BrowserTracing integration and top level `Sentry.init`. The top level `Sentry.init` value is being used."),i((e=>{const n=this._createRouteTransaction(e);return this.options._experiments.onStartRouteTransaction&&this.options._experiments.onStartRouteTransaction(n,e,t),n}),s,o),u&&(0,c.registerBackgroundTabDetection)(),m.enableInteractions&&this._registerInteractionListener(),(0,f.instrumentOutgoingRequests)({traceFetch:l,traceXHR:p,tracePropagationTargets:g,shouldCreateSpanForRequest:d,enableHTTPTimings:h})}_createRouteTransaction(e){if(!this._getCurrentHub)return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.logger.warn(`[Tracing] Did not create ${e.op} transaction because _getCurrentHub is invalid.`));const t=this._getCurrentHub(),{beforeNavigate:n,idleTimeout:r,finalTimeout:o,heartbeatInterval:u}=this.options,c="pageload"===e.op,f=c?g("sentry-trace"):"",p=c?g("baggage"):"",{traceparentData:h,dynamicSamplingContext:m,propagationContext:y}=(0,s.tracingContextFromHeaders)(f,p),v={...e,...h,metadata:{...e.metadata,dynamicSamplingContext:h&&!m?{}:m},trimEnd:!0},b="function"==typeof n?n(v):v,_=void 0===b?{...v,sampled:!1}:b;_.metadata=_.name!==v.name?{..._.metadata,source:"custom"}
9:_.metadata,this._latestRouteName=_.name,this._latestRouteSource=_.metadata&&_.metadata.source,!1===_.sampled&&("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.logger.log(`[Tracing] Will not send ${_.op} transaction because of beforeNavigate.`),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.logger.log(`[Tracing] Starting ${_.op} transaction on scope`);const{location:E}=d.WINDOW,S=(0,i.startIdleTransaction)(t,_,r,o,!0,{location:E},u),w=t.getScope();return c&&h?w.setPropagationContext(y):w.setPropagationContext({traceId:S.traceId,spanId:S.spanId,parentSpanId:S.parentSpanId,sampled:S.sampled}),S.registerBeforeFinishCallback((e=>{this._collectWebVitals(),(0,l.addPerformanceEntries)(e)})),S}_registerInteractionListener(){let e;const t=()=>{const{idleTimeout:t,finalTimeout:n,heartbeatInterval:r}=this.options,s="ui.action.click",u=(0,o.getActiveTransaction)();if(u&&u.op&&["navigation","pageload"].includes(u.op))return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.logger.warn(`[Tracing] Did not create ${s} transaction because a pageload or navigation transaction is in progress.`));if(e&&(e.setFinishReason("interactionInterrupted"),e.finish(),e=void 0),!this._getCurrentHub)return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.logger.warn(`[Tracing] Did not create ${s} transaction because _getCurrentHub is invalid.`));if(!this._latestRouteName)return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.logger.warn(`[Tracing] Did not create ${s} transaction because _latestRouteName is missing.`));const c=this._getCurrentHub(),{location:l}=d.WINDOW,f={name:this._latestRouteName,op:s,trimEnd:!0,metadata:{source:this._latestRouteSource||"url"}};e=(0,i.startIdleTransaction)(c,f,t,n,!0,{location:l},r)};["click"].forEach((e=>{addEventListener(e,t,{once:!1,capture:!0})}))}}function g(e){const t=(0,u.getDomElement)(`meta[name=${e}]`);return t?t.getAttribute("content"):void 0}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{instrumentRoutingWithDefaults:()=>s});var r=n(278),i=n(270),o=n(591),a=n(630);function s(e,t=!0,n=!0){if(!a.WINDOW||!a.WINDOW.location)return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.logger.warn("Could not initialize routing instrumentation due to invalid location"));let s,u=a.WINDOW.location.href;t&&(s=e({name:a.WINDOW.location.pathname,startTimestamp:i.browserPerformanceTimeOrigin?i.browserPerformanceTimeOrigin/1e3:void 0,op:"pageload",origin:"auto.pageload.browser",metadata:{source:"url"}})),n&&(0,o.addInstrumentationHandler)("history",(({to:t,from:n})=>{void 0===n&&u&&-1!==u.indexOf(t)?u=void 0:n!==t&&(u=void 0,s&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.logger.log(`[Tracing] Finishing current transaction with op: ${s.op}`),s.finish()),s=e({name:a.WINDOW.location.pathname,op:"navigation",origin:"auto.navigation.browser",metadata:{source:"url"}}))}))}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{WINDOW:()=>r});const r=n(271).GLOBAL_OBJ},(e,t,n)=>{"use strict";n.r(t),n.d(t,{DEFAULT_TRACE_PROPAGATION_TARGETS:()=>p,addTracingHeadersToFetchRequest:()=>_,defaultRequestInstrumentationOptions:()=>d,extractNetworkProtocol:()=>y,fetchCallback:()=>b,instrumentOutgoingRequests:()=>h,shouldAttachHeaders:()=>v,xhrCallback:()=>E});var r=n(583),i=n(267),o=n(588),a=n(591),s=n(270),u=n(275),c=n(586),l=n(587),f=n(276);const p=["localhost",/^\/(?!\/)/],d={traceFetch:!0,traceXHR:!0,enableHTTPTimings:!0,tracingOrigins:p,tracePropagationTargets:p};function h(e){const{traceFetch:t,traceXHR:n,tracePropagationTargets:r,tracingOrigins:i,shouldCreateSpanForRequest:o,enableHTTPTimings:s}={traceFetch:d.traceFetch,traceXHR:d.traceXHR,...e},u="function"==typeof o?o:e=>!0,c=e=>v(e,r||i),l={};t&&(0,a.addInstrumentationHandler)("fetch",(e=>{const t=b(e,u,c,l);s&&t&&m(t)})),n&&(0,a.addInstrumentationHandler)("xhr",(e=>{const t=E(e,u,c,l);s&&t&&m(t)}))}function m(e){const t=e.data.url,n=new PerformanceObserver((r=>{r.getEntries().forEach((r=>{if(function(e){return"resource"===e.entryType&&"initiatorType"in e&&"string"==typeof e.nextHopProtocol&&("fetch"===e.initiatorType||"xmlhttprequest"===e.initiatorType)}
9(r)&&r.name.endsWith(t)){(function(e){const{name:t,version:n}=y(e.nextHopProtocol),r=[];if(r.push(["network.protocol.version",n],["network.protocol.name",t]),!s.browserPerformanceTimeOrigin)return r;return[...r,["http.request.redirect_start",g(e.redirectStart)],["http.request.fetch_start",g(e.fetchStart)],["http.request.domain_lookup_start",g(e.domainLookupStart)],["http.request.domain_lookup_end",g(e.domainLookupEnd)],["http.request.connect_start",g(e.connectStart)],["http.request.secure_connection_start",g(e.secureConnectionStart)],["http.request.connection_end",g(e.connectEnd)],["http.request.request_start",g(e.requestStart)],["http.request.response_start",g(e.responseStart)],["http.request.response_end",g(e.responseEnd)]]})(r).forEach((t=>e.setData(...t))),n.disconnect()}}))}));n.observe({entryTypes:["resource"]})}function y(e){let t="unknown",n="unknown",r="";for(const i of e){if("/"===i){[t,n]=e.split("/");break}if(!isNaN(Number(i))){t="h"===r?"http":r,n=e.split(r)[1];break}r+=i}return r===e&&(t=r),{name:t,version:n}}function g(e=0){return((s.browserPerformanceTimeOrigin||performance.timeOrigin)+e)/1e3}function v(e,t){return(0,u.stringMatchesSomePattern)(e,t||p)}function b(e,t,n,o){if(!(0,r.hasTracingEnabled)()||!e.fetchData)return;const a=t(e.fetchData.url);if(e.endTimestamp&&a){const t=e.fetchData.__span;if(!t)return;const n=o[t];if(n){if(e.response){n.setHttpStatus(e.response.status);const t=e.response&&e.response.headers&&e.response.headers.get("content-length"),r=parseInt(t);r>0&&n.setData("http.response_content_length",r)}else e.error&&n.setStatus("internal_error");n.finish(),delete o[t]}return}const s=(0,i.getCurrentHub)(),u=s.getScope(),c=s.getClient(),l=u.getSpan(),{method:f,url:p}=e.fetchData,d=a&&l?l.startChild({data:{url:p,type:"fetch","http.method":f},description:`${f} ${p}`,op:"http.client",origin:"auto.http.browser"}):void 0;if(d&&(e.fetchData.__span=d.spanId,o[d.spanId]=d),n(e.fetchData.url)&&c){const t=e.args[0];e.args[1]=e.args[1]||{};const n=e.args[1];n.headers=_(t,c,u,n,d)}return d}function _(e,t,n,r,i){const a=i||n.getSpan(),s=a&&a.transaction,{traceId:u,sampled:p,dsc:d}=n.getPropagationContext(),h=a?a.toTraceparent():(0,c.generateSentryTraceHeader)(u,void 0,p),m=s?s.getDynamicSamplingContext():d||(0,o.getDynamicSamplingContextFromClient)(u,t,n),y=(0,l.dynamicSamplingContextToSentryBaggageHeader)(m),g="undefined"!=typeof Request&&(0,f.isInstanceOf)(e,Request)?e.headers:r.headers;if(g){if("undefined"!=typeof Headers&&(0,f.isInstanceOf)(g,Headers)){const e=new Headers(g);return e.append("sentry-trace",h),y&&e.append(l.BAGGAGE_HEADER_NAME,y),e}if(Array.isArray(g)){const e=[...g,["sentry-trace",h]];return y&&e.push([l.BAGGAGE_HEADER_NAME,y]),e}{const e="baggage"in g?g.baggage:void 0,t=[];return Array.isArray(e)?t.push(...e):e&&t.push(e),y&&t.push(y),{...g,"sentry-trace":h,baggage:t.length>0?t.join(","):void 0}}}return{"sentry-trace":h,baggage:y}}function E(e,t,n,s){const u=e.xhr,f=u&&u[a.SENTRY_XHR_DATA_KEY];if(!(0,r.hasTracingEnabled)()||u&&u.__sentry_own_request__||!u||!f)return;const p=t(f.url);if(e.endTimestamp&&p){const e=u.__sentry_xhr_span_id__;if(!e)return;const t=s[e];return void(t&&(t.setHttpStatus(f.status_code),t.finish(),delete s[e]))}const d=(0,i.getCurrentHub)(),h=d.getScope(),m=h.getSpan(),y=p&&m?m.startChild({data:{...f.data,type:"xhr","http.method":f.method,url:f.url},description:`${f.method} ${f.url}`,op:"http.client",origin:"auto.http.browser"}):void 0;if(y&&(u.__sentry_xhr_span_id__=y.spanId,s[u.__sentry_xhr_span_id__]=y),u.setRequestHeader&&n(f.url))if(y){const e=y&&y.transaction,t=e&&e.getDynamicSamplingContext(),n=(0,l.dynamicSamplingContextToSentryBaggageHeader)(t);S(u,y.toTraceparent(),n)}else{const e=d.getClient(),{traceId:t,sampled:n,dsc:r}=h.getPropagationContext(),i=(0,c.generateSentryTraceHeader)(t,void 0,n),a=r||(e?(0,o.getDynamicSamplingContextFromClient)(t,e,h):void 0);S(u,i,(0,l.dynamicSamplingContextToSentryBaggageHeader)(a))}return y}function S(e,t,n){try{e.setRequestHeader("sentry-trace",t),n&&e.setRequestHeader(l.BAGGAGE_HEADER_NAME,n)}catch(e){}}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{_addMeasureSpans:()=>T,_addResourceSpans:()=>x,addPerformanceEntries:()=>w,startTrackingInteractions:()=>S,startTrackingLongTasks:()=>E,startTrackingWebVitals:()=>_});var r=n(594),i=n(270),o=n(279),a=n(278),s=n(630),u=n(634),c=n(643),l=n(641),f=n(642),p=n(633),d=n(644);function h(e){return e/1e3}function m(){return s.WINDOW&&s.WINDOW.addEventListener&&s.WINDOW.performance}let y,g,v=0,b={};function _(){const e=m();if(e&&i.browserPerformanceTimeOrigin){e.mark&&s.WINDOW.performance.mark("sentry-tracing-init"),(0,c.onFID)((e=>{const t=e.entries.pop();if(!t)return;const n=h(i.browserPerformanceTimeOrigin),r=h(t.startTime);("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.logger.log("[Measurements] Adding FID"),b.fid={value:e.value,unit:"millisecond"},b["mark.fid"]={value:n+r,unit:"second"}}));const t=(0,u.onCLS)((e=>{const t=e.entries.pop();t&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.logger.log("[Measurements] Adding CLS"),b.cls={value:e.value,unit:""},g=t)})),n=(0,l.onLCP)((e=>{const t=e.entries.pop();t&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.logger.log("[Measurements] Adding LCP"),b.lcp={value:e.value,unit:"millisecond"},y=t)}));return()=>{t&&t(),n&&n()}}return()=>{}}function E(){(0,p.observe)("longtask",(e=>{for(const t of e){const e=(0,r.getActiveTransaction)();if(!e)return;const n=h(i.browserPerformanceTimeOrigin+t.startTime),o=h(t.duration);e.startChild({description:"Main UI thread blocked",op:"ui.long-task",origin:"auto.ui.browser.metrics",startTimestamp:n,endTimestamp:n+o})}}))}function S(){(0,p.observe)("event",(e=>{for(const t of e){const e=(0,r.getActiveTransaction)();if(!e)return;if("click"===t.name){const n=h(i.browserPerformanceTimeOrigin+t.startTime),r=h(t.duration);e.startChild({description:(0,o.htmlTreeAsString)(t.target),op:`ui.interaction.${t.name}`,origin:"auto.ui.browser.metrics",startTimestamp:n,endTimestamp:n+r})}}}),{durationThreshold:0})}function w(e){const t=m();if(!t||!s.WINDOW.performance.getEntries||!i.browserPerformanceTimeOrigin)return;("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.logger.log("[Tracing] Adding & adjusting spans using Performance API");const n=h(i.browserPerformanceTimeOrigin),r=t.getEntries();let u,c;if(r.slice(v).forEach((t=>{const r=h(t.startTime),i=h(t.duration);if(!("navigation"===e.op&&n+r<e.startTimestamp))switch(t.entryType){case"navigation":!function(e,t,n){["unloadEvent","redirect","domContentLoadedEvent","loadEvent","connect"].forEach((r=>{O(e,t,r,n)})),O(e,t,"secureConnection",n,"TLS/SSL","connectEnd"),O(e,t,"fetch",n,"cache","domainLookupStart"),O(e,t,"domainLookup",n,"DNS"),function(e,t,n){(0,d._startChild)(e,{op:"browser",origin:"auto.browser.browser.metrics",description:"request",startTimestamp:n+h(t.requestStart),endTimestamp:n+h(t.responseEnd)}),(0,d._startChild)(e,{op:"browser",origin:"auto.browser.browser.metrics",description:"response",startTimestamp:n+h(t.responseStart),endTimestamp:n+h(t.responseEnd)})}
9(e,t,n)}(e,t,n),u=n+h(t.responseStart),c=n+h(t.requestStart);break;case"mark":case"paint":case"measure":{T(e,t,r,i,n);const o=(0,f.getVisibilityWatcher)(),s=t.startTime<o.firstHiddenTime;"first-paint"===t.name&&s&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.logger.log("[Measurements] Adding FP"),b.fp={value:t.startTime,unit:"millisecond"}),"first-contentful-paint"===t.name&&s&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.logger.log("[Measurements] Adding FCP"),b.fcp={value:t.startTime,unit:"millisecond"});break}case"resource":{const o=t.name.replace(s.WINDOW.location.origin,"");x(e,t,o,r,i,n);break}}})),v=Math.max(r.length-1,0),function(e){const t=s.WINDOW.navigator;if(!t)return;const n=t.connection;n&&(n.effectiveType&&e.setTag("effectiveConnectionType",n.effectiveType),n.type&&e.setTag("connectionType",n.type),(0,d.isMeasurementValue)(n.rtt)&&(b["connection.rtt"]={value:n.rtt,unit:"millisecond"}));(0,d.isMeasurementValue)(t.deviceMemory)&&e.setTag("deviceMemory",`${t.deviceMemory} GB`);(0,d.isMeasurementValue)(t.hardwareConcurrency)&&e.setTag("hardwareConcurrency",String(t.hardwareConcurrency))}(e),"pageload"===e.op){"number"==typeof u&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.logger.log("[Measurements] Adding TTFB"),b.ttfb={value:1e3*(u-e.startTimestamp),unit:"millisecond"},"number"==typeof c&&c<=u&&(b["ttfb.requestTime"]={value:1e3*(u-c),unit:"millisecond"})),["fcp","fp","lcp"].forEach((t=>{if(!b[t]||n>=e.startTimestamp)return;const r=b[t].value,i=n+h(r),o=Math.abs(1e3*(i-e.startTimestamp)),s=o-r;("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.logger.log(`[Measurements] Normalized ${t} from ${r} to ${o} (${s})`),b[t].value=o}));const t=b["mark.fid"];t&&b.fid&&((0,d._startChild)(e,{description:"first input delay",endTimestamp:t.value+h(b.fid.value),op:"ui.action",origin:"auto.ui.browser.metrics",startTimestamp:t.value}),delete b["mark.fid"]),"fcp"in b||delete b.cls,Object.keys(b).forEach((t=>{e.setMeasurement(t,b[t].value,b[t].unit)})),function(e){y&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.logger.log("[Measurements] Adding LCP Data"),y.element&&e.setTag("lcp.element",(0,o.htmlTreeAsString)(y.element)),y.id&&e.setTag("lcp.id",y.id),y.url&&e.setTag("lcp.url",y.url.trim().slice(0,200)),e.setTag("lcp.size",y.size));g&&g.sources&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.logger.log("[Measurements] Adding CLS Data"),g.sources.forEach(((t,n)=>e.setTag(`cls.source.${n+1}`,(0,o.htmlTreeAsString)(t.node)))))}(e)}y=void 0,g=void 0,b={}}function T(e,t,n,r,i){const o=i+n,a=o+r;return(0,d._startChild)(e,{description:t.name,endTimestamp:a,op:t.entryType,origin:"auto.resource.browser.metrics",startTimestamp:o}),o}function O(e,t,n,r,i,o){const a=o?t[o]:t[`${n}End`],s=t[`${n}Start`];s&&a&&(0,d._startChild)(e,{op:"browser",origin:"auto.browser.browser.metrics",description:i||n,startTimestamp:r+h(s),endTimestamp:r+h(a)})}function x(e,t,n,r,i,o){if("xmlhttprequest"===t.initiatorType||"fetch"===t.initiatorType)return;const a={};"transferSize"in t&&(a["http.response_transfer_size"]=t.transferSize),"encodedBodySize"in t&&(a["http.response_content_length"]=t.encodedBodySize),"decodedBodySize"in t&&(a["http.decoded_response_content_length"]=t.decodedBodySize),"renderBlockingStatus"in t&&(a["resource.render_blocking_status"]=t.renderBlockingStatus);const s=o+r,u=s+i;(0,d._startChild)(e,{description:n,endTimestamp:u,op:t.initiatorType?`resource.${t.initiatorType}`:"resource.other",origin:"auto.resource.browser.metrics",startTimestamp:s,data:a})}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{observe:()=>r});const r=(e,t,n)=>{try{if(PerformanceObserver.supportedEntryTypes.includes(e)){const r=new PerformanceObserver((e=>{t(e.getEntries())}));return r.observe(Object.assign({type:e,buffered:!0},n||{})),r}}catch(e){}}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{onCLS:()=>s});var r=n(639),i=n(635),o=n(633),a=n(640);const s=e=>{const t=(0,i.initMetric)("CLS",0);let n,s=0,u=[];const c=e=>{e.forEach((e=>{if(!e.hadRecentInput){const r=u[0],i=u[u.length-1];s&&0!==u.length&&e.startTime-i.startTime<1e3&&e.startTime-r.startTime<5e3?(s+=e.value,u.push(e)):(s=e.value,u=[e]),s>t.value&&(t.value=s,t.entries=u,n&&n())}}))},l=(0,o.observe)("layout-shift",c);if(l){n=(0,r.bindReporter)(e,t);const i=()=>{c(l.takeRecords()),n(!0)};
9return(0,a.onHidden)(i),i}}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{initMetric:()=>s});var r=n(630),i=n(638),o=n(637),a=n(636);const s=(e,t)=>{const n=(0,a.getNavigationEntry)();let s="navigate";return n&&(s=r.WINDOW.document.prerendering||(0,o.getActivationStart)()>0?"prerender":n.type.replace(/_/g,"-")),{name:e,value:void 0===t?-1:t,rating:"good",delta:0,entries:[],id:(0,i.generateUniqueID)(),navigationType:s}}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{getNavigationEntry:()=>i});var r=n(630);const i=()=>r.WINDOW.__WEB_VITALS_POLYFILL__?r.WINDOW.performance&&(performance.getEntriesByType&&performance.getEntriesByType("navigation")[0]||(()=>{const e=r.WINDOW.performance.timing,t=r.WINDOW.performance.navigation.type,n={entryType:"navigation",startTime:0,type:2==t?"back_forward":1===t?"reload":"navigate"};for(const t in e)"navigationStart"!==t&&"toJSON"!==t&&(n[t]=Math.max(e[t]-e.navigationStart,0));return n})()):r.WINDOW.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0]},(e,t,n)=>{"use strict";n.r(t),n.d(t,{getActivationStart:()=>i});var r=n(636);const i=()=>{const e=(0,r.getNavigationEntry)();return e&&e.activationStart||0}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{generateUniqueID:()=>r});const r=()=>`v3-${Date.now()}-${Math.floor(8999999999999*Math.random())+1e12}`},(e,t,n)=>{"use strict";n.r(t),n.d(t,{bindReporter:()=>r});const r=(e,t,n)=>{let r,i;return o=>{t.value>=0&&(o||n)&&(i=t.value-(r||0),(i||void 0===r)&&(r=t.value,t.delta=i,e(t)))}}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{onHidden:()=>i});var r=n(630);const i=(e,t)=>{const n=i=>{"pagehide"!==i.type&&"hidden"!==r.WINDOW.document.visibilityState||(e(i),t&&(removeEventListener("visibilitychange",n,!0),removeEventListener("pagehide",n,!0)))};addEventListener("visibilitychange",n,!0),addEventListener("pagehide",n,!0)}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{onLCP:()=>l});var r=n(639),i=n(637),o=n(642),a=n(635),s=n(633),u=n(640);const c={},l=e=>{const t=(0,o.getVisibilityWatcher)(),n=(0,a.initMetric)("LCP");let l;const f=e=>{const r=e[e.length-1];if(r){const e=Math.max(r.startTime-(0,i.getActivationStart)(),0);e<t.firstHiddenTime&&(n.value=e,n.entries=[r],l())}},p=(0,s.observe)("largest-contentful-paint",f);if(p){l=(0,r.bindReporter)(e,n);const t=()=>{c[n.id]||(f(p.takeRecords()),p.disconnect(),c[n.id]=!0,l(!0))};return["keydown","click"].forEach((e=>{addEventListener(e,t,{once:!0,capture:!0})})),(0,u.onHidden)(t,!0),t}}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{getVisibilityWatcher:()=>a});var r=n(630),i=n(640);let o=-1;const a=()=>(o<0&&(o="hidden"!==r.WINDOW.document.visibilityState||r.WINDOW.document.prerendering?1/0:0,(0,i.onHidden)((({timeStamp:e})=>{o=e}),!0)),{get firstHiddenTime(){return o}})},(e,t,n)=>{"use strict";n.r(t),n.d(t,{onFID:()=>u});var r=n(639),i=n(642),o=n(635),a=n(633),s=n(640);const u=e=>{const t=(0,i.getVisibilityWatcher)(),n=(0,o.initMetric)("FID");let u;const c=e=>{e.startTime<t.firstHiddenTime&&(n.value=e.processingStart-e.startTime,n.entries.push(e),u(!0))},l=e=>{e.forEach(c)},f=(0,a.observe)("first-input",l);u=(0,r.bindReporter)(e,n),f&&(0,s.onHidden)((()=>{l(f.takeRecords()),f.disconnect()}),!0)}},(e,t,n)=>{"use strict";function r(e){return"number"==typeof e&&isFinite(e)}function i(e,{startTimestamp:t,...n}){return t&&e.startTimestamp>t&&(e.startTimestamp=t),e.startChild({startTimestamp:t,...n})}n.r(t),n.d(t,{_startChild:()=>i,isMeasurementValue:()=>r})},(e,t,n)=>{"use strict";n.r(t),n.d(t,{registerBackgroundTabDetection:()=>a});var r=n(594),i=n(278),o=n(630);function a(){o.WINDOW&&o.WINDOW.document?o.WINDOW.document.addEventListener("visibilitychange",(()=>{const e=(0,r.getActiveTransaction)();if(o.WINDOW.document.hidden&&e){const t="cancelled";("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.logger.log(`[Tracing] Transaction: ${t} -> since tab moved to the background, op: ${e.op}`),e.status||e.setStatus(t),e.setTag("visibilitychange","document.hidden"),e.finish()}})):("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.logger.warn("[Tracing] Could not set up background tab detection due to lack of global document")}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{createStore:()=>a,insert:()=>u,makeBrowserOfflineTransport:()=>f,pop:()=>c});var r=n(647),i=n(574);function o(e){return new Promise(((t,n)=>{e.oncomplete=e.onsuccess=()=>t(e.result),e.onabort=e.onerror=()=>n(e.error)}))}function a(e,t){const n=indexedDB.open(e);n.onupgradeneeded=()=>n.result.createObjectStore(t);const r=o(n);return e=>r.then((n=>e(n.transaction(t,"readwrite").objectStore(t))))}function s(e){return o(e.getAllKeys())}function u(e,t,n){return e((e=>s(e).then((r=>{if(!(r.length>=n))return e.put(t,Math.max(...r,0)+1),o(e.transaction)}))))}function c(e){return e((e=>s(e).then((t=>{if(0!==t.length)return o(e.get(t[0])).then((n=>(e.delete(t[0]),o(e.transaction).then((()=>n)))))}
9))))}function l(e){let t;function n(){return null==t&&(t=a(e.dbName||"sentry-offline",e.storeName||"queue")),t}return{insert:async t=>{try{const r=await(0,i.serializeEnvelope)(t,e.textEncoder);await u(n(),r,e.maxQueueSize||30)}catch(e){}},pop:async()=>{try{const t=await c(n());if(t)return(0,i.parseEnvelope)(t,e.textEncoder||new TextEncoder,e.textDecoder||new TextDecoder)}catch(e){}}}}function f(e){return function(e){return t=>e({...t,createStore:l})}((0,r.makeOfflineTransport)(e))}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{MIN_DELAY:()=>a,START_DELAY:()=>s,makeOfflineTransport:()=>l});var r=n(278),i=n(574),o=n(599);const a=100,s=5e3,u=36e5;function c(e,t){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.logger.info(`[Offline]: ${e}`,t)}function l(e){return t=>{const n=e(t),r=t.createStore?t.createStore(t):void 0;let l,f=s;function p(e){r&&(l&&clearTimeout(l),l=setTimeout((async()=>{l=void 0;const e=await r.pop();e&&(c("Attempting to send previously queued event"),h(e).catch((e=>{c("Failed to retry sending",e)})))}),e),"number"!=typeof l&&l.unref&&l.unref())}function d(){l||(p(f),f=Math.min(2*f,u))}async function h(e){try{const t=await n.send(e);let r=a;if(t)if(t.headers&&t.headers["retry-after"])r=(0,o.parseRetryAfterHeader)(t.headers["retry-after"]);else if((t.statusCode||0)>=400)return t;return p(r),f=s,t}catch(n){if(r&&await function(e,n,r){return!(0,i.envelopeContainsItemType)(e,["replay_event","replay_recording","client_report"])&&(!t.shouldStore||t.shouldStore(e,n,r))}(e,n,f))return await r.insert(e),d(),c("Error sending. Event queued",n),{};throw n}}return t.flushAtStartup&&d(),{send:h,flush:e=>n.flush(e)}}}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{MAX_PROFILE_DURATION_MS:()=>u,onProfilingStartRouteTransaction:()=>l,wrapTransactionWithProfiling:()=>f});var r=n(267),i=n(278),o=n(274),a=n(604),s=n(649);const u=3e4;let c=!1;function l(e){return e?f(e):(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.logger.log("[Profiling] Transaction is undefined, skipping profiling"),e)}function f(e){const t=a.WINDOW.Profiler;if("function"!=typeof t)return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.logger.log("[Profiling] Profiling is not supported by this browser, Profiler interface missing on window object."),e;if(c)return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.logger.log("[Profiling] Profiling has been disabled for the duration of the current user session."),e;const n=(0,r.getCurrentHub)().getClient(),l=n&&n.getOptions();if(!l)return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.logger.log("[Profiling] Profiling disabled, no options found."),e;const f=l.profilesSampleRate;if(!(0,s.isValidSampleRate)(f))return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.logger.warn("[Profiling] Discarding profile because of invalid sample rate."),e;if(!f)return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.logger.log("[Profiling] Discarding profile because a negative sampling decision was inherited or profileSampleRate is set to 0"),e;if(!(!0===f||Math.random()<f))return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.logger.log(`[Profiling] Discarding profile because it's not included in the random sample (sampling rate = ${Number(f)})`),e;const p=Math.floor(u/10);let d;try{d=new t({sampleInterval:10,maxBufferSize:p})}catch(e){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&(i.logger.log("[Profiling] Failed to initialize the Profiling constructor, this is likely due to a missing 'Document-Policy': 'js-profiling' header."),i.logger.log("[Profiling] Disabling profiling for current user session.")),c=!0}if(!d)return e;("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.logger.log(`[Profiling] started profiling transaction: ${e.name||e.description}`);const h=(0,o.uuid4)();async function m(){if(!e)return null;if(!d)return null;const t=e.startChild({description:"profiler.stop",op:"profiler",origin:"auto.profiler.browser"});return d.stop().then((n=>(t.finish(),y&&(a.WINDOW.clearTimeout(y),y=void 0),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.logger.log(`[Profiling] stopped profiling of transaction: ${e.name||e.description}`),n?((0,s.addProfileToMap)(h,n),null):(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.logger.log(`[Profiling] profiler returned null profile for: ${e.name||e.description}`,"this may indicate an overlapping transaction or a call to stopProfiling with a profile title that was never started"),null)))).catch((e=>(t.finish(),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.logger.log("[Profiling] error while stopping profiler:",e),null)))}let y=a.WINDOW.setTimeout((()=>{("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.logger.log("[Profiling] max profile duration elapsed, stopping profiling for:",e.name||e.description),m()}),u);const g=e.finish.bind(e);return e.finish=function(){return e?(m().then((()=>{e.setContext("profile",{profile_id:h}),g()}),(()=>{g()})),e):g()},e}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{PROFILE_MAP:()=>I,addProfileToMap:()=>D,addProfilesToEnvelope:()=>O,applyDebugMetadata:()=>R,convertJSSelfProfileToSampledFormat:()=>T,createProfilePayload:()=>w,createProfilingEvent:()=>A,enrichWithThreadInformation:()=>S,findProfiledTransactionsFromEnvelope:()=>x,isValidSampleRate:()=>N});var r=n(282),i=n(267),o=n(278),a=n(274),s=n(270),u=n(574),c=n(271),l=n(604);const f=1e6,p=String(0),d="main";let h="",m="",y="",g=l.WINDOW.navigator&&l.WINDOW.navigator.userAgent||"",v="";const b=l.WINDOW.navigator&&l.WINDOW.navigator.language||l.WINDOW.navigator&&l.WINDOW.navigator.languages&&l.WINDOW.navigator.languages[0]||"";const _=l.WINDOW.navigator&&l.WINDOW.navigator.userAgentData;var E;function S(e){return function(e){return!("thread_metadata"in e)}(e)?T(e):e}function w(e,t,n){if("transaction"!==e.type)throw new TypeError("Profiling events may only be attached to transactions, this should never occur.");if(null==t)throw new TypeError(`Cannot construct profiling event envelope without a valid profile. Got ${t} instead.`);const i=function(e){const t=e&&e.contexts&&e.contexts.trace&&e.contexts.trace.trace_id;return"string"==typeof t&&32!==t.length&&("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.logger.log(`[Profiling] Invalid traceId: ${t} on profiled event`),"string"!=typeof t?"":t}(e),s=S(t),u="number"==typeof e.start_timestamp?1e3*e.start_timestamp:Date.now(),c="number"==typeof e.timestamp?1e3*e.timestamp:Date.now();return{event_id:n,timestamp:new Date(u).toISOString(),platform:"javascript",version:"1",release:e.release||"",environment:e.environment||r.DEFAULT_ENVIRONMENT,runtime:{name:"javascript",version:l.WINDOW.navigator.userAgent},os:{name:h,version:m,build_number:g},device:{locale:b,model:v,manufacturer:g,architecture:y,is_emulator:!1},debug_meta:{images:R(t.resources)},profile:s,transactions:[{name:e.transaction||"",id:e.event_id||
9(0,a.uuid4)(),trace_id:i,active_thread_id:p,relative_start_ns:"0",relative_end_ns:(1e6*(c-u)).toFixed(0)}]}}function T(e){let t,n=0;const r={samples:[],stacks:[],frames:[],thread_metadata:{[p]:{name:d}}};if(!e.samples.length)return r;const i=e.samples[0].timestamp,o="number"==typeof performance.timeOrigin?performance.timeOrigin:s.browserPerformanceTimeOrigin||0,a=o-(s.browserPerformanceTimeOrigin||o);for(let o=0;o<e.samples.length;o++){const s=e.samples[o];if(void 0===s.stackId){void 0===t&&(t=n,r.stacks[t]=[],n++),r.samples[o]={elapsed_since_start_ns:((s.timestamp+a-i)*f).toFixed(0),stack_id:t,thread_id:p};continue}let u=e.stacks[s.stackId];const c=[];for(;u;){c.push(u.frameId);const t=e.frames[u.frameId];void 0===r.frames[u.frameId]&&(r.frames[u.frameId]={function:t.name,abs_path:"number"==typeof t.resourceId?e.resources[t.resourceId]:void 0,lineno:t.line,colno:t.column}),u=void 0===u.parentId?void 0:e.stacks[u.parentId]}const l={elapsed_since_start_ns:((s.timestamp+a-i)*f).toFixed(0),stack_id:n,thread_id:p};r.stacks[n]=c,r.samples[o]=l,n++}return r}function O(e,t){if(!t.length)return e;for(const n of t)e[1].push([{type:"profile"},n]);return e}function x(e){const t=[];return(0,u.forEachEnvelopeItem)(e,((e,n)=>{if("transaction"===n)for(let n=1;n<e.length;n++){const r=e[n];r&&r.contexts&&r.contexts.profile&&r.contexts.profile.profile_id&&t.push(e[n])}})),t}"object"==typeof(E=_)&&null!==E&&"getHighEntropyValues"in E&&_.getHighEntropyValues(["architecture","model","platform","platformVersion","fullVersionList"]).then((e=>{if(h=e.platform||"",y=e.architecture||"",v=e.model||"",m=e.platformVersion||"",e.fullVersionList&&e.fullVersionList.length>0){const t=e.fullVersionList[e.fullVersionList.length-1];g=`${t.brand} ${t.version}`}})).catch((e=>{}));const k=new WeakMap;function R(e){const t=c.GLOBAL_OBJ._sentryDebugIds;if(!t)return[];const n=(0,i.getCurrentHub)();if(!n)return[];const r=n.getClient();if(!r)return[];const o=r.getOptions();if(!o)return[];const a=o.stackParser;if(!a)return[];let s;const u=k.get(a);u?s=u:(s=new Map,k.set(a,s));const l=Object.keys(t).reduce(((e,n)=>{let r;const i=s.get(n);i?r=i:(r=a(n),s.set(n,r));for(let i=r.length-1;i>=0;i--){const o=r[i],a=o&&o.filename;if(o&&a){e[a]=t[n];break}}return e}),{}),f=[];for(const t of e)t&&l[t]&&f.push({type:"sourcemap",code_file:t,debug_id:l[t]});return f}function N(e){return"number"!=typeof e&&"boolean"!=typeof e||"number"==typeof e&&isNaN(e)?(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.logger.warn(`[Profiling] Invalid sample rate. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(e)} of type ${JSON.stringify(typeof e)}.`),!1):!0===e||!1===e||(!(e<0||e>1)||(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.logger.warn(`[Profiling] Invalid sample rate. Sample rate must be between 0 and 1. Got ${e}.`),!1))}function A(e,t,n){return function(e){return e.samples.length<2?(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.logger.log("[Profiling] Discarding profile because it contains less than 2 samples"),!1):!!e.frames.length||(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.logger.log("[Profiling] Discarding profile because it contains no frames"),!1)}(t)?w(n,t,e):null}const I=new Map;function D(e,t){if(I.set(e,t),I.size>30){const e=I.keys().next().value;I.delete(e)}}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{BrowserProfilingIntegration:()=>a});var r=n(278),i=n(648),o=n(649);class a{static __initStatic(){this.id="BrowserProfilingIntegration"}constructor(){this.name=a.id}setupOnce(e,t){this.getCurrentHub=t;const n=this.getCurrentHub().getClient();n&&"function"==typeof n.on?(n.on("startTransaction",(e=>{(0,i.wrapTransactionWithProfiling)(e)})),n.on("beforeEnvelope",(e=>{if(!o.PROFILE_MAP.size)return;const t=(0,o.findProfiledTransactionsFromEnvelope)(e);if(!t.length)return;const n=[];for(const e of t){const t=e&&e.contexts,i=t&&t.profile&&t.profile.profile_id;if(!i){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.logger.log("[Profiling] cannot find profile for a transaction without a profile context");continue}t&&t.profile&&delete t.profile;const a=o.PROFILE_MAP.get(i);if(!a){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.logger.log(`[Profiling] Could not retrieve profile for transaction: ${i}`);continue}o.PROFILE_MAP.delete(i);const s=(0,o.createProfilingEvent)(i,a,e);s&&n.push(s)}(0,o.addProfilesToEnvelope)(e,n)}))):r.logger.warn("[Profiling] Client does not support hooks, profiling will be disabled")}}a.__initStatic()},(e,t,n)=>{"use strict";n.r(t),n.d(t,{FunctionToString:()=>r.FunctionToString,InboundFilters:()=>i.InboundFilters});var r=n(571),i=n(572)},(e,t,n)=>{"use strict";n.r(t),n.d(t,{Breadcrumbs:()=>o.Breadcrumbs,Dedupe:()=>u.Dedupe,GlobalHandlers:()=>r.GlobalHandlers,HttpContext:()=>s.HttpContext,LinkedErrors:()=>a.LinkedErrors,TryCatch:()=>i.TryCatch});var r=n(621),i=n(618),o=n(619),a=n(622),s=n(625),u=n(624)},(e,t)=>{"use strict";function n(e){return JSON.stringify(e,null,2)}
9Object.defineProperty(t,"__esModule",{value:!0}),t.stringify=t.stringifyObjectKeys=void 0,t.stringifyObjectKeys=function(e){for(var t={},r=0,i=Object.entries(e);r<i.length;r++){var o=i[r],a=o[0],s=o[1];t[a]="object"==typeof s?n(s):s}return t},t.stringify=n},(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.withoutGraphQLFetch=t.excludeGraphQLFetch=void 0;t.excludeGraphQLFetch=function(e){var t,n;if("fetch"===e.category&&(null!==(n=null===(t=e.data)||void 0===t?void 0:t.url)&&void 0!==n?n:"").includes("/graphql"))return null;return e},t.withoutGraphQLFetch=function(e){return function(n,r){var i=(0,t.excludeGraphQLFetch)(n,r);return null===i?null:e(i,r)}}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{ErrorLink:()=>s,onError:()=>a});var r=n(258),i=n(392),o=n(391);function a(e){return new o.ApolloLink((function(t,n){return new i.Observable((function(r){var i,o,a;try{i=n(t).subscribe({next:function(i){i.errors&&(a=e({graphQLErrors:i.errors,response:i,operation:t,forward:n}))?o=a.subscribe({next:r.next.bind(r),error:r.error.bind(r),complete:r.complete.bind(r)}):r.next(i)},error:function(i){(a=e({operation:t,networkError:i,graphQLErrors:i&&i.result&&i.result.errors,forward:n}))?o=a.subscribe({next:r.next.bind(r),error:r.error.bind(r),complete:r.complete.bind(r)}):r.error(i)},complete:function(){a||r.complete.bind(r)()}})}catch(i){e({networkError:i,operation:t,forward:n}),r.error(i)}return function(){i&&i.unsubscribe(),o&&i.unsubscribe()}}))}))}var s=function(e){function t(t){var n=e.call(this)||this;return n.link=a(t),n}return(0,r.__extends)(t,e),t.prototype.request=function(e,t){return this.link.request(e,t)},t}(o.ApolloLink)},(e,t,n)=>{"use strict";const{ApolloLink:r,Observable:i}=n(373),{createSignalIfSupported:o,fallbackHttpConfig:a,parseAndCheckHttpResponse:s,rewriteURIForGET:u,selectHttpOptionsAndBody:c,selectURI:l,serializeFetchParameter:f}=n(451),p=n(657),d=n(660),h=n(661);e.exports=function({uri:e="/graphql",useGETForQueries:t,isExtractableFile:n=h,FormData:m,formDataAppendFile:y=d,fetch:g,fetchOptions:v,credentials:b,headers:_,includeExtensions:E}={}){const S={http:{includeExtensions:E},options:v,credentials:b,headers:_};return new r((r=>{const d=r.getContext(),{clientAwareness:{name:h,version:v}={},headers:b}=d,_={http:d.http,options:d.fetchOptions,credentials:d.credentials,headers:{...h&&{"apollographql-client-name":h},...v&&{"apollographql-client-version":v},...b}},{options:E,body:w}=c(r,a,S,_),{clone:T,files:O}=p(w,"",n);let x=l(r,e);if(O.size){delete E.headers["content-type"];const e=new(m||FormData);e.append("operations",f(T,"Payload"));const t={};let n=0;O.forEach((e=>{t[++n]=e})),e.append("map",JSON.stringify(t)),n=0,O.forEach(((t,r)=>{y(e,++n,r)})),E.body=e}else if(t&&!r.query.definitions.some((e=>"OperationDefinition"===e.kind&&"mutation"===e.operation))&&(E.method="GET"),"GET"===E.method){const{newURI:e,parseError:t}=u(x,w);if(t)return new i((e=>{e.error(t)}));x=e}else E.body=f(T,"Payload");const{controller:k}=o();k&&(E.signal&&(E.signal.aborted?k.abort():E.signal.addEventListener("abort",(()=>{k.abort()}),{once:!0})),E.signal=k.signal);const R=g||fetch;return new i((e=>{let t;return R(x,E).then((e=>(r.setContext({response:e}),e))).then(s(r)).then((t=>{e.next(t),e.complete()})).catch((n=>{t||(n.result&&n.result.errors&&n.result.data&&e.next(n.result),e.error(n))})),()=>{t=!0,k&&k.abort()}}))}))}},(e,t,n)=>{"use strict";const r=n(658);e.exports=function(e,t="",n=r){const i=new Map,o=new Map;return{clone:function e(t,r,a){let s=t;if(n(t)){s=null;const e=i.get(t);e?e.push(r):i.set(t,[r])}else{const n=Array.isArray(t)||"undefined"!=typeof FileList&&t instanceof FileList,i=t&&t.constructor===Object;if(n||i){const i=o.has(t);if(i?s=o.get(t):(s=n?[]:{},o.set(t,s)),!a.has(t)){const o=r?`${r}.`:"",u=new Set(a).add(t);if(n){let n=0;for(const r of t){const t=e(r,o+n++,u);i||s.push(t)}}else for(const n in t){const r=e(t[n],o+n,u);i||(s[n]=r)}}}}return s}(e,t,new Set),files:i}}},(e,t,n)=>{"use strict";const r=n(659);e.exports=function(e){return"undefined"!=typeof File&&e instanceof File||"undefined"!=typeof Blob&&e instanceof Blob||e instanceof r}},e=>{"use strict";e.exports=class{constructor({uri:e,name:t,type:n}){this.uri=e,this.name=t,this.type=n}}},e=>{"use strict";e.exports=function(e,t,n){e.append(t,n,n.name)}},(e,t,n)=>{"use strict";e.exports=n(658)},,,,,,,,,,,,,,,,,,,,,,,,(e,t)=>{var n;
10/*!
11	Copyright (c) 2018 Jed Watson.
12	Licensed under the MIT License (MIT), see
13	http://jedwatson.github.io/classnames
14*/!function(){"use strict";var r={}.hasOwnProperty;function i(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var o=typeof n;if("string"===o||"number"===o)e.push(n);else if(Array.isArray(n)){if(n.length){var a=i.apply(null,n);a&&e.push(a)}}else if("object"===o){if(n.toString!==Object.prototype.toString&&!n.toString.toString().includes("[native code]")){e.push(n.toString());continue}for(var s in n)r.call(n,s)&&n[s]&&e.push(s)}}}return e.join(" ")}e.exports?(i.default=i,e.exports=i):void 0===(n=function(){return i}
14.apply(t,[]))||(e.exports=n)}()},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,(e,t,n)=>{"use strict";n.r(t),n.d(t,{AbortedDeferredError:()=>i.AbortedDeferredError,Await:()=>ie,MemoryRouter:()=>J,Navigate:()=>Z,NavigationType:()=>i.Action,Outlet:()=>ee,Route:()=>te,Router:()=>ne,RouterProvider:()=>Q,Routes:()=>re,UNSAFE_DataRouterContext:()=>a,UNSAFE_DataRouterStateContext:()=>s,UNSAFE_LocationContext:()=>l,UNSAFE_NavigationContext:()=>c,UNSAFE_RouteContext:()=>f,UNSAFE_mapRouteProperties:()=>fe,UNSAFE_useRouteId:()=>j,UNSAFE_useRoutesImpl:()=>x,createMemoryRouter:()=>pe,createPath:()=>i.createPath,createRoutesFromChildren:()=>ce,createRoutesFromElements:()=>ce,defer:()=>i.defer,generatePath:()=>i.generatePath,isRouteErrorResponse:()=>i.isRouteErrorResponse,json:()=>i.json,matchPath:()=>i.matchPath,matchRoutes:()=>i.matchRoutes,parsePath:()=>i.parsePath,redirect:()=>i.redirect,redirectDocument:()=>i.redirectDocument,renderMatches:()=>le,resolvePath:()=>i.resolvePath,unstable_useBlocker:()=>Y,useActionData:()=>V,useAsyncError:()=>$,useAsyncValue:()=>z,useHref:()=>d,useInRouterContext:()=>h,useLoaderData:()=>q,useLocation:()=>m,useMatch:()=>g,useMatches:()=>B,useNavigate:()=>b,useNavigation:()=>F,useNavigationType:()=>y,useOutlet:()=>S,useOutletContext:()=>E,useParams:()=>w,useResolvedPath:()=>T,useRevalidator:()=>U,useRouteError:()=>H,useRouteLoaderData:()=>G,useRoutes:()=>O});var r=n(242),i=n(729);
15/**
16 * React Router v6.16.0
17 *
18 * Copyright (c) Remix Software Inc.
19 *
20 * This source code is licensed under the MIT license found in the
21 * LICENSE.md file in the root directory of this source tree.
22 *
23 * @license MIT
24 */
25function o(){return o=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o.apply(this,arguments)}const a=r.createContext(null);const s=r.createContext(null);const u=r.createContext(null);const c=r.createContext(null);const l=r.createContext(null);const f=r.createContext({outlet:null,matches:[],isDataRoute:!1});const p=r.createContext(null);function d(e,t){let{relative:n}=void 0===t?{}:t;h()||(0,i.UNSAFE_invariant)(!1);let{basename:o,navigator:a}=r.useContext(c),{hash:s,pathname:u,search:l}=T(e,{relative:n}),f=u;return"/"!==o&&(f="/"===u?o:(0,i.joinPaths)([o,u])),a.createHref({pathname:f,search:l,hash:s})}function h(){return null!=r.useContext(l)}function m(){return h()||(0,i.UNSAFE_invariant)(!1),r.useContext(l).location}function y(){return r.useContext(l).navigationType}function g(e){h()||(0,i.UNSAFE_invariant)(!1);let{pathname:t}=m();return r.useMemo((()=>(0,i.matchPath)(e,t)),[t,e])}function v(e){r.useContext(c).static||r.useLayoutEffect(e)}function b(){let{isDataRoute:e}=r.useContext(f);return e?function(){let{router:e}=P(D.UseNavigateStable),t=M(C.UseNavigateStable),n=r.useRef(!1);return v((()=>{n.current=!0})),r.useCallback((function(r,i){void 0===i&&(i={}),n.current&&("number"==typeof r?e.navigate(r):e.navigate(r,o({fromRouteId:t},i)))}),[e,t])}():function(){h()||(0,i.UNSAFE_invariant)(!1);let e=r.useContext(a),{basename:t,navigator:n}=r.useContext(c),{matches:o}=r.useContext(f),{pathname:s}=m(),u=JSON.stringify((0,i.UNSAFE_getPathContributingMatches)(o).map((e=>e.pathnameBase))),l=r.useRef(!1);return v((()=>{l.current=!0})),r.useCallback((function(r,o){if(void 0===o&&(o={}),!l.current)return;if("number"==typeof r)return void n.go(r);let a=(0,i.resolveTo)(r,JSON.parse(u),s,"path"===o.relative);null==e&&"/"!==t&&(a.pathname="/"===a.pathname?t:(0,i.joinPaths)([t,a.pathname])),(o.replace?n.replace:n.push)(a,o.state,o)}),[t,n,u,s,e])}()}const _=r.createContext(null);function E(){return r.useContext(_)}function S(e){let t=r.useContext(f).outlet;return t?r.createElement(_.Provider,{value:e},t):t}function w(){let{matches:e}=r.useContext(f),t=e[e.length-1];return t?t.params:{}}function T(e,t){let{relative:n}=void 0===t?{}:t,{matches:o}=r.useContext(f),{pathname:a}=m(),s=JSON.stringify((0,i.UNSAFE_getPathContributingMatches)(o).map((e=>e.pathnameBase)));return r.useMemo((()=>(0,i.resolveTo)(e,JSON.parse(s),a,"path"===n)),[e,s,a,n])}function O(e,t){return x(e,t)}function x(e,t,n){h()||(0,i.UNSAFE_invariant)(!1);let{navigator:a}=r.useContext(c),{matches:s}=r.useContext(f),u=s[s.length-1],p=u?u.params:{},d=(u&&u.pathname,u?u.pathnameBase:"/");u&&u.route;let y,g=m();if(t){var v;let e="string"==typeof t?(0,i.parsePath)(t):t;"/"===d||(null==(v=e.pathname)?void 0:v.startsWith(d))||(0,i.UNSAFE_invariant)(!1),y=e}else y=g;let b=y.pathname||"/",_="/"===d?b:b.slice(d.length)||"/",E=(0,i.matchRoutes)(e,{pathname:_});let S=I(E&&E.map((e=>Object.assign({},e,{params:Object.assign({},p,e.params),pathname:(0,i.joinPaths)([d,a.encodeLocation?a.encodeLocation(e.pathname).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?d:(0,i.joinPaths)([d,a.encodeLocation?a.encodeLocation(e.pathnameBase).pathname:e.pathnameBase])}))),s,n);return t&&S?r.createElement(l.Provider,{value:{location:o({pathname:"/",search:"",hash:"",state:null,key:"default"},y),navigationType:i.Action.Pop}},S):S}function k(){let e=H(),t=(0,i.isRouteErrorResponse)(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,o="rgba(200,200,200, 0.5)",a={padding:"0.5rem",backgroundColor:o};return r.createElement(r.Fragment,null,r.createElement("h2",null,"Unexpected Application 
25Error!"),r.createElement("h3",{style:{fontStyle:"italic"}},t),n?r.createElement("pre",{style:a},n):null,null)}const R=r.createElement(k,null);class N extends r.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||"idle"!==t.revalidation&&"idle"===e.revalidation?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error||t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){console.error("React Router caught the following error during render",e,t)}render(){return this.state.error?r.createElement(f.Provider,{value:this.props.routeContext},r.createElement(p.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function A(e){let{routeContext:t,match:n,children:i}=e,o=r.useContext(a);return o&&o.static&&o.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=n.route.id),r.createElement(f.Provider,{value:t},i)}function I(e,t,n){var o;if(void 0===t&&(t=[]),void 0===n&&(n=null),null==e){var a;if(null==(a=n)||!a.errors)return null;e=n.matches}let s=e,u=null==(o=n)?void 0:o.errors;if(null!=u){let e=s.findIndex((e=>e.route.id&&(null==u?void 0:u[e.route.id])));e>=0||(0,i.UNSAFE_invariant)(!1),s=s.slice(0,Math.min(s.length,e+1))}return s.reduceRight(((e,i,o)=>{let a=i.route.id?null==u?void 0:u[i.route.id]:null,c=null;n&&(c=i.route.errorElement||R);let l=t.concat(s.slice(0,o+1)),f=()=>{let t;return t=a?c:i.route.Component?r.createElement(i.route.Component,null):i.route.element?i.route.element:e,r.createElement(A,{match:i,routeContext:{outlet:e,matches:l,isDataRoute:null!=n},children:t})};return n&&(i.route.ErrorBoundary||i.route.errorElement||0===o)?r.createElement(N,{location:n.location,revalidation:n.revalidation,component:c,error:a,children:f(),routeContext:{outlet:null,matches:l,isDataRoute:!0}}):f()}),null)}var D=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(D||{}),C=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(C||{});function P(e){let t=r.useContext(a);return t||(0,i.UNSAFE_invariant)(!1),t}function L(e){let t=r.useContext(s);return t||(0,i.UNSAFE_invariant)(!1),t}function M(e){let t=function(e){let t=r.useContext(f);return t||(0,i.UNSAFE_invariant)(!1),t}(),n=t.matches[t.matches.length-1];return n.route.id||(0,i.UNSAFE_invariant)(!1),n.route.id}function j(){return M(C.UseRouteId)}function F(){return L(C.UseNavigation).navigation}function U(){let e=P(D.UseRevalidator),t=L(C.UseRevalidator);return r.useMemo((()=>({revalidate:e.router.revalidate,state:t.revalidation})),[e.router.revalidate,t.revalidation])}function B(){let{matches:e,loaderData:t}=L(C.UseMatches);return r.useMemo((()=>e.map((e=>(0,i.UNSAFE_convertRouteMatchToUiMatch)(e,t)))),[e,t])}function q(){let e=L(C.UseLoaderData),t=M(C.UseLoaderData);if(!e.errors||null==e.errors[t])return e.loaderData[t];console.error("You cannot `useLoaderData` in an errorElement (routeId: "+t+")")}function G(e){return L(C.UseRouteLoaderData).loaderData[e]}function V(){let e=L(C.UseActionData);return r.useContext(f)||(0,i.UNSAFE_invariant)(!1),Object.values((null==e?void 0:e.actionData)||{})[0]}function H(){var e;let t=r.useContext(p),n=L(C.UseRouteError),i=M(C.UseRouteError);return t||(null==(e=n.errors)?void 0:e[i])}function z(){let e=r.useContext(u);return null==e?void 0:e._data}function $(){let e=r.useContext(u);return null==e?void 0:e._error}let K=0;function Y(e){let{router:t,basename:n}=P(D.UseBlocker),a=L(C.UseBlocker),[s,u]=r.useState(""),c=r.useCallback((t=>{if("function"!=typeof e)return!!e;if("/"===n)return e(t);let{currentLocation:r,nextLocation:a,historyAction:s}=t;return e({currentLocation:o({},r,{pathname:(0,i.stripBasename)(r.pathname,n)||r.pathname}),nextLocation:o({},a,{pathname:(0,i.stripBasename)(a.pathname,n)||a.pathname}),historyAction:s})}),[n,e]);return r.useEffect((()=>{let e=String(++K);return u(e),()=>t.deleteBlocker(e)}),[t]),r.useEffect((()=>{""!==s&&t.getBlocker(s,c)}),[t,s,c]),s&&a.blockers.has(s)?a.blockers.get(s):i.IDLE_BLOCKER}const W=r.startTransition;function Q(e){let{fallbackElement:t,router:n,future:i}=e,[o,u]=r.useState(n.state),{v7_startTransition:c}=i||{},l=r.useCallback((e=>{c&&W?W((()=>u(e))):u(e)}),[u,c]);r.useLayoutEffect((()=>n.subscribe(l)),[n,l]);let f=r.useMemo((()=>({createHref:n.createHref,encodeLocation:n.encodeLocation,go:e=>n.navigate(e),push:(e,t,r)=>n.navigate(e,{state:t,preventScrollReset:null==r?void 0:r.preventScrollReset}),replace:(e,t,r)=>n.navigate(e,{replace:!0,state:t,preventScrollReset:null==r?void 0:r.preventScrollReset})})),[n]),p=n.basename||"/",d=r.useMemo((()=>({router:n,navigator:f,static:!1,basename:p})),[n,f,p]);return r.createElement(r.Fragment,null,r.createElement(a.Provider,{value:d},r.createElement(s.Provider,{value:o},r.createElement(ne,{basename:p,location:o.location,navigationType:o.historyAction,navigator:f},o.initialized?r.createElement(X,{routes:n.routes,state:o}):t))),null)}function X(e){let{routes:t,state:n}=e;return x(t,void 0,n)}function J(e){let{basename:t,children:n,initialEntries:o,initialIndex:a,future:s}=e,u=r.useRef();null==u.current&&(u.current=(0,i.createMemoryHistory)({initialEntries:o,initialIndex:a,v5Compat:!0}));let c=u.current,[l,f]=r.useState({action:c.action,location:c.location}),{v7_startTransition:p}=s||{},d=r.useCallback((e=>{p&&W?W((()=>f(e))):f(e)}),[f,p]);return r.useLayoutEffect((()=>c.listen(d)),[c,d]),r.createElement(ne,{basename:t,children:n,location:l.location,navigationType:l.action,navigator:c})}function Z(e){let{to:t,replace:n,state:o,relative:a}=e;h()||(0,i.UNSAFE_invariant)(!1);let{matches:s}=r.useContext(f),{pathname:u}=m(),c=b(),l=(0,i.resolveTo)(t,(0,i.UNSAFE_getPathContributingMatches)(s).map((e=>e.pathnameBase)),u,"path"===a),p=JSON.stringify(l);return r.useEffect((()=>c(JSON.parse(p),{replace:n,state:o,relative:a})),[c,p,a,n,o]),null}function ee(e){return S(e.context)}function te(e){(0,i.UNSAFE_invariant)(!1)}function ne(e){let{basename:t="/",children:n=null,location:o,navigationType:a=i.Action.Pop,navigator:s,static:u=!1}=e;h()&&(0,i.UNSAFE_invariant)(!1);let f=t.replace(/^\/*/,"/"),p=r.useMemo((()=>({basename:f,navigator:s,static:u})),[f,s,u]);"string"==typeof o&&(o=(0,i.parsePath)(o));let{pathname:d="/",search:m="",hash:y="",state:g=null,key:v="default"}=o,b=r.useMemo((()=>{let e=(0,i.stripBasename)(d,f);return null==e?null:{location:{pathname:e,search:m,hash:y,state:g,key:v},navigationType:a}}),[f,d,m,y,g,v,a]);return null==b?null:r.createElement(c.Provider,{value:p},r.createElement(l.Provider,{children:n,value:b}))}function re(e){let{children:t,location:n}=e;return O(ce(t),n)}function ie(e){let{children:t,errorElement:n,resolve:i}=e;return r.createElement(se,{resolve:i,errorElement:n},r.createElement(ue,null,t))}
25var oe=function(e){return e[e.pending=0]="pending",e[e.success=1]="success",e[e.error=2]="error",e}(oe||{});const ae=new Promise((()=>{}));class se extends r.Component{constructor(e){super(e),this.state={error:null}}static getDerivedStateFromError(e){return{error:e}}componentDidCatch(e,t){console.error("<Await> caught the following error during render",e,t)}render(){let{children:e,errorElement:t,resolve:n}=this.props,o=null,a=oe.pending;if(n instanceof Promise)if(this.state.error){a=oe.error;let e=this.state.error;o=Promise.reject().catch((()=>{})),Object.defineProperty(o,"_tracked",{get:()=>!0}),Object.defineProperty(o,"_error",{get:()=>e})}else n._tracked?(o=n,a=void 0!==o._error?oe.error:void 0!==o._data?oe.success:oe.pending):(a=oe.pending,Object.defineProperty(n,"_tracked",{get:()=>!0}),o=n.then((e=>Object.defineProperty(n,"_data",{get:()=>e})),(e=>Object.defineProperty(n,"_error",{get:()=>e}))));else a=oe.success,o=Promise.resolve(),Object.defineProperty(o,"_tracked",{get:()=>!0}),Object.defineProperty(o,"_data",{get:()=>n});if(a===oe.error&&o._error instanceof i.AbortedDeferredError)throw ae;if(a===oe.error&&!t)throw o._error;if(a===oe.error)return r.createElement(u.Provider,{value:o,children:t});if(a===oe.success)return r.createElement(u.Provider,{value:o,children:e});throw o}}function ue(e){let{children:t}=e,n=z(),i="function"==typeof t?t(n):t;return r.createElement(r.Fragment,null,i)}function ce(e,t){void 0===t&&(t=[]);let n=[];return r.Children.forEach(e,((e,o)=>{if(!r.isValidElement(e))return;let a=[...t,o];if(e.type===r.Fragment)return void n.push.apply(n,ce(e.props.children,a));e.type!==te&&(0,i.UNSAFE_invariant)(!1),e.props.index&&e.props.children&&(0,i.UNSAFE_invariant)(!1);let s={id:e.props.id||a.join("-"),caseSensitive:e.props.caseSensitive,element:e.props.element,Component:e.props.Component,index:e.props.index,path:e.props.path,loader:e.props.loader,action:e.props.action,errorElement:e.props.errorElement,ErrorBoundary:e.props.ErrorBoundary,hasErrorBoundary:null!=e.props.ErrorBoundary||null!=e.props.errorElement,shouldRevalidate:e.props.shouldRevalidate,handle:e.props.handle,lazy:e.props.lazy};e.props.children&&(s.children=ce(e.props.children,a)),n.push(s)})),n}function le(e){return I(e)}function fe(e){let t={hasErrorBoundary:null!=e.ErrorBoundary||null!=e.errorElement};return e.Component&&Object.assign(t,{element:r.createElement(e.Component),Component:void 0}),e.ErrorBoundary&&Object.assign(t,{errorElement:r.createElement(e.ErrorBoundary),ErrorBoundary:void 0}),t}function pe(e,t){return(0,i.createRouter)({basename:null==t?void 0:t.basename,future:o({},null==t?void 0:t.future,{v7_prependBasename:!0}),history:(0,i.createMemoryHistory)({initialEntries:null==t?void 0:t.initialEntries,initialIndex:null==t?void 0:t.initialIndex}),hydrationData:null==t?void 0:t.hydrationData,routes:e,mapRouteProperties:fe}).initialize()}},(e,t,n)=>{"use strict";
26/**
27 * @remix-run/router v1.9.0
28 *
29 * Copyright (c) Remix Software Inc.
30 *
31 * This source code is licensed under the MIT license found in the
32 * LICENSE.md file in the root directory of this source tree.
33 *
34 * @license MIT
35 */
36function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}var i;n.r(t),n.d(t,{AbortedDeferredError:()=>$,Action:()=>i,IDLE_BLOCKER:()=>ue,IDLE_FETCHER:()=>se,IDLE_NAVIGATION:()=>ae,UNSAFE_DEFERRED_SYMBOL:()=>pe,UNSAFE_DeferredData:()=>K,UNSAFE_ErrorResponseImpl:()=>J,UNSAFE_convertRouteMatchToUiMatch:()=>_,UNSAFE_convertRoutesToDataRoutes:()=>v,UNSAFE_getPathContributingMatches:()=>F,UNSAFE_invariant:()=>c,UNSAFE_warning:()=>l,createBrowserHistory:()=>s,createHashHistory:()=>u,createMemoryHistory:()=>a,createPath:()=>d,createRouter:()=>fe,createStaticHandler:()=>de,defer:()=>W,generatePath:()=>D,getStaticContextFromError:()=>he,getToPathname:()=>B,isDeferredData:()=>je,isRouteErrorResponse:()=>Z,joinPaths:()=>q,json:()=>z,matchPath:()=>C,matchRoutes:()=>b,normalizePathname:()=>G,parsePath:()=>h,redirect:()=>Q,redirectDocument:()=>X,resolvePath:()=>M,resolveTo:()=>U,stripBasename:()=>L}),function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"}(i||(i={}));const o="popstate";function a(e){void 0===e&&(e={});let t,{initialEntries:n=["/"],initialIndex:r,v5Compat:o=!1}=e;t=n.map(((e,t)=>m(e,"string"==typeof e?null:e.state,0===t?"default":void 0)));let a=c(null==r?t.length-1:r),s=i.Pop,u=null;function c(e){return Math.min(Math.max(e,0),t.length-1)}function f(){return t[a]}function m(e,n,r){void 0===n&&(n=null);let i=p(t?f().pathname:"/",e,n,r);return l("/"===i.pathname.charAt(0),"relative pathnames are not supported in memory history: "+JSON.stringify(e)),i}function y(e){return"string"==typeof e?e:d(e)}return{get index(){return a},get action(){return s},get location(){return f()},createHref:y,createURL:e=>new URL(y(e),"http://localhost"),encodeLocation(e){let t="string"==typeof e?h(e):e;return{pathname:t.pathname||"",search:t.search||"",hash:t.hash||""}},push(e,n){s=i.Push;let r=m(e,n);a+=1,t.splice(a,t.length,r),o&&u&&u({action:s,location:r,delta:1})},replace(e,n){s=i.Replace;let r=m(e,n);t[a]=r,o&&u&&u({action:s,location:r,delta:0})},go(e){s=i.Pop;let n=c(a+e),r=t[n];a=n,u&&u({action:s,location:r,delta:e})},listen:e=>(u=e,()=>{u=null})}}function s(e){return void 0===e&&(e={}),m((function(e,t){let{pathname:n,search:r,hash:i}=e.location;return p("",{pathname:n,search:r,hash:i},t.state&&t.state.usr||null,t.state&&t.state.key||"default")}),(function(e,t){return"string"==typeof t?t:d(t)}),null,e)}function u(e){return void 0===e&&(e={}),m((function(e,t){let{pathname:n="/",search:r="",hash:i=""}=h(e.location.hash.substr(1));return n.startsWith("/")||n.startsWith(".")||(n="/"+n),p("",{pathname:n,search:r,hash:i},t.state&&t.state.usr||null,t.state&&t.state.key||"default")}),(function(e,t){let n=e.document.querySelector("base"),r="";if(n&&n.getAttribute("href")){let t=e.location.href,n=t.indexOf("#");r=-1===n?t:t.slice(0,n)}return r+"#"+("string"==typeof t?t:d(t))}),(function(e,t){l("/"===e.pathname.charAt(0),"relative pathnames are not supported in hash history.push("+J
vendor: 2,539 bytes, line 36
36SON.stringify(t)+")")}),e)}function c(e,t){if(!1===e||null==e)throw new Error(t)}function l(e,t){if(!e){"undefined"!=typeof console&&console.warn(t);try{throw new Error(t)}catch(e){}}}function f(e,t){return{usr:e.state,key:e.key,idx:t}}function p(e,t,n,i){return void 0===n&&(n=null),r({pathname:"string"==typeof e?e:e.pathname,search:"",hash:""},"string"==typeof t?h(t):t,{state:n,key:t&&t.key||i||Math.random().toString(36).substr(2,8)})}function d(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&"?"!==n&&(t+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(t+="#"===r.charAt(0)?r:"#"+r),t}function h(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function m(e,t,n,a){void 0===a&&(a={});let{window:s=document.defaultView,v5Compat:u=!1}=a,l=s.history,h=i.Pop,m=null,y=g();function g(){return(l.state||{idx:null}).idx}function v(){h=i.Pop;let e=g(),t=null==e?null:e-y;y=e,m&&m({action:h,location:_.location,delta:t})}function b(e){let t="null"!==s.location.origin?s.location.origin:s.location.href,n="string"==typeof e?e:d(e);return c(t,"No window.location.(origin|href) available to create URL for href: "+n),new URL(n,t)}null==y&&(y=0,l.replaceState(r({},l.state,{idx:y}),""));let _={get action(){return h},get location(){return e(s,l)},listen(e){if(m)throw new Error("A history only accepts one active listener");return s.addEventListener(o,v),m=e,()=>{s.removeEventListener(o,v),m=null}},createHref:e=>t(s,e),createURL:b,encodeLocation(e){let t=b(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:function(e,t){h=i.Push;let r=p(_.location,e,t);n&&n(r,e),y=g()+1;let o=f(r,y),a=_.createHref(r);try{l.pushState(o,"",a)}catch(e){if(e instanceof DOMException&&"DataCloneError"===e.name)throw e;s.location.assign(a)}u&&m&&m({action:h,location:_.location,delta:1})},replace:function(e,t){h=i.Replace;let r=p(_.location,e,t);n&&n(r,e),y=g();let o=f(r,y),a=_.createHref(r);l.replaceState(o,"",a),u&&m&&m({action:h,location:_.location,delta:0})},go:e=>l.go(e)};return _}var y;!function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"}(y||(y={}));const g=new Set(["lazy","caseSensitive","path","id","index","children"]);function v(e,t,n,i){return void 0===n&&(n=[]),void 0===i&&(i={}),e.map(((e,o)=>{let a=[...n,o],s="string"==typeof e.id?e.id:a.join("-");if(c(!0!==e.index||!e.children,"Cannot specify children on an index route"),c(!i[s],'Found a route id collision on i
36d "'+s+"\".  Route id's must be globally unique within Data Router usages"),function(e){return!0===e.index}(e)){let n=r({},e,t(e),{id:s});return i[s]=n,n}{let n=r({},e,t(e),{id:s,children:void 0});return i[s]=n,e.children&&(n.children=v(e.children,t,a,i)),n}}))}function b(e,t,n){void 0===n&&(n="/");let r=L(("string"==typeof t?h(t):t).pathname||"/",n);if(null==r)return null;let i=E(e);!function(e){e.sort(((e,t)=>e.score!==t.score?t.score-e.score:function(e,t){let n=e.length===t.length&&e.slice(0,-1).every(((e,n)=>e===t[n]));return n?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map((e=>e.childrenIndex)),t.routesMeta.map((e=>e.childrenIndex)))))}(i);let o=null;for(let e=0;null==o&&e<i.length;++e)o=I(i[e],P(r));return o}function _(e,t){let{route:n,pathname:r,params:i}=e;return{id:n.id,pathname:r,params:i,data:t[n.id],handle:n.handle}}function E(e,t,n,r){void 0===t&&(t=[]),void 0===n&&(n=[]),void 0===r&&(r="");let i=(e,i,o)=>{let a={relativePath:void 0===o?e.path||"":o,caseSensitive:!0===e.caseSensitive,childrenIndex:i,route:e};a.relativePath.startsWith("/")&&(c(a.relativePath.startsWith(r),'Absolute route path "'+a.relativePath+'" nested under path "'+r+'" is not valid. An absolute child route path must start with the combined path of all its parent routes.'),a.relativePath=a.relativePath.slice(r.length));let s=q([r,a.relativePath]),u=n.concat(a);e.children&&e.children.length>0&&(c(!0!==e.index,'Index routes must not have child routes. Please remove all child routes from route path "'+s+'".'),E(e.children,t,u,s)),(null!=e.path||e.index)&&t.push({path:s,score:A(s,e.index),routesMeta:u})};return e.forEach(((e,t)=>{var n;if(""!==e.path&&null!=(n=e.path)&&n.includes("?"))for(let n of S(e.path))i(e,t,n);else i(e,t)})),t}function S(e){let t=e.split("/");if(0===t.length)return[];let[n,...r]=t,i=n.endsWith("?"),o=n.replace(/\?$/,"");if(0===r.length)return i?[o,""]:[o];let a=S(r.join("/")),s=[];return s.push(...a.map((e=>""===e?o:[o,e].join("/")))),i&&s.push(...a),s.map((t=>e.startsWith("/")&&""===t?"/":t))}const w=/^:\w+$/,T=3,O=2,x=1,k=10,R=-2,N=e=>"*"===e;function A(e,t){let n=e.split("/"),r=n.length;return n.some(N)&&(r+=R),t&&(r+=O),n.filter((e=>!N(e))).reduce(((e,t)=>e+(w.test(t)?T:""===t?x:k)),r)}function I(e,t){let{routesMeta:n}=e,r={},i="/",o=[];for(let e=0;e<n.length;++e){let a=n[e],s=e===n.length-1,u="/"===i?t:t.slice(i.length)||"/",c=C({path:a.relativePath,caseSensitive:a.caseSensitive,end:s},u);if(!c)return null;
36Object.assign(r,c.params);let l=a.route;o.push({params:r,pathname:q([i,c.pathname]),pathnameBase:G(q([i,c.pathnameBase])),route:l}),"/"!==c.pathnameBase&&(i=q([i,c.pathnameBase]))}return o}function D(e,t){void 0===t&&(t={});let n=e;n.endsWith("*")&&"*"!==n&&!n.endsWith("/*")&&(l(!1,'Route path "'+n+'" will be treated as if it were "'+n.replace(/\*$/,"/*")+'" because the `*` character must always follow a `/` in the pattern. To get rid of this warning, please change the route path to "'+n.replace(/\*$/,"/*")+'".'),n=n.replace(/\*$/,"/*"));const r=n.startsWith("/")?"/":"",i=e=>null==e?"":"string"==typeof e?e:String(e);return r+n.split(/\/+/).map(((e,n,r)=>{if(n===r.length-1&&"*"===e){return i(t["*"])}const o=e.match(/^:(\w+)(\??)$/);if(o){const[,e,n]=o;let r=t[e];return c("?"===n||null!=r,'Missing ":'+e+'" param'),i(r)}return e.replace(/\?$/g,"")})).filter((e=>!!e)).join("/")}function C(e,t){"string"==typeof e&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=function(e,t,n){void 0===t&&(t=!1);void 0===n&&(n=!0);l("*"===e||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were "'+e.replace(/\*$/,"/*")+'" because the `*` character must always follow a `/` in the pattern. To get rid of this warning, please change the route path to "'+e.replace(/\*$/,"/*")+'".');let r=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^$?{}|()[\]]/g,"\\$&").replace(/\/:(\w+)/g,((e,t)=>(r.push(t),"/([^\\/]+)")));e.endsWith("*")?(r.push("*"),i+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?i+="\\/*$":""!==e&&"/"!==e&&(i+="(?:(?=\\/|$))");let o=new RegExp(i,t?void 0:"i");return[o,r]}(e.path,e.caseSensitive,e.end),i=t.match(n);if(!i)return null;let o=i[0],a=o.replace(/(.)\/+$/,"$1"),s=i.slice(1);return{params:r.reduce(((e,t,n)=>{if("*"===t){let e=s[n]||"";a=o.slice(0,o.length-e.length).replace(/(.)\/+$/,"$1")}return e[t]=function(e,t){try{return decodeURIComponent(e)}catch(n){return l(!1,'The value for the URL param "'+t+'" will not be decoded because the string "'+e+'" is a malformed URL segment. This is probably due to a bad percent encoding ('+n+")."),e}}(s[n]||"",t),e}),{}),pathname:o,pathnameBase:a,pattern:e}}function P(e){try{return decodeURI(e)}catch(t){return l(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent encoding ('+t+")."),e}}function L(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&"/"!==r?null:e.slice(n)||"/"}function M(e,t){void 0===t&&(t="/");let{pathname:n,search:r="",hash:i=""}="string"==typeof e?h(e):e,o=n?n.startsWith("/")?n:function(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach((e=>{".."===e?n.length>1&&n.pop():"."!==e&&n.push(e)})),n.length>1?n.join("/"):"/"}(n,t):t;return{pathname:o,search:V(r),hash:H(i)}}function j(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified `to."+t+"` field ["+JSON.stringify(r)+"].  Please separate it out to the `to."+n+'` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.'}function F(e){return e.filter(((e,t)=>0===t||e.route.path&&e.route.path.length>0))}function U(e,t,n,i){let o;void 0===i&&(i=!1),"string"==typeof e?o=h(e):(o=r({},e),c(!o.pathname||!o.pathname.includes("?"),j("?","pathname","search",o)),c(!o.pathname||!o.pathname.includes("#"),j("#","pathname","hash",o)),c(!o.search||!o.search.includes("#"),j("#","search","hash",o)));let a,s=""===e||""===o.pathname,u=s?"/":o.pathname;if(i||null==u)a=n;else{let e=t.length-1;if(u.startsWith("..")){let t=u.split("/");for(;".."===t[0];)t.shift(),e-=1;o.pathname=t.join("/")}a=e>=0?t[e]:"/"}let l=M(o,a),f=u&&"/"!==u&&u.endsWith("/"),p=(s||"."===u)&&n.endsWith("/");return l.pathname.endsWith("/")||!f&&!p||(l.pathname+="/"),l}function B(e){return""===e||""===e.pathname?"/":"string"==typeof e?h(e).pathname:e.pathname}const q=e=>e.join("/").replace(/\/\/+/g,"/"),G=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),V=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",H=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"",z=function(e,t){void 0===t&&(t={});let n="number"==typeof t?{status:t}:t,i=new Headers(n.headers);return i.has("Content-Type")||i.set("Content-Type","application/json; charset=utf-8"),new Response(JSON.stringify(e),r({},n,{headers:i}))};
36class $ extends Error{}class K{constructor(e,t){let n;this.pendingKeysSet=new Set,this.subscribers=new Set,this.deferredKeys=[],c(e&&"object"==typeof e&&!Array.isArray(e),"defer() only accepts plain objects"),this.abortPromise=new Promise(((e,t)=>n=t)),this.controller=new AbortController;let r=()=>n(new $("Deferred data aborted"));this.unlistenAbortSignal=()=>this.controller.signal.removeEventListener("abort",r),this.controller.signal.addEventListener("abort",r),this.data=Object.entries(e).reduce(((e,t)=>{let[n,r]=t;return Object.assign(e,{[n]:this.trackPromise(n,r)})}),{}),this.done&&this.unlistenAbortSignal(),this.init=t}trackPromise(e,t){if(!(t instanceof Promise))return t;this.deferredKeys.push(e),this.pendingKeysSet.add(e);let n=Promise.race([t,this.abortPromise]).then((t=>this.onSettle(n,e,void 0,t)),(t=>this.onSettle(n,e,t)));return n.catch((()=>{})),Object.defineProperty(n,"_tracked",{get:()=>!0}),n}onSettle(e,t,n,r){if(this.controller.signal.aborted&&n instanceof $)return this.unlistenAbortSignal(),Object.defineProperty(e,"_error",{get:()=>n}),Promise.reject(n);if(this.pendingKeysSet.delete(t),this.done&&this.unlistenAbortSignal(),void 0===n&&void 0===r){let n=new Error('Deferred data for key "'+t+'" resolved/rejected with `undefined`, you must resolve/reject with a value or `null`.');return Object.defineProperty(e,"_error",{get:()=>n}),this.emit(!1,t),Promise.reject(n)}return void 0===r?(Object.defineProperty(e,"_error",{get:()=>n}),this.emit(!1,t),Promise.reject(n)):(Object.defineProperty(e,"_data",{get:()=>r}),this.emit(!1,t),r)}emit(e,t){this.subscribers.forEach((n=>n(e,t)))}subscribe(e){return this.subscribers.add(e),()=>this.subscribers.delete(e)}cancel(){this.controller.abort(),this.pendingKeysSet.forEach(((e,t)=>this.pendingKeysSet.delete(t))),this.emit(!0)}async resolveData(e){let t=!1;if(!this.done){let n=()=>this.cancel();e.addEventListener("abort",n),t=await new Promise((t=>{this.subscribe((r=>{e.removeEventListener("abort",n),(r||this.done)&&t(r)}))}))}return t}get done(){return 0===this.pendingKeysSet.size}get unwrappedData(){return c(null!==this.data&&this.done,"Can only unwrap data on initialized and settled deferreds"),Object.entries(this.data).reduce(((e,t)=>{let[n,r]=t;return Object.assign(e,{[n]:Y(r)})}),{})}get pendingKeys(){return Array.from(this.pendingKeysSet)}}function Y(e){if(!function(e){return e instanceof Promise&&!0===e._tracked}(e))return e;if(e._error)throw e._error;return e._data}const W=function(e,t){return void 0===t&&(t={}),new K(e,"number"==typeof t?{status:t}:t)},Q=function(e,t){void 0===t&&(t=302);let n=t;"number"==typeof n?n={status:n}:void 0===n.status&&(n.status=302);let i=new Headers(n.headers);return i.set("Location",e),new Response(null,r({},n,{headers:i}))},X=(e,t)=>{let n=Q(e,t);return n.headers.set("X-Remix-Reload-Document","true"),n};class J{constructor(e,t,n,r){void 0===r&&(r=!1),this.status=e,this.statusText=t||"",this.internal=r,n instanceof Error?(this.data=n.toString(),this.error=n):this.data=n}}function Z(e){return null!=e&&"number"==typeof e.status&&"string"==typeof e.statusText&&"boolean"==typeof e.internal&&"data"in e}const ee=["post","put","patch","delete"],te=new Set(ee),ne=["get",...ee],re=new Set(ne),ie=new Set([301,302,303,307,308]),oe=new Set([307,308]),ae={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},se={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},ue={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},ce=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,le=e=>({hasErrorBoundary:Boolean(e.hasErrorBoundary)});function fe(e){const t=e.window?e.window:"undefined"!=typeof window?window:void 0,n=void 0!==t&&void 0!==t.document&&void 0!==t.document.createElement,o=!n;let a;if(c(e.routes.length>0,"You must provide a non-empty routes array to createRouter"),e.mapRouteProperties)a=e.mapRouteProperties;else if(e.detectErrorBoundary){let t=e.detectErrorBoundary;a=e=>({hasErrorBoundary:t(e)})}else a=le;let s,u={},f=v(e.routes,a,void 0,u),d=e.basename||"/",h=r({v7_normalizeFormMethod:!1,v7_prepe
36ndBasename:!1},e.future),m=null,g=new Set,E=null,S=null,w=null,T=null!=e.hydrationData,O=b(f,e.history.location,d),x=null;if(null==O){let t=Ie(404,{pathname:e.history.location.pathname}),{matches:n,route:r}=Ae(f);O=n,x={[r.id]:t}}let k,R,N=!(O.some((e=>e.route.lazy))||O.some((e=>e.route.loader))&&null==e.hydrationData),A={historyAction:e.history.action,location:e.history.location,matches:O,initialized:N,navigation:ae,restoreScrollPosition:null==e.hydrationData&&null,preventScrollReset:!1,revalidation:"idle",loaderData:e.hydrationData&&e.hydrationData.loaderData||{},actionData:e.hydrationData&&e.hydrationData.actionData||null,errors:e.hydrationData&&e.hydrationData.errors||x,fetchers:new Map,blockers:new Map},I=i.Pop,D=!1,C=!1,P=!1,M=[],j=[],F=new Map,U=0,B=-1,q=new Map,G=new Set,V=new Map,H=new Map,z=new Map,$=!1;function K(e){A=r({},A,e),g.forEach((e=>e(A)))}function Y(t,n){var o,a;let u,c=null!=A.actionData&&null!=A.navigation.formMethod&&Be(A.navigation.formMethod)&&"loading"===A.navigation.state&&!0!==(null==(o=t.state)?void 0:o._isRedirect);u=n.actionData?Object.keys(n.actionData).length>0?n.actionData:null:c?A.actionData:null;let l=n.loaderData?Re(A.loaderData,n.loaderData,n.matches||[],n.errors):A.loaderData,p=A.blockers;p.size>0&&(p=new Map(p),p.forEach(((e,t)=>p.set(t,ue))));let d=!0===D||null!=A.navigation.formMethod&&Be(A.navigation.formMethod)&&!0!==(null==(a=t.state)?void 0:a._isRedirect);s&&(f=s,s=void 0),C||I===i.Pop||(I===i.Push?e.history.push(t,t.state):I===i.Replace&&e.history.replace(t,t.state)),K(r({},n,{actionData:u,loaderData:l,historyAction:I,location:t,initialized:!0,navigation:ae,revalidation:"idle",restoreScrollPosition:_e(t,n.matches||A.matches),preventScrollReset:d,blockers:p})),I=i.Pop,D=!1,C=!1,P=!1,M=[],j=[]}async function W(t,n,o){R&&R.abort(),R=null,I=t,C=!0===(o&&o.startUninterruptedRevalidation),function(e,t){if(E&&w){let n=be(e,t);E[n]=w()}}(A.location,A.matches),D=!0===(o&&o.preventScrollReset);let c=s||f,l=o&&o.overrideNavigation,p=b(c,n,d);if(!p){let e=Ie(404,{pathname:n.pathname}),{matches:t,route:r}=Ae(c);return ge(),void Y(n,{matches:t,loaderData:{},errors:{[r.id]:e}})}if(A.initialized&&!P&&function(e,t){if(e.pathname!==t.pathname||e.search!==t.search)return!1;if(""===e.hash)return""!==t.hash;if(e.hash===t.hash)return!0;if(""!==t.hash)return!0;return!1}(A.location,n)&&!(o&&o.submission&&Be(o.submission.formMethod)))return void Y(n,{matches:p});R=new AbortController;let h,m,g=we(e.history,n,R.signal,o&&o.submission);if(o&&o.pendingError)m={[Ne(p).route.id]:o.pendingError};else if(o&&o.submission&&Be(o.submission.formMethod)){let e=await async function(e,t,n,r,o){void 0===o&&(o={});Z();let s,c=function(e,t){let n={state:"submitting",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text};return n}(t,n);K({navigation:c});let l=He(r,t);if(l.route.action||l.route.lazy){if(s=await Se("action",e,l,r,u,a,d),e.signal.aborted)return{shortCircuited:!0}}else s={type:y.error,error:Ie(405,{method:e.method,pathname:t.pathname,routeId:l.route.id})};if(Me(s)){let e;return e=o&&null!=o.replace?o.replace:s.location===A.location.pathname+A.location.search,await X(A,s,{submission:n,replace:e}),{shortCircuited:!0}}if(Le(s)){let e=Ne(r,l.route.id);return!0!==(o&&o.replace)&&(I=i.Push),{pendingActionData:{},pendingActionError:{[e.route.id]:s.error}}}if(Pe(s))throw Ie(400,{type:"defer-action"});return{pendingActionData:{[l.route.id]:s.data}}}(g,n,o.submission,p,{replace:o.replace});if(e.shortCircuited)return;h=e.pendingActionData,m=e.pendingActionError,l=$e(n,o.submission),g=new Request(g.url,{signal:g.signal})}let{shortCircuited:v,loaderData:_,errors:S}=await async function(t,n,i,o,a,u,c,l,p){let h=o||$e(n,a),m=a||u||ze(h),y=s||f,[g,v]=ve(e.history,A,i,m,n,P,M,j,V,G,y,d,l,p);if(ge((e=>!(i&&i.some((t=>t.route.id===e)))||g&&g.some((t=>t.route.id===e)))),B=++U,0===g.length&&0===v.length){let e=ie();return Y(n,r({matches:i,loaderData:{},errors:p||null},l?{actionData:l}:{},e?{fetchers:new Map(A.fetchers)}:{})),{shortCircuited:!0}}if(!C){v.forEach((e=>{let t=A.fetchers.get(e.key),n=Ke(void 0,t?t.data:void 0);A.fetchers.set(e.key,n)}));let e=l||A.actionData;K(r({navigation:h},e?0===Object.keys(e).length?{actionData:null}:{actionData:e}:{},v.length>0?{fetchers:new Map(A.fetchers)}:{}))}v.forEach((e=>{F.has(e.key)&&ne(e.key),e.controller&&F.set(e.key,e.controller)}));let b=()=>v.forEach((e=>ne(e.key)));R&&R.signal.addEventListener("abort",b);let{results:_,loaderResults:E,fetcherResults:S}=await J(A.matches,i,g,v,t);if(t.signal.aborted)return{shortCircuited:!0};R&&R.signal.removeEventListener("abort",b);v.forEach((e=>F.delete(e.key)));let w=De(_);if(w){if(w.idx>=g.length){let e=v[w.idx-g.length].key;G.add(e)}return await X(A,w.result,{replace:c}),{shortCircuited:!0}}let{loaderData:T,errors:O}=ke(A,i,g,E,p,v,S,H);H.forEach(((e,t)=>{e.subscribe((n=>{(n||e.done)&&H.delete(t)}))}
36));let x=ie(),k=fe(B),N=x||k||v.length>0;return r({loaderData:T,errors:O},N?{fetchers:new Map(A.fetchers)}:{})}(g,n,p,l,o&&o.submission,o&&o.fetcherSubmission,o&&o.replace,h,m);v||(R=null,Y(n,r({matches:p},h?{actionData:h}:{},{loaderData:_,errors:S})))}function Q(e){return A.fetchers.get(e)||se}async function X(o,a,s){let{submission:u,fetcherSubmission:l,replace:f}=void 0===s?{}:s;a.revalidate&&(P=!0);let h=p(o.location,a.location,{_isRedirect:!0});if(c(h,"Expected a location on the redirect navigation"),n){let n=!1;if(a.reloadDocument)n=!0;else if(ce.test(a.location)){const r=e.history.createURL(a.location);n=r.origin!==t.location.origin||null==L(r.pathname,d)}if(n)return void(f?t.location.replace(a.location):t.location.assign(a.location))}R=null;let m=!0===f?i.Replace:i.Push,{formMethod:y,formAction:g,formEncType:v}=o.navigation;!u&&!l&&y&&g&&v&&(u=ze(o.navigation));let b=u||l;if(oe.has(a.status)&&b&&Be(b.formMethod))await W(m,h,{submission:r({},b,{formAction:a.location}),preventScrollReset:D});else{let e=$e(h,u);await W(m,h,{overrideNavigation:e,fetcherSubmission:l,preventScrollReset:D})}}async function J(t,n,r,i,o){let s=await Promise.all([...r.map((e=>Se("loader",o,e,n,u,a,d))),...i.map((t=>{if(t.matches&&t.match&&t.controller)return Se("loader",we(e.history,t.path,t.controller.signal),t.match,t.matches,u,a,d);return{type:y.error,error:Ie(404,{pathname:t.path})}}))]),c=s.slice(0,r.length),l=s.slice(r.length);return await Promise.all([qe(t,r,c,c.map((()=>o.signal)),!1,A.loaderData),qe(t,i.map((e=>e.match)),l,i.map((e=>e.controller?e.controller.signal:null)),!0)]),{results:s,loaderResults:c,fetcherResults:l}}function Z(){P=!0,M.push(...ge()),V.forEach(((e,t)=>{F.has(t)&&(j.push(t),ne(t))}))}function ee(e,t,n){let r=Ne(A.matches,t);te(e),K({errors:{[r.route.id]:n},fetchers:new Map(A.fetchers)})}function te(e){let t=A.fetchers.get(e);!F.has(e)||t&&"loading"===t.state&&q.has(e)||ne(e),V.delete(e),q.delete(e),G.delete(e),A.fetchers.delete(e)}function ne(e){let t=F.get(e);c(t,"Expected fetch controller: "+e),t.abort(),F.delete(e)}function re(e){for(let t of e){let e=Ye(Q(t).data);A.fetchers.set(t,e)}}function ie(){let e=[],t=!1;for(let n of G){let r=A.fetchers.get(n);c(r,"Expected fetcher: "+n),"loading"===r.state&&(G.delete(n),e.push(n),t=!0)}return re(e),t}function fe(e){let t=[];for(let[n,r]of q)if(r<e){let e=A.fetchers.get(n);c(e,"Expected fetcher: "+n),"loading"===e.state&&(ne(n),q.delete(n),t.push(n))}return re(t),t.length>0}function pe(e){A.blockers.delete(e),z.delete(e)}function de(e,t){let n=A.blockers.get(e)||ue;c("unblocked"===n.state&&"blocked"===t.state||"blocked"===n.state&&"blocked"===t.state||"blocked"===n.state&&"proceeding"===t.state||"blocked"===n.state&&"unblocked"===t.state||"proceeding"===n.state&&"unblocked"===t.state,"Invalid blocker state transition: "+n.state+" -> "+t.state);let r=new Map(A.blockers);r.set(e,t),K({blockers:r})}function he(e){let{currentLocation:t,nextLocation:n,historyAction:r}=e;if(0===z.size)return;z.size>1&&l(!1,"A router only supports one blocker at a time");let i=Array.from(z.entries()),[o,a]=i[i.length-1],s=A.blockers.get(o);return s&&"proceeding"===s.state?void 0:a({currentLocation:t,nextLocation:n,historyAction:r})?o:void 0}function ge(e){let t=[];return H.forEach(((n,r)=>{e&&!e(r)||(n.cancel(),t.push(r),H.delete(r))})),t}function be(e,t){if(S){return S(e,t.map((e=>_(e,A.loaderData))))||e.key}return e.key}function _e(e,t){if(E){let n=be(e,t),r=E[n];if("number"==typeof r)return r}return null}return k={get basename(){return d},get state(){return A},get routes(){return f},initialize:function(){return m=e.history.listen((t=>{let{action:n,location:r,delta:i}=t;if($)return void($=!1);l(0===z.size||null!=i,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs.  This can also happen if you are using createHashRouter and the user manually changes the URL.");let o=he({currentLocation:A.location,nextLocation:r,historyAction:n});return o&&null!=i?($=!0,e.history.go(-1*i),void de(o,{state:"blocked",location:r,proceed(){de(o,{state:"proceeding",proceed:void 0,reset:void 0,location:r}),e.history.go(i)},reset(){let e=new Map(A.blockers);e.set(o,ue),K({blockers:e})}})):W(n,r)})),A.initialized||W(i.Pop,A.location),k},subscribe:function(e){return g.add(e),()=>g.delete(e)},enableScrollRestoration:function(e,t,n){if(E=e,w=t,S=n||null,!T&&A.navigation===ae){T=!0;let e=_e(A.location,A.matches);null!=e&&K({restoreScrollPosition:e})}return()=>{E=null,w=null,S=null}},navigate:async function t(n,o){if("number"==typeof n)return void e.history.go(n);
36let a=me(A.location,A.matches,d,h.v7_prependBasename,n,null==o?void 0:o.fromRouteId,null==o?void 0:o.relative),{path:s,submission:u,error:c}=ye(h.v7_normalizeFormMethod,!1,a,o),l=A.location,f=p(A.location,s,o&&o.state);f=r({},f,e.history.encodeLocation(f));let m=o&&null!=o.replace?o.replace:void 0,y=i.Push;!0===m?y=i.Replace:!1===m||null!=u&&Be(u.formMethod)&&u.formAction===A.location.pathname+A.location.search&&(y=i.Replace);let g=o&&"preventScrollReset"in o?!0===o.preventScrollReset:void 0,v=he({currentLocation:l,nextLocation:f,historyAction:y});if(!v)return await W(y,f,{submission:u,pendingError:c,preventScrollReset:g,replace:o&&o.replace});de(v,{state:"blocked",location:f,proceed(){de(v,{state:"proceeding",proceed:void 0,reset:void 0,location:f}),t(n,o)},reset(){let e=new Map(A.blockers);e.set(v,ue),K({blockers:e})}})},fetch:function(t,n,i,l){if(o)throw new Error("router.fetch() was called during the server render, but it shouldn't be. You are likely calling a useFetcher() method in the body of your component. Try moving it to a useEffect or a callback.");F.has(t)&&ne(t);let p=s||f,m=me(A.location,A.matches,d,h.v7_prependBasename,i,n,null==l?void 0:l.relative),y=b(p,m,d);if(!y)return void ee(t,n,Ie(404,{pathname:m}));let{path:g,submission:v,error:_}=ye(h.v7_normalizeFormMethod,!0,m,l);if(_)return void ee(t,n,_);let E=He(y,g);D=!0===(l&&l.preventScrollReset),v&&Be(v.formMethod)?async function(t,n,i,o,l,p){if(Z(),V.delete(t),!o.route.action&&!o.route.lazy){let e=Ie(405,{method:p.formMethod,pathname:i,routeId:n});return void ee(t,n,e)}let h=A.fetchers.get(t),m=function(e,t){let n={state:"submitting",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t?t.data:void 0};return n}(p,h);A.fetchers.set(t,m),K({fetchers:new Map(A.fetchers)});let y=new AbortController,g=we(e.history,i,y.signal,p);F.set(t,y);let v=U,_=await Se("action",g,o,l,u,a,d);if(g.signal.aborted)return void(F.get(t)===y&&F.delete(t));if(Me(_)){if(F.delete(t),B>v){let e=Ye(void 0);return A.fetchers.set(t,e),void K({fetchers:new Map(A.fetchers)})}{G.add(t);let e=Ke(p);return A.fetchers.set(t,e),K({fetchers:new Map(A.fetchers)}),X(A,_,{fetcherSubmission:p})}}if(Le(_))return void ee(t,n,_.error);if(Pe(_))throw Ie(400,{type:"defer-action"});let E=A.navigation.location||A.location,S=we(e.history,E,y.signal),w=s||f,T="idle"!==A.navigation.state?b(w,A.navigation.location,d):A.matches;c(T,"Didn't find any matches after fetcher action");let O=++U;q.set(t,O);let x=Ke(p,_.data);A.fetchers.set(t,x);let[k,N]=ve(e.history,A,T,p,E,P,M,j,V,G,w,d,{[o.route.id]:_.data},void 0);N.filter((e=>e.key!==t)).forEach((e=>{let t=e.key,n=A.fetchers.get(t),r=Ke(void 0,n?n.data:void 0);A.fetchers.set(t,r),F.has(t)&&ne(t),e.controller&&F.set(t,e.controller)})),K({fetchers:new Map(A.fetchers)});let D=()=>N.forEach((e=>ne(e.key)));y.signal.addEventListener("abort",D);let{results:C,loaderResults:L,fetcherResults:z}=await J(A.matches,T,k,N,S);if(y.signal.aborted)return;y.signal.removeEventListener("abort",D),q.delete(t),F.delete(t),N.forEach((e=>F.delete(e.key)));let $=De(C);if($){if($.idx>=k.length){let e=N[$.idx-k.length].key;G.add(e)}return X(A,$.result)}let{loaderData:W,errors:Q}=ke(A,A.matches,k,L,void 0,N,z,H);if(A.fetchers.has(t)){let e=Ye(_.data);A.fetchers.set(t,e)}let te=fe(O);"loading"===A.navigation.state&&O>B?(c(I,"Expected pending action"),R&&R.abort(),Y(A.navigation.location,{matches:T,loaderData:W,errors:Q,fetchers:new Map(A.fetchers)})):(K(r({errors:Q,loaderData:Re(A.loaderData,W,T,Q)},te||N.length>0?{fetchers:new Map(A.fetchers)}:{})),P=!1)}(t,n,g,E,y,v):(V.set(t,{routeId:n,path:g}),async function(t,n,r,i,o,s){let l=A.fetchers.get(t),f=Ke(s,l?l.data:void 0);A.fetchers.set(t,f),K({fetchers:new Map(A.fetchers)});let p=new AbortController,h=we(e.history,r,p.signal);F.set(t,p);let m=U,y=await Se("loader",h,i,o,u,a,d);Pe(y)&&(y=await Ge(y,h.signal,!0)||y);F.get(t)===p&&F.delete(t);if(h.signal.aborted)return;if(Me(y)){if(B>m){let e=Ye(void 0);return A.fetchers.set(t,e),void K({fetchers:new Map(A.fetchers)})}return G.add(t),void await X(A,y)}if(Le(y)){let e=Ne(A.matches,n);return A.fetchers.delete(t),void K({fetchers:new Map(A.fetchers),errors:{[e.route.id]:y.error}})}c(!Pe(y),"Unhandled fetcher deferred data");let g=Ye(y.data);A.fetchers.set(t,g),K({fetchers:new Map(A.fetchers)})}(t,n,g,E,y,v))},revalidate:function(){Z(),K({revalidation:"loading"}),"submitting"!==A.navigation.state&&("idle"!==A.navigation.state?W(I||A.historyAction,A.navigation.location,{overrideNavigation:A.navigation}):W(A.historyAction,A.location,{startUninterruptedRevalidation:!0}
36))},createHref:t=>e.history.createHref(t),encodeLocation:t=>e.history.encodeLocation(t),getFetcher:Q,deleteFetcher:te,dispose:function(){m&&m(),g.clear(),R&&R.abort(),A.fetchers.forEach(((e,t)=>te(t))),A.blockers.forEach(((e,t)=>pe(t)))},getBlocker:function(e,t){let n=A.blockers.get(e)||ue;return z.get(e)!==t&&z.set(e,t),n},deleteBlocker:pe,_internalFetchControllers:F,_internalActiveDeferreds:H,_internalSetRoutes:function(e){u={},s=v(e,a,void 0,u)}},k}const pe=Symbol("deferred");function de(e,t){c(e.length>0,"You must provide a non-empty routes array to createStaticHandler");let n,i={},o=(t?t.basename:null)||"/";if(null!=t&&t.mapRouteProperties)n=t.mapRouteProperties;else if(null!=t&&t.detectErrorBoundary){let e=t.detectErrorBoundary;n=t=>({hasErrorBoundary:e(t)})}else n=le;let a=v(e,n,void 0,i);async function s(e,t,a,s,l){c(e.signal,"query()/queryRoute() requests must contain an AbortController signal");try{if(Be(e.method.toLowerCase())){let c=await async function(e,t,a,s,c){let l;if(a.route.action||a.route.lazy){if(l=await Se("action",e,a,t,i,n,o,{isStaticRequest:!0,isRouteRequest:c,requestContext:s}),e.signal.aborted){throw new Error((c?"queryRoute":"query")+"() call aborted: "+e.method+" "+e.url)}}else{let t=Ie(405,{method:e.method,pathname:new URL(e.url).pathname,routeId:a.route.id});if(c)throw t;l={type:y.error,error:t}}if(Me(l))throw new Response(null,{status:l.status,headers:{Location:l.location}});if(Pe(l)){let e=Ie(400,{type:"defer-action"});if(c)throw e;l={type:y.error,error:e}}if(c){if(Le(l))throw l.error;return{matches:[a],loaderData:{},actionData:{[a.route.id]:l.data},errors:null,statusCode:200,loaderHeaders:{},actionHeaders:{},activeDeferreds:null}}if(Le(l)){let n=Ne(t,a.route.id);return r({},await u(e,t,s,void 0,{[n.route.id]:l.error}),{statusCode:Z(l.error)?l.error.status:500,actionData:null,actionHeaders:r({},l.headers?{[a.route.id]:l.headers}:{})})}let f=new Request(e.url,{headers:e.headers,redirect:e.redirect,signal:e.signal}),p=await u(f,t,s);return r({},p,l.statusCode?{statusCode:l.statusCode}:{},{actionData:{[a.route.id]:l.data},actionHeaders:r({},l.headers?{[a.route.id]:l.headers}:{})})}(e,a,l||He(a,t),s,null!=l);return c}let c=await u(e,a,s,l);return Fe(c)?c:r({},c,{actionData:null,actionHeaders:{}})}catch(e){if((f=e)&&Fe(f.response)&&(f.type===y.data||f.type===y.error)){if(e.type===y.error)throw e.response;return e.response}if(function(e){if(!Fe(e))return!1;let t=e.status,n=e.headers.get("Location");return t>=300&&t<=399&&null!=n}(e))return e;throw e}var f}async function u(e,t,a,s,u){let c=null!=s;if(c&&(null==s||!s.route.loader)&&(null==s||!s.route.lazy))throw Ie(400,{method:e.method,pathname:new URL(e.url).pathname,routeId:null==s?void 0:s.route.id});let l=(s?[s]:ge(t,Object.keys(u||{})[0])).filter((e=>e.route.loader||e.route.lazy));if(0===l.length)return{matches:t,loaderData:t.reduce(((e,t)=>Object.assign(e,{[t.route.id]:null})),{}),errors:u||null,statusCode:200,loaderHeaders:{},activeDeferreds:null};let f=await Promise.all([...l.map((r=>Se("loader",e,r,t,i,n,o,{isStaticRequest:!0,isRouteRequest:c,requestContext:a})))]);if(e.signal.aborted){throw new Error((c?"queryRoute":"query")+"() call aborted: "+e.method+" "+e.url)}let p=new Map,d=xe(t,l,f,u,p),h=new Set(l.map((e=>e.route.id)));return t.forEach((e=>{h.has(e.route.id)||(d.loaderData[e.route.id]=null)})),r({},d,{matches:t,activeDeferreds:p.size>0?Object.fromEntries(p.entries()):null})}return{dataRoutes:a,query:async function(e,t){let{requestContext:n}=void 0===t?{}:t,i=new URL(e.url),u=e.method,c=p("",d(i),null,"default"),l=b(a,c,o);if(!Ue(u)&&"HEAD"!==u){let e=Ie(405,{method:u}),{matches:t,route:n}=Ae(a);return{basename:o,location:c,matches:t,loaderData:{},actionData:null,errors:{[n.id]:e},statusCode:e.status,loaderHeaders:{},actionHeaders:{},activeDeferreds:null}}if(!l){let e=Ie(404,{pathname:c.pathname}),{matches:t,route:n}=Ae(a);return{basename:o,location:c,matches:t,loaderData:{},actionData:null,errors:{[n.id]:e},statusCode:e.status,loaderHeaders:{},actionHeaders:{},activeDeferreds:null}}let f=await s(e,c,l,n);return Fe(f)?f:r({location:c,basename:o},f)},queryRoute:async function(e,t){let{routeId:n,requestContext:r}=void 0===t?{}:t,i=new URL(e.url),u=e.method,c=p("",d(i),null,"default"),l=b(a,c,o);if(!Ue(u)&&"HEAD"!==u&&"OPTIONS"!==u)throw Ie(405,{method:u});if(!l)throw Ie(404,{pathname:c.pathname});let f=n?l.find((e=>e.route.id===n)):He(l,c);if(n&&!f)throw Ie(403,{pathname:c.pathname,routeId:n});if(!f)throw Ie(404,{pathname:c.pathname});let h=await s(e,c,l,r,f);if(Fe(h))return h;let m=h.errors?Object.values(h.errors)[0]:void 0;if(void 0!==m)throw m;if(h.actionData)return Object.values(h.actionData)[0];if(h.loaderData){var y;let e=Object.values(h.loaderData)[0];return null!=(y=h.activeDeferreds)&&y[f.route.id]&&(e[pe]=h.activeDeferreds[f.route.id]),e}}}}function he(e,t,n){return r({},t,{statusCode:500,errors:{[t._deepestRenderedBoundaryId||e[0].id]:n}})}function me(e,t,n,r,i,o,a){let s,u;if(null!=o&&"path"!==a){s=[];for(let e of t)if(s.push(e),e.route.id===o){u=e;break}}else s=t,u=t[t.length-1];let c=U(i||".",F(s).map((e=>e.pathnameBase)),L(e.pathname,n)||e.pathname,"path"===a);return null==i&&(c.search=e.search,c.hash=e.hash),null!=i&&""!==i&&"."!==i||!u||!u.route.index||Ve(c.search)||(c.search=c.search?c.search.replace(/^\?/,"?index&"):"?index"),r&&"/"!==n&&(c.pathname="/"===c.pathname?n:q([n,c.pathname])),d(c)}function ye(e,t,n,r){if(!r||!function(e){return null!=e&&("formData"in e&&null!=e.formData||"body"in e&&void 0!==e.body)}(r))return{path:n};if(r.formMethod&&!Ue(r.formMethod))return{path:n,error:Ie(405,{method:r.formMethod})};let i,o,a=()=>({path:n,error:Ie(400,{type:"invalid-body"})}),s=r.formMethod||"get",u=e?s.toUpperCase():s.toLowerCase(),l=Ce(n);if(void 0!==r.body){if("text/plain"===r.formEncType){if(!Be(u))return a();let e="string"==typeof r.body?r.body:r.body instanceof FormData||r.body instanceof URLSearchParams?Array.from(r.body.entries()).reduce(((e,t)=>
36{let[n,r]=t;return""+e+n+"="+r+"\n"}),""):String(r.body);return{path:n,submission:{formMethod:u,formAction:l,formEncType:r.formEncType,formData:void 0,json:void 0,text:e}}}if("application/json"===r.formEncType){if(!Be(u))return a();try{let e="string"==typeof r.body?JSON.parse(r.body):r.body;return{path:n,submission:{formMethod:u,formAction:l,formEncType:r.formEncType,formData:void 0,json:e,text:void 0}}}catch(e){return a()}}}if(c("function"==typeof FormData,"FormData is not available in this environment"),r.formData)i=Te(r.formData),o=r.formData;else if(r.body instanceof FormData)i=Te(r.body),o=r.body;else if(r.body instanceof URLSearchParams)i=r.body,o=Oe(i);else if(null==r.body)i=new URLSearchParams,o=new FormData;else try{i=new URLSearchParams(r.body),o=Oe(i)}catch(e){return a()}let f={formMethod:u,formAction:l,formEncType:r&&r.formEncType||"application/x-www-form-urlencoded",formData:o,json:void 0,text:void 0};if(Be(f.formMethod))return{path:n,submission:f};let p=h(n);return t&&p.search&&Ve(p.search)&&i.append("index",""),p.search="?"+i,{path:d(p),submission:f}}function ge(e,t){let n=e;if(t){let r=e.findIndex((e=>e.route.id===t));r>=0&&(n=e.slice(0,r))}return n}function ve(e,t,n,i,o,a,s,u,c,l,f,p,d,h){let m=h?Object.values(h)[0]:d?Object.values(d)[0]:void 0,y=e.createURL(t.location),g=e.createURL(o),v=h?Object.keys(h)[0]:void 0,_=ge(n,v).filter(((e,n)=>{if(e.route.lazy)return!0;if(null==e.route.loader)return!1;if(function(e,t,n){let r=!t||n.route.id!==t.route.id,i=void 0===e[n.route.id];return r||i}(t.loaderData,t.matches[n],e)||s.some((t=>t===e.route.id)))return!0;let o=t.matches[n],u=e;return _e(e,r({currentUrl:y,currentParams:o.params,nextUrl:g,nextParams:u.params},i,{actionResult:m,defaultShouldRevalidate:a||y.pathname+y.search===g.pathname+g.search||y.search!==g.search||be(o,u)}))})),E=[];return c.forEach(((e,o)=>{if(!n.some((t=>t.route.id===e.routeId)))return;let s=b(f,e.path,p);if(!s)return void E.push({key:o,routeId:e.routeId,path:e.path,matches:null,match:null,controller:null});let c=t.fetchers.get(o),d=He(s,e.path),h=!1;h=!l.has(o)&&(!!u.includes(o)||(c&&"idle"!==c.state&&void 0===c.data?a:_e(d,r({currentUrl:y,currentParams:t.matches[t.matches.length-1].params,nextUrl:g,nextParams:n[n.length-1].params},i,{actionResult:m,defaultShouldRevalidate:a})))),h&&E.push({key:o,routeId:e.routeId,path:e.path,matches:s,match:d,controller:new AbortController})})),[_,E]}function be(e,t){let n=e.route.path;return e.pathname!==t.pathname||null!=n&&n.endsWith("*")&&e.params["*"]!==t.params["*"]}function _e(e,t){if(e.route.shouldRevalidate){let n=e.route.shouldRevalidate(t);if("boolean"==typeof n)return n}return t.defaultShouldRevalidate}async function Ee(e,t,n){if(!e.lazy)return;let i=await e.lazy();if(!e.lazy)return;let o=n[e.id];c(o,"No route found in manifest");let a={};for(let e in i){let t=void 0!==o[e]&&"hasErrorBoundary"!==e;l(!t,'Route "'+o.id+'" has a static property "'+e+'" defined but its lazy function is also returning a value for this property. The lazy route property "'+e+'" will be ignored.'),t||g.has(e)||(a[e]=i[e])}Object.assign(o,a),Object.assign(o,r({},t(o),{lazy:void 0}))}async function Se(e,t,n,r,i,o,a,s){let u,l,f;void 0===s&&(s={});let p=e=>{let r,i=new Promise(((e,t)=>r=t));return f=()=>r(),t.signal.addEventListener("abort",f),Promise.race([e({request:t,params:n.params,context:s.requestContext}),i])};try{let r=n.route[e];if(n.route.lazy)if(r){let e,t=await Promise.all([p(r).catch((t=>{e=t})),Ee(n.route,o,i)]);if(e)throw e;l=t[0]}else{if(await Ee(n.route,o,i),r=n.route[e],!r){if("action"===e){let e=new URL(t.url),r=e.pathname+e.search;throw Ie(405,{method:t.method,pathname:r,routeId:n.route.id})}return{type:y.data,data:void 0}}l=await p(r)}else{if(!r){let e=new URL(t.url);throw Ie(404,{pathname:e.pathname+e.search})}l=await p(r)}c(void 0!==l,"You defined "+("action"===e?"an action":"a loader")+' for route "'+n.route.id+"\" but didn't return anything from your `"+e+"` function. Please return a value or `null`.")}catch(e){u=y.error,l=e}finally{f&&t.signal.removeEventListener("abort",f)}if(Fe(l)){let e,i=l.status;if(ie.has(i)){let e=l.headers.get("Location");if(c(e,"Redirects returned/thrown from loaders/actions must have a Location header"),ce.test(e)){if(!s.isStaticRequest){let n=new URL(t.url),r=e.startsWith("//")?new URL(n.protocol+e):new URL(e),i=null!=L(r.pathname,a);r.origin===n.origin&&i&&(e=r.pathname+r.search+r.hash)}}else e=me(new URL(t.url),r.slice(0,r.indexOf(n)+1),a,!0,e);if(s.isStaticRequest)throw l.headers.set("Location",e),l;return{type:y.redirect,status:i,location:e,revalidate:null!==l.headers.get("X-Remix-Revalidate"),reloadDocument:null!==l.headers.get("X-Remix-Reload-Document")}}if(s.isRouteRequest){throw{type:u===y.error?y.error:y.data,response:l}}let o=l.headers.get("Content-Type");return e=o&&/\bapplication\/json\b/.test(o)?await l.json():await l.text(),u===y.error?{type:u,error:new J(i,l.statusText,e),headers:l.headers}:{type:y.data,data:e,statusCode:l.status,headers:l.headers}}return u===y.error?{type:u,error:l}:je(l)?{type:y.deferred,deferredData:l,statusCode:null==(d=l.init)?void 0:d.status,headers:(null==(h=l.init)?void 0:h.headers)&&new Headers(l.init.headers)}:{type:y.data,data:l};var d,h}function we(e,t,n,r){let i=e.createURL(Ce(t)).toString(),o={signal:n};if(r&&Be(r.formMethod)){let{formMethod:e,formEncType:t}=r;o.method=e.toUpperCase(),"application/json"===t?(o.headers=new Headers({"Content-Type":t}),o.body=JSON.stringify(r.json)):"text/plain"===t?o.body=r.text:"application/x-www-form-urlencoded"===t&&r.formData?o.body=Te(r.formData):o.body=r.formData}
36return new Request(i,o)}function Te(e){let t=new URLSearchParams;for(let[n,r]of e.entries())t.append(n,"string"==typeof r?r:r.name);return t}function Oe(e){let t=new FormData;for(let[n,r]of e.entries())t.append(n,r);return t}function xe(e,t,n,r,i){let o,a={},s=null,u=!1,l={};return n.forEach(((n,f)=>{let p=t[f].route.id;if(c(!Me(n),"Cannot handle redirect results in processLoaderData"),Le(n)){let t=Ne(e,p),i=n.error;r&&(i=Object.values(r)[0],r=void 0),s=s||{},null==s[t.route.id]&&(s[t.route.id]=i),a[p]=void 0,u||(u=!0,o=Z(n.error)?n.error.status:500),n.headers&&(l[p]=n.headers)}else Pe(n)?(i.set(p,n.deferredData),a[p]=n.deferredData.data):a[p]=n.data,null==n.statusCode||200===n.statusCode||u||(o=n.statusCode),n.headers&&(l[p]=n.headers)})),r&&(s=r,a[Object.keys(r)[0]]=void 0),{loaderData:a,errors:s,statusCode:o||200,loaderHeaders:l}}function ke(e,t,n,i,o,a,s,u){let{loaderData:l,errors:f}=xe(t,n,i,o,u);for(let t=0;t<a.length;t++){let{key:n,match:i,controller:o}=a[t];c(void 0!==s&&void 0!==s[t],"Did not find corresponding fetcher result");let u=s[t];if(!o||!o.signal.aborted)if(Le(u)){let t=Ne(e.matches,null==i?void 0:i.route.id);f&&f[t.route.id]||(f=r({},f,{[t.route.id]:u.error})),e.fetchers.delete(n)}else if(Me(u))c(!1,"Unhandled fetcher revalidation redirect");else if(Pe(u))c(!1,"Unhandled fetcher deferred data");else{let t=Ye(u.data);e.fetchers.set(n,t)}}return{loaderData:l,errors:f}}function Re(e,t,n,i){let o=r({},t);for(let r of n){let n=r.route.id;if(t.hasOwnProperty(n)?void 0!==t[n]&&(o[n]=t[n]):void 0!==e[n]&&r.route.loader&&(o[n]=e[n]),i&&i.hasOwnProperty(n))break}return o}function Ne(e,t){return(t?e.slice(0,e.findIndex((e=>e.route.id===t))+1):[...e]).reverse().find((e=>!0===e.route.hasErrorBoundary))||e[0]}function Ae(e){let t=e.find((e=>e.index||!e.path||"/"===e.path))||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:t}],route:t}}function Ie(e,t){let{pathname:n,routeId:r,method:i,type:o}=void 0===t?{}:t,a="Unknown Server Error",s="Unknown @remix-run/router error";return 400===e?(a="Bad Request",i&&n&&r?s="You made a "+i+' request to "'+n+'" but did not provide a `loader` for route "'+r+'", so there is no way to handle the request.':"defer-action"===o?s="defer() is not supported in actions":"invalid-body"===o&&(s="Unable to encode submission body")):403===e?(a="Forbidden",s='Route "'+r+'" does not match URL "'+n+'"'):404===e?(a="Not Found",s='No route matches URL "'+n+'"'):405===e&&(a="Method Not Allowed",i&&n&&r?s="You made a "+i.toUpperCase()+' request to "'+n+'" but did not provide an `action` for route "'+r+'", so there is no way to handle the request.':i&&(s='Invalid request method "'+i.toUpperCase()+'"')),new J(e||500,a,new Error(s),!0)}function De(e){for(let t=e.length-1;t>=0;t--){let n=e[t];if(Me(n))return{result:n,idx:t}}}function Ce(e){return d(r({},"string"==typeof e?h(e):e,{hash:""}))}function Pe(e){return e.type===y.deferred}function Le(e){return e.type===y.error}function Me(e){return(e&&e.type)===y.redirect}function je(e){let t=e;return t&&"object"==typeof t&&"object"==typeof t.data&&"function"==typeof t.subscribe&&"function"==typeof t.cancel&&"function"==typeof t.resolveData}function Fe(e){return null!=e&&"number"==typeof e.status&&"string"==typeof e.statusText&&"object"==typeof e.headers&&void 0!==e.body}function Ue(e){return re.has(e.toLowerCase())}function Be(e){return te.has(e.toLowerCase())}async function qe(e,t,n,r,i,o){for(let a=0;a<n.length;a++){let s=n[a],u=t[a];if(!u)continue;let l=e.find((e=>e.route.id===u.route.id)),f=null!=l&&!be(l,u)&&void 0!==(o&&o[u.route.id]);if(Pe(s)&&(i||f)){let e=r[a];c(e,"Expected an AbortSignal for revalidating fetcher deferred result"),await Ge(s,e,i).then((e=>{e&&(n[a]=e||n[a])}))}}}async function Ge(e,t,n){if(void 0===n&&(n=!1),!await e.deferredData.resolveData(t)){if(n)try{return{type:y.data,data:e.deferredData.unwrappedData}}catch(e){return{type:y.error,error:e}}return{type:y.data,data:e.deferredData.data}}}function Ve(e){return new URLSearchParams(e).getAll("index").some((e=>""===e))}function He(e,t){let n="string"==typeof t?h(t).search:t.search;if(e[e.length-1].route.index&&Ve(n||""))return e[e.length-1];let r=F(e);return r[r.length-1]}function ze(e){let{formMethod:t,formAction:n,formEncType:r,text:i,formData:o,json:a}=e;if(t&&n&&r)return null!=i?{formMethod:t,formAction:n,formEncType:r,formData:void 0,json:void 0,text:i}:null!=o?{formMethod:t,formAction:n,formEncType:r,formData:o,json:void 0,text:void 0}:void 0!==a?{formMethod:t,formAction:n,formEncType:r,formData:void 0,json:a,text:void 0}:void 0}function $e(e,t){if(t){return{state:"loading",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}}return{state:"loading",location:e,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function Ke(e,t){if(e){return{state:"loading",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t}}return{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:t}}function Ye(e){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:e}}},,(e,t,n)=>{var r=n(242),i="undefined"==typeof window?{show:function(){},hide:function(){},config:function(){}}:n(732),o=0,a=function(e){return e.topbar||i};function s(e){return r.useEffect((function(){return 0===o&&a(e).show(),o++,function(){0===--o&&a(e).hide()}}),[]),null}s.config=i.config,e.exports=s},function(e,t,n){var r;
37/*! topbar 0.1.4, 2020-04-27
38 *  http://buunguyen.github.io/topbar
39 *  Copyright (c) 2019 Buu Nguyen
40 *  Licensed under the MIT License */(function(i,o){"use strict";
40!function(){for(var e=0,t=["ms","moz","webkit","o"],n=0;n<t.length&&!i.requestAnimationFrame;++n)i.requestAnimationFrame=i[t[n]+"RequestAnimationFrame"],i.cancelAnimationFrame=i[t[n]+"CancelAnimationFrame"]||i[t[n]+"CancelRequestAnimationFrame"];i.requestAnimationFrame||(i.requestAnimationFrame=function(t,n){var r=(new Date).getTime(),o=Math.max(0,16-(r-e)),a=i.setTimeout((function(){t(r+o)}),o);return e=r+o,a}),i.cancelAnimationFrame||(i.cancelAnimationFrame=function(e){clearTimeout(e)})}();var a,s,u,c,l,f={autoRun:!0,barThickness:3,barColors:{0:"rgba(26,  188, 156, .9)",".25":"rgba(52,  152, 219, .9)",".50":"rgba(241, 196, 15,  .9)",".75":"rgba(230, 126, 34,  .9)","1.0":"rgba(211, 84,  0,   .9)"},shadowBlur:10,shadowColor:"rgba(0,   0,   0,   .6)",className:null},p=function(){a.width=i.innerWidth,a.height=5*f.barThickness;var e=a.getContext("2d");e.shadowBlur=f.shadowBlur,e.shadowColor=f.shadowColor;var t=e.createLinearGradient(0,0,a.width,0);for(var n in f.barColors)t.addColorStop(n,f.barColors[n]);e.lineWidth=f.barThickness,e.beginPath(),e.moveTo(0,f.barThickness/2),e.lineTo(Math.ceil(c*a.width),f.barThickness/2),e.strokeStyle=t,e.
40stroke()},d={config:function(e){for(var t in e)f.hasOwnProperty(t)&&(f[t]=e[t])},show:function(){var e,t,n,r;l||(l=!0,null!==u&&i.cancelAnimationFrame(u),a||((r=(a=o.createElement("canvas")).style).position="fixed",r.top=r.left=r.right=r.margin=r.padding=0,r.zIndex=100001,r.display="none",f.className&&a.classList.add(f.className),o.body.appendChild(a),t="resize",n=p,(e=i).addEventListener?e.addEventListener(t,n,!1):e.attachEvent?e.attachEvent("on"+t,n):e["on"+t]=n),a.style.opacity=1,a.style.display="block",d.progress(0),f.autoRun&&function e(){s=i.requestAnimationFrame(e),d.progress("+"+.05*Math.pow(1-Math.sqrt(c),2))}())},progress:function(e){return void 0===e||("string"==typeof e&&(e=(e.indexOf("+")>=0||e.indexOf("-")>=0?c:0)+parseFloat(e)),c=e>1?1:e,p()),c},hide:function(){l&&(l=!1,null!=s&&(i.cancelAnimationFrame(s),s=null),function e(){if(d.progress("+.1")>=1&&(a.style.opacity-=.05,a.style.opacity<=.05))return a.style.display="none",void(u=null);u=i.requestAnimationFrame(e)}())}};"object"==typeof e.exports?e.exports=d:void 0===(r=function(){return d}.call(t,n,t,e))||(e.exports=r)}).call(this,window,document)},,(e,t,n)=>{"use strict";n.r(t),n.d(t,{useInternalState:()=>_,useQuery:()=>b});var r=n(258),i=n(303),o=n(242),a=n(302),s=n(421),u=n(375),c=n(736),l=n(416),f=n(426),p=n(737),d=n(735),h=n(442),m=n(311),y=n(376),g=n(403),v=Object.prototype.hasOwnProperty;function b(e,t){return void 0===t&&(t=Object.create(null)),_((0,d.useApolloClient)(t.client),e).useQuery(t)}function _(e,t){var n=o.useRef();n.current&&e===n.current.client&&t===n.current.query||(n.current=new E(e,t,n.current));var r=n.current;return r.forceUpdateState=o.useReducer((function(e){return e+1}),0)[1],r}var E=function(){function e(e,t,n){var r=this;this.client=e,this.query=t,this.forceUpdate=function(){return r.forceUpdateState()},this.ssrDisabledResult=(0,h.maybeDeepFreeze)({loading:!0,data:void 0,error:void 0,networkStatus:f.NetworkStatus.loading}),this.skipStandbyResult=(0,h.maybeDeepFreeze)({loading:!1,data:void 0,error:void 0,networkStatus:f.NetworkStatus.ready}),this.toQueryResultCache=new(m.canUseWeakMap?WeakMap:Map),(0,p.verifyDocumentType)(t,p.DocumentType.Query);var i=n&&n.result,o=i&&i.data;o&&(this.previousData=o)}return e.prototype.forceUpdateState=function(){!1!==globalThis.__DEV__&&i.invariant.warn(48)},e.prototype.executeQuery=function(e){var t,n=this;e.query&&Object.assign(this,{query:e.query}),this.watchQueryOptions=this.createWatchQueryOptions(this.queryHookOptions=e);var r=this.observable.reobserveAsConcast(this.getObsQueryOptions());return this.previousData=(null===(t=this.result)||void 0===t?void 0:t.data)||this.previousData,this.result=void 0,this.forceUpdate(),new Promise((function(e){var t;r.subscribe({next:function(e){t=e},error:function(){e(n.toQueryResult(n.observable.getCurrentResult()))},complete:function(){e(n.toQueryResult(t))}})}))},e.prototype.useQuery=function(e){var t=this;this.renderPromises=o.useContext((0,c.getApolloContext)()).renderPromises,this.useOptions(e);var n=this.useObservableQuery(),r=(0,a.useSyncExternalStore)(o.useCallback((function(e){if(t.renderPromises)return function(){};t.forceUpdate=e;var r=function(){var e=t.result,r=n.getCurrentResult();e&&e.loading===r.loading&&e.networkStatus===r.networkStatus&&(0,s.equal)(e.data,r.data)||t.setResult(r)},i=function(e){if(o.unsubscribe(),o=n.resubscribeAfterError(r,i),!v.call(e,"graphQLErrors"))throw e;var a=t.result;(!a||a&&a.loading||!(0,s.equal)(e,a.error))&&t.setResult({data:a&&a.data,error:e,loading:!1,networkStatus:f.NetworkStatus.error})},o=n.subscribe(r,i);return function(){setTimeout((function(){return o.unsubscribe()})),t.forceUpdate=function(){return t.forceUpdateState()}}}),[n,this.renderPromises,this.client.disableNetworkFetches]),(function(){return t.getCurrentResult()}),(function(){return t.getCurrentResult()}));return this.unsafeHandlePartialRefetch(r),this.toQueryResult(r)},e.prototype.useOptions=function(t){var n,r=this.createWatchQueryOptions(this.queryHookOptions=t),i=this.watchQueryOptions;(0,s.equal)(r,i)||(this.watchQueryOptions=r,i&&this.observable&&(this.observable.reobserve(this.getObsQueryOptions()),this.previousData=(null===(n=this.result)||void 0===n?void 0:n.data)||this.previousData,this.result=void 0)),this.onCompleted=t.onCompleted||e.prototype.onCompleted,this.onError=t.onError||e.prototype.onError,!this.renderPromises&&!this.client.disableNetworkFetches||!1!==this.queryHookOptions.ssr||this.queryHookOptions.skip?this.queryHookOptions.skip||"standby"===this.watchQueryOptions.fetchPolicy?this.result=this.skipStandbyResult:this.result!==this.ssrDisabledResult&&this.result!==this.skipStandbyResult||(this.result=void 0):this.result=this.ssrDisabledResult},e.prototype.getObsQueryOptions=function(){var e=[],t=this.client.defaultOptions.watchQuery;return t&&e.push(t),this.queryHookOptions.defaultOptions&&e.push(this.queryHookOptions.defaultOptions),e.push((0,y.compact)(this.observable&&this.observable.options,this.watchQueryOptions)),e.reduce(u.mergeOptions)},e.prototype.createWatchQueryOptions=function(e){var t;void 0===e&&(e={});var n=e.skip,i=(e.ssr,e.onCompleted,e.onError,e.defaultOptions,(0,r.__rest)(e,["skip","ssr","onCompleted","onError","defaultOptions"])),o=Object.assign(i,{query:this.query});if(!this.renderPromises||"network-only"!==o.fetchPolicy&&"cache-and-network"!==o.fetchPolicy||(o.fetchPolicy="cache-first"),o.variables||(o.variables={}),n){var a=o.fetchPolicy,s=void 0===a?this.getDefaultFetchPolicy():a,u=o.initialFetchPolicy,c=void 0===u?s:u;Object.assign(o,{initialFetchPolicy:c,fetchPolicy:"standby"})}else o.fetchPolicy||(o.fetchPolicy=(null===(t=this.observable)||void 0===t?void 0:t.options.initialFetchPolicy)||this.getDefaultFetchPolicy());return o},e.prototype.getDefaultFetchPolicy=function(){var e,t;return(null===(e=this.queryHookOptions.defaultOptions)||void 0===e?void 0:e.fetchPolicy)||(null===(t=this.client.defaultOptions.watchQuery)||void 0===t?void 0:t.fetchPolicy)||"cac
40he-first"},e.prototype.onCompleted=function(e){},e.prototype.onError=function(e){},e.prototype.useObservableQuery=function(){var e=this.observable=this.renderPromises&&this.renderPromises.getSSRObservable(this.watchQueryOptions)||this.observable||this.client.watchQuery(this.getObsQueryOptions());this.obsQueryFields=o.useMemo((function(){return{refetch:e.refetch.bind(e),reobserve:e.reobserve.bind(e),fetchMore:e.fetchMore.bind(e),updateQuery:e.updateQuery.bind(e),startPolling:e.startPolling.bind(e),stopPolling:e.stopPolling.bind(e),subscribeToMore:e.subscribeToMore.bind(e)}}),[e]);var t=!(!1===this.queryHookOptions.ssr||this.queryHookOptions.skip);return this.renderPromises&&t&&(this.renderPromises.registerSSRObservable(e),e.getCurrentResult().loading&&this.renderPromises.addObservableQueryPromise(e)),e},e.prototype.setResult=function(e){var t=this.result;t&&t.data&&(this.previousData=t.data),this.result=e,this.forceUpdate(),this.handleErrorOrCompleted(e,t)},e.prototype.handleErrorOrCompleted=function(e,t){var n=this;if(!e.loading){var r=this.toApolloError(e);Promise.resolve().then((function(){r?n.onError(r):e.data&&(null==t?void 0:t.networkStatus)!==e.networkStatus&&e.networkStatus===f.NetworkStatus.ready&&n.onCompleted(e.data)})).catch((function(e){!1!==globalThis.__DEV__&&i.invariant.warn(e)}))}},e.prototype.toApolloError=function(e){return(0,g.isNonEmptyArray)(e.errors)?new l.ApolloError({graphQLErrors:e.errors}):e.error},e.prototype.getCurrentResult=function(){return this.result||this.handleErrorOrCompleted(this.result=this.observable.getCurrentResult()),this.result},e.prototype.toQueryResult=function(e){var t=this.toQueryResultCache.get(e);if(t)return t;var n=e.data,i=(e.partial,(0,r.__rest)(e,["data","partial"]));return this.toQueryResultCache.set(e,t=(0,r.__assign)((0,r.__assign)((0,r.__assign)({data:n},i),this.obsQueryFields),{client:this.client,observable:this.observable,variables:this.observable.variables,called:!this.queryHookOptions.skip,previousData:this.previousData})),!t.error&&(0,g.isNonEmptyArray)(e.errors)&&(t.error=new l.ApolloError({graphQLErrors:e.errors})),t},e.prototype.unsafeHandlePartialRefetch=function(e){!e.partial||!this.queryHookOptions.partialRefetch||e.loading||e.data&&0!==Object.keys(e.data).length||"cache-only"===this.observable.options.fetchPolicy||(Object.assign(e,{loading:!0,networkStatus:f.NetworkStatus.refetch}),this.observable.refetch())},e}()},(e,t,n)=>{"use strict";n.r(t),n.d(t,{useApolloClient:()=>a});var r=n(303),i=n(242),o=n(736);function a(e){var t=i.useContext((0,o.getApolloContext)()),n=e||t.client;return(0,r.invariant)(!!n,47),n}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{getApolloContext:()=>s,resetApolloContext:()=>u});var r=n(242),i=n(311),o=n(303),a=i.canUseSymbol?Symbol.for("__APOLLO_CONTEXT__"):"__APOLLO_CONTEXT__";function s(){(0,o.invariant)("createContext"in r,43);var e=r.createContext[a];return e||(Object.defineProperty(r.createContext,a,{value:e=r.createContext({}),enumerable:!1,writable:!1,configurable:!0}),e.displayName="ApolloContext"),e}var u=s},(e,t,n)=>{"use strict";n.r(t),n.d(t,{DocumentType:()=>r,operationName:()=>a,parser:()=>s,verifyDocumentType:()=>u});var r,i=n(303);!function(e){e[e.Query=0]="Query",e[e.Mutation=1]="Mutation",e[e.Subscription=2]="Subscription"}(r||(r={}));var o=new Map;function a(e){var t;switch(e){case r.Query:t="Query";break;case r.Mutation:t="Mutation";break;case r.Subscription:t="Subscription"}return t}function s(e){var t,n,a=o.get(e);if(a)return a;(0,i.invariant)(!!e&&!!e.kind,57,e);for(var s=[],u=[],c=[],l=[],f=0,p=e.definitions;f<p.length;f++){var d=p[f];if("FragmentDefinition"!==d.kind){if("OperationDefinition"===d.kind)switch(d.operation){case"query":u.push(d);break;case"mutation":c.push(d);break;case"subscription":l.push(d)}}else s.push(d)}(0,i.invariant)(!s.length||u.length||c.length||l.length,58),(0,i.invariant)(u.length+c.length+l.length<=1,59,e,u.length,l.length,c.length),n=u.length?r.Query:r.Mutation,u.length||c.length||(n=r.Subscription);var h=u.length?u:c.length?c:l;(0,i.invariant)(1===h.length,60,e,h.length);var m=h[0];t=m.variableDefinitions||[];var y={name:m.name&&"Name"===m.name.kind?m.name.value:"data",type:n,variables:t};return o.set(e,y),y}function u(e,t){var n=s(e),r=a(t),o=a(n.type);(0,i.invariant)(n.type===t,61,r,r,o)}},,,,(e,t,n)=>{"use strict";
40Object.defineProperty(t,"__esModule",{value:!0}),t.withContentRect=t.default=void 0;var r=o(n(742)),i=o(n(743));function o(e){return e&&e.__esModule?e:{default:e}}t.default=r.default,t.withContentRect=i.default},(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});i(n(242));var r=i(n(743));function i(e){return e&&e.__esModule?e:{default:e}}t.default=(0,r.default)()((function(e){var t=e.measure,n=e.measureRef,r=e.contentRect;return(0,e.children)({measure:t,measureRef:n,contentRect:r})})),e.exports=t.default},(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=n(242),a=(l(o),l(n(244))),s=l(n(744)),u=l(n(745)),c=l(n(746));function l(e){return e&&e.__esModule?e:{default:e}}function f(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}t.default=function(e){return function(t){var n,l;return l=n=function(n){function a(){var t,n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a);for(var i=arguments.length,o=Array(i),s=0;s<i;s++)o[s]=arguments[s];return n=r=f(this,(t=a.__proto__||Object.getPrototypeOf(a)).call.apply(t,[this].concat(o))),r.state={contentRect:{entry:{},client:{},offset:{},scroll:{},bounds:{},margin:{}}},r.measure=function(t){var n=(0,c.default)(r._node,e||(0,u.default)(r.props));t&&(n.entry=t[0].contentRect),r.setState({contentRect:n}),"function"==typeof r.props.onResize&&r.props.onResize(n)},r._handleRef=function(e){r._resizeObserver&&(e?r._resizeObserver.observe(e):r._resizeObserver.disconnect(r._node)),r._node=e,"function"==typeof r.props.innerRef&&r.props.innerRef(e)},f(r,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(a,n),i(a,[{key:"componentWillMount",value:function(){this._resizeObserver=new s.default(this.measure)}},{key:"render",value:function(){var e=this.props,n=(e.innerRef,e.onResize,function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["innerRef","onResize"]));return(0,o.createElement)(t,r({},n,{measureRef:this._handleRef,measure:this.measure,contentRect:this.state.contentRect}))}}]),a}(o.Component),n.propTypes={client:a.default.bool,offset:a.default.bool,scroll:a.default.bool,bounds:a.default.bool,margin:a.default.bool,innerRef:a.default.func,onResize:a.default.func,children:a.default.func},l}},e.exports=t.default},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>T});var r=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var n=-1;return e.some((function(e,r){return e[0]===t&&(n=r,!0)})),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),r=this.__entries__[n];return r&&r[1]},t.prototype.set=function(t,n){var r=e(this.__entries__,t);~r?this.__entries__[r][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,r=e(n,t);~r&&n.splice(r,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,r=this.__entries__;n<r.length;n++){var i=r[n];e.call(t,i[1],i[0])}},t}()}(),i="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,o=void 0!==n.g&&n.g.Math===Math?n.g:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),a="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(o):function(e){return setTimeout((function(){return e(Date.now())}),1e3/60)};var s=["top","right","bottom","left","width","height","size","weight"],u="undefined"!=typeof MutationObserver,c=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(e,t){var n=!1,r=!1,i=0;function o(){n&&(n=!1,e()),r&&u()}function s(){a(o)}function u(){var e=Date.now();if(n){if(e-i<2)return;r=!0}else n=!0,r=!1,setTimeout(s,t);i=e}return u}(this.refresh.bind(this),20)}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,n=t.indexOf(e);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter((function(e){return e.gatherActive(),e.hasActive()}
vendor: 4,662 bytes, line 40
40));return e.forEach((function(e){return e.broadcastActive()})),e.length>0},e.prototype.connect_=function(){i&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),u?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){i&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t;s.some((function(e){return!!~n.indexOf(e)}))&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),l=function(e,t){for(var n=0,r=Object.keys(t);n<r.length;n++){var i=r[n];Object.defineProperty(e,i,{value:t[i],enumerable:!1,writable:!1,configurable:!0})}return e},f=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||o},p=v(0,0,0,0);function d(e){return parseFloat(e)||0}function h(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce((function(t,n){return t+d(e["border-"+n+"-width"])}),0)}function m(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return p;var r=f(e).getComputedStyle(e),i=function(e){for(var t={},n=0,r=["top","right","bottom","left"];n<r.length;n++){var i=r[n],o=e["padding-"+i];t[i]=d(o)}return t}(r),o=i.left+i.right,a=i.top+i.bottom,s=d(r.width),u=d(r.height);if("border-box"===r.boxSizing&&(Math.round(s+o)!==t&&(s-=h(r,"left","right")+o),Math.round(u+a)!==n&&(u-=h(r,"top","bottom")+a)),!function(e){return e===f(e).document.documentElement}(e)){var c=Math.round(s+o)-t,l=Math.round(u+a)-n;1!==Math.abs(c)&&(s-=c),1!==Math.abs(l)&&(u-=l)}return v(i.left,i.top,s,u)}var y="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof f(e).SVGGraphicsElement}:function(e){return e instanceof f(e).SVGElement&&"function"==typeof e.getBBox};function g(e){return i?y(e)?function(e){var t=e.getBBox();return v(0,0,t.width,t.height)}(e):m(e):p}function v(e,t,n,r){return{x:e,y:t,width:n,height:r}}var b=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=v(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=g(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),_=function(e,t){var n,r,i,o,a,s,u,c=(r=(n=t).x,i=n.y,o=n.width,a=n.height,s="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,u=Object.create(s.prototype),l(u,{x:r,y:i,width:o,height:a,top:i,right:r+o,bottom:a+i,left:r}),u);l(this,{target:e,contentRect:c})},E=function(){function e(e,t,n){if(this.activeObservations_=[],this.observations_=new r,"function"!=typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=n}return e.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof f(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new b(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof f(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach((function(t){t.isActive()&&e.activeObservations_.push(t)}))},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map((function(e){return new _(e.target,e.broadcastRect())}
40));this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),S="undefined"!=typeof WeakMap?new WeakMap:new r,w=function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=c.getInstance(),r=new E(t,n,this);S.set(this,r)};["observe","unobserve","disconnect"].forEach((function(e){w.prototype[e]=function(){var t;return(t=S.get(this))[e].apply(t,arguments)}}));const T=void 0!==o.ResizeObserver?o.ResizeObserver:w},(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=[];return n.forEach((function(n){e[n]&&t.push(n)})),t};var n=["client","offset","scroll","bounds","margin"];e.exports=t.default},(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n={};if(t.indexOf("client")>-1&&(n.client={top:e.clientTop,left:e.clientLeft,width:e.clientWidth,height:e.clientHeight}),t.indexOf("offset")>-1&&(n.offset={top:e.offsetTop,left:e.offsetLeft,width:e.offsetWidth,height:e.offsetHeight}),t.indexOf("scroll")>-1&&(n.scroll={top:e.scrollTop,left:e.scrollLeft,width:e.scrollWidth,height:e.scrollHeight}),t.indexOf("bounds")>-1){var r=e.getBoundingClientRect();n.bounds={top:r.top,right:r.right,bottom:r.bottom,left:r.left,width:r.width,height:r.height}}if(t.indexOf("margin")>-1){var i=getComputedStyle(e);n.margin={top:parseInt(i.marginTop),right:parseInt(i.marginRight),bottom:parseInt(i.marginBottom),left:parseInt(i.marginLeft)}}return n},e.exports=t.default},,,,,,,,,,,,,,,,(e,t,n)=>{"use strict";n.r(t),n.d(t,{useMutation:()=>l});var r=n(258),i=n(242),o=n(375),a=n(421),s=n(737),u=n(416),c=n(735);function l(e,t){var n=(0,c.useApolloClient)(null==t?void 0:t.client);(0,s.verifyDocumentType)(e,s.DocumentType.Mutation);var l=i.useState({called:!1,loading:!1,client:n}),f=l[0],p=l[1],d=i.useRef({result:f,mutationId:0,isMounted:!0,client:n,mutation:e,options:t});Object.assign(d.current,{client:n,options:t,mutation:e});var h=i.useCallback((function(e){void 0===e&&(e={});var t=d.current,n=t.options,i=t.mutation,s=(0,r.__assign)((0,r.__assign)({},n),{mutation:i}),c=e.client||d.current.client;d.current.result.loading||s.ignoreResults||!d.current.isMounted||p(d.current.result={loading:!0,error:void 0,data:void 0,called:!0,client:c});var l=++d.current.mutationId,f=(0,o.mergeOptions)(s,e);return c.mutate(f).then((function(t){var n,r,i=t.data,o=t.errors,s=o&&o.length>0?new u.ApolloError({graphQLErrors:o}):void 0,h=e.onError||(null===(n=d.current.options)||void 0===n?void 0:n.onError);if(s&&h&&h(s,f),l===d.current.mutationId&&!f.ignoreResults){var m={called:!0,loading:!1,data:i,error:s,client:c};d.current.isMounted&&!(0,a.equal)(d.current.result,m)&&p(d.current.result=m)}var y=e.onCompleted||(null===(r=d.current.options)||void 0===r?void 0:r.onCompleted);return s||null==y||y(t.data,f),t})).catch((function(t){var n;if(l===d.current.mutationId&&d.current.isMounted){var r={loading:!1,error:t,data:void 0,called:!0,client:c};(0,a.equal)(d.current.result,r)||p(d.current.result=r)}var i=e.onError||(null===(n=d.current.options)||void 0===n?void 0:n.onError);if(i)return i(t,f),{data:void 0,errors:t};throw t}))}),[]),m=i.useCallback((function(){d.current.isMounted&&p({called:!1,loading:!1,client:n})}),[]);return i.useEffect((function(){return d.current.isMounted=!0,function(){d.current.isMounted=!1}}),[]),[h,(0,r.__assign)({reset:m},f)]}},,,,,,,,,,,,,,(e,t,n)=>{"use strict";n.r(t),n.d(t,{AbortedDeferredError:()=>o.AbortedDeferredError,Await:()=>i.Await,BrowserRouter:()=>T,Form:()=>I,HashRouter:()=>O,Link:()=>N,MemoryRouter:()=>i.MemoryRouter,NavLink:()=>A,Navigate:()=>i.Navigate,NavigationType:()=>o.Action,Outlet:()=>i.Outlet,Route:()=>i.Route,Router:()=>i.Router,RouterProvider:()=>i.RouterProvider,Routes:()=>i.Routes,ScrollRestoration:()=>C,UNSAFE_DataRouterContext:()=>i.UNSAFE_DataRouterContext,UNSAFE_DataRouterStateContext:()=>i.UNSAFE_DataRouterStateContext,UNSAFE_LocationContext:()=>i.UNSAFE_LocationContext,UNSAFE_NavigationContext:()=>i.UNSAFE_NavigationContext,UNSAFE_RouteContext:()=>i.UNSAFE_RouteContext,UNSAFE_useRouteId:()=>i.UNSAFE_useRouteId,UNSAFE_useScrollRestoration:()=>W,createBrowserRouter:()=>b,createHashRouter:()=>_,createMemoryRouter:()=>i.createMemoryRouter,createPath:()=>o.createPath,createRoutesFromChildren:()=>i.createRoutesFromChildren,createRoutesFromElements:()=>i.createRoutesFromElements,createSearchParams:()=>f,defer:()=>o.defer,generatePath:()=>o.generatePath,isRouteErrorResponse:()=>o.isRouteErrorResponse,json:()=>o.json,matchPath:()=>o.matchPath,matchRoutes:()=>o.matchRoutes,parsePath:()=>o.parsePath,redirect:()=>o.redirect,redirectDocument:()=>o.redirectDocument,renderMatches:()=>i.renderMatches,resolvePath:()=>o.resolvePath,unstable_HistoryRouter:()=>x,unstable_useBlocker:()=>i.unstable_useBlocker,unstable_usePrompt:()=>X,useActionData:()=>i.useActionData,useAsyncError:()=>i.useAsyncError,useAsyncValue:()=>i.useAsyncValue,useBeforeUnload:()=>Q,useFetcher:()=>z,useFetchers:()=>$,useFormAction:()=>V,useHref:()=>i.useHref,useInRouterContext:()=>i.useInRouterContext,useLinkClickHandler:()=>
40F,useLoaderData:()=>i.useLoaderData,useLocation:()=>i.useLocation,useMatch:()=>i.useMatch,useMatches:()=>i.useMatches,useNavigate:()=>i.useNavigate,useNavigation:()=>i.useNavigation,useNavigationType:()=>i.useNavigationType,useOutlet:()=>i.useOutlet,useOutletContext:()=>i.useOutletContext,useParams:()=>i.useParams,useResolvedPath:()=>i.useResolvedPath,useRevalidator:()=>i.useRevalidator,useRouteError:()=>i.useRouteError,useRouteLoaderData:()=>i.useRouteLoaderData,useRoutes:()=>i.useRoutes,useSearchParams:()=>U,useSubmit:()=>q});var r=n(242),i=n(728),o=n(729);
41/**
42 * React Router DOM v6.16.0
43 *
44 * Copyright (c) Remix Software Inc.
45 *
46 * This source code is licensed under the MIT license found in the
47 * LICENSE.md file in the root directory of this source tree.
48 *
49 * @license MIT
50 */
51function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a.apply(this,arguments)}function s(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}const u="get",c="application/x-www-form-urlencoded";function l(e){return null!=e&&"string"==typeof e.tagName}function f(e){return void 0===e&&(e=""),new URLSearchParams("string"==typeof e||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce(((t,n)=>{let r=e[n];return t.concat(Array.isArray(r)?r.map((e=>[n,e])):[[n,r]])}),[]))}let p=null;const d=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function h(e){return null==e||d.has(e)?e:null}function m(e,t){let n,r,i,a,s;if(l(f=e)&&"form"===f.tagName.toLowerCase()){let s=e.getAttribute("action");r=s?(0,o.stripBasename)(s,t):null,n=e.getAttribute("method")||u,i=h(e.getAttribute("enctype"))||c,a=new FormData(e)}else if(function(e){return l(e)&&"button"===e.tagName.toLowerCase()}(e)||function(e){return l(e)&&"input"===e.tagName.toLowerCase()}(e)&&("submit"===e.type||"image"===e.type)){let s=e.form;if(null==s)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let l=e.getAttribute("formaction")||s.getAttribute("action");if(r=l?(0,o.stripBasename)(l,t):null,n=e.getAttribute("formmethod")||s.getAttribute("method")||u,i=h(e.getAttribute("formenctype"))||h(s.getAttribute("enctype"))||c,a=new FormData(s,e),!function(){if(null===p)try{new FormData(document.createElement("form"),0),p=!1}catch(e){p=!0}return p}()){let{name:t,type:n,value:r}=e;if("image"===n){let e=t?t+".":"";a.append(e+"x","0"),a.append(e+"y","0")}else t&&a.append(t,r)}}else{if(l(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');n=u,r=null,i=c,s=e}var f;return a&&"text/plain"===i&&(s=a,a=void 0),{action:r,method:n.toLowerCase(),encType:i,formData:a,body:s}}const y=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset"],g=["aria-current","caseSensitive","className","end","style","to","children"],v=["reloadDocument","replace","state","method","action","onSubmit","submit","relative","preventScrollReset"];function b(e,t){return(0,o.createRouter)({basename:null==t?void 0:t.basename,future:a({},null==t?void 0:t.future,{v7_prependBasename:!0}),history:(0,o.createBrowserHistory)({window:null==t?void 0:t.window}),hydrationData:(null==t?void 0:t.hydrationData)||E(),routes:e,mapRouteProperties:i.UNSAFE_mapRouteProperties}).initialize()}function _(e,t){return(0,o.createRouter)({basename:null==t?void 0:t.basename,future:a({},null==t?void 0:t.future,{v7_prependBasename:!0}),history:(0,o.createHashHistory)({window:null==t?void 0:t.window}),hydrationData:(null==t?void 0:t.hydrationData)||E(),routes:e,mapRouteProperties:i.UNSAFE_mapRouteProperties}).initialize()}function E(){var e;let t=null==(e=window)?void 0:e.__staticRouterHydrationData;return t&&t.errors&&(t=a({},t,{errors:S(t.errors)})),t}function S(e){if(!e)return null;let t=Object.entries(e),n={};for(let[e,r]of t)if(r&&"RouteErrorResponse"===r.__type)n[e]=new o.UNSAFE_ErrorResponseImpl(r.status,r.statusText,r.data,!0===r.internal);else if(r&&"Error"===r.__type){if(r.__subType){let t=window[r.__subType];if("function"==typeof t)try{let i=new t(r.message);i.stack="",n[e]=i}catch(e){}}if(null==n[e]){let t=new Error(r.message);t.stack="",n[e]=t}}else n[e]=r;return n}const w=r.startTransition;function T(e){let{basename:t,children:n,future:a,window:s}=e,u=r.useRef();null==u.current&&(u.current=(0,o.createBrowserHistory)({window:s,v5Compat:!0}));let c=u.current,[l,f]=r.useState({action:c.action,location:c.location}),{v7_startTransition:p}=a||{},d=r.useCallback((e=>{p&&w?w((()=>f(e))):f(e)}),[f,p]);return r.useLayoutEffect((()=>c.listen(d)),[c,d]),r.createElement(i.Router,{basename:t,children:n,location:l.location,navigationType:l.action,navigator:c})}function O(e){let{basename:t,children:n,future:a,window:s}=e,u=r.useRef();null==u.current&&(u.current=(0,o.createHashHistory)({window:s,v5Compat:!0}));let c=u.current,[l,f]=r.useState({action:c.action,location:c.location}),{v7_startTransition:p}=a||{},d=r.useCallback((e=>{p&&w?w((()=>f(e))):f(e)}),[f,p]);return r.useLayoutEffect((()=>c.listen(d)),[c,d]),r.createElement(i.Router,{basename:t,children:n,location:l.location,navigationType:l.action,navigator:c})}function x(e){let{basename:t,children:n,future:o,history:a}=e,[s,u]=r.useState({action:a.action,location:a.location}),{v7_startTransition:c}=o||{},l=r.useCallback((e=>{c&&w?w((()=>u(e))):u(e)}),[u,c]);return r.useLayoutEffect((()=>a.listen(l)),[a,l]),r.createElement(i.Router,{basename:t,children:n,location:s.location,navigationType:s.action,navigator:a})}const k="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement,R=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,N=r.forwardRef((function(e,t){let n,{onClick:u,relative:c,reloadDocument:l,replace:f,state:p,target:d,to:h,preventScrollReset:m}=e,g=s(e,y),{basename:v}=r.useContext(i.UNSAFE_NavigationContext),b=!1;if("string"==typeof h&&R.test(h)&&(n=h,k))try{let e=new URL(window.location.href),t=h.startsWith("//")?new URL(e.protocol+h):new URL(h),n=(0,o.stripBasename)(t.pathname,v);t.origin===e.origin&&null!=n?h=n+t.search+t.hash:b=!0}catch(e){}let _=(0,i.useHref)(h,{relative:c}
51),E=F(h,{replace:f,state:p,target:d,preventScrollReset:m,relative:c});return r.createElement("a",a({},g,{href:n||_,onClick:b||l?u:function(e){u&&u(e),e.defaultPrevented||E(e)},ref:t,target:d}))}));const A=r.forwardRef((function(e,t){let{"aria-current":n="page",caseSensitive:o=!1,className:u="",end:c=!1,style:l,to:f,children:p}=e,d=s(e,g),h=(0,i.useResolvedPath)(f,{relative:d.relative}),m=(0,i.useLocation)(),y=r.useContext(i.UNSAFE_DataRouterStateContext),{navigator:v}=r.useContext(i.UNSAFE_NavigationContext),b=v.encodeLocation?v.encodeLocation(h).pathname:h.pathname,_=m.pathname,E=y&&y.navigation&&y.navigation.location?y.navigation.location.pathname:null;o||(_=_.toLowerCase(),E=E?E.toLowerCase():null,b=b.toLowerCase());let S,w=_===b||!c&&_.startsWith(b)&&"/"===_.charAt(b.length),T=null!=E&&(E===b||!c&&E.startsWith(b)&&"/"===E.charAt(b.length)),O=w?n:void 0;S="function"==typeof u?u({isActive:w,isPending:T}):[u,w?"active":null,T?"pending":null].filter(Boolean).join(" ");let x="function"==typeof l?l({isActive:w,isPending:T}):l;return r.createElement(N,a({},d,{"aria-current":O,className:S,ref:t,style:x,to:f}),"function"==typeof p?p({isActive:w,isPending:T}):p)}));const I=r.forwardRef(((e,t)=>{let n=q();return r.createElement(D,a({},e,{submit:n,ref:t}))}));const D=r.forwardRef(((e,t)=>{let{reloadDocument:n,replace:i,state:o,method:c=u,action:l,onSubmit:f,submit:p,relative:d,preventScrollReset:h}=e,m=s(e,v),y="get"===c.toLowerCase()?"get":"post",g=V(l,{relative:d});return r.createElement("form",a({ref:t,method:y,action:g,onSubmit:n?f:e=>{if(f&&f(e),e.defaultPrevented)return;e.preventDefault();let t=e.nativeEvent.submitter,n=(null==t?void 0:t.getAttribute("formmethod"))||c;p(t||e.currentTarget,{method:n,replace:i,state:o,relative:d,preventScrollReset:h})}},m))}));function C(e){let{getKey:t,storageKey:n}=e;return W({getKey:t,storageKey:n}),null}var P,L;function M(e){let t=r.useContext(i.UNSAFE_DataRouterContext);return t||(0,o.UNSAFE_invariant)(!1),t}function j(e){let t=r.useContext(i.UNSAFE_DataRouterStateContext);return t||(0,o.UNSAFE_invariant)(!1),t}function F(e,t){let{target:n,replace:a,state:s,preventScrollReset:u,relative:c}=void 0===t?{}:t,l=(0,i.useNavigate)(),f=(0,i.useLocation)(),p=(0,i.useResolvedPath)(e,{relative:c}
51);return r.useCallback((t=>{if(function(e,t){return!(0!==e.button||t&&"_self"!==t||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e))}(t,n)){t.preventDefault();let n=void 0!==a?a:(0,o.createPath)(f)===(0,o.createPath)(p);l(e,{replace:n,state:s,preventScrollReset:u,relative:c})}}),[f,l,p,a,s,n,e,u,c])}function U(e){let t=r.useRef(f(e)),n=r.useRef(!1),o=(0,i.useLocation)(),a=r.useMemo((()=>function(e,t){let n=f(e);return t&&t.forEach(((e,r)=>{n.has(r)||t.getAll(r).forEach((e=>{n.append(r,e)}))})),n}(o.search,n.current?null:t.current)),[o.search]),s=(0,i.useNavigate)(),u=r.useCallback(((e,t)=>{const r=f("function"==typeof e?e(a):e);n.current=!0,s("?"+r,t)}),[s,a]);return[a,u]}function B(){if("undefined"==typeof document)throw new Error("You are calling submit during the server render. Try calling submit within a `useEffect` or callback instead.")}function q(){let{router:e}=M(P.UseSubmit),{basename:t}=r.useContext(i.UNSAFE_NavigationContext),n=(0,i.UNSAFE_useRouteId)();return r.useCallback((function(r,i){void 0===i&&(i={}),B();let{action:o,method:a,encType:s,formData:u,body:c}=m(r,t);e.navigate(i.action||o,{preventScrollReset:i.preventScrollReset,formData:u,body:c,formMethod:i.method||a,formEncType:i.encType||s,replace:i.replace,state:i.state,fromRouteId:n})}),[e,t,n])}function G(e,t){let{router:n}=M(P.UseSubmitFetcher),{basename:a}=r.useContext(i.UNSAFE_NavigationContext);return r.useCallback((function(r,i){void 0===i&&(i={}),B();let{action:s,method:u,encType:c,formData:l,body:f}=m(r,a);null==t&&(0,o.UNSAFE_invariant)(!1),n.fetch(e,t,i.action||s,{preventScrollReset:i.preventScrollReset,formData:l,body:f,formMethod:i.method||u,formEncType:i.encType||c})}),[n,a,e,t])}function V(e,t){let{relative:n}=void 0===t?{}:t,{basename:s}=r.useContext(i.UNSAFE_NavigationContext),u=r.useContext(i.UNSAFE_RouteContext);u||(0,o.UNSAFE_invariant)(!1);let[c]=u.matches.slice(-1),l=a({},(0,i.useResolvedPath)(e||".",{relative:n})),f=(0,i.useLocation)();if(null==e&&(l.search=f.search,c.route.index)){let e=new URLSearchParams(l.search);e.delete("index"),l.search=e.toString()?"?"+e.toString():""}return e&&"."!==e||!c.route.index||(l.search=l.search?l.search.replace(/^\?/,"?index&"):"?index"),"/"!==s&&(l.pathname="/"===l.pathname?s:(0,o.joinPaths)([s,l.pathname])),(0,o.createPath)(l)}(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher"})(P||(P={})),function(e){e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"}(L||(L={}));let H=0;function z(){var e;let{router:t}=M(P.UseFetcher),n=r.useContext(i.UNSAFE_RouteContext);n||(0,o.UNSAFE_invariant)(!1);let s=null==(e=n.matches[n.matches.length-1])?void 0:e.route.id;null==s&&(0,o.UNSAFE_invariant)(!1);let[u]=r.useState((()=>String(++H))),[c]=r.useState((()=>(s||(0,o.UNSAFE_invariant)(!1),function(e,t){return r.forwardRef(((n,i)=>{let o=G(e,t);return r.createElement(D,a({},n,{ref:i,submit:o}))}))}(u,s)))),[l]=r.useState((()=>e=>{t||(0,o.UNSAFE_invariant)(!1),s||(0,o.UNSAFE_invariant)(!1),t.fetch(u,s,e)})),f=G(u,s),p=t.getFetcher(u),d=r.useMemo((()=>a({Form:c,submit:f,load:l},p)),[p,c,f,l]);return r.useEffect((()=>()=>{t?t.deleteFetcher(u):console.warn("No router available to clean up from useFetcher()")}),[t,u]),d}function $(){return[...j(L.UseFetchers).fetchers.values()]}const K="react-router-scroll-positions";let Y={};function W(e){let{getKey:t,storageKey:n}=void 0===e?{}:e,{router:s}=M(P.UseScrollRestoration),{restoreScrollPosition:u,preventScrollReset:c}=j(L.UseScrollRestoration),{basename:l}=r.useContext(i.UNSAFE_NavigationContext),f=(0,i.useLocation)(),p=(0,i.useMatches)(),d=(0,i.useNavigation)();r.useEffect((()=>(window.history.scrollRestoration="manual",()=>{window.history.scrollRestoration="auto"})),[]),function(e,t){let{capture:n}=t||{};r.useEffect((()=>{let t=null!=n?{capture:n}:void 0;return window.addEventListener("pagehide",e,t),()=>{window.removeEventListener("pagehide",e,t)}}),[e,n])}(r.useCallback((()=>{if("idle"===d.state){let e=(t?t(f,p):null)||f.key;Y[e]=window.scrollY}sessionStorage.setItem(n||K,JSON.stringify(Y)),window.history.scrollRestoration="auto"}),[n,t,d.state,f,p])),"undefined"!=typeof document&&(r.useLayoutEffect((()=>{try{let e=sessionStorage.getItem(n||K);e&&(Y=JSON.parse(e))}catch(e){}}),[n]),r.useLayoutEffect((()=>{let e=t&&"/"!==l?(e,n)=>t(a({},e,{pathname:(0,o.stripBasename)(e.pathname,l)||e.pathname}),n):t,n=null==s?void 0:s.enableScrollRestoration(Y,(()=>window.scrollY),e);return()=>n&&n()}),[s,l,t]),r.useLayoutEffect((()=>
51{if(!1!==u)if("number"!=typeof u){if(f.hash){let e=document.getElementById(decodeURIComponent(f.hash.slice(1)));if(e)return void e.scrollIntoView()}!0!==c&&window.scrollTo(0,0)}else window.scrollTo(0,u)}),[f,u,c]))}function Q(e,t){let{capture:n}=t||{};r.useEffect((()=>{let t=null!=n?{capture:n}:void 0;return window.addEventListener("beforeunload",e,t),()=>{window.removeEventListener("beforeunload",e,t)}}),[e,n])}function X(e){let{when:t,message:n}=e,o=(0,i.unstable_useBlocker)(t);r.useEffect((()=>{if("blocked"===o.state){window.confirm(n)?setTimeout(o.proceed,0):o.reset()}}),[o,n]),r.useEffect((()=>{"blocked"!==o.state||t||o.reset()}),[o,t])}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,(e,t,n)=>{"use strict";n.r(t),n.d(t,{ENTERED:()=>p,ENTERING:()=>f,EXITED:()=>l,EXITING:()=>d,UNMOUNTED:()=>c,default:()=>y});var r=n(818),i=n(819),o=n(242),a=n(822),s=n(823),u=n(821),c="unmounted",l="exited",f="entering",p="entered",d="exiting",h=function(e){function t(t,n){var r;r=e.call(this,t,n)||this;var i,o=n&&!n.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?o?(i=l,r.appearStatus=f):i=p:i=t.unmountOnExit||t.mountOnEnter?c:l,r.state={status:i},r.nextCallback=null,r}(0,i.default)(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===c?{status:l}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==f&&n!==p&&(t=f):n!==f&&n!==p||(t=d)}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!=typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},n.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===f){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:o.default.findDOMNode(this);n&&(0,u.forceReflow)(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===l&&this.setState({status:c})},n.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,i=this.props.nodeRef?[r]:[o.default.findDOMNode(this),r],s=i[0],u=i[1],c=this.getTimeouts(),l=r?c.appear:c.enter;!e&&!n||a.default.disabled?this.safeSetState({status:p},(function(){t.props.onEntered(s)})):(this.props.onEnter(s,u),this.safeSetState({status:f},(function(){t.props.onEntering(s,u),t.onTransitionEnd(l,(function(){t.safeSetState({status:p},(function(){t.props.onEntered(s,u)}))}))})))},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:o.default.findDOMNode(this);t&&!a.default.disabled?(this.props.onExit(r),this.safeSetState({status:d},(function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:l},(function(){e.props.onExited(r)}))}))}))):this.safeSetState({status:l},(function(){e.props.onExited(r)}))},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:o.default.findDOMNode(this),r=null==e&&!this.props.addEndListener;if(n&&!r){if(this.props.addEndListener){var i=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],a=i[0],s=i[1];this.props.addEndListener(a,s)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if(e===c)return null;var t=this.props,n=t.children,i=(t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef,(0,r.default)(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return o.default.createElement(s.default.Provider,{value:null},"function"==typeof n?n(e,i):o.default.cloneElement(o.default.Children.only(n),i))},t}(o.default.Component);function m(){}h.contextType=s.default,h.propTypes={},h.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter
51:!0,exit:!0,onEnter:m,onEntering:m,onEntered:m,onExit:m,onExiting:m,onExited:m},h.UNMOUNTED=c,h.EXITED=l,h.ENTERING=f,h.ENTERED=p,h.EXITING=d;const y=h},(e,t,n)=>{"use strict";function r(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}n.r(t),n.d(t,{default:()=>r})},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(820);function i(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,(0,r.default)(e,t)}},(e,t,n)=>{"use strict";function r(e,t){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},r(e,t)}n.r(t),n.d(t,{default:()=>r})},(e,t,n)=>{"use strict";n.r(t),n.d(t,{forceReflow:()=>r});var r=function(e){return e.scrollTop}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={disabled:!1}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r=n(242).default.createContext(null)},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,(e,t,n)=>{"use strict";n.r(t),n.d(t,{ApolloProvider:()=>s});var r=n(258),i=n(303),o=n(242),a=n(736),s=function(e){var t=e.client,n=e.children,s=(0,a.getApolloContext)(),u=o.useContext(s),c=o.useMemo((function(){return(0,r.__assign)((0,r.__assign)({},u),{client:t||u.client})}),[u,t]);return(0,i.invariant)(c.client,44),o.createElement(s.Provider,{value:c},n)}},,,,(e,t,n)=>{"use strict";n.r(t),n.d(t,{BROWSER_TRACING_INTEGRATION_ID:()=>N,BrowserTracing:()=>S,IdleTransaction:()=>P,Integrations:()=>F,Span:()=>R,SpanStatus:()=>j,TRACEPARENT_REGEXP:()=>C,Transaction:()=>k,addExtensionMethods:()=>w,defaultRequestInstrumentationOptions:()=>A,extractTraceparentData:()=>O,getActiveTransaction:()=>T,hasTracingEnabled:()=>I,instrumentOutgoingRequests:()=>L,spanStatusfromHttpCode:()=>x,startIdleTransaction:()=>M,stripUrlQueryAndFragment:()=>D});var r=n(628),i=n(941),o=n(594),a=n(586),s=n(585),u=n(584),c=n(631),l=n(583),f=n(595),p=n(589),d=n(582),h=n(942),m=n(943),y=n(946),g=n(948),v=n(949),b=n(950),_=n(951),E=n(952);const S=r.BrowserTracing,w=i.addExtensionMethods,T=o.getActiveTransaction,O=a.extractTraceparentData,x=s.spanStatusfromHttpCode,k=u.Transaction,R=s.Span,N=r.BROWSER_TRACING_INTEGRATION_ID,A=c.defaultRequestInstrumentationOptions,I=l.hasTracingEnabled,D=f.stripUrlQueryAndFragment,C=a.TRACEPARENT_REGEXP,P=p.IdleTransaction,L=c.instrumentOutgoingRequests,M=d.startIdleTransaction,j=h.SpanStatus,F={BrowserTracing:S,Apollo:m.Apollo,Express:y.Express,GraphQL:g.GraphQL,Mongo:v.Mongo,Mysql:b.Mysql,Postgres:_.Postgres,Prisma:E.Prisma};("undefined"==typeof __SENTRY_TRACING__||__SENTRY_TRACING__)&&(0,i.addExtensionMethods)()},(e,t,n)=>{"use strict";n.r(t),n.d(t,{addExtensionMethods:()=>a});var r=n(267),i=n(582),o=n(272);function a(){(0,i.addTracingExtensions)(),(0,o.isNodeEnv)()&&function(){const t=(0,r.getMainCarrier)();if(!t.__SENTRY__)return;const n={mongodb:()=>new((0,o.dynamicRequire)(e,"./node/integrations/mongo").Mongo),mongoose:()=>new((0,o.dynamicRequire)(e,"./node/integrations/mongo").Mongo),mysql:()=>new((0,o.dynamicRequire)(e,"./node/integrations/mysql").Mysql),pg:()=>new((0,o.dynamicRequire)(e,"./node/integrations/postgres").Postgres)},i=Object.keys(n).filter((e=>!!(0,o.loadModule)(e))).map((e=>{try{return n[e]()}catch(e){return}})).filter((e=>e));i.length>0&&(t.__SENTRY__.integrations=[...t.__SENTRY__.integrations||[],...i])}()}e=n.hmd(e)},(e,t,n)=>{"use strict";var r;n.r(t),n.d(t,{SpanStatus:()=>r}),function(e){e.Ok="ok";e.DeadlineExceeded="deadline_exceeded";e.Unauthenticated="unauthenticated";e.PermissionDenied="permission_denied";e.NotFound="not_found";e.ResourceExhausted="resource_exhausted";e.InvalidArgument="invalid_argument";e.Unimplemented="unimplemented";e.Unavailable="unavailable";e.InternalError="internal_error";e.UnknownError="unknown_error";e.Cancelled="cancelled";e.AlreadyExists="already_exists";e.FailedPrecondition="failed_precondition";e.Aborted="aborted";e.OutOfRange="out_of_range";e.DataLoss="data_loss"}(r||(r={}))},(e,t,n)=>{"use strict";n.r(t),n.d(t,{Apollo:()=>l});var r=n(945),i=n(272),o=n(278),a=n(277),s=n(274),u=n(276),c=n(944);class l{static __initStatic(){this.id="Apollo"}constructor(e={useNestjs:!1}){this.name=l.id,this._useNest=!!e.useNestjs}loadDependency(){return this._useNest?this._module=this._module||(0,i.loadModule)("@nestjs/gra
51phql"):this._module=this._module||(0,i.loadModule)("apollo-server-core"),this._module}setupOnce(e,t){if((0,c.shouldDisableAutoInstrumentation)(t))("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.logger.log("Apollo Integration is skipped because of instrumenter configuration.");else if(this._useNest){const e=this.loadDependency();if(!e)return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.logger.error("Apollo-NestJS Integration was unable to require @nestjs/graphql package."));(0,a.fill)(e.GraphQLFactory.prototype,"mergeWithSchema",(function(e){return function(...n){return(0,a.fill)(this.resolversExplorerService,"explore",(function(e){return function(){return f((0,s.arrayify)(e.call(this)),t)}})),e.call(this,...n)}}))}else{const e=this.loadDependency();if(!e)return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.logger.error("Apollo Integration was unable to require apollo-server-core package."));(0,a.fill)(e.ApolloServerBase.prototype,"constructSchema",(function(e){return function(){if(!this.config.resolvers)return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&(this.config.schema?(o.logger.warn("Apollo integration is not able to trace `ApolloServer` instances constructed via `schema` property.If you are using NestJS with Apollo, please use `Sentry.Integrations.Apollo({ useNestjs: true })` instead."),o.logger.warn()):this.config.modules&&o.logger.warn("Apollo integration is not able to trace `ApolloServer` instances constructed via `modules` property."),o.logger.error("Skipping tracing as no resolvers found on the `ApolloServer` instance.")),e.call(this);const n=(0,s.arrayify)(this.config.resolvers);return this.config.resolvers=f(n,t),e.call(this)}}))}}}function f(e,t){return e.map((e=>(Object.keys(e).forEach((n=>{Object.keys(e[n]).forEach((i=>{"function"==typeof e[n][i]&&function(e,t,n,i){(0,a.fill)(e[t],n,(function(e){return function(...o){const a=i().getScope().getSpan(),s=(0,r._optionalChain)([a,"optionalAccess",e=>e.startChild,"call",e=>e({description:`${t}.${n}`,op:"graphql.resolve",origin:"auto.graphql.apollo"})]),c=e.call(this,...o);return(0,u.isThenable)(c)?c.then((e=>((0,r._optionalChain)([s,"optionalAccess",e=>e.finish,"call",e=>e()]),e))):((0,r._optionalChain)([s,"optionalAccess",e=>e.finish,"call",e=>e()]),c)}}))}(e,n,i,t)}))})),e)))}l.__initStatic()},(e,t,n)=>{"use strict";n.r(t),n.d(t,{shouldDisableAutoInstrumentation:()=>i});var r=n(945);function i(e){const t=(0,r._optionalChain)([e,"call",e=>e(),"access",e=>e.getClient,"call",e=>e(),"optionalAccess",e=>e.getOptions,"call",e=>e()]);return"sentry"!==((0,r._optionalChain)([t,"optionalAccess",e=>e.instrumenter])||"sentry")}},(e,t,n)=>{"use strict";function r(e){let t,n=e[0],r=1;for(;r<e.length;){const i=e[r],o=e[r+1];if(r+=2,("optionalAccess"===i||"optionalCall"===i)&&null==n)return;"access"===i||"optionalAccess"===i?(t=n,n=o(n)):"call"!==i&&"optionalCall"!==i||(n=o(((...e)=>n.call(t,...e))),t=void 0)}return n}n.r(t),n.d(t,{_optionalChain:()=>r})},(e,t,n)=>{"use strict";n.r(t),n.d(t,{Express:()=>c});var r=n(945),i=n(278),o=n(595),a=n(947),s=n(276),u=n(944);class c{static __initStatic(){this.id="Express"}constructor(e={}){this.name=c.id,this._router=e.router||e.app,this._methods=(Array.isArray(e.methods)?e.methods:[]).concat("use")}setupOnce(e,t){this._router?(0,u.shouldDisableAutoInstrumentation)(t)?("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.logger.log("Express Integration is skipped because of instrumenter configuration."):(function(e,t=[]){t.forEach((t=>function(e,t){const n=e[t];return e[t]=function(...e){return n.call(this,...function(e,t){return e.map((e=>"function"==typeof e?l(e,t):Array.isArray(e)?e.map((e=>"function"==typeof e?l(e,t):e)):e))}(e,t))},e}(e,t)))}(this._router,this._methods),function(e){const t="settings"in e;t&&void 0===e._router&&e.lazyrouter&&e.lazyrouter();const n=t?e._router:e;if(!n)return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.logger.debug("Cannot instrument router for URL Parameterization (did not find a valid router)."),void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.logger.debug("Routing instrumentation is currently only supported in Express 4."));const u=Object.getPrototypeOf(n),c=u.process_params;u.process_params=function(e,t,n,i,u){n._reconstructedRoute||(n._reconstructedRoute="");const{layerRoutePath:l,isRegex:f,isArray:p,numExtraSegments:d}=function(e){const t=(0,r._optionalChain)([e,"access",e=>e.route,"optionalAccess",e=>e.path]),n=(0,s.isRegExp)(t),i=Array.isArray(t);if(!t)return{isRegex:n,isArray:i,numExtraSegments:0};const a=i?Math.max((c=t,c.reduce(((e,t)=>e+(0,o.getNumberOfUrlSegments)(t.toString())),0)-(0,o.getNumberOfUrlSegments)(e.path||"")),0
51):0,u=function(e,t){if(e)return t.map((e=>e.toString())).join(",");return t&&t.toString()}(i,t);var c;return{layerRoutePath:u,isRegex:n,isArray:i,numExtraSegments:a}}(e);(l||f||p)&&(n._hasParameters=!0);const h=(l||e.path||"").split("/").filter((e=>e.length>0&&(f||p||!e.includes("*")))).join("/");h&&h.length>0&&(n._reconstructedRoute+=`/${h}${f?"/":""}`);if((0,o.getNumberOfUrlSegments)(n.originalUrl||"")+d===(0,o.getNumberOfUrlSegments)(n._reconstructedRoute)){n._hasParameters||n._reconstructedRoute!==n.originalUrl&&(n._reconstructedRoute=n.originalUrl?(0,o.stripUrlQueryAndFragment)(n.originalUrl):n.originalUrl);const e=i.__sentry_transaction;if(e&&"custom"!==e.metadata.source){const t=n._reconstructedRoute||"/";e.setName(...(0,a.extractPathForTransaction)(n,{path:!0,method:!0,customRoute:t}))}}return c.call(this,e,t,n,i,u)}}(this._router)):("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.logger.error("ExpressIntegration is missing an Express instance")}}function l(e,t){const n=e.length;switch(n){case 2:return function(n,r){const i=r.__sentry_transaction;if(i){const n=i.startChild({description:e.name,op:`middleware.express.${t}`,origin:"auto.middleware.express"});r.once("finish",(()=>{n.finish()}))}return e.call(this,n,r)};case 3:return function(n,i,o){const a=i.__sentry_transaction,s=(0,r._optionalChain)([a,"optionalAccess",e=>e.startChild,"call",n=>n({description:e.name,op:`middleware.express.${t}`,origin:"auto.middleware.express"})]);e.call(this,n,i,(function(...e){(0,r._optionalChain)([s,"optionalAccess",e=>e.finish,"call",e=>e()]),o.call(this,...e)}))};case 4:return function(n,i,o,a){const s=o.__sentry_transaction,u=(0,r._optionalChain)([s,"optionalAccess",e=>e.startChild,"call",n=>n({description:e.name,op:`middleware.express.${t}`,origin:"auto.middleware.express"})]);e.call(this,n,i,o,(function(...e){(0,r._optionalChain)([u,"optionalAccess",e=>e.finish,"call",e=>e()]),a.call(this,...e)}))};default:throw new Error(`Express middleware takes 2-4 arguments. Got: ${n}`)}}c.__initStatic()},(e,t,n)=>{"use strict";n.r(t),n.d(t,{addRequestDataToEvent:()=>p,addRequestDataToTransaction:()=>c,extractPathForTransaction:()=>l,extractRequestData:()=>f});var r=n(276),i=n(575),o=n(595);const a={ip:!1,request:!0,transaction:!0,user:!0},s=["cookies","data","headers","method","query_string","url"],u=["id","username","email"];function c(e,t,n){e&&(e.metadata.source&&"url"!==e.metadata.source||e.setName(...l(t,{path:!0,method:!0})),e.setData("url",t.originalUrl||t.url),t.baseUrl&&e.setData("baseUrl",t.baseUrl),e.setData("query",d(t,n)))}function l(e,t={}){const n=e.method&&e.method.toUpperCase();let r="",i="url";t.customRoute||e.route?(r=t.customRoute||`${e.baseUrl||""}${e.route&&e.route.path}`,i="route"):(e.originalUrl||e.url)&&(r=(0,o.stripUrlQueryAndFragment)(e.originalUrl||e.url||""));let a="";return t.method&&n&&(a+=n),t.method&&t.path&&(a+=" "),t.path&&r&&(a+=r),[a,i]}function f(e,t){const{include:n=s,deps:o}=t||{},a={},u=e.headers||{},c=e.method,l=e.hostname||e.host||u.host||"<no host>",f=`${"https"===e.protocol||e.socket&&e.socket.encrypted?"https":"http"}://${l}${e.originalUrl||e.url||""}`;return n.forEach((t=>{switch(t){case"headers":a.headers=u;break;case"method":a.method=c;break;case"url":a.url=f;break;case"cookies":a.cookies=e.cookies||u.cookie&&o&&o.cookie&&o.cookie.parse(u.cookie)||{};break;case"query_string":a.query_string=d(e,o);break;case"data":if("GET"===c||"HEAD"===c)break;void 0!==e.body&&(a.data=(0,r.isString)(e.body)?e.body:JSON.stringify((0,i.normalize)(e.body)));break;default:({}).hasOwnProperty.call(e,t)&&(a[t]=e[t])}})),a}function p(e,t,n){const i={...a,...n&&n.include};if(i.request){const r=Array.isArray(i.request)?f(t,{include:i.request,deps:n&&n.deps}):f(t,{deps:n&&n.deps});e.request={...e.request,...r}}if(i.user){const n=t.user&&(0,r.isPlainObject)(t.user)?function(e,t){const n={};return(Array.isArray(t)?t:u).forEach((t=>{e&&t in e&&(n[t]=e[t])})),n}(t.user,i.user):{};Object.keys(n).length&&(e.user={...e.user,...n})}if(i.ip){const n=t.ip||t.socket&&t.socket.remoteAddress;n&&(e.user={...e.user,ip_address:n})}return i.transaction&&!e.transaction&&(e.transaction=function(e,t){switch(t){case"path":return l(e,{path:!0})[0];case"handler":return e.route&&e.route.stack&&e.route.stack[0]&&e.route.stack[0].name||"<anonymous>";default:return l(e,{path:!0,method:!0})[0]}}(t,i.transaction)),e}function d(e,t){let n=e.originalUrl||e.url||"";if(n)return n.startsWith("/")&&(n=`http://dogs.are.great${n}`),e.query||void 0!==typeof URL&&new URL(n).search.replace("?","")||t&&t.url&&t.url.parse(n).query||void 0}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{GraphQL:()=>c});var r=n(945),i=n(272),o=n(278),a=n(277),s=n(276),u=n(944);class c{static __initStatic(){this.id="GraphQL"}constructor(){this.name=c.id}loadDependency(){return this._module=this._module||(0,i.loadModule)("graphql/execution/execute.
51js")}setupOnce(e,t){if((0,u.shouldDisableAutoInstrumentation)(t))return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.logger.log("GraphQL Integration is skipped because of instrumenter configuration."));const n=this.loadDependency();n?(0,a.fill)(n,"execute",(function(e){return function(...n){const i=t().getScope(),o=i.getSpan(),a=(0,r._optionalChain)([o,"optionalAccess",e=>e.startChild,"call",e=>e({description:"execute",op:"graphql.execute",origin:"auto.graphql.graphql"})]);(0,r._optionalChain)([i,"optionalAccess",e=>e.setSpan,"call",e=>e(a)]);const u=e.call(this,...n);return(0,s.isThenable)(u)?u.then((e=>((0,r._optionalChain)([a,"optionalAccess",e=>e.finish,"call",e=>e()]),(0,r._optionalChain)([i,"optionalAccess",e=>e.setSpan,"call",e=>e(o)]),e))):((0,r._optionalChain)([a,"optionalAccess",e=>e.finish,"call",e=>e()]),(0,r._optionalChain)([i,"optionalAccess",e=>e.setSpan,"call",e=>e(o)]),u)}})):("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.logger.error("GraphQL Integration was unable to require graphql/execution package.")}}c.__initStatic()},(e,t,n)=>{"use strict";n.r(t),n.d(t,{Mongo:()=>f});var r=n(945),i=n(272),o=n(278),a=n(277),s=n(276),u=n(944);const c=["aggregate","bulkWrite","countDocuments","createIndex","createIndexes","deleteMany","deleteOne","distinct","drop","dropIndex","dropIndexes","estimatedDocumentCount","find","findOne","findOneAndDelete","findOneAndReplace","findOneAndUpdate","indexes","indexExists","indexInformation","initializeOrderedBulkOp","insertMany","insertOne","isCapped","mapReduce","options","parallelCollectionScan","rename","replaceOne","stats","updateMany","updateOne"],l={bulkWrite:["operations"],countDocuments:["query"],createIndex:["fieldOrSpec"],createIndexes:["indexSpecs"],deleteMany:["filter"],deleteOne:["filter"],distinct:["key","query"],dropIndex:["indexName"],find:["query"],findOne:["query"],findOneAndDelete:["filter"],findOneAndReplace:["filter","replacement"],findOneAndUpdate:["filter","update"],indexExists:["indexes"],insertMany:["docs"],insertOne:["doc"],mapReduce:["map","reduce"],rename:["newName"],replaceOne:["filter","doc"],updateMany:["filter","update"],updateOne:["filter","update"]};class f{static __initStatic(){this.id="Mongo"}constructor(e={}){this.name=f.id,this._operations=Array.isArray(e.operations)?e.operations:c,this._describeOperations=!("describeOperations"in e)||e.describeOperations,this._useMongoose=!!e.useMongoose}loadDependency(){const e=this._useMongoose?"mongoose":"mongodb";return this._module=this._module||(0,i.loadModule)(e)}setupOnce(e,t){if((0,u.shouldDisableAutoInstrumentation)(t))return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.logger.log("Mongo Integration is skipped because of instrumenter configuration."));const n=this.loadDependency();if(n)this._instrumentOperations(n.Collection,this._operations,t);else{const e=this._useMongoose?"mongoose":"mongodb";("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.logger.error(`Mongo Integration was unable to require \`${e}\` package.`)}}_instrumentOperations(e,t,n){t.forEach((t=>this._patchOperation(e,t,n)))}_patchOperation(e,t,n){if(!(t in e.prototype))return;const i=this._getSpanContextFromOperationArguments.bind(this);(0,a.fill)(e.prototype,t,(function(e){return function(...o){const a=o[o.length-1],u=n().getScope().getSpan();if("function"!=typeof a||"mapReduce"===t&&2===o.length){const n=(0,r._optionalChain)([u,"optionalAccess",e=>e.startChild,"call",e=>e(i(this,t,o))]),a=e.call(this,...o);if((0,s.isThenable)(a))return a.then((e=>((0,r._optionalChain)([n,"optionalAccess",e=>e.finish,"call",e=>e()]),e)));if((c=a)&&"object"==typeof c&&c.once&&"function"==typeof c.once){const e=a;try{e.once("close",(()=>{(0,r._optionalChain)([n,"optionalAccess",e=>e.finish,"call",e=>e()])}))}catch(e){(0,r._optionalChain)([n,"optionalAccess",e=>e.finish,"call",e=>e()])}return e}return(0,r._optionalChain)([n,"optionalAccess",e=>e.finish,"call",e=>e()]),a}var c;const l=(0,r._optionalChain)([u,"optionalAccess",e=>e.startChild,"call",e=>e(i(this,t,o.slice(0,-1)))]);return e.call(this,...o.slice(0,-1),(function(e,t){(0,r._optionalChain)([l,"optionalAccess",e=>e.finish,"call",e=>e()]),a(e,t)}))}}))}
51_getSpanContextFromOperationArguments(e,t,n){const r={"db.system":"mongodb","db.name":e.dbName,"db.operation":t,"db.mongodb.collection":e.collectionName},i={op:"db",origin:"auto.db.mongo",description:t,data:r},o=l[t],a=Array.isArray(this._describeOperations)?this._describeOperations.includes(t):this._describeOperations;if(!o||!a)return i;try{if("mapReduce"===t){const[e,t]=n;r[o[0]]="string"==typeof e?e:e.name||"<anonymous>",r[o[1]]="string"==typeof t?t:t.name||"<anonymous>"}else for(let e=0;e<o.length;e++)r[`db.mongodb.${o[e]}`]=JSON.stringify(n[e])}catch(e){}return i}}f.__initStatic()},(e,t,n)=>{"use strict";n.r(t),n.d(t,{Mysql:()=>u});var r=n(945),i=n(272),o=n(278),a=n(277),s=n(944);class u{static __initStatic(){this.id="Mysql"}constructor(){this.name=u.id}loadDependency(){return this._module=this._module||(0,i.loadModule)("mysql/lib/Connection.js")}setupOnce(e,t){if((0,s.shouldDisableAutoInstrumentation)(t))return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.logger.log("Mysql Integration is skipped because of instrumenter configuration."));const n=this.loadDependency();if(!n)return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.logger.error("Mysql Integration was unable to require `mysql` package."));let i;try{n.prototype.connect=new Proxy(n.prototype.connect,{apply:(e,t,n)=>
51(i||(i=t.config),e.apply(t,n))})}catch(e){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.logger.error("Mysql Integration was unable to instrument `mysql` config.")}function u(e){if(!e)return;const t=i?{"server.address":i.host,"server.port":i.port,"db.user":i.user}:{};Object.keys(t).forEach((n=>{e.setData(n,t[n])})),e.finish()}(0,a.fill)(n,"createQuery",(function(e){return function(n,i,o){const a=t().getScope().getSpan(),s=(0,r._optionalChain)([a,"optionalAccess",e=>e.startChild,"call",e=>e({description:"string"==typeof n?n:n.sql,op:"db",origin:"auto.db.mysql",data:{"db.system":"mysql"}})]);return"function"==typeof o?e.call(this,n,i,(function(e,t,n){u(s),o(e,t,n)})):"function"==typeof i?e.call(this,n,(function(e,t,n){u(s),i(e,t,n)})):e.call(this,n,i,(function(){u(s)}))}}))}}u.__initStatic()},(e,t,n)=>{"use strict";n.r(t),n.d(t,{Postgres:()=>c});var r=n(945),i=n(272),o=n(278),a=n(277),s=n(276),u=n(944);class c{static __initStatic(){this.id="Postgres"}constructor(e={}){this.name=c.id,this._usePgNative=!!e.usePgNative}loadDependency(){return this._module=this._module||(0,i.loadModule)("pg")}setupOnce(e,t){if((0,u.shouldDisableAutoInstrumentation)(t))return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.logger.log("Postgres Integration is skipped because of instrumenter configuration."));const n=this.loadDependency();if(!n)return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.logger.error("Postgres Integration was unable to require `pg` package."));if(this._usePgNative&&!(0,r._optionalChain)([n,"access",e=>e.native,"optionalAccess",e=>e.Client]))return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.logger.error("Postgres Integration was unable to access 'pg-native' bindings."));const{Client:i}=this._usePgNative?n.native:n;(0,a.fill)(i.prototype,"query",(function(e){return function(n,i,o){const a=t().getScope().getSpan(),u={"db.system":"postgresql"};try{this.database&&(u["db.name"]=this.database),this.host&&(u["server.address"]=this.host),this.port&&(u["server.port"]=this.port),this.user&&(u["db.user"]=this.user)}catch(e){}const c=(0,r._optionalChain)([a,"optionalAccess",e=>e.startChild,"call",e=>e({description:"string"==typeof n?n:n.text,op:"db",origin:"auto.db.postgres",data:u})]);if("function"==typeof o)return e.call(this,n,i,(function(e,t){(0,r._optionalChain)([c,"optionalAccess",e=>e.finish,"call",e=>e()]),o(e,t)}));if("function"==typeof i)return e.call(this,n,(function(e,t){(0,r._optionalChain)([c,"optionalAccess",e=>e.finish,"call",e=>e()]),i(e,t)}));const l=void 0!==i?e.call(this,n,i):e.call(this,n);return(0,s.isThenable)(l)?l.then((e=>((0,r._optionalChain)([c,"optionalAccess",e=>e.finish,"call",e=>e()]),e))):((0,r._optionalChain)([c,"optionalAccess",e=>e.finish,"call",e=>e()]),l)}}))}}c.__initStatic()},(e,t,n)=>{"use strict";n.r(t),n.d(t,{Prisma:()=>u});var r=n(267),i=n(600),o=n(277),a=n(278),s=n(944);class u{static __initStatic(){this.id="Prisma"}constructor(e={}){if(this.name=u.id,(t=e.client)&&t.$use&&!e.client._sentryInstrumented){(0,o.addNonEnumerableProperty)(e.client,"_sentryInstrumented",!0);const t={};try{const n=e.client._engineConfig;if(n){const{activeProvider:e,clientVersion:r}=n;e&&(t["db.system"]=e),r&&(t["db.prisma.version"]=r)}}catch(e){}e.client.$use(((e,n)=>{if((0,s.shouldDisableAutoInstrumentation)(r.getCurrentHub))return n(e);const o=e.action,a=e.model;return(0,i.trace)({name:a?`${a} ${o}`:o,op:"db.sql.prisma",origin:"auto.db.prisma",data:{...t,"db.operation":o}},(()=>n(e)))}))}else("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.logger.warn("Unsupported Prisma client provided to PrismaIntegration. Provided client:",e.client);var t}setupOnce(){}}u.__initStatic()},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,(e,t,n)=>{const r=n(1203),i=n(1204),o=n(1228),a=n(1230);function s(e,t,n,o,a){const s=[].slice.call(arguments,1),u=s.length,c="function"==typeof s[u-1];if(!c&&!r())throw new Error("Callback required as last argument");
vendor: 16,761 bytes, line 51
51if(!c){if(u<1)throw new Error("Too few arguments provided");return 1===u?(n=t,t=o=void 0):2!==u||t.getContext||(o=n,n=t,t=void 0),new Promise((function(r,a){try{const a=i.create(n,o);r(e(a,t,o))}catch(e){a(e)}}))}if(u<2)throw new Error("Too few arguments provided");2===u?(a=n,n=t,t=o=void 0):3===u&&(t.getContext&&void 0===a?(a=o,o=void 0):(a=o,o=n,n=t,t=void 0));try{const r=i.create(n,o);a(null,e(r,t,o))}catch(e){a(e)}}t.create=i.create,t.toCanvas=s.bind(null,o.render),t.toDataURL=s.bind(null,o.renderToDataURL),t.toString=s.bind(null,(function(e,t,n){return a.render(e,n)}))},e=>{e.exports=function(){return"function"==typeof Promise&&Promise.prototype&&Promise.prototype.then}},(e,t,n)=>{const r=n(1205),i=n(1206),o=n(1207),a=n(1208),s=n(1209),u=n(1210),c=n(1211),l=n(1212),f=n(1213),p=n(1216),d=n(1220),h=n(1217),m=n(1221);function y(e,t,n){const r=e.size,i=d.getEncodedBits(t,n);let o,a;for(o=0;o<15;o++)a=1==(i>>o&1),o<6?e.set(o,8,a,!0):o<8?e.set(o+1,8,a,!0):e.set(r-15+o,8,a,!0),o<8?e.set(8,r-o-1,a,!0):o<9?e.set(8,15-o-1+1,a,!0):e.set(8,15-o-1,a,!0);e.set(r-8,8,1,!0)}function g(e,t,n){const i=new o;n.forEach((function(t){i.put(t.mode.bit,4),i.put(t.getLength(),h.getCharCountIndicator(t.mode,e)),t.write(i)}));const a=8*(r.getSymbolTotalCodewords(e)-l.getTotalCodewordsCount(e,t));for(i.getLengthInBits()+4<=a&&i.put(0,4);i.getLengthInBits()%8!=0;)i.putBit(0);const s=(a-i.getLengthInBits())/8;for(let e=0;e<s;e++)i.put(e%2?17:236,8);return function(e,t,n){const i=r.getSymbolTotalCodewords(t),o=l.getTotalCodewordsCount(t,n),a=i-o,s=l.getBlocksCount(t,n),u=i%s,c=s-u,p=Math.floor(i/s),d=Math.floor(a/s),h=d+1,m=p-d,y=new f(m);let g=0;const v=new Array(s),b=new Array(s);let _=0;const E=new Uint8Array(e.buffer);for(let e=0;e<s;e++){const t=e<c?d:h;v[e]=E.slice(g,g+t),b[e]=y.encode(v[e]),g+=t,_=Math.max(_,t)}const S=new Uint8Array(i);let w,T,O=0;for(w=0;w<_;w++)for(T=0;T<s;T++)w<v[T].length&&(S[O++]=v[T][w]);for(w=0;w<m;w++)for(T=0;T<s;T++)S[O++]=b[T][w];return S}(i,e,t)}function v(e,t,n,i){let o;if(Array.isArray(e))o=m.fromArray(e);else{if("string"!=typeof e)throw new Error("Invalid data");{let r=t;if(!r){const t=m.rawSplit(e);r=p.getBestVersionForData(t,n)}o=m.fromString(e,r||40)}}const l=p.getBestVersionForData(o,n);if(!l)throw new Error("The amount of data is too big to be stored in a QR Code");if(t){if(t<l)throw new Error("\nThe chosen QR Code version cannot contain this amount of data.\nMinimum version required to store current data is: "+l+".\n")}else t=l;const f=g(t,n,o),d=r.getSymbolSize(t),h=new a(d);return function(e,t){const n=e.size,r=u.getPositions(t);for(let t=0;t<r.length;t++){const i=r[t][0],o=r[t][1];for(let t=-1;t<=7;t++)if(!(i+t<=-1||n<=i+t))for(let r=-1;r<=7;r++)o+r<=-1||n<=o+r||(t>=0&&t<=6&&(0===r||6===r)||r>=0&&r<=6&&(0===t||6===t)||t>=2&&t<=4&&r>=2&&r<=4?e.set(i+t,o+r,!0,!0):e.set(i+t,o+r,!1,!0))}}(h,t),function(e){const t=e.size;for(let n=8;n<t-8;n++){const t=n%2==0;e.set(n,6,t,!0),e.set(6,n,t,!0)}}(h),function(e,t){const n=s.getPositions(t);for(let t=0;t<n.length;t++){const r=n[t][0],i=n[t][1];for(let t=-2;t<=2;t++)for(let n=-2;n<=2;n++)-2===t||2===t||-2===n||2===n||0===t&&0===n?e.set(r+t,i+n,!0,!0):e.set(r+t,i+n,!1,!0)}}(h,t),y(h,n,0),t>=7&&function(e,t){const n=e.size,r=p.getEncodedBits(t);let i,o,a;for(let t=0;t<18;t++)i=Math.floor(t/3),o=t%3+n-8-3,a=1==(r>>t&1),e.set(i,o,a,!0),e.set(o,i,a,!0)}(h,t),function(e,t){const n=e.size;let r=-1,i=n-1,o=7,a=0;for(let s=n-1;s>0;s-=2)for(6===s&&s--;;){for(let n=0;n<2;n++)if(!e.isReserved(i,s-n)){let r=!1;a<t.length&&(r=1==(t[a]>>>o&1)),e.set(i,s-n,r),o--,-1===o&&(a++,o=7)}if(i+=r,i<0||n<=i){i-=r,r=-r;break}}}(h,f),isNaN(i)&&(i=c.getBestMask(h,y.bind(null,h,n))),c.applyMask(i,h),y(h,n,i),{modules:h,version:t,errorCorrectionLevel:n,maskPattern:i,segments:o}}t.create=function(e,t){if(void 0===e||""===e)throw new Error("No input text");let n,o,a=i.M;return void 0!==t&&(a=i.from(t.errorCorrectionLevel,i.M),n=p.from(t.version),o=c.from(t.maskPattern),t.toSJISFunc&&r.setToSJISFunction(t.toSJISFunc)),v(e,n,a,o)}},(e,t)=>{let n;const r=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];t.getSymbolSize=function(e){if(!e)throw new Error('"version" cannot be null or undefined');if(e<1||e>40)throw new Error('"version" should be in range from 1 to 40');return 4*e+17},t.getSymbolTotalCodewords=function(e){return r[e]},t.getBCHDigit=function(e){let t=0;for(;0!==e;)t++,e>>>=1;return t},t.setToSJISFunction=function(e){if("function"!=typeof e)throw new Error('"toSJISFunc" is not a valid function.');n=e},t.isKanjiModeEnabled=function(){return void 0!==n},t.toSJIS=function(e){return n(e)}},(e,t)=>{t.L={bit:1},t.M={bit:0},t.Q={bit:3},t.H={bit:2},t.isValid=function(e){return e&&void 0!==e.bit&&e.bit>=0&&e.bit<4},t.from=function(e,n){if(t.isValid(e))return e;try{return function(e){if("string"!=typeof e)throw new Error("Param is not a string");switch(e.toLowerCase()){case"l":case"low":return t.L;case"m":case"medium":return t.M;case"q":case"quartile":return t.Q;case"h":case"high":return t.H;default:throw new Error("Unknown EC Level: "+e)}}(e)}catch(e){return n}}},e=>{function t(){this.buffer=[],this.length=0}t.prototype={get:function(e){const t=Math.floor(e/8);return 1==(this.buffer[t]>>>7-e%8&1)},put:function(e,t){for(let n=0;n<t;n++)this.putBit(1==(e>>>t-n-1&1))},getLengthInBits:function(){return this.length},putBit:function(e){const t=Math.floor(this.length/8);this.buffer.length<=t&&this.buffer.push(0),e&&(this.buffer[t]|=128>>>this.length%8),this.length++}},e.exports=t},e=>{function t(e){if(!e||e<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=e,this.data=new Uint8Array(e*e),this.reservedBit=new Uint8Array(e*e)}t.prototype.set=function(e,t,n,r){const i=e*this.size+t;this.data[i]=n,r&&(this.reservedBit[i]=!0)},t.prototype.get=function(e,t){return this.data[e*this.size+t]},t.prototype.xor=function(e,t,n){this.data[e*this.size+t]^=n},t.prototype.isReserved=function(e,t){return this.reservedBit[e*this.size+t]},e.exports=t},(e,t,n)=>{const r=n(1205).getSymbolSize;t.getRowColCoords=function(e){if(1===e)return[];const t=Math.floor(e/7)+2,n=r(e),i=145===n?26:2*Math.ceil((n-13)/(2*t-2)),o=[n-7];for(let e=1;e<t-1;e++)o[e]=o[e-1]-i;return o.push(6),o.reverse()},t.getPositions=function(e){const n=[],r=t.getRowColCoords(e),i=r.length;for(let e=0;e<i;e++)for(let t=0;t<i;t++)0===e&&0===t||0===e&&t===i-1||e===i-1&&0===t||n.push([r[e],r[t]]);return n}},(e,t,n)=>{const r=n(1205).getSymbolSize;t.getPositions=function(e){const t=r(e);return[[0,0],[t-7,0],[0,t-7]]}},(e,t)=>{t.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};const n=3,r=3,i=40,o=10;function a(e,n,r){switch(e){case t.Patterns.PATTERN000:return(n+r)%2==0;case t.Patterns.PATTERN001:return n%2==0;case t.Patterns.PATTERN010:return r%3==0;case t.Patterns.PATTERN011:return(n+r)%3==0;case t.Patterns.PATTERN100:return(Math.floor(n/2)+Math.floor(r/3))%2==0;case t.Patterns.PATTERN101:return n*r%2+n*r%3==0;case t.Patterns.PATTERN110:return(n*r%2+n*r%3)%2==0;case t.Patterns.PATTERN111:return(n*r%3+(n+r)%2)%2==0;default:throw new Error("bad maskPattern:"+e)}}t.isValid=function(e){return null!=e&&""!==e&&!isNaN(e)&&e>=0&&e<=7},t.from=function(e){return t.isValid(e)?parseInt(e,10):void 0},t.getPenaltyN1=function(e){const t=e.size;let r=0,i=0,o=0,a=null,s=null;for(let u=0;u<t;u++){i=o=0,a=s=null;for(let c=0;c<t;c++){let t=e.get(u,c);t===a?i++:(i>=5&&(r+=n+(i-5)),a=t,i=1),t=e.get(c,u),t===s?o++:(o>=5&&(r+=n+(o-5)),s=t,o=1)}i>=5&&(r+=n+(i-5)),o>=5&&(r+=n+(o-5))}return r},t.getPenaltyN2=function(e){const t=e.size;let n=0;for(let r=0;r<t-1;r++)for(let i=0;i<t-1;i++){const t=e.get(r,i)+e.get(r,i+1)+e.get(r+1,i)+e.get(r+1,i+1);4!==t&&0!==t||n++}return n*r},t.getPenaltyN3=function(e){const t=e.size;let n=0,r=0,o=0;for(let i=0;i<t;i++){r=o=0;for(let a=0;a<t;a++)r=r<<1&2047|e.get(i,a),a>=10&&(1488===r||93===r)&&n++,o=o<<1&2047|e.get(a,i),a>=10&&(1488===o||93===o)&&n++}return n*i},t.getPenaltyN4=function(e){let t=0;const n=e.data.length;for(let r=0;r<n;r++)t+=e.data[r];return Math.abs(Math.ceil(100*t/n/5)-10)*o},t.applyMask=function(e,t){const n=t.size;for(let r=0;r<n;r++)for(let i=0;i<n;i++)t.isReserved(i,r)||t.xor(i,r,a(e,i,r))},t.getBestMask=function(e,n){const r=Object.keys(t.Patterns).length;let i=0,o=1/0;for(let a=0;a<r;a++){n(a),t.applyMask(a,e);const r=t.getPenaltyN1(e)+t.getPenaltyN2(e)+t.getPenaltyN3(e)+t.getPenaltyN4(e);t.applyMask(a,e),r<o&&(o=r,i=a)}return i}},(e,t,n)=>{const r=n(1206),i=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],o=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];t.getBlocksCount=function(e,t){switch(t){case r.L:return i[4*(e-1)+0];case r.M:return i[4*(e-1)+1];case r.Q:return i[4*(e-1)+2];case r.H:return i[4*(e-1)+3];default:return}},t.getTotalCodewordsCount=function(e,t){switch(t){case r.L:return o[4*(e-1)+0];case r.M:return o[4*(e-1)+1];case r.Q:return o[4*(e-1)+2];case r.H:return o[4*(e-1)+3];default:return}}},(e,t,n)=>{const r=n(1214);function i(e){this.genPoly=void 0,this.degree=e,this.degree&&this.initialize(this.degree)}i.prototype.initialize=function(e){this.degree=e,this.genPoly=r.generateECPolynomial(this.degree)},i.prototype.encode=function(e){if(!this.genPoly)throw new Error("Encoder not initialized");const t=new Uint8Array(e.length+this.degree);t.set(e);const n=r.mod(t,this.genPoly),i=this.degree-n.length;if(i>0){const e=new Uint8Array(this.degree);return e.set(n,i),e}return n},e.exports=i},(e,t,n)=>{const r=n(1215);t.mul=function(e,t){const n=new Uint8Array(e.length+t.length-1);for(let i=0;i<e.length;i++)for(let o=0;o<t.length;o++)n[i+o]^=r.mul(e[i],t[o]);return n},t.mod=function(e,t){let n=new Uint8Array(e);for(;n.length-t.length>=0;){const e=n[0];for(let i=0;i<t.length;i++)n[i]^=r.mul(t[i],e);let i=0;for(;i<n.length&&0===n[i];)i++;n=n.slice(i)}return n},t.generateECPolynomial=function(e){let n=new Uint8Array([1]);for(let i=0;i<e;i++)n=t.mul(n,new Uint8Array([1,r.exp(i)]));return n}},(e,t)=>{const n=new Uint8Array(512),r=new Uint8Array(256);!function(){let e=1;for(let t=0;t<255;t++)n[t]=e,r[e]=t,e<<=1,256&e&&(e^=285);for(let e=255;e<512;e++)n[e]=n[e-255]}(),t.log=function(e){if(e<1)throw new Error("log("+e+")");return r[e]},t.exp=function(e){return n[e]},t.mul=function(e,t){return 0===e||0===t?0:n[r[e]+r[t]]}},(e,t,n)=>{const r=n(1205),i=n(1212),o=n(1206),a=n(1217),s=n(1218),u=r.getBCHDigit(7973);function c(e,t){return a.getCharCountIndicator(e,t)+4}function l(e,t){let n=0;return e.forEach((function(e){const r=c(e.mode,t);n+=r+e.getBitsLength()})),n}t.from=function(e,t){return s.isValid(e)?parseInt(e,10):t},t.getCapacity=function(e,t,n){if(!s.isValid(e))throw new Error("Invalid QR Code version");void 0===n&&(n=a.BYTE);const o=8*(r.getSymbolTotalCodewords(e)-i.getTotalCodewordsCount(e,t));if(n===a.MIXED)return o;const u=o-c(n,e);switch(n){case a.NUMERIC:return Math.floor(u/10*3);case a.ALPHANUMERIC:return Math.floor(u/11*2);case a.KANJI:return Math.floor(u/13);case a.BYTE:default:return Math.floor(u/8)}},t.getBestVersionForData=function(e,n){let r;const i=o.from(n,o.M);if(Array.isArray(e)){if(e.length>1)return function(e,n){for(let r=1;r<=40;r++)if(l(e,r)<=t.getCapacity(r,n,a.MIXED))return r}(e,i);if(0===e.length)return 1;r=e[0]}else r=e;return function(e,n,r){for(let i=1;i<=40;i++)if(n<=t.getCapacity(i,r,e))return i}(r.mode,r.getLength(),i)},t.getEncodedBits=function(e){if(!s.isValid(e)||e<7)throw new Error("Invalid QR Code version");let t=e<<12;for(;r.getBCHDigit(t)-u>=0;)t^=7973<<r.getBCHDigit(t)-u;return e<<12|t}},(e,t,n)=>{const r=n(1218),i=n(1219);t.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},t.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},t.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},t.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},t.MIXED={bit:-1},t.getCharCountIndicator=function(e,t){if(!e.ccBits)throw new Error("Invalid mode: "+e);if(!r.isValid(t))throw new Error("Invalid version: "+t);return t>=1&&t<10?e.ccBits[0]:t<27?e.ccBits[1]:e.ccBits[2]},t.getBestModeForData=function(e){return i.testNumeric(e)?t.NUMERIC:i.testAlphanumeric(e)?t.ALPHANUMERIC:i.testKanji(e)?t.KANJI:t.BYTE},t.toString=function(e){if(e&&e.id)return e.id;throw new Error("Invalid mode")},t.isValid=function(e){return e&&e.bit&&e.ccBits},t.from=function(e,n){if(t.isValid(e))return e;try{return function(e){if("string"!=typeof e)throw new Error("Param is not a string");switch(e.toLowerCase()){case"numeric":return t.NUMERIC;case"alphanumeric":return t.ALPHANUMERIC;case"kanji":return t.KANJI;case"byte":return t.BYTE;default:throw new Error("Unknown mode: "+e)}}(e)}catch(e){return n}}},(e,t)=>{t.isValid=function(e){return!isNaN(e)&&e>=1&&e<=40}},(e,t)=>{const n="[0-9]+";let r="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";r=r.replace(/u/g,"\\u");const i="(?:(?![A-Z0-9 $%*+\\-./:]|"+r+")(?:.|[\r\n]))+";t.KANJI=new RegExp(r,"g"),t.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),t.BYTE=new RegExp(i,"g"),t.NUMERIC=new RegExp(n,"g"),t.ALPHANUMERIC=new RegExp("[A-Z $%*+\\-./:]+","g");const o=new RegExp("^"+r+"$"),a=new RegExp("^"+n+"$"),s=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");t.testKanji=function(e){return o.test(e)},t.testNumeric=function(e){return a.test(e)},t.testAlphanumeric=function(e){return s.test(e)}},(e,t,n)=>{const r=n(1205),i=r.getBCHDigit(1335);t.getEncodedBits=function(e,t){const n=e.bit<<3|t;let o=n<<10;for(;r.getBCHDigit(o)-i>=0;)o^=1335<<r.getBCHDigit(o)-i;return 21522^(n<<10|o)}},(e,t,n)=>{const r=n(1217),i=n(1222),o=n(1223),a=n(1224),s=n(1226),u=n(1219),c=n(1205),l=n(1227);function f(e){return unescape(encodeURIComponent(e)).length}function p(e,t,n){const r=[];let i;for(;null!==(i=e.exec(n));)r.push({data:i[0],index:i.index,mode:t,length:i[0].length});return r}function d(e){const t=p(u.NUMERIC,r.NUMERIC,e),n=p(u.ALPHANUMERIC,r.ALPHANUMERIC,e);let i,o;c.isKanjiModeEnabled()?(i=p(u.BYTE,r.BYTE,e),o=p(u.KANJI,r.KANJI,e)):(i=p(u.BYTE_KANJI,r.BYTE,e),o=[]);return t.concat(n,i,o).sort((function(e,t){return e.index-t.index})).map((function(e){return{data:e.data,mode:e.mode,length:e.length}}))}function h(e,t){switch(t){case r.NUMERIC:return i.getBitsLength(e);case r.ALPHANUMERIC:return o.getBitsLength(e);case r.KANJI:return s.getBitsLength(e);case r.BYTE:return a.getBitsLength(e)}}function m(e,t){let n;const u=r.getBestModeForData(e);if(n=r.from(t,u),n!==r.BYTE&&n.bit<u.bit)throw new Error('"'+e+'" cannot be encoded with mode '+r.toString(n)+".\n Suggested mode is: "+r.toString(u));switch(n!==r.KANJI||c.isKanjiModeEnabled()||(n=r.BYTE),n){case r.NUMERIC:return new i(e);case r.ALPHANUMERIC:return new o(e);case r.KANJI:return new s(e);case r.BYTE:return new a(e)}}t.fromArray=function(e){return e.reduce((function(e,t){return"string"==typeof t?e.push(m(t,null)):t.data&&e.push(m(t.data,t.mode)),e}),[])},t.fromString=function(e,n){const i=function(e){const t=[];for(let n=0;n<e.length;n++){const i=e[n];switch(i.mode){case r.NUMERIC:t.push([i,{data:i.data,mode:r.ALPHANUMERIC,length:i.length},{data:i.data,mode:r.BYTE,length:i.length}]);break;case r.ALPHANUMERIC:t.push([i,{data:i.data,mode:r.BYTE,length:i.length}]);break;case r.KANJI:t.push([i,{data:i.data,mode:r.BYTE,length:f(i.data)}]);break;case r.BYTE:t.push([{data:i.data,mode:r.BYTE,length:f(i.data)}])}}return t}(d(e,c.isKanjiModeEnabled())),o=function(e,t){const n={},i={start:{}};let o=["start"];for(let a=0;a<e.length;a++){const s=e[a],u=[];for(let e=0;e<s.length;e++){const c=s[e],l=""+a+e;u.push(l),n[l]={node:c,lastCount:0},i[l]={};for(let e=0;e<o.length;e++){const a=o[e];
vendor: 8,183 bytes, line 51
51n[a]&&n[a].node.mode===c.mode?(i[a][l]=h(n[a].lastCount+c.length,c.mode)-h(n[a].lastCount,c.mode),n[a].lastCount+=c.length):(n[a]&&(n[a].lastCount=c.length),i[a][l]=h(c.length,c.mode)+4+r.getCharCountIndicator(c.mode,t))}}o=u}for(let e=0;e<o.length;e++)i[o[e]].end=0;return{map:i,table:n}}(i,n),a=l.find_path(o.map,"start","end"),s=[];for(let e=1;e<a.length-1;e++)s.push(o.table[a[e]].node);return t.fromArray(function(e){return e.reduce((function(e,t){const n=e.length-1>=0?e[e.length-1]:null;return n&&n.mode===t.mode?(e[e.length-1].data+=t.data,e):(e.push(t),e)}),[])}(s))},t.rawSplit=function(e){return t.fromArray(d(e,c.isKanjiModeEnabled()))}},(e,t,n)=>{const r=n(1217);function i(e){this.mode=r.NUMERIC,this.data=e.toString()}i.getBitsLength=function(e){return 10*Math.floor(e/3)+(e%3?e%3*3+1:0)},i.prototype.getLength=function(){return this.data.length},i.prototype.getBitsLength=function(){return i.getBitsLength(this.data.length)},i.prototype.write=function(e){let t,n,r;for(t=0;t+3<=this.data.length;t+=3)n=this.data.substr(t,3),r=parseInt(n,10),e.put(r,10);const i=this.data.length-t;i>0&&(n=this.data.substr(t),r=parseInt(n,10),e.put(r,3*i+1))},e.exports=i},(e,t,n)=>{const r=n(1217),i=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function o(e){this.mode=r.ALPHANUMERIC,this.data=e}o.getBitsLength=function(e){return 11*Math.floor(e/2)+e%2*6},o.prototype.getLength=function(){return this.data.length},o.prototype.getBitsLength=function(){return o.getBitsLength(this.data.length)},o.prototype.write=function(e){let t;for(t=0;t+2<=this.data.length;t+=2){let n=45*i.indexOf(this.data[t]);n+=i.indexOf(this.data[t+1]),e.put(n,11)}this.data.length%2&&e.put(i.indexOf(this.data[t]),6)},e.exports=o},(e,t,n)=>{const r=n(1225),i=n(1217);function o(e){this.mode=i.BYTE,"string"==typeof e&&(e=r(e)),this.data=new Uint8Array(e)}o.getBitsLength=function(e){return 8*e},o.prototype.getLength=function(){return this.data.length},o.prototype.getBitsLength=function(){return o.getBitsLength(this.data.length)},o.prototype.write=function(e){for(let t=0,n=this.data.length;t<n;t++)e.put(this.data[t],8)},e.exports=o},e=>{"use strict";e.exports=function(e){for(var t=[],n=e.length,r=0;r<n;r++){var i=e.charCodeAt(r);if(i>=55296&&i<=56319&&n>r+1){var o=e.charCodeAt(r+1);o>=56320&&o<=57343&&(i=1024*(i-55296)+o-56320+65536,r+=1)}i<128?t.push(i):i<2048?(t.push(i>>6|192),t.push(63&i|128)):i<55296||i>=57344&&i<65536?(t.push(i>>12|224),t.push(i>>6&63|128),t.push(63&i|128)):i>=65536&&i<=1114111?(t.push(i>>18|240),t.push(i>>12&63|128),t.push(i>>6&63|128),t.push(63&i|128)):t.push(239,191,189)}return new Uint8Array(t).buffer}},(e,t,n)=>{const r=n(1217),i=n(1205);function o(e){this.mode=r.KANJI,this.data=e}o.getBitsLength=function(e){return 13*e},o.prototype.getLength=function(){return this.data.length},o.prototype.getBitsLength=function(){return o.getBitsLength(this.data.length)},o.prototype.write=function(e){let t;for(t=0;t<this.data.length;t++){let n=i.toSJIS(this.data[t]);if(n>=33088&&n<=40956)n-=33088;else{if(!(n>=57408&&n<=60351))throw new Error("Invalid SJIS character: "+this.data[t]+"\nMake sure your charset is UTF-8");n-=49472}n=192*(n>>>8&255)+(255&n),e.put(n,13)}},e.exports=o},e=>{"use strict";var t={single_source_shortest_paths:function(e,n,r){var i={},o={};o[n]=0;var a,s,u,c,l,f,p,d=t.PriorityQueue.make();for(d.push(n,0);!d.empty();)for(u in s=(a=d.pop()).value,c=a.cost,l=e[s]||{})l.hasOwnProperty(u)&&(f=c+l[u],p=o[u],(void 0===o[u]||p>f)&&(o[u]=f,d.push(u,f),i[u]=s));if(void 0!==r&&void 0===o[r]){var h=["Could not find a path from ",n," to ",r,"."].join("");throw new Error(h)}return i},extract_shortest_path_from_predecessor_list:function(e,t){for(var n=[],r=t;r;)n.push(r),e[r],r=e[r];return n.reverse(),n},find_path:function(e,n,r){var i=t.single_source_shortest_paths(e,n,r);return t.extract_shortest_path_from_predecessor_list(i,r)},PriorityQueue:{make:function(e){var n,r=t.PriorityQueue,i={};for(n in e=e||{},r)r.hasOwnProperty(n)&&(i[n]=r[n]);return i.queue=[],i.sorter=e.sorter||r.default_sorter,i},default_sorter:function(e,t){return e.cost-t.cost},push:function(e,t){var n={value:e,cost:t};this.queue.push(n),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return 0===this.queue.length}}};e.exports=t},(e,t,n)=>{const r=n(1229);t.render=function(e,t,n){let i=n,o=t;void 0!==i||t&&t.getContext||(i=t,t=void 0),t||(o=function(){try{return document.createElement("canvas")}catch(e){throw new Error("You need to specify a canvas element")}}()),i=r.getOptions(i);const a=r.getImageWidth(e.modules.size,i),s=o.getContext("2d"),u=s.createImageData(a,a);return r.qrToImageData(u.data,e,i),function(e,t,n){e.clearRect(0,0,t.width,t.height),t.style||(t.style={}),t.height=n,t.width=n,t.style.height=n+"px",t.style.width=n+"px"}(s,o,a),s.putImageData(u,0,0),o},t.renderToDataURL=function(e,n,r){let i=r;void 0!==i||n&&n.getContext||(i=n,n=void 0),i||(i={});const o=t.render(e,n,i),a=i.type||"image/png",s=i.rendererOpts||{};return o.toDataURL(a,s.quality)}},(e,t)=>{function n(e){if("number"==typeof e&&(e=e.toString()),"string"!=typeof e)throw new Error("Color should be defined as hex string");let t=e.slice().replace("#","").split("");if(t.length<3||5===t.length||t.length>8)throw new Error("Invalid hex color: "+e);3!==t.length&&4!==t.length||(t=Array.prototype.concat.apply([],t.map((function(e){return[e,e]})))),6===t.length&&t.push("F","F");const n=parseInt(t.join(""),16);return{r:n>>24&255,g:n>>16&255,b:n>>8&255,a:255&n,hex:"#"+t.slice(0,6).join("")}}t.getOptions=function(e){e||(e={}),e.color||(e.color={});const t=void 0===e.margin||null===e.margin||e.margin<0?4:e.margin,r=e.width&&e.width>=21?e.width:void 0,i=e.scale||4;return{width:r,scale:r?4:i,margin:t,color:{dark:n(e.color.dark||"#000000ff"),light:n(e.color.light||"#ffffffff")},type:e.type,rendererOpts:e.rendererOpts||{}}},t.getScale=function(e,t){return t.width&&t.width>=e+2*t.margin?t.width/(e+2*t.margin):t.scale},t.getImageWidth=function(e,n){const r=t.getScale(e,n);return Math.floor((e+2*n.margin)*r)},t.qrToImageData=function(e,n,r){const i=n.modules.size,o=n.modules.data,a=t.getScale(i,r),s=Math.floor((i+2*r.margin)*a),u=r.margin*a,c=[r.color.light,r.color.dark];for(let t=0;t<s;t++)for(let n=0;n<s;n++){let l=4*(t*s+n),f=r.color.light;if(t>=u&&n>=u&&t<s-u&&n<s-u){f=c[o[Math.floor((t-u)/a)*i+Math.floor((n-u)/a)]?1:0]}e[l++]=f.r,e[l++]=f.g,e[l++]=f.b,e[l]=f.a}}},(e,t,n)=>{const r=n(1229);function i(e,t){const n=e.a/255,r=t+'="'+e.hex+'"';return n<1?r+" "+t+'-opacity="'+n.toFixed(2).slice(1)+'"':r}function o(e,t,n){let r=e+t;return void 0!==n&&(r+=" "+n),r}t.render=function(e,t,n){const a=r.getOptions(t),s=e.modules.size,u=e.modules.data,c=s+2*a.margin,l=a.color.light.a?"<path "+i(a.color.light,"fill")+' d="M0 0h'+c+"v"+c+'H0z"/>':"",f="<path "+i(a.color.dark,"stroke")+' d="'+function(e,t,n){let r="",i=0,a=!1,s=0;for(let u=0;u<e.length;u++){const c=Math.floor(u%t),l=Math.floor(u/t);c||a||(a=!0),e[u]?(s++,u>0&&c>0&&e[u-1]||(r+=a?o("M",c+n,.5+l+n):o("m",i,0),i=0,a=!1),c+1<t&&e[u+1]||(r+=o("h",s),s=0)):i++}return r}(u,s,a.margin)+'"/>',p='viewBox="0 0 '+c+" "+c+'"',d='<svg xmlns="http://www.w3.org/2000/svg" '+(a.width?'width="'+a.width+'" height="'+a.width+'" ':"")+p+' shape-rendering="crispEdges">'+l+f+"</svg>\n";return"function"==typeof n&&n(null,d),d}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>p});var r=n(818),i=n(1311),o=n(1312),a=n(819),s=n(242),u=n(823),c=n(1313),l=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},f=function(e){function t(t,n){var r,i=(r=e.call(this,t,n)||this).handleExited.bind((0,o.default)(r));return r.state={contextValue:{isMounting:!0},handleExited:i,firstRender:!0},r}(0,a.default)(t,e);var n=t.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var n=t.children,r=t.handleExited;
vendor: 4,614 bytes, line 51
51return{children:t.firstRender?(0,c.getInitialChildMapping)(e,r):(0,c.getNextChildMapping)(e,n,r),firstRender:!1}},n.handleExited=function(e,t){var n=(0,c.getChildMapping)(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var n=(0,i.default)({},t.children);return delete n[e.key],{children:n}})))},n.render=function(){var e=this.props,t=e.component,n=e.childFactory,i=(0,r.default)(e,["component","childFactory"]),o=this.state.contextValue,a=l(this.state.children).map(n);return delete i.appear,delete i.enter,delete i.exit,null===t?s.default.createElement(u.default.Provider,{value:o},a):s.default.createElement(u.default.Provider,{value:o},s.default.createElement(t,i,a))},t}(s.default.Component);f.propTypes={},f.defaultProps={component:"div",childFactory:function(e){return e}};const p=f},(e,t,n)=>{"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}n.r(t),n.d(t,{default:()=>r})},(e,t,n)=>{"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.r(t),n.d(t,{default:()=>r})},(e,t,n)=>{"use strict";n.r(t),n.d(t,{getChildMapping:()=>i,getInitialChildMapping:()=>s,getNextChildMapping:()=>u,mergeChildMappings:()=>o});var r=n(242);function i(e,t){var n=Object.create(null);return e&&r.Children.map(e,(function(e){return e})).forEach((function(e){n[e.key]=function(e){return t&&(0,r.isValidElement)(e)?t(e):e}(e)})),n}function o(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var r,i=Object.create(null),o=[];for(var a in e)a in t?o.length&&(i[a]=o,o=[]):o.push(a);var s={};for(var u in t){if(i[u])for(r=0;r<i[u].length;r++){var c=i[u][r];s[i[u][r]]=n(c)}s[u]=n(u)}for(r=0;r<o.length;r++)s[o[r]]=n(o[r]);return s}function a(e,t,n){return null!=n[t]?n[t]:e.props[t]}function s(e,t){return i(e.children,(function(n){return(0,r.cloneElement)(n,{onExited:t.bind(null,n),in:!0,appear:a(n,"appear",e),enter:a(n,"enter",e),exit:a(n,"exit",e)})}))}function u(e,t,n){var s=i(e.children),u=o(t,s);return Object.keys(u).forEach((function(i){var o=u[i];if((0,r.isValidElement)(o)){var c=i in t,l=i in s,f=t[i],p=(0,r.isValidElement)(f)&&!f.props.in;!l||c&&!p?l||!c||p?l&&c&&(0,r.isValidElement)(f)&&(u[i]=(0,r.cloneElement)(o,{onExited:n.bind(null,o),in:f.props.in,exit:a(o,"exit",e),enter:a(o,"enter",e)})):u[i]=(0,r.cloneElement)(o,{in:!1}):u[i]=(0,r.cloneElement)(o,{onExited:n.bind(null,o),in:!0,exit:a(o,"exit",e),enter:a(o,"enter",e)})}})),u}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>d});var r=n(1311),i=n(818),o=n(819),a=n(1315),s=n(1317),u=n(242),c=n(817),l=n(821),f=function(e,t){return e&&t&&t.split(" ").forEach((function(t){return(0,s.default)(e,t)}))},p=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).appliedClasses={appear:{},enter:{},exit:{}},t.onEnter=function(e,n){var r=t.resolveArguments(e,n),i=r[0],o=r[1];t.removeClasses(i,"exit"),t.addClass(i,o?"appear":"enter","base"),t.props.onEnter&&t.props.onEnter(e,n)},t.onEntering=function(e,n){var r=t.resolveArguments(e,n),i=r[0],o=r[1]?"appear":"enter";t.addClass(i,o,"active"),t.props.onEntering&&t.props.onEntering(e,n)},t.onEntered=function(e,n){var r=t.resolveArguments(e,n),i=r[0],o=r[1]?"appear":"enter";t.removeClasses(i,o),t.addClass(i,o,"done"),t.props.onEntered&&t.props.onEntered(e,n)},t.onExit=function(e){var n=t.resolveArguments(e)[0];t.removeClasses(n,"appear"),t.removeClasses(n,"enter"),t.addClass(n,"exit","base"),t.props.onExit&&t.props.onExit(e)},t.onExiting=function(e){var n=t.resolveArguments(e)[0];t.addClass(n,"exit","active"),t.props.onExiting&&t.props.onExiting(e)},t.onExited=function(e){var n=t.resolveArguments(e)[0];t.removeClasses(n,"exit"),t.addClass(n,"exit","done"),t.props.onExited&&t.props.onExited(e)},t.resolveArguments=function(e,n){return t.props.nodeRef?[t.props.nodeRef.current,e]:[e,n]},t.getClassNames=function(e){var n=t.props.classNames,r="string"==typeof n,i=r?""+(r&&n?n+"-":"")+e:n[e];return{baseClassName:i,activeClassName:r?i+"-active":n[e+"Active"],doneClassName:r?i+"-done":n[e+"Done"]}},t}(0,o.default)(t,e);var n=t.prototype;return n.addClass=function(e,t,n){var r=this.getClassNames(t)[n+"ClassName"],i=this.getClassNames("enter").doneClassName;"appear"===t&&"done"===n&&i&&(r+=" "+i),"active"===n&&e&&(0,l.forceReflow)(e),r&&(this.appliedClasse
51s[t][n]=r,function(e,t){e&&t&&t.split(" ").forEach((function(t){return(0,a.default)(e,t)}))}(e,r))},n.removeClasses=function(e,t){var n=this.appliedClasses[t],r=n.base,i=n.active,o=n.done;this.appliedClasses[t]={},r&&f(e,r),i&&f(e,i),o&&f(e,o)},n.render=function(){var e=this.props,t=(e.classNames,(0,i.default)(e,["classNames"]));return u.default.createElement(c.default,(0,r.default)({},t,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},t}(u.default.Component);p.defaultProps={classNames:""},p.propTypes={};const d=p},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(1316);function i(e,t){e.classList?e.classList.add(t):(0,r.default)(e,t)||("string"==typeof e.className?e.className=e.className+" "+t:e.setAttribute("class",(e.className&&e.className.baseVal||"")+" "+t))}},(e,t,n)=>{"use strict";function r(e,t){return e.classList?!!t&&e.classList.contains(t):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")}n.r(t),n.d(t,{default:()=>r})},(e,t,n)=>{"use strict";
51function r(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}function i(e,t){e.classList?e.classList.remove(t):"string"==typeof e.className?e.className=r(e.className,t):e.setAttribute("class",r(e.className&&e.className.baseVal||"",t))}n.r(t),n.d(t,{default:()=>i})},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,(e,t,n)=>{var r=NaN,i="[object Symbol]",o=/^\s+|\s+$/g,a=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,u=/^0o[0-7]+$/i,c=parseInt,l="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,f="object"==typeof self&&self&&self.Object===Object&&self,p=l||f||Function("return this")(),d=Object.prototype.toString,h=Math.max,m=Math.min,y=function(){return p.Date.now()};function g(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function v(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&d.call(e)==i}(e))return r;if(g(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=g(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(o,"");var n=s.test(e);return n||u.test(e)?c(e.slice(2),n?2:8):a.test(e)?r:+e}e.exports=function(e,t,n){var r,i,o,a,s,u,c=0,l=!1,f=!1,p=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function d(t){var n=r,o=i;return r=i=void 0,c=t,a=e.apply(o,n)}function b(e){var n=e-u;return void 0===u||n>=t||n<0||f&&e-c>=o}function _(){var e=y();if(b(e))return E(e);s=setTimeout(_,function(e){var n=t-(e-u);return f?m(n,o-(e-c)):n}(e))}function E(e){return s=void 0,p&&r?d(e):(r=i=void 0,a)}function S(){var e=y(),n=b(e);if(r=arguments,i=this,u=e,n){if(void 0===s)return function(e){return c=e,s=setTimeout(_,t),l?d(e):a}(u);if(f)return s=setTimeout(_,t),d(u)}return void 0===s&&(s=setTimeout(_,t)),a}return t=v(t)||0,g(n)&&(l=!!n.leading,o=(f="maxWait"in n)?h(v(n.maxWait)||0,t):o,p="trailing"in n?!!n.trailing:p),S.cancel=function(){void 0!==s&&clearTimeout(s),c=0,r=u=i=s=void 0},S.flush=function(){return void 0===s?a:E(y())},S}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,(e,t,n)=>{"use strict";n.r(t),n.d(t,{AbstractSeries:()=>r.default,ArcSeries:()=>i.default,AreaSeries:()=>o.default,AxisUtils:()=>ne.default,Borders:()=>a.default,ChartLabel:()=>s.default,CircularGridLines:()=>u.default,ContentClipPath:()=>ee.default,ContinuousColorLegend:()=>H.default,ContinuousSizeLegend:()=>z.default,ContourSeries:()=>c.default,Crosshair:()=>l.default,CustomSVGSeries:()=>f.default,DecorativeAxis:()=>p.default,DiscreteColorLegend:()=>$.default,FlexibleHeightXYPlot:()=>te.FlexibleHeightXYPlot,FlexibleWidthXYPlot:()=>te.FlexibleWidthXYPlot,FlexibleXYPlot:()=>te.FlexibleXYPlot,GradientDefs:()=>d.default,GridLines:()=>h.default,HeatmapSeries:()=>m.default,HexbinSeries:()=>y.default,Highlight:()=>g.default,Hint:()=>v.default,HorizontalBarSeries:()=>b.default,HorizontalBarSeriesCanvas:()=>_.default,HorizontalGridLines:()=>E.default,HorizontalRectSeries:()=>S.default,HorizontalRectSeriesCanvas:()=>w.default,LabelSeries:()=>T.default,LineMarkSeries:()=>O.default,LineMarkSeriesCanvas:()=>x.default,LineSeries:()=>k.default,LineSeriesCanvas:()=>R.default,MarkSeries:()=>N.default,MarkSeriesCanvas:()=>A.default,ParallelCoordinates:()=>Y.default,PolygonSeries:()=>I.default,RadarChart:()=>W.default,RadialChart:()=>Q.default,RectSeries:()=>F.default,RectSeriesCanvas:()=>U.default,Sankey:()=>X.default,ScaleUtils:()=>re.default,SearchableDiscreteColorLegend:()=>K.default,Sunburst:()=>J.default,Treemap:()=>Z.default,VerticalBarSeries:()=>D.default,VerticalBarSeriesCanvas:()=>C.default,VerticalGridLines:()=>P.default,VerticalRectSeries:()=>L.default,VerticalRectSeriesCanvas:()=>M.default,Voronoi:()=>j.default,WhiskerSeries:()=>B.default,XAxis:()=>G.default,XYPlot:()=>q.default,YAxis:()=>V.default,makeHeightFlexible:()=>te.makeHeightFlexible,makeVisFlexible:()=>te.makeVisFlexible,makeWidthFlexible:()=>te.makeWidthFlexible});var r=n(1379),i=n(1480),o=n(1489),a=n(1546),s=n(1547),u=n(1548),c=n(1550),l=n(1576),f=n(1577),p=n(1578),d=n(1580),h=n(1581),m=n(1582),y=n(1583),g=n(1586),v=n(1587),b=n(1588),_=n(1590),E=n(1592),S=n(1593),w=n(1595),T=n(1597),O=n(1598),x=n(1601),k=n(1599),R=n(1603),N=n(1600),A=n(1602),I=n(1604),D=n(1605),C=n(1606),P=n(1607),L=n(1608),M=n(1609),j=n(1610),F=n(1594),U=n(1596),B=n(1611),q=n(1612),G=n(1634),V=n(1639),H=n(1640),z=n(1641),$=n(1642),K=n(1644),Y=n(1645),W=n(1646),Q=n(1647),X=n(1648),J=n(1664),Z=n(1683),ee=n(1700),te=n(1701),ne=n(1549),re=n(1420)},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>_});var r=n(244),i=n.n(r),o=n(1380),a=n(242),s=n(1390),u=n(1420);function c(e){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}function l(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function f(e,t){return f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},f(e,t)}function p(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=h(e);if(t){var i=h(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===c(t)||"function"==typeof t))return t;return d(e)}(this,n)}}function d(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}
51function h(e){return h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},h(e)}function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function y(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m(Object(n),!0).forEach((function(t){g(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function g(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var v=y(y(y(y(y(y({},(0,u.getScalePropTypesByAttribute)("x")),(0,u.getScalePropTypesByAttribute)("y")),(0,u.getScalePropTypesByAttribute)("size")),(0,u.getScalePropTypesByAttribute)("opacity")),(0,u.getScalePropTypesByAttribute)("color")),{},{width:i().number,height:i().number,data:i().arrayOf(i().oneOfType([i().object,i().array])),onValueMouseOver:i().func,onValueMouseOut:i().func,onValueClick:i().func,onValueRightClick:i().func,onSeriesMouseOver:i().func,onSeriesMouseOut:i().func,onSeriesClick:i().func,onSeriesRightClick:i().func,onNearestX:i().func,onNearestXY:i().func,style:i().object,animation:s.AnimationPropType,stack:i().bool}),b=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&f(e,t)}(a,e);var t,n,r,i=p(a);function a(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return g(d(e=i.call.apply(i,[this].concat(n))),"_seriesClickHandler",(function(t){var n=e.props.onSeriesClick;n&&n({event:t})})),g(d(e),"_seriesMouseOutHandler",(function(t){var n=e.props.onSeriesMouseOut;n&&n({event:t})})),g(d(e),"_seriesMouseOverHandler",(function(t){var n=e.props.onSeriesMouseOver;n&&n({event:t})})),g(d(e),"_seriesRightClickHandler",(function(t){var n=e.props.onSeriesRightClick;n&&n({event:t})})),g(d(e),"_valueClickHandler",(function(t,n){var r=e.props,i=r.onValueClick,o=r.onSeriesClick;i&&i(t,{event:n}),o&&o({event:n})})),g(d(e),"_valueMouseOutHandler",(function(t,n){var r=e.props,i=r.onValueMouseOut,o=r.onSeriesMouseOut;i&&i(t,{event:n}),o&&o({event:n})})),g(d(e),"_valueMouseOverHandler",(function(t,n){var r=e.props,i=r.onValueMouseOver,o=r.onSeriesMouseOver;i&&i(t,{event:n}),o&&o({event:n})})),g(d(e),"_valueRightClickHandler",(function(t,n){var r=e.props,i=r.onValueRightClick,o=r.onSeriesRightClick;i&&i(t,{event:n}),o&&o({event:n})})),e}return t=a,r=[{key:"getParentConfig",value:function(){return{}}},{key:"requiresSVG",get:function(){return!0}}],(n=[{key:"onParentMouseMove",value:function(e){var t=this.props,n=t.onNearestX,r=t.onNearestXY,i=t.data;(n||r)&&i&&(r?this._handleNearestXY(e):this._handleNearestX(e))}},{key:"onParentTouchMove",value:function(e){e.preventDefault(),this.onParentMouseMove(e)}},{key:"onParentTouchStart",value:function(e){e.preventDefault()}},{key:"_getAttr0Functor",value:function(e){return(0,u.getAttr0Functor)(this.props,e)}},{key:"_getAttributeFunctor",value:function(e){return(0,u.getAttributeFunctor)(this.props,e)}},{key:"_getAttributeValue",value:function(e){return(0,u.getAttributeValue)(this.props,e)}},{key:"_getScaleDistance",value:function(e){var t=(0,u.getScaleObjectFromProps)(this.props,e);return t?t.distance:0}},{key:"_getXYCoordinateInContainer",value:function(e){var t=this.props,n=t.marginTop,r=void 0===n?0:n,i=t.marginLeft,o=void 0===i?0:i,a=e.nativeEvent,s=e.currentTarget,u=s.getBoundingClientRect(),c=a.clientX,l=a.clientY;return"touchmove"===a.type&&(c=a.touches[0].pageX,l=a.touches[0].pageY),{x:c-u.left-s.clientLeft-o,y:l-u.top-s.clientTop-r}}},{key:"_handleNearestX",value:function(e){var t=this.props,n=t.onNearestX,r=t.data,i=Number.POSITIVE_INFINITY,o=null,a=null,s=this._getXYCoordinateInContainer(e),u=this._getAttributeFunctor("x");r.forEach((function(e,t){var n=u(e),r=Math.abs(s.x-n);r<i&&(i=r,o=e,a=t)})),o&&n(o,{innerX:u(o),index:a,event:e.nativeEvent})}},{key:"_handleNearestXY",value:function(e){var t=this.props,n=t.onNearestXY,r=t.data,i=this._getXYCoordinateInContainer(e),a=this._getAttributeFunctor("x"),s=this._getAttributeFunctor("y"),u=(0,o.voronoi)().x(a).y(s)(r).find(i.x,i.y),c=u.data;c&&n(c,{innerX:u[0],innerY:u[1],index:u.index,event:e.nativeEvent})}}])&&l(t.prototype,n),r&&l(t,r),a}
51(a.PureComponent);b.displayName="AbstractSeries",b.propTypes=v,b.defaultProps={className:"",stack:!1,style:{}};const _=b},(e,t,n)=>{"use strict";n.r(t),n.d(t,{voronoi:()=>r.default});var r=n(1381)},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(1382),i=n(1383),o=n(1384);function a(){var e=i.x,t=i.y,n=null;function a(r){return new o.default(r.map((function(n,i){var a=[Math.round(e(n,i,r)/o.epsilon)*o.epsilon,Math.round(t(n,i,r)/o.epsilon)*o.epsilon];return a.index=i,a.data=n,a})),n)}return a.polygons=function(e){return a(e).polygons()},a.links=function(e){return a(e).links()},a.triangles=function(e){return a(e).triangles()},a.x=function(t){return arguments.length?(e="function"==typeof t?t:(0,r.default)(+t),a):e},a.y=function(e){return arguments.length?(t="function"==typeof e?e:(0,r.default)(+e),a):t},a.extent=function(e){return arguments.length?(n=null==e?null:[[+e[0][0],+e[0][1]],[+e[1][0],+e[1][1]]],a):n&&[[n[0][0],n[0][1]],[n[1][0],n[1][1]]]},a.size=function(e){return arguments.length?(n=null==e?null:[[0,0],[+e[0],+e[1]]],a):n&&[n[1][0]-n[0][0],n[1][1]-n[0][1]]},a}},(e,t,n)=>{"use strict";function r(e){return function(){return e}}n.r(t),n.d(t,{default:()=>r})},(e,t,n)=>{"use strict";function r(e){return e[0]}function i(e){return e[1]}n.r(t),n.d(t,{x:()=>r,y:()=>i})},(e,t,n)=>{"use strict";n.r(t),n.d(t,{beaches:()=>r,cells:()=>i,circles:()=>o,default:()=>m,edges:()=>a,epsilon:()=>p,epsilon2:()=>d});var r,i,o,a,s=n(1385),u=n(1387),c=n(1389),l=n(1388),f=n(1386),p=1e-6,d=1e-12;function h(e,t){return t[1]-e[1]||t[0]-e[0]}function m(e,t){var n,p,d,m=e.sort(h).pop();for(a=[],i=new Array(e.length),r=new f.default,o=new f.default;;)if(d=c.firstCircle,m&&(!d||m[1]<d.y||m[1]===d.y&&m[0]<d.x))m[0]===n&&m[1]===p||((0,s.addBeach)(m),n=m[0],p=m[1]),m=e.pop();else{if(!d)break;(0,s.removeBeach)(d.arc)}if((0,u.sortCellHalfedges)(),t){var y=+t[0][0],g=+t[0][1],v=+t[1][0],b=+t[1][1];(0,l.clipEdges)(y,g,v,b),(0,u.clipCells)(y,g,v,b)}this.edges=a,this.cells=i,r=o=a=i=null}m.prototype={constructor:m,polygons:function(){var e=this.edges;return this.cells.map((function(t){var n=t.halfedges.map((function(n){return(0,u.cellHalfedgeStart)(t,e[n])}));return n.data=t.site.data,n}))},triangles:function(){var e=[],t=this.edges;return this.cells.forEach((function(n,r){if(o=(i=n.halfedges).length)for(var i,o,a,s,u,c,l=n.site,f=-1,p=t[i[o-1]],d=p.left===l?p.right:p.left;++f<o;)a=d,d=(p=t[i[f]]).left===l?p.right:p.left,a&&d&&r<a.index&&r<d.index&&(u=a,c=d,((s=l)[0]-c[0])*(u[1]-s[1])-(s[0]-u[0])*(c[1]-s[1])<0)&&e.push([l.data,a.data,d.data])})),e},links:function(){return this.edges.filter((function(e){return e.right})).map((function(e){return{source:e.left.data,target:e.right.data}}))},find:function(e,t,n){for(var r,i,o=this,a=o._found||0,s=o.cells.length;!(i=o.cells[a]);)if(++a>=s)return null;var u=e-i.site[0],c=t-i.site[1],l=u*u+c*c;
51do{i=o.cells[r=a],a=null,i.halfedges.forEach((function(n){var r=o.edges[n],s=r.left;if(s!==i.site&&s||(s=r.right)){var u=e-s[0],c=t-s[1],f=u*u+c*c;f<l&&(l=f,a=s.index)}}))}while(null!==a);return o._found=r,null==n||l<=n*n?i.site:null}}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{addBeach:()=>d,removeBeach:()=>p});var r=n(1386),i=n(1387),o=n(1389),a=n(1388),s=n(1384),u=[];function c(){(0,r.RedBlackNode)(this),this.edge=this.site=this.circle=null}function l(e){var t=u.pop()||new c;return t.site=e,t}function f(e){(0,o.detachCircle)(e),s.beaches.remove(e),u.push(e),(0,r.RedBlackNode)(e)}function p(e){var t=e.circle,n=t.x,r=t.cy,i=[n,r],u=e.P,c=e.N,l=[e];f(e);for(var p=u;p.circle&&Math.abs(n-p.circle.x)<s.epsilon&&Math.abs(r-p.circle.cy)<s.epsilon;)u=p.P,l.unshift(p),f(p),p=u;l.unshift(p),(0,o.detachCircle)(p);for(var d=c;d.circle&&Math.abs(n-d.circle.x)<s.epsilon&&Math.abs(r-d.circle.cy)<s.epsilon;)c=d.N,l.push(d),f(d),d=c;l.push(d),(0,o.detachCircle)(d);var h,m=l.length;for(h=1;h<m;++h)d=l[h],p=l[h-1],(0,a.setEdgeEnd)(d.edge,p.site,d.site,i);p=l[0],(d=l[m-1]).edge=(0,a.createEdge)(p.site,d.site,null,i),(0,o.attachCircle)(p),(0,o.attachCircle)(d)}function d(e){for(var t,n,r,u,c=e[0],f=e[1],p=s.beaches._;p;)if((r=h(p,f)-c)>s.epsilon)p=p.L;else{if(!((u=c-m(p,f))>s.epsilon)){r>-s.epsilon?(t=p.P,n=p):u>-s.epsilon?(t=p,n=p.N):t=n=p;break}if(!p.R){t=p;break}p=p.R}(0,i.createCell)(e);var d=l(e);if(s.beaches.insert(t,d),t||n){if(t===n)return(0,o.detachCircle)(t),n=l(t.site),s.beaches.insert(d,n),d.edge=n.edge=(0,a.createEdge)(t.site,d.site),(0,o.attachCircle)(t),void(0,o.attachCircle)(n);if(n){(0,o.detachCircle)(t),(0,o.detachCircle)(n);var y=t.site,g=y[0],v=y[1],b=e[0]-g,_=e[1]-v,E=n.site,S=E[0]-g,w=E[1]-v,T=2*(b*w-_*S),O=b*b+_*_,x=S*S+w*w,k=[(w*O-_*x)/T+g,(b*x-S*O)/T+v];(0,a.setEdgeEnd)(n.edge,y,E,k),d.edge=(0,a.createEdge)(y,e,null,k),n.edge=(0,a.createEdge)(e,E,null,k),(0,o.attachCircle)(t),(0,o.attachCircle)(n)}else d.edge=(0,a.createEdge)(t.site,d.site)}}function h(e,t){var n=e.site,r=n[0],i=n[1],o=i-t;if(!o)return r;var a=e.P;if(!a)return-1/0;var s=(n=a.site)[0],u=n[1],c=u-t;if(!c)return s;var l=s-r,f=1/o-1/c,p=l/c;return f?(-p+Math.sqrt(p*p-2*f*(l*l/(-2*c)-u+c/2+i-o/2)))/f+r:(r+s)/2}function m(e,t){var n=e.N;if(n)return h(n,t);var r=e.site;return r[1]===t?r[0]:1/0}},(e,t,n)=>{"use strict";function r(){this._=null}function i(e){e.U=e.C=e.L=e.R=e.P=e.N=null}function o(e,t){var n=t,r=t.R,i=n.U;i?i.L===n?i.L=r:i.R=r:e._=r,r.U=i,n.U=r,n.R=r.L,n.R&&(n.R.U=n),r.L=n}function a(e,t){var n=t,r=t.L,i=n.U;i?i.L===n?i.L=r:i.R=r:e._=r,r.U=i,n.U=r,n.L=r.R,n.L&&(n.L.U=n),r.R=n}function s(e){for(;e.L;)e=e.L;return e}n.r(t),n.d(t,{RedBlackNode:()=>i,default:()=>u}),r.prototype={constructor:r,insert:function(e,t){var n,r,i;if(e){if(t.P=e,t.N=e.N,e.N&&(e.N.P=t),e.N=t,e.R){for(e=e.R;e.L;)e=e.L;e.L=t}else e.R=t;n=e}else this._?(e=s(this._),t.P=null,t.N=e,e.P=e.L=t,n=e):(t.P=t.N=null,this._=t,n=null);for(t.L=t.R=null,t.U=n,t.C=!0,e=t;n&&n.C;)n===(r=n.U).L?(i=r.R)&&i.C?(n.C=i.C=!1,r.C=!0,e=r):(e===n.R&&(o(this,n),n=(e=n).U),n.C=!1,r.C=!0,a(this,r)):(i=r.L)&&i.C?(n.C=i.C=!1,r.C=!0,e=r):(e===n.L&&(a(this,n),n=(e=n).U),n.C=!1,r.C=!0,o(this,r)),n=e.U;this._.C=!1},remove:function(e){e.N&&(e.N.P=e.P),e.P&&(e.P.N=e.N),e.N=e.P=null;var t,n,r,i=e.U,u=e.L,c=e.R;if(n=u?c?s(c):u:c,i?i.L===e?i.L=n:i.R=n:this._=n,u&&c?(r=n.C,n.C=e.C,n.L=u,u.U=n,n!==c?(i=n.U,n.U=e.U,e=n.R,i.L=e,n.R=c,c.U=n):(n.U=i,i=n,e=n.R)):(r=e.C,e=n),e&&(e.U=i),!r)if(e&&e.C)e.C=!1;else{do{if(e===this._)break;if(e===i.L){if((t=i.R).C&&(t.C=!1,i.C=!0,o(this,i),t=i.R),t.L&&t.L.C||t.R&&t.R.C){t.R&&t.R.C||(t.L.C=!1,t.C=!0,a(this,t),t=i.R),t.C=i.C,i.C=t.R.C=!1,o(this,i),e=this._;break}}else if((t=i.L).C&&(t.C=!1,i.C=!0,a(this,i),t=i.L),t.L&&t.L.C||t.R&&t.R.C){t.L&&t.L.C||(t.R.C=!1,t.C=!0,o(this,t),t=i.L),t.C=i.C,i.C=t.L.C=!1,a(this,i),e=this._;break}t.C=!0,e=i,i=i.U}while(!e.C);e&&(e.C=!1)}}};const u=r},(e,t,n)=>{"use strict";n.r(t),n.d(t,{cellHalfedgeEnd:()=>u,cellHalfedgeStart:()=>s,clipCells:()=>l,createCell:()=>o,sortCellHalfedges:()=>c});var r=n(1388),i=n(1384);function o(e){return i.cells[e.index]={site:e,halfedges:[]}}function a(e,t){var n=e.site,r=t.left,i=t.right;return n===i&&(i=r,r=n),i?Math.atan2(i[1]-r[1],i[0]-r[0]):(n===r?(r=t[1],i=t[0]):(r=t[0],i=t[1]),Math.atan2(r[0]-i[0],i[1]-r[1]))}function s(e,t){return t[+(t.left!==e.site)]}function u(e,t){return t[+(t.left===e.site)]}function c(){for(var e,t,n,r,o=0,s=i.cells.length;o<s;++o)if((e=i.cells[o])&&(r=(t=e.halfedges).length)){var u=new Array(r),c=new Array(r);for(n=0;n<r;++n)u[n]=n,c[n]=a(e,i.edges[t[n]]);for(u.sort((function(e,t){return c[t]-c[e]})),n=0;n<r;++n)c[n]=t[u[n]];for(n=0;n<r;++n)t[n]=c[n]}}function l(e,t,n,o){var a,c,l,f,p,d,h,m,y,g,v,b,_=i.cells.length,E=!0;for(a=0;a<_;++a)if(c=i.cells[a]){for(l=c.site,f=(p=c.halfedges).length;f--;)i.edges[p[f]]||p.splice(f,1);for(f=0,d=p.length;f<d;)v=(g=u(c,i.edges[p[f]]))[0],b=g[1],m=(h=s(c,i.edges[p[++f%d]]))[0],y=h[1],(Math.abs(v-m)>i.epsilon||Math.abs(b-y)>i.epsilon)&&(p.splice(f,0,i.edges.push((0,r.createBorderEdge)(l,g,Math.abs(v-e)<i.epsilon&&o-b>i.epsilon?[e,Math.abs(m-e)<i.epsilon?y:o]:Math.abs(b-o)<i.epsilon&&n-v>i.epsilon?[Math.abs(y-o)<i.epsilon?m:n,o]:Math.abs(v-n)<i.epsilon&&b
51-t>i.epsilon?[n,Math.abs(m-n)<i.epsilon?y:t]:Math.abs(b-t)<i.epsilon&&v-e>i.epsilon?[Math.abs(y-t)<i.epsilon?m:e,t]:null))-1),++d);d&&(E=!1)}if(E){var S,w,T,O=1/0;for(a=0,E=null;a<_;++a)(c=i.cells[a])&&(T=(S=(l=c.site)[0]-e)*S+(w=l[1]-t)*w)<O&&(O=T,E=c);if(E){var x=[e,t],k=[e,o],R=[n,o],N=[n,t];E.halfedges.push(i.edges.push((0,r.createBorderEdge)(l=E.site,x,k))-1,i.edges.push((0,r.createBorderEdge)(l,k,R))-1,i.edges.push((0,r.createBorderEdge)(l,R,N))-1,i.edges.push((0,r.createBorderEdge)(l,N,x))-1)}}for(a=0;a<_;++a)(c=i.cells[a])&&(c.halfedges.length||delete i.cells[a])}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{clipEdges:()=>c,createBorderEdge:()=>o,createEdge:()=>i,setEdgeEnd:()=>a});var r=n(1384);function i(e,t,n,i){var o=[null,null],s=r.edges.push(o)-1;return o.left=e,o.right=t,n&&a(o,e,t,n),i&&a(o,t,e,i),r.cells[e.index].halfedges.push(s),r.cells[t.index].halfedges.push(s),o}function o(e,t,n){var r=[t,n];return r.left=e,r}function a(e,t,n,r){e[0]||e[1]?e.left===n?e[1]=r:e[0]=r:(e[0]=r,e.left=t,e.right=n)}function s(e,t,n,r,i){var o,a=e[0],s=e[1],u=a[0],c=a[1],l=0,f=1,p=s[0]-u,d=s[1]-c;if(o=t-u,p||!(o>0)){if(o/=p,p<0){if(o<l)return;o<f&&(f=o)}else if(p>0){if(o>f)return;o>l&&(l=o)}if(o=r-u,p||!(o<0)){if(o/=p,p<0){if(o>f)return;o>l&&(l=o)}else if(p>0){if(o<l)return;o<f&&(f=o)}if(o=n-c,d||!(o>0)){if(o/=d,d<0){if(o<l)return;o<f&&(f=o)}else if(d>0){if(o>f)return;o>l&&(l=o)}if(o=i-c,d||!(o<0)){if(o/=d,d<0){if(o>f)return;o>l&&(l=o)}else if(d>0){if(o<l)return;o<f&&(f=o)}return!(l>0||f<1)||(l>0&&(e[0]=[u+l*p,c+l*d]),f<1&&(e[1]=[u+f*p,c+f*d]),!0)}}}}}function u(e,t,n,r,i){var o=e[1];if(o)return!0;var a,s,u=e[0],c=e.left,l=e.right,f=c[0],p=c[1],d=l[0],h=l[1],m=(f+d)/2,y=(p+h)/2;if(h===p){if(m<t||m>=r)return;if(f>d){if(u){if(u[1]>=i)return}else u=[m,n];o=[m,i]}else{if(u){if(u[1]<n)return}else u=[m,i];o=[m,n]}}else if(s=y-(a=(f-d)/(h-p))*m,a<-1||a>1)if(f>d){if(u){if(u[1]>=i)return}else u=[(n-s)/a,n];o=[(i-s)/a,i]}else{if(u){if(u[1]<n)return}else u=[(i-s)/a,i];o=[(n-s)/a,n]}else if(p<h){if(u){if(u[0]>=r)return}else u=[t,a*t+s];o=[r,a*r+s]}else{if(u){if(u[0]<t)return}else u=[r,a*r+s];o=[t,a*t+s]}return e[0]=u,e[1]=o,!0}function c(e,t,n,i){for(var o,a=r.edges.length;a--;)u(o=r.edges[a],e,t,n,i)&&s(o,e,t,n,i)&&(Math.abs(o[0][0]-o[1][0])>r.epsilon||Math.abs(o[0][1]-o[1][1])>r.epsilon)||delete r.edges[a]}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{attachCircle:()=>u,detachCircle:()=>c,firstCircle:()=>r});var r,i=n(1386),o=n(1384),a=[];function s(){(0,i.RedBlackNode)(this),this.x=this.y=this.arc=this.site=this.cy=null}function u(e){var t=e.P,n=e.N;if(t&&n){var i=t.site,u=e.site,c=n.site;if(i!==c){var l=u[0],f=u[1],p=i[0]-l,d=i[1]-f,h=c[0]-l,m=c[1]-f,y=2*(p*m-d*h);if(!(y>=-o.epsilon2)){var g=p*p+d*d,v=h*h+m*m,b=(m*g-d*v)/y,_=(p*v-h*g)/y,E=a.pop()||new s;E.arc=e,E.site=u,E.x=b+l,E.y=(E.cy=_+f)+Math.sqrt(b*b+_*_),e.circle=E;for(var S=null,w=o.circles._;w;)if(E.y<w.y||E.y===w.y&&E.x<=w.x){if(!w.L){S=w.P;break}w=w.L}else{if(!w.R){S=w;break}w=w.R}o.circles.insert(S,E),S||(r=E)}}}}function c(e){var t=e.circle;t&&(t.P||(r=t.N),o.circles.remove(t),a.push(t),(0,i.RedBlackNode)(t),e.circle=null)}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{AnimationPropType:()=>T,default:()=>w,extractAnimatedPropValues:()=>E});var r=n(242),i=n(244),o=n.n(i),a=n(1406),s=n(1391);function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function c(){return c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c.apply(this,arguments)}function l(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function f(e,t){return f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},f(e,t)}function p(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=h(e);if(t){var i=h(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===u(t)||"function"==typeof t))return t;return d(e)}(this,n)}}function d(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}
51function h(e){return h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},h(e)}function m(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function y(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function g(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?y(Object(n),!0).forEach((function(t){v(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):y(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function v(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var b=o().oneOfType([o().string,o().shape({stiffness:o().number,nonAnimatedProps:o().arrayOf(o().string),damping:o().number}),o().bool]),_={animatedProps:o().arrayOf(o().string).isRequired,animation:b,onStart:o().func,onEnd:o().func};function E(e){var t=e.animatedProps,n=m(e,["animatedProps"]);return t.reduce((function(e,t){return Object.prototype.hasOwnProperty.call(n,t)&&(e[t]=n[t]),e}),{})}var S=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&f(e,t)}(u,e);var t,n,i,o=p(u);function u(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u),v(d(t=o.call(this,e)),"_motionEndHandler",(function(){t.props.onEnd&&t.props.onEnd()})),v(d(t),"_renderChildren",(function(e){var n=e.i,i=t.props.children,o=t._interpolator,a=r.default.Children.only(i),s=o?o(n):o,u=s&&s.data||null;return u&&a.props._data&&(u=u.map((function(e,t){var n=a.props._data[t];return g(g({},e),{},{parent:n.parent,children:n.children})}))),r.default.cloneElement(a,g(g(g({},a.props),s),{},{data:u||a.props.data||null,_animation:Math.random()}))})),t._updateInterpolator(e),t}return t=u,n=[{key:"UNSAFE_componentWillUpdate",value:function(e){this._updateInterpolator(this.props,e),e.onStart&&e.onStart()}},{key:"_updateInterpolator",value:function(e,t){this._interpolator=(0,a.default)(E(e),t?E(t):null)}},{key:"render",value:function(){var e=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s.presets.noWobble;if("string"==typeof e)return s.presets[e]||s.presets.noWobble;var t=e.damping,n=e.stiffness;return g(g({},e),{},{damping:t||s.presets.noWobble.damping,stiffness:n||s.presets.noWobble.stiffness})}(this.props.animation),t={i:(0,s.spring)(1,e)},n=Math.random();return r.default.createElement(s.Motion,c({defaultStyle:{i:0},style:t,key:n},{onRest:this._motionEndHandler}),this._renderChildren)}}],n&&l(t.prototype,n),i&&l(t,i),u}(r.PureComponent);S.propTypes=_,S.displayName="Animation";const w=S;var T=b},(e,t,n)=>{"use strict";function r(e){return e&&e.__esModule?e.default:e}t.__esModule=!0;var i=n(1392);t.Motion=r(i);var o=n(1400);t.StaggeredMotion=r(o);var a=n(1401);t.TransitionMotion=r(a);var s=n(1403);t.spring=r(s);var u=n(1404);t.presets=r(u);var c=n(1394);t.stripStyle=r(c);var l=n(1405);
vendor: 23,154 bytes, line 51
51t.reorderKeys=r(l)},(e,t,n)=>{"use strict";t.__esModule=!0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function o(e){return e&&e.__esModule?e:{default:e}}var a=o(n(1393)),s=o(n(1394)),u=o(n(1395)),c=o(n(1396)),l=o(n(1397)),f=o(n(1399)),p=o(n(242)),d=o(n(244)),h=1e3/60,m=function(e){function t(n){var i=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),e.call(this,n),this.wasAnimating=!1,this.animationID=null,this.prevTime=0,this.accumulatedTime=0,this.unreadPropStyle=null,this.clearUnreadPropStyle=function(e){var t=!1,n=i.state,o=n.currentStyle,a=n.currentVelocity,s=n.lastIdealStyle,u=n.lastIdealVelocity;for(var c in e)if(Object.prototype.hasOwnProperty.call(e,c)){var l=e[c];"number"==typeof l&&(t||(t=!0,o=r({},o),a=r({},a),s=r({},s),u=r({},u)),o[c]=l,a[c]=0,s[c]=l,u[c]=0)}t&&i.setState({currentStyle:o,currentVelocity:a,lastIdealStyle:s,lastIdealVelocity:u})},this.startAnimationIfNecessary=function(){i.animationID=l.default((function(e){var t=i.props.style;if(f.default(i.state.currentStyle,t,i.state.currentVelocity))return i.wasAnimating&&i.props.onRest&&i.props.onRest(),i.animationID=null,i.wasAnimating=!1,void(i.accumulatedTime=0);i.wasAnimating=!0;var n=e||c.default(),r=n-i.prevTime;if(i.prevTime=n,i.accumulatedTime=i.accumulatedTime+r,i.accumulatedTime>10*h&&(i.accumulatedTime=0),0===i.accumulatedTime)return i.animationID=null,void i.startAnimationIfNecessary();var o=(i.accumulatedTime-Math.floor(i.accumulatedTime/h)*h)/h,a=Math.floor(i.accumulatedTime/h),s={},l={},p={},d={};for(var m in t)if(Object.prototype.hasOwnProperty.call(t,m)){var y=t[m];if("number"==typeof y)p[m]=y,d[m]=0,s[m]=y,l[m]=0;else{for(var g=i.state.lastIdealStyle[m],v=i.state.lastIdealVelocity[m],b=0;b<a;b++){var _=u.default(h/1e3,g,v,y.val,y.stiffness,y.damping,y.precision);g=_[0],v=_[1]}var E=u.default(h/1e3,g,v,y.val,y.stiffness,y.damping,y.precision),S=E[0],w=E[1];p[m]=g+(S-g)*o,d[m]=v+(w-v)*o,s[m]=g,l[m]=v}}i.animationID=null,i.accumulatedTime-=a*h,i.setState({currentStyle:p,currentVelocity:d,lastIdealStyle:s,lastIdealVelocity:l}),i.unreadPropStyle=null,i.startAnimationIfNecessary()}))},this.state=this.defaultState()}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,null,[{key:"propTypes",value:{defaultStyle:d.default.objectOf(d.default.number),style:d.default.objectOf(d.default.oneOfType([d.default.number,d.default.object])).isRequired,children:d.default.func.isRequired,onRest:d.default.func},enumerable:!0}]),t.prototype.defaultState=function(){var e=this.props,t=e.defaultStyle,n=e.style,r=t||s.default(n),i=a.default(r);return{currentStyle:r,currentVelocity:i,lastIdealStyle:r,lastIdealVelocity:i}},t.prototype.componentDidMount=function(){this.prevTime=c.default(),this.startAnimationIfNecessary()},t.prototype.componentWillReceiveProps=function(e){null!=this.unreadPropStyle&&this.clearUnreadPropStyle(this.unreadPropStyle),this.unreadPropStyle=e.style,null==this.animationID&&(this.prevTime=c.default(),this.startAnimationIfNecessary())},t.prototype.componentWillUnmount=function(){null!=this.animationID&&(l.default.cancel(this.animationID),this.animationID=null)},t.prototype.render=function(){var e=this.props.children(this.state.currentStyle);return e&&p.default.Children.only(e)},t}(p.default.Component);t.default=m,e.exports=t.default},(e,t)=>{"use strict";t.__esModule=!0,t.default=function(e){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=0);return t},e.exports=t.default},(e,t)=>{"use strict";t.__esModule=!0,t.default=function(e){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]="number"==typeof e[n]?e[n]:e[n].val);return t},e.exports=t.default},(e,t)=>{"use strict";t.__esModule=!0,t.default=function(e,t,r,i,o,a,s){var u=r+(-o*(t-i)+-a*r)*e,c=t+u*e;if(Math.abs(u)<s&&Math.abs(c-i)<s)return n[0]=i,n[1]=0,n;return n[0]=c,n[1]=u,n};var n=[0,0];e.exports=t.default},function(e){(function(){var t,n,r;"undefined"!=typeof performance&&null!==performance&&performance.now?e.exports=function(){return performance.now()}:"undefined"!=typeof process&&null!==process&&process.hrtime?(e.exports=function(){return(t()-r)/1e6},n=process.hrtime,r=(t=function(){var e;return 1e9*(e=n())[0]+e[1]})()):Date.now?(e.exports=function(){return Date.now()-r},r=Date.now()):(e.exports=function(){return(new Date).getTime()-r},r=(new Date).getTime())}).call(this)},(e,t,n)=>{for(var r=n(1398),i="undefined"==typeof window?n.g:window,o=["moz","webkit"],a="AnimationFrame",s=i["request"+a],u=i["cancel"+a]||i["cancelRequest"+a],c=0;!s&&c<o.length;c++)s=i[o[c]+"Request"+a],u=i[o[c]+"Cancel"+a]||i[o[c]+"CancelRequest"+a];if(!s||!u){var l=0,f=0,p=[];s=function(e){if(0===p.length){var t=r(),n=Math.max(0,16.666666666666668-(t-l));l=n+t,setTimeout((function(){var e=p.slice(0);p.length=0;for(var t=0;t<e.length;t++)if(!e[t].cancelled)try{e[t].callback(l)}catch(e){setTimeout((function(){throw e}),0)}}),Math.round(n))}return p.push({handle:++f,callback:e,cancelled:!1}),f},u=function(e){for(var t=0;t<p.length;t++)p[t].handle===e&&(p[t].cancelled=!0)}}e.exports=function(e){return s.call(i,e)},e.exports.cancel=function(){u.apply(i,arguments)},e.exports.polyfill=function(e){e||(e=i),e.requestAnimationFrame=s,e.cancelAnimationFrame=u}},function(e){(function(){var t,n,r,i,o,a;"undefined"!=typeof performance&&null!==performance&&performance.now?e.exports=function(){return performance.now()}:"undefined"!=typeof process&&null!==process&&process.hrtime?(e.exports=function(){return(t()-o)/1e6},n=process.hrtime,i=(t=function(){var e;return 1e9*(e=n())[0]+e[1]})(),a=1e9*process.uptime(),o=i-a):Date.now?(e.exports=function(){return Date.now()-r},r=Date.now()):(e.exports=function(){return(new Date).getTime()-r},r=(new Date).getTime())}).call(this)},(e,t)=>{"use strict";t.__esModule=!0,t.default=function(e,t,n){for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r)){if(0!==n[r])return!1;var i="number"==typeof t[r]?t[r]:t[r].val;if(e[r]!==i)return!1}return!0},e.exports=t.default},(e,t,n)=>{"use strict";t.__esModule=!0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function o(e){return e&&e.__esModule?e:{default:e}}var a=o(n(1393)),s=o(n(1394)),u=o(n(1395)),c=o(n(1396)),l=o(n(1397)),f=o(n(1399)),p=o(n(242)),d=o(n(244)),h=1e3/60;var m=function(e){function t(n){var i=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),e.call(this,n),this.animationID=null,this.prevTime=0,this.accumulatedTime=0,this.unreadPropStyles=null,this.clearUnreadPropStyle=function(e){for(var t=i.state,n=t.currentStyles,o=t.currentVelocities,a=t.lastIdealStyles,s=t.lastIdealVelocities,u=!1,c=0;c<e.length;c++){var l=e[c],f=!1;for(var p in l)if(Object.prototype.hasOwnProperty.call(l,p)){var d=l[p];"number"==typeof d&&(f||(f=!0,u=!0,n[c]=r({},n[c]),o[c]=r({},o[c]),a[c]=r({},a[c]),s[c]=r({},s[c])),n[c][p]=d,o[c][p]=0,a[c][p]=d,s[c][p]=0)}}u&&i.setState({currentStyles:n,currentVelocities:o,lastIdealStyles:a,lastIdealVelocities:s})},this.startAnimationIfNecessary=function(){i.animationID=l.default((function(e){var t=i.props.styles(i.state.lastIdealStyles);if(function(e,t,n){for(var r=0;r<e.length;r++)if(!f.default(e[r],t[r],n[r]))return!1;return!0}(i.state.currentStyles,t,i.state.currentVelocities))return i.animationID=null,void(i.accumulatedTime=0);var n=e||c.default(),r=n-i.prevTime;if(i.prevTime=n,i.accumulatedTime=i.accumulatedTime+r,i.accumulatedTime>10*h&&(i.accumulatedTime=0),0===i.accumulatedTime)return i.animationID=null,void i.startAnimationIfNecessary();for(var o=(i.accumulatedTime-Math.floor(i.accumulatedTime/h)*h)/h,a=Math.floor(i.accumulatedTime/h),s=[],l=[],p=[],d=[],m=0;m<t.length;m++){var y=t[m],g={},v={},b={},_={};for(var E in y)if(Object.prototype.hasOwnProperty.call(y,E)){var S=y[E];if("number"==typeof S)g[E]=S,v[E]=0,b[E]=S,_[E]=0;else{for(var w=i.state.lastIdealStyles[m][E],T=i.state.lastIdealVelocities[m][E],O=0;O<a;O++){var x=u.default(h/1e3,w,T,S.val,S.stiffness,S.damping,S.precision);w=x[0],T=x[1]}var k=u.default(h/1e3,w,T,S.val,S.stiffness,S.damping,S.precision),R=k[0],N=k[1];g[E]=w+(R-w)*o,v[E]=T+(N-T)*o,b[E]=w,_[E]=T}}p[m]=g,d[m]=v,s[m]=b,l[m]=_}i.animationID=null,i.accumulatedTime-=a*h,i.setState({currentStyles:p,currentVelocities:d,lastIdealStyles:s,lastIdealVelocities:l}),i.unreadPropStyles=null,i.startAnimationIfNecessary()}))},this.state=this.defaultState()}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,null,[{key:"propTypes",value:{defaultStyles:d.default.arrayOf(d.default.objectOf(d.default.number)),styles:d.default.func.isRequired,children:d.default.func.isRequired},enumerable:!0}]),t.prototype.defaultState=function(){var e=this.props,t=e.defaultStyles,n=e.styles,r=t||n().map(s.default),i=r.map((function(e){return a.default(e)}));return{currentStyles:r,currentVelocities:i,lastIdealStyles:r,lastIdealVelocities:i}},t.prototype.componentDidMount=function(){this.prevTime=c.default(),this.startAnimationIfNecessary()},t.prototype.componentWillReceiveProps=function(e){null!=this.unreadPropStyles&&this.clearUnreadPropStyle(this.unreadPropStyles),this.unreadPropStyles=e.styles(this.state.lastIdealStyles),null==this.animationID&&(this.prevTime=c.default(),this.startAnimationIfNecessary())},t.prototype.componentWillUnmount=function(){null!=this.animationID&&(l.default.cancel(this.animationID),this.animationID=null)},t.prototype.render=function(){var e=this.props.children(this.state.currentStyles);return e&&p.default.Children.only(e)},t}(p.default.Component);t.default=m,e.exports=t.default},(e,t,n)=>{"use strict";t.__esModule=!0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function o(e){return e&&e.__esModule?e:{default:e}}var a=o(n(1393)),s=o(n(1394)),u=o(n(1395)),c=o(n(1402)),l=o(n(1396)),f=o(n(1397)),p=o(n(1399)),d=o(n(242)),h=o(n(244)),m=1e3/60;function y(e,t,n){var r=t;return null==r?e.map((function(e,t){return{key:e.key,data:e.data,style:n[t]}})):e.map((function(e,t){for(var i=0;i<r.length;i++)if(r[i].key===e.key)return{key:r[i].key,data:r[i].data,style:n[t]};return{key:e.key,data:e.data,style:n[t]}}))}function g(e,t,n,r,i,o,s,u,l){for(var f=c.default(r,i,(function(e,r){var i=t(r);return null==i||p.default(o[e],i,s[e])?(n({key:r.key,data:r.data}),null):{key:r.key,data:r.data,style:i}})),d=[],h=[],m=[],y=[],g=0;g<f.length;g++){for(var v=f[g],b=null,_=0;_<r.length;_++)if(r[_].key===v.key){b=_;break}if(null==b){var E=e(v);d[g]=E,m[g]=E;var S=a.default(v.style);h[g]=S,y[g]=S}else d[g]=o[b],m[g]=u[b],h[g]=s[b],y[g]=l[b]}return[f,d,h,m,y]}var v=function(e){function t(n){var i=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),e.call(this,n),this.unmounting=!1,this.animationID=null,this.prevTime=0,this.accumulatedTime=0,this.unreadPropStyles=null,this.clearUnreadPropStyle=function(e){for(var t=g(i.props.willEnter,i.props.willLeave,i.props.didLeave,i.state.mergedPropsStyles,e,i.state.currentStyles,i.state.currentVelocities,i.state.lastIdealStyles,i.state.lastIdealVelocities),n=t[0],o=t[1],a=t[2],s=t[3],u=t[4],c=0;c<e.length;c++){var l=e[c].style,f=!1;for(var p in l)if(Object.prototype.hasOwnProperty.call(l,p)){var d=l[p];"number"==typeof d&&(f||(f=!0,o[c]=r({},o[c]),a[c]=r({},a[c]),s[c]=r({},s[c]),u[c]=r({},u[c]),n[c]={key:n[c].key,data:n[c].data,style:r({},n[c].style)}),o[c][p]=d,a[c][p]=0,s[c][p]=d,u[c][p]=0,n[c].style[p]=d)}}i.setState({currentStyles:o,currentVelocities:a,mergedPropsStyles:n,lastIdealStyles:s,lastIdealVelocities:u})},this.startAnimationIfNecessary=function(){i.unmounting||(i.animationID=f.default((function(e){if(!i.unmounting){var t=i.props.styles,n="function"==typeof t?t(y(i.state.mergedPropsStyles,i.unreadPropStyles,i.state.lastIdealStyles)):t;if(function(e,t,n,r){if(r.length!==t.length)return!1;for(var i=0;i<r.length;i++)if(r[i].key!==t[i].key)return!1;for(i=0;i<r.length;i++)if(!p.default(e[i],t[i].style,n[i]))return!1;return!0}(i.state.currentStyles,n,i.state.currentVelocities,i.state.mergedPropsStyles))return i.animationID=null,void(i.accumulatedTime=0);var r=e||l.default(),o=r-i.prevTime;if(i.prevTime=r,i.accumulatedTime=i.accumulatedTime+o,i.accumulatedTime>10*m&&(i.accumulatedTime=0),0===i.accumulatedTime)return i.animationID=null,void i.startAnimationIfNecessary();for(var a=(i.accumulatedTime-Math.floor(i.accumulatedTime/m)*m)/m,s=Math.floor(i.accumulatedTime/m),c=g(i.props.willEnter,i.props.willLeave,i.props.didLeave,i.state.mergedPropsStyles,n,i.state.currentStyles,i.state.currentVelocities,i.state.lastIdealStyles,i.state.lastIdealVelocities),f=c[0],d=c[1],h=c[2],v=c[3],b=c[4],_=0;_<f.length;_++){var E=f[_].style,S={},w={},T={},O={};for(var x in E)if(Object.prototype.hasOwnProperty.call(E,x)){var k=E[x];if("number"==typeof k)S[x]=k,w[x]=0,T[x]=k,O[x]=0;else{for(var R=v[_][x],N=b[_][x],A=0;A<s;A++){var I=u.default(m/1e3,R,N,k.val,k.stiffness,k.damping,k.precision);R=I[0],N=I[1]}var D=u.default(m/1e3,R,N,k.val,k.stiffness,k.damping,k.precision),C=D[0],P=D[1];S[x]=R+(C-R)*a,w[x]=N+(P-N)*a,T[x]=R,O[x]=N}}v[_]=T,b[_]=O,d[_]=S,h[_]=w}i.animationID=null,i.accumulatedTime-=s*m,i.setState({currentStyles:d,currentVelocities:h,lastIdealStyles:v,lastIdealVelocities:b,mergedPropsStyles:f}),i.unreadPropStyles=null,i.startAnimationIfNecessary()}})))},this.state=this.defaultState()}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,null,[{key:"propTypes",value:{defaultStyles:h.default.arrayOf(h.default.shape({key:h.default.string.isRequired,data:h.default.any,style:h.default.objectOf(h.default.number).isRequired})),styles:h.default.oneOfType([h.default.func,h.default.arrayOf(h.default.shape({key:h.default.string.isRequired,data:h.default.any,style:h.default.objectOf(h.default.oneOfType([h.default.number,h.default.object])).isRequired}))]).isRequired,children:h.default.func.isRequired,willEnter:h.default.func,willLeave:h.default.func,didLeave:h.default.func},enumerable:!0},{key:"defaultProps",value:{willEnter:function(e){return s.default(e.style)},willLeave:function(){return null},didLeave:function(){}},enumerable:!0}]),t.prototype.defaultState=function(){var e=this.props,t=e.defaultStyles,n=e.styles,r=e.willEnter,i=e.willLeave,o=e.didLeave,u="function"==typeof n?n(t):n,c=void 0;c=null==t?u:t.map((function(e){for(var t=0;t<u.length;t++)if(u[t].key===e.key)return u[t];return e}));var l=null==t?u.map((function(e){return s.default(e.style)})):t.map((function(e){return s.default(e.style)})),f=null==t?u.map((function(e){return a.default(e.style)})):t.map((function(e){return a.default(e.style)})),p=g(r,i,o,c,u,l,f,l,f),d=p[0];return{currentStyles:p[1],currentVelocities:p[2],lastIdealStyles:p[3],lastIdealVelocities:p[4],mergedPropsStyles:d}},t.prototype.componentDidMount=function(){this.prevTime=l.default(),this.startAnimationIfNecessary()},t.prototype.componentWillReceiveProps=function(e){this.unreadPropStyles&&this.clearUnreadPropStyle(this.unreadPropStyles);var t=e.styles;this.unreadPropStyles="function"==typeof t?t(y(this.state.mergedPropsStyles,this.unreadPropStyles,this.state.lastIdealStyles)):t,null==this.animationID&&(this.prevTime=l.default(),this.startAnimationIfNecessary())},t.prototype.componentWillUnmount=function(){this.unmounting=!0,null!=this.animationID&&(f.default.cancel(this.animationID),this.animationID=null)},t.prototype.render=function(){var e=y(this.state.mergedPropsStyles,this.unreadPropStyles,this.state.currentStyles),t=this.props.children(e);return t&&d.default.Children.only(t)},t}(d.default.Component);t.default=v,e.exports=t.default},(e,t)=>{"use strict";t.__esModule=!0,t.default=function(e,t,n){for(var r={},i=0;i<e.length;i++)r[e[i].key]=i;var o={};for(i=0;i<t.length;i++)o[t[i].key]=i;var a=[];for(i=0;i<t.length;i++)a[i]=t[i];for(i=0;i<e.length;i++)if(!Object.prototype.hasOwnProperty.call(o,e[i].key)){var s=n(i,e[i]);null!=s&&a.push(s)}return a.sort((function(e,n){var i=o[e.key],a=o[n.key],s=r[e.key],u=r[n.key];if(null!=i&&null!=a)return o[e.key]-o[n.key];if(null!=s&&null!=u)return r[e.key]-r[n.key];if(null!=i){for(var c=0;c<t.length;c++){var l=t[c].key;if(Object.prototype.hasOwnProperty.call(r,l)){if(i<o[l]&&u>r[l])return-1;if(i>o[l]&&u<r[l])return 1}}return 1}for(c=0;c<t.length;c++){l=t[c].key;if(Object.prototype.hasOwnProperty.call(r,l)){if(a<o[l]&&s>r[l])return 1;if(a>o[l]&&s<r[l])return-1}}return-1}))},e.exports=t.default},(e,t,n)=>{"use strict";t.__esModule=!0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.default=function(e,t){return r({},s,t,{val:e})};var i,o=n(1404),a=(i=o)&&i.__esModule?i:{default:i},s=r({},a.default.noWobble,{precision:.01});e.exports=t.default},(e,t)=>{"use strict";t.__esModule=!0,t.default={noWobble:{stiffness:170,damping:26},gentle:{stiffness:120,damping:14},wobbly:{stiffness:180,damping:12},stiff:{stiffness:210,damping:20}},e.exports=t.default},(e,t)=>{"use strict";t.__esModule=!0,t.default=function(){0};e.exports=t.default},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>p});var r=n(1409),i=n(1411),o=n(1418),a=n(1416),s=n(1408),u=n(1419),c=n(1415),l=n(1407),f=n(1417);function p(e,t){var n,p=typeof t;return null==t||"boolean"===p?(0,l.default)(t):("number"===p?s.default:"string"===p?(n=(0,r.default)(t))?(t=n,i.default):c.default:t instanceof r.default?i.default:t instanceof Date?a.default:(0,f.isNumberArray)(t)?f.default:Array.isArray(t)?o.genericArray:"function"!=typeof t.valueOf&&"function"!=typeof t.toString||isNaN(t)?u.default:s.default)(e,t)}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r=e=>()=>e},(e,t,n)=>{"use strict";function r(e,t){return e=+e,t=+t,function(n){return e*(1-n)+t*n}}n.r(t),n.d(t,{default:()=>r})},(e,t,n)=>{"use strict";n.r(t),n.d(t,{Color:()=>i,Rgb:()=>O,brighter:()=>a,darker:()=>o,default:()=>_,hsl:()=>C,hslConvert:()=>D,rgb:()=>T,rgbConvert:()=>w});var r=n(1410);function i(){}var o=.7,a=1/o,s="\\s*([+-]?\\d+)\\s*",u="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",c="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",l=/^#([0-9a-f]{3,8})$/,f=new RegExp(`^rgb\\(${s},${s},${s}\\)$`),p=new RegExp(`^rgb\\(${c},${c},${c}\\)$`),d=new RegExp(`^rgba\\(${s},${s},${s},${u}\\)$`),h=new RegExp(`^rgba\\(${c},${c},${c},${u}\\)$`),m=new RegExp(`^hsl\\(${u},${c},${c}\\)$`),y=new RegExp(`^hsla\\(${u},${c},${c},${u}\\)$`),g={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function v(){return this.rgb().formatHex()}function b(){return this.rgb().formatRgb()}function _(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=l.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?E(t):3===n?
vendor: 7,463 bytes, line 51
51new O(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?S(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?S(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=f.exec(e))?new O(t[1],t[2],t[3],1):(t=p.exec(e))?new O(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=d.exec(e))?S(t[1],t[2],t[3],t[4]):(t=h.exec(e))?S(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=m.exec(e))?I(t[1],t[2]/100,t[3]/100,1):(t=y.exec(e))?I(t[1],t[2]/100,t[3]/100,t[4]):g.hasOwnProperty(e)?E(g[e]):"transparent"===e?new O(NaN,NaN,NaN,0):null}function E(e){return new O(e>>16&255,e>>8&255,255&e,1)}function S(e,t,n,r){return r<=0&&(e=t=n=NaN),new O(e,t,n,r)}function w(e){return e instanceof i||(e=_(e)),e?new O((e=e.rgb()).r,e.g,e.b,e.opacity):new O}function T(e,t,n,r){return 1===arguments.length?w(e):new O(e,t,n,null==r?1:r)}function O(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function x(){return`#${A(this.r)}${A(this.g)}${A(this.b)}`}function k(){const e=R(this.opacity);return`${1===e?"rgb(":"rgba("}${N(this.r)}, ${N(this.g)}, ${N(this.b)}${1===e?")":`, ${e})`}`}function R(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function N(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function A(e){return((e=N(e))<16?"0":"")+e.toString(16)}function I(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new P(e,t,n,r)}function D(e){if(e instanceof P)return new P(e.h,e.s,e.l,e.opacity);if(e instanceof i||(e=_(e)),!e)return new P;if(e instanceof P)return e;var t=(e=e.rgb()).r/255,n=e.g/255,r=e.b/255,o=Math.min(t,n,r),a=Math.max(t,n,r),s=NaN,u=a-o,c=(a+o)/2;return u?(s=t===a?(n-r)/u+6*(n<r):n===a?(r-t)/u+2:(t-n)/u+4,u/=c<.5?a+o:2-a-o,s*=60):u=c>0&&c<1?0:s,new P(s,u,c,e.opacity)}function C(e,t,n,r){return 1===arguments.length?D(e):new P(e,t,n,null==r?1:r)}function P(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function L(e){return(e=(e||0)%360)<0?e+360:e}function M(e){return Math.max(0,Math.min(1,e||0))}function j(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}(0,r.default)(i,_,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:v,formatHex:v,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return D(this).formatHsl()},formatRgb:b,toString:b}),(0,r.default)(O,T,(0,r.extend)(i,{brighter(e){return e=null==e?a:Math.pow(a,e),new O(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=null==e?o:Math.pow(o,e),new O(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new O(N(this.r),N(this.g),N(this.b),R(this.opacity))},displayable(){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:x,formatHex:x,formatHex8:function(){return`#${A(this.r)}${A(this.g)}${A(this.b)}${A(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:k,toString:k})),(0,r.default)(P,C,(0,r.extend)(i,{brighter(e){return e=null==e?a:Math.pow(a,e),new P(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?o:Math.pow(o,e),new P(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,i=2*n-r;return new O(j(e>=240?e-240:e+120,i,r),j(e,i,r),j(e<120?e+240:e-120,i,r),this.opacity)},clamp(){return new P(L(this.h),M(this.s),M(this.l),R(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const e=R(this.opacity);return`${1===e?"hsl(":"hsla("}${L(this.h)}, ${100*M(this.s)}%, ${100*M(this.l)}%${1===e?")":`, ${e})`}`}}))},(e,t,n)=>{"use strict";function r(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function i(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}n.r(t),n.d(t,{default:()=>r,extend:()=>i})},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s,rgbBasis:()=>c,rgbBasisClosed:()=>l});var r=n(1409),i=n(1413),o=n(1414),a=n(1412);const s=function e(t){var n=(0,a.gamma)(t);function i(e,t){var i=n((e=(0,r.rgb)(e)).r,(t=(0,r.rgb)(t)).r),o=n(e.g,t.g),s=n(e.b,t.b),u=(0,a.default)(e.opacity,t.opacity);return function(t){return e.r=i(t),e.g=o(t),e.b=s(t),e.opacity=u(t),e+""}}return i.gamma=e,i}(1);function u(e){return function(t){var n,i,o=t.length,a=new Array(o),s=new Array(o),u=new Array(o);for(n=0;n<o;++n)i=(0,r.rgb)(t[n]),a[n]=i.r||0,s[n]=i.g||0,u[n]=i.b||0;return a=e(a),s=e(s),u=e(u),i.opacity=1,function(e){return i.r=a(e),i.g=s(e),i.b=u(e),i+""}}}var c=u(i.default),l=u(o.default)},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s,gamma:()=>a,hue:()=>o});var r=n(1407);function i(e,t){return function(n){return e+n*t}}function o(e,t){var n=t-e;return n?i(e,n>180||n<-180?n-360*Math.round(n/360):n):(0,r.default)(isNaN(e)?t:e)}function a(e){return 1==(e=+e)?s:function(t,n){return n-t?function(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(r){return Math.pow(e+r*t,n)}}(t,n,e):(0,r.default)(isNaN(t)?n:t)}}function s(e,t){var n=t-e;return n?i(e,n):(0,r.default)(isNaN(e)?t:e)}},(e,t,n)=>{"use strict";function r(e,t,n,r,i){var o=e*e,a=o*e;return((1-3*e+3*o-a)*t+(4-6*o+3*a)*n+(1+3*e+3*o-3*a)*r+a*i)/6}function i(e){var t=e.length-1;return function(n){var i=n<=0?n=0:n>=1?(n=1,t-1):Math.floor(n*t),o=e[i],a=e[i+1],s=i>0?e[i-1]:2*o-a,u=i<t-1?e[i+2]:2*a-o;return r((n-i/t)*t,s,o,a,u)}}n.r(t),n.d(t,{basis:()=>r,default:()=>i})},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(1413);function i(e){var t=e.length;return function(n){var i=Math.floor(((n%=1)<0?++n:n)*t),o=e[(i+t-1)%t],a=e[i%t],s=e[(i+1)%t],u=e[(i+2)%t];return(0,r.basis)((n-i/t)*t,o,a,s,u)}}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(1408),i=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,o=new RegExp(i.source,"g");function a(e,t){var n,a,s,u=i.lastIndex=o.lastIndex=0,c=-1,l=[],f=[];for(e+="",t+="";(n=i.exec(e))&&(a=o.exec(t));)(s=a.index)>u&&(s=t.slice(u,s),l[c]?l[c]+=s:l[++c]=s),(n=n[0])===(a=a[0])?l[c]?l[c]+=a:l[++c]=a:(l[++c]=null,f.push({i:c,x:(0,r.default)(n,a)})),u=o.lastIndex;return u<t.length&&(s=t.slice(u),l[c]?l[c]+=s:l[++c]=s),l.length<2?f[0]?function(e){return function(t){return e(t)+""}}(f[0].x):function(e){return function(){return e}}(t):(t=f.length,function(e){for(var n,r=0;r<t;++r)l[(n=f[r]).i]=n.x(e);return l.join("")})}},(e,t,n)=>{"use strict";function r(e,t){var n=new Date;return e=+e,t=+t,function(r){return n.setTime(e*(1-r)+t*r),n}}n.r(t),n.d(t,{default:()=>r})},(e,t,n)=>{"use strict";function r(e,t){t||(t=[]);var n,r=e?Math.min(t.length,e.length):0,i=t.slice();return function(o){for(n=0;n<r;++n)i[n]=e[n]*(1-o)+t[n]*o;return i}}function i(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}n.r(t),n.d(t,{default:()=>r,isNumberArray:()=>i})},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o,genericArray:()=>a});var r=n(1406),i=n(1417);function o(e,t){return((0,i.isNumberArray)(t)?i.default:a)(e,t)}function a(e,t){var n,i=t?t.length:0,o=e?Math.min(i,e.length):0,a=new Array(o),s=new Array(i);for(n=0;n<o;++n)a[n]=(0,r.default)(e[n],t[n]);for(;n<i;++n)s[n]=t[n];return function(e){for(n=0;n<o;++n)s[n]=a[n](e);return s}}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(1406);function i(e,t){var n,i={},o={};for(n in null!==e&&"object"==typeof e||(e={}),null!==t&&"object"==typeof t||(t={}),t)n in e?i[n]=(0,r.default)(e[n],t[n]):o[n]=t[n];return function(e){for(n in i)o[n]=i[n](e);return o}}},(e,t,n)=>{"use strict";
51n.r(t),n.d(t,{_adjustCategoricalScale:()=>F,_getScaleDistanceAndAdjustedDomain:()=>j,_getSmallestDistanceIndex:()=>C,default:()=>ee,extractScalePropsFromProps:()=>K,getAttr0Functor:()=>H,getAttributeFunctor:()=>V,getAttributeScale:()=>B,getAttributeValue:()=>z,getDomainByAccessor:()=>L,getFontColorFromBackground:()=>Q,getMissingScaleProps:()=>Y,getOptionalScaleProps:()=>Z,getScaleFnFromScaleObject:()=>P,getScaleObjectFromProps:()=>U,getScalePropTypesByAttribute:()=>$,getXYPlotValues:()=>X,literalScale:()=>W});var r,i=n(1430),o=n(1458),a=n(1459),s=n(1462),u=n(1464),c=n(1478),l=n(1479),f=n(1421),p=n(1409),d=n(244),h=n.n(d),m=n(1428),y=n(1429);function g(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?g(Object(n),!0).forEach((function(t){w(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function b(e){return function(e){if(Array.isArray(e))return S(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||E(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}(e,t)||E(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function E(e,t){if(e){if("string"==typeof e)return S(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?S(e,t):void 0}}function S(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function w(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var T="linear",O="ordinal",x="category",k="literal",R="log",N="time",A=(w(r={},T,i.default),w(r,O,o.point),w(r,x,a.default),w(r,k,W),w(r,R,s.default),w(r,N,u.default),w(r,"time-utc",c.default),r),I=["color","fill","opacity","stroke"];function D(e){return"".concat(e[0].toUpperCase()).concat(e.slice(1))}function C(e,t){var n=P(t),r=0;if(n)for(var i,o,a=n(e[0]),s=1/0,u=1;u<e.length;u++)i=n(e[u]),(o=Math.abs(i-a))<s&&(s=o,r=u),a=i;return r}function P(e){if(!e)return null;var t=e.type,n=e.domain,r=e.range,i=n[0]===n[1]?0===n[0]?[-1,0]:[-n[0],n[0]]:n;if(t===k)return W(r[0]);var o=A[t]().domain(i).range(r);return t===O&&(o.padding(.5),function(e){e.invert||(e.invert=function(t){var n=_(e.range(),2),r=n[0],i=n[1],o=Math.min(r,i),a=Math.max(r,i);if(t<o+e.padding()*e.step())return e.domain()[0];if(t>a-e.padding()*e.step())return e.domain()[e.domain().length-1];var s=Math.floor((t-o-e.padding()*e.step())/e.step());return e.domain()[s]})}(o)),o}function L(e,t,n,r){var i=e.reduce((function(e,r){var i=t(r),o=n(r);return G(i)&&e.push(i),G(o)&&e.push(o),e}),[]);return i.length?r!==O&&r!==x?(0,l.default)(i):(0,f.set)(i).values():[]}function M(e,t,n,r,i){return n===k?{type:k,domain:[],range:[t],distance:0,attr:e,baseValue:void 0,isValue:!0,accessor:r,accessor0:i}:void 0===t?null:{type:x,range:[t],domain:[],distance:0,attr:e,baseValue:void 0,isValue:!0,accessor:r,accessor0:i}}function j(e,t){var n=t.domain,r=t.type,i=t.accessor,o=t.accessor0,a=function(e,t,n,r){return r===N&&1===t.length?[n(e[0])].concat(b(t)):t}(e,(0,y.getUniquePropertyValues)(e,i),o,r),s=C(a,t),u=[].concat(n);u[0]-=function(e){return e.length>1?(e[1]-e[0])/2:1===e.length?e[0]-.5:0}(a),u[n.length-1]+=function(e){return e.length>1?(e[e.length-1]-e[e.length-2])/2:1===e.length?e[0]-.5:0}(a),r===R&&n[0]<=0&&(u[0]=Math.min(n[1]/10,1));var c=function(e,t,n,r){if(e.length>1){var i=Math.max(n,1);return Math.abs(r(e[i])-r(e[i-1]))}return 1===e.length?Math.abs(r(t[1])-r(t[0])):0}(a,u,s,P(v(v({},t),{},{domain:u})));return{domain0:u[0],domainN:u[u.length-1],distance:c}}function F(e){var t=P(e),n=e.domain,r=e.range;return n.length>1?e.distance=Math.abs(t(n[1])-t(n[0])):e.distance=Math.abs(r[1]-r[0]),e}function U(e,t){var n=function(e,t){var n,r=e[t],i=e["_".concat(t,"Value")],o=e["".concat(t,"Range")],a=e["".concat(t,"Distance")],s=void 0===a?0:a,u=e["".concat(t,"BaseValue")],c=e["".concat(t,"Type")],l=void 0===c?T:c,f=e["".concat(t,"NoFallBack")],p=e["get".concat(D(t))],d=void 0===p?function(e){return e[t]}:p,h=e["get".concat(D(t),"0")],m=void 0===h?function(e){return e["".concat(t,"0")]}:h,g=e["".concat(t,"Domain")];return f||void 0===r?(void 0!==u&&(g=(0,y.addValueToArray)(g,u)),o&&g&&g.length?{domain:(n={domain:g,range:o,type:l,distance:s,attr:t,baseValue:u,accessor:d,accessor0:m}).domain,range:n.range,type:n.type,distance:n.distance,attr:n.attr,baseValue:n.baseValue,isValue:!1,accessor:n.accessor,accessor0:n.accessor0}:M(t,i,e["".concat(t,"Type")],d,m)):M(t,r,e["".concat(t,"Type")],d,m)}(e,t);if(!n)return null;if(!function(e,t){var n=t.attr,r=e._adjustBy,i=void 0===r?[]:r,o=e._adjustWhat;return(void 0===o?[]:o).length&&i.length&&-1!==i.indexOf(n)}(e,n))return n;var r=n.type;
51return r===O||r===x?F(n):function(e,t){var n=e._allData,r=e._adjustWhat,i=void 0===r?[]:r,o=t.domain.length,a=t.domain,s=a[0],u=a[o-1],c=t.distance;return n.forEach((function(e,n){if(-1!==i.indexOf(n)&&e&&e.length){var r=j(e,t),o=r.domain0,a=r.domainN,l=r.distance;s=Math.min(s,o),u=Math.max(u,a),c=Math.max(c,l)}})),t.domain=[s].concat(b(a.slice(1,-1)),[u]),t.distance=c,t}(e,n)}function B(e,t){return P(U(e,t))}function q(e,t){return t(e.data?e.data:e)}function G(e){return void 0!==e}function V(e,t){var n=U(e,t);if(n){var r=P(n);return function(e){return r(q(e,n.accessor))}}return null}function H(e,t){var n=U(e,t);if(n){var r=n.domain,i=n.baseValue,o=void 0===i?r[0]:i,a=P(n);return function(e){var t=q(e,n.accessor0);return a(G(t)?t:o)}}return null}function z(e,t){var n=U(e,t);return n?(n.isValue||void 0!==e["_".concat(t,"Value")]||(0,m.warning)("[React-vis] Cannot use data defined ".concat(t," for this ")+"series type. Using fallback value instead."),e["_".concat(t,"Value")]||n.range[0]):null}function $(e){var t;return w(t={},"_".concat(e,"Value"),h().any),w(t,"".concat(e,"Domain"),h().array),w(t,"get".concat(D(e)),h().func),w(t,"get".concat(D(e),"0"),h().func),w(t,"".concat(e,"Range"),h().array),w(t,"".concat(e,"Type"),h().oneOf(Object.keys(A))),w(t,"".concat(e,"Distance"),h().number),w(t,"".concat(e,"BaseValue"),h().any),t}function K(e,t){var n={};return Object.keys(e).forEach((function(r){t.find((function(e){var t=0===r.indexOf(e),n=0===r.indexOf("_".concat(e)),i=0===r.indexOf("get".concat(D(e)));return t||n||i}))&&(n[r]=e[r])})),n}function Y(e,t,n){var r={};return n.forEach((function(n){e["get".concat(D(n))]||(r["get".concat(D(n))]=function(e){return e[n]}),e["get".concat(D(n),"0")]||(r["get".concat(D(n),"0")]=function(e){return e["".concat(n,"0")]}),e["".concat(n,"Domain")]||(r["".concat(n,"Domain")]=L(t,e["get".concat(D(n))]||r["get".concat(D(n))],e["get".concat(D(n),"0")]||r["get".concat(D(n),"0")],e["".concat(n,"Type")]),e["".concat(n,"Padding")]&&(r["".concat(n,"Domain")]=function(e,t){if(!e)return e;if(isNaN(parseFloat(e[0]))||isNaN(parseFloat(e[1])))return e;var n=_(e,2),r=n[0],i=n[1],o=.01*t*(i-r);return[r-o,i+o]}(r["".concat(n,"Domain")],e["".concat(n,"Padding")])))})),r}function W(e){function t(t){return void 0===t?e:t}function n(){return t}return t.domain=n,t.range=n,t.unknown=n,t.copy=n,t}function Q(e){return e?(0,p.hsl)(e).l>.57?"#222":"#fff":null}function X(e,t){var n=I.reduce((function(t,n){var r=e["".concat(n,"Domain")],i=e["".concat(n,"Range")],o=e["".concat(n,"Type")];return r&&i&&o?v(v({},t),{},w({},n,A[o]().domain(r).range(i))):t}),{});return t.map((function(e){return I.reduce((function(t,r){if(e.props&&void 0!==e.props[r]){var i=e.props[r],o=n[r],a=o?o(i):i;return v(v({},t),{},w({},"_".concat(r,"Value"),a))}return t}),{})}))}var J=["Padding"].map((function(e){return new RegExp("".concat(e,"$"),"i")}));function Z(e){return Object.keys(e).reduce((function(t,n){return J.every((function(e){return!n.match(e)}))||(t[n]=e[n]),t}),{})}const ee={extractScalePropsFromProps:K,getAttributeScale:B,getAttributeFunctor:V,getAttr0Functor:H,getAttributeValue:z,getDomainByAccessor:L,getFontColorFromBackground:Q,getMissingScaleProps:Y,getOptionalScaleProps:Z,getScaleObjectFromProps:U,getScalePropTypesByAttribute:$,getXYPlotValues:X,literalScale:W}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{entries:()=>u.default,keys:()=>a.default,map:()=>o.default,nest:()=>r.default,set:()=>i.default,values:()=>s.default});var r=n(1422),i=n(1424),o=n(1423),a=n(1425),s=n(1426),u=n(1427)},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(1423);function i(){var e,t,n,i=[],c=[];function l(n,o,a,s){if(o>=i.length)return null!=e&&n.sort(e),null!=t?t(n):n;for(var u,c,f,p=-1,d=n.length,h=i[o++],m=(0,r.default)(),y=a();++p<d;)(f=m.get(u=h(c=n[p])+""))?f.push(c):m.set(u,[c]);return m.each((function(e,t){s(y,t,l(e,o,a,s))})),y}function f(e,n){if(++n>i.length)return e;var r,o=c[n-1];return null!=t&&n>=i.length?r=e.entries():(r=[],e.each((function(e,t){r.push({key:t,values:f(e,n)})}))),null!=o?r.sort((function(e,t){return o(e.key,t.key)})):r}return n={object:function(e){return l(e,0,o,a)},map:function(e){return l(e,0,s,u)},entries:function(e){return f(l(e,0,s,u),0)},key:function(e){return i.push(e),n},sortKeys:function(e){return c[i.length-1]=e,n},sortValues:function(t){return e=t,n},rollup:function(e){return t=e,n}}}function o(){return{}}function a(e,t,n){e[t]=n}function s(){return(0,r.default)()}function u(e,t,n){e.set(t,n)}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a,prefix:()=>r});var r="$";function i(){}function o(e,t){var n=new i;if(e instanceof i)e.each((function(e,t){n.set(t,e)}));else if(Array.isArray(e)){var r,o=-1,a=e.length;if(null==t)for(;++o<a;)n.set(o,e[o]);else for(;++o<a;)n.set(t(r=e[o],o,e),r)}else if(e)for(var s in e)n.set(s,e[s]);return n}i.prototype=o.prototype={constructor:i,has:function(e){return r+e in this},get:function(e){return this[r+e]},set:function(e,t){return this[r+e]=t,this},remove:function(e){var t=r+e;return t in this&&delete this[t]},clear:function(){for(var e in this)e[0]===r&&delete this[e]},keys:function(){var e=[];for(var t in this)t[0]===r&&e.push(t.slice(1));return e},values:function(){var e=[];for(var t in this)t[0]===r&&e.push(this[t]);return e},entries:function(){var e=[];for(var t in this)t[0]===r&&e.push({key:t.slice(1),value:this[t]});return e},size:function(){var e=0;for(var t in this)t[0]===r&&++e;return e},empty:function(){for(var e in this)if(e[0]===r)return!1;return!0},each:function(e){for(var t in this)t[0]===r&&e(this[t],t.slice(1),this)}};const a=o},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(1423);function i(){}var o=r.default.prototype;function a(e,t){var n=new i;if(e instanceof i)e.each((function(e){n.add(e)}));else if(e){var r=-1,o=e.length;if(null==t)for(;++r<o;)n.add(e[r]);else for(;++r<o;)n.add(t(e[r],r,e))}return n}i.prototype=a.prototype={constructor:i,has:o.has,add:function(e){return e+="",this[r.prefix+e]=e,this},remove:o.remove,clear:o.clear,values:o.keys,size:o.size,empty:o.empty,each:o.each};const s=a},(e,t,n)=>{"use strict";function r(e){var t=[];for(var n in e)t.push(n);return t}n.r(t),n.d(t,{default:()=>r})},(e,t,n)=>{"use strict";function r(e){var t=[];for(var n in e)t.push(e[n]);return t}n.r(t),n.d(t,{default:()=>r})},(e,t,n)=>{"use strict";function r(e){var t=[];for(var n in e)t.push({key:n,value:e[n]});return t}n.r(t),n.d(t,{default:()=>r})},(e,t,n)=>{"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n.r(t),n.d(t,{getDOMNode:()=>p,isReactDOMSupported:()=>f,warnOnce:()=>y,warning:()=>m});var i,o,a=n(242).default.version.split("."),s=(o=2,function(e){if(Array.isArray(e))return e}(i=a)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}}(i,o)||function(e,t){if(e){if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}
51(i,o)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),u=s[0],c=s[1],l=Number(c)>13||Number(u)>13,f=function(){return l},p=function(e){return f()?e:e&&e.getDOMNode()},d={},h={test:!0,production:!0};function m(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];n.g.process&&h.production||t&&d[e]||(console.warn(e),d[e]=!0)}function y(e){m(e,!0)}},(e,t,n)=>{"use strict";function r(e,t){var n=new Set(e.map(t));return Array.from(n)}function i(e,t){var n=[].concat(e);return n[0]>t&&(n[0]=t),n[n.length-1]<t&&(n[n.length-1]=t),n}function o(e){return"[object Date]"===Object.prototype.toString.call(e)?e.toDateString():e}n.r(t),n.d(t,{addValueToArray:()=>i,getUniquePropertyValues:()=>r,transformValueToString:()=>o})},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>u,linearish:()=>s});var r=n(1431),i=n(1448),o=n(1457),a=n(1432);function s(e){var t=e.domain;return e.ticks=function(e){var n=t();return(0,r.default)(n[0],n[n.length-1],null==e?10:e)},e.tickFormat=function(e,n){var r=t();return(0,a.default)(r[0],r[r.length-1],null==e?10:e,n)},e.nice=function(n){null==n&&(n=10);var i,o,a=t(),s=0,u=a.length-1,c=a[s],l=a[u],f=10;for(l<c&&(o=c,c=l,l=o,o=s,s=u,u=o);f-- >0;){if((o=(0,r.tickIncrement)(c,l,n))===i)return a[s]=c,a[u]=l,t(a);if(o>0)c=Math.floor(c/o)*o,l=Math.ceil(l/o)*o;else{if(!(o<0))break;c=Math.ceil(c*o)/o,l=Math.floor(l*o)/o}i=o}return e},e}function u(){var e=(0,i.default)();return e.copy=function(){return(0,i.copy)(e,u())},o.initRange.apply(e,arguments),s(e)}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s,tickIncrement:()=>u,tickStep:()=>c});const r=Math.sqrt(50),i=Math.sqrt(10),o=Math.sqrt(2);function a(e,t,n){const s=(t-e)/Math.max(0,n),u=Math.floor(Math.log10(s)),c=s/Math.pow(10,u),l=c>=r?10:c>=i?5:c>=o?2:1;let f,p,d;return u<0?(d=Math.pow(10,-u)/l,f=Math.round(e*d),p=Math.round(t*d),f/d<e&&++f,p/d>t&&--p,d=-d):(d=Math.pow(10,u)*l,f=Math.round(e/d),p=Math.round(t/d),f*d<e&&++f,p*d>t&&--p),p<f&&.5<=n&&n<2?a(e,t,2*n):[f,p,d]}function s(e,t,n){if(!((n=+n)>0))return[];if((e=+e)===(t=+t))return[e];const r=t<e,[i,o,s]=r?a(t,e,n):a(e,t,n);if(!(o>=i))return[];const u=o-i+1,c=new Array(u);if(r)if(s<0)for(let e=0;e<u;++e)c[e]=(o-e)/-s;else for(let e=0;e<u;++e)c[e]=(o-e)*s;else if(s<0)for(let e=0;e<u;++e)c[e]=(i+e)/-s;else for(let e=0;e<u;++e)c[e]=(i+e)*s;return c}function u(e,t,n){return a(e=+e,t=+t,n=+n)[2]}function c(e,t,n){n=+n;const r=(t=+t)<(e=+e),i=r?u(t,e,n):u(e,t,n);return(r?-1:1)*(i<0?1/-i:i)}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>c});var r=n(1431),i=n(1433),o=n(1434),a=n(1437),s=n(1446),u=n(1447);function c(e,t,n,c){var l,f=(0,r.tickStep)(e,t,n);switch((c=(0,i.default)(null==c?",f":c)).type){case"s":var p=Math.max(Math.abs(e),Math.abs(t));return null!=c.precision||isNaN(l=(0,o.default)(f,p))||(c.precision=l),(0,a.formatPrefix)(c,p);case"":case"e":case"g":case"p":case"r":null!=c.precision||isNaN(l=(0,s.default)(f,Math.max(Math.abs(e),Math.abs(t))))||(c.precision=l-("e"===c.type));break;case"f":case"%":null!=c.precision||isNaN(l=(0,u.default)(f))||(c.precision=l-2*("%"===c.type))}return(0,a.format)(c)}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{FormatSpecifier:()=>o,default:()=>i});var r=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function i(e){if(!(t=r.exec(e)))throw new Error("invalid format: "+e);var t;return new o({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 o(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+""}i.prototype=o.prototype,o.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?""
51:Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(1435);function i(e,t){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor((0,r.default)(t)/3)))-(0,r.default)(Math.abs(e)))}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(1436);function i(e){return(e=(0,r.formatDecimalParts)(Math.abs(e)))?e[1]:NaN}},(e,t,n)=>{"use strict";function r(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)}function i(e,t){if((n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var n,r=e.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+e.slice(n+1)]}n.r(t),n.d(t,{default:()=>r,formatDecimalParts:()=>i})},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s,format:()=>i,formatPrefix:()=>o});var r,i,o,a=n(1438);function s(e){return r=(0,a.default)(e),i=r.format,o=r.formatPrefix,r}s({thousands:",",grouping:[3],currency:["$",""]})},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>d});var r=n(1435),i=n(1440),o=n(1441),a=n(1433),s=n(1445),u=n(1442),c=n(1444),l=n(1439),f=Array.prototype.map,p=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function d(e){var t=void 0===e.grouping||void 0===e.thousands?l.default:(0,i.default)(f.call(e.grouping,Number),e.thousands+""),n=void 0===e.currency?"":e.currency[0]+"",d=void 0===e.currency?"":e.currency[1]+"",h=void 0===e.decimal?".":e.decimal+"",m=void 0===e.numerals?l.default:(0,o.default)(f.call(e.numerals,String)),y=void 0===e.percent?"%":e.percent+"",g=void 0===e.minus?"−":e.minus+"",v=void 0===e.nan?"NaN":e.nan+"";function b(e){var r=(e=(0,a.default)(e)).fill,i=e.align,o=e.sign,l=e.symbol,f=e.zero,b=e.width,_=e.comma,E=e.precision,S=e.trim,w=e.type;"n"===w?(_=!0,w="g"):u.default[w]||(void 0===E&&(E=12),S=!0,w="g"),(f||"0"===r&&"="===i)&&(f=!0,r="0",i="=");var T="$"===l?n:"#"===l&&/[boxX]/.test(w)?"0"+w.toLowerCase():"",O="$"===l?d:/[%p]/.test(w)?y:"",x=u.default[w],k=/[defgprs%]/.test(w);function R(e){var n,a,u,l=T,d=O;if("c"===w)d=x(e)+d,e="";else{var y=(e=+e)<0||1/e<0;
51if(e=isNaN(e)?v:x(Math.abs(e),E),S&&(e=(0,s.default)(e)),y&&0==+e&&"+"!==o&&(y=!1),l=(y?"("===o?o:g:"-"===o||"("===o?"":o)+l,d=("s"===w?p[8+c.prefixExponent/3]:"")+d+(y&&"("===o?")":""),k)for(n=-1,a=e.length;++n<a;)if(48>(u=e.charCodeAt(n))||u>57){d=(46===u?h+e.slice(n+1):e.slice(n))+d,e=e.slice(0,n);break}}_&&!f&&(e=t(e,1/0));var R=l.length+e.length+d.length,N=R<b?new Array(b-R+1).join(r):"";switch(_&&f&&(e=t(N+e,N.length?b-d.length:1/0),N=""),i){case"<":e=l+e+d+N;break;case"=":e=l+N+e+d;break;case"^":e=N.slice(0,R=N.length>>1)+l+e+d+N.slice(R);break;default:e=N+l+e+d}return m(e)}return E=void 0===E?6:/[gprs]/.test(w)?Math.max(1,Math.min(21,E)):Math.max(0,Math.min(20,E)),R.toString=function(){return e+""},R}return{format:b,formatPrefix:function(e,t){var n=b(((e=(0,a.default)(e)).type="f",e)),i=3*Math.max(-8,Math.min(8,Math.floor((0,r.default)(t)/3))),o=Math.pow(10,-i),s=p[8+i/3];return function(e){return n(o*e)+s}}}}},(e,t,n)=>{"use strict";function r(e){return e}n.r(t),n.d(t,{default:()=>r})},(e,t,n)=>{"use strict";function r(e,t){return function(n,r){for(var i=n.length,o=[],a=0,s=e[0],u=0;i>0&&s>0&&(u+s+1>r&&(s=Math.max(1,r-u)),o.push(n.substring(i-=s,i+s)),!((u+=s+1)>r));)s=e[a=(a+1)%e.length];return o.reverse().join(t)}}n.r(t),n.d(t,{default:()=>r})},(e,t,n)=>{"use strict";function r(e){return function(t){return t.replace(/[0-9]/g,(function(t){return e[+t]}))}}n.r(t),n.d(t,{default:()=>r})},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(1436),i=n(1444),o=n(1443);const a={"%":(e,t)=>(100*e).toFixed(t),b:e=>Math.round(e).toString(2),c:e=>e+"",d:r.default,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)=>(0,o.default)(100*e,t),r:o.default,s:i.default,X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(1436);function i(e,t){var n=(0,r.formatDecimalParts)(e,t);if(!n)return e+"";var i=n[0],o=n[1];return o<0?"0."+new Array(-o).join("0")+i:i.length>o+1?i.slice(0,o+1)+"."+i.slice(o+1):i+new Array(o-i.length+2).join("0")}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o,prefixExponent:()=>r});var r,i=n(1436);function o(e,t){var n=(0,i.formatDecimalParts)(e,t);if(!n)return e+"";var o=n[0],a=n[1],s=a-(r=3*Math.max(-8,Math.min(8,Math.floor(a/3))))+1,u=o.length;return s===u?o:s>u?o+new Array(s-u+1).join("0"):s>0?o.slice(0,s)+"."+o.slice(s):"0."+new Array(1-s).join("0")+(0,i.formatDecimalParts)(e,Math.max(0,t+s-1))[0]}},(e,t,n)=>{"use strict";function r(e){e:for(var t,n=e.length,r=1,i=-1;r<n;++r)switch(e[r]){case".":i=t=r;break;case"0":0===i&&(i=r),t=r;break;default:if(!+e[r])break e;i>0&&(i=0)}return i>0?e.slice(0,i)+e.slice(t+1):e}n.r(t),n.d(t,{default:()=>r})},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(1435);function i(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,(0,r.default)(t)-(0,r.default)(e))+1}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(1435);function i(e){return Math.max(0,-(0,r.default)(Math.abs(e)))}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{copy:()=>h,default:()=>y,identity:()=>l,transformer:()=>m});var r=n(1450),i=n(1406),o=n(1408),a=n(1456),s=n(1449),u=n(1455),c=[0,1];function l(e){return e}function f(e,t){return(t-=e=+e)?function(n){return(n-e)/t}:(0,s.default)(isNaN(t)?NaN:.5)}function p(e,t,n){var r=e[0],i=e[1],o=t[0],a=t[1];return i<r?(r=f(i,r),o=n(a,o)):(r=f(r,i),o=n(o,a)),function(e){return o(r(e))}}function d(e,t,n){var i=Math.min(e.length,t.length)-1,o=new Array(i),a=new Array(i),s=-1;for(e[i]<e[0]&&(e=e.slice().reverse(),t=t.slice().reverse());++s<i;)o[s]=f(e[s],e[s+1]),a[s]=n(t[s],t[s+1]);return function(t){var n=(0,r.default)(e,t,1,i)-1;return a[n](o[n](t))}}function h(e,t){return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown())}function m(){var e,t,n,r,s,f,h=c,m=c,y=i.default,g=l;function v(){var e,t,n,i=Math.min(h.length,m.length);return g!==l&&(e=h[0],t=h[i-1],e>t&&(n=e,e=t,t=n),g=function(n){return Math.max(e,Math.min(t,n))}),r=i>2?d:p,s=f=null,b}function b(t){return null==t||isNaN(t=+t)?n:(s||(s=r(h.map(e),m,y)))(e(g(t)))}return b.invert=function(n){return g(t((f||(f=r(m,h.map(e),o.default)))(n)))},b.domain=function(e){return arguments.length?(h=Array.from(e,u.default),v()):h.slice()},b.range=function(e){return arguments.length?(m=Array.from(e),v()):m.slice()},b.rangeRound=function(e){return m=Array.from(e),y=a.default,v()},b.clamp=function(e){return arguments.length?(g=!!e||l,v()):g!==l},b.interpolate=function(e){return arguments.length?(y=e,v()):y},b.unknown=function(e){return arguments.length?(n=e,b):n},function(n,r){return e=n,t=r,v()}}function y(){return m()(l,l)}},(e,t,n)=>{"use strict";function r(e){return function(){return e}}n.r(t),n.d(t,{default:()=>r})},(e,t,n)=>{"use strict";n.r(t),n.d(t,{bisectCenter:()=>c,bisectLeft:()=>u,bisectRight:()=>s,default:()=>l});var r=n(1452),i=n(1451),o=n(1454);const a=(0,i.default)(r.default),s=a.right,u=a.left,c=(0,i.default)(o.default).
vendor: 5,833 bytes, line 51
51center,l=s},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(1452),i=n(1453);function o(e){let t,n,o;function s(e,r,i=0,o=e.length){if(i<o){if(0!==t(r,r))return o;do{const t=i+o>>>1;n(e[t],r)<0?i=t+1:o=t}while(i<o)}return i}return 2!==e.length?(t=r.default,n=(t,n)=>(0,r.default)(e(t),n),o=(t,n)=>e(t)-n):(t=e===r.default||e===i.default?e:a,n=e,o=e),{left:s,center:function(e,t,n=0,r=e.length){const i=s(e,t,n,r-1);return i>n&&o(e[i-1],t)>-o(e[i],t)?i-1:i},right:function(e,r,i=0,o=e.length){if(i<o){if(0!==t(r,r))return o;do{const t=i+o>>>1;n(e[t],r)<=0?i=t+1:o=t}while(i<o)}return i}}}function a(){return 0}},(e,t,n)=>{"use strict";function r(e,t){return null==e||null==t?NaN:e<t?-1:e>t?1:e>=t?0:NaN}n.r(t),n.d(t,{default:()=>r})},(e,t,n)=>{"use strict";function r(e,t){return null==e||null==t?NaN:t<e?-1:t>e?1:t>=e?0:NaN}n.r(t),n.d(t,{default:()=>r})},(e,t,n)=>{"use strict";function r(e){return null===e?NaN:+e}function*i(e,t){if(void 0===t)for(let t of e)null!=t&&(t=+t)>=t&&(yield t);else{let n=-1;for(let r of e)null!=(r=t(r,++n,e))&&(r=+r)>=r&&(yield r)}}n.r(t),n.d(t,{default:()=>r,numbers:()=>i})},(e,t,n)=>{"use strict";function r(e){return+e}n.r(t),n.d(t,{default:()=>r})},(e,t,n)=>{"use strict";function r(e,t){return e=+e,t=+t,function(n){return Math.round(e*(1-n)+t*n)}}n.r(t),n.d(t,{default:()=>r})},(e,t,n)=>{"use strict";function r(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e)}return this}function i(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}n.r(t),n.d(t,{initInterpolator:()=>i,initRange:()=>r})},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a,point:()=>u});var r=n(1461),i=n(1457),o=n(1459);function a(){var e,t,n=(0,o.default)().unknown(void 0),s=n.domain,u=n.range,c=0,l=1,f=!1,p=0,d=0,h=.5;function m(){var n=s().length,i=l<c,o=i?l:c,a=i?c:l;e=(a-o)/Math.max(1,n-p+2*d),f&&(e=Math.floor(e)),o+=(a-o-e*(n-p))*h,t=e*(1-p),f&&(o=Math.round(o),t=Math.round(t));var m=(0,r.default)(n).map((function(t){return o+e*t}));return u(i?m.reverse():m)}return delete n.unknown,n.domain=function(e){return arguments.length?(s(e),m()):s()},n.range=function(e){return arguments.length?([c,l]=e,c=+c,l=+l,m()):[c,l]},n.rangeRound=function(e){return[c,l]=e,c=+c,l=+l,f=!0,m()},n.bandwidth=function(){return t},n.step=function(){return e},n.round=function(e){return arguments.length?(f=!!e,m()):f},n.padding=function(e){return arguments.length?(p=Math.min(1,d=+e),m()):p},n.paddingInner=function(e){return arguments.length?(p=Math.min(1,e),m()):p},n.paddingOuter=function(e){return arguments.length?(d=+e,m()):d},n.align=function(e){return arguments.length?(h=Math.max(0,Math.min(1,e)),m()):h},n.copy=function(){return a(s(),[c,l]).round(f).paddingInner(p).paddingOuter(d).align(h)},i.initRange.apply(m(),arguments)}function s(e){var t=e.copy;return e.padding=e.paddingOuter,delete e.paddingInner,delete e.paddingOuter,e.copy=function(){return s(t())},e}function u(){return s(a.apply(null,arguments).paddingInner(1))}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a,implicit:()=>o});var r=n(1460),i=n(1457);const o=Symbol("implicit");function a(){var e=new r.InternMap,t=[],n=[],s=o;function u(r){let i=e.get(r);if(void 0===i){if(s!==o)return s;e.set(r,i=t.push(r)-1)}return n[i%n.length]}return u.domain=function(n){if(!arguments.length)return t.slice();t=[],e=new r.InternMap;for(const r of n)e.has(r)||e.set(r,t.push(r)-1);return u},u.range=function(e){return arguments.length?(n=Array.from(e),u):n.slice()},u.unknown=function(e){return arguments.length?(s=e,u):s},u.copy=function(){return a(t,n).unknown(s)},i.initRange.apply(u,arguments),u}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{InternMap:()=>r,InternSet:()=>i});class r extends Map{constructor(e,t=u){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:t}}),null!=e)for(const[t,n]of e)this.set(t,n)}get(e){return super.get(o(this,e))}has(e){return super.has(o(this,e))}set(e,t){return super.set(a(this,e),t)}delete(e){return super.delete(s(this,e))}}class i extends Set{constructor(e,t=u){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(o(this,e))}add(e){return super.add(a(this,e))}delete(e){return super.delete(s(this,e))}}function o({_intern:e,_key:t},n){const r=t(n);return e.has(r)?e.get(r):n}function a({_intern:e,_key:t},n){const r=t(n);return e.has(r)?e.get(r):(e.set(r,n),n)}function s({_intern:e,_key:t},n){const r=t(n);return e.has(r)&&(n=e.get(r),e.delete(r)),n}function u(e){return null!==e&&"object"==typeof e?e.valueOf():e}},(e,t,n)=>{"use strict";function r(e,t,n){e=+e,t=+t,n=(i=arguments.length)<2?(t=e,e=0,1):i<3?1:+n;for(var r=-1,i=0|Math.max(0,Math.ceil((t-e)/n)),o=new Array(i);++r<i;)o[r]=e+r*n;return o}n.r(t),n.d(t,{default:()=>r})},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>y,loggish:()=>m});var r=n(1431),i=n(1433),o=n(1437),a=n(1463),s=n(1448),u=n(1457);function c(e){return Math.log(e)}function l(e){return Math.exp(e)}function f(e){return-Math.log(-e)}function p(e){return-Math.exp(-e)}function d(e){return isFinite(e)?+("1e"+e):e<0?0:e}function h(e){return(t,n)=>-e(-t,n)}function m(e){const t=e(c,l),n=t.domain;let s,u,m=10;function y(){return s=function(e){return e===Math.E?Math.log:10===e&&Math.log10||2===e&&Math.log2||(e=Math.log(e),t=>Math.log(t)/e)}(m),u=function(e){return 10===e?d:e===Math.E?Math.exp:t=>Math.pow(e,t)}(m),n()[0]<0?(s=h(s),u=h(u),e(f,p)):e(c,l),t}return t.base=function(e){return arguments.length?(m=+e,y()):m},t.domain=function(e){return arguments.length?(n(e),y()):n()},t.ticks=e=>{const t=n();let i=t[0],o=t[t.length-1];const a=o<i;a&&([i,o]=[o,i]);
51let c,l,f=s(i),p=s(o);const d=null==e?10:+e;let h=[];if(!(m%1)&&p-f<d){if(f=Math.floor(f),p=Math.ceil(p),i>0){for(;f<=p;++f)for(c=1;c<m;++c)if(l=f<0?c/u(-f):c*u(f),!(l<i)){if(l>o)break;h.push(l)}}else for(;f<=p;++f)for(c=m-1;c>=1;--c)if(l=f>0?c/u(-f):c*u(f),!(l<i)){if(l>o)break;h.push(l)}2*h.length<d&&(h=(0,r.default)(i,o,d))}else h=(0,r.default)(f,p,Math.min(p-f,d)).map(u);return a?h.reverse():h},t.tickFormat=(e,n)=>{if(null==e&&(e=10),null==n&&(n=10===m?"s":","),"function"!=typeof n&&(m%1||null!=(n=(0,i.default)(n)).precision||(n.trim=!0),n=(0,o.format)(n)),e===1/0)return n;const r=Math.max(1,m*e/t.ticks().length);return e=>{let t=e/u(Math.round(s(e)));return t*m<m-.5&&(t*=m),t<=r?n(e):""}},t.nice=()=>n((0,a.default)(n(),{floor:e=>u(Math.floor(s(e))),ceil:e=>u(Math.ceil(s(e)))})),t}function y(){const e=m((0,s.transformer)()).domain([1,10]);return e.copy=()=>(0,s.copy)(e,y()).base(e.base()),u.initRange.apply(e,arguments),e}},(e,t,n)=>{"use strict";function r(e,t){var n,r=0,i=(e=e.slice()).length-1,o=e[r],a=e[i];return a<o&&(n=r,r=i,i=n,n=o,o=a,a=n),e[r]=t.floor(o),e[i]=t.ceil(a),e}n.r(t),n.d(t,{default:()=>r})},(e,t,n)=>{"use strict";n.r(t),n.d(t,{calendar:()=>g,default:()=>v});var r=n(1465),i=n(1470),o=n(1471),a=n(1472),s=n(1473),u=n(1474),c=n(1475),l=n(1466),f=n(1476),p=n(1448),d=n(1457),h=n(1463);function m(e){return new Date(e)}function y(e){return e instanceof Date?+e:+new Date(+e)}function g(e,t,n,r,i,o,a,s,u,c){var l=(0,p.default)(),f=l.invert,d=l.domain,v=c(".%L"),b=c(":%S"),_=c("%I:%M"),E=c("%I %p"),S=c("%a %d"),w=c("%b %d"),T=c("%B"),O=c("%Y");function x(e){return(u(e)<e?v:s(e)<e?b:a(e)<e?_:o(e)<e?E:r(e)<e?i(e)<e?S:w:n(e)<e?T:O)(e)}return l.invert=function(e){return new Date(f(e))},l.domain=function(e){return arguments.length?d(Array.from(e,y)):d().map(m)},l.ticks=function(t){var n=d();return e(n[0],n[n.length-1],null==t?10:t)},l.tickFormat=function(e,t){return null==t?x:c(t)},l.nice=function(e){var n=d();return e&&"function"==typeof e.range||(e=t(n[0],n[n.length-1],null==e?10:e)),e?d((0,h.default)(n,e)):l},l.copy=function(){return(0,p.copy)(l,g(e,t,n,r,i,o,a,s,u,c))},l}function v(){return d.initRange.apply(g(r.timeTicks,r.timeTickInterval,i.timeYear,o.timeMonth,a.timeSunday,s.timeDay,u.timeHour,c.timeMinute,l.second,f.timeFormat).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{timeTickInterval:()=>v,timeTicks:()=>g,utcTickInterval:()=>y,utcTicks:()=>m});var r=n(1451),i=n(1431),o=n(1468),a=n(1469),s=n(1466),u=n(1475),c=n(1474),l=n(1473),f=n(1472),p=n(1471),d=n(1470);function h(e,t,n,u,c,l){const f=[[s.second,1,o.durationSecond],[s.second,5,5*o.durationSecond],[s.second,15,15*o.durationSecond],[s.second,30,30*o.durationSecond],[l,1,o.durationMinute],[l,5,5*o.durationMinute],[l,15,15*o.durationMinute],[l,30,30*o.durationMinute],[c,1,o.durationHour],[c,3,3*o.durationHour],[c,6,6*o.durationHour],[c,12,12*o.durationHour],[u,1,o.durationDay],[u,2,2*o.durationDay],[n,1,o.durationWeek],[t,1,o.durationMonth],[t,3,3*o.durationMonth],[e,1,o.durationYear]];function p(t,n,s){const u=Math.abs(n-t)/s,c=(0,r.default)((([,,e])=>e)).right(f,u);if(c===f.length)return e.every((0,i.tickStep)(t/o.durationYear,n/o.durationYear,s));if(0===c)return a.millisecond.every(Math.max((0,i.tickStep)(t,n,s),1));const[l,p]=f[u/f[c-1][2]<f[c][2]/u?c-1:c];return l.every(p)}return[function(e,t,n){const r=t<e;r&&([e,t]=[t,e]);const i=n&&"function"==typeof n.range?n:p(e,t,n),o=i?i.range(e,+t+1):[];return r?o.reverse():o},p]}const[m,y]=h(d.utcYear,p.utcMonth,f.utcSunday,l.unixDay,c.utcHour,u.utcMinute),[g,v]=h(d.timeYear,p.timeMonth,f.timeSunday,l.timeDay,c.timeHour,u.timeMinute)},(e,t,n)=>{"use strict";n.r(t),n.d(t,{second:()=>o,seconds:()=>a});var r=n(1467),i=n(1468);const o=(0,r.timeInterval)((e=>{e.setTime(e-e.getMilliseconds())}),((e,t)=>{e.setTime(+e+t*i.durationSecond)}),((e,t)=>(t-e)/i.durationSecond),(e=>e.getUTCSeconds())),a=o.range},(e,t,n)=>{"use strict";n.r(t),n.d(t,{timeInterval:()=>o});const r=new Date,i=new Date;function o(e,t,n,a){function s(t){return e(t=0===arguments.length?new Date:new Date(+t)),t}return s.floor=t=>(e(t=new Date(+t)),t),s.ceil=n=>(e(n=new Date(n-1)),t(n,1),e(n),n),s.round=e=>{const t=s(e),n=s.ceil(e);return e-t<n-e?t:n},s.offset=(e,n)=>(t(e=new Date(+e),null==n?1:Math.floor(n)),e),s.range=(n,r,i)=>{const o=[];if(n=s.ceil(n),i=null==i?1:Math.floor(i),!(n<r&&i>0))return o;let a;do{o.push(a=new Date(+n)),t(n,i),e(n)}while(a<n&&n<r);return o},s.filter=n=>o((t=>{if(t>=t)for(;e(t),!n(t);)t.setTime(t-1)}),((e,r)=>{if(e>=e)if(r<0)for(;++r<=0;)for(;t(e,-1),!n(e););else for(;--r>=0;)for(;t(e,1),!n(e););})),n&&(s.count=(t,o)=>(r.setTime(+t),i.setTime(+o),e(r),e(i),Math.floor(n(r,i))),s.every=e=>(e=Math.floor(e),isFinite(e)&&e>0?e>1?s.filter(a?t=>a(t)%e==0:t=>s.count(0,t)%e==0):s:null)),s}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{durationDay:()=>a,durationHour:()=>o,durationMinute:()=>i,durationMonth:()=>u,durationSecond:()=>r,durationWeek:()=>s,durationYear:()=>c});const r=1e3,i=60*r,o=60*i,a=24*o,s=7*a,u=30*a,c=365*a},(e,t,n)=>{"use strict";n.r(t),n.d(t,{millisecond:()=>i,milliseconds:()=>o});var r=n(1467);const i=(0,r.timeInterval)((()=>{}),((e,t)=>{e.setTime(+e+t)}),((e,t)=>t-e));i.every=e=>(e=Math.floor(e),isFinite(e)&&e>0?e>1?(0,r.timeInterval)((t=>{t.setTime(Math.floor(t/e)*e)}),((t,n)=>{t.setTime(+t+n*e)}),((t,n)=>(n-t)/e)):i:null);const o=i.range},(e,t,n)=>{"use strict";n.r(t),n.d(t,{timeYear:()=>i,timeYears:()=>o,utcYear:()=>a,utcYears:()=>s});var r=n(1467);const i=(0,r.timeInterval)((e=>{e.setMonth(0,1),e.setHours(0,0,0,0)}),((e,t)=>{e.setFullYear(e.getFullYear()+t)}),((e,t)=>t.getFullYear()-e.getFullYear()),(e=>e.getFullYear()));i.every=e=>isFinite(e=Math.floor(e))&&e>0?(0,r.timeInterval)((t=>{t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)}),((t,n)=>{t.setFullYear(t.getFullYear()+n*e)})):null;const o=i.range,a=(0,r.timeInterval)((e=>{e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)}),((e,t)=>{e.setUTCFullYear(e.getUTCFullYear()+t)}),((e,t)=>t.getUTCFullYear()-e.getUTCFullYear()),(e=>e.getUTCFullYear()));a.every=e=>isFinite(e=Math.floor(e))&&e>0?(0,r.timeInterval)((t=>{t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),((t,n)=>{t.setUTCFullYear(t.getUTCFullYear()+n*e)})):null;const s=a.range},(e,t,n)=>{"use strict";n.r(t),n.d(t,{timeMonth:()=>i,timeMonths:()=>o,utcMonth:()=>a,utcMonths:()=>s});var r=n(1467);const i=(0,r.timeInterval)((e=>{e.setDate(1),e.setHours(0,0,0,0)}),((e,t)=>{e.setMonth(e.getMonth()+t)}),((e,t)=>t.getMonth()-e.getMonth()+12*(t.getFullYear()-e.getFullYear())),(e=>e.getMonth())),o=i.range,a=(0,r.timeInterval)((e=>{e.setUTCDate(1),e.setUTCHours(0,0,0,0)}),((e,t)=>{e.setUTCMonth(e.getUTCMonth()+t)}),((e,t)=>t.getUTCMonth()-e.getUTCMonth()+12*(t.getUTCFullYear()-e.getUTCFullYear())),(e=>e.getUTCMonth())),s=a.range},(e,t,n)=>{"use strict";n.r(t),n.d(t,{timeFriday:()=>f,timeFridays:()=>v,timeMonday:()=>s,timeMondays:()=>h,timeSaturday:()=>p,timeSaturdays:()=>b,timeSunday:()=>a,timeSundays:()=>d,timeThursday:()=>l,timeThursdays:()=>g,timeTuesday:()=>u,timeTuesdays:()=>m,timeWednesday:()=>c,timeWednesdays:()=>y,utcFriday:()=>x,utcFridays:()=>C,utcMonday:()=>S,utcMondays:()=>N,utcSaturday:()=>k,utcSaturdays:()=>P,utcSunday:()=>E,utcSundays:()=>R,utcThursday:()=>O,utcThursdays:()=>D,utcTuesday:()=>w,utcTuesdays:()=>A,utcWednesday:()=>T,utcWednesdays:()=>I});var r=n(1467),i=n(1468);function o(e){return(0,r.timeInterval)((t=>{t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)}),((e,t)=>{e.setDate(e.getDate()+7*t)}),((e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*i.durationMinute)/i.durationWeek))}const a=o(0),s=o(1),u=o(2),c=o(3),l=o(4),f=o(5),p=o(6),d=a.range,h=s.range,m=u.range,y=c.range,g=l.range,v=f.range,b=p.range;function _(e){return(0,r.timeInterval)((t=>{t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)}),((e,t)=>{e.setUTCDate(e.getUTCDate()+7*t)}),((e,t)=>(t-e)/i.durationWeek))}const E=_(0),S=_(1),w=_(2),T=_(3),O=_(4),x=_(5),k=_(6),R=E.range,N=S.range,A=w.range,I=T.range,D=O.range,C=x.range,P=k.range},(e,t,n)=>{"use strict";n.r(t),n.d(t,{timeDay:()=>o,timeDays:()=>a,unixDay:()=>c,unixDays:()=>l,utcDay:()=>s,utcDays:()=>u});var r=n(1467),i=n(1468);const o=(0,r.timeInterval)((e=>e.setHours(0,0,0,0)),((e,t)=>e.setDate(e.getDate()+t)),((e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*i.durationMinute)/i.durationDay),(e=>e.getDate()-1)),a=o.range,s=(0,r.timeInterval)((e=>{e.setUTCHours(0,0,0,0)}),((e,t)=>{e.setUTCDate(e.getUTCDate()+t)}),((e,t)=>(t-e)/i.durationDay),(e=>e.getUTCDate()-1)),u=s.range,c=(0,r.timeInterval)((e=>{e.setUTCHours(0,0,0,0)}),((e,t)=>{e.setUTCDate(e.getUTCDate()+t)}),((e,t)=>(t-e)/i.durationDay),(e=>Math.floor(e/i.durationDay))),l=c.range},(e,t,n)=>{"use strict";n.r(t),n.d(t,{timeHour:()=>o,timeHours:()=>a,utcHour:()=>s,utcHours:()=>u});var r=n(1467),i=n(1468);const o=(0,r.timeInterval)((e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*i.durationSecond-e.getMinutes()*i.durationMinute)}),((e,t)=>{e.setTime(+e+t*i.durationHour)}),((e,t)=>(t-e)/i.durationHour),(e=>e.getHours())),a=o.range,s=(0,r.timeInterval)((e=>{e.setUTCMinutes(0,0,0)}),((e,t)=>{e.setTime(+e+t*i.durationHour)}),((e,t)=>(t-e)/i.durationHour),(e=>e.getUTCHours())),u=s.range},(e,t,n)=>{"use strict";n.r(t),n.d(t,{timeMinute:()=>o,timeMinutes:()=>a,utcMinute:()=>s,utcMinutes:()=>u});var r=n(1467),i=n(1468);const o=(0,r.timeInterval)((e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*i.durationSecond)}),((e,t)=>{e.setTime(+e+t*i.durationMinute)}),((e,t)=>(t-e)/i.durationMinute),(e=>e.getMinutes())),a=o.range,s=(0,r.timeInterval)((e=>{e.setUTCSeconds(0,0)}),((e,t)=>{e.setTime(+e+t*i.durationMinute)}),((e,t)=>(t-e)/i.durationMinute),(e=>e.getUTCMinutes())),u=s.range},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>c,timeFormat:()=>i,timeParse:()=>o,utcFormat:()=>a,utcParse:()=>s});var r,i,o,a,s,u=n(1477);function c(e){return r=(0,u.default)(e),i=r.format,o=r.parse,a=r.utcFormat,s=r.utcParse,r}c({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Frid
51ay","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"]})},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>c});var r=n(1472),i=n(1473),o=n(1470);function a(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 s(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 u(e,t,n){return{y:e,m:t,d:n,H:0,M:0,S:0,L:0}}function c(e){var t=e.dateTime,n=e.date,o=e.time,c=e.periods,f=e.days,p=e.shortDays,d=e.months,h=e.shortMonths,m=y(c),W=g(c),me=y(f),ke=g(f),Re=y(p),Ne=g(p),Ae=y(d),Ie=g(d),De=y(h),Ce=g(h),Pe={a:function(e){return p[e.getDay()]},A:function(e){return f[e.getDay()]},b:function(e){return h[e.getMonth()]},B:function(e){return d[e.getMonth()]},c:null,d:F,e:F,f:V,g:ee,G:ne,H:U,I:B,j:q,L:G,m:H,M:z,p:function(e){return c[+(e.getHours()>=12)]},q:function(e){return 1+~~(e.getMonth()/3)},Q:Oe,s:xe,S:$,u:K,U:Y,V:Q,w:X,W:J,x:null,X:null,y:Z,Y:te,Z:re,"%":Te},Le={a:function(e){return p[e.getUTCDay()]},A:function(e){return f[e.getUTCDay()]},b:function(e){return h[e.getUTCMonth()]},B:function(e){return d[e.getUTCMonth()]},c:null,d:ie,e:ie,f:ce,g:_e,G:Se,H:oe,I:ae,j:se,L:ue,m:le,M:fe,p:function(e){return c[+(e.getUTCHours()>=12)]},q:function(e){return 1+~~(e.getUTCMonth()/3)},Q:Oe,s:xe,S:pe,u:de,U:he,V:ye,w:ge,W:ve,x:null,X:null,y:be,Y:Ee,Z:we,"%":Te},Me={a:function(e,t,n){var r=Re.exec(t.slice(n));return r?(e.w=Ne.get(r[0].toLowerCase()),n+r[0].length):-1},A:function(e,t,n){var r=me.exec(t.slice(n));return r?(e.w=ke.get(r[0].toLowerCase()),n+r[0].length):-1},b:function(e,t,n){var r=De.exec(t.slice(n));return r?(e.m=Ce.get(r[0].toLowerCase()),n+r[0].length):-1},B:function(e,t,n){var r=Ae.exec(t.slice(n));return r?(e.m=Ie.get(r[0].toLowerCase()),n+r[0].length):-1},c:function(e,n,r){return Ue(e,t,n,r)},d:R,e:R,f:P,g:T,G:w,H:A,I:A,j:N,L:C,m:k,M:I,p:function(e,t,n){var r=m.exec(t.slice(n));return r?(e.p=W.get(r[0].toLowerCase()),n+r[0].length):-1},q:x,Q:M,s:j,S:D,u:b,U:_,V:E,w:v,W:S,x:function(e,t,r){return Ue(e,n,t,r)},X:function(e,t,n){return Ue(e,o,t,n)},y:T,Y:w,Z:O,"%":L};function je(e,t){return function(n){var r,i,o,a=[],s=-1,u=0,c=e.length;for(n instanceof Date||(n=new Date(+n));++s<c;)37===e.charCodeAt(s)&&(a.push(e.slice(u,s)),null!=(i=l[r=e.charAt(++s)])?r=e.charAt(++s):i="e"===r?" ":"0",(o=t[r])&&(r=o(n,i)),a.push(r),u=s+1);return a.push(e.slice(u,s)),a.join("")}}function Fe(e,t){return function(n){var o,c,l=u(1900,void 0,1);if(Ue(l,e,n+="",0)!=n.length)return null;if("Q"in l)return new Date(l.Q);if("s"in l)return new Date(1e3*l.s+("L"in l?l.L:0));if(t&&!("Z"in l)&&(l.Z=0),"p"in l&&(l.H=l.H%12+12*l.p),void 0===l.m&&(l.m="q"in l?l.q:0),"V"in l){if(l.V<1||l.V>53)return null;"w"in l||(l.w=1),"Z"in l?(c=(o=s(u(l.y,0,1))).getUTCDay(),o=c>4||0===c?r.utcMonday.ceil(o):(0,r.utcMonday)(o),o=i.utcDay.offset(o,7*(l.V-1)),l.y=o.getUTCFullYear(),l.m=o.getUTCMonth(),l.d=o.getUTCDate()+(l.w+6)%7):(c=(o=a(u(l.y,0,1))).getDay(),o=c>4||0===c?r.timeMonday.ceil(o):(0,r.timeMonday)(o),o=i.timeDay.offset(o,7*(l.V-1)),l.y=o.getFullYear(),l.m=o.getMonth(),l.d=o.getDate()+(l.w+6)%7)}else("W"in l||"U"in l)&&("w"in l||(l.w="u"in l?l.u%7:"W"in l?1:0),c="Z"in l?s(u(l.y,0,1)).getUTCDay():a(u(l.y,0,1)).getDay(),l.m=0,l.d="W"in l?(l.w+6)%7+7*l.W-(c+5)%7:l.w+7*l.U-(c+6)%7);return"Z"in l?(l.H+=l.Z/100|0,l.M+=l.Z%100,s(l)):a(l)}}function Ue(e,t,n,r){for(var i,o,a=0,s=t.length,u=n.length;a<s;){if(r>=u)return-1;if(37===(i=t.charCodeAt(a++))){if(i=t.charAt(a++),!(o=Me[i in l?t.charAt(a++):i])||(r=o(e,n,r))<0)return-1}else if(i!=n.charCodeAt(r++))return-1}return r}return Pe.x=je(n,Pe),Pe.X=je(o,Pe),Pe.c=je(t,Pe),Le.x=je(n,Le),Le.X=je(o,Le),Le.c=je(t,Le),{format:function(e){var t=je(e+="",Pe);return t.toString=function(){return e},t},parse:function(e){var t=Fe(e+="",!1);return t.toString=function(){return e},t},utcFormat:function(e){var t=je(e+="",Le);return t.toString=function(){return e},t},utcParse:function(e){var t=Fe(e+="",!0);return t.toString=function(){return e},t}}}var l={"-":"",_:" ",0:"0"},f=/^\s*\d+/,p=/^%/,d=/[\\^$*+?|[\]().{}]/g;function h(e,t,n){var r=e<0?"-":"",i=(r?-e:e)+"",o=i.length;return r+(o<n?new Array(n-o+1).join(t)+i:i)}function m(e){return e.replace(d,"\\$&")}function y(e){return new RegExp("^(?:"+e.map(m).join("|")+")","i")}function g(e){return new Map(e.map(((e,t)=>[e.toLowerCase(),t])))}function v(e,t,n){var r=f.exec(t.slice(n,n+1));return r?(e.w=+r[0],n+r[0].length):-1}function b(e,t,n){var r=f.exec(t.slice(n,n+1));return r?(e.u=+r[0],n+r[0].length):-1}function _(e,t,n){var r=f.exec(t.slice(n,n+2));
51return r?(e.U=+r[0],n+r[0].length):-1}function E(e,t,n){var r=f.exec(t.slice(n,n+2));return r?(e.V=+r[0],n+r[0].length):-1}function S(e,t,n){var r=f.exec(t.slice(n,n+2));return r?(e.W=+r[0],n+r[0].length):-1}function w(e,t,n){var r=f.exec(t.slice(n,n+4));return r?(e.y=+r[0],n+r[0].length):-1}function T(e,t,n){var r=f.exec(t.slice(n,n+2));return r?(e.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function O(e,t,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(n,n+6));return r?(e.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function x(e,t,n){var r=f.exec(t.slice(n,n+1));return r?(e.q=3*r[0]-3,n+r[0].length):-1}function k(e,t,n){var r=f.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function R(e,t,n){var r=f.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function N(e,t,n){var r=f.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function A(e,t,n){var r=f.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function I(e,t,n){var r=f.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function D(e,t,n){var r=f.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function C(e,t,n){var r=f.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function P(e,t,n){var r=f.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function L(e,t,n){var r=p.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function M(e,t,n){var r=f.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function j(e,t,n){var r=f.exec(t.slice(n));return r?(e.s=+r[0],n+r[0].length):-1}function F(e,t){return h(e.getDate(),t,2)}function U(e,t){return h(e.getHours(),t,2)}function B(e,t){return h(e.getHours()%12||12,t,2)}function q(e,t){return h(1+i.timeDay.count((0,o.timeYear)(e),e),t,3)}function G(e,t){return h(e.getMilliseconds(),t,3)}function V(e,t){return G(e,t)+"000"}function H(e,t){return h(e.getMonth()+1,t,2)}function z(e,t){return h(e.getMinutes(),t,2)}function $(e,t){return h(e.getSeconds(),t,2)}function K(e){var t=e.getDay();return 0===t?7:t}function Y(e,t){return h(r.timeSunday.count((0,o.timeYear)(e)-1,e),t,2)}function W(e){var t=e.getDay();return t>=4||0===t?(0,r.timeThursday)(e):r.timeThursday.ceil(e)}function Q(e,t){return e=W(e),h(r.timeThursday.count((0,o.timeYear)(e),e)+(4===(0,o.timeYear)(e).getDay()),t,2)}function X(e){return e.getDay()}function J(e,t){return h(r.timeMonday.count((0,o.timeYear)(e)-1,e),t,2)}function Z(e,t){return h(e.getFullYear()%100,t,2)}function ee(e,t){return h((e=W(e)).getFullYear()%100,t,2)}function te(e,t){return h(e.getFullYear()%1e4,t,4)}function ne(e,t){var n=e.getDay();return h((e=n>=4||0===n?(0,r.timeThursday)(e):r.timeThursday.ceil(e)).getFullYear()%1e4,t,4)}function re(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+h(t/60|0,"0",2)+h(t%60,"0",2)}function ie(e,t){return h(e.getUTCDate(),t,2)}function oe(e,t){return h(e.getUTCHours(),t,2)}function ae(e,t){return h(e.getUTCHours()%12||12,t,2)}function se(e,t){return h(1+i.utcDay.count((0,o.utcYear)(e),e),t,3)}function ue(e,t){return h(e.getUTCMilliseconds(),t,3)}function ce(e,t){return ue(e,t)+"000"}function le(e,t){return h(e.getUTCMonth()+1,t,2)}function fe(e,t){return h(e.getUTCMinutes(),t,2)}function pe(e,t){return h(e.getUTCSeconds(),t,2)}function de(e){var t=e.getUTCDay();return 0===t?7:t}function he(e,t){return h(r.utcSunday.count((0,o.utcYear)(e)-1,e),t,2)}function me(e){var t=e.getUTCDay();return t>=4||0===t?(0,r.utcThursday)(e):r.utcThursday.ceil(e)}function ye(e,t){return e=me(e),h(r.utcThursday.count((0,o.utcYear)(e),e)+(4===(0,o.utcYear)(e).getUTCDay()),t,2)}function ge(e){return e.getUTCDay()}function ve(e,t){return h(r.utcMonday.count((0,o.utcYear)(e)-1,e),t,2)}function be(e,t){return h(e.getUTCFullYear()%100,t,2)}function _e(e,t){return h((e=me(e)).getUTCFullYear()%100,t,2)}function Ee(e,t){return h(e.getUTCFullYear()%1e4,t,4)}function Se(e,t){var n=e.getUTCDay();return h((e=n>=4||0===n?(0,r.utcThursday)(e):r.utcThursday.ceil(e)).getUTCFullYear()%1e4,t,4)}function we(){return"+0000"}function Te(){return"%"}function Oe(e){return+e}function xe(e){return Math.floor(+e/1e3)}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var r=n(1465),i=n(1470),o=n(1471),a=n(1472),s=n(1473),u=n(1474),c=n(1475),l=n(1466),f=n(1476),p=n(1464),d=n(1457);function h(){return d.initRange.apply((0,p.calendar)(r.utcTicks,r.utcTickInterval,i.utcYear,o.utcMonth,a.utcSunday,s.utcDay,u.utcHour,c.utcMinute,l.second,f.utcFormat).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}},(e,t,n)=>{"use strict";function r(e,t){let n,r;if(void 0===t)for(const t of e)null!=t&&(void 0===n?t>=t&&(n=r=t):(n>t&&(n=t),r<t&&(r=t)));else{let i=-1;for(let o of e)null!=(o=t(o,++i,e))&&(void 0===n?o>=o&&(n=r=o):(n>
51o&&(n=o),r<o&&(r=o)))}return[n,r]}n.r(t),n.d(t,{default:()=>r})},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>x});var r=n(242),i=n(244),o=n.n(i),a=n(1390),s=n(1484),u=n(1481),c=n(1379),l=n(1420),f=n(1483);function p(e){return p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},p(e)}function d(){return d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},d.apply(this,arguments)}function h(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function m(e,t){return m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},m(e,t)}function y(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g(e);if(t){var i=g(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===p(t)||"function"==typeof t))return t;return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,n)}}function g(e){return g=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},g(e)}function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function b(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){_(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function _(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var E="rv-xy-plot__series rv-xy-plot__series--arc",S=["radius","angle"],w=b(b({},c.default.defaultProps),{},{center:{x:0,y:0},arcClassName:"",className:"",style:{},padAngle:0});function T(e){var t=e.radius,n=e.angle,r=e.angle0,i=-1*n+Math.PI/2,o=-1*r+Math.PI/2;return b(b({},e),{},{x:t*Math.cos(i),y:t*Math.sin(i),angle:i,angle0:o})}var O=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&m(e,t)}(c,e);var t,n,i,o=y(c);function c(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c);var n=(t=o.call(this,e))._getAllScaleProps(e);return t.state={scaleProps:n},t}return t=c,(n=[{key:"UNSAFE_componentWillReceiveProps",value:function(e){this.setState({scaleProps:this._getAllScaleProps(e)})}},{key:"_getAllScaleProps",value:function(e){var t=this._getDefaultScaleProps(e),n=(0,l.extractScalePropsFromProps)(e,S),r=(0,l.getMissingScaleProps)(b(b({},t),n),e.data,S);return b(b(b({},t),n),r)}},{key:"_getDefaultScaleProps",value:function(e){var t=e.innerWidth,n=e.innerHeight,r=Math.min(t/2,n/2);return{radiusRange:[0,r],_radiusValue:r,angleType:"literal"}}},{key:"render",value:function(){var e=this,t=this.props,n=t.arcClassName,i=t.animation,o=t.className,p=t.center,h=t.data,m=t.disableSeries,y=t.hideSeries,g=t.marginLeft,v=t.marginTop,_=t.padAngle,S=t.style;if(!h)return null;if(i){var w=h.map((function(e){return b({},e)}));return r.default.createElement("g",{className:"rv-xy-plot__series--arc__animation-wrapper"},r.default.createElement(a.default,d({},this.props,{animatedProps:u.ANIMATED_SERIES_PROPS,data:w}),r.default.createElement(c,d({},this.props,{animation:null,disableSeries:!0,data:w}))),r.default.createElement(c,d({},this.props,{animation:null,hideSeries:!0,style:{stroke:"red"}})))}var O=this.state.scaleProps,x=O.radiusDomain,k=(0,l.getAttributeFunctor)(O,"radius"),R=(0,l.getAttr0Functor)(O,"radius"),N=(0,l.getAttributeFunctor)(O,"angle"),A=(0,l.getAttr0Functor)(O,"angle"),I=this._getAttributeFunctor("fill")||this._getAttributeFunctor("color"),D=this._getAttributeFunctor("stroke")||this._getAttributeFunctor("color"),C=this._getAttributeFunctor("op
51acity"),P=this._getAttributeFunctor("x"),L=this._getAttributeFunctor("y");return r.default.createElement("g",{className:(0,f.getCombinedClassName)(E,o),onMouseOver:this._seriesMouseOverHandler,onMouseOut:this._seriesMouseOutHandler,onClick:this._seriesClickHandler,onContextMenu:this._seriesRightClickHandler,opacity:y?0:1,pointerEvents:m?"none":"all",transform:"translate(".concat(g+P(p),",").concat(v+L(p),")")},h.map((function(t,i){var o={innerRadius:x[1]===x[0]?0:R(t),outerRadius:k(t),startAngle:A(t)||0,endAngle:N(t)},a=(0,s.default)().padAngle(_),u=t.style||{},c=t.className||"";return r.default.createElement("path",{key:"path-".concat(i),style:b(b({opacity:C&&C(t),stroke:D&&D(t),fill:I&&I(t)},S),u),onClick:function(n){return e._valueClickHandler(T(t),n)},onContextMenu:function(n){return e._valueRightClickHandler(T(t),n)},onMouseOver:function(n){return e._valueMouseOverHandler(T(t),n)},onMouseOut:function(n){return e._valueMouseOutHandler(T(t),n)},className:"".concat(E,"-path ").concat(n," ").concat(c),d:a(o)})})))}}])&&h(t.prototype,n),i&&h(t,i),c}(c.default);O.propTypes=b(b(b(b({},c.default.propTypes),(0,l.getScalePropTypesByAttribute)("radius")),(0,l.getScalePropTypesByAttribute)("angle")),{},{center:o().shape({x:o().number,y:o().number}),arcClassName:o().string,padAngle:o().oneOfType([o().func,o().number])}),O.defaultProps=w,O.displayName="ArcSeries";const x=O},(e,t,n)=>{"use strict";n.r(t),n.d(t,{ANIMATED_SERIES_PROPS:()=>h,getRadialDomain:()=>d,getSeriesChildren:()=>l,getSeriesPropsFromChildren:()=>p,getStackParams:()=>m,getStackedData:()=>f,isSeriesChild:()=>c});var r=n(242),i=n(1379),o=n(1482);function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){u(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function c(e){return e.type.prototype instanceof i.default}function l(e){return r.default.Children.toArray(e).filter((function(e){return e&&c(e)}))}function f(e,t){var n=e.some((function(e){return e&&e.props.stack})),r={};return e.reduce((function(e,i){if(!i)return e.push(null),e;var o=i.type.displayName,a=i.props,c=a.data,l=a.cluster,f=void 0===l?"default":l,p=a.stack,d=function(e){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return!!e&&e.some((function(e){return e.radius&&e.angle}))}(e)?e.map((function(e){return s(s({},e),{},{x:e.radius*Math.cos(e.angle),y:e.radius*Math.sin(e.angle)})})):e}(c);if(!t||!d||!d.length||n&&!p)return e.push(d),e;var h="".concat(t,"0"),m="y"===t?"x":"y";return e.push(d.map((function(e){var n,i;r[f]||(r[f]={}),r[f][o]||(r[f][o]={});var a,c=r[f][o][e[m]];if(!c)return r[f][o][e[m]]=(u(a={},h,e[h]),u(a,t,e[t]),a),s({},e);var l=s(s({},e),{},(u(n={},h,c[t]),u(n,t,c[t]+e[t]-(e[h]||0)),n));return r[f][o][e[m]]=(u(i={},h,l[h]),u(i,t,l[t]),i),l}))),e}),[])}function p(e){var t=[],n=function(e){var t={};return e.filter(c).forEach((function(e){var n=e.type.displayName,r=e.props.cluster;t[n]||(t[n]={sameTypeTotal:0,sameTypeIndex:0,clusters:new Set}),t[n].clusters.add(r),t[n].sameTypeTotal++})),t}(e),r=0,i=o.DEFAULT_OPACITY;return e.forEach((function(e){var a;if(c(e)){var u=n[e.type.displayName],l=o.DISCRETE_COLOR_RANGE[r%o.DISCRETE_COLOR_RANGE.length];a=s(s({},u),{},{seriesIndex:r,_colorValue:l,_opacityValue:i}),u.sameTypeIndex++,r++,e.props.cluster&&(a.cluster=e.props.cluster,a.clusters=Array.from(u.clusters),a.sameTypeTotal=a.clusters.length,a.sameTypeIndex=a.clusters.indexOf(e.props.cluster))}t.push(a)})),t}function d(e){return e.reduce((function(e,t){return Math.max(t.radius,e)}),0)}var h=["xRange","xDomain","x","yRange","yDomain","y","colorRange","colorDomain","color","opacityRange","opacityDomain","opacity","strokeRange","strokeDomain","stroke","fillRange","fillDomain","fill","width","height","marginLeft","marginTop","marginRight","marginBottom","data","angleDomain","angleRange","angle","radiusDomain","radiusRange","radius","innerRadiusDomain","innerRadiusRange","innerRadius"];function m(e){var t=e._stackBy,n=e.valuePosAttr,r=e.cluster,i=e.sameTypeTotal,o=void 0===i?1:i,a=e.sameTypeIndex,s=void 0===a?0:a;return t!==n||r||(o=1,s=0),{sameTypeTotal:o,sameTypeIndex:s}}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{CONTINUOUS_COLOR_RANGE:()=>o,DEFAULT_COLOR:()=>f,DEFAULT_OPACITY:()=>c,DEFAULT_SIZE:()=>l,DEFAULT_TICK_SIZE:()=>p,DISCRETE_COLOR_RANGE:()=>r,EXTENDED_DISCRETE_COLOR_RANGE:()=>i,OPACITY_RANGE:()=>s,OPACITY_TYPE:()=>u,SIZE_RANGE:()=>a});var r=["#12939A","#79C7E3","#1A3177","#FF9833","#EF5D28"],i=["#19CDD7","#DDB27C","#88572C","#F
51F991F","#F15C17","#223F9A","#DA70BF","#125C77","#4DC19C","#776E57","#12939A","#17B8BE","#F6D18A","#B7885E","#FFCB99","#F89570","#829AE3","#E79FD5","#1E96BE","#89DAC1","#B3AD9E"],o=["#EF5D28","#FF9833"],a=[1,10],s=[.1,1],u="literal",c=1,l=5,f=r[0],p=7},(e,t,n)=>{"use strict";function r(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter((function(e){return e&&"string"==typeof e})).join(" ")}n.r(t),n.d(t,{getCombinedClassName:()=>r})},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>p});var r=n(1486),i=n(1485),o=n(1487);function a(e){return e.innerRadius}function s(e){return e.outerRadius}function u(e){return e.startAngle}function c(e){return e.endAngle}function l(e){return e&&e.padAngle}function f(e,t,n,r,o,a,s){var u=e-n,c=t-r,l=(s?a:-a)/(0,i.sqrt)(u*u+c*c),f=l*c,p=-l*u,d=e+f,h=t+p,m=n+f,y=r+p,g=(d+m)/2,v=(h+y)/2,b=m-d,_=y-h,E=b*b+_*_,S=o-a,w=d*y-m*h,T=(_<0?-1:1)*(0,i.sqrt)((0,i.max)(0,S*S*E-w*w)),O=(w*_-b*T)/E,x=(-w*b-_*T)/E,k=(w*_+b*T)/E,R=(-w*b+_*T)/E,N=O-g,A=x-v,I=k-g,D=R-v;return N*N+A*A>I*I+D*D&&(O=k,x=R),{cx:O,cy:x,x01:-f,y01:-p,x11:O*(o/S-1),y11:x*(o/S-1)}}function p(){var e=a,t=s,n=(0,r.default)(0),p=null,d=u,h=c,m=l,y=null,g=(0,o.withPath)(v);function v(){var r,o,a=+e.apply(this,arguments),s=+t.apply(this,arguments),u=d.apply(this,arguments)-i.halfPi,c=h.apply(this,arguments)-i.halfPi,l=(0,i.abs)(c-u),v=c>u;if(y||(y=r=g()),s<a&&(o=s,s=a,a=o),s>i.epsilon)if(l>i.tau-i.epsilon)y.moveTo(s*(0,i.cos)(u),s*(0,i.sin)(u)),y.arc(0,0,s,u,c,!v),a>i.epsilon&&(y.moveTo(a*(0,i.cos)(c),a*(0,i.sin)(c)),y.arc(0,0,a,c,u,v));else{var b,_,E=u,S=c,w=u,T=c,O=l,x=l,k=m.apply(this,arguments)/2,R=k>i.epsilon&&(p?+p.apply(this,arguments):(0,i.sqrt)(a*a+s*s)),N=(0,i.min)((0,i.abs)(s-a)/2,+n.apply(this,arguments)),A=N,I=N;if(R>i.epsilon){var D=(0,i.asin)(R/a*(0,i.sin)(k)),C=(0,i.asin)(R/s*(0,i.sin)(k));(O-=2*D)>i.epsilon?(w+=D*=v?1:-1,T-=D):(O=0,w=T=(u+c)/2),(x-=2*C)>i.epsilon?(E+=C*=v?1:-1,S-=C):(x=0,E=S=(u+c)/2)}var P=s*(0,i.cos)(E),L=s*(0,i.sin)(E),M=a*(0,i.cos)(T),j=a*(0,i.sin)(T);if(N>i.epsilon){var F,U=s*(0,i.cos)(S),B=s*(0,i.sin)(S),q=a*(0,i.cos)(w),G=a*(0,i.sin)(w);if(l<i.pi)if(F=function(e,t,n,r,o,a,s,u){var c=n-e,l=r-t,f=s-o,p=u-a,d=p*c-f*l;if(!(d*d<i.epsilon))return[e+(d=(f*(t-a)-p*(e-o))/d)*c,t+d*l]}(P,L,q,G,U,B,M,j)){var V=P-F[0],H=L-F[1],z=U-F[0],$=B-F[1],K=1/(0,i.sin)((0,i.acos)((V*z+H*$)/((0,i.sqrt)(V*V+H*H)*(0,i.sqrt)(z*z+$*$)))/2),Y=(0,i.sqrt)(F[0]*F[0]+F[1]*F[1]);A=(0,i.min)(N,(a-Y)/(K-1)),I=(0,i.min)(N,(s-Y)/(K+1))}else A=I=0}x>i.epsilon?I>i.epsilon?(b=f(q,G,P,L,s,I,v),_=f(U,B,M,j,s,I,v),y.moveTo(b.cx+b.x01,b.cy+b.y01),I<N?y.arc(b.cx,b.cy,I,(0,i.atan2)(b.y01,b.x01),(0,i.atan2)(_.y01,_.x01),!v):(y.arc(b.cx,b.cy,I,(0,i.atan2)(b.y01,b.x01),(0,i.atan2)(b.y11,b.x11),!v),y.arc(0,0,s,(0,i.atan2)(b.cy+b.y11,b.cx+b.x11),(0,i.atan2)(_.cy+_.y11,_.cx+_.x11),!v),y.arc(_.cx,_.cy,I,(0,i.atan2)(_.y11,_.x11),(0,i.atan2)(_.y01,_.x01),!v))):(y.moveTo(P,L),y.arc(0,0,s,E,S,!v)):y.moveTo(P,L),a>i.epsilon&&O>i.epsilon?A>i.epsilon?(b=f(M,j,U,B,a,-A,v),_=f(P,L,q,G,a,-A,v),y.lineTo(b.cx+b.x01,b.cy+b.y01),A<N?y.arc(b.cx,b.cy,A,(0,i.atan2)(b.y01,b.x01),(0,i.atan2)(_.y01,_.x01),!v):(y.arc(b.cx,b.cy,A,(0,i.atan2)(b.y01,b.x01),(0,i.atan2)(b.y11,b.x11),!v),y.arc(0,0,a,(0,i.atan2)(b.cy+b.y11,b.cx+b.x11),(0,i.atan2)(_.cy+_.y11,_.cx+_.x11),v),y.arc(_.cx,_.cy,A,(0,i.atan2)(_.y11,_.x11),(0,i.atan2)(_.y01,_.x01),!v))):y.arc(0,0,a,T,w,v):y.lineTo(M,j)}else y.moveTo(0,0);if(y.closePath(),r)return y=null,r+""||null}return v.centroid=function(){var n=(+e.apply(this,arguments)+ +t.apply(this,arguments))/2,r=(+d.apply(this,arguments)+ +h.apply(this,arguments))/2-i.pi/2;return[(0,i.cos)(r)*n,(0,i.sin)(r)*n]},v.innerRadius=function(t){return arguments.length?(e="function"==typeof t?t:(0,r.default)(+t),v):e},v.outerRadius=function(e){return arguments.length?(t="function"==typeof e?e:(0,r.default)(+e),v):t},v.cornerRadius=function(e){return arguments.length?(n="function"==typeof e?e:(0,r.default)(+e),v):n},v.padRadius=function(e){return arguments.length?(p=null==e?null:"function"==typeof e?e:(0,r.default)(+e),v):p},v.startAngle=function(e){return arguments.length?(d="function"==typeof e?e:(0,r.default)(+e),v):d},v.endAngle=function(e){return arguments.length?(h="function"==typeof e?e:(0,r.default)(+e),v):h},v.padAngle=function(e){return arguments.length?(m="function"==typeof e?e:(0,r.default)(+e),v):m},v.context=function(e){return arguments.length?(y=null==e?null:e,v):y},v}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{abs:()=>r,acos:()=>h,asin:()=>m,atan2:()=>i,cos:()=>o,epsilon:()=>l,halfPi:()=>p,max:()=>a,min:()=>s,pi:()=>f,sin:()=>u,sqrt:()=>c,tau:()=>d});const r=Math.abs,i=Math.atan2,o=Math.cos,a=Math.max,s=Math.min,u=Math.sin,c=Math.sqrt,l=1e-12,f=Math.PI,p=f/2,d=2*f;function h(e){return e>1?0:e<-1?f:Math.acos(e)}function m(e){return e>=1?p:e<=-1?-p:Math.asin(e)}},(e,t,n)=>{"use strict";function r(e){return function(){return e}}n.r(t),n.d(t,{default:()=>r})},(e,t,n)=>{"use strict";n.r(t),n.d(t,{withPath:()=>i});var r=n(1488);function i(e){let t=3;return e.digits=function(n){if(!arguments.length)return t;if(null==n)t=null;else{const e=Math.floor(n);if(!(e>=0))throw new RangeError(`invalid digits: ${n}`);t=e}return e},()=>new r.Path(t)}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{Path:()=>u,path:()=>c,pathRound:()=>l});const r=Math.PI,i=2*r,o=1e-6,a=i-o;function s(e){this._+=e[0];for(let t=1,n=e.length;t<n;++t)this._+=arguments[t]+e[t]}class u{constructor(e){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=null==e?s:function(e){let t=Math.floor(e);if(!(t>=0))throw new Error(`invalid digits: ${e}`);if(t>15)return s;const n=10**t;return function(e){this._+=e[0];for(let t=1,r=e.length;t<r;++t)this._+=Math.round(arguments[t]*n)/n+e[t]}}(e)}moveTo(e,t){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}`}closePath(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(e,t){this._append`L${this._x1=+e},${this._y1=+t}`}quadraticCurveTo(e,t,n,r){this._append`Q${+e},${+t},${this._x1=+n},${this._y1=+r}`}bezierCurveTo(e,t,n,r,i,o){this._append`C${+e},${+t},${+n},${+r},${this._x1=+i},${this._y1=+o}`}arcTo(e,t,n,i,a){if(e=+e,t=+t,n=+n,i=+i,(a=+a)<0)throw new Error(`negative radius: ${a}`);let s=this._x1,u=this._y1,c=n-e,l=i-t,f=s-e,p=u-t,d=f*f+p*p;if(null===this._x1)this._append`M${this._x1=e},${this._y1=t}`;else if(d>o)if(Math.abs(p*c-l*f)>o&&a){let h=n-s,m=i-u,y=c*c+l*l,g=h*h+m*m,v=Math.sqrt(y),b=Math.sqrt(d),_=a*Math.tan((r-Math.acos((y+d-g)/(2*v*b)))/2),E=_/b,S=_/v;Math.abs(E-1)>o&&this._append`L${e+E*f},${t+E*p}`,this._append`A${a},${a},0,0,${+(p*h>f*m)},${this._x1=e+S*c},${this._y1=t+S*l}`}else this._append`L${this._x1=e},${this._y1=t}`;else;}arc(e,t,n,s,u,c){if(e=+e,t=+t,c=!!c,(n=+n)<0)throw new Error(`negative radius: ${n}`);let l=n*Math.cos(s),f=n*Math.sin(s),p=e+l,d=t+f,h=1^c,m=c?s-u:u-s;null===this._x1?this._append`M${p},${d}`:(Math.abs(this._x1-p)>o||Math.abs(this._y1-d)>o)&&this._append`L${p},${d}`,n&&(m<0&&(m=m%i+i),m>a?this._append`A${n},${n},0,1,${h},${e-l},${t-f}A${n},${n},0,1,${h},${this._x1=p},${this._y1=d}`:m>o&&this._append`A${n},${n},0,${+(m>=r)},${h},${this._x1=e+n*Math.cos(u)},${this._y1=t+n*Math.sin(u)}`)}rect(e,t,n,r){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}h${n=+n}v${+r}h${-n}Z`}toString(){return this._}}function c(){return new u}function l(e=3){return new u(+e)}c.prototype=u.prototype},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>T});var r=n(242),i=n(244),o=n.n(i),a=n(1490),s=n(1495),u=n(1390),c=n(1482),l=n(1481),f=n(1428),p=n(1483),d=n(1379);function h(e){return h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},h(e)}function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function y(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
51t%2?m(Object(n),!0).forEach((function(t){g(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function g(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function v(){return v=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},v.apply(this,arguments)}function b(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function _(e,t){return _=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},_(e,t)}function E(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=S(e);if(t){var i=S(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===h(t)||"function"==typeof t))return t;return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,n)}}function S(e){return S=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},S(e)}var w=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_(e,t)}(d,e);var t,n,i,o=E(d);function d(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,d),o.apply(this,arguments)}return t=d,(n=[{key:"_renderArea",value:function(e,t,n,r,i,o){var u=a.default();return null!==i&&("string"==typeof i&&s[i]?u=u.curve(s[i]):"function"==typeof i&&(u=u.curve(i))),(u=(u=u.defined(o)).x(t).y0(n).y1(r))(e)}},{key:"render",value:function(){var e=this.props,t=e.animation,n=e.className,i=e.curve,o=e.data,a=e.marginLeft,s=e.marginTop,h=e.style;if(this.props.nullAccessor&&(0,f.warning)("nullAccessor has been renamed to getNull",!0),!o)return null;if(t)return r.default.createElement(u.default,v({},this.props,{animatedProps:l.ANIMATED_SERIES_PROPS}),r.default.createElement(d,v({},this.props,{animation:null})));var m=this._getAttributeFunctor("x"),g=this._getAttributeFunctor("y"),b=this._getAttr0Functor("y"),_=this._getAttributeValue("stroke")||this._getAttributeValue("color"),E=this._getAttributeValue("fill")||this._getAttributeValue("color"),S=this._getAttributeValue("opacity"),w=Number.isFinite(S)?S:c.DEFAULT_OPACITY,T=this.props.nullAccessor||this.props.getNull,O=this._renderArea(o,m,b,g,i,T);return r.default.createElement("path",{d:O,className:(0,p.getCombinedClassName)("rv-xy-plot__series rv-xy-plot__series--line",n),transform:"translate(".concat(a,",").concat(s,")"),onMouseOver:this._seriesMouseOverHandler,onMouseOut:this._seriesMouseOutHandler,onClick:this._seriesClickHandler,onContextMenu:this._seriesRightClickHandler,style:y({opacity:w,stroke:_,fill:E},h)})}}])&&b(t.prototype,n),i&&b(t,i),d}(d.default);w.displayName="AreaSeries",w.propTypes=y(y({},d.default.propTypes),{},{getNull:o().func}),w.defaultProps=y(y({},d.default.defaultProps),{},{getNull:function(){return!0}});const T=w},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>c});var r=n(1493),i=n(1486),o=n(1491),a=n(1494),s=n(1487),u=n(1492);function c(e,t,n){var c=null,l=(0,i.default)(!0),f=null,p=o.default,d=null,h=(0,s.withPath)(m);function m(i){var o,a,s,u,m,y=(i=(0,r.default)(i)).length,g=!1,v=new Array(y),b=new Array(y);for(null==f&&(d=p(m=h())),o=0;o<=y;++o){if(!(o<y&&l(u=i[o],o,i))===g)if(g=!g)a=o,d.areaStart(),d.lineStart();else{for(d.lineEnd(),d.lineStart(),s=o-1;s>=a;--s)d.point(v[s],b[s]);d.lineEnd(),d.areaEnd()}g&&(v[o]=+e(u,o,i),b[o]=+t(u,o,i),d.point(c?+c(u,o,i):v[o],n?+n(u,o,i):b[o]))}if(m)return d=null,m+""||null}function y(){return(0,a.default)().defined(l).curve(p).context(f)}return e="function"==typeof e?e:void 0===e?u.x:(0,i.default)(+e),t="function"==typeof t?t:void 0===t?(0,i.default)(0):(0,i.default)(+t),n="function"==typeof n?n:void 0===n?u.y:(0,i.default)(+n),m.x=function(t){return arguments.length?(e="function"==typeof t?t:(0,i.default)(+t),c=null,m):e},m.x0=function(t){return arguments.length?(e="function"==typeof t?t:(0,i.default)(+t),m):e},m.x1=function(e){return arguments.length?(c=null==e?null:"function"==typeof e?e:(0,i.default)(+e),m):c},m.y=function(e){return arguments.length?(t="function"==typeof e?e:(0,i.default)(+e),n=null,m):t},m.y0=function(e){return arguments.length?(t="function"==typeof e?e:(0,i.default)(+e),m):t},m.y1=function(e){return arguments.length?(n=null==e?null:"function"==typeof e?e:(0,i.default)(+e),m):n},m.lineX0=m.lineY0=function(){return y().x(e).y(t)},m.lineY1=function(){return y().x(e).y(n)},m.lineX1=function(){return y().x(c).y(t)},m.defined=function(e){return arguments.length?(l="function"==typeof e?e:(0,i.default)(!!e),m):l},m.curve=function(e){return arguments.length?(p=e,null!=f&&(d=p(f)),m):p},m.context=function(e){return arguments.length?(null==e?f=d=null:d=p(f=e),m):f},m}},(e,t,n)=>{"use strict";function r(e){this._context=e}function i(e){return new r(e)}n.r(t),n.d(t,{default:()=>i}),r.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._context.lineTo(e,t)}}}},(e,t,n)=>{"use strict";function r(e){return e[0]}function i(e){return e[1]}n.r(t),n.d(t,{x:()=>r,y:()=>i})},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i,slice:()=>r});var r=Array.prototype.slice;function i(e){return"object"==typeof e&&"length"in e?e:Array.from(e)}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>u});var r=n(1493),i=n(1486),o=n(1491),a=n(1487),s=n(1492);function u(e,t){var n=(0,i.default)(!0),u=null,c=o.default,l=null,f=(0,a.withPath)(p);function p(i){var o,a,s,p=(i=(0,r.default)(i)).length,d=!1;for(null==u&&(l=c(s=f())),o=0;o<=p;++o)!(o<p&&n(a=i[o],o,i))===d&&((d=!d)?l.lineStart():l.lineEnd()),d&&l.point(+e(a,o,i),+t(a,o,i));if(s)return l=null,s+""||null}return e="function"==typeof e?e:void 0===e?s.x:(0,i.default)(e),t="function"==typeof t?t:void 0===t?s.y:(0,i.default)(t),p.x=function(t){return arguments.length?(e="function"==typeof t?t:(0,i.default)(+t),p):e},p.y=function(e){return arguments.length?(t="function"==typeof e?e:(0,i.default)(+e),p):t},p.defined=function(e){return arguments.length?(n="function"==typeof e?e:(0,i.default)(!!e),p):n},p.curve=function(e){return arguments.length?(c=e,null!=u&&(l=c(u)),p):c},p.context=function(e){return arguments.length?(null==e?u=l=null:l=c(u=e),p):u},p}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{arc:()=>r.default,area:()=>i.default,areaRadial:()=>s.default,curveBasis:()=>k.default,curveBasisClosed:()=>O.default,curveBasisOpen:()=>x.default,curveBumpX:()=>R.bumpX,curveBumpY:()=>R.bumpY,curveBundle:()=>N.default,curveCardinal:()=>D.default,curveCardinalClosed:()=>A.default,curveCardinalOpen:()=>I.default,curveCatmullRom:()=>L.default,curveCatmullRomClosed:()=>C.default,curveCatmullRomOpen:()=>P.default,curveLinear:()=>j.default,curveLinearClosed:()=>M.default,curveMonotoneX:()=>F.monotoneX,curveMonotoneY:()=>F.monotoneY,curveNatural:()=>U.default,curveStep:()=>B.default,curveStepAfter:()=>B.stepAfter,curveStepBefore:()=>B.stepBefore,line:()=>o.default,lineRadial:()=>u.default,link:()=>l.link,linkHorizontal:()=>l.linkHorizontal,linkRadial:()=>l.linkRadial,linkVertical:()=>l.linkVertical,pie:()=>a.default,pointRadial:()=>c.default,radialArea:()=>s.default,radialLine:()=>u.default,stack:()=>q.default,stackOffsetDiverging:()=>V.default,stackOffsetExpand:()=>G.default,stackOffsetNone:()=>H.default,stackOffsetSilhouette:()=>z.default,stackOffsetWiggle:()=>$.default,stackOrderAppearance:()=>K.default,stackOrderAscending:()=>Y.default,stackOrderDescending:()=>W.default,stackOrderInsideOut:()=>Q.default,stackOrderNone:()=>X.default,stackOrderReverse:()=>
51J.default,symbol:()=>f.default,symbolAsterisk:()=>p.default,symbolCircle:()=>d.default,symbolCross:()=>h.default,symbolDiamond:()=>m.default,symbolDiamond2:()=>y.default,symbolPlus:()=>g.default,symbolSquare:()=>v.default,symbolSquare2:()=>b.default,symbolStar:()=>_.default,symbolTimes:()=>T.default,symbolTriangle:()=>E.default,symbolTriangle2:()=>S.default,symbolWye:()=>w.default,symbolX:()=>T.default,symbols:()=>f.symbolsFill,symbolsFill:()=>f.symbolsFill,symbolsStroke:()=>f.symbolsStroke});var r=n(1484),i=n(1490),o=n(1494),a=n(1496),s=n(1499),u=n(1501),c=n(1502),l=n(1503),f=n(1505),p=n(1516),d=n(1506),h=n(1507),m=n(1508),y=n(1518),g=n(1513),v=n(1509),b=n(1517),_=n(1510),E=n(1511),S=n(1515),w=n(1512),T=n(1514),O=n(1519),x=n(1522),k=n(1521),R=n(1504),N=n(1523),A=n(1524),I=n(1526),D=n(1525),C=n(1527),P=n(1529),L=n(1528),M=n(1530),j=n(1491),F=n(1531),U=n(1532),B=n(1533),q=n(1534),G=n(1537),V=n(1538),H=n(1536),z=n(1539),$=n(1540),K=n(1541),Y=n(1542),W=n(1543),Q=n(1544),X=n(1535),J=n(1545)},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>u});var r=n(1493),i=n(1486),o=n(1498),a=n(1497),s=n(1485);function u(){var e=a.default,t=o.default,n=null,u=(0,i.default)(0),c=(0,i.default)(s.tau),l=(0,i.default)(0);function f(i){var o,a,f,p,d,h=(i=(0,r.default)(i)).length,m=0,y=new Array(h),g=new Array(h),v=+u.apply(this,arguments),b=Math.min(s.tau,Math.max(-s.tau,c.apply(this,arguments)-v)),_=Math.min(Math.abs(b)/h,l.apply(this,arguments)),E=_*(b<0?-1:1);for(o=0;o<h;++o)(d=g[y[o]=o]=+e(i[o],o,i))>0&&(m+=d);for(null!=t?y.sort((function(e,n){return t(g[e],g[n])})):null!=n&&y.sort((function(e,t){return n(i[e],i[t])})),o=0,f=m?(b-h*E)/m:0;o<h;++o,v=p)a=y[o],p=v+((d=g[a])>0?d*f:0)+E,g[a]={data:i[a],index:o,value:d,startAngle:v,endAngle:p,padAngle:_};return g}return f.value=function(t){return arguments.length?(e="function"==typeof t?t:(0,i.default)(+t),f):e},f.sortValues=function(e){return arguments.length?(t=e,n=null,f):t},f.sort=function(e){return arguments.length?(n=e,t=null,f):n},f.startAngle=function(e){return arguments.length?(u="function"==typeof e?e:(0,i.default)(+e),f):u},f.endAngle=function(e){return arguments.length?(c="function"==typeof e?e:(0,i.default)(+e),f):c},f.padAngle=function(e){return arguments.length?(l="function"==typeof e?e:(0,i.default)(+e),f):l},f}},(e,t,n)=>{"use strict";function r(e){return e}n.r(t),n.d(t,{default:()=>r})},(e,t,n)=>{"use strict";function r(e,t){return t<e?-1:t>e?1:t>=e?0:NaN}n.r(t),n.d(t,{default:()=>r})},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(1500),i=n(1490),o=n(1501);function a(){var e=(0,i.default)().curve(r.curveRadialLinear),t=e.curve,n=e.lineX0,a=e.lineX1,s=e.lineY0,u=e.lineY1;return e.angle=e.x,delete e.x,e.startAngle=e.x0,delete e.x0,e.endAngle=e.x1,delete e.x1,e.radius=e.y,delete e.y,e.innerRadius=e.y0,delete e.y0,e.outerRadius=e.y1,delete e.y1,e.lineStartAngle=function(){return(0,o.lineRadial)(n())},delete e.lineX0,e.lineEndAngle=function(){return(0,o.lineRadial)(a())},delete e.lineX1,e.lineInnerRadius=function(){return(0,o.lineRadial)(s())},delete e.lineY0,e.lineOuterRadius=function(){return(0,o.lineRadial)(u())},delete e.lineY1,e.curve=function(e){return arguments.length?t((0,r.default)(e)):t()._curve},e}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{curveRadialLinear:()=>r,default:()=>o});var r=o(n(1491).default);function i(e){this._curve=e}function o(e){function t(t){return new i(e(t))}return t._curve=e,t}i.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(e,t){this._curve.point(t*Math.sin(e),t*-Math.cos(e))}}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a,lineRadial:()=>o});var r=n(1500),i=n(1494);function o(e){var t=e.curve;return e.angle=e.x,delete e.x,e.radius=e.y,delete e.y,e.curve=function(e){return arguments.length?t((0,r.default)(e)):t()._curve},e}function a(){return o((0,i.default)().curve(r.curveRadialLinear))}},(e,t,n)=>{"use strict";function r(e,t){return[(t=+t)*Math.cos(e-=Math.PI/2),t*Math.sin(e)]}n.r(t),n.d(t,{default:()=>r})},(e,t,n)=>{"use strict";n.r(t),n.d(t,{link:()=>l,linkHorizontal:()=>f,linkRadial:()=>d,linkVertical:()=>p});var r=n(1493),i=n(1486),o=n(1504),a=n(1487),s=n(1492);function u(e){return e.source}function c(e){return e.target}function l(e){let t=u,n=c,o=s.x,l=s.y,f=null,p=null,d=(0,a.withPath)(h);function h(){let i;const a=r.slice.call(arguments),s=t.apply(this,a),u=n.apply(this,a);if(null==f&&(p=e(i=d())),p.lineStart(),a[0]=s,p.point(+o.apply(this,a),+l.apply(this,a)),a[0]=u,p.point(+o.apply(this,a),+l.apply(this,a)),p.lineEnd(),i)return p=null,i+""||null}return h.source=function(e){return arguments.length?(t=e,h):t},h.target=function(e){return arguments.length?(n=e,h):n},h.x=function(e){return arguments.length?(o="function"==typeof e?e:(0,i.default)(+e),h):o},h.y=function(e){return arguments.length?(l="function"==typeof e?e:(0,i.default)(+e),h):l},h.context=function(t){return arguments.length?(null==t?f=p=null:p=e(f=t),h):f},h}function f(){return l(o.bumpX)}function p(){return l(o.bumpY)}function d(){const e=l(o.bumpRadial);return e.angle=e.x,delete e.x,e.radius=e.y,delete e.y,e}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{bumpRadial:()=>u,bumpX:()=>a,bumpY:()=>s});var r=n(1502);class i{constructor(e,t){this._context=e,this._x=t}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line}point(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._x?this._context.bezierCurveTo(this._x0=(this._x0+e)/2,this._y0,this._x0,t,e,t):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+t)/2,e,this._y0,e,t)}this._x0=e,this._y0=t}}class o{constructor(e){this._context=e}lineStart(){this._point=0}lineEnd(){}point(e,t){if(e=+e,t=+t,0===this._point)this._point=1;else{const n=(0,r.default)(this._x0,this._y0),i=(0,r.default)(this._x0,this._y0=(this._y0+t)/2),o=(0,r.default)(e,this._y0),a=(0,r.default)(e,t);this._context.moveTo(...n),this._context.bezierCurveTo(...i,...o,...a)}this._x0=e,this._y0=t}}function a(e){return new i(e,!0)}function s(e){return new i(e,!1)}function u(e){return new o(e)}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>_,symbolsFill:()=>v,symbolsStroke:()=>b});var r=n(1486),i=n(1487),o=n(1516),a=n(1506),s=n(1507),u=n(1508),c=n(1518),l=n(1513),f=n(1509),p=n(1517),d=n(1510),h=n(1511),m=n(1515),y=n(1512),g=n(1514);const v=[a.default,s.default,u.default,f.default,d.default,h.default,y.default],b=[a.default,l.default,g.default,m.default,o.default,p.default,c.default];function _(e,t){let n=null,o=(0,i.withPath)(s);function s(){let r;if(n||(n=r=o()),e.apply(this,arguments).draw(n,+t.apply(this,arguments)),r)return n=null,r+""||null}return e="function"==typeof e?e:(0,r.default)(e||a.default),t="function"==typeof t?t:(0,r.default)(void 0===t?64:+t),s.type=function(t){return arguments.length?(e="function"==typeof t?t:(0,r.default)(t),s):e},s.size=function(e){return arguments.length?(t="function"==typeof e?e:(0,r.default)(+e),s):t},s.context=function(e){return arguments.length?(n=null==e?null:e,s):n},s}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(1485);const i={draw(e,t){const n=(0,r.sqrt)(t/r.pi);e.moveTo(n,0),e.arc(0,0,n,0,r.tau)}}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(1485);const i={draw(e,t){const n=(0,r.sqrt)(t/5)/2;e.moveTo(-3*n,-n),e.lineTo(-n,-n),e.lineTo(-n,-3*n),e.lineTo(n,-3*n),e.lineTo(n,-n),e.lineTo(3*n,-n),e.lineTo(3*n,n),e.lineTo(n,n),e.lineTo(n,3*n),e.lineTo(-n,3*n),e.lineTo(-n,n),e.lineTo(-3*n,n),e.closePath()}}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(1485);const i=(0,r.sqrt)(1/3),o=2*i,a={draw(e,t){const n=(0,r.sqrt)(t/o),a=n*i;e.moveTo(0,-n),e.lineTo(a,0),e.lineTo(0,n),e.lineTo(-a,0),e.closePath()}}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(1485);const i={draw(e,t){const n=(0,r.sqrt)(t),i=-n/2;e.rect(i,i,n,n)}}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(1485);const i=(0,r.sin)(r.pi/10)/(0,r.sin)(7*r.pi/10),o=(0,r.sin)(r.tau/10)*i,a=-(0,r.cos)(r.tau/10)*i,s={draw(e,t){const n=(0,r.sqrt)(.8908130915292852*t),i=o*n,s=a*n;e.moveTo(0,-n),e.lineTo(i,s);for(let t=1;t<5;++t){const o=r.tau*t/5,a=(0,r.cos)(o),u=(0,r.sin)(o);e.lineTo(u*n,-a*n),e.lineTo(a*i-u*s,u*i+a*s)}e.closePath()}}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(1485);const i=(0,r.sqrt)(3),o={draw(e,t){const n=-(0,r.sqrt)(t/(3*i));e.moveTo(0,2*n),e.lineTo(-i*n,-n),e.lineTo(i*n,-n),e.closePath()}}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>u});var r=n(1485);const i=-.5,o=(0,r.sqrt)(3)/2,a=1/(0,r.sqrt)(12),s=3*(a/2+1),u={draw(e,t){const n=(0,r.sqrt)(t/s),u=n/2,c=n*a,l=u,f=n*a+n,p=-l,d=f;e.moveTo(u,c),e.lineTo(l,f),e.lineTo(p,d),e.lineTo(i*u-o*c,o*u+i*c),e.lineTo(i*l-o*f,o*l+i*f),e.lineTo(i*p-o*d,o*p+i*d),e.lineTo(i*u+o*c,i*c-o*u),e.lineTo(i*l+o*f,i*f-o*l),e.lineTo(i*p+o*d,i*d-o*p),e.closePath()}}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(1485);const i={draw(e,t){const n=.87559*(0,r.sqrt)(t-(0,r.min)(t/7,2));e.moveTo(-n,0),e.lineTo(n,0),e.moveTo(0,n),e.lineTo(0,-n)}}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(1485);const i={draw(e,t){const n=.6189*(0,r.sqrt)(t-(0,r.min)(t/6,1.7));e.moveTo(-n,-n),e.lineTo(n,n),e.moveTo(-n,n),e.lineTo(n,-n)}}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(1485);const i=(0,r.sqrt)(3),o={draw(e,t){const n=.6824*(0,r.sqrt)(t),o=n/2,a=n*i/2;e.moveTo(0,-n),e.lineTo(a,o),e.lineTo(-a,o),e.closePath()}}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(1485);const i=(0,r.sqrt)(3),o={draw(e,t){const n=.59436*(0,r.sqrt)(t+(0,r.min)(t/28,.75)),o=n/2,a=o*i;e.moveTo(0,n),e.lineTo(0,-n),e.moveTo(-a,-o),e.lineTo(a,o),e.moveTo(-a,o),e.lineTo(a,-o)}}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(1485);const i={draw(e,t){const n=.4431*(0,r.sqrt)(t);e.moveTo(n,n),e.lineTo(n,-n),e.lineTo(-n,-n),e.lineTo(-n,n),e.closePath()}}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(1485);const i={draw(e,t){const n=.62625*(0,r.sqrt)(t);e.moveTo(0,-n),e.lineTo(n,0),e.lineTo(0,n),e.lineTo(-n,0),e.closePath()}}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(1520),i=n(1521);function o(e){this._context=e}function a(e){return new o(e)}o.prototype={areaStart:r.default,areaEnd:r.default,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x2=e,this._y2=t;break;case 1:this._point=2,this._x3=e,this._y3=t;break;case 2:this._point=3,this._x4=e,this._y4=t,this._context.moveTo((this._x0+4*this._x1+e)/6,(this._y0+4*this._y1+t)/6);break;default:(0,i.point)(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}}},(e,t,n)=>{"use strict";function r(){}n.r(t),n.d(t,{default:()=>r})},(e,t,n)=>{"use strict";function r(e,t,n){e._context.bezierCurveTo((2*e._x0+e._x1)/3,(2*e._y0+e._y1)/3,(e._x0+2*e._x1)/3,(e._y0+2*e._y1)/3,(e._x0+4*e._x1+t)/6,(e._y0+4*e._y1+n)/6)}function i(e){this._context=e}function o(e){return new i(e)}n.r(t),n.d(t,{Basis:()=>i,default:()=>o,point:()=>r}),i.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:r(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:r(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(1521);function i(e){this._context=e}function o(e){return new i(e)}i.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+e)/6,i=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(n,i):this._context.moveTo(n,i);break;case 3:this._point=4;default:(0,r.point)(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(1521);function i(e,t){this._basis=new r.Basis(e),this._beta=t}i.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var e=this._x,t=this._y,n=e.length-1;if(n>0)for(var r,i=e[0],o=t[0],a=e[n]-i,s=t[n]-o,u=-1;++u<=n;)r=u/n,this._basis.point(this._beta*e[u]+(1-this._beta)*(i+r*a),this._beta*t[u]+(1-this._beta)*(o+r*s));this._x=this._y=null,this._basis.lineEnd()},point:function(e,t){this._x.push(+e),this._y.push(+t)}};const o=function e(t){function n(e){return 1===t?new r.Basis(e):new i(e,t)}return n.beta=function(t){return e(+t)},n}(.85)},(e,t,n)=>{"use strict";n.r(t),n.d(t,{CardinalClosed:()=>o,default:()=>a});var r=n(1520),i=n(1525);function o(e,t){this._context=e,this._k=(1-t)/6}o.prototype={areaStart:r.default,areaEnd:r.default,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:(0,i.point)(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};const a=function e(t){function n(e){return new o(e,t)}return n.tension=function(t){return e(+t)},n}(0)},(e,t,n)=>{"use strict";function r(e,t,n){e._context.bezierCurveTo(e._x1+e._k*(e._x2-e._x0),e._y1+e._k*(e._y2-e._y0),e._x2+e._k*(e._x1-t),e._y2+e._k*(e._y1-n),e._x2,e._y2)}function i(e,t){this._context=e,this._k=(1-t)/6}n.r(t),n.d(t,{Cardinal:()=>i,default:()=>o,point:()=>r}),i.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:r(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2,this._x1=e,this._y1=t;break;case 2:this._point=3;default:r(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};const o=function e(t){function n(e){return new i(e,t)}return n.tension=function(t){return e(+t)},n}(0)},(e,t,n)=>{"use strict";n.r(t),n.d(t,{CardinalOpen:()=>i,default:()=>o});var r=n(1525);function i(e,t){this._context=e,this._k=(1-t)/6}i.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x
vendor: 12,839 bytes, line 51
512=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:(0,r.point)(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};const o=function e(t){function n(e){return new i(e,t)}return n.tension=function(t){return e(+t)},n}(0)},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(1524),i=n(1520),o=n(1528);function a(e,t){this._context=e,this._alpha=t}a.prototype={areaStart:i.default,areaEnd:i.default,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:(0,o.point)(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};const s=function e(t){function n(e){return t?new a(e,t):new r.CardinalClosed(e,0)}return n.alpha=function(t){return e(+t)},n}(.5)},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s,point:()=>o});var r=n(1485),i=n(1525);function o(e,t,n){var i=e._x1,o=e._y1,a=e._x2,s=e._y2;if(e._l01_a>r.epsilon){var u=2*e._l01_2a+3*e._l01_a*e._l12_a+e._l12_2a,c=3*e._l01_a*(e._l01_a+e._l12_a);i=(i*u-e._x0*e._l12_2a+e._x2*e._l01_2a)/c,o=(o*u-e._y0*e._l12_2a+e._y2*e._l01_2a)/c}if(e._l23_a>r.epsilon){var l=2*e._l23_2a+3*e._l23_a*e._l12_a+e._l12_2a,f=3*e._l23_a*(e._l23_a+e._l12_a);a=(a*l+e._x1*e._l23_2a-t*e._l12_2a)/f,s=(s*l+e._y1*e._l23_2a-n*e._l12_2a)/f}e._context.bezierCurveTo(i,o,a,s,e._x2,e._y2)}function a(e,t){this._context=e,this._alpha=t}a.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3;default:o(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};const s=function e(t){function n(e){return t?new a(e,t):new i.Cardinal(e,0)}return n.alpha=function(t){return e(+t)},n}(.5)},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(1526),i=n(1528);function o(e,t){this._context=e,this._alpha=t}o.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:(0,i.point)(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};const a=function e(t){function n(e){return t?new o(e,t):new r.CardinalOpen(e,0)}return n.alpha=function(t){return e(+t)},n}(.5)},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(1520);function i(e){this._context=e}function o(e){return new i(e)}i.prototype={areaStart:r.default,areaEnd:r.default,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(e,t){e=+e,t=+t,this._point?this._context.lineTo(e,t):(this._point=1,this._context.moveTo(e,t))}}},(e,t,n)=>{"use strict";function r(e){return e<0?-1:1}function i(e,t,n){var i=e._x1-e._x0,o=t-e._x1,a=(e._y1-e._y0)/(i||o<0&&-0),s=(n-e._y1)/(o||i<0&&-0),u=(a*o+s*i)/(i+o);return(r(a)+r(s))*Math.min(Math.abs(a),Math.abs(s),.5*Math.abs(u))||0}function o(e,t){var n=e._x1-e._x0;return n?(3*(e._y1-e._y0)/n-t)/2:t}function a(e,t,n){var r=e._x0,i=e._y0,o=e._x1,a=e._y1,s=(o-r)/3;e._context.bezierCurveTo(r+s,i+s*t,o-s,a-s*n,o,a)}function s(e){this._context=e}function u(e){this._context=new c(e)}function c(e){this._context=e}function l(e){return new s(e)}function f(e){return new u(e)}n.r(t),n.d(t,{monotoneX:()=>l,monotoneY:()=>f}),s.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:a(this,this._t0,o(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){var n=NaN;if(t=+t,(e=+e)!==this._x1||t!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,a(this,o(this,n=i(this,e,t)),n);break;default:a(this,this._t0,n=i(this,e,t))}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=n}}},(u.prototype=Object.create(s.prototype)).point=function(e,t){s.prototype.point.call(this,t,e)},c.prototype={moveTo:function(e,t){this._context.moveTo(t,e)},closePath:function(){this._context.closePath()},lineTo:function(e,t){this._context.lineTo(t,e)},bezierCurveTo:function(e,t,n,r,i,o){this._context.bezierCurveTo(t,e,r,n,o,i)}}},(e,t,n)=>{"use strict";function r(e){this._context=e}function i(e){var t,n,r=e.length-1,i=new Array(r),o=new Array(r),a=new Array(r);for(i[0]=0,o[0]=2,a[0]=e[0]+2*e[1],t=1;t<r-1;++t)i[t]=1,o[t]=4,a[t]=4*e[t]+2*e[t+1];for(i[r-1]=2,o[r-1]=7,a[r-1]=8*e[r-1]+e[r],t=1;t<r;++t)n=i[t]/o[t-1],o[t]-=n,a[t]-=n*a[t-1];for(i[r-1]=a[r-1]/o[r-1],t=r-2;t>=0;--t)i[t]=(a[t]-i[t+1])/o[t];for(o[r-1]=(e[r]+i[r-1])/2,t=0;t<r-1;++t)o[t]=2*e[t+1]-i[t+1];return[i,o]}function o(e){return new r(e)}n.r(t),n.d(t,{default:()=>o}),r.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var e=this._x,t=this._y,n=e.length;if(n)if(this._line?this._context.lineTo(e[0],t[0]):this._context.moveTo(e[0],t[0]),2===n)this._context.lineTo(e[1],t[1]);else for(var r=i(e),o=i(t),a=0,s=1;s<n;++a,++s)this._context.bezierCurveTo(r[0][a],o[0][a],r[1][a],o[1][a],e[s],t[s]);(this._line||0!==this._line&&1===n)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(e,t){this._x.push(+e),this._y.push(+t)}}},(e,t,n)=>{"use strict";function r(e,t){this._context=e,this._t=t}function i(e){return new r(e,.5)}function o(e){return new r(e,0)}function a(e){return new r(e,1)}n.r(t),n.d(t,{default:()=>i,stepAfter:()=>a,stepBefore:()=>o}),r.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&2===this._point&&this._context.lineTo(this._x,this._y),(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var n=this._x*(1-this._t)+e*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,t)}}this._x=e,this._y=t}}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>c});var r=n(1493),i=n(1486),o=n(1536),a=n(1535);function s(e,t){return e[t]}function u(e){const t=[];return t.key=e,t}function c(){var e=(0,i.default)([]),t=a.default,n=o.default,c=s;function l(i){var o,a,s=Array.from(e.apply(this,arguments),u),l=s.length,f=-1;for(const e of i)for(o=0,++f;o<l;++o)(s[o][f]=[0,+c(e,s[o].key,f,i)]).data=e;for(o=0,a=(0,r.default)(t(s));o<l;++o)s[a[o]].index=o;return n(s,a),s}return l.keys=function(t){return arguments.length?(e="function"==typeof t?t:(0,i.default)(Array.from(t)),l):e},l.value=function(e){return arguments.length?(c="function"==typeof e?e:(0,i.default)(+e),l):c},l.order=function(e){return arguments.length?(t=null==e?a.default:"function"==typeof e?e:(0,i.default)(Array.from(e)),l):t},l.offset=function(e){return arguments.length?(n=null==e?o.default:e,l):n},l}},(e,t,n)=>{"use strict";function r(e){for(var t=e.length,n=new Array(t);--t>=0;)n[t]=t;return n}n.r(t),n.d(t,{default:()=>r})},(e,t,n)=>{"use strict";function r(e,t){if((i=e.length)>1)for(var n,r,i,o=1,a=e[t[0]],s=a.length;o<i;++o)for(r=a,a=e[t[o]],n=0;n<s;++n)a[n][1]+=a[n][0]=isNaN(r[n][1])?r[n][0]:r[n][1]}n.r(t),n.d(t,{default:()=>r})},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(1536);function i(e,t){if((i=e.length)>0){for(var n,i,o,a=0,s=e[0].length;a<s;++a){for(o=n=0;n<i;++n)o+=e[n][a][1]||0;if(o)for(n=0;n<i;++n)e[n][a][1]/=o}(0,r.default)(e,t)}}},(e,t,n)=>{"use strict";function r(e,t){if((s=e.length)>0)for(var n,r,i,o,a,s,u=0,c=e[t[0]].length;u<c;++u)for(o=a=0,n=0;n<s;++n)(i=(r=e[t[n]][u])[1]-r[0])>0?(r[0]=o,r[1]=o+=i):i<0?(r[1]=a,r[0]=a+=i):(r[0]=0,r[1]=i)}n.r(t),n.d(t,{default:()=>r})},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(1536);function i(e,t){if((n=e.length)>0){for(var n,i=0,o=e[t[0]],a=o.length;i<a;++i){for(var s=0,u=0;s<n;++s)u+=e[s][i][1]||0;o[i][1]+=o[i][0]=-u/2}(0,r.default)(e,t)}}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(1536);function i(e,t){if((o=e.length)>0&&(i=(n=e[t[0]]).length)>0){for(var n,i,o,a=0,s=1;s<i;++s){for(var u=0,c=0,l=0;u<o;++u){for(var f=e[t[u]],p=f[s][1]||0,d=(p-(f[s-1][1]||0))/2,h=0;h<u;++h){var m=e[t[h]];d+=(m[s][1]||0)-(m[s-1][1]||0)}c+=p,l+=d*p}n[s-1][1]+=n[s-1][0]=a,c&&(a-=l/c)}n[s-1][1]+=n[s-1][0]=a,(0,r.default)(e,t)}}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(1535);function i(e){var t=e.map(o);return(0,r.default)(e).sort((function(e,n){return t[e]-t[n]}))}function o(e){for(var t,n=-1,r=0,i=e.length,o=-1/0;++n<i;)(t=+e[n][1])>o&&(o=t,r=n);return r}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i,sum:()=>o});var r=n(1535);function i(e){var t=e.map(o);return(0,r.default)(e).sort((function(e,n){return t[e]-t[n]}))}function o(e){for(var t,n=0,r=-1,i=e.length;++r<i;)(t=+e[r][1])&&(n+=t);return n}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(1542);function i(e){return(0,r.default)(e).reverse()}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(1541),i=n(1542);function o(e){var t,n,o=e.length,a=e.map(i.sum),s=(0,r.default)(e),u=0,c=0,l=[],f=[];for(t=0;t<o;++t)n=s[t],u<c?(u+=a[n],l.push(n)):(c+=a[n],f.push(n));return f.reverse().concat(l)}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(1535);function i(e){return(0,r.default)(e).reverse()}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>g});var r=n(242),i=n(244),o=n.n(i),a=n(1483);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
51t%2?s(Object(n),!0).forEach((function(t){c(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var l={style:o().shape({bottom:o().object,left:o().object,right:o().object,top:o().object}),marginTop:o().number,marginBottom:o().number,marginLeft:o().number,marginRight:o().number,innerWidth:o().number,innerHeight:o().number},f="rv-xy-plot__borders-bottom",p="rv-xy-plot__borders",d="rv-xy-plot__borders-left",h="rv-xy-plot__borders-right",m="rv-xy-plot__borders-top";function y(e){var t=e.marginTop,n=e.marginBottom,i=e.marginLeft,o=e.marginRight,s=e.innerWidth,c=e.innerHeight,l=e.style,y=e.className,g=c+t+n,v=s+i+o;return r.default.createElement("g",{className:(0,a.getCombinedClassName)(p,y)},r.default.createElement("rect",{className:(0,a.getCombinedClassName)(f,"".concat(y,"-bottom")),style:u(u({},l.all),l.bottom),x:0,y:g-n,width:v,height:n}),r.default.createElement("rect",{className:(0,a.getCombinedClassName)(d,"".concat(y,"-left")),style:u(u({},l.all),l.left),x:0,y:0,width:i,height:g}),r.default.createElement("rect",{className:(0,a.getCombinedClassName)(h,"".concat(y,"-right")),style:u(u({},l.all),l.right),x:v-o,y:0,width:o,height:g}),r.default.createElement("rect",{className:(0,a.getCombinedClassName)(m,"".concat(y,"-top")),style:u(u({},l.all),l.top),x:0,y:0,width:v,height:t}))}y.displayName="Borders",y.defaultProps={className:"",style:{all:{},bottom:{},left:{},right:{},top:{}}},y.propTypes=l,y.requiresSVG=!0;const g=y},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>d});var r=n(242),i=n(244),o=n.n(i),a=n(1483);function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function c(e,t){return c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},c(e,t)}function l(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=f(e);if(t){var i=f(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===s(t)||"function"==typeof t))return t;return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,n)}}function f(e){return f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},f(e)}var p=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&c(e,t)}(s,e);var t,n,i,o=l(s);function s(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),o.apply(this,arguments)}return t=s,i=[{key:"requiresSVG",get:function(){return!0}}],(n=[{key:"render",value:function(){var e=this.props,t=e.innerHeight,n=e.innerWidth,i=e.marginBottom,o=e.marginLeft,s=e.marginRight,u=e.marginTop,c=e.className,l=e.includeMargin,f=e.style,p=e.text,d=(n+(l?o+s:0))*e.xPercent+(l?0:o),h=(t+(l?u+i:0))*e.yPercent+(l?u:0);return r.default.createElement("g",{transform:"translate(".concat(d,", ").concat(h,")"),className:(0,a.getCombinedClassName)("rv-xy-plot__axis__title",c)},r.default.createElement("text",f,p))}}])&&u(t.prototype,n),i&&u(t,i),s}(r.default.PureComponent);p.displayName="ChartLabel",p.propTypes={className:o().string,includeMargin:o().bool,style:o().object,text:o().string.isRequired,xPercent:o().number.isRequired,yPercent:o().number.isRequired},p.defaultProps={className:"",includeMargin:!0,text:"",xPercent:0,yPercent:0,style:{}};const d=p},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>_});var r=n(242),i=n(244),o=n.n(i),a=n(1420),s=n(1390),u=n(1549);function c(e){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
51t%2?l(Object(n),!0).forEach((function(t){p(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function p(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function d(){return d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},d.apply(this,arguments)}function h(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function m(e,t){return m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},m(e,t)}function y(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g(e);if(t){var i=g(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===c(t)||"function"==typeof t))return t;return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,n)}}function g(e){return g=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},g(e)}var v=["xRange","yRange","xDomain","yDomain","width","height","marginLeft","marginTop","marginRight","marginBottom","tickTotal"],b=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&m(e,t)}(c,e);var t,n,i,o=y(c);function c(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),o.apply(this,arguments)}return t=c,(n=[{key:"_getDefaultProps",value:function(){var e=this.props,t=e.innerWidth,n=e.innerHeight,r=e.marginTop;return{left:e.marginLeft,top:r,width:t,height:n,style:{},tickTotal:(0,u.getTicksTotalFromSize)(Math.min(t,n))}}},{key:"render",value:function(){var e=this.props,t=e.animation,n=e.centerX,i=e.centerY;if(t)return r.default.createElement(s.default,d({},this.props,{animatedProps:v}),r.default.createElement(c,d({},this.props,{animation:null})));var o=f(f({},this._getDefaultProps()),this.props),l=o.tickTotal,p=o.tickValues,h=o.marginLeft,m=o.marginTop,y=o.rRange,g=o.style,b=(0,a.getAttributeScale)(o,"x"),_=(0,a.getAttributeScale)(o,"y"),E=(0,u.getTickValues)(b,l,p);return r.default.createElement("g",{transform:"translate(".concat(b(n)+h,",").concat(_(i)+m,")"),className:"rv-xy-plot__circular-grid-lines"},E.reduce((function(e,t,n){var i=b(t);return y&&(i<y[0]||i>y[1])?e:e.concat([r.default.createElement("circle",d({cx:0,cy:0,r:i},{key:n,className:"rv-xy-plot__circular-grid-lines__line",style:g}))])}),[]))}}])&&h(t.prototype,n),i&&h(t,i),c}(r.PureComponent);b.displayName="CircularGridLines",b.propTypes={centerX:o().number,centerY:o().number,width:o().number,height:o().number,top:o().number,left:o().number,rRange:o().arrayOf(o().number),style:o().object,tickValues:o().arrayOf(o().number),tickTotal:o().number,animation:s.AnimationPropType,marginTop:o().number,marginBottom:o().number,marginLeft:o().number,marginRight:o().number,innerWidth:o().number,innerHeight:o().number},b.defaultProps={centerX:0,centerY:0},b.requiresSVG=!0;const _=b},(e,t,n)=>{"use strict";n.r(t),n.d(t,{DIRECTION:()=>a,ORIENTATION:()=>o,default:()=>p,generateFit:()=>c,generatePoints:()=>l,getAxisAngle:()=>f,getTickValues:()=>u,getTicksTotalFromSize:()=>s});var r=n(1461),i=n(1430),o={TOP:"top",LEFT:"left",RIGHT:"right",BOTTOM:"bottom",VERTICAL:"vertical",HORIZONTAL:"horizontal"},a={VERTICAL:"vertical",HORIZONTAL:"horizontal"};function s(e){return e<700?e>300?10:5:20}function u(e,t,n){return n||(e.ticks?e.ticks(t):e.domain())}function c(e,t){if(e.x===t.x)return{left:e.y,right:t.y,slope:0,offset:e.x};var n=(e.y-t.y)/(e.x-t.x);return{left:e.x,right:t.x,slope:n,offset:e.y-n*e.x}}function l(e){var t=e.axisStart,n=e.axisEnd,o=e.numberOfTicks,a=e.axisDomain,s=c(t,n),u=s.left,l=s.right,f=s.slope,p=s.offset,d=(l-u)/o,h=(0,i.default)().domain([u,l]).range(a),m=t.x===n.x;return{slope:m?1/0:f,points:(0,r.default)(u,l+d,d).map((function(e){return m?{y:e,x:f*e+p,text:h(e)}:{x:e,y:f*e+p,text:h(e)}})).slice(0,o+1)}}function f(e,t){return e.x===t.x?t.y>e.y?Math.PI/2:3*Math.PI/2:Math.atan((t.y-e.y)/(t.x-e.x))}const p={DIRECTION:a,ORIENTATION:o,getTicksTotalFromSize:s,getTickValues:u}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>T});var r=n(242),i=n(244),o=n.n(i),a=n(1551),s=n(1564),u=n(1430),c=n(1379),l=n(1390),f=n(1481),p=n(1483),d=n(1482);function h(e){return h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},h(e)}function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function y(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
51t%2?m(Object(n),!0).forEach((function(t){g(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function g(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function v(){return v=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},v.apply(this,arguments)}function b(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function _(e,t){return _=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},_(e,t)}function E(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=S(e);if(t){var i=S(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===h(t)||"function"==typeof t))return t;return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,n)}}function S(e){return S=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},S(e)}var w=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_(e,t)}(c,e);var t,n,i,o=E(c);function c(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),o.apply(this,arguments)}return t=c,(n=[{key:"render",value:function(){var e=this.props,t=e.animation,n=e.bandwidth,i=e.className,o=e.colorRange,h=e.data,m=e.innerHeight,g=e.innerWidth,b=e.marginLeft,_=e.marginTop,E=e.style;if(!h||!g||!m)return null;if(t)return r.default.createElement(l.default,v({},this.props,{animatedProps:f.ANIMATED_SERIES_PROPS}),r.default.createElement(c,v({},this.props,{animation:null})));var S=this._getAttributeFunctor("x"),w=this._getAttributeFunctor("y"),T=(0,a.default)().x((function(e){return S(e)})).y((function(e){return w(e)})).size([g,m]).bandwidth(n)(h),O=(0,s.default)(),x=function(e){return e.reduce((function(e,t){return{min:Math.min(e.min,t.value),max:Math.max(e.max,t.value)}}),{min:1/0,max:-1/0})}(T),k=x.min,R=x.max,N=(0,u.default)().domain([k,R]).range(o||d.CONTINUOUS_COLOR_RANGE);return r.default.createElement("g",{className:(0,p.getCombinedClassName)("rv-xy-plot__series rv-xy-plot__series--contour",i),transform:"translate(".concat(b,",").concat(_,")")},T.map((function(e,t){return r.default.createElement("path",{className:"rv-xy-plot__series--contour-line",key:"rv-xy-plot__series--contour-line-".concat(t),d:O(e),style:y({fill:N(e.value)},E)})})))}}])&&b(t.prototype,n),i&&b(t,i),c}(c.default);w.propTypes=y(y({},c.default.propTypes),{},{animation:o().bool,bandwidth:o().number,className:o().string,marginLeft:o().number,marginTop:o().number,style:o().object}),w.defaultProps=y(y({},c.default.defaultProps),{},{bandwidth:40,style:{}});const T=w},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>p});var r=n(1553),i=n(1431),o=n(1554),a=n(1562),s=n(1552),u=n(1555);function c(e){return e[0]}function l(e){return e[1]}function f(){return 1}function p(){var e=c,t=l,n=f,p=960,d=500,h=20,m=2,y=3*h,g=p+2*y>>m,v=d+2*y>>m,b=(0,s.default)(20);function _(i){var o=new Float32Array(g*v),a=Math.pow(2,-m),s=-1;for(const r of i){var u=(e(r,++s,i)+y)*a,c=(t(r,s,i)+y)*a,l=+n(r,s,i);if(l&&u>=0&&u<g&&c>=0&&c<v){var f=Math.floor(u),p=Math.floor(c),d=u-f-.5,b=c-p-.5;o[f+p*g]+=(1-d)*(1-b)*l,o[f+1+p*g]+=d*(1-b)*l,o[f+1+(p+1)*g]+=d*b*l,o[f+(p+1)*g]+=(1-d)*b*l}}return(0,r.blur2)({data:o,width:g,height:v},h*a),o}function E(e){var t=_(e),n=b(t),r=Math.pow(2,2*m);return Array.isArray(n)||(n=(0,i.default)(Number.MIN_VALUE,(0,o.default)(t)/r,n)),(0,u.default)().size([g,v]).thresholds(n.map((e=>e*r)))(t).map(((e,t)=>(e.value=+n[t],S(e))))}
51function S(e){return e.coordinates.forEach(w),e}function w(e){e.forEach(T)}function T(e){e.forEach(O)}function O(e){e[0]=e[0]*Math.pow(2,m)-y,e[1]=e[1]*Math.pow(2,m)-y}function x(){return g=p+2*(y=3*h)>>m,v=d+2*y>>m,E}return E.contours=function(e){var t=_(e),n=(0,u.default)().size([g,v]),r=Math.pow(2,2*m),i=e=>{e=+e;var i=S(n.contour(t,e*r));return i.value=e,i};return Object.defineProperty(i,"max",{get:()=>(0,o.default)(t)/r}),i},E.x=function(t){return arguments.length?(e="function"==typeof t?t:(0,s.default)(+t),E):e},E.y=function(e){return arguments.length?(t="function"==typeof e?e:(0,s.default)(+e),E):t},E.weight=function(e){return arguments.length?(n="function"==typeof e?e:(0,s.default)(+e),E):n},E.size=function(e){if(!arguments.length)return[p,d];var t=+e[0],n=+e[1];if(!(t>=0&&n>=0))throw new Error("invalid size");return p=t,d=n,x()},E.cellSize=function(e){if(!arguments.length)return 1<<m;if(!((e=+e)>=1))throw new Error("invalid cell size");return m=Math.floor(Math.log(e)/Math.LN2),x()},E.thresholds=function(e){return arguments.length?(b="function"==typeof e?e:Array.isArray(e)?(0,s.default)(a.slice.call(e)):(0,s.default)(e),E):b},E.bandwidth=function(e){if(!arguments.length)return Math.sqrt(h*(h+1));if(!((e=+e)>=0))throw new Error("invalid bandwidth");return h=(Math.sqrt(4*e*e+1)-1)/2,x()},E}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r=e=>()=>e},(e,t,n)=>{"use strict";function r(e,t){if(!((t=+t)>=0))throw new RangeError("invalid r");let n=e.length;if(!((n=Math.floor(n))>=0))throw new RangeError("invalid length");if(!n||!t)return e;const r=c(t),i=e.slice();return r(e,i,0,n,1),r(i,e,0,n,1),r(e,i,0,n,1),e}n.r(t),n.d(t,{blur:()=>r,blur2:()=>i,blurImage:()=>o});const i=a(c),o=a((function(e){const t=c(e);return(e,n,r,i,o)=>{t(e,n,(r<<=2)+0,(i<<=2)+0,o<<=2),t(e,n,r+1,i+1,o),t(e,n,r+2,i+2,o),t(e,n,r+3,i+3,o)}}));function a(e){return function(t,n,r=n){if(!((n=+n)>=0))throw new RangeError("invalid rx");if(!((r=+r)>=0))throw new RangeError("invalid ry");let{data:i,width:o,height:a}=t;if(!((o=Math.floor(o))>=0))throw new RangeError("invalid width");
vendor: 5,027 bytes, line 51
51if(!((a=Math.floor(void 0!==a?a:i.length/o))>=0))throw new RangeError("invalid height");if(!o||!a||!n&&!r)return t;const c=n&&e(n),l=r&&e(r),f=i.slice();return c&&l?(s(c,f,i,o,a),s(c,i,f,o,a),s(c,f,i,o,a),u(l,i,f,o,a),u(l,f,i,o,a),u(l,i,f,o,a)):c?(s(c,i,f,o,a),s(c,f,i,o,a),s(c,i,f,o,a)):l&&(u(l,i,f,o,a),u(l,f,i,o,a),u(l,i,f,o,a)),t}}function s(e,t,n,r,i){for(let o=0,a=r*i;o<a;)e(t,n,o,o+=r,1)}function u(e,t,n,r,i){for(let o=0,a=r*i;o<r;++o)e(t,n,o,o+a,r)}function c(e){const t=Math.floor(e);if(t===e)return function(e){const t=2*e+1;return(n,r,i,o,a)=>{if(!((o-=a)>=i))return;let s=e*r[i];const u=a*e;for(let e=i,t=i+u;e<t;e+=a)s+=r[Math.min(o,e)];for(let e=i,c=o;e<=c;e+=a)s+=r[Math.min(o,e+u)],n[e]=s/t,s-=r[Math.max(i,e-u)]}}(e);const n=e-t,r=2*e+1;return(e,i,o,a,s)=>{if(!((a-=s)>=o))return;let u=t*i[o];const c=s*t,l=c+s;for(let e=o,t=o+c;e<t;e+=s)u+=i[Math.min(a,e)];for(let t=o,f=a;t<=f;t+=s)u+=i[Math.min(a,t+c)],e[t]=(u+n*(i[Math.max(o,t-l)]+i[Math.min(a,t+l)]))/r,u-=i[Math.max(o,t-c)]}}},(e,t,n)=>{"use strict";function r(e,t){let n;if(void 0===t)for(const t of e)null!=t&&(n<t||void 0===n&&t>=t)&&(n=t);else{let r=-1;for(let i of e)null!=(i=t(i,++r,e))&&(n<i||void 0===n&&i>=i)&&(n=i)}return n}n.r(t),n.d(t,{default:()=>r})},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var r=n(1556),i=n(1479),o=n(1431),a=n(1558),s=n(1562),u=n(1559),c=n(1560),l=n(1552),f=n(1561),p=n(1563),d=[[],[[[1,1.5],[.5,1]]],[[[1.5,1],[1,1.5]]],[[[1.5,1],[.5,1]]],[[[1,.5],[1.5,1]]],[[[1,1.5],[.5,1]],[[1,.5],[1.5,1]]],[[[1,.5],[1,1.5]]],[[[1,.5],[.5,1]]],[[[.5,1],[1,.5]]],[[[1,1.5],[1,.5]]],[[[.5,1],[1,.5]],[[1.5,1],[1,1.5]]],[[[1.5,1],[1,.5]]],[[[.5,1],[1.5,1]]],[[[1,1.5],[1.5,1]]],[[[.5,1],[1,1.5]]],[]];function h(){var e=1,t=1,n=r.default,h=S;function b(e){var t=n(e);if(Array.isArray(t))t=t.slice().sort(u.default);else{const n=(0,i.default)(e,m);for(t=(0,o.default)(...(0,a.default)(n[0],n[1],t),t);t[t.length-1]>=n[1];)t.pop();for(;t[1]<n[0];)t.shift()}return t.map((t=>_(e,t)))}function _(n,r){const i=null==r?NaN:+r;if(isNaN(i))throw new Error(`invalid value: ${r}`);var o=[],a=[];return function(n,r,i){var o,a,s,u,c,l,f=new Array,p=new Array;o=a=-1,u=y(n[0],r),d[u<<1].forEach(h);for(;++o<e-1;)s=u,u=y(n[o+1],r),d[s|u<<1].forEach(h);d[u<<0].forEach(h);for(;++a<t-1;){for(o=-1,u=y(n[a*e+e],r),c=y(n[a*e],r),d[u<<1|c<<2].forEach(h);++o<e-1;)s=u,u=y(n[a*e+e+o+1],r),l=c,c=y(n[a*e+o+1],r),d[s|u<<1|c<<2|l<<3].forEach(h);d[u|c<<3].forEach(h)}o=-1,c=n[a*e]>=r,d[c<<2].forEach(h);for(;++o<e-1;)l=c,c=y(n[a*e+o+1],r),d[c<<2|l<<3].forEach(h);function h(e){var t,n,r=[e[0][0]+o,e[0][1]+a],s=[e[1][0]+o,e[1][1]+a],u=E(r),c=E(s);(t=p[u])?(n=f[c])?(delete p[t.end],delete f[n.start],t===n?(t.ring.push(s),i(t.ring)):f[t.start]=p[n.end]={start:t.start,end:n.end,ring:t.ring.concat(n.ring)}):(delete p[t.end],t.ring.push(s),p[t.end=c]=t):(t=f[c])?(n=p[u])?(delete f[t.start],delete p[n.end],t===n?(t.ring.push(s),i(t.ring)):f[n.start]=p[t.end]={start:n.start,end:t.end,ring:n.ring.concat(t.ring)}):(delete f[t.start],t.ring.unshift(r),f[t.start=u]=t):f[u]=p[c]={start:u,end:c,ring:[r,s]}}d[c<<3].forEach(h)}(n,i,(function(e){h(e,n,i),(0,c.default)(e)>0?o.push([e]):a.push(e)})),a.forEach((function(e){for(var t,n=0,r=o.length;n<r;++n)if(-1!==(0,f.default)((t=o[n])[0],e))return void t.push(e)})),{type:"MultiPolygon",value:r,coordinates:o}}function E(t){return 2*t[0]+t[1]*(e+1)*4}function S(n,r,i){n.forEach((function(n){var o=n[0],a=n[1],s=0|o,u=0|a,c=g(r[u*e+s]);o>0&&o<e&&s===o&&(n[0]=v(o,g(r[u*e+s-1]),c,i)),a>0&&a<t&&u===a&&(n[1]=v(a,g(r[(u-1)*e+s]),c,i))}))}return b.contour=_,b.size=function(n){if(!arguments.length)return[e,t];var r=Math.floor(n[0]),i=Math.floor(n[1]);if(!(r>=0&&i>=0))throw new Error("invalid size");return e=r,t=i,b},b.thresholds=function(e){return arguments.length?(n="function"==typeof e?e:Array.isArray(e)?(0,l.default)(s.slice.call(e)):(0,l.default)(e),b):n},b.smooth=function(e){return arguments.length?(h=e?S:p.default,b):h===S},b}function m(e){return isFinite(e)?e:NaN}function y(e,t){return null!=e&&+e>=t}function g(e){return null==e||isNaN(e=+e)?-1/0:e}function v(e,t,n,r){const i=r-t,o=n-t,a=isFinite(i)||isFinite(o)?i/o:Math.sign(i)/Math.sign(o);return isNaN(a)?e:e+a-.5}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(1557);function i(e){return Math.max(1,Math.ceil(Math.log((0,r.default)(e))/Math.LN2)+1)}},(e,t,n)=>{"use strict";function r(e,t){let n=0;if(void 0===t)for(let t of e)null!=t&&(t=+t)>=t&&++n;else{let r=-1;for(let i of e)null!=(i=t(i,++r,e))&&(i=+i)>=i&&++n}return n}n.r(t),n.d(t,{default:()=>r})},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(1431);function i(e,t,n){let i;for(;;){const o=(0,r.tickIncrement)(e,t,n);if(o===i||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),i=o}}},(e,t,n)=>{"use strict";function r(e,t){return e-t}n.r(t),n.d(t,{default:()=>r})},(e,t,n)=>{"use strict";function r(e){for(var t=0,n=e.length,r=e[n-1][1]*e[0][0]-e[n-1][0]*e[0][1];++t<n;
51)r+=e[t-1][1]*e[t][0]-e[t-1][0]*e[t][1];return r}n.r(t),n.d(t,{default:()=>r})},(e,t,n)=>{"use strict";function r(e,t){for(var n,r=-1,o=t.length;++r<o;)if(n=i(e,t[r]))return n;return 0}function i(e,t){for(var n=t[0],r=t[1],i=-1,a=0,s=e.length,u=s-1;a<s;u=a++){var c=e[a],l=c[0],f=c[1],p=e[u],d=p[0],h=p[1];if(o(c,p,t))return 0;f>r!=h>r&&n<(d-l)*(r-f)/(h-f)+l&&(i=-i)}return i}function o(e,t,n){var r,i,o,a;return function(e,t,n){return(t[0]-e[0])*(n[1]-e[1])==(n[0]-e[0])*(t[1]-e[1])}(e,t,n)&&(i=e[r=+(e[0]===t[0])],o=n[r],a=t[r],i<=o&&o<=a||a<=o&&o<=i)}n.r(t),n.d(t,{default:()=>r})},(e,t,n)=>{"use strict";n.r(t),n.d(t,{slice:()=>r});var r=Array.prototype.slice},(e,t,n)=>{"use strict";function r(){}n.r(t),n.d(t,{default:()=>r})},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>f});var r=n(1573),i=n(1565),o=n(1566),a=n(1571),s=n(1572),u=n(1575),c=n(1570),l=n(1574);function f(e,t){let n,f,p=3,d=4.5;function h(e){return e&&("function"==typeof d&&f.pointRadius(+d.apply(this,arguments)),(0,i.default)(e,n(f))),f.result()}return h.area=function(e){return(0,i.default)(e,n(o.default)),o.default.result()},h.measure=function(e){return(0,i.default)(e,n(c.default)),c.default.result()},h.bounds=function(e){return(0,i.default)(e,n(a.default)),a.default.result()},h.centroid=function(e){return(0,i.default)(e,n(s.default)),s.default.result()},h.projection=function(t){return arguments.length?(n=null==t?(e=null,r.default):(e=t).stream,h):e},h.context=function(e){return arguments.length?(f=null==e?(t=null,new l.default(p)):new u.default(t=e),"function"!=typeof d&&f.pointRadius(d),h):t},h.pointRadius=function(e){return arguments.length?(d="function"==typeof e?e:(f.pointRadius(+e),+e),h):d},h.digits=function(e){if(!arguments.length)return p;if(null==e)p=null;else{const t=Math.floor(e);if(!(t>=0))throw new RangeError(`invalid digits: ${e}`);p=t}return null===t&&(f=new l.default(p)),h},h.projection(e).digits(p).context(t)}},(e,t,n)=>{"use strict";function r(e,t){e&&o.hasOwnProperty(e.type)&&o[e.type](e,t)}n.r(t),n.d(t,{default:()=>u});var i={Feature:function(e,t){r(e.geometry,t)},FeatureCollection:function(e,t){for(var n=e.features,i=-1,o=n.length;++i<o;)r(n[i].geometry,t)}},o={Sphere:function(e,t){t.sphere()},Point:function(e,t){e=e.coordinates,t.point(e[0],e[1],e[2])},MultiPoint:function(e,t){for(var n=e.coordinates,r=-1,i=n.length;++r<i;)e=n[r],t.point(e[0],e[1],e[2])},LineString:function(e,t){a(e.coordinates,t,0)},MultiLineString:function(e,t){for(var n=e.coordinates,r=-1,i=n.length;++r<i;)a(n[r],t,0)},Polygon:function(e,t){s(e.coordinates,t)},MultiPolygon:function(e,t){for(var n=e.coordinates,r=-1,i=n.length;++r<i;)s(n[r],t)},GeometryCollection:function(e,t){for(var n=e.geometries,i=-1,o=n.length;++i<o;)r(n[i],t)}};function a(e,t,n){var r,i=-1,o=e.length-n;for(t.lineStart();++i<o;)r=e[i],t.point(r[0],r[1],r[2]);t.lineEnd()}function s(e,t){var n=-1,r=e.length;for(t.polygonStart();++n<r;)a(e[n],t,1);t.polygonEnd()}function u(e,t){e&&i.hasOwnProperty(e.type)?i[e.type](e,t):r(e,t)}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>g});var r,i,o,a,s=n(1567),u=n(1569),c=n(1568),l=new s.Adder,f=new s.Adder,p={point:c.default,lineStart:c.default,lineEnd:c.default,polygonStart:function(){p.lineStart=d,p.lineEnd=y},polygonEnd:function(){p.lineStart=p.lineEnd=p.point=c.default,l.add((0,u.abs)(f)),f=new s.Adder},result:function(){var e=l/2;return l=new s.Adder,e}};function d(){p.point=h}function h(e,t){p.point=m,r=o=e,i=a=t}function m(e,t){f.add(a*e-o*t),o=e,a=t}function y(){m(r,i)}const g=p},(e,t,n)=>{"use strict";n.r(t),n.d(t,{Adder:()=>r,fcumsum:()=>o,fsum:()=>i});class r{constructor(){this._partials=new Float64Array(32),this._n=0}add(e){const t=this._partials;let n=0;for(let r=0;r<this._n&&r<32;r++){const i=t[r],o=e+i,a=Math.abs(e)<Math.abs(i)?e-(o-i):i-(o-e);a&&(t[n++]=a),e=o}return t[n]=e,this._n=n+1,this}valueOf(){const e=this._partials;let t,n,r,i=this._n,o=0;if(i>0){for(o=e[--i];i>0&&(t=o,n=e[--i],o=t+n,r=n-(o-t),!r););i>0&&(r<0&&e[i-1]<0||r>0&&e[i-1]>0)&&(n=2*r,t=o+n,n==t-o&&(o=t))}return o}}function i(e,t){const n=new r;if(void 0===t)for(let t of e)(t=+t)&&n.add(t);else{let r=-1;for(let i of e)(i=+t(i,++r,e))&&n.add(i)}return+n}function o(e,t){const n=new r;let i=-1;return Float64Array.from(e,void 0===t?e=>n.add(+e||0):r=>n.add(+t(r,++i,e)||0))}},(e,t,n)=>{"use strict";function r(){}n.r(t),n.d(t,{default:()=>r})},(e,t,n)=>{"use strict";n.r(t),n.d(t,{abs:()=>f,acos:()=>O,asin:()=>x,atan:()=>p,atan2:()=>d,ceil:()=>m,cos:()=>h,degrees:()=>c,epsilon:()=>r,epsilon2:()=>i,exp:()=>y,floor:()=>g,halfPi:()=>a,haversin:()=>k,hypot:()=>v,log:()=>b,pi:()=>o,pow:()=>_,quarterPi:()=>s,radians:()=>l,sign:()=>S,sin:()=>E,sqrt:()=>w,tan:()=>T,tau:()=>u});var r=1e-6,i=1e-12,o=Math.PI,a=o/2,s=o/4,u=2*o,c=180/o,l=o/180,f=Math.abs,p=Math.atan,d=Math.atan2,h=Math.cos,m=Math.ceil,y=Math.exp,g=Math.floor,v=Math.hypot,b=M
vendor: 4,185 bytes, line 51
51ath.log,_=Math.pow,E=Math.sin,S=Math.sign||function(e){return e>0?1:e<0?-1:0},w=Math.sqrt,T=Math.tan;function O(e){return e>1?0:e<-1?o:Math.acos(e)}function x(e){return e>1?a:e<-1?-a:Math.asin(e)}function k(e){return(e=E(e/2))*e}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>m});var r,i,o,a,s,u=n(1567),c=n(1569),l=n(1568),f=new u.Adder,p={point:l.default,lineStart:function(){p.point=d},lineEnd:function(){r&&h(i,o),p.point=l.default},polygonStart:function(){r=!0},polygonEnd:function(){r=null},result:function(){var e=+f;return f=new u.Adder,e}};function d(e,t){p.point=h,i=a=e,o=s=t}function h(e,t){a-=e,s-=t,f.add((0,c.sqrt)(a*a+s*s)),a=e,s=t}const m=p},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>u});var r=n(1568),i=1/0,o=i,a=-i,s=a;const u={point:function(e,t){e<i&&(i=e);e>a&&(a=e);t<o&&(o=t);t>s&&(s=t)},lineStart:r.default,lineEnd:r.default,polygonStart:r.default,polygonEnd:r.default,result:function(){var e=[[i,o],[a,s]];return a=s=-(o=i=1/0),e}}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>k});var r,i,o,a,s=n(1569),u=0,c=0,l=0,f=0,p=0,d=0,h=0,m=0,y=0,g={point:v,lineStart:b,lineEnd:S,polygonStart:function(){g.lineStart=w,g.lineEnd=T},polygonEnd:function(){g.point=v,g.lineStart=b,g.lineEnd=S},result:function(){var e=y?[h/y,m/y]:d?[f/d,p/d]:l?[u/l,c/l]:[NaN,NaN];return u=c=l=f=p=d=h=m=y=0,e}};function v(e,t){u+=e,c+=t,++l}function b(){g.point=_}function _(e,t){g.point=E,v(o=e,a=t)}function E(e,t){var n=e-o,r=t-a,i=(0,s.sqrt)(n*n+r*r);f+=i*(o+e)/2,p+=i*(a+t)/2,d+=i,v(o=e,a=t)}function S(){g.point=v}function w(){g.point=O}function T(){x(r,i)}function O(e,t){g.point=x,v(r=o=e,i=a=t)}function x(e,t){var n=e-o,r=t-a,i=(0,s.sqrt)(n*n+r*r);f+=i*(o+e)/2,p+=i*(a+t)/2,d+=i,h+=(i=a*e-o*t)*(o+e),m+=i*(a+t),y+=3*i,v(o=e,a=t)}const k=g},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r=e=>e},(e,t,n)=>{"use strict";let r,i,o,a;n.r(t),n.d(t,{default:()=>s});class s{constructor(e){this._append=null==e?u:function(e){const t=Math.floor(e);if(!(t>=0))throw new RangeError(`invalid digits: ${e}`);if(t>15)return u;if(t!==r){const e=10**t;r=t,i=function(t){let n=1;this._+=t[0];for(const r=t.length;n<r;++n)this._+=Math.round(arguments[n]*e)/e+t[n]}}return i}(e),this._radius=4.5,this._=""}pointRadius(e){return this._radius=+e,this}polygonStart(){this._line=0}polygonEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){0===this._line&&(this._+="Z"),this._point=NaN}point(e,t){switch(this._point){case 0:this._append`M${e},${t}`,this._point=1;break;case 1:this._append`L${e},${t}`;break;default:if(this._append`M${e},${t}`,this._radius!==o||this._append!==i){const e=this._radius,t=this._;this._="",this._append`m0,${e}a${e},${e} 0 1,1 0,${-2*e}a${e},${e} 0 1,1 0,${2*e}z`,o=e,i=this._append,a=this._,this._=t}this._+=a}}result(){const e=this._;return this._="",e.length?e:null}}function u(e){let t=1;this._+=e[0];for(const n=e.length;t<n;++t)this._+=arguments[t]+e[t]}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(1569),i=n(1568);function o(e){this._context=e}o.prototype={_radius:4.5,pointRadius:function(e){return this._radius=e,this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._context.closePath(),this._point=NaN},point:function(e,t){switch(this._point){case 0:this._context.moveTo(e,t),this._point=1;break;case 1:this._context.lineTo(e,t);break;default:this._context.moveTo(e+this._radius,t),this._context.arc(e,t,this._radius,0,r.tau)}},result:i.default}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>E});var r=n(242),i=n(244),o=n.n(i),a=n(1429),s=n(1420),u=n(1483);function c(e){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
51t%2?l(Object(n),!0).forEach((function(t){p(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function p(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function d(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function h(e,t){return h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},h(e,t)}function m(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=y(e);if(t){var i=y(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===c(t)||"function"==typeof t))return t;return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,n)}}function y(e){return y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},y(e)}function g(e){var t=b(e);if(t)return{title:"x",value:(0,a.transformValueToString)(t.x)}}function v(e){return e.map((function(e,t){if(e)return{value:e.y,title:t}}))}function b(e){return(e||[]).find((function(e){return Boolean(e)}))}var _=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h(e,t)}(c,e);var t,n,i,a=m(c);function c(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),a.apply(this,arguments)}return t=c,i=[{key:"defaultProps",get:function(){return{titleFormat:g,itemsFormat:v,style:{line:{},title:{},box:{}}}}},{key:"propTypes",get:function(){return{className:o().string,values:o().arrayOf(o().oneOfType([o().number,o().string,o().object,o().bool])),series:o().object,innerWidth:o().number,innerHeight:o().number,marginLeft:o().number,marginTop:o().number,orientation:o().oneOf(["left","right"]),itemsFormat:o().func,titleFormat:o().func,style:o().shape({line:o().object,title:o().object,box:o().object})}}}],(n=[{key:"_renderCrosshairItems",value:function(){var e=this.props,t=e.values,n=(0,e.itemsFormat)(t);return n?n.filter((function(e){return e})).map((function(e,t){return r.default.createElement("div",{className:"rv-crosshair__item",key:"item".concat(t)},r.default.createElement("span",{className:"rv-crosshair__item__title"},e.title),": ",r.default.createElement("span",{className:"rv-crosshair__item__value"},e.value))})):null}},{key:"_renderCrosshairTitle",value:function(){var e=this.props,t=e.values,n=e.titleFormat,i=e.style,o=n(t);return o?r.default.createElement("div",{className:"rv-crosshair__title",key:"title",style:i.title},r.default.createElement("span",{className:"rv-crosshair__title__title"},o.title),": ",r.default.createElement("span",{className:"rv-crosshair__title__value"},o.value)):null}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.className,i=e.values,o=e.marginTop,a=e.marginLeft,c=e.innerWidth,l=e.innerHeight,p=e.style,d=b(i);if(!d)return null;var h=(0,s.getAttributeFunctor)(this.props,"x")(d),m=this.props.orientation,y=a+h,g=o,v="rv-crosshair__inner rv-crosshair__inner--".concat(void 0===m?h>c/2?"left":"right":m);return r.default.createElement("div",{className:(0,u.getCombinedClassName)("rv-crosshair",n),style:{left:"".concat(y,"px"),top:"".concat(g,"px")}},r.default.createElement("div",{className:"rv-crosshair__line",style:f({height:"".concat(l,"px")},p.line)}),r.default.createElement("div",{className:v},t||r.default.createElement("div",{className:"rv-crosshair__inner__content",style:p.box},r.default.createElement("div",null,this._renderCrosshairTitle(),this._renderCrosshairItems())
51)))}}])&&d(t.prototype,n),i&&d(t,i),c}(r.PureComponent);_.displayName="Crosshair";const E=_},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>T});var r=n(242),i=n(244),o=n.n(i),a=n(1379),s=n(1390),u=n(1481),c=n(1483);function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}function f(){return f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},f.apply(this,arguments)}function p(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function d(e,t){return d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},d(e,t)}function h(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=m(e);if(t){var i=m(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===l(t)||"function"==typeof t))return t;return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,n)}}function m(e){return m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},m(e)}function y(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function g(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?y(Object(n),!0).forEach((function(t){v(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):y(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function v(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function b(e){return function(e){if(Array.isArray(e))return _(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return _(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var E={stroke:"blue",fill:"blue"};function S(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:E;switch(e){case"diamond":return r.default.createElement("polygon",{style:n,points:"0 0 ".concat(t/2," ").concat(t/2," 0 ").concat(t," ").concat(-t/2," ").concat(t/2," 0 0")});case"star":var i=b(new Array(5)).map((function(e,n){var r=n/5*Math.PI*2,i=r+Math.PI/10,o=r-Math.PI/10,a=t/2.61;return"\n        ".concat(Math.cos(o)*t," ").concat(Math.sin(o)*t,"\n        ").concat(Math.cos(i)*a," ").concat(Math.sin(i)*a,"\n      ")})).join(" ");return r.default.createElement("polygon",{points:i,x:"0",y:"0",height:t,width:t,style:n});case"square":return r.default.createElement("rect",{x:"".concat(-t/2),y:"".concat(-t/2),height:t,width:t,style:n});default:return r.default.createElement("circle",{cx:"0",cy:"0",r:t/2,style:n})}}var w=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&d(e,t)}(a,e);var t,n,i,o=h(a);function a(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),o.apply(this,arguments)}return t=a,(n=[{key:"render",value:function(){var e=this,t=this.props,n=t.animation,i=t.className,o=t.customComponent,l=t.data,p=t.innerHe
51ight,d=t.innerWidth,h=t.marginLeft,m=t.marginTop,y=t.style,v=t.size;if(!l||!d||!p)return null;if(n)return r.default.createElement(s.default,f({},this.props,{animatedProps:u.ANIMATED_SERIES_PROPS}),r.default.createElement(a,f({},this.props,{animation:!1})));var b=this._getAttributeFunctor("x"),_=this._getAttributeFunctor("y"),E=l.map((function(t,n){var i={x:b(t),y:_(t)},a=function(e){var t=e.customComponent,n=e.defaultType,r=e.positionInPixels,i=e.positionFunctions,o=e.style,a=e.propsSize,s=t.size,u=g(g({},o),t.style||{}),c=t.customComponent;return c||"string"!=typeof n?c?"string"==typeof c?S(c||n,s,u):c(t,r,u,i):n(t,r,u,i):S(n,s||a,u)}({customComponent:t,positionInPixels:i,defaultType:o,positionFunctions:{x:b,y:_},style:y,propsSize:v});return r.default.createElement("g",{className:"rv-xy-plot__series--custom-svg",key:"rv-xy-plot__series--custom-svg-".concat(n),transform:"translate(".concat(i.x,",").concat(i.y,")"),onMouseEnter:function(n){return e._valueMouseOverHandler(t,n)},onMouseLeave:function(n){return e._valueMouseOutHandler(t,n)}},a)}));return r.default.createElement("g",{className:(0,c.getCombinedClassName)("rv-xy-plot__series rv-xy-plot__series--custom-svg-wrapper",i),transform:"translate(".concat(h,",").concat(m,")")},E)}}])&&p(t.prototype,n),i&&p(t,i),a}(a.default);w.propTypes={animation:o().bool,className:o().string,customComponent:o().oneOfType([o().string,o().func]),data:o().arrayOf(o().shape({x:o().oneOfType([o().string,o().number]).isRequired,y:o().oneOfType([o().string,o().number]).isRequired})).isRequired,marginLeft:o().number,marginTop:o().number,style:o().object,size:o().number,onValueMouseOver:o().func,onValueMouseOut:o().func},w.defaultProps=g(g({},a.default.defaultProps),{},{animation:!1,customComponent:"circle",style:{},size:2});const T=w},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>w});var r=n(242),i=n(1437),o=n(244),a=n.n(o),s=n(1379),u=n(1579),c=n(1390),l=n(1483);function f(e){return f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},f(e)}function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function m(){return m=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},m.apply(this,arguments)}function y(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function g(e,t){return g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},g(e,t)}function v(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=b(e);if(t){var i=b(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===f(t)||"function"==typeof t))return t;return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,n)}}function b(e){return b=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},b(e)}var _=["xRange","yRange","xDomain","yDomain","width","height","marginLeft","marginTop","marginRight","marginBottom","tickSize","t
51ickTotal","tickSizeInner","tickSizeOuter"],E=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&g(e,t)}(a,e);var t,n,i,o=v(a);function a(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),o.apply(this,arguments)}return t=a,(n=[{key:"render",value:function(){var e=this.props,t=e.animation,n=e.className,i=e.marginLeft,o=e.marginTop,s=e.axisStart,f=e.axisEnd,p=e.axisDomain,h=e.numberOfTicks,y=e.tickValue,g=e.tickSize,v=e.style;if(t)return r.default.createElement(c.default,m({},this.props,{animatedProps:_}),r.default.createElement(a,m({},this.props,{animation:null})));var b=this._getAttributeFunctor("x"),E=this._getAttributeFunctor("y");return r.default.createElement("g",{className:(0,l.getCombinedClassName)("rv-xy-manipulable-axis rv-xy-plot__axis",n),transform:"translate(".concat(i,",").concat(o,")")},r.default.createElement("line",m({},d({x1:b({x:s.x}),x2:b({x:f.x}),y1:E({y:s.y}),y2:E({y:f.y})},v.line),{className:"rv-xy-plot__axis__line"})),r.default.createElement("g",{className:"rv-xy-manipulable-axis__ticks"},(0,u.default)({axisDomain:p,axisEnd:{x:b(f),y:E(f)},axisStart:{x:b(s),y:E(s)},numberOfTicks:h,tickValue:y,tickSize:g,style:v})))}}])&&y(t.prototype,n),i&&y(t,i),a}(s.default),S=(0,i.format)(".2r");E.defaultProps={className:"",numberOfTicks:10,tickValue:function(e){return S(e)},tickSize:5,style:{line:{strokeWidth:1},ticks:{strokeWidth:2},text:{}}},E.propTypes=d(d({},s.default.propTypes),{},{axisDomain:a().arrayOf(a().number).isRequired,axisEnd:a().shape({x:a().oneOfType([a().number,a().string]),y:a().oneOfType([a().number,a().string])}).isRequired,axisStart:a().shape({x:a().oneOfType([a().number,a().string]),y:a().oneOfType([a().number,a().string])}).isRequired,className:a().string,numberOfTicks:a().number,tickValue:a().func,tickSize:a().number,style:a().shape({line:a().object,ticks:a().object,text:a().object})}),E.displayName="DecorativeAxis";const w=E},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>c});var r=n(242),i=n(1549);function o(){return o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o.apply(this,arguments)}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){u(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function c(e){var t=e.axisDomain,n=e.numberOfTicks,a=e.axisStart,u=e.axisEnd,c=e.tickValue,l=e.tickSize,f=e.style,p=(0,i.generatePoints)({axisStart:a,axisEnd:u,numberOfTicks:n,axisDomain:t}).points,d=(0,i.getAxisAngle)(a,u)+Math.PI/2;return p.map((function(e,t){var n=s({x1:0,y1:0,x2:l*Math.cos(d),y2:l*Math.sin(d)},f.ticks),i=s({x:l*Math.cos(d),y:l*Math.sin(d),textAnchor:"start"},f.text);return r.default.createElement("g",{key:t,transform:"translate(".concat(e.x,", ").concat(e.y,")"),className:"rv-xy-plot__axis__tick"},r.default.createElement("line",o({},n,{className:"rv-xy-plot__axis__tick__line"})),r.default.createElement("text",o({},i,{className:"rv-xy-plot__axis__tick__text"}),c(e.text)))}))}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>u});var r=n(242),i=n(244),o=n.n(i),a=n(1483);function s(e){var t=e.className;return r.default.createElement("defs",{className:(0,a.getCombinedClassName)("rv-gradient-defs",t)},e.children)}s.displayName="GradientDefs",s.requiresSVG=!0,s.propTypes={className:o().string},s.defaultProps={className:""};const u=s},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>O});var r=n(242),i=n(244),o=n.n(i),a=n(1420),s=n(1483),u=n(1390),c=n(1549);function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
51t%2?f(Object(n),!0).forEach((function(t){d(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function d(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function h(){return h=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},h.apply(this,arguments)}function m(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function y(e,t){return y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},y(e,t)}function g(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=v(e);if(t){var i=v(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===l(t)||"function"==typeof t))return t;return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,n)}}function v(e){return v=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},v(e)}var b=c.DIRECTION.VERTICAL,_=c.DIRECTION.HORIZONTAL,E={direction:o().oneOf([b,_]),attr:o().string.isRequired,width:o().number,height:o().number,top:o().number,left:o().number,style:o().object,tickValues:o().arrayOf(o().oneOfType([o().number,o().string])),tickTotal:o().number,animation:u.AnimationPropType,marginTop:o().number,marginBottom:o().number,marginLeft:o().number,marginRight:o().number,innerWidth:o().number,innerHeight:o().number},S={direction:b},w=["xRange","yRange","xDomain","yDomain","width","height","marginLeft","marginTop","marginRight","marginBottom","tickTotal"],T=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&y(e,t)}(l,e);var t,n,i,o=g(l);function l(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),o.apply(this,arguments)}return t=l,(n=[{key:"_getDefaultProps",value:function(){var e=this.props,t=e.innerWidth,n=e.innerHeight,r=e.marginTop,i=e.marginLeft,o=e.direction;return{left:i,top:r,width:t,height:n,tickTotal:(0,c.getTicksTotalFromSize)(o===b?t:n)}}},{key:"render",value:function(){var e=this.props,t=e.animation,n=e.className;if(t)return r.default.createElement(u.default,h({},this.props,{animatedProps:w}),r.default.createElement(l,h({},this.props,{animation:null})));var i=p(p({},this._getDefaultProps()),this.props),o=i.attr,f=i.direction,m=i.width,y=i.height,g=i.style,v=i.tickTotal,_=i.tickValues,E=i.top,S=i.left,T=f===b,O=T?"y":"x",x=T?"x":"y",k=T?y:m,R=(0,a.getAttributeScale)(i,o),N=(0,c.getTickValues)(R,v,_);return r.default.createElement("g",{transform:"translate(".concat(S,",").concat(E,")"),className:(0,s.getCombinedClassName)("rv-xy-plot__grid-lines",n)},N.map((function(e,t){var n,i=R(e),o=(d(n={},"".concat(x,"1"),i),d(n,"".concat(x,"2"),i),d(n,"".concat(O,"1"),0),d(n,"".concat(O,"2"),k),n);return r.default.createElement("line",h({},o,{key:t,className:"rv-xy-plot__grid-lines__line",style:g}))})))}}])&&m(t.prototype,n),i&&m(t,i),l}(r.PureComponent);T.displayName="GridLines",T.defaultProps=S,T.propTypes=E,T.requiresSVG=!0;const O=T},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>v});var r=n(242),i=n(1390),o=n(1481),a=n(1483),s=n(1379);function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
51t%2?c(Object(n),!0).forEach((function(t){f(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function f(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function p(){return p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},p.apply(this,arguments)}function d(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function h(e,t){return h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},h(e,t)}function m(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=y(e);if(t){var i=y(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===u(t)||"function"==typeof t))return t;return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,n)}}function y(e){return y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},y(e)}var g=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h(e,t)}(c,e);var t,n,s,u=m(c);function c(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),u.apply(this,arguments)}return t=c,s=[{key:"getParentConfig",value:function(e){return{isDomainAdjustmentNeeded:"x"===e||"y"===e}}}],(n=[{key:"render",value:function(){var e=this,t=this.props,n=t.animation,s=t.className,u=t.data,f=t.marginLeft,d=t.marginTop,h=t.style;if(!u)return null;if(n)return r.default.createElement(i.default,p({},this.props,{animatedProps:o.ANIMATED_SERIES_PROPS}),r.default.createElement(c,p({},this.props,{animation:null})));var m=l({rectStyle:{}},h).rectStyle,y=this._getAttributeFunctor("x"),g=this._getAttributeFunctor("y"),v=this._getAttributeFunctor("opacity"),b=this._getAttributeFunctor("fill")||this._getAttributeFunctor("color"),_=this._getAttributeFunctor("stroke")||this._getAttributeFunctor("color"),E=this._getScaleDistance("x"),S=this._getScaleDistance("y");return r.default.createElement("g",{className:(0,a.getCombinedClassName)("rv-xy-plot__series rv-xy-plot__series--heatmap",s),transform:"translate(".concat(f,",").concat(d,")")},u.map((function(t,n){var i=l(l({style:l({stroke:_&&_(t),fill:b&&b(t),opacity:v&&v(t)},h)},m),{},{x:y(t)-E/2,y:g(t)-S/2,width:E,height:S,onClick:function(n){return e._valueClickHandler(t,n)},onContextMenu:function(n){return e._valueRightClickHandler(t,n)},onMouseOver:function(n){return e._valueMouseOverHandler(t,n)},onMouseOut:function(n){return e._valueMouseOutHandler(t,n)}});return r.default.createElement("rect",p({key:n},i))})))}}])&&d(t.prototype,n),s&&d(t,s),c}(s.default);g.propTypes=l({},s.default.propTypes),g.displayName="HeatmapSeries";const v=g},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>O});var r=n(242),i=n(244),o=n.n(i),a=n(1390),s=n(1584),u=n(1430),c=n(1481),l=n(1483),f=n(1482),p=n(1379);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){m(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEac
51h((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function m(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function y(e){return y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},y(e)}function g(){return g=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},g.apply(this,arguments)}function v(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function b(e,t){return b=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},b(e,t)}function _(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=E(e);if(t){var i=E(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===y(t)||"function"==typeof t))return t;return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,n)}}function E(e){return E=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},E(e)}function S(e){return function(e){if(Array.isArray(e))return w(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return w(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return w(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function w(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var T=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&b(e,t)}(f,e);var t,n,i,o=_(f);function f(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,f),o.apply(this,arguments)}return t=f,(n=[{key:"render",value:function(){var e=this,t=this.props,n=t.animation,i=t.className,o=t.colorRange,p=t.data,d=t.innerHe
51ight,h=t.innerWidth,m=t.marginLeft,y=t.marginTop,v=t.radius,b=t.sizeHexagonsWithCount,_=t.style,E=t.xOffset,w=t.yOffset;if(!p)return null;if(n)return r.default.createElement(a.default,g({},this.props,{animatedProps:c.ANIMATED_SERIES_PROPS}),r.default.createElement(f,g({},this.props,{animation:null})));var T=this._getAttributeFunctor("x"),O=this._getAttributeFunctor("y"),x=(0,s.hexbin)().x((function(e){return T(e)+E})).y((function(e){return O(e)+w})).radius(v).size([h,d]),k=x.hexagon(),R=x(p),N=function(e,t){var n=e.countDomain;return n||[0,Math.max.apply(Math,S(t.map((function(e){return e.length}))))]}(this.props,R),A=(0,u.default)().domain(N).range(o),I=(0,u.default)().domain(N).range([0,v]);return r.default.createElement("g",{className:(0,l.getCombinedClassName)("rv-xy-plot__series rv-xy-plot__series--hexbin",i),transform:"translate(".concat(m,",").concat(y,")")},R.map((function(t,n){var i={style:_,d:b?x.hexagon(I(t.length)):k,fill:A(t.length),transform:"translate(".concat(t.x,", ").concat(t.y,")"),onClick:function(n){return e._valueClickHandler(t,n)},onContextMenu:function(n){return e._valueRightClickHandler(t,n)},onMouseOver:function(n){return e._valueMouseOverHandler(t,n)},onMouseOut:function(n){return e._valueMouseOutHandler(t,n)}};return r.default.createElement("path",g({key:String(n)},i))})))}}])&&v(t.prototype,n),i&&v(t,i),f}(p.default);T.propTypes=h(h({},p.default.propTypes),{},{radius:o().number}),T.defaultProps={radius:20,colorRange:f.CONTINUOUS_COLOR_RANGE,xOffset:0,yOffset:0},T.displayName="HexbinSeries";const O=T},(e,t,n)=>{"use strict";n.r(t),n.d(t,{hexbin:()=>r.default});var r=n(1585)},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});var r=Math.PI/3,i=[0,r,2*r,3*r,4*r,5*r];function o(e){return e[0]}function a(e){return e[1]}function s(){var e,t,n,s=0,u=0,c=1,l=1,f=o,p=a;function d(e){var r,i={},o=[],a=e.length;for(r=0;r<a;++r)if(!isNaN(u=+f.call(null,s=e[r],r,e))&&!isNaN(c=+p.call(null,s,r,e))){var s,u,c,l=Math.round(c/=n),d=Math.round(u=u/t-(1&l)/2),h=c-l;if(3*Math.abs(h)>1){var m=u-d,y=d+(u<d?-1:1)/2,g=l+(c<l?-1:1),v=u-y,b=c-g;m*m+h*h>v*v+b*b&&(d=y+(1&l?1:-1)/2,l=g)}var _=d+"-"+l,E=i[_];E?E.push(s):(o.push(E=i[_]=[s]),E.x=(d+(1&l)/2)*t,E.y=l*n)}return o}function h(e){var t=0,n=0;return i.map((function(r){var i=Math.sin(r)*e,o=-Math.cos(r)*e,a=i-t,s=o-n;return t=i,n=o,[a,s]}))}return d.hexagon=function(t){return"m"+h(null==t?e:+t).join("l")+"z"},d.centers=function(){for(var r=[],i=Math.round(u/n),o=Math.round(s/t),a=i*n;a<l+e;a+=n,++i)for(var f=o*t+(1&i)*t/2;f<c+t/2;f+=t)r.push([f,a]);return r},d.mesh=function(){var t=h(e).slice(0,4).join("l");return d.centers().map((function(e){return"M"+e+"m"+t})).join("")},d.x=function(e){return arguments.length?(f=e,d):f},d.y=function(e){return arguments.length?(p=e,d):p},d.radius=function(i){return arguments.length?(t=2*(e=+i)*Math.sin(r),n=1.5*e,d):e},d.size=function(e){return arguments.length?(s=u=0,c=+e[0],l=+e[1],d):[c-s,l-u]},d.extent=function(e){return arguments.length?(s=+e[0][0],u=+e[0][1],c=+e[1][0],l=+e[1][1],d):[[s,u],[c,l]]},d.radius(1)}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>_});var r=n(242),i=n(244),o=n.n(i),a=n(1379),s=n(1420),u=n(1483);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){g(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function f(e){return f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},f(e)}function p(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}
51function d(e,t){return d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},d(e,t)}function h(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=y(e);if(t){var i=y(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===f(t)||"function"==typeof t))return t;return m(e)}(this,n)}}function m(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y(e){return y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},y(e)}function g(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function v(e){return{xLoc:"touchstart"===e.type?e.pageX:e.offsetX,yLoc:"touchstart"===e.type?e.pageY:e.offsetY}}var b=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&d(e,t)}(a,e);var t,n,i,o=h(a);function a(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return g(m(e=o.call.apply(o,[this].concat(n))),"state",{dragging:!1,brushArea:{top:0,right:0,bottom:0,left:0},brushing:!1,startLocX:0,startLocY:0,dragArea:null}),e}return t=a,(n=[{key:"_getDrawArea",value:function(e,t){var n=this.state,r=n.startLocX,i=n.startLocY,o=this.props,a=o.enableX,s=o.enableY,u=o.highlightWidth,c=o.highlightHeight,l=o.innerWidth,f=o.innerHeight,p=o.marginLeft,d=o.marginRight,h=o.marginBottom,m=o.marginTop,y=u||l+p+d,g=c||f+m+h;return{bottom:s?Math.max(i,t):g,right:a?Math.max(r,e):y,left:a?Math.min(e,r):0,top:s?Math.min(t,i):0}}},{key:"_getDragArea",value:function(e,t){var n=this.props,r=n.enableX,i=n.enableY,o=this.state,a=o.startLocX,s=o.startLocY,u=o.dragArea;return{bottom:u.bottom+(i?t-s:0),left:u.left+(r?e-a:0),right:u.right+(r?e-a:0),top:u.top+(i?t-s:0)}}},{key:"_clickedOutsideDrag",value:function(e,t){var n=this.props,r=n.enableX,i=n.enableY,o=this.state,a=o.dragArea,s=o.brushArea,u=s.left,c=s.right,l=s.top,f=s.bottom,p=a&&(e<u||e>c),d=a&&(t<l||t>f);return r&&i?p||d:r?p:!i||d}},{key:"_convertAreaToCoordinates",value:function(e){var t=this.props,n=t.enableX,r=t.enableY,i=t.marginLeft,o=t.marginTop,a=(0,s.getAttributeScale)(this.props,"x"),u=(0,s.getAttributeScale)(this.props,"y");return n&&r?{bottom:u.invert(e.bottom),left:a.invert(e.left-i),right:a.invert(e.right-i),top:u.invert(e.top)}:r?{bottom:u.invert(e.bottom-o),top:u.invert(e.top-o)}:n?{left:a.invert(e.left-i),right:a.invert(e.right-i)}:{}}},{key:"startBrushing",value:function(e){var t=this,n=this.props,r=n.onBrushStart,i=n.onDragStart,o=n.drag,a=this.state.dragArea,s=v(e.nativeEvent),u=s.xLoc,c=s.yLoc,l=function(e,n){var r={bottom:c,left:u,right:u,top:c};t.setState({dragging:e,brushArea:a&&!n?a:r,brushing:!e,startLocX:u,startLocY:c})},f=this._clickedOutsideDrag(u,c);if(o&&!a||!o||f)return l(!1,f),void(r&&r(e));o&&a&&(l(!0,f),i&&i(e))}},{key:"stopBrushing",value:function(){var e=this.state,t=e.brushing,n=e.dragging,r=e.brushArea;if(t||n){var i=this.props,o=i.onBrushEnd,a=i.onDragEnd,s=i.drag,u=Math.abs(r.right-r.left)<5,c=Math.abs(r.top-r.bottom)<5||u;this.setState({brushing:!1,dragging:!1,brushArea:s?r:{top:0,right:0,bottom:0,left:0},startLocX:0,startLocY:0,dragArea:s&&!c&&r}),t&&o&&o(c?null:this._convertAreaToCoordinates(r)),s&&a&&a(c?null:this._convertAreaToCoordinates(r))}}},{key:"onBrush",value:function(e){var t=this.props,n=t.onBrush,r=t.onDrag,i=t.drag,o=this.state,a=o.brushing,s=o.dragging,u=v(e.nativeEvent),c=u.xLoc,l=u.yLoc;if(a){var f=this._getDrawArea(c,l);this.setState({brushArea:f}),n&&n(this._convertAreaToCoordinates(f))}if(i&&s){var p=this._getDragArea(c,l);this.setState({brushArea:p}),r&&r(this._convertAreaToCoordinates(p))}}},{key:"render",value:function(){var e=this,t=this.props,n=t.color,i=t.className,o=t.highlightHeight,a=t.highlightWidth,c=t.highlightX,l=t.highlightY,f=t.innerWidth,p=t.innerHe
51ight,d=t.marginLeft,h=t.marginRight,m=t.marginTop,y=t.marginBottom,g=t.opacity,v=this.state.brushArea,b=v.left,_=v.right,E=v.top,S=v.bottom,w=0;c&&(w=(0,s.getAttributeScale)(this.props,"x")(c));var T=0;l&&(T=(0,s.getAttributeScale)(this.props,"y")(l));var O=a||d+h+f,x=o||m+y+p;return r.default.createElement("g",{transform:"translate(".concat(w,", ").concat(T,")"),className:(0,u.getCombinedClassName)(i,"rv-highlight-container")},r.default.createElement("rect",{className:"rv-mouse-target",fill:"black",opacity:"0",x:"0",y:"0",width:Math.max(O,0),height:Math.max(x,0),onMouseDown:function(t){return e.startBrushing(t)},onMouseMove:function(t){return e.onBrush(t)},onMouseUp:function(t){return e.stopBrushing(t)},onMouseLeave:function(t){return e.stopBrushing(t)},onTouchEnd:function(t){t.preventDefault(),e.stopBrushing(t)},onTouchCancel:function(t){t.preventDefault(),e.stopBrushing(t)},onContextMenu:function(e){return e.preventDefault()},onContextMenuCapture:function(e){return e.preventDefault()}}),r.default.createElement("rect",{className:"rv-highlight",pointerEvents:"none",opacity:g,fill:n,x:b,y:E,width:Math.min(Math.max(0,_-b),O),height:Math.min(Math.max(0,S-E),x)}))}}])&&p(t.prototype,n),i&&p(t,i),a}(a.default);b.displayName="HighlightOverlay",b.defaultProps={color:"rgb(77, 182, 172)",className:"",enableX:!0,enableY:!0,opacity:.3},b.propTypes=l(l({},a.default.propTypes),{},{enableX:o().bool,enableY:o().bool,highlightHeight:o().number,highlightWidth:o().number,highlightX:o().oneOfType([o().string,o().number]),highlightY:o().oneOfType([o().string,o().number]),onBrushStart:o().func,onDragStart:o().func,onBrush:o().func,onDrag:o().func,onBrushEnd:o().func,onDragEnd:o().func});const _=b},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>E});var r=n(242),i=n(244),o=n.n(i),a=n(1429),s=n(1420),u=n(1483);function c(e){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){p(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function p(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function d(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function h(e,t){return h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},h(e,t)}function m(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=y(e);if(t){var i=y(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===c(t)||"function"==typeof t))return t;return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,n)}}function y(e){return y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},y(e)}var g={AUTO:"auto",LEFT:"left",RIGHT:"right",LEFT_EDGE:"leftEdge",RIGHT_EDGE:"rightEdge",BOTTOM:"bottom",TOP:"top",BOTTOM_EDGE:"bottomEdge",TOP_EDGE:"topEdge"},v={BOTTOM_LEFT:"bottomleft",BOTTOM_RIGHT:"bottomright",TOP_LEFT:"topleft",TOP_RIGHT:"topright"};function b(e){return Object.keys(e).map((function(t){return{title:t,value:(0,a.transformValueToString)(e[t])}}))}var _=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h(e,t)}(c,e);var t,n,i,a=m(c);function c(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),a.apply(this,arguments)}return t=c,i=[{key:"defaultProps",get:function(){return{format:b,align:{horizontal:g.AUTO,vertical:g.AUTO},style:{}}}},{key:"propTypes",get:function(){return{marginTop:o().number,marginLeft:o().number,innerWidth:o().number,innerHe
51ight:o().number,scales:o().object,value:o().object,format:o().func,style:o().object,className:o().string,align:o().shape({horizontal:o().oneOf([g.AUTO,g.LEFT,g.RIGHT,g.LEFT_EDGE,g.RIGHT_EDGE]),vertical:o().oneOf([g.AUTO,g.BOTTOM,g.TOP,g.BOTTOM_EDGE,g.TOP_EDGE])}),getAlignStyle:o().func,orientation:o().oneOf([v.BOTTOM_LEFT,v.BOTTOM_RIGHT,v.TOP_LEFT,v.TOP_RIGHT])}}}],(n=[{key:"_getAlign",value:function(e,t){var n=this.props,r=n.innerWidth,i=n.innerHeight,o=n.orientation,a=n.align,s=a.horizontal,u=a.vertical,c=o?this._mapOrientationToAlign(o):{horizontal:s,vertical:u};return s===g.AUTO&&(c.horizontal=e>r/2?g.LEFT:g.RIGHT),u===g.AUTO&&(c.vertical=t>i/2?g.TOP:g.BOTTOM),c}},{key:"_getAlignClassNames",value:function(e){var t=this.props.orientation,n=t?"rv-hint--orientation-".concat(t):"";return"".concat(n," rv-hint--horizontalAlign-").concat(e.horizontal,"\n     rv-hint--verticalAlign-").concat(e.vertical)}},{key:"_getAlignStyle",value:function(e,t,n){return f(f({},this._getXCSS(e.horizontal,t)),this._getYCSS(e.vertical,n))}},{key:"_getCSSBottom",value:function(e){if(null==e)return{bottom:0};var t=this.props,n=t.innerHeight;return{bottom:t.marginBottom+n-e}}},{key:"_getCSSLeft",value:function(e){return null==e?{left:0}:{left:this.props.marginLeft+e}}},{key:"_getCSSRight",value:function(e){if(null==e)return{right:0};var t=this.props,n=t.innerWidth;return{right:t.marginRight+n-e}}},{key:"_getCSSTop",value:function(e){return null==e?{top:0}:{top:this.props.marginTop+e}}},{key:"_getPositionInfo",value:function(){var e=this.props,t=e.value,n=e.getAlignStyle,r=(0,s.getAttributeFunctor)(this.props,"x")(t),i=(0,s.getAttributeFunctor)(this.props,"y")(t),o=this._getAlign(r,i);return{position:n?n(o,r,i):this._getAlignStyle(o,r,i),positionClassName:this._getAlignClassNames(o)}}},{key:"_getXCSS",value:function(e,t){switch(e){case g.LEFT_EDGE:return this._getCSSLeft(null);case g.RIGHT_EDGE:return this._getCSSRight(null);case g.LEFT:return this._getCSSRight(t);default:return this._getCSSLeft(t)}}},{key:"_getYCSS",value:function(e,t){switch(e){case g.TOP_EDGE:return this._getCSSTop(null);case g.BOTTOM_EDGE:return this._getCSSBottom(null);case g.BOTTOM:return this._getCSSTop(t);default:return this._getCSSBottom(t)}}},{key:"_mapOrientationToAlign",value:function(e){switch(e){case v.BOTTOM_LEFT:return{horizontal:g.LEFT,vertical:g.BOTTOM};case v.BOTTOM_RIGHT:return{horizontal:g.RIGHT,vertical:g.BOTTOM};case v.TOP_LEFT:return{horizontal:g.LEFT,vertical:g.TOP};case v.TOP_RIGHT:return{horizontal:g.RIGHT,vertical:g.TOP}}}},{key:"render",value:function(){var e=this.props,t=e.value,n=e.format,i=e.children,o=e.style,a=e.className,s=this._getPositionInfo(),c=s.position,l=s.positionClassName;return r.default.createElement("div",{className:(0,u.getCombinedClassName)("rv-hint",l,a),style:f(f(f({},o),c),{},{position:"absolute"})},i||r.default.createElement("div",{className:"rv-hint__content",style:o.content},n(t).map((function(e,t){return r.default.createElement("div",{key:"rv-hint".concat(t),style:o.row},r.default.createElement("span",{className:"rv-hint__title",style:o.title},e.title),": ",r.default.createElement("span",{className:"rv-hint__value",style:o.value},e.value))}))))}}])&&d(t.prototype,n),i&&d(t,i),c}(r.PureComponent);_.displayName="Hint",_.ORIENTATION=v,_.ALIGN=g;const E=_},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>d});var r=n(242),i=n(1379),o=n(1589);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function s(){return s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s.apply(this,arguments)}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function c(e,t){return c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},c(e,t)}function l(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=f(e);
51if(t){var i=f(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===a(t)||"function"==typeof t))return t;return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,n)}}function f(e){return f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},f(e)}var p=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&c(e,t)}(f,e);var t,n,i,a=l(f);function f(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,f),a.apply(this,arguments)}return t=f,i=[{key:"getParentConfig",value:function(e){return{isDomainAdjustmentNeeded:"y"===e,zeroBaseValue:"x"===e}}}],(n=[{key:"render",value:function(){return r.default.createElement(o.default,s({},this.props,{linePosAttr:"y",valuePosAttr:"x",lineSizeAttr:"height",valueSizeAttr:"width"}))}}])&&u(t.prototype,n),i&&u(t,i),f}(i.default);p.displayName="HorizontalBarSeries";const d=p},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>_});var r=n(242),i=n(244),o=n.n(i),a=n(1390),s=n(1481),u=n(1483),c=n(1379);function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach((function(t){d(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function d(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function h(){return h=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},h.apply(this,arguments)}function m(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function y(e,t){return y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},y(e,t)}function g(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=v(e);if(t){var i=v(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===l(t)||"function"==typeof t))return t;return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,n)}}function v(e){return v=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},v(e)}var b=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&y(e,t)}(f,e);var t,n,i,l=g(f);function f(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,f),l.apply(this,arguments)}return t=f,i=[{key:"propTypes",get:function(){return p(p({},c.default.propTypes),{},{linePosAttr:o().string,valuePosAttr:o().string,lineSizeAttr:o().string,valueSizeAttr:o().string,cluster:o().string,barWidth:o().number})}},{key:"defaultProps",get:function(){return{barWidth:.85}}}],(n=[{key:"render",value:function(){var e=this,t=this.props,n=t.animation,i=t.className,o=t.data,c=t.linePosAttr,l=t.lineSizeAttr,m=t.marginLeft,y=t.marginTop,g=t.style,v=t.valuePosAttr,b=t.valueSizeAttr,_=t.barWidth;if(!o)return null;if(n)return r.default.createElement(a.default,h({},this.props,{animatedProps:s.ANIMATED_SERIES_PROPS}),r.default.createElement(f,h({},this.props,{animation:null})));var E=(0,s.getStackParams)(this.props),S=E.sameTypeTotal,w=E.sameTypeIndex,T=this._getScaleDistance(c),O=this._getAttributeFunctor(c),x=this._getAttributeFunctor(v),k=this._getAttr0Functor(v),R=this._getAttributeFunctor("fill")||this._getAttributeFunctor("color"),N=this._getAttributeFunctor("stroke")||this._getAttributeFunctor("color"),A=this._getAttributeFunctor("op
51acity"),I=T/2*_;return r.default.createElement("g",{className:(0,u.getCombinedClassName)("rv-xy-plot__series rv-xy-plot__series--bar",i),transform:"translate(".concat(m,",").concat(y,")")},o.map((function(t,n){var i,o=2*I,a=O(t),s=o/S-(S-1)/S,u=a-I+s*w+w,f=(d(i={style:p({opacity:A&&A(t),stroke:N&&N(t),fill:R&&R(t)},g)},c,u),d(i,l,s),d(i,v,Math.min(k(t),x(t))),d(i,b,Math.abs(-k(t)+x(t))),d(i,"onClick",(function(n){return e._valueClickHandler(t,n)})),d(i,"onContextMenu",(function(n){return e._valueRightClickHandler(t,n)})),d(i,"onMouseOver",(function(n){return e._valueMouseOverHandler(t,n)})),d(i,"onMouseOut",(function(n){return e._valueMouseOutHandler(t,n)})),i);return r.default.createElement("rect",h({key:"".concat(n)},f))})))}}])&&m(t.prototype,n),i&&m(t,i),f}(c.default);b.displayName="BarSeries";const _=b},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var r=n(1379),i=n(1591);function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){u(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function l(e,t){return l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},l(e,t)}function f(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=p(e);if(t){var i=p(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===o(t)||"function"==typeof t))return t;return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,n)}}function p(e){return p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},p(e)}var d=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&l(e,t)}(a,e);var t,n,r,o=f(a);function a(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),o.apply(this,arguments)}return t=a,r=[{key:"getParentConfig",value:function(e){return{isDomainAdjustmentNeeded:"y"===e,zeroBaseValue:"x"===e}}},{key:"renderLayer",value:function(e,t){i.default.renderLayer(s(s({},e),{},{linePosAttr:"y",valuePosAttr:"x",lineSizeAttr:"height",valueSizeAttr:"width"}),t)}},{key:"requiresSVG",get:function(){return!1}},{key:"isCanvas",get:function(){return!0}}],(n=[{key:"render",value:function(){return null}}])&&c(t.prototype,n),r&&c(t,r),a}(r.default);d.displayName="HorizontalBarSeriesCanvas",d.propTypes=s({},r.default.propTypes);const h=d},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>b});var r=n(244),i=n.n(r),o=n(1409),a=n(1482),s=n(1420),u=n(1481),c=n(1379);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
51t%2?l(Object(n),!0).forEach((function(t){p(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function p(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function d(e){return d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},d(e)}function h(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function m(e,t){return m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},m(e,t)}function y(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g(e);if(t){var i=g(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===d(t)||"function"==typeof t))return t;return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,n)}}function g(e){return g=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},g(e)}var v=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&m(e,t)}(c,e);var t,n,r,i=y(c);function c(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),i.apply(this,arguments)}return t=c,r=[{key:"renderLayer",value:function(e,t){var n=e.data,r=e.linePosAttr,i=e.lineSizeAttr,c=e.valuePosAttr,l=e.marginTop,f=e.marginBottom;if(n&&0!==n.length){var p=function(e,t){var n=(0,s.getScaleObjectFromProps)(e,t);return n?n.distance:0}(e,r),d=(0,s.getAttributeFunctor)(e,r),h=(0,s.getAttributeFunctor)(e,c),m=(0,s.getAttr0Functor)(e,c),y=(0,s.getAttributeFunctor)(e,"fill")||(0,s.getAttributeFunctor)(e,"color"),g=(0,s.getAttributeFunctor)(e,"stroke")||(0,s.getAttributeFunctor)(e,"color"),v=(0,s.getAttributeFunctor)(e,"opacity"),b=p/2*.85,_=2*b,E=(0,u.getStackParams)(e),S=E.sameTypeTotal,w=E.sameTypeIndex;n.forEach((function(e){var n=d(e)-b,r=_/S-(S-1)/S,s=(0,o.rgb)(y(e)),u=(0,o.rgb)(g(e)),p=v(e)||a.DEFAULT_OPACITY,E=n+r*w+w,T=Math.min(m(e),h(e)),O="x"===c?T:E,x="y"===c?T:E,k=Math.abs(-m(e)+h(e)),R="height"===i?r:k,N="width"===i?r:k;t.beginPath(),t.rect(O+f,x+l,N,R),t.fillStyle="rgba(".concat(s.r,", ").concat(s.g,", ").concat(s.b,", ").concat(p,")"),t.fill(),t.strokeStyle="rgba(".concat(u.r,", ").concat(u.g,", ").concat(u.b,", ").concat(p,")"),t.stroke()}))}}},{key:"requiresSVG",get:function(){return!1}},{key:"isCanvas",get:function(){return!0}}],(n=[{key:"render",value:function(){return null}}])&&h(t.prototype,n),r&&h(t,r),c}(c.default);v.displayName="BarSeriesCanvas",v.defaultProps=f(f({},c.default.defaultProps),{},{linePosAttr:i().string.isRequired,valuePosAttr:i().string.isRequired,lineSizeAttr:i().string.isRequired,valueSizeAttr:i().string.isRequired}),v.propTypes=f({},c.default.propTypes);const b=v},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>m});var r=n(242),i=n(244),o=n.n(i),a=n(1549),s=n(1581);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){l(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEac
51h((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var f=a.DIRECTION.HORIZONTAL,p=c(c({},s.default.propTypes),{},{direction:o().oneOf([f])}),d={direction:f,attr:"y"};function h(e){return r.default.createElement(s.default,e)}h.displayName="HorizontalGridLines",h.propTypes=p,h.defaultProps=d,h.requiresSVG=!0;const m=h},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>d});var r=n(242),i=n(1379),o=n(1594);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function s(){return s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s.apply(this,arguments)}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function c(e,t){return c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},c(e,t)}function l(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=f(e);if(t){var i=f(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===a(t)||"function"==typeof t))return t;return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,n)}}function f(e){return f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},f(e)}var p=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&c(e,t)}(f,e);var t,n,i,a=l(f);function f(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,f),a.apply(this,arguments)}return t=f,i=[{key:"getParentConfig",value:function(e){return{isDomainAdjustmentNeeded:!1,zeroBaseValue:"x"===e}}}],(n=[{key:"render",value:function(){return r.default.createElement(o.default,s({},this.props,{linePosAttr:"y",valuePosAttr:"x",lineSizeAttr:"height",valueSizeAttr:"width"}))}}])&&u(t.prototype,n),i&&u(t,i),f}(i.default);p.displayName="HorizontalRectSeries";const d=p},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>_});var r=n(242),i=n(244),o=n.n(i),a=n(1390),s=n(1481),u=n(1483),c=n(1379);function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach((function(t){d(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function d(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function h(){return h=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},h.apply(this,arguments)}function m(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}
51function y(e,t){return y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},y(e,t)}function g(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=v(e);if(t){var i=v(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===l(t)||"function"==typeof t))return t;return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,n)}}function v(e){return v=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},v(e)}var b=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&y(e,t)}(f,e);var t,n,i,l=g(f);function f(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,f),l.apply(this,arguments)}return t=f,i=[{key:"propTypes",get:function(){return p(p({},c.default.propTypes),{},{linePosAttr:o().string,valuePosAttr:o().string,lineSizeAttr:o().string,valueSizeAttr:o().string})}}],(n=[{key:"render",value:function(){var e=this,t=this.props,n=t.animation,i=t.className,o=t.data,c=t.linePosAttr,l=t.lineSizeAttr,m=t.marginLeft,y=t.marginTop,g=t.style,v=t.valuePosAttr,b=t.valueSizeAttr;if(!o)return null;if(n)return r.default.createElement(a.default,h({},this.props,{animatedProps:s.ANIMATED_SERIES_PROPS}),r.default.createElement(f,h({},this.props,{animation:null})));var _=this._getAttributeFunctor(c),E=this._getAttr0Functor(c),S=this._getAttributeFunctor(v),w=this._getAttr0Functor(v),T=this._getAttributeFunctor("fill")||this._getAttributeFunctor("color"),O=this._getAttributeFunctor("stroke")||this._getAttributeFunctor("color"),x=this._getAttributeFunctor("opacity");return r.default.createElement("g",{className:(0,u.getCombinedClassName)("rv-xy-plot__series rv-xy-plot__series--rect",i),transform:"translate(".concat(m,",").concat(y,")")},o.map((function(t,n){var i,o=(d(i={style:p({opacity:x&&x(t),stroke:O&&O(t),fill:T&&T(t)},g)},c,E(t)),d(i,l,Math.abs(_(t)-E(t))),d(i,v,Math.min(w(t),S(t))),d(i,b,Math.abs(-w(t)+S(t))),d(i,"onClick",(function(n){return e._valueClickHandler(t,n)})),d(i,"onContextMenu",(function(n){return e._valueRightClickHandler(t,n)})),d(i,"onMouseOver",(function(n){return e._valueMouseOverHandler(t,n)})),d(i,"onMouseOut",(function(n){return e._valueMouseOutHandler(t,n)})),i);return r.default.createElement("rect",h({key:String(n)},o))})))}}])&&m(t.prototype,n),i&&m(t,i),f}(c.default);b.displayName="RectSeries";const _=b},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var r=n(1379),i=n(1596);function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){u(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function l(e,t){return l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},l(e,t)}function f(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=p(e);if(t){var i=p(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===o(t)||"function"==typeof t))return t;return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,n)}}
51function p(e){return p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},p(e)}var d=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&l(e,t)}(a,e);var t,n,r,o=f(a);function a(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),o.apply(this,arguments)}return t=a,r=[{key:"getParentConfig",value:function(e){return{isDomainAdjustmentNeeded:!1,zeroBaseValue:"x"===e}}},{key:"renderLayer",value:function(e,t){i.default.renderLayer(s(s({},e),{},{linePosAttr:"y",valuePosAttr:"x",lineSizeAttr:"height",valueSizeAttr:"width"}),t)}},{key:"requiresSVG",get:function(){return!1}},{key:"isCanvas",get:function(){return!0}}],(n=[{key:"render",value:function(){return null}}])&&c(t.prototype,n),r&&c(t,r),a}(r.default);d.displayName="HorizontalRectSeriesCanvas",d.propTypes=s({},r.default.propTypes);const h=d},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>v});var r=n(244),i=n.n(r),o=n(1409),a=n(1482),s=n(1420),u=n(1379);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){f(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function f(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function p(e){return p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},p(e)}function d(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function h(e,t){return h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},h(e,t)}function m(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=y(e);if(t){var i=y(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===p(t)||"function"==typeof t))return t;return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,n)}}function y(e){return y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},y(e)}var g=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h(e,t)}(u,e);var t,n,r,i=m(u);function u(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u),i.apply(this,arguments)}return t=u,r=[{key:"renderLayer",value:function(e,t){var n=e.data,r=e.linePosAttr,i=e.lineSizeAttr,u=e.marginLeft,c=e.marginTop,l=e.valuePosAttr;if(n&&0!==n.length){var f=(0,s.getAttributeFunctor)(e,r),p=(0,s.getAttr0Functor)(e,r),d=(0,s.getAttributeFunctor)(e,l),h=(0,s.getAttr0Functor)(e,l),m=(0,s.getAttributeFunctor)(e,"fill")||(0,s.getAttributeFunctor)(e,"color"),y=(0,s.getAttributeFunctor)(e,"stroke")||(0,s.getAttributeFunctor)(e,"color"),g=(0,s.getAttributeFunctor)(e,"opacity");n.forEach((function(e){var n=(0,o.rgb)(m(e)),r=(0,o.rgb)(y(e)),s=g(e)||a.DEFAULT_OPACITY,v=p(e),b=Math.min(h(e),d(e)),_="x"===l?b:v,E="y"===l?b:v,S=Math.abs(f(e)-p(e)),w=Math.abs(-h(e)+d(e)),T="height"===i?S:w,O="width"===i?S:w;t.beginPath(),t.rect(_+u,E+c,O,T),t.fillStyle="rgba(".concat(n.r,", ").concat(n.g,", ").concat(n.b,", ").concat(s,")"),t.fill(),t.strokeStyle="rgba(".concat(r.r,", ").concat(r.g,", ").concat(r.b,", ").concat(s,")"),t.stroke()}))}}},{key:"requiresSVG",get:function(){return!1}},{key:"isCanvas",get:function(){return!0}}],(n=[{key:"render",value:function(){return null}}])&&d(t.prototype,n),r&&d(t,r),u}(u.default);g.displayName="RectSeriesCanvas",g.defaultProps=l(l({},u.default.defaultProps),{},{linePosAttr:i().string.isRequired,valuePosAttr:i().string.isRequired,lineSizeAttr:i().string.isRequired,valueSizeAttr:i().string.isRequired}
51),g.propTypes=l({},u.default.propTypes);const v=g},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>S});var r=n(242),i=n(244),o=n.n(i),a=n(1379),s=n(1390),u=n(1481),c=n(1483);function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach((function(t){d(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function d(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function h(){return h=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},h.apply(this,arguments)}function m(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function y(e,t){return y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},y(e,t)}function g(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=v(e);if(t){var i=v(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===l(t)||"function"==typeof t))return t;return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,n)}}function v(e){return v=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},v(e)}var b=function(e,t){return e||(t?"start":"end")},_=function(e,t){return e||(t?"text-before-edge":"text-after-edge")},E=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&y(e,t)}(a,e);var t,n,i,o=g(a);function a(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),o.apply(this,arguments)}return t=a,(n=[{key:"render",value:function(){var e=this,t=this.props,n=t.animation,i=t.allowOffsetToBeReversed,o=t.className,l=t.data,f=t._data,d=t.getLabel,m=t.marginLeft,y=t.marginTop,g=t.rotation,v=t.style,E=t.xRange,S=t.yRange,w=t.labelAnchorX,T=t.labelAnchorY;if(!l)return null;if(n)return r.default.createElement(s.default,h({},this.props,{animatedProps:u.ANIMATED_SERIES_PROPS}),r.default.createElement(a,h({},this.props,{animation:null,_data:l})));var O=this._getAttributeFunctor("x"),x=this._getAttributeFunctor("y");return r.default.createElement("g",{className:(0,c.getCombinedClassName)("rv-xy-plot__series rv-xy-plot__series--label",o),transform:"translate(".concat(m,",").concat(y,")"),style:v},l.reduce((function(t,n,o){var a=n.style,s=n.xOffset,u=n.yOffset;if(!d(n))return t;var c=O(n),l=x(n),m=c<(E[1]-E[0])/2,y=l<Math.abs(S[1]-S[0])/2,v=c+(i&&m?-1:1)*(s||0),k=l+(i&&y?-1:1)*(u||0),R=0===n.rotation||n.rotation?n.rotation:g,N=p({dominantBaseline:_(T,y),className:"rv-xy-plot__series--label-text",onClick:function(t){return e._valueClickHandler(n,t)},onContextMenu:function(t){return e._valueRightClickHandler(n,t)},onMouseOver:function(t){return e._valueMouseOverHandler(n,t)},onMouseOut:function(t){return e._valueMouseOutHandler(n,t)},textAnchor:b(w,m),x:v,y:k,transform:"rotate(".concat(R,",").concat(v,",").concat(k,")")},a),A=d(f?f[o]:n);return t.concat([r.default.createElement("text",h({key:String(o)},N),A)])}),[]))}}])&&m(t.prototype,n),i&&m(t,i),a}(a.default);E.propTypes={animation:o().bool,allowOffsetToBeReversed:o().bool,className:o().string,data:o().arrayOf(o().shape({x:o().oneOfType([o().number,o().string]),y:o().oneOfType([o().number,o().string]),angle:o().number,radiu
51s:o().number,label:o().string,xOffset:o().number,yOffset:o().number,style:o().object})).isRequired,marginLeft:o().number,marginTop:o().number,rotation:o().number,style:o().object,xRange:o().arrayOf(o().number),yRange:o().arrayOf(o().number),labelAnchorX:o().string,labelAnchorY:o().string},E.defaultProps=p(p({},a.default.defaultProps),{},{animation:!1,rotation:0,getLabel:function(e){return e.label}}),E.displayName="LabelSeries";const S=E},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>_});var r=n(242),i=n(244),o=n.n(i),a=n(1379),s=n(1599),u=n(1600);function c(e){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}function l(){return l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l.apply(this,arguments)}function f(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function p(e,t){return p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},p(e,t)}function d(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=h(e);if(t){var i=h(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===c(t)||"function"==typeof t))return t;return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,n)}}function h(e){return h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},h(e)}function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function y(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m(Object(n),!0).forEach((function(t){g(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function g(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var v=y(y({},s.default.propTypes),{},{lineStyle:o().object,markStyle:o().object}),b=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&p(e,t)}(a,e);var t,n,i,o=d(a);function a(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),o.apply(this,arguments)}return t=a,i=[{key:"defaultProps",get:function(){return y(y({},s.default.defaultProps),{},{lineStyle:{},markStyle:{}})}}],(n=[{key:"render",value:function(){var e=this.props,t=e.lineStyle,n=e.markStyle,i=e.style;return r.default.createElement("g",{className:"rv-xy-plot__series rv-xy-plot__series--linemark"},r.default.createElement(s.default,l({},this.props,{style:y(y({},i),t)})),r.default.createElement(u.default,l({},this.props,{style:y(y({},i),n)})))}}])&&f(t.prototype,n),i&&f(t,i),a}(a.default);b.displayName="LineMarkSeries",b.propTypes=v;const _=b},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>O});var r=n(242),i=n(244),o=n.n(i),a=n(1494),s=n(1495),u=n(1390),c=n(1482),l=n(1481),f=n(1428),p=n(1483),d=n(1379);function h(e){return h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},h(e)}function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function y(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
51t%2?m(Object(n),!0).forEach((function(t){g(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function g(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function v(){return v=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},v.apply(this,arguments)}function b(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function _(e,t){return _=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},_(e,t)}function E(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=S(e);if(t){var i=S(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===h(t)||"function"==typeof t))return t;return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,n)}}function S(e){return S=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},S(e)}var w={dashed:"6, 2",solid:null},T=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_(e,t)}(d,e);var t,n,i,o=E(d);function d(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,d),o.apply(this,arguments)}return t=d,(n=[{key:"_renderLine",value:function(e,t,n,r,i){var o=a.default();return null!==r&&("string"==typeof r&&s[r]?o=o.curve(s[r]):"function"==typeof r&&(o=o.curve(r))),(o=(o=o.defined(i)).x(t).y(n))(e)}},{key:"render",value:function(){var e=this.props,t=e.animation,n=e.className,i=e.data;if(this.props.nullAccessor&&(0,f.warning)("nullAccessor has been renamed to getNull",!0),!i)return null;if(t)return r.default.createElement(u.default,v({},this.props,{animatedProps:l.ANIMATED_SERIES_PROPS}),r.default.createElement(d,v({},this.props,{animation:null})));var o=this.props,a=o.curve,s=o.marginLeft,h=o.marginTop,m=o.strokeDasharray,g=o.strokeStyle,b=o.strokeWidth,_=o.style,E=this._getAttributeFunctor("x"),S=this._getAttributeFunctor("y"),T=this._getAttributeValue("stroke")||this._getAttributeValue("color"),O=this._getAttributeValue("opacity"),x=Number.isFinite(O)?O:c.DEFAULT_OPACITY,k=this.props.nullAccessor||this.props.getNull,R=this._renderLine(i,E,S,a,k);return r.default.createElement("path",{d:R,className:(0,p.getCombinedClassName)("rv-xy-plot__series rv-xy-plot__series--line",n),transform:"translate(".concat(s,",").concat(h,")"),onMouseOver:this._seriesMouseOverHandler,onMouseOut:this._seriesMouseOutHandler,onClick:this._seriesClickHandler,onContextMenu:this._seriesRightClickHandler,style:y({opacity:x,strokeDasharray:w[g]||m,strokeWidth:b,stroke:T},_)})}}])&&b(t.prototype,n),i&&b(t,i),d}(d.default);T.displayName="LineSeries",T.propTypes=y(y({},d.default.propTypes),{},{strokeStyle:o().oneOf(Object.keys(w)),curve:o().oneOfType([o().string,o().func]),getNull:o().func}),T.defaultProps=y(y({},d.default.defaultProps),{},{strokeStyle:"solid",style:{},opacity:1,curve:null,className:"",getNull:function(){return!0}});const O=T},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>S});var r=n(242),i=n(244),o=n.n(i),a=n(1390),s=n(1481),u=n(1428),c=n(1483),l=n(1482),f=n(1379);function p(e){return p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},p(e)}function d(){return d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},d.apply(this,arguments)}function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function m(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
51t%2?h(Object(n),!0).forEach((function(t){y(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function y(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function g(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function v(e,t){return v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},v(e,t)}function b(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_(e);if(t){var i=_(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===p(t)||"function"==typeof t))return t;return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,n)}}function _(e){return _=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},_(e)}var E=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&v(e,t)}(f,e);var t,n,i,o=b(f);function f(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,f),o.apply(this,arguments)}return t=f,(n=[{key:"_renderCircle",value:function(e,t,n,i,o){var a=this,s=o.fill,u=o.opacity,c=o.size,f=o.stroke,p=o.x,d=o.y,h={r:c?c(e):l.DEFAULT_SIZE,cx:p(e),cy:d(e),style:m({opacity:u?u(e):l.DEFAULT_OPACITY,stroke:f&&f(e),fill:s&&s(e),strokeWidth:n||1},i),key:t,onClick:function(t){return a._valueClickHandler(e,t)},onContextMenu:function(t){return a._valueRightClickHandler(e,t)},onMouseOver:function(t){return a._valueMouseOverHandler(e,t)},onMouseOut:function(t){return a._valueMouseOutHandler(e,t)}};return r.default.createElement("circle",h)}},{key:"render",value:function(){var e=this,t=this.props,n=t.animation,i=t.className,o=t.data,l=t.marginLeft,p=t.marginTop,h=t.strokeWidth,m=t.style;this.props.nullAccessor&&(0,u.warning)("nullAccessor has been renamed to getNull",!0);var y=this.props.nullAccessor||this.props.getNull;if(!o)return null;if(n)return r.default.createElement(a.default,d({},this.props,{animatedProps:s.ANIMATED_SERIES_PROPS}),r.default.createElement(f,d({},this.props,{animation:null})));var g={fill:this._getAttributeFunctor("fill")||this._getAttributeFunctor("color"),opacity:this._getAttributeFunctor("opacity"),size:this._getAttributeFunctor("size"),stroke:this._getAttributeFunctor("stroke")||this._getAttributeFunctor("color"),x:this._getAttributeFunctor("x"),y:this._getAttributeFunctor("y")};return r.default.createElement("g",{className:(0,c.getCombinedClassName)("rv-xy-plot__series rv-xy-plot__series--mark",i),transform:"translate(".concat(l,",").concat(p,")")},o.map((function(t,n){return y(t)&&e._renderCircle(t,n,h,m,g)})))}}])&&g(t.prototype,n),i&&g(t,i),f}(f.default);E.displayName="MarkSeries",E.propTypes=m(m({},f.default.propTypes),{},{getNull:o().func,strokeWidth:o().number}),E.defaultProps={getNull:function(){return!0}};const S=E},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var r=n(1379),i=n(1602),o=n(1603);function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function l(e,t){return l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},l(e,t)}function f(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=p(e);if(t){var i=p(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===u(t)||"function"==typeof t))return t;return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,n)}}
51function p(e){return p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},p(e)}var d=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&l(e,t)}(s,e);var t,n,r,a=f(s);function s(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),a.apply(this,arguments)}return t=s,r=[{key:"renderLayer",value:function(e,t){o.default.renderLayer(e,t),i.default.renderLayer(e,t)}},{key:"requiresSVG",get:function(){return!1}},{key:"isCanvas",get:function(){return!0}}],(n=[{key:"render",value:function(){return null}}])&&c(t.prototype,n),r&&c(t,r),s}(r.default);d.displayName="LineMarkSeriesCanvas",d.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){s(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},r.default.propTypes);const h=d},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>m});var r=n(1409),i=n(1482),o=n(1420),a=n(1379);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function c(e){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}function l(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function f(e,t){return f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},f(e,t)}function p(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=d(e);if(t){var i=d(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===c(t)||"function"==typeof t))return t;return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,n)}}function d(e){return d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},d(e)}var h=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&f(e,t)}(u,e);var t,n,a,s=p(u);function u(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u),s.apply(this,arguments)}return t=u,a=[{key:"renderLayer",value:function(e,t){var n=e.data,a=e.marginLeft,s=e.marginTop,u=(0,o.getAttributeFunctor)(e,"x"),c=(0,o.getAttributeFunctor)(e,"y"),l=(0,o.getAttributeFunctor)(e,"size")||function(){return i.DEFAULT_SIZE},f=(0,o.getAttributeFunctor)(e,"fill")||(0,o.getAttributeFunctor)(e,"color"),p=(0,o.getAttributeFunctor)(e,"stroke")||(0,o.getAttributeFunctor)(e,"color"),d=(0,o.getAttributeFunctor)(e,"opacity");n.forEach((function(e){var n=(0,r.rgb)(f(e)),o=(0,r.rgb)(p(e)),h=d(e)||i.DEFAULT_OPACITY;t.beginPath(),t.arc(u(e)+a,c(e)+s,l(e),0,2*Math.PI),t.fillStyle="rgba(".concat(n.r,", ").concat(n.g,", ").concat(n.b,", ").concat(h,")"),t.fill(),t.strokeStyle="rgba(".concat(o.r,", ").concat(o.g,", ").concat(o.b,", ").concat(h,")"),t.stroke()}))}},{key:"requiresSVG",get:function(){return!1}},{key:"isCanvas",get:function(){return!0}}],(n=[{key:"render",value:function(){return null}}])&&l(t.prototype,n),a&&l(t,a),u}(a.default);h.displayName="MarkSeriesCanvas",h.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
51t%2?s(Object(n),!0).forEach((function(t){u(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},a.default.propTypes);const m=h},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>E});var r=n(244),i=n.n(r),o=n(1409),a=n(1494),s=n(1495),u=n(242),c=n(1482),l=n(1420),f=n(1379);function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function m(e){return m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},m(e)}function y(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function g(e,t){return g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},g(e,t)}function v(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=b(e);if(t){var i=b(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===m(t)||"function"==typeof t))return t;return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,n)}}function b(e){return b=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},b(e)}var _=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&g(e,t)}(f,e);var t,n,r,i=v(f);function f(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,f),i.apply(this,arguments)}return t=f,r=[{key:"renderLayer",value:function(e,t){var n=e.curve,r=e.data,i=e.marginLeft,u=e.marginTop,f=e.strokeWidth,p=e.strokeDasharray;if(r&&0!==r.length){var d=(0,l.getAttributeFunctor)(e,"x"),h=(0,l.getAttributeFunctor)(e,"y"),m=(0,l.getAttributeValue)(e,"stroke")||(0,l.getAttributeValue)(e,"color"),y=(0,o.rgb)(m),g=(0,l.getAttributeValue)(e,"opacity"),v=Number.isFinite(g)?g:c.DEFAULT_OPACITY,b=a.default().x((function(e){return d(e)+i})).y((function(e){return h(e)+u}));"string"==typeof n&&s[n]?b=b.curve(s[n]):"function"==typeof n&&(b=b.curve(n)),t.beginPath(),t.strokeStyle="rgba(".concat(y.r,", ").concat(y.g,", ").concat(y.b,", ").concat(v,")"),t.lineWidth=f,p&&t.setLineDash(p),b.context(t)(r),t.stroke(),t.closePath(),t.lineWidth=1,t.setLineDash([])}}},{key:"requiresSVG",get:function(){return!1}},{key:"isCanvas",get:function(){return!0}}],(n=[{key:"render",value:function(){return u.default.createElement("div",null)}}])&&y(t.prototype,n),r&&y(t,r),f}(f.default);_.displayName="LineSeriesCanvas",_.defaultProps=d(d({},f.default.defaultProps),{},{strokeWidth:2}),_.propTypes=d(d({},f.default.propTypes),{},{strokeWidth:i().number});const E=_},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>v});var r=n(242),i=n(1390),o=n(1481),a=n(1483),s=n(1379);function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function f(){return f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},f.apply(this,arguments)}function p(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}
51function d(e,t){return d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},d(e,t)}function h(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=m(e);if(t){var i=m(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===u(t)||"function"==typeof t))return t;return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,n)}}function m(e){return m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},m(e)}var y=function(e,t,n){return"".concat(e.reduce((function(e,r,i){return"".concat(e," ").concat(i?"L":"M").concat(t(r)," ").concat(n(r))}),"")," Z")},g=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&d(e,t)}(g,e);var t,n,u,m=h(g);function g(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,g),m.apply(this,arguments)}return t=g,u=[{key:"propTypes",get:function(){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){l(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},s.default.propTypes)}}],(n=[{key:"render",value:function(){var e=this,t=this.props,n=t.animation,s=t.color,u=t.className,c=t.data,l=t.marginLeft,p=t.marginTop,d=t.style;if(!c)return null;if(n)return r.default.createElement(i.default,f({},this.props,{animatedProps:o.ANIMATED_SERIES_PROPS}),r.default.createElement(g,f({},this.props,{animation:null})));var h=this._getAttributeFunctor("x"),m=this._getAttributeFunctor("y");return r.default.createElement("path",{className:(0,a.getCombinedClassName)("rv-xy-plot__series rv-xy-plot__series--polygon",u),onMouseOver:function(t){return e._seriesMouseOverHandler(c,t)},onMouseOut:function(t){return e._seriesMouseOutHandler(c,t)},onClick:this._seriesClickHandler,onContextMenu:this._seriesRightClickHandler,fill:s||"#12939A",style:d,d:y(c,h,m),transform:"translate(".concat(l,",").concat(p,")")})}}])&&p(t.prototype,n),u&&p(t,u),g}(s.default);g.displayName="PolygonSeries";const v=g},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>d});var r=n(242),i=n(1379),o=n(1589);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function s(){return s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s.apply(this,arguments)}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function c(e,t){return c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},c(e,t)}function l(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=f(e);if(t){var i=f(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===a(t)||"function"==typeof t))return t;return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,n)}}function f(e){return f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},f(e)}var p=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&c(e,t)}(f,e);var t,n,i,a=l(f);function f(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,f),a.apply(this,arguments)}
51return t=f,i=[{key:"getParentConfig",value:function(e){return{isDomainAdjustmentNeeded:"x"===e,zeroBaseValue:"y"===e}}}],(n=[{key:"render",value:function(){return r.default.createElement(o.default,s({},this.props,{linePosAttr:"x",valuePosAttr:"y",lineSizeAttr:"width",valueSizeAttr:"height"}))}}])&&u(t.prototype,n),i&&u(t,i),f}(i.default);p.displayName="VerticalBarSeries";const d=p},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var r=n(1379),i=n(1591);function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){u(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function l(e,t){return l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},l(e,t)}function f(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=p(e);if(t){var i=p(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===o(t)||"function"==typeof t))return t;return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,n)}}function p(e){return p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},p(e)}var d=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&l(e,t)}(a,e);var t,n,r,o=f(a);function a(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),o.apply(this,arguments)}return t=a,r=[{key:"getParentConfig",value:function(e){return{isDomainAdjustmentNeeded:"x"===e,zeroBaseValue:"y"===e}}},{key:"renderLayer",value:function(e,t){i.default.renderLayer(s(s({},e),{},{linePosAttr:"x",valuePosAttr:"y",lineSizeAttr:"width",valueSizeAttr:"height"}),t)}},{key:"requiresSVG",get:function(){return!1}},{key:"isCanvas",get:function(){return!0}}],(n=[{key:"render",value:function(){return null}}])&&c(t.prototype,n),r&&c(t,r),a}(r.default);d.displayName="HorizontalBarSeriesCanvas",d.propTypes=s({},r.default.propTypes);const h=d},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var r=n(242),i=n(244),o=n.n(i),a=n(1581);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){c(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var l=n(1549).DIRECTION.VERTICAL,f=u(u({}
51,a.default.propTypes),{},{direction:o().oneOf([l])}),p={direction:l,attr:"x"};function d(e){return r.default.createElement(a.default,e)}d.displayName="VerticalGridLines",d.propTypes=f,d.defaultProps=p,d.requiresSVG=!0;const h=d},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>d});var r=n(242),i=n(1379),o=n(1594);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function s(){return s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s.apply(this,arguments)}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function c(e,t){return c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},c(e,t)}function l(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=f(e);if(t){var i=f(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===a(t)||"function"==typeof t))return t;return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,n)}}function f(e){return f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},f(e)}var p=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&c(e,t)}(f,e);var t,n,i,a=l(f);function f(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,f),a.apply(this,arguments)}return t=f,i=[{key:"getParentConfig",value:function(e){return{isDomainAdjustmentNeeded:!1,zeroBaseValue:"y"===e}}}],(n=[{key:"render",value:function(){return r.default.createElement(o.default,s({},this.props,{linePosAttr:"x",valuePosAttr:"y",lineSizeAttr:"width",valueSizeAttr:"height"}))}}])&&u(t.prototype,n),i&&u(t,i),f}(i.default);p.displayName="VerticalRectSeries";const d=p},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var r=n(1379),i=n(1596);function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){u(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function l(e,t){return l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},l(e,t)}function f(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=p(e);if(t){var i=p(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===o(t)||"function"==typeof t))return t;return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,n)}}
51function p(e){return p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},p(e)}var d=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&l(e,t)}(a,e);var t,n,r,o=f(a);function a(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),o.apply(this,arguments)}return t=a,r=[{key:"getParentConfig",value:function(e){return{isDomainAdjustmentNeeded:!1,zeroBaseValue:"y"===e}}},{key:"renderLayer",value:function(e,t){i.default.renderLayer(s(s({},e),{},{linePosAttr:"x",valuePosAttr:"y",lineSizeAttr:"width",valueSizeAttr:"height"}),t)}},{key:"requiresSVG",get:function(){return!1}},{key:"isCanvas",get:function(){return!0}}],(n=[{key:"render",value:function(){return null}}])&&c(t.prototype,n),r&&c(t,r),a}(r.default);d.displayName="HorizontalRectSeriesCanvas",d.propTypes=s({},r.default.propTypes);const h=d},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var r=n(242),i=n(244),o=n.n(i),a=n(1380),s=n(1420),u=n(1483);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){f(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function f(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var p=function(e){return e};function d(e){var t,n,i,o,c,f=e.className,p=e.extent,d=e.nodes,h=e.onBlur,m=e.onClick,y=e.onMouseUp,g=e.onMouseDown,v=e.onHover,b=e.polygonStyle,_=e.style,E=e.x,S=e.y,w=(0,a.voronoi)().x(E||(0,s.getAttributeFunctor)(e,"x")).y(S||(0,s.getAttributeFunctor)(e,"y")).extent(p||(n=(t=e).innerWidth,i=t.innerHeight,o=t.marginLeft,c=t.marginTop,[[o,c],[n+o,i+c]])).polygons(d),T=function(e){return function(t){t.preventDefault();var n=function(e){var t=e.nativeEvent,n=t.pageX,r=t.pageY,i=document.elementFromPoint(n,r);if(!i)return-1;var o=i.parentNode;return Array.prototype.indexOf.call(o.childNodes,i)}(t);if(n>-1&&n<w.length){var r=w[n];e(r.data)}}};return r.default.createElement("g",{className:(0,u.getCombinedClassName)(f,"rv-voronoi"),style:_,onTouchEnd:T(y),onTouchStart:T(g),onTouchMove:T(v),onTouchCancel:T(h)},w.map((function(e,t){return r.default.createElement("path",{className:"rv-voronoi__cell ".concat(e.data&&e.data.className||""),d:"M".concat(e.join("L"),"Z"),onClick:function(){return m(e.data)},onMouseUp:function(){return y(e.data)},onMouseDown:function(){return g(e.data)},onMouseOver:function(){return v(e.data)},onMouseOut:function(){return h(e.data)},fill:"none",style:l(l({pointerEvents:"all"},b),e.data&&e.data.style),key:t})})))}d.requiresSVG=!0,d.displayName="Voronoi",d.defaultProps={className:"",onBlur:p,onClick:p,onHover:p,onMouseDown:p,onMouseUp:p},d.propTypes={className:o().string,extent:o().arrayOf(o().arrayOf(o().number)),nodes:o().arrayOf(o().object).isRequired,onBlur:o().func,onClick:o().func,onHover:o().func,onMouseDown:o().func,onMouseUp:o().func,x:o().func,y:o().func};const h=d},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>E});var r=n(242),i=n(244),o=n.n(i),a=n(1390),s=n(1481),u=n(1483),c=n(1482),l=n(1379);function f(e){return f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},f(e)}function p(){return p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},p.apply(this,arguments)}function d(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}
51function h(e,t){return h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},h(e,t)}function m(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=y(e);if(t){var i=y(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===f(t)||"function"==typeof t))return t;return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,n)}}function y(e){return y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},y(e)}function g(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?g(Object(n),!0).forEach((function(t){b(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function b(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var _=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h(e,t)}(l,e);var t,n,i,o=m(l);function l(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),o.apply(this,arguments)}return t=l,(n=[{key:"render",value:function(){var e=this.props,t=e.animation,n=e.className,i=e.crossBarWidth,o=e.data,f=e.marginLeft,d=e.marginTop,h=e.strokeWidth,m=e.style;if(!o)return null;if(t)return r.default.createElement(a.default,p({},this.props,{animatedProps:s.ANIMATED_SERIES_PROPS}),r.default.createElement(l,p({},this.props,{animation:null})));var y={crossBarWidth:i,opacityFunctor:this._getAttributeFunctor("opacity"),sizeFunctor:this._getAttributeFunctor("size"),strokeFunctor:this._getAttributeFunctor("stroke")||this._getAttributeFunctor("color"),strokeWidth:h,style:m,xFunctor:this._getAttributeFunctor("x"),yFunctor:this._getAttributeFunctor("y"),valueClickHandler:this._valueClickHandler,valueRightClickHandler:this._valueRightClickHandler,valueMouseOverHandler:this._valueMouseOverHandler,valueMouseOutHandler:this._valueMouseOutHandler};return r.default.createElement("g",{className:(0,u.getCombinedClassName)("rv-xy-plot__series rv-xy-plot__series--whisker",n),transform:"translate(".concat(f,",").concat(d,")")},o.map(function(e){return function(t,n){var i=e.crossBarWidth,o=e.opacityFunctor,a=e.sizeFunctor,s=e.strokeFunctor,u=e.strokeWidth,l=e.style,f=e.valueClickHandler,p=e.valueMouseOutHandler,d=e.valueMouseOverHandler,h=e.valueRightClickHandler,m=e.xFunctor,y=e.yFunctor,g=a?a(t):0,b=m(t),_=y(t),E=m({x:t.x+t.xVariance/2}),S=m({x:t.x-t.xVariance/2}),w=y({y:t.y+t.yVariance/2}),T=y({y:t.y-t.yVariance/2}),O=E&&b+g<E,x=w&&_-g>w;if(!O&&!x)return null;var k=v({opacity:o?o(t):c.DEFAULT_OPACITY,stroke:s&&s(t),strokeWidth:u||1},l),R=i/2,N={x1:b+g,y1:_,x2:E,y2:_,style:k},A={x1:b-g,y1:_,x2:S,y2:_,style:k},I={x1:E,y1:_-R,x2:E,y2:_+R,style:k},D={x1:S,y1:_-R,x2:S,y2:_+R,style:k},C={x1:b,y1:_-g,x2:b,y2:w,style:k},P={x1:b,y1:_+g,x2:b,y2:T,style:k},L={x1:b-R,y1:w,x2:b+R,y2:w,style:k},M={x1:b-R,y1:T,x2:b+R,y2:T,style:k};return r.default.createElement("g",{className:"mark-whiskers",key:n,onClick:function(e){return f(t,e)},onContextMenu:function(e){return h(t,e)},onMouseOver:function(e){return d(t,e)},onMouseOut:function(e){return p(t,e)}},O?r.default.createElement("g",{className:"x-whiskers"},r.default.createElement("line",N),r.default.createElement("line",A),r.default.createElement("line",I),r.default.createElement("line",D)):null,x?r.default.createElement("g",{className:"y-whiskers"},r.default.createElement("line",C),r.default.createElement("line",P),r.default.createElement("line",L),r.default.createElement("line",M)):null)}}(y)))}}])&&d(t.prototype,n),i&&d(t,i),l}(l.default);_.displayName="WhiskerSeries",_.propTypes=v(v({}
51,l.default.propTypes),{},{strokeWidth:o().number}),_.defaultProps=v(v({},l.default.defaultProps),{},{crossBarWidth:6,size:0,strokeWidth:1});const E=_},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>A});var r=n(242),i=n(244),o=n.n(i),a=n(1613),s=n.n(a),u=n(1483),c=n(1420),l=n(1481),f=n(1632),p=n(1390),d=n(1482),h=n(1633);function m(e){return m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},m(e)}function y(e){return function(e){if(Array.isArray(e))return g(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return g(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return g(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function g(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function v(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function b(e,t,n){return t&&v(e.prototype,t),n&&v(e,n),e}function _(e,t){return _=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},_(e,t)}function E(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=w(e);if(t){var i=w(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===m(t)||"function"==typeof t))return t;return S(e)}(this,n)}}function S(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function w(e){return w=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},w(e)}function T(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function O(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?T(Object(n),!0).forEach((function(t){x(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):T(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function x(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var k=["x","y","radius","angle","color","fill","stroke","opacity","size"];function R(e){return e.map((function(e){return Array.isArray(e)?e.map((function(e){return O(O({},e),{},{parent:null})})):e}))}var N=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_(e,t)}(n,e);var t=E(n);function n(e){var r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),x(S(r=t.call(this,e)),"_clickHandler",(function(e){var t=r.props.onClick;t&&t(e)})),x(S(r),"_doubleClickHandler",(function(e){var t=r.props.onDoubleClick;t&&t(e)})),x(S(r),"_mouseDownHandler",(function(e){var t=r.props,n=t.onMouseDown,i=t.children;n&&n(e),(0,l.getSeriesChildren)(i).forEach((function(t,n){var i=r["series".concat(n)];i&&i.onParentMouseDown&&i.onParentMouseDown(e)}))})),x(S(r),"_mouseEnterHandler",(function(e){var t=r.props,n=t.onMouseEnter,i=t.children;
51n&&n(e),(0,l.getSeriesChildren)(i).forEach((function(t,n){var i=r["series".concat(n)];i&&i.onParentMouseEnter&&i.onParentMouseEnter(e)}))})),x(S(r),"_mouseLeaveHandler",(function(e){var t=r.props,n=t.onMouseLeave,i=t.children;n&&n(e),(0,l.getSeriesChildren)(i).forEach((function(t,n){var i=r["series".concat(n)];i&&i.onParentMouseLeave&&i.onParentMouseLeave(e)}))})),x(S(r),"_mouseMoveHandler",(function(e){var t=r.props,n=t.onMouseMove,i=t.children;n&&n(e),(0,l.getSeriesChildren)(i).forEach((function(t,n){var i=r["series".concat(n)];i&&i.onParentMouseMove&&i.onParentMouseMove(e)}))})),x(S(r),"_mouseUpHandler",(function(e){var t=r.props,n=t.onMouseUp,i=t.children;n&&n(e),(0,l.getSeriesChildren)(i).forEach((function(t,n){var i=r["series".concat(n)];i&&i.onParentMouseUp&&i.onParentMouseUp(e)}))})),x(S(r),"_touchCancelHandler",(function(e){var t=r.props.onTouchCancel;t&&t(e)})),x(S(r),"_touchEndHandler",(function(e){var t=r.props.onTouchEnd;t&&t(e)})),x(S(r),"_touchMoveHandler",(function(e){var t=r.props,n=t.onTouchMove,i=t.children;n&&n(e),(0,l.getSeriesChildren)(i).forEach((function(t,n){var i=r["series".concat(n)];i&&i.onParentTouchMove&&i.onParentTouchMove(e)}))})),x(S(r),"_touchStartHandler",(function(e){var t=r.props,n=t.onTouchStart,i=t.children;n&&n(e),(0,l.getSeriesChildren)(i).forEach((function(t,n){var i=r["series".concat(n)];i&&i.onParentTouchStart&&i.onParentTouchStart(e)}))}));var i=e.stackBy,o=(0,l.getSeriesChildren)(e.children),a=(0,l.getStackedData)(o,i);return r.state={scaleMixins:r._getScaleMixins(a,e),data:a},r}return b(n,null,[{key:"defaultProps",get:function(){return{className:""}}},{key:"propTypes",get:function(){return{animation:p.AnimationPropType,className:o().string,dontCheckIfEmpty:o().bool,height:o().number.isRequired,margin:f.MarginPropType,onClick:o().func,onDoubleClick:o().func,onMouseDown:o().func,onMouseUp:o().func,onMouseEnter:o().func,onMouseLeave:o().func,onMouseMove:o().func,onTouchStart:o().func,onTouchMove:o().func,onTouchEnd:o().func,onTouchCancel:o().func,onWheel:o().func,stackBy:o().oneOf(k),style:o().object,width:o().number.isRequired}}}]),b(n,[{key:"UNSAFE_componentWillReceiveProps",value:function(e){var t=(0,l.getSeriesChildren)(e.children),n=(0,l.getStackedData)(t,e.stackBy),r=this.state.scaleMixins,i=this._getScaleMixins(n,e);(function(e,t,n){var r=O(O({},e),{},{_allData:n?R(e._allData):e._allData}),i=O(O({},t),{},{_allData:n?R(t._allData):t._allData});return s()(r,i)})(i,r,e.hasTreeStructure)||this.setState({scaleMixins:i,data:n})}},{key:"_getClonedChildComponents",value:function(){var e=this,t=this.props,n=this.props.animation,i=this.state,o=i.scaleMixins,a=i.data,s=(0,f.getInnerDimensions)(this.props,f.DEFAULT_MARGINS),u=r.default.Children.toArray(this.props.children),p=(0,l.getSeriesPropsFromChildren)(u),d=(0,c.getXYPlotValues)(t,u);return u.map((function(t,i){var u=null;if(p[i]){var c=p[i].seriesIndex;u={data:a[c]}}return r.default.cloneElement(t,O(O(O(O(O(O(O({},s),{},{animation:n},u&&t.type.prototype&&t.type.prototype.render?{ref:function(t){return e["series".concat(p[i].seriesIndex)]=t}}:{}),p[i]),o),t.props),d[i]),u))}))}},{key:"_getDefaultScaleProps",value:function(e){var t=(0,f.getInnerDimensions)(e,f.DEFAULT_MARGINS),n=t.innerWidth,r=t.innerHeight,i=["color","fill","stroke"].reduce((function(t,n){var r="category"===e["".concat(n,"Type")]?d.EXTENDED_DISCRETE_COLOR_RANGE:d.CONTINUOUS_COLOR_RANGE;return O(O({},t),{},x({},"".concat(n,"Range"),r))}),{});return O(O({xRange:[0,n],yRange:[r,0]},i),{},{opacityType:d.OPACITY_TYPE,sizeRange:d.SIZE_RANGE})}},{key:"_getScaleMixins",value:function(e,t){var n,r=e.filter((function(e){return e})),i=(n=[]).concat.apply(n,y(r)),o=this._getDefaultScaleProps(t),a=(0,c.getOptionalScaleProps)(t),s=(0,c.extractScalePropsFromProps)(t,k),u=(0,c.getMissingScaleProps)(O(O(O({},o),a),s),i,k),f=(0,l.getSeriesChildren)(t.children),p={},d=new Set,h=new Set;return f.forEach((function(n,r){n&&e[r]&&k.forEach((function(e){var i=n.type.getParentConfig(e,n.props),o=i.isDomainAdjustmentNeeded,a=i.zeroBaseValue;if(o&&(d.add(e),h.add(r)),a){var s=t["".concat(e,"Domain")];p["".concat(e,"BaseValue")]=s?s[0]:0}}))})),O(O(O(O(O({},o),p),s),u),{},{_allData:e,_adjustBy:Array.from(d),_adjustWhat:Array.from(h),_stackBy:t.stackBy})}},{key:"_isPlotEmpty",value:function(){var e=this.state.data;return!e||!e.length||!e.some((function(e){return e&&e.some((function(e){return e}))}))}},{key:"renderCanvasComponents",value:function(e){var t=e.filter((function(e){return e&&!e.type.requiresSVG&&e.type.isCanvas}));if(0===t.length)return null;var n=t[0].props,i=n.marginLeft,o=n.marginTop,a=n.marginBottom,s=n.marginRight,u=n.innerHeight,c=n.innerWidth;return r.default.createElement(h.default,{innerHeight:u,innerWidth:c,marginLeft:i,marginTop:o,marginBottom:a,marginRight:s},t)}},{key:"render",value:function(){var e=this.props,t=e.className,n=e.dontCheckIfEmpty,i=e.style,o=e.width,a=e.height,s=e.onWheel;if(!n&&this._isPlotEmpty())return r.default.createElement("div",{className:(0,u.getCombinedClassName)("rv-xy-plot",t),style:O({width:"".concat(o,"px"),height:"".concat(a,"px")},this.props.style)});var c=this._getClonedChildComponents();return r.default.createElement("div",{style:{width:"".concat(o,"px"),height:"".concat(a,"px")},className:(0,u.getCombinedClassName)("rv-xy-plot",t)},r.default.createElement("svg",{className:"rv-xy-plot__inner",width:o,height:a,style:i,onClick:this._clickHandler,onDoubleClick:this._doubleClickHandler,onMouseDown:this._mouseDownHandler,onMouseUp:this._mouseUpHandler,onMouseMove:this._mouseMoveHandler,onMouseLeave:this._mouseLeaveHandler,onMouseEnter:this._mouseEnterHandler,onTouchStart:this._mouseDownHandler,onTouchMove:this._touchMoveHandler,onTouchEnd:this._touchEndHandler,onTouchCancel:this._touchCancelHandler,onWheel:s},c.filter((function(e){return e&&e.type.requiresSVG}
vendor: 4,164 bytes, line 51
51))),this.renderCanvasComponents(c),c.filter((function(e){return e&&!e.type.requiresSVG&&!e.type.isCanvas})))}}]),n}(r.default.Component);N.displayName="XYPlot";const A=N},(e,t,n)=>{var r=n(1614),i=n(145),o=n(1617),a=n(1624),s=n(1625),u=n(1631),c=Date.prototype.getTime;function l(e,t,n){var d=n||{};return!!(d.strict?o(e,t):e===t)||(!e||!t||"object"!=typeof e&&"object"!=typeof t?d.strict?o(e,t):e==t:function(e,t,n){var o,d;if(typeof e!=typeof t)return!1;if(f(e)||f(t))return!1;if(e.prototype!==t.prototype)return!1;if(i(e)!==i(t))return!1;var h=a(e),m=a(t);if(h!==m)return!1;if(h||m)return e.source===t.source&&s(e)===s(t);if(u(e)&&u(t))return c.call(e)===c.call(t);var y=p(e),g=p(t);if(y!==g)return!1;if(y||g){if(e.length!==t.length)return!1;for(o=0;o<e.length;o++)if(e[o]!==t[o])return!1;return!0}if(typeof e!=typeof t)return!1;try{var v=r(e),b=r(t)}catch(e){return!1}if(v.length!==b.length)return!1;for(v.sort(),b.sort(),o=v.length-1;o>=0;o--)if(v[o]!=b[o])return!1;for(o=v.length-1;o>=0;o--)if(!l(e[d=v[o]],t[d],n))return!1;return!0}(e,t,d))}function f(e){return null==e}function p(e){return!(!e||"object"!=typeof e||"number"!=typeof e.length)&&("function"==typeof e.copy&&"function"==typeof e.slice&&!(e.length>0&&"number"!=typeof e[0]))}e.exports=l},(e,t,n)=>{"use strict";var r=Array.prototype.slice,i=n(1615),o=Object.keys,a=o?function(e){return o(e)}:n(1616),s=Object.keys;a.shim=function(){if(Object.keys){var e=function(){var e=Object.keys(arguments);return e&&e.length===arguments.length}(1,2);e||(Object.keys=function(e){return i(e)?s(r.call(e)):s(e)})}else Object.keys=a;return Object.keys||a},e.exports=a},e=>{"use strict";var t=Object.prototype.toString;e.exports=function(e){var n=t.call(e),r="[object Arguments]"===n;return r||(r="[object Array]"!==n&&null!==e&&"object"==typeof e&&"number"==typeof e.length&&e.length>=0&&"[object Function]"===t.call(e.callee)),r}},(e,t,n)=>{"use strict";var r;if(!Object.keys){var i=Object.prototype.hasOwnProperty,o=Object.prototype.toString,a=n(1615),s=Object.prototype.propertyIsEnumerable,u=!s.call({toString:null},"toString"),c=s.call((function(){}),"prototype"),l=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],f=function(e){var t=e.constructor;return t&&t.prototype===e},p={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},d=function(){if("undefined"==typeof window)return!1;for(var e in window)try{if(!p["$"+e]&&i.call(window,e)&&null!==window[e]&&"object"==typeof window[e])try{f(window[e])}catch(e){return!0}}catch(e){return!0}return!1}();r=function(e){var t=null!==e&&"object"==typeof e,n="[object Function]"===o.call(e),r=a(e),s=t&&"[object String]"===o.call(e),p=[];if(!t&&!n&&!r)throw new TypeError("Object.keys called on a non-object");var h=c&&n;if(s&&e.length>0&&!i.call(e,0))for(var m=0;m<e.length;++m)p.push(String(m));if(r&&e.length>0)for(var y=0;y<e.length;++y)p.push(String(y));else for(var g in e)h&&"prototype"===g||!i.call(e,g)||p.push(String(g));if(u)for(var v=function(e){if("undefined"==typeof window||!d)return f(e);try{return f(e)}catch(e){return!1}}(e),b=0;b<l.length;++b)v&&"constructor"===l[b]||!i.call(e,l[b])||p.push(l[b]);return p}}e.exports=r},(e,t,n)=>{"use strict";var r=n(1618),i=n(155),o=n(1621),a=n(1622),s=n(1623),u=i(a(),Object);r(u,{getPolyfill:a,implementation:o,shim:s}),e.exports=u},(e,t,n)=>{"use strict";var r=n(1614),i="function"==typeof Symbol&&"symbol"==typeof Symbol("foo"),o=Object.prototype.toString,a=Array.prototype.concat,s=n(1619),u=n(1620)(),c=function(e,t,n,r){if(t in e)if(!0===r){if(e[t]===n)return}else if("function"!=typeof(i=r)||"[object Function]"!==o.call(i)||!r())return;var i;u?s(e,t,n,!0):s(e,t,n)},l=function(e,t){var n=arguments.length>2?arguments[2]:{},o=r(t);i&&(o=a.call(o,Object.getOwnPropertySymbols(t)));for(var s=0;s<o.length;s+=1)c(e,o[s],t[o[s]],n[o[s]])};
51l.supportsDescriptors=!!u,e.exports=l},(e,t,n)=>{"use strict";var r=n(1620)(),i=n(149),o=r&&i("%Object.defineProperty%",!0),a=i("%SyntaxError%"),s=i("%TypeError%"),u=n(161);e.exports=function(e,t,n){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new s("`obj` must be an object or a function`");if("string"!=typeof t&&"symbol"!=typeof t)throw new s("`property` must be a string or a symbol`");if(arguments.length>3&&"boolean"!=typeof arguments[3]&&null!==arguments[3])throw new s("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!=typeof arguments[4]&&null!==arguments[4])throw new s("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!=typeof arguments[5]&&null!==arguments[5])throw new s("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!=typeof arguments[6])throw new s("`loose`, if provided, must be a boolean");var r=arguments.length>3?arguments[3]:null,i=arguments.length>4?arguments[4]:null,c=arguments.length>5?arguments[5]:null,l=arguments.length>6&&arguments[6],f=!!u&&u(e,t);if(o)o(e,t,{configurable:null===c&&f?f.configurable:!c,enumerable:null===r&&f?f.enumerable:!r,value:n,writable:null===i&&f?f.writable:!i});else{if(!l&&(r||i||c))throw new a("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");e[t]=n}}},(e,t,n)=>{"use strict";var r=n(149)("%Object.defineProperty%",!0),i=function(){if(r)try{return r({},"a",{value:1}),!0}catch(e){return!1}return!1};i.hasArrayLengthDefineBug=function(){if(!i())return null;try{return 1!==r([],"length",{value:1}).length}catch(e){return!0}},e.exports=i},e=>{"use strict";var t=function(e){return e!=e};e.exports=function(e,n){return 0===e&&0===n?1/e==1/n:e===n||!(!t(e)||!t(n))}},(e,t,n)=>{"use strict";var r=n(1621);e.exports=function(){return"function"==typeof Object.is?Object.is:r}},(e,t,n)=>{"use strict";var r=n(1622),i=n(1618);e.exports=function(){var e=r();return i(Object,{is:e},{is:function(){return Object.is!==e}}),e}},(e,t,n)=>{"use strict";var r,i,o,a,s=n(148),u=n(146)();if(u){r=s("Object.prototype.hasOwnProperty"),i=s("RegExp.prototype.exec"),o={};var c=function(){throw o};a={toString:c,valueOf:c},"symbol"==typeof Symbol.toPrimitive&&(a[Symbol.toPrimitive]=c)}var l=s("Object.prototype.toString"),f=Object.getOwnPropertyDescriptor;e.exports=u?function(e){if(!e||"object"!=typeof e)return!1;var t=f(e,"lastIndex");if(!(t&&r(t,"value")))return!1;try{i(e,a)}catch(e){return e===o}}:function(e){return!(!e||"object"!=typeof e&&"function"!=typeof e)&&"[object RegExp]"===l(e)}},(e,t,n)=>{"use strict";var r=n(1618),i=n(155),o=n(1626),a=n(1629),s=n(1630),u=i(a());r(u,{getPolyfill:a,implementation:o,shim:s}),e.exports=u},(e,t,n)=>{"use strict";var r=n(1627),i=Object,o=TypeError;e.exports=r((function(){if(null!=this&&this!==i(this))throw new o("RegExp.prototype.flags getter called on non-object");var e="";return this.hasIndices&&(e+="d"),this.global&&(e+="g"),this.ignoreCase&&(e+="i"),this.multiline&&(e+="m"),this.dotAll&&(e+="s"),this.unicode&&(e+="u"),this.unicodeSets&&(e+="v"),this.sticky&&(e+="y"),e}),"get flags",!0)},(e,t,n)=>{"use strict";var r=n(1619),i=n(1620)(),o=n(1628).functionsHaveConfigurableNames(),a=TypeError;e.exports=function(e,t){if("function"!=typeof e)throw new a("`fn` is not a function");return arguments.length>2&&!!arguments[2]&&!o||(i?r(e,"name",t,!0,!0):r(e,"name",t)),e}},e=>{"use strict";var t=function(){return"string"==typeof function(){}.name},n=Object.getOwnPropertyDescriptor;if(n)try{n([],"length")}catch(e){n=null}t.functionsHaveConfigurableNames=function(){if(!t()||!n)return!1;var e=n((function(){}),"name");return!!e&&!!e.configurable};var r=Function.prototype.bind;t.boundFunctionsHaveNames=function(){return t()&&"function"==typeof r&&""!==function(){}.bind().name},e.exports=t},(e,t,n)=>{"use strict";var r=n(1626),i=n(1618).supportsDescriptors,o=Object.getOwnPropertyDescriptor;e.exports=function(){if(i&&"gim"===/a/gim.flags){var e=o(RegExp.prototype,"flags");if(e&&"function"==typeof e.get&&"boolean"==typeof RegExp.prototype.dotAll&&"boolean"==typeof RegExp.prototype.hasIndices){var t="",n={};if(Object.defineProperty(n,"hasIndices",{get:function(){t+="d"}}),Object.defineProperty(n,"sticky",{get:function(){t+="y"}}),"dy"===t)return e.get}}return r}},(e,t,n)=>{"use strict";var r=n(1618).supportsDescriptors,i=n(1629),o=Object.getOwnPropertyDescriptor,a=Object.defineProperty,s=TypeError,u=Object.getPrototypeOf,c=/a/;e.exports=function(){if(!r||!u)throw new s("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors");var e=i(),t=u(c),n=o(t,"flags");return n&&n.get===e||a(t,"flags",{configurable:!0,enumerable:!1,get:e}),e}},(e,t,n)=>{"use strict";var r=Date.prototype.getDay,i=Object.prototype.toString,o=n(146)();e.exports=function(e){return"object"==typeof e&&null!==e&&(o?function(e){try{return r.call(e),!0}catch(e){return!1}}(e):"[object Date]"===i.call(e))}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{DEFAULT_MARGINS:()=>f,MarginPropType:()=>l,getInnerDimensions:()=>u,getRadialLayoutMargin:()=>c});var r=n(244),i=n.n(r);function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
51t%2?o(Object(n),!0).forEach((function(t){s(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function u(e,t){var n=e.margin,r=e.width,i=e.height,o=a(a({},t),"number"==typeof n?{left:n,right:n,top:n,bottom:n}:n),s=o.left,u=void 0===s?0:s,c=o.top,l=void 0===c?0:c,f=o.right,p=void 0===f?0:f,d=o.bottom,h=void 0===d?0:d;return{marginLeft:u,marginTop:l,marginRight:p,marginBottom:h,innerHeight:i-h-l,innerWidth:r-u-p}}function c(e,t,n){var r=e/2-n,i=t/2-n;return{bottom:i,left:r,right:r,top:i}}var l=i().oneOfType([i().shape({left:i().number,top:i().number,right:i().number,bottom:i().number}),i().number]),f={left:40,right:10,top:10,bottom:40}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>_});var r=n(242),i=n(244),o=n.n(i),a=n(1406),s=n(1390),u=n(1481);function c(e){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}function l(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function f(e,t){return f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},f(e,t)}function p(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=d(e);if(t){var i=d(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===c(t)||"function"==typeof t))return t;return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,n)}}function d(e){return d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},d(e)}function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function m(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach((function(t){y(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function y(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var g=30;function v(e,t,n,r,i){e.clearRect(0,0,n,t),r.forEach((function(t){var n=t.interpolator,r=t.newProps,o=t.animation?n?n(i/g):n:function(){return{}};t.renderLayer(m(m({},r),o),e)}))}var b=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&f(e,t)}(c,e);var t,n,i,o=p(c);function c(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),o.apply(this,arguments)}return t=c,i=[{key:"defaultProps",get:function(){return{pixelRatio:window&&window.devicePixelRatio||1}}}],(n=[{key:"componentDidMount",value:function(){var e=this.canvas.getContext("2d");if(e){var t=this.props.pixelRatio;e&&(e.scale(t,t),this.drawChildren(null,this.props,e))}}},{key:"componentDidUpdate",value:function(e){this.drawChildren(e,this.props,this.canvas.getContext("2d"))}},{key:"drawChildren",value:function(e,t,n){var r=t.children,i=t.innerHeight,o=t.innerWidth,c=t.marginBottom,l=t.marginLeft,f=t.marginRight,p=t.marginTop;if(n){var d,h,y=r.find((function(e){return e.props.animation})),b=i+p+c,_=o+l+f,E=(d=t.children,h=e?e.children:[],d.map((function(e,t){var n=h[t]?h[t].props:{},r=e.props,i=(0,s.extractAnimatedPropValues)(m(m({},n),{},{animatedProps:u.ANIMATED_SERIES_PROPS})),o=r?(0,s.extractAnimatedPropValues)(m(m({},r),{},{animatedProps:u.ANIMATED_SERIES_PROPS})):null,c=(0,a.default)(i,o);return{renderLayer:e.type.renderLayer,newProps:e.props,animation:e.props.animation,interpolator:c}})));y?function(e,t,n,r){var i=0,o=setInterval((function(){e?(v(e,t,n,r,i),i>g&&clearInterval(o),i+=1):clearInterval(o)}),1)}(n,b,_,E):v(n,b,_,E)}}},{key:"render",value:function(){var e=this,t=this.props,n=t.innerHe
51ight,i=t.innerWidth,o=t.marginBottom,a=t.marginLeft,s=t.marginRight,u=t.marginTop,c=t.pixelRatio,l=n+u+o,f=i+a+s;return r.default.createElement("div",{style:{left:0,top:0},className:"rv-xy-canvas"},r.default.createElement("canvas",{className:"rv-xy-canvas-element",height:l*c,width:f*c,style:{height:"".concat(l,"px"),width:"".concat(f,"px")},ref:function(t){return e.canvas=t}}),this.props.children)}}])&&l(t.prototype,n),i&&l(t,i),c}(r.Component);b.displayName="CanvasWrapper",b.propTypes={marginBottom:o().number.isRequired,marginLeft:o().number.isRequired,marginRight:o().number.isRequired,marginTop:o().number.isRequired,innerHeight:o().number.isRequired,innerWidth:o().number.isRequired,pixelRatio:o().number.isRequired};const _=b},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>y});var r=n(242),i=n(244),o=n.n(i),a=n(1549),s=n(1635);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){l(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var f=a.ORIENTATION.TOP,p=a.ORIENTATION.BOTTOM,d=c(c({},s.default.propTypes),{},{orientation:o().oneOf([f,p])}),h={orientation:p,attr:"x",attrAxis:"y"};function m(e){return r.default.createElement(s.default,e)}m.displayName="XAxis",m.propTypes=d,m.defaultProps=h,m.requiresSVG=!0;const y=m},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>A});var r=n(242),i=n(244),o=n.n(i),a=n(1390),s=n(1549),u=n(1420),c=n(1483),l=n(1636),f=n(1637),p=n(1638);function d(e){return d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},d(e)}function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function m(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach((function(t){y(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function y(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function g(){return g=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},g.apply(this,arguments)}function v(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function b(e,t){return b=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},b(e,t)}function _(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=E(e);if(t){var i=E(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===d(t)||"function"==typeof t))return t;return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,n)}}function E(e){return E=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},E(e)}var S=["xRange","yRange","xDomain","yDomain","width","height","marginLeft","marginTop","marginRight","marginBottom","tickSize","t
51ickTotal","tickSizeInner","tickSizeOuter"],w=s.ORIENTATION.LEFT,T=s.ORIENTATION.RIGHT,O=s.ORIENTATION.TOP,x=s.ORIENTATION.BOTTOM,k={orientation:o().oneOf([w,T,O,x]),attr:o().string.isRequired,attrAxis:o().string,width:o().number,height:o().number,top:o().number,left:o().number,title:o().string,style:o().object,className:o().string,hideTicks:o().bool,hideLine:o().bool,on0:o().bool,tickLabelAngle:o().number,tickSize:o().number,tickSizeInner:o().number,tickSizeOuter:o().number,tickPadding:o().number,tickValues:o().arrayOf(o().oneOfType([o().number,o().string])),tickFormat:o().func,tickTotal:o().number,marginTop:o().number,marginBottom:o().number,marginLeft:o().number,marginRight:o().number,innerWidth:o().number,innerHeight:o().number},R={className:"",on0:!1,style:{},tickSize:6,tickPadding:8,orientation:x},N=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&b(e,t)}(d,e);var t,n,i,o=_(d);function d(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,d),o.apply(this,arguments)}return t=d,(n=[{key:"_getDefaultAxisProps",value:function(){var e=this.props,t=e.innerWidth,n=e.innerHeight,r=e.marginTop,i=e.marginBottom,o=e.marginLeft,a=e.marginRight,u=e.orientation;return u===x?{tickTotal:(0,s.getTicksTotalFromSize)(t),top:n+r,left:o,width:t,height:i}:u===O?{tickTotal:(0,s.getTicksTotalFromSize)(t),top:0,left:o,width:t,height:r}:u===w?{tickTotal:(0,s.getTicksTotalFromSize)(n),top:r,left:0,width:o,height:n}:{tickTotal:(0,s.getTicksTotalFromSize)(n),top:r,left:o+t,width:a,height:n}}},{key:"render",value:function(){var e=this.props.animation;if(e){var t=e.nonAnimatedProps?S.filter((function(t){return e.nonAnimatedProps.indexOf(t)<0})):S;return r.default.createElement(a.default,g({},this.props,{animatedProps:t}),r.default.createElement(d,g({},this.props,{animation:null})))}var n=m(m({},this._getDefaultAxisProps()),this.props),i=n.attrAxis,o=n.className,s=n.height,h=n.hideLine,y=n.hideTicks,v=n.left,b=n.marginTop,_=n.on0,E=n.orientation,O=n.position,x=n.style,k=n.title,R=n.top,N=n.width,A=[w,T].indexOf(E)>-1,I=A?"rv-xy-plot__axis--vertical":"rv-xy-plot__axis--horizontal",D=v,C=R;if(_){var P=(0,u.getAttributeScale)(n,i);A?D=P(0):C=b+P(0)}return r.default.createElement("g",{transform:"translate(".concat(D,",").concat(C,")"),className:(0,c.getCombinedClassName)("rv-xy-plot__axis",I,o),style:x},!h&&r.default.createElement(l.default,{height:s,width:N,orientation:E,style:m(m({},x),x.line)}),!y&&r.default.createElement(f.default,g({},n,{style:m(m({},x),x.ticks)})),k?r.default.createElement(p.default,{position:O,title:k,height:s,width:N,style:m(m({},x),x.title),orientation:E}):null)}}])&&v(t.prototype,n),i&&v(t,i),d}(r.PureComponent);N.displayName="Axis",N.propTypes=k,N.defaultProps=R,N.requiresSVG=!0;const A=N},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var r=n(242),i=n(244),o=n.n(i),a=n(1549);function s(){return s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s.apply(this,arguments)}var u=a.ORIENTATION.LEFT,c=a.ORIENTATION.RIGHT,l=a.ORIENTATION.TOP,f=a.ORIENTATION.BOTTOM,p={height:o().number.isRequired,style:o().object,orientation:o().oneOf([u,c,l,f]).isRequired,width:o().number.isRequired};function d(e){var t,n=e.orientation,i=e.width,o=e.height,a=e.style;return t=n===u?{x1:i,x2:i,y1:0,y2:o}:n===c?{x1:0,x2:0,y1:0,y2:o}:n===l?{x1:0,x2:i,y1:o,y2:o}:{x1:0,x2:i,y1:0,y2:0},r.default.createElement("line",s({},t,{className:"rv-xy-plot__axis__line",style:a}))}d.defaultProps={style:{}},d.displayName="AxisLine",d.propTypes=p;const h=d},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>w});var r=n(242),i=n(244),o=n.n(i),a=n(1549),s=n(1420);function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function c(){return c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c.apply(this,arguments)}function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
51t%2?l(Object(n),!0).forEach((function(t){p(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function p(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function d(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function h(e,t){return h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},h(e,t)}function m(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=y(e);if(t){var i=y(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===u(t)||"function"==typeof t))return t;return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,n)}}function y(e){return y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},y(e)}var g=a.ORIENTATION.LEFT,v=a.ORIENTATION.RIGHT,b=a.ORIENTATION.TOP,_=a.ORIENTATION.BOTTOM,E={height:o().number.isRequired,orientation:o().oneOf([g,v,b,_]).isRequired,style:o().object,width:o().number.isRequired};var S=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h(e,t)}(u,e);var t,n,i,o=m(u);function u(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u),o.apply(this,arguments)}return t=u,(n=[{key:"_areTicksWrapped",value:function(){var e=this.props.orientation;return e===g||e===b}},{key:"_getTickContainerPropsGetterFn",value:function(){return this._isAxisVertical()?function(e){return{transform:"translate(0, ".concat(e,")")}}:function(e){return{transform:"translate(".concat(e,", 0)")}}}},{key:"_getTickLabelProps",value:function(){var e,t=this.props,n=t.orientation,r=t.tickLabelAngle,i=t.tickSize,o=t.tickSizeOuter,a=void 0===o?i:o,s=t.tickPadding,u=void 0===s?i:s;e=n===g||n===_&&r?"end":n===v||n===b&&r?"start":"middle";var c=this._isAxisVertical(),l=(this._areTicksWrapped()?-1:1)*(a+u),f=(c?"translate(".concat(l,", 0)"):"translate(0, ".concat(l,")"))+(r?" rotate(".concat(r,")"):"");return{textAnchor:e,dy:n===b||r?"0":n===_?"0.72em":"0.32em",transform:f}}},{key:"_getTickLineProps",value:function(){var e,t=this.props,n=t.tickSize,r=t.tickSizeOuter,i=void 0===r?n:r,o=t.tickSizeInner,a=void 0===o?n:o,s=this._isAxisVertical(),u=s?"y":"x",c=s?"x":"y",l=this._areTicksWrapped()?-1:1;return p(e={},"".concat(u,"1"),0),p(e,"".concat(u,"2"),0),p(e,"".concat(c,"1"),-l*a),p(e,"".concat(c,"2"),l*i),e}},{key:"_isAxisVertical",value:function(){var e=this.props.orientation;return e===g||e===v}},{key:"render",value:function(){var e=this.props,t=e.attr,n=e.orientation,i=e.width,o=e.height,u=e.style,l=e.tickFormat,p=e.tickTotal,d=e.tickValues,h=n===g?i:0,m=n===b?o:0,y=(0,s.getAttributeScale)(this.props,t),v=(0,a.getTickValues)(y,p,d),_=function(e,t,n){return n||(e.tickFormat?e.tickFormat(t):function(e){return e})}(y,p,l),E=this._getTickContainerPropsGetterFn(),S=this._getTickLineProps(),w=this._getTickLabelProps(),T=v.map((function(e,t){var n=y(e),o=_(e,t,y,p),a=r.default.isValidElement(o)&&!["tspan","textPath"].includes(o.type),s=o&&"string"!=typeof o.type;return r.default.createElement("g",c({key:t},E(n,0),{className:"rv-xy-plot__axis__tick",style:u}),r.default.createElement("line",c({},S,{className:"rv-xy-plot__axis__tick__line",style:f(f({},u),u.line)})),a?r.default.cloneElement(o,s?f(f({},w),{},{containerWidth:i,tickCount:v.length}):void 0):r.default.createElement("text",c({},w,{className:"rv-xy-plot__axis__tick__text",style:f(f({},u),u.text)}),o))}));return r.default.createElement("g",{transform:"translate(".concat(h,", ").concat(m,")"),className:"rv-xy-plot__axis__ticks"},T)}}])&&d(t.prototype,n),i&&d(t,i),u}(r.default.Component);S.defaultProps={style:{}},S.displayName="AxisTicks",S.propTypes=E,S.requiresSVG=!0;const w=S},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>g});var r=n(242),i=n(244),o=n.n(i),a=n(1549);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
51t%2?s(Object(n),!0).forEach((function(t){c(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var l=16,f=a.ORIENTATION.LEFT,p=a.ORIENTATION.RIGHT,d=a.ORIENTATION.TOP,h=a.ORIENTATION.BOTTOM,m={width:o().number.isRequired,height:o().number.isRequired,orientation:o().oneOf([f,p,d,h]).isRequired,style:o().object,title:o().string.isRequired};function y(e){var t=e.orientation,n=e.position,i=e.width,o=e.height,a=e.style,s=e.title,m=t===d?o:0,y="translate(".concat(t===f?i:0,", ").concat(m,")"),g=function(e,t){var n;return c(n={},f,{end:{x:l,y:6,rotation:-90,textAnchor:"end"},middle:{x:l,y:t/2-6,rotation:-90,textAnchor:"middle"},start:{x:l,y:t-6,rotation:-90,textAnchor:"start"}}),c(n,p,{end:{x:-8,y:6,rotation:-90,textAnchor:"end"},middle:{x:-8,y:t/2-6,rotation:-90,textAnchor:"middle"},start:{x:-8,y:t-6,rotation:-90,textAnchor:"start"}}),c(n,d,{start:{x:6,y:l,rotation:0,textAnchor:"start"},middle:{x:e/2-6,y:l,rotation:0,textAnchor:"middle"},end:{x:e-6,y:l,rotation:0,textAnchor:"end"}}),c(n,h,{start:{x:6,y:-6,rotation:0,textAnchor:"start"},middle:{x:e/2-6,y:-6,rotation:0,textAnchor:"middle"},end:{x:e-6,y:-6,rotation:0,textAnchor:"end"}}),n}(i,o)[t][n],v=g.x,b=g.y,_=g.rotation,E=g.textAnchor,S="translate(".concat(v,", ").concat(b,") rotate(").concat(_,")");return r.default.createElement("g",{transform:y,className:"rv-xy-plot__axis__title"},r.default.createElement("g",{style:u({textAnchor:E},a),transform:S},r.default.createElement("text",{style:a},s)))}y.displayName="AxisTitle",y.propTypes=m,y.defaultProps={position:"end"};const g=y},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>y});var r=n(242),i=n(244),o=n.n(i),a=n(1549),s=n(1635);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){l(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var f=a.ORIENTATION.LEFT,p=a.ORIENTATION.RIGHT,d=c(c({},s.default.propTypes),{},{orientation:o().oneOf([f,p])}),h={orientation:f,attr:"y",attrAxis:"x"};function m(e){return r.default.createElement(s.default,e)}m.displayName="YAxis",m.propTypes=d,m.defaultProps=h,m.requiresSVG=!0;const y=m},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>f});var r=n(242),i=n(244),o=n.n(i),a=n(1482),s=n(1483),u={className:o().string,height:o().number,endColor:o().string,endTitle:o().oneOfType([o().number,o().string]).isRequired,midColor:o().string,midTitle:o().oneOfType([o().number,o().string]),startColor:o().string,startTitle:o().oneOfType([o().number,o().string]).isRequired,width:o().number},c={className:"",startColor:a.CONTINUOUS_COLOR_RANGE[0],endColor:a.CONTINUOUS_COLOR_RANGE[1]};function l(e){var t=e.startColor,n=e.midColor,i=e.endColor,o=e.startTitle,a=e.midTitle,u=e.endTitle,c=e.height,l=e.width,f=e.className,p=[t];return n&&p.push(n),p.push(i),r.default.createElement("div",{className:(0,s.getCombinedClassName)("rv-continuous-color-legend",f),style:{width:l,height:c}},r.default.createElement("div",{className:"rv-gradient",style:{background:"linear-gradient(to right, ".concat(p.join(","),")")}}),r.default.createElement("div",{className:"rv-legend-titles"},r.default.createElement("span",{className:"rv-legend-titles__left"},o),r.default.createElement("span",{className:"rv-legend-titles__right"},u),a?r.default.createElement("span",{className:"rv-legend-titles__center"},a):null))}l.displayName="ContinuousColorLegend",l.propTypes=u,l.defaultProps=c;const f=l},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>c});var r=n(242),i=n(244),o=n.n(i),a=n(1483),s={className:o().string,circlesTotal:o().number,endSize:o().number,endTitle:o().oneOfType([o().number,o().string]).isRequired,height:o().number,startSize:o().number,startTitle:o().oneOfType([o().number,o().string]).isRequired,width:o().number};function u(e){for(var t=e.startTitle,n=e.endTitle,i=e.startSize,o=e.endSize,s=e.circlesTotal,u=e.height,c=e.width,l=e.className,f=[],p=(o-i)/(s-1),d=0;d<s;d++){var h=p*d+i;f.push(r.default.createElement("div",{key:d,className:"rv-bubble",style:{width:h,height:h,borderRadius:h/2}}
51)),f.push(" ")}return r.default.createElement("div",{className:(0,a.getCombinedClassName)("rv-continuous-size-legend",l),style:{width:c,height:u}},r.default.createElement("div",{className:"rv-bubbles",style:{height:o}},f,r.default.createElement("div",{className:"rv-spacer"})),r.default.createElement("div",{className:"rv-legend-titles"},r.default.createElement("span",{className:"rv-legend-titles__left"},t),r.default.createElement("span",{className:"rv-legend-titles__right"},n)))}u.displayName="ContinuousSizeLegend",u.propTypes=s,u.defaultProps={circlesTotal:10,className:"",endSize:20,startSize:2};const c=u},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>d});var r=n(242),i=n(244),o=n.n(i),a=n(1643),s=n(1482),u=n(1483);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){f(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function f(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function p(e){var t=e.className,n=e.colors,i=e.height,o=e.items,s=e.onItemClick,c=e.onItemMouseEnter,f=e.onItemMouseLeave,p=e.orientation,d=e.style,h=e.width;return r.default.createElement("div",{className:(0,u.getCombinedClassName)("rv-discrete-color-legend",p,t),style:l({width:h,height:i},d)},o.map((function(e,t){return r.default.createElement(a.default,{title:e.title?e.title:e,color:e.color?e.color:n[t%n.length],strokeDasharray:e.strokeDasharray,strokeStyle:e.strokeStyle,strokeWidth:e.strokeWidth,disabled:Boolean(e.disabled),orientation:p,key:t,onClick:s?function(n){return s(e,t,n)}:null,onMouseEnter:c?function(n){return c(e,t,n)}:null,onMouseLeave:c?function(n){return f(e,t,n)}:null})})))}p.displayName="DiscreteColorLegendItem",p.propTypes={className:o().string,items:o().arrayOf(o().oneOfType([o().shape({title:o().oneOfType([o().string,o().element]).isRequired,color:o().string,disabled:o().bool}),o().string.isRequired,o().element])).isRequired,onItemClick:o().func,onItemMouseEnter:o().func,onItemMouseLeave:o().func,height:o().number,width:o().number,orientation:o().oneOf(["vertical","horizontal"])},p.defaultProps={className:"",colors:s.DISCRETE_COLOR_RANGE,orientation:"vertical"};const d=p},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>f});var r=n(242),i=n(244),o=n.n(i);function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){u(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var c={dashed:"6, 2",solid:null};function l(e){var t=e.color,n=e.strokeDasharray,i=e.strokeStyle,o=e.strokeWidth,a=e.disabled,u=e.onClick,l=e.orientation,f=e.onMouseEnter,p=e.onMouseLeave,d=e.title,h="rv-discrete-color-legend-item ".concat(l);a&&(h+=" disabled"),u&&(h+=" clickable");var m=c[i]||n;return r.default.createElement("div",{className:h,onClick:u,onMouseEnter:f,onMouseLeave:p},r.default.createElement("svg",{className:"rv-discrete-color-legend-item__color",height:2,width:14},r.default.createElement("path",{className:"rv-discrete-color-legend-item__color__path",d:"M 0, 1 L 14, 1",style:s(s(s({},o?{strokeWidth:o}:{}),m?{strokeDasharray:m}:{}),{},{stroke:a?null:t})})),r.default.createElement("span",{className:"rv-discrete-color-legend-item__title"},d))}
51l.propTypes={color:o().string.isRequired,disabled:o().bool,title:o().oneOfType([o().string,o().element]).isRequired,onClick:o().func,onMouseEnter:o().func,onMouseLeave:o().func,orientation:o().oneOf(["vertical","horizontal"]).isRequired,strokeDasharray:o().string,strokeWidth:o().number,strokeStyle:o().oneOf(Object.keys(c))},l.defaultProps={disabled:!1,strokeStyle:"solid"},l.displayName="DiscreteColorLegendItem";const f=l},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var r=n(242),i=n(244),o=n.n(i),a=n(1642),s=n(1483);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){l(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var f=c(c({},a.default.propTypes),{},{searchText:o().string,onSearchChange:o().func,searchPlaceholder:o().string,searchFn:o().func}),p={className:"",searchText:"",searchFn:function(e,t){return e.filter((function(e){return-1!==String(e.title||e).toLowerCase().indexOf(t)}))}};function d(e){var t=e.className,n=e.colors,i=e.height,o=e.items,u=e.onItemClick,c=e.onItemMouseEnter,l=e.onItemMouseLeave,f=e.onSearchChange,p=e.orientation,d=e.searchFn,h=e.searchPlaceholder,m=e.searchText,y=e.width,g=f?function(e){var t=e.target.value;return f(t)}:null,v=d(o,m);return r.default.createElement("div",{className:(0,s.getCombinedClassName)("rv-search-wrapper",t),style:{width:y,height:i}},r.default.createElement("form",{className:"rv-search-wrapper__form"},r.default.createElement("input",{type:"search",placeholder:h,className:"rv-search-wrapper__form__input",value:m,onChange:g})),r.default.createElement("div",{className:"rv-search-wrapper__contents"},r.default.createElement(a.default,{colors:n,items:v,onItemClick:u,onItemMouseEnter:c,onItemMouseLeave:l,orientation:p})))}d.propTypes=f,d.defaultProps=p,d.displayName="SearchableDiscreteColorLegend";const h=d},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>I});var r=n(242),i=n(244),o=n.n(i),a=n(1430),s=n(1437),u=n(1390),c=n(1612),l=n(1482),f=n(1632),p=n(1483),d=n(1599),h=n(1598),m=n(1597),y=n(1578),g=n(1586);function v(e){return v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},v(e)}function b(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function _(e,t){return _=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},_(e,t)}function E(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=w(e);if(t){var i=w(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===v(t)||"function"==typeof t))return t;return S(e)}(this,n)}}function S(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function w(e){return w=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},w(e)}function T(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function O(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
51t%2?T(Object(n),!0).forEach((function(t){x(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):T(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function x(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var k="rv-parallel-coordinates-chart",R=(0,s.format)(".2r");function N(e){var t=e.domains,n=e.style;return t.map((function(e){return{x:e.name,y:1.1,label:e.name,style:n}}))}var A=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_(e,t)}(s,e);var t,n,i,o=E(s);function s(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return x(S(e=o.call.apply(o,[this].concat(n))),"state",{brushFilters:{}}),e}return t=s,(n=[{key:"render",value:function(){var e=this,t=this.state.brushFilters,n=this.props,i=n.animation,o=n.brushing,s=n.className,u=n.children,l=n.colorRange,v=n.data,b=n.domains,_=n.height,E=n.hideInnerMostValues,S=n.margin,w=n.onMouseLeave,T=n.onMouseEnter,R=n.showMarks,A=n.style,I=n.tickFormat,D=n.width,C=function(e){var t=e.animation,n=e.domains,i=e.style,o=e.tickFormat;return n.map((function(e,n){var a=e.domain;return r.default.createElement(y.default,{animation:t,key:"".concat(n,"-axis"),axisStart:{x:e.name,y:0},axisEnd:{x:e.name,y:1},axisDomain:a,numberOfTicks:5,tickValue:function(t){return e.tickFormat?e.tickFormat(t):o(t)},style:i.axes})}))}({domains:b,animation:i,hideInnerMostValues:E,style:A,tickFormat:I}),P=function(e){var t=e.animation,n=e.brushFilters,i=e.colorRange,o=e.domains,s=e.data,u=e.style,c=e.showMarks,l=o.reduce((function(e,t){var n=t.domain;return e[t.name]=(0,a.default)().domain(n).range([0,1]),e}),{});return s.map((function(e,a){var s=!0,f=o.map((function(t){var r=t.getValue,i=t.name,o=l[i](r?r(e):e[i]),a=n[i];return a&&(o<a.min||o>a.max)&&(s=!1),{x:i,y:o}})),p="".concat(k,"-line"),m="".concat(p," ").concat(k,"-line-unselected"),y={animation:t,className:s?p:m,key:"".concat(a,"-polygon"),data:f,color:e.color||i[a%i.length],style:O(O({},u.lines),e.style||{})};return s||(y.style=O(O({},y.style),u.deselectedLineStyle)),c?r.default.createElement(h.default,y):r.default.createElement(d.default,y)}))}({animation:i,brushFilters:t,colorRange:l,domains:b,data:v,showMarks:R,style:A}),L=r.default.createElement(m.default,{animation:!0,key:s,className:"".concat(k,"-label"),data:N({domains:b,style:A.labels})}),M=(0,f.getInnerDimensions)(this.props,f.DEFAULT_MARGINS),j=M.marginLeft,F=M.marginRight;return r.default.createElement(c.default,{height:_,width:D,margin:S,dontCheckIfEmpty:!0,className:(0,p.getCombinedClassName)(s,k),onMouseLeave:w,onMouseEnter:T,xType:"ordinal",yDomain:[0,1]},u,C.concat(P).concat(L),o&&b.map((function(n){var i=function(r){e.setState({brushFilters:O(O({},t),{},x({},n.name,r?{min:r.bottom,max:r.top}:null))})};return r.default.createElement(g.default,{key:n.name,drag:!0,highlightX:n.name,onBrushEnd:i,onDragEnd:i,highlightWidth:(D-j-F)/b.length,enableX:!1})})))}}])&&b(t.prototype,n),i&&b(t,i),s}(r.Component);A.displayName="ParallelCoordinates",A.propTypes={animation:u.AnimationPropType,brushing:o().bool,className:o().string,colorType:o().string,colorRange:o().arrayOf(o().string),data:o().arrayOf(o().object).isRequired,domains:o().arrayOf(o().shape({name:o().string.isRequired,domain:o().arrayOf(o().number).isRequired,tickFormat:o().func})).isRequired,height:o().number.isRequired,margin:f.MarginPropType,style:o().shape({axes:o().object,labels:o().object,lines:o().object}),showMarks:o().bool,tickFormat:o().func,width:o().number.isRequired},A.defaultProps={className:"",colorType:"category",colorRange:l.DISCRETE_COLOR_RANGE,style:{axes:{line:{},ticks:{},text:{}},labels:{fontSize:10,textAnchor:"middle"},lines:{strokeWidth:1,strokeOpacity:1},deselectedLineStyle:{strokeOpacity:.1}},tickFormat:R};const I=A},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>O});var r=n(242),i=n(244),o=n.n(i),a=n(1430),s=n(1437),u=n(1390),c=n(1612),l=n(1482),f=n(1632),p=n(1483),d=n(1600),h=n(1604),m=n(1597),y=n(1578);function g(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
51t%2?g(Object(n),!0).forEach((function(t){b(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function b(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var _="rv-radar-chart",E=(0,s.format)(".2r");function S(e){var t=1e-12;return Math.abs(e)<=t?e=0:e>0?Math.abs(e-.5)<=t&&(e=.5):e<0&&Math.abs(e+.5)<=t&&(e=-.5),e}function w(e){var t=e.domains,n=e.startingAngle,r=e.style;return t.map((function(e,i){var o=e.name,a=i/t.length*Math.PI*2+n;return{x:1.2*Math.cos(a),y:1.2*Math.sin(a),label:o,style:r}}))}function T(e){var t=e.animation,n=e.className,i=e.children,o=e.colorRange,s=e.data,u=e.domains,l=e.height,f=e.hideInnerMostValues,g=e.margin,b=e.onMouseLeave,E=e.onMouseEnter,T=e.startingAngle,O=e.style,x=e.tickFormat,k=e.width,R=e.renderAxesOverPolygons,N=e.onValueMouseOver,A=e.onValueMouseOut,I=e.onSeriesMouseOver,D=e.onSeriesMouseOut,C=function(e){var t=e.animation,n=e.domains,i=e.startingAngle,o=e.style,a=e.tickFormat,s=e.hideInnerMostValues;return n.map((function(e,u){var c=u/n.length*Math.PI*2+i,l=e.domain;return r.default.createElement(y.default,{animation:t,key:"".concat(u,"-axis"),axisStart:{x:0,y:0},axisEnd:{x:S(Math.cos(c)),y:S(Math.sin(c))},axisDomain:l,numberOfTicks:5,tickValue:function(t){return s&&t===l[0]?"":e.tickFormat?e.tickFormat(t):a(t)},style:o.axes})}))}({domains:u,animation:t,hideInnerMostValues:f,startingAngle:T,style:O,tickFormat:x}),P=function(e){var t=e.animation,n=e.colorRange,i=e.domains,o=e.data,s=e.style,u=e.startingAngle,c=e.onSeriesMouseOver,l=e.onSeriesMouseOut,f=i.reduce((function(e,t){var n=t.domain;return e[t.name]=(0,a.default)().domain(n).range([0,1]),e}),{});return o.map((function(e,o){var a=i.map((function(t,n){var r=t.name,o=t.getValue,a=o?o(e):e[r],s=n/i.length*Math.PI*2+u,c=Math.max(f[r](a),0);return{x:c*Math.cos(s),y:c*Math.sin(s),name:e.name}}));return r.default.createElement(h.default,{animation:t,className:"".concat(_,"-polygon"),key:"".concat(o,"-polygon"),data:a,style:v({stroke:e.color||e.stroke||n[o%n.length],fill:e.color||e.fill||n[o%n.length]},s.polygons),onSeriesMouseOver:c,onSeriesMouseOut:l})}))}({animation:t,colorRange:o,domains:u,data:s,startingAngle:T,style:O,onSeriesMouseOver:I,onSeriesMouseOut:D}),L=function(e){var t=e.animation,n=e.domains,i=e.data,o=e.startingAngle,s=e.style,u=e.onValueMouseOver,c=e.onValueMouseOut;if(u){var l=n.reduce((function(e,t){var n=t.domain;return e[t.name]=(0,a.default)().domain(n).range([0,1]),e}),{});return i.map((function(e,i){var a=n.map((function(t,r){var i=t.name,a=t.getValue,s=a?a(e):e[i],u=r/n.length*Math.PI*2+o,c=Math.max(l[i](s),0);return{x:c*Math.cos(u),y:c*Math.sin(u),domain:i,value:s,dataName:e.name}}));return r.default.createElement(d.default,{animation:t,className:"".concat(_,"-polygonPoint"),key:"".concat(i,"-polygonPoint"),data:a,size:10,style:v(v({},s.polygons),{},{fill:"transparent",stroke:"transparent"}),onValueMouseOver:u,onValueMouseOut:c})}))}}({animation:t,colorRange:o,domains:u,data:s,startingAngle:T,style:O,onValueMouseOver:N,onValueMouseOut:A}),M=r.default.createElement(m.default,{animation:t,key:n,className:"".concat(_,"-label"),data:w({domains:u,style:O.labels,startingAngle:T})});return r.default.createElement(c.default,{height:l,width:k,margin:g,dontCheckIfEmpty:!0,className:(0,p.getCombinedClassName)(n,_),onMouseLeave:b,onMouseEnter:E,xDomain:[-1,1],yDomain:[-1,1]},i,!R&&C.concat(P).concat(M).concat(L),R&&P.concat(M).concat(C).concat(L))}T.displayName="RadarChart",T.propTypes={animation:u.AnimationPropType,className:o().string,colorType:o().string,colorRange:o().arrayOf(o().string),data:o().arrayOf(o().object).isRequired,domains:o().arrayOf(o().shape({name:o().string.isRequired,domain:o().arrayOf(o().number).isRequired,tickFormat:o().func})).isRequired,height:o().number.isRequired,hideInnerMostValues:o().bool,margin:f.MarginPropType,startingAngle:o().number,style:o().shape({axes:o().object,labels:o().object,polygons:o().object}),tickFormat:o().func,width:o().number.isRequired,renderAxesOverPolygons:o().bool,onValueMouseOver:o().func,onValueMouseOut:o().func,onSeriesM
51ouseOver:o().func,onSeriesMouseOut:o().func},T.defaultProps={className:"",colorType:"category",colorRange:l.DISCRETE_COLOR_RANGE,hideInnerMostValues:!0,startingAngle:Math.PI/2,style:{axes:{line:{},ticks:{},text:{}},labels:{fontSize:10,textAnchor:"middle"},polygons:{strokeWidth:.5,strokeOpacity:1,fillOpacity:.1}},tickFormat:E,renderAxesOverPolygons:!1};const O=T},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>E});var r=n(242),i=n(244),o=n.n(i),a=n(1496),s=n(1390),u=n(1480),c=n(1597),l=n(1612),f=n(1482),p=n(1632),d=n(1481),h=n(1483);function m(){return m=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},m.apply(this,arguments)}function y(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function g(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?y(Object(n),!0).forEach((function(t){v(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):y(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function v(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var b=15;function _(e){var t=e.animation,n=e.className,i=e.children,o=e.colorType,s=e.data,f=e.getAngle,y=e.getLabel,v=e.getSubLabel,_=e.height,E=e.hideRootNode,S=e.innerRadius,w=e.labelsAboveChildren,T=e.labelsRadiusMultiplier,O=e.labelsStyle,x=e.margin,k=e.onMouseLeave,R=e.onMouseEnter,N=e.radius,A=e.showLabels,I=e.style,D=e.width,C=function(e){var t=e.data,n=e.getAngle;return(0,a.default)().sort(null).value(n)(t).reverse().map((function(e,t){return g(g({},e.data),{},{angle0:e.startAngle,angle:e.endAngle,radius0:e.data.innerRadius||0,radius:e.data.radius||1,color:e.data.color||t})}))}({data:s,height:_,hideRootNode:E,width:D,getAngle:f}),P=(0,d.getRadialDomain)(C),L=g(g({colorType:o},e),{},{animation:t,radiusDomain:[0,P],data:C,radiusNoFallBack:!0,style:I,arcClassName:"rv-radial-chart__series--pie__slice"});N&&(L.radiusDomain=[0,1],L.radiusRange=[S||0,N],L.radiusType="linear");var M=N||function(e,t){return Math.min(e,t)/2-b}(D,_),j=(0,p.getRadialLayoutMargin)(D,_,M),F=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1.1,r=t.getLabel,i=t.getSubLabel;return e.reduce((function(e,t){var o=t.angle,a=t.angle0,s=t.radius,u=(o+a)/2*-1+Math.PI/2,c=[];return r(t)&&c.push({angle:u,radius:s*n,label:r(t)}),i(t)&&c.push({angle:u,radius:s*n,label:i(t),style:{fontSize:10},yOffset:12}),e.concat(c)}),[])}(C,{getLabel:y,getSubLabel:v},T);return r.default.createElement(l.default,{height:_,width:D,margin:g(g({},j),x),className:(0,h.getCombinedClassName)(n,"rv-radial-chart"),onMouseLeave:k,onMouseEnter:R,xDomain:[-P,P],yDomain:[-P,P]},r.default.createElement(u.default,m({},L,{getAngle:function(e){return e.angle}})),A&&!w&&r.default.createElement(c.default,{data:F,style:O}),i,A&&w&&r.default.createElement(c.default,{data:F,style:O}))}_.displayName="RadialChart",_.propTypes={animation:s.AnimationPropType,className:o().string,colorType:o().string,data:o().arrayOf(o().shape({angle:o().number,className:o().string,label:o().string,radius:o().number,style:o().object})).isRequired,getAngle:o().func,getAngle0:o().func,padAngle:o().oneOfType([o().func,o().number]),getRadius:o().func,getRadius0:o().func,getLabel:o().func,height:o().number.isRequired,labelsAboveChildren:o().bool,labelsStyle:o().object,margin:p.MarginPropType,onValueClick:o().func,onValueMouseOver:o().func,onValueMouseOut:o().func,showLabels:o().bool,style:o().object,subLabel:o().func,width:o().number.isRequired},_.defaultProps={className:"",colorType:"category",colorRange:f.DISCRETE_COLOR_RANGE,padAngle:0,getAngle:function(e){return e.angle},getAngle0:function(e){return e.angle0},getRadius:function(e){return e.radius},getRadius0:function(e){return e.radius0},getLabel:function(e){return e.label},getSubLabel:function(e){return e.subLabel}};const E=_},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>O});var r=n(242),i=n(244),o=n.n(i),a=n(1649),s=n(1612),u=n(1632),c=n(1483),l=n(1608),f=n(1597),p=n(1610),d=n(1482),h=n(1663);function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function y(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
51t%2?m(Object(n),!0).forEach((function(t){g(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function g(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function v(e){return function(e){if(Array.isArray(e))return b(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return b(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return b(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function b(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function _(){return _=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},_.apply(this,arguments)}var E=function(e){return e},S={justify:a.sankeyJustify,center:a.sankeyCenter,left:a.sankeyLeft,right:a.sankeyRight},w={top:20,left:20,right:20,bottom:20};function T(e){var t=e.align,n=e.animation,i=e.children,o=e.className,m=e.hasVoronoi,g=e.height,b=e.hideLabels,E=e.labelRotation,T=e.layout,O=e.links,x=e.linkOpacity,k=e.margin,R=e.nodePadding,N=e.nodes,A=e.nodeWidth,I=e.onValueClick,D=e.onValueMouseOver,C=e.onValueMouseOut,P=e.onLinkClick,L=e.onLinkMouseOver,M=e.onLinkMouseOut,j=e.style,F=e.width;if(0===N.length)return r.default.createElement(s.default,_({},e,{yType:"literal",className:(0,c.getCombinedClassName)("rv-sankey",o)}));var U=v(new Array(N.length)).map((function(e,t){return y({},N[t])})),B=v(new Array(O.length)).map((function(e,t){return y({},O[t])})),q=(0,u.getInnerDimensions)({margin:k,height:g,width:F},w),G=q.marginLeft,V=q.marginTop,H=q.marginRight,z=q.marginBottom,$=(0,a.sankey)().extent([[G,V],[F-H,g-z-V]]).nodeWidth(A).nodePadding(R).nodes(U).links(B).nodeAlign(S[t]).iterations(T);$(U);var K=$.nodeWidth(),Y=(0,a.sankeyLinkHorizontal)();return r.default.createElement(s.default,_({},e,{yType:"literal",className:(0,c.getCombinedClassName)("rv-sankey",o)}),B.map((function(e,t){return r.default.createElement(h.default,{style:j.links,data:Y(e),opacity:e.opacity||x,color:e.color,onLinkClick:P,onLinkMouseOver:L,onLinkMouseOut:M,strokeWidth:Math.max(e.width,1),node:e,nWidth:K,key:"link-".concat(t)})})),r.default.createElement(l.default,{animation:n,className:(0,c.getCombinedClassName)(o,"rv-sankey__node"),data:U.map((function(e){return y(y({},e),{},{y:e.y1-V,y0:e.y0-V,x:e.x1,x0:e.x0,color:e.color||d.DISCRETE_COLOR_RANGE[0],sourceLinks:null,targetLinks:null})})),style:j.rects,onValueClick:I,onValueMouseOver:D,onValueMouseOut:C,colorType:"literal"}),!b&&r.default.createElement(f.default,{animation:n,className:o,rotation:E,labelAnchorY:"text-before-edge",data:U.map((function(e,t){return y({x:e.x0+(e.x0<F/2?K+10:-10),y:(e.y0+e.y1)/2-V,label:e.name,style:y({textAnchor:e.x0<F/2?"start":"end",dy:"-.5em"},j.labels)},N[t])}))}),m&&r.default.createElement(p.default,{className:"rv-sankey__voronoi",extent:[[-G,-V],[F+H,g+z]],nodes:U,onClick:I,onHover:D,onBlur:C,x:function(e){return e.x0+(e.x1-e.x0)/2},y:function(e){return e.y0+(e.y1-e.y0)/2}}),i)}T.defaultProps={align:"justify",className:"",hasVoronoi:!1,hideLabels:!1,labelRotation:0,layout:50,margin:w,nodePadding:10,nodeWidth:10,onValueMouseOver:E,onValueClick:E,onValueMouseOut:E,onLinkClick:E,onLinkMouseOver:E,onLinkMouseOut:E,style:{links:{},rects:{},labels:{}}},T.propTypes={align:o().oneOf(["justify","left","right","center"]),className:o().string,hasVoronoi:o().bool,height:o().number.isRequired,hideLabels:o().bool,labelRotation:o().number,layout:o().number,links:o().arrayOf(o().shape({source:o().oneOfType([o().number,o().object]).isRequired,target:o().oneOfType([o().number,o().object]).isRequired})).isRequired,margin:u.MarginPropType,nodePadding:o().number,nodes:o().arrayOf(o().object).isRequired,nodeWidth:o().number,onValueMouseOver:o().func,onValueClick:o().func,onValueMouseOut:o().func,onLinkClick:o().func,onLinkMouseOver:o().func,onLinkMouseOut:o().func,style:o().shape({links:o().object,rects:o().object,labels:o().object}),width:o().number.isRequired};const O=T},(e,t,n)=>{"use strict";n.r(t),n.d(t,{sankey:()=>r.default,sankeyCenter:()=>i.center,sankeyJustify:()=>i.justify,sankeyLeft:()=>i.left,sankeyLinkHorizontal:()=>o.default,sankeyRight:()=>i.right});var r=n(1650),i=n(1651),o=n(1656)},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>g});var r=n(1654),i=n(1655),o=n(1652),a=n(1651),s=n(1653);function u(e,t){return l(e.source,t.source)||e.index-t.index}function c(e,t){return l(e.target,t.target)||e.index-t.index}function l(e,t){return e.y0-t.y0}function f(e){return e.value}function p(e){return e.index}
vendor: 4,896 bytes, line 51
51function d(e){return e.nodes}function h(e){return e.links}function m(e,t){const n=e.get(t);if(!n)throw new Error("missing: "+t);return n}function y({nodes:e}){for(const t of e){let e=t.y0,n=e;for(const n of t.sourceLinks)n.y0=e+n.width/2,e+=n.width;for(const e of t.targetLinks)e.y1=n+e.width/2,n+=e.width}}function g(){let e,t,n,g=0,v=0,b=1,_=1,E=24,S=8,w=p,T=a.justify,O=d,x=h,k=6;function R(){const a={nodes:O.apply(null,arguments),links:x.apply(null,arguments)};return function({nodes:e,links:t}){for(const[t,n]of e.entries())n.index=t,n.sourceLinks=[],n.targetLinks=[];const r=new Map(e.map(((t,n)=>[w(t,n,e),t])));for(const[e,n]of t.entries()){n.index=e;let{source:t,target:i}=n;"object"!=typeof t&&(t=n.source=m(r,t)),"object"!=typeof i&&(i=n.target=m(r,i)),t.sourceLinks.push(n),i.targetLinks.push(n)}if(null!=n)for(const{sourceLinks:t,targetLinks:r}of e)t.sort(n),r.sort(n)}(a),function({nodes:e}){for(const t of e)t.value=void 0===t.fixedValue?Math.max((0,r.default)(t.sourceLinks,f),(0,r.default)(t.targetLinks,f)):t.fixedValue}(a),function({nodes:e}){const t=e.length;let n=new Set(e),r=new Set,i=0;for(;n.size;){for(const e of n){e.depth=i;for(const{target:t}of e.sourceLinks)r.add(t)}if(++i>t)throw new Error("circular link");n=r,r=new Set}}(a),function({nodes:e}){const t=e.length;let n=new Set(e),r=new Set,i=0;for(;n.size;){for(const e of n){e.height=i;for(const{source:t}of e.targetLinks)r.add(t)}if(++i>t)throw new Error("circular link");n=r,r=new Set}}(a),function(n){const a=function({nodes:e}){const n=(0,i.default)(e,(e=>e.depth))+1,r=(b-g-E)/(n-1),o=new Array(n);for(const t of e){const e=Math.max(0,Math.min(n-1,Math.floor(T.call(null,t,n))));t.layer=e,t.x0=g+e*r,t.x1=t.x0+E,o[e]?o[e].push(t):o[e]=[t]}if(t)for(const e of o)e.sort(t);return o}(n);e=Math.min(S,(_-v)/((0,i.default)(a,(e=>e.length))-1)),function(t){const n=(0,o.default)(t,(t=>(_-v-(t.length-1)*e)/(0,r.default)(t,f)));for(const r of t){let t=v;for(const i of r){i.y0=t,i.y1=t+i.value*n,t=i.y1+e;for(const e of i.sourceLinks)e.width=e.value*n}t=(_-t+e)/(r.length+1);for(let e=0;e<r.length;++e){const n=r[e];n.y0+=t*(e+1),n.y1+=t*(e+1)}L(r)}}(a);for(let e=0;e<k;++e){const t=Math.pow(.99,e),n=Math.max(1-t,(e+1)/k);A(a,t,n),N(a,t,n)}}(a),y(a),a}function N(e,n,r){for(let i=1,o=e.length;i<o;++i){const o=e[i];for(const e of o){let t=0,r=0;for(const{source:n,value:i}of e.targetLinks){let o=i*(e.layer-n.layer);t+=M(n,e)*o,r+=o}if(!(r>0))continue;let i=(t/r-e.y0)*n;e.y0+=i,e.y1+=i,P(e)}void 0===t&&o.sort(l),I(o,r)}}function A(e,n,r){for(let i=e.length-2;i>=0;--i){const o=e[i];for(const e of o){let t=0,r=0;for(const{target:n,value:i}of e.sourceLinks){let o=i*(n.layer-e.layer);t+=j(e,n)*o,r+=o}if(!(r>0))continue;let i=(t/r-e.y0)*n;e.y0+=i,e.y1+=i,P(e)}void 0===t&&o.sort(l),I(o,r)}}function I(t,n){const r=t.length>>1,i=t[r];C(t,i.y0-e,r-1,n),D(t,i.y1+e,r+1,n),C(t,_,t.length-1,n),D(t,v,0,n)}function D(t,n,r,i){for(;r<t.length;++r){const o=t[r],a=(n-o.y0)*i;a>1e-6&&(o.y0+=a,o.y1+=a),n=o.y1+e}}function C(t,n,r,i){for(;r>=0;--r){const o=t[r],a=(o.y1-n)*i;a>1e-6&&(o.y0-=a,o.y1-=a),n=o.y0-e}}function P({sourceLinks:e,targetLinks:t}){if(void 0===n){for(const{source:{sourceLinks:e}}of t)e.sort(c);for(const{target:{targetLinks:t}}of e)t.sort(u)}}function L(e){if(void 0===n)for(const{sourceLinks:t,targetLinks:n}of e)t.sort(c),n.sort(u)}function M(t,n){let r=t.y0-(t.sourceLinks.length-1)*e/2;for(const{target:i,width:o}of t.sourceLinks){if(i===n)break;r+=o+e}for(const{source:e,width:i}of n.targetLinks){if(e===t)break;r-=i}return r}function j(t,n){let r=n.y0-(n.targetLinks.length-1)*e/2;for(const{source:i,width:o}of n.targetLinks){if(i===t)break;r+=o+e}for(const{target:e,width:i}of t.sourceLinks){if(e===n)break;r-=i}return r}return R.update=function(e){return y(e),e},R.nodeId=function(e){return arguments.length?(w="function"==typeof e?e:(0,s.default)(e),R):w},R.nodeAlign=function(e){return arguments.length?(T="function"==typeof e?e:(0,s.default)(e),R):T},R.nodeSort=function(e){return arguments.length?(t=e,R):t},R.nodeWidth=function(e){return arguments.length?(E=+e,R):E},R.nodePadding=function(t){return arguments.length?(S=e=+t,R):S},R.nodes=function(e){return arguments.length?(O="function"==typeof e?e:(0,s.default)(e),R):O},R.links=function(e){return arguments.length?(x="function"==typeof e?e:(0,s.default)(e),R):x},R.linkSort=function(e){return arguments.length?(n=e,R):n},R.size=function(e){return arguments.length?(g=v=0,b=+e[0],_=+e[1],R):[b-g,_-v]},R.extent=function(e){return arguments.length?(g=+e[0][0],b=+e[1][0],v=+e[0][1],_=+e[1][1],R):[[g,v],[b,_]]},R.iterations=function(e){return arguments.length?(k=+e,R):k},R}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{center:()=>u,justify:()=>s,left:()=>o,right:()=>a});var r=n(1652);function i(e){return e.target.depth}function o(e){return e.depth}function a(e,t){return t-1-e.height}function s(e,t){return e.sourceLinks.length?e.depth:t-1}
51function u(e){return e.targetLinks.length?e.depth:e.sourceLinks.length?(0,r.default)(e.sourceLinks,i)-1:0}},(e,t,n)=>{"use strict";function r(e,t){let n;if(void 0===t)for(const t of e)null!=t&&(n>t||void 0===n&&t>=t)&&(n=t);else{let r=-1;for(let i of e)null!=(i=t(i,++r,e))&&(n>i||void 0===n&&i>=i)&&(n=i)}return n}n.r(t),n.d(t,{default:()=>r})},(e,t,n)=>{"use strict";function r(e){return function(){return e}}n.r(t),n.d(t,{default:()=>r})},(e,t,n)=>{"use strict";function r(e,t){let n=0;if(void 0===t)for(let t of e)(t=+t)&&(n+=t);else{let r=-1;for(let i of e)(i=+t(i,++r,e))&&(n+=i)}return n}n.r(t),n.d(t,{default:()=>r})},(e,t,n)=>{"use strict";function r(e,t){let n;if(void 0===t)for(const t of e)null!=t&&(n<t||void 0===n&&t>=t)&&(n=t);else{let r=-1;for(let i of e)null!=(i=t(i,++r,e))&&(n<i||void 0===n&&i>=i)&&(n=i)}return n}n.r(t),n.d(t,{default:()=>r})},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(1657);function i(e){return[e.source.x1,e.y0]}function o(e){return[e.target.x0,e.y1]}function a(){return(0,r.linkHorizontal)().source(i).target(o)}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{linkHorizontal:()=>h,linkRadial:()=>y,linkVertical:()=>m});var r=n(1660),i=n(1659),o=n(1661),a=n(1658),s=n(1662);function u(e){return e.source}function c(e){return e.target}function l(e){var t=u,n=c,s=a.x,l=a.y,f=null;function p(){var o,a=i.slice.call(arguments),u=t.apply(this,a),c=n.apply(this,a);if(f||(f=o=(0,r.default)()),e(f,+s.apply(this,(a[0]=u,a)),+l.apply(this,a),+s.apply(this,(a[0]=c,a)),+l.apply(this,a)),o)return f=null,o+""||null}return p.source=function(e){return arguments.length?(t=e,p):t},p.target=function(e){return arguments.length?(n=e,p):n},p.x=function(e){return arguments.length?(s="function"==typeof e?e:(0,o.default)(+e),p):s},p.y=function(e){return arguments.length?(l="function"==typeof e?e:(0,o.default)(+e),p):l},p.context=function(e){return arguments.length?(f=null==e?null:e,p):f},p}function f(e,t,n,r,i){e.moveTo(t,n),e.bezierCurveTo(t=(t+r)/2,n,t,i,r,i)}function p(e,t,n,r,i){e.moveTo(t,n),e.bezierCurveTo(t,n=(n+i)/2,r,n,r,i)}function d(e,t,n,r,i){var o=(0,s.default)(t,n),a=(0,s.default)(t,n=(n+i)/2),u=(0,s.default)(r,n),c=(0,s.default)(r,i);e.moveTo(o[0],o[1]),e.bezierCurveTo(a[0],a[1],u[0],u[1],c[0],c[1])}function h(){return l(f)}function m(){return l(p)}function y(){var e=l(d);return e.angle=e.x,delete e.x,e.radius=e.y,delete e.y,e}},(e,t,n)=>{"use strict";function r(e){return e[0]}function i(e){return e[1]}n.r(t),n.d(t,{x:()=>r,y:()=>i})},(e,t,n)=>{"use strict";n.r(t),n.d(t,{slice:()=>r});var r=Array.prototype.slice},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>c});var r=Math.PI,i=2*r,o=1e-6,a=i-o;function s(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function u(){return new s}s.prototype=u.prototype={constructor:s,moveTo:function(e,t){this._+="M"+(this._x0=this._x1=+e)+","+(this._y0=this._y1=+t)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(e,t){this._+="L"+(this._x1=+e)+","+(this._y1=+t)},quadraticCurveTo:function(e,t,n,r){this._+="Q"+ +e+","+ +t+","+(this._x1=+n)+","+(this._y1=+r)},bezierCurveTo:function(e,t,n,r,i,o){this._+="C"+ +e+","+ +t+","+ +n+","+ +r+","+(this._x1=+i)+","+(this._y1=+o)},arcTo:function(e,t,n,i,a){e=+e,t=+t,n=+n,i=+i,a=+a;var s=this._x1,u=this._y1,c=n-e,l=i-t,f=s-e,p=u-t,d=f*f+p*p;if(a<0)throw new Error("negative radius: "+a);if(null===this._x1)this._+="M"+(this._x1=e)+","+(this._y1=t);else if(d>o)if(Math.abs(p*c-l*f)>o&&a){var h=n-s,m=i-u,y=c*c+l*l,g=h*h+m*m,v=Math.sqrt(y),b=Math.sqrt(d),_=a*Math.tan((r-Math.acos((y+d-g)/(2*v*b)))/2),E=_/b,S=_/v;Math.abs(E-1)>o&&(this._+="L"+(e+E*f)+","+(t+E*p)),this._+="A"+a+","+a+",0,0,"+ +(p*h>f*m)+","+(this._x1=e+S*c)+","+(this._y1=t+S*l)}else this._+="L"+(this._x1=e)+","+(this._y1=t);else;},arc:function(e,t,n,s,u,c){e=+e,t=+t,c=!!c;var l=(n=+n)*Math.cos(s),f=n*Math.sin(s),p=e+l,d=t+f,h=1^c,m=c?s-u:u-s;if(n<0)throw new Error("negative radius: "+n);null===this._x1?this._+="M"+p+","+d:(Math.abs(this._x1-p)>o||Math.abs(this._y1-d)>o)&&(this._+="L"+p+","+d),n&&(m<0&&(m=m%i+i),m>a?this._+="A"+n+","+n+",0,1,"+h+","+(e-l)+","+(t-f)+"A"+n+","+n+",0,1,"+h+","+(this._x1=p)+","+(this._y1=d):m>o&&(this._+="A"+n+","+n+",0,"+ +(m>=r)+","+h+","+(this._x1=e+n*Math.cos(u))+","+(this._y1=t+n*Math.sin(u))))},rect:function(e,t,n,r){this._+="M"+(this._x0=this._x1=+e)+","+(this._y0=this._y1=+t)+"h"+ +n+"v"+ +r+"h"+-n+"Z"},toString:function(){return this._}};const c=u},(e,t,n)=>{"use strict";function r(e){return function(){return e}}n.r(t),n.d(t,{default:()=>r})},(e,t,n)=>{"use strict";function r(e,t){return[(t=+t)*Math.cos(e-=Math.PI/2),t*Math.sin(e)]}n.r(t),n.d(t,{default:()=>r})},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>l});var r=n(242),i=n(1482),o=n(1390),a=n(1481);function s(){return s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s.apply(this,arguments)}var u=i.DISCRETE_COLOR_RANGE[1];function c(e){var t=e.animation,n=e.data,i=e.node,l=e.opacity,f=e.color,p=e.strokeWidth,d=e.style,h=e.onLinkClick,m=e.onLinkMouseOver,y=e.onLinkMouseOut;return t?r.default.createElement(o.default,s({},e,{animatedProps:a.ANIMATED_SERIES_PROPS}),r.default.createElement(c,s({},e,{animation:null}))):r.default.createElement("path",s({d:n},d,{className:"rv-sankey__link",opacity:Number.isFinite(l)?l:.7,stroke:f||u,onClick:function(e){return h(i,e)},onMouseOver:function(e){return m(i,e)},onMouseOut:function(e){return y(i,e)},strokeWidth:p,fill:"none"}))}c.displayName="SankeyLink",c.requiresSVG=!0;const l=c},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>T});var r=n(242),i=n(244),o=n.n(i),a=n(1665),s=n(1668),u=n(1430),c=n(1682),l=n(1390),f=n(1597),p=n(1480),d=n(1612),h=n(1481),m=n(1632),y=n(1483);function g(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
51t%2?g(Object(n),!0).forEach((function(t){b(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function b(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var _="rv-sunburst",E=["onValueMouseOver","onValueMouseOut","onValueClick","onValueRightClick","onSeriesMouseOver","onSeriesMouseOut","onSeriesClick","onSeriesRightClick"];var S=function(){};function w(e){var t=e.getAngle,n=e.getAngle0,i=e.animation,o=e.className,l=e.children,g=e.data,b=e.height,w=e.hideRootNode,T=e.getLabel,O=e.width,x=e.getSize,k=e.colorType,R=function(e){var t=e.data,n=e.height,r=e.hideRootNode,i=e.width,o=e.getSize,l=(0,a.default)(),f=(0,s.default)(t).sum(o),p=Math.min(i,n)/2-10,d=(0,u.default)().range([0,2*Math.PI]),h=(0,c.sqrt)().range([0,p]);return l(f).descendants().reduce((function(e,t,n){return r&&0===n?e:e.concat([v({angle0:Math.max(0,Math.min(2*Math.PI,d(t.x0))),angle:Math.max(0,Math.min(2*Math.PI,d(t.x1))),radius0:Math.max(0,h(t.y0)),radius:Math.max(0,h(t.y1)),depth:t.depth,parent:t.parent},t.data)])}),[])}({data:g,height:b,hideRootNode:w,width:O,getSize:x}),N=(0,h.getRadialDomain)(R),A=(0,m.getRadialLayoutMargin)(O,b,N),I=function(e,t){var n=t.getAngle,r=t.getAngle0,i=t.getLabel,o=t.getRadius0;return e.filter(i).map((function(e){var t=-1*n(e)+Math.PI/2,i=(-1*r(e)+Math.PI/2+t)/2,a=!e.dontRotateLabel,s=-i/(2*Math.PI)*360;return v(v({},e),{},{children:null,angle:null,radius:null,x:o(e)*Math.cos(i),y:o(e)*Math.sin(i),style:v({textAnchor:s>90?"end":"start"},e.labelStyle),rotation:a?s>90?s+180:90===s?90:s:null})}))}(R,{getAngle:t,getAngle0:n,getLabel:T,getRadius0:function(e){return e.radius0}});return r.default.createElement(d.default,{height:b,hasTreeStructure:!0,width:O,className:(0,y.getCombinedClassName)(_,o),margin:A,xDomain:[-N,N],yDomain:[-N,N]},r.default.createElement(p.default,v(v({colorType:k},e),{},{animation:i,radiusDomain:[0,N],data:i?R.map((function(e,t){return v(v({},e),{},{parent:null,children:null,index:t})})):R,_data:i?R:null,arcClassName:"".concat(_,"__series--radial__arc")},E.reduce((function(t,n){var r,o=e[n];return t[n]=i?(r=o,function(e,t){return r?r(R[e.index],t):S}):o,t}),{}))),I.length>0&&r.default.createElement(f.default,{data:I,getLabel:T}),l)}w.displayName="Sunburst",w.propTypes={animation:l.AnimationPropType,getAngle:o().func,getAngle0:o().func,className:o().string,colorType:o().string,data:o().object.isRequired,height:o().number.isRequired,hideRootNode:o().bool,getLabel:o().func,onValueClick:o().func,onValueMouseOver:o().func,onValueMouseOut:o().func,getSize:o().func,width:o().number.isRequired,padAngle:o().oneOfType([o().func,o().number])},w.defaultProps={getAngle:function(e){return e.angle},getAngle0:function(e){return e.angle0},className:"",colorType:"literal",getColor:function(e){return e.color},hideRootNode:!1,getLabel:function(e){return e.label},getSize:function(e){return e.size},padAngle:0};const T=w},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(1666),i=n(1667);function o(){var e=1,t=1,n=0,o=!1;function a(a){var s=a.height+1;return a.x0=a.y0=n,a.x1=e,a.y1=t/s,a.eachBefore(function(e,t){return function(r){r.children&&(0,i.default)(r,r.x0,e*(r.depth+1)/t,r.x1,e*(r.depth+2)/t);var o=r.x0,a=r.y0,s=r.x1-n,u=r.y1-n;s<o&&(o=s=(o+s)/2),u<a&&(a=u=(a+u)/2),r.x0=o,r.y0=a,r.x1=s,r.y1=u}}(t,s)),o&&a.eachBefore(r.default),a}return a.round=function(e){return arguments.length?(o=!!e,a):o},a.size=function(n){return arguments.length?(e=+n[0],t=+n[1],a):[e,t]},a.padding=function(e){return arguments.length?(n=+e,a):n},a}},(e,t,n)=>{"use strict";function r(e){e.x0=Math.round(e.x0),e.y0=Math.round(e.y0),e.x1=Math.round(e.x1),e.y1=Math.round(e.y1)}n.r(t),n.d(t,{default:()=>r})},(e,t,n)=>{"use strict";function r(e,t,n,r,i){for(var o,a=e.children,s=-1,u=a.length,c=e.value&&(r-t)/e.value;++s<u;)(o=a[s]).y0=n,o.y1=i,o.x0=t,o.x1=t+=o.value*c}n.r(t),n.d(t,{default:()=>r})},(e,t,n)=>{"use strict";n.r(t),n.d(t,{Node:()=>E,computeHeight:()=>_,default:()=>y});var r=n(1669),i=n(1670),o=n(1672),a=n(1671),s=n(1673),u=n(1674),c=n(1675),l=n(1676),f=n(1677),p=n(1678),d=n(1679),h=n(1680),m=n(1681);function y(e,t){e instanceof Map?(e=[void 0,e],void 0===t&&(t=v)):void 0===t&&(t=g);for(var n,r,i,o,a,s=new E(e),u=[s];n=u.pop();)if((i=t(n.data))&&(a=(i=Array.from(i)).length))for(n.children=i,o=a-1;o>=0;--o)u.push(r=i[o]=new E(i[o])),r.parent=n,r.depth=n.depth+1;return s.eachBefore(_)}function g(e){return e.children}function v(e){return Array.isArray(e)?e[1]:null}function b(e){void 0!==e.data.value&&(e.value=e.data.value),e.data=e.data.data}function _(e){var t=0;do{e.height=t}while((e=e.parent)&&e.height<++t)}function E(e){this.data=e,this.depth=this.height=0,this.parent=null}E.prototype=y.prototype={constructor:E,count:r.default,each:i.default,eachAfter:a.default,eachBefore:o.default,find:s.default,sum:u.default,sort:c.default,path:l.default,ancestors:f.default,desce
51ndants:p.default,leaves:d.default,links:h.default,copy:function(){return y(this).eachBefore(b)},[Symbol.iterator]:m.default}},(e,t,n)=>{"use strict";function r(e){var t=0,n=e.children,r=n&&n.length;if(r)for(;--r>=0;)t+=n[r].value;else t=1;e.value=t}function i(){return this.eachAfter(r)}n.r(t),n.d(t,{default:()=>i})},(e,t,n)=>{"use strict";function r(e,t){let n=-1;for(const r of this)e.call(t,r,++n,this);return this}n.r(t),n.d(t,{default:()=>r})},(e,t,n)=>{"use strict";function r(e,t){for(var n,r,i,o=this,a=[o],s=[],u=-1;o=a.pop();)if(s.push(o),n=o.children)for(r=0,i=n.length;r<i;++r)a.push(n[r]);for(;o=s.pop();)e.call(t,o,++u,this);return this}n.r(t),n.d(t,{default:()=>r})},(e,t,n)=>{"use strict";function r(e,t){for(var n,r,i=this,o=[i],a=-1;i=o.pop();)if(e.call(t,i,++a,this),n=i.children)for(r=n.length-1;r>=0;--r)o.push(n[r]);return this}n.r(t),n.d(t,{default:()=>r})},(e,t,n)=>{"use strict";function r(e,t){let n=-1;for(const r of this)if(e.call(t,r,++n,this))return r}n.r(t),n.d(t,{default:()=>r})},(e,t,n)=>{"use strict";function r(e){return this.eachAfter((function(t){for(var n=+e(t.data)||0,r=t.children,i=r&&r.length;--i>=0;)n+=r[i].value;t.value=n}))}n.r(t),n.d(t,{default:()=>r})},(e,t,n)=>{"use strict";function r(e){return this.eachBefore((function(t){t.children&&t.children.sort(e)}))}n.r(t),n.d(t,{default:()=>r})},(e,t,n)=>{"use strict";function r(e){for(var t=this,n=function(e,t){if(e===t)return e;var n=e.ancestors(),r=t.ancestors(),i=null;e=n.pop(),t=r.pop();for(;e===t;)i=e,e=n.pop(),t=r.pop();return i}(t,e),r=[t];t!==n;)t=t.parent,r.push(t);for(var i=r.length;e!==n;)r.splice(i,0,e),e=e.parent;return r}n.r(t),n.d(t,{default:()=>r})},(e,t,n)=>{"use strict";function r(){for(var e=this,t=[e];e=e.parent;)t.push(e);return t}n.r(t),n.d(t,{default:()=>r})},(e,t,n)=>{"use strict";function r(){return Array.from(this)}n.r(t),n.d(t,{default:()=>r})},(e,t,n)=>{"use strict";function r(){var e=[];return this.eachBefore((function(t){t.children||e.push(t)})),e}n.r(t),n.d(t,{default:()=>r})},(e,t,n)=>{"use strict";function r(){var e=this,t=[];return e.each((function(n){n!==e&&t.push({source:n.parent,target:n})})),t}n.r(t),n.d(t,{default:()=>r})},(e,t,n)=>{"use strict";function*r(){var e,t,n,r,i=this,o=[i];do{for(e=o.reverse(),o=[];i=e.pop();)if(yield i,t=i.children)for(n=0,r=t.length;n<r;++n)o.push(t[n])}while(o.length)}n.r(t),n.d(t,{default:()=>r})},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>l,powish:()=>c,sqrt:()=>f});var r=n(1430),i=n(1448),o=n(1457);function a(e){return function(t){return t<0?-Math.pow(-t,e):Math.pow(t,e)}}function s(e){return e<0?-Math.sqrt(-e):Math.sqrt(e)}function u(e){return e<0?-e*e:e*e}function c(e){var t=e(i.identity,i.identity),n=1;return t.exponent=function(t){return arguments.length?1===(n=+t)?e(i.identity,i.identity):.5===n?e(s,u):e(a(n),a(1/n)):n},(0,r.linearish)(t)}function l(){var e=c((0,i.transformer)());return e.copy=function(){return(0,i.copy)(e,l()).exponent(e.exponent())},o.initRange.apply(e,arguments),e}function f(){return l.apply(null,arguments).exponent(.5)}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>A});var r=n(242),i=n(244),o=n.n(i),a=n(1687),s=n(1689),u=n(1688),c=n(1667),l=n(1690),f=n(1691),p=n(1665),d=n(1668),h=n(1692),m=n(1699),y=n(1482),g=n(1390),v=n(1420),b=n(1632),_=n(1684),E=n(1686);function S(){return S=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},S.apply(this,arguments)}function w(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function T(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?w(Object(n),!0).forEach((function(t){O(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):w(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function O(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}
51var x={squarify:a.default,resquarify:s.default,slice:u.default,dice:c.default,slicedice:l.default,binary:f.default},k=function(e){return e},R=["opacity","color"];function N(e){var t=function(e){var t=e.data.children||[],n=T(T(T({},e),(0,v.getMissingScaleProps)(e,t,R)),{},{_allData:t});return{opacity:(0,v.getAttributeFunctor)(n,"opacity"),color:(0,v.getAttributeFunctor)(n,"color")}}(e),n=(0,b.getInnerDimensions)(e,e.margin);var i=e.renderMode,o=function(){var t=n.innerWidth,r=n.innerHeight,i=e.data,o=e.mode,a=e.padding,s=e.sortFunction,u=e.getSize;if(!i)return[];if("partition"===o||"partition-pivot"===o){var c=(0,p.default)().size("partition-pivot"===o?[r,t]:[t,r]).padding(a)((0,d.default)(i).sum(u).sort((function(e,t){return s(e,t,u)}))).descendants();return"partition-pivot"===o?c.map((function(e){return T(T({},e),{},{x0:e.y0,x1:e.y1,y0:e.x0,y1:e.x1})})):c}if("circlePack"===o)return(0,h.default)().size([t,r]).padding(a)((0,d.default)(i).sum(u).sort((function(e,t){return s(e,t,u)}))).descendants();var l=x[o];return(0,m.default)(l).tile(l).size([t,r]).padding(a)((0,d.default)(i).sum(u).sort((function(e,t){return s(e,t,u)}))).descendants()}(),a="SVG"===i?E.default:_.default;return r.default.createElement(a,S({},e,{nodes:o,scales:t}))}N.displayName="Treemap",N.propTypes={animation:g.AnimationPropType,className:o().string,data:o().object.isRequired,height:o().number.isRequired,hideRootNode:o().bool,margin:b.MarginPropType,mode:o().oneOf(Object.keys(x).concat(["circlePack","partition","partition-pivot"])),onLeafClick:o().func,onLeafMouseOver:o().func,onLeafMouseOut:o().func,useCirclePacking:o().bool,padding:o().number.isRequired,sortFunction:o().func,width:o().number.isRequired,getSize:o().func,getColor:o().func},N.defaultProps={className:"",colorRange:y.CONTINUOUS_COLOR_RANGE,_colorValue:y.DEFAULT_COLOR,data:{children:[]},hideRootNode:!1,margin:{left:40,right:10,top:10,bottom:40},mode:"squarify",onLeafClick:k,onLeafMouseOver:k,onLeafMouseOut:k,op
51acityType:y.OPACITY_TYPE,_opacityValue:y.DEFAULT_OPACITY,padding:1,sortFunction:function(e,t,n){return n?n(e)-n(t):0},getSize:function(e){return e.size},getColor:function(e){return e.color},getLabel:function(e){return e.title}};const A=N},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>f});var r=n(242),i=n(1685),o=n(1483);function a(){return a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a.apply(this,arguments)}function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){c(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(e){var t=e.animation,n=e.className,s=e.height,c=e.hideRootNode,l=e.getLabel,f=e.mode,p=e.nodes,d=e.width,h=e.scales,m=e.style,y="circlePack"===f;return r.default.createElement("div",{className:(0,o.getCombinedClassName)("rv-treemap",y&&"rv-treemap-circle-paked",n),style:{height:s,width:d}},p.map((function(n,o){if(c&&!o)return null;var s=u(u({animation:t,node:n,getLabel:l},e),{},{x0:y?n.x:n.x0,x1:y?n.x:n.x1,y0:y?n.y:n.y0,y1:y?n.y:n.y1,r:y?n.r:1,scales:h,style:m});return r.default.createElement(i.default,a({},s,{key:"leaf-".concat(o)}))})))}l.displayName="TreemapDOM";const f=l},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var r=n(242),i=n(244),o=n.n(i),a=n(1390),s=n(1420);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){l(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function f(){return f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},f.apply(this,arguments)}var p=["colorRange","colorDomain","color","opacityRange","opacityDomain","opacity","x0","x1","y0","y1","r"];function d(e){var t=e.animation,n=e.getLabel,i=e.mode,o=e.node,u=e.onLeafClick,l=e.onLeafMouseOver,h=e.onLeafMouseOut,m=e.r,y=e.scales,g=e.x0,v=e.x1,b=e.y0,_=e.y1,E=e.style;if(t)return r.default.createElement(a.default,f({},e,{animatedProps:p}),r.default.createElement(d,f({},e,{animation:null})));var S="circlePack"===i,w=y.color(o),T=y.opacity(o),O=(0,s.getFontColorFromBackground)(w),x=n(o.data),k=c(c({top:S?b-m:b,left:S?g-m:g,width:S?2*m:v-g,height:S?2*m:_-b,background:w,opacity:T,color:O},E),o.data.style);return r.default.createElement("div",{className:"rv-treemap__leaf ".concat(S?"rv-treemap__leaf--circle":""),onMouseEnter:function(e){return l(o,e)},onMouseLeave:function(e){return h(o,e)},onClick:function(e){return u(o,e)},style:k},r.default.createElement("div",{className:"rv-treemap__leaf__content"},x))}d.propTypes={animation:a.AnimationPropType,height:o().number.isRequired,mode:o().string,node:o().object.isRequired,onLeafClick:o().func,onLeafMouseOver:o().func,onLeafMouseOut:o().func,scales:o().object.isRequired,width:o().number.isRequired,r:o().number.isRequired,x0:o().number.isRequired,x1:o().number.isRequired,y0:o().number.isRequired,y1:o().number.isRequired};const h=d},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>b});var r=n(242),i=n(1612),o=n(1604),a=n(1600),s=n(1597),u=n(1483);function c(e){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}function l(){return l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l.apply(this,arguments)}function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
51t%2?f(Object(n),!0).forEach((function(t){d(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function d(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function h(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function m(e,t){return m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},m(e,t)}function y(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g(e);if(t){var i=g(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===c(t)||"function"==typeof t))return t;return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,n)}}function g(e){return g=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},g(e)}var v=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&m(e,t)}(d,e);var t,n,c,f=y(d);function d(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,d),f.apply(this,arguments)}return t=d,(n=[{key:"getCircularNodes",value:function(){var e=this.props,t=e.animation,n=e.hideRootNode,i=e.nodes,o=e.onLeafMouseOver,s=e.onLeafMouseOut,u=e.onLeafClick,c=e.scales,l=e.style,f=i.reduce((function(e,t,r){if(!r&&n)return e;var i=t.x,o=t.y,a=t.r;return{maxY:Math.max(o+a,e.maxY),minY:Math.min(o-a,e.minY),maxX:Math.max(i+1.2*a,e.maxX),minX:Math.min(i-1.2*a,e.minX),rows:e.rows.concat([{x:i,y:o,size:a,color:c.color(t)}])}}),{rows:[],maxY:-1/0,minY:1/0,maxX:-1/0,minX:1/0}),p=f.rows,d=f.minY,h=f.maxY,m=f.minX,y=f.maxX;return{updatedNodes:r.default.createElement(a.default,{animation:t,className:"rv-treemap__leaf rv-treemap__leaf--circle",onSeriesMouseEnter:o,onSeriesMouseLeave:s,onSeriesClick:u,data:p,colorType:"literal",getColor:function(e){return e.color},sizeType:"literal",getSize:function(e){return e.size},style:l}),minY:d,maxY:h,minX:m,maxX:y}}},{key:"getNonCircularNodes",value:function(){var e=this.props,t=e.animation,n=e.hideRootNode,i=e.nodes,a=e.onLeafMouseOver,s=e.onLeafMouseOut,u=e.onLeafClick,c=e.scales,l=e.style,f=c.color;return i.reduce((function(e,i,c){if(!c&&n)return e;var d=i.x0,h=i.x1,m=i.y1,y=i.y0,g=d,v=y,b=m-y,_=h-d;e.maxY=Math.max(v+b,e.maxY),e.minY=Math.min(v,e.minY),e.maxX=Math.max(g+_,e.maxX),e.minX=Math.min(g,e.minX);var E=[{x:g,y:v},{x:g,y:v+b},{x:g+_,y:v+b},{x:g+_,y:v}];return e.updatedNodes=e.updatedNodes.concat([r.default.createElement(o.default,{animation:t,className:"rv-treemap__leaf",key:c,color:f(i),type:"literal",onSeriesMouseEnter:a,onSeriesMouseLeave:s,onSeriesClick:u,data:E,style:p(p({},l),i.style)})]),e}),{updatedNodes:[],maxY:-1/0,minY:1/0,maxX:-1/0,minX:1/0})}},{key:"render",value:function(){var e=this.props,t=e.className,n=e.height,o=e.mode,a=e.nodes,c=e.width,f="circlePack"===o,d=f?this.getCircularNodes():this.getNonCircularNodes(),h=d.minY,m=d.maxY,y=d.minX,g=d.maxX,v=d.updatedNodes,b=a.reduce((function(e,t){return t.data.title?e.concat(p(p({},t.data),{},{x:t.x0||t.x,y:t.y0||t.y,label:"".concat(t.data.title)})):e}),[]);return r.default.createElement(i.default,l({className:(0,u.getCombinedClassName)("rv-treemap",f&&"rv-treemap-circle-paked",t),width:c,height:n,yDomain:[m,h],xDomain:[y,g],colorType:"literal",hasTreeStructure:!0},this.props),v,r.default.createElement(s.default,{data:b}))}}])&&h(t.prototype,n),c&&h(t,c),d}(r.default.Component);v.displayName="TreemapSVG";const b=v},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s,phi:()=>o,squarifyRatio:()=>a});var r=n(1667),i=n(1688),o=(1+Math.sqrt(5))/2;function a(e,t,n,o,a,s){for(var u,c,l,f,p,d,h,m,y,g,v,b=[],_=t.children,E=0,S=0,w=_.length,T=t.value;E<w;){l=a-n,f=s-o;do{p=_[S++].value}while(!p&&S<w);for(d=h=p,v=p*p*(g=Math.max(f/l,l/f)/(T*e)),y=Math.max(h/v,v/d);S<w;++S){if(p+=c=_[S].value,c<d&&(d=c),c>h&&(h=c),v=p*p*g,(m=Math.max(h/v,v/d))>y){p-=c;break}y=m}b.push(u={value:p,dice:l<f,children:_.slice(E,S)}),u.dice?(0,r.default)(u,n,o,a,T?o+=f*p/T:s):(0,i.default)(u,n,o,T?n+=l*p/T:a,s),T-=p,E=S}return b}const s=function e(t){function n(e,n,r,i,o){a(t,e,n,r,i,o)}return n.ratio=function(t){return e((t=+t)>1?t:1)},n}(o)},(e,t,n)=>{"use strict";function r(e,t,n,r,i){for(var o,a=e.children,s=-1,u=a.length,c=e.value&&(i-n)/e.value;++s<u;)(o=a[s]).x0=t,o.x1=r,o.y0=n,o.y1=n+=o.value*c}n.r(t),n.d(t,{default:()=>r})},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(1667),i=n(1688),o=n(1687);const a=function e(t){function n(e,n,a,s,u){if((c=e._squarify)&&c.ratio===t)for(var c,l,f,p,d,h=-1,m=c.length,y=e.value;++h<m;){for(f=(l=c[h]).children,p=l.value=0,d=f.length;p<d;++p)l.value+=f[p].value;l.dice?(0,r.default)(l,n,a,s,y?a+=(u-a)*l.value/y:u):(0,i.default)(l,n,a,y?n+=(s-n)*l.value/y:s,u),y-=l.value}else e._squarify=c=(0,o.squarifyRatio)(t,e,n,a,s,u),c.ratio=t}return n.ratio=function(t){return e((t=+t)>1?t:1)},n}(o.phi)},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(1667),i=n(1688);function o(e,t,n,o,a){(1&e.depth?i.default:r.default)(e,t,n,o,a)}},(e,t,n)=>{"use strict";function r(e,t,n,r,i){var o,a,s=e.children,u=s.length,c=new Array(u+1);for(c[0]=a=o=0;o<u;++o)c[o+1]=a+=s[o].value;!function e(t,n,r,i,o,a,u){if(t>=n-1){var l=s[t];return l.x0=i,l.y0=o,l.x1=a,void(l.y1=u)}var f=c[t],p=r/2+f,d=t+1,h=n-1;for(;d<h;){var m=d+h>>>1;c[m]<p?d=m+1:h=m}p-c[d-1]<c[d]-p&&t+1<d&&--d;var y=c[d]-f,g=r-y;if(a-i>u-o){var v=r?(i*g+a*y)/r:a;e(t,d,y,i,o,v,u),e(d,n,g,v,o,a,u)}else{var b=r?(o*g+u*y)/r:u;e(t,d,y,i,o,a,b),e(d,n,g,i,b,a,u)}}(0,u,e.value,t,n,r,i)}n.r(t),n.d(t,{default:()=>r})},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>u});var r=n(1695),i=n(1693),o=n(1694),a=n(1696);function s(e){return Math.sqrt(e.value)}function u(){var e=null,t=1,n=1,a=i.constantZero;function u(r){const u=(0,o.default)();return r.x=t/2,r.y=n/2,e?r.eachBefore(c(e)).eachAfter(l(a,.5,u)).eachBefore(f(1)):r.eachBefore(c(s)).eachAfter(l(i.constantZero,1,u)).eachAfter(l(a,r.r/Math.min(t,n),u)).eachBefore(f(M
vendor: 4,334 bytes, line 51
51ath.min(t,n)/(2*r.r))),r}return u.radius=function(t){return arguments.length?(e=(0,r.optional)(t),u):e},u.size=function(e){return arguments.length?(t=+e[0],n=+e[1],u):[t,n]},u.padding=function(e){return arguments.length?(a="function"==typeof e?e:(0,i.default)(+e),u):a},u}function c(e){return function(t){t.children||(t.r=Math.max(0,+e(t)||0))}}function l(e,t,n){return function(r){if(i=r.children){var i,o,s,u=i.length,c=e(r)*t||0;if(c)for(o=0;o<u;++o)i[o].r+=c;if(s=(0,a.packSiblingsRandom)(i,n),c)for(o=0;o<u;++o)i[o].r-=c;r.r=s+c}}}function f(e){return function(t){var n=t.parent;t.r*=e,n&&(t.x=n.x+e*t.x,t.y=n.y+e*t.y)}}},(e,t,n)=>{"use strict";function r(){return 0}function i(e){return function(){return e}}n.r(t),n.d(t,{constantZero:()=>r,default:()=>i})},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});const r=1664525,i=1013904223,o=4294967296;function a(){let e=1;return()=>(e=(r*e+i)%o)/o}},(e,t,n)=>{"use strict";function r(e){return null==e?null:i(e)}function i(e){if("function"!=typeof e)throw new Error;return e}n.r(t),n.d(t,{optional:()=>r,required:()=>i})},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>f,packSiblingsRandom:()=>l});var r=n(1697),i=n(1694),o=n(1698);function a(e,t,n){var r,i,o,a,s=e.x-t.x,u=e.y-t.y,c=s*s+u*u;c?(i=t.r+n.r,i*=i,a=e.r+n.r,i>(a*=a)?(r=(c+a-i)/(2*c),o=Math.sqrt(Math.max(0,a/c-r*r)),n.x=e.x-r*s-o*u,n.y=e.y-r*u+o*s):(r=(c+i-a)/(2*c),o=Math.sqrt(Math.max(0,i/c-r*r)),n.x=t.x+r*s-o*u,n.y=t.y+r*u+o*s)):(n.x=t.x+n.r,n.y=t.y)}function s(e,t){var n=e.r+t.r-1e-6,r=t.x-e.x,i=t.y-e.y;return n>0&&n*n>r*r+i*i}function u(e){var t=e._,n=e.next._,r=t.r+n.r,i=(t.x*n.r+n.x*t.r)/r,o=(t.y*n.r+n.y*t.r)/r;return i*i+o*o}function c(e){this._=e,this.next=null,this.previous=null}function l(e,t){if(!(f=(e=(0,r.default)(e)).length))return 0;var n,i,l,f,p,d,h,m,y,g,v;if((n=e[0]).x=0,n.y=0,!(f>1))return n.r;if(i=e[1],n.x=-i.r,i.x=n.r,i.y=0,!(f>2))return n.r+i.r;a(i,n,l=e[2]),n=new c(n),i=new c(i),l=new c(l),n.next=l.previous=i,i.next=n.previous=l,l.next=i.previous=n;e:for(h=3;h<f;++h){a(n._,i._,l=e[h]),l=new c(l),m=i.next,y=n.previous,g=i._.r,v=n._.r;do{if(g<=v){if(s(m._,l._)){i=m,n.next=i,i.previous=n,--h;continue e}g+=m._.r,m=m.next}else{if(s(y._,l._)){(n=y).next=i,i.previous=n,--h;continue e}v+=y._.r,y=y.previous}}while(m!==y.next);for(l.previous=n,l.next=i,n.next=i.previous=i=l,p=u(n);(l=l.next)!==i;)(d=u(l))<p&&(n=l,p=d);i=n.next}for(n=[i._],l=i;(l=l.next)!==i;)n.push(l._);for(l=(0,o.packEncloseRandom)(n,t),h=0;h<f;++h)(n=e[h]).x-=l.x,n.y-=l.y;return l.r}function f(e){return l(e,(0,i.default)()),e}},(e,t,n)=>{"use strict";function r(e){return"object"==typeof e&&"length"in e?e:Array.from(e)}function i(e,t){let n,r,i=e.length;for(;i;)r=t()*i--|0,n=e[i],e[i]=e[r],e[r]=n;return e}n.r(t),n.d(t,{default:()=>r,shuffle:()=>i})},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o,packEncloseRandom:()=>a});var r=n(1697),i=n(1694);function o(e){return a(e,(0,i.default)())}function a(e,t){for(var n,i,o=0,a=(e=(0,r.shuffle)(Array.from(e),t)).length,u=[];o<a;)n=e[o],i&&c(i,n)?++o:(i=f(u=s(u,n)),o=0);return i}function s(e,t){var n,r;if(l(t,e))return[t];for(n=0;n<e.length;++n)if(u(t,e[n])&&l(p(e[n],t),e))return[e[n],t];for(n=0;n<e.length-1;++n)for(r=n+1;r<e.length;++r)if(u(p(e[n],e[r]),t)&&u(p(e[n],t),e[r])&&u(p(e[r],t),e[n])&&l(d(e[n],e[r],t),e))return[e[n],e[r],t];throw new Error}function u(e,t){var n=e.r-t.r,r=t.x-e.x,i=t.y-e.y;return n<0||n*n<r*r+i*i}function c(e,t){var n=e.r-t.r+1e-9*Math.max(e.r,t.r,1),r=t.x-e.x,i=t.y-e.y;return n>0&&n*n>r*r+i*i}function l(e,t){for(var n=0;n<t.length;++n)if(!c(e,t[n]))return!1;return!0}function f(e){switch(e.length){case 1:return{x:(t=e[0]).x,y:t.y,r:t.r};case 2:return p(e[0],e[1]);case 3:return d(e[0],e[1],e[2])}var t}function p(e,t){var n=e.x,r=e.y,i=e.r,o=t.x,a=t.y,s=t.r,u=o-n,c=a-r,l=s-i,f=Math.sqrt(u*u+c*c);return{x:(n+o+u/f*l)/2,y:(r+a+c/f*l)/2,r:(f+i+s)/2}}function d(e,t,n){var r=e.x,i=e.y,o=e.r,a=t.x,s=t.y,u=t.r,c=n.x,l=n.y,f=n.r,p=r-a,d=r-c,h=i-s,m=i-l,y=u-o,g=f-o,v=r*r+i*i-o*o,b=v-a*a-s*s+u*u,_=v-c*c-l*l+f*f,E=d*h-p*m,S=(h*_-m*b)/(2*E)-r,w=(m*y-h*g)/E,T=(d*b-p*_)/(2*E)-i,O=(p*g-d*y)/E,x=w*w+O*O-1,k=2*(o+S*w+T*O),R=S*S+T*T-o*o,N=-(Math.abs(x)>1e-6?(k+Math.sqrt(k*k-4*x*R))/(2*x):R/k);return{x:r+S+w*N,y:i+T+O*N,r:N}}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(1666),i=n(1687),o=n(1695),a=n(1693);
51function s(){var e=i.default,t=!1,n=1,s=1,u=[0],c=a.constantZero,l=a.constantZero,f=a.constantZero,p=a.constantZero,d=a.constantZero;function h(e){return e.x0=e.y0=0,e.x1=n,e.y1=s,e.eachBefore(m),u=[0],t&&e.eachBefore(r.default),e}function m(t){var n=u[t.depth],r=t.x0+n,i=t.y0+n,o=t.x1-n,a=t.y1-n;o<r&&(r=o=(r+o)/2),a<i&&(i=a=(i+a)/2),t.x0=r,t.y0=i,t.x1=o,t.y1=a,t.children&&(n=u[t.depth+1]=c(t)/2,r+=d(t)-n,i+=l(t)-n,(o-=f(t)-n)<r&&(r=o=(r+o)/2),(a-=p(t)-n)<i&&(i=a=(i+a)/2),e(t,r,i,o,a))}return h.round=function(e){return arguments.length?(t=!!e,h):t},h.size=function(e){return arguments.length?(n=+e[0],s=+e[1],h):[n,s]},h.tile=function(t){return arguments.length?(e=(0,o.required)(t),h):e},h.padding=function(e){return arguments.length?h.paddingInner(e).paddingOuter(e):h.paddingInner()},h.paddingInner=function(e){return arguments.length?(c="function"==typeof e?e:(0,a.default)(+e),h):c},h.paddingOuter=function(e){return arguments.length?h.paddingTop(e).paddingRight(e).paddingBottom(e).paddingLeft(e):h.paddingTop()},h.paddingTop=function(e){return arguments.length?(l="function"==typeof e?e:(0,a.default)(+e),h):l},h.paddingRight=function(e){return arguments.length?(f="function"==typeof e?e:(0,a.default)(+e),h):f},h.paddingBottom=function(e){return arguments.length?(p="function"==typeof e?e:(0,a.default)(+e),h):p},h.paddingLeft=function(e){return arguments.length?(d="function"==typeof e?e:(0,a.default)(+e),h):d},h}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(242);function i(e){var t=e.id,n=void 0===t?"content-area":t,i=e.innerWidth,o=e.innerHeight;return r.default.createElement("defs",null,r.default.createElement("clipPath",{id:n},r.default.createElement("rect",{x:0,y:0,width:i,height:o})))}i.requiresSVG=!0,i.displayName="ContentClipPath"},(e,t,n)=>{"use strict";n.r(t),n.d(t,{FlexibleHeightXYPlot:()=>D,FlexibleWidthXYPlot:()=>I,FlexibleXYPlot:()=>C,makeHeightFlexible:()=>R,makeVisFlexible:()=>N,makeWidthFlexible:()=>A});var r=n(242),i=n(1702),o=n.n(i),a=n(1612),s=n(1428);function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function c(){return c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c.apply(this,arguments)}function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){b(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function p(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function d(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function h(e,t,n){return t&&d(e.prototype,t),n&&d(e,n),e}function m(e,t){return m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},m(e,t)}function y(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=v(e);if(t){var i=v(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===u(t)||"function"==typeof t))return t;return g(e)}(this,n)}}function g(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v(e){return v=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},v(e)}function b(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var _="container",E=[],S=100,w=null;function T(){o().clearTimeout(w),w=o().setTimeout(O,S)}
51function O(){E.forEach((function(e){return e()}))}function x(e){return E.push(e),1===E.length&&o().addEventListener("resize",T),function(){!function(e){var t=E.indexOf(e);t>-1&&E.splice(t,1)}(e),0===E.length&&(o().clearTimeout(w),o().removeEventListener("resize",T))}}function k(e,t,n){var i,o=(i=function(i){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&m(e,t)}(a,i);var o=y(a);function a(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),b(g(t=o.call(this,e)),"_onResize",(function(){var e=(0,s.getDOMNode)(t[_]),n=e.offsetHeight,r=e.offsetWidth,i=t.state.height===n?{}:{height:n},o=t.state.width===r?{}:{width:r};t.setState(f(f({},i),o))})),t.state={height:0,width:0},t}return h(a,null,[{key:"propTypes",get:function(){var t=e.propTypes;t.height,t.width;return p(t,["height","width"])}}]),h(a,[{key:"componentDidMount",value:function(){this._onResize(),this.cancelSubscription=x(this._onResize)}},{key:"UNSAFE_componentWillReceiveProps",value:function(){this._onResize()}},{key:"componentWillUnmount",value:function(){this.cancelSubscription()}},{key:"render",value:function(){var i=this,o=this.state,a=o.height,s=o.width,u=f(f({},this.props),{},{animation:0===a&&0===s?null:this.props.animation}),l=f(f({},n?{height:a}:{}),t?{width:s}:{});return r.default.createElement("div",{ref:function(e){return i[_]=e},style:{width:"100%",height:"100%"}},r.default.createElement(e,c({},l,u)))}}]),a}(r.default.Component),i);return o.displayName="Flexible".concat(function(e){return e.displayName||e.name||"Component"}(e)),o}function R(e){return k(e,!1,!0)}function N(e){return k(e,!0,!0)}function A(e){return k(e,!0,!1)}var I=A(a.default),D=R(a.default),C=N(a.default)},(e,t,n)=>{var r;r="undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:{},e.exports=r},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,(e,t,n)=>{"use strict";n.r(t),n.d(t,{useLazyQuery:()=>c});var r=n(258),i=n(242),o=n(375),a=n(734),s=n(735),u=["refetch","reobserve","fetchMore","updateQuery","startPolling","subscribeToMore"];function c(e,t){var n,c=i.useRef(),l=i.useRef(),f=i.useRef(),p=(0,o.mergeOptions)(t,c.current||{}
51),d=null!==(n=null==p?void 0:p.query)&&void 0!==n?n:e;l.current=p,f.current=d;var h=(0,a.useInternalState)((0,s.useApolloClient)(t&&t.client),d),m=h.useQuery((0,r.__assign)((0,r.__assign)({},p),{skip:!c.current})),y=m.observable.options.initialFetchPolicy||h.getDefaultFetchPolicy(),g=Object.assign(m,{called:!!c.current}),v=i.useMemo((function(){for(var e={},t=function(t){var n=g[t];e[t]=function(){return c.current||(c.current=Object.create(null),h.forceUpdateState()),n.apply(this,arguments)}},n=0,r=u;n<r.length;n++){t(r[n])}return e}),[]);Object.assign(g,v);var b=i.useCallback((function(e){c.current=e?(0,r.__assign)((0,r.__assign)({},e),{fetchPolicy:e.fetchPolicy||y}):{fetchPolicy:y};var t=(0,o.mergeOptions)(l.current,(0,r.__assign)({query:f.current},c.current)),n=h.executeQuery((0,r.__assign)((0,r.__assign)({},t),{skip:!1})).then((function(e){return Object.assign(e,v)}));return n.catch((function(){})),n}),[]);return[b,g]}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,(e,t,n)=>{"use strict";n.r(t),n.d(t,{compareVersions:()=>i});var r=n(1976);const i=(e,t)=>{const n=(0,r.validateAndParse)(e),i=(0,r.validateAndParse)(t),o=n.pop(),a=i.pop(),s=(0,r.compareSegments)(n,i);return 0!==s?s:o&&a?(0,r.compareSegments)(o.split("."),a.split(".")):o||a?o?-1:1:0}},(e,t,n)=>{"use strict";n.r(t),n.d(t,{compareSegments:()=>u,semver:()=>r,validateAndParse:()=>i});const r=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,i=e=>{if("string"!=typeof e)throw new TypeError("Invalid argument expected string");const t=e.match(r);
vendor: 468 bytes, lines 51-52
51if(!t)throw new Error(`Invalid argument not valid semver ('${e}' received)`);return t.shift(),t},o=e=>"*"===e||"x"===e||"X"===e,a=e=>{const t=parseInt(e,10);return isNaN(t)?e:t},s=(e,t)=>{if(o(e)||o(t))return 0;const[n,r]=((e,t)=>typeof e!=typeof t?[String(e),String(t)]:[e,t])(a(e),a(t));return n>r?1:n<r?-1:0},u=(e,t)=>{for(let n=0;n<Math.max(e.length,t.length);n++){const r=s(e[n]||"0",t[n]||"0");if(0!==r)return r}return 0}}]]);
52//# sourceMappingURL=vendors.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.