@alma/widgets 2.3.0 → 2.3.1
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/CHANGELOG.md +7 -0
- package/dist/raw/widgets.js +3 -3
- package/dist/raw/widgets.m.js +3 -3
- package/dist/raw/widgets.modern.js +3 -3
- package/dist/raw/widgets.umd.js +3 -3
- package/dist/widgets.js +1 -1
- package/dist/widgets.js.map +1 -1
- package/dist/widgets.m.js +1 -1
- package/dist/widgets.m.js.map +1 -1
- package/dist/widgets.modern.js +1 -1
- package/dist/widgets.modern.js.map +1 -1
- package/dist/widgets.umd.js +1 -1
- package/dist/widgets.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/widgets.umd.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e=e||self).Alma={})}(this,function(e){var t=Math.ceil,n=Math.floor,r=function(e){return isNaN(e=+e)?0:(e>0?n:t)(e)},o=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e},a=function(e){return function(t,n){var a,i,l=String(o(t)),u=r(n),s=l.length;return u<0||u>=s?e?"":void 0:(a=l.charCodeAt(u))<55296||a>56319||u+1===s||(i=l.charCodeAt(u+1))<56320||i>57343?e?l.charAt(u):a:e?l.slice(u,u+2):i-56320+(a-55296<<10)+65536}},i={codeAt:a(!1),charAt:a(!0)},l="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function u(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function s(e,t,n){return e(n={path:t,exports:{},require:function(e,t){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}()}},n.exports),n.exports}var c=function(e){return e&&e.Math==Math&&e},f=c("object"==typeof globalThis&&globalThis)||c("object"==typeof window&&window)||c("object"==typeof self&&self)||c("object"==typeof l&&l)||function(){return this}()||Function("return this")(),d=function(e){try{return!!e()}catch(e){return!0}},p=!d(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}),m=function(e){return"object"==typeof e?null!==e:"function"==typeof e},h=f.document,y=m(h)&&m(h.createElement),g=function(e){return y?h.createElement(e):{}},v=!p&&!d(function(){return 7!=Object.defineProperty(g("div"),"a",{get:function(){return 7}}).a}),b=function(e){if(!m(e))throw TypeError(String(e)+" is not an object");return e},E=function(e,t){if(!m(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!m(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!m(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!m(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")},w=Object.defineProperty,_={f:p?w:function(e,t,n){if(b(e),t=E(t,!0),b(n),v)try{return w(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},S=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},C=p?function(e,t,n){return _.f(e,t,S(1,n))}:function(e,t,n){return e[t]=n,e},O=function(e,t){try{C(f,e,t)}catch(n){f[e]=t}return t},k=f["__core-js_shared__"]||O("__core-js_shared__",{}),T=Function.toString;"function"!=typeof k.inspectSource&&(k.inspectSource=function(e){return T.call(e)});var P,N,x,A=k.inspectSource,L=f.WeakMap,R="function"==typeof L&&/native code/.test(A(L)),I={}.hasOwnProperty,M=function(e,t){return I.call(e,t)},D=s(function(e){(e.exports=function(e,t){return k[e]||(k[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.8.1",mode:"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})}),F=0,j=Math.random(),U=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++F+j).toString(36)},z=D("keys"),V=function(e){return z[e]||(z[e]=U(e))},G={};if(R){var W=k.state||(k.state=new(0,f.WeakMap)),B=W.get,H=W.has,$=W.set;P=function(e,t){return t.facade=e,$.call(W,e,t),t},N=function(e){return B.call(W,e)||{}},x=function(e){return H.call(W,e)}}else{var q=V("state");G[q]=!0,P=function(e,t){return t.facade=e,C(e,q,t),t},N=function(e){return M(e,q)?e[q]:{}},x=function(e){return M(e,q)}}var Q,X,K,Y={set:P,get:N,has:x,enforce:function(e){return x(e)?N(e):P(e,{})},getterFor:function(e){return function(t){var n;if(!m(t)||(n=N(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}},Z={}.propertyIsEnumerable,J=Object.getOwnPropertyDescriptor,ee={f:J&&!Z.call({1:2},1)?function(e){var t=J(this,e);return!!t&&t.enumerable}:Z},te={}.toString,ne=function(e){return te.call(e).slice(8,-1)},re="".split,oe=d(function(){return!Object("z").propertyIsEnumerable(0)})?function(e){return"String"==ne(e)?re.call(e,""):Object(e)}:Object,ae=function(e){return oe(o(e))},ie=Object.getOwnPropertyDescriptor,le={f:p?ie:function(e,t){if(e=ae(e),t=E(t,!0),v)try{return ie(e,t)}catch(e){}if(M(e,t))return S(!ee.f.call(e,t),e[t])}},ue=s(function(e){var t=Y.get,n=Y.enforce,r=String(String).split("String");(e.exports=function(e,t,o,a){var i,l=!!a&&!!a.unsafe,u=!!a&&!!a.enumerable,s=!!a&&!!a.noTargetGet;"function"==typeof o&&("string"!=typeof t||M(o,"name")||C(o,"name",t),(i=n(o)).source||(i.source=r.join("string"==typeof t?t:""))),e!==f?(l?!s&&e[t]&&(u=!0):delete e[t],u?e[t]=o:C(e,t,o)):u?e[t]=o:O(t,o)})(Function.prototype,"toString",function(){return"function"==typeof this&&t(this).source||A(this)})}),se=f,ce=function(e){return"function"==typeof e?e:void 0},fe=function(e,t){return arguments.length<2?ce(se[e])||ce(f[e]):se[e]&&se[e][t]||f[e]&&f[e][t]},de=Math.min,pe=function(e){return e>0?de(r(e),9007199254740991):0},me=Math.max,he=Math.min,ye=function(e){return function(t,n,o){var a,i=ae(t),l=pe(i.length),u=function(e,t){var n=r(e);return n<0?me(n+t,0):he(n,t)}(o,l);if(e&&n!=n){for(;l>u;)if((a=i[u++])!=a)return!0}else for(;l>u;u++)if((e||u in i)&&i[u]===n)return e||u||0;return!e&&-1}},ge=(ye(!0),ye(!1)),ve=function(e,t){var n,r=ae(e),o=0,a=[];for(n in r)!M(G,n)&&M(r,n)&&a.push(n);for(;t.length>o;)M(r,n=t[o++])&&(~ge(a,n)||a.push(n));return a},be=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Ee=be.concat("length","prototype"),we={f:Object.getOwnPropertyNames||function(e){return ve(e,Ee)}},_e={f:Object.getOwnPropertySymbols},Se=fe("Reflect","ownKeys")||function(e){var t=we.f(b(e)),n=_e.f;return n?t.concat(n(e)):t},Ce=function(e,t){for(var n=Se(t),r=_.f,o=le.f,a=0;a<n.length;a++){var i=n[a];M(e,i)||r(e,i,o(t,i))}},Oe=/#|\.prototype\./,ke=function(e,t){var n=Pe[Te(e)];return n==xe||n!=Ne&&("function"==typeof t?d(t):!!t)},Te=ke.normalize=function(e){return String(e).replace(Oe,".").toLowerCase()},Pe=ke.data={},Ne=ke.NATIVE="N",xe=ke.POLYFILL="P",Ae=ke,Le=le.f,Re=function(e,t){var n,r,o,a,i,l=e.target,u=e.global,s=e.stat;if(n=u?f:s?f[l]||O(l,{}):(f[l]||{}).prototype)for(r in t){if(a=t[r],o=e.noTargetGet?(i=Le(n,r))&&i.value:n[r],!Ae(u?r:l+(s?".":"#")+r,e.forced)&&void 0!==o){if(typeof a==typeof o)continue;Ce(a,o)}(e.sham||o&&o.sham)&&C(a,"sham",!0),ue(n,r,a,e)}},Ie=function(e){return Object(o(e))},Me=!d(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}),De=V("IE_PROTO"),Fe=Object.prototype,je=Me?Object.getPrototypeOf:function(e){return e=Ie(e),M(e,De)?e[De]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?Fe:null},Ue=!!Object.getOwnPropertySymbols&&!d(function(){return!String(Symbol())}),ze=Ue&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Ve=D("wks"),Ge=f.Symbol,We=ze?Ge:Ge&&Ge.withoutSetter||U,Be=function(e){return M(Ve,e)||(Ve[e]=Ue&&M(Ge,e)?Ge[e]:We("Symbol."+e)),Ve[e]},He=Be("iterator"),$e=!1;[].keys&&("next"in(K=[].keys())?(X=je(je(K)))!==Object.prototype&&(Q=X):$e=!0),null==Q&&(Q={}),M(Q,He)||C(Q,He,function(){return this});var qe,Qe={IteratorPrototype:Q,BUGGY_SAFARI_ITERATORS:$e},Xe=Object.keys||function(e){return ve(e,be)},Ke=p?Object.defineProperties:function(e,t){b(e);for(var n,r=Xe(t),o=r.length,a=0;o>a;)_.f(e,n=r[a++],t[n]);return e},Ye=fe("document","documentElement"),Ze=V("IE_PROTO"),Je=function(){},et=function(e){return"<script>"+e+"<\/script>"},tt=function(){try{qe=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t;tt=qe?function(e){e.write(et("")),e.close();var t=e.parentWindow.Object;return e=null,t}(qe):((t=g("iframe")).style.display="none",Ye.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(et("document.F=Object")),e.close(),e.F);for(var n=be.length;n--;)delete tt.prototype[be[n]];return tt()};G[Ze]=!0;var nt=Object.create||function(e,t){var n;return null!==e?(Je.prototype=b(e),n=new Je,Je.prototype=null,n[Ze]=e):n=tt(),void 0===t?n:Ke(n,t)},rt=_.f,ot=Be("toStringTag"),at=function(e,t,n){e&&!M(e=n?e:e.prototype,ot)&&rt(e,ot,{configurable:!0,value:t})},it={},lt=Qe.IteratorPrototype,ut=function(){return this},st=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),t=n instanceof Array}catch(e){}return function(n,r){return b(n),function(e){if(!m(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype")}(r),t?e.call(n,r):n.__proto__=r,n}}():void 0),ct=Qe.IteratorPrototype,ft=Qe.BUGGY_SAFARI_ITERATORS,dt=Be("iterator"),pt=function(){return this},mt=i.charAt,ht=Y.set,yt=Y.getterFor("String Iterator");!function(e,t,n,r,o,a,i){!function(e,t,n){e.prototype=nt(lt,{next:S(1,function(){var e,t=yt(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=mt(n,r),t.index+=e.length,{value:e,done:!1})})}),at(e,"String Iterator",!1),it["String Iterator"]=ut}(n);var l,u,s,c=function(e){if(void 0===e&&p)return p;if(!ft&&e in f)return f[e];switch(e){case"keys":case"values":case"entries":return function(){return new n(this,e)}}return function(){return new n(this)}},f=e.prototype,d=f[dt]||f["@@iterator"]||void 0,p=!ft&&d||c(void 0);if(d&&(l=je(d.call(new e)),ct!==Object.prototype&&l.next&&(je(l)!==ct&&(st?st(l,ct):"function"!=typeof l[dt]&&C(l,dt,pt)),at(l,"String Iterator",!0))),f[dt]!==p&&C(f,dt,p),void(it.String=p))if(void(u={values:c("values"),keys:c("keys"),entries:c("entries")}))for(s in u)(ft||!(s in f))&&ue(f,s,u[s]);else Re({target:"String",proto:!0,forced:ft||!1},u)}(String,0,function(e){ht(this,{type:"String Iterator",string:String(e),index:0})});var gt=function(e,t,n){if(function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function")}(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}},vt=function(e,t,n,r){try{return r?t(b(n)[0],n[1]):t(n)}catch(t){throw function(e){var t=e.return;void 0!==t&&b(t.call(e))}(e),t}},bt=Be("iterator"),Et=Array.prototype,wt=function(e){return void 0!==e&&(it.Array===e||Et[bt]===e)},_t=function(e,t,n){var r=E(t);r in e?_.f(e,r,S(0,n)):e[r]=n},St={};St[Be("toStringTag")]="z";var Ct="[object z]"===String(St),Ot=Be("toStringTag"),kt="Arguments"==ne(function(){return arguments}()),Tt=Ct?ne:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),Ot))?n:kt?ne(t):"Object"==(r=ne(t))&&"function"==typeof t.callee?"Arguments":r},Pt=Be("iterator"),Nt=function(e){if(null!=e)return e[Pt]||e["@@iterator"]||it[Tt(e)]},xt=Be("iterator"),At=!1;try{var Lt=0,Rt={next:function(){return{done:!!Lt++}},return:function(){At=!0}};Rt[xt]=function(){return this},Array.from(Rt,function(){throw 2})}catch(e){}var It,Mt,Dt,Ft,jt=!function(e,t){if(!At)return!1;var n=!1;try{var r={};r[xt]=function(){return{next:function(){return{done:n=!0}}}},Array.from(r)}catch(e){}return n}();function Ut(e){return Number((e/100).toFixed(2))}Re({target:"Array",stat:!0,forced:jt},{from:function(e){var t,n,r,o,a,i,l=Ie(e),u="function"==typeof this?this:Array,s=arguments.length,c=s>1?arguments[1]:void 0,f=void 0!==c,d=Nt(l),p=0;if(f&&(c=gt(c,s>2?arguments[2]:void 0,2)),null==d||u==Array&&wt(d))for(n=new u(t=pe(l.length));t>p;p++)i=f?c(l[p],p):l[p],_t(n,p,i);else for(a=(o=d.call(l)).next,n=new u;!(r=a.call(o)).done;p++)i=f?vt(o,c,[r.value,p],!0):r.value,_t(n,p,i);return n.length=p,n}}),function(e){e.PaymentPlans="PaymentPlans",e.Modal="Modal"}(It||(It={})),function(e){e.PENDING="pending",e.SUCCESS="success",e.FAILED="failed"}(Mt||(Mt={})),function(e){e.en="en",e.fr="fr",e.de="de",e.it="it",e.es="es",e.nl="nl",e["nl-NL"]="nl-NL",e["nl-BE"]="nl-BE"}(Dt||(Dt={})),"function"!=typeof(Ft=window.Element.prototype).matches&&(Ft.matches=Ft.msMatchesSelector||Ft.mozMatchesSelector||Ft.webkitMatchesSelector||function(e){for(var t=(this.document||this.ownerDocument).querySelectorAll(e),n=0;t[n]&&t[n]!==this;)++n;return Boolean(t[n])}),"function"!=typeof Ft.closest&&(Ft.closest=function(e){for(var t=this;t&&1===t.nodeType;){if(t.matches(e))return t;t=t.parentNode}return null}),"".trim||(String.prototype.trim=function(){return this.replace(/^[\s]+|[\s]+$/g,"")}),function(e){e.DOMException||((DOMException=function(e){this.message=e}).prototype=new Error);var t,n,r=/[\11\12\14\15\40]/,o=0,a=function(e,t){if(""===t)throw new DOMException("Failed to execute '"+e+"' on 'DOMTokenList': The token provided must not be empty.");if(-1!==(o=t.search(r)))throw new DOMException("Failed to execute '"+e+"' on 'DOMTokenList': The token provided ('"+t[o]+"') contains HTML space characters, which are not valid in tokens.")};"function"!=typeof DOMTokenList&&function(e){var t=e.document,n=e.Object,o=n.prototype.hasOwnProperty,i=n.defineProperty,l=0,u=0,s=function(){if(!l)throw TypeError("Illegal constructor")};function c(){var t=e.event,n=t.propertyName;if(!u&&("className"===n||"classList"===n&&!i)){var o=t.srcElement,a=o[" uCLp"],l=""+o[n],s=l.trim().split(r),c=o["classList"===n?" uCL":"classList"],f=a.length;e:for(var d=0,p=a.length=s.length,m=0;d!==p;++d){for(var h=0;h!==d;++h)if(s[h]===s[d]){m++;continue e}c[d-m]=s[d]}for(var y=p-m;y<f;++y)delete c[y];if("classList"!==n)return;u=1,o.classList=c,o.className=l,u=0,c.length=s.length-m}}function f(e){if(!e||!("innerHTML"in e))throw TypeError("Illegal invocation");e.detachEvent("onpropertychange",c),l=1;try{var t=function(){};t.prototype=new s}finally{l=0}var n=t.prototype,o=new t;e:for(var a=e.className.trim().split(r),f=0,d=a.length,p=0;f!==d;++f){for(var m=0;m!==f;++m)if(a[m]===a[f]){p++;continue e}this[f-p]=a[f]}n.length=d-p,n.value=e.className,n[" uCL"]=e,i?(i(e,"classList",{enumerable:1,get:function(){return o},configurable:0,set:function(t){u=1,e.className=n.value=t+="",u=0;var a=t.trim().split(r),i=n.length;e:for(var l=0,s=n.length=a.length,c=0;l!==s;++l){for(var f=0;f!==l;++f)if(a[f]===a[l]){c++;continue e}o[l-c]=a[l]}for(var d=s-c;d<i;++d)delete o[d]}}),i(e," uCLp",{enumerable:0,configurable:0,writeable:0,value:t.prototype}),i(n," uCL",{enumerable:0,configurable:0,writeable:0,value:e})):(e.classList=o,e[" uCL"]=o,e[" uCLp"]=t.prototype),e.attachEvent("onpropertychange",c)}s.prototype.toString=s.prototype.toLocaleString=function(){return this.value},s.prototype.add=function(){e:for(var e=0,t=arguments.length,n="",r=this[" uCL"],o=r[" uCLp"];e!==t;++e){a("add",n=arguments[e]+"");for(var i=0,l=o.length,s=n;i!==l;++i){if(this[i]===n)continue e;s+=" "+this[i]}this[l]=n,o.length+=1,o.value=s}u=1,r.className=o.value,u=0},s.prototype.remove=function(){for(var e=0,t=arguments.length,n="",r=this[" uCL"],o=r[" uCLp"];e!==t;++e){a("remove",n=arguments[e]+"");for(var i=0,l=o.length,s="",c=0;i!==l;++i)c?this[i-1]=this[i]:this[i]!==n?s+=this[i]+" ":c=1;c&&(delete this[l],o.length-=1,o.value=s)}u=1,r.className=o.value,u=0},e.DOMTokenList=s;try{e.Object.defineProperty(e.Element.prototype,"classList",{enumerable:1,get:function(e){return o.call(this,"classList")||f(this),this.classList},configurable:0,set:function(e){this.className=e}})}catch(n){e[" uCL"]=f,t.documentElement.firstChild.appendChild(t.createElement("style")).styleSheet.cssText='_*{x-uCLp:expression(!this.hasOwnProperty("classList")&&window[" uCL"](this))}[class]{x-uCLp/**/:expression(!this.hasOwnProperty("classList")&&window[" uCL"](this))}'}}(e),t=e.DOMTokenList.prototype,n=e.document.createElement("div").classList,t.item||(t.item=function(e){return function(e){return void 0===e?null:e}(this[e])}),t.toggle&&!1===n.toggle("a",0)||(t.toggle=function(e){if(arguments.length>1)return this[arguments[1]?"add":"remove"](e),!!arguments[1];var t=this.value;return this.remove(t),t===this.value&&(this.add(e),!0)}),t.replace&&"boolean"==typeof n.replace("a","b")||(t.replace=function(e,t){a("replace",e),a("replace",t);var n=this.value;return this.remove(e),this.value!==n&&(this.add(t),!0)}),t.contains||(t.contains=function(e){for(var t=0,n=this.length;t!==n;++t)if(this[t]===e)return!0;return!1}),t.forEach||(t.forEach=function(e){if(1===arguments.length)for(var t=0,n=this.length;t!==n;++t)e(this[t],t,this);else{t=0,n=this.length;for(var r=arguments[1];t!==n;++t)e.call(r,this[t],t,this)}}),t.entries||(t.entries=function(){var e=this;return{next:function(){return 0<e.length?{value:[0,e[0]],done:!1}:{done:!0}}}}),t.values||(t.values=function(){var e=this;return{next:function(){return 0<e.length?{value:e[0],done:!1}:{done:!0}}}}),t.keys||(t.keys=function(){var e=this;return{next:function(){return 0<e.length?{value:0,done:!1}:{done:!0}}}})}(window);var zt=Object.getOwnPropertySymbols,Vt=Object.prototype.hasOwnProperty,Gt=Object.prototype.propertyIsEnumerable;function Wt(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}var Bt=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,t){for(var n,r,o=Wt(e),a=1;a<arguments.length;a++){for(var i in n=Object(arguments[a]))Vt.call(n,i)&&(o[i]=n[i]);if(zt){r=zt(n);for(var l=0;l<r.length;l++)Gt.call(n,r[l])&&(o[r[l]]=n[r[l]])}}return o},Ht=s(function(e,t){var n=60103,r=60106;t.Fragment=60107,t.StrictMode=60108,t.Profiler=60114;var o=60109,a=60110,i=60112;t.Suspense=60113;var l=60115,u=60116;if("function"==typeof Symbol&&Symbol.for){var s=Symbol.for;n=s("react.element"),r=s("react.portal"),t.Fragment=s("react.fragment"),t.StrictMode=s("react.strict_mode"),t.Profiler=s("react.profiler"),o=s("react.provider"),a=s("react.context"),i=s("react.forward_ref"),t.Suspense=s("react.suspense"),l=s("react.memo"),u=s("react.lazy")}var c="function"==typeof Symbol&&Symbol.iterator;function f(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 d={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},p={};function m(e,t,n){this.props=e,this.context=t,this.refs=p,this.updater=n||d}function h(){}function y(e,t,n){this.props=e,this.context=t,this.refs=p,this.updater=n||d}m.prototype.isReactComponent={},m.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(f(85));this.updater.enqueueSetState(this,e,t,"setState")},m.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},h.prototype=m.prototype;var g=y.prototype=new h;g.constructor=y,Bt(g,m.prototype),g.isPureReactComponent=!0;var v={current:null},b=Object.prototype.hasOwnProperty,E={key:!0,ref:!0,__self:!0,__source:!0};function w(e,t,r){var o,a={},i=null,l=null;if(null!=t)for(o in void 0!==t.ref&&(l=t.ref),void 0!==t.key&&(i=""+t.key),t)b.call(t,o)&&!E.hasOwnProperty(o)&&(a[o]=t[o]);var u=arguments.length-2;if(1===u)a.children=r;else if(1<u){for(var s=Array(u),c=0;c<u;c++)s[c]=arguments[c+2];a.children=s}if(e&&e.defaultProps)for(o in u=e.defaultProps)void 0===a[o]&&(a[o]=u[o]);return{$$typeof:n,type:e,key:i,ref:l,props:a,_owner:v.current}}function _(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}var S=/\/+/g;function C(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 O(e,t,o){if(null==e)return e;var a=[],i=0;return function e(t,o,a,i,l){var u=typeof t;"undefined"!==u&&"boolean"!==u||(t=null);var s=!1;if(null===t)s=!0;else switch(u){case"string":case"number":s=!0;break;case"object":switch(t.$$typeof){case n:case r:s=!0}}if(s)return l=l(s=t),t=""===i?"."+C(s,0):i,Array.isArray(l)?(a="",null!=t&&(a=t.replace(S,"$&/")+"/"),e(l,o,a,"",function(e){return e})):null!=l&&(_(l)&&(l=function(e,t){return{$$typeof:n,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(l,a+(!l.key||s&&s.key===l.key?"":(""+l.key).replace(S,"$&/")+"/")+t)),o.push(l)),1;if(s=0,i=""===i?".":i+":",Array.isArray(t))for(var d=0;d<t.length;d++){var p=i+C(u=t[d],d);s+=e(u,o,a,p,l)}else if("function"==typeof(p=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=c&&e[c]||e["@@iterator"])?e:null}(t)))for(t=p.call(t),d=0;!(u=t.next()).done;)s+=e(u=u.value,o,a,p=i+C(u,d++),l);else if("object"===u)throw o=""+t,Error(f(31,"[object Object]"===o?"object with keys {"+Object.keys(t).join(", ")+"}":o));return s}(e,a,"","",function(e){return t.call(o,e,i++)}),a}function k(e){if(-1===e._status){var t=e._result;t=t(),e._status=0,e._result=t,t.then(function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)},function(t){0===e._status&&(e._status=2,e._result=t)})}if(1===e._status)return e._result;throw e._result}var T={current:null};function P(){var e=T.current;if(null===e)throw Error(f(321));return e}var N={ReactCurrentDispatcher:T,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:v,IsSomeRendererActing:{current:!1},assign:Bt};t.Children={map:O,forEach:function(e,t,n){O(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return O(e,function(){t++}),t},toArray:function(e){return O(e,function(e){return e})||[]},only:function(e){if(!_(e))throw Error(f(143));return e}},t.Component=m,t.PureComponent=y,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=N,t.cloneElement=function(e,t,r){if(null==e)throw Error(f(267,e));var o=Bt({},e.props),a=e.key,i=e.ref,l=e._owner;if(null!=t){if(void 0!==t.ref&&(i=t.ref,l=v.current),void 0!==t.key&&(a=""+t.key),e.type&&e.type.defaultProps)var u=e.type.defaultProps;for(s in t)b.call(t,s)&&!E.hasOwnProperty(s)&&(o[s]=void 0===t[s]&&void 0!==u?u[s]:t[s])}var s=arguments.length-2;if(1===s)o.children=r;else if(1<s){u=Array(s);for(var c=0;c<s;c++)u[c]=arguments[c+2];o.children=u}return{$$typeof:n,type:e.type,key:a,ref:i,props:o,_owner:l}},t.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:a,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:o,_context:e},e.Consumer=e},t.createElement=w,t.createFactory=function(e){var t=w.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:i,render:e}},t.isValidElement=_,t.lazy=function(e){return{$$typeof:u,_payload:{_status:-1,_result:e},_init:k}},t.memo=function(e,t){return{$$typeof:l,type:e,compare:void 0===t?null:t}},t.useCallback=function(e,t){return P().useCallback(e,t)},t.useContext=function(e,t){return P().useContext(e,t)},t.useDebugValue=function(){},t.useEffect=function(e,t){return P().useEffect(e,t)},t.useImperativeHandle=function(e,t,n){return P().useImperativeHandle(e,t,n)},t.useLayoutEffect=function(e,t){return P().useLayoutEffect(e,t)},t.useMemo=function(e,t){return P().useMemo(e,t)},t.useReducer=function(e,t,n){return P().useReducer(e,t,n)},t.useRef=function(e){return P().useRef(e)},t.useState=function(e){return P().useState(e)},t.version="17.0.2"}),$t=(s(function(e,t){}),s(function(e){e.exports=Ht})),qt=function(e,t){return(qt=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])})(e,t)},Qt=function(){return(Qt=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function Xt(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 o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}function Kt(e,t,n){if(n||2===arguments.length)for(var r,o=0,a=t.length;o<a;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}var Yt="function"==typeof Symbol&&Symbol.for,Zt=Yt?Symbol.for("react.element"):60103,Jt=Yt?Symbol.for("react.portal"):60106,en=Yt?Symbol.for("react.fragment"):60107,tn=Yt?Symbol.for("react.strict_mode"):60108,nn=Yt?Symbol.for("react.profiler"):60114,rn=Yt?Symbol.for("react.provider"):60109,on=Yt?Symbol.for("react.context"):60110,an=Yt?Symbol.for("react.async_mode"):60111,ln=Yt?Symbol.for("react.concurrent_mode"):60111,un=Yt?Symbol.for("react.forward_ref"):60112,sn=Yt?Symbol.for("react.suspense"):60113,cn=Yt?Symbol.for("react.suspense_list"):60120,fn=Yt?Symbol.for("react.memo"):60115,dn=Yt?Symbol.for("react.lazy"):60116,pn=Yt?Symbol.for("react.block"):60121,mn=Yt?Symbol.for("react.fundamental"):60117,hn=Yt?Symbol.for("react.responder"):60118,yn=Yt?Symbol.for("react.scope"):60119;function gn(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case Zt:switch(e=e.type){case an:case ln:case en:case nn:case tn:case sn:return e;default:switch(e=e&&e.$$typeof){case on:case un:case dn:case fn:case rn:return e;default:return t}}case Jt:return t}}}function vn(e){return gn(e)===ln}var bn={AsyncMode:an,ConcurrentMode:ln,ContextConsumer:on,ContextProvider:rn,Element:Zt,ForwardRef:un,Fragment:en,Lazy:dn,Memo:fn,Portal:Jt,Profiler:nn,StrictMode:tn,Suspense:sn,isAsyncMode:function(e){return vn(e)||gn(e)===an},isConcurrentMode:vn,isContextConsumer:function(e){return gn(e)===on},isContextProvider:function(e){return gn(e)===rn},isElement:function(e){return"object"==typeof e&&null!==e&&e.$$typeof===Zt},isForwardRef:function(e){return gn(e)===un},isFragment:function(e){return gn(e)===en},isLazy:function(e){return gn(e)===dn},isMemo:function(e){return gn(e)===fn},isPortal:function(e){return gn(e)===Jt},isProfiler:function(e){return gn(e)===nn},isStrictMode:function(e){return gn(e)===tn},isSuspense:function(e){return gn(e)===sn},isValidElementType:function(e){return"string"==typeof e||"function"==typeof e||e===en||e===ln||e===nn||e===tn||e===sn||e===cn||"object"==typeof e&&null!==e&&(e.$$typeof===dn||e.$$typeof===fn||e.$$typeof===rn||e.$$typeof===on||e.$$typeof===un||e.$$typeof===mn||e.$$typeof===hn||e.$$typeof===yn||e.$$typeof===pn)},typeOf:gn};function En(e,t,n){if(void 0===n&&(n=Error),!e)throw new n(t)}s(function(e,t){}),s(function(e){e.exports=bn});var wn=function(e,t){return(wn=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])})(e,t)};function _n(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}wn(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var Sn=function(){return(Sn=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function Cn(e,t,n){if(n||2===arguments.length)for(var r,o=0,a=t.length;o<a;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}var On=function(e,t){return(On=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])})(e,t)};function kn(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}On(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var Tn=function(){return(Tn=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function Pn(e,t,n){if(n||2===arguments.length)for(var r,o=0,a=t.length;o<a;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}var Nn,xn,An,Ln=function(){return(Ln=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function Rn(e){return e.type===xn.literal}function In(e){return e.type===xn.argument}function Mn(e){return e.type===xn.number}function Dn(e){return e.type===xn.date}function Fn(e){return e.type===xn.time}function jn(e){return e.type===xn.select}function Un(e){return e.type===xn.plural}function zn(e){return e.type===xn.pound}function Vn(e){return e.type===xn.tag}function Gn(e){return!(!e||"object"!=typeof e||e.type!==An.number)}function Wn(e){return!(!e||"object"!=typeof e||e.type!==An.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"}(Nn||(Nn={})),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"}(xn||(xn={})),function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"}(An||(An={}));var Bn=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Hn=/(?:[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 $n(e){var t={};return e.replace(Hn,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 qn,Qn=function(){return(Qn=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},Xn=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,Kn=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Yn=/^(@+)?(\+|#+)?[rs]?$/g,Zn=/(\*)(0+)|(#+)(0+)|(0+)/g,Jn=/^(0+)$/;function er(e){var t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(Yn,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 tr(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 nr(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)),!Jn.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function rr(e){return tr(e)||{}}function or(e){for(var t={},n=0,r=e;n<r.length;n++){var o=r[n];switch(o.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=o.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=o.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=Qn(Qn(Qn({},t),{notation:"scientific"}),o.options.reduce(function(e,t){return Qn(Qn({},e),rr(t))},{}));continue;case"engineering":t=Qn(Qn(Qn({},t),{notation:"engineering"}),o.options.reduce(function(e,t){return Qn(Qn({},e),rr(t))},{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(o.options[0]);continue;case"integer-width":if(o.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");o.options[0].replace(Zn,function(e,n,r,o,a,i){if(n)t.minimumIntegerDigits=r.length;else{if(o&&a)throw new Error("We currently do not support maximum integer digits");if(i)throw new Error("We currently do not support exact integer digits")}return""});continue}if(Jn.test(o.stem))t.minimumIntegerDigits=o.stem.length;else if(Kn.test(o.stem)){if(o.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");o.stem.replace(Kn,function(e,n,r,o,a,i){return"*"===r?t.minimumFractionDigits=n.length:o&&"#"===o[0]?t.maximumFractionDigits=o.length:a&&i?(t.minimumFractionDigits=a.length,t.maximumFractionDigits=a.length+i.length):(t.minimumFractionDigits=n.length,t.maximumFractionDigits=n.length),""});var a=o.options[0];"w"===a?t=Qn(Qn({},t),{trailingZeroDisplay:"stripIfInteger"}):a&&(t=Qn(Qn({},t),er(a)))}else if(Yn.test(o.stem))t=Qn(Qn({},t),er(o.stem));else{var i=tr(o.stem);i&&(t=Qn(Qn({},t),i));var l=nr(o.stem);l&&(t=Qn(Qn({},t),l))}}return t}var ar=new RegExp("^"+Bn.source+"*"),ir=new RegExp(Bn.source+"*$");function lr(e,t){return{start:e,end:t}}var ur=!!String.prototype.startsWith,sr=!!String.fromCodePoint,cr=!!Object.fromEntries,fr=!!String.prototype.codePointAt,dr=!!String.prototype.trimStart,pr=!!String.prototype.trimEnd,mr=Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},hr=!0;try{hr="a"===(null===(qn=Sr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===qn?void 0:qn[0])}catch(e){hr=!1}var yr,gr=ur?function(e,t,n){return e.startsWith(t,n)}:function(e,t,n){return e.slice(n,n+t.length)===t},vr=sr?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n,r="",o=e.length,a=0;o>a;){if((n=e[a++])>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},br=cr?Object.fromEntries:function(e){for(var t={},n=0,r=e;n<r.length;n++){var o=r[n];t[o[0]]=o[1]}return t},Er=fr?function(e,t){return e.codePointAt(t)}:function(e,t){var n=e.length;if(!(t<0||t>=n)){var r,o=e.charCodeAt(t);return o<55296||o>56319||t+1===n||(r=e.charCodeAt(t+1))<56320||r>57343?o:r-56320+(o-55296<<10)+65536}},wr=dr?function(e){return e.trimStart()}:function(e){return e.replace(ar,"")},_r=pr?function(e){return e.trimEnd()}:function(e){return e.replace(ir,"")};function Sr(e,t){return new RegExp(e,t)}if(hr){var Cr=Sr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");yr=function(e,t){var n;return Cr.lastIndex=t,null!==(n=Cr.exec(e)[1])&&void 0!==n?n:""}}else yr=function(e,t){for(var n=[];;){var r=Er(e,t);if(void 0===r||Pr(r)||Nr(r))break;n.push(r),t+=r>=65536?2:1}return vr.apply(void 0,n)};var Or=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.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}return e.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(e,t,n){for(var r=[];!this.isEOF();){var o=this.char();if(123===o){if((a=this.parseArgument(e,n)).err)return a;r.push(a.val)}else{if(125===o&&e>0)break;if(35!==o||"plural"!==t&&"selectordinal"!==t){if(60===o&&!this.ignoreTag&&47===this.peek()){if(n)break;return this.error(Nn.UNMATCHED_CLOSING_TAG,lr(this.clonePosition(),this.clonePosition()))}if(60===o&&!this.ignoreTag&&kr(this.peek()||0)){if((a=this.parseTag(e,t)).err)return a;r.push(a.val)}else{var a;if((a=this.parseLiteral(e,t)).err)return a;r.push(a.val)}}else{var i=this.clonePosition();this.bump(),r.push({type:xn.pound,location:lr(i,this.clonePosition())})}}}return{val:r,err:null}},e.prototype.parseTag=function(e,t){var n=this.clonePosition();this.bump();var r=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:xn.literal,value:"<"+r+"/>",location:lr(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var o=this.parseMessage(e+1,t,!0);if(o.err)return o;var a=o.val,i=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!kr(this.char()))return this.error(Nn.INVALID_TAG,lr(i,this.clonePosition()));var l=this.clonePosition();return r!==this.parseTagName()?this.error(Nn.UNMATCHED_CLOSING_TAG,lr(l,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:xn.tag,value:r,children:a,location:lr(n,this.clonePosition())},err:null}:this.error(Nn.INVALID_TAG,lr(i,this.clonePosition())))}return this.error(Nn.UNCLOSED_TAG,lr(n,this.clonePosition()))}return this.error(Nn.INVALID_TAG,lr(n,this.clonePosition()))},e.prototype.parseTagName=function(){var e=this.offset();for(this.bump();!this.isEOF()&&Tr(this.char());)this.bump();return this.message.slice(e,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 a=this.tryParseUnquoted(e,t);if(a)r+=a;else{var i=this.tryParseLeftAngleBracket();if(!i)break;r+=i}}}var l=lr(n,this.clonePosition());return{val:{type:xn.literal,value:r,location:l},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(kr(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 vr.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(),vr(n))},e.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(Nn.EXPECT_ARGUMENT_CLOSING_BRACE,lr(n,this.clonePosition()));if(125===this.char())return this.bump(),this.error(Nn.EMPTY_ARGUMENT,lr(n,this.clonePosition()));var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(Nn.MALFORMED_ARGUMENT,lr(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(Nn.EXPECT_ARGUMENT_CLOSING_BRACE,lr(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:xn.argument,value:r,location:lr(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(Nn.EXPECT_ARGUMENT_CLOSING_BRACE,lr(n,this.clonePosition())):this.parseArgumentOptions(e,t,r,n);default:return this.error(Nn.MALFORMED_ARGUMENT,lr(n,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=yr(this.message,t);return this.bumpTo(t+n.length),{value:n,location:lr(e,this.clonePosition())}},e.prototype.parseArgumentOptions=function(e,t,n,r){var o,a=this.clonePosition(),i=this.parseIdentifierIfPossible().value,l=this.clonePosition();switch(i){case"":return this.error(Nn.EXPECT_ARGUMENT_TYPE,lr(a,l));case"number":case"date":case"time":this.bumpSpace();var u=null;if(this.bumpIf(",")){this.bumpSpace();var s=this.clonePosition();if((y=this.parseSimpleArgStyleIfPossible()).err)return y;if(0===(d=_r(y.val)).length)return this.error(Nn.EXPECT_ARGUMENT_STYLE,lr(this.clonePosition(),this.clonePosition()));u={style:d,styleLocation:lr(s,this.clonePosition())}}if((g=this.tryParseArgumentClose(r)).err)return g;var c=lr(r,this.clonePosition());if(u&&gr(null==u?void 0:u.style,"::",0)){var f=wr(u.style.slice(2));if("number"===i)return(y=this.parseNumberSkeletonFromString(f,u.styleLocation)).err?y:{val:{type:xn.number,value:n,location:c,style:y.val},err:null};if(0===f.length)return this.error(Nn.EXPECT_DATE_TIME_SKELETON,c);var d={type:An.dateTime,pattern:f,location:u.styleLocation,parsedOptions:this.shouldParseSkeletons?$n(f):{}};return{val:{type:"date"===i?xn.date:xn.time,value:n,location:c,style:d},err:null}}return{val:{type:"number"===i?xn.number:"date"===i?xn.date:xn.time,value:n,location:c,style:null!==(o=null==u?void 0:u.style)&&void 0!==o?o:null},err:null};case"plural":case"selectordinal":case"select":var p=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(Nn.EXPECT_SELECT_ARGUMENT_OPTIONS,lr(p,Ln({},p)));this.bumpSpace();var m=this.parseIdentifierIfPossible(),h=0;if("select"!==i&&"offset"===m.value){if(!this.bumpIf(":"))return this.error(Nn.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,lr(this.clonePosition(),this.clonePosition()));var y;if(this.bumpSpace(),(y=this.tryParseDecimalInteger(Nn.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Nn.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return y;this.bumpSpace(),m=this.parseIdentifierIfPossible(),h=y.val}var g,v=this.tryParsePluralOrSelectOptions(e,i,t,m);if(v.err)return v;if((g=this.tryParseArgumentClose(r)).err)return g;var b=lr(r,this.clonePosition());return"select"===i?{val:{type:xn.select,value:n,options:br(v.val),location:b},err:null}:{val:{type:xn.plural,value:n,options:br(v.val),offset:h,pluralType:"plural"===i?"cardinal":"ordinal",location:b},err:null};default:return this.error(Nn.INVALID_ARGUMENT_TYPE,lr(a,l))}},e.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(Nn.EXPECT_ARGUMENT_CLOSING_BRACE,lr(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(Nn.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,lr(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(Xn).filter(function(e){return e.length>0});n<r.length;n++){var o=r[n].split("/");if(0===o.length)throw new Error("Invalid number skeleton");for(var a=o[0],i=o.slice(1),l=0,u=i;l<u.length;l++)if(0===u[l].length)throw new Error("Invalid number skeleton");t.push({stem:a,options:i})}return t}(e)}catch(e){return this.error(Nn.INVALID_NUMBER_SKELETON,t)}return{val:{type:An.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?or(n):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(e,t,n,r){for(var o,a=!1,i=[],l=new Set,u=r.value,s=r.location;;){if(0===u.length){var c=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var f=this.tryParseDecimalInteger(Nn.EXPECT_PLURAL_ARGUMENT_SELECTOR,Nn.INVALID_PLURAL_ARGUMENT_SELECTOR);if(f.err)return f;s=lr(c,this.clonePosition()),u=this.message.slice(c.offset,this.offset())}if(l.has(u))return this.error("select"===t?Nn.DUPLICATE_SELECT_ARGUMENT_SELECTOR:Nn.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,s);"other"===u&&(a=!0),this.bumpSpace();var d=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?Nn.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:Nn.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,lr(this.clonePosition(),this.clonePosition()));var p=this.parseMessage(e+1,t,n);if(p.err)return p;var m=this.tryParseArgumentClose(d);if(m.err)return m;i.push([u,{value:p.val,location:lr(d,this.clonePosition())}]),l.add(u),this.bumpSpace(),u=(o=this.parseIdentifierIfPossible()).value,s=o.location}return 0===i.length?this.error("select"===t?Nn.EXPECT_SELECT_ARGUMENT_SELECTOR:Nn.EXPECT_PLURAL_ARGUMENT_SELECTOR,lr(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!a?this.error(Nn.MISSING_OTHER_CLAUSE,lr(this.clonePosition(),this.clonePosition())):{val:i,err:null}},e.prototype.tryParseDecimalInteger=function(e,t){var n=1,r=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var o=!1,a=0;!this.isEOF();){var i=this.char();if(!(i>=48&&i<=57))break;o=!0,a=10*a+(i-48),this.bump()}var l=lr(r,this.clonePosition());return o?mr(a*=n)?{val:a,err:null}:this.error(t,l):this.error(e,l)},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=Er(this.message,e);if(void 0===t)throw Error("Offset "+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(gr(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 "+e+" must be greater than or equal to the current offset "+this.offset());for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(t>e)throw Error("targetOffset "+e+" is at invalid UTF-16 code unit boundary");if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&Pr(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 kr(e){return e>=97&&e<=122||e>=65&&e<=90}function Tr(e){return 45===e||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}function Pr(e){return e>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||8233===e}function Nr(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 xr(e,t){void 0===t&&(t={}),t=Ln({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var n=new Or(e,t).parse();if(n.err){var r=SyntaxError(Nn[n.err.kind]);throw r.location=n.err.location,r.originalMessage=n.err.message,r}return(null==t?void 0:t.captureLocation)||function e(t){t.forEach(function(t){if(delete t.location,jn(t)||Un(t))for(var n in t.options)delete t.options[n].location,e(t.options[n].value);else Mn(t)&&Gn(t.style)||(Dn(t)||Fn(t))&&Wn(t.style)?delete t.style.location:Vn(t)&&e(t.children)})}(n.val),n.val}function Ar(e,t){return(t&&t.strategy?t.strategy:Mr)(e,{cache:t&&t.cache?t.cache:Ur,serializer:t&&t.serializer?t.serializer:Dr})}function Lr(e,t,n,r){var o,a=null==(o=r)||"number"==typeof o||"boolean"==typeof o?r:n(r),i=t.get(a);return void 0===i&&(i=e.call(this,r),t.set(a,i)),i}function Rr(e,t,n){var r=Array.prototype.slice.call(arguments,3),o=n(r),a=t.get(o);return void 0===a&&(a=e.apply(this,r),t.set(o,a)),a}function Ir(e,t,n,r,o){return n.bind(t,e,r,o)}function Mr(e,t){return Ir(e,this,1===e.length?Lr:Rr,t.cache.create(),t.serializer)}var Dr=function(){return JSON.stringify(arguments)};function Fr(){this.cache=Object.create(null)}Fr.prototype.get=function(e){return this.cache[e]},Fr.prototype.set=function(e,t){this.cache[e]=t};var jr,Ur={create:function(){return new Fr}},zr={variadic:function(e,t){return Ir(e,this,Rr,t.cache.create(),t.serializer)},monadic:function(e,t){return Ir(e,this,Lr,t.cache.create(),t.serializer)}};!function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"}(jr||(jr={}));var Vr,Gr=function(e){function t(t,n,r){var o=e.call(this,t)||this;return o.code=n,o.originalMessage=r,o}return kn(t,e),t.prototype.toString=function(){return"[formatjs Error: "+this.code+"] "+this.message},t}(Error),Wr=function(e){function t(t,n,r,o){return e.call(this,'Invalid values for "'+t+'": "'+n+'". Options are "'+Object.keys(r).join('", "')+'"',jr.INVALID_VALUE,o)||this}return kn(t,e),t}(Gr),Br=function(e){function t(t,n,r){return e.call(this,'Value for "'+t+'" must be of type '+n,jr.INVALID_VALUE,r)||this}return kn(t,e),t}(Gr),Hr=function(e){function t(t,n){return e.call(this,'The intl string context variable "'+t+'" was not provided to the string "'+n+'"',jr.MISSING_VALUE,n)||this}return kn(t,e),t}(Gr);function $r(e){return"function"==typeof e}function qr(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,n){e[t]=n}}}}}!function(e){e[e.literal=0]="literal",e[e.object=1]="object"}(Vr||(Vr={}));var Qr,Xr=function(){function e(t,n,r,o){var a,i,l,u=this;if(void 0===n&&(n=e.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var t=u.formatToParts(e);if(1===t.length)return t[0].value;var n=t.reduce(function(e,t){return e.length&&t.type===Vr.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 function e(t,n,r,o,a,i,l){if(1===t.length&&Rn(t[0]))return[{type:Vr.literal,value:t[0].value}];for(var u=[],s=0,c=t;s<c.length;s++){var f=c[s];if(Rn(f))u.push({type:Vr.literal,value:f.value});else if(zn(f))"number"==typeof i&&u.push({type:Vr.literal,value:r.getNumberFormat(n).format(i)});else{var d=f.value;if(!a||!(d in a))throw new Hr(d,l);var p=a[d];if(In(f))p&&"string"!=typeof p&&"number"!=typeof p||(p="string"==typeof p||"number"==typeof p?String(p):""),u.push({type:"string"==typeof p?Vr.literal:Vr.object,value:p});else if(Dn(f)){var m="string"==typeof f.style?o.date[f.style]:Wn(f.style)?f.style.parsedOptions:void 0;u.push({type:Vr.literal,value:r.getDateTimeFormat(n,m).format(p)})}else if(Fn(f))m="string"==typeof f.style?o.time[f.style]:Wn(f.style)?f.style.parsedOptions:void 0,u.push({type:Vr.literal,value:r.getDateTimeFormat(n,m).format(p)});else if(Mn(f))(m="string"==typeof f.style?o.number[f.style]:Gn(f.style)?f.style.parsedOptions:void 0)&&m.scale&&(p*=m.scale||1),u.push({type:Vr.literal,value:r.getNumberFormat(n,m).format(p)});else{if(Vn(f)){var h=f.children,y=f.value,g=a[y];if(!$r(g))throw new Br(y,"function",l);var v=g(e(h,n,r,o,a,i).map(function(e){return e.value}));Array.isArray(v)||(v=[v]),u.push.apply(u,v.map(function(e){return{type:"string"==typeof e?Vr.literal:Vr.object,value:e}}))}if(jn(f)){if(!(b=f.options[p]||f.options.other))throw new Wr(f.value,p,Object.keys(f.options),l);u.push.apply(u,e(b.value,n,r,o,a))}else if(Un(f)){var b;if(!(b=f.options["="+p])){if(!Intl.PluralRules)throw new Gr('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',jr.MISSING_INTL_API,l);var E=r.getPluralRules(n,{type:f.pluralType}).select(p-(f.offset||0));b=f.options[E]||f.options.other}if(!b)throw new Wr(f.value,p,Object.keys(f.options),l);u.push.apply(u,e(b.value,n,r,o,a,p-(f.offset||0)))}}}}return(w=u).length<2?w:w.reduce(function(e,t){var n=e[e.length-1];return n&&n.type===Vr.literal&&t.type===Vr.literal?n.value+=t.value:e.push(t),e},[]);var w}(u.ast,u.locales,u.formatters,u.formats,e,void 0,u.message)},this.resolvedOptions=function(){return{locale:Intl.NumberFormat.supportedLocalesOf(u.locales)[0]}},this.getAst=function(){return u.ast},"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==o?void 0:o.ignoreTag})}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=(i=e.formats,(l=r)?Object.keys(i).reduce(function(e,t){var n,r;return e[t]=(n=i[t],(r=l[t])?Tn(Tn(Tn({},n||{}),r||{}),Object.keys(n).reduce(function(e,t){return e[t]=Tn(Tn({},n[t]),r[t]||{}),e},{})):n),e},Tn({},i)):i),this.locales=n,this.formatters=o&&o.formatters||(void 0===(a=this.formatterCache)&&(a={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:Ar(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,Pn([void 0],t)))},{cache:qr(a.number),strategy:zr.variadic}),getDateTimeFormat:Ar(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,Pn([void 0],t)))},{cache:qr(a.dateTime),strategy:zr.variadic}),getPluralRules:Ar(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,Pn([void 0],t)))},{cache:qr(a.pluralRules),strategy:zr.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.__parse=xr,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}();!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"}(Qr||(Qr={}));var Kr=function(e){function t(n,r,o){var a=e.call(this,"[@formatjs/intl Error "+n+"] "+r+" \n"+(o?"\n"+o.message+"\n"+o.stack:""))||this;return a.code=n,"function"==typeof Error.captureStackTrace&&Error.captureStackTrace(a,t),a}return _n(t,e),t}(Error),Yr=function(e){function t(t,n){return e.call(this,Qr.UNSUPPORTED_FORMATTER,t,n)||this}return _n(t,e),t}(Kr),Zr=function(e){function t(t,n){return e.call(this,Qr.INVALID_CONFIG,t,n)||this}return _n(t,e),t}(Kr),Jr=function(e){function t(t,n){return e.call(this,Qr.MISSING_DATA,t,n)||this}return _n(t,e),t}(Kr),eo=function(e){function t(t,n,r,o){var a=e.call(this,Qr.FORMAT_ERROR,t+" \nLocale: "+n+"\nMessageID: "+(null==r?void 0:r.id)+"\nDefault Message: "+(null==r?void 0:r.defaultMessage)+"\nDescription: "+(null==r?void 0:r.description)+" \n",o)||this;return a.descriptor=r,a}return _n(t,e),t}(Kr),to=function(e){function t(t,n){var r=e.call(this,Qr.MISSING_TRANSLATION,'Missing message: "'+t.id+'" for locale "'+n+'", using '+(t.defaultMessage?"default message":"id")+" as fallback.")||this;return r.descriptor=t,r}return _n(t,e),t}(Kr);function no(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 ro={formats:{},messages:{},timeZone:void 0,defaultLocale:"en",defaultFormats:{},onError:function(e){}};function oo(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,n){e[t]=n}}}}}function ao(e,t,n,r){var o,a=e&&e[t];if(a&&(o=a[n]),o)return o;r(new Yr("No "+t+" format named: "+n))}function io(e,t){return Object.keys(e).reduce(function(n,r){return n[r]=Sn({timeZone:t},e[r]),n},{})}function lo(e,t){return Object.keys(Sn(Sn({},e),t)).reduce(function(n,r){return n[r]=Sn(Sn({},e[r]||{}),t[r]||{}),n},{})}function uo(e,t){if(!t)return e;var n=Xr.formats;return Sn(Sn(Sn({},n),e),{date:lo(io(n.date,t),io(e.date||{},t)),time:lo(io(n.time,t),io(e.time||{},t))})}function so(e,t,n,r,o){var a=e.locale,i=e.formats,l=e.messages,u=e.defaultLocale,s=e.defaultFormats,c=e.onError,f=e.timeZone,d=e.defaultRichTextElements;void 0===n&&(n={id:""});var p=n.id,m=n.defaultMessage;En(!!p,"[@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 h=String(p),y=l&&Object.prototype.hasOwnProperty.call(l,h)&&l[h];if(Array.isArray(y)&&1===y.length&&y[0].type===xn.literal)return y[0].value;if(!r&&y&&"string"==typeof y&&!d)return y.replace(/'\{(.*?)\}'/gi,"{$1}");if(r=Sn(Sn({},d),r||{}),i=uo(i,f),s=uo(s,f),!y){if((!m||a&&a.toLowerCase()!==u.toLowerCase())&&c(new to(n,a)),m)try{return t.getMessageFormat(m,u,s,o).format(r)}catch(e){return c(new eo('Error formatting default message for: "'+h+'", rendering default message verbatim',a,n,e)),"string"==typeof m?m:h}return h}try{return t.getMessageFormat(y,a,i,Sn({formatters:t},o||{})).format(r)}catch(e){c(new eo('Error formatting message: "'+h+'", using '+(m?"default message":"id")+" as fallback.",a,n,e))}if(m)try{return t.getMessageFormat(m,u,s,o).format(r)}catch(e){c(new eo('Error formatting the default message for: "'+h+'", rendering message verbatim',a,n,e))}return"string"==typeof y?y:"string"==typeof m?m:h}var co=["localeMatcher","formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName","hourCycle","dateStyle","timeStyle","calendar","numberingSystem"];function fo(e,t,n,r){var o=e.locale,a=e.formats,i=e.onError,l=e.timeZone;void 0===r&&(r={});var u=r.format,s=Sn(Sn({},l&&{timeZone:l}),u&&ao(a,t,u,i)),c=no(r,co,s);return"time"!==t||c.hour||c.minute||c.second||c.timeStyle||c.dateStyle||(c=Sn(Sn({},c),{hour:"numeric",minute:"numeric"})),n(o,c)}function po(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var o=n[0],a=n[1],i=void 0===a?{}:a,l="string"==typeof o?new Date(o||0):o;try{return fo(e,"date",t,i).format(l)}catch(t){e.onError(new Kr(Qr.FORMAT_ERROR,"Error formatting date.",t))}return String(l)}function mo(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var o=n[0],a=n[1],i=void 0===a?{}:a,l="string"==typeof o?new Date(o||0):o;try{return fo(e,"time",t,i).format(l)}catch(t){e.onError(new Kr(Qr.FORMAT_ERROR,"Error formatting time.",t))}return String(l)}function ho(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var o=n[0],a=n[1],i=n[2],l=void 0===i?{}:i,u=e.timeZone,s=e.locale,c=e.onError,f=no(l,co,u?{timeZone:u}:{});try{return t(s,f).formatRange(o,a)}catch(e){c(new Kr(Qr.FORMAT_ERROR,"Error formatting date time range.",e))}return String(o)}function yo(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var o=n[0],a=n[1],i=void 0===a?{}:a,l="string"==typeof o?new Date(o||0):o;try{return fo(e,"date",t,i).formatToParts(l)}catch(t){e.onError(new Kr(Qr.FORMAT_ERROR,"Error formatting date.",t))}return[]}function go(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var o=n[0],a=n[1],i=void 0===a?{}:a,l="string"==typeof o?new Date(o||0):o;try{return fo(e,"time",t,i).formatToParts(l)}catch(t){e.onError(new Kr(Qr.FORMAT_ERROR,"Error formatting time.",t))}return[]}var vo=["localeMatcher","style","type","fallback"];function bo(e,t,n,r){var o=e.locale,a=e.onError;Intl.DisplayNames||a(new Gr('Intl.DisplayNames is not available in this environment.\nTry polyfilling it using "@formatjs/intl-displaynames"\n',jr.MISSING_INTL_API));var i=no(r,vo);try{return t(o,i).of(n)}catch(e){a(new Kr(Qr.FORMAT_ERROR,"Error formatting display name.",e))}}var Eo=["localeMatcher","type","style"],wo=Date.now();function _o(e,t,n,r){void 0===r&&(r={});var o=So(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===o.length?o[0]:o}function So(e,t,n,r){var o=e.locale,a=e.onError;void 0===r&&(r={}),Intl.ListFormat||a(new Gr('Intl.ListFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-listformat"\n',jr.MISSING_INTL_API));var i=no(r,Eo);try{var l={},u=n.map(function(e,t){if("object"==typeof e){var n=function(e){return wo+"_"+e+"_"+wo}(t);return l[n]=e,n}return String(e)});return t(o,i).formatToParts(u).map(function(e){return"literal"===e.type?e:Sn(Sn({},e),{value:l[e.value]||e.value})})}catch(e){a(new Kr(Qr.FORMAT_ERROR,"Error formatting list.",e))}return n}var Co=["localeMatcher","type"];function Oo(e,t,n,r){var o=e.locale,a=e.onError;void 0===r&&(r={}),Intl.PluralRules||a(new Gr('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',jr.MISSING_INTL_API));var i=no(r,Co);try{return t(o,i).select(n)}catch(e){a(new eo("Error formatting plural.",e))}return"other"}var ko=["numeric","style"];function To(e,t,n,r,o){void 0===o&&(o={}),r||(r="second"),Intl.RelativeTimeFormat||e.onError(new Gr('Intl.RelativeTimeFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-relativetimeformat"\n',jr.MISSING_INTL_API));try{return function(e,t,n){var r=e.locale;void 0===n&&(n={});var o=n.format,a=!!o&&ao(e.formats,"relative",o,e.onError)||{};return t(r,no(n,ko,a))}(e,t,o).format(n,r)}catch(t){e.onError(new eo("Error formatting relative time.",t))}return String(n)}var Po=["localeMatcher","style","currency","currencyDisplay","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay","numberingSystem"];function No(e,t,n){var r=e.locale;void 0===n&&(n={});var o=n.format,a=o&&ao(e.formats,"number",o,e.onError)||{};return t(r,no(n,Po,a))}function xo(e,t,n,r){void 0===r&&(r={});try{return No(e,t,r).format(n)}catch(t){e.onError(new Kr(Qr.FORMAT_ERROR,"Error formatting number.",t))}return String(n)}function Ao(e,t,n,r){void 0===r&&(r={});try{return No(e,t,r).formatToParts(n)}catch(t){e.onError(new Kr(Qr.FORMAT_ERROR,"Error formatting number.",t))}return[]}function Lo(e){En(e,"[React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.")}var Ro=Qt(Qt({},ro),{textComponent:$t.Fragment});function Io(e,t){if(e===t)return!0;if(!e||!t)return!1;var n=Object.keys(e),r=Object.keys(t),o=n.length;if(r.length!==o)return!1;for(var a=0;a<o;a++){var i=n[a];if(e[i]!==t[i]||!Object.prototype.hasOwnProperty.call(t,i))return!1}return!0}var Mo,Do,Fo=$t.createContext(null),jo=Fo.Provider,Uo=Fo;function zo(){var e=$t.useContext(Uo);return Lo(e),e}function Vo(e){var t=function(t){var n=zo(),r=t.value,o=t.children,a=Xt(t,["value","children"]),i=n[e](r,a);return"function"==typeof o?o(i):$t.createElement(n.textComponent||$t.Fragment,null,i)};return t.displayName=Mo[e],t}function Go(e){return{locale:e.locale,timeZone:e.timeZone,formats:e.formats,textComponent:e.textComponent,messages:e.messages,defaultLocale:e.defaultLocale,defaultFormats:e.defaultFormats,onError:e.onError,wrapRichTextChunksInFragment:e.wrapRichTextChunksInFragment,defaultRichTextElements:e.defaultRichTextElements}}function Wo(e){return e?Object.keys(e).reduce(function(t,n){var r,o=e[n];return t[n]=$r(o)?(r=o,function(e){return r($t.Children.toArray(e))}):o,t},{}):e}!function(e){e.formatDate="FormattedDate",e.formatTime="FormattedTime",e.formatNumber="FormattedNumber",e.formatList="FormattedList",e.formatDisplayName="FormattedDisplayName"}(Mo||(Mo={})),function(e){e.formatDate="FormattedDateParts",e.formatTime="FormattedTimeParts",e.formatNumber="FormattedNumberParts",e.formatList="FormattedListParts"}(Do||(Do={}));var Bo=function(e,t,n,r){for(var o=[],a=4;a<arguments.length;a++)o[a-4]=arguments[a];var i=Wo(r),l=so.apply(void 0,Kt([e,t,n,i],o));return Array.isArray(l)?$t.Children.toArray(l):l},Ho=function(e,t){var n=e.defaultRichTextElements,r=Xt(e,["defaultRichTextElements"]),o=Wo(n),a=function(e,t){var n=function(e){void 0===e&&(e={dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}});var t=Intl.RelativeTimeFormat,n=Intl.ListFormat,r=Intl.DisplayNames,o=Ar(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,Cn([void 0],t)))},{cache:oo(e.dateTime),strategy:zr.variadic}),a=Ar(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,Cn([void 0],t)))},{cache:oo(e.number),strategy:zr.variadic}),i=Ar(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,Cn([void 0],t)))},{cache:oo(e.pluralRules),strategy:zr.variadic});return{getDateTimeFormat:o,getNumberFormat:a,getMessageFormat:Ar(function(e,t,n,r){return new Xr(e,t,n,Sn({formatters:{getNumberFormat:a,getDateTimeFormat:o,getPluralRules:i}},r||{}))},{cache:oo(e.message),strategy:zr.variadic}),getRelativeTimeFormat:Ar(function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return new(t.bind.apply(t,Cn([void 0],e)))},{cache:oo(e.relativeTime),strategy:zr.variadic}),getPluralRules:i,getListFormat:Ar(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new(n.bind.apply(n,Cn([void 0],e)))},{cache:oo(e.list),strategy:zr.variadic}),getDisplayNames:Ar(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new(r.bind.apply(r,Cn([void 0],e)))},{cache:oo(e.displayNames),strategy:zr.variadic})}}(t),r=Sn(Sn({},ro),e),o=r.locale,a=r.defaultLocale,i=r.onError;return o?!Intl.NumberFormat.supportedLocalesOf(o).length&&i?i(new Jr('Missing locale data for locale: "'+o+'" in Intl.NumberFormat. Using default locale: "'+a+'" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details')):!Intl.DateTimeFormat.supportedLocalesOf(o).length&&i&&i(new Jr('Missing locale data for locale: "'+o+'" in Intl.DateTimeFormat. Using default locale: "'+a+'" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details')):(i&&i(new Zr('"locale" was not configured, using "'+a+'" as fallback. See https://formatjs.io/docs/react-intl/api#intlshape for more details')),r.locale=r.defaultLocale||"en"),function(e){var t;e.defaultRichTextElements&&"string"==typeof((t=e.messages||{})?t[Object.keys(t)[0]]:void 0)&&console.warn('[@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),Sn(Sn({},r),{formatters:n,formatNumber:xo.bind(null,r,n.getNumberFormat),formatNumberToParts:Ao.bind(null,r,n.getNumberFormat),formatRelativeTime:To.bind(null,r,n.getRelativeTimeFormat),formatDate:po.bind(null,r,n.getDateTimeFormat),formatDateToParts:yo.bind(null,r,n.getDateTimeFormat),formatTime:mo.bind(null,r,n.getDateTimeFormat),formatDateTimeRange:ho.bind(null,r,n.getDateTimeFormat),formatTimeToParts:go.bind(null,r,n.getDateTimeFormat),formatPlural:Oo.bind(null,r,n.getPluralRules),formatMessage:so.bind(null,r,n),formatList:_o.bind(null,r,n.getListFormat),formatListToParts:So.bind(null,r,n.getListFormat),formatDisplayName:bo.bind(null,r,n.getDisplayNames)})}(Qt(Qt(Qt({},Ro),r),{defaultRichTextElements:o}),t);return Qt(Qt({},a),{formatMessage:Bo.bind(null,{locale:a.locale,timeZone:a.timeZone,formats:a.formats,defaultLocale:a.defaultLocale,defaultFormats:a.defaultFormats,messages:a.messages,onError:a.onError,defaultRichTextElements:o},a.formatters)})},$o=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.cache={dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}},t.state={cache:t.cache,intl:Ho(Go(t.props),t.cache),prevConfig:Go(t.props)},t}return 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}qt(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}(t,e),t.getDerivedStateFromProps=function(e,t){var n=t.prevConfig,r=t.cache,o=Go(e);return Io(n,o)?null:{intl:Ho(o,r),prevConfig:o}},t.prototype.render=function(){return Lo(this.state.intl),$t.createElement(jo,{value:this.state.intl},this.props.children)},t.displayName="IntlProvider",t.defaultProps=Ro,t}($t.PureComponent);function qo(e){var t=zo(),n=t.textComponent,r=e.children,o=e.tagName,a=void 0===o?void 0===n?$t.Fragment:n:o,i=(0,t.formatMessage)({id:e.id,description:e.description,defaultMessage:e.defaultMessage},e.values,{ignoreTag:e.ignoreTag});return"function"==typeof r?r(Array.isArray(i)?i:[i]):a?$t.createElement(a,null,$t.Children.toArray(i)):$t.createElement($t.Fragment,null,i)}qo.displayName="FormattedMessage";var Qo=$t.memo(qo,function(e,t){var n=e.values,r=Xt(e,["values"]),o=t.values,a=Xt(t,["values"]);return Io(o,n)&&Io(r,a)});Qo.displayName="MemoizedFormattedMessage";var Xo=Vo("formatDate"),Ko=(Vo("formatTime"),Vo("formatNumber")),Yo=(Vo("formatList"),Vo("formatDisplayName"),{"eligibility-modal.bullet-1":"Wählen Sie an der Kasse <strong>Alma</strong> .","eligibility-modal.bullet-2":"Füllen Sie die <strong>angeforderten</strong> Informationen aus.","eligibility-modal.bullet-3":"Die Bestätigung Ihrer Zahlung <strong>sofort</strong> !","eligibility-modal.cost":"Davon Kosten","eligibility-modal.credit-commitment":"Ein Kredit verpflichtet Sie und muss zurückgezahlt werden. Prüfen Sie Ihre Rückzahlungsfähigkeit, bevor Sie sich verpflichten.","eligibility-modal.credit-cost":"Davon Kreditkosten","eligibility-modal.credit-cost-amount":"{creditCost} (APR {TAEG})","eligibility-modal.no-eligibility":"Ups, die Simulation scheint nicht funktioniert zu haben.","eligibility-modal.title":"<highlighted>Bezahlen Sie in Raten</highlighted> oder später per Kreditkarte mit Alma.","eligibility-modal.total":"Insgesamt","installments.today":"Heutzutage","payment-plan-strings.day-abbreviation":"J{numberOfDeferredDays}","payment-plan-strings.default-message":"Bezahlen Sie in Raten mit Alma","payment-plan-strings.deferred":"{totalAmount} zu zahlen am {dueDate}","payment-plan-strings.ineligible-greater-than-max":"Bis zu {maxAmount}","payment-plan-strings.ineligible-lower-than-min":"Ab {minAmount}","payment-plan-strings.multiple-installments":"{numberOfRemainingInstallments, plural, one {{firstInstallmentAmount} dann {numberOfRemainingInstallments} x {othersInstallmentAmount}} other {{firstInstallmentAmount} dann {numberOfRemainingInstallments} x {othersInstallmentAmount}}}","payment-plan-strings.multiple-installments-same-amount":"{installmentsCount} x {totalAmount}","payment-plan-strings.no-fee":"(gebührenfrei)"}),Zo={"eligibility-modal.bullet-1":"Choose <strong>Alma</strong> at checkout.","eligibility-modal.bullet-2":"Fill in the <strong>information</strong> requested.","eligibility-modal.bullet-3":"Validation of your payment <strong>instantaneous</strong>!","eligibility-modal.cost":"Of which costs","eligibility-modal.credit-commitment":"A loan commits you and must be repaid. Check your ability to repay before committing yourself.","eligibility-modal.credit-cost":"Of which cost of credit","eligibility-modal.credit-cost-amount":"{creditCost} (APR {TAEG})","eligibility-modal.no-eligibility":"Oops, looks like the simulation didn't work.","eligibility-modal.title":"<highlighted>Pay in installments</highlighted> or later by credit card with Alma.","eligibility-modal.total":"Total","installments.today":"Today","payment-plan-strings.day-abbreviation":"T{numberOfDeferredDays}","payment-plan-strings.default-message":"Pay in installments with Alma","payment-plan-strings.deferred":"{totalAmount} to be paid on {dueDate}","payment-plan-strings.ineligible-greater-than-max":"Until {maxAmount}","payment-plan-strings.ineligible-lower-than-min":"From {minAmount}","payment-plan-strings.multiple-installments":"{numberOfRemainingInstallments, plural, one {{firstInstallmentAmount} then {numberOfRemainingInstallments} x {othersInstallmentAmount}} other {{firstInstallmentAmount} then {numberOfRemainingInstallments} x {othersInstallmentAmount}}}","payment-plan-strings.multiple-installments-same-amount":"{installmentsCount} x {totalAmount}","payment-plan-strings.no-fee":"(free of charge)"},Jo={"eligibility-modal.bullet-1":"Elige <strong>Alma</strong> como método de pago.","eligibility-modal.bullet-2":"Completa la <strong>información</strong> solicitada.","eligibility-modal.bullet-3":"¡Validación <strong>inmediata</strong> de tu pago!","eligibility-modal.cost":"Gastos (incl. en el total)","eligibility-modal.credit-commitment":"Un préstamo te compromete y debe ser devuelto. Comprueba tu capacidad financiera antes de comprometerte.","eligibility-modal.credit-cost":"Coste de crédito (incl. en el total)","eligibility-modal.credit-cost-amount":"{creditCost} (TAE {TAEG})","eligibility-modal.no-eligibility":"Uy, parece que la simulación no ha funcionado.","eligibility-modal.title":"<highlighted>Paga a plazos</highlighted> o más adelante con tu tarjeta, a través de Alma.","eligibility-modal.total":"Total","installments.today":"Hoy","payment-plan-strings.day-abbreviation":"D{numberOfDeferredDays}","payment-plan-strings.default-message":"Pagar a plazos con Alma","payment-plan-strings.deferred":"{totalAmount} a pagar el {dueDate}","payment-plan-strings.ineligible-greater-than-max":"Hasta {maxAmount}","payment-plan-strings.ineligible-lower-than-min":"Desde {minAmount}","payment-plan-strings.multiple-installments":"{numberOfRemainingInstallments, plural, one {{firstInstallmentAmount} hoy, después {numberOfRemainingInstallments} mensualidad de {othersInstallmentAmount}} other {{firstInstallmentAmount} hoy, después {numberOfRemainingInstallments} de {othersInstallmentAmount} mensualidades }}","payment-plan-strings.multiple-installments-same-amount":"{installmentsCount} plazos de {totalAmount}","payment-plan-strings.no-fee":"(sin intereses)"},ea={"eligibility-modal.bullet-1":"Choisissez <strong>Alma</strong> au moment du paiement.","eligibility-modal.bullet-2":"Renseignez les <strong>informations</strong> demandées.","eligibility-modal.bullet-3":"La validation de votre paiement <strong>instantanée</strong> !","eligibility-modal.cost":"Dont frais","eligibility-modal.credit-commitment":"Un crédit vous engage et doit être remboursé. Vérifiez vos capacités de remboursement avant de vous engager.","eligibility-modal.credit-cost":"Dont coût du crédit","eligibility-modal.credit-cost-amount":"{creditCost} (TAEG {TAEG})","eligibility-modal.no-eligibility":"Oups, il semblerait que la simulation n'aie pas fonctionné.","eligibility-modal.title":"<highlighted>Payez en plusieurs fois</highlighted> ou plus tard par carte bancaire avec Alma.","eligibility-modal.total":"Total","installments.today":"Aujourd'hui","payment-plan-strings.day-abbreviation":"J{numberOfDeferredDays}","payment-plan-strings.default-message":"Payez en plusieurs fois avec Alma","payment-plan-strings.deferred":"{totalAmount} à payer le {dueDate}","payment-plan-strings.ineligible-greater-than-max":"Jusqu'à {maxAmount}","payment-plan-strings.ineligible-lower-than-min":"À partir de {minAmount}","payment-plan-strings.multiple-installments":"{numberOfRemainingInstallments, plural, one {{firstInstallmentAmount} puis {numberOfRemainingInstallments} x {othersInstallmentAmount}} other {{firstInstallmentAmount} puis {numberOfRemainingInstallments} x {othersInstallmentAmount}}}","payment-plan-strings.multiple-installments-same-amount":"{installmentsCount} x {totalAmount}","payment-plan-strings.no-fee":"(sans frais)"},ta={"eligibility-modal.bullet-1":"Scegli <strong>Alma</strong> alla cassa.","eligibility-modal.bullet-2":"Compila le informazioni <strong></strong> richieste.","eligibility-modal.bullet-3":"Convalida del tuo pagamento <strong>istantanea</strong>!","eligibility-modal.cost":"Di cui commissioni","eligibility-modal.credit-commitment":"Un pagamento rateale ti impegna e deve essere ripagato. Verifica la tua capacità di rimborso prima di impegnarti.","eligibility-modal.credit-cost":"Di cui commissioni","eligibility-modal.credit-cost-amount":"{creditCost} (TAEG {TAEG})","eligibility-modal.no-eligibility":"Ops, sembra che la simulazione non abbia funzionato.","eligibility-modal.title":"<highlighted>Paga a rate</highlighted> e posticipa il pagamento con Alma, senza interessi.","eligibility-modal.total":"Totale","installments.today":"Oggi","payment-plan-strings.day-abbreviation":"G{numberOfDeferredDays}","payment-plan-strings.default-message":"Paga a rate con Alma","payment-plan-strings.deferred":"{totalAmount} da pagare il {dueDate}","payment-plan-strings.ineligible-greater-than-max":"Disponibile fino a {maxAmount}","payment-plan-strings.ineligible-lower-than-min":"Pagamento rateale disponibile a partire da {minAmount}","payment-plan-strings.multiple-installments":"{numberOfRemainingInstallments, plural, one {Oggi paghi {firstInstallmentAmount} poi {numberOfRemainingInstallments} rata mensile di {othersInstallmentAmount}} other {Oggi paghi {firstInstallmentAmount} poi {numberOfRemainingInstallments} rate mensili di {othersInstallmentAmount}}}","payment-plan-strings.multiple-installments-same-amount":"In {installmentsCount} rate mensili di {totalAmount}","payment-plan-strings.no-fee":"(senza interessi)"},na={"eligibility-modal.bullet-1":"Kies <strong>Alma</strong> bij het afrekenen.","eligibility-modal.bullet-2":"Vul de <strong>gevraagde informatie</strong> in.","eligibility-modal.bullet-3":"Validatie van uw betaling <strong>onmiddellijk</strong>!","eligibility-modal.cost":"Waarvan kosten","eligibility-modal.credit-commitment":"Een lening bindt je en moet worden terugbetaald. Ga na of u kunt terugbetalen voordat u zich vastlegt.","eligibility-modal.credit-cost":"Waarvan kosten van krediet","eligibility-modal.credit-cost-amount":"{creditCost} (APR {TAEG})","eligibility-modal.no-eligibility":"Oeps, het lijkt erop dat de simulatie niet werkte.","eligibility-modal.title":"<highlighted>Betaal in termijnen</highlighted> of later per credit card met Alma.","eligibility-modal.total":"Totaal","installments.today":"Tegenwoordig","payment-plan-strings.day-abbreviation":"J{numberOfDeferredDays}","payment-plan-strings.default-message":"Betaal in termijnen met Alma","payment-plan-strings.deferred":"{totalAmount} te betalen op {dueDate}","payment-plan-strings.ineligible-greater-than-max":"Tot {maxAmount}","payment-plan-strings.ineligible-lower-than-min":"Van {minAmount}","payment-plan-strings.multiple-installments":"{numberOfRemainingInstallments, plural, one {{firstInstallmentAmount} dan {numberOfRemainingInstallments} x {othersInstallmentAmount}} other {{firstInstallmentAmount} dan {numberOfRemainingInstallments} x {othersInstallmentAmount}}}","payment-plan-strings.multiple-installments-same-amount":"{installmentsCount} x {totalAmount}","payment-plan-strings.no-fee":"(gratis)"},ra=function(e){switch(e){case Dt.fr:return ea;case Dt.en:return Zo;case Dt.es:return Jo;case Dt.it:return ta;case Dt.de:return Yo;case Dt.nl:case Dt["nl-BE"]:case Dt["nl-NL"]:return na;default:return Zo}},oa=function(e){var t=e.children,n=e.locale;return $t.createElement($o,{messages:ra(n),locale:n,defaultLocale:"en"},t)},aa=s(function(e,t){var n,r,o,a;if("object"==typeof performance&&"function"==typeof performance.now){var i=performance;t.unstable_now=function(){return i.now()}}else{var l=Date,u=l.now();t.unstable_now=function(){return l.now()-u}}if("undefined"==typeof window||"function"!=typeof MessageChannel){var s=null,c=null,f=function(){if(null!==s)try{var e=t.unstable_now();s(!0,e),s=null}catch(e){throw setTimeout(f,0),e}};n=function(e){null!==s?setTimeout(n,0,e):(s=e,setTimeout(f,0))},r=function(e,t){c=setTimeout(e,t)},o=function(){clearTimeout(c)},t.unstable_shouldYield=function(){return!1},a=t.unstable_forceFrameRate=function(){}}else{var d=window.setTimeout,p=window.clearTimeout;if("undefined"!=typeof console){var m=window.cancelAnimationFrame;"function"!=typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),"function"!=typeof m&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills")}var h=!1,y=null,g=-1,v=5,b=0;t.unstable_shouldYield=function(){return t.unstable_now()>=b},a=function(){},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"):v=0<e?Math.floor(1e3/e):5};var E=new MessageChannel,w=E.port2;E.port1.onmessage=function(){if(null!==y){var e=t.unstable_now();b=e+v;try{y(!0,e)?w.postMessage(null):(h=!1,y=null)}catch(e){throw w.postMessage(null),e}}else h=!1},n=function(e){y=e,h||(h=!0,w.postMessage(null))},r=function(e,n){g=d(function(){e(t.unstable_now())},n)},o=function(){p(g),g=-1}}function _(e,t){var n=e.length;e.push(t);e:for(;;){var r=n-1>>>1,o=e[r];if(!(void 0!==o&&0<O(o,t)))break e;e[r]=t,e[n]=o,n=r}}function S(e){return void 0===(e=e[0])?null:e}function C(e){var t=e[0];if(void 0!==t){var n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,o=e.length;r<o;){var a=2*(r+1)-1,i=e[a],l=a+1,u=e[l];if(void 0!==i&&0>O(i,n))void 0!==u&&0>O(u,i)?(e[r]=u,e[l]=n,r=l):(e[r]=i,e[a]=n,r=a);else{if(!(void 0!==u&&0>O(u,n)))break e;e[r]=u,e[l]=n,r=l}}}return t}return null}function O(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var k=[],T=[],P=1,N=null,x=3,A=!1,L=!1,R=!1;function I(e){for(var t=S(T);null!==t;){if(null===t.callback)C(T);else{if(!(t.startTime<=e))break;C(T),t.sortIndex=t.expirationTime,_(k,t)}t=S(T)}}function M(e){if(R=!1,I(e),!L)if(null!==S(k))L=!0,n(D);else{var t=S(T);null!==t&&r(M,t.startTime-e)}}function D(e,n){L=!1,R&&(R=!1,o()),A=!0;var a=x;try{for(I(n),N=S(k);null!==N&&(!(N.expirationTime>n)||e&&!t.unstable_shouldYield());){var i=N.callback;if("function"==typeof i){N.callback=null,x=N.priorityLevel;var l=i(N.expirationTime<=n);n=t.unstable_now(),"function"==typeof l?N.callback=l:N===S(k)&&C(k),I(n)}else C(k);N=S(k)}if(null!==N)var u=!0;else{var s=S(T);null!==s&&r(M,s.startTime-n),u=!1}return u}finally{N=null,x=a,A=!1}}var F=a;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(){L||A||(L=!0,n(D))},t.unstable_getCurrentPriorityLevel=function(){return x},t.unstable_getFirstCallbackNode=function(){return S(k)},t.unstable_next=function(e){switch(x){case 1:case 2:case 3:var t=3;break;default:t=x}var n=x;x=t;try{return e()}finally{x=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=F,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=x;x=e;try{return t()}finally{x=n}},t.unstable_scheduleCallback=function(e,a,i){var l=t.unstable_now();switch(i="object"==typeof i&&null!==i&&"number"==typeof(i=i.delay)&&0<i?l+i:l,e){case 1:var u=-1;break;case 2:u=250;break;case 5:u=1073741823;break;case 4:u=1e4;break;default:u=5e3}return e={id:P++,callback:a,priorityLevel:e,startTime:i,expirationTime:u=i+u,sortIndex:-1},i>l?(e.sortIndex=i,_(T,e),null===S(k)&&e===S(T)&&(R?o():R=!0,r(M,i-l))):(e.sortIndex=u,_(k,e),L||A||(L=!0,n(D))),e},t.unstable_wrapCallback=function(e){var t=x;return function(){var n=x;x=t;try{return e.apply(this,arguments)}finally{x=n}}}}),ia=(s(function(e,t){}),s(function(e){e.exports=aa}));function la(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."}if(!$t)throw Error(la(227));var ua=new Set,sa={};function ca(e,t){fa(e,t),fa(e+"Capture",t)}function fa(e,t){for(sa[e]=t,e=0;e<t.length;e++)ua.add(t[e])}var da=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),pa=/^[: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]*$/,ma=Object.prototype.hasOwnProperty,ha={},ya={};function ga(e,t,n,r,o,a,i){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=a,this.removeEmptyString=i}var va={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){va[e]=new ga(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];va[t]=new ga(t,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){va[e]=new ga(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){va[e]=new ga(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){va[e]=new ga(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){va[e]=new ga(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){va[e]=new ga(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){va[e]=new ga(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){va[e]=new ga(e,5,!1,e.toLowerCase(),null,!1,!1)});var ba=/[\-:]([a-z])/g;function Ea(e){return e[1].toUpperCase()}function wa(e,t,n,r){var o=va.hasOwnProperty(t)?va[t]:null;(null!==o?0===o.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,o,r)&&(n=null),r||null===o?function(e){return!!ma.call(ya,e)||!ma.call(ha,e)&&(pa.test(e)?ya[e]=!0:(ha[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=null===n?3!==o.type&&"":n:(t=o.attributeName,r=o.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(o=o.type)||4===o&&!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(ba,Ea);va[t]=new ga(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(ba,Ea);va[t]=new ga(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(ba,Ea);va[t]=new ga(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){va[e]=new ga(e,1,!1,e.toLowerCase(),null,!1,!1)}),va.xlinkHref=new ga("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){va[e]=new ga(e,1,!1,e.toLowerCase(),null,!0,!0)});var _a=$t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Sa=60103,Ca=60106,Oa=60107,ka=60108,Ta=60114,Pa=60109,Na=60110,xa=60112,Aa=60113,La=60120,Ra=60115,Ia=60116,Ma=60121,Da=60128,Fa=60129,ja=60130,Ua=60131;if("function"==typeof Symbol&&Symbol.for){var za=Symbol.for;Sa=za("react.element"),Ca=za("react.portal"),Oa=za("react.fragment"),ka=za("react.strict_mode"),Ta=za("react.profiler"),Pa=za("react.provider"),Na=za("react.context"),xa=za("react.forward_ref"),Aa=za("react.suspense"),La=za("react.suspense_list"),Ra=za("react.memo"),Ia=za("react.lazy"),Ma=za("react.block"),za("react.scope"),Da=za("react.opaque.id"),Fa=za("react.debug_trace_mode"),ja=za("react.offscreen"),Ua=za("react.legacy_hidden")}var Va,Ga="function"==typeof Symbol&&Symbol.iterator;function Wa(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=Ga&&e[Ga]||e["@@iterator"])?e:null}function Ba(e){if(void 0===Va)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);Va=t&&t[1]||""}return"\n"+Va+e}var Ha=!1;function $a(e,t){if(!e||Ha)return"";Ha=!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(e){if(e&&r&&"string"==typeof e.stack){for(var o=e.stack.split("\n"),a=r.stack.split("\n"),i=o.length-1,l=a.length-1;1<=i&&0<=l&&o[i]!==a[l];)l--;for(;1<=i&&0<=l;i--,l--)if(o[i]!==a[l]){if(1!==i||1!==l)do{if(i--,0>--l||o[i]!==a[l])return"\n"+o[i].replace(" at new "," at ")}while(1<=i&&0<=l);break}}}finally{Ha=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Ba(e):""}function qa(e){switch(e.tag){case 5:return Ba(e.type);case 16:return Ba("Lazy");case 13:return Ba("Suspense");case 19:return Ba("SuspenseList");case 0:case 2:case 15:return $a(e.type,!1);case 11:return $a(e.type.render,!1);case 22:return $a(e.type._render,!1);case 1:return $a(e.type,!0);default:return""}}function Qa(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 Oa:return"Fragment";case Ca:return"Portal";case Ta:return"Profiler";case ka:return"StrictMode";case Aa:return"Suspense";case La:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case Na:return(e.displayName||"Context")+".Consumer";case Pa:return(e._context.displayName||"Context")+".Provider";case xa:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case Ra:return Qa(e.type);case Ma:return Qa(e._render);case Ia:t=e._payload,e=e._init;try{return Qa(e(t))}catch(e){}}return null}function Xa(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function Ka(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function Ya(e){e._valueTracker||(e._valueTracker=function(e){var t=Ka(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 o=n.get,a=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){r=""+e,a.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 Za(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Ka(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function Ja(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 ei(e,t){var n=t.checked;return Bt({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function ti(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=Xa(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 ni(e,t){null!=(t=t.checked)&&wa(e,"checked",t,!1)}function ri(e,t){ni(e,t);var n=Xa(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")?ai(e,t.type,n):t.hasOwnProperty("defaultValue")&&ai(e,t.type,Xa(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function oi(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(("submit"===r||"reset"===r)&&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 ai(e,t,n){"number"===t&&Ja(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function ii(e,t){return e=Bt({children:void 0},t),(t=function(e){var t="";return $t.Children.forEach(e,function(e){null!=e&&(t+=e)}),t}(t.children))&&(e.children=t),e}function li(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+Xa(n),t=null,o=0;o<e.length;o++){if(e[o].value===n)return e[o].selected=!0,void(r&&(e[o].defaultSelected=!0));null!==t||e[o].disabled||(t=e[o])}null!==t&&(t.selected=!0)}}function ui(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(la(91));return Bt({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function si(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(la(92));if(Array.isArray(n)){if(!(1>=n.length))throw Error(la(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:Xa(n)}}function ci(e,t){var n=Xa(t.value),r=Xa(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 fi(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}var di="http://www.w3.org/1999/xhtml";function pi(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 mi(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?pi(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var hi,yi=function(e){return"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(t,n,r,o){MSApp.execUnsafeLocalFunction(function(){return e(t,n)})}:e}(function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((hi=hi||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=hi.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function gi(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 vi={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,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},bi=["Webkit","ms","Moz","O"];function Ei(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||vi.hasOwnProperty(e)&&vi[e]?(""+t).trim():t+"px"}function wi(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=Ei(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}Object.keys(vi).forEach(function(e){bi.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),vi[t]=vi[e]})});var _i=Bt({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 Si(e,t){if(t){if(_i[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(la(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(la(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(la(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(la(62))}}function Ci(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}}function Oi(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var ki=null,Ti=null,Pi=null;function Ni(e){if(e=Xs(e)){if("function"!=typeof ki)throw Error(la(280));var t=e.stateNode;t&&(t=Ys(t),ki(e.stateNode,e.type,t))}}function xi(e){Ti?Pi?Pi.push(e):Pi=[e]:Ti=e}function Ai(){if(Ti){var e=Ti,t=Pi;if(Pi=Ti=null,Ni(e),t)for(e=0;e<t.length;e++)Ni(t[e])}}function Li(e,t){return e(t)}function Ri(e,t,n,r,o){return e(t,n,r,o)}function Ii(){}var Mi=Li,Di=!1,Fi=!1;function ji(){null===Ti&&null===Pi||(Ii(),Ai())}function Ui(e,t){var n=e.stateNode;if(null===n)return null;var r=Ys(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(la(231,t,typeof n));return n}var zi=!1;if(da)try{var Vi={};Object.defineProperty(Vi,"passive",{get:function(){zi=!0}}),window.addEventListener("test",Vi,Vi),window.removeEventListener("test",Vi,Vi)}catch(e){zi=!1}function Gi(e,t,n,r,o,a,i,l,u){var s=Array.prototype.slice.call(arguments,3);try{t.apply(n,s)}catch(e){this.onError(e)}}var Wi=!1,Bi=null,Hi=!1,$i=null,qi={onError:function(e){Wi=!0,Bi=e}};function Qi(e,t,n,r,o,a,i,l,u){Wi=!1,Bi=null,Gi.apply(qi,arguments)}function Xi(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!=(1026&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function Ki(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 Yi(e){if(Xi(e)!==e)throw Error(la(188))}function Zi(e){if(!(e=function(e){var t=e.alternate;if(!t){if(null===(t=Xi(e)))throw Error(la(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(null===o)break;var a=o.alternate;if(null===a){if(null!==(r=o.return)){n=r;continue}break}if(o.child===a.child){for(a=o.child;a;){if(a===n)return Yi(o),e;if(a===r)return Yi(o),t;a=a.sibling}throw Error(la(188))}if(n.return!==r.return)n=o,r=a;else{for(var i=!1,l=o.child;l;){if(l===n){i=!0,n=o,r=a;break}if(l===r){i=!0,r=o,n=a;break}l=l.sibling}if(!i){for(l=a.child;l;){if(l===n){i=!0,n=a,r=o;break}if(l===r){i=!0,r=a,n=o;break}l=l.sibling}if(!i)throw Error(la(189))}}if(n.alternate!==r)throw Error(la(190))}if(3!==n.tag)throw Error(la(188));return n.stateNode.current===n?e:t}(e)))return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}var Ji,el,tl,nl,rl=!1,ol=[],al=null,il=null,ll=null,ul=new Map,sl=new Map,cl=[],fl="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 dl(e,t,n,r,o){return{blockedOn:e,domEventName:t,eventSystemFlags:16|n,nativeEvent:o,targetContainers:[r]}}function pl(e,t){switch(e){case"focusin":case"focusout":al=null;break;case"dragenter":case"dragleave":il=null;break;case"mouseover":case"mouseout":ll=null;break;case"pointerover":case"pointerout":ul.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":sl.delete(t.pointerId)}}function ml(e,t,n,r,o,a){return null===e||e.nativeEvent!==a?(e=dl(t,n,r,o,a),null!==t&&null!==(t=Xs(t))&&el(t),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==o&&-1===t.indexOf(o)&&t.push(o),e)}function hl(e){var t=Qs(e.target);if(null!==t){var n=Xi(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=Ki(n)))return e.blockedOn=t,void nl(e.lanePriority,function(){ia.unstable_runWithPriority(e.priority,function(){tl(n)})})}else if(3===t&&n.stateNode.hydrate)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function yl(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Kl(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=Xs(n))&&el(t),e.blockedOn=n,!1;t.shift()}return!0}function gl(e,t,n){yl(e)&&n.delete(t)}function vl(){for(rl=!1;0<ol.length;){var e=ol[0];if(null!==e.blockedOn){null!==(e=Xs(e.blockedOn))&&Ji(e);break}for(var t=e.targetContainers;0<t.length;){var n=Kl(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n){e.blockedOn=n;break}t.shift()}null===e.blockedOn&&ol.shift()}null!==al&&yl(al)&&(al=null),null!==il&&yl(il)&&(il=null),null!==ll&&yl(ll)&&(ll=null),ul.forEach(gl),sl.forEach(gl)}function bl(e,t){e.blockedOn===t&&(e.blockedOn=null,rl||(rl=!0,ia.unstable_scheduleCallback(ia.unstable_NormalPriority,vl)))}function El(e){function t(t){return bl(t,e)}if(0<ol.length){bl(ol[0],e);for(var n=1;n<ol.length;n++){var r=ol[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==al&&bl(al,e),null!==il&&bl(il,e),null!==ll&&bl(ll,e),ul.forEach(t),sl.forEach(t),n=0;n<cl.length;n++)(r=cl[n]).blockedOn===e&&(r.blockedOn=null);for(;0<cl.length&&null===(n=cl[0]).blockedOn;)hl(n),null===n.blockedOn&&cl.shift()}function wl(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var _l={animationend:wl("Animation","AnimationEnd"),animationiteration:wl("Animation","AnimationIteration"),animationstart:wl("Animation","AnimationStart"),transitionend:wl("Transition","TransitionEnd")},Sl={},Cl={};function Ol(e){if(Sl[e])return Sl[e];if(!_l[e])return e;var t,n=_l[e];for(t in n)if(n.hasOwnProperty(t)&&t in Cl)return Sl[e]=n[t];return e}da&&(Cl=document.createElement("div").style,"AnimationEvent"in window||(delete _l.animationend.animation,delete _l.animationiteration.animation,delete _l.animationstart.animation),"TransitionEvent"in window||delete _l.transitionend.transition);var kl=Ol("animationend"),Tl=Ol("animationiteration"),Pl=Ol("animationstart"),Nl=Ol("transitionend"),xl=new Map,Al=new Map,Ll=["abort","abort",kl,"animationEnd",Tl,"animationIteration",Pl,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",Nl,"transitionEnd","waiting","waiting"];function Rl(e,t){for(var n=0;n<e.length;n+=2){var r=e[n],o=e[n+1];o="on"+(o[0].toUpperCase()+o.slice(1)),Al.set(r,t),xl.set(r,o),ca(o,[r])}}(0,ia.unstable_now)();var Il=8;function Ml(e){if(0!=(1&e))return Il=15,1;if(0!=(2&e))return Il=14,2;if(0!=(4&e))return Il=13,4;var t=24&e;return 0!==t?(Il=12,t):0!=(32&e)?(Il=11,32):0!=(t=192&e)?(Il=10,t):0!=(256&e)?(Il=9,256):0!=(t=3584&e)?(Il=8,t):0!=(4096&e)?(Il=7,4096):0!=(t=4186112&e)?(Il=6,t):0!=(t=62914560&e)?(Il=5,t):67108864&e?(Il=4,67108864):0!=(134217728&e)?(Il=3,134217728):0!=(t=805306368&e)?(Il=2,t):0!=(1073741824&e)?(Il=1,1073741824):(Il=8,e)}function Dl(e,t){var n=e.pendingLanes;if(0===n)return Il=0;var r=0,o=0,a=e.expiredLanes,i=e.suspendedLanes,l=e.pingedLanes;if(0!==a)r=a,o=Il=15;else if(0!=(a=134217727&n)){var u=a&~i;0!==u?(r=Ml(u),o=Il):0!=(l&=a)&&(r=Ml(l),o=Il)}else 0!=(a=n&~i)?(r=Ml(a),o=Il):0!==l&&(r=Ml(l),o=Il);if(0===r)return 0;if(r=n&((0>(r=31-Vl(r))?0:1<<r)<<1)-1,0!==t&&t!==r&&0==(t&i)){if(Ml(t),o<=Il)return t;Il=o}if(0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)r|=e[n=31-Vl(t)],t&=~(o=1<<n);return r}function Fl(e){return 0!=(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function jl(e){return e&-e}function Ul(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function zl(e,t,n){e.pendingLanes|=t;var r=t-1;e.suspendedLanes&=r,e.pingedLanes&=r,(e=e.eventTimes)[t=31-Vl(t)]=n}var Vl=Math.clz32?Math.clz32:function(e){return 0===e?32:31-(Gl(e)/Wl|0)|0},Gl=Math.log,Wl=Math.LN2,Bl=ia.unstable_UserBlockingPriority,Hl=ia.unstable_runWithPriority,$l=!0;function ql(e,t,n,r){Di||Ii();var o=Xl,a=Di;Di=!0;try{Ri(o,e,t,n,r)}finally{(Di=a)||ji()}}function Ql(e,t,n,r){Hl(Bl,Xl.bind(null,e,t,n,r))}function Xl(e,t,n,r){var o;if($l)if((o=0==(4&t))&&0<ol.length&&-1<fl.indexOf(e))e=dl(null,e,t,n,r),ol.push(e);else{var a=Kl(e,t,n,r);if(null===a)o&&pl(e,r);else{if(o){if(-1<fl.indexOf(e))return e=dl(a,e,t,n,r),void ol.push(e);if(function(e,t,n,r,o){switch(t){case"focusin":return al=ml(al,e,t,n,r,o),!0;case"dragenter":return il=ml(il,e,t,n,r,o),!0;case"mouseover":return ll=ml(ll,e,t,n,r,o),!0;case"pointerover":var a=o.pointerId;return ul.set(a,ml(ul.get(a)||null,e,t,n,r,o)),!0;case"gotpointercapture":return sl.set(a=o.pointerId,ml(sl.get(a)||null,e,t,n,r,o)),!0}return!1}(a,e,t,n,r))return;pl(e,r)}Ts(e,t,r,null,n)}}}function Kl(e,t,n,r){var o=Oi(r);if(null!==(o=Qs(o))){var a=Xi(o);if(null===a)o=null;else{var i=a.tag;if(13===i){if(null!==(o=Ki(a)))return o;o=null}else if(3===i){if(a.stateNode.hydrate)return 3===a.tag?a.stateNode.containerInfo:null;o=null}else a!==o&&(o=null)}}return Ts(e,t,r,o,n),null}var Yl=null,Zl=null,Jl=null;function eu(){if(Jl)return Jl;var e,t,n=Zl,r=n.length,o="value"in Yl?Yl.value:Yl.textContent,a=o.length;for(e=0;e<r&&n[e]===o[e];e++);var i=r-e;for(t=1;t<=i&&n[r-t]===o[a-t];t++);return Jl=o.slice(e,1<t?1-t:void 0)}function tu(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 nu(){return!0}function ru(){return!1}function ou(e){function t(t,n,r,o,a){for(var i in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=o,this.target=a,this.currentTarget=null,e)e.hasOwnProperty(i)&&(this[i]=(t=e[i])?t(o):o[i]);return this.isDefaultPrevented=(null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue)?nu:ru,this.isPropagationStopped=ru,this}return Bt(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=nu)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=nu)},persist:function(){},isPersistent:nu}),t}var au,iu,lu,uu={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},su=ou(uu),cu=Bt({},uu,{view:0,detail:0}),fu=ou(cu),du=Bt({},cu,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Su,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!==lu&&(lu&&"mousemove"===e.type?(au=e.screenX-lu.screenX,iu=e.screenY-lu.screenY):iu=au=0,lu=e),au)},movementY:function(e){return"movementY"in e?e.movementY:iu}}),pu=ou(du),mu=ou(Bt({},du,{dataTransfer:0})),hu=ou(Bt({},cu,{relatedTarget:0})),yu=ou(Bt({},uu,{animationName:0,elapsedTime:0,pseudoElement:0})),gu=ou(Bt({},uu,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}})),vu=ou(Bt({},uu,{data:0})),bu={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Eu={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"},wu={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function _u(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=wu[e])&&!!t[e]}function Su(){return _u}var Cu=ou(Bt({},cu,{key:function(e){if(e.key){var t=bu[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=tu(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?Eu[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Su,charCode:function(e){return"keypress"===e.type?tu(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?tu(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}})),Ou=ou(Bt({},du,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),ku=ou(Bt({},cu,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Su})),Tu=ou(Bt({},uu,{propertyName:0,elapsedTime:0,pseudoElement:0})),Pu=ou(Bt({},du,{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})),Nu=[9,13,27,32],xu=da&&"CompositionEvent"in window,Au=null;da&&"documentMode"in document&&(Au=document.documentMode);var Lu=da&&"TextEvent"in window&&!Au,Ru=da&&(!xu||Au&&8<Au&&11>=Au),Iu=String.fromCharCode(32),Mu=!1;function Du(e,t){switch(e){case"keyup":return-1!==Nu.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Fu(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var ju=!1,Uu={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 zu(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Uu[e.type]:"textarea"===t}function Vu(e,t,n,r){xi(r),0<(t=Ns(t,"onChange")).length&&(n=new su("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Gu=null,Wu=null;function Bu(e){ws(e,0)}function Hu(e){if(Za(Ks(e)))return e}function $u(e,t){if("change"===e)return t}var qu=!1;if(da){var Qu;if(da){var Xu="oninput"in document;if(!Xu){var Ku=document.createElement("div");Ku.setAttribute("oninput","return;"),Xu="function"==typeof Ku.oninput}Qu=Xu}else Qu=!1;qu=Qu&&(!document.documentMode||9<document.documentMode)}function Yu(){Gu&&(Gu.detachEvent("onpropertychange",Zu),Wu=Gu=null)}function Zu(e){if("value"===e.propertyName&&Hu(Wu)){var t=[];if(Vu(t,Wu,e,Oi(e)),e=Bu,Di)e(t);else{Di=!0;try{Li(e,t)}finally{Di=!1,ji()}}}}function Ju(e,t,n){"focusin"===e?(Yu(),Wu=n,(Gu=t).attachEvent("onpropertychange",Zu)):"focusout"===e&&Yu()}function es(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Hu(Wu)}function ts(e,t){if("click"===e)return Hu(t)}function ns(e,t){if("input"===e||"change"===e)return Hu(t)}var rs="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},os=Object.prototype.hasOwnProperty;function as(e,t){if(rs(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++)if(!os.call(t,n[r])||!rs(e[n[r]],t[n[r]]))return!1;return!0}function is(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function ls(e,t){var n,r=is(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=is(r)}}function us(){for(var e=window,t=Ja();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=Ja((e=t.contentWindow).document)}return t}function ss(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)}var cs=da&&"documentMode"in document&&11>=document.documentMode,fs=null,ds=null,ps=null,ms=!1;function hs(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;ms||null==fs||fs!==Ja(r)||(r="selectionStart"in(r=fs)&&ss(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},ps&&as(ps,r)||(ps=r,0<(r=Ns(ds,"onSelect")).length&&(t=new su("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=fs)))}Rl("cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focusin focus focusout blur input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0),Rl("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1),Rl(Ll,2);for(var ys="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),gs=0;gs<ys.length;gs++)Al.set(ys[gs],0);fa("onMouseEnter",["mouseout","mouseover"]),fa("onMouseLeave",["mouseout","mouseover"]),fa("onPointerEnter",["pointerout","pointerover"]),fa("onPointerLeave",["pointerout","pointerover"]),ca("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),ca("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),ca("onBeforeInput",["compositionend","keypress","textInput","paste"]),ca("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),ca("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),ca("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var vs="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),bs=new Set("cancel close invalid load scroll toggle".split(" ").concat(vs));function Es(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,o,a,i,l,u){if(Qi.apply(this,arguments),Wi){if(!Wi)throw Error(la(198));var s=Bi;Wi=!1,Bi=null,Hi||(Hi=!0,$i=s)}}(r,t,void 0,e),e.currentTarget=null}function ws(e,t){t=0!=(4&t);for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var a=void 0;if(t)for(var i=r.length-1;0<=i;i--){var l=r[i],u=l.instance,s=l.currentTarget;if(l=l.listener,u!==a&&o.isPropagationStopped())break e;Es(o,l,s),a=u}else for(i=0;i<r.length;i++){if(u=(l=r[i]).instance,s=l.currentTarget,l=l.listener,u!==a&&o.isPropagationStopped())break e;Es(o,l,s),a=u}}}if(Hi)throw e=$i,Hi=!1,$i=null,e}function _s(e,t){var n=Zs(t),r=e+"__bubble";n.has(r)||(ks(t,e,2,!1),n.add(r))}var Ss="_reactListening"+Math.random().toString(36).slice(2);function Cs(e){e[Ss]||(e[Ss]=!0,ua.forEach(function(t){bs.has(t)||Os(t,!1,e,null),Os(t,!0,e,null)}))}function Os(e,t,n,r){var o=4<arguments.length&&void 0!==arguments[4]?arguments[4]:0,a=n;if("selectionchange"===e&&9!==n.nodeType&&(a=n.ownerDocument),null!==r&&!t&&bs.has(e)){if("scroll"!==e)return;o|=2,a=r}var i=Zs(a),l=e+"__"+(t?"capture":"bubble");i.has(l)||(t&&(o|=4),ks(a,e,o,t),i.add(l))}function ks(e,t,n,r){var o=Al.get(t);switch(void 0===o?2:o){case 0:o=ql;break;case 1:o=Ql;break;default:o=Xl}n=o.bind(null,t,n,e),o=void 0,!zi||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(o=!0),e.addEventListener(t,n,r?void 0===o||{capture:!0,passive:o}:void 0!==o&&{passive:o})}function Ts(e,t,n,r,o){var a=r;if(0==(1&t)&&0==(2&t)&&null!==r)e:for(;;){if(null===r)return;var i=r.tag;if(3===i||4===i){var l=r.stateNode.containerInfo;if(l===o||8===l.nodeType&&l.parentNode===o)break;if(4===i)for(i=r.return;null!==i;){var u=i.tag;if((3===u||4===u)&&((u=i.stateNode.containerInfo)===o||8===u.nodeType&&u.parentNode===o))return;i=i.return}for(;null!==l;){if(null===(i=Qs(l)))return;if(5===(u=i.tag)||6===u){r=a=i;continue e}l=l.parentNode}}r=r.return}!function(e,t,n){if(Fi)return e();Fi=!0;try{Mi(e,void 0,void 0)}finally{Fi=!1,ji()}}(function(){var r=a,o=Oi(n),i=[];e:{var l=xl.get(e);if(void 0!==l){var u=su,s=e;switch(e){case"keypress":if(0===tu(n))break e;case"keydown":case"keyup":u=Cu;break;case"focusin":s="focus",u=hu;break;case"focusout":s="blur",u=hu;break;case"beforeblur":case"afterblur":u=hu;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=pu;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":u=mu;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":u=ku;break;case kl:case Tl:case Pl:u=yu;break;case Nl:u=Tu;break;case"scroll":u=fu;break;case"wheel":u=Pu;break;case"copy":case"cut":case"paste":u=gu;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":u=Ou}var c=0!=(4&t),f=!c&&"scroll"===e,d=c?null!==l?l+"Capture":null:l;c=[];for(var p,m=r;null!==m;){var h=(p=m).stateNode;if(5===p.tag&&null!==h&&(p=h,null!==d&&null!=(h=Ui(m,d))&&c.push(Ps(m,h,p))),f)break;m=m.return}0<c.length&&(l=new u(l,s,null,n,o),i.push({event:l,listeners:c}))}}if(0==(7&t)){if(u="mouseout"===e||"pointerout"===e,(!(l="mouseover"===e||"pointerover"===e)||0!=(16&t)||!(s=n.relatedTarget||n.fromElement)||!Qs(s)&&!s[$s])&&(u||l)&&(l=o.window===o?o:(l=o.ownerDocument)?l.defaultView||l.parentWindow:window,u?(u=r,null!==(s=(s=n.relatedTarget||n.toElement)?Qs(s):null)&&(s!==(f=Xi(s))||5!==s.tag&&6!==s.tag)&&(s=null)):(u=null,s=r),u!==s)){if(c=pu,h="onMouseLeave",d="onMouseEnter",m="mouse","pointerout"!==e&&"pointerover"!==e||(c=Ou,h="onPointerLeave",d="onPointerEnter",m="pointer"),f=null==u?l:Ks(u),p=null==s?l:Ks(s),(l=new c(h,m+"leave",u,n,o)).target=f,l.relatedTarget=p,h=null,Qs(o)===r&&((c=new c(d,m+"enter",s,n,o)).target=p,c.relatedTarget=f,h=c),f=h,u&&s)e:{for(d=s,m=0,p=c=u;p;p=xs(p))m++;for(p=0,h=d;h;h=xs(h))p++;for(;0<m-p;)c=xs(c),m--;for(;0<p-m;)d=xs(d),p--;for(;m--;){if(c===d||null!==d&&c===d.alternate)break e;c=xs(c),d=xs(d)}c=null}else c=null;null!==u&&As(i,l,u,c,!1),null!==s&&null!==f&&As(i,f,s,c,!0)}if("select"===(u=(l=r?Ks(r):window).nodeName&&l.nodeName.toLowerCase())||"input"===u&&"file"===l.type)var y=$u;else if(zu(l))if(qu)y=ns;else{y=es;var g=Ju}else(u=l.nodeName)&&"input"===u.toLowerCase()&&("checkbox"===l.type||"radio"===l.type)&&(y=ts);switch(y&&(y=y(e,r))?Vu(i,y,n,o):(g&&g(e,l,r),"focusout"===e&&(g=l._wrapperState)&&g.controlled&&"number"===l.type&&ai(l,"number",l.value)),g=r?Ks(r):window,e){case"focusin":(zu(g)||"true"===g.contentEditable)&&(fs=g,ds=r,ps=null);break;case"focusout":ps=ds=fs=null;break;case"mousedown":ms=!0;break;case"contextmenu":case"mouseup":case"dragend":ms=!1,hs(i,n,o);break;case"selectionchange":if(cs)break;case"keydown":case"keyup":hs(i,n,o)}var v;if(xu)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 ju?Du(e,n)&&(b="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(b="onCompositionStart");b&&(Ru&&"ko"!==n.locale&&(ju||"onCompositionStart"!==b?"onCompositionEnd"===b&&ju&&(v=eu()):(Zl="value"in(Yl=o)?Yl.value:Yl.textContent,ju=!0)),0<(g=Ns(r,b)).length&&(b=new vu(b,e,null,n,o),i.push({event:b,listeners:g}),(v||null!==(v=Fu(n)))&&(b.data=v))),(v=Lu?function(e,t){switch(e){case"compositionend":return Fu(t);case"keypress":return 32!==t.which?null:(Mu=!0,Iu);case"textInput":return(e=t.data)===Iu&&Mu?null:e;default:return null}}(e,n):function(e,t){if(ju)return"compositionend"===e||!xu&&Du(e,t)?(e=eu(),Jl=Zl=Yl=null,ju=!1,e):null;switch(e){case"paste":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 Ru&&"ko"!==t.locale?null:t.data;default:return null}}(e,n))&&0<(r=Ns(r,"onBeforeInput")).length&&(o=new vu("onBeforeInput","beforeinput",null,n,o),i.push({event:o,listeners:r}),o.data=v)}ws(i,t)})}function Ps(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Ns(e,t){for(var n=t+"Capture",r=[];null!==e;){var o=e,a=o.stateNode;5===o.tag&&null!==a&&(o=a,null!=(a=Ui(e,n))&&r.unshift(Ps(e,a,o)),null!=(a=Ui(e,t))&&r.push(Ps(e,a,o))),e=e.return}return r}function xs(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function As(e,t,n,r,o){for(var a=t._reactName,i=[];null!==n&&n!==r;){var l=n,u=l.alternate,s=l.stateNode;if(null!==u&&u===r)break;5===l.tag&&null!==s&&(l=s,o?null!=(u=Ui(n,a))&&i.unshift(Ps(n,u,l)):o||null!=(u=Ui(n,a))&&i.push(Ps(n,u,l))),n=n.return}0!==i.length&&e.push({event:t,listeners:i})}function Ls(){}var Rs=null,Is=null;function Ms(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function Ds(e,t){return"textarea"===e||"option"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var Fs="function"==typeof setTimeout?setTimeout:void 0,js="function"==typeof clearTimeout?clearTimeout:void 0;function Us(e){(1===e.nodeType||9===e.nodeType&&null!=(e=e.body))&&(e.textContent="")}function zs(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break}return e}function Vs(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 Gs=0,Ws=Math.random().toString(36).slice(2),Bs="__reactFiber$"+Ws,Hs="__reactProps$"+Ws,$s="__reactContainer$"+Ws,qs="__reactEvents$"+Ws;function Qs(e){var t=e[Bs];if(t)return t;for(var n=e.parentNode;n;){if(t=n[$s]||n[Bs]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=Vs(e);null!==e;){if(n=e[Bs])return n;e=Vs(e)}return t}n=(e=n).parentNode}return null}function Xs(e){return!(e=e[Bs]||e[$s])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function Ks(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(la(33))}function Ys(e){return e[Hs]||null}function Zs(e){var t=e[qs];return void 0===t&&(t=e[qs]=new Set),t}var Js=[],ec=-1;function tc(e){return{current:e}}function nc(e){0>ec||(e.current=Js[ec],Js[ec]=null,ec--)}function rc(e,t){ec++,Js[ec]=e.current,e.current=t}var oc={},ac=tc(oc),ic=tc(!1),lc=oc;function uc(e,t){var n=e.type.contextTypes;if(!n)return oc;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,a={};for(o in n)a[o]=t[o];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=a),a}function sc(e){return null!=e.childContextTypes}function cc(){nc(ic),nc(ac)}function fc(e,t,n){if(ac.current!==oc)throw Error(la(168));rc(ac,t),rc(ic,n)}function dc(e,t,n){var r=e.stateNode;if(e=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var o in r=r.getChildContext())if(!(o in e))throw Error(la(108,Qa(t)||"Unknown",o));return Bt({},n,r)}function pc(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||oc,lc=ac.current,rc(ac,e),rc(ic,ic.current),!0}function mc(e,t,n){var r=e.stateNode;if(!r)throw Error(la(169));n?(e=dc(e,t,lc),r.__reactInternalMemoizedMergedChildContext=e,nc(ic),nc(ac),rc(ac,e)):nc(ic),rc(ic,n)}var hc=null,yc=null,gc=ia.unstable_runWithPriority,vc=ia.unstable_scheduleCallback,bc=ia.unstable_cancelCallback,Ec=ia.unstable_shouldYield,wc=ia.unstable_requestPaint,_c=ia.unstable_now,Sc=ia.unstable_getCurrentPriorityLevel,Cc=ia.unstable_ImmediatePriority,Oc=ia.unstable_UserBlockingPriority,kc=ia.unstable_NormalPriority,Tc=ia.unstable_LowPriority,Pc=ia.unstable_IdlePriority,Nc={},xc=void 0!==wc?wc:function(){},Ac=null,Lc=null,Rc=!1,Ic=_c(),Mc=1e4>Ic?_c:function(){return _c()-Ic};function Dc(){switch(Sc()){case Cc:return 99;case Oc:return 98;case kc:return 97;case Tc:return 96;case Pc:return 95;default:throw Error(la(332))}}function Fc(e){switch(e){case 99:return Cc;case 98:return Oc;case 97:return kc;case 96:return Tc;case 95:return Pc;default:throw Error(la(332))}}function jc(e,t){return e=Fc(e),gc(e,t)}function Uc(e,t,n){return e=Fc(e),vc(e,t,n)}function zc(){if(null!==Lc){var e=Lc;Lc=null,bc(e)}Vc()}function Vc(){if(!Rc&&null!==Ac){Rc=!0;var e=0;try{var t=Ac;jc(99,function(){for(;e<t.length;e++){var n=t[e];do{n=n(!0)}while(null!==n)}}),Ac=null}catch(t){throw null!==Ac&&(Ac=Ac.slice(e+1)),vc(Cc,zc),t}finally{Rc=!1}}}var Gc=_a.ReactCurrentBatchConfig;function Wc(e,t){if(e&&e.defaultProps){for(var n in t=Bt({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var Bc=tc(null),Hc=null,$c=null,qc=null;function Qc(){qc=$c=Hc=null}function Xc(e){var t=Bc.current;nc(Bc),e.type._context._currentValue=t}function Kc(e,t){for(;null!==e;){var n=e.alternate;if((e.childLanes&t)===t){if(null===n||(n.childLanes&t)===t)break;n.childLanes|=t}else e.childLanes|=t,null!==n&&(n.childLanes|=t);e=e.return}}function Yc(e,t){Hc=e,qc=$c=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!=(e.lanes&t)&&(Nd=!0),e.firstContext=null)}function Zc(e,t){if(qc!==e&&!1!==t&&0!==t)if("number"==typeof t&&1073741823!==t||(qc=e,t=1073741823),t={context:e,observedBits:t,next:null},null===$c){if(null===Hc)throw Error(la(308));$c=t,Hc.dependencies={lanes:0,firstContext:t,responders:null}}else $c=$c.next=t;return e._currentValue}var Jc=!1;function ef(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null},effects:null}}function tf(e,t){t.updateQueue===(e=e.updateQueue)&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function nf(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function rf(e,t){if(null!==(e=e.updateQueue)){var n=(e=e.shared).pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}}function of(e,t){var n=e.updateQueue,r=e.alternate;if(null===r||n!==(r=r.updateQueue))null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t;else{var o=null,a=null;if(null!==(n=n.firstBaseUpdate)){do{var i={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===a?o=a=i:a=a.next=i,n=n.next}while(null!==n);null===a?o=a=t:a=a.next=t}else o=a=t;e.updateQueue=n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:a,shared:r.shared,effects:r.effects}}}function af(e,t,n,r){var o=e.updateQueue;Jc=!1;var a=o.firstBaseUpdate,i=o.lastBaseUpdate,l=o.shared.pending;if(null!==l){o.shared.pending=null;var u=l,s=u.next;u.next=null,null===i?a=s:i.next=s,i=u;var c=e.alternate;if(null!==c){var f=(c=c.updateQueue).lastBaseUpdate;f!==i&&(null===f?c.firstBaseUpdate=s:f.next=s,c.lastBaseUpdate=u)}}if(null!==a){for(f=o.baseState,i=0,c=s=u=null;;){var d=a.eventTime;if((r&(l=a.lane))===l){null!==c&&(c=c.next={eventTime:d,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var p=e,m=a;switch(l=t,d=n,m.tag){case 1:if("function"==typeof(p=m.payload)){f=p.call(d,f,l);break e}f=p;break e;case 3:p.flags=-4097&p.flags|64;case 0:if(null==(l="function"==typeof(p=m.payload)?p.call(d,f,l):p))break e;f=Bt({},f,l);break e;case 2:Jc=!0}}null!==a.callback&&(e.flags|=32,null===(l=o.effects)?o.effects=[a]:l.push(a))}else d={eventTime:d,lane:l,tag:a.tag,payload:a.payload,callback:a.callback,next:null},null===c?(s=c=d,u=f):c=c.next=d,i|=l;if(null===(a=a.next)){if(null===(l=o.shared.pending))break;a=l.next,l.next=null,o.lastBaseUpdate=l,o.shared.pending=null}}null===c&&(u=f),o.baseState=u,o.firstBaseUpdate=s,o.lastBaseUpdate=c,Pp|=i,e.lanes=i,e.memoizedState=f}}function lf(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(null!==o){if(r.callback=null,r=n,"function"!=typeof o)throw Error(la(191,o));o.call(r)}}}var uf=(new $t.Component).refs;function sf(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:Bt({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var cf={isMounted:function(e){return!!(e=e._reactInternals)&&Xi(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Yp(),o=Zp(e),a=nf(r,o);a.payload=t,null!=n&&(a.callback=n),rf(e,a),Jp(e,o,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Yp(),o=Zp(e),a=nf(r,o);a.tag=1,a.payload=t,null!=n&&(a.callback=n),rf(e,a),Jp(e,o,r)},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Yp(),r=Zp(e),o=nf(n,r);o.tag=2,null!=t&&(o.callback=t),rf(e,o),Jp(e,r,n)}};function ff(e,t,n,r,o,a,i){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,a,i):!(t.prototype&&t.prototype.isPureReactComponent&&as(n,r)&&as(o,a))}function df(e,t,n){var r=!1,o=oc,a=t.contextType;return"object"==typeof a&&null!==a?a=Zc(a):(o=sc(t)?lc:ac.current,a=(r=null!=(r=t.contextTypes))?uc(e,o):oc),t=new t(n,a),e.memoizedState=null!=t.state?t.state:null,t.updater=cf,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=a),t}function pf(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&&cf.enqueueReplaceState(t,t.state,null)}function mf(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=uf,ef(e);var a=t.contextType;"object"==typeof a&&null!==a?o.context=Zc(a):(a=sc(t)?lc:ac.current,o.context=uc(e,a)),af(e,n,o,r),o.state=e.memoizedState,"function"==typeof(a=t.getDerivedStateFromProps)&&(sf(e,t,a,n),o.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof o.getSnapshotBeforeUpdate||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||(t=o.state,"function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),t!==o.state&&cf.enqueueReplaceState(o,o.state,null),af(e,n,o,r),o.state=e.memoizedState),"function"==typeof o.componentDidMount&&(e.flags|=4)}var hf=Array.isArray;function yf(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(la(309));var r=n.stateNode}if(!r)throw Error(la(147,e));var o=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===o?t.ref:((t=function(e){var t=r.refs;t===uf&&(t=r.refs={}),null===e?delete t[o]:t[o]=e})._stringRef=o,t)}if("string"!=typeof e)throw Error(la(284));if(!n._owner)throw Error(la(290,e))}return e}function gf(e,t){if("textarea"!==e.type)throw Error(la(31,"[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t))}function vf(e){function t(t,n){if(e){var r=t.lastEffect;null!==r?(r.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n,n.nextEffect=null,n.flags=8}}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;)e.set(null!==t.key?t.key:t.index,t),t=t.sibling;return e}function o(e,t){return(e=Am(e,t)).index=0,e.sibling=null,e}function a(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):n}function i(t){return e&&null===t.alternate&&(t.flags=2),t}function l(e,t,n,r){return null===t||6!==t.tag?((t=Mm(n,e.mode,r)).return=e,t):((t=o(t,n)).return=e,t)}function u(e,t,n,r){return null!==t&&t.elementType===n.type?((r=o(t,n.props)).ref=yf(e,t,n),r.return=e,r):((r=Lm(n.type,n.key,n.props,null,e.mode,r)).ref=yf(e,t,n),r.return=e,r)}function s(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Dm(n,e.mode,r)).return=e,t):((t=o(t,n.children||[])).return=e,t)}function c(e,t,n,r,a){return null===t||7!==t.tag?((t=Rm(n,e.mode,r,a)).return=e,t):((t=o(t,n)).return=e,t)}function f(e,t,n){if("string"==typeof t||"number"==typeof t)return(t=Mm(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case Sa:return(n=Lm(t.type,t.key,t.props,null,e.mode,n)).ref=yf(e,null,t),n.return=e,n;case Ca:return(t=Dm(t,e.mode,n)).return=e,t}if(hf(t)||Wa(t))return(t=Rm(t,e.mode,n,null)).return=e,t;gf(e,t)}return null}function d(e,t,n,r){var o=null!==t?t.key:null;if("string"==typeof n||"number"==typeof n)return null!==o?null:l(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case Sa:return n.key===o?n.type===Oa?c(e,t,n.props.children,r,o):u(e,t,n,r):null;case Ca:return n.key===o?s(e,t,n,r):null}if(hf(n)||Wa(n))return null!==o?null:c(e,t,n,r,null);gf(e,n)}return null}function p(e,t,n,r,o){if("string"==typeof r||"number"==typeof r)return l(t,e=e.get(n)||null,""+r,o);if("object"==typeof r&&null!==r){switch(r.$$typeof){case Sa:return e=e.get(null===r.key?n:r.key)||null,r.type===Oa?c(t,e,r.props.children,o,r.key):u(t,e,r,o);case Ca:return s(t,e=e.get(null===r.key?n:r.key)||null,r,o)}if(hf(r)||Wa(r))return c(t,e=e.get(n)||null,r,o,null);gf(t,r)}return null}function m(o,i,l,u){for(var s=null,c=null,m=i,h=i=0,y=null;null!==m&&h<l.length;h++){m.index>h?(y=m,m=null):y=m.sibling;var g=d(o,m,l[h],u);if(null===g){null===m&&(m=y);break}e&&m&&null===g.alternate&&t(o,m),i=a(g,i,h),null===c?s=g:c.sibling=g,c=g,m=y}if(h===l.length)return n(o,m),s;if(null===m){for(;h<l.length;h++)null!==(m=f(o,l[h],u))&&(i=a(m,i,h),null===c?s=m:c.sibling=m,c=m);return s}for(m=r(o,m);h<l.length;h++)null!==(y=p(m,o,h,l[h],u))&&(e&&null!==y.alternate&&m.delete(null===y.key?h:y.key),i=a(y,i,h),null===c?s=y:c.sibling=y,c=y);return e&&m.forEach(function(e){return t(o,e)}),s}function h(o,i,l,u){var s=Wa(l);if("function"!=typeof s)throw Error(la(150));if(null==(l=s.call(l)))throw Error(la(151));for(var c=s=null,m=i,h=i=0,y=null,g=l.next();null!==m&&!g.done;h++,g=l.next()){m.index>h?(y=m,m=null):y=m.sibling;var v=d(o,m,g.value,u);if(null===v){null===m&&(m=y);break}e&&m&&null===v.alternate&&t(o,m),i=a(v,i,h),null===c?s=v:c.sibling=v,c=v,m=y}if(g.done)return n(o,m),s;if(null===m){for(;!g.done;h++,g=l.next())null!==(g=f(o,g.value,u))&&(i=a(g,i,h),null===c?s=g:c.sibling=g,c=g);return s}for(m=r(o,m);!g.done;h++,g=l.next())null!==(g=p(m,o,h,g.value,u))&&(e&&null!==g.alternate&&m.delete(null===g.key?h:g.key),i=a(g,i,h),null===c?s=g:c.sibling=g,c=g);return e&&m.forEach(function(e){return t(o,e)}),s}return function(e,r,a,l){var u="object"==typeof a&&null!==a&&a.type===Oa&&null===a.key;u&&(a=a.props.children);var s="object"==typeof a&&null!==a;if(s)switch(a.$$typeof){case Sa:e:{for(s=a.key,u=r;null!==u;){if(u.key===s){switch(u.tag){case 7:if(a.type===Oa){n(e,u.sibling),(r=o(u,a.props.children)).return=e,e=r;break e}break;default:if(u.elementType===a.type){n(e,u.sibling),(r=o(u,a.props)).ref=yf(e,u,a),r.return=e,e=r;break e}}n(e,u);break}t(e,u),u=u.sibling}a.type===Oa?((r=Rm(a.props.children,e.mode,l,a.key)).return=e,e=r):((l=Lm(a.type,a.key,a.props,null,e.mode,l)).ref=yf(e,r,a),l.return=e,e=l)}return i(e);case Ca:e:{for(u=a.key;null!==r;){if(r.key===u){if(4===r.tag&&r.stateNode.containerInfo===a.containerInfo&&r.stateNode.implementation===a.implementation){n(e,r.sibling),(r=o(r,a.children||[])).return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}(r=Dm(a,e.mode,l)).return=e,e=r}return i(e)}if("string"==typeof a||"number"==typeof a)return a=""+a,null!==r&&6===r.tag?(n(e,r.sibling),(r=o(r,a)).return=e,e=r):(n(e,r),(r=Mm(a,e.mode,l)).return=e,e=r),i(e);if(hf(a))return m(e,r,a,l);if(Wa(a))return h(e,r,a,l);if(s&&gf(e,a),void 0===a&&!u)switch(e.tag){case 1:case 22:case 0:case 11:case 15:throw Error(la(152,Qa(e.type)||"Component"))}return n(e,r)}}var bf=vf(!0),Ef=vf(!1),wf={},_f=tc(wf),Sf=tc(wf),Cf=tc(wf);function Of(e){if(e===wf)throw Error(la(174));return e}function kf(e,t){switch(rc(Cf,t),rc(Sf,e),rc(_f,wf),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:mi(null,"");break;default:t=mi(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}nc(_f),rc(_f,t)}function Tf(){nc(_f),nc(Sf),nc(Cf)}function Pf(e){Of(Cf.current);var t=Of(_f.current),n=mi(t,e.type);t!==n&&(rc(Sf,e),rc(_f,n))}function Nf(e){Sf.current===e&&(nc(_f),nc(Sf))}var xf=tc(0);function Af(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!=(64&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 Lf=null,Rf=null,If=!1;function Mf(e,t){var n=Nm(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=t,n.return=e,n.flags=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function Df(e,t){switch(e.tag){case 5:return null!==(t=1!==t.nodeType||e.type.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,!0);case 13:default:return!1}}function Ff(e){if(If){var t=Rf;if(t){var n=t;if(!Df(e,t)){if(!(t=zs(n.nextSibling))||!Df(e,t))return e.flags=-1025&e.flags|2,If=!1,void(Lf=e);Mf(Lf,n)}Lf=e,Rf=zs(t.firstChild)}else e.flags=-1025&e.flags|2,If=!1,Lf=e}}function jf(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;Lf=e}function Uf(e){if(e!==Lf)return!1;if(!If)return jf(e),If=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!Ds(t,e.memoizedProps))for(t=Rf;t;)Mf(e,t),t=zs(t.nextSibling);if(jf(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(la(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){Rf=zs(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}Rf=null}}else Rf=Lf?zs(e.stateNode.nextSibling):null;return!0}function zf(){Rf=Lf=null,If=!1}var Vf=[];function Gf(){for(var e=0;e<Vf.length;e++)Vf[e]._workInProgressVersionPrimary=null;Vf.length=0}var Wf=_a.ReactCurrentDispatcher,Bf=_a.ReactCurrentBatchConfig,Hf=0,$f=null,qf=null,Qf=null,Xf=!1,Kf=!1;function Yf(){throw Error(la(321))}function Zf(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!rs(e[n],t[n]))return!1;return!0}function Jf(e,t,n,r,o,a){if(Hf=a,$f=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Wf.current=null===e||null===e.memoizedState?Od:kd,e=n(r,o),Kf){a=0;do{if(Kf=!1,!(25>a))throw Error(la(301));a+=1,Qf=qf=null,t.updateQueue=null,Wf.current=Td,e=n(r,o)}while(Kf)}if(Wf.current=Cd,t=null!==qf&&null!==qf.next,Hf=0,Qf=qf=$f=null,Xf=!1,t)throw Error(la(300));return e}function ed(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===Qf?$f.memoizedState=Qf=e:Qf=Qf.next=e,Qf}function td(){if(null===qf){var e=$f.alternate;e=null!==e?e.memoizedState:null}else e=qf.next;var t=null===Qf?$f.memoizedState:Qf.next;if(null!==t)Qf=t,qf=e;else{if(null===e)throw Error(la(310));e={memoizedState:(qf=e).memoizedState,baseState:qf.baseState,baseQueue:qf.baseQueue,queue:qf.queue,next:null},null===Qf?$f.memoizedState=Qf=e:Qf=Qf.next=e}return Qf}function nd(e,t){return"function"==typeof t?t(e):t}function rd(e){var t=td(),n=t.queue;if(null===n)throw Error(la(311));n.lastRenderedReducer=e;var r=qf,o=r.baseQueue,a=n.pending;if(null!==a){if(null!==o){var i=o.next;o.next=a.next,a.next=i}r.baseQueue=o=a,n.pending=null}if(null!==o){r=r.baseState;var l=i=a=null,u=o=o.next;do{var s=u.lane;if((Hf&s)===s)null!==l&&(l=l.next={lane:0,action:u.action,eagerReducer:u.eagerReducer,eagerState:u.eagerState,next:null}),r=u.eagerReducer===e?u.eagerState:e(r,u.action);else{var c={lane:s,action:u.action,eagerReducer:u.eagerReducer,eagerState:u.eagerState,next:null};null===l?(i=l=c,a=r):l=l.next=c,$f.lanes|=s,Pp|=s}u=u.next}while(null!==u&&u!==o);null===l?a=r:l.next=i,rs(r,t.memoizedState)||(Nd=!0),t.memoizedState=r,t.baseState=a,t.baseQueue=l,n.lastRenderedState=r}return[t.memoizedState,n.dispatch]}function od(e){var t=td(),n=t.queue;if(null===n)throw Error(la(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,a=t.memoizedState;if(null!==o){n.pending=null;var i=o=o.next;do{a=e(a,i.action),i=i.next}while(i!==o);rs(a,t.memoizedState)||(Nd=!0),t.memoizedState=a,null===t.baseQueue&&(t.baseState=a),n.lastRenderedState=a}return[a,r]}function ad(e,t,n){var r=t._getVersion;r=r(t._source);var o=t._workInProgressVersionPrimary;if(null!==o?e=o===r:(e=(Hf&(e=e.mutableReadLanes))===e)&&(t._workInProgressVersionPrimary=r,Vf.push(t)),e)return n(t._source);throw Vf.push(t),Error(la(350))}function id(e,t,n,r){var o=Ep;if(null===o)throw Error(la(349));var a=t._getVersion,i=a(t._source),l=Wf.current,u=l.useState(function(){return ad(o,t,n)}),s=u[1],c=u[0];u=Qf;var f=e.memoizedState,d=f.refs,p=d.getSnapshot,m=f.source;f=f.subscribe;var h=$f;return e.memoizedState={refs:d,source:t,subscribe:r},l.useEffect(function(){d.getSnapshot=n,d.setSnapshot=s;var e=a(t._source);if(!rs(i,e)){e=n(t._source),rs(c,e)||(s(e),e=Zp(h),o.mutableReadLanes|=e&o.pendingLanes),o.entangledLanes|=e=o.mutableReadLanes;for(var r=o.entanglements,l=e;0<l;){var u=31-Vl(l),f=1<<u;r[u]|=e,l&=~f}}},[n,t,r]),l.useEffect(function(){return r(t._source,function(){var e=d.getSnapshot,n=d.setSnapshot;try{n(e(t._source));var r=Zp(h);o.mutableReadLanes|=r&o.pendingLanes}catch(e){n(function(){throw e})}})},[t,r]),rs(p,n)&&rs(m,t)&&rs(f,r)||((e={pending:null,dispatch:null,lastRenderedReducer:nd,lastRenderedState:c}).dispatch=s=Sd.bind(null,$f,e),u.queue=e,u.baseQueue=null,c=ad(o,t,n),u.memoizedState=u.baseState=c),c}function ld(e,t,n){return id(td(),e,t,n)}function ud(e){var t=ed();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(e=t.queue={pending:null,dispatch:null,lastRenderedReducer:nd,lastRenderedState:e}).dispatch=Sd.bind(null,$f,e),[t.memoizedState,e]}function sd(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=$f.updateQueue)?($f.updateQueue=t={lastEffect:null},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 cd(e){return ed().memoizedState={current:e}}function fd(){return td().memoizedState}function dd(e,t,n,r){var o=ed();$f.flags|=e,o.memoizedState=sd(1|t,n,void 0,void 0===r?null:r)}function pd(e,t,n,r){var o=td();r=void 0===r?null:r;var a=void 0;if(null!==qf){var i=qf.memoizedState;if(a=i.destroy,null!==r&&Zf(r,i.deps))return void sd(t,n,a,r)}$f.flags|=e,o.memoizedState=sd(1|t,n,a,r)}function md(e,t){return dd(516,4,e,t)}function hd(e,t){return pd(516,4,e,t)}function yd(e,t){return pd(4,2,e,t)}function gd(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 vd(e,t,n){return n=null!=n?n.concat([e]):null,pd(4,2,gd.bind(null,t,e),n)}function bd(){}function Ed(e,t){var n=td();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Zf(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function wd(e,t){var n=td();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Zf(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function _d(e,t){var n=Dc();jc(98>n?98:n,function(){e(!0)}),jc(97<n?97:n,function(){var n=Bf.transition;Bf.transition=1;try{e(!1),t()}finally{Bf.transition=n}})}function Sd(e,t,n){var r=Yp(),o=Zp(e),a={lane:o,action:n,eagerReducer:null,eagerState:null,next:null},i=t.pending;if(null===i?a.next=a:(a.next=i.next,i.next=a),t.pending=a,i=e.alternate,e===$f||null!==i&&i===$f)Kf=Xf=!0;else{if(0===e.lanes&&(null===i||0===i.lanes)&&null!==(i=t.lastRenderedReducer))try{var l=t.lastRenderedState,u=i(l,n);if(a.eagerReducer=i,a.eagerState=u,rs(u,l))return}catch(e){}Jp(e,o,r)}}var Cd={readContext:Zc,useCallback:Yf,useContext:Yf,useEffect:Yf,useImperativeHandle:Yf,useLayoutEffect:Yf,useMemo:Yf,useReducer:Yf,useRef:Yf,useState:Yf,useDebugValue:Yf,useDeferredValue:Yf,useTransition:Yf,useMutableSource:Yf,useOpaqueIdentifier:Yf,unstable_isNewReconciler:!1},Od={readContext:Zc,useCallback:function(e,t){return ed().memoizedState=[e,void 0===t?null:t],e},useContext:Zc,useEffect:md,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,dd(4,2,gd.bind(null,t,e),n)},useLayoutEffect:function(e,t){return dd(4,2,e,t)},useMemo:function(e,t){var n=ed();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=ed();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e=(e=r.queue={pending:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t}).dispatch=Sd.bind(null,$f,e),[r.memoizedState,e]},useRef:cd,useState:ud,useDebugValue:bd,useDeferredValue:function(e){var t=ud(e),n=t[0],r=t[1];return md(function(){var t=Bf.transition;Bf.transition=1;try{r(e)}finally{Bf.transition=t}},[e]),n},useTransition:function(){var e=ud(!1),t=e[0];return cd(e=_d.bind(null,e[1])),[e,t]},useMutableSource:function(e,t,n){var r=ed();return r.memoizedState={refs:{getSnapshot:t,setSnapshot:null},source:e,subscribe:n},id(r,e,t,n)},useOpaqueIdentifier:function(){if(If){var e=!1,t=function(e){return{$$typeof:Da,toString:e,valueOf:e}}(function(){throw e||(e=!0,n("r:"+(Gs++).toString(36))),Error(la(355))}),n=ud(t)[1];return 0==(2&$f.mode)&&($f.flags|=516,sd(5,function(){n("r:"+(Gs++).toString(36))},void 0,null)),t}return ud(t="r:"+(Gs++).toString(36)),t},unstable_isNewReconciler:!1},kd={readContext:Zc,useCallback:Ed,useContext:Zc,useEffect:hd,useImperativeHandle:vd,useLayoutEffect:yd,useMemo:wd,useReducer:rd,useRef:fd,useState:function(){return rd(nd)},useDebugValue:bd,useDeferredValue:function(e){var t=rd(nd),n=t[0],r=t[1];return hd(function(){var t=Bf.transition;Bf.transition=1;try{r(e)}finally{Bf.transition=t}},[e]),n},useTransition:function(){var e=rd(nd)[0];return[fd().current,e]},useMutableSource:ld,useOpaqueIdentifier:function(){return rd(nd)[0]},unstable_isNewReconciler:!1},Td={readContext:Zc,useCallback:Ed,useContext:Zc,useEffect:hd,useImperativeHandle:vd,useLayoutEffect:yd,useMemo:wd,useReducer:od,useRef:fd,useState:function(){return od(nd)},useDebugValue:bd,useDeferredValue:function(e){var t=od(nd),n=t[0],r=t[1];return hd(function(){var t=Bf.transition;Bf.transition=1;try{r(e)}finally{Bf.transition=t}},[e]),n},useTransition:function(){var e=od(nd)[0];return[fd().current,e]},useMutableSource:ld,useOpaqueIdentifier:function(){return od(nd)[0]},unstable_isNewReconciler:!1},Pd=_a.ReactCurrentOwner,Nd=!1;function xd(e,t,n,r){t.child=null===e?Ef(t,null,n,r):bf(t,e.child,n,r)}function Ad(e,t,n,r,o){n=n.render;var a=t.ref;return Yc(t,o),r=Jf(e,t,n,r,a,o),null===e||Nd?(t.flags|=1,xd(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~o,Xd(e,t,o))}function Ld(e,t,n,r,o,a){if(null===e){var i=n.type;return"function"!=typeof i||xm(i)||void 0!==i.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Lm(n.type,null,r,t,t.mode,a)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=i,Rd(e,t,i,r,o,a))}return i=e.child,0==(o&a)&&(n=null!==(n=n.compare)?n:as)(o=i.memoizedProps,r)&&e.ref===t.ref?Xd(e,t,a):(t.flags|=1,(e=Am(i,r)).ref=t.ref,e.return=t,t.child=e)}function Rd(e,t,n,r,o,a){if(null!==e&&as(e.memoizedProps,r)&&e.ref===t.ref){if(Nd=!1,0==(a&o))return t.lanes=e.lanes,Xd(e,t,a);0!=(16384&e.flags)&&(Nd=!0)}return Dd(e,t,n,r,a)}function Id(e,t,n){var r=t.pendingProps,o=r.children,a=null!==e?e.memoizedState:null;if("hidden"===r.mode||"unstable-defer-without-hiding"===r.mode)if(0==(4&t.mode))t.memoizedState={baseLanes:0},lm(0,n);else{if(0==(1073741824&n))return e=null!==a?a.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e},lm(0,e),null;t.memoizedState={baseLanes:0},lm(0,null!==a?a.baseLanes:n)}else null!==a?(r=a.baseLanes|n,t.memoizedState=null):r=n,lm(0,r);return xd(e,t,o,n),t.child}function Md(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=128)}function Dd(e,t,n,r,o){var a=sc(n)?lc:ac.current;return a=uc(t,a),Yc(t,o),n=Jf(e,t,n,r,a,o),null===e||Nd?(t.flags|=1,xd(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~o,Xd(e,t,o))}function Fd(e,t,n,r,o){if(sc(n)){var a=!0;pc(t)}else a=!1;if(Yc(t,o),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),df(t,n,r),mf(t,n,r,o),r=!0;else if(null===e){var i=t.stateNode,l=t.memoizedProps;i.props=l;var u=i.context,s=n.contextType;s="object"==typeof s&&null!==s?Zc(s):uc(t,s=sc(n)?lc:ac.current);var c=n.getDerivedStateFromProps,f="function"==typeof c||"function"==typeof i.getSnapshotBeforeUpdate;f||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(l!==r||u!==s)&&pf(t,i,r,s),Jc=!1;var d=t.memoizedState;i.state=d,af(t,r,i,o),u=t.memoizedState,l!==r||d!==u||ic.current||Jc?("function"==typeof c&&(sf(t,n,c,r),u=t.memoizedState),(l=Jc||ff(t,n,l,r,d,u,s))?(f||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||("function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount()),"function"==typeof i.componentDidMount&&(t.flags|=4)):("function"==typeof i.componentDidMount&&(t.flags|=4),t.memoizedProps=r,t.memoizedState=u),i.props=r,i.state=u,i.context=s,r=l):("function"==typeof i.componentDidMount&&(t.flags|=4),r=!1)}else{i=t.stateNode,tf(e,t),l=t.memoizedProps,s=t.type===t.elementType?l:Wc(t.type,l),i.props=s,f=t.pendingProps,d=i.context,u="object"==typeof(u=n.contextType)&&null!==u?Zc(u):uc(t,u=sc(n)?lc:ac.current);var p=n.getDerivedStateFromProps;(c="function"==typeof p||"function"==typeof i.getSnapshotBeforeUpdate)||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(l!==f||d!==u)&&pf(t,i,r,u),Jc=!1,i.state=d=t.memoizedState,af(t,r,i,o);var m=t.memoizedState;l!==f||d!==m||ic.current||Jc?("function"==typeof p&&(sf(t,n,p,r),m=t.memoizedState),(s=Jc||ff(t,n,s,r,d,m,u))?(c||"function"!=typeof i.UNSAFE_componentWillUpdate&&"function"!=typeof i.componentWillUpdate||("function"==typeof i.componentWillUpdate&&i.componentWillUpdate(r,m,u),"function"==typeof i.UNSAFE_componentWillUpdate&&i.UNSAFE_componentWillUpdate(r,m,u)),"function"==typeof i.componentDidUpdate&&(t.flags|=4),"function"==typeof i.getSnapshotBeforeUpdate&&(t.flags|=256)):("function"!=typeof i.componentDidUpdate||l===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||l===e.memoizedProps&&d===e.memoizedState||(t.flags|=256),t.memoizedProps=r,t.memoizedState=m),i.props=r,i.state=m,i.context=u,r=s):("function"!=typeof i.componentDidUpdate||l===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||l===e.memoizedProps&&d===e.memoizedState||(t.flags|=256),r=!1)}return jd(e,t,n,r,a,o)}function jd(e,t,n,r,o,a){Md(e,t);var i=0!=(64&t.flags);if(!r&&!i)return o&&mc(t,n,!1),Xd(e,t,a);r=t.stateNode,Pd.current=t;var l=i&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&i?(t.child=bf(t,e.child,null,a),t.child=bf(t,null,l,a)):xd(e,t,l,a),t.memoizedState=r.state,o&&mc(t,n,!0),t.child}function Ud(e){var t=e.stateNode;t.pendingContext?fc(0,t.pendingContext,t.pendingContext!==t.context):t.context&&fc(0,t.context,!1),kf(e,t.containerInfo)}var zd,Vd,Gd,Wd={dehydrated:null,retryLane:0};function Bd(e,t,n){var r,o=t.pendingProps,a=xf.current,i=!1;return(r=0!=(64&t.flags))||(r=(null===e||null!==e.memoizedState)&&0!=(2&a)),r?(i=!0,t.flags&=-65):null!==e&&null===e.memoizedState||void 0===o.fallback||!0===o.unstable_avoidThisFallback||(a|=1),rc(xf,1&a),null===e?(void 0!==o.fallback&&Ff(t),e=o.children,a=o.fallback,i?(e=Hd(t,e,a,n),t.child.memoizedState={baseLanes:n},t.memoizedState=Wd,e):"number"==typeof o.unstable_expectedLoadTime?(e=Hd(t,e,a,n),t.child.memoizedState={baseLanes:n},t.memoizedState=Wd,t.lanes=33554432,e):((n=Im({mode:"visible",children:e},t.mode,n,null)).return=t,t.child=n)):i?(o=function(e,t,n,r,o){var a=t.mode,i=e.child;e=i.sibling;var l={mode:"hidden",children:n};return 0==(2&a)&&t.child!==i?((n=t.child).childLanes=0,n.pendingProps=l,null!==(i=n.lastEffect)?(t.firstEffect=n.firstEffect,t.lastEffect=i,i.nextEffect=null):t.firstEffect=t.lastEffect=null):n=Am(i,l),null!==e?r=Am(e,r):(r=Rm(r,a,o,null)).flags|=2,r.return=t,n.return=t,n.sibling=r,t.child=n,r}(e,t,o.children,o.fallback,n),(i=t.child).memoizedState=null===(a=e.child.memoizedState)?{baseLanes:n}:{baseLanes:a.baseLanes|n},i.childLanes=e.childLanes&~n,t.memoizedState=Wd,o):(n=function(e,t,n,r){var o=e.child;return e=o.sibling,n=Am(o,{mode:"visible",children:n}),0==(2&t.mode)&&(n.lanes=r),n.return=t,n.sibling=null,null!==e&&(e.nextEffect=null,e.flags=8,t.firstEffect=t.lastEffect=e),t.child=n}(e,t,o.children,n),t.memoizedState=null,n)}function Hd(e,t,n,r){var o=e.mode,a=e.child;return t={mode:"hidden",children:t},0==(2&o)&&null!==a?(a.childLanes=0,a.pendingProps=t):a=Im(t,o,0,null),n=Rm(n,o,r,null),a.return=e,n.return=e,a.sibling=n,e.child=a,n}function $d(e,t){e.lanes|=t;var n=e.alternate;null!==n&&(n.lanes|=t),Kc(e.return,t)}function qd(e,t,n,r,o,a){var i=e.memoizedState;null===i?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o,lastEffect:a}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=o,i.lastEffect=a)}function Qd(e,t,n){var r=t.pendingProps,o=r.revealOrder,a=r.tail;if(xd(e,t,r.children,n),0!=(2&(r=xf.current)))r=1&r|2,t.flags|=64;else{if(null!==e&&0!=(64&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&$d(e,n);else if(19===e.tag)$d(e,n);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(rc(xf,r),0==(2&t.mode))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;null!==n;)null!==(e=n.alternate)&&null===Af(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),qd(t,!1,o,n,a,t.lastEffect);break;case"backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===Af(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}qd(t,!0,n,null,a,t.lastEffect);break;case"together":qd(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function Xd(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Pp|=t.lanes,0!=(n&t.childLanes)){if(null!==e&&t.child!==e.child)throw Error(la(153));if(null!==t.child){for(n=Am(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)(n=n.sibling=Am(e=e.sibling,e.pendingProps)).return=t;n.sibling=null}return t.child}return null}function Kd(e,t){if(!If)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 Yd(e,t,n){var r=t.pendingProps;switch(t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:return sc(t.type)&&cc(),null;case 3:return Tf(),nc(ic),nc(ac),Gf(),(r=t.stateNode).pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(Uf(t)?t.flags|=4:r.hydrate||(t.flags|=256)),null;case 5:Nf(t);var o=Of(Cf.current);if(n=t.type,null!==e&&null!=t.stateNode)Vd(e,t,n,r),e.ref!==t.ref&&(t.flags|=128);else{if(!r){if(null===t.stateNode)throw Error(la(166));return null}if(e=Of(_f.current),Uf(t)){n=t.type;var a=t.memoizedProps;switch((r=t.stateNode)[Bs]=t,r[Hs]=a,n){case"dialog":_s("cancel",r),_s("close",r);break;case"iframe":case"object":case"embed":_s("load",r);break;case"video":case"audio":for(e=0;e<vs.length;e++)_s(vs[e],r);break;case"source":_s("error",r);break;case"img":case"image":case"link":_s("error",r),_s("load",r);break;case"details":_s("toggle",r);break;case"input":ti(r,a),_s("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!a.multiple},_s("invalid",r);break;case"textarea":si(r,a),_s("invalid",r)}for(var i in Si(n,a),e=null,a)a.hasOwnProperty(i)&&(o=a[i],"children"===i?"string"==typeof o?r.textContent!==o&&(e=["children",o]):"number"==typeof o&&r.textContent!==""+o&&(e=["children",""+o]):sa.hasOwnProperty(i)&&null!=o&&"onScroll"===i&&_s("scroll",r));switch(n){case"input":Ya(r),oi(r,a,!0);break;case"textarea":Ya(r),fi(r);break;case"select":case"option":break;default:"function"==typeof a.onClick&&(r.onclick=Ls)}t.updateQueue=r=e,null!==r&&(t.flags|=4)}else{switch(i=9===o.nodeType?o:o.ownerDocument,e===di&&(e=pi(n)),e===di?"script"===n?((e=i.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=i.createElement(n,{is:r.is}):(e=i.createElement(n),"select"===n&&(i=e,r.multiple?i.multiple=!0:r.size&&(i.size=r.size))):e=i.createElementNS(e,n),e[Bs]=t,e[Hs]=r,zd(e,t),t.stateNode=e,i=Ci(n,r),n){case"dialog":_s("cancel",e),_s("close",e),o=r;break;case"iframe":case"object":case"embed":_s("load",e),o=r;break;case"video":case"audio":for(o=0;o<vs.length;o++)_s(vs[o],e);o=r;break;case"source":_s("error",e),o=r;break;case"img":case"image":case"link":_s("error",e),_s("load",e),o=r;break;case"details":_s("toggle",e),o=r;break;case"input":ti(e,r),o=ei(e,r),_s("invalid",e);break;case"option":o=ii(e,r);break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=Bt({},r,{value:void 0}),_s("invalid",e);break;case"textarea":si(e,r),o=ui(e,r),_s("invalid",e);break;default:o=r}Si(n,o);var l=o;for(a in l)if(l.hasOwnProperty(a)){var u=l[a];"style"===a?wi(e,u):"dangerouslySetInnerHTML"===a?null!=(u=u?u.__html:void 0)&&yi(e,u):"children"===a?"string"==typeof u?("textarea"!==n||""!==u)&&gi(e,u):"number"==typeof u&&gi(e,""+u):"suppressContentEditableWarning"!==a&&"suppressHydrationWarning"!==a&&"autoFocus"!==a&&(sa.hasOwnProperty(a)?null!=u&&"onScroll"===a&&_s("scroll",e):null!=u&&wa(e,a,u,i))}switch(n){case"input":Ya(e),oi(e,r,!1);break;case"textarea":Ya(e),fi(e);break;case"option":null!=r.value&&e.setAttribute("value",""+Xa(r.value));break;case"select":e.multiple=!!r.multiple,null!=(a=r.value)?li(e,!!r.multiple,a,!1):null!=r.defaultValue&&li(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof o.onClick&&(e.onclick=Ls)}Ms(n,r)&&(t.flags|=4)}null!==t.ref&&(t.flags|=128)}return null;case 6:if(e&&null!=t.stateNode)Gd(0,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(la(166));n=Of(Cf.current),Of(_f.current),Uf(t)?(n=t.memoizedProps,(r=t.stateNode)[Bs]=t,r.nodeValue!==n&&(t.flags|=4)):((r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[Bs]=t,t.stateNode=r)}return null;case 13:return nc(xf),r=t.memoizedState,0!=(64&t.flags)?(t.lanes=n,t):(r=null!==r,n=!1,null===e?void 0!==t.memoizedProps.fallback&&Uf(t):n=null!==e.memoizedState,r&&!n&&0!=(2&t.mode)&&(null===e&&!0!==t.memoizedProps.unstable_avoidThisFallback||0!=(1&xf.current)?0===Op&&(Op=3):(0!==Op&&3!==Op||(Op=4),null===Ep||0==(134217727&Pp)&&0==(134217727&Np)||rm(Ep,_p))),(r||n)&&(t.flags|=4),null);case 4:return Tf(),null===e&&Cs(t.stateNode.containerInfo),null;case 10:return Xc(t),null;case 17:return sc(t.type)&&cc(),null;case 19:if(nc(xf),null===(r=t.memoizedState))return null;if(a=0!=(64&t.flags),null===(i=r.rendering))if(a)Kd(r,!1);else{if(0!==Op||null!==e&&0!=(64&e.flags))for(e=t.child;null!==e;){if(null!==(i=Af(e))){for(t.flags|=64,Kd(r,!1),null!==(a=i.updateQueue)&&(t.updateQueue=a,t.flags|=4),null===r.lastEffect&&(t.firstEffect=null),t.lastEffect=r.lastEffect,r=n,n=t.child;null!==n;)e=r,(a=n).flags&=2,a.nextEffect=null,a.firstEffect=null,a.lastEffect=null,null===(i=a.alternate)?(a.childLanes=0,a.lanes=e,a.child=null,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.stateNode=null):(a.childLanes=i.childLanes,a.lanes=i.lanes,a.child=i.child,a.memoizedProps=i.memoizedProps,a.memoizedState=i.memoizedState,a.updateQueue=i.updateQueue,a.type=i.type,a.dependencies=null===(e=i.dependencies)?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return rc(xf,1&xf.current|2),t.child}e=e.sibling}null!==r.tail&&Mc()>Rp&&(t.flags|=64,a=!0,Kd(r,!1),t.lanes=33554432)}else{if(!a)if(null!==(e=Af(i))){if(t.flags|=64,a=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),Kd(r,!0),null===r.tail&&"hidden"===r.tailMode&&!i.alternate&&!If)return null!==(t=t.lastEffect=r.lastEffect)&&(t.nextEffect=null),null}else 2*Mc()-r.renderingStartTime>Rp&&1073741824!==n&&(t.flags|=64,a=!0,Kd(r,!1),t.lanes=33554432);r.isBackwards?(i.sibling=t.child,t.child=i):(null!==(n=r.last)?n.sibling=i:t.child=i,r.last=i)}return null!==r.tail?(r.rendering=n=r.tail,r.tail=n.sibling,r.lastEffect=t.lastEffect,r.renderingStartTime=Mc(),n.sibling=null,t=xf.current,rc(xf,a?1&t|2:1&t),n):null;case 23:case 24:return um(),null!==e&&null!==e.memoizedState!=(null!==t.memoizedState)&&"unstable-defer-without-hiding"!==r.mode&&(t.flags|=4),null}throw Error(la(156,t.tag))}function Zd(e){switch(e.tag){case 1:sc(e.type)&&cc();var t=e.flags;return 4096&t?(e.flags=-4097&t|64,e):null;case 3:if(Tf(),nc(ic),nc(ac),Gf(),0!=(64&(t=e.flags)))throw Error(la(285));return e.flags=-4097&t|64,e;case 5:return Nf(e),null;case 13:return nc(xf),4096&(t=e.flags)?(e.flags=-4097&t|64,e):null;case 19:return nc(xf),null;case 4:return Tf(),null;case 10:return Xc(e),null;case 23:case 24:return um(),null;default:return null}}function Jd(e,t){try{var n="",r=t;do{n+=qa(r),r=r.return}while(r);var o=n}catch(e){o="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:o}}function ep(e,t){try{console.error(t.value)}catch(e){setTimeout(function(){throw e})}}zd=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}},Vd=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,Of(_f.current);var a,i=null;switch(n){case"input":o=ei(e,o),r=ei(e,r),i=[];break;case"option":o=ii(e,o),r=ii(e,r),i=[];break;case"select":o=Bt({},o,{value:void 0}),r=Bt({},r,{value:void 0}),i=[];break;case"textarea":o=ui(e,o),r=ui(e,r),i=[];break;default:"function"!=typeof o.onClick&&"function"==typeof r.onClick&&(e.onclick=Ls)}for(s in Si(n,r),n=null,o)if(!r.hasOwnProperty(s)&&o.hasOwnProperty(s)&&null!=o[s])if("style"===s){var l=o[s];for(a in l)l.hasOwnProperty(a)&&(n||(n={}),n[a]="")}else"dangerouslySetInnerHTML"!==s&&"children"!==s&&"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&"autoFocus"!==s&&(sa.hasOwnProperty(s)?i||(i=[]):(i=i||[]).push(s,null));for(s in r){var u=r[s];if(l=null!=o?o[s]:void 0,r.hasOwnProperty(s)&&u!==l&&(null!=u||null!=l))if("style"===s)if(l){for(a in l)!l.hasOwnProperty(a)||u&&u.hasOwnProperty(a)||(n||(n={}),n[a]="");for(a in u)u.hasOwnProperty(a)&&l[a]!==u[a]&&(n||(n={}),n[a]=u[a])}else n||(i||(i=[]),i.push(s,n)),n=u;else"dangerouslySetInnerHTML"===s?(l=l?l.__html:void 0,null!=(u=u?u.__html:void 0)&&l!==u&&(i=i||[]).push(s,u)):"children"===s?"string"!=typeof u&&"number"!=typeof u||(i=i||[]).push(s,""+u):"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&(sa.hasOwnProperty(s)?(null!=u&&"onScroll"===s&&_s("scroll",e),i||l===u||(i=[])):"object"==typeof u&&null!==u&&u.$$typeof===Da?u.toString():(i=i||[]).push(s,u))}n&&(i=i||[]).push("style",n);var s=i;(t.updateQueue=s)&&(t.flags|=4)}},Gd=function(e,t,n,r){n!==r&&(t.flags|=4)};var tp="function"==typeof WeakMap?WeakMap:Map;function np(e,t,n){(n=nf(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Fp||(Fp=!0,jp=r),ep(0,t)},n}function rp(e,t,n){(n=nf(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var o=t.value;n.payload=function(){return ep(0,t),r(o)}}var a=e.stateNode;return null!==a&&"function"==typeof a.componentDidCatch&&(n.callback=function(){"function"!=typeof r&&(null===Up?Up=new Set([this]):Up.add(this),ep(0,t));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}var op="function"==typeof WeakSet?WeakSet:Set;function ap(e){var t=e.ref;if(null!==t)if("function"==typeof t)try{t(null)}catch(t){Om(e,t)}else t.current=null}function ip(e,t){switch(t.tag){case 0:case 11:case 15:case 22:return;case 1:if(256&t.flags&&null!==e){var n=e.memoizedProps,r=e.memoizedState;t=(e=t.stateNode).getSnapshotBeforeUpdate(t.elementType===t.type?n:Wc(t.type,n),r),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:return void(256&t.flags&&Us(t.stateNode.containerInfo));case 5:case 6:case 4:case 17:return}throw Error(la(163))}function lp(e,t,n){switch(n.tag){case 0:case 11:case 15:case 22:if(null!==(t=null!==(t=n.updateQueue)?t.lastEffect:null)){e=t=t.next;do{if(3==(3&e.tag)){var r=e.create;e.destroy=r()}e=e.next}while(e!==t)}if(null!==(t=null!==(t=n.updateQueue)?t.lastEffect:null)){e=t=t.next;do{var o=e;r=o.next,0!=(4&(o=o.tag))&&0!=(1&o)&&(_m(n,e),wm(n,e)),e=r}while(e!==t)}return;case 1:return e=n.stateNode,4&n.flags&&(null===t?e.componentDidMount():(r=n.elementType===n.type?t.memoizedProps:Wc(n.type,t.memoizedProps),e.componentDidUpdate(r,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate))),void(null!==(t=n.updateQueue)&&lf(n,t,e));case 3:if(null!==(t=n.updateQueue)){if(e=null,null!==n.child)switch(n.child.tag){case 5:e=n.child.stateNode;break;case 1:e=n.child.stateNode}lf(n,t,e)}return;case 5:return e=n.stateNode,void(null===t&&4&n.flags&&Ms(n.type,n.memoizedProps)&&e.focus());case 6:case 4:case 12:return;case 13:return void(null===n.memoizedState&&(n=n.alternate,null!==n&&(n=n.memoizedState,null!==n&&(n=n.dehydrated,null!==n&&El(n)))));case 19:case 17:case 20:case 21:case 23:case 24:return}throw Error(la(163))}function up(e,t){for(var n=e;;){if(5===n.tag){var r=n.stateNode;if(t)"function"==typeof(r=r.style).setProperty?r.setProperty("display","none","important"):r.display="none";else{r=n.stateNode;var o=n.memoizedProps.style;o=null!=o&&o.hasOwnProperty("display")?o.display:null,r.style.display=Ei("display",o)}}else if(6===n.tag)n.stateNode.nodeValue=t?"":n.memoizedProps;else if((23!==n.tag&&24!==n.tag||null===n.memoizedState||n===e)&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===e)break;for(;null===n.sibling;){if(null===n.return||n.return===e)return;n=n.return}n.sibling.return=n.return,n=n.sibling}}function sp(e,t){if(yc&&"function"==typeof yc.onCommitFiberUnmount)try{yc.onCommitFiberUnmount(hc,t)}catch(e){}switch(t.tag){case 0:case 11:case 14:case 15:case 22:if(null!==(e=t.updateQueue)&&null!==(e=e.lastEffect)){var n=e=e.next;do{var r=n,o=r.destroy;if(r=r.tag,void 0!==o)if(0!=(4&r))_m(t,n);else{r=t;try{o()}catch(e){Om(r,e)}}n=n.next}while(n!==e)}break;case 1:if(ap(t),"function"==typeof(e=t.stateNode).componentWillUnmount)try{e.props=t.memoizedProps,e.state=t.memoizedState,e.componentWillUnmount()}catch(e){Om(t,e)}break;case 5:ap(t);break;case 4:pp(e,t)}}function cp(e){e.alternate=null,e.child=null,e.dependencies=null,e.firstEffect=null,e.lastEffect=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.return=null,e.updateQueue=null}function fp(e){return 5===e.tag||3===e.tag||4===e.tag}function dp(e){e:{for(var t=e.return;null!==t;){if(fp(t))break e;t=t.return}throw Error(la(160))}var n=t;switch(t=n.stateNode,n.tag){case 5:var r=!1;break;case 3:case 4:t=t.containerInfo,r=!0;break;default:throw Error(la(161))}16&n.flags&&(gi(t,""),n.flags&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||fp(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag&&18!==n.tag;){if(2&n.flags)continue t;if(null===n.child||4===n.tag)continue t;n.child.return=n,n=n.child}if(!(2&n.flags)){n=n.stateNode;break e}}r?function e(t,n,r){var o=t.tag,a=5===o||6===o;if(a)t=a?t.stateNode:t.stateNode.instance,n?8===r.nodeType?r.parentNode.insertBefore(t,n):r.insertBefore(t,n):(8===r.nodeType?(n=r.parentNode).insertBefore(t,r):(n=r).appendChild(t),null!==(r=r._reactRootContainer)&&void 0!==r||null!==n.onclick||(n.onclick=Ls));else if(4!==o&&null!==(t=t.child))for(e(t,n,r),t=t.sibling;null!==t;)e(t,n,r),t=t.sibling}(e,n,t):function e(t,n,r){var o=t.tag,a=5===o||6===o;if(a)t=a?t.stateNode:t.stateNode.instance,n?r.insertBefore(t,n):r.appendChild(t);else if(4!==o&&null!==(t=t.child))for(e(t,n,r),t=t.sibling;null!==t;)e(t,n,r),t=t.sibling}(e,n,t)}function pp(e,t){for(var n,r,o=t,a=!1;;){if(!a){a=o.return;e:for(;;){if(null===a)throw Error(la(160));switch(n=a.stateNode,a.tag){case 5:r=!1;break e;case 3:case 4:n=n.containerInfo,r=!0;break e}a=a.return}a=!0}if(5===o.tag||6===o.tag){e:for(var i=e,l=o,u=l;;)if(sp(i,u),null!==u.child&&4!==u.tag)u.child.return=u,u=u.child;else{if(u===l)break e;for(;null===u.sibling;){if(null===u.return||u.return===l)break e;u=u.return}u.sibling.return=u.return,u=u.sibling}r?(l=o.stateNode,8===(i=n).nodeType?i.parentNode.removeChild(l):i.removeChild(l)):n.removeChild(o.stateNode)}else if(4===o.tag){if(null!==o.child){n=o.stateNode.containerInfo,r=!0,o.child.return=o,o=o.child;continue}}else if(sp(e,o),null!==o.child){o.child.return=o,o=o.child;continue}if(o===t)break;for(;null===o.sibling;){if(null===o.return||o.return===t)return;4===(o=o.return).tag&&(a=!1)}o.sibling.return=o.return,o=o.sibling}}function mp(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 22:var n=t.updateQueue;if(null!==(n=null!==n?n.lastEffect:null)){var r=n=n.next;do{3==(3&r.tag)&&(e=r.destroy,r.destroy=void 0,void 0!==e&&e()),r=r.next}while(r!==n)}return;case 1:return;case 5:if(null!=(n=t.stateNode)){r=t.memoizedProps;var o=null!==e?e.memoizedProps:r;e=t.type;var a=t.updateQueue;if(t.updateQueue=null,null!==a){for(n[Hs]=r,"input"===e&&"radio"===r.type&&null!=r.name&&ni(n,r),Ci(e,o),t=Ci(e,r),o=0;o<a.length;o+=2){var i=a[o],l=a[o+1];"style"===i?wi(n,l):"dangerouslySetInnerHTML"===i?yi(n,l):"children"===i?gi(n,l):wa(n,i,l,t)}switch(e){case"input":ri(n,r);break;case"textarea":ci(n,r);break;case"select":e=n._wrapperState.wasMultiple,n._wrapperState.wasMultiple=!!r.multiple,null!=(a=r.value)?li(n,!!r.multiple,a,!1):e!==!!r.multiple&&(null!=r.defaultValue?li(n,!!r.multiple,r.defaultValue,!0):li(n,!!r.multiple,r.multiple?[]:"",!1))}}}return;case 6:if(null===t.stateNode)throw Error(la(162));return void(t.stateNode.nodeValue=t.memoizedProps);case 3:return void((n=t.stateNode).hydrate&&(n.hydrate=!1,El(n.containerInfo)));case 12:return;case 13:return null!==t.memoizedState&&(Lp=Mc(),up(t.child,!0)),void hp(t);case 19:return void hp(t);case 17:return;case 23:case 24:return void up(t,null!==t.memoizedState)}throw Error(la(163))}function hp(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new op),t.forEach(function(t){var r=Tm.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))})}}var yp=Math.ceil,gp=_a.ReactCurrentDispatcher,vp=_a.ReactCurrentOwner,bp=0,Ep=null,wp=null,_p=0,Sp=0,Cp=tc(0),Op=0,kp=null,Tp=0,Pp=0,Np=0,xp=0,Ap=null,Lp=0,Rp=Infinity;function Ip(){Rp=Mc()+500}var Mp,Dp=null,Fp=!1,jp=null,Up=null,zp=!1,Vp=null,Gp=90,Wp=[],Bp=[],Hp=null,$p=0,qp=null,Qp=-1,Xp=0,Kp=0;function Yp(){return 0!=(48&bp)?Mc():-1!==Qp?Qp:Qp=Mc()}function Zp(e){if(0==(2&(e=e.mode)))return 1;if(0==(4&e))return 99===Dc()?1:2;if(0===Xp&&(Xp=Tp),0!==Gc.transition){0!==Kp&&(Kp=null!==Ap?Ap.pendingLanes:0),e=Xp;var t=4186112&~Kp;return 0==(t&=-t)&&0==(t=(e=4186112&~e)&-e)&&(t=8192),t}return e=Dc(),function e(t,n){switch(t){case 15:return 1;case 14:return 2;case 12:return 0===(t=jl(24&~n))?e(10,n):t;case 10:return 0===(t=jl(192&~n))?e(8,n):t;case 8:return 0===(t=jl(3584&~n))&&0===(t=jl(4186112&~n))&&(t=512),t;case 2:return 0===(n=jl(805306368&~n))&&(n=268435456),n}throw Error(la(358,t))}(0!=(4&bp)&&98===e?12:e=function(e){switch(e){case 99:return 15;case 98:return 10;case 97:case 96:return 8;case 95:return 2;default:return 0}}(e),Xp)}function Jp(e,t,n){if(50<$p)throw $p=0,qp=null,Error(la(185));if(null===(e=em(e,t)))return null;zl(e,t,n),e===Ep&&(Np|=t,4===Op&&rm(e,_p));var r=Dc();1===t?0!=(8&bp)&&0==(48&bp)?om(e):(tm(e,n),0===bp&&(Ip(),zc())):(0==(4&bp)||98!==r&&99!==r||(null===Hp?Hp=new Set([e]):Hp.add(e)),tm(e,n)),Ap=e}function em(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}function tm(e,t){for(var n=e.callbackNode,r=e.suspendedLanes,o=e.pingedLanes,a=e.expirationTimes,i=e.pendingLanes;0<i;){var l=31-Vl(i),u=1<<l,s=a[l];-1===s?0!=(u&r)&&0==(u&o)||(s=t,Ml(u),a[l]=10<=Il?s+250:6<=Il?s+5e3:-1):s<=t&&(e.expiredLanes|=u),i&=~u}if(r=Dl(e,e===Ep?_p:0),t=Il,0===r)null!==n&&(n!==Nc&&bc(n),e.callbackNode=null,e.callbackPriority=0);else{if(null!==n){if(e.callbackPriority===t)return;n!==Nc&&bc(n)}15===t?(n=om.bind(null,e),null===Ac?(Ac=[n],Lc=vc(Cc,Vc)):Ac.push(n),n=Nc):n=14===t?Uc(99,om.bind(null,e)):Uc(n=function(e){switch(e){case 15:case 14:return 99;case 13:case 12:case 11:case 10:return 98;case 9:case 8:case 7:case 6:case 4:case 5:return 97;case 3:case 2:case 1:return 95;case 0:return 90;default:throw Error(la(358,e))}}(t),nm.bind(null,e)),e.callbackPriority=t,e.callbackNode=n}}function nm(e){if(Qp=-1,Kp=Xp=0,0!=(48&bp))throw Error(la(327));var t=e.callbackNode;if(Em()&&e.callbackNode!==t)return null;var n=Dl(e,e===Ep?_p:0);if(0===n)return null;var r=n,o=bp;bp|=16;var a=fm();for(Ep===e&&_p===r||(Ip(),sm(e,r));;)try{mm();break}catch(t){cm(e,t)}if(Qc(),gp.current=a,bp=o,null!==wp?r=0:(Ep=null,_p=0,r=Op),0!=(Tp&Np))sm(e,0);else if(0!==r){if(2===r&&(bp|=64,e.hydrate&&(e.hydrate=!1,Us(e.containerInfo)),0!==(n=Fl(e))&&(r=dm(e,n))),1===r)throw t=kp,sm(e,0),rm(e,n),tm(e,Mc()),t;switch(e.finishedWork=e.current.alternate,e.finishedLanes=n,r){case 0:case 1:throw Error(la(345));case 2:gm(e);break;case 3:if(rm(e,n),(62914560&n)===n&&10<(r=Lp+500-Mc())){if(0!==Dl(e,0))break;if(((o=e.suspendedLanes)&n)!==n){Yp(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=Fs(gm.bind(null,e),r);break}gm(e);break;case 4:if(rm(e,n),(4186112&n)===n)break;for(r=e.eventTimes,o=-1;0<n;){var i=31-Vl(n);a=1<<i,(i=r[i])>o&&(o=i),n&=~a}if(n=o,10<(n=(120>(n=Mc()-n)?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*yp(n/1960))-n)){e.timeoutHandle=Fs(gm.bind(null,e),n);break}gm(e);break;case 5:gm(e);break;default:throw Error(la(329))}}return tm(e,Mc()),e.callbackNode===t?nm.bind(null,e):null}function rm(e,t){for(t&=~xp,e.suspendedLanes|=t&=~Np,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Vl(t),r=1<<n;e[n]=-1,t&=~r}}function om(e){if(0!=(48&bp))throw Error(la(327));if(Em(),e===Ep&&0!=(e.expiredLanes&_p)){var t=_p,n=dm(e,t);0!=(Tp&Np)&&(n=dm(e,t=Dl(e,t)))}else n=dm(e,t=Dl(e,0));if(0!==e.tag&&2===n&&(bp|=64,e.hydrate&&(e.hydrate=!1,Us(e.containerInfo)),0!==(t=Fl(e))&&(n=dm(e,t))),1===n)throw n=kp,sm(e,0),rm(e,t),tm(e,Mc()),n;return e.finishedWork=e.current.alternate,e.finishedLanes=t,gm(e),tm(e,Mc()),null}function am(e,t){var n=bp;bp|=1;try{return e(t)}finally{0===(bp=n)&&(Ip(),zc())}}function im(e,t){var n=bp;bp&=-2,bp|=8;try{return e(t)}finally{0===(bp=n)&&(Ip(),zc())}}function lm(e,t){rc(Cp,Sp),Sp|=t,Tp|=t}function um(){Sp=Cp.current,nc(Cp)}function sm(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,js(n)),null!==wp)for(n=wp.return;null!==n;){var r=n;switch(r.tag){case 1:null!=(r=r.type.childContextTypes)&&cc();break;case 3:Tf(),nc(ic),nc(ac),Gf();break;case 5:Nf(r);break;case 4:Tf();break;case 13:case 19:nc(xf);break;case 10:Xc(r);break;case 23:case 24:um()}n=n.return}Ep=e,wp=Am(e.current,null),_p=Sp=Tp=t,Op=0,kp=null,xp=Np=Pp=0}function cm(e,t){for(;;){var n=wp;try{if(Qc(),Wf.current=Cd,Xf){for(var r=$f.memoizedState;null!==r;){var o=r.queue;null!==o&&(o.pending=null),r=r.next}Xf=!1}if(Hf=0,Qf=qf=$f=null,Kf=!1,vp.current=null,null===n||null===n.return){Op=1,kp=t,wp=null;break}e:{var a=e,i=n.return,l=n,u=t;if(t=_p,l.flags|=2048,l.firstEffect=l.lastEffect=null,null!==u&&"object"==typeof u&&"function"==typeof u.then){var s=u;if(0==(2&l.mode)){var c=l.alternate;c?(l.updateQueue=c.updateQueue,l.memoizedState=c.memoizedState,l.lanes=c.lanes):(l.updateQueue=null,l.memoizedState=null)}var f=0!=(1&xf.current),d=i;do{var p;if(p=13===d.tag){var m=d.memoizedState;if(null!==m)p=null!==m.dehydrated;else{var h=d.memoizedProps;p=void 0!==h.fallback&&(!0!==h.unstable_avoidThisFallback||!f)}}if(p){var y=d.updateQueue;if(null===y){var g=new Set;g.add(s),d.updateQueue=g}else y.add(s);if(0==(2&d.mode)){if(d.flags|=64,l.flags|=16384,l.flags&=-2981,1===l.tag)if(null===l.alternate)l.tag=17;else{var v=nf(-1,1);v.tag=2,rf(l,v)}l.lanes|=1;break e}u=void 0,l=t;var b=a.pingCache;if(null===b?(b=a.pingCache=new tp,u=new Set,b.set(s,u)):void 0===(u=b.get(s))&&(u=new Set,b.set(s,u)),!u.has(l)){u.add(l);var E=km.bind(null,a,s,l);s.then(E,E)}d.flags|=4096,d.lanes=t;break e}d=d.return}while(null!==d);u=Error((Qa(l.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display.")}5!==Op&&(Op=2),u=Jd(u,l),d=i;do{switch(d.tag){case 3:a=u,d.flags|=4096,d.lanes|=t&=-t,of(d,np(0,a,t));break e;case 1:a=u;var w=d.stateNode;if(0==(64&d.flags)&&("function"==typeof d.type.getDerivedStateFromError||null!==w&&"function"==typeof w.componentDidCatch&&(null===Up||!Up.has(w)))){d.flags|=4096,d.lanes|=t&=-t,of(d,rp(d,a,t));break e}}d=d.return}while(null!==d)}ym(n)}catch(e){t=e,wp===n&&null!==n&&(wp=n=n.return);continue}break}}function fm(){var e=gp.current;return gp.current=Cd,null===e?Cd:e}function dm(e,t){var n=bp;bp|=16;var r=fm();for(Ep===e&&_p===t||sm(e,t);;)try{pm();break}catch(t){cm(e,t)}if(Qc(),bp=n,gp.current=r,null!==wp)throw Error(la(261));return Ep=null,_p=0,Op}function pm(){for(;null!==wp;)hm(wp)}function mm(){for(;null!==wp&&!Ec();)hm(wp)}function hm(e){var t=Mp(e.alternate,e,Sp);e.memoizedProps=e.pendingProps,null===t?ym(e):wp=t,vp.current=null}function ym(e){var t=e;do{var n=t.alternate;if(e=t.return,0==(2048&t.flags)){if(null!==(n=Yd(n,t,Sp)))return void(wp=n);if(24!==(n=t).tag&&23!==n.tag||null===n.memoizedState||0!=(1073741824&Sp)||0==(4&n.mode)){for(var r=0,o=n.child;null!==o;)r|=o.lanes|o.childLanes,o=o.sibling;n.childLanes=r}null!==e&&0==(2048&e.flags)&&(null===e.firstEffect&&(e.firstEffect=t.firstEffect),null!==t.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=t.firstEffect),e.lastEffect=t.lastEffect),1<t.flags&&(null!==e.lastEffect?e.lastEffect.nextEffect=t:e.firstEffect=t,e.lastEffect=t))}else{if(null!==(n=Zd(t)))return n.flags&=2047,void(wp=n);null!==e&&(e.firstEffect=e.lastEffect=null,e.flags|=2048)}if(null!==(t=t.sibling))return void(wp=t);wp=t=e}while(null!==t);0===Op&&(Op=5)}function gm(e){var t=Dc();return jc(99,vm.bind(null,e,t)),null}function vm(e,t){do{Em()}while(null!==Vp);if(0!=(48&bp))throw Error(la(327));var n=e.finishedWork;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(la(177));e.callbackNode=null;var r=n.lanes|n.childLanes,o=r,a=e.pendingLanes&~o;e.pendingLanes=o,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=o,e.mutableReadLanes&=o,e.entangledLanes&=o,o=e.entanglements;for(var i=e.eventTimes,l=e.expirationTimes;0<a;){var u=31-Vl(a),s=1<<u;o[u]=0,i[u]=-1,l[u]=-1,a&=~s}if(null!==Hp&&0==(24&r)&&Hp.has(e)&&Hp.delete(e),e===Ep&&(wp=Ep=null,_p=0),1<n.flags?null!==n.lastEffect?(n.lastEffect.nextEffect=n,r=n.firstEffect):r=n:r=n.firstEffect,null!==r){if(o=bp,bp|=32,vp.current=null,Rs=$l,ss(i=us())){if("selectionStart"in i)l={start:i.selectionStart,end:i.selectionEnd};else if((s=(l=(l=i.ownerDocument)&&l.defaultView||window).getSelection&&l.getSelection())&&0!==s.rangeCount){l=s.anchorNode,a=s.anchorOffset,u=s.focusNode,s=s.focusOffset;var c=0,f=-1,d=-1,p=0,m=0,h=i,y=null;e:for(;;){for(var g;h!==l||0!==a&&3!==h.nodeType||(f=c+a),h!==u||0!==s&&3!==h.nodeType||(d=c+s),3===h.nodeType&&(c+=h.nodeValue.length),null!==(g=h.firstChild);)y=h,h=g;for(;;){if(h===i)break e;if(y===l&&++p===a&&(f=c),y===u&&++m===s&&(d=c),null!==(g=h.nextSibling))break;y=(h=y).parentNode}h=g}l=-1===f||-1===d?null:{start:f,end:d}}else l=null;l=l||{start:0,end:0}}else l=null;Is={focusedElem:i,selectionRange:l},$l=!1,Dp=r;do{try{bm()}catch(e){if(null===Dp)throw Error(la(330));Om(Dp,e),Dp=Dp.nextEffect}}while(null!==Dp);Dp=r;do{try{for(i=e;null!==Dp;){var v=Dp.flags;if(16&v&&gi(Dp.stateNode,""),128&v){var b=Dp.alternate;if(null!==b){var E=b.ref;null!==E&&("function"==typeof E?E(null):E.current=null)}}switch(1038&v){case 2:dp(Dp),Dp.flags&=-3;break;case 6:dp(Dp),Dp.flags&=-3,mp(Dp.alternate,Dp);break;case 1024:Dp.flags&=-1025;break;case 1028:Dp.flags&=-1025,mp(Dp.alternate,Dp);break;case 4:mp(Dp.alternate,Dp);break;case 8:pp(i,l=Dp);var w=l.alternate;cp(l),null!==w&&cp(w)}Dp=Dp.nextEffect}}catch(e){if(null===Dp)throw Error(la(330));Om(Dp,e),Dp=Dp.nextEffect}}while(null!==Dp);if(E=Is,b=us(),i=E.selectionRange,b!==(v=E.focusedElem)&&v&&v.ownerDocument&&function e(t,n){return!(!t||!n)&&(t===n||(!t||3!==t.nodeType)&&(n&&3===n.nodeType?e(t,n.parentNode):"contains"in t?t.contains(n):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(n))))}(v.ownerDocument.documentElement,v)){null!==i&&ss(v)&&(b=i.start,void 0===(E=i.end)&&(E=b),"selectionStart"in v?(v.selectionStart=b,v.selectionEnd=Math.min(E,v.value.length)):(E=(b=v.ownerDocument||document)&&b.defaultView||window).getSelection&&(E=E.getSelection(),l=v.textContent.length,w=Math.min(i.start,l),i=void 0===i.end?w:Math.min(i.end,l),!E.extend&&w>i&&(l=i,i=w,w=l),l=ls(v,w),a=ls(v,i),l&&a&&(1!==E.rangeCount||E.anchorNode!==l.node||E.anchorOffset!==l.offset||E.focusNode!==a.node||E.focusOffset!==a.offset)&&((b=b.createRange()).setStart(l.node,l.offset),E.removeAllRanges(),w>i?(E.addRange(b),E.extend(a.node,a.offset)):(b.setEnd(a.node,a.offset),E.addRange(b))))),b=[];for(E=v;E=E.parentNode;)1===E.nodeType&&b.push({element:E,left:E.scrollLeft,top:E.scrollTop});for("function"==typeof v.focus&&v.focus(),v=0;v<b.length;v++)(E=b[v]).element.scrollLeft=E.left,E.element.scrollTop=E.top}$l=!!Rs,Is=Rs=null,e.current=n,Dp=r;do{try{for(v=e;null!==Dp;){var _=Dp.flags;if(36&_&&lp(v,Dp.alternate,Dp),128&_){b=void 0;var S=Dp.ref;if(null!==S){var C=Dp.stateNode;switch(Dp.tag){case 5:b=C;break;default:b=C}"function"==typeof S?S(b):S.current=b}}Dp=Dp.nextEffect}}catch(e){if(null===Dp)throw Error(la(330));Om(Dp,e),Dp=Dp.nextEffect}}while(null!==Dp);Dp=null,xc(),bp=o}else e.current=n;if(zp)zp=!1,Vp=e,Gp=t;else for(Dp=r;null!==Dp;)t=Dp.nextEffect,Dp.nextEffect=null,8&Dp.flags&&((_=Dp).sibling=null,_.stateNode=null),Dp=t;if(0===(r=e.pendingLanes)&&(Up=null),1===r?e===qp?$p++:($p=0,qp=e):$p=0,n=n.stateNode,yc&&"function"==typeof yc.onCommitFiberRoot)try{yc.onCommitFiberRoot(hc,n,void 0,64==(64&n.current.flags))}catch(e){}if(tm(e,Mc()),Fp)throw Fp=!1,e=jp,jp=null,e;return 0!=(8&bp)||zc(),null}function bm(){for(;null!==Dp;){var e=Dp.flags;0!=(256&e)&&ip(Dp.alternate,Dp),0==(512&e)||zp||(zp=!0,Uc(97,function(){return Em(),null})),Dp=Dp.nextEffect}}function Em(){if(90!==Gp){var e=97<Gp?97:Gp;return Gp=90,jc(e,Sm)}return!1}function wm(e,t){Wp.push(t,e),zp||(zp=!0,Uc(97,function(){return Em(),null}))}function _m(e,t){Bp.push(t,e),zp||(zp=!0,Uc(97,function(){return Em(),null}))}function Sm(){if(null===Vp)return!1;var e=Vp;if(Vp=null,0!=(48&bp))throw Error(la(331));var t=bp;bp|=32;var n=Bp;Bp=[];for(var r=0;r<n.length;r+=2){var o=n[r],a=n[r+1],i=o.destroy;if(o.destroy=void 0,"function"==typeof i)try{i()}catch(e){if(null===a)throw Error(la(330));Om(a,e)}}for(n=Wp,Wp=[],r=0;r<n.length;r+=2){o=n[r],a=n[r+1];try{var l=o.create;o.destroy=l()}catch(e){if(null===a)throw Error(la(330));Om(a,e)}}for(l=e.current.firstEffect;null!==l;)e=l.nextEffect,l.nextEffect=null,8&l.flags&&(l.sibling=null,l.stateNode=null),l=e;return bp=t,zc(),!0}function Cm(e,t,n){rf(e,t=np(0,t=Jd(n,t),1)),t=Yp(),null!==(e=em(e,1))&&(zl(e,1,t),tm(e,t))}function Om(e,t){if(3===e.tag)Cm(e,e,t);else for(var n=e.return;null!==n;){if(3===n.tag){Cm(n,e,t);break}if(1===n.tag){var r=n.stateNode;if("function"==typeof n.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Up||!Up.has(r))){var o=rp(n,e=Jd(t,e),1);if(rf(n,o),o=Yp(),null!==(n=em(n,1)))zl(n,1,o),tm(n,o);else if("function"==typeof r.componentDidCatch&&(null===Up||!Up.has(r)))try{r.componentDidCatch(t,e)}catch(e){}break}}n=n.return}}function km(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=Yp(),e.pingedLanes|=e.suspendedLanes&n,Ep===e&&(_p&n)===n&&(4===Op||3===Op&&(62914560&_p)===_p&&500>Mc()-Lp?sm(e,0):xp|=n),tm(e,t)}function Tm(e,t){var n=e.stateNode;null!==n&&n.delete(t),0==(t=0)&&(0==(2&(t=e.mode))?t=1:0==(4&t)?t=99===Dc()?1:2:(0===Xp&&(Xp=Tp),0===(t=jl(62914560&~Xp))&&(t=4194304))),n=Yp(),null!==(e=em(e,t))&&(zl(e,t,n),tm(e,n))}function Pm(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.flags=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childLanes=this.lanes=0,this.alternate=null}function Nm(e,t,n,r){return new Pm(e,t,n,r)}function xm(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Am(e,t){var n=e.alternate;return null===n?((n=Nm(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.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,n.dependencies=null===(t=e.dependencies)?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Lm(e,t,n,r,o,a){var i=2;if(r=e,"function"==typeof e)xm(e)&&(i=1);else if("string"==typeof e)i=5;else e:switch(e){case Oa:return Rm(n.children,o,a,t);case Fa:i=8,o|=16;break;case ka:i=8,o|=1;break;case Ta:return(e=Nm(12,n,t,8|o)).elementType=Ta,e.type=Ta,e.lanes=a,e;case Aa:return(e=Nm(13,n,t,o)).type=Aa,e.elementType=Aa,e.lanes=a,e;case La:return(e=Nm(19,n,t,o)).elementType=La,e.lanes=a,e;case ja:return Im(n,o,a,t);case Ua:return(e=Nm(24,n,t,o)).elementType=Ua,e.lanes=a,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case Pa:i=10;break e;case Na:i=9;break e;case xa:i=11;break e;case Ra:i=14;break e;case Ia:i=16,r=null;break e;case Ma:i=22;break e}throw Error(la(130,null==e?e:typeof e,""))}return(t=Nm(i,n,t,o)).elementType=e,t.type=r,t.lanes=a,t}function Rm(e,t,n,r){return(e=Nm(7,e,r,t)).lanes=n,e}function Im(e,t,n,r){return(e=Nm(23,e,r,t)).elementType=ja,e.lanes=n,e}function Mm(e,t,n){return(e=Nm(6,e,null,t)).lanes=n,e}function Dm(e,t,n){return(t=Nm(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Fm(e,t,n){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=n,this.callbackNode=null,this.callbackPriority=0,this.eventTimes=Ul(0),this.expirationTimes=Ul(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ul(0),this.mutableSourceEagerHydrationData=null}function jm(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:Ca,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}function Um(e,t,n,r){var o=t.current,a=Yp(),i=Zp(o);e:if(n){t:{if(Xi(n=n._reactInternals)!==n||1!==n.tag)throw Error(la(170));var l=n;do{switch(l.tag){case 3:l=l.stateNode.context;break t;case 1:if(sc(l.type)){l=l.stateNode.__reactInternalMemoizedMergedChildContext;break t}}l=l.return}while(null!==l);throw Error(la(171))}if(1===n.tag){var u=n.type;if(sc(u)){n=dc(n,u,l);break e}}n=l}else n=oc;return null===t.context?t.context=n:t.pendingContext=n,(t=nf(a,i)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),rf(o,t),Jp(o,i,a),i}function zm(e){if(!(e=e.current).child)return null;switch(e.child.tag){case 5:default:return e.child.stateNode}}function Vm(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function Gm(e,t){Vm(e,t),(e=e.alternate)&&Vm(e,t)}function Wm(e,t,n){var r=null!=n&&null!=n.hydrationOptions&&n.hydrationOptions.mutableSources||null;if(n=new Fm(e,t,null!=n&&!0===n.hydrate),t=Nm(3,null,null,2===t?7:1===t?3:0),n.current=t,t.stateNode=n,ef(t),e[$s]=n.current,Cs(8===e.nodeType?e.parentNode:e),r)for(e=0;e<r.length;e++){var o=(t=r[e])._getVersion;o=o(t._source),null==n.mutableSourceEagerHydrationData?n.mutableSourceEagerHydrationData=[t,o]:n.mutableSourceEagerHydrationData.push(t,o)}this._internalRoot=n}function Bm(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Hm(e,t,n,r,o){var a=n._reactRootContainer;if(a){var i=a._internalRoot;if("function"==typeof o){var l=o;o=function(){var e=zm(i);l.call(e)}}Um(t,i,e,o)}else{if(a=n._reactRootContainer=function(e,t){if(t||(t=!(!(t=e?9===e.nodeType?e.documentElement:e.firstChild:null)||1!==t.nodeType||!t.hasAttribute("data-reactroot"))),!t)for(var n;n=e.lastChild;)e.removeChild(n);return new Wm(e,0,t?{hydrate:!0}:void 0)}(n,r),i=a._internalRoot,"function"==typeof o){var u=o;o=function(){var e=zm(i);u.call(e)}}im(function(){Um(t,i,e,o)})}return zm(i)}function $m(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Bm(t))throw Error(la(200));return jm(e,t,null,n)}Mp=function(e,t,n){var r=t.lanes;if(null!==e)if(e.memoizedProps!==t.pendingProps||ic.current)Nd=!0;else{if(0==(n&r)){switch(Nd=!1,t.tag){case 3:Ud(t),zf();break;case 5:Pf(t);break;case 1:sc(t.type)&&pc(t);break;case 4:kf(t,t.stateNode.containerInfo);break;case 10:r=t.memoizedProps.value;var o=t.type._context;rc(Bc,o._currentValue),o._currentValue=r;break;case 13:if(null!==t.memoizedState)return 0!=(n&t.child.childLanes)?Bd(e,t,n):(rc(xf,1&xf.current),null!==(t=Xd(e,t,n))?t.sibling:null);rc(xf,1&xf.current);break;case 19:if(r=0!=(n&t.childLanes),0!=(64&e.flags)){if(r)return Qd(e,t,n);t.flags|=64}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),rc(xf,xf.current),r)break;return null;case 23:case 24:return t.lanes=0,Id(e,t,n)}return Xd(e,t,n)}Nd=0!=(16384&e.flags)}else Nd=!1;switch(t.lanes=0,t.tag){case 2:if(r=t.type,null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,o=uc(t,ac.current),Yc(t,n),o=Jf(null,t,r,e,o,n),t.flags|=1,"object"==typeof o&&null!==o&&"function"==typeof o.render&&void 0===o.$$typeof){if(t.tag=1,t.memoizedState=null,t.updateQueue=null,sc(r)){var a=!0;pc(t)}else a=!1;t.memoizedState=null!=o.state?o.state:null,ef(t);var i=r.getDerivedStateFromProps;"function"==typeof i&&sf(t,r,i,e),o.updater=cf,t.stateNode=o,o._reactInternals=t,mf(t,r,e,n),t=jd(null,t,r,!0,a,n)}else t.tag=0,xd(null,t,o,n),t=t.child;return t;case 16:o=t.elementType;e:{switch(null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,o=(a=o._init)(o._payload),t.type=o,a=t.tag=function(e){if("function"==typeof e)return xm(e)?1:0;if(null!=e){if((e=e.$$typeof)===xa)return 11;if(e===Ra)return 14}return 2}(o),e=Wc(o,e),a){case 0:t=Dd(null,t,o,e,n);break e;case 1:t=Fd(null,t,o,e,n);break e;case 11:t=Ad(null,t,o,e,n);break e;case 14:t=Ld(null,t,o,Wc(o.type,e),r,n);break e}throw Error(la(306,o,""))}return t;case 0:return o=t.pendingProps,Dd(e,t,r=t.type,o=t.elementType===r?o:Wc(r,o),n);case 1:return o=t.pendingProps,Fd(e,t,r=t.type,o=t.elementType===r?o:Wc(r,o),n);case 3:if(Ud(t),r=t.updateQueue,null===e||null===r)throw Error(la(282));if(r=t.pendingProps,o=null!==(o=t.memoizedState)?o.element:null,tf(e,t),af(t,r,null,n),(r=t.memoizedState.element)===o)zf(),t=Xd(e,t,n);else{if((a=(o=t.stateNode).hydrate)&&(Rf=zs(t.stateNode.containerInfo.firstChild),Lf=t,a=If=!0),a){if(null!=(e=o.mutableSourceEagerHydrationData))for(o=0;o<e.length;o+=2)(a=e[o])._workInProgressVersionPrimary=e[o+1],Vf.push(a);for(n=Ef(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|1024,n=n.sibling}else xd(e,t,r,n),zf();t=t.child}return t;case 5:return Pf(t),null===e&&Ff(t),a=null!==e?e.memoizedProps:null,i=(o=t.pendingProps).children,Ds(r=t.type,o)?i=null:null!==a&&Ds(r,a)&&(t.flags|=16),Md(e,t),xd(e,t,i,n),t.child;case 6:return null===e&&Ff(t),null;case 13:return Bd(e,t,n);case 4:return kf(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=bf(t,null,r,n):xd(e,t,r,n),t.child;case 11:return o=t.pendingProps,Ad(e,t,r=t.type,o=t.elementType===r?o:Wc(r,o),n);case 7:return xd(e,t,t.pendingProps,n),t.child;case 8:case 12:return xd(e,t,t.pendingProps.children,n),t.child;case 10:e:{r=t.type._context,i=t.memoizedProps,a=(o=t.pendingProps).value;var l=t.type._context;if(rc(Bc,l._currentValue),l._currentValue=a,null!==i)if(0==(a=rs(l=i.value,a)?0:0|("function"==typeof r._calculateChangedBits?r._calculateChangedBits(l,a):1073741823))){if(i.children===o.children&&!ic.current){t=Xd(e,t,n);break e}}else for(null!==(l=t.child)&&(l.return=t);null!==l;){var u=l.dependencies;if(null!==u){i=l.child;for(var s=u.firstContext;null!==s;){if(s.context===r&&0!=(s.observedBits&a)){1===l.tag&&((s=nf(-1,n&-n)).tag=2,rf(l,s)),l.lanes|=n,null!==(s=l.alternate)&&(s.lanes|=n),Kc(l.return,n),u.lanes|=n;break}s=s.next}}else i=10===l.tag&&l.type===t.type?null:l.child;if(null!==i)i.return=l;else for(i=l;null!==i;){if(i===t){i=null;break}if(null!==(l=i.sibling)){l.return=i.return,i=l;break}i=i.return}l=i}xd(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=(a=t.pendingProps).children,Yc(t,n),r=r(o=Zc(o,a.unstable_observedBits)),t.flags|=1,xd(e,t,r,n),t.child;case 14:return a=Wc(o=t.type,t.pendingProps),Ld(e,t,o,a=Wc(o.type,a),r,n);case 15:return Rd(e,t,t.type,t.pendingProps,r,n);case 17:return o=t.pendingProps,o=t.elementType===(r=t.type)?o:Wc(r,o),null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),t.tag=1,sc(r)?(e=!0,pc(t)):e=!1,Yc(t,n),df(t,r,o),mf(t,r,o,n),jd(null,t,r,!0,e,n);case 19:return Qd(e,t,n);case 23:case 24:return Id(e,t,n)}throw Error(la(156,t.tag))},Wm.prototype.render=function(e){Um(e,this._internalRoot,null,null)},Wm.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;Um(null,e,null,function(){t[$s]=null})},Ji=function(e){13===e.tag&&(Jp(e,4,Yp()),Gm(e,4))},el=function(e){13===e.tag&&(Jp(e,67108864,Yp()),Gm(e,67108864))},tl=function(e){if(13===e.tag){var t=Yp(),n=Zp(e);Jp(e,n,t),Gm(e,n)}},nl=function(e,t){return t()},ki=function(e,t,n){switch(t){case"input":if(ri(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 o=Ys(r);if(!o)throw Error(la(90));Za(r),ri(r,o)}}}break;case"textarea":ci(e,n);break;case"select":null!=(t=n.value)&&li(e,!!n.multiple,t,!1)}},Li=am,Ri=function(e,t,n,r,o){var a=bp;bp|=4;try{return jc(98,e.bind(null,t,n,r,o))}finally{0===(bp=a)&&(Ip(),zc())}},Ii=function(){0==(49&bp)&&(function(){if(null!==Hp){var e=Hp;Hp=null,e.forEach(function(e){e.expiredLanes|=24&e.pendingLanes,tm(e,Mc())})}zc()}(),Em())},Mi=function(e,t){var n=bp;bp|=2;try{return e(t)}finally{0===(bp=n)&&(Ip(),zc())}};var qm={Events:[Xs,Ks,Ys,xi,Ai,Em,{current:!1}]},Qm={findFiberByHostInstance:Qs,bundleType:0,version:"17.0.2",rendererPackageName:"react-dom"},Xm={bundleType:Qm.bundleType,version:Qm.version,rendererPackageName:Qm.rendererPackageName,rendererConfig:Qm.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:_a.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=Zi(e))?null:e.stateNode},findFiberByHostInstance:Qm.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var Km=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Km.isDisabled&&Km.supportsFiber)try{hc=Km.inject(Xm),yc=Km}catch(e){}}var Ym={__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:qm,createPortal:$m,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(la(188));throw Error(la(268,Object.keys(e)))}return null===(e=Zi(t))?null:e.stateNode},flushSync:function(e,t){var n=bp;if(0!=(48&n))return e(t);bp|=1;try{if(e)return jc(99,e.bind(null,t))}finally{bp=n,zc()}},hydrate:function(e,t,n){if(!Bm(t))throw Error(la(200));return Hm(null,e,t,!0,n)},render:function(e,t,n){if(!Bm(t))throw Error(la(200));return Hm(null,e,t,!1,n)},unmountComponentAtNode:function(e){if(!Bm(e))throw Error(la(40));return!!e._reactRootContainer&&(im(function(){Hm(null,null,e,!1,function(){e._reactRootContainer=null,e[$s]=null})}),!0)},unstable_batchedUpdates:am,unstable_createPortal:function(e,t){return $m(e,t,2<arguments.length&&void 0!==arguments[2]?arguments[2]:null)},unstable_renderSubtreeIntoContainer:function(e,t,n,r){if(!Bm(n))throw Error(la(200));if(null==e||void 0===e._reactInternals)throw Error(la(38));return Hm(e,t,n,!1,r)},version:"17.0.2"},Zm=0,Jm={__interactionsRef:null,__subscriberRef:null,unstable_clear:function(e){return e()},unstable_getCurrent:function(){return null},unstable_getThreadID:function(){return++Zm},unstable_subscribe:function(){},unstable_trace:function(e,t,n){return n()},unstable_unsubscribe:function(){},unstable_wrap:function(e){return e}},eh=(s(function(e,t){}),s(function(e){e.exports=Jm}),s(function(e,t){}),s(function(e){!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=Ym}));function th(){return(th=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var nh=function(e,t,n){var r,o,a,i=t.domain,l=t.merchantId,u=$t.useState([]),s=u[0],c=u[1],f=$t.useState(Mt.PENDING),d=f[0],p=f[1],m=null==n?void 0:n.map(function(e){return{installments_count:e.installmentsCount,deferred_days:null==e?void 0:e.deferredDays,deferred_months:null==e?void 0:e.deferredMonths}});return $t.useEffect(function(){d===Mt.PENDING&&function(e,t,n){void 0===e&&(e="");try{return Promise.resolve(fetch(e,{method:"POST",headers:th({"Content-Type":"application/json"},n),body:JSON.stringify(t)})).then(function(e){return e.json()})}catch(e){return Promise.reject(e)}}(i+"/v2/payments/eligibility",{purchase_amount:e,queries:m},{Authorization:"Alma-Merchant-Auth "+l}).then(function(e){c(e),p(Mt.SUCCESS)}).catch(function(){p(Mt.FAILED)})},[d]),[(r=s,o=n,a=r.filter(function(e){return!(1===e.installments_count&&0===e.deferred_days&&0===e.deferred_months)}),o?a.map(function(e){var t=30*(e.deferred_months?e.deferred_months:0)+(e.deferred_days?e.deferred_days:0),n=o.find(function(n){return e.installments_count===n.installmentsCount&&t===30*(n.deferredMonths?n.deferredMonths:0)+(n.deferredDays?n.deferredDays:0)});return th({},e,{eligible:!!n&&e.purchase_amount>=(null==n?void 0:n.minAmount)&&e.purchase_amount<=(null==n?void 0:n.maxAmount),minAmount:null==n?void 0:n.minAmount,maxAmount:null==n?void 0:n.maxAmount})}):a),d]},rh=s(function(e){!function(){var t={}.hasOwnProperty;function n(){for(var e=[],r=0;r<arguments.length;r++){var o=arguments[r];if(o){var a=typeof o;if("string"===a||"number"===a)e.push(o);else if(Array.isArray(o)&&o.length){var i=n.apply(null,o);i&&e.push(i)}else if("object"===a)for(var l in o)t.call(o,l)&&o[l]&&e.push(l)}}return e.join(" ")}e.exports?(n.default=n,e.exports=n):window.classNames=n}()}),oh=function(e){return $t.createElement("div",{className:rh("_31lrj",e.className),"data-testid":"loader"},$t.createElement("div",{className:"_2p94X"},"a"),$t.createElement("div",{className:"_1k0PM"}))};function ah(){}function ih(){}Function.call.bind(Object.prototype.hasOwnProperty),ih.resetWarningCache=ah;var lh=s(function(e){e.exports=function(){function e(e,t,n,r,o,a){if("SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"!==a){var i=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 i.name="Invariant Violation",i}}function t(){return e}e.isRequired=e;var n={array: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:ih,resetWarningCache:ah};return n.PropTypes=n,n}()}),uh=s(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return[].slice.call(e.querySelectorAll("*"),0).filter(o)};var n=/input|select|textarea|button|object/;function r(e){var t=e.offsetWidth<=0&&e.offsetHeight<=0;if(t&&!e.innerHTML)return!0;try{var n=window.getComputedStyle(e);return t?"visible"!==n.getPropertyValue("overflow")||e.scrollWidth<=0&&e.scrollHeight<=0:"none"==n.getPropertyValue("display")}catch(e){return console.warn("Failed to inspect element style"),!1}}function o(e){var t=e.getAttribute("tabindex");null===t&&(t=void 0);var o=isNaN(t);return(o||t>=0)&&function(e,t){var o=e.nodeName.toLowerCase();return(n.test(o)&&!e.disabled||"a"===o&&e.href||t)&&function(e){for(var t=e;t&&t!==document.body;){if(r(t))return!1;t=t.parentNode}return!0}(e)}(e,!o)}e.exports=t.default}),sh=s(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.resetState=function(){o=[]},t.log=function(){},t.handleBlur=l,t.handleFocus=u,t.markForFocusLater=function(){o.push(document.activeElement)},t.returnFocus=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=null;try{return void(0!==o.length&&(t=o.pop()).focus({preventScroll:e}))}catch(e){console.warn(["You tried to return focus to",t,"but it is not in the DOM anymore"].join(" "))}},t.popWithoutFocus=function(){o.length>0&&o.pop()},t.setupScopedFocus=function(e){a=e,window.addEventListener?(window.addEventListener("blur",l,!1),document.addEventListener("focus",u,!0)):(window.attachEvent("onBlur",l),document.attachEvent("onFocus",u))},t.teardownScopedFocus=function(){a=null,window.addEventListener?(window.removeEventListener("blur",l),document.removeEventListener("focus",u)):(window.detachEvent("onBlur",l),document.detachEvent("onFocus",u))};var n,r=(n=uh)&&n.__esModule?n:{default:n},o=[],a=null,i=!1;function l(){i=!0}function u(){if(i){if(i=!1,!a)return;setTimeout(function(){a.contains(document.activeElement)||((0,r.default)(a)[0]||a).focus()},0)}}}),ch=s(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=(0,r.default)(e);if(n.length){var o=void 0,a=t.shiftKey,i=n[0],l=n[n.length-1];if(e===document.activeElement){if(!a)return;o=l}if(l!==document.activeElement||a||(o=i),i===document.activeElement&&a&&(o=l),o)return t.preventDefault(),void o.focus();var u=/(\bChrome\b|\bSafari\b)\//.exec(navigator.userAgent);if(null!=u&&"Chrome"!=u[1]&&null==/\biPod\b|\biPad\b/g.exec(navigator.userAgent)){var s=n.indexOf(document.activeElement);if(s>-1&&(s+=a?-1:1),void 0===(o=n[s]))return t.preventDefault(),void(o=a?l:i).focus();t.preventDefault(),o.focus()}}else t.preventDefault()};var n,r=(n=uh)&&n.__esModule?n:{default:n};e.exports=t.default}),fh=function(){},dh=s(function(e){var t,n;n={canUseDOM:t=!("undefined"==typeof window||!window.document||!window.document.createElement),canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:t&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:t&&!!window.screen},e.exports?e.exports=n:window.ExecutionEnvironment=n}),ph=s(function(e,t){var n;Object.defineProperty(t,"__esModule",{value:!0}),t.canUseDOM=t.SafeNodeList=t.SafeHTMLCollection=void 0;var r=((n=dh)&&n.__esModule?n:{default:n}).default,o=r.canUseDOM?window.HTMLElement:{};t.SafeHTMLCollection=r.canUseDOM?window.HTMLCollection:{},t.SafeNodeList=r.canUseDOM?window.NodeList:{},t.canUseDOM=r.canUseDOM,t.default=o}),mh=s(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.resetState=function(){o&&(o.removeAttribute?o.removeAttribute("aria-hidden"):null!=o.length?o.forEach(function(e){return e.removeAttribute("aria-hidden")}):document.querySelectorAll(o).forEach(function(e){return e.removeAttribute("aria-hidden")})),o=null},t.log=function(){},t.assertNodeList=a,t.setElement=function(e){var t=e;if("string"==typeof t&&ph.canUseDOM){var n=document.querySelectorAll(t);a(n,t),t=n}return o=t||o},t.validateElement=i,t.hide=function(e){var t=!0,n=!1,r=void 0;try{for(var o,a=i(e)[Symbol.iterator]();!(t=(o=a.next()).done);t=!0)o.value.setAttribute("aria-hidden","true")}catch(e){n=!0,r=e}finally{try{!t&&a.return&&a.return()}finally{if(n)throw r}}},t.show=function(e){var t=!0,n=!1,r=void 0;try{for(var o,a=i(e)[Symbol.iterator]();!(t=(o=a.next()).done);t=!0)o.value.removeAttribute("aria-hidden")}catch(e){n=!0,r=e}finally{try{!t&&a.return&&a.return()}finally{if(n)throw r}}},t.documentNotReadyOrSSRTesting=function(){o=null};var n,r=(n=fh)&&n.__esModule?n:{default:n},o=null;function a(e,t){if(!e||!e.length)throw new Error("react-modal: No elements were found for selector "+t+".")}function i(e){var t=e||o;return t?Array.isArray(t)||t instanceof HTMLCollection||t instanceof NodeList?t:[t]:((0,r.default)(!1,["react-modal: App element is not defined.","Please use `Modal.setAppElement(el)` or set `appElement={el}`.","This is needed so screen readers don't see main content","when modal is opened. It is not recommended, but you can opt-out","by setting `ariaHideApp={false}`."].join(" ")),[])}}),hh=s(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.resetState=function(){var e=document.getElementsByTagName("html")[0];for(var t in n)o(e,n[t]);var a=document.body;for(var i in r)o(a,r[i]);n={},r={}},t.log=function(){};var n={},r={};function o(e,t){e.classList.remove(t)}t.add=function(e,t){return o=e.classList,a="html"==e.nodeName.toLowerCase()?n:r,void t.split(" ").forEach(function(e){!function(e,t){e[t]||(e[t]=0),e[t]+=1}(a,e),o.add(e)});var o,a},t.remove=function(e,t){return o=e.classList,a="html"==e.nodeName.toLowerCase()?n:r,void t.split(" ").forEach(function(e){!function(e,t){e[t]&&(e[t]-=1)}(a,e),0===a[e]&&o.remove(e)});var o,a}}),yh=s(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.log=function(){console.log("portalOpenInstances ----------"),console.log(r.openInstances.length),r.openInstances.forEach(function(e){return console.log(e)}),console.log("end portalOpenInstances ----------")},t.resetState=function(){r=new n};var n=function e(){var t=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.register=function(e){-1===t.openInstances.indexOf(e)&&(t.openInstances.push(e),t.emit("register"))},this.deregister=function(e){var n=t.openInstances.indexOf(e);-1!==n&&(t.openInstances.splice(n,1),t.emit("deregister"))},this.subscribe=function(e){t.subscribers.push(e)},this.emit=function(e){t.subscribers.forEach(function(n){return n(e,t.openInstances.slice())})},this.openInstances=[],this.subscribers=[]},r=new n;t.default=r}),gh=(s(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.resetState=function(){for(var e=[o,a],t=0;t<e.length;t++){var n=e[t];n&&n.parentNode&&n.parentNode.removeChild(n)}o=a=null,i=[]},t.log=function(){console.log("bodyTrap ----------"),console.log(i.length);for(var e=[o,a],t=0;t<e.length;t++){var n=e[t]||{};console.log(n.nodeName,n.className,n.id)}console.log("edn bodyTrap ----------")};var n,r=(n=yh)&&n.__esModule?n:{default:n},o=void 0,a=void 0,i=[];function l(){0!==i.length&&i[i.length-1].focusContent()}r.default.subscribe(function(e,t){o||a||((o=document.createElement("div")).setAttribute("data-react-modal-body-trap",""),o.style.position="absolute",o.style.opacity="0",o.setAttribute("tabindex","0"),o.addEventListener("focus",l),(a=o.cloneNode()).addEventListener("focus",l)),(i=t).length>0?(document.body.firstChild!==o&&document.body.insertBefore(o,document.body.firstChild),document.body.lastChild!==a&&document.body.appendChild(a)):(o.parentElement&&o.parentElement.removeChild(o),a.parentElement&&a.parentElement.removeChild(a))})}),s(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=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},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},o=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}}(),a=p(lh),i=d(sh),l=p(ch),u=d(mh),s=d(hh),c=p(ph),f=p(yh);function d(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function p(e){return e&&e.__esModule?e:{default:e}}var m={overlay:"ReactModal__Overlay",content:"ReactModal__Content"},h=0,y=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=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,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.setOverlayRef=function(e){n.overlay=e,n.props.overlayRef&&n.props.overlayRef(e)},n.setContentRef=function(e){n.content=e,n.props.contentRef&&n.props.contentRef(e)},n.afterClose=function(){var e=n.props,t=e.appElement,r=e.ariaHideApp,o=e.htmlOpenClassName,a=e.bodyOpenClassName;a&&s.remove(document.body,a),o&&s.remove(document.getElementsByTagName("html")[0],o),r&&h>0&&0==(h-=1)&&u.show(t),n.props.shouldFocusAfterRender&&(n.props.shouldReturnFocusAfterClose?(i.returnFocus(n.props.preventScroll),i.teardownScopedFocus()):i.popWithoutFocus()),n.props.onAfterClose&&n.props.onAfterClose(),f.default.deregister(n)},n.open=function(){n.beforeOpen(),n.state.afterOpen&&n.state.beforeClose?(clearTimeout(n.closeTimer),n.setState({beforeClose:!1})):(n.props.shouldFocusAfterRender&&(i.setupScopedFocus(n.node),i.markForFocusLater()),n.setState({isOpen:!0},function(){n.openAnimationFrame=requestAnimationFrame(function(){n.setState({afterOpen:!0}),n.props.isOpen&&n.props.onAfterOpen&&n.props.onAfterOpen({overlayEl:n.overlay,contentEl:n.content})})}))},n.close=function(){n.props.closeTimeoutMS>0?n.closeWithTimeout():n.closeWithoutTimeout()},n.focusContent=function(){return n.content&&!n.contentHasFocus()&&n.content.focus({preventScroll:!0})},n.closeWithTimeout=function(){var e=Date.now()+n.props.closeTimeoutMS;n.setState({beforeClose:!0,closesAt:e},function(){n.closeTimer=setTimeout(n.closeWithoutTimeout,n.state.closesAt-Date.now())})},n.closeWithoutTimeout=function(){n.setState({beforeClose:!1,isOpen:!1,afterOpen:!1,closesAt:null},n.afterClose)},n.handleKeyDown=function(e){9===e.keyCode&&(0,l.default)(n.content,e),n.props.shouldCloseOnEsc&&27===e.keyCode&&(e.stopPropagation(),n.requestClose(e))},n.handleOverlayOnClick=function(e){null===n.shouldClose&&(n.shouldClose=!0),n.shouldClose&&n.props.shouldCloseOnOverlayClick&&(n.ownerHandlesClose()?n.requestClose(e):n.focusContent()),n.shouldClose=null},n.handleContentOnMouseUp=function(){n.shouldClose=!1},n.handleOverlayOnMouseDown=function(e){n.props.shouldCloseOnOverlayClick||e.target!=n.overlay||e.preventDefault()},n.handleContentOnClick=function(){n.shouldClose=!1},n.handleContentOnMouseDown=function(){n.shouldClose=!1},n.requestClose=function(e){return n.ownerHandlesClose()&&n.props.onRequestClose(e)},n.ownerHandlesClose=function(){return n.props.onRequestClose},n.shouldBeClosed=function(){return!n.state.isOpen&&!n.state.beforeClose},n.contentHasFocus=function(){return document.activeElement===n.content||n.content.contains(document.activeElement)},n.buildClassName=function(e,t){var o="object"===(void 0===t?"undefined":r(t))?t:{base:m[e],afterOpen:m[e]+"--after-open",beforeClose:m[e]+"--before-close"},a=o.base;return n.state.afterOpen&&(a=a+" "+o.afterOpen),n.state.beforeClose&&(a=a+" "+o.beforeClose),"string"==typeof t&&t?a+" "+t:a},n.attributesFromObject=function(e,t){return Object.keys(t).reduce(function(n,r){return n[e+"-"+r]=t[r],n},{})},n.state={afterOpen:!1,beforeClose:!1},n.shouldClose=null,n.moveFromContentToOverlay=null,n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"componentDidMount",value:function(){this.props.isOpen&&this.open()}},{key:"componentDidUpdate",value:function(e,t){this.props.isOpen&&!e.isOpen?this.open():!this.props.isOpen&&e.isOpen&&this.close(),this.props.shouldFocusAfterRender&&this.state.isOpen&&!t.isOpen&&this.focusContent()}},{key:"componentWillUnmount",value:function(){this.state.isOpen&&this.afterClose(),clearTimeout(this.closeTimer),cancelAnimationFrame(this.openAnimationFrame)}},{key:"beforeOpen",value:function(){var e=this.props,t=e.appElement,n=e.ariaHideApp,r=e.htmlOpenClassName,o=e.bodyOpenClassName;o&&s.add(document.body,o),r&&s.add(document.getElementsByTagName("html")[0],r),n&&(h+=1,u.hide(t)),f.default.register(this)}},{key:"render",value:function(){var e=this.props,t=e.id,r=e.className,o=e.overlayClassName,a=e.defaultStyles,i=e.children,l=r?{}:a.content,u=o?{}:a.overlay;if(this.shouldBeClosed())return null;var s={ref:this.setOverlayRef,className:this.buildClassName("overlay",o),style:n({},u,this.props.style.overlay),onClick:this.handleOverlayOnClick,onMouseDown:this.handleOverlayOnMouseDown},c=n({id:t,ref:this.setContentRef,style:n({},l,this.props.style.content),className:this.buildClassName("content",r),tabIndex:"-1",onKeyDown:this.handleKeyDown,onMouseDown:this.handleContentOnMouseDown,onMouseUp:this.handleContentOnMouseUp,onClick:this.handleContentOnClick,role:this.props.role,"aria-label":this.props.contentLabel},this.attributesFromObject("aria",n({modal:!0},this.props.aria)),this.attributesFromObject("data",this.props.data||{}),{"data-testid":this.props.testId}),f=this.props.contentElement(c,i);return this.props.overlayElement(s,f)}}]),t}($t.Component);y.defaultProps={style:{overlay:{},content:{}},defaultStyles:{}},y.propTypes={isOpen:a.default.bool.isRequired,defaultStyles:a.default.shape({content:a.default.object,overlay:a.default.object}),style:a.default.shape({content:a.default.object,overlay:a.default.object}),className:a.default.oneOfType([a.default.string,a.default.object]),overlayClassName:a.default.oneOfType([a.default.string,a.default.object]),bodyOpenClassName:a.default.string,htmlOpenClassName:a.default.string,ariaHideApp:a.default.bool,appElement:a.default.oneOfType([a.default.instanceOf(c.default),a.default.instanceOf(ph.SafeHTMLCollection),a.default.instanceOf(ph.SafeNodeList),a.default.arrayOf(a.default.instanceOf(c.default))]),onAfterOpen:a.default.func,onAfterClose:a.default.func,onRequestClose:a.default.func,closeTimeoutMS:a.default.number,shouldFocusAfterRender:a.default.bool,shouldCloseOnOverlayClick:a.default.bool,shouldReturnFocusAfterClose:a.default.bool,preventScroll:a.default.bool,role:a.default.string,contentLabel:a.default.string,aria:a.default.object,data:a.default.object,children:a.default.node,shouldCloseOnEsc:a.default.bool,overlayRef:a.default.func,contentRef:a.default.func,id:a.default.string,overlayElement:a.default.func,contentElement:a.default.func,testId:a.default.string},t.default=y,e.exports=t.default}));function vh(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=e&&this.setState(e)}function bh(e){this.setState(function(t){var n=this.constructor.getDerivedStateFromProps(e,t);return null!=n?n:null}.bind(this))}function Eh(e,t){try{var n=this.props,r=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(n,r)}finally{this.props=n,this.state=r}}vh.__suppressDeprecationWarning=!0,bh.__suppressDeprecationWarning=!0,Eh.__suppressDeprecationWarning=!0;var wh=s(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.bodyOpenClassName=t.portalClassName=void 0;var n=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},r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=c($t),a=c(eh),i=c(lh),l=c(gh),u=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(mh),s=c(ph);function c(e){return e&&e.__esModule?e:{default:e}}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(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}var p=t.portalClassName="ReactModalPortal",m=t.bodyOpenClassName="ReactModal__Body--open",h=ph.canUseDOM&&void 0!==a.default.createPortal,y=function(e){return document.createElement(e)},g=function(){return h?a.default.createPortal:a.default.unstable_renderSubtreeIntoContainer};function v(e){return e()}var b=function(e){function t(){var e,r,i;f(this,t);for(var u=arguments.length,s=Array(u),c=0;c<u;c++)s[c]=arguments[c];return r=i=d(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(s))),i.removePortal=function(){!h&&a.default.unmountComponentAtNode(i.node);var e=v(i.props.parentSelector);e&&e.contains(i.node)?e.removeChild(i.node):console.warn('React-Modal: "parentSelector" prop did not returned any DOM element. Make sure that the parent element is unmounted to avoid any memory leaks.')},i.portalRef=function(e){i.portal=e},i.renderPortal=function(e){var r=g()(i,o.default.createElement(l.default,n({defaultStyles:t.defaultStyles},e)),i.node);i.portalRef(r)},d(i,r)}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),r(t,[{key:"componentDidMount",value:function(){ph.canUseDOM&&(h||(this.node=y("div")),this.node.className=this.props.portalClassName,v(this.props.parentSelector).appendChild(this.node),!h&&this.renderPortal(this.props))}},{key:"getSnapshotBeforeUpdate",value:function(e){return{prevParent:v(e.parentSelector),nextParent:v(this.props.parentSelector)}}},{key:"componentDidUpdate",value:function(e,t,n){if(ph.canUseDOM){var r=this.props,o=r.isOpen,a=r.portalClassName;e.portalClassName!==a&&(this.node.className=a);var i=n.prevParent,l=n.nextParent;l!==i&&(i.removeChild(this.node),l.appendChild(this.node)),(e.isOpen||o)&&!h&&this.renderPortal(this.props)}}},{key:"componentWillUnmount",value:function(){if(ph.canUseDOM&&this.node&&this.portal){var e=this.portal.state,t=Date.now(),n=e.isOpen&&this.props.closeTimeoutMS&&(e.closesAt||t+this.props.closeTimeoutMS);n?(e.beforeClose||this.portal.closeWithTimeout(),setTimeout(this.removePortal,n-t)):this.removePortal()}}},{key:"render",value:function(){return ph.canUseDOM&&h?(!this.node&&h&&(this.node=y("div")),g()(o.default.createElement(l.default,n({ref:this.portalRef,defaultStyles:t.defaultStyles},this.props)),this.node)):null}}],[{key:"setAppElement",value:function(e){u.setElement(e)}}]),t}($t.Component);b.propTypes={isOpen:i.default.bool.isRequired,style:i.default.shape({content:i.default.object,overlay:i.default.object}),portalClassName:i.default.string,bodyOpenClassName:i.default.string,htmlOpenClassName:i.default.string,className:i.default.oneOfType([i.default.string,i.default.shape({base:i.default.string.isRequired,afterOpen:i.default.string.isRequired,beforeClose:i.default.string.isRequired})]),overlayClassName:i.default.oneOfType([i.default.string,i.default.shape({base:i.default.string.isRequired,afterOpen:i.default.string.isRequired,beforeClose:i.default.string.isRequired})]),appElement:i.default.oneOfType([i.default.instanceOf(s.default),i.default.instanceOf(ph.SafeHTMLCollection),i.default.instanceOf(ph.SafeNodeList),i.default.arrayOf(i.default.instanceOf(s.default))]),onAfterOpen:i.default.func,onRequestClose:i.default.func,closeTimeoutMS:i.default.number,ariaHideApp:i.default.bool,shouldFocusAfterRender:i.default.bool,shouldCloseOnOverlayClick:i.default.bool,shouldReturnFocusAfterClose:i.default.bool,preventScroll:i.default.bool,parentSelector:i.default.func,aria:i.default.object,data:i.default.object,role:i.default.string,contentLabel:i.default.string,shouldCloseOnEsc:i.default.bool,overlayRef:i.default.func,contentRef:i.default.func,id:i.default.string,overlayElement:i.default.func,contentElement:i.default.func},b.defaultProps={isOpen:!1,portalClassName:p,bodyOpenClassName:m,role:"dialog",ariaHideApp:!0,closeTimeoutMS:0,shouldFocusAfterRender:!0,shouldCloseOnEsc:!0,shouldCloseOnOverlayClick:!0,shouldReturnFocusAfterClose:!0,preventScroll:!1,parentSelector:function(){return document.body},overlayElement:function(e,t){return o.default.createElement("div",e,t)},contentElement:function(e,t){return o.default.createElement("div",e,t)}},b.defaultStyles={overlay:{position:"fixed",top:0,left:0,right:0,bottom:0,backgroundColor:"rgba(255, 255, 255, 0.75)"},content:{position:"absolute",top:"40px",left:"40px",right:"40px",bottom:"40px",border:"1px solid #ccc",background:"#fff",overflow:"auto",WebkitOverflowScrolling:"touch",borderRadius:"4px",outline:"none",padding:"20px"}},function(e){var t=e.prototype;if(!t||!t.isReactComponent)throw new Error("Can only polyfill class components");if("function"!=typeof e.getDerivedStateFromProps&&"function"!=typeof t.getSnapshotBeforeUpdate)return e;var n=null,r=null,o=null;if("function"==typeof t.componentWillMount?n="componentWillMount":"function"==typeof t.UNSAFE_componentWillMount&&(n="UNSAFE_componentWillMount"),"function"==typeof t.componentWillReceiveProps?r="componentWillReceiveProps":"function"==typeof t.UNSAFE_componentWillReceiveProps&&(r="UNSAFE_componentWillReceiveProps"),"function"==typeof t.componentWillUpdate?o="componentWillUpdate":"function"==typeof t.UNSAFE_componentWillUpdate&&(o="UNSAFE_componentWillUpdate"),null!==n||null!==r||null!==o)throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+(e.displayName||e.name)+" uses "+("function"==typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()")+" but also contains the following legacy lifecycles:"+(null!==n?"\n "+n:"")+(null!==r?"\n "+r:"")+(null!==o?"\n "+o:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks");if("function"==typeof e.getDerivedStateFromProps&&(t.componentWillMount=vh,t.componentWillReceiveProps=bh),"function"==typeof t.getSnapshotBeforeUpdate){if("function"!=typeof t.componentDidUpdate)throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");t.componentWillUpdate=Eh;var a=t.componentDidUpdate;t.componentDidUpdate=function(e,t,n){a.call(this,e,t,this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:n)}}}(b),t.default=b}),_h=u(s(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n,r=(n=wh)&&n.__esModule?n:{default:n};t.default=r.default,e.exports=t.default})),Sh=s(function(e){!function(t){var n,r,o=!1;function a(e){if("undefined"!=typeof document&&!o){var t=document.documentElement;r=window.pageYOffset,t.style.width=document.documentElement.scrollHeight>window.innerHeight?"calc(100% - "+function(){if(void 0!==n)return n;var e=document.documentElement,t=document.createElement("div");return t.setAttribute("style","width:99px;height:99px;position:absolute;top:-9999px;overflow:scroll;"),e.appendChild(t),n=t.offsetWidth-t.clientWidth,e.removeChild(t),n}()+"px)":"100%",t.style.position="fixed",t.style.top=-r+"px",t.style.overflow="hidden",o=!0}}function i(){if("undefined"!=typeof document&&o){var e=document.documentElement;e.style.width="",e.style.position="",e.style.top="",e.style.overflow="",window.scroll(0,r),o=!1}}e.exports={on:a,off:i,toggle:function(){o?i():a()}}}()});function Ch(e){var t=e.color;return $t.createElement("svg",{className:e.className,width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},$t.createElement("path",{d:"M12.5964 11.404L9.41445 8.22205L12.5964 5.04007C12.7732 4.86329 12.7732 4.50974 12.5964 4.33296L11.8893 3.62585C11.6904 3.42698 11.359 3.44908 11.1822 3.62585L8.00023 6.80783L4.81825 3.62585C4.61938 3.42698 4.28792 3.44908 4.11114 3.62585L3.40404 4.33296C3.20516 4.53183 3.20516 4.84119 3.40404 5.04007L6.58602 8.22205L3.40404 11.404C3.20516 11.6029 3.20517 11.9123 3.40404 12.1111L4.11115 12.8182C4.28792 12.995 4.61938 13.0171 4.81825 12.8182L8.00023 9.63626L11.1822 12.8182C11.359 12.995 11.6904 13.0171 11.8893 12.8182L12.5964 12.1111C12.7732 11.9344 12.7732 11.5808 12.5964 11.404Z",fill:void 0===t?"#fff":t}))}var Oh=function(e){var t,n=e.children,r=e.isOpen,o=e.onClose,a=e.className,i=e.contentClassName,l=e.scrollable,u=void 0!==l&&l,s=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)t.indexOf(n=a[r])>=0||(o[n]=e[n]);return o}(e,["children","isOpen","onClose","className","contentClassName","scrollable"]);return _h.setAppElement("body"),$t.createElement(_h,Object.assign({className:rh("_D8SjB",a),overlayClassName:"_1yxCb",onAfterOpen:function(){Sh.on()},onAfterClose:function(){Sh.off()},onRequestClose:o,isOpen:r,shouldCloseOnOverlayClick:!0,shouldCloseOnEsc:!0},s),$t.createElement("div",{className:"_12LLh"},$t.createElement("button",{onClick:o,className:"_3YRro","data-testid":"modal-close-button"},$t.createElement(Ch,null))),$t.createElement("div",{className:rh("_ocM9x",i,(t={},t._1GP2F=u,t))},n))},kh=s(function(e,t){var n;"undefined"!=typeof self&&self,e.exports=(n=$t,function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=8)}([function(e,t,n){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(1)),a=r(n(9)),i=r(n(2)),l=n(11),u=r(n(3)),s=r(n(7)),c=function(e){if(e)return Object.keys(e).reduce(function(t,n){return t[(0,i.default)(n)]=e[n],t},{})},f=function(){var e=o.default.useRef(!1);return o.default.useEffect(function(){e.current=!0},[]),e.current};t.default=function(e,t,n){var r=function(e){var t=o.default.useContext(s.default),n=function(){return c(e)||c(t)},r=o.default.useState(n),a=r[0],i=r[1];return o.default.useEffect(function(){var e=n();(0,l.shallowEqualObjects)(a,e)||i(e)},[e,t]),a}(t),i=function(e){var t=function(){return function(e){return e.query||(0,u.default)(e)}(e)},n=o.default.useState(t),r=n[0],a=n[1];return o.default.useEffect(function(){var e=t();r!==e&&a(e)},[e]),r}(e);if(!i)throw new Error("Invalid or missing MediaQuery!");var d=function(e,t){var n=function(){return(0,a.default)(e,t||{},!!t)},r=o.default.useState(n),i=r[0],l=r[1],u=f();return o.default.useEffect(function(){if(u){var e=n();return l(e),function(){e&&e.dispose()}}},[e,t]),i}(i,r),p=function(e){var t=o.default.useState(e.matches),n=t[0],r=t[1];return o.default.useEffect(function(){var t=function(){r(e.matches)};return e.addListener(t),t(),function(){e.removeListener(t)}},[e]),n}(d),m=f();return o.default.useEffect(function(){m&&n&&n(p)},[p]),o.default.useEffect(function(){return function(){d&&d.dispose()}},[]),p}},function(e,t){e.exports=n},function(e,t,n){function r(e){return"-"+e.toLowerCase()}Object.defineProperty(t,"__esModule",{value:!0});var o=/[A-Z]/g,a=/^ms-/,i={};t.default=function(e){if(i.hasOwnProperty(e))return i[e];var t=e.replace(o,r);return i[e]=a.test(t)?"-"+t:t}},function(e,t,n){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(2)),a=r(n(12));t.default=function(e){var t=[];return Object.keys(a.default.all).forEach(function(n){var r=e[n];null!=r&&t.push(function(e,t){var n=(0,o.default)(e);return"number"==typeof t&&(t="".concat(t,"px")),!0===t?n:!1===t?"not ".concat(n):"(".concat(n,": ").concat(t,")")}(n,r))}),t.join(" and ")}},function(e,t,n){e.exports=n(14)},function(e,t,n){e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t){e.exports=Function.call.bind(Object.prototype.hasOwnProperty)},function(e,t,n){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(1)).default.createContext(void 0);t.default=o},function(e,t,n){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Context=t.toQuery=t.useMediaQuery=t.default=void 0;var o=r(n(0));t.useMediaQuery=o.default;var a=r(n(18));t.default=a.default;var i=r(n(3));t.toQuery=i.default;var l=r(n(7));t.Context=l.default},function(e,t,n){function r(e,t,n){function r(e){i.matches=e.matches,i.media=e.media}var i=this;if(a&&!n){var l=a.call(window,e);this.matches=l.matches,this.media=l.media,l.addListener(r)}else this.matches=o(e,t),this.media=e;this.addListener=function(e){l&&l.addListener(e)},this.removeListener=function(e){l&&l.removeListener(e)},this.dispose=function(){l&&l.removeListener(r)}}var o=n(10).match,a="undefined"!=typeof window?window.matchMedia:null;e.exports=function(e,t,n){return new r(e,t,n)}},function(e,t,n){function r(e){return e.split(",").map(function(e){var t=(e=e.trim()).match(l),n=t[1],r=t[2],o=t[3]||"",a={};return a.inverse=!!n&&"not"===n.toLowerCase(),a.type=r?r.toLowerCase():"all",o=o.match(/\([^\)]+\)/g)||[],a.expressions=o.map(function(e){var t=e.match(u),n=t[1].toLowerCase().match(s);return{modifier:n[1],feature:n[2],value:t[2]}}),a})}function o(e){var t,n=Number(e);return n||(n=(t=e.match(/^(\d+)\s*\/\s*(\d+)$/))[1]/t[2]),n}function a(e){var t=parseFloat(e);switch(String(e).match(f)[1]){case"dpcm":return t/2.54;case"dppx":return 96*t;default:return t}}function i(e){var t=parseFloat(e);switch(String(e).match(c)[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}}t.match=function(e,t){return r(e).some(function(e){var n=e.inverse,r="all"===e.type||t.type===e.type;if(r&&n||!r&&!n)return!1;var l=e.expressions.every(function(e){var n=e.feature,r=e.modifier,l=e.value,u=t[n];if(!u)return!1;switch(n){case"orientation":case"scan":return u.toLowerCase()===l.toLowerCase();case"width":case"height":case"device-width":case"device-height":l=i(l),u=i(u);break;case"resolution":l=a(l),u=a(u);break;case"aspect-ratio":case"device-aspect-ratio":case"device-pixel-ratio":l=o(l),u=o(u);break;case"grid":case"color":case"color-index":case"monochrome":l=parseInt(l,10)||1,u=parseInt(u,10)||0}switch(r){case"min":return u>=l;case"max":return u<=l;default:return u===l}});return l&&!n||!l&&n})},t.parse=r;var l=/(?:(only|not)?\s*([^\s\(\)]+)(?:\s*and)?\s*)?(.+)?/i,u=/\(\s*([^\s\:\)]+)\s*(?:\:\s*([^\s\)]+))?\s*\)/,s=/^(?:(min|max)-)?(.+)/,c=/(em|rem|px|cm|mm|in|pt|pc)?$/,f=/(dpi|dpcm|dppx)?$/},function(e,t,n){function r(e,t){if(e===t)return!0;if(!e||!t)return!1;var n=Object.keys(e),r=Object.keys(t),o=n.length;if(r.length!==o)return!1;for(var a=0;a<o;a++){var i=n[a];if(e[i]!==t[i]||!Object.prototype.hasOwnProperty.call(t,i))return!1}return!0}function o(e,t){if(e===t)return!0;if(!e||!t)return!1;var n=e.length;if(t.length!==n)return!1;for(var r=0;r<n;r++)if(e[r]!==t[r])return!1;return!0}Object.defineProperty(t,"__esModule",{value:!0}),n.d(t,"shallowEqualArrays",function(){return o}),n.d(t,"shallowEqualObjects",function(){return r})},function(e,t,n){var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},o=this&&this.__rest||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 o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=a(n(13)),l=i.default.oneOfType([i.default.string,i.default.number]),u={all:i.default.bool,grid:i.default.bool,aural:i.default.bool,braille:i.default.bool,handheld:i.default.bool,print:i.default.bool,projection:i.default.bool,screen:i.default.bool,tty:i.default.bool,tv:i.default.bool,embossed:i.default.bool},s={orientation:i.default.oneOf(["portrait","landscape"]),scan:i.default.oneOf(["progressive","interlace"]),aspectRatio:i.default.string,deviceAspectRatio:i.default.string,height:l,deviceHeight:l,width:l,deviceWidth:l,color:i.default.bool,colorIndex:i.default.bool,monochrome:i.default.bool,resolution:l,type:Object.keys(u)},c=o(s,["type"]),f=r({minAspectRatio:i.default.string,maxAspectRatio:i.default.string,minDeviceAspectRatio:i.default.string,maxDeviceAspectRatio:i.default.string,minHeight:l,maxHeight:l,minDeviceHeight:l,maxDeviceHeight:l,minWidth:l,maxWidth:l,minDeviceWidth:l,maxDeviceWidth:l,minColor:i.default.number,maxColor:i.default.number,minColorIndex:i.default.number,maxColorIndex:i.default.number,minMonochrome:i.default.number,maxMonochrome:i.default.number,minResolution:l,maxResolution:l},c),d=r(r({},u),f);t.default={all:d,types:u,matchers:s,features:f}},function(e,t,n){var r=n(4);e.exports=n(15)(r.isElement,!0)},function(e,t,n){!function(){function e(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case o:var n=e.type;switch(n){case f:case d:case i:case u:case l:case m:return n;default:var r=n&&n.$$typeof;switch(r){case c:case p:case g:case y:case s:return r;default:return t}}case a:return t}}}function n(t){return e(t)===d}var r="function"==typeof Symbol&&Symbol.for,o=r?Symbol.for("react.element"):60103,a=r?Symbol.for("react.portal"):60106,i=r?Symbol.for("react.fragment"):60107,l=r?Symbol.for("react.strict_mode"):60108,u=r?Symbol.for("react.profiler"):60114,s=r?Symbol.for("react.provider"):60109,c=r?Symbol.for("react.context"):60110,f=r?Symbol.for("react.async_mode"):60111,d=r?Symbol.for("react.concurrent_mode"):60111,p=r?Symbol.for("react.forward_ref"):60112,m=r?Symbol.for("react.suspense"):60113,h=r?Symbol.for("react.suspense_list"):60120,y=r?Symbol.for("react.memo"):60115,g=r?Symbol.for("react.lazy"):60116,v=r?Symbol.for("react.block"):60121,b=r?Symbol.for("react.fundamental"):60117,E=r?Symbol.for("react.responder"):60118,w=r?Symbol.for("react.scope"):60119,_=d,S=c,C=s,O=o,k=p,T=i,P=g,N=y,x=a,A=u,L=l,R=m,I=!1;t.AsyncMode=f,t.ConcurrentMode=_,t.ContextConsumer=S,t.ContextProvider=C,t.Element=O,t.ForwardRef=k,t.Fragment=T,t.Lazy=P,t.Memo=N,t.Portal=x,t.Profiler=A,t.StrictMode=L,t.Suspense=R,t.isAsyncMode=function(t){return I||(I=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),n(t)||e(t)===f},t.isConcurrentMode=n,t.isContextConsumer=function(t){return e(t)===c},t.isContextProvider=function(t){return e(t)===s},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===o},t.isForwardRef=function(t){return e(t)===p},t.isFragment=function(t){return e(t)===i},t.isLazy=function(t){return e(t)===g},t.isMemo=function(t){return e(t)===y},t.isPortal=function(t){return e(t)===a},t.isProfiler=function(t){return e(t)===u},t.isStrictMode=function(t){return e(t)===l},t.isSuspense=function(t){return e(t)===m},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===d||e===u||e===l||e===m||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===y||e.$$typeof===s||e.$$typeof===c||e.$$typeof===p||e.$$typeof===b||e.$$typeof===E||e.$$typeof===w||e.$$typeof===v)},t.typeOf=e}()},function(e,t,n){function r(){return null}var o,a=n(4),i=n(16),l=n(5),u=n(6),s=n(17);o=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}},e.exports=function(e,t){function n(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function c(e,t){this.message=e,this.data=t&&"object"==typeof t?t:{},this.stack=""}function f(e){function n(n,i,u,s,f,d,p){if(s=s||E,d=d||u,p!==l){if(t){var m=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 m.name="Invariant Violation",m}if("undefined"!=typeof console){var h=s+":"+u;!r[h]&&a<3&&(o("You are manually calling a React.PropTypes validation function for the `"+d+"` prop on `"+s+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),r[h]=!0,a++)}}return null==i[u]?n?new c(null===i[u]?"The "+f+" `"+d+"` is marked as required in `"+s+"`, but its value is `null`.":"The "+f+" `"+d+"` is marked as required in `"+s+"`, but its value is `undefined`."):null:e(i,u,s,f,d)}var r={},a=0,i=n.bind(null,!1);return i.isRequired=n.bind(null,!0),i}function d(e){return f(function(t,n,r,o,a,i){var l=t[n];return h(l)!==e?new c("Invalid "+o+" `"+a+"` of type `"+y(l)+"` supplied to `"+r+"`, expected `"+e+"`.",{expectedType:e}):null})}function p(e,t,n,r,o){return new c((e||"React class")+": "+t+" type `"+n+"."+r+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+o+"`.")}function m(t){switch(typeof t){case"number":case"string":case"undefined":return!0;case"boolean":return!t;case"object":if(Array.isArray(t))return t.every(m);if(null===t||e(t))return!0;var n=function(e){var t=e&&(v&&e[v]||e[b]);if("function"==typeof t)return t}(t);if(!n)return!1;var r,o=n.call(t);if(n!==t.entries){for(;!(r=o.next()).done;)if(!m(r.value))return!1}else for(;!(r=o.next()).done;){var a=r.value;if(a&&!m(a[1]))return!1}return!0;default:return!1}}function h(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,t){return"symbol"===e||!!t&&("Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}(t,e)?"symbol":t}function y(e){if(null==e)return""+e;var t=h(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function g(e){var t=y(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}var v="function"==typeof Symbol&&Symbol.iterator,b="@@iterator",E="<<anonymous>>",w={array:d("array"),bigint:d("bigint"),bool:d("boolean"),func:d("function"),number:d("number"),object:d("object"),string:d("string"),symbol:d("symbol"),any:f(r),arrayOf:function(e){return f(function(t,n,r,o,a){if("function"!=typeof e)return new c("Property `"+a+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var i=t[n];if(!Array.isArray(i))return new c("Invalid "+o+" `"+a+"` of type `"+h(i)+"` supplied to `"+r+"`, expected an array.");for(var u=0;u<i.length;u++){var s=e(i,u,r,o,a+"["+u+"]",l);if(s instanceof Error)return s}return null})},element:f(function(t,n,r,o,a){var i=t[n];return e(i)?null:new c("Invalid "+o+" `"+a+"` of type `"+h(i)+"` supplied to `"+r+"`, expected a single ReactElement.")}),elementType:f(function(e,t,n,r,o){var i=e[t];return a.isValidElementType(i)?null:new c("Invalid "+r+" `"+o+"` of type `"+h(i)+"` supplied to `"+n+"`, expected a single ReactElement type.")}),instanceOf:function(e){return f(function(t,n,r,o,a){var i;return t[n]instanceof e?null:new c("Invalid "+o+" `"+a+"` of type `"+((i=t[n]).constructor&&i.constructor.name?i.constructor.name:E)+"` supplied to `"+r+"`, expected instance of `"+(e.name||E)+"`.")})},node:f(function(e,t,n,r,o){return m(e[t])?null:new c("Invalid "+r+" `"+o+"` supplied to `"+n+"`, expected a ReactNode.")}),objectOf:function(e){return f(function(t,n,r,o,a){if("function"!=typeof e)return new c("Property `"+a+"` of component `"+r+"` has invalid PropType notation inside objectOf.");var i=t[n],s=h(i);if("object"!==s)return new c("Invalid "+o+" `"+a+"` of type `"+s+"` supplied to `"+r+"`, expected an object.");for(var f in i)if(u(i,f)){var d=e(i,f,r,o,a+"."+f,l);if(d instanceof Error)return d}return null})},oneOf:function(e){function t(t,r,o,a,i){for(var l=t[r],u=0;u<e.length;u++)if(n(l,e[u]))return null;var s=JSON.stringify(e,function(e,t){return"symbol"===y(t)?String(t):t});return new c("Invalid "+a+" `"+i+"` of value `"+String(l)+"` supplied to `"+o+"`, expected one of "+s+".")}return Array.isArray(e)?f(t):(o(arguments.length>1?"Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).":"Invalid argument supplied to oneOf, expected an array."),r)},oneOfType:function(e){if(!Array.isArray(e))return o("Invalid argument supplied to oneOfType, expected an instance of array."),r;for(var t=0;t<e.length;t++){var n=e[t];if("function"!=typeof n)return o("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+g(n)+" at index "+t+"."),r}return f(function(t,n,r,o,a){for(var i=[],s=0;s<e.length;s++){var f=(0,e[s])(t,n,r,o,a,l);if(null==f)return null;f.data&&u(f.data,"expectedType")&&i.push(f.data.expectedType)}return new c("Invalid "+o+" `"+a+"` supplied to `"+r+"`"+(i.length>0?", expected one of type ["+i.join(", ")+"]":"")+".")})},shape:function(e){return f(function(t,n,r,o,a){var i=t[n],u=h(i);if("object"!==u)return new c("Invalid "+o+" `"+a+"` of type `"+u+"` supplied to `"+r+"`, expected `object`.");for(var s in e){var f=e[s];if("function"!=typeof f)return p(r,o,a,s,y(f));var d=f(i,s,r,o,a+"."+s,l);if(d)return d}return null})},exact:function(e){return f(function(t,n,r,o,a){var s=t[n],f=h(s);if("object"!==f)return new c("Invalid "+o+" `"+a+"` of type `"+f+"` supplied to `"+r+"`, expected `object`.");var d=i({},t[n],e);for(var m in d){var g=e[m];if(u(e,m)&&"function"!=typeof g)return p(r,o,a,m,y(g));if(!g)return new c("Invalid "+o+" `"+a+"` key `"+m+"` supplied to `"+r+"`.\nBad object: "+JSON.stringify(t[n],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var v=g(s,m,r,o,a+"."+m,l);if(v)return v}return null})}};return c.prototype=Error.prototype,w.checkPropTypes=s,w.resetWarningCache=s.resetWarningCache,w.PropTypes=w,w}},function(e,t,n){function r(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}var o=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,i=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,t){for(var n,l,u=r(e),s=1;s<arguments.length;s++){for(var c in n=Object(arguments[s]))a.call(n,c)&&(u[c]=n[c]);if(o){l=o(n);for(var f=0;f<l.length;f++)i.call(n,l[f])&&(u[l[f]]=n[l[f]])}}return u}},function(e,t,n){function r(e,t,n,r,u){for(var s in e)if(l(e,s)){var c;try{if("function"!=typeof e[s]){var f=Error((r||"React class")+": "+n+" type `"+s+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[s]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw f.name="Invariant Violation",f}c=e[s](t,s,r,n,null,a)}catch(e){c=e}if(!c||c instanceof Error||o((r||"React class")+": type specification of "+n+" `"+s+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof c+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),c instanceof Error&&!(c.message in i)){i[c.message]=!0;var d=u?u():"";o("Failed "+n+" type: "+c.message+(null!=d?d:""))}}}var o=function(){},a=n(5),i={},l=n(6);o=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}},r.resetWarningCache=function(){i={}},e.exports=r},function(e,t,n){var r=this&&this.__rest||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 o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var a=o(n(0));t.default=function(e){var t=e.children,n=e.device,o=e.onChange,i=r(e,["children","device","onChange"]),l=(0,a.default)(i,n,o);return"function"==typeof t?t(l):l?t:null}}]))});function Th(e,t){if(t.length<e)throw new TypeError(e+" argument"+(e>1?"s":"")+" required, but only "+t.length+" present")}function Ph(e){Th(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||"object"==typeof e&&"[object Date]"===t?new Date(e.getTime()):"number"==typeof e||"[object Number]"===t?new Date(e):("string"!=typeof e&&"[object String]"!==t||"undefined"==typeof console||(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://git.io/fjule"),console.warn((new Error).stack)),new Date(NaN))}function Nh(e){Th(1,arguments);var t=Ph(e);return t.setHours(0,0,0,0),t}function xh(e,t){Th(2,arguments);var n=Nh(e),r=Nh(t);return n.getTime()===r.getTime()}function Ah(e){return Th(1,arguments),1e3*e}var Lh=function(e){var t=e.installments_count,n=e.deferred_days+30*e.deferred_months;return 1===t?$t.createElement(Qo,{id:"payment-plan-strings.day-abbreviation",defaultMessage:"J{numberOfDeferredDays}",values:{numberOfDeferredDays:n>0?"+"+n:""}}):t+"x"},Rh=function(e){var t=e.currentPlanIndex,n=e.setCurrentPlanIndex;return $t.createElement("div",{className:"_1l2Oa"},e.eligibilityPlans.map(function(e,r){var o;return $t.createElement("button",{key:r,className:rh((o={},o._3rue7=r===t,o)),onClick:function(){return n(r)}},Lh(e))}))},Ih=function(e){var t=e.currentPlan,n=t&&Ut(t.purchase_amount+t.customer_total_cost_amount),r=t?Ut(t.customer_total_cost_amount):0,o=(null==t?void 0:t.annual_interest_rate)&&t.annual_interest_rate/1e4,a=Ut(t?t.customer_total_cost_amount:0),i=t&&t.installments_count>4,l=zo();return $t.createElement("div",{className:"_MPKjS","data-testid":"modal-installments-element"},$t.createElement("div",{className:rh("_1A7Qv","_14Ejo")},$t.createElement("span",null,$t.createElement(Qo,{id:"eligibility-modal.total",defaultMessage:"Total"})),$t.createElement("span",null,$t.createElement(Ko,{value:n,style:"currency",currency:"EUR"}))),$t.createElement("div",{className:rh("_1A7Qv","_1ZIgu")},$t.createElement("span",null,$t.createElement(Qo,i?{id:"eligibility-modal.credit-cost",defaultMessage:"Dont coût du crédit"}:{id:"eligibility-modal.cost",defaultMessage:"Dont frais"})),$t.createElement("span",null,i?$t.createElement(Qo,{id:"eligibility-modal.credit-cost-amount",defaultMessage:"{creditCost} (TAEG {TAEG})",values:{creditCost:l.formatNumber(r,{style:"currency",currency:"EUR"}),TAEG:l.formatNumber(null!=o?o:0,{style:"percent",maximumFractionDigits:2})}}):$t.createElement(Ko,{value:a,style:"currency",currency:"EUR"}))),((null==t?void 0:t.payment_plan)||[]).map(function(e,t){return $t.createElement("div",{className:"_1A7Qv",key:t},$t.createElement("span",null,function(e){return Th(1,arguments),xh(e,Date.now())}(1e3*e.due_date)?$t.createElement(Qo,{id:"installments.today",defaultMessage:"Aujourd'hui"}):$t.createElement(Xo,{value:1e3*e.due_date,day:"numeric",month:"long",year:"numeric"})),$t.createElement("span",null,$t.createElement(Ko,{value:Ut(e.total_amount),style:"currency",currency:"EUR"})))}),i&&$t.createElement("p",{className:"_1BUr8"},$t.createElement(Qo,{id:"eligibility-modal.credit-commitment",defaultMessage:"Un crédit vous engage et doit être remboursé. Vérifiez vos capacités de remboursement\n avant de vous engager."})))},Mh=function(){return $t.createElement("div",{className:"_180ro","data-testid":"modal-info-element"},$t.createElement("div",{className:"_1HqCO"},$t.createElement("div",{className:"_3B8wx"},"1"),$t.createElement("div",null,$t.createElement(Qo,{id:"eligibility-modal.bullet-1",defaultMessage:"Choisissez <strong>Alma</strong> au moment du paiement.",values:{strong:function(){return $t.createElement("strong",null,[].slice.call(arguments))}}}))),$t.createElement("div",{className:"_1HqCO"},$t.createElement("div",{className:"_3B8wx"},"2"),$t.createElement("div",null,$t.createElement(Qo,{id:"eligibility-modal.bullet-2",defaultMessage:"Renseignez les <strong>informations</strong> demandées.",values:{strong:function(){return $t.createElement("strong",null,[].slice.call(arguments))}}}))),$t.createElement("div",{className:"_1HqCO"},$t.createElement("div",{className:"_3B8wx"},"3"),$t.createElement("div",null,$t.createElement(Qo,{id:"eligibility-modal.bullet-3",defaultMessage:"La validation de votre paiement <strong>instantanée</strong> !",values:{strong:function(){return $t.createElement("strong",null,[].slice.call(arguments))}}}))))};function Dh(e){var t=e.color,n=void 0===t?"#00425D":t,r=e.underlineColor,o=void 0===r?"#00425D":r;return $t.createElement("svg",{className:e.className,width:"35",height:"23",viewBox:"0 0 40 23",fill:"none",xmlns:"http://www.w3.org/2000/svg"},$t.createElement("path",{d:"M6.38546 10.1313V10.029H4.92542C4.23835 10.029 3.72877 10.0972 3.39668 10.2337C3.07605 10.3587 2.91573 10.6374 2.91573 11.0695C2.91573 11.7177 3.37378 12.0418 4.28988 12.0418C5.05711 12.0418 5.59532 11.8826 5.9045 11.5642C6.22514 11.2344 6.38546 10.7568 6.38546 10.1313ZM3.72304 13.9182C2.64663 13.9182 1.85076 13.6567 1.33546 13.1335C0.820153 12.599 0.5625 11.911 0.5625 11.0695C0.5625 10.0574 0.894586 9.32958 1.55876 8.88606C2.22293 8.43118 3.23636 8.20374 4.59906 8.20374H6.38546V7.82846C6.38546 6.98693 5.84725 6.56616 4.77083 6.56616C3.80893 6.56616 3.27644 6.93007 3.17338 7.65788H0.768622C0.848781 6.78223 1.21522 6.04873 1.86794 5.45738C2.52066 4.86603 3.50547 4.57036 4.82236 4.57036C6.1278 4.57036 7.11261 4.86035 7.77678 5.44032C8.44095 6.0203 8.77304 6.83909 8.77304 7.89669V13.7135H6.60875V12.7241C6.09345 13.5202 5.13155 13.9182 3.72304 13.9182Z",fill:n}),$t.createElement("path",{d:"M14.2554 11.6324V13.6965C14.0149 13.7306 13.763 13.7476 13.4996 13.7476C12.5492 13.7476 11.8736 13.5486 11.4728 13.1506C11.072 12.7412 10.8716 12.0873 10.8716 11.1889V0.919922H13.3107V11.0183C13.3107 11.2344 13.3508 11.3936 13.4309 11.496C13.5111 11.5983 13.6771 11.6495 13.929 11.6495C13.9863 11.6495 14.0493 11.6495 14.118 11.6495C14.1982 11.6381 14.244 11.6324 14.2554 11.6324Z",fill:n}),$t.createElement("path",{d:"M23.8943 8.63019V13.7135H21.4552V8.40844C21.4552 7.23711 20.9742 6.65145 20.0123 6.65145C19.4512 6.65145 19.0161 6.82203 18.7069 7.16319C18.4092 7.50436 18.2603 7.9763 18.2603 8.57902V13.7135H15.8212V4.77506H18.0714V5.86678C18.5409 5.0025 19.4054 4.57036 20.6651 4.57036C21.856 4.57036 22.7263 4.99113 23.2759 5.83266C24.0432 4.99113 25.0394 4.57036 26.2647 4.57036C27.3182 4.57036 28.1255 4.89446 28.6867 5.54267C29.2478 6.19088 29.5283 7.05516 29.5283 8.13551V13.7135H27.0892V8.40844C27.0892 7.23711 26.6083 6.65145 25.6464 6.65145C25.0738 6.65145 24.6386 6.82772 24.3409 7.18025C24.0432 7.52141 23.8943 8.00473 23.8943 8.63019Z",fill:n}),$t.createElement("path",{d:"M37.0321 10.1313V10.029H35.572C34.885 10.029 34.3754 10.0972 34.0433 10.2337C33.7227 10.3587 33.5623 10.6374 33.5623 11.0695C33.5623 11.7177 34.0204 12.0418 34.9365 12.0418C35.7037 12.0418 36.2419 11.8826 36.5511 11.5642C36.8717 11.2344 37.0321 10.7568 37.0321 10.1313ZM34.3696 13.9182C33.2932 13.9182 32.4974 13.6567 31.9821 13.1335C31.4668 12.599 31.2091 11.911 31.2091 11.0695C31.2091 10.0574 31.5412 9.32958 32.2054 8.88606C32.8695 8.43118 33.883 8.20374 35.2457 8.20374H37.0321V7.82846C37.0321 6.98693 36.4939 6.56616 35.4174 6.56616C34.4555 6.56616 33.923 6.93007 33.82 7.65788H31.4152C31.4954 6.78223 31.8618 6.04873 32.5145 5.45738C33.1673 4.86603 34.1521 4.57036 35.469 4.57036C36.7744 4.57036 37.7592 4.86035 38.4234 5.44032C39.0876 6.0203 39.4196 6.83909 39.4196 7.89669V13.7135H37.2554V12.7241C36.7401 13.5202 35.7781 13.9182 34.3696 13.9182Z",fill:n}),$t.createElement("rect",{y:"20",width:"40",height:"3",fill:o}))}var Fh,jh,Uh,zh=function(){return $t.createElement("div",{className:"_3Oyv_"},$t.createElement(Dh,{underlineColor:"#FF414D"}))},Vh=function(){return $t.createElement("div",{className:"_3ERx-","data-testid":"modal-title-element"},$t.createElement(Qo,{id:"eligibility-modal.title",defaultMessage:"<highlighted>Payez en plusieurs fois</highlighted> ou plus tard par carte bancaire avec Alma.",values:{highlighted:function(){return $t.createElement("span",null,[].slice.call(arguments))}}}))},Gh=function(e){var t=e.children;return $t.createElement("div",{className:"_21g6u","data-testid":"modal-container"},$t.createElement("div",{className:rh(["_3zaP5","_2SBRC"])},$t.createElement(Vh,null),$t.createElement(Mh,null),$t.createElement(zh,null)),$t.createElement("div",{className:"_3zaP5"},t))},Wh=function(e){var t=e.children;return $t.createElement("div",{className:"_2G7Ch","data-testid":"modal-container"},$t.createElement(Vh,null),t,$t.createElement(Mh,null),$t.createElement(zh,null))},Bh=function(e){var t=e.onClose,n=e.eligibilityPlans,r=e.status,o=$t.useState(e.initialPlanIndex||0),a=o[0],i=o[1],l=kh.useMediaQuery({minWidth:800})?Gh:Wh,u=n.filter(function(e){return e.eligible}),s=u[a];return $t.createElement(Oh,{onClose:t,ariaHideApp:!1,scrollable:!0,isOpen:!0},$t.createElement(l,Object.assign({},{eligibilityPlans:u,currentPlanIndex:a,setCurrentPlanIndex:i,currentPlan:s,status:r}),r===Mt.PENDING&&$t.createElement("div",{className:"_2oTJq"},$t.createElement(oh,null)),r===Mt.SUCCESS&&0===u.length&&$t.createElement("div",{className:"_17qNJ"},$t.createElement(Qo,{id:"eligibility-modal.no-eligibility",defaultMessage:"Oups, il semblerait que la simulation n'aie pas fonctionné."})),r===Mt.SUCCESS&&u.length>=1&&$t.createElement($t.Fragment,null,$t.createElement(Rh,{eligibilityPlans:u,currentPlanIndex:a,setCurrentPlanIndex:i}),$t.createElement(Ih,{currentPlan:s}))))},Hh=function(e){var t=e.onClose,n=nh(e.purchaseAmount,e.apiData,e.configPlans);return $t.createElement(Bh,{initialPlanIndex:0,onClose:t,eligibilityPlans:n[0],status:n[1]})},$h=function(e){return $t.createElement("div",{className:rh("_2SwwZ",e.className),"data-testid":"loader"},$t.createElement("div",{className:"_2qODo"}),$t.createElement("div",{className:"_2YO01"}))},qh=function(e){var t,n,r,o,a=e.transitionDelay,i=e.hideIfNotEligible,l=e.suggestedPaymentPlan,u=nh(e.purchaseAmount,e.apiData,e.configPlans),s=u[0],c=u[1],f=s.filter(function(e){return e.eligible}),d=function(e){var t=e.suggestedPaymentPlan,n=e.eligibilityPlans,r=Array.isArray(t)?t:[t],o=function(e){var t=r[e],o=n.findIndex(function(e){return e.installments_count===t&&e.eligible});if(-1!==o)return{v:o}};for(var a in r){var i=o(a);if("object"==typeof i)return i.v}return 0}({eligibilityPlans:s,suggestedPaymentPlan:null!=l?l:0}),p=void 0!==l,m=void 0!==a,h=$t.useState(!1),y=h[0],g=h[1],v=s.reduce(function(e,t,n){return t.eligible?[].concat(e,[n]):e},[]),b=function(e,t){var n=$t.useState(0),r=n[0],o=n[1],a=$t.useState(!0),i=a[0],l=a[1];return $t.useEffect(function(){var n=!0;return 0!==e.length&&(!e.includes(r)&&i&&o(e[0]),setTimeout(function(){i&&n&&o(e[e.includes(r)?(e.indexOf(r)+1)%e.length:0])},t)),function(){n=!1}},[e,r]),{current:r,onHover:function(e){o(e),l(!1)},onLeave:function(){l(!0)}}}(v,m?null!=a?a:5500:p?31536e6:5500),E=b.current,w=b.onHover,_=b.onLeave;return $t.useEffect(function(){c===Mt.SUCCESS&&p&&(w(d),_())},[c]),c===Mt.PENDING?$t.createElement("div",{className:rh("_TSkFv","_1ZDMS")},$t.createElement($h,null)):i&&0===f.length||0===s.length||c===Mt.FAILED?null:$t.createElement($t.Fragment,null,$t.createElement("div",{onClick:function(e){e.preventDefault(),f.length>0&&g(!0)},className:rh("_TSkFv",(t={},t._UksZa=f.length>0,t["_1lr-q"]=0===f.length,t)),"data-testid":"widget-button"},$t.createElement("div",{className:"_bMClc"},$t.createElement(Dh,{className:"_LJ4nZ"}),$t.createElement("div",{className:"_17c_S"},s.map(function(e,t){var n;return $t.createElement("div",{key:t,onMouseEnter:function(){return w(t)},onMouseOut:_,className:rh("_2Kqjn",(n={},n._3dG_J=E===t,n._3O1bg=!e.eligible,n))},Lh(e))}))),$t.createElement("div",{className:rh("_25GrF",(n={},n._3O1bg=s[E]&&!s[E].eligible,n))},0!==s.length&&function(e){var t=e.installments_count,n=e.minAmount,r=void 0===n?0:n,o=e.maxAmount,a=void 0===o?0:o,i=e.deferred_days+30*e.deferred_months,l=function(){if(e.payment_plan.every(function(e){return 0===e.customer_fee&&0===e.customer_interest}))return $t.createElement($t.Fragment,null," ",$t.createElement(Qo,{id:"payment-plan-strings.no-fee",defaultMessage:"(sans frais)"}))};if(!e.eligible)return $t.createElement(Qo,e.purchase_amount>a?{id:"payment-plan-strings.ineligible-greater-than-max",defaultMessage:"Jusqu'à {maxAmount}",values:{maxAmount:$t.createElement(Ko,{value:Ut(a),style:"currency",currency:"EUR"})}}:{id:"payment-plan-strings.ineligible-lower-than-min",defaultMessage:"À partir de {minAmount}",values:{minAmount:$t.createElement(Ko,{value:Ut(r),style:"currency",currency:"EUR"})}});if(0!==i&&1===t)return $t.createElement($t.Fragment,null,$t.createElement(Qo,{id:"payment-plan-strings.deferred",defaultMessage:"{totalAmount} à payer le {dueDate}",values:{totalAmount:$t.createElement(Ko,{value:Ut(e.payment_plan[0].total_amount),style:"currency",currency:"EUR"}),dueDate:$t.createElement(Xo,{value:Ah(e.payment_plan[0].due_date),day:"numeric",month:"long",year:"numeric"})}}),l());if(t>0){var u=e.payment_plan.every(function(t,n){return 0===n||t.total_amount===e.payment_plan[0].total_amount});return $t.createElement($t.Fragment,null,$t.createElement(Qo,u?{id:"payment-plan-strings.multiple-installments-same-amount",defaultMessage:"{installmentsCount} x {totalAmount}",values:{totalAmount:$t.createElement(Ko,{value:Ut(e.payment_plan[0].total_amount),style:"currency",currency:"EUR"}),installmentsCount:t}}:{id:"payment-plan-strings.multiple-installments",defaultMessage:"{numberOfRemainingInstallments, plural, one {{firstInstallmentAmount} puis {numberOfRemainingInstallments} x {othersInstallmentAmount}} other {{firstInstallmentAmount} puis {numberOfRemainingInstallments} x {othersInstallmentAmount}}}",values:{firstInstallmentAmount:$t.createElement(Ko,{value:Ut(e.payment_plan[0].total_amount),style:"currency",currency:"EUR"}),numberOfRemainingInstallments:t-1,othersInstallmentAmount:$t.createElement(Ko,{value:Ut(e.payment_plan[1].total_amount),style:"currency",currency:"EUR"})}}),l())}return $t.createElement(Qo,{id:"payment-plan-strings.default-message",defaultMessage:"Payez en plusieurs fois avec Alma"})}(s[E]))),y&&$t.createElement(Bh,{initialPlanIndex:(r=E,o=v.findIndex(function(e){return e===r}),-1===o?0:o),onClose:function(){return g(!1)},eligibilityPlans:f,status:c}))},Qh=function(){function e(e){this.apiData=e}return e.prototype.add=function(e,t){var n=this,r=document.querySelector(t.container);if(r&&eh.unmountComponentAtNode(r),e===It.PaymentPlans){var o=t.container,a=t.locale;r&&eh.render($t.createElement(oa,{locale:void 0===a?Dt.en:a},$t.createElement(qh,{purchaseAmount:t.purchaseAmount,apiData:this.apiData,configPlans:t.plans,transitionDelay:t.transitionDelay,hideIfNotEligible:t.hideIfNotEligible,suggestedPaymentPlan:t.suggestedPaymentPlan})),document.querySelector(o))}if(e===It.Modal){var i,l=t.container,u=t.clickableSelector,s=t.purchaseAmount,c=t.plans,f=t.locale,d=void 0===f?Dt.en:f,p=function(){return r&&eh.unmountComponentAtNode(r)},m=function(){eh.render($t.createElement(oa,{locale:d},$t.createElement(Hh,{purchaseAmount:s,apiData:n.apiData,configPlans:c,onClose:p})),document.querySelector(l))};return u&&(null==(i=document.querySelector(u))||i.addEventListener("click",m,!1)),{open:m,close:p}}},e}();(Fh=e.ApiMode||(e.ApiMode={})).LIVE="https://api.getalma.eu",Fh.TEST="https://api.sandbox.getalma.eu",(jh=e.Widgets||(e.Widgets={})).initialize=function(e,t){return new Qh({domain:t,merchantId:e})},jh.PaymentPlans=It.PaymentPlans,jh.Modal=It.Modal,(Uh=e.Utils||(e.Utils={})).priceToCents=function(e){return Math.round(100*e)},Uh.priceFromCents=Ut,Uh.formatCents=function(e){return String(Ut(e)).replace(".",",")}});
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e=e||self).Alma={})}(this,function(e){var t=Math.ceil,n=Math.floor,r=function(e){return isNaN(e=+e)?0:(e>0?n:t)(e)},o=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e},a=function(e){return function(t,n){var a,i,l=String(o(t)),u=r(n),s=l.length;return u<0||u>=s?e?"":void 0:(a=l.charCodeAt(u))<55296||a>56319||u+1===s||(i=l.charCodeAt(u+1))<56320||i>57343?e?l.charAt(u):a:e?l.slice(u,u+2):i-56320+(a-55296<<10)+65536}},i={codeAt:a(!1),charAt:a(!0)},l="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function u(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function s(e,t,n){return e(n={path:t,exports:{},require:function(e,t){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}()}},n.exports),n.exports}var c=function(e){return e&&e.Math==Math&&e},f=c("object"==typeof globalThis&&globalThis)||c("object"==typeof window&&window)||c("object"==typeof self&&self)||c("object"==typeof l&&l)||function(){return this}()||Function("return this")(),d=function(e){try{return!!e()}catch(e){return!0}},p=!d(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}),m=function(e){return"object"==typeof e?null!==e:"function"==typeof e},h=f.document,y=m(h)&&m(h.createElement),g=function(e){return y?h.createElement(e):{}},v=!p&&!d(function(){return 7!=Object.defineProperty(g("div"),"a",{get:function(){return 7}}).a}),b=function(e){if(!m(e))throw TypeError(String(e)+" is not an object");return e},E=function(e,t){if(!m(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!m(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!m(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!m(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")},w=Object.defineProperty,_={f:p?w:function(e,t,n){if(b(e),t=E(t,!0),b(n),v)try{return w(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},S=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},C=p?function(e,t,n){return _.f(e,t,S(1,n))}:function(e,t,n){return e[t]=n,e},O=function(e,t){try{C(f,e,t)}catch(n){f[e]=t}return t},k=f["__core-js_shared__"]||O("__core-js_shared__",{}),T=Function.toString;"function"!=typeof k.inspectSource&&(k.inspectSource=function(e){return T.call(e)});var P,N,x,A=k.inspectSource,L=f.WeakMap,R="function"==typeof L&&/native code/.test(A(L)),I={}.hasOwnProperty,M=function(e,t){return I.call(e,t)},D=s(function(e){(e.exports=function(e,t){return k[e]||(k[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.8.1",mode:"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})}),F=0,j=Math.random(),U=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++F+j).toString(36)},z=D("keys"),V=function(e){return z[e]||(z[e]=U(e))},G={};if(R){var W=k.state||(k.state=new(0,f.WeakMap)),B=W.get,H=W.has,$=W.set;P=function(e,t){return t.facade=e,$.call(W,e,t),t},N=function(e){return B.call(W,e)||{}},x=function(e){return H.call(W,e)}}else{var q=V("state");G[q]=!0,P=function(e,t){return t.facade=e,C(e,q,t),t},N=function(e){return M(e,q)?e[q]:{}},x=function(e){return M(e,q)}}var Q,X,K,Y={set:P,get:N,has:x,enforce:function(e){return x(e)?N(e):P(e,{})},getterFor:function(e){return function(t){var n;if(!m(t)||(n=N(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}},Z={}.propertyIsEnumerable,J=Object.getOwnPropertyDescriptor,ee={f:J&&!Z.call({1:2},1)?function(e){var t=J(this,e);return!!t&&t.enumerable}:Z},te={}.toString,ne=function(e){return te.call(e).slice(8,-1)},re="".split,oe=d(function(){return!Object("z").propertyIsEnumerable(0)})?function(e){return"String"==ne(e)?re.call(e,""):Object(e)}:Object,ae=function(e){return oe(o(e))},ie=Object.getOwnPropertyDescriptor,le={f:p?ie:function(e,t){if(e=ae(e),t=E(t,!0),v)try{return ie(e,t)}catch(e){}if(M(e,t))return S(!ee.f.call(e,t),e[t])}},ue=s(function(e){var t=Y.get,n=Y.enforce,r=String(String).split("String");(e.exports=function(e,t,o,a){var i,l=!!a&&!!a.unsafe,u=!!a&&!!a.enumerable,s=!!a&&!!a.noTargetGet;"function"==typeof o&&("string"!=typeof t||M(o,"name")||C(o,"name",t),(i=n(o)).source||(i.source=r.join("string"==typeof t?t:""))),e!==f?(l?!s&&e[t]&&(u=!0):delete e[t],u?e[t]=o:C(e,t,o)):u?e[t]=o:O(t,o)})(Function.prototype,"toString",function(){return"function"==typeof this&&t(this).source||A(this)})}),se=f,ce=function(e){return"function"==typeof e?e:void 0},fe=function(e,t){return arguments.length<2?ce(se[e])||ce(f[e]):se[e]&&se[e][t]||f[e]&&f[e][t]},de=Math.min,pe=function(e){return e>0?de(r(e),9007199254740991):0},me=Math.max,he=Math.min,ye=function(e){return function(t,n,o){var a,i=ae(t),l=pe(i.length),u=function(e,t){var n=r(e);return n<0?me(n+t,0):he(n,t)}(o,l);if(e&&n!=n){for(;l>u;)if((a=i[u++])!=a)return!0}else for(;l>u;u++)if((e||u in i)&&i[u]===n)return e||u||0;return!e&&-1}},ge=(ye(!0),ye(!1)),ve=function(e,t){var n,r=ae(e),o=0,a=[];for(n in r)!M(G,n)&&M(r,n)&&a.push(n);for(;t.length>o;)M(r,n=t[o++])&&(~ge(a,n)||a.push(n));return a},be=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Ee=be.concat("length","prototype"),we={f:Object.getOwnPropertyNames||function(e){return ve(e,Ee)}},_e={f:Object.getOwnPropertySymbols},Se=fe("Reflect","ownKeys")||function(e){var t=we.f(b(e)),n=_e.f;return n?t.concat(n(e)):t},Ce=function(e,t){for(var n=Se(t),r=_.f,o=le.f,a=0;a<n.length;a++){var i=n[a];M(e,i)||r(e,i,o(t,i))}},Oe=/#|\.prototype\./,ke=function(e,t){var n=Pe[Te(e)];return n==xe||n!=Ne&&("function"==typeof t?d(t):!!t)},Te=ke.normalize=function(e){return String(e).replace(Oe,".").toLowerCase()},Pe=ke.data={},Ne=ke.NATIVE="N",xe=ke.POLYFILL="P",Ae=ke,Le=le.f,Re=function(e,t){var n,r,o,a,i,l=e.target,u=e.global,s=e.stat;if(n=u?f:s?f[l]||O(l,{}):(f[l]||{}).prototype)for(r in t){if(a=t[r],o=e.noTargetGet?(i=Le(n,r))&&i.value:n[r],!Ae(u?r:l+(s?".":"#")+r,e.forced)&&void 0!==o){if(typeof a==typeof o)continue;Ce(a,o)}(e.sham||o&&o.sham)&&C(a,"sham",!0),ue(n,r,a,e)}},Ie=function(e){return Object(o(e))},Me=!d(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}),De=V("IE_PROTO"),Fe=Object.prototype,je=Me?Object.getPrototypeOf:function(e){return e=Ie(e),M(e,De)?e[De]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?Fe:null},Ue=!!Object.getOwnPropertySymbols&&!d(function(){return!String(Symbol())}),ze=Ue&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Ve=D("wks"),Ge=f.Symbol,We=ze?Ge:Ge&&Ge.withoutSetter||U,Be=function(e){return M(Ve,e)||(Ve[e]=Ue&&M(Ge,e)?Ge[e]:We("Symbol."+e)),Ve[e]},He=Be("iterator"),$e=!1;[].keys&&("next"in(K=[].keys())?(X=je(je(K)))!==Object.prototype&&(Q=X):$e=!0),null==Q&&(Q={}),M(Q,He)||C(Q,He,function(){return this});var qe,Qe={IteratorPrototype:Q,BUGGY_SAFARI_ITERATORS:$e},Xe=Object.keys||function(e){return ve(e,be)},Ke=p?Object.defineProperties:function(e,t){b(e);for(var n,r=Xe(t),o=r.length,a=0;o>a;)_.f(e,n=r[a++],t[n]);return e},Ye=fe("document","documentElement"),Ze=V("IE_PROTO"),Je=function(){},et=function(e){return"<script>"+e+"<\/script>"},tt=function(){try{qe=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t;tt=qe?function(e){e.write(et("")),e.close();var t=e.parentWindow.Object;return e=null,t}(qe):((t=g("iframe")).style.display="none",Ye.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(et("document.F=Object")),e.close(),e.F);for(var n=be.length;n--;)delete tt.prototype[be[n]];return tt()};G[Ze]=!0;var nt=Object.create||function(e,t){var n;return null!==e?(Je.prototype=b(e),n=new Je,Je.prototype=null,n[Ze]=e):n=tt(),void 0===t?n:Ke(n,t)},rt=_.f,ot=Be("toStringTag"),at=function(e,t,n){e&&!M(e=n?e:e.prototype,ot)&&rt(e,ot,{configurable:!0,value:t})},it={},lt=Qe.IteratorPrototype,ut=function(){return this},st=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),t=n instanceof Array}catch(e){}return function(n,r){return b(n),function(e){if(!m(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype")}(r),t?e.call(n,r):n.__proto__=r,n}}():void 0),ct=Qe.IteratorPrototype,ft=Qe.BUGGY_SAFARI_ITERATORS,dt=Be("iterator"),pt=function(){return this},mt=i.charAt,ht=Y.set,yt=Y.getterFor("String Iterator");!function(e,t,n,r,o,a,i){!function(e,t,n){e.prototype=nt(lt,{next:S(1,function(){var e,t=yt(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=mt(n,r),t.index+=e.length,{value:e,done:!1})})}),at(e,"String Iterator",!1),it["String Iterator"]=ut}(n);var l,u,s,c=function(e){if(void 0===e&&p)return p;if(!ft&&e in f)return f[e];switch(e){case"keys":case"values":case"entries":return function(){return new n(this,e)}}return function(){return new n(this)}},f=e.prototype,d=f[dt]||f["@@iterator"]||void 0,p=!ft&&d||c(void 0);if(d&&(l=je(d.call(new e)),ct!==Object.prototype&&l.next&&(je(l)!==ct&&(st?st(l,ct):"function"!=typeof l[dt]&&C(l,dt,pt)),at(l,"String Iterator",!0))),f[dt]!==p&&C(f,dt,p),void(it.String=p))if(void(u={values:c("values"),keys:c("keys"),entries:c("entries")}))for(s in u)(ft||!(s in f))&&ue(f,s,u[s]);else Re({target:"String",proto:!0,forced:ft||!1},u)}(String,0,function(e){ht(this,{type:"String Iterator",string:String(e),index:0})});var gt=function(e,t,n){if(function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function")}(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}},vt=function(e,t,n,r){try{return r?t(b(n)[0],n[1]):t(n)}catch(t){throw function(e){var t=e.return;void 0!==t&&b(t.call(e))}(e),t}},bt=Be("iterator"),Et=Array.prototype,wt=function(e){return void 0!==e&&(it.Array===e||Et[bt]===e)},_t=function(e,t,n){var r=E(t);r in e?_.f(e,r,S(0,n)):e[r]=n},St={};St[Be("toStringTag")]="z";var Ct="[object z]"===String(St),Ot=Be("toStringTag"),kt="Arguments"==ne(function(){return arguments}()),Tt=Ct?ne:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),Ot))?n:kt?ne(t):"Object"==(r=ne(t))&&"function"==typeof t.callee?"Arguments":r},Pt=Be("iterator"),Nt=function(e){if(null!=e)return e[Pt]||e["@@iterator"]||it[Tt(e)]},xt=Be("iterator"),At=!1;try{var Lt=0,Rt={next:function(){return{done:!!Lt++}},return:function(){At=!0}};Rt[xt]=function(){return this},Array.from(Rt,function(){throw 2})}catch(e){}var It,Mt,Dt,Ft,jt=!function(e,t){if(!At)return!1;var n=!1;try{var r={};r[xt]=function(){return{next:function(){return{done:n=!0}}}},Array.from(r)}catch(e){}return n}();function Ut(e){return Number((e/100).toFixed(2))}Re({target:"Array",stat:!0,forced:jt},{from:function(e){var t,n,r,o,a,i,l=Ie(e),u="function"==typeof this?this:Array,s=arguments.length,c=s>1?arguments[1]:void 0,f=void 0!==c,d=Nt(l),p=0;if(f&&(c=gt(c,s>2?arguments[2]:void 0,2)),null==d||u==Array&&wt(d))for(n=new u(t=pe(l.length));t>p;p++)i=f?c(l[p],p):l[p],_t(n,p,i);else for(a=(o=d.call(l)).next,n=new u;!(r=a.call(o)).done;p++)i=f?vt(o,c,[r.value,p],!0):r.value,_t(n,p,i);return n.length=p,n}}),function(e){e.PaymentPlans="PaymentPlans",e.Modal="Modal"}(It||(It={})),function(e){e.PENDING="pending",e.SUCCESS="success",e.FAILED="failed"}(Mt||(Mt={})),function(e){e.en="en",e.fr="fr",e.de="de",e.it="it",e.es="es",e.nl="nl",e["nl-NL"]="nl-NL",e["nl-BE"]="nl-BE"}(Dt||(Dt={})),"function"!=typeof(Ft=window.Element.prototype).matches&&(Ft.matches=Ft.msMatchesSelector||Ft.mozMatchesSelector||Ft.webkitMatchesSelector||function(e){for(var t=(this.document||this.ownerDocument).querySelectorAll(e),n=0;t[n]&&t[n]!==this;)++n;return Boolean(t[n])}),"function"!=typeof Ft.closest&&(Ft.closest=function(e){for(var t=this;t&&1===t.nodeType;){if(t.matches(e))return t;t=t.parentNode}return null}),"".trim||(String.prototype.trim=function(){return this.replace(/^[\s]+|[\s]+$/g,"")}),function(e){e.DOMException||((DOMException=function(e){this.message=e}).prototype=new Error);var t,n,r=/[\11\12\14\15\40]/,o=0,a=function(e,t){if(""===t)throw new DOMException("Failed to execute '"+e+"' on 'DOMTokenList': The token provided must not be empty.");if(-1!==(o=t.search(r)))throw new DOMException("Failed to execute '"+e+"' on 'DOMTokenList': The token provided ('"+t[o]+"') contains HTML space characters, which are not valid in tokens.")};"function"!=typeof DOMTokenList&&function(e){var t=e.document,n=e.Object,o=n.prototype.hasOwnProperty,i=n.defineProperty,l=0,u=0,s=function(){if(!l)throw TypeError("Illegal constructor")};function c(){var t=e.event,n=t.propertyName;if(!u&&("className"===n||"classList"===n&&!i)){var o=t.srcElement,a=o[" uCLp"],l=""+o[n],s=l.trim().split(r),c=o["classList"===n?" uCL":"classList"],f=a.length;e:for(var d=0,p=a.length=s.length,m=0;d!==p;++d){for(var h=0;h!==d;++h)if(s[h]===s[d]){m++;continue e}c[d-m]=s[d]}for(var y=p-m;y<f;++y)delete c[y];if("classList"!==n)return;u=1,o.classList=c,o.className=l,u=0,c.length=s.length-m}}function f(e){if(!e||!("innerHTML"in e))throw TypeError("Illegal invocation");e.detachEvent("onpropertychange",c),l=1;try{var t=function(){};t.prototype=new s}finally{l=0}var n=t.prototype,o=new t;e:for(var a=e.className.trim().split(r),f=0,d=a.length,p=0;f!==d;++f){for(var m=0;m!==f;++m)if(a[m]===a[f]){p++;continue e}this[f-p]=a[f]}n.length=d-p,n.value=e.className,n[" uCL"]=e,i?(i(e,"classList",{enumerable:1,get:function(){return o},configurable:0,set:function(t){u=1,e.className=n.value=t+="",u=0;var a=t.trim().split(r),i=n.length;e:for(var l=0,s=n.length=a.length,c=0;l!==s;++l){for(var f=0;f!==l;++f)if(a[f]===a[l]){c++;continue e}o[l-c]=a[l]}for(var d=s-c;d<i;++d)delete o[d]}}),i(e," uCLp",{enumerable:0,configurable:0,writeable:0,value:t.prototype}),i(n," uCL",{enumerable:0,configurable:0,writeable:0,value:e})):(e.classList=o,e[" uCL"]=o,e[" uCLp"]=t.prototype),e.attachEvent("onpropertychange",c)}s.prototype.toString=s.prototype.toLocaleString=function(){return this.value},s.prototype.add=function(){e:for(var e=0,t=arguments.length,n="",r=this[" uCL"],o=r[" uCLp"];e!==t;++e){a("add",n=arguments[e]+"");for(var i=0,l=o.length,s=n;i!==l;++i){if(this[i]===n)continue e;s+=" "+this[i]}this[l]=n,o.length+=1,o.value=s}u=1,r.className=o.value,u=0},s.prototype.remove=function(){for(var e=0,t=arguments.length,n="",r=this[" uCL"],o=r[" uCLp"];e!==t;++e){a("remove",n=arguments[e]+"");for(var i=0,l=o.length,s="",c=0;i!==l;++i)c?this[i-1]=this[i]:this[i]!==n?s+=this[i]+" ":c=1;c&&(delete this[l],o.length-=1,o.value=s)}u=1,r.className=o.value,u=0},e.DOMTokenList=s;try{e.Object.defineProperty(e.Element.prototype,"classList",{enumerable:1,get:function(e){return o.call(this,"classList")||f(this),this.classList},configurable:0,set:function(e){this.className=e}})}catch(n){e[" uCL"]=f,t.documentElement.firstChild.appendChild(t.createElement("style")).styleSheet.cssText='_*{x-uCLp:expression(!this.hasOwnProperty("classList")&&window[" uCL"](this))}[class]{x-uCLp/**/:expression(!this.hasOwnProperty("classList")&&window[" uCL"](this))}'}}(e),t=e.DOMTokenList.prototype,n=e.document.createElement("div").classList,t.item||(t.item=function(e){return function(e){return void 0===e?null:e}(this[e])}),t.toggle&&!1===n.toggle("a",0)||(t.toggle=function(e){if(arguments.length>1)return this[arguments[1]?"add":"remove"](e),!!arguments[1];var t=this.value;return this.remove(t),t===this.value&&(this.add(e),!0)}),t.replace&&"boolean"==typeof n.replace("a","b")||(t.replace=function(e,t){a("replace",e),a("replace",t);var n=this.value;return this.remove(e),this.value!==n&&(this.add(t),!0)}),t.contains||(t.contains=function(e){for(var t=0,n=this.length;t!==n;++t)if(this[t]===e)return!0;return!1}),t.forEach||(t.forEach=function(e){if(1===arguments.length)for(var t=0,n=this.length;t!==n;++t)e(this[t],t,this);else{t=0,n=this.length;for(var r=arguments[1];t!==n;++t)e.call(r,this[t],t,this)}}),t.entries||(t.entries=function(){var e=this;return{next:function(){return 0<e.length?{value:[0,e[0]],done:!1}:{done:!0}}}}),t.values||(t.values=function(){var e=this;return{next:function(){return 0<e.length?{value:e[0],done:!1}:{done:!0}}}}),t.keys||(t.keys=function(){var e=this;return{next:function(){return 0<e.length?{value:0,done:!1}:{done:!0}}}})}(window);var zt=Object.getOwnPropertySymbols,Vt=Object.prototype.hasOwnProperty,Gt=Object.prototype.propertyIsEnumerable;function Wt(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}var Bt=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,t){for(var n,r,o=Wt(e),a=1;a<arguments.length;a++){for(var i in n=Object(arguments[a]))Vt.call(n,i)&&(o[i]=n[i]);if(zt){r=zt(n);for(var l=0;l<r.length;l++)Gt.call(n,r[l])&&(o[r[l]]=n[r[l]])}}return o},Ht=s(function(e,t){var n=60103,r=60106;t.Fragment=60107,t.StrictMode=60108,t.Profiler=60114;var o=60109,a=60110,i=60112;t.Suspense=60113;var l=60115,u=60116;if("function"==typeof Symbol&&Symbol.for){var s=Symbol.for;n=s("react.element"),r=s("react.portal"),t.Fragment=s("react.fragment"),t.StrictMode=s("react.strict_mode"),t.Profiler=s("react.profiler"),o=s("react.provider"),a=s("react.context"),i=s("react.forward_ref"),t.Suspense=s("react.suspense"),l=s("react.memo"),u=s("react.lazy")}var c="function"==typeof Symbol&&Symbol.iterator;function f(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 d={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},p={};function m(e,t,n){this.props=e,this.context=t,this.refs=p,this.updater=n||d}function h(){}function y(e,t,n){this.props=e,this.context=t,this.refs=p,this.updater=n||d}m.prototype.isReactComponent={},m.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(f(85));this.updater.enqueueSetState(this,e,t,"setState")},m.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},h.prototype=m.prototype;var g=y.prototype=new h;g.constructor=y,Bt(g,m.prototype),g.isPureReactComponent=!0;var v={current:null},b=Object.prototype.hasOwnProperty,E={key:!0,ref:!0,__self:!0,__source:!0};function w(e,t,r){var o,a={},i=null,l=null;if(null!=t)for(o in void 0!==t.ref&&(l=t.ref),void 0!==t.key&&(i=""+t.key),t)b.call(t,o)&&!E.hasOwnProperty(o)&&(a[o]=t[o]);var u=arguments.length-2;if(1===u)a.children=r;else if(1<u){for(var s=Array(u),c=0;c<u;c++)s[c]=arguments[c+2];a.children=s}if(e&&e.defaultProps)for(o in u=e.defaultProps)void 0===a[o]&&(a[o]=u[o]);return{$$typeof:n,type:e,key:i,ref:l,props:a,_owner:v.current}}function _(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}var S=/\/+/g;function C(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 O(e,t,o){if(null==e)return e;var a=[],i=0;return function e(t,o,a,i,l){var u=typeof t;"undefined"!==u&&"boolean"!==u||(t=null);var s=!1;if(null===t)s=!0;else switch(u){case"string":case"number":s=!0;break;case"object":switch(t.$$typeof){case n:case r:s=!0}}if(s)return l=l(s=t),t=""===i?"."+C(s,0):i,Array.isArray(l)?(a="",null!=t&&(a=t.replace(S,"$&/")+"/"),e(l,o,a,"",function(e){return e})):null!=l&&(_(l)&&(l=function(e,t){return{$$typeof:n,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(l,a+(!l.key||s&&s.key===l.key?"":(""+l.key).replace(S,"$&/")+"/")+t)),o.push(l)),1;if(s=0,i=""===i?".":i+":",Array.isArray(t))for(var d=0;d<t.length;d++){var p=i+C(u=t[d],d);s+=e(u,o,a,p,l)}else if("function"==typeof(p=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=c&&e[c]||e["@@iterator"])?e:null}(t)))for(t=p.call(t),d=0;!(u=t.next()).done;)s+=e(u=u.value,o,a,p=i+C(u,d++),l);else if("object"===u)throw o=""+t,Error(f(31,"[object Object]"===o?"object with keys {"+Object.keys(t).join(", ")+"}":o));return s}(e,a,"","",function(e){return t.call(o,e,i++)}),a}function k(e){if(-1===e._status){var t=e._result;t=t(),e._status=0,e._result=t,t.then(function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)},function(t){0===e._status&&(e._status=2,e._result=t)})}if(1===e._status)return e._result;throw e._result}var T={current:null};function P(){var e=T.current;if(null===e)throw Error(f(321));return e}var N={ReactCurrentDispatcher:T,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:v,IsSomeRendererActing:{current:!1},assign:Bt};t.Children={map:O,forEach:function(e,t,n){O(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return O(e,function(){t++}),t},toArray:function(e){return O(e,function(e){return e})||[]},only:function(e){if(!_(e))throw Error(f(143));return e}},t.Component=m,t.PureComponent=y,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=N,t.cloneElement=function(e,t,r){if(null==e)throw Error(f(267,e));var o=Bt({},e.props),a=e.key,i=e.ref,l=e._owner;if(null!=t){if(void 0!==t.ref&&(i=t.ref,l=v.current),void 0!==t.key&&(a=""+t.key),e.type&&e.type.defaultProps)var u=e.type.defaultProps;for(s in t)b.call(t,s)&&!E.hasOwnProperty(s)&&(o[s]=void 0===t[s]&&void 0!==u?u[s]:t[s])}var s=arguments.length-2;if(1===s)o.children=r;else if(1<s){u=Array(s);for(var c=0;c<s;c++)u[c]=arguments[c+2];o.children=u}return{$$typeof:n,type:e.type,key:a,ref:i,props:o,_owner:l}},t.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:a,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:o,_context:e},e.Consumer=e},t.createElement=w,t.createFactory=function(e){var t=w.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:i,render:e}},t.isValidElement=_,t.lazy=function(e){return{$$typeof:u,_payload:{_status:-1,_result:e},_init:k}},t.memo=function(e,t){return{$$typeof:l,type:e,compare:void 0===t?null:t}},t.useCallback=function(e,t){return P().useCallback(e,t)},t.useContext=function(e,t){return P().useContext(e,t)},t.useDebugValue=function(){},t.useEffect=function(e,t){return P().useEffect(e,t)},t.useImperativeHandle=function(e,t,n){return P().useImperativeHandle(e,t,n)},t.useLayoutEffect=function(e,t){return P().useLayoutEffect(e,t)},t.useMemo=function(e,t){return P().useMemo(e,t)},t.useReducer=function(e,t,n){return P().useReducer(e,t,n)},t.useRef=function(e){return P().useRef(e)},t.useState=function(e){return P().useState(e)},t.version="17.0.2"}),$t=(s(function(e,t){}),s(function(e){e.exports=Ht})),qt=function(e,t){return(qt=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])})(e,t)},Qt=function(){return(Qt=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function Xt(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 o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}function Kt(e,t,n){if(n||2===arguments.length)for(var r,o=0,a=t.length;o<a;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}var Yt="function"==typeof Symbol&&Symbol.for,Zt=Yt?Symbol.for("react.element"):60103,Jt=Yt?Symbol.for("react.portal"):60106,en=Yt?Symbol.for("react.fragment"):60107,tn=Yt?Symbol.for("react.strict_mode"):60108,nn=Yt?Symbol.for("react.profiler"):60114,rn=Yt?Symbol.for("react.provider"):60109,on=Yt?Symbol.for("react.context"):60110,an=Yt?Symbol.for("react.async_mode"):60111,ln=Yt?Symbol.for("react.concurrent_mode"):60111,un=Yt?Symbol.for("react.forward_ref"):60112,sn=Yt?Symbol.for("react.suspense"):60113,cn=Yt?Symbol.for("react.suspense_list"):60120,fn=Yt?Symbol.for("react.memo"):60115,dn=Yt?Symbol.for("react.lazy"):60116,pn=Yt?Symbol.for("react.block"):60121,mn=Yt?Symbol.for("react.fundamental"):60117,hn=Yt?Symbol.for("react.responder"):60118,yn=Yt?Symbol.for("react.scope"):60119;function gn(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case Zt:switch(e=e.type){case an:case ln:case en:case nn:case tn:case sn:return e;default:switch(e=e&&e.$$typeof){case on:case un:case dn:case fn:case rn:return e;default:return t}}case Jt:return t}}}function vn(e){return gn(e)===ln}var bn={AsyncMode:an,ConcurrentMode:ln,ContextConsumer:on,ContextProvider:rn,Element:Zt,ForwardRef:un,Fragment:en,Lazy:dn,Memo:fn,Portal:Jt,Profiler:nn,StrictMode:tn,Suspense:sn,isAsyncMode:function(e){return vn(e)||gn(e)===an},isConcurrentMode:vn,isContextConsumer:function(e){return gn(e)===on},isContextProvider:function(e){return gn(e)===rn},isElement:function(e){return"object"==typeof e&&null!==e&&e.$$typeof===Zt},isForwardRef:function(e){return gn(e)===un},isFragment:function(e){return gn(e)===en},isLazy:function(e){return gn(e)===dn},isMemo:function(e){return gn(e)===fn},isPortal:function(e){return gn(e)===Jt},isProfiler:function(e){return gn(e)===nn},isStrictMode:function(e){return gn(e)===tn},isSuspense:function(e){return gn(e)===sn},isValidElementType:function(e){return"string"==typeof e||"function"==typeof e||e===en||e===ln||e===nn||e===tn||e===sn||e===cn||"object"==typeof e&&null!==e&&(e.$$typeof===dn||e.$$typeof===fn||e.$$typeof===rn||e.$$typeof===on||e.$$typeof===un||e.$$typeof===mn||e.$$typeof===hn||e.$$typeof===yn||e.$$typeof===pn)},typeOf:gn};function En(e,t,n){if(void 0===n&&(n=Error),!e)throw new n(t)}s(function(e,t){}),s(function(e){e.exports=bn});var wn=function(e,t){return(wn=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])})(e,t)};function _n(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}wn(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var Sn=function(){return(Sn=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function Cn(e,t,n){if(n||2===arguments.length)for(var r,o=0,a=t.length;o<a;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}var On=function(e,t){return(On=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])})(e,t)};function kn(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}On(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var Tn=function(){return(Tn=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function Pn(e,t,n){if(n||2===arguments.length)for(var r,o=0,a=t.length;o<a;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}var Nn,xn,An,Ln=function(){return(Ln=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function Rn(e){return e.type===xn.literal}function In(e){return e.type===xn.argument}function Mn(e){return e.type===xn.number}function Dn(e){return e.type===xn.date}function Fn(e){return e.type===xn.time}function jn(e){return e.type===xn.select}function Un(e){return e.type===xn.plural}function zn(e){return e.type===xn.pound}function Vn(e){return e.type===xn.tag}function Gn(e){return!(!e||"object"!=typeof e||e.type!==An.number)}function Wn(e){return!(!e||"object"!=typeof e||e.type!==An.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"}(Nn||(Nn={})),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"}(xn||(xn={})),function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"}(An||(An={}));var Bn=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Hn=/(?:[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 $n(e){var t={};return e.replace(Hn,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 qn,Qn=function(){return(Qn=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},Xn=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,Kn=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Yn=/^(@+)?(\+|#+)?[rs]?$/g,Zn=/(\*)(0+)|(#+)(0+)|(0+)/g,Jn=/^(0+)$/;function er(e){var t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(Yn,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 tr(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 nr(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)),!Jn.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function rr(e){return tr(e)||{}}function or(e){for(var t={},n=0,r=e;n<r.length;n++){var o=r[n];switch(o.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=o.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=o.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=Qn(Qn(Qn({},t),{notation:"scientific"}),o.options.reduce(function(e,t){return Qn(Qn({},e),rr(t))},{}));continue;case"engineering":t=Qn(Qn(Qn({},t),{notation:"engineering"}),o.options.reduce(function(e,t){return Qn(Qn({},e),rr(t))},{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(o.options[0]);continue;case"integer-width":if(o.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");o.options[0].replace(Zn,function(e,n,r,o,a,i){if(n)t.minimumIntegerDigits=r.length;else{if(o&&a)throw new Error("We currently do not support maximum integer digits");if(i)throw new Error("We currently do not support exact integer digits")}return""});continue}if(Jn.test(o.stem))t.minimumIntegerDigits=o.stem.length;else if(Kn.test(o.stem)){if(o.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");o.stem.replace(Kn,function(e,n,r,o,a,i){return"*"===r?t.minimumFractionDigits=n.length:o&&"#"===o[0]?t.maximumFractionDigits=o.length:a&&i?(t.minimumFractionDigits=a.length,t.maximumFractionDigits=a.length+i.length):(t.minimumFractionDigits=n.length,t.maximumFractionDigits=n.length),""});var a=o.options[0];"w"===a?t=Qn(Qn({},t),{trailingZeroDisplay:"stripIfInteger"}):a&&(t=Qn(Qn({},t),er(a)))}else if(Yn.test(o.stem))t=Qn(Qn({},t),er(o.stem));else{var i=tr(o.stem);i&&(t=Qn(Qn({},t),i));var l=nr(o.stem);l&&(t=Qn(Qn({},t),l))}}return t}var ar=new RegExp("^"+Bn.source+"*"),ir=new RegExp(Bn.source+"*$");function lr(e,t){return{start:e,end:t}}var ur=!!String.prototype.startsWith,sr=!!String.fromCodePoint,cr=!!Object.fromEntries,fr=!!String.prototype.codePointAt,dr=!!String.prototype.trimStart,pr=!!String.prototype.trimEnd,mr=Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},hr=!0;try{hr="a"===(null===(qn=Sr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===qn?void 0:qn[0])}catch(e){hr=!1}var yr,gr=ur?function(e,t,n){return e.startsWith(t,n)}:function(e,t,n){return e.slice(n,n+t.length)===t},vr=sr?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n,r="",o=e.length,a=0;o>a;){if((n=e[a++])>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},br=cr?Object.fromEntries:function(e){for(var t={},n=0,r=e;n<r.length;n++){var o=r[n];t[o[0]]=o[1]}return t},Er=fr?function(e,t){return e.codePointAt(t)}:function(e,t){var n=e.length;if(!(t<0||t>=n)){var r,o=e.charCodeAt(t);return o<55296||o>56319||t+1===n||(r=e.charCodeAt(t+1))<56320||r>57343?o:r-56320+(o-55296<<10)+65536}},wr=dr?function(e){return e.trimStart()}:function(e){return e.replace(ar,"")},_r=pr?function(e){return e.trimEnd()}:function(e){return e.replace(ir,"")};function Sr(e,t){return new RegExp(e,t)}if(hr){var Cr=Sr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");yr=function(e,t){var n;return Cr.lastIndex=t,null!==(n=Cr.exec(e)[1])&&void 0!==n?n:""}}else yr=function(e,t){for(var n=[];;){var r=Er(e,t);if(void 0===r||Pr(r)||Nr(r))break;n.push(r),t+=r>=65536?2:1}return vr.apply(void 0,n)};var Or=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.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}return e.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(e,t,n){for(var r=[];!this.isEOF();){var o=this.char();if(123===o){if((a=this.parseArgument(e,n)).err)return a;r.push(a.val)}else{if(125===o&&e>0)break;if(35!==o||"plural"!==t&&"selectordinal"!==t){if(60===o&&!this.ignoreTag&&47===this.peek()){if(n)break;return this.error(Nn.UNMATCHED_CLOSING_TAG,lr(this.clonePosition(),this.clonePosition()))}if(60===o&&!this.ignoreTag&&kr(this.peek()||0)){if((a=this.parseTag(e,t)).err)return a;r.push(a.val)}else{var a;if((a=this.parseLiteral(e,t)).err)return a;r.push(a.val)}}else{var i=this.clonePosition();this.bump(),r.push({type:xn.pound,location:lr(i,this.clonePosition())})}}}return{val:r,err:null}},e.prototype.parseTag=function(e,t){var n=this.clonePosition();this.bump();var r=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:xn.literal,value:"<"+r+"/>",location:lr(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var o=this.parseMessage(e+1,t,!0);if(o.err)return o;var a=o.val,i=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!kr(this.char()))return this.error(Nn.INVALID_TAG,lr(i,this.clonePosition()));var l=this.clonePosition();return r!==this.parseTagName()?this.error(Nn.UNMATCHED_CLOSING_TAG,lr(l,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:xn.tag,value:r,children:a,location:lr(n,this.clonePosition())},err:null}:this.error(Nn.INVALID_TAG,lr(i,this.clonePosition())))}return this.error(Nn.UNCLOSED_TAG,lr(n,this.clonePosition()))}return this.error(Nn.INVALID_TAG,lr(n,this.clonePosition()))},e.prototype.parseTagName=function(){var e=this.offset();for(this.bump();!this.isEOF()&&Tr(this.char());)this.bump();return this.message.slice(e,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 a=this.tryParseUnquoted(e,t);if(a)r+=a;else{var i=this.tryParseLeftAngleBracket();if(!i)break;r+=i}}}var l=lr(n,this.clonePosition());return{val:{type:xn.literal,value:r,location:l},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(kr(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 vr.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(),vr(n))},e.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(Nn.EXPECT_ARGUMENT_CLOSING_BRACE,lr(n,this.clonePosition()));if(125===this.char())return this.bump(),this.error(Nn.EMPTY_ARGUMENT,lr(n,this.clonePosition()));var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(Nn.MALFORMED_ARGUMENT,lr(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(Nn.EXPECT_ARGUMENT_CLOSING_BRACE,lr(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:xn.argument,value:r,location:lr(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(Nn.EXPECT_ARGUMENT_CLOSING_BRACE,lr(n,this.clonePosition())):this.parseArgumentOptions(e,t,r,n);default:return this.error(Nn.MALFORMED_ARGUMENT,lr(n,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=yr(this.message,t);return this.bumpTo(t+n.length),{value:n,location:lr(e,this.clonePosition())}},e.prototype.parseArgumentOptions=function(e,t,n,r){var o,a=this.clonePosition(),i=this.parseIdentifierIfPossible().value,l=this.clonePosition();switch(i){case"":return this.error(Nn.EXPECT_ARGUMENT_TYPE,lr(a,l));case"number":case"date":case"time":this.bumpSpace();var u=null;if(this.bumpIf(",")){this.bumpSpace();var s=this.clonePosition();if((y=this.parseSimpleArgStyleIfPossible()).err)return y;if(0===(d=_r(y.val)).length)return this.error(Nn.EXPECT_ARGUMENT_STYLE,lr(this.clonePosition(),this.clonePosition()));u={style:d,styleLocation:lr(s,this.clonePosition())}}if((g=this.tryParseArgumentClose(r)).err)return g;var c=lr(r,this.clonePosition());if(u&&gr(null==u?void 0:u.style,"::",0)){var f=wr(u.style.slice(2));if("number"===i)return(y=this.parseNumberSkeletonFromString(f,u.styleLocation)).err?y:{val:{type:xn.number,value:n,location:c,style:y.val},err:null};if(0===f.length)return this.error(Nn.EXPECT_DATE_TIME_SKELETON,c);var d={type:An.dateTime,pattern:f,location:u.styleLocation,parsedOptions:this.shouldParseSkeletons?$n(f):{}};return{val:{type:"date"===i?xn.date:xn.time,value:n,location:c,style:d},err:null}}return{val:{type:"number"===i?xn.number:"date"===i?xn.date:xn.time,value:n,location:c,style:null!==(o=null==u?void 0:u.style)&&void 0!==o?o:null},err:null};case"plural":case"selectordinal":case"select":var p=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(Nn.EXPECT_SELECT_ARGUMENT_OPTIONS,lr(p,Ln({},p)));this.bumpSpace();var m=this.parseIdentifierIfPossible(),h=0;if("select"!==i&&"offset"===m.value){if(!this.bumpIf(":"))return this.error(Nn.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,lr(this.clonePosition(),this.clonePosition()));var y;if(this.bumpSpace(),(y=this.tryParseDecimalInteger(Nn.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Nn.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return y;this.bumpSpace(),m=this.parseIdentifierIfPossible(),h=y.val}var g,v=this.tryParsePluralOrSelectOptions(e,i,t,m);if(v.err)return v;if((g=this.tryParseArgumentClose(r)).err)return g;var b=lr(r,this.clonePosition());return"select"===i?{val:{type:xn.select,value:n,options:br(v.val),location:b},err:null}:{val:{type:xn.plural,value:n,options:br(v.val),offset:h,pluralType:"plural"===i?"cardinal":"ordinal",location:b},err:null};default:return this.error(Nn.INVALID_ARGUMENT_TYPE,lr(a,l))}},e.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(Nn.EXPECT_ARGUMENT_CLOSING_BRACE,lr(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(Nn.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,lr(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(Xn).filter(function(e){return e.length>0});n<r.length;n++){var o=r[n].split("/");if(0===o.length)throw new Error("Invalid number skeleton");for(var a=o[0],i=o.slice(1),l=0,u=i;l<u.length;l++)if(0===u[l].length)throw new Error("Invalid number skeleton");t.push({stem:a,options:i})}return t}(e)}catch(e){return this.error(Nn.INVALID_NUMBER_SKELETON,t)}return{val:{type:An.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?or(n):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(e,t,n,r){for(var o,a=!1,i=[],l=new Set,u=r.value,s=r.location;;){if(0===u.length){var c=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var f=this.tryParseDecimalInteger(Nn.EXPECT_PLURAL_ARGUMENT_SELECTOR,Nn.INVALID_PLURAL_ARGUMENT_SELECTOR);if(f.err)return f;s=lr(c,this.clonePosition()),u=this.message.slice(c.offset,this.offset())}if(l.has(u))return this.error("select"===t?Nn.DUPLICATE_SELECT_ARGUMENT_SELECTOR:Nn.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,s);"other"===u&&(a=!0),this.bumpSpace();var d=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?Nn.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:Nn.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,lr(this.clonePosition(),this.clonePosition()));var p=this.parseMessage(e+1,t,n);if(p.err)return p;var m=this.tryParseArgumentClose(d);if(m.err)return m;i.push([u,{value:p.val,location:lr(d,this.clonePosition())}]),l.add(u),this.bumpSpace(),u=(o=this.parseIdentifierIfPossible()).value,s=o.location}return 0===i.length?this.error("select"===t?Nn.EXPECT_SELECT_ARGUMENT_SELECTOR:Nn.EXPECT_PLURAL_ARGUMENT_SELECTOR,lr(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!a?this.error(Nn.MISSING_OTHER_CLAUSE,lr(this.clonePosition(),this.clonePosition())):{val:i,err:null}},e.prototype.tryParseDecimalInteger=function(e,t){var n=1,r=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var o=!1,a=0;!this.isEOF();){var i=this.char();if(!(i>=48&&i<=57))break;o=!0,a=10*a+(i-48),this.bump()}var l=lr(r,this.clonePosition());return o?mr(a*=n)?{val:a,err:null}:this.error(t,l):this.error(e,l)},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=Er(this.message,e);if(void 0===t)throw Error("Offset "+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(gr(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 "+e+" must be greater than or equal to the current offset "+this.offset());for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(t>e)throw Error("targetOffset "+e+" is at invalid UTF-16 code unit boundary");if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&Pr(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 kr(e){return e>=97&&e<=122||e>=65&&e<=90}function Tr(e){return 45===e||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}function Pr(e){return e>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||8233===e}function Nr(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 xr(e,t){void 0===t&&(t={}),t=Ln({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var n=new Or(e,t).parse();if(n.err){var r=SyntaxError(Nn[n.err.kind]);throw r.location=n.err.location,r.originalMessage=n.err.message,r}return(null==t?void 0:t.captureLocation)||function e(t){t.forEach(function(t){if(delete t.location,jn(t)||Un(t))for(var n in t.options)delete t.options[n].location,e(t.options[n].value);else Mn(t)&&Gn(t.style)||(Dn(t)||Fn(t))&&Wn(t.style)?delete t.style.location:Vn(t)&&e(t.children)})}(n.val),n.val}function Ar(e,t){return(t&&t.strategy?t.strategy:Mr)(e,{cache:t&&t.cache?t.cache:Ur,serializer:t&&t.serializer?t.serializer:Dr})}function Lr(e,t,n,r){var o,a=null==(o=r)||"number"==typeof o||"boolean"==typeof o?r:n(r),i=t.get(a);return void 0===i&&(i=e.call(this,r),t.set(a,i)),i}function Rr(e,t,n){var r=Array.prototype.slice.call(arguments,3),o=n(r),a=t.get(o);return void 0===a&&(a=e.apply(this,r),t.set(o,a)),a}function Ir(e,t,n,r,o){return n.bind(t,e,r,o)}function Mr(e,t){return Ir(e,this,1===e.length?Lr:Rr,t.cache.create(),t.serializer)}var Dr=function(){return JSON.stringify(arguments)};function Fr(){this.cache=Object.create(null)}Fr.prototype.get=function(e){return this.cache[e]},Fr.prototype.set=function(e,t){this.cache[e]=t};var jr,Ur={create:function(){return new Fr}},zr={variadic:function(e,t){return Ir(e,this,Rr,t.cache.create(),t.serializer)},monadic:function(e,t){return Ir(e,this,Lr,t.cache.create(),t.serializer)}};!function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"}(jr||(jr={}));var Vr,Gr=function(e){function t(t,n,r){var o=e.call(this,t)||this;return o.code=n,o.originalMessage=r,o}return kn(t,e),t.prototype.toString=function(){return"[formatjs Error: "+this.code+"] "+this.message},t}(Error),Wr=function(e){function t(t,n,r,o){return e.call(this,'Invalid values for "'+t+'": "'+n+'". Options are "'+Object.keys(r).join('", "')+'"',jr.INVALID_VALUE,o)||this}return kn(t,e),t}(Gr),Br=function(e){function t(t,n,r){return e.call(this,'Value for "'+t+'" must be of type '+n,jr.INVALID_VALUE,r)||this}return kn(t,e),t}(Gr),Hr=function(e){function t(t,n){return e.call(this,'The intl string context variable "'+t+'" was not provided to the string "'+n+'"',jr.MISSING_VALUE,n)||this}return kn(t,e),t}(Gr);function $r(e){return"function"==typeof e}function qr(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,n){e[t]=n}}}}}!function(e){e[e.literal=0]="literal",e[e.object=1]="object"}(Vr||(Vr={}));var Qr,Xr=function(){function e(t,n,r,o){var a,i,l,u=this;if(void 0===n&&(n=e.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var t=u.formatToParts(e);if(1===t.length)return t[0].value;var n=t.reduce(function(e,t){return e.length&&t.type===Vr.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 function e(t,n,r,o,a,i,l){if(1===t.length&&Rn(t[0]))return[{type:Vr.literal,value:t[0].value}];for(var u=[],s=0,c=t;s<c.length;s++){var f=c[s];if(Rn(f))u.push({type:Vr.literal,value:f.value});else if(zn(f))"number"==typeof i&&u.push({type:Vr.literal,value:r.getNumberFormat(n).format(i)});else{var d=f.value;if(!a||!(d in a))throw new Hr(d,l);var p=a[d];if(In(f))p&&"string"!=typeof p&&"number"!=typeof p||(p="string"==typeof p||"number"==typeof p?String(p):""),u.push({type:"string"==typeof p?Vr.literal:Vr.object,value:p});else if(Dn(f)){var m="string"==typeof f.style?o.date[f.style]:Wn(f.style)?f.style.parsedOptions:void 0;u.push({type:Vr.literal,value:r.getDateTimeFormat(n,m).format(p)})}else if(Fn(f))m="string"==typeof f.style?o.time[f.style]:Wn(f.style)?f.style.parsedOptions:void 0,u.push({type:Vr.literal,value:r.getDateTimeFormat(n,m).format(p)});else if(Mn(f))(m="string"==typeof f.style?o.number[f.style]:Gn(f.style)?f.style.parsedOptions:void 0)&&m.scale&&(p*=m.scale||1),u.push({type:Vr.literal,value:r.getNumberFormat(n,m).format(p)});else{if(Vn(f)){var h=f.children,y=f.value,g=a[y];if(!$r(g))throw new Br(y,"function",l);var v=g(e(h,n,r,o,a,i).map(function(e){return e.value}));Array.isArray(v)||(v=[v]),u.push.apply(u,v.map(function(e){return{type:"string"==typeof e?Vr.literal:Vr.object,value:e}}))}if(jn(f)){if(!(b=f.options[p]||f.options.other))throw new Wr(f.value,p,Object.keys(f.options),l);u.push.apply(u,e(b.value,n,r,o,a))}else if(Un(f)){var b;if(!(b=f.options["="+p])){if(!Intl.PluralRules)throw new Gr('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',jr.MISSING_INTL_API,l);var E=r.getPluralRules(n,{type:f.pluralType}).select(p-(f.offset||0));b=f.options[E]||f.options.other}if(!b)throw new Wr(f.value,p,Object.keys(f.options),l);u.push.apply(u,e(b.value,n,r,o,a,p-(f.offset||0)))}}}}return(w=u).length<2?w:w.reduce(function(e,t){var n=e[e.length-1];return n&&n.type===Vr.literal&&t.type===Vr.literal?n.value+=t.value:e.push(t),e},[]);var w}(u.ast,u.locales,u.formatters,u.formats,e,void 0,u.message)},this.resolvedOptions=function(){return{locale:Intl.NumberFormat.supportedLocalesOf(u.locales)[0]}},this.getAst=function(){return u.ast},"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==o?void 0:o.ignoreTag})}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=(i=e.formats,(l=r)?Object.keys(i).reduce(function(e,t){var n,r;return e[t]=(n=i[t],(r=l[t])?Tn(Tn(Tn({},n||{}),r||{}),Object.keys(n).reduce(function(e,t){return e[t]=Tn(Tn({},n[t]),r[t]||{}),e},{})):n),e},Tn({},i)):i),this.locales=n,this.formatters=o&&o.formatters||(void 0===(a=this.formatterCache)&&(a={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:Ar(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,Pn([void 0],t)))},{cache:qr(a.number),strategy:zr.variadic}),getDateTimeFormat:Ar(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,Pn([void 0],t)))},{cache:qr(a.dateTime),strategy:zr.variadic}),getPluralRules:Ar(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,Pn([void 0],t)))},{cache:qr(a.pluralRules),strategy:zr.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.__parse=xr,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}();!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"}(Qr||(Qr={}));var Kr=function(e){function t(n,r,o){var a=e.call(this,"[@formatjs/intl Error "+n+"] "+r+" \n"+(o?"\n"+o.message+"\n"+o.stack:""))||this;return a.code=n,"function"==typeof Error.captureStackTrace&&Error.captureStackTrace(a,t),a}return _n(t,e),t}(Error),Yr=function(e){function t(t,n){return e.call(this,Qr.UNSUPPORTED_FORMATTER,t,n)||this}return _n(t,e),t}(Kr),Zr=function(e){function t(t,n){return e.call(this,Qr.INVALID_CONFIG,t,n)||this}return _n(t,e),t}(Kr),Jr=function(e){function t(t,n){return e.call(this,Qr.MISSING_DATA,t,n)||this}return _n(t,e),t}(Kr),eo=function(e){function t(t,n,r,o){var a=e.call(this,Qr.FORMAT_ERROR,t+" \nLocale: "+n+"\nMessageID: "+(null==r?void 0:r.id)+"\nDefault Message: "+(null==r?void 0:r.defaultMessage)+"\nDescription: "+(null==r?void 0:r.description)+" \n",o)||this;return a.descriptor=r,a}return _n(t,e),t}(Kr),to=function(e){function t(t,n){var r=e.call(this,Qr.MISSING_TRANSLATION,'Missing message: "'+t.id+'" for locale "'+n+'", using '+(t.defaultMessage?"default message":"id")+" as fallback.")||this;return r.descriptor=t,r}return _n(t,e),t}(Kr);function no(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 ro={formats:{},messages:{},timeZone:void 0,defaultLocale:"en",defaultFormats:{},onError:function(e){}};function oo(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,n){e[t]=n}}}}}function ao(e,t,n,r){var o,a=e&&e[t];if(a&&(o=a[n]),o)return o;r(new Yr("No "+t+" format named: "+n))}function io(e,t){return Object.keys(e).reduce(function(n,r){return n[r]=Sn({timeZone:t},e[r]),n},{})}function lo(e,t){return Object.keys(Sn(Sn({},e),t)).reduce(function(n,r){return n[r]=Sn(Sn({},e[r]||{}),t[r]||{}),n},{})}function uo(e,t){if(!t)return e;var n=Xr.formats;return Sn(Sn(Sn({},n),e),{date:lo(io(n.date,t),io(e.date||{},t)),time:lo(io(n.time,t),io(e.time||{},t))})}function so(e,t,n,r,o){var a=e.locale,i=e.formats,l=e.messages,u=e.defaultLocale,s=e.defaultFormats,c=e.onError,f=e.timeZone,d=e.defaultRichTextElements;void 0===n&&(n={id:""});var p=n.id,m=n.defaultMessage;En(!!p,"[@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 h=String(p),y=l&&Object.prototype.hasOwnProperty.call(l,h)&&l[h];if(Array.isArray(y)&&1===y.length&&y[0].type===xn.literal)return y[0].value;if(!r&&y&&"string"==typeof y&&!d)return y.replace(/'\{(.*?)\}'/gi,"{$1}");if(r=Sn(Sn({},d),r||{}),i=uo(i,f),s=uo(s,f),!y){if((!m||a&&a.toLowerCase()!==u.toLowerCase())&&c(new to(n,a)),m)try{return t.getMessageFormat(m,u,s,o).format(r)}catch(e){return c(new eo('Error formatting default message for: "'+h+'", rendering default message verbatim',a,n,e)),"string"==typeof m?m:h}return h}try{return t.getMessageFormat(y,a,i,Sn({formatters:t},o||{})).format(r)}catch(e){c(new eo('Error formatting message: "'+h+'", using '+(m?"default message":"id")+" as fallback.",a,n,e))}if(m)try{return t.getMessageFormat(m,u,s,o).format(r)}catch(e){c(new eo('Error formatting the default message for: "'+h+'", rendering message verbatim',a,n,e))}return"string"==typeof y?y:"string"==typeof m?m:h}var co=["localeMatcher","formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName","hourCycle","dateStyle","timeStyle","calendar","numberingSystem"];function fo(e,t,n,r){var o=e.locale,a=e.formats,i=e.onError,l=e.timeZone;void 0===r&&(r={});var u=r.format,s=Sn(Sn({},l&&{timeZone:l}),u&&ao(a,t,u,i)),c=no(r,co,s);return"time"!==t||c.hour||c.minute||c.second||c.timeStyle||c.dateStyle||(c=Sn(Sn({},c),{hour:"numeric",minute:"numeric"})),n(o,c)}function po(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var o=n[0],a=n[1],i=void 0===a?{}:a,l="string"==typeof o?new Date(o||0):o;try{return fo(e,"date",t,i).format(l)}catch(t){e.onError(new Kr(Qr.FORMAT_ERROR,"Error formatting date.",t))}return String(l)}function mo(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var o=n[0],a=n[1],i=void 0===a?{}:a,l="string"==typeof o?new Date(o||0):o;try{return fo(e,"time",t,i).format(l)}catch(t){e.onError(new Kr(Qr.FORMAT_ERROR,"Error formatting time.",t))}return String(l)}function ho(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var o=n[0],a=n[1],i=n[2],l=void 0===i?{}:i,u=e.timeZone,s=e.locale,c=e.onError,f=no(l,co,u?{timeZone:u}:{});try{return t(s,f).formatRange(o,a)}catch(e){c(new Kr(Qr.FORMAT_ERROR,"Error formatting date time range.",e))}return String(o)}function yo(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var o=n[0],a=n[1],i=void 0===a?{}:a,l="string"==typeof o?new Date(o||0):o;try{return fo(e,"date",t,i).formatToParts(l)}catch(t){e.onError(new Kr(Qr.FORMAT_ERROR,"Error formatting date.",t))}return[]}function go(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var o=n[0],a=n[1],i=void 0===a?{}:a,l="string"==typeof o?new Date(o||0):o;try{return fo(e,"time",t,i).formatToParts(l)}catch(t){e.onError(new Kr(Qr.FORMAT_ERROR,"Error formatting time.",t))}return[]}var vo=["localeMatcher","style","type","fallback"];function bo(e,t,n,r){var o=e.locale,a=e.onError;Intl.DisplayNames||a(new Gr('Intl.DisplayNames is not available in this environment.\nTry polyfilling it using "@formatjs/intl-displaynames"\n',jr.MISSING_INTL_API));var i=no(r,vo);try{return t(o,i).of(n)}catch(e){a(new Kr(Qr.FORMAT_ERROR,"Error formatting display name.",e))}}var Eo=["localeMatcher","type","style"],wo=Date.now();function _o(e,t,n,r){void 0===r&&(r={});var o=So(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===o.length?o[0]:o}function So(e,t,n,r){var o=e.locale,a=e.onError;void 0===r&&(r={}),Intl.ListFormat||a(new Gr('Intl.ListFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-listformat"\n',jr.MISSING_INTL_API));var i=no(r,Eo);try{var l={},u=n.map(function(e,t){if("object"==typeof e){var n=function(e){return wo+"_"+e+"_"+wo}(t);return l[n]=e,n}return String(e)});return t(o,i).formatToParts(u).map(function(e){return"literal"===e.type?e:Sn(Sn({},e),{value:l[e.value]||e.value})})}catch(e){a(new Kr(Qr.FORMAT_ERROR,"Error formatting list.",e))}return n}var Co=["localeMatcher","type"];function Oo(e,t,n,r){var o=e.locale,a=e.onError;void 0===r&&(r={}),Intl.PluralRules||a(new Gr('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',jr.MISSING_INTL_API));var i=no(r,Co);try{return t(o,i).select(n)}catch(e){a(new eo("Error formatting plural.",e))}return"other"}var ko=["numeric","style"];function To(e,t,n,r,o){void 0===o&&(o={}),r||(r="second"),Intl.RelativeTimeFormat||e.onError(new Gr('Intl.RelativeTimeFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-relativetimeformat"\n',jr.MISSING_INTL_API));try{return function(e,t,n){var r=e.locale;void 0===n&&(n={});var o=n.format,a=!!o&&ao(e.formats,"relative",o,e.onError)||{};return t(r,no(n,ko,a))}(e,t,o).format(n,r)}catch(t){e.onError(new eo("Error formatting relative time.",t))}return String(n)}var Po=["localeMatcher","style","currency","currencyDisplay","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay","numberingSystem"];function No(e,t,n){var r=e.locale;void 0===n&&(n={});var o=n.format,a=o&&ao(e.formats,"number",o,e.onError)||{};return t(r,no(n,Po,a))}function xo(e,t,n,r){void 0===r&&(r={});try{return No(e,t,r).format(n)}catch(t){e.onError(new Kr(Qr.FORMAT_ERROR,"Error formatting number.",t))}return String(n)}function Ao(e,t,n,r){void 0===r&&(r={});try{return No(e,t,r).formatToParts(n)}catch(t){e.onError(new Kr(Qr.FORMAT_ERROR,"Error formatting number.",t))}return[]}function Lo(e){En(e,"[React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.")}var Ro=Qt(Qt({},ro),{textComponent:$t.Fragment});function Io(e,t){if(e===t)return!0;if(!e||!t)return!1;var n=Object.keys(e),r=Object.keys(t),o=n.length;if(r.length!==o)return!1;for(var a=0;a<o;a++){var i=n[a];if(e[i]!==t[i]||!Object.prototype.hasOwnProperty.call(t,i))return!1}return!0}var Mo,Do,Fo=$t.createContext(null),jo=Fo.Provider,Uo=Fo;function zo(){var e=$t.useContext(Uo);return Lo(e),e}function Vo(e){var t=function(t){var n=zo(),r=t.value,o=t.children,a=Xt(t,["value","children"]),i=n[e](r,a);return"function"==typeof o?o(i):$t.createElement(n.textComponent||$t.Fragment,null,i)};return t.displayName=Mo[e],t}function Go(e){return{locale:e.locale,timeZone:e.timeZone,formats:e.formats,textComponent:e.textComponent,messages:e.messages,defaultLocale:e.defaultLocale,defaultFormats:e.defaultFormats,onError:e.onError,wrapRichTextChunksInFragment:e.wrapRichTextChunksInFragment,defaultRichTextElements:e.defaultRichTextElements}}function Wo(e){return e?Object.keys(e).reduce(function(t,n){var r,o=e[n];return t[n]=$r(o)?(r=o,function(e){return r($t.Children.toArray(e))}):o,t},{}):e}!function(e){e.formatDate="FormattedDate",e.formatTime="FormattedTime",e.formatNumber="FormattedNumber",e.formatList="FormattedList",e.formatDisplayName="FormattedDisplayName"}(Mo||(Mo={})),function(e){e.formatDate="FormattedDateParts",e.formatTime="FormattedTimeParts",e.formatNumber="FormattedNumberParts",e.formatList="FormattedListParts"}(Do||(Do={}));var Bo=function(e,t,n,r){for(var o=[],a=4;a<arguments.length;a++)o[a-4]=arguments[a];var i=Wo(r),l=so.apply(void 0,Kt([e,t,n,i],o));return Array.isArray(l)?$t.Children.toArray(l):l},Ho=function(e,t){var n=e.defaultRichTextElements,r=Xt(e,["defaultRichTextElements"]),o=Wo(n),a=function(e,t){var n=function(e){void 0===e&&(e={dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}});var t=Intl.RelativeTimeFormat,n=Intl.ListFormat,r=Intl.DisplayNames,o=Ar(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,Cn([void 0],t)))},{cache:oo(e.dateTime),strategy:zr.variadic}),a=Ar(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,Cn([void 0],t)))},{cache:oo(e.number),strategy:zr.variadic}),i=Ar(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,Cn([void 0],t)))},{cache:oo(e.pluralRules),strategy:zr.variadic});return{getDateTimeFormat:o,getNumberFormat:a,getMessageFormat:Ar(function(e,t,n,r){return new Xr(e,t,n,Sn({formatters:{getNumberFormat:a,getDateTimeFormat:o,getPluralRules:i}},r||{}))},{cache:oo(e.message),strategy:zr.variadic}),getRelativeTimeFormat:Ar(function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return new(t.bind.apply(t,Cn([void 0],e)))},{cache:oo(e.relativeTime),strategy:zr.variadic}),getPluralRules:i,getListFormat:Ar(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new(n.bind.apply(n,Cn([void 0],e)))},{cache:oo(e.list),strategy:zr.variadic}),getDisplayNames:Ar(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new(r.bind.apply(r,Cn([void 0],e)))},{cache:oo(e.displayNames),strategy:zr.variadic})}}(t),r=Sn(Sn({},ro),e),o=r.locale,a=r.defaultLocale,i=r.onError;return o?!Intl.NumberFormat.supportedLocalesOf(o).length&&i?i(new Jr('Missing locale data for locale: "'+o+'" in Intl.NumberFormat. Using default locale: "'+a+'" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details')):!Intl.DateTimeFormat.supportedLocalesOf(o).length&&i&&i(new Jr('Missing locale data for locale: "'+o+'" in Intl.DateTimeFormat. Using default locale: "'+a+'" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details')):(i&&i(new Zr('"locale" was not configured, using "'+a+'" as fallback. See https://formatjs.io/docs/react-intl/api#intlshape for more details')),r.locale=r.defaultLocale||"en"),function(e){var t;e.defaultRichTextElements&&"string"==typeof((t=e.messages||{})?t[Object.keys(t)[0]]:void 0)&&console.warn('[@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),Sn(Sn({},r),{formatters:n,formatNumber:xo.bind(null,r,n.getNumberFormat),formatNumberToParts:Ao.bind(null,r,n.getNumberFormat),formatRelativeTime:To.bind(null,r,n.getRelativeTimeFormat),formatDate:po.bind(null,r,n.getDateTimeFormat),formatDateToParts:yo.bind(null,r,n.getDateTimeFormat),formatTime:mo.bind(null,r,n.getDateTimeFormat),formatDateTimeRange:ho.bind(null,r,n.getDateTimeFormat),formatTimeToParts:go.bind(null,r,n.getDateTimeFormat),formatPlural:Oo.bind(null,r,n.getPluralRules),formatMessage:so.bind(null,r,n),formatList:_o.bind(null,r,n.getListFormat),formatListToParts:So.bind(null,r,n.getListFormat),formatDisplayName:bo.bind(null,r,n.getDisplayNames)})}(Qt(Qt(Qt({},Ro),r),{defaultRichTextElements:o}),t);return Qt(Qt({},a),{formatMessage:Bo.bind(null,{locale:a.locale,timeZone:a.timeZone,formats:a.formats,defaultLocale:a.defaultLocale,defaultFormats:a.defaultFormats,messages:a.messages,onError:a.onError,defaultRichTextElements:o},a.formatters)})},$o=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.cache={dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}},t.state={cache:t.cache,intl:Ho(Go(t.props),t.cache),prevConfig:Go(t.props)},t}return 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}qt(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}(t,e),t.getDerivedStateFromProps=function(e,t){var n=t.prevConfig,r=t.cache,o=Go(e);return Io(n,o)?null:{intl:Ho(o,r),prevConfig:o}},t.prototype.render=function(){return Lo(this.state.intl),$t.createElement(jo,{value:this.state.intl},this.props.children)},t.displayName="IntlProvider",t.defaultProps=Ro,t}($t.PureComponent);function qo(e){var t=zo(),n=t.textComponent,r=e.children,o=e.tagName,a=void 0===o?void 0===n?$t.Fragment:n:o,i=(0,t.formatMessage)({id:e.id,description:e.description,defaultMessage:e.defaultMessage},e.values,{ignoreTag:e.ignoreTag});return"function"==typeof r?r(Array.isArray(i)?i:[i]):a?$t.createElement(a,null,$t.Children.toArray(i)):$t.createElement($t.Fragment,null,i)}qo.displayName="FormattedMessage";var Qo=$t.memo(qo,function(e,t){var n=e.values,r=Xt(e,["values"]),o=t.values,a=Xt(t,["values"]);return Io(o,n)&&Io(r,a)});Qo.displayName="MemoizedFormattedMessage";var Xo=Vo("formatDate"),Ko=(Vo("formatTime"),Vo("formatNumber")),Yo=(Vo("formatList"),Vo("formatDisplayName"),{"eligibility-modal.bullet-1":"Wählen Sie an der Kasse <strong>Alma</strong> .","eligibility-modal.bullet-2":"Füllen Sie die <strong>angeforderten</strong> Informationen aus.","eligibility-modal.bullet-3":"Die Bestätigung Ihrer Zahlung <strong>sofort</strong> !","eligibility-modal.cost":"Davon Kosten","eligibility-modal.credit-commitment":"Ein Kredit verpflichtet Sie und muss zurückgezahlt werden. Prüfen Sie Ihre Rückzahlungsfähigkeit, bevor Sie sich verpflichten.","eligibility-modal.credit-cost":"Davon Kreditkosten","eligibility-modal.credit-cost-amount":"{creditCost} (APR {TAEG})","eligibility-modal.no-eligibility":"Ups, die Simulation scheint nicht funktioniert zu haben.","eligibility-modal.title":"<highlighted>Bezahlen Sie in Raten</highlighted> oder später per Kreditkarte mit Alma.","eligibility-modal.total":"Insgesamt","installments.today":"Heutzutage","payment-plan-strings.day-abbreviation":"J{numberOfDeferredDays}","payment-plan-strings.default-message":"Bezahlen Sie in Raten mit Alma","payment-plan-strings.deferred":"{totalAmount} zu zahlen am {dueDate}","payment-plan-strings.ineligible-greater-than-max":"Bis zu {maxAmount}","payment-plan-strings.ineligible-lower-than-min":"Ab {minAmount}","payment-plan-strings.multiple-installments":"{numberOfRemainingInstallments, plural, one {{firstInstallmentAmount} dann {numberOfRemainingInstallments} x {othersInstallmentAmount}} other {{firstInstallmentAmount} dann {numberOfRemainingInstallments} x {othersInstallmentAmount}}}","payment-plan-strings.multiple-installments-same-amount":"{installmentsCount} x {totalAmount}","payment-plan-strings.no-fee":"(gebührenfrei)"}),Zo={"eligibility-modal.bullet-1":"Choose <strong>Alma</strong> at checkout.","eligibility-modal.bullet-2":"Fill in the <strong>information</strong> requested.","eligibility-modal.bullet-3":"Validation of your payment <strong>instantaneous</strong>!","eligibility-modal.cost":"Of which costs","eligibility-modal.credit-commitment":"A loan commits you and must be repaid. Check your ability to repay before committing yourself.","eligibility-modal.credit-cost":"Of which cost of credit","eligibility-modal.credit-cost-amount":"{creditCost} (APR {TAEG})","eligibility-modal.no-eligibility":"Oops, looks like the simulation didn't work.","eligibility-modal.title":"<highlighted>Pay in installments</highlighted> or later by credit card with Alma.","eligibility-modal.total":"Total","installments.today":"Today","payment-plan-strings.day-abbreviation":"T{numberOfDeferredDays}","payment-plan-strings.default-message":"Pay in installments with Alma","payment-plan-strings.deferred":"{totalAmount} to be paid on {dueDate}","payment-plan-strings.ineligible-greater-than-max":"Until {maxAmount}","payment-plan-strings.ineligible-lower-than-min":"From {minAmount}","payment-plan-strings.multiple-installments":"{numberOfRemainingInstallments, plural, one {{firstInstallmentAmount} then {numberOfRemainingInstallments} x {othersInstallmentAmount}} other {{firstInstallmentAmount} then {numberOfRemainingInstallments} x {othersInstallmentAmount}}}","payment-plan-strings.multiple-installments-same-amount":"{installmentsCount} x {totalAmount}","payment-plan-strings.no-fee":"(free of charge)"},Jo={"eligibility-modal.bullet-1":"Elige <strong>Alma</strong> como método de pago.","eligibility-modal.bullet-2":"Completa la <strong>información</strong> solicitada.","eligibility-modal.bullet-3":"¡Validación <strong>inmediata</strong> de tu pago!","eligibility-modal.cost":"Gastos (incl. en el total)","eligibility-modal.credit-commitment":"Un préstamo te compromete y debe ser devuelto. Comprueba tu capacidad financiera antes de comprometerte.","eligibility-modal.credit-cost":"Coste de crédito (incl. en el total)","eligibility-modal.credit-cost-amount":"{creditCost} (TAE {TAEG})","eligibility-modal.no-eligibility":"Uy, parece que la simulación no ha funcionado.","eligibility-modal.title":"<highlighted>Paga a plazos</highlighted> o más adelante con tu tarjeta, a través de Alma.","eligibility-modal.total":"Total","installments.today":"Hoy","payment-plan-strings.day-abbreviation":"D{numberOfDeferredDays}","payment-plan-strings.default-message":"Pagar a plazos con Alma","payment-plan-strings.deferred":"{totalAmount} a pagar el {dueDate}","payment-plan-strings.ineligible-greater-than-max":"Hasta {maxAmount}","payment-plan-strings.ineligible-lower-than-min":"Desde {minAmount}","payment-plan-strings.multiple-installments":"{numberOfRemainingInstallments, plural, one {{firstInstallmentAmount} hoy, después {numberOfRemainingInstallments} mensualidad de {othersInstallmentAmount}} other {{firstInstallmentAmount} hoy, después {numberOfRemainingInstallments} mensualidades de {othersInstallmentAmount}}}","payment-plan-strings.multiple-installments-same-amount":"{installmentsCount} plazos de {totalAmount}","payment-plan-strings.no-fee":"(sin intereses)"},ea={"eligibility-modal.bullet-1":"Choisissez <strong>Alma</strong> au moment du paiement.","eligibility-modal.bullet-2":"Renseignez les <strong>informations</strong> demandées.","eligibility-modal.bullet-3":"La validation de votre paiement <strong>instantanée</strong> !","eligibility-modal.cost":"Dont frais","eligibility-modal.credit-commitment":"Un crédit vous engage et doit être remboursé. Vérifiez vos capacités de remboursement avant de vous engager.","eligibility-modal.credit-cost":"Dont coût du crédit","eligibility-modal.credit-cost-amount":"{creditCost} (TAEG {TAEG})","eligibility-modal.no-eligibility":"Oups, il semblerait que la simulation n'aie pas fonctionné.","eligibility-modal.title":"<highlighted>Payez en plusieurs fois</highlighted> ou plus tard par carte bancaire avec Alma.","eligibility-modal.total":"Total","installments.today":"Aujourd'hui","payment-plan-strings.day-abbreviation":"J{numberOfDeferredDays}","payment-plan-strings.default-message":"Payez en plusieurs fois avec Alma","payment-plan-strings.deferred":"{totalAmount} à payer le {dueDate}","payment-plan-strings.ineligible-greater-than-max":"Jusqu'à {maxAmount}","payment-plan-strings.ineligible-lower-than-min":"À partir de {minAmount}","payment-plan-strings.multiple-installments":"{numberOfRemainingInstallments, plural, one {{firstInstallmentAmount} puis {numberOfRemainingInstallments} x {othersInstallmentAmount}} other {{firstInstallmentAmount} puis {numberOfRemainingInstallments} x {othersInstallmentAmount}}}","payment-plan-strings.multiple-installments-same-amount":"{installmentsCount} x {totalAmount}","payment-plan-strings.no-fee":"(sans frais)"},ta={"eligibility-modal.bullet-1":"Scegli <strong>Alma</strong> alla cassa.","eligibility-modal.bullet-2":"Compila le informazioni <strong></strong> richieste.","eligibility-modal.bullet-3":"Convalida del tuo pagamento <strong>istantanea</strong>!","eligibility-modal.cost":"Di cui commissioni","eligibility-modal.credit-commitment":"Un pagamento rateale ti impegna e deve essere ripagato. Verifica la tua capacità di rimborso prima di impegnarti.","eligibility-modal.credit-cost":"Di cui commissioni","eligibility-modal.credit-cost-amount":"{creditCost} (TAEG {TAEG})","eligibility-modal.no-eligibility":"Ops, sembra che la simulazione non abbia funzionato.","eligibility-modal.title":"<highlighted>Paga a rate</highlighted> e posticipa il pagamento con Alma, senza interessi.","eligibility-modal.total":"Totale","installments.today":"Oggi","payment-plan-strings.day-abbreviation":"G{numberOfDeferredDays}","payment-plan-strings.default-message":"Paga a rate con Alma","payment-plan-strings.deferred":"{totalAmount} da pagare il {dueDate}","payment-plan-strings.ineligible-greater-than-max":"Disponibile fino a {maxAmount}","payment-plan-strings.ineligible-lower-than-min":"Pagamento rateale disponibile a partire da {minAmount}","payment-plan-strings.multiple-installments":"{numberOfRemainingInstallments, plural, one {Oggi paghi {firstInstallmentAmount} poi tra {numberOfRemainingInstallments} mese {othersInstallmentAmount}} other {Oggi paghi {firstInstallmentAmount} poi {numberOfRemainingInstallments} rate mensili di {othersInstallmentAmount}}}","payment-plan-strings.multiple-installments-same-amount":"In {installmentsCount} rate mensili di {totalAmount}","payment-plan-strings.no-fee":"(senza interessi)"},na={"eligibility-modal.bullet-1":"Kies <strong>Alma</strong> bij het afrekenen.","eligibility-modal.bullet-2":"Vul de <strong>gevraagde informatie</strong> in.","eligibility-modal.bullet-3":"Onmiddelijke validatie van uw betaling ","eligibility-modal.cost":"Waarvan kosten","eligibility-modal.credit-commitment":"Een lening bindt je en moet worden terugbetaald. Ga na of u kunt terugbetalen voordat u zich vastlegt.","eligibility-modal.credit-cost":"Waarvan kosten van krediet","eligibility-modal.credit-cost-amount":"{creditCost} (APR {TAEG})","eligibility-modal.no-eligibility":"Oeps, het lijkt erop dat de simulatie niet werkte.","eligibility-modal.title":"<highlighted>Betaal in termijnen</highlighted> of later per credit card met Alma.","eligibility-modal.total":"Totaal","installments.today":"Tegenwoordig","payment-plan-strings.day-abbreviation":"J{numberOfDeferredDays}","payment-plan-strings.default-message":"Betaal in termijnen met Alma","payment-plan-strings.deferred":"{totalAmount} te betalen op {dueDate}","payment-plan-strings.ineligible-greater-than-max":"Tot {maxAmount}","payment-plan-strings.ineligible-lower-than-min":"Van {minAmount}","payment-plan-strings.multiple-installments":"{numberOfRemainingInstallments, plural, one {{firstInstallmentAmount} dan {numberOfRemainingInstallments} x {othersInstallmentAmount}} other {{firstInstallmentAmount} dan {numberOfRemainingInstallments} x {othersInstallmentAmount}}}","payment-plan-strings.multiple-installments-same-amount":"{installmentsCount} x {totalAmount}","payment-plan-strings.no-fee":"(gratis)"},ra=function(e){switch(e){case Dt.fr:return ea;case Dt.en:return Zo;case Dt.es:return Jo;case Dt.it:return ta;case Dt.de:return Yo;case Dt.nl:case Dt["nl-BE"]:case Dt["nl-NL"]:return na;default:return Zo}},oa=function(e){var t=e.children,n=e.locale;return $t.createElement($o,{messages:ra(n),locale:n,defaultLocale:"en"},t)},aa=s(function(e,t){var n,r,o,a;if("object"==typeof performance&&"function"==typeof performance.now){var i=performance;t.unstable_now=function(){return i.now()}}else{var l=Date,u=l.now();t.unstable_now=function(){return l.now()-u}}if("undefined"==typeof window||"function"!=typeof MessageChannel){var s=null,c=null,f=function(){if(null!==s)try{var e=t.unstable_now();s(!0,e),s=null}catch(e){throw setTimeout(f,0),e}};n=function(e){null!==s?setTimeout(n,0,e):(s=e,setTimeout(f,0))},r=function(e,t){c=setTimeout(e,t)},o=function(){clearTimeout(c)},t.unstable_shouldYield=function(){return!1},a=t.unstable_forceFrameRate=function(){}}else{var d=window.setTimeout,p=window.clearTimeout;if("undefined"!=typeof console){var m=window.cancelAnimationFrame;"function"!=typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),"function"!=typeof m&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills")}var h=!1,y=null,g=-1,v=5,b=0;t.unstable_shouldYield=function(){return t.unstable_now()>=b},a=function(){},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"):v=0<e?Math.floor(1e3/e):5};var E=new MessageChannel,w=E.port2;E.port1.onmessage=function(){if(null!==y){var e=t.unstable_now();b=e+v;try{y(!0,e)?w.postMessage(null):(h=!1,y=null)}catch(e){throw w.postMessage(null),e}}else h=!1},n=function(e){y=e,h||(h=!0,w.postMessage(null))},r=function(e,n){g=d(function(){e(t.unstable_now())},n)},o=function(){p(g),g=-1}}function _(e,t){var n=e.length;e.push(t);e:for(;;){var r=n-1>>>1,o=e[r];if(!(void 0!==o&&0<O(o,t)))break e;e[r]=t,e[n]=o,n=r}}function S(e){return void 0===(e=e[0])?null:e}function C(e){var t=e[0];if(void 0!==t){var n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,o=e.length;r<o;){var a=2*(r+1)-1,i=e[a],l=a+1,u=e[l];if(void 0!==i&&0>O(i,n))void 0!==u&&0>O(u,i)?(e[r]=u,e[l]=n,r=l):(e[r]=i,e[a]=n,r=a);else{if(!(void 0!==u&&0>O(u,n)))break e;e[r]=u,e[l]=n,r=l}}}return t}return null}function O(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var k=[],T=[],P=1,N=null,x=3,A=!1,L=!1,R=!1;function I(e){for(var t=S(T);null!==t;){if(null===t.callback)C(T);else{if(!(t.startTime<=e))break;C(T),t.sortIndex=t.expirationTime,_(k,t)}t=S(T)}}function M(e){if(R=!1,I(e),!L)if(null!==S(k))L=!0,n(D);else{var t=S(T);null!==t&&r(M,t.startTime-e)}}function D(e,n){L=!1,R&&(R=!1,o()),A=!0;var a=x;try{for(I(n),N=S(k);null!==N&&(!(N.expirationTime>n)||e&&!t.unstable_shouldYield());){var i=N.callback;if("function"==typeof i){N.callback=null,x=N.priorityLevel;var l=i(N.expirationTime<=n);n=t.unstable_now(),"function"==typeof l?N.callback=l:N===S(k)&&C(k),I(n)}else C(k);N=S(k)}if(null!==N)var u=!0;else{var s=S(T);null!==s&&r(M,s.startTime-n),u=!1}return u}finally{N=null,x=a,A=!1}}var F=a;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(){L||A||(L=!0,n(D))},t.unstable_getCurrentPriorityLevel=function(){return x},t.unstable_getFirstCallbackNode=function(){return S(k)},t.unstable_next=function(e){switch(x){case 1:case 2:case 3:var t=3;break;default:t=x}var n=x;x=t;try{return e()}finally{x=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=F,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=x;x=e;try{return t()}finally{x=n}},t.unstable_scheduleCallback=function(e,a,i){var l=t.unstable_now();switch(i="object"==typeof i&&null!==i&&"number"==typeof(i=i.delay)&&0<i?l+i:l,e){case 1:var u=-1;break;case 2:u=250;break;case 5:u=1073741823;break;case 4:u=1e4;break;default:u=5e3}return e={id:P++,callback:a,priorityLevel:e,startTime:i,expirationTime:u=i+u,sortIndex:-1},i>l?(e.sortIndex=i,_(T,e),null===S(k)&&e===S(T)&&(R?o():R=!0,r(M,i-l))):(e.sortIndex=u,_(k,e),L||A||(L=!0,n(D))),e},t.unstable_wrapCallback=function(e){var t=x;return function(){var n=x;x=t;try{return e.apply(this,arguments)}finally{x=n}}}}),ia=(s(function(e,t){}),s(function(e){e.exports=aa}));function la(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."}if(!$t)throw Error(la(227));var ua=new Set,sa={};function ca(e,t){fa(e,t),fa(e+"Capture",t)}function fa(e,t){for(sa[e]=t,e=0;e<t.length;e++)ua.add(t[e])}var da=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),pa=/^[: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]*$/,ma=Object.prototype.hasOwnProperty,ha={},ya={};function ga(e,t,n,r,o,a,i){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=a,this.removeEmptyString=i}var va={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){va[e]=new ga(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];va[t]=new ga(t,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){va[e]=new ga(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){va[e]=new ga(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){va[e]=new ga(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){va[e]=new ga(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){va[e]=new ga(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){va[e]=new ga(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){va[e]=new ga(e,5,!1,e.toLowerCase(),null,!1,!1)});var ba=/[\-:]([a-z])/g;function Ea(e){return e[1].toUpperCase()}function wa(e,t,n,r){var o=va.hasOwnProperty(t)?va[t]:null;(null!==o?0===o.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,o,r)&&(n=null),r||null===o?function(e){return!!ma.call(ya,e)||!ma.call(ha,e)&&(pa.test(e)?ya[e]=!0:(ha[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=null===n?3!==o.type&&"":n:(t=o.attributeName,r=o.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(o=o.type)||4===o&&!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(ba,Ea);va[t]=new ga(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(ba,Ea);va[t]=new ga(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(ba,Ea);va[t]=new ga(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){va[e]=new ga(e,1,!1,e.toLowerCase(),null,!1,!1)}),va.xlinkHref=new ga("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){va[e]=new ga(e,1,!1,e.toLowerCase(),null,!0,!0)});var _a=$t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Sa=60103,Ca=60106,Oa=60107,ka=60108,Ta=60114,Pa=60109,Na=60110,xa=60112,Aa=60113,La=60120,Ra=60115,Ia=60116,Ma=60121,Da=60128,Fa=60129,ja=60130,Ua=60131;if("function"==typeof Symbol&&Symbol.for){var za=Symbol.for;Sa=za("react.element"),Ca=za("react.portal"),Oa=za("react.fragment"),ka=za("react.strict_mode"),Ta=za("react.profiler"),Pa=za("react.provider"),Na=za("react.context"),xa=za("react.forward_ref"),Aa=za("react.suspense"),La=za("react.suspense_list"),Ra=za("react.memo"),Ia=za("react.lazy"),Ma=za("react.block"),za("react.scope"),Da=za("react.opaque.id"),Fa=za("react.debug_trace_mode"),ja=za("react.offscreen"),Ua=za("react.legacy_hidden")}var Va,Ga="function"==typeof Symbol&&Symbol.iterator;function Wa(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=Ga&&e[Ga]||e["@@iterator"])?e:null}function Ba(e){if(void 0===Va)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);Va=t&&t[1]||""}return"\n"+Va+e}var Ha=!1;function $a(e,t){if(!e||Ha)return"";Ha=!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(e){if(e&&r&&"string"==typeof e.stack){for(var o=e.stack.split("\n"),a=r.stack.split("\n"),i=o.length-1,l=a.length-1;1<=i&&0<=l&&o[i]!==a[l];)l--;for(;1<=i&&0<=l;i--,l--)if(o[i]!==a[l]){if(1!==i||1!==l)do{if(i--,0>--l||o[i]!==a[l])return"\n"+o[i].replace(" at new "," at ")}while(1<=i&&0<=l);break}}}finally{Ha=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Ba(e):""}function qa(e){switch(e.tag){case 5:return Ba(e.type);case 16:return Ba("Lazy");case 13:return Ba("Suspense");case 19:return Ba("SuspenseList");case 0:case 2:case 15:return $a(e.type,!1);case 11:return $a(e.type.render,!1);case 22:return $a(e.type._render,!1);case 1:return $a(e.type,!0);default:return""}}function Qa(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 Oa:return"Fragment";case Ca:return"Portal";case Ta:return"Profiler";case ka:return"StrictMode";case Aa:return"Suspense";case La:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case Na:return(e.displayName||"Context")+".Consumer";case Pa:return(e._context.displayName||"Context")+".Provider";case xa:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case Ra:return Qa(e.type);case Ma:return Qa(e._render);case Ia:t=e._payload,e=e._init;try{return Qa(e(t))}catch(e){}}return null}function Xa(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function Ka(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function Ya(e){e._valueTracker||(e._valueTracker=function(e){var t=Ka(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 o=n.get,a=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){r=""+e,a.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 Za(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Ka(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function Ja(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 ei(e,t){var n=t.checked;return Bt({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function ti(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=Xa(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 ni(e,t){null!=(t=t.checked)&&wa(e,"checked",t,!1)}function ri(e,t){ni(e,t);var n=Xa(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")?ai(e,t.type,n):t.hasOwnProperty("defaultValue")&&ai(e,t.type,Xa(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function oi(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(("submit"===r||"reset"===r)&&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 ai(e,t,n){"number"===t&&Ja(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function ii(e,t){return e=Bt({children:void 0},t),(t=function(e){var t="";return $t.Children.forEach(e,function(e){null!=e&&(t+=e)}),t}(t.children))&&(e.children=t),e}function li(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+Xa(n),t=null,o=0;o<e.length;o++){if(e[o].value===n)return e[o].selected=!0,void(r&&(e[o].defaultSelected=!0));null!==t||e[o].disabled||(t=e[o])}null!==t&&(t.selected=!0)}}function ui(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(la(91));return Bt({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function si(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(la(92));if(Array.isArray(n)){if(!(1>=n.length))throw Error(la(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:Xa(n)}}function ci(e,t){var n=Xa(t.value),r=Xa(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 fi(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}var di="http://www.w3.org/1999/xhtml";function pi(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 mi(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?pi(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var hi,yi=function(e){return"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(t,n,r,o){MSApp.execUnsafeLocalFunction(function(){return e(t,n)})}:e}(function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((hi=hi||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=hi.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function gi(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 vi={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,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},bi=["Webkit","ms","Moz","O"];function Ei(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||vi.hasOwnProperty(e)&&vi[e]?(""+t).trim():t+"px"}function wi(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=Ei(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}Object.keys(vi).forEach(function(e){bi.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),vi[t]=vi[e]})});var _i=Bt({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 Si(e,t){if(t){if(_i[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(la(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(la(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(la(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(la(62))}}function Ci(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}}function Oi(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var ki=null,Ti=null,Pi=null;function Ni(e){if(e=Xs(e)){if("function"!=typeof ki)throw Error(la(280));var t=e.stateNode;t&&(t=Ys(t),ki(e.stateNode,e.type,t))}}function xi(e){Ti?Pi?Pi.push(e):Pi=[e]:Ti=e}function Ai(){if(Ti){var e=Ti,t=Pi;if(Pi=Ti=null,Ni(e),t)for(e=0;e<t.length;e++)Ni(t[e])}}function Li(e,t){return e(t)}function Ri(e,t,n,r,o){return e(t,n,r,o)}function Ii(){}var Mi=Li,Di=!1,Fi=!1;function ji(){null===Ti&&null===Pi||(Ii(),Ai())}function Ui(e,t){var n=e.stateNode;if(null===n)return null;var r=Ys(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(la(231,t,typeof n));return n}var zi=!1;if(da)try{var Vi={};Object.defineProperty(Vi,"passive",{get:function(){zi=!0}}),window.addEventListener("test",Vi,Vi),window.removeEventListener("test",Vi,Vi)}catch(e){zi=!1}function Gi(e,t,n,r,o,a,i,l,u){var s=Array.prototype.slice.call(arguments,3);try{t.apply(n,s)}catch(e){this.onError(e)}}var Wi=!1,Bi=null,Hi=!1,$i=null,qi={onError:function(e){Wi=!0,Bi=e}};function Qi(e,t,n,r,o,a,i,l,u){Wi=!1,Bi=null,Gi.apply(qi,arguments)}function Xi(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!=(1026&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function Ki(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 Yi(e){if(Xi(e)!==e)throw Error(la(188))}function Zi(e){if(!(e=function(e){var t=e.alternate;if(!t){if(null===(t=Xi(e)))throw Error(la(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(null===o)break;var a=o.alternate;if(null===a){if(null!==(r=o.return)){n=r;continue}break}if(o.child===a.child){for(a=o.child;a;){if(a===n)return Yi(o),e;if(a===r)return Yi(o),t;a=a.sibling}throw Error(la(188))}if(n.return!==r.return)n=o,r=a;else{for(var i=!1,l=o.child;l;){if(l===n){i=!0,n=o,r=a;break}if(l===r){i=!0,r=o,n=a;break}l=l.sibling}if(!i){for(l=a.child;l;){if(l===n){i=!0,n=a,r=o;break}if(l===r){i=!0,r=a,n=o;break}l=l.sibling}if(!i)throw Error(la(189))}}if(n.alternate!==r)throw Error(la(190))}if(3!==n.tag)throw Error(la(188));return n.stateNode.current===n?e:t}(e)))return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}var Ji,el,tl,nl,rl=!1,ol=[],al=null,il=null,ll=null,ul=new Map,sl=new Map,cl=[],fl="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 dl(e,t,n,r,o){return{blockedOn:e,domEventName:t,eventSystemFlags:16|n,nativeEvent:o,targetContainers:[r]}}function pl(e,t){switch(e){case"focusin":case"focusout":al=null;break;case"dragenter":case"dragleave":il=null;break;case"mouseover":case"mouseout":ll=null;break;case"pointerover":case"pointerout":ul.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":sl.delete(t.pointerId)}}function ml(e,t,n,r,o,a){return null===e||e.nativeEvent!==a?(e=dl(t,n,r,o,a),null!==t&&null!==(t=Xs(t))&&el(t),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==o&&-1===t.indexOf(o)&&t.push(o),e)}function hl(e){var t=Qs(e.target);if(null!==t){var n=Xi(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=Ki(n)))return e.blockedOn=t,void nl(e.lanePriority,function(){ia.unstable_runWithPriority(e.priority,function(){tl(n)})})}else if(3===t&&n.stateNode.hydrate)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function yl(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Kl(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=Xs(n))&&el(t),e.blockedOn=n,!1;t.shift()}return!0}function gl(e,t,n){yl(e)&&n.delete(t)}function vl(){for(rl=!1;0<ol.length;){var e=ol[0];if(null!==e.blockedOn){null!==(e=Xs(e.blockedOn))&&Ji(e);break}for(var t=e.targetContainers;0<t.length;){var n=Kl(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n){e.blockedOn=n;break}t.shift()}null===e.blockedOn&&ol.shift()}null!==al&&yl(al)&&(al=null),null!==il&&yl(il)&&(il=null),null!==ll&&yl(ll)&&(ll=null),ul.forEach(gl),sl.forEach(gl)}function bl(e,t){e.blockedOn===t&&(e.blockedOn=null,rl||(rl=!0,ia.unstable_scheduleCallback(ia.unstable_NormalPriority,vl)))}function El(e){function t(t){return bl(t,e)}if(0<ol.length){bl(ol[0],e);for(var n=1;n<ol.length;n++){var r=ol[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==al&&bl(al,e),null!==il&&bl(il,e),null!==ll&&bl(ll,e),ul.forEach(t),sl.forEach(t),n=0;n<cl.length;n++)(r=cl[n]).blockedOn===e&&(r.blockedOn=null);for(;0<cl.length&&null===(n=cl[0]).blockedOn;)hl(n),null===n.blockedOn&&cl.shift()}function wl(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var _l={animationend:wl("Animation","AnimationEnd"),animationiteration:wl("Animation","AnimationIteration"),animationstart:wl("Animation","AnimationStart"),transitionend:wl("Transition","TransitionEnd")},Sl={},Cl={};function Ol(e){if(Sl[e])return Sl[e];if(!_l[e])return e;var t,n=_l[e];for(t in n)if(n.hasOwnProperty(t)&&t in Cl)return Sl[e]=n[t];return e}da&&(Cl=document.createElement("div").style,"AnimationEvent"in window||(delete _l.animationend.animation,delete _l.animationiteration.animation,delete _l.animationstart.animation),"TransitionEvent"in window||delete _l.transitionend.transition);var kl=Ol("animationend"),Tl=Ol("animationiteration"),Pl=Ol("animationstart"),Nl=Ol("transitionend"),xl=new Map,Al=new Map,Ll=["abort","abort",kl,"animationEnd",Tl,"animationIteration",Pl,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",Nl,"transitionEnd","waiting","waiting"];function Rl(e,t){for(var n=0;n<e.length;n+=2){var r=e[n],o=e[n+1];o="on"+(o[0].toUpperCase()+o.slice(1)),Al.set(r,t),xl.set(r,o),ca(o,[r])}}(0,ia.unstable_now)();var Il=8;function Ml(e){if(0!=(1&e))return Il=15,1;if(0!=(2&e))return Il=14,2;if(0!=(4&e))return Il=13,4;var t=24&e;return 0!==t?(Il=12,t):0!=(32&e)?(Il=11,32):0!=(t=192&e)?(Il=10,t):0!=(256&e)?(Il=9,256):0!=(t=3584&e)?(Il=8,t):0!=(4096&e)?(Il=7,4096):0!=(t=4186112&e)?(Il=6,t):0!=(t=62914560&e)?(Il=5,t):67108864&e?(Il=4,67108864):0!=(134217728&e)?(Il=3,134217728):0!=(t=805306368&e)?(Il=2,t):0!=(1073741824&e)?(Il=1,1073741824):(Il=8,e)}function Dl(e,t){var n=e.pendingLanes;if(0===n)return Il=0;var r=0,o=0,a=e.expiredLanes,i=e.suspendedLanes,l=e.pingedLanes;if(0!==a)r=a,o=Il=15;else if(0!=(a=134217727&n)){var u=a&~i;0!==u?(r=Ml(u),o=Il):0!=(l&=a)&&(r=Ml(l),o=Il)}else 0!=(a=n&~i)?(r=Ml(a),o=Il):0!==l&&(r=Ml(l),o=Il);if(0===r)return 0;if(r=n&((0>(r=31-Vl(r))?0:1<<r)<<1)-1,0!==t&&t!==r&&0==(t&i)){if(Ml(t),o<=Il)return t;Il=o}if(0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)r|=e[n=31-Vl(t)],t&=~(o=1<<n);return r}function Fl(e){return 0!=(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function jl(e){return e&-e}function Ul(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function zl(e,t,n){e.pendingLanes|=t;var r=t-1;e.suspendedLanes&=r,e.pingedLanes&=r,(e=e.eventTimes)[t=31-Vl(t)]=n}var Vl=Math.clz32?Math.clz32:function(e){return 0===e?32:31-(Gl(e)/Wl|0)|0},Gl=Math.log,Wl=Math.LN2,Bl=ia.unstable_UserBlockingPriority,Hl=ia.unstable_runWithPriority,$l=!0;function ql(e,t,n,r){Di||Ii();var o=Xl,a=Di;Di=!0;try{Ri(o,e,t,n,r)}finally{(Di=a)||ji()}}function Ql(e,t,n,r){Hl(Bl,Xl.bind(null,e,t,n,r))}function Xl(e,t,n,r){var o;if($l)if((o=0==(4&t))&&0<ol.length&&-1<fl.indexOf(e))e=dl(null,e,t,n,r),ol.push(e);else{var a=Kl(e,t,n,r);if(null===a)o&&pl(e,r);else{if(o){if(-1<fl.indexOf(e))return e=dl(a,e,t,n,r),void ol.push(e);if(function(e,t,n,r,o){switch(t){case"focusin":return al=ml(al,e,t,n,r,o),!0;case"dragenter":return il=ml(il,e,t,n,r,o),!0;case"mouseover":return ll=ml(ll,e,t,n,r,o),!0;case"pointerover":var a=o.pointerId;return ul.set(a,ml(ul.get(a)||null,e,t,n,r,o)),!0;case"gotpointercapture":return sl.set(a=o.pointerId,ml(sl.get(a)||null,e,t,n,r,o)),!0}return!1}(a,e,t,n,r))return;pl(e,r)}Ts(e,t,r,null,n)}}}function Kl(e,t,n,r){var o=Oi(r);if(null!==(o=Qs(o))){var a=Xi(o);if(null===a)o=null;else{var i=a.tag;if(13===i){if(null!==(o=Ki(a)))return o;o=null}else if(3===i){if(a.stateNode.hydrate)return 3===a.tag?a.stateNode.containerInfo:null;o=null}else a!==o&&(o=null)}}return Ts(e,t,r,o,n),null}var Yl=null,Zl=null,Jl=null;function eu(){if(Jl)return Jl;var e,t,n=Zl,r=n.length,o="value"in Yl?Yl.value:Yl.textContent,a=o.length;for(e=0;e<r&&n[e]===o[e];e++);var i=r-e;for(t=1;t<=i&&n[r-t]===o[a-t];t++);return Jl=o.slice(e,1<t?1-t:void 0)}function tu(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 nu(){return!0}function ru(){return!1}function ou(e){function t(t,n,r,o,a){for(var i in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=o,this.target=a,this.currentTarget=null,e)e.hasOwnProperty(i)&&(this[i]=(t=e[i])?t(o):o[i]);return this.isDefaultPrevented=(null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue)?nu:ru,this.isPropagationStopped=ru,this}return Bt(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=nu)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=nu)},persist:function(){},isPersistent:nu}),t}var au,iu,lu,uu={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},su=ou(uu),cu=Bt({},uu,{view:0,detail:0}),fu=ou(cu),du=Bt({},cu,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Su,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!==lu&&(lu&&"mousemove"===e.type?(au=e.screenX-lu.screenX,iu=e.screenY-lu.screenY):iu=au=0,lu=e),au)},movementY:function(e){return"movementY"in e?e.movementY:iu}}),pu=ou(du),mu=ou(Bt({},du,{dataTransfer:0})),hu=ou(Bt({},cu,{relatedTarget:0})),yu=ou(Bt({},uu,{animationName:0,elapsedTime:0,pseudoElement:0})),gu=ou(Bt({},uu,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}})),vu=ou(Bt({},uu,{data:0})),bu={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Eu={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"},wu={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function _u(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=wu[e])&&!!t[e]}function Su(){return _u}var Cu=ou(Bt({},cu,{key:function(e){if(e.key){var t=bu[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=tu(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?Eu[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Su,charCode:function(e){return"keypress"===e.type?tu(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?tu(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}})),Ou=ou(Bt({},du,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),ku=ou(Bt({},cu,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Su})),Tu=ou(Bt({},uu,{propertyName:0,elapsedTime:0,pseudoElement:0})),Pu=ou(Bt({},du,{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})),Nu=[9,13,27,32],xu=da&&"CompositionEvent"in window,Au=null;da&&"documentMode"in document&&(Au=document.documentMode);var Lu=da&&"TextEvent"in window&&!Au,Ru=da&&(!xu||Au&&8<Au&&11>=Au),Iu=String.fromCharCode(32),Mu=!1;function Du(e,t){switch(e){case"keyup":return-1!==Nu.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Fu(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var ju=!1,Uu={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 zu(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Uu[e.type]:"textarea"===t}function Vu(e,t,n,r){xi(r),0<(t=Ns(t,"onChange")).length&&(n=new su("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Gu=null,Wu=null;function Bu(e){ws(e,0)}function Hu(e){if(Za(Ks(e)))return e}function $u(e,t){if("change"===e)return t}var qu=!1;if(da){var Qu;if(da){var Xu="oninput"in document;if(!Xu){var Ku=document.createElement("div");Ku.setAttribute("oninput","return;"),Xu="function"==typeof Ku.oninput}Qu=Xu}else Qu=!1;qu=Qu&&(!document.documentMode||9<document.documentMode)}function Yu(){Gu&&(Gu.detachEvent("onpropertychange",Zu),Wu=Gu=null)}function Zu(e){if("value"===e.propertyName&&Hu(Wu)){var t=[];if(Vu(t,Wu,e,Oi(e)),e=Bu,Di)e(t);else{Di=!0;try{Li(e,t)}finally{Di=!1,ji()}}}}function Ju(e,t,n){"focusin"===e?(Yu(),Wu=n,(Gu=t).attachEvent("onpropertychange",Zu)):"focusout"===e&&Yu()}function es(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Hu(Wu)}function ts(e,t){if("click"===e)return Hu(t)}function ns(e,t){if("input"===e||"change"===e)return Hu(t)}var rs="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},os=Object.prototype.hasOwnProperty;function as(e,t){if(rs(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++)if(!os.call(t,n[r])||!rs(e[n[r]],t[n[r]]))return!1;return!0}function is(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function ls(e,t){var n,r=is(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=is(r)}}function us(){for(var e=window,t=Ja();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=Ja((e=t.contentWindow).document)}return t}function ss(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)}var cs=da&&"documentMode"in document&&11>=document.documentMode,fs=null,ds=null,ps=null,ms=!1;function hs(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;ms||null==fs||fs!==Ja(r)||(r="selectionStart"in(r=fs)&&ss(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},ps&&as(ps,r)||(ps=r,0<(r=Ns(ds,"onSelect")).length&&(t=new su("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=fs)))}Rl("cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focusin focus focusout blur input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0),Rl("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1),Rl(Ll,2);for(var ys="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),gs=0;gs<ys.length;gs++)Al.set(ys[gs],0);fa("onMouseEnter",["mouseout","mouseover"]),fa("onMouseLeave",["mouseout","mouseover"]),fa("onPointerEnter",["pointerout","pointerover"]),fa("onPointerLeave",["pointerout","pointerover"]),ca("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),ca("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),ca("onBeforeInput",["compositionend","keypress","textInput","paste"]),ca("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),ca("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),ca("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var vs="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),bs=new Set("cancel close invalid load scroll toggle".split(" ").concat(vs));function Es(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,o,a,i,l,u){if(Qi.apply(this,arguments),Wi){if(!Wi)throw Error(la(198));var s=Bi;Wi=!1,Bi=null,Hi||(Hi=!0,$i=s)}}(r,t,void 0,e),e.currentTarget=null}function ws(e,t){t=0!=(4&t);for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var a=void 0;if(t)for(var i=r.length-1;0<=i;i--){var l=r[i],u=l.instance,s=l.currentTarget;if(l=l.listener,u!==a&&o.isPropagationStopped())break e;Es(o,l,s),a=u}else for(i=0;i<r.length;i++){if(u=(l=r[i]).instance,s=l.currentTarget,l=l.listener,u!==a&&o.isPropagationStopped())break e;Es(o,l,s),a=u}}}if(Hi)throw e=$i,Hi=!1,$i=null,e}function _s(e,t){var n=Zs(t),r=e+"__bubble";n.has(r)||(ks(t,e,2,!1),n.add(r))}var Ss="_reactListening"+Math.random().toString(36).slice(2);function Cs(e){e[Ss]||(e[Ss]=!0,ua.forEach(function(t){bs.has(t)||Os(t,!1,e,null),Os(t,!0,e,null)}))}function Os(e,t,n,r){var o=4<arguments.length&&void 0!==arguments[4]?arguments[4]:0,a=n;if("selectionchange"===e&&9!==n.nodeType&&(a=n.ownerDocument),null!==r&&!t&&bs.has(e)){if("scroll"!==e)return;o|=2,a=r}var i=Zs(a),l=e+"__"+(t?"capture":"bubble");i.has(l)||(t&&(o|=4),ks(a,e,o,t),i.add(l))}function ks(e,t,n,r){var o=Al.get(t);switch(void 0===o?2:o){case 0:o=ql;break;case 1:o=Ql;break;default:o=Xl}n=o.bind(null,t,n,e),o=void 0,!zi||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(o=!0),e.addEventListener(t,n,r?void 0===o||{capture:!0,passive:o}:void 0!==o&&{passive:o})}function Ts(e,t,n,r,o){var a=r;if(0==(1&t)&&0==(2&t)&&null!==r)e:for(;;){if(null===r)return;var i=r.tag;if(3===i||4===i){var l=r.stateNode.containerInfo;if(l===o||8===l.nodeType&&l.parentNode===o)break;if(4===i)for(i=r.return;null!==i;){var u=i.tag;if((3===u||4===u)&&((u=i.stateNode.containerInfo)===o||8===u.nodeType&&u.parentNode===o))return;i=i.return}for(;null!==l;){if(null===(i=Qs(l)))return;if(5===(u=i.tag)||6===u){r=a=i;continue e}l=l.parentNode}}r=r.return}!function(e,t,n){if(Fi)return e();Fi=!0;try{Mi(e,void 0,void 0)}finally{Fi=!1,ji()}}(function(){var r=a,o=Oi(n),i=[];e:{var l=xl.get(e);if(void 0!==l){var u=su,s=e;switch(e){case"keypress":if(0===tu(n))break e;case"keydown":case"keyup":u=Cu;break;case"focusin":s="focus",u=hu;break;case"focusout":s="blur",u=hu;break;case"beforeblur":case"afterblur":u=hu;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=pu;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":u=mu;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":u=ku;break;case kl:case Tl:case Pl:u=yu;break;case Nl:u=Tu;break;case"scroll":u=fu;break;case"wheel":u=Pu;break;case"copy":case"cut":case"paste":u=gu;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":u=Ou}var c=0!=(4&t),f=!c&&"scroll"===e,d=c?null!==l?l+"Capture":null:l;c=[];for(var p,m=r;null!==m;){var h=(p=m).stateNode;if(5===p.tag&&null!==h&&(p=h,null!==d&&null!=(h=Ui(m,d))&&c.push(Ps(m,h,p))),f)break;m=m.return}0<c.length&&(l=new u(l,s,null,n,o),i.push({event:l,listeners:c}))}}if(0==(7&t)){if(u="mouseout"===e||"pointerout"===e,(!(l="mouseover"===e||"pointerover"===e)||0!=(16&t)||!(s=n.relatedTarget||n.fromElement)||!Qs(s)&&!s[$s])&&(u||l)&&(l=o.window===o?o:(l=o.ownerDocument)?l.defaultView||l.parentWindow:window,u?(u=r,null!==(s=(s=n.relatedTarget||n.toElement)?Qs(s):null)&&(s!==(f=Xi(s))||5!==s.tag&&6!==s.tag)&&(s=null)):(u=null,s=r),u!==s)){if(c=pu,h="onMouseLeave",d="onMouseEnter",m="mouse","pointerout"!==e&&"pointerover"!==e||(c=Ou,h="onPointerLeave",d="onPointerEnter",m="pointer"),f=null==u?l:Ks(u),p=null==s?l:Ks(s),(l=new c(h,m+"leave",u,n,o)).target=f,l.relatedTarget=p,h=null,Qs(o)===r&&((c=new c(d,m+"enter",s,n,o)).target=p,c.relatedTarget=f,h=c),f=h,u&&s)e:{for(d=s,m=0,p=c=u;p;p=xs(p))m++;for(p=0,h=d;h;h=xs(h))p++;for(;0<m-p;)c=xs(c),m--;for(;0<p-m;)d=xs(d),p--;for(;m--;){if(c===d||null!==d&&c===d.alternate)break e;c=xs(c),d=xs(d)}c=null}else c=null;null!==u&&As(i,l,u,c,!1),null!==s&&null!==f&&As(i,f,s,c,!0)}if("select"===(u=(l=r?Ks(r):window).nodeName&&l.nodeName.toLowerCase())||"input"===u&&"file"===l.type)var y=$u;else if(zu(l))if(qu)y=ns;else{y=es;var g=Ju}else(u=l.nodeName)&&"input"===u.toLowerCase()&&("checkbox"===l.type||"radio"===l.type)&&(y=ts);switch(y&&(y=y(e,r))?Vu(i,y,n,o):(g&&g(e,l,r),"focusout"===e&&(g=l._wrapperState)&&g.controlled&&"number"===l.type&&ai(l,"number",l.value)),g=r?Ks(r):window,e){case"focusin":(zu(g)||"true"===g.contentEditable)&&(fs=g,ds=r,ps=null);break;case"focusout":ps=ds=fs=null;break;case"mousedown":ms=!0;break;case"contextmenu":case"mouseup":case"dragend":ms=!1,hs(i,n,o);break;case"selectionchange":if(cs)break;case"keydown":case"keyup":hs(i,n,o)}var v;if(xu)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 ju?Du(e,n)&&(b="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(b="onCompositionStart");b&&(Ru&&"ko"!==n.locale&&(ju||"onCompositionStart"!==b?"onCompositionEnd"===b&&ju&&(v=eu()):(Zl="value"in(Yl=o)?Yl.value:Yl.textContent,ju=!0)),0<(g=Ns(r,b)).length&&(b=new vu(b,e,null,n,o),i.push({event:b,listeners:g}),(v||null!==(v=Fu(n)))&&(b.data=v))),(v=Lu?function(e,t){switch(e){case"compositionend":return Fu(t);case"keypress":return 32!==t.which?null:(Mu=!0,Iu);case"textInput":return(e=t.data)===Iu&&Mu?null:e;default:return null}}(e,n):function(e,t){if(ju)return"compositionend"===e||!xu&&Du(e,t)?(e=eu(),Jl=Zl=Yl=null,ju=!1,e):null;switch(e){case"paste":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 Ru&&"ko"!==t.locale?null:t.data;default:return null}}(e,n))&&0<(r=Ns(r,"onBeforeInput")).length&&(o=new vu("onBeforeInput","beforeinput",null,n,o),i.push({event:o,listeners:r}),o.data=v)}ws(i,t)})}function Ps(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Ns(e,t){for(var n=t+"Capture",r=[];null!==e;){var o=e,a=o.stateNode;5===o.tag&&null!==a&&(o=a,null!=(a=Ui(e,n))&&r.unshift(Ps(e,a,o)),null!=(a=Ui(e,t))&&r.push(Ps(e,a,o))),e=e.return}return r}function xs(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function As(e,t,n,r,o){for(var a=t._reactName,i=[];null!==n&&n!==r;){var l=n,u=l.alternate,s=l.stateNode;if(null!==u&&u===r)break;5===l.tag&&null!==s&&(l=s,o?null!=(u=Ui(n,a))&&i.unshift(Ps(n,u,l)):o||null!=(u=Ui(n,a))&&i.push(Ps(n,u,l))),n=n.return}0!==i.length&&e.push({event:t,listeners:i})}function Ls(){}var Rs=null,Is=null;function Ms(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function Ds(e,t){return"textarea"===e||"option"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var Fs="function"==typeof setTimeout?setTimeout:void 0,js="function"==typeof clearTimeout?clearTimeout:void 0;function Us(e){(1===e.nodeType||9===e.nodeType&&null!=(e=e.body))&&(e.textContent="")}function zs(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break}return e}function Vs(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 Gs=0,Ws=Math.random().toString(36).slice(2),Bs="__reactFiber$"+Ws,Hs="__reactProps$"+Ws,$s="__reactContainer$"+Ws,qs="__reactEvents$"+Ws;function Qs(e){var t=e[Bs];if(t)return t;for(var n=e.parentNode;n;){if(t=n[$s]||n[Bs]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=Vs(e);null!==e;){if(n=e[Bs])return n;e=Vs(e)}return t}n=(e=n).parentNode}return null}function Xs(e){return!(e=e[Bs]||e[$s])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function Ks(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(la(33))}function Ys(e){return e[Hs]||null}function Zs(e){var t=e[qs];return void 0===t&&(t=e[qs]=new Set),t}var Js=[],ec=-1;function tc(e){return{current:e}}function nc(e){0>ec||(e.current=Js[ec],Js[ec]=null,ec--)}function rc(e,t){ec++,Js[ec]=e.current,e.current=t}var oc={},ac=tc(oc),ic=tc(!1),lc=oc;function uc(e,t){var n=e.type.contextTypes;if(!n)return oc;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,a={};for(o in n)a[o]=t[o];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=a),a}function sc(e){return null!=e.childContextTypes}function cc(){nc(ic),nc(ac)}function fc(e,t,n){if(ac.current!==oc)throw Error(la(168));rc(ac,t),rc(ic,n)}function dc(e,t,n){var r=e.stateNode;if(e=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var o in r=r.getChildContext())if(!(o in e))throw Error(la(108,Qa(t)||"Unknown",o));return Bt({},n,r)}function pc(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||oc,lc=ac.current,rc(ac,e),rc(ic,ic.current),!0}function mc(e,t,n){var r=e.stateNode;if(!r)throw Error(la(169));n?(e=dc(e,t,lc),r.__reactInternalMemoizedMergedChildContext=e,nc(ic),nc(ac),rc(ac,e)):nc(ic),rc(ic,n)}var hc=null,yc=null,gc=ia.unstable_runWithPriority,vc=ia.unstable_scheduleCallback,bc=ia.unstable_cancelCallback,Ec=ia.unstable_shouldYield,wc=ia.unstable_requestPaint,_c=ia.unstable_now,Sc=ia.unstable_getCurrentPriorityLevel,Cc=ia.unstable_ImmediatePriority,Oc=ia.unstable_UserBlockingPriority,kc=ia.unstable_NormalPriority,Tc=ia.unstable_LowPriority,Pc=ia.unstable_IdlePriority,Nc={},xc=void 0!==wc?wc:function(){},Ac=null,Lc=null,Rc=!1,Ic=_c(),Mc=1e4>Ic?_c:function(){return _c()-Ic};function Dc(){switch(Sc()){case Cc:return 99;case Oc:return 98;case kc:return 97;case Tc:return 96;case Pc:return 95;default:throw Error(la(332))}}function Fc(e){switch(e){case 99:return Cc;case 98:return Oc;case 97:return kc;case 96:return Tc;case 95:return Pc;default:throw Error(la(332))}}function jc(e,t){return e=Fc(e),gc(e,t)}function Uc(e,t,n){return e=Fc(e),vc(e,t,n)}function zc(){if(null!==Lc){var e=Lc;Lc=null,bc(e)}Vc()}function Vc(){if(!Rc&&null!==Ac){Rc=!0;var e=0;try{var t=Ac;jc(99,function(){for(;e<t.length;e++){var n=t[e];do{n=n(!0)}while(null!==n)}}),Ac=null}catch(t){throw null!==Ac&&(Ac=Ac.slice(e+1)),vc(Cc,zc),t}finally{Rc=!1}}}var Gc=_a.ReactCurrentBatchConfig;function Wc(e,t){if(e&&e.defaultProps){for(var n in t=Bt({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var Bc=tc(null),Hc=null,$c=null,qc=null;function Qc(){qc=$c=Hc=null}function Xc(e){var t=Bc.current;nc(Bc),e.type._context._currentValue=t}function Kc(e,t){for(;null!==e;){var n=e.alternate;if((e.childLanes&t)===t){if(null===n||(n.childLanes&t)===t)break;n.childLanes|=t}else e.childLanes|=t,null!==n&&(n.childLanes|=t);e=e.return}}function Yc(e,t){Hc=e,qc=$c=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!=(e.lanes&t)&&(Nd=!0),e.firstContext=null)}function Zc(e,t){if(qc!==e&&!1!==t&&0!==t)if("number"==typeof t&&1073741823!==t||(qc=e,t=1073741823),t={context:e,observedBits:t,next:null},null===$c){if(null===Hc)throw Error(la(308));$c=t,Hc.dependencies={lanes:0,firstContext:t,responders:null}}else $c=$c.next=t;return e._currentValue}var Jc=!1;function ef(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null},effects:null}}function tf(e,t){t.updateQueue===(e=e.updateQueue)&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function nf(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function rf(e,t){if(null!==(e=e.updateQueue)){var n=(e=e.shared).pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}}function of(e,t){var n=e.updateQueue,r=e.alternate;if(null===r||n!==(r=r.updateQueue))null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t;else{var o=null,a=null;if(null!==(n=n.firstBaseUpdate)){do{var i={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===a?o=a=i:a=a.next=i,n=n.next}while(null!==n);null===a?o=a=t:a=a.next=t}else o=a=t;e.updateQueue=n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:a,shared:r.shared,effects:r.effects}}}function af(e,t,n,r){var o=e.updateQueue;Jc=!1;var a=o.firstBaseUpdate,i=o.lastBaseUpdate,l=o.shared.pending;if(null!==l){o.shared.pending=null;var u=l,s=u.next;u.next=null,null===i?a=s:i.next=s,i=u;var c=e.alternate;if(null!==c){var f=(c=c.updateQueue).lastBaseUpdate;f!==i&&(null===f?c.firstBaseUpdate=s:f.next=s,c.lastBaseUpdate=u)}}if(null!==a){for(f=o.baseState,i=0,c=s=u=null;;){var d=a.eventTime;if((r&(l=a.lane))===l){null!==c&&(c=c.next={eventTime:d,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var p=e,m=a;switch(l=t,d=n,m.tag){case 1:if("function"==typeof(p=m.payload)){f=p.call(d,f,l);break e}f=p;break e;case 3:p.flags=-4097&p.flags|64;case 0:if(null==(l="function"==typeof(p=m.payload)?p.call(d,f,l):p))break e;f=Bt({},f,l);break e;case 2:Jc=!0}}null!==a.callback&&(e.flags|=32,null===(l=o.effects)?o.effects=[a]:l.push(a))}else d={eventTime:d,lane:l,tag:a.tag,payload:a.payload,callback:a.callback,next:null},null===c?(s=c=d,u=f):c=c.next=d,i|=l;if(null===(a=a.next)){if(null===(l=o.shared.pending))break;a=l.next,l.next=null,o.lastBaseUpdate=l,o.shared.pending=null}}null===c&&(u=f),o.baseState=u,o.firstBaseUpdate=s,o.lastBaseUpdate=c,Pp|=i,e.lanes=i,e.memoizedState=f}}function lf(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(null!==o){if(r.callback=null,r=n,"function"!=typeof o)throw Error(la(191,o));o.call(r)}}}var uf=(new $t.Component).refs;function sf(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:Bt({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var cf={isMounted:function(e){return!!(e=e._reactInternals)&&Xi(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Yp(),o=Zp(e),a=nf(r,o);a.payload=t,null!=n&&(a.callback=n),rf(e,a),Jp(e,o,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Yp(),o=Zp(e),a=nf(r,o);a.tag=1,a.payload=t,null!=n&&(a.callback=n),rf(e,a),Jp(e,o,r)},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Yp(),r=Zp(e),o=nf(n,r);o.tag=2,null!=t&&(o.callback=t),rf(e,o),Jp(e,r,n)}};function ff(e,t,n,r,o,a,i){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,a,i):!(t.prototype&&t.prototype.isPureReactComponent&&as(n,r)&&as(o,a))}function df(e,t,n){var r=!1,o=oc,a=t.contextType;return"object"==typeof a&&null!==a?a=Zc(a):(o=sc(t)?lc:ac.current,a=(r=null!=(r=t.contextTypes))?uc(e,o):oc),t=new t(n,a),e.memoizedState=null!=t.state?t.state:null,t.updater=cf,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=a),t}function pf(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&&cf.enqueueReplaceState(t,t.state,null)}function mf(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=uf,ef(e);var a=t.contextType;"object"==typeof a&&null!==a?o.context=Zc(a):(a=sc(t)?lc:ac.current,o.context=uc(e,a)),af(e,n,o,r),o.state=e.memoizedState,"function"==typeof(a=t.getDerivedStateFromProps)&&(sf(e,t,a,n),o.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof o.getSnapshotBeforeUpdate||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||(t=o.state,"function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),t!==o.state&&cf.enqueueReplaceState(o,o.state,null),af(e,n,o,r),o.state=e.memoizedState),"function"==typeof o.componentDidMount&&(e.flags|=4)}var hf=Array.isArray;function yf(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(la(309));var r=n.stateNode}if(!r)throw Error(la(147,e));var o=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===o?t.ref:((t=function(e){var t=r.refs;t===uf&&(t=r.refs={}),null===e?delete t[o]:t[o]=e})._stringRef=o,t)}if("string"!=typeof e)throw Error(la(284));if(!n._owner)throw Error(la(290,e))}return e}function gf(e,t){if("textarea"!==e.type)throw Error(la(31,"[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t))}function vf(e){function t(t,n){if(e){var r=t.lastEffect;null!==r?(r.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n,n.nextEffect=null,n.flags=8}}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;)e.set(null!==t.key?t.key:t.index,t),t=t.sibling;return e}function o(e,t){return(e=Am(e,t)).index=0,e.sibling=null,e}function a(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):n}function i(t){return e&&null===t.alternate&&(t.flags=2),t}function l(e,t,n,r){return null===t||6!==t.tag?((t=Mm(n,e.mode,r)).return=e,t):((t=o(t,n)).return=e,t)}function u(e,t,n,r){return null!==t&&t.elementType===n.type?((r=o(t,n.props)).ref=yf(e,t,n),r.return=e,r):((r=Lm(n.type,n.key,n.props,null,e.mode,r)).ref=yf(e,t,n),r.return=e,r)}function s(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Dm(n,e.mode,r)).return=e,t):((t=o(t,n.children||[])).return=e,t)}function c(e,t,n,r,a){return null===t||7!==t.tag?((t=Rm(n,e.mode,r,a)).return=e,t):((t=o(t,n)).return=e,t)}function f(e,t,n){if("string"==typeof t||"number"==typeof t)return(t=Mm(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case Sa:return(n=Lm(t.type,t.key,t.props,null,e.mode,n)).ref=yf(e,null,t),n.return=e,n;case Ca:return(t=Dm(t,e.mode,n)).return=e,t}if(hf(t)||Wa(t))return(t=Rm(t,e.mode,n,null)).return=e,t;gf(e,t)}return null}function d(e,t,n,r){var o=null!==t?t.key:null;if("string"==typeof n||"number"==typeof n)return null!==o?null:l(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case Sa:return n.key===o?n.type===Oa?c(e,t,n.props.children,r,o):u(e,t,n,r):null;case Ca:return n.key===o?s(e,t,n,r):null}if(hf(n)||Wa(n))return null!==o?null:c(e,t,n,r,null);gf(e,n)}return null}function p(e,t,n,r,o){if("string"==typeof r||"number"==typeof r)return l(t,e=e.get(n)||null,""+r,o);if("object"==typeof r&&null!==r){switch(r.$$typeof){case Sa:return e=e.get(null===r.key?n:r.key)||null,r.type===Oa?c(t,e,r.props.children,o,r.key):u(t,e,r,o);case Ca:return s(t,e=e.get(null===r.key?n:r.key)||null,r,o)}if(hf(r)||Wa(r))return c(t,e=e.get(n)||null,r,o,null);gf(t,r)}return null}function m(o,i,l,u){for(var s=null,c=null,m=i,h=i=0,y=null;null!==m&&h<l.length;h++){m.index>h?(y=m,m=null):y=m.sibling;var g=d(o,m,l[h],u);if(null===g){null===m&&(m=y);break}e&&m&&null===g.alternate&&t(o,m),i=a(g,i,h),null===c?s=g:c.sibling=g,c=g,m=y}if(h===l.length)return n(o,m),s;if(null===m){for(;h<l.length;h++)null!==(m=f(o,l[h],u))&&(i=a(m,i,h),null===c?s=m:c.sibling=m,c=m);return s}for(m=r(o,m);h<l.length;h++)null!==(y=p(m,o,h,l[h],u))&&(e&&null!==y.alternate&&m.delete(null===y.key?h:y.key),i=a(y,i,h),null===c?s=y:c.sibling=y,c=y);return e&&m.forEach(function(e){return t(o,e)}),s}function h(o,i,l,u){var s=Wa(l);if("function"!=typeof s)throw Error(la(150));if(null==(l=s.call(l)))throw Error(la(151));for(var c=s=null,m=i,h=i=0,y=null,g=l.next();null!==m&&!g.done;h++,g=l.next()){m.index>h?(y=m,m=null):y=m.sibling;var v=d(o,m,g.value,u);if(null===v){null===m&&(m=y);break}e&&m&&null===v.alternate&&t(o,m),i=a(v,i,h),null===c?s=v:c.sibling=v,c=v,m=y}if(g.done)return n(o,m),s;if(null===m){for(;!g.done;h++,g=l.next())null!==(g=f(o,g.value,u))&&(i=a(g,i,h),null===c?s=g:c.sibling=g,c=g);return s}for(m=r(o,m);!g.done;h++,g=l.next())null!==(g=p(m,o,h,g.value,u))&&(e&&null!==g.alternate&&m.delete(null===g.key?h:g.key),i=a(g,i,h),null===c?s=g:c.sibling=g,c=g);return e&&m.forEach(function(e){return t(o,e)}),s}return function(e,r,a,l){var u="object"==typeof a&&null!==a&&a.type===Oa&&null===a.key;u&&(a=a.props.children);var s="object"==typeof a&&null!==a;if(s)switch(a.$$typeof){case Sa:e:{for(s=a.key,u=r;null!==u;){if(u.key===s){switch(u.tag){case 7:if(a.type===Oa){n(e,u.sibling),(r=o(u,a.props.children)).return=e,e=r;break e}break;default:if(u.elementType===a.type){n(e,u.sibling),(r=o(u,a.props)).ref=yf(e,u,a),r.return=e,e=r;break e}}n(e,u);break}t(e,u),u=u.sibling}a.type===Oa?((r=Rm(a.props.children,e.mode,l,a.key)).return=e,e=r):((l=Lm(a.type,a.key,a.props,null,e.mode,l)).ref=yf(e,r,a),l.return=e,e=l)}return i(e);case Ca:e:{for(u=a.key;null!==r;){if(r.key===u){if(4===r.tag&&r.stateNode.containerInfo===a.containerInfo&&r.stateNode.implementation===a.implementation){n(e,r.sibling),(r=o(r,a.children||[])).return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}(r=Dm(a,e.mode,l)).return=e,e=r}return i(e)}if("string"==typeof a||"number"==typeof a)return a=""+a,null!==r&&6===r.tag?(n(e,r.sibling),(r=o(r,a)).return=e,e=r):(n(e,r),(r=Mm(a,e.mode,l)).return=e,e=r),i(e);if(hf(a))return m(e,r,a,l);if(Wa(a))return h(e,r,a,l);if(s&&gf(e,a),void 0===a&&!u)switch(e.tag){case 1:case 22:case 0:case 11:case 15:throw Error(la(152,Qa(e.type)||"Component"))}return n(e,r)}}var bf=vf(!0),Ef=vf(!1),wf={},_f=tc(wf),Sf=tc(wf),Cf=tc(wf);function Of(e){if(e===wf)throw Error(la(174));return e}function kf(e,t){switch(rc(Cf,t),rc(Sf,e),rc(_f,wf),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:mi(null,"");break;default:t=mi(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}nc(_f),rc(_f,t)}function Tf(){nc(_f),nc(Sf),nc(Cf)}function Pf(e){Of(Cf.current);var t=Of(_f.current),n=mi(t,e.type);t!==n&&(rc(Sf,e),rc(_f,n))}function Nf(e){Sf.current===e&&(nc(_f),nc(Sf))}var xf=tc(0);function Af(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!=(64&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 Lf=null,Rf=null,If=!1;function Mf(e,t){var n=Nm(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=t,n.return=e,n.flags=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function Df(e,t){switch(e.tag){case 5:return null!==(t=1!==t.nodeType||e.type.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,!0);case 13:default:return!1}}function Ff(e){if(If){var t=Rf;if(t){var n=t;if(!Df(e,t)){if(!(t=zs(n.nextSibling))||!Df(e,t))return e.flags=-1025&e.flags|2,If=!1,void(Lf=e);Mf(Lf,n)}Lf=e,Rf=zs(t.firstChild)}else e.flags=-1025&e.flags|2,If=!1,Lf=e}}function jf(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;Lf=e}function Uf(e){if(e!==Lf)return!1;if(!If)return jf(e),If=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!Ds(t,e.memoizedProps))for(t=Rf;t;)Mf(e,t),t=zs(t.nextSibling);if(jf(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(la(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){Rf=zs(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}Rf=null}}else Rf=Lf?zs(e.stateNode.nextSibling):null;return!0}function zf(){Rf=Lf=null,If=!1}var Vf=[];function Gf(){for(var e=0;e<Vf.length;e++)Vf[e]._workInProgressVersionPrimary=null;Vf.length=0}var Wf=_a.ReactCurrentDispatcher,Bf=_a.ReactCurrentBatchConfig,Hf=0,$f=null,qf=null,Qf=null,Xf=!1,Kf=!1;function Yf(){throw Error(la(321))}function Zf(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!rs(e[n],t[n]))return!1;return!0}function Jf(e,t,n,r,o,a){if(Hf=a,$f=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Wf.current=null===e||null===e.memoizedState?Od:kd,e=n(r,o),Kf){a=0;do{if(Kf=!1,!(25>a))throw Error(la(301));a+=1,Qf=qf=null,t.updateQueue=null,Wf.current=Td,e=n(r,o)}while(Kf)}if(Wf.current=Cd,t=null!==qf&&null!==qf.next,Hf=0,Qf=qf=$f=null,Xf=!1,t)throw Error(la(300));return e}function ed(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===Qf?$f.memoizedState=Qf=e:Qf=Qf.next=e,Qf}function td(){if(null===qf){var e=$f.alternate;e=null!==e?e.memoizedState:null}else e=qf.next;var t=null===Qf?$f.memoizedState:Qf.next;if(null!==t)Qf=t,qf=e;else{if(null===e)throw Error(la(310));e={memoizedState:(qf=e).memoizedState,baseState:qf.baseState,baseQueue:qf.baseQueue,queue:qf.queue,next:null},null===Qf?$f.memoizedState=Qf=e:Qf=Qf.next=e}return Qf}function nd(e,t){return"function"==typeof t?t(e):t}function rd(e){var t=td(),n=t.queue;if(null===n)throw Error(la(311));n.lastRenderedReducer=e;var r=qf,o=r.baseQueue,a=n.pending;if(null!==a){if(null!==o){var i=o.next;o.next=a.next,a.next=i}r.baseQueue=o=a,n.pending=null}if(null!==o){r=r.baseState;var l=i=a=null,u=o=o.next;do{var s=u.lane;if((Hf&s)===s)null!==l&&(l=l.next={lane:0,action:u.action,eagerReducer:u.eagerReducer,eagerState:u.eagerState,next:null}),r=u.eagerReducer===e?u.eagerState:e(r,u.action);else{var c={lane:s,action:u.action,eagerReducer:u.eagerReducer,eagerState:u.eagerState,next:null};null===l?(i=l=c,a=r):l=l.next=c,$f.lanes|=s,Pp|=s}u=u.next}while(null!==u&&u!==o);null===l?a=r:l.next=i,rs(r,t.memoizedState)||(Nd=!0),t.memoizedState=r,t.baseState=a,t.baseQueue=l,n.lastRenderedState=r}return[t.memoizedState,n.dispatch]}function od(e){var t=td(),n=t.queue;if(null===n)throw Error(la(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,a=t.memoizedState;if(null!==o){n.pending=null;var i=o=o.next;do{a=e(a,i.action),i=i.next}while(i!==o);rs(a,t.memoizedState)||(Nd=!0),t.memoizedState=a,null===t.baseQueue&&(t.baseState=a),n.lastRenderedState=a}return[a,r]}function ad(e,t,n){var r=t._getVersion;r=r(t._source);var o=t._workInProgressVersionPrimary;if(null!==o?e=o===r:(e=(Hf&(e=e.mutableReadLanes))===e)&&(t._workInProgressVersionPrimary=r,Vf.push(t)),e)return n(t._source);throw Vf.push(t),Error(la(350))}function id(e,t,n,r){var o=Ep;if(null===o)throw Error(la(349));var a=t._getVersion,i=a(t._source),l=Wf.current,u=l.useState(function(){return ad(o,t,n)}),s=u[1],c=u[0];u=Qf;var f=e.memoizedState,d=f.refs,p=d.getSnapshot,m=f.source;f=f.subscribe;var h=$f;return e.memoizedState={refs:d,source:t,subscribe:r},l.useEffect(function(){d.getSnapshot=n,d.setSnapshot=s;var e=a(t._source);if(!rs(i,e)){e=n(t._source),rs(c,e)||(s(e),e=Zp(h),o.mutableReadLanes|=e&o.pendingLanes),o.entangledLanes|=e=o.mutableReadLanes;for(var r=o.entanglements,l=e;0<l;){var u=31-Vl(l),f=1<<u;r[u]|=e,l&=~f}}},[n,t,r]),l.useEffect(function(){return r(t._source,function(){var e=d.getSnapshot,n=d.setSnapshot;try{n(e(t._source));var r=Zp(h);o.mutableReadLanes|=r&o.pendingLanes}catch(e){n(function(){throw e})}})},[t,r]),rs(p,n)&&rs(m,t)&&rs(f,r)||((e={pending:null,dispatch:null,lastRenderedReducer:nd,lastRenderedState:c}).dispatch=s=Sd.bind(null,$f,e),u.queue=e,u.baseQueue=null,c=ad(o,t,n),u.memoizedState=u.baseState=c),c}function ld(e,t,n){return id(td(),e,t,n)}function ud(e){var t=ed();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(e=t.queue={pending:null,dispatch:null,lastRenderedReducer:nd,lastRenderedState:e}).dispatch=Sd.bind(null,$f,e),[t.memoizedState,e]}function sd(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=$f.updateQueue)?($f.updateQueue=t={lastEffect:null},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 cd(e){return ed().memoizedState={current:e}}function fd(){return td().memoizedState}function dd(e,t,n,r){var o=ed();$f.flags|=e,o.memoizedState=sd(1|t,n,void 0,void 0===r?null:r)}function pd(e,t,n,r){var o=td();r=void 0===r?null:r;var a=void 0;if(null!==qf){var i=qf.memoizedState;if(a=i.destroy,null!==r&&Zf(r,i.deps))return void sd(t,n,a,r)}$f.flags|=e,o.memoizedState=sd(1|t,n,a,r)}function md(e,t){return dd(516,4,e,t)}function hd(e,t){return pd(516,4,e,t)}function yd(e,t){return pd(4,2,e,t)}function gd(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 vd(e,t,n){return n=null!=n?n.concat([e]):null,pd(4,2,gd.bind(null,t,e),n)}function bd(){}function Ed(e,t){var n=td();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Zf(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function wd(e,t){var n=td();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Zf(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function _d(e,t){var n=Dc();jc(98>n?98:n,function(){e(!0)}),jc(97<n?97:n,function(){var n=Bf.transition;Bf.transition=1;try{e(!1),t()}finally{Bf.transition=n}})}function Sd(e,t,n){var r=Yp(),o=Zp(e),a={lane:o,action:n,eagerReducer:null,eagerState:null,next:null},i=t.pending;if(null===i?a.next=a:(a.next=i.next,i.next=a),t.pending=a,i=e.alternate,e===$f||null!==i&&i===$f)Kf=Xf=!0;else{if(0===e.lanes&&(null===i||0===i.lanes)&&null!==(i=t.lastRenderedReducer))try{var l=t.lastRenderedState,u=i(l,n);if(a.eagerReducer=i,a.eagerState=u,rs(u,l))return}catch(e){}Jp(e,o,r)}}var Cd={readContext:Zc,useCallback:Yf,useContext:Yf,useEffect:Yf,useImperativeHandle:Yf,useLayoutEffect:Yf,useMemo:Yf,useReducer:Yf,useRef:Yf,useState:Yf,useDebugValue:Yf,useDeferredValue:Yf,useTransition:Yf,useMutableSource:Yf,useOpaqueIdentifier:Yf,unstable_isNewReconciler:!1},Od={readContext:Zc,useCallback:function(e,t){return ed().memoizedState=[e,void 0===t?null:t],e},useContext:Zc,useEffect:md,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,dd(4,2,gd.bind(null,t,e),n)},useLayoutEffect:function(e,t){return dd(4,2,e,t)},useMemo:function(e,t){var n=ed();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=ed();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e=(e=r.queue={pending:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t}).dispatch=Sd.bind(null,$f,e),[r.memoizedState,e]},useRef:cd,useState:ud,useDebugValue:bd,useDeferredValue:function(e){var t=ud(e),n=t[0],r=t[1];return md(function(){var t=Bf.transition;Bf.transition=1;try{r(e)}finally{Bf.transition=t}},[e]),n},useTransition:function(){var e=ud(!1),t=e[0];return cd(e=_d.bind(null,e[1])),[e,t]},useMutableSource:function(e,t,n){var r=ed();return r.memoizedState={refs:{getSnapshot:t,setSnapshot:null},source:e,subscribe:n},id(r,e,t,n)},useOpaqueIdentifier:function(){if(If){var e=!1,t=function(e){return{$$typeof:Da,toString:e,valueOf:e}}(function(){throw e||(e=!0,n("r:"+(Gs++).toString(36))),Error(la(355))}),n=ud(t)[1];return 0==(2&$f.mode)&&($f.flags|=516,sd(5,function(){n("r:"+(Gs++).toString(36))},void 0,null)),t}return ud(t="r:"+(Gs++).toString(36)),t},unstable_isNewReconciler:!1},kd={readContext:Zc,useCallback:Ed,useContext:Zc,useEffect:hd,useImperativeHandle:vd,useLayoutEffect:yd,useMemo:wd,useReducer:rd,useRef:fd,useState:function(){return rd(nd)},useDebugValue:bd,useDeferredValue:function(e){var t=rd(nd),n=t[0],r=t[1];return hd(function(){var t=Bf.transition;Bf.transition=1;try{r(e)}finally{Bf.transition=t}},[e]),n},useTransition:function(){var e=rd(nd)[0];return[fd().current,e]},useMutableSource:ld,useOpaqueIdentifier:function(){return rd(nd)[0]},unstable_isNewReconciler:!1},Td={readContext:Zc,useCallback:Ed,useContext:Zc,useEffect:hd,useImperativeHandle:vd,useLayoutEffect:yd,useMemo:wd,useReducer:od,useRef:fd,useState:function(){return od(nd)},useDebugValue:bd,useDeferredValue:function(e){var t=od(nd),n=t[0],r=t[1];return hd(function(){var t=Bf.transition;Bf.transition=1;try{r(e)}finally{Bf.transition=t}},[e]),n},useTransition:function(){var e=od(nd)[0];return[fd().current,e]},useMutableSource:ld,useOpaqueIdentifier:function(){return od(nd)[0]},unstable_isNewReconciler:!1},Pd=_a.ReactCurrentOwner,Nd=!1;function xd(e,t,n,r){t.child=null===e?Ef(t,null,n,r):bf(t,e.child,n,r)}function Ad(e,t,n,r,o){n=n.render;var a=t.ref;return Yc(t,o),r=Jf(e,t,n,r,a,o),null===e||Nd?(t.flags|=1,xd(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~o,Xd(e,t,o))}function Ld(e,t,n,r,o,a){if(null===e){var i=n.type;return"function"!=typeof i||xm(i)||void 0!==i.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Lm(n.type,null,r,t,t.mode,a)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=i,Rd(e,t,i,r,o,a))}return i=e.child,0==(o&a)&&(n=null!==(n=n.compare)?n:as)(o=i.memoizedProps,r)&&e.ref===t.ref?Xd(e,t,a):(t.flags|=1,(e=Am(i,r)).ref=t.ref,e.return=t,t.child=e)}function Rd(e,t,n,r,o,a){if(null!==e&&as(e.memoizedProps,r)&&e.ref===t.ref){if(Nd=!1,0==(a&o))return t.lanes=e.lanes,Xd(e,t,a);0!=(16384&e.flags)&&(Nd=!0)}return Dd(e,t,n,r,a)}function Id(e,t,n){var r=t.pendingProps,o=r.children,a=null!==e?e.memoizedState:null;if("hidden"===r.mode||"unstable-defer-without-hiding"===r.mode)if(0==(4&t.mode))t.memoizedState={baseLanes:0},lm(0,n);else{if(0==(1073741824&n))return e=null!==a?a.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e},lm(0,e),null;t.memoizedState={baseLanes:0},lm(0,null!==a?a.baseLanes:n)}else null!==a?(r=a.baseLanes|n,t.memoizedState=null):r=n,lm(0,r);return xd(e,t,o,n),t.child}function Md(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=128)}function Dd(e,t,n,r,o){var a=sc(n)?lc:ac.current;return a=uc(t,a),Yc(t,o),n=Jf(e,t,n,r,a,o),null===e||Nd?(t.flags|=1,xd(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~o,Xd(e,t,o))}function Fd(e,t,n,r,o){if(sc(n)){var a=!0;pc(t)}else a=!1;if(Yc(t,o),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),df(t,n,r),mf(t,n,r,o),r=!0;else if(null===e){var i=t.stateNode,l=t.memoizedProps;i.props=l;var u=i.context,s=n.contextType;s="object"==typeof s&&null!==s?Zc(s):uc(t,s=sc(n)?lc:ac.current);var c=n.getDerivedStateFromProps,f="function"==typeof c||"function"==typeof i.getSnapshotBeforeUpdate;f||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(l!==r||u!==s)&&pf(t,i,r,s),Jc=!1;var d=t.memoizedState;i.state=d,af(t,r,i,o),u=t.memoizedState,l!==r||d!==u||ic.current||Jc?("function"==typeof c&&(sf(t,n,c,r),u=t.memoizedState),(l=Jc||ff(t,n,l,r,d,u,s))?(f||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||("function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount()),"function"==typeof i.componentDidMount&&(t.flags|=4)):("function"==typeof i.componentDidMount&&(t.flags|=4),t.memoizedProps=r,t.memoizedState=u),i.props=r,i.state=u,i.context=s,r=l):("function"==typeof i.componentDidMount&&(t.flags|=4),r=!1)}else{i=t.stateNode,tf(e,t),l=t.memoizedProps,s=t.type===t.elementType?l:Wc(t.type,l),i.props=s,f=t.pendingProps,d=i.context,u="object"==typeof(u=n.contextType)&&null!==u?Zc(u):uc(t,u=sc(n)?lc:ac.current);var p=n.getDerivedStateFromProps;(c="function"==typeof p||"function"==typeof i.getSnapshotBeforeUpdate)||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(l!==f||d!==u)&&pf(t,i,r,u),Jc=!1,i.state=d=t.memoizedState,af(t,r,i,o);var m=t.memoizedState;l!==f||d!==m||ic.current||Jc?("function"==typeof p&&(sf(t,n,p,r),m=t.memoizedState),(s=Jc||ff(t,n,s,r,d,m,u))?(c||"function"!=typeof i.UNSAFE_componentWillUpdate&&"function"!=typeof i.componentWillUpdate||("function"==typeof i.componentWillUpdate&&i.componentWillUpdate(r,m,u),"function"==typeof i.UNSAFE_componentWillUpdate&&i.UNSAFE_componentWillUpdate(r,m,u)),"function"==typeof i.componentDidUpdate&&(t.flags|=4),"function"==typeof i.getSnapshotBeforeUpdate&&(t.flags|=256)):("function"!=typeof i.componentDidUpdate||l===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||l===e.memoizedProps&&d===e.memoizedState||(t.flags|=256),t.memoizedProps=r,t.memoizedState=m),i.props=r,i.state=m,i.context=u,r=s):("function"!=typeof i.componentDidUpdate||l===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||l===e.memoizedProps&&d===e.memoizedState||(t.flags|=256),r=!1)}return jd(e,t,n,r,a,o)}function jd(e,t,n,r,o,a){Md(e,t);var i=0!=(64&t.flags);if(!r&&!i)return o&&mc(t,n,!1),Xd(e,t,a);r=t.stateNode,Pd.current=t;var l=i&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&i?(t.child=bf(t,e.child,null,a),t.child=bf(t,null,l,a)):xd(e,t,l,a),t.memoizedState=r.state,o&&mc(t,n,!0),t.child}function Ud(e){var t=e.stateNode;t.pendingContext?fc(0,t.pendingContext,t.pendingContext!==t.context):t.context&&fc(0,t.context,!1),kf(e,t.containerInfo)}var zd,Vd,Gd,Wd={dehydrated:null,retryLane:0};function Bd(e,t,n){var r,o=t.pendingProps,a=xf.current,i=!1;return(r=0!=(64&t.flags))||(r=(null===e||null!==e.memoizedState)&&0!=(2&a)),r?(i=!0,t.flags&=-65):null!==e&&null===e.memoizedState||void 0===o.fallback||!0===o.unstable_avoidThisFallback||(a|=1),rc(xf,1&a),null===e?(void 0!==o.fallback&&Ff(t),e=o.children,a=o.fallback,i?(e=Hd(t,e,a,n),t.child.memoizedState={baseLanes:n},t.memoizedState=Wd,e):"number"==typeof o.unstable_expectedLoadTime?(e=Hd(t,e,a,n),t.child.memoizedState={baseLanes:n},t.memoizedState=Wd,t.lanes=33554432,e):((n=Im({mode:"visible",children:e},t.mode,n,null)).return=t,t.child=n)):i?(o=function(e,t,n,r,o){var a=t.mode,i=e.child;e=i.sibling;var l={mode:"hidden",children:n};return 0==(2&a)&&t.child!==i?((n=t.child).childLanes=0,n.pendingProps=l,null!==(i=n.lastEffect)?(t.firstEffect=n.firstEffect,t.lastEffect=i,i.nextEffect=null):t.firstEffect=t.lastEffect=null):n=Am(i,l),null!==e?r=Am(e,r):(r=Rm(r,a,o,null)).flags|=2,r.return=t,n.return=t,n.sibling=r,t.child=n,r}(e,t,o.children,o.fallback,n),(i=t.child).memoizedState=null===(a=e.child.memoizedState)?{baseLanes:n}:{baseLanes:a.baseLanes|n},i.childLanes=e.childLanes&~n,t.memoizedState=Wd,o):(n=function(e,t,n,r){var o=e.child;return e=o.sibling,n=Am(o,{mode:"visible",children:n}),0==(2&t.mode)&&(n.lanes=r),n.return=t,n.sibling=null,null!==e&&(e.nextEffect=null,e.flags=8,t.firstEffect=t.lastEffect=e),t.child=n}(e,t,o.children,n),t.memoizedState=null,n)}function Hd(e,t,n,r){var o=e.mode,a=e.child;return t={mode:"hidden",children:t},0==(2&o)&&null!==a?(a.childLanes=0,a.pendingProps=t):a=Im(t,o,0,null),n=Rm(n,o,r,null),a.return=e,n.return=e,a.sibling=n,e.child=a,n}function $d(e,t){e.lanes|=t;var n=e.alternate;null!==n&&(n.lanes|=t),Kc(e.return,t)}function qd(e,t,n,r,o,a){var i=e.memoizedState;null===i?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o,lastEffect:a}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=o,i.lastEffect=a)}function Qd(e,t,n){var r=t.pendingProps,o=r.revealOrder,a=r.tail;if(xd(e,t,r.children,n),0!=(2&(r=xf.current)))r=1&r|2,t.flags|=64;else{if(null!==e&&0!=(64&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&$d(e,n);else if(19===e.tag)$d(e,n);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(rc(xf,r),0==(2&t.mode))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;null!==n;)null!==(e=n.alternate)&&null===Af(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),qd(t,!1,o,n,a,t.lastEffect);break;case"backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===Af(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}qd(t,!0,n,null,a,t.lastEffect);break;case"together":qd(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function Xd(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Pp|=t.lanes,0!=(n&t.childLanes)){if(null!==e&&t.child!==e.child)throw Error(la(153));if(null!==t.child){for(n=Am(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)(n=n.sibling=Am(e=e.sibling,e.pendingProps)).return=t;n.sibling=null}return t.child}return null}function Kd(e,t){if(!If)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 Yd(e,t,n){var r=t.pendingProps;switch(t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:return sc(t.type)&&cc(),null;case 3:return Tf(),nc(ic),nc(ac),Gf(),(r=t.stateNode).pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(Uf(t)?t.flags|=4:r.hydrate||(t.flags|=256)),null;case 5:Nf(t);var o=Of(Cf.current);if(n=t.type,null!==e&&null!=t.stateNode)Vd(e,t,n,r),e.ref!==t.ref&&(t.flags|=128);else{if(!r){if(null===t.stateNode)throw Error(la(166));return null}if(e=Of(_f.current),Uf(t)){n=t.type;var a=t.memoizedProps;switch((r=t.stateNode)[Bs]=t,r[Hs]=a,n){case"dialog":_s("cancel",r),_s("close",r);break;case"iframe":case"object":case"embed":_s("load",r);break;case"video":case"audio":for(e=0;e<vs.length;e++)_s(vs[e],r);break;case"source":_s("error",r);break;case"img":case"image":case"link":_s("error",r),_s("load",r);break;case"details":_s("toggle",r);break;case"input":ti(r,a),_s("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!a.multiple},_s("invalid",r);break;case"textarea":si(r,a),_s("invalid",r)}for(var i in Si(n,a),e=null,a)a.hasOwnProperty(i)&&(o=a[i],"children"===i?"string"==typeof o?r.textContent!==o&&(e=["children",o]):"number"==typeof o&&r.textContent!==""+o&&(e=["children",""+o]):sa.hasOwnProperty(i)&&null!=o&&"onScroll"===i&&_s("scroll",r));switch(n){case"input":Ya(r),oi(r,a,!0);break;case"textarea":Ya(r),fi(r);break;case"select":case"option":break;default:"function"==typeof a.onClick&&(r.onclick=Ls)}t.updateQueue=r=e,null!==r&&(t.flags|=4)}else{switch(i=9===o.nodeType?o:o.ownerDocument,e===di&&(e=pi(n)),e===di?"script"===n?((e=i.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=i.createElement(n,{is:r.is}):(e=i.createElement(n),"select"===n&&(i=e,r.multiple?i.multiple=!0:r.size&&(i.size=r.size))):e=i.createElementNS(e,n),e[Bs]=t,e[Hs]=r,zd(e,t),t.stateNode=e,i=Ci(n,r),n){case"dialog":_s("cancel",e),_s("close",e),o=r;break;case"iframe":case"object":case"embed":_s("load",e),o=r;break;case"video":case"audio":for(o=0;o<vs.length;o++)_s(vs[o],e);o=r;break;case"source":_s("error",e),o=r;break;case"img":case"image":case"link":_s("error",e),_s("load",e),o=r;break;case"details":_s("toggle",e),o=r;break;case"input":ti(e,r),o=ei(e,r),_s("invalid",e);break;case"option":o=ii(e,r);break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=Bt({},r,{value:void 0}),_s("invalid",e);break;case"textarea":si(e,r),o=ui(e,r),_s("invalid",e);break;default:o=r}Si(n,o);var l=o;for(a in l)if(l.hasOwnProperty(a)){var u=l[a];"style"===a?wi(e,u):"dangerouslySetInnerHTML"===a?null!=(u=u?u.__html:void 0)&&yi(e,u):"children"===a?"string"==typeof u?("textarea"!==n||""!==u)&&gi(e,u):"number"==typeof u&&gi(e,""+u):"suppressContentEditableWarning"!==a&&"suppressHydrationWarning"!==a&&"autoFocus"!==a&&(sa.hasOwnProperty(a)?null!=u&&"onScroll"===a&&_s("scroll",e):null!=u&&wa(e,a,u,i))}switch(n){case"input":Ya(e),oi(e,r,!1);break;case"textarea":Ya(e),fi(e);break;case"option":null!=r.value&&e.setAttribute("value",""+Xa(r.value));break;case"select":e.multiple=!!r.multiple,null!=(a=r.value)?li(e,!!r.multiple,a,!1):null!=r.defaultValue&&li(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof o.onClick&&(e.onclick=Ls)}Ms(n,r)&&(t.flags|=4)}null!==t.ref&&(t.flags|=128)}return null;case 6:if(e&&null!=t.stateNode)Gd(0,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(la(166));n=Of(Cf.current),Of(_f.current),Uf(t)?(n=t.memoizedProps,(r=t.stateNode)[Bs]=t,r.nodeValue!==n&&(t.flags|=4)):((r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[Bs]=t,t.stateNode=r)}return null;case 13:return nc(xf),r=t.memoizedState,0!=(64&t.flags)?(t.lanes=n,t):(r=null!==r,n=!1,null===e?void 0!==t.memoizedProps.fallback&&Uf(t):n=null!==e.memoizedState,r&&!n&&0!=(2&t.mode)&&(null===e&&!0!==t.memoizedProps.unstable_avoidThisFallback||0!=(1&xf.current)?0===Op&&(Op=3):(0!==Op&&3!==Op||(Op=4),null===Ep||0==(134217727&Pp)&&0==(134217727&Np)||rm(Ep,_p))),(r||n)&&(t.flags|=4),null);case 4:return Tf(),null===e&&Cs(t.stateNode.containerInfo),null;case 10:return Xc(t),null;case 17:return sc(t.type)&&cc(),null;case 19:if(nc(xf),null===(r=t.memoizedState))return null;if(a=0!=(64&t.flags),null===(i=r.rendering))if(a)Kd(r,!1);else{if(0!==Op||null!==e&&0!=(64&e.flags))for(e=t.child;null!==e;){if(null!==(i=Af(e))){for(t.flags|=64,Kd(r,!1),null!==(a=i.updateQueue)&&(t.updateQueue=a,t.flags|=4),null===r.lastEffect&&(t.firstEffect=null),t.lastEffect=r.lastEffect,r=n,n=t.child;null!==n;)e=r,(a=n).flags&=2,a.nextEffect=null,a.firstEffect=null,a.lastEffect=null,null===(i=a.alternate)?(a.childLanes=0,a.lanes=e,a.child=null,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.stateNode=null):(a.childLanes=i.childLanes,a.lanes=i.lanes,a.child=i.child,a.memoizedProps=i.memoizedProps,a.memoizedState=i.memoizedState,a.updateQueue=i.updateQueue,a.type=i.type,a.dependencies=null===(e=i.dependencies)?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return rc(xf,1&xf.current|2),t.child}e=e.sibling}null!==r.tail&&Mc()>Rp&&(t.flags|=64,a=!0,Kd(r,!1),t.lanes=33554432)}else{if(!a)if(null!==(e=Af(i))){if(t.flags|=64,a=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),Kd(r,!0),null===r.tail&&"hidden"===r.tailMode&&!i.alternate&&!If)return null!==(t=t.lastEffect=r.lastEffect)&&(t.nextEffect=null),null}else 2*Mc()-r.renderingStartTime>Rp&&1073741824!==n&&(t.flags|=64,a=!0,Kd(r,!1),t.lanes=33554432);r.isBackwards?(i.sibling=t.child,t.child=i):(null!==(n=r.last)?n.sibling=i:t.child=i,r.last=i)}return null!==r.tail?(r.rendering=n=r.tail,r.tail=n.sibling,r.lastEffect=t.lastEffect,r.renderingStartTime=Mc(),n.sibling=null,t=xf.current,rc(xf,a?1&t|2:1&t),n):null;case 23:case 24:return um(),null!==e&&null!==e.memoizedState!=(null!==t.memoizedState)&&"unstable-defer-without-hiding"!==r.mode&&(t.flags|=4),null}throw Error(la(156,t.tag))}function Zd(e){switch(e.tag){case 1:sc(e.type)&&cc();var t=e.flags;return 4096&t?(e.flags=-4097&t|64,e):null;case 3:if(Tf(),nc(ic),nc(ac),Gf(),0!=(64&(t=e.flags)))throw Error(la(285));return e.flags=-4097&t|64,e;case 5:return Nf(e),null;case 13:return nc(xf),4096&(t=e.flags)?(e.flags=-4097&t|64,e):null;case 19:return nc(xf),null;case 4:return Tf(),null;case 10:return Xc(e),null;case 23:case 24:return um(),null;default:return null}}function Jd(e,t){try{var n="",r=t;do{n+=qa(r),r=r.return}while(r);var o=n}catch(e){o="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:o}}function ep(e,t){try{console.error(t.value)}catch(e){setTimeout(function(){throw e})}}zd=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}},Vd=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,Of(_f.current);var a,i=null;switch(n){case"input":o=ei(e,o),r=ei(e,r),i=[];break;case"option":o=ii(e,o),r=ii(e,r),i=[];break;case"select":o=Bt({},o,{value:void 0}),r=Bt({},r,{value:void 0}),i=[];break;case"textarea":o=ui(e,o),r=ui(e,r),i=[];break;default:"function"!=typeof o.onClick&&"function"==typeof r.onClick&&(e.onclick=Ls)}for(s in Si(n,r),n=null,o)if(!r.hasOwnProperty(s)&&o.hasOwnProperty(s)&&null!=o[s])if("style"===s){var l=o[s];for(a in l)l.hasOwnProperty(a)&&(n||(n={}),n[a]="")}else"dangerouslySetInnerHTML"!==s&&"children"!==s&&"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&"autoFocus"!==s&&(sa.hasOwnProperty(s)?i||(i=[]):(i=i||[]).push(s,null));for(s in r){var u=r[s];if(l=null!=o?o[s]:void 0,r.hasOwnProperty(s)&&u!==l&&(null!=u||null!=l))if("style"===s)if(l){for(a in l)!l.hasOwnProperty(a)||u&&u.hasOwnProperty(a)||(n||(n={}),n[a]="");for(a in u)u.hasOwnProperty(a)&&l[a]!==u[a]&&(n||(n={}),n[a]=u[a])}else n||(i||(i=[]),i.push(s,n)),n=u;else"dangerouslySetInnerHTML"===s?(l=l?l.__html:void 0,null!=(u=u?u.__html:void 0)&&l!==u&&(i=i||[]).push(s,u)):"children"===s?"string"!=typeof u&&"number"!=typeof u||(i=i||[]).push(s,""+u):"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&(sa.hasOwnProperty(s)?(null!=u&&"onScroll"===s&&_s("scroll",e),i||l===u||(i=[])):"object"==typeof u&&null!==u&&u.$$typeof===Da?u.toString():(i=i||[]).push(s,u))}n&&(i=i||[]).push("style",n);var s=i;(t.updateQueue=s)&&(t.flags|=4)}},Gd=function(e,t,n,r){n!==r&&(t.flags|=4)};var tp="function"==typeof WeakMap?WeakMap:Map;function np(e,t,n){(n=nf(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Fp||(Fp=!0,jp=r),ep(0,t)},n}function rp(e,t,n){(n=nf(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var o=t.value;n.payload=function(){return ep(0,t),r(o)}}var a=e.stateNode;return null!==a&&"function"==typeof a.componentDidCatch&&(n.callback=function(){"function"!=typeof r&&(null===Up?Up=new Set([this]):Up.add(this),ep(0,t));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}var op="function"==typeof WeakSet?WeakSet:Set;function ap(e){var t=e.ref;if(null!==t)if("function"==typeof t)try{t(null)}catch(t){Om(e,t)}else t.current=null}function ip(e,t){switch(t.tag){case 0:case 11:case 15:case 22:return;case 1:if(256&t.flags&&null!==e){var n=e.memoizedProps,r=e.memoizedState;t=(e=t.stateNode).getSnapshotBeforeUpdate(t.elementType===t.type?n:Wc(t.type,n),r),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:return void(256&t.flags&&Us(t.stateNode.containerInfo));case 5:case 6:case 4:case 17:return}throw Error(la(163))}function lp(e,t,n){switch(n.tag){case 0:case 11:case 15:case 22:if(null!==(t=null!==(t=n.updateQueue)?t.lastEffect:null)){e=t=t.next;do{if(3==(3&e.tag)){var r=e.create;e.destroy=r()}e=e.next}while(e!==t)}if(null!==(t=null!==(t=n.updateQueue)?t.lastEffect:null)){e=t=t.next;do{var o=e;r=o.next,0!=(4&(o=o.tag))&&0!=(1&o)&&(_m(n,e),wm(n,e)),e=r}while(e!==t)}return;case 1:return e=n.stateNode,4&n.flags&&(null===t?e.componentDidMount():(r=n.elementType===n.type?t.memoizedProps:Wc(n.type,t.memoizedProps),e.componentDidUpdate(r,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate))),void(null!==(t=n.updateQueue)&&lf(n,t,e));case 3:if(null!==(t=n.updateQueue)){if(e=null,null!==n.child)switch(n.child.tag){case 5:e=n.child.stateNode;break;case 1:e=n.child.stateNode}lf(n,t,e)}return;case 5:return e=n.stateNode,void(null===t&&4&n.flags&&Ms(n.type,n.memoizedProps)&&e.focus());case 6:case 4:case 12:return;case 13:return void(null===n.memoizedState&&(n=n.alternate,null!==n&&(n=n.memoizedState,null!==n&&(n=n.dehydrated,null!==n&&El(n)))));case 19:case 17:case 20:case 21:case 23:case 24:return}throw Error(la(163))}function up(e,t){for(var n=e;;){if(5===n.tag){var r=n.stateNode;if(t)"function"==typeof(r=r.style).setProperty?r.setProperty("display","none","important"):r.display="none";else{r=n.stateNode;var o=n.memoizedProps.style;o=null!=o&&o.hasOwnProperty("display")?o.display:null,r.style.display=Ei("display",o)}}else if(6===n.tag)n.stateNode.nodeValue=t?"":n.memoizedProps;else if((23!==n.tag&&24!==n.tag||null===n.memoizedState||n===e)&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===e)break;for(;null===n.sibling;){if(null===n.return||n.return===e)return;n=n.return}n.sibling.return=n.return,n=n.sibling}}function sp(e,t){if(yc&&"function"==typeof yc.onCommitFiberUnmount)try{yc.onCommitFiberUnmount(hc,t)}catch(e){}switch(t.tag){case 0:case 11:case 14:case 15:case 22:if(null!==(e=t.updateQueue)&&null!==(e=e.lastEffect)){var n=e=e.next;do{var r=n,o=r.destroy;if(r=r.tag,void 0!==o)if(0!=(4&r))_m(t,n);else{r=t;try{o()}catch(e){Om(r,e)}}n=n.next}while(n!==e)}break;case 1:if(ap(t),"function"==typeof(e=t.stateNode).componentWillUnmount)try{e.props=t.memoizedProps,e.state=t.memoizedState,e.componentWillUnmount()}catch(e){Om(t,e)}break;case 5:ap(t);break;case 4:pp(e,t)}}function cp(e){e.alternate=null,e.child=null,e.dependencies=null,e.firstEffect=null,e.lastEffect=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.return=null,e.updateQueue=null}function fp(e){return 5===e.tag||3===e.tag||4===e.tag}function dp(e){e:{for(var t=e.return;null!==t;){if(fp(t))break e;t=t.return}throw Error(la(160))}var n=t;switch(t=n.stateNode,n.tag){case 5:var r=!1;break;case 3:case 4:t=t.containerInfo,r=!0;break;default:throw Error(la(161))}16&n.flags&&(gi(t,""),n.flags&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||fp(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag&&18!==n.tag;){if(2&n.flags)continue t;if(null===n.child||4===n.tag)continue t;n.child.return=n,n=n.child}if(!(2&n.flags)){n=n.stateNode;break e}}r?function e(t,n,r){var o=t.tag,a=5===o||6===o;if(a)t=a?t.stateNode:t.stateNode.instance,n?8===r.nodeType?r.parentNode.insertBefore(t,n):r.insertBefore(t,n):(8===r.nodeType?(n=r.parentNode).insertBefore(t,r):(n=r).appendChild(t),null!==(r=r._reactRootContainer)&&void 0!==r||null!==n.onclick||(n.onclick=Ls));else if(4!==o&&null!==(t=t.child))for(e(t,n,r),t=t.sibling;null!==t;)e(t,n,r),t=t.sibling}(e,n,t):function e(t,n,r){var o=t.tag,a=5===o||6===o;if(a)t=a?t.stateNode:t.stateNode.instance,n?r.insertBefore(t,n):r.appendChild(t);else if(4!==o&&null!==(t=t.child))for(e(t,n,r),t=t.sibling;null!==t;)e(t,n,r),t=t.sibling}(e,n,t)}function pp(e,t){for(var n,r,o=t,a=!1;;){if(!a){a=o.return;e:for(;;){if(null===a)throw Error(la(160));switch(n=a.stateNode,a.tag){case 5:r=!1;break e;case 3:case 4:n=n.containerInfo,r=!0;break e}a=a.return}a=!0}if(5===o.tag||6===o.tag){e:for(var i=e,l=o,u=l;;)if(sp(i,u),null!==u.child&&4!==u.tag)u.child.return=u,u=u.child;else{if(u===l)break e;for(;null===u.sibling;){if(null===u.return||u.return===l)break e;u=u.return}u.sibling.return=u.return,u=u.sibling}r?(l=o.stateNode,8===(i=n).nodeType?i.parentNode.removeChild(l):i.removeChild(l)):n.removeChild(o.stateNode)}else if(4===o.tag){if(null!==o.child){n=o.stateNode.containerInfo,r=!0,o.child.return=o,o=o.child;continue}}else if(sp(e,o),null!==o.child){o.child.return=o,o=o.child;continue}if(o===t)break;for(;null===o.sibling;){if(null===o.return||o.return===t)return;4===(o=o.return).tag&&(a=!1)}o.sibling.return=o.return,o=o.sibling}}function mp(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 22:var n=t.updateQueue;if(null!==(n=null!==n?n.lastEffect:null)){var r=n=n.next;do{3==(3&r.tag)&&(e=r.destroy,r.destroy=void 0,void 0!==e&&e()),r=r.next}while(r!==n)}return;case 1:return;case 5:if(null!=(n=t.stateNode)){r=t.memoizedProps;var o=null!==e?e.memoizedProps:r;e=t.type;var a=t.updateQueue;if(t.updateQueue=null,null!==a){for(n[Hs]=r,"input"===e&&"radio"===r.type&&null!=r.name&&ni(n,r),Ci(e,o),t=Ci(e,r),o=0;o<a.length;o+=2){var i=a[o],l=a[o+1];"style"===i?wi(n,l):"dangerouslySetInnerHTML"===i?yi(n,l):"children"===i?gi(n,l):wa(n,i,l,t)}switch(e){case"input":ri(n,r);break;case"textarea":ci(n,r);break;case"select":e=n._wrapperState.wasMultiple,n._wrapperState.wasMultiple=!!r.multiple,null!=(a=r.value)?li(n,!!r.multiple,a,!1):e!==!!r.multiple&&(null!=r.defaultValue?li(n,!!r.multiple,r.defaultValue,!0):li(n,!!r.multiple,r.multiple?[]:"",!1))}}}return;case 6:if(null===t.stateNode)throw Error(la(162));return void(t.stateNode.nodeValue=t.memoizedProps);case 3:return void((n=t.stateNode).hydrate&&(n.hydrate=!1,El(n.containerInfo)));case 12:return;case 13:return null!==t.memoizedState&&(Lp=Mc(),up(t.child,!0)),void hp(t);case 19:return void hp(t);case 17:return;case 23:case 24:return void up(t,null!==t.memoizedState)}throw Error(la(163))}function hp(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new op),t.forEach(function(t){var r=Tm.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))})}}var yp=Math.ceil,gp=_a.ReactCurrentDispatcher,vp=_a.ReactCurrentOwner,bp=0,Ep=null,wp=null,_p=0,Sp=0,Cp=tc(0),Op=0,kp=null,Tp=0,Pp=0,Np=0,xp=0,Ap=null,Lp=0,Rp=Infinity;function Ip(){Rp=Mc()+500}var Mp,Dp=null,Fp=!1,jp=null,Up=null,zp=!1,Vp=null,Gp=90,Wp=[],Bp=[],Hp=null,$p=0,qp=null,Qp=-1,Xp=0,Kp=0;function Yp(){return 0!=(48&bp)?Mc():-1!==Qp?Qp:Qp=Mc()}function Zp(e){if(0==(2&(e=e.mode)))return 1;if(0==(4&e))return 99===Dc()?1:2;if(0===Xp&&(Xp=Tp),0!==Gc.transition){0!==Kp&&(Kp=null!==Ap?Ap.pendingLanes:0),e=Xp;var t=4186112&~Kp;return 0==(t&=-t)&&0==(t=(e=4186112&~e)&-e)&&(t=8192),t}return e=Dc(),function e(t,n){switch(t){case 15:return 1;case 14:return 2;case 12:return 0===(t=jl(24&~n))?e(10,n):t;case 10:return 0===(t=jl(192&~n))?e(8,n):t;case 8:return 0===(t=jl(3584&~n))&&0===(t=jl(4186112&~n))&&(t=512),t;case 2:return 0===(n=jl(805306368&~n))&&(n=268435456),n}throw Error(la(358,t))}(0!=(4&bp)&&98===e?12:e=function(e){switch(e){case 99:return 15;case 98:return 10;case 97:case 96:return 8;case 95:return 2;default:return 0}}(e),Xp)}function Jp(e,t,n){if(50<$p)throw $p=0,qp=null,Error(la(185));if(null===(e=em(e,t)))return null;zl(e,t,n),e===Ep&&(Np|=t,4===Op&&rm(e,_p));var r=Dc();1===t?0!=(8&bp)&&0==(48&bp)?om(e):(tm(e,n),0===bp&&(Ip(),zc())):(0==(4&bp)||98!==r&&99!==r||(null===Hp?Hp=new Set([e]):Hp.add(e)),tm(e,n)),Ap=e}function em(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}function tm(e,t){for(var n=e.callbackNode,r=e.suspendedLanes,o=e.pingedLanes,a=e.expirationTimes,i=e.pendingLanes;0<i;){var l=31-Vl(i),u=1<<l,s=a[l];-1===s?0!=(u&r)&&0==(u&o)||(s=t,Ml(u),a[l]=10<=Il?s+250:6<=Il?s+5e3:-1):s<=t&&(e.expiredLanes|=u),i&=~u}if(r=Dl(e,e===Ep?_p:0),t=Il,0===r)null!==n&&(n!==Nc&&bc(n),e.callbackNode=null,e.callbackPriority=0);else{if(null!==n){if(e.callbackPriority===t)return;n!==Nc&&bc(n)}15===t?(n=om.bind(null,e),null===Ac?(Ac=[n],Lc=vc(Cc,Vc)):Ac.push(n),n=Nc):n=14===t?Uc(99,om.bind(null,e)):Uc(n=function(e){switch(e){case 15:case 14:return 99;case 13:case 12:case 11:case 10:return 98;case 9:case 8:case 7:case 6:case 4:case 5:return 97;case 3:case 2:case 1:return 95;case 0:return 90;default:throw Error(la(358,e))}}(t),nm.bind(null,e)),e.callbackPriority=t,e.callbackNode=n}}function nm(e){if(Qp=-1,Kp=Xp=0,0!=(48&bp))throw Error(la(327));var t=e.callbackNode;if(Em()&&e.callbackNode!==t)return null;var n=Dl(e,e===Ep?_p:0);if(0===n)return null;var r=n,o=bp;bp|=16;var a=fm();for(Ep===e&&_p===r||(Ip(),sm(e,r));;)try{mm();break}catch(t){cm(e,t)}if(Qc(),gp.current=a,bp=o,null!==wp?r=0:(Ep=null,_p=0,r=Op),0!=(Tp&Np))sm(e,0);else if(0!==r){if(2===r&&(bp|=64,e.hydrate&&(e.hydrate=!1,Us(e.containerInfo)),0!==(n=Fl(e))&&(r=dm(e,n))),1===r)throw t=kp,sm(e,0),rm(e,n),tm(e,Mc()),t;switch(e.finishedWork=e.current.alternate,e.finishedLanes=n,r){case 0:case 1:throw Error(la(345));case 2:gm(e);break;case 3:if(rm(e,n),(62914560&n)===n&&10<(r=Lp+500-Mc())){if(0!==Dl(e,0))break;if(((o=e.suspendedLanes)&n)!==n){Yp(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=Fs(gm.bind(null,e),r);break}gm(e);break;case 4:if(rm(e,n),(4186112&n)===n)break;for(r=e.eventTimes,o=-1;0<n;){var i=31-Vl(n);a=1<<i,(i=r[i])>o&&(o=i),n&=~a}if(n=o,10<(n=(120>(n=Mc()-n)?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*yp(n/1960))-n)){e.timeoutHandle=Fs(gm.bind(null,e),n);break}gm(e);break;case 5:gm(e);break;default:throw Error(la(329))}}return tm(e,Mc()),e.callbackNode===t?nm.bind(null,e):null}function rm(e,t){for(t&=~xp,e.suspendedLanes|=t&=~Np,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Vl(t),r=1<<n;e[n]=-1,t&=~r}}function om(e){if(0!=(48&bp))throw Error(la(327));if(Em(),e===Ep&&0!=(e.expiredLanes&_p)){var t=_p,n=dm(e,t);0!=(Tp&Np)&&(n=dm(e,t=Dl(e,t)))}else n=dm(e,t=Dl(e,0));if(0!==e.tag&&2===n&&(bp|=64,e.hydrate&&(e.hydrate=!1,Us(e.containerInfo)),0!==(t=Fl(e))&&(n=dm(e,t))),1===n)throw n=kp,sm(e,0),rm(e,t),tm(e,Mc()),n;return e.finishedWork=e.current.alternate,e.finishedLanes=t,gm(e),tm(e,Mc()),null}function am(e,t){var n=bp;bp|=1;try{return e(t)}finally{0===(bp=n)&&(Ip(),zc())}}function im(e,t){var n=bp;bp&=-2,bp|=8;try{return e(t)}finally{0===(bp=n)&&(Ip(),zc())}}function lm(e,t){rc(Cp,Sp),Sp|=t,Tp|=t}function um(){Sp=Cp.current,nc(Cp)}function sm(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,js(n)),null!==wp)for(n=wp.return;null!==n;){var r=n;switch(r.tag){case 1:null!=(r=r.type.childContextTypes)&&cc();break;case 3:Tf(),nc(ic),nc(ac),Gf();break;case 5:Nf(r);break;case 4:Tf();break;case 13:case 19:nc(xf);break;case 10:Xc(r);break;case 23:case 24:um()}n=n.return}Ep=e,wp=Am(e.current,null),_p=Sp=Tp=t,Op=0,kp=null,xp=Np=Pp=0}function cm(e,t){for(;;){var n=wp;try{if(Qc(),Wf.current=Cd,Xf){for(var r=$f.memoizedState;null!==r;){var o=r.queue;null!==o&&(o.pending=null),r=r.next}Xf=!1}if(Hf=0,Qf=qf=$f=null,Kf=!1,vp.current=null,null===n||null===n.return){Op=1,kp=t,wp=null;break}e:{var a=e,i=n.return,l=n,u=t;if(t=_p,l.flags|=2048,l.firstEffect=l.lastEffect=null,null!==u&&"object"==typeof u&&"function"==typeof u.then){var s=u;if(0==(2&l.mode)){var c=l.alternate;c?(l.updateQueue=c.updateQueue,l.memoizedState=c.memoizedState,l.lanes=c.lanes):(l.updateQueue=null,l.memoizedState=null)}var f=0!=(1&xf.current),d=i;do{var p;if(p=13===d.tag){var m=d.memoizedState;if(null!==m)p=null!==m.dehydrated;else{var h=d.memoizedProps;p=void 0!==h.fallback&&(!0!==h.unstable_avoidThisFallback||!f)}}if(p){var y=d.updateQueue;if(null===y){var g=new Set;g.add(s),d.updateQueue=g}else y.add(s);if(0==(2&d.mode)){if(d.flags|=64,l.flags|=16384,l.flags&=-2981,1===l.tag)if(null===l.alternate)l.tag=17;else{var v=nf(-1,1);v.tag=2,rf(l,v)}l.lanes|=1;break e}u=void 0,l=t;var b=a.pingCache;if(null===b?(b=a.pingCache=new tp,u=new Set,b.set(s,u)):void 0===(u=b.get(s))&&(u=new Set,b.set(s,u)),!u.has(l)){u.add(l);var E=km.bind(null,a,s,l);s.then(E,E)}d.flags|=4096,d.lanes=t;break e}d=d.return}while(null!==d);u=Error((Qa(l.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display.")}5!==Op&&(Op=2),u=Jd(u,l),d=i;do{switch(d.tag){case 3:a=u,d.flags|=4096,d.lanes|=t&=-t,of(d,np(0,a,t));break e;case 1:a=u;var w=d.stateNode;if(0==(64&d.flags)&&("function"==typeof d.type.getDerivedStateFromError||null!==w&&"function"==typeof w.componentDidCatch&&(null===Up||!Up.has(w)))){d.flags|=4096,d.lanes|=t&=-t,of(d,rp(d,a,t));break e}}d=d.return}while(null!==d)}ym(n)}catch(e){t=e,wp===n&&null!==n&&(wp=n=n.return);continue}break}}function fm(){var e=gp.current;return gp.current=Cd,null===e?Cd:e}function dm(e,t){var n=bp;bp|=16;var r=fm();for(Ep===e&&_p===t||sm(e,t);;)try{pm();break}catch(t){cm(e,t)}if(Qc(),bp=n,gp.current=r,null!==wp)throw Error(la(261));return Ep=null,_p=0,Op}function pm(){for(;null!==wp;)hm(wp)}function mm(){for(;null!==wp&&!Ec();)hm(wp)}function hm(e){var t=Mp(e.alternate,e,Sp);e.memoizedProps=e.pendingProps,null===t?ym(e):wp=t,vp.current=null}function ym(e){var t=e;do{var n=t.alternate;if(e=t.return,0==(2048&t.flags)){if(null!==(n=Yd(n,t,Sp)))return void(wp=n);if(24!==(n=t).tag&&23!==n.tag||null===n.memoizedState||0!=(1073741824&Sp)||0==(4&n.mode)){for(var r=0,o=n.child;null!==o;)r|=o.lanes|o.childLanes,o=o.sibling;n.childLanes=r}null!==e&&0==(2048&e.flags)&&(null===e.firstEffect&&(e.firstEffect=t.firstEffect),null!==t.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=t.firstEffect),e.lastEffect=t.lastEffect),1<t.flags&&(null!==e.lastEffect?e.lastEffect.nextEffect=t:e.firstEffect=t,e.lastEffect=t))}else{if(null!==(n=Zd(t)))return n.flags&=2047,void(wp=n);null!==e&&(e.firstEffect=e.lastEffect=null,e.flags|=2048)}if(null!==(t=t.sibling))return void(wp=t);wp=t=e}while(null!==t);0===Op&&(Op=5)}function gm(e){var t=Dc();return jc(99,vm.bind(null,e,t)),null}function vm(e,t){do{Em()}while(null!==Vp);if(0!=(48&bp))throw Error(la(327));var n=e.finishedWork;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(la(177));e.callbackNode=null;var r=n.lanes|n.childLanes,o=r,a=e.pendingLanes&~o;e.pendingLanes=o,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=o,e.mutableReadLanes&=o,e.entangledLanes&=o,o=e.entanglements;for(var i=e.eventTimes,l=e.expirationTimes;0<a;){var u=31-Vl(a),s=1<<u;o[u]=0,i[u]=-1,l[u]=-1,a&=~s}if(null!==Hp&&0==(24&r)&&Hp.has(e)&&Hp.delete(e),e===Ep&&(wp=Ep=null,_p=0),1<n.flags?null!==n.lastEffect?(n.lastEffect.nextEffect=n,r=n.firstEffect):r=n:r=n.firstEffect,null!==r){if(o=bp,bp|=32,vp.current=null,Rs=$l,ss(i=us())){if("selectionStart"in i)l={start:i.selectionStart,end:i.selectionEnd};else if((s=(l=(l=i.ownerDocument)&&l.defaultView||window).getSelection&&l.getSelection())&&0!==s.rangeCount){l=s.anchorNode,a=s.anchorOffset,u=s.focusNode,s=s.focusOffset;var c=0,f=-1,d=-1,p=0,m=0,h=i,y=null;e:for(;;){for(var g;h!==l||0!==a&&3!==h.nodeType||(f=c+a),h!==u||0!==s&&3!==h.nodeType||(d=c+s),3===h.nodeType&&(c+=h.nodeValue.length),null!==(g=h.firstChild);)y=h,h=g;for(;;){if(h===i)break e;if(y===l&&++p===a&&(f=c),y===u&&++m===s&&(d=c),null!==(g=h.nextSibling))break;y=(h=y).parentNode}h=g}l=-1===f||-1===d?null:{start:f,end:d}}else l=null;l=l||{start:0,end:0}}else l=null;Is={focusedElem:i,selectionRange:l},$l=!1,Dp=r;do{try{bm()}catch(e){if(null===Dp)throw Error(la(330));Om(Dp,e),Dp=Dp.nextEffect}}while(null!==Dp);Dp=r;do{try{for(i=e;null!==Dp;){var v=Dp.flags;if(16&v&&gi(Dp.stateNode,""),128&v){var b=Dp.alternate;if(null!==b){var E=b.ref;null!==E&&("function"==typeof E?E(null):E.current=null)}}switch(1038&v){case 2:dp(Dp),Dp.flags&=-3;break;case 6:dp(Dp),Dp.flags&=-3,mp(Dp.alternate,Dp);break;case 1024:Dp.flags&=-1025;break;case 1028:Dp.flags&=-1025,mp(Dp.alternate,Dp);break;case 4:mp(Dp.alternate,Dp);break;case 8:pp(i,l=Dp);var w=l.alternate;cp(l),null!==w&&cp(w)}Dp=Dp.nextEffect}}catch(e){if(null===Dp)throw Error(la(330));Om(Dp,e),Dp=Dp.nextEffect}}while(null!==Dp);if(E=Is,b=us(),i=E.selectionRange,b!==(v=E.focusedElem)&&v&&v.ownerDocument&&function e(t,n){return!(!t||!n)&&(t===n||(!t||3!==t.nodeType)&&(n&&3===n.nodeType?e(t,n.parentNode):"contains"in t?t.contains(n):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(n))))}(v.ownerDocument.documentElement,v)){null!==i&&ss(v)&&(b=i.start,void 0===(E=i.end)&&(E=b),"selectionStart"in v?(v.selectionStart=b,v.selectionEnd=Math.min(E,v.value.length)):(E=(b=v.ownerDocument||document)&&b.defaultView||window).getSelection&&(E=E.getSelection(),l=v.textContent.length,w=Math.min(i.start,l),i=void 0===i.end?w:Math.min(i.end,l),!E.extend&&w>i&&(l=i,i=w,w=l),l=ls(v,w),a=ls(v,i),l&&a&&(1!==E.rangeCount||E.anchorNode!==l.node||E.anchorOffset!==l.offset||E.focusNode!==a.node||E.focusOffset!==a.offset)&&((b=b.createRange()).setStart(l.node,l.offset),E.removeAllRanges(),w>i?(E.addRange(b),E.extend(a.node,a.offset)):(b.setEnd(a.node,a.offset),E.addRange(b))))),b=[];for(E=v;E=E.parentNode;)1===E.nodeType&&b.push({element:E,left:E.scrollLeft,top:E.scrollTop});for("function"==typeof v.focus&&v.focus(),v=0;v<b.length;v++)(E=b[v]).element.scrollLeft=E.left,E.element.scrollTop=E.top}$l=!!Rs,Is=Rs=null,e.current=n,Dp=r;do{try{for(v=e;null!==Dp;){var _=Dp.flags;if(36&_&&lp(v,Dp.alternate,Dp),128&_){b=void 0;var S=Dp.ref;if(null!==S){var C=Dp.stateNode;switch(Dp.tag){case 5:b=C;break;default:b=C}"function"==typeof S?S(b):S.current=b}}Dp=Dp.nextEffect}}catch(e){if(null===Dp)throw Error(la(330));Om(Dp,e),Dp=Dp.nextEffect}}while(null!==Dp);Dp=null,xc(),bp=o}else e.current=n;if(zp)zp=!1,Vp=e,Gp=t;else for(Dp=r;null!==Dp;)t=Dp.nextEffect,Dp.nextEffect=null,8&Dp.flags&&((_=Dp).sibling=null,_.stateNode=null),Dp=t;if(0===(r=e.pendingLanes)&&(Up=null),1===r?e===qp?$p++:($p=0,qp=e):$p=0,n=n.stateNode,yc&&"function"==typeof yc.onCommitFiberRoot)try{yc.onCommitFiberRoot(hc,n,void 0,64==(64&n.current.flags))}catch(e){}if(tm(e,Mc()),Fp)throw Fp=!1,e=jp,jp=null,e;return 0!=(8&bp)||zc(),null}function bm(){for(;null!==Dp;){var e=Dp.flags;0!=(256&e)&&ip(Dp.alternate,Dp),0==(512&e)||zp||(zp=!0,Uc(97,function(){return Em(),null})),Dp=Dp.nextEffect}}function Em(){if(90!==Gp){var e=97<Gp?97:Gp;return Gp=90,jc(e,Sm)}return!1}function wm(e,t){Wp.push(t,e),zp||(zp=!0,Uc(97,function(){return Em(),null}))}function _m(e,t){Bp.push(t,e),zp||(zp=!0,Uc(97,function(){return Em(),null}))}function Sm(){if(null===Vp)return!1;var e=Vp;if(Vp=null,0!=(48&bp))throw Error(la(331));var t=bp;bp|=32;var n=Bp;Bp=[];for(var r=0;r<n.length;r+=2){var o=n[r],a=n[r+1],i=o.destroy;if(o.destroy=void 0,"function"==typeof i)try{i()}catch(e){if(null===a)throw Error(la(330));Om(a,e)}}for(n=Wp,Wp=[],r=0;r<n.length;r+=2){o=n[r],a=n[r+1];try{var l=o.create;o.destroy=l()}catch(e){if(null===a)throw Error(la(330));Om(a,e)}}for(l=e.current.firstEffect;null!==l;)e=l.nextEffect,l.nextEffect=null,8&l.flags&&(l.sibling=null,l.stateNode=null),l=e;return bp=t,zc(),!0}function Cm(e,t,n){rf(e,t=np(0,t=Jd(n,t),1)),t=Yp(),null!==(e=em(e,1))&&(zl(e,1,t),tm(e,t))}function Om(e,t){if(3===e.tag)Cm(e,e,t);else for(var n=e.return;null!==n;){if(3===n.tag){Cm(n,e,t);break}if(1===n.tag){var r=n.stateNode;if("function"==typeof n.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Up||!Up.has(r))){var o=rp(n,e=Jd(t,e),1);if(rf(n,o),o=Yp(),null!==(n=em(n,1)))zl(n,1,o),tm(n,o);else if("function"==typeof r.componentDidCatch&&(null===Up||!Up.has(r)))try{r.componentDidCatch(t,e)}catch(e){}break}}n=n.return}}function km(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=Yp(),e.pingedLanes|=e.suspendedLanes&n,Ep===e&&(_p&n)===n&&(4===Op||3===Op&&(62914560&_p)===_p&&500>Mc()-Lp?sm(e,0):xp|=n),tm(e,t)}function Tm(e,t){var n=e.stateNode;null!==n&&n.delete(t),0==(t=0)&&(0==(2&(t=e.mode))?t=1:0==(4&t)?t=99===Dc()?1:2:(0===Xp&&(Xp=Tp),0===(t=jl(62914560&~Xp))&&(t=4194304))),n=Yp(),null!==(e=em(e,t))&&(zl(e,t,n),tm(e,n))}function Pm(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.flags=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childLanes=this.lanes=0,this.alternate=null}function Nm(e,t,n,r){return new Pm(e,t,n,r)}function xm(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Am(e,t){var n=e.alternate;return null===n?((n=Nm(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.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,n.dependencies=null===(t=e.dependencies)?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Lm(e,t,n,r,o,a){var i=2;if(r=e,"function"==typeof e)xm(e)&&(i=1);else if("string"==typeof e)i=5;else e:switch(e){case Oa:return Rm(n.children,o,a,t);case Fa:i=8,o|=16;break;case ka:i=8,o|=1;break;case Ta:return(e=Nm(12,n,t,8|o)).elementType=Ta,e.type=Ta,e.lanes=a,e;case Aa:return(e=Nm(13,n,t,o)).type=Aa,e.elementType=Aa,e.lanes=a,e;case La:return(e=Nm(19,n,t,o)).elementType=La,e.lanes=a,e;case ja:return Im(n,o,a,t);case Ua:return(e=Nm(24,n,t,o)).elementType=Ua,e.lanes=a,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case Pa:i=10;break e;case Na:i=9;break e;case xa:i=11;break e;case Ra:i=14;break e;case Ia:i=16,r=null;break e;case Ma:i=22;break e}throw Error(la(130,null==e?e:typeof e,""))}return(t=Nm(i,n,t,o)).elementType=e,t.type=r,t.lanes=a,t}function Rm(e,t,n,r){return(e=Nm(7,e,r,t)).lanes=n,e}function Im(e,t,n,r){return(e=Nm(23,e,r,t)).elementType=ja,e.lanes=n,e}function Mm(e,t,n){return(e=Nm(6,e,null,t)).lanes=n,e}function Dm(e,t,n){return(t=Nm(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Fm(e,t,n){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=n,this.callbackNode=null,this.callbackPriority=0,this.eventTimes=Ul(0),this.expirationTimes=Ul(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ul(0),this.mutableSourceEagerHydrationData=null}function jm(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:Ca,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}function Um(e,t,n,r){var o=t.current,a=Yp(),i=Zp(o);e:if(n){t:{if(Xi(n=n._reactInternals)!==n||1!==n.tag)throw Error(la(170));var l=n;do{switch(l.tag){case 3:l=l.stateNode.context;break t;case 1:if(sc(l.type)){l=l.stateNode.__reactInternalMemoizedMergedChildContext;break t}}l=l.return}while(null!==l);throw Error(la(171))}if(1===n.tag){var u=n.type;if(sc(u)){n=dc(n,u,l);break e}}n=l}else n=oc;return null===t.context?t.context=n:t.pendingContext=n,(t=nf(a,i)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),rf(o,t),Jp(o,i,a),i}function zm(e){if(!(e=e.current).child)return null;switch(e.child.tag){case 5:default:return e.child.stateNode}}function Vm(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function Gm(e,t){Vm(e,t),(e=e.alternate)&&Vm(e,t)}function Wm(e,t,n){var r=null!=n&&null!=n.hydrationOptions&&n.hydrationOptions.mutableSources||null;if(n=new Fm(e,t,null!=n&&!0===n.hydrate),t=Nm(3,null,null,2===t?7:1===t?3:0),n.current=t,t.stateNode=n,ef(t),e[$s]=n.current,Cs(8===e.nodeType?e.parentNode:e),r)for(e=0;e<r.length;e++){var o=(t=r[e])._getVersion;o=o(t._source),null==n.mutableSourceEagerHydrationData?n.mutableSourceEagerHydrationData=[t,o]:n.mutableSourceEagerHydrationData.push(t,o)}this._internalRoot=n}function Bm(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Hm(e,t,n,r,o){var a=n._reactRootContainer;if(a){var i=a._internalRoot;if("function"==typeof o){var l=o;o=function(){var e=zm(i);l.call(e)}}Um(t,i,e,o)}else{if(a=n._reactRootContainer=function(e,t){if(t||(t=!(!(t=e?9===e.nodeType?e.documentElement:e.firstChild:null)||1!==t.nodeType||!t.hasAttribute("data-reactroot"))),!t)for(var n;n=e.lastChild;)e.removeChild(n);return new Wm(e,0,t?{hydrate:!0}:void 0)}(n,r),i=a._internalRoot,"function"==typeof o){var u=o;o=function(){var e=zm(i);u.call(e)}}im(function(){Um(t,i,e,o)})}return zm(i)}function $m(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Bm(t))throw Error(la(200));return jm(e,t,null,n)}Mp=function(e,t,n){var r=t.lanes;if(null!==e)if(e.memoizedProps!==t.pendingProps||ic.current)Nd=!0;else{if(0==(n&r)){switch(Nd=!1,t.tag){case 3:Ud(t),zf();break;case 5:Pf(t);break;case 1:sc(t.type)&&pc(t);break;case 4:kf(t,t.stateNode.containerInfo);break;case 10:r=t.memoizedProps.value;var o=t.type._context;rc(Bc,o._currentValue),o._currentValue=r;break;case 13:if(null!==t.memoizedState)return 0!=(n&t.child.childLanes)?Bd(e,t,n):(rc(xf,1&xf.current),null!==(t=Xd(e,t,n))?t.sibling:null);rc(xf,1&xf.current);break;case 19:if(r=0!=(n&t.childLanes),0!=(64&e.flags)){if(r)return Qd(e,t,n);t.flags|=64}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),rc(xf,xf.current),r)break;return null;case 23:case 24:return t.lanes=0,Id(e,t,n)}return Xd(e,t,n)}Nd=0!=(16384&e.flags)}else Nd=!1;switch(t.lanes=0,t.tag){case 2:if(r=t.type,null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,o=uc(t,ac.current),Yc(t,n),o=Jf(null,t,r,e,o,n),t.flags|=1,"object"==typeof o&&null!==o&&"function"==typeof o.render&&void 0===o.$$typeof){if(t.tag=1,t.memoizedState=null,t.updateQueue=null,sc(r)){var a=!0;pc(t)}else a=!1;t.memoizedState=null!=o.state?o.state:null,ef(t);var i=r.getDerivedStateFromProps;"function"==typeof i&&sf(t,r,i,e),o.updater=cf,t.stateNode=o,o._reactInternals=t,mf(t,r,e,n),t=jd(null,t,r,!0,a,n)}else t.tag=0,xd(null,t,o,n),t=t.child;return t;case 16:o=t.elementType;e:{switch(null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,o=(a=o._init)(o._payload),t.type=o,a=t.tag=function(e){if("function"==typeof e)return xm(e)?1:0;if(null!=e){if((e=e.$$typeof)===xa)return 11;if(e===Ra)return 14}return 2}(o),e=Wc(o,e),a){case 0:t=Dd(null,t,o,e,n);break e;case 1:t=Fd(null,t,o,e,n);break e;case 11:t=Ad(null,t,o,e,n);break e;case 14:t=Ld(null,t,o,Wc(o.type,e),r,n);break e}throw Error(la(306,o,""))}return t;case 0:return o=t.pendingProps,Dd(e,t,r=t.type,o=t.elementType===r?o:Wc(r,o),n);case 1:return o=t.pendingProps,Fd(e,t,r=t.type,o=t.elementType===r?o:Wc(r,o),n);case 3:if(Ud(t),r=t.updateQueue,null===e||null===r)throw Error(la(282));if(r=t.pendingProps,o=null!==(o=t.memoizedState)?o.element:null,tf(e,t),af(t,r,null,n),(r=t.memoizedState.element)===o)zf(),t=Xd(e,t,n);else{if((a=(o=t.stateNode).hydrate)&&(Rf=zs(t.stateNode.containerInfo.firstChild),Lf=t,a=If=!0),a){if(null!=(e=o.mutableSourceEagerHydrationData))for(o=0;o<e.length;o+=2)(a=e[o])._workInProgressVersionPrimary=e[o+1],Vf.push(a);for(n=Ef(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|1024,n=n.sibling}else xd(e,t,r,n),zf();t=t.child}return t;case 5:return Pf(t),null===e&&Ff(t),a=null!==e?e.memoizedProps:null,i=(o=t.pendingProps).children,Ds(r=t.type,o)?i=null:null!==a&&Ds(r,a)&&(t.flags|=16),Md(e,t),xd(e,t,i,n),t.child;case 6:return null===e&&Ff(t),null;case 13:return Bd(e,t,n);case 4:return kf(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=bf(t,null,r,n):xd(e,t,r,n),t.child;case 11:return o=t.pendingProps,Ad(e,t,r=t.type,o=t.elementType===r?o:Wc(r,o),n);case 7:return xd(e,t,t.pendingProps,n),t.child;case 8:case 12:return xd(e,t,t.pendingProps.children,n),t.child;case 10:e:{r=t.type._context,i=t.memoizedProps,a=(o=t.pendingProps).value;var l=t.type._context;if(rc(Bc,l._currentValue),l._currentValue=a,null!==i)if(0==(a=rs(l=i.value,a)?0:0|("function"==typeof r._calculateChangedBits?r._calculateChangedBits(l,a):1073741823))){if(i.children===o.children&&!ic.current){t=Xd(e,t,n);break e}}else for(null!==(l=t.child)&&(l.return=t);null!==l;){var u=l.dependencies;if(null!==u){i=l.child;for(var s=u.firstContext;null!==s;){if(s.context===r&&0!=(s.observedBits&a)){1===l.tag&&((s=nf(-1,n&-n)).tag=2,rf(l,s)),l.lanes|=n,null!==(s=l.alternate)&&(s.lanes|=n),Kc(l.return,n),u.lanes|=n;break}s=s.next}}else i=10===l.tag&&l.type===t.type?null:l.child;if(null!==i)i.return=l;else for(i=l;null!==i;){if(i===t){i=null;break}if(null!==(l=i.sibling)){l.return=i.return,i=l;break}i=i.return}l=i}xd(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=(a=t.pendingProps).children,Yc(t,n),r=r(o=Zc(o,a.unstable_observedBits)),t.flags|=1,xd(e,t,r,n),t.child;case 14:return a=Wc(o=t.type,t.pendingProps),Ld(e,t,o,a=Wc(o.type,a),r,n);case 15:return Rd(e,t,t.type,t.pendingProps,r,n);case 17:return o=t.pendingProps,o=t.elementType===(r=t.type)?o:Wc(r,o),null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),t.tag=1,sc(r)?(e=!0,pc(t)):e=!1,Yc(t,n),df(t,r,o),mf(t,r,o,n),jd(null,t,r,!0,e,n);case 19:return Qd(e,t,n);case 23:case 24:return Id(e,t,n)}throw Error(la(156,t.tag))},Wm.prototype.render=function(e){Um(e,this._internalRoot,null,null)},Wm.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;Um(null,e,null,function(){t[$s]=null})},Ji=function(e){13===e.tag&&(Jp(e,4,Yp()),Gm(e,4))},el=function(e){13===e.tag&&(Jp(e,67108864,Yp()),Gm(e,67108864))},tl=function(e){if(13===e.tag){var t=Yp(),n=Zp(e);Jp(e,n,t),Gm(e,n)}},nl=function(e,t){return t()},ki=function(e,t,n){switch(t){case"input":if(ri(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 o=Ys(r);if(!o)throw Error(la(90));Za(r),ri(r,o)}}}break;case"textarea":ci(e,n);break;case"select":null!=(t=n.value)&&li(e,!!n.multiple,t,!1)}},Li=am,Ri=function(e,t,n,r,o){var a=bp;bp|=4;try{return jc(98,e.bind(null,t,n,r,o))}finally{0===(bp=a)&&(Ip(),zc())}},Ii=function(){0==(49&bp)&&(function(){if(null!==Hp){var e=Hp;Hp=null,e.forEach(function(e){e.expiredLanes|=24&e.pendingLanes,tm(e,Mc())})}zc()}(),Em())},Mi=function(e,t){var n=bp;bp|=2;try{return e(t)}finally{0===(bp=n)&&(Ip(),zc())}};var qm={Events:[Xs,Ks,Ys,xi,Ai,Em,{current:!1}]},Qm={findFiberByHostInstance:Qs,bundleType:0,version:"17.0.2",rendererPackageName:"react-dom"},Xm={bundleType:Qm.bundleType,version:Qm.version,rendererPackageName:Qm.rendererPackageName,rendererConfig:Qm.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:_a.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=Zi(e))?null:e.stateNode},findFiberByHostInstance:Qm.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var Km=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Km.isDisabled&&Km.supportsFiber)try{hc=Km.inject(Xm),yc=Km}catch(e){}}var Ym={__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:qm,createPortal:$m,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(la(188));throw Error(la(268,Object.keys(e)))}return null===(e=Zi(t))?null:e.stateNode},flushSync:function(e,t){var n=bp;if(0!=(48&n))return e(t);bp|=1;try{if(e)return jc(99,e.bind(null,t))}finally{bp=n,zc()}},hydrate:function(e,t,n){if(!Bm(t))throw Error(la(200));return Hm(null,e,t,!0,n)},render:function(e,t,n){if(!Bm(t))throw Error(la(200));return Hm(null,e,t,!1,n)},unmountComponentAtNode:function(e){if(!Bm(e))throw Error(la(40));return!!e._reactRootContainer&&(im(function(){Hm(null,null,e,!1,function(){e._reactRootContainer=null,e[$s]=null})}),!0)},unstable_batchedUpdates:am,unstable_createPortal:function(e,t){return $m(e,t,2<arguments.length&&void 0!==arguments[2]?arguments[2]:null)},unstable_renderSubtreeIntoContainer:function(e,t,n,r){if(!Bm(n))throw Error(la(200));if(null==e||void 0===e._reactInternals)throw Error(la(38));return Hm(e,t,n,!1,r)},version:"17.0.2"},Zm=0,Jm={__interactionsRef:null,__subscriberRef:null,unstable_clear:function(e){return e()},unstable_getCurrent:function(){return null},unstable_getThreadID:function(){return++Zm},unstable_subscribe:function(){},unstable_trace:function(e,t,n){return n()},unstable_unsubscribe:function(){},unstable_wrap:function(e){return e}},eh=(s(function(e,t){}),s(function(e){e.exports=Jm}),s(function(e,t){}),s(function(e){!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=Ym}));function th(){return(th=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var nh=function(e,t,n){var r,o,a,i=t.domain,l=t.merchantId,u=$t.useState([]),s=u[0],c=u[1],f=$t.useState(Mt.PENDING),d=f[0],p=f[1],m=null==n?void 0:n.map(function(e){return{installments_count:e.installmentsCount,deferred_days:null==e?void 0:e.deferredDays,deferred_months:null==e?void 0:e.deferredMonths}});return $t.useEffect(function(){d===Mt.PENDING&&function(e,t,n){void 0===e&&(e="");try{return Promise.resolve(fetch(e,{method:"POST",headers:th({"Content-Type":"application/json"},n),body:JSON.stringify(t)})).then(function(e){return e.json()})}catch(e){return Promise.reject(e)}}(i+"/v2/payments/eligibility",{purchase_amount:e,queries:m},{Authorization:"Alma-Merchant-Auth "+l}).then(function(e){c(e),p(Mt.SUCCESS)}).catch(function(){p(Mt.FAILED)})},[d]),[(r=s,o=n,a=r.filter(function(e){return!(1===e.installments_count&&0===e.deferred_days&&0===e.deferred_months)}),o?a.map(function(e){var t=30*(e.deferred_months?e.deferred_months:0)+(e.deferred_days?e.deferred_days:0),n=o.find(function(n){return e.installments_count===n.installmentsCount&&t===30*(n.deferredMonths?n.deferredMonths:0)+(n.deferredDays?n.deferredDays:0)});return th({},e,{eligible:!!n&&e.purchase_amount>=(null==n?void 0:n.minAmount)&&e.purchase_amount<=(null==n?void 0:n.maxAmount),minAmount:null==n?void 0:n.minAmount,maxAmount:null==n?void 0:n.maxAmount})}):a),d]},rh=s(function(e){!function(){var t={}.hasOwnProperty;function n(){for(var e=[],r=0;r<arguments.length;r++){var o=arguments[r];if(o){var a=typeof o;if("string"===a||"number"===a)e.push(o);else if(Array.isArray(o)&&o.length){var i=n.apply(null,o);i&&e.push(i)}else if("object"===a)for(var l in o)t.call(o,l)&&o[l]&&e.push(l)}}return e.join(" ")}e.exports?(n.default=n,e.exports=n):window.classNames=n}()}),oh=function(e){return $t.createElement("div",{className:rh("_31lrj",e.className),"data-testid":"loader"},$t.createElement("div",{className:"_2p94X"},"a"),$t.createElement("div",{className:"_1k0PM"}))};function ah(){}function ih(){}Function.call.bind(Object.prototype.hasOwnProperty),ih.resetWarningCache=ah;var lh=s(function(e){e.exports=function(){function e(e,t,n,r,o,a){if("SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"!==a){var i=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 i.name="Invariant Violation",i}}function t(){return e}e.isRequired=e;var n={array: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:ih,resetWarningCache:ah};return n.PropTypes=n,n}()}),uh=s(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return[].slice.call(e.querySelectorAll("*"),0).filter(o)};var n=/input|select|textarea|button|object/;function r(e){var t=e.offsetWidth<=0&&e.offsetHeight<=0;if(t&&!e.innerHTML)return!0;try{var n=window.getComputedStyle(e);return t?"visible"!==n.getPropertyValue("overflow")||e.scrollWidth<=0&&e.scrollHeight<=0:"none"==n.getPropertyValue("display")}catch(e){return console.warn("Failed to inspect element style"),!1}}function o(e){var t=e.getAttribute("tabindex");null===t&&(t=void 0);var o=isNaN(t);return(o||t>=0)&&function(e,t){var o=e.nodeName.toLowerCase();return(n.test(o)&&!e.disabled||"a"===o&&e.href||t)&&function(e){for(var t=e;t&&t!==document.body;){if(r(t))return!1;t=t.parentNode}return!0}(e)}(e,!o)}e.exports=t.default}),sh=s(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.resetState=function(){o=[]},t.log=function(){},t.handleBlur=l,t.handleFocus=u,t.markForFocusLater=function(){o.push(document.activeElement)},t.returnFocus=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=null;try{return void(0!==o.length&&(t=o.pop()).focus({preventScroll:e}))}catch(e){console.warn(["You tried to return focus to",t,"but it is not in the DOM anymore"].join(" "))}},t.popWithoutFocus=function(){o.length>0&&o.pop()},t.setupScopedFocus=function(e){a=e,window.addEventListener?(window.addEventListener("blur",l,!1),document.addEventListener("focus",u,!0)):(window.attachEvent("onBlur",l),document.attachEvent("onFocus",u))},t.teardownScopedFocus=function(){a=null,window.addEventListener?(window.removeEventListener("blur",l),document.removeEventListener("focus",u)):(window.detachEvent("onBlur",l),document.detachEvent("onFocus",u))};var n,r=(n=uh)&&n.__esModule?n:{default:n},o=[],a=null,i=!1;function l(){i=!0}function u(){if(i){if(i=!1,!a)return;setTimeout(function(){a.contains(document.activeElement)||((0,r.default)(a)[0]||a).focus()},0)}}}),ch=s(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=(0,r.default)(e);if(n.length){var o=void 0,a=t.shiftKey,i=n[0],l=n[n.length-1];if(e===document.activeElement){if(!a)return;o=l}if(l!==document.activeElement||a||(o=i),i===document.activeElement&&a&&(o=l),o)return t.preventDefault(),void o.focus();var u=/(\bChrome\b|\bSafari\b)\//.exec(navigator.userAgent);if(null!=u&&"Chrome"!=u[1]&&null==/\biPod\b|\biPad\b/g.exec(navigator.userAgent)){var s=n.indexOf(document.activeElement);if(s>-1&&(s+=a?-1:1),void 0===(o=n[s]))return t.preventDefault(),void(o=a?l:i).focus();t.preventDefault(),o.focus()}}else t.preventDefault()};var n,r=(n=uh)&&n.__esModule?n:{default:n};e.exports=t.default}),fh=function(){},dh=s(function(e){var t,n;n={canUseDOM:t=!("undefined"==typeof window||!window.document||!window.document.createElement),canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:t&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:t&&!!window.screen},e.exports?e.exports=n:window.ExecutionEnvironment=n}),ph=s(function(e,t){var n;Object.defineProperty(t,"__esModule",{value:!0}),t.canUseDOM=t.SafeNodeList=t.SafeHTMLCollection=void 0;var r=((n=dh)&&n.__esModule?n:{default:n}).default,o=r.canUseDOM?window.HTMLElement:{};t.SafeHTMLCollection=r.canUseDOM?window.HTMLCollection:{},t.SafeNodeList=r.canUseDOM?window.NodeList:{},t.canUseDOM=r.canUseDOM,t.default=o}),mh=s(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.resetState=function(){o&&(o.removeAttribute?o.removeAttribute("aria-hidden"):null!=o.length?o.forEach(function(e){return e.removeAttribute("aria-hidden")}):document.querySelectorAll(o).forEach(function(e){return e.removeAttribute("aria-hidden")})),o=null},t.log=function(){},t.assertNodeList=a,t.setElement=function(e){var t=e;if("string"==typeof t&&ph.canUseDOM){var n=document.querySelectorAll(t);a(n,t),t=n}return o=t||o},t.validateElement=i,t.hide=function(e){var t=!0,n=!1,r=void 0;try{for(var o,a=i(e)[Symbol.iterator]();!(t=(o=a.next()).done);t=!0)o.value.setAttribute("aria-hidden","true")}catch(e){n=!0,r=e}finally{try{!t&&a.return&&a.return()}finally{if(n)throw r}}},t.show=function(e){var t=!0,n=!1,r=void 0;try{for(var o,a=i(e)[Symbol.iterator]();!(t=(o=a.next()).done);t=!0)o.value.removeAttribute("aria-hidden")}catch(e){n=!0,r=e}finally{try{!t&&a.return&&a.return()}finally{if(n)throw r}}},t.documentNotReadyOrSSRTesting=function(){o=null};var n,r=(n=fh)&&n.__esModule?n:{default:n},o=null;function a(e,t){if(!e||!e.length)throw new Error("react-modal: No elements were found for selector "+t+".")}function i(e){var t=e||o;return t?Array.isArray(t)||t instanceof HTMLCollection||t instanceof NodeList?t:[t]:((0,r.default)(!1,["react-modal: App element is not defined.","Please use `Modal.setAppElement(el)` or set `appElement={el}`.","This is needed so screen readers don't see main content","when modal is opened. It is not recommended, but you can opt-out","by setting `ariaHideApp={false}`."].join(" ")),[])}}),hh=s(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.resetState=function(){var e=document.getElementsByTagName("html")[0];for(var t in n)o(e,n[t]);var a=document.body;for(var i in r)o(a,r[i]);n={},r={}},t.log=function(){};var n={},r={};function o(e,t){e.classList.remove(t)}t.add=function(e,t){return o=e.classList,a="html"==e.nodeName.toLowerCase()?n:r,void t.split(" ").forEach(function(e){!function(e,t){e[t]||(e[t]=0),e[t]+=1}(a,e),o.add(e)});var o,a},t.remove=function(e,t){return o=e.classList,a="html"==e.nodeName.toLowerCase()?n:r,void t.split(" ").forEach(function(e){!function(e,t){e[t]&&(e[t]-=1)}(a,e),0===a[e]&&o.remove(e)});var o,a}}),yh=s(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.log=function(){console.log("portalOpenInstances ----------"),console.log(r.openInstances.length),r.openInstances.forEach(function(e){return console.log(e)}),console.log("end portalOpenInstances ----------")},t.resetState=function(){r=new n};var n=function e(){var t=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.register=function(e){-1===t.openInstances.indexOf(e)&&(t.openInstances.push(e),t.emit("register"))},this.deregister=function(e){var n=t.openInstances.indexOf(e);-1!==n&&(t.openInstances.splice(n,1),t.emit("deregister"))},this.subscribe=function(e){t.subscribers.push(e)},this.emit=function(e){t.subscribers.forEach(function(n){return n(e,t.openInstances.slice())})},this.openInstances=[],this.subscribers=[]},r=new n;t.default=r}),gh=(s(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.resetState=function(){for(var e=[o,a],t=0;t<e.length;t++){var n=e[t];n&&n.parentNode&&n.parentNode.removeChild(n)}o=a=null,i=[]},t.log=function(){console.log("bodyTrap ----------"),console.log(i.length);for(var e=[o,a],t=0;t<e.length;t++){var n=e[t]||{};console.log(n.nodeName,n.className,n.id)}console.log("edn bodyTrap ----------")};var n,r=(n=yh)&&n.__esModule?n:{default:n},o=void 0,a=void 0,i=[];function l(){0!==i.length&&i[i.length-1].focusContent()}r.default.subscribe(function(e,t){o||a||((o=document.createElement("div")).setAttribute("data-react-modal-body-trap",""),o.style.position="absolute",o.style.opacity="0",o.setAttribute("tabindex","0"),o.addEventListener("focus",l),(a=o.cloneNode()).addEventListener("focus",l)),(i=t).length>0?(document.body.firstChild!==o&&document.body.insertBefore(o,document.body.firstChild),document.body.lastChild!==a&&document.body.appendChild(a)):(o.parentElement&&o.parentElement.removeChild(o),a.parentElement&&a.parentElement.removeChild(a))})}),s(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=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},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},o=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}}(),a=p(lh),i=d(sh),l=p(ch),u=d(mh),s=d(hh),c=p(ph),f=p(yh);function d(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function p(e){return e&&e.__esModule?e:{default:e}}var m={overlay:"ReactModal__Overlay",content:"ReactModal__Content"},h=0,y=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=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,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.setOverlayRef=function(e){n.overlay=e,n.props.overlayRef&&n.props.overlayRef(e)},n.setContentRef=function(e){n.content=e,n.props.contentRef&&n.props.contentRef(e)},n.afterClose=function(){var e=n.props,t=e.appElement,r=e.ariaHideApp,o=e.htmlOpenClassName,a=e.bodyOpenClassName;a&&s.remove(document.body,a),o&&s.remove(document.getElementsByTagName("html")[0],o),r&&h>0&&0==(h-=1)&&u.show(t),n.props.shouldFocusAfterRender&&(n.props.shouldReturnFocusAfterClose?(i.returnFocus(n.props.preventScroll),i.teardownScopedFocus()):i.popWithoutFocus()),n.props.onAfterClose&&n.props.onAfterClose(),f.default.deregister(n)},n.open=function(){n.beforeOpen(),n.state.afterOpen&&n.state.beforeClose?(clearTimeout(n.closeTimer),n.setState({beforeClose:!1})):(n.props.shouldFocusAfterRender&&(i.setupScopedFocus(n.node),i.markForFocusLater()),n.setState({isOpen:!0},function(){n.openAnimationFrame=requestAnimationFrame(function(){n.setState({afterOpen:!0}),n.props.isOpen&&n.props.onAfterOpen&&n.props.onAfterOpen({overlayEl:n.overlay,contentEl:n.content})})}))},n.close=function(){n.props.closeTimeoutMS>0?n.closeWithTimeout():n.closeWithoutTimeout()},n.focusContent=function(){return n.content&&!n.contentHasFocus()&&n.content.focus({preventScroll:!0})},n.closeWithTimeout=function(){var e=Date.now()+n.props.closeTimeoutMS;n.setState({beforeClose:!0,closesAt:e},function(){n.closeTimer=setTimeout(n.closeWithoutTimeout,n.state.closesAt-Date.now())})},n.closeWithoutTimeout=function(){n.setState({beforeClose:!1,isOpen:!1,afterOpen:!1,closesAt:null},n.afterClose)},n.handleKeyDown=function(e){9===e.keyCode&&(0,l.default)(n.content,e),n.props.shouldCloseOnEsc&&27===e.keyCode&&(e.stopPropagation(),n.requestClose(e))},n.handleOverlayOnClick=function(e){null===n.shouldClose&&(n.shouldClose=!0),n.shouldClose&&n.props.shouldCloseOnOverlayClick&&(n.ownerHandlesClose()?n.requestClose(e):n.focusContent()),n.shouldClose=null},n.handleContentOnMouseUp=function(){n.shouldClose=!1},n.handleOverlayOnMouseDown=function(e){n.props.shouldCloseOnOverlayClick||e.target!=n.overlay||e.preventDefault()},n.handleContentOnClick=function(){n.shouldClose=!1},n.handleContentOnMouseDown=function(){n.shouldClose=!1},n.requestClose=function(e){return n.ownerHandlesClose()&&n.props.onRequestClose(e)},n.ownerHandlesClose=function(){return n.props.onRequestClose},n.shouldBeClosed=function(){return!n.state.isOpen&&!n.state.beforeClose},n.contentHasFocus=function(){return document.activeElement===n.content||n.content.contains(document.activeElement)},n.buildClassName=function(e,t){var o="object"===(void 0===t?"undefined":r(t))?t:{base:m[e],afterOpen:m[e]+"--after-open",beforeClose:m[e]+"--before-close"},a=o.base;return n.state.afterOpen&&(a=a+" "+o.afterOpen),n.state.beforeClose&&(a=a+" "+o.beforeClose),"string"==typeof t&&t?a+" "+t:a},n.attributesFromObject=function(e,t){return Object.keys(t).reduce(function(n,r){return n[e+"-"+r]=t[r],n},{})},n.state={afterOpen:!1,beforeClose:!1},n.shouldClose=null,n.moveFromContentToOverlay=null,n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"componentDidMount",value:function(){this.props.isOpen&&this.open()}},{key:"componentDidUpdate",value:function(e,t){this.props.isOpen&&!e.isOpen?this.open():!this.props.isOpen&&e.isOpen&&this.close(),this.props.shouldFocusAfterRender&&this.state.isOpen&&!t.isOpen&&this.focusContent()}},{key:"componentWillUnmount",value:function(){this.state.isOpen&&this.afterClose(),clearTimeout(this.closeTimer),cancelAnimationFrame(this.openAnimationFrame)}},{key:"beforeOpen",value:function(){var e=this.props,t=e.appElement,n=e.ariaHideApp,r=e.htmlOpenClassName,o=e.bodyOpenClassName;o&&s.add(document.body,o),r&&s.add(document.getElementsByTagName("html")[0],r),n&&(h+=1,u.hide(t)),f.default.register(this)}},{key:"render",value:function(){var e=this.props,t=e.id,r=e.className,o=e.overlayClassName,a=e.defaultStyles,i=e.children,l=r?{}:a.content,u=o?{}:a.overlay;if(this.shouldBeClosed())return null;var s={ref:this.setOverlayRef,className:this.buildClassName("overlay",o),style:n({},u,this.props.style.overlay),onClick:this.handleOverlayOnClick,onMouseDown:this.handleOverlayOnMouseDown},c=n({id:t,ref:this.setContentRef,style:n({},l,this.props.style.content),className:this.buildClassName("content",r),tabIndex:"-1",onKeyDown:this.handleKeyDown,onMouseDown:this.handleContentOnMouseDown,onMouseUp:this.handleContentOnMouseUp,onClick:this.handleContentOnClick,role:this.props.role,"aria-label":this.props.contentLabel},this.attributesFromObject("aria",n({modal:!0},this.props.aria)),this.attributesFromObject("data",this.props.data||{}),{"data-testid":this.props.testId}),f=this.props.contentElement(c,i);return this.props.overlayElement(s,f)}}]),t}($t.Component);y.defaultProps={style:{overlay:{},content:{}},defaultStyles:{}},y.propTypes={isOpen:a.default.bool.isRequired,defaultStyles:a.default.shape({content:a.default.object,overlay:a.default.object}),style:a.default.shape({content:a.default.object,overlay:a.default.object}),className:a.default.oneOfType([a.default.string,a.default.object]),overlayClassName:a.default.oneOfType([a.default.string,a.default.object]),bodyOpenClassName:a.default.string,htmlOpenClassName:a.default.string,ariaHideApp:a.default.bool,appElement:a.default.oneOfType([a.default.instanceOf(c.default),a.default.instanceOf(ph.SafeHTMLCollection),a.default.instanceOf(ph.SafeNodeList),a.default.arrayOf(a.default.instanceOf(c.default))]),onAfterOpen:a.default.func,onAfterClose:a.default.func,onRequestClose:a.default.func,closeTimeoutMS:a.default.number,shouldFocusAfterRender:a.default.bool,shouldCloseOnOverlayClick:a.default.bool,shouldReturnFocusAfterClose:a.default.bool,preventScroll:a.default.bool,role:a.default.string,contentLabel:a.default.string,aria:a.default.object,data:a.default.object,children:a.default.node,shouldCloseOnEsc:a.default.bool,overlayRef:a.default.func,contentRef:a.default.func,id:a.default.string,overlayElement:a.default.func,contentElement:a.default.func,testId:a.default.string},t.default=y,e.exports=t.default}));function vh(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=e&&this.setState(e)}function bh(e){this.setState(function(t){var n=this.constructor.getDerivedStateFromProps(e,t);return null!=n?n:null}.bind(this))}function Eh(e,t){try{var n=this.props,r=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(n,r)}finally{this.props=n,this.state=r}}vh.__suppressDeprecationWarning=!0,bh.__suppressDeprecationWarning=!0,Eh.__suppressDeprecationWarning=!0;var wh=s(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.bodyOpenClassName=t.portalClassName=void 0;var n=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},r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=c($t),a=c(eh),i=c(lh),l=c(gh),u=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(mh),s=c(ph);function c(e){return e&&e.__esModule?e:{default:e}}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(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}var p=t.portalClassName="ReactModalPortal",m=t.bodyOpenClassName="ReactModal__Body--open",h=ph.canUseDOM&&void 0!==a.default.createPortal,y=function(e){return document.createElement(e)},g=function(){return h?a.default.createPortal:a.default.unstable_renderSubtreeIntoContainer};function v(e){return e()}var b=function(e){function t(){var e,r,i;f(this,t);for(var u=arguments.length,s=Array(u),c=0;c<u;c++)s[c]=arguments[c];return r=i=d(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(s))),i.removePortal=function(){!h&&a.default.unmountComponentAtNode(i.node);var e=v(i.props.parentSelector);e&&e.contains(i.node)?e.removeChild(i.node):console.warn('React-Modal: "parentSelector" prop did not returned any DOM element. Make sure that the parent element is unmounted to avoid any memory leaks.')},i.portalRef=function(e){i.portal=e},i.renderPortal=function(e){var r=g()(i,o.default.createElement(l.default,n({defaultStyles:t.defaultStyles},e)),i.node);i.portalRef(r)},d(i,r)}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),r(t,[{key:"componentDidMount",value:function(){ph.canUseDOM&&(h||(this.node=y("div")),this.node.className=this.props.portalClassName,v(this.props.parentSelector).appendChild(this.node),!h&&this.renderPortal(this.props))}},{key:"getSnapshotBeforeUpdate",value:function(e){return{prevParent:v(e.parentSelector),nextParent:v(this.props.parentSelector)}}},{key:"componentDidUpdate",value:function(e,t,n){if(ph.canUseDOM){var r=this.props,o=r.isOpen,a=r.portalClassName;e.portalClassName!==a&&(this.node.className=a);var i=n.prevParent,l=n.nextParent;l!==i&&(i.removeChild(this.node),l.appendChild(this.node)),(e.isOpen||o)&&!h&&this.renderPortal(this.props)}}},{key:"componentWillUnmount",value:function(){if(ph.canUseDOM&&this.node&&this.portal){var e=this.portal.state,t=Date.now(),n=e.isOpen&&this.props.closeTimeoutMS&&(e.closesAt||t+this.props.closeTimeoutMS);n?(e.beforeClose||this.portal.closeWithTimeout(),setTimeout(this.removePortal,n-t)):this.removePortal()}}},{key:"render",value:function(){return ph.canUseDOM&&h?(!this.node&&h&&(this.node=y("div")),g()(o.default.createElement(l.default,n({ref:this.portalRef,defaultStyles:t.defaultStyles},this.props)),this.node)):null}}],[{key:"setAppElement",value:function(e){u.setElement(e)}}]),t}($t.Component);b.propTypes={isOpen:i.default.bool.isRequired,style:i.default.shape({content:i.default.object,overlay:i.default.object}),portalClassName:i.default.string,bodyOpenClassName:i.default.string,htmlOpenClassName:i.default.string,className:i.default.oneOfType([i.default.string,i.default.shape({base:i.default.string.isRequired,afterOpen:i.default.string.isRequired,beforeClose:i.default.string.isRequired})]),overlayClassName:i.default.oneOfType([i.default.string,i.default.shape({base:i.default.string.isRequired,afterOpen:i.default.string.isRequired,beforeClose:i.default.string.isRequired})]),appElement:i.default.oneOfType([i.default.instanceOf(s.default),i.default.instanceOf(ph.SafeHTMLCollection),i.default.instanceOf(ph.SafeNodeList),i.default.arrayOf(i.default.instanceOf(s.default))]),onAfterOpen:i.default.func,onRequestClose:i.default.func,closeTimeoutMS:i.default.number,ariaHideApp:i.default.bool,shouldFocusAfterRender:i.default.bool,shouldCloseOnOverlayClick:i.default.bool,shouldReturnFocusAfterClose:i.default.bool,preventScroll:i.default.bool,parentSelector:i.default.func,aria:i.default.object,data:i.default.object,role:i.default.string,contentLabel:i.default.string,shouldCloseOnEsc:i.default.bool,overlayRef:i.default.func,contentRef:i.default.func,id:i.default.string,overlayElement:i.default.func,contentElement:i.default.func},b.defaultProps={isOpen:!1,portalClassName:p,bodyOpenClassName:m,role:"dialog",ariaHideApp:!0,closeTimeoutMS:0,shouldFocusAfterRender:!0,shouldCloseOnEsc:!0,shouldCloseOnOverlayClick:!0,shouldReturnFocusAfterClose:!0,preventScroll:!1,parentSelector:function(){return document.body},overlayElement:function(e,t){return o.default.createElement("div",e,t)},contentElement:function(e,t){return o.default.createElement("div",e,t)}},b.defaultStyles={overlay:{position:"fixed",top:0,left:0,right:0,bottom:0,backgroundColor:"rgba(255, 255, 255, 0.75)"},content:{position:"absolute",top:"40px",left:"40px",right:"40px",bottom:"40px",border:"1px solid #ccc",background:"#fff",overflow:"auto",WebkitOverflowScrolling:"touch",borderRadius:"4px",outline:"none",padding:"20px"}},function(e){var t=e.prototype;if(!t||!t.isReactComponent)throw new Error("Can only polyfill class components");if("function"!=typeof e.getDerivedStateFromProps&&"function"!=typeof t.getSnapshotBeforeUpdate)return e;var n=null,r=null,o=null;if("function"==typeof t.componentWillMount?n="componentWillMount":"function"==typeof t.UNSAFE_componentWillMount&&(n="UNSAFE_componentWillMount"),"function"==typeof t.componentWillReceiveProps?r="componentWillReceiveProps":"function"==typeof t.UNSAFE_componentWillReceiveProps&&(r="UNSAFE_componentWillReceiveProps"),"function"==typeof t.componentWillUpdate?o="componentWillUpdate":"function"==typeof t.UNSAFE_componentWillUpdate&&(o="UNSAFE_componentWillUpdate"),null!==n||null!==r||null!==o)throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+(e.displayName||e.name)+" uses "+("function"==typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()")+" but also contains the following legacy lifecycles:"+(null!==n?"\n "+n:"")+(null!==r?"\n "+r:"")+(null!==o?"\n "+o:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks");if("function"==typeof e.getDerivedStateFromProps&&(t.componentWillMount=vh,t.componentWillReceiveProps=bh),"function"==typeof t.getSnapshotBeforeUpdate){if("function"!=typeof t.componentDidUpdate)throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");t.componentWillUpdate=Eh;var a=t.componentDidUpdate;t.componentDidUpdate=function(e,t,n){a.call(this,e,t,this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:n)}}}(b),t.default=b}),_h=u(s(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n,r=(n=wh)&&n.__esModule?n:{default:n};t.default=r.default,e.exports=t.default})),Sh=s(function(e){!function(t){var n,r,o=!1;function a(e){if("undefined"!=typeof document&&!o){var t=document.documentElement;r=window.pageYOffset,t.style.width=document.documentElement.scrollHeight>window.innerHeight?"calc(100% - "+function(){if(void 0!==n)return n;var e=document.documentElement,t=document.createElement("div");return t.setAttribute("style","width:99px;height:99px;position:absolute;top:-9999px;overflow:scroll;"),e.appendChild(t),n=t.offsetWidth-t.clientWidth,e.removeChild(t),n}()+"px)":"100%",t.style.position="fixed",t.style.top=-r+"px",t.style.overflow="hidden",o=!0}}function i(){if("undefined"!=typeof document&&o){var e=document.documentElement;e.style.width="",e.style.position="",e.style.top="",e.style.overflow="",window.scroll(0,r),o=!1}}e.exports={on:a,off:i,toggle:function(){o?i():a()}}}()});function Ch(e){var t=e.color;return $t.createElement("svg",{className:e.className,width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},$t.createElement("path",{d:"M12.5964 11.404L9.41445 8.22205L12.5964 5.04007C12.7732 4.86329 12.7732 4.50974 12.5964 4.33296L11.8893 3.62585C11.6904 3.42698 11.359 3.44908 11.1822 3.62585L8.00023 6.80783L4.81825 3.62585C4.61938 3.42698 4.28792 3.44908 4.11114 3.62585L3.40404 4.33296C3.20516 4.53183 3.20516 4.84119 3.40404 5.04007L6.58602 8.22205L3.40404 11.404C3.20516 11.6029 3.20517 11.9123 3.40404 12.1111L4.11115 12.8182C4.28792 12.995 4.61938 13.0171 4.81825 12.8182L8.00023 9.63626L11.1822 12.8182C11.359 12.995 11.6904 13.0171 11.8893 12.8182L12.5964 12.1111C12.7732 11.9344 12.7732 11.5808 12.5964 11.404Z",fill:void 0===t?"#fff":t}))}var Oh=function(e){var t,n=e.children,r=e.isOpen,o=e.onClose,a=e.className,i=e.contentClassName,l=e.scrollable,u=void 0!==l&&l,s=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)t.indexOf(n=a[r])>=0||(o[n]=e[n]);return o}(e,["children","isOpen","onClose","className","contentClassName","scrollable"]);return _h.setAppElement("body"),$t.createElement(_h,Object.assign({className:rh("_D8SjB",a),overlayClassName:"_1yxCb",onAfterOpen:function(){Sh.on()},onAfterClose:function(){Sh.off()},onRequestClose:o,isOpen:r,shouldCloseOnOverlayClick:!0,shouldCloseOnEsc:!0},s),$t.createElement("div",{className:"_12LLh"},$t.createElement("button",{onClick:o,className:"_3YRro","data-testid":"modal-close-button"},$t.createElement(Ch,null))),$t.createElement("div",{className:rh("_ocM9x",i,(t={},t._1GP2F=u,t))},n))},kh=s(function(e,t){var n;"undefined"!=typeof self&&self,e.exports=(n=$t,function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=8)}([function(e,t,n){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(1)),a=r(n(9)),i=r(n(2)),l=n(11),u=r(n(3)),s=r(n(7)),c=function(e){if(e)return Object.keys(e).reduce(function(t,n){return t[(0,i.default)(n)]=e[n],t},{})},f=function(){var e=o.default.useRef(!1);return o.default.useEffect(function(){e.current=!0},[]),e.current};t.default=function(e,t,n){var r=function(e){var t=o.default.useContext(s.default),n=function(){return c(e)||c(t)},r=o.default.useState(n),a=r[0],i=r[1];return o.default.useEffect(function(){var e=n();(0,l.shallowEqualObjects)(a,e)||i(e)},[e,t]),a}(t),i=function(e){var t=function(){return function(e){return e.query||(0,u.default)(e)}(e)},n=o.default.useState(t),r=n[0],a=n[1];return o.default.useEffect(function(){var e=t();r!==e&&a(e)},[e]),r}(e);if(!i)throw new Error("Invalid or missing MediaQuery!");var d=function(e,t){var n=function(){return(0,a.default)(e,t||{},!!t)},r=o.default.useState(n),i=r[0],l=r[1],u=f();return o.default.useEffect(function(){if(u){var e=n();return l(e),function(){e&&e.dispose()}}},[e,t]),i}(i,r),p=function(e){var t=o.default.useState(e.matches),n=t[0],r=t[1];return o.default.useEffect(function(){var t=function(){r(e.matches)};return e.addListener(t),t(),function(){e.removeListener(t)}},[e]),n}(d),m=f();return o.default.useEffect(function(){m&&n&&n(p)},[p]),o.default.useEffect(function(){return function(){d&&d.dispose()}},[]),p}},function(e,t){e.exports=n},function(e,t,n){function r(e){return"-"+e.toLowerCase()}Object.defineProperty(t,"__esModule",{value:!0});var o=/[A-Z]/g,a=/^ms-/,i={};t.default=function(e){if(i.hasOwnProperty(e))return i[e];var t=e.replace(o,r);return i[e]=a.test(t)?"-"+t:t}},function(e,t,n){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(2)),a=r(n(12));t.default=function(e){var t=[];return Object.keys(a.default.all).forEach(function(n){var r=e[n];null!=r&&t.push(function(e,t){var n=(0,o.default)(e);return"number"==typeof t&&(t="".concat(t,"px")),!0===t?n:!1===t?"not ".concat(n):"(".concat(n,": ").concat(t,")")}(n,r))}),t.join(" and ")}},function(e,t,n){e.exports=n(14)},function(e,t,n){e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t){e.exports=Function.call.bind(Object.prototype.hasOwnProperty)},function(e,t,n){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(1)).default.createContext(void 0);t.default=o},function(e,t,n){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Context=t.toQuery=t.useMediaQuery=t.default=void 0;var o=r(n(0));t.useMediaQuery=o.default;var a=r(n(18));t.default=a.default;var i=r(n(3));t.toQuery=i.default;var l=r(n(7));t.Context=l.default},function(e,t,n){function r(e,t,n){function r(e){i.matches=e.matches,i.media=e.media}var i=this;if(a&&!n){var l=a.call(window,e);this.matches=l.matches,this.media=l.media,l.addListener(r)}else this.matches=o(e,t),this.media=e;this.addListener=function(e){l&&l.addListener(e)},this.removeListener=function(e){l&&l.removeListener(e)},this.dispose=function(){l&&l.removeListener(r)}}var o=n(10).match,a="undefined"!=typeof window?window.matchMedia:null;e.exports=function(e,t,n){return new r(e,t,n)}},function(e,t,n){function r(e){return e.split(",").map(function(e){var t=(e=e.trim()).match(l),n=t[1],r=t[2],o=t[3]||"",a={};return a.inverse=!!n&&"not"===n.toLowerCase(),a.type=r?r.toLowerCase():"all",o=o.match(/\([^\)]+\)/g)||[],a.expressions=o.map(function(e){var t=e.match(u),n=t[1].toLowerCase().match(s);return{modifier:n[1],feature:n[2],value:t[2]}}),a})}function o(e){var t,n=Number(e);return n||(n=(t=e.match(/^(\d+)\s*\/\s*(\d+)$/))[1]/t[2]),n}function a(e){var t=parseFloat(e);switch(String(e).match(f)[1]){case"dpcm":return t/2.54;case"dppx":return 96*t;default:return t}}function i(e){var t=parseFloat(e);switch(String(e).match(c)[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}}t.match=function(e,t){return r(e).some(function(e){var n=e.inverse,r="all"===e.type||t.type===e.type;if(r&&n||!r&&!n)return!1;var l=e.expressions.every(function(e){var n=e.feature,r=e.modifier,l=e.value,u=t[n];if(!u)return!1;switch(n){case"orientation":case"scan":return u.toLowerCase()===l.toLowerCase();case"width":case"height":case"device-width":case"device-height":l=i(l),u=i(u);break;case"resolution":l=a(l),u=a(u);break;case"aspect-ratio":case"device-aspect-ratio":case"device-pixel-ratio":l=o(l),u=o(u);break;case"grid":case"color":case"color-index":case"monochrome":l=parseInt(l,10)||1,u=parseInt(u,10)||0}switch(r){case"min":return u>=l;case"max":return u<=l;default:return u===l}});return l&&!n||!l&&n})},t.parse=r;var l=/(?:(only|not)?\s*([^\s\(\)]+)(?:\s*and)?\s*)?(.+)?/i,u=/\(\s*([^\s\:\)]+)\s*(?:\:\s*([^\s\)]+))?\s*\)/,s=/^(?:(min|max)-)?(.+)/,c=/(em|rem|px|cm|mm|in|pt|pc)?$/,f=/(dpi|dpcm|dppx)?$/},function(e,t,n){function r(e,t){if(e===t)return!0;if(!e||!t)return!1;var n=Object.keys(e),r=Object.keys(t),o=n.length;if(r.length!==o)return!1;for(var a=0;a<o;a++){var i=n[a];if(e[i]!==t[i]||!Object.prototype.hasOwnProperty.call(t,i))return!1}return!0}function o(e,t){if(e===t)return!0;if(!e||!t)return!1;var n=e.length;if(t.length!==n)return!1;for(var r=0;r<n;r++)if(e[r]!==t[r])return!1;return!0}Object.defineProperty(t,"__esModule",{value:!0}),n.d(t,"shallowEqualArrays",function(){return o}),n.d(t,"shallowEqualObjects",function(){return r})},function(e,t,n){var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},o=this&&this.__rest||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 o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=a(n(13)),l=i.default.oneOfType([i.default.string,i.default.number]),u={all:i.default.bool,grid:i.default.bool,aural:i.default.bool,braille:i.default.bool,handheld:i.default.bool,print:i.default.bool,projection:i.default.bool,screen:i.default.bool,tty:i.default.bool,tv:i.default.bool,embossed:i.default.bool},s={orientation:i.default.oneOf(["portrait","landscape"]),scan:i.default.oneOf(["progressive","interlace"]),aspectRatio:i.default.string,deviceAspectRatio:i.default.string,height:l,deviceHeight:l,width:l,deviceWidth:l,color:i.default.bool,colorIndex:i.default.bool,monochrome:i.default.bool,resolution:l,type:Object.keys(u)},c=o(s,["type"]),f=r({minAspectRatio:i.default.string,maxAspectRatio:i.default.string,minDeviceAspectRatio:i.default.string,maxDeviceAspectRatio:i.default.string,minHeight:l,maxHeight:l,minDeviceHeight:l,maxDeviceHeight:l,minWidth:l,maxWidth:l,minDeviceWidth:l,maxDeviceWidth:l,minColor:i.default.number,maxColor:i.default.number,minColorIndex:i.default.number,maxColorIndex:i.default.number,minMonochrome:i.default.number,maxMonochrome:i.default.number,minResolution:l,maxResolution:l},c),d=r(r({},u),f);t.default={all:d,types:u,matchers:s,features:f}},function(e,t,n){var r=n(4);e.exports=n(15)(r.isElement,!0)},function(e,t,n){!function(){function e(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case o:var n=e.type;switch(n){case f:case d:case i:case u:case l:case m:return n;default:var r=n&&n.$$typeof;switch(r){case c:case p:case g:case y:case s:return r;default:return t}}case a:return t}}}function n(t){return e(t)===d}var r="function"==typeof Symbol&&Symbol.for,o=r?Symbol.for("react.element"):60103,a=r?Symbol.for("react.portal"):60106,i=r?Symbol.for("react.fragment"):60107,l=r?Symbol.for("react.strict_mode"):60108,u=r?Symbol.for("react.profiler"):60114,s=r?Symbol.for("react.provider"):60109,c=r?Symbol.for("react.context"):60110,f=r?Symbol.for("react.async_mode"):60111,d=r?Symbol.for("react.concurrent_mode"):60111,p=r?Symbol.for("react.forward_ref"):60112,m=r?Symbol.for("react.suspense"):60113,h=r?Symbol.for("react.suspense_list"):60120,y=r?Symbol.for("react.memo"):60115,g=r?Symbol.for("react.lazy"):60116,v=r?Symbol.for("react.block"):60121,b=r?Symbol.for("react.fundamental"):60117,E=r?Symbol.for("react.responder"):60118,w=r?Symbol.for("react.scope"):60119,_=d,S=c,C=s,O=o,k=p,T=i,P=g,N=y,x=a,A=u,L=l,R=m,I=!1;t.AsyncMode=f,t.ConcurrentMode=_,t.ContextConsumer=S,t.ContextProvider=C,t.Element=O,t.ForwardRef=k,t.Fragment=T,t.Lazy=P,t.Memo=N,t.Portal=x,t.Profiler=A,t.StrictMode=L,t.Suspense=R,t.isAsyncMode=function(t){return I||(I=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),n(t)||e(t)===f},t.isConcurrentMode=n,t.isContextConsumer=function(t){return e(t)===c},t.isContextProvider=function(t){return e(t)===s},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===o},t.isForwardRef=function(t){return e(t)===p},t.isFragment=function(t){return e(t)===i},t.isLazy=function(t){return e(t)===g},t.isMemo=function(t){return e(t)===y},t.isPortal=function(t){return e(t)===a},t.isProfiler=function(t){return e(t)===u},t.isStrictMode=function(t){return e(t)===l},t.isSuspense=function(t){return e(t)===m},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===d||e===u||e===l||e===m||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===y||e.$$typeof===s||e.$$typeof===c||e.$$typeof===p||e.$$typeof===b||e.$$typeof===E||e.$$typeof===w||e.$$typeof===v)},t.typeOf=e}()},function(e,t,n){function r(){return null}var o,a=n(4),i=n(16),l=n(5),u=n(6),s=n(17);o=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}},e.exports=function(e,t){function n(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function c(e,t){this.message=e,this.data=t&&"object"==typeof t?t:{},this.stack=""}function f(e){function n(n,i,u,s,f,d,p){if(s=s||E,d=d||u,p!==l){if(t){var m=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 m.name="Invariant Violation",m}if("undefined"!=typeof console){var h=s+":"+u;!r[h]&&a<3&&(o("You are manually calling a React.PropTypes validation function for the `"+d+"` prop on `"+s+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),r[h]=!0,a++)}}return null==i[u]?n?new c(null===i[u]?"The "+f+" `"+d+"` is marked as required in `"+s+"`, but its value is `null`.":"The "+f+" `"+d+"` is marked as required in `"+s+"`, but its value is `undefined`."):null:e(i,u,s,f,d)}var r={},a=0,i=n.bind(null,!1);return i.isRequired=n.bind(null,!0),i}function d(e){return f(function(t,n,r,o,a,i){var l=t[n];return h(l)!==e?new c("Invalid "+o+" `"+a+"` of type `"+y(l)+"` supplied to `"+r+"`, expected `"+e+"`.",{expectedType:e}):null})}function p(e,t,n,r,o){return new c((e||"React class")+": "+t+" type `"+n+"."+r+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+o+"`.")}function m(t){switch(typeof t){case"number":case"string":case"undefined":return!0;case"boolean":return!t;case"object":if(Array.isArray(t))return t.every(m);if(null===t||e(t))return!0;var n=function(e){var t=e&&(v&&e[v]||e[b]);if("function"==typeof t)return t}(t);if(!n)return!1;var r,o=n.call(t);if(n!==t.entries){for(;!(r=o.next()).done;)if(!m(r.value))return!1}else for(;!(r=o.next()).done;){var a=r.value;if(a&&!m(a[1]))return!1}return!0;default:return!1}}function h(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,t){return"symbol"===e||!!t&&("Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}(t,e)?"symbol":t}function y(e){if(null==e)return""+e;var t=h(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function g(e){var t=y(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}var v="function"==typeof Symbol&&Symbol.iterator,b="@@iterator",E="<<anonymous>>",w={array:d("array"),bigint:d("bigint"),bool:d("boolean"),func:d("function"),number:d("number"),object:d("object"),string:d("string"),symbol:d("symbol"),any:f(r),arrayOf:function(e){return f(function(t,n,r,o,a){if("function"!=typeof e)return new c("Property `"+a+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var i=t[n];if(!Array.isArray(i))return new c("Invalid "+o+" `"+a+"` of type `"+h(i)+"` supplied to `"+r+"`, expected an array.");for(var u=0;u<i.length;u++){var s=e(i,u,r,o,a+"["+u+"]",l);if(s instanceof Error)return s}return null})},element:f(function(t,n,r,o,a){var i=t[n];return e(i)?null:new c("Invalid "+o+" `"+a+"` of type `"+h(i)+"` supplied to `"+r+"`, expected a single ReactElement.")}),elementType:f(function(e,t,n,r,o){var i=e[t];return a.isValidElementType(i)?null:new c("Invalid "+r+" `"+o+"` of type `"+h(i)+"` supplied to `"+n+"`, expected a single ReactElement type.")}),instanceOf:function(e){return f(function(t,n,r,o,a){var i;return t[n]instanceof e?null:new c("Invalid "+o+" `"+a+"` of type `"+((i=t[n]).constructor&&i.constructor.name?i.constructor.name:E)+"` supplied to `"+r+"`, expected instance of `"+(e.name||E)+"`.")})},node:f(function(e,t,n,r,o){return m(e[t])?null:new c("Invalid "+r+" `"+o+"` supplied to `"+n+"`, expected a ReactNode.")}),objectOf:function(e){return f(function(t,n,r,o,a){if("function"!=typeof e)return new c("Property `"+a+"` of component `"+r+"` has invalid PropType notation inside objectOf.");var i=t[n],s=h(i);if("object"!==s)return new c("Invalid "+o+" `"+a+"` of type `"+s+"` supplied to `"+r+"`, expected an object.");for(var f in i)if(u(i,f)){var d=e(i,f,r,o,a+"."+f,l);if(d instanceof Error)return d}return null})},oneOf:function(e){function t(t,r,o,a,i){for(var l=t[r],u=0;u<e.length;u++)if(n(l,e[u]))return null;var s=JSON.stringify(e,function(e,t){return"symbol"===y(t)?String(t):t});return new c("Invalid "+a+" `"+i+"` of value `"+String(l)+"` supplied to `"+o+"`, expected one of "+s+".")}return Array.isArray(e)?f(t):(o(arguments.length>1?"Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).":"Invalid argument supplied to oneOf, expected an array."),r)},oneOfType:function(e){if(!Array.isArray(e))return o("Invalid argument supplied to oneOfType, expected an instance of array."),r;for(var t=0;t<e.length;t++){var n=e[t];if("function"!=typeof n)return o("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+g(n)+" at index "+t+"."),r}return f(function(t,n,r,o,a){for(var i=[],s=0;s<e.length;s++){var f=(0,e[s])(t,n,r,o,a,l);if(null==f)return null;f.data&&u(f.data,"expectedType")&&i.push(f.data.expectedType)}return new c("Invalid "+o+" `"+a+"` supplied to `"+r+"`"+(i.length>0?", expected one of type ["+i.join(", ")+"]":"")+".")})},shape:function(e){return f(function(t,n,r,o,a){var i=t[n],u=h(i);if("object"!==u)return new c("Invalid "+o+" `"+a+"` of type `"+u+"` supplied to `"+r+"`, expected `object`.");for(var s in e){var f=e[s];if("function"!=typeof f)return p(r,o,a,s,y(f));var d=f(i,s,r,o,a+"."+s,l);if(d)return d}return null})},exact:function(e){return f(function(t,n,r,o,a){var s=t[n],f=h(s);if("object"!==f)return new c("Invalid "+o+" `"+a+"` of type `"+f+"` supplied to `"+r+"`, expected `object`.");var d=i({},t[n],e);for(var m in d){var g=e[m];if(u(e,m)&&"function"!=typeof g)return p(r,o,a,m,y(g));if(!g)return new c("Invalid "+o+" `"+a+"` key `"+m+"` supplied to `"+r+"`.\nBad object: "+JSON.stringify(t[n],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var v=g(s,m,r,o,a+"."+m,l);if(v)return v}return null})}};return c.prototype=Error.prototype,w.checkPropTypes=s,w.resetWarningCache=s.resetWarningCache,w.PropTypes=w,w}},function(e,t,n){function r(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}var o=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,i=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,t){for(var n,l,u=r(e),s=1;s<arguments.length;s++){for(var c in n=Object(arguments[s]))a.call(n,c)&&(u[c]=n[c]);if(o){l=o(n);for(var f=0;f<l.length;f++)i.call(n,l[f])&&(u[l[f]]=n[l[f]])}}return u}},function(e,t,n){function r(e,t,n,r,u){for(var s in e)if(l(e,s)){var c;try{if("function"!=typeof e[s]){var f=Error((r||"React class")+": "+n+" type `"+s+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[s]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw f.name="Invariant Violation",f}c=e[s](t,s,r,n,null,a)}catch(e){c=e}if(!c||c instanceof Error||o((r||"React class")+": type specification of "+n+" `"+s+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof c+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),c instanceof Error&&!(c.message in i)){i[c.message]=!0;var d=u?u():"";o("Failed "+n+" type: "+c.message+(null!=d?d:""))}}}var o=function(){},a=n(5),i={},l=n(6);o=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}},r.resetWarningCache=function(){i={}},e.exports=r},function(e,t,n){var r=this&&this.__rest||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 o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var a=o(n(0));t.default=function(e){var t=e.children,n=e.device,o=e.onChange,i=r(e,["children","device","onChange"]),l=(0,a.default)(i,n,o);return"function"==typeof t?t(l):l?t:null}}]))});function Th(e,t){if(t.length<e)throw new TypeError(e+" argument"+(e>1?"s":"")+" required, but only "+t.length+" present")}function Ph(e){Th(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||"object"==typeof e&&"[object Date]"===t?new Date(e.getTime()):"number"==typeof e||"[object Number]"===t?new Date(e):("string"!=typeof e&&"[object String]"!==t||"undefined"==typeof console||(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://git.io/fjule"),console.warn((new Error).stack)),new Date(NaN))}function Nh(e){Th(1,arguments);var t=Ph(e);return t.setHours(0,0,0,0),t}function xh(e,t){Th(2,arguments);var n=Nh(e),r=Nh(t);return n.getTime()===r.getTime()}function Ah(e){return Th(1,arguments),1e3*e}var Lh=function(e){var t=e.installments_count,n=e.deferred_days+30*e.deferred_months;return 1===t?$t.createElement(Qo,{id:"payment-plan-strings.day-abbreviation",defaultMessage:"J{numberOfDeferredDays}",values:{numberOfDeferredDays:n>0?"+"+n:""}}):t+"x"},Rh=function(e){var t=e.currentPlanIndex,n=e.setCurrentPlanIndex;return $t.createElement("div",{className:"_1l2Oa"},e.eligibilityPlans.map(function(e,r){var o;return $t.createElement("button",{key:r,className:rh((o={},o._3rue7=r===t,o)),onClick:function(){return n(r)}},Lh(e))}))},Ih=function(e){var t=e.currentPlan,n=t&&Ut(t.purchase_amount+t.customer_total_cost_amount),r=t?Ut(t.customer_total_cost_amount):0,o=(null==t?void 0:t.annual_interest_rate)&&t.annual_interest_rate/1e4,a=Ut(t?t.customer_total_cost_amount:0),i=t&&t.installments_count>4,l=zo();return $t.createElement("div",{className:"_MPKjS","data-testid":"modal-installments-element"},$t.createElement("div",{className:rh("_1A7Qv","_14Ejo")},$t.createElement("span",null,$t.createElement(Qo,{id:"eligibility-modal.total",defaultMessage:"Total"})),$t.createElement("span",null,$t.createElement(Ko,{value:n,style:"currency",currency:"EUR"}))),$t.createElement("div",{className:rh("_1A7Qv","_1ZIgu")},$t.createElement("span",null,$t.createElement(Qo,i?{id:"eligibility-modal.credit-cost",defaultMessage:"Dont coût du crédit"}:{id:"eligibility-modal.cost",defaultMessage:"Dont frais"})),$t.createElement("span",null,i?$t.createElement(Qo,{id:"eligibility-modal.credit-cost-amount",defaultMessage:"{creditCost} (TAEG {TAEG})",values:{creditCost:l.formatNumber(r,{style:"currency",currency:"EUR"}),TAEG:l.formatNumber(null!=o?o:0,{style:"percent",maximumFractionDigits:2})}}):$t.createElement(Ko,{value:a,style:"currency",currency:"EUR"}))),((null==t?void 0:t.payment_plan)||[]).map(function(e,t){return $t.createElement("div",{className:"_1A7Qv",key:t},$t.createElement("span",null,function(e){return Th(1,arguments),xh(e,Date.now())}(1e3*e.due_date)?$t.createElement(Qo,{id:"installments.today",defaultMessage:"Aujourd'hui"}):$t.createElement(Xo,{value:1e3*e.due_date,day:"numeric",month:"long",year:"numeric"})),$t.createElement("span",null,$t.createElement(Ko,{value:Ut(e.total_amount),style:"currency",currency:"EUR"})))}),i&&$t.createElement("p",{className:"_1BUr8"},$t.createElement(Qo,{id:"eligibility-modal.credit-commitment",defaultMessage:"Un crédit vous engage et doit être remboursé. Vérifiez vos capacités de remboursement\n avant de vous engager."})))},Mh=function(){return $t.createElement("div",{className:"_180ro","data-testid":"modal-info-element"},$t.createElement("div",{className:"_1HqCO"},$t.createElement("div",{className:"_3B8wx"},"1"),$t.createElement("div",null,$t.createElement(Qo,{id:"eligibility-modal.bullet-1",defaultMessage:"Choisissez <strong>Alma</strong> au moment du paiement.",values:{strong:function(){return $t.createElement("strong",null,[].slice.call(arguments))}}}))),$t.createElement("div",{className:"_1HqCO"},$t.createElement("div",{className:"_3B8wx"},"2"),$t.createElement("div",null,$t.createElement(Qo,{id:"eligibility-modal.bullet-2",defaultMessage:"Renseignez les <strong>informations</strong> demandées.",values:{strong:function(){return $t.createElement("strong",null,[].slice.call(arguments))}}}))),$t.createElement("div",{className:"_1HqCO"},$t.createElement("div",{className:"_3B8wx"},"3"),$t.createElement("div",null,$t.createElement(Qo,{id:"eligibility-modal.bullet-3",defaultMessage:"La validation de votre paiement <strong>instantanée</strong> !",values:{strong:function(){return $t.createElement("strong",null,[].slice.call(arguments))}}}))))};function Dh(e){var t=e.color,n=void 0===t?"#00425D":t,r=e.underlineColor,o=void 0===r?"#00425D":r;return $t.createElement("svg",{className:e.className,width:"35",height:"23",viewBox:"0 0 40 23",fill:"none",xmlns:"http://www.w3.org/2000/svg"},$t.createElement("path",{d:"M6.38546 10.1313V10.029H4.92542C4.23835 10.029 3.72877 10.0972 3.39668 10.2337C3.07605 10.3587 2.91573 10.6374 2.91573 11.0695C2.91573 11.7177 3.37378 12.0418 4.28988 12.0418C5.05711 12.0418 5.59532 11.8826 5.9045 11.5642C6.22514 11.2344 6.38546 10.7568 6.38546 10.1313ZM3.72304 13.9182C2.64663 13.9182 1.85076 13.6567 1.33546 13.1335C0.820153 12.599 0.5625 11.911 0.5625 11.0695C0.5625 10.0574 0.894586 9.32958 1.55876 8.88606C2.22293 8.43118 3.23636 8.20374 4.59906 8.20374H6.38546V7.82846C6.38546 6.98693 5.84725 6.56616 4.77083 6.56616C3.80893 6.56616 3.27644 6.93007 3.17338 7.65788H0.768622C0.848781 6.78223 1.21522 6.04873 1.86794 5.45738C2.52066 4.86603 3.50547 4.57036 4.82236 4.57036C6.1278 4.57036 7.11261 4.86035 7.77678 5.44032C8.44095 6.0203 8.77304 6.83909 8.77304 7.89669V13.7135H6.60875V12.7241C6.09345 13.5202 5.13155 13.9182 3.72304 13.9182Z",fill:n}),$t.createElement("path",{d:"M14.2554 11.6324V13.6965C14.0149 13.7306 13.763 13.7476 13.4996 13.7476C12.5492 13.7476 11.8736 13.5486 11.4728 13.1506C11.072 12.7412 10.8716 12.0873 10.8716 11.1889V0.919922H13.3107V11.0183C13.3107 11.2344 13.3508 11.3936 13.4309 11.496C13.5111 11.5983 13.6771 11.6495 13.929 11.6495C13.9863 11.6495 14.0493 11.6495 14.118 11.6495C14.1982 11.6381 14.244 11.6324 14.2554 11.6324Z",fill:n}),$t.createElement("path",{d:"M23.8943 8.63019V13.7135H21.4552V8.40844C21.4552 7.23711 20.9742 6.65145 20.0123 6.65145C19.4512 6.65145 19.0161 6.82203 18.7069 7.16319C18.4092 7.50436 18.2603 7.9763 18.2603 8.57902V13.7135H15.8212V4.77506H18.0714V5.86678C18.5409 5.0025 19.4054 4.57036 20.6651 4.57036C21.856 4.57036 22.7263 4.99113 23.2759 5.83266C24.0432 4.99113 25.0394 4.57036 26.2647 4.57036C27.3182 4.57036 28.1255 4.89446 28.6867 5.54267C29.2478 6.19088 29.5283 7.05516 29.5283 8.13551V13.7135H27.0892V8.40844C27.0892 7.23711 26.6083 6.65145 25.6464 6.65145C25.0738 6.65145 24.6386 6.82772 24.3409 7.18025C24.0432 7.52141 23.8943 8.00473 23.8943 8.63019Z",fill:n}),$t.createElement("path",{d:"M37.0321 10.1313V10.029H35.572C34.885 10.029 34.3754 10.0972 34.0433 10.2337C33.7227 10.3587 33.5623 10.6374 33.5623 11.0695C33.5623 11.7177 34.0204 12.0418 34.9365 12.0418C35.7037 12.0418 36.2419 11.8826 36.5511 11.5642C36.8717 11.2344 37.0321 10.7568 37.0321 10.1313ZM34.3696 13.9182C33.2932 13.9182 32.4974 13.6567 31.9821 13.1335C31.4668 12.599 31.2091 11.911 31.2091 11.0695C31.2091 10.0574 31.5412 9.32958 32.2054 8.88606C32.8695 8.43118 33.883 8.20374 35.2457 8.20374H37.0321V7.82846C37.0321 6.98693 36.4939 6.56616 35.4174 6.56616C34.4555 6.56616 33.923 6.93007 33.82 7.65788H31.4152C31.4954 6.78223 31.8618 6.04873 32.5145 5.45738C33.1673 4.86603 34.1521 4.57036 35.469 4.57036C36.7744 4.57036 37.7592 4.86035 38.4234 5.44032C39.0876 6.0203 39.4196 6.83909 39.4196 7.89669V13.7135H37.2554V12.7241C36.7401 13.5202 35.7781 13.9182 34.3696 13.9182Z",fill:n}),$t.createElement("rect",{y:"20",width:"40",height:"3",fill:o}))}var Fh,jh,Uh,zh=function(){return $t.createElement("div",{className:"_3Oyv_"},$t.createElement(Dh,{underlineColor:"#FF414D"}))},Vh=function(){return $t.createElement("div",{className:"_3ERx-","data-testid":"modal-title-element"},$t.createElement(Qo,{id:"eligibility-modal.title",defaultMessage:"<highlighted>Payez en plusieurs fois</highlighted> ou plus tard par carte bancaire avec Alma.",values:{highlighted:function(){return $t.createElement("span",null,[].slice.call(arguments))}}}))},Gh=function(e){var t=e.children;return $t.createElement("div",{className:"_21g6u","data-testid":"modal-container"},$t.createElement("div",{className:rh(["_3zaP5","_2SBRC"])},$t.createElement(Vh,null),$t.createElement(Mh,null),$t.createElement(zh,null)),$t.createElement("div",{className:"_3zaP5"},t))},Wh=function(e){var t=e.children;return $t.createElement("div",{className:"_2G7Ch","data-testid":"modal-container"},$t.createElement(Vh,null),t,$t.createElement(Mh,null),$t.createElement(zh,null))},Bh=function(e){var t=e.onClose,n=e.eligibilityPlans,r=e.status,o=$t.useState(e.initialPlanIndex||0),a=o[0],i=o[1],l=kh.useMediaQuery({minWidth:800})?Gh:Wh,u=n.filter(function(e){return e.eligible}),s=u[a];return $t.createElement(Oh,{onClose:t,ariaHideApp:!1,scrollable:!0,isOpen:!0},$t.createElement(l,Object.assign({},{eligibilityPlans:u,currentPlanIndex:a,setCurrentPlanIndex:i,currentPlan:s,status:r}),r===Mt.PENDING&&$t.createElement("div",{className:"_2oTJq"},$t.createElement(oh,null)),r===Mt.SUCCESS&&0===u.length&&$t.createElement("div",{className:"_17qNJ"},$t.createElement(Qo,{id:"eligibility-modal.no-eligibility",defaultMessage:"Oups, il semblerait que la simulation n'aie pas fonctionné."})),r===Mt.SUCCESS&&u.length>=1&&$t.createElement($t.Fragment,null,$t.createElement(Rh,{eligibilityPlans:u,currentPlanIndex:a,setCurrentPlanIndex:i}),$t.createElement(Ih,{currentPlan:s}))))},Hh=function(e){var t=e.onClose,n=nh(e.purchaseAmount,e.apiData,e.configPlans);return $t.createElement(Bh,{initialPlanIndex:0,onClose:t,eligibilityPlans:n[0],status:n[1]})},$h=function(e){return $t.createElement("div",{className:rh("_2SwwZ",e.className),"data-testid":"loader"},$t.createElement("div",{className:"_2qODo"}),$t.createElement("div",{className:"_2YO01"}))},qh=function(e){var t,n,r,o,a=e.transitionDelay,i=e.hideIfNotEligible,l=e.suggestedPaymentPlan,u=nh(e.purchaseAmount,e.apiData,e.configPlans),s=u[0],c=u[1],f=s.filter(function(e){return e.eligible}),d=function(e){var t=e.suggestedPaymentPlan,n=e.eligibilityPlans,r=Array.isArray(t)?t:[t],o=function(e){var t=r[e],o=n.findIndex(function(e){return e.installments_count===t&&e.eligible});if(-1!==o)return{v:o}};for(var a in r){var i=o(a);if("object"==typeof i)return i.v}return 0}({eligibilityPlans:s,suggestedPaymentPlan:null!=l?l:0}),p=void 0!==l,m=void 0!==a,h=$t.useState(!1),y=h[0],g=h[1],v=s.reduce(function(e,t,n){return t.eligible?[].concat(e,[n]):e},[]),b=function(e,t){var n=$t.useState(0),r=n[0],o=n[1],a=$t.useState(!0),i=a[0],l=a[1];return $t.useEffect(function(){var n=!0;return 0!==e.length&&(!e.includes(r)&&i&&o(e[0]),setTimeout(function(){i&&n&&o(e[e.includes(r)?(e.indexOf(r)+1)%e.length:0])},t)),function(){n=!1}},[e,r]),{current:r,onHover:function(e){o(e),l(!1)},onLeave:function(){l(!0)}}}(v,m?null!=a?a:5500:p?31536e6:5500),E=b.current,w=b.onHover,_=b.onLeave;return $t.useEffect(function(){c===Mt.SUCCESS&&p&&(w(d),_())},[c]),c===Mt.PENDING?$t.createElement("div",{className:rh("_TSkFv","_1ZDMS")},$t.createElement($h,null)):i&&0===f.length||0===s.length||c===Mt.FAILED?null:$t.createElement($t.Fragment,null,$t.createElement("div",{onClick:function(e){e.preventDefault(),f.length>0&&g(!0)},className:rh("_TSkFv",(t={},t._UksZa=f.length>0,t["_1lr-q"]=0===f.length,t)),"data-testid":"widget-button"},$t.createElement("div",{className:"_bMClc"},$t.createElement(Dh,{className:"_LJ4nZ"}),$t.createElement("div",{className:"_17c_S"},s.map(function(e,t){var n;return $t.createElement("div",{key:t,onMouseEnter:function(){return w(t)},onMouseOut:_,className:rh("_2Kqjn",(n={},n._3dG_J=E===t,n._3O1bg=!e.eligible,n))},Lh(e))}))),$t.createElement("div",{className:rh("_25GrF",(n={},n._3O1bg=s[E]&&!s[E].eligible,n))},0!==s.length&&function(e){var t=e.installments_count,n=e.minAmount,r=void 0===n?0:n,o=e.maxAmount,a=void 0===o?0:o,i=e.deferred_days+30*e.deferred_months,l=function(){if(e.payment_plan.every(function(e){return 0===e.customer_fee&&0===e.customer_interest}))return $t.createElement($t.Fragment,null," ",$t.createElement(Qo,{id:"payment-plan-strings.no-fee",defaultMessage:"(sans frais)"}))};if(!e.eligible)return $t.createElement(Qo,e.purchase_amount>a?{id:"payment-plan-strings.ineligible-greater-than-max",defaultMessage:"Jusqu'à {maxAmount}",values:{maxAmount:$t.createElement(Ko,{value:Ut(a),style:"currency",currency:"EUR"})}}:{id:"payment-plan-strings.ineligible-lower-than-min",defaultMessage:"À partir de {minAmount}",values:{minAmount:$t.createElement(Ko,{value:Ut(r),style:"currency",currency:"EUR"})}});if(0!==i&&1===t)return $t.createElement($t.Fragment,null,$t.createElement(Qo,{id:"payment-plan-strings.deferred",defaultMessage:"{totalAmount} à payer le {dueDate}",values:{totalAmount:$t.createElement(Ko,{value:Ut(e.payment_plan[0].total_amount),style:"currency",currency:"EUR"}),dueDate:$t.createElement(Xo,{value:Ah(e.payment_plan[0].due_date),day:"numeric",month:"long",year:"numeric"})}}),l());if(t>0){var u=e.payment_plan.every(function(t,n){return 0===n||t.total_amount===e.payment_plan[0].total_amount});return $t.createElement($t.Fragment,null,$t.createElement(Qo,u?{id:"payment-plan-strings.multiple-installments-same-amount",defaultMessage:"{installmentsCount} x {totalAmount}",values:{totalAmount:$t.createElement(Ko,{value:Ut(e.payment_plan[0].total_amount),style:"currency",currency:"EUR"}),installmentsCount:t}}:{id:"payment-plan-strings.multiple-installments",defaultMessage:"{numberOfRemainingInstallments, plural, one {{firstInstallmentAmount} puis {numberOfRemainingInstallments} x {othersInstallmentAmount}} other {{firstInstallmentAmount} puis {numberOfRemainingInstallments} x {othersInstallmentAmount}}}",values:{firstInstallmentAmount:$t.createElement(Ko,{value:Ut(e.payment_plan[0].total_amount),style:"currency",currency:"EUR"}),numberOfRemainingInstallments:t-1,othersInstallmentAmount:$t.createElement(Ko,{value:Ut(e.payment_plan[1].total_amount),style:"currency",currency:"EUR"})}}),l())}return $t.createElement(Qo,{id:"payment-plan-strings.default-message",defaultMessage:"Payez en plusieurs fois avec Alma"})}(s[E]))),y&&$t.createElement(Bh,{initialPlanIndex:(r=E,o=v.findIndex(function(e){return e===r}),-1===o?0:o),onClose:function(){return g(!1)},eligibilityPlans:f,status:c}))},Qh=function(){function e(e){this.apiData=e}return e.prototype.add=function(e,t){var n=this,r=document.querySelector(t.container);if(r&&eh.unmountComponentAtNode(r),e===It.PaymentPlans){var o=t.container,a=t.locale;r&&eh.render($t.createElement(oa,{locale:void 0===a?Dt.en:a},$t.createElement(qh,{purchaseAmount:t.purchaseAmount,apiData:this.apiData,configPlans:t.plans,transitionDelay:t.transitionDelay,hideIfNotEligible:t.hideIfNotEligible,suggestedPaymentPlan:t.suggestedPaymentPlan})),document.querySelector(o))}if(e===It.Modal){var i,l=t.container,u=t.clickableSelector,s=t.purchaseAmount,c=t.plans,f=t.locale,d=void 0===f?Dt.en:f,p=function(){return r&&eh.unmountComponentAtNode(r)},m=function(){eh.render($t.createElement(oa,{locale:d},$t.createElement(Hh,{purchaseAmount:s,apiData:n.apiData,configPlans:c,onClose:p})),document.querySelector(l))};return u&&(null==(i=document.querySelector(u))||i.addEventListener("click",m,!1)),{open:m,close:p}}},e}();(Fh=e.ApiMode||(e.ApiMode={})).LIVE="https://api.getalma.eu",Fh.TEST="https://api.sandbox.getalma.eu",(jh=e.Widgets||(e.Widgets={})).initialize=function(e,t){return new Qh({domain:t,merchantId:e})},jh.PaymentPlans=It.PaymentPlans,jh.Modal=It.Modal,(Uh=e.Utils||(e.Utils={})).priceToCents=function(e){return Math.round(100*e)},Uh.priceFromCents=Ut,Uh.formatCents=function(e){return String(Ut(e)).replace(".",",")}});
|
|
2
2
|
//# sourceMappingURL=widgets.umd.js.map
|