@micromag/viewer-build 0.3.386 → 0.3.389
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/asset-manifest.json +4 -4
- package/build/index.html +1 -1
- package/build/static/js/482.20046874.js +2 -0
- package/build/static/js/main.37b1457f.js +2 -0
- package/package.json +7 -7
- package/build/static/js/833.48a48b01.js +0 -2
- package/build/static/js/main.571e224a.js +0 -2
- /package/build/static/js/{833.48a48b01.js.LICENSE.txt → 482.20046874.js.LICENSE.txt} +0 -0
- /package/build/static/js/{main.571e224a.js.LICENSE.txt → main.37b1457f.js.LICENSE.txt} +0 -0
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/*! For license information please see 833.48a48b01.js.LICENSE.txt */
|
|
2
|
-
(self.webpackChunk_micromag_viewer_build=self.webpackChunk_micromag_viewer_build||[]).push([[833],{69561:function(e,t,n){"use strict";n.r(t),n.d(t,{ResponseError:function(){return o},ValidationError:function(){return s},getCSRFHeaders:function(){return g},getCsrfToken:function(){return m},getJSON:function(){return c},getResponseAndDataObject:function(){return a},getXSRFToken:function(){return d},postJSON:function(){return f},throwResponseError:function(){return u},throwValidationError:function(){return l},uploadFile:function(){return p}});var r=n(52034),i=n.n(r);class o extends Error{constructor(e,t,n){super(e),this.name="ResponseError",this.responseData=t,this.status=n}getResponseData(){return this.responseData}}class s extends o{constructor(e,t,n){super(e,t,n),this.name="ValidationError"}getErrors(){return this.responseData}}const a=e=>e.json().then((t=>({data:t,response:e}))),u=e=>{const{response:t,data:n}=e;if(t.status>=200&&t.status<300)return n;throw new o(t.statusText,n,t.status)},l=e=>{if("ResponseError"===e.name&&422===e.status)throw new s(e.message,e.responseData,e.status);throw e},c=(e,t)=>{const{headers:n,...r}=t||{};return fetch(e,{method:"GET",headers:{Accept:"application/json",...n||null},...r||null}).then(a).then(u)},f=(e,t,n)=>{const{headers:r,...i}=n||{};return fetch(e,{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json",...r||null},body:JSON.stringify(t),...i||null}).then(a).then(u).catch(l)},h={headers:null,fileParamName:"file"},p=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;const{headers:r,fileParamName:i,...o}={...h,...n},s=new FormData;return s.append(i,t),fetch(e,{method:"POST",headers:{Accept:"application/json",...r},body:s,...o||null}).then(a).then(u).catch(l)},d=()=>i().get()["XSRF-TOKEN"]||null,m=e=>{const t=e||"csrf-token";return"undefined"==typeof document?null:[].slice.call(document.getElementsByTagName("meta")).reduce(((e,n)=>n.getAttribute("name")===t?n.getAttribute("content"):e),null)},g=e=>{const t=d();if(null!==t)return{"X-XSRF-TOKEN":t};const n=m(e);return null!==n?{"X-CSRF-TOKEN":n}:null}},2216:function(e,t,n){"use strict";n.r(t),n.d(t,{useForm:function(){return d}});var r=n(2867),i=n(56666),o=n(59740),s=n(2784),a=n(69561),u=n(85505),l=n.n(u),c=n(29259),f=n.n(c);function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(n,!0).forEach((function(t){(0,i.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var d=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.fields,n=void 0===t?[]:t,u=e.action,c=void 0===u?null:u,h=e.postForm,d=void 0===h?null:h,m=e.initialErrors,g=void 0===m?null:m,v=e.errors,y=void 0===v?null:v,b=e.setErrors,w=void 0===b?null:b,_=e.initialGeneralError,S=void 0===_?null:_,x=e.generalError,E=void 0===x?null:x,k=e.setGeneralError,P=void 0===k?null:k,C=e.initialValue,O=void 0===C?null:C,T=e.value,A=void 0===T?null:T,F=e.setValue,I=void 0===F?null:F,R=e.onComplete,M=void 0===R?null:R,N=(0,s.useState)(O||A),L=(0,r.Z)(N,2),U=L[0],D=L[1],j=(0,s.useState)(g||y),B=(0,r.Z)(j,2),z=B[0],H=B[1],$=(0,s.useState)(S||E),V=(0,r.Z)($,2),q=V[0],W=V[1],G=(0,s.useState)({success:!1,loading:!1,error:!1}),Z=(0,r.Z)(G,2),K=Z[0],Y=Z[1],X=(0,s.useState)(null),Q=(0,r.Z)(X,2),J=Q[0],ee=Q[1],te=null!==I,ne=te?A:U,re=te?I:D,ie=null!==w,oe=ie?y:z,se=ie?w:H,ae=null!==P,ue=ae?E:q,le=ae?P:W,ce=[ne,oe].concat(n),fe=(0,s.useCallback)((function(e,t){null!==(null!==oe&&oe[e]||null)&&se(p({},oe,(0,i.Z)({},e,null))),re(p({},ne,(0,i.Z)({},e,t)))}),ce),he=(0,s.useMemo)((function(){return function(e,t){var n=t.value,r=t.errors,s=t.onChange,a=(0,o.Z)(t,["value","errors","onChange"]);return e.reduce((function(e,t){var o=(f()(t)?t:{}).name,u=void 0===o?l()(t)?t:null:o;return p({},e,(0,i.Z)({},u,p({},f()(t)?t:null,{name:u,value:null!==n&&n[u]||null,errors:null!==r&&r[u]||null,onChange:function(e){return s(u,e)}},a)))}),{})}(n,{value:ne,errors:oe,onChange:fe})}),ce),pe=(0,s.useMemo)((function(){return(0,a.getCsrfToken)()}),[]),de=function(e){if(Y({success:!1,loading:!1,error:!0}),"ValidationError"===e.name){var t=e.getResponseData().errors;se(void 0===t?null:t)}else le(e.message)},me=function(e){Y({success:!0,loading:!1,error:!1}),ee(e),M(e)},ge=(0,s.useCallback)((function(e,t){return null!==d?d(e,t):(0,a.postJSON)(e,t,{credentials:"include",headers:(0,a.getCSRFHeaders)()})}),[d,a.postJSON,a.getCSRFHeaders]),ve=(0,s.useCallback)((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ne;Y({success:!1,loading:!0,error:!1}),le(null),se(null),ge(c,p({},e,{_token:pe})).then(me).catch(de)}),[ge,c,ne]),ye=(0,s.useCallback)((function(e){e.preventDefault(),ve()}),[ve]),be=null;return K.loading?be="loading":K.success?be="success":K.error&&(be="error"),p({value:ne,setValue:re,csrfToken:pe,submit:ve,onSubmit:ye},K,{status:be,response:J,fields:he,errors:oe,generalError:ue})}},32708:function(e,t,n){"use strict";n.r(t),n.d(t,{createLoader:function(){return s},loadDailymotion:function(){return u},loadFacebook:function(){return l},loadGoogleApi:function(){return c},loadGoogleMaps:function(){return f},loadInstagram:function(){return p},loadScript:function(){return h},loadScriptWithCallback:function(){return a},loadSrcPlayer:function(){return d},loadStripeCheckout:function(){return m},loadTikTok:function(){return g},loadTwitter:function(){return v},loadVimeo:function(){return y},loadYouTube:function(){return b}});var r=n(68302),i=n.n(r),o=n(33387);const s=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=!1,r=!1,o=null;const s=new(i());return function(){for(var i=arguments.length,a=new Array(i),u=0;u<i;u++)a[u]=arguments[u];return new Promise((i=>{null===o&&null!==t&&(o=t(...a)),r||null!==o?i(o):n?s.once("loaded",(()=>i(o))):(n=!0,e(...a).then((function(){o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,null===o&&null!==t&&(o=t(...a)),r=!0,i(o),s.emit("loaded",o)})))}))}},a=(e,t)=>new Promise((n=>{window[t]=()=>n();const r=document.createElement("script");r.src=e,document.getElementsByTagName("head")[0].appendChild(r)})),u=s((function(){let{url:e="https://api.dmcdn.net/all.js",callback:t="dmAsyncInit"}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return a(e,t)}),(()=>void 0!==window.DM?window.DM:null)),l=s((e=>new Promise((t=>{const n={appId:null,locale:"EN_US",autoLogAppEvents:!0,cookie:!0,state:!0,version:"v12.0",debug:!1,...e};window.fbAsyncInit=()=>{window.FB.init({...n}),window.FB.AppEvents.logPageView(),t(window.FB)},function(e,t,n,r){let i=arguments.length>4&&void 0!==arguments[4]&&arguments[4];const o=e.getElementsByTagName(t)[0];if(e.getElementById(n))return;const s=e.createElement(t);s.id=n,s.src="//connect.facebook.net/".concat(r,"/sdk").concat(i?"/debug":"",".js"),o.parentNode.insertBefore(s,o)}(document,"script","facebook-jssdk",n.locale,n.debug)}))),(()=>void 0!==window.FB?window.FB:null)),c=s((function(){let{url:e="https://apis.google.com/js/api.js",callback:t="onGoogleApiLoaded_".concat((new Date).getTime()),withClient:n=!0}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return a("".concat(e,"?").concat(o.stringify({onload:t})),t).then((()=>n?new Promise((e=>{window.gapi.load("client",e)})):null))}),(function(){let{withClient:e=!0}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return void 0===window.gapi||e&&void 0===window.gapi.client?null:window.gapi})),f=s((function(){let{url:e="https://maps.googleapis.com/maps/api/js",locale:t="en",key:n=null,apiKey:r=null,libraries:i=null,callback:s="onGoogleMapsLoaded_".concat((new Date).getTime())}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return a("".concat(e,"?").concat(o.stringify({key:r||n,callback:s,libraries:null!==i?i.join(","):null,language:t})),s)}),(()=>void 0!==window.google&&void 0!==window.google.maps?window.google:null)),h=e=>new Promise((t=>{const n=document.createElement("script");n.src=e,n.onload=()=>t(),document.getElementsByTagName("head")[0].appendChild(n)})),p=s((function(){let{url:e="https://www.instagram.com/embed.js"}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return h(e)}),(()=>void 0!==window.instgrm?window.instgrm:null)),d=s((function(){let{clientId:e="radiocanadaca_tele",url:t="//services.radio-canada.ca/media/player/client/{clientId}"}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return h(t.replace(/\{\s*clientId\s*\}/gi,e))}),(()=>void 0!==window.RadioCanada&&void 0!==window.RadioCanada.player?window.RadioCanada.player:null)),m=s((function(){let{url:e="https://checkout.stripe.com/checkout.js"}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return h(e)}),(()=>void 0!==window.StripeCheckout?window.StripeCheckout:null)),g=s((function(){let{url:e="https://www.tiktok.com/embed.js"}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return h(e)}),(()=>void 0!==window.tiktok?window.tiktok:null)),v=s((function(){let{url:e="https://platform.twitter.com/widgets.js"}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new Promise((t=>{const n=((n,r,i)=>{const o=n.getElementsByTagName(r)[0],s=window.twttr||{};if(n.getElementById(i))return t(s),s;const a=n.createElement(r);return a.id=i,a.src=e,o.parentNode.insertBefore(a,o),s._e=[],s.ready=e=>{s._e.push(e)},s})(document,"script","twitter-wjs");n.ready(t),window.twttr=n}))}),(()=>void 0!==window.twttr&&void 0!==window.twttr.widgets?window.twttr:null)),y=s((()=>n.e(50).then(n.bind(n,78050)).then((e=>{let{default:t}=e;return t}))),(()=>void 0!==window.Vimeo&&void 0!==window.Vimeo.Player?window.Vimeo.Player:null)),b=s((function(){let{url:e="https://www.youtube.com/iframe_api",callbackName:t="onYouTubeIframeAPIReady"}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return a(e,t)}),(()=>void 0!==window.YT?window.YT:null))},33387:function(e,t,n){"use strict";var r=n(18436),i=n(37320),o=n(15554);function s(e,t){return t.encode?t.strict?r(e):encodeURIComponent(e):e}function a(e){return Array.isArray(e)?e.sort():"object"==typeof e?a(Object.keys(e)).sort((function(e,t){return Number(e)-Number(t)})).map((function(t){return e[t]})):e}function u(e){var t=e.indexOf("?");return-1===t?"":e.slice(t+1)}function l(e,t){var n=function(e){var t;switch(e.arrayFormat){case"index":return function(e,n,r){t=/\[(\d*)\]$/.exec(e),e=e.replace(/\[\d*\]$/,""),t?(void 0===r[e]&&(r[e]={}),r[e][t[1]]=n):r[e]=n};case"bracket":return function(e,n,r){t=/(\[\])$/.exec(e),e=e.replace(/\[\]$/,""),t?void 0!==r[e]?r[e]=[].concat(r[e],n):r[e]=[n]:r[e]=n};default:return function(e,t,n){void 0!==n[e]?n[e]=[].concat(n[e],t):n[e]=t}}}(t=i({arrayFormat:"none"},t)),r=Object.create(null);return"string"!=typeof e?r:(e=e.trim().replace(/^[?#&]/,""))?(e.split("&").forEach((function(e){var t=e.replace(/\+/g," ").split("="),i=t.shift(),s=t.length>0?t.join("="):void 0;s=void 0===s?null:o(s),n(o(i),s,r)})),Object.keys(r).sort().reduce((function(e,t){var n=r[t];return Boolean(n)&&"object"==typeof n&&!Array.isArray(n)?e[t]=a(n):e[t]=n,e}),Object.create(null))):r}t.extract=u,t.parse=l,t.stringify=function(e,t){!1===(t=i({encode:!0,strict:!0,arrayFormat:"none"},t)).sort&&(t.sort=function(){});var n=function(e){switch(e.arrayFormat){case"index":return function(t,n,r){return null===n?[s(t,e),"[",r,"]"].join(""):[s(t,e),"[",s(r,e),"]=",s(n,e)].join("")};case"bracket":return function(t,n){return null===n?s(t,e):[s(t,e),"[]=",s(n,e)].join("")};default:return function(t,n){return null===n?s(t,e):[s(t,e),"=",s(n,e)].join("")}}}(t);return e?Object.keys(e).sort(t.sort).map((function(r){var i=e[r];if(void 0===i)return"";if(null===i)return s(r,t);if(Array.isArray(i)){var o=[];return i.slice().forEach((function(e){void 0!==e&&o.push(n(r,e,o.length))})),o.join("&")}return s(r,t)+"="+s(i,t)})).filter((function(e){return e.length>0})).join("&"):""},t.parseUrl=function(e,t){return{url:e.split("?")[0]||"",query:l(u(e),t)}}},18436:function(e){"use strict";e.exports=function(e){return encodeURIComponent(e).replace(/[!'()*]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}},5210:function(e,t,n){"use strict";n.r(t),n.d(t,{addResizeListener:function(){return L},getElementInnerHeight:function(){return b},getElementInnerSize:function(){return v},getElementInnerWidth:function(){return y},getPositionFromString:function(){return f},getSizeFromString:function(){return c},getSizeInPixel:function(){return u},getSizeWithinBounds:function(){return l},removeResizeListener:function(){return U}});var r=n(80537),i=n.n(r),o=n(85505),s=n.n(o),a=n(49464);const u=(e,t,n)=>{const r={units:["%","em","rem"],...n};let o;if(i()(e))o=e;else if(s()(e)){const n=e.match(/^([-0-9.]+)(%|em|rem|px)$/i);if(n){const e=n[2].toLowerCase(),i=parseFloat(n[1]),s="rem"===e||"em"===e?100*i:i;o=-1!==r.units.indexOf(e)?s/100*t:s}else o=Number.isNaN(parseFloat(e))?null:parseFloat(e)}else o=t;return o},l=(e,t,n,r,i)=>{const o={cover:!1,...i};if(!e||e<=0||!t||t<=0)return{width:0,height:0,ratio:1};const s=Math.round(n||e)/e,a=Math.round(r||t)/t,u=o.cover?Math.max(s,a):Math.min(s,a);return{width:Math.round(e*u),height:Math.round(t*u),scale:u}},c=(e,t,n,r,i,o)=>{const{force:s=!1,autoIsNull:a=!0,round:c=!1,cover:f=!1}={...o};let h={width:r,height:i};const p=t/n;if("cover"===e)h=l(t,n,r,i,{cover:!0});else{const o="string"==typeof e?e.split(" "):e,c=o[0],d=o[1]||c,m=u(c,r),g=u(d,i);if(null!==m&&null!==g)h=s?{width:m,height:g}:l(t,n,m,g,{cover:f});else if(null!==m)if(h.width=m,"auto"===d){const e=0!==p?h.width/p:0;h.height=a?null:e}else h.height=d;else if(null!==g)if(h.height=g,"auto"===c){const e=0!==p?h.height*p:0;h.width=a?null:e}else h.width=c;else h.width="auto"===c?a?null:t:c,h.height="auto"===d?a?null:n:d}return null!==h.width&&c&&(h.width=Math.round(h.width)),null!==h.height&&c&&(h.height=Math.round(h.height)),h},f=(e,t,n,r,i,o)=>{const{relativeToElement:s=!1}={...o},a=e.split(" "),l=a[0].split(":"),c=(a[1]||a[0]).split(":"),f=l[0],h=c[0],p=l[1]||null,d=c[1]||null,m="left"===f||"right"===f||"top"===h||"bottom"===h||"center"===f&&"center"===h,g=m?f:h,v=m?h:f,y=u(m?p||0:d||0,s?t:r),b=u(m?d||0:p||0,s?n:i),w={x:0,y:0,horizontal:g,vertical:v},_={position:"absolute",top:"auto",bottom:"auto",left:"auto",right:"auto"};return"center"===g?(w.x=(r-t)/2,_.left=(r-t)/2):"right"===g?(w.x=r-t,_.right=0):_.left=0,"right"===g?(w.x-=y,_.right+=y):(w.x+=y,_.left+=y),"center"===v?(w.y=(i-n)/2,_.top=(i-n)/2):"bottom"===v?(w.y=i-n,_.bottom=0):_.top=0,"bottom"===v?(w.y-=b,_.bottom+=b):(w.y+=b,_.top+=b),w.style=_,w},h=["paddingTop","paddingBottom","paddingLeft","paddingRight"],p=["borderLeftWidth","borderRightWidth","borderBottomWidth","borderTopWidth"],d=e=>{const t=!!s()(e)&&e.match(/^([0-9.]+)/);return t?parseFloat(t[1]):i()(e)?e:0},m=(e,t)=>d(e[t]||0),g=(e,t)=>{const n=(0,a.Ho)(t),r=h.filter((e=>e.match(new RegExp("".concat(n))))).reduce(((t,n)=>t+m(e,n)),0),o=void 0!==e.padding?((e,t,n)=>{const r=e.padding||0;if(i()(r))return r;const o=r.split(" "),s=o.length;if(1===s)return d(o[0]);const a={top:0,right:1,bottom:2,left:3}[n],u=s-1;return d(a>u?o[2===s?a%2:u]:o[a])})(e,0,t):0,s=o||r,u=p.filter((e=>e.match(new RegExp("".concat(n))))).reduce(((t,n)=>t+m(e,n)),0);return s+(m(e,"border")||u)},v=(e,t)=>{const n=t||window.getComputedStyle(e),r=e.width||e.offsetWidth||0,i=e.height||e.offsetHeight||0,o=g(n,"left"),s=g(n,"right"),a=g(n,"top"),u=g(n,"bottom");return{width:r-(o+s),height:i-(a+u),left:o,right:s,top:a,bottom:u}},y=(e,t)=>v(e,t).width,b=(e,t)=>v(e,t).height,{attachEvent:w=null}="undefined"!=typeof document&&document||{};let _=!1;const S=(()=>{const e=("undefined"!=typeof window?window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame:null)||(e=>setTimeout(e,20));return t=>e(t)})(),x=(()=>{const e=("undefined"!=typeof window?window.cancelAnimationFrame||window.mozCancelAnimationFrame||window.webkitCancelAnimationFrame:null)||clearTimeout;return t=>e(t)})(),E=e=>{const t=e.__resizeTriggers__,n=t.firstElementChild,r=t.lastElementChild,i=n.firstElementChild;r.scrollLeft=r.scrollWidth,r.scrollTop=r.scrollHeight,i.style.width="".concat(n.offsetWidth+1,"px"),i.style.height="".concat(n.offsetHeight+1,"px"),n.scrollLeft=n.scrollWidth,n.scrollTop=n.scrollHeight},k=e=>{const t=e.currentTarget;E(t),t.__resizeRAF__&&x(t.__resizeRAF__),t.__resizeRAF__=S((()=>{const{offsetWidth:n,offsetHeight:r}=t;n===t.__resizeLast__[0]&&r===t.__resizeLast__[1]||(t.__resizeLast__[0]=n,t.__resizeLast__[1]=r,t.__resizeListeners__.forEach((n=>{n.call(t,e)})))}))};let P=!1,C="",O="animationstart";const T="Webkit Moz O ms".split(" "),A="webkitAnimationStart animationstart oAnimationStart MSAnimationStart".split(" ");let F="";const I="undefined"!=typeof document?document.createElement("fakeelement"):null;if(null!==I&&void 0!==I.style.animationName&&(P=!0),!1===P)for(let e=0;e<T.length;e+=1)if(null!==I&&void 0!==I.style["".concat(T[e],"AnimationName")]){F=T[e],C="-".concat(F.toLowerCase(),"-"),O=A[e],P=!0;break}const R="resizeanim",M="@".concat(C,"keyframes ").concat(R," { from { opacity: 0; } to { opacity: 0; } } "),N="".concat(C,"animation: 1ms ").concat(R,"; "),L=(e,t)=>{w?e.attachEvent("onresize",t):(e.__resizeTriggers__||("static"===getComputedStyle(e).position&&(e.style.position="relative"),(()=>{if(!_){const e="\n ".concat(M||"","\n .resize-triggers { ").concat(N||"",'visibility: hidden; opacity: 0; }\n .resize-triggers,\n .resize-triggers > div,\n .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; }\n .resize-triggers > div { background: #eee; overflow: auto; }\n .contract-trigger:before { width: 200%; height: 200%; }\n '),t=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css",n.styleSheet?n.styleSheet.cssText=e:n.appendChild(document.createTextNode(e)),t.appendChild(n),_=!0}})(),e.__resizeLast__=[0,0],e.__resizeListeners__=[],e.__resizeTriggers__=document.createElement("div"),e.__resizeTriggers__.className="resize-triggers",e.__resizeTriggers__.innerHTML='<div class="expand-trigger"><div></div></div><div class="contract-trigger"></div>',e.appendChild(e.__resizeTriggers__),E(e),e.addEventListener("scroll",k,!0),e.__resizeTriggers__.addEventListener(O,(t=>{t.animationName===R&&E(e)}))),e.__resizeListeners__.push(t))},U=(e,t)=>{w?e.detachEvent("onresize",t):(e.__resizeListeners__.splice(e.__resizeListeners__.indexOf(t),1),e.__resizeListeners__.length||(e.removeEventListener("scroll",k),e.__resizeTriggers__=!e.removeChild(e.__resizeTriggers__)))}},49460:function(e,t,n){"use strict";n.r(t),n.d(t,{Tracking:function(){return u},TrackingContainer:function(){return y},TrackingContext:function(){return c},default:function(){return u},useTracking:function(){return p},withTracking:function(){return h}});var r=n(56666),i=n(9249),o=n(87371);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var a=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,i.Z)(this,e),this.options=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(n,!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({dataLayer:"undefined"!=typeof window&&window.dataLayer||null},t)}return(0,o.Z)(e,[{key:"push",value:function(){var e=this.options.dataLayer;null!==e&&e.push.apply(e,arguments)}},{key:"trackEvent",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;this.push({event:"eventInteraction",eventCategory:e,eventAction:t,eventLabel:n,eventValue:r})}},{key:"trackSocial",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this.push({event:"socialInteraction",socialNetwork:e,socialAction:t,socialTarget:n||this.getSocialTarget()})}},{key:"getSocialTarget",value:function(){return"undefined"!=typeof window?"".concat(window.location.protocol,"//").concat(window.location.host):null}}]),e}(),u=a,l=n(2784),c=l.createContext(),f=n(7896),h=function(e){var t=function(t){return l.createElement(c.Consumer,null,(function(n){return l.createElement(e,(0,f.Z)({tracking:n},t))}))};return t.displayName="WithTracking(".concat(function(e){return e.displayName||e.name||"Component"}(e),")"),t},p=function(){return(0,l.useContext)(c)},d=n(13980),m=n.n(d),g={tracking:m().instanceOf(u),children:m().node},v=function(e){var t=e.children,n=e.tracking,r=(0,l.useMemo)((function(){return n||new u}),[n]);return l.createElement(c.Provider,{value:r},t)};v.propTypes=g,v.defaultProps={tracking:null,children:null};var y=v},73731:function(e,t,n){"use strict";function r(e,t,n){if(void 0===n&&(n=Error),!e)throw new n(t)}n.d(t,{kG:function(){return r}})},75413:function(e,t,n){"use strict";function r(e,t){var n=t&&t.cache?t.cache:c,r=t&&t.serializer?t.serializer:u;return(t&&t.strategy?t.strategy:a)(e,{cache:n,serializer:r})}function i(e,t,n,r){var i,o=null==(i=r)||"number"==typeof i||"boolean"==typeof i?r:n(r),s=t.get(o);return void 0===s&&(s=e.call(this,r),t.set(o,s)),s}function o(e,t,n){var r=Array.prototype.slice.call(arguments,3),i=n(r),o=t.get(i);return void 0===o&&(o=e.apply(this,r),t.set(i,o)),o}function s(e,t,n,r,i){return n.bind(t,e,r,i)}function a(e,t){return s(e,this,1===e.length?i:o,t.cache.create(),t.serializer)}n.d(t,{A:function(){return f},Z:function(){return r}});var u=function(){return JSON.stringify(arguments)};function l(){this.cache=Object.create(null)}l.prototype.get=function(e){return this.cache[e]},l.prototype.set=function(e,t){this.cache[e]=t};var c={create:function(){return new l}},f={variadic:function(e,t){return s(e,this,o,t.cache.create(),t.serializer)},monadic:function(e,t){return s(e,this,i,t.cache.create(),t.serializer)}}},39987:function(e,t,n){"use strict";n.d(t,{wD:function(){return i},VG:function(){return u},rp:function(){return c},Ii:function(){return v},O4:function(){return a},uf:function(){return l},Wh:function(){return g},Jo:function(){return p},yx:function(){return d},Wi:function(){return h},HI:function(){return m},pe:function(){return f},Qc:function(){return oe}});var r,i,o,s=n(5163);function a(e){return e.type===i.literal}function u(e){return e.type===i.argument}function l(e){return e.type===i.number}function c(e){return e.type===i.date}function f(e){return e.type===i.time}function h(e){return e.type===i.select}function p(e){return e.type===i.plural}function d(e){return e.type===i.pound}function m(e){return e.type===i.tag}function g(e){return!(!e||"object"!=typeof e||e.type!==o.number)}function v(e){return!(!e||"object"!=typeof e||e.type!==o.dateTime)}!function(e){e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"}(r||(r={})),function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag"}(i||(i={})),function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"}(o||(o={}));var y=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,b=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function w(e){var t={};return e.replace(b,(function(e){var n=e.length;switch(e[0]){case"G":t.era=4===n?"long":5===n?"narrow":"short";break;case"y":t.year=2===n?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][n-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][n-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=4===n?"short":5===n?"narrow":"short";break;case"e":if(n<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"c":if(n<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][n-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][n-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][n-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][n-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][n-1];break;case"s":t.second=["numeric","2-digit"][n-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=n<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""})),t}var _=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,S=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,x=/^(@+)?(\+|#+)?[rs]?$/g,E=/(\*)(0+)|(#+)(0+)|(0+)/g,k=/^(0+)$/;function P(e){var t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(x,(function(e,n,r){return"string"!=typeof r?(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length):"+"===r?t.minimumSignificantDigits=n.length:"#"===n[0]?t.maximumSignificantDigits=n.length:(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length+("string"==typeof r?r.length:0)),""})),t}function C(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function O(e){var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var n=e.slice(0,2);if("+!"===n?(t.signDisplay="always",e=e.slice(2)):"+?"===n&&(t.signDisplay="exceptZero",e=e.slice(2)),!k.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function T(e){return C(e)||{}}function A(e){for(var t={},n=0,r=e;n<r.length;n++){var i=r[n];switch(i.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=i.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=i.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=(0,s.pi)((0,s.pi)((0,s.pi)({},t),{notation:"scientific"}),i.options.reduce((function(e,t){return(0,s.pi)((0,s.pi)({},e),T(t))}),{}));continue;case"engineering":t=(0,s.pi)((0,s.pi)((0,s.pi)({},t),{notation:"engineering"}),i.options.reduce((function(e,t){return(0,s.pi)((0,s.pi)({},e),T(t))}),{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(i.options[0]);continue;case"integer-width":if(i.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(E,(function(e,n,r,i,o,s){if(n)t.minimumIntegerDigits=r.length;else{if(i&&o)throw new Error("We currently do not support maximum integer digits");if(s)throw new Error("We currently do not support exact integer digits")}return""}));continue}if(k.test(i.stem))t.minimumIntegerDigits=i.stem.length;else if(S.test(i.stem)){if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(S,(function(e,n,r,i,o,s){return"*"===r?t.minimumFractionDigits=n.length:i&&"#"===i[0]?t.maximumFractionDigits=i.length:o&&s?(t.minimumFractionDigits=o.length,t.maximumFractionDigits=o.length+s.length):(t.minimumFractionDigits=n.length,t.maximumFractionDigits=n.length),""}));var o=i.options[0];"w"===o?t=(0,s.pi)((0,s.pi)({},t),{trailingZeroDisplay:"stripIfInteger"}):o&&(t=(0,s.pi)((0,s.pi)({},t),P(o)))}else if(x.test(i.stem))t=(0,s.pi)((0,s.pi)({},t),P(i.stem));else{var a=C(i.stem);a&&(t=(0,s.pi)((0,s.pi)({},t),a));var u=O(i.stem);u&&(t=(0,s.pi)((0,s.pi)({},t),u))}}return t}var F,I={AX:["H"],BQ:["H"],CP:["H"],CZ:["H"],DK:["H"],FI:["H"],ID:["H"],IS:["H"],ML:["H"],NE:["H"],RU:["H"],SE:["H"],SJ:["H"],SK:["H"],AS:["h","H"],BT:["h","H"],DJ:["h","H"],ER:["h","H"],GH:["h","H"],IN:["h","H"],LS:["h","H"],PG:["h","H"],PW:["h","H"],SO:["h","H"],TO:["h","H"],VU:["h","H"],WS:["h","H"],"001":["H","h"],AL:["h","H","hB"],TD:["h","H","hB"],"ca-ES":["H","h","hB"],CF:["H","h","hB"],CM:["H","h","hB"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],LU:["H","h","hB"],NP:["H","h","hB"],PF:["H","h","hB"],SC:["H","h","hB"],SM:["H","h","hB"],SN:["H","h","hB"],TF:["H","h","hB"],VA:["H","h","hB"],CY:["h","H","hb","hB"],GR:["h","H","hb","hB"],CO:["h","H","hB","hb"],DO:["h","H","hB","hb"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],NA:["h","H","hB","hb"],PA:["h","H","hB","hb"],PR:["h","H","hB","hb"],VE:["h","H","hB","hb"],AC:["H","h","hb","hB"],AI:["H","h","hb","hB"],BW:["H","h","hb","hB"],BZ:["H","h","hb","hB"],CC:["H","h","hb","hB"],CK:["H","h","hb","hB"],CX:["H","h","hb","hB"],DG:["H","h","hb","hB"],FK:["H","h","hb","hB"],GB:["H","h","hb","hB"],GG:["H","h","hb","hB"],GI:["H","h","hb","hB"],IE:["H","h","hb","hB"],IM:["H","h","hb","hB"],IO:["H","h","hb","hB"],JE:["H","h","hb","hB"],LT:["H","h","hb","hB"],MK:["H","h","hb","hB"],MN:["H","h","hb","hB"],MS:["H","h","hb","hB"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],PN:["H","h","hb","hB"],SH:["H","h","hb","hB"],SX:["H","h","hb","hB"],TA:["H","h","hb","hB"],ZA:["H","h","hb","hB"],"af-ZA":["H","h","hB","hb"],AR:["H","h","hB","hb"],CL:["H","h","hB","hb"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],EA:["H","h","hB","hb"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],GT:["H","h","hB","hb"],HN:["H","h","hB","hb"],IC:["H","h","hB","hb"],KG:["H","h","hB","hb"],KM:["H","h","hB","hb"],LK:["H","h","hB","hb"],MA:["H","h","hB","hb"],MX:["H","h","hB","hb"],NI:["H","h","hB","hb"],PY:["H","h","hB","hb"],SV:["H","h","hB","hb"],UY:["H","h","hB","hb"],JP:["H","h","K"],AD:["H","hB"],AM:["H","hB"],AO:["H","hB"],AT:["H","hB"],AW:["H","hB"],BE:["H","hB"],BF:["H","hB"],BJ:["H","hB"],BL:["H","hB"],BR:["H","hB"],CG:["H","hB"],CI:["H","hB"],CV:["H","hB"],DE:["H","hB"],EE:["H","hB"],FR:["H","hB"],GA:["H","hB"],GF:["H","hB"],GN:["H","hB"],GP:["H","hB"],GW:["H","hB"],HR:["H","hB"],IL:["H","hB"],IT:["H","hB"],KZ:["H","hB"],MC:["H","hB"],MD:["H","hB"],MF:["H","hB"],MQ:["H","hB"],MZ:["H","hB"],NC:["H","hB"],NL:["H","hB"],PM:["H","hB"],PT:["H","hB"],RE:["H","hB"],RO:["H","hB"],SI:["H","hB"],SR:["H","hB"],ST:["H","hB"],TG:["H","hB"],TR:["H","hB"],WF:["H","hB"],YT:["H","hB"],BD:["h","hB","H"],PK:["h","hB","H"],AZ:["H","hB","h"],BA:["H","hB","h"],BG:["H","hB","h"],CH:["H","hB","h"],GE:["H","hB","h"],LI:["H","hB","h"],ME:["H","hB","h"],RS:["H","hB","h"],UA:["H","hB","h"],UZ:["H","hB","h"],XK:["H","hB","h"],AG:["h","hb","H","hB"],AU:["h","hb","H","hB"],BB:["h","hb","H","hB"],BM:["h","hb","H","hB"],BS:["h","hb","H","hB"],CA:["h","hb","H","hB"],DM:["h","hb","H","hB"],"en-001":["h","hb","H","hB"],FJ:["h","hb","H","hB"],FM:["h","hb","H","hB"],GD:["h","hb","H","hB"],GM:["h","hb","H","hB"],GU:["h","hb","H","hB"],GY:["h","hb","H","hB"],JM:["h","hb","H","hB"],KI:["h","hb","H","hB"],KN:["h","hb","H","hB"],KY:["h","hb","H","hB"],LC:["h","hb","H","hB"],LR:["h","hb","H","hB"],MH:["h","hb","H","hB"],MP:["h","hb","H","hB"],MW:["h","hb","H","hB"],NZ:["h","hb","H","hB"],SB:["h","hb","H","hB"],SG:["h","hb","H","hB"],SL:["h","hb","H","hB"],SS:["h","hb","H","hB"],SZ:["h","hb","H","hB"],TC:["h","hb","H","hB"],TT:["h","hb","H","hB"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],VC:["h","hb","H","hB"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],ZM:["h","hb","H","hB"],BO:["H","hB","h","hb"],EC:["H","hB","h","hb"],ES:["H","hB","h","hb"],GQ:["H","hB","h","hb"],PE:["H","hB","h","hb"],AE:["h","hB","hb","H"],"ar-001":["h","hB","hb","H"],BH:["h","hB","hb","H"],DZ:["h","hB","hb","H"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],HK:["h","hB","hb","H"],IQ:["h","hB","hb","H"],JO:["h","hB","hb","H"],KW:["h","hB","hb","H"],LB:["h","hB","hb","H"],LY:["h","hB","hb","H"],MO:["h","hB","hb","H"],MR:["h","hB","hb","H"],OM:["h","hB","hb","H"],PH:["h","hB","hb","H"],PS:["h","hB","hb","H"],QA:["h","hB","hb","H"],SA:["h","hB","hb","H"],SD:["h","hB","hb","H"],SY:["h","hB","hb","H"],TN:["h","hB","hb","H"],YE:["h","hB","hb","H"],AF:["H","hb","hB","h"],LA:["H","hb","hB","h"],CN:["H","hB","hb","h"],LV:["H","hB","hb","h"],TL:["H","hB","hb","h"],"zu-ZA":["H","hB","hb","h"],CD:["hB","H"],IR:["hB","H"],"hi-IN":["hB","h","H"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"te-IN":["hB","h","H"],KH:["hB","h","H","hb"],"ta-IN":["hB","h","hb","H"],BN:["hb","hB","h","H"],MY:["hb","hB","h","H"],ET:["hB","hb","h","H"],"gu-IN":["hB","hb","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],TW:["hB","hb","h","H"],KE:["hB","hb","H","h"],MM:["hB","hb","H","h"],TZ:["hB","hb","H","h"],UG:["hB","hb","H","h"]};function R(e){var t=e.hourCycle;if(void 0===t&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var n,r=e.language;return"root"!==r&&(n=e.maximize().region),(I[n||""]||I[r||""]||I["".concat(r,"-001")]||I["001"])[0]}var M=new RegExp("^".concat(y.source,"*")),N=new RegExp("".concat(y.source,"*$"));function L(e,t){return{start:e,end:t}}var U=!!String.prototype.startsWith,D=!!String.fromCodePoint,j=!!Object.fromEntries,B=!!String.prototype.codePointAt,z=!!String.prototype.trimStart,H=!!String.prototype.trimEnd,$=Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},V=!0;try{V="a"===(null===(F=Q("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===F?void 0:F[0])}catch(e){V=!1}var q,W=U?function(e,t,n){return e.startsWith(t,n)}:function(e,t,n){return e.slice(n,n+t.length)===t},G=D?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n,r="",i=e.length,o=0;i>o;){if((n=e[o++])>1114111)throw RangeError(n+" is not a valid code point");r+=n<65536?String.fromCharCode(n):String.fromCharCode(55296+((n-=65536)>>10),n%1024+56320)}return r},Z=j?Object.fromEntries:function(e){for(var t={},n=0,r=e;n<r.length;n++){var i=r[n],o=i[0],s=i[1];t[o]=s}return t},K=B?function(e,t){return e.codePointAt(t)}:function(e,t){var n=e.length;if(!(t<0||t>=n)){var r,i=e.charCodeAt(t);return i<55296||i>56319||t+1===n||(r=e.charCodeAt(t+1))<56320||r>57343?i:r-56320+(i-55296<<10)+65536}},Y=z?function(e){return e.trimStart()}:function(e){return e.replace(M,"")},X=H?function(e){return e.trimEnd()}:function(e){return e.replace(N,"")};function Q(e,t){return new RegExp(e,t)}if(V){var J=Q("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");q=function(e,t){var n;return J.lastIndex=t,null!==(n=J.exec(e)[1])&&void 0!==n?n:""}}else q=function(e,t){for(var n=[];;){var r=K(e,t);if(void 0===r||ne(r)||re(r))break;n.push(r),t+=r>=65536?2:1}return G.apply(void 0,n)};var ee=function(){function e(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}return e.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(e,t,n){for(var o=[];!this.isEOF();){var s=this.char();if(123===s){if((a=this.parseArgument(e,n)).err)return a;o.push(a.val)}else{if(125===s&&e>0)break;if(35!==s||"plural"!==t&&"selectordinal"!==t){if(60===s&&!this.ignoreTag&&47===this.peek()){if(n)break;return this.error(r.UNMATCHED_CLOSING_TAG,L(this.clonePosition(),this.clonePosition()))}if(60===s&&!this.ignoreTag&&te(this.peek()||0)){if((a=this.parseTag(e,t)).err)return a;o.push(a.val)}else{var a;if((a=this.parseLiteral(e,t)).err)return a;o.push(a.val)}}else{var u=this.clonePosition();this.bump(),o.push({type:i.pound,location:L(u,this.clonePosition())})}}}return{val:o,err:null}},e.prototype.parseTag=function(e,t){var n=this.clonePosition();this.bump();var o=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:i.literal,value:"<".concat(o,"/>"),location:L(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var s=this.parseMessage(e+1,t,!0);if(s.err)return s;var a=s.val,u=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!te(this.char()))return this.error(r.INVALID_TAG,L(u,this.clonePosition()));var l=this.clonePosition();return o!==this.parseTagName()?this.error(r.UNMATCHED_CLOSING_TAG,L(l,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:i.tag,value:o,children:a,location:L(n,this.clonePosition())},err:null}:this.error(r.INVALID_TAG,L(u,this.clonePosition())))}return this.error(r.UNCLOSED_TAG,L(n,this.clonePosition()))}return this.error(r.INVALID_TAG,L(n,this.clonePosition()))},e.prototype.parseTagName=function(){var e,t=this.offset();for(this.bump();!this.isEOF()&&(45===(e=this.char())||46===e||e>=48&&e<=57||95===e||e>=97&&e<=122||e>=65&&e<=90||183==e||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039);)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(e,t){for(var n=this.clonePosition(),r="";;){var o=this.tryParseQuote(t);if(o)r+=o;else{var s=this.tryParseUnquoted(e,t);if(s)r+=s;else{var a=this.tryParseLeftAngleBracket();if(!a)break;r+=a}}}var u=L(n,this.clonePosition());return{val:{type:i.literal,value:r,location:u},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(te(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},e.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(39===n){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(n);this.bump()}return G.apply(void 0,t)},e.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var n=this.char();return 60===n||123===n||35===n&&("plural"===t||"selectordinal"===t)||125===n&&e>0?null:(this.bump(),G(n))},e.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(r.EXPECT_ARGUMENT_CLOSING_BRACE,L(n,this.clonePosition()));if(125===this.char())return this.bump(),this.error(r.EMPTY_ARGUMENT,L(n,this.clonePosition()));var o=this.parseIdentifierIfPossible().value;if(!o)return this.error(r.MALFORMED_ARGUMENT,L(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(r.EXPECT_ARGUMENT_CLOSING_BRACE,L(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:i.argument,value:o,location:L(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(r.EXPECT_ARGUMENT_CLOSING_BRACE,L(n,this.clonePosition())):this.parseArgumentOptions(e,t,o,n);default:return this.error(r.MALFORMED_ARGUMENT,L(n,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=q(this.message,t),r=t+n.length;return this.bumpTo(r),{value:n,location:L(e,this.clonePosition())}},e.prototype.parseArgumentOptions=function(e,t,n,a){var u,l=this.clonePosition(),c=this.parseIdentifierIfPossible().value,f=this.clonePosition();switch(c){case"":return this.error(r.EXPECT_ARGUMENT_TYPE,L(l,f));case"number":case"date":case"time":this.bumpSpace();var h=null;if(this.bumpIf(",")){this.bumpSpace();var p=this.clonePosition();if((S=this.parseSimpleArgStyleIfPossible()).err)return S;if(0===(v=X(S.val)).length)return this.error(r.EXPECT_ARGUMENT_STYLE,L(this.clonePosition(),this.clonePosition()));h={style:v,styleLocation:L(p,this.clonePosition())}}if((x=this.tryParseArgumentClose(a)).err)return x;var d=L(a,this.clonePosition());if(h&&W(null==h?void 0:h.style,"::",0)){var m=Y(h.style.slice(2));if("number"===c)return(S=this.parseNumberSkeletonFromString(m,h.styleLocation)).err?S:{val:{type:i.number,value:n,location:d,style:S.val},err:null};if(0===m.length)return this.error(r.EXPECT_DATE_TIME_SKELETON,d);var g=m;this.locale&&(g=function(e,t){for(var n="",r=0;r<e.length;r++){var i=e.charAt(r);if("j"===i){for(var o=0;r+1<e.length&&e.charAt(r+1)===i;)o++,r++;var s=1+(1&o),a=o<2?1:3+(o>>1),u=R(t);for("H"!=u&&"k"!=u||(a=0);a-- >0;)n+="a";for(;s-- >0;)n=u+n}else n+="J"===i?"H":i}return n}(m,this.locale));var v={type:o.dateTime,pattern:g,location:h.styleLocation,parsedOptions:this.shouldParseSkeletons?w(g):{}};return{val:{type:"date"===c?i.date:i.time,value:n,location:d,style:v},err:null}}return{val:{type:"number"===c?i.number:"date"===c?i.date:i.time,value:n,location:d,style:null!==(u=null==h?void 0:h.style)&&void 0!==u?u:null},err:null};case"plural":case"selectordinal":case"select":var y=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(r.EXPECT_SELECT_ARGUMENT_OPTIONS,L(y,(0,s.pi)({},y)));this.bumpSpace();var b=this.parseIdentifierIfPossible(),_=0;if("select"!==c&&"offset"===b.value){if(!this.bumpIf(":"))return this.error(r.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,L(this.clonePosition(),this.clonePosition()));var S;if(this.bumpSpace(),(S=this.tryParseDecimalInteger(r.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,r.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return S;this.bumpSpace(),b=this.parseIdentifierIfPossible(),_=S.val}var x,E=this.tryParsePluralOrSelectOptions(e,c,t,b);if(E.err)return E;if((x=this.tryParseArgumentClose(a)).err)return x;var k=L(a,this.clonePosition());return"select"===c?{val:{type:i.select,value:n,options:Z(E.val),location:k},err:null}:{val:{type:i.plural,value:n,options:Z(E.val),offset:_,pluralType:"plural"===c?"cardinal":"ordinal",location:k},err:null};default:return this.error(r.INVALID_ARGUMENT_TYPE,L(l,f))}},e.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(r.EXPECT_ARGUMENT_CLOSING_BRACE,L(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(r.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,L(n,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(e>0))return{val:this.message.slice(t.offset,this.offset()),err:null};e-=1;break;default:this.bump()}return{val:this.message.slice(t.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(e,t){var n=[];try{n=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=[],n=0,r=e.split(_).filter((function(e){return e.length>0}));n<r.length;n++){var i=r[n].split("/");if(0===i.length)throw new Error("Invalid number skeleton");for(var o=i[0],s=i.slice(1),a=0,u=s;a<u.length;a++)if(0===u[a].length)throw new Error("Invalid number skeleton");t.push({stem:o,options:s})}return t}(e)}catch(e){return this.error(r.INVALID_NUMBER_SKELETON,t)}return{val:{type:o.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?A(n):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(e,t,n,i){for(var o,s=!1,a=[],u=new Set,l=i.value,c=i.location;;){if(0===l.length){var f=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var h=this.tryParseDecimalInteger(r.EXPECT_PLURAL_ARGUMENT_SELECTOR,r.INVALID_PLURAL_ARGUMENT_SELECTOR);if(h.err)return h;c=L(f,this.clonePosition()),l=this.message.slice(f.offset,this.offset())}if(u.has(l))return this.error("select"===t?r.DUPLICATE_SELECT_ARGUMENT_SELECTOR:r.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,c);"other"===l&&(s=!0),this.bumpSpace();var p=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?r.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:r.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,L(this.clonePosition(),this.clonePosition()));var d=this.parseMessage(e+1,t,n);if(d.err)return d;var m=this.tryParseArgumentClose(p);if(m.err)return m;a.push([l,{value:d.val,location:L(p,this.clonePosition())}]),u.add(l),this.bumpSpace(),l=(o=this.parseIdentifierIfPossible()).value,c=o.location}return 0===a.length?this.error("select"===t?r.EXPECT_SELECT_ARGUMENT_SELECTOR:r.EXPECT_PLURAL_ARGUMENT_SELECTOR,L(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!s?this.error(r.MISSING_OTHER_CLAUSE,L(this.clonePosition(),this.clonePosition())):{val:a,err:null}},e.prototype.tryParseDecimalInteger=function(e,t){var n=1,r=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var i=!1,o=0;!this.isEOF();){var s=this.char();if(!(s>=48&&s<=57))break;i=!0,o=10*o+(s-48),this.bump()}var a=L(r,this.clonePosition());return i?$(o*=n)?{val:o,err:null}:this.error(t,a):this.error(e,a)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=K(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},e.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},e.prototype.bump=function(){if(!this.isEOF()){var e=this.char();10===e?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2)}},e.prototype.bumpIf=function(e){if(W(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(e){var t=this.offset(),n=this.message.indexOf(e,t);return n>=0?(this.bumpTo(n),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(t>e)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&ne(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),n=this.message.charCodeAt(t+(e>=65536?2:1));return null!=n?n:null},e}();function te(e){return e>=97&&e<=122||e>=65&&e<=90}function ne(e){return e>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||8233===e}function re(e){return e>=33&&e<=35||36===e||e>=37&&e<=39||40===e||41===e||42===e||43===e||44===e||45===e||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||91===e||92===e||93===e||94===e||96===e||123===e||124===e||125===e||126===e||161===e||e>=162&&e<=165||166===e||167===e||169===e||171===e||172===e||174===e||176===e||177===e||182===e||187===e||191===e||215===e||247===e||e>=8208&&e<=8213||e>=8214&&e<=8215||8216===e||8217===e||8218===e||e>=8219&&e<=8220||8221===e||8222===e||8223===e||e>=8224&&e<=8231||e>=8240&&e<=8248||8249===e||8250===e||e>=8251&&e<=8254||e>=8257&&e<=8259||8260===e||8261===e||8262===e||e>=8263&&e<=8273||8274===e||8275===e||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||8608===e||e>=8609&&e<=8610||8611===e||e>=8612&&e<=8613||8614===e||e>=8615&&e<=8621||8622===e||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||8658===e||8659===e||8660===e||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||8968===e||8969===e||8970===e||8971===e||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||9001===e||9002===e||e>=9003&&e<=9083||9084===e||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||9655===e||e>=9656&&e<=9664||9665===e||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||9839===e||e>=9840&&e<=10087||10088===e||10089===e||10090===e||10091===e||10092===e||10093===e||10094===e||10095===e||10096===e||10097===e||10098===e||10099===e||10100===e||10101===e||e>=10132&&e<=10175||e>=10176&&e<=10180||10181===e||10182===e||e>=10183&&e<=10213||10214===e||10215===e||10216===e||10217===e||10218===e||10219===e||10220===e||10221===e||10222===e||10223===e||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||10627===e||10628===e||10629===e||10630===e||10631===e||10632===e||10633===e||10634===e||10635===e||10636===e||10637===e||10638===e||10639===e||10640===e||10641===e||10642===e||10643===e||10644===e||10645===e||10646===e||10647===e||10648===e||e>=10649&&e<=10711||10712===e||10713===e||10714===e||10715===e||e>=10716&&e<=10747||10748===e||10749===e||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||11158===e||e>=11159&&e<=11263||e>=11776&&e<=11777||11778===e||11779===e||11780===e||11781===e||e>=11782&&e<=11784||11785===e||11786===e||11787===e||11788===e||11789===e||e>=11790&&e<=11798||11799===e||e>=11800&&e<=11801||11802===e||11803===e||11804===e||11805===e||e>=11806&&e<=11807||11808===e||11809===e||11810===e||11811===e||11812===e||11813===e||11814===e||11815===e||11816===e||11817===e||e>=11818&&e<=11822||11823===e||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||11840===e||11841===e||11842===e||e>=11843&&e<=11855||e>=11856&&e<=11857||11858===e||e>=11859&&e<=11903||e>=12289&&e<=12291||12296===e||12297===e||12298===e||12299===e||12300===e||12301===e||12302===e||12303===e||12304===e||12305===e||e>=12306&&e<=12307||12308===e||12309===e||12310===e||12311===e||12312===e||12313===e||12314===e||12315===e||12316===e||12317===e||e>=12318&&e<=12319||12320===e||12336===e||64830===e||64831===e||e>=65093&&e<=65094}function ie(e){e.forEach((function(e){if(delete e.location,h(e)||p(e))for(var t in e.options)delete e.options[t].location,ie(e.options[t].value);else l(e)&&g(e.style)||(c(e)||f(e))&&v(e.style)?delete e.style.location:m(e)&&ie(e.children)}))}function oe(e,t){void 0===t&&(t={}),t=(0,s.pi)({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var n=new ee(e,t).parse();if(n.err){var i=SyntaxError(r[n.err.kind]);throw i.location=n.err.location,i.originalMessage=n.err.message,i}return(null==t?void 0:t.captureLocation)||ie(n.val),n.val}},40283:function(e,t,n){"use strict";n.d(t,{$6:function(){return f},OV:function(){return a},Qe:function(){return l},Rw:function(){return o},X9:function(){return c},bc:function(){return r},gb:function(){return u},wI:function(){return s}});var r,i=n(5163);!function(e){e.FORMAT_ERROR="FORMAT_ERROR",e.UNSUPPORTED_FORMATTER="UNSUPPORTED_FORMATTER",e.INVALID_CONFIG="INVALID_CONFIG",e.MISSING_DATA="MISSING_DATA",e.MISSING_TRANSLATION="MISSING_TRANSLATION"}(r||(r={}));var o=function(e){function t(n,r,i){var o=this,s=i?i instanceof Error?i:new Error(String(i)):void 0;return(o=e.call(this,"[@formatjs/intl Error ".concat(n,"] ").concat(r," \n").concat(s?"\n".concat(s.message,"\n").concat(s.stack):""))||this).code=n,"function"==typeof Error.captureStackTrace&&Error.captureStackTrace(o,t),o}return(0,i.ZT)(t,e),t}(Error),s=function(e){function t(t,n){return e.call(this,r.UNSUPPORTED_FORMATTER,t,n)||this}return(0,i.ZT)(t,e),t}(o),a=function(e){function t(t,n){return e.call(this,r.INVALID_CONFIG,t,n)||this}return(0,i.ZT)(t,e),t}(o),u=function(e){function t(t,n){return e.call(this,r.MISSING_DATA,t,n)||this}return(0,i.ZT)(t,e),t}(o),l=function(e){function t(t,n,i){return e.call(this,r.FORMAT_ERROR,"".concat(t," \nLocale: ").concat(n,"\n"),i)||this}return(0,i.ZT)(t,e),t}(o),c=function(e){function t(t,n,r,i){var o=e.call(this,"".concat(t," \nMessageID: ").concat(null==r?void 0:r.id,"\nDefault Message: ").concat(null==r?void 0:r.defaultMessage,"\nDescription: ").concat(null==r?void 0:r.description," \n"),n,i)||this;return o.descriptor=r,o}return(0,i.ZT)(t,e),t}(l),f=function(e){function t(t,n){var i=e.call(this,r.MISSING_TRANSLATION,'Missing message: "'.concat(t.id,'" for locale "').concat(n,'", using ').concat(t.defaultMessage?"default message":"id"," as fallback."))||this;return i.descriptor=t,i}return(0,i.ZT)(t,e),t}(o)},32428:function(e,t,n){"use strict";n.d(t,{L6:function(){return a},Sn:function(){return l},TB:function(){return h},Z0:function(){return u},ax:function(){return f}});var r=n(5163),i=n(77481),o=n(75413),s=n(40283);function a(e,t,n){return void 0===n&&(n={}),t.reduce((function(t,r){return r in e?t[r]=e[r]:r in n&&(t[r]=n[r]),t}),{})}var u={formats:{},messages:{},timeZone:void 0,defaultLocale:"en",defaultFormats:{},fallbackOnEmptyString:!0,onError:function(e){},onWarn:function(e){}};function l(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}}function c(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,n){e[t]=n}}}}}function f(e){void 0===e&&(e={dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}});var t=Intl.RelativeTimeFormat,n=Intl.ListFormat,s=Intl.DisplayNames,a=(0,o.Z)((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,(0,r.ev)([void 0],t,!1)))}),{cache:c(e.dateTime),strategy:o.A.variadic}),u=(0,o.Z)((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,(0,r.ev)([void 0],t,!1)))}),{cache:c(e.number),strategy:o.A.variadic}),l=(0,o.Z)((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,(0,r.ev)([void 0],t,!1)))}),{cache:c(e.pluralRules),strategy:o.A.variadic});return{getDateTimeFormat:a,getNumberFormat:u,getMessageFormat:(0,o.Z)((function(e,t,n,o){return new i.C(e,t,n,(0,r.pi)({formatters:{getNumberFormat:u,getDateTimeFormat:a,getPluralRules:l}},o||{}))}),{cache:c(e.message),strategy:o.A.variadic}),getRelativeTimeFormat:(0,o.Z)((function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return new(t.bind.apply(t,(0,r.ev)([void 0],e,!1)))}),{cache:c(e.relativeTime),strategy:o.A.variadic}),getPluralRules:l,getListFormat:(0,o.Z)((function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new(n.bind.apply(n,(0,r.ev)([void 0],e,!1)))}),{cache:c(e.list),strategy:o.A.variadic}),getDisplayNames:(0,o.Z)((function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new(s.bind.apply(s,(0,r.ev)([void 0],e,!1)))}),{cache:c(e.displayNames),strategy:o.A.variadic})}}function h(e,t,n,r){var i,o=e&&e[t];if(o&&(i=o[n]),i)return i;r(new s.wI("No ".concat(t," format named: ").concat(n)))}},55:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=[],r="f641",i="M157.52 272h36.96L176 218.78 157.52 272zM352 256c-13.23 0-24 10.77-24 24s10.77 24 24 24 24-10.77 24-24-10.77-24-24-24zM464 64H48C21.5 64 0 85.5 0 112v288c0 26.5 21.5 48 48 48h416c26.5 0 48-21.5 48-48V112c0-26.5-21.5-48-48-48zM250.58 352h-16.94c-6.81 0-12.88-4.32-15.12-10.75L211.15 320h-70.29l-7.38 21.25A16 16 0 0 1 118.36 352h-16.94c-11.01 0-18.73-10.85-15.12-21.25L140 176.12A23.995 23.995 0 0 1 162.67 160h26.66A23.99 23.99 0 0 1 212 176.13l53.69 154.62c3.61 10.4-4.11 21.25-15.11 21.25zM424 336c0 8.84-7.16 16-16 16h-16c-4.85 0-9.04-2.27-11.98-5.68-8.62 3.66-18.09 5.68-28.02 5.68-39.7 0-72-32.3-72-72s32.3-72 72-72c8.46 0 16.46 1.73 24 4.42V176c0-8.84 7.16-16 16-16h16c8.84 0 16 7.16 16 16v160z";t.definition={prefix:"fas",iconName:"ad",icon:[512,512,n,r,i]},t.faAd=t.definition,t.prefix="fas",t.iconName="ad",t.width=512,t.height=512,t.ligatures=n,t.unicode=r,t.svgPathData=i},70823:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="angle-down",r=[],i="f107",o="M143 352.3L7 216.3c-9.4-9.4-9.4-24.6 0-33.9l22.6-22.6c9.4-9.4 24.6-9.4 33.9 0l96.4 96.4 96.4-96.4c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9l-136 136c-9.2 9.4-24.4 9.4-33.8 0z";t.definition={prefix:"fas",iconName:n,icon:[320,512,r,i,o]},t.faAngleDown=t.definition,t.prefix="fas",t.iconName=n,t.width=320,t.height=512,t.ligatures=r,t.unicode=i,t.svgPathData=o},1050:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="angle-left",r=[],i="f104",o="M31.7 239l136-136c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9L127.9 256l96.4 96.4c9.4 9.4 9.4 24.6 0 33.9L201.7 409c-9.4 9.4-24.6 9.4-33.9 0l-136-136c-9.5-9.4-9.5-24.6-.1-34z";t.definition={prefix:"fas",iconName:n,icon:[256,512,r,i,o]},t.faAngleLeft=t.definition,t.prefix="fas",t.iconName=n,t.width=256,t.height=512,t.ligatures=r,t.unicode=i,t.svgPathData=o},9380:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="angle-up",r=[],i="f106",o="M177 159.7l136 136c9.4 9.4 9.4 24.6 0 33.9l-22.6 22.6c-9.4 9.4-24.6 9.4-33.9 0L160 255.9l-96.4 96.4c-9.4 9.4-24.6 9.4-33.9 0L7 329.7c-9.4-9.4-9.4-24.6 0-33.9l136-136c9.4-9.5 24.6-9.5 34-.1z";t.definition={prefix:"fas",iconName:n,icon:[320,512,r,i,o]},t.faAngleUp=t.definition,t.prefix="fas",t.iconName=n,t.width=320,t.height=512,t.ligatures=r,t.unicode=i,t.svgPathData=o},29145:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="check",r=[],i="f00c",o="M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z";t.definition={prefix:"fas",iconName:n,icon:[512,512,r,i,o]},t.faCheck=t.definition,t.prefix="fas",t.iconName=n,t.width=512,t.height=512,t.ligatures=r,t.unicode=i,t.svgPathData=o},62054:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="circle",r=[],i="f111",o="M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8z";t.definition={prefix:"fas",iconName:n,icon:[512,512,r,i,o]},t.faCircle=t.definition,t.prefix="fas",t.iconName=n,t.width=512,t.height=512,t.ligatures=r,t.unicode=i,t.svgPathData=o},14416:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="comment-dots",r=[],i="f4ad",o="M256 32C114.6 32 0 125.1 0 240c0 49.6 21.4 95 57 130.7C44.5 421.1 2.7 466 2.2 466.5c-2.2 2.3-2.8 5.7-1.5 8.7S4.8 480 8 480c66.3 0 116-31.8 140.6-51.4 32.7 12.3 69 19.4 107.4 19.4 141.4 0 256-93.1 256-208S397.4 32 256 32zM128 272c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32zm128 0c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32zm128 0c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32z";t.definition={prefix:"fas",iconName:n,icon:[512,512,r,i,o]},t.faCommentDots=t.definition,t.prefix="fas",t.iconName=n,t.width=512,t.height=512,t.ligatures=r,t.unicode=i,t.svgPathData=o},50:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="image",r=[],i="f03e",o="M464 448H48c-26.51 0-48-21.49-48-48V112c0-26.51 21.49-48 48-48h416c26.51 0 48 21.49 48 48v288c0 26.51-21.49 48-48 48zM112 120c-30.928 0-56 25.072-56 56s25.072 56 56 56 56-25.072 56-56-25.072-56-56-56zM64 384h384V272l-87.515-87.515c-4.686-4.686-12.284-4.686-16.971 0L208 320l-55.515-55.515c-4.686-4.686-12.284-4.686-16.971 0L64 336v48z";t.definition={prefix:"fas",iconName:n,icon:[512,512,r,i,o]},t.faImage=t.definition,t.prefix="fas",t.iconName=n,t.width=512,t.height=512,t.ligatures=r,t.unicode=i,t.svgPathData=o},63096:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="map-marked-alt",r=[],i="f5a0",o="M288 0c-69.59 0-126 56.41-126 126 0 56.26 82.35 158.8 113.9 196.02 6.39 7.54 17.82 7.54 24.2 0C331.65 284.8 414 182.26 414 126 414 56.41 357.59 0 288 0zm0 168c-23.2 0-42-18.8-42-42s18.8-42 42-42 42 18.8 42 42-18.8 42-42 42zM20.12 215.95A32.006 32.006 0 0 0 0 245.66v250.32c0 11.32 11.43 19.06 21.94 14.86L160 448V214.92c-8.84-15.98-16.07-31.54-21.25-46.42L20.12 215.95zM288 359.67c-14.07 0-27.38-6.18-36.51-16.96-19.66-23.2-40.57-49.62-59.49-76.72v182l192 64V266c-18.92 27.09-39.82 53.52-59.49 76.72-9.13 10.77-22.44 16.95-36.51 16.95zm266.06-198.51L416 224v288l139.88-55.95A31.996 31.996 0 0 0 576 426.34V176.02c0-11.32-11.43-19.06-21.94-14.86z";t.definition={prefix:"fas",iconName:n,icon:[576,512,r,i,o]},t.faMapMarkedAlt=t.definition,t.prefix="fas",t.iconName=n,t.width=576,t.height=512,t.ligatures=r,t.unicode=i,t.svgPathData=o},80532:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="map-marker-alt",r=[],i="f3c5",o="M172.268 501.67C26.97 291.031 0 269.413 0 192 0 85.961 85.961 0 192 0s192 85.961 192 192c0 77.413-26.97 99.031-172.268 309.67-9.535 13.774-29.93 13.773-39.464 0zM192 272c44.183 0 80-35.817 80-80s-35.817-80-80-80-80 35.817-80 80 35.817 80 80 80z";t.definition={prefix:"fas",iconName:n,icon:[384,512,r,i,o]},t.faMapMarkerAlt=t.definition,t.prefix="fas",t.iconName=n,t.width=384,t.height=512,t.ligatures=r,t.unicode=i,t.svgPathData=o},62209:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="music",r=[],i="f001",o="M470.38 1.51L150.41 96A32 32 0 0 0 128 126.51v261.41A139 139 0 0 0 96 384c-53 0-96 28.66-96 64s43 64 96 64 96-28.66 96-64V214.32l256-75v184.61a138.4 138.4 0 0 0-32-3.93c-53 0-96 28.66-96 64s43 64 96 64 96-28.65 96-64V32a32 32 0 0 0-41.62-30.49z";t.definition={prefix:"fas",iconName:n,icon:[512,512,r,i,o]},t.faMusic=t.definition,t.prefix="fas",t.iconName=n,t.width=512,t.height=512,t.ligatures=r,t.unicode=i,t.svgPathData=o},56465:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="percent",r=[],i="f295",o="M112 224c61.9 0 112-50.1 112-112S173.9 0 112 0 0 50.1 0 112s50.1 112 112 112zm0-160c26.5 0 48 21.5 48 48s-21.5 48-48 48-48-21.5-48-48 21.5-48 48-48zm224 224c-61.9 0-112 50.1-112 112s50.1 112 112 112 112-50.1 112-112-50.1-112-112-112zm0 160c-26.5 0-48-21.5-48-48s21.5-48 48-48 48 21.5 48 48-21.5 48-48 48zM392.3.2l31.6-.1c19.4-.1 30.9 21.8 19.7 37.8L77.4 501.6a23.95 23.95 0 0 1-19.6 10.2l-33.4.1c-19.5 0-30.9-21.9-19.7-37.8l368-463.7C377.2 4 384.5.2 392.3.2z";t.definition={prefix:"fas",iconName:n,icon:[448,512,r,i,o]},t.faPercent=t.definition,t.prefix="fas",t.iconName=n,t.width=448,t.height=512,t.ligatures=r,t.unicode=i,t.svgPathData=o},94043:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="play",r=[],i="f04b",o="M424.4 214.7L72.4 6.6C43.8-10.3 0 6.1 0 47.9V464c0 37.5 40.7 60.1 72.4 41.3l352-208c31.4-18.5 31.5-64.1 0-82.6z";t.definition={prefix:"fas",iconName:n,icon:[448,512,r,i,o]},t.faPlay=t.definition,t.prefix="fas",t.iconName=n,t.width=448,t.height=512,t.ligatures=r,t.unicode=i,t.svgPathData=o},17247:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="redo",r=[],i="f01e",o="M500.33 0h-47.41a12 12 0 0 0-12 12.57l4 82.76A247.42 247.42 0 0 0 256 8C119.34 8 7.9 119.53 8 256.19 8.1 393.07 119.1 504 256 504a247.1 247.1 0 0 0 166.18-63.91 12 12 0 0 0 .48-17.43l-34-34a12 12 0 0 0-16.38-.55A176 176 0 1 1 402.1 157.8l-101.53-4.87a12 12 0 0 0-12.57 12v47.41a12 12 0 0 0 12 12h200.33a12 12 0 0 0 12-12V12a12 12 0 0 0-12-12z";t.definition={prefix:"fas",iconName:n,icon:[512,512,r,i,o]},t.faRedo=t.definition,t.prefix="fas",t.iconName=n,t.width=512,t.height=512,t.ligatures=r,t.unicode=i,t.svgPathData=o},82321:function(e,t){"use strict";t.DF={prefix:"fas",iconName:"spinner",icon:[512,512,[],"f110","M304 48c0 26.51-21.49 48-48 48s-48-21.49-48-48 21.49-48 48-48 48 21.49 48 48zm-48 368c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48-21.49-48-48-48zm208-208c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48-21.49-48-48-48zM96 256c0-26.51-21.49-48-48-48S0 229.49 0 256s21.49 48 48 48 48-21.49 48-48zm12.922 99.078c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48c0-26.509-21.491-48-48-48zm294.156 0c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48c0-26.509-21.49-48-48-48zM108.922 60.922c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48-21.491-48-48-48z"]},t.LM=t.DF},54847:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="times",r=[],i="f00d",o="M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z";t.definition={prefix:"fas",iconName:n,icon:[352,512,r,i,o]},t.faTimes=t.definition,t.prefix="fas",t.iconName=n,t.width=352,t.height=512,t.ligatures=r,t.unicode=i,t.svgPathData=o},56538:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="video",r=[],i="f03d",o="M336.2 64H47.8C21.4 64 0 85.4 0 111.8v288.4C0 426.6 21.4 448 47.8 448h288.4c26.4 0 47.8-21.4 47.8-47.8V111.8c0-26.4-21.4-47.8-47.8-47.8zm189.4 37.7L416 177.3v157.4l109.6 75.5c21.2 14.6 50.4-.3 50.4-25.8V127.5c0-25.4-29.1-40.4-50.4-25.8z";t.definition={prefix:"fas",iconName:n,icon:[576,512,r,i,o]},t.faVideo=t.definition,t.prefix="fas",t.iconName=n,t.width=576,t.height=512,t.ligatures=r,t.unicode=i,t.svgPathData=o},29530:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){o(e,t,n[t])}))}return e}function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var s,a=e[Symbol.iterator]();!(r=(s=a.next()).done)&&(n.push(s.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{r||null==a.return||a.return()}finally{if(i)throw o}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}n.r(t),n.d(t,{FontAwesomeIcon:function(){return $e}});var u=function(){},l={},c={},f={mark:u,measure:u};try{"undefined"!=typeof window&&(l=window),"undefined"!=typeof document&&(c=document),"undefined"!=typeof MutationObserver&&MutationObserver,"undefined"!=typeof performance&&(f=performance)}catch(e){}var h=(l.navigator||{}).userAgent,p=void 0===h?"":h,d=l,m=c,g=f,v=(d.document,!!m.documentElement&&!!m.head&&"function"==typeof m.addEventListener&&"function"==typeof m.createElement),y=(~p.indexOf("MSIE")||p.indexOf("Trident/"),"___FONT_AWESOME___"),b="fa",w="svg-inline--fa",_=(function(){try{return!0}catch(e){return!1}}(),[1,2,3,4,5,6,7,8,9,10]),S=_.concat([11,12,13,14,15,16,17,18,19,20]),x={GROUP:"group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},E=(["xs","sm","lg","fw","ul","li","border","pull-left","pull-right","spin","pulse","rotate-90","rotate-180","rotate-270","flip-horizontal","flip-vertical","flip-both","stack","stack-1x","stack-2x","inverse","layers","layers-text","layers-counter",x.GROUP,x.SWAP_OPACITY,x.PRIMARY,x.SECONDARY].concat(_.map((function(e){return"".concat(e,"x")}))).concat(S.map((function(e){return"w-".concat(e)}))),d.FontAwesomeConfig||{});m&&"function"==typeof m.querySelector&&[["data-family-prefix","familyPrefix"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]].forEach((function(e){var t=a(e,2),n=t[0],r=t[1],i=function(e){return""===e||"false"!==e&&("true"===e||e)}(function(e){var t=m.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}(n));null!=i&&(E[r]=i)}));var k=s({},{familyPrefix:b,replacementClass:w,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0},E);k.autoReplaceSvg||(k.observeMutations=!1);var P=s({},k);d.FontAwesomeConfig=P;var C=d||{};C[y]||(C[y]={}),C[y].styles||(C[y].styles={}),C[y].hooks||(C[y].hooks={}),C[y].shims||(C[y].shims=[]);var O=C[y],T=[];v&&((m.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(m.readyState)||m.addEventListener("DOMContentLoaded",(function e(){m.removeEventListener("DOMContentLoaded",e),T.map((function(e){return e()}))})));var A,F="pending",I="settled",R="fulfilled",M="rejected",N=function(){},L=void 0!==n.g&&void 0!==n.g.process&&"function"==typeof n.g.process.emit,U="undefined"==typeof setImmediate?setTimeout:setImmediate,D=[];function j(){for(var e=0;e<D.length;e++)D[e][0](D[e][1]);D=[],A=!1}function B(e,t){D.push([e,t]),A||(A=!0,U(j,0))}function z(e){var t=e.owner,n=t._state,r=t._data,i=e[n],o=e.then;if("function"==typeof i){n=R;try{r=i(r)}catch(e){q(o,e)}}H(o,r)||(n===R&&$(o,r),n===M&&q(o,r))}function H(e,t){var n;try{if(e===t)throw new TypeError("A promises callback cannot return that same promise.");if(t&&("function"==typeof t||"object"===r(t))){var i=t.then;if("function"==typeof i)return i.call(t,(function(r){n||(n=!0,t===r?V(e,r):$(e,r))}),(function(t){n||(n=!0,q(e,t))})),!0}}catch(t){return n||q(e,t),!0}return!1}function $(e,t){e!==t&&H(e,t)||V(e,t)}function V(e,t){e._state===F&&(e._state=I,e._data=t,B(G,e))}function q(e,t){e._state===F&&(e._state=I,e._data=t,B(Z,e))}function W(e){e._then=e._then.forEach(z)}function G(e){e._state=R,W(e)}function Z(e){e._state=M,W(e),!e._handled&&L&&n.g.process.emit("unhandledRejection",e._data,e)}function K(e){n.g.process.emit("rejectionHandled",e)}function Y(e){if("function"!=typeof e)throw new TypeError("Promise resolver "+e+" is not a function");if(this instanceof Y==0)throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.");this._then=[],function(e,t){function n(e){q(t,e)}try{e((function(e){$(t,e)}),n)}catch(e){n(e)}}(e,this)}Y.prototype={constructor:Y,_state:F,_then:null,_data:void 0,_handled:!1,then:function(e,t){var n={owner:this,then:new this.constructor(N),fulfilled:e,rejected:t};return!t&&!e||this._handled||(this._handled=!0,this._state===M&&L&&B(K,this)),this._state===R||this._state===M?B(z,n):this._then.push(n),n.then},catch:function(e){return this.then(null,e)}},Y.all=function(e){if(!Array.isArray(e))throw new TypeError("You must pass an array to Promise.all().");return new Y((function(t,n){var r=[],i=0;function o(e){return i++,function(n){r[e]=n,--i||t(r)}}for(var s,a=0;a<e.length;a++)(s=e[a])&&"function"==typeof s.then?s.then(o(a),n):r[a]=s;i||t(r)}))},Y.race=function(e){if(!Array.isArray(e))throw new TypeError("You must pass an array to Promise.race().");return new Y((function(t,n){for(var r,i=0;i<e.length;i++)(r=e[i])&&"function"==typeof r.then?r.then(t,n):t(r)}))},Y.resolve=function(e){return e&&"object"===r(e)&&e.constructor===Y?e:new Y((function(t){t(e)}))},Y.reject=function(e){return new Y((function(t,n){n(e)}))};var X={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};var Q="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function J(){for(var e=12,t="";e-- >0;)t+=Q[62*Math.random()|0];return t}function ee(e){return"".concat(e).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function te(e){return Object.keys(e||{}).reduce((function(t,n){return t+"".concat(n,": ").concat(e[n],";")}),"")}function ne(e){return e.size!==X.size||e.x!==X.x||e.y!==X.y||e.rotate!==X.rotate||e.flipX||e.flipY}function re(e){var t=e.transform,n=e.containerWidth,r=e.iconWidth,i={transform:"translate(".concat(n/2," 256)")},o="translate(".concat(32*t.x,", ").concat(32*t.y,") "),s="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),a="rotate(".concat(t.rotate," 0 0)");return{outer:i,inner:{transform:"".concat(o," ").concat(s," ").concat(a)},path:{transform:"translate(".concat(r/2*-1," -256)")}}}var ie={x:0,y:0,width:"100%",height:"100%"};function oe(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return e.attributes&&(e.attributes.fill||t)&&(e.attributes.fill="black"),e}var se=(P.measurePerformance&&g&&g.mark&&g.measure,function(e,t,n,r){var i,o,s,a=Object.keys(e),u=a.length,l=void 0!==r?function(e,t){return function(n,r,i,o){return e.call(t,n,r,i,o)}}(t,r):t;for(void 0===n?(i=1,s=e[a[0]]):(i=0,s=n);i<u;i++)s=l(s,e[o=a[i]],o,e);return s});function ae(e,t){var n=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).skipHooks,r=void 0!==n&&n,i=Object.keys(t).reduce((function(e,n){var r=t[n];return r.icon?e[r.iconName]=r.icon:e[n]=r,e}),{});"function"!=typeof O.hooks.addPack||r?O.styles[e]=s({},O.styles[e]||{},i):O.hooks.addPack(e,i),"fas"===e&&ae("fa",t)}var ue=O.styles,le=O.shims,ce=function(){var e=function(e){return se(ue,(function(t,n,r){return t[r]=se(n,e,{}),t}),{})};e((function(e,t,n){return t[3]&&(e[t[3]]=n),e})),e((function(e,t,n){var r=t[2];return e[n]=n,r.forEach((function(t){e[t]=n})),e}));var t="far"in ue;se(le,(function(e,n){var r=n[0],i=n[1],o=n[2];return"far"!==i||t||(i="fas"),e[r]={prefix:i,iconName:o},e}),{})};function fe(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}function he(e){var t=e.tag,n=e.attributes,r=void 0===n?{}:n,i=e.children,o=void 0===i?[]:i;return"string"==typeof e?ee(e):"<".concat(t," ").concat(function(e){return Object.keys(e||{}).reduce((function(t,n){return t+"".concat(n,'="').concat(ee(e[n]),'" ')}),"").trim()}(r),">").concat(o.map(he).join(""),"</").concat(t,">")}ce(),O.styles;function pe(e){this.name="MissingIcon",this.message=e||"Icon unavailable",this.stack=(new Error).stack}pe.prototype=Object.create(Error.prototype),pe.prototype.constructor=pe;var de={fill:"currentColor"},me={attributeType:"XML",repeatCount:"indefinite",dur:"2s"},ge=(s({},de,{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"}),s({},me,{attributeName:"opacity"}));function ve(e){var t=e[0],n=e[1],r=a(e.slice(4),1)[0];return{found:!0,width:t,height:n,icon:Array.isArray(r)?{tag:"g",attributes:{class:"".concat(P.familyPrefix,"-").concat(x.GROUP)},children:[{tag:"path",attributes:{class:"".concat(P.familyPrefix,"-").concat(x.SECONDARY),fill:"currentColor",d:r[0]}},{tag:"path",attributes:{class:"".concat(P.familyPrefix,"-").concat(x.PRIMARY),fill:"currentColor",d:r[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:r}}}}s({},de,{cx:"256",cy:"364",r:"28"}),s({},me,{attributeName:"r",values:"28;14;28;28;14;28;"}),s({},ge,{values:"1;0;1;1;0;1;"}),s({},de,{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),s({},ge,{values:"1;0;0;0;0;1;"}),s({},de,{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),s({},ge,{values:"0;0;1;1;0;0;"}),O.styles,O.styles;var ye='svg:not(:root).svg-inline--fa {\n overflow: visible;\n}\n\n.svg-inline--fa {\n display: inline-block;\n font-size: inherit;\n height: 1em;\n overflow: visible;\n vertical-align: -0.125em;\n}\n.svg-inline--fa.fa-lg {\n vertical-align: -0.225em;\n}\n.svg-inline--fa.fa-w-1 {\n width: 0.0625em;\n}\n.svg-inline--fa.fa-w-2 {\n width: 0.125em;\n}\n.svg-inline--fa.fa-w-3 {\n width: 0.1875em;\n}\n.svg-inline--fa.fa-w-4 {\n width: 0.25em;\n}\n.svg-inline--fa.fa-w-5 {\n width: 0.3125em;\n}\n.svg-inline--fa.fa-w-6 {\n width: 0.375em;\n}\n.svg-inline--fa.fa-w-7 {\n width: 0.4375em;\n}\n.svg-inline--fa.fa-w-8 {\n width: 0.5em;\n}\n.svg-inline--fa.fa-w-9 {\n width: 0.5625em;\n}\n.svg-inline--fa.fa-w-10 {\n width: 0.625em;\n}\n.svg-inline--fa.fa-w-11 {\n width: 0.6875em;\n}\n.svg-inline--fa.fa-w-12 {\n width: 0.75em;\n}\n.svg-inline--fa.fa-w-13 {\n width: 0.8125em;\n}\n.svg-inline--fa.fa-w-14 {\n width: 0.875em;\n}\n.svg-inline--fa.fa-w-15 {\n width: 0.9375em;\n}\n.svg-inline--fa.fa-w-16 {\n width: 1em;\n}\n.svg-inline--fa.fa-w-17 {\n width: 1.0625em;\n}\n.svg-inline--fa.fa-w-18 {\n width: 1.125em;\n}\n.svg-inline--fa.fa-w-19 {\n width: 1.1875em;\n}\n.svg-inline--fa.fa-w-20 {\n width: 1.25em;\n}\n.svg-inline--fa.fa-pull-left {\n margin-right: 0.3em;\n width: auto;\n}\n.svg-inline--fa.fa-pull-right {\n margin-left: 0.3em;\n width: auto;\n}\n.svg-inline--fa.fa-border {\n height: 1.5em;\n}\n.svg-inline--fa.fa-li {\n width: 2em;\n}\n.svg-inline--fa.fa-fw {\n width: 1.25em;\n}\n\n.fa-layers svg.svg-inline--fa {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.fa-layers {\n display: inline-block;\n height: 1em;\n position: relative;\n text-align: center;\n vertical-align: -0.125em;\n width: 1em;\n}\n.fa-layers svg.svg-inline--fa {\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-counter, .fa-layers-text {\n display: inline-block;\n position: absolute;\n text-align: center;\n}\n\n.fa-layers-text {\n left: 50%;\n top: 50%;\n -webkit-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-counter {\n background-color: #ff253a;\n border-radius: 1em;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n color: #fff;\n height: 1.5em;\n line-height: 1;\n max-width: 5em;\n min-width: 1.5em;\n overflow: hidden;\n padding: 0.25em;\n right: 0;\n text-overflow: ellipsis;\n top: 0;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n bottom: 0;\n right: 0;\n top: auto;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: bottom right;\n transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n bottom: 0;\n left: 0;\n right: auto;\n top: auto;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: bottom left;\n transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n right: 0;\n top: 0;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-top-left {\n left: 0;\n right: auto;\n top: 0;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: top left;\n transform-origin: top left;\n}\n\n.fa-lg {\n font-size: 1.3333333333em;\n line-height: 0.75em;\n vertical-align: -0.0667em;\n}\n\n.fa-xs {\n font-size: 0.75em;\n}\n\n.fa-sm {\n font-size: 0.875em;\n}\n\n.fa-1x {\n font-size: 1em;\n}\n\n.fa-2x {\n font-size: 2em;\n}\n\n.fa-3x {\n font-size: 3em;\n}\n\n.fa-4x {\n font-size: 4em;\n}\n\n.fa-5x {\n font-size: 5em;\n}\n\n.fa-6x {\n font-size: 6em;\n}\n\n.fa-7x {\n font-size: 7em;\n}\n\n.fa-8x {\n font-size: 8em;\n}\n\n.fa-9x {\n font-size: 9em;\n}\n\n.fa-10x {\n font-size: 10em;\n}\n\n.fa-fw {\n text-align: center;\n width: 1.25em;\n}\n\n.fa-ul {\n list-style-type: none;\n margin-left: 2.5em;\n padding-left: 0;\n}\n.fa-ul > li {\n position: relative;\n}\n\n.fa-li {\n left: -2em;\n position: absolute;\n text-align: center;\n width: 2em;\n line-height: inherit;\n}\n\n.fa-border {\n border: solid 0.08em #eee;\n border-radius: 0.1em;\n padding: 0.2em 0.25em 0.15em;\n}\n\n.fa-pull-left {\n float: left;\n}\n\n.fa-pull-right {\n float: right;\n}\n\n.fa.fa-pull-left,\n.fas.fa-pull-left,\n.far.fa-pull-left,\n.fal.fa-pull-left,\n.fab.fa-pull-left {\n margin-right: 0.3em;\n}\n.fa.fa-pull-right,\n.fas.fa-pull-right,\n.far.fa-pull-right,\n.fal.fa-pull-right,\n.fab.fa-pull-right {\n margin-left: 0.3em;\n}\n\n.fa-spin {\n -webkit-animation: fa-spin 2s infinite linear;\n animation: fa-spin 2s infinite linear;\n}\n\n.fa-pulse {\n -webkit-animation: fa-spin 1s infinite steps(8);\n animation: fa-spin 1s infinite steps(8);\n}\n\n@-webkit-keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n.fa-rotate-90 {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";\n -webkit-transform: rotate(90deg);\n transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";\n -webkit-transform: rotate(180deg);\n transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";\n -webkit-transform: rotate(270deg);\n transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";\n -webkit-transform: scale(-1, 1);\n transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";\n -webkit-transform: scale(1, -1);\n transform: scale(1, -1);\n}\n\n.fa-flip-both, .fa-flip-horizontal.fa-flip-vertical {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";\n -webkit-transform: scale(-1, -1);\n transform: scale(-1, -1);\n}\n\n:root .fa-rotate-90,\n:root .fa-rotate-180,\n:root .fa-rotate-270,\n:root .fa-flip-horizontal,\n:root .fa-flip-vertical,\n:root .fa-flip-both {\n -webkit-filter: none;\n filter: none;\n}\n\n.fa-stack {\n display: inline-block;\n height: 2em;\n position: relative;\n width: 2.5em;\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.svg-inline--fa.fa-stack-1x {\n height: 1em;\n width: 1.25em;\n}\n.svg-inline--fa.fa-stack-2x {\n height: 2em;\n width: 2.5em;\n}\n\n.fa-inverse {\n color: #fff;\n}\n\n.sr-only {\n border: 0;\n clip: rect(0, 0, 0, 0);\n height: 1px;\n margin: -1px;\n overflow: hidden;\n padding: 0;\n position: absolute;\n width: 1px;\n}\n\n.sr-only-focusable:active, .sr-only-focusable:focus {\n clip: auto;\n height: auto;\n margin: 0;\n overflow: visible;\n position: static;\n width: auto;\n}\n\n.svg-inline--fa .fa-primary {\n fill: var(--fa-primary-color, currentColor);\n opacity: 1;\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n fill: var(--fa-secondary-color, currentColor);\n opacity: 0.4;\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n opacity: 0.4;\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\n opacity: 1;\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa mask .fa-primary,\n.svg-inline--fa mask .fa-secondary {\n fill: black;\n}\n\n.fad.fa-inverse {\n color: #fff;\n}';var be=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.definitions={}}var t,n;return t=e,n=[{key:"add",value:function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var i=n.reduce(this._pullDefinitions,{});Object.keys(i).forEach((function(t){e.definitions[t]=s({},e.definitions[t]||{},i[t]),ae(t,i[t]),ce()}))}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(e,t){var n=t.prefix&&t.iconName&&t.icon?{0:t}:t;return Object.keys(n).map((function(t){var r=n[t],i=r.prefix,o=r.iconName,s=r.icon;e[i]||(e[i]={}),e[i][o]=s})),e}}],n&&i(t.prototype,n),e}();function we(){P.autoAddCss&&!Ee&&(function(e){if(e&&v){var t=m.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;for(var n=m.head.childNodes,r=null,i=n.length-1;i>-1;i--){var o=n[i],s=(o.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(s)>-1&&(r=o)}m.head.insertBefore(t,r)}}(function(){var e=b,t=w,n=P.familyPrefix,r=P.replacementClass,i=ye;if(n!==e||r!==t){var o=new RegExp("\\.".concat(e,"\\-"),"g"),s=new RegExp("\\--".concat(e,"\\-"),"g"),a=new RegExp("\\.".concat(t),"g");i=i.replace(o,".".concat(n,"-")).replace(s,"--".concat(n,"-")).replace(a,".".concat(r))}return i}()),Ee=!0)}function _e(e){var t=e.prefix,n=void 0===t?"fa":t,r=e.iconName;if(r)return fe(xe.definitions,n,r)||fe(O.styles,n,r)}var Se,xe=new be,Ee=!1,ke={transform:function(e){return function(e){var t={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return e?e.toLowerCase().split(" ").reduce((function(e,t){var n=t.toLowerCase().split("-"),r=n[0],i=n.slice(1).join("-");if(r&&"h"===i)return e.flipX=!0,e;if(r&&"v"===i)return e.flipY=!0,e;if(i=parseFloat(i),isNaN(i))return e;switch(r){case"grow":e.size=e.size+i;break;case"shrink":e.size=e.size-i;break;case"left":e.x=e.x-i;break;case"right":e.x=e.x+i;break;case"up":e.y=e.y-i;break;case"down":e.y=e.y+i;break;case"rotate":e.rotate=e.rotate+i}return e}),t):t}(e)}},Pe=(Se=function(e){var t,n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=r.transform,o=void 0===i?X:i,a=r.symbol,u=void 0!==a&&a,l=r.mask,c=void 0===l?null:l,f=r.maskId,h=void 0===f?null:f,p=r.title,d=void 0===p?null:p,g=r.titleId,y=void 0===g?null:g,b=r.classes,w=void 0===b?[]:b,_=r.attributes,S=void 0===_?{}:_,x=r.styles,E=void 0===x?{}:x;if(e){var k=e.prefix,C=e.iconName,O=e.icon;return t=s({type:"icon"},e),n=function(){return we(),P.autoA11y&&(d?S["aria-labelledby"]="".concat(P.replacementClass,"-title-").concat(y||J()):(S["aria-hidden"]="true",S.focusable="false")),function(e){var t=e.icons,n=t.main,r=t.mask,i=e.prefix,o=e.iconName,a=e.transform,u=e.symbol,l=e.title,c=e.maskId,f=e.titleId,h=e.extra,p=e.watchable,d=void 0!==p&&p,m=r.found?r:n,g=m.width,v=m.height,y="fak"===i,b=y?"":"fa-w-".concat(Math.ceil(g/v*16)),w=[P.replacementClass,o?"".concat(P.familyPrefix,"-").concat(o):"",b].filter((function(e){return-1===h.classes.indexOf(e)})).filter((function(e){return""!==e||!!e})).concat(h.classes).join(" "),_={children:[],attributes:s({},h.attributes,{"data-prefix":i,"data-icon":o,class:w,role:h.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(g," ").concat(v)})},S=y&&!~h.classes.indexOf("fa-fw")?{width:"".concat(g/v*16*.0625,"em")}:{};d&&(_.attributes["data-fa-i2svg"]=""),l&&_.children.push({tag:"title",attributes:{id:_.attributes["aria-labelledby"]||"title-".concat(f||J())},children:[l]});var x=s({},_,{prefix:i,iconName:o,main:n,mask:r,maskId:c,transform:a,symbol:u,styles:s({},S,h.styles)}),E=r.found&&n.found?function(e){var t,n=e.children,r=e.attributes,i=e.main,o=e.mask,a=e.maskId,u=e.transform,l=i.width,c=i.icon,f=o.width,h=o.icon,p=re({transform:u,containerWidth:f,iconWidth:l}),d={tag:"rect",attributes:s({},ie,{fill:"white"})},m=c.children?{children:c.children.map(oe)}:{},g={tag:"g",attributes:s({},p.inner),children:[oe(s({tag:c.tag,attributes:s({},c.attributes,p.path)},m))]},v={tag:"g",attributes:s({},p.outer),children:[g]},y="mask-".concat(a||J()),b="clip-".concat(a||J()),w={tag:"mask",attributes:s({},ie,{id:y,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[d,v]},_={tag:"defs",children:[{tag:"clipPath",attributes:{id:b},children:(t=h,"g"===t.tag?t.children:[t])},w]};return n.push(_,{tag:"rect",attributes:s({fill:"currentColor","clip-path":"url(#".concat(b,")"),mask:"url(#".concat(y,")")},ie)}),{children:n,attributes:r}}(x):function(e){var t=e.children,n=e.attributes,r=e.main,i=e.transform,o=te(e.styles);if(o.length>0&&(n.style=o),ne(i)){var a=re({transform:i,containerWidth:r.width,iconWidth:r.width});t.push({tag:"g",attributes:s({},a.outer),children:[{tag:"g",attributes:s({},a.inner),children:[{tag:r.icon.tag,children:r.icon.children,attributes:s({},r.icon.attributes,a.path)}]}]})}else t.push(r.icon);return{children:t,attributes:n}}(x),k=E.children,C=E.attributes;return x.children=k,x.attributes=C,u?function(e){var t=e.prefix,n=e.iconName,r=e.children,i=e.attributes,o=e.symbol;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:s({},i,{id:!0===o?"".concat(t,"-").concat(P.familyPrefix,"-").concat(n):o}),children:r}]}]}(x):function(e){var t=e.children,n=e.main,r=e.mask,i=e.attributes,o=e.styles,a=e.transform;if(ne(a)&&n.found&&!r.found){var u={x:n.width/n.height/2,y:.5};i.style=te(s({},o,{"transform-origin":"".concat(u.x+a.x/16,"em ").concat(u.y+a.y/16,"em")}))}return[{tag:"svg",attributes:i,children:t}]}(x)}({icons:{main:ve(O),mask:c?ve(c.icon):{found:!1,width:null,height:null,icon:{}}},prefix:k,iconName:C,transform:s({},X,o),symbol:u,title:d,maskId:h,titleId:y,extra:{attributes:S,styles:E,classes:w}})},Object.defineProperty(t,"abstract",{get:n}),Object.defineProperty(t,"html",{get:function(){return t.abstract.map((function(e){return he(e)}))}}),Object.defineProperty(t,"node",{get:function(){if(v){var e=m.createElement("div");return e.innerHTML=t.html,e.children}}}),t}},function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=(e||{}).icon?e:_e(e||{}),r=t.mask;return r&&(r=(r||{}).icon?r:_e(r||{})),Se(n,s({},t,{mask:r}))}),Ce=n(13980),Oe=n.n(Ce),Te=n(2784);function Ae(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Fe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ae(Object(n),!0).forEach((function(t){Re(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ae(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ie(e){return Ie="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},Ie(e)}function Re(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Me(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function Ne(e){return function(e){if(Array.isArray(e))return Le(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return Le(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Le(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Le(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Ue(e){return t=e,(t-=0)==t?e:(e=e.replace(/[\-_\s]+(.)?/g,(function(e,t){return t?t.toUpperCase():""}))).substr(0,1).toLowerCase()+e.substr(1);var t}var De=["style"],je=!1;try{je=!0}catch(e){}function Be(e){return e&&"object"===Ie(e)&&e.prefix&&e.iconName&&e.icon?e:ke.icon?ke.icon(e):null===e?null:e&&"object"===Ie(e)&&e.prefix&&e.iconName?e:Array.isArray(e)&&2===e.length?{prefix:e[0],iconName:e[1]}:"string"==typeof e?{prefix:"fas",iconName:e}:void 0}function ze(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?Re({},e,t):{}}var He=["forwardedRef"];function $e(e){var t=e.forwardedRef,n=Me(e,He),r=n.icon,i=n.mask,o=n.symbol,s=n.className,a=n.title,u=n.titleId,l=n.maskId,c=Be(r),f=ze("classes",[].concat(Ne(function(e){var t,n=e.beat,r=e.fade,i=e.beatFade,o=e.bounce,s=e.shake,a=e.flash,u=e.spin,l=e.spinPulse,c=e.spinReverse,f=e.pulse,h=e.fixedWidth,p=e.inverse,d=e.border,m=e.listItem,g=e.flip,v=e.size,y=e.rotation,b=e.pull,w=(Re(t={"fa-beat":n,"fa-fade":r,"fa-beat-fade":i,"fa-bounce":o,"fa-shake":s,"fa-flash":a,"fa-spin":u,"fa-spin-reverse":c,"fa-spin-pulse":l,"fa-pulse":f,"fa-fw":h,"fa-inverse":p,"fa-border":d,"fa-li":m,"fa-flip":!0===g,"fa-flip-horizontal":"horizontal"===g||"both"===g,"fa-flip-vertical":"vertical"===g||"both"===g},"fa-".concat(v),null!=v),Re(t,"fa-rotate-".concat(y),null!=y&&0!==y),Re(t,"fa-pull-".concat(b),null!=b),Re(t,"fa-swap-opacity",e.swapOpacity),t);return Object.keys(w).map((function(e){return w[e]?e:null})).filter((function(e){return e}))}(n)),Ne(s.split(" ")))),h=ze("transform","string"==typeof n.transform?ke.transform(n.transform):n.transform),p=ze("mask",Be(i)),d=Pe(c,Fe(Fe(Fe(Fe({},f),h),p),{},{symbol:o,title:a,titleId:u,maskId:l}));if(!d)return function(){var e;!je&&console&&"function"==typeof console.error&&(e=console).error.apply(e,arguments)}("Could not find icon",c),null;var m=d.abstract,g={ref:t};return Object.keys(n).forEach((function(e){$e.defaultProps.hasOwnProperty(e)||(g[e]=n[e])})),Ve(m[0],g)}$e.displayName="FontAwesomeIcon",$e.propTypes={beat:Oe().bool,border:Oe().bool,beatFade:Oe().bool,bounce:Oe().bool,className:Oe().string,fade:Oe().bool,flash:Oe().bool,mask:Oe().oneOfType([Oe().object,Oe().array,Oe().string]),maskId:Oe().string,fixedWidth:Oe().bool,inverse:Oe().bool,flip:Oe().oneOf([!0,!1,"horizontal","vertical","both"]),icon:Oe().oneOfType([Oe().object,Oe().array,Oe().string]),listItem:Oe().bool,pull:Oe().oneOf(["right","left"]),pulse:Oe().bool,rotation:Oe().oneOf([0,90,180,270]),shake:Oe().bool,size:Oe().oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:Oe().bool,spinPulse:Oe().bool,spinReverse:Oe().bool,symbol:Oe().oneOfType([Oe().bool,Oe().string]),title:Oe().string,titleId:Oe().string,transform:Oe().oneOfType([Oe().string,Oe().object]),swapOpacity:Oe().bool},$e.defaultProps={border:!1,className:"",mask:null,maskId:null,fixedWidth:!1,inverse:!1,flip:!1,icon:null,listItem:!1,pull:null,pulse:!1,rotation:null,size:null,spin:!1,spinPulse:!1,spinReverse:!1,beat:!1,fade:!1,beatFade:!1,bounce:!1,shake:!1,symbol:!1,title:"",titleId:null,transform:null,swapOpacity:!1};var Ve=function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("string"==typeof n)return n;var i=(n.children||[]).map((function(n){return e(t,n)})),o=Object.keys(n.attributes||{}).reduce((function(e,t){var r=n.attributes[t];switch(t){case"class":e.attrs.className=r,delete n.attributes.class;break;case"style":e.attrs.style=r.split(";").map((function(e){return e.trim()})).filter((function(e){return e})).reduce((function(e,t){var n,r=t.indexOf(":"),i=Ue(t.slice(0,r)),o=t.slice(r+1).trim();return i.startsWith("webkit")?e[(n=i,n.charAt(0).toUpperCase()+n.slice(1))]=o:e[i]=o,e}),{});break;default:0===t.indexOf("aria-")||0===t.indexOf("data-")?e.attrs[t.toLowerCase()]=r:e.attrs[Ue(t)]=r}return e}),{attrs:{}}),s=r.style,a=void 0===s?{}:s,u=Me(r,De);return o.attrs.style=Fe(Fe({},o.attrs.style),a),t.apply(void 0,[n.tag,Fe(Fe({},o.attrs),u)].concat(Ne(i)))}.bind(null,Te.createElement)},39093:function(e,t,n){"use strict";n.d(t,{He:function(){return u},Ld:function(){return w},eC:function(){return f},f3:function(){return a},iG:function(){return c},rS:function(){return p},sb:function(){return g},ys:function(){return s}});var r=n(36994),i=n(2784),o=Symbol.for("Animated:node"),s=e=>e&&e[o],a=(e,t)=>(0,r.dE)(e,o,t),u=e=>e&&e[o]&&e[o].getPayload(),l=class{payload;constructor(){a(this,this)}getPayload(){return this.payload||[]}},c=class extends l{constructor(e){super(),this._value=e,r.is.num(this._value)&&(this.lastPosition=this._value)}done=!0;elapsedTime;lastPosition;lastVelocity;v0;durationProgress=0;static create(e){return new c(e)}getPayload(){return[this]}getValue(){return this._value}setValue(e,t){return r.is.num(e)&&(this.lastPosition=e,t&&(e=Math.round(e/t)*t,this.done&&(this.lastPosition=e))),this._value!==e&&(this._value=e,!0)}reset(){let{done:e}=this;this.done=!1,r.is.num(this._value)&&(this.elapsedTime=0,this.durationProgress=0,this.lastPosition=this._value,e&&(this.lastVelocity=null),this.v0=null)}},f=class extends c{_string=null;_toString;constructor(e){super(0),this._toString=(0,r.mD)({output:[e,e]})}static create(e){return new f(e)}getValue(){return this._string??(this._string=this._toString(this._value))}setValue(e){if(r.is.str(e)){if(e==this._string)return!1;this._string=e,this._value=1}else{if(!super.setValue(e))return!1;this._string=null}return!0}reset(e){e&&(this._toString=(0,r.mD)({output:[this.getValue(),e]})),this._value=0,super.reset()}},h={dependencies:null},p=class extends l{constructor(e){super(),this.source=e,this.setValue(e)}getValue(e){let t={};return(0,r.rU)(this.source,((n,i)=>{var s;(s=n)&&s[o]===s?t[i]=n.getValue(e):(0,r.j$)(n)?t[i]=(0,r.je)(n):e||(t[i]=n)})),t}setValue(e){this.source=e,this.payload=this._makePayload(e)}reset(){this.payload&&(0,r.S6)(this.payload,(e=>e.reset()))}_makePayload(e){if(e){let t=new Set;return(0,r.rU)(e,this._addToPayload,t),Array.from(t)}}_addToPayload(e){h.dependencies&&(0,r.j$)(e)&&h.dependencies.add(e);let t=u(e);t&&(0,r.S6)(t,(e=>this.add(e)))}},d=class extends p{constructor(e){super(e)}static create(e){return new d(e)}getValue(){return this.source.map((e=>e.getValue()))}setValue(e){let t=this.getPayload();return e.length==t.length?t.map(((t,n)=>t.setValue(e[n]))).some(Boolean):(super.setValue(e.map(m)),!0)}};function m(e){return((0,r.Df)(e)?f:c).create(e)}function g(e){let t=s(e);return t?t.constructor:r.is.arr(e)?d:(0,r.Df)(e)?f:c}var v=(e,t)=>{let n=!r.is.fun(e)||e.prototype&&e.prototype.isReactComponent;return(0,i.forwardRef)(((o,s)=>{let a=(0,i.useRef)(null),u=n&&(0,i.useCallback)((e=>{a.current=function(e,t){return e&&(r.is.fun(e)?e(t):e.current=t),t}(s,e)}),[s]),[l,c]=function(e,t){let n=new Set;return h.dependencies=n,e.style&&(e={...e,style:t.createAnimatedStyle(e.style)}),e=new p(e),h.dependencies=null,[e,n]}(o,t),f=(0,r.NW)(),d=()=>{let e=a.current;n&&!e||!1===(!!e&&t.applyAnimatedValues(e,l.getValue(!0)))&&f()},m=new y(d,c),g=(0,i.useRef)();(0,r.LI)((()=>(g.current=m,(0,r.S6)(c,(e=>(0,r.UI)(e,m))),()=>{g.current&&((0,r.S6)(g.current.deps,(e=>(0,r.iL)(e,g.current))),r.Wn.cancel(g.current.update))}))),(0,i.useEffect)(d,[]),(0,r.tf)((()=>()=>{let e=g.current;(0,r.S6)(e.deps,(t=>(0,r.iL)(t,e)))}));let v=t.getComponentProps(l.getValue());return i.createElement(e,{...v,ref:u})}))},y=class{constructor(e,t){this.update=e,this.deps=t}eventObserved(e){"change"==e.type&&r.Wn.write(this.update)}},b=Symbol.for("AnimatedComponent"),w=(e,{applyAnimatedValues:t=(()=>!1),createAnimatedStyle:n=(e=>new p(e)),getComponentProps:i=(e=>e)}={})=>{let o={applyAnimatedValues:t,createAnimatedStyle:n,getComponentProps:i},s=e=>{let t=_(e)||"Anonymous";return(e=r.is.str(e)?s[e]||(s[e]=v(e,o)):e[b]||(e[b]=v(e,o))).displayName=`Animated(${t})`,e};return(0,r.rU)(e,((t,n)=>{r.is.arr(e)&&(n=_(t)),s[n]=s(t)})),{animated:s}},_=e=>r.is.str(e)?e:e&&r.is.str(e.displayName)?e.displayName:r.is.fun(e)&&e.name||null},63871:function(e,t,n){"use strict";n.r(t),n.d(t,{Any:function(){return s},BailSignal:function(){return R},Controller:function(){return te},FrameValue:function(){return U},Globals:function(){return r.OH},Interpolation:function(){return Oe},Spring:function(){return ke},SpringContext:function(){return ce},SpringRef:function(){return he},SpringValue:function(){return V},Trail:function(){return Pe},Transition:function(){return Ce},config:function(){return S},createInterpolator:function(){return r.mD},easings:function(){return r.Z5},inferTo:function(){return m},interpolate:function(){return Re},to:function(){return Ie},update:function(){return Me},useChain:function(){return _},useInView:function(){return Ee},useIsomorphicLayoutEffect:function(){return r.LI},useReducedMotion:function(){return r.JZ},useResize:function(){return Se},useScroll:function(){return _e},useSpring:function(){return de},useSpringRef:function(){return ge},useSpringValue:function(){return ve},useSprings:function(){return pe},useTrail:function(){return ye},useTransition:function(){return be}});var r=n(36994),i=n(2784),o=n(39093),s=class{_};function a(e,...t){return r.is.fun(e)?e(...t):e}var u=(e,t)=>!0===e||!!(t&&e&&(r.is.fun(e)?e(t):(0,r.qo)(e).includes(t))),l=(e,t)=>r.is.obj(e)?t&&e[t]:e,c=(e,t)=>!0===e.default?e[t]:e.default?e.default[t]:void 0,f=e=>e,h=(e,t=f)=>{let n=p;e.default&&!0!==e.default&&(e=e.default,n=Object.keys(e));let i={};for(let o of n){let n=t(e[o],o);r.is.und(n)||(i[o]=n)}return i},p=["config","onProps","onStart","onChange","onPause","onResume","onRest"],d={config:1,from:1,to:1,ref:1,loop:1,reset:1,pause:1,cancel:1,reverse:1,immediate:1,default:1,delay:1,onProps:1,onStart:1,onChange:1,onPause:1,onResume:1,onRest:1,onResolve:1,items:1,trail:1,sort:1,expires:1,initial:1,enter:1,update:1,leave:1,children:1,onDestroyed:1,keys:1,callId:1,parentId:1};function m(e){let t=function(e){let t={},n=0;if((0,r.rU)(e,((e,r)=>{d[r]||(t[r]=e,n++)})),n)return t}(e);if(t){let n={to:t};return(0,r.rU)(e,((e,r)=>r in t||(n[r]=e))),n}return{...e}}function g(e){return e=(0,r.je)(e),r.is.arr(e)?e.map(g):(0,r.Df)(e)?r.OH.createStringInterpolator({range:[0,1],output:[e,e]})(1):e}function v(e){for(let t in e)return!0;return!1}function y(e){return r.is.fun(e)||r.is.arr(e)&&r.is.obj(e[0])}function b(e,t){e.ref?.delete(e),t?.delete(e)}function w(e,t){t&&e.ref!==t&&(e.ref?.delete(e),t.add(e),e.ref=t)}function _(e,t,n=1e3){(0,r.LI)((()=>{if(t){let i=0;(0,r.S6)(e,((e,o)=>{let s=e.current;if(s.length){let u=n*t[o];isNaN(u)?u=i:i=u,(0,r.S6)(s,(e=>{(0,r.S6)(e.queue,(e=>{let t=e.delay;e.delay=e=>u+a(t||0,e)}))})),e.start()}}))}else{let t=Promise.resolve();(0,r.S6)(e,(e=>{let n=e.current;if(n.length){let i=n.map((e=>{let t=e.queue;return e.queue=[],t}));t=t.then((()=>((0,r.S6)(n,((e,t)=>(0,r.S6)(i[t]||[],(t=>e.queue.push(t))))),Promise.all(e.start()))))}}))}}))}var S={default:{tension:170,friction:26},gentle:{tension:120,friction:14},wobbly:{tension:180,friction:12},stiff:{tension:210,friction:20},slow:{tension:280,friction:60},molasses:{tension:280,friction:120}},x={...S.default,mass:1,damping:1,easing:r.Z5.linear,clamp:!1};function E(e,t){if(r.is.und(t.decay)){let n=!r.is.und(t.tension)||!r.is.und(t.friction);(n||!r.is.und(t.frequency)||!r.is.und(t.damping)||!r.is.und(t.mass))&&(e.duration=void 0,e.decay=void 0),n&&(e.frequency=void 0)}else e.duration=void 0}var k=[];function P(e,{key:t,props:n,defaultProps:i,state:o,actions:s}){return new Promise(((l,c)=>{let f,h,p=u(n.cancel??i?.cancel,t);if(p)g();else{r.is.und(n.pause)||(o.paused=u(n.pause,t));let e=i?.pause;!0!==e&&(e=o.paused||u(e,t)),f=a(n.delay||0,t),e?(o.resumeQueue.add(m),s.pause()):(s.resume(),m())}function d(){o.resumeQueue.add(m),o.timeouts.delete(h),h.cancel(),f=h.time-r.Wn.now()}function m(){f>0&&!r.OH.skipAnimation?(o.delayed=!0,h=r.Wn.setTimeout(g,f),o.pauseQueue.add(d),o.timeouts.add(h)):g()}function g(){o.delayed&&(o.delayed=!1),o.pauseQueue.delete(d),o.timeouts.delete(h),e<=(o.cancelId||0)&&(p=!0);try{s.start({...n,callId:e,cancel:p},l)}catch(e){c(e)}}}))}var C=(e,t)=>1==t.length?t[0]:t.some((e=>e.cancelled))?A(e.get()):t.every((e=>e.noop))?O(e.get()):T(e.get(),t.every((e=>e.finished))),O=e=>({value:e,noop:!0,finished:!0,cancelled:!1}),T=(e,t,n=!1)=>({value:e,finished:t,cancelled:n}),A=e=>({value:e,cancelled:!0,finished:!1});function F(e,t,n,i){let{callId:o,parentId:s,onRest:a}=t,{asyncTo:u,promise:l}=n;return s||e!==u||t.reset?n.promise=(async()=>{n.asyncId=o,n.asyncTo=e;let c,f,p,d=h(t,((e,t)=>"onRest"===t?void 0:e)),m=new Promise(((e,t)=>(c=e,f=t))),g=e=>{let t=o<=(n.cancelId||0)&&A(i)||o!==n.asyncId&&T(i,!1);if(t)throw e.result=t,f(e),e},v=(e,t)=>{let s=new R,a=new M;return(async()=>{if(r.OH.skipAnimation)throw I(n),a.result=T(i,!1),f(a),a;g(s);let u=r.is.obj(e)?{...e}:{...t,to:e};u.parentId=o,(0,r.rU)(d,((e,t)=>{r.is.und(u[t])&&(u[t]=e)}));let l=await i.start(u);return g(s),n.paused&&await new Promise((e=>{n.resumeQueue.add(e)})),l})()};if(r.OH.skipAnimation)return I(n),T(i,!1);try{let t;t=r.is.arr(e)?(async e=>{for(let t of e)await v(t)})(e):Promise.resolve(e(v,i.stop.bind(i))),await Promise.all([t.then(c),m]),p=T(i.get(),!0,!1)}catch(e){if(e instanceof R)p=e.result;else{if(!(e instanceof M))throw e;p=e.result}}finally{o==n.asyncId&&(n.asyncId=s,n.asyncTo=s?u:void 0,n.promise=s?l:void 0)}return r.is.fun(a)&&r.Wn.batchedUpdates((()=>{a(p,i,i.item)})),p})():l}function I(e,t){(0,r.yl)(e.timeouts,(e=>e.cancel())),e.pauseQueue.clear(),e.resumeQueue.clear(),e.asyncId=e.asyncTo=e.promise=void 0,t&&(e.cancelId=t)}var R=class extends Error{result;constructor(){super("An async animation has been interrupted. You see this error because you forgot to use `await` or `.catch(...)` on its returned promise.")}},M=class extends Error{result;constructor(){super("SkipAnimationSignal")}},N=e=>e instanceof U,L=1,U=class extends r.B0{id=L++;_priority=0;get priority(){return this._priority}set priority(e){this._priority!=e&&(this._priority=e,this._onPriorityChange(e))}get(){let e=(0,o.ys)(this);return e&&e.getValue()}to(...e){return r.OH.to(this,e)}interpolate(...e){return(0,r.LW)(),r.OH.to(this,e)}toJSON(){return this.get()}observerAdded(e){1==e&&this._attach()}observerRemoved(e){0==e&&this._detach()}_attach(){}_detach(){}_onChange(e,t=!1){(0,r.k0)(this,{type:"change",parent:this,value:e,idle:t})}_onPriorityChange(e){this.idle||r.fT.sort(this),(0,r.k0)(this,{type:"priority",parent:this,priority:e})}},D=Symbol.for("SpringPhase"),j=e=>(1&e[D])>0,B=e=>(2&e[D])>0,z=e=>(4&e[D])>0,H=(e,t)=>t?e[D]|=3:e[D]&=-3,$=(e,t)=>t?e[D]|=4:e[D]&=-5,V=class extends U{key;animation=new class{changed=!1;values=k;toValues=null;fromValues=k;to;from;config=new class{tension;friction;frequency;damping;mass;velocity=0;restVelocity;precision;progress;duration;easing;clamp;bounce;decay;round;constructor(){Object.assign(this,x)}};immediate=!1};queue;defaultProps={};_state={paused:!1,delayed:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set};_pendingCalls=new Set;_lastCallId=0;_lastToId=0;_memoizedDuration=0;constructor(e,t){if(super(),!r.is.und(e)||!r.is.und(t)){let n=r.is.obj(e)?{...e}:{...t,from:e};r.is.und(n.default)&&(n.default=!0),this.start(n)}}get idle(){return!(B(this)||this._state.asyncTo)||z(this)}get goal(){return(0,r.je)(this.animation.to)}get velocity(){let e=(0,o.ys)(this);return e instanceof o.iG?e.lastVelocity||0:e.getPayload().map((e=>e.lastVelocity||0))}get hasAnimated(){return j(this)}get isAnimating(){return B(this)}get isPaused(){return z(this)}get isDelayed(){return this._state.delayed}advance(e){let t=!0,n=!1,i=this.animation,{toValues:s}=i,{config:a}=i,u=(0,o.He)(i.to);!u&&(0,r.j$)(i.to)&&(s=(0,r.qo)((0,r.je)(i.to))),i.values.forEach(((l,c)=>{if(l.done)return;let f=l.constructor==o.eC?1:u?u[c].lastPosition:s[c],h=i.immediate,p=f;if(!h){if(p=l.lastPosition,a.tension<=0)return void(l.done=!0);let t,n=l.elapsedTime+=e,o=i.fromValues[c],s=null!=l.v0?l.v0:l.v0=r.is.arr(a.velocity)?a.velocity[c]:a.velocity,u=a.precision||(o==f?.005:Math.min(1,.001*Math.abs(f-o)));if(r.is.und(a.duration))if(a.decay){let e=!0===a.decay?.998:a.decay,r=Math.exp(-(1-e)*n);p=o+s/(1-e)*(1-r),h=Math.abs(l.lastPosition-p)<=u,t=s*r}else{t=null==l.lastVelocity?s:l.lastVelocity;let n,i=a.restVelocity||u/10,c=a.clamp?0:a.bounce,d=!r.is.und(c),m=o==f?l.v0>0:o<f,g=!1,v=1,y=Math.ceil(e/v);for(let e=0;e<y&&(n=Math.abs(t)>i,n||(h=Math.abs(f-p)<=u,!h));++e)d&&(g=p==f||p>f==m,g&&(t=-t*c,p=f)),t+=(1e-6*-a.tension*(p-f)+.001*-a.friction*t)/a.mass*v,p+=t*v}else{let r=1;a.duration>0&&(this._memoizedDuration!==a.duration&&(this._memoizedDuration=a.duration,l.durationProgress>0&&(l.elapsedTime=a.duration*l.durationProgress,n=l.elapsedTime+=e)),r=(a.progress||0)+n/this._memoizedDuration,r=r>1?1:r<0?0:r,l.durationProgress=r),p=o+a.easing(r)*(f-o),t=(p-l.lastPosition)/e,h=1==r}l.lastVelocity=t,Number.isNaN(p)&&(console.warn("Got NaN while animating:",this),h=!0)}u&&!u[c].done&&(h=!1),h?l.done=!0:t=!1,l.setValue(p,a.round)&&(n=!0)}));let l=(0,o.ys)(this),c=l.getValue();if(t){let e=(0,r.je)(i.to);c===e&&!n||a.decay?n&&a.decay&&this._onChange(c):(l.setValue(e),this._onChange(e)),this._stop()}else n&&this._onChange(c)}set(e){return r.Wn.batchedUpdates((()=>{this._stop(),this._focus(e),this._set(e)})),this}pause(){this._update({pause:!0})}resume(){this._update({pause:!1})}finish(){if(B(this)){let{to:e,config:t}=this.animation;r.Wn.batchedUpdates((()=>{this._onStart(),t.decay||this._set(e,!1),this._stop()}))}return this}update(e){return(this.queue||(this.queue=[])).push(e),this}start(e,t){let n;return r.is.und(e)?(n=this.queue||[],this.queue=[]):n=[r.is.obj(e)?e:{...t,to:e}],Promise.all(n.map((e=>this._update(e)))).then((e=>C(this,e)))}stop(e){let{to:t}=this.animation;return this._focus(this.get()),I(this._state,e&&this._lastCallId),r.Wn.batchedUpdates((()=>this._stop(t,e))),this}reset(){this._update({reset:!0})}eventObserved(e){"change"==e.type?this._start():"priority"==e.type&&(this.priority=e.priority+1)}_prepareNode(e){let t=this.key||"",{to:n,from:i}=e;n=r.is.obj(n)?n[t]:n,(null==n||y(n))&&(n=void 0),i=r.is.obj(i)?i[t]:i,null==i&&(i=void 0);let s={to:n,from:i};return j(this)||(e.reverse&&([n,i]=[i,n]),i=(0,r.je)(i),r.is.und(i)?(0,o.ys)(this)||this._set(n):this._set(i)),s}_update({...e},t){let{key:n,defaultProps:i}=this;e.default&&Object.assign(i,h(e,((e,t)=>/^on/.test(t)?l(e,n):e))),X(this,e,"onProps"),Q(this,"onProps",e,this);let o=this._prepareNode(e);if(Object.isFrozen(this))throw Error("Cannot animate a `SpringValue` object that is frozen. Did you forget to pass your component to `animated(...)` before animating its props?");let s=this._state;return P(++this._lastCallId,{key:n,props:e,defaultProps:i,state:s,actions:{pause:()=>{z(this)||($(this,!0),(0,r.bl)(s.pauseQueue),Q(this,"onPause",T(this,q(this,this.animation.to)),this))},resume:()=>{z(this)&&($(this,!1),B(this)&&this._resume(),(0,r.bl)(s.resumeQueue),Q(this,"onResume",T(this,q(this,this.animation.to)),this))},start:this._merge.bind(this,o)}}).then((n=>{if(e.loop&&n.finished&&(!t||!n.noop)){let t=W(e);if(t)return this._update(t,!0)}return n}))}_merge(e,t,n){if(t.cancel)return this.stop(!0),n(A(this));let i=!r.is.und(e.to),s=!r.is.und(e.from);if(i||s){if(!(t.callId>this._lastToId))return n(A(this));this._lastToId=t.callId}let{key:l,defaultProps:c,animation:f}=this,{to:h,from:p}=f,{to:d=h,from:m=p}=e;s&&!i&&(!t.default||r.is.und(d))&&(d=m),t.reverse&&([d,m]=[m,d]);let v=!(0,r.Xy)(m,p);v&&(f.from=m),m=(0,r.je)(m);let b=!(0,r.Xy)(d,h);b&&this._focus(d);let w=y(t.to),{config:_}=f,{decay:S,velocity:k}=_;(i||s)&&(_.velocity=0),t.config&&!w&&function(e,t,n){n&&(E(n={...n},t),t={...n,...t}),E(e,t),Object.assign(e,t);for(let t in x)null==e[t]&&(e[t]=x[t]);let{frequency:i,damping:o}=e,{mass:s}=e;r.is.und(i)||(i<.01&&(i=.01),o<0&&(o=0),e.tension=Math.pow(2*Math.PI/i,2)*s,e.friction=4*Math.PI*o*s/i)}(_,a(t.config,l),t.config!==c.config?a(c.config,l):void 0);let P=(0,o.ys)(this);if(!P||r.is.und(d))return n(T(this,!0));let C=r.is.und(t.reset)?s&&!t.default:!r.is.und(m)&&u(t.reset,l),I=C?m:this.get(),R=g(d),M=r.is.num(R)||r.is.arr(R)||(0,r.Df)(R),N=!w&&(!M||u(c.immediate||t.immediate,l));if(b){let e=(0,o.sb)(d);if(e!==P.constructor){if(!N)throw Error(`Cannot animate between ${P.constructor.name} and ${e.name}, as the "to" prop suggests`);P=this._set(R)}}let L=P.constructor,U=(0,r.j$)(d),D=!1;if(!U){let e=C||!j(this)&&v;(b||e)&&(D=(0,r.Xy)(g(I),R),U=!D),(!(0,r.Xy)(f.immediate,N)&&!N||!(0,r.Xy)(_.decay,S)||!(0,r.Xy)(_.velocity,k))&&(U=!0)}if(D&&B(this)&&(f.changed&&!C?U=!0:U||this._stop(h)),!w&&((U||(0,r.j$)(h))&&(f.values=P.getPayload(),f.toValues=(0,r.j$)(d)?null:L==o.eC?[1]:(0,r.qo)(R)),f.immediate!=N&&(f.immediate=N,!N&&!C&&this._set(h)),U)){let{onRest:e}=f;(0,r.S6)(Y,(e=>X(this,t,e)));let i=T(this,q(this,h));(0,r.bl)(this._pendingCalls,i),this._pendingCalls.add(n),f.changed&&r.Wn.batchedUpdates((()=>{f.changed=!C,e?.(i,this),C?a(c.onRest,i):f.onStart?.(i,this)}))}C&&this._set(I),w?n(F(t.to,t,this._state,this)):U?this._start():B(this)&&!b?this._pendingCalls.add(n):n(O(I))}_focus(e){let t=this.animation;e!==t.to&&((0,r.Ll)(this)&&this._detach(),t.to=e,(0,r.Ll)(this)&&this._attach())}_attach(){let e=0,{to:t}=this.animation;(0,r.j$)(t)&&((0,r.UI)(t,this),N(t)&&(e=t.priority+1)),this.priority=e}_detach(){let{to:e}=this.animation;(0,r.j$)(e)&&(0,r.iL)(e,this)}_set(e,t=!0){let n=(0,r.je)(e);if(!r.is.und(n)){let e=(0,o.ys)(this);if(!e||!(0,r.Xy)(n,e.getValue())){let i=(0,o.sb)(n);e&&e.constructor==i?e.setValue(n):(0,o.f3)(this,i.create(n)),e&&r.Wn.batchedUpdates((()=>{this._onChange(n,t)}))}}return(0,o.ys)(this)}_onStart(){let e=this.animation;e.changed||(e.changed=!0,Q(this,"onStart",T(this,q(this,e.to)),this))}_onChange(e,t){t||(this._onStart(),a(this.animation.onChange,e,this)),a(this.defaultProps.onChange,e,this),super._onChange(e,t)}_start(){let e=this.animation;(0,o.ys)(this).reset((0,r.je)(e.to)),e.immediate||(e.fromValues=e.values.map((e=>e.lastPosition))),B(this)||(H(this,!0),z(this)||this._resume())}_resume(){r.OH.skipAnimation?this.finish():r.fT.start(this)}_stop(e,t){if(B(this)){H(this,!1);let n=this.animation;(0,r.S6)(n.values,(e=>{e.done=!0})),n.toValues&&(n.onChange=n.onPause=n.onResume=void 0),(0,r.k0)(this,{type:"idle",parent:this});let i=t?A(this.get()):T(this.get(),q(this,e??n.to));(0,r.bl)(this._pendingCalls,i),n.changed&&(n.changed=!1,Q(this,"onRest",i,this))}}};function q(e,t){let n=g(t),i=g(e.get());return(0,r.Xy)(i,n)}function W(e,t=e.loop,n=e.to){let r=a(t);if(r){let i=!0!==r&&m(r),o=(i||e).reverse,s=!i||i.reset;return G({...e,loop:t,default:!1,pause:void 0,to:!o||y(n)?n:void 0,from:s?e.from:void 0,reset:s,...i})}}function G(e){let{to:t,from:n}=e=m(e),i=new Set;return r.is.obj(t)&&K(t,i),r.is.obj(n)&&K(n,i),e.keys=i.size?Array.from(i):null,e}function Z(e){let t=G(e);return r.is.und(t.default)&&(t.default=h(t)),t}function K(e,t){(0,r.rU)(e,((e,n)=>null!=e&&t.add(n)))}var Y=["onStart","onRest","onChange","onPause","onResume"];function X(e,t,n){e.animation[n]=t[n]!==c(t,n)?l(t[n],e.key):void 0}function Q(e,t,...n){e.animation[t]?.(...n),e.defaultProps[t]?.(...n)}var J=["onStart","onChange","onRest"],ee=1,te=class{id=ee++;springs={};queue=[];ref;_flush;_initialProps;_lastAsyncId=0;_active=new Set;_changed=new Set;_started=!1;_item;_state={paused:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set};_events={onStart:new Map,onChange:new Map,onRest:new Map};constructor(e,t){this._onFrame=this._onFrame.bind(this),t&&(this._flush=t),e&&this.start({default:!0,...e})}get idle(){return!this._state.asyncTo&&Object.values(this.springs).every((e=>e.idle&&!e.isDelayed&&!e.isPaused))}get item(){return this._item}set item(e){this._item=e}get(){let e={};return this.each(((t,n)=>e[n]=t.get())),e}set(e){for(let t in e){let n=e[t];r.is.und(n)||this.springs[t].set(n)}}update(e){return e&&this.queue.push(G(e)),this}start(e){let{queue:t}=this;return e?t=(0,r.qo)(e).map(G):this.queue=[],this._flush?this._flush(this,t):(ue(this,t),ne(this,t))}stop(e,t){if(e!==!!e&&(t=e),t){let n=this.springs;(0,r.S6)((0,r.qo)(t),(t=>n[t].stop(!!e)))}else I(this._state,this._lastAsyncId),this.each((t=>t.stop(!!e)));return this}pause(e){if(r.is.und(e))this.start({pause:!0});else{let t=this.springs;(0,r.S6)((0,r.qo)(e),(e=>t[e].pause()))}return this}resume(e){if(r.is.und(e))this.start({pause:!1});else{let t=this.springs;(0,r.S6)((0,r.qo)(e),(e=>t[e].resume()))}return this}each(e){(0,r.rU)(this.springs,e)}_onFrame(){let{onStart:e,onChange:t,onRest:n}=this._events,i=this._active.size>0,o=this._changed.size>0;(i&&!this._started||o&&!this._started)&&(this._started=!0,(0,r.yl)(e,(([e,t])=>{t.value=this.get(),e(t,this,this._item)})));let s=!i&&this._started,a=o||s&&n.size?this.get():null;o&&t.size&&(0,r.yl)(t,(([e,t])=>{t.value=a,e(t,this,this._item)})),s&&(this._started=!1,(0,r.yl)(n,(([e,t])=>{t.value=a,e(t,this,this._item)})))}eventObserved(e){if("change"==e.type)this._changed.add(e.parent),e.idle||this._active.add(e.parent);else{if("idle"!=e.type)return;this._active.delete(e.parent)}r.Wn.onFrame(this._onFrame)}};function ne(e,t){return Promise.all(t.map((t=>re(e,t)))).then((t=>C(e,t)))}async function re(e,t,n){let{keys:i,to:o,from:s,loop:a,onRest:u,onResolve:l}=t,f=r.is.obj(t.default)&&t.default;a&&(t.loop=!1),!1===o&&(t.to=null),!1===s&&(t.from=null);let h=r.is.arr(o)||r.is.fun(o)?o:void 0;h?(t.to=void 0,t.onRest=void 0,f&&(f.onRest=void 0)):(0,r.S6)(J,(n=>{let i=t[n];if(r.is.fun(i)){let r=e._events[n];t[n]=({finished:e,cancelled:t})=>{let n=r.get(i);n?(e||(n.finished=!1),t&&(n.cancelled=!0)):r.set(i,{value:null,finished:e||!1,cancelled:t||!1})},f&&(f[n]=t[n])}}));let p=e._state;t.pause===!p.paused?(p.paused=t.pause,(0,r.bl)(t.pause?p.pauseQueue:p.resumeQueue)):p.paused&&(t.pause=!0);let d=(i||Object.keys(e.springs)).map((n=>e.springs[n].start(t))),m=!0===t.cancel||!0===c(t,"cancel");(h||m&&p.asyncId)&&d.push(P(++e._lastAsyncId,{props:t,state:p,actions:{pause:r.ZT,resume:r.ZT,start(t,n){m?(I(p,e._lastAsyncId),n(A(e))):(t.onRest=u,n(F(h,t,p,e)))}}})),p.paused&&await new Promise((e=>{p.resumeQueue.add(e)}));let g=C(e,await Promise.all(d));if(a&&g.finished&&(!n||!g.noop)){let n=W(t,a,o);if(n)return ue(e,[n]),re(e,n,!0)}return l&&r.Wn.batchedUpdates((()=>l(g,e,e.item))),g}function ie(e,t){let n={...e.springs};return t&&(0,r.S6)((0,r.qo)(t),(e=>{r.is.und(e.keys)&&(e=G(e)),r.is.obj(e.to)||(e={...e,to:void 0}),ae(n,e,(e=>se(e)))})),oe(e,n),n}function oe(e,t){(0,r.rU)(t,((t,n)=>{e.springs[n]||(e.springs[n]=t,(0,r.UI)(t,e))}))}function se(e,t){let n=new V;return n.key=e,t&&(0,r.UI)(n,t),n}function ae(e,t,n){t.keys&&(0,r.S6)(t.keys,(r=>{(e[r]||(e[r]=n(r)))._prepareNode(t)}))}function ue(e,t){(0,r.S6)(t,(t=>{ae(e.springs,t,(t=>se(t,e)))}))}var le,ce=({children:e,...t})=>{let n=(0,i.useContext)(fe),o=t.pause||!!n.pause,s=t.immediate||!!n.immediate;t=(0,r.Pr)((()=>({pause:o,immediate:s})),[o,s]);let{Provider:a}=fe;return i.createElement(a,{value:t},e)},fe=(le=ce,Object.assign(le,i.createContext({})),le.Provider._context=le,le.Consumer._context=le,le);ce.Provider=fe.Provider,ce.Consumer=fe.Consumer;var he=()=>{let e=[],t=function(t){(0,r.ZR)();let i=[];return(0,r.S6)(e,((e,o)=>{if(r.is.und(t))i.push(e.start());else{let r=n(t,e,o);r&&i.push(e.start(r))}})),i};t.current=e,t.add=function(t){e.includes(t)||e.push(t)},t.delete=function(t){let n=e.indexOf(t);~n&&e.splice(n,1)},t.pause=function(){return(0,r.S6)(e,(e=>e.pause(...arguments))),this},t.resume=function(){return(0,r.S6)(e,(e=>e.resume(...arguments))),this},t.set=function(t){(0,r.S6)(e,((e,n)=>{let i=r.is.fun(t)?t(n,e):t;i&&e.set(i)}))},t.start=function(t){let n=[];return(0,r.S6)(e,((e,i)=>{if(r.is.und(t))n.push(e.start());else{let r=this._getProps(t,e,i);r&&n.push(e.start(r))}})),n},t.stop=function(){return(0,r.S6)(e,(e=>e.stop(...arguments))),this},t.update=function(t){return(0,r.S6)(e,((e,n)=>e.update(this._getProps(t,e,n)))),this};let n=function(e,t,n){return r.is.fun(e)?e(n,t):e};return t._getProps=n,t};function pe(e,t,n){let o=r.is.fun(t)&&t;o&&!n&&(n=[]);let s=(0,i.useMemo)((()=>o||3==arguments.length?he():void 0),[]),a=(0,i.useRef)(0),u=(0,r.NW)(),l=(0,i.useMemo)((()=>({ctrls:[],queue:[],flush(e,t){let n=ie(e,t);return a.current>0&&!l.queue.length&&!Object.keys(n).some((t=>!e.springs[t]))?ne(e,t):new Promise((r=>{oe(e,n),l.queue.push((()=>{r(ne(e,t))})),u()}))}})),[]),c=(0,i.useRef)([...l.ctrls]),f=[],h=(0,r.zH)(e)||0;function p(e,n){for(let r=e;r<n;r++){let e=c.current[r]||(c.current[r]=new te(null,l.flush)),n=o?o(r,e):t[r];n&&(f[r]=Z(n))}}(0,i.useMemo)((()=>{(0,r.S6)(c.current.slice(e,h),(e=>{b(e,s),e.stop(!0)})),c.current.length=e,p(h,e)}),[e]),(0,i.useMemo)((()=>{p(0,Math.min(h,e))}),n);let d=c.current.map(((e,t)=>ie(e,f[t]))),m=(0,i.useContext)(ce),g=(0,r.zH)(m),y=m!==g&&v(m);(0,r.LI)((()=>{a.current++,l.ctrls=c.current;let{queue:e}=l;e.length&&(l.queue=[],(0,r.S6)(e,(e=>e()))),(0,r.S6)(c.current,((e,t)=>{s?.add(e),y&&e.start({default:m});let n=f[t];n&&(w(e,n.ref),e.ref?e.queue.push(n):e.start(n))}))})),(0,r.tf)((()=>()=>{(0,r.S6)(l.ctrls,(e=>e.stop(!0)))}));let _=d.map((e=>({...e})));return s?[_,s]:_}function de(e,t){let n=r.is.fun(e),[[i],o]=pe(1,n?e:[e],n?t||[]:t);return n||2==arguments.length?[i,o]:i}var me=()=>he(),ge=()=>(0,i.useState)(me)[0],ve=(e,t)=>{let n=(0,r.hS)((()=>new V(e,t)));return(0,r.tf)((()=>()=>{n.stop()})),n};function ye(e,t,n){let i=r.is.fun(t)&&t;i&&!n&&(n=[]);let o,s=!0,a=pe(e,((e,n)=>{let r=i?i(e,n):t;return o=r.ref,s=s&&r.reverse,r}),n||[{}]);if((0,r.LI)((()=>{(0,r.S6)(a[1].current,((e,t)=>{let n=a[1].current[t+(s?1:-1)];w(e,o),e.ref?n&&e.update({to:n.springs}):n?e.start({to:n.springs}):e.start()}))}),n),i||3==arguments.length){let e=o??a[1];return e._getProps=(t,n,i)=>{let o=r.is.fun(t)?t(i,n):t;if(o){let t=e.current[i+(o.reverse?1:-1)];return t&&(o.to=t.springs),o}},a}return a[0]}function be(e,t,n){let o=r.is.fun(t)&&t,{reset:s,sort:u,trail:l=0,expires:c=!0,exitBeforeEnter:f=!1,onDestroyed:p,ref:d,config:g}=o?o():t,y=(0,i.useMemo)((()=>o||3==arguments.length?he():void 0),[]),_=(0,r.qo)(e),S=[],x=(0,i.useRef)(null),E=s?null:x.current;(0,r.LI)((()=>{x.current=S})),(0,r.tf)((()=>((0,r.S6)(S,(e=>{y?.add(e.ctrl),e.ctrl.ref=y})),()=>{(0,r.S6)(x.current,(e=>{e.expired&&clearTimeout(e.expirationId),b(e.ctrl,y),e.ctrl.stop(!0)}))})));let k=function(e,{key:t,keys:n=t},i){if(null===n){let t=new Set;return e.map((e=>{let n=i&&i.find((n=>n.item===e&&"leave"!==n.phase&&!t.has(n)));return n?(t.add(n),n.key):we++}))}return r.is.und(n)?e:r.is.fun(n)?e.map(n):(0,r.qo)(n)}(_,o?o():t,E),P=s&&x.current||[];(0,r.LI)((()=>(0,r.S6)(P,(({ctrl:e,item:t,key:n})=>{b(e,y),a(p,t,n)}))));let C=[];if(E&&(0,r.S6)(E,((e,t)=>{e.expired?(clearTimeout(e.expirationId),P.push(e)):~(t=C[t]=k.indexOf(e.key))&&(S[t]=e)})),(0,r.S6)(_,((e,t)=>{S[t]||(S[t]={key:k[t],item:e,phase:"mount",ctrl:new te},S[t].ctrl.item=e)})),C.length){let e=-1,{leave:n}=o?o():t;(0,r.S6)(C,((t,r)=>{let i=E[r];~t?(e=S.indexOf(i),S[e]={...i,item:_[t]}):n&&S.splice(++e,0,i)}))}r.is.fun(u)&&S.sort(((e,t)=>u(e.item,t.item)));let O=-l,T=(0,r.NW)(),A=h(t),F=new Map,I=(0,i.useRef)(new Map),R=(0,i.useRef)(!1);(0,r.S6)(S,((e,n)=>{let i,s,u=e.key,h=e.phase,p=o?o():t,v=a(p.delay||0,u);if("mount"==h)i=p.enter,s="enter";else{let e=k.indexOf(u)<0;if("leave"!=h)if(e)i=p.leave,s="leave";else{if(!(i=p.update))return;s="update"}else{if(e)return;i=p.enter,s="enter"}}if(i=a(i,e.item,n),i=r.is.obj(i)?m(i):{to:i},!i.config){let t=g||A.config;i.config=a(t,e.item,n,s)}O+=l;let y={...A,delay:v+O,ref:d,immediate:p.immediate,reset:!1,...i};if("enter"==s&&r.is.und(y.from)){let i=o?o():t,s=r.is.und(i.initial)||E?i.from:i.initial;y.from=a(s,e.item,n)}let{onResolve:b}=y;y.onResolve=e=>{a(b,e);let t=x.current,n=t.find((e=>e.key===u));if(n&&(!e.cancelled||"update"==n.phase)&&n.ctrl.idle){let e=t.every((e=>e.ctrl.idle));if("leave"==n.phase){let t=a(c,n.item);if(!1!==t){let r=!0===t?0:t;if(n.expired=!0,!e&&r>0)return void(r<=2147483647&&(n.expirationId=setTimeout(T,r)))}}e&&t.some((e=>e.expired))&&(I.current.delete(n),f&&(R.current=!0),T())}};let w=ie(e.ctrl,y);"leave"===s&&f?I.current.set(e,{phase:s,springs:w,payload:y}):F.set(e,{phase:s,springs:w,payload:y})}));let M=(0,i.useContext)(ce),N=(0,r.zH)(M),L=M!==N&&v(M);(0,r.LI)((()=>{L&&(0,r.S6)(S,(e=>{e.ctrl.start({default:M})}))}),[M]),(0,r.S6)(F,((e,t)=>{if(I.current.size){let e=S.findIndex((e=>e.key===t.key));S.splice(e,1)}})),(0,r.LI)((()=>{(0,r.S6)(I.current.size?I.current:F,(({phase:e,payload:t},n)=>{let{ctrl:r}=n;n.phase=e,y?.add(r),L&&"enter"==e&&r.start({default:M}),t&&(w(r,t.ref),!r.ref&&!y||R.current?(r.start(t),R.current&&(R.current=!1)):r.update(t))}))}),s?void 0:n);let U=e=>i.createElement(i.Fragment,null,S.map(((t,n)=>{let{springs:o}=F.get(t)||t.ctrl,s=e({...o},t.item,t,n);return s&&s.type?i.createElement(s.type,{...s.props,key:r.is.str(t.key)||r.is.num(t.key)?t.key:t.ctrl.id,ref:s.ref}):s})));return y?[U,y]:U}var we=1,_e=({container:e,...t}={})=>{let[n,i]=de((()=>({scrollX:0,scrollY:0,scrollXProgress:0,scrollYProgress:0,...t})),[]);return(0,r.LI)((()=>{let t=(0,r.gw)((({x:e,y:t})=>{i.start({scrollX:e.current,scrollXProgress:e.progress,scrollY:t.current,scrollYProgress:t.progress})}),{container:e?.current||void 0});return()=>{(0,r.S6)(Object.values(n),(e=>e.stop())),t()}}),[]),n},Se=({container:e,...t})=>{let[n,i]=de((()=>({width:0,height:0,...t})),[]);return(0,r.LI)((()=>{let t=(0,r.ib)((({width:e,height:t})=>{i.start({width:e,height:t,immediate:0===n.width.get()||0===n.height.get()})}),{container:e?.current||void 0});return()=>{(0,r.S6)(Object.values(n),(e=>e.stop())),t()}}),[]),n},xe={any:0,all:1};function Ee(e,t){let[n,o]=(0,i.useState)(!1),s=(0,i.useRef)(),a=r.is.fun(e)&&e,u=a?a():{},{to:l={},from:c={},...f}=u,h=a?t:e,[p,d]=de((()=>({from:c,...f})),[]);return(0,r.LI)((()=>{let e=s.current,{root:t,once:i,amount:a="any",...u}=h??{};if(!e||i&&n||typeof IntersectionObserver>"u")return;let f=new WeakMap,p=new IntersectionObserver((e=>{e.forEach((e=>{let t=f.get(e.target);if(e.isIntersecting!==!!t)if(e.isIntersecting){let t=(l&&d.start(l),o(!0),i?void 0:()=>{c&&d.start(c),o(!1)});r.is.fun(t)?f.set(e.target,t):p.unobserve(e.target)}else t&&(t(),f.delete(e.target))}))}),{root:t&&t.current||void 0,threshold:"number"==typeof a||Array.isArray(a)?a:xe[a],...u});return p.observe(e),()=>p.unobserve(e)}),[h]),a?[s,p]:[s,n]}function ke({children:e,...t}){return e(de(t))}function Pe({items:e,children:t,...n}){let i=ye(e.length,n);return e.map(((e,n)=>{let o=t(e,n);return r.is.fun(o)?o(i[n]):o}))}function Ce({items:e,children:t,...n}){return be(e,n)(t)}var Oe=class extends U{constructor(e,t){super(),this.source=e,this.calc=(0,r.mD)(...t);let n=this._get(),i=(0,o.sb)(n);(0,o.f3)(this,i.create(n))}key;idle=!0;calc;_active=new Set;advance(e){let t=this._get(),n=this.get();(0,r.Xy)(t,n)||((0,o.ys)(this).setValue(t),this._onChange(t,this.idle)),!this.idle&&Ae(this._active)&&Fe(this)}_get(){let e=r.is.arr(this.source)?this.source.map(r.je):(0,r.qo)((0,r.je)(this.source));return this.calc(...e)}_start(){this.idle&&!Ae(this._active)&&(this.idle=!1,(0,r.S6)((0,o.He)(this),(e=>{e.done=!1})),r.OH.skipAnimation?(r.Wn.batchedUpdates((()=>this.advance())),Fe(this)):r.fT.start(this))}_attach(){let e=1;(0,r.S6)((0,r.qo)(this.source),(t=>{(0,r.j$)(t)&&(0,r.UI)(t,this),N(t)&&(t.idle||this._active.add(t),e=Math.max(e,t.priority+1))})),this.priority=e,this._start()}_detach(){(0,r.S6)((0,r.qo)(this.source),(e=>{(0,r.j$)(e)&&(0,r.iL)(e,this)})),this._active.clear(),Fe(this)}eventObserved(e){"change"==e.type?e.idle?this.advance():(this._active.add(e.parent),this._start()):"idle"==e.type?this._active.delete(e.parent):"priority"==e.type&&(this.priority=(0,r.qo)(this.source).reduce(((e,t)=>Math.max(e,(N(t)?t.priority:0)+1)),0))}};function Te(e){return!1!==e.idle}function Ae(e){return!e.size||Array.from(e).every(Te)}function Fe(e){e.idle||(e.idle=!0,(0,r.S6)((0,o.He)(e),(e=>{e.done=!0})),(0,r.k0)(e,{type:"idle",parent:e}))}var Ie=(e,...t)=>new Oe(e,t),Re=(e,...t)=>((0,r.LW)(),new Oe(e,t));r.OH.assign({createStringInterpolator:r.qS,to:(e,t)=>new Oe(e,t)});var Me=r.fT.advance},36994:function(e,t,n){"use strict";n.d(t,{B0:function(){return Oe},OH:function(){return x},UI:function(){return Ae},k0:function(){return Ce},O9:function(){return K},mD:function(){return de},qS:function(){return He},dE:function(){return k},ZR:function(){return Ze},LW:function(){return We},S6:function(){return O},rU:function(){return T},Z5:function(){return _e},yl:function(){return F},bl:function(){return M},fT:function(){return V},Ll:function(){return Pe},je:function(){return ke},j$:function(){return Ee},is:function(){return P},Df:function(){return Ke},Xy:function(){return C},ZT:function(){return E},ib:function(){return tt},gw:function(){return at},Wn:function(){return i},iL:function(){return Fe},qo:function(){return A},hS:function(){return ut},NW:function(){return ft},LI:function(){return lt},Pr:function(){return ht},tf:function(){return pt},zH:function(){return mt},JZ:function(){return gt}});var r=b(),i=e=>m(e,r),o=b();i.write=e=>m(e,o);var s=b();i.onStart=e=>m(e,s);var a=b();i.onFrame=e=>m(e,a);var u=b();i.onFinish=e=>m(e,u);var l=[];i.setTimeout=(e,t)=>{let n=i.now()+t,r=()=>{let e=l.findIndex((e=>e.cancel==r));~e&&l.splice(e,1),p-=~e?1:0},o={time:n,handler:e,cancel:r};return l.splice(c(n),0,o),p+=1,g(),o};var c=e=>~(~l.findIndex((t=>t.time>e))||~l.length);i.cancel=e=>{s.delete(e),a.delete(e),u.delete(e),r.delete(e),o.delete(e)},i.sync=e=>{d=!0,i.batchedUpdates(e),d=!1},i.throttle=e=>{let t;function n(){try{e(...t)}finally{t=null}}function r(...e){t=e,i.onStart(n)}return r.handler=e,r.cancel=()=>{s.delete(n),t=null},r};var f=typeof window<"u"?window.requestAnimationFrame:()=>{};i.use=e=>f=e,i.now=typeof performance<"u"?()=>performance.now():Date.now,i.batchedUpdates=e=>e(),i.catch=console.error,i.frameLoop="always",i.advance=()=>{"demand"!==i.frameLoop?console.warn("Cannot call the manual advancement of rafz whilst frameLoop is not set as demand"):y()};var h=-1,p=0,d=!1;function m(e,t){d?(t.delete(e),e(0)):(t.add(e),g())}function g(){h<0&&(h=0,"demand"!==i.frameLoop&&f(v))}function v(){~h&&(f(v),i.batchedUpdates(y))}function y(){let e=h;h=i.now();let t=c(h);t&&(w(l.splice(0,t),(e=>e.handler())),p-=t),p?(s.flush(),r.flush(e?Math.min(64,h-e):16.667),a.flush(),o.flush(),u.flush()):h=-1}function b(){let e=new Set,t=e;return{add(n){p+=t!=e||e.has(n)?0:1,e.add(n)},delete(n){return p-=t==e&&e.has(n)?1:0,e.delete(n)},flush(n){t.size&&(e=new Set,p-=t.size,w(t,(t=>t(n)&&e.add(t))),p+=e.size,t=e)}}}function w(e,t){e.forEach((e=>{try{t(e)}catch(e){i.catch(e)}}))}var _=n(2784),S=Object.defineProperty,x={};function E(){}((e,t)=>{for(var n in t)S(e,n,{get:t[n],enumerable:!0})})(x,{assign:()=>j,colors:()=>L,createStringInterpolator:()=>I,skipAnimation:()=>U,to:()=>R,willAdvance:()=>D});var k=(e,t,n)=>Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0}),P={arr:Array.isArray,obj:e=>!!e&&"Object"===e.constructor.name,fun:e=>"function"==typeof e,str:e=>"string"==typeof e,num:e=>"number"==typeof e,und:e=>void 0===e};function C(e,t){if(P.arr(e)){if(!P.arr(t)||e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}return e===t}var O=(e,t)=>e.forEach(t);function T(e,t,n){if(P.arr(e))for(let r=0;r<e.length;r++)t.call(n,e[r],`${r}`);else for(let r in e)e.hasOwnProperty(r)&&t.call(n,e[r],r)}var A=e=>P.und(e)?[]:P.arr(e)?e:[e];function F(e,t){if(e.size){let n=Array.from(e);e.clear(),O(n,t)}}var I,R,M=(e,...t)=>F(e,(e=>e(...t))),N=()=>typeof window>"u"||!window.navigator||/ServerSideRendering|^Deno\//.test(window.navigator.userAgent),L=null,U=!1,D=E,j=e=>{e.to&&(R=e.to),e.now&&(i.now=e.now),void 0!==e.colors&&(L=e.colors),null!=e.skipAnimation&&(U=e.skipAnimation),e.createStringInterpolator&&(I=e.createStringInterpolator),e.requestAnimationFrame&&i.use(e.requestAnimationFrame),e.batchedUpdates&&(i.batchedUpdates=e.batchedUpdates),e.willAdvance&&(D=e.willAdvance),e.frameLoop&&(i.frameLoop=e.frameLoop)},B=new Set,z=[],H=[],$=0,V={get idle(){return!B.size&&!z.length},start(e){$>e.priority?(B.add(e),i.onStart(q)):(W(e),i(Z))},advance:Z,sort(e){if($)i.onFrame((()=>V.sort(e)));else{let t=z.indexOf(e);~t&&(z.splice(t,1),G(e))}},clear(){z=[],B.clear()}};function q(){B.forEach(W),B.clear(),i(Z)}function W(e){z.includes(e)||G(e)}function G(e){z.splice(function(e,t){let n=e.findIndex(t);return n<0?e.length:n}(z,(t=>t.priority>e.priority)),0,e)}function Z(e){let t=H;for(let n=0;n<z.length;n++){let r=z[n];$=r.priority,r.idle||(D(r),r.advance(e),r.idle||t.push(r))}return $=0,(H=z).length=0,(z=t).length>0}var K={transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199},Y="[-+]?\\d*\\.?\\d+",X=Y+"%";function Q(...e){return"\\(\\s*("+e.join(")\\s*,\\s*(")+")\\s*\\)"}var J=new RegExp("rgb"+Q(Y,Y,Y)),ee=new RegExp("rgba"+Q(Y,Y,Y,Y)),te=new RegExp("hsl"+Q(Y,X,X)),ne=new RegExp("hsla"+Q(Y,X,X,Y)),re=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,ie=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,oe=/^#([0-9a-fA-F]{6})$/,se=/^#([0-9a-fA-F]{8})$/;function ae(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function ue(e,t,n){let r=n<.5?n*(1+t):n+t-n*t,i=2*n-r,o=ae(i,r,e+1/3),s=ae(i,r,e),a=ae(i,r,e-1/3);return Math.round(255*o)<<24|Math.round(255*s)<<16|Math.round(255*a)<<8}function le(e){let t=parseInt(e,10);return t<0?0:t>255?255:t}function ce(e){return(parseFloat(e)%360+360)%360/360}function fe(e){let t=parseFloat(e);return t<0?0:t>1?255:Math.round(255*t)}function he(e){let t=parseFloat(e);return t<0?0:t>100?1:t/100}function pe(e){let t=function(e){let t;return"number"==typeof e?e>>>0===e&&e>=0&&e<=4294967295?e:null:(t=oe.exec(e))?parseInt(t[1]+"ff",16)>>>0:L&&void 0!==L[e]?L[e]:(t=J.exec(e))?(le(t[1])<<24|le(t[2])<<16|le(t[3])<<8|255)>>>0:(t=ee.exec(e))?(le(t[1])<<24|le(t[2])<<16|le(t[3])<<8|fe(t[4]))>>>0:(t=re.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+"ff",16)>>>0:(t=se.exec(e))?parseInt(t[1],16)>>>0:(t=ie.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+t[4]+t[4],16)>>>0:(t=te.exec(e))?(255|ue(ce(t[1]),he(t[2]),he(t[3])))>>>0:(t=ne.exec(e))?(ue(ce(t[1]),he(t[2]),he(t[3]))|fe(t[4]))>>>0:null}(e);return null===t?e:(t=t||0,`rgba(${(4278190080&t)>>>24}, ${(16711680&t)>>>16}, ${(65280&t)>>>8}, ${(255&t)/255})`)}var de=(e,t,n)=>{if(P.fun(e))return e;if(P.arr(e))return de({range:e,output:t,extrapolate:n});if(P.str(e.output[0]))return I(e);let r=e,i=r.output,o=r.range||[0,1],s=r.extrapolateLeft||r.extrapolate||"extend",a=r.extrapolateRight||r.extrapolate||"extend",u=r.easing||(e=>e);return e=>{let t=function(e,t){for(var n=1;n<t.length-1&&!(t[n]>=e);++n);return n-1}(e,o);return function(e,t,n,r,i,o,s,a,u){let l=u?u(e):e;if(l<t){if("identity"===s)return l;"clamp"===s&&(l=t)}if(l>n){if("identity"===a)return l;"clamp"===a&&(l=n)}return r===i?r:t===n?e<=t?r:i:(t===-1/0?l=-l:n===1/0?l-=t:l=(l-t)/(n-t),l=o(l),r===-1/0?l=-l:i===1/0?l+=r:l=l*(i-r)+r,l)}(e,o[t],o[t+1],i[t],i[t+1],u,s,a,r.map)}},me=1.70158,ge=1.525*me,ve=me+1,ye=2*Math.PI/3,be=2*Math.PI/4.5,we=e=>e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375,_e={linear:e=>e,easeInQuad:e=>e*e,easeOutQuad:e=>1-(1-e)*(1-e),easeInOutQuad:e=>e<.5?2*e*e:1-Math.pow(-2*e+2,2)/2,easeInCubic:e=>e*e*e,easeOutCubic:e=>1-Math.pow(1-e,3),easeInOutCubic:e=>e<.5?4*e*e*e:1-Math.pow(-2*e+2,3)/2,easeInQuart:e=>e*e*e*e,easeOutQuart:e=>1-Math.pow(1-e,4),easeInOutQuart:e=>e<.5?8*e*e*e*e:1-Math.pow(-2*e+2,4)/2,easeInQuint:e=>e*e*e*e*e,easeOutQuint:e=>1-Math.pow(1-e,5),easeInOutQuint:e=>e<.5?16*e*e*e*e*e:1-Math.pow(-2*e+2,5)/2,easeInSine:e=>1-Math.cos(e*Math.PI/2),easeOutSine:e=>Math.sin(e*Math.PI/2),easeInOutSine:e=>-(Math.cos(Math.PI*e)-1)/2,easeInExpo:e=>0===e?0:Math.pow(2,10*e-10),easeOutExpo:e=>1===e?1:1-Math.pow(2,-10*e),easeInOutExpo:e=>0===e?0:1===e?1:e<.5?Math.pow(2,20*e-10)/2:(2-Math.pow(2,-20*e+10))/2,easeInCirc:e=>1-Math.sqrt(1-Math.pow(e,2)),easeOutCirc:e=>Math.sqrt(1-Math.pow(e-1,2)),easeInOutCirc:e=>e<.5?(1-Math.sqrt(1-Math.pow(2*e,2)))/2:(Math.sqrt(1-Math.pow(-2*e+2,2))+1)/2,easeInBack:e=>ve*e*e*e-me*e*e,easeOutBack:e=>1+ve*Math.pow(e-1,3)+me*Math.pow(e-1,2),easeInOutBack:e=>e<.5?Math.pow(2*e,2)*(2*(ge+1)*e-ge)/2:(Math.pow(2*e-2,2)*((ge+1)*(2*e-2)+ge)+2)/2,easeInElastic:e=>0===e?0:1===e?1:-Math.pow(2,10*e-10)*Math.sin((10*e-10.75)*ye),easeOutElastic:e=>0===e?0:1===e?1:Math.pow(2,-10*e)*Math.sin((10*e-.75)*ye)+1,easeInOutElastic:e=>0===e?0:1===e?1:e<.5?-Math.pow(2,20*e-10)*Math.sin((20*e-11.125)*be)/2:Math.pow(2,-20*e+10)*Math.sin((20*e-11.125)*be)/2+1,easeInBounce:e=>1-we(1-e),easeOutBounce:we,easeInOutBounce:e=>e<.5?(1-we(1-2*e))/2:(1+we(2*e-1))/2,steps:(e,t="end")=>n=>{let r=(n="end"===t?Math.min(n,.999):Math.max(n,.001))*e;return((e,t,n)=>Math.min(Math.max(n,0),1))(0,0,("end"===t?Math.floor(r):Math.ceil(r))/e)}},Se=Symbol.for("FluidValue.get"),xe=Symbol.for("FluidValue.observers"),Ee=e=>!(!e||!e[Se]),ke=e=>e&&e[Se]?e[Se]():e,Pe=e=>e[xe]||null;function Ce(e,t){let n=e[xe];n&&n.forEach((e=>{!function(e,t){e.eventObserved?e.eventObserved(t):e(t)}(e,t)}))}var Oe=class{[Se];[xe];constructor(e){if(!e&&!(e=this.get))throw Error("Unknown getter");Te(this,e)}},Te=(e,t)=>Re(e,Se,t);function Ae(e,t){if(e[Se]){let n=e[xe];n||Re(e,xe,n=new Set),n.has(t)||(n.add(t),e.observerAdded&&e.observerAdded(n.size,t))}return t}function Fe(e,t){let n=e[xe];if(n&&n.has(t)){let r=n.size-1;r?n.delete(t):e[xe]=null,e.observerRemoved&&e.observerRemoved(r,t)}}var Ie,Re=(e,t,n)=>Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0}),Me=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,Ne=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,Le=new RegExp(`(${Me.source})(%|[a-z]+)`,"i"),Ue=/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,De=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/,je=e=>{let[t,n]=Be(e);if(!t||N())return e;let r=window.getComputedStyle(document.documentElement).getPropertyValue(t);return r?r.trim():n&&n.startsWith("--")?window.getComputedStyle(document.documentElement).getPropertyValue(n)||e:n&&De.test(n)?je(n):n||e},Be=e=>{let t=De.exec(e);if(!t)return[,];let[,n,r]=t;return[n,r]},ze=(e,t,n,r,i)=>`rgba(${Math.round(t)}, ${Math.round(n)}, ${Math.round(r)}, ${i})`,He=e=>{Ie||(Ie=L?new RegExp(`(${Object.keys(L).join("|")})(?!\\w)`,"g"):/^\b$/);let t=e.output.map((e=>ke(e).replace(De,je).replace(Ne,pe).replace(Ie,pe))),n=t.map((e=>e.match(Me).map(Number))),r=n[0].map(((e,t)=>n.map((e=>{if(!(t in e))throw Error('The arity of each "output" value must be equal');return e[t]})))).map((t=>de({...e,output:t})));return e=>{let n=!Le.test(t[0])&&t.find((e=>Le.test(e)))?.replace(Me,""),i=0;return t[0].replace(Me,(()=>`${r[i++](e)}${n||""}`)).replace(Ue,ze)}},$e="react-spring: ",Ve=e=>{let t=e,n=!1;if("function"!=typeof t)throw new TypeError(`${$e}once requires a function parameter`);return(...e)=>{n||(t(...e),n=!0)}},qe=Ve(console.warn);function We(){qe(`${$e}The "interpolate" function is deprecated in v9 (use "to" instead)`)}var Ge=Ve(console.warn);function Ze(){Ge(`${$e}Directly calling start instead of using the api object is deprecated in v9 (use ".start" instead), this will be removed in later 0.X.0 versions`)}function Ke(e){return P.str(e)&&("#"==e[0]||/\d/.test(e)||!N()&&De.test(e)||e in(L||{}))}var Ye,Xe,Qe=new WeakMap,Je=e=>e.forEach((({target:e,contentRect:t})=>Qe.get(e)?.forEach((e=>e(t))))),et=new Set,tt=(e,{container:t=document.documentElement}={})=>t===document.documentElement?(e=>(et.add(e),Xe||(Xe=(()=>{let e=()=>{et.forEach((e=>e({width:window.innerWidth,height:window.innerHeight})))};return window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}})()),()=>{et.delete(e),!et.size&&Xe&&(Xe(),Xe=void 0)}))(e):function(e,t){Ye||typeof ResizeObserver<"u"&&(Ye=new ResizeObserver(Je));let n=Qe.get(t);return n||(n=new Set,Qe.set(t,n)),n.add(e),Ye&&Ye.observe(t),()=>{let n=Qe.get(t);n&&(n.delete(e),!n.size&&Ye&&Ye.unobserve(t))}}(e,t),nt={x:{length:"Width",position:"Left"},y:{length:"Height",position:"Top"}},rt=new WeakMap,it=new WeakMap,ot=new WeakMap,st=e=>e===document.documentElement?window:e,at=(e,{container:t=document.documentElement}={})=>{let n=ot.get(t);n||(n=new Set,ot.set(t,n));let r=new class{callback;container;info;constructor(e,t){this.callback=e,this.container=t,this.info={time:0,x:this.createAxis(),y:this.createAxis()}}createAxis=()=>({current:0,progress:0,scrollLength:0});updateAxis=e=>{let t=this.info[e],{length:n,position:r}=nt[e];t.current=this.container[`scroll${r}`],t.scrollLength=this.container["scroll"+n]-this.container["client"+n],t.progress=((e,t,n)=>t-0==0?1:(n-0)/(t-0))(0,t.scrollLength,t.current)};update=()=>{this.updateAxis("x"),this.updateAxis("y")};sendEvent=()=>{this.callback(this.info)};advance=()=>{this.update(),this.sendEvent()}}(e,t);if(n.add(r),!rt.has(t)){let e=()=>(n?.forEach((e=>e.advance())),!0);rt.set(t,e);let r=st(t);window.addEventListener("resize",e,{passive:!0}),t!==document.documentElement&&it.set(t,tt(e,{container:t})),r.addEventListener("scroll",e,{passive:!0})}let o=rt.get(t);return i(o),()=>{i.cancel(o);let e=ot.get(t);if(!e||(e.delete(r),e.size))return;let n=rt.get(t);rt.delete(t),n&&(st(t).removeEventListener("scroll",n),window.removeEventListener("resize",n),it.get(t)?.())}};function ut(e){let t=(0,_.useRef)(null);return null===t.current&&(t.current=e()),t.current}var lt=N()?_.useEffect:_.useLayoutEffect,ct=()=>{let e=(0,_.useRef)(!1);return lt((()=>(e.current=!0,()=>{e.current=!1})),[]),e};function ft(){let e=(0,_.useState)()[1],t=ct();return()=>{t.current&&e(Math.random())}}function ht(e,t){let[n]=(0,_.useState)((()=>({inputs:t,result:e()}))),r=(0,_.useRef)(),i=r.current,o=i;return o?t&&o.inputs&&function(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}(t,o.inputs)||(o={inputs:t,result:e()}):o=n,(0,_.useEffect)((()=>{r.current=o,i==n&&(n.inputs=n.result=void 0)}),[o]),o.result}var pt=e=>(0,_.useEffect)(e,dt),dt=[];function mt(e){let t=(0,_.useRef)();return(0,_.useEffect)((()=>{t.current=e})),t.current}var gt=()=>{let[e,t]=(0,_.useState)(null);return lt((()=>{let e=window.matchMedia("(prefers-reduced-motion)"),n=e=>{t(e.matches),j({skipAnimation:e.matches})};return n(e),e.addEventListener("change",n),()=>{e.removeEventListener("change",n)}}),[]),e}},31034:function(e,t,n){"use strict";n.r(t),n.d(t,{Any:function(){return r.Any},BailSignal:function(){return r.BailSignal},Controller:function(){return r.Controller},FrameValue:function(){return r.FrameValue},Globals:function(){return r.Globals},Interpolation:function(){return r.Interpolation},Spring:function(){return r.Spring},SpringContext:function(){return r.SpringContext},SpringRef:function(){return r.SpringRef},SpringValue:function(){return r.SpringValue},Trail:function(){return r.Trail},Transition:function(){return r.Transition},a:function(){return b},animated:function(){return b},config:function(){return r.config},createInterpolator:function(){return r.createInterpolator},easings:function(){return r.easings},inferTo:function(){return r.inferTo},interpolate:function(){return r.interpolate},to:function(){return r.to},update:function(){return r.update},useChain:function(){return r.useChain},useInView:function(){return r.useInView},useIsomorphicLayoutEffect:function(){return r.useIsomorphicLayoutEffect},useReducedMotion:function(){return r.useReducedMotion},useResize:function(){return r.useResize},useScroll:function(){return r.useScroll},useSpring:function(){return r.useSpring},useSpringRef:function(){return r.useSpringRef},useSpringValue:function(){return r.useSpringValue},useSprings:function(){return r.useSprings},useTrail:function(){return r.useTrail},useTransition:function(){return r.useTransition}});var r=n(63871),i=n(28316),o=n(36994),s=n(39093),a=/^--/;function u(e,t){return null==t||"boolean"==typeof t||""===t?"":"number"!=typeof t||0===t||a.test(e)||c.hasOwnProperty(e)&&c[e]?(""+t).trim():t+"px"}var l={},c={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},f=["Webkit","Ms","Moz","O"];c=Object.keys(c).reduce(((e,t)=>(f.forEach((n=>e[((e,t)=>e+t.charAt(0).toUpperCase()+t.substring(1))(n,t)]=e[t])),e)),c);var h=/^(matrix|translate|scale|rotate|skew)/,p=/^(translate)/,d=/^(rotate|skew)/,m=(e,t)=>o.is.num(e)&&0!==e?e+t:e,g=(e,t)=>o.is.arr(e)?e.every((e=>g(e,t))):o.is.num(e)?e===t:parseFloat(e)===t,v=class extends s.rS{constructor({x:e,y:t,z:n,...r}){let i=[],s=[];(e||t||n)&&(i.push([e||0,t||0,n||0]),s.push((e=>[`translate3d(${e.map((e=>m(e,"px"))).join(",")})`,g(e,0)]))),(0,o.rU)(r,((e,t)=>{if("transform"===t)i.push([e||""]),s.push((e=>[e,""===e]));else if(h.test(t)){if(delete r[t],o.is.und(e))return;let n=p.test(t)?"px":d.test(t)?"deg":"";i.push((0,o.qo)(e)),s.push("rotate3d"===t?([e,t,r,i])=>[`rotate3d(${e},${t},${r},${m(i,n)})`,g(i,0)]:e=>[`${t}(${e.map((e=>m(e,n))).join(",")})`,g(e,t.startsWith("scale")?1:0)])}})),i.length&&(r.transform=new y(i,s)),super(r)}},y=class extends o.B0{constructor(e,t){super(),this.inputs=e,this.transforms=t}_value=null;get(){return this._value||(this._value=this._get())}_get(){let e="",t=!0;return(0,o.S6)(this.inputs,((n,r)=>{let i=(0,o.je)(n[0]),[s,a]=this.transforms[r](o.is.arr(i)?i:n.map(o.je));e+=" "+s,t=t&&a})),t?"none":e}observerAdded(e){1==e&&(0,o.S6)(this.inputs,(e=>(0,o.S6)(e,(e=>(0,o.j$)(e)&&(0,o.UI)(e,this)))))}observerRemoved(e){0==e&&(0,o.S6)(this.inputs,(e=>(0,o.S6)(e,(e=>(0,o.j$)(e)&&(0,o.iL)(e,this)))))}eventObserved(e){"change"==e.type&&(this._value=null),(0,o.k0)(this,e)}};r.Globals.assign({batchedUpdates:i.unstable_batchedUpdates,createStringInterpolator:o.qS,colors:o.O9});var b=(0,s.Ld)(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],{applyAnimatedValues:function(e,t){if(!e.nodeType||!e.setAttribute)return!1;let n="filter"===e.nodeName||e.parentNode&&"filter"===e.parentNode.nodeName,{style:r,children:i,scrollTop:o,scrollLeft:s,viewBox:c,...f}=t,h=Object.values(f),p=Object.keys(f).map((t=>n||e.hasAttribute(t)?t:l[t]||(l[t]=t.replace(/([A-Z])/g,(e=>"-"+e.toLowerCase())))));void 0!==i&&(e.textContent=i);for(let t in r)if(r.hasOwnProperty(t)){let n=u(t,r[t]);a.test(t)?e.style.setProperty(t,n):e.style[t]=n}p.forEach(((t,n)=>{e.setAttribute(t,h[n])})),void 0!==o&&(e.scrollTop=o),void 0!==s&&(e.scrollLeft=s),void 0!==c&&e.setAttribute("viewBox",c)},createAnimatedStyle:e=>new v(e),getComponentProps:({scrollTop:e,scrollLeft:t,...n})=>n}).animated},39961:function(e){e.exports=function(e){if("number"!=typeof e||isNaN(e))throw new TypeError("Expected a number, got "+typeof e);var t=e<0,n=["B","KB","MB","GB","TB","PB","EB","ZB","YB"];if(t&&(e=-e),e<1)return(t?"-":"")+e+" B";var r=Math.min(Math.floor(Math.log(e)/Math.log(1024)),n.length-1);e=Number(e/Math.pow(1024,r));var i=n[r];return e>=10||e%1==0?(t?"-":"")+e.toFixed(0)+" "+i:(t?"-":"")+e.toFixed(1)+" "+i}},91977:function(e,t,n){const r=n(2784),i=n(72167),o=n(10698).dashboard,s=n(57254),a=n(91761),u=r.createElement;class l extends r.Component{componentDidMount(){this.installPlugin()}componentDidUpdate(e){if(e.uppy!==this.props.uppy)this.uninstallPlugin(e),this.installPlugin();else if(a(this,e)){const e={...this.props,target:this.container};delete e.uppy,this.plugin.setOptions(e)}}componentWillUnmount(){this.uninstallPlugin()}installPlugin(){const{uppy:e}=this.props,t={id:"react:Dashboard",...this.props,target:this.container};delete t.uppy,e.use(i,t),this.plugin=e.getPlugin(t.id)}uninstallPlugin(e){void 0===e&&(e=this.props);const{uppy:t}=e;t.removePlugin(this.plugin)}render(){return this.validProps=s(this.props),u("div",{className:"uppy-Container",ref:e=>{this.container=e},...this.validProps})}}l.propTypes=o,l.defaultProps={inline:!0},e.exports=l},91484:function(e,t,n){const r=n(2784),i=n(13980),o=n(72167),s=n(10698).dashboard,a=n(57254),u=n(91761),l=r.createElement;class c extends r.Component{componentDidMount(){this.installPlugin()}componentDidUpdate(e){if(e.uppy!==this.props.uppy)this.uninstallPlugin(e),this.installPlugin();else if(u(this,e)){const e={...this.props,onRequestCloseModal:this.props.onRequestClose};delete e.uppy,this.plugin.setOptions(e)}e.open&&!this.props.open?this.plugin.closeModal():!e.open&&this.props.open&&this.plugin.openModal()}componentWillUnmount(){this.uninstallPlugin()}installPlugin(){const{uppy:e}=this.props,t={id:"react:DashboardModal",...this.props,onRequestCloseModal:this.props.onRequestClose};t.target||(t.target=this.container),delete t.uppy,e.use(o,t),this.plugin=e.getPlugin(t.id),this.props.open&&this.plugin.openModal()}uninstallPlugin(e){void 0===e&&(e=this.props);const{uppy:t}=e;t.removePlugin(this.plugin)}render(){return this.validProps=a(this.props),l("div",{className:"uppy-Container",ref:e=>{this.container=e},...this.validProps})}}c.propTypes={target:"undefined"!=typeof window?i.instanceOf(window.HTMLElement):i.any,open:i.bool,onRequestClose:i.func,closeModalOnClickOutside:i.bool,disablePageScrollWhenModalOpen:i.bool,...s},e.exports=c},37615:function(e,t,n){const r=n(2784),i=n(3026),o=n(10698),s=n(57254),a=n(91761),u=r.createElement;class l extends r.Component{componentDidMount(){this.installPlugin()}componentDidUpdate(e){if(e.uppy!==this.props.uppy)this.uninstallPlugin(e),this.installPlugin();else if(a(this,e)){const e={...this.props,target:this.container};delete e.uppy,this.plugin.setOptions(e)}}componentWillUnmount(){this.uninstallPlugin()}installPlugin(){const{uppy:e}=this.props,t={id:"react:DragDrop",...this.props,target:this.container};delete t.uppy,e.use(i,t),this.plugin=e.getPlugin(t.id)}uninstallPlugin(e){void 0===e&&(e=this.props);const{uppy:t}=e;t.removePlugin(this.plugin)}render(){return this.validProps=s(this.props),u("div",{className:"uppy-Container",ref:e=>{this.container=e},...this.validProps})}}l.propTypes={uppy:o.uppy,locale:o.locale},l.defaultProps={},e.exports=l},88594:function(e,t,n){const r=n(13980),i=n(2784),o=n(54702),s=n(10698),a=i.createElement;class u extends i.Component{componentDidMount(){this.installPlugin()}componentDidUpdate(e){e.uppy!==this.props.uppy&&(this.uninstallPlugin(e),this.installPlugin())}componentWillUnmount(){this.uninstallPlugin()}installPlugin(){const{uppy:e}=this.props,t={id:"react:FileInput",...this.props,target:this.container};delete t.uppy,e.use(o,t),this.plugin=e.getPlugin(t.id)}uninstallPlugin(e){void 0===e&&(e=this.props);const{uppy:t}=e;t.removePlugin(this.plugin)}render(){return a("div",{className:"uppy-Container",ref:e=>{this.container=e}})}}u.propTypes={uppy:s.uppy,locale:s.locale,pretty:r.bool,inputName:r.string},u.defaultProps={},e.exports=u},46379:function(e,t,n){const r=n(2784),i=n(13980),o=n(67308),s=n(10698).uppy,a=n(57254),u=n(91761),l=r.createElement;class c extends r.Component{componentDidMount(){this.installPlugin()}componentDidUpdate(e){if(e.uppy!==this.props.uppy)this.uninstallPlugin(e),this.installPlugin();else if(u(this,e)){const e={...this.props,target:this.container};delete e.uppy,this.plugin.setOptions(e)}}componentWillUnmount(){this.uninstallPlugin()}installPlugin(){const{uppy:e}=this.props,t={id:"react:ProgressBar",...this.props,target:this.container};delete t.uppy,e.use(o,t),this.plugin=e.getPlugin(t.id)}uninstallPlugin(e){void 0===e&&(e=this.props);const{uppy:t}=e;t.removePlugin(this.plugin)}render(){return this.validProps=a(this.props),l("div",{className:"uppy-Container",ref:e=>{this.container=e},...this.validProps})}}c.propTypes={uppy:s,fixed:i.bool,hideAfterFinish:i.bool},c.defaultProps={},e.exports=c},40826:function(e,t,n){const r=n(2784),i=n(13980),o=n(19671),s=n(10698).uppy,a=n(57254),u=n(91761),l=r.createElement;class c extends r.Component{componentDidMount(){this.installPlugin()}componentDidUpdate(e){if(e.uppy!==this.props.uppy)this.uninstallPlugin(e),this.installPlugin();else if(u(this,e)){const e={...this.props,target:this.container};delete e.uppy,this.plugin.setOptions(e)}}componentWillUnmount(){this.uninstallPlugin()}installPlugin(){const{uppy:e}=this.props,t={id:"react:StatusBar",...this.props,target:this.container};delete t.uppy,e.use(o,t),this.plugin=e.getPlugin(t.id)}uninstallPlugin(e){void 0===e&&(e=this.props);const{uppy:t}=e;t.removePlugin(this.plugin)}render(){return this.validProps=a(this.props),l("div",{className:"uppy-Container",ref:e=>{this.container=e},...this.validProps})}}c.propTypes={uppy:s,hideAfterFinish:i.bool,showProgressDetails:i.bool},c.defaultProps={},e.exports=c},57254:function(e){const t=["defaultChecked","defaultValue","suppressContentEditableWarning","suppressHydrationWarning","dangerouslySetInnerHTML","accessKey","className","contentEditable","contextMenu","dir","draggable","hidden","id","lang","placeholder","slot","spellCheck","style","tabIndex","title","translate","radioGroup","role","about","datatype","inlist","prefix","property","resource","typeof","vocab","autoCapitalize","autoCorrect","autoSave","color","itemProp","itemScope","itemType","itemID","itemRef","results","security","unselectable","inputMode","is","onCopy","onCopyCapture","onCut","onCutCapture","onPaste","onPasteCapture","onCompositionEnd","onCompositionEndCapture","onCompositionStart","onCompositionStartCapture","onCompositionUpdate","onCompositionUpdateCapture","onFocus","onFocusCapture","onBlur","onBlurCapture","onChange","onChangeCapture","onBeforeInput","onBeforeInputCapture","onInput","onInputCapture","onReset","onResetCapture","onSubmit","onSubmitCapture","onInvalid","onInvalidCapture","onLoad","onLoadCapture","onError","onErrorCapture","onKeyDown","onKeyDownCapture","onKeyPress","onKeyPressCapture","onKeyUp","onKeyUpCapture","onAbort","onAbortCapture","onCanPlay","onCanPlayCapture","onCanPlayThrough","onCanPlayThroughCapture","onDurationChange","onDurationChangeCapture","onEmptied","onEmptiedCapture","onEncrypted","onEncryptedCapture","onEnded","onEndedCapture","onLoadedData","onLoadedDataCapture","onLoadedMetadata","onLoadedMetadataCapture","onLoadStart","onLoadStartCapture","onPause","onPauseCapture","onPlay","onPlayCapture","onPlaying","onPlayingCapture","onProgress","onProgressCapture","onRateChange","onRateChangeCapture","onSeeked","onSeekedCapture","onSeeking","onSeekingCapture","onStalled","onStalledCapture","onSuspend","onSuspendCapture","onTimeUpdate","onTimeUpdateCapture","onVolumeChange","onVolumeChangeCapture","onWaiting","onWaitingCapture","onAuxClick","onAuxClickCapture","onClick","onClickCapture","onContextMenu","onContextMenuCapture","onDoubleClick","onDoubleClickCapture","onDrag","onDragCapture","onDragEnd","onDragEndCapture","onDragEnter","onDragEnterCapture","onDragExit","onDragExitCapture","onDragLeave","onDragLeaveCapture","onDragOver","onDragOverCapture","onDragStart","onDragStartCapture","onDrop","onDropCapture","onMouseDown","onMouseDownCapture","onMouseEnter","onMouseLeave","onMouseMove","onMouseMoveCapture","onMouseOut","onMouseOutCapture","onMouseOver","onMouseOverCapture","onMouseUp","onMouseUpCapture","onSelect","onSelectCapture","onTouchCancel","onTouchCancelCapture","onTouchEnd","onTouchEndCapture","onTouchMove","onTouchMoveCapture","onTouchStart","onTouchStartCapture","onPointerDown","onPointerDownCapture","onPointerMove","onPointerMoveCapture","onPointerUp","onPointerUpCapture","onPointerCancel","onPointerCancelCapture","onPointerEnter","onPointerEnterCapture","onPointerLeave","onPointerLeaveCapture","onPointerOver","onPointerOverCapture","onPointerOut","onPointerOutCapture","onGotPointerCapture","onGotPointerCaptureCapture","onLostPointerCapture","onLostPointerCaptureCapture","onScroll","onScrollCapture","onWheel","onWheelCapture","onAnimationStart","onAnimationStartCapture","onAnimationEnd","onAnimationEndCapture","onAnimationIteration","onAnimationIterationCapture","onTransitionEnd","onTransitionEndCapture"],n=/^(aria-|data-)/;e.exports=e=>Object.fromEntries(Object.entries(e).filter((e=>{let[r]=e;return n.test(r)||t.includes(r)})))},91761:function(e){"use strict";e.exports=function(e,t){return Object.keys(e.props).some((n=>!((e,t)=>Object.prototype.hasOwnProperty.call(e,t))(e.validProps,n)&&e.props[n]!==t[n]))}},10698:function(e,t,n){const r=n(13980),i=n(42127).Uppy,o=r.instanceOf(i).isRequired,s=r.arrayOf(r.string),a=r.shape({strings:r.object,pluralize:r.func}),u=r.shape({id:r.string.isRequired,name:r.string.isRequired,placeholder:r.string}),l=r.oneOfType([r.arrayOf(u),r.func]),c=r.oneOfType([r.string,r.number]),f={uppy:o,inline:r.bool,plugins:s,width:c,height:c,showProgressDetails:r.bool,hideUploadButton:r.bool,hideProgressAfterFinish:r.bool,note:r.string,metaFields:l,proudlyDisplayPoweredByUppy:r.bool,disableStatusBar:r.bool,disableInformer:r.bool,disableThumbnailGenerator:r.bool,thumbnailWidth:r.number,locale:a};e.exports={uppy:o,locale:a,dashboard:f}},31033:function(e,t,n){const{useEffect:r,useRef:i}=n(2784),o=n(42127).Uppy;e.exports=function(e){if("function"!=typeof e)throw new TypeError("useUppy: expected a function that returns a new Uppy instance");const t=i(void 0);if(void 0===t.current&&(t.current=e(),!(t.current instanceof o)))throw new TypeError("useUppy: factory function must return an Uppy instance, got "+typeof t.current);return r((()=>()=>{t.current.close({reason:"unmount"}),t.current=void 0}),[t]),t.current}},20433:function(e,t,n){"use strict";n.d(t,{I1:function(){return r.m},O4:function(){return r.E},SJ:function(){return r.s},aZ:function(){return r.w},bj:function(){return r.h},g5:function(){return r.f},h_:function(){return r.C},zB:function(){return r.e},zl:function(){return r.r}});var r=n(4171)},4171:function(e,t,n){"use strict";n.d(t,{C:function(){return q},E:function(){return V},S:function(){return N},_:function(){return s},a:function(){return i},b:function(){return y},c:function(){return k},d:function(){return c},e:function(){return G},f:function(){return Y},h:function(){return Z},i:function(){return d},m:function(){return K},p:function(){return h},r:function(){return W},s:function(){return X},t:function(){return p},w:function(){return Q}});var r=n(14647);function i(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const a={pointer:{start:"down",change:"move",end:"up"},mouse:{start:"down",change:"move",end:"up"},touch:{start:"start",change:"move",end:"end"},gesture:{start:"start",change:"change",end:"end"}};function u(e){return e?e[0].toUpperCase()+e.slice(1):""}const l=["enter","leave"];function c(e,t="",n=!1){const r=a[e],i=r&&r[t]||t;return"on"+u(e)+u(i)+(function(e=!1,t){return e&&!l.includes(t)}(n,i)?"Capture":"")}const f=["gotpointercapture","lostpointercapture"];function h(e){let t=e.substring(2).toLowerCase();const n=!!~t.indexOf("passive");n&&(t=t.replace("passive",""));const r=f.includes(t)?"capturecapture":"capture",i=!!~t.indexOf(r);return i&&(t=t.replace("capture","")),{device:t,capture:i,passive:n}}function p(e,t=""){const n=a[e];return e+(n&&n[t]||t)}function d(e){return"touches"in e}function m(e){return d(e)?"touch":"pointerType"in e?e.pointerType:"mouse"}function g(e){return d(e)?function(e){return"touchend"===e.type||"touchcancel"===e.type?e.changedTouches:e.targetTouches}(e)[0]:e}function v(e,t){try{const n=t.clientX-e.clientX,r=t.clientY-e.clientY,i=(t.clientX+e.clientX)/2,o=(t.clientY+e.clientY)/2,s=Math.hypot(n,r);return{angle:-180*Math.atan2(n,r)/Math.PI,distance:s,origin:[i,o]}}catch(e){}return null}function y(e){return function(e){return Array.from(e.touches).filter((t=>{var n,r;return t.target===e.currentTarget||(null===(n=e.currentTarget)||void 0===n||null===(r=n.contains)||void 0===r?void 0:r.call(n,t.target))}))}(e).map((e=>e.identifier))}function b(e,t){const[n,r]=Array.from(e.touches).filter((e=>t.includes(e.identifier)));return v(n,r)}function w(e){const t=g(e);return d(e)?t.identifier:t.pointerId}function _(e){const t=g(e);return[t.clientX,t.clientY]}function S(e){let{deltaX:t,deltaY:n,deltaMode:r}=e;return 1===r?(t*=40,n*=40):2===r&&(t*=800,n*=800),[t,n]}function x(e,...t){return"function"==typeof e?e(...t):e}function E(){}function k(...e){return 0===e.length?E:1===e.length?e[0]:function(){let t;for(const n of e)t=n.apply(this,arguments)||t;return t}}function P(e,t){return Object.assign({},t,e||{})}class C{constructor(e,t,n){this.ctrl=e,this.args=t,this.key=n,this.state||(this.state={},this.computeValues([0,0]),this.computeInitial(),this.init&&this.init(),this.reset())}get state(){return this.ctrl.state[this.key]}set state(e){this.ctrl.state[this.key]=e}get shared(){return this.ctrl.state.shared}get eventStore(){return this.ctrl.gestureEventStores[this.key]}get timeoutStore(){return this.ctrl.gestureTimeoutStores[this.key]}get config(){return this.ctrl.config[this.key]}get sharedConfig(){return this.ctrl.config.shared}get handler(){return this.ctrl.handlers[this.key]}reset(){const{state:e,shared:t,ingKey:n,args:r}=this;t[n]=e._active=e.active=e._blocked=e._force=!1,e._step=[!1,!1],e.intentional=!1,e._movement=[0,0],e._distance=[0,0],e._direction=[0,0],e._delta=[0,0],e._bounds=[[-1/0,1/0],[-1/0,1/0]],e.args=r,e.axis=void 0,e.memo=void 0,e.elapsedTime=e.timeDelta=0,e.direction=[0,0],e.distance=[0,0],e.overflow=[0,0],e._movementBound=[!1,!1],e.velocity=[0,0],e.movement=[0,0],e.delta=[0,0],e.timeStamp=0}start(e){const t=this.state,n=this.config;t._active||(this.reset(),this.computeInitial(),t._active=!0,t.target=e.target,t.currentTarget=e.currentTarget,t.lastOffset=n.from?x(n.from,t):t.offset,t.offset=t.lastOffset,t.startTime=t.timeStamp=e.timeStamp)}computeValues(e){const t=this.state;t._values=e,t.values=this.config.transform(e)}computeInitial(){const e=this.state;e._initial=e._values,e.initial=e.values}compute(e){const{state:t,config:n,shared:i}=this;t.args=this.args;let o=0;if(e&&(t.event=e,n.preventDefault&&e.cancelable&&t.event.preventDefault(),t.type=e.type,i.touches=this.ctrl.pointerIds.size||this.ctrl.touchIds.size,i.locked=!!document.pointerLockElement,Object.assign(i,function(e){const t={};if("buttons"in e&&(t.buttons=e.buttons),"shiftKey"in e){const{shiftKey:n,altKey:r,metaKey:i,ctrlKey:o}=e;Object.assign(t,{shiftKey:n,altKey:r,metaKey:i,ctrlKey:o})}return t}(e)),i.down=i.pressed=i.buttons%2==1||i.touches>0,o=e.timeStamp-t.timeStamp,t.timeStamp=e.timeStamp,t.elapsedTime=t.timeStamp-t.startTime),t._active){const e=t._delta.map(Math.abs);r.V.addTo(t._distance,e)}this.axisIntent&&this.axisIntent(e);const[s,a]=t._movement,[u,l]=n.threshold,{_step:c,values:f}=t;if(n.hasCustomTransform?(!1===c[0]&&(c[0]=Math.abs(s)>=u&&f[0]),!1===c[1]&&(c[1]=Math.abs(a)>=l&&f[1])):(!1===c[0]&&(c[0]=Math.abs(s)>=u&&Math.sign(s)*u),!1===c[1]&&(c[1]=Math.abs(a)>=l&&Math.sign(a)*l)),t.intentional=!1!==c[0]||!1!==c[1],!t.intentional)return;const h=[0,0];if(n.hasCustomTransform){const[e,t]=f;h[0]=!1!==c[0]?e-c[0]:0,h[1]=!1!==c[1]?t-c[1]:0}else h[0]=!1!==c[0]?s-c[0]:0,h[1]=!1!==c[1]?a-c[1]:0;this.restrictToAxis&&!t._blocked&&this.restrictToAxis(h);const p=t.offset,d=t._active&&!t._blocked||t.active;d&&(t.first=t._active&&!t.active,t.last=!t._active&&t.active,t.active=i[this.ingKey]=t._active,e&&(t.first&&("bounds"in n&&(t._bounds=x(n.bounds,t)),this.setup&&this.setup()),t.movement=h,this.computeOffset()));const[m,g]=t.offset,[[v,y],[b,w]]=t._bounds;t.overflow=[m<v?-1:m>y?1:0,g<b?-1:g>w?1:0],t._movementBound[0]=!!t.overflow[0]&&(!1===t._movementBound[0]?t._movement[0]:t._movementBound[0]),t._movementBound[1]=!!t.overflow[1]&&(!1===t._movementBound[1]?t._movement[1]:t._movementBound[1]);const _=t._active&&n.rubberband||[0,0];if(t.offset=(0,r.c)(t._bounds,t.offset,_),t.delta=r.V.sub(t.offset,p),this.computeMovement(),d&&(!t.last||o>32)){t.delta=r.V.sub(t.offset,p);const e=t.delta.map(Math.abs);r.V.addTo(t.distance,e),t.direction=t.delta.map(Math.sign),t._direction=t._delta.map(Math.sign),!t.first&&o>0&&(t.velocity=[e[0]/o,e[1]/o],t.timeDelta=o)}}emit(){const e=this.state,t=this.shared,n=this.config;if(e._active||this.clean(),(e._blocked||!e.intentional)&&!e._force&&!n.triggerAllEvents)return;const r=this.handler(s(s(s({},t),e),{},{[this.aliasKey]:e.values}));void 0!==r&&(e.memo=r)}clean(){this.eventStore.clean(),this.timeoutStore.clean()}}class O extends C{constructor(...e){super(...e),i(this,"aliasKey","xy")}reset(){super.reset(),this.state.axis=void 0}init(){this.state.offset=[0,0],this.state.lastOffset=[0,0]}computeOffset(){this.state.offset=r.V.add(this.state.lastOffset,this.state.movement)}computeMovement(){this.state.movement=r.V.sub(this.state.offset,this.state.lastOffset)}axisIntent(e){const t=this.state,n=this.config;if(!t.axis&&e){const r="object"==typeof n.axisThreshold?n.axisThreshold[m(e)]:n.axisThreshold;t.axis=function([e,t],n){const r=Math.abs(e),i=Math.abs(t);return r>i&&r>n?"x":i>r&&i>n?"y":void 0}(t._movement,r)}t._blocked=(n.lockDirection||!!n.axis)&&!t.axis||!!n.axis&&n.axis!==t.axis}restrictToAxis(e){if(this.config.axis||this.config.lockDirection)switch(this.state.axis){case"x":e[1]=0;break;case"y":e[0]=0}}}const T=e=>e,A={enabled(e=!0){return e},eventOptions(e,t,n){return s(s({},n.shared.eventOptions),e)},preventDefault(e=!1){return e},triggerAllEvents(e=!1){return e},rubberband(e=0){switch(e){case!0:return[.15,.15];case!1:return[0,0];default:return r.V.toVector(e)}},from(e){return"function"==typeof e?e:null!=e?r.V.toVector(e):void 0},transform(e,t,n){const r=e||n.shared.transform;return this.hasCustomTransform=!!r,r||T},threshold(e){return r.V.toVector(e,0)}},F=s(s({},A),{},{axis(e,t,{axis:n}){if(this.lockDirection="lock"===n,!this.lockDirection)return n},axisThreshold(e=0){return e},bounds(e={}){if("function"==typeof e)return t=>F.bounds(e(t));if("current"in e)return()=>e.current;if("function"==typeof HTMLElement&&e instanceof HTMLElement)return e;const{left:t=-1/0,right:n=1/0,top:r=-1/0,bottom:i=1/0}=e;return[[t,n],[r,i]]}}),I={ArrowRight:(e,t=1)=>[e*t,0],ArrowLeft:(e,t=1)=>[-1*e*t,0],ArrowUp:(e,t=1)=>[0,-1*e*t],ArrowDown:(e,t=1)=>[0,e*t]},R="undefined"!=typeof window&&window.document&&window.document.createElement;function M(){return R&&"ontouchstart"in window||R&&window.navigator.maxTouchPoints>1}const N={isBrowser:R,gesture:function(){try{return"constructor"in GestureEvent}catch(e){return!1}}(),touch:M(),touchscreen:M(),pointer:R&&"onpointerdown"in window,pointerLock:R&&"exitPointerLock"in window.document},L={mouse:0,touch:0,pen:8},U=s(s({},F),{},{device(e,t,{pointer:{touch:n=!1,lock:r=!1,mouse:i=!1}={}}){return this.pointerLock=r&&N.pointerLock,N.touch&&n?"touch":this.pointerLock?"mouse":N.pointer&&!i?"pointer":N.touch?"touch":"mouse"},preventScrollAxis(e,t,{preventScroll:n}){if(this.preventScrollDelay="number"==typeof n?n:n||void 0===n&&e?250:void 0,N.touchscreen&&!1!==n)return e||(void 0!==n?"y":void 0)},pointerCapture(e,t,{pointer:{capture:n=!0,buttons:r=1,keys:i=!0}={}}){return this.pointerButtons=r,this.keys=i,!this.pointerLock&&"pointer"===this.device&&n},threshold(e,t,{filterTaps:n=!1,tapsThreshold:i=3,axis:o}){const s=r.V.toVector(e,n?i:o?1:0);return this.filterTaps=n,this.tapsThreshold=i,s},swipe({velocity:e=.5,distance:t=50,duration:n=250}={}){return{velocity:this.transform(r.V.toVector(e)),distance:this.transform(r.V.toVector(t)),duration:n}},delay(e=0){switch(e){case!0:return 180;case!1:return 0;default:return e}},axisThreshold(e){return e?s(s({},L),e):L},keyboardDisplacement(e=10){return e}});function D(e){const[t,n]=e.overflow,[r,i]=e._delta,[o,s]=e._direction;(t<0&&r>0&&o<0||t>0&&r<0&&o>0)&&(e._movement[0]=e._movementBound[0]),(n<0&&i>0&&s<0||n>0&&i<0&&s>0)&&(e._movement[1]=e._movementBound[1])}const j=s(s({},A),{},{device(e,t,{shared:n,pointer:{touch:r=!1}={}}){if(n.target&&!N.touch&&N.gesture)return"gesture";if(N.touch&&r)return"touch";if(N.touchscreen){if(N.pointer)return"pointer";if(N.touch)return"touch"}},bounds(e,t,{scaleBounds:n={},angleBounds:r={}}){const i=e=>{const t=P(x(n,e),{min:-1/0,max:1/0});return[t.min,t.max]},o=e=>{const t=P(x(r,e),{min:-1/0,max:1/0});return[t.min,t.max]};return"function"!=typeof n&&"function"!=typeof r?[i(),o()]:e=>[i(e),o(e)]},threshold(e,t,n){return this.lockDirection="lock"===n.axis,r.V.toVector(e,this.lockDirection?[.1,3]:0)},modifierKey(e){return void 0===e?"ctrlKey":e},pinchOnWheel(e=!0){return e}}),B=s(s({},F),{},{mouseOnly:(e=!0)=>e}),z=F,H=F,$=s(s({},F),{},{mouseOnly:(e=!0)=>e}),V=new Map,q=new Map;function W(e){V.set(e.key,e.engine),q.set(e.key,e.resolver)}const G={key:"drag",engine:class extends O{constructor(...e){super(...e),i(this,"ingKey","dragging")}reset(){super.reset();const e=this.state;e._pointerId=void 0,e._pointerActive=!1,e._keyboardActive=!1,e._preventScroll=!1,e._delayed=!1,e.swipe=[0,0],e.tap=!1,e.canceled=!1,e.cancel=this.cancel.bind(this)}setup(){const e=this.state;if(e._bounds instanceof HTMLElement){const t=e._bounds.getBoundingClientRect(),n=e.currentTarget.getBoundingClientRect(),r={left:t.left-n.left+e.offset[0],right:t.right-n.right+e.offset[0],top:t.top-n.top+e.offset[1],bottom:t.bottom-n.bottom+e.offset[1]};e._bounds=F.bounds(r)}}cancel(){const e=this.state;e.canceled||(e.canceled=!0,e._active=!1,setTimeout((()=>{this.compute(),this.emit()}),0))}setActive(){this.state._active=this.state._pointerActive||this.state._keyboardActive}clean(){this.pointerClean(),this.state._pointerActive=!1,this.state._keyboardActive=!1,super.clean()}pointerDown(e){const t=this.config,n=this.state;if(null!=e.buttons&&(Array.isArray(t.pointerButtons)?!t.pointerButtons.includes(e.buttons):-1!==t.pointerButtons&&t.pointerButtons!==e.buttons))return;const r=this.ctrl.setEventIds(e);t.pointerCapture&&e.target.setPointerCapture(e.pointerId),r&&r.size>1&&n._pointerActive||(this.start(e),this.setupPointer(e),n._pointerId=w(e),n._pointerActive=!0,this.computeValues(_(e)),this.computeInitial(),t.preventScrollAxis&&"mouse"!==m(e)?(n._active=!1,this.setupScrollPrevention(e)):t.delay>0?(this.setupDelayTrigger(e),t.triggerAllEvents&&(this.compute(e),this.emit())):this.startPointerDrag(e))}startPointerDrag(e){const t=this.state;t._active=!0,t._preventScroll=!0,t._delayed=!1,this.compute(e),this.emit()}pointerMove(e){const t=this.state,n=this.config;if(!t._pointerActive)return;if(t.type===e.type&&e.timeStamp===t.timeStamp)return;const i=w(e);if(void 0!==t._pointerId&&i!==t._pointerId)return;const o=_(e);return document.pointerLockElement===e.target?t._delta=[e.movementX,e.movementY]:(t._delta=r.V.sub(o,t._values),this.computeValues(o)),r.V.addTo(t._movement,t._delta),this.compute(e),t._delayed&&t.intentional?(this.timeoutStore.remove("dragDelay"),t.active=!1,void this.startPointerDrag(e)):n.preventScrollAxis&&!t._preventScroll?t.axis?t.axis===n.preventScrollAxis||"xy"===n.preventScrollAxis?(t._active=!1,void this.clean()):(this.timeoutStore.remove("startPointerDrag"),void this.startPointerDrag(e)):void 0:void this.emit()}pointerUp(e){this.ctrl.setEventIds(e);try{this.config.pointerCapture&&e.target.hasPointerCapture(e.pointerId)&&e.target.releasePointerCapture(e.pointerId)}catch(e){}const t=this.state,n=this.config;if(!t._active||!t._pointerActive)return;const r=w(e);if(void 0!==t._pointerId&&r!==t._pointerId)return;this.state._pointerActive=!1,this.setActive(),this.compute(e);const[i,o]=t._distance;if(t.tap=i<=n.tapsThreshold&&o<=n.tapsThreshold,t.tap&&n.filterTaps)t._force=!0;else{const[e,r]=t._delta,[i,o]=t._movement,[s,a]=n.swipe.velocity,[u,l]=n.swipe.distance,c=n.swipe.duration;if(t.elapsedTime<c){const n=Math.abs(e/t.timeDelta),c=Math.abs(r/t.timeDelta);n>s&&Math.abs(i)>u&&(t.swipe[0]=Math.sign(e)),c>a&&Math.abs(o)>l&&(t.swipe[1]=Math.sign(r))}}this.emit()}pointerClick(e){!this.state.tap&&e.detail>0&&(e.preventDefault(),e.stopPropagation())}setupPointer(e){const t=this.config,n=t.device;t.pointerLock&&e.currentTarget.requestPointerLock(),t.pointerCapture||(this.eventStore.add(this.sharedConfig.window,n,"change",this.pointerMove.bind(this)),this.eventStore.add(this.sharedConfig.window,n,"end",this.pointerUp.bind(this)),this.eventStore.add(this.sharedConfig.window,n,"cancel",this.pointerUp.bind(this)))}pointerClean(){this.config.pointerLock&&document.pointerLockElement===this.state.currentTarget&&document.exitPointerLock()}preventScroll(e){this.state._preventScroll&&e.cancelable&&e.preventDefault()}setupScrollPrevention(e){this.state._preventScroll=!1,function(e){"persist"in e&&"function"==typeof e.persist&&e.persist()}(e);const t=this.eventStore.add(this.sharedConfig.window,"touch","change",this.preventScroll.bind(this),{passive:!1});this.eventStore.add(this.sharedConfig.window,"touch","end",t),this.eventStore.add(this.sharedConfig.window,"touch","cancel",t),this.timeoutStore.add("startPointerDrag",this.startPointerDrag.bind(this),this.config.preventScrollDelay,e)}setupDelayTrigger(e){this.state._delayed=!0,this.timeoutStore.add("dragDelay",(()=>{this.state._step=[0,0],this.startPointerDrag(e)}),this.config.delay)}keyDown(e){const t=I[e.key];if(t){const n=this.state,i=e.shiftKey?10:e.altKey?.1:1;this.start(e),n._delta=t(this.config.keyboardDisplacement,i),n._keyboardActive=!0,r.V.addTo(n._movement,n._delta),this.compute(e),this.emit()}}keyUp(e){e.key in I&&(this.state._keyboardActive=!1,this.setActive(),this.compute(e),this.emit())}bind(e){const t=this.config.device;e(t,"start",this.pointerDown.bind(this)),this.config.pointerCapture&&(e(t,"change",this.pointerMove.bind(this)),e(t,"end",this.pointerUp.bind(this)),e(t,"cancel",this.pointerUp.bind(this)),e("lostPointerCapture","",this.pointerUp.bind(this))),this.config.keys&&(e("key","down",this.keyDown.bind(this)),e("key","up",this.keyUp.bind(this))),this.config.filterTaps&&e("click","",this.pointerClick.bind(this),{capture:!0,passive:!1})}},resolver:U},Z={key:"hover",engine:class extends O{constructor(...e){super(...e),i(this,"ingKey","hovering")}enter(e){this.config.mouseOnly&&"mouse"!==e.pointerType||(this.start(e),this.computeValues(_(e)),this.compute(e),this.emit())}leave(e){if(this.config.mouseOnly&&"mouse"!==e.pointerType)return;const t=this.state;if(!t._active)return;t._active=!1;const n=_(e);t._movement=t._delta=r.V.sub(n,t._values),this.computeValues(n),this.compute(e),t.delta=t.movement,this.emit()}bind(e){e("pointer","enter",this.enter.bind(this)),e("pointer","leave",this.leave.bind(this))}},resolver:$},K={key:"move",engine:class extends O{constructor(...e){super(...e),i(this,"ingKey","moving")}move(e){this.config.mouseOnly&&"mouse"!==e.pointerType||(this.state._active?this.moveChange(e):this.moveStart(e),this.timeoutStore.add("moveEnd",this.moveEnd.bind(this)))}moveStart(e){this.start(e),this.computeValues(_(e)),this.compute(e),this.computeInitial(),this.emit()}moveChange(e){if(!this.state._active)return;const t=_(e),n=this.state;n._delta=r.V.sub(t,n._values),r.V.addTo(n._movement,n._delta),this.computeValues(t),this.compute(e),this.emit()}moveEnd(e){this.state._active&&(this.state._active=!1,this.compute(e),this.emit())}bind(e){e("pointer","change",this.move.bind(this)),e("pointer","leave",this.moveEnd.bind(this))}},resolver:B},Y={key:"pinch",engine:class extends C{constructor(...e){super(...e),i(this,"ingKey","pinching"),i(this,"aliasKey","da")}init(){this.state.offset=[1,0],this.state.lastOffset=[1,0],this.state._pointerEvents=new Map}reset(){super.reset();const e=this.state;e._touchIds=[],e.canceled=!1,e.cancel=this.cancel.bind(this),e.turns=0}computeOffset(){const{type:e,movement:t,lastOffset:n}=this.state;this.state.offset="wheel"===e?r.V.add(t,n):[(1+t[0])*n[0],t[1]+n[1]]}computeMovement(){const{offset:e,lastOffset:t}=this.state;this.state.movement=[e[0]/t[0],e[1]-t[1]]}axisIntent(){const e=this.state,[t,n]=e._movement;if(!e.axis){const r=30*Math.abs(t)-Math.abs(n);r<0?e.axis="angle":r>0&&(e.axis="scale")}}restrictToAxis(e){this.config.lockDirection&&("scale"===this.state.axis?e[1]=0:"angle"===this.state.axis&&(e[0]=0))}cancel(){const e=this.state;e.canceled||setTimeout((()=>{e.canceled=!0,e._active=!1,this.compute(),this.emit()}),0)}touchStart(e){this.ctrl.setEventIds(e);const t=this.state,n=this.ctrl.touchIds;if(t._active&&t._touchIds.every((e=>n.has(e))))return;if(n.size<2)return;this.start(e),t._touchIds=Array.from(n).slice(0,2);const r=b(e,t._touchIds);r&&this.pinchStart(e,r)}pointerStart(e){if(null!=e.buttons&&e.buttons%2!=1)return;this.ctrl.setEventIds(e),e.target.setPointerCapture(e.pointerId);const t=this.state,n=t._pointerEvents,r=this.ctrl.pointerIds;if(t._active&&Array.from(n.keys()).every((e=>r.has(e))))return;if(n.size<2&&n.set(e.pointerId,e),t._pointerEvents.size<2)return;this.start(e);const i=v(...Array.from(n.values()));i&&this.pinchStart(e,i)}pinchStart(e,t){this.state.origin=t.origin,this.computeValues([t.distance,t.angle]),this.computeInitial(),this.compute(e),this.emit()}touchMove(e){if(!this.state._active)return;const t=b(e,this.state._touchIds);t&&this.pinchMove(e,t)}pointerMove(e){const t=this.state._pointerEvents;if(t.has(e.pointerId)&&t.set(e.pointerId,e),!this.state._active)return;const n=v(...Array.from(t.values()));n&&this.pinchMove(e,n)}pinchMove(e,t){const n=this.state,r=n._values[1],i=t.angle-r;let o=0;Math.abs(i)>270&&(o+=Math.sign(i)),this.computeValues([t.distance,t.angle-360*o]),n.origin=t.origin,n.turns=o,n._movement=[n._values[0]/n._initial[0]-1,n._values[1]-n._initial[1]],this.compute(e),this.emit()}touchEnd(e){this.ctrl.setEventIds(e),this.state._active&&this.state._touchIds.some((e=>!this.ctrl.touchIds.has(e)))&&(this.state._active=!1,this.compute(e),this.emit())}pointerEnd(e){const t=this.state;this.ctrl.setEventIds(e);try{e.target.releasePointerCapture(e.pointerId)}catch(e){}t._pointerEvents.has(e.pointerId)&&t._pointerEvents.delete(e.pointerId),t._active&&t._pointerEvents.size<2&&(t._active=!1,this.compute(e),this.emit())}gestureStart(e){e.cancelable&&e.preventDefault();const t=this.state;t._active||(this.start(e),this.computeValues([e.scale,e.rotation]),t.origin=[e.clientX,e.clientY],this.compute(e),this.emit())}gestureMove(e){if(e.cancelable&&e.preventDefault(),!this.state._active)return;const t=this.state;this.computeValues([e.scale,e.rotation]),t.origin=[e.clientX,e.clientY];const n=t._movement;t._movement=[e.scale-1,e.rotation],t._delta=r.V.sub(t._movement,n),this.compute(e),this.emit()}gestureEnd(e){this.state._active&&(this.state._active=!1,this.compute(e),this.emit())}wheel(e){const t=this.config.modifierKey;t&&!e[t]||(this.state._active?this.wheelChange(e):this.wheelStart(e),this.timeoutStore.add("wheelEnd",this.wheelEnd.bind(this)))}wheelStart(e){this.start(e),this.wheelChange(e)}wheelChange(e){"uv"in e||e.cancelable&&e.preventDefault();const t=this.state;t._delta=[-S(e)[1]/100*t.offset[0],0],r.V.addTo(t._movement,t._delta),D(t),this.state.origin=[e.clientX,e.clientY],this.compute(e),this.emit()}wheelEnd(){this.state._active&&(this.state._active=!1,this.compute(),this.emit())}bind(e){const t=this.config.device;t&&(e(t,"start",this[t+"Start"].bind(this)),e(t,"change",this[t+"Move"].bind(this)),e(t,"end",this[t+"End"].bind(this)),e(t,"cancel",this[t+"End"].bind(this))),this.config.pinchOnWheel&&e("wheel","",this.wheel.bind(this),{passive:!1})}},resolver:j},X={key:"scroll",engine:class extends O{constructor(...e){super(...e),i(this,"ingKey","scrolling")}scroll(e){this.state._active||this.start(e),this.scrollChange(e),this.timeoutStore.add("scrollEnd",this.scrollEnd.bind(this))}scrollChange(e){e.cancelable&&e.preventDefault();const t=this.state,n=function(e){var t,n;const{scrollX:r,scrollY:i,scrollLeft:o,scrollTop:s}=e.currentTarget;return[null!==(t=null!=r?r:o)&&void 0!==t?t:0,null!==(n=null!=i?i:s)&&void 0!==n?n:0]}(e);t._delta=r.V.sub(n,t._values),r.V.addTo(t._movement,t._delta),this.computeValues(n),this.compute(e),this.emit()}scrollEnd(){this.state._active&&(this.state._active=!1,this.compute(),this.emit())}bind(e){e("scroll","",this.scroll.bind(this))}},resolver:z},Q={key:"wheel",engine:class extends O{constructor(...e){super(...e),i(this,"ingKey","wheeling")}wheel(e){this.state._active||this.start(e),this.wheelChange(e),this.timeoutStore.add("wheelEnd",this.wheelEnd.bind(this))}wheelChange(e){const t=this.state;t._delta=S(e),r.V.addTo(t._movement,t._delta),D(t),this.compute(e),this.emit()}wheelEnd(){this.state._active&&(this.state._active=!1,this.compute(),this.emit())}bind(e){e("wheel","",this.wheel.bind(this))}},resolver:H}},14647:function(e,t,n){"use strict";n.d(t,{V:function(){return r},c:function(){return s},r:function(){return o}});const r={toVector(e,t){return void 0===e&&(e=t),Array.isArray(e)?e:[e,e]},add(e,t){return[e[0]+t[0],e[1]+t[1]]},sub(e,t){return[e[0]-t[0],e[1]-t[1]]},addTo(e,t){e[0]+=t[0],e[1]+=t[1]},subTo(e,t){e[0]-=t[0],e[1]-=t[1]}};function i(e,t,n){return 0===t||Math.abs(t)===1/0?Math.pow(e,5*n):e*t*n/(t+n*e)}function o(e,t,n,r=.15){return 0===r?function(e,t,n){return Math.max(t,Math.min(e,n))}(e,t,n):e<t?-i(t-e,n-t,r)+t:e>n?+i(e-n,n-t,r)+n:e}function s(e,[t,n],[r,i]){const[[s,a],[u,l]]=e;return[o(t,s,a,r),o(n,u,l,i)]}},4634:function(e,t,n){"use strict";n.d(t,{Q:function(){return l},V:function(){return d}});var r=n(4171);const i={target(e){if(e)return()=>"current"in e?e.current:e},enabled(e=!0){return e},window(e=(r.S.isBrowser?window:void 0)){return e},eventOptions({passive:e=!0,capture:t=!1}={}){return{passive:e,capture:t}},transform(e){return e}},o=["target","eventOptions","window","enabled","transform"];function s(e={},t){const n={};for(const[r,i]of Object.entries(t))switch(typeof i){case"function":n[r]=i.call(n,e[r],r,e);break;case"object":n[r]=s(e[r],i);break;case"boolean":i&&(n[r]=e[r])}return n}class a{constructor(e,t){(0,r.a)(this,"_listeners",new Set),this._ctrl=e,this._gestureKey=t}add(e,t,n,i,o){const s=this._listeners,a=(0,r.t)(t,n),u=this._gestureKey?this._ctrl.config[this._gestureKey].eventOptions:{},l=(0,r._)((0,r._)({},u),o);e.addEventListener(a,i,l);const c=()=>{e.removeEventListener(a,i,l),s.delete(c)};return s.add(c),c}clean(){this._listeners.forEach((e=>e())),this._listeners.clear()}}class u{constructor(){(0,r.a)(this,"_timeouts",new Map)}add(e,t,n=140,...r){this.remove(e),this._timeouts.set(e,window.setTimeout(t,n,...r))}remove(e){const t=this._timeouts.get(e);t&&window.clearTimeout(t)}clean(){this._timeouts.forEach((e=>{window.clearTimeout(e)})),this._timeouts.clear()}}class l{constructor(e){var t,n;(0,r.a)(this,"gestures",new Set),(0,r.a)(this,"_targetEventStore",new a(this)),(0,r.a)(this,"gestureEventStores",{}),(0,r.a)(this,"gestureTimeoutStores",{}),(0,r.a)(this,"handlers",{}),(0,r.a)(this,"config",{}),(0,r.a)(this,"pointerIds",new Set),(0,r.a)(this,"touchIds",new Set),(0,r.a)(this,"state",{shared:{shiftKey:!1,metaKey:!1,ctrlKey:!1,altKey:!1}}),t=this,(n=e).drag&&c(t,"drag"),n.wheel&&c(t,"wheel"),n.scroll&&c(t,"scroll"),n.move&&c(t,"move"),n.pinch&&c(t,"pinch"),n.hover&&c(t,"hover")}setEventIds(e){return(0,r.i)(e)?(this.touchIds=new Set((0,r.b)(e)),this.touchIds):"pointerId"in e?("pointerup"===e.type||"pointercancel"===e.type?this.pointerIds.delete(e.pointerId):"pointerdown"===e.type&&this.pointerIds.add(e.pointerId),this.pointerIds):void 0}applyHandlers(e,t){this.handlers=e,this.nativeHandlers=t}applyConfig(e,t){this.config=function(e,t,n={}){const a=e,{target:u,eventOptions:l,window:c,enabled:f,transform:h}=a,p=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(a,o);if(n.shared=s({target:u,eventOptions:l,window:c,enabled:f,transform:h},i),t){const e=r.C.get(t);n[t]=s((0,r._)({shared:n.shared},p),e)}else for(const e in p){const t=r.C.get(e);t&&(n[e]=s((0,r._)({shared:n.shared},p[e]),t))}return n}(e,t,this.config)}clean(){this._targetEventStore.clean();for(const e of this.gestures)this.gestureEventStores[e].clean(),this.gestureTimeoutStores[e].clean()}effect(){return this.config.shared.target&&this.bind(),()=>this._targetEventStore.clean()}bind(...e){const t=this.config.shared,n={};let i;if(!t.target||(i=t.target(),i)){if(t.enabled){for(const t of this.gestures){const o=this.config[t],s=f(n,o.eventOptions,!!i);o.enabled&&new(r.E.get(t))(this,e,t).bind(s)}const o=f(n,t.eventOptions,!!i);for(const t in this.nativeHandlers)o(t,"",(n=>this.nativeHandlers[t]((0,r._)((0,r._)({},this.state.shared),{},{event:n,args:e}))),void 0,!0)}for(const e in n)n[e]=(0,r.c)(...n[e]);if(!i)return n;for(const e in n){const{device:t,capture:o,passive:s}=(0,r.p)(e);this._targetEventStore.add(i,t,"",n[e],{capture:o,passive:s})}}}}function c(e,t){e.gestures.add(t),e.gestureEventStores[t]=new a(e,t),e.gestureTimeoutStores[t]=new u}const f=(e,t,n)=>(i,o,s,a={},u=!1)=>{var l,c;const f=null!==(l=a.capture)&&void 0!==l?l:t.capture,h=null!==(c=a.passive)&&void 0!==c?c:t.passive;let p=u?i:(0,r.d)(i,o,f);n&&h&&(p+="Passive"),e[p]=e[p]||[],e[p].push(s)},h=/^on(Drag|Wheel|Scroll|Move|Pinch|Hover)/;function p(e,t,n,i,o,s){if(!e.has(n))return;if(!r.E.has(i))return;const a=n+"Start",u=n+"End";o[i]=e=>{let r;return e.first&&a in t&&t[a](e),n in t&&(r=t[n](e)),e.last&&u in t&&t[u](e),r},s[i]=s[i]||{}}function d(e,t){const[n,r,i]=function(e){const t={},n={},r=new Set;for(let i in e)h.test(i)?(r.add(RegExp.lastMatch),n[i]=e[i]):t[i]=e[i];return[n,t,r]}(e),o={};return p(i,n,"onDrag","drag",o,t),p(i,n,"onWheel","wheel",o,t),p(i,n,"onScroll","scroll",o,t),p(i,n,"onPinch","pinch",o,t),p(i,n,"onMove","move",o,t),p(i,n,"onHover","hover",o,t),{handlers:o,config:t,nativeHandlers:r}}},90455:function(){},18606:function(e,t,n){"use strict";n.d(t,{U:function(){return r.r}});var r=n(14647)},86814:function(e,t,n){"use strict";n.r(t),n.d(t,{ConfigResolverMap:function(){return i.h_},EngineMap:function(){return i.O4},createUseGesture:function(){return y},dragAction:function(){return i.zB},hoverAction:function(){return i.bj},moveAction:function(){return i.I1},pinchAction:function(){return i.g5},registerAction:function(){return i.zl},rubberbandIfOutOfBounds:function(){return a.U},scrollAction:function(){return i.SJ},useDrag:function(){return h},useGesture:function(){return b},useHover:function(){return v},useMove:function(){return g},usePinch:function(){return p},useScroll:function(){return m},useWheel:function(){return d},wheelAction:function(){return i.aZ}});var r=n(4171),i=n(20433),o=n(2784),s=n(4634),a=n(18606),u=n(90455),l={};for(var c in u)["default","createUseGesture","useDrag","useGesture","useHover","useMove","usePinch","useScroll","useWheel","ConfigResolverMap","EngineMap","dragAction","hoverAction","moveAction","pinchAction","registerAction","scrollAction","wheelAction","rubberbandIfOutOfBounds"].indexOf(c)<0&&(l[c]=function(e){return u[e]}.bind(0,c));function f(e,t={},n,r){const i=o.useMemo((()=>new s.Q(e)),[]);if(i.applyHandlers(e,r),i.applyConfig(t,n),o.useEffect(i.effect.bind(i)),o.useEffect((()=>i.clean.bind(i)),[]),void 0===t.target)return i.bind.bind(i)}function h(e,t){return(0,r.r)(r.e),f({drag:e},t||{},"drag")}function p(e,t){return(0,r.r)(r.f),f({pinch:e},t||{},"pinch")}function d(e,t){return(0,r.r)(r.w),f({wheel:e},t||{},"wheel")}function m(e,t){return(0,r.r)(r.s),f({scroll:e},t||{},"scroll")}function g(e,t){return(0,r.r)(r.m),f({move:e},t||{},"move")}function v(e,t){return(0,r.r)(r.h),f({hover:e},t||{},"hover")}function y(e){return e.forEach(r.r),function(e,t){const{handlers:n,nativeHandlers:r,config:i}=(0,s.V)(e,t||{});return f(n,i,void 0,r)}}function b(e,t){return y([r.e,r.f,r.s,r.w,r.m,r.h])(e,t||{})}n.d(t,l)},83753:function(e,t,n){"use strict";n.r(t),n.d(t,{camelCase:function(){return a},camelCaseTransform:function(){return o},camelCaseTransformMerge:function(){return s},capitalCase:function(){return f},capitalCaseTransform:function(){return c},constantCase:function(){return p},dotCase:function(){return d.$},headerCase:function(){return m},noCase:function(){return u.B},paramCase:function(){return g.paramCase},pascalCase:function(){return i.Ho},pascalCaseTransform:function(){return i.By},pascalCaseTransformMerge:function(){return i.Pv},pathCase:function(){return v},sentenceCase:function(){return b},sentenceCaseTransform:function(){return y},snakeCase:function(){return w.snakeCase}});var r=n(5163),i=n(49464);function o(e,t){return 0===t?e.toLowerCase():(0,i.By)(e,t)}function s(e,t){return 0===t?e.toLowerCase():(0,i.Pv)(e)}function a(e,t){return void 0===t&&(t={}),(0,i.Ho)(e,(0,r.pi)({transform:o},t))}var u=n(84682);function l(e){return e.charAt(0).toUpperCase()+e.substr(1)}function c(e){return l(e.toLowerCase())}function f(e,t){return void 0===t&&(t={}),(0,u.B)(e,(0,r.pi)({delimiter:" ",transform:c},t))}function h(e){return e.toUpperCase()}function p(e,t){return void 0===t&&(t={}),(0,u.B)(e,(0,r.pi)({delimiter:"_",transform:h},t))}var d=n(20728);function m(e,t){return void 0===t&&(t={}),f(e,(0,r.pi)({delimiter:"-"},t))}var g=n(97974);function v(e,t){return void 0===t&&(t={}),(0,d.$)(e,(0,r.pi)({delimiter:"/"},t))}function y(e,t){var n=e.toLowerCase();return 0===t?l(n):n}function b(e,t){return void 0===t&&(t={}),(0,u.B)(e,(0,r.pi)({delimiter:" ",transform:y},t))}var w=n(93194)},72779:function(e,t){var n;!function(){"use strict";var r={}.hasOwnProperty;function i(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var o=typeof n;if("string"===o||"number"===o)e.push(n);else if(Array.isArray(n)){if(n.length){var s=i.apply(null,n);s&&e.push(s)}}else if("object"===o){if(n.toString!==Object.prototype.toString&&!n.toString.toString().includes("[native code]")){e.push(n.toString());continue}for(var a in n)r.call(n,a)&&n[a]&&e.push(a)}}}return e.join(" ")}e.exports?(i.default=i,e.exports=i):void 0===(n=function(){return i}.apply(t,[]))||(e.exports=n)}()},96309:function(e,t){"use strict";t.match=function(e,t){return a(e).some((function(e){var n=e.inverse,r="all"===e.type||t.type===e.type;if(r&&n||!r&&!n)return!1;var i=e.expressions.every((function(e){var n=e.feature,r=e.modifier,i=e.value,o=t[n];if(!o)return!1;switch(n){case"orientation":case"scan":return o.toLowerCase()===i.toLowerCase();case"width":case"height":case"device-width":case"device-height":i=c(i),o=c(o);break;case"resolution":i=l(i),o=l(o);break;case"aspect-ratio":case"device-aspect-ratio":case"device-pixel-ratio":i=u(i),o=u(o);break;case"grid":case"color":case"color-index":case"monochrome":i=parseInt(i,10)||1,o=parseInt(o,10)||0}switch(r){case"min":return o>=i;case"max":return o<=i;default:return o===i}}));return i&&!n||!i&&n}))},t.parse=a;var n=/(?:(only|not)?\s*([^\s\(\)]+)(?:\s*and)?\s*)?(.+)?/i,r=/\(\s*([^\s\:\)]+)\s*(?:\:\s*([^\s\)]+))?\s*\)/,i=/^(?:(min|max)-)?(.+)/,o=/(em|rem|px|cm|mm|in|pt|pc)?$/,s=/(dpi|dpcm|dppx)?$/;function a(e){return e.split(",").map((function(e){var t=(e=e.trim()).match(n),o=t[1],s=t[2],a=t[3]||"",u={};return u.inverse=!!o&&"not"===o.toLowerCase(),u.type=s?s.toLowerCase():"all",a=a.match(/\([^\)]+\)/g)||[],u.expressions=a.map((function(e){var t=e.match(r),n=t[1].toLowerCase().match(i);return{modifier:n[1],feature:n[2],value:t[2]}})),u}))}function u(e){var t,n=Number(e);return n||(n=(t=e.match(/^(\d+)\s*\/\s*(\d+)$/))[1]/t[2]),n}function l(e){var t=parseFloat(e);switch(String(e).match(s)[1]){case"dpcm":return t/2.54;case"dppx":return 96*t;default:return t}}function c(e){var t=parseFloat(e);switch(String(e).match(o)[1]){case"em":case"rem":return 16*t;case"cm":return 96*t/2.54;case"mm":return 96*t/2.54/10;case"in":return 96*t;case"pt":return 72*t;case"pc":return 72*t/12;default:return t}}},28879:function(e){e.exports=function(){"use strict";var e=6e4,t=36e5,n="millisecond",r="second",i="minute",o="hour",s="day",a="week",u="month",l="quarter",c="year",f="date",h="Invalid Date",p=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,d=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,m={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],n=e%100;return"["+e+(t[(n-20)%10]||t[n]||t[0])+"]"}},g=function(e,t,n){var r=String(e);return!r||r.length>=t?e:""+Array(t+1-r.length).join(n)+e},v={s:g,z:function(e){var t=-e.utcOffset(),n=Math.abs(t),r=Math.floor(n/60),i=n%60;return(t<=0?"+":"-")+g(r,2,"0")+":"+g(i,2,"0")},m:function e(t,n){if(t.date()<n.date())return-e(n,t);var r=12*(n.year()-t.year())+(n.month()-t.month()),i=t.clone().add(r,u),o=n-i<0,s=t.clone().add(r+(o?-1:1),u);return+(-(r+(n-i)/(o?i-s:s-i))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(e){return{M:u,y:c,w:a,d:s,D:f,h:o,m:i,s:r,ms:n,Q:l}[e]||String(e||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}},y="en",b={};b[y]=m;var w=function(e){return e instanceof E},_=function e(t,n,r){var i;if(!t)return y;if("string"==typeof t){var o=t.toLowerCase();b[o]&&(i=o),n&&(b[o]=n,i=o);var s=t.split("-");if(!i&&s.length>1)return e(s[0])}else{var a=t.name;b[a]=t,i=a}return!r&&i&&(y=i),i||!r&&y},S=function(e,t){if(w(e))return e.clone();var n="object"==typeof t?t:{};return n.date=e,n.args=arguments,new E(n)},x=v;x.l=_,x.i=w,x.w=function(e,t){return S(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var E=function(){function m(e){this.$L=_(e.locale,null,!0),this.parse(e)}var g=m.prototype;return g.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(null===t)return new Date(NaN);if(x.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var r=t.match(p);if(r){var i=r[2]-1||0,o=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,o)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,o)}}return new Date(t)}(e),this.$x=e.x||{},this.init()},g.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},g.$utils=function(){return x},g.isValid=function(){return!(this.$d.toString()===h)},g.isSame=function(e,t){var n=S(e);return this.startOf(t)<=n&&n<=this.endOf(t)},g.isAfter=function(e,t){return S(e)<this.startOf(t)},g.isBefore=function(e,t){return this.endOf(t)<S(e)},g.$g=function(e,t,n){return x.u(e)?this[t]:this.set(n,e)},g.unix=function(){return Math.floor(this.valueOf()/1e3)},g.valueOf=function(){return this.$d.getTime()},g.startOf=function(e,t){var n=this,l=!!x.u(t)||t,h=x.p(e),p=function(e,t){var r=x.w(n.$u?Date.UTC(n.$y,t,e):new Date(n.$y,t,e),n);return l?r:r.endOf(s)},d=function(e,t){return x.w(n.toDate()[e].apply(n.toDate("s"),(l?[0,0,0,0]:[23,59,59,999]).slice(t)),n)},m=this.$W,g=this.$M,v=this.$D,y="set"+(this.$u?"UTC":"");switch(h){case c:return l?p(1,0):p(31,11);case u:return l?p(1,g):p(0,g+1);case a:var b=this.$locale().weekStart||0,w=(m<b?m+7:m)-b;return p(l?v-w:v+(6-w),g);case s:case f:return d(y+"Hours",0);case o:return d(y+"Minutes",1);case i:return d(y+"Seconds",2);case r:return d(y+"Milliseconds",3);default:return this.clone()}},g.endOf=function(e){return this.startOf(e,!1)},g.$set=function(e,t){var a,l=x.p(e),h="set"+(this.$u?"UTC":""),p=(a={},a[s]=h+"Date",a[f]=h+"Date",a[u]=h+"Month",a[c]=h+"FullYear",a[o]=h+"Hours",a[i]=h+"Minutes",a[r]=h+"Seconds",a[n]=h+"Milliseconds",a)[l],d=l===s?this.$D+(t-this.$W):t;if(l===u||l===c){var m=this.clone().set(f,1);m.$d[p](d),m.init(),this.$d=m.set(f,Math.min(this.$D,m.daysInMonth())).$d}else p&&this.$d[p](d);return this.init(),this},g.set=function(e,t){return this.clone().$set(e,t)},g.get=function(e){return this[x.p(e)]()},g.add=function(n,l){var f,h=this;n=Number(n);var p=x.p(l),d=function(e){var t=S(h);return x.w(t.date(t.date()+Math.round(e*n)),h)};if(p===u)return this.set(u,this.$M+n);if(p===c)return this.set(c,this.$y+n);if(p===s)return d(1);if(p===a)return d(7);var m=(f={},f[i]=e,f[o]=t,f[r]=1e3,f)[p]||1,g=this.$d.getTime()+n*m;return x.w(g,this)},g.subtract=function(e,t){return this.add(-1*e,t)},g.format=function(e){var t=this,n=this.$locale();if(!this.isValid())return n.invalidDate||h;var r=e||"YYYY-MM-DDTHH:mm:ssZ",i=x.z(this),o=this.$H,s=this.$m,a=this.$M,u=n.weekdays,l=n.months,c=function(e,n,i,o){return e&&(e[n]||e(t,r))||i[n].slice(0,o)},f=function(e){return x.s(o%12||12,e,"0")},p=n.meridiem||function(e,t,n){var r=e<12?"AM":"PM";return n?r.toLowerCase():r},m={YY:String(this.$y).slice(-2),YYYY:this.$y,M:a+1,MM:x.s(a+1,2,"0"),MMM:c(n.monthsShort,a,l,3),MMMM:c(l,a),D:this.$D,DD:x.s(this.$D,2,"0"),d:String(this.$W),dd:c(n.weekdaysMin,this.$W,u,2),ddd:c(n.weekdaysShort,this.$W,u,3),dddd:u[this.$W],H:String(o),HH:x.s(o,2,"0"),h:f(1),hh:f(2),a:p(o,s,!0),A:p(o,s,!1),m:String(s),mm:x.s(s,2,"0"),s:String(this.$s),ss:x.s(this.$s,2,"0"),SSS:x.s(this.$ms,3,"0"),Z:i};return r.replace(d,(function(e,t){return t||m[e]||i.replace(":","")}))},g.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},g.diff=function(n,f,h){var p,d=x.p(f),m=S(n),g=(m.utcOffset()-this.utcOffset())*e,v=this-m,y=x.m(this,m);return y=(p={},p[c]=y/12,p[u]=y,p[l]=y/3,p[a]=(v-g)/6048e5,p[s]=(v-g)/864e5,p[o]=v/t,p[i]=v/e,p[r]=v/1e3,p)[d]||v,h?y:x.a(y)},g.daysInMonth=function(){return this.endOf(u).$D},g.$locale=function(){return b[this.$L]},g.locale=function(e,t){if(!e)return this.$L;var n=this.clone(),r=_(e,t,!0);return r&&(n.$L=r),n},g.clone=function(){return x.w(this.$d,this)},g.toDate=function(){return new Date(this.valueOf())},g.toJSON=function(){return this.isValid()?this.toISOString():null},g.toISOString=function(){return this.$d.toISOString()},g.toString=function(){return this.$d.toUTCString()},m}(),k=E.prototype;return S.prototype=k,[["$ms",n],["$s",r],["$m",i],["$H",o],["$W",s],["$M",u],["$y",c],["$D",f]].forEach((function(e){k[e[1]]=function(t){return this.$g(t,e[0],e[1])}})),S.extend=function(e,t){return e.$i||(e(t,E,S),e.$i=!0),S},S.locale=_,S.isDayjs=w,S.unix=function(e){return S(1e3*e)},S.en=b[y],S.Ls=b,S.p={},S}()},15554:function(e){"use strict";var t="%[a-f0-9]{2}",n=new RegExp("("+t+")|([^%]+?)","gi"),r=new RegExp("("+t+")+","gi");function i(e,t){try{return[decodeURIComponent(e.join(""))]}catch(e){}if(1===e.length)return e;t=t||1;var n=e.slice(0,t),r=e.slice(t);return Array.prototype.concat.call([],i(n),i(r))}function o(e){try{return decodeURIComponent(e)}catch(o){for(var t=e.match(n)||[],r=1;r<t.length;r++)t=(e=i(t,r).join("")).match(n)||[];return e}}e.exports=function(e){if("string"!=typeof e)throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof e+"`");try{return e=e.replace(/\+/g," "),decodeURIComponent(e)}catch(t){return function(e){for(var t={"%FE%FF":"��","%FF%FE":"��"},n=r.exec(e);n;){try{t[n[0]]=decodeURIComponent(n[0])}catch(e){var i=o(n[0]);i!==n[0]&&(t[n[0]]=i)}n=r.exec(e)}t["%C2"]="�";for(var s=Object.keys(t),a=0;a<s.length;a++){var u=s[a];e=e.replace(new RegExp(u,"g"),t[u])}return e}(e)}}},20728:function(e,t,n){"use strict";n.d(t,{$:function(){return o}});var r=n(5163),i=n(84682);function o(e,t){return void 0===t&&(t={}),(0,i.B)(e,(0,r.pi)({delimiter:"."},t))}},28891:function(e,t,n){!function(e){"use strict";function t(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var r="undefined"!=typeof self?self:n.g;const i="undefined"!=typeof navigator,o=i&&"undefined"==typeof HTMLImageElement,s=!(void 0===n.g||"undefined"==typeof process||!process.versions||!process.versions.node),a=r.Buffer,u=!!a,l=e=>void 0!==e;function c(e){return void 0===e||(e instanceof Map?0===e.size:0===Object.values(e).filter(l).length)}function f(e){let t=new Error(e);throw delete t.stack,t}function h(e){let t=function(e){let t=0;return e.ifd0.enabled&&(t+=1024),e.exif.enabled&&(t+=2048),e.makerNote&&(t+=2048),e.userComment&&(t+=1024),e.gps.enabled&&(t+=512),e.interop.enabled&&(t+=100),e.ifd1.enabled&&(t+=1024),t+2048}(e);return e.jfif.enabled&&(t+=50),e.xmp.enabled&&(t+=2e4),e.iptc.enabled&&(t+=14e3),e.icc.enabled&&(t+=6e3),t}const p=e=>String.fromCharCode.apply(null,e),d="undefined"!=typeof TextDecoder?new TextDecoder("utf-8"):void 0;class m{static from(e,t){return e instanceof this&&e.le===t?e:new m(e,void 0,void 0,t)}constructor(e,t=0,n,r){if("boolean"==typeof r&&(this.le=r),Array.isArray(e)&&(e=new Uint8Array(e)),0===e)this.byteOffset=0,this.byteLength=0;else if(e instanceof ArrayBuffer){void 0===n&&(n=e.byteLength-t);let r=new DataView(e,t,n);this._swapDataView(r)}else if(e instanceof Uint8Array||e instanceof DataView||e instanceof m){void 0===n&&(n=e.byteLength-t),(t+=e.byteOffset)+n>e.byteOffset+e.byteLength&&f("Creating view outside of available memory in ArrayBuffer");let r=new DataView(e.buffer,t,n);this._swapDataView(r)}else if("number"==typeof e){let t=new DataView(new ArrayBuffer(e));this._swapDataView(t)}else f("Invalid input argument for BufferView: "+e)}_swapArrayBuffer(e){this._swapDataView(new DataView(e))}_swapBuffer(e){this._swapDataView(new DataView(e.buffer,e.byteOffset,e.byteLength))}_swapDataView(e){this.dataView=e,this.buffer=e.buffer,this.byteOffset=e.byteOffset,this.byteLength=e.byteLength}_lengthToEnd(e){return this.byteLength-e}set(e,t,n=m){return e instanceof DataView||e instanceof m?e=new Uint8Array(e.buffer,e.byteOffset,e.byteLength):e instanceof ArrayBuffer&&(e=new Uint8Array(e)),e instanceof Uint8Array||f("BufferView.set(): Invalid data argument."),this.toUint8().set(e,t),new n(this,t,e.byteLength)}subarray(e,t){return t=t||this._lengthToEnd(e),new m(this,e,t)}toUint8(){return new Uint8Array(this.buffer,this.byteOffset,this.byteLength)}getUint8Array(e,t){return new Uint8Array(this.buffer,this.byteOffset+e,t)}getString(e=0,t=this.byteLength){return n=this.getUint8Array(e,t),d?d.decode(n):u?Buffer.from(n).toString("utf8"):decodeURIComponent(escape(p(n)));var n}getLatin1String(e=0,t=this.byteLength){let n=this.getUint8Array(e,t);return p(n)}getUnicodeString(e=0,t=this.byteLength){const n=[];for(let r=0;r<t&&e+r<this.byteLength;r+=2)n.push(this.getUint16(e+r));return p(n)}getInt8(e){return this.dataView.getInt8(e)}getUint8(e){return this.dataView.getUint8(e)}getInt16(e,t=this.le){return this.dataView.getInt16(e,t)}getInt32(e,t=this.le){return this.dataView.getInt32(e,t)}getUint16(e,t=this.le){return this.dataView.getUint16(e,t)}getUint32(e,t=this.le){return this.dataView.getUint32(e,t)}getFloat32(e,t=this.le){return this.dataView.getFloat32(e,t)}getFloat64(e,t=this.le){return this.dataView.getFloat64(e,t)}getFloat(e,t=this.le){return this.dataView.getFloat32(e,t)}getDouble(e,t=this.le){return this.dataView.getFloat64(e,t)}getUintBytes(e,t,n){switch(t){case 1:return this.getUint8(e,n);case 2:return this.getUint16(e,n);case 4:return this.getUint32(e,n);case 8:return this.getUint64&&this.getUint64(e,n)}}getUint(e,t,n){switch(t){case 8:return this.getUint8(e,n);case 16:return this.getUint16(e,n);case 32:return this.getUint32(e,n);case 64:return this.getUint64&&this.getUint64(e,n)}}toString(e){return this.dataView.toString(e,this.constructor.name)}ensureChunk(){}}function g(e,t){f(`${e} '${t}' was not loaded, try using full build of exifr.`)}class v extends Map{constructor(e){super(),this.kind=e}get(e,t){return this.has(e)||g(this.kind,e),t&&(e in t||function(e,t){f(`Unknown ${e} '${t}'.`)}(this.kind,e),t[e].enabled||g(this.kind,e)),super.get(e)}keyList(){return Array.from(this.keys())}}var y=new v("file parser"),b=new v("segment parser"),w=new v("file reader");let _=r.fetch;const S="Invalid input argument";function x(e,t){return(n=e).startsWith("data:")||n.length>1e4?k(e,t,"base64"):s&&e.includes("://")?E(e,t,"url",P):s?k(e,t,"fs"):i?E(e,t,"url",P):void f(S);var n}async function E(e,t,n,r){return w.has(n)?k(e,t,n):r?async function(e,t){let n=await t(e);return new m(n)}(e,r):void f(`Parser ${n} is not loaded`)}async function k(e,t,n){let r=new(w.get(n))(e,t);return await r.read(),r}const P=e=>_(e).then((e=>e.arrayBuffer())),C=e=>new Promise(((t,n)=>{let r=new FileReader;r.onloadend=()=>t(r.result||new ArrayBuffer),r.onerror=n,r.readAsArrayBuffer(e)}));class O extends Map{get tagKeys(){return this.allKeys||(this.allKeys=Array.from(this.keys())),this.allKeys}get tagValues(){return this.allValues||(this.allValues=Array.from(this.values())),this.allValues}}function T(e,t,n){let r=new O;for(let[e,t]of n)r.set(e,t);if(Array.isArray(t))for(let n of t)e.set(n,r);else e.set(t,r);return r}function A(e,t,n){let r,i=e.get(t);for(r of n)i.set(r[0],r[1])}const F=new Map,I=new Map,R=new Map,M=37500,N=37510,L=33723,U=34675,D=34665,j=34853,B=40965,z=["chunked","firstChunkSize","firstChunkSizeNode","firstChunkSizeBrowser","chunkSize","chunkLimit"],H=["jfif","xmp","icc","iptc","ihdr"],$=["tiff",...H],V=["ifd0","ifd1","exif","gps","interop"],q=[...$,...V],W=["makerNote","userComment"],G=["translateKeys","translateValues","reviveValues","multiSegment"],Z=[...G,"sanitize","mergeOutput","silentErrors"];class K{get translate(){return this.translateKeys||this.translateValues||this.reviveValues}}class Y extends K{get needed(){return this.enabled||this.deps.size>0}constructor(e,n,r,i){if(super(),t(this,"enabled",!1),t(this,"skip",new Set),t(this,"pick",new Set),t(this,"deps",new Set),t(this,"translateKeys",!1),t(this,"translateValues",!1),t(this,"reviveValues",!1),this.key=e,this.enabled=n,this.parse=this.enabled,this.applyInheritables(i),this.canBeFiltered=V.includes(e),this.canBeFiltered&&(this.dict=F.get(e)),void 0!==r)if(Array.isArray(r))this.parse=this.enabled=!0,this.canBeFiltered&&r.length>0&&this.translateTagSet(r,this.pick);else if("object"==typeof r){if(this.enabled=!0,this.parse=!1!==r.parse,this.canBeFiltered){let{pick:e,skip:t}=r;e&&e.length>0&&this.translateTagSet(e,this.pick),t&&t.length>0&&this.translateTagSet(t,this.skip)}this.applyInheritables(r)}else!0===r||!1===r?this.parse=this.enabled=r:f(`Invalid options argument: ${r}`)}applyInheritables(e){let t,n;for(t of G)n=e[t],void 0!==n&&(this[t]=n)}translateTagSet(e,t){if(this.dict){let n,r,{tagKeys:i,tagValues:o}=this.dict;for(n of e)"string"==typeof n?(r=o.indexOf(n),-1===r&&(r=i.indexOf(Number(n))),-1!==r&&t.add(Number(i[r]))):t.add(n)}else for(let n of e)t.add(n)}finalizeFilters(){!this.enabled&&this.deps.size>0?(this.enabled=!0,ne(this.pick,this.deps)):this.enabled&&this.pick.size>0&&ne(this.pick,this.deps)}}var X={jfif:!1,tiff:!0,xmp:!1,icc:!1,iptc:!1,ifd0:!0,ifd1:!1,exif:!0,gps:!0,interop:!1,ihdr:void 0,makerNote:!1,userComment:!1,multiSegment:!1,skip:[],pick:[],translateKeys:!0,translateValues:!0,reviveValues:!0,sanitize:!0,mergeOutput:!0,silentErrors:!0,chunked:!0,firstChunkSize:void 0,firstChunkSizeNode:512,firstChunkSizeBrowser:65536,chunkSize:65536,chunkLimit:5},Q=new Map;class J extends K{static useCached(e){let t=Q.get(e);return void 0!==t||(t=new this(e),Q.set(e,t)),t}constructor(e){super(),!0===e?this.setupFromTrue():void 0===e?this.setupFromUndefined():Array.isArray(e)?this.setupFromArray(e):"object"==typeof e?this.setupFromObject(e):f(`Invalid options argument ${e}`),void 0===this.firstChunkSize&&(this.firstChunkSize=i?this.firstChunkSizeBrowser:this.firstChunkSizeNode),this.mergeOutput&&(this.ifd1.enabled=!1),this.filterNestedSegmentTags(),this.traverseTiffDependencyTree(),this.checkLoadedPlugins()}setupFromUndefined(){let e;for(e of z)this[e]=X[e];for(e of Z)this[e]=X[e];for(e of W)this[e]=X[e];for(e of q)this[e]=new Y(e,X[e],void 0,this)}setupFromTrue(){let e;for(e of z)this[e]=X[e];for(e of Z)this[e]=X[e];for(e of W)this[e]=!0;for(e of q)this[e]=new Y(e,!0,void 0,this)}setupFromArray(e){let t;for(t of z)this[t]=X[t];for(t of Z)this[t]=X[t];for(t of W)this[t]=X[t];for(t of q)this[t]=new Y(t,!1,void 0,this);this.setupGlobalFilters(e,void 0,V)}setupFromObject(e){let t;for(t of(V.ifd0=V.ifd0||V.image,V.ifd1=V.ifd1||V.thumbnail,Object.assign(this,e),z))this[t]=te(e[t],X[t]);for(t of Z)this[t]=te(e[t],X[t]);for(t of W)this[t]=te(e[t],X[t]);for(t of $)this[t]=new Y(t,X[t],e[t],this);for(t of V)this[t]=new Y(t,X[t],e[t],this.tiff);this.setupGlobalFilters(e.pick,e.skip,V,q),!0===e.tiff?this.batchEnableWithBool(V,!0):!1===e.tiff?this.batchEnableWithUserValue(V,e):Array.isArray(e.tiff)?this.setupGlobalFilters(e.tiff,void 0,V):"object"==typeof e.tiff&&this.setupGlobalFilters(e.tiff.pick,e.tiff.skip,V)}batchEnableWithBool(e,t){for(let n of e)this[n].enabled=t}batchEnableWithUserValue(e,t){for(let n of e){let e=t[n];this[n].enabled=!1!==e&&void 0!==e}}setupGlobalFilters(e,t,n,r=n){if(e&&e.length){for(let e of r)this[e].enabled=!1;let t=ee(e,n);for(let[e,n]of t)ne(this[e].pick,n),this[e].enabled=!0}else if(t&&t.length){let e=ee(t,n);for(let[t,n]of e)ne(this[t].skip,n)}}filterNestedSegmentTags(){let{ifd0:e,exif:t,xmp:n,iptc:r,icc:i}=this;this.makerNote?t.deps.add(M):t.skip.add(M),this.userComment?t.deps.add(N):t.skip.add(N),n.enabled||e.skip.add(700),r.enabled||e.skip.add(L),i.enabled||e.skip.add(U)}traverseTiffDependencyTree(){let{ifd0:e,exif:t,gps:n,interop:r}=this;r.needed&&(t.deps.add(B),e.deps.add(B)),t.needed&&e.deps.add(D),n.needed&&e.deps.add(j),this.tiff.enabled=V.some((e=>!0===this[e].enabled))||this.makerNote||this.userComment;for(let e of V)this[e].finalizeFilters()}get onlyTiff(){return!H.map((e=>this[e].enabled)).some((e=>!0===e))&&this.tiff.enabled}checkLoadedPlugins(){for(let e of $)this[e].enabled&&!b.has(e)&&g("segment parser",e)}}function ee(e,t){let n,r,i,o,s=[];for(i of t){for(o of(n=F.get(i),r=[],n))(e.includes(o[0])||e.includes(o[1]))&&r.push(o[0]);r.length&&s.push([i,r])}return s}function te(e,t){return void 0!==e?e:void 0!==t?t:void 0}function ne(e,t){for(let n of t)e.add(n)}t(J,"default",X);class re{constructor(e){t(this,"parsers",{}),t(this,"output",{}),t(this,"errors",[]),t(this,"pushToErrors",(e=>this.errors.push(e))),this.options=J.useCached(e)}async read(e){this.file=await function(e,t){return"string"==typeof e?x(e,t):i&&!o&&e instanceof HTMLImageElement?x(e.src,t):e instanceof Uint8Array||e instanceof ArrayBuffer||e instanceof DataView?new m(e):i&&e instanceof Blob?E(e,t,"blob",C):void f(S)}(e,this.options)}setup(){if(this.fileParser)return;let{file:e}=this,t=e.getUint16(0);for(let[n,r]of y)if(r.canHandle(e,t))return this.fileParser=new r(this.options,this.file,this.parsers),e[n]=!0;this.file.close&&this.file.close(),f("Unknown file format")}async parse(){let{output:e,errors:t}=this;return this.setup(),this.options.silentErrors?(await this.executeParsers().catch(this.pushToErrors),t.push(...this.fileParser.errors)):await this.executeParsers(),this.file.close&&this.file.close(),this.options.silentErrors&&t.length>0&&(e.errors=t),c(n=e)?void 0:n;var n}async executeParsers(){let{output:e}=this;await this.fileParser.parse();let t=Object.values(this.parsers).map((async t=>{let n=await t.parse();t.assignToOutput(e,n)}));this.options.silentErrors&&(t=t.map((e=>e.catch(this.pushToErrors)))),await Promise.all(t)}async extractThumbnail(){this.setup();let{options:e,file:t}=this,n=b.get("tiff",e);var r;if(t.tiff?r={start:0,type:"tiff"}:t.jpeg&&(r=await this.fileParser.getOrFindSegment("tiff")),void 0===r)return;let i=await this.fileParser.ensureSegmentChunk(r),o=this.parsers.tiff=new n(i,e,t),s=await o.extractThumbnail();return t.close&&t.close(),s}}async function ie(e,t){let n=new re(t);return await n.read(e),n.parse()}var oe=Object.freeze({__proto__:null,parse:ie,Exifr:re,fileParsers:y,segmentParsers:b,fileReaders:w,tagKeys:F,tagValues:I,tagRevivers:R,createDictionary:T,extendDictionary:A,fetchUrlAsArrayBuffer:P,readBlobAsArrayBuffer:C,chunkedProps:z,otherSegments:H,segments:$,tiffBlocks:V,segmentsAndBlocks:q,tiffExtractables:W,inheritables:G,allFormatters:Z,Options:J});class se{static findPosition(e,t){let n=e.getUint16(t+2)+2,r="function"==typeof this.headerLength?this.headerLength(e,t,n):this.headerLength,i=t+r,o=n-r;return{offset:t,length:n,headerLength:r,start:i,size:o,end:i+o}}static parse(e,t={}){return new this(e,new J({[this.type]:t}),e).parse()}normalizeInput(e){return e instanceof m?e:new m(e)}constructor(e,n={},r){t(this,"errors",[]),t(this,"raw",new Map),t(this,"handleError",(e=>{if(!this.options.silentErrors)throw e;this.errors.push(e.message)})),this.chunk=this.normalizeInput(e),this.file=r,this.type=this.constructor.type,this.globalOptions=this.options=n,this.localOptions=n[this.type],this.canTranslate=this.localOptions&&this.localOptions.translate}translate(){this.canTranslate&&(this.translated=this.translateBlock(this.raw,this.type))}get output(){return this.translated?this.translated:this.raw?Object.fromEntries(this.raw):void 0}translateBlock(e,t){let n=R.get(t),r=I.get(t),i=F.get(t),o=this.options[t],s=o.reviveValues&&!!n,a=o.translateValues&&!!r,u=o.translateKeys&&!!i,l={};for(let[t,o]of e)s&&n.has(t)?o=n.get(t)(o):a&&r.has(t)&&(o=this.translateValue(o,r.get(t))),u&&i.has(t)&&(t=i.get(t)||t),l[t]=o;return l}translateValue(e,t){return t[e]||t.DEFAULT||e}assignToOutput(e,t){this.assignObjectToOutput(e,this.constructor.type,t)}assignObjectToOutput(e,t,n){if(this.globalOptions.mergeOutput)return Object.assign(e,n);e[t]?Object.assign(e[t],n):e[t]=n}}function ae(e){return 192===e||194===e||196===e||219===e||221===e||218===e||254===e}function ue(e){return e>=224&&e<=239}function le(e,t,n){for(let[r,i]of b)if(i.canHandle(e,t,n))return r}t(se,"headerLength",4),t(se,"type",void 0),t(se,"multiSegment",!1),t(se,"canHandle",(()=>!1));class ce extends class{constructor(e,n,r){t(this,"errors",[]),t(this,"ensureSegmentChunk",(async e=>{let t=e.start,n=e.size||65536;if(this.file.chunked)if(this.file.available(t,n))e.chunk=this.file.subarray(t,n);else try{e.chunk=await this.file.readChunk(t,n)}catch(t){f(`Couldn't read segment: ${JSON.stringify(e)}. ${t.message}`)}else this.file.byteLength>t+n?e.chunk=this.file.subarray(t,n):void 0===e.size?e.chunk=this.file.subarray(t):f("Segment unreachable: "+JSON.stringify(e));return e.chunk})),this.extendOptions&&this.extendOptions(e),this.options=e,this.file=n,this.parsers=r}injectSegment(e,t){this.options[e].enabled&&this.createParser(e,t)}createParser(e,t){let n=new(b.get(e))(t,this.options,this.file);return this.parsers[e]=n}createParsers(e){for(let t of e){let{type:e,chunk:n}=t,r=this.options[e];if(r&&r.enabled){let t=this.parsers[e];t&&t.append||t||this.createParser(e,n)}}}async readSegments(e){let t=e.map(this.ensureSegmentChunk);await Promise.all(t)}}{constructor(...e){super(...e),t(this,"appSegments",[]),t(this,"jpegSegments",[]),t(this,"unknownSegments",[])}static canHandle(e,t){return 65496===t}async parse(){await this.findAppSegments(),await this.readSegments(this.appSegments),this.mergeMultiSegments(),this.createParsers(this.mergedAppSegments||this.appSegments)}setupSegmentFinderArgs(e){!0===e?(this.findAll=!0,this.wanted=new Set(b.keyList())):(e=void 0===e?b.keyList().filter((e=>this.options[e].enabled)):e.filter((e=>this.options[e].enabled&&b.has(e))),this.findAll=!1,this.remaining=new Set(e),this.wanted=new Set(e)),this.unfinishedMultiSegment=!1}async findAppSegments(e=0,t){this.setupSegmentFinderArgs(t);let{file:n,findAll:r,wanted:i,remaining:o}=this;if(!r&&this.file.chunked&&(r=Array.from(i).some((e=>{let t=b.get(e),n=this.options[e];return t.multiSegment&&n.multiSegment})),r&&await this.file.readWhole()),e=this.findAppSegmentsInRange(e,n.byteLength),!this.options.onlyTiff&&n.chunked){let t=!1;for(;o.size>0&&!t&&(n.canReadNextChunk||this.unfinishedMultiSegment);){let{nextChunkOffset:r}=n,i=this.appSegments.some((e=>!this.file.available(e.offset||e.start,e.length||e.size)));if(t=e>r&&!i?!await n.readNextChunk(e):!await n.readNextChunk(r),void 0===(e=this.findAppSegmentsInRange(e,n.byteLength)))return}}}findAppSegmentsInRange(e,t){t-=2;let n,r,i,o,s,a,{file:u,findAll:l,wanted:c,remaining:f,options:h}=this;for(;e<t;e++)if(255===u.getUint8(e))if(n=u.getUint8(e+1),ue(n)){if(r=u.getUint16(e+2),i=le(u,e,r),i&&c.has(i)&&(o=b.get(i),s=o.findPosition(u,e),a=h[i],s.type=i,this.appSegments.push(s),!l&&(o.multiSegment&&a.multiSegment?(this.unfinishedMultiSegment=s.chunkNumber<s.chunkCount,this.unfinishedMultiSegment||f.delete(i)):f.delete(i),0===f.size)))break;h.recordUnknownSegments&&(s=se.findPosition(u,e),s.marker=n,this.unknownSegments.push(s)),e+=r+1}else if(ae(n)){if(r=u.getUint16(e+2),218===n&&!1!==h.stopAfterSos)return;h.recordJpegSegments&&this.jpegSegments.push({offset:e,length:r,marker:n}),e+=r+1}return e}mergeMultiSegments(){if(!this.appSegments.some((e=>e.multiSegment)))return;let e=function(e,t){let n,r,i,o=new Map;for(let t=0;t<e.length;t++)n=e[t],r=n.type,o.has(r)?i=o.get(r):o.set(r,i=[]),i.push(n);return Array.from(o)}(this.appSegments);this.mergedAppSegments=e.map((([e,t])=>{let n=b.get(e,this.options);return n.handleMultiSegments?{type:e,chunk:n.handleMultiSegments(t)}:t[0]}))}getSegment(e){return this.appSegments.find((t=>t.type===e))}async getOrFindSegment(e){let t=this.getSegment(e);return void 0===t&&(await this.findAppSegments(0,[e]),t=this.getSegment(e)),t}}t(ce,"type","jpeg"),y.set("jpeg",ce);const fe=[void 0,1,1,2,4,8,1,1,2,4,8,4,8,4];class he extends se{parseHeader(){var e=this.chunk.getUint16();18761===e?this.le=!0:19789===e&&(this.le=!1),this.chunk.le=this.le,this.headerParsed=!0}parseTags(e,t,n=new Map){let{pick:r,skip:i}=this.options[t];r=new Set(r);let o=r.size>0,s=0===i.size,a=this.chunk.getUint16(e);e+=2;for(let u=0;u<a;u++){let a=this.chunk.getUint16(e);if(o){if(r.has(a)&&(n.set(a,this.parseTag(e,a,t)),r.delete(a),0===r.size))break}else!s&&i.has(a)||n.set(a,this.parseTag(e,a,t));e+=12}return n}parseTag(e,t,n){let{chunk:r}=this,i=r.getUint16(e+2),o=r.getUint32(e+4),s=fe[i];if(s*o<=4?e+=8:e=r.getUint32(e+8),(i<1||i>13)&&f(`Invalid TIFF value type. block: ${n.toUpperCase()}, tag: ${t.toString(16)}, type: ${i}, offset ${e}`),e>r.byteLength&&f(`Invalid TIFF value offset. block: ${n.toUpperCase()}, tag: ${t.toString(16)}, type: ${i}, offset ${e} is outside of chunk size ${r.byteLength}`),1===i)return r.getUint8Array(e,o);if(2===i)return""===(a=function(e){for(;e.endsWith("\0");)e=e.slice(0,-1);return e}(a=r.getString(e,o)).trim())?void 0:a;var a;if(7===i)return r.getUint8Array(e,o);if(1===o)return this.parseTagValue(i,e);{let t=new(function(e){switch(e){case 1:return Uint8Array;case 3:return Uint16Array;case 4:return Uint32Array;case 5:case 10:default:return Array;case 6:return Int8Array;case 8:return Int16Array;case 9:return Int32Array;case 11:return Float32Array;case 12:return Float64Array}}(i))(o),n=s;for(let r=0;r<o;r++)t[r]=this.parseTagValue(i,e),e+=n;return t}}parseTagValue(e,t){let{chunk:n}=this;switch(e){case 1:return n.getUint8(t);case 3:return n.getUint16(t);case 4:case 13:return n.getUint32(t);case 5:return n.getUint32(t)/n.getUint32(t+4);case 6:return n.getInt8(t);case 8:return n.getInt16(t);case 9:return n.getInt32(t);case 10:return n.getInt32(t)/n.getInt32(t+4);case 11:return n.getFloat(t);case 12:return n.getDouble(t);default:f(`Invalid tiff type ${e}`)}}}class pe extends he{static canHandle(e,t){return 225===e.getUint8(t+1)&&1165519206===e.getUint32(t+4)&&0===e.getUint16(t+8)}async parse(){this.parseHeader();let{options:e}=this;return e.ifd0.enabled&&await this.parseIfd0Block(),e.exif.enabled&&await this.safeParse("parseExifBlock"),e.gps.enabled&&await this.safeParse("parseGpsBlock"),e.interop.enabled&&await this.safeParse("parseInteropBlock"),e.ifd1.enabled&&await this.safeParse("parseThumbnailBlock"),this.createOutput()}safeParse(e){let t=this[e]();return void 0!==t.catch&&(t=t.catch(this.handleError)),t}findIfd0Offset(){void 0===this.ifd0Offset&&(this.ifd0Offset=this.chunk.getUint32(4))}findIfd1Offset(){if(void 0===this.ifd1Offset){this.findIfd0Offset();let e=this.chunk.getUint16(this.ifd0Offset),t=this.ifd0Offset+2+12*e;this.ifd1Offset=this.chunk.getUint32(t)}}parseBlock(e,t){let n=new Map;return this[t]=n,this.parseTags(e,t,n),n}async parseIfd0Block(){if(this.ifd0)return;let{file:e}=this;this.findIfd0Offset(),this.ifd0Offset<8&&f("Malformed EXIF data"),!e.chunked&&this.ifd0Offset>e.byteLength&&f(`IFD0 offset points to outside of file.\nthis.ifd0Offset: ${this.ifd0Offset}, file.byteLength: ${e.byteLength}`),e.tiff&&await e.ensureChunk(this.ifd0Offset,h(this.options));let t=this.parseBlock(this.ifd0Offset,"ifd0");return 0!==t.size?(this.exifOffset=t.get(D),this.interopOffset=t.get(B),this.gpsOffset=t.get(j),this.xmp=t.get(700),this.iptc=t.get(L),this.icc=t.get(U),this.options.sanitize&&(t.delete(D),t.delete(B),t.delete(j),t.delete(700),t.delete(L),t.delete(U)),t):void 0}async parseExifBlock(){if(this.exif)return;if(this.ifd0||await this.parseIfd0Block(),void 0===this.exifOffset)return;this.file.tiff&&await this.file.ensureChunk(this.exifOffset,h(this.options));let e=this.parseBlock(this.exifOffset,"exif");return this.interopOffset||(this.interopOffset=e.get(B)),this.makerNote=e.get(M),this.userComment=e.get(N),this.options.sanitize&&(e.delete(B),e.delete(M),e.delete(N)),this.unpack(e,41728),this.unpack(e,41729),e}unpack(e,t){let n=e.get(t);n&&1===n.length&&e.set(t,n[0])}async parseGpsBlock(){if(this.gps)return;if(this.ifd0||await this.parseIfd0Block(),void 0===this.gpsOffset)return;let e=this.parseBlock(this.gpsOffset,"gps");return e&&e.has(2)&&e.has(4)&&(e.set("latitude",de(...e.get(2),e.get(1))),e.set("longitude",de(...e.get(4),e.get(3)))),e}async parseInteropBlock(){if(!this.interop&&(this.ifd0||await this.parseIfd0Block(),void 0!==this.interopOffset||this.exif||await this.parseExifBlock(),void 0!==this.interopOffset))return this.parseBlock(this.interopOffset,"interop")}async parseThumbnailBlock(e=!1){if(!this.ifd1&&!this.ifd1Parsed&&(!this.options.mergeOutput||e))return this.findIfd1Offset(),this.ifd1Offset>0&&(this.parseBlock(this.ifd1Offset,"ifd1"),this.ifd1Parsed=!0),this.ifd1}async extractThumbnail(){if(this.headerParsed||this.parseHeader(),this.ifd1Parsed||await this.parseThumbnailBlock(!0),void 0===this.ifd1)return;let e=this.ifd1.get(513),t=this.ifd1.get(514);return this.chunk.getUint8Array(e,t)}get image(){return this.ifd0}get thumbnail(){return this.ifd1}createOutput(){let e,t,n,r={};for(t of V)if(e=this[t],!c(e))if(n=this.canTranslate?this.translateBlock(e,t):Object.fromEntries(e),this.options.mergeOutput){if("ifd1"===t)continue;Object.assign(r,n)}else r[t]=n;return this.makerNote&&(r.makerNote=this.makerNote),this.userComment&&(r.userComment=this.userComment),r}assignToOutput(e,t){if(this.globalOptions.mergeOutput)Object.assign(e,t);else for(let[n,r]of Object.entries(t))this.assignObjectToOutput(e,n,r)}}function de(e,t,n,r){var i=e+t/60+n/3600;return"S"!==r&&"W"!==r||(i*=-1),i}t(pe,"type","tiff"),t(pe,"headerLength",10),b.set("tiff",pe);var me=Object.freeze({__proto__:null,default:oe,Exifr:re,fileParsers:y,segmentParsers:b,fileReaders:w,tagKeys:F,tagValues:I,tagRevivers:R,createDictionary:T,extendDictionary:A,fetchUrlAsArrayBuffer:P,readBlobAsArrayBuffer:C,chunkedProps:z,otherSegments:H,segments:$,tiffBlocks:V,segmentsAndBlocks:q,tiffExtractables:W,inheritables:G,allFormatters:Z,Options:J,parse:ie});const ge={ifd0:!1,ifd1:!1,exif:!1,gps:!1,interop:!1,sanitize:!1,reviveValues:!0,translateKeys:!1,translateValues:!1,mergeOutput:!1},ve=Object.assign({},ge,{firstChunkSize:4e4,gps:[1,2,3,4]}),ye=Object.assign({},ge,{tiff:!1,ifd1:!0,mergeOutput:!1}),be=Object.assign({},ge,{firstChunkSize:4e4,ifd0:[274]});async function we(e){let t=new re(be);await t.read(e);let n=await t.parse();if(n&&n.ifd0)return n.ifd0[274]}const _e=Object.freeze({1:{dimensionSwapped:!1,scaleX:1,scaleY:1,deg:0,rad:0},2:{dimensionSwapped:!1,scaleX:-1,scaleY:1,deg:0,rad:0},3:{dimensionSwapped:!1,scaleX:1,scaleY:1,deg:180,rad:180*Math.PI/180},4:{dimensionSwapped:!1,scaleX:-1,scaleY:1,deg:180,rad:180*Math.PI/180},5:{dimensionSwapped:!0,scaleX:1,scaleY:-1,deg:90,rad:90*Math.PI/180},6:{dimensionSwapped:!0,scaleX:1,scaleY:1,deg:90,rad:90*Math.PI/180},7:{dimensionSwapped:!0,scaleX:1,scaleY:-1,deg:270,rad:270*Math.PI/180},8:{dimensionSwapped:!0,scaleX:1,scaleY:1,deg:270,rad:270*Math.PI/180}});if(e.rotateCanvas=!0,e.rotateCss=!0,"object"==typeof navigator){let t=navigator.userAgent;if(t.includes("iPad")||t.includes("iPhone")){let n=t.match(/OS (\d+)_(\d+)/);if(n){let[,t,r]=n,i=Number(t)+.1*Number(r);e.rotateCanvas=i<13.4,e.rotateCss=!1}}else if(t.includes("OS X 10")){let[,n]=t.match(/OS X 10[_.](\d+)/);e.rotateCanvas=e.rotateCss=Number(n)<15}if(t.includes("Chrome/")){let[,n]=t.match(/Chrome\/(\d+)/);e.rotateCanvas=e.rotateCss=Number(n)<81}else if(t.includes("Firefox/")){let[,n]=t.match(/Firefox\/(\d+)/);e.rotateCanvas=e.rotateCss=Number(n)<77}}class Se extends m{constructor(...e){super(...e),t(this,"ranges",new xe),0!==this.byteLength&&this.ranges.add(0,this.byteLength)}_tryExtend(e,t,n){if(0===e&&0===this.byteLength&&n){let e=new DataView(n.buffer||n,n.byteOffset,n.byteLength);this._swapDataView(e)}else{let n=e+t;if(n>this.byteLength){let{dataView:e}=this._extend(n);this._swapDataView(e)}}}_extend(e){let t;t=u?a.allocUnsafe(e):new Uint8Array(e);let n=new DataView(t.buffer,t.byteOffset,t.byteLength);return t.set(new Uint8Array(this.buffer,this.byteOffset,this.byteLength),0),{uintView:t,dataView:n}}subarray(e,t,n=!1){return t=t||this._lengthToEnd(e),n&&this._tryExtend(e,t),this.ranges.add(e,t),super.subarray(e,t)}set(e,t,n=!1){n&&this._tryExtend(t,e.byteLength,e);let r=super.set(e,t);return this.ranges.add(t,r.byteLength),r}async ensureChunk(e,t){this.chunked&&(this.ranges.available(e,t)||await this.readChunk(e,t))}available(e,t){return this.ranges.available(e,t)}}class xe{constructor(){t(this,"list",[])}get length(){return this.list.length}add(e,t,n=0){let r=e+t,i=this.list.filter((t=>Ee(e,t.offset,r)||Ee(e,t.end,r)));if(i.length>0){e=Math.min(e,...i.map((e=>e.offset))),r=Math.max(r,...i.map((e=>e.end))),t=r-e;let n=i.shift();n.offset=e,n.length=t,n.end=r,this.list=this.list.filter((e=>!i.includes(e)))}else this.list.push({offset:e,length:t,end:r})}available(e,t){let n=e+t;return this.list.some((t=>t.offset<=e&&n<=t.end))}}function Ee(e,t,n){return e<=t&&t<=n}class ke extends Se{constructor(e,n){super(0),t(this,"chunksRead",0),this.input=e,this.options=n}async readWhole(){this.chunked=!1,await this.readChunk(this.nextChunkOffset)}async readChunked(){this.chunked=!0,await this.readChunk(0,this.options.firstChunkSize)}async readNextChunk(e=this.nextChunkOffset){if(this.fullyRead)return this.chunksRead++,!1;let t=this.options.chunkSize,n=await this.readChunk(e,t);return!!n&&n.byteLength===t}async readChunk(e,t){if(this.chunksRead++,0!==(t=this.safeWrapAddress(e,t)))return this._readChunk(e,t)}safeWrapAddress(e,t){return void 0!==this.size&&e+t>this.size?Math.max(0,this.size-e):t}get nextChunkOffset(){if(0!==this.ranges.list.length)return this.ranges.list[0].length}get canReadNextChunk(){return this.chunksRead<this.options.chunkLimit}get fullyRead(){return void 0!==this.size&&this.nextChunkOffset===this.size}read(){return this.options.chunked?this.readChunked():this.readWhole()}close(){}}w.set("blob",class extends ke{async readWhole(){this.chunked=!1;let e=await C(this.input);this._swapArrayBuffer(e)}readChunked(){return this.chunked=!0,this.size=this.input.size,super.readChunked()}async _readChunk(e,t){let n=t?e+t:void 0,r=this.input.slice(e,n),i=await C(r);return this.set(i,e,!0)}}),e.Exifr=re,e.Options=J,e.allFormatters=Z,e.chunkedProps=z,e.createDictionary=T,e.default=me,e.extendDictionary=A,e.fetchUrlAsArrayBuffer=P,e.fileParsers=y,e.fileReaders=w,e.gps=async function(e){let t=new re(ve);await t.read(e);let n=await t.parse();if(n&&n.gps){let{latitude:e,longitude:t}=n.gps;return{latitude:e,longitude:t}}},e.gpsOnlyOptions=ve,e.inheritables=G,e.orientation=we,e.orientationOnlyOptions=be,e.otherSegments=H,e.parse=ie,e.readBlobAsArrayBuffer=C,e.rotation=async function(t){let n=await we(t);return Object.assign({canvas:e.rotateCanvas,css:e.rotateCss},_e[n])},e.rotations=_e,e.segmentParsers=b,e.segments=$,e.segmentsAndBlocks=q,e.tagKeys=F,e.tagRevivers=R,e.tagValues=I,e.thumbnail=async function(e){let t=new re(ye);await t.read(e);let n=await t.extractThumbnail();return n&&u?a.from(n):n},e.thumbnailOnlyOptions=ye,e.thumbnailUrl=async function(e){let t=await this.thumbnail(e);if(void 0!==t){let e=new Blob([t]);return URL.createObjectURL(e)}},e.tiffBlocks=V,e.tiffExtractables=W,Object.defineProperty(e,"__esModule",{value:!0})}(t)},40063:function(e){"use strict";e.exports=function(e,t){for(var n={},r=Object.keys(e),i=Array.isArray(t),o=0;o<r.length;o++){var s=r[o],a=e[s];(i?-1!==t.indexOf(s):t(s,a,e))&&(n[s]=a)}return n}},70809:function(e,t,n){"use strict";n.d(t,{lX:function(){return x},q_:function(){return T},ob:function(){return m},PP:function(){return F},Ep:function(){return d},Hp:function(){return g}});var r=n(7896);function i(e){return"/"===e.charAt(0)}function o(e,t){for(var n=t,r=n+1,i=e.length;r<i;n+=1,r+=1)e[n]=e[r];e.pop()}var s=function(e,t){void 0===t&&(t="");var n,r=e&&e.split("/")||[],s=t&&t.split("/")||[],a=e&&i(e),u=t&&i(t),l=a||u;if(e&&i(e)?s=r:r.length&&(s.pop(),s=s.concat(r)),!s.length)return"/";if(s.length){var c=s[s.length-1];n="."===c||".."===c||""===c}else n=!1;for(var f=0,h=s.length;h>=0;h--){var p=s[h];"."===p?o(s,h):".."===p?(o(s,h),f++):f&&(o(s,h),f--)}if(!l)for(;f--;f)s.unshift("..");!l||""===s[0]||s[0]&&i(s[0])||s.unshift("");var d=s.join("/");return n&&"/"!==d.substr(-1)&&(d+="/"),d};function a(e){return e.valueOf?e.valueOf():Object.prototype.valueOf.call(e)}var u=function e(t,n){if(t===n)return!0;if(null==t||null==n)return!1;if(Array.isArray(t))return Array.isArray(n)&&t.length===n.length&&t.every((function(t,r){return e(t,n[r])}));if("object"==typeof t||"object"==typeof n){var r=a(t),i=a(n);return r!==t||i!==n?e(r,i):Object.keys(Object.assign({},t,n)).every((function(r){return e(t[r],n[r])}))}return!1},l=n(10362);function c(e){return"/"===e.charAt(0)?e:"/"+e}function f(e){return"/"===e.charAt(0)?e.substr(1):e}function h(e,t){return function(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))}(e,t)?e.substr(t.length):e}function p(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function d(e){var t=e.pathname,n=e.search,r=e.hash,i=t||"/";return n&&"?"!==n&&(i+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(i+="#"===r.charAt(0)?r:"#"+r),i}function m(e,t,n,i){var o;"string"==typeof e?(o=function(e){var t=e||"/",n="",r="",i=t.indexOf("#");-1!==i&&(r=t.substr(i),t=t.substr(0,i));var o=t.indexOf("?");return-1!==o&&(n=t.substr(o),t=t.substr(0,o)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}(e),o.state=t):(void 0===(o=(0,r.Z)({},e)).pathname&&(o.pathname=""),o.search?"?"!==o.search.charAt(0)&&(o.search="?"+o.search):o.search="",o.hash?"#"!==o.hash.charAt(0)&&(o.hash="#"+o.hash):o.hash="",void 0!==t&&void 0===o.state&&(o.state=t));try{o.pathname=decodeURI(o.pathname)}catch(e){throw e instanceof URIError?new URIError('Pathname "'+o.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):e}return n&&(o.key=n),i?o.pathname?"/"!==o.pathname.charAt(0)&&(o.pathname=s(o.pathname,i.pathname)):o.pathname=i.pathname:o.pathname||(o.pathname="/"),o}function g(e,t){return e.pathname===t.pathname&&e.search===t.search&&e.hash===t.hash&&e.key===t.key&&u(e.state,t.state)}function v(){var e=null,t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,i){if(null!=e){var o="function"==typeof e?e(t,n):e;"string"==typeof o?"function"==typeof r?r(o,i):i(!0):i(!1!==o)}else i(!0)},appendListener:function(e){var n=!0;function r(){n&&e.apply(void 0,arguments)}return t.push(r),function(){n=!1,t=t.filter((function(e){return e!==r}))}},notifyListeners:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];t.forEach((function(e){return e.apply(void 0,n)}))}}}var y=!("undefined"==typeof window||!window.document||!window.document.createElement);function b(e,t){t(window.confirm(e))}var w="popstate",_="hashchange";function S(){try{return window.history.state||{}}catch(e){return{}}}function x(e){void 0===e&&(e={}),y||(0,l.Z)(!1);var t,n=window.history,i=(-1===(t=window.navigator.userAgent).indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history,o=!(-1===window.navigator.userAgent.indexOf("Trident")),s=e,a=s.forceRefresh,u=void 0!==a&&a,f=s.getUserConfirmation,g=void 0===f?b:f,x=s.keyLength,E=void 0===x?6:x,k=e.basename?p(c(e.basename)):"";function P(e){var t=e||{},n=t.key,r=t.state,i=window.location,o=i.pathname+i.search+i.hash;return k&&(o=h(o,k)),m(o,r,n)}function C(){return Math.random().toString(36).substr(2,E)}var O=v();function T(e){(0,r.Z)(z,e),z.length=n.length,O.notifyListeners(z.location,z.action)}function A(e){(function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")})(e)||R(P(e.state))}function F(){R(P(S()))}var I=!1;function R(e){I?(I=!1,T()):O.confirmTransitionTo(e,"POP",g,(function(t){t?T({action:"POP",location:e}):function(e){var t=z.location,n=N.indexOf(t.key);-1===n&&(n=0);var r=N.indexOf(e.key);-1===r&&(r=0);var i=n-r;i&&(I=!0,U(i))}(e)}))}var M=P(S()),N=[M.key];function L(e){return k+d(e)}function U(e){n.go(e)}var D=0;function j(e){1===(D+=e)&&1===e?(window.addEventListener(w,A),o&&window.addEventListener(_,F)):0===D&&(window.removeEventListener(w,A),o&&window.removeEventListener(_,F))}var B=!1,z={length:n.length,action:"POP",location:M,createHref:L,push:function(e,t){var r="PUSH",o=m(e,t,C(),z.location);O.confirmTransitionTo(o,r,g,(function(e){if(e){var t=L(o),s=o.key,a=o.state;if(i)if(n.pushState({key:s,state:a},null,t),u)window.location.href=t;else{var l=N.indexOf(z.location.key),c=N.slice(0,l+1);c.push(o.key),N=c,T({action:r,location:o})}else window.location.href=t}}))},replace:function(e,t){var r="REPLACE",o=m(e,t,C(),z.location);O.confirmTransitionTo(o,r,g,(function(e){if(e){var t=L(o),s=o.key,a=o.state;if(i)if(n.replaceState({key:s,state:a},null,t),u)window.location.replace(t);else{var l=N.indexOf(z.location.key);-1!==l&&(N[l]=o.key),T({action:r,location:o})}else window.location.replace(t)}}))},go:U,goBack:function(){U(-1)},goForward:function(){U(1)},block:function(e){void 0===e&&(e=!1);var t=O.setPrompt(e);return B||(j(1),B=!0),function(){return B&&(B=!1,j(-1)),t()}},listen:function(e){var t=O.appendListener(e);return j(1),function(){j(-1),t()}}};return z}var E="hashchange",k={hashbang:{encodePath:function(e){return"!"===e.charAt(0)?e:"!/"+f(e)},decodePath:function(e){return"!"===e.charAt(0)?e.substr(1):e}},noslash:{encodePath:f,decodePath:c},slash:{encodePath:c,decodePath:c}};function P(e){var t=e.indexOf("#");return-1===t?e:e.slice(0,t)}function C(){var e=window.location.href,t=e.indexOf("#");return-1===t?"":e.substring(t+1)}function O(e){window.location.replace(P(window.location.href)+"#"+e)}function T(e){void 0===e&&(e={}),y||(0,l.Z)(!1);var t=window.history,n=(window.navigator.userAgent.indexOf("Firefox"),e),i=n.getUserConfirmation,o=void 0===i?b:i,s=n.hashType,a=void 0===s?"slash":s,u=e.basename?p(c(e.basename)):"",f=k[a],g=f.encodePath,w=f.decodePath;function _(){var e=w(C());return u&&(e=h(e,u)),m(e)}var S=v();function x(e){(0,r.Z)(B,e),B.length=t.length,S.notifyListeners(B.location,B.action)}var T=!1,A=null;function F(){var e,t,n=C(),r=g(n);if(n!==r)O(r);else{var i=_(),s=B.location;if(!T&&(t=i,(e=s).pathname===t.pathname&&e.search===t.search&&e.hash===t.hash))return;if(A===d(i))return;A=null,function(e){if(T)T=!1,x();else{S.confirmTransitionTo(e,"POP",o,(function(t){t?x({action:"POP",location:e}):function(e){var t=B.location,n=N.lastIndexOf(d(t));-1===n&&(n=0);var r=N.lastIndexOf(d(e));-1===r&&(r=0);var i=n-r;i&&(T=!0,L(i))}(e)}))}}(i)}}var I=C(),R=g(I);I!==R&&O(R);var M=_(),N=[d(M)];function L(e){t.go(e)}var U=0;function D(e){1===(U+=e)&&1===e?window.addEventListener(E,F):0===U&&window.removeEventListener(E,F)}var j=!1,B={length:t.length,action:"POP",location:M,createHref:function(e){var t=document.querySelector("base"),n="";return t&&t.getAttribute("href")&&(n=P(window.location.href)),n+"#"+g(u+d(e))},push:function(e,t){var n="PUSH",r=m(e,void 0,void 0,B.location);S.confirmTransitionTo(r,n,o,(function(e){if(e){var t=d(r),i=g(u+t);if(C()!==i){A=t,function(e){window.location.hash=e}(i);var o=N.lastIndexOf(d(B.location)),s=N.slice(0,o+1);s.push(t),N=s,x({action:n,location:r})}else x()}}))},replace:function(e,t){var n="REPLACE",r=m(e,void 0,void 0,B.location);S.confirmTransitionTo(r,n,o,(function(e){if(e){var t=d(r),i=g(u+t);C()!==i&&(A=t,O(i));var o=N.indexOf(d(B.location));-1!==o&&(N[o]=t),x({action:n,location:r})}}))},go:L,goBack:function(){L(-1)},goForward:function(){L(1)},block:function(e){void 0===e&&(e=!1);var t=S.setPrompt(e);return j||(D(1),j=!0),function(){return j&&(j=!1,D(-1)),t()}},listen:function(e){var t=S.appendListener(e);return D(1),function(){D(-1),t()}}};return B}function A(e,t,n){return Math.min(Math.max(e,t),n)}function F(e){void 0===e&&(e={});var t=e,n=t.getUserConfirmation,i=t.initialEntries,o=void 0===i?["/"]:i,s=t.initialIndex,a=void 0===s?0:s,u=t.keyLength,l=void 0===u?6:u,c=v();function f(e){(0,r.Z)(w,e),w.length=w.entries.length,c.notifyListeners(w.location,w.action)}function h(){return Math.random().toString(36).substr(2,l)}var p=A(a,0,o.length-1),g=o.map((function(e){return m(e,void 0,"string"==typeof e?h():e.key||h())})),y=d;function b(e){var t=A(w.index+e,0,w.entries.length-1),r=w.entries[t];c.confirmTransitionTo(r,"POP",n,(function(e){e?f({action:"POP",location:r,index:t}):f()}))}var w={length:g.length,action:"POP",location:g[p],index:p,entries:g,createHref:y,push:function(e,t){var r="PUSH",i=m(e,t,h(),w.location);c.confirmTransitionTo(i,r,n,(function(e){if(e){var t=w.index+1,n=w.entries.slice(0);n.length>t?n.splice(t,n.length-t,i):n.push(i),f({action:r,location:i,index:t,entries:n})}}))},replace:function(e,t){var r="REPLACE",i=m(e,t,h(),w.location);c.confirmTransitionTo(i,r,n,(function(e){e&&(w.entries[w.index]=i,f({action:r,location:i}))}))},go:b,goBack:function(){b(-1)},goForward:function(){b(1)},canGo:function(e){var t=w.index+e;return t>=0&&t<w.entries.length},block:function(e){return void 0===e&&(e=!1),c.setPrompt(e)},listen:function(e){return c.appendListener(e)}};return w}},73463:function(e,t,n){"use strict";var r=n(73887),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},s={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},a={};function u(e){return r.isMemo(e)?s:a[e.$$typeof]||i}a[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},a[r.Memo]=s;var l=Object.defineProperty,c=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,h=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,d=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(d){var i=p(n);i&&i!==d&&e(t,i,r)}var s=c(n);f&&(s=s.concat(f(n)));for(var a=u(t),m=u(n),g=0;g<s.length;++g){var v=s[g];if(!(o[v]||r&&r[v]||m&&m[v]||a&&a[v])){var y=h(n,v);try{l(t,v,y)}catch(e){}}}}return t}},43459:function(e,t){"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,i=n?Symbol.for("react.portal"):60106,o=n?Symbol.for("react.fragment"):60107,s=n?Symbol.for("react.strict_mode"):60108,a=n?Symbol.for("react.profiler"):60114,u=n?Symbol.for("react.provider"):60109,l=n?Symbol.for("react.context"):60110,c=n?Symbol.for("react.async_mode"):60111,f=n?Symbol.for("react.concurrent_mode"):60111,h=n?Symbol.for("react.forward_ref"):60112,p=n?Symbol.for("react.suspense"):60113,d=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,g=n?Symbol.for("react.lazy"):60116,v=n?Symbol.for("react.block"):60121,y=n?Symbol.for("react.fundamental"):60117,b=n?Symbol.for("react.responder"):60118,w=n?Symbol.for("react.scope"):60119;function _(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case c:case f:case o:case a:case s:case p:return e;default:switch(e=e&&e.$$typeof){case l:case h:case g:case m:case u:return e;default:return t}}case i:return t}}}function S(e){return _(e)===f}t.AsyncMode=c,t.ConcurrentMode=f,t.ContextConsumer=l,t.ContextProvider=u,t.Element=r,t.ForwardRef=h,t.Fragment=o,t.Lazy=g,t.Memo=m,t.Portal=i,t.Profiler=a,t.StrictMode=s,t.Suspense=p,t.isAsyncMode=function(e){return S(e)||_(e)===c},t.isConcurrentMode=S,t.isContextConsumer=function(e){return _(e)===l},t.isContextProvider=function(e){return _(e)===u},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return _(e)===h},t.isFragment=function(e){return _(e)===o},t.isLazy=function(e){return _(e)===g},t.isMemo=function(e){return _(e)===m},t.isPortal=function(e){return _(e)===i},t.isProfiler=function(e){return _(e)===a},t.isStrictMode=function(e){return _(e)===s},t.isSuspense=function(e){return _(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===f||e===a||e===s||e===p||e===d||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===m||e.$$typeof===u||e.$$typeof===l||e.$$typeof===h||e.$$typeof===y||e.$$typeof===b||e.$$typeof===w||e.$$typeof===v)},t.typeOf=_},73887:function(e,t,n){"use strict";e.exports=n(43459)},77481:function(e,t,n){"use strict";n.d(t,{C:function(){return u}});var r=n(5163),i=n(39987),o=n(75413),s=n(30087);function a(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,n){e[t]=n}}}}}var u=function(){function e(t,n,i,u){var l,c,f,h=this;if(void 0===n&&(n=e.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var t=h.formatToParts(e);if(1===t.length)return t[0].value;var n=t.reduce((function(e,t){return e.length&&t.type===s.du.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e}),[]);return n.length<=1?n[0]||"":n},this.formatToParts=function(e){return(0,s.FK)(h.ast,h.locales,h.formatters,h.formats,e,void 0,h.message)},this.resolvedOptions=function(){return{locale:h.resolvedLocale.toString()}},this.getAst=function(){return h.ast},this.locales=n,this.resolvedLocale=e.resolveLocale(n),"string"==typeof t){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=e.__parse(t,{ignoreTag:null==u?void 0:u.ignoreTag,locale:this.resolvedLocale})}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=(c=e.formats,(f=i)?Object.keys(c).reduce((function(e,t){var n,i;return e[t]=(n=c[t],(i=f[t])?(0,r.pi)((0,r.pi)((0,r.pi)({},n||{}),i||{}),Object.keys(n).reduce((function(e,t){return e[t]=(0,r.pi)((0,r.pi)({},n[t]),i[t]||{}),e}),{})):n),e}),(0,r.pi)({},c)):c),this.formatters=u&&u.formatters||(void 0===(l=this.formatterCache)&&(l={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:(0,o.Z)((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,(0,r.ev)([void 0],t,!1)))}),{cache:a(l.number),strategy:o.A.variadic}),getDateTimeFormat:(0,o.Z)((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,(0,r.ev)([void 0],t,!1)))}),{cache:a(l.dateTime),strategy:o.A.variadic}),getPluralRules:(0,o.Z)((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,(0,r.ev)([void 0],t,!1)))}),{cache:a(l.pluralRules),strategy:o.A.variadic})})}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(e){var t=Intl.NumberFormat.supportedLocalesOf(e);return t.length>0?new Intl.Locale(t[0]):new Intl.Locale("string"==typeof e?e:e[0])},e.__parse=i.Qc,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}()},56313:function(e,t,n){"use strict";n.d(t,{C8:function(){return s},HR:function(){return u},YR:function(){return a},jK:function(){return r},u_:function(){return o}});var r,i=n(5163);!function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"}(r||(r={}));var o=function(e){function t(t,n,r){var i=e.call(this,t)||this;return i.code=n,i.originalMessage=r,i}return(0,i.ZT)(t,e),t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),s=function(e){function t(t,n,i,o){return e.call(this,'Invalid values for "'.concat(t,'": "').concat(n,'". Options are "').concat(Object.keys(i).join('", "'),'"'),r.INVALID_VALUE,o)||this}return(0,i.ZT)(t,e),t}(o),a=function(e){function t(t,n,i){return e.call(this,'Value for "'.concat(t,'" must be of type ').concat(n),r.INVALID_VALUE,i)||this}return(0,i.ZT)(t,e),t}(o),u=function(e){function t(t,n){return e.call(this,'The intl string context variable "'.concat(t,'" was not provided to the string "').concat(n,'"'),r.MISSING_VALUE,n)||this}return(0,i.ZT)(t,e),t}(o)},30087:function(e,t,n){"use strict";n.d(t,{FK:function(){return a},Gt:function(){return s},du:function(){return r}});var r,i=n(39987),o=n(56313);function s(e){return"function"==typeof e}function a(e,t,n,u,l,c,f){if(1===e.length&&(0,i.O4)(e[0]))return[{type:r.literal,value:e[0].value}];for(var h=[],p=0,d=e;p<d.length;p++){var m=d[p];if((0,i.O4)(m))h.push({type:r.literal,value:m.value});else if((0,i.yx)(m))"number"==typeof c&&h.push({type:r.literal,value:n.getNumberFormat(t).format(c)});else{var g=m.value;if(!l||!(g in l))throw new o.HR(g,f);var v=l[g];if((0,i.VG)(m))v&&"string"!=typeof v&&"number"!=typeof v||(v="string"==typeof v||"number"==typeof v?String(v):""),h.push({type:"string"==typeof v?r.literal:r.object,value:v});else if((0,i.rp)(m)){var y="string"==typeof m.style?u.date[m.style]:(0,i.Ii)(m.style)?m.style.parsedOptions:void 0;h.push({type:r.literal,value:n.getDateTimeFormat(t,y).format(v)})}else if((0,i.pe)(m))y="string"==typeof m.style?u.time[m.style]:(0,i.Ii)(m.style)?m.style.parsedOptions:u.time.medium,h.push({type:r.literal,value:n.getDateTimeFormat(t,y).format(v)});else if((0,i.uf)(m))(y="string"==typeof m.style?u.number[m.style]:(0,i.Wh)(m.style)?m.style.parsedOptions:void 0)&&y.scale&&(v*=y.scale||1),h.push({type:r.literal,value:n.getNumberFormat(t,y).format(v)});else{if((0,i.HI)(m)){var b=m.children,w=m.value,_=l[w];if(!s(_))throw new o.YR(w,"function",f);var S=_(a(b,t,n,u,l,c).map((function(e){return e.value})));Array.isArray(S)||(S=[S]),h.push.apply(h,S.map((function(e){return{type:"string"==typeof e?r.literal:r.object,value:e}})))}if((0,i.Wi)(m)){if(!(x=m.options[v]||m.options.other))throw new o.C8(m.value,v,Object.keys(m.options),f);h.push.apply(h,a(x.value,t,n,u,l))}else if((0,i.Jo)(m)){var x;if(!(x=m.options["=".concat(v)])){if(!Intl.PluralRules)throw new o.u_('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',o.jK.MISSING_INTL_API,f);var E=n.getPluralRules(t,{type:m.pluralType}).select(v-(m.offset||0));x=m.options[E]||m.options.other}if(!x)throw new o.C8(m.value,v,Object.keys(m.options),f);h.push.apply(h,a(x.value,t,n,u,l,v-(m.offset||0)))}}}}return(k=h).length<2?k:k.reduce((function(e,t){var n=e[e.length-1];return n&&n.type===r.literal&&t.type===r.literal?n.value+=t.value:e.push(t),e}),[]);var k}!function(e){e[e.literal=0]="literal",e[e.object=1]="object"}(r||(r={}))},98843:function(e){e.exports=function(e,t){if(e===t)return!0;for(var n in e)if(!(n in t))return!1;for(var n in t)if(e[n]!==t[n])return!1;return!0}},95978:function(e,t,n){var r,i;i="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==n.g?n.g:this,e.exports=function(n){"use strict";var i,o=(n=n||{}).Base64,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=function(e){for(var t={},n=0,r=e.length;n<r;n++)t[e.charAt(n)]=n;return t}(s),u=String.fromCharCode,l=function(e){if(e.length<2)return(t=e.charCodeAt(0))<128?e:t<2048?u(192|t>>>6)+u(128|63&t):u(224|t>>>12&15)+u(128|t>>>6&63)+u(128|63&t);var t=65536+1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320);return u(240|t>>>18&7)+u(128|t>>>12&63)+u(128|t>>>6&63)+u(128|63&t)},c=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,f=function(e){return e.replace(c,l)},h=function(e){var t=[0,2,1][e.length%3],n=e.charCodeAt(0)<<16|(e.length>1?e.charCodeAt(1):0)<<8|(e.length>2?e.charCodeAt(2):0);return[s.charAt(n>>>18),s.charAt(n>>>12&63),t>=2?"=":s.charAt(n>>>6&63),t>=1?"=":s.charAt(63&n)].join("")},p=n.btoa&&"function"==typeof n.btoa?function(e){return n.btoa(e)}:function(e){if(e.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return e.replace(/[\s\S]{1,3}/g,h)},d=function(e){return p(f(String(e)))},m=function(e){return e.replace(/[+\/]/g,(function(e){return"+"==e?"-":"_"})).replace(/=/g,"")},g=function(e,t){return t?m(d(e)):d(e)};n.Uint8Array&&(i=function(e,t){for(var n="",r=0,i=e.length;r<i;r+=3){var o=e[r],a=e[r+1],u=e[r+2],l=o<<16|a<<8|u;n+=s.charAt(l>>>18)+s.charAt(l>>>12&63)+(void 0!==a?s.charAt(l>>>6&63):"=")+(void 0!==u?s.charAt(63&l):"=")}return t?m(n):n});var v,y=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,b=function(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 u(55296+(t>>>10))+u(56320+(1023&t));case 3:return u((15&e.charCodeAt(0))<<12|(63&e.charCodeAt(1))<<6|63&e.charCodeAt(2));default:return u((31&e.charCodeAt(0))<<6|63&e.charCodeAt(1))}},w=function(e){return e.replace(y,b)},_=function(e){var t=e.length,n=t%4,r=(t>0?a[e.charAt(0)]<<18:0)|(t>1?a[e.charAt(1)]<<12:0)|(t>2?a[e.charAt(2)]<<6:0)|(t>3?a[e.charAt(3)]:0),i=[u(r>>>16),u(r>>>8&255),u(255&r)];return i.length-=[0,0,2,1][n],i.join("")},S=n.atob&&"function"==typeof n.atob?function(e){return n.atob(e)}:function(e){return e.replace(/\S{1,4}/g,_)},x=function(e){return S(String(e).replace(/[^A-Za-z0-9\+\/]/g,""))},E=function(e){return String(e).replace(/[-_]/g,(function(e){return"-"==e?"+":"/"})).replace(/[^A-Za-z0-9\+\/]/g,"")},k=function(e){return function(e){return w(S(e))}(E(e))};n.Uint8Array&&(v=function(e){return Uint8Array.from(x(E(e)),(function(e){return e.charCodeAt(0)}))});if(n.Base64={VERSION:"2.6.4",atob:x,btoa:p,fromBase64:k,toBase64:g,utob:f,encode:g,encodeURI:function(e){return g(e,!0)},btou:w,decode:k,noConflict:function(){var e=n.Base64;return n.Base64=o,e},fromUint8Array:i,toUint8Array:v},"function"==typeof Object.defineProperty){var P=function(e){return{value:e,enumerable:!1,writable:!0,configurable:!0}};n.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",P((function(){return k(this)}))),Object.defineProperty(String.prototype,"toBase64",P((function(e){return g(this,e)}))),Object.defineProperty(String.prototype,"toBase64URI",P((function(){return g(this,!0)})))}}return n.Meteor&&(Base64=n.Base64),e.exports?e.exports.Base64=n.Base64:void 0===(r=function(){return n.Base64}.apply(t,[]))||(e.exports=r),{Base64:n.Base64}}(i)},52034:function(e,t,n){var r,i,o;o=function(){function e(){for(var e=0,t={};e<arguments.length;e++){var n=arguments[e];for(var r in n)t[r]=n[r]}return t}function t(e){return e.replace(/(%[0-9A-Z]{2})+/g,decodeURIComponent)}return function n(r){function i(){}function o(t,n,o){if("undefined"!=typeof document){"number"==typeof(o=e({path:"/"},i.defaults,o)).expires&&(o.expires=new Date(1*new Date+864e5*o.expires)),o.expires=o.expires?o.expires.toUTCString():"";try{var s=JSON.stringify(n);/^[\{\[]/.test(s)&&(n=s)}catch(e){}n=r.write?r.write(n,t):encodeURIComponent(String(n)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),t=encodeURIComponent(String(t)).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent).replace(/[\(\)]/g,escape);var a="";for(var u in o)o[u]&&(a+="; "+u,!0!==o[u]&&(a+="="+o[u].split(";")[0]));return document.cookie=t+"="+n+a}}function s(e,n){if("undefined"!=typeof document){for(var i={},o=document.cookie?document.cookie.split("; "):[],s=0;s<o.length;s++){var a=o[s].split("="),u=a.slice(1).join("=");n||'"'!==u.charAt(0)||(u=u.slice(1,-1));try{var l=t(a[0]);if(u=(r.read||r)(u,l)||t(u),n)try{u=JSON.parse(u)}catch(e){}if(i[l]=u,e===l)break}catch(e){}}return e?i[e]:i}}return i.set=o,i.get=function(e){return s(e,!1)},i.getJSON=function(e){return s(e,!0)},i.remove=function(t,n){o(t,"",e(n,{expires:-1}))},i.defaults={},i.withConverter=n,i}((function(){}))},void 0===(i="function"==typeof(r=o)?r.call(t,n,t,e):r)||(e.exports=i),e.exports=o()},80594:function(e,t,n){var r=/^\s+|\s+$/g,i=/^[-+]0x[0-9a-f]+$/i,o=/^0b[01]+$/i,s=/^0o[0-7]+$/i,a=parseInt,u="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,l="object"==typeof self&&self&&self.Object===Object&&self,c=u||l||Function("return this")(),f=Object.prototype.toString,h=Math.max,p=Math.min,d=function(){return c.Date.now()};function m(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function g(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==f.call(e)}(e))return NaN;if(m(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=m(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(r,"");var n=o.test(e);return n||s.test(e)?a(e.slice(2),n?2:8):i.test(e)?NaN:+e}e.exports=function(e,t,n){var r,i,o,s,a,u,l=0,c=!1,f=!1,v=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function y(t){var n=r,o=i;return r=i=void 0,l=t,s=e.apply(o,n)}function b(e){var n=e-u;return void 0===u||n>=t||n<0||f&&e-l>=o}function w(){var e=d();if(b(e))return _(e);a=setTimeout(w,function(e){var n=t-(e-u);return f?p(n,o-(e-l)):n}(e))}function _(e){return a=void 0,v&&r?y(e):(r=i=void 0,s)}function S(){var e=d(),n=b(e);if(r=arguments,i=this,u=e,n){if(void 0===a)return function(e){return l=e,a=setTimeout(w,t),c?y(e):s}(u);if(f)return a=setTimeout(w,t),y(u)}return void 0===a&&(a=setTimeout(w,t)),s}return t=g(t)||0,m(n)&&(c=!!n.leading,o=(f="maxWait"in n)?h(g(n.maxWait)||0,t):o,v="trailing"in n?!!n.trailing:v),S.cancel=function(){void 0!==a&&clearTimeout(a),l=0,r=u=i=a=void 0},S.flush=function(){return void 0===a?s:_(d())},S}},98357:function(e,t,n){var r="Expected a function",i=NaN,o="[object Symbol]",s=/^\s+|\s+$/g,a=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,l=/^0o[0-7]+$/i,c=parseInt,f="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,h="object"==typeof self&&self&&self.Object===Object&&self,p=f||h||Function("return this")(),d=Object.prototype.toString,m=Math.max,g=Math.min,v=function(){return p.Date.now()};function y(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function b(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&d.call(e)==o}(e))return i;if(y(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=y(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(s,"");var n=u.test(e);return n||l.test(e)?c(e.slice(2),n?2:8):a.test(e)?i:+e}e.exports=function(e,t,n){var i=!0,o=!0;if("function"!=typeof e)throw new TypeError(r);return y(n)&&(i="leading"in n?!!n.leading:i,o="trailing"in n?!!n.trailing:o),function(e,t,n){var i,o,s,a,u,l,c=0,f=!1,h=!1,p=!0;if("function"!=typeof e)throw new TypeError(r);function d(t){var n=i,r=o;return i=o=void 0,c=t,a=e.apply(r,n)}function w(e){var n=e-l;return void 0===l||n>=t||n<0||h&&e-c>=s}function _(){var e=v();if(w(e))return S(e);u=setTimeout(_,function(e){var n=t-(e-l);return h?g(n,s-(e-c)):n}(e))}function S(e){return u=void 0,p&&i?d(e):(i=o=void 0,a)}function x(){var e=v(),n=w(e);if(i=arguments,o=this,l=e,n){if(void 0===u)return function(e){return c=e,u=setTimeout(_,t),f?d(e):a}(l);if(h)return u=setTimeout(_,t),d(l)}return void 0===u&&(u=setTimeout(_,t)),a}return t=b(t)||0,y(n)&&(f=!!n.leading,s=(h="maxWait"in n)?m(b(n.maxWait)||0,t):s,p="trailing"in n?!!n.trailing:p),x.cancel=function(){void 0!==u&&clearTimeout(u),c=0,i=l=o=u=void 0},x.flush=function(){return void 0===u?a:S(v())},x}(e,t,{leading:i,maxWait:t,trailing:o})}},39515:function(e,t,n){var r=n(38761)(n(37772),"DataView");e.exports=r},89612:function(e,t,n){var r=n(52118),i=n(96909),o=n(98138),s=n(4174),a=n(7942);function u(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}u.prototype.clear=r,u.prototype.delete=i,u.prototype.get=o,u.prototype.has=s,u.prototype.set=a,e.exports=u},80235:function(e,t,n){var r=n(3945),i=n(21846),o=n(88028),s=n(72344),a=n(94769);function u(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}u.prototype.clear=r,u.prototype.delete=i,u.prototype.get=o,u.prototype.has=s,u.prototype.set=a,e.exports=u},10326:function(e,t,n){var r=n(38761)(n(37772),"Map");e.exports=r},96738:function(e,t,n){var r=n(92411),i=n(36417),o=n(86928),s=n(79493),a=n(24150);function u(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}u.prototype.clear=r,u.prototype.delete=i,u.prototype.get=o,u.prototype.has=s,u.prototype.set=a,e.exports=u},52760:function(e,t,n){var r=n(38761)(n(37772),"Promise");e.exports=r},2143:function(e,t,n){var r=n(38761)(n(37772),"Set");e.exports=r},45386:function(e,t,n){var r=n(96738),i=n(52842),o=n(52482);function s(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new r;++t<n;)this.add(e[t])}s.prototype.add=s.prototype.push=i,s.prototype.has=o,e.exports=s},86571:function(e,t,n){var r=n(80235),i=n(15243),o=n(72858),s=n(4417),a=n(8605),u=n(71418);function l(e){var t=this.__data__=new r(e);this.size=t.size}l.prototype.clear=i,l.prototype.delete=o,l.prototype.get=s,l.prototype.has=a,l.prototype.set=u,e.exports=l},50857:function(e,t,n){var r=n(37772).Symbol;e.exports=r},79162:function(e,t,n){var r=n(37772).Uint8Array;e.exports=r},93215:function(e,t,n){var r=n(38761)(n(37772),"WeakMap");e.exports=r},49432:function(e){e.exports=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}},67552:function(e){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,i=0,o=[];++n<r;){var s=e[n];t(s,n,e)&&(o[i++]=s)}return o}},38333:function(e,t,n){var r=n(77832);e.exports=function(e,t){return!(null==e||!e.length)&&r(e,t,0)>-1}},34893:function(e){e.exports=function(e,t,n){for(var r=-1,i=null==e?0:e.length;++r<i;)if(n(t,e[r]))return!0;return!1}},1634:function(e,t,n){var r=n(36473),i=n(79631),o=n(86152),s=n(73226),a=n(39045),u=n(77598),l=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=o(e),c=!n&&i(e),f=!n&&!c&&s(e),h=!n&&!c&&!f&&u(e),p=n||c||f||h,d=p?r(e.length,String):[],m=d.length;for(var g in e)!t&&!l.call(e,g)||p&&("length"==g||f&&("offset"==g||"parent"==g)||h&&("buffer"==g||"byteLength"==g||"byteOffset"==g)||a(g,m))||d.push(g);return d}},50343:function(e){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}},65067:function(e){e.exports=function(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}},87064:function(e){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}},22218:function(e,t,n){var r=n(41225);e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}},14034:function(e){e.exports=function(e,t,n){return e==e&&(void 0!==n&&(e=e<=n?e:n),void 0!==t&&(e=e>=t?e:t)),e}},24303:function(e,t,n){var r=n(26548),i=n(92019)(r);e.exports=i},21359:function(e){e.exports=function(e,t,n,r){for(var i=e.length,o=n+(r?1:-1);r?o--:++o<i;)if(t(e[o],o,e))return o;return-1}},62034:function(e,t,n){var r=n(65067),i=n(95882);e.exports=function e(t,n,o,s,a){var u=-1,l=t.length;for(o||(o=i),a||(a=[]);++u<l;){var c=t[u];n>0&&o(c)?n>1?e(c,n-1,o,s,a):r(a,c):s||(a[a.length]=c)}return a}},15308:function(e,t,n){var r=n(55463)();e.exports=r},26548:function(e,t,n){var r=n(15308),i=n(90249);e.exports=function(e,t){return e&&r(e,t,i)}},13324:function(e,t,n){var r=n(17297),i=n(33812);e.exports=function(e,t){for(var n=0,o=(t=r(t,e)).length;null!=e&&n<o;)e=e[i(t[n++])];return n&&n==o?e:void 0}},1897:function(e,t,n){var r=n(65067),i=n(86152);e.exports=function(e,t,n){var o=t(e);return i(e)?o:r(o,n(e))}},53366:function(e,t,n){var r=n(50857),i=n(62107),o=n(37157),s=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":s&&s in Object(e)?i(e):o(e)}},20187:function(e){e.exports=function(e,t){return null!=e&&t in Object(e)}},77832:function(e,t,n){var r=n(21359),i=n(22195),o=n(66024);e.exports=function(e,t,n){return t==t?o(e,t,n):r(e,i,n)}},15183:function(e,t,n){var r=n(53366),i=n(15125);e.exports=function(e){return i(e)&&"[object Arguments]"==r(e)}},88746:function(e,t,n){var r=n(51952),i=n(15125);e.exports=function e(t,n,o,s,a){return t===n||(null==t||null==n||!i(t)&&!i(n)?t!=t&&n!=n:r(t,n,o,s,e,a))}},51952:function(e,t,n){var r=n(86571),i=n(74871),o=n(11491),s=n(17416),a=n(70940),u=n(86152),l=n(73226),c=n(77598),f="[object Arguments]",h="[object Array]",p="[object Object]",d=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,m,g,v){var y=u(e),b=u(t),w=y?h:a(e),_=b?h:a(t),S=(w=w==f?p:w)==p,x=(_=_==f?p:_)==p,E=w==_;if(E&&l(e)){if(!l(t))return!1;y=!0,S=!1}if(E&&!S)return v||(v=new r),y||c(e)?i(e,t,n,m,g,v):o(e,t,w,n,m,g,v);if(!(1&n)){var k=S&&d.call(e,"__wrapped__"),P=x&&d.call(t,"__wrapped__");if(k||P){var C=k?e.value():e,O=P?t.value():t;return v||(v=new r),g(C,O,n,m,v)}}return!!E&&(v||(v=new r),s(e,t,n,m,g,v))}},37036:function(e,t,n){var r=n(86571),i=n(88746);e.exports=function(e,t,n,o){var s=n.length,a=s,u=!o;if(null==e)return!a;for(e=Object(e);s--;){var l=n[s];if(u&&l[2]?l[1]!==e[l[0]]:!(l[0]in e))return!1}for(;++s<a;){var c=(l=n[s])[0],f=e[c],h=l[1];if(u&&l[2]){if(void 0===f&&!(c in e))return!1}else{var p=new r;if(o)var d=o(f,h,c,e,t,p);if(!(void 0===d?i(h,f,3,o,p):d))return!1}}return!0}},22195:function(e){e.exports=function(e){return e!=e}},6840:function(e,t,n){var r=n(61049),i=n(47394),o=n(29259),s=n(87035),a=/^\[object .+?Constructor\]$/,u=Function.prototype,l=Object.prototype,c=u.toString,f=l.hasOwnProperty,h=RegExp("^"+c.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!o(e)||i(e))&&(r(e)?h:a).test(s(e))}},35522:function(e,t,n){var r=n(53366),i=n(61158),o=n(15125),s={};s["[object Float32Array]"]=s["[object Float64Array]"]=s["[object Int8Array]"]=s["[object Int16Array]"]=s["[object Int32Array]"]=s["[object Uint8Array]"]=s["[object Uint8ClampedArray]"]=s["[object Uint16Array]"]=s["[object Uint32Array]"]=!0,s["[object Arguments]"]=s["[object Array]"]=s["[object ArrayBuffer]"]=s["[object Boolean]"]=s["[object DataView]"]=s["[object Date]"]=s["[object Error]"]=s["[object Function]"]=s["[object Map]"]=s["[object Number]"]=s["[object Object]"]=s["[object RegExp]"]=s["[object Set]"]=s["[object String]"]=s["[object WeakMap]"]=!1,e.exports=function(e){return o(e)&&i(e.length)&&!!s[r(e)]}},68286:function(e,t,n){var r=n(26423),i=n(74716),o=n(23059),s=n(86152),a=n(65798);e.exports=function(e){return"function"==typeof e?e:null==e?o:"object"==typeof e?s(e)?i(e[0],e[1]):r(e):a(e)}},86411:function(e,t,n){var r=n(16001),i=n(54248),o=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return i(e);var t=[];for(var n in Object(e))o.call(e,n)&&"constructor"!=n&&t.push(n);return t}},93401:function(e,t,n){var r=n(24303),i=n(67878);e.exports=function(e,t){var n=-1,o=i(e)?Array(e.length):[];return r(e,(function(e,r,i){o[++n]=t(e,r,i)})),o}},26423:function(e,t,n){var r=n(37036),i=n(49882),o=n(73477);e.exports=function(e){var t=i(e);return 1==t.length&&t[0][2]?o(t[0][0],t[0][1]):function(n){return n===e||r(n,e,t)}}},74716:function(e,t,n){var r=n(88746),i=n(72579),o=n(95041),s=n(21401),a=n(28792),u=n(73477),l=n(33812);e.exports=function(e,t){return s(e)&&a(t)?u(l(e),t):function(n){var s=i(n,e);return void 0===s&&s===t?o(n,e):r(t,s,3)}}},23813:function(e,t,n){var r=n(50343),i=n(13324),o=n(68286),s=n(93401),a=n(27095),u=n(47826),l=n(18477),c=n(23059),f=n(86152);e.exports=function(e,t,n){t=t.length?r(t,(function(e){return f(e)?function(t){return i(t,1===e.length?e[0]:e)}:e})):[c];var h=-1;t=r(t,u(o));var p=s(e,(function(e,n,i){return{criteria:r(t,(function(t){return t(e)})),index:++h,value:e}}));return a(p,(function(e,t){return l(e,t,n)}))}},20256:function(e){e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},82952:function(e,t,n){var r=n(13324);e.exports=function(e){return function(t){return r(t,e)}}},36060:function(e,t,n){var r=n(23059),i=n(43114),o=n(75251);e.exports=function(e,t){return o(i(e,t,r),e+"")}},86532:function(e,t,n){var r=n(86874),i=n(83043),o=n(23059),s=i?function(e,t){return i(e,"toString",{configurable:!0,enumerable:!1,value:r(t),writable:!0})}:o;e.exports=s},27095:function(e){e.exports=function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}},36473:function(e){e.exports=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}},1054:function(e,t,n){var r=n(50857),i=n(50343),o=n(86152),s=n(4795),a=r?r.prototype:void 0,u=a?a.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(o(t))return i(t,e)+"";if(s(t))return u?u.call(t):"";var n=t+"";return"0"==n&&1/t==-1/0?"-0":n}},51704:function(e,t,n){var r=n(52153),i=/^\s+/;e.exports=function(e){return e?e.slice(0,r(e)+1).replace(i,""):e}},47826:function(e){e.exports=function(e){return function(t){return e(t)}}},67326:function(e,t,n){var r=n(45386),i=n(38333),o=n(34893),s=n(59950),a=n(78803),u=n(16909);e.exports=function(e,t,n){var l=-1,c=i,f=e.length,h=!0,p=[],d=p;if(n)h=!1,c=o;else if(f>=200){var m=t?null:a(e);if(m)return u(m);h=!1,c=s,d=new r}else d=t?[]:p;e:for(;++l<f;){var g=e[l],v=t?t(g):g;if(g=n||0!==g?g:0,h&&v==v){for(var y=d.length;y--;)if(d[y]===v)continue e;t&&d.push(v),p.push(g)}else c(d,v,n)||(d!==p&&d.push(v),p.push(g))}return p}},59950:function(e){e.exports=function(e,t){return e.has(t)}},17297:function(e,t,n){var r=n(86152),i=n(21401),o=n(54452),s=n(66188);e.exports=function(e,t){return r(e)?e:i(e,t)?[e]:o(s(e))}},27520:function(e,t,n){var r=n(4795);e.exports=function(e,t){if(e!==t){var n=void 0!==e,i=null===e,o=e==e,s=r(e),a=void 0!==t,u=null===t,l=t==t,c=r(t);if(!u&&!c&&!s&&e>t||s&&a&&l&&!u&&!c||i&&a&&l||!n&&l||!o)return 1;if(!i&&!s&&!c&&e<t||c&&n&&o&&!i&&!s||u&&n&&o||!a&&o||!l)return-1}return 0}},18477:function(e,t,n){var r=n(27520);e.exports=function(e,t,n){for(var i=-1,o=e.criteria,s=t.criteria,a=o.length,u=n.length;++i<a;){var l=r(o[i],s[i]);if(l)return i>=u?l:l*("desc"==n[i]?-1:1)}return e.index-t.index}},24019:function(e,t,n){var r=n(37772)["__core-js_shared__"];e.exports=r},92019:function(e,t,n){var r=n(67878);e.exports=function(e,t){return function(n,i){if(null==n)return n;if(!r(n))return e(n,i);for(var o=n.length,s=t?o:-1,a=Object(n);(t?s--:++s<o)&&!1!==i(a[s],s,a););return n}}},55463:function(e){e.exports=function(e){return function(t,n,r){for(var i=-1,o=Object(t),s=r(t),a=s.length;a--;){var u=s[e?a:++i];if(!1===n(o[u],u,o))break}return t}}},78803:function(e,t,n){var r=n(2143),i=n(34291),o=n(16909),s=r&&1/o(new r([,-0]))[1]==1/0?function(e){return new r(e)}:i;e.exports=s},83043:function(e,t,n){var r=n(38761),i=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=i},74871:function(e,t,n){var r=n(45386),i=n(87064),o=n(59950);e.exports=function(e,t,n,s,a,u){var l=1&n,c=e.length,f=t.length;if(c!=f&&!(l&&f>c))return!1;var h=u.get(e),p=u.get(t);if(h&&p)return h==t&&p==e;var d=-1,m=!0,g=2&n?new r:void 0;for(u.set(e,t),u.set(t,e);++d<c;){var v=e[d],y=t[d];if(s)var b=l?s(y,v,d,t,e,u):s(v,y,d,e,t,u);if(void 0!==b){if(b)continue;m=!1;break}if(g){if(!i(t,(function(e,t){if(!o(g,t)&&(v===e||a(v,e,n,s,u)))return g.push(t)}))){m=!1;break}}else if(v!==y&&!a(v,y,n,s,u)){m=!1;break}}return u.delete(e),u.delete(t),m}},11491:function(e,t,n){var r=n(50857),i=n(79162),o=n(41225),s=n(74871),a=n(75179),u=n(16909),l=r?r.prototype:void 0,c=l?l.valueOf:void 0;e.exports=function(e,t,n,r,l,f,h){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!f(new i(e),new i(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return o(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var p=a;case"[object Set]":var d=1&r;if(p||(p=u),e.size!=t.size&&!d)return!1;var m=h.get(e);if(m)return m==t;r|=2,h.set(e,t);var g=s(p(e),p(t),r,l,f,h);return h.delete(e),g;case"[object Symbol]":if(c)return c.call(e)==c.call(t)}return!1}},17416:function(e,t,n){var r=n(13483),i=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,o,s,a){var u=1&n,l=r(e),c=l.length;if(c!=r(t).length&&!u)return!1;for(var f=c;f--;){var h=l[f];if(!(u?h in t:i.call(t,h)))return!1}var p=a.get(e),d=a.get(t);if(p&&d)return p==t&&d==e;var m=!0;a.set(e,t),a.set(t,e);for(var g=u;++f<c;){var v=e[h=l[f]],y=t[h];if(o)var b=u?o(y,v,h,t,e,a):o(v,y,h,e,t,a);if(!(void 0===b?v===y||s(v,y,n,o,a):b)){m=!1;break}g||(g="constructor"==h)}if(m&&!g){var w=e.constructor,_=t.constructor;w==_||!("constructor"in e)||!("constructor"in t)||"function"==typeof w&&w instanceof w&&"function"==typeof _&&_ instanceof _||(m=!1)}return a.delete(e),a.delete(t),m}},51242:function(e,t,n){var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=r},13483:function(e,t,n){var r=n(1897),i=n(80633),o=n(90249);e.exports=function(e){return r(e,o,i)}},27937:function(e,t,n){var r=n(98304);e.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},49882:function(e,t,n){var r=n(28792),i=n(90249);e.exports=function(e){for(var t=i(e),n=t.length;n--;){var o=t[n],s=e[o];t[n]=[o,s,r(s)]}return t}},38761:function(e,t,n){var r=n(6840),i=n(98109);e.exports=function(e,t){var n=i(e,t);return r(n)?n:void 0}},47353:function(e,t,n){var r=n(60241)(Object.getPrototypeOf,Object);e.exports=r},62107:function(e,t,n){var r=n(50857),i=Object.prototype,o=i.hasOwnProperty,s=i.toString,a=r?r.toStringTag:void 0;e.exports=function(e){var t=o.call(e,a),n=e[a];try{e[a]=void 0;var r=!0}catch(e){}var i=s.call(e);return r&&(t?e[a]=n:delete e[a]),i}},80633:function(e,t,n){var r=n(67552),i=n(30981),o=Object.prototype.propertyIsEnumerable,s=Object.getOwnPropertySymbols,a=s?function(e){return null==e?[]:(e=Object(e),r(s(e),(function(t){return o.call(e,t)})))}:i;e.exports=a},70940:function(e,t,n){var r=n(39515),i=n(10326),o=n(52760),s=n(2143),a=n(93215),u=n(53366),l=n(87035),c="[object Map]",f="[object Promise]",h="[object Set]",p="[object WeakMap]",d="[object DataView]",m=l(r),g=l(i),v=l(o),y=l(s),b=l(a),w=u;(r&&w(new r(new ArrayBuffer(1)))!=d||i&&w(new i)!=c||o&&w(o.resolve())!=f||s&&w(new s)!=h||a&&w(new a)!=p)&&(w=function(e){var t=u(e),n="[object Object]"==t?e.constructor:void 0,r=n?l(n):"";if(r)switch(r){case m:return d;case g:return c;case v:return f;case y:return h;case b:return p}return t}),e.exports=w},98109:function(e){e.exports=function(e,t){return null==e?void 0:e[t]}},1369:function(e,t,n){var r=n(17297),i=n(79631),o=n(86152),s=n(39045),a=n(61158),u=n(33812);e.exports=function(e,t,n){for(var l=-1,c=(t=r(t,e)).length,f=!1;++l<c;){var h=u(t[l]);if(!(f=null!=e&&n(e,h)))break;e=e[h]}return f||++l!=c?f:!!(c=null==e?0:e.length)&&a(c)&&s(h,c)&&(o(e)||i(e))}},52118:function(e,t,n){var r=n(99191);e.exports=function(){this.__data__=r?r(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,n){var r=n(99191),i=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(r){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return i.call(t,e)?t[e]:void 0}},4174:function(e,t,n){var r=n(99191),i=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:i.call(t,e)}},7942:function(e,t,n){var r=n(99191);e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?"__lodash_hash_undefined__":t,this}},95882:function(e,t,n){var r=n(50857),i=n(79631),o=n(86152),s=r?r.isConcatSpreadable:void 0;e.exports=function(e){return o(e)||i(e)||!!(s&&e&&e[s])}},39045:function(e){var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,n){var r=typeof e;return!!(n=null==n?9007199254740991:n)&&("number"==r||"symbol"!=r&&t.test(e))&&e>-1&&e%1==0&&e<n}},82406:function(e,t,n){var r=n(41225),i=n(67878),o=n(39045),s=n(29259);e.exports=function(e,t,n){if(!s(n))return!1;var a=typeof t;return!!("number"==a?i(n)&&o(t,n.length):"string"==a&&t in n)&&r(n[t],e)}},21401:function(e,t,n){var r=n(86152),i=n(4795),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,s=/^\w*$/;e.exports=function(e,t){if(r(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!i(e))||s.test(e)||!o.test(e)||null!=t&&e in Object(t)}},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,n){var r,i=n(24019),o=(r=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";e.exports=function(e){return!!o&&o in e}},16001:function(e){var t=Object.prototype;e.exports=function(e){var n=e&&e.constructor;return e===("function"==typeof n&&n.prototype||t)}},28792:function(e,t,n){var r=n(29259);e.exports=function(e){return e==e&&!r(e)}},3945:function(e){e.exports=function(){this.__data__=[],this.size=0}},21846:function(e,t,n){var r=n(22218),i=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=r(t,e);return!(n<0||(n==t.length-1?t.pop():i.call(t,n,1),--this.size,0))}},88028:function(e,t,n){var r=n(22218);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},72344:function(e,t,n){var r=n(22218);e.exports=function(e){return r(this.__data__,e)>-1}},94769:function(e,t,n){var r=n(22218);e.exports=function(e,t){var n=this.__data__,i=r(n,e);return i<0?(++this.size,n.push([e,t])):n[i][1]=t,this}},92411:function(e,t,n){var r=n(89612),i=n(80235),o=n(10326);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(o||i),string:new r}}},36417:function(e,t,n){var r=n(27937);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},86928:function(e,t,n){var r=n(27937);e.exports=function(e){return r(this,e).get(e)}},79493:function(e,t,n){var r=n(27937);e.exports=function(e){return r(this,e).has(e)}},24150:function(e,t,n){var r=n(27937);e.exports=function(e,t){var n=r(this,e),i=n.size;return n.set(e,t),this.size+=n.size==i?0:1,this}},75179:function(e){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}},73477:function(e){e.exports=function(e,t){return function(n){return null!=n&&n[e]===t&&(void 0!==t||e in Object(n))}}},77777:function(e,t,n){var r=n(30733);e.exports=function(e){var t=r(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}},99191:function(e,t,n){var r=n(38761)(Object,"create");e.exports=r},54248:function(e,t,n){var r=n(60241)(Object.keys,Object);e.exports=r},4146:function(e,t,n){e=n.nmd(e);var r=n(51242),i=t&&!t.nodeType&&t,o=i&&e&&!e.nodeType&&e,s=o&&o.exports===i&&r.process,a=function(){try{return o&&o.require&&o.require("util").types||s&&s.binding&&s.binding("util")}catch(e){}}();e.exports=a},37157:function(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},60241:function(e){e.exports=function(e,t){return function(n){return e(t(n))}}},43114:function(e,t,n){var r=n(49432),i=Math.max;e.exports=function(e,t,n){return t=i(void 0===t?e.length-1:t,0),function(){for(var o=arguments,s=-1,a=i(o.length-t,0),u=Array(a);++s<a;)u[s]=o[t+s];s=-1;for(var l=Array(t+1);++s<t;)l[s]=o[s];return l[t]=n(u),r(e,this,l)}}},37772:function(e,t,n){var r=n(51242),i="object"==typeof self&&self&&self.Object===Object&&self,o=r||i||Function("return this")();e.exports=o},52842:function(e){e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},52482:function(e){e.exports=function(e){return this.__data__.has(e)}},16909:function(e){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}},75251:function(e,t,n){var r=n(86532),i=n(97787)(r);e.exports=i},97787:function(e){var t=Date.now;e.exports=function(e){var n=0,r=0;return function(){var i=t(),o=16-(i-r);if(r=i,o>0){if(++n>=800)return arguments[0]}else n=0;return e.apply(void 0,arguments)}}},15243:function(e,t,n){var r=n(80235);e.exports=function(){this.__data__=new r,this.size=0}},72858:function(e){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},4417:function(e){e.exports=function(e){return this.__data__.get(e)}},8605:function(e){e.exports=function(e){return this.__data__.has(e)}},71418:function(e,t,n){var r=n(80235),i=n(10326),o=n(96738);e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var s=n.__data__;if(!i||s.length<199)return s.push([e,t]),this.size=++n.size,this;n=this.__data__=new o(s)}return n.set(e,t),this.size=n.size,this}},66024:function(e){e.exports=function(e,t,n){for(var r=n-1,i=e.length;++r<i;)if(e[r]===t)return r;return-1}},54452:function(e,t,n){var r=n(77777),i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g,s=r((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(i,(function(e,n,r,i){t.push(r?i.replace(o,"$1"):n||e)})),t}));e.exports=s},33812:function(e,t,n){var r=n(4795);e.exports=function(e){if("string"==typeof e||r(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}},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""}},52153:function(e){var t=/\s/;e.exports=function(e){for(var n=e.length;n--&&t.test(e.charAt(n)););return n}},27875:function(e,t,n){var r=n(14034),i=n(7642);e.exports=function(e,t,n){return void 0===n&&(n=t,t=void 0),void 0!==n&&(n=(n=i(n))==n?n:0),void 0!==t&&(t=(t=i(t))==t?t:0),r(i(e),t,n)}},86874:function(e){e.exports=function(e){return function(){return e}}},54073:function(e,t,n){var r=n(29259),i=n(61100),o=n(7642),s=Math.max,a=Math.min;e.exports=function(e,t,n){var u,l,c,f,h,p,d=0,m=!1,g=!1,v=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function y(t){var n=u,r=l;return u=l=void 0,d=t,f=e.apply(r,n)}function b(e){var n=e-p;return void 0===p||n>=t||n<0||g&&e-d>=c}function w(){var e=i();if(b(e))return _(e);h=setTimeout(w,function(e){var n=t-(e-p);return g?a(n,c-(e-d)):n}(e))}function _(e){return h=void 0,v&&u?y(e):(u=l=void 0,f)}function S(){var e=i(),n=b(e);if(u=arguments,l=this,p=e,n){if(void 0===h)return function(e){return d=e,h=setTimeout(w,t),m?y(e):f}(p);if(g)return clearTimeout(h),h=setTimeout(w,t),y(p)}return void 0===h&&(h=setTimeout(w,t)),f}return t=o(t)||0,r(n)&&(m=!!n.leading,c=(g="maxWait"in n)?s(o(n.maxWait)||0,t):c,v="trailing"in n?!!n.trailing:v),S.cancel=function(){void 0!==h&&clearTimeout(h),d=0,u=p=l=h=void 0},S.flush=function(){return void 0===h?f:_(i())},S}},41225:function(e){e.exports=function(e,t){return e===t||e!=e&&t!=t}},72579:function(e,t,n){var r=n(13324);e.exports=function(e,t,n){var i=null==e?void 0:r(e,t);return void 0===i?n:i}},95041:function(e,t,n){var r=n(20187),i=n(1369);e.exports=function(e,t){return null!=e&&i(e,t,r)}},23059:function(e){e.exports=function(e){return e}},79631:function(e,t,n){var r=n(15183),i=n(15125),o=Object.prototype,s=o.hasOwnProperty,a=o.propertyIsEnumerable,u=r(function(){return arguments}())?r:function(e){return i(e)&&s.call(e,"callee")&&!a.call(e,"callee")};e.exports=u},86152:function(e){var t=Array.isArray;e.exports=t},67878:function(e,t,n){var r=n(61049),i=n(61158);e.exports=function(e){return null!=e&&i(e.length)&&!r(e)}},73226:function(e,t,n){e=n.nmd(e);var r=n(37772),i=n(36330),o=t&&!t.nodeType&&t,s=o&&e&&!e.nodeType&&e,a=s&&s.exports===o?r.Buffer:void 0,u=(a?a.isBuffer:void 0)||i;e.exports=u},45455:function(e,t,n){var r=n(86411),i=n(70940),o=n(79631),s=n(86152),a=n(67878),u=n(73226),l=n(16001),c=n(77598),f=Object.prototype.hasOwnProperty;e.exports=function(e){if(null==e)return!0;if(a(e)&&(s(e)||"string"==typeof e||"function"==typeof e.splice||u(e)||c(e)||o(e)))return!e.length;var t=i(e);if("[object Map]"==t||"[object Set]"==t)return!e.size;if(l(e))return!r(e).length;for(var n in e)if(f.call(e,n))return!1;return!0}},61049:function(e,t,n){var r=n(53366),i=n(29259);e.exports=function(e){if(!i(e))return!1;var t=r(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},73363:function(e,t,n){var r=n(38101);e.exports=function(e){return"number"==typeof e&&e==r(e)}},61158:function(e){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},80537:function(e,t,n){var r=n(53366),i=n(15125);e.exports=function(e){return"number"==typeof e||i(e)&&"[object Number]"==r(e)}},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}},97030:function(e,t,n){var r=n(53366),i=n(47353),o=n(15125),s=Function.prototype,a=Object.prototype,u=s.toString,l=a.hasOwnProperty,c=u.call(Object);e.exports=function(e){if(!o(e)||"[object Object]"!=r(e))return!1;var t=i(e);if(null===t)return!0;var n=l.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&u.call(n)==c}},85505:function(e,t,n){var r=n(53366),i=n(86152),o=n(15125);e.exports=function(e){return"string"==typeof e||!i(e)&&o(e)&&"[object String]"==r(e)}},4795:function(e,t,n){var r=n(53366),i=n(15125);e.exports=function(e){return"symbol"==typeof e||i(e)&&"[object Symbol]"==r(e)}},77598:function(e,t,n){var r=n(35522),i=n(47826),o=n(4146),s=o&&o.isTypedArray,a=s?i(s):r;e.exports=a},90249:function(e,t,n){var r=n(1634),i=n(86411),o=n(67878);e.exports=function(e){return o(e)?r(e):i(e)}},76635:function(e,t,n){var r;e=n.nmd(e),function(){var i,o="Expected a function",s="__lodash_hash_undefined__",a="__lodash_placeholder__",u=32,l=128,c=1/0,f=9007199254740991,h=NaN,p=4294967295,d=[["ary",l],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",u],["partialRight",64],["rearg",256]],m="[object Arguments]",g="[object Array]",v="[object Boolean]",y="[object Date]",b="[object Error]",w="[object Function]",_="[object GeneratorFunction]",S="[object Map]",x="[object Number]",E="[object Object]",k="[object Promise]",P="[object RegExp]",C="[object Set]",O="[object String]",T="[object Symbol]",A="[object WeakMap]",F="[object ArrayBuffer]",I="[object DataView]",R="[object Float32Array]",M="[object Float64Array]",N="[object Int8Array]",L="[object Int16Array]",U="[object Int32Array]",D="[object Uint8Array]",j="[object Uint8ClampedArray]",B="[object Uint16Array]",z="[object Uint32Array]",H=/\b__p \+= '';/g,$=/\b(__p \+=) '' \+/g,V=/(__e\(.*?\)|\b__t\)) \+\n'';/g,q=/&(?:amp|lt|gt|quot|#39);/g,W=/[&<>"']/g,G=RegExp(q.source),Z=RegExp(W.source),K=/<%-([\s\S]+?)%>/g,Y=/<%([\s\S]+?)%>/g,X=/<%=([\s\S]+?)%>/g,Q=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,J=/^\w*$/,ee=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,te=/[\\^$.*+?()[\]{}|]/g,ne=RegExp(te.source),re=/^\s+/,ie=/\s/,oe=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,se=/\{\n\/\* \[wrapped with (.+)\] \*/,ae=/,? & /,ue=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,le=/[()=,{}\[\]\/\s]/,ce=/\\(\\)?/g,fe=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,he=/\w*$/,pe=/^[-+]0x[0-9a-f]+$/i,de=/^0b[01]+$/i,me=/^\[object .+?Constructor\]$/,ge=/^0o[0-7]+$/i,ve=/^(?:0|[1-9]\d*)$/,ye=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,be=/($^)/,we=/['\n\r\u2028\u2029\\]/g,_e="\\ud800-\\udfff",Se="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",xe="\\u2700-\\u27bf",Ee="a-z\\xdf-\\xf6\\xf8-\\xff",ke="A-Z\\xc0-\\xd6\\xd8-\\xde",Pe="\\ufe0e\\ufe0f",Ce="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Oe="["+_e+"]",Te="["+Ce+"]",Ae="["+Se+"]",Fe="\\d+",Ie="["+xe+"]",Re="["+Ee+"]",Me="[^"+_e+Ce+Fe+xe+Ee+ke+"]",Ne="\\ud83c[\\udffb-\\udfff]",Le="[^"+_e+"]",Ue="(?:\\ud83c[\\udde6-\\uddff]){2}",De="[\\ud800-\\udbff][\\udc00-\\udfff]",je="["+ke+"]",Be="\\u200d",ze="(?:"+Re+"|"+Me+")",He="(?:"+je+"|"+Me+")",$e="(?:['’](?:d|ll|m|re|s|t|ve))?",Ve="(?:['’](?:D|LL|M|RE|S|T|VE))?",qe="(?:"+Ae+"|"+Ne+")?",We="["+Pe+"]?",Ge=We+qe+"(?:"+Be+"(?:"+[Le,Ue,De].join("|")+")"+We+qe+")*",Ze="(?:"+[Ie,Ue,De].join("|")+")"+Ge,Ke="(?:"+[Le+Ae+"?",Ae,Ue,De,Oe].join("|")+")",Ye=RegExp("['’]","g"),Xe=RegExp(Ae,"g"),Qe=RegExp(Ne+"(?="+Ne+")|"+Ke+Ge,"g"),Je=RegExp([je+"?"+Re+"+"+$e+"(?="+[Te,je,"$"].join("|")+")",He+"+"+Ve+"(?="+[Te,je+ze,"$"].join("|")+")",je+"?"+ze+"+"+$e,je+"+"+Ve,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Fe,Ze].join("|"),"g"),et=RegExp("["+Be+_e+Se+Pe+"]"),tt=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,nt=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],rt=-1,it={};it[R]=it[M]=it[N]=it[L]=it[U]=it[D]=it[j]=it[B]=it[z]=!0,it[m]=it[g]=it[F]=it[v]=it[I]=it[y]=it[b]=it[w]=it[S]=it[x]=it[E]=it[P]=it[C]=it[O]=it[A]=!1;var ot={};ot[m]=ot[g]=ot[F]=ot[I]=ot[v]=ot[y]=ot[R]=ot[M]=ot[N]=ot[L]=ot[U]=ot[S]=ot[x]=ot[E]=ot[P]=ot[C]=ot[O]=ot[T]=ot[D]=ot[j]=ot[B]=ot[z]=!0,ot[b]=ot[w]=ot[A]=!1;var st={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},at=parseFloat,ut=parseInt,lt="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,ct="object"==typeof self&&self&&self.Object===Object&&self,ft=lt||ct||Function("return this")(),ht=t&&!t.nodeType&&t,pt=ht&&e&&!e.nodeType&&e,dt=pt&&pt.exports===ht,mt=dt&<.process,gt=function(){try{return pt&&pt.require&&pt.require("util").types||mt&&mt.binding&&mt.binding("util")}catch(e){}}(),vt=gt&>.isArrayBuffer,yt=gt&>.isDate,bt=gt&>.isMap,wt=gt&>.isRegExp,_t=gt&>.isSet,St=gt&>.isTypedArray;function xt(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function Et(e,t,n,r){for(var i=-1,o=null==e?0:e.length;++i<o;){var s=e[i];t(r,s,n(s),e)}return r}function kt(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}function Pt(e,t){for(var n=null==e?0:e.length;n--&&!1!==t(e[n],n,e););return e}function Ct(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}function Ot(e,t){for(var n=-1,r=null==e?0:e.length,i=0,o=[];++n<r;){var s=e[n];t(s,n,e)&&(o[i++]=s)}return o}function Tt(e,t){return!(null==e||!e.length)&&jt(e,t,0)>-1}function At(e,t,n){for(var r=-1,i=null==e?0:e.length;++r<i;)if(n(t,e[r]))return!0;return!1}function Ft(e,t){for(var n=-1,r=null==e?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}function It(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}function Rt(e,t,n,r){var i=-1,o=null==e?0:e.length;for(r&&o&&(n=e[++i]);++i<o;)n=t(n,e[i],i,e);return n}function Mt(e,t,n,r){var i=null==e?0:e.length;for(r&&i&&(n=e[--i]);i--;)n=t(n,e[i],i,e);return n}function Nt(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}var Lt=$t("length");function Ut(e,t,n){var r;return n(e,(function(e,n,i){if(t(e,n,i))return r=n,!1})),r}function Dt(e,t,n,r){for(var i=e.length,o=n+(r?1:-1);r?o--:++o<i;)if(t(e[o],o,e))return o;return-1}function jt(e,t,n){return t==t?function(e,t,n){for(var r=n-1,i=e.length;++r<i;)if(e[r]===t)return r;return-1}(e,t,n):Dt(e,zt,n)}function Bt(e,t,n,r){for(var i=n-1,o=e.length;++i<o;)if(r(e[i],t))return i;return-1}function zt(e){return e!=e}function Ht(e,t){var n=null==e?0:e.length;return n?Wt(e,t)/n:h}function $t(e){return function(t){return null==t?i:t[e]}}function Vt(e){return function(t){return null==e?i:e[t]}}function qt(e,t,n,r,i){return i(e,(function(e,i,o){n=r?(r=!1,e):t(n,e,i,o)})),n}function Wt(e,t){for(var n,r=-1,o=e.length;++r<o;){var s=t(e[r]);s!==i&&(n=n===i?s:n+s)}return n}function Gt(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function Zt(e){return e?e.slice(0,hn(e)+1).replace(re,""):e}function Kt(e){return function(t){return e(t)}}function Yt(e,t){return Ft(t,(function(t){return e[t]}))}function Xt(e,t){return e.has(t)}function Qt(e,t){for(var n=-1,r=e.length;++n<r&&jt(t,e[n],0)>-1;);return n}function Jt(e,t){for(var n=e.length;n--&&jt(t,e[n],0)>-1;);return n}var en=Vt({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),tn=Vt({"&":"&","<":"<",">":">",'"':""","'":"'"});function nn(e){return"\\"+st[e]}function rn(e){return et.test(e)}function on(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function sn(e,t){return function(n){return e(t(n))}}function an(e,t){for(var n=-1,r=e.length,i=0,o=[];++n<r;){var s=e[n];s!==t&&s!==a||(e[n]=a,o[i++]=n)}return o}function un(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}function ln(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=[e,e]})),n}function cn(e){return rn(e)?function(e){for(var t=Qe.lastIndex=0;Qe.test(e);)++t;return t}(e):Lt(e)}function fn(e){return rn(e)?function(e){return e.match(Qe)||[]}(e):function(e){return e.split("")}(e)}function hn(e){for(var t=e.length;t--&&ie.test(e.charAt(t)););return t}var pn=Vt({"&":"&","<":"<",">":">",""":'"',"'":"'"}),dn=function e(t){var n,r=(t=null==t?ft:dn.defaults(ft.Object(),t,dn.pick(ft,nt))).Array,ie=t.Date,_e=t.Error,Se=t.Function,xe=t.Math,Ee=t.Object,ke=t.RegExp,Pe=t.String,Ce=t.TypeError,Oe=r.prototype,Te=Se.prototype,Ae=Ee.prototype,Fe=t["__core-js_shared__"],Ie=Te.toString,Re=Ae.hasOwnProperty,Me=0,Ne=(n=/[^.]+$/.exec(Fe&&Fe.keys&&Fe.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",Le=Ae.toString,Ue=Ie.call(Ee),De=ft._,je=ke("^"+Ie.call(Re).replace(te,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Be=dt?t.Buffer:i,ze=t.Symbol,He=t.Uint8Array,$e=Be?Be.allocUnsafe:i,Ve=sn(Ee.getPrototypeOf,Ee),qe=Ee.create,We=Ae.propertyIsEnumerable,Ge=Oe.splice,Ze=ze?ze.isConcatSpreadable:i,Ke=ze?ze.iterator:i,Qe=ze?ze.toStringTag:i,et=function(){try{var e=uo(Ee,"defineProperty");return e({},"",{}),e}catch(e){}}(),st=t.clearTimeout!==ft.clearTimeout&&t.clearTimeout,lt=ie&&ie.now!==ft.Date.now&&ie.now,ct=t.setTimeout!==ft.setTimeout&&t.setTimeout,ht=xe.ceil,pt=xe.floor,mt=Ee.getOwnPropertySymbols,gt=Be?Be.isBuffer:i,Lt=t.isFinite,Vt=Oe.join,mn=sn(Ee.keys,Ee),gn=xe.max,vn=xe.min,yn=ie.now,bn=t.parseInt,wn=xe.random,_n=Oe.reverse,Sn=uo(t,"DataView"),xn=uo(t,"Map"),En=uo(t,"Promise"),kn=uo(t,"Set"),Pn=uo(t,"WeakMap"),Cn=uo(Ee,"create"),On=Pn&&new Pn,Tn={},An=Uo(Sn),Fn=Uo(xn),In=Uo(En),Rn=Uo(kn),Mn=Uo(Pn),Nn=ze?ze.prototype:i,Ln=Nn?Nn.valueOf:i,Un=Nn?Nn.toString:i;function Dn(e){if(ea(e)&&!$s(e)&&!(e instanceof Hn)){if(e instanceof zn)return e;if(Re.call(e,"__wrapped__"))return Do(e)}return new zn(e)}var jn=function(){function e(){}return function(t){if(!Js(t))return{};if(qe)return qe(t);e.prototype=t;var n=new e;return e.prototype=i,n}}();function Bn(){}function zn(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=i}function Hn(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=p,this.__views__=[]}function $n(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Vn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function qn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Wn(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new qn;++t<n;)this.add(e[t])}function Gn(e){var t=this.__data__=new Vn(e);this.size=t.size}function Zn(e,t){var n=$s(e),r=!n&&Hs(e),i=!n&&!r&&Gs(e),o=!n&&!r&&!i&&ua(e),s=n||r||i||o,a=s?Gt(e.length,Pe):[],u=a.length;for(var l in e)!t&&!Re.call(e,l)||s&&("length"==l||i&&("offset"==l||"parent"==l)||o&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||go(l,u))||a.push(l);return a}function Kn(e){var t=e.length;return t?e[qr(0,t-1)]:i}function Yn(e,t){return Io(Pi(e),or(t,0,e.length))}function Xn(e){return Io(Pi(e))}function Qn(e,t,n){(n!==i&&!js(e[t],n)||n===i&&!(t in e))&&rr(e,t,n)}function Jn(e,t,n){var r=e[t];Re.call(e,t)&&js(r,n)&&(n!==i||t in e)||rr(e,t,n)}function er(e,t){for(var n=e.length;n--;)if(js(e[n][0],t))return n;return-1}function tr(e,t,n,r){return cr(e,(function(e,i,o){t(r,e,n(e),o)})),r}function nr(e,t){return e&&Ci(t,Aa(t),e)}function rr(e,t,n){"__proto__"==t&&et?et(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function ir(e,t){for(var n=-1,o=t.length,s=r(o),a=null==e;++n<o;)s[n]=a?i:ka(e,t[n]);return s}function or(e,t,n){return e==e&&(n!==i&&(e=e<=n?e:n),t!==i&&(e=e>=t?e:t)),e}function sr(e,t,n,r,o,s){var a,u=1&t,l=2&t,c=4&t;if(n&&(a=o?n(e,r,o,s):n(e)),a!==i)return a;if(!Js(e))return e;var f=$s(e);if(f){if(a=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&Re.call(e,"index")&&(n.index=e.index,n.input=e.input),n}(e),!u)return Pi(e,a)}else{var h=fo(e),p=h==w||h==_;if(Gs(e))return wi(e,u);if(h==E||h==m||p&&!o){if(a=l||p?{}:po(e),!u)return l?function(e,t){return Ci(e,co(e),t)}(e,function(e,t){return e&&Ci(t,Fa(t),e)}(a,e)):function(e,t){return Ci(e,lo(e),t)}(e,nr(a,e))}else{if(!ot[h])return o?e:{};a=function(e,t,n){var r,i=e.constructor;switch(t){case F:return _i(e);case v:case y:return new i(+e);case I:return function(e,t){var n=t?_i(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case R:case M:case N:case L:case U:case D:case j:case B:case z:return Si(e,n);case S:return new i;case x:case O:return new i(e);case P:return function(e){var t=new e.constructor(e.source,he.exec(e));return t.lastIndex=e.lastIndex,t}(e);case C:return new i;case T:return r=e,Ln?Ee(Ln.call(r)):{}}}(e,h,u)}}s||(s=new Gn);var d=s.get(e);if(d)return d;s.set(e,a),oa(e)?e.forEach((function(r){a.add(sr(r,t,n,r,e,s))})):ta(e)&&e.forEach((function(r,i){a.set(i,sr(r,t,n,i,e,s))}));var g=f?i:(c?l?to:eo:l?Fa:Aa)(e);return kt(g||e,(function(r,i){g&&(r=e[i=r]),Jn(a,i,sr(r,t,n,i,e,s))})),a}function ar(e,t,n){var r=n.length;if(null==e)return!r;for(e=Ee(e);r--;){var o=n[r],s=t[o],a=e[o];if(a===i&&!(o in e)||!s(a))return!1}return!0}function ur(e,t,n){if("function"!=typeof e)throw new Ce(o);return Oo((function(){e.apply(i,n)}),t)}function lr(e,t,n,r){var i=-1,o=Tt,s=!0,a=e.length,u=[],l=t.length;if(!a)return u;n&&(t=Ft(t,Kt(n))),r?(o=At,s=!1):t.length>=200&&(o=Xt,s=!1,t=new Wn(t));e:for(;++i<a;){var c=e[i],f=null==n?c:n(c);if(c=r||0!==c?c:0,s&&f==f){for(var h=l;h--;)if(t[h]===f)continue e;u.push(c)}else o(t,f,r)||u.push(c)}return u}Dn.templateSettings={escape:K,evaluate:Y,interpolate:X,variable:"",imports:{_:Dn}},Dn.prototype=Bn.prototype,Dn.prototype.constructor=Dn,zn.prototype=jn(Bn.prototype),zn.prototype.constructor=zn,Hn.prototype=jn(Bn.prototype),Hn.prototype.constructor=Hn,$n.prototype.clear=function(){this.__data__=Cn?Cn(null):{},this.size=0},$n.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},$n.prototype.get=function(e){var t=this.__data__;if(Cn){var n=t[e];return n===s?i:n}return Re.call(t,e)?t[e]:i},$n.prototype.has=function(e){var t=this.__data__;return Cn?t[e]!==i:Re.call(t,e)},$n.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=Cn&&t===i?s:t,this},Vn.prototype.clear=function(){this.__data__=[],this.size=0},Vn.prototype.delete=function(e){var t=this.__data__,n=er(t,e);return!(n<0||(n==t.length-1?t.pop():Ge.call(t,n,1),--this.size,0))},Vn.prototype.get=function(e){var t=this.__data__,n=er(t,e);return n<0?i:t[n][1]},Vn.prototype.has=function(e){return er(this.__data__,e)>-1},Vn.prototype.set=function(e,t){var n=this.__data__,r=er(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},qn.prototype.clear=function(){this.size=0,this.__data__={hash:new $n,map:new(xn||Vn),string:new $n}},qn.prototype.delete=function(e){var t=so(this,e).delete(e);return this.size-=t?1:0,t},qn.prototype.get=function(e){return so(this,e).get(e)},qn.prototype.has=function(e){return so(this,e).has(e)},qn.prototype.set=function(e,t){var n=so(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},Wn.prototype.add=Wn.prototype.push=function(e){return this.__data__.set(e,s),this},Wn.prototype.has=function(e){return this.__data__.has(e)},Gn.prototype.clear=function(){this.__data__=new Vn,this.size=0},Gn.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Gn.prototype.get=function(e){return this.__data__.get(e)},Gn.prototype.has=function(e){return this.__data__.has(e)},Gn.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Vn){var r=n.__data__;if(!xn||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new qn(r)}return n.set(e,t),this.size=n.size,this};var cr=Ai(yr),fr=Ai(br,!0);function hr(e,t){var n=!0;return cr(e,(function(e,r,i){return n=!!t(e,r,i)})),n}function pr(e,t,n){for(var r=-1,o=e.length;++r<o;){var s=e[r],a=t(s);if(null!=a&&(u===i?a==a&&!aa(a):n(a,u)))var u=a,l=s}return l}function dr(e,t){var n=[];return cr(e,(function(e,r,i){t(e,r,i)&&n.push(e)})),n}function mr(e,t,n,r,i){var o=-1,s=e.length;for(n||(n=mo),i||(i=[]);++o<s;){var a=e[o];t>0&&n(a)?t>1?mr(a,t-1,n,r,i):It(i,a):r||(i[i.length]=a)}return i}var gr=Fi(),vr=Fi(!0);function yr(e,t){return e&&gr(e,t,Aa)}function br(e,t){return e&&vr(e,t,Aa)}function wr(e,t){return Ot(t,(function(t){return Ys(e[t])}))}function _r(e,t){for(var n=0,r=(t=gi(t,e)).length;null!=e&&n<r;)e=e[Lo(t[n++])];return n&&n==r?e:i}function Sr(e,t,n){var r=t(e);return $s(e)?r:It(r,n(e))}function xr(e){return null==e?e===i?"[object Undefined]":"[object Null]":Qe&&Qe in Ee(e)?function(e){var t=Re.call(e,Qe),n=e[Qe];try{e[Qe]=i;var r=!0}catch(e){}var o=Le.call(e);return r&&(t?e[Qe]=n:delete e[Qe]),o}(e):function(e){return Le.call(e)}(e)}function Er(e,t){return e>t}function kr(e,t){return null!=e&&Re.call(e,t)}function Pr(e,t){return null!=e&&t in Ee(e)}function Cr(e,t,n){for(var o=n?At:Tt,s=e[0].length,a=e.length,u=a,l=r(a),c=1/0,f=[];u--;){var h=e[u];u&&t&&(h=Ft(h,Kt(t))),c=vn(h.length,c),l[u]=!n&&(t||s>=120&&h.length>=120)?new Wn(u&&h):i}h=e[0];var p=-1,d=l[0];e:for(;++p<s&&f.length<c;){var m=h[p],g=t?t(m):m;if(m=n||0!==m?m:0,!(d?Xt(d,g):o(f,g,n))){for(u=a;--u;){var v=l[u];if(!(v?Xt(v,g):o(e[u],g,n)))continue e}d&&d.push(g),f.push(m)}}return f}function Or(e,t,n){var r=null==(e=ko(e,t=gi(t,e)))?e:e[Lo(Ko(t))];return null==r?i:xt(r,e,n)}function Tr(e){return ea(e)&&xr(e)==m}function Ar(e,t,n,r,o){return e===t||(null==e||null==t||!ea(e)&&!ea(t)?e!=e&&t!=t:function(e,t,n,r,o,s){var a=$s(e),u=$s(t),l=a?g:fo(e),c=u?g:fo(t),f=(l=l==m?E:l)==E,h=(c=c==m?E:c)==E,p=l==c;if(p&&Gs(e)){if(!Gs(t))return!1;a=!0,f=!1}if(p&&!f)return s||(s=new Gn),a||ua(e)?Qi(e,t,n,r,o,s):function(e,t,n,r,i,o,s){switch(n){case I:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case F:return!(e.byteLength!=t.byteLength||!o(new He(e),new He(t)));case v:case y:case x:return js(+e,+t);case b:return e.name==t.name&&e.message==t.message;case P:case O:return e==t+"";case S:var a=on;case C:var u=1&r;if(a||(a=un),e.size!=t.size&&!u)return!1;var l=s.get(e);if(l)return l==t;r|=2,s.set(e,t);var c=Qi(a(e),a(t),r,i,o,s);return s.delete(e),c;case T:if(Ln)return Ln.call(e)==Ln.call(t)}return!1}(e,t,l,n,r,o,s);if(!(1&n)){var d=f&&Re.call(e,"__wrapped__"),w=h&&Re.call(t,"__wrapped__");if(d||w){var _=d?e.value():e,k=w?t.value():t;return s||(s=new Gn),o(_,k,n,r,s)}}return!!p&&(s||(s=new Gn),function(e,t,n,r,o,s){var a=1&n,u=eo(e),l=u.length;if(l!=eo(t).length&&!a)return!1;for(var c=l;c--;){var f=u[c];if(!(a?f in t:Re.call(t,f)))return!1}var h=s.get(e),p=s.get(t);if(h&&p)return h==t&&p==e;var d=!0;s.set(e,t),s.set(t,e);for(var m=a;++c<l;){var g=e[f=u[c]],v=t[f];if(r)var y=a?r(v,g,f,t,e,s):r(g,v,f,e,t,s);if(!(y===i?g===v||o(g,v,n,r,s):y)){d=!1;break}m||(m="constructor"==f)}if(d&&!m){var b=e.constructor,w=t.constructor;b==w||!("constructor"in e)||!("constructor"in t)||"function"==typeof b&&b instanceof b&&"function"==typeof w&&w instanceof w||(d=!1)}return s.delete(e),s.delete(t),d}(e,t,n,r,o,s))}(e,t,n,r,Ar,o))}function Fr(e,t,n,r){var o=n.length,s=o,a=!r;if(null==e)return!s;for(e=Ee(e);o--;){var u=n[o];if(a&&u[2]?u[1]!==e[u[0]]:!(u[0]in e))return!1}for(;++o<s;){var l=(u=n[o])[0],c=e[l],f=u[1];if(a&&u[2]){if(c===i&&!(l in e))return!1}else{var h=new Gn;if(r)var p=r(c,f,l,e,t,h);if(!(p===i?Ar(f,c,3,r,h):p))return!1}}return!0}function Ir(e){return!(!Js(e)||(t=e,Ne&&Ne in t))&&(Ys(e)?je:me).test(Uo(e));var t}function Rr(e){return"function"==typeof e?e:null==e?nu:"object"==typeof e?$s(e)?Dr(e[0],e[1]):Ur(e):fu(e)}function Mr(e){if(!_o(e))return mn(e);var t=[];for(var n in Ee(e))Re.call(e,n)&&"constructor"!=n&&t.push(n);return t}function Nr(e,t){return e<t}function Lr(e,t){var n=-1,i=qs(e)?r(e.length):[];return cr(e,(function(e,r,o){i[++n]=t(e,r,o)})),i}function Ur(e){var t=ao(e);return 1==t.length&&t[0][2]?xo(t[0][0],t[0][1]):function(n){return n===e||Fr(n,e,t)}}function Dr(e,t){return yo(e)&&So(t)?xo(Lo(e),t):function(n){var r=ka(n,e);return r===i&&r===t?Pa(n,e):Ar(t,r,3)}}function jr(e,t,n,r,o){e!==t&&gr(t,(function(s,a){if(o||(o=new Gn),Js(s))!function(e,t,n,r,o,s,a){var u=Po(e,n),l=Po(t,n),c=a.get(l);if(c)Qn(e,n,c);else{var f=s?s(u,l,n+"",e,t,a):i,h=f===i;if(h){var p=$s(l),d=!p&&Gs(l),m=!p&&!d&&ua(l);f=l,p||d||m?$s(u)?f=u:Ws(u)?f=Pi(u):d?(h=!1,f=wi(l,!0)):m?(h=!1,f=Si(l,!0)):f=[]:ra(l)||Hs(l)?(f=u,Hs(u)?f=ga(u):Js(u)&&!Ys(u)||(f=po(l))):h=!1}h&&(a.set(l,f),o(f,l,r,s,a),a.delete(l)),Qn(e,n,f)}}(e,t,a,n,jr,r,o);else{var u=r?r(Po(e,a),s,a+"",e,t,o):i;u===i&&(u=s),Qn(e,a,u)}}),Fa)}function Br(e,t){var n=e.length;if(n)return go(t+=t<0?n:0,n)?e[t]:i}function zr(e,t,n){t=t.length?Ft(t,(function(e){return $s(e)?function(t){return _r(t,1===e.length?e[0]:e)}:e})):[nu];var r=-1;t=Ft(t,Kt(oo()));var i=Lr(e,(function(e,n,i){var o=Ft(t,(function(t){return t(e)}));return{criteria:o,index:++r,value:e}}));return function(e,t){var r=e.length;for(e.sort((function(e,t){return function(e,t,n){for(var r=-1,i=e.criteria,o=t.criteria,s=i.length,a=n.length;++r<s;){var u=xi(i[r],o[r]);if(u)return r>=a?u:u*("desc"==n[r]?-1:1)}return e.index-t.index}(e,t,n)}));r--;)e[r]=e[r].value;return e}(i)}function Hr(e,t,n){for(var r=-1,i=t.length,o={};++r<i;){var s=t[r],a=_r(e,s);n(a,s)&&Yr(o,gi(s,e),a)}return o}function $r(e,t,n,r){var i=r?Bt:jt,o=-1,s=t.length,a=e;for(e===t&&(t=Pi(t)),n&&(a=Ft(e,Kt(n)));++o<s;)for(var u=0,l=t[o],c=n?n(l):l;(u=i(a,c,u,r))>-1;)a!==e&&Ge.call(a,u,1),Ge.call(e,u,1);return e}function Vr(e,t){for(var n=e?t.length:0,r=n-1;n--;){var i=t[n];if(n==r||i!==o){var o=i;go(i)?Ge.call(e,i,1):ui(e,i)}}return e}function qr(e,t){return e+pt(wn()*(t-e+1))}function Wr(e,t){var n="";if(!e||t<1||t>f)return n;do{t%2&&(n+=e),(t=pt(t/2))&&(e+=e)}while(t);return n}function Gr(e,t){return To(Eo(e,t,nu),e+"")}function Zr(e){return Kn(ja(e))}function Kr(e,t){var n=ja(e);return Io(n,or(t,0,n.length))}function Yr(e,t,n,r){if(!Js(e))return e;for(var o=-1,s=(t=gi(t,e)).length,a=s-1,u=e;null!=u&&++o<s;){var l=Lo(t[o]),c=n;if("__proto__"===l||"constructor"===l||"prototype"===l)return e;if(o!=a){var f=u[l];(c=r?r(f,l,u):i)===i&&(c=Js(f)?f:go(t[o+1])?[]:{})}Jn(u,l,c),u=u[l]}return e}var Xr=On?function(e,t){return On.set(e,t),e}:nu,Qr=et?function(e,t){return et(e,"toString",{configurable:!0,enumerable:!1,value:Ja(t),writable:!0})}:nu;function Jr(e){return Io(ja(e))}function ei(e,t,n){var i=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(n=n>o?o:n)<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var s=r(o);++i<o;)s[i]=e[i+t];return s}function ti(e,t){var n;return cr(e,(function(e,r,i){return!(n=t(e,r,i))})),!!n}function ni(e,t,n){var r=0,i=null==e?r:e.length;if("number"==typeof t&&t==t&&i<=2147483647){for(;r<i;){var o=r+i>>>1,s=e[o];null!==s&&!aa(s)&&(n?s<=t:s<t)?r=o+1:i=o}return i}return ri(e,t,nu,n)}function ri(e,t,n,r){var o=0,s=null==e?0:e.length;if(0===s)return 0;for(var a=(t=n(t))!=t,u=null===t,l=aa(t),c=t===i;o<s;){var f=pt((o+s)/2),h=n(e[f]),p=h!==i,d=null===h,m=h==h,g=aa(h);if(a)var v=r||m;else v=c?m&&(r||p):u?m&&p&&(r||!d):l?m&&p&&!d&&(r||!g):!d&&!g&&(r?h<=t:h<t);v?o=f+1:s=f}return vn(s,4294967294)}function ii(e,t){for(var n=-1,r=e.length,i=0,o=[];++n<r;){var s=e[n],a=t?t(s):s;if(!n||!js(a,u)){var u=a;o[i++]=0===s?0:s}}return o}function oi(e){return"number"==typeof e?e:aa(e)?h:+e}function si(e){if("string"==typeof e)return e;if($s(e))return Ft(e,si)+"";if(aa(e))return Un?Un.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function ai(e,t,n){var r=-1,i=Tt,o=e.length,s=!0,a=[],u=a;if(n)s=!1,i=At;else if(o>=200){var l=t?null:Wi(e);if(l)return un(l);s=!1,i=Xt,u=new Wn}else u=t?[]:a;e:for(;++r<o;){var c=e[r],f=t?t(c):c;if(c=n||0!==c?c:0,s&&f==f){for(var h=u.length;h--;)if(u[h]===f)continue e;t&&u.push(f),a.push(c)}else i(u,f,n)||(u!==a&&u.push(f),a.push(c))}return a}function ui(e,t){return null==(e=ko(e,t=gi(t,e)))||delete e[Lo(Ko(t))]}function li(e,t,n,r){return Yr(e,t,n(_r(e,t)),r)}function ci(e,t,n,r){for(var i=e.length,o=r?i:-1;(r?o--:++o<i)&&t(e[o],o,e););return n?ei(e,r?0:o,r?o+1:i):ei(e,r?o+1:0,r?i:o)}function fi(e,t){var n=e;return n instanceof Hn&&(n=n.value()),Rt(t,(function(e,t){return t.func.apply(t.thisArg,It([e],t.args))}),n)}function hi(e,t,n){var i=e.length;if(i<2)return i?ai(e[0]):[];for(var o=-1,s=r(i);++o<i;)for(var a=e[o],u=-1;++u<i;)u!=o&&(s[o]=lr(s[o]||a,e[u],t,n));return ai(mr(s,1),t,n)}function pi(e,t,n){for(var r=-1,o=e.length,s=t.length,a={};++r<o;){var u=r<s?t[r]:i;n(a,e[r],u)}return a}function di(e){return Ws(e)?e:[]}function mi(e){return"function"==typeof e?e:nu}function gi(e,t){return $s(e)?e:yo(e,t)?[e]:No(va(e))}var vi=Gr;function yi(e,t,n){var r=e.length;return n=n===i?r:n,!t&&n>=r?e:ei(e,t,n)}var bi=st||function(e){return ft.clearTimeout(e)};function wi(e,t){if(t)return e.slice();var n=e.length,r=$e?$e(n):new e.constructor(n);return e.copy(r),r}function _i(e){var t=new e.constructor(e.byteLength);return new He(t).set(new He(e)),t}function Si(e,t){var n=t?_i(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function xi(e,t){if(e!==t){var n=e!==i,r=null===e,o=e==e,s=aa(e),a=t!==i,u=null===t,l=t==t,c=aa(t);if(!u&&!c&&!s&&e>t||s&&a&&l&&!u&&!c||r&&a&&l||!n&&l||!o)return 1;if(!r&&!s&&!c&&e<t||c&&n&&o&&!r&&!s||u&&n&&o||!a&&o||!l)return-1}return 0}function Ei(e,t,n,i){for(var o=-1,s=e.length,a=n.length,u=-1,l=t.length,c=gn(s-a,0),f=r(l+c),h=!i;++u<l;)f[u]=t[u];for(;++o<a;)(h||o<s)&&(f[n[o]]=e[o]);for(;c--;)f[u++]=e[o++];return f}function ki(e,t,n,i){for(var o=-1,s=e.length,a=-1,u=n.length,l=-1,c=t.length,f=gn(s-u,0),h=r(f+c),p=!i;++o<f;)h[o]=e[o];for(var d=o;++l<c;)h[d+l]=t[l];for(;++a<u;)(p||o<s)&&(h[d+n[a]]=e[o++]);return h}function Pi(e,t){var n=-1,i=e.length;for(t||(t=r(i));++n<i;)t[n]=e[n];return t}function Ci(e,t,n,r){var o=!n;n||(n={});for(var s=-1,a=t.length;++s<a;){var u=t[s],l=r?r(n[u],e[u],u,n,e):i;l===i&&(l=e[u]),o?rr(n,u,l):Jn(n,u,l)}return n}function Oi(e,t){return function(n,r){var i=$s(n)?Et:tr,o=t?t():{};return i(n,e,oo(r,2),o)}}function Ti(e){return Gr((function(t,n){var r=-1,o=n.length,s=o>1?n[o-1]:i,a=o>2?n[2]:i;for(s=e.length>3&&"function"==typeof s?(o--,s):i,a&&vo(n[0],n[1],a)&&(s=o<3?i:s,o=1),t=Ee(t);++r<o;){var u=n[r];u&&e(t,u,r,s)}return t}))}function Ai(e,t){return function(n,r){if(null==n)return n;if(!qs(n))return e(n,r);for(var i=n.length,o=t?i:-1,s=Ee(n);(t?o--:++o<i)&&!1!==r(s[o],o,s););return n}}function Fi(e){return function(t,n,r){for(var i=-1,o=Ee(t),s=r(t),a=s.length;a--;){var u=s[e?a:++i];if(!1===n(o[u],u,o))break}return t}}function Ii(e){return function(t){var n=rn(t=va(t))?fn(t):i,r=n?n[0]:t.charAt(0),o=n?yi(n,1).join(""):t.slice(1);return r[e]()+o}}function Ri(e){return function(t){return Rt(Ya(Ha(t).replace(Ye,"")),e,"")}}function Mi(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=jn(e.prototype),r=e.apply(n,t);return Js(r)?r:n}}function Ni(e){return function(t,n,r){var o=Ee(t);if(!qs(t)){var s=oo(n,3);t=Aa(t),n=function(e){return s(o[e],e,o)}}var a=e(t,n,r);return a>-1?o[s?t[a]:a]:i}}function Li(e){return Ji((function(t){var n=t.length,r=n,s=zn.prototype.thru;for(e&&t.reverse();r--;){var a=t[r];if("function"!=typeof a)throw new Ce(o);if(s&&!u&&"wrapper"==ro(a))var u=new zn([],!0)}for(r=u?r:n;++r<n;){var l=ro(a=t[r]),c="wrapper"==l?no(a):i;u=c&&bo(c[0])&&424==c[1]&&!c[4].length&&1==c[9]?u[ro(c[0])].apply(u,c[3]):1==a.length&&bo(a)?u[l]():u.thru(a)}return function(){var e=arguments,r=e[0];if(u&&1==e.length&&$s(r))return u.plant(r).value();for(var i=0,o=n?t[i].apply(this,e):r;++i<n;)o=t[i].call(this,o);return o}}))}function Ui(e,t,n,o,s,a,u,c,f,h){var p=t&l,d=1&t,m=2&t,g=24&t,v=512&t,y=m?i:Mi(e);return function l(){for(var b=arguments.length,w=r(b),_=b;_--;)w[_]=arguments[_];if(g)var S=io(l),x=function(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}(w,S);if(o&&(w=Ei(w,o,s,g)),a&&(w=ki(w,a,u,g)),b-=x,g&&b<h){var E=an(w,S);return Vi(e,t,Ui,l.placeholder,n,w,E,c,f,h-b)}var k=d?n:this,P=m?k[e]:e;return b=w.length,c?w=function(e,t){for(var n=e.length,r=vn(t.length,n),o=Pi(e);r--;){var s=t[r];e[r]=go(s,n)?o[s]:i}return e}(w,c):v&&b>1&&w.reverse(),p&&f<b&&(w.length=f),this&&this!==ft&&this instanceof l&&(P=y||Mi(P)),P.apply(k,w)}}function Di(e,t){return function(n,r){return function(e,t,n,r){return yr(e,(function(e,i,o){t(r,n(e),i,o)})),r}(n,e,t(r),{})}}function ji(e,t){return function(n,r){var o;if(n===i&&r===i)return t;if(n!==i&&(o=n),r!==i){if(o===i)return r;"string"==typeof n||"string"==typeof r?(n=si(n),r=si(r)):(n=oi(n),r=oi(r)),o=e(n,r)}return o}}function Bi(e){return Ji((function(t){return t=Ft(t,Kt(oo())),Gr((function(n){var r=this;return e(t,(function(e){return xt(e,r,n)}))}))}))}function zi(e,t){var n=(t=t===i?" ":si(t)).length;if(n<2)return n?Wr(t,e):t;var r=Wr(t,ht(e/cn(t)));return rn(t)?yi(fn(r),0,e).join(""):r.slice(0,e)}function Hi(e){return function(t,n,o){return o&&"number"!=typeof o&&vo(t,n,o)&&(n=o=i),t=ha(t),n===i?(n=t,t=0):n=ha(n),function(e,t,n,i){for(var o=-1,s=gn(ht((t-e)/(n||1)),0),a=r(s);s--;)a[i?s:++o]=e,e+=n;return a}(t,n,o=o===i?t<n?1:-1:ha(o),e)}}function $i(e){return function(t,n){return"string"==typeof t&&"string"==typeof n||(t=ma(t),n=ma(n)),e(t,n)}}function Vi(e,t,n,r,o,s,a,l,c,f){var h=8&t;t|=h?u:64,4&(t&=~(h?64:u))||(t&=-4);var p=[e,t,o,h?s:i,h?a:i,h?i:s,h?i:a,l,c,f],d=n.apply(i,p);return bo(e)&&Co(d,p),d.placeholder=r,Ao(d,e,t)}function qi(e){var t=xe[e];return function(e,n){if(e=ma(e),(n=null==n?0:vn(pa(n),292))&&Lt(e)){var r=(va(e)+"e").split("e");return+((r=(va(t(r[0]+"e"+(+r[1]+n)))+"e").split("e"))[0]+"e"+(+r[1]-n))}return t(e)}}var Wi=kn&&1/un(new kn([,-0]))[1]==c?function(e){return new kn(e)}:au;function Gi(e){return function(t){var n=fo(t);return n==S?on(t):n==C?ln(t):function(e,t){return Ft(t,(function(t){return[t,e[t]]}))}(t,e(t))}}function Zi(e,t,n,s,c,f,h,p){var d=2&t;if(!d&&"function"!=typeof e)throw new Ce(o);var m=s?s.length:0;if(m||(t&=-97,s=c=i),h=h===i?h:gn(pa(h),0),p=p===i?p:pa(p),m-=c?c.length:0,64&t){var g=s,v=c;s=c=i}var y=d?i:no(e),b=[e,t,n,s,c,g,v,f,h,p];if(y&&function(e,t){var n=e[1],r=t[1],i=n|r,o=i<131,s=r==l&&8==n||r==l&&256==n&&e[7].length<=t[8]||384==r&&t[7].length<=t[8]&&8==n;if(!o&&!s)return e;1&r&&(e[2]=t[2],i|=1&n?0:4);var u=t[3];if(u){var c=e[3];e[3]=c?Ei(c,u,t[4]):u,e[4]=c?an(e[3],a):t[4]}(u=t[5])&&(c=e[5],e[5]=c?ki(c,u,t[6]):u,e[6]=c?an(e[5],a):t[6]),(u=t[7])&&(e[7]=u),r&l&&(e[8]=null==e[8]?t[8]:vn(e[8],t[8])),null==e[9]&&(e[9]=t[9]),e[0]=t[0],e[1]=i}(b,y),e=b[0],t=b[1],n=b[2],s=b[3],c=b[4],!(p=b[9]=b[9]===i?d?0:e.length:gn(b[9]-m,0))&&24&t&&(t&=-25),t&&1!=t)w=8==t||16==t?function(e,t,n){var o=Mi(e);return function s(){for(var a=arguments.length,u=r(a),l=a,c=io(s);l--;)u[l]=arguments[l];var f=a<3&&u[0]!==c&&u[a-1]!==c?[]:an(u,c);return(a-=f.length)<n?Vi(e,t,Ui,s.placeholder,i,u,f,i,i,n-a):xt(this&&this!==ft&&this instanceof s?o:e,this,u)}}(e,t,p):t!=u&&33!=t||c.length?Ui.apply(i,b):function(e,t,n,i){var o=1&t,s=Mi(e);return function t(){for(var a=-1,u=arguments.length,l=-1,c=i.length,f=r(c+u),h=this&&this!==ft&&this instanceof t?s:e;++l<c;)f[l]=i[l];for(;u--;)f[l++]=arguments[++a];return xt(h,o?n:this,f)}}(e,t,n,s);else var w=function(e,t,n){var r=1&t,i=Mi(e);return function t(){return(this&&this!==ft&&this instanceof t?i:e).apply(r?n:this,arguments)}}(e,t,n);return Ao((y?Xr:Co)(w,b),e,t)}function Ki(e,t,n,r){return e===i||js(e,Ae[n])&&!Re.call(r,n)?t:e}function Yi(e,t,n,r,o,s){return Js(e)&&Js(t)&&(s.set(t,e),jr(e,t,i,Yi,s),s.delete(t)),e}function Xi(e){return ra(e)?i:e}function Qi(e,t,n,r,o,s){var a=1&n,u=e.length,l=t.length;if(u!=l&&!(a&&l>u))return!1;var c=s.get(e),f=s.get(t);if(c&&f)return c==t&&f==e;var h=-1,p=!0,d=2&n?new Wn:i;for(s.set(e,t),s.set(t,e);++h<u;){var m=e[h],g=t[h];if(r)var v=a?r(g,m,h,t,e,s):r(m,g,h,e,t,s);if(v!==i){if(v)continue;p=!1;break}if(d){if(!Nt(t,(function(e,t){if(!Xt(d,t)&&(m===e||o(m,e,n,r,s)))return d.push(t)}))){p=!1;break}}else if(m!==g&&!o(m,g,n,r,s)){p=!1;break}}return s.delete(e),s.delete(t),p}function Ji(e){return To(Eo(e,i,Vo),e+"")}function eo(e){return Sr(e,Aa,lo)}function to(e){return Sr(e,Fa,co)}var no=On?function(e){return On.get(e)}:au;function ro(e){for(var t=e.name+"",n=Tn[t],r=Re.call(Tn,t)?n.length:0;r--;){var i=n[r],o=i.func;if(null==o||o==e)return i.name}return t}function io(e){return(Re.call(Dn,"placeholder")?Dn:e).placeholder}function oo(){var e=Dn.iteratee||ru;return e=e===ru?Rr:e,arguments.length?e(arguments[0],arguments[1]):e}function so(e,t){var n,r,i=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?i["string"==typeof t?"string":"hash"]:i.map}function ao(e){for(var t=Aa(e),n=t.length;n--;){var r=t[n],i=e[r];t[n]=[r,i,So(i)]}return t}function uo(e,t){var n=function(e,t){return null==e?i:e[t]}(e,t);return Ir(n)?n:i}var lo=mt?function(e){return null==e?[]:(e=Ee(e),Ot(mt(e),(function(t){return We.call(e,t)})))}:du,co=mt?function(e){for(var t=[];e;)It(t,lo(e)),e=Ve(e);return t}:du,fo=xr;function ho(e,t,n){for(var r=-1,i=(t=gi(t,e)).length,o=!1;++r<i;){var s=Lo(t[r]);if(!(o=null!=e&&n(e,s)))break;e=e[s]}return o||++r!=i?o:!!(i=null==e?0:e.length)&&Qs(i)&&go(s,i)&&($s(e)||Hs(e))}function po(e){return"function"!=typeof e.constructor||_o(e)?{}:jn(Ve(e))}function mo(e){return $s(e)||Hs(e)||!!(Ze&&e&&e[Ze])}function go(e,t){var n=typeof e;return!!(t=null==t?f:t)&&("number"==n||"symbol"!=n&&ve.test(e))&&e>-1&&e%1==0&&e<t}function vo(e,t,n){if(!Js(n))return!1;var r=typeof t;return!!("number"==r?qs(n)&&go(t,n.length):"string"==r&&t in n)&&js(n[t],e)}function yo(e,t){if($s(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!aa(e))||J.test(e)||!Q.test(e)||null!=t&&e in Ee(t)}function bo(e){var t=ro(e),n=Dn[t];if("function"!=typeof n||!(t in Hn.prototype))return!1;if(e===n)return!0;var r=no(n);return!!r&&e===r[0]}(Sn&&fo(new Sn(new ArrayBuffer(1)))!=I||xn&&fo(new xn)!=S||En&&fo(En.resolve())!=k||kn&&fo(new kn)!=C||Pn&&fo(new Pn)!=A)&&(fo=function(e){var t=xr(e),n=t==E?e.constructor:i,r=n?Uo(n):"";if(r)switch(r){case An:return I;case Fn:return S;case In:return k;case Rn:return C;case Mn:return A}return t});var wo=Fe?Ys:mu;function _o(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Ae)}function So(e){return e==e&&!Js(e)}function xo(e,t){return function(n){return null!=n&&n[e]===t&&(t!==i||e in Ee(n))}}function Eo(e,t,n){return t=gn(t===i?e.length-1:t,0),function(){for(var i=arguments,o=-1,s=gn(i.length-t,0),a=r(s);++o<s;)a[o]=i[t+o];o=-1;for(var u=r(t+1);++o<t;)u[o]=i[o];return u[t]=n(a),xt(e,this,u)}}function ko(e,t){return t.length<2?e:_r(e,ei(t,0,-1))}function Po(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var Co=Fo(Xr),Oo=ct||function(e,t){return ft.setTimeout(e,t)},To=Fo(Qr);function Ao(e,t,n){var r=t+"";return To(e,function(e,t){var n=t.length;if(!n)return e;var r=n-1;return t[r]=(n>1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(oe,"{\n/* [wrapped with "+t+"] */\n")}(r,function(e,t){return kt(d,(function(n){var r="_."+n[0];t&n[1]&&!Tt(e,r)&&e.push(r)})),e.sort()}(function(e){var t=e.match(se);return t?t[1].split(ae):[]}(r),n)))}function Fo(e){var t=0,n=0;return function(){var r=yn(),o=16-(r-n);if(n=r,o>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(i,arguments)}}function Io(e,t){var n=-1,r=e.length,o=r-1;for(t=t===i?r:t;++n<t;){var s=qr(n,o),a=e[s];e[s]=e[n],e[n]=a}return e.length=t,e}var Ro,Mo,No=(Ro=Rs((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(ee,(function(e,n,r,i){t.push(r?i.replace(ce,"$1"):n||e)})),t}),(function(e){return 500===Mo.size&&Mo.clear(),e})),Mo=Ro.cache,Ro);function Lo(e){if("string"==typeof e||aa(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function Uo(e){if(null!=e){try{return Ie.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function Do(e){if(e instanceof Hn)return e.clone();var t=new zn(e.__wrapped__,e.__chain__);return t.__actions__=Pi(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}var jo=Gr((function(e,t){return Ws(e)?lr(e,mr(t,1,Ws,!0)):[]})),Bo=Gr((function(e,t){var n=Ko(t);return Ws(n)&&(n=i),Ws(e)?lr(e,mr(t,1,Ws,!0),oo(n,2)):[]})),zo=Gr((function(e,t){var n=Ko(t);return Ws(n)&&(n=i),Ws(e)?lr(e,mr(t,1,Ws,!0),i,n):[]}));function Ho(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=null==n?0:pa(n);return i<0&&(i=gn(r+i,0)),Dt(e,oo(t,3),i)}function $o(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=r-1;return n!==i&&(o=pa(n),o=n<0?gn(r+o,0):vn(o,r-1)),Dt(e,oo(t,3),o,!0)}function Vo(e){return null!=e&&e.length?mr(e,1):[]}function qo(e){return e&&e.length?e[0]:i}var Wo=Gr((function(e){var t=Ft(e,di);return t.length&&t[0]===e[0]?Cr(t):[]})),Go=Gr((function(e){var t=Ko(e),n=Ft(e,di);return t===Ko(n)?t=i:n.pop(),n.length&&n[0]===e[0]?Cr(n,oo(t,2)):[]})),Zo=Gr((function(e){var t=Ko(e),n=Ft(e,di);return(t="function"==typeof t?t:i)&&n.pop(),n.length&&n[0]===e[0]?Cr(n,i,t):[]}));function Ko(e){var t=null==e?0:e.length;return t?e[t-1]:i}var Yo=Gr(Xo);function Xo(e,t){return e&&e.length&&t&&t.length?$r(e,t):e}var Qo=Ji((function(e,t){var n=null==e?0:e.length,r=ir(e,t);return Vr(e,Ft(t,(function(e){return go(e,n)?+e:e})).sort(xi)),r}));function Jo(e){return null==e?e:_n.call(e)}var es=Gr((function(e){return ai(mr(e,1,Ws,!0))})),ts=Gr((function(e){var t=Ko(e);return Ws(t)&&(t=i),ai(mr(e,1,Ws,!0),oo(t,2))})),ns=Gr((function(e){var t=Ko(e);return t="function"==typeof t?t:i,ai(mr(e,1,Ws,!0),i,t)}));function rs(e){if(!e||!e.length)return[];var t=0;return e=Ot(e,(function(e){if(Ws(e))return t=gn(e.length,t),!0})),Gt(t,(function(t){return Ft(e,$t(t))}))}function is(e,t){if(!e||!e.length)return[];var n=rs(e);return null==t?n:Ft(n,(function(e){return xt(t,i,e)}))}var os=Gr((function(e,t){return Ws(e)?lr(e,t):[]})),ss=Gr((function(e){return hi(Ot(e,Ws))})),as=Gr((function(e){var t=Ko(e);return Ws(t)&&(t=i),hi(Ot(e,Ws),oo(t,2))})),us=Gr((function(e){var t=Ko(e);return t="function"==typeof t?t:i,hi(Ot(e,Ws),i,t)})),ls=Gr(rs),cs=Gr((function(e){var t=e.length,n=t>1?e[t-1]:i;return n="function"==typeof n?(e.pop(),n):i,is(e,n)}));function fs(e){var t=Dn(e);return t.__chain__=!0,t}function hs(e,t){return t(e)}var ps=Ji((function(e){var t=e.length,n=t?e[0]:0,r=this.__wrapped__,o=function(t){return ir(t,e)};return!(t>1||this.__actions__.length)&&r instanceof Hn&&go(n)?((r=r.slice(n,+n+(t?1:0))).__actions__.push({func:hs,args:[o],thisArg:i}),new zn(r,this.__chain__).thru((function(e){return t&&!e.length&&e.push(i),e}))):this.thru(o)})),ds=Oi((function(e,t,n){Re.call(e,n)?++e[n]:rr(e,n,1)})),ms=Ni(Ho),gs=Ni($o);function vs(e,t){return($s(e)?kt:cr)(e,oo(t,3))}function ys(e,t){return($s(e)?Pt:fr)(e,oo(t,3))}var bs=Oi((function(e,t,n){Re.call(e,n)?e[n].push(t):rr(e,n,[t])})),ws=Gr((function(e,t,n){var i=-1,o="function"==typeof t,s=qs(e)?r(e.length):[];return cr(e,(function(e){s[++i]=o?xt(t,e,n):Or(e,t,n)})),s})),_s=Oi((function(e,t,n){rr(e,n,t)}));function Ss(e,t){return($s(e)?Ft:Lr)(e,oo(t,3))}var xs=Oi((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]})),Es=Gr((function(e,t){if(null==e)return[];var n=t.length;return n>1&&vo(e,t[0],t[1])?t=[]:n>2&&vo(t[0],t[1],t[2])&&(t=[t[0]]),zr(e,mr(t,1),[])})),ks=lt||function(){return ft.Date.now()};function Ps(e,t,n){return t=n?i:t,t=e&&null==t?e.length:t,Zi(e,l,i,i,i,i,t)}function Cs(e,t){var n;if("function"!=typeof t)throw new Ce(o);return e=pa(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=i),n}}var Os=Gr((function(e,t,n){var r=1;if(n.length){var i=an(n,io(Os));r|=u}return Zi(e,r,t,n,i)})),Ts=Gr((function(e,t,n){var r=3;if(n.length){var i=an(n,io(Ts));r|=u}return Zi(t,r,e,n,i)}));function As(e,t,n){var r,s,a,u,l,c,f=0,h=!1,p=!1,d=!0;if("function"!=typeof e)throw new Ce(o);function m(t){var n=r,o=s;return r=s=i,f=t,u=e.apply(o,n)}function g(e){var n=e-c;return c===i||n>=t||n<0||p&&e-f>=a}function v(){var e=ks();if(g(e))return y(e);l=Oo(v,function(e){var n=t-(e-c);return p?vn(n,a-(e-f)):n}(e))}function y(e){return l=i,d&&r?m(e):(r=s=i,u)}function b(){var e=ks(),n=g(e);if(r=arguments,s=this,c=e,n){if(l===i)return function(e){return f=e,l=Oo(v,t),h?m(e):u}(c);if(p)return bi(l),l=Oo(v,t),m(c)}return l===i&&(l=Oo(v,t)),u}return t=ma(t)||0,Js(n)&&(h=!!n.leading,a=(p="maxWait"in n)?gn(ma(n.maxWait)||0,t):a,d="trailing"in n?!!n.trailing:d),b.cancel=function(){l!==i&&bi(l),f=0,r=c=s=l=i},b.flush=function(){return l===i?u:y(ks())},b}var Fs=Gr((function(e,t){return ur(e,1,t)})),Is=Gr((function(e,t,n){return ur(e,ma(t)||0,n)}));function Rs(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new Ce(o);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var s=e.apply(this,r);return n.cache=o.set(i,s)||o,s};return n.cache=new(Rs.Cache||qn),n}function Ms(e){if("function"!=typeof e)throw new Ce(o);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}Rs.Cache=qn;var Ns=vi((function(e,t){var n=(t=1==t.length&&$s(t[0])?Ft(t[0],Kt(oo())):Ft(mr(t,1),Kt(oo()))).length;return Gr((function(r){for(var i=-1,o=vn(r.length,n);++i<o;)r[i]=t[i].call(this,r[i]);return xt(e,this,r)}))})),Ls=Gr((function(e,t){var n=an(t,io(Ls));return Zi(e,u,i,t,n)})),Us=Gr((function(e,t){var n=an(t,io(Us));return Zi(e,64,i,t,n)})),Ds=Ji((function(e,t){return Zi(e,256,i,i,i,t)}));function js(e,t){return e===t||e!=e&&t!=t}var Bs=$i(Er),zs=$i((function(e,t){return e>=t})),Hs=Tr(function(){return arguments}())?Tr:function(e){return ea(e)&&Re.call(e,"callee")&&!We.call(e,"callee")},$s=r.isArray,Vs=vt?Kt(vt):function(e){return ea(e)&&xr(e)==F};function qs(e){return null!=e&&Qs(e.length)&&!Ys(e)}function Ws(e){return ea(e)&&qs(e)}var Gs=gt||mu,Zs=yt?Kt(yt):function(e){return ea(e)&&xr(e)==y};function Ks(e){if(!ea(e))return!1;var t=xr(e);return t==b||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!ra(e)}function Ys(e){if(!Js(e))return!1;var t=xr(e);return t==w||t==_||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Xs(e){return"number"==typeof e&&e==pa(e)}function Qs(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=f}function Js(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function ea(e){return null!=e&&"object"==typeof e}var ta=bt?Kt(bt):function(e){return ea(e)&&fo(e)==S};function na(e){return"number"==typeof e||ea(e)&&xr(e)==x}function ra(e){if(!ea(e)||xr(e)!=E)return!1;var t=Ve(e);if(null===t)return!0;var n=Re.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&Ie.call(n)==Ue}var ia=wt?Kt(wt):function(e){return ea(e)&&xr(e)==P},oa=_t?Kt(_t):function(e){return ea(e)&&fo(e)==C};function sa(e){return"string"==typeof e||!$s(e)&&ea(e)&&xr(e)==O}function aa(e){return"symbol"==typeof e||ea(e)&&xr(e)==T}var ua=St?Kt(St):function(e){return ea(e)&&Qs(e.length)&&!!it[xr(e)]},la=$i(Nr),ca=$i((function(e,t){return e<=t}));function fa(e){if(!e)return[];if(qs(e))return sa(e)?fn(e):Pi(e);if(Ke&&e[Ke])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[Ke]());var t=fo(e);return(t==S?on:t==C?un:ja)(e)}function ha(e){return e?(e=ma(e))===c||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}function pa(e){var t=ha(e),n=t%1;return t==t?n?t-n:t:0}function da(e){return e?or(pa(e),0,p):0}function ma(e){if("number"==typeof e)return e;if(aa(e))return h;if(Js(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=Js(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Zt(e);var n=de.test(e);return n||ge.test(e)?ut(e.slice(2),n?2:8):pe.test(e)?h:+e}function ga(e){return Ci(e,Fa(e))}function va(e){return null==e?"":si(e)}var ya=Ti((function(e,t){if(_o(t)||qs(t))Ci(t,Aa(t),e);else for(var n in t)Re.call(t,n)&&Jn(e,n,t[n])})),ba=Ti((function(e,t){Ci(t,Fa(t),e)})),wa=Ti((function(e,t,n,r){Ci(t,Fa(t),e,r)})),_a=Ti((function(e,t,n,r){Ci(t,Aa(t),e,r)})),Sa=Ji(ir),xa=Gr((function(e,t){e=Ee(e);var n=-1,r=t.length,o=r>2?t[2]:i;for(o&&vo(t[0],t[1],o)&&(r=1);++n<r;)for(var s=t[n],a=Fa(s),u=-1,l=a.length;++u<l;){var c=a[u],f=e[c];(f===i||js(f,Ae[c])&&!Re.call(e,c))&&(e[c]=s[c])}return e})),Ea=Gr((function(e){return e.push(i,Yi),xt(Ra,i,e)}));function ka(e,t,n){var r=null==e?i:_r(e,t);return r===i?n:r}function Pa(e,t){return null!=e&&ho(e,t,Pr)}var Ca=Di((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Le.call(t)),e[t]=n}),Ja(nu)),Oa=Di((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Le.call(t)),Re.call(e,t)?e[t].push(n):e[t]=[n]}),oo),Ta=Gr(Or);function Aa(e){return qs(e)?Zn(e):Mr(e)}function Fa(e){return qs(e)?Zn(e,!0):function(e){if(!Js(e))return function(e){var t=[];if(null!=e)for(var n in Ee(e))t.push(n);return t}(e);var t=_o(e),n=[];for(var r in e)("constructor"!=r||!t&&Re.call(e,r))&&n.push(r);return n}(e)}var Ia=Ti((function(e,t,n){jr(e,t,n)})),Ra=Ti((function(e,t,n,r){jr(e,t,n,r)})),Ma=Ji((function(e,t){var n={};if(null==e)return n;var r=!1;t=Ft(t,(function(t){return t=gi(t,e),r||(r=t.length>1),t})),Ci(e,to(e),n),r&&(n=sr(n,7,Xi));for(var i=t.length;i--;)ui(n,t[i]);return n})),Na=Ji((function(e,t){return null==e?{}:function(e,t){return Hr(e,t,(function(t,n){return Pa(e,n)}))}(e,t)}));function La(e,t){if(null==e)return{};var n=Ft(to(e),(function(e){return[e]}));return t=oo(t),Hr(e,n,(function(e,n){return t(e,n[0])}))}var Ua=Gi(Aa),Da=Gi(Fa);function ja(e){return null==e?[]:Yt(e,Aa(e))}var Ba=Ri((function(e,t,n){return t=t.toLowerCase(),e+(n?za(t):t)}));function za(e){return Ka(va(e).toLowerCase())}function Ha(e){return(e=va(e))&&e.replace(ye,en).replace(Xe,"")}var $a=Ri((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),Va=Ri((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),qa=Ii("toLowerCase"),Wa=Ri((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()})),Ga=Ri((function(e,t,n){return e+(n?" ":"")+Ka(t)})),Za=Ri((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),Ka=Ii("toUpperCase");function Ya(e,t,n){return e=va(e),(t=n?i:t)===i?function(e){return tt.test(e)}(e)?function(e){return e.match(Je)||[]}(e):function(e){return e.match(ue)||[]}(e):e.match(t)||[]}var Xa=Gr((function(e,t){try{return xt(e,i,t)}catch(e){return Ks(e)?e:new _e(e)}})),Qa=Ji((function(e,t){return kt(t,(function(t){t=Lo(t),rr(e,t,Os(e[t],e))})),e}));function Ja(e){return function(){return e}}var eu=Li(),tu=Li(!0);function nu(e){return e}function ru(e){return Rr("function"==typeof e?e:sr(e,1))}var iu=Gr((function(e,t){return function(n){return Or(n,e,t)}})),ou=Gr((function(e,t){return function(n){return Or(e,n,t)}}));function su(e,t,n){var r=Aa(t),i=wr(t,r);null!=n||Js(t)&&(i.length||!r.length)||(n=t,t=e,e=this,i=wr(t,Aa(t)));var o=!(Js(n)&&"chain"in n&&!n.chain),s=Ys(e);return kt(i,(function(n){var r=t[n];e[n]=r,s&&(e.prototype[n]=function(){var t=this.__chain__;if(o||t){var n=e(this.__wrapped__);return(n.__actions__=Pi(this.__actions__)).push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,It([this.value()],arguments))})})),e}function au(){}var uu=Bi(Ft),lu=Bi(Ct),cu=Bi(Nt);function fu(e){return yo(e)?$t(Lo(e)):function(e){return function(t){return _r(t,e)}}(e)}var hu=Hi(),pu=Hi(!0);function du(){return[]}function mu(){return!1}var gu,vu=ji((function(e,t){return e+t}),0),yu=qi("ceil"),bu=ji((function(e,t){return e/t}),1),wu=qi("floor"),_u=ji((function(e,t){return e*t}),1),Su=qi("round"),xu=ji((function(e,t){return e-t}),0);return Dn.after=function(e,t){if("function"!=typeof t)throw new Ce(o);return e=pa(e),function(){if(--e<1)return t.apply(this,arguments)}},Dn.ary=Ps,Dn.assign=ya,Dn.assignIn=ba,Dn.assignInWith=wa,Dn.assignWith=_a,Dn.at=Sa,Dn.before=Cs,Dn.bind=Os,Dn.bindAll=Qa,Dn.bindKey=Ts,Dn.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return $s(e)?e:[e]},Dn.chain=fs,Dn.chunk=function(e,t,n){t=(n?vo(e,t,n):t===i)?1:gn(pa(t),0);var o=null==e?0:e.length;if(!o||t<1)return[];for(var s=0,a=0,u=r(ht(o/t));s<o;)u[a++]=ei(e,s,s+=t);return u},Dn.compact=function(e){for(var t=-1,n=null==e?0:e.length,r=0,i=[];++t<n;){var o=e[t];o&&(i[r++]=o)}return i},Dn.concat=function(){var e=arguments.length;if(!e)return[];for(var t=r(e-1),n=arguments[0],i=e;i--;)t[i-1]=arguments[i];return It($s(n)?Pi(n):[n],mr(t,1))},Dn.cond=function(e){var t=null==e?0:e.length,n=oo();return e=t?Ft(e,(function(e){if("function"!=typeof e[1])throw new Ce(o);return[n(e[0]),e[1]]})):[],Gr((function(n){for(var r=-1;++r<t;){var i=e[r];if(xt(i[0],this,n))return xt(i[1],this,n)}}))},Dn.conforms=function(e){return function(e){var t=Aa(e);return function(n){return ar(n,e,t)}}(sr(e,1))},Dn.constant=Ja,Dn.countBy=ds,Dn.create=function(e,t){var n=jn(e);return null==t?n:nr(n,t)},Dn.curry=function e(t,n,r){var o=Zi(t,8,i,i,i,i,i,n=r?i:n);return o.placeholder=e.placeholder,o},Dn.curryRight=function e(t,n,r){var o=Zi(t,16,i,i,i,i,i,n=r?i:n);return o.placeholder=e.placeholder,o},Dn.debounce=As,Dn.defaults=xa,Dn.defaultsDeep=Ea,Dn.defer=Fs,Dn.delay=Is,Dn.difference=jo,Dn.differenceBy=Bo,Dn.differenceWith=zo,Dn.drop=function(e,t,n){var r=null==e?0:e.length;return r?ei(e,(t=n||t===i?1:pa(t))<0?0:t,r):[]},Dn.dropRight=function(e,t,n){var r=null==e?0:e.length;return r?ei(e,0,(t=r-(t=n||t===i?1:pa(t)))<0?0:t):[]},Dn.dropRightWhile=function(e,t){return e&&e.length?ci(e,oo(t,3),!0,!0):[]},Dn.dropWhile=function(e,t){return e&&e.length?ci(e,oo(t,3),!0):[]},Dn.fill=function(e,t,n,r){var o=null==e?0:e.length;return o?(n&&"number"!=typeof n&&vo(e,t,n)&&(n=0,r=o),function(e,t,n,r){var o=e.length;for((n=pa(n))<0&&(n=-n>o?0:o+n),(r=r===i||r>o?o:pa(r))<0&&(r+=o),r=n>r?0:da(r);n<r;)e[n++]=t;return e}(e,t,n,r)):[]},Dn.filter=function(e,t){return($s(e)?Ot:dr)(e,oo(t,3))},Dn.flatMap=function(e,t){return mr(Ss(e,t),1)},Dn.flatMapDeep=function(e,t){return mr(Ss(e,t),c)},Dn.flatMapDepth=function(e,t,n){return n=n===i?1:pa(n),mr(Ss(e,t),n)},Dn.flatten=Vo,Dn.flattenDeep=function(e){return null!=e&&e.length?mr(e,c):[]},Dn.flattenDepth=function(e,t){return null!=e&&e.length?mr(e,t=t===i?1:pa(t)):[]},Dn.flip=function(e){return Zi(e,512)},Dn.flow=eu,Dn.flowRight=tu,Dn.fromPairs=function(e){for(var t=-1,n=null==e?0:e.length,r={};++t<n;){var i=e[t];r[i[0]]=i[1]}return r},Dn.functions=function(e){return null==e?[]:wr(e,Aa(e))},Dn.functionsIn=function(e){return null==e?[]:wr(e,Fa(e))},Dn.groupBy=bs,Dn.initial=function(e){return null!=e&&e.length?ei(e,0,-1):[]},Dn.intersection=Wo,Dn.intersectionBy=Go,Dn.intersectionWith=Zo,Dn.invert=Ca,Dn.invertBy=Oa,Dn.invokeMap=ws,Dn.iteratee=ru,Dn.keyBy=_s,Dn.keys=Aa,Dn.keysIn=Fa,Dn.map=Ss,Dn.mapKeys=function(e,t){var n={};return t=oo(t,3),yr(e,(function(e,r,i){rr(n,t(e,r,i),e)})),n},Dn.mapValues=function(e,t){var n={};return t=oo(t,3),yr(e,(function(e,r,i){rr(n,r,t(e,r,i))})),n},Dn.matches=function(e){return Ur(sr(e,1))},Dn.matchesProperty=function(e,t){return Dr(e,sr(t,1))},Dn.memoize=Rs,Dn.merge=Ia,Dn.mergeWith=Ra,Dn.method=iu,Dn.methodOf=ou,Dn.mixin=su,Dn.negate=Ms,Dn.nthArg=function(e){return e=pa(e),Gr((function(t){return Br(t,e)}))},Dn.omit=Ma,Dn.omitBy=function(e,t){return La(e,Ms(oo(t)))},Dn.once=function(e){return Cs(2,e)},Dn.orderBy=function(e,t,n,r){return null==e?[]:($s(t)||(t=null==t?[]:[t]),$s(n=r?i:n)||(n=null==n?[]:[n]),zr(e,t,n))},Dn.over=uu,Dn.overArgs=Ns,Dn.overEvery=lu,Dn.overSome=cu,Dn.partial=Ls,Dn.partialRight=Us,Dn.partition=xs,Dn.pick=Na,Dn.pickBy=La,Dn.property=fu,Dn.propertyOf=function(e){return function(t){return null==e?i:_r(e,t)}},Dn.pull=Yo,Dn.pullAll=Xo,Dn.pullAllBy=function(e,t,n){return e&&e.length&&t&&t.length?$r(e,t,oo(n,2)):e},Dn.pullAllWith=function(e,t,n){return e&&e.length&&t&&t.length?$r(e,t,i,n):e},Dn.pullAt=Qo,Dn.range=hu,Dn.rangeRight=pu,Dn.rearg=Ds,Dn.reject=function(e,t){return($s(e)?Ot:dr)(e,Ms(oo(t,3)))},Dn.remove=function(e,t){var n=[];if(!e||!e.length)return n;var r=-1,i=[],o=e.length;for(t=oo(t,3);++r<o;){var s=e[r];t(s,r,e)&&(n.push(s),i.push(r))}return Vr(e,i),n},Dn.rest=function(e,t){if("function"!=typeof e)throw new Ce(o);return Gr(e,t=t===i?t:pa(t))},Dn.reverse=Jo,Dn.sampleSize=function(e,t,n){return t=(n?vo(e,t,n):t===i)?1:pa(t),($s(e)?Yn:Kr)(e,t)},Dn.set=function(e,t,n){return null==e?e:Yr(e,t,n)},Dn.setWith=function(e,t,n,r){return r="function"==typeof r?r:i,null==e?e:Yr(e,t,n,r)},Dn.shuffle=function(e){return($s(e)?Xn:Jr)(e)},Dn.slice=function(e,t,n){var r=null==e?0:e.length;return r?(n&&"number"!=typeof n&&vo(e,t,n)?(t=0,n=r):(t=null==t?0:pa(t),n=n===i?r:pa(n)),ei(e,t,n)):[]},Dn.sortBy=Es,Dn.sortedUniq=function(e){return e&&e.length?ii(e):[]},Dn.sortedUniqBy=function(e,t){return e&&e.length?ii(e,oo(t,2)):[]},Dn.split=function(e,t,n){return n&&"number"!=typeof n&&vo(e,t,n)&&(t=n=i),(n=n===i?p:n>>>0)?(e=va(e))&&("string"==typeof t||null!=t&&!ia(t))&&!(t=si(t))&&rn(e)?yi(fn(e),0,n):e.split(t,n):[]},Dn.spread=function(e,t){if("function"!=typeof e)throw new Ce(o);return t=null==t?0:gn(pa(t),0),Gr((function(n){var r=n[t],i=yi(n,0,t);return r&&It(i,r),xt(e,this,i)}))},Dn.tail=function(e){var t=null==e?0:e.length;return t?ei(e,1,t):[]},Dn.take=function(e,t,n){return e&&e.length?ei(e,0,(t=n||t===i?1:pa(t))<0?0:t):[]},Dn.takeRight=function(e,t,n){var r=null==e?0:e.length;return r?ei(e,(t=r-(t=n||t===i?1:pa(t)))<0?0:t,r):[]},Dn.takeRightWhile=function(e,t){return e&&e.length?ci(e,oo(t,3),!1,!0):[]},Dn.takeWhile=function(e,t){return e&&e.length?ci(e,oo(t,3)):[]},Dn.tap=function(e,t){return t(e),e},Dn.throttle=function(e,t,n){var r=!0,i=!0;if("function"!=typeof e)throw new Ce(o);return Js(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),As(e,t,{leading:r,maxWait:t,trailing:i})},Dn.thru=hs,Dn.toArray=fa,Dn.toPairs=Ua,Dn.toPairsIn=Da,Dn.toPath=function(e){return $s(e)?Ft(e,Lo):aa(e)?[e]:Pi(No(va(e)))},Dn.toPlainObject=ga,Dn.transform=function(e,t,n){var r=$s(e),i=r||Gs(e)||ua(e);if(t=oo(t,4),null==n){var o=e&&e.constructor;n=i?r?new o:[]:Js(e)&&Ys(o)?jn(Ve(e)):{}}return(i?kt:yr)(e,(function(e,r,i){return t(n,e,r,i)})),n},Dn.unary=function(e){return Ps(e,1)},Dn.union=es,Dn.unionBy=ts,Dn.unionWith=ns,Dn.uniq=function(e){return e&&e.length?ai(e):[]},Dn.uniqBy=function(e,t){return e&&e.length?ai(e,oo(t,2)):[]},Dn.uniqWith=function(e,t){return t="function"==typeof t?t:i,e&&e.length?ai(e,i,t):[]},Dn.unset=function(e,t){return null==e||ui(e,t)},Dn.unzip=rs,Dn.unzipWith=is,Dn.update=function(e,t,n){return null==e?e:li(e,t,mi(n))},Dn.updateWith=function(e,t,n,r){return r="function"==typeof r?r:i,null==e?e:li(e,t,mi(n),r)},Dn.values=ja,Dn.valuesIn=function(e){return null==e?[]:Yt(e,Fa(e))},Dn.without=os,Dn.words=Ya,Dn.wrap=function(e,t){return Ls(mi(t),e)},Dn.xor=ss,Dn.xorBy=as,Dn.xorWith=us,Dn.zip=ls,Dn.zipObject=function(e,t){return pi(e||[],t||[],Jn)},Dn.zipObjectDeep=function(e,t){return pi(e||[],t||[],Yr)},Dn.zipWith=cs,Dn.entries=Ua,Dn.entriesIn=Da,Dn.extend=ba,Dn.extendWith=wa,su(Dn,Dn),Dn.add=vu,Dn.attempt=Xa,Dn.camelCase=Ba,Dn.capitalize=za,Dn.ceil=yu,Dn.clamp=function(e,t,n){return n===i&&(n=t,t=i),n!==i&&(n=(n=ma(n))==n?n:0),t!==i&&(t=(t=ma(t))==t?t:0),or(ma(e),t,n)},Dn.clone=function(e){return sr(e,4)},Dn.cloneDeep=function(e){return sr(e,5)},Dn.cloneDeepWith=function(e,t){return sr(e,5,t="function"==typeof t?t:i)},Dn.cloneWith=function(e,t){return sr(e,4,t="function"==typeof t?t:i)},Dn.conformsTo=function(e,t){return null==t||ar(e,t,Aa(t))},Dn.deburr=Ha,Dn.defaultTo=function(e,t){return null==e||e!=e?t:e},Dn.divide=bu,Dn.endsWith=function(e,t,n){e=va(e),t=si(t);var r=e.length,o=n=n===i?r:or(pa(n),0,r);return(n-=t.length)>=0&&e.slice(n,o)==t},Dn.eq=js,Dn.escape=function(e){return(e=va(e))&&Z.test(e)?e.replace(W,tn):e},Dn.escapeRegExp=function(e){return(e=va(e))&&ne.test(e)?e.replace(te,"\\$&"):e},Dn.every=function(e,t,n){var r=$s(e)?Ct:hr;return n&&vo(e,t,n)&&(t=i),r(e,oo(t,3))},Dn.find=ms,Dn.findIndex=Ho,Dn.findKey=function(e,t){return Ut(e,oo(t,3),yr)},Dn.findLast=gs,Dn.findLastIndex=$o,Dn.findLastKey=function(e,t){return Ut(e,oo(t,3),br)},Dn.floor=wu,Dn.forEach=vs,Dn.forEachRight=ys,Dn.forIn=function(e,t){return null==e?e:gr(e,oo(t,3),Fa)},Dn.forInRight=function(e,t){return null==e?e:vr(e,oo(t,3),Fa)},Dn.forOwn=function(e,t){return e&&yr(e,oo(t,3))},Dn.forOwnRight=function(e,t){return e&&br(e,oo(t,3))},Dn.get=ka,Dn.gt=Bs,Dn.gte=zs,Dn.has=function(e,t){return null!=e&&ho(e,t,kr)},Dn.hasIn=Pa,Dn.head=qo,Dn.identity=nu,Dn.includes=function(e,t,n,r){e=qs(e)?e:ja(e),n=n&&!r?pa(n):0;var i=e.length;return n<0&&(n=gn(i+n,0)),sa(e)?n<=i&&e.indexOf(t,n)>-1:!!i&&jt(e,t,n)>-1},Dn.indexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=null==n?0:pa(n);return i<0&&(i=gn(r+i,0)),jt(e,t,i)},Dn.inRange=function(e,t,n){return t=ha(t),n===i?(n=t,t=0):n=ha(n),function(e,t,n){return e>=vn(t,n)&&e<gn(t,n)}(e=ma(e),t,n)},Dn.invoke=Ta,Dn.isArguments=Hs,Dn.isArray=$s,Dn.isArrayBuffer=Vs,Dn.isArrayLike=qs,Dn.isArrayLikeObject=Ws,Dn.isBoolean=function(e){return!0===e||!1===e||ea(e)&&xr(e)==v},Dn.isBuffer=Gs,Dn.isDate=Zs,Dn.isElement=function(e){return ea(e)&&1===e.nodeType&&!ra(e)},Dn.isEmpty=function(e){if(null==e)return!0;if(qs(e)&&($s(e)||"string"==typeof e||"function"==typeof e.splice||Gs(e)||ua(e)||Hs(e)))return!e.length;var t=fo(e);if(t==S||t==C)return!e.size;if(_o(e))return!Mr(e).length;for(var n in e)if(Re.call(e,n))return!1;return!0},Dn.isEqual=function(e,t){return Ar(e,t)},Dn.isEqualWith=function(e,t,n){var r=(n="function"==typeof n?n:i)?n(e,t):i;return r===i?Ar(e,t,i,n):!!r},Dn.isError=Ks,Dn.isFinite=function(e){return"number"==typeof e&&Lt(e)},Dn.isFunction=Ys,Dn.isInteger=Xs,Dn.isLength=Qs,Dn.isMap=ta,Dn.isMatch=function(e,t){return e===t||Fr(e,t,ao(t))},Dn.isMatchWith=function(e,t,n){return n="function"==typeof n?n:i,Fr(e,t,ao(t),n)},Dn.isNaN=function(e){return na(e)&&e!=+e},Dn.isNative=function(e){if(wo(e))throw new _e("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Ir(e)},Dn.isNil=function(e){return null==e},Dn.isNull=function(e){return null===e},Dn.isNumber=na,Dn.isObject=Js,Dn.isObjectLike=ea,Dn.isPlainObject=ra,Dn.isRegExp=ia,Dn.isSafeInteger=function(e){return Xs(e)&&e>=-9007199254740991&&e<=f},Dn.isSet=oa,Dn.isString=sa,Dn.isSymbol=aa,Dn.isTypedArray=ua,Dn.isUndefined=function(e){return e===i},Dn.isWeakMap=function(e){return ea(e)&&fo(e)==A},Dn.isWeakSet=function(e){return ea(e)&&"[object WeakSet]"==xr(e)},Dn.join=function(e,t){return null==e?"":Vt.call(e,t)},Dn.kebabCase=$a,Dn.last=Ko,Dn.lastIndexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=r;return n!==i&&(o=(o=pa(n))<0?gn(r+o,0):vn(o,r-1)),t==t?function(e,t,n){for(var r=n+1;r--;)if(e[r]===t)return r;return r}(e,t,o):Dt(e,zt,o,!0)},Dn.lowerCase=Va,Dn.lowerFirst=qa,Dn.lt=la,Dn.lte=ca,Dn.max=function(e){return e&&e.length?pr(e,nu,Er):i},Dn.maxBy=function(e,t){return e&&e.length?pr(e,oo(t,2),Er):i},Dn.mean=function(e){return Ht(e,nu)},Dn.meanBy=function(e,t){return Ht(e,oo(t,2))},Dn.min=function(e){return e&&e.length?pr(e,nu,Nr):i},Dn.minBy=function(e,t){return e&&e.length?pr(e,oo(t,2),Nr):i},Dn.stubArray=du,Dn.stubFalse=mu,Dn.stubObject=function(){return{}},Dn.stubString=function(){return""},Dn.stubTrue=function(){return!0},Dn.multiply=_u,Dn.nth=function(e,t){return e&&e.length?Br(e,pa(t)):i},Dn.noConflict=function(){return ft._===this&&(ft._=De),this},Dn.noop=au,Dn.now=ks,Dn.pad=function(e,t,n){e=va(e);var r=(t=pa(t))?cn(e):0;if(!t||r>=t)return e;var i=(t-r)/2;return zi(pt(i),n)+e+zi(ht(i),n)},Dn.padEnd=function(e,t,n){e=va(e);var r=(t=pa(t))?cn(e):0;return t&&r<t?e+zi(t-r,n):e},Dn.padStart=function(e,t,n){e=va(e);var r=(t=pa(t))?cn(e):0;return t&&r<t?zi(t-r,n)+e:e},Dn.parseInt=function(e,t,n){return n||null==t?t=0:t&&(t=+t),bn(va(e).replace(re,""),t||0)},Dn.random=function(e,t,n){if(n&&"boolean"!=typeof n&&vo(e,t,n)&&(t=n=i),n===i&&("boolean"==typeof t?(n=t,t=i):"boolean"==typeof e&&(n=e,e=i)),e===i&&t===i?(e=0,t=1):(e=ha(e),t===i?(t=e,e=0):t=ha(t)),e>t){var r=e;e=t,t=r}if(n||e%1||t%1){var o=wn();return vn(e+o*(t-e+at("1e-"+((o+"").length-1))),t)}return qr(e,t)},Dn.reduce=function(e,t,n){var r=$s(e)?Rt:qt,i=arguments.length<3;return r(e,oo(t,4),n,i,cr)},Dn.reduceRight=function(e,t,n){var r=$s(e)?Mt:qt,i=arguments.length<3;return r(e,oo(t,4),n,i,fr)},Dn.repeat=function(e,t,n){return t=(n?vo(e,t,n):t===i)?1:pa(t),Wr(va(e),t)},Dn.replace=function(){var e=arguments,t=va(e[0]);return e.length<3?t:t.replace(e[1],e[2])},Dn.result=function(e,t,n){var r=-1,o=(t=gi(t,e)).length;for(o||(o=1,e=i);++r<o;){var s=null==e?i:e[Lo(t[r])];s===i&&(r=o,s=n),e=Ys(s)?s.call(e):s}return e},Dn.round=Su,Dn.runInContext=e,Dn.sample=function(e){return($s(e)?Kn:Zr)(e)},Dn.size=function(e){if(null==e)return 0;if(qs(e))return sa(e)?cn(e):e.length;var t=fo(e);return t==S||t==C?e.size:Mr(e).length},Dn.snakeCase=Wa,Dn.some=function(e,t,n){var r=$s(e)?Nt:ti;return n&&vo(e,t,n)&&(t=i),r(e,oo(t,3))},Dn.sortedIndex=function(e,t){return ni(e,t)},Dn.sortedIndexBy=function(e,t,n){return ri(e,t,oo(n,2))},Dn.sortedIndexOf=function(e,t){var n=null==e?0:e.length;if(n){var r=ni(e,t);if(r<n&&js(e[r],t))return r}return-1},Dn.sortedLastIndex=function(e,t){return ni(e,t,!0)},Dn.sortedLastIndexBy=function(e,t,n){return ri(e,t,oo(n,2),!0)},Dn.sortedLastIndexOf=function(e,t){if(null!=e&&e.length){var n=ni(e,t,!0)-1;if(js(e[n],t))return n}return-1},Dn.startCase=Ga,Dn.startsWith=function(e,t,n){return e=va(e),n=null==n?0:or(pa(n),0,e.length),t=si(t),e.slice(n,n+t.length)==t},Dn.subtract=xu,Dn.sum=function(e){return e&&e.length?Wt(e,nu):0},Dn.sumBy=function(e,t){return e&&e.length?Wt(e,oo(t,2)):0},Dn.template=function(e,t,n){var r=Dn.templateSettings;n&&vo(e,t,n)&&(t=i),e=va(e),t=wa({},t,r,Ki);var o,s,a=wa({},t.imports,r.imports,Ki),u=Aa(a),l=Yt(a,u),c=0,f=t.interpolate||be,h="__p += '",p=ke((t.escape||be).source+"|"+f.source+"|"+(f===X?fe:be).source+"|"+(t.evaluate||be).source+"|$","g"),d="//# sourceURL="+(Re.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++rt+"]")+"\n";e.replace(p,(function(t,n,r,i,a,u){return r||(r=i),h+=e.slice(c,u).replace(we,nn),n&&(o=!0,h+="' +\n__e("+n+") +\n'"),a&&(s=!0,h+="';\n"+a+";\n__p += '"),r&&(h+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),c=u+t.length,t})),h+="';\n";var m=Re.call(t,"variable")&&t.variable;if(m){if(le.test(m))throw new _e("Invalid `variable` option passed into `_.template`")}else h="with (obj) {\n"+h+"\n}\n";h=(s?h.replace(H,""):h).replace($,"$1").replace(V,"$1;"),h="function("+(m||"obj")+") {\n"+(m?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(o?", __e = _.escape":"")+(s?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+h+"return __p\n}";var g=Xa((function(){return Se(u,d+"return "+h).apply(i,l)}));if(g.source=h,Ks(g))throw g;return g},Dn.times=function(e,t){if((e=pa(e))<1||e>f)return[];var n=p,r=vn(e,p);t=oo(t),e-=p;for(var i=Gt(r,t);++n<e;)t(n);return i},Dn.toFinite=ha,Dn.toInteger=pa,Dn.toLength=da,Dn.toLower=function(e){return va(e).toLowerCase()},Dn.toNumber=ma,Dn.toSafeInteger=function(e){return e?or(pa(e),-9007199254740991,f):0===e?e:0},Dn.toString=va,Dn.toUpper=function(e){return va(e).toUpperCase()},Dn.trim=function(e,t,n){if((e=va(e))&&(n||t===i))return Zt(e);if(!e||!(t=si(t)))return e;var r=fn(e),o=fn(t);return yi(r,Qt(r,o),Jt(r,o)+1).join("")},Dn.trimEnd=function(e,t,n){if((e=va(e))&&(n||t===i))return e.slice(0,hn(e)+1);if(!e||!(t=si(t)))return e;var r=fn(e);return yi(r,0,Jt(r,fn(t))+1).join("")},Dn.trimStart=function(e,t,n){if((e=va(e))&&(n||t===i))return e.replace(re,"");if(!e||!(t=si(t)))return e;var r=fn(e);return yi(r,Qt(r,fn(t))).join("")},Dn.truncate=function(e,t){var n=30,r="...";if(Js(t)){var o="separator"in t?t.separator:o;n="length"in t?pa(t.length):n,r="omission"in t?si(t.omission):r}var s=(e=va(e)).length;if(rn(e)){var a=fn(e);s=a.length}if(n>=s)return e;var u=n-cn(r);if(u<1)return r;var l=a?yi(a,0,u).join(""):e.slice(0,u);if(o===i)return l+r;if(a&&(u+=l.length-u),ia(o)){if(e.slice(u).search(o)){var c,f=l;for(o.global||(o=ke(o.source,va(he.exec(o))+"g")),o.lastIndex=0;c=o.exec(f);)var h=c.index;l=l.slice(0,h===i?u:h)}}else if(e.indexOf(si(o),u)!=u){var p=l.lastIndexOf(o);p>-1&&(l=l.slice(0,p))}return l+r},Dn.unescape=function(e){return(e=va(e))&&G.test(e)?e.replace(q,pn):e},Dn.uniqueId=function(e){var t=++Me;return va(e)+t},Dn.upperCase=Za,Dn.upperFirst=Ka,Dn.each=vs,Dn.eachRight=ys,Dn.first=qo,su(Dn,(gu={},yr(Dn,(function(e,t){Re.call(Dn.prototype,t)||(gu[t]=e)})),gu),{chain:!1}),Dn.VERSION="4.17.21",kt(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){Dn[e].placeholder=Dn})),kt(["drop","take"],(function(e,t){Hn.prototype[e]=function(n){n=n===i?1:gn(pa(n),0);var r=this.__filtered__&&!t?new Hn(this):this.clone();return r.__filtered__?r.__takeCount__=vn(n,r.__takeCount__):r.__views__.push({size:vn(n,p),type:e+(r.__dir__<0?"Right":"")}),r},Hn.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),kt(["filter","map","takeWhile"],(function(e,t){var n=t+1,r=1==n||3==n;Hn.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:oo(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}})),kt(["head","last"],(function(e,t){var n="take"+(t?"Right":"");Hn.prototype[e]=function(){return this[n](1).value()[0]}})),kt(["initial","tail"],(function(e,t){var n="drop"+(t?"":"Right");Hn.prototype[e]=function(){return this.__filtered__?new Hn(this):this[n](1)}})),Hn.prototype.compact=function(){return this.filter(nu)},Hn.prototype.find=function(e){return this.filter(e).head()},Hn.prototype.findLast=function(e){return this.reverse().find(e)},Hn.prototype.invokeMap=Gr((function(e,t){return"function"==typeof e?new Hn(this):this.map((function(n){return Or(n,e,t)}))})),Hn.prototype.reject=function(e){return this.filter(Ms(oo(e)))},Hn.prototype.slice=function(e,t){e=pa(e);var n=this;return n.__filtered__&&(e>0||t<0)?new Hn(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==i&&(n=(t=pa(t))<0?n.dropRight(-t):n.take(t-e)),n)},Hn.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Hn.prototype.toArray=function(){return this.take(p)},yr(Hn.prototype,(function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),r=/^(?:head|last)$/.test(t),o=Dn[r?"take"+("last"==t?"Right":""):t],s=r||/^find/.test(t);o&&(Dn.prototype[t]=function(){var t=this.__wrapped__,a=r?[1]:arguments,u=t instanceof Hn,l=a[0],c=u||$s(t),f=function(e){var t=o.apply(Dn,It([e],a));return r&&h?t[0]:t};c&&n&&"function"==typeof l&&1!=l.length&&(u=c=!1);var h=this.__chain__,p=!!this.__actions__.length,d=s&&!h,m=u&&!p;if(!s&&c){t=m?t:new Hn(this);var g=e.apply(t,a);return g.__actions__.push({func:hs,args:[f],thisArg:i}),new zn(g,h)}return d&&m?e.apply(this,a):(g=this.thru(f),d?r?g.value()[0]:g.value():g)})})),kt(["pop","push","shift","sort","splice","unshift"],(function(e){var t=Oe[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);Dn.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var i=this.value();return t.apply($s(i)?i:[],e)}return this[n]((function(n){return t.apply($s(n)?n:[],e)}))}})),yr(Hn.prototype,(function(e,t){var n=Dn[t];if(n){var r=n.name+"";Re.call(Tn,r)||(Tn[r]=[]),Tn[r].push({name:t,func:n})}})),Tn[Ui(i,2).name]=[{name:"wrapper",func:i}],Hn.prototype.clone=function(){var e=new Hn(this.__wrapped__);return e.__actions__=Pi(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Pi(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Pi(this.__views__),e},Hn.prototype.reverse=function(){if(this.__filtered__){var e=new Hn(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},Hn.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=$s(e),r=t<0,i=n?e.length:0,o=function(e,t,n){for(var r=-1,i=n.length;++r<i;){var o=n[r],s=o.size;switch(o.type){case"drop":e+=s;break;case"dropRight":t-=s;break;case"take":t=vn(t,e+s);break;case"takeRight":e=gn(e,t-s)}}return{start:e,end:t}}(0,i,this.__views__),s=o.start,a=o.end,u=a-s,l=r?a:s-1,c=this.__iteratees__,f=c.length,h=0,p=vn(u,this.__takeCount__);if(!n||!r&&i==u&&p==u)return fi(e,this.__actions__);var d=[];e:for(;u--&&h<p;){for(var m=-1,g=e[l+=t];++m<f;){var v=c[m],y=v.iteratee,b=v.type,w=y(g);if(2==b)g=w;else if(!w){if(1==b)continue e;break e}}d[h++]=g}return d},Dn.prototype.at=ps,Dn.prototype.chain=function(){return fs(this)},Dn.prototype.commit=function(){return new zn(this.value(),this.__chain__)},Dn.prototype.next=function(){this.__values__===i&&(this.__values__=fa(this.value()));var e=this.__index__>=this.__values__.length;return{done:e,value:e?i:this.__values__[this.__index__++]}},Dn.prototype.plant=function(e){for(var t,n=this;n instanceof Bn;){var r=Do(n);r.__index__=0,r.__values__=i,t?o.__wrapped__=r:t=r;var o=r;n=n.__wrapped__}return o.__wrapped__=e,t},Dn.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof Hn){var t=e;return this.__actions__.length&&(t=new Hn(this)),(t=t.reverse()).__actions__.push({func:hs,args:[Jo],thisArg:i}),new zn(t,this.__chain__)}return this.thru(Jo)},Dn.prototype.toJSON=Dn.prototype.valueOf=Dn.prototype.value=function(){return fi(this.__wrapped__,this.__actions__)},Dn.prototype.first=Dn.prototype.head,Ke&&(Dn.prototype[Ke]=function(){return this}),Dn}();ft._=dn,(r=function(){return dn}.call(t,n,t,e))===i||(e.exports=r)}.call(this)},30733:function(e,t,n){var r=n(96738);function i(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var s=e.apply(this,r);return n.cache=o.set(i,s)||o,s};return n.cache=new(i.Cache||r),n}i.Cache=r,e.exports=i},34291:function(e){e.exports=function(){}},61100:function(e,t,n){var r=n(37772);e.exports=function(){return r.Date.now()}},65798:function(e,t,n){var r=n(20256),i=n(82952),o=n(21401),s=n(33812);e.exports=function(e){return o(e)?r(s(e)):i(e)}},829:function(e,t,n){var r=n(62034),i=n(23813),o=n(36060),s=n(82406),a=o((function(e,t){if(null==e)return[];var n=t.length;return n>1&&s(e,t[0],t[1])?t=[]:n>2&&s(t[0],t[1],t[2])&&(t=[t[0]]),i(e,r(t,1),[])}));e.exports=a},30981:function(e){e.exports=function(){return[]}},36330:function(e){e.exports=function(){return!1}},12436:function(e,t,n){var r=n(54073),i=n(29259);e.exports=function(e,t,n){var o=!0,s=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return i(n)&&(o="leading"in n?!!n.leading:o,s="trailing"in n?!!n.trailing:s),r(e,t,{leading:o,maxWait:t,trailing:s})}},5707:function(e,t,n){var r=n(7642);e.exports=function(e){return e?Infinity===(e=r(e))||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}},38101:function(e,t,n){var r=n(5707);e.exports=function(e){var t=r(e),n=t%1;return t==t?n?t-n:t:0}},7642:function(e,t,n){var r=n(51704),i=n(29259),o=n(4795),s=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,u=/^0o[0-7]+$/i,l=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(o(e))return NaN;if(i(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=i(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=r(e);var n=a.test(e);return n||u.test(e)?l(e.slice(2),n?2:8):s.test(e)?NaN:+e}},66188:function(e,t,n){var r=n(1054);e.exports=function(e){return null==e?"":r(e)}},75652:function(e,t,n){var r=n(67326);e.exports=function(e){return e&&e.length?r(e):[]}},84636:function(e,t,n){var r=n(68286),i=n(67326);e.exports=function(e,t){return e&&e.length?i(e,r(t,2)):[]}},49599:function(e,t,n){var r=n(67326);e.exports=function(e,t){return t="function"==typeof t?t:void 0,e&&e.length?r(e,void 0,t):[]}},36631:function(e,t,n){"use strict";n.r(t);var r=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function i(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!((i=e[n])===(o=t[n])||r(i)&&r(o)))return!1;var i,o;return!0}t.default=function(e,t){var n;void 0===t&&(t=i);var r,o=[],s=!1;return function(){for(var i=[],a=0;a<arguments.length;a++)i[a]=arguments[a];return s&&n===this&&t(i,o)||(r=e.apply(this,i),s=!0,n=this,o=i),r}}},34752:function(e,t,n){var r=n(20345),i=/[\/\+\.]/;e.exports=function(e,t){function n(t){var n=r(t,e,i);return n&&n.length>=2}return t?n(t.split(";")[0]):n}},20345:function(e){"use strict";function t(e,t){this.text=e=e||"",this.hasWild=~e.indexOf("*"),this.separator=t,this.parts=e.split(t)}t.prototype.match=function(e){var t,n,r=!0,i=this.parts,o=i.length;if("string"==typeof e||e instanceof String)if(this.hasWild||this.text==e){for(n=(e||"").split(this.separator),t=0;r&&t<o;t++)"*"!==i[t]&&(r=t<n.length&&i[t]===n[t]);r=r&&n}else r=!1;else if("function"==typeof e.splice)for(r=[],t=e.length;t--;)this.match(e[t])&&(r[r.length]=e[t]);else if("object"==typeof e)for(var s in r={},e)this.match(s)&&(r[s]=e[s]);return r},e.exports=function(e,n,r){var i=new t(e,r||/[\/\.]/);return void 0!==n?i.match(n):i}},5450:function(e){e.exports=function(){var e={},t=e._fns={};return e.emit=function(e,n,r,i,o,s,a){var u=function(e){for(var n=t[e]?t[e]:[],r=e.indexOf(":"),i=-1===r?[e]:[e.substring(0,r),e.substring(r+1)],o=Object.keys(t),s=0,a=o.length;s<a;s++){var u=o[s];if("*"===u&&(n=n.concat(t[u])),2===i.length&&i[0]===u){n=n.concat(t[u]);break}}return n}(e);u.length&&function(e,t,n){for(var r=0,i=t.length;r<i&&t[r];r++)t[r].event=e,t[r].apply(t[r],n)}(e,u,[n,r,i,o,s,a])},e.on=function(e,n){t[e]||(t[e]=[]),t[e].push(n)},e.once=function(t,n){this.on(t,(function r(){n.apply(this,arguments),e.off(t,r)}))},e.off=function(e,t){var n=[];if(e&&t)for(var r=this._fns[e],i=0,o=r?r.length:0;i<o;i++)r[i]!==t&&n.push(r[i]);n.length?this._fns[e]=n:delete this._fns[e]},e}},84682:function(e,t,n){"use strict";function r(e){return e.toLowerCase()}n.d(t,{B:function(){return s}});var i=[/([a-z0-9])([A-Z])/g,/([A-Z])([A-Z][a-z])/g],o=/[^A-Z0-9]+/gi;function s(e,t){void 0===t&&(t={});for(var n=t.splitRegexp,s=void 0===n?i:n,u=t.stripRegexp,l=void 0===u?o:u,c=t.transform,f=void 0===c?r:c,h=t.delimiter,p=void 0===h?" ":h,d=a(a(e,s,"$1\0$2"),l,"\0"),m=0,g=d.length;"\0"===d.charAt(m);)m++;for(;"\0"===d.charAt(g-1);)g--;return d.slice(m,g).split("\0").map(f).join(p)}function a(e,t,n){return t instanceof RegExp?e.replace(t,n):t.reduce((function(e,t){return e.replace(t,n)}),e)}},34911:function(e,t,n){"use strict";var r=function(){if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if(void 0!==n.g)return n.g;throw new Error("unable to locate global object")}();e.exports=t=r.fetch,r.fetch&&(t.default=r.fetch.bind(r)),t.Headers=r.Headers,t.Request=r.Request,t.Response=r.Response},37320:function(e){"use strict";var t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,i){for(var o,s,a=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),u=1;u<arguments.length;u++){for(var l in o=Object(arguments[u]))n.call(o,l)&&(a[l]=o[l]);if(t){s=t(o);for(var c=0;c<s.length;c++)r.call(o,s[c])&&(a[s[c]]=o[s[c]])}}return a}},3096:function(e){e.exports=function e(t,n,r){function i(s,a){if(!n[s]){if(!t[s]){if(o)return o(s,!0);throw new Error("Cannot find module '"+s+"'")}var u=n[s]={exports:{}};t[s][0].call(u.exports,(function(e){return i(t[s][1][e]||e)}),u,u.exports,e,t,n,r)}return n[s].exports}for(var o=void 0,s=0;s<r.length;s++)i(r[s]);return i}({1:[function(e,t,n){(function(r,i,o,s,a,u,l,c,f){"use strict";var h=e("crypto");function p(e,t){return function(e,t){var n;if(void 0===(n="passthrough"!==t.algorithm?h.createHash(t.algorithm):new b).write&&(n.write=n.update,n.end=n.update),y(t,n).dispatch(e),n.update||n.end(""),n.digest)return n.digest("buffer"===t.encoding?void 0:t.encoding);var r=n.read();return"buffer"!==t.encoding?r.toString(t.encoding):r}(e,t=g(e,t))}(n=t.exports=p).sha1=function(e){return p(e)},n.keys=function(e){return p(e,{excludeValues:!0,algorithm:"sha1",encoding:"hex"})},n.MD5=function(e){return p(e,{algorithm:"md5",encoding:"hex"})},n.keysMD5=function(e){return p(e,{algorithm:"md5",encoding:"hex",excludeValues:!0})};var d=h.getHashes?h.getHashes().slice():["sha1","md5"];d.push("passthrough");var m=["buffer","hex","binary","base64"];function g(e,t){t=t||{};var n={};if(n.algorithm=t.algorithm||"sha1",n.encoding=t.encoding||"hex",n.excludeValues=!!t.excludeValues,n.algorithm=n.algorithm.toLowerCase(),n.encoding=n.encoding.toLowerCase(),n.ignoreUnknown=!0===t.ignoreUnknown,n.respectType=!1!==t.respectType,n.respectFunctionNames=!1!==t.respectFunctionNames,n.respectFunctionProperties=!1!==t.respectFunctionProperties,n.unorderedArrays=!0===t.unorderedArrays,n.unorderedSets=!1!==t.unorderedSets,n.unorderedObjects=!1!==t.unorderedObjects,n.replacer=t.replacer||void 0,n.excludeKeys=t.excludeKeys||void 0,void 0===e)throw new Error("Object argument required.");for(var r=0;r<d.length;++r)d[r].toLowerCase()===n.algorithm.toLowerCase()&&(n.algorithm=d[r]);if(-1===d.indexOf(n.algorithm))throw new Error('Algorithm "'+n.algorithm+'" not supported. supported values: '+d.join(", "));if(-1===m.indexOf(n.encoding)&&"passthrough"!==n.algorithm)throw new Error('Encoding "'+n.encoding+'" not supported. supported values: '+m.join(", "));return n}function v(e){if("function"==typeof e)return null!=/^function\s+\w*\s*\(\s*\)\s*{\s+\[native code\]\s+}$/i.exec(Function.prototype.toString.call(e))}function y(e,t,n){function r(e){return t.update?t.update(e,"utf8"):t.write(e,"utf8")}return n=n||[],{dispatch:function(t){return e.replacer&&(t=e.replacer(t)),this["_"+(null===t?"null":typeof t)](t)},_object:function(t){var i,s=Object.prototype.toString.call(t),a=/\[object (.*)\]/i.exec(s);if(a=(a=a?a[1]:"unknown:["+s+"]").toLowerCase(),0<=(i=n.indexOf(t)))return this.dispatch("[CIRCULAR:"+i+"]");if(n.push(t),void 0!==o&&o.isBuffer&&o.isBuffer(t))return r("buffer:"),r(t);if("object"===a||"function"===a||"asyncfunction"===a){var u=Object.keys(t);e.unorderedObjects&&(u=u.sort()),!1===e.respectType||v(t)||u.splice(0,0,"prototype","__proto__","constructor"),e.excludeKeys&&(u=u.filter((function(t){return!e.excludeKeys(t)}))),r("object:"+u.length+":");var l=this;return u.forEach((function(n){l.dispatch(n),r(":"),e.excludeValues||l.dispatch(t[n]),r(",")}))}if(!this["_"+a]){if(e.ignoreUnknown)return r("["+a+"]");throw new Error('Unknown object type "'+a+'"')}this["_"+a](t)},_array:function(t,i){i=void 0!==i?i:!1!==e.unorderedArrays;var o=this;if(r("array:"+t.length+":"),!i||t.length<=1)return t.forEach((function(e){return o.dispatch(e)}));var s=[],a=t.map((function(t){var r=new b,i=n.slice();return y(e,r,i).dispatch(t),s=s.concat(i.slice(n.length)),r.read().toString()}));return n=n.concat(s),a.sort(),this._array(a,!1)},_date:function(e){return r("date:"+e.toJSON())},_symbol:function(e){return r("symbol:"+e.toString())},_error:function(e){return r("error:"+e.toString())},_boolean:function(e){return r("bool:"+e.toString())},_string:function(e){r("string:"+e.length+":"),r(e.toString())},_function:function(t){r("fn:"),v(t)?this.dispatch("[native]"):this.dispatch(t.toString()),!1!==e.respectFunctionNames&&this.dispatch("function-name:"+String(t.name)),e.respectFunctionProperties&&this._object(t)},_number:function(e){return r("number:"+e.toString())},_xml:function(e){return r("xml:"+e.toString())},_null:function(){return r("Null")},_undefined:function(){return r("Undefined")},_regexp:function(e){return r("regex:"+e.toString())},_uint8array:function(e){return r("uint8array:"),this.dispatch(Array.prototype.slice.call(e))},_uint8clampedarray:function(e){return r("uint8clampedarray:"),this.dispatch(Array.prototype.slice.call(e))},_int8array:function(e){return r("uint8array:"),this.dispatch(Array.prototype.slice.call(e))},_uint16array:function(e){return r("uint16array:"),this.dispatch(Array.prototype.slice.call(e))},_int16array:function(e){return r("uint16array:"),this.dispatch(Array.prototype.slice.call(e))},_uint32array:function(e){return r("uint32array:"),this.dispatch(Array.prototype.slice.call(e))},_int32array:function(e){return r("uint32array:"),this.dispatch(Array.prototype.slice.call(e))},_float32array:function(e){return r("float32array:"),this.dispatch(Array.prototype.slice.call(e))},_float64array:function(e){return r("float64array:"),this.dispatch(Array.prototype.slice.call(e))},_arraybuffer:function(e){return r("arraybuffer:"),this.dispatch(new Uint8Array(e))},_url:function(e){return r("url:"+e.toString())},_map:function(t){r("map:");var n=Array.from(t);return this._array(n,!1!==e.unorderedSets)},_set:function(t){r("set:");var n=Array.from(t);return this._array(n,!1!==e.unorderedSets)},_file:function(e){return r("file:"),this.dispatch([e.name,e.size,e.type,e.lastModfied])},_blob:function(){if(e.ignoreUnknown)return r("[blob]");throw Error('Hashing Blob objects is currently not supported\n(see https://github.com/puleos/object-hash/issues/26)\nUse "options.replacer" or "options.ignoreUnknown"\n')},_domwindow:function(){return r("domwindow")},_bigint:function(e){return r("bigint:"+e.toString())},_process:function(){return r("process")},_timer:function(){return r("timer")},_pipe:function(){return r("pipe")},_tcp:function(){return r("tcp")},_udp:function(){return r("udp")},_tty:function(){return r("tty")},_statwatcher:function(){return r("statwatcher")},_securecontext:function(){return r("securecontext")},_connection:function(){return r("connection")},_zlib:function(){return r("zlib")},_context:function(){return r("context")},_nodescript:function(){return r("nodescript")},_httpparser:function(){return r("httpparser")},_dataview:function(){return r("dataview")},_signal:function(){return r("signal")},_fsevent:function(){return r("fsevent")},_tlswrap:function(){return r("tlswrap")}}}function b(){return{buf:"",write:function(e){this.buf+=e},end:function(e){this.buf+=e},read:function(){return this.buf}}}n.writeToStream=function(e,t,n){return void 0===n&&(n=t,t={}),y(t=g(e,t),n).dispatch(e)}}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/fake_7eac155c.js","/")},{buffer:3,crypto:5,lYpoI2:10}],2:[function(e,t,n){(function(e,t,r,i,o,s,a,u,l){!function(e){"use strict";var t="undefined"!=typeof Uint8Array?Uint8Array:Array,n="+".charCodeAt(0),r="/".charCodeAt(0),i="0".charCodeAt(0),o="a".charCodeAt(0),s="A".charCodeAt(0),a="-".charCodeAt(0),u="_".charCodeAt(0);function l(e){var t=e.charCodeAt(0);return t===n||t===a?62:t===r||t===u?63:t<i?-1:t<i+10?t-i+26+26:t<s+26?t-s:t<o+26?t-o+26:void 0}e.toByteArray=function(e){var n,r;if(0<e.length%4)throw new Error("Invalid string. Length must be a multiple of 4");var i=e.length,o="="===e.charAt(i-2)?2:"="===e.charAt(i-1)?1:0,s=new t(3*e.length/4-o),a=0<o?e.length-4:e.length,u=0;function c(e){s[u++]=e}for(n=0;n<a;n+=4,0)c((16711680&(r=l(e.charAt(n))<<18|l(e.charAt(n+1))<<12|l(e.charAt(n+2))<<6|l(e.charAt(n+3))))>>16),c((65280&r)>>8),c(255&r);return 2==o?c(255&(r=l(e.charAt(n))<<2|l(e.charAt(n+1))>>4)):1==o&&(c((r=l(e.charAt(n))<<10|l(e.charAt(n+1))<<4|l(e.charAt(n+2))>>2)>>8&255),c(255&r)),s},e.fromByteArray=function(e){var t,n,r,i,o=e.length%3,s="";function a(e){return"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(e)}for(t=0,r=e.length-o;t<r;t+=3)s+=a((i=n=(e[t]<<16)+(e[t+1]<<8)+e[t+2])>>18&63)+a(i>>12&63)+a(i>>6&63)+a(63&i);switch(o){case 1:s+=a((n=e[e.length-1])>>2),s+=a(n<<4&63),s+="==";break;case 2:s+=a((n=(e[e.length-2]<<8)+e[e.length-1])>>10),s+=a(n>>4&63),s+=a(n<<2&63),s+="="}return s}}(void 0===n?this.base64js={}:n)}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/base64-js/lib/b64.js","/node_modules/gulp-browserify/node_modules/base64-js/lib")},{buffer:3,lYpoI2:10}],3:[function(e,t,n){(function(t,r,i,o,s,a,u,l,c){var f=e("base64-js"),h=e("ieee754");function i(e,t,n){if(!(this instanceof i))return new i(e,t,n);var r,o,s,a,u,l=typeof e;if("base64"===t&&"string"==l)for(e=(r=e).trim?r.trim():r.replace(/^\s+|\s+$/g,"");e.length%4!=0;)e+="=";if("number"==l)o=C(e);else if("string"==l)o=i.byteLength(e,t);else{if("object"!=l)throw new Error("First argument needs to be a number, array or string.");o=C(e.length)}if(i._useTypedArrays?s=i._augment(new Uint8Array(o)):((s=this).length=o,s._isBuffer=!0),i._useTypedArrays&&"number"==typeof e.byteLength)s._set(e);else if(O(u=e)||i.isBuffer(u)||u&&"object"==typeof u&&"number"==typeof u.length)for(a=0;a<o;a++)i.isBuffer(e)?s[a]=e.readUInt8(a):s[a]=e[a];else if("string"==l)s.write(e,0,t);else if("number"==l&&!i._useTypedArrays&&!n)for(a=0;a<o;a++)s[a]=0;return s}function p(e,t,n,r){r||(U("boolean"==typeof n,"missing or invalid endian"),U(null!=t,"missing offset"),U(t+1<e.length,"Trying to read beyond buffer length"));var i,o=e.length;if(!(o<=t))return n?(i=e[t],t+1<o&&(i|=e[t+1]<<8)):(i=e[t]<<8,t+1<o&&(i|=e[t+1])),i}function d(e,t,n,r){r||(U("boolean"==typeof n,"missing or invalid endian"),U(null!=t,"missing offset"),U(t+3<e.length,"Trying to read beyond buffer length"));var i,o=e.length;if(!(o<=t))return n?(t+2<o&&(i=e[t+2]<<16),t+1<o&&(i|=e[t+1]<<8),i|=e[t],t+3<o&&(i+=e[t+3]<<24>>>0)):(t+1<o&&(i=e[t+1]<<16),t+2<o&&(i|=e[t+2]<<8),t+3<o&&(i|=e[t+3]),i+=e[t]<<24>>>0),i}function m(e,t,n,r){if(r||(U("boolean"==typeof n,"missing or invalid endian"),U(null!=t,"missing offset"),U(t+1<e.length,"Trying to read beyond buffer length")),!(e.length<=t)){var i=p(e,t,n,!0);return 32768&i?-1*(65535-i+1):i}}function g(e,t,n,r){if(r||(U("boolean"==typeof n,"missing or invalid endian"),U(null!=t,"missing offset"),U(t+3<e.length,"Trying to read beyond buffer length")),!(e.length<=t)){var i=d(e,t,n,!0);return 2147483648&i?-1*(4294967295-i+1):i}}function v(e,t,n,r){return r||(U("boolean"==typeof n,"missing or invalid endian"),U(t+3<e.length,"Trying to read beyond buffer length")),h.read(e,t,n,23,4)}function y(e,t,n,r){return r||(U("boolean"==typeof n,"missing or invalid endian"),U(t+7<e.length,"Trying to read beyond buffer length")),h.read(e,t,n,52,8)}function b(e,t,n,r,i){i||(U(null!=t,"missing value"),U("boolean"==typeof r,"missing or invalid endian"),U(null!=n,"missing offset"),U(n+1<e.length,"trying to write beyond buffer length"),M(t,65535));var o=e.length;if(!(o<=n))for(var s=0,a=Math.min(o-n,2);s<a;s++)e[n+s]=(t&255<<8*(r?s:1-s))>>>8*(r?s:1-s)}function w(e,t,n,r,i){i||(U(null!=t,"missing value"),U("boolean"==typeof r,"missing or invalid endian"),U(null!=n,"missing offset"),U(n+3<e.length,"trying to write beyond buffer length"),M(t,4294967295));var o=e.length;if(!(o<=n))for(var s=0,a=Math.min(o-n,4);s<a;s++)e[n+s]=t>>>8*(r?s:3-s)&255}function _(e,t,n,r,i){i||(U(null!=t,"missing value"),U("boolean"==typeof r,"missing or invalid endian"),U(null!=n,"missing offset"),U(n+1<e.length,"Trying to write beyond buffer length"),N(t,32767,-32768)),e.length<=n||b(e,0<=t?t:65535+t+1,n,r,i)}function S(e,t,n,r,i){i||(U(null!=t,"missing value"),U("boolean"==typeof r,"missing or invalid endian"),U(null!=n,"missing offset"),U(n+3<e.length,"Trying to write beyond buffer length"),N(t,2147483647,-2147483648)),e.length<=n||w(e,0<=t?t:4294967295+t+1,n,r,i)}function x(e,t,n,r,i){i||(U(null!=t,"missing value"),U("boolean"==typeof r,"missing or invalid endian"),U(null!=n,"missing offset"),U(n+3<e.length,"Trying to write beyond buffer length"),L(t,34028234663852886e22,-34028234663852886e22)),e.length<=n||h.write(e,t,n,r,23,4)}function E(e,t,n,r,i){i||(U(null!=t,"missing value"),U("boolean"==typeof r,"missing or invalid endian"),U(null!=n,"missing offset"),U(n+7<e.length,"Trying to write beyond buffer length"),L(t,17976931348623157e292,-17976931348623157e292)),e.length<=n||h.write(e,t,n,r,52,8)}n.Buffer=i,n.SlowBuffer=i,n.INSPECT_MAX_BYTES=50,i.poolSize=8192,i._useTypedArrays=function(){try{var e=new ArrayBuffer(0),t=new Uint8Array(e);return t.foo=function(){return 42},42===t.foo()&&"function"==typeof t.subarray}catch(e){return!1}}(),i.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"raw":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},i.isBuffer=function(e){return!(null==e||!e._isBuffer)},i.byteLength=function(e,t){var n;switch(e+="",t||"utf8"){case"hex":n=e.length/2;break;case"utf8":case"utf-8":n=A(e).length;break;case"ascii":case"binary":case"raw":n=e.length;break;case"base64":n=F(e).length;break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":n=2*e.length;break;default:throw new Error("Unknown encoding")}return n},i.concat=function(e,t){if(U(O(e),"Usage: Buffer.concat(list, [totalLength])\nlist should be an Array."),0===e.length)return new i(0);if(1===e.length)return e[0];if("number"!=typeof t)for(o=t=0;o<e.length;o++)t+=e[o].length;for(var n=new i(t),r=0,o=0;o<e.length;o++){var s=e[o];s.copy(n,r),r+=s.length}return n},i.prototype.write=function(e,t,n,r){var o;isFinite(t)?isFinite(n)||(r=n,n=void 0):(o=r,r=t,t=n,n=o),t=Number(t)||0;var s,a,u,l,c,f,h,p=this.length-t;switch((!n||p<(n=Number(n)))&&(n=p),r=String(r||"utf8").toLowerCase()){case"hex":s=function(e,t,n,r){n=Number(n)||0;var o=e.length-n;(!r||o<(r=Number(r)))&&(r=o);var s=t.length;U(s%2==0,"Invalid hex string"),s/2<r&&(r=s/2);for(var a=0;a<r;a++){var u=parseInt(t.substr(2*a,2),16);U(!isNaN(u),"Invalid hex string"),e[n+a]=u}return i._charsWritten=2*a,a}(this,e,t,n);break;case"utf8":case"utf-8":this,c=e,f=t,h=n,s=i._charsWritten=I(A(c),this,f,h);break;case"ascii":case"binary":s=function(e,t,n,r){return i._charsWritten=I(function(e){for(var t=[],n=0;n<e.length;n++)t.push(255&e.charCodeAt(n));return t}(t),e,n,r)}(this,e,t,n);break;case"base64":this,a=e,u=t,l=n,s=i._charsWritten=I(F(a),this,u,l);break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":s=function(e,t,n,r){return i._charsWritten=I(function(e){for(var t,n,r,i=[],o=0;o<e.length;o++)n=(t=e.charCodeAt(o))>>8,r=t%256,i.push(r),i.push(n);return i}(t),e,n,r)}(this,e,t,n);break;default:throw new Error("Unknown encoding")}return s},i.prototype.toString=function(e,t,n){var r,i,o,s,a=this;if(e=String(e||"utf8").toLowerCase(),t=Number(t)||0,(n=void 0!==n?Number(n):n=a.length)===t)return"";switch(e){case"hex":r=function(e,t,n){var r=e.length;(!t||t<0)&&(t=0),(!n||n<0||r<n)&&(n=r);for(var i="",o=t;o<n;o++)i+=T(e[o]);return i}(a,t,n);break;case"utf8":case"utf-8":r=function(e,t,n){var r="",i="";n=Math.min(e.length,n);for(var o=t;o<n;o++)e[o]<=127?(r+=R(i)+String.fromCharCode(e[o]),i=""):i+="%"+e[o].toString(16);return r+R(i)}(a,t,n);break;case"ascii":case"binary":r=function(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;i<n;i++)r+=String.fromCharCode(e[i]);return r}(a,t,n);break;case"base64":i=a,s=n,r=0===(o=t)&&s===i.length?f.fromByteArray(i):f.fromByteArray(i.slice(o,s));break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":r=function(e,t,n){for(var r=e.slice(t,n),i="",o=0;o<r.length;o+=2)i+=String.fromCharCode(r[o]+256*r[o+1]);return i}(a,t,n);break;default:throw new Error("Unknown encoding")}return r},i.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},i.prototype.copy=function(e,t,n,r){if(n=n||0,r||0===r||(r=this.length),t=t||0,r!==n&&0!==e.length&&0!==this.length){U(n<=r,"sourceEnd < sourceStart"),U(0<=t&&t<e.length,"targetStart out of bounds"),U(0<=n&&n<this.length,"sourceStart out of bounds"),U(0<=r&&r<=this.length,"sourceEnd out of bounds"),r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);var o=r-n;if(o<100||!i._useTypedArrays)for(var s=0;s<o;s++)e[s+t]=this[s+n];else e._set(this.subarray(n,n+o),t)}},i.prototype.slice=function(e,t){var n=this.length;if(e=P(e,n,0),t=P(t,n,n),i._useTypedArrays)return i._augment(this.subarray(e,t));for(var r=t-e,o=new i(r,void 0,!0),s=0;s<r;s++)o[s]=this[s+e];return o},i.prototype.get=function(e){return console.log(".get() is deprecated. Access using array indexes instead."),this.readUInt8(e)},i.prototype.set=function(e,t){return console.log(".set() is deprecated. Access using array indexes instead."),this.writeUInt8(e,t)},i.prototype.readUInt8=function(e,t){if(t||(U(null!=e,"missing offset"),U(e<this.length,"Trying to read beyond buffer length")),!(e>=this.length))return this[e]},i.prototype.readUInt16LE=function(e,t){return p(this,e,!0,t)},i.prototype.readUInt16BE=function(e,t){return p(this,e,!1,t)},i.prototype.readUInt32LE=function(e,t){return d(this,e,!0,t)},i.prototype.readUInt32BE=function(e,t){return d(this,e,!1,t)},i.prototype.readInt8=function(e,t){if(t||(U(null!=e,"missing offset"),U(e<this.length,"Trying to read beyond buffer length")),!(e>=this.length))return 128&this[e]?-1*(255-this[e]+1):this[e]},i.prototype.readInt16LE=function(e,t){return m(this,e,!0,t)},i.prototype.readInt16BE=function(e,t){return m(this,e,!1,t)},i.prototype.readInt32LE=function(e,t){return g(this,e,!0,t)},i.prototype.readInt32BE=function(e,t){return g(this,e,!1,t)},i.prototype.readFloatLE=function(e,t){return v(this,e,!0,t)},i.prototype.readFloatBE=function(e,t){return v(this,e,!1,t)},i.prototype.readDoubleLE=function(e,t){return y(this,e,!0,t)},i.prototype.readDoubleBE=function(e,t){return y(this,e,!1,t)},i.prototype.writeUInt8=function(e,t,n){n||(U(null!=e,"missing value"),U(null!=t,"missing offset"),U(t<this.length,"trying to write beyond buffer length"),M(e,255)),t>=this.length||(this[t]=e)},i.prototype.writeUInt16LE=function(e,t,n){b(this,e,t,!0,n)},i.prototype.writeUInt16BE=function(e,t,n){b(this,e,t,!1,n)},i.prototype.writeUInt32LE=function(e,t,n){w(this,e,t,!0,n)},i.prototype.writeUInt32BE=function(e,t,n){w(this,e,t,!1,n)},i.prototype.writeInt8=function(e,t,n){n||(U(null!=e,"missing value"),U(null!=t,"missing offset"),U(t<this.length,"Trying to write beyond buffer length"),N(e,127,-128)),t>=this.length||(0<=e?this.writeUInt8(e,t,n):this.writeUInt8(255+e+1,t,n))},i.prototype.writeInt16LE=function(e,t,n){_(this,e,t,!0,n)},i.prototype.writeInt16BE=function(e,t,n){_(this,e,t,!1,n)},i.prototype.writeInt32LE=function(e,t,n){S(this,e,t,!0,n)},i.prototype.writeInt32BE=function(e,t,n){S(this,e,t,!1,n)},i.prototype.writeFloatLE=function(e,t,n){x(this,e,t,!0,n)},i.prototype.writeFloatBE=function(e,t,n){x(this,e,t,!1,n)},i.prototype.writeDoubleLE=function(e,t,n){E(this,e,t,!0,n)},i.prototype.writeDoubleBE=function(e,t,n){E(this,e,t,!1,n)},i.prototype.fill=function(e,t,n){if(e=e||0,t=t||0,n=n||this.length,"string"==typeof e&&(e=e.charCodeAt(0)),U("number"==typeof e&&!isNaN(e),"value is not a number"),U(t<=n,"end < start"),n!==t&&0!==this.length){U(0<=t&&t<this.length,"start out of bounds"),U(0<=n&&n<=this.length,"end out of bounds");for(var r=t;r<n;r++)this[r]=e}},i.prototype.inspect=function(){for(var e=[],t=this.length,r=0;r<t;r++)if(e[r]=T(this[r]),r===n.INSPECT_MAX_BYTES){e[r+1]="...";break}return"<Buffer "+e.join(" ")+">"},i.prototype.toArrayBuffer=function(){if("undefined"==typeof Uint8Array)throw new Error("Buffer.toArrayBuffer not supported in this browser");if(i._useTypedArrays)return new i(this).buffer;for(var e=new Uint8Array(this.length),t=0,n=e.length;t<n;t+=1)e[t]=this[t];return e.buffer};var k=i.prototype;function P(e,t,n){return"number"!=typeof e?n:t<=(e=~~e)?t:0<=e||0<=(e+=t)?e:0}function C(e){return(e=~~Math.ceil(+e))<0?0:e}function O(e){return(Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)})(e)}function T(e){return e<16?"0"+e.toString(16):e.toString(16)}function A(e){for(var t=[],n=0;n<e.length;n++){var r=e.charCodeAt(n);if(r<=127)t.push(e.charCodeAt(n));else{var i=n;55296<=r&&r<=57343&&n++;for(var o=encodeURIComponent(e.slice(i,n+1)).substr(1).split("%"),s=0;s<o.length;s++)t.push(parseInt(o[s],16))}}return t}function F(e){return f.toByteArray(e)}function I(e,t,n,r){for(var i=0;i<r&&!(i+n>=t.length||i>=e.length);i++)t[i+n]=e[i];return i}function R(e){try{return decodeURIComponent(e)}catch(e){return String.fromCharCode(65533)}}function M(e,t){U("number"==typeof e,"cannot write a non-number as a number"),U(0<=e,"specified a negative value for writing an unsigned value"),U(e<=t,"value is larger than maximum value for type"),U(Math.floor(e)===e,"value has a fractional component")}function N(e,t,n){U("number"==typeof e,"cannot write a non-number as a number"),U(e<=t,"value larger than maximum allowed value"),U(n<=e,"value smaller than minimum allowed value"),U(Math.floor(e)===e,"value has a fractional component")}function L(e,t,n){U("number"==typeof e,"cannot write a non-number as a number"),U(e<=t,"value larger than maximum allowed value"),U(n<=e,"value smaller than minimum allowed value")}function U(e,t){if(!e)throw new Error(t||"Failed assertion")}i._augment=function(e){return e._isBuffer=!0,e._get=e.get,e._set=e.set,e.get=k.get,e.set=k.set,e.write=k.write,e.toString=k.toString,e.toLocaleString=k.toString,e.toJSON=k.toJSON,e.copy=k.copy,e.slice=k.slice,e.readUInt8=k.readUInt8,e.readUInt16LE=k.readUInt16LE,e.readUInt16BE=k.readUInt16BE,e.readUInt32LE=k.readUInt32LE,e.readUInt32BE=k.readUInt32BE,e.readInt8=k.readInt8,e.readInt16LE=k.readInt16LE,e.readInt16BE=k.readInt16BE,e.readInt32LE=k.readInt32LE,e.readInt32BE=k.readInt32BE,e.readFloatLE=k.readFloatLE,e.readFloatBE=k.readFloatBE,e.readDoubleLE=k.readDoubleLE,e.readDoubleBE=k.readDoubleBE,e.writeUInt8=k.writeUInt8,e.writeUInt16LE=k.writeUInt16LE,e.writeUInt16BE=k.writeUInt16BE,e.writeUInt32LE=k.writeUInt32LE,e.writeUInt32BE=k.writeUInt32BE,e.writeInt8=k.writeInt8,e.writeInt16LE=k.writeInt16LE,e.writeInt16BE=k.writeInt16BE,e.writeInt32LE=k.writeInt32LE,e.writeInt32BE=k.writeInt32BE,e.writeFloatLE=k.writeFloatLE,e.writeFloatBE=k.writeFloatBE,e.writeDoubleLE=k.writeDoubleLE,e.writeDoubleBE=k.writeDoubleBE,e.fill=k.fill,e.inspect=k.inspect,e.toArrayBuffer=k.toArrayBuffer,e}}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/buffer/index.js","/node_modules/gulp-browserify/node_modules/buffer")},{"base64-js":2,buffer:3,ieee754:11,lYpoI2:10}],4:[function(e,t,n){(function(n,r,i,o,s,a,u,l,c){i=e("buffer").Buffer;var f=new i(4);f.fill(0),t.exports={hash:function(e,t,n,r){return i.isBuffer(e)||(e=new i(e)),function(e,t,n){for(var r=new i(t),o=n?r.writeInt32BE:r.writeInt32LE,s=0;s<e.length;s++)o.call(r,e[s],4*s,!0);return r}(t(function(e,t){var n;e.length%4!=0&&(n=e.length+(4-e.length%4),e=i.concat([e,f],n));for(var r=[],o=t?e.readInt32BE:e.readInt32LE,s=0;s<e.length;s+=4)r.push(o.call(e,s));return r}(e,r),8*e.length),n,r)}}}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/helpers.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{buffer:3,lYpoI2:10}],5:[function(e,t,n){(function(t,r,i,o,s,a,u,l,c){i=e("buffer").Buffer;var f=e("./sha"),h=e("./sha256"),p=e("./rng"),d={sha1:f,sha256:h,md5:e("./md5")},m=64,g=new i(m);function v(e,t){var n=d[e=e||"sha1"],r=[];return n||y("algorithm:",e,"is not yet supported"),{update:function(e){return i.isBuffer(e)||(e=new i(e)),r.push(e),e.length,this},digest:function(e){var o=i.concat(r),s=t?function(e,t,n){i.isBuffer(t)||(t=new i(t)),i.isBuffer(n)||(n=new i(n)),t.length>m?t=e(t):t.length<m&&(t=i.concat([t,g],m));for(var r=new i(m),o=new i(m),s=0;s<m;s++)r[s]=54^t[s],o[s]=92^t[s];var a=e(i.concat([r,n]));return e(i.concat([o,a]))}(n,t,o):n(o);return r=null,e?s.toString(e):s}}}function y(){var e=[].slice.call(arguments).join(" ");throw new Error([e,"we accept pull requests","http://github.com/dominictarr/crypto-browserify"].join("\n"))}g.fill(0),n.createHash=function(e){return v(e)},n.createHmac=v,n.randomBytes=function(e,t){if(!t||!t.call)return new i(p(e));try{t.call(this,void 0,new i(p(e)))}catch(e){t(e)}},function(e,t){for(var n in e)t(e[n])}(["createCredentials","createCipher","createCipheriv","createDecipher","createDecipheriv","createSign","createVerify","createDiffieHellman","pbkdf2"],(function(e){n[e]=function(){y("sorry,",e,"is not implemented yet")}}))}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/index.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{"./md5":6,"./rng":7,"./sha":8,"./sha256":9,buffer:3,lYpoI2:10}],6:[function(e,t,n){(function(n,r,i,o,s,a,u,l,c){var f=e("./helpers");function h(e,t){e[t>>5]|=128<<t%32,e[14+(t+64>>>9<<4)]=t;for(var n=1732584193,r=-271733879,i=-1732584194,o=271733878,s=0;s<e.length;s+=16){var a=n,u=r,l=i,c=o;n=d(n,r,i,o,e[s+0],7,-680876936),o=d(o,n,r,i,e[s+1],12,-389564586),i=d(i,o,n,r,e[s+2],17,606105819),r=d(r,i,o,n,e[s+3],22,-1044525330),n=d(n,r,i,o,e[s+4],7,-176418897),o=d(o,n,r,i,e[s+5],12,1200080426),i=d(i,o,n,r,e[s+6],17,-1473231341),r=d(r,i,o,n,e[s+7],22,-45705983),n=d(n,r,i,o,e[s+8],7,1770035416),o=d(o,n,r,i,e[s+9],12,-1958414417),i=d(i,o,n,r,e[s+10],17,-42063),r=d(r,i,o,n,e[s+11],22,-1990404162),n=d(n,r,i,o,e[s+12],7,1804603682),o=d(o,n,r,i,e[s+13],12,-40341101),i=d(i,o,n,r,e[s+14],17,-1502002290),n=m(n,r=d(r,i,o,n,e[s+15],22,1236535329),i,o,e[s+1],5,-165796510),o=m(o,n,r,i,e[s+6],9,-1069501632),i=m(i,o,n,r,e[s+11],14,643717713),r=m(r,i,o,n,e[s+0],20,-373897302),n=m(n,r,i,o,e[s+5],5,-701558691),o=m(o,n,r,i,e[s+10],9,38016083),i=m(i,o,n,r,e[s+15],14,-660478335),r=m(r,i,o,n,e[s+4],20,-405537848),n=m(n,r,i,o,e[s+9],5,568446438),o=m(o,n,r,i,e[s+14],9,-1019803690),i=m(i,o,n,r,e[s+3],14,-187363961),r=m(r,i,o,n,e[s+8],20,1163531501),n=m(n,r,i,o,e[s+13],5,-1444681467),o=m(o,n,r,i,e[s+2],9,-51403784),i=m(i,o,n,r,e[s+7],14,1735328473),n=g(n,r=m(r,i,o,n,e[s+12],20,-1926607734),i,o,e[s+5],4,-378558),o=g(o,n,r,i,e[s+8],11,-2022574463),i=g(i,o,n,r,e[s+11],16,1839030562),r=g(r,i,o,n,e[s+14],23,-35309556),n=g(n,r,i,o,e[s+1],4,-1530992060),o=g(o,n,r,i,e[s+4],11,1272893353),i=g(i,o,n,r,e[s+7],16,-155497632),r=g(r,i,o,n,e[s+10],23,-1094730640),n=g(n,r,i,o,e[s+13],4,681279174),o=g(o,n,r,i,e[s+0],11,-358537222),i=g(i,o,n,r,e[s+3],16,-722521979),r=g(r,i,o,n,e[s+6],23,76029189),n=g(n,r,i,o,e[s+9],4,-640364487),o=g(o,n,r,i,e[s+12],11,-421815835),i=g(i,o,n,r,e[s+15],16,530742520),n=v(n,r=g(r,i,o,n,e[s+2],23,-995338651),i,o,e[s+0],6,-198630844),o=v(o,n,r,i,e[s+7],10,1126891415),i=v(i,o,n,r,e[s+14],15,-1416354905),r=v(r,i,o,n,e[s+5],21,-57434055),n=v(n,r,i,o,e[s+12],6,1700485571),o=v(o,n,r,i,e[s+3],10,-1894986606),i=v(i,o,n,r,e[s+10],15,-1051523),r=v(r,i,o,n,e[s+1],21,-2054922799),n=v(n,r,i,o,e[s+8],6,1873313359),o=v(o,n,r,i,e[s+15],10,-30611744),i=v(i,o,n,r,e[s+6],15,-1560198380),r=v(r,i,o,n,e[s+13],21,1309151649),n=v(n,r,i,o,e[s+4],6,-145523070),o=v(o,n,r,i,e[s+11],10,-1120210379),i=v(i,o,n,r,e[s+2],15,718787259),r=v(r,i,o,n,e[s+9],21,-343485551),n=y(n,a),r=y(r,u),i=y(i,l),o=y(o,c)}return Array(n,r,i,o)}function p(e,t,n,r,i,o){return y((s=y(y(t,e),y(r,o)))<<(a=i)|s>>>32-a,n);var s,a}function d(e,t,n,r,i,o,s){return p(t&n|~t&r,e,t,i,o,s)}function m(e,t,n,r,i,o,s){return p(t&r|n&~r,e,t,i,o,s)}function g(e,t,n,r,i,o,s){return p(t^n^r,e,t,i,o,s)}function v(e,t,n,r,i,o,s){return p(n^(t|~r),e,t,i,o,s)}function y(e,t){var n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n}t.exports=function(e){return f.hash(e,h,16)}}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/md5.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{"./helpers":4,buffer:3,lYpoI2:10}],7:[function(e,t,n){(function(e,n,r,i,o,s,a,u,l){var c;c=function(e){for(var t,n=new Array(e),r=0;r<e;r++)0==(3&r)&&(t=4294967296*Math.random()),n[r]=t>>>((3&r)<<3)&255;return n},t.exports=c}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/rng.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{buffer:3,lYpoI2:10}],8:[function(e,t,n){(function(n,r,i,o,s,a,u,l,c){var f=e("./helpers");function h(e,t){e[t>>5]|=128<<24-t%32,e[15+(t+64>>9<<4)]=t;for(var n,r,i,o,s,a=Array(80),u=1732584193,l=-271733879,c=-1732584194,f=271733878,h=-1009589776,m=0;m<e.length;m+=16){for(var g=u,v=l,y=c,b=f,w=h,_=0;_<80;_++){a[_]=_<16?e[m+_]:d(a[_-3]^a[_-8]^a[_-14]^a[_-16],1);var S=p(p(d(u,5),(i=l,o=c,s=f,(r=_)<20?i&o|~i&s:!(r<40)&&r<60?i&o|i&s|o&s:i^o^s)),p(p(h,a[_]),(n=_)<20?1518500249:n<40?1859775393:n<60?-1894007588:-899497514));h=f,f=c,c=d(l,30),l=u,u=S}u=p(u,g),l=p(l,v),c=p(c,y),f=p(f,b),h=p(h,w)}return Array(u,l,c,f,h)}function p(e,t){var n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n}function d(e,t){return e<<t|e>>>32-t}t.exports=function(e){return f.hash(e,h,20,!0)}}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/sha.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{"./helpers":4,buffer:3,lYpoI2:10}],9:[function(e,t,n){(function(n,r,i,o,s,a,u,l,c){function f(e,t){var n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n}function h(e,t){return e>>>t|e<<32-t}function p(e,t){var n,r,i,o,s,a,u,l,c,p,d=new Array(1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298),m=new Array(1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225),g=new Array(64);e[t>>5]|=128<<24-t%32,e[15+(t+64>>9<<4)]=t;for(var v,y,b,w,_,S,x,E,k=0;k<e.length;k+=16){n=m[0],r=m[1],i=m[2],o=m[3],s=m[4],a=m[5],u=m[6],l=m[7];for(var P=0;P<64;P++)g[P]=P<16?e[P+k]:f(f(f(h(E=g[P-2],17)^h(E,19)^E>>>10,g[P-7]),h(x=g[P-15],7)^h(x,18)^x>>>3),g[P-16]),c=f(f(f(f(l,h(S=s,6)^h(S,11)^h(S,25)),(_=s)&a^~_&u),d[P]),g[P]),p=f(h(w=n,2)^h(w,13)^h(w,22),(v=n)&(y=r)^v&(b=i)^y&b),l=u,u=a,a=s,s=f(o,c),o=i,i=r,r=n,n=f(c,p);m[0]=f(n,m[0]),m[1]=f(r,m[1]),m[2]=f(i,m[2]),m[3]=f(o,m[3]),m[4]=f(s,m[4]),m[5]=f(a,m[5]),m[6]=f(u,m[6]),m[7]=f(l,m[7])}return m}var d=e("./helpers");t.exports=function(e){return d.hash(e,p,32,!0)}}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/sha256.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{"./helpers":4,buffer:3,lYpoI2:10}],10:[function(e,t,n){(function(e,n,r,i,o,s,a,u,l){function c(){}(e=t.exports={}).nextTick=function(){var e="undefined"!=typeof window&&window.setImmediate,t="undefined"!=typeof window&&window.postMessage&&window.addEventListener;if(e)return function(e){return window.setImmediate(e)};if(t){var n=[];return window.addEventListener("message",(function(e){var t=e.source;t!==window&&null!==t||"process-tick"!==e.data||(e.stopPropagation(),0<n.length&&n.shift()())}),!0),function(e){n.push(e),window.postMessage("process-tick","*")}}return function(e){setTimeout(e,0)}}(),e.title="browser",e.browser=!0,e.env={},e.argv=[],e.on=c,e.addListener=c,e.once=c,e.off=c,e.removeListener=c,e.removeAllListeners=c,e.emit=c,e.binding=function(e){throw new Error("process.binding is not supported")},e.cwd=function(){return"/"},e.chdir=function(e){throw new Error("process.chdir is not supported")}}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/process/browser.js","/node_modules/gulp-browserify/node_modules/process")},{buffer:3,lYpoI2:10}],11:[function(e,t,n){(function(e,t,r,i,o,s,a,u,l){n.read=function(e,t,n,r,i){var o,s,a=8*i-r-1,u=(1<<a)-1,l=u>>1,c=-7,f=n?i-1:0,h=n?-1:1,p=e[t+f];for(f+=h,o=p&(1<<-c)-1,p>>=-c,c+=a;0<c;o=256*o+e[t+f],f+=h,c-=8);for(s=o&(1<<-c)-1,o>>=-c,c+=r;0<c;s=256*s+e[t+f],f+=h,c-=8);if(0===o)o=1-l;else{if(o===u)return s?NaN:1/0*(p?-1:1);s+=Math.pow(2,r),o-=l}return(p?-1:1)*s*Math.pow(2,o-r)},n.write=function(e,t,n,r,i,o){var s,a,u,l=8*o-i-1,c=(1<<l)-1,f=c>>1,h=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,p=r?0:o-1,d=r?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(a=isNaN(t)?1:0,s=c):(s=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-s))<1&&(s--,u*=2),2<=(t+=1<=s+f?h/u:h*Math.pow(2,1-f))*u&&(s++,u/=2),c<=s+f?(a=0,s=c):1<=s+f?(a=(t*u-1)*Math.pow(2,i),s+=f):(a=t*Math.pow(2,f-1)*Math.pow(2,i),s=0));8<=i;e[n+p]=255&a,p+=d,a/=256,i-=8);for(s=s<<i|a,l+=i;0<l;e[n+p]=255&s,p+=d,s/=256,l-=8);e[n+p-d]|=128*m}}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/ieee754/index.js","/node_modules/ieee754")},{buffer:3,lYpoI2:10}]},{},[1])(1)},97974:function(e,t,n){"use strict";n.r(t),n.d(t,{paramCase:function(){return o}});var r=n(5163),i=n(20728);function o(e,t){return void 0===t&&(t={}),(0,i.$)(e,(0,r.pi)({delimiter:"-"},t))}},27413:function(e){e.exports=function(){"use strict";function e(e){var t=e.split(":");try{var n=t[2].split(",");return 1===n.length&&(n=t[2].split(".")),3600*parseFloat(t[0],10)+60*parseFloat(t[1],10)+parseFloat(n[0],10)+parseFloat(n[1],10)/1e3}catch(e){return 0}}function t(e,t){for(var n=t;!e[n];)n++;return n}return function(){for(var n=[],r=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").split(/(?:\r\n|\r|\n)/gm),i=function(e){for(var t=e.length-1;t>=0&&!e[t];)t--;return t}(r)+1,o=0,s=void 0,a=void 0,u=void 0,l=0;l<i;l++){for(u={},a=[],l=t(r,l),u.id=parseInt(r[l++],10),s=r[l++].split(/[\t ]*-->[\t ]*/),u.start=e(s[0]),-1!==(o=s[1].indexOf(" "))&&(s[1]=s[1].substr(0,o)),u.end=e(s[1]);l<i&&r[l];)a.push(r[l++]);u.text=a.join("\\N").replace(/\{(\\[\w]+\(?([\w\d]+,?)+\)?)+\}/gi,""),u.text=u.text.replace(/</g,"<").replace(/>/g,">"),u.text=u.text.replace(/<(\/?(font|b|u|i|s))((\s+(\w|\w[\w\-]*\w)(\s*=\s*(?:".*?"|'.*?'|[^'">\s]+))?)+\s*|\s*)(\/?)>/gi,"<$1$3$7>"),u.text=u.text.replace(/\\N/gi,"<br />"),n.push(u)}return n}}()},49464:function(e,t,n){"use strict";n.d(t,{By:function(){return o},Ho:function(){return a},Pv:function(){return s}});var r=n(5163),i=n(84682);function o(e,t){var n=e.charAt(0),r=e.substr(1).toLowerCase();return t>0&&n>="0"&&n<="9"?"_"+n+r:""+n.toUpperCase()+r}function s(e){return e.charAt(0).toUpperCase()+e.slice(1).toLowerCase()}function a(e,t){return void 0===t&&(t={}),(0,i.B)(e,(0,r.pi)({delimiter:"",transform:o},t))}},9057:function(e){(function(){var t,n,r,i,o,s;"undefined"!=typeof performance&&null!==performance&&performance.now?e.exports=function(){return performance.now()}:"undefined"!=typeof process&&null!==process&&process.hrtime?(e.exports=function(){return(t()-o)/1e6},n=process.hrtime,i=(t=function(){var e;return 1e9*(e=n())[0]+e[1]})(),s=1e9*process.uptime(),o=i-s):Date.now?(e.exports=function(){return Date.now()-r},r=Date.now()):(e.exports=function(){return(new Date).getTime()-r},r=(new Date).getTime())}).call(this)},33847:function(e,t,n){"use strict";n.r(t),n.d(t,{Component:function(){return S},Fragment:function(){return _},cloneElement:function(){return V},createContext:function(){return q},createElement:function(){return y},createRef:function(){return w},h:function(){return y},hydrate:function(){return $},isValidElement:function(){return s},options:function(){return i},render:function(){return H},toChildArray:function(){return T}});var r,i,o,s,a,u,l,c,f,h={},p=[],d=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,m=Array.isArray;function g(e,t){for(var n in t)e[n]=t[n];return e}function v(e){var t=e.parentNode;t&&t.removeChild(e)}function y(e,t,n){var i,o,s,a={};for(s in t)"key"==s?i=t[s]:"ref"==s?o=t[s]:a[s]=t[s];if(arguments.length>2&&(a.children=arguments.length>3?r.call(arguments,2):n),"function"==typeof e&&null!=e.defaultProps)for(s in e.defaultProps)void 0===a[s]&&(a[s]=e.defaultProps[s]);return b(e,a,i,o,null)}function b(e,t,n,r,s){var a={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==s?++o:s};return null==s&&null!=i.vnode&&i.vnode(a),a}function w(){return{current:null}}function _(e){return e.children}function S(e,t){this.props=e,this.context=t}function x(e,t){if(null==t)return e.__?x(e.__,e.__.__k.indexOf(e)+1):null;for(var n;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e)return n.__e;return"function"==typeof e.type?x(e):null}function E(e){var t,n;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e){e.__e=e.__c.base=n.__e;break}return E(e)}}function k(e){(!e.__d&&(e.__d=!0)&&a.push(e)&&!P.__r++||u!==i.debounceRendering)&&((u=i.debounceRendering)||l)(P)}function P(){var e,t,n,r,i,o,s,u;for(a.sort(c);e=a.shift();)e.__d&&(t=a.length,r=void 0,i=void 0,s=(o=(n=e).__v).__e,(u=n.__P)&&(r=[],(i=g({},o)).__v=o.__v+1,L(u,o,i,n.__n,void 0!==u.ownerSVGElement,null!=o.__h?[s]:null,r,null==s?x(o):s,o.__h),U(r,o),o.__e!=s&&E(o)),a.length>t&&a.sort(c));P.__r=0}function C(e,t,n,r,i,o,s,a,u,l){var c,f,d,g,v,y,w,S=r&&r.__k||p,E=S.length;for(n.__k=[],c=0;c<t.length;c++)if(null!=(g=n.__k[c]=null==(g=t[c])||"boolean"==typeof g||"function"==typeof g?null:"string"==typeof g||"number"==typeof g||"bigint"==typeof g?b(null,g,null,null,g):m(g)?b(_,{children:g},null,null,null):g.__b>0?b(g.type,g.props,g.key,g.ref?g.ref:null,g.__v):g)){if(g.__=n,g.__b=n.__b+1,null===(d=S[c])||d&&g.key==d.key&&g.type===d.type)S[c]=void 0;else for(f=0;f<E;f++){if((d=S[f])&&g.key==d.key&&g.type===d.type){S[f]=void 0;break}d=null}L(e,g,d=d||h,i,o,s,a,u,l),v=g.__e,(f=g.ref)&&d.ref!=f&&(w||(w=[]),d.ref&&w.push(d.ref,null,g),w.push(f,g.__c||v,g)),null!=v?(null==y&&(y=v),"function"==typeof g.type&&g.__k===d.__k?g.__d=u=O(g,u,e):u=A(e,g,d,S,v,u),"function"==typeof n.type&&(n.__d=u)):u&&d.__e==u&&u.parentNode!=e&&(u=x(d))}for(n.__e=y,c=E;c--;)null!=S[c]&&("function"==typeof n.type&&null!=S[c].__e&&S[c].__e==n.__d&&(n.__d=F(r).nextSibling),B(S[c],S[c]));if(w)for(c=0;c<w.length;c++)j(w[c],w[++c],w[++c])}function O(e,t,n){for(var r,i=e.__k,o=0;i&&o<i.length;o++)(r=i[o])&&(r.__=e,t="function"==typeof r.type?O(r,t,n):A(n,r,r,i,r.__e,t));return t}function T(e,t){return t=t||[],null==e||"boolean"==typeof e||(m(e)?e.some((function(e){T(e,t)})):t.push(e)),t}function A(e,t,n,r,i,o){var s,a,u;if(void 0!==t.__d)s=t.__d,t.__d=void 0;else if(null==n||i!=o||null==i.parentNode)e:if(null==o||o.parentNode!==e)e.appendChild(i),s=null;else{for(a=o,u=0;(a=a.nextSibling)&&u<r.length;u+=1)if(a==i)break e;e.insertBefore(i,o),s=o}return void 0!==s?s:i.nextSibling}function F(e){var t,n,r;if(null==e.type||"string"==typeof e.type)return e.__e;if(e.__k)for(t=e.__k.length-1;t>=0;t--)if((n=e.__k[t])&&(r=F(n)))return r;return null}function I(e,t,n){"-"===t[0]?e.setProperty(t,null==n?"":n):e[t]=null==n?"":"number"!=typeof n||d.test(t)?n:n+"px"}function R(e,t,n,r,i){var o;e:if("style"===t)if("string"==typeof n)e.style.cssText=n;else{if("string"==typeof r&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||I(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||I(e.style,t,n[t])}else if("o"===t[0]&&"n"===t[1])o=t!==(t=t.replace(/Capture$/,"")),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+o]=n,n?r||e.addEventListener(t,o?N:M,o):e.removeEventListener(t,o?N:M,o);else if("dangerouslySetInnerHTML"!==t){if(i)t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!==t&&"height"!==t&&"href"!==t&&"list"!==t&&"form"!==t&&"tabIndex"!==t&&"download"!==t&&"rowSpan"!==t&&"colSpan"!==t&&t in e)try{e[t]=null==n?"":n;break e}catch(e){}"function"==typeof n||(null==n||!1===n&&"-"!==t[4]?e.removeAttribute(t):e.setAttribute(t,n))}}function M(e){return this.l[e.type+!1](i.event?i.event(e):e)}function N(e){return this.l[e.type+!0](i.event?i.event(e):e)}function L(e,t,n,r,o,s,a,u,l){var c,f,h,p,d,v,y,b,w,x,E,k,P,O,T,A=t.type;if(void 0!==t.constructor)return null;null!=n.__h&&(l=n.__h,u=t.__e=n.__e,t.__h=null,s=[u]),(c=i.__b)&&c(t);try{e:if("function"==typeof A){if(b=t.props,w=(c=A.contextType)&&r[c.__c],x=c?w?w.props.value:c.__:r,n.__c?y=(f=t.__c=n.__c).__=f.__E:("prototype"in A&&A.prototype.render?t.__c=f=new A(b,x):(t.__c=f=new S(b,x),f.constructor=A,f.render=z),w&&w.sub(f),f.props=b,f.state||(f.state={}),f.context=x,f.__n=r,h=f.__d=!0,f.__h=[],f._sb=[]),null==f.__s&&(f.__s=f.state),null!=A.getDerivedStateFromProps&&(f.__s==f.state&&(f.__s=g({},f.__s)),g(f.__s,A.getDerivedStateFromProps(b,f.__s))),p=f.props,d=f.state,f.__v=t,h)null==A.getDerivedStateFromProps&&null!=f.componentWillMount&&f.componentWillMount(),null!=f.componentDidMount&&f.__h.push(f.componentDidMount);else{if(null==A.getDerivedStateFromProps&&b!==p&&null!=f.componentWillReceiveProps&&f.componentWillReceiveProps(b,x),!f.__e&&null!=f.shouldComponentUpdate&&!1===f.shouldComponentUpdate(b,f.__s,x)||t.__v===n.__v){for(t.__v!==n.__v&&(f.props=b,f.state=f.__s,f.__d=!1),f.__e=!1,t.__e=n.__e,t.__k=n.__k,t.__k.forEach((function(e){e&&(e.__=t)})),E=0;E<f._sb.length;E++)f.__h.push(f._sb[E]);f._sb=[],f.__h.length&&a.push(f);break e}null!=f.componentWillUpdate&&f.componentWillUpdate(b,f.__s,x),null!=f.componentDidUpdate&&f.__h.push((function(){f.componentDidUpdate(p,d,v)}))}if(f.context=x,f.props=b,f.__P=e,k=i.__r,P=0,"prototype"in A&&A.prototype.render){for(f.state=f.__s,f.__d=!1,k&&k(t),c=f.render(f.props,f.state,f.context),O=0;O<f._sb.length;O++)f.__h.push(f._sb[O]);f._sb=[]}else do{f.__d=!1,k&&k(t),c=f.render(f.props,f.state,f.context),f.state=f.__s}while(f.__d&&++P<25);f.state=f.__s,null!=f.getChildContext&&(r=g(g({},r),f.getChildContext())),h||null==f.getSnapshotBeforeUpdate||(v=f.getSnapshotBeforeUpdate(p,d)),C(e,m(T=null!=c&&c.type===_&&null==c.key?c.props.children:c)?T:[T],t,n,r,o,s,a,u,l),f.base=t.__e,t.__h=null,f.__h.length&&a.push(f),y&&(f.__E=f.__=null),f.__e=!1}else null==s&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=D(n.__e,t,n,r,o,s,a,l);(c=i.diffed)&&c(t)}catch(e){t.__v=null,(l||null!=s)&&(t.__e=u,t.__h=!!l,s[s.indexOf(u)]=null),i.__e(e,t,n)}}function U(e,t){i.__c&&i.__c(t,e),e.some((function(t){try{e=t.__h,t.__h=[],e.some((function(e){e.call(t)}))}catch(e){i.__e(e,t.__v)}}))}function D(e,t,n,i,o,s,a,u){var l,c,f,p=n.props,d=t.props,g=t.type,y=0;if("svg"===g&&(o=!0),null!=s)for(;y<s.length;y++)if((l=s[y])&&"setAttribute"in l==!!g&&(g?l.localName===g:3===l.nodeType)){e=l,s[y]=null;break}if(null==e){if(null===g)return document.createTextNode(d);e=o?document.createElementNS("http://www.w3.org/2000/svg",g):document.createElement(g,d.is&&d),s=null,u=!1}if(null===g)p===d||u&&e.data===d||(e.data=d);else{if(s=s&&r.call(e.childNodes),c=(p=n.props||h).dangerouslySetInnerHTML,f=d.dangerouslySetInnerHTML,!u){if(null!=s)for(p={},y=0;y<e.attributes.length;y++)p[e.attributes[y].name]=e.attributes[y].value;(f||c)&&(f&&(c&&f.__html==c.__html||f.__html===e.innerHTML)||(e.innerHTML=f&&f.__html||""))}if(function(e,t,n,r,i){var o;for(o in n)"children"===o||"key"===o||o in t||R(e,o,null,n[o],r);for(o in t)i&&"function"!=typeof t[o]||"children"===o||"key"===o||"value"===o||"checked"===o||n[o]===t[o]||R(e,o,t[o],n[o],r)}(e,d,p,o,u),f)t.__k=[];else if(C(e,m(y=t.props.children)?y:[y],t,n,i,o&&"foreignObject"!==g,s,a,s?s[0]:n.__k&&x(n,0),u),null!=s)for(y=s.length;y--;)null!=s[y]&&v(s[y]);u||("value"in d&&void 0!==(y=d.value)&&(y!==e.value||"progress"===g&&!y||"option"===g&&y!==p.value)&&R(e,"value",y,p.value,!1),"checked"in d&&void 0!==(y=d.checked)&&y!==e.checked&&R(e,"checked",y,p.checked,!1))}return e}function j(e,t,n){try{"function"==typeof e?e(t):e.current=t}catch(e){i.__e(e,n)}}function B(e,t,n){var r,o;if(i.unmount&&i.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||j(r,null,t)),null!=(r=e.__c)){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(e){i.__e(e,t)}r.base=r.__P=null,e.__c=void 0}if(r=e.__k)for(o=0;o<r.length;o++)r[o]&&B(r[o],t,n||"function"!=typeof e.type);n||null==e.__e||v(e.__e),e.__=e.__e=e.__d=void 0}function z(e,t,n){return this.constructor(e,n)}function H(e,t,n){var o,s,a;i.__&&i.__(e,t),s=(o="function"==typeof n)?null:n&&n.__k||t.__k,a=[],L(t,e=(!o&&n||t).__k=y(_,null,[e]),s||h,h,void 0!==t.ownerSVGElement,!o&&n?[n]:s?null:t.firstChild?r.call(t.childNodes):null,a,!o&&n?n:s?s.__e:t.firstChild,o),U(a,e)}function $(e,t){H(e,t,$)}function V(e,t,n){var i,o,s,a,u=g({},e.props);for(s in e.type&&e.type.defaultProps&&(a=e.type.defaultProps),t)"key"==s?i=t[s]:"ref"==s?o=t[s]:u[s]=void 0===t[s]&&void 0!==a?a[s]:t[s];return arguments.length>2&&(u.children=arguments.length>3?r.call(arguments,2):n),b(e.type,u,i||e.key,o||e.ref,null)}function q(e,t){var n={__c:t="__cC"+f++,__:e,Consumer:function(e,t){return e.children(t)},Provider:function(e){var n,r;return this.getChildContext||(n=[],(r={})[t]=this,this.getChildContext=function(){return r},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&n.some((function(e){e.__e=!0,k(e)}))},this.sub=function(e){n.push(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){n.splice(n.indexOf(e),1),t&&t.call(e)}}),e.children}};return n.Provider.__=n.Consumer.contextType=n}r=p.slice,i={__e:function(e,t,n,r){for(var i,o,s;t=t.__;)if((i=t.__c)&&!i.__)try{if((o=i.constructor)&&null!=o.getDerivedStateFromError&&(i.setState(o.getDerivedStateFromError(e)),s=i.__d),null!=i.componentDidCatch&&(i.componentDidCatch(e,r||{}),s=i.__d),s)return i.__E=i}catch(t){e=t}throw e}},o=0,s=function(e){return null!=e&&void 0===e.constructor},S.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=g({},this.state),"function"==typeof e&&(e=e(g({},n),this.props)),e&&g(n,e),null!=e&&this.__v&&(t&&this._sb.push(t),k(this))},S.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),k(this))},S.prototype.render=_,a=[],l="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,c=function(e,t){return e.__v.__b-t.__v.__b},P.__r=0,f=0},68262:function(e,t,n){"use strict";var r=n(23586);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,n,i,o,s){if(s!==r){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:i};return n.PropTypes=n,n}},13980:function(e,t,n){e.exports=n(68262)()},23586:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},34126:function(e,t,n){"use strict";const r=n(57785),i=n(15554),o=n(15452),s=n(40063);function a(e){if("string"!=typeof e||1!==e.length)throw new TypeError("arrayFormatSeparator must be single character string")}function u(e,t){return t.encode?t.strict?r(e):encodeURIComponent(e):e}function l(e,t){return t.decode?i(e):e}function c(e){return Array.isArray(e)?e.sort():"object"==typeof e?c(Object.keys(e)).sort(((e,t)=>Number(e)-Number(t))).map((t=>e[t])):e}function f(e){const t=e.indexOf("#");return-1!==t&&(e=e.slice(0,t)),e}function h(e){const t=(e=f(e)).indexOf("?");return-1===t?"":e.slice(t+1)}function p(e,t){return t.parseNumbers&&!Number.isNaN(Number(e))&&"string"==typeof e&&""!==e.trim()?e=Number(e):!t.parseBooleans||null===e||"true"!==e.toLowerCase()&&"false"!==e.toLowerCase()||(e="true"===e.toLowerCase()),e}function d(e,t){a((t=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},t)).arrayFormatSeparator);const n=function(e){let t;switch(e.arrayFormat){case"index":return(e,n,r)=>{t=/\[(\d*)\]$/.exec(e),e=e.replace(/\[\d*\]$/,""),t?(void 0===r[e]&&(r[e]={}),r[e][t[1]]=n):r[e]=n};case"bracket":return(e,n,r)=>{t=/(\[\])$/.exec(e),e=e.replace(/\[\]$/,""),t?void 0!==r[e]?r[e]=[].concat(r[e],n):r[e]=[n]:r[e]=n};case"comma":case"separator":return(t,n,r)=>{const i="string"==typeof n&&n.includes(e.arrayFormatSeparator),o="string"==typeof n&&!i&&l(n,e).includes(e.arrayFormatSeparator);n=o?l(n,e):n;const s=i||o?n.split(e.arrayFormatSeparator).map((t=>l(t,e))):null===n?n:l(n,e);r[t]=s};default:return(e,t,n)=>{void 0!==n[e]?n[e]=[].concat(n[e],t):n[e]=t}}}(t),r=Object.create(null);if("string"!=typeof e)return r;if(!(e=e.trim().replace(/^[?#&]/,"")))return r;for(const i of e.split("&")){if(""===i)continue;let[e,s]=o(t.decode?i.replace(/\+/g," "):i,"=");s=void 0===s?null:["comma","separator"].includes(t.arrayFormat)?s:l(s,t),n(l(e,t),s,r)}for(const e of Object.keys(r)){const n=r[e];if("object"==typeof n&&null!==n)for(const e of Object.keys(n))n[e]=p(n[e],t);else r[e]=p(n,t)}return!1===t.sort?r:(!0===t.sort?Object.keys(r).sort():Object.keys(r).sort(t.sort)).reduce(((e,t)=>{const n=r[t];return Boolean(n)&&"object"==typeof n&&!Array.isArray(n)?e[t]=c(n):e[t]=n,e}),Object.create(null))}t.extract=h,t.parse=d,t.stringify=(e,t)=>{if(!e)return"";a((t=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},t)).arrayFormatSeparator);const n=n=>t.skipNull&&null==e[n]||t.skipEmptyString&&""===e[n],r=function(e){switch(e.arrayFormat){case"index":return t=>(n,r)=>{const i=n.length;return void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[u(t,e),"[",i,"]"].join("")]:[...n,[u(t,e),"[",u(i,e),"]=",u(r,e)].join("")]};case"bracket":return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[u(t,e),"[]"].join("")]:[...n,[u(t,e),"[]=",u(r,e)].join("")];case"comma":case"separator":return t=>(n,r)=>null==r||0===r.length?n:0===n.length?[[u(t,e),"=",u(r,e)].join("")]:[[n,u(r,e)].join(e.arrayFormatSeparator)];default:return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,u(t,e)]:[...n,[u(t,e),"=",u(r,e)].join("")]}}(t),i={};for(const t of Object.keys(e))n(t)||(i[t]=e[t]);const o=Object.keys(i);return!1!==t.sort&&o.sort(t.sort),o.map((n=>{const i=e[n];return void 0===i?"":null===i?u(n,t):Array.isArray(i)?i.reduce(r(n),[]).join("&"):u(n,t)+"="+u(i,t)})).filter((e=>e.length>0)).join("&")},t.parseUrl=(e,t)=>{t=Object.assign({decode:!0},t);const[n,r]=o(e,"#");return Object.assign({url:n.split("?")[0]||"",query:d(h(e),t)},t&&t.parseFragmentIdentifier&&r?{fragmentIdentifier:l(r,t)}:{})},t.stringifyUrl=(e,n)=>{n=Object.assign({encode:!0,strict:!0},n);const r=f(e.url).split("?")[0]||"",i=t.extract(e.url),o=t.parse(i,{sort:!1}),s=Object.assign(o,e.query);let a=t.stringify(s,n);a&&(a=`?${a}`);let l=function(e){let t="";const n=e.indexOf("#");return-1!==n&&(t=e.slice(n)),t}(e.url);return e.fragmentIdentifier&&(l=`#${u(e.fragmentIdentifier,n)}`),`${r}${a}${l}`},t.pick=(e,n,r)=>{r=Object.assign({parseFragmentIdentifier:!0},r);const{url:i,query:o,fragmentIdentifier:a}=t.parseUrl(e,r);return t.stringifyUrl({url:i,query:s(o,n),fragmentIdentifier:a},r)},t.exclude=(e,n,r)=>{const i=Array.isArray(n)?e=>!n.includes(e):(e,t)=>!n(e,t);return t.pick(e,i,r)}},97375:function(e,t){"use strict";var n=Object.prototype.hasOwnProperty;function r(e){try{return decodeURIComponent(e.replace(/\+/g," "))}catch(e){return null}}function i(e){try{return encodeURIComponent(e)}catch(e){return null}}t.stringify=function(e,t){t=t||"";var r,o,s=[];for(o in"string"!=typeof t&&(t="?"),e)if(n.call(e,o)){if((r=e[o])||null!=r&&!isNaN(r)||(r=""),o=i(o),r=i(r),null===o||null===r)continue;s.push(o+"="+r)}return s.length?t+s.join("&"):""},t.parse=function(e){for(var t,n=/([^=?#&]+)=?([^&]*)/g,i={};t=n.exec(e);){var o=r(t[1]),s=r(t[2]);null===o||null===s||o in i||(i[o]=s)}return i}},23493:function(e,t,n){for(var r=n(9057),i="undefined"==typeof window?n.g:window,o=["moz","webkit"],s="AnimationFrame",a=i["request"+s],u=i["cancel"+s]||i["cancelRequest"+s],l=0;!a&&l<o.length;l++)a=i[o[l]+"Request"+s],u=i[o[l]+"Cancel"+s]||i[o[l]+"CancelRequest"+s];if(!a||!u){var c=0,f=0,h=[];a=function(e){if(0===h.length){var t=r(),n=Math.max(0,16.666666666666668-(t-c));c=n+t,setTimeout((function(){var e=h.slice(0);h.length=0;for(var t=0;t<e.length;t++)if(!e[t].cancelled)try{e[t].callback(c)}catch(e){setTimeout((function(){throw e}),0)}}),Math.round(n))}return h.push({handle:++f,callback:e,cancelled:!1}),f},u=function(e){for(var t=0;t<h.length;t++)h[t].handle===e&&(h[t].cancelled=!0)}}e.exports=function(e){return a.call(i,e)},e.exports.cancel=function(){u.apply(i,arguments)},e.exports.polyfill=function(e){e||(e=i),e.requestAnimationFrame=a,e.cancelAnimationFrame=u}},52967:function(e,t,n){"use strict";var r=n(2784),i=n(14616);function o(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var s=new Set,a={};function u(e,t){l(e,t),l(e+"Capture",t)}function l(e,t){for(a[e]=t,e=0;e<t.length;e++)s.add(t[e])}var c=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),f=Object.prototype.hasOwnProperty,h=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,p={},d={};function m(e,t,n,r,i,o,s){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=s}var g={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){g[e]=new m(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];g[t]=new m(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){g[e]=new m(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){g[e]=new m(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){g[e]=new m(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){g[e]=new m(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){g[e]=new m(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){g[e]=new m(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){g[e]=new m(e,5,!1,e.toLowerCase(),null,!1,!1)}));var v=/[\-:]([a-z])/g;function y(e){return e[1].toUpperCase()}function b(e,t,n,r){var i=g.hasOwnProperty(t)?g[t]:null;(null!==i?0!==i.type:r||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(function(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,i,r)&&(n=null),r||null===i?function(e){return!!f.call(d,e)||!f.call(p,e)&&(h.test(e)?d[e]=!0:(p[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):i.mustUseProperty?e[i.propertyName]=null===n?3!==i.type&&"":n:(t=i.attributeName,r=i.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(i=i.type)||4===i&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(v,y);g[t]=new m(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(v,y);g[t]=new m(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(v,y);g[t]=new m(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){g[e]=new m(e,1,!1,e.toLowerCase(),null,!1,!1)})),g.xlinkHref=new m("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){g[e]=new m(e,1,!1,e.toLowerCase(),null,!0,!0)}));var w=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,_=Symbol.for("react.element"),S=Symbol.for("react.portal"),x=Symbol.for("react.fragment"),E=Symbol.for("react.strict_mode"),k=Symbol.for("react.profiler"),P=Symbol.for("react.provider"),C=Symbol.for("react.context"),O=Symbol.for("react.forward_ref"),T=Symbol.for("react.suspense"),A=Symbol.for("react.suspense_list"),F=Symbol.for("react.memo"),I=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var R=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var M=Symbol.iterator;function N(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=M&&e[M]||e["@@iterator"])?e:null}var L,U=Object.assign;function D(e){if(void 0===L)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);L=t&&t[1]||""}return"\n"+L+e}var j=!1;function B(e,t){if(!e||j)return"";j=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(e){var r=e}Reflect.construct(e,[],t)}else{try{t.call()}catch(e){r=e}e.call(t.prototype)}else{try{throw Error()}catch(e){r=e}e()}}catch(t){if(t&&r&&"string"==typeof t.stack){for(var i=t.stack.split("\n"),o=r.stack.split("\n"),s=i.length-1,a=o.length-1;1<=s&&0<=a&&i[s]!==o[a];)a--;for(;1<=s&&0<=a;s--,a--)if(i[s]!==o[a]){if(1!==s||1!==a)do{if(s--,0>--a||i[s]!==o[a]){var u="\n"+i[s].replace(" at new "," at ");return e.displayName&&u.includes("<anonymous>")&&(u=u.replace("<anonymous>",e.displayName)),u}}while(1<=s&&0<=a);break}}}finally{j=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?D(e):""}function z(e){switch(e.tag){case 5:return D(e.type);case 16:return D("Lazy");case 13:return D("Suspense");case 19:return D("SuspenseList");case 0:case 2:case 15:return B(e.type,!1);case 11:return B(e.type.render,!1);case 1:return B(e.type,!0);default:return""}}function H(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case x:return"Fragment";case S:return"Portal";case k:return"Profiler";case E:return"StrictMode";case T:return"Suspense";case A:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case C:return(e.displayName||"Context")+".Consumer";case P:return(e._context.displayName||"Context")+".Provider";case O:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case F:return null!==(t=e.displayName||null)?t:H(e.type)||"Memo";case I:t=e._payload,e=e._init;try{return H(e(t))}catch(e){}}return null}function $(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return H(t);case 8:return t===E?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t}return null}function V(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function q(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function W(e){e._valueTracker||(e._valueTracker=function(e){var t=q(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(e){r=""+e,o.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function G(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=q(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function Z(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function K(e,t){var n=t.checked;return U({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function Y(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=V(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function X(e,t){null!=(t=t.checked)&&b(e,"checked",t,!1)}function Q(e,t){X(e,t);var n=V(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?ee(e,t.type,n):t.hasOwnProperty("defaultValue")&&ee(e,t.type,V(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function J(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function ee(e,t,n){"number"===t&&Z(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var te=Array.isArray;function ne(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=""+V(n),t=null,i=0;i<e.length;i++){if(e[i].value===n)return e[i].selected=!0,void(r&&(e[i].defaultSelected=!0));null!==t||e[i].disabled||(t=e[i])}null!==t&&(t.selected=!0)}}function re(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(o(91));return U({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function ie(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(o(92));if(te(n)){if(1<n.length)throw Error(o(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:V(n)}}function oe(e,t){var n=V(t.value),r=V(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function se(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function ae(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function ue(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?ae(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var le,ce,fe=(ce=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((le=le||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=le.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return ce(e,t)}))}:ce);function he(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var pe={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},de=["Webkit","ms","Moz","O"];function me(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||pe.hasOwnProperty(e)&&pe[e]?(""+t).trim():t+"px"}function ge(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),i=me(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}Object.keys(pe).forEach((function(e){de.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),pe[t]=pe[e]}))}));var ve=U({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function ye(e,t){if(t){if(ve[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(o(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(o(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(o(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(o(62))}}function be(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var we=null;function _e(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var Se=null,xe=null,Ee=null;function ke(e){if(e=bi(e)){if("function"!=typeof Se)throw Error(o(280));var t=e.stateNode;t&&(t=_i(t),Se(e.stateNode,e.type,t))}}function Pe(e){xe?Ee?Ee.push(e):Ee=[e]:xe=e}function Ce(){if(xe){var e=xe,t=Ee;if(Ee=xe=null,ke(e),t)for(e=0;e<t.length;e++)ke(t[e])}}function Oe(e,t){return e(t)}function Te(){}var Ae=!1;function Fe(e,t,n){if(Ae)return e(t,n);Ae=!0;try{return Oe(e,t,n)}finally{Ae=!1,(null!==xe||null!==Ee)&&(Te(),Ce())}}function Ie(e,t){var n=e.stateNode;if(null===n)return null;var r=_i(n);if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(o(231,t,typeof n));return n}var Re=!1;if(c)try{var Me={};Object.defineProperty(Me,"passive",{get:function(){Re=!0}}),window.addEventListener("test",Me,Me),window.removeEventListener("test",Me,Me)}catch(ce){Re=!1}function Ne(e,t,n,r,i,o,s,a,u){var l=Array.prototype.slice.call(arguments,3);try{t.apply(n,l)}catch(e){this.onError(e)}}var Le=!1,Ue=null,De=!1,je=null,Be={onError:function(e){Le=!0,Ue=e}};function ze(e,t,n,r,i,o,s,a,u){Le=!1,Ue=null,Ne.apply(Be,arguments)}function He(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!=(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function $e(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&null!==(e=e.alternate)&&(t=e.memoizedState),null!==t)return t.dehydrated}return null}function Ve(e){if(He(e)!==e)throw Error(o(188))}function qe(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=He(e)))throw Error(o(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(null===i)break;var s=i.alternate;if(null===s){if(null!==(r=i.return)){n=r;continue}break}if(i.child===s.child){for(s=i.child;s;){if(s===n)return Ve(i),e;if(s===r)return Ve(i),t;s=s.sibling}throw Error(o(188))}if(n.return!==r.return)n=i,r=s;else{for(var a=!1,u=i.child;u;){if(u===n){a=!0,n=i,r=s;break}if(u===r){a=!0,r=i,n=s;break}u=u.sibling}if(!a){for(u=s.child;u;){if(u===n){a=!0,n=s,r=i;break}if(u===r){a=!0,r=s,n=i;break}u=u.sibling}if(!a)throw Error(o(189))}}if(n.alternate!==r)throw Error(o(190))}if(3!==n.tag)throw Error(o(188));return n.stateNode.current===n?e:t}(e))?We(e):null}function We(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=We(e);if(null!==t)return t;e=e.sibling}return null}var Ge=i.unstable_scheduleCallback,Ze=i.unstable_cancelCallback,Ke=i.unstable_shouldYield,Ye=i.unstable_requestPaint,Xe=i.unstable_now,Qe=i.unstable_getCurrentPriorityLevel,Je=i.unstable_ImmediatePriority,et=i.unstable_UserBlockingPriority,tt=i.unstable_NormalPriority,nt=i.unstable_LowPriority,rt=i.unstable_IdlePriority,it=null,ot=null,st=Math.clz32?Math.clz32:function(e){return 0===(e>>>=0)?32:31-(at(e)/ut|0)|0},at=Math.log,ut=Math.LN2,lt=64,ct=4194304;function ft(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function ht(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,i=e.suspendedLanes,o=e.pingedLanes,s=268435455&n;if(0!==s){var a=s&~i;0!==a?r=ft(a):0!=(o&=s)&&(r=ft(o))}else 0!=(s=n&~i)?r=ft(s):0!==o&&(r=ft(o));if(0===r)return 0;if(0!==t&&t!==r&&0==(t&i)&&((i=r&-r)>=(o=t&-t)||16===i&&0!=(4194240&o)))return t;if(0!=(4&r)&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)i=1<<(n=31-st(t)),r|=e[n],t&=~i;return r}function pt(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return-1}}function dt(e){return 0!=(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function mt(){var e=lt;return 0==(4194240&(lt<<=1))&&(lt=64),e}function gt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function vt(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-st(t)]=n}function yt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-st(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}var bt=0;function wt(e){return 1<(e&=-e)?4<e?0!=(268435455&e)?16:536870912:4:1}var _t,St,xt,Et,kt,Pt=!1,Ct=[],Ot=null,Tt=null,At=null,Ft=new Map,It=new Map,Rt=[],Mt="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function Nt(e,t){switch(e){case"focusin":case"focusout":Ot=null;break;case"dragenter":case"dragleave":Tt=null;break;case"mouseover":case"mouseout":At=null;break;case"pointerover":case"pointerout":Ft.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":It.delete(t.pointerId)}}function Lt(e,t,n,r,i,o){return null===e||e.nativeEvent!==o?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:o,targetContainers:[i]},null!==t&&null!==(t=bi(t))&&St(t),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==i&&-1===t.indexOf(i)&&t.push(i),e)}function Ut(e){var t=yi(e.target);if(null!==t){var n=He(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=$e(n)))return e.blockedOn=t,void kt(e.priority,(function(){xt(n)}))}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Dt(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Kt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=bi(n))&&St(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);we=r,n.target.dispatchEvent(r),we=null,t.shift()}return!0}function jt(e,t,n){Dt(e)&&n.delete(t)}function Bt(){Pt=!1,null!==Ot&&Dt(Ot)&&(Ot=null),null!==Tt&&Dt(Tt)&&(Tt=null),null!==At&&Dt(At)&&(At=null),Ft.forEach(jt),It.forEach(jt)}function zt(e,t){e.blockedOn===t&&(e.blockedOn=null,Pt||(Pt=!0,i.unstable_scheduleCallback(i.unstable_NormalPriority,Bt)))}function Ht(e){function t(t){return zt(t,e)}if(0<Ct.length){zt(Ct[0],e);for(var n=1;n<Ct.length;n++){var r=Ct[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==Ot&&zt(Ot,e),null!==Tt&&zt(Tt,e),null!==At&&zt(At,e),Ft.forEach(t),It.forEach(t),n=0;n<Rt.length;n++)(r=Rt[n]).blockedOn===e&&(r.blockedOn=null);for(;0<Rt.length&&null===(n=Rt[0]).blockedOn;)Ut(n),null===n.blockedOn&&Rt.shift()}var $t=w.ReactCurrentBatchConfig,Vt=!0;function qt(e,t,n,r){var i=bt,o=$t.transition;$t.transition=null;try{bt=1,Gt(e,t,n,r)}finally{bt=i,$t.transition=o}}function Wt(e,t,n,r){var i=bt,o=$t.transition;$t.transition=null;try{bt=4,Gt(e,t,n,r)}finally{bt=i,$t.transition=o}}function Gt(e,t,n,r){if(Vt){var i=Kt(e,t,n,r);if(null===i)Vr(e,t,r,Zt,n),Nt(e,r);else if(function(e,t,n,r,i){switch(t){case"focusin":return Ot=Lt(Ot,e,t,n,r,i),!0;case"dragenter":return Tt=Lt(Tt,e,t,n,r,i),!0;case"mouseover":return At=Lt(At,e,t,n,r,i),!0;case"pointerover":var o=i.pointerId;return Ft.set(o,Lt(Ft.get(o)||null,e,t,n,r,i)),!0;case"gotpointercapture":return o=i.pointerId,It.set(o,Lt(It.get(o)||null,e,t,n,r,i)),!0}return!1}(i,e,t,n,r))r.stopPropagation();else if(Nt(e,r),4&t&&-1<Mt.indexOf(e)){for(;null!==i;){var o=bi(i);if(null!==o&&_t(o),null===(o=Kt(e,t,n,r))&&Vr(e,t,r,Zt,n),o===i)break;i=o}null!==i&&r.stopPropagation()}else Vr(e,t,r,null,n)}}var Zt=null;function Kt(e,t,n,r){if(Zt=null,null!==(e=yi(e=_e(r))))if(null===(t=He(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=$e(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Zt=e,null}function Yt(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Qe()){case Je:return 1;case et:return 4;case tt:case nt:return 16;case rt:return 536870912;default:return 16}default:return 16}}var Xt=null,Qt=null,Jt=null;function en(){if(Jt)return Jt;var e,t,n=Qt,r=n.length,i="value"in Xt?Xt.value:Xt.textContent,o=i.length;for(e=0;e<r&&n[e]===i[e];e++);var s=r-e;for(t=1;t<=s&&n[r-t]===i[o-t];t++);return Jt=i.slice(e,1<t?1-t:void 0)}function tn(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function nn(){return!0}function rn(){return!1}function on(e){function t(t,n,r,i,o){for(var s in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=i,this.target=o,this.currentTarget=null,e)e.hasOwnProperty(s)&&(t=e[s],this[s]=t?t(i):i[s]);return this.isDefaultPrevented=(null!=i.defaultPrevented?i.defaultPrevented:!1===i.returnValue)?nn:rn,this.isPropagationStopped=rn,this}return U(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=nn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=nn)},persist:function(){},isPersistent:nn}),t}var sn,an,un,ln={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},cn=on(ln),fn=U({},ln,{view:0,detail:0}),hn=on(fn),pn=U({},fn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:kn,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==un&&(un&&"mousemove"===e.type?(sn=e.screenX-un.screenX,an=e.screenY-un.screenY):an=sn=0,un=e),sn)},movementY:function(e){return"movementY"in e?e.movementY:an}}),dn=on(pn),mn=on(U({},pn,{dataTransfer:0})),gn=on(U({},fn,{relatedTarget:0})),vn=on(U({},ln,{animationName:0,elapsedTime:0,pseudoElement:0})),yn=U({},ln,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),bn=on(yn),wn=on(U({},ln,{data:0})),_n={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Sn={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},xn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function En(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=xn[e])&&!!t[e]}function kn(){return En}var Pn=U({},fn,{key:function(e){if(e.key){var t=_n[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=tn(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?Sn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:kn,charCode:function(e){return"keypress"===e.type?tn(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?tn(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),Cn=on(Pn),On=on(U({},pn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Tn=on(U({},fn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:kn})),An=on(U({},ln,{propertyName:0,elapsedTime:0,pseudoElement:0})),Fn=U({},pn,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),In=on(Fn),Rn=[9,13,27,32],Mn=c&&"CompositionEvent"in window,Nn=null;c&&"documentMode"in document&&(Nn=document.documentMode);var Ln=c&&"TextEvent"in window&&!Nn,Un=c&&(!Mn||Nn&&8<Nn&&11>=Nn),Dn=String.fromCharCode(32),jn=!1;function Bn(e,t){switch(e){case"keyup":return-1!==Rn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function zn(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Hn=!1,$n={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Vn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!$n[e.type]:"textarea"===t}function qn(e,t,n,r){Pe(r),0<(t=Wr(t,"onChange")).length&&(n=new cn("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Wn=null,Gn=null;function Zn(e){Dr(e,0)}function Kn(e){if(G(wi(e)))return e}function Yn(e,t){if("change"===e)return t}var Xn=!1;if(c){var Qn;if(c){var Jn="oninput"in document;if(!Jn){var er=document.createElement("div");er.setAttribute("oninput","return;"),Jn="function"==typeof er.oninput}Qn=Jn}else Qn=!1;Xn=Qn&&(!document.documentMode||9<document.documentMode)}function tr(){Wn&&(Wn.detachEvent("onpropertychange",nr),Gn=Wn=null)}function nr(e){if("value"===e.propertyName&&Kn(Gn)){var t=[];qn(t,Gn,e,_e(e)),Fe(Zn,t)}}function rr(e,t,n){"focusin"===e?(tr(),Gn=n,(Wn=t).attachEvent("onpropertychange",nr)):"focusout"===e&&tr()}function ir(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Kn(Gn)}function or(e,t){if("click"===e)return Kn(t)}function sr(e,t){if("input"===e||"change"===e)return Kn(t)}var ar="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function ur(e,t){if(ar(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!f.call(t,i)||!ar(e[i],t[i]))return!1}return!0}function lr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function cr(e,t){var n,r=lr(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=lr(r)}}function fr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?fr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function hr(){for(var e=window,t=Z();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=Z((e=t.contentWindow).document)}return t}function pr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function dr(e){var t=hr(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&fr(n.ownerDocument.documentElement,n)){if(null!==r&&pr(n))if(t=r.start,void 0===(e=r.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var i=n.textContent.length,o=Math.min(r.start,i);r=void 0===r.end?o:Math.min(r.end,i),!e.extend&&o>r&&(i=r,r=o,o=i),i=cr(n,o);var s=cr(n,r);i&&s&&(1!==e.rangeCount||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==s.node||e.focusOffset!==s.offset)&&((t=t.createRange()).setStart(i.node,i.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(s.node,s.offset)):(t.setEnd(s.node,s.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof n.focus&&n.focus(),n=0;n<t.length;n++)(e=t[n]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var mr=c&&"documentMode"in document&&11>=document.documentMode,gr=null,vr=null,yr=null,br=!1;function wr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;br||null==gr||gr!==Z(r)||(r="selectionStart"in(r=gr)&&pr(r)?{start:r.selectionStart,end:r.selectionEnd}:{anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},yr&&ur(yr,r)||(yr=r,0<(r=Wr(vr,"onSelect")).length&&(t=new cn("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=gr)))}function _r(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Sr={animationend:_r("Animation","AnimationEnd"),animationiteration:_r("Animation","AnimationIteration"),animationstart:_r("Animation","AnimationStart"),transitionend:_r("Transition","TransitionEnd")},xr={},Er={};function kr(e){if(xr[e])return xr[e];if(!Sr[e])return e;var t,n=Sr[e];for(t in n)if(n.hasOwnProperty(t)&&t in Er)return xr[e]=n[t];return e}c&&(Er=document.createElement("div").style,"AnimationEvent"in window||(delete Sr.animationend.animation,delete Sr.animationiteration.animation,delete Sr.animationstart.animation),"TransitionEvent"in window||delete Sr.transitionend.transition);var Pr=kr("animationend"),Cr=kr("animationiteration"),Or=kr("animationstart"),Tr=kr("transitionend"),Ar=new Map,Fr="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Ir(e,t){Ar.set(e,t),u(t,[e])}for(var Rr=0;Rr<Fr.length;Rr++){var Mr=Fr[Rr];Ir(Mr.toLowerCase(),"on"+(Mr[0].toUpperCase()+Mr.slice(1)))}Ir(Pr,"onAnimationEnd"),Ir(Cr,"onAnimationIteration"),Ir(Or,"onAnimationStart"),Ir("dblclick","onDoubleClick"),Ir("focusin","onFocus"),Ir("focusout","onBlur"),Ir(Tr,"onTransitionEnd"),l("onMouseEnter",["mouseout","mouseover"]),l("onMouseLeave",["mouseout","mouseover"]),l("onPointerEnter",["pointerout","pointerover"]),l("onPointerLeave",["pointerout","pointerover"]),u("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),u("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),u("onBeforeInput",["compositionend","keypress","textInput","paste"]),u("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),u("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),u("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Nr="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Lr=new Set("cancel close invalid load scroll toggle".split(" ").concat(Nr));function Ur(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,i,s,a,u,l){if(ze.apply(this,arguments),Le){if(!Le)throw Error(o(198));var c=Ue;Le=!1,Ue=null,De||(De=!0,je=c)}}(r,t,void 0,e),e.currentTarget=null}function Dr(e,t){t=0!=(4&t);for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;e:{var o=void 0;if(t)for(var s=r.length-1;0<=s;s--){var a=r[s],u=a.instance,l=a.currentTarget;if(a=a.listener,u!==o&&i.isPropagationStopped())break e;Ur(i,a,l),o=u}else for(s=0;s<r.length;s++){if(u=(a=r[s]).instance,l=a.currentTarget,a=a.listener,u!==o&&i.isPropagationStopped())break e;Ur(i,a,l),o=u}}}if(De)throw e=je,De=!1,je=null,e}function jr(e,t){var n=t[mi];void 0===n&&(n=t[mi]=new Set);var r=e+"__bubble";n.has(r)||($r(t,e,2,!1),n.add(r))}function Br(e,t,n){var r=0;t&&(r|=4),$r(n,e,r,t)}var zr="_reactListening"+Math.random().toString(36).slice(2);function Hr(e){if(!e[zr]){e[zr]=!0,s.forEach((function(t){"selectionchange"!==t&&(Lr.has(t)||Br(t,!1,e),Br(t,!0,e))}));var t=9===e.nodeType?e:e.ownerDocument;null===t||t[zr]||(t[zr]=!0,Br("selectionchange",!1,t))}}function $r(e,t,n,r){switch(Yt(t)){case 1:var i=qt;break;case 4:i=Wt;break;default:i=Gt}n=i.bind(null,t,n,e),i=void 0,!Re||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(i=!0),r?void 0!==i?e.addEventListener(t,n,{capture:!0,passive:i}):e.addEventListener(t,n,!0):void 0!==i?e.addEventListener(t,n,{passive:i}):e.addEventListener(t,n,!1)}function Vr(e,t,n,r,i){var o=r;if(0==(1&t)&&0==(2&t)&&null!==r)e:for(;;){if(null===r)return;var s=r.tag;if(3===s||4===s){var a=r.stateNode.containerInfo;if(a===i||8===a.nodeType&&a.parentNode===i)break;if(4===s)for(s=r.return;null!==s;){var u=s.tag;if((3===u||4===u)&&((u=s.stateNode.containerInfo)===i||8===u.nodeType&&u.parentNode===i))return;s=s.return}for(;null!==a;){if(null===(s=yi(a)))return;if(5===(u=s.tag)||6===u){r=o=s;continue e}a=a.parentNode}}r=r.return}Fe((function(){var r=o,i=_e(n),s=[];e:{var a=Ar.get(e);if(void 0!==a){var u=cn,l=e;switch(e){case"keypress":if(0===tn(n))break e;case"keydown":case"keyup":u=Cn;break;case"focusin":l="focus",u=gn;break;case"focusout":l="blur",u=gn;break;case"beforeblur":case"afterblur":u=gn;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":u=dn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":u=mn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":u=Tn;break;case Pr:case Cr:case Or:u=vn;break;case Tr:u=An;break;case"scroll":u=hn;break;case"wheel":u=In;break;case"copy":case"cut":case"paste":u=bn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":u=On}var c=0!=(4&t),f=!c&&"scroll"===e,h=c?null!==a?a+"Capture":null:a;c=[];for(var p,d=r;null!==d;){var m=(p=d).stateNode;if(5===p.tag&&null!==m&&(p=m,null!==h&&null!=(m=Ie(d,h))&&c.push(qr(d,m,p))),f)break;d=d.return}0<c.length&&(a=new u(a,l,null,n,i),s.push({event:a,listeners:c}))}}if(0==(7&t)){if(u="mouseout"===e||"pointerout"===e,(!(a="mouseover"===e||"pointerover"===e)||n===we||!(l=n.relatedTarget||n.fromElement)||!yi(l)&&!l[di])&&(u||a)&&(a=i.window===i?i:(a=i.ownerDocument)?a.defaultView||a.parentWindow:window,u?(u=r,null!==(l=(l=n.relatedTarget||n.toElement)?yi(l):null)&&(l!==(f=He(l))||5!==l.tag&&6!==l.tag)&&(l=null)):(u=null,l=r),u!==l)){if(c=dn,m="onMouseLeave",h="onMouseEnter",d="mouse","pointerout"!==e&&"pointerover"!==e||(c=On,m="onPointerLeave",h="onPointerEnter",d="pointer"),f=null==u?a:wi(u),p=null==l?a:wi(l),(a=new c(m,d+"leave",u,n,i)).target=f,a.relatedTarget=p,m=null,yi(i)===r&&((c=new c(h,d+"enter",l,n,i)).target=p,c.relatedTarget=f,m=c),f=m,u&&l)e:{for(h=l,d=0,p=c=u;p;p=Gr(p))d++;for(p=0,m=h;m;m=Gr(m))p++;for(;0<d-p;)c=Gr(c),d--;for(;0<p-d;)h=Gr(h),p--;for(;d--;){if(c===h||null!==h&&c===h.alternate)break e;c=Gr(c),h=Gr(h)}c=null}else c=null;null!==u&&Zr(s,a,u,c,!1),null!==l&&null!==f&&Zr(s,f,l,c,!0)}if("select"===(u=(a=r?wi(r):window).nodeName&&a.nodeName.toLowerCase())||"input"===u&&"file"===a.type)var g=Yn;else if(Vn(a))if(Xn)g=sr;else{g=ir;var v=rr}else(u=a.nodeName)&&"input"===u.toLowerCase()&&("checkbox"===a.type||"radio"===a.type)&&(g=or);switch(g&&(g=g(e,r))?qn(s,g,n,i):(v&&v(e,a,r),"focusout"===e&&(v=a._wrapperState)&&v.controlled&&"number"===a.type&&ee(a,"number",a.value)),v=r?wi(r):window,e){case"focusin":(Vn(v)||"true"===v.contentEditable)&&(gr=v,vr=r,yr=null);break;case"focusout":yr=vr=gr=null;break;case"mousedown":br=!0;break;case"contextmenu":case"mouseup":case"dragend":br=!1,wr(s,n,i);break;case"selectionchange":if(mr)break;case"keydown":case"keyup":wr(s,n,i)}var y;if(Mn)e:{switch(e){case"compositionstart":var b="onCompositionStart";break e;case"compositionend":b="onCompositionEnd";break e;case"compositionupdate":b="onCompositionUpdate";break e}b=void 0}else Hn?Bn(e,n)&&(b="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(b="onCompositionStart");b&&(Un&&"ko"!==n.locale&&(Hn||"onCompositionStart"!==b?"onCompositionEnd"===b&&Hn&&(y=en()):(Qt="value"in(Xt=i)?Xt.value:Xt.textContent,Hn=!0)),0<(v=Wr(r,b)).length&&(b=new wn(b,e,null,n,i),s.push({event:b,listeners:v}),(y||null!==(y=zn(n)))&&(b.data=y))),(y=Ln?function(e,t){switch(e){case"compositionend":return zn(t);case"keypress":return 32!==t.which?null:(jn=!0,Dn);case"textInput":return(e=t.data)===Dn&&jn?null:e;default:return null}}(e,n):function(e,t){if(Hn)return"compositionend"===e||!Mn&&Bn(e,t)?(e=en(),Jt=Qt=Xt=null,Hn=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Un&&"ko"!==t.locale?null:t.data}}(e,n))&&0<(r=Wr(r,"onBeforeInput")).length&&(i=new wn("onBeforeInput","beforeinput",null,n,i),s.push({event:i,listeners:r}),i.data=y)}Dr(s,t)}))}function qr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Wr(e,t){for(var n=t+"Capture",r=[];null!==e;){var i=e,o=i.stateNode;5===i.tag&&null!==o&&(i=o,null!=(o=Ie(e,n))&&r.unshift(qr(e,o,i)),null!=(o=Ie(e,t))&&r.push(qr(e,o,i))),e=e.return}return r}function Gr(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Zr(e,t,n,r,i){for(var o=t._reactName,s=[];null!==n&&n!==r;){var a=n,u=a.alternate,l=a.stateNode;if(null!==u&&u===r)break;5===a.tag&&null!==l&&(a=l,i?null!=(u=Ie(n,o))&&s.unshift(qr(n,u,a)):i||null!=(u=Ie(n,o))&&s.push(qr(n,u,a))),n=n.return}0!==s.length&&e.push({event:t,listeners:s})}var Kr=/\r\n?/g,Yr=/\u0000|\uFFFD/g;function Xr(e){return("string"==typeof e?e:""+e).replace(Kr,"\n").replace(Yr,"")}function Qr(e,t,n){if(t=Xr(t),Xr(e)!==t&&n)throw Error(o(425))}function Jr(){}var ei=null,ti=null;function ni(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var ri="function"==typeof setTimeout?setTimeout:void 0,ii="function"==typeof clearTimeout?clearTimeout:void 0,oi="function"==typeof Promise?Promise:void 0,si="function"==typeof queueMicrotask?queueMicrotask:void 0!==oi?function(e){return oi.resolve(null).then(e).catch(ai)}:ri;function ai(e){setTimeout((function(){throw e}))}function ui(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&8===i.nodeType)if("/$"===(n=i.data)){if(0===r)return e.removeChild(i),void Ht(t);r--}else"$"!==n&&"$?"!==n&&"$!"!==n||r++;n=i}while(n);Ht(t)}function li(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t)break;if("/$"===t)return null}}return e}function ci(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var fi=Math.random().toString(36).slice(2),hi="__reactFiber$"+fi,pi="__reactProps$"+fi,di="__reactContainer$"+fi,mi="__reactEvents$"+fi,gi="__reactListeners$"+fi,vi="__reactHandles$"+fi;function yi(e){var t=e[hi];if(t)return t;for(var n=e.parentNode;n;){if(t=n[di]||n[hi]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=ci(e);null!==e;){if(n=e[hi])return n;e=ci(e)}return t}n=(e=n).parentNode}return null}function bi(e){return!(e=e[hi]||e[di])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function wi(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(o(33))}function _i(e){return e[pi]||null}var Si=[],xi=-1;function Ei(e){return{current:e}}function ki(e){0>xi||(e.current=Si[xi],Si[xi]=null,xi--)}function Pi(e,t){xi++,Si[xi]=e.current,e.current=t}var Ci={},Oi=Ei(Ci),Ti=Ei(!1),Ai=Ci;function Fi(e,t){var n=e.type.contextTypes;if(!n)return Ci;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i,o={};for(i in n)o[i]=t[i];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Ii(e){return null!=e.childContextTypes}function Ri(){ki(Ti),ki(Oi)}function Mi(e,t,n){if(Oi.current!==Ci)throw Error(o(168));Pi(Oi,t),Pi(Ti,n)}function Ni(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var i in r=r.getChildContext())if(!(i in t))throw Error(o(108,$(e)||"Unknown",i));return U({},n,r)}function Li(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Ci,Ai=Oi.current,Pi(Oi,e),Pi(Ti,Ti.current),!0}function Ui(e,t,n){var r=e.stateNode;if(!r)throw Error(o(169));n?(e=Ni(e,t,Ai),r.__reactInternalMemoizedMergedChildContext=e,ki(Ti),ki(Oi),Pi(Oi,e)):ki(Ti),Pi(Ti,n)}var Di=null,ji=!1,Bi=!1;function zi(e){null===Di?Di=[e]:Di.push(e)}function Hi(){if(!Bi&&null!==Di){Bi=!0;var e=0,t=bt;try{var n=Di;for(bt=1;e<n.length;e++){var r=n[e];do{r=r(!0)}while(null!==r)}Di=null,ji=!1}catch(t){throw null!==Di&&(Di=Di.slice(e+1)),Ge(Je,Hi),t}finally{bt=t,Bi=!1}}return null}var $i=[],Vi=0,qi=null,Wi=0,Gi=[],Zi=0,Ki=null,Yi=1,Xi="";function Qi(e,t){$i[Vi++]=Wi,$i[Vi++]=qi,qi=e,Wi=t}function Ji(e,t,n){Gi[Zi++]=Yi,Gi[Zi++]=Xi,Gi[Zi++]=Ki,Ki=e;var r=Yi;e=Xi;var i=32-st(r)-1;r&=~(1<<i),n+=1;var o=32-st(t)+i;if(30<o){var s=i-i%5;o=(r&(1<<s)-1).toString(32),r>>=s,i-=s,Yi=1<<32-st(t)+i|n<<i|r,Xi=o+e}else Yi=1<<o|n<<i|r,Xi=e}function eo(e){null!==e.return&&(Qi(e,1),Ji(e,1,0))}function to(e){for(;e===qi;)qi=$i[--Vi],$i[Vi]=null,Wi=$i[--Vi],$i[Vi]=null;for(;e===Ki;)Ki=Gi[--Zi],Gi[Zi]=null,Xi=Gi[--Zi],Gi[Zi]=null,Yi=Gi[--Zi],Gi[Zi]=null}var no=null,ro=null,io=!1,oo=null;function so(e,t){var n=Il(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,null===(t=e.deletions)?(e.deletions=[n],e.flags|=16):t.push(n)}function ao(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,no=e,ro=li(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,no=e,ro=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==Ki?{id:Yi,overflow:Xi}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=Il(18,null,null,0)).stateNode=t,n.return=e,e.child=n,no=e,ro=null,!0);default:return!1}}function uo(e){return 0!=(1&e.mode)&&0==(128&e.flags)}function lo(e){if(io){var t=ro;if(t){var n=t;if(!ao(e,t)){if(uo(e))throw Error(o(418));t=li(n.nextSibling);var r=no;t&&ao(e,t)?so(r,n):(e.flags=-4097&e.flags|2,io=!1,no=e)}}else{if(uo(e))throw Error(o(418));e.flags=-4097&e.flags|2,io=!1,no=e}}}function co(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;no=e}function fo(e){if(e!==no)return!1;if(!io)return co(e),io=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!ni(e.type,e.memoizedProps)),t&&(t=ro)){if(uo(e))throw ho(),Error(o(418));for(;t;)so(e,t),t=li(t.nextSibling)}if(co(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(o(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){ro=li(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}ro=null}}else ro=no?li(e.stateNode.nextSibling):null;return!0}function ho(){for(var e=ro;e;)e=li(e.nextSibling)}function po(){ro=no=null,io=!1}function mo(e){null===oo?oo=[e]:oo.push(e)}var go=w.ReactCurrentBatchConfig;function vo(e,t){if(e&&e.defaultProps){for(var n in t=U({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var yo=Ei(null),bo=null,wo=null,_o=null;function So(){_o=wo=bo=null}function xo(e){var t=yo.current;ki(yo),e._currentValue=t}function Eo(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function ko(e,t){bo=e,_o=wo=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!=(e.lanes&t)&&(wa=!0),e.firstContext=null)}function Po(e){var t=e._currentValue;if(_o!==e)if(e={context:e,memoizedValue:t,next:null},null===wo){if(null===bo)throw Error(o(308));wo=e,bo.dependencies={lanes:0,firstContext:e}}else wo=wo.next=e;return t}var Co=null;function Oo(e){null===Co?Co=[e]:Co.push(e)}function To(e,t,n,r){var i=t.interleaved;return null===i?(n.next=n,Oo(t)):(n.next=i.next,i.next=n),t.interleaved=n,Ao(e,r)}function Ao(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}var Fo=!1;function Io(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Ro(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Mo(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function No(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,0!=(2&Tu)){var i=r.pending;return null===i?t.next=t:(t.next=i.next,i.next=t),r.pending=t,Ao(e,n)}return null===(i=r.interleaved)?(t.next=t,Oo(r)):(t.next=i.next,i.next=t),r.interleaved=t,Ao(e,n)}function Lo(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,0!=(4194240&n))){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,yt(e,n)}}function Uo(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var i=null,o=null;if(null!==(n=n.firstBaseUpdate)){do{var s={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===o?i=o=s:o=o.next=s,n=n.next}while(null!==n);null===o?i=o=t:o=o.next=t}else i=o=t;return n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:o,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Do(e,t,n,r){var i=e.updateQueue;Fo=!1;var o=i.firstBaseUpdate,s=i.lastBaseUpdate,a=i.shared.pending;if(null!==a){i.shared.pending=null;var u=a,l=u.next;u.next=null,null===s?o=l:s.next=l,s=u;var c=e.alternate;null!==c&&(a=(c=c.updateQueue).lastBaseUpdate)!==s&&(null===a?c.firstBaseUpdate=l:a.next=l,c.lastBaseUpdate=u)}if(null!==o){var f=i.baseState;for(s=0,c=l=u=null,a=o;;){var h=a.lane,p=a.eventTime;if((r&h)===h){null!==c&&(c=c.next={eventTime:p,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var d=e,m=a;switch(h=t,p=n,m.tag){case 1:if("function"==typeof(d=m.payload)){f=d.call(p,f,h);break e}f=d;break e;case 3:d.flags=-65537&d.flags|128;case 0:if(null==(h="function"==typeof(d=m.payload)?d.call(p,f,h):d))break e;f=U({},f,h);break e;case 2:Fo=!0}}null!==a.callback&&0!==a.lane&&(e.flags|=64,null===(h=i.effects)?i.effects=[a]:h.push(a))}else p={eventTime:p,lane:h,tag:a.tag,payload:a.payload,callback:a.callback,next:null},null===c?(l=c=p,u=f):c=c.next=p,s|=h;if(null===(a=a.next)){if(null===(a=i.shared.pending))break;a=(h=a).next,h.next=null,i.lastBaseUpdate=h,i.shared.pending=null}}if(null===c&&(u=f),i.baseState=u,i.firstBaseUpdate=l,i.lastBaseUpdate=c,null!==(t=i.shared.interleaved)){i=t;do{s|=i.lane,i=i.next}while(i!==t)}else null===o&&(i.shared.lanes=0);Uu|=s,e.lanes=s,e.memoizedState=f}}function jo(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],i=r.callback;if(null!==i){if(r.callback=null,r=n,"function"!=typeof i)throw Error(o(191,i));i.call(r)}}}var Bo=(new r.Component).refs;function zo(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:U({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var Ho={isMounted:function(e){return!!(e=e._reactInternals)&&He(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=tl(),i=nl(e),o=Mo(r,i);o.payload=t,null!=n&&(o.callback=n),null!==(t=No(e,o,i))&&(rl(t,e,i,r),Lo(t,e,i))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=tl(),i=nl(e),o=Mo(r,i);o.tag=1,o.payload=t,null!=n&&(o.callback=n),null!==(t=No(e,o,i))&&(rl(t,e,i,r),Lo(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=tl(),r=nl(e),i=Mo(n,r);i.tag=2,null!=t&&(i.callback=t),null!==(t=No(e,i,r))&&(rl(t,e,r,n),Lo(t,e,r))}};function $o(e,t,n,r,i,o,s){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,o,s):!(t.prototype&&t.prototype.isPureReactComponent&&ur(n,r)&&ur(i,o))}function Vo(e,t,n){var r=!1,i=Ci,o=t.contextType;return"object"==typeof o&&null!==o?o=Po(o):(i=Ii(t)?Ai:Oi.current,o=(r=null!=(r=t.contextTypes))?Fi(e,i):Ci),t=new t(n,o),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=Ho,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=o),t}function qo(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Ho.enqueueReplaceState(t,t.state,null)}function Wo(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs=Bo,Io(e);var o=t.contextType;"object"==typeof o&&null!==o?i.context=Po(o):(o=Ii(t)?Ai:Oi.current,i.context=Fi(e,o)),i.state=e.memoizedState,"function"==typeof(o=t.getDerivedStateFromProps)&&(zo(e,t,o,n),i.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof i.getSnapshotBeforeUpdate||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||(t=i.state,"function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount(),t!==i.state&&Ho.enqueueReplaceState(i,i.state,null),Do(e,n,i,r),i.state=e.memoizedState),"function"==typeof i.componentDidMount&&(e.flags|=4194308)}function Go(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(o(309));var r=n.stateNode}if(!r)throw Error(o(147,e));var i=r,s=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===s?t.ref:(t=function(e){var t=i.refs;t===Bo&&(t=i.refs={}),null===e?delete t[s]:t[s]=e},t._stringRef=s,t)}if("string"!=typeof e)throw Error(o(284));if(!n._owner)throw Error(o(290,e))}return e}function Zo(e,t){throw e=Object.prototype.toString.call(t),Error(o(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Ko(e){return(0,e._init)(e._payload)}function Yo(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function i(e,t){return(e=Ml(e,t)).index=0,e.sibling=null,e}function s(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=2,n):r:(t.flags|=2,n):(t.flags|=1048576,n)}function a(t){return e&&null===t.alternate&&(t.flags|=2),t}function u(e,t,n,r){return null===t||6!==t.tag?((t=Dl(n,e.mode,r)).return=e,t):((t=i(t,n)).return=e,t)}function l(e,t,n,r){var o=n.type;return o===x?f(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===o||"object"==typeof o&&null!==o&&o.$$typeof===I&&Ko(o)===t.type)?((r=i(t,n.props)).ref=Go(e,t,n),r.return=e,r):((r=Nl(n.type,n.key,n.props,null,e.mode,r)).ref=Go(e,t,n),r.return=e,r)}function c(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=jl(n,e.mode,r)).return=e,t):((t=i(t,n.children||[])).return=e,t)}function f(e,t,n,r,o){return null===t||7!==t.tag?((t=Ll(n,e.mode,r,o)).return=e,t):((t=i(t,n)).return=e,t)}function h(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t)return(t=Dl(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case _:return(n=Nl(t.type,t.key,t.props,null,e.mode,n)).ref=Go(e,null,t),n.return=e,n;case S:return(t=jl(t,e.mode,n)).return=e,t;case I:return h(e,(0,t._init)(t._payload),n)}if(te(t)||N(t))return(t=Ll(t,e.mode,n,null)).return=e,t;Zo(e,t)}return null}function p(e,t,n,r){var i=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n)return null!==i?null:u(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case _:return n.key===i?l(e,t,n,r):null;case S:return n.key===i?c(e,t,n,r):null;case I:return p(e,t,(i=n._init)(n._payload),r)}if(te(n)||N(n))return null!==i?null:f(e,t,n,r,null);Zo(e,n)}return null}function d(e,t,n,r,i){if("string"==typeof r&&""!==r||"number"==typeof r)return u(t,e=e.get(n)||null,""+r,i);if("object"==typeof r&&null!==r){switch(r.$$typeof){case _:return l(t,e=e.get(null===r.key?n:r.key)||null,r,i);case S:return c(t,e=e.get(null===r.key?n:r.key)||null,r,i);case I:return d(e,t,n,(0,r._init)(r._payload),i)}if(te(r)||N(r))return f(t,e=e.get(n)||null,r,i,null);Zo(t,r)}return null}function m(i,o,a,u){for(var l=null,c=null,f=o,m=o=0,g=null;null!==f&&m<a.length;m++){f.index>m?(g=f,f=null):g=f.sibling;var v=p(i,f,a[m],u);if(null===v){null===f&&(f=g);break}e&&f&&null===v.alternate&&t(i,f),o=s(v,o,m),null===c?l=v:c.sibling=v,c=v,f=g}if(m===a.length)return n(i,f),io&&Qi(i,m),l;if(null===f){for(;m<a.length;m++)null!==(f=h(i,a[m],u))&&(o=s(f,o,m),null===c?l=f:c.sibling=f,c=f);return io&&Qi(i,m),l}for(f=r(i,f);m<a.length;m++)null!==(g=d(f,i,m,a[m],u))&&(e&&null!==g.alternate&&f.delete(null===g.key?m:g.key),o=s(g,o,m),null===c?l=g:c.sibling=g,c=g);return e&&f.forEach((function(e){return t(i,e)})),io&&Qi(i,m),l}function g(i,a,u,l){var c=N(u);if("function"!=typeof c)throw Error(o(150));if(null==(u=c.call(u)))throw Error(o(151));for(var f=c=null,m=a,g=a=0,v=null,y=u.next();null!==m&&!y.done;g++,y=u.next()){m.index>g?(v=m,m=null):v=m.sibling;var b=p(i,m,y.value,l);if(null===b){null===m&&(m=v);break}e&&m&&null===b.alternate&&t(i,m),a=s(b,a,g),null===f?c=b:f.sibling=b,f=b,m=v}if(y.done)return n(i,m),io&&Qi(i,g),c;if(null===m){for(;!y.done;g++,y=u.next())null!==(y=h(i,y.value,l))&&(a=s(y,a,g),null===f?c=y:f.sibling=y,f=y);return io&&Qi(i,g),c}for(m=r(i,m);!y.done;g++,y=u.next())null!==(y=d(m,i,g,y.value,l))&&(e&&null!==y.alternate&&m.delete(null===y.key?g:y.key),a=s(y,a,g),null===f?c=y:f.sibling=y,f=y);return e&&m.forEach((function(e){return t(i,e)})),io&&Qi(i,g),c}return function e(r,o,s,u){if("object"==typeof s&&null!==s&&s.type===x&&null===s.key&&(s=s.props.children),"object"==typeof s&&null!==s){switch(s.$$typeof){case _:e:{for(var l=s.key,c=o;null!==c;){if(c.key===l){if((l=s.type)===x){if(7===c.tag){n(r,c.sibling),(o=i(c,s.props.children)).return=r,r=o;break e}}else if(c.elementType===l||"object"==typeof l&&null!==l&&l.$$typeof===I&&Ko(l)===c.type){n(r,c.sibling),(o=i(c,s.props)).ref=Go(r,c,s),o.return=r,r=o;break e}n(r,c);break}t(r,c),c=c.sibling}s.type===x?((o=Ll(s.props.children,r.mode,u,s.key)).return=r,r=o):((u=Nl(s.type,s.key,s.props,null,r.mode,u)).ref=Go(r,o,s),u.return=r,r=u)}return a(r);case S:e:{for(c=s.key;null!==o;){if(o.key===c){if(4===o.tag&&o.stateNode.containerInfo===s.containerInfo&&o.stateNode.implementation===s.implementation){n(r,o.sibling),(o=i(o,s.children||[])).return=r,r=o;break e}n(r,o);break}t(r,o),o=o.sibling}(o=jl(s,r.mode,u)).return=r,r=o}return a(r);case I:return e(r,o,(c=s._init)(s._payload),u)}if(te(s))return m(r,o,s,u);if(N(s))return g(r,o,s,u);Zo(r,s)}return"string"==typeof s&&""!==s||"number"==typeof s?(s=""+s,null!==o&&6===o.tag?(n(r,o.sibling),(o=i(o,s)).return=r,r=o):(n(r,o),(o=Dl(s,r.mode,u)).return=r,r=o),a(r)):n(r,o)}}var Xo=Yo(!0),Qo=Yo(!1),Jo={},es=Ei(Jo),ts=Ei(Jo),ns=Ei(Jo);function rs(e){if(e===Jo)throw Error(o(174));return e}function is(e,t){switch(Pi(ns,t),Pi(ts,e),Pi(es,Jo),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:ue(null,"");break;default:t=ue(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}ki(es),Pi(es,t)}function os(){ki(es),ki(ts),ki(ns)}function ss(e){rs(ns.current);var t=rs(es.current),n=ue(t,e.type);t!==n&&(Pi(ts,e),Pi(es,n))}function as(e){ts.current===e&&(ki(es),ki(ts))}var us=Ei(0);function ls(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(128&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var cs=[];function fs(){for(var e=0;e<cs.length;e++)cs[e]._workInProgressVersionPrimary=null;cs.length=0}var hs=w.ReactCurrentDispatcher,ps=w.ReactCurrentBatchConfig,ds=0,ms=null,gs=null,vs=null,ys=!1,bs=!1,ws=0,_s=0;function Ss(){throw Error(o(321))}function xs(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!ar(e[n],t[n]))return!1;return!0}function Es(e,t,n,r,i,s){if(ds=s,ms=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,hs.current=null===e||null===e.memoizedState?aa:ua,e=n(r,i),bs){s=0;do{if(bs=!1,ws=0,25<=s)throw Error(o(301));s+=1,vs=gs=null,t.updateQueue=null,hs.current=la,e=n(r,i)}while(bs)}if(hs.current=sa,t=null!==gs&&null!==gs.next,ds=0,vs=gs=ms=null,ys=!1,t)throw Error(o(300));return e}function ks(){var e=0!==ws;return ws=0,e}function Ps(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===vs?ms.memoizedState=vs=e:vs=vs.next=e,vs}function Cs(){if(null===gs){var e=ms.alternate;e=null!==e?e.memoizedState:null}else e=gs.next;var t=null===vs?ms.memoizedState:vs.next;if(null!==t)vs=t,gs=e;else{if(null===e)throw Error(o(310));e={memoizedState:(gs=e).memoizedState,baseState:gs.baseState,baseQueue:gs.baseQueue,queue:gs.queue,next:null},null===vs?ms.memoizedState=vs=e:vs=vs.next=e}return vs}function Os(e,t){return"function"==typeof t?t(e):t}function Ts(e){var t=Cs(),n=t.queue;if(null===n)throw Error(o(311));n.lastRenderedReducer=e;var r=gs,i=r.baseQueue,s=n.pending;if(null!==s){if(null!==i){var a=i.next;i.next=s.next,s.next=a}r.baseQueue=i=s,n.pending=null}if(null!==i){s=i.next,r=r.baseState;var u=a=null,l=null,c=s;do{var f=c.lane;if((ds&f)===f)null!==l&&(l=l.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),r=c.hasEagerState?c.eagerState:e(r,c.action);else{var h={lane:f,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};null===l?(u=l=h,a=r):l=l.next=h,ms.lanes|=f,Uu|=f}c=c.next}while(null!==c&&c!==s);null===l?a=r:l.next=u,ar(r,t.memoizedState)||(wa=!0),t.memoizedState=r,t.baseState=a,t.baseQueue=l,n.lastRenderedState=r}if(null!==(e=n.interleaved)){i=e;do{s=i.lane,ms.lanes|=s,Uu|=s,i=i.next}while(i!==e)}else null===i&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function As(e){var t=Cs(),n=t.queue;if(null===n)throw Error(o(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,s=t.memoizedState;if(null!==i){n.pending=null;var a=i=i.next;do{s=e(s,a.action),a=a.next}while(a!==i);ar(s,t.memoizedState)||(wa=!0),t.memoizedState=s,null===t.baseQueue&&(t.baseState=s),n.lastRenderedState=s}return[s,r]}function Fs(){}function Is(e,t){var n=ms,r=Cs(),i=t(),s=!ar(r.memoizedState,i);if(s&&(r.memoizedState=i,wa=!0),r=r.queue,Vs(Ns.bind(null,n,r,e),[e]),r.getSnapshot!==t||s||null!==vs&&1&vs.memoizedState.tag){if(n.flags|=2048,js(9,Ms.bind(null,n,r,i,t),void 0,null),null===Au)throw Error(o(349));0!=(30&ds)||Rs(n,t,i)}return i}function Rs(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=ms.updateQueue)?(t={lastEffect:null,stores:null},ms.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function Ms(e,t,n,r){t.value=n,t.getSnapshot=r,Ls(t)&&Us(e)}function Ns(e,t,n){return n((function(){Ls(t)&&Us(e)}))}function Ls(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!ar(e,n)}catch(e){return!0}}function Us(e){var t=Ao(e,1);null!==t&&rl(t,e,1,-1)}function Ds(e){var t=Ps();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Os,lastRenderedState:e},t.queue=e,e=e.dispatch=na.bind(null,ms,e),[t.memoizedState,e]}function js(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=ms.updateQueue)?(t={lastEffect:null,stores:null},ms.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function Bs(){return Cs().memoizedState}function zs(e,t,n,r){var i=Ps();ms.flags|=e,i.memoizedState=js(1|t,n,void 0,void 0===r?null:r)}function Hs(e,t,n,r){var i=Cs();r=void 0===r?null:r;var o=void 0;if(null!==gs){var s=gs.memoizedState;if(o=s.destroy,null!==r&&xs(r,s.deps))return void(i.memoizedState=js(t,n,o,r))}ms.flags|=e,i.memoizedState=js(1|t,n,o,r)}function $s(e,t){return zs(8390656,8,e,t)}function Vs(e,t){return Hs(2048,8,e,t)}function qs(e,t){return Hs(4,2,e,t)}function Ws(e,t){return Hs(4,4,e,t)}function Gs(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Zs(e,t,n){return n=null!=n?n.concat([e]):null,Hs(4,4,Gs.bind(null,t,e),n)}function Ks(){}function Ys(e,t){var n=Cs();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&xs(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Xs(e,t){var n=Cs();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&xs(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Qs(e,t,n){return 0==(21&ds)?(e.baseState&&(e.baseState=!1,wa=!0),e.memoizedState=n):(ar(n,t)||(n=mt(),ms.lanes|=n,Uu|=n,e.baseState=!0),t)}function Js(e,t){var n=bt;bt=0!==n&&4>n?n:4,e(!0);var r=ps.transition;ps.transition={};try{e(!1),t()}finally{bt=n,ps.transition=r}}function ea(){return Cs().memoizedState}function ta(e,t,n){var r=nl(e);n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},ra(e)?ia(t,n):null!==(n=To(e,t,n,r))&&(rl(n,e,r,tl()),oa(n,t,r))}function na(e,t,n){var r=nl(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(ra(e))ia(t,i);else{var o=e.alternate;if(0===e.lanes&&(null===o||0===o.lanes)&&null!==(o=t.lastRenderedReducer))try{var s=t.lastRenderedState,a=o(s,n);if(i.hasEagerState=!0,i.eagerState=a,ar(a,s)){var u=t.interleaved;return null===u?(i.next=i,Oo(t)):(i.next=u.next,u.next=i),void(t.interleaved=i)}}catch(e){}null!==(n=To(e,t,i,r))&&(rl(n,e,r,i=tl()),oa(n,t,r))}}function ra(e){var t=e.alternate;return e===ms||null!==t&&t===ms}function ia(e,t){bs=ys=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function oa(e,t,n){if(0!=(4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,yt(e,n)}}var sa={readContext:Po,useCallback:Ss,useContext:Ss,useEffect:Ss,useImperativeHandle:Ss,useInsertionEffect:Ss,useLayoutEffect:Ss,useMemo:Ss,useReducer:Ss,useRef:Ss,useState:Ss,useDebugValue:Ss,useDeferredValue:Ss,useTransition:Ss,useMutableSource:Ss,useSyncExternalStore:Ss,useId:Ss,unstable_isNewReconciler:!1},aa={readContext:Po,useCallback:function(e,t){return Ps().memoizedState=[e,void 0===t?null:t],e},useContext:Po,useEffect:$s,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,zs(4194308,4,Gs.bind(null,t,e),n)},useLayoutEffect:function(e,t){return zs(4194308,4,e,t)},useInsertionEffect:function(e,t){return zs(4,2,e,t)},useMemo:function(e,t){var n=Ps();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Ps();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=ta.bind(null,ms,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},Ps().memoizedState=e},useState:Ds,useDebugValue:Ks,useDeferredValue:function(e){return Ps().memoizedState=e},useTransition:function(){var e=Ds(!1),t=e[0];return e=Js.bind(null,e[1]),Ps().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=ms,i=Ps();if(io){if(void 0===n)throw Error(o(407));n=n()}else{if(n=t(),null===Au)throw Error(o(349));0!=(30&ds)||Rs(r,t,n)}i.memoizedState=n;var s={value:n,getSnapshot:t};return i.queue=s,$s(Ns.bind(null,r,s,e),[e]),r.flags|=2048,js(9,Ms.bind(null,r,s,n,t),void 0,null),n},useId:function(){var e=Ps(),t=Au.identifierPrefix;if(io){var n=Xi;t=":"+t+"R"+(n=(Yi&~(1<<32-st(Yi)-1)).toString(32)+n),0<(n=ws++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=_s++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},ua={readContext:Po,useCallback:Ys,useContext:Po,useEffect:Vs,useImperativeHandle:Zs,useInsertionEffect:qs,useLayoutEffect:Ws,useMemo:Xs,useReducer:Ts,useRef:Bs,useState:function(){return Ts(Os)},useDebugValue:Ks,useDeferredValue:function(e){return Qs(Cs(),gs.memoizedState,e)},useTransition:function(){return[Ts(Os)[0],Cs().memoizedState]},useMutableSource:Fs,useSyncExternalStore:Is,useId:ea,unstable_isNewReconciler:!1},la={readContext:Po,useCallback:Ys,useContext:Po,useEffect:Vs,useImperativeHandle:Zs,useInsertionEffect:qs,useLayoutEffect:Ws,useMemo:Xs,useReducer:As,useRef:Bs,useState:function(){return As(Os)},useDebugValue:Ks,useDeferredValue:function(e){var t=Cs();return null===gs?t.memoizedState=e:Qs(t,gs.memoizedState,e)},useTransition:function(){return[As(Os)[0],Cs().memoizedState]},useMutableSource:Fs,useSyncExternalStore:Is,useId:ea,unstable_isNewReconciler:!1};function ca(e,t){try{var n="",r=t;do{n+=z(r),r=r.return}while(r);var i=n}catch(e){i="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:i,digest:null}}function fa(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function ha(e,t){try{console.error(t.value)}catch(e){setTimeout((function(){throw e}))}}var pa="function"==typeof WeakMap?WeakMap:Map;function da(e,t,n){(n=Mo(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){qu||(qu=!0,Wu=r),ha(0,t)},n}function ma(e,t,n){(n=Mo(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){ha(0,t)}}var o=e.stateNode;return null!==o&&"function"==typeof o.componentDidCatch&&(n.callback=function(){ha(0,t),"function"!=typeof r&&(null===Gu?Gu=new Set([this]):Gu.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function ga(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new pa;var i=new Set;r.set(t,i)}else void 0===(i=r.get(t))&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=Pl.bind(null,e,t,n),t.then(e,e))}function va(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function ya(e,t,n,r,i){return 0==(1&e.mode)?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=Mo(-1,1)).tag=2,No(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=i,e)}var ba=w.ReactCurrentOwner,wa=!1;function _a(e,t,n,r){t.child=null===e?Qo(t,null,n,r):Xo(t,e.child,n,r)}function Sa(e,t,n,r,i){n=n.render;var o=t.ref;return ko(t,i),r=Es(e,t,n,r,o,i),n=ks(),null===e||wa?(io&&n&&eo(t),t.flags|=1,_a(e,t,r,i),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,qa(e,t,i))}function xa(e,t,n,r,i){if(null===e){var o=n.type;return"function"!=typeof o||Rl(o)||void 0!==o.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Nl(n.type,null,r,t,t.mode,i)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=o,Ea(e,t,o,r,i))}if(o=e.child,0==(e.lanes&i)){var s=o.memoizedProps;if((n=null!==(n=n.compare)?n:ur)(s,r)&&e.ref===t.ref)return qa(e,t,i)}return t.flags|=1,(e=Ml(o,r)).ref=t.ref,e.return=t,t.child=e}function Ea(e,t,n,r,i){if(null!==e){var o=e.memoizedProps;if(ur(o,r)&&e.ref===t.ref){if(wa=!1,t.pendingProps=r=o,0==(e.lanes&i))return t.lanes=e.lanes,qa(e,t,i);0!=(131072&e.flags)&&(wa=!0)}}return Ca(e,t,n,r,i)}function ka(e,t,n){var r=t.pendingProps,i=r.children,o=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(0==(1&t.mode))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Pi(Mu,Ru),Ru|=n;else{if(0==(1073741824&n))return e=null!==o?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Pi(Mu,Ru),Ru|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==o?o.baseLanes:n,Pi(Mu,Ru),Ru|=r}else null!==o?(r=o.baseLanes|n,t.memoizedState=null):r=n,Pi(Mu,Ru),Ru|=r;return _a(e,t,i,n),t.child}function Pa(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Ca(e,t,n,r,i){var o=Ii(n)?Ai:Oi.current;return o=Fi(t,o),ko(t,i),n=Es(e,t,n,r,o,i),r=ks(),null===e||wa?(io&&r&&eo(t),t.flags|=1,_a(e,t,n,i),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,qa(e,t,i))}function Oa(e,t,n,r,i){if(Ii(n)){var o=!0;Li(t)}else o=!1;if(ko(t,i),null===t.stateNode)Va(e,t),Vo(t,n,r),Wo(t,n,r,i),r=!0;else if(null===e){var s=t.stateNode,a=t.memoizedProps;s.props=a;var u=s.context,l=n.contextType;l="object"==typeof l&&null!==l?Po(l):Fi(t,l=Ii(n)?Ai:Oi.current);var c=n.getDerivedStateFromProps,f="function"==typeof c||"function"==typeof s.getSnapshotBeforeUpdate;f||"function"!=typeof s.UNSAFE_componentWillReceiveProps&&"function"!=typeof s.componentWillReceiveProps||(a!==r||u!==l)&&qo(t,s,r,l),Fo=!1;var h=t.memoizedState;s.state=h,Do(t,r,s,i),u=t.memoizedState,a!==r||h!==u||Ti.current||Fo?("function"==typeof c&&(zo(t,n,c,r),u=t.memoizedState),(a=Fo||$o(t,n,a,r,h,u,l))?(f||"function"!=typeof s.UNSAFE_componentWillMount&&"function"!=typeof s.componentWillMount||("function"==typeof s.componentWillMount&&s.componentWillMount(),"function"==typeof s.UNSAFE_componentWillMount&&s.UNSAFE_componentWillMount()),"function"==typeof s.componentDidMount&&(t.flags|=4194308)):("function"==typeof s.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=u),s.props=r,s.state=u,s.context=l,r=a):("function"==typeof s.componentDidMount&&(t.flags|=4194308),r=!1)}else{s=t.stateNode,Ro(e,t),a=t.memoizedProps,l=t.type===t.elementType?a:vo(t.type,a),s.props=l,f=t.pendingProps,h=s.context,u="object"==typeof(u=n.contextType)&&null!==u?Po(u):Fi(t,u=Ii(n)?Ai:Oi.current);var p=n.getDerivedStateFromProps;(c="function"==typeof p||"function"==typeof s.getSnapshotBeforeUpdate)||"function"!=typeof s.UNSAFE_componentWillReceiveProps&&"function"!=typeof s.componentWillReceiveProps||(a!==f||h!==u)&&qo(t,s,r,u),Fo=!1,h=t.memoizedState,s.state=h,Do(t,r,s,i);var d=t.memoizedState;a!==f||h!==d||Ti.current||Fo?("function"==typeof p&&(zo(t,n,p,r),d=t.memoizedState),(l=Fo||$o(t,n,l,r,h,d,u)||!1)?(c||"function"!=typeof s.UNSAFE_componentWillUpdate&&"function"!=typeof s.componentWillUpdate||("function"==typeof s.componentWillUpdate&&s.componentWillUpdate(r,d,u),"function"==typeof s.UNSAFE_componentWillUpdate&&s.UNSAFE_componentWillUpdate(r,d,u)),"function"==typeof s.componentDidUpdate&&(t.flags|=4),"function"==typeof s.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof s.componentDidUpdate||a===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),"function"!=typeof s.getSnapshotBeforeUpdate||a===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=d),s.props=r,s.state=d,s.context=u,r=l):("function"!=typeof s.componentDidUpdate||a===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),"function"!=typeof s.getSnapshotBeforeUpdate||a===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),r=!1)}return Ta(e,t,n,r,o,i)}function Ta(e,t,n,r,i,o){Pa(e,t);var s=0!=(128&t.flags);if(!r&&!s)return i&&Ui(t,n,!1),qa(e,t,o);r=t.stateNode,ba.current=t;var a=s&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&s?(t.child=Xo(t,e.child,null,o),t.child=Xo(t,null,a,o)):_a(e,t,a,o),t.memoizedState=r.state,i&&Ui(t,n,!0),t.child}function Aa(e){var t=e.stateNode;t.pendingContext?Mi(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Mi(0,t.context,!1),is(e,t.containerInfo)}function Fa(e,t,n,r,i){return po(),mo(i),t.flags|=256,_a(e,t,n,r),t.child}var Ia,Ra,Ma,Na,La={dehydrated:null,treeContext:null,retryLane:0};function Ua(e){return{baseLanes:e,cachePool:null,transitions:null}}function Da(e,t,n){var r,i=t.pendingProps,s=us.current,a=!1,u=0!=(128&t.flags);if((r=u)||(r=(null===e||null!==e.memoizedState)&&0!=(2&s)),r?(a=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(s|=1),Pi(us,1&s),null===e)return lo(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(0==(1&t.mode)?t.lanes=1:"$!"===e.data?t.lanes=8:t.lanes=1073741824,null):(u=i.children,e=i.fallback,a?(i=t.mode,a=t.child,u={mode:"hidden",children:u},0==(1&i)&&null!==a?(a.childLanes=0,a.pendingProps=u):a=Ul(u,i,0,null),e=Ll(e,i,n,null),a.return=t,e.return=t,a.sibling=e,t.child=a,t.child.memoizedState=Ua(n),t.memoizedState=La,e):ja(t,u));if(null!==(s=e.memoizedState)&&null!==(r=s.dehydrated))return function(e,t,n,r,i,s,a){if(n)return 256&t.flags?(t.flags&=-257,Ba(e,t,a,r=fa(Error(o(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(s=r.fallback,i=t.mode,r=Ul({mode:"visible",children:r.children},i,0,null),(s=Ll(s,i,a,null)).flags|=2,r.return=t,s.return=t,r.sibling=s,t.child=r,0!=(1&t.mode)&&Xo(t,e.child,null,a),t.child.memoizedState=Ua(a),t.memoizedState=La,s);if(0==(1&t.mode))return Ba(e,t,a,null);if("$!"===i.data){if(r=i.nextSibling&&i.nextSibling.dataset)var u=r.dgst;return r=u,Ba(e,t,a,r=fa(s=Error(o(419)),r,void 0))}if(u=0!=(a&e.childLanes),wa||u){if(null!==(r=Au)){switch(a&-a){case 4:i=2;break;case 16:i=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:i=32;break;case 536870912:i=268435456;break;default:i=0}0!==(i=0!=(i&(r.suspendedLanes|a))?0:i)&&i!==s.retryLane&&(s.retryLane=i,Ao(e,i),rl(r,e,i,-1))}return gl(),Ba(e,t,a,r=fa(Error(o(421))))}return"$?"===i.data?(t.flags|=128,t.child=e.child,t=Ol.bind(null,e),i._reactRetry=t,null):(e=s.treeContext,ro=li(i.nextSibling),no=t,io=!0,oo=null,null!==e&&(Gi[Zi++]=Yi,Gi[Zi++]=Xi,Gi[Zi++]=Ki,Yi=e.id,Xi=e.overflow,Ki=t),(t=ja(t,r.children)).flags|=4096,t)}(e,t,u,i,r,s,n);if(a){a=i.fallback,u=t.mode,r=(s=e.child).sibling;var l={mode:"hidden",children:i.children};return 0==(1&u)&&t.child!==s?((i=t.child).childLanes=0,i.pendingProps=l,t.deletions=null):(i=Ml(s,l)).subtreeFlags=14680064&s.subtreeFlags,null!==r?a=Ml(r,a):(a=Ll(a,u,n,null)).flags|=2,a.return=t,i.return=t,i.sibling=a,t.child=i,i=a,a=t.child,u=null===(u=e.child.memoizedState)?Ua(n):{baseLanes:u.baseLanes|n,cachePool:null,transitions:u.transitions},a.memoizedState=u,a.childLanes=e.childLanes&~n,t.memoizedState=La,i}return e=(a=e.child).sibling,i=Ml(a,{mode:"visible",children:i.children}),0==(1&t.mode)&&(i.lanes=n),i.return=t,i.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=i,t.memoizedState=null,i}function ja(e,t){return(t=Ul({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function Ba(e,t,n,r){return null!==r&&mo(r),Xo(t,e.child,null,n),(e=ja(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function za(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),Eo(e.return,t,n)}function Ha(e,t,n,r,i){var o=e.memoizedState;null===o?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=i)}function $a(e,t,n){var r=t.pendingProps,i=r.revealOrder,o=r.tail;if(_a(e,t,r.children,n),0!=(2&(r=us.current)))r=1&r|2,t.flags|=128;else{if(null!==e&&0!=(128&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&za(e,n,t);else if(19===e.tag)za(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(Pi(us,r),0==(1&t.mode))t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;null!==n;)null!==(e=n.alternate)&&null===ls(e)&&(i=n),n=n.sibling;null===(n=i)?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),Ha(t,!1,i,n,o);break;case"backwards":for(n=null,i=t.child,t.child=null;null!==i;){if(null!==(e=i.alternate)&&null===ls(e)){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}Ha(t,!0,n,null,o);break;case"together":Ha(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Va(e,t){0==(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function qa(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Uu|=t.lanes,0==(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(o(153));if(null!==t.child){for(n=Ml(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Ml(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function Wa(e,t){if(!io)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Ga(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;null!==i;)n|=i.lanes|i.childLanes,r|=14680064&i.subtreeFlags,r|=14680064&i.flags,i.return=e,i=i.sibling;else for(i=e.child;null!==i;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Za(e,t,n){var r=t.pendingProps;switch(to(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ga(t),null;case 1:case 17:return Ii(t.type)&&Ri(),Ga(t),null;case 3:return r=t.stateNode,os(),ki(Ti),ki(Oi),fs(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(fo(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&0==(256&t.flags)||(t.flags|=1024,null!==oo&&(al(oo),oo=null))),Ra(e,t),Ga(t),null;case 5:as(t);var i=rs(ns.current);if(n=t.type,null!==e&&null!=t.stateNode)Ma(e,t,n,r,i),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(o(166));return Ga(t),null}if(e=rs(es.current),fo(t)){r=t.stateNode,n=t.type;var s=t.memoizedProps;switch(r[hi]=t,r[pi]=s,e=0!=(1&t.mode),n){case"dialog":jr("cancel",r),jr("close",r);break;case"iframe":case"object":case"embed":jr("load",r);break;case"video":case"audio":for(i=0;i<Nr.length;i++)jr(Nr[i],r);break;case"source":jr("error",r);break;case"img":case"image":case"link":jr("error",r),jr("load",r);break;case"details":jr("toggle",r);break;case"input":Y(r,s),jr("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!s.multiple},jr("invalid",r);break;case"textarea":ie(r,s),jr("invalid",r)}for(var u in ye(n,s),i=null,s)if(s.hasOwnProperty(u)){var l=s[u];"children"===u?"string"==typeof l?r.textContent!==l&&(!0!==s.suppressHydrationWarning&&Qr(r.textContent,l,e),i=["children",l]):"number"==typeof l&&r.textContent!==""+l&&(!0!==s.suppressHydrationWarning&&Qr(r.textContent,l,e),i=["children",""+l]):a.hasOwnProperty(u)&&null!=l&&"onScroll"===u&&jr("scroll",r)}switch(n){case"input":W(r),J(r,s,!0);break;case"textarea":W(r),se(r);break;case"select":case"option":break;default:"function"==typeof s.onClick&&(r.onclick=Jr)}r=i,t.updateQueue=r,null!==r&&(t.flags|=4)}else{u=9===i.nodeType?i:i.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=ae(n)),"http://www.w3.org/1999/xhtml"===e?"script"===n?((e=u.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=u.createElement(n,{is:r.is}):(e=u.createElement(n),"select"===n&&(u=e,r.multiple?u.multiple=!0:r.size&&(u.size=r.size))):e=u.createElementNS(e,n),e[hi]=t,e[pi]=r,Ia(e,t,!1,!1),t.stateNode=e;e:{switch(u=be(n,r),n){case"dialog":jr("cancel",e),jr("close",e),i=r;break;case"iframe":case"object":case"embed":jr("load",e),i=r;break;case"video":case"audio":for(i=0;i<Nr.length;i++)jr(Nr[i],e);i=r;break;case"source":jr("error",e),i=r;break;case"img":case"image":case"link":jr("error",e),jr("load",e),i=r;break;case"details":jr("toggle",e),i=r;break;case"input":Y(e,r),i=K(e,r),jr("invalid",e);break;case"option":default:i=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},i=U({},r,{value:void 0}),jr("invalid",e);break;case"textarea":ie(e,r),i=re(e,r),jr("invalid",e)}for(s in ye(n,i),l=i)if(l.hasOwnProperty(s)){var c=l[s];"style"===s?ge(e,c):"dangerouslySetInnerHTML"===s?null!=(c=c?c.__html:void 0)&&fe(e,c):"children"===s?"string"==typeof c?("textarea"!==n||""!==c)&&he(e,c):"number"==typeof c&&he(e,""+c):"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&"autoFocus"!==s&&(a.hasOwnProperty(s)?null!=c&&"onScroll"===s&&jr("scroll",e):null!=c&&b(e,s,c,u))}switch(n){case"input":W(e),J(e,r,!1);break;case"textarea":W(e),se(e);break;case"option":null!=r.value&&e.setAttribute("value",""+V(r.value));break;case"select":e.multiple=!!r.multiple,null!=(s=r.value)?ne(e,!!r.multiple,s,!1):null!=r.defaultValue&&ne(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof i.onClick&&(e.onclick=Jr)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return Ga(t),null;case 6:if(e&&null!=t.stateNode)Na(e,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(o(166));if(n=rs(ns.current),rs(es.current),fo(t)){if(r=t.stateNode,n=t.memoizedProps,r[hi]=t,(s=r.nodeValue!==n)&&null!==(e=no))switch(e.tag){case 3:Qr(r.nodeValue,n,0!=(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Qr(r.nodeValue,n,0!=(1&e.mode))}s&&(t.flags|=4)}else(r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[hi]=t,t.stateNode=r}return Ga(t),null;case 13:if(ki(us),r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(io&&null!==ro&&0!=(1&t.mode)&&0==(128&t.flags))ho(),po(),t.flags|=98560,s=!1;else if(s=fo(t),null!==r&&null!==r.dehydrated){if(null===e){if(!s)throw Error(o(318));if(!(s=null!==(s=t.memoizedState)?s.dehydrated:null))throw Error(o(317));s[hi]=t}else po(),0==(128&t.flags)&&(t.memoizedState=null),t.flags|=4;Ga(t),s=!1}else null!==oo&&(al(oo),oo=null),s=!0;if(!s)return 65536&t.flags?t:null}return 0!=(128&t.flags)?(t.lanes=n,t):((r=null!==r)!=(null!==e&&null!==e.memoizedState)&&r&&(t.child.flags|=8192,0!=(1&t.mode)&&(null===e||0!=(1&us.current)?0===Nu&&(Nu=3):gl())),null!==t.updateQueue&&(t.flags|=4),Ga(t),null);case 4:return os(),Ra(e,t),null===e&&Hr(t.stateNode.containerInfo),Ga(t),null;case 10:return xo(t.type._context),Ga(t),null;case 19:if(ki(us),null===(s=t.memoizedState))return Ga(t),null;if(r=0!=(128&t.flags),null===(u=s.rendering))if(r)Wa(s,!1);else{if(0!==Nu||null!==e&&0!=(128&e.flags))for(e=t.child;null!==e;){if(null!==(u=ls(e))){for(t.flags|=128,Wa(s,!1),null!==(r=u.updateQueue)&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;null!==n;)e=r,(s=n).flags&=14680066,null===(u=s.alternate)?(s.childLanes=0,s.lanes=e,s.child=null,s.subtreeFlags=0,s.memoizedProps=null,s.memoizedState=null,s.updateQueue=null,s.dependencies=null,s.stateNode=null):(s.childLanes=u.childLanes,s.lanes=u.lanes,s.child=u.child,s.subtreeFlags=0,s.deletions=null,s.memoizedProps=u.memoizedProps,s.memoizedState=u.memoizedState,s.updateQueue=u.updateQueue,s.type=u.type,e=u.dependencies,s.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return Pi(us,1&us.current|2),t.child}e=e.sibling}null!==s.tail&&Xe()>$u&&(t.flags|=128,r=!0,Wa(s,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=ls(u))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),Wa(s,!0),null===s.tail&&"hidden"===s.tailMode&&!u.alternate&&!io)return Ga(t),null}else 2*Xe()-s.renderingStartTime>$u&&1073741824!==n&&(t.flags|=128,r=!0,Wa(s,!1),t.lanes=4194304);s.isBackwards?(u.sibling=t.child,t.child=u):(null!==(n=s.last)?n.sibling=u:t.child=u,s.last=u)}return null!==s.tail?(t=s.tail,s.rendering=t,s.tail=t.sibling,s.renderingStartTime=Xe(),t.sibling=null,n=us.current,Pi(us,r?1&n|2:1&n),t):(Ga(t),null);case 22:case 23:return hl(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&0!=(1&t.mode)?0!=(1073741824&Ru)&&(Ga(t),6&t.subtreeFlags&&(t.flags|=8192)):Ga(t),null;case 24:case 25:return null}throw Error(o(156,t.tag))}function Ka(e,t){switch(to(t),t.tag){case 1:return Ii(t.type)&&Ri(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return os(),ki(Ti),ki(Oi),fs(),0!=(65536&(e=t.flags))&&0==(128&e)?(t.flags=-65537&e|128,t):null;case 5:return as(t),null;case 13:if(ki(us),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(o(340));po()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return ki(us),null;case 4:return os(),null;case 10:return xo(t.type._context),null;case 22:case 23:return hl(),null;default:return null}}Ia=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Ra=function(){},Ma=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,rs(es.current);var o,s=null;switch(n){case"input":i=K(e,i),r=K(e,r),s=[];break;case"select":i=U({},i,{value:void 0}),r=U({},r,{value:void 0}),s=[];break;case"textarea":i=re(e,i),r=re(e,r),s=[];break;default:"function"!=typeof i.onClick&&"function"==typeof r.onClick&&(e.onclick=Jr)}for(c in ye(n,r),n=null,i)if(!r.hasOwnProperty(c)&&i.hasOwnProperty(c)&&null!=i[c])if("style"===c){var u=i[c];for(o in u)u.hasOwnProperty(o)&&(n||(n={}),n[o]="")}else"dangerouslySetInnerHTML"!==c&&"children"!==c&&"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&"autoFocus"!==c&&(a.hasOwnProperty(c)?s||(s=[]):(s=s||[]).push(c,null));for(c in r){var l=r[c];if(u=null!=i?i[c]:void 0,r.hasOwnProperty(c)&&l!==u&&(null!=l||null!=u))if("style"===c)if(u){for(o in u)!u.hasOwnProperty(o)||l&&l.hasOwnProperty(o)||(n||(n={}),n[o]="");for(o in l)l.hasOwnProperty(o)&&u[o]!==l[o]&&(n||(n={}),n[o]=l[o])}else n||(s||(s=[]),s.push(c,n)),n=l;else"dangerouslySetInnerHTML"===c?(l=l?l.__html:void 0,u=u?u.__html:void 0,null!=l&&u!==l&&(s=s||[]).push(c,l)):"children"===c?"string"!=typeof l&&"number"!=typeof l||(s=s||[]).push(c,""+l):"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&(a.hasOwnProperty(c)?(null!=l&&"onScroll"===c&&jr("scroll",e),s||u===l||(s=[])):(s=s||[]).push(c,l))}n&&(s=s||[]).push("style",n);var c=s;(t.updateQueue=c)&&(t.flags|=4)}},Na=function(e,t,n,r){n!==r&&(t.flags|=4)};var Ya=!1,Xa=!1,Qa="function"==typeof WeakSet?WeakSet:Set,Ja=null;function eu(e,t){var n=e.ref;if(null!==n)if("function"==typeof n)try{n(null)}catch(n){kl(e,t,n)}else n.current=null}function tu(e,t,n){try{n()}catch(n){kl(e,t,n)}}var nu=!1;function ru(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var i=r=r.next;do{if((i.tag&e)===e){var o=i.destroy;i.destroy=void 0,void 0!==o&&tu(t,n,o)}i=i.next}while(i!==r)}}function iu(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function ou(e){var t=e.ref;if(null!==t){var n=e.stateNode;e.tag,e=n,"function"==typeof t?t(e):t.current=e}}function su(e){var t=e.alternate;null!==t&&(e.alternate=null,su(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&null!==(t=e.stateNode)&&(delete t[hi],delete t[pi],delete t[mi],delete t[gi],delete t[vi]),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function au(e){return 5===e.tag||3===e.tag||4===e.tag}function uu(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||au(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function lu(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=Jr));else if(4!==r&&null!==(e=e.child))for(lu(e,t,n),e=e.sibling;null!==e;)lu(e,t,n),e=e.sibling}function cu(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(cu(e,t,n),e=e.sibling;null!==e;)cu(e,t,n),e=e.sibling}var fu=null,hu=!1;function pu(e,t,n){for(n=n.child;null!==n;)du(e,t,n),n=n.sibling}function du(e,t,n){if(ot&&"function"==typeof ot.onCommitFiberUnmount)try{ot.onCommitFiberUnmount(it,n)}catch(e){}switch(n.tag){case 5:Xa||eu(n,t);case 6:var r=fu,i=hu;fu=null,pu(e,t,n),hu=i,null!==(fu=r)&&(hu?(e=fu,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):fu.removeChild(n.stateNode));break;case 18:null!==fu&&(hu?(e=fu,n=n.stateNode,8===e.nodeType?ui(e.parentNode,n):1===e.nodeType&&ui(e,n),Ht(e)):ui(fu,n.stateNode));break;case 4:r=fu,i=hu,fu=n.stateNode.containerInfo,hu=!0,pu(e,t,n),fu=r,hu=i;break;case 0:case 11:case 14:case 15:if(!Xa&&null!==(r=n.updateQueue)&&null!==(r=r.lastEffect)){i=r=r.next;do{var o=i,s=o.destroy;o=o.tag,void 0!==s&&(0!=(2&o)||0!=(4&o))&&tu(n,t,s),i=i.next}while(i!==r)}pu(e,t,n);break;case 1:if(!Xa&&(eu(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(e){kl(n,t,e)}pu(e,t,n);break;case 21:pu(e,t,n);break;case 22:1&n.mode?(Xa=(r=Xa)||null!==n.memoizedState,pu(e,t,n),Xa=r):pu(e,t,n);break;default:pu(e,t,n)}}function mu(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Qa),t.forEach((function(t){var r=Tl.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function gu(e,t){var n=t.deletions;if(null!==n)for(var r=0;r<n.length;r++){var i=n[r];try{var s=e,a=t,u=a;e:for(;null!==u;){switch(u.tag){case 5:fu=u.stateNode,hu=!1;break e;case 3:case 4:fu=u.stateNode.containerInfo,hu=!0;break e}u=u.return}if(null===fu)throw Error(o(160));du(s,a,i),fu=null,hu=!1;var l=i.alternate;null!==l&&(l.return=null),i.return=null}catch(e){kl(i,t,e)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)vu(t,e),t=t.sibling}function vu(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(gu(t,e),yu(e),4&r){try{ru(3,e,e.return),iu(3,e)}catch(t){kl(e,e.return,t)}try{ru(5,e,e.return)}catch(t){kl(e,e.return,t)}}break;case 1:gu(t,e),yu(e),512&r&&null!==n&&eu(n,n.return);break;case 5:if(gu(t,e),yu(e),512&r&&null!==n&&eu(n,n.return),32&e.flags){var i=e.stateNode;try{he(i,"")}catch(t){kl(e,e.return,t)}}if(4&r&&null!=(i=e.stateNode)){var s=e.memoizedProps,a=null!==n?n.memoizedProps:s,u=e.type,l=e.updateQueue;if(e.updateQueue=null,null!==l)try{"input"===u&&"radio"===s.type&&null!=s.name&&X(i,s),be(u,a);var c=be(u,s);for(a=0;a<l.length;a+=2){var f=l[a],h=l[a+1];"style"===f?ge(i,h):"dangerouslySetInnerHTML"===f?fe(i,h):"children"===f?he(i,h):b(i,f,h,c)}switch(u){case"input":Q(i,s);break;case"textarea":oe(i,s);break;case"select":var p=i._wrapperState.wasMultiple;i._wrapperState.wasMultiple=!!s.multiple;var d=s.value;null!=d?ne(i,!!s.multiple,d,!1):p!==!!s.multiple&&(null!=s.defaultValue?ne(i,!!s.multiple,s.defaultValue,!0):ne(i,!!s.multiple,s.multiple?[]:"",!1))}i[pi]=s}catch(t){kl(e,e.return,t)}}break;case 6:if(gu(t,e),yu(e),4&r){if(null===e.stateNode)throw Error(o(162));i=e.stateNode,s=e.memoizedProps;try{i.nodeValue=s}catch(t){kl(e,e.return,t)}}break;case 3:if(gu(t,e),yu(e),4&r&&null!==n&&n.memoizedState.isDehydrated)try{Ht(t.containerInfo)}catch(t){kl(e,e.return,t)}break;case 4:default:gu(t,e),yu(e);break;case 13:gu(t,e),yu(e),8192&(i=e.child).flags&&(s=null!==i.memoizedState,i.stateNode.isHidden=s,!s||null!==i.alternate&&null!==i.alternate.memoizedState||(Hu=Xe())),4&r&&mu(e);break;case 22:if(f=null!==n&&null!==n.memoizedState,1&e.mode?(Xa=(c=Xa)||f,gu(t,e),Xa=c):gu(t,e),yu(e),8192&r){if(c=null!==e.memoizedState,(e.stateNode.isHidden=c)&&!f&&0!=(1&e.mode))for(Ja=e,f=e.child;null!==f;){for(h=Ja=f;null!==Ja;){switch(d=(p=Ja).child,p.tag){case 0:case 11:case 14:case 15:ru(4,p,p.return);break;case 1:eu(p,p.return);var m=p.stateNode;if("function"==typeof m.componentWillUnmount){r=p,n=p.return;try{t=r,m.props=t.memoizedProps,m.state=t.memoizedState,m.componentWillUnmount()}catch(e){kl(r,n,e)}}break;case 5:eu(p,p.return);break;case 22:if(null!==p.memoizedState){Su(h);continue}}null!==d?(d.return=p,Ja=d):Su(h)}f=f.sibling}e:for(f=null,h=e;;){if(5===h.tag){if(null===f){f=h;try{i=h.stateNode,c?"function"==typeof(s=i.style).setProperty?s.setProperty("display","none","important"):s.display="none":(u=h.stateNode,a=null!=(l=h.memoizedProps.style)&&l.hasOwnProperty("display")?l.display:null,u.style.display=me("display",a))}catch(t){kl(e,e.return,t)}}}else if(6===h.tag){if(null===f)try{h.stateNode.nodeValue=c?"":h.memoizedProps}catch(t){kl(e,e.return,t)}}else if((22!==h.tag&&23!==h.tag||null===h.memoizedState||h===e)&&null!==h.child){h.child.return=h,h=h.child;continue}if(h===e)break e;for(;null===h.sibling;){if(null===h.return||h.return===e)break e;f===h&&(f=null),h=h.return}f===h&&(f=null),h.sibling.return=h.return,h=h.sibling}}break;case 19:gu(t,e),yu(e),4&r&&mu(e);case 21:}}function yu(e){var t=e.flags;if(2&t){try{e:{for(var n=e.return;null!==n;){if(au(n)){var r=n;break e}n=n.return}throw Error(o(160))}switch(r.tag){case 5:var i=r.stateNode;32&r.flags&&(he(i,""),r.flags&=-33),cu(e,uu(e),i);break;case 3:case 4:var s=r.stateNode.containerInfo;lu(e,uu(e),s);break;default:throw Error(o(161))}}catch(t){kl(e,e.return,t)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function bu(e,t,n){Ja=e,wu(e,t,n)}function wu(e,t,n){for(var r=0!=(1&e.mode);null!==Ja;){var i=Ja,o=i.child;if(22===i.tag&&r){var s=null!==i.memoizedState||Ya;if(!s){var a=i.alternate,u=null!==a&&null!==a.memoizedState||Xa;a=Ya;var l=Xa;if(Ya=s,(Xa=u)&&!l)for(Ja=i;null!==Ja;)u=(s=Ja).child,22===s.tag&&null!==s.memoizedState?xu(i):null!==u?(u.return=s,Ja=u):xu(i);for(;null!==o;)Ja=o,wu(o,t,n),o=o.sibling;Ja=i,Ya=a,Xa=l}_u(e)}else 0!=(8772&i.subtreeFlags)&&null!==o?(o.return=i,Ja=o):_u(e)}}function _u(e){for(;null!==Ja;){var t=Ja;if(0!=(8772&t.flags)){var n=t.alternate;try{if(0!=(8772&t.flags))switch(t.tag){case 0:case 11:case 15:Xa||iu(5,t);break;case 1:var r=t.stateNode;if(4&t.flags&&!Xa)if(null===n)r.componentDidMount();else{var i=t.elementType===t.type?n.memoizedProps:vo(t.type,n.memoizedProps);r.componentDidUpdate(i,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var s=t.updateQueue;null!==s&&jo(t,s,r);break;case 3:var a=t.updateQueue;if(null!==a){if(n=null,null!==t.child)switch(t.child.tag){case 5:case 1:n=t.child.stateNode}jo(t,a,n)}break;case 5:var u=t.stateNode;if(null===n&&4&t.flags){n=u;var l=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":l.autoFocus&&n.focus();break;case"img":l.src&&(n.src=l.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===t.memoizedState){var c=t.alternate;if(null!==c){var f=c.memoizedState;if(null!==f){var h=f.dehydrated;null!==h&&Ht(h)}}}break;default:throw Error(o(163))}Xa||512&t.flags&&ou(t)}catch(e){kl(t,t.return,e)}}if(t===e){Ja=null;break}if(null!==(n=t.sibling)){n.return=t.return,Ja=n;break}Ja=t.return}}function Su(e){for(;null!==Ja;){var t=Ja;if(t===e){Ja=null;break}var n=t.sibling;if(null!==n){n.return=t.return,Ja=n;break}Ja=t.return}}function xu(e){for(;null!==Ja;){var t=Ja;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{iu(4,t)}catch(e){kl(t,n,e)}break;case 1:var r=t.stateNode;if("function"==typeof r.componentDidMount){var i=t.return;try{r.componentDidMount()}catch(e){kl(t,i,e)}}var o=t.return;try{ou(t)}catch(e){kl(t,o,e)}break;case 5:var s=t.return;try{ou(t)}catch(e){kl(t,s,e)}}}catch(e){kl(t,t.return,e)}if(t===e){Ja=null;break}var a=t.sibling;if(null!==a){a.return=t.return,Ja=a;break}Ja=t.return}}var Eu,ku=Math.ceil,Pu=w.ReactCurrentDispatcher,Cu=w.ReactCurrentOwner,Ou=w.ReactCurrentBatchConfig,Tu=0,Au=null,Fu=null,Iu=0,Ru=0,Mu=Ei(0),Nu=0,Lu=null,Uu=0,Du=0,ju=0,Bu=null,zu=null,Hu=0,$u=1/0,Vu=null,qu=!1,Wu=null,Gu=null,Zu=!1,Ku=null,Yu=0,Xu=0,Qu=null,Ju=-1,el=0;function tl(){return 0!=(6&Tu)?Xe():-1!==Ju?Ju:Ju=Xe()}function nl(e){return 0==(1&e.mode)?1:0!=(2&Tu)&&0!==Iu?Iu&-Iu:null!==go.transition?(0===el&&(el=mt()),el):0!==(e=bt)?e:e=void 0===(e=window.event)?16:Yt(e.type)}function rl(e,t,n,r){if(50<Xu)throw Xu=0,Qu=null,Error(o(185));vt(e,n,r),0!=(2&Tu)&&e===Au||(e===Au&&(0==(2&Tu)&&(Du|=n),4===Nu&&ul(e,Iu)),il(e,r),1===n&&0===Tu&&0==(1&t.mode)&&($u=Xe()+500,ji&&Hi()))}function il(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,o=e.pendingLanes;0<o;){var s=31-st(o),a=1<<s,u=i[s];-1===u?0!=(a&n)&&0==(a&r)||(i[s]=pt(a,t)):u<=t&&(e.expiredLanes|=a),o&=~a}}(e,t);var r=ht(e,e===Au?Iu:0);if(0===r)null!==n&&Ze(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(null!=n&&Ze(n),1===t)0===e.tag?function(e){ji=!0,zi(e)}(ll.bind(null,e)):zi(ll.bind(null,e)),si((function(){0==(6&Tu)&&Hi()})),n=null;else{switch(wt(r)){case 1:n=Je;break;case 4:n=et;break;case 16:default:n=tt;break;case 536870912:n=rt}n=Al(n,ol.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function ol(e,t){if(Ju=-1,el=0,0!=(6&Tu))throw Error(o(327));var n=e.callbackNode;if(xl()&&e.callbackNode!==n)return null;var r=ht(e,e===Au?Iu:0);if(0===r)return null;if(0!=(30&r)||0!=(r&e.expiredLanes)||t)t=vl(e,r);else{t=r;var i=Tu;Tu|=2;var s=ml();for(Au===e&&Iu===t||(Vu=null,$u=Xe()+500,pl(e,t));;)try{bl();break}catch(t){dl(e,t)}So(),Pu.current=s,Tu=i,null!==Fu?t=0:(Au=null,Iu=0,t=Nu)}if(0!==t){if(2===t&&0!==(i=dt(e))&&(r=i,t=sl(e,i)),1===t)throw n=Lu,pl(e,0),ul(e,r),il(e,Xe()),n;if(6===t)ul(e,r);else{if(i=e.current.alternate,0==(30&r)&&!function(e){for(var t=e;;){if(16384&t.flags){var n=t.updateQueue;if(null!==n&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var i=n[r],o=i.getSnapshot;i=i.value;try{if(!ar(o(),i))return!1}catch(e){return!1}}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(i)&&(2===(t=vl(e,r))&&0!==(s=dt(e))&&(r=s,t=sl(e,s)),1===t))throw n=Lu,pl(e,0),ul(e,r),il(e,Xe()),n;switch(e.finishedWork=i,e.finishedLanes=r,t){case 0:case 1:throw Error(o(345));case 2:case 5:Sl(e,zu,Vu);break;case 3:if(ul(e,r),(130023424&r)===r&&10<(t=Hu+500-Xe())){if(0!==ht(e,0))break;if(((i=e.suspendedLanes)&r)!==r){tl(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=ri(Sl.bind(null,e,zu,Vu),t);break}Sl(e,zu,Vu);break;case 4:if(ul(e,r),(4194240&r)===r)break;for(t=e.eventTimes,i=-1;0<r;){var a=31-st(r);s=1<<a,(a=t[a])>i&&(i=a),r&=~s}if(r=i,10<(r=(120>(r=Xe()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*ku(r/1960))-r)){e.timeoutHandle=ri(Sl.bind(null,e,zu,Vu),r);break}Sl(e,zu,Vu);break;default:throw Error(o(329))}}}return il(e,Xe()),e.callbackNode===n?ol.bind(null,e):null}function sl(e,t){var n=Bu;return e.current.memoizedState.isDehydrated&&(pl(e,t).flags|=256),2!==(e=vl(e,t))&&(t=zu,zu=n,null!==t&&al(t)),e}function al(e){null===zu?zu=e:zu.push.apply(zu,e)}function ul(e,t){for(t&=~ju,t&=~Du,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-st(t),r=1<<n;e[n]=-1,t&=~r}}function ll(e){if(0!=(6&Tu))throw Error(o(327));xl();var t=ht(e,0);if(0==(1&t))return il(e,Xe()),null;var n=vl(e,t);if(0!==e.tag&&2===n){var r=dt(e);0!==r&&(t=r,n=sl(e,r))}if(1===n)throw n=Lu,pl(e,0),ul(e,t),il(e,Xe()),n;if(6===n)throw Error(o(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Sl(e,zu,Vu),il(e,Xe()),null}function cl(e,t){var n=Tu;Tu|=1;try{return e(t)}finally{0===(Tu=n)&&($u=Xe()+500,ji&&Hi())}}function fl(e){null!==Ku&&0===Ku.tag&&0==(6&Tu)&&xl();var t=Tu;Tu|=1;var n=Ou.transition,r=bt;try{if(Ou.transition=null,bt=1,e)return e()}finally{bt=r,Ou.transition=n,0==(6&(Tu=t))&&Hi()}}function hl(){Ru=Mu.current,ki(Mu)}function pl(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,ii(n)),null!==Fu)for(n=Fu.return;null!==n;){var r=n;switch(to(r),r.tag){case 1:null!=(r=r.type.childContextTypes)&&Ri();break;case 3:os(),ki(Ti),ki(Oi),fs();break;case 5:as(r);break;case 4:os();break;case 13:case 19:ki(us);break;case 10:xo(r.type._context);break;case 22:case 23:hl()}n=n.return}if(Au=e,Fu=e=Ml(e.current,null),Iu=Ru=t,Nu=0,Lu=null,ju=Du=Uu=0,zu=Bu=null,null!==Co){for(t=0;t<Co.length;t++)if(null!==(r=(n=Co[t]).interleaved)){n.interleaved=null;var i=r.next,o=n.pending;if(null!==o){var s=o.next;o.next=i,r.next=s}n.pending=r}Co=null}return e}function dl(e,t){for(;;){var n=Fu;try{if(So(),hs.current=sa,ys){for(var r=ms.memoizedState;null!==r;){var i=r.queue;null!==i&&(i.pending=null),r=r.next}ys=!1}if(ds=0,vs=gs=ms=null,bs=!1,ws=0,Cu.current=null,null===n||null===n.return){Nu=1,Lu=t,Fu=null;break}e:{var s=e,a=n.return,u=n,l=t;if(t=Iu,u.flags|=32768,null!==l&&"object"==typeof l&&"function"==typeof l.then){var c=l,f=u,h=f.tag;if(0==(1&f.mode)&&(0===h||11===h||15===h)){var p=f.alternate;p?(f.updateQueue=p.updateQueue,f.memoizedState=p.memoizedState,f.lanes=p.lanes):(f.updateQueue=null,f.memoizedState=null)}var d=va(a);if(null!==d){d.flags&=-257,ya(d,a,u,0,t),1&d.mode&&ga(s,c,t),l=c;var m=(t=d).updateQueue;if(null===m){var g=new Set;g.add(l),t.updateQueue=g}else m.add(l);break e}if(0==(1&t)){ga(s,c,t),gl();break e}l=Error(o(426))}else if(io&&1&u.mode){var v=va(a);if(null!==v){0==(65536&v.flags)&&(v.flags|=256),ya(v,a,u,0,t),mo(ca(l,u));break e}}s=l=ca(l,u),4!==Nu&&(Nu=2),null===Bu?Bu=[s]:Bu.push(s),s=a;do{switch(s.tag){case 3:s.flags|=65536,t&=-t,s.lanes|=t,Uo(s,da(0,l,t));break e;case 1:u=l;var y=s.type,b=s.stateNode;if(0==(128&s.flags)&&("function"==typeof y.getDerivedStateFromError||null!==b&&"function"==typeof b.componentDidCatch&&(null===Gu||!Gu.has(b)))){s.flags|=65536,t&=-t,s.lanes|=t,Uo(s,ma(s,u,t));break e}}s=s.return}while(null!==s)}_l(n)}catch(e){t=e,Fu===n&&null!==n&&(Fu=n=n.return);continue}break}}function ml(){var e=Pu.current;return Pu.current=sa,null===e?sa:e}function gl(){0!==Nu&&3!==Nu&&2!==Nu||(Nu=4),null===Au||0==(268435455&Uu)&&0==(268435455&Du)||ul(Au,Iu)}function vl(e,t){var n=Tu;Tu|=2;var r=ml();for(Au===e&&Iu===t||(Vu=null,pl(e,t));;)try{yl();break}catch(t){dl(e,t)}if(So(),Tu=n,Pu.current=r,null!==Fu)throw Error(o(261));return Au=null,Iu=0,Nu}function yl(){for(;null!==Fu;)wl(Fu)}function bl(){for(;null!==Fu&&!Ke();)wl(Fu)}function wl(e){var t=Eu(e.alternate,e,Ru);e.memoizedProps=e.pendingProps,null===t?_l(e):Fu=t,Cu.current=null}function _l(e){var t=e;do{var n=t.alternate;if(e=t.return,0==(32768&t.flags)){if(null!==(n=Za(n,t,Ru)))return void(Fu=n)}else{if(null!==(n=Ka(n,t)))return n.flags&=32767,void(Fu=n);if(null===e)return Nu=6,void(Fu=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}if(null!==(t=t.sibling))return void(Fu=t);Fu=t=e}while(null!==t);0===Nu&&(Nu=5)}function Sl(e,t,n){var r=bt,i=Ou.transition;try{Ou.transition=null,bt=1,function(e,t,n,r){do{xl()}while(null!==Ku);if(0!=(6&Tu))throw Error(o(327));n=e.finishedWork;var i=e.finishedLanes;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(o(177));e.callbackNode=null,e.callbackPriority=0;var s=n.lanes|n.childLanes;if(function(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var i=31-st(n),o=1<<i;t[i]=0,r[i]=-1,e[i]=-1,n&=~o}}(e,s),e===Au&&(Fu=Au=null,Iu=0),0==(2064&n.subtreeFlags)&&0==(2064&n.flags)||Zu||(Zu=!0,Al(tt,(function(){return xl(),null}))),s=0!=(15990&n.flags),0!=(15990&n.subtreeFlags)||s){s=Ou.transition,Ou.transition=null;var a=bt;bt=1;var u=Tu;Tu|=4,Cu.current=null,function(e,t){if(ei=Vt,pr(e=hr())){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(r&&0!==r.rangeCount){n=r.anchorNode;var i=r.anchorOffset,s=r.focusNode;r=r.focusOffset;try{n.nodeType,s.nodeType}catch(e){n=null;break e}var a=0,u=-1,l=-1,c=0,f=0,h=e,p=null;t:for(;;){for(var d;h!==n||0!==i&&3!==h.nodeType||(u=a+i),h!==s||0!==r&&3!==h.nodeType||(l=a+r),3===h.nodeType&&(a+=h.nodeValue.length),null!==(d=h.firstChild);)p=h,h=d;for(;;){if(h===e)break t;if(p===n&&++c===i&&(u=a),p===s&&++f===r&&(l=a),null!==(d=h.nextSibling))break;p=(h=p).parentNode}h=d}n=-1===u||-1===l?null:{start:u,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(ti={focusedElem:e,selectionRange:n},Vt=!1,Ja=t;null!==Ja;)if(e=(t=Ja).child,0!=(1028&t.subtreeFlags)&&null!==e)e.return=t,Ja=e;else for(;null!==Ja;){t=Ja;try{var m=t.alternate;if(0!=(1024&t.flags))switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==m){var g=m.memoizedProps,v=m.memoizedState,y=t.stateNode,b=y.getSnapshotBeforeUpdate(t.elementType===t.type?g:vo(t.type,g),v);y.__reactInternalSnapshotBeforeUpdate=b}break;case 3:var w=t.stateNode.containerInfo;1===w.nodeType?w.textContent="":9===w.nodeType&&w.documentElement&&w.removeChild(w.documentElement);break;default:throw Error(o(163))}}catch(e){kl(t,t.return,e)}if(null!==(e=t.sibling)){e.return=t.return,Ja=e;break}Ja=t.return}m=nu,nu=!1}(e,n),vu(n,e),dr(ti),Vt=!!ei,ti=ei=null,e.current=n,bu(n,e,i),Ye(),Tu=u,bt=a,Ou.transition=s}else e.current=n;if(Zu&&(Zu=!1,Ku=e,Yu=i),0===(s=e.pendingLanes)&&(Gu=null),function(e){if(ot&&"function"==typeof ot.onCommitFiberRoot)try{ot.onCommitFiberRoot(it,e,void 0,128==(128&e.current.flags))}catch(e){}}(n.stateNode),il(e,Xe()),null!==t)for(r=e.onRecoverableError,n=0;n<t.length;n++)r((i=t[n]).value,{componentStack:i.stack,digest:i.digest});if(qu)throw qu=!1,e=Wu,Wu=null,e;0!=(1&Yu)&&0!==e.tag&&xl(),0!=(1&(s=e.pendingLanes))?e===Qu?Xu++:(Xu=0,Qu=e):Xu=0,Hi()}(e,t,n,r)}finally{Ou.transition=i,bt=r}return null}function xl(){if(null!==Ku){var e=wt(Yu),t=Ou.transition,n=bt;try{if(Ou.transition=null,bt=16>e?16:e,null===Ku)var r=!1;else{if(e=Ku,Ku=null,Yu=0,0!=(6&Tu))throw Error(o(331));var i=Tu;for(Tu|=4,Ja=e.current;null!==Ja;){var s=Ja,a=s.child;if(0!=(16&Ja.flags)){var u=s.deletions;if(null!==u){for(var l=0;l<u.length;l++){var c=u[l];for(Ja=c;null!==Ja;){var f=Ja;switch(f.tag){case 0:case 11:case 15:ru(8,f,s)}var h=f.child;if(null!==h)h.return=f,Ja=h;else for(;null!==Ja;){var p=(f=Ja).sibling,d=f.return;if(su(f),f===c){Ja=null;break}if(null!==p){p.return=d,Ja=p;break}Ja=d}}}var m=s.alternate;if(null!==m){var g=m.child;if(null!==g){m.child=null;do{var v=g.sibling;g.sibling=null,g=v}while(null!==g)}}Ja=s}}if(0!=(2064&s.subtreeFlags)&&null!==a)a.return=s,Ja=a;else e:for(;null!==Ja;){if(0!=(2048&(s=Ja).flags))switch(s.tag){case 0:case 11:case 15:ru(9,s,s.return)}var y=s.sibling;if(null!==y){y.return=s.return,Ja=y;break e}Ja=s.return}}var b=e.current;for(Ja=b;null!==Ja;){var w=(a=Ja).child;if(0!=(2064&a.subtreeFlags)&&null!==w)w.return=a,Ja=w;else e:for(a=b;null!==Ja;){if(0!=(2048&(u=Ja).flags))try{switch(u.tag){case 0:case 11:case 15:iu(9,u)}}catch(e){kl(u,u.return,e)}if(u===a){Ja=null;break e}var _=u.sibling;if(null!==_){_.return=u.return,Ja=_;break e}Ja=u.return}}if(Tu=i,Hi(),ot&&"function"==typeof ot.onPostCommitFiberRoot)try{ot.onPostCommitFiberRoot(it,e)}catch(e){}r=!0}return r}finally{bt=n,Ou.transition=t}}return!1}function El(e,t,n){e=No(e,t=da(0,t=ca(n,t),1),1),t=tl(),null!==e&&(vt(e,1,t),il(e,t))}function kl(e,t,n){if(3===e.tag)El(e,e,n);else for(;null!==t;){if(3===t.tag){El(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Gu||!Gu.has(r))){t=No(t,e=ma(t,e=ca(n,e),1),1),e=tl(),null!==t&&(vt(t,1,e),il(t,e));break}}t=t.return}}function Pl(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=tl(),e.pingedLanes|=e.suspendedLanes&n,Au===e&&(Iu&n)===n&&(4===Nu||3===Nu&&(130023424&Iu)===Iu&&500>Xe()-Hu?pl(e,0):ju|=n),il(e,t)}function Cl(e,t){0===t&&(0==(1&e.mode)?t=1:(t=ct,0==(130023424&(ct<<=1))&&(ct=4194304)));var n=tl();null!==(e=Ao(e,t))&&(vt(e,t,n),il(e,n))}function Ol(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),Cl(e,n)}function Tl(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;null!==i&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(o(314))}null!==r&&r.delete(t),Cl(e,n)}function Al(e,t){return Ge(e,t)}function Fl(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Il(e,t,n,r){return new Fl(e,t,n,r)}function Rl(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Ml(e,t){var n=e.alternate;return null===n?((n=Il(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=14680064&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Nl(e,t,n,r,i,s){var a=2;if(r=e,"function"==typeof e)Rl(e)&&(a=1);else if("string"==typeof e)a=5;else e:switch(e){case x:return Ll(n.children,i,s,t);case E:a=8,i|=8;break;case k:return(e=Il(12,n,t,2|i)).elementType=k,e.lanes=s,e;case T:return(e=Il(13,n,t,i)).elementType=T,e.lanes=s,e;case A:return(e=Il(19,n,t,i)).elementType=A,e.lanes=s,e;case R:return Ul(n,i,s,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case P:a=10;break e;case C:a=9;break e;case O:a=11;break e;case F:a=14;break e;case I:a=16,r=null;break e}throw Error(o(130,null==e?e:typeof e,""))}return(t=Il(a,n,t,i)).elementType=e,t.type=r,t.lanes=s,t}function Ll(e,t,n,r){return(e=Il(7,e,r,t)).lanes=n,e}function Ul(e,t,n,r){return(e=Il(22,e,r,t)).elementType=R,e.lanes=n,e.stateNode={isHidden:!1},e}function Dl(e,t,n){return(e=Il(6,e,null,t)).lanes=n,e}function jl(e,t,n){return(t=Il(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Bl(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=gt(0),this.expirationTimes=gt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=gt(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function zl(e,t,n,r,i,o,s,a,u){return e=new Bl(e,t,n,a,u),1===t?(t=1,!0===o&&(t|=8)):t=0,o=Il(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Io(o),e}function Hl(e){if(!e)return Ci;e:{if(He(e=e._reactInternals)!==e||1!==e.tag)throw Error(o(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Ii(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(o(171))}if(1===e.tag){var n=e.type;if(Ii(n))return Ni(e,n,t)}return t}function $l(e,t,n,r,i,o,s,a,u){return(e=zl(n,r,!0,e,0,o,0,a,u)).context=Hl(null),n=e.current,(o=Mo(r=tl(),i=nl(n))).callback=null!=t?t:null,No(n,o,i),e.current.lanes=i,vt(e,i,r),il(e,r),e}function Vl(e,t,n,r){var i=t.current,o=tl(),s=nl(i);return n=Hl(n),null===t.context?t.context=n:t.pendingContext=n,(t=Mo(o,s)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=No(i,t,s))&&(rl(e,i,s,o),Lo(e,i,s)),s}function ql(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Wl(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function Gl(e,t){Wl(e,t),(e=e.alternate)&&Wl(e,t)}Eu=function(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps||Ti.current)wa=!0;else{if(0==(e.lanes&n)&&0==(128&t.flags))return wa=!1,function(e,t,n){switch(t.tag){case 3:Aa(t),po();break;case 5:ss(t);break;case 1:Ii(t.type)&&Li(t);break;case 4:is(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;Pi(yo,r._currentValue),r._currentValue=i;break;case 13:if(null!==(r=t.memoizedState))return null!==r.dehydrated?(Pi(us,1&us.current),t.flags|=128,null):0!=(n&t.child.childLanes)?Da(e,t,n):(Pi(us,1&us.current),null!==(e=qa(e,t,n))?e.sibling:null);Pi(us,1&us.current);break;case 19:if(r=0!=(n&t.childLanes),0!=(128&e.flags)){if(r)return $a(e,t,n);t.flags|=128}if(null!==(i=t.memoizedState)&&(i.rendering=null,i.tail=null,i.lastEffect=null),Pi(us,us.current),r)break;return null;case 22:case 23:return t.lanes=0,ka(e,t,n)}return qa(e,t,n)}(e,t,n);wa=0!=(131072&e.flags)}else wa=!1,io&&0!=(1048576&t.flags)&&Ji(t,Wi,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Va(e,t),e=t.pendingProps;var i=Fi(t,Oi.current);ko(t,n),i=Es(null,t,r,e,i,n);var s=ks();return t.flags|=1,"object"==typeof i&&null!==i&&"function"==typeof i.render&&void 0===i.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Ii(r)?(s=!0,Li(t)):s=!1,t.memoizedState=null!==i.state&&void 0!==i.state?i.state:null,Io(t),i.updater=Ho,t.stateNode=i,i._reactInternals=t,Wo(t,r,e,n),t=Ta(null,t,r,!0,s,n)):(t.tag=0,io&&s&&eo(t),_a(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Va(e,t),e=t.pendingProps,r=(i=r._init)(r._payload),t.type=r,i=t.tag=function(e){if("function"==typeof e)return Rl(e)?1:0;if(null!=e){if((e=e.$$typeof)===O)return 11;if(e===F)return 14}return 2}(r),e=vo(r,e),i){case 0:t=Ca(null,t,r,e,n);break e;case 1:t=Oa(null,t,r,e,n);break e;case 11:t=Sa(null,t,r,e,n);break e;case 14:t=xa(null,t,r,vo(r.type,e),n);break e}throw Error(o(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,Ca(e,t,r,i=t.elementType===r?i:vo(r,i),n);case 1:return r=t.type,i=t.pendingProps,Oa(e,t,r,i=t.elementType===r?i:vo(r,i),n);case 3:e:{if(Aa(t),null===e)throw Error(o(387));r=t.pendingProps,i=(s=t.memoizedState).element,Ro(e,t),Do(t,r,null,n);var a=t.memoizedState;if(r=a.element,s.isDehydrated){if(s={element:r,isDehydrated:!1,cache:a.cache,pendingSuspenseBoundaries:a.pendingSuspenseBoundaries,transitions:a.transitions},t.updateQueue.baseState=s,t.memoizedState=s,256&t.flags){t=Fa(e,t,r,n,i=ca(Error(o(423)),t));break e}if(r!==i){t=Fa(e,t,r,n,i=ca(Error(o(424)),t));break e}for(ro=li(t.stateNode.containerInfo.firstChild),no=t,io=!0,oo=null,n=Qo(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(po(),r===i){t=qa(e,t,n);break e}_a(e,t,r,n)}t=t.child}return t;case 5:return ss(t),null===e&&lo(t),r=t.type,i=t.pendingProps,s=null!==e?e.memoizedProps:null,a=i.children,ni(r,i)?a=null:null!==s&&ni(r,s)&&(t.flags|=32),Pa(e,t),_a(e,t,a,n),t.child;case 6:return null===e&&lo(t),null;case 13:return Da(e,t,n);case 4:return is(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Xo(t,null,r,n):_a(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,Sa(e,t,r,i=t.elementType===r?i:vo(r,i),n);case 7:return _a(e,t,t.pendingProps,n),t.child;case 8:case 12:return _a(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,s=t.memoizedProps,a=i.value,Pi(yo,r._currentValue),r._currentValue=a,null!==s)if(ar(s.value,a)){if(s.children===i.children&&!Ti.current){t=qa(e,t,n);break e}}else for(null!==(s=t.child)&&(s.return=t);null!==s;){var u=s.dependencies;if(null!==u){a=s.child;for(var l=u.firstContext;null!==l;){if(l.context===r){if(1===s.tag){(l=Mo(-1,n&-n)).tag=2;var c=s.updateQueue;if(null!==c){var f=(c=c.shared).pending;null===f?l.next=l:(l.next=f.next,f.next=l),c.pending=l}}s.lanes|=n,null!==(l=s.alternate)&&(l.lanes|=n),Eo(s.return,n,t),u.lanes|=n;break}l=l.next}}else if(10===s.tag)a=s.type===t.type?null:s.child;else if(18===s.tag){if(null===(a=s.return))throw Error(o(341));a.lanes|=n,null!==(u=a.alternate)&&(u.lanes|=n),Eo(a,n,t),a=s.sibling}else a=s.child;if(null!==a)a.return=s;else for(a=s;null!==a;){if(a===t){a=null;break}if(null!==(s=a.sibling)){s.return=a.return,a=s;break}a=a.return}s=a}_a(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,ko(t,n),r=r(i=Po(i)),t.flags|=1,_a(e,t,r,n),t.child;case 14:return i=vo(r=t.type,t.pendingProps),xa(e,t,r,i=vo(r.type,i),n);case 15:return Ea(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:vo(r,i),Va(e,t),t.tag=1,Ii(r)?(e=!0,Li(t)):e=!1,ko(t,n),Vo(t,r,i),Wo(t,r,i,n),Ta(null,t,r,!0,e,n);case 19:return $a(e,t,n);case 22:return ka(e,t,n)}throw Error(o(156,t.tag))};var Zl="function"==typeof reportError?reportError:function(e){console.error(e)};function Kl(e){this._internalRoot=e}function Yl(e){this._internalRoot=e}function Xl(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Ql(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Jl(){}function ec(e,t,n,r,i){var o=n._reactRootContainer;if(o){var s=o;if("function"==typeof i){var a=i;i=function(){var e=ql(s);a.call(e)}}Vl(t,s,e,i)}else s=function(e,t,n,r,i){if(i){if("function"==typeof r){var o=r;r=function(){var e=ql(s);o.call(e)}}var s=$l(t,r,e,0,null,!1,0,"",Jl);return e._reactRootContainer=s,e[di]=s.current,Hr(8===e.nodeType?e.parentNode:e),fl(),s}for(;i=e.lastChild;)e.removeChild(i);if("function"==typeof r){var a=r;r=function(){var e=ql(u);a.call(e)}}var u=zl(e,0,!1,null,0,!1,0,"",Jl);return e._reactRootContainer=u,e[di]=u.current,Hr(8===e.nodeType?e.parentNode:e),fl((function(){Vl(t,u,n,r)})),u}(n,t,e,i,r);return ql(s)}Yl.prototype.render=Kl.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(o(409));Vl(e,t,null,null)},Yl.prototype.unmount=Kl.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;fl((function(){Vl(null,e,null,null)})),t[di]=null}},Yl.prototype.unstable_scheduleHydration=function(e){if(e){var t=Et();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Rt.length&&0!==t&&t<Rt[n].priority;n++);Rt.splice(n,0,e),0===n&&Ut(e)}},_t=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=ft(t.pendingLanes);0!==n&&(yt(t,1|n),il(t,Xe()),0==(6&Tu)&&($u=Xe()+500,Hi()))}break;case 13:fl((function(){var t=Ao(e,1);if(null!==t){var n=tl();rl(t,e,1,n)}})),Gl(e,1)}},St=function(e){if(13===e.tag){var t=Ao(e,134217728);null!==t&&rl(t,e,134217728,tl()),Gl(e,134217728)}},xt=function(e){if(13===e.tag){var t=nl(e),n=Ao(e,t);null!==n&&rl(n,e,t,tl()),Gl(e,t)}},Et=function(){return bt},kt=function(e,t){var n=bt;try{return bt=e,t()}finally{bt=n}},Se=function(e,t,n){switch(t){case"input":if(Q(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var i=_i(r);if(!i)throw Error(o(90));G(r),Q(r,i)}}}break;case"textarea":oe(e,n);break;case"select":null!=(t=n.value)&&ne(e,!!n.multiple,t,!1)}},Oe=cl,Te=fl;var tc={usingClientEntryPoint:!1,Events:[bi,wi,_i,Pe,Ce,cl]},nc={findFiberByHostInstance:yi,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},rc={bundleType:nc.bundleType,version:nc.version,rendererPackageName:nc.rendererPackageName,rendererConfig:nc.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:w.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=qe(e))?null:e.stateNode},findFiberByHostInstance:nc.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var ic=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ic.isDisabled&&ic.supportsFiber)try{it=ic.inject(rc),ot=ic}catch(ce){}}t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=tc,t.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Xl(t))throw Error(o(200));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:S,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)},t.createRoot=function(e,t){if(!Xl(e))throw Error(o(299));var n=!1,r="",i=Zl;return null!=t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onRecoverableError&&(i=t.onRecoverableError)),t=zl(e,1,!1,null,0,n,0,r,i),e[di]=t.current,Hr(8===e.nodeType?e.parentNode:e),new Kl(t)},t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(o(188));throw e=Object.keys(e).join(","),Error(o(268,e))}return null===(e=qe(t))?null:e.stateNode},t.flushSync=function(e){return fl(e)},t.hydrate=function(e,t,n){if(!Ql(t))throw Error(o(200));return ec(null,e,t,!0,n)},t.hydrateRoot=function(e,t,n){if(!Xl(e))throw Error(o(405));var r=null!=n&&n.hydratedSources||null,i=!1,s="",a=Zl;if(null!=n&&(!0===n.unstable_strictMode&&(i=!0),void 0!==n.identifierPrefix&&(s=n.identifierPrefix),void 0!==n.onRecoverableError&&(a=n.onRecoverableError)),t=$l(t,null,e,1,null!=n?n:null,i,0,s,a),e[di]=t.current,Hr(e),r)for(e=0;e<r.length;e++)i=(i=(n=r[e])._getVersion)(n._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[n,i]:t.mutableSourceEagerHydrationData.push(n,i);return new Yl(t)},t.render=function(e,t,n){if(!Ql(t))throw Error(o(200));return ec(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!Ql(e))throw Error(o(40));return!!e._reactRootContainer&&(fl((function(){ec(null,null,e,!1,(function(){e._reactRootContainer=null,e[di]=null}))})),!0)},t.unstable_batchedUpdates=cl,t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Ql(n))throw Error(o(200));if(null==e||void 0===e._reactInternals)throw Error(o(38));return ec(e,t,n,!1,r)},t.version="18.2.0-next-9e3b772b8-20220608"},28316:function(e,t,n){"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=n(52967)},78435:function(e){var t="undefined"!=typeof Element,n="function"==typeof Map,r="function"==typeof Set,i="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function o(e,s){if(e===s)return!0;if(e&&s&&"object"==typeof e&&"object"==typeof s){if(e.constructor!==s.constructor)return!1;var a,u,l,c;if(Array.isArray(e)){if((a=e.length)!=s.length)return!1;for(u=a;0!=u--;)if(!o(e[u],s[u]))return!1;return!0}if(n&&e instanceof Map&&s instanceof Map){if(e.size!==s.size)return!1;for(c=e.entries();!(u=c.next()).done;)if(!s.has(u.value[0]))return!1;for(c=e.entries();!(u=c.next()).done;)if(!o(u.value[1],s.get(u.value[0])))return!1;return!0}if(r&&e instanceof Set&&s instanceof Set){if(e.size!==s.size)return!1;for(c=e.entries();!(u=c.next()).done;)if(!s.has(u.value[0]))return!1;return!0}if(i&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(s)){if((a=e.length)!=s.length)return!1;for(u=a;0!=u--;)if(e[u]!==s[u])return!1;return!0}if(e.constructor===RegExp)return e.source===s.source&&e.flags===s.flags;if(e.valueOf!==Object.prototype.valueOf&&"function"==typeof e.valueOf&&"function"==typeof s.valueOf)return e.valueOf()===s.valueOf();if(e.toString!==Object.prototype.toString&&"function"==typeof e.toString&&"function"==typeof s.toString)return e.toString()===s.toString();if((a=(l=Object.keys(e)).length)!==Object.keys(s).length)return!1;for(u=a;0!=u--;)if(!Object.prototype.hasOwnProperty.call(s,l[u]))return!1;if(t&&e instanceof Element)return!1;for(u=a;0!=u--;)if(("_owner"!==l[u]&&"__v"!==l[u]&&"__o"!==l[u]||!e.$$typeof)&&!o(e[l[u]],s[l[u]]))return!1;return!0}return e!=e&&s!=s}e.exports=function(e,t){try{return o(e,t)}catch(e){if((e.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw e}}},18671:function(e,t,n){"use strict";n.r(t),n.d(t,{Helmet:function(){return ne}});var r,i,o,s,a=n(13980),u=n.n(a),l=n(77512),c=n.n(l),f=n(78435),h=n.n(f),p=n(2784),d=n(37320),m=n.n(d),g="bodyAttributes",v="htmlAttributes",y={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title"},b=(Object.keys(y).map((function(e){return y[e]})),"charset"),w="cssText",_="href",S="innerHTML",x="itemprop",E="rel",k={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},P=Object.keys(k).reduce((function(e,t){return e[k[t]]=t,e}),{}),C=[y.NOSCRIPT,y.SCRIPT,y.STYLE],O="data-react-helmet",T="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},A=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),F=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},I=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n},R=function(e){return!1===(!(arguments.length>1&&void 0!==arguments[1])||arguments[1])?String(e):String(e).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")},M=function(e){var t=j(e,y.TITLE),n=j(e,"titleTemplate");if(n&&t)return n.replace(/%s/g,(function(){return Array.isArray(t)?t.join(""):t}));var r=j(e,"defaultTitle");return t||r||void 0},N=function(e){return j(e,"onChangeClientState")||function(){}},L=function(e,t){return t.filter((function(t){return void 0!==t[e]})).map((function(t){return t[e]})).reduce((function(e,t){return F({},e,t)}),{})},U=function(e,t){return t.filter((function(e){return void 0!==e[y.BASE]})).map((function(e){return e[y.BASE]})).reverse().reduce((function(t,n){if(!t.length)for(var r=Object.keys(n),i=0;i<r.length;i++){var o=r[i].toLowerCase();if(-1!==e.indexOf(o)&&n[o])return t.concat(n)}return t}),[])},D=function(e,t,n){var r={};return n.filter((function(t){return!!Array.isArray(t[e])||(void 0!==t[e]&&V("Helmet: "+e+' should be of type "Array". Instead found type "'+T(t[e])+'"'),!1)})).map((function(t){return t[e]})).reverse().reduce((function(e,n){var i={};n.filter((function(e){for(var n=void 0,o=Object.keys(e),s=0;s<o.length;s++){var a=o[s],u=a.toLowerCase();-1===t.indexOf(u)||n===E&&"canonical"===e[n].toLowerCase()||u===E&&"stylesheet"===e[u].toLowerCase()||(n=u),-1===t.indexOf(a)||a!==S&&a!==w&&a!==x||(n=a)}if(!n||!e[n])return!1;var l=e[n].toLowerCase();return r[n]||(r[n]={}),i[n]||(i[n]={}),!r[n][l]&&(i[n][l]=!0,!0)})).reverse().forEach((function(t){return e.push(t)}));for(var o=Object.keys(i),s=0;s<o.length;s++){var a=o[s],u=m()({},r[a],i[a]);r[a]=u}return e}),[]).reverse()},j=function(e,t){for(var n=e.length-1;n>=0;n--){var r=e[n];if(r.hasOwnProperty(t))return r[t]}return null},B=(r=Date.now(),function(e){var t=Date.now();t-r>16?(r=t,e(t)):setTimeout((function(){B(e)}),0)}),z=function(e){return clearTimeout(e)},H="undefined"!=typeof window?window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||B:n.g.requestAnimationFrame||B,$="undefined"!=typeof window?window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||z:n.g.cancelAnimationFrame||z,V=function(e){return console&&"function"==typeof console.warn&&console.warn(e)},q=null,W=function(e,t){var n=e.baseTag,r=e.bodyAttributes,i=e.htmlAttributes,o=e.linkTags,s=e.metaTags,a=e.noscriptTags,u=e.onChangeClientState,l=e.scriptTags,c=e.styleTags,f=e.title,h=e.titleAttributes;K(y.BODY,r),K(y.HTML,i),Z(f,h);var p={baseTag:Y(y.BASE,n),linkTags:Y(y.LINK,o),metaTags:Y(y.META,s),noscriptTags:Y(y.NOSCRIPT,a),scriptTags:Y(y.SCRIPT,l),styleTags:Y(y.STYLE,c)},d={},m={};Object.keys(p).forEach((function(e){var t=p[e],n=t.newTags,r=t.oldTags;n.length&&(d[e]=n),r.length&&(m[e]=p[e].oldTags)})),t&&t(),u(e,d,m)},G=function(e){return Array.isArray(e)?e.join(""):e},Z=function(e,t){void 0!==e&&document.title!==e&&(document.title=G(e)),K(y.TITLE,t)},K=function(e,t){var n=document.getElementsByTagName(e)[0];if(n){for(var r=n.getAttribute(O),i=r?r.split(","):[],o=[].concat(i),s=Object.keys(t),a=0;a<s.length;a++){var u=s[a],l=t[u]||"";n.getAttribute(u)!==l&&n.setAttribute(u,l),-1===i.indexOf(u)&&i.push(u);var c=o.indexOf(u);-1!==c&&o.splice(c,1)}for(var f=o.length-1;f>=0;f--)n.removeAttribute(o[f]);i.length===o.length?n.removeAttribute(O):n.getAttribute(O)!==s.join(",")&&n.setAttribute(O,s.join(","))}},Y=function(e,t){var n=document.head||document.querySelector(y.HEAD),r=n.querySelectorAll(e+"["+O+"]"),i=Array.prototype.slice.call(r),o=[],s=void 0;return t&&t.length&&t.forEach((function(t){var n=document.createElement(e);for(var r in t)if(t.hasOwnProperty(r))if(r===S)n.innerHTML=t.innerHTML;else if(r===w)n.styleSheet?n.styleSheet.cssText=t.cssText:n.appendChild(document.createTextNode(t.cssText));else{var a=void 0===t[r]?"":t[r];n.setAttribute(r,a)}n.setAttribute(O,"true"),i.some((function(e,t){return s=t,n.isEqualNode(e)}))?i.splice(s,1):o.push(n)})),i.forEach((function(e){return e.parentNode.removeChild(e)})),o.forEach((function(e){return n.appendChild(e)})),{oldTags:i,newTags:o}},X=function(e){return Object.keys(e).reduce((function(t,n){var r=void 0!==e[n]?n+'="'+e[n]+'"':""+n;return t?t+" "+r:r}),"")},Q=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).reduce((function(t,n){return t[k[n]||n]=e[n],t}),t)},J=function(e,t,n){switch(e){case y.TITLE:return{toComponent:function(){return e=t.title,n=t.titleAttributes,(r={key:e})[O]=!0,i=Q(n,r),[p.createElement(y.TITLE,i,e)];var e,n,r,i},toString:function(){return function(e,t,n,r){var i=X(n),o=G(t);return i?"<"+e+" "+O+'="true" '+i+">"+R(o,r)+"</"+e+">":"<"+e+" "+O+'="true">'+R(o,r)+"</"+e+">"}(e,t.title,t.titleAttributes,n)}};case g:case v:return{toComponent:function(){return Q(t)},toString:function(){return X(t)}};default:return{toComponent:function(){return function(e,t){return t.map((function(t,n){var r,i=((r={key:n})[O]=!0,r);return Object.keys(t).forEach((function(e){var n=k[e]||e;if(n===S||n===w){var r=t.innerHTML||t.cssText;i.dangerouslySetInnerHTML={__html:r}}else i[n]=t[e]})),p.createElement(e,i)}))}(e,t)},toString:function(){return function(e,t,n){return t.reduce((function(t,r){var i=Object.keys(r).filter((function(e){return!(e===S||e===w)})).reduce((function(e,t){var i=void 0===r[t]?t:t+'="'+R(r[t],n)+'"';return e?e+" "+i:i}),""),o=r.innerHTML||r.cssText||"",s=-1===C.indexOf(e);return t+"<"+e+" "+O+'="true" '+i+(s?"/>":">"+o+"</"+e+">")}),"")}(e,t,n)}}}},ee=function(e){var t=e.baseTag,n=e.bodyAttributes,r=e.encode,i=e.htmlAttributes,o=e.linkTags,s=e.metaTags,a=e.noscriptTags,u=e.scriptTags,l=e.styleTags,c=e.title,f=void 0===c?"":c,h=e.titleAttributes;return{base:J(y.BASE,t,r),bodyAttributes:J(g,n,r),htmlAttributes:J(v,i,r),link:J(y.LINK,o,r),meta:J(y.META,s,r),noscript:J(y.NOSCRIPT,a,r),script:J(y.SCRIPT,u,r),style:J(y.STYLE,l,r),title:J(y.TITLE,{title:f,titleAttributes:h},r)}},te=c()((function(e){return{baseTag:U([_,"target"],e),bodyAttributes:L(g,e),defer:j(e,"defer"),encode:j(e,"encodeSpecialCharacters"),htmlAttributes:L(v,e),linkTags:D(y.LINK,[E,_],e),metaTags:D(y.META,["name",b,"http-equiv","property",x],e),noscriptTags:D(y.NOSCRIPT,[S],e),onChangeClientState:N(e),scriptTags:D(y.SCRIPT,["src",S],e),styleTags:D(y.STYLE,[w],e),title:M(e),titleAttributes:L("titleAttributes",e)}}),(function(e){q&&$(q),e.defer?q=H((function(){W(e,(function(){q=null}))})):(W(e),q=null)}),ee)((function(){return null})),ne=(i=te,s=o=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.shouldComponentUpdate=function(e){return!h()(this.props,e)},t.prototype.mapNestedChildrenToProps=function(e,t){if(!t)return null;switch(e.type){case y.SCRIPT:case y.NOSCRIPT:return{innerHTML:t};case y.STYLE:return{cssText:t}}throw new Error("<"+e.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")},t.prototype.flattenArrayTypeChildren=function(e){var t,n=e.child,r=e.arrayTypeChildren,i=e.newChildProps,o=e.nestedChildren;return F({},r,((t={})[n.type]=[].concat(r[n.type]||[],[F({},i,this.mapNestedChildrenToProps(n,o))]),t))},t.prototype.mapObjectTypeChildren=function(e){var t,n,r=e.child,i=e.newProps,o=e.newChildProps,s=e.nestedChildren;switch(r.type){case y.TITLE:return F({},i,((t={})[r.type]=s,t.titleAttributes=F({},o),t));case y.BODY:return F({},i,{bodyAttributes:F({},o)});case y.HTML:return F({},i,{htmlAttributes:F({},o)})}return F({},i,((n={})[r.type]=F({},o),n))},t.prototype.mapArrayTypeChildrenToProps=function(e,t){var n=F({},t);return Object.keys(e).forEach((function(t){var r;n=F({},n,((r={})[t]=e[t],r))})),n},t.prototype.warnOnInvalidChildren=function(e,t){return!0},t.prototype.mapChildrenToProps=function(e,t){var n=this,r={};return p.Children.forEach(e,(function(e){if(e&&e.props){var i=e.props,o=i.children,s=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).reduce((function(t,n){return t[P[n]||n]=e[n],t}),t)}(I(i,["children"]));switch(n.warnOnInvalidChildren(e,o),e.type){case y.LINK:case y.META:case y.NOSCRIPT:case y.SCRIPT:case y.STYLE:r=n.flattenArrayTypeChildren({child:e,arrayTypeChildren:r,newChildProps:s,nestedChildren:o});break;default:t=n.mapObjectTypeChildren({child:e,newProps:t,newChildProps:s,nestedChildren:o})}}})),t=this.mapArrayTypeChildrenToProps(r,t)},t.prototype.render=function(){var e=this.props,t=e.children,n=I(e,["children"]),r=F({},n);return t&&(r=this.mapChildrenToProps(t,r)),p.createElement(i,r)},A(t,null,[{key:"canUseDOM",set:function(e){i.canUseDOM=e}}]),t}(p.Component),o.propTypes={base:u().object,bodyAttributes:u().object,children:u().oneOfType([u().arrayOf(u().node),u().node]),defaultTitle:u().string,defer:u().bool,encodeSpecialCharacters:u().bool,htmlAttributes:u().object,link:u().arrayOf(u().object),meta:u().arrayOf(u().object),noscript:u().arrayOf(u().object),onChangeClientState:u().func,script:u().arrayOf(u().object),style:u().arrayOf(u().object),title:u().string,titleAttributes:u().object,titleTemplate:u().string},o.defaultProps={defer:!0,encodeSpecialCharacters:!0},o.peek=i.peek,o.rewind=function(){var e=i.rewind();return e||(e=ee({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}})),e},s);ne.renderStatic=ne.rewind,t.default=ne},64678:function(e,t,n){"use strict";n.r(t),n.d(t,{FormattedDate:function(){return pe},FormattedDateParts:function(){return ye},FormattedDateTimeRange:function(){return ce},FormattedDisplayName:function(){return ve},FormattedList:function(){return ge},FormattedListParts:function(){return l},FormattedMessage:function(){return ue.Z},FormattedNumber:function(){return me},FormattedNumberParts:function(){return u},FormattedPlural:function(){return ae},FormattedRelativeTime:function(){return oe},FormattedTime:function(){return de},FormattedTimeParts:function(){return be},IntlContext:function(){return h._y},IntlProvider:function(){return X},InvalidConfigError:function(){return g.OV},MessageFormatError:function(){return g.X9},MissingDataError:function(){return g.gb},MissingTranslationError:function(){return g.$6},RawIntlProvider:function(){return h.zt},ReactIntlError:function(){return g.Rw},ReactIntlErrorCode:function(){return g.bc},UnsupportedFormatterError:function(){return g.wI},createIntl:function(){return K},createIntlCache:function(){return S.Sn},defineMessage:function(){return he},defineMessages:function(){return fe},injectIntl:function(){return h.ZP},useIntl:function(){return a.Z}});var r,i,o=n(5163),s=n(2784),a=n(83112);!function(e){e.formatDate="FormattedDate",e.formatTime="FormattedTime",e.formatNumber="FormattedNumber",e.formatList="FormattedList",e.formatDisplayName="FormattedDisplayName"}(r||(r={})),function(e){e.formatDate="FormattedDateParts",e.formatTime="FormattedTimeParts",e.formatNumber="FormattedNumberParts",e.formatList="FormattedListParts"}(i||(i={}));var u=function(e){var t=(0,a.Z)(),n=e.value,r=e.children,i=(0,o._T)(e,["value","children"]);return r(t.formatNumberToParts(n,i))};u.displayName="FormattedNumberParts";var l=function(e){var t=(0,a.Z)(),n=e.value,r=e.children,i=(0,o._T)(e,["value","children"]);return r(t.formatListToParts(n,i))};function c(e){var t=function(t){var n=(0,a.Z)(),r=t.value,i=t.children,s=(0,o._T)(t,["value","children"]),u="string"==typeof r?new Date(r||0):r;return i("formatDate"===e?n.formatDateToParts(u,s):n.formatTimeToParts(u,s))};return t.displayName=i[e],t}function f(e){var t=function(t){var n=(0,a.Z)(),r=t.value,i=t.children,u=(0,o._T)(t,["value","children"]),l=n[e](r,u);if("function"==typeof i)return i(l);var c=n.textComponent||s.Fragment;return s.createElement(c,null,l)};return t.displayName=r[e],t}u.displayName="FormattedNumberParts";var h=n(89274),p=n(87576),d=n(73731),m=n(77481),g=n(40283),v=n(39987);function y(e,t){return Object.keys(e).reduce((function(n,r){return n[r]=(0,o.pi)({timeZone:t},e[r]),n}),{})}function b(e,t){return Object.keys((0,o.pi)((0,o.pi)({},e),t)).reduce((function(n,r){return n[r]=(0,o.pi)((0,o.pi)({},e[r]||{}),t[r]||{}),n}),{})}function w(e,t){if(!t)return e;var n=m.C.formats;return(0,o.pi)((0,o.pi)((0,o.pi)({},n),e),{date:b(y(n.date,t),y(e.date||{},t)),time:b(y(n.time,t),y(e.time||{},t))})}function _(e,t,n,r,i){var s=e.locale,a=e.formats,u=e.messages,l=e.defaultLocale,c=e.defaultFormats,f=e.fallbackOnEmptyString,h=e.onError,p=e.timeZone,m=e.defaultRichTextElements;void 0===n&&(n={id:""});var y=n.id,b=n.defaultMessage;(0,d.kG)(!!y,"[@formatjs/intl] An `id` must be provided to format a message. You can either:\n1. Configure your build toolchain with [babel-plugin-formatjs](https://formatjs.io/docs/tooling/babel-plugin)\nor [@formatjs/ts-transformer](https://formatjs.io/docs/tooling/ts-transformer) OR\n2. Configure your `eslint` config to include [eslint-plugin-formatjs](https://formatjs.io/docs/tooling/linter#enforce-id)\nto autofix this issue");var _=String(y),S=u&&Object.prototype.hasOwnProperty.call(u,_)&&u[_];if(Array.isArray(S)&&1===S.length&&S[0].type===v.wD.literal)return S[0].value;if(!r&&S&&"string"==typeof S&&!m)return S.replace(/'\{(.*?)\}'/gi,"{$1}");if(r=(0,o.pi)((0,o.pi)({},m),r||{}),a=w(a,p),c=w(c,p),!S){if(!1===f&&""===S)return S;if((!b||s&&s.toLowerCase()!==l.toLowerCase())&&h(new g.$6(n,s)),b)try{return t.getMessageFormat(b,l,c,i).format(r)}catch(e){return h(new g.X9('Error formatting default message for: "'.concat(_,'", rendering default message verbatim'),s,n,e)),"string"==typeof b?b:_}return _}try{return t.getMessageFormat(S,s,a,(0,o.pi)({formatters:t},i||{})).format(r)}catch(e){h(new g.X9('Error formatting message: "'.concat(_,'", using ').concat(b?"default message":"id"," as fallback."),s,n,e))}if(b)try{return t.getMessageFormat(b,l,c,i).format(r)}catch(e){h(new g.X9('Error formatting the default message for: "'.concat(_,'", rendering message verbatim'),s,n,e))}return"string"==typeof S?S:"string"==typeof b?b:_}var S=n(32428),x=["localeMatcher","style","currency","currencyDisplay","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay","numberingSystem"];function E(e,t,n){var r=e.locale,i=e.formats,o=e.onError;void 0===n&&(n={});var s=n.format,a=s&&(0,S.TB)(i,"number",s,o)||{};return t(r,(0,S.L6)(n,x,a))}function k(e,t,n,r){void 0===r&&(r={});try{return E(e,t,r).format(n)}catch(t){e.onError(new g.Rw(g.bc.FORMAT_ERROR,"Error formatting number.",t))}return String(n)}function P(e,t,n,r){void 0===r&&(r={});try{return E(e,t,r).formatToParts(n)}catch(t){e.onError(new g.Rw(g.bc.FORMAT_ERROR,"Error formatting number.",t))}return[]}var C=n(56313),O=["numeric","style"];function T(e,t,n,r,i){void 0===i&&(i={}),r||(r="second"),Intl.RelativeTimeFormat||e.onError(new C.u_('Intl.RelativeTimeFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-relativetimeformat"\n',C.jK.MISSING_INTL_API));try{return function(e,t,n){var r=e.locale,i=e.formats,o=e.onError;void 0===n&&(n={});var s=n.format,a=!!s&&(0,S.TB)(i,"relative",s,o)||{};return t(r,(0,S.L6)(n,O,a))}(e,t,i).format(n,r)}catch(t){e.onError(new g.Qe("Error formatting relative time.",e.locale,t))}return String(n)}var A=["localeMatcher","formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName","hourCycle","dateStyle","timeStyle","calendar","numberingSystem"];function F(e,t,n,r){var i=e.locale,s=e.formats,a=e.onError,u=e.timeZone;void 0===r&&(r={});var l=r.format,c=(0,o.pi)((0,o.pi)({},u&&{timeZone:u}),l&&(0,S.TB)(s,t,l,a)),f=(0,S.L6)(r,A,c);return"time"!==t||f.hour||f.minute||f.second||f.timeStyle||f.dateStyle||(f=(0,o.pi)((0,o.pi)({},f),{hour:"numeric",minute:"numeric"})),n(i,f)}function I(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=n[0],o=n[1],s=void 0===o?{}:o,a="string"==typeof i?new Date(i||0):i;try{return F(e,"date",t,s).format(a)}catch(t){e.onError(new g.Rw(g.bc.FORMAT_ERROR,"Error formatting date.",t))}return String(a)}function R(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=n[0],o=n[1],s=void 0===o?{}:o,a="string"==typeof i?new Date(i||0):i;try{return F(e,"time",t,s).format(a)}catch(t){e.onError(new g.Rw(g.bc.FORMAT_ERROR,"Error formatting time.",t))}return String(a)}function M(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=n[0],o=n[1],s=n[2],a=void 0===s?{}:s,u=e.timeZone,l=e.locale,c=e.onError,f=(0,S.L6)(a,A,u?{timeZone:u}:{});try{return t(l,f).formatRange(i,o)}catch(e){c(new g.Rw(g.bc.FORMAT_ERROR,"Error formatting date time range.",e))}return String(i)}function N(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=n[0],o=n[1],s=void 0===o?{}:o,a="string"==typeof i?new Date(i||0):i;try{return F(e,"date",t,s).formatToParts(a)}catch(t){e.onError(new g.Rw(g.bc.FORMAT_ERROR,"Error formatting date.",t))}return[]}function L(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=n[0],o=n[1],s=void 0===o?{}:o,a="string"==typeof i?new Date(i||0):i;try{return F(e,"time",t,s).formatToParts(a)}catch(t){e.onError(new g.Rw(g.bc.FORMAT_ERROR,"Error formatting time.",t))}return[]}var U=["localeMatcher","type"];function D(e,t,n,r){var i=e.locale,o=e.onError;void 0===r&&(r={}),Intl.PluralRules||o(new C.u_('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',C.jK.MISSING_INTL_API));var s=(0,S.L6)(r,U);try{return t(i,s).select(n)}catch(e){o(new g.Qe("Error formatting plural.",i,e))}return"other"}var j=["localeMatcher","type","style"],B=Date.now();function z(e,t,n,r){void 0===r&&(r={});var i=H(e,t,n,r).reduce((function(e,t){var n=t.value;return"string"!=typeof n?e.push(n):"string"==typeof e[e.length-1]?e[e.length-1]+=n:e.push(n),e}),[]);return 1===i.length?i[0]:i}function H(e,t,n,r){var i=e.locale,s=e.onError;void 0===r&&(r={}),Intl.ListFormat||s(new C.u_('Intl.ListFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-listformat"\n',C.jK.MISSING_INTL_API));var a=(0,S.L6)(r,j);try{var u={},l=n.map((function(e,t){if("object"==typeof e){var n=function(e){return"".concat(B,"_").concat(e,"_").concat(B)}(t);return u[n]=e,n}return String(e)}));return t(i,a).formatToParts(l).map((function(e){return"literal"===e.type?e:(0,o.pi)((0,o.pi)({},e),{value:u[e.value]||e.value})}))}catch(e){s(new g.Rw(g.bc.FORMAT_ERROR,"Error formatting list.",e))}return n}var $=["localeMatcher","style","type","fallback"];function V(e,t,n,r){var i=e.locale,o=e.onError;Intl.DisplayNames||o(new C.u_('Intl.DisplayNames is not available in this environment.\nTry polyfilling it using "@formatjs/intl-displaynames"\n',C.jK.MISSING_INTL_API));var s=(0,S.L6)(r,$);try{return t(i,s).of(n)}catch(e){o(new g.Rw(g.bc.FORMAT_ERROR,"Error formatting display name.",e))}}var q=n(30087);function W(e){return{locale:e.locale,timeZone:e.timeZone,fallbackOnEmptyString:e.fallbackOnEmptyString,formats:e.formats,textComponent:e.textComponent,messages:e.messages,defaultLocale:e.defaultLocale,defaultFormats:e.defaultFormats,onError:e.onError,onWarn:e.onWarn,wrapRichTextChunksInFragment:e.wrapRichTextChunksInFragment,defaultRichTextElements:e.defaultRichTextElements}}function G(e){return e?Object.keys(e).reduce((function(t,n){var r=e[n];return t[n]=(0,q.Gt)(r)?(0,p.dt)(r):r,t}),{}):e}var Z=function(e,t,n,r){for(var i=[],a=4;a<arguments.length;a++)i[a-4]=arguments[a];var u=G(r),l=_.apply(void 0,(0,o.ev)([e,t,n,u],i,!1));return Array.isArray(l)?s.Children.toArray(l):l},K=function(e,t){var n=e.defaultRichTextElements,r=(0,o._T)(e,["defaultRichTextElements"]),i=G(n),s=function(e,t){var n=(0,S.ax)(t),r=(0,o.pi)((0,o.pi)({},S.Z0),e),i=r.locale,s=r.defaultLocale,a=r.onError;return i?!Intl.NumberFormat.supportedLocalesOf(i).length&&a?a(new g.gb('Missing locale data for locale: "'.concat(i,'" in Intl.NumberFormat. Using default locale: "').concat(s,'" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details'))):!Intl.DateTimeFormat.supportedLocalesOf(i).length&&a&&a(new g.gb('Missing locale data for locale: "'.concat(i,'" in Intl.DateTimeFormat. Using default locale: "').concat(s,'" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details'))):(a&&a(new g.OV('"locale" was not configured, using "'.concat(s,'" as fallback. See https://formatjs.io/docs/react-intl/api#intlshape for more details'))),r.locale=r.defaultLocale||"en"),function(e){var t;e.onWarn&&e.defaultRichTextElements&&"string"==typeof((t=e.messages||{})?t[Object.keys(t)[0]]:void 0)&&e.onWarn('[@formatjs/intl] "defaultRichTextElements" was specified but "message" was not pre-compiled. \nPlease consider using "@formatjs/cli" to pre-compile your messages for performance.\nFor more details see https://formatjs.io/docs/getting-started/message-distribution')}(r),(0,o.pi)((0,o.pi)({},r),{formatters:n,formatNumber:k.bind(null,r,n.getNumberFormat),formatNumberToParts:P.bind(null,r,n.getNumberFormat),formatRelativeTime:T.bind(null,r,n.getRelativeTimeFormat),formatDate:I.bind(null,r,n.getDateTimeFormat),formatDateToParts:N.bind(null,r,n.getDateTimeFormat),formatTime:R.bind(null,r,n.getDateTimeFormat),formatDateTimeRange:M.bind(null,r,n.getDateTimeFormat),formatTimeToParts:L.bind(null,r,n.getDateTimeFormat),formatPlural:D.bind(null,r,n.getPluralRules),formatMessage:_.bind(null,r,n),$t:_.bind(null,r,n),formatList:z.bind(null,r,n.getListFormat),formatListToParts:H.bind(null,r,n.getListFormat),formatDisplayName:V.bind(null,r,n.getDisplayNames)})}((0,o.pi)((0,o.pi)((0,o.pi)({},p.Z0),r),{defaultRichTextElements:i}),t);return(0,o.pi)((0,o.pi)({},s),{formatMessage:Z.bind(null,{locale:s.locale,timeZone:s.timeZone,fallbackOnEmptyString:s.fallbackOnEmptyString,formats:s.formats,defaultLocale:s.defaultLocale,defaultFormats:s.defaultFormats,messages:s.messages,onError:s.onError,defaultRichTextElements:i},s.formatters)})},Y=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.cache=(0,S.Sn)(),t.state={cache:t.cache,intl:K(W(t.props),t.cache),prevConfig:W(t.props)},t}return(0,o.ZT)(t,e),t.getDerivedStateFromProps=function(e,t){var n=t.prevConfig,r=t.cache,i=W(e);return(0,p.wU)(n,i)?null:{intl:K(i,r),prevConfig:i}},t.prototype.render=function(){return(0,p.lq)(this.state.intl),s.createElement(h.zt,{value:this.state.intl},this.props.children)},t.displayName="IntlProvider",t.defaultProps=p.Z0,t}(s.PureComponent),X=Y,Q=3600;function J(e){var t=Math.abs(e);return t<60?"second":t<Q?"minute":t<86400?"hour":"day"}function ee(e){switch(e){case"second":return 1;case"minute":return 60;case"hour":return Q;default:return 86400}}var te=["second","minute","hour"];function ne(e){return void 0===e&&(e="second"),te.indexOf(e)>-1}var re=function(e){var t=(0,a.Z)(),n=t.formatRelativeTime,r=t.textComponent,i=e.children,u=n(e.value||0,e.unit,(0,o._T)(e,["children","value","unit"]));return"function"==typeof i?i(u):r?s.createElement(r,null,u):s.createElement(s.Fragment,null,u)},ie=function(e){var t=e.value,n=e.unit,r=e.updateIntervalInSeconds,i=(0,o._T)(e,["value","unit","updateIntervalInSeconds"]);(0,d.kG)(!r||!(!r||!ne(n)),"Cannot schedule update with unit longer than hour");var a,u=s.useState(),l=u[0],c=u[1],f=s.useState(0),h=f[0],p=f[1],m=s.useState(0),g=m[0],v=m[1];n===l&&t===h||(p(t||0),c(n),v(ne(n)?function(e,t){if(!e)return 0;switch(t){case"second":return e;case"minute":return 60*e;default:return e*Q}}(t,n):0)),s.useEffect((function(){function e(){clearTimeout(a)}if(e(),!r||!ne(n))return e;var t=g-r,i=J(t);if("day"===i)return e;var o=ee(i),s=t-t%o,u=s>=g?s-o:s,l=Math.abs(u-g);return g!==u&&(a=setTimeout((function(){return v(u)}),1e3*l)),e}),[g,r,n]);var y=t||0,b=n;if(ne(n)&&"number"==typeof g&&r){var w=ee(b=J(g));y=Math.round(g/w)}return s.createElement(re,(0,o.pi)({value:y,unit:b},i))};ie.displayName="FormattedRelativeTime",ie.defaultProps={value:0,unit:"second"};var oe=ie,se=function(e){var t=(0,a.Z)(),n=t.formatPlural,r=t.textComponent,i=e.value,o=e.other,u=e.children,l=e[n(i,e)]||o;return"function"==typeof u?u(l):r?s.createElement(r,null,l):l};se.defaultProps={type:"cardinal"},se.displayName="FormattedPlural";var ae=se,ue=n(42670),le=function(e){var t=(0,a.Z)(),n=e.from,r=e.to,i=e.children,u=(0,o._T)(e,["from","to","children"]),l=t.formatDateTimeRange(n,r,u);if("function"==typeof i)return i(l);var c=t.textComponent||s.Fragment;return s.createElement(c,null,l)};le.displayName="FormattedDateTimeRange";var ce=le;function fe(e){return e}function he(e){return e}var pe=f("formatDate"),de=f("formatTime"),me=f("formatNumber"),ge=f("formatList"),ve=f("formatDisplayName"),ye=c("formatDate"),be=c("formatTime")},89274:function(e,t,n){"use strict";n.d(t,{ZP:function(){return h},_y:function(){return f},zt:function(){return c}});var r=n(5163),i=n(2784),o=n(73463),s=n.n(o),a=n(87576),u=i.createContext(null),l=u.Consumer,c=u.Provider,f=u;function h(e,t){var n,o=t||{},u=o.intlPropName,c=void 0===u?"intl":u,f=o.forwardRef,h=void 0!==f&&f,p=o.enforceContext,d=void 0===p||p,m=function(t){return i.createElement(l,null,(function(n){var o;d&&(0,a.lq)(n);var s=((o={})[c]=n,o);return i.createElement(e,(0,r.pi)({},t,s,{ref:h?t.forwardedRef:null}))}))};return m.displayName="injectIntl(".concat((n=e).displayName||n.name||"Component",")"),m.WrappedComponent=e,h?s()(i.forwardRef((function(e,t){return i.createElement(m,(0,r.pi)({},e,{forwardedRef:t}))})),e):s()(m,e)}},42670:function(e,t,n){"use strict";var r=n(5163),i=n(2784),o=n(83112),s=n(87576);function a(e){var t=(0,o.Z)(),n=t.formatMessage,r=t.textComponent,s=void 0===r?i.Fragment:r,a=e.id,u=e.description,l=e.defaultMessage,c=e.values,f=e.children,h=e.tagName,p=void 0===h?s:h,d=n({id:a,description:u,defaultMessage:l},c,{ignoreTag:e.ignoreTag});return"function"==typeof f?f(Array.isArray(d)?d:[d]):p?i.createElement(p,null,i.Children.toArray(d)):i.createElement(i.Fragment,null,d)}a.displayName="FormattedMessage";var u=i.memo(a,(function(e,t){var n=e.values,i=(0,r._T)(e,["values"]),o=t.values,a=(0,r._T)(t,["values"]);return(0,s.wU)(o,n)&&(0,s.wU)(i,a)}));u.displayName="MemoizedFormattedMessage",t.Z=u},83112:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(2784),i=n(89274),o=n(87576);function s(){var e=r.useContext(i._y);return(0,o.lq)(e),e}},87576:function(e,t,n){"use strict";n.d(t,{Z0:function(){return u},dt:function(){return l},lq:function(){return a},wU:function(){return c}});var r=n(5163),i=n(2784),o=n(73731),s=n(32428);function a(e){(0,o.kG)(e,"[React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.")}var u=(0,r.pi)((0,r.pi)({},s.Z0),{textComponent:i.Fragment});function l(e){return function(t){return e(i.Children.toArray(t))}}function c(e,t){if(e===t)return!0;if(!e||!t)return!1;var n=Object.keys(e),r=Object.keys(t),i=n.length;if(r.length!==i)return!1;for(var o=0;o<i;o++){var s=n[o];if(e[s]!==t[s]||!Object.prototype.hasOwnProperty.call(t,s))return!1}return!0}},47933:function(e,t,n){"use strict";n.r(t),n.d(t,{BrowserRouter:function(){return c},HashRouter:function(){return f},Link:function(){return v},MemoryRouter:function(){return r.MemoryRouter},NavLink:function(){return w},Prompt:function(){return r.Prompt},Redirect:function(){return r.Redirect},Route:function(){return r.Route},Router:function(){return r.Router},StaticRouter:function(){return r.StaticRouter},Switch:function(){return r.Switch},generatePath:function(){return r.generatePath},matchPath:function(){return r.matchPath},useHistory:function(){return r.useHistory},useLocation:function(){return r.useLocation},useParams:function(){return r.useParams},useRouteMatch:function(){return r.useRouteMatch},withRouter:function(){return r.withRouter}});var r=n(7267),i=n(81665),o=n(2784),s=n(70809),a=n(7896),u=n(31461),l=n(10362),c=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).history=(0,s.lX)(t.props),t}return(0,i.Z)(t,e),t.prototype.render=function(){return o.createElement(r.Router,{history:this.history,children:this.props.children})},t}(o.Component),f=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).history=(0,s.q_)(t.props),t}return(0,i.Z)(t,e),t.prototype.render=function(){return o.createElement(r.Router,{history:this.history,children:this.props.children})},t}(o.Component),h=function(e,t){return"function"==typeof e?e(t):e},p=function(e,t){return"string"==typeof e?(0,s.ob)(e,null,null,t):e},d=function(e){return e},m=o.forwardRef;void 0===m&&(m=d);var g=m((function(e,t){var n=e.innerRef,r=e.navigate,i=e.onClick,s=(0,u.Z)(e,["innerRef","navigate","onClick"]),l=s.target,c=(0,a.Z)({},s,{onClick:function(e){try{i&&i(e)}catch(t){throw e.preventDefault(),t}e.defaultPrevented||0!==e.button||l&&"_self"!==l||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e)||(e.preventDefault(),r())}});return c.ref=d!==m&&t||n,o.createElement("a",c)})),v=m((function(e,t){var n=e.component,i=void 0===n?g:n,c=e.replace,f=e.to,v=e.innerRef,y=(0,u.Z)(e,["component","replace","to","innerRef"]);return o.createElement(r.__RouterContext.Consumer,null,(function(e){e||(0,l.Z)(!1);var n=e.history,r=p(h(f,e.location),e.location),u=r?n.createHref(r):"",g=(0,a.Z)({},y,{href:u,navigate:function(){var t=h(f,e.location),r=(0,s.Ep)(e.location)===(0,s.Ep)(p(t));(c||r?n.replace:n.push)(t)}});return d!==m?g.ref=t||v:g.innerRef=v,o.createElement(i,g)}))})),y=function(e){return e},b=o.forwardRef;void 0===b&&(b=y);var w=b((function(e,t){var n=e["aria-current"],i=void 0===n?"page":n,s=e.activeClassName,c=void 0===s?"active":s,f=e.activeStyle,d=e.className,m=e.exact,g=e.isActive,w=e.location,_=e.sensitive,S=e.strict,x=e.style,E=e.to,k=e.innerRef,P=(0,u.Z)(e,["aria-current","activeClassName","activeStyle","className","exact","isActive","location","sensitive","strict","style","to","innerRef"]);return o.createElement(r.__RouterContext.Consumer,null,(function(e){e||(0,l.Z)(!1);var n=w||e.location,s=p(h(E,n),n),u=s.pathname,C=u&&u.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1"),O=C?(0,r.matchPath)(n.pathname,{path:C,exact:m,sensitive:_,strict:S}):null,T=!!(g?g(O,n):O),A="function"==typeof d?d(T):d,F="function"==typeof x?x(T):x;T&&(A=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter((function(e){return e})).join(" ")}(A,c),F=(0,a.Z)({},F,f));var I=(0,a.Z)({"aria-current":T&&i||null,className:A,style:F,to:s},P);return y!==b?I.ref=t||k:I.innerRef=k,o.createElement(v,I)}))}))},7267:function(e,t,n){"use strict";n.r(t),n.d(t,{MemoryRouter:function(){return S},Prompt:function(){return E},Redirect:function(){return T},Route:function(){return M},Router:function(){return _},StaticRouter:function(){return B},Switch:function(){return z},__HistoryContext:function(){return b},__RouterContext:function(){return w},generatePath:function(){return O},matchPath:function(){return R},useHistory:function(){return V},useLocation:function(){return q},useParams:function(){return W},useRouteMatch:function(){return G},withRouter:function(){return H}});var r=n(81665),i=n(2784),o=n(13980),s=n.n(o),a=n(70809),u=n(10362),l=n(7896),c=n(79056),f=n.n(c),h=(n(89744),n(31461)),p=n(73463),d=n.n(p),m=1073741823,g="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:{},v=i.createContext||function(e,t){var n,o,a,u="__create-react-context-"+((g[a="__global_unique_id__"]=(g[a]||0)+1)+"__"),l=function(e){function n(){for(var t,n,r,i=arguments.length,o=new Array(i),s=0;s<i;s++)o[s]=arguments[s];return(t=e.call.apply(e,[this].concat(o))||this).emitter=(n=t.props.value,r=[],{on:function(e){r.push(e)},off:function(e){r=r.filter((function(t){return t!==e}))},get:function(){return n},set:function(e,t){n=e,r.forEach((function(e){return e(n,t)}))}}),t}(0,r.Z)(n,e);var i=n.prototype;return i.getChildContext=function(){var e;return(e={})[u]=this.emitter,e},i.componentWillReceiveProps=function(e){if(this.props.value!==e.value){var n,r=this.props.value,i=e.value;((o=r)===(s=i)?0!==o||1/o==1/s:o!=o&&s!=s)?n=0:(n="function"==typeof t?t(r,i):m,0!=(n|=0)&&this.emitter.set(e.value,n))}var o,s},i.render=function(){return this.props.children},n}(i.Component);l.childContextTypes=((n={})[u]=s().object.isRequired,n);var c=function(t){function n(){for(var e,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(e=t.call.apply(t,[this].concat(r))||this).observedBits=void 0,e.state={value:e.getValue()},e.onUpdate=function(t,n){0!=((0|e.observedBits)&n)&&e.setState({value:e.getValue()})},e}(0,r.Z)(n,t);var i=n.prototype;return i.componentWillReceiveProps=function(e){var t=e.observedBits;this.observedBits=null==t?m:t},i.componentDidMount=function(){this.context[u]&&this.context[u].on(this.onUpdate);var e=this.props.observedBits;this.observedBits=null==e?m:e},i.componentWillUnmount=function(){this.context[u]&&this.context[u].off(this.onUpdate)},i.getValue=function(){return this.context[u]?this.context[u].get():e},i.render=function(){return(e=this.props.children,Array.isArray(e)?e[0]:e)(this.state.value);var e},n}(i.Component);return c.contextTypes=((o={})[u]=s().object,o),{Provider:l,Consumer:c}},y=function(e){var t=v();return t.displayName=e,t},b=y("Router-History"),w=y("Router"),_=function(e){function t(t){var n;return(n=e.call(this,t)||this).state={location:t.history.location},n._isMounted=!1,n._pendingLocation=null,t.staticContext||(n.unlisten=t.history.listen((function(e){n._pendingLocation=e}))),n}(0,r.Z)(t,e),t.computeRootMatch=function(e){return{path:"/",url:"/",params:{},isExact:"/"===e}};var n=t.prototype;return n.componentDidMount=function(){var e=this;this._isMounted=!0,this.unlisten&&this.unlisten(),this.props.staticContext||(this.unlisten=this.props.history.listen((function(t){e._isMounted&&e.setState({location:t})}))),this._pendingLocation&&this.setState({location:this._pendingLocation})},n.componentWillUnmount=function(){this.unlisten&&(this.unlisten(),this._isMounted=!1,this._pendingLocation=null)},n.render=function(){return i.createElement(w.Provider,{value:{history:this.props.history,location:this.state.location,match:t.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}},i.createElement(b.Provider,{children:this.props.children||null,value:this.props.history}))},t}(i.Component),S=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).history=(0,a.PP)(t.props),t}return(0,r.Z)(t,e),t.prototype.render=function(){return i.createElement(_,{history:this.history,children:this.props.children})},t}(i.Component),x=function(e){function t(){return e.apply(this,arguments)||this}(0,r.Z)(t,e);var n=t.prototype;return n.componentDidMount=function(){this.props.onMount&&this.props.onMount.call(this,this)},n.componentDidUpdate=function(e){this.props.onUpdate&&this.props.onUpdate.call(this,this,e)},n.componentWillUnmount=function(){this.props.onUnmount&&this.props.onUnmount.call(this,this)},n.render=function(){return null},t}(i.Component);function E(e){var t=e.message,n=e.when,r=void 0===n||n;return i.createElement(w.Consumer,null,(function(e){if(e||(0,u.Z)(!1),!r||e.staticContext)return null;var n=e.history.block;return i.createElement(x,{onMount:function(e){e.release=n(t)},onUpdate:function(e,r){r.message!==t&&(e.release(),e.release=n(t))},onUnmount:function(e){e.release()},message:t})}))}var k={},P=1e4,C=0;function O(e,t){return void 0===e&&(e="/"),void 0===t&&(t={}),"/"===e?e:function(e){if(k[e])return k[e];var t=f().compile(e);return C<P&&(k[e]=t,C++),t}(e)(t,{pretty:!0})}function T(e){var t=e.computedMatch,n=e.to,r=e.push,o=void 0!==r&&r;return i.createElement(w.Consumer,null,(function(e){e||(0,u.Z)(!1);var r=e.history,s=e.staticContext,c=o?r.push:r.replace,f=(0,a.ob)(t?"string"==typeof n?O(n,t.params):(0,l.Z)({},n,{pathname:O(n.pathname,t.params)}):n);return s?(c(f),null):i.createElement(x,{onMount:function(){c(f)},onUpdate:function(e,t){var n=(0,a.ob)(t.to);(0,a.Hp)(n,(0,l.Z)({},f,{key:n.key}))||c(f)},to:n})}))}var A={},F=1e4,I=0;function R(e,t){void 0===t&&(t={}),("string"==typeof t||Array.isArray(t))&&(t={path:t});var n=t,r=n.path,i=n.exact,o=void 0!==i&&i,s=n.strict,a=void 0!==s&&s,u=n.sensitive,l=void 0!==u&&u;return[].concat(r).reduce((function(t,n){if(!n&&""!==n)return null;if(t)return t;var r=function(e,t){var n=""+t.end+t.strict+t.sensitive,r=A[n]||(A[n]={});if(r[e])return r[e];var i=[],o={regexp:f()(e,i,t),keys:i};return I<F&&(r[e]=o,I++),o}(n,{end:o,strict:a,sensitive:l}),i=r.regexp,s=r.keys,u=i.exec(e);if(!u)return null;var c=u[0],h=u.slice(1),p=e===c;return o&&!p?null:{path:n,url:"/"===n&&""===c?"/":c,isExact:p,params:s.reduce((function(e,t,n){return e[t.name]=h[n],e}),{})}}),null)}var M=function(e){function t(){return e.apply(this,arguments)||this}return(0,r.Z)(t,e),t.prototype.render=function(){var e=this;return i.createElement(w.Consumer,null,(function(t){t||(0,u.Z)(!1);var n=e.props.location||t.location,r=e.props.computedMatch?e.props.computedMatch:e.props.path?R(n.pathname,e.props):t.match,o=(0,l.Z)({},t,{location:n,match:r}),s=e.props,a=s.children,c=s.component,f=s.render;return Array.isArray(a)&&function(e){return 0===i.Children.count(e)}(a)&&(a=null),i.createElement(w.Provider,{value:o},o.match?a?"function"==typeof a?a(o):a:c?i.createElement(c,o):f?f(o):null:"function"==typeof a?a(o):null)}))},t}(i.Component);function N(e){return"/"===e.charAt(0)?e:"/"+e}function L(e,t){if(!e)return t;var n=N(e);return 0!==t.pathname.indexOf(n)?t:(0,l.Z)({},t,{pathname:t.pathname.substr(n.length)})}function U(e){return"string"==typeof e?e:(0,a.Ep)(e)}function D(e){return function(){(0,u.Z)(!1)}}function j(){}var B=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).handlePush=function(e){return t.navigateTo(e,"PUSH")},t.handleReplace=function(e){return t.navigateTo(e,"REPLACE")},t.handleListen=function(){return j},t.handleBlock=function(){return j},t}(0,r.Z)(t,e);var n=t.prototype;return n.navigateTo=function(e,t){var n=this.props,r=n.basename,i=void 0===r?"":r,o=n.context,s=void 0===o?{}:o;s.action=t,s.location=function(e,t){return e?(0,l.Z)({},t,{pathname:N(e)+t.pathname}):t}(i,(0,a.ob)(e)),s.url=U(s.location)},n.render=function(){var e=this.props,t=e.basename,n=void 0===t?"":t,r=e.context,o=void 0===r?{}:r,s=e.location,u=void 0===s?"/":s,c=(0,h.Z)(e,["basename","context","location"]),f={createHref:function(e){return N(n+U(e))},action:"POP",location:L(n,(0,a.ob)(u)),push:this.handlePush,replace:this.handleReplace,go:D(),goBack:D(),goForward:D(),listen:this.handleListen,block:this.handleBlock};return i.createElement(_,(0,l.Z)({},c,{history:f,staticContext:o}))},t}(i.Component),z=function(e){function t(){return e.apply(this,arguments)||this}return(0,r.Z)(t,e),t.prototype.render=function(){var e=this;return i.createElement(w.Consumer,null,(function(t){t||(0,u.Z)(!1);var n,r,o=e.props.location||t.location;return i.Children.forEach(e.props.children,(function(e){if(null==r&&i.isValidElement(e)){n=e;var s=e.props.path||e.props.from;r=s?R(o.pathname,(0,l.Z)({},e.props,{path:s})):t.match}})),r?i.cloneElement(n,{location:o,computedMatch:r}):null}))},t}(i.Component);function H(e){var t="withRouter("+(e.displayName||e.name)+")",n=function(t){var n=t.wrappedComponentRef,r=(0,h.Z)(t,["wrappedComponentRef"]);return i.createElement(w.Consumer,null,(function(t){return t||(0,u.Z)(!1),i.createElement(e,(0,l.Z)({},r,t,{ref:n}))}))};return n.displayName=t,n.WrappedComponent=e,d()(n,e)}var $=i.useContext;function V(){return $(b)}function q(){return $(w).location}function W(){var e=$(w).match;return e?e.params:{}}function G(e){var t=q(),n=$(w).match;return e?R(t.pathname,e):n}},49613:function(e){e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},79056:function(e,t,n){var r=n(49613);e.exports=function e(t,n,i){return r(n)||(i=n||i,n=[]),i=i||{},t instanceof RegExp?function(e,t){var n=e.source.match(/\((?!\?)/g);if(n)for(var r=0;r<n.length;r++)t.push({name:r,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return c(e,t)}(t,n):r(t)?function(t,n,r){for(var i=[],o=0;o<t.length;o++)i.push(e(t[o],n,r).source);return c(new RegExp("(?:"+i.join("|")+")",f(r)),n)}(t,n,i):function(e,t,n){return h(o(e,n),t,n)}(t,n,i)},e.exports.parse=o,e.exports.compile=function(e,t){return a(o(e,t),t)},e.exports.tokensToFunction=a,e.exports.tokensToRegExp=h;var i=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function o(e,t){for(var n,r=[],o=0,s=0,a="",c=t&&t.delimiter||"/";null!=(n=i.exec(e));){var f=n[0],h=n[1],p=n.index;if(a+=e.slice(s,p),s=p+f.length,h)a+=h[1];else{var d=e[s],m=n[2],g=n[3],v=n[4],y=n[5],b=n[6],w=n[7];a&&(r.push(a),a="");var _=null!=m&&null!=d&&d!==m,S="+"===b||"*"===b,x="?"===b||"*"===b,E=n[2]||c,k=v||y;r.push({name:g||o++,prefix:m||"",delimiter:E,optional:x,repeat:S,partial:_,asterisk:!!w,pattern:k?l(k):w?".*":"[^"+u(E)+"]+?"})}}return s<e.length&&(a+=e.substr(s)),a&&r.push(a),r}function s(e){return encodeURI(e).replace(/[\/?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}function a(e,t){for(var n=new Array(e.length),i=0;i<e.length;i++)"object"==typeof e[i]&&(n[i]=new RegExp("^(?:"+e[i].pattern+")$",f(t)));return function(t,i){for(var o="",a=t||{},u=(i||{}).pretty?s:encodeURIComponent,l=0;l<e.length;l++){var c=e[l];if("string"!=typeof c){var f,h=a[c.name];if(null==h){if(c.optional){c.partial&&(o+=c.prefix);continue}throw new TypeError('Expected "'+c.name+'" to be defined')}if(r(h)){if(!c.repeat)throw new TypeError('Expected "'+c.name+'" to not repeat, but received `'+JSON.stringify(h)+"`");if(0===h.length){if(c.optional)continue;throw new TypeError('Expected "'+c.name+'" to not be empty')}for(var p=0;p<h.length;p++){if(f=u(h[p]),!n[l].test(f))throw new TypeError('Expected all "'+c.name+'" to match "'+c.pattern+'", but received `'+JSON.stringify(f)+"`");o+=(0===p?c.prefix:c.delimiter)+f}}else{if(f=c.asterisk?encodeURI(h).replace(/[?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})):u(h),!n[l].test(f))throw new TypeError('Expected "'+c.name+'" to match "'+c.pattern+'", but received "'+f+'"');o+=c.prefix+f}}else o+=c}return o}}function u(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function l(e){return e.replace(/([=!:$\/()])/g,"\\$1")}function c(e,t){return e.keys=t,e}function f(e){return e&&e.sensitive?"":"i"}function h(e,t,n){r(t)||(n=t||n,t=[]);for(var i=(n=n||{}).strict,o=!1!==n.end,s="",a=0;a<e.length;a++){var l=e[a];if("string"==typeof l)s+=u(l);else{var h=u(l.prefix),p="(?:"+l.pattern+")";t.push(l),l.repeat&&(p+="(?:"+h+p+")*"),s+=p=l.optional?l.partial?h+"("+p+")?":"(?:"+h+"("+p+"))?":h+"("+p+")"}}var d=u(n.delimiter||"/"),m=s.slice(-d.length)===d;return i||(s=(m?s.slice(0,-d.length):s)+"(?:"+d+"(?=$))?"),s+=o?"$":i&&m?"":"(?="+d+"|$)",c(new RegExp("^"+s,f(n)),t)}},61897:function(e,t){"use strict";var n="function"==typeof Symbol&&Symbol.for;n&&Symbol.for("react.element"),n&&Symbol.for("react.portal"),n&&Symbol.for("react.fragment"),n&&Symbol.for("react.strict_mode"),n&&Symbol.for("react.profiler"),n&&Symbol.for("react.provider"),n&&Symbol.for("react.context"),n&&Symbol.for("react.async_mode"),n&&Symbol.for("react.concurrent_mode"),n&&Symbol.for("react.forward_ref"),n&&Symbol.for("react.suspense"),n&&Symbol.for("react.suspense_list"),n&&Symbol.for("react.memo"),n&&Symbol.for("react.lazy"),n&&Symbol.for("react.block"),n&&Symbol.for("react.fundamental"),n&&Symbol.for("react.responder"),n&&Symbol.for("react.scope")},89744:function(e,t,n){"use strict";n(61897)},99103:function(e,t,n){"use strict";var r=n(52716),i=(0,n(15189).Z)("email",(function(e,t){var n=t.subject,i=t.body,o=t.separator;return"mailto:"+(0,r.Z)({subject:n,body:i?i+o+e:e})}),(function(e){return{subject:e.subject,body:e.body,separator:e.separator||" "}}),{openShareDialogOnClick:!1,onClick:function(e,t){window.location.href=t}});t.Z=i},33580:function(e,t,n){"use strict";var r=(0,n(29443).Z)({color:"#3b5998",networkName:"facebook",path:"M34.1,47V33.3h4.6l0.7-5.3h-5.3v-3.4c0-1.5,0.4-2.6,2.6-2.6l2.8,0v-4.8c-0.5-0.1-2.2-0.2-4.1-0.2 c-4.1,0-6.9,2.5-6.9,7V28H24v5.3h4.6V47H34.1z"});t.Z=r},80314:function(e,t,n){"use strict";var r=n(95098),i=n(52716),o=(0,n(15189).Z)("facebook",(function(e,t){var n=t.quote,o=t.hashtag;return(0,r.Z)(e,"facebook.url"),"https://www.facebook.com/sharer/sharer.php"+(0,i.Z)({u:e,quote:n,hashtag:o})}),(function(e){return{quote:e.quote,hashtag:e.hashtag}}),{windowWidth:550,windowHeight:400});t.Z=o},81912:function(e,t,n){"use strict";var r=(0,n(29443).Z)({color:"#007fb1",networkName:"linkedin",path:"M20.4,44h5.4V26.6h-5.4V44z M23.1,18c-1.7,0-3.1,1.4-3.1,3.1c0,1.7,1.4,3.1,3.1,3.1 c1.7,0,3.1-1.4,3.1-3.1C26.2,19.4,24.8,18,23.1,18z M39.5,26.2c-2.6,0-4.4,1.4-5.1,2.8h-0.1v-2.4h-5.2V44h5.4v-8.6 c0-2.3,0.4-4.5,3.2-4.5c2.8,0,2.8,2.6,2.8,4.6V44H46v-9.5C46,29.8,45,26.2,39.5,26.2z"});t.Z=r},36985:function(e,t,n){"use strict";var r=n(95098),i=n(52716),o=(0,n(15189).Z)("linkedin",(function(e,t){var n=t.title,o=t.summary,s=t.source;return(0,r.Z)(e,"linkedin.url"),"https://linkedin.com/shareArticle"+(0,i.Z)({url:e,mini:"true",title:n,summary:o,source:s})}),(function(e){return{title:e.title,summary:e.summary,source:e.source}}),{windowWidth:750,windowHeight:600});t.Z=o},90360:function(e,t,n){"use strict";var r=(0,n(29443).Z)({color:"#00aced",networkName:"twitter",path:"M48,22.1c-1.2,0.5-2.4,0.9-3.8,1c1.4-0.8,2.4-2.1,2.9-3.6c-1.3,0.8-2.7,1.3-4.2,1.6 C41.7,19.8,40,19,38.2,19c-3.6,0-6.6,2.9-6.6,6.6c0,0.5,0.1,1,0.2,1.5c-5.5-0.3-10.3-2.9-13.5-6.9c-0.6,1-0.9,2.1-0.9,3.3 c0,2.3,1.2,4.3,2.9,5.5c-1.1,0-2.1-0.3-3-0.8c0,0,0,0.1,0,0.1c0,3.2,2.3,5.8,5.3,6.4c-0.6,0.1-1.1,0.2-1.7,0.2c-0.4,0-0.8,0-1.2-0.1 c0.8,2.6,3.3,4.5,6.1,4.6c-2.2,1.8-5.1,2.8-8.2,2.8c-0.5,0-1.1,0-1.6-0.1c2.9,1.9,6.4,2.9,10.1,2.9c12.1,0,18.7-10,18.7-18.7 c0-0.3,0-0.6,0-0.8C46,24.5,47.1,23.4,48,22.1z"});t.Z=r},8347:function(e,t,n){"use strict";var r=n(95098),i=n(52716),o=(0,n(15189).Z)("twitter",(function(e,t){var n=t.title,o=t.via,s=t.hashtags,a=void 0===s?[]:s,u=t.related,l=void 0===u?[]:u;return(0,r.Z)(e,"twitter.url"),(0,r.Z)(Array.isArray(a),"twitter.hashtags is not an array"),(0,r.Z)(Array.isArray(l),"twitter.related is not an array"),"https://twitter.com/share"+(0,i.Z)({url:e,text:n,via:o,hashtags:a.length>0?a.join(","):void 0,related:l.length>0?l.join(","):void 0})}),(function(e){return{hashtags:e.hashtags,title:e.title,via:e.via,related:e.related}}),{windowWidth:550,windowHeight:400});t.Z=o},9487:function(e,t,n){"use strict";var r=(0,n(29443).Z)({color:"#25D366",networkName:"whatsapp",path:"m42.32286,33.93287c-0.5178,-0.2589 -3.04726,-1.49644 -3.52105,-1.66732c-0.4712,-0.17346 -0.81554,-0.2589 -1.15987,0.2589c-0.34175,0.51004 -1.33075,1.66474 -1.63108,2.00648c-0.30032,0.33658 -0.60064,0.36247 -1.11327,0.12945c-0.5178,-0.2589 -2.17994,-0.80259 -4.14759,-2.56312c-1.53269,-1.37217 -2.56312,-3.05503 -2.86603,-3.57283c-0.30033,-0.5178 -0.03366,-0.80259 0.22524,-1.06149c0.23301,-0.23301 0.5178,-0.59547 0.7767,-0.90616c0.25372,-0.31068 0.33657,-0.5178 0.51262,-0.85437c0.17088,-0.36246 0.08544,-0.64725 -0.04402,-0.90615c-0.12945,-0.2589 -1.15987,-2.79613 -1.58964,-3.80584c-0.41424,-1.00971 -0.84142,-0.88027 -1.15987,-0.88027c-0.29773,-0.02588 -0.64208,-0.02588 -0.98382,-0.02588c-0.34693,0 -0.90616,0.12945 -1.37736,0.62136c-0.4712,0.5178 -1.80194,1.76053 -1.80194,4.27186c0,2.51134 1.84596,4.945 2.10227,5.30747c0.2589,0.33657 3.63497,5.51458 8.80262,7.74113c1.23237,0.5178 2.1903,0.82848 2.94111,1.08738c1.23237,0.38836 2.35599,0.33657 3.24402,0.20712c0.99159,-0.15534 3.04985,-1.24272 3.47963,-2.45956c0.44013,-1.21683 0.44013,-2.22654 0.31068,-2.45955c-0.12945,-0.23301 -0.46601,-0.36247 -0.98382,-0.59548m-9.40068,12.84407l-0.02589,0c-3.05503,0 -6.08417,-0.82849 -8.72495,-2.38189l-0.62136,-0.37023l-6.47252,1.68286l1.73463,-6.29129l-0.41424,-0.64725c-1.70875,-2.71846 -2.6149,-5.85116 -2.6149,-9.07706c0,-9.39809 7.68934,-17.06155 17.15993,-17.06155c4.58253,0 8.88029,1.78642 12.11655,5.02268c3.23625,3.21036 5.02267,7.50812 5.02267,12.06476c-0.0078,9.3981 -7.69712,17.06155 -17.14699,17.06155m14.58906,-31.58846c-3.93529,-3.80584 -9.1133,-5.95471 -14.62789,-5.95471c-11.36055,0 -20.60848,9.2065 -20.61625,20.52564c0,3.61684 0.94757,7.14565 2.75211,10.26282l-2.92557,10.63564l10.93337,-2.85309c3.0136,1.63108 6.4052,2.4958 9.85634,2.49839l0.01037,0c11.36574,0 20.61884,-9.2091 20.62403,-20.53082c0,-5.48093 -2.14111,-10.64081 -6.03239,-14.51915"});t.Z=r},36526:function(e,t,n){"use strict";var r=n(95098),i=n(52716),o=(0,n(15189).Z)("whatsapp",(function(e,t){var n=t.title,o=t.separator;return(0,r.Z)(e,"whatsapp.url"),"https://"+(/(android|iphone|ipad|mobile)/i.test(navigator.userAgent)?"api":"web")+".whatsapp.com/send"+(0,i.Z)({text:n?n+o+e:e})}),(function(e){return{title:e.title,separator:e.separator||" "}}),{windowWidth:550,windowHeight:400});t.Z=o},29443:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(2784),i=function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},i.apply(this,arguments)},o=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n};function s(e){var t=function(t){var n=t.bgStyle,s=t.borderRadius,a=t.iconFillColor,u=t.round,l=t.size,c=o(t,["bgStyle","borderRadius","iconFillColor","round","size"]);return r.createElement("svg",i({viewBox:"0 0 64 64",width:l,height:l},c),u?r.createElement("circle",{cx:"32",cy:"32",r:"31",fill:e.color,style:n}):r.createElement("rect",{width:"64",height:"64",rx:s,ry:s,fill:e.color,style:n}),r.createElement("path",{d:e.path,fill:a}))};return t.defaultProps={bgStyle:{},borderRadius:0,iconFillColor:"white",size:64},t}},15189:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r,i=n(2784),o=n(72779),s=n.n(o),a=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),u=function(){return u=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},u.apply(this,arguments)},l=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n},c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.openShareDialog=function(e){var n,r,i=t.props,o=i.onShareWindowClose,s=i.windowHeight,a=void 0===s?400:s,c=i.windowPosition,f=void 0===c?"windowCenter":c,h=i.windowWidth,p=void 0===h?550:h;!function(e,t,n){var r=t.height,i=t.width,o=l(t,["height","width"]),s=u({height:r,width:i,location:"no",toolbar:"no",status:"no",directories:"no",menubar:"no",scrollbars:"yes",resizable:"no",centerscreen:"yes",chrome:"yes"},o),a=window.open(e,"",Object.keys(s).map((function(e){return"".concat(e,"=").concat(s[e])})).join(", "));if(n)var c=window.setInterval((function(){try{(null===a||a.closed)&&(window.clearInterval(c),n(a))}catch(e){console.error(e)}}),1e3)}(e,u({height:a,width:p},"windowCenter"===f?(n=p,r=a,{left:window.outerWidth/2+(window.screenX||window.screenLeft||0)-n/2,top:window.outerHeight/2+(window.screenY||window.screenTop||0)-r/2}):function(e,t){return{top:(window.screen.height-t)/2,left:(window.screen.width-e)/2}}(p,a)),o)},t.handleClick=function(e){return n=t,r=void 0,o=function(){var t,n,r,i,o,s,a,u,l,c;return function(e,t){var n,r,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,r=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!((i=(i=s.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){s.label=o[1];break}if(6===o[0]&&s.label<i[1]){s.label=i[1],i=o;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(o);break}i[2]&&s.ops.pop(),s.trys.pop();continue}o=t.call(e,s)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,a])}}}(this,(function(f){switch(f.label){case 0:return t=this.props,n=t.beforeOnClick,r=t.disabled,i=t.networkLink,o=t.onClick,s=t.url,a=t.openShareDialogOnClick,u=t.opts,l=i(s,u),r?[2]:(e.preventDefault(),n?!(h=c=n())||"object"!=typeof h&&"function"!=typeof h||"function"!=typeof h.then?[3,2]:[4,c]:[3,2]);case 1:f.sent(),f.label=2;case 2:return a&&this.openShareDialog(l),o&&o(e,l),[2]}var h}))},new((i=void 0)||(i=Promise))((function(e,t){function s(e){try{u(o.next(e))}catch(e){t(e)}}function a(e){try{u(o.throw(e))}catch(e){t(e)}}function u(t){var n;t.done?e(t.value):(n=t.value,n instanceof i?n:new i((function(e){e(n)}))).then(s,a)}u((o=o.apply(n,r||[])).next())}));var n,r,i,o},t}return a(t,e),t.prototype.render=function(){var e=this.props,t=(e.beforeOnClick,e.children),n=e.className,r=e.disabled,o=e.disabledStyle,a=e.forwardedRef,c=(e.networkLink,e.networkName),f=(e.onShareWindowClose,e.openShareDialogOnClick,e.opts,e.resetButtonStyle),h=e.style,p=(e.url,e.windowHeight,e.windowPosition,e.windowWidth,l(e,["beforeOnClick","children","className","disabled","disabledStyle","forwardedRef","networkLink","networkName","onShareWindowClose","openShareDialogOnClick","opts","resetButtonStyle","style","url","windowHeight","windowPosition","windowWidth"])),d=s()("react-share__ShareButton",{"react-share__ShareButton--disabled":!!r,disabled:!!r},n),m=u(u(f?{backgroundColor:"transparent",border:"none",padding:0,font:"inherit",color:"inherit",cursor:"pointer"}:{},h),r&&o);return i.createElement("button",u({},p,{"aria-label":p["aria-label"]||c,className:d,onClick:this.handleClick,ref:a,style:m}),t)},t.defaultProps={disabledStyle:{opacity:.6},openShareDialogOnClick:!0,resetButtonStyle:!0},t}(i.Component),f=c,h=function(){return h=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},h.apply(this,arguments)},p=function(e,t,n,r){function o(o,s){var a=n(o),u=h({},o);return Object.keys(a).forEach((function(e){delete u[e]})),i.createElement(f,h({},r,u,{forwardedRef:s,networkName:e,networkLink:t,opts:n(o)}))}return o.displayName="ShareButton-".concat(e),(0,i.forwardRef)(o)}},95098:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r,i=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=function(e){function t(t){var n=e.call(this,t)||this;return n.name="AssertionError",n}return i(t,e),t}(Error);function s(e,t){if(!e)throw new o(t)}},52716:function(e,t,n){"use strict";function r(e){var t=Object.entries(e).filter((function(e){return null!=e[1]})).map((function(e){var t=e[0],n=e[1];return"".concat(encodeURIComponent(t),"=").concat(encodeURIComponent(String(n)))}));return t.length>0?"?".concat(t.join("&")):""}n.d(t,{Z:function(){return r}})},77512:function(e,t,n){"use strict";var r,i=n(2784),o=(r=i)&&"object"==typeof r&&"default"in r?r.default:r;function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var a=!("undefined"==typeof window||!window.document||!window.document.createElement);e.exports=function(e,t,n){if("function"!=typeof e)throw new Error("Expected reducePropsToState to be a function.");if("function"!=typeof t)throw new Error("Expected handleStateChangeOnClient to be a function.");if(void 0!==n&&"function"!=typeof n)throw new Error("Expected mapStateOnServer to either be undefined or a function.");return function(r){if("function"!=typeof r)throw new Error("Expected WrappedComponent to be a React component.");var u,l=[];function c(){u=e(l.map((function(e){return e.props}))),f.canUseDOM?t(u):n&&(u=n(u))}var f=function(e){var t,n;function i(){return e.apply(this,arguments)||this}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,i.peek=function(){return u},i.rewind=function(){if(i.canUseDOM)throw new Error("You may only call rewind() on the server. Call peek() to read the current state.");var e=u;return u=void 0,l=[],e};var s=i.prototype;return s.UNSAFE_componentWillMount=function(){l.push(this),c()},s.componentDidUpdate=function(){c()},s.componentWillUnmount=function(){var e=l.indexOf(this);l.splice(e,1),c()},s.render=function(){return o.createElement(r,this.props)},i}(i.PureComponent);return s(f,"displayName","SideEffect("+function(e){return e.displayName||e.name||"Component"}(r)+")"),s(f,"canUseDOM",a),f}}},81114:function(e,t,n){"use strict";n.d(t,{Z:function(){return _}});var r=n(7896),i=n(31461),o=n(81665);function s(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}var a=n(2784),u=n(28316),l=n(77008),c=function(e){return e.scrollTop},f="unmounted",h="exited",p="entering",d="entered",m="exiting",g=function(e){function t(t,n){var r;r=e.call(this,t,n)||this;var i,o=n&&!n.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?o?(i=h,r.appearStatus=p):i=d:i=t.unmountOnExit||t.mountOnEnter?f:h,r.state={status:i},r.nextCallback=null,r}(0,o.Z)(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===f?{status:h}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==p&&n!==d&&(t=p):n!==p&&n!==d||(t=m)}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!=typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},n.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===p){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:u.findDOMNode(this);n&&c(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===h&&this.setState({status:f})},n.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,i=this.props.nodeRef?[r]:[u.findDOMNode(this),r],o=i[0],s=i[1],a=this.getTimeouts(),l=r?a.appear:a.enter;e||n?(this.props.onEnter(o,s),this.safeSetState({status:p},(function(){t.props.onEntering(o,s),t.onTransitionEnd(l,(function(){t.safeSetState({status:d},(function(){t.props.onEntered(o,s)}))}))}))):this.safeSetState({status:d},(function(){t.props.onEntered(o)}))},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:u.findDOMNode(this);t?(this.props.onExit(r),this.safeSetState({status:m},(function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:h},(function(){e.props.onExited(r)}))}))}))):this.safeSetState({status:h},(function(){e.props.onExited(r)}))},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:u.findDOMNode(this),r=null==e&&!this.props.addEndListener;if(n&&!r){if(this.props.addEndListener){var i=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],o=i[0],s=i[1];this.props.addEndListener(o,s)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if(e===f)return null;var t=this.props,n=t.children,r=(t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef,(0,i.Z)(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return a.createElement(l.Z.Provider,{value:null},"function"==typeof n?n(e,r):a.cloneElement(a.Children.only(n),r))},t}(a.Component);function v(){}g.contextType=l.Z,g.propTypes={},g.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:v,onEntering:v,onEntered:v,onExit:v,onExiting:v,onExited:v},g.UNMOUNTED=f,g.EXITED=h,g.ENTERING=p,g.ENTERED=d,g.EXITING=m;var y=g,b=function(e,t){return e&&t&&t.split(" ").forEach((function(t){return r=t,void((n=e).classList?n.classList.remove(r):"string"==typeof n.className?n.className=s(n.className,r):n.setAttribute("class",s(n.className&&n.className.baseVal||"",r)));var n,r}))},w=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).appliedClasses={appear:{},enter:{},exit:{}},t.onEnter=function(e,n){var r=t.resolveArguments(e,n),i=r[0],o=r[1];t.removeClasses(i,"exit"),t.addClass(i,o?"appear":"enter","base"),t.props.onEnter&&t.props.onEnter(e,n)},t.onEntering=function(e,n){var r=t.resolveArguments(e,n),i=r[0],o=r[1]?"appear":"enter";t.addClass(i,o,"active"),t.props.onEntering&&t.props.onEntering(e,n)},t.onEntered=function(e,n){var r=t.resolveArguments(e,n),i=r[0],o=r[1]?"appear":"enter";t.removeClasses(i,o),t.addClass(i,o,"done"),t.props.onEntered&&t.props.onEntered(e,n)},t.onExit=function(e){var n=t.resolveArguments(e)[0];t.removeClasses(n,"appear"),t.removeClasses(n,"enter"),t.addClass(n,"exit","base"),t.props.onExit&&t.props.onExit(e)},t.onExiting=function(e){var n=t.resolveArguments(e)[0];t.addClass(n,"exit","active"),t.props.onExiting&&t.props.onExiting(e)},t.onExited=function(e){var n=t.resolveArguments(e)[0];t.removeClasses(n,"exit"),t.addClass(n,"exit","done"),t.props.onExited&&t.props.onExited(e)},t.resolveArguments=function(e,n){return t.props.nodeRef?[t.props.nodeRef.current,e]:[e,n]},t.getClassNames=function(e){var n=t.props.classNames,r="string"==typeof n,i=r?(r&&n?n+"-":"")+e:n[e];return{baseClassName:i,activeClassName:r?i+"-active":n[e+"Active"],doneClassName:r?i+"-done":n[e+"Done"]}},t}(0,o.Z)(t,e);var n=t.prototype;return n.addClass=function(e,t,n){var r=this.getClassNames(t)[n+"ClassName"],i=this.getClassNames("enter").doneClassName;"appear"===t&&"done"===n&&i&&(r+=" "+i),"active"===n&&e&&c(e),r&&(this.appliedClasses[t][n]=r,function(e,t){e&&t&&t.split(" ").forEach((function(t){return r=t,void((n=e).classList?n.classList.add(r):function(e,t){return e.classList?!!t&&e.classList.contains(t):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")}(n,r)||("string"==typeof n.className?n.className=n.className+" "+r:n.setAttribute("class",(n.className&&n.className.baseVal||"")+" "+r)));var n,r}))}(e,r))},n.removeClasses=function(e,t){var n=this.appliedClasses[t],r=n.base,i=n.active,o=n.done;this.appliedClasses[t]={},r&&b(e,r),i&&b(e,i),o&&b(e,o)},n.render=function(){var e=this.props,t=(e.classNames,(0,i.Z)(e,["classNames"]));return a.createElement(y,(0,r.Z)({},t,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},t}(a.Component);w.defaultProps={classNames:""},w.propTypes={};var _=w},31310:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(31461),i=n(7896),o=n(80753),s=n(81665),a=n(2784),u=n(77008);function l(e,t){var n=Object.create(null);return e&&a.Children.map(e,(function(e){return e})).forEach((function(e){n[e.key]=function(e){return t&&(0,a.isValidElement)(e)?t(e):e}(e)})),n}function c(e,t,n){return null!=n[t]?n[t]:e.props[t]}function f(e,t,n){var r=l(e.children),i=function(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var r,i=Object.create(null),o=[];for(var s in e)s in t?o.length&&(i[s]=o,o=[]):o.push(s);var a={};for(var u in t){if(i[u])for(r=0;r<i[u].length;r++){var l=i[u][r];a[i[u][r]]=n(l)}a[u]=n(u)}for(r=0;r<o.length;r++)a[o[r]]=n(o[r]);return a}(t,r);return Object.keys(i).forEach((function(o){var s=i[o];if((0,a.isValidElement)(s)){var u=o in t,l=o in r,f=t[o],h=(0,a.isValidElement)(f)&&!f.props.in;!l||u&&!h?l||!u||h?l&&u&&(0,a.isValidElement)(f)&&(i[o]=(0,a.cloneElement)(s,{onExited:n.bind(null,s),in:f.props.in,exit:c(s,"exit",e),enter:c(s,"enter",e)})):i[o]=(0,a.cloneElement)(s,{in:!1}):i[o]=(0,a.cloneElement)(s,{onExited:n.bind(null,s),in:!0,exit:c(s,"exit",e),enter:c(s,"enter",e)})}})),i}var h=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},p=function(e){function t(t,n){var r,i=(r=e.call(this,t,n)||this).handleExited.bind((0,o.Z)(r));return r.state={contextValue:{isMounting:!0},handleExited:i,firstRender:!0},r}(0,s.Z)(t,e);var n=t.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var n,r,i=t.children,o=t.handleExited;return{children:t.firstRender?(n=e,r=o,l(n.children,(function(e){return(0,a.cloneElement)(e,{onExited:r.bind(null,e),in:!0,appear:c(e,"appear",n),enter:c(e,"enter",n),exit:c(e,"exit",n)})}))):f(e,i,o),firstRender:!1}},n.handleExited=function(e,t){var n=l(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var n=(0,i.Z)({},t.children);return delete n[e.key],{children:n}})))},n.render=function(){var e=this.props,t=e.component,n=e.childFactory,i=(0,r.Z)(e,["component","childFactory"]),o=this.state.contextValue,s=h(this.state.children).map(n);return delete i.appear,delete i.enter,delete i.exit,null===t?a.createElement(u.Z.Provider,{value:o},s):a.createElement(u.Z.Provider,{value:o},a.createElement(t,i,s))},t}(a.Component);p.propTypes={},p.defaultProps={component:"div",childFactory:function(e){return e}};var d=p},77008:function(e,t,n){"use strict";var r=n(2784);t.Z=r.createContext(null)},83426:function(e,t){"use strict";var n=Symbol.for("react.element"),r=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),u=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),f=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),p=Symbol.iterator,d={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m=Object.assign,g={};function v(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||d}function y(){}function b(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||d}v.prototype.isReactComponent={},v.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},v.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},y.prototype=v.prototype;var w=b.prototype=new y;w.constructor=b,m(w,v.prototype),w.isPureReactComponent=!0;var _=Array.isArray,S=Object.prototype.hasOwnProperty,x={current:null},E={key:!0,ref:!0,__self:!0,__source:!0};function k(e,t,r){var i,o={},s=null,a=null;if(null!=t)for(i in void 0!==t.ref&&(a=t.ref),void 0!==t.key&&(s=""+t.key),t)S.call(t,i)&&!E.hasOwnProperty(i)&&(o[i]=t[i]);var u=arguments.length-2;if(1===u)o.children=r;else if(1<u){for(var l=Array(u),c=0;c<u;c++)l[c]=arguments[c+2];o.children=l}if(e&&e.defaultProps)for(i in u=e.defaultProps)void 0===o[i]&&(o[i]=u[i]);return{$$typeof:n,type:e,key:s,ref:a,props:o,_owner:x.current}}function P(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}var C=/\/+/g;function O(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function T(e,t,i,o,s){var a=typeof e;"undefined"!==a&&"boolean"!==a||(e=null);var u=!1;if(null===e)u=!0;else switch(a){case"string":case"number":u=!0;break;case"object":switch(e.$$typeof){case n:case r:u=!0}}if(u)return s=s(u=e),e=""===o?"."+O(u,0):o,_(s)?(i="",null!=e&&(i=e.replace(C,"$&/")+"/"),T(s,t,i,"",(function(e){return e}))):null!=s&&(P(s)&&(s=function(e,t){return{$$typeof:n,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(s,i+(!s.key||u&&u.key===s.key?"":(""+s.key).replace(C,"$&/")+"/")+e)),t.push(s)),1;if(u=0,o=""===o?".":o+":",_(e))for(var l=0;l<e.length;l++){var c=o+O(a=e[l],l);u+=T(a,t,i,c,s)}else if(c=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=p&&e[p]||e["@@iterator"])?e:null}(e),"function"==typeof c)for(e=c.call(e),l=0;!(a=e.next()).done;)u+=T(a=a.value,t,i,c=o+O(a,l++),s);else if("object"===a)throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return u}function A(e,t,n){if(null==e)return e;var r=[],i=0;return T(e,r,"","",(function(e){return t.call(n,e,i++)})),r}function F(e){if(-1===e._status){var t=e._result;(t=t()).then((function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)}),(function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)})),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var I={current:null},R={transition:null},M={ReactCurrentDispatcher:I,ReactCurrentBatchConfig:R,ReactCurrentOwner:x};t.Children={map:A,forEach:function(e,t,n){A(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return A(e,(function(){t++})),t},toArray:function(e){return A(e,(function(e){return e}))||[]},only:function(e){if(!P(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=v,t.Fragment=i,t.Profiler=s,t.PureComponent=b,t.StrictMode=o,t.Suspense=c,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=M,t.cloneElement=function(e,t,r){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var i=m({},e.props),o=e.key,s=e.ref,a=e._owner;if(null!=t){if(void 0!==t.ref&&(s=t.ref,a=x.current),void 0!==t.key&&(o=""+t.key),e.type&&e.type.defaultProps)var u=e.type.defaultProps;for(l in t)S.call(t,l)&&!E.hasOwnProperty(l)&&(i[l]=void 0===t[l]&&void 0!==u?u[l]:t[l])}var l=arguments.length-2;if(1===l)i.children=r;else if(1<l){u=Array(l);for(var c=0;c<l;c++)u[c]=arguments[c+2];i.children=u}return{$$typeof:n,type:e.type,key:o,ref:s,props:i,_owner:a}},t.createContext=function(e){return(e={$$typeof:u,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:a,_context:e},e.Consumer=e},t.createElement=k,t.createFactory=function(e){var t=k.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:l,render:e}},t.isValidElement=P,t.lazy=function(e){return{$$typeof:h,_payload:{_status:-1,_result:e},_init:F}},t.memo=function(e,t){return{$$typeof:f,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=R.transition;R.transition={};try{e()}finally{R.transition=t}},t.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},t.useCallback=function(e,t){return I.current.useCallback(e,t)},t.useContext=function(e){return I.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e){return I.current.useDeferredValue(e)},t.useEffect=function(e,t){return I.current.useEffect(e,t)},t.useId=function(){return I.current.useId()},t.useImperativeHandle=function(e,t,n){return I.current.useImperativeHandle(e,t,n)},t.useInsertionEffect=function(e,t){return I.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return I.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return I.current.useMemo(e,t)},t.useReducer=function(e,t,n){return I.current.useReducer(e,t,n)},t.useRef=function(e){return I.current.useRef(e)},t.useState=function(e){return I.current.useState(e)},t.useSyncExternalStore=function(e,t,n){return I.current.useSyncExternalStore(e,t,n)},t.useTransition=function(){return I.current.useTransition()},t.version="18.2.0"},2784:function(e,t,n){"use strict";e.exports=n(83426)},57245:function(e){"use strict";e.exports=function(e,t){if(t=t.split(":")[0],!(e=+e))return!1;switch(t){case"http":case"ws":return 80!==e;case"https":case"wss":return 443!==e;case"ftp":return 21!==e;case"gopher":return 70!==e;case"file":return!1}return 0!==e}},46475:function(e,t){"use strict";function n(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,i=e[r];if(!(0<o(i,t)))break e;e[r]=t,e[n]=i,n=r}}function r(e){return 0===e.length?null:e[0]}function i(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,i=e.length,s=i>>>1;r<s;){var a=2*(r+1)-1,u=e[a],l=a+1,c=e[l];if(0>o(u,n))l<i&&0>o(c,u)?(e[r]=c,e[l]=n,r=l):(e[r]=u,e[a]=n,r=a);else{if(!(l<i&&0>o(c,n)))break e;e[r]=c,e[l]=n,r=l}}}return t}function o(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"==typeof performance&&"function"==typeof performance.now){var s=performance;t.unstable_now=function(){return s.now()}}else{var a=Date,u=a.now();t.unstable_now=function(){return a.now()-u}}var l=[],c=[],f=1,h=null,p=3,d=!1,m=!1,g=!1,v="function"==typeof setTimeout?setTimeout:null,y="function"==typeof clearTimeout?clearTimeout:null,b="undefined"!=typeof setImmediate?setImmediate:null;function w(e){for(var t=r(c);null!==t;){if(null===t.callback)i(c);else{if(!(t.startTime<=e))break;i(c),t.sortIndex=t.expirationTime,n(l,t)}t=r(c)}}function _(e){if(g=!1,w(e),!m)if(null!==r(l))m=!0,R(S);else{var t=r(c);null!==t&&M(_,t.startTime-e)}}function S(e,n){m=!1,g&&(g=!1,y(P),P=-1),d=!0;var o=p;try{for(w(n),h=r(l);null!==h&&(!(h.expirationTime>n)||e&&!T());){var s=h.callback;if("function"==typeof s){h.callback=null,p=h.priorityLevel;var a=s(h.expirationTime<=n);n=t.unstable_now(),"function"==typeof a?h.callback=a:h===r(l)&&i(l),w(n)}else i(l);h=r(l)}if(null!==h)var u=!0;else{var f=r(c);null!==f&&M(_,f.startTime-n),u=!1}return u}finally{h=null,p=o,d=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var x,E=!1,k=null,P=-1,C=5,O=-1;function T(){return!(t.unstable_now()-O<C)}function A(){if(null!==k){var e=t.unstable_now();O=e;var n=!0;try{n=k(!0,e)}finally{n?x():(E=!1,k=null)}}else E=!1}if("function"==typeof b)x=function(){b(A)};else if("undefined"!=typeof MessageChannel){var F=new MessageChannel,I=F.port2;F.port1.onmessage=A,x=function(){I.postMessage(null)}}else x=function(){v(A,0)};function R(e){k=e,E||(E=!0,x())}function M(e,n){P=v((function(){e(t.unstable_now())}),n)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){m||d||(m=!0,R(S))},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):C=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return p},t.unstable_getFirstCallbackNode=function(){return r(l)},t.unstable_next=function(e){switch(p){case 1:case 2:case 3:var t=3;break;default:t=p}var n=p;p=t;try{return e()}finally{p=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=p;p=e;try{return t()}finally{p=n}},t.unstable_scheduleCallback=function(e,i,o){var s=t.unstable_now();switch(o="object"==typeof o&&null!==o&&"number"==typeof(o=o.delay)&&0<o?s+o:s,e){case 1:var a=-1;break;case 2:a=250;break;case 5:a=1073741823;break;case 4:a=1e4;break;default:a=5e3}return e={id:f++,callback:i,priorityLevel:e,startTime:o,expirationTime:a=o+a,sortIndex:-1},o>s?(e.sortIndex=o,n(c,e),null===r(l)&&e===r(c)&&(g?(y(P),P=-1):g=!0,M(_,o-s))):(e.sortIndex=a,n(l,e),m||d||(m=!0,R(S))),e},t.unstable_shouldYield=T,t.unstable_wrapCallback=function(e){var t=p;return function(){var n=p;p=t;try{return e.apply(this,arguments)}finally{p=n}}}},14616:function(e,t,n){"use strict";e.exports=n(46475)},71301:function(e){!function(){"use strict";var t="undefined"!=typeof window&&void 0!==window.document?window.document:{},n=e.exports,r=function(){for(var e,n=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],r=0,i=n.length,o={};r<i;r++)if((e=n[r])&&e[1]in t){for(r=0;r<e.length;r++)o[n[0][r]]=e[r];return o}return!1}(),i={change:r.fullscreenchange,error:r.fullscreenerror},o={request:function(e,n){return new Promise(function(i,o){var s=function(){this.off("change",s),i()}.bind(this);this.on("change",s);var a=(e=e||t.documentElement)[r.requestFullscreen](n);a instanceof Promise&&a.then(s).catch(o)}.bind(this))},exit:function(){return new Promise(function(e,n){if(this.isFullscreen){var i=function(){this.off("change",i),e()}.bind(this);this.on("change",i);var o=t[r.exitFullscreen]();o instanceof Promise&&o.then(i).catch(n)}else e()}.bind(this))},toggle:function(e,t){return this.isFullscreen?this.exit():this.request(e,t)},onchange:function(e){this.on("change",e)},onerror:function(e){this.on("error",e)},on:function(e,n){var r=i[e];r&&t.addEventListener(r,n,!1)},off:function(e,n){var r=i[e];r&&t.removeEventListener(r,n,!1)},raw:r};r?(Object.defineProperties(o,{isFullscreen:{get:function(){return Boolean(t[r.fullscreenElement])}},element:{enumerable:!0,get:function(){return t[r.fullscreenElement]}},isEnabled:{enumerable:!0,get:function(){return Boolean(t[r.fullscreenEnabled])}}}),n?e.exports=o:window.screenfull=o):n?e.exports={isEnabled:!1}:window.screenfull={isEnabled:!1}}()},76854:function(e){var t;t=function(){var e=JSON.parse('{"$":"dollar","%":"percent","&":"and","<":"less",">":"greater","|":"or","¢":"cent","£":"pound","¤":"currency","¥":"yen","©":"(c)","ª":"a","®":"(r)","º":"o","À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","Æ":"AE","Ç":"C","È":"E","É":"E","Ê":"E","Ë":"E","Ì":"I","Í":"I","Î":"I","Ï":"I","Ð":"D","Ñ":"N","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","Ù":"U","Ú":"U","Û":"U","Ü":"U","Ý":"Y","Þ":"TH","ß":"ss","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","æ":"ae","ç":"c","è":"e","é":"e","ê":"e","ë":"e","ì":"i","í":"i","î":"i","ï":"i","ð":"d","ñ":"n","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","ù":"u","ú":"u","û":"u","ü":"u","ý":"y","þ":"th","ÿ":"y","Ā":"A","ā":"a","Ă":"A","ă":"a","Ą":"A","ą":"a","Ć":"C","ć":"c","Č":"C","č":"c","Ď":"D","ď":"d","Đ":"DJ","đ":"dj","Ē":"E","ē":"e","Ė":"E","ė":"e","Ę":"e","ę":"e","Ě":"E","ě":"e","Ğ":"G","ğ":"g","Ģ":"G","ģ":"g","Ĩ":"I","ĩ":"i","Ī":"i","ī":"i","Į":"I","į":"i","İ":"I","ı":"i","Ķ":"k","ķ":"k","Ļ":"L","ļ":"l","Ľ":"L","ľ":"l","Ł":"L","ł":"l","Ń":"N","ń":"n","Ņ":"N","ņ":"n","Ň":"N","ň":"n","Ō":"O","ō":"o","Ő":"O","ő":"o","Œ":"OE","œ":"oe","Ŕ":"R","ŕ":"r","Ř":"R","ř":"r","Ś":"S","ś":"s","Ş":"S","ş":"s","Š":"S","š":"s","Ţ":"T","ţ":"t","Ť":"T","ť":"t","Ũ":"U","ũ":"u","Ū":"u","ū":"u","Ů":"U","ů":"u","Ű":"U","ű":"u","Ų":"U","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","ź":"z","Ż":"Z","ż":"z","Ž":"Z","ž":"z","Ə":"E","ƒ":"f","Ơ":"O","ơ":"o","Ư":"U","ư":"u","Lj":"LJ","lj":"lj","Nj":"NJ","nj":"nj","Ș":"S","ș":"s","Ț":"T","ț":"t","ə":"e","˚":"o","Ά":"A","Έ":"E","Ή":"H","Ί":"I","Ό":"O","Ύ":"Y","Ώ":"W","ΐ":"i","Α":"A","Β":"B","Γ":"G","Δ":"D","Ε":"E","Ζ":"Z","Η":"H","Θ":"8","Ι":"I","Κ":"K","Λ":"L","Μ":"M","Ν":"N","Ξ":"3","Ο":"O","Π":"P","Ρ":"R","Σ":"S","Τ":"T","Υ":"Y","Φ":"F","Χ":"X","Ψ":"PS","Ω":"W","Ϊ":"I","Ϋ":"Y","ά":"a","έ":"e","ή":"h","ί":"i","ΰ":"y","α":"a","β":"b","γ":"g","δ":"d","ε":"e","ζ":"z","η":"h","θ":"8","ι":"i","κ":"k","λ":"l","μ":"m","ν":"n","ξ":"3","ο":"o","π":"p","ρ":"r","ς":"s","σ":"s","τ":"t","υ":"y","φ":"f","χ":"x","ψ":"ps","ω":"w","ϊ":"i","ϋ":"y","ό":"o","ύ":"y","ώ":"w","Ё":"Yo","Ђ":"DJ","Є":"Ye","І":"I","Ї":"Yi","Ј":"J","Љ":"LJ","Њ":"NJ","Ћ":"C","Џ":"DZ","А":"A","Б":"B","В":"V","Г":"G","Д":"D","Е":"E","Ж":"Zh","З":"Z","И":"I","Й":"J","К":"K","Л":"L","М":"M","Н":"N","О":"O","П":"P","Р":"R","С":"S","Т":"T","У":"U","Ф":"F","Х":"H","Ц":"C","Ч":"Ch","Ш":"Sh","Щ":"Sh","Ъ":"U","Ы":"Y","Ь":"","Э":"E","Ю":"Yu","Я":"Ya","а":"a","б":"b","в":"v","г":"g","д":"d","е":"e","ж":"zh","з":"z","и":"i","й":"j","к":"k","л":"l","м":"m","н":"n","о":"o","п":"p","р":"r","с":"s","т":"t","у":"u","ф":"f","х":"h","ц":"c","ч":"ch","ш":"sh","щ":"sh","ъ":"u","ы":"y","ь":"","э":"e","ю":"yu","я":"ya","ё":"yo","ђ":"dj","є":"ye","і":"i","ї":"yi","ј":"j","љ":"lj","њ":"nj","ћ":"c","ѝ":"u","џ":"dz","Ґ":"G","ґ":"g","Ғ":"GH","ғ":"gh","Қ":"KH","қ":"kh","Ң":"NG","ң":"ng","Ү":"UE","ү":"ue","Ұ":"U","ұ":"u","Һ":"H","һ":"h","Ә":"AE","ә":"ae","Ө":"OE","ө":"oe","Ա":"A","Բ":"B","Գ":"G","Դ":"D","Ե":"E","Զ":"Z","Է":"E\'","Ը":"Y\'","Թ":"T\'","Ժ":"JH","Ի":"I","Լ":"L","Խ":"X","Ծ":"C\'","Կ":"K","Հ":"H","Ձ":"D\'","Ղ":"GH","Ճ":"TW","Մ":"M","Յ":"Y","Ն":"N","Շ":"SH","Չ":"CH","Պ":"P","Ջ":"J","Ռ":"R\'","Ս":"S","Վ":"V","Տ":"T","Ր":"R","Ց":"C","Փ":"P\'","Ք":"Q\'","Օ":"O\'\'","Ֆ":"F","և":"EV","ء":"a","آ":"aa","أ":"a","ؤ":"u","إ":"i","ئ":"e","ا":"a","ب":"b","ة":"h","ت":"t","ث":"th","ج":"j","ح":"h","خ":"kh","د":"d","ذ":"th","ر":"r","ز":"z","س":"s","ش":"sh","ص":"s","ض":"dh","ط":"t","ظ":"z","ع":"a","غ":"gh","ف":"f","ق":"q","ك":"k","ل":"l","م":"m","ن":"n","ه":"h","و":"w","ى":"a","ي":"y","ً":"an","ٌ":"on","ٍ":"en","َ":"a","ُ":"u","ِ":"e","ْ":"","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","پ":"p","چ":"ch","ژ":"zh","ک":"k","گ":"g","ی":"y","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","฿":"baht","ა":"a","ბ":"b","გ":"g","დ":"d","ე":"e","ვ":"v","ზ":"z","თ":"t","ი":"i","კ":"k","ლ":"l","მ":"m","ნ":"n","ო":"o","პ":"p","ჟ":"zh","რ":"r","ს":"s","ტ":"t","უ":"u","ფ":"f","ქ":"k","ღ":"gh","ყ":"q","შ":"sh","ჩ":"ch","ც":"ts","ძ":"dz","წ":"ts","ჭ":"ch","ხ":"kh","ჯ":"j","ჰ":"h","Ṣ":"S","ṣ":"s","Ẁ":"W","ẁ":"w","Ẃ":"W","ẃ":"w","Ẅ":"W","ẅ":"w","ẞ":"SS","Ạ":"A","ạ":"a","Ả":"A","ả":"a","Ấ":"A","ấ":"a","Ầ":"A","ầ":"a","Ẩ":"A","ẩ":"a","Ẫ":"A","ẫ":"a","Ậ":"A","ậ":"a","Ắ":"A","ắ":"a","Ằ":"A","ằ":"a","Ẳ":"A","ẳ":"a","Ẵ":"A","ẵ":"a","Ặ":"A","ặ":"a","Ẹ":"E","ẹ":"e","Ẻ":"E","ẻ":"e","Ẽ":"E","ẽ":"e","Ế":"E","ế":"e","Ề":"E","ề":"e","Ể":"E","ể":"e","Ễ":"E","ễ":"e","Ệ":"E","ệ":"e","Ỉ":"I","ỉ":"i","Ị":"I","ị":"i","Ọ":"O","ọ":"o","Ỏ":"O","ỏ":"o","Ố":"O","ố":"o","Ồ":"O","ồ":"o","Ổ":"O","ổ":"o","Ỗ":"O","ỗ":"o","Ộ":"O","ộ":"o","Ớ":"O","ớ":"o","Ờ":"O","ờ":"o","Ở":"O","ở":"o","Ỡ":"O","ỡ":"o","Ợ":"O","ợ":"o","Ụ":"U","ụ":"u","Ủ":"U","ủ":"u","Ứ":"U","ứ":"u","Ừ":"U","ừ":"u","Ử":"U","ử":"u","Ữ":"U","ữ":"u","Ự":"U","ự":"u","Ỳ":"Y","ỳ":"y","Ỵ":"Y","ỵ":"y","Ỷ":"Y","ỷ":"y","Ỹ":"Y","ỹ":"y","–":"-","‘":"\'","’":"\'","“":"\\"","”":"\\"","„":"\\"","†":"+","•":"*","…":"...","₠":"ecu","₢":"cruzeiro","₣":"french franc","₤":"lira","₥":"mill","₦":"naira","₧":"peseta","₨":"rupee","₩":"won","₪":"new shequel","₫":"dong","€":"euro","₭":"kip","₮":"tugrik","₯":"drachma","₰":"penny","₱":"peso","₲":"guarani","₳":"austral","₴":"hryvnia","₵":"cedi","₸":"kazakhstani tenge","₹":"indian rupee","₺":"turkish lira","₽":"russian ruble","₿":"bitcoin","℠":"sm","™":"tm","∂":"d","∆":"delta","∑":"sum","∞":"infinity","♥":"love","元":"yuan","円":"yen","﷼":"rial","ﻵ":"laa","ﻷ":"laa","ﻹ":"lai","ﻻ":"la"}'),t=JSON.parse('{"bg":{"Й":"Y","Ц":"Ts","Щ":"Sht","Ъ":"A","Ь":"Y","й":"y","ц":"ts","щ":"sht","ъ":"a","ь":"y"},"de":{"Ä":"AE","ä":"ae","Ö":"OE","ö":"oe","Ü":"UE","ü":"ue","ß":"ss","%":"prozent","&":"und","|":"oder","∑":"summe","∞":"unendlich","♥":"liebe"},"es":{"%":"por ciento","&":"y","<":"menor que",">":"mayor que","|":"o","¢":"centavos","£":"libras","¤":"moneda","₣":"francos","∑":"suma","∞":"infinito","♥":"amor"},"fr":{"%":"pourcent","&":"et","<":"plus petit",">":"plus grand","|":"ou","¢":"centime","£":"livre","¤":"devise","₣":"franc","∑":"somme","∞":"infini","♥":"amour"},"pt":{"%":"porcento","&":"e","<":"menor",">":"maior","|":"ou","¢":"centavo","∑":"soma","£":"libra","∞":"infinito","♥":"amor"},"uk":{"И":"Y","и":"y","Й":"Y","й":"y","Ц":"Ts","ц":"ts","Х":"Kh","х":"kh","Щ":"Shch","щ":"shch","Г":"H","г":"h"},"vi":{"Đ":"D","đ":"d"},"da":{"Ø":"OE","ø":"oe","Å":"AA","å":"aa","%":"procent","&":"og","|":"eller","$":"dollar","<":"mindre end",">":"større end"},"nb":{"&":"og","Å":"AA","Æ":"AE","Ø":"OE","å":"aa","æ":"ae","ø":"oe"},"it":{"&":"e"},"nl":{"&":"en"},"sv":{"&":"och","Å":"AA","Ä":"AE","Ö":"OE","å":"aa","ä":"ae","ö":"oe"}}');function n(n,r){if("string"!=typeof n)throw new Error("slugify: string argument expected");var i=t[(r="string"==typeof r?{replacement:r}:r||{}).locale]||{},o=void 0===r.replacement?"-":r.replacement,s=void 0===r.trim||r.trim,a=n.normalize().split("").reduce((function(t,n){var s=i[n];return void 0===s&&(s=e[n]),void 0===s&&(s=n),s===o&&(s=" "),t+s.replace(r.remove||/[^\w\s$*_+~.()'"!\-:@]+/g,"")}),"");return r.strict&&(a=a.replace(/[^A-Za-z0-9\s]/g,"")),s&&(a=a.trim()),a=a.replace(/\s+/g,o),r.lower&&(a=a.toLowerCase()),a}return n.extend=function(t){Object.assign(e,t)},n},e.exports=t(),e.exports.default=t()},93194:function(e,t,n){"use strict";n.r(t),n.d(t,{snakeCase:function(){return o}});var r=n(5163),i=n(20728);function o(e,t){return void 0===t&&(t={}),(0,i.$)(e,(0,r.pi)({delimiter:"_"},t))}},15452:function(e){"use strict";e.exports=(e,t)=>{if("string"!=typeof e||"string"!=typeof t)throw new TypeError("Expected the arguments to be of type `string`");if(""===t)return[e];const n=e.indexOf(t);return-1===n?[e]:[e.slice(0,n),e.slice(n+t.length)]}},57785:function(e){"use strict";e.exports=e=>encodeURIComponent(e).replace(/[!'()*]/g,(e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`))},5163:function(e,t,n){"use strict";n.d(t,{ZT:function(){return i},_T:function(){return s},ev:function(){return a},pi:function(){return o}});var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)};function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var o=function(){return o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},o.apply(this,arguments)};function s(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}function a(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}Object.create,Object.create},37875:function(e,t,n){"use strict";n.r(t),n.d(t,{DetailedError:function(){return p},HttpStack:function(){return j},Upload:function(){return ie},canStoreURLs:function(){return M},defaultOptions:function(){return re},enableDebugLog:function(){return m},isSupported:function(){return ue}});var r=n(95978),i=n(64846),o=n.n(i);function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}function a(e){var t="function"==typeof Map?new Map:void 0;return a=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return u(e,arguments,f(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),c(r,e)},a(e)}function u(e,t,n){return u=l()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var i=new(Function.bind.apply(e,r));return n&&c(i,n.prototype),i},u.apply(null,arguments)}function l(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(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 c(e,t){return c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},c(e,t)}function f(e){return f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},f(e)}var h=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&c(e,t)}(i,e);var t,n,r=(t=i,n=l(),function(){var e,r=f(t);if(n){var i=f(this).constructor;e=Reflect.construct(r,arguments,i)}else e=r.apply(this,arguments);return function(e,t){return!t||"object"!==s(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(this,e)});function i(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),(t=r.call(this,e)).originalRequest=o,t.originalResponse=s,t.causingError=n,null!=n&&(e+=", caused by ".concat(n.toString())),null!=o){var a=o.getHeader("X-Request-ID")||"n/a",u=o.getMethod(),l=o.getURL(),c=s?s.getStatus():"n/a",f=s?s.getBody()||"":"n/a";e+=", originated from request (method: ".concat(u,", url: ").concat(l,", response code: ").concat(c,", response text: ").concat(f,", request id: ").concat(a,")")}return t.message=e,t}return i}(a(Error)),p=h,d=!1;function m(){d=!0}function g(e){d&&console.log(e)}function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function y(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){b(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function b(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function w(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var _=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),"resume"in n&&console.log("tus: The `resume` option has been removed in tus-js-client v2. Please use the URL storage API instead."),this.options=n,this.options.chunkSize=+this.options.chunkSize,this._urlStorage=this.options.urlStorage,this.file=t,this.url=null,this._req=null,this._fingerprint=null,this._urlStorageKey=null,this._offset=null,this._aborted=!1,this._size=null,this._source=null,this._retryAttempt=0,this._retryTimeout=null,this._offsetBeforeRetry=0,this._parallelUploads=null,this._parallelUploadUrls=null}var t,n,r;return t=e,n=[{key:"findPreviousUploads",value:function(){var e=this;return this.options.fingerprint(this.file,this.options).then((function(t){return e._urlStorage.findUploadsByFingerprint(t)}))}},{key:"resumeFromPreviousUpload",value:function(e){this.url=e.uploadUrl||null,this._parallelUploadUrls=e.parallelUploadUrls||null,this._urlStorageKey=e.urlStorageKey}},{key:"start",value:function(){var e=this,t=this.file;if(t)if(this.options.endpoint||this.options.uploadUrl){var n=this.options.retryDelays;null==n||"[object Array]"===Object.prototype.toString.call(n)?(this.options.parallelUploads>1&&["uploadUrl","uploadSize","uploadLengthDeferred"].forEach((function(t){e.options[t]&&e._emitError(new Error("tus: cannot use the ".concat(t," option when parallelUploads is enabled")))})),this.options.fingerprint(t,this.options).then((function(n){return g(null==n?"No fingerprint was calculated meaning that the upload cannot be stored in the URL storage.":"Calculated fingerprint: ".concat(n)),e._fingerprint=n,e._source?e._source:e.options.fileReader.openFile(t,e.options.chunkSize)})).then((function(t){e._source=t,e.options.parallelUploads>1||null!=e._parallelUploadUrls?e._startParallelUpload():e._startSingleUpload()})).catch((function(t){e._emitError(t)}))):this._emitError(new Error("tus: the `retryDelays` option must either be an array or null"))}else this._emitError(new Error("tus: neither an endpoint or an upload URL is provided"));else this._emitError(new Error("tus: no file or stream to upload provided"))}},{key:"_startParallelUpload",value:function(){var t=this,n=this._size=this._source.size,r=0;this._parallelUploads=[];var i=null!=this._parallelUploadUrls?this._parallelUploadUrls.length:this.options.parallelUploads,o=function(e,t,n){for(var r=Math.floor(e/t),i=[],o=0;o<t;o++)i.push({start:r*o,end:r*(o+1)});return i[t-1].end=e,n&&i.forEach((function(e,t){e.uploadUrl=n[t]||null})),i}(this._source.size,i,this._parallelUploadUrls);this._parallelUploadUrls=new Array(o.length);var s,a=o.map((function(i,s){var a=0;return t._source.slice(i.start,i.end).then((function(u){var l=u.value;return new Promise((function(u,c){var f=y(y({},t.options),{},{uploadUrl:i.uploadUrl||null,storeFingerprintForResuming:!1,removeFingerprintOnSuccess:!1,parallelUploads:1,metadata:{},headers:y(y({},t.options.headers),{},{"Upload-Concat":"partial"}),onSuccess:u,onError:c,onProgress:function(e){r=r-a+e,a=e,t._emitProgress(r,n)},_onUploadUrlAvailable:function(){t._parallelUploadUrls[s]=h.url,t._parallelUploadUrls.filter((function(e){return!!e})).length===o.length&&t._saveUploadInUrlStorage()}}),h=new e(l,f);h.start(),t._parallelUploads.push(h)}))}))}));Promise.all(a).then((function(){(s=t._openRequest("POST",t.options.endpoint)).setHeader("Upload-Concat","final;".concat(t._parallelUploadUrls.join(" ")));var e=S(t.options.metadata);return""!==e&&s.setHeader("Upload-Metadata",e),t._sendRequest(s,null)})).then((function(e){if(x(e.getStatus(),200)){var n=e.getHeader("Location");null!=n?(t.url=C(t.options.endpoint,n),g("Created upload at ".concat(t.url)),t._emitSuccess()):t._emitHttpError(s,e,"tus: invalid or missing Location header")}else t._emitHttpError(s,e,"tus: unexpected response while creating upload")})).catch((function(e){t._emitError(e)}))}},{key:"_startSingleUpload",value:function(){if(this.options.uploadLengthDeferred)this._size=null;else if(null!=this.options.uploadSize){if(this._size=+this.options.uploadSize,isNaN(this._size))return void this._emitError(new Error("tus: cannot convert `uploadSize` option into a number"))}else if(this._size=this._source.size,null==this._size)return void this._emitError(new Error("tus: cannot automatically derive upload's size from input. Specify it manually using the `uploadSize` option or use the `uploadLengthDeferred` option"));return this._aborted=!1,null!=this.url?(g("Resuming upload from previous URL: ".concat(this.url)),void this._resumeUpload()):null!=this.options.uploadUrl?(g("Resuming upload from provided URL: ".concat(this.options.uploadUrl)),this.url=this.options.uploadUrl,void this._resumeUpload()):(g("Creating a new upload"),void this._createUpload())}},{key:"abort",value:function(t){var n=this;if(arguments.length>1&&"function"==typeof arguments[1])throw new Error("tus: the abort function does not accept a callback since v2 anymore; please use the returned Promise instead");return null!=this._parallelUploads&&this._parallelUploads.forEach((function(e){e.abort(t)})),null!==this._req&&(this._req.abort(),this._source.close()),this._aborted=!0,null!=this._retryTimeout&&(clearTimeout(this._retryTimeout),this._retryTimeout=null),t&&null!=this.url?e.terminate(this.url,this.options).then((function(){return n._removeFromUrlStorage()})):Promise.resolve()}},{key:"_emitHttpError",value:function(e,t,n,r){this._emitError(new p(n,r,e,t))}},{key:"_emitError",value:function(e){var t=this;if(!this._aborted){if(null!=this.options.retryDelays&&(null!=this._offset&&this._offset>this._offsetBeforeRetry&&(this._retryAttempt=0),P(e,this._retryAttempt,this.options))){var n=this.options.retryDelays[this._retryAttempt++];return this._offsetBeforeRetry=this._offset,void(this._retryTimeout=setTimeout((function(){t.start()}),n))}if("function"!=typeof this.options.onError)throw e;this.options.onError(e)}}},{key:"_emitSuccess",value:function(){this.options.removeFingerprintOnSuccess&&this._removeFromUrlStorage(),"function"==typeof this.options.onSuccess&&this.options.onSuccess()}},{key:"_emitProgress",value:function(e,t){"function"==typeof this.options.onProgress&&this.options.onProgress(e,t)}},{key:"_emitChunkComplete",value:function(e,t,n){"function"==typeof this.options.onChunkComplete&&this.options.onChunkComplete(e,t,n)}},{key:"_createUpload",value:function(){var e=this;if(this.options.endpoint){var t=this._openRequest("POST",this.options.endpoint);this.options.uploadLengthDeferred?t.setHeader("Upload-Defer-Length",1):t.setHeader("Upload-Length",this._size);var n,r=S(this.options.metadata);""!==r&&t.setHeader("Upload-Metadata",r),this.options.uploadDataDuringCreation&&!this.options.uploadLengthDeferred?(this._offset=0,n=this._addChunkToRequest(t)):n=this._sendRequest(t,null),n.then((function(n){if(x(n.getStatus(),200)){var r=n.getHeader("Location");if(null!=r){if(e.url=C(e.options.endpoint,r),g("Created upload at ".concat(e.url)),"function"==typeof e.options._onUploadUrlAvailable&&e.options._onUploadUrlAvailable(),0===e._size)return e._emitSuccess(),void e._source.close();e._saveUploadInUrlStorage(),e.options.uploadDataDuringCreation?e._handleUploadResponse(t,n):(e._offset=0,e._performUpload())}else e._emitHttpError(t,n,"tus: invalid or missing Location header")}else e._emitHttpError(t,n,"tus: unexpected response while creating upload")})).catch((function(n){e._emitHttpError(t,null,"tus: failed to create upload",n)}))}else this._emitError(new Error("tus: unable to create upload because no endpoint is provided"))}},{key:"_resumeUpload",value:function(){var e=this,t=this._openRequest("HEAD",this.url);this._sendRequest(t,null).then((function(n){var r=n.getStatus();if(!x(r,200))return x(r,400)&&e._removeFromUrlStorage(),423===r?void e._emitHttpError(t,n,"tus: upload is currently locked; retry later"):e.options.endpoint?(e.url=null,void e._createUpload()):void e._emitHttpError(t,n,"tus: unable to resume upload (new upload cannot be created without an endpoint)");var i=parseInt(n.getHeader("Upload-Offset"),10);if(isNaN(i))e._emitHttpError(t,n,"tus: invalid or missing offset value");else{var o=parseInt(n.getHeader("Upload-Length"),10);if(!isNaN(o)||e.options.uploadLengthDeferred){if("function"==typeof e.options._onUploadUrlAvailable&&e.options._onUploadUrlAvailable(),i===o)return e._emitProgress(o,o),void e._emitSuccess();e._offset=i,e._performUpload()}else e._emitHttpError(t,n,"tus: invalid or missing length value")}})).catch((function(n){e._emitHttpError(t,null,"tus: failed to resume upload",n)}))}},{key:"_performUpload",value:function(){var e,t=this;this._aborted||(this.options.overridePatchMethod?(e=this._openRequest("POST",this.url)).setHeader("X-HTTP-Method-Override","PATCH"):e=this._openRequest("PATCH",this.url),e.setHeader("Upload-Offset",this._offset),this._addChunkToRequest(e).then((function(n){x(n.getStatus(),200)?t._handleUploadResponse(e,n):t._emitHttpError(e,n,"tus: unexpected response while uploading chunk")})).catch((function(n){t._aborted||t._emitHttpError(e,null,"tus: failed to upload chunk at offset ".concat(t._offset),n)})))}},{key:"_addChunkToRequest",value:function(e){var t=this,n=this._offset,r=this._offset+this.options.chunkSize;return e.setProgressHandler((function(e){t._emitProgress(n+e,t._size)})),e.setHeader("Content-Type","application/offset+octet-stream"),(r===1/0||r>this._size)&&!this.options.uploadLengthDeferred&&(r=this._size),this._source.slice(n,r).then((function(n){var r=n.value,i=n.done;return t.options.uploadLengthDeferred&&i&&(t._size=t._offset+(r&&r.size?r.size:0),e.setHeader("Upload-Length",t._size)),null===r?t._sendRequest(e):(t._emitProgress(t._offset,t._size),t._sendRequest(e,r))}))}},{key:"_handleUploadResponse",value:function(e,t){var n=parseInt(t.getHeader("Upload-Offset"),10);if(isNaN(n))this._emitHttpError(e,t,"tus: invalid or missing offset value");else{if(this._emitProgress(n,this._size),this._emitChunkComplete(n-this._offset,n,this._size),this._offset=n,n==this._size)return this._emitSuccess(),void this._source.close();this._performUpload()}}},{key:"_openRequest",value:function(e,t){var n=E(e,t,this.options);return this._req=n,n}},{key:"_removeFromUrlStorage",value:function(){var e=this;this._urlStorageKey&&(this._urlStorage.removeUpload(this._urlStorageKey).catch((function(t){e._emitError(t)})),this._urlStorageKey=null)}},{key:"_saveUploadInUrlStorage",value:function(){var e=this;if(this.options.storeFingerprintForResuming&&this._fingerprint){var t={size:this._size,metadata:this.options.metadata,creationTime:(new Date).toString()};this._parallelUploads?t.parallelUploadUrls=this._parallelUploadUrls:t.uploadUrl=this.url,this._urlStorage.addUpload(this._fingerprint,t).then((function(t){return e._urlStorageKey=t})).catch((function(t){e._emitError(t)}))}}},{key:"_sendRequest",value:function(e){return k(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,this.options)}}],r=[{key:"terminate",value:function(t,n){if(arguments.length>1&&"function"==typeof arguments[arguments.length-1])throw new Error("tus: the terminate function does not accept a callback since v2 anymore; please use the returned Promise instead");void 0===n&&(n={});var r=E("DELETE",t,n);return k(r,null,n).then((function(e){if(204!==e.getStatus())throw new p("tus: unexpected response while terminating upload",null,r,e)})).catch((function(i){if(i instanceof p||(i=new p("tus: failed to terminate upload",i,r,null)),!P(i,0,n))throw i;var o=n.retryDelays[0],s=n.retryDelays.slice(1),a=y(y({},n),{},{retryDelays:s});return new Promise((function(e){return setTimeout(e,o)})).then((function(){return e.terminate(t,a)}))}))}}],n&&w(t.prototype,n),r&&w(t,r),e}();function S(e){var t=[];for(var n in e)t.push("".concat(n," ").concat(r.Base64.encode(e[n])));return t.join(",")}function x(e,t){return e>=t&&e<t+100}function E(e,t,n){var r=n.httpStack.createRequest(e,t);r.setHeader("Tus-Resumable","1.0.0");var i=n.headers||{};for(var o in i)r.setHeader(o,i[o]);if(n.addRequestId){var s="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){var t=16*Math.random()|0;return("x"==e?t:3&t|8).toString(16)}));r.setHeader("X-Request-ID",s)}return r}function k(e,t,n){return("function"==typeof n.onBeforeRequest?Promise.resolve(n.onBeforeRequest(e)):Promise.resolve()).then((function(){return e.send(t).then((function(t){return("function"==typeof n.onAfterResponse?Promise.resolve(n.onAfterResponse(e,t)):Promise.resolve()).then((function(){return t}))}))}))}function P(e,t,n){if(null==n.retryDelays||t>=n.retryDelays.length||null==e.originalRequest)return!1;if(n&&"function"==typeof n.onShouldRetry)return n.onShouldRetry(e,t,n);var r,i=e.originalResponse?e.originalResponse.getStatus():0;return(!x(i,400)||409===i||423===i)&&(r=!0,"undefined"!=typeof window&&"navigator"in window&&!1===window.navigator.onLine&&(r=!1),r)}function C(e,t){return new(o())(t,e).toString()}_.defaultOptions={endpoint:null,uploadUrl:null,metadata:{},fingerprint:null,uploadSize:null,onProgress:null,onChunkComplete:null,onSuccess:null,onError:null,_onUploadUrlAvailable:null,overridePatchMethod:!1,headers:{},addRequestId:!1,onBeforeRequest:null,onAfterResponse:null,onShouldRetry:null,chunkSize:1/0,retryDelays:[0,1e3,3e3,5e3],parallelUploads:1,storeFingerprintForResuming:!0,removeFingerprintOnSuccess:!1,uploadLengthDeferred:!1,uploadDataDuringCreation:!1,urlStorage:null,fileReader:null,httpStack:null};var O=_;function T(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var A=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n;return t=e,(n=[{key:"listAllUploads",value:function(){return Promise.resolve([])}},{key:"findUploadsByFingerprint",value:function(e){return Promise.resolve([])}},{key:"removeUpload",value:function(e){return Promise.resolve()}},{key:"addUpload",value:function(e,t){return Promise.resolve(null)}}])&&T(t.prototype,n),e}();function F(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var I=!1;try{I="localStorage"in window;var R="tusSupport";localStorage.setItem(R,localStorage.getItem(R))}catch(e){if(e.code!==e.SECURITY_ERR&&e.code!==e.QUOTA_EXCEEDED_ERR)throw e;I=!1}var M=I,N=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n;return t=e,n=[{key:"findAllUploads",value:function(){var e=this._findEntries("tus::");return Promise.resolve(e)}},{key:"findUploadsByFingerprint",value:function(e){var t=this._findEntries("tus::".concat(e,"::"));return Promise.resolve(t)}},{key:"removeUpload",value:function(e){return localStorage.removeItem(e),Promise.resolve()}},{key:"addUpload",value:function(e,t){var n=Math.round(1e12*Math.random()),r="tus::".concat(e,"::").concat(n);return localStorage.setItem(r,JSON.stringify(t)),Promise.resolve(r)}},{key:"_findEntries",value:function(e){for(var t=[],n=0;n<localStorage.length;n++){var r=localStorage.key(n);if(0===r.indexOf(e))try{var i=JSON.parse(localStorage.getItem(r));i.urlStorageKey=r,t.push(i)}catch(e){}}return t}}],n&&F(t.prototype,n),e}();function L(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function U(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function D(e,t,n){return t&&U(e.prototype,t),n&&U(e,n),e}var j=function(){function e(){L(this,e)}return D(e,[{key:"createRequest",value:function(e,t){return new B(e,t)}},{key:"getName",value:function(){return"XHRHttpStack"}}]),e}(),B=function(){function e(t,n){L(this,e),this._xhr=new XMLHttpRequest,this._xhr.open(t,n,!0),this._method=t,this._url=n,this._headers={}}return D(e,[{key:"getMethod",value:function(){return this._method}},{key:"getURL",value:function(){return this._url}},{key:"setHeader",value:function(e,t){this._xhr.setRequestHeader(e,t),this._headers[e]=t}},{key:"getHeader",value:function(e){return this._headers[e]}},{key:"setProgressHandler",value:function(e){"upload"in this._xhr&&(this._xhr.upload.onprogress=function(t){t.lengthComputable&&e(t.loaded)})}},{key:"send",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return new Promise((function(n,r){e._xhr.onload=function(){n(new z(e._xhr))},e._xhr.onerror=function(e){r(e)},e._xhr.send(t)}))}},{key:"abort",value:function(){return this._xhr.abort(),Promise.resolve()}},{key:"getUnderlyingObject",value:function(){return this._xhr}}]),e}(),z=function(){function e(t){L(this,e),this._xhr=t}return D(e,[{key:"getStatus",value:function(){return this._xhr.status}},{key:"getHeader",value:function(e){return this._xhr.getResponseHeader(e)}},{key:"getBody",value:function(){return this._xhr.responseText}},{key:"getUnderlyingObject",value:function(){return this._xhr}}]),e}(),H=function(){return"undefined"!=typeof navigator&&"string"==typeof navigator.product&&"reactnative"===navigator.product.toLowerCase()};function $(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var V=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._file=t,this.size=t.size}var t,n;return t=e,(n=[{key:"slice",value:function(e,t){if("undefined"!=typeof window&&(void 0!==window.PhoneGap||void 0!==window.Cordova||void 0!==window.cordova))return n=this._file.slice(e,t),new Promise((function(e,t){var r=new FileReader;r.onload=function(){var t=new Uint8Array(r.result);e({value:t})},r.onerror=function(e){t(e)},r.readAsArrayBuffer(n)}));var n,r=this._file.slice(e,t);return Promise.resolve({value:r})}},{key:"close",value:function(){}}])&&$(t.prototype,n),e}();function q(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function W(e){return void 0===e?0:void 0!==e.size?e.size:e.length}var G=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._chunkSize=n,this._buffer=void 0,this._bufferOffset=0,this._reader=t,this._done=!1}var t,n;return t=e,(n=[{key:"slice",value:function(e,t){return e<this._bufferOffset?Promise.reject(new Error("Requested data is before the reader's current offset")):this._readUntilEnoughDataOrDone(e,t)}},{key:"_readUntilEnoughDataOrDone",value:function(e,t){var n=this,r=t<=this._bufferOffset+W(this._buffer);if(this._done||r){var i=this._getDataFromBuffer(e,t),o=null==i&&this._done;return Promise.resolve({value:i,done:o})}return this._reader.read().then((function(r){var i=r.value;return r.done?n._done=!0:void 0===n._buffer?n._buffer=i:n._buffer=function(e,t){if(e.concat)return e.concat(t);if(e instanceof Blob)return new Blob([e,t],{type:e.type});if(e.set){var n=new e.constructor(e.length+t.length);return n.set(e),n.set(t,e.length),n}throw new Error("Unknown data type")}(n._buffer,i),n._readUntilEnoughDataOrDone(e,t)}))}},{key:"_getDataFromBuffer",value:function(e,t){e>this._bufferOffset&&(this._buffer=this._buffer.slice(e-this._bufferOffset),this._bufferOffset=e);var n=0===W(this._buffer);return this._done&&n?null:this._buffer.slice(0,t-e)}},{key:"close",value:function(){this._reader.cancel&&this._reader.cancel()}}])&&q(t.prototype,n),e}();function Z(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var K=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n;return t=e,(n=[{key:"openFile",value:function(e,t){return H()&&e&&void 0!==e.uri?(n=e.uri,new Promise((function(e,t){var r=new XMLHttpRequest;r.responseType="blob",r.onload=function(){var t=r.response;e(t)},r.onerror=function(e){t(e)},r.open("GET",n),r.send()}))).then((function(e){return new V(e)})).catch((function(e){throw new Error("tus: cannot fetch `file.uri` as Blob, make sure the uri is correct and accessible. ".concat(e))})):"function"==typeof e.slice&&void 0!==e.size?Promise.resolve(new V(e)):"function"==typeof e.read?(t=+t,isFinite(t)?Promise.resolve(new G(e,t)):Promise.reject(new Error("cannot create source for stream without a finite value for the `chunkSize` option"))):Promise.reject(new Error("source object may only be an instance of File, Blob, or Reader in this environment"));var n}}])&&Z(t.prototype,n),e}();function Y(e){return Y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Y(e)}function X(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Q(e,t){return Q=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Q(e,t)}function J(e){return J=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},J(e)}function ee(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function te(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ee(Object(n),!0).forEach((function(t){ne(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ee(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ne(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var re=te(te({},O.defaultOptions),{},{httpStack:new j,fileReader:new K,urlStorage:M?new N:new A,fingerprint:function(e,t){return H()?Promise.resolve(function(e,t){var n=e.exif?function(e){var t=0;if(0===e.length)return t;for(var n=0;n<e.length;n++)t=(t<<5)-t+e.charCodeAt(n),t&=t;return t}(JSON.stringify(e.exif)):"noexif";return["tus-rn",e.name||"noname",e.size||"nosize",n,t.endpoint].join("/")}(e,t)):Promise.resolve(["tus-br",e.name,e.type,e.size,e.lastModified,t.endpoint].join("-"))}}),ie=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Q(e,t)}(s,e);var t,n,r,i,o=(r=s,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(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=J(r);if(i){var n=J(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return function(e,t){return!t||"object"!==Y(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(this,e)});function s(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),t=te(te({},re),t),o.call(this,e,t)}return t=s,n=[{key:"terminate",value:function(e,t,n){return t=te(te({},re),t),O.terminate(e,t,n)}}],null&&X(t.prototype,null),n&&X(t,n),s}(O),oe=window,se=oe.XMLHttpRequest,ae=oe.Blob,ue=se&&ae&&"function"==typeof ae.prototype.slice},64846:function(e,t,n){"use strict";var r=n(57245),i=n(97375),o=/^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/,s=/[\n\r\t]/g,a=/^[A-Za-z][A-Za-z0-9+-.]*:\/\//,u=/:\d+$/,l=/^([a-z][a-z0-9.+-]*:)?(\/\/)?([\\/]+)?([\S\s]*)/i,c=/^[a-zA-Z]:/;function f(e){return(e||"").toString().replace(o,"")}var h=[["#","hash"],["?","query"],function(e,t){return m(t.protocol)?e.replace(/\\/g,"/"):e},["/","pathname"],["@","auth",1],[NaN,"host",void 0,1,1],[/:(\d*)$/,"port",void 0,1],[NaN,"hostname",void 0,1,1]],p={hash:1,query:1};function d(e){var t,r=("undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:{}).location||{},i={},o=typeof(e=e||r);if("blob:"===e.protocol)i=new v(unescape(e.pathname),{});else if("string"===o)for(t in i=new v(e,{}),p)delete i[t];else if("object"===o){for(t in e)t in p||(i[t]=e[t]);void 0===i.slashes&&(i.slashes=a.test(e.href))}return i}function m(e){return"file:"===e||"ftp:"===e||"http:"===e||"https:"===e||"ws:"===e||"wss:"===e}function g(e,t){e=(e=f(e)).replace(s,""),t=t||{};var n,r=l.exec(e),i=r[1]?r[1].toLowerCase():"",o=!!r[2],a=!!r[3],u=0;return o?a?(n=r[2]+r[3]+r[4],u=r[2].length+r[3].length):(n=r[2]+r[4],u=r[2].length):a?(n=r[3]+r[4],u=r[3].length):n=r[4],"file:"===i?u>=2&&(n=n.slice(2)):m(i)?n=r[4]:i?o&&(n=n.slice(2)):u>=2&&m(t.protocol)&&(n=r[4]),{protocol:i,slashes:o||m(i),slashesCount:u,rest:n}}function v(e,t,n){if(e=(e=f(e)).replace(s,""),!(this instanceof v))return new v(e,t,n);var o,a,u,l,p,y,b=h.slice(),w=typeof t,_=this,S=0;for("object"!==w&&"string"!==w&&(n=t,t=null),n&&"function"!=typeof n&&(n=i.parse),o=!(a=g(e||"",t=d(t))).protocol&&!a.slashes,_.slashes=a.slashes||o&&t.slashes,_.protocol=a.protocol||t.protocol||"",e=a.rest,("file:"===a.protocol&&(2!==a.slashesCount||c.test(e))||!a.slashes&&(a.protocol||a.slashesCount<2||!m(_.protocol)))&&(b[3]=[/(.*)/,"pathname"]);S<b.length;S++)"function"!=typeof(l=b[S])?(u=l[0],y=l[1],u!=u?_[y]=e:"string"==typeof u?~(p="@"===u?e.lastIndexOf(u):e.indexOf(u))&&("number"==typeof l[2]?(_[y]=e.slice(0,p),e=e.slice(p+l[2])):(_[y]=e.slice(p),e=e.slice(0,p))):(p=u.exec(e))&&(_[y]=p[1],e=e.slice(0,p.index)),_[y]=_[y]||o&&l[3]&&t[y]||"",l[4]&&(_[y]=_[y].toLowerCase())):e=l(e,_);n&&(_.query=n(_.query)),o&&t.slashes&&"/"!==_.pathname.charAt(0)&&(""!==_.pathname||""!==t.pathname)&&(_.pathname=function(e,t){if(""===e)return t;for(var n=(t||"/").split("/").slice(0,-1).concat(e.split("/")),r=n.length,i=n[r-1],o=!1,s=0;r--;)"."===n[r]?n.splice(r,1):".."===n[r]?(n.splice(r,1),s++):s&&(0===r&&(o=!0),n.splice(r,1),s--);return o&&n.unshift(""),"."!==i&&".."!==i||n.push(""),n.join("/")}(_.pathname,t.pathname)),"/"!==_.pathname.charAt(0)&&m(_.protocol)&&(_.pathname="/"+_.pathname),r(_.port,_.protocol)||(_.host=_.hostname,_.port=""),_.username=_.password="",_.auth&&(~(p=_.auth.indexOf(":"))?(_.username=_.auth.slice(0,p),_.username=encodeURIComponent(decodeURIComponent(_.username)),_.password=_.auth.slice(p+1),_.password=encodeURIComponent(decodeURIComponent(_.password))):_.username=encodeURIComponent(decodeURIComponent(_.auth)),_.auth=_.password?_.username+":"+_.password:_.username),_.origin="file:"!==_.protocol&&m(_.protocol)&&_.host?_.protocol+"//"+_.host:"null",_.href=_.toString()}v.prototype={set:function(e,t,n){var o=this;switch(e){case"query":"string"==typeof t&&t.length&&(t=(n||i.parse)(t)),o[e]=t;break;case"port":o[e]=t,r(t,o.protocol)?t&&(o.host=o.hostname+":"+t):(o.host=o.hostname,o[e]="");break;case"hostname":o[e]=t,o.port&&(t+=":"+o.port),o.host=t;break;case"host":o[e]=t,u.test(t)?(t=t.split(":"),o.port=t.pop(),o.hostname=t.join(":")):(o.hostname=t,o.port="");break;case"protocol":o.protocol=t.toLowerCase(),o.slashes=!n;break;case"pathname":case"hash":if(t){var s="pathname"===e?"/":"#";o[e]=t.charAt(0)!==s?s+t:t}else o[e]=t;break;case"username":case"password":o[e]=encodeURIComponent(t);break;case"auth":var a=t.indexOf(":");~a?(o.username=t.slice(0,a),o.username=encodeURIComponent(decodeURIComponent(o.username)),o.password=t.slice(a+1),o.password=encodeURIComponent(decodeURIComponent(o.password))):o.username=encodeURIComponent(decodeURIComponent(t))}for(var l=0;l<h.length;l++){var c=h[l];c[4]&&(o[c[1]]=o[c[1]].toLowerCase())}return o.auth=o.password?o.username+":"+o.password:o.username,o.origin="file:"!==o.protocol&&m(o.protocol)&&o.host?o.protocol+"//"+o.host:"null",o.href=o.toString(),o},toString:function(e){e&&"function"==typeof e||(e=i.stringify);var t,n=this,r=n.host,o=n.protocol;o&&":"!==o.charAt(o.length-1)&&(o+=":");var s=o+(n.protocol&&n.slashes||m(n.protocol)?"//":"");return n.username?(s+=n.username,n.password&&(s+=":"+n.password),s+="@"):n.password?(s+=":"+n.password,s+="@"):"file:"!==n.protocol&&m(n.protocol)&&!r&&"/"!==n.pathname&&(s+="@"),(":"===r[r.length-1]||u.test(n.hostname)&&!n.port)&&(r+=":"),s+=r+n.pathname,(t="object"==typeof n.query?e(n.query):n.query)&&(s+="?"!==t.charAt(0)?"?"+t:t),n.hash&&(s+=n.hash),s}},v.extractProtocol=g,v.location=d,v.trimLeft=f,v.qs=i,e.exports=v},60130:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"NIL",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"parse",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t,"v1",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(t,"v3",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"v4",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"v5",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"validate",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"version",{enumerable:!0,get:function(){return u.default}});var r=h(n(27343)),i=h(n(46076)),o=h(n(85854)),s=h(n(13940)),a=h(n(15384)),u=h(n(25791)),l=h(n(77888)),c=h(n(49926)),f=h(n(9964));function h(e){return e&&e.__esModule?e:{default:e}}},2763:function(e,t){"use strict";function n(e){return 14+(e+64>>>9<<4)+1}function r(e,t){const n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n}function i(e,t,n,i,o,s){return r((a=r(r(t,e),r(i,s)))<<(u=o)|a>>>32-u,n);var a,u}function o(e,t,n,r,o,s,a){return i(t&n|~t&r,e,t,o,s,a)}function s(e,t,n,r,o,s,a){return i(t&r|n&~r,e,t,o,s,a)}function a(e,t,n,r,o,s,a){return i(t^n^r,e,t,o,s,a)}function u(e,t,n,r,o,s,a){return i(n^(t|~r),e,t,o,s,a)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=function(e){if("string"==typeof e){const t=unescape(encodeURIComponent(e));e=new Uint8Array(t.length);for(let n=0;n<t.length;++n)e[n]=t.charCodeAt(n)}return function(e){const t=[],n=32*e.length,r="0123456789abcdef";for(let i=0;i<n;i+=8){const n=e[i>>5]>>>i%32&255,o=parseInt(r.charAt(n>>>4&15)+r.charAt(15&n),16);t.push(o)}return t}(function(e,t){e[t>>5]|=128<<t%32,e[n(t)-1]=t;let i=1732584193,l=-271733879,c=-1732584194,f=271733878;for(let t=0;t<e.length;t+=16){const n=i,h=l,p=c,d=f;i=o(i,l,c,f,e[t],7,-680876936),f=o(f,i,l,c,e[t+1],12,-389564586),c=o(c,f,i,l,e[t+2],17,606105819),l=o(l,c,f,i,e[t+3],22,-1044525330),i=o(i,l,c,f,e[t+4],7,-176418897),f=o(f,i,l,c,e[t+5],12,1200080426),c=o(c,f,i,l,e[t+6],17,-1473231341),l=o(l,c,f,i,e[t+7],22,-45705983),i=o(i,l,c,f,e[t+8],7,1770035416),f=o(f,i,l,c,e[t+9],12,-1958414417),c=o(c,f,i,l,e[t+10],17,-42063),l=o(l,c,f,i,e[t+11],22,-1990404162),i=o(i,l,c,f,e[t+12],7,1804603682),f=o(f,i,l,c,e[t+13],12,-40341101),c=o(c,f,i,l,e[t+14],17,-1502002290),l=o(l,c,f,i,e[t+15],22,1236535329),i=s(i,l,c,f,e[t+1],5,-165796510),f=s(f,i,l,c,e[t+6],9,-1069501632),c=s(c,f,i,l,e[t+11],14,643717713),l=s(l,c,f,i,e[t],20,-373897302),i=s(i,l,c,f,e[t+5],5,-701558691),f=s(f,i,l,c,e[t+10],9,38016083),c=s(c,f,i,l,e[t+15],14,-660478335),l=s(l,c,f,i,e[t+4],20,-405537848),i=s(i,l,c,f,e[t+9],5,568446438),f=s(f,i,l,c,e[t+14],9,-1019803690),c=s(c,f,i,l,e[t+3],14,-187363961),l=s(l,c,f,i,e[t+8],20,1163531501),i=s(i,l,c,f,e[t+13],5,-1444681467),f=s(f,i,l,c,e[t+2],9,-51403784),c=s(c,f,i,l,e[t+7],14,1735328473),l=s(l,c,f,i,e[t+12],20,-1926607734),i=a(i,l,c,f,e[t+5],4,-378558),f=a(f,i,l,c,e[t+8],11,-2022574463),c=a(c,f,i,l,e[t+11],16,1839030562),l=a(l,c,f,i,e[t+14],23,-35309556),i=a(i,l,c,f,e[t+1],4,-1530992060),f=a(f,i,l,c,e[t+4],11,1272893353),c=a(c,f,i,l,e[t+7],16,-155497632),l=a(l,c,f,i,e[t+10],23,-1094730640),i=a(i,l,c,f,e[t+13],4,681279174),f=a(f,i,l,c,e[t],11,-358537222),c=a(c,f,i,l,e[t+3],16,-722521979),l=a(l,c,f,i,e[t+6],23,76029189),i=a(i,l,c,f,e[t+9],4,-640364487),f=a(f,i,l,c,e[t+12],11,-421815835),c=a(c,f,i,l,e[t+15],16,530742520),l=a(l,c,f,i,e[t+2],23,-995338651),i=u(i,l,c,f,e[t],6,-198630844),f=u(f,i,l,c,e[t+7],10,1126891415),c=u(c,f,i,l,e[t+14],15,-1416354905),l=u(l,c,f,i,e[t+5],21,-57434055),i=u(i,l,c,f,e[t+12],6,1700485571),f=u(f,i,l,c,e[t+3],10,-1894986606),c=u(c,f,i,l,e[t+10],15,-1051523),l=u(l,c,f,i,e[t+1],21,-2054922799),i=u(i,l,c,f,e[t+8],6,1873313359),f=u(f,i,l,c,e[t+15],10,-30611744),c=u(c,f,i,l,e[t+6],15,-1560198380),l=u(l,c,f,i,e[t+13],21,1309151649),i=u(i,l,c,f,e[t+4],6,-145523070),f=u(f,i,l,c,e[t+11],10,-1120210379),c=u(c,f,i,l,e[t+2],15,718787259),l=u(l,c,f,i,e[t+9],21,-343485551),i=r(i,n),l=r(l,h),c=r(c,p),f=r(f,d)}return[i,l,c,f]}(function(e){if(0===e.length)return[];const t=8*e.length,r=new Uint32Array(n(t));for(let n=0;n<t;n+=8)r[n>>5]|=(255&e[n/8])<<n%32;return r}(e),8*e.length))}},74267:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};t.default=n},15384:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default="00000000-0000-0000-0000-000000000000"},9964:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=(r=n(77888))&&r.__esModule?r:{default:r};t.default=function(e){if(!(0,i.default)(e))throw TypeError("Invalid UUID");let t;const n=new Uint8Array(16);return n[0]=(t=parseInt(e.slice(0,8),16))>>>24,n[1]=t>>>16&255,n[2]=t>>>8&255,n[3]=255&t,n[4]=(t=parseInt(e.slice(9,13),16))>>>8,n[5]=255&t,n[6]=(t=parseInt(e.slice(14,18),16))>>>8,n[7]=255&t,n[8]=(t=parseInt(e.slice(19,23),16))>>>8,n[9]=255&t,n[10]=(t=parseInt(e.slice(24,36),16))/1099511627776&255,n[11]=t/4294967296&255,n[12]=t>>>24&255,n[13]=t>>>16&255,n[14]=t>>>8&255,n[15]=255&t,n}},76678:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i},41874:function(e,t){"use strict";let n;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){if(!n&&(n="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!n))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return n(r)};const r=new Uint8Array(16)},13254:function(e,t){"use strict";function n(e,t,n,r){switch(e){case 0:return t&n^~t&r;case 1:case 3:return t^n^r;case 2:return t&n^t&r^n&r}}function r(e,t){return e<<t|e>>>32-t}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=function(e){const t=[1518500249,1859775393,2400959708,3395469782],i=[1732584193,4023233417,2562383102,271733878,3285377520];if("string"==typeof e){const t=unescape(encodeURIComponent(e));e=[];for(let n=0;n<t.length;++n)e.push(t.charCodeAt(n))}else Array.isArray(e)||(e=Array.prototype.slice.call(e));e.push(128);const o=e.length/4+2,s=Math.ceil(o/16),a=new Array(s);for(let t=0;t<s;++t){const n=new Uint32Array(16);for(let r=0;r<16;++r)n[r]=e[64*t+4*r]<<24|e[64*t+4*r+1]<<16|e[64*t+4*r+2]<<8|e[64*t+4*r+3];a[t]=n}a[s-1][14]=8*(e.length-1)/Math.pow(2,32),a[s-1][14]=Math.floor(a[s-1][14]),a[s-1][15]=8*(e.length-1)&4294967295;for(let e=0;e<s;++e){const o=new Uint32Array(80);for(let t=0;t<16;++t)o[t]=a[e][t];for(let e=16;e<80;++e)o[e]=r(o[e-3]^o[e-8]^o[e-14]^o[e-16],1);let s=i[0],u=i[1],l=i[2],c=i[3],f=i[4];for(let e=0;e<80;++e){const i=Math.floor(e/20),a=r(s,5)+n(i,u,l,c)+f+t[i]+o[e]>>>0;f=c,c=l,l=r(u,30)>>>0,u=s,s=a}i[0]=i[0]+s>>>0,i[1]=i[1]+u>>>0,i[2]=i[2]+l>>>0,i[3]=i[3]+c>>>0,i[4]=i[4]+f>>>0}return[i[0]>>24&255,i[0]>>16&255,i[0]>>8&255,255&i[0],i[1]>>24&255,i[1]>>16&255,i[1]>>8&255,255&i[1],i[2]>>24&255,i[2]>>16&255,i[2]>>8&255,255&i[2],i[3]>>24&255,i[3]>>16&255,i[3]>>8&255,255&i[3],i[4]>>24&255,i[4]>>16&255,i[4]>>8&255,255&i[4]]}},49926:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.unsafeStringify=s;var r,i=(r=n(77888))&&r.__esModule?r:{default:r};const o=[];for(let e=0;e<256;++e)o.push((e+256).toString(16).slice(1));function s(e,t=0){return(o[e[t+0]]+o[e[t+1]]+o[e[t+2]]+o[e[t+3]]+"-"+o[e[t+4]]+o[e[t+5]]+"-"+o[e[t+6]]+o[e[t+7]]+"-"+o[e[t+8]]+o[e[t+9]]+"-"+o[e[t+10]]+o[e[t+11]]+o[e[t+12]]+o[e[t+13]]+o[e[t+14]]+o[e[t+15]]).toLowerCase()}t.default=function(e,t=0){const n=s(e,t);if(!(0,i.default)(n))throw TypeError("Stringified UUID is invalid");return n}},27343:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=(r=n(41874))&&r.__esModule?r:{default:r},o=n(49926);let s,a,u=0,l=0;t.default=function(e,t,n){let r=t&&n||0;const c=t||new Array(16);let f=(e=e||{}).node||s,h=void 0!==e.clockseq?e.clockseq:a;if(null==f||null==h){const t=e.random||(e.rng||i.default)();null==f&&(f=s=[1|t[0],t[1],t[2],t[3],t[4],t[5]]),null==h&&(h=a=16383&(t[6]<<8|t[7]))}let p=void 0!==e.msecs?e.msecs:Date.now(),d=void 0!==e.nsecs?e.nsecs:l+1;const m=p-u+(d-l)/1e4;if(m<0&&void 0===e.clockseq&&(h=h+1&16383),(m<0||p>u)&&void 0===e.nsecs&&(d=0),d>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");u=p,l=d,a=h,p+=122192928e5;const g=(1e4*(268435455&p)+d)%4294967296;c[r++]=g>>>24&255,c[r++]=g>>>16&255,c[r++]=g>>>8&255,c[r++]=255&g;const v=p/4294967296*1e4&268435455;c[r++]=v>>>8&255,c[r++]=255&v,c[r++]=v>>>24&15|16,c[r++]=v>>>16&255,c[r++]=h>>>8|128,c[r++]=255&h;for(let e=0;e<6;++e)c[r+e]=f[e];return t||(0,o.unsafeStringify)(c)}},46076:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n(18679)),i=o(n(2763));function o(e){return e&&e.__esModule?e:{default:e}}var s=(0,r.default)("v3",48,i.default);t.default=s},18679:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.URL=t.DNS=void 0,t.default=function(e,t,n){function r(e,r,s,a){var u;if("string"==typeof e&&(e=function(e){e=unescape(encodeURIComponent(e));const t=[];for(let n=0;n<e.length;++n)t.push(e.charCodeAt(n));return t}(e)),"string"==typeof r&&(r=(0,o.default)(r)),16!==(null===(u=r)||void 0===u?void 0:u.length))throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");let l=new Uint8Array(16+e.length);if(l.set(r),l.set(e,r.length),l=n(l),l[6]=15&l[6]|t,l[8]=63&l[8]|128,s){a=a||0;for(let e=0;e<16;++e)s[a+e]=l[e];return s}return(0,i.unsafeStringify)(l)}try{r.name=e}catch(e){}return r.DNS=s,r.URL=a,r};var r,i=n(49926),o=(r=n(9964))&&r.__esModule?r:{default:r};const s="6ba7b810-9dad-11d1-80b4-00c04fd430c8";t.DNS=s;const a="6ba7b811-9dad-11d1-80b4-00c04fd430c8";t.URL=a},85854:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=s(n(74267)),i=s(n(41874)),o=n(49926);function s(e){return e&&e.__esModule?e:{default:e}}t.default=function(e,t,n){if(r.default.randomUUID&&!t&&!e)return r.default.randomUUID();const s=(e=e||{}).random||(e.rng||i.default)();if(s[6]=15&s[6]|64,s[8]=63&s[8]|128,t){n=n||0;for(let e=0;e<16;++e)t[n+e]=s[e];return t}return(0,o.unsafeStringify)(s)}},13940:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n(18679)),i=o(n(13254));function o(e){return e&&e.__esModule?e:{default:e}}var s=(0,r.default)("v5",80,i.default);t.default=s},77888:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=(r=n(76678))&&r.__esModule?r:{default:r};t.default=function(e){return"string"==typeof e&&i.default.test(e)}},25791:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=(r=n(77888))&&r.__esModule?r:{default:r};t.default=function(e){if(!(0,i.default)(e))throw TypeError("Invalid UUID");return parseInt(e.slice(14,15),16)}},19436:function(e,t,n){"use strict";let r;n.d(t,{Z:function(){return f}});const i=new Uint8Array(16);function o(){if(!r&&(r="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!r))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return r(i)}const s=[];for(let e=0;e<256;++e)s.push((e+256).toString(16).slice(1));let a,u,l=0,c=0;var f=function(e,t,n){let r=t&&n||0;const i=t||new Array(16);let f=(e=e||{}).node||a,h=void 0!==e.clockseq?e.clockseq:u;if(null==f||null==h){const t=e.random||(e.rng||o)();null==f&&(f=a=[1|t[0],t[1],t[2],t[3],t[4],t[5]]),null==h&&(h=u=16383&(t[6]<<8|t[7]))}let p=void 0!==e.msecs?e.msecs:Date.now(),d=void 0!==e.nsecs?e.nsecs:c+1;const m=p-l+(d-c)/1e4;if(m<0&&void 0===e.clockseq&&(h=h+1&16383),(m<0||p>l)&&void 0===e.nsecs&&(d=0),d>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");l=p,c=d,u=h,p+=122192928e5;const g=(1e4*(268435455&p)+d)%4294967296;i[r++]=g>>>24&255,i[r++]=g>>>16&255,i[r++]=g>>>8&255,i[r++]=255&g;const v=p/4294967296*1e4&268435455;i[r++]=v>>>8&255,i[r++]=255&v,i[r++]=v>>>24&15|16,i[r++]=v>>>16&255,i[r++]=h>>>8|128,i[r++]=255&h;for(let e=0;e<6;++e)i[r+e]=f[e];return t||function(e,t=0){return(s[e[t+0]]+s[e[t+1]]+s[e[t+2]]+s[e[t+3]]+"-"+s[e[t+4]]+s[e[t+5]]+"-"+s[e[t+6]]+s[e[t+7]]+"-"+s[e[t+8]]+s[e[t+9]]+"-"+s[e[t+10]]+s[e[t+11]]+s[e[t+12]]+s[e[t+13]]+s[e[t+14]]+s[e[t+15]]).toLowerCase()}(i)}},75310:function(e,t,n){var r;!function(){function i(e,t,n){return e.call.apply(e.bind,arguments)}function o(e,t,n){if(!e)throw Error();if(2<arguments.length){var r=Array.prototype.slice.call(arguments,2);return function(){var n=Array.prototype.slice.call(arguments);return Array.prototype.unshift.apply(n,r),e.apply(t,n)}}return function(){return e.apply(t,arguments)}}function s(e,t,n){return(s=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?i:o).apply(null,arguments)}var a=Date.now||function(){return+new Date};function u(e,t){this.a=e,this.o=t||e,this.c=this.o.document}var l=!!window.FontFace;function c(e,t,n,r){if(t=e.c.createElement(t),n)for(var i in n)n.hasOwnProperty(i)&&("style"==i?t.style.cssText=n[i]:t.setAttribute(i,n[i]));return r&&t.appendChild(e.c.createTextNode(r)),t}function f(e,t,n){(e=e.c.getElementsByTagName(t)[0])||(e=document.documentElement),e.insertBefore(n,e.lastChild)}function h(e){e.parentNode&&e.parentNode.removeChild(e)}function p(e,t,n){t=t||[],n=n||[];for(var r=e.className.split(/\s+/),i=0;i<t.length;i+=1){for(var o=!1,s=0;s<r.length;s+=1)if(t[i]===r[s]){o=!0;break}o||r.push(t[i])}for(t=[],i=0;i<r.length;i+=1){for(o=!1,s=0;s<n.length;s+=1)if(r[i]===n[s]){o=!0;break}o||t.push(r[i])}e.className=t.join(" ").replace(/\s+/g," ").replace(/^\s+|\s+$/,"")}function d(e,t){for(var n=e.className.split(/\s+/),r=0,i=n.length;r<i;r++)if(n[r]==t)return!0;return!1}function m(e,t,n){function r(){a&&i&&o&&(a(s),a=null)}t=c(e,"link",{rel:"stylesheet",href:t,media:"all"});var i=!1,o=!0,s=null,a=n||null;l?(t.onload=function(){i=!0,r()},t.onerror=function(){i=!0,s=Error("Stylesheet failed to load"),r()}):setTimeout((function(){i=!0,r()}),0),f(e,"head",t)}function g(e,t,n,r){var i=e.c.getElementsByTagName("head")[0];if(i){var o=c(e,"script",{src:t}),s=!1;return o.onload=o.onreadystatechange=function(){s||this.readyState&&"loaded"!=this.readyState&&"complete"!=this.readyState||(s=!0,n&&n(null),o.onload=o.onreadystatechange=null,"HEAD"==o.parentNode.tagName&&i.removeChild(o))},i.appendChild(o),setTimeout((function(){s||(s=!0,n&&n(Error("Script load timeout")))}),r||5e3),o}return null}function v(){this.a=0,this.c=null}function y(e){return e.a++,function(){e.a--,w(e)}}function b(e,t){e.c=t,w(e)}function w(e){0==e.a&&e.c&&(e.c(),e.c=null)}function _(e){this.a=e||"-"}function S(e,t){this.c=e,this.f=4,this.a="n";var n=(t||"n4").match(/^([nio])([1-9])$/i);n&&(this.a=n[1],this.f=parseInt(n[2],10))}function x(e){var t=[];e=e.split(/,\s*/);for(var n=0;n<e.length;n++){var r=e[n].replace(/['"]/g,"");-1!=r.indexOf(" ")||/^\d/.test(r)?t.push("'"+r+"'"):t.push(r)}return t.join(",")}function E(e){return e.a+e.f}function k(e){var t="normal";return"o"===e.a?t="oblique":"i"===e.a&&(t="italic"),t}function P(e){var t=4,n="n",r=null;return e&&((r=e.match(/(normal|oblique|italic)/i))&&r[1]&&(n=r[1].substr(0,1).toLowerCase()),(r=e.match(/([1-9]00|normal|bold)/i))&&r[1]&&(/bold/i.test(r[1])?t=7:/[1-9]00/.test(r[1])&&(t=parseInt(r[1].substr(0,1),10)))),n+t}function C(e,t){this.c=e,this.f=e.o.document.documentElement,this.h=t,this.a=new _("-"),this.j=!1!==t.events,this.g=!1!==t.classes}function O(e){if(e.g){var t=d(e.f,e.a.c("wf","active")),n=[],r=[e.a.c("wf","loading")];t||n.push(e.a.c("wf","inactive")),p(e.f,n,r)}T(e,"inactive")}function T(e,t,n){e.j&&e.h[t]&&(n?e.h[t](n.c,E(n)):e.h[t]())}function A(){this.c={}}function F(e,t){this.c=e,this.f=t,this.a=c(this.c,"span",{"aria-hidden":"true"},this.f)}function I(e){f(e.c,"body",e.a)}function R(e){return"display:block;position:absolute;top:-9999px;left:-9999px;font-size:300px;width:auto;height:auto;line-height:normal;margin:0;padding:0;font-variant:normal;white-space:nowrap;font-family:"+x(e.c)+";font-style:"+k(e)+";font-weight:"+e.f+"00;"}function M(e,t,n,r,i,o){this.g=e,this.j=t,this.a=r,this.c=n,this.f=i||3e3,this.h=o||void 0}function N(e,t,n,r,i,o,s){this.v=e,this.B=t,this.c=n,this.a=r,this.s=s||"BESbswy",this.f={},this.w=i||3e3,this.u=o||null,this.m=this.j=this.h=this.g=null,this.g=new F(this.c,this.s),this.h=new F(this.c,this.s),this.j=new F(this.c,this.s),this.m=new F(this.c,this.s),e=R(e=new S(this.a.c+",serif",E(this.a))),this.g.a.style.cssText=e,e=R(e=new S(this.a.c+",sans-serif",E(this.a))),this.h.a.style.cssText=e,e=R(e=new S("serif",E(this.a))),this.j.a.style.cssText=e,e=R(e=new S("sans-serif",E(this.a))),this.m.a.style.cssText=e,I(this.g),I(this.h),I(this.j),I(this.m)}_.prototype.c=function(e){for(var t=[],n=0;n<arguments.length;n++)t.push(arguments[n].replace(/[\W_]+/g,"").toLowerCase());return t.join(this.a)},M.prototype.start=function(){var e=this.c.o.document,t=this,n=a(),r=new Promise((function(r,i){!function o(){a()-n>=t.f?i():e.fonts.load(function(e){return k(e)+" "+e.f+"00 300px "+x(e.c)}(t.a),t.h).then((function(e){1<=e.length?r():setTimeout(o,25)}),(function(){i()}))}()})),i=null,o=new Promise((function(e,n){i=setTimeout(n,t.f)}));Promise.race([o,r]).then((function(){i&&(clearTimeout(i),i=null),t.g(t.a)}),(function(){t.j(t.a)}))};var L={D:"serif",C:"sans-serif"},U=null;function D(){if(null===U){var e=/AppleWebKit\/([0-9]+)(?:\.([0-9]+))/.exec(window.navigator.userAgent);U=!!e&&(536>parseInt(e[1],10)||536===parseInt(e[1],10)&&11>=parseInt(e[2],10))}return U}function j(e,t,n){for(var r in L)if(L.hasOwnProperty(r)&&t===e.f[L[r]]&&n===e.f[L[r]])return!0;return!1}function B(e){var t,n=e.g.a.offsetWidth,r=e.h.a.offsetWidth;(t=n===e.f.serif&&r===e.f["sans-serif"])||(t=D()&&j(e,n,r)),t?a()-e.A>=e.w?D()&&j(e,n,r)&&(null===e.u||e.u.hasOwnProperty(e.a.c))?z(e,e.v):z(e,e.B):function(e){setTimeout(s((function(){B(this)}),e),50)}(e):z(e,e.v)}function z(e,t){setTimeout(s((function(){h(this.g.a),h(this.h.a),h(this.j.a),h(this.m.a),t(this.a)}),e),0)}function H(e,t,n){this.c=e,this.a=t,this.f=0,this.m=this.j=!1,this.s=n}N.prototype.start=function(){this.f.serif=this.j.a.offsetWidth,this.f["sans-serif"]=this.m.a.offsetWidth,this.A=a(),B(this)};var $=null;function V(e){0==--e.f&&e.j&&(e.m?((e=e.a).g&&p(e.f,[e.a.c("wf","active")],[e.a.c("wf","loading"),e.a.c("wf","inactive")]),T(e,"active")):O(e.a))}function q(e){this.j=e,this.a=new A,this.h=0,this.f=this.g=!0}function W(e,t,n,r,i){var o=0==--e.h;(e.f||e.g)&&setTimeout((function(){var e=i||null,a=r||{};if(0===n.length&&o)O(t.a);else{t.f+=n.length,o&&(t.j=o);var u,l=[];for(u=0;u<n.length;u++){var c=n[u],f=a[c.c],h=t.a,d=c;if(h.g&&p(h.f,[h.a.c("wf",d.c,E(d).toString(),"loading")]),T(h,"fontloading",d),h=null,null===$)if(window.FontFace){d=/Gecko.*Firefox\/(\d+)/.exec(window.navigator.userAgent);var m=/OS X.*Version\/10\..*Safari/.exec(window.navigator.userAgent)&&/Apple/.exec(window.navigator.vendor);$=d?42<parseInt(d[1],10):!m}else $=!1;h=$?new M(s(t.g,t),s(t.h,t),t.c,c,t.s,f):new N(s(t.g,t),s(t.h,t),t.c,c,t.s,e,f),l.push(h)}for(u=0;u<l.length;u++)l[u].start()}}),0)}function G(e,t){this.c=e,this.a=t}function Z(e,t){this.c=e,this.a=t}function K(e,t){this.c=e||Y,this.a=[],this.f=[],this.g=t||""}H.prototype.g=function(e){var t=this.a;t.g&&p(t.f,[t.a.c("wf",e.c,E(e).toString(),"active")],[t.a.c("wf",e.c,E(e).toString(),"loading"),t.a.c("wf",e.c,E(e).toString(),"inactive")]),T(t,"fontactive",e),this.m=!0,V(this)},H.prototype.h=function(e){var t=this.a;if(t.g){var n=d(t.f,t.a.c("wf",e.c,E(e).toString(),"active")),r=[],i=[t.a.c("wf",e.c,E(e).toString(),"loading")];n||r.push(t.a.c("wf",e.c,E(e).toString(),"inactive")),p(t.f,r,i)}T(t,"fontinactive",e),V(this)},q.prototype.load=function(e){this.c=new u(this.j,e.context||this.j),this.g=!1!==e.events,this.f=!1!==e.classes,function(e,t,n){var r=[],i=n.timeout;!function(e){e.g&&p(e.f,[e.a.c("wf","loading")]),T(e,"loading")}(t),r=function(e,t,n){var r,i=[];for(r in t)if(t.hasOwnProperty(r)){var o=e.c[r];o&&i.push(o(t[r],n))}return i}(e.a,n,e.c);var o=new H(e.c,t,i);for(e.h=r.length,t=0,n=r.length;t<n;t++)r[t].load((function(t,n,r){W(e,o,t,n,r)}))}(this,new C(this.c,e),e)},G.prototype.load=function(e){function t(){if(o["__mti_fntLst"+r]){var n,i=o["__mti_fntLst"+r](),s=[];if(i)for(var a=0;a<i.length;a++){var u=i[a].fontfamily;null!=i[a].fontStyle&&null!=i[a].fontWeight?(n=i[a].fontStyle+i[a].fontWeight,s.push(new S(u,n))):s.push(new S(u))}e(s)}else setTimeout((function(){t()}),50)}var n=this,r=n.a.projectId,i=n.a.version;if(r){var o=n.c.o;g(this.c,(n.a.api||"https://fast.fonts.net/jsapi")+"/"+r+".js"+(i?"?v="+i:""),(function(i){i?e([]):(o["__MonotypeConfiguration__"+r]=function(){return n.a},t())})).id="__MonotypeAPIScript__"+r}else e([])},Z.prototype.load=function(e){var t,n,r=this.a.urls||[],i=this.a.families||[],o=this.a.testStrings||{},s=new v;for(t=0,n=r.length;t<n;t++)m(this.c,r[t],y(s));var a=[];for(t=0,n=i.length;t<n;t++)if((r=i[t].split(":"))[1])for(var u=r[1].split(","),l=0;l<u.length;l+=1)a.push(new S(r[0],u[l]));else a.push(new S(r[0]));b(s,(function(){e(a,o)}))};var Y="https://fonts.googleapis.com/css";function X(e){this.f=e,this.a=[],this.c={}}var Q={latin:"BESbswy","latin-ext":"çöüğş",cyrillic:"йяЖ",greek:"αβΣ",khmer:"កខគ",Hanuman:"កខគ"},J={thin:"1",extralight:"2","extra-light":"2",ultralight:"2","ultra-light":"2",light:"3",regular:"4",book:"4",medium:"5","semi-bold":"6",semibold:"6","demi-bold":"6",demibold:"6",bold:"7","extra-bold":"8",extrabold:"8","ultra-bold":"8",ultrabold:"8",black:"9",heavy:"9",l:"3",r:"4",b:"7"},ee={i:"i",italic:"i",n:"n",normal:"n"},te=/^(thin|(?:(?:extra|ultra)-?)?light|regular|book|medium|(?:(?:semi|demi|extra|ultra)-?)?bold|black|heavy|l|r|b|[1-9]00)?(n|i|normal|italic)?$/;function ne(e,t){this.c=e,this.a=t}var re={Arimo:!0,Cousine:!0,Tinos:!0};function ie(e,t){this.c=e,this.a=t}function oe(e,t){this.c=e,this.f=t,this.a=[]}ne.prototype.load=function(e){var t=new v,n=this.c,r=new K(this.a.api,this.a.text),i=this.a.families;!function(e,t){for(var n=t.length,r=0;r<n;r++){var i=t[r].split(":");3==i.length&&e.f.push(i.pop());var o="";2==i.length&&""!=i[1]&&(o=":"),e.a.push(i.join(o))}}(r,i);var o=new X(i);!function(e){for(var t=e.f.length,n=0;n<t;n++){var r=e.f[n].split(":"),i=r[0].replace(/\+/g," "),o=["n4"];if(2<=r.length){var s;if(s=[],a=r[1])for(var a,u=(a=a.split(",")).length,l=0;l<u;l++){var c;if((c=a[l]).match(/^[\w-]+$/))if(null==(f=te.exec(c.toLowerCase())))c="";else{if(c=null==(c=f[2])||""==c?"n":ee[c],null==(f=f[1])||""==f)f="4";else var f=J[f]||(isNaN(f)?"4":f.substr(0,1));c=[c,f].join("")}else c="";c&&s.push(c)}0<s.length&&(o=s),3==r.length&&(s=[],0<(r=(r=r[2])?r.split(","):s).length&&(r=Q[r[0]])&&(e.c[i]=r))}for(e.c[i]||(r=Q[i])&&(e.c[i]=r),r=0;r<o.length;r+=1)e.a.push(new S(i,o[r]))}}(o),m(n,function(e){if(0==e.a.length)throw Error("No fonts to load!");if(-1!=e.c.indexOf("kit="))return e.c;for(var t=e.a.length,n=[],r=0;r<t;r++)n.push(e.a[r].replace(/ /g,"+"));return t=e.c+"?family="+n.join("%7C"),0<e.f.length&&(t+="&subset="+e.f.join(",")),0<e.g.length&&(t+="&text="+encodeURIComponent(e.g)),t}(r),y(t)),b(t,(function(){e(o.a,o.c,re)}))},ie.prototype.load=function(e){var t=this.a.id,n=this.c.o;t?g(this.c,(this.a.api||"https://use.typekit.net")+"/"+t+".js",(function(t){if(t)e([]);else if(n.Typekit&&n.Typekit.config&&n.Typekit.config.fn){t=n.Typekit.config.fn;for(var r=[],i=0;i<t.length;i+=2)for(var o=t[i],s=t[i+1],a=0;a<s.length;a++)r.push(new S(o,s[a]));try{n.Typekit.load({events:!1,classes:!1,async:!0})}catch(e){}e(r)}}),2e3):e([])},oe.prototype.load=function(e){var t=this.f.id,n=this.c.o,r=this;t?(n.__webfontfontdeckmodule__||(n.__webfontfontdeckmodule__={}),n.__webfontfontdeckmodule__[t]=function(t,n){for(var i=0,o=n.fonts.length;i<o;++i){var s=n.fonts[i];r.a.push(new S(s.name,P("font-weight:"+s.weight+";font-style:"+s.style)))}e(r.a)},g(this.c,(this.f.api||"https://f.fontdeck.com/s/css/js/")+function(e){return e.o.location.hostname||e.a.location.hostname}(this.c)+"/"+t+".js",(function(t){t&&e([])}))):e([])};var se=new q(window);se.a.c.custom=function(e,t){return new Z(t,e)},se.a.c.fontdeck=function(e,t){return new oe(t,e)},se.a.c.monotype=function(e,t){return new G(t,e)},se.a.c.typekit=function(e,t){return new ie(t,e)},se.a.c.google=function(e,t){return new ne(t,e)};var ae={load:s(se.load,se)};void 0===(r=function(){return ae}.call(t,n,t,e))||(e.exports=r)}()},46168:function(e,t,n){"use strict";var r="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==r&&r,i={searchParams:"URLSearchParams"in r,iterable:"Symbol"in r&&"iterator"in Symbol,blob:"FileReader"in r&&"Blob"in r&&function(){try{return new Blob,!0}catch(e){return!1}}(),formData:"FormData"in r,arrayBuffer:"ArrayBuffer"in r};if(i.arrayBuffer)var o=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],s=ArrayBuffer.isView||function(e){return e&&o.indexOf(Object.prototype.toString.call(e))>-1};function a(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function u(e){return"string"!=typeof e&&(e=String(e)),e}function l(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return i.iterable&&(t[Symbol.iterator]=function(){return t}),t}function c(e){this.map={},e instanceof c?e.forEach((function(e,t){this.append(t,e)}),this):Array.isArray(e)?e.forEach((function(e){this.append(e[0],e[1])}),this):e&&Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}function f(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function h(e){return new Promise((function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}}))}function p(e){var t=new FileReader,n=h(t);return t.readAsArrayBuffer(e),n}function d(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function m(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,this._bodyInit=e,e?"string"==typeof e?this._bodyText=e:i.blob&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:i.formData&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:i.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():i.arrayBuffer&&i.blob&&(t=e)&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=d(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):i.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(e)||s(e))?this._bodyArrayBuffer=d(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):i.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},i.blob&&(this.blob=function(){var e=f(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?f(this)||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer)):this.blob().then(p)}),this.text=function(){var e,t,n,r=f(this);if(r)return r;if(this._bodyBlob)return e=this._bodyBlob,n=h(t=new FileReader),t.readAsText(e),n;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r<t.length;r++)n[r]=String.fromCharCode(t[r]);return n.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},i.formData&&(this.formData=function(){return this.text().then(y)}),this.json=function(){return this.text().then(JSON.parse)},this}c.prototype.append=function(e,t){e=a(e),t=u(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},c.prototype.delete=function(e){delete this.map[a(e)]},c.prototype.get=function(e){return e=a(e),this.has(e)?this.map[e]:null},c.prototype.has=function(e){return this.map.hasOwnProperty(a(e))},c.prototype.set=function(e,t){this.map[a(e)]=u(t)},c.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},c.prototype.keys=function(){var e=[];return this.forEach((function(t,n){e.push(n)})),l(e)},c.prototype.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),l(e)},c.prototype.entries=function(){var e=[];return this.forEach((function(t,n){e.push([n,t])})),l(e)},i.iterable&&(c.prototype[Symbol.iterator]=c.prototype.entries);var g=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function v(e,t){if(!(this instanceof v))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var n,r,i=(t=t||{}).body;if(e instanceof v){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new c(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,i||null==e._bodyInit||(i=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new c(t.headers)),this.method=(r=(n=t.method||this.method||"GET").toUpperCase(),g.indexOf(r)>-1?r:n),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&i)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(i),!("GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache)){var o=/([?&])_=[^&]*/;o.test(this.url)?this.url=this.url.replace(o,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}function y(e){var t=new FormData;return e.trim().split("&").forEach((function(e){if(e){var n=e.split("="),r=n.shift().replace(/\+/g," "),i=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(r),decodeURIComponent(i))}})),t}function b(e,t){if(!(this instanceof b))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new c(t.headers),this.url=t.url||"",this._initBody(e)}v.prototype.clone=function(){return new v(this,{body:this._bodyInit})},m.call(v.prototype),m.call(b.prototype),b.prototype.clone=function(){return new b(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new c(this.headers),url:this.url})},b.error=function(){var e=new b(null,{status:0,statusText:""});return e.type="error",e};var w=[301,302,303,307,308];b.redirect=function(e,t){if(-1===w.indexOf(t))throw new RangeError("Invalid status code");return new b(null,{status:t,headers:{location:e}})};var _=r.DOMException;try{new _}catch(e){(_=function(e,t){this.message=e,this.name=t;var n=Error(e);this.stack=n.stack}).prototype=Object.create(Error.prototype),_.prototype.constructor=_}function S(e,t){return new Promise((function(n,o){var s=new v(e,t);if(s.signal&&s.signal.aborted)return o(new _("Aborted","AbortError"));var a=new XMLHttpRequest;function l(){a.abort()}a.onload=function(){var e,t,r={status:a.status,statusText:a.statusText,headers:(e=a.getAllResponseHeaders()||"",t=new c,e.replace(/\r?\n[\t ]+/g," ").split("\r").map((function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e})).forEach((function(e){var n=e.split(":"),r=n.shift().trim();if(r){var i=n.join(":").trim();t.append(r,i)}})),t)};r.url="responseURL"in a?a.responseURL:r.headers.get("X-Request-URL");var i="response"in a?a.response:a.responseText;setTimeout((function(){n(new b(i,r))}),0)},a.onerror=function(){setTimeout((function(){o(new TypeError("Network request failed"))}),0)},a.ontimeout=function(){setTimeout((function(){o(new TypeError("Network request failed"))}),0)},a.onabort=function(){setTimeout((function(){o(new _("Aborted","AbortError"))}),0)},a.open(s.method,function(e){try{return""===e&&r.location.href?r.location.href:e}catch(t){return e}}(s.url),!0),"include"===s.credentials?a.withCredentials=!0:"omit"===s.credentials&&(a.withCredentials=!1),"responseType"in a&&(i.blob?a.responseType="blob":i.arrayBuffer&&s.headers.get("Content-Type")&&-1!==s.headers.get("Content-Type").indexOf("application/octet-stream")&&(a.responseType="arraybuffer")),!t||"object"!=typeof t.headers||t.headers instanceof c?s.headers.forEach((function(e,t){a.setRequestHeader(t,e)})):Object.getOwnPropertyNames(t.headers).forEach((function(e){a.setRequestHeader(e,u(t.headers[e]))})),s.signal&&(s.signal.addEventListener("abort",l),a.onreadystatechange=function(){4===a.readyState&&s.signal.removeEventListener("abort",l)}),a.send(void 0===s._bodyInit?null:s._bodyInit)}))}S.polyfill=!0,r.fetch||(r.fetch=S,r.Headers=c,r.Request=v,r.Response=b)},68302:function(e,t,n){var r;!function(t){"use strict";function i(){}var o=i.prototype,s=t.EventEmitter;function a(e,t){for(var n=e.length;n--;)if(e[n].listener===t)return n;return-1}function u(e){return function(){return this[e].apply(this,arguments)}}function l(e){return"function"==typeof e||e instanceof RegExp||!(!e||"object"!=typeof e)&&l(e.listener)}o.getListeners=function(e){var t,n,r=this._getEvents();if(e instanceof RegExp)for(n in t={},r)r.hasOwnProperty(n)&&e.test(n)&&(t[n]=r[n]);else t=r[e]||(r[e]=[]);return t},o.flattenListeners=function(e){var t,n=[];for(t=0;t<e.length;t+=1)n.push(e[t].listener);return n},o.getListenersAsObject=function(e){var t,n=this.getListeners(e);return n instanceof Array&&((t={})[e]=n),t||n},o.addListener=function(e,t){if(!l(t))throw new TypeError("listener must be a function");var n,r=this.getListenersAsObject(e),i="object"==typeof t;for(n in r)r.hasOwnProperty(n)&&-1===a(r[n],t)&&r[n].push(i?t:{listener:t,once:!1});return this},o.on=u("addListener"),o.addOnceListener=function(e,t){return this.addListener(e,{listener:t,once:!0})},o.once=u("addOnceListener"),o.defineEvent=function(e){return this.getListeners(e),this},o.defineEvents=function(e){for(var t=0;t<e.length;t+=1)this.defineEvent(e[t]);return this},o.removeListener=function(e,t){var n,r,i=this.getListenersAsObject(e);for(r in i)i.hasOwnProperty(r)&&-1!==(n=a(i[r],t))&&i[r].splice(n,1);return this},o.off=u("removeListener"),o.addListeners=function(e,t){return this.manipulateListeners(!1,e,t)},o.removeListeners=function(e,t){return this.manipulateListeners(!0,e,t)},o.manipulateListeners=function(e,t,n){var r,i,o=e?this.removeListener:this.addListener,s=e?this.removeListeners:this.addListeners;if("object"!=typeof t||t instanceof RegExp)for(r=n.length;r--;)o.call(this,t,n[r]);else for(r in t)t.hasOwnProperty(r)&&(i=t[r])&&("function"==typeof i?o.call(this,r,i):s.call(this,r,i));return this},o.removeEvent=function(e){var t,n=typeof e,r=this._getEvents();if("string"===n)delete r[e];else if(e instanceof RegExp)for(t in r)r.hasOwnProperty(t)&&e.test(t)&&delete r[t];else delete this._events;return this},o.removeAllListeners=u("removeEvent"),o.emitEvent=function(e,t){var n,r,i,o,s=this.getListenersAsObject(e);for(o in s)if(s.hasOwnProperty(o))for(n=s[o].slice(0),i=0;i<n.length;i++)!0===(r=n[i]).once&&this.removeListener(e,r.listener),r.listener.apply(this,t||[])===this._getOnceReturnValue()&&this.removeListener(e,r.listener);return this},o.trigger=u("emitEvent"),o.emit=function(e){var t=Array.prototype.slice.call(arguments,1);return this.emitEvent(e,t)},o.setOnceReturnValue=function(e){return this._onceReturnValue=e,this},o._getOnceReturnValue=function(){return!this.hasOwnProperty("_onceReturnValue")||this._onceReturnValue},o._getEvents=function(){return this._events||(this._events={})},i.noConflict=function(){return t.EventEmitter=s,i},void 0===(r=function(){return i}.call(t,n,t,e))||(e.exports=r)}("undefined"!=typeof window?window:this||{})},85748:function(e){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r},e.exports.__esModule=!0,e.exports.default=e.exports},96314:function(e){e.exports=function(e){if(Array.isArray(e))return e},e.exports.__esModule=!0,e.exports.default=e.exports},13850:function(e,t,n){var r=n(85748);e.exports=function(e){if(Array.isArray(e))return r(e)},e.exports.__esModule=!0,e.exports.default=e.exports},85297:function(e){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e},e.exports.__esModule=!0,e.exports.default=e.exports},91461:function(e){function t(e,t,n,r,i,o,s){try{var a=e[o](s),u=a.value}catch(e){return void n(e)}a.done?t(u):Promise.resolve(u).then(r,i)}e.exports=function(e){return function(){var n=this,r=arguments;return new Promise((function(i,o){var s=e.apply(n,r);function a(e){t(s,i,o,a,u,"next",e)}function u(e){t(s,i,o,a,u,"throw",e)}a(void 0)}))}},e.exports.__esModule=!0,e.exports.default=e.exports},53100:function(e){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.__esModule=!0,e.exports.default=e.exports},98870:function(e,t,n){var r=n(47739);function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,r(i.key),i)}}e.exports=function(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e},e.exports.__esModule=!0,e.exports.default=e.exports},10669:function(e,t,n){var r=n(1147),i=n(37028),o=n(60421);e.exports=function(e){var t=i();return function(){var n,i=r(e);if(t){var s=r(this).constructor;n=Reflect.construct(i,arguments,s)}else n=i.apply(this,arguments);return o(this,n)}},e.exports.__esModule=!0,e.exports.default=e.exports},26290:function(e,t,n){var r=n(47739);e.exports=function(e,t,n){return(t=r(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.__esModule=!0,e.exports.default=e.exports},1147:function(e){function t(n){return e.exports=t=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},68230:function(e,t,n){var r=n(78560);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&r(e,t)},e.exports.__esModule=!0,e.exports.default=e.exports},37028:function(e){e.exports=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(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}},e.exports.__esModule=!0,e.exports.default=e.exports},23912:function(e){e.exports=function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},e.exports.__esModule=!0,e.exports.default=e.exports},66193:function(e){e.exports=function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,s,a=[],u=!0,l=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;u=!1}else for(;!(u=(r=o.call(n)).done)&&(a.push(r.value),a.length!==t);u=!0);}catch(e){l=!0,i=e}finally{try{if(!u&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(l)throw i}}return a}},e.exports.__esModule=!0,e.exports.default=e.exports},16147:function(e){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports},83096:function(e){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports},814:function(e,t,n){var r=n(26290);function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}e.exports=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e},e.exports.__esModule=!0,e.exports.default=e.exports},24923:function(e,t,n){var r=n(15538);e.exports=function(e,t){if(null==e)return{};var n,i,o=r(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(i=0;i<s.length;i++)n=s[i],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o},e.exports.__esModule=!0,e.exports.default=e.exports},15538:function(e){e.exports=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i},e.exports.__esModule=!0,e.exports.default=e.exports},60421:function(e,t,n){var r=n(67425).default,i=n(85297);e.exports=function(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return i(e)},e.exports.__esModule=!0,e.exports.default=e.exports},27609:function(e,t,n){var r=n(67425).default;function i(){"use strict";e.exports=i=function(){return t},e.exports.__esModule=!0,e.exports.default=e.exports;var t={},n=Object.prototype,o=n.hasOwnProperty,s=Object.defineProperty||function(e,t,n){e[t]=n.value},a="function"==typeof Symbol?Symbol:{},u=a.iterator||"@@iterator",l=a.asyncIterator||"@@asyncIterator",c=a.toStringTag||"@@toStringTag";function f(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(e){f=function(e,t,n){return e[t]=n}}function h(e,t,n,r){var i=t&&t.prototype instanceof m?t:m,o=Object.create(i.prototype),a=new O(r||[]);return s(o,"_invoke",{value:E(e,n,a)}),o}function p(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=h;var d={};function m(){}function g(){}function v(){}var y={};f(y,u,(function(){return this}));var b=Object.getPrototypeOf,w=b&&b(b(T([])));w&&w!==n&&o.call(w,u)&&(y=w);var _=v.prototype=m.prototype=Object.create(y);function S(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function x(e,t){function n(i,s,a,u){var l=p(e[i],e,s);if("throw"!==l.type){var c=l.arg,f=c.value;return f&&"object"==r(f)&&o.call(f,"__await")?t.resolve(f.__await).then((function(e){n("next",e,a,u)}),(function(e){n("throw",e,a,u)})):t.resolve(f).then((function(e){c.value=e,a(c)}),(function(e){return n("throw",e,a,u)}))}u(l.arg)}var i;s(this,"_invoke",{value:function(e,r){function o(){return new t((function(t,i){n(e,r,t,i)}))}return i=i?i.then(o,o):o()}})}function E(e,t,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return{value:void 0,done:!0}}for(n.method=i,n.arg=o;;){var s=n.delegate;if(s){var a=k(s,n);if(a){if(a===d)continue;return a}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var u=p(e,t,n);if("normal"===u.type){if(r=n.done?"completed":"suspendedYield",u.arg===d)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r="completed",n.method="throw",n.arg=u.arg)}}}function k(e,t){var n=t.method,r=e.iterator[n];if(void 0===r)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=void 0,k(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=p(r,e.iterator,t.arg);if("throw"===i.type)return t.method="throw",t.arg=i.arg,t.delegate=null,d;var o=i.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,d):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,d)}function P(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function C(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function O(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(P,this),this.reset(!0)}function T(e){if(e){var t=e[u];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,r=function t(){for(;++n<e.length;)if(o.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return r.next=r}}return{next:A}}function A(){return{value:void 0,done:!0}}return g.prototype=v,s(_,"constructor",{value:v,configurable:!0}),s(v,"constructor",{value:g,configurable:!0}),g.displayName=f(v,c,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===g||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,f(e,c,"GeneratorFunction")),e.prototype=Object.create(_),e},t.awrap=function(e){return{__await:e}},S(x.prototype),f(x.prototype,l,(function(){return this})),t.AsyncIterator=x,t.async=function(e,n,r,i,o){void 0===o&&(o=Promise);var s=new x(h(e,n,r,i),o);return t.isGeneratorFunction(n)?s:s.next().then((function(e){return e.done?e.value:s.next()}))},S(_),f(_,c,"Generator"),f(_,u,(function(){return this})),f(_,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=T,O.prototype={constructor:O,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(C),!e)for(var t in this)"t"===t.charAt(0)&&o.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(n,r){return s.type="throw",s.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r],s=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var a=o.call(i,"catchLoc"),u=o.call(i,"finallyLoc");if(a&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(a){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&o.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var s=i?i.completion:{};return s.type=e,s.arg=t,i?(this.method="next",this.next=i.finallyLoc,d):this.complete(s)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),d},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),C(n),d}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;C(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:T(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),d}},t}e.exports=i,e.exports.__esModule=!0,e.exports.default=e.exports},78560:function(e){function t(n,r){return e.exports=t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n,r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},43681:function(e,t,n){var r=n(96314),i=n(66193),o=n(60121),s=n(16147);e.exports=function(e,t){return r(e)||i(e,t)||o(e,t)||s()},e.exports.__esModule=!0,e.exports.default=e.exports},73408:function(e,t,n){var r=n(13850),i=n(23912),o=n(60121),s=n(83096);e.exports=function(e){return r(e)||i(e)||o(e)||s()},e.exports.__esModule=!0,e.exports.default=e.exports},68064:function(e,t,n){var r=n(67425).default;e.exports=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!==r(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)},e.exports.__esModule=!0,e.exports.default=e.exports},47739:function(e,t,n){var r=n(67425).default,i=n(68064);e.exports=function(e){var t=i(e,"string");return"symbol"===r(t)?t:String(t)},e.exports.__esModule=!0,e.exports.default=e.exports},67425:function(e){function t(n){return e.exports=t="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.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},60121:function(e,t,n){var r=n(85748);e.exports=function(e,t){if(e){if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}},e.exports.__esModule=!0,e.exports.default=e.exports},60886:function(e){"use strict";class t extends Error{constructor(){super("Authorization required"),this.name="AuthError",this.isAuthError=!0}}e.exports=t},31415:function(e,t,n){"use strict";var r=n(18816);const i=n(30167);e.exports=class extends i{constructor(e,t){super(e,t),this.provider=t.provider,this.id=this.provider,this.name=this.opts.name||this.id.split("-").map((e=>e.charAt(0).toUpperCase()+e.slice(1))).join(" "),this.pluginId=this.opts.pluginId,this.tokenKey=`companion-${this.pluginId}-auth-token`,this.companionKeysParams=this.opts.companionKeysParams,this.preAuthToken=null}headers(){return Promise.all([super.headers(),this.getAuthToken()]).then((e=>{let[t,n]=e;const r={};return n&&(r["uppy-auth-token"]=n),this.companionKeysParams&&(r["uppy-credentials-params"]=btoa(JSON.stringify({params:this.companionKeysParams}))),{...t,...r}}))}onReceiveResponse(e){e=super.onReceiveResponse(e);const t=this.uppy.getPlugin(this.pluginId),n=t.getPluginState().authenticated?401!==e.status:e.status<400;return t.setPluginState({authenticated:n}),e}setAuthToken(e){return this.uppy.getPlugin(this.pluginId).storage.setItem(this.tokenKey,e)}getAuthToken(){return this.uppy.getPlugin(this.pluginId).storage.getItem(this.tokenKey)}async ensurePreAuth(){if(this.companionKeysParams&&!this.preAuthToken&&(await this.fetchPreAuthToken(),!this.preAuthToken))throw new Error("Could not load authentication data required for third-party login. Please try again later.")}authUrl(e){void 0===e&&(e={});const t=new URLSearchParams(e);return this.preAuthToken&&t.set("uppyPreAuthToken",this.preAuthToken),`${this.hostname}/${this.id}/connect?${t}`}fileUrl(e){return`${this.hostname}/${this.id}/get/${e}`}async fetchPreAuthToken(){if(this.companionKeysParams)try{const e=await this.post(`${this.id}/preauth/`,{params:this.companionKeysParams});this.preAuthToken=e.token}catch(e){this.uppy.log(`[CompanionClient] unable to fetch preAuthToken ${e}`,"warning")}}list(e){return this.get(`${this.id}/list/${e||""}`)}logout(){return this.get(`${this.id}/logout`).then((e=>Promise.all([e,this.uppy.getPlugin(this.pluginId).storage.removeItem(this.tokenKey)]))).then((e=>{let[t]=e;return t}))}static initPlugin(e,t,n){if(e.type="acquirer",e.files=[],n&&(e.opts={...n,...t}),t.serverUrl||t.serverPattern)throw new Error("`serverUrl` and `serverPattern` have been renamed to `companionUrl` and `companionAllowedHosts` respectively in the 0.30.5 release. Please consult the docs (for example, https://uppy.io/docs/instagram/ for the Instagram plugin) and use the updated options.`");if(t.companionAllowedHosts){const n=t.companionAllowedHosts;if(!("string"==typeof n||Array.isArray(n)||n instanceof RegExp))throw new TypeError(`${e.id}: the option "companionAllowedHosts" must be one of string, Array, RegExp`);e.opts.companionAllowedHosts=n}else/^(?!https?:\/\/).*$/i.test(t.companionUrl)?e.opts.companionAllowedHosts=`https://${t.companionUrl.replace(/^\/\//,"")}`:e.opts.companionAllowedHosts=new URL(t.companionUrl).origin;e.storage=e.opts.storage||r}}},30167:function(e,t,n){"use strict";let r;function i(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e}var o=0;function s(e){return"__private_"+o+++"_"+e}const a=n(19286),u=n(93411),l=n(60886);async function c(e){if(401===e.status)throw new l;const t=e.json();if(e.status<200||e.status>300){let n=`Failed request with status: ${e.status}. ${e.statusText}`;try{const e=await t;n=e.message?`${n} message: ${e.message}`:n,n=e.requestId?`${n} request-Id: ${e.requestId}`:n}finally{throw new Error(n)}}return t}var f=s("companionHeaders"),h=s("getPostResponseFunc"),p=s("getUrl"),d=s("errorHandler");r=Symbol.for("uppy test: getCompanionHeaders");class m{constructor(e,t){Object.defineProperty(this,d,{value:v}),Object.defineProperty(this,p,{value:g}),Object.defineProperty(this,f,{writable:!0,value:void 0}),Object.defineProperty(this,h,{writable:!0,value:e=>t=>e?t:this.onReceiveResponse(t)}),this.uppy=e,this.opts=t,this.onReceiveResponse=this.onReceiveResponse.bind(this),this.allowedHeaders=["accept","content-type","uppy-auth-token"],this.preflightDone=!1,i(this,f)[f]=null==t?void 0:t.companionHeaders}setCompanionHeaders(e){i(this,f)[f]=e}[r](){return i(this,f)[f]}get hostname(){const{companion:e}=this.uppy.getState(),t=this.opts.companionUrl;return(e&&e[t]?e[t]:t).replace(/\/$/,"")}headers(){return Promise.resolve({...m.defaultHeaders,...i(this,f)[f]})}onReceiveResponse(e){const t=this.uppy.getState().companion||{},n=this.opts.companionUrl,{headers:r}=e;return r.has("i-am")&&r.get("i-am")!==t[n]&&this.uppy.setState({companion:{...t,[n]:r.get("i-am")}}),e}preflight(e){return this.preflightDone?Promise.resolve(this.allowedHeaders.slice()):fetch(i(this,p)[p](e),{method:"OPTIONS"}).then((e=>(e.headers.has("access-control-allow-headers")&&(this.allowedHeaders=e.headers.get("access-control-allow-headers").split(",").map((e=>e.trim().toLowerCase()))),this.preflightDone=!0,this.allowedHeaders.slice()))).catch((e=>(this.uppy.log(`[CompanionClient] unable to make preflight request ${e}`,"warning"),this.preflightDone=!0,this.allowedHeaders.slice())))}preflightAndHeaders(e){return Promise.all([this.preflight(e),this.headers()]).then((e=>{let[t,n]=e;return Object.keys(n).forEach((e=>{t.includes(e.toLowerCase())||(this.uppy.log(`[CompanionClient] excluding disallowed header ${e}`),delete n[e])})),n}))}get(e,t){return this.preflightAndHeaders(e).then((t=>a(i(this,p)[p](e),{method:"get",headers:t,credentials:this.opts.companionCookiesRule||"same-origin"}))).then(i(this,h)[h](t)).then(c).catch(i(this,d)[d]("get",e))}post(e,t,n){const r="post";return this.preflightAndHeaders(e).then((n=>a(i(this,p)[p](e),{method:r,headers:n,credentials:this.opts.companionCookiesRule||"same-origin",body:JSON.stringify(t)}))).then(i(this,h)[h](n)).then(c).catch(i(this,d)[d](r,e))}delete(e,t,n){const r="delete";return this.preflightAndHeaders(e).then((n=>a(`${this.hostname}/${e}`,{method:r,headers:n,credentials:this.opts.companionCookiesRule||"same-origin",body:t?JSON.stringify(t):null}))).then(i(this,h)[h](n)).then(c).catch(i(this,d)[d](r,e))}}function g(e){return/^(https?:|)\/\//.test(e)?e:`${this.hostname}/${e}`}function v(e,t){return n=>{var r;return null!=(r=n)&&r.isAuthError||(n=new u(`Could not ${e} ${i(this,p)[p](t)}`,{cause:n})),Promise.reject(n)}}m.VERSION="2.2.2",m.defaultHeaders={Accept:"application/json","Content-Type":"application/json","Uppy-Versions":`@uppy/companion-client=${m.VERSION}`},e.exports=m},67655:function(e,t,n){"use strict";const r=n(30167);e.exports=class extends r{constructor(e,t){super(e,t),this.provider=t.provider,this.id=this.provider,this.name=this.opts.name||this.id.split("-").map((e=>e.charAt(0).toUpperCase()+e.slice(1))).join(" "),this.pluginId=this.opts.pluginId}fileUrl(e){return`${this.hostname}/search/${this.id}/get/${e}`}search(e,t){return this.get(`search/${this.id}/list?q=${encodeURIComponent(e)}${t?`&${t}`:""}`)}}},92797:function(e,t,n){"use strict";let r,i;function o(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e}var s=0;function a(e){return"__private_"+s+++"_"+e}const u=n(5450);var l=a("queued"),c=a("emitter"),f=a("isOpen"),h=a("socket"),p=a("handleMessage");r=Symbol.for("uppy test: getSocket"),i=Symbol.for("uppy test: getQueued"),e.exports=class{constructor(e){Object.defineProperty(this,l,{writable:!0,value:[]}),Object.defineProperty(this,c,{writable:!0,value:u()}),Object.defineProperty(this,f,{writable:!0,value:!1}),Object.defineProperty(this,h,{writable:!0,value:void 0}),Object.defineProperty(this,p,{writable:!0,value:e=>{try{const t=JSON.parse(e.data);this.emit(t.action,t.payload)}catch(e){console.log(e)}}}),this.opts=e,e&&!1===e.autoOpen||this.open()}get isOpen(){return o(this,f)[f]}[r](){return o(this,h)[h]}[i](){return o(this,l)[l]}open(){o(this,h)[h]=new WebSocket(this.opts.target),o(this,h)[h].onopen=()=>{for(o(this,f)[f]=!0;o(this,l)[l].length>0&&o(this,f)[f];){const e=o(this,l)[l].shift();this.send(e.action,e.payload)}},o(this,h)[h].onclose=()=>{o(this,f)[f]=!1},o(this,h)[h].onmessage=o(this,p)[p]}close(){var e;null==(e=o(this,h)[h])||e.close()}send(e,t){o(this,f)[f]?o(this,h)[h].send(JSON.stringify({action:e,payload:t})):o(this,l)[l].push({action:e,payload:t})}on(e,t){o(this,c)[c].on(e,t)}emit(e,t){o(this,c)[c].emit(e,t)}once(e,t){o(this,c)[c].once(e,t)}}},78729:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Socket=t.SearchProvider=t.RequestClient=t.Provider=void 0;const r=n(30167);t.RequestClient=r;const i=n(31415);t.Provider=i;const o=n(67655);t.SearchProvider=o;const s=n(92797);t.Socket=s},18816:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getItem=function(e){return Promise.resolve(localStorage.getItem(e))},t.removeItem=function(e){return new Promise((t=>{localStorage.removeItem(e),t()}))},t.setItem=function(e,t){return new Promise((n=>{localStorage.setItem(e,t),n()}))}},1515:function(e,t,n){"use strict";const r=n(38052);e.exports=class{constructor(e,t){void 0===t&&(t={}),this.uppy=e,this.opts=t}getPluginState(){const{plugins:e}=this.uppy.getState();return e[this.id]||{}}setPluginState(e){const{plugins:t}=this.uppy.getState();this.uppy.setState({plugins:{...t,[this.id]:{...t[this.id],...e}}})}setOptions(e){this.opts={...this.opts,...e},this.setPluginState(),this.i18nInit()}i18nInit(){const e=new r([this.defaultLocale,this.uppy.locale,this.opts.locale]);this.i18n=e.translate.bind(e),this.i18nArray=e.translateArray.bind(e),this.setPluginState()}addTarget(){throw new Error("Extend the addTarget method to add your plugin to another plugin's target")}install(){}uninstall(){}render(){throw new Error("Extend the render method to add your plugin to a DOM element")}update(){}afterUpdate(){}}},9060:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultOptions=t.RestrictionError=t.Restricter=void 0;const r=n(39961),i=n(34752);t.defaultOptions={maxFileSize:null,minFileSize:null,maxTotalFileSize:null,maxNumberOfFiles:null,minNumberOfFiles:null,allowedFileTypes:null,requiredMetaFields:[]};class o extends Error{constructor(){super(...arguments),this.isRestriction=!0}}t.RestrictionError=o,"undefined"==typeof AggregateError&&(globalThis.AggregateError=class extends Error{constructor(e,t){super(t),this.errors=e}}),t.Restricter=class{constructor(e,t){this.i18n=t,this.getOpts=()=>{const t=e();if(null!=t.restrictions.allowedFileTypes&&!Array.isArray(t.restrictions.allowedFileTypes))throw new TypeError("`restrictions.allowedFileTypes` must be an array");return t}}validate(e,t){const{maxFileSize:n,minFileSize:s,maxTotalFileSize:a,maxNumberOfFiles:u,allowedFileTypes:l}=this.getOpts().restrictions;if(u&&t.filter((e=>!e.isGhost)).length+1>u)throw new o(`${this.i18n("youCanOnlyUploadX",{smart_count:u})}`);if(l&&!l.some((t=>t.includes("/")?!!e.type&&i(e.type.replace(/;.*?$/,""),t):!("."!==t[0]||!e.extension)&&e.extension.toLowerCase()===t.slice(1).toLowerCase()))){const e=l.join(", ");throw new o(this.i18n("youCanOnlyUploadFileTypes",{types:e}))}if(a&&null!=e.size&&t.reduce(((e,t)=>e+t.size),e.size)>a)throw new o(this.i18n("exceedsSize",{size:r(a),file:e.name}));if(n&&null!=e.size&&e.size>n)throw new o(this.i18n("exceedsSize",{size:r(n),file:e.name}));if(s&&null!=e.size&&e.size<s)throw new o(this.i18n("inferiorSize",{size:r(s)}))}validateMinNumberOfFiles(e){const{minNumberOfFiles:t}=this.getOpts().restrictions;if(Object.keys(e).length<t)throw new o(this.i18n("youHaveToAtLeastSelectX",{smart_count:t}))}getMissingRequiredMetaFields(e){const t=new o(this.i18n("missingRequiredMetaFieldOnFile",{fileName:e.name})),{requiredMetaFields:n}=this.getOpts().restrictions,r=Object.prototype.hasOwnProperty,i=[];for(const t of n)r.call(e.meta,t)&&""!==e.meta[t]||i.push(t);return{missingFields:i,error:t}}}},53164:function(e,t,n){"use strict";var r=n(33847);function i(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e}var o=0;function s(e){return"__private_"+o+++"_"+e}const a=n(41321),u=n(13836),l=n(1515);var c=s("updateUI");class f extends l{constructor(){super(...arguments),Object.defineProperty(this,c,{writable:!0,value:void 0})}mount(e,t){const n=t.id,o=a(e);if(o){this.isTargetDOMEl=!0;const t=document.createElement("div");return t.classList.add("uppy-Root"),i(this,c)[c]=function(e){let t=null,n=null;return function(){for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return n=i,t||(t=Promise.resolve().then((()=>(t=null,e(...n))))),t}}((e=>{this.uppy.getPlugin(this.id)&&((0,r.render)(this.render(e),t),this.afterUpdate())})),this.uppy.log(`Installing ${n} to a DOM element '${e}'`),this.opts.replaceTargetContent&&(o.innerHTML=""),(0,r.render)(this.render(this.uppy.getState()),t),this.el=t,o.appendChild(t),t.dir=this.opts.direction||u(t)||"ltr",this.onMount(),this.el}let s;if("object"==typeof e&&e instanceof f)s=e;else if("function"==typeof e){const t=e;this.uppy.iteratePlugins((e=>{e instanceof t&&(s=e)}))}if(s)return this.uppy.log(`Installing ${n} to ${s.id}`),this.parent=s,this.el=s.addTarget(t),this.onMount(),this.el;this.uppy.log(`Not installing ${n}`);let l=`Invalid target option given to ${n}.`;throw l+="function"==typeof e?" The given target is not a Plugin class. Please check that you're not specifying a React Component instead of a plugin. If you are using @uppy/* packages directly, make sure you have only 1 version of @uppy/core installed: run `npm ls @uppy/core` on the command line and verify that all the versions match and are deduped correctly.":"If you meant to target an HTML element, please make sure that the element exists. Check that the <script> tag initializing Uppy is right before the closing </body> tag at the end of the page. (see https://github.com/transloadit/uppy/issues/1042)\n\nIf you meant to target a plugin, please confirm that your `import` statements or `require` calls are correct.",new Error(l)}update(e){var t,n;null!=this.el&&(null==(t=(n=i(this,c))[c])||t.call(n,e))}unmount(){var e;this.isTargetDOMEl&&(null==(e=this.el)||e.remove()),this.onUnmount()}onMount(){}onUnmount(){}}e.exports=f},5024:function(e,t,n){"use strict";var r=n(38864),i=n(69526),o=n(9060);let s,a;function u(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e}var l=0;function c(e){return"__private_"+l+++"_"+e}const f=n(38052),h=n(5450),p=n(98357),d=n(65278),m=n(40573),g=n(73734),v=n(79246),y=n(17005),b=n(93398),w=n(82096);var _=c("plugins"),S=c("restricter"),x=c("storeUnsubscribe"),E=c("emitter"),k=c("preProcessors"),P=c("uploaders"),C=c("postProcessors"),O=c("informAndEmit"),T=c("checkRequiredMetaFieldsOnFile"),A=c("checkRequiredMetaFields"),F=c("assertNewUploadAllowed"),I=c("checkAndCreateFileStateObject"),R=c("startIfAutoProceed"),M=c("addListeners"),N=c("updateOnlineStatus"),L=c("createUpload"),U=c("getUpload"),D=c("removeUpload"),j=c("runUpload");s=Symbol.for("uppy test: getPlugins"),a=Symbol.for("uppy test: createUpload");class B{constructor(e){Object.defineProperty(this,j,{value:X}),Object.defineProperty(this,D,{value:Y}),Object.defineProperty(this,U,{value:K}),Object.defineProperty(this,L,{value:Z}),Object.defineProperty(this,M,{value:G}),Object.defineProperty(this,R,{value:W}),Object.defineProperty(this,I,{value:q}),Object.defineProperty(this,F,{value:V}),Object.defineProperty(this,A,{value:$}),Object.defineProperty(this,T,{value:H}),Object.defineProperty(this,O,{value:z}),Object.defineProperty(this,_,{writable:!0,value:Object.create(null)}),Object.defineProperty(this,S,{writable:!0,value:void 0}),Object.defineProperty(this,x,{writable:!0,value:void 0}),Object.defineProperty(this,E,{writable:!0,value:h()}),Object.defineProperty(this,k,{writable:!0,value:new Set}),Object.defineProperty(this,P,{writable:!0,value:new Set}),Object.defineProperty(this,C,{writable:!0,value:new Set}),Object.defineProperty(this,N,{writable:!0,value:this.updateOnlineStatus.bind(this)}),this.defaultLocale=w;const t={id:"uppy",autoProceed:!1,allowMultipleUploads:!0,allowMultipleUploadBatches:!0,debug:!1,restrictions:o.defaultOptions,meta:{},onBeforeFileAdded:e=>e,onBeforeUpload:e=>e,store:d(),logger:i.justErrorsLogger,infoTimeout:5e3};this.opts={...t,...e,restrictions:{...t.restrictions,...e&&e.restrictions}},e&&e.logger&&e.debug?this.log("You are using a custom `logger`, but also set `debug: true`, which uses built-in logger to output logs to console. Ignoring `debug: true` and using your custom `logger`.","warning"):e&&e.debug&&(this.opts.logger=i.debugLogger),this.log(`Using Core v${this.constructor.VERSION}`),this.i18nInit(),this.calculateProgress=p(this.calculateProgress.bind(this),500,{leading:!0,trailing:!0}),this.store=this.opts.store,this.setState({plugins:{},files:{},currentUploads:{},allowNewUpload:!0,capabilities:{uploadProgress:y(),individualCancellation:!0,resumableUploads:!1},totalProgress:0,meta:{...this.opts.meta},info:[],recoveredState:null}),u(this,S)[S]=new o.Restricter((()=>this.opts),this.i18n),u(this,x)[x]=this.store.subscribe(((e,t,n)=>{this.emit("state-update",e,t,n),this.updateAll(t)})),this.opts.debug&&"undefined"!=typeof window&&(window[this.opts.id]=this),u(this,M)[M]()}emit(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];u(this,E)[E].emit(e,...n)}on(e,t){return u(this,E)[E].on(e,t),this}once(e,t){return u(this,E)[E].once(e,t),this}off(e,t){return u(this,E)[E].off(e,t),this}updateAll(e){this.iteratePlugins((t=>{t.update(e)}))}setState(e){this.store.setState(e)}getState(){return this.store.getState()}get state(){return this.getState()}setFileState(e,t){if(!this.getState().files[e])throw new Error(`Can’t set state for ${e} (the file could have been removed)`);this.setState({files:{...this.getState().files,[e]:{...this.getState().files[e],...t}}})}i18nInit(){const e=new f([this.defaultLocale,this.opts.locale]);this.i18n=e.translate.bind(e),this.i18nArray=e.translateArray.bind(e),this.locale=e.locale}setOptions(e){this.opts={...this.opts,...e,restrictions:{...this.opts.restrictions,...e&&e.restrictions}},e.meta&&this.setMeta(e.meta),this.i18nInit(),e.locale&&this.iteratePlugins((e=>{e.setOptions()})),this.setState()}resetProgress(){const e={percentage:0,bytesUploaded:0,uploadComplete:!1,uploadStarted:null},t={...this.getState().files},n={};Object.keys(t).forEach((r=>{const i={...t[r]};i.progress={...i.progress,...e},n[r]=i})),this.setState({files:n,totalProgress:0}),this.emit("reset-progress")}addPreProcessor(e){u(this,k)[k].add(e)}removePreProcessor(e){return u(this,k)[k].delete(e)}addPostProcessor(e){u(this,C)[C].add(e)}removePostProcessor(e){return u(this,C)[C].delete(e)}addUploader(e){u(this,P)[P].add(e)}removeUploader(e){return u(this,P)[P].delete(e)}setMeta(e){const t={...this.getState().meta,...e},n={...this.getState().files};Object.keys(n).forEach((t=>{n[t]={...n[t],meta:{...n[t].meta,...e}}})),this.log("Adding metadata:"),this.log(e),this.setState({meta:t,files:n})}setFileMeta(e,t){const n={...this.getState().files};if(!n[e])return void this.log("Was trying to set metadata for a file that has been removed: ",e);const r={...n[e].meta,...t};n[e]={...n[e],meta:r},this.setState({files:n})}getFile(e){return this.getState().files[e]}getFiles(){const{files:e}=this.getState();return Object.values(e)}getObjectOfFilesPerState(){const{files:e,totalProgress:t,error:n}=this.getState(),r=Object.values(e),i=r.filter((e=>{let{progress:t}=e;return!t.uploadComplete&&t.uploadStarted})),o=r.filter((e=>!e.progress.uploadStarted)),s=r.filter((e=>e.progress.uploadStarted||e.progress.preprocess||e.progress.postprocess)),a=r.filter((e=>e.progress.uploadStarted)),u=r.filter((e=>e.isPaused)),l=r.filter((e=>e.progress.uploadComplete)),c=r.filter((e=>e.error)),f=i.filter((e=>!e.isPaused)),h=r.filter((e=>e.progress.preprocess||e.progress.postprocess));return{newFiles:o,startedFiles:s,uploadStartedFiles:a,pausedFiles:u,completeFiles:l,erroredFiles:c,inProgressFiles:i,inProgressNotPausedFiles:f,processingFiles:h,isUploadStarted:a.length>0,isAllComplete:100===t&&l.length===r.length&&0===h.length,isAllErrored:!!n&&c.length===r.length,isAllPaused:0!==i.length&&u.length===i.length,isUploadInProgress:i.length>0,isSomeGhost:r.some((e=>e.isGhost))}}validateRestrictions(e,t){void 0===t&&(t=this.getFiles());try{return u(this,S)[S].validate(e,t),{result:!0}}catch(e){return{result:!1,reason:e.message}}}checkIfFileAlreadyExists(e){const{files:t}=this.getState();return!(!t[e]||t[e].isGhost)}addFile(e){u(this,F)[F](e);const{files:t}=this.getState();let n=u(this,I)[I](t,e);return t[n.id]&&t[n.id].isGhost&&(n={...t[n.id],data:e.data,isGhost:!1},this.log(`Replaced the blob in the restored ghost file: ${n.name}, ${n.id}`)),this.setState({files:{...t,[n.id]:n}}),this.emit("file-added",n),this.emit("files-added",[n]),this.log(`Added file: ${n.name}, ${n.id}, mime type: ${n.type}`),u(this,R)[R](),n.id}addFiles(e){u(this,F)[F]();const t={...this.getState().files},n=[],r=[];for(let i=0;i<e.length;i++)try{let r=u(this,I)[I](t,e[i]);t[r.id]&&t[r.id].isGhost&&(r={...t[r.id],data:e[i].data,isGhost:!1},this.log(`Replaced blob in a ghost file: ${r.name}, ${r.id}`)),t[r.id]=r,n.push(r)}catch(e){e.isRestriction||r.push(e)}if(this.setState({files:t}),n.forEach((e=>{this.emit("file-added",e)})),this.emit("files-added",n),n.length>5?this.log(`Added batch of ${n.length} files`):Object.keys(n).forEach((e=>{this.log(`Added file: ${n[e].name}\n id: ${n[e].id}\n type: ${n[e].type}`)})),n.length>0&&u(this,R)[R](),r.length>0){let e="Multiple errors occurred while adding files:\n";if(r.forEach((t=>{e+=`\n * ${t.message}`})),this.info({message:this.i18n("addBulkFilesFailed",{smart_count:r.length}),details:e},"error",this.opts.infoTimeout),"function"==typeof AggregateError)throw new AggregateError(r,e);{const t=new Error(e);throw t.errors=r,t}}}removeFiles(e,t){const{files:n,currentUploads:r}=this.getState(),i={...n},o={...r},s=Object.create(null);function a(e){return void 0===s[e]}e.forEach((e=>{n[e]&&(s[e]=n[e],delete i[e])})),Object.keys(o).forEach((e=>{const t=r[e].fileIDs.filter(a);if(0===t.length)return void delete o[e];const{capabilities:n}=this.getState();if(t.length!==r[e].fileIDs.length&&!n.individualCancellation)throw new Error("individualCancellation is disabled");o[e]={...r[e],fileIDs:t}}));const u={currentUploads:o,files:i};0===Object.keys(i).length&&(u.allowNewUpload=!0,u.error=null,u.recoveredState=null),this.setState(u),this.calculateTotalProgress();const l=Object.keys(s);l.forEach((e=>{this.emit("file-removed",s[e],t)})),l.length>5?this.log(`Removed ${l.length} files`):this.log(`Removed files: ${l.join(", ")}`)}removeFile(e,t){void 0===t&&(t=null),this.removeFiles([e],t)}pauseResume(e){if(!this.getState().capabilities.resumableUploads||this.getFile(e).uploadComplete)return;const t=!this.getFile(e).isPaused;return this.setFileState(e,{isPaused:t}),this.emit("upload-pause",e,t),t}pauseAll(){const e={...this.getState().files};Object.keys(e).filter((t=>!e[t].progress.uploadComplete&&e[t].progress.uploadStarted)).forEach((t=>{const n={...e[t],isPaused:!0};e[t]=n})),this.setState({files:e}),this.emit("pause-all")}resumeAll(){const e={...this.getState().files};Object.keys(e).filter((t=>!e[t].progress.uploadComplete&&e[t].progress.uploadStarted)).forEach((t=>{const n={...e[t],isPaused:!1,error:null};e[t]=n})),this.setState({files:e}),this.emit("resume-all")}retryAll(){const e={...this.getState().files},t=Object.keys(e).filter((t=>e[t].error));if(t.forEach((t=>{const n={...e[t],isPaused:!1,error:null};e[t]=n})),this.setState({files:e,error:null}),this.emit("retry-all",t),0===t.length)return Promise.resolve({successful:[],failed:[]});const n=u(this,L)[L](t,{forceAllowNewUpload:!0});return u(this,j)[j](n)}cancelAll(e){let{reason:t="user"}=void 0===e?{}:e;if(this.emit("cancel-all",{reason:t}),"user"===t){const{files:e}=this.getState(),t=Object.keys(e);t.length&&this.removeFiles(t,"cancel-all"),this.setState({totalProgress:0,error:null,recoveredState:null})}}retryUpload(e){this.setFileState(e,{error:null,isPaused:!1}),this.emit("upload-retry",e);const t=u(this,L)[L]([e],{forceAllowNewUpload:!0});return u(this,j)[j](t)}reset(){this.cancelAll(...arguments)}logout(){this.iteratePlugins((e=>{e.provider&&e.provider.logout&&e.provider.logout()}))}calculateProgress(e,t){if(null==e||!this.getFile(e.id))return void this.log(`Not setting progress for a file that has been removed: ${null==e?void 0:e.id}`);const n=Number.isFinite(t.bytesTotal)&&t.bytesTotal>0;this.setFileState(e.id,{progress:{...this.getFile(e.id).progress,bytesUploaded:t.bytesUploaded,bytesTotal:t.bytesTotal,percentage:n?Math.round(t.bytesUploaded/t.bytesTotal*100):0}}),this.calculateTotalProgress()}calculateTotalProgress(){const e=this.getFiles().filter((e=>e.progress.uploadStarted||e.progress.preprocess||e.progress.postprocess));if(0===e.length)return this.emit("progress",0),void this.setState({totalProgress:0});const t=e.filter((e=>null!=e.progress.bytesTotal)),n=e.filter((e=>null==e.progress.bytesTotal));if(0===t.length){const t=100*e.length,r=n.reduce(((e,t)=>e+t.progress.percentage),0),i=Math.round(r/t*100);return void this.setState({totalProgress:i})}let r=t.reduce(((e,t)=>e+t.progress.bytesTotal),0);const i=r/t.length;r+=i*n.length;let o=0;t.forEach((e=>{o+=e.progress.bytesUploaded})),n.forEach((e=>{o+=i*(e.progress.percentage||0)/100}));let s=0===r?0:Math.round(o/r*100);s>100&&(s=100),this.setState({totalProgress:s}),this.emit("progress",s)}updateOnlineStatus(){void 0===window.navigator.onLine||window.navigator.onLine?(this.emit("is-online"),this.wasOffline&&(this.emit("back-online"),this.info(this.i18n("connectedToInternet"),"success",3e3),this.wasOffline=!1)):(this.emit("is-offline"),this.info(this.i18n("noInternetConnection"),"error",0),this.wasOffline=!0)}getID(){return this.opts.id}use(e,t){if("function"!=typeof e)throw new TypeError(`Expected a plugin class, but got ${null===e?"null":typeof e}. Please verify that the plugin was imported and spelled correctly.`);const n=new e(this,t),r=n.id;if(!r)throw new Error("Your plugin must have an id");if(!n.type)throw new Error("Your plugin must have a type");const i=this.getPlugin(r);if(i){const e=`Already found a plugin named '${i.id}'. Tried to use: '${r}'.\nUppy plugins must have unique \`id\` options. See https://uppy.io/docs/plugins/#id.`;throw new Error(e)}return e.VERSION&&this.log(`Using ${r} v${e.VERSION}`),n.type in u(this,_)[_]?u(this,_)[_][n.type].push(n):u(this,_)[_][n.type]=[n],n.install(),this}getPlugin(e){for(const t of Object.values(u(this,_)[_])){const n=t.find((t=>t.id===e));if(null!=n)return n}}[s](e){return u(this,_)[_][e]}iteratePlugins(e){Object.values(u(this,_)[_]).flat(1).forEach(e)}removePlugin(e){this.log(`Removing plugin ${e.id}`),this.emit("plugin-remove",e),e.uninstall&&e.uninstall();const t=u(this,_)[_][e.type],n=t.findIndex((t=>t.id===e.id));-1!==n&&t.splice(n,1);const r={plugins:{...this.getState().plugins,[e.id]:void 0}};this.setState(r)}close(e){let{reason:t}=void 0===e?{}:e;this.log(`Closing Uppy instance ${this.opts.id}: removing all files and uninstalling plugins`),this.cancelAll({reason:t}),u(this,x)[x](),this.iteratePlugins((e=>{this.removePlugin(e)})),"undefined"!=typeof window&&window.removeEventListener&&(window.removeEventListener("online",u(this,N)[N]),window.removeEventListener("offline",u(this,N)[N]))}hideInfo(){const{info:e}=this.getState();this.setState({info:e.slice(1)}),this.emit("info-hidden")}info(e,t,n){void 0===t&&(t="info"),void 0===n&&(n=3e3);const r="object"==typeof e;this.setState({info:[...this.getState().info,{type:t,message:r?e.message:e,details:r?e.details:null}]}),setTimeout((()=>this.hideInfo()),n),this.emit("info-visible")}log(e,t){const{logger:n}=this.opts;switch(t){case"error":n.error(e);break;case"warning":n.warn(e);break;default:n.debug(e)}}restore(e){return this.log(`Core: attempting to restore upload "${e}"`),this.getState().currentUploads[e]?u(this,j)[j](e):(u(this,D)[D](e),Promise.reject(new Error("Nonexistent upload")))}[a](){return u(this,L)[L](...arguments)}addResultData(e,t){if(!u(this,U)[U](e))return void this.log(`Not setting result for an upload that has been removed: ${e}`);const{currentUploads:n}=this.getState(),r={...n[e],result:{...n[e].result,...t}};this.setState({currentUploads:{...n,[e]:r}})}upload(){var e;null!=(e=u(this,_)[_].uploader)&&e.length||this.log("No uploader type plugins are used","warning");let{files:t}=this.getState();const n=this.opts.onBeforeUpload(t);return!1===n?Promise.reject(new Error("Not starting the upload because onBeforeUpload returned false")):(n&&"object"==typeof n&&(t=n,this.setState({files:t})),Promise.resolve().then((()=>u(this,S)[S].validateMinNumberOfFiles(t))).catch((e=>{throw u(this,O)[O](e),e})).then((()=>{if(!u(this,A)[A](t))throw new o.RestrictionError(this.i18n("missingRequiredMetaField"))})).catch((e=>{throw e})).then((()=>{const{currentUploads:e}=this.getState(),n=Object.values(e).flatMap((e=>e.fileIDs)),r=[];Object.keys(t).forEach((e=>{const t=this.getFile(e);t.progress.uploadStarted||-1!==n.indexOf(e)||r.push(t.id)}));const i=u(this,L)[L](r);return u(this,j)[j](i)})).catch((e=>{throw this.emit("error",e),this.log(e,"error"),e})))}}function z(e,t){const{message:n,details:r=""}=e;e.isRestriction?this.emit("restriction-failed",t,e):this.emit("error",e),this.info({message:n,details:r},"error",this.opts.infoTimeout),this.log(`${n} ${r}`.trim(),"error")}function H(e){const{missingFields:t,error:n}=u(this,S)[S].getMissingRequiredMetaFields(e);return!(t.length>0&&(this.setFileState(e.id,{missingRequiredMetaFields:t}),this.log(n.message),this.emit("restriction-failed",e,n),1))}function $(e){let t=!0;for(const n of Object.values(e))u(this,T)[T](n)||(t=!1);return t}function V(e){const{allowNewUpload:t}=this.getState();if(!1===t){const t=new o.RestrictionError(this.i18n("noMoreFilesAllowed"));throw u(this,O)[O](t,e),t}}function q(e,t){const n=m(t),r=b(n,t),i=g(r).extension,s=Boolean(t.isRemote),a=v({...t,type:n});if(this.checkIfFileAlreadyExists(a)){const e=new o.RestrictionError(this.i18n("noDuplicates",{fileName:r}));throw u(this,O)[O](e,t),e}const l=t.meta||{};l.name=r,l.type=n;const c=Number.isFinite(t.data.size)?t.data.size:null;let f={source:t.source||"",id:a,name:r,extension:i||"",meta:{...this.getState().meta,...l},type:n,data:t.data,progress:{percentage:0,bytesUploaded:0,bytesTotal:c,uploadComplete:!1,uploadStarted:null},size:c,isRemote:s,remote:t.remote||"",preview:t.preview};const h=this.opts.onBeforeFileAdded(f,e);if(!1===h){const e=new o.RestrictionError("Cannot add the file because onBeforeFileAdded returned false.");throw this.emit("restriction-failed",t,e),e}"object"==typeof h&&null!==h&&(f=h);try{const t=Object.keys(e).map((t=>e[t]));u(this,S)[S].validate(f,t)}catch(e){throw u(this,O)[O](e,f),e}return f}function W(){this.opts.autoProceed&&!this.scheduledAutoProceed&&(this.scheduledAutoProceed=setTimeout((()=>{this.scheduledAutoProceed=null,this.upload().catch((e=>{e.isRestriction||this.log(e.stack||e.message||e)}))}),4))}function G(){const e=(e,t,n)=>{let r=e.message||"Unknown error";e.details&&(r+=` ${e.details}`),this.setState({error:r}),null!=t&&t.id in this.getState().files&&this.setFileState(t.id,{error:r,response:n})};this.on("error",e),this.on("upload-error",((t,n,r)=>{if(e(n,t,r),"object"==typeof n&&n.message){const e=new Error(n.message);e.details=n.message,n.details&&(e.details+=` ${n.details}`),e.message=this.i18n("failedToUpload",{file:null==t?void 0:t.name}),u(this,O)[O](e)}else u(this,O)[O](n)})),this.on("upload",(()=>{this.setState({error:null})})),this.on("upload-started",(e=>{null!=e&&this.getFile(e.id)?this.setFileState(e.id,{progress:{uploadStarted:Date.now(),uploadComplete:!1,percentage:0,bytesUploaded:0,bytesTotal:e.size}}):this.log(`Not setting progress for a file that has been removed: ${null==e?void 0:e.id}`)})),this.on("upload-progress",this.calculateProgress),this.on("upload-success",((e,t)=>{if(null==e||!this.getFile(e.id))return void this.log(`Not setting progress for a file that has been removed: ${null==e?void 0:e.id}`);const n=this.getFile(e.id).progress;this.setFileState(e.id,{progress:{...n,postprocess:u(this,C)[C].size>0?{mode:"indeterminate"}:null,uploadComplete:!0,percentage:100,bytesUploaded:n.bytesTotal},response:t,uploadURL:t.uploadURL,isPaused:!1}),null==e.size&&this.setFileState(e.id,{size:t.bytesUploaded||n.bytesTotal}),this.calculateTotalProgress()})),this.on("preprocess-progress",((e,t)=>{null!=e&&this.getFile(e.id)?this.setFileState(e.id,{progress:{...this.getFile(e.id).progress,preprocess:t}}):this.log(`Not setting progress for a file that has been removed: ${null==e?void 0:e.id}`)})),this.on("preprocess-complete",(e=>{if(null==e||!this.getFile(e.id))return void this.log(`Not setting progress for a file that has been removed: ${null==e?void 0:e.id}`);const t={...this.getState().files};t[e.id]={...t[e.id],progress:{...t[e.id].progress}},delete t[e.id].progress.preprocess,this.setState({files:t})})),this.on("postprocess-progress",((e,t)=>{null!=e&&this.getFile(e.id)?this.setFileState(e.id,{progress:{...this.getState().files[e.id].progress,postprocess:t}}):this.log(`Not setting progress for a file that has been removed: ${null==e?void 0:e.id}`)})),this.on("postprocess-complete",(e=>{if(null==e||!this.getFile(e.id))return void this.log(`Not setting progress for a file that has been removed: ${null==e?void 0:e.id}`);const t={...this.getState().files};t[e.id]={...t[e.id],progress:{...t[e.id].progress}},delete t[e.id].progress.postprocess,this.setState({files:t})})),this.on("restored",(()=>{this.calculateTotalProgress()})),this.on("dashboard:file-edit-complete",(e=>{e&&u(this,T)[T](e)})),"undefined"!=typeof window&&window.addEventListener&&(window.addEventListener("online",u(this,N)[N]),window.addEventListener("offline",u(this,N)[N]),setTimeout(u(this,N)[N],3e3))}function Z(e,t){void 0===t&&(t={});const{forceAllowNewUpload:n=!1}=t,{allowNewUpload:i,currentUploads:o}=this.getState();if(!i&&!n)throw new Error("Cannot create a new upload: already uploading.");const s=(0,r.nanoid)();return this.emit("upload",{id:s,fileIDs:e}),this.setState({allowNewUpload:!1!==this.opts.allowMultipleUploadBatches&&!1!==this.opts.allowMultipleUploads,currentUploads:{...o,[s]:{fileIDs:e,step:0,result:{}}}}),s}function K(e){const{currentUploads:t}=this.getState();return t[e]}function Y(e){const t={...this.getState().currentUploads};delete t[e],this.setState({currentUploads:t})}async function X(e){let{currentUploads:t}=this.getState(),n=t[e];const r=n.step||0,i=[...u(this,k)[k],...u(this,P)[P],...u(this,C)[C]];try{for(let o=r;o<i.length&&n;o++){const r=i[o],s={...n,step:o};this.setState({currentUploads:{...t,[e]:s}}),await r(s.fileIDs,e),t=this.getState().currentUploads,n=t[e]}}catch(t){throw u(this,D)[D](e),t}if(n){n.fileIDs.forEach((e=>{const t=this.getFile(e);t&&t.progress.postprocess&&this.emit("postprocess-complete",t)}));const r=n.fileIDs.map((e=>this.getFile(e))),i=r.filter((e=>!e.error)),o=r.filter((e=>e.error));await this.addResultData(e,{successful:i,failed:o,uploadID:e}),t=this.getState().currentUploads,n=t[e]}let o;return n&&(o=n.result,this.emit("complete",o),u(this,D)[D](e)),null==o&&this.log(`Not setting result for an upload that has been removed: ${e}`),o}B.VERSION="2.3.4",e.exports=B},93398:function(e){"use strict";e.exports=function(e,t){return t.name?t.name:"image"===e.split("/")[0]?`${e.split("/")[0]}.${e.split("/")[1]}`:"noname"}},42127:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Uppy=t.UIPlugin=t.BasePlugin=void 0,Object.defineProperty(t,"debugLogger",{enumerable:!0,get:function(){return r.debugLogger}});var r=n(69526);e.exports=n(5024);const i=n(53164);t.UIPlugin=i;const o=n(1515);t.BasePlugin=o;const s=n(5024);t.Uppy=s;const a=n(53164),u=n(1515);s.Uppy=s,s.UIPlugin=a,s.BasePlugin=u,s.debugLogger=r.debugLogger},82096:function(e){"use strict";e.exports={strings:{addBulkFilesFailed:{0:"Failed to add %{smart_count} file due to an internal error",1:"Failed to add %{smart_count} files due to internal errors"},youCanOnlyUploadX:{0:"You can only upload %{smart_count} file",1:"You can only upload %{smart_count} files"},youHaveToAtLeastSelectX:{0:"You have to select at least %{smart_count} file",1:"You have to select at least %{smart_count} files"},exceedsSize:"%{file} exceeds maximum allowed size of %{size}",missingRequiredMetaField:"Missing required meta fields",missingRequiredMetaFieldOnFile:"Missing required meta fields in %{fileName}",inferiorSize:"This file is smaller than the allowed size of %{size}",youCanOnlyUploadFileTypes:"You can only upload: %{types}",noMoreFilesAllowed:"Cannot add more files",noDuplicates:"Cannot add the duplicate file '%{fileName}', it already exists",companionError:"Connection with Companion failed",authAborted:"Authentication aborted",companionUnauthorizeHint:"To unauthorize to your %{provider} account, please go to %{url}",failedToUpload:"Failed to upload %{file}",noInternetConnection:"No Internet connection",connectedToInternet:"Connected to the Internet",noFilesFound:"You have no files or folders here",selectX:{0:"Select %{smart_count}",1:"Select %{smart_count}"},allFilesFromFolderNamed:"All files from folder %{name}",openFolderNamed:"Open folder %{name}",cancel:"Cancel",logOut:"Log out",filter:"Filter",resetFilter:"Reset filter",loading:"Loading...",authenticateWithTitle:"Please authenticate with %{pluginName} to select files",authenticateWith:"Connect to %{pluginName}",signInWithGoogle:"Sign in with Google",searchImages:"Search for images",enterTextToSearch:"Enter text to search for images",search:"Search",emptyFolderAdded:"No files were added from empty folder",folderAlreadyAdded:'The folder "%{folder}" was already added',folderAdded:{0:"Added %{smart_count} file from %{folder}",1:"Added %{smart_count} files from %{folder}"}}}},69526:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.justErrorsLogger=t.debugLogger=void 0;const r=n(96742),i={debug:()=>{},warn:()=>{},error:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return console.error(`[Uppy] [${r()}]`,...t)}};t.justErrorsLogger=i;const o={debug:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return console.debug(`[Uppy] [${r()}]`,...t)},warn:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return console.warn(`[Uppy] [${r()}]`,...t)},error:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return console.error(`[Uppy] [${r()}]`,...t)}};t.debugLogger=o},17005:function(e){"use strict";e.exports=function(e){if(null==e&&"undefined"!=typeof navigator&&(e=navigator.userAgent),!e)return!0;const t=/Edge\/(\d+\.\d+)/.exec(e);if(!t)return!0;const n=t[1];let[r,i]=n.split(".");return r=parseInt(r,10),i=parseInt(i,10),r<15||15===r&&i<15063||r>18||18===r&&i>=18218}},31660:function(e,t,n){"use strict";var r=n(33847),i=n(42127),o=n(38864),s=n(61330);function a(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e}var u=0;function l(e){return"__private_"+u+++"_"+e}const c=n(19671),f=n(67369),h=n(44578),p=n(75565),d=n(1886),m=n(13764),g=n(36631),v=n(20872),y=n(42748),b=n(3560),w=n(27600),_=g.default||g;function S(){const e={};return e.promise=new Promise(((t,n)=>{e.resolve=t,e.reject=n})),e}function x(){return(0,r.h)("svg",{"aria-hidden":"true",focusable:"false",width:"30",height:"30",viewBox:"0 0 30 30"},(0,r.h)("path",{d:"M15 30c8.284 0 15-6.716 15-15 0-8.284-6.716-15-15-15C6.716 0 0 6.716 0 15c0 8.284 6.716 15 15 15zm4.258-12.676v6.846h-8.426v-6.846H5.204l9.82-12.364 9.82 12.364H19.26z"}))}var E=l("openFileEditorWhenFilesAdded"),k=l("attachRenderFunctionToTarget"),P=l("isTargetSupported"),C=l("getAcquirers"),O=l("getProgressIndicators"),T=l("getEditors");class A extends i.UIPlugin{constructor(e,t){var n;super(e,t),n=this,this.removeTarget=e=>{const t=this.getPluginState().targets.filter((t=>t.id!==e.id));this.setPluginState({targets:t})},this.addTarget=e=>{const t=e.id||e.constructor.name,n=e.title||t,r=e.type;if("acquirer"!==r&&"progressindicator"!==r&&"editor"!==r){const e="Dashboard: can only be targeted by plugins of types: acquirer, progressindicator, editor";return void this.uppy.log(e,"error")}const i={id:t,name:n,type:r},o=this.getPluginState().targets.slice();return o.push(i),this.setPluginState({targets:o}),this.el},this.hideAllPanels=()=>{const e=this.getPluginState(),t={activePickerPanel:!1,showAddFilesPanel:!1,activeOverlayType:null,fileCardFor:null,showFileEditor:!1};e.activePickerPanel===t.activePickerPanel&&e.showAddFilesPanel===t.showAddFilesPanel&&e.showFileEditor===t.showFileEditor&&e.activeOverlayType===t.activeOverlayType||this.setPluginState(t)},this.showPanel=e=>{const{targets:t}=this.getPluginState(),n=t.filter((t=>"acquirer"===t.type&&t.id===e))[0];this.setPluginState({activePickerPanel:n,activeOverlayType:"PickerPanel"})},this.canEditFile=e=>{const{targets:t}=this.getPluginState();return a(this,T)[T](t).some((t=>this.uppy.getPlugin(t.id).canEditFile(e)))},this.openFileEditor=e=>{const{targets:t}=this.getPluginState(),n=a(this,T)[T](t);this.setPluginState({showFileEditor:!0,fileCardFor:e.id||null,activeOverlayType:"FileEditor"}),n.forEach((t=>{this.uppy.getPlugin(t.id).selectFile(e)}))},this.saveFileEditor=()=>{const{targets:e}=this.getPluginState();a(this,T)[T](e).forEach((e=>{this.uppy.getPlugin(e.id).save()})),this.hideAllPanels()},this.openModal=()=>{const{promise:e,resolve:t}=S();if(this.savedScrollPosition=window.pageYOffset,this.savedActiveElement=document.activeElement,this.opts.disablePageScrollWhenModalOpen&&document.body.classList.add("uppy-Dashboard-isFixed"),this.opts.animateOpenClose&&this.getPluginState().isClosing){const e=()=>{this.setPluginState({isHidden:!1}),this.el.removeEventListener("animationend",e,!1),t()};this.el.addEventListener("animationend",e,!1)}else this.setPluginState({isHidden:!1}),t();return this.opts.browserBackButtonClose&&this.updateBrowserHistory(),document.addEventListener("keydown",this.handleKeyDownInModal),this.uppy.emit("dashboard:modal-open"),e},this.closeModal=function(e){void 0===e&&(e={});const{manualClose:t=!0}=e,{isHidden:r,isClosing:i}=n.getPluginState();if(r||i)return;const{promise:o,resolve:s}=S();if(n.opts.disablePageScrollWhenModalOpen&&document.body.classList.remove("uppy-Dashboard-isFixed"),n.opts.animateOpenClose){n.setPluginState({isClosing:!0});const e=()=>{n.setPluginState({isHidden:!0,isClosing:!1}),n.superFocus.cancel(),n.savedActiveElement.focus(),n.el.removeEventListener("animationend",e,!1),s()};n.el.addEventListener("animationend",e,!1)}else n.setPluginState({isHidden:!0}),n.superFocus.cancel(),n.savedActiveElement.focus(),s();var a;return document.removeEventListener("keydown",n.handleKeyDownInModal),t&&n.opts.browserBackButtonClose&&null!=(a=history.state)&&a[n.modalName]&&history.back(),n.uppy.emit("dashboard:modal-closed"),o},this.isModalOpen=()=>!this.getPluginState().isHidden||!1,this.requestCloseModal=()=>this.opts.onRequestCloseModal?this.opts.onRequestCloseModal():this.closeModal(),this.setDarkModeCapability=e=>{const{capabilities:t}=this.uppy.getState();this.uppy.setState({capabilities:{...t,darkMode:e}})},this.handleSystemDarkModeChange=e=>{const t=e.matches;this.uppy.log("[Dashboard] Dark mode is "+(t?"on":"off")),this.setDarkModeCapability(t)},this.toggleFileCard=(e,t)=>{const n=this.uppy.getFile(t);e?this.uppy.emit("dashboard:file-edit-start",n):this.uppy.emit("dashboard:file-edit-complete",n),this.setPluginState({fileCardFor:e?t:null,activeOverlayType:e?"FileCard":null})},this.toggleAddFilesPanel=e=>{this.setPluginState({showAddFilesPanel:e,activeOverlayType:e?"AddFiles":null})},this.addFiles=e=>{const t=e.map((e=>({source:this.id,name:e.name,type:e.type,data:e,meta:{relativePath:e.relativePath||e.webkitRelativePath||null}})));try{this.uppy.addFiles(t)}catch(e){this.uppy.log(e)}},this.startListeningToResize=()=>{this.resizeObserver=new ResizeObserver((e=>{const t=e[0],{width:n,height:r}=t.contentRect;this.uppy.log(`[Dashboard] resized: ${n} / ${r}`,"debug"),this.setPluginState({containerWidth:n,containerHeight:r,areInsidesReadyToBeVisible:!0})})),this.resizeObserver.observe(this.el.querySelector(".uppy-Dashboard-inner")),this.makeDashboardInsidesVisibleAnywayTimeout=setTimeout((()=>{const e=this.getPluginState(),t=!this.opts.inline&&e.isHidden;e.areInsidesReadyToBeVisible||t||(this.uppy.log("[Dashboard] resize event didn't fire on time: defaulted to mobile layout","debug"),this.setPluginState({areInsidesReadyToBeVisible:!0}))}),1e3)},this.stopListeningToResize=()=>{this.resizeObserver.disconnect(),clearTimeout(this.makeDashboardInsidesVisibleAnywayTimeout)},this.recordIfFocusedOnUppyRecently=e=>{this.el.contains(e.target)?this.ifFocusedOnUppyRecently=!0:(this.ifFocusedOnUppyRecently=!1,this.superFocus.cancel())},this.disableAllFocusableElements=e=>{const t=d(this.el.querySelectorAll(v));e?t.forEach((e=>{const t=e.getAttribute("tabindex");t&&(e.dataset.inertTabindex=t),e.setAttribute("tabindex","-1")})):t.forEach((e=>{"inertTabindex"in e.dataset?e.setAttribute("tabindex",e.dataset.inertTabindex):e.removeAttribute("tabindex")})),this.dashboardIsDisabled=e},this.updateBrowserHistory=()=>{var e;null!=(e=history.state)&&e[this.modalName]||history.pushState({...history.state,[this.modalName]:!0},""),window.addEventListener("popstate",this.handlePopState,!1)},this.handlePopState=e=>{var t;!this.isModalOpen()||e.state&&e.state[this.modalName]||this.closeModal({manualClose:!1}),!this.isModalOpen()&&null!=(t=e.state)&&t[this.modalName]&&history.back()},this.handleKeyDownInModal=e=>{27===e.keyCode&&this.requestCloseModal(e),9===e.keyCode&&s.forModal(e,this.getPluginState().activeOverlayType,this.el)},this.handleClickOutside=()=>{this.opts.closeModalOnClickOutside&&this.requestCloseModal()},this.handlePaste=e=>{this.uppy.iteratePlugins((t=>{"acquirer"===t.type&&(null==t.handleRootPaste||t.handleRootPaste(e))}));const t=d(e.clipboardData.files);t.length>0&&(this.uppy.log("[Dashboard] Files pasted"),this.addFiles(t))},this.handleInputChange=e=>{e.preventDefault();const t=d(e.target.files);t.length>0&&(this.uppy.log("[Dashboard] Files selected through input"),this.addFiles(t))},this.handleDragOver=e=>{var t,n;e.preventDefault(),e.stopPropagation();const r=(()=>{let t=!0;return this.uppy.iteratePlugins((n=>{null!=n.canHandleRootDrop&&n.canHandleRootDrop(e)&&(t=!0)})),t})(),i=(()=>{const{types:t}=e.dataTransfer;return t.some((e=>"Files"===e))})();if(!r&&!i||this.opts.disabled||this.opts.disableLocalFiles&&(i||!r)||!this.uppy.getState().allowNewUpload)return e.dataTransfer.dropEffect="none",void clearTimeout(this.removeDragOverClassTimeout);e.dataTransfer.dropEffect="copy",clearTimeout(this.removeDragOverClassTimeout),this.setPluginState({isDraggingOver:!0}),null==(t=(n=this.opts).onDragOver)||t.call(n,e)},this.handleDragLeave=e=>{var t,n;e.preventDefault(),e.stopPropagation(),clearTimeout(this.removeDragOverClassTimeout),this.removeDragOverClassTimeout=setTimeout((()=>{this.setPluginState({isDraggingOver:!1})}),50),null==(t=(n=this.opts).onDragLeave)||t.call(n,e)},this.handleDrop=async e=>{var t,n;e.preventDefault(),e.stopPropagation(),clearTimeout(this.removeDragOverClassTimeout),this.setPluginState({isDraggingOver:!1}),this.uppy.iteratePlugins((t=>{"acquirer"===t.type&&(null==t.handleRootDrop||t.handleRootDrop(e))}));let r=!1;const i=await m(e.dataTransfer,{logDropError:e=>{this.uppy.log(e,"error"),r||(this.uppy.info(e.message,"error"),r=!0)}});i.length>0&&(this.uppy.log("[Dashboard] Files dropped"),this.addFiles(i)),null==(t=(n=this.opts).onDrop)||t.call(n,e)},this.handleRequestThumbnail=e=>{this.opts.waitForThumbnailsBeforeUpload||this.uppy.emit("thumbnail:request",e)},this.handleCancelThumbnail=e=>{this.opts.waitForThumbnailsBeforeUpload||this.uppy.emit("thumbnail:cancel",e)},this.handleKeyDownInInline=e=>{9===e.keyCode&&s.forInline(e,this.getPluginState().activeOverlayType,this.el)},this.handlePasteOnBody=e=>{this.el.contains(document.activeElement)&&this.handlePaste(e)},this.handleComplete=e=>{let{failed:t}=e;this.opts.closeAfterFinish&&0===t.length&&this.requestCloseModal()},this.handleCancelRestore=()=>{this.uppy.emit("restore-canceled")},Object.defineProperty(this,E,{writable:!0,value:e=>{const t=e[0];this.canEditFile(t)&&this.openFileEditor(t)}}),this.initEvents=()=>{if(this.opts.trigger&&!this.opts.inline){const e=p(this.opts.trigger);e?e.forEach((e=>e.addEventListener("click",this.openModal))):this.uppy.log("Dashboard modal trigger not found. Make sure `trigger` is set in Dashboard options, unless you are planning to call `dashboard.openModal()` method yourself","warning")}this.startListeningToResize(),document.addEventListener("paste",this.handlePasteOnBody),this.uppy.on("plugin-remove",this.removeTarget),this.uppy.on("file-added",this.hideAllPanels),this.uppy.on("dashboard:modal-closed",this.hideAllPanels),this.uppy.on("file-editor:complete",this.hideAllPanels),this.uppy.on("complete",this.handleComplete),document.addEventListener("focus",this.recordIfFocusedOnUppyRecently,!0),document.addEventListener("click",this.recordIfFocusedOnUppyRecently,!0),this.opts.inline&&this.el.addEventListener("keydown",this.handleKeyDownInInline),this.opts.autoOpenFileEditor&&this.uppy.on("files-added",a(this,E)[E])},this.removeEvents=()=>{const e=p(this.opts.trigger);!this.opts.inline&&e&&e.forEach((e=>e.removeEventListener("click",this.openModal))),this.stopListeningToResize(),document.removeEventListener("paste",this.handlePasteOnBody),window.removeEventListener("popstate",this.handlePopState,!1),this.uppy.off("plugin-remove",this.removeTarget),this.uppy.off("file-added",this.hideAllPanels),this.uppy.off("dashboard:modal-closed",this.hideAllPanels),this.uppy.off("file-editor:complete",this.hideAllPanels),this.uppy.off("complete",this.handleComplete),document.removeEventListener("focus",this.recordIfFocusedOnUppyRecently),document.removeEventListener("click",this.recordIfFocusedOnUppyRecently),this.opts.inline&&this.el.removeEventListener("keydown",this.handleKeyDownInInline),this.opts.autoOpenFileEditor&&this.uppy.off("files-added",a(this,E)[E])},this.superFocusOnEachUpdate=()=>{const e=this.el.contains(document.activeElement),t=document.activeElement===document.body||null===document.activeElement,n=0===this.uppy.getState().info.length,r=!this.opts.inline;n&&(r||e||t&&this.ifFocusedOnUppyRecently)?this.superFocus(this.el,this.getPluginState().activeOverlayType):this.superFocus.cancel()},this.afterUpdate=()=>{!this.opts.disabled||this.dashboardIsDisabled?(!this.opts.disabled&&this.dashboardIsDisabled&&this.disableAllFocusableElements(!1),this.superFocusOnEachUpdate()):this.disableAllFocusableElements(!0)},this.saveFileCard=(e,t)=>{this.uppy.setFileMeta(t,e),this.toggleFileCard(!1,t)},Object.defineProperty(this,k,{writable:!0,value:e=>{const t=this.uppy.getPlugin(e.id);return{...e,icon:t.icon||this.opts.defaultPickerIcon,render:t.render}}}),Object.defineProperty(this,P,{writable:!0,value:e=>{const t=this.uppy.getPlugin(e.id);return"function"!=typeof t.isSupported||t.isSupported()}}),Object.defineProperty(this,C,{writable:!0,value:_((e=>e.filter((e=>"acquirer"===e.type&&a(this,P)[P](e))).map(a(this,k)[k])))}),Object.defineProperty(this,O,{writable:!0,value:_((e=>e.filter((e=>"progressindicator"===e.type)).map(a(this,k)[k])))}),Object.defineProperty(this,T,{writable:!0,value:_((e=>e.filter((e=>"editor"===e.type)).map(a(this,k)[k])))}),this.render=e=>{const t=this.getPluginState(),{files:n,capabilities:r,allowNewUpload:i}=e,{newFiles:o,uploadStartedFiles:s,completeFiles:u,erroredFiles:l,inProgressFiles:c,inProgressNotPausedFiles:f,processingFiles:h,isUploadStarted:p,isAllComplete:d,isAllErrored:m,isAllPaused:g}=this.uppy.getObjectOfFilesPerState(),v=a(this,C)[C](t.targets),y=a(this,O)[O](t.targets),w=a(this,T)[T](t.targets);let _;return _="auto"===this.opts.theme?r.darkMode?"dark":"light":this.opts.theme,["files","folders","both"].indexOf(this.opts.fileManagerSelectionType)<0&&(this.opts.fileManagerSelectionType="files",console.warn(`Unsupported option for "fileManagerSelectionType". Using default of "${this.opts.fileManagerSelectionType}".`)),b({state:e,isHidden:t.isHidden,files:n,newFiles:o,uploadStartedFiles:s,completeFiles:u,erroredFiles:l,inProgressFiles:c,inProgressNotPausedFiles:f,processingFiles:h,isUploadStarted:p,isAllComplete:d,isAllErrored:m,isAllPaused:g,totalFileCount:Object.keys(n).length,totalProgress:e.totalProgress,allowNewUpload:i,acquirers:v,theme:_,disabled:this.opts.disabled,disableLocalFiles:this.opts.disableLocalFiles,direction:this.opts.direction,activePickerPanel:t.activePickerPanel,showFileEditor:t.showFileEditor,saveFileEditor:this.saveFileEditor,disableAllFocusableElements:this.disableAllFocusableElements,animateOpenClose:this.opts.animateOpenClose,isClosing:t.isClosing,progressindicators:y,editors:w,autoProceed:this.uppy.opts.autoProceed,id:this.id,closeModal:this.requestCloseModal,handleClickOutside:this.handleClickOutside,handleInputChange:this.handleInputChange,handlePaste:this.handlePaste,inline:this.opts.inline,showPanel:this.showPanel,hideAllPanels:this.hideAllPanels,i18n:this.i18n,i18nArray:this.i18nArray,uppy:this.uppy,note:this.opts.note,recoveredState:e.recoveredState,metaFields:t.metaFields,resumableUploads:r.resumableUploads||!1,individualCancellation:r.individualCancellation,isMobileDevice:r.isMobileDevice,fileCardFor:t.fileCardFor,toggleFileCard:this.toggleFileCard,toggleAddFilesPanel:this.toggleAddFilesPanel,showAddFilesPanel:t.showAddFilesPanel,saveFileCard:this.saveFileCard,openFileEditor:this.openFileEditor,canEditFile:this.canEditFile,width:this.opts.width,height:this.opts.height,showLinkToFileUploadResult:this.opts.showLinkToFileUploadResult,fileManagerSelectionType:this.opts.fileManagerSelectionType,proudlyDisplayPoweredByUppy:this.opts.proudlyDisplayPoweredByUppy,hideCancelButton:this.opts.hideCancelButton,hideRetryButton:this.opts.hideRetryButton,hidePauseResumeButton:this.opts.hidePauseResumeButton,showRemoveButtonAfterComplete:this.opts.showRemoveButtonAfterComplete,containerWidth:t.containerWidth,containerHeight:t.containerHeight,areInsidesReadyToBeVisible:t.areInsidesReadyToBeVisible,isTargetDOMEl:this.isTargetDOMEl,parentElement:this.el,allowedFileTypes:this.uppy.opts.restrictions.allowedFileTypes,maxNumberOfFiles:this.uppy.opts.restrictions.maxNumberOfFiles,requiredMetaFields:this.uppy.opts.restrictions.requiredMetaFields,showSelectedFiles:this.opts.showSelectedFiles,handleCancelRestore:this.handleCancelRestore,handleRequestThumbnail:this.handleRequestThumbnail,handleCancelThumbnail:this.handleCancelThumbnail,isDraggingOver:t.isDraggingOver,handleDragOver:this.handleDragOver,handleDragLeave:this.handleDragLeave,handleDrop:this.handleDrop})},this.discoverProviderPlugins=()=>{this.uppy.iteratePlugins((e=>{e&&!e.target&&e.opts&&e.opts.target===this.constructor&&this.addTarget(e)}))},this.install=()=>{this.setPluginState({isHidden:!0,fileCardFor:null,activeOverlayType:null,showAddFilesPanel:!1,activePickerPanel:!1,showFileEditor:!1,metaFields:this.opts.metaFields,targets:[],areInsidesReadyToBeVisible:!1,isDraggingOver:!1});const{inline:e,closeAfterFinish:t}=this.opts;if(e&&t)throw new Error("[Dashboard] `closeAfterFinish: true` cannot be used on an inline Dashboard, because an inline Dashboard cannot be closed at all. Either set `inline: false`, or disable the `closeAfterFinish` option.");const{allowMultipleUploads:n,allowMultipleUploadBatches:r}=this.uppy.opts;(n||r)&&t&&this.uppy.log("[Dashboard] When using `closeAfterFinish`, we recommended setting the `allowMultipleUploadBatches` option to `false` in the Uppy constructor. See https://uppy.io/docs/uppy/#allowMultipleUploads-true","warning");const{target:i}=this.opts;i&&this.mount(i,this),(this.opts.plugins||[]).forEach((e=>{const t=this.uppy.getPlugin(e);t&&t.mount(this,t)})),this.opts.disableStatusBar||this.uppy.use(c,{id:`${this.id}:StatusBar`,target:this,hideUploadButton:this.opts.hideUploadButton,hideRetryButton:this.opts.hideRetryButton,hidePauseResumeButton:this.opts.hidePauseResumeButton,hideCancelButton:this.opts.hideCancelButton,showProgressDetails:this.opts.showProgressDetails,hideAfterFinish:this.opts.hideProgressAfterFinish,locale:this.opts.locale,doneButtonHandler:this.opts.doneButtonHandler}),this.opts.disableInformer||this.uppy.use(f,{id:`${this.id}:Informer`,target:this}),this.opts.disableThumbnailGenerator||this.uppy.use(h,{id:`${this.id}:ThumbnailGenerator`,thumbnailWidth:this.opts.thumbnailWidth,thumbnailHeight:this.opts.thumbnailHeight,thumbnailType:this.opts.thumbnailType,waitForThumbnailsBeforeUpload:this.opts.waitForThumbnailsBeforeUpload,lazy:!this.opts.waitForThumbnailsBeforeUpload}),this.darkModeMediaQuery="undefined"!=typeof window&&window.matchMedia?window.matchMedia("(prefers-color-scheme: dark)"):null;const o=!!this.darkModeMediaQuery&&this.darkModeMediaQuery.matches;this.uppy.log("[Dashboard] Dark mode is "+(o?"on":"off")),this.setDarkModeCapability(o),"auto"===this.opts.theme&&this.darkModeMediaQuery.addListener(this.handleSystemDarkModeChange),this.discoverProviderPlugins(),this.initEvents()},this.uninstall=()=>{if(!this.opts.disableInformer){const e=this.uppy.getPlugin(`${this.id}:Informer`);e&&this.uppy.removePlugin(e)}if(!this.opts.disableStatusBar){const e=this.uppy.getPlugin(`${this.id}:StatusBar`);e&&this.uppy.removePlugin(e)}if(!this.opts.disableThumbnailGenerator){const e=this.uppy.getPlugin(`${this.id}:ThumbnailGenerator`);e&&this.uppy.removePlugin(e)}(this.opts.plugins||[]).forEach((e=>{const t=this.uppy.getPlugin(e);t&&t.unmount()})),"auto"===this.opts.theme&&this.darkModeMediaQuery.removeListener(this.handleSystemDarkModeChange),this.unmount(),this.removeEvents()},this.id=this.opts.id||"Dashboard",this.title="Dashboard",this.type="orchestrator",this.modalName=`uppy-Dashboard-${(0,o.nanoid)()}`,this.defaultLocale=w;const r={target:"body",metaFields:[],trigger:null,inline:!1,width:750,height:550,thumbnailWidth:280,thumbnailType:"image/jpeg",waitForThumbnailsBeforeUpload:!1,defaultPickerIcon:x,showLinkToFileUploadResult:!1,showProgressDetails:!1,hideUploadButton:!1,hideCancelButton:!1,hideRetryButton:!1,hidePauseResumeButton:!1,hideProgressAfterFinish:!1,doneButtonHandler:()=>{this.uppy.reset(),this.requestCloseModal()},note:null,closeModalOnClickOutside:!1,closeAfterFinish:!1,disableStatusBar:!1,disableInformer:!1,disableThumbnailGenerator:!1,disablePageScrollWhenModalOpen:!0,animateOpenClose:!0,fileManagerSelectionType:"files",proudlyDisplayPoweredByUppy:!0,onRequestCloseModal:()=>this.closeModal(),showSelectedFiles:!0,showRemoveButtonAfterComplete:!1,browserBackButtonClose:!1,theme:"light",autoOpenFileEditor:!1,disabled:!1,disableLocalFiles:!1};this.opts={...r,...t},this.i18nInit(),this.superFocus=y(),this.ifFocusedOnUppyRecently=!1,this.makeDashboardInsidesVisibleAnywayTimeout=null,this.removeDragOverClassTimeout=null}}A.VERSION="2.4.3",e.exports=A},58715:function(e,t,n){"use strict";var r=n(33847);let i;i=Symbol.for("uppy test: disable unused locale key warning");class o extends r.Component{constructor(){super(...arguments),this.triggerFileInputClick=()=>{this.fileInput.click()},this.triggerFolderInputClick=()=>{this.folderInput.click()},this.onFileInputChange=e=>{this.props.handleInputChange(e),e.target.value=null},this.renderHiddenInput=(e,t)=>(0,r.h)("input",{className:"uppy-Dashboard-input",hidden:!0,"aria-hidden":"true",tabIndex:-1,webkitdirectory:e,type:"file",name:"files[]",multiple:1!==this.props.maxNumberOfFiles,onChange:this.onFileInputChange,accept:this.props.allowedFileTypes,ref:t}),this.renderMyDeviceAcquirer=()=>(0,r.h)("div",{className:"uppy-DashboardTab",role:"presentation","data-uppy-acquirer-id":"MyDevice"},(0,r.h)("button",{type:"button",className:"uppy-u-reset uppy-c-btn uppy-DashboardTab-btn",role:"tab",tabIndex:0,"data-uppy-super-focusable":!0,onClick:this.triggerFileInputClick},(0,r.h)("svg",{"aria-hidden":"true",focusable:"false",width:"32",height:"32",viewBox:"0 0 32 32"},(0,r.h)("g",{fill:"none",fillRule:"evenodd"},(0,r.h)("rect",{className:"uppy-ProviderIconBg",width:"32",height:"32",rx:"16",fill:"#2275D7"}),(0,r.h)("path",{d:"M21.973 21.152H9.863l-1.108-5.087h14.464l-1.246 5.087zM9.935 11.37h3.958l.886 1.444a.673.673 0 0 0 .585.316h6.506v1.37H9.935v-3.13zm14.898 3.44a.793.793 0 0 0-.616-.31h-.978v-2.126c0-.379-.275-.613-.653-.613H15.75l-.886-1.445a.673.673 0 0 0-.585-.316H9.232c-.378 0-.667.209-.667.587V14.5h-.782a.793.793 0 0 0-.61.303.795.795 0 0 0-.155.663l1.45 6.633c.078.36.396.618.764.618h13.354c.36 0 .674-.246.76-.595l1.631-6.636a.795.795 0 0 0-.144-.675z",fill:"#FFF"}))),(0,r.h)("div",{className:"uppy-DashboardTab-name"},this.props.i18n("myDevice")))),this.renderBrowseButton=(e,t)=>{const n=this.props.acquirers.length;return(0,r.h)("button",{type:"button",className:"uppy-u-reset uppy-Dashboard-browse",onClick:t,"data-uppy-super-focusable":0===n},e)},this.renderDropPasteBrowseTagline=()=>{const e=this.props.acquirers.length,t=this.renderBrowseButton(this.props.i18n("browseFiles"),this.triggerFileInputClick),n=this.renderBrowseButton(this.props.i18n("browseFolders"),this.triggerFolderInputClick),i=this.props.fileManagerSelectionType,o=i.charAt(0).toUpperCase()+i.slice(1);return(0,r.h)("div",{class:"uppy-Dashboard-AddFiles-title"},this.props.disableLocalFiles?this.props.i18n("importFiles"):e>0?this.props.i18nArray(`dropPasteImport${o}`,{browseFiles:t,browseFolders:n,browse:t}):this.props.i18nArray(`dropPaste${o}`,{browseFiles:t,browseFolders:n,browse:t}))},this.renderAcquirer=e=>(0,r.h)("div",{className:"uppy-DashboardTab",role:"presentation","data-uppy-acquirer-id":e.id},(0,r.h)("button",{type:"button",className:"uppy-u-reset uppy-c-btn uppy-DashboardTab-btn",role:"tab",tabIndex:0,"data-cy":e.id,"aria-controls":`uppy-DashboardContent-panel--${e.id}`,"aria-selected":this.props.activePickerPanel.id===e.id,"data-uppy-super-focusable":!0,onClick:()=>this.props.showPanel(e.id)},e.icon(),(0,r.h)("div",{className:"uppy-DashboardTab-name"},e.name))),this.renderAcquirers=(e,t)=>{const n=[...e],i=n.splice(e.length-2,e.length);return(0,r.h)("div",{className:"uppy-Dashboard-AddFiles-list",role:"tablist"},!t&&this.renderMyDeviceAcquirer(),n.map((e=>this.renderAcquirer(e))),(0,r.h)("span",{role:"presentation",style:{"white-space":"nowrap"}},i.map((e=>this.renderAcquirer(e)))))}}[i](){this.props.i18nArray("dropPasteBoth"),this.props.i18nArray("dropPasteFiles"),this.props.i18nArray("dropPasteFolders"),this.props.i18nArray("dropPasteImportBoth"),this.props.i18nArray("dropPasteImportFiles"),this.props.i18nArray("dropPasteImportFolders")}renderPoweredByUppy(){const{i18nArray:e}=this.props,t=e("poweredBy",{uppy:(0,r.h)("span",null,(0,r.h)("svg",{"aria-hidden":"true",focusable:"false",className:"uppy-c-icon uppy-Dashboard-poweredByIcon",width:"11",height:"11",viewBox:"0 0 11 11"},(0,r.h)("path",{d:"M7.365 10.5l-.01-4.045h2.612L5.5.806l-4.467 5.65h2.604l.01 4.044h3.718z",fillRule:"evenodd"})),(0,r.h)("span",{className:"uppy-Dashboard-poweredByUppy"},"Uppy"))});return(0,r.h)("a",{tabIndex:"-1",href:"https://uppy.io",rel:"noreferrer noopener",target:"_blank",className:"uppy-Dashboard-poweredBy"},t)}render(){return(0,r.h)("div",{className:"uppy-Dashboard-AddFiles"},this.renderHiddenInput(!1,(e=>{this.fileInput=e})),this.renderHiddenInput(!0,(e=>{this.folderInput=e})),this.renderDropPasteBrowseTagline(),this.props.acquirers.length>0&&this.renderAcquirers(this.props.acquirers,this.props.disableLocalFiles),(0,r.h)("div",{className:"uppy-Dashboard-AddFiles-info"},this.props.note&&(0,r.h)("div",{className:"uppy-Dashboard-note"},this.props.note),this.props.proudlyDisplayPoweredByUppy&&this.renderPoweredByUppy(this.props)))}}e.exports=o},75368:function(e,t,n){"use strict";var r=n(33847);const i=n(72779),o=n(58715);e.exports=e=>(0,r.h)("div",{className:i("uppy-Dashboard-AddFilesPanel",e.className),"data-uppy-panelType":"AddFiles","aria-hidden":e.showAddFilesPanel},(0,r.h)("div",{className:"uppy-DashboardContent-bar"},(0,r.h)("div",{className:"uppy-DashboardContent-title",role:"heading","aria-level":"1"},e.i18n("addingMoreFiles")),(0,r.h)("button",{className:"uppy-DashboardContent-back",type:"button",onClick:()=>e.toggleAddFilesPanel(!1)},e.i18n("back"))),(0,r.h)(o,e))},3560:function(e,t,n){"use strict";var r=n(33847);function i(){return i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i.apply(this,arguments)}const o=n(72779),s=n(75891),a=n(7809),u=n(58715),l=n(75368),c=n(88538),f=n(95429),h=n(15035),p=n(88646),d=n(53268);e.exports=function(e){const t=0===e.totalFileCount,n=e.containerWidth>576,m=o({"uppy-Dashboard":!0,"uppy-Dashboard--isDisabled":e.disabled,"uppy-Dashboard--animateOpenClose":e.animateOpenClose,"uppy-Dashboard--isClosing":e.isClosing,"uppy-Dashboard--isDraggingOver":e.isDraggingOver,"uppy-Dashboard--modal":!e.inline,"uppy-size--md":e.containerWidth>576,"uppy-size--lg":e.containerWidth>700,"uppy-size--xl":e.containerWidth>900,"uppy-size--height-md":e.containerHeight>400,"uppy-Dashboard--isAddFilesPanelVisible":e.showAddFilesPanel,"uppy-Dashboard--isInnerWrapVisible":e.areInsidesReadyToBeVisible});let g=1;e.containerWidth>900?g=5:e.containerWidth>700?g=4:e.containerWidth>576&&(g=3);const v=e.showSelectedFiles&&!t,y=e.recoveredState?Object.keys(e.recoveredState.files).length:null,b=e.files?Object.keys(e.files).filter((t=>e.files[t].isGhost)).length:null;return(0,r.h)("div",{className:m,"data-uppy-theme":e.theme,"data-uppy-num-acquirers":e.acquirers.length,"data-uppy-drag-drop-supported":!e.disableLocalFiles&&s(),"aria-hidden":e.inline?"false":e.isHidden,"aria-disabled":e.disabled,"aria-label":e.inline?e.i18n("dashboardTitle"):e.i18n("dashboardWindowTitle"),onPaste:e.handlePaste,onDragOver:e.handleDragOver,onDragLeave:e.handleDragLeave,onDrop:e.handleDrop},(0,r.h)("div",{"aria-hidden":"true",className:"uppy-Dashboard-overlay",tabIndex:-1,onClick:e.handleClickOutside}),(0,r.h)("div",{className:"uppy-Dashboard-inner","aria-modal":!e.inline&&"true",role:!e.inline&&"dialog",style:{width:e.inline&&e.width?e.width:"",height:e.inline&&e.height?e.height:""}},e.inline?null:(0,r.h)("button",{className:"uppy-u-reset uppy-Dashboard-close",type:"button","aria-label":e.i18n("closeModal"),title:e.i18n("closeModal"),onClick:e.closeModal},(0,r.h)("span",{"aria-hidden":"true"},"×")),(0,r.h)("div",{className:"uppy-Dashboard-innerWrap"},(0,r.h)("div",{className:"uppy-Dashboard-dropFilesHereHint"},e.i18n("dropHint")),v&&(0,r.h)(h,e),y&&(0,r.h)("div",{className:"uppy-Dashboard-serviceMsg"},(0,r.h)("svg",{className:"uppy-Dashboard-serviceMsg-icon","aria-hidden":"true",focusable:"false",width:"21",height:"16",viewBox:"0 0 24 19"},(0,r.h)("g",{transform:"translate(0 -1)",fill:"none",fillRule:"evenodd"},(0,r.h)("path",{d:"M12.857 1.43l10.234 17.056A1 1 0 0122.234 20H1.766a1 1 0 01-.857-1.514L11.143 1.429a1 1 0 011.714 0z",fill:"#FFD300"}),(0,r.h)("path",{fill:"#000",d:"M11 6h2l-.3 8h-1.4z"}),(0,r.h)("circle",{fill:"#000",cx:"12",cy:"17",r:"1"}))),(0,r.h)("strong",{className:"uppy-Dashboard-serviceMsg-title"},e.i18n("sessionRestored")),(0,r.h)("div",{className:"uppy-Dashboard-serviceMsg-text"},b>0?e.i18n("recoveredXFiles",{smart_count:b}):e.i18n("recoveredAllFiles"))),v?(0,r.h)(a,i({},e,{itemsPerRow:g})):(0,r.h)(u,i({},e,{isSizeMD:n})),(0,r.h)(d,null,e.showAddFilesPanel?(0,r.h)(l,i({key:"AddFiles"},e,{isSizeMD:n})):null),(0,r.h)(d,null,e.fileCardFor?(0,r.h)(p,i({key:"FileCard"},e)):null),(0,r.h)(d,null,e.activePickerPanel?(0,r.h)(c,i({key:"Picker"},e)):null),(0,r.h)(d,null,e.showFileEditor?(0,r.h)(f,i({key:"Editor"},e)):null),(0,r.h)("div",{className:"uppy-Dashboard-progressindicators"},e.progressindicators.map((t=>e.uppy.getPlugin(t.id).render(e.state)))))))}},95429:function(e,t,n){"use strict";var r=n(33847);const i=n(72779);e.exports=function(e){const t=e.files[e.fileCardFor];return(0,r.h)("div",{className:i("uppy-DashboardContent-panel",e.className),role:"tabpanel","data-uppy-panelType":"FileEditor",id:"uppy-DashboardContent-panel--editor"},(0,r.h)("div",{className:"uppy-DashboardContent-bar"},(0,r.h)("div",{className:"uppy-DashboardContent-title",role:"heading","aria-level":"1"},e.i18nArray("editing",{file:(0,r.h)("span",{className:"uppy-DashboardContent-titleFile"},t.meta?t.meta.name:t.name)})),(0,r.h)("button",{className:"uppy-DashboardContent-back",type:"button",onClick:e.hideAllPanels},e.i18n("cancel")),(0,r.h)("button",{className:"uppy-DashboardContent-save",type:"button",onClick:e.saveFileEditor},e.i18n("save"))),(0,r.h)("div",{className:"uppy-DashboardContent-panelBody"},e.editors.map((t=>e.uppy.getPlugin(t.id).render(e.state)))))}},88646:function(e,t,n){"use strict";var r=n(33847),i=n(38864);const o=n(72779),s=n(13488),a=n(45790),u=n(39781);class l extends r.Component{constructor(e){super(e),this.form=document.createElement("form"),this.updateMeta=(e,t)=>{this.setState((n=>{let{formState:r}=n;return{formState:{...r,[t]:e}}}))},this.handleSave=e=>{e.preventDefault();const t=this.props.fileCardFor;this.props.saveFileCard(this.state.formState,t)},this.handleCancel=()=>{const e=this.props.files[this.props.fileCardFor];this.props.uppy.emit("file-editor:cancel",e),this.props.toggleFileCard(!1)},this.saveOnEnter=e=>{if(13===e.keyCode){e.stopPropagation(),e.preventDefault();const t=this.props.files[this.props.fileCardFor];this.props.saveFileCard(this.state.formState,t.id)}},this.renderMetaFields=()=>{const e=this.getMetaFields()||[],t={text:"uppy-u-reset uppy-c-textInput uppy-Dashboard-FileCard-input"};return e.map((e=>{const n=`uppy-Dashboard-FileCard-input-${e.id}`,i=this.props.requiredMetaFields.includes(e.id);return(0,r.h)("fieldset",{key:e.id,className:"uppy-Dashboard-FileCard-fieldset"},(0,r.h)("label",{className:"uppy-Dashboard-FileCard-label",htmlFor:n},e.name),void 0!==e.render?e.render({value:this.state.formState[e.id],onChange:t=>this.updateMeta(t,e.id),fieldCSSClasses:t,required:i,form:this.form.id},r.h):(0,r.h)("input",{className:t.text,id:n,form:this.form.id,type:e.type||"text",required:i,value:this.state.formState[e.id],placeholder:e.placeholder,onKeyUp:"form"in HTMLInputElement.prototype?void 0:this.saveOnEnter,onKeyDown:"form"in HTMLInputElement.prototype?void 0:this.saveOnEnter,onKeyPress:"form"in HTMLInputElement.prototype?void 0:this.saveOnEnter,onInput:t=>this.updateMeta(t.target.value,e.id),"data-uppy-super-focusable":!0}))}))};const t=this.props.files[this.props.fileCardFor],n=this.getMetaFields()||[],o={};n.forEach((e=>{o[e.id]=t.meta[e.id]||""})),this.state={formState:o},this.form.id=(0,i.nanoid)()}componentWillMount(){this.form.addEventListener("submit",this.handleSave),document.body.appendChild(this.form)}componentWillUnmount(){this.form.removeEventListener("submit",this.handleSave),document.body.removeChild(this.form)}getMetaFields(){return"function"==typeof this.props.metaFields?this.props.metaFields(this.props.files[this.props.fileCardFor]):this.props.metaFields}render(){const e=this.props.files[this.props.fileCardFor],t=this.props.canEditFile(e);return(0,r.h)("div",{className:o("uppy-Dashboard-FileCard",this.props.className),"data-uppy-panelType":"FileCard",onDragOver:a,onDragLeave:a,onDrop:a,onPaste:a},(0,r.h)("div",{className:"uppy-DashboardContent-bar"},(0,r.h)("div",{className:"uppy-DashboardContent-title",role:"heading","aria-level":"1"},this.props.i18nArray("editing",{file:(0,r.h)("span",{className:"uppy-DashboardContent-titleFile"},e.meta?e.meta.name:e.name)})),(0,r.h)("button",{className:"uppy-DashboardContent-back",type:"button",form:this.form.id,title:this.props.i18n("finishEditingFile"),onClick:this.handleCancel},this.props.i18n("cancel"))),(0,r.h)("div",{className:"uppy-Dashboard-FileCard-inner"},(0,r.h)("div",{className:"uppy-Dashboard-FileCard-preview",style:{backgroundColor:s(e.type).color}},(0,r.h)(u,{file:e}),t&&(0,r.h)("button",{type:"button",className:"uppy-u-reset uppy-c-btn uppy-Dashboard-FileCard-edit",onClick:t=>{this.handleSave(t),this.props.openFileEditor(e)},form:this.form.id},this.props.i18n("editFile"))),(0,r.h)("div",{className:"uppy-Dashboard-FileCard-info"},this.renderMetaFields()),(0,r.h)("div",{className:"uppy-Dashboard-FileCard-actions"},(0,r.h)("button",{className:"uppy-u-reset uppy-c-btn uppy-c-btn-primary uppy-Dashboard-FileCard-actionsBtn",type:"form"in HTMLButtonElement.prototype?"submit":"button",onClick:"form"in HTMLButtonElement.prototype?void 0:this.handleSave,form:this.form.id},this.props.i18n("saveChanges")),(0,r.h)("button",{className:"uppy-u-reset uppy-c-btn uppy-c-btn-link uppy-Dashboard-FileCard-actionsBtn",type:"button",onClick:this.handleCancel,form:this.form.id},this.props.i18n("cancel")))))}}e.exports=l},94072:function(e,t,n){"use strict";var r=n(33847);const i=n(13914);function o(e){let{file:t,uploadInProgressOrComplete:n,metaFields:i,canEditFile:o,i18n:s,onClick:a}=e;return!n&&i&&i.length>0||!n&&o(t)?(0,r.h)("button",{className:"uppy-u-reset uppy-Dashboard-Item-action uppy-Dashboard-Item-action--edit",type:"button","aria-label":s("editFileWithFilename",{file:t.meta.name}),title:s("editFileWithFilename",{file:t.meta.name}),onClick:()=>a()},(0,r.h)("svg",{"aria-hidden":"true",focusable:"false",className:"uppy-c-icon",width:"14",height:"14",viewBox:"0 0 14 14"},(0,r.h)("g",{fillRule:"evenodd"},(0,r.h)("path",{d:"M1.5 10.793h2.793A1 1 0 0 0 5 10.5L11.5 4a1 1 0 0 0 0-1.414L9.707.793a1 1 0 0 0-1.414 0l-6.5 6.5A1 1 0 0 0 1.5 8v2.793zm1-1V8L9 1.5l1.793 1.793-6.5 6.5H2.5z",fillRule:"nonzero"}),(0,r.h)("rect",{x:"1",y:"12.293",width:"11",height:"1",rx:".5"}),(0,r.h)("path",{fillRule:"nonzero",d:"M6.793 2.5L9.5 5.207l.707-.707L7.5 1.793z"})))):null}function s(e){let{i18n:t,onClick:n,file:i}=e;return(0,r.h)("button",{className:"uppy-u-reset uppy-Dashboard-Item-action uppy-Dashboard-Item-action--remove",type:"button","aria-label":t("removeFile",{file:i.meta.name}),title:t("removeFile",{file:i.meta.name}),onClick:()=>n()},(0,r.h)("svg",{"aria-hidden":"true",focusable:"false",className:"uppy-c-icon",width:"18",height:"18",viewBox:"0 0 18 18"},(0,r.h)("path",{d:"M9 0C4.034 0 0 4.034 0 9s4.034 9 9 9 9-4.034 9-9-4.034-9-9-9z"}),(0,r.h)("path",{fill:"#FFF",d:"M13 12.222l-.778.778L9 9.778 5.778 13 5 12.222 8.222 9 5 5.778 5.778 5 9 8.222 12.222 5l.778.778L9.778 9z"})))}function a(e){const{i18n:t}=e;return(0,r.h)("button",{className:"uppy-u-reset uppy-Dashboard-Item-action uppy-Dashboard-Item-action--copyLink",type:"button","aria-label":t("copyLink"),title:t("copyLink"),onClick:t=>((e,t)=>{i(t.file.uploadURL,t.i18n("copyLinkToClipboardFallback")).then((()=>{t.uppy.log("Link copied to clipboard."),t.uppy.info(t.i18n("copyLinkToClipboardSuccess"),"info",3e3)})).catch(t.uppy.log).then((()=>e.target.focus({preventScroll:!0})))})(t,e)},(0,r.h)("svg",{"aria-hidden":"true",focusable:"false",className:"uppy-c-icon",width:"14",height:"14",viewBox:"0 0 14 12"},(0,r.h)("path",{d:"M7.94 7.703a2.613 2.613 0 0 1-.626 2.681l-.852.851a2.597 2.597 0 0 1-1.849.766A2.616 2.616 0 0 1 2.764 7.54l.852-.852a2.596 2.596 0 0 1 2.69-.625L5.267 7.099a1.44 1.44 0 0 0-.833.407l-.852.851a1.458 1.458 0 0 0 1.03 2.486c.39 0 .755-.152 1.03-.426l.852-.852c.231-.231.363-.522.406-.824l1.04-1.038zm4.295-5.937A2.596 2.596 0 0 0 10.387 1c-.698 0-1.355.272-1.849.766l-.852.851a2.614 2.614 0 0 0-.624 2.688l1.036-1.036c.041-.304.173-.6.407-.833l.852-.852c.275-.275.64-.426 1.03-.426a1.458 1.458 0 0 1 1.03 2.486l-.852.851a1.442 1.442 0 0 1-.824.406l-1.04 1.04a2.596 2.596 0 0 0 2.683-.628l.851-.85a2.616 2.616 0 0 0 0-3.697zm-6.88 6.883a.577.577 0 0 0 .82 0l3.474-3.474a.579.579 0 1 0-.819-.82L5.355 7.83a.579.579 0 0 0 0 .819z"})))}e.exports=function(e){const{uppy:t,file:n,uploadInProgressOrComplete:i,canEditFile:u,metaFields:l,showLinkToFileUploadResult:c,showRemoveButton:f,i18n:h,toggleFileCard:p,openFileEditor:d}=e;return(0,r.h)("div",{className:"uppy-Dashboard-Item-actionWrapper"},(0,r.h)(o,{i18n:h,file:n,uploadInProgressOrComplete:i,canEditFile:u,metaFields:l,onClick:()=>{l&&l.length>0?p(!0,n.id):d(n)}}),c&&n.uploadURL?(0,r.h)(a,{file:n,uppy:t,i18n:h}):null,f?(0,r.h)(s,{i18n:h,file:n,uppy:t,onClick:()=>e.uppy.removeFile(n.id,"removed-by-user")}):null)}},69933:function(e,t,n){"use strict";var r=n(33847);const i=n(39961),o=n(58140),s=n(89435),a=e=>{let{file:t,onClick:n}=e;return t.error?(0,r.h)("button",{className:"uppy-u-reset uppy-Dashboard-Item-errorDetails","aria-label":t.error,"data-microtip-position":"bottom","data-microtip-size":"medium",onClick:n,type:"button"},"?"):null};e.exports=function(e){const{file:t}=e;return(0,r.h)("div",{className:"uppy-Dashboard-Item-fileInfo","data-uppy-file-source":t.source},(0,r.h)("div",{className:"uppy-Dashboard-Item-fileName"},(e=>{const{author:t,name:n}=e.file.meta;return(0,r.h)("div",{className:"uppy-Dashboard-Item-name",title:n},o(n,e.containerWidth<=352?35:e.containerWidth<=576?60:t?20:30))})(e),(0,r.h)(a,{file:e.file,onClick:()=>alert(e.file.error)})),(0,r.h)("div",{className:"uppy-Dashboard-Item-status"},(e=>{const{author:t}=e.file.meta,{providerName:n}=e.file.remote;return t?(0,r.h)("div",{className:"uppy-Dashboard-Item-author"},(0,r.h)("a",{href:`${t.url}?utm_source=Companion&utm_medium=referral`,target:"_blank",rel:"noopener noreferrer"},o(t.name,13)),n?(0,r.h)(r.Fragment,null," · ",n," · "):null):null})(e),(e=>e.file.size&&(0,r.h)("div",{className:"uppy-Dashboard-Item-statusSize"},i(e.file.size)))(e),(e=>e.file.isGhost&&(0,r.h)("span",null," • ",(0,r.h)("button",{className:"uppy-u-reset uppy-c-btn uppy-Dashboard-Item-reSelect",type:"button",onClick:e.toggleAddFilesPanel},e.i18n("reSelect"))))(e)),(0,r.h)(s,{file:e.file,i18n:e.i18n,toggleFileCard:e.toggleFileCard,metaFields:e.metaFields}))}},44791:function(e,t,n){"use strict";var r=n(33847);const i=n(39781),o=n(89435),s=n(13488);e.exports=function(e){return(0,r.h)("div",{className:"uppy-Dashboard-Item-previewInnerWrap",style:{backgroundColor:s(e.file.type).color}},e.showLinkToFileUploadResult&&e.file.uploadURL&&(0,r.h)("a",{className:"uppy-Dashboard-Item-previewLink",href:e.file.uploadURL,rel:"noreferrer noopener",target:"_blank","aria-label":e.file.meta.name},(0,r.h)("span",{hidden:!0},e.file.meta.name)),(0,r.h)(i,{file:e.file}),(0,r.h)(o,{file:e.file,i18n:e.i18n,toggleFileCard:e.toggleFileCard,metaFields:e.metaFields}))}},71232:function(e,t,n){"use strict";var r=n(33847);function i(e){return e.isUploaded?e.i18n("uploadComplete"):e.error?e.i18n("retryUpload"):e.resumableUploads?e.file.isPaused?e.i18n("resumeUpload"):e.i18n("pauseUpload"):e.individualCancellation?e.i18n("cancelUpload"):""}function o(e){return(0,r.h)("div",{className:"uppy-Dashboard-Item-progress"},(0,r.h)("button",{className:"uppy-u-reset uppy-Dashboard-Item-progressIndicator",type:"button","aria-label":i(e),title:i(e),onClick:()=>function(e){e.isUploaded||(!e.error||e.hideRetryButton?e.resumableUploads&&!e.hidePauseResumeButton?e.uppy.pauseResume(e.file.id):e.individualCancellation&&!e.hideCancelButton&&e.uppy.removeFile(e.file.id):e.uppy.retryUpload(e.file.id))}(e)},e.children))}function s(e){let{children:t}=e;return(0,r.h)("svg",{"aria-hidden":"true",focusable:"false",width:"70",height:"70",viewBox:"0 0 36 36",className:"uppy-c-icon uppy-Dashboard-Item-progressIcon--circle"},t)}function a(e){let{progress:t}=e;const n=2*Math.PI*15;return(0,r.h)("g",null,(0,r.h)("circle",{className:"uppy-Dashboard-Item-progressIcon--bg",r:"15",cx:"18",cy:"18","stroke-width":"2",fill:"none"}),(0,r.h)("circle",{className:"uppy-Dashboard-Item-progressIcon--progress",r:"15",cx:"18",cy:"18",transform:"rotate(-90, 18, 18)",fill:"none","stroke-width":"2","stroke-dasharray":n,"stroke-dashoffset":n-n/100*t}))}e.exports=function(e){return e.file.progress.uploadStarted?e.isUploaded?(0,r.h)("div",{className:"uppy-Dashboard-Item-progress"},(0,r.h)("div",{className:"uppy-Dashboard-Item-progressIndicator"},(0,r.h)(s,null,(0,r.h)("circle",{r:"15",cx:"18",cy:"18",fill:"#1bb240"}),(0,r.h)("polygon",{className:"uppy-Dashboard-Item-progressIcon--check",transform:"translate(2, 3)",points:"14 22.5 7 15.2457065 8.99985857 13.1732815 14 18.3547104 22.9729883 9 25 11.1005634"})))):e.recoveredState?void 0:e.error&&!e.hideRetryButton?(0,r.h)(o,e,(0,r.h)("svg",{"aria-hidden":"true",focusable:"false",className:"uppy-c-icon uppy-Dashboard-Item-progressIcon--retry",width:"28",height:"31",viewBox:"0 0 16 19"},(0,r.h)("path",{d:"M16 11a8 8 0 1 1-8-8v2a6 6 0 1 0 6 6h2z"}),(0,r.h)("path",{d:"M7.9 3H10v2H7.9z"}),(0,r.h)("path",{d:"M8.536.5l3.535 3.536-1.414 1.414L7.12 1.914z"}),(0,r.h)("path",{d:"M10.657 2.621l1.414 1.415L8.536 7.57 7.12 6.157z"}))):e.resumableUploads&&!e.hidePauseResumeButton?(0,r.h)(o,e,(0,r.h)(s,null,(0,r.h)(a,{progress:e.file.progress.percentage}),e.file.isPaused?(0,r.h)("polygon",{className:"uppy-Dashboard-Item-progressIcon--play",transform:"translate(3, 3)",points:"12 20 12 10 20 15"}):(0,r.h)("g",{className:"uppy-Dashboard-Item-progressIcon--pause",transform:"translate(14.5, 13)"},(0,r.h)("rect",{x:"0",y:"0",width:"2",height:"10",rx:"0"}),(0,r.h)("rect",{x:"5",y:"0",width:"2",height:"10",rx:"0"})))):e.resumableUploads||!e.individualCancellation||e.hideCancelButton?(0,r.h)("div",{className:"uppy-Dashboard-Item-progress"},(0,r.h)("div",{className:"uppy-Dashboard-Item-progressIndicator"},(0,r.h)(s,null,(0,r.h)(a,{progress:e.file.progress.percentage})))):(0,r.h)(o,e,(0,r.h)(s,null,(0,r.h)(a,{progress:e.file.progress.percentage}),(0,r.h)("polygon",{className:"cancel",transform:"translate(2, 2)",points:"19.8856516 11.0625 16 14.9481516 12.1019737 11.0625 11.0625 12.1143484 14.9481516 16 11.0625 19.8980263 12.1019737 20.9375 16 17.0518484 19.8856516 20.9375 20.9375 19.8980263 17.0518484 16 20.9375 12"}))):null}},89435:function(e,t,n){"use strict";var r=n(33847);e.exports=function(e){const{file:t,toggleFileCard:n,i18n:i,metaFields:o}=e,{missingRequiredMetaFields:s}=t;if(null==s||!s.length)return null;const a=s.map((e=>((e,t)=>t.filter((t=>t.id===e))[0].name)(e,o))).join(", ");return(0,r.h)("div",{className:"uppy-Dashboard-Item-errorMessage"},i("missingRequiredMetaFields",{smart_count:s.length,fields:a})," ",(0,r.h)("button",{type:"button",class:"uppy-u-reset uppy-Dashboard-Item-errorMessageBtn",onClick:()=>n(!0,t.id)},i("editFile")))}},49977:function(e,t,n){"use strict";var r=n(33847);const i=n(72779),o=n(98843),s=n(44791),a=n(71232),u=n(69933),l=n(94072);class c extends r.Component{componentDidMount(){const{file:e}=this.props;e.preview||this.props.handleRequestThumbnail(e)}shouldComponentUpdate(e){return!o(this.props,e)}componentDidUpdate(){const{file:e}=this.props;e.preview||this.props.handleRequestThumbnail(e)}componentWillUnmount(){const{file:e}=this.props;e.preview||this.props.handleCancelThumbnail(e)}render(){const{file:e}=this.props,t=e.progress.preprocess||e.progress.postprocess,n=e.progress.uploadComplete&&!t&&!e.error,o=e.progress.uploadStarted||t,c=e.progress.uploadStarted&&!e.progress.uploadComplete||t,f=e.error||!1,{isGhost:h}=e;let p=(this.props.individualCancellation||!c)&&!n;n&&this.props.showRemoveButtonAfterComplete&&(p=!0);const d=i({"uppy-Dashboard-Item":!0,"is-inprogress":c&&!this.props.recoveredState,"is-processing":t,"is-complete":n,"is-error":!!f,"is-resumable":this.props.resumableUploads,"is-noIndividualCancellation":!this.props.individualCancellation,"is-ghost":h});return(0,r.h)("div",{className:d,id:`uppy_${e.id}`,role:this.props.role},(0,r.h)("div",{className:"uppy-Dashboard-Item-preview"},(0,r.h)(s,{file:e,showLinkToFileUploadResult:this.props.showLinkToFileUploadResult,i18n:this.props.i18n,toggleFileCard:this.props.toggleFileCard,metaFields:this.props.metaFields}),(0,r.h)(a,{uppy:this.props.uppy,file:e,error:f,isUploaded:n,hideRetryButton:this.props.hideRetryButton,hideCancelButton:this.props.hideCancelButton,hidePauseResumeButton:this.props.hidePauseResumeButton,recoveredState:this.props.recoveredState,showRemoveButtonAfterComplete:this.props.showRemoveButtonAfterComplete,resumableUploads:this.props.resumableUploads,individualCancellation:this.props.individualCancellation,i18n:this.props.i18n})),(0,r.h)("div",{className:"uppy-Dashboard-Item-fileInfoAndButtons"},(0,r.h)(u,{file:e,id:this.props.id,acquirers:this.props.acquirers,containerWidth:this.props.containerWidth,i18n:this.props.i18n,toggleAddFilesPanel:this.props.toggleAddFilesPanel,toggleFileCard:this.props.toggleFileCard,metaFields:this.props.metaFields}),(0,r.h)(l,{file:e,metaFields:this.props.metaFields,showLinkToFileUploadResult:this.props.showLinkToFileUploadResult,showRemoveButton:p,canEditFile:this.props.canEditFile,uploadInProgressOrComplete:o,toggleFileCard:this.props.toggleFileCard,openFileEditor:this.props.openFileEditor,uppy:this.props.uppy,i18n:this.props.i18n})))}}e.exports=c},7809:function(e,t,n){"use strict";var r=n(33847);function i(){return i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i.apply(this,arguments)}const o=n(72779),s=n(49977),a=n(3020);e.exports=e=>{const t=0===e.totalFileCount,n=o("uppy-Dashboard-files",{"uppy-Dashboard-files--noFiles":t}),u=1===e.itemsPerRow?71:200,l={id:e.id,error:e.error,i18n:e.i18n,uppy:e.uppy,acquirers:e.acquirers,resumableUploads:e.resumableUploads,individualCancellation:e.individualCancellation,hideRetryButton:e.hideRetryButton,hidePauseResumeButton:e.hidePauseResumeButton,hideCancelButton:e.hideCancelButton,showLinkToFileUploadResult:e.showLinkToFileUploadResult,showRemoveButtonAfterComplete:e.showRemoveButtonAfterComplete,isWide:e.isWide,metaFields:e.metaFields,recoveredState:e.recoveredState,toggleFileCard:e.toggleFileCard,handleRequestThumbnail:e.handleRequestThumbnail,handleCancelThumbnail:e.handleCancelThumbnail},c=Object.keys(e.files);e.recoveredState&&c.sort(((t,n)=>e.files[n].isGhost-e.files[t].isGhost));const f=function(e,t){const n=[];let r=[];return e.forEach((e=>{r.length<t?r.push(e):(n.push(r),r=[e])})),r.length&&n.push(r),n}(c,e.itemsPerRow);return(0,r.h)(a,{class:n,role:"list",data:f,renderRow:t=>(0,r.h)("div",{role:"presentation",key:t[0]},t.map((t=>(0,r.h)(s,i({key:t,uppy:e.uppy},l,{role:"listitem",openFileEditor:e.openFileEditor,canEditFile:e.canEditFile,toggleAddFilesPanel:e.toggleAddFilesPanel,file:e.files[t]}))))),rowHeight:u})}},39781:function(e,t,n){"use strict";var r=n(33847);const i=n(13488);e.exports=function(e){const{file:t}=e;if(t.preview)return(0,r.h)("img",{className:"uppy-Dashboard-Item-previewImg",alt:t.name,src:t.preview});const{color:n,icon:o}=i(t.type);return(0,r.h)("div",{className:"uppy-Dashboard-Item-previewIconWrap"},(0,r.h)("span",{className:"uppy-Dashboard-Item-previewIcon",style:{color:n}},o),(0,r.h)("svg",{"aria-hidden":"true",focusable:"false",className:"uppy-Dashboard-Item-previewIconBg",width:"58",height:"76",viewBox:"0 0 58 76"},(0,r.h)("rect",{fill:"#FFF",width:"58",height:"76",rx:"3",fillRule:"evenodd"})))}},88538:function(e,t,n){"use strict";var r=n(33847);const i=n(72779),o=n(45790);e.exports=function(e){let{activePickerPanel:t,className:n,hideAllPanels:s,i18n:a,state:u,uppy:l}=e;return(0,r.h)("div",{className:i("uppy-DashboardContent-panel",n),role:"tabpanel","data-uppy-panelType":"PickerPanel",id:`uppy-DashboardContent-panel--${t.id}`,onDragOver:o,onDragLeave:o,onDrop:o,onPaste:o},(0,r.h)("div",{className:"uppy-DashboardContent-bar"},(0,r.h)("div",{className:"uppy-DashboardContent-title",role:"heading","aria-level":"1"},a("importFrom",{name:t.name})),(0,r.h)("button",{className:"uppy-DashboardContent-back",type:"button",onClick:s},a("cancel"))),(0,r.h)("div",{className:"uppy-DashboardContent-panelBody"},l.getPlugin(t.id).render(u)))}},15035:function(e,t,n){"use strict";var r=n(33847);const i="error",o="waiting",s="preprocessing",a="uploading",u="postprocessing",l="complete",c="paused";function f(e){let{files:t,i18n:n,isAllComplete:r,isAllErrored:f,isAllPaused:h,inProgressNotPausedFiles:p,newFiles:d,processingFiles:m}=e;const g=function(e,t,n,r){if(void 0===r&&(r={}),e)return i;if(t)return l;if(n)return c;let f=o;const h=Object.keys(r);for(let e=0;e<h.length;e++){const{progress:t}=r[h[e]];if(t.uploadStarted&&!t.uploadComplete)return a;t.preprocess&&f!==a&&(f=s),t.postprocess&&f!==a&&f!==s&&(f=u)}return f}(f,r,h,t);switch(g){case"uploading":return n("uploadingXFiles",{smart_count:p.length});case"preprocessing":case"postprocessing":return n("processingXFiles",{smart_count:m.length});case"paused":return n("uploadPaused");case"waiting":return n("xFilesSelected",{smart_count:d.length});case"complete":return n("uploadComplete")}}e.exports=function(e){const{i18n:t,isAllComplete:n,hideCancelButton:i,maxNumberOfFiles:o,toggleAddFilesPanel:s,uppy:a}=e;let{allowNewUpload:u}=e;return u&&o&&(u=e.totalFileCount<e.maxNumberOfFiles),(0,r.h)("div",{className:"uppy-DashboardContent-bar"},n||i?(0,r.h)("div",null):(0,r.h)("button",{className:"uppy-DashboardContent-back",type:"button",onClick:()=>a.cancelAll()},t("cancel")),(0,r.h)("div",{className:"uppy-DashboardContent-title",role:"heading","aria-level":"1"},(0,r.h)(f,e)),u?(0,r.h)("button",{className:"uppy-DashboardContent-addMore",type:"button","aria-label":t("addMoreFiles"),title:t("addMoreFiles"),onClick:()=>s(!0)},(0,r.h)("svg",{"aria-hidden":"true",focusable:"false",className:"uppy-c-icon",width:"15",height:"15",viewBox:"0 0 15 15"},(0,r.h)("path",{d:"M8 6.5h6a.5.5 0 0 1 .5.5v.5a.5.5 0 0 1-.5.5H8v6a.5.5 0 0 1-.5.5H7a.5.5 0 0 1-.5-.5V8h-6a.5.5 0 0 1-.5-.5V7a.5.5 0 0 1 .5-.5h6v-6A.5.5 0 0 1 7 0h.5a.5.5 0 0 1 .5.5v6z"})),(0,r.h)("span",{className:"uppy-DashboardContent-addMoreCaption"},t("addMore"))):(0,r.h)("div",null))}},53268:function(e,t,n){"use strict";var r=n(33847);const i=n(72779),o="uppy-transition-slideDownUp";class s extends r.Component{constructor(e){super(e),this.state={cachedChildren:null,className:""}}componentWillUpdate(e){const{cachedChildren:t}=this.state,n=(0,r.toChildArray)(e.children)[0];if(t===n)return null;const i={cachedChildren:n};n&&!t&&(i.className=`${o}-enter`,cancelAnimationFrame(this.animationFrame),clearTimeout(this.leaveTimeout),this.leaveTimeout=void 0,this.animationFrame=requestAnimationFrame((()=>{this.setState({className:`${o}-enter ${o}-enter-active`}),this.enterTimeout=setTimeout((()=>{this.setState({className:""})}),250)}))),t&&!n&&void 0===this.leaveTimeout&&(i.cachedChildren=t,i.className=`${o}-leave`,cancelAnimationFrame(this.animationFrame),clearTimeout(this.enterTimeout),this.enterTimeout=void 0,this.animationFrame=requestAnimationFrame((()=>{this.setState({className:`${o}-leave ${o}-leave-active`}),this.leaveTimeout=setTimeout((()=>{this.setState({cachedChildren:null,className:""})}),250)}))),this.setState(i)}render(){const{cachedChildren:e,className:t}=this.state;return e?(0,r.cloneElement)(e,{className:i(t,e.props.className)}):null}}e.exports=s},3020:function(e,t,n){"use strict";var r=n(33847);function i(){return i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i.apply(this,arguments)}const o={position:"relative",width:"100%",minHeight:"100%"},s={position:"absolute",top:0,left:0,width:"100%",overflow:"visible"};class a extends r.Component{constructor(e){super(e),this.handleScroll=()=>{this.setState({offset:this.base.scrollTop})},this.handleResize=()=>{this.resize()},this.focusElement=null,this.state={offset:0,height:0}}componentDidMount(){this.resize(),window.addEventListener("resize",this.handleResize)}componentWillUpdate(){this.base.contains(document.activeElement)&&(this.focusElement=document.activeElement)}componentDidUpdate(){this.focusElement&&this.focusElement.parentNode&&document.activeElement!==this.focusElement&&this.focusElement.focus(),this.focusElement=null,this.resize()}componentWillUnmount(){window.removeEventListener("resize",this.handleResize)}resize(){const{height:e}=this.state;e!==this.base.offsetHeight&&this.setState({height:this.base.offsetHeight})}render(e){let{data:t,rowHeight:n,renderRow:a,overscanCount:u=10,...l}=e;const{offset:c,height:f}=this.state;let h=Math.floor(c/n),p=Math.floor(f/n);u&&(h=Math.max(0,h-h%u),p+=u);const d=h+p+4,m=t.slice(h,d),g={...o,height:t.length*n},v={...s,top:h*n};return(0,r.h)("div",i({onScroll:this.handleScroll},l),(0,r.h)("div",{role:"presentation",style:g},(0,r.h)("div",{role:"presentation",style:v},m.map(a))))}}e.exports=a},72167:function(e,t,n){"use strict";e.exports=n(31660)},27600:function(e){"use strict";e.exports={strings:{closeModal:"Close Modal",addMoreFiles:"Add more files",addingMoreFiles:"Adding more files",importFrom:"Import from %{name}",dashboardWindowTitle:"Uppy Dashboard Window (Press escape to close)",dashboardTitle:"Uppy Dashboard",copyLinkToClipboardSuccess:"Link copied to clipboard.",copyLinkToClipboardFallback:"Copy the URL below",copyLink:"Copy link",back:"Back",removeFile:"Remove file",editFile:"Edit file",editing:"Editing %{file}",finishEditingFile:"Finish editing file",saveChanges:"Save changes",myDevice:"My Device",dropHint:"Drop your files here",uploadComplete:"Upload complete",uploadPaused:"Upload paused",resumeUpload:"Resume upload",pauseUpload:"Pause upload",retryUpload:"Retry upload",cancelUpload:"Cancel upload",xFilesSelected:{0:"%{smart_count} file selected",1:"%{smart_count} files selected"},uploadingXFiles:{0:"Uploading %{smart_count} file",1:"Uploading %{smart_count} files"},processingXFiles:{0:"Processing %{smart_count} file",1:"Processing %{smart_count} files"},poweredBy:"Powered by %{uppy}",addMore:"Add more",editFileWithFilename:"Edit file %{file}",save:"Save",cancel:"Cancel",dropPasteFiles:"Drop files here or %{browseFiles}",dropPasteFolders:"Drop files here or %{browseFolders}",dropPasteBoth:"Drop files here, %{browseFiles} or %{browseFolders}",dropPasteImportFiles:"Drop files here, %{browseFiles} or import from:",dropPasteImportFolders:"Drop files here, %{browseFolders} or import from:",dropPasteImportBoth:"Drop files here, %{browseFiles}, %{browseFolders} or import from:",importFiles:"Import files from:",browseFiles:"browse files",browseFolders:"browse folders",recoveredXFiles:{0:"We could not fully recover 1 file. Please re-select it and resume the upload.",1:"We could not fully recover %{smart_count} files. Please re-select them and resume the upload."},recoveredAllFiles:"We restored all files. You can now resume the upload.",sessionRestored:"Session restored",reSelect:"Re-select",missingRequiredMetaFields:{0:"Missing required meta field: %{fields}.",1:"Missing required meta fields: %{fields}."}}}},13914:function(e){"use strict";e.exports=function(e,t){return t||(t="Copy the URL below"),new Promise((n=>{const r=document.createElement("textarea");r.setAttribute("style",{position:"fixed",top:0,left:0,width:"2em",height:"2em",padding:0,border:"none",outline:"none",boxShadow:"none",background:"transparent"}),r.value=e,document.body.appendChild(r),r.select();const i=()=>{document.body.removeChild(r),window.prompt(t,e),n()};try{return document.execCommand("copy")?(document.body.removeChild(r),n()):i()}catch(e){return document.body.removeChild(r),i()}}))}},42748:function(e,t,n){"use strict";const r=n(80594),i=n(20872),o=n(62708);e.exports=function(){let e=!1;return r(((t,n)=>{const r=o(t,n),s=r.contains(document.activeElement);if(s&&e)return;const a=r.querySelector("[data-uppy-super-focusable]");if(!s||a)if(a)a.focus({preventScroll:!0}),e=!0;else{const t=r.querySelector(i);null==t||t.focus({preventScroll:!0}),e=!1}}),260)}},62708:function(e){"use strict";e.exports=function(e,t){if(t){const n=e.querySelector(`[data-uppy-paneltype="${t}"]`);if(n)return n}return e}},13488:function(e,t,n){"use strict";var r=n(33847);e.exports=function(e){const t={color:"#838999",icon:(0,r.h)("svg",{"aria-hidden":"true",focusable:"false",className:"uppy-c-icon",width:"25",height:"25",viewBox:"0 0 25 25"},(0,r.h)("g",{fill:"#A7AFB7",fillRule:"nonzero"},(0,r.h)("path",{d:"M5.5 22a.5.5 0 0 1-.5-.5v-18a.5.5 0 0 1 .5-.5h10.719a.5.5 0 0 1 .367.16l3.281 3.556a.5.5 0 0 1 .133.339V21.5a.5.5 0 0 1-.5.5h-14zm.5-1h13V7.25L16 4H6v17z"}),(0,r.h)("path",{d:"M15 4v3a1 1 0 0 0 1 1h3V7h-3V4h-1z"})))};if(!e)return t;const n=e.split("/")[0],i=e.split("/")[1];return"text"===n?{color:"#5a5e69",icon:(0,r.h)("svg",{"aria-hidden":"true",focusable:"false",className:"uppy-c-icon",width:"25",height:"25",viewBox:"0 0 25 25"},(0,r.h)("path",{d:"M4.5 7h13a.5.5 0 1 1 0 1h-13a.5.5 0 0 1 0-1zm0 3h15a.5.5 0 1 1 0 1h-15a.5.5 0 1 1 0-1zm0 3h15a.5.5 0 1 1 0 1h-15a.5.5 0 1 1 0-1zm0 3h10a.5.5 0 1 1 0 1h-10a.5.5 0 1 1 0-1z",fill:"#5A5E69",fillRule:"nonzero"}))}:"image"===n?{color:"#686de0",icon:(0,r.h)("svg",{"aria-hidden":"true",focusable:"false",width:"25",height:"25",viewBox:"0 0 25 25"},(0,r.h)("g",{fill:"#686DE0",fillRule:"evenodd"},(0,r.h)("path",{d:"M5 7v10h15V7H5zm0-1h15a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1z",fillRule:"nonzero"}),(0,r.h)("path",{d:"M6.35 17.172l4.994-5.026a.5.5 0 0 1 .707 0l2.16 2.16 3.505-3.505a.5.5 0 0 1 .707 0l2.336 2.31-.707.72-1.983-1.97-3.505 3.505a.5.5 0 0 1-.707 0l-2.16-2.159-3.938 3.939-1.409.026z",fillRule:"nonzero"}),(0,r.h)("circle",{cx:"7.5",cy:"9.5",r:"1.5"})))}:"audio"===n?{color:"#068dbb",icon:(0,r.h)("svg",{"aria-hidden":"true",focusable:"false",className:"uppy-c-icon",width:"25",height:"25",viewBox:"0 0 25 25"},(0,r.h)("path",{d:"M9.5 18.64c0 1.14-1.145 2-2.5 2s-2.5-.86-2.5-2c0-1.14 1.145-2 2.5-2 .557 0 1.079.145 1.5.396V7.25a.5.5 0 0 1 .379-.485l9-2.25A.5.5 0 0 1 18.5 5v11.64c0 1.14-1.145 2-2.5 2s-2.5-.86-2.5-2c0-1.14 1.145-2 2.5-2 .557 0 1.079.145 1.5.396V8.67l-8 2v7.97zm8-11v-2l-8 2v2l8-2zM7 19.64c.855 0 1.5-.484 1.5-1s-.645-1-1.5-1-1.5.484-1.5 1 .645 1 1.5 1zm9-2c.855 0 1.5-.484 1.5-1s-.645-1-1.5-1-1.5.484-1.5 1 .645 1 1.5 1z",fill:"#049BCF",fillRule:"nonzero"}))}:"video"===n?{color:"#19af67",icon:(0,r.h)("svg",{"aria-hidden":"true",focusable:"false",className:"uppy-c-icon",width:"25",height:"25",viewBox:"0 0 25 25"},(0,r.h)("path",{d:"M16 11.834l4.486-2.691A1 1 0 0 1 22 10v6a1 1 0 0 1-1.514.857L16 14.167V17a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V9a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v2.834zM15 9H5v8h10V9zm1 4l5 3v-6l-5 3z",fill:"#19AF67",fillRule:"nonzero"}))}:"application"===n&&"pdf"===i?{color:"#e25149",icon:(0,r.h)("svg",{"aria-hidden":"true",focusable:"false",className:"uppy-c-icon",width:"25",height:"25",viewBox:"0 0 25 25"},(0,r.h)("path",{d:"M9.766 8.295c-.691-1.843-.539-3.401.747-3.726 1.643-.414 2.505.938 2.39 3.299-.039.79-.194 1.662-.537 3.148.324.49.66.967 1.055 1.51.17.231.382.488.629.757 1.866-.128 3.653.114 4.918.655 1.487.635 2.192 1.685 1.614 2.84-.566 1.133-1.839 1.084-3.416.249-1.141-.604-2.457-1.634-3.51-2.707a13.467 13.467 0 0 0-2.238.426c-1.392 4.051-4.534 6.453-5.707 4.572-.986-1.58 1.38-4.206 4.914-5.375.097-.322.185-.656.264-1.001.08-.353.306-1.31.407-1.737-.678-1.059-1.2-2.031-1.53-2.91zm2.098 4.87c-.033.144-.068.287-.104.427l.033-.01-.012.038a14.065 14.065 0 0 1 1.02-.197l-.032-.033.052-.004a7.902 7.902 0 0 1-.208-.271c-.197-.27-.38-.526-.555-.775l-.006.028-.002-.003c-.076.323-.148.632-.186.8zm5.77 2.978c1.143.605 1.832.632 2.054.187.26-.519-.087-1.034-1.113-1.473-.911-.39-2.175-.608-3.55-.608.845.766 1.787 1.459 2.609 1.894zM6.559 18.789c.14.223.693.16 1.425-.413.827-.648 1.61-1.747 2.208-3.206-2.563 1.064-4.102 2.867-3.633 3.62zm5.345-10.97c.088-1.793-.351-2.48-1.146-2.28-.473.119-.564 1.05-.056 2.405.213.566.52 1.188.908 1.859.18-.858.268-1.453.294-1.984z",fill:"#E2514A",fillRule:"nonzero"}))}:"application"===n&&-1!==["zip","x-7z-compressed","x-rar-compressed","x-tar","x-gzip","x-apple-diskimage"].indexOf(i)?{color:"#00C469",icon:(0,r.h)("svg",{"aria-hidden":"true",focusable:"false",width:"25",height:"25",viewBox:"0 0 25 25"},(0,r.h)("path",{d:"M10.45 2.05h1.05a.5.5 0 0 1 .5.5v.024a.5.5 0 0 1-.5.5h-1.05a.5.5 0 0 1-.5-.5V2.55a.5.5 0 0 1 .5-.5zm2.05 1.024h1.05a.5.5 0 0 1 .5.5V3.6a.5.5 0 0 1-.5.5H12.5a.5.5 0 0 1-.5-.5v-.025a.5.5 0 0 1 .5-.5v-.001zM10.45 0h1.05a.5.5 0 0 1 .5.5v.025a.5.5 0 0 1-.5.5h-1.05a.5.5 0 0 1-.5-.5V.5a.5.5 0 0 1 .5-.5zm2.05 1.025h1.05a.5.5 0 0 1 .5.5v.024a.5.5 0 0 1-.5.5H12.5a.5.5 0 0 1-.5-.5v-.024a.5.5 0 0 1 .5-.5zm-2.05 3.074h1.05a.5.5 0 0 1 .5.5v.025a.5.5 0 0 1-.5.5h-1.05a.5.5 0 0 1-.5-.5v-.025a.5.5 0 0 1 .5-.5zm2.05 1.025h1.05a.5.5 0 0 1 .5.5v.024a.5.5 0 0 1-.5.5H12.5a.5.5 0 0 1-.5-.5v-.024a.5.5 0 0 1 .5-.5zm-2.05 1.024h1.05a.5.5 0 0 1 .5.5v.025a.5.5 0 0 1-.5.5h-1.05a.5.5 0 0 1-.5-.5v-.025a.5.5 0 0 1 .5-.5zm2.05 1.025h1.05a.5.5 0 0 1 .5.5v.025a.5.5 0 0 1-.5.5H12.5a.5.5 0 0 1-.5-.5v-.025a.5.5 0 0 1 .5-.5zm-2.05 1.025h1.05a.5.5 0 0 1 .5.5v.025a.5.5 0 0 1-.5.5h-1.05a.5.5 0 0 1-.5-.5v-.025a.5.5 0 0 1 .5-.5zm2.05 1.025h1.05a.5.5 0 0 1 .5.5v.024a.5.5 0 0 1-.5.5H12.5a.5.5 0 0 1-.5-.5v-.024a.5.5 0 0 1 .5-.5zm-1.656 3.074l-.82 5.946c.52.302 1.174.458 1.976.458.803 0 1.455-.156 1.975-.458l-.82-5.946h-2.311zm0-1.025h2.312c.512 0 .946.378 1.015.885l.82 5.946c.056.412-.142.817-.501 1.026-.686.398-1.515.597-2.49.597-.974 0-1.804-.199-2.49-.597a1.025 1.025 0 0 1-.5-1.026l.819-5.946c.07-.507.503-.885 1.015-.885zm.545 6.6a.5.5 0 0 1-.397-.561l.143-.999a.5.5 0 0 1 .495-.429h.74a.5.5 0 0 1 .495.43l.143.998a.5.5 0 0 1-.397.561c-.404.08-.819.08-1.222 0z",fill:"#00C469",fillRule:"nonzero"}))}:t}},45790:function(e){"use strict";e.exports=function(e){const{tagName:t}=e.target;"INPUT"!==t&&"TEXTAREA"!==t?(e.preventDefault(),e.stopPropagation()):e.stopPropagation()}},61330:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.forInline=function(e,t,n){null===t||a(e,t,n)},t.forModal=a;const r=n(1886),i=n(20872),o=n(62708);function s(e,t){const n=t[0];n&&(n.focus(),e.preventDefault())}function a(e,t,n){const a=o(n,t),u=r(a.querySelectorAll(i)),l=u.indexOf(document.activeElement);!function(e){return e.contains(document.activeElement)}(a)?s(e,u):e.shiftKey&&0===l?function(e,t){const n=t[t.length-1];n&&(n.focus(),e.preventDefault())}(e,u):e.shiftKey||l!==u.length-1||s(e,u)}},700:function(e,t,n){"use strict";var r=n(42127),i=n(33847);const o=n(1886),s=n(75891),a=n(13764),u=n(36118);class l extends r.UIPlugin{constructor(e,t){super(e,t),this.handleDrop=async e=>{var t,n;e.preventDefault(),e.stopPropagation(),clearTimeout(this.removeDragOverClassTimeout),this.setPluginState({isDraggingOver:!1});const r=await a(e.dataTransfer,{logDropError:e=>{this.uppy.log(e,"error")}});r.length>0&&(this.uppy.log("[DragDrop] Files dropped"),this.addFiles(r)),null==(t=(n=this.opts).onDrop)||t.call(n,e)},this.type="acquirer",this.id=this.opts.id||"DragDrop",this.title="Drag & Drop",this.defaultLocale=u,this.opts={target:null,inputName:"files[]",width:"100%",height:"100%",note:null,...t},this.i18nInit(),this.isDragDropSupported=s(),this.removeDragOverClassTimeout=null,this.onInputChange=this.onInputChange.bind(this),this.handleDragOver=this.handleDragOver.bind(this),this.handleDragLeave=this.handleDragLeave.bind(this),this.handleDrop=this.handleDrop.bind(this),this.addFiles=this.addFiles.bind(this),this.render=this.render.bind(this)}addFiles(e){const t=e.map((e=>({source:this.id,name:e.name,type:e.type,data:e,meta:{relativePath:e.relativePath||null}})));try{this.uppy.addFiles(t)}catch(e){this.uppy.log(e)}}onInputChange(e){const t=o(e.target.files);t.length>0&&(this.uppy.log("[DragDrop] Files selected through input"),this.addFiles(t)),e.target.value=null}handleDragOver(e){var t,n;e.preventDefault(),e.stopPropagation();const{types:r}=e.dataTransfer,i=r.some((e=>"Files"===e)),{allowNewUpload:o}=this.uppy.getState();if(!i||!o)return e.dataTransfer.dropEffect="none",void clearTimeout(this.removeDragOverClassTimeout);e.dataTransfer.dropEffect="copy",clearTimeout(this.removeDragOverClassTimeout),this.setPluginState({isDraggingOver:!0}),null==(t=(n=this.opts).onDragOver)||t.call(n,e)}handleDragLeave(e){var t,n;e.preventDefault(),e.stopPropagation(),clearTimeout(this.removeDragOverClassTimeout),this.removeDragOverClassTimeout=setTimeout((()=>{this.setPluginState({isDraggingOver:!1})}),50),null==(t=(n=this.opts).onDragLeave)||t.call(n,e)}renderHiddenFileInput(){const{restrictions:e}=this.uppy.opts;return(0,i.h)("input",{className:"uppy-DragDrop-input",type:"file",hidden:!0,ref:e=>{this.fileInputRef=e},name:this.opts.inputName,multiple:1!==e.maxNumberOfFiles,accept:e.allowedFileTypes,onChange:this.onInputChange})}static renderArrowSvg(){return(0,i.h)("svg",{"aria-hidden":"true",focusable:"false",className:"uppy-c-icon uppy-DragDrop-arrow",width:"16",height:"16",viewBox:"0 0 16 16"},(0,i.h)("path",{d:"M11 10V0H5v10H2l6 6 6-6h-3zm0 0",fillRule:"evenodd"}))}renderLabel(){return(0,i.h)("div",{className:"uppy-DragDrop-label"},this.i18nArray("dropHereOr",{browse:(0,i.h)("span",{className:"uppy-DragDrop-browse"},this.i18n("browse"))}))}renderNote(){return(0,i.h)("span",{className:"uppy-DragDrop-note"},this.opts.note)}render(){const e=`uppy-u-reset\n uppy-DragDrop-container\n ${this.isDragDropSupported?"uppy-DragDrop--isDragDropSupported":""}\n ${this.getPluginState().isDraggingOver?"uppy-DragDrop--isDraggingOver":""}\n `,t={width:this.opts.width,height:this.opts.height};return(0,i.h)("button",{type:"button",className:e,style:t,onClick:()=>this.fileInputRef.click(),onDragOver:this.handleDragOver,onDragLeave:this.handleDragLeave,onDrop:this.handleDrop},this.renderHiddenFileInput(),(0,i.h)("div",{className:"uppy-DragDrop-inner"},l.renderArrowSvg(),this.renderLabel(),this.renderNote()))}install(){const{target:e}=this.opts;this.setPluginState({isDraggingOver:!1}),e&&this.mount(e,this)}uninstall(){this.unmount()}}l.VERSION="2.1.2",e.exports=l},3026:function(e,t,n){"use strict";e.exports=n(700)},36118:function(e){"use strict";e.exports={strings:{dropHereOr:"Drop here or %{browse}",browse:"browse"}}},65630:function(e,t,n){"use strict";var r=n(42127),i=n(78729),o=n(50516),s=n(33847);const a=n(87098);class u extends r.UIPlugin{constructor(e,t){super(e,t),this.id=this.opts.id||"Dropbox",i.Provider.initPlugin(this,t),this.title=this.opts.title||"Dropbox",this.icon=()=>(0,s.h)("svg",{"aria-hidden":"true",focusable:"false",width:"32",height:"32",viewBox:"0 0 32 32"},(0,s.h)("g",{fill:"none",fillRule:"evenodd"},(0,s.h)("rect",{className:"uppy-ProviderIconBg",fill:"#0D2481",width:"32",height:"32",rx:"16"}),(0,s.h)("path",{d:"M11 8l5 3.185-5 3.186-5-3.186L11 8zm10 0l5 3.185-5 3.186-5-3.186L21 8zM6 17.556l5-3.185 5 3.185-5 3.186-5-3.186zm15-3.185l5 3.185-5 3.186-5-3.186 5-3.185zm-10 7.432l5-3.185 5 3.185-5 3.186-5-3.186z",fill:"#FFF",fillRule:"nonzero"}))),this.provider=new i.Provider(e,{companionUrl:this.opts.companionUrl,companionHeaders:this.opts.companionHeaders,companionKeysParams:this.opts.companionKeysParams,companionCookiesRule:this.opts.companionCookiesRule,provider:"dropbox",pluginId:this.id}),this.defaultLocale=a,this.i18nInit(),this.title=this.i18n("pluginNameDropbox"),this.onFirstRender=this.onFirstRender.bind(this),this.render=this.render.bind(this)}install(){this.view=new o.ProviderViews(this,{provider:this.provider});const{target:e}=this.opts;e&&this.mount(e,this)}uninstall(){this.view.tearDown(),this.unmount()}onFirstRender(){return Promise.all([this.provider.fetchPreAuthToken(),this.view.getFolder()])}render(e){return this.view.render(e)}}u.VERSION="2.0.8",e.exports=u},68348:function(e,t,n){"use strict";e.exports=n(65630)},87098:function(e){"use strict";e.exports={strings:{pluginNameDropbox:"Dropbox"}}},94967:function(e,t,n){"use strict";var r=n(42127),i=n(78729),o=n(50516),s=n(33847);const a=n(36701);class u extends r.UIPlugin{constructor(e,t){super(e,t),this.id=this.opts.id||"Facebook",i.Provider.initPlugin(this,t),this.title=this.opts.title||"Facebook",this.icon=()=>(0,s.h)("svg",{"aria-hidden":"true",focusable:"false",width:"32",height:"32",viewBox:"0 0 32 32"},(0,s.h)("g",{fill:"none",fillRule:"evenodd"},(0,s.h)("rect",{className:"uppy-ProviderIconBg",width:"32",height:"32",rx:"16",fill:"#3C5A99"}),(0,s.h)("path",{d:"M17.842 26v-8.667h2.653l.398-3.377h-3.051v-2.157c0-.978.248-1.644 1.527-1.644H21V7.132A19.914 19.914 0 0 0 18.623 7c-2.352 0-3.963 1.574-3.963 4.465v2.49H12v3.378h2.66V26h3.182z",fill:"#FFF",fillRule:"nonzero"}))),this.provider=new i.Provider(e,{companionUrl:this.opts.companionUrl,companionHeaders:this.opts.companionHeaders,companionKeysParams:this.opts.companionKeysParams,companionCookiesRule:this.opts.companionCookiesRule,provider:"facebook",pluginId:this.id}),this.defaultLocale=a,this.i18nInit(),this.title=this.i18n("pluginNameFacebook"),this.onFirstRender=this.onFirstRender.bind(this),this.render=this.render.bind(this)}install(){this.view=new o.ProviderViews(this,{provider:this.provider});const{target:e}=this.opts;e&&this.mount(e,this)}uninstall(){this.view.tearDown(),this.unmount()}onFirstRender(){return Promise.all([this.provider.fetchPreAuthToken(),this.view.getFolder()])}render(e){const t={};return this.getPluginState().files.length&&!this.getPluginState().folders.length&&(t.viewType="grid",t.showFilter=!1,t.showTitles=!1),this.view.render(e,t)}}u.VERSION="2.0.8",e.exports=u},92525:function(e,t,n){"use strict";e.exports=n(94967)},36701:function(e){"use strict";e.exports={strings:{pluginNameFacebook:"Facebook"}}},97545:function(e,t,n){"use strict";var r=n(42127),i=n(33847);const o=n(1886),s=n(71523);class a extends r.UIPlugin{constructor(e,t){super(e,t),this.id=this.opts.id||"FileInput",this.title="File Input",this.type="acquirer",this.defaultLocale=s,this.opts={target:null,pretty:!0,inputName:"files[]",...t},this.i18nInit(),this.render=this.render.bind(this),this.handleInputChange=this.handleInputChange.bind(this),this.handleClick=this.handleClick.bind(this)}addFiles(e){const t=e.map((e=>({source:this.id,name:e.name,type:e.type,data:e})));try{this.uppy.addFiles(t)}catch(e){this.uppy.log(e)}}handleInputChange(e){this.uppy.log("[FileInput] Something selected through input...");const t=o(e.target.files);this.addFiles(t),e.target.value=null}handleClick(){this.input.click()}render(){const{restrictions:e}=this.uppy.opts,t=e.allowedFileTypes?e.allowedFileTypes.join(","):null;return(0,i.h)("div",{className:"uppy-FileInput-container"},(0,i.h)("input",{className:"uppy-FileInput-input",style:this.opts.pretty&&{width:"0.1px",height:"0.1px",opacity:0,overflow:"hidden",position:"absolute",zIndex:-1},type:"file",name:this.opts.inputName,onChange:this.handleInputChange,multiple:1!==e.maxNumberOfFiles,accept:t,ref:e=>{this.input=e}}),this.opts.pretty&&(0,i.h)("button",{className:"uppy-FileInput-btn",type:"button",onClick:this.handleClick},this.i18n("chooseFiles")))}install(){const{target:e}=this.opts;e&&this.mount(e,this)}uninstall(){this.unmount()}}a.VERSION="2.1.2",e.exports=a},54702:function(e,t,n){"use strict";e.exports=n(97545)},71523:function(e){"use strict";e.exports={strings:{chooseFiles:"Choose files"}}},36225:function(e,t,n){"use strict";var r=n(50516);class i extends r.ProviderViews{toggleCheckbox(e,t){e.stopPropagation(),e.preventDefault(),t.custom.isSharedDrive||super.toggleCheckbox(e,t)}}e.exports=i},11118:function(e,t,n){"use strict";var r=n(42127),i=n(78729),o=n(33847);const s=n(36225),a=n(2969);class u extends r.UIPlugin{constructor(e,t){super(e,t),this.id=this.opts.id||"GoogleDrive",this.title=this.opts.title||"Google Drive",i.Provider.initPlugin(this,t),this.title=this.opts.title||"Google Drive",this.icon=()=>(0,o.h)("svg",{"aria-hidden":"true",focusable:"false",width:"32",height:"32",viewBox:"0 0 32 32"},(0,o.h)("g",{fill:"none",fillRule:"evenodd"},(0,o.h)("rect",{className:"uppy-ProviderIconBg",fill:"#4285F4",width:"32",height:"32",rx:"16"}),(0,o.h)("path",{d:"M25.216 17.736L19.043 7h-6.086l6.175 10.736h6.084zm-11.275.896L10.9 24h11.723l3.04-5.368H13.942zm-1.789-10.29l-5.816 10.29L9.38 24l5.905-10.29-3.132-5.369z",fill:"#FFF"}))),this.provider=new i.Provider(e,{companionUrl:this.opts.companionUrl,companionHeaders:this.opts.companionHeaders,companionKeysParams:this.opts.companionKeysParams,companionCookiesRule:this.opts.companionCookiesRule,provider:"drive",pluginId:this.id}),this.defaultLocale=a,this.i18nInit(),this.title=this.i18n("pluginNameGoogleDrive"),this.onFirstRender=this.onFirstRender.bind(this),this.render=this.render.bind(this)}install(){this.view=new s(this,{provider:this.provider});const{target:e}=this.opts;e&&this.mount(e,this)}uninstall(){this.view.tearDown(),this.unmount()}onFirstRender(){return Promise.all([this.provider.fetchPreAuthToken(),this.view.getFolder("root","/")])}render(e){return this.view.render(e)}}u.VERSION="2.1.2",e.exports=u},37466:function(e,t,n){"use strict";e.exports=n(11118)},2969:function(e){"use strict";e.exports={strings:{pluginNameGoogleDrive:"Google Drive"}}},63677:function(e,t,n){"use strict";var r=n(33847);class i extends r.Component{constructor(){super(...arguments),this.ref=(0,r.createRef)()}componentWillEnter(e){this.ref.current.style.opacity="1",this.ref.current.style.transform="none",setTimeout(e,300)}componentWillLeave(e){this.ref.current.style.opacity="0",this.ref.current.style.transform="translateY(350%)",setTimeout(e,300)}render(){const{children:e}=this.props;return(0,r.h)("div",{className:"uppy-Informer-animated",ref:this.ref},e)}}e.exports=i},59783:function(e,t,n){"use strict";var r=n(33847),i=n(42127);const o=n(63677),s=n(23065);class a extends i.UIPlugin{constructor(e,t){super(e,t),this.render=e=>(0,r.h)("div",{className:"uppy uppy-Informer"},(0,r.h)(s,null,e.info.map((e=>(0,r.h)(o,{key:e.message},(0,r.h)("p",{role:"alert"},e.message," ",e.details&&(0,r.h)("span",{"aria-label":e.details,"data-microtip-position":"top-left","data-microtip-size":"medium",role:"tooltip",onClick:()=>alert(`${e.message} \n\n ${e.details}`)},"?"))))))),this.type="progressindicator",this.id=this.opts.id||"Informer",this.title="Informer",this.opts={...t}}install(){const{target:e}=this.opts;e&&this.mount(e,this)}}a.VERSION="2.1.1",e.exports=a},23065:function(e,t,n){"use strict";var r=n(33847);function i(e,t){const n=e._ptgLinkedRefs||(e._ptgLinkedRefs={});return n[t]||(n[t]=n=>{e.refs[t]=n})}function o(e){const t={};for(let o=0;o<e.length;o++)null!=e[o]&&(t[(n=e[o],r=o.toString(36),void 0,null!=(i=null==n?void 0:n.key)?i:r)]=e[o]);var n,r,i;return t}function s(e,t){e=e||{},t=t||{};const n=n=>t.hasOwnProperty(n)?t[n]:e[n],r={};let i=[];for(const n in e)t.hasOwnProperty(n)?i.length&&(r[n]=i,i=[]):i.push(n);const o={};for(const e in t){if(r.hasOwnProperty(e))for(let t=0;t<r[e].length;t++){const i=r[e][t];o[r[e][t]]=n(i)}o[e]=n(e)}for(let e=0;e<i.length;e++)o[i[e]]=n(i[e]);return o}class a extends r.Component{constructor(e,t){super(e,t),this.refs={},this.state={children:o((0,r.toChildArray)((0,r.toChildArray)(this.props.children))||[])},this.performAppear=this.performAppear.bind(this),this.performEnter=this.performEnter.bind(this),this.performLeave=this.performLeave.bind(this)}componentWillMount(){this.currentlyTransitioningKeys={},this.keysToAbortLeave=[],this.keysToEnter=[],this.keysToLeave=[]}componentDidMount(){const e=this.state.children;for(const t in e)e[t]&&this.performAppear(t)}componentWillReceiveProps(e){const t=o((0,r.toChildArray)(e.children)||[]),n=this.state.children;let i;for(i in this.setState((e=>({children:s(e.children,t)}))),t)if(t.hasOwnProperty(i)){const e=n&&n.hasOwnProperty(i);t[i]&&e&&this.currentlyTransitioningKeys[i]?(this.keysToEnter.push(i),this.keysToAbortLeave.push(i)):!t[i]||e||this.currentlyTransitioningKeys[i]||this.keysToEnter.push(i)}for(i in n)if(n.hasOwnProperty(i)){const e=t&&t.hasOwnProperty(i);!n[i]||e||this.currentlyTransitioningKeys[i]||this.keysToLeave.push(i)}}componentDidUpdate(){const{keysToEnter:e}=this;this.keysToEnter=[],e.forEach(this.performEnter);const{keysToLeave:t}=this;this.keysToLeave=[],t.forEach(this.performLeave)}_finishAbort(e){const t=this.keysToAbortLeave.indexOf(e);-1!==t&&this.keysToAbortLeave.splice(t,1)}performAppear(e){this.currentlyTransitioningKeys[e]=!0;const t=this.refs[e];t.componentWillAppear?t.componentWillAppear(this._handleDoneAppearing.bind(this,e)):this._handleDoneAppearing(e)}_handleDoneAppearing(e){const t=this.refs[e];t.componentDidAppear&&t.componentDidAppear(),delete this.currentlyTransitioningKeys[e],this._finishAbort(e);const n=o((0,r.toChildArray)(this.props.children)||[]);n&&n.hasOwnProperty(e)||this.performLeave(e)}performEnter(e){this.currentlyTransitioningKeys[e]=!0;const t=this.refs[e];t.componentWillEnter?t.componentWillEnter(this._handleDoneEntering.bind(this,e)):this._handleDoneEntering(e)}_handleDoneEntering(e){const t=this.refs[e];t.componentDidEnter&&t.componentDidEnter(),delete this.currentlyTransitioningKeys[e],this._finishAbort(e);const n=o((0,r.toChildArray)(this.props.children)||[]);n&&n.hasOwnProperty(e)||this.performLeave(e)}performLeave(e){if(-1!==this.keysToAbortLeave.indexOf(e))return;this.currentlyTransitioningKeys[e]=!0;const t=this.refs[e];t.componentWillLeave?t.componentWillLeave(this._handleDoneLeaving.bind(this,e)):this._handleDoneLeaving(e)}_handleDoneLeaving(e){if(-1!==this.keysToAbortLeave.indexOf(e))return;const t=this.refs[e];t.componentDidLeave&&t.componentDidLeave(),delete this.currentlyTransitioningKeys[e];const n=o((0,r.toChildArray)(this.props.children)||[]);if(n&&n.hasOwnProperty(e))this.performEnter(e);else{const t=(i={},s=this.state.children,Object.assign(i,s));delete t[e],this.setState({children:t})}var i,s}render(e,t){let{childFactory:n,transitionLeave:o,transitionName:s,transitionAppear:a,transitionEnter:u,transitionLeaveTimeout:l,transitionEnterTimeout:c,transitionAppearTimeout:f,component:h,...p}=e,{children:d}=t;const m=[];for(const e in d)if(d.hasOwnProperty(e)){const t=d[e];if(t){const o=i(this,e),s=(0,r.cloneElement)(n(t),{ref:o,key:e});m.push(s)}}return(0,r.h)(h,p,m)}}a.defaultProps={component:"span",childFactory:e=>e},e.exports=a},67369:function(e,t,n){"use strict";e.exports=n(59783)},99193:function(e,t,n){"use strict";var r=n(33847),i=n(42127),o=n(78729),s=n(50516);const a=n(99421);class u extends i.UIPlugin{constructor(e,t){super(e,t),this.id=this.opts.id||"Instagram",o.Provider.initPlugin(this,t),this.icon=()=>(0,r.h)("svg",{"aria-hidden":"true",focusable:"false",width:"32",height:"32",viewBox:"0 0 32 32"},(0,r.h)("g",{fill:"none",fillRule:"evenodd"},(0,r.h)("rect",{className:"uppy-ProviderIconBg",fill:"#E1306C",width:"32",height:"32",rx:"16"}),(0,r.h)("path",{d:"M16 8.622c2.403 0 2.688.009 3.637.052.877.04 1.354.187 1.67.31.392.144.745.374 1.036.673.299.29.529.644.673 1.035.123.317.27.794.31 1.671.043.95.052 1.234.052 3.637s-.009 2.688-.052 3.637c-.04.877-.187 1.354-.31 1.671a2.98 2.98 0 0 1-1.708 1.708c-.317.123-.794.27-1.671.31-.95.043-1.234.053-3.637.053s-2.688-.01-3.637-.053c-.877-.04-1.354-.187-1.671-.31a2.788 2.788 0 0 1-1.035-.673 2.788 2.788 0 0 1-.673-1.035c-.123-.317-.27-.794-.31-1.671-.043-.949-.052-1.234-.052-3.637s.009-2.688.052-3.637c.04-.877.187-1.354.31-1.67.144-.392.374-.745.673-1.036.29-.299.644-.529 1.035-.673.317-.123.794-.27 1.671-.31.95-.043 1.234-.052 3.637-.052zM16 7c-2.444 0-2.75.01-3.71.054-.959.044-1.613.196-2.185.419-.6.225-1.145.58-1.594 1.038-.458.45-.813.993-1.039 1.594-.222.572-.374 1.226-.418 2.184C7.01 13.25 7 13.556 7 16s.01 2.75.054 3.71c.044.959.196 1.613.419 2.185.226.6.58 1.145 1.038 1.594.45.458.993.813 1.594 1.038.572.223 1.227.375 2.184.419.96.044 1.267.054 3.711.054s2.75-.01 3.71-.054c.959-.044 1.613-.196 2.185-.419a4.602 4.602 0 0 0 2.632-2.632c.223-.572.375-1.226.419-2.184.044-.96.054-1.267.054-3.711s-.01-2.75-.054-3.71c-.044-.959-.196-1.613-.419-2.185A4.412 4.412 0 0 0 23.49 8.51a4.412 4.412 0 0 0-1.594-1.039c-.572-.222-1.226-.374-2.184-.418C18.75 7.01 18.444 7 16 7zm0 4.5a4.5 4.5 0 1 0 0 9 4.5 4.5 0 0 0 0-9zm0 7.421a2.921 2.921 0 1 1 0-5.842 2.921 2.921 0 0 1 0 5.842zm4.875-6.671a1.125 1.125 0 1 1 0-2.25 1.125 1.125 0 0 1 0 2.25z",fill:"#FFF"}))),this.defaultLocale=a,this.i18nInit(),this.title=this.i18n("pluginNameInstagram"),this.provider=new o.Provider(e,{companionUrl:this.opts.companionUrl,companionHeaders:this.opts.companionHeaders,companionKeysParams:this.opts.companionKeysParams,companionCookiesRule:this.opts.companionCookiesRule,provider:"instagram",pluginId:this.id}),this.onFirstRender=this.onFirstRender.bind(this),this.render=this.render.bind(this)}install(){this.view=new s.ProviderViews(this,{provider:this.provider,viewType:"grid",showTitles:!1,showFilter:!1,showBreadcrumbs:!1});const{target:e}=this.opts;e&&this.mount(e,this)}uninstall(){this.view.tearDown(),this.unmount()}onFirstRender(){return Promise.all([this.provider.fetchPreAuthToken(),this.view.getFolder("recent")])}render(e){return this.view.render(e)}}u.VERSION="2.1.2",e.exports=u},9399:function(e,t,n){"use strict";e.exports=n(99193)},99421:function(e){"use strict";e.exports={strings:{pluginNameInstagram:"Instagram"}}},14536:function(e){"use strict";const t={pluralize(e){return 1===e?0:1},strings:{addBulkFilesFailed:{0:"Failed to add %{smart_count} file due to an internal error",1:"Failed to add %{smart_count} files due to internal errors"},addingMoreFiles:"Adding more files",addMore:"Add more",addMoreFiles:"Add more files",allFilesFromFolderNamed:"All files from folder %{name}",allowAccessDescription:"In order to take pictures or record video with your camera, please allow camera access for this site.",allowAccessTitle:"Please allow access to your camera",allowAudioAccessDescription:"In order to record audio, please allow microphone access for this site.",allowAudioAccessTitle:"Please allow access to your microphone",aspectRatioLandscape:"Crop landscape (16:9)",aspectRatioPortrait:"Crop portrait (9:16)",aspectRatioSquare:"Crop square",authAborted:"Authentication aborted",authenticateWith:"Connect to %{pluginName}",authenticateWithTitle:"Please authenticate with %{pluginName} to select files",back:"Back",browse:"browse",browseFiles:"browse files",browseFolders:"browse folders",cancel:"Cancel",cancelUpload:"Cancel upload",chooseFiles:"Choose files",closeModal:"Close Modal",companionError:"Connection with Companion failed",companionUnauthorizeHint:"To unauthorize to your %{provider} account, please go to %{url}",complete:"Complete",compressedX:"Saved %{size} by compressing images",compressingImages:"Compressing images...",connectedToInternet:"Connected to the Internet",copyLink:"Copy link",copyLinkToClipboardFallback:"Copy the URL below",copyLinkToClipboardSuccess:"Link copied to clipboard.",creatingAssembly:"Preparing upload...",creatingAssemblyFailed:"Transloadit: Could not create Assembly",dashboardTitle:"Uppy Dashboard",dashboardWindowTitle:"Uppy Dashboard Window (Press escape to close)",dataUploadedOfTotal:"%{complete} of %{total}",discardRecordedFile:"Discard recorded file",done:"Done",dropHereOr:"Drop here or %{browse}",dropHint:"Drop your files here",dropPasteBoth:"Drop files here, %{browseFiles} or %{browseFolders}",dropPasteFiles:"Drop files here or %{browseFiles}",dropPasteFolders:"Drop files here or %{browseFolders}",dropPasteImportBoth:"Drop files here, %{browseFiles}, %{browseFolders} or import from:",dropPasteImportFiles:"Drop files here, %{browseFiles} or import from:",dropPasteImportFolders:"Drop files here, %{browseFolders} or import from:",editFile:"Edit file",editFileWithFilename:"Edit file %{file}",editing:"Editing %{file}",emptyFolderAdded:"No files were added from empty folder",encoding:"Encoding...",enterCorrectUrl:"Incorrect URL: Please make sure you are entering a direct link to a file",enterTextToSearch:"Enter text to search for images",enterUrlToImport:"Enter URL to import a file",exceedsSize:"%{file} exceeds maximum allowed size of %{size}",failedToFetch:"Companion failed to fetch this URL, please make sure it’s correct",failedToUpload:"Failed to upload %{file}",filesUploadedOfTotal:{0:"%{complete} of %{smart_count} file uploaded",1:"%{complete} of %{smart_count} files uploaded"},filter:"Filter",finishEditingFile:"Finish editing file",flipHorizontal:"Flip horizontal",folderAdded:{0:"Added %{smart_count} file from %{folder}",1:"Added %{smart_count} files from %{folder}"},folderAlreadyAdded:'The folder "%{folder}" was already added',generatingThumbnails:"Generating thumbnails...",import:"Import",importFiles:"Import files from:",importFrom:"Import from %{name}",inferiorSize:"This file is smaller than the allowed size of %{size}",loading:"Loading...",logOut:"Log out",micDisabled:"Microphone access denied by user",missingRequiredMetaField:"Missing required meta fields",missingRequiredMetaFieldOnFile:"Missing required meta fields in %{fileName}",missingRequiredMetaFields:{0:"Missing required meta field: %{fields}.",1:"Missing required meta fields: %{fields}."},myDevice:"My Device",noAudioDescription:"In order to record audio, please connect a microphone or another audio input device",noAudioTitle:"Microphone Not Available",noCameraDescription:"In order to take pictures or record video, please connect a camera device",noCameraTitle:"Camera Not Available",noDuplicates:"Cannot add the duplicate file '%{fileName}', it already exists",noFilesFound:"You have no files or folders here",noInternetConnection:"No Internet connection",noMoreFilesAllowed:"Cannot add more files",openFolderNamed:"Open folder %{name}",pause:"Pause",paused:"Paused",pauseUpload:"Pause upload",pluginNameAudio:"Audio",pluginNameBox:"Box",pluginNameCamera:"Camera",pluginNameDropbox:"Dropbox",pluginNameFacebook:"Facebook",pluginNameGoogleDrive:"Google Drive",pluginNameInstagram:"Instagram",pluginNameOneDrive:"OneDrive",pluginNameZoom:"Zoom",poweredBy:"Powered by %{uppy}",processingXFiles:{0:"Processing %{smart_count} file",1:"Processing %{smart_count} files"},recording:"Recording",recordingLength:"Recording length %{recording_length}",recordingStoppedMaxSize:"Recording stopped because the file size is about to exceed the limit",recoveredAllFiles:"We restored all files. You can now resume the upload.",recoveredXFiles:{0:"We could not fully recover 1 file. Please re-select it and resume the upload.",1:"We could not fully recover %{smart_count} files. Please re-select them and resume the upload."},removeFile:"Remove file",reSelect:"Re-select",resetFilter:"Reset filter",resume:"Resume",resumeUpload:"Resume upload",retry:"Retry",retryUpload:"Retry upload",revert:"Revert",rotate:"Rotate",save:"Save",saveChanges:"Save changes",search:"Search",searchImages:"Search for images",selectX:{0:"Select %{smart_count}",1:"Select %{smart_count}"},sessionRestored:"Session restored",showErrorDetails:"Show error details",signInWithGoogle:"Sign in with Google",smile:"Smile!",startAudioRecording:"Begin audio recording",startCapturing:"Begin screen capturing",startRecording:"Begin video recording",stopAudioRecording:"Stop audio recording",stopCapturing:"Stop screen capturing",stopRecording:"Stop video recording",streamActive:"Stream active",streamPassive:"Stream passive",submitRecordedFile:"Submit recorded file",takePicture:"Take a picture",timedOut:"Upload stalled for %{seconds} seconds, aborting.",upload:"Upload",uploadComplete:"Upload complete",uploadFailed:"Upload failed",uploading:"Uploading",uploadingXFiles:{0:"Uploading %{smart_count} file",1:"Uploading %{smart_count} files"},uploadPaused:"Upload paused",uploadXFiles:{0:"Upload %{smart_count} file",1:"Upload %{smart_count} files"},uploadXNewFiles:{0:"Upload +%{smart_count} file",1:"Upload +%{smart_count} files"},xFilesSelected:{0:"%{smart_count} file selected",1:"%{smart_count} files selected"},xMoreFilesAdded:{0:"%{smart_count} more file added",1:"%{smart_count} more files added"},xTimeLeft:"%{time} left",youCanOnlyUploadFileTypes:"You can only upload: %{types}",youCanOnlyUploadX:{0:"You can only upload %{smart_count} file",1:"You can only upload %{smart_count} files"},youHaveToAtLeastSelectX:{0:"You have to select at least %{smart_count} file",1:"You have to select at least %{smart_count} files"},zoomIn:"Zoom in",zoomOut:"Zoom out"}};"undefined"!=typeof Uppy&&(globalThis.Uppy.locales.en_US=t),e.exports=t},64690:function(e){"use strict";const t={pluralize(e){return 1===e?0:1},strings:{addBulkFilesFailed:{0:"L'ajout de %{smart_count} fichier a échoué",1:"L'ajout de %{smart_count} fichiers a échoué"},addMore:"Ajouter d'autres",addMoreFiles:"Ajouter d'autres fichiers",addingMoreFiles:"En train d'ajouter des fichiers",allFilesFromFolderNamed:"Tous les fichiers du dossier %{name}",allowAccessDescription:"Pour prendre des photos ou enregistrer une vidéo avec votre caméra, veuillez autoriser l'accès à votre caméra pour ce site.",allowAccessTitle:"Veuillez autoriser l'accès à votre caméra",authAborted:"Authentification interrompue",authenticateWith:"Se connecter à %{pluginName}",authenticateWithTitle:"Veuillez vous authentifier avec %{pluginName} pour sélectionner les fichiers",back:"Retour",browse:"naviguer",browseFiles:"naviguer",cancel:"Annuler",cancelUpload:"Annuler téléchargement",chooseFiles:"Choisir des fichiers",closeModal:"Fermer Fenêtre",companionError:"Connexion à Companion a échoué",companionUnauthorizeHint:"Pour vous déconnecter de votre compte %{provider}, veuillez aller à %{url}",complete:"Terminé",compressedX:"%{size} économisé(s) par la compression",compressingImages:"Compression des images...",connectedToInternet:"Connecté à Internet",copyLink:"Copier lien",copyLinkToClipboardFallback:"Copier le lien ci-dessous",copyLinkToClipboardSuccess:"Lien copié",creatingAssembly:"Préparation du téléchargement...",creatingAssemblyFailed:"Transloadit: Impossible de créer Assembly",dashboardTitle:"Téléchargeur de fichier",dashboardWindowTitle:"Fenêtre de téléchargeur de fichier (Appuyez sur echap pour fermer)",dataUploadedOfTotal:"%{complete} sur %{total}",done:"Terminé",dropHereOr:"Déposer les fichiers ici ou %{browse}",dropHint:"Déposez vos fichiers ici",dropPasteBoth:"Déposer les fichiers ici, coller ou %{browse}",dropPasteFiles:"Déposer les fichiers ici, coller ou %{browse}",dropPasteFolders:"Déposer les fichiers ici, coller ou %{browse}",dropPasteImportBoth:"Déposer les fichiers ici, coller, %{browse} ou importer de",dropPasteImportFiles:"Déposer les fichiers ici, coller, %{browse} ou importer de",dropPasteImportFolders:"Déposer les fichiers ici, coller, %{browse} ou importer de",editFile:"Modifier le fichier",editFileWithFilename:"Modifier le fichier %{file}",editing:"Modification en cours de %{file}",emptyFolderAdded:"Aucun fichier n'a été ajouté depuis un dossier vide",encoding:"Traitement...",enterCorrectUrl:"Lien incorrect: Assurez-vous que vous entrez un lien direct vers le fichier",enterUrlToImport:"Entrez le lien pour importer un fichier",exceedsSize:"Ce fichier dépasse la taille maximale autorisée de %{size}",failedToFetch:"Companion a échoué à récupérer ce lien, assurez-vous qu'il est correct",failedToUpload:"Le téléchargement de %{file} a échoué",fileSource:"Fichier source: %{name}",filesUploadedOfTotal:{0:"%{complete} sur %{smart_count} fichier téléchargé",1:"%{complete} sur %{smart_count} fichiers téléchargés",2:"%{complete} sur %{smart_count} fichiers téléchargés"},filter:"Filtrer",finishEditingFile:"Terminer l'édition du fichier",folderAdded:{0:"%{smart_count} fichier ajouté de %{folder}",1:"%{smart_count} fichiers ajoutés de %{folder}",2:"%{smart_count} fichiers ajoutés de %{folder}"},generatingThumbnails:"Generating thumbnails...",import:"Importer",importFrom:"Importer de %{name}",loading:"Chargement...",logOut:"Déconnexion",micDisabled:"Accès au micro refusé par l'utilisateur",myDevice:"Mon Appareil",noDuplicates:'Impossible d\'ajouter le fichier "%{fileName}", il existe déjà',noFilesFound:"Vous n'avez aucun fichier ou dossier ici",noInternetConnection:"Pas de connexion à Internet",noMoreFilesAllowed:"Impossible d'ajouter de nouveaux fichiers: en cours de chargement ",openFolderNamed:"Ouvrir %{name}",pause:"Pause",pauseUpload:"Mettre en pause le téléchargement",paused:"En pause",poweredBy:"Propulsé par %{uppy}",processingXFiles:{0:"Traitement de %{smart_count} fichier",1:"Traitement de %{smart_count} fichiers",2:"Traitement de %{smart_count} fichiers"},recording:"Enregistrement",recordingLength:"Durée d'enregistrement %{recording_length}",recordingStoppedMaxSize:"L'enregistrement s'est arrété car la taille du fichier dépasse la limite",removeFile:"Effacer le fichier %{file}",resetFilter:"Réinitialiser filtre",resume:"Reprendre",resumeUpload:"Reprendre le téléchargement",retry:"Réessayer",retryUpload:"Réessayer le téléchargement",save:"Sauvegarder",saveChanges:"Sauvegarder les modifications",selectFileNamed:"Sélectionner le fichier %{name}",selectX:{0:"Sélectionner %{smart_count}",1:"Sélectionner %{smart_count}",2:"Sélectionner %{smart_count}"},smile:"Souriez !",startRecording:"Commencer l'enregistrement vidéo",stopRecording:"Arrêter l'enregistrement vidéo",streamActive:"Stream actif",streamPassive:"Stream passif",submitRecordedFile:"Envoyer la vidéo enregistrée",takePicture:"Prendre une photo",timedOut:"Téléchargement bloqué durant %{seconds} secondes, annulation.",unselectFileNamed:"Désélectionner le fichier %{name}",upload:"Télécharger",uploadComplete:"Téléchargement terminé",uploadFailed:"Le téléchargement a échoué",uploadPaused:"Téléchargement mis en pause",uploadXFiles:{0:"Télécharger %{smart_count} fichier",1:"Télécharger %{smart_count} fichiers",2:"Télécharger %{smart_count} fichiers"},uploadXNewFiles:{0:"Télécharger +%{smart_count} fichier",1:"Télécharger +%{smart_count} fichiers",2:"Télécharger +%{smart_count} fichiers"},uploading:"Téléchargement en cours",uploadingXFiles:{0:"Téléchargement de %{smart_count} fichier",1:"Téléchargement de %{smart_count} fichiers",2:"Téléchargement de %{smart_count} fichiers"},xFilesSelected:{0:"%{smart_count} fichier sélectionné",1:"%{smart_count} fichiers sélectionnés",2:"%{smart_count} fichiers sélectionnés"},xMoreFilesAdded:{0:"%{smart_count} autre fichier ajouté",1:"%{smart_count} autres fichiers ajoutés",2:"%{smart_count} autres fichiers ajoutés"},xTimeLeft:"%{time} restantes",youCanOnlyUploadFileTypes:"Vous pouvez seulement télécharger: %{types}",youCanOnlyUploadX:{0:"Vous pouvez seulement télécharger %{smart_count} fichier",1:"Vous pouvez seulement télécharger %{smart_count} fichiers",2:"Vous pouvez seulement télécharger %{smart_count} fichiers"},youHaveToAtLeastSelectX:{0:"Vous devez sélectionner au moins %{smart_count} fichier",1:"Vous devez sélectionner au moins %{smart_count} fichiers",2:"Vous devez sélectionner au moins %{smart_count} fichiers"}}};"undefined"!=typeof Uppy&&(globalThis.Uppy.locales.fr_FR=t),e.exports=t},26667:function(e,t,n){"use strict";var r=n(33847),i=n(42127);class o extends i.UIPlugin{constructor(e,t){super(e,t),this.id=this.opts.id||"ProgressBar",this.title="Progress Bar",this.type="progressindicator",this.opts={target:"body",fixed:!1,hideAfterFinish:!0,...t},this.render=this.render.bind(this)}render(e){const t=e.totalProgress||0,n=(0===t||100===t)&&this.opts.hideAfterFinish;return(0,r.h)("div",{className:"uppy uppy-ProgressBar",style:{position:this.opts.fixed?"fixed":"initial"},"aria-hidden":n},(0,r.h)("div",{className:"uppy-ProgressBar-inner",style:{width:`${t}%`}}),(0,r.h)("div",{className:"uppy-ProgressBar-percentage"},t))}install(){const{target:e}=this.opts;e&&this.mount(e,this)}uninstall(){this.unmount()}}o.VERSION="2.1.2",e.exports=o},67308:function(e,t,n){"use strict";e.exports=n(26667)},22146:function(e,t,n){"use strict";var r=n(33847);const i=e=>{const{getFolder:t,title:n,isLast:i}=e;return(0,r.h)(r.Fragment,null,(0,r.h)("button",{type:"button",className:"uppy-u-reset",onClick:t},n),i?"":" / ")};e.exports=e=>{const{getFolder:t,title:n,breadcrumbsIcon:o,directories:s}=e;return(0,r.h)("div",{className:"uppy-Provider-breadcrumbs"},(0,r.h)("div",{className:"uppy-Provider-breadcrumbsIcon"},o),s.map(((e,o)=>(0,r.h)(i,{key:e.id,getFolder:()=>t(e.id),title:0===o?n:e.title,isLast:o+1===s.length}))))}},23762:function(e,t,n){"use strict";var r=n(33847);const i=n(72779),o=n(58027),s=n(42282),a=n(98736),u=n(74195);e.exports=function(e){const{currentSelection:t,folders:n,files:l,uppyFiles:c,viewType:f,headerComponent:h,showBreadcrumbs:p,isChecked:d,toggleCheckbox:m,recordShiftKeyPress:g,handleScroll:v,showTitles:y,i18n:b,validateRestrictions:w,showFilter:_,filterQuery:S,filterInput:x,getNextFolder:E,cancel:k,done:P,columns:C}=e,O=t.length;return(0,r.h)("div",{className:i("uppy-ProviderBrowser",`uppy-ProviderBrowser-viewType--${f}`)},(0,r.h)("div",{className:"uppy-ProviderBrowser-header"},(0,r.h)("div",{className:i("uppy-ProviderBrowser-headerBar",!p&&"uppy-ProviderBrowser-headerBar--simple")},h)),_&&(0,r.h)(s,{i18n:b,filterQuery:S,filterInput:x}),n.length||l.length?(0,r.h)("div",{className:"uppy-ProviderBrowser-body"},(0,r.h)("ul",{className:"uppy-ProviderBrowser-list",onScroll:v,role:"listbox",tabIndex:"-1"},n.map((e=>{var t;return u({columns:C,showTitles:y,viewType:f,i18n:b,id:e.id,title:e.name,getItemIcon:()=>e.icon,isChecked:d(e),toggleCheckbox:t=>m(t,e),recordShiftKeyPress:g,type:"folder",isDisabled:null==(t=d(e))?void 0:t.loading,isCheckboxDisabled:"shared-with-me"===e.id,handleFolderClick:()=>E(e)})})),l.map((e=>{const n=w(o(e),[...c,...t]);return u({id:e.id,title:e.name,author:e.author,getItemIcon:()=>e.icon,isChecked:d(e),toggleCheckbox:t=>m(t,e),recordShiftKeyPress:g,columns:C,showTitles:y,viewType:f,i18n:b,type:"file",isDisabled:!n.result&&!d(e),restrictionReason:n.reason})})))):(0,r.h)("div",{className:"uppy-Provider-empty"},b("noFilesFound")),O>0&&(0,r.h)(a,{selected:O,done:P,cancel:k,i18n:b}))}},77194:function(e,t,n){"use strict";var r=n(33847);class i extends r.Component{componentWillUnmount(){const{onUnmount:e}=this.props;e()}render(){const{children:e}=this.props;return(0,r.toChildArray)(e)[0]}}e.exports=i},42282:function(e,t,n){"use strict";var r=n(33847);class i extends r.Component{constructor(e){super(e),this.preventEnterPress=this.preventEnterPress.bind(this)}preventEnterPress(e){13===e.keyCode&&(e.stopPropagation(),e.preventDefault())}render(){const{i18n:e,filterInput:t,filterQuery:n}=this.props;return(0,r.h)("div",{className:"uppy-ProviderBrowser-filter"},(0,r.h)("input",{className:"uppy-u-reset uppy-ProviderBrowser-filterInput",type:"text",placeholder:e("filter"),"aria-label":e("filter"),onKeyUp:this.preventEnterPress,onKeyDown:this.preventEnterPress,onKeyPress:this.preventEnterPress,onInput:e=>n(e),value:t}),(0,r.h)("svg",{"aria-hidden":"true",focusable:"false",className:"uppy-c-icon uppy-ProviderBrowser-filterIcon",width:"12",height:"12",viewBox:"0 0 12 12"},(0,r.h)("path",{d:"M8.638 7.99l3.172 3.172a.492.492 0 1 1-.697.697L7.91 8.656a4.977 4.977 0 0 1-2.983.983C2.206 9.639 0 7.481 0 4.819 0 2.158 2.206 0 4.927 0c2.721 0 4.927 2.158 4.927 4.82a4.74 4.74 0 0 1-1.216 3.17zm-3.71.685c2.176 0 3.94-1.726 3.94-3.856 0-2.129-1.764-3.855-3.94-3.855C2.75.964.984 2.69.984 4.819c0 2.13 1.765 3.856 3.942 3.856z"})),t&&(0,r.h)("button",{className:"uppy-u-reset uppy-ProviderBrowser-filterClose",type:"button","aria-label":e("resetFilter"),title:e("resetFilter"),onClick:n},(0,r.h)("svg",{"aria-hidden":"true",focusable:"false",className:"uppy-c-icon",viewBox:"0 0 19 19"},(0,r.h)("path",{d:"M17.318 17.232L9.94 9.854 9.586 9.5l-.354.354-7.378 7.378h.707l-.62-.62v.706L9.318 9.94l.354-.354-.354-.354L1.94 1.854v.707l.62-.62h-.706l7.378 7.378.354.354.354-.354 7.378-7.378h-.707l.622.62v-.706L9.854 9.232l-.354.354.354.354 7.378 7.378.708-.707-7.38-7.378v.708l7.38-7.38.353-.353-.353-.353-.622-.622-.353-.353-.354.352-7.378 7.38h.708L2.56 1.23 2.208.88l-.353.353-.622.62-.353.355.352.353 7.38 7.38v-.708l-7.38 7.38-.353.353.352.353.622.622.353.353.354-.353 7.38-7.38h-.708l7.38 7.38z"}))))}}e.exports=i},98736:function(e,t,n){"use strict";var r=n(33847);e.exports=e=>{let{cancel:t,done:n,i18n:i,selected:o}=e;return(0,r.h)("div",{className:"uppy-ProviderBrowser-footer"},(0,r.h)("button",{className:"uppy-u-reset uppy-c-btn uppy-c-btn-primary",onClick:n,type:"button"},i("selectX",{smart_count:o})),(0,r.h)("button",{className:"uppy-u-reset uppy-c-btn uppy-c-btn-link",onClick:t,type:"button"},i("cancel")))}},69492:function(e,t,n){"use strict";var r=n(33847);e.exports=function(e){const{className:t,isDisabled:n,restrictionReason:i,isChecked:o,title:s,itemIconEl:a,showTitles:u,toggleCheckbox:l,recordShiftKeyPress:c,id:f,children:h}=e;return(0,r.h)("li",{className:t,title:n?i:null},(0,r.h)("input",{type:"checkbox",className:`uppy-u-reset uppy-ProviderBrowserItem-checkbox ${o?"uppy-ProviderBrowserItem-checkbox--is-checked":""} uppy-ProviderBrowserItem-checkbox--grid`,onChange:l,onKeyDown:c,name:"listitem",id:f,checked:o,disabled:n,"data-uppy-super-focusable":!0}),(0,r.h)("label",{htmlFor:f,"aria-label":s,className:"uppy-u-reset uppy-ProviderBrowserItem-inner"},(0,r.h)("span",{className:"uppy-ProviderBrowserItem-inner-relative"},a,u&&s,h)))}},36087:function(e,t,n){"use strict";var r=n(33847);function i(){return(0,r.h)("svg",{"aria-hidden":"true",focusable:"false",className:"uppy-c-icon",width:11,height:14.5,viewBox:"0 0 44 58"},(0,r.h)("path",{d:"M27.437.517a1 1 0 0 0-.094.03H4.25C2.037.548.217 2.368.217 4.58v48.405c0 2.212 1.82 4.03 4.03 4.03H39.03c2.21 0 4.03-1.818 4.03-4.03V15.61a1 1 0 0 0-.03-.28 1 1 0 0 0 0-.093 1 1 0 0 0-.03-.032 1 1 0 0 0 0-.03 1 1 0 0 0-.032-.063 1 1 0 0 0-.03-.063 1 1 0 0 0-.032 0 1 1 0 0 0-.03-.063 1 1 0 0 0-.032-.03 1 1 0 0 0-.03-.063 1 1 0 0 0-.063-.062l-14.593-14a1 1 0 0 0-.062-.062A1 1 0 0 0 28 .708a1 1 0 0 0-.374-.157 1 1 0 0 0-.156 0 1 1 0 0 0-.03-.03l-.003-.003zM4.25 2.547h22.218v9.97c0 2.21 1.82 4.03 4.03 4.03h10.564v36.438a2.02 2.02 0 0 1-2.032 2.032H4.25c-1.13 0-2.032-.9-2.032-2.032V4.58c0-1.13.902-2.032 2.03-2.032zm24.218 1.345l10.375 9.937.75.718H30.5c-1.13 0-2.032-.9-2.032-2.03V3.89z"}))}function o(){return(0,r.h)("svg",{"aria-hidden":"true",focusable:"false",className:"uppy-c-icon",style:{minWidth:16,marginRight:3},viewBox:"0 0 276.157 276.157"},(0,r.h)("path",{d:"M273.08 101.378c-3.3-4.65-8.86-7.32-15.254-7.32h-24.34V67.59c0-10.2-8.3-18.5-18.5-18.5h-85.322c-3.63 0-9.295-2.875-11.436-5.805l-6.386-8.735c-4.982-6.814-15.104-11.954-23.546-11.954H58.73c-9.292 0-18.638 6.608-21.737 15.372l-2.033 5.752c-.958 2.71-4.72 5.37-7.596 5.37H18.5C8.3 49.09 0 57.39 0 67.59v167.07c0 .886.16 1.73.443 2.52.152 3.306 1.18 6.424 3.053 9.064 3.3 4.652 8.86 7.32 15.255 7.32h188.487c11.395 0 23.27-8.425 27.035-19.18l40.677-116.188c2.11-6.035 1.43-12.164-1.87-16.816zM18.5 64.088h8.864c9.295 0 18.64-6.607 21.738-15.37l2.032-5.75c.96-2.712 4.722-5.373 7.597-5.373h29.565c3.63 0 9.295 2.876 11.437 5.806l6.386 8.735c4.982 6.815 15.104 11.954 23.546 11.954h85.322c1.898 0 3.5 1.602 3.5 3.5v26.47H69.34c-11.395 0-23.27 8.423-27.035 19.178L15 191.23V67.59c0-1.898 1.603-3.5 3.5-3.5zm242.29 49.15l-40.676 116.188c-1.674 4.78-7.812 9.135-12.877 9.135H18.75c-1.447 0-2.576-.372-3.02-.997-.442-.625-.422-1.814.057-3.18l40.677-116.19c1.674-4.78 7.812-9.134 12.877-9.134h188.487c1.448 0 2.577.372 3.02.997.443.625.423 1.814-.056 3.18z"}))}function s(){return(0,r.h)("svg",{"aria-hidden":"true",focusable:"false",style:{width:16,marginRight:4},viewBox:"0 0 58 58"},(0,r.h)("path",{d:"M36.537 28.156l-11-7a1.005 1.005 0 0 0-1.02-.033C24.2 21.3 24 21.635 24 22v14a1 1 0 0 0 1.537.844l11-7a1.002 1.002 0 0 0 0-1.688zM26 34.18V23.82L34.137 29 26 34.18z"}),(0,r.h)("path",{d:"M57 6H1a1 1 0 0 0-1 1v44a1 1 0 0 0 1 1h56a1 1 0 0 0 1-1V7a1 1 0 0 0-1-1zM10 28H2v-9h8v9zm-8 2h8v9H2v-9zm10 10V8h34v42H12V40zm44-12h-8v-9h8v9zm-8 2h8v9h-8v-9zm8-22v9h-8V8h8zM2 8h8v9H2V8zm0 42v-9h8v9H2zm54 0h-8v-9h8v9z"}))}e.exports=e=>{const{itemIconString:t}=e;if(null!==t)switch(t){case"file":return(0,r.h)(i,null);case"folder":return(0,r.h)(o,null);case"video":return(0,r.h)(s,null);default:{const{alt:n}=e;return(0,r.h)("img",{src:t,alt:n})}}}},23274:function(e,t,n){"use strict";var r=n(33847);e.exports=function(e){const{className:t,isDisabled:n,restrictionReason:i,isCheckboxDisabled:o,isChecked:s,toggleCheckbox:a,recordShiftKeyPress:u,type:l,id:c,itemIconEl:f,title:h,handleFolderClick:p,showTitles:d,i18n:m}=e;return(0,r.h)("li",{className:t,title:n?i:null},o?null:(0,r.h)("input",{type:"checkbox",className:"uppy-u-reset uppy-ProviderBrowserItem-checkbox "+(s?"uppy-ProviderBrowserItem-checkbox--is-checked":""),onChange:a,onKeyDown:u,name:"listitem",id:c,checked:s,"aria-label":"file"===l?null:m("allFilesFromFolderNamed",{name:h}),disabled:n,"data-uppy-super-focusable":!0}),"file"===l?(0,r.h)("label",{htmlFor:c,className:"uppy-u-reset uppy-ProviderBrowserItem-inner"},(0,r.h)("div",{className:"uppy-ProviderBrowserItem-iconWrap"},f),d&&h):(0,r.h)("button",{type:"button",className:"uppy-u-reset uppy-ProviderBrowserItem-inner",onClick:p,"aria-label":m("openFolderNamed",{name:h})},(0,r.h)("div",{className:"uppy-ProviderBrowserItem-iconWrap"},f),d&&(0,r.h)("span",null,h)))}},74195:function(e,t,n){"use strict";var r=n(33847);function i(){return i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i.apply(this,arguments)}const o=n(72779),s=n(36087),a=n(69492),u=n(23274);e.exports=e=>{const{author:t,getItemIcon:n,isChecked:l,isDisabled:c,viewType:f}=e,h=n(),p=o("uppy-ProviderBrowserItem",{"uppy-ProviderBrowserItem--selected":l},{"uppy-ProviderBrowserItem--disabled":c},{"uppy-ProviderBrowserItem--noPreview":"video"===h}),d=(0,r.h)(s,{itemIconString:h});switch(f){case"grid":return(0,r.h)(a,i({},e,{className:p,itemIconEl:d}));case"list":return(0,r.h)(u,i({},e,{className:p,itemIconEl:d}));case"unsplash":return(0,r.h)(a,i({},e,{className:p,itemIconEl:d}),(0,r.h)("a",{href:`${t.url}?utm_source=Companion&utm_medium=referral`,target:"_blank",rel:"noopener noreferrer",className:"uppy-ProviderBrowserItem-author"},t.name));default:throw new Error(`There is no such type ${f}`)}}},65657:function(e,t,n){"use strict";var r=n(33847);e.exports=e=>{let{i18n:t}=e;return(0,r.h)("div",{className:"uppy-Provider-loading"},(0,r.h)("span",null,t("loading")))}},36137:function(e,t,n){"use strict";var r=n(33847);function i(){return(0,r.h)("svg",{width:"26",height:"26",viewBox:"0 0 26 26",xmlns:"http://www.w3.org/2000/svg"},(0,r.h)("g",{fill:"none","fill-rule":"evenodd"},(0,r.h)("circle",{fill:"#FFF",cx:"13",cy:"13",r:"13"}),(0,r.h)("path",{d:"M21.64 13.205c0-.639-.057-1.252-.164-1.841H13v3.481h4.844a4.14 4.14 0 01-1.796 2.716v2.259h2.908c1.702-1.567 2.684-3.875 2.684-6.615z",fill:"#4285F4","fill-rule":"nonzero"}),(0,r.h)("path",{d:"M13 22c2.43 0 4.467-.806 5.956-2.18l-2.908-2.259c-.806.54-1.837.86-3.048.86-2.344 0-4.328-1.584-5.036-3.711H4.957v2.332A8.997 8.997 0 0013 22z",fill:"#34A853","fill-rule":"nonzero"}),(0,r.h)("path",{d:"M7.964 14.71A5.41 5.41 0 017.682 13c0-.593.102-1.17.282-1.71V8.958H4.957A8.996 8.996 0 004 13c0 1.452.348 2.827.957 4.042l3.007-2.332z",fill:"#FBBC05","fill-rule":"nonzero"}),(0,r.h)("path",{d:"M13 7.58c1.321 0 2.508.454 3.44 1.345l2.582-2.58C17.463 4.891 15.426 4 13 4a8.997 8.997 0 00-8.043 4.958l3.007 2.332C8.672 9.163 10.656 7.58 13 7.58z",fill:"#EA4335","fill-rule":"nonzero"}),(0,r.h)("path",{d:"M4 4h18v18H4z"})))}e.exports=function(e){const{pluginName:t,pluginIcon:n,i18nArray:o,handleAuth:s}=e,a="Google Drive"===t,u=(0,r.h)("span",{className:"uppy-Provider-authTitleName"},t,(0,r.h)("br",null));return(0,r.h)("div",{className:"uppy-Provider-auth"},(0,r.h)("div",{className:"uppy-Provider-authIcon"},n()),(0,r.h)("div",{className:"uppy-Provider-authTitle"},o("authenticateWithTitle",{pluginName:u})),a?(0,r.h)("button",{type:"button",className:"uppy-u-reset uppy-c-btn uppy-c-btn-primary uppy-Provider-authBtn uppy-Provider-btn-google",onClick:s,"data-uppy-super-focusable":!0},(0,r.h)(i,null),o("signInWithGoogle")):(0,r.h)("button",{type:"button",className:"uppy-u-reset uppy-c-btn uppy-c-btn-primary uppy-Provider-authBtn",onClick:s,"data-uppy-super-focusable":!0},o("authenticateWith",{pluginName:t})))}},69986:function(e,t,n){"use strict";const r=n(14312),i=n(22146);e.exports=e=>{const t=[];return e.showBreadcrumbs&&t.push(i({getFolder:e.getFolder,directories:e.directories,breadcrumbsIcon:e.pluginIcon&&e.pluginIcon(),title:e.title})),t.push(r({logout:e.logout,username:e.username,i18n:e.i18n})),t}},44291:function(e,t,n){"use strict";var r=n(33847);function i(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e}var o=0;function s(e){return"__private_"+o+++"_"+e}const a=n(36137),u=n(69986),l=n(23762),c=n(65657),f=n(77194),h=n(22791);function p(e){return"string"==typeof e?new RegExp(`^${e}$`):e instanceof RegExp?e:void 0}var d=s("updateFilesAndFolders");class m extends h{constructor(e,t){super(e,t),Object.defineProperty(this,d,{value:g}),this.opts={viewType:"list",showTitles:!0,showFilter:!0,showBreadcrumbs:!0,...t},this.filterQuery=this.filterQuery.bind(this),this.getFolder=this.getFolder.bind(this),this.getNextFolder=this.getNextFolder.bind(this),this.logout=this.logout.bind(this),this.handleAuth=this.handleAuth.bind(this),this.handleScroll=this.handleScroll.bind(this),this.listAllFiles=this.listAllFiles.bind(this),this.donePicking=this.donePicking.bind(this),this.render=this.render.bind(this),this.plugin.setPluginState({authenticated:!1,files:[],folders:[],directories:[],filterInput:"",isSearchVisible:!1,currentSelection:[]})}tearDown(){}getFolder(e,t){return this.sharedHandler.loaderWrapper(this.provider.list(e),(n=>{let r;const o=this.plugin.getPluginState(),s=o.directories.findIndex((t=>e===t.id));r=-1!==s?o.directories.slice(0,s+1):o.directories.concat([{id:e,title:t}]),this.username=n.username||this.username,i(this,d)[d](n,[],[]),this.plugin.setPluginState({directories:r})}),this.handleError)}getNextFolder(e){this.getFolder(e.requestPath,e.name),this.lastCheckbox=void 0}logout(){this.provider.logout().then((e=>{if(e.ok){if(!e.revoked){const t=this.plugin.uppy.i18n("companionUnauthorizeHint",{provider:this.plugin.title,url:e.manual_revoke_url});this.plugin.uppy.info(t,"info",7e3)}const t={authenticated:!1,files:[],folders:[],directories:[]};this.plugin.setPluginState(t)}})).catch(this.handleError)}filterQuery(e){const t=this.plugin.getPluginState();this.plugin.setPluginState({...t,filterInput:e?e.target.value:""})}addFolder(e){const t=this.providerFileToId(e),n={...this.plugin.getPluginState().selectedFolders};if(!(t in n)||!n[t].loading)return n[t]={loading:!0,files:[]},this.plugin.setPluginState({selectedFolders:{...n}}),this.listAllFiles(e.requestPath).then((r=>{let i=0;r.forEach((e=>{const t=this.providerFileToId(e);this.plugin.uppy.checkIfFileAlreadyExists(t)||i++})),i>0&&r.forEach((e=>this.addFile(e)));const o=r.map(this.providerFileToId);let s;n[t]={loading:!1,files:o},this.plugin.setPluginState({selectedFolders:n}),s=0===i?this.plugin.uppy.i18n("folderAlreadyAdded",{folder:e.name}):r.length?this.plugin.uppy.i18n("folderAdded",{smart_count:i,folder:e.name}):this.plugin.uppy.i18n("emptyFolderAdded"),this.plugin.uppy.info(s)})).catch((e=>{const n={...this.plugin.getPluginState().selectedFolders};delete n[t],this.plugin.setPluginState({selectedFolders:n}),this.handleError(e)}))}async handleAuth(){await this.provider.ensurePreAuth();const e=btoa(JSON.stringify({origin:location.origin})),t=`@uppy/provider-views=${m.VERSION}`,n=this.provider.authUrl({state:e,uppyVersions:t}),r=window.open(n,"_blank"),i=e=>{if(e.source!==r)return void this.plugin.uppy.log("rejecting event from unknown source");var t,n;t=e.origin,n=this.plugin.opts.companionAllowedHosts,(Array.isArray(n)?n.map(p):[p(n)]).some((e=>(null==e?void 0:e.test(t))||(null==e?void 0:e.test(`${t}/`))))&&e.source===r||this.plugin.uppy.log(`rejecting event from ${e.origin} vs allowed pattern ${this.plugin.opts.companionAllowedHosts}`);const o="string"==typeof e.data?JSON.parse(e.data):e.data;if(o.error){this.plugin.uppy.log("auth aborted","warning");const{uppy:e}=this.plugin,t=e.i18n("authAborted");e.info({message:t},"warning",5e3)}else o.token?(r.close(),window.removeEventListener("message",i),this.provider.setAuthToken(o.token),this.preFirstRender()):this.plugin.uppy.log("did not receive token from auth window","error")};window.addEventListener("message",i)}async handleScroll(e){const t=this.nextPagePath||null;if(this.shouldHandleScroll(e)&&t){this.isHandlingScroll=!0;try{const e=await this.provider.list(t),{files:n,folders:r}=this.plugin.getPluginState();i(this,d)[d](e,n,r)}catch(e){this.handleError(e)}finally{this.isHandlingScroll=!1}}}async listAllFiles(e,t){void 0===t&&(t=null),t=t||[];const n=await this.provider.list(e);n.items.forEach((e=>{e.isFolder?this.addFolder(e):t.push(e)}));const r=n.nextPagePath;return r?this.listAllFiles(r,t):t}donePicking(){const{currentSelection:e}=this.plugin.getPluginState(),t=e.map((e=>e.isFolder?this.addFolder(e):this.addFile(e)));this.sharedHandler.loaderWrapper(Promise.all(t),(()=>{this.clearSelection()}),(()=>{}))}render(e,t){var n=this;void 0===t&&(t={});const{authenticated:i,didFirstRender:o}=this.plugin.getPluginState();o||this.preFirstRender();const s={...this.opts,...t},{files:h,folders:p,filterInput:d,loading:m,currentSelection:g}=this.plugin.getPluginState(),{isChecked:v,toggleCheckbox:y,recordShiftKeyPress:b,filterItems:w}=this.sharedHandler,_=""!==d,S={showBreadcrumbs:s.showBreadcrumbs,getFolder:this.getFolder,directories:this.plugin.getPluginState().directories,pluginIcon:this.plugin.icon,title:this.plugin.title,logout:this.logout,username:this.username,i18n:this.plugin.uppy.i18n},x={isChecked:v,toggleCheckbox:y,recordShiftKeyPress:b,currentSelection:g,files:_?w(h):h,folders:_?w(p):p,username:this.username,getNextFolder:this.getNextFolder,getFolder:this.getFolder,filterItems:this.sharedHandler.filterItems,filterQuery:this.filterQuery,logout:this.logout,handleScroll:this.handleScroll,listAllFiles:this.listAllFiles,done:this.donePicking,cancel:this.cancelPicking,headerComponent:u(S),title:this.plugin.title,viewType:s.viewType,showTitles:s.showTitles,showFilter:s.showFilter,showBreadcrumbs:s.showBreadcrumbs,pluginIcon:this.plugin.icon,i18n:this.plugin.uppy.i18n,uppyFiles:this.plugin.uppy.getFiles(),validateRestrictions:function(){return n.plugin.uppy.validateRestrictions(...arguments)}};return m?(0,r.h)(f,{onUnmount:this.clearSelection},(0,r.h)(c,{i18n:this.plugin.uppy.i18n})):i?(0,r.h)(f,{onUnmount:this.clearSelection},(0,r.h)(l,x)):(0,r.h)(f,{onUnmount:this.clearSelection},(0,r.h)(a,{pluginName:this.plugin.title,pluginIcon:this.plugin.icon,handleAuth:this.handleAuth,i18n:this.plugin.uppy.i18n,i18nArray:this.plugin.uppy.i18nArray}))}}function g(e,t,n){this.nextPagePath=e.nextPagePath,e.items.forEach((e=>{e.isFolder?n.push(e):t.push(e)})),this.plugin.setPluginState({folders:n,files:t})}m.VERSION="2.1.3",e.exports=m},14312:function(e,t,n){"use strict";var r=n(33847);e.exports=e=>{let{i18n:t,logout:n,username:i}=e;return[(0,r.h)("span",{className:"uppy-ProviderBrowser-user",key:"username"},i),(0,r.h)("button",{type:"button",onClick:n,className:"uppy-u-reset uppy-ProviderBrowser-userLogout",key:"logout"},t("logOut"))]}},88376:function(e,t,n){"use strict";e.exports=n(44291)},45232:function(e,t,n){"use strict";var r=n(33847);e.exports=e=>{const{searchTerm:t,i18n:n,search:i}=e;return(0,r.h)("div",{class:"uppy-ProviderBrowser-search"},(0,r.h)("input",{class:"uppy-u-reset uppy-ProviderBrowser-searchInput",type:"text",placeholder:n("search"),"aria-label":n("search"),value:t,onKeyUp:e=>{13===e.keyCode&&(e.stopPropagation(),e.preventDefault(),i(e.target.value))},"data-uppy-super-focusable":!0}),(0,r.h)("svg",{"aria-hidden":"true",focusable:"false",class:"uppy-c-icon uppy-ProviderBrowser-searchIcon",width:"12",height:"12",viewBox:"0 0 12 12"},(0,r.h)("path",{d:"M8.638 7.99l3.172 3.172a.492.492 0 1 1-.697.697L7.91 8.656a4.977 4.977 0 0 1-2.983.983C2.206 9.639 0 7.481 0 4.819 0 2.158 2.206 0 4.927 0c2.721 0 4.927 2.158 4.927 4.82a4.74 4.74 0 0 1-1.216 3.17zm-3.71.685c2.176 0 3.94-1.726 3.94-3.856 0-2.129-1.764-3.855-3.94-3.855C2.75.964.984 2.69.984 4.819c0 2.13 1.765 3.856 3.942 3.856z"})))}},94817:function(e,t,n){"use strict";var r=n(33847);e.exports=e=>{let t,{i18n:n,search:i}=e;const o=()=>{t.value&&i(t.value)};return(0,r.h)("div",{className:"uppy-SearchProvider"},(0,r.h)("input",{className:"uppy-u-reset uppy-c-textInput uppy-SearchProvider-input",type:"search","aria-label":n("enterTextToSearch"),placeholder:n("enterTextToSearch"),onKeyUp:e=>{13===e.keyCode&&o()},ref:e=>{t=e},"data-uppy-super-focusable":!0}),(0,r.h)("button",{className:"uppy-u-reset uppy-c-btn uppy-c-btn-primary uppy-SearchProvider-searchButton",type:"button",onClick:o},n("searchImages")))}},22771:function(e,t,n){"use strict";var r=n(33847);function i(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e}var o=0;function s(e){return"__private_"+o+++"_"+e}const a=n(94817),u=n(23762),l=n(65657),c=n(45232),f=n(77194),h=n(22791);var p=s("updateFilesAndInputMode");class d extends h{constructor(e,t){super(e,t),Object.defineProperty(this,p,{value:m}),this.opts={viewType:"grid",showTitles:!1,showFilter:!1,showBreadcrumbs:!1,...t},this.search=this.search.bind(this),this.triggerSearchInput=this.triggerSearchInput.bind(this),this.addFile=this.addFile.bind(this),this.handleScroll=this.handleScroll.bind(this),this.donePicking=this.donePicking.bind(this),this.render=this.render.bind(this),this.plugin.setPluginState({isInputMode:!0,files:[],folders:[],directories:[],filterInput:"",currentSelection:[],searchTerm:null})}tearDown(){}clearSelection(){this.plugin.setPluginState({currentSelection:[],isInputMode:!0,files:[],searchTerm:null})}search(e){const{searchTerm:t}=this.plugin.getPluginState();if(!e||e!==t)return this.sharedHandler.loaderWrapper(this.provider.search(e),(e=>{i(this,p)[p](e,[])}),this.handleError)}triggerSearchInput(){this.plugin.setPluginState({isInputMode:!0})}async handleScroll(e){const t=this.nextPageQuery||null;if(this.shouldHandleScroll(e)&&t){this.isHandlingScroll=!0;try{const{files:e,searchTerm:n}=this.plugin.getPluginState(),r=await this.provider.search(n,t);i(this,p)[p](r,e)}catch(e){this.handleError(e)}finally{this.isHandlingScroll=!1}}}donePicking(){const{currentSelection:e}=this.plugin.getPluginState(),t=e.map((e=>this.addFile(e)));this.sharedHandler.loaderWrapper(Promise.all(t),(()=>{this.clearSelection()}),(()=>{}))}render(e,t){var n=this;void 0===t&&(t={});const{didFirstRender:i,isInputMode:o,searchTerm:s}=this.plugin.getPluginState();i||this.preFirstRender();const h={...this.opts,...t},{files:p,folders:d,filterInput:m,loading:g,currentSelection:v}=this.plugin.getPluginState(),{isChecked:y,toggleCheckbox:b,filterItems:w}=this.sharedHandler,_=""!==m,S={isChecked:y,toggleCheckbox:b,currentSelection:v,files:_?w(p):p,folders:_?w(d):d,handleScroll:this.handleScroll,done:this.donePicking,cancel:this.cancelPicking,headerComponent:c({search:this.search,i18n:this.plugin.uppy.i18n,searchTerm:s}),title:this.plugin.title,viewType:h.viewType,showTitles:h.showTitles,showFilter:h.showFilter,showBreadcrumbs:h.showBreadcrumbs,pluginIcon:this.plugin.icon,i18n:this.plugin.uppy.i18n,uppyFiles:this.plugin.uppy.getFiles(),validateRestrictions:function(){return n.plugin.uppy.validateRestrictions(...arguments)}};return g?(0,r.h)(f,{onUnmount:this.clearSelection},(0,r.h)(l,{i18n:this.plugin.uppy.i18n})):o?(0,r.h)(f,{onUnmount:this.clearSelection},(0,r.h)(a,{search:this.search,i18n:this.plugin.uppy.i18n})):(0,r.h)(f,{onUnmount:this.clearSelection},(0,r.h)(u,S))}}function m(e,t){this.nextPageQuery=e.nextPageQuery,e.items.forEach((e=>{t.push(e)})),this.plugin.setPluginState({isInputMode:!1,files:t,searchTerm:e.searchedFor})}d.VERSION="2.1.3",e.exports=d},48847:function(e,t,n){"use strict";e.exports=n(22771)},68309:function(e,t,n){"use strict";const r=n(58027);e.exports=class{constructor(e){this.plugin=e,this.filterItems=this.filterItems.bind(this),this.toggleCheckbox=this.toggleCheckbox.bind(this),this.recordShiftKeyPress=this.recordShiftKeyPress.bind(this),this.isChecked=this.isChecked.bind(this),this.loaderWrapper=this.loaderWrapper.bind(this)}filterItems(e){const t=this.plugin.getPluginState();return t.filterInput&&""!==t.filterInput?e.filter((e=>-1!==e.name.toLowerCase().indexOf(t.filterInput.toLowerCase()))):e}recordShiftKeyPress(e){this.isShiftKeyPressed=e.shiftKey}toggleCheckbox(e,t){e.stopPropagation(),e.preventDefault(),e.currentTarget.focus();const{folders:n,files:i}=this.plugin.getPluginState(),o=this.filterItems(n.concat(i));if(this.lastCheckbox&&this.isShiftKeyPressed){const e=o.indexOf(this.lastCheckbox),n=o.indexOf(t),i=e<n?o.slice(e,n+1):o.slice(n,e+1),s=[];for(const e of i){const{uppy:t}=this.plugin,n=t.validateRestrictions(r(e),[...t.getFiles(),...s]);n.result?s.push(e):t.info({message:n.reason},"error",t.opts.infoTimeout)}return void this.plugin.setPluginState({currentSelection:s})}this.lastCheckbox=t;const{currentSelection:s}=this.plugin.getPluginState();this.isChecked(t)?this.plugin.setPluginState({currentSelection:s.filter((e=>e.id!==t.id))}):this.plugin.setPluginState({currentSelection:s.concat([t])})}isChecked(e){const{currentSelection:t}=this.plugin.getPluginState();return t.some((t=>t.id===e.id))}loaderWrapper(e,t,n){e.then((e=>{this.plugin.setPluginState({loading:!1}),t(e)})).catch((e=>{this.plugin.setPluginState({loading:!1}),n(e)})),this.plugin.setPluginState({loading:!0})}}},22791:function(e,t,n){"use strict";const r=n(40573),i=n(14958),o=n(79246),s=n(68309);e.exports=class{constructor(e,t){this.plugin=e,this.provider=t.provider,this.sharedHandler=new s(e),this.isHandlingScroll=!1,this.preFirstRender=this.preFirstRender.bind(this),this.handleError=this.handleError.bind(this),this.addFile=this.addFile.bind(this),this.clearSelection=this.clearSelection.bind(this),this.cancelPicking=this.cancelPicking.bind(this)}providerFileToId(e){return o({data:e,name:e.name||e.id,type:e.mimetype})}preFirstRender(){this.plugin.setPluginState({didFirstRender:!0}),this.plugin.onFirstRender()}shouldHandleScroll(e){const{scrollHeight:t,scrollTop:n,offsetHeight:r}=e.target;return t-(n+r)<50&&!this.isHandlingScroll}clearSelection(){this.plugin.setPluginState({currentSelection:[]})}cancelPicking(){this.clearSelection();const e=this.plugin.uppy.getPlugin("Dashboard");e&&e.hideAllPanels()}handleError(e){const{uppy:t}=this.plugin,n=t.i18n("companionError");t.log(e.toString()),e.isAuthError||t.info({message:n,details:e.toString()},"error",5e3)}addFile(e){const t={id:this.providerFileToId(e),source:this.plugin.id,data:e,name:e.name||e.id,type:e.mimeType,isRemote:!0,meta:{},body:{fileId:e.id},remote:{companionUrl:this.plugin.opts.companionUrl,url:`${this.provider.fileUrl(e.requestPath)}`,body:{fileId:e.id},providerOptions:this.provider.opts,providerName:this.provider.name}},n=r(t);n&&i(n)&&(t.preview=e.thumbnail),e.author&&(null!=e.author.name&&(t.meta.authorName=String(e.author.name)),e.author.url&&(t.meta.authorUrl=e.author.url)),this.plugin.uppy.log("Adding remote file");try{return this.plugin.uppy.addFile(t),!0}catch(e){return e.isRestriction||this.plugin.uppy.log(e),!1}}}},50516:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SearchProviderViews=t.ProviderViews=void 0;const r=n(88376);t.ProviderViews=r;const i=n(48847);t.SearchProviderViews=i},81668:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CancelBtn=function(e){const{i18n:t,uppy:n}=e;return(0,r.h)("button",{type:"button",className:"uppy-u-reset uppy-StatusBar-actionCircleBtn",title:t("cancel"),"aria-label":t("cancel"),onClick:()=>n.cancelAll(),"data-cy":"cancel","data-uppy-super-focusable":!0},(0,r.h)("svg",{"aria-hidden":"true",focusable:"false",className:"uppy-c-icon",width:"16",height:"16",viewBox:"0 0 16 16"},(0,r.h)("g",{fill:"none",fillRule:"evenodd"},(0,r.h)("circle",{fill:"#888",cx:"8",cy:"8",r:"8"}),(0,r.h)("path",{fill:"#FFF",d:"M9.283 8l2.567 2.567-1.283 1.283L8 9.283 5.433 11.85 4.15 10.567 6.717 8 4.15 5.433 5.433 4.15 8 6.717l2.567-2.567 1.283 1.283z"}))))},t.DoneBtn=function(e){const{i18n:t,doneButtonHandler:n}=e;return(0,r.h)("button",{type:"button",className:"uppy-u-reset uppy-c-btn uppy-StatusBar-actionBtn uppy-StatusBar-actionBtn--done",onClick:n,"data-uppy-super-focusable":!0},t("done"))},t.LoadingSpinner=c,t.PauseResumeButton=function(e){const{isAllPaused:t,i18n:n,isAllComplete:i,resumableUploads:o,uppy:s}=e,a=n(t?"resume":"pause");return(0,r.h)("button",{title:a,"aria-label":a,className:"uppy-u-reset uppy-StatusBar-actionCircleBtn",type:"button",onClick:function(){return i?null:o?t?s.resumeAll():s.pauseAll():s.cancelAll()},"data-uppy-super-focusable":!0},(0,r.h)("svg",{"aria-hidden":"true",focusable:"false",className:"uppy-c-icon",width:"16",height:"16",viewBox:"0 0 16 16"},(0,r.h)("g",{fill:"none",fillRule:"evenodd"},(0,r.h)("circle",{fill:"#888",cx:"8",cy:"8",r:"8"}),(0,r.h)("path",{fill:"#FFF",d:t?"M6 4.25L11.5 8 6 11.75z":"M5 4.5h2v7H5v-7zm4 0h2v7H9v-7z"}))))},t.ProgressBarComplete=function(e){const{i18n:t}=e;return(0,r.h)("div",{className:"uppy-StatusBar-content",role:"status",title:t("complete")},(0,r.h)("div",{className:"uppy-StatusBar-status"},(0,r.h)("div",{className:"uppy-StatusBar-statusPrimary"},(0,r.h)("svg",{"aria-hidden":"true",focusable:"false",className:"uppy-StatusBar-statusIndicator uppy-c-icon",width:"15",height:"11",viewBox:"0 0 15 11"},(0,r.h)("path",{d:"M.414 5.843L1.627 4.63l3.472 3.472L13.202 0l1.212 1.213L5.1 10.528z"})),t("complete"))))},t.ProgressBarError=function(e){const{error:t,i18n:n,complete:i,numUploads:o}=e;return(0,r.h)("div",{className:"uppy-StatusBar-content",title:n("uploadFailed")},(0,r.h)("svg",{"aria-hidden":"true",focusable:"false",className:"uppy-StatusBar-statusIndicator uppy-c-icon",width:"11",height:"11",viewBox:"0 0 11 11"},(0,r.h)("path",{d:"M4.278 5.5L0 1.222 1.222 0 5.5 4.278 9.778 0 11 1.222 6.722 5.5 11 9.778 9.778 11 5.5 6.722 1.222 11 0 9.778z"})),(0,r.h)("div",{className:"uppy-StatusBar-status"},(0,r.h)("div",{className:"uppy-StatusBar-statusPrimary"},n("uploadFailed"),(0,r.h)("button",{className:"uppy-u-reset uppy-StatusBar-details","aria-label":n("showErrorDetails"),"data-microtip-position":"top-right","data-microtip-size":"medium",onClick:function(){const e=`${n("uploadFailed")} \n\n ${t}`;alert(e)},type:"button"},"?")),(0,r.h)(h,{i18n:n,complete:i,numUploads:o})))},t.ProgressBarProcessing=function(e){const{progress:t}=e,{value:n,mode:i,message:o}=t,s=Math.round(100*n);return(0,r.h)("div",{className:"uppy-StatusBar-content"},(0,r.h)(c,null),"determinate"===i?`${s}% · `:"",o)},t.ProgressBarUploading=function(e){const{i18n:t,supportsUploadProgress:n,totalProgress:i,showProgressDetails:o,isUploadStarted:s,isAllComplete:a,isAllPaused:u,newFiles:l,numUploads:f,complete:m,totalUploadedSize:g,totalSize:v,totalETA:y,startUpload:b}=e,w=l&&s;if(!s||a)return null;const _=t(u?"paused":"uploading");return(0,r.h)("div",{className:"uppy-StatusBar-content","aria-label":_,title:_},u?null:(0,r.h)(c,null),(0,r.h)("div",{className:"uppy-StatusBar-status"},(0,r.h)("div",{className:"uppy-StatusBar-statusPrimary"},n?`${_}: ${i}%`:_),u||w||!o?null:n?(0,r.h)(d,{numUploads:f,complete:m,totalUploadedSize:g,totalSize:v,totalETA:y,i18n:t}):(0,r.h)(h,{i18n:t,complete:m,numUploads:f}),w?(0,r.h)(p,{i18n:t,newFiles:l,startUpload:b}):null))},t.ProgressDetails=f,t.RetryBtn=function(e){const{i18n:t,uppy:n}=e;return(0,r.h)("button",{type:"button",className:"uppy-u-reset uppy-c-btn uppy-StatusBar-actionBtn uppy-StatusBar-actionBtn--retry","aria-label":t("retryUpload"),onClick:()=>n.retryAll(),"data-uppy-super-focusable":!0},(0,r.h)("svg",{"aria-hidden":"true",focusable:"false",className:"uppy-c-icon",width:"8",height:"10",viewBox:"0 0 8 10"},(0,r.h)("path",{d:"M4 2.408a2.75 2.75 0 1 0 2.75 2.75.626.626 0 0 1 1.25.018v.023a4 4 0 1 1-4-4.041V.25a.25.25 0 0 1 .389-.208l2.299 1.533a.25.25 0 0 1 0 .416l-2.3 1.533A.25.25 0 0 1 4 3.316v-.908z"})),t("retry"))},t.UploadBtn=function(e){const{newFiles:t,isUploadStarted:n,recoveredState:o,i18n:s,uploadState:a,isSomeGhost:l,startUpload:c}=e,f=i("uppy-u-reset","uppy-c-btn","uppy-StatusBar-actionBtn","uppy-StatusBar-actionBtn--upload",{"uppy-c-btn-primary":a===u.STATE_WAITING},{"uppy-StatusBar-actionBtn--disabled":l}),h=s(t&&n&&!o?"uploadXNewFiles":"uploadXFiles",{smart_count:t});return(0,r.h)("button",{type:"button",className:f,"aria-label":s("uploadXFiles",{smart_count:t}),onClick:c,disabled:l,"data-uppy-super-focusable":!0},h)};var r=n(33847);const i=n(72779),o=n(98357),s=n(39961),a=n(96618),u=n(56091),l=()=>" · ";function c(){return(0,r.h)("svg",{className:"uppy-StatusBar-spinner","aria-hidden":"true",focusable:"false",width:"14",height:"14"},(0,r.h)("path",{d:"M13.983 6.547c-.12-2.509-1.64-4.893-3.939-5.936-2.48-1.127-5.488-.656-7.556 1.094C.524 3.367-.398 6.048.162 8.562c.556 2.495 2.46 4.52 4.94 5.183 2.932.784 5.61-.602 7.256-3.015-1.493 1.993-3.745 3.309-6.298 2.868-2.514-.434-4.578-2.349-5.153-4.84a6.226 6.226 0 0 1 2.98-6.778C6.34.586 9.74 1.1 11.373 3.493c.407.596.693 1.282.842 1.988.127.598.073 1.197.161 1.794.078.525.543 1.257 1.15.864.525-.341.49-1.05.456-1.592-.007-.15.02.3 0 0",fillRule:"evenodd"}))}function f(e){const{numUploads:t,complete:n,totalUploadedSize:i,totalSize:o,totalETA:u,i18n:c}=e,f=t>1;return(0,r.h)("div",{className:"uppy-StatusBar-statusSecondary"},f&&c("filesUploadedOfTotal",{complete:n,smart_count:t}),(0,r.h)("span",{className:"uppy-StatusBar-additionalInfo"},f&&l(),c("dataUploadedOfTotal",{complete:s(i),total:s(o)}),l(),c("xTimeLeft",{time:a(u)})))}function h(e){const{i18n:t,complete:n,numUploads:i}=e;return(0,r.h)("div",{className:"uppy-StatusBar-statusSecondary"},t("filesUploadedOfTotal",{complete:n,smart_count:i}))}function p(e){const{i18n:t,newFiles:n,startUpload:o}=e,s=i("uppy-u-reset","uppy-c-btn","uppy-StatusBar-actionBtn","uppy-StatusBar-actionBtn--uploadNewlyAdded");return(0,r.h)("div",{className:"uppy-StatusBar-statusSecondary"},(0,r.h)("div",{className:"uppy-StatusBar-statusSecondaryHint"},t("xMoreFilesAdded",{smart_count:n})),(0,r.h)("button",{type:"button",className:s,"aria-label":t("uploadXFiles",{smart_count:n}),onClick:o},t("upload")))}const d=o(f,500,{leading:!0,trailing:!0})},23592:function(e,t,n){"use strict";var r=n(33847),i=n(81668);const o=n(72779),s=n(56091),a=n(26282),{STATE_ERROR:u,STATE_WAITING:l,STATE_PREPROCESSING:c,STATE_UPLOADING:f,STATE_POSTPROCESSING:h,STATE_COMPLETE:p}=s;e.exports=function(e){const{newFiles:t,allowNewUpload:n,isUploadInProgress:s,isAllPaused:d,resumableUploads:m,error:g,hideUploadButton:v,hidePauseResumeButton:y,hideCancelButton:b,hideRetryButton:w,recoveredState:_,uploadState:S,totalProgress:x,files:E,supportsUploadProgress:k,hideAfterFinish:P,isSomeGhost:C,doneButtonHandler:O,isUploadStarted:T,i18n:A,startUpload:F,uppy:I,isAllComplete:R,showProgressDetails:M,numUploads:N,complete:L,totalSize:U,totalETA:D,totalUploadedSize:j}=e,B=function(){switch(S){case h:case c:{const e=a(E);return"determinate"===e.mode?100*e.value:x}case u:return null;case f:return k?x:null;default:return x}}(),z=function(){if(_)return!1;switch(S){case l:return v||0===t;case p:return P;default:return!1}}(),H=null!=B?B:100,$=!g&&t&&!s&&!d&&n&&!v,V=!b&&S!==l&&S!==p,q=m&&!y&&S===f,W=g&&!R&&!w,G=O&&S===p,Z=o("uppy-StatusBar-progress",{"is-indeterminate":function(){switch(S){case h:case c:{const{mode:e}=a(E);return"indeterminate"===e}case f:return!k;default:return!1}}()}),K=o("uppy-StatusBar",`is-${S}`,{"has-ghosts":C});return(0,r.h)("div",{className:K,"aria-hidden":z},(0,r.h)("div",{className:Z,style:{width:`${H}%`},role:"progressbar","aria-label":`${H}%`,"aria-valuetext":`${H}%`,"aria-valuemin":"0","aria-valuemax":"100","aria-valuenow":B}),(()=>{switch(S){case c:case h:return(0,r.h)(i.ProgressBarProcessing,{progress:a(E)});case p:return(0,r.h)(i.ProgressBarComplete,{i18n:A});case u:return(0,r.h)(i.ProgressBarError,{error:g,i18n:A,numUploads:N,complete:L});case f:return(0,r.h)(i.ProgressBarUploading,{i18n:A,supportsUploadProgress:k,totalProgress:x,showProgressDetails:M,isUploadStarted:T,isAllComplete:R,isAllPaused:d,newFiles:t,numUploads:N,complete:L,totalUploadedSize:j,totalSize:U,totalETA:D,startUpload:F});default:return null}})(),(0,r.h)("div",{className:"uppy-StatusBar-actions"},_||$?(0,r.h)(i.UploadBtn,{newFiles:t,isUploadStarted:T,recoveredState:_,i18n:A,isSomeGhost:C,startUpload:F,uploadState:S}):null,W?(0,r.h)(i.RetryBtn,{i18n:A,uppy:I}):null,q?(0,r.h)(i.PauseResumeButton,{isAllPaused:d,i18n:A,isAllComplete:R,resumableUploads:m,uppy:I}):null,V?(0,r.h)(i.CancelBtn,{i18n:A,uppy:I}):null,G?(0,r.h)(i.DoneBtn,{i18n:A,doneButtonHandler:O}):null))}},56091:function(e){"use strict";e.exports={STATE_ERROR:"error",STATE_WAITING:"waiting",STATE_PREPROCESSING:"preprocessing",STATE_UPLOADING:"uploading",STATE_POSTPROCESSING:"postprocessing",STATE_COMPLETE:"complete"}},77294:function(e,t,n){"use strict";var r=n(42127);const i=n(92856),o=n(21201),s=n(13836),a=n(56091),u=n(23592),l=n(1569);function c(e,t,n,r){if(e&&!t)return a.STATE_ERROR;if(t)return a.STATE_COMPLETE;if(n)return a.STATE_WAITING;let i=a.STATE_WAITING;const o=Object.keys(r);for(let e=0;e<o.length;e++){const{progress:t}=r[o[e]];if(t.uploadStarted&&!t.uploadComplete)return a.STATE_UPLOADING;t.preprocess&&i!==a.STATE_UPLOADING&&(i=a.STATE_PREPROCESSING),t.postprocess&&i!==a.STATE_UPLOADING&&i!==a.STATE_PREPROCESSING&&(i=a.STATE_POSTPROCESSING)}return i}class f extends r.UIPlugin{constructor(e,t){super(e,t),this.startUpload=()=>{const{recoveredState:e}=this.uppy.getState();if(!e)return this.uppy.upload().catch((()=>{}));this.uppy.emit("restore-confirmed")},this.id=this.opts.id||"StatusBar",this.title="StatusBar",this.type="progressindicator",this.defaultLocale=l,this.opts={target:"body",hideUploadButton:!1,hideRetryButton:!1,hidePauseResumeButton:!1,hideCancelButton:!1,showProgressDetails:!1,hideAfterFinish:!0,doneButtonHandler:null,...t},this.i18nInit(),this.render=this.render.bind(this),this.install=this.install.bind(this)}render(e){const{capabilities:t,files:n,allowNewUpload:r,totalProgress:s,error:a,recoveredState:l}=e,{newFiles:f,startedFiles:h,completeFiles:p,inProgressNotPausedFiles:d,isUploadStarted:m,isAllComplete:g,isAllErrored:v,isAllPaused:y,isUploadInProgress:b,isSomeGhost:w}=this.uppy.getObjectOfFilesPerState(),_=l?Object.values(n):f,S=function(e){const t=function(e){let t=0;return e.forEach((e=>{t+=i(e.progress)})),t}(e);if(0===t)return 0;const n=e.reduce(((e,t)=>e+o(t.progress)),0);return Math.round(n/t*10)/10}(d),x=!!t.resumableUploads,E=!1!==t.uploadProgress;let k=0,P=0;return h.forEach((e=>{k+=e.progress.bytesTotal||0,P+=e.progress.bytesUploaded||0})),u({error:a,uploadState:c(a,g,l,e.files||{}),allowNewUpload:r,totalProgress:s,totalSize:k,totalUploadedSize:P,isAllComplete:!1,isAllPaused:y,isAllErrored:v,isUploadStarted:m,isUploadInProgress:b,isSomeGhost:w,recoveredState:l,complete:p.length,newFiles:_.length,numUploads:h.length,totalETA:S,files:n,i18n:this.i18n,uppy:this.uppy,startUpload:this.startUpload,doneButtonHandler:this.opts.doneButtonHandler,resumableUploads:x,supportsUploadProgress:E,showProgressDetails:this.opts.showProgressDetails,hideUploadButton:this.opts.hideUploadButton,hideRetryButton:this.opts.hideRetryButton,hidePauseResumeButton:this.opts.hidePauseResumeButton,hideCancelButton:this.opts.hideCancelButton,hideAfterFinish:this.opts.hideAfterFinish,isTargetDOMEl:this.isTargetDOMEl})}onMount(){const e=this.el;s(e)||(e.dir="ltr")}install(){const{target:e}=this.opts;e&&this.mount(e,this)}uninstall(){this.unmount()}}f.VERSION="2.2.2",e.exports=f},26282:function(e){"use strict";e.exports=function(e){const t=[];let n,r;for(const{progress:i}of Object.values(e)){const{preprocess:e,postprocess:o}=i;null==r&&(e||o)&&({mode:n,message:r}=e||o),"determinate"===(null==e?void 0:e.mode)&&t.push(e.value),"determinate"===(null==o?void 0:o.mode)&&t.push(o.value)}return{mode:n,message:r,value:t.reduce(((e,n)=>e+n/t.length),0)}}},19671:function(e,t,n){"use strict";e.exports=n(77294)},1569:function(e){"use strict";e.exports={strings:{uploading:"Uploading",complete:"Complete",uploadFailed:"Upload failed",paused:"Paused",retry:"Retry",cancel:"Cancel",pause:"Pause",resume:"Resume",done:"Done",filesUploadedOfTotal:{0:"%{complete} of %{smart_count} file uploaded",1:"%{complete} of %{smart_count} files uploaded"},dataUploadedOfTotal:"%{complete} of %{total}",xTimeLeft:"%{time} left",uploadXFiles:{0:"Upload %{smart_count} file",1:"Upload %{smart_count} files"},uploadXNewFiles:{0:"Upload +%{smart_count} file",1:"Upload +%{smart_count} files"},upload:"Upload",retryUpload:"Retry upload",xMoreFilesAdded:{0:"%{smart_count} more file added",1:"%{smart_count} more files added"},showErrorDetails:"Show error details"}}},65278:function(e){"use strict";var t=0;function n(e){return"__private_"+t+++"_"+e}var r=n("publish");class i{constructor(){Object.defineProperty(this,r,{value:o}),this.state={},this.callbacks=[]}getState(){return this.state}setState(e){const t={...this.state},n={...this.state,...e};this.state=n,function(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e}(this,r)[r](t,n,e)}subscribe(e){return this.callbacks.push(e),()=>{this.callbacks.splice(this.callbacks.indexOf(e),1)}}}function o(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];this.callbacks.forEach((e=>{e(...t)}))}i.VERSION="2.1.1",e.exports=function(){return new i}},44578:function(e,t,n){"use strict";var r=n(42127),i=n(28891);const o=n(43247),s=n(88216),a=n(14958),u=n(33609);class l extends r.UIPlugin{constructor(e,t){if(super(e,t),this.onFileAdded=e=>{!e.preview&&e.data&&a(e.type)&&!e.isRemote&&this.addToQueue(e.id)},this.onCancelRequest=e=>{const t=this.queue.indexOf(e.id);-1!==t&&this.queue.splice(t,1)},this.onFileRemoved=e=>{const t=this.queue.indexOf(e.id);-1!==t&&this.queue.splice(t,1),e.preview&&s(e.preview)&&URL.revokeObjectURL(e.preview)},this.onRestored=()=>{this.uppy.getFiles().filter((e=>e.isRestored)).forEach((e=>{e.preview&&!s(e.preview)||this.addToQueue(e.id)}))},this.onAllFilesRemoved=()=>{this.queue=[]},this.waitUntilAllProcessed=e=>{e.forEach((e=>{const t=this.uppy.getFile(e);this.uppy.emit("preprocess-progress",t,{mode:"indeterminate",message:this.i18n("generatingThumbnails")})}));const t=()=>{e.forEach((e=>{const t=this.uppy.getFile(e);this.uppy.emit("preprocess-complete",t)}))};return new Promise((e=>{this.queueProcessing?this.uppy.once("thumbnail:all-generated",(()=>{t(),e()})):(t(),e())}))},this.type="modifier",this.id=this.opts.id||"ThumbnailGenerator",this.title="Thumbnail Generator",this.queue=[],this.queueProcessing=!1,this.defaultThumbnailDimension=200,this.thumbnailType=this.opts.thumbnailType||"image/jpeg",this.defaultLocale=u,this.opts={thumbnailWidth:null,thumbnailHeight:null,waitForThumbnailsBeforeUpload:!1,lazy:!1,...t},this.i18nInit(),this.opts.lazy&&this.opts.waitForThumbnailsBeforeUpload)throw new Error("ThumbnailGenerator: The `lazy` and `waitForThumbnailsBeforeUpload` options are mutually exclusive. Please ensure at most one of them is set to `true`.")}createThumbnail(e,t,n){const r=URL.createObjectURL(e.data),o=new Promise(((e,t)=>{const n=new Image;n.src=r,n.addEventListener("load",(()=>{URL.revokeObjectURL(r),e(n)})),n.addEventListener("error",(e=>{URL.revokeObjectURL(r),t(e.error||new Error("Could not create thumbnail"))}))})),s=(0,i.rotation)(e.data).catch((()=>1));return Promise.all([o,s]).then((e=>{let[r,i]=e;const o=this.getProportionalDimensions(r,t,n,i.deg),s=this.rotateImage(r,i),a=this.resizeImage(s,o.width,o.height);return this.canvasToBlob(a,this.thumbnailType,80)})).then((e=>URL.createObjectURL(e)))}getProportionalDimensions(e,t,n,r){let i=e.width/e.height;return 90!==r&&270!==r||(i=e.height/e.width),null!=t?{width:t,height:Math.round(t/i)}:null!=n?{width:Math.round(n*i),height:n}:{width:this.defaultThumbnailDimension,height:Math.round(this.defaultThumbnailDimension/i)}}resizeImage(e,t,n){let r=this.protect(e),i=Math.ceil(Math.log2(r.width/t));i<1&&(i=1);let o=t*2**(i-1),s=n*2**(i-1);for(;i--;){const e=document.createElement("canvas");e.width=o,e.height=s,e.getContext("2d").drawImage(r,0,0,o,s),r=e,o=Math.round(o/2),s=Math.round(s/2)}return r}setPreviewURL(e,t){this.uppy.setFileState(e,{preview:t})}addToQueue(e){this.queue.push(e),!1===this.queueProcessing&&this.processQueue()}processQueue(){if(this.queueProcessing=!0,this.queue.length>0){const e=this.uppy.getFile(this.queue.shift());return e?this.requestThumbnail(e).catch((()=>{})).then((()=>this.processQueue())):(this.uppy.log("[ThumbnailGenerator] file was removed before a thumbnail could be generated, but not removed from the queue. This is probably a bug","error"),Promise.resolve())}return this.queueProcessing=!1,this.uppy.log("[ThumbnailGenerator] Emptied thumbnail queue"),this.uppy.emit("thumbnail:all-generated"),Promise.resolve()}requestThumbnail(e){return a(e.type)&&!e.isRemote?this.createThumbnail(e,this.opts.thumbnailWidth,this.opts.thumbnailHeight).then((t=>{this.setPreviewURL(e.id,t),this.uppy.log(`[ThumbnailGenerator] Generated thumbnail for ${e.id}`),this.uppy.emit("thumbnail:generated",this.uppy.getFile(e.id),t)})).catch((t=>{this.uppy.log(`[ThumbnailGenerator] Failed thumbnail for ${e.id}:`,"warning"),this.uppy.log(t,"warning"),this.uppy.emit("thumbnail:error",this.uppy.getFile(e.id),t)})):Promise.resolve()}install(){this.uppy.on("file-removed",this.onFileRemoved),this.uppy.on("cancel-all",this.onAllFilesRemoved),this.opts.lazy?(this.uppy.on("thumbnail:request",this.onFileAdded),this.uppy.on("thumbnail:cancel",this.onCancelRequest)):(this.uppy.on("file-added",this.onFileAdded),this.uppy.on("restored",this.onRestored)),this.opts.waitForThumbnailsBeforeUpload&&this.uppy.addPreProcessor(this.waitUntilAllProcessed)}uninstall(){this.uppy.off("file-removed",this.onFileRemoved),this.uppy.off("cancel-all",this.onAllFilesRemoved),this.opts.lazy?(this.uppy.off("thumbnail:request",this.onFileAdded),this.uppy.off("thumbnail:cancel",this.onCancelRequest)):(this.uppy.off("file-added",this.onFileAdded),this.uppy.off("restored",this.onRestored)),this.opts.waitForThumbnailsBeforeUpload&&this.uppy.removePreProcessor(this.waitUntilAllProcessed)}}l.VERSION="2.2.2",e.exports=l,l.prototype.canvasToBlob=function(e,t,n){try{e.getContext("2d").getImageData(0,0,1,1)}catch(e){if(18===e.code)return Promise.reject(new Error("cannot read image, probably an svg with external resources"))}return e.toBlob?new Promise((r=>{e.toBlob(r,t,n)})).then((e=>{if(null===e)throw new Error("cannot read image, probably an svg with external resources");return e})):Promise.resolve().then((()=>o(e.toDataURL(t,n),{}))).then((e=>{if(null===e)throw new Error("could not extract blob, probably an old browser");return e}))},l.prototype.protect=function(e){const t=e.width/e.height,n=5e6,r=4096;let i=Math.floor(Math.sqrt(n*t)),o=Math.floor(n/Math.sqrt(n*t));if(i>r&&(i=r,o=Math.round(i/t)),o>r&&(o=r,i=Math.round(t*o)),e.width>i){const t=document.createElement("canvas");return t.width=i,t.height=o,t.getContext("2d").drawImage(e,0,0,i,o),t}return e},l.prototype.rotateImage=function(e,t){let n=e.width,r=e.height;90!==t.deg&&270!==t.deg||(n=e.height,r=e.width);const i=document.createElement("canvas");i.width=n,i.height=r;const o=i.getContext("2d");return o.translate(n/2,r/2),t.canvas&&(o.rotate(t.rad),o.scale(t.scaleX,t.scaleY)),o.drawImage(e,-e.width/2,-e.height/2,e.width,e.height),i}},33609:function(e){"use strict";e.exports={strings:{generatingThumbnails:"Generating thumbnails..."}}},72737:function(e,t,n){"use strict";var r=n(37875);e.exports=function(e){return(t,n)=>{if("undefined"!=typeof window&&(void 0!==window.PhoneGap||void 0!==window.Cordova||void 0!==window.cordova)||"undefined"!=typeof navigator&&"string"==typeof navigator.product&&"reactnative"===navigator.product.toLowerCase())return r.defaultOptions.fingerprint(t,n);const i=["tus",e.id,n.endpoint].join("-");return Promise.resolve(i)}}},92278:function(e,t,n){"use strict";var r=n(37875),i=n(78729),o=n(61539);function s(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e}var a=0;function u(e){return"__private_"+a+++"_"+e}const l=n(1515),c=n(50862),f=n(32746),h=n(76148),p=n(4574),d=n(35018),m=n(21625),g=n(68410),v=n(72737),y={endpoint:"",uploadUrl:null,metadata:{},uploadSize:null,onProgress:null,onChunkComplete:null,onSuccess:null,onError:null,overridePatchMethod:!1,headers:{},addRequestId:!1,chunkSize:1/0,retryDelays:[100,1e3,3e3,5e3],parallelUploads:1,removeFingerprintOnSuccess:!1,uploadLengthDeferred:!1,uploadDataDuringCreation:!1};var b=u("retryDelayIterator"),w=u("queueRequestSocketToken"),_=u("requestSocketToken");class S extends l{constructor(e,t){var n,r;super(e,t),Object.defineProperty(this,b,{writable:!0,value:void 0}),Object.defineProperty(this,w,{writable:!0,value:void 0}),Object.defineProperty(this,_,{writable:!0,value:async e=>{const t=new(e.remote.providerOptions.provider?i.Provider:i.RequestClient)(this.uppy,e.remote.providerOptions),n={...this.opts};return e.tus&&Object.assign(n,e.tus),(await t.post(e.remote.url,{...e.remote.body,endpoint:n.endpoint,uploadUrl:n.uploadUrl,protocol:"tus",size:e.data.size,headers:n.headers,metadata:e.meta})).token}}),this.type="uploader",this.id=this.opts.id||"Tus",this.title="Tus";const a={useFastRemoteRetry:!0,limit:20,retryDelays:y.retryDelays,withCredentials:!1};if(this.opts={...a,...t},"autoRetry"in t)throw new Error("The `autoRetry` option was deprecated and has been removed.");this.requests=null!=(n=this.opts.rateLimitedQueue)?n:new o.RateLimitedQueue(this.opts.limit),s(this,b)[b]=null==(r=this.opts.retryDelays)?void 0:r.values(),this.uploaders=Object.create(null),this.uploaderEvents=Object.create(null),this.uploaderSockets=Object.create(null),this.handleResetProgress=this.handleResetProgress.bind(this),this.handleUpload=this.handleUpload.bind(this),s(this,w)[w]=this.requests.wrapPromiseFunction(s(this,_)[_])}handleResetProgress(){const e={...this.uppy.getState().files};Object.keys(e).forEach((t=>{if(e[t].tus&&e[t].tus.uploadUrl){const n={...e[t].tus};delete n.uploadUrl,e[t]={...e[t],tus:n}}})),this.uppy.setState({files:e})}resetUploaderReferences(e,t){if(void 0===t&&(t={}),this.uploaders[e]){const n=this.uploaders[e];n.abort(),t.abort&&n.abort(!0),this.uploaders[e]=null}this.uploaderEvents[e]&&(this.uploaderEvents[e].remove(),this.uploaderEvents[e]=null),this.uploaderSockets[e]&&(this.uploaderSockets[e].close(),this.uploaderSockets[e]=null)}upload(e){var t=this;return this.resetUploaderReferences(e.id),new Promise(((n,i)=>{let o,a,u;this.uppy.emit("upload-started",e);const l={...this.opts,...e.tus||{}};"function"==typeof l.headers&&(l.headers=l.headers(e));const c={...y,...l};c.fingerprint=v(e),c.onBeforeRequest=t=>{let n;if(t.getUnderlyingObject().withCredentials=!!l.withCredentials,"function"==typeof l.onBeforeRequest&&(n=l.onBeforeRequest(t,e)),g(o,"shouldBeRequeued")){if(!o.shouldBeRequeued)return Promise.reject();let t;const r=new Promise((e=>{t=e}));return o=this.requests.run((()=>(e.isPaused&&o.abort(),t(),()=>{}))),Promise.all([r,n])}return n},c.onError=t=>{var n;this.uppy.log(t);const r=t.originalRequest?t.originalRequest.getUnderlyingObject():null;m(r)&&(t=new d(t,r)),this.resetUploaderReferences(e.id),null==(n=o)||n.abort(),this.uppy.emit("upload-error",e,t),i(t)},c.onProgress=(t,n)=>{this.onReceiveUploadUrl(e,u.url),this.uppy.emit("upload-progress",e,{uploader:this,bytesUploaded:t,bytesTotal:n})},c.onSuccess=()=>{const t={uploadURL:u.url};this.resetUploaderReferences(e.id),o.done(),this.uppy.emit("upload-success",e,t),u.url&&this.uppy.log(`Download ${u.file.name} from ${u.url}`),n(u)};const f=e=>{var t;const n=null==e||null==(t=e.originalResponse)?void 0:t.getStatus();if(429===n){if(!this.requests.isPaused){var r;const e=null==(r=s(this,b)[b])?void 0:r.next();if(null==e||e.done)return!1;this.requests.rateLimit(e.value)}}else{if(n>400&&n<500&&409!==n)return!1;"undefined"!=typeof navigator&&!1===navigator.onLine&&(this.requests.isPaused||(this.requests.pause(),window.addEventListener("online",(()=>{this.requests.resume()}),{once:!0})))}return o.abort(),o={shouldBeRequeued:!0,abort(){this.shouldBeRequeued=!1},done(){throw new Error("Cannot mark a queued request as done: this indicates a bug")},fn(){throw new Error("Cannot run a queued request: this indicates a bug")}},!0};null!=l.onShouldRetry?c.onShouldRetry=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return l.onShouldRetry(...t,f)}:c.onShouldRetry=f;const h=(e,t,n)=>{g(e,t)&&!g(e,n)&&(e[n]=e[t])},w={};(Array.isArray(l.metaFields)?l.metaFields:Object.keys(e.meta)).forEach((t=>{w[t]=e.meta[t]})),h(w,"type","filetype"),h(w,"name","filename"),c.metadata=w,u=new r.Upload(e.data,c),this.uploaders[e.id]=u,this.uploaderEvents[e.id]=new p(this.uppy),a=()=>(e.isPaused||u.start(),()=>{}),u.findPreviousUploads().then((t=>{const n=t[0];n&&(this.uppy.log(`[Tus] Resuming upload of ${e.id} started at ${n.creationTime}`),u.resumeFromPreviousUpload(n))})),o=this.requests.run(a),this.onFileRemove(e.id,(t=>{o.abort(),this.resetUploaderReferences(e.id,{abort:!!u.url}),n(`upload ${t} was removed`)})),this.onPause(e.id,(e=>{o.abort(),e?u.abort():o=this.requests.run(a)})),this.onPauseAll(e.id,(()=>{o.abort(),u.abort()})),this.onCancelAll(e.id,(function(r){let{reason:i}=void 0===r?{}:r;"user"===i&&(o.abort(),t.resetUploaderReferences(e.id,{abort:!!u.url})),n(`upload ${e.id} was canceled`)})),this.onResumeAll(e.id,(()=>{o.abort(),e.error&&u.abort(),o=this.requests.run(a)}))})).catch((t=>{throw this.uppy.emit("upload-error",e,t),t}))}async uploadRemote(e){this.resetUploaderReferences(e.id),e.progress.uploadStarted&&e.isRestored||this.uppy.emit("upload-started",e);try{if(e.serverToken)return this.connectToServerSocket(e);const t=await s(this,w)[w](e);if(!this.uppy.getState().files[e.id])return;return this.uppy.setFileState(e.id,{serverToken:t}),this.connectToServerSocket(this.uppy.getFile(e.id))}catch(t){throw this.uppy.emit("upload-error",e,t),t}}connectToServerSocket(e){var t=this;return new Promise(((n,r)=>{const o=e.serverToken,s=f(e.remote.companionUrl),a=new i.Socket({target:`${s}/api/${o}`});let u;this.uploaderSockets[e.id]=a,this.uploaderEvents[e.id]=new p(this.uppy),this.onFileRemove(e.id,(()=>{u.abort(),a.send("cancel",{}),this.resetUploaderReferences(e.id),n(`upload ${e.id} was removed`)})),this.onPause(e.id,(e=>{e?(u.abort(),a.send("pause",{})):(u.abort(),u=this.requests.run((()=>(a.send("resume",{}),()=>{}))))})),this.onPauseAll(e.id,(()=>{u.abort(),a.send("pause",{})})),this.onCancelAll(e.id,(function(r){let{reason:i}=void 0===r?{}:r;"user"===i&&(u.abort(),a.send("cancel",{}),t.resetUploaderReferences(e.id)),n(`upload ${e.id} was canceled`)})),this.onResumeAll(e.id,(()=>{u.abort(),e.error&&a.send("pause",{}),u=this.requests.run((()=>(a.send("resume",{}),()=>{})))})),this.onRetry(e.id,(()=>{a.isOpen&&(a.send("pause",{}),a.send("resume",{}))})),this.onRetryAll(e.id,(()=>{a.isOpen&&(a.send("pause",{}),a.send("resume",{}))})),a.on("progress",(t=>c(this,t,e))),a.on("error",(t=>{const{message:n}=t.error,i=Object.assign(new Error(n),{cause:t.error});this.opts.useFastRemoteRetry?a.close():(this.resetUploaderReferences(e.id),this.uppy.setFileState(e.id,{serverToken:null})),this.uppy.emit("upload-error",e,i),u.done(),r(i)})),a.on("success",(t=>{const r={uploadURL:t.url};this.uppy.emit("upload-success",e,r),this.resetUploaderReferences(e.id),u.done(),n()})),u=this.requests.run((()=>(e.isPaused&&a.send("pause",{}),()=>{})))}))}onReceiveUploadUrl(e,t){const n=this.uppy.getFile(e.id);n&&(n.tus&&n.tus.uploadUrl===t||(this.uppy.log("[Tus] Storing upload url"),this.uppy.setFileState(n.id,{tus:{...n.tus,uploadUrl:t}})))}onFileRemove(e,t){this.uploaderEvents[e].on("file-removed",(n=>{e===n.id&&t(n.id)}))}onPause(e,t){this.uploaderEvents[e].on("upload-pause",((n,r)=>{e===n&&t(r)}))}onRetry(e,t){this.uploaderEvents[e].on("upload-retry",(n=>{e===n&&t()}))}onRetryAll(e,t){this.uploaderEvents[e].on("retry-all",(()=>{this.uppy.getFile(e)&&t()}))}onPauseAll(e,t){this.uploaderEvents[e].on("pause-all",(()=>{this.uppy.getFile(e)&&t()}))}onCancelAll(e,t){var n=this;this.uploaderEvents[e].on("cancel-all",(function(){n.uppy.getFile(e)&&t(...arguments)}))}onResumeAll(e,t){this.uploaderEvents[e].on("resume-all",(()=>{this.uppy.getFile(e)&&t()}))}uploadFiles(e){const t=e.map(((t,n)=>{const r=n+1,i=e.length;return"error"in t&&t.error?Promise.reject(new Error(t.error)):t.isRemote?(t.progress.uploadStarted&&t.isRestored||this.uppy.emit("upload-started",t),this.uploadRemote(t,r,i)):(t.progress.uploadStarted&&t.isRestored||this.uppy.emit("upload-started",t),this.upload(t,r,i))}));return h(t)}handleUpload(e){if(0===e.length)return this.uppy.log("[Tus] No files to upload"),Promise.resolve();0===this.opts.limit&&this.uppy.log("[Tus] When uploading multiple files at once, consider setting the `limit` option (to `10` for example), to limit the number of concurrent uploads, which helps prevent memory and network issues: https://uppy.io/docs/tus/#limit-0","warning"),this.uppy.log("[Tus] Uploading...");const t=e.map((e=>this.uppy.getFile(e)));return this.uploadFiles(t).then((()=>null))}install(){this.uppy.setState({capabilities:{...this.uppy.getState().capabilities,resumableUploads:!0}}),this.uppy.addUploader(this.handleUpload),this.uppy.on("reset-progress",this.handleResetProgress)}uninstall(){this.uppy.setState({capabilities:{...this.uppy.getState().capabilities,resumableUploads:!1}}),this.uppy.removeUploader(this.handleUpload)}}S.VERSION="2.4.6",e.exports=S},93411:function(e,t,n){"use strict";const r=n(68410);class i extends Error{constructor(e,t){void 0===t&&(t={}),super(e),this.cause=t.cause,this.cause&&r(this.cause,"isNetworkError")&&(this.isNetworkError=this.cause.isNetworkError)}}e.exports=i},4574:function(e){"use strict";function t(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e}var n=0;function r(e){return"__private_"+n+++"_"+e}var i=r("emitter"),o=r("events");e.exports=class{constructor(e){Object.defineProperty(this,i,{writable:!0,value:void 0}),Object.defineProperty(this,o,{writable:!0,value:[]}),t(this,i)[i]=e}on(e,n){return t(this,o)[o].push([e,n]),t(this,i)[i].on(e,n)}remove(){for(const[e,n]of t(this,o)[o].splice(0))t(this,i)[i].off(e,n)}}},20872:function(e){"use strict";e.exports=['a[href]:not([tabindex^="-"]):not([inert]):not([aria-hidden])','area[href]:not([tabindex^="-"]):not([inert]):not([aria-hidden])',"input:not([disabled]):not([inert]):not([aria-hidden])","select:not([disabled]):not([inert]):not([aria-hidden])","textarea:not([disabled]):not([inert]):not([aria-hidden])","button:not([disabled]):not([inert]):not([aria-hidden])",'iframe:not([tabindex^="-"]):not([inert]):not([aria-hidden])','object:not([tabindex^="-"]):not([inert]):not([aria-hidden])','embed:not([tabindex^="-"]):not([inert]):not([aria-hidden])','[contenteditable]:not([tabindex^="-"]):not([inert]):not([aria-hidden])','[tabindex]:not([tabindex^="-"]):not([inert]):not([aria-hidden])']},35018:function(e){"use strict";class t extends Error{constructor(e,t){void 0===t&&(t=null),super("This looks like a network error, the endpoint might be blocked by an internet provider or a firewall."),this.cause=e,this.isNetworkError=!0,this.request=t}}e.exports=t},37711:function(e){"use strict";function t(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e}var n=0;function r(e){return"__private_"+n+++"_"+e}var i=r("aliveTimer"),o=r("isDone"),s=r("onTimedOut"),a=r("timeout");e.exports=class{constructor(e,n){Object.defineProperty(this,i,{writable:!0,value:void 0}),Object.defineProperty(this,o,{writable:!0,value:!1}),Object.defineProperty(this,s,{writable:!0,value:void 0}),Object.defineProperty(this,a,{writable:!0,value:void 0}),t(this,a)[a]=e,t(this,s)[s]=n}progress(){t(this,o)[o]||t(this,a)[a]>0&&(clearTimeout(t(this,i)[i]),t(this,i)[i]=setTimeout(t(this,s)[s],t(this,a)[a]))}done(){t(this,o)[o]||(clearTimeout(t(this,i)[i]),t(this,i)[i]=null,t(this,o)[o]=!0)}}},61539:function(e,t){"use strict";function n(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e}Object.defineProperty(t,"__esModule",{value:!0}),t.internalRateLimitedQueue=t.RateLimitedQueue=void 0;var r=0;function i(e){return"__private_"+r+++"_"+e}var o=i("activeRequests"),s=i("queuedHandlers"),a=i("paused"),u=i("pauseTimer"),l=i("downLimit"),c=i("upperLimit"),f=i("rateLimitingTimer"),h=i("call"),p=i("queueNext"),d=i("next"),m=i("queue"),g=i("dequeue"),v=i("resume"),y=i("increaseLimit");function b(e){n(this,o)[o]+=1;let t,r=!1;try{t=e()}catch(e){throw n(this,o)[o]-=1,e}return{abort:()=>{r||(r=!0,n(this,o)[o]-=1,t(),n(this,p)[p]())},done:()=>{r||(r=!0,n(this,o)[o]-=1,n(this,p)[p]())}}}function w(){queueMicrotask((()=>n(this,d)[d]()))}function _(){if(n(this,a)[a]||n(this,o)[o]>=this.limit)return;if(0===n(this,s)[s].length)return;const e=n(this,s)[s].shift(),t=n(this,h)[h](e.fn);e.abort=t.abort,e.done=t.done}function S(e,t){void 0===t&&(t={});const r={fn:e,priority:t.priority||0,abort:()=>{n(this,g)[g](r)},done:()=>{throw new Error("Cannot mark a queued request as done: this indicates a bug")}},i=n(this,s)[s].findIndex((e=>r.priority>e.priority));return-1===i?n(this,s)[s].push(r):n(this,s)[s].splice(i,0,r),r}function x(e){const t=n(this,s)[s].indexOf(e);-1!==t&&n(this,s)[s].splice(t,1)}t.RateLimitedQueue=class{constructor(e){Object.defineProperty(this,g,{value:x}),Object.defineProperty(this,m,{value:S}),Object.defineProperty(this,d,{value:_}),Object.defineProperty(this,p,{value:w}),Object.defineProperty(this,h,{value:b}),Object.defineProperty(this,o,{writable:!0,value:0}),Object.defineProperty(this,s,{writable:!0,value:[]}),Object.defineProperty(this,a,{writable:!0,value:!1}),Object.defineProperty(this,u,{writable:!0,value:void 0}),Object.defineProperty(this,l,{writable:!0,value:1}),Object.defineProperty(this,c,{writable:!0,value:void 0}),Object.defineProperty(this,f,{writable:!0,value:void 0}),Object.defineProperty(this,v,{writable:!0,value:()=>this.resume()}),Object.defineProperty(this,y,{writable:!0,value:()=>{if(n(this,a)[a])n(this,f)[f]=setTimeout(n(this,y)[y],0);else{n(this,l)[l]=this.limit,this.limit=Math.ceil((n(this,c)[c]+n(this,l)[l])/2);for(let e=n(this,l)[l];e<=this.limit;e++)n(this,p)[p]();n(this,c)[c]-n(this,l)[l]>3?n(this,f)[f]=setTimeout(n(this,y)[y],2e3):n(this,l)[l]=Math.floor(n(this,l)[l]/2)}}}),this.limit="number"!=typeof e||0===e?1/0:e}run(e,t){return!n(this,a)[a]&&n(this,o)[o]<this.limit?n(this,h)[h](e):n(this,m)[m](e,t)}wrapPromiseFunction(e,t){var n=this;return function(){for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];let s;const a=new Promise(((r,o)=>{s=n.run((()=>{let t,n;try{n=Promise.resolve(e(...i))}catch(e){n=Promise.reject(e)}return n.then((e=>{t?o(t):(s.done(),r(e))}),(e=>{t?o(t):(s.done(),o(e))})),()=>{t=new Error("Cancelled")}}),t)}));return a.abort=()=>{s.abort()},a}}resume(){n(this,a)[a]=!1,clearTimeout(n(this,u)[u]);for(let e=0;e<this.limit;e++)n(this,p)[p]()}pause(e){void 0===e&&(e=null),n(this,a)[a]=!0,clearTimeout(n(this,u)[u]),null!=e&&(n(this,u)[u]=setTimeout(n(this,v)[v],e))}rateLimit(e){clearTimeout(n(this,f)[f]),this.pause(e),this.limit>1&&Number.isFinite(this.limit)&&(n(this,c)[c]=this.limit-1,this.limit=n(this,l)[l],n(this,f)[f]=setTimeout(n(this,y)[y],e))}get isPaused(){return n(this,a)[a]}};const E=Symbol("__queue");t.internalRateLimitedQueue=E},38052:function(e,t,n){"use strict";function r(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e}var i=0;function o(e){return"__private_"+i+++"_"+e}const s=n(68410);function a(e,t,n){const r=[];return e.forEach((e=>"string"!=typeof e?r.push(e):t[Symbol.split](e).forEach(((e,t,i)=>{""!==e&&r.push(e),t<i.length-1&&r.push(n)})))),r}function u(e,t){const n=/\$/g;let r=[e];if(null==t)return r;for(const e of Object.keys(t))if("_"!==e){let i=t[e];"string"==typeof i&&(i=n[Symbol.replace](i,"$$$$")),r=a(r,new RegExp(`%\\{${e}\\}`,"g"),i)}return r}var l=o("apply");function c(e){if(null==e||!e.strings)return;const t=this.locale;this.locale={...t,strings:{...t.strings,...e.strings}},this.locale.pluralize=e.pluralize||t.pluralize}e.exports=class{constructor(e){Object.defineProperty(this,l,{value:c}),this.locale={strings:{},pluralize(e){return 1===e?0:1}},Array.isArray(e)?e.forEach(r(this,l)[l],this):r(this,l)[l](e)}translate(e,t){return this.translateArray(e,t).join("")}translateArray(e,t){if(!s(this.locale.strings,e))throw new Error(`missing string: ${e}`);const n=this.locale.strings[e];if("object"==typeof n){if(t&&void 0!==t.smart_count)return u(n[this.locale.pluralize(t.smart_count)],t);throw new Error("Attempted to use a string with plural forms, but no value was given for %{smart_count}")}return u(n,t)}}},56180:function(e){"use strict";e.exports=function(e,t,n){return new Promise((r=>{e.toBlob(r,t,n)}))}},43247:function(e){"use strict";const t=/^data:([^/]+\/[^,;]+(?:[^,]*?))(;base64)?,([\s\S]*)$/;e.exports=function(e,n,r){var i,o;const s=t.exec(e),a=null!=(i=null!=(o=n.mimeType)?o:null==s?void 0:s[1])?i:"plain/text";let u;if(null!=s[2]){const e=atob(decodeURIComponent(s[3])),t=new Uint8Array(e.length);for(let n=0;n<e.length;n++)t[n]=e.charCodeAt(n);u=[t]}else u=[decodeURIComponent(s[3])];return r?new File(u,n.name||"",{type:a}):new Blob(u,{type:a})}},50862:function(e,t,n){"use strict";const r=n(98357);e.exports=r((function(e,t,n){const{progress:r,bytesUploaded:i,bytesTotal:o}=t;r&&(e.uppy.log(`Upload progress: ${r}`),e.uppy.emit("upload-progress",n,{uploader:e,bytesUploaded:i,bytesTotal:o}))}),300,{leading:!0,trailing:!0})},19286:function(e,t,n){"use strict";const r=n(35018);e.exports=function(){return fetch(...arguments).catch((e=>{throw"AbortError"===e.name?e:new r(e)}))}},75565:function(e,t,n){"use strict";const r=n(23780);e.exports=function(e){if("string"==typeof e){const t=document.querySelectorAll(e);return 0===t.length?null:Array.from(t)}return"object"==typeof e&&r(e)?[e]:null}},41321:function(e,t,n){"use strict";const r=n(23780);e.exports=function(e,t){return void 0===t&&(t=document),"string"==typeof e?t.querySelector(e):r(e)?e:null}},79246:function(e){"use strict";function t(e){let t="";return e.replace(/[^A-Z0-9]/gi,(e=>(t+=`-${function(e){return e.charCodeAt(0).toString(32)}(e)}`,"/")))+t}e.exports=function(e){let n="uppy";return"string"==typeof e.name&&(n+=`-${t(e.name.toLowerCase())}`),void 0!==e.type&&(n+=`-${e.type}`),e.meta&&"string"==typeof e.meta.relativePath&&(n+=`-${t(e.meta.relativePath.toLowerCase())}`),void 0!==e.data.size&&(n+=`-${e.data.size}`),void 0!==e.data.lastModified&&(n+=`-${e.data.lastModified}`),n}},21201:function(e){"use strict";e.exports=function(e){return e.bytesTotal-e.bytesUploaded}},13764:function(e,t,n){"use strict";const r=n(45368),i=n(90257);e.exports=async function(e,t){let{logDropError:n=(()=>{})}=void 0===t?{}:t;try{const t=[];for await(const i of r(e,n))t.push(i);return t}catch{return i(e)}}},90257:function(e,t,n){"use strict";const r=n(1886);e.exports=function(e){const t=r(e.files);return Promise.resolve(t)}},95262:function(e){"use strict";e.exports=function e(t,n,r,i){let{onSuccess:o}=i;t.readEntries((i=>{const s=[...n,...i];i.length?queueMicrotask((()=>{e(t,s,r,{onSuccess:o})})):o(s)}),(e=>{r(e),o(n)}))}},45368:function(e,t,n){"use strict";const r=n(95262);function i(e,t){return null==e?e:{kind:e.isFile?"file":e.isDirectory?"directory":void 0,name:e.name,getFile(){return new Promise(((t,n)=>e.file(t,n)))},async*values(){const n=e.createReader(),o=await new Promise((e=>{r(n,[],t,{onSuccess:n=>e(n.map((e=>i(e,t))))})}));yield*o}}}async function*o(e,t){if("file"===e.kind){const n=await e.getFile();null!==n&&(n.relativePath=t?`${t}/${e.name}`:null,yield n)}else if("directory"===e.kind)for await(const n of e.values())yield*o(n,`${t}/${e.name}`)}e.exports=async function*(e,t){const n=await Promise.all(Array.from(e.items,(async e=>{var n;return{lastResortFile:e.getAsFile(),entry:null!=(n=await(null==e.getAsFileSystemHandle?void 0:e.getAsFileSystemHandle()))?n:i(e.webkitGetAsEntry(),t)}})));for(const{lastResortFile:e,entry:r}of n)if(null!=r)try{yield*o(r,"")}catch(n){e?yield e:t(n)}}},73734:function(e){"use strict";e.exports=function(e){const t=e.lastIndexOf(".");return-1===t||t===e.length-1?{name:e,extension:void 0}:{name:e.slice(0,t),extension:e.slice(t+1)}}},40573:function(e,t,n){"use strict";const r=n(73734),i=n(7467);e.exports=function(e){var t;if(e.type)return e.type;const n=e.name?null==(t=r(e.name).extension)?void 0:t.toLowerCase():null;return n&&n in i?i[n]:"application/octet-stream"}},11688:function(e){"use strict";const t={"audio/mp3":"mp3","audio/mp4":"mp4","audio/ogg":"ogg","audio/webm":"webm","image/gif":"gif","image/heic":"heic","image/heif":"heif","image/jpeg":"jpg","image/png":"png","image/svg+xml":"svg","video/mp4":"mp4","video/ogg":"ogv","video/quicktime":"mov","video/webm":"webm","video/x-matroska":"mkv","video/x-msvideo":"avi"};e.exports=function(e){return[e]=e.split(";",1),t[e]||null}},32746:function(e){"use strict";e.exports=function(e){const t=/^(?:https?:\/\/|\/\/)?(?:[^@\n]+@)?(?:www\.)?([^\n]+)/i.exec(e)[1];return`${/^http:\/\//i.test(e)?"ws":"wss"}://${t}`}},92856:function(e){"use strict";e.exports=function(e){if(!e.bytesUploaded)return 0;const t=Date.now()-e.uploadStarted;return e.bytesUploaded/(t/1e3)}},13836:function(e){"use strict";e.exports=function(e){for(var t;e&&!e.dir;)e=e.parentNode;return null==(t=e)?void 0:t.dir}},96742:function(e){"use strict";function t(e){return e<10?`0${e}`:e.toString()}e.exports=function(){const e=new Date;return`${t(e.getHours())}:${t(e.getMinutes())}:${t(e.getSeconds())}`}},68410:function(e){"use strict";e.exports=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}},23780:function(e){"use strict";e.exports=function(e){return(null==e?void 0:e.nodeType)===Node.ELEMENT_NODE}},75891:function(e){"use strict";e.exports=function(){const e=document.body;return"draggable"in e&&"ondragstart"in e&&"ondrop"in e&&"FormData"in window&&"FileReader"in window}},21625:function(e){"use strict";e.exports=function(e){return!!e&&(0!==e.readyState&&4!==e.readyState||0===e.status)}},88216:function(e){"use strict";e.exports=function(e){return e.startsWith("blob:")}},14958:function(e){"use strict";e.exports=function(e){return!!e&&/^[^/]+\/(jpe?g|gif|png|svg|svg\+xml|bmp|webp|avif)$/.test(e)}},7467:function(e){"use strict";e.exports={md:"text/markdown",markdown:"text/markdown",mp4:"video/mp4",mp3:"audio/mp3",svg:"image/svg+xml",jpg:"image/jpeg",png:"image/png",gif:"image/gif",heic:"image/heic",heif:"image/heif",yaml:"text/yaml",yml:"text/yaml",csv:"text/csv",tsv:"text/tab-separated-values",tab:"text/tab-separated-values",avi:"video/x-msvideo",mks:"video/x-matroska",mkv:"video/x-matroska",mov:"video/quicktime",dicom:"application/dicom",doc:"application/msword",docm:"application/vnd.ms-word.document.macroenabled.12",docx:"application/vnd.openxmlformats-officedocument.wordprocessingml.document",dot:"application/msword",dotm:"application/vnd.ms-word.template.macroenabled.12",dotx:"application/vnd.openxmlformats-officedocument.wordprocessingml.template",xla:"application/vnd.ms-excel",xlam:"application/vnd.ms-excel.addin.macroenabled.12",xlc:"application/vnd.ms-excel",xlf:"application/x-xliff+xml",xlm:"application/vnd.ms-excel",xls:"application/vnd.ms-excel",xlsb:"application/vnd.ms-excel.sheet.binary.macroenabled.12",xlsm:"application/vnd.ms-excel.sheet.macroenabled.12",xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",xlt:"application/vnd.ms-excel",xltm:"application/vnd.ms-excel.template.macroenabled.12",xltx:"application/vnd.openxmlformats-officedocument.spreadsheetml.template",xlw:"application/vnd.ms-excel",txt:"text/plain",text:"text/plain",conf:"text/plain",log:"text/plain",pdf:"application/pdf",zip:"application/zip","7z":"application/x-7z-compressed",rar:"application/x-rar-compressed",tar:"application/x-tar",gz:"application/gzip",dmg:"application/x-apple-diskimage"}},96618:function(e,t,n){"use strict";const r=n(97599);e.exports=function(e){const t=r(e);return`${0===t.hours?"":`${t.hours}h`}${0===t.minutes?"":`${0===t.hours?t.minutes:` ${t.minutes.toString(10).padStart(2,"0")}`}m`}${0!==t.hours?"":`${0===t.minutes?t.seconds:` ${t.seconds.toString(10).padStart(2,"0")}`}s`}`}},58027:function(e,t,n){"use strict";const r=n(73734);e.exports=function(e){return{...e,type:e.mimeType,extension:e.name?r(e.name).extension:null}}},97599:function(e){"use strict";e.exports=function(e){return{hours:Math.floor(e/3600)%24,minutes:Math.floor(e/60)%60,seconds:Math.floor(e%60)}}},76148:function(e){"use strict";e.exports=function(e){const t=[],n=[];function r(e){t.push(e)}function i(e){n.push(e)}return Promise.all(e.map((e=>e.then(r,i)))).then((()=>({successful:t,failed:n})))}},1886:function(e){"use strict";e.exports=Array.from},58140:function(e){"use strict";const t="...";e.exports=function(e,n){if(0===n)return"";if(e.length<=n)return e;if(n<=t.length+1)return`${e.slice(0,n-1)}…`;const r=n-t.length,i=Math.ceil(r/2),o=Math.floor(r/2);return e.slice(0,i)+t+e.slice(-o)}},45441:function(e,t,n){"use strict";var r=n(33847);e.exports=()=>(0,r.h)("svg",{"aria-hidden":"true",focusable:"false",fill:"#0097DC",width:"66",height:"55",viewBox:"0 0 66 55"},(0,r.h)("path",{d:"M57.3 8.433c4.59 0 8.1 3.51 8.1 8.1v29.7c0 4.59-3.51 8.1-8.1 8.1H8.7c-4.59 0-8.1-3.51-8.1-8.1v-29.7c0-4.59 3.51-8.1 8.1-8.1h9.45l4.59-7.02c.54-.54 1.35-1.08 2.16-1.08h16.2c.81 0 1.62.54 2.16 1.08l4.59 7.02h9.45zM33 14.64c-8.62 0-15.393 6.773-15.393 15.393 0 8.62 6.773 15.393 15.393 15.393 8.62 0 15.393-6.773 15.393-15.393 0-8.62-6.773-15.393-15.393-15.393zM33 40c-5.648 0-9.966-4.319-9.966-9.967 0-5.647 4.318-9.966 9.966-9.966s9.966 4.319 9.966 9.966C42.966 35.681 38.648 40 33 40z",fillRule:"evenodd"}))},97689:function(e,t,n){"use strict";var r=n(33847);function i(){return i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i.apply(this,arguments)}const o=n(49473),s=n(22153),a=n(85836),u=n(89831),l=n(85332),c=n(71981);function f(e,t){return-1!==e.indexOf(t)}class h extends r.Component{componentDidMount(){const{onFocus:e}=this.props;e()}componentWillUnmount(){const{onStop:e}=this.props;e()}render(){const{src:e,recordedVideo:t,recording:n,modes:h,supportsRecording:p,videoSources:d,showVideoSourceDropdown:m,showRecordingLength:g,onSubmit:v,i18n:y,mirror:b,onSnapshot:w,onStartRecording:_,onStopRecording:S,onDiscardRecordedVideo:x,recordingLengthSeconds:E}=this.props,k=!!t,P=!k&&p&&(f(h,"video-only")||f(h,"audio-only")||f(h,"video-audio")),C=!k&&f(h,"picture"),O=p&&g&&!k,T=m&&d&&d.length>1,A={playsinline:!0};return t?(A.muted=!1,A.controls=!0,A.src=t,this.videoElement&&(this.videoElement.srcObject=void 0)):(A.muted=!0,A.autoplay=!0,A.srcObject=e),(0,r.h)("div",{className:"uppy uppy-Webcam-container"},(0,r.h)("div",{className:"uppy-Webcam-videoContainer"},(0,r.h)("video",i({ref:e=>this.videoElement=e,className:"uppy-Webcam-video "+(b?"uppy-Webcam-video--mirrored":"")},A))),(0,r.h)("div",{className:"uppy-Webcam-footer"},(0,r.h)("div",{className:"uppy-Webcam-videoSourceContainer"},T?u(this.props):null),(0,r.h)("div",{className:"uppy-Webcam-buttonContainer"},C&&(0,r.h)(o,{onSnapshot:w,i18n:y}),P&&(0,r.h)(s,{recording:n,onStartRecording:_,onStopRecording:S,i18n:y}),k&&(0,r.h)(l,{onSubmit:v,i18n:y}),k&&(0,r.h)(c,{onDiscard:x,i18n:y})),(0,r.h)("div",{className:"uppy-Webcam-recordingLength"},O&&(0,r.h)(a,{recordingLengthSeconds:E,i18n:y}))))}}e.exports=h},71981:function(e,t,n){"use strict";var r=n(33847);e.exports=function(e){let{onDiscard:t,i18n:n}=e;return(0,r.h)("button",{className:"uppy-u-reset uppy-c-btn uppy-Webcam-button uppy-Webcam-button--discard",type:"button",title:n("discardRecordedFile"),"aria-label":n("discardRecordedFile"),onClick:t,"data-uppy-super-focusable":!0},(0,r.h)("svg",{width:"13",height:"13",viewBox:"0 0 13 13",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",className:"uppy-c-icon"},(0,r.h)("g",{fill:"#FFF",fillRule:"evenodd"},(0,r.h)("path",{d:"M.496 11.367L11.103.76l1.414 1.414L1.911 12.781z"}),(0,r.h)("path",{d:"M11.104 12.782L.497 2.175 1.911.76l10.607 10.606z"}))))}},22338:function(e,t,n){"use strict";var r=n(33847);e.exports=e=>{let{icon:t,i18n:n,hasCamera:i}=e;return(0,r.h)("div",{className:"uppy-Webcam-permissons"},(0,r.h)("div",{className:"uppy-Webcam-permissonsIcon"},t()),(0,r.h)("h1",{className:"uppy-Webcam-title"},n(i?"allowAccessTitle":"noCameraTitle")),(0,r.h)("p",null,n(i?"allowAccessDescription":"noCameraDescription")))}},22153:function(e,t,n){"use strict";var r=n(33847);e.exports=function(e){let{recording:t,onStartRecording:n,onStopRecording:i,i18n:o}=e;return t?(0,r.h)("button",{className:"uppy-u-reset uppy-c-btn uppy-Webcam-button",type:"button",title:o("stopRecording"),"aria-label":o("stopRecording"),onClick:i,"data-uppy-super-focusable":!0},(0,r.h)("svg",{"aria-hidden":"true",focusable:"false",className:"uppy-c-icon",width:"100",height:"100",viewBox:"0 0 100 100"},(0,r.h)("rect",{x:"15",y:"15",width:"70",height:"70"}))):(0,r.h)("button",{className:"uppy-u-reset uppy-c-btn uppy-Webcam-button",type:"button",title:o("startRecording"),"aria-label":o("startRecording"),onClick:n,"data-uppy-super-focusable":!0},(0,r.h)("svg",{"aria-hidden":"true",focusable:"false",className:"uppy-c-icon",width:"100",height:"100",viewBox:"0 0 100 100"},(0,r.h)("circle",{cx:"50",cy:"50",r:"40"})))}},85836:function(e,t,n){"use strict";var r=n(33847);const i=n(83834);e.exports=function(e){let{recordingLengthSeconds:t,i18n:n}=e;const o=i(t);return(0,r.h)("span",{"aria-label":n("recordingLength",{recording_length:o})},o)}},49473:function(e,t,n){"use strict";var r=n(33847);const i=n(45441);e.exports=e=>{let{onSnapshot:t,i18n:n}=e;return(0,r.h)("button",{className:"uppy-u-reset uppy-c-btn uppy-Webcam-button uppy-Webcam-button--picture",type:"button",title:n("takePicture"),"aria-label":n("takePicture"),onClick:t,"data-uppy-super-focusable":!0},i())}},85332:function(e,t,n){"use strict";var r=n(33847);e.exports=function(e){let{onSubmit:t,i18n:n}=e;return(0,r.h)("button",{className:"uppy-u-reset uppy-c-btn uppy-Webcam-button uppy-Webcam-button--submit",type:"button",title:n("submitRecordedFile"),"aria-label":n("submitRecordedFile"),onClick:t,"data-uppy-super-focusable":!0},(0,r.h)("svg",{width:"12",height:"9",viewBox:"0 0 12 9",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",className:"uppy-c-icon"},(0,r.h)("path",{fill:"#fff",fillRule:"nonzero",d:"M10.66 0L12 1.31 4.136 9 0 4.956l1.34-1.31L4.136 6.38z"})))}},89831:function(e,t,n){"use strict";var r=n(33847);e.exports=e=>{let{currentDeviceId:t,videoSources:n,onChangeVideoSource:i}=e;return(0,r.h)("div",{className:"uppy-Webcam-videoSource"},(0,r.h)("select",{className:"uppy-u-reset uppy-Webcam-videoSource-select",onChange:e=>{i(e.target.value)}},n.map((e=>(0,r.h)("option",{key:e.deviceId,value:e.deviceId,selected:e.deviceId===t},e.label)))))}},12497:function(e,t,n){"use strict";var r=n(33847),i=n(42127);function o(){return o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o.apply(this,arguments)}function s(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e}var a=0;function u(e){return"__private_"+a+++"_"+e}const l=n(11688),c=n(7467),f=n(56180),h=n(31380),p=n(45441),d=n(97689),m=n(22338),g=n(39641);function v(e){return"."===e[0]?c[e.slice(1)]:e}function y(e){return/^video\/[^*]+$/.test(e)}function b(e){return/^image\/[^*]+$/.test(e)}var w=u("enableMirror");class _ extends i.UIPlugin{constructor(e,t){super(e,t),Object.defineProperty(this,w,{writable:!0,value:void 0}),this.mediaDevices=navigator.mediaDevices,this.supportsUserMedia=!!this.mediaDevices,this.protocol=location.protocol.match(/https/i)?"https":"http",this.id=this.opts.id||"Webcam",this.type="acquirer",this.capturedMediaFile=null,this.icon=()=>(0,r.h)("svg",{"aria-hidden":"true",focusable:"false",width:"32",height:"32",viewBox:"0 0 32 32"},(0,r.h)("g",{fill:"none",fillRule:"evenodd"},(0,r.h)("rect",{className:"uppy-ProviderIconBg",fill:"#03BFEF",width:"32",height:"32",rx:"16"}),(0,r.h)("path",{d:"M22 11c1.133 0 2 .867 2 2v7.333c0 1.134-.867 2-2 2H10c-1.133 0-2-.866-2-2V13c0-1.133.867-2 2-2h2.333l1.134-1.733C13.6 9.133 13.8 9 14 9h4c.2 0 .4.133.533.267L19.667 11H22zm-6 1.533a3.764 3.764 0 0 0-3.8 3.8c0 2.129 1.672 3.801 3.8 3.801s3.8-1.672 3.8-3.8c0-2.13-1.672-3.801-3.8-3.801zm0 6.261c-1.395 0-2.46-1.066-2.46-2.46 0-1.395 1.065-2.461 2.46-2.461s2.46 1.066 2.46 2.46c0 1.395-1.065 2.461-2.46 2.461z",fill:"#FFF",fillRule:"nonzero"}))),this.defaultLocale=g;const n={onBeforeSnapshot:()=>Promise.resolve(),countdown:!1,modes:["video-audio","video-only","audio-only","picture"],mirror:!0,showVideoSourceDropdown:!1,facingMode:"user",preferredImageMimeType:null,preferredVideoMimeType:null,showRecordingLength:!1};this.opts={...n,...t},this.i18nInit(),this.title=this.i18n("pluginNameCamera"),s(this,w)[w]=this.opts.mirror,this.install=this.install.bind(this),this.setPluginState=this.setPluginState.bind(this),this.render=this.render.bind(this),this.start=this.start.bind(this),this.stop=this.stop.bind(this),this.takeSnapshot=this.takeSnapshot.bind(this),this.startRecording=this.startRecording.bind(this),this.stopRecording=this.stopRecording.bind(this),this.discardRecordedVideo=this.discardRecordedVideo.bind(this),this.submit=this.submit.bind(this),this.oneTwoThreeSmile=this.oneTwoThreeSmile.bind(this),this.focus=this.focus.bind(this),this.changeVideoSource=this.changeVideoSource.bind(this),this.webcamActive=!1,this.opts.countdown&&(this.opts.onBeforeSnapshot=this.oneTwoThreeSmile),this.setPluginState({hasCamera:!1,cameraReady:!1,cameraError:null,recordingLengthSeconds:0,videoSources:[],currentDeviceId:null})}setOptions(e){super.setOptions({...e,videoConstraints:{...this.opts.videoConstraints,...null==e?void 0:e.videoConstraints}})}hasCameraCheck(){return this.mediaDevices?this.mediaDevices.enumerateDevices().then((e=>e.some((e=>"videoinput"===e.kind)))):Promise.resolve(!1)}isAudioOnly(){return 1===this.opts.modes.length&&"audio-only"===this.opts.modes[0]}getConstraints(e){void 0===e&&(e=null);const t=-1!==this.opts.modes.indexOf("video-audio")||-1!==this.opts.modes.indexOf("audio-only"),n=!this.isAudioOnly()&&(-1!==this.opts.modes.indexOf("video-audio")||-1!==this.opts.modes.indexOf("video-only")||-1!==this.opts.modes.indexOf("picture")),r={...this.opts.videoConstraints||{facingMode:this.opts.facingMode},...e?{deviceId:e,facingMode:null}:{}};return{audio:t,video:!!n&&r}}start(e){if(void 0===e&&(e=null),!this.supportsUserMedia)return Promise.reject(new Error("Webcam access not supported"));this.webcamActive=!0,this.opts.mirror&&(s(this,w)[w]=!0);const t=this.getConstraints(e&&e.deviceId?e.deviceId:null);this.hasCameraCheck().then((n=>(this.setPluginState({hasCamera:n}),this.mediaDevices.getUserMedia(t).then((t=>{this.stream=t;let n=null;const r=this.isAudioOnly()?t.getAudioTracks():t.getVideoTracks();e&&e.deviceId?r.forEach((t=>{t.getSettings().deviceId===e.deviceId&&(n=t.getSettings().deviceId)})):n=r[0].getSettings().deviceId,this.updateVideoSources(),this.setPluginState({currentDeviceId:n,cameraReady:!0})})).catch((e=>{this.setPluginState({cameraReady:!1,cameraError:e}),this.uppy.info(e.message,"error")})))))}getMediaRecorderOptions(){const e={};if(MediaRecorder.isTypeSupported){const{restrictions:t}=this.uppy.opts;let n=[];this.opts.preferredVideoMimeType?n=[this.opts.preferredVideoMimeType]:t.allowedFileTypes&&(n=t.allowedFileTypes.map(v).filter(y));const r=e=>MediaRecorder.isTypeSupported(e)&&l(e),i=n.filter(r);i.length>0&&(e.mimeType=i[0])}return e}startRecording(){this.recorder=new MediaRecorder(this.stream,this.getMediaRecorderOptions()),this.recordingChunks=[];let e=!1;this.recorder.addEventListener("dataavailable",(t=>{this.recordingChunks.push(t.data);const{restrictions:n}=this.uppy.opts;if(this.recordingChunks.length>1&&null!=n.maxFileSize&&!e){const t=this.recordingChunks.reduce(((e,t)=>e+t.size),0),r=(t-this.recordingChunks[0].size)/(this.recordingChunks.length-1)*3;t>Math.max(0,n.maxFileSize-r)&&(e=!0,this.uppy.info(this.i18n("recordingStoppedMaxSize"),"warning",4e3),this.stopRecording())}})),this.recorder.start(500),this.opts.showRecordingLength&&(this.recordingLengthTimer=setInterval((()=>{const e=this.getPluginState().recordingLengthSeconds;this.setPluginState({recordingLengthSeconds:e+1})}),1e3)),this.setPluginState({isRecording:!0})}stopRecording(){return new Promise((e=>{this.recorder.addEventListener("stop",(()=>{e()})),this.recorder.stop(),this.opts.showRecordingLength&&(clearInterval(this.recordingLengthTimer),this.setPluginState({recordingLengthSeconds:0}))})).then((()=>(this.setPluginState({isRecording:!1}),this.getVideo()))).then((e=>{try{this.capturedMediaFile=e,this.setPluginState({recordedVideo:URL.createObjectURL(e.data)}),s(this,w)[w]=!1}catch(e){e.isRestriction||this.uppy.log(e)}})).then((()=>{this.recordingChunks=null,this.recorder=null}),(e=>{throw this.recordingChunks=null,this.recorder=null,e}))}discardRecordedVideo(){this.setPluginState({recordedVideo:null}),this.opts.mirror&&(s(this,w)[w]=!0),this.capturedMediaFile=null}submit(){try{this.capturedMediaFile&&this.uppy.addFile(this.capturedMediaFile)}catch(e){e.isRestriction||this.uppy.log(e,"error")}}async stop(){if(this.stream){const e=this.stream.getAudioTracks(),t=this.stream.getVideoTracks();e.concat(t).forEach((e=>e.stop()))}this.recorder&&await new Promise((e=>{this.recorder.addEventListener("stop",e,{once:!0}),this.recorder.stop(),this.opts.showRecordingLength&&clearInterval(this.recordingLengthTimer)})),this.recordingChunks=null,this.recorder=null,this.webcamActive=!1,this.stream=null,this.setPluginState({recordedVideo:null,isRecording:!1,recordingLengthSeconds:0})}getVideoElement(){return this.el.querySelector(".uppy-Webcam-video")}oneTwoThreeSmile(){return new Promise(((e,t)=>{let n=this.opts.countdown;const r=setInterval((()=>{if(!this.webcamActive)return clearInterval(r),this.captureInProgress=!1,t(new Error("Webcam is not active"));n>0?(this.uppy.info(`${n}...`,"warning",800),n--):(clearInterval(r),this.uppy.info(this.i18n("smile"),"success",1500),setTimeout((()=>e()),1500))}),1e3)}))}takeSnapshot(){this.captureInProgress||(this.captureInProgress=!0,this.opts.onBeforeSnapshot().catch((e=>{const t="object"==typeof e?e.message:e;return this.uppy.info(t,"error",5e3),Promise.reject(new Error(`onBeforeSnapshot: ${t}`))})).then((()=>this.getImage())).then((e=>{this.captureInProgress=!1;try{this.uppy.addFile(e)}catch(e){e.isRestriction||this.uppy.log(e)}}),(e=>{throw this.captureInProgress=!1,e})))}getImage(){const e=this.getVideoElement();if(!e)return Promise.reject(new Error("No video element found, likely due to the Webcam tab being closed."));const t=e.videoWidth,n=e.videoHeight,r=document.createElement("canvas");r.width=t,r.height=n,r.getContext("2d").drawImage(e,0,0);const{restrictions:i}=this.uppy.opts;let o=[];this.opts.preferredImageMimeType?o=[this.opts.preferredImageMimeType]:i.allowedFileTypes&&(o=i.allowedFileTypes.map(v).filter(b));const s=o[0]||"image/jpeg",a=l(s)||"jpg",u=`cam-${Date.now()}.${a}`;return f(r,s).then((e=>({source:this.id,name:u,data:new Blob([e],{type:s}),type:s})))}getVideo(){const e=this.recordingChunks.find((e=>{var t;return(null==(t=e.type)?void 0:t.length)>0})).type,t=l(e);if(!t)return Promise.reject(new Error(`Could not retrieve recording: Unsupported media type "${e}"`));const n=`webcam-${Date.now()}.${t}`,r=new Blob(this.recordingChunks,{type:e}),i={source:this.id,name:n,data:new Blob([r],{type:e}),type:e};return Promise.resolve(i)}focus(){this.opts.countdown&&setTimeout((()=>{this.uppy.info(this.i18n("smile"),"success",1500)}),1e3)}changeVideoSource(e){this.stop(),this.start({deviceId:e})}updateVideoSources(){this.mediaDevices.enumerateDevices().then((e=>{this.setPluginState({videoSources:e.filter((e=>"videoinput"===e.kind))})}))}render(){this.webcamActive||this.start();const e=this.getPluginState();return e.cameraReady&&e.hasCamera?(0,r.h)(d,o({},e,{onChangeVideoSource:this.changeVideoSource,onSnapshot:this.takeSnapshot,onStartRecording:this.startRecording,onStopRecording:this.stopRecording,onDiscardRecordedVideo:this.discardRecordedVideo,onSubmit:this.submit,onFocus:this.focus,onStop:this.stop,i18n:this.i18n,modes:this.opts.modes,showRecordingLength:this.opts.showRecordingLength,showVideoSourceDropdown:this.opts.showVideoSourceDropdown,supportsRecording:h(),recording:e.isRecording,mirror:s(this,w)[w],src:this.stream})):(0,r.h)(m,{icon:p,i18n:this.i18n,hasCamera:e.hasCamera})}install(){this.setPluginState({cameraReady:!1,recordingLengthSeconds:0});const{target:e}=this.opts;e&&this.mount(e,this),this.mediaDevices&&(this.updateVideoSources(),this.mediaDevices.ondevicechange=()=>{if(this.updateVideoSources(),this.stream){let e=!0;const{videoSources:t,currentDeviceId:n}=this.getPluginState();t.forEach((t=>{n===t.deviceId&&(e=!1)})),e&&(this.stop(),this.start())}})}uninstall(){this.stop(),this.unmount()}onUnmount(){this.stop()}}_.VERSION="2.2.2",e.exports=_},83834:function(e){"use strict";e.exports=function(e){return`${Math.floor(e/60)}:${String(e%60).padStart(2,0)}`}},60969:function(e,t,n){"use strict";e.exports=n(12497)},39641:function(e){"use strict";e.exports={strings:{pluginNameCamera:"Camera",noCameraTitle:"Camera Not Available",noCameraDescription:"In order to take pictures or record video, please connect a camera device",recordingStoppedMaxSize:"Recording stopped because the file size is about to exceed the limit",submitRecordedFile:"Submit recorded file",discardRecordedFile:"Discard recorded file",smile:"Smile!",takePicture:"Take a picture",startRecording:"Begin video recording",stopRecording:"Stop video recording",recordingLength:"Recording length %{recording_length}",allowAccessTitle:"Please allow access to your camera",allowAccessDescription:"In order to take pictures or record video with your camera, please allow camera access for this site."}}},31380:function(e){"use strict";e.exports=function(){return"function"==typeof MediaRecorder&&!!MediaRecorder.prototype&&"function"==typeof MediaRecorder.prototype.start}},86910:function(e,t,n){"use strict";var r=n(38864),i=n(78729),o=n(61539);const s=n(1515),a=n(50862),u=n(32746),l=n(76148),c=n(4574),f=n(37711),h=n(35018),p=n(21625),d=n(80562);function m(e,t){let n=t;return n||(n=new Error("Upload error")),"string"==typeof n&&(n=new Error(n)),n instanceof Error||(n=Object.assign(new Error("Upload error"),{data:n})),p(e)?(n=new h(n,e),n):(n.request=e,n)}function g(e){return e.data.slice(0,e.data.size,e.meta.type)}class v extends s{constructor(e,t){super(e,t),this.type="uploader",this.id=this.opts.id||"XHRUpload",this.title="XHRUpload",this.defaultLocale=d;const n={formData:!0,fieldName:t.bundle?"files[]":"file",method:"post",metaFields:null,responseUrlFieldName:"url",bundle:!1,headers:{},timeout:3e4,limit:5,withCredentials:!1,responseType:"",getResponseData(t){let n={};try{n=JSON.parse(t)}catch(t){e.log(t)}return n},getResponseError(e,t){let n=new Error("Upload error");return p(t)&&(n=new h(n,t)),n},validateStatus(e){return e>=200&&e<300}};if(this.opts={...n,...t},this.i18nInit(),this.handleUpload=this.handleUpload.bind(this),o.internalRateLimitedQueue in this.opts?this.requests=this.opts[o.internalRateLimitedQueue]:this.requests=new o.RateLimitedQueue(this.opts.limit),this.opts.bundle&&!this.opts.formData)throw new Error("`opts.formData` must be true when `opts.bundle` is enabled.");this.uploaderEvents=Object.create(null)}getOptions(e){const t=this.uppy.getState().xhrUpload,{headers:n}=this.opts,r={...this.opts,...t||{},...e.xhrUpload||{},headers:{}};return"function"==typeof n?r.headers=n(e):Object.assign(r.headers,this.opts.headers),t&&Object.assign(r.headers,t.headers),e.xhrUpload&&Object.assign(r.headers,e.xhrUpload.headers),r}addMetadata(e,t,n){(Array.isArray(n.metaFields)?n.metaFields:Object.keys(t)).forEach((n=>{e.append(n,t[n])}))}createFormDataUpload(e,t){const n=new FormData;this.addMetadata(n,e.meta,t);const r=g(e);return e.name?n.append(t.fieldName,r,e.meta.name):n.append(t.fieldName,r),n}createBundledUpload(e,t){const n=new FormData,{meta:r}=this.uppy.getState();return this.addMetadata(n,r,t),e.forEach((e=>{const t=this.getOptions(e),r=g(e);e.name?n.append(t.fieldName,r,e.name):n.append(t.fieldName,r)})),n}upload(e,t,n){const i=this.getOptions(e);return this.uppy.log(`uploading ${t} of ${n}`),new Promise(((t,n)=>{this.uppy.emit("upload-started",e);const o=i.formData?this.createFormDataUpload(e,i):e.data,s=new XMLHttpRequest;let a;this.uploaderEvents[e.id]=new c(this.uppy);const u=new f(i.timeout,(()=>{s.abort(),a.done();const t=new Error(this.i18n("timedOut",{seconds:Math.ceil(i.timeout/1e3)}));this.uppy.emit("upload-error",e,t),n(t)})),l=(0,r.nanoid)();s.upload.addEventListener("loadstart",(()=>{this.uppy.log(`[XHRUpload] ${l} started`)})),s.upload.addEventListener("progress",(t=>{this.uppy.log(`[XHRUpload] ${l} progress: ${t.loaded} / ${t.total}`),u.progress(),t.lengthComputable&&this.uppy.emit("upload-progress",e,{uploader:this,bytesUploaded:t.loaded,bytesTotal:t.total})})),s.addEventListener("load",(()=>{if(this.uppy.log(`[XHRUpload] ${l} finished`),u.done(),a.done(),this.uploaderEvents[e.id]&&(this.uploaderEvents[e.id].remove(),this.uploaderEvents[e.id]=null),i.validateStatus(s.status,s.responseText,s)){const n=i.getResponseData(s.responseText,s),r=n[i.responseUrlFieldName],o={status:s.status,body:n,uploadURL:r};return this.uppy.emit("upload-success",e,o),r&&this.uppy.log(`Download ${e.name} from ${r}`),t(e)}const r=i.getResponseData(s.responseText,s),o=m(s,i.getResponseError(s.responseText,s)),c={status:s.status,body:r};return this.uppy.emit("upload-error",e,o,c),n(o)})),s.addEventListener("error",(()=>{this.uppy.log(`[XHRUpload] ${l} errored`),u.done(),a.done(),this.uploaderEvents[e.id]&&(this.uploaderEvents[e.id].remove(),this.uploaderEvents[e.id]=null);const t=m(s,i.getResponseError(s.responseText,s));return this.uppy.emit("upload-error",e,t),n(t)})),s.open(i.method.toUpperCase(),i.endpoint,!0),s.withCredentials=i.withCredentials,""!==i.responseType&&(s.responseType=i.responseType),a=this.requests.run((()=>{this.uppy.emit("upload-started",e);const t=this.getOptions(e);return Object.keys(t.headers).forEach((e=>{s.setRequestHeader(e,t.headers[e])})),s.send(o),()=>{u.done(),s.abort()}})),this.onFileRemove(e.id,(()=>{a.abort(),n(new Error("File removed"))})),this.onCancelAll(e.id,(e=>{let{reason:t}=e;"user"===t&&a.abort(),n(new Error("Upload cancelled"))}))}))}uploadRemote(e){const t=this.getOptions(e);return new Promise(((n,r)=>{this.uppy.emit("upload-started",e);const o={};(Array.isArray(t.metaFields)?t.metaFields:Object.keys(e.meta)).forEach((t=>{o[t]=e.meta[t]})),new(e.remote.providerOptions.provider?i.Provider:i.RequestClient)(this.uppy,e.remote.providerOptions).post(e.remote.url,{...e.remote.body,endpoint:t.endpoint,size:e.data.size,fieldname:t.fieldName,metadata:o,httpMethod:t.method,useFormData:t.formData,headers:t.headers}).then((o=>{const{token:s}=o,l=u(e.remote.companionUrl),f=new i.Socket({target:`${l}/api/${s}`,autoOpen:!1});let h;this.uploaderEvents[e.id]=new c(this.uppy),this.onFileRemove(e.id,(()=>{f.send("cancel",{}),h.abort(),n(`upload ${e.id} was removed`)})),this.onCancelAll(e.id,(function(t){let{reason:r}=void 0===t?{}:t;"user"===r&&(f.send("cancel",{}),h.abort()),n(`upload ${e.id} was canceled`)})),this.onRetry(e.id,(()=>{f.send("pause",{}),f.send("resume",{})})),this.onRetryAll(e.id,(()=>{f.send("pause",{}),f.send("resume",{})})),f.on("progress",(t=>a(this,t,e))),f.on("success",(r=>{const i=t.getResponseData(r.response.responseText,r.response),o=i[t.responseUrlFieldName],s={status:r.response.status,body:i,uploadURL:o};return this.uppy.emit("upload-success",e,s),h.done(),this.uploaderEvents[e.id]&&(this.uploaderEvents[e.id].remove(),this.uploaderEvents[e.id]=null),n()})),f.on("error",(n=>{const i=n.response,o=i?t.getResponseError(i.responseText,i):Object.assign(new Error(n.error.message),{cause:n.error});this.uppy.emit("upload-error",e,o),h.done(),this.uploaderEvents[e.id]&&(this.uploaderEvents[e.id].remove(),this.uploaderEvents[e.id]=null),r(o)})),h=this.requests.run((()=>(f.open(),e.isPaused&&f.send("pause",{}),()=>f.close())))})).catch((t=>{this.uppy.emit("upload-error",e,t),r(t)}))}))}uploadBundle(e){return new Promise(((t,n)=>{const{endpoint:r}=this.opts,{method:i}=this.opts,o=this.uppy.getState().xhrUpload,s=this.createBundledUpload(e,{...this.opts,...o||{}}),a=new XMLHttpRequest,u=t=>{e.forEach((e=>{this.uppy.emit("upload-error",e,t)}))},l=new f(this.opts.timeout,(()=>{a.abort();const e=new Error(this.i18n("timedOut",{seconds:Math.ceil(this.opts.timeout/1e3)}));u(e),n(e)}));a.upload.addEventListener("loadstart",(()=>{this.uppy.log("[XHRUpload] started uploading bundle"),l.progress()})),a.upload.addEventListener("progress",(t=>{l.progress(),t.lengthComputable&&e.forEach((e=>{this.uppy.emit("upload-progress",e,{uploader:this,bytesUploaded:t.loaded/t.total*e.size,bytesTotal:e.size})}))})),a.addEventListener("load",(r=>{if(l.done(),this.opts.validateStatus(r.target.status,a.responseText,a)){const n=this.opts.getResponseData(a.responseText,a),i={status:r.target.status,body:n};return e.forEach((e=>{this.uppy.emit("upload-success",e,i)})),t()}const i=this.opts.getResponseError(a.responseText,a)||new Error("Upload error");return i.request=a,u(i),n(i)})),a.addEventListener("error",(()=>{l.done();const e=this.opts.getResponseError(a.responseText,a)||new Error("Upload error");return u(e),n(e)})),this.uppy.on("cancel-all",(function(e){let{reason:t}=void 0===e?{}:e;"user"===t&&(l.done(),a.abort())})),a.open(i.toUpperCase(),r,!0),a.withCredentials=this.opts.withCredentials,""!==this.opts.responseType&&(a.responseType=this.opts.responseType),Object.keys(this.opts.headers).forEach((e=>{a.setRequestHeader(e,this.opts.headers[e])})),a.send(s),e.forEach((e=>{this.uppy.emit("upload-started",e)}))}))}uploadFiles(e){const t=e.map(((t,n)=>{const r=parseInt(n,10)+1,i=e.length;return t.error?Promise.reject(new Error(t.error)):t.isRemote?this.uploadRemote(t,r,i):this.upload(t,r,i)}));return l(t)}onFileRemove(e,t){this.uploaderEvents[e].on("file-removed",(n=>{e===n.id&&t(n.id)}))}onRetry(e,t){this.uploaderEvents[e].on("upload-retry",(n=>{e===n&&t()}))}onRetryAll(e,t){this.uploaderEvents[e].on("retry-all",(()=>{this.uppy.getFile(e)&&t()}))}onCancelAll(e,t){var n=this;this.uploaderEvents[e].on("cancel-all",(function(){n.uppy.getFile(e)&&t(...arguments)}))}handleUpload(e){if(0===e.length)return this.uppy.log("[XHRUpload] No files to upload!"),Promise.resolve();0!==this.opts.limit||this.opts[o.internalRateLimitedQueue]||this.uppy.log("[XHRUpload] When uploading multiple files at once, consider setting the `limit` option (to `10` for example), to limit the number of concurrent uploads, which helps prevent memory and network issues: https://uppy.io/docs/xhr-upload/#limit-0","warning"),this.uppy.log("[XHRUpload] Uploading...");const t=e.map((e=>this.uppy.getFile(e)));if(this.opts.bundle){if(t.some((e=>e.isRemote)))throw new Error("Can’t upload remote files when the `bundle: true` option is set");if("function"==typeof this.opts.headers)throw new TypeError("`headers` may not be a function when the `bundle: true` option is set");return this.uploadBundle(t)}return this.uploadFiles(t).then((()=>null))}install(){if(this.opts.bundle){const{capabilities:e}=this.uppy.getState();this.uppy.setState({capabilities:{...e,individualCancellation:!1}})}this.uppy.addUploader(this.handleUpload)}uninstall(){if(this.opts.bundle){const{capabilities:e}=this.uppy.getState();this.uppy.setState({capabilities:{...e,individualCancellation:!0}})}this.uppy.removeUploader(this.handleUpload)}}v.VERSION="2.1.3",e.exports=v},80562:function(e){"use strict";e.exports={strings:{timedOut:"Upload stalled for %{seconds} seconds, aborting."}}},38864:function(e){e.exports={nanoid:(e=21)=>{let t="",n=e;for(;n--;)t+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[64*Math.random()|0];return t},customAlphabet:(e,t=21)=>(n=t)=>{let r="",i=n;for(;i--;)r+=e[Math.random()*e.length|0];return r}}},80184:function(e){e.exports=function(){"use strict";function e(t){return e="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(t)}var t=/^\s+/,n=/\s+$/;function r(i,o){if(o=o||{},(i=i||"")instanceof r)return i;if(!(this instanceof r))return new r(i,o);var s=function(r){var i={r:0,g:0,b:0},o=1,s=null,a=null,u=null,l=!1,c=!1;return"string"==typeof r&&(r=function(e){e=e.replace(t,"").replace(n,"").toLowerCase();var r,i=!1;if(w[e])e=w[e],i=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};return(r=R.rgb.exec(e))?{r:r[1],g:r[2],b:r[3]}:(r=R.rgba.exec(e))?{r:r[1],g:r[2],b:r[3],a:r[4]}:(r=R.hsl.exec(e))?{h:r[1],s:r[2],l:r[3]}:(r=R.hsla.exec(e))?{h:r[1],s:r[2],l:r[3],a:r[4]}:(r=R.hsv.exec(e))?{h:r[1],s:r[2],v:r[3]}:(r=R.hsva.exec(e))?{h:r[1],s:r[2],v:r[3],a:r[4]}:(r=R.hex8.exec(e))?{r:k(r[1]),g:k(r[2]),b:k(r[3]),a:T(r[4]),format:i?"name":"hex8"}:(r=R.hex6.exec(e))?{r:k(r[1]),g:k(r[2]),b:k(r[3]),format:i?"name":"hex"}:(r=R.hex4.exec(e))?{r:k(r[1]+""+r[1]),g:k(r[2]+""+r[2]),b:k(r[3]+""+r[3]),a:T(r[4]+""+r[4]),format:i?"name":"hex8"}:!!(r=R.hex3.exec(e))&&{r:k(r[1]+""+r[1]),g:k(r[2]+""+r[2]),b:k(r[3]+""+r[3]),format:i?"name":"hex"}}(r)),"object"==e(r)&&(M(r.r)&&M(r.g)&&M(r.b)?(f=r.r,h=r.g,p=r.b,i={r:255*x(f,255),g:255*x(h,255),b:255*x(p,255)},l=!0,c="%"===String(r.r).substr(-1)?"prgb":"rgb"):M(r.h)&&M(r.s)&&M(r.v)?(s=C(r.s),a=C(r.v),i=function(e,t,n){e=6*x(e,360),t=x(t,100),n=x(n,100);var r=Math.floor(e),i=e-r,o=n*(1-t),s=n*(1-i*t),a=n*(1-(1-i)*t),u=r%6;return{r:255*[n,s,o,o,a,n][u],g:255*[a,n,n,s,o,o][u],b:255*[o,o,a,n,n,s][u]}}(r.h,s,a),l=!0,c="hsv"):M(r.h)&&M(r.s)&&M(r.l)&&(s=C(r.s),u=C(r.l),i=function(e,t,n){var r,i,o;function s(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}if(e=x(e,360),t=x(t,100),n=x(n,100),0===t)r=i=o=n;else{var a=n<.5?n*(1+t):n+t-n*t,u=2*n-a;r=s(u,a,e+1/3),i=s(u,a,e),o=s(u,a,e-1/3)}return{r:255*r,g:255*i,b:255*o}}(r.h,s,u),l=!0,c="hsl"),r.hasOwnProperty("a")&&(o=r.a)),o=S(o),{ok:l,format:r.format||c,r:Math.min(255,Math.max(i.r,0)),g:Math.min(255,Math.max(i.g,0)),b:Math.min(255,Math.max(i.b,0)),a:o};var f,h,p}(i);this._originalInput=i,this._r=s.r,this._g=s.g,this._b=s.b,this._a=s.a,this._roundA=Math.round(100*this._a)/100,this._format=o.format||s.format,this._gradientType=o.gradientType,this._r<1&&(this._r=Math.round(this._r)),this._g<1&&(this._g=Math.round(this._g)),this._b<1&&(this._b=Math.round(this._b)),this._ok=s.ok}function i(e,t,n){e=x(e,255),t=x(t,255),n=x(n,255);var r,i,o=Math.max(e,t,n),s=Math.min(e,t,n),a=(o+s)/2;if(o==s)r=i=0;else{var u=o-s;switch(i=a>.5?u/(2-o-s):u/(o+s),o){case e:r=(t-n)/u+(t<n?6:0);break;case t:r=(n-e)/u+2;break;case n:r=(e-t)/u+4}r/=6}return{h:r,s:i,l:a}}function o(e,t,n){e=x(e,255),t=x(t,255),n=x(n,255);var r,i,o=Math.max(e,t,n),s=Math.min(e,t,n),a=o,u=o-s;if(i=0===o?0:u/o,o==s)r=0;else{switch(o){case e:r=(t-n)/u+(t<n?6:0);break;case t:r=(n-e)/u+2;break;case n:r=(e-t)/u+4}r/=6}return{h:r,s:i,v:a}}function s(e,t,n,r){var i=[P(Math.round(e).toString(16)),P(Math.round(t).toString(16)),P(Math.round(n).toString(16))];return r&&i[0].charAt(0)==i[0].charAt(1)&&i[1].charAt(0)==i[1].charAt(1)&&i[2].charAt(0)==i[2].charAt(1)?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0):i.join("")}function a(e,t,n,r){return[P(O(r)),P(Math.round(e).toString(16)),P(Math.round(t).toString(16)),P(Math.round(n).toString(16))].join("")}function u(e,t){t=0===t?0:t||10;var n=r(e).toHsl();return n.s-=t/100,n.s=E(n.s),r(n)}function l(e,t){t=0===t?0:t||10;var n=r(e).toHsl();return n.s+=t/100,n.s=E(n.s),r(n)}function c(e){return r(e).desaturate(100)}function f(e,t){t=0===t?0:t||10;var n=r(e).toHsl();return n.l+=t/100,n.l=E(n.l),r(n)}function h(e,t){t=0===t?0:t||10;var n=r(e).toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(-t/100*255))),n.g=Math.max(0,Math.min(255,n.g-Math.round(-t/100*255))),n.b=Math.max(0,Math.min(255,n.b-Math.round(-t/100*255))),r(n)}function p(e,t){t=0===t?0:t||10;var n=r(e).toHsl();return n.l-=t/100,n.l=E(n.l),r(n)}function d(e,t){var n=r(e).toHsl(),i=(n.h+t)%360;return n.h=i<0?360+i:i,r(n)}function m(e){var t=r(e).toHsl();return t.h=(t.h+180)%360,r(t)}function g(e,t){if(isNaN(t)||t<=0)throw new Error("Argument to polyad must be a positive number");for(var n=r(e).toHsl(),i=[r(e)],o=360/t,s=1;s<t;s++)i.push(r({h:(n.h+s*o)%360,s:n.s,l:n.l}));return i}function v(e){var t=r(e).toHsl(),n=t.h;return[r(e),r({h:(n+72)%360,s:t.s,l:t.l}),r({h:(n+216)%360,s:t.s,l:t.l})]}function y(e,t,n){t=t||6,n=n||30;var i=r(e).toHsl(),o=360/n,s=[r(e)];for(i.h=(i.h-(o*t>>1)+720)%360;--t;)i.h=(i.h+o)%360,s.push(r(i));return s}function b(e,t){t=t||6;for(var n=r(e).toHsv(),i=n.h,o=n.s,s=n.v,a=[],u=1/t;t--;)a.push(r({h:i,s:o,v:s})),s=(s+u)%1;return a}r.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,t,n,r=this.toRgb();return e=r.r/255,t=r.g/255,n=r.b/255,.2126*(e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4))+.7152*(t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.0722*(n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4))},setAlpha:function(e){return this._a=S(e),this._roundA=Math.round(100*this._a)/100,this},toHsv:function(){var e=o(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=o(this._r,this._g,this._b),t=Math.round(360*e.h),n=Math.round(100*e.s),r=Math.round(100*e.v);return 1==this._a?"hsv("+t+", "+n+"%, "+r+"%)":"hsva("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHsl:function(){var e=i(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=i(this._r,this._g,this._b),t=Math.round(360*e.h),n=Math.round(100*e.s),r=Math.round(100*e.l);return 1==this._a?"hsl("+t+", "+n+"%, "+r+"%)":"hsla("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHex:function(e){return s(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(e,t,n,r,i){var o=[P(Math.round(e).toString(16)),P(Math.round(t).toString(16)),P(Math.round(n).toString(16)),P(O(r))];return i&&o[0].charAt(0)==o[0].charAt(1)&&o[1].charAt(0)==o[1].charAt(1)&&o[2].charAt(0)==o[2].charAt(1)&&o[3].charAt(0)==o[3].charAt(1)?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0)+o[3].charAt(0):o.join("")}(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:Math.round(this._r),g:Math.round(this._g),b:Math.round(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+")":"rgba("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:Math.round(100*x(this._r,255))+"%",g:Math.round(100*x(this._g,255))+"%",b:Math.round(100*x(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+Math.round(100*x(this._r,255))+"%, "+Math.round(100*x(this._g,255))+"%, "+Math.round(100*x(this._b,255))+"%)":"rgba("+Math.round(100*x(this._r,255))+"%, "+Math.round(100*x(this._g,255))+"%, "+Math.round(100*x(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(_[s(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+a(this._r,this._g,this._b,this._a),n=t,i=this._gradientType?"GradientType = 1, ":"";if(e){var o=r(e);n="#"+a(o._r,o._g,o._b,o._a)}return"progid:DXImageTransform.Microsoft.gradient("+i+"startColorstr="+t+",endColorstr="+n+")"},toString:function(e){var t=!!e;e=e||this._format;var n=!1,r=this._a<1&&this._a>=0;return t||!r||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return r(this.toString())},_applyModification:function(e,t){var n=e.apply(null,[this].concat([].slice.call(t)));return this._r=n._r,this._g=n._g,this._b=n._b,this.setAlpha(n._a),this},lighten:function(){return this._applyModification(f,arguments)},brighten:function(){return this._applyModification(h,arguments)},darken:function(){return this._applyModification(p,arguments)},desaturate:function(){return this._applyModification(u,arguments)},saturate:function(){return this._applyModification(l,arguments)},greyscale:function(){return this._applyModification(c,arguments)},spin:function(){return this._applyModification(d,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(y,arguments)},complement:function(){return this._applyCombination(m,arguments)},monochromatic:function(){return this._applyCombination(b,arguments)},splitcomplement:function(){return this._applyCombination(v,arguments)},triad:function(){return this._applyCombination(g,[3])},tetrad:function(){return this._applyCombination(g,[4])}},r.fromRatio=function(t,n){if("object"==e(t)){var i={};for(var o in t)t.hasOwnProperty(o)&&(i[o]="a"===o?t[o]:C(t[o]));t=i}return r(t,n)},r.equals=function(e,t){return!(!e||!t)&&r(e).toRgbString()==r(t).toRgbString()},r.random=function(){return r.fromRatio({r:Math.random(),g:Math.random(),b:Math.random()})},r.mix=function(e,t,n){n=0===n?0:n||50;var i=r(e).toRgb(),o=r(t).toRgb(),s=n/100;return r({r:(o.r-i.r)*s+i.r,g:(o.g-i.g)*s+i.g,b:(o.b-i.b)*s+i.b,a:(o.a-i.a)*s+i.a})},r.readability=function(e,t){var n=r(e),i=r(t);return(Math.max(n.getLuminance(),i.getLuminance())+.05)/(Math.min(n.getLuminance(),i.getLuminance())+.05)},r.isReadable=function(e,t,n){var i,o,s,a,u,l=r.readability(e,t);switch(o=!1,(s=n,"AA"!==(a=((s=s||{level:"AA",size:"small"}).level||"AA").toUpperCase())&&"AAA"!==a&&(a="AA"),"small"!==(u=(s.size||"small").toLowerCase())&&"large"!==u&&(u="small"),i={level:a,size:u}).level+i.size){case"AAsmall":case"AAAlarge":o=l>=4.5;break;case"AAlarge":o=l>=3;break;case"AAAsmall":o=l>=7}return o},r.mostReadable=function(e,t,n){var i,o,s,a,u=null,l=0;o=(n=n||{}).includeFallbackColors,s=n.level,a=n.size;for(var c=0;c<t.length;c++)(i=r.readability(e,t[c]))>l&&(l=i,u=r(t[c]));return r.isReadable(e,u,{level:s,size:a})||!o?u:(n.includeFallbackColors=!1,r.mostReadable(e,["#fff","#000"],n))};var w=r.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},_=r.hexNames=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}(w);function S(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function x(e,t){(function(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var n=function(e){return"string"==typeof e&&-1!=e.indexOf("%")}(e);return e=Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(e*t,10)/100),Math.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function E(e){return Math.min(1,Math.max(0,e))}function k(e){return parseInt(e,16)}function P(e){return 1==e.length?"0"+e:""+e}function C(e){return e<=1&&(e=100*e+"%"),e}function O(e){return Math.round(255*parseFloat(e)).toString(16)}function T(e){return k(e)/255}var A,F,I,R=(F="[\\s|\\(]+("+(A="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+A+")[,|\\s]+("+A+")\\s*\\)?",I="[\\s|\\(]+("+A+")[,|\\s]+("+A+")[,|\\s]+("+A+")[,|\\s]+("+A+")\\s*\\)?",{CSS_UNIT:new RegExp(A),rgb:new RegExp("rgb"+F),rgba:new RegExp("rgba"+I),hsl:new RegExp("hsl"+F),hsla:new RegExp("hsla"+I),hsv:new RegExp("hsv"+F),hsva:new RegExp("hsva"+I),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function M(e){return!!R.CSS_UNIT.exec(e)}return r}()},926:function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,{Z:function(){return r}})},80753:function(e,t,n){"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,{Z:function(){return r}})},9249:function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,{Z:function(){return r}})},87371:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(45850);function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,(0,r.Z)(i.key),i)}}function o(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}},80551:function(e,t,n){"use strict";function r(e){return r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},r(e)}n.d(t,{Z:function(){return s}});var i=n(86522),o=n(80753);function s(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,s=r(e);if(t){var a=r(this).constructor;n=Reflect.construct(s,arguments,a)}else n=s.apply(this,arguments);return function(e,t){if(t&&("object"===(0,i.Z)(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return(0,o.Z)(e)}(this,n)}}},56666:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(45850);function i(e,t,n){return(t=(0,r.Z)(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},7896:function(e,t,n){"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}n.d(t,{Z:function(){return r}})},45754:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(88960);function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&(0,r.Z)(e,t)}},81665:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(88960);function i(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,(0,r.Z)(e,t)}},33665:function(e,t,n){"use strict";function r(e){if(null==e)throw new TypeError("Cannot destructure "+e)}n.d(t,{Z:function(){return r}})},33028:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(56666);function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}},59740:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(31461);function i(e,t){if(null==e)return{};var n,i,o=(0,r.Z)(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(i=0;i<s.length;i++)n=s[i],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}},31461:function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}n.d(t,{Z:function(){return r}})},88960:function(e,t,n){"use strict";function r(e,t){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},r(e,t)}n.d(t,{Z:function(){return r}})},2867:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(59147);function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,s,a=[],u=!0,l=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;u=!1}else for(;!(u=(r=o.call(n)).done)&&(a.push(r.value),a.length!==t);u=!0);}catch(e){l=!0,i=e}finally{try{if(!u&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(l)throw i}}return a}}(e,t)||(0,r.Z)(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},38777:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(926),i=n(59147);function o(e){return function(e){if(Array.isArray(e))return(0,r.Z)(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||(0,i.Z)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},45850:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(86522);function i(e){var t=function(e,t){if("object"!==(0,r.Z)(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,"string");if("object"!==(0,r.Z)(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===(0,r.Z)(t)?t:String(t)}},86522:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}n.d(t,{Z:function(){return r}})},59147:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(926);function i(e,t){if(e){if("string"==typeof e)return(0,r.Z)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.Z)(e,t):void 0}}},175:function(e,t,n){"use strict";n.r(t),n.d(t,{Dashboard:function(){return r},DashboardModal:function(){return i},DragDrop:function(){return o},FileInput:function(){return u},ProgressBar:function(){return s},StatusBar:function(){return a},useUppy:function(){return l}});var r=n(91977),i=n(91484),o=n(37615),s=n(46379),a=n(40826),u=n(88594),l=n(31033)},96900:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});const r=/[\p{Lu}]/u,i=/[\p{Ll}]/u,o=/^[\p{Lu}](?![\p{Lu}])/gu,s=/([\p{Alpha}\p{N}_]|$)/u,a=/[_.\- ]+/,u=new RegExp("^"+a.source),l=new RegExp(a.source+s.source,"gu"),c=new RegExp("\\d+"+s.source,"gu"),f=(e,t,n,o)=>{let s=!1,a=!1,u=!1,l=!1;for(let c=0;c<e.length;c++){const f=e[c];l=!(c>2)||"-"===e[c-3],s&&r.test(f)?(e=e.slice(0,c)+"-"+e.slice(c),s=!1,u=a,a=!0,c++):a&&u&&i.test(f)&&(!l||o)?(e=e.slice(0,c-1)+"-"+e.slice(c-1),u=a,a=!1,s=!0):(s=t(f)===f&&n(f)!==f,u=a,a=n(f)===f&&t(f)!==f)}return e},h=(e,t)=>(o.lastIndex=0,e.replace(o,(e=>t(e)))),p=(e,t)=>(l.lastIndex=0,c.lastIndex=0,e.replace(l,((e,n)=>t(n))).replace(c,(e=>t(e))));function d(e,t){if("string"!=typeof e&&!Array.isArray(e))throw new TypeError("Expected the input to be `string | string[]`");if(t={pascalCase:!1,preserveConsecutiveUppercase:!1,...t},0===(e=Array.isArray(e)?e.map((e=>e.trim())).filter((e=>e.length)).join("-"):e.trim()).length)return"";const n=!1===t.locale?e=>e.toLowerCase():e=>e.toLocaleLowerCase(t.locale),r=!1===t.locale?e=>e.toUpperCase():e=>e.toLocaleUpperCase(t.locale);return 1===e.length?a.test(e)?"":t.pascalCase?r(e):n(e):(e!==n(e)&&(e=f(e,n,r,t.preserveConsecutiveUppercase)),e=e.replace(u,""),e=t.preserveConsecutiveUppercase?h(e,n):n(e),t.pascalCase&&(e=r(e.charAt(0))+e.slice(1)),p(e,r))}},10362:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=!0,i="Invariant failed";function o(e,t){if(!e){if(r)throw new Error(i);var n="function"==typeof t?t():t,o=n?"".concat(i,": ").concat(n):i;throw new Error(o)}}}}]);
|