forked from bombastictranz/awesome
-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
2291-7e609b927320c33a.js.download
142 lines (134 loc) · 144 KB
/
2291-7e609b927320c33a.js.download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2291],{43540:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.useDate=t.DateContext=void 0;let o=n(r(2784));t.DateContext=o.default.createContext({}),t.useDate=()=>o.default.useContext(t.DateContext)},76010:function(e,t,r){"use strict";var n=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)0>t.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});let i=o(r(2784)),a=r(43540);t.default=e=>{let{children:t}=e,r=n(e,["children"]),o=a.useDate(),u=Object.assign(Object.assign({},o),r);return t?i.default.createElement(a.DateContext.Provider,{value:u},i.default.Children.only(t)):null}},2035:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(76010);Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n.default}});var o=r(43540);Object.defineProperty(t,"useDate",{enumerable:!0,get:function(){return o.useDate}})},30499:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});let o=n(r(2784)),i=r(2035),a=n(r(60731)),u=n(r(16166));t.default=e=>{let{date:t,format:r}=e,{timezone:n}=i.useDate(),s=(e.ignoreProfileTimezone?null:n)||a.default()||"UTC",c=u.default(t,r||"default",s),f=u.default(t,"dateString",s);return o.default.createElement("time",{dateTime:f,title:c},c)}},89989:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(30499);Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n.default}})},11741:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});let o=n(r(2784)),i=r(2035),a=n(r(16166)),u=n(r(84752)),s=n(r(60731));t.default=e=>{let{date:t,formatter:r=u.default,hasSuffix:n}=e,{timezone:c}=i.useDate(),f=c||s.default()||"UTC",l=a.default(t,"dateString",f);return o.default.createElement("time",{dateTime:l,title:l},r(Date.now(),t,!1!==n))}},34267:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(11741);Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n.default}})},68516:function(e,t,r){"use strict";r(2035);var n=r(89989);Object.defineProperty(t,"ou",{enumerable:!0,get:function(){return n.default}}),r(34267),r(34245);var o=r(63210);Object.defineProperty(t,"Cp",{enumerable:!0,get:function(){return o.default}}),r(94537);var i=r(16166);Object.defineProperty(t,"o0",{enumerable:!0,get:function(){return i.default}});var a=r(84752);Object.defineProperty(t,"lF",{enumerable:!0,get:function(){return a.default}}),r(19349),r(60731),r(45531),r(10907);var u=r(40890);Object.defineProperty(t,"wG",{enumerable:!0,get:function(){return u.default}})},34245:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let n=r(25155);t.default=(e,t)=>n.differenceInDays(e,t)},63210:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.daysFromNow=void 0;let o=n(r(34245));t.daysFromNow=e=>Math.abs(o.default(Date.now(),e)),t.default=t.daysFromNow},94537:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=e=>("number"==typeof e&&e<1e10&&(e*=1e3),new Date(e))},16166:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});let o=n(r(82067)),i=n(r(94537)),a={dateString:"YYYY-MM-DD",default:"MMMM DD, YYYY",exhaustive:"YYYY-MM-DD HH:mm:ss",iso:"YYYY-MM-DDTHH:mm:ssZ",short:"MMM DD, YYYY"},formatDateTime=(e,t,r)=>{let n=i.default(e);if("iso"===t)return n.toISOString();try{return o.default(n,a[t]||t,r?{timezone:r}:void 0)}catch(o){try{return n.toLocaleDateString("en-US",r?{timeZone:r}:void 0)}catch(r){return formatDateTime(e,t)}}};t.default=formatDateTime},84752:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});let o=r(25155),i=n(r(19928));t.default=(e,t,r=!0)=>{let n=Math.abs(o.differenceInWeeks(e,t));if(n>0&&n<4){let a=Math.abs(o.differenceInDays(e,t))%7,u=a<4?n:n+1,s=o.isAfter(t,e),c=r&&s?"in ":"",f=r&&!s?" ago":"";return`${c}${u} ${i.default("week",u)}${f}`}return o.distanceInWordsStrict(e,t,{addSuffix:r})}},19349:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});let o=n(r(84752));t.default=(e,t,r)=>o.default(e,t,r).replace("year","yr").replace("month","mo").replace("week","wk").replace("hour","hr").replace("minute","min").replace("second","sec")},60731:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=()=>{try{return new Intl.DateTimeFormat().resolvedOptions().timeZone}catch(e){return null}}},10907:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});let o=n(r(40890));t.default=e=>{let t=o.default(e),r=new Date(t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate(),t.getUTCHours(),t.getUTCMinutes(),t.getUTCSeconds(),t.getUTCMilliseconds());return r}},40890:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let n=r(25155);t.default=e=>"number"==typeof e&&!isNaN(e)&&e<1e10?n.parse(1e3*e):n.parse(e)},45531:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});let o=n(r(17969));t.default=e=>e(o.default())},41273:function(e,t,r){"use strict";r.d(t,{q:function(){return Avatar}});var n=r(2784),o=r(28165),i=r(37365),a=r(3e3),u=r(99029),s=r(98628),c=r(39479),f=r(77293);let getNameInitials=e=>{let t=(e||"").trim().split(/\s+/).map(e=>e[0]),r=t[0],n=t[t.length-1];return r?1===t.length?String(r):`${r}${n}`:""},mapV4ColortoV5Color=e=>{let t;switch(e){case"lava":t="primary";break;case"ocean":t="secondary";break;case"sun":t="tertiary";break;default:t=e}return t},l=(0,c.B)("Avatar",{root:(e,t)=>[o.iv`
${a.ZT.base};
font-weight: 700;
line-height: 1;
user-select: none;
align-items: center;
border-radius: 50%;
display: inline-flex;
justify-content: center;
overflow: hidden;
position: relative;
border: 1px solid ${u.w.neutral100};
transition: ${s.f.transitionValue};
&[data-block] {
display: flex;
}
&[data-interactive] {
&:hover,
&:focus {
border-color: ${u.w.neutral300};
}
}
&[data-selected][data-selected] {
border-color: ${u.w.blue};
}
`,!t.url||t.url&&e?o.iv`
&:nth-of-type(1n),
&[data-color='lava'][data-color] {
background-color: ${u.w.neutral800};
color: ${u.w.neutral100};
}
&:nth-of-type(1n),
&[data-color='primary'][data-color] {
background-color: ${u.w.neutral800};
color: ${u.w.neutral100};
}
&:nth-of-type(2n),
&[data-color='ocean'][data-color] {
background-color: ${u.w.night};
color: ${u.w.neutral100};
}
&:nth-of-type(2n),
&[data-color='secondary'][data-color] {
background-color: ${u.w.night};
color: ${u.w.neutral100};
}
&:nth-of-type(3n),
&[data-color='sun'][data-color] {
background-color: ${u.w.moss};
color: ${u.w.neutral100};
}
&:nth-of-type(3n),
&[data-color='tertiary'][data-color] {
background-color: ${u.w.moss};
color: ${u.w.neutral100};
}
`:null,o.iv`
label: -${t.size}x ${t.size};
height: ${t.size}px;
width: ${t.size}px;
font-size: ${Math.floor(t.size*(t.size>25?.35:.45))}px;
`,t.size>=40&&o.iv`
border-width: 2px;
`],img:o.iv`
display: block;
width: 100%;
height: 100%;
object-fit: cover;
`}),Avatar=({ariaHidden:e,color:t,isBlock:r,isInteractive:o,isSelected:a,name:u,url:s,shouldLazilyLoad:c=!0,size:p=25})=>{let[d,h]=(0,n.useState)(!1),g=u?getNameInitials(u):null;return(0,n.useEffect)(()=>{d&&h(!1)},[s]),(0,f.U)("div",{"aria-hidden":e,"aria-label":u,css:l.root(d,{url:s,size:p}),"data-block":r?"true":void 0,"data-color":mapV4ColortoV5Color(t),"data-interactive":o?"true":void 0,"data-selected":a?"true":void 0,"data-size":p,"data-testid":"Avatar",role:"img"},s&&!d?(0,f.U)(i.E,{css:l.img,alt:u,ariaHidden:!0,height:p,onError:()=>h(!0),src:s,width:p,loading:c?"lazy":"eager"}):(0,f.U)("span",null,g))}},37365:function(e,t,r){"use strict";let n;r.d(t,{E:function(){return Img}});var o=r(13980),i=r.n(o),a=r(2784);Array.prototype.findIndex||Object.defineProperty(Array.prototype,"findIndex",{value:function(e){if(this==null)throw TypeError("Array.prototype.findIndex called on null or undefined");if("function"!=typeof e)throw TypeError("predicate must be a function");for(var t,r=Object(this),n=r.length>>>0,o=arguments[1],i=0;i<n;i++)if(t=r[i],e.call(o,t,i,r))return i;return -1},enumerable:!1,configurable:!1,writable:!1});var u=r(45982),s=r.n(u),c=r(88665),f=r.n(c),l={warnings:{fallbackImage:!0,sizesAttribute:!0,invalidARFormat:!0}},p="9.7.0",d=r(48834).lW;let h="3.7.5",g="function"==typeof atob,y="function"==typeof btoa,m="function"==typeof d,b="function"==typeof TextDecoder?new TextDecoder:void 0,v="function"==typeof TextEncoder?new TextEncoder:void 0,_=Array.prototype.slice.call("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="),x=(n={},_.forEach((e,t)=>n[e]=t),n),w=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,O=String.fromCharCode.bind(String),S="function"==typeof Uint8Array.from?Uint8Array.from.bind(Uint8Array):e=>new Uint8Array(Array.prototype.slice.call(e,0)),_mkUriSafe=e=>e.replace(/=/g,"").replace(/[+\/]/g,e=>"+"==e?"-":"_"),_tidyB64=e=>e.replace(/[^A-Za-z0-9\+\/]/g,""),btoaPolyfill=e=>{let t,r,n,o,i="",a=e.length%3;for(let a=0;a<e.length;){if((r=e.charCodeAt(a++))>255||(n=e.charCodeAt(a++))>255||(o=e.charCodeAt(a++))>255)throw TypeError("invalid character found");i+=_[(t=r<<16|n<<8|o)>>18&63]+_[t>>12&63]+_[t>>6&63]+_[63&t]}return a?i.slice(0,a-3)+"===".substring(a):i},T=y?e=>btoa(e):m?e=>d.from(e,"binary").toString("base64"):btoaPolyfill,P=m?e=>d.from(e).toString("base64"):e=>{let t=[];for(let r=0,n=e.length;r<n;r+=4096)t.push(O.apply(null,e.subarray(r,r+4096)));return T(t.join(""))},fromUint8Array=(e,t=!1)=>t?_mkUriSafe(P(e)):P(e),cb_utob=e=>{if(e.length<2){var t=e.charCodeAt(0);return t<128?e:t<2048?O(192|t>>>6)+O(128|63&t):O(224|t>>>12&15)+O(128|t>>>6&63)+O(128|63&t)}var t=65536+(e.charCodeAt(0)-55296)*1024+(e.charCodeAt(1)-56320);return O(240|t>>>18&7)+O(128|t>>>12&63)+O(128|t>>>6&63)+O(128|63&t)},M=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,utob=e=>e.replace(M,cb_utob),I=m?e=>d.from(e,"utf8").toString("base64"):v?e=>P(v.encode(e)):e=>T(utob(e)),encode=(e,t=!1)=>t?_mkUriSafe(I(e)):I(e),base64_encodeURI=e=>encode(e,!0),A=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,cb_btou=e=>{switch(e.length){case 4:var t=((7&e.charCodeAt(0))<<18|(63&e.charCodeAt(1))<<12|(63&e.charCodeAt(2))<<6|63&e.charCodeAt(3))-65536;return O((t>>>10)+55296)+O((1023&t)+56320);case 3:return O((15&e.charCodeAt(0))<<12|(63&e.charCodeAt(1))<<6|63&e.charCodeAt(2));default:return O((31&e.charCodeAt(0))<<6|63&e.charCodeAt(1))}},btou=e=>e.replace(A,cb_btou),atobPolyfill=e=>{if(e=e.replace(/\s+/g,""),!w.test(e))throw TypeError("malformed base64.");e+="==".slice(2-(3&e.length));let t,r="",n,o;for(let i=0;i<e.length;)t=x[e.charAt(i++)]<<18|x[e.charAt(i++)]<<12|(n=x[e.charAt(i++)])<<6|(o=x[e.charAt(i++)]),r+=64===n?O(t>>16&255):64===o?O(t>>16&255,t>>8&255):O(t>>16&255,t>>8&255,255&t);return r},B=g?e=>atob(_tidyB64(e)):m?e=>d.from(e,"base64").toString("binary"):atobPolyfill,D=m?e=>S(d.from(e,"base64")):e=>S(B(e).split("").map(e=>e.charCodeAt(0))),toUint8Array=e=>D(_unURI(e)),j=m?e=>d.from(e,"base64").toString("utf8"):b?e=>b.decode(D(e)):e=>btou(B(e)),_unURI=e=>_tidyB64(e.replace(/[-_]/g,e=>"-"==e?"+":"/")),decode=e=>j(_unURI(e)),_noEnum=e=>({value:e,enumerable:!1,writable:!0,configurable:!0}),extendString=function(){let _add=(e,t)=>Object.defineProperty(String.prototype,e,_noEnum(t));_add("fromBase64",function(){return decode(this)}),_add("toBase64",function(e){return encode(this,e)}),_add("toBase64URI",function(){return encode(this,!0)}),_add("toBase64URL",function(){return encode(this,!0)}),_add("toUint8Array",function(){return toUint8Array(this)})},extendUint8Array=function(){let _add=(e,t)=>Object.defineProperty(Uint8Array.prototype,e,_noEnum(t));_add("toBase64",function(e){return fromUint8Array(this,e)}),_add("toBase64URI",function(){return fromUint8Array(this,!0)}),_add("toBase64URL",function(){return fromUint8Array(this,!0)})},C={version:h,VERSION:h,atob:B,atobPolyfill:atobPolyfill,btoa:T,btoaPolyfill:btoaPolyfill,fromBase64:decode,toBase64:encode,encode:encode,encodeURI:base64_encodeURI,encodeURL:base64_encodeURI,utob:utob,btou:btou,decode:decode,isValid:e=>{if("string"!=typeof e)return!1;let t=e.replace(/\s+/g,"").replace(/={0,2}$/,"");return!/[^\s0-9a-zA-Z\+/]/.test(t)||!/[^\s0-9a-zA-Z\-_]/.test(t)},fromUint8Array:fromUint8Array,toUint8Array:toUint8Array,extendString:extendString,extendUint8Array:extendUint8Array,extendBuiltins:()=>{extendString(),extendUint8Array()}};var E=r(68762),R=r.n(E);let k=/\+/g;function dist_decode(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}let U=/^\w{2,}:([/\\]{1,2})/,z=/^\w{2,}:([/\\]{2})?/,F=/^([/\\]\s*){2,}[^/\\]/;function hasProtocol(e,t={}){return("boolean"==typeof t&&(t={acceptRelative:t}),t.strict)?U.test(e):z.test(e)||!!t.acceptRelative&&F.test(e)}function getQuery(e){return function(e=""){let t={};for(let r of("?"===e[0]&&(e=e.slice(1)),e.split("&"))){let e=r.match(/([^=]+)=?(.*)/)||[];if(e.length<2)continue;let n=dist_decode(e[1]);if("__proto__"===n||"constructor"===n)continue;let o=dist_decode((e[2]||"").replace(k," "));void 0!==t[n]?Array.isArray(t[n])?t[n].push(o):t[n]=[t[n],o]:t[n]=o}return t}(parseURL(e).search)}function parseURL(e="",t){if(!hasProtocol(e,{acceptRelative:!0}))return t?parseURL(t+e):parsePath(e);let[r="",n,o=""]=(e.replace(/\\/g,"/").match(/([^/:]+:)?\/\/([^/@]+@)?(.*)/)||[]).splice(1),[i="",a=""]=(o.match(/([^#/?]*)(.*)?/)||[]).splice(1),{pathname:u,search:s,hash:c}=parsePath(a.replace(/\/(?=[A-Za-z]:)/,""));return{protocol:r,auth:n?n.slice(0,Math.max(0,n.length-1)):"",host:i,pathname:u,search:s,hash:c}}function parsePath(e=""){let[t="",r="",n=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:r,hash:n}}function ownKeys(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function _objectSpread2(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ownKeys(Object(r),!0).forEach(function(t){var n,o;n=t,o=r[t],(n=index_esm_toPropertyKey(n))in e?Object.defineProperty(e,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[n]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ownKeys(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function index_esm_typeof(e){return(index_esm_typeof="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})(e)}function index_esm_defineProperties(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,index_esm_toPropertyKey(n.key),n)}}function _slicedToArray(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,u=[],s=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(n=i.call(r)).done)&&(u.push(n.value),u.length!==t);s=!0);}catch(e){c=!0,o=e}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return u}}(e,t)||_unsupportedIterableToArray(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _toConsumableArray(e){return function(e){if(Array.isArray(e))return _arrayLikeToArray(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||_unsupportedIterableToArray(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _unsupportedIterableToArray(e,t){if(e){if("string"==typeof e)return _arrayLikeToArray(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return _arrayLikeToArray(e,t)}}function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function index_esm_toPropertyKey(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}var Y=/^(?:[a-z\d\-_]{1,62}\.){0,125}(?:[a-z\d](?:\-(?=\-*[a-z\d])|[a-z]|\d){0,62}\.)[a-z\d]{1,63}$/i,L={1:75,2:50,3:35,4:23,5:20},H=[1,2,3,4,5],W={domain:null,useHTTPS:!0,includeLibraryParam:!0,urlPrefix:"https://",secureURLToken:null};function extractUrl(e){var t=e.url,r=void 0===t?"":t,n=e.useHttps;return hasProtocol(r,!0)?parseURL(r):extractUrl({url:(void 0!==n&&n?"https://":"http://")+r})}function validateRange(e,t){if(!(Number.isInteger(e)&&Number.isInteger(t))||e<=0||t<=0||e>t)throw Error("The min and max srcset widths can only be passed positive Number values, and min must be less than max. Found min: ".concat(e," and max: ").concat(t,"."))}function validateWidthTolerance(e){if("number"!=typeof e||e<.01)throw Error("The srcset widthTolerance must be a number greater than or equal to 0.01")}var N=function(){var e,t;function ImgixClient(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,ImgixClient),this.settings=_objectSpread2(_objectSpread2({},W),e),this.targetWidthsCache={},"string"!=typeof this.settings.domain)throw Error("ImgixClient must be passed a valid string domain");if(null==Y.exec(this.settings.domain))throw Error('Domain must be passed in as fully-qualified domain name and should not include a protocol or any path element, i.e. "example.imgix.net".');this.settings.includeLibraryParam&&(this.settings.libraryParam="js-"+ImgixClient.version()),this.settings.urlPrefix=this.settings.useHTTPS?"https://":"http://"}return e=[{key:"buildURL",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=this._sanitizePath(e,r),o=this._buildParams(t,r);return this.settings.secureURLToken&&(o=this._signParams(n,o)),this.settings.urlPrefix+this.settings.domain+n+o}},{key:"_buildParams",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=!!t.encoder,n=t.encoder,o=[].concat(_toConsumableArray(this.settings.libraryParam?["ixlib=".concat(this.settings.libraryParam)]:[]),_toConsumableArray(Object.entries(e).reduce(function(e,t){var o=_slicedToArray(t,2),i=o[0],a=o[1];if(null==a)return e;var u=r?n(i,a):encodeURIComponent(i),s="64"===i.substr(-2)?r?n(a,i):C.encodeURI(a):r?n(a,i):encodeURIComponent(a);return e.push("".concat(u,"=").concat(s)),e},[])));return"".concat(o.length>0?"?":"").concat(o.join("&"))}},{key:"_signParams",value:function(e,t){var r=this.settings.secureURLToken+e+t,n=R()(r);return t.length>0?t+"&s="+n:"?s="+n}},{key:"_sanitizePath",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.replace(/^\//,"");return t.disablePathEncoding?"/"+r:"/"+(r=t.encoder?t.encoder(r):/^https?:\/\//.test(r)?encodeURIComponent(r):encodeURI(r).replace(/[#?:+]/g,encodeURIComponent))}},{key:"buildSrcSet",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=t.w,o=t.h;return n||o?this._buildDPRSrcSet(e,t,r):this._buildSrcSetPairs(e,t,r)}},{key:"_buildSrcSetPairs",value:function(e){var t,r,n,o,i=this,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},u=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},s=_slicedToArray((void 0!==u.widthTolerance?(validateWidthTolerance(u.widthTolerance),t=u.widthTolerance):t=.08,r=void 0===u.minWidth?100:u.minWidth,n=void 0===u.maxWidth?8192:u.maxWidth,(100!=r||8192!=n)&&validateRange(r,n),[t,r,n]),3),c=s[0],f=s[1],l=s[2];return u.widths?(function(e){if(Array.isArray(e)&&e.length){if(!e.every(function(e){return Number.isInteger(e)&&e>0}))throw Error("A custom widths argument can only contain positive integer values")}else throw Error("The widths argument can only be passed a valid non-empty array of integers")}(u.widths),o=_toConsumableArray(u.widths)):o=ImgixClient.targetWidths(f,l,c,this.targetWidthsCache),o.map(function(t){return"".concat(i.buildURL(e,_objectSpread2(_objectSpread2({},a),{},{w:t}),u)," ").concat(t,"w")}).join(",\n")}},{key:"_buildDPRSrcSet",value:function(e){var t=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};n.devicePixelRatios&&function(e){if(Array.isArray(e)&&e.length){if(!e.every(function(e){return"number"==typeof e&&e>=1&&e<=5}))throw Error("The devicePixelRatios argument can only contain positive integer values between 1 and 5")}else throw Error("The devicePixelRatios argument can only be passed a valid non-empty array of integers")}(n.devicePixelRatios);var o=n.devicePixelRatios||H,i=n.disableVariableQuality||!1;i||function(e){if("boolean"!=typeof e)throw Error("The disableVariableQuality argument can only be passed a Boolean value")}(i),n.variableQualities&&function(e){if("object"!==index_esm_typeof(e))throw Error("The variableQualities argument can only be an object")}(n.variableQualities);var a=_objectSpread2(_objectSpread2({},L),n.variableQualities);return(i?o.map(function(o){return"".concat(t.buildURL(e,_objectSpread2(_objectSpread2({},r),{},{dpr:o}),n)," ").concat(o,"x")}):o.map(function(o){return"".concat(t.buildURL(e,_objectSpread2(_objectSpread2({},r),{},{dpr:o,q:r.q||a[o]||a[Math.floor(o)]}),n)," ").concat(o,"x")})).join(",\n")}}],t=[{key:"version",value:function(){return"3.8.0"}},{key:"_buildURL",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(null==e)return"";var n=extractUrl({url:e,useHTTPS:r.useHTTPS}),o=n.host,i=n.pathname,a=_objectSpread2(_objectSpread2({},getQuery(n.search)),t);if(!o.length||!i.length)throw Error("_buildURL: URL must match {host}/{pathname}?{query}");return new ImgixClient(_objectSpread2({domain:o},r)).buildURL(i,a)}},{key:"_buildSrcSet",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if(null==e)return"";var o=extractUrl({url:e,useHTTPS:n.useHTTPS}),i=o.host,a=o.pathname,u=_objectSpread2(_objectSpread2({},getQuery(o.search)),t);if(!i.length||!a.length)throw Error("_buildOneStepURL: URL must match {host}/{pathname}?{query}");return new ImgixClient(_objectSpread2({domain:i},n)).buildSrcSet(a,u,r)}},{key:"targetWidths",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:100,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:8192,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:.08,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=Math.floor(e),i=Math.floor(t);validateRange(e,t),validateWidthTolerance(r);var a=r+"/"+o+"/"+i;if(a in n)return n[a];if(o===i)return[o];for(var u=[],s=o;s<i;)u.push(Math.round(s)),s*=1+2*r;return u[u.length-1]<i&&u.push(i),n[a]=u,u}}],e&&index_esm_defineProperties(ImgixClient.prototype,e),t&&index_esm_defineProperties(ImgixClient,t),Object.defineProperty(ImgixClient,"prototype",{writable:!1}),ImgixClient}();function constructUrl_nonIterableRest(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function constructUrl_unsupportedIterableToArray(e,t){if(e){if("string"==typeof e)return constructUrl_arrayLikeToArray(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return constructUrl_arrayLikeToArray(e,t)}}function constructUrl_arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function constructUrl_arrayWithHoles(e){if(Array.isArray(e))return e}var $=Object.freeze({brightness:"bri",contrast:"con",exposure:"exp",gamma:"gam",highlights:"high",hue:"hue",invert:"invert",saturation:"sat",shaddows:"shad",shadows:"shad",sharpness:"sharp","unsharp-mask":"usm","unsharp-radius":"usmrad",vibrance:"vib","auto-features":"auto","background-color":"bg",blend:"blend","blend-mode":"bm","blend-align":"ba","blend-alpha":"balph","blend-padding":"bp","blend-width":"bw","blend-height":"bh","blend-fit":"bf","blend-crop":"bc","blend-size":"bs","blend-x":"bx","blend-y":"by",border:"border",padding:"pad","face-index":"faceindex","face-padding":"facepad",faces:"faces","chroma-subsampling":"chromasub","color-quantization":"colorquant",download:"dl",DPI:"dpi",format:"fm","lossless-compression":"lossless",quality:"q","mask-image":"mask","noise-blur":"nr","noise-sharpen":"nrs","flip-direction":"flip",orientation:"or","rotation-angle":"rot","crop-mode":"crop","fit-mode":"fit","image-height":"h","image-width":"w",blurring:"blur",halftone:"htn",monotone:"mono",pixelate:"px","sepia-tone":"sepia",height:"h",width:"w"});function compactParamKeys(e){for(var t=Object.keys(e),r=t.length,n={},o=0;o<r;o++){var i=t[o];$[i]?n[$[i]]=e[i]:n[i]=e[i]}return n}function extractClientAndPathComponents(e){var t,r,n=constructUrl_arrayWithHoles(t=e.split("://"))||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,u=[],s=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(n=i.call(r)).done)&&(u.push(n.value),u.length!==t);s=!0);}catch(e){c=!0,o=e}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return u}}(t,2)||constructUrl_unsupportedIterableToArray(t,2)||constructUrl_nonIterableRest(),o=n[0],i=constructUrl_arrayWithHoles(r=n[1].split("/"))||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(r)||constructUrl_unsupportedIterableToArray(r)||constructUrl_nonIterableRest(),a=i[0],u=i.slice(1);return{client:new N({domain:a,useHTTPS:"https"==o,includeLibraryParam:!1}),pathComponents:u}}Object.freeze({auto:"format"});var es_constructUrl=function(e,t,r){if(!e)return"";var n=compactParamKeys(t),o=extractClientAndPathComponents(e),i=o.client,a=o.pathComponents;return i.buildURL(a.join("/"),n,r)};function extractQueryParams_extractQueryParams(e){var t=e.split("?"),r=t[0],n=t[1];if(!n)return[r,{}];for(var o=n.split("&"),i={},a=o.length,u=0;u<a;u++){var s=o[u].split("="),c=s[0],f=s[1];i[c]=decodeURIComponent(f)}return[r,i]}function shouldComponentUpdateHOC_typeof(e){return(shouldComponentUpdateHOC_typeof="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})(e)}function shouldComponentUpdateHOC_defineProperties(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,shouldComponentUpdateHOC_toPropertyKey(n.key),n)}}function _setPrototypeOf(e,t){return(_setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function _assertThisInitialized(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _getPrototypeOf(e){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function shouldComponentUpdateHOC_toPropertyKey(e){var t=function(e,t){if("object"!==shouldComponentUpdateHOC_typeof(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==shouldComponentUpdateHOC_typeof(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===shouldComponentUpdateHOC_typeof(t)?t:String(t)}var ShouldComponentUpdateHOC=function(e){var t=function(t){!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&_setPrototypeOf(e,t)}(ShouldComponentUpdateHOC,t);var r,n,o,i=(r=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,t=_getPrototypeOf(ShouldComponentUpdateHOC);if(r){var n=_getPrototypeOf(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return function(e,t){if(t&&("object"===shouldComponentUpdateHOC_typeof(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return _assertThisInitialized(e)}(this,e)});function ShouldComponentUpdateHOC(){!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,ShouldComponentUpdateHOC);for(var e,t,r,n,o=arguments.length,a=Array(o),u=0;u<o;u++)a[u]=arguments[u];return t=_assertThisInitialized(e=i.call.apply(i,[this].concat(a))),r="shouldComponentUpdate",n=function(t){var r=e.props;return s()(t.onMounted==e.props.onMounted,"props.onMounted() is changing between renders. This is probably not intended. Ensure that a class method is being passed to Imgix rather than a function that is created every render. If this is intended, ignore this warning."),!f()(r,t,function(e,t,r){return"children"===r?f()(e,t):"imgixParams"===r?f()(e,t,function(e,t){if(Array.isArray(e))return f()(e,t)}):"htmlAttributes"===r||"attributeConfig"===r?f()(e,t):void 0})},(r=shouldComponentUpdateHOC_toPropertyKey(r))in t?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n,e}return n=[{key:"render",value:function(){return a.createElement(e,this.props)}}],shouldComponentUpdateHOC_defineProperties(ShouldComponentUpdateHOC.prototype,n),o&&shouldComponentUpdateHOC_defineProperties(ShouldComponentUpdateHOC,o),Object.defineProperty(ShouldComponentUpdateHOC,"prototype",{writable:!1}),ShouldComponentUpdateHOC}(a.Component);return t.displayName="ShouldComponentUpdateHOC(".concat(e.displayName,")"),t},Z=(0,a.createContext)();function propMerger_typeof(e){return(propMerger_typeof="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})(e)}function propMerger_arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function propMerger_ownKeys(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}var mergeProps=function mergeProps(e,t){if(null==e&&null!==t)return t;if(null!==e&&null==t)return e;if(null==e&&null==t)return{};for(var r=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?propMerger_ownKeys(Object(r),!0).forEach(function(t){var n,o;n=t,o=r[t],(n=function(e){var t=function(e,t){if("object"!==propMerger_typeof(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==propMerger_typeof(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===propMerger_typeof(t)?t:String(t)}(n))in e?Object.defineProperty(e,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[n]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):propMerger_ownKeys(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({},t),n=Object.keys(r),o=0,i=function(e){for(var t=[],r=Object.keys(e),n=0;n<r.length;n++)t.push([r[n],e[r[n]]]);return t}(e);o<i.length;o++){var a,u=function(e){if(Array.isArray(e))return e}(a=i[o])||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,u=[],s=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(n=i.call(r)).done)&&(u.push(n.value),u.length!==t);s=!0);}catch(e){c=!0,o=e}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return u}}(a,2)||function(e,t){if(e){if("string"==typeof e)return propMerger_arrayLikeToArray(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return propMerger_arrayLikeToArray(e,t)}}(a,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),s=u[0],c=u[1];-1==n.indexOf(s)&&null!==c&&(r[s]=c),("imgixParams"===s||"htmlAttributes"===s)&&null!==c&&(r[s]=mergeProps(e[s],r[s]))}return r},mergeComponentPropsHOF=function(e){return function(t){var r=(0,a.useContext)(Z);if(null==r)return a.createElement(e,t);var n=mergeProps(r,t);return a.createElement(e,n)}},Q=Object.freeze({brightness:"bri",contrast:"con",exposure:"exp",gamma:"gam",highlights:"high",hue:"hue",invert:"invert",saturation:"sat",shaddows:"shad",shadows:"shad",sharpness:"sharp","unsharp-mask":"usm","unsharp-radius":"usmrad",vibrance:"vib","auto-features":"auto","background-color":"bg",blend:"blend","blend-mode":"bm","blend-align":"ba","blend-alpha":"balph","blend-padding":"bp","blend-width":"bw","blend-height":"bh","blend-fit":"bf","blend-crop":"bc","blend-size":"bs","blend-x":"bx","blend-y":"by",border:"border",padding:"pad","face-index":"faceindex","face-padding":"facepad",faces:"faces","chroma-subsampling":"chromasub","color-quantization":"colorquant",download:"dl",DPI:"dpi",format:"fm","lossless-compression":"lossless",quality:"q","mask-image":"mask","noise-blur":"nr","noise-sharpen":"nrs","flip-direction":"flip",orientation:"or","rotation-angle":"rot","crop-mode":"crop","fit-mode":"fit","image-height":"h","image-width":"w",blurring:"blur",halftone:"htn",monotone:"mono",pixelate:"px","sepia-tone":"sepia",height:"h",width:"w"});function propFormatter_arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function propFormatter_extends(){return(propFormatter_extends=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var formatProps=function(e){var t=!e.width||e.width<=1?void 0:e.width,r=!e.height||e.height<=1?void 0:e.height,n=e.src?function(e,t){var r=!(arguments.length>2)||void 0===arguments[2]||arguments[2];return -1!==e.indexOf("://")||null==t?e:(r?"https://":"http://")+(t?t.replace(/^\/|\/$/g,""):"")+"/"+e.replace(/^\/|\/$/g,"")}(e.src,e.domain,e.useHttps):void 0;return propFormatter_extends({},e,{width:t,height:r,src:n})},collapseImgixParams=function(e){if(null==e)return e;for(var t={},r=0,n=function(e){for(var t=[],r=Object.keys(e),n=0;n<r.length;n++)t.push([r[n],e[r[n]]]);return t}(e);r<n.length;r++){var o,i=function(e){if(Array.isArray(e))return e}(o=n[r])||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,u=[],s=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(n=i.call(r)).done)&&(u.push(n.value),u.length!==t);s=!0);}catch(e){c=!0,o=e}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return u}}(o,2)||function(e,t){if(e){if("string"==typeof e)return propFormatter_arrayLikeToArray(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return propFormatter_arrayLikeToArray(e,t)}}(o,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),a=i[0],u=i[1];Q[a]?t[Q[a]]=u:t[a]=u}return t},processPropsHOF=function(e){return function(t){var r=formatProps(t),n=collapseImgixParams(r.imgixParams);return a.createElement(e,propFormatter_extends({},r,{imgixParams:n}))}};function react_imgix_typeof(e){return(react_imgix_typeof="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})(e)}var q=["width","w","height","h","q"],K=["width","w","height","h"];function react_imgix_classCallCheck(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}function react_imgix_defineProperties(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,react_imgix_toPropertyKey(n.key),n)}}function react_imgix_createClass(e,t,r){return t&&react_imgix_defineProperties(e.prototype,t),r&&react_imgix_defineProperties(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function react_imgix_inherits(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&react_imgix_setPrototypeOf(e,t)}function react_imgix_setPrototypeOf(e,t){return(react_imgix_setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function react_imgix_createSuper(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();return function(){var r,n=react_imgix_getPrototypeOf(e);if(t){var o=react_imgix_getPrototypeOf(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return function(e,t){if(t&&("object"===react_imgix_typeof(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,r)}}function react_imgix_getPrototypeOf(e){return(react_imgix_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function react_imgix_defineProperty(e,t,r){return(t=react_imgix_toPropertyKey(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function react_imgix_toPropertyKey(e){var t=function(e,t){if("object"!==react_imgix_typeof(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==react_imgix_typeof(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===react_imgix_typeof(t)?t:String(t)}function react_imgix_objectWithoutProperties(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function react_imgix_arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function react_imgix_extends(){return(react_imgix_extends=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var V={auto:["format"]},X={src:"src",srcSet:"srcSet",sizes:"sizes"},noop=function(){},G={className:i().string,onMounted:i().func,htmlAttributes:i().object,alt:i().string},J=react_imgix_extends({},G,{disableQualityByDPR:i().bool,disableSrcSet:i().bool,disableLibraryParam:i().bool,disablePathEncoding:i().bool,imgixParams:i().object,sizes:i().string,width:i().number,height:i().number,src:i().string.isRequired,srcSetOptions:i().shape({widths:i().arrayOf(i().number),widthTolerance:i().number,minWidth:i().number,maxWidth:i().number,devicePixelRatios:i().arrayOf(i().number)})}),ee=react_imgix_extends({},J,{alt:i().string}),setParentRef=function(e,t){e&&("function"==typeof e?e(t):e.current=t)};function buildSrcSet(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=extractClientAndPathComponents(e),o=n.client,i=n.pathComponents,a=compactParamKeys(t);return o.buildSrcSet(i.join("/"),a,r)}function buildSrc(e){var t,r=e.src,n=e.width,o=e.height,i=e.disableLibraryParam,a=e.disableSrcSet,u=e.disablePathEncoding,s=e.imgixParams,c=e.disableQualityByDPR,f=e.srcSetOptions,l=null!=n||null!=o,d=function(e){if(Array.isArray(e))return e}(M=extractQueryParams_extractQueryParams(r))||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,u=[],s=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(n=i.call(r)).done)&&(u.push(n.value),u.length!==t);s=!0);}catch(e){c=!0,o=e}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return u}}(M,2)||function(e,t){if(e){if("string"==typeof e)return react_imgix_arrayLikeToArray(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return react_imgix_arrayLikeToArray(e,t)}}(M,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),h=d[0],g=d[1],y=react_imgix_extends({},g,s,i?{}:{ixlib:"react-".concat(p)},l&&o?{height:o}:{},l&&n?{width:n}:{}),m=es_constructUrl(h,y,{disablePathEncoding:u});if(a)t=m;else{var b=react_imgix_extends({},f,{disablePathEncoding:u});if(l){var v=y.width,_=y.w,x=y.height,w=y.h,O=y.q,S=react_imgix_objectWithoutProperties(y,q);O&&(S.q=O);var T=v||_,P=x||w;T&&(S.w=T),P&&(S.h=P),t=buildSrcSet(h,S,react_imgix_extends({disableVariableQuality:c},b))}else{y.width,y.w,y.height,y.h;var M,I=react_imgix_objectWithoutProperties(y,K),A=s.ar;null!=A&&"string"==typeof A&&/^\d+(\.\d+)?:\d+(\.\d+)?$/.test(A),t=buildSrcSet(h,I,b)}}return{src:m,srcSet:t}}function imgixParams(e){var t=react_imgix_extends({},V,e.imgixParams);return react_imgix_extends({},t)}var et=function(e){react_imgix_inherits(ReactImgix,e);var t=react_imgix_createSuper(ReactImgix);function ReactImgix(e){var r;return react_imgix_classCallCheck(this,ReactImgix),(r=t.call(this,e)).imgRef=null,r}return react_imgix_createClass(ReactImgix,[{key:"componentDidMount",value:function(){this.props.onMounted(this.imgRef)}},{key:"render",value:function(){var e,t,r,n=this,o=this.props,i=o.disableSrcSet,u=o.width,s=o.height,c=buildSrc(react_imgix_extends({},this.props,{type:"img",imgixParams:imgixParams(this.props)})),f=c.src,l=c.srcSet,p=react_imgix_extends({},X,this.props.attributeConfig),d=react_imgix_extends({},this.props.htmlAttributes,(react_imgix_defineProperty(r={},p.sizes,this.props.sizes),react_imgix_defineProperty(r,"className",this.props.className),react_imgix_defineProperty(r,"width",u<=1?null:null!=u?u:null===(e=this.props.htmlAttributes)||void 0===e?void 0:e.width),react_imgix_defineProperty(r,"height",s<=1?null:null!=s?s:null===(t=this.props.htmlAttributes)||void 0===t?void 0:t.height),react_imgix_defineProperty(r,p.src,f),react_imgix_defineProperty(r,"ref",function(e){n.imgRef=e,void 0!==n.props.htmlAttributes&&"ref"in n.props.htmlAttributes&&setParentRef(n.props.htmlAttributes.ref,n.imgRef)}),r));return i||(d[p.srcSet]=l),this.props.alt&&(d.alt=this.props.alt),a.createElement("img",d)}}]),ReactImgix}(a.Component);react_imgix_defineProperty(et,"propTypes",react_imgix_extends({},ee)),react_imgix_defineProperty(et,"defaultProps",{disableSrcSet:!1,onMounted:noop}),et.displayName="ReactImgix";var er=function(e){react_imgix_inherits(PictureImpl,e);var t=react_imgix_createSuper(PictureImpl);function PictureImpl(e){var r;return react_imgix_classCallCheck(this,PictureImpl),(r=t.call(this,e)).pictureRef=null,r}return react_imgix_createClass(PictureImpl,[{key:"componentDidMount",value:function(){this.props.onMounted(this.pictureRef)}},{key:"render",value:function(){var e=this,t=this.props.children,r=a.Children.map(t,function(e,t){var r,n=(null===(r=e.type)||void 0===r?void 0:r.name)==="mergeComponentPropsHOFInner";return a.cloneElement(e,react_imgix_extends({key:"react-imgix-".concat(t)},n&&{_inPicture:!0}))})||[],n=r.findIndex(function(e){return"img"===e.type||e.type===et||e.type===eo});return -1===n&&l.warnings.fallbackImage?console.warn("No fallback <img /> or <Imgix /> found in the children of a <picture> component. A fallback image should be passed to ensure the image renders correctly at all dimensions."):n!==r.length-1&&r.push(r.splice(n,1)[0]),a.createElement("picture",{ref:function(t){return e.pictureRef=t},children:r})}}]),PictureImpl}(a.Component);react_imgix_defineProperty(er,"propTypes",react_imgix_extends({},G,{children:i().any})),react_imgix_defineProperty(er,"defaultProps",{onMounted:noop}),er.displayName="ReactImgixPicture";var en=function(e){react_imgix_inherits(SourceImpl,e);var t=react_imgix_createSuper(SourceImpl);function SourceImpl(e){var r;return react_imgix_classCallCheck(this,SourceImpl),(r=t.call(this,e)).sourceRef=null,r}return react_imgix_createClass(SourceImpl,[{key:"componentDidMount",value:function(){this.props.onMounted(this.sourceRef)}},{key:"render",value:function(){var e,t,r,n=this,o=this.props,i=o.disableSrcSet,u=o.width,s=o.height,c=buildSrc(react_imgix_extends({},this.props,{type:"source",imgixParams:imgixParams(this.props)})),f=c.src,l=c.srcSet,p=react_imgix_extends({},X,this.props.attributeConfig),d=react_imgix_extends({},this.props.htmlAttributes,(react_imgix_defineProperty(r={},p.sizes,this.props.sizes),react_imgix_defineProperty(r,"className",this.props.className),react_imgix_defineProperty(r,"width",u<=1?null:null!=u?u:null===(e=this.props.htmlAttributes)||void 0===e?void 0:e.width),react_imgix_defineProperty(r,"height",s<=1?null:null!=s?s:null===(t=this.props.htmlAttributes)||void 0===t?void 0:t.height),react_imgix_defineProperty(r,"ref",function(e){n.sourceRef=e,void 0!==n.props.htmlAttributes&&"ref"in n.props.htmlAttributes&&setParentRef(n.props.htmlAttributes.ref,n.sourceRef)}),r));return i?d[p.srcSet]=f:d[p.srcSet]="".concat(l),a.createElement("source",d)}}]),SourceImpl}(a.Component);react_imgix_defineProperty(en,"propTypes",react_imgix_extends({},J)),react_imgix_defineProperty(en,"defaultProps",{disableSrcSet:!1,onMounted:noop}),en.displayName="ReactImgixSource";var eo=mergeComponentPropsHOF(processPropsHOF(ShouldComponentUpdateHOC(et)));mergeComponentPropsHOF(processPropsHOF(ShouldComponentUpdateHOC(er))),mergeComponentPropsHOF(processPropsHOF(ShouldComponentUpdateHOC(en)));var ei=r(7896),ea=r(31461),eu=r(81665),es=function(){if("undefined"!=typeof Map)return Map;function getIndex(e,t){var r=-1;return e.some(function(e,n){return e[0]===t&&(r=n,!0)}),r}return function(){function class_1(){this.__entries__=[]}return Object.defineProperty(class_1.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),class_1.prototype.get=function(e){var t=getIndex(this.__entries__,e),r=this.__entries__[t];return r&&r[1]},class_1.prototype.set=function(e,t){var r=getIndex(this.__entries__,e);~r?this.__entries__[r][1]=t:this.__entries__.push([e,t])},class_1.prototype.delete=function(e){var t=this.__entries__,r=getIndex(t,e);~r&&t.splice(r,1)},class_1.prototype.has=function(e){return!!~getIndex(this.__entries__,e)},class_1.prototype.clear=function(){this.__entries__.splice(0)},class_1.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var r=0,n=this.__entries__;r<n.length;r++){var o=n[r];e.call(t,o[1],o[0])}},class_1}()}(),ec="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,ef=void 0!==r.g&&r.g.Math===Math?r.g:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),el="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(ef):function(e){return setTimeout(function(){return e(Date.now())},1e3/60)},ep=["top","right","bottom","left","width","height","size","weight"],ed="undefined"!=typeof MutationObserver,eh=function(){function ResizeObserverController(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(e,t){var r=!1,n=!1,o=0;function resolvePending(){r&&(r=!1,e()),n&&proxy()}function timeoutCallback(){el(resolvePending)}function proxy(){var e=Date.now();if(r){if(e-o<2)return;n=!0}else r=!0,n=!1,setTimeout(timeoutCallback,20);o=e}return proxy}(this.refresh.bind(this),0)}return ResizeObserverController.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},ResizeObserverController.prototype.removeObserver=function(e){var t=this.observers_,r=t.indexOf(e);~r&&t.splice(r,1),!t.length&&this.connected_&&this.disconnect_()},ResizeObserverController.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},ResizeObserverController.prototype.updateObservers_=function(){var e=this.observers_.filter(function(e){return e.gatherActive(),e.hasActive()});return e.forEach(function(e){return e.broadcastActive()}),e.length>0},ResizeObserverController.prototype.connect_=function(){ec&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),ed?(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)},ResizeObserverController.prototype.disconnect_=function(){ec&&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)},ResizeObserverController.prototype.onTransitionEnd_=function(e){var t=e.propertyName,r=void 0===t?"":t;ep.some(function(e){return!!~r.indexOf(e)})&&this.refresh()},ResizeObserverController.getInstance=function(){return this.instance_||(this.instance_=new ResizeObserverController),this.instance_},ResizeObserverController.instance_=null,ResizeObserverController}(),defineConfigurable=function(e,t){for(var r=0,n=Object.keys(t);r<n.length;r++){var o=n[r];Object.defineProperty(e,o,{value:t[o],enumerable:!1,writable:!1,configurable:!0})}return e},getWindowOf=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||ef},eg=createRectInit(0,0,0,0);function toFloat(e){return parseFloat(e)||0}function getBordersSize(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return t.reduce(function(t,r){return t+toFloat(e["border-"+r+"-width"])},0)}var ey="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof getWindowOf(e).SVGGraphicsElement}:function(e){return e instanceof getWindowOf(e).SVGElement&&"function"==typeof e.getBBox};function createRectInit(e,t,r,n){return{x:e,y:t,width:r,height:n}}var em=function(){function ResizeObservation(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=createRectInit(0,0,0,0),this.target=e}return ResizeObservation.prototype.isActive=function(){var e=function(e){if(!ec)return eg;if(ey(e)){var t;return createRectInit(0,0,(t=e.getBBox()).width,t.height)}return function(e){var t=e.clientWidth,r=e.clientHeight;if(!t&&!r)return eg;var n=getWindowOf(e).getComputedStyle(e),o=function(e){for(var t={},r=0,n=["top","right","bottom","left"];r<n.length;r++){var o=n[r],i=e["padding-"+o];t[o]=toFloat(i)}return t}(n),i=o.left+o.right,a=o.top+o.bottom,u=toFloat(n.width),s=toFloat(n.height);if("border-box"===n.boxSizing&&(Math.round(u+i)!==t&&(u-=getBordersSize(n,"left","right")+i),Math.round(s+a)!==r&&(s-=getBordersSize(n,"top","bottom")+a)),e!==getWindowOf(e).document.documentElement){var c=Math.round(u+i)-t,f=Math.round(s+a)-r;1!==Math.abs(c)&&(u-=c),1!==Math.abs(f)&&(s-=f)}return createRectInit(o.left,o.top,u,s)}(e)}(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},ResizeObservation.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},ResizeObservation}(),ResizeObserverEntry=function(e,t){var r,n,o,i,a,u=(r=t.x,n=t.y,o=t.width,i=t.height,defineConfigurable(a=Object.create(("undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object).prototype),{x:r,y:n,width:o,height:i,top:n,right:r+o,bottom:i+n,left:r}),a);defineConfigurable(this,{target:e,contentRect:u})},eb=function(){function ResizeObserverSPI(e,t,r){if(this.activeObservations_=[],this.observations_=new es,"function"!=typeof e)throw TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=r}return ResizeObserverSPI.prototype.observe=function(e){if(!arguments.length)throw TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof getWindowOf(e).Element))throw TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new em(e)),this.controller_.addObserver(this),this.controller_.refresh())}},ResizeObserverSPI.prototype.unobserve=function(e){if(!arguments.length)throw TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof getWindowOf(e).Element))throw TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},ResizeObserverSPI.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},ResizeObserverSPI.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach(function(t){t.isActive()&&e.activeObservations_.push(t)})},ResizeObserverSPI.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map(function(e){return new ResizeObserverEntry(e.target,e.broadcastRect())});this.callback_.call(e,t,e),this.clearActive()}},ResizeObserverSPI.prototype.clearActive=function(){this.activeObservations_.splice(0)},ResizeObserverSPI.prototype.hasActive=function(){return this.activeObservations_.length>0},ResizeObserverSPI}(),ev="undefined"!=typeof WeakMap?new WeakMap:new es,ResizeObserver=function ResizeObserver(e){if(!(this instanceof ResizeObserver))throw TypeError("Cannot call a class as a function.");if(!arguments.length)throw TypeError("1 argument required, but only 0 present.");var t=eh.getInstance(),r=new eb(e,t,this);ev.set(this,r)};["observe","unobserve","disconnect"].forEach(function(e){ResizeObserver.prototype[e]=function(){var t;return(t=ev.get(this))[e].apply(t,arguments)}});var e_=void 0!==ef.ResizeObserver?ef.ResizeObserver:ResizeObserver,ex=["client","offset","scroll","bounds","margin"];function getTypes(e){var t=[];return ex.forEach(function(r){e[r]&&t.push(r)}),t}function index_esm_getContentRect(e,t){var r={};if(t.indexOf("client")>-1&&(r.client={top:e.clientTop,left:e.clientLeft,width:e.clientWidth,height:e.clientHeight}),t.indexOf("offset")>-1&&(r.offset={top:e.offsetTop,left:e.offsetLeft,width:e.offsetWidth,height:e.offsetHeight}),t.indexOf("scroll")>-1&&(r.scroll={top:e.scrollTop,left:e.scrollLeft,width:e.scrollWidth,height:e.scrollHeight}),t.indexOf("bounds")>-1){var n=e.getBoundingClientRect();r.bounds={top:n.top,right:n.right,bottom:n.bottom,left:n.left,width:n.width,height:n.height}}if(t.indexOf("margin")>-1){var o=getComputedStyle(e);r.margin={top:o?parseInt(o.marginTop):0,right:o?parseInt(o.marginRight):0,bottom:o?parseInt(o.marginBottom):0,left:o?parseInt(o.marginLeft):0}}return r}function withContentRect(e){return function(t){var r,n;return n=r=function(r){function WithContentRect(){for(var t,n=arguments.length,o=Array(n),i=0;i<n;i++)o[i]=arguments[i];return(t=r.call.apply(r,[this].concat(o))||this).state={contentRect:{entry:{},client:{},offset:{},scroll:{},bounds:{},margin:{}}},t._animationFrameID=null,t._resizeObserver=null,t._node=null,t._window=null,t.measure=function(r){var n=index_esm_getContentRect(t._node,e||getTypes(t.props));r&&(n.entry=r[0].contentRect),t._animationFrameID=t._window.requestAnimationFrame(function(){null!==t._resizeObserver&&(t.setState({contentRect:n}),"function"==typeof t.props.onResize&&t.props.onResize(n))})},t._handleRef=function(e){null!==t._resizeObserver&&null!==t._node&&t._resizeObserver.unobserve(t._node),t._node=e,t._window=(r=t._node)&&r.ownerDocument&&r.ownerDocument.defaultView||window;var r,n=t.props.innerRef;n&&("function"==typeof n?n(t._node):n.current=t._node),null!==t._resizeObserver&&null!==t._node&&t._resizeObserver.observe(t._node)},t}(0,eu.Z)(WithContentRect,r);var n=WithContentRect.prototype;return n.componentDidMount=function(){this._resizeObserver=null!==this._window&&this._window.ResizeObserver?new this._window.ResizeObserver(this.measure):new e_(this.measure),null!==this._node&&(this._resizeObserver.observe(this._node),"function"==typeof this.props.onResize&&this.props.onResize(index_esm_getContentRect(this._node,e||getTypes(this.props))))},n.componentWillUnmount=function(){null!==this._window&&this._window.cancelAnimationFrame(this._animationFrameID),null!==this._resizeObserver&&(this._resizeObserver.disconnect(),this._resizeObserver=null)},n.render=function(){var e=this.props,r=(e.innerRef,e.onResize,(0,ea.Z)(e,["innerRef","onResize"]));return(0,a.createElement)(t,(0,ei.Z)({},r,{measureRef:this._handleRef,measure:this.measure,contentRect:this.state.contentRect}))},WithContentRect}(a.Component),r.propTypes={client:i().bool,offset:i().bool,scroll:i().bool,bounds:i().bool,margin:i().bool,innerRef:i().oneOfType([i().object,i().func]),onResize:i().func},n}}var ew=withContentRect()(function(e){var t=e.measure,r=e.measureRef,n=e.contentRect;return(0,e.children)({measure:t,measureRef:r,contentRect:n})});ew.displayName="Measure",ew.propTypes.children=i().func;var eO=N.targetWidths();function react_imgix_bg_typeof(e){return(react_imgix_bg_typeof="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})(e)}function react_imgix_bg_arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function react_imgix_bg_extends(){return(react_imgix_bg_extends=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function react_imgix_bg_ownKeys(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function react_imgix_bg_objectSpread(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?react_imgix_bg_ownKeys(Object(r),!0).forEach(function(t){var n,o;n=t,o=r[t],(n=react_imgix_bg_toPropertyKey(n))in e?Object.defineProperty(e,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[n]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):react_imgix_bg_ownKeys(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function react_imgix_bg_defineProperties(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,react_imgix_bg_toPropertyKey(n.key),n)}}function react_imgix_bg_toPropertyKey(e){var t=function(e,t){if("object"!==react_imgix_bg_typeof(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==react_imgix_bg_typeof(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===react_imgix_bg_typeof(t)?t:String(t)}function react_imgix_bg_setPrototypeOf(e,t){return(react_imgix_bg_setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function react_imgix_bg_getPrototypeOf(e){return(react_imgix_bg_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var __shouldComponentUpdate=function(e,t){var r=e.contentRect.bounds,n=r.width,o=r.height,i=t.contentRect.bounds,a=i.width,u=i.height;return!a||!u||!n||!o||!!n&&!!a&&a>n||!!o&&!!u&&u>o||!f()(e,t,function(e,t,r){return"contentRect"===r||"measure"===r||"measureRef"===r||("children"===r?e==t:"imgixParams"===r?f()(e,t,function(e,t){if(Array.isArray(e))return f()(e,t)}):"htmlAttributes"===r?f()(e,t):void 0)})},eS=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&react_imgix_bg_setPrototypeOf(e,t)}(BackgroundImpl,e);var t,n,o,i=(t=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,r=react_imgix_bg_getPrototypeOf(BackgroundImpl);if(t){var n=react_imgix_bg_getPrototypeOf(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return function(e,t){if(t&&("object"===react_imgix_bg_typeof(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,e)});function BackgroundImpl(e){return!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,BackgroundImpl),i.call(this,e)}return n=[{key:"shouldComponentUpdate",value:function(e){return __shouldComponentUpdate(this.props,e)}},{key:"render",value:function(){var e,t,n=this.props,o=n.measureRef,i=n.contentRect,u=n.imgixParams,s=void 0===u?{}:u,c=(n.onLoad,n.disableLibraryParam),f=n.disablePathEncoding,l=n.src,d=n.children,h=n.className,g=void 0===h?"":h,y=s.w,m=s.h,b=null!=i.bounds.width&&null!=i.bounds.height,v=this.props.htmlAttributes||{},_=+(s.dpr||r.g.devicePixelRatio||1).toFixed(2),x=v.ref,onRef=function(e){o(e),"function"==typeof x&&x(e)},w=function(){if(null!=y&&null!=m)return{width:y,height:m};if(!b)return{width:void 0,height:void 0};var e=i.bounds.width/i.bounds.height;if(null==y&&null==m){var t=function(e,t){if(e<t[0])return t[0];if(e>t[t.length-1])return t[t.length-1];for(var r,n=0,o=t.length-1;o-n>1;)t[r=Math.floor((n+o)/2)]<e?n=r:o=r;return e-t[n]<t[o]-e?t[n]:t[o]}(i.bounds.width,eO);return{width:t,height:Math.ceil(t/e)}}return null!=y?{width:y,height:Math.ceil(y/e)}:null!=m?{width:Math.ceil(m*e),height:m}:void 0}(),O=w.width,S=w.height,T=react_imgix_bg_objectSpread({},v);if(!(null!=O&&null!=S))return a.createElement("div",react_imgix_bg_extends({},T,{className:"react-imgix-bg-loading ".concat(g),ref:onRef}),d);var P=es_constructUrl((t=function(e){if(Array.isArray(e))return e}(e=extractQueryParams_extractQueryParams(l))||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,u=[],s=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(n=i.call(r)).done)&&(u.push(n.value),u.length!==t);s=!0);}catch(e){c=!0,o=e}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return u}}(e,2)||function(e,t){if(e){if("string"==typeof e)return react_imgix_bg_arrayLikeToArray(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return react_imgix_bg_arrayLikeToArray(e,t)}}(e,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[0],react_imgix_bg_objectSpread(react_imgix_bg_objectSpread(react_imgix_bg_objectSpread(react_imgix_bg_objectSpread({},t[1]),{},{fit:"crop"},s),c?{}:{ixlib:"react-".concat(p)}),{},{width:O,height:S,dpr:_}),{disablePathEncoding:f}),M=react_imgix_bg_objectSpread(react_imgix_bg_objectSpread({},v.style),{},{backgroundImage:"url(".concat(P,")"),backgroundSize:void 0!==(v.style||{}).backgroundSize?v.style.backgroundSize:"cover"});return a.createElement("div",react_imgix_bg_extends({},T,{className:g,ref:onRef,style:M}),d)}}],react_imgix_bg_defineProperties(BackgroundImpl.prototype,n),o&&react_imgix_bg_defineProperties(BackgroundImpl,o),Object.defineProperty(BackgroundImpl,"prototype",{writable:!1}),BackgroundImpl}(a.Component);withContentRect("bounds")(eS);var eT=r(28165),eP=r(39479),eM=r(77293),eI=r(98628),eA=r(10391);let eB=(0,eP.B)("Img",{root:eT.iv`
all: unset;
box-sizing: border-box;
transition: box-shadow ${eI.f.transitionDuration}
${eI.f.transitionTimingFunction};
max-width: 100%;
`}),Img=({src:e,alt:t="",ariaHidden:r,aspectRatio:n,borderRadius:o=5,className:i,height:a,isBlock:u,isFullWidth:s,loading:c="lazy",objectFit:f,objectPosition:l,onError:p,onLoad:d,shadow:h,sizes:g,width:y})=>{let m={className:i,css:i?void 0:eB.root,height:a,alt:t,"aria-hidden":r,"data-testid":"img",loading:c,onError:p,onLoad:d,sizes:g,src:e,width:y,style:i?void 0:{display:u?"block":void 0,width:s?"100%":y,height:a,borderRadius:o,boxShadow:h&&eA.f[h],objectFit:f,objectPosition:l}};return e.includes("imgix.net")?(0,eM.U)(eo,{className:m.className,css:m.css,height:m.height,htmlAttributes:{alt:m.alt,"aria-hidden":m["aria-hidden"],"data-testid":m["data-testid"],loading:m.loading,onError:m.onError,onLoad:m.onLoad,style:m.style},imgixParams:{ar:n,fit:n||y||a||g?"crop":void 0},sizes:m.sizes,src:m.src,width:m.width}):(0,eM.U)("img",Object.assign({},m))}},22211:function(e,t,r){"use strict";r.d(t,{$:function(){return Spinner}});var n=r(28165),o=r(39479),i=r(52676),a=r(77293),u=r(99029),s=r(18672);let c=n.F4`
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
`,f={small:{diameter:20,thickness:4},medium:{diameter:30,thickness:6},large:{diameter:60,thickness:10}},mapPropToColorValue=e=>{let t;switch(e){case"black":case"dark":t=u.w.neutral800;break;case"white":case"light":t=u.w.neutral100}return t},l=(0,o.B)("Spinner",{root:e=>[{animation:`${c} 0.75s linear infinite`,borderStyle:"solid",borderRightColor:"transparent",borderRadius:"50%",opacity:.7},(0,i.Q)(e.size,{height:f[e.size].diameter,width:f[e.size].diameter,borderWidth:`${f[e.size].thickness}px`}),(0,i.Q)(e.color,{borderColor:mapPropToColorValue(e.color),borderRightColor:"transparent"})]}),Spinner=({ariaLabel:e="Loading",color:t="black",size:r="small"})=>(0,a.U)("div",{css:l.root({ariaLabel:e,color:t,size:r}),"data-testid":"spinner",role:"status"},(0,a.U)(s.T,null,e))},87593:function(e,t,r){"use strict";r.d(t,{p:function(){return TooltipWrapper}});var n=r(2784),o=r(28165),i=r(49015),a=r(29476),u=r(98628),s=r(69480),c=r(39479),f=r(77293),l=r(61814);let p=((e,t)=>{let r=(0,i.W)("design-system"+e+t);return`${e}__${t}-${r}`})("TooltipWrapper","content"),d=`.${p}`+"[class]".repeat(5),h=(0,c.B)("TooltipWrapper",{root:(e,t)=>[o.iv`
position: relative;
display: inline-block;
${d} {
position: absolute;
z-index: 1;
${t?a.S[t]:null};
opacity: 0;
transition: ${u.f.transitionValue};
pointer-events: none;
}
// Edge doesnt understand ':focus-within' and will therefore
// ignore the styles if theyre comboed like '&:hover, &:focus-within'.
// As a workaround, separate the duplicated styles.
&:hover ${d} {
opacity: 1;
pointer-events: auto;
}
&:focus-within ${d} {
opacity: 1;
pointer-events: auto;
}
`,!e.isTooltipInteractive&&o.iv`
${d}[class] {
label: -non-interactive;
pointer-events: none;
}
`,!e.showTooltipOnTouchDevices&&o.iv`
@media (hover: none) {
${d}[class] {
label: -hide-tooltip-on-touch-devices;
opacity: 0;
}
}
`,e.isBlock&&o.iv`
label: -block;
display: block;
`]}),correctPosition=(e,t)=>{let{isTopIntersecting:r,isBottomIntersecting:n,isLeftIntersecting:o,isRightIntersecting:i}=t;return n&&e.includes("south")?e.replace("south","north"):r&&e.includes("north")?e.replace("north","south"):o&&e.includes("west")?e.replace("west","east"):i&&e.includes("east")?e.replace("east","west"):e},TooltipWrapper=({children:e,content:t,allowMultilineTooltip:r,isBlock:o,isTooltipInteractive:i,position:u="south",shouldCorrectPosition:c=!0,showTooltipOnTouchDevices:d=!0,tooltipAriaHidden:g=!0,tooltipId:y})=>{let m={children:e,content:t,allowMultilineTooltip:r,isBlock:o,isTooltipInteractive:i,position:u,shouldCorrectPosition:c,showTooltipOnTouchDevices:d,tooltipAriaHidden:g,tooltipId:y},[b]=(0,n.useState)(m.tooltipId||(0,l.E)("tooltip-")),v=!!t,[_,x]=(0,s.U)({threshold:.9,rootMargin:"-25px"}),w=m.shouldCorrectPosition&&x&&Object.keys(x).length>0?correctPosition(u,x):u;return(0,f.U)("div",{css:h.root(m,w),ref:_},e({childProps:{ariaDescribedBy:v?b:void 0},tooltipId:b}),v&&(0,f.U)("div",{className:p,"data-testid":`TooltipWrapper__content--${w}`},(0,f.U)(a.u,{allowMultiline:m.allowMultilineTooltip,ariaHidden:m.tooltipAriaHidden,id:b,isInteractive:!0,position:null},t)))}},18672:function(e,t,r){"use strict";r.d(t,{T:function(){return VisuallyHidden}});var n=r(28165),o=r(39479),i=r(77293),a=r(2784);let noop=()=>{},u=(0,o.B)("VisuallyHidden",{root:n.iv`
position: absolute;
overflow: hidden;
clip: rect(0 0 0 0);
height: 1px;
width: 1px;
margin: -1px;
padding: 0;
border: 0;
`}),VisuallyHidden=e=>{let[t,r]=(0,a.useState)(!1);return((0,a.useEffect)(()=>noop,[]),t)?(0,i.U)(a.Fragment,null,e.children):(0,i.U)("span",{css:u.root,"data-testid":"visually-hidden"},e.children)}},42126:function(e,t,r){"use strict";r.d(t,{o:function(){return c}});var n=r(2784),o=r(13030),i=r(39479),a=r(52676),u=r(77293),__rest=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)0>t.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};let s=(0,i.B)("TextInput",{input:e=>[{minWidth:1},e.isMultiline&&(0,a.Q)("multiline",{height:"auto"}),e.isFullWidth&&(0,a.Q)("fullwidth",{width:"100%"}),e.resize&&(0,a.Q)(`resize-${e.resize}`,{resize:e.resize})]}),c=(0,n.forwardRef)((e,t)=>{var{isMultiline:r=!1,type:n="text",isFullWidth:i=!1,size:a="small",borderRadius:c=3}=e,f=__rest(e,["isMultiline","type","isFullWidth","size","borderRadius"]);let l=Object.assign({isMultiline:r,type:n,isFullWidth:i,size:a,borderRadius:c},f),p=l.isMultiline?"textarea":"input";return(0,u.U)(o.I,Object.assign({},l,{renderIconAfter:l.isMultiline?void 0:l.renderIconAfter,renderIconBefore:l.isMultiline?void 0:l.renderIconBefore}),e=>(0,u.U)(p,Object.assign({},e,{autoCapitalize:l.autoCapitalize,autoCorrect:l.autoCorrect,css:[e.css,s.input(l)],inputMode:l.inputMode,ref:t,rows:l.isMultiline?l.rows:void 0,spellCheck:l.spellCheck,type:l.isMultiline?void 0:l.type,value:e.value,onChange:e.onChange})))})},53939:function(e,t,r){"use strict";r.d(t,{L:function(){return Spacer}});var n=r(39479),o=r(77293);let i=(0,n.B)("Spacer",{root:e=>[{label:`${e.width||0}-by-${e.height||0}`,width:e.width,height:e.height}]}),Spacer=({width:e=0,height:t=0})=>(0,o.U)("div",{css:i.root({width:e,height:t})})},95766:function(e,t){"use strict";t.byteLength=function(e){var t=getLens(e),r=t[0],n=t[1];return(r+n)*3/4-n},t.toByteArray=function(e){var t,r,i=getLens(e),a=i[0],u=i[1],s=new o((a+u)*3/4-u),c=0,f=u>0?a-4:a;for(r=0;r<f;r+=4)t=n[e.charCodeAt(r)]<<18|n[e.charCodeAt(r+1)]<<12|n[e.charCodeAt(r+2)]<<6|n[e.charCodeAt(r+3)],s[c++]=t>>16&255,s[c++]=t>>8&255,s[c++]=255&t;return 2===u&&(t=n[e.charCodeAt(r)]<<2|n[e.charCodeAt(r+1)]>>4,s[c++]=255&t),1===u&&(t=n[e.charCodeAt(r)]<<10|n[e.charCodeAt(r+1)]<<4|n[e.charCodeAt(r+2)]>>2,s[c++]=t>>8&255,s[c++]=255&t),s},t.fromByteArray=function(e){for(var t,n=e.length,o=n%3,i=[],a=0,u=n-o;a<u;a+=16383)i.push(function(e,t,n){for(var o,i=[],a=t;a<n;a+=3)i.push(r[(o=(e[a]<<16&16711680)+(e[a+1]<<8&65280)+(255&e[a+2]))>>18&63]+r[o>>12&63]+r[o>>6&63]+r[63&o]);return i.join("")}(e,a,a+16383>u?u:a+16383));return 1===o?i.push(r[(t=e[n-1])>>2]+r[t<<4&63]+"=="):2===o&&i.push(r[(t=(e[n-2]<<8)+e[n-1])>>10]+r[t>>4&63]+r[t<<2&63]+"="),i.join("")};for(var r=[],n=[],o="undefined"!=typeof Uint8Array?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,u=i.length;a<u;++a)r[a]=i[a],n[i.charCodeAt(a)]=a;function getLens(e){var t=e.length;if(t%4>0)throw Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");-1===r&&(r=t);var n=r===t?0:4-r%4;return[r,n]}n["-".charCodeAt(0)]=62,n["_".charCodeAt(0)]=63},48834:function(e,t,r){"use strict";/*!
* The buffer module from node.js, for the browser.
*
* @author Feross Aboukhadijeh <https://feross.org>
* @license MIT
*/var n=r(95766),o=r(62333),i="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function createBuffer(e){if(e>2147483647)throw RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,Buffer.prototype),t}function Buffer(e,t,r){if("number"==typeof e){if("string"==typeof t)throw TypeError('The "string" argument must be of type string. Received type number');return allocUnsafe(e)}return from(e,t,r)}function from(e,t,r){if("string"==typeof e)return function(e,t){if(("string"!=typeof t||""===t)&&(t="utf8"),!Buffer.isEncoding(t))throw TypeError("Unknown encoding: "+t);var r=0|byteLength(e,t),n=createBuffer(r),o=n.write(e,t);return o!==r&&(n=n.slice(0,o)),n}(e,t);if(ArrayBuffer.isView(e))return function(e){if(isInstance(e,Uint8Array)){var t=new Uint8Array(e);return fromArrayBuffer(t.buffer,t.byteOffset,t.byteLength)}return fromArrayLike(e)}(e);if(null==e)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(isInstance(e,ArrayBuffer)||e&&isInstance(e.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(isInstance(e,SharedArrayBuffer)||e&&isInstance(e.buffer,SharedArrayBuffer)))return fromArrayBuffer(e,t,r);if("number"==typeof e)throw TypeError('The "value" argument must not be of type number. Received type number');var n=e.valueOf&&e.valueOf();if(null!=n&&n!==e)return Buffer.from(n,t,r);var o=function(e){if(Buffer.isBuffer(e)){var t,r=0|checked(e.length),n=createBuffer(r);return 0===n.length||e.copy(n,0,0,r),n}return void 0!==e.length?"number"!=typeof e.length||(t=e.length)!=t?createBuffer(0):fromArrayLike(e):"Buffer"===e.type&&Array.isArray(e.data)?fromArrayLike(e.data):void 0}(e);if(o)return o;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return Buffer.from(e[Symbol.toPrimitive]("string"),t,r);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function assertSize(e){if("number"!=typeof e)throw TypeError('"size" argument must be of type number');if(e<0)throw RangeError('The value "'+e+'" is invalid for option "size"')}function allocUnsafe(e){return assertSize(e),createBuffer(e<0?0:0|checked(e))}function fromArrayLike(e){for(var t=e.length<0?0:0|checked(e.length),r=createBuffer(t),n=0;n<t;n+=1)r[n]=255&e[n];return r}function fromArrayBuffer(e,t,r){var n;if(t<0||e.byteLength<t)throw RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(r||0))throw RangeError('"length" is outside of buffer bounds');return Object.setPrototypeOf(n=void 0===t&&void 0===r?new Uint8Array(e):void 0===r?new Uint8Array(e,t):new Uint8Array(e,t,r),Buffer.prototype),n}function checked(e){if(e>=2147483647)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|e}function byteLength(e,t){if(Buffer.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||isInstance(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var r=e.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;for(var o=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return utf8ToBytes(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return base64ToBytes(e).length;default:if(o)return n?-1:utf8ToBytes(e).length;t=(""+t).toLowerCase(),o=!0}}function slowToString(e,t,r){var o,i,a=!1;if((void 0===t||t<0)&&(t=0),t>this.length||((void 0===r||r>this.length)&&(r=this.length),r<=0||(r>>>=0)<=(t>>>=0)))return"";for(e||(e="utf8");;)switch(e){case"hex":return function(e,t,r){var n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);for(var o="",i=t;i<r;++i)o+=u[e[i]];return o}(this,t,r);case"utf8":case"utf-8":return utf8Slice(this,t,r);case"ascii":return function(e,t,r){var n="";r=Math.min(e.length,r);for(var o=t;o<r;++o)n+=String.fromCharCode(127&e[o]);return n}(this,t,r);case"latin1":case"binary":return function(e,t,r){var n="";r=Math.min(e.length,r);for(var o=t;o<r;++o)n+=String.fromCharCode(e[o]);return n}(this,t,r);case"base64":return o=t,i=r,0===o&&i===this.length?n.fromByteArray(this):n.fromByteArray(this.slice(o,i));case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return function(e,t,r){for(var n=e.slice(t,r),o="",i=0;i<n.length-1;i+=2)o+=String.fromCharCode(n[i]+256*n[i+1]);return o}(this,t,r);default:if(a)throw TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),a=!0}}function swap(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function bidirectionalIndexOf(e,t,r,n,o){var i;if(0===e.length)return -1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),(i=r=+r)!=i&&(r=o?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(o)return -1;r=e.length-1}else if(r<0){if(!o)return -1;r=0}if("string"==typeof t&&(t=Buffer.from(t,n)),Buffer.isBuffer(t))return 0===t.length?-1:arrayIndexOf(e,t,r,n,o);if("number"==typeof t)return(t&=255,"function"==typeof Uint8Array.prototype.indexOf)?o?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):arrayIndexOf(e,[t],r,n,o);throw TypeError("val must be string, number or Buffer")}function arrayIndexOf(e,t,r,n,o){var i,a=1,u=e.length,s=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return -1;a=2,u/=2,s/=2,r/=2}function read(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(o){var c=-1;for(i=r;i<u;i++)if(read(e,i)===read(t,-1===c?0:i-c)){if(-1===c&&(c=i),i-c+1===s)return c*a}else -1!==c&&(i-=i-c),c=-1}else for(r+s>u&&(r=u-s),i=r;i>=0;i--){for(var f=!0,l=0;l<s;l++)if(read(e,i+l)!==read(t,l)){f=!1;break}if(f)return i}return -1}function utf8Slice(e,t,r){r=Math.min(e.length,r);for(var n=[],o=t;o<r;){var i,a,u,s,c=e[o],f=null,l=c>239?4:c>223?3:c>191?2:1;if(o+l<=r)switch(l){case 1:c<128&&(f=c);break;case 2:(192&(i=e[o+1]))==128&&(s=(31&c)<<6|63&i)>127&&(f=s);break;case 3:i=e[o+1],a=e[o+2],(192&i)==128&&(192&a)==128&&(s=(15&c)<<12|(63&i)<<6|63&a)>2047&&(s<55296||s>57343)&&(f=s);break;case 4:i=e[o+1],a=e[o+2],u=e[o+3],(192&i)==128&&(192&a)==128&&(192&u)==128&&(s=(15&c)<<18|(63&i)<<12|(63&a)<<6|63&u)>65535&&s<1114112&&(f=s)}null===f?(f=65533,l=1):f>65535&&(f-=65536,n.push(f>>>10&1023|55296),f=56320|1023&f),n.push(f),o+=l}return function(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);for(var r="",n=0;n<t;)r+=String.fromCharCode.apply(String,e.slice(n,n+=4096));return r}(n)}function checkOffset(e,t,r){if(e%1!=0||e<0)throw RangeError("offset is not uint");if(e+t>r)throw RangeError("Trying to access beyond buffer length")}function checkInt(e,t,r,n,o,i){if(!Buffer.isBuffer(e))throw TypeError('"buffer" argument must be a Buffer instance');if(t>o||t<i)throw RangeError('"value" argument is out of bounds');if(r+n>e.length)throw RangeError("Index out of range")}function checkIEEE754(e,t,r,n,o,i){if(r+n>e.length||r<0)throw RangeError("Index out of range")}function writeFloat(e,t,r,n,i){return t=+t,r>>>=0,i||checkIEEE754(e,t,r,4,34028234663852886e22,-34028234663852886e22),o.write(e,t,r,n,23,4),r+4}function writeDouble(e,t,r,n,i){return t=+t,r>>>=0,i||checkIEEE754(e,t,r,8,17976931348623157e292,-17976931348623157e292),o.write(e,t,r,n,52,8),r+8}t.lW=Buffer,t.h2=50,Buffer.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}(),Buffer.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(Buffer.prototype,"parent",{enumerable:!0,get:function(){if(Buffer.isBuffer(this))return this.buffer}}),Object.defineProperty(Buffer.prototype,"offset",{enumerable:!0,get:function(){if(Buffer.isBuffer(this))return this.byteOffset}}),Buffer.poolSize=8192,Buffer.from=function(e,t,r){return from(e,t,r)},Object.setPrototypeOf(Buffer.prototype,Uint8Array.prototype),Object.setPrototypeOf(Buffer,Uint8Array),Buffer.alloc=function(e,t,r){return(assertSize(e),e<=0)?createBuffer(e):void 0!==t?"string"==typeof r?createBuffer(e).fill(t,r):createBuffer(e).fill(t):createBuffer(e)},Buffer.allocUnsafe=function(e){return allocUnsafe(e)},Buffer.allocUnsafeSlow=function(e){return allocUnsafe(e)},Buffer.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==Buffer.prototype},Buffer.compare=function(e,t){if(isInstance(e,Uint8Array)&&(e=Buffer.from(e,e.offset,e.byteLength)),isInstance(t,Uint8Array)&&(t=Buffer.from(t,t.offset,t.byteLength)),!Buffer.isBuffer(e)||!Buffer.isBuffer(t))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var r=e.length,n=t.length,o=0,i=Math.min(r,n);o<i;++o)if(e[o]!==t[o]){r=e[o],n=t[o];break}return r<n?-1:n<r?1:0},Buffer.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}},Buffer.concat=function(e,t){if(!Array.isArray(e))throw TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return Buffer.alloc(0);if(void 0===t)for(r=0,t=0;r<e.length;++r)t+=e[r].length;var r,n=Buffer.allocUnsafe(t),o=0;for(r=0;r<e.length;++r){var i=e[r];if(isInstance(i,Uint8Array))o+i.length>n.length?Buffer.from(i).copy(n,o):Uint8Array.prototype.set.call(n,i,o);else if(Buffer.isBuffer(i))i.copy(n,o);else throw TypeError('"list" argument must be an Array of Buffers');o+=i.length}return n},Buffer.byteLength=byteLength,Buffer.prototype._isBuffer=!0,Buffer.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)swap(this,t,t+1);return this},Buffer.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)swap(this,t,t+3),swap(this,t+1,t+2);return this},Buffer.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)swap(this,t,t+7),swap(this,t+1,t+6),swap(this,t+2,t+5),swap(this,t+3,t+4);return this},Buffer.prototype.toString=function(){var e=this.length;return 0===e?"":0==arguments.length?utf8Slice(this,0,e):slowToString.apply(this,arguments)},Buffer.prototype.toLocaleString=Buffer.prototype.toString,Buffer.prototype.equals=function(e){if(!Buffer.isBuffer(e))throw TypeError("Argument must be a Buffer");return this===e||0===Buffer.compare(this,e)},Buffer.prototype.inspect=function(){var e="",r=t.h2;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"},i&&(Buffer.prototype[i]=Buffer.prototype.inspect),Buffer.prototype.compare=function(e,t,r,n,o){if(isInstance(e,Uint8Array)&&(e=Buffer.from(e,e.offset,e.byteLength)),!Buffer.isBuffer(e))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===o&&(o=this.length),t<0||r>e.length||n<0||o>this.length)throw RangeError("out of range index");if(n>=o&&t>=r)return 0;if(n>=o)return -1;if(t>=r)return 1;if(t>>>=0,r>>>=0,n>>>=0,o>>>=0,this===e)return 0;for(var i=o-n,a=r-t,u=Math.min(i,a),s=this.slice(n,o),c=e.slice(t,r),f=0;f<u;++f)if(s[f]!==c[f]){i=s[f],a=c[f];break}return i<a?-1:a<i?1:0},Buffer.prototype.includes=function(e,t,r){return -1!==this.indexOf(e,t,r)},Buffer.prototype.indexOf=function(e,t,r){return bidirectionalIndexOf(this,e,t,r,!0)},Buffer.prototype.lastIndexOf=function(e,t,r){return bidirectionalIndexOf(this,e,t,r,!1)},Buffer.prototype.write=function(e,t,r,n){if(void 0===t)n="utf8",r=this.length,t=0;else if(void 0===r&&"string"==typeof t)n=t,r=this.length,t=0;else if(isFinite(t))t>>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o,i,a,u,s,c,f,l,p=this.length-t;if((void 0===r||r>p)&&(r=p),e.length>0&&(r<0||t<0)||t>this.length)throw RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var d=!1;;)switch(n){case"hex":return function(e,t,r,n){r=Number(r)||0;var o=e.length-r;n?(n=Number(n))>o&&(n=o):n=o;var i=t.length;n>i/2&&(n=i/2);for(var a=0;a<n;++a){var u=parseInt(t.substr(2*a,2),16);if(u!=u)break;e[r+a]=u}return a}(this,e,t,r);case"utf8":case"utf-8":return o=t,i=r,blitBuffer(utf8ToBytes(e,this.length-o),this,o,i);case"ascii":case"latin1":case"binary":return a=t,u=r,blitBuffer(function(e){for(var t=[],r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}(e),this,a,u);case"base64":return s=t,c=r,blitBuffer(base64ToBytes(e),this,s,c);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return f=t,l=r,blitBuffer(function(e,t){for(var r,n,o=[],i=0;i<e.length&&!((t-=2)<0);++i)n=(r=e.charCodeAt(i))>>8,o.push(r%256),o.push(n);return o}(e,this.length-f),this,f,l);default:if(d)throw TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),d=!0}},Buffer.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},Buffer.prototype.slice=function(e,t){var r=this.length;e=~~e,t=void 0===t?r:~~t,e<0?(e+=r)<0&&(e=0):e>r&&(e=r),t<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e);var n=this.subarray(e,t);return Object.setPrototypeOf(n,Buffer.prototype),n},Buffer.prototype.readUintLE=Buffer.prototype.readUIntLE=function(e,t,r){e>>>=0,t>>>=0,r||checkOffset(e,t,this.length);for(var n=this[e],o=1,i=0;++i<t&&(o*=256);)n+=this[e+i]*o;return n},Buffer.prototype.readUintBE=Buffer.prototype.readUIntBE=function(e,t,r){e>>>=0,t>>>=0,r||checkOffset(e,t,this.length);for(var n=this[e+--t],o=1;t>0&&(o*=256);)n+=this[e+--t]*o;return n},Buffer.prototype.readUint8=Buffer.prototype.readUInt8=function(e,t){return e>>>=0,t||checkOffset(e,1,this.length),this[e]},Buffer.prototype.readUint16LE=Buffer.prototype.readUInt16LE=function(e,t){return e>>>=0,t||checkOffset(e,2,this.length),this[e]|this[e+1]<<8},Buffer.prototype.readUint16BE=Buffer.prototype.readUInt16BE=function(e,t){return e>>>=0,t||checkOffset(e,2,this.length),this[e]<<8|this[e+1]},Buffer.prototype.readUint32LE=Buffer.prototype.readUInt32LE=function(e,t){return e>>>=0,t||checkOffset(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},Buffer.prototype.readUint32BE=Buffer.prototype.readUInt32BE=function(e,t){return e>>>=0,t||checkOffset(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},Buffer.prototype.readIntLE=function(e,t,r){e>>>=0,t>>>=0,r||checkOffset(e,t,this.length);for(var n=this[e],o=1,i=0;++i<t&&(o*=256);)n+=this[e+i]*o;return n>=(o*=128)&&(n-=Math.pow(2,8*t)),n},Buffer.prototype.readIntBE=function(e,t,r){e>>>=0,t>>>=0,r||checkOffset(e,t,this.length);for(var n=t,o=1,i=this[e+--n];n>0&&(o*=256);)i+=this[e+--n]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*t)),i},Buffer.prototype.readInt8=function(e,t){return(e>>>=0,t||checkOffset(e,1,this.length),128&this[e])?-((255-this[e]+1)*1):this[e]},Buffer.prototype.readInt16LE=function(e,t){e>>>=0,t||checkOffset(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},Buffer.prototype.readInt16BE=function(e,t){e>>>=0,t||checkOffset(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},Buffer.prototype.readInt32LE=function(e,t){return e>>>=0,t||checkOffset(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},Buffer.prototype.readInt32BE=function(e,t){return e>>>=0,t||checkOffset(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},Buffer.prototype.readFloatLE=function(e,t){return e>>>=0,t||checkOffset(e,4,this.length),o.read(this,e,!0,23,4)},Buffer.prototype.readFloatBE=function(e,t){return e>>>=0,t||checkOffset(e,4,this.length),o.read(this,e,!1,23,4)},Buffer.prototype.readDoubleLE=function(e,t){return e>>>=0,t||checkOffset(e,8,this.length),o.read(this,e,!0,52,8)},Buffer.prototype.readDoubleBE=function(e,t){return e>>>=0,t||checkOffset(e,8,this.length),o.read(this,e,!1,52,8)},Buffer.prototype.writeUintLE=Buffer.prototype.writeUIntLE=function(e,t,r,n){if(e=+e,t>>>=0,r>>>=0,!n){var o=Math.pow(2,8*r)-1;checkInt(this,e,t,r,o,0)}var i=1,a=0;for(this[t]=255&e;++a<r&&(i*=256);)this[t+a]=e/i&255;return t+r},Buffer.prototype.writeUintBE=Buffer.prototype.writeUIntBE=function(e,t,r,n){if(e=+e,t>>>=0,r>>>=0,!n){var o=Math.pow(2,8*r)-1;checkInt(this,e,t,r,o,0)}var i=r-1,a=1;for(this[t+i]=255&e;--i>=0&&(a*=256);)this[t+i]=e/a&255;return t+r},Buffer.prototype.writeUint8=Buffer.prototype.writeUInt8=function(e,t,r){return e=+e,t>>>=0,r||checkInt(this,e,t,1,255,0),this[t]=255&e,t+1},Buffer.prototype.writeUint16LE=Buffer.prototype.writeUInt16LE=function(e,t,r){return e=+e,t>>>=0,r||checkInt(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},Buffer.prototype.writeUint16BE=Buffer.prototype.writeUInt16BE=function(e,t,r){return e=+e,t>>>=0,r||checkInt(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},Buffer.prototype.writeUint32LE=Buffer.prototype.writeUInt32LE=function(e,t,r){return e=+e,t>>>=0,r||checkInt(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},Buffer.prototype.writeUint32BE=Buffer.prototype.writeUInt32BE=function(e,t,r){return e=+e,t>>>=0,r||checkInt(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},Buffer.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t>>>=0,!n){var o=Math.pow(2,8*r-1);checkInt(this,e,t,r,o-1,-o)}var i=0,a=1,u=0;for(this[t]=255&e;++i<r&&(a*=256);)e<0&&0===u&&0!==this[t+i-1]&&(u=1),this[t+i]=(e/a>>0)-u&255;return t+r},Buffer.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t>>>=0,!n){var o=Math.pow(2,8*r-1);checkInt(this,e,t,r,o-1,-o)}var i=r-1,a=1,u=0;for(this[t+i]=255&e;--i>=0&&(a*=256);)e<0&&0===u&&0!==this[t+i+1]&&(u=1),this[t+i]=(e/a>>0)-u&255;return t+r},Buffer.prototype.writeInt8=function(e,t,r){return e=+e,t>>>=0,r||checkInt(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},Buffer.prototype.writeInt16LE=function(e,t,r){return e=+e,t>>>=0,r||checkInt(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},Buffer.prototype.writeInt16BE=function(e,t,r){return e=+e,t>>>=0,r||checkInt(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},Buffer.prototype.writeInt32LE=function(e,t,r){return e=+e,t>>>=0,r||checkInt(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},Buffer.prototype.writeInt32BE=function(e,t,r){return e=+e,t>>>=0,r||checkInt(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},Buffer.prototype.writeFloatLE=function(e,t,r){return writeFloat(this,e,t,!0,r)},Buffer.prototype.writeFloatBE=function(e,t,r){return writeFloat(this,e,t,!1,r)},Buffer.prototype.writeDoubleLE=function(e,t,r){return writeDouble(this,e,t,!0,r)},Buffer.prototype.writeDoubleBE=function(e,t,r){return writeDouble(this,e,t,!1,r)},Buffer.prototype.copy=function(e,t,r,n){if(!Buffer.isBuffer(e))throw TypeError("argument should be a Buffer");if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n<r&&(n=r),n===r||0===e.length||0===this.length)return 0;if(t<0)throw RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw RangeError("Index out of range");if(n<0)throw RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t<n-r&&(n=e.length-t+r);var o=n-r;return this===e&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(t,r,n):Uint8Array.prototype.set.call(e,this.subarray(r,n),t),o},Buffer.prototype.fill=function(e,t,r,n){if("string"==typeof e){if("string"==typeof t?(n=t,t=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),void 0!==n&&"string"!=typeof n)throw TypeError("encoding must be a string");if("string"==typeof n&&!Buffer.isEncoding(n))throw TypeError("Unknown encoding: "+n);if(1===e.length){var o,i=e.charCodeAt(0);("utf8"===n&&i<128||"latin1"===n)&&(e=i)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(t<0||this.length<t||this.length<r)throw RangeError("Out of range index");if(r<=t)return this;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(o=t;o<r;++o)this[o]=e;else{var a=Buffer.isBuffer(e)?e:Buffer.from(e,n),u=a.length;if(0===u)throw TypeError('The value "'+e+'" is invalid for argument "value"');for(o=0;o<r-t;++o)this[o+t]=a[o%u]}return this};var a=/[^+/0-9A-Za-z-_]/g;function utf8ToBytes(e,t){t=t||1/0;for(var r,n=e.length,o=null,i=[],a=0;a<n;++a){if((r=e.charCodeAt(a))>55295&&r<57344){if(!o){if(r>56319||a+1===n){(t-=3)>-1&&i.push(239,191,189);continue}o=r;continue}if(r<56320){(t-=3)>-1&&i.push(239,191,189),o=r;continue}r=(o-55296<<10|r-56320)+65536}else o&&(t-=3)>-1&&i.push(239,191,189);if(o=null,r<128){if((t-=1)<0)break;i.push(r)}else if(r<2048){if((t-=2)<0)break;i.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;i.push(r>>12|224,r>>6&63|128,63&r|128)}else if(r<1114112){if((t-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}else throw Error("Invalid code point")}return i}function base64ToBytes(e){return n.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(a,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function blitBuffer(e,t,r,n){for(var o=0;o<n&&!(o+r>=t.length)&&!(o>=e.length);++o)t[o+r]=e[o];return o}function isInstance(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}var u=function(){for(var e="0123456789abcdef",t=Array(256),r=0;r<16;++r)for(var n=16*r,o=0;o<16;++o)t[n+o]=e[r]+e[o];return t}()},5792:function(e){var t={utf8:{stringToBytes:function(e){return t.bin.stringToBytes(unescape(encodeURIComponent(e)))},bytesToString:function(e){return decodeURIComponent(escape(t.bin.bytesToString(e)))}},bin:{stringToBytes:function(e){for(var t=[],r=0;r<e.length;r++)t.push(255&e.charCodeAt(r));return t},bytesToString:function(e){for(var t=[],r=0;r<e.length;r++)t.push(String.fromCharCode(e[r]));return t.join("")}}};e.exports=t},19562:function(e){var t,r;t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",r={rotl:function(e,t){return e<<t|e>>>32-t},rotr:function(e,t){return e<<32-t|e>>>t},endian:function(e){if(e.constructor==Number)return 16711935&r.rotl(e,8)|4278255360&r.rotl(e,24);for(var t=0;t<e.length;t++)e[t]=r.endian(e[t]);return e},randomBytes:function(e){for(var t=[];e>0;e--)t.push(Math.floor(256*Math.random()));return t},bytesToWords:function(e){for(var t=[],r=0,n=0;r<e.length;r++,n+=8)t[n>>>5]|=e[r]<<24-n%32;return t},wordsToBytes:function(e){for(var t=[],r=0;r<32*e.length;r+=8)t.push(e[r>>>5]>>>24-r%32&255);return t},bytesToHex:function(e){for(var t=[],r=0;r<e.length;r++)t.push((e[r]>>>4).toString(16)),t.push((15&e[r]).toString(16));return t.join("")},hexToBytes:function(e){for(var t=[],r=0;r<e.length;r+=2)t.push(parseInt(e.substr(r,2),16));return t},bytesToBase64:function(e){for(var r=[],n=0;n<e.length;n+=3)for(var o=e[n]<<16|e[n+1]<<8|e[n+2],i=0;i<4;i++)8*n+6*i<=8*e.length?r.push(t.charAt(o>>>6*(3-i)&63)):r.push("=");return r.join("")},base64ToBytes:function(e){e=e.replace(/[^A-Z0-9+\/]/ig,"");for(var r=[],n=0,o=0;n<e.length;o=++n%4)0!=o&&r.push((t.indexOf(e.charAt(n-1))&Math.pow(2,-2*o+8)-1)<<2*o|t.indexOf(e.charAt(n))>>>6-2*o);return r}},e.exports=r},4261:function(e){e.exports=function(e){var t=new Date(e.getTime()),r=t.getTimezoneOffset();return t.setSeconds(0,0),6e4*r+t.getTime()%6e4}},90071:function(e,t,r){var n=r(18838);e.exports=function(e,t){var r=n(e),o=Number(t);return r.setDate(r.getDate()+o),r}},23210:function(e,t,r){var n=r(75683);e.exports=function(e,t){return n(e,36e5*Number(t))}},96399:function(e,t,r){var n=r(93242),o=r(92155);e.exports=function(e,t){var r=Number(t);return o(e,n(e)+r)}},75683:function(e,t,r){var n=r(18838);e.exports=function(e,t){var r=n(e).getTime(),o=Number(t);return new Date(r+o)}},63063:function(e,t,r){var n=r(75683);e.exports=function(e,t){return n(e,6e4*Number(t))}},51822:function(e,t,r){var n=r(18838),o=r(70119);e.exports=function(e,t){var r=n(e),i=Number(t),a=r.getMonth()+i,u=new Date(0);u.setFullYear(r.getFullYear(),a,1),u.setHours(0,0,0,0);var s=o(u);return r.setMonth(a,Math.min(s,r.getDate())),r}},22995:function(e,t,r){var n=r(51822);e.exports=function(e,t){return n(e,3*Number(t))}},74681:function(e,t,r){var n=r(75683);e.exports=function(e,t){return n(e,1e3*Number(t))}},70495:function(e,t,r){var n=r(90071);e.exports=function(e,t){return n(e,7*Number(t))}},35661:function(e,t,r){var n=r(51822);e.exports=function(e,t){return n(e,12*Number(t))}},40848:function(e,t,r){var n=r(18838);e.exports=function(e,t,r,o){var i=n(e).getTime(),a=n(t).getTime(),u=n(r).getTime(),s=n(o).getTime();if(i>a||u>s)throw Error("The start of the range cannot be after the end of the range");return i<s&&u<a}},76278:function(e,t,r){var n=r(18838);e.exports=function(e,t){if(!(t instanceof Array))throw TypeError(toString.call(t)+" is not an instance of Array");var r,o,i=n(e).getTime();return t.forEach(function(e,t){var a=Math.abs(i-n(e).getTime());(void 0===r||a<o)&&(r=t,o=a)}),r}},32721:function(e,t,r){var n=r(18838);e.exports=function(e,t){if(!(t instanceof Array))throw TypeError(toString.call(t)+" is not an instance of Array");var r,o,i=n(e).getTime();return t.forEach(function(e){var t=n(e),a=Math.abs(i-t.getTime());(void 0===r||a<o)&&(r=t,o=a)}),r}},6294:function(e,t,r){var n=r(18838);e.exports=function(e,t){var r=n(e).getTime(),o=n(t).getTime();return r<o?-1:r>o?1:0}},53014:function(e,t,r){var n=r(18838);e.exports=function(e,t){var r=n(e).getTime(),o=n(t).getTime();return r>o?-1:r<o?1:0}},6144:function(e,t,r){var n=r(22635);e.exports=function(e,t){var r=n(e),o=n(t);return Math.round((r.getTime()-6e4*r.getTimezoneOffset()-(o.getTime()-6e4*o.getTimezoneOffset()))/864e5)}},89378:function(e,t,r){var n=r(86891);e.exports=function(e,t){var r=n(e),o=n(t);return Math.round((r.getTime()-6e4*r.getTimezoneOffset()-(o.getTime()-6e4*o.getTimezoneOffset()))/6048e5)}},70089:function(e,t,r){var n=r(93242);e.exports=function(e,t){return n(e)-n(t)}},64441:function(e,t,r){var n=r(18838);e.exports=function(e,t){var r=n(e),o=n(t);return 12*(r.getFullYear()-o.getFullYear())+(r.getMonth()-o.getMonth())}},5251:function(e,t,r){var n=r(70790),o=r(18838);e.exports=function(e,t){var r=o(e),i=o(t);return 4*(r.getFullYear()-i.getFullYear())+(n(r)-n(i))}},71959:function(e,t,r){var n=r(70351);e.exports=function(e,t,r){var o=n(e,r),i=n(t,r);return Math.round((o.getTime()-6e4*o.getTimezoneOffset()-(i.getTime()-6e4*i.getTimezoneOffset()))/6048e5)}},33356:function(e,t,r){var n=r(18838);e.exports=function(e,t){var r=n(e),o=n(t);return r.getFullYear()-o.getFullYear()}},61189:function(e,t,r){var n=r(18838),o=r(6144),i=r(6294);e.exports=function(e,t){var r=n(e),a=n(t),u=i(r,a),s=Math.abs(o(r,a));r.setDate(r.getDate()-u*s);var c=i(r,a)===-u;return u*(s-c)}},25855:function(e,t,r){var n=r(84698);e.exports=function(e,t){var r=n(e,t)/36e5;return r>0?Math.floor(r):Math.ceil(r)}},593:function(e,t,r){var n=r(18838),o=r(70089),i=r(6294),a=r(1567);e.exports=function(e,t){var r=n(e),u=n(t),s=i(r,u),c=Math.abs(o(r,u)),f=i(r=a(r,s*c),u)===-s;return s*(c-f)}},84698:function(e,t,r){var n=r(18838);e.exports=function(e,t){var r=n(e),o=n(t);return r.getTime()-o.getTime()}},81429:function(e,t,r){var n=r(84698);e.exports=function(e,t){var r=n(e,t)/6e4;return r>0?Math.floor(r):Math.ceil(r)}},81262:function(e,t,r){var n=r(18838),o=r(64441),i=r(6294);e.exports=function(e,t){var r=n(e),a=n(t),u=i(r,a),s=Math.abs(o(r,a));r.setMonth(r.getMonth()-u*s);var c=i(r,a)===-u;return u*(s-c)}},23499:function(e,t,r){var n=r(81262);e.exports=function(e,t){var r=n(e,t)/3;return r>0?Math.floor(r):Math.ceil(r)}},93747:function(e,t,r){var n=r(84698);e.exports=function(e,t){var r=n(e,t)/1e3;return r>0?Math.floor(r):Math.ceil(r)}},49851:function(e,t,r){var n=r(61189);e.exports=function(e,t){var r=n(e,t)/7;return r>0?Math.floor(r):Math.ceil(r)}},34331:function(e,t,r){var n=r(18838),o=r(33356),i=r(6294);e.exports=function(e,t){var r=n(e),a=n(t),u=i(r,a),s=Math.abs(o(r,a));r.setFullYear(r.getFullYear()-u*s);var c=i(r,a)===-u;return u*(s-c)}},16320:function(e,t,r){var n=r(53014),o=r(18838),i=r(93747),a=r(81262),u=r(15665);e.exports=function(e,t,r){var s,c,f,l=r||{},p=n(e,t),d=l.locale,h=u.distanceInWords.localize;d&&d.distanceInWords&&d.distanceInWords.localize&&(h=d.distanceInWords.localize);var g={addSuffix:!!l.addSuffix,comparison:p};p>0?(s=o(e),c=o(t)):(s=o(t),c=o(e));var y=i(c,s),m=Math.round(y/60)-(c.getTimezoneOffset()-s.getTimezoneOffset());if(m<2){if(l.includeSeconds){if(y<5)return h("lessThanXSeconds",5,g);if(y<10)return h("lessThanXSeconds",10,g);if(y<20)return h("lessThanXSeconds",20,g);if(y<40)return h("halfAMinute",null,g);else if(y<60)return h("lessThanXMinutes",1,g);else return h("xMinutes",1,g)}return 0===m?h("lessThanXMinutes",1,g):h("xMinutes",m,g)}if(m<45)return h("xMinutes",m,g);if(m<90)return h("aboutXHours",1,g);if(m<1440)return h("aboutXHours",Math.round(m/60),g);if(m<2520)return h("xDays",1,g);if(m<43200)return h("xDays",Math.round(m/1440),g);if(m<86400)return h("aboutXMonths",f=Math.round(m/43200),g);if((f=a(c,s))<12)return h("xMonths",Math.round(m/43200),g);var b=f%12,v=Math.floor(f/12);return b<3?h("aboutXYears",v,g):b<9?h("overXYears",v,g):h("almostXYears",v+1,g)}},14163:function(e,t,r){var n=r(53014),o=r(18838),i=r(93747),a=r(15665);e.exports=function(e,t,r){var u,s,c,f=r||{},l=n(e,t),p=f.locale,d=a.distanceInWords.localize;p&&p.distanceInWords&&p.distanceInWords.localize&&(d=p.distanceInWords.localize);var h={addSuffix:!!f.addSuffix,comparison:l};l>0?(u=o(e),s=o(t)):(u=o(t),s=o(e));var g=Math[f.partialMethod?String(f.partialMethod):"floor"],y=i(s,u),m=s.getTimezoneOffset()-u.getTimezoneOffset(),b=g(y/60)-m;if("s"===(c=f.unit?String(f.unit):b<1?"s":b<60?"m":b<1440?"h":b<43200?"d":b<525600?"M":"Y"))return d("xSeconds",y,h);if("m"===c)return d("xMinutes",b,h);if("h"===c)return d("xHours",g(b/60),h);if("d"===c)return d("xDays",g(b/1440),h);if("M"===c)return d("xMonths",g(b/43200),h);if("Y"===c)return d("xYears",g(b/525600),h);throw Error("Unknown unit: "+c)}},51607:function(e,t,r){var n=r(16320);e.exports=function(e,t){return n(Date.now(),e,t)}},99752:function(e,t,r){var n=r(18838);e.exports=function(e,t,r){var o=n(e),i=n(t),a=void 0!==r?r:1,u=i.getTime();if(o.getTime()>u)throw Error("The first date cannot be after the second date");var s=[];for(o.setHours(0,0,0,0);o.getTime()<=u;)s.push(n(o)),o.setDate(o.getDate()+a);return s}},9297:function(e,t,r){var n=r(18838);e.exports=function(e){var t=n(e);return t.setHours(23,59,59,999),t}},98318:function(e,t,r){var n=r(18838);e.exports=function(e){var t=n(e);return t.setMinutes(59,59,999),t}},47578:function(e,t,r){var n=r(81762);e.exports=function(e){return n(e,{weekStartsOn:1})}},14340:function(e,t,r){var n=r(93242),o=r(86891);e.exports=function(e){var t=n(e),r=new Date(0);r.setFullYear(t+1,0,4),r.setHours(0,0,0,0);var i=o(r);return i.setMilliseconds(i.getMilliseconds()-1),i}},1572:function(e,t,r){var n=r(18838);e.exports=function(e){var t=n(e);return t.setSeconds(59,999),t}},63472:function(e,t,r){var n=r(18838);e.exports=function(e){var t=n(e),r=t.getMonth();return t.setFullYear(t.getFullYear(),r+1,0),t.setHours(23,59,59,999),t}},12902:function(e,t,r){var n=r(18838);e.exports=function(e){var t=n(e),r=t.getMonth();return t.setMonth(r-r%3+3,0),t.setHours(23,59,59,999),t}},60102:function(e,t,r){var n=r(18838);e.exports=function(e){var t=n(e);return t.setMilliseconds(999),t}},57060:function(e,t,r){var n=r(9297);e.exports=function(){return n(new Date)}},82593:function(e){e.exports=function(){var e=new Date,t=e.getFullYear(),r=e.getMonth(),n=e.getDate(),o=new Date(0);return o.setFullYear(t,r,n+1),o.setHours(23,59,59,999),o}},81762:function(e,t,r){var n=r(18838);e.exports=function(e,t){var r=t&&Number(t.weekStartsOn)||0,o=n(e),i=o.getDay();return o.setDate(o.getDate()+((i<r?-7:0)+6-(i-r))),o.setHours(23,59,59,999),o}},39272:function(e,t,r){var n=r(18838);e.exports=function(e){var t=n(e),r=t.getFullYear();return t.setFullYear(r+1,0,0),t.setHours(23,59,59,999),t}},63994:function(e){e.exports=function(){var e=new Date,t=e.getFullYear(),r=e.getMonth(),n=e.getDate(),o=new Date(0);return o.setFullYear(t,r,n-1),o.setHours(23,59,59,999),o}},55695:function(e,t,r){var n=r(93264),o=r(49709),i=r(93242),a=r(18838),u=r(7708),s=r(15665),c={M:function(e){return e.getMonth()+1},MM:function(e){return addLeadingZeros(e.getMonth()+1,2)},Q:function(e){return Math.ceil((e.getMonth()+1)/3)},D:function(e){return e.getDate()},DD:function(e){return addLeadingZeros(e.getDate(),2)},DDD:function(e){return n(e)},DDDD:function(e){return addLeadingZeros(n(e),3)},d:function(e){return e.getDay()},E:function(e){return e.getDay()||7},W:function(e){return o(e)},WW:function(e){return addLeadingZeros(o(e),2)},YY:function(e){return addLeadingZeros(e.getFullYear(),4).substr(2)},YYYY:function(e){return addLeadingZeros(e.getFullYear(),4)},GG:function(e){return String(i(e)).substr(2)},GGGG:function(e){return i(e)},H:function(e){return e.getHours()},HH:function(e){return addLeadingZeros(e.getHours(),2)},h:function(e){var t=e.getHours();return 0===t?12:t>12?t%12:t},hh:function(e){return addLeadingZeros(c.h(e),2)},m:function(e){return e.getMinutes()},mm:function(e){return addLeadingZeros(e.getMinutes(),2)},s:function(e){return e.getSeconds()},ss:function(e){return addLeadingZeros(e.getSeconds(),2)},S:function(e){return Math.floor(e.getMilliseconds()/100)},SS:function(e){return addLeadingZeros(Math.floor(e.getMilliseconds()/10),2)},SSS:function(e){return addLeadingZeros(e.getMilliseconds(),3)},Z:function(e){return formatTimezone(e.getTimezoneOffset(),":")},ZZ:function(e){return formatTimezone(e.getTimezoneOffset())},X:function(e){return Math.floor(e.getTime()/1e3)},x:function(e){return e.getTime()}};function formatTimezone(e,t){t=t||"";var r=Math.abs(e);return(e>0?"-":"+")+addLeadingZeros(Math.floor(r/60),2)+t+addLeadingZeros(r%60,2)}function addLeadingZeros(e,t){for(var r=Math.abs(e).toString();r.length<t;)r="0"+r;return r}e.exports=function(e,t,r){var n=t?String(t):"YYYY-MM-DDTHH:mm:ss.SSSZ",o=(r||{}).locale,i=s.format.formatters,f=s.format.formattingTokensRegExp;o&&o.format&&o.format.formatters&&(i=o.format.formatters,o.format.formattingTokensRegExp&&(f=o.format.formattingTokensRegExp));var l=a(e);return u(l)?(function(e,t,r){var n,o,i,a=e.match(r),u=a.length;for(o=0;o<u;o++)(i=t[a[o]]||c[a[o]])?a[o]=i:a[o]=(n=a[o]).match(/\[[\s\S]/)?n.replace(/^\[|]$/g,""):n.replace(/\\/g,"");return function(e){for(var t="",r=0;r<u;r++)a[r]instanceof Function?t+=a[r](e,c):t+=a[r];return t}})(n,i,f)(l):"Invalid Date"}},99821:function(e,t,r){var n=r(18838);e.exports=function(e){return n(e).getDate()}},446:function(e,t,r){var n=r(18838);e.exports=function(e){return n(e).getDay()}},93264:function(e,t,r){var n=r(18838),o=r(67172),i=r(6144);e.exports=function(e){var t=n(e);return i(t,o(t))+1}},70119:function(e,t,r){var n=r(18838);e.exports=function(e){var t=n(e),r=t.getFullYear(),o=t.getMonth(),i=new Date(0);return i.setFullYear(r,o+1,0),i.setHours(0,0,0,0),i.getDate()}},8949:function(e,t,r){var n=r(42740);e.exports=function(e){return n(e)?366:365}},29595:function(e,t,r){var n=r(18838);e.exports=function(e){return n(e).getHours()}},37695:function(e,t,r){var n=r(18838);e.exports=function(e){var t=n(e).getDay();return 0===t&&(t=7),t}},49709:function(e,t,r){var n=r(18838),o=r(86891),i=r(63717);e.exports=function(e){var t=n(e);return Math.round((o(t).getTime()-i(t).getTime())/6048e5)+1}},48801:function(e,t,r){var n=r(63717),o=r(70495);e.exports=function(e){var t=n(e);return Math.round((n(o(t,60)).valueOf()-t.valueOf())/6048e5)}},93242:function(e,t,r){var n=r(18838),o=r(86891);e.exports=function(e){var t=n(e),r=t.getFullYear(),i=new Date(0);i.setFullYear(r+1,0,4),i.setHours(0,0,0,0);var a=o(i),u=new Date(0);u.setFullYear(r,0,4),u.setHours(0,0,0,0);var s=o(u);return t.getTime()>=a.getTime()?r+1:t.getTime()>=s.getTime()?r:r-1}},27712:function(e,t,r){var n=r(18838);e.exports=function(e){return n(e).getMilliseconds()}},89396:function(e,t,r){var n=r(18838);e.exports=function(e){return n(e).getMinutes()}},53622:function(e,t,r){var n=r(18838);e.exports=function(e){return n(e).getMonth()}},49070:function(e,t,r){var n=r(18838);e.exports=function(e,t,r,o){var i=n(e).getTime(),a=n(t).getTime(),u=n(r).getTime(),s=n(o).getTime();if(i>a||u>s)throw Error("The start of the range cannot be after the end of the range");return i<s&&u<a?Math.ceil(((s>a?a:s)-(u<i?i:u))/864e5):0}},70790:function(e,t,r){var n=r(18838);e.exports=function(e){return Math.floor(n(e).getMonth()/3)+1}},21794:function(e,t,r){var n=r(18838);e.exports=function(e){return n(e).getSeconds()}},15931:function(e,t,r){var n=r(18838);e.exports=function(e){return n(e).getTime()}},81706:function(e,t,r){var n=r(18838);e.exports=function(e){return n(e).getFullYear()}},25155:function(e,t,r){e.exports={addDays:r(90071),addHours:r(23210),addISOYears:r(96399),addMilliseconds:r(75683),addMinutes:r(63063),addMonths:r(51822),addQuarters:r(22995),addSeconds:r(74681),addWeeks:r(70495),addYears:r(35661),areRangesOverlapping:r(40848),closestIndexTo:r(76278),closestTo:r(32721),compareAsc:r(6294),compareDesc:r(53014),differenceInCalendarDays:r(6144),differenceInCalendarISOWeeks:r(89378),differenceInCalendarISOYears:r(70089),differenceInCalendarMonths:r(64441),differenceInCalendarQuarters:r(5251),differenceInCalendarWeeks:r(71959),differenceInCalendarYears:r(33356),differenceInDays:r(61189),differenceInHours:r(25855),differenceInISOYears:r(593),differenceInMilliseconds:r(84698),differenceInMinutes:r(81429),differenceInMonths:r(81262),differenceInQuarters:r(23499),differenceInSeconds:r(93747),differenceInWeeks:r(49851),differenceInYears:r(34331),distanceInWords:r(16320),distanceInWordsStrict:r(14163),distanceInWordsToNow:r(51607),eachDay:r(99752),endOfDay:r(9297),endOfHour:r(98318),endOfISOWeek:r(47578),endOfISOYear:r(14340),endOfMinute:r(1572),endOfMonth:r(63472),endOfQuarter:r(12902),endOfSecond:r(60102),endOfToday:r(57060),endOfTomorrow:r(82593),endOfWeek:r(81762),endOfYear:r(39272),endOfYesterday:r(63994),format:r(55695),getDate:r(99821),getDay:r(446),getDayOfYear:r(93264),getDaysInMonth:r(70119),getDaysInYear:r(8949),getHours:r(29595),getISODay:r(37695),getISOWeek:r(49709),getISOWeeksInYear:r(48801),getISOYear:r(93242),getMilliseconds:r(27712),getMinutes:r(89396),getMonth:r(53622),getOverlappingDaysInRanges:r(49070),getQuarter:r(70790),getSeconds:r(21794),getTime:r(15931),getYear:r(81706),isAfter:r(15219),isBefore:r(44207),isDate:r(85990),isEqual:r(16506),isFirstDayOfMonth:r(61648),isFriday:r(7614),isFuture:r(84684),isLastDayOfMonth:r(90021),isLeapYear:r(42740),isMonday:r(88850),isPast:r(60634),isSameDay:r(19831),isSameHour:r(5457),isSameISOWeek:r(60018),isSameISOYear:r(59870),isSameMinute:r(6808),isSameMonth:r(35641),isSameQuarter:r(36167),isSameSecond:r(73253),isSameWeek:r(10127),isSameYear:r(97585),isSaturday:r(42220),isSunday:r(31607),isThisHour:r(84282),isThisISOWeek:r(77023),isThisISOYear:r(58449),isThisMinute:r(52418),isThisMonth:r(10178),isThisQuarter:r(13474),isThisSecond:r(3062),isThisWeek:r(52731),isThisYear:r(69534),isThursday:r(19649),isToday:r(63592),isTomorrow:r(56317),isTuesday:r(73626),isValid:r(7708),isWednesday:r(85166),isWeekend:r(69562),isWithinRange:r(4108),isYesterday:r(44407),lastDayOfISOWeek:r(58026),lastDayOfISOYear:r(82888),lastDayOfMonth:r(96208),lastDayOfQuarter:r(25399),lastDayOfWeek:r(37508),lastDayOfYear:r(86205),max:r(20476),min:r(35103),parse:r(18838),setDate:r(17430),setDay:r(38377),setDayOfYear:r(90431),setHours:r(10057),setISODay:r(40381),setISOWeek:r(16829),setISOYear:r(92155),setMilliseconds:r(61155),setMinutes:r(28609),setMonth:r(39621),setQuarter:r(89197),setSeconds:r(57869),setYear:r(43773),startOfDay:r(22635),startOfHour:r(95126),startOfISOWeek:r(86891),startOfISOYear:r(63717),startOfMinute:r(96079),startOfMonth:r(6027),startOfQuarter:r(33805),startOfSecond:r(64429),startOfToday:r(11114),startOfTomorrow:r(60056),startOfWeek:r(70351),startOfYear:r(67172),startOfYesterday:r(13761),subDays:r(36254),subHours:r(56333),subISOYears:r(1567),subMilliseconds:r(73073),subMinutes:r(63401),subMonths:r(90590),subQuarters:r(5151),subSeconds:r(77982),subWeeks:r(75997),subYears:r(58888)}},15219:function(e,t,r){var n=r(18838);e.exports=function(e,t){var r=n(e),o=n(t);return r.getTime()>o.getTime()}},44207:function(e,t,r){var n=r(18838);e.exports=function(e,t){var r=n(e),o=n(t);return r.getTime()<o.getTime()}},85990:function(e){e.exports=function(e){return e instanceof Date}},16506:function(e,t,r){var n=r(18838);e.exports=function(e,t){var r=n(e),o=n(t);return r.getTime()===o.getTime()}},61648:function(e,t,r){var n=r(18838);e.exports=function(e){return 1===n(e).getDate()}},7614:function(e,t,r){var n=r(18838);e.exports=function(e){return 5===n(e).getDay()}},84684:function(e,t,r){var n=r(18838);e.exports=function(e){return n(e).getTime()>new Date().getTime()}},90021:function(e,t,r){var n=r(18838),o=r(9297),i=r(63472);e.exports=function(e){var t=n(e);return o(t).getTime()===i(t).getTime()}},42740:function(e,t,r){var n=r(18838);e.exports=function(e){var t=n(e).getFullYear();return t%400==0||t%4==0&&t%100!=0}},88850:function(e,t,r){var n=r(18838);e.exports=function(e){return 1===n(e).getDay()}},60634:function(e,t,r){var n=r(18838);e.exports=function(e){return n(e).getTime()<new Date().getTime()}},19831:function(e,t,r){var n=r(22635);e.exports=function(e,t){var r=n(e),o=n(t);return r.getTime()===o.getTime()}},5457:function(e,t,r){var n=r(95126);e.exports=function(e,t){var r=n(e),o=n(t);return r.getTime()===o.getTime()}},60018:function(e,t,r){var n=r(10127);e.exports=function(e,t){return n(e,t,{weekStartsOn:1})}},59870:function(e,t,r){var n=r(63717);e.exports=function(e,t){var r=n(e),o=n(t);return r.getTime()===o.getTime()}},6808:function(e,t,r){var n=r(96079);e.exports=function(e,t){var r=n(e),o=n(t);return r.getTime()===o.getTime()}},35641:function(e,t,r){var n=r(18838);e.exports=function(e,t){var r=n(e),o=n(t);return r.getFullYear()===o.getFullYear()&&r.getMonth()===o.getMonth()}},36167:function(e,t,r){var n=r(33805);e.exports=function(e,t){var r=n(e),o=n(t);return r.getTime()===o.getTime()}},73253:function(e,t,r){var n=r(64429);e.exports=function(e,t){var r=n(e),o=n(t);return r.getTime()===o.getTime()}},10127:function(e,t,r){var n=r(70351);e.exports=function(e,t,r){var o=n(e,r),i=n(t,r);return o.getTime()===i.getTime()}},97585:function(e,t,r){var n=r(18838);e.exports=function(e,t){var r=n(e),o=n(t);return r.getFullYear()===o.getFullYear()}},42220:function(e,t,r){var n=r(18838);e.exports=function(e){return 6===n(e).getDay()}},31607:function(e,t,r){var n=r(18838);e.exports=function(e){return 0===n(e).getDay()}},84282:function(e,t,r){var n=r(5457);e.exports=function(e){return n(new Date,e)}},77023:function(e,t,r){var n=r(60018);e.exports=function(e){return n(new Date,e)}},58449:function(e,t,r){var n=r(59870);e.exports=function(e){return n(new Date,e)}},52418:function(e,t,r){var n=r(6808);e.exports=function(e){return n(new Date,e)}},10178:function(e,t,r){var n=r(35641);e.exports=function(e){return n(new Date,e)}},13474:function(e,t,r){var n=r(36167);e.exports=function(e){return n(new Date,e)}},3062:function(e,t,r){var n=r(73253);e.exports=function(e){return n(new Date,e)}},52731:function(e,t,r){var n=r(10127);e.exports=function(e,t){return n(new Date,e,t)}},69534:function(e,t,r){var n=r(97585);e.exports=function(e){return n(new Date,e)}},19649:function(e,t,r){var n=r(18838);e.exports=function(e){return 4===n(e).getDay()}},63592:function(e,t,r){var n=r(22635);e.exports=function(e){return n(e).getTime()===n(new Date).getTime()}},56317:function(e,t,r){var n=r(22635);e.exports=function(e){var t=new Date;return t.setDate(t.getDate()+1),n(e).getTime()===n(t).getTime()}},73626:function(e,t,r){var n=r(18838);e.exports=function(e){return 2===n(e).getDay()}},7708:function(e,t,r){var n=r(85990);e.exports=function(e){if(n(e))return!isNaN(e);throw TypeError(toString.call(e)+" is not an instance of Date")}},85166:function(e,t,r){var n=r(18838);e.exports=function(e){return 3===n(e).getDay()}},69562:function(e,t,r){var n=r(18838);e.exports=function(e){var t=n(e).getDay();return 0===t||6===t}},4108:function(e,t,r){var n=r(18838);e.exports=function(e,t,r){var o=n(e).getTime(),i=n(t).getTime(),a=n(r).getTime();if(i>a)throw Error("The start of the range cannot be after the end of the range");return o>=i&&o<=a}},44407:function(e,t,r){var n=r(22635);e.exports=function(e){var t=new Date;return t.setDate(t.getDate()-1),n(e).getTime()===n(t).getTime()}},58026:function(e,t,r){var n=r(37508);e.exports=function(e){return n(e,{weekStartsOn:1})}},82888:function(e,t,r){var n=r(93242),o=r(86891);e.exports=function(e){var t=n(e),r=new Date(0);r.setFullYear(t+1,0,4),r.setHours(0,0,0,0);var i=o(r);return i.setDate(i.getDate()-1),i}},96208:function(e,t,r){var n=r(18838);e.exports=function(e){var t=n(e),r=t.getMonth();return t.setFullYear(t.getFullYear(),r+1,0),t.setHours(0,0,0,0),t}},25399:function(e,t,r){var n=r(18838);e.exports=function(e){var t=n(e),r=t.getMonth();return t.setMonth(r-r%3+3,0),t.setHours(0,0,0,0),t}},37508:function(e,t,r){var n=r(18838);e.exports=function(e,t){var r=t&&Number(t.weekStartsOn)||0,o=n(e),i=o.getDay();return o.setHours(0,0,0,0),o.setDate(o.getDate()+((i<r?-7:0)+6-(i-r))),o}},86205:function(e,t,r){var n=r(18838);e.exports=function(e){var t=n(e),r=t.getFullYear();return t.setFullYear(r+1,0,0),t.setHours(0,0,0,0),t}},80088:function(e){var t=["M","MM","Q","D","DD","DDD","DDDD","d","E","W","WW","YY","YYYY","GG","GGGG","H","HH","h","hh","m","mm","s","ss","S","SS","SSS","Z","ZZ","X","x"];e.exports=function(e){var r=[];for(var n in e)e.hasOwnProperty(n)&&r.push(n);return RegExp("(\\[[^\\[]*\\])|(\\\\)?("+t.concat(r).sort().reverse().join("|")+"|.)","g")}},55433:function(e){e.exports=function(){var e={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};return{localize:function(t,r,n){var o;return(n=n||{},o="string"==typeof e[t]?e[t]:1===r?e[t].one:e[t].other.replace("{{count}}",r),n.addSuffix)?n.comparison>0?"in "+o:o+" ago":o}}}},81146:function(e,t,r){var n=r(80088);e.exports=function(){var e=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],t=["January","February","March","April","May","June","July","August","September","October","November","December"],r=["Su","Mo","Tu","We","Th","Fr","Sa"],o=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],i=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],a={MMM:function(t){return e[t.getMonth()]},MMMM:function(e){return t[e.getMonth()]},dd:function(e){return r[e.getDay()]},ddd:function(e){return o[e.getDay()]},dddd:function(e){return i[e.getDay()]},A:function(e){return e.getHours()/12>=1?"PM":"AM"},a:function(e){return e.getHours()/12>=1?"pm":"am"},aa:function(e){return e.getHours()/12>=1?"p.m.":"a.m."}};return["M","D","DDD","d","Q","W"].forEach(function(e){a[e+"o"]=function(t,r){return function(e){var t=e%100;if(t>20||t<10)switch(t%10){case 1:return e+"st";case 2:return e+"nd";case 3:return e+"rd"}return e+"th"}(r[e](t))}}),{formatters:a,formattingTokensRegExp:n(a)}}},15665:function(e,t,r){var n=r(55433),o=r(81146);e.exports={distanceInWords:n(),format:o()}},20476:function(e,t,r){var n=r(18838);e.exports=function(){var e=Array.prototype.slice.call(arguments),t=e.map(function(e){return n(e)}),r=Math.max.apply(null,t);return new Date(r)}},35103:function(e,t,r){var n=r(18838);e.exports=function(){var e=Array.prototype.slice.call(arguments),t=e.map(function(e){return n(e)}),r=Math.min.apply(null,t);return new Date(r)}},18838:function(e,t,r){var n=r(4261),o=r(85990),i=/[T ]/,a=/:/,u=/^(\d{2})$/,s=[/^([+-]\d{2})$/,/^([+-]\d{3})$/,/^([+-]\d{4})$/],c=/^(\d{4})/,f=[/^([+-]\d{4})/,/^([+-]\d{5})/,/^([+-]\d{6})/],l=/^-(\d{2})$/,p=/^-?(\d{3})$/,d=/^-?(\d{2})-?(\d{2})$/,h=/^-?W(\d{2})$/,g=/^-?W(\d{2})-?(\d{1})$/,y=/^(\d{2}([.,]\d*)?)$/,m=/^(\d{2}):?(\d{2}([.,]\d*)?)$/,b=/^(\d{2}):?(\d{2}):?(\d{2}([.,]\d*)?)$/,v=/([Z+-].*)$/,_=/^(Z)$/,x=/^([+-])(\d{2})$/,w=/^([+-])(\d{2}):?(\d{2})$/;function dayOfISOYear(e,t,r){t=t||0,r=r||0;var n=new Date(0);n.setUTCFullYear(e,0,4);var o=7*t+r+1-(n.getUTCDay()||7);return n.setUTCDate(n.getUTCDate()+o),n}e.exports=function(e,t){if(o(e))return new Date(e.getTime());if("string"!=typeof e)return new Date(e);var r,O,S,T=(t||{}).additionalDigits;T=null==T?2:Number(T);var P=function(e){var t,r={},n=e.split(i);if(a.test(n[0])?(r.date=null,t=n[0]):(r.date=n[0],t=n[1]),t){var o=v.exec(t);o?(r.time=t.replace(o[1],""),r.timezone=o[1]):r.time=t}return r}(e),M=function(e,t){var r,n=s[t],o=f[t];if(r=c.exec(e)||o.exec(e)){var i=r[1];return{year:parseInt(i,10),restDateString:e.slice(i.length)}}if(r=u.exec(e)||n.exec(e)){var a=r[1];return{year:100*parseInt(a,10),restDateString:e.slice(a.length)}}return{year:null}}(P.date,T),I=M.year,A=function(e,t){if(null===t)return null;if(0===e.length)return(n=new Date(0)).setUTCFullYear(t),n;if(r=l.exec(e))return n=new Date(0),o=parseInt(r[1],10)-1,n.setUTCFullYear(t,o),n;if(r=p.exec(e)){n=new Date(0);var r,n,o,i=parseInt(r[1],10);return n.setUTCFullYear(t,0,i),n}if(r=d.exec(e)){n=new Date(0),o=parseInt(r[1],10)-1;var a=parseInt(r[2],10);return n.setUTCFullYear(t,o,a),n}return(r=h.exec(e))?dayOfISOYear(t,parseInt(r[1],10)-1):(r=g.exec(e))?dayOfISOYear(t,parseInt(r[1],10)-1,parseInt(r[2],10)-1):null}(M.restDateString,I);if(!A)return new Date(e);var B,D=A.getTime(),j=0;if(P.time&&(j=function(e){if(t=y.exec(e))return parseFloat(t[1].replace(",","."))%24*36e5;if(t=m.exec(e))return parseInt(t[1],10)%24*36e5+6e4*parseFloat(t[2].replace(",","."));if(t=b.exec(e)){var t,r;return parseInt(t[1],10)%24*36e5+6e4*parseInt(t[2],10)+1e3*parseFloat(t[3].replace(",","."))}return null}(P.time)),P.timezone)B=6e4*(r=P.timezone,(O=_.exec(r))?0:(O=x.exec(r))?(S=60*parseInt(O[2],10),"+"===O[1]?-S:S):(O=w.exec(r))?(S=60*parseInt(O[2],10)+parseInt(O[3],10),"+"===O[1]?-S:S):0);else{var C=D+j,E=new Date(C);B=n(E);var R=new Date(C);R.setDate(E.getDate()+1);var k=n(R)-n(E);k>0&&(B+=k)}return new Date(D+j+B)}},17430:function(e,t,r){var n=r(18838);e.exports=function(e,t){var r=n(e),o=Number(t);return r.setDate(o),r}},38377:function(e,t,r){var n=r(18838),o=r(90071);e.exports=function(e,t,r){var i=r&&Number(r.weekStartsOn)||0,a=n(e),u=Number(t),s=a.getDay();return o(a,((u%7+7)%7<i?7:0)+u-s)}},90431:function(e,t,r){var n=r(18838);e.exports=function(e,t){var r=n(e),o=Number(t);return r.setMonth(0),r.setDate(o),r}},10057:function(e,t,r){var n=r(18838);e.exports=function(e,t){var r=n(e),o=Number(t);return r.setHours(o),r}},40381:function(e,t,r){var n=r(18838),o=r(90071),i=r(37695);e.exports=function(e,t){var r=n(e),a=Number(t),u=i(r);return o(r,a-u)}},16829:function(e,t,r){var n=r(18838),o=r(49709);e.exports=function(e,t){var r=n(e),i=Number(t),a=o(r)-i;return r.setDate(r.getDate()-7*a),r}},92155:function(e,t,r){var n=r(18838),o=r(63717),i=r(6144);e.exports=function(e,t){var r=n(e),a=Number(t),u=i(r,o(r)),s=new Date(0);return s.setFullYear(a,0,4),s.setHours(0,0,0,0),(r=o(s)).setDate(r.getDate()+u),r}},61155:function(e,t,r){var n=r(18838);e.exports=function(e,t){var r=n(e),o=Number(t);return r.setMilliseconds(o),r}},28609:function(e,t,r){var n=r(18838);e.exports=function(e,t){var r=n(e),o=Number(t);return r.setMinutes(o),r}},39621:function(e,t,r){var n=r(18838),o=r(70119);e.exports=function(e,t){var r=n(e),i=Number(t),a=r.getFullYear(),u=r.getDate(),s=new Date(0);s.setFullYear(a,i,15),s.setHours(0,0,0,0);var c=o(s);return r.setMonth(i,Math.min(u,c)),r}},89197:function(e,t,r){var n=r(18838),o=r(39621);e.exports=function(e,t){var r=n(e),i=Number(t),a=Math.floor(r.getMonth()/3)+1;return o(r,r.getMonth()+3*(i-a))}},57869:function(e,t,r){var n=r(18838);e.exports=function(e,t){var r=n(e),o=Number(t);return r.setSeconds(o),r}},43773:function(e,t,r){var n=r(18838);e.exports=function(e,t){var r=n(e),o=Number(t);return r.setFullYear(o),r}},22635:function(e,t,r){var n=r(18838);e.exports=function(e){var t=n(e);return t.setHours(0,0,0,0),t}},95126:function(e,t,r){var n=r(18838);e.exports=function(e){var t=n(e);return t.setMinutes(0,0,0),t}},86891:function(e,t,r){var n=r(70351);e.exports=function(e){return n(e,{weekStartsOn:1})}},63717:function(e,t,r){var n=r(93242),o=r(86891);e.exports=function(e){var t=n(e),r=new Date(0);return r.setFullYear(t,0,4),r.setHours(0,0,0,0),o(r)}},96079:function(e,t,r){var n=r(18838);e.exports=function(e){var t=n(e);return t.setSeconds(0,0),t}},6027:function(e,t,r){var n=r(18838);e.exports=function(e){var t=n(e);return t.setDate(1),t.setHours(0,0,0,0),t}},33805:function(e,t,r){var n=r(18838);e.exports=function(e){var t=n(e),r=t.getMonth();return t.setMonth(r-r%3,1),t.setHours(0,0,0,0),t}},64429:function(e,t,r){var n=r(18838);e.exports=function(e){var t=n(e);return t.setMilliseconds(0),t}},11114:function(e,t,r){var n=r(22635);e.exports=function(){return n(new Date)}},60056:function(e){e.exports=function(){var e=new Date,t=e.getFullYear(),r=e.getMonth(),n=e.getDate(),o=new Date(0);return o.setFullYear(t,r,n+1),o.setHours(0,0,0,0),o}},70351:function(e,t,r){var n=r(18838);e.exports=function(e,t){var r=t&&Number(t.weekStartsOn)||0,o=n(e),i=o.getDay();return o.setDate(o.getDate()-((i<r?7:0)+i-r)),o.setHours(0,0,0,0),o}},67172:function(e,t,r){var n=r(18838);e.exports=function(e){var t=n(e),r=new Date(0);return r.setFullYear(t.getFullYear(),0,1),r.setHours(0,0,0,0),r}},13761:function(e){e.exports=function(){var e=new Date,t=e.getFullYear(),r=e.getMonth(),n=e.getDate(),o=new Date(0);return o.setFullYear(t,r,n-1),o.setHours(0,0,0,0),o}},36254:function(e,t,r){var n=r(90071);e.exports=function(e,t){return n(e,-Number(t))}},56333:function(e,t,r){var n=r(23210);e.exports=function(e,t){return n(e,-Number(t))}},1567:function(e,t,r){var n=r(96399);e.exports=function(e,t){return n(e,-Number(t))}},73073:function(e,t,r){var n=r(75683);e.exports=function(e,t){return n(e,-Number(t))}},63401:function(e,t,r){var n=r(63063);e.exports=function(e,t){return n(e,-Number(t))}},90590:function(e,t,r){var n=r(51822);e.exports=function(e,t){return n(e,-Number(t))}},5151:function(e,t,r){var n=r(22995);e.exports=function(e,t){return n(e,-Number(t))}},77982:function(e,t,r){var n=r(74681);e.exports=function(e,t){return n(e,-Number(t))}},75997:function(e,t,r){var n=r(70495);e.exports=function(e,t){return n(e,-Number(t))}},58888:function(e,t,r){var n=r(35661);e.exports=function(e,t){return n(e,-Number(t))}},62333:function(e,t){/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */t.read=function(e,t,r,n,o){var i,a,u=8*o-n-1,s=(1<<u)-1,c=s>>1,f=-7,l=r?o-1:0,p=r?-1:1,d=e[t+l];for(l+=p,i=d&(1<<-f)-1,d>>=-f,f+=u;f>0;i=256*i+e[t+l],l+=p,f-=8);for(a=i&(1<<-f)-1,i>>=-f,f+=n;f>0;a=256*a+e[t+l],l+=p,f-=8);if(0===i)i=1-c;else{if(i===s)return a?NaN:(d?-1:1)*(1/0);a+=Math.pow(2,n),i-=c}return(d?-1:1)*a*Math.pow(2,i-n)},t.write=function(e,t,r,n,o,i){var a,u,s,c=8*i-o-1,f=(1<<c)-1,l=f>>1,p=23===o?5960464477539062e-23:0,d=n?0:i-1,h=n?1:-1,g=t<0||0===t&&1/t<0?1:0;for(isNaN(t=Math.abs(t))||t===1/0?(u=isNaN(t)?1:0,a=f):(a=Math.floor(Math.log(t)/Math.LN2),t*(s=Math.pow(2,-a))<1&&(a--,s*=2),a+l>=1?t+=p/s:t+=p*Math.pow(2,1-l),t*s>=2&&(a++,s/=2),a+l>=f?(u=0,a=f):a+l>=1?(u=(t*s-1)*Math.pow(2,o),a+=l):(u=t*Math.pow(2,l-1)*Math.pow(2,o),a=0));o>=8;e[r+d]=255&u,d+=h,u/=256,o-=8);for(a=a<<o|u,c+=o;c>0;e[r+d]=255&a,d+=h,a/=256,c-=8);e[r+d-h]|=128*g}},89612:function(e,t,r){var n=r(52118),o=r(96909),i=r(98138),a=r(4174),u=r(7942);function Hash(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}Hash.prototype.clear=n,Hash.prototype.delete=o,Hash.prototype.get=i,Hash.prototype.has=a,Hash.prototype.set=u,e.exports=Hash},80235:function(e,t,r){var n=r(3945),o=r(21846),i=r(88028),a=r(72344),u=r(94769);function ListCache(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}ListCache.prototype.clear=n,ListCache.prototype.delete=o,ListCache.prototype.get=i,ListCache.prototype.has=a,ListCache.prototype.set=u,e.exports=ListCache},10326:function(e,t,r){var n=r(38761)(r(37772),"Map");e.exports=n},96738:function(e,t,r){var n=r(92411),o=r(36417),i=r(86928),a=r(79493),u=r(24150);function MapCache(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}MapCache.prototype.clear=n,MapCache.prototype.delete=o,MapCache.prototype.get=i,MapCache.prototype.has=a,MapCache.prototype.set=u,e.exports=MapCache},50857:function(e,t,r){var n=r(37772).Symbol;e.exports=n},65067:function(e){e.exports=function(e,t){for(var r=-1,n=t.length,o=e.length;++r<n;)e[o+r]=t[r];return e}},22218:function(e,t,r){var n=r(41225);e.exports=function(e,t){for(var r=e.length;r--;)if(n(e[r][0],t))return r;return -1}},53366:function(e,t,r){var n=r(50857),o=r(62107),i=r(37157),a=n?n.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?o(e):i(e)}},15183:function(e,t,r){var n=r(53366),o=r(15125);e.exports=function(e){return o(e)&&"[object Arguments]"==n(e)}},6840:function(e,t,r){var n=r(61049),o=r(47394),i=r(29259),a=r(87035),u=/^\[object .+?Constructor\]$/,s=Object.prototype,c=Function.prototype.toString,f=s.hasOwnProperty,l=RegExp("^"+c.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||o(e))&&(n(e)?l:u).test(a(e))}},24019:function(e,t,r){var n=r(37772)["__core-js_shared__"];e.exports=n},51242:function(e,t,r){var n="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g;e.exports=n},27937:function(e,t,r){var n=r(98304);e.exports=function(e,t){var r=e.__data__;return n(t)?r["string"==typeof t?"string":"hash"]:r.map}},38761:function(e,t,r){var n=r(6840),o=r(98109);e.exports=function(e,t){var r=o(e,t);return n(r)?r:void 0}},62107:function(e,t,r){var n=r(50857),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,u=n?n.toStringTag:void 0;e.exports=function(e){var t=i.call(e,u),r=e[u];try{e[u]=void 0;var n=!0}catch(e){}var o=a.call(e);return n&&(t?e[u]=r:delete e[u]),o}},98109:function(e){e.exports=function(e,t){return null==e?void 0:e[t]}},52118:function(e,t,r){var n=r(99191);e.exports=function(){this.__data__=n?n(null):{},this.size=0}},96909:function(e){e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},98138:function(e,t,r){var n=r(99191),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(n){var r=t[e];return"__lodash_hash_undefined__"===r?void 0:r}return o.call(t,e)?t[e]:void 0}},4174:function(e,t,r){var n=r(99191),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return n?void 0!==t[e]:o.call(t,e)}},7942:function(e,t,r){var n=r(99191);e.exports=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=n&&void 0===t?"__lodash_hash_undefined__":t,this}},39045:function(e){var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,r){var n=typeof e;return!!(r=null==r?9007199254740991:r)&&("number"==n||"symbol"!=n&&t.test(e))&&e>-1&&e%1==0&&e<r}},98304:function(e){e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},47394:function(e,t,r){var n,o=r(24019),i=(n=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";e.exports=function(e){return!!i&&i in e}},3945:function(e){e.exports=function(){this.__data__=[],this.size=0}},21846:function(e,t,r){var n=r(22218),o=Array.prototype.splice;e.exports=function(e){var t=this.__data__,r=n(t,e);return!(r<0)&&(r==t.length-1?t.pop():o.call(t,r,1),--this.size,!0)}},88028:function(e,t,r){var n=r(22218);e.exports=function(e){var t=this.__data__,r=n(t,e);return r<0?void 0:t[r][1]}},72344:function(e,t,r){var n=r(22218);e.exports=function(e){return n(this.__data__,e)>-1}},94769:function(e,t,r){var n=r(22218);e.exports=function(e,t){var r=this.__data__,o=n(r,e);return o<0?(++this.size,r.push([e,t])):r[o][1]=t,this}},92411:function(e,t,r){var n=r(89612),o=r(80235),i=r(10326);e.exports=function(){this.size=0,this.__data__={hash:new n,map:new(i||o),string:new n}}},36417:function(e,t,r){var n=r(27937);e.exports=function(e){var t=n(this,e).delete(e);return this.size-=t?1:0,t}},86928:function(e,t,r){var n=r(27937);e.exports=function(e){return n(this,e).get(e)}},79493:function(e,t,r){var n=r(27937);e.exports=function(e){return n(this,e).has(e)}},24150:function(e,t,r){var n=r(27937);e.exports=function(e,t){var r=n(this,e),o=r.size;return r.set(e,t),this.size+=r.size==o?0:1,this}},99191:function(e,t,r){var n=r(38761)(Object,"create");e.exports=n},37157:function(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},37772:function(e,t,r){var n=r(51242),o="object"==typeof self&&self&&self.Object===Object&&self,i=n||o||Function("return this")();e.exports=i},87035:function(e){var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},41225:function(e){e.exports=function(e,t){return e===t||e!=e&&t!=t}},79631:function(e,t,r){var n=r(15183),o=r(15125),i=Object.prototype,a=i.hasOwnProperty,u=i.propertyIsEnumerable,s=n(function(){return arguments}())?n:function(e){return o(e)&&a.call(e,"callee")&&!u.call(e,"callee")};e.exports=s},86152:function(e){var t=Array.isArray;e.exports=t},61049:function(e,t,r){var n=r(53366),o=r(29259);e.exports=function(e){if(!o(e))return!1;var t=n(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},61158:function(e){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},29259:function(e){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},15125:function(e){e.exports=function(e){return null!=e&&"object"==typeof e}},4795:function(e,t,r){var n=r(53366),o=r(15125);e.exports=function(e){return"symbol"==typeof e||o(e)&&"[object Symbol]"==n(e)}},68762:function(e,t,r){var n,o,i,a,u;n=r(19562),o=r(5792).utf8,i=r(16656),a=r(5792).bin,(u=function(e,t){e.constructor==String?e=t&&"binary"===t.encoding?a.stringToBytes(e):o.stringToBytes(e):i(e)?e=Array.prototype.slice.call(e,0):Array.isArray(e)||e.constructor===Uint8Array||(e=e.toString());for(var r=n.bytesToWords(e),s=8*e.length,c=1732584193,f=-271733879,l=-1732584194,p=271733878,d=0;d<r.length;d++)r[d]=(r[d]<<8|r[d]>>>24)&16711935|(r[d]<<24|r[d]>>>8)&4278255360;r[s>>>5]|=128<<s%32,r[(s+64>>>9<<4)+14]=s;for(var h=u._ff,g=u._gg,y=u._hh,m=u._ii,d=0;d<r.length;d+=16){var b=c,v=f,_=l,x=p;c=h(c,f,l,p,r[d+0],7,-680876936),p=h(p,c,f,l,r[d+1],12,-389564586),l=h(l,p,c,f,r[d+2],17,606105819),f=h(f,l,p,c,r[d+3],22,-1044525330),c=h(c,f,l,p,r[d+4],7,-176418897),p=h(p,c,f,l,r[d+5],12,1200080426),l=h(l,p,c,f,r[d+6],17,-1473231341),f=h(f,l,p,c,r[d+7],22,-45705983),c=h(c,f,l,p,r[d+8],7,1770035416),p=h(p,c,f,l,r[d+9],12,-1958414417),l=h(l,p,c,f,r[d+10],17,-42063),f=h(f,l,p,c,r[d+11],22,-1990404162),c=h(c,f,l,p,r[d+12],7,1804603682),p=h(p,c,f,l,r[d+13],12,-40341101),l=h(l,p,c,f,r[d+14],17,-1502002290),f=h(f,l,p,c,r[d+15],22,1236535329),c=g(c,f,l,p,r[d+1],5,-165796510),p=g(p,c,f,l,r[d+6],9,-1069501632),l=g(l,p,c,f,r[d+11],14,643717713),f=g(f,l,p,c,r[d+0],20,-373897302),c=g(c,f,l,p,r[d+5],5,-701558691),p=g(p,c,f,l,r[d+10],9,38016083),l=g(l,p,c,f,r[d+15],14,-660478335),f=g(f,l,p,c,r[d+4],20,-405537848),c=g(c,f,l,p,r[d+9],5,568446438),p=g(p,c,f,l,r[d+14],9,-1019803690),l=g(l,p,c,f,r[d+3],14,-187363961),f=g(f,l,p,c,r[d+8],20,1163531501),c=g(c,f,l,p,r[d+13],5,-1444681467),p=g(p,c,f,l,r[d+2],9,-51403784),l=g(l,p,c,f,r[d+7],14,1735328473),f=g(f,l,p,c,r[d+12],20,-1926607734),c=y(c,f,l,p,r[d+5],4,-378558),p=y(p,c,f,l,r[d+8],11,-2022574463),l=y(l,p,c,f,r[d+11],16,1839030562),f=y(f,l,p,c,r[d+14],23,-35309556),c=y(c,f,l,p,r[d+1],4,-1530992060),p=y(p,c,f,l,r[d+4],11,1272893353),l=y(l,p,c,f,r[d+7],16,-155497632),f=y(f,l,p,c,r[d+10],23,-1094730640),c=y(c,f,l,p,r[d+13],4,681279174),p=y(p,c,f,l,r[d+0],11,-358537222),l=y(l,p,c,f,r[d+3],16,-722521979),f=y(f,l,p,c,r[d+6],23,76029189),c=y(c,f,l,p,r[d+9],4,-640364487),p=y(p,c,f,l,r[d+12],11,-421815835),l=y(l,p,c,f,r[d+15],16,530742520),f=y(f,l,p,c,r[d+2],23,-995338651),c=m(c,f,l,p,r[d+0],6,-198630844),p=m(p,c,f,l,r[d+7],10,1126891415),l=m(l,p,c,f,r[d+14],15,-1416354905),f=m(f,l,p,c,r[d+5],21,-57434055),c=m(c,f,l,p,r[d+12],6,1700485571),p=m(p,c,f,l,r[d+3],10,-1894986606),l=m(l,p,c,f,r[d+10],15,-1051523),f=m(f,l,p,c,r[d+1],21,-2054922799),c=m(c,f,l,p,r[d+8],6,1873313359),p=m(p,c,f,l,r[d+15],10,-30611744),l=m(l,p,c,f,r[d+6],15,-1560198380),f=m(f,l,p,c,r[d+13],21,1309151649),c=m(c,f,l,p,r[d+4],6,-145523070),p=m(p,c,f,l,r[d+11],10,-1120210379),l=m(l,p,c,f,r[d+2],15,718787259),f=m(f,l,p,c,r[d+9],21,-343485551),c=c+b>>>0,f=f+v>>>0,l=l+_>>>0,p=p+x>>>0}return n.endian([c,f,l,p])})._ff=function(e,t,r,n,o,i,a){var u=e+(t&r|~t&n)+(o>>>0)+a;return(u<<i|u>>>32-i)+t},u._gg=function(e,t,r,n,o,i,a){var u=e+(t&n|r&~n)+(o>>>0)+a;return(u<<i|u>>>32-i)+t},u._hh=function(e,t,r,n,o,i,a){var u=e+(t^r^n)+(o>>>0)+a;return(u<<i|u>>>32-i)+t},u._ii=function(e,t,r,n,o,i,a){var u=e+(r^(t|~n))+(o>>>0)+a;return(u<<i|u>>>32-i)+t},u._blocksize=16,u._digestsize=16,e.exports=function(e,t){if(null==e)throw Error("Illegal argument "+e);var r=n.wordsToBytes(u(e,t));return t&&t.asBytes?r:t&&t.asString?a.bytesToString(r):n.bytesToHex(r)}},16656:function(e){function isBuffer(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}/*!
* Determine if an object is a Buffer
*
* @author Feross Aboukhadijeh <https://feross.org>
* @license MIT
*/e.exports=function(e){return null!=e&&(isBuffer(e)||"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&isBuffer(e.slice(0,0))||!!e._isBuffer)}},17969:function(e){var t=0,r=1,n=0,o=0;e.exports=function(){var e=Date.now();if(t===e){do n=e+r++/(r+999);while(n===o);o=n}else r=1,n=e;return o=n,t=e,n}},88665:function(e){e.exports=function(e,t,r,n){var o=r?r.call(n,e,t):void 0;if(void 0!==o)return!!o;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var i=Object.keys(e),a=Object.keys(t);if(i.length!==a.length)return!1;for(var u=Object.prototype.hasOwnProperty.bind(t),s=0;s<i.length;s++){var c=i[s];if(!u(c))return!1;var f=e[c],l=t[c];if(!1===(o=r?r.call(n,f,l,c):void 0)||void 0===o&&f!==l)return!1}return!0}},45982:function(e){"use strict";e.exports=function(){}},56666:function(e,t,r){"use strict";r.d(t,{Z:function(){return _defineProperty}});var n=r(32802);function _defineProperty(e,t,r){return(t=(0,n.Z)(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}},32802:function(e,t,r){"use strict";r.d(t,{Z:function(){return _toPropertyKey}});var n=r(86522);function _toPropertyKey(e){var t=function(e,t){if("object"!==(0,n.Z)(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var o=r.call(e,t||"default");if("object"!==(0,n.Z)(o))return o;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===(0,n.Z)(t)?t:String(t)}},82067:function(e,t,r){"use strict";r.r(t),r.d(t,{createDateFormatter:function(){return createDateFormatter}});let identity=e=>e,n={YYYY:e=>e.year,YY:e=>e.year.slice(-2),MMMM:e=>e.lmonth,MMM:e=>e.lmonth.slice(0,3),MM:e=>e.month,DD:e=>e.day,dddd:e=>e.weekday,ddd:e=>e.weekday.slice(0,3),A:e=>e.dayPeriod,a:e=>e.dayPeriod.toLowerCase(),HH:e=>("0"+Number(e.lhour)%24).slice(-2),hh:e=>e.hour,mm:e=>e.minute,ss:e=>e.second},createCustomPattern=e=>Object.keys(e).reduce((e,t)=>`|${t}`,""),o=new Map,i=[{weekday:"long",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"},{month:"long",hour:"2-digit",hour12:!1}],createIntlFormatterWith=e=>i.map(t=>new Intl.DateTimeFormat(e.locale,Object.assign({},t,{timeZone:e.timezone}))),longTokensTransformer=e=>"literal"!==e.type?{type:`l${e.type}`,value:e.value}:e,datePartsReducer=(e,t)=>(e[t.type]=t.value,e),tokenize=(e,t)=>e.formatToParts(t).filter(e=>"literal"!==e.type),normalize=e=>(e.dayPeriod=e.dayPeriod||e.dayperiod||"",delete e.dayperiod,e.lhour=("0"+Number(e.lhour)%24).slice(-2),e),createParser=e=>{let[t,r]=createIntlFormatterWith(e);return function(e){let n=tokenize(t,e),o=tokenize(r,e).map(longTokensTransformer),i=[...n,...o],a=i.reduce(datePartsReducer,{});return normalize(a)}};function createDateFormatter(e){return function(t,r,i){let a=function(e,t={}){let r=`${t.locale}${t.timezone}`,n=o.get(r);return n||(n=createParser(t),o.set(r,n)),n(e)}(t,i),u=function(e,t,r,o){let i=createCustomPattern(e),a=RegExp(`[YMDdAaHhms]+${i}`,"g"),u=Object.assign({},n,e);return t.replace(a,e=>(u[e]||identity)(r,o))}(e,r,a,t);return u}}var a=createDateFormatter({});t.default=a}}]);