@roqua/quby-frontend 0.10.7 → 0.10.8

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.
Files changed (50) hide show
  1. package/dist/components/AnswerPage.d.ts +5 -2
  2. package/dist/components/MainLabel.d.ts +3 -2
  3. package/dist/components/Paginator.d.ts +6 -3
  4. package/dist/components/PanelContent.d.ts +3 -2
  5. package/dist/components/PanelItem.d.ts +3 -2
  6. package/dist/components/ProgressBar.d.ts +2 -1
  7. package/dist/components/Quby.d.ts +5 -2
  8. package/dist/components/QuestionDescription.d.ts +2 -1
  9. package/dist/components/QuestionWrapper.d.ts +3 -2
  10. package/dist/components/SubQuestions.d.ts +3 -2
  11. package/dist/components/ValidationErrors.d.ts +3 -2
  12. package/dist/components/index.d.ts +2 -2
  13. package/dist/components/items/HtmlItem.d.ts +3 -2
  14. package/dist/components/items/InfoItem.d.ts +3 -2
  15. package/dist/components/items/QuestionItem.d.ts +2 -1
  16. package/dist/components/items/UnknownItem.d.ts +3 -2
  17. package/dist/components/questions/CheckBoxQuestion.d.ts +3 -2
  18. package/dist/components/questions/CountrySelectQuestion.d.ts +3 -2
  19. package/dist/components/questions/DatePartsQuestion.d.ts +3 -2
  20. package/dist/components/questions/FloatQuestion.d.ts +3 -2
  21. package/dist/components/questions/IntegerQuestion.d.ts +3 -2
  22. package/dist/components/questions/OldSliderQuestion.d.ts +3 -2
  23. package/dist/components/questions/RadioQuestion.d.ts +3 -2
  24. package/dist/components/questions/ScaleQuestion.d.ts +3 -2
  25. package/dist/components/questions/SelectQuestion.d.ts +3 -2
  26. package/dist/components/questions/SliderQuestion.d.ts +3 -2
  27. package/dist/components/questions/SplitToUnitsQuestion.d.ts +3 -2
  28. package/dist/components/questions/StringQuestion.d.ts +3 -2
  29. package/dist/components/questions/TextareaQuestion.d.ts +3 -2
  30. package/dist/core/calculations.d.ts +8 -4
  31. package/dist/core/curlies_interpolator.d.ts +3 -2
  32. package/dist/core/index.d.ts +7 -7
  33. package/dist/core/panel_logic.d.ts +3 -2
  34. package/dist/core/quby_context.d.ts +3 -2
  35. package/dist/core/questionnaire.d.ts +3 -2
  36. package/dist/core/questionnaire_json.d.ts +16 -2
  37. package/dist/core/response.d.ts +5 -4
  38. package/dist/core/response_json.d.ts +3 -2
  39. package/dist/core/validators.d.ts +3 -2
  40. package/dist/core/visibility_rules.d.ts +3 -2
  41. package/dist/i18n.d.ts +2 -1
  42. package/dist/index.d.ts +3 -2
  43. package/dist/logic/index.d.ts +3 -3
  44. package/dist/logic/map_css_vars.d.ts +1 -0
  45. package/dist/logic/use_might_become_valid.d.ts +2 -1
  46. package/dist/logic/use_question_shortkeys.d.ts +3 -2
  47. package/dist/quby-frontend.es.js +9778 -9591
  48. package/dist/quby-frontend.umd.js +79 -79
  49. package/dist/stories/_helpers.d.ts +4 -4
  50. package/package.json +9 -1
@@ -1,4 +1,4 @@
1
- (function(gt,Me){typeof exports=="object"&&typeof module<"u"?Me(exports,require("react"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react","react-dom"],Me):(gt=typeof globalThis<"u"?globalThis:gt||self,Me(gt["@roqua/quby-frontend"]={},gt.React,gt.ReactDOM))})(this,function(gt,Me,El){"use strict";var N1=Object.defineProperty;var j1=(gt,Me,El)=>Me in gt?N1(gt,Me,{enumerable:!0,configurable:!0,writable:!0,value:El}):gt[Me]=El;var jt=(gt,Me,El)=>(j1(gt,typeof Me!="symbol"?Me+"":Me,El),El);function Fg(r){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(r){for(const n in r)if(n!=="default"){const a=Object.getOwnPropertyDescriptor(r,n);Object.defineProperty(e,n,a.get?a:{enumerable:!0,get:()=>r[n]})}}return e.default=r,Object.freeze(e)}const ec=Fg(Me),Pg={type:"logger",log(r){this.output("log",r)},warn(r){this.output("warn",r)},error(r){this.output("error",r)},output(r,e){console&&console[r]&&console[r].apply(console,e)}};class jc{constructor(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.init(e,n)}init(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.prefix=n.prefix||"i18next:",this.logger=e||Pg,this.options=n,this.debug=n.debug}log(){for(var e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];return this.forward(n,"log","",!0)}warn(){for(var e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];return this.forward(n,"warn","",!0)}error(){for(var e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];return this.forward(n,"error","")}deprecate(){for(var e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];return this.forward(n,"warn","WARNING DEPRECATED: ",!0)}forward(e,n,a,o){return o&&!this.debug?null:(typeof e[0]=="string"&&(e[0]=`${a}${this.prefix} ${e[0]}`),this.logger[n](e))}create(e){return new jc(this.logger,{prefix:`${this.prefix}:${e}:`,...this.options})}clone(e){return e=e||this.options,e.prefix=e.prefix||this.prefix,new jc(this.logger,e)}}var ao=new jc;class zc{constructor(){this.observers={}}on(e,n){return e.split(" ").forEach(a=>{this.observers[a]=this.observers[a]||[],this.observers[a].push(n)}),this}off(e,n){if(this.observers[e]){if(!n){delete this.observers[e];return}this.observers[e]=this.observers[e].filter(a=>a!==n)}}emit(e){for(var n=arguments.length,a=new Array(n>1?n-1:0),o=1;o<n;o++)a[o-1]=arguments[o];this.observers[e]&&[].concat(this.observers[e]).forEach(v=>{v(...a)}),this.observers["*"]&&[].concat(this.observers["*"]).forEach(v=>{v.apply(v,[e,...a])})}}function tc(){let r,e;const n=new Promise((a,o)=>{r=a,e=o});return n.resolve=r,n.reject=e,n}function Xf(r){return r==null?"":""+r}function Dg(r,e,n){r.forEach(a=>{e[a]&&(n[a]=e[a])})}function Dd(r,e,n){function a(v){return v&&v.indexOf("###")>-1?v.replace(/###/g,"."):v}function o(){return!r||typeof r=="string"}const d=typeof e!="string"?[].concat(e):e.split(".");for(;d.length>1;){if(o())return{};const v=a(d.shift());!r[v]&&n&&(r[v]=new n),Object.prototype.hasOwnProperty.call(r,v)?r=r[v]:r={}}return o()?{}:{obj:r,k:a(d.shift())}}function qf(r,e,n){const{obj:a,k:o}=Dd(r,e,Object);a[o]=n}function Lg(r,e,n,a){const{obj:o,k:d}=Dd(r,e,Object);o[d]=o[d]||[],a&&(o[d]=o[d].concat(n)),a||o[d].push(n)}function Uc(r,e){const{obj:n,k:a}=Dd(r,e);if(n)return n[a]}function Bg(r,e,n){const a=Uc(r,n);return a!==void 0?a:Uc(e,n)}function ep(r,e,n){for(const a in e)a!=="__proto__"&&a!=="constructor"&&(a in r?typeof r[a]=="string"||r[a]instanceof String||typeof e[a]=="string"||e[a]instanceof String?n&&(r[a]=e[a]):ep(r[a],e[a],n):r[a]=e[a]);return r}function wu(r){return r.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var Ng={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};function jg(r){return typeof r=="string"?r.replace(/[&<>"'\/]/g,e=>Ng[e]):r}const zg=[" ",",","?","!",";"];function Ug(r,e,n){e=e||"",n=n||"";const a=zg.filter(v=>e.indexOf(v)<0&&n.indexOf(v)<0);if(a.length===0)return!0;const o=new RegExp(`(${a.map(v=>v==="?"?"\\?":v).join("|")})`);let d=!o.test(r);if(!d){const v=r.indexOf(n);v>0&&!o.test(r.substring(0,v))&&(d=!0)}return d}function Vc(r,e){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:".";if(!r)return;if(r[e])return r[e];const a=e.split(n);let o=r;for(let d=0;d<a.length;++d){if(!o||typeof o[a[d]]=="string"&&d+1<a.length)return;if(o[a[d]]===void 0){let v=2,x=a.slice(d,d+v).join(n),w=o[x];for(;w===void 0&&a.length>d+v;)v++,x=a.slice(d,d+v).join(n),w=o[x];if(w===void 0)return;if(w===null)return null;if(e.endsWith(x)){if(typeof w=="string")return w;if(x&&typeof w[x]=="string")return w[x]}const E=a.slice(d+v).join(n);return E?Vc(w,E,n):void 0}o=o[a[d]]}return o}function Wc(r){return r&&r.indexOf("_")>0?r.replace("_","-"):r}class tp extends zc{constructor(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{ns:["translation"],defaultNS:"translation"};super(),this.data=e||{},this.options=n,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.options.ignoreJSONStructure===void 0&&(this.options.ignoreJSONStructure=!0)}addNamespaces(e){this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}removeNamespaces(e){const n=this.options.ns.indexOf(e);n>-1&&this.options.ns.splice(n,1)}getResource(e,n,a){let o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const d=o.keySeparator!==void 0?o.keySeparator:this.options.keySeparator,v=o.ignoreJSONStructure!==void 0?o.ignoreJSONStructure:this.options.ignoreJSONStructure;let x=[e,n];a&&typeof a!="string"&&(x=x.concat(a)),a&&typeof a=="string"&&(x=x.concat(d?a.split(d):a)),e.indexOf(".")>-1&&(x=e.split("."));const w=Uc(this.data,x);return w||!v||typeof a!="string"?w:Vc(this.data&&this.data[e]&&this.data[e][n],a,d)}addResource(e,n,a,o){let d=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{silent:!1};const v=d.keySeparator!==void 0?d.keySeparator:this.options.keySeparator;let x=[e,n];a&&(x=x.concat(v?a.split(v):a)),e.indexOf(".")>-1&&(x=e.split("."),o=n,n=x[1]),this.addNamespaces(n),qf(this.data,x,o),d.silent||this.emit("added",e,n,a,o)}addResources(e,n,a){let o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{silent:!1};for(const d in a)(typeof a[d]=="string"||Object.prototype.toString.apply(a[d])==="[object Array]")&&this.addResource(e,n,d,a[d],{silent:!0});o.silent||this.emit("added",e,n,a)}addResourceBundle(e,n,a,o,d){let v=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{silent:!1},x=[e,n];e.indexOf(".")>-1&&(x=e.split("."),o=a,a=n,n=x[1]),this.addNamespaces(n);let w=Uc(this.data,x)||{};o?ep(w,a,d):w={...w,...a},qf(this.data,x,w),v.silent||this.emit("added",e,n,a)}removeResourceBundle(e,n){this.hasResourceBundle(e,n)&&delete this.data[e][n],this.removeNamespaces(n),this.emit("removed",e,n)}hasResourceBundle(e,n){return this.getResource(e,n)!==void 0}getResourceBundle(e,n){return n||(n=this.options.defaultNS),this.options.compatibilityAPI==="v1"?{...this.getResource(e,n)}:this.getResource(e,n)}getDataByLanguage(e){return this.data[e]}hasLanguageSomeTranslations(e){const n=this.getDataByLanguage(e);return!!(n&&Object.keys(n)||[]).find(o=>n[o]&&Object.keys(n[o]).length>0)}toJSON(){return this.data}}var np={processors:{},addPostProcessor(r){this.processors[r.name]=r},handle(r,e,n,a,o){return r.forEach(d=>{this.processors[d]&&(e=this.processors[d].process(e,n,a,o))}),e}};const rp={};class Hc extends zc{constructor(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};super(),Dg(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],e,this),this.options=n,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.logger=ao.create("translator")}changeLanguage(e){e&&(this.language=e)}exists(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};if(e==null)return!1;const a=this.resolve(e,n);return a&&a.res!==void 0}extractFromKey(e,n){let a=n.nsSeparator!==void 0?n.nsSeparator:this.options.nsSeparator;a===void 0&&(a=":");const o=n.keySeparator!==void 0?n.keySeparator:this.options.keySeparator;let d=n.ns||this.options.defaultNS||[];const v=a&&e.indexOf(a)>-1,x=!this.options.userDefinedKeySeparator&&!n.keySeparator&&!this.options.userDefinedNsSeparator&&!n.nsSeparator&&!Ug(e,a,o);if(v&&!x){const w=e.match(this.interpolator.nestingRegexp);if(w&&w.length>0)return{key:e,namespaces:d};const E=e.split(a);(a!==o||a===o&&this.options.ns.indexOf(E[0])>-1)&&(d=E.shift()),e=E.join(o)}return typeof d=="string"&&(d=[d]),{key:e,namespaces:d}}translate(e,n,a){if(typeof n!="object"&&this.options.overloadTranslationOptionHandler&&(n=this.options.overloadTranslationOptionHandler(arguments)),typeof n=="object"&&(n={...n}),n||(n={}),e==null)return"";Array.isArray(e)||(e=[String(e)]);const o=n.returnDetails!==void 0?n.returnDetails:this.options.returnDetails,d=n.keySeparator!==void 0?n.keySeparator:this.options.keySeparator,{key:v,namespaces:x}=this.extractFromKey(e[e.length-1],n),w=x[x.length-1],E=n.lng||this.language,B=n.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(E&&E.toLowerCase()==="cimode"){if(B){const ke=n.nsSeparator||this.options.nsSeparator;return o?{res:`${w}${ke}${v}`,usedKey:v,exactUsedKey:v,usedLng:E,usedNS:w}:`${w}${ke}${v}`}return o?{res:v,usedKey:v,exactUsedKey:v,usedLng:E,usedNS:w}:v}const D=this.resolve(e,n);let V=D&&D.res;const he=D&&D.usedKey||v,ae=D&&D.exactUsedKey||v,ye=Object.prototype.toString.apply(V),Z=["[object Number]","[object Function]","[object RegExp]"],G=n.joinArrays!==void 0?n.joinArrays:this.options.joinArrays,ue=!this.i18nFormat||this.i18nFormat.handleAsObject;if(ue&&V&&(typeof V!="string"&&typeof V!="boolean"&&typeof V!="number")&&Z.indexOf(ye)<0&&!(typeof G=="string"&&ye==="[object Array]")){if(!n.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const ke=this.options.returnedObjectHandler?this.options.returnedObjectHandler(he,V,{...n,ns:x}):`key '${v} (${this.language})' returned an object instead of string.`;return o?(D.res=ke,D):ke}if(d){const ke=ye==="[object Array]",re=ke?[]:{},Ie=ke?ae:he;for(const Te in V)if(Object.prototype.hasOwnProperty.call(V,Te)){const Dt=`${Ie}${d}${Te}`;re[Te]=this.translate(Dt,{...n,joinArrays:!1,ns:x}),re[Te]===Dt&&(re[Te]=V[Te])}V=re}}else if(ue&&typeof G=="string"&&ye==="[object Array]")V=V.join(G),V&&(V=this.extendTranslation(V,e,n,a));else{let ke=!1,re=!1;const Ie=n.count!==void 0&&typeof n.count!="string",Te=Hc.hasDefaultValue(n),Dt=Ie?this.pluralResolver.getSuffix(E,n.count,n):"",dt=n.ordinal&&Ie?this.pluralResolver.getSuffix(E,n.count,{ordinal:!1}):"",Mt=n[`defaultValue${Dt}`]||n[`defaultValue${dt}`]||n.defaultValue;!this.isValidLookup(V)&&Te&&(ke=!0,V=Mt),this.isValidLookup(V)||(re=!0,V=v);const xe=(n.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&re?void 0:V,Re=Te&&Mt!==V&&this.options.updateMissing;if(re||ke||Re){if(this.logger.log(Re?"updateKey":"missingKey",E,w,v,Re?Mt:V),d){const je=this.resolve(v,{...n,keySeparator:!1});je&&je.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let Be=[];const Ye=this.languageUtils.getFallbackCodes(this.options.fallbackLng,n.lng||this.language);if(this.options.saveMissingTo==="fallback"&&Ye&&Ye[0])for(let je=0;je<Ye.length;je++)Be.push(Ye[je]);else this.options.saveMissingTo==="all"?Be=this.languageUtils.toResolveHierarchy(n.lng||this.language):Be.push(n.lng||this.language);const He=(je,ze,pt)=>{const oe=Te&&pt!==V?pt:xe;this.options.missingKeyHandler?this.options.missingKeyHandler(je,w,ze,oe,Re,n):this.backendConnector&&this.backendConnector.saveMissing&&this.backendConnector.saveMissing(je,w,ze,oe,Re,n),this.emit("missingKey",je,w,ze,V)};this.options.saveMissing&&(this.options.saveMissingPlurals&&Ie?Be.forEach(je=>{this.pluralResolver.getSuffixes(je,n).forEach(ze=>{He([je],v+ze,n[`defaultValue${ze}`]||Mt)})}):He(Be,v,Mt))}V=this.extendTranslation(V,e,n,D,a),re&&V===v&&this.options.appendNamespaceToMissingKey&&(V=`${w}:${v}`),(re||ke)&&this.options.parseMissingKeyHandler&&(this.options.compatibilityAPI!=="v1"?V=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${w}:${v}`:v,ke?V:void 0):V=this.options.parseMissingKeyHandler(V))}return o?(D.res=V,D):V}extendTranslation(e,n,a,o,d){var v=this;if(this.i18nFormat&&this.i18nFormat.parse)e=this.i18nFormat.parse(e,{...this.options.interpolation.defaultVariables,...a},o.usedLng,o.usedNS,o.usedKey,{resolved:o});else if(!a.skipInterpolation){a.interpolation&&this.interpolator.init({...a,interpolation:{...this.options.interpolation,...a.interpolation}});const E=typeof e=="string"&&(a&&a.interpolation&&a.interpolation.skipOnVariables!==void 0?a.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let B;if(E){const V=e.match(this.interpolator.nestingRegexp);B=V&&V.length}let D=a.replace&&typeof a.replace!="string"?a.replace:a;if(this.options.interpolation.defaultVariables&&(D={...this.options.interpolation.defaultVariables,...D}),e=this.interpolator.interpolate(e,D,a.lng||this.language,a),E){const V=e.match(this.interpolator.nestingRegexp),he=V&&V.length;B<he&&(a.nest=!1)}!a.lng&&this.options.compatibilityAPI!=="v1"&&o&&o.res&&(a.lng=o.usedLng),a.nest!==!1&&(e=this.interpolator.nest(e,function(){for(var V=arguments.length,he=new Array(V),ae=0;ae<V;ae++)he[ae]=arguments[ae];return d&&d[0]===he[0]&&!a.context?(v.logger.warn(`It seems you are nesting recursively key: ${he[0]} in key: ${n[0]}`),null):v.translate(...he,n)},a)),a.interpolation&&this.interpolator.reset()}const x=a.postProcess||this.options.postProcess,w=typeof x=="string"?[x]:x;return e!=null&&w&&w.length&&a.applyPostProcessor!==!1&&(e=np.handle(w,e,n,this.options&&this.options.postProcessPassResolved?{i18nResolved:o,...a}:a,this)),e}resolve(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a,o,d,v,x;return typeof e=="string"&&(e=[e]),e.forEach(w=>{if(this.isValidLookup(a))return;const E=this.extractFromKey(w,n),B=E.key;o=B;let D=E.namespaces;this.options.fallbackNS&&(D=D.concat(this.options.fallbackNS));const V=n.count!==void 0&&typeof n.count!="string",he=V&&!n.ordinal&&n.count===0&&this.pluralResolver.shouldUseIntlApi(),ae=n.context!==void 0&&(typeof n.context=="string"||typeof n.context=="number")&&n.context!=="",ye=n.lngs?n.lngs:this.languageUtils.toResolveHierarchy(n.lng||this.language,n.fallbackLng);D.forEach(Z=>{this.isValidLookup(a)||(x=Z,!rp[`${ye[0]}-${Z}`]&&this.utils&&this.utils.hasLoadedNamespace&&!this.utils.hasLoadedNamespace(x)&&(rp[`${ye[0]}-${Z}`]=!0,this.logger.warn(`key "${o}" for languages "${ye.join(", ")}" won't get resolved as namespace "${x}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),ye.forEach(G=>{if(this.isValidLookup(a))return;v=G;const ue=[B];if(this.i18nFormat&&this.i18nFormat.addLookupKeys)this.i18nFormat.addLookupKeys(ue,B,G,Z,n);else{let ke;V&&(ke=this.pluralResolver.getSuffix(G,n.count,n));const re=`${this.options.pluralSeparator}zero`,Ie=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(V&&(ue.push(B+ke),n.ordinal&&ke.indexOf(Ie)===0&&ue.push(B+ke.replace(Ie,this.options.pluralSeparator)),he&&ue.push(B+re)),ae){const Te=`${B}${this.options.contextSeparator}${n.context}`;ue.push(Te),V&&(ue.push(Te+ke),n.ordinal&&ke.indexOf(Ie)===0&&ue.push(Te+ke.replace(Ie,this.options.pluralSeparator)),he&&ue.push(Te+re))}}let be;for(;be=ue.pop();)this.isValidLookup(a)||(d=be,a=this.getResource(G,Z,be,n))}))})}),{res:a,usedKey:o,exactUsedKey:d,usedLng:v,usedNS:x}}isValidLookup(e){return e!==void 0&&!(!this.options.returnNull&&e===null)&&!(!this.options.returnEmptyString&&e==="")}getResource(e,n,a){let o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(e,n,a,o):this.resourceStore.getResource(e,n,a,o)}static hasDefaultValue(e){const n="defaultValue";for(const a in e)if(Object.prototype.hasOwnProperty.call(e,a)&&n===a.substring(0,n.length)&&e[a]!==void 0)return!0;return!1}}function Ld(r){return r.charAt(0).toUpperCase()+r.slice(1)}class ip{constructor(e){this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=ao.create("languageUtils")}getScriptPartFromCode(e){if(e=Wc(e),!e||e.indexOf("-")<0)return null;const n=e.split("-");return n.length===2||(n.pop(),n[n.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(n.join("-"))}getLanguagePartFromCode(e){if(e=Wc(e),!e||e.indexOf("-")<0)return e;const n=e.split("-");return this.formatLanguageCode(n[0])}formatLanguageCode(e){if(typeof e=="string"&&e.indexOf("-")>-1){const n=["hans","hant","latn","cyrl","cans","mong","arab"];let a=e.split("-");return this.options.lowerCaseLng?a=a.map(o=>o.toLowerCase()):a.length===2?(a[0]=a[0].toLowerCase(),a[1]=a[1].toUpperCase(),n.indexOf(a[1].toLowerCase())>-1&&(a[1]=Ld(a[1].toLowerCase()))):a.length===3&&(a[0]=a[0].toLowerCase(),a[1].length===2&&(a[1]=a[1].toUpperCase()),a[0]!=="sgn"&&a[2].length===2&&(a[2]=a[2].toUpperCase()),n.indexOf(a[1].toLowerCase())>-1&&(a[1]=Ld(a[1].toLowerCase())),n.indexOf(a[2].toLowerCase())>-1&&(a[2]=Ld(a[2].toLowerCase()))),a.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}isSupportedCode(e){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}getBestMatchFromCodes(e){if(!e)return null;let n;return e.forEach(a=>{if(n)return;const o=this.formatLanguageCode(a);(!this.options.supportedLngs||this.isSupportedCode(o))&&(n=o)}),!n&&this.options.supportedLngs&&e.forEach(a=>{if(n)return;const o=this.getLanguagePartFromCode(a);if(this.isSupportedCode(o))return n=o;n=this.options.supportedLngs.find(d=>{if(d===o)return d;if(!(d.indexOf("-")<0&&o.indexOf("-")<0)&&d.indexOf(o)===0)return d})}),n||(n=this.getFallbackCodes(this.options.fallbackLng)[0]),n}getFallbackCodes(e,n){if(!e)return[];if(typeof e=="function"&&(e=e(n)),typeof e=="string"&&(e=[e]),Object.prototype.toString.apply(e)==="[object Array]")return e;if(!n)return e.default||[];let a=e[n];return a||(a=e[this.getScriptPartFromCode(n)]),a||(a=e[this.formatLanguageCode(n)]),a||(a=e[this.getLanguagePartFromCode(n)]),a||(a=e.default),a||[]}toResolveHierarchy(e,n){const a=this.getFallbackCodes(n||this.options.fallbackLng||[],e),o=[],d=v=>{v&&(this.isSupportedCode(v)?o.push(v):this.logger.warn(`rejecting language code not found in supportedLngs: ${v}`))};return typeof e=="string"&&(e.indexOf("-")>-1||e.indexOf("_")>-1)?(this.options.load!=="languageOnly"&&d(this.formatLanguageCode(e)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&d(this.getScriptPartFromCode(e)),this.options.load!=="currentOnly"&&d(this.getLanguagePartFromCode(e))):typeof e=="string"&&d(this.formatLanguageCode(e)),a.forEach(v=>{o.indexOf(v)<0&&d(this.formatLanguageCode(v))}),o}}let Vg=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],Wg={1:function(r){return+(r>1)},2:function(r){return+(r!=1)},3:function(r){return 0},4:function(r){return r%10==1&&r%100!=11?0:r%10>=2&&r%10<=4&&(r%100<10||r%100>=20)?1:2},5:function(r){return r==0?0:r==1?1:r==2?2:r%100>=3&&r%100<=10?3:r%100>=11?4:5},6:function(r){return r==1?0:r>=2&&r<=4?1:2},7:function(r){return r==1?0:r%10>=2&&r%10<=4&&(r%100<10||r%100>=20)?1:2},8:function(r){return r==1?0:r==2?1:r!=8&&r!=11?2:3},9:function(r){return+(r>=2)},10:function(r){return r==1?0:r==2?1:r<7?2:r<11?3:4},11:function(r){return r==1||r==11?0:r==2||r==12?1:r>2&&r<20?2:3},12:function(r){return+(r%10!=1||r%100==11)},13:function(r){return+(r!==0)},14:function(r){return r==1?0:r==2?1:r==3?2:3},15:function(r){return r%10==1&&r%100!=11?0:r%10>=2&&(r%100<10||r%100>=20)?1:2},16:function(r){return r%10==1&&r%100!=11?0:r!==0?1:2},17:function(r){return r==1||r%10==1&&r%100!=11?0:1},18:function(r){return r==0?0:r==1?1:2},19:function(r){return r==1?0:r==0||r%100>1&&r%100<11?1:r%100>10&&r%100<20?2:3},20:function(r){return r==1?0:r==0||r%100>0&&r%100<20?1:2},21:function(r){return r%100==1?1:r%100==2?2:r%100==3||r%100==4?3:0},22:function(r){return r==1?0:r==2?1:(r<0||r>10)&&r%10==0?2:3}};const Hg=["v1","v2","v3"],$g=["v4"],ap={zero:0,one:1,two:2,few:3,many:4,other:5};function Gg(){const r={};return Vg.forEach(e=>{e.lngs.forEach(n=>{r[n]={numbers:e.nr,plurals:Wg[e.fc]}})}),r}class Zg{constructor(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.languageUtils=e,this.options=n,this.logger=ao.create("pluralResolver"),(!this.options.compatibilityJSON||$g.includes(this.options.compatibilityJSON))&&(typeof Intl>"u"||!Intl.PluralRules)&&(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=Gg()}addRule(e,n){this.rules[e]=n}getRule(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.shouldUseIntlApi())try{return new Intl.PluralRules(Wc(e),{type:n.ordinal?"ordinal":"cardinal"})}catch{return}return this.rules[e]||this.rules[this.languageUtils.getLanguagePartFromCode(e)]}needsPlural(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const a=this.getRule(e,n);return this.shouldUseIntlApi()?a&&a.resolvedOptions().pluralCategories.length>1:a&&a.numbers.length>1}getPluralFormsOfKey(e,n){let a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.getSuffixes(e,a).map(o=>`${n}${o}`)}getSuffixes(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const a=this.getRule(e,n);return a?this.shouldUseIntlApi()?a.resolvedOptions().pluralCategories.sort((o,d)=>ap[o]-ap[d]).map(o=>`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:""}${o}`):a.numbers.map(o=>this.getSuffix(e,o,n)):[]}getSuffix(e,n){let a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const o=this.getRule(e,a);return o?this.shouldUseIntlApi()?`${this.options.prepend}${a.ordinal?`ordinal${this.options.prepend}`:""}${o.select(n)}`:this.getSuffixRetroCompatible(o,n):(this.logger.warn(`no plural rule found for: ${e}`),"")}getSuffixRetroCompatible(e,n){const a=e.noAbs?e.plurals(n):e.plurals(Math.abs(n));let o=e.numbers[a];this.options.simplifyPluralSuffix&&e.numbers.length===2&&e.numbers[0]===1&&(o===2?o="plural":o===1&&(o=""));const d=()=>this.options.prepend&&o.toString()?this.options.prepend+o.toString():o.toString();return this.options.compatibilityJSON==="v1"?o===1?"":typeof o=="number"?`_plural_${o.toString()}`:d():this.options.compatibilityJSON==="v2"||this.options.simplifyPluralSuffix&&e.numbers.length===2&&e.numbers[0]===1?d():this.options.prepend&&a.toString()?this.options.prepend+a.toString():a.toString()}shouldUseIntlApi(){return!Hg.includes(this.options.compatibilityJSON)}}function op(r,e,n){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:".",o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,d=Bg(r,e,n);return!d&&o&&typeof n=="string"&&(d=Vc(r,n,a),d===void 0&&(d=Vc(e,n,a))),d}class Yg{constructor(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=ao.create("interpolator"),this.options=e,this.format=e.interpolation&&e.interpolation.format||(n=>n),this.init(e)}init(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};e.interpolation||(e.interpolation={escapeValue:!0});const n=e.interpolation;this.escape=n.escape!==void 0?n.escape:jg,this.escapeValue=n.escapeValue!==void 0?n.escapeValue:!0,this.useRawValueToEscape=n.useRawValueToEscape!==void 0?n.useRawValueToEscape:!1,this.prefix=n.prefix?wu(n.prefix):n.prefixEscaped||"{{",this.suffix=n.suffix?wu(n.suffix):n.suffixEscaped||"}}",this.formatSeparator=n.formatSeparator?n.formatSeparator:n.formatSeparator||",",this.unescapePrefix=n.unescapeSuffix?"":n.unescapePrefix||"-",this.unescapeSuffix=this.unescapePrefix?"":n.unescapeSuffix||"",this.nestingPrefix=n.nestingPrefix?wu(n.nestingPrefix):n.nestingPrefixEscaped||wu("$t("),this.nestingSuffix=n.nestingSuffix?wu(n.nestingSuffix):n.nestingSuffixEscaped||wu(")"),this.nestingOptionsSeparator=n.nestingOptionsSeparator?n.nestingOptionsSeparator:n.nestingOptionsSeparator||",",this.maxReplaces=n.maxReplaces?n.maxReplaces:1e3,this.alwaysFormat=n.alwaysFormat!==void 0?n.alwaysFormat:!1,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const e=`${this.prefix}(.+?)${this.suffix}`;this.regexp=new RegExp(e,"g");const n=`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`;this.regexpUnescape=new RegExp(n,"g");const a=`${this.nestingPrefix}(.+?)${this.nestingSuffix}`;this.nestingRegexp=new RegExp(a,"g")}interpolate(e,n,a,o){let d,v,x;const w=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function E(ae){return ae.replace(/\$/g,"$$$$")}const B=ae=>{if(ae.indexOf(this.formatSeparator)<0){const ue=op(n,w,ae,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(ue,void 0,a,{...o,...n,interpolationkey:ae}):ue}const ye=ae.split(this.formatSeparator),Z=ye.shift().trim(),G=ye.join(this.formatSeparator).trim();return this.format(op(n,w,Z,this.options.keySeparator,this.options.ignoreJSONStructure),G,a,{...o,...n,interpolationkey:Z})};this.resetRegExp();const D=o&&o.missingInterpolationHandler||this.options.missingInterpolationHandler,V=o&&o.interpolation&&o.interpolation.skipOnVariables!==void 0?o.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:ae=>E(ae)},{regex:this.regexp,safeValue:ae=>this.escapeValue?E(this.escape(ae)):E(ae)}].forEach(ae=>{for(x=0;d=ae.regex.exec(e);){const ye=d[1].trim();if(v=B(ye),v===void 0)if(typeof D=="function"){const G=D(e,d,o);v=typeof G=="string"?G:""}else if(o&&Object.prototype.hasOwnProperty.call(o,ye))v="";else if(V){v=d[0];continue}else this.logger.warn(`missed to pass in variable ${ye} for interpolating ${e}`),v="";else typeof v!="string"&&!this.useRawValueToEscape&&(v=Xf(v));const Z=ae.safeValue(v);if(e=e.replace(d[0],Z),V?(ae.regex.lastIndex+=v.length,ae.regex.lastIndex-=d[0].length):ae.regex.lastIndex=0,x++,x>=this.maxReplaces)break}}),e}nest(e,n){let a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o,d,v;function x(w,E){const B=this.nestingOptionsSeparator;if(w.indexOf(B)<0)return w;const D=w.split(new RegExp(`${B}[ ]*{`));let V=`{${D[1]}`;w=D[0],V=this.interpolate(V,v);const he=V.match(/'/g),ae=V.match(/"/g);(he&&he.length%2===0&&!ae||ae.length%2!==0)&&(V=V.replace(/'/g,'"'));try{v=JSON.parse(V),E&&(v={...E,...v})}catch(ye){return this.logger.warn(`failed parsing options string in nesting for key ${w}`,ye),`${w}${B}${V}`}return delete v.defaultValue,w}for(;o=this.nestingRegexp.exec(e);){let w=[];v={...a},v=v.replace&&typeof v.replace!="string"?v.replace:v,v.applyPostProcessor=!1,delete v.defaultValue;let E=!1;if(o[0].indexOf(this.formatSeparator)!==-1&&!/{.*}/.test(o[1])){const B=o[1].split(this.formatSeparator).map(D=>D.trim());o[1]=B.shift(),w=B,E=!0}if(d=n(x.call(this,o[1].trim(),v),v),d&&o[0]===e&&typeof d!="string")return d;typeof d!="string"&&(d=Xf(d)),d||(this.logger.warn(`missed to resolve ${o[1]} for nesting ${e}`),d=""),E&&(d=w.reduce((B,D)=>this.format(B,D,a.lng,{...a,interpolationkey:o[1].trim()}),d.trim())),e=e.replace(o[0],d),this.regexp.lastIndex=0}return e}}function Kg(r){let e=r.toLowerCase().trim();const n={};if(r.indexOf("(")>-1){const a=r.split("(");e=a[0].toLowerCase().trim();const o=a[1].substring(0,a[1].length-1);e==="currency"&&o.indexOf(":")<0?n.currency||(n.currency=o.trim()):e==="relativetime"&&o.indexOf(":")<0?n.range||(n.range=o.trim()):o.split(";").forEach(v=>{if(!v)return;const[x,...w]=v.split(":"),E=w.join(":").trim().replace(/^'+|'+$/g,"");n[x.trim()]||(n[x.trim()]=E),E==="false"&&(n[x.trim()]=!1),E==="true"&&(n[x.trim()]=!0),isNaN(E)||(n[x.trim()]=parseInt(E,10))})}return{formatName:e,formatOptions:n}}function xu(r){const e={};return function(a,o,d){const v=o+JSON.stringify(d);let x=e[v];return x||(x=r(Wc(o),d),e[v]=x),x(a)}}class Jg{constructor(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=ao.create("formatter"),this.options=e,this.formats={number:xu((n,a)=>{const o=new Intl.NumberFormat(n,{...a});return d=>o.format(d)}),currency:xu((n,a)=>{const o=new Intl.NumberFormat(n,{...a,style:"currency"});return d=>o.format(d)}),datetime:xu((n,a)=>{const o=new Intl.DateTimeFormat(n,{...a});return d=>o.format(d)}),relativetime:xu((n,a)=>{const o=new Intl.RelativeTimeFormat(n,{...a});return d=>o.format(d,a.range||"day")}),list:xu((n,a)=>{const o=new Intl.ListFormat(n,{...a});return d=>o.format(d)})},this.init(e)}init(e){const a=(arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}}).interpolation;this.formatSeparator=a.formatSeparator?a.formatSeparator:a.formatSeparator||","}add(e,n){this.formats[e.toLowerCase().trim()]=n}addCached(e,n){this.formats[e.toLowerCase().trim()]=xu(n)}format(e,n,a){let o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return n.split(this.formatSeparator).reduce((x,w)=>{const{formatName:E,formatOptions:B}=Kg(w);if(this.formats[E]){let D=x;try{const V=o&&o.formatParams&&o.formatParams[o.interpolationkey]||{},he=V.locale||V.lng||o.locale||o.lng||a;D=this.formats[E](x,he,{...B,...o,...V})}catch(V){this.logger.warn(V)}return D}else this.logger.warn(`there was no format function for ${E}`);return x},e)}}function Qg(r,e){r.pending[e]!==void 0&&(delete r.pending[e],r.pendingCount--)}class Xg extends zc{constructor(e,n,a){let o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};super(),this.backend=e,this.store=n,this.services=a,this.languageUtils=a.languageUtils,this.options=o,this.logger=ao.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=o.maxParallelReads||10,this.readingCalls=0,this.maxRetries=o.maxRetries>=0?o.maxRetries:5,this.retryTimeout=o.retryTimeout>=1?o.retryTimeout:350,this.state={},this.queue=[],this.backend&&this.backend.init&&this.backend.init(a,o.backend,o)}queueLoad(e,n,a,o){const d={},v={},x={},w={};return e.forEach(E=>{let B=!0;n.forEach(D=>{const V=`${E}|${D}`;!a.reload&&this.store.hasResourceBundle(E,D)?this.state[V]=2:this.state[V]<0||(this.state[V]===1?v[V]===void 0&&(v[V]=!0):(this.state[V]=1,B=!1,v[V]===void 0&&(v[V]=!0),d[V]===void 0&&(d[V]=!0),w[D]===void 0&&(w[D]=!0)))}),B||(x[E]=!0)}),(Object.keys(d).length||Object.keys(v).length)&&this.queue.push({pending:v,pendingCount:Object.keys(v).length,loaded:{},errors:[],callback:o}),{toLoad:Object.keys(d),pending:Object.keys(v),toLoadLanguages:Object.keys(x),toLoadNamespaces:Object.keys(w)}}loaded(e,n,a){const o=e.split("|"),d=o[0],v=o[1];n&&this.emit("failedLoading",d,v,n),a&&this.store.addResourceBundle(d,v,a),this.state[e]=n?-1:2;const x={};this.queue.forEach(w=>{Lg(w.loaded,[d],v),Qg(w,e),n&&w.errors.push(n),w.pendingCount===0&&!w.done&&(Object.keys(w.loaded).forEach(E=>{x[E]||(x[E]={});const B=w.loaded[E];B.length&&B.forEach(D=>{x[E][D]===void 0&&(x[E][D]=!0)})}),w.done=!0,w.errors.length?w.callback(w.errors):w.callback())}),this.emit("loaded",x),this.queue=this.queue.filter(w=>!w.done)}read(e,n,a){let o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,d=arguments.length>4&&arguments[4]!==void 0?arguments[4]:this.retryTimeout,v=arguments.length>5?arguments[5]:void 0;if(!e.length)return v(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:e,ns:n,fcName:a,tried:o,wait:d,callback:v});return}this.readingCalls++;const x=(E,B)=>{if(this.readingCalls--,this.waitingReads.length>0){const D=this.waitingReads.shift();this.read(D.lng,D.ns,D.fcName,D.tried,D.wait,D.callback)}if(E&&B&&o<this.maxRetries){setTimeout(()=>{this.read.call(this,e,n,a,o+1,d*2,v)},d);return}v(E,B)},w=this.backend[a].bind(this.backend);if(w.length===2){try{const E=w(e,n);E&&typeof E.then=="function"?E.then(B=>x(null,B)).catch(x):x(null,E)}catch(E){x(E)}return}return w(e,n,x)}prepareLoading(e,n){let a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),o&&o();typeof e=="string"&&(e=this.languageUtils.toResolveHierarchy(e)),typeof n=="string"&&(n=[n]);const d=this.queueLoad(e,n,a,o);if(!d.toLoad.length)return d.pending.length||o(),null;d.toLoad.forEach(v=>{this.loadOne(v)})}load(e,n,a){this.prepareLoading(e,n,{},a)}reload(e,n,a){this.prepareLoading(e,n,{reload:!0},a)}loadOne(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const a=e.split("|"),o=a[0],d=a[1];this.read(o,d,"read",void 0,void 0,(v,x)=>{v&&this.logger.warn(`${n}loading namespace ${d} for language ${o} failed`,v),!v&&x&&this.logger.log(`${n}loaded namespace ${d} for language ${o}`,x),this.loaded(e,v,x)})}saveMissing(e,n,a,o,d){let v=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},x=arguments.length>6&&arguments[6]!==void 0?arguments[6]:()=>{};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(n)){this.logger.warn(`did not save key "${a}" as the namespace "${n}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(!(a==null||a==="")){if(this.backend&&this.backend.create){const w={...v,isUpdate:d},E=this.backend.create.bind(this.backend);if(E.length<6)try{let B;E.length===5?B=E(e,n,a,o,w):B=E(e,n,a,o),B&&typeof B.then=="function"?B.then(D=>x(null,D)).catch(x):x(null,B)}catch(B){x(B)}else E(e,n,a,o,x,w)}!e||!e[0]||this.store.addResource(e[0],n,a,o)}}}function sp(){return{debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(e){let n={};if(typeof e[1]=="object"&&(n=e[1]),typeof e[1]=="string"&&(n.defaultValue=e[1]),typeof e[2]=="string"&&(n.tDescription=e[2]),typeof e[2]=="object"||typeof e[3]=="object"){const a=e[3]||e[2];Object.keys(a).forEach(o=>{n[o]=a[o]})}return n},interpolation:{escapeValue:!0,format:(r,e,n,a)=>r,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}}function lp(r){return typeof r.ns=="string"&&(r.ns=[r.ns]),typeof r.fallbackLng=="string"&&(r.fallbackLng=[r.fallbackLng]),typeof r.fallbackNS=="string"&&(r.fallbackNS=[r.fallbackNS]),r.supportedLngs&&r.supportedLngs.indexOf("cimode")<0&&(r.supportedLngs=r.supportedLngs.concat(["cimode"])),r}function $c(){}function qg(r){Object.getOwnPropertyNames(Object.getPrototypeOf(r)).forEach(n=>{typeof r[n]=="function"&&(r[n]=r[n].bind(r))})}class nc extends zc{constructor(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;if(super(),this.options=lp(e),this.services={},this.logger=ao,this.modules={external:[]},qg(this),n&&!this.isInitialized&&!e.isClone){if(!this.options.initImmediate)return this.init(e,n),this;setTimeout(()=>{this.init(e,n)},0)}}init(){var e=this;let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},a=arguments.length>1?arguments[1]:void 0;typeof n=="function"&&(a=n,n={}),!n.defaultNS&&n.defaultNS!==!1&&n.ns&&(typeof n.ns=="string"?n.defaultNS=n.ns:n.ns.indexOf("translation")<0&&(n.defaultNS=n.ns[0]));const o=sp();this.options={...o,...this.options,...lp(n)},this.options.compatibilityAPI!=="v1"&&(this.options.interpolation={...o.interpolation,...this.options.interpolation}),n.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=n.keySeparator),n.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=n.nsSeparator);function d(B){return B?typeof B=="function"?new B:B:null}if(!this.options.isClone){this.modules.logger?ao.init(d(this.modules.logger),this.options):ao.init(null,this.options);let B;this.modules.formatter?B=this.modules.formatter:typeof Intl<"u"&&(B=Jg);const D=new ip(this.options);this.store=new tp(this.options.resources,this.options);const V=this.services;V.logger=ao,V.resourceStore=this.store,V.languageUtils=D,V.pluralResolver=new Zg(D,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),B&&(!this.options.interpolation.format||this.options.interpolation.format===o.interpolation.format)&&(V.formatter=d(B),V.formatter.init(V,this.options),this.options.interpolation.format=V.formatter.format.bind(V.formatter)),V.interpolator=new Yg(this.options),V.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},V.backendConnector=new Xg(d(this.modules.backend),V.resourceStore,V,this.options),V.backendConnector.on("*",function(he){for(var ae=arguments.length,ye=new Array(ae>1?ae-1:0),Z=1;Z<ae;Z++)ye[Z-1]=arguments[Z];e.emit(he,...ye)}),this.modules.languageDetector&&(V.languageDetector=d(this.modules.languageDetector),V.languageDetector.init&&V.languageDetector.init(V,this.options.detection,this.options)),this.modules.i18nFormat&&(V.i18nFormat=d(this.modules.i18nFormat),V.i18nFormat.init&&V.i18nFormat.init(this)),this.translator=new Hc(this.services,this.options),this.translator.on("*",function(he){for(var ae=arguments.length,ye=new Array(ae>1?ae-1:0),Z=1;Z<ae;Z++)ye[Z-1]=arguments[Z];e.emit(he,...ye)}),this.modules.external.forEach(he=>{he.init&&he.init(this)})}if(this.format=this.options.interpolation.format,a||(a=$c),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const B=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);B.length>0&&B[0]!=="dev"&&(this.options.lng=B[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(B=>{this[B]=function(){return e.store[B](...arguments)}}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(B=>{this[B]=function(){return e.store[B](...arguments),e}});const w=tc(),E=()=>{const B=(D,V)=>{this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),w.resolve(V),a(D,V)};if(this.languages&&this.options.compatibilityAPI!=="v1"&&!this.isInitialized)return B(null,this.t.bind(this));this.changeLanguage(this.options.lng,B)};return this.options.resources||!this.options.initImmediate?E():setTimeout(E,0),w}loadResources(e){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:$c;const o=typeof e=="string"?e:this.language;if(typeof e=="function"&&(a=e),!this.options.resources||this.options.partialBundledLanguages){if(o&&o.toLowerCase()==="cimode")return a();const d=[],v=x=>{if(!x)return;this.services.languageUtils.toResolveHierarchy(x).forEach(E=>{d.indexOf(E)<0&&d.push(E)})};o?v(o):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(w=>v(w)),this.options.preload&&this.options.preload.forEach(x=>v(x)),this.services.backendConnector.load(d,this.options.ns,x=>{!x&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),a(x)})}else a(null)}reloadResources(e,n,a){const o=tc();return e||(e=this.languages),n||(n=this.options.ns),a||(a=$c),this.services.backendConnector.reload(e,n,d=>{o.resolve(),a(d)}),o}use(e){if(!e)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return e.type==="backend"&&(this.modules.backend=e),(e.type==="logger"||e.log&&e.warn&&e.error)&&(this.modules.logger=e),e.type==="languageDetector"&&(this.modules.languageDetector=e),e.type==="i18nFormat"&&(this.modules.i18nFormat=e),e.type==="postProcessor"&&np.addPostProcessor(e),e.type==="formatter"&&(this.modules.formatter=e),e.type==="3rdParty"&&this.modules.external.push(e),this}setResolvedLanguage(e){if(!(!e||!this.languages)&&!(["cimode","dev"].indexOf(e)>-1))for(let n=0;n<this.languages.length;n++){const a=this.languages[n];if(!(["cimode","dev"].indexOf(a)>-1)&&this.store.hasLanguageSomeTranslations(a)){this.resolvedLanguage=a;break}}}changeLanguage(e,n){var a=this;this.isLanguageChangingTo=e;const o=tc();this.emit("languageChanging",e);const d=w=>{this.language=w,this.languages=this.services.languageUtils.toResolveHierarchy(w),this.resolvedLanguage=void 0,this.setResolvedLanguage(w)},v=(w,E)=>{E?(d(E),this.translator.changeLanguage(E),this.isLanguageChangingTo=void 0,this.emit("languageChanged",E),this.logger.log("languageChanged",E)):this.isLanguageChangingTo=void 0,o.resolve(function(){return a.t(...arguments)}),n&&n(w,function(){return a.t(...arguments)})},x=w=>{!e&&!w&&this.services.languageDetector&&(w=[]);const E=typeof w=="string"?w:this.services.languageUtils.getBestMatchFromCodes(w);E&&(this.language||d(E),this.translator.language||this.translator.changeLanguage(E),this.services.languageDetector&&this.services.languageDetector.cacheUserLanguage&&this.services.languageDetector.cacheUserLanguage(E)),this.loadResources(E,B=>{v(B,E)})};return!e&&this.services.languageDetector&&!this.services.languageDetector.async?x(this.services.languageDetector.detect()):!e&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(x):this.services.languageDetector.detect(x):x(e),o}getFixedT(e,n,a){var o=this;const d=function(v,x){let w;if(typeof x!="object"){for(var E=arguments.length,B=new Array(E>2?E-2:0),D=2;D<E;D++)B[D-2]=arguments[D];w=o.options.overloadTranslationOptionHandler([v,x].concat(B))}else w={...x};w.lng=w.lng||d.lng,w.lngs=w.lngs||d.lngs,w.ns=w.ns||d.ns,w.keyPrefix=w.keyPrefix||a||d.keyPrefix;const V=o.options.keySeparator||".";let he;return w.keyPrefix&&Array.isArray(v)?he=v.map(ae=>`${w.keyPrefix}${V}${ae}`):he=w.keyPrefix?`${w.keyPrefix}${V}${v}`:v,o.t(he,w)};return typeof e=="string"?d.lng=e:d.lngs=e,d.ns=n,d.keyPrefix=a,d}t(){return this.translator&&this.translator.translate(...arguments)}exists(){return this.translator&&this.translator.exists(...arguments)}setDefaultNamespace(e){this.options.defaultNS=e}hasLoadedNamespace(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const a=n.lng||this.resolvedLanguage||this.languages[0],o=this.options?this.options.fallbackLng:!1,d=this.languages[this.languages.length-1];if(a.toLowerCase()==="cimode")return!0;const v=(x,w)=>{const E=this.services.backendConnector.state[`${x}|${w}`];return E===-1||E===2};if(n.precheck){const x=n.precheck(this,v);if(x!==void 0)return x}return!!(this.hasResourceBundle(a,e)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||v(a,e)&&(!o||v(d,e)))}loadNamespaces(e,n){const a=tc();return this.options.ns?(typeof e=="string"&&(e=[e]),e.forEach(o=>{this.options.ns.indexOf(o)<0&&this.options.ns.push(o)}),this.loadResources(o=>{a.resolve(),n&&n(o)}),a):(n&&n(),Promise.resolve())}loadLanguages(e,n){const a=tc();typeof e=="string"&&(e=[e]);const o=this.options.preload||[],d=e.filter(v=>o.indexOf(v)<0);return d.length?(this.options.preload=o.concat(d),this.loadResources(v=>{a.resolve(),n&&n(v)}),a):(n&&n(),Promise.resolve())}dir(e){if(e||(e=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!e)return"rtl";const n=["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"],a=this.services&&this.services.languageUtils||new ip(sp());return n.indexOf(a.getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return new nc(e,n)}cloneInstance(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:$c;const a=e.forkResourceStore;a&&delete e.forkResourceStore;const o={...this.options,...e,isClone:!0},d=new nc(o);return(e.debug!==void 0||e.prefix!==void 0)&&(d.logger=d.logger.clone(e)),["store","services","language"].forEach(x=>{d[x]=this[x]}),d.services={...this.services},d.services.utils={hasLoadedNamespace:d.hasLoadedNamespace.bind(d)},a&&(d.store=new tp(this.store.data,o),d.services.resourceStore=d.store),d.translator=new Hc(d.services,o),d.translator.on("*",function(x){for(var w=arguments.length,E=new Array(w>1?w-1:0),B=1;B<w;B++)E[B-1]=arguments[B];d.emit(x,...E)}),d.init(o,n),d.translator.options=o,d.translator.backendConnector.services.utils={hasLoadedNamespace:d.hasLoadedNamespace.bind(d)},d}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}const cr=nc.createInstance();cr.createInstance=nc.createInstance,cr.createInstance,cr.dir,cr.init,cr.loadResources,cr.reloadResources,cr.use,cr.changeLanguage,cr.getFixedT,cr.t,cr.exists,cr.setDefaultNamespace,cr.hasLoadedNamespace,cr.loadNamespaces,cr.loadLanguages;var qn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function up(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}function em(){if(console&&console.warn){for(var r=arguments.length,e=new Array(r),n=0;n<r;n++)e[n]=arguments[n];typeof e[0]=="string"&&(e[0]=`react-i18next:: ${e[0]}`),console.warn(...e)}}const cp={};function Bd(){for(var r=arguments.length,e=new Array(r),n=0;n<r;n++)e[n]=arguments[n];typeof e[0]=="string"&&cp[e[0]]||(typeof e[0]=="string"&&(cp[e[0]]=new Date),em(...e))}const dp=(r,e)=>()=>{if(r.isInitialized)e();else{const n=()=>{setTimeout(()=>{r.off("initialized",n)},0),e()};r.on("initialized",n)}};function fp(r,e,n){r.loadNamespaces(e,dp(r,n))}function pp(r,e,n,a){typeof n=="string"&&(n=[n]),n.forEach(o=>{r.options.ns.indexOf(o)<0&&r.options.ns.push(o)}),r.loadLanguages(e,dp(r,a))}function tm(r,e){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const a=e.languages[0],o=e.options?e.options.fallbackLng:!1,d=e.languages[e.languages.length-1];if(a.toLowerCase()==="cimode")return!0;const v=(x,w)=>{const E=e.services.backendConnector.state[`${x}|${w}`];return E===-1||E===2};return n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&e.services.backendConnector.backend&&e.isLanguageChangingTo&&!v(e.isLanguageChangingTo,r)?!1:!!(e.hasResourceBundle(a,r)||!e.services.backendConnector.backend||e.options.resources&&!e.options.partialBundledLanguages||v(a,r)&&(!o||v(d,r)))}function nm(r,e){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return!e.languages||!e.languages.length?(Bd("i18n.languages were undefined or empty",e.languages),!0):e.options.ignoreJSONStructure!==void 0?e.hasLoadedNamespace(r,{lng:n.lng,precheck:(o,d)=>{if(n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&o.services.backendConnector.backend&&o.isLanguageChangingTo&&!d(o.isLanguageChangingTo,r))return!1}}):tm(r,e,n)}const rm=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,im={"&amp;":"&","&#38;":"&","&lt;":"<","&#60;":"<","&gt;":">","&#62;":">","&apos;":"'","&#39;":"'","&quot;":'"',"&#34;":'"',"&nbsp;":" ","&#160;":" ","&copy;":"©","&#169;":"©","&reg;":"®","&#174;":"®","&hellip;":"…","&#8230;":"…","&#x2F;":"/","&#47;":"/"},am=r=>im[r];let Nd={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:r=>r.replace(rm,am)};function om(){let r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Nd={...Nd,...r}}function sm(){return Nd}let hp;function lm(r){hp=r}function um(){return hp}const cm={type:"3rdParty",init(r){om(r.options.react),lm(r)}},dm=Me.createContext();class fm{constructor(){this.usedNamespaces={}}addUsedNamespaces(e){e.forEach(n=>{this.usedNamespaces[n]||(this.usedNamespaces[n]=!0)})}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}}const pm=(r,e)=>{const n=Me.useRef();return Me.useEffect(()=>{n.current=e?n.current:r},[r,e]),n.current};function Os(r){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{i18n:n}=e,{i18n:a,defaultNS:o}=Me.useContext(dm)||{},d=n||a||um();if(d&&!d.reportNamespaces&&(d.reportNamespaces=new fm),!d){Bd("You will need to pass in an i18next instance by using initReactI18next");const be=(re,Ie)=>typeof Ie=="string"?Ie:Ie&&typeof Ie=="object"&&typeof Ie.defaultValue=="string"?Ie.defaultValue:Array.isArray(re)?re[re.length-1]:re,ke=[be,{},!1];return ke.t=be,ke.i18n={},ke.ready=!1,ke}d.options.react&&d.options.react.wait!==void 0&&Bd("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");const v={...sm(),...d.options.react,...e},{useSuspense:x,keyPrefix:w}=v;let E=r||o||d.options&&d.options.defaultNS;E=typeof E=="string"?[E]:E||["translation"],d.reportNamespaces.addUsedNamespaces&&d.reportNamespaces.addUsedNamespaces(E);const B=(d.isInitialized||d.initializedStoreOnce)&&E.every(be=>nm(be,d,v));function D(){return d.getFixedT(e.lng||null,v.nsMode==="fallback"?E:E[0],w)}const[V,he]=Me.useState(D);let ae=E.join();e.lng&&(ae=`${e.lng}${ae}`);const ye=pm(ae),Z=Me.useRef(!0);Me.useEffect(()=>{const{bindI18n:be,bindI18nStore:ke}=v;Z.current=!0,!B&&!x&&(e.lng?pp(d,e.lng,E,()=>{Z.current&&he(D)}):fp(d,E,()=>{Z.current&&he(D)})),B&&ye&&ye!==ae&&Z.current&&he(D);function re(){Z.current&&he(D)}return be&&d&&d.on(be,re),ke&&d&&d.store.on(ke,re),()=>{Z.current=!1,be&&d&&be.split(" ").forEach(Ie=>d.off(Ie,re)),ke&&d&&ke.split(" ").forEach(Ie=>d.store.off(Ie,re))}},[d,ae]);const G=Me.useRef(!0);Me.useEffect(()=>{Z.current&&!G.current&&he(D),G.current=!1},[d,w]);const ue=[V,d,B];if(ue.t=V,ue.i18n=d,ue.ready=B,B||!B&&!x)return ue;throw new Promise(be=>{e.lng?pp(d,e.lng,E,()=>be()):fp(d,E,()=>be())})}const hm={nl:{translation:{date:{formats:{friendly_date:"%-d %B %Y (%-d-%-m-%Y)"}},step_i_of_n:"Stap %{i} van %{n}",previous:"Terug",next:"Verder",abort:"Later afmaken",previous_questionnaire:"Vorige vragenlijst",done:"Klaar",print_answers:"Print antwoorden",download_answers_pdf:"Download als PDF",pdf_download_failed_message:"Het aanmaken van de download is helaas mislukt.",questionnaire_not_completed:{heading:"Deze vragenlijst is nog niet volledig ingevuld!",explanation:"Als u de vragenlijst toch opslaat, kan het zijn dat er geen schaalscores berekend worden omdat hiervoor onvoldoende informatie voorhanden is. U kunt uw antwoorden hieronder alsnog aanvullen. Vragen die nog niet volledig zijn beantwoord, worden rood gemarkeerd.",save_anyway:"Toch opslaan"},thanks_for_filling_out:"Bedankt voor het invullen van deze vragenlijst. Uw antwoorden zijn opgeslagen.",ios_download_instruction:`Er opent een nieuw tabblad waarop de download wordt gestart.
1
+ (function(ft,Pe){typeof exports=="object"&&typeof module<"u"?Pe(exports,require("react"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react","react-dom"],Pe):(ft=typeof globalThis<"u"?globalThis:ft||self,Pe(ft["@roqua/quby-frontend"]={},ft.React,ft.ReactDOM))})(this,function(ft,Pe,Cl){"use strict";var dk=Object.defineProperty;var fk=(ft,Pe,Cl)=>Pe in ft?dk(ft,Pe,{enumerable:!0,configurable:!0,writable:!0,value:Cl}):ft[Pe]=Cl;var Rt=(ft,Pe,Cl)=>(fk(ft,typeof Pe!="symbol"?Pe+"":Pe,Cl),Cl);function Kg(r){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(r){for(const n in r)if(n!=="default"){const a=Object.getOwnPropertyDescriptor(r,n);Object.defineProperty(e,n,a.get?a:{enumerable:!0,get:()=>r[n]})}}return e.default=r,Object.freeze(e)}const rc=Kg(Pe),gt=r=>typeof r=="string",ic=()=>{let r,e;const n=new Promise((a,o)=>{r=a,e=o});return n.resolve=r,n.reject=e,n},lp=r=>r==null?"":""+r,Jg=(r,e,n)=>{r.forEach(a=>{e[a]&&(n[a]=e[a])})},Qg=/###/g,up=r=>r&&r.indexOf("###")>-1?r.replace(Qg,"."):r,cp=r=>!r||gt(r),ac=(r,e,n)=>{const a=gt(e)?e.split("."):e;let o=0;for(;o<a.length-1;){if(cp(r))return{};const c=up(a[o]);!r[c]&&n&&(r[c]=new n),Object.prototype.hasOwnProperty.call(r,c)?r=r[c]:r={},++o}return cp(r)?{}:{obj:r,k:up(a[o])}},dp=(r,e,n)=>{const{obj:a,k:o}=ac(r,e,Object);if(a!==void 0||e.length===1){a[o]=n;return}let c=e[e.length-1],g=e.slice(0,e.length-1),y=ac(r,g,Object);for(;y.obj===void 0&&g.length;)c=`${g[g.length-1]}.${c}`,g=g.slice(0,g.length-1),y=ac(r,g,Object),y&&y.obj&&typeof y.obj[`${y.k}.${c}`]<"u"&&(y.obj=void 0);y.obj[`${y.k}.${c}`]=n},Xg=(r,e,n,a)=>{const{obj:o,k:c}=ac(r,e,Object);o[c]=o[c]||[],o[c].push(n)},Gc=(r,e)=>{const{obj:n,k:a}=ac(r,e);if(n)return n[a]},qg=(r,e,n)=>{const a=Gc(r,n);return a!==void 0?a:Gc(e,n)},fp=(r,e,n)=>{for(const a in e)a!=="__proto__"&&a!=="constructor"&&(a in r?gt(r[a])||r[a]instanceof String||gt(e[a])||e[a]instanceof String?n&&(r[a]=e[a]):fp(r[a],e[a],n):r[a]=e[a]);return r},xu=r=>r.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var em={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};const tm=r=>gt(r)?r.replace(/[&<>"'\/]/g,e=>em[e]):r;class nm{constructor(e){this.capacity=e,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(e){const n=this.regExpMap.get(e);if(n!==void 0)return n;const a=new RegExp(e);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(e,a),this.regExpQueue.push(e),a}}const rm=[" ",",","?","!",";"],im=new nm(20),am=(r,e,n)=>{e=e||"",n=n||"";const a=rm.filter(g=>e.indexOf(g)<0&&n.indexOf(g)<0);if(a.length===0)return!0;const o=im.getRegExp(`(${a.map(g=>g==="?"?"\\?":g).join("|")})`);let c=!o.test(r);if(!c){const g=r.indexOf(n);g>0&&!o.test(r.substring(0,g))&&(c=!0)}return c},zd=function(r,e){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:".";if(!r)return;if(r[e])return r[e];const a=e.split(n);let o=r;for(let c=0;c<a.length;){if(!o||typeof o!="object")return;let g,y="";for(let w=c;w<a.length;++w)if(w!==c&&(y+=n),y+=a[w],g=o[y],g!==void 0){if(["string","number","boolean"].indexOf(typeof g)>-1&&w<a.length-1)continue;c+=w-c+1;break}o=g}return o},Zc=r=>r&&r.replace("_","-"),om={type:"logger",log(r){this.output("log",r)},warn(r){this.output("warn",r)},error(r){this.output("error",r)},output(r,e){console&&console[r]&&console[r].apply(console,e)}};class Yc{constructor(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.init(e,n)}init(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.prefix=n.prefix||"i18next:",this.logger=e||om,this.options=n,this.debug=n.debug}log(){for(var e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];return this.forward(n,"log","",!0)}warn(){for(var e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];return this.forward(n,"warn","",!0)}error(){for(var e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];return this.forward(n,"error","")}deprecate(){for(var e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];return this.forward(n,"warn","WARNING DEPRECATED: ",!0)}forward(e,n,a,o){return o&&!this.debug?null:(gt(e[0])&&(e[0]=`${a}${this.prefix} ${e[0]}`),this.logger[n](e))}create(e){return new Yc(this.logger,{prefix:`${this.prefix}:${e}:`,...this.options})}clone(e){return e=e||this.options,e.prefix=e.prefix||this.prefix,new Yc(this.logger,e)}}var uo=new Yc;class Kc{constructor(){this.observers={}}on(e,n){return e.split(" ").forEach(a=>{this.observers[a]||(this.observers[a]=new Map);const o=this.observers[a].get(n)||0;this.observers[a].set(n,o+1)}),this}off(e,n){if(this.observers[e]){if(!n){delete this.observers[e];return}this.observers[e].delete(n)}}emit(e){for(var n=arguments.length,a=new Array(n>1?n-1:0),o=1;o<n;o++)a[o-1]=arguments[o];this.observers[e]&&Array.from(this.observers[e].entries()).forEach(g=>{let[y,w]=g;for(let E=0;E<w;E++)y(...a)}),this.observers["*"]&&Array.from(this.observers["*"].entries()).forEach(g=>{let[y,w]=g;for(let E=0;E<w;E++)y.apply(y,[e,...a])})}}class pp extends Kc{constructor(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{ns:["translation"],defaultNS:"translation"};super(),this.data=e||{},this.options=n,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.options.ignoreJSONStructure===void 0&&(this.options.ignoreJSONStructure=!0)}addNamespaces(e){this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}removeNamespaces(e){const n=this.options.ns.indexOf(e);n>-1&&this.options.ns.splice(n,1)}getResource(e,n,a){let o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const c=o.keySeparator!==void 0?o.keySeparator:this.options.keySeparator,g=o.ignoreJSONStructure!==void 0?o.ignoreJSONStructure:this.options.ignoreJSONStructure;let y;e.indexOf(".")>-1?y=e.split("."):(y=[e,n],a&&(Array.isArray(a)?y.push(...a):gt(a)&&c?y.push(...a.split(c)):y.push(a)));const w=Gc(this.data,y);return!w&&!n&&!a&&e.indexOf(".")>-1&&(e=y[0],n=y[1],a=y.slice(2).join(".")),w||!g||!gt(a)?w:zd(this.data&&this.data[e]&&this.data[e][n],a,c)}addResource(e,n,a,o){let c=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{silent:!1};const g=c.keySeparator!==void 0?c.keySeparator:this.options.keySeparator;let y=[e,n];a&&(y=y.concat(g?a.split(g):a)),e.indexOf(".")>-1&&(y=e.split("."),o=n,n=y[1]),this.addNamespaces(n),dp(this.data,y,o),c.silent||this.emit("added",e,n,a,o)}addResources(e,n,a){let o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{silent:!1};for(const c in a)(gt(a[c])||Array.isArray(a[c]))&&this.addResource(e,n,c,a[c],{silent:!0});o.silent||this.emit("added",e,n,a)}addResourceBundle(e,n,a,o,c){let g=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{silent:!1,skipCopy:!1},y=[e,n];e.indexOf(".")>-1&&(y=e.split("."),o=a,a=n,n=y[1]),this.addNamespaces(n);let w=Gc(this.data,y)||{};g.skipCopy||(a=JSON.parse(JSON.stringify(a))),o?fp(w,a,c):w={...w,...a},dp(this.data,y,w),g.silent||this.emit("added",e,n,a)}removeResourceBundle(e,n){this.hasResourceBundle(e,n)&&delete this.data[e][n],this.removeNamespaces(n),this.emit("removed",e,n)}hasResourceBundle(e,n){return this.getResource(e,n)!==void 0}getResourceBundle(e,n){return n||(n=this.options.defaultNS),this.options.compatibilityAPI==="v1"?{...this.getResource(e,n)}:this.getResource(e,n)}getDataByLanguage(e){return this.data[e]}hasLanguageSomeTranslations(e){const n=this.getDataByLanguage(e);return!!(n&&Object.keys(n)||[]).find(o=>n[o]&&Object.keys(n[o]).length>0)}toJSON(){return this.data}}var hp={processors:{},addPostProcessor(r){this.processors[r.name]=r},handle(r,e,n,a,o){return r.forEach(c=>{this.processors[c]&&(e=this.processors[c].process(e,n,a,o))}),e}};const gp={};class Jc extends Kc{constructor(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};super(),Jg(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],e,this),this.options=n,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.logger=uo.create("translator")}changeLanguage(e){e&&(this.language=e)}exists(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};if(e==null)return!1;const a=this.resolve(e,n);return a&&a.res!==void 0}extractFromKey(e,n){let a=n.nsSeparator!==void 0?n.nsSeparator:this.options.nsSeparator;a===void 0&&(a=":");const o=n.keySeparator!==void 0?n.keySeparator:this.options.keySeparator;let c=n.ns||this.options.defaultNS||[];const g=a&&e.indexOf(a)>-1,y=!this.options.userDefinedKeySeparator&&!n.keySeparator&&!this.options.userDefinedNsSeparator&&!n.nsSeparator&&!am(e,a,o);if(g&&!y){const w=e.match(this.interpolator.nestingRegexp);if(w&&w.length>0)return{key:e,namespaces:gt(c)?[c]:c};const E=e.split(a);(a!==o||a===o&&this.options.ns.indexOf(E[0])>-1)&&(c=E.shift()),e=E.join(o)}return{key:e,namespaces:gt(c)?[c]:c}}translate(e,n,a){if(typeof n!="object"&&this.options.overloadTranslationOptionHandler&&(n=this.options.overloadTranslationOptionHandler(arguments)),typeof n=="object"&&(n={...n}),n||(n={}),e==null)return"";Array.isArray(e)||(e=[String(e)]);const o=n.returnDetails!==void 0?n.returnDetails:this.options.returnDetails,c=n.keySeparator!==void 0?n.keySeparator:this.options.keySeparator,{key:g,namespaces:y}=this.extractFromKey(e[e.length-1],n),w=y[y.length-1],E=n.lng||this.language,L=n.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(E&&E.toLowerCase()==="cimode"){if(L){const de=n.nsSeparator||this.options.nsSeparator;return o?{res:`${w}${de}${g}`,usedKey:g,exactUsedKey:g,usedLng:E,usedNS:w,usedParams:this.getUsedParamsDetails(n)}:`${w}${de}${g}`}return o?{res:g,usedKey:g,exactUsedKey:g,usedLng:E,usedNS:w,usedParams:this.getUsedParamsDetails(n)}:g}const P=this.resolve(e,n);let W=P&&P.res;const se=P&&P.usedKey||g,ae=P&&P.exactUsedKey||g,ke=Object.prototype.toString.apply(W),G=["[object Number]","[object Function]","[object RegExp]"],Z=n.joinArrays!==void 0?n.joinArrays:this.options.joinArrays,be=!this.i18nFormat||this.i18nFormat.handleAsObject,fe=!gt(W)&&typeof W!="boolean"&&typeof W!="number";if(be&&W&&fe&&G.indexOf(ke)<0&&!(gt(Z)&&Array.isArray(W))){if(!n.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const de=this.options.returnedObjectHandler?this.options.returnedObjectHandler(se,W,{...n,ns:y}):`key '${g} (${this.language})' returned an object instead of string.`;return o?(P.res=de,P.usedParams=this.getUsedParamsDetails(n),P):de}if(c){const de=Array.isArray(W),ee=de?[]:{},Te=de?ae:se;for(const Ie in W)if(Object.prototype.hasOwnProperty.call(W,Ie)){const Lt=`${Te}${c}${Ie}`;ee[Ie]=this.translate(Lt,{...n,joinArrays:!1,ns:y}),ee[Ie]===Lt&&(ee[Ie]=W[Ie])}W=ee}}else if(be&&gt(Z)&&Array.isArray(W))W=W.join(Z),W&&(W=this.extendTranslation(W,e,n,a));else{let de=!1,ee=!1;const Te=n.count!==void 0&&!gt(n.count),Ie=Jc.hasDefaultValue(n),Lt=Te?this.pluralResolver.getSuffix(E,n.count,n):"",it=n.ordinal&&Te?this.pluralResolver.getSuffix(E,n.count,{ordinal:!1}):"",Pt=Te&&!n.ordinal&&n.count===0&&this.pluralResolver.shouldUseIntlApi(),Vt=Pt&&n[`defaultValue${this.options.pluralSeparator}zero`]||n[`defaultValue${Lt}`]||n[`defaultValue${it}`]||n.defaultValue;!this.isValidLookup(W)&&Ie&&(de=!0,W=Vt),this.isValidLookup(W)||(ee=!0,W=g);const we=(n.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&ee?void 0:W,_e=Ie&&Vt!==W&&this.options.updateMissing;if(ee||de||_e){if(this.logger.log(_e?"updateKey":"missingKey",E,w,g,_e?Vt:W),c){const De=this.resolve(g,{...n,keySeparator:!1});De&&De.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let Ye=[];const Ze=this.languageUtils.getFallbackCodes(this.options.fallbackLng,n.lng||this.language);if(this.options.saveMissingTo==="fallback"&&Ze&&Ze[0])for(let De=0;De<Ze.length;De++)Ye.push(Ze[De]);else this.options.saveMissingTo==="all"?Ye=this.languageUtils.toResolveHierarchy(n.lng||this.language):Ye.push(n.lng||this.language);const Ne=(De,We,le)=>{const ue=Ie&&le!==W?le:we;this.options.missingKeyHandler?this.options.missingKeyHandler(De,w,We,ue,_e,n):this.backendConnector&&this.backendConnector.saveMissing&&this.backendConnector.saveMissing(De,w,We,ue,_e,n),this.emit("missingKey",De,w,We,W)};this.options.saveMissing&&(this.options.saveMissingPlurals&&Te?Ye.forEach(De=>{const We=this.pluralResolver.getSuffixes(De,n);Pt&&n[`defaultValue${this.options.pluralSeparator}zero`]&&We.indexOf(`${this.options.pluralSeparator}zero`)<0&&We.push(`${this.options.pluralSeparator}zero`),We.forEach(le=>{Ne([De],g+le,n[`defaultValue${le}`]||Vt)})}):Ne(Ye,g,Vt))}W=this.extendTranslation(W,e,n,P,a),ee&&W===g&&this.options.appendNamespaceToMissingKey&&(W=`${w}:${g}`),(ee||de)&&this.options.parseMissingKeyHandler&&(this.options.compatibilityAPI!=="v1"?W=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${w}:${g}`:g,de?W:void 0):W=this.options.parseMissingKeyHandler(W))}return o?(P.res=W,P.usedParams=this.getUsedParamsDetails(n),P):W}extendTranslation(e,n,a,o,c){var g=this;if(this.i18nFormat&&this.i18nFormat.parse)e=this.i18nFormat.parse(e,{...this.options.interpolation.defaultVariables,...a},a.lng||this.language||o.usedLng,o.usedNS,o.usedKey,{resolved:o});else if(!a.skipInterpolation){a.interpolation&&this.interpolator.init({...a,interpolation:{...this.options.interpolation,...a.interpolation}});const E=gt(e)&&(a&&a.interpolation&&a.interpolation.skipOnVariables!==void 0?a.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let L;if(E){const W=e.match(this.interpolator.nestingRegexp);L=W&&W.length}let P=a.replace&&!gt(a.replace)?a.replace:a;if(this.options.interpolation.defaultVariables&&(P={...this.options.interpolation.defaultVariables,...P}),e=this.interpolator.interpolate(e,P,a.lng||this.language||o.usedLng,a),E){const W=e.match(this.interpolator.nestingRegexp),se=W&&W.length;L<se&&(a.nest=!1)}!a.lng&&this.options.compatibilityAPI!=="v1"&&o&&o.res&&(a.lng=this.language||o.usedLng),a.nest!==!1&&(e=this.interpolator.nest(e,function(){for(var W=arguments.length,se=new Array(W),ae=0;ae<W;ae++)se[ae]=arguments[ae];return c&&c[0]===se[0]&&!a.context?(g.logger.warn(`It seems you are nesting recursively key: ${se[0]} in key: ${n[0]}`),null):g.translate(...se,n)},a)),a.interpolation&&this.interpolator.reset()}const y=a.postProcess||this.options.postProcess,w=gt(y)?[y]:y;return e!=null&&w&&w.length&&a.applyPostProcessor!==!1&&(e=hp.handle(w,e,n,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...o,usedParams:this.getUsedParamsDetails(a)},...a}:a,this)),e}resolve(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a,o,c,g,y;return gt(e)&&(e=[e]),e.forEach(w=>{if(this.isValidLookup(a))return;const E=this.extractFromKey(w,n),L=E.key;o=L;let P=E.namespaces;this.options.fallbackNS&&(P=P.concat(this.options.fallbackNS));const W=n.count!==void 0&&!gt(n.count),se=W&&!n.ordinal&&n.count===0&&this.pluralResolver.shouldUseIntlApi(),ae=n.context!==void 0&&(gt(n.context)||typeof n.context=="number")&&n.context!=="",ke=n.lngs?n.lngs:this.languageUtils.toResolveHierarchy(n.lng||this.language,n.fallbackLng);P.forEach(G=>{this.isValidLookup(a)||(y=G,!gp[`${ke[0]}-${G}`]&&this.utils&&this.utils.hasLoadedNamespace&&!this.utils.hasLoadedNamespace(y)&&(gp[`${ke[0]}-${G}`]=!0,this.logger.warn(`key "${o}" for languages "${ke.join(", ")}" won't get resolved as namespace "${y}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),ke.forEach(Z=>{if(this.isValidLookup(a))return;g=Z;const be=[L];if(this.i18nFormat&&this.i18nFormat.addLookupKeys)this.i18nFormat.addLookupKeys(be,L,Z,G,n);else{let de;W&&(de=this.pluralResolver.getSuffix(Z,n.count,n));const ee=`${this.options.pluralSeparator}zero`,Te=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(W&&(be.push(L+de),n.ordinal&&de.indexOf(Te)===0&&be.push(L+de.replace(Te,this.options.pluralSeparator)),se&&be.push(L+ee)),ae){const Ie=`${L}${this.options.contextSeparator}${n.context}`;be.push(Ie),W&&(be.push(Ie+de),n.ordinal&&de.indexOf(Te)===0&&be.push(Ie+de.replace(Te,this.options.pluralSeparator)),se&&be.push(Ie+ee))}}let fe;for(;fe=be.pop();)this.isValidLookup(a)||(c=fe,a=this.getResource(Z,G,fe,n))}))})}),{res:a,usedKey:o,exactUsedKey:c,usedLng:g,usedNS:y}}isValidLookup(e){return e!==void 0&&!(!this.options.returnNull&&e===null)&&!(!this.options.returnEmptyString&&e==="")}getResource(e,n,a){let o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(e,n,a,o):this.resourceStore.getResource(e,n,a,o)}getUsedParamsDetails(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const n=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],a=e.replace&&!gt(e.replace);let o=a?e.replace:e;if(a&&typeof e.count<"u"&&(o.count=e.count),this.options.interpolation.defaultVariables&&(o={...this.options.interpolation.defaultVariables,...o}),!a){o={...o};for(const c of n)delete o[c]}return o}static hasDefaultValue(e){const n="defaultValue";for(const a in e)if(Object.prototype.hasOwnProperty.call(e,a)&&n===a.substring(0,n.length)&&e[a]!==void 0)return!0;return!1}}const Ud=r=>r.charAt(0).toUpperCase()+r.slice(1);class mp{constructor(e){this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=uo.create("languageUtils")}getScriptPartFromCode(e){if(e=Zc(e),!e||e.indexOf("-")<0)return null;const n=e.split("-");return n.length===2||(n.pop(),n[n.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(n.join("-"))}getLanguagePartFromCode(e){if(e=Zc(e),!e||e.indexOf("-")<0)return e;const n=e.split("-");return this.formatLanguageCode(n[0])}formatLanguageCode(e){if(gt(e)&&e.indexOf("-")>-1){if(typeof Intl<"u"&&typeof Intl.getCanonicalLocales<"u")try{let o=Intl.getCanonicalLocales(e)[0];if(o&&this.options.lowerCaseLng&&(o=o.toLowerCase()),o)return o}catch{}const n=["hans","hant","latn","cyrl","cans","mong","arab"];let a=e.split("-");return this.options.lowerCaseLng?a=a.map(o=>o.toLowerCase()):a.length===2?(a[0]=a[0].toLowerCase(),a[1]=a[1].toUpperCase(),n.indexOf(a[1].toLowerCase())>-1&&(a[1]=Ud(a[1].toLowerCase()))):a.length===3&&(a[0]=a[0].toLowerCase(),a[1].length===2&&(a[1]=a[1].toUpperCase()),a[0]!=="sgn"&&a[2].length===2&&(a[2]=a[2].toUpperCase()),n.indexOf(a[1].toLowerCase())>-1&&(a[1]=Ud(a[1].toLowerCase())),n.indexOf(a[2].toLowerCase())>-1&&(a[2]=Ud(a[2].toLowerCase()))),a.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}isSupportedCode(e){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}getBestMatchFromCodes(e){if(!e)return null;let n;return e.forEach(a=>{if(n)return;const o=this.formatLanguageCode(a);(!this.options.supportedLngs||this.isSupportedCode(o))&&(n=o)}),!n&&this.options.supportedLngs&&e.forEach(a=>{if(n)return;const o=this.getLanguagePartFromCode(a);if(this.isSupportedCode(o))return n=o;n=this.options.supportedLngs.find(c=>{if(c===o)return c;if(!(c.indexOf("-")<0&&o.indexOf("-")<0)&&(c.indexOf("-")>0&&o.indexOf("-")<0&&c.substring(0,c.indexOf("-"))===o||c.indexOf(o)===0&&o.length>1))return c})}),n||(n=this.getFallbackCodes(this.options.fallbackLng)[0]),n}getFallbackCodes(e,n){if(!e)return[];if(typeof e=="function"&&(e=e(n)),gt(e)&&(e=[e]),Array.isArray(e))return e;if(!n)return e.default||[];let a=e[n];return a||(a=e[this.getScriptPartFromCode(n)]),a||(a=e[this.formatLanguageCode(n)]),a||(a=e[this.getLanguagePartFromCode(n)]),a||(a=e.default),a||[]}toResolveHierarchy(e,n){const a=this.getFallbackCodes(n||this.options.fallbackLng||[],e),o=[],c=g=>{g&&(this.isSupportedCode(g)?o.push(g):this.logger.warn(`rejecting language code not found in supportedLngs: ${g}`))};return gt(e)&&(e.indexOf("-")>-1||e.indexOf("_")>-1)?(this.options.load!=="languageOnly"&&c(this.formatLanguageCode(e)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&c(this.getScriptPartFromCode(e)),this.options.load!=="currentOnly"&&c(this.getLanguagePartFromCode(e))):gt(e)&&c(this.formatLanguageCode(e)),a.forEach(g=>{o.indexOf(g)<0&&c(this.formatLanguageCode(g))}),o}}let sm=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],lm={1:r=>+(r>1),2:r=>+(r!=1),3:r=>0,4:r=>r%10==1&&r%100!=11?0:r%10>=2&&r%10<=4&&(r%100<10||r%100>=20)?1:2,5:r=>r==0?0:r==1?1:r==2?2:r%100>=3&&r%100<=10?3:r%100>=11?4:5,6:r=>r==1?0:r>=2&&r<=4?1:2,7:r=>r==1?0:r%10>=2&&r%10<=4&&(r%100<10||r%100>=20)?1:2,8:r=>r==1?0:r==2?1:r!=8&&r!=11?2:3,9:r=>+(r>=2),10:r=>r==1?0:r==2?1:r<7?2:r<11?3:4,11:r=>r==1||r==11?0:r==2||r==12?1:r>2&&r<20?2:3,12:r=>+(r%10!=1||r%100==11),13:r=>+(r!==0),14:r=>r==1?0:r==2?1:r==3?2:3,15:r=>r%10==1&&r%100!=11?0:r%10>=2&&(r%100<10||r%100>=20)?1:2,16:r=>r%10==1&&r%100!=11?0:r!==0?1:2,17:r=>r==1||r%10==1&&r%100!=11?0:1,18:r=>r==0?0:r==1?1:2,19:r=>r==1?0:r==0||r%100>1&&r%100<11?1:r%100>10&&r%100<20?2:3,20:r=>r==1?0:r==0||r%100>0&&r%100<20?1:2,21:r=>r%100==1?1:r%100==2?2:r%100==3||r%100==4?3:0,22:r=>r==1?0:r==2?1:(r<0||r>10)&&r%10==0?2:3};const um=["v1","v2","v3"],cm=["v4"],vp={zero:0,one:1,two:2,few:3,many:4,other:5},dm=()=>{const r={};return sm.forEach(e=>{e.lngs.forEach(n=>{r[n]={numbers:e.nr,plurals:lm[e.fc]}})}),r};class fm{constructor(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.languageUtils=e,this.options=n,this.logger=uo.create("pluralResolver"),(!this.options.compatibilityJSON||cm.includes(this.options.compatibilityJSON))&&(typeof Intl>"u"||!Intl.PluralRules)&&(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=dm(),this.pluralRulesCache={}}addRule(e,n){this.rules[e]=n}clearCache(){this.pluralRulesCache={}}getRule(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.shouldUseIntlApi()){const a=Zc(e==="dev"?"en":e),o=n.ordinal?"ordinal":"cardinal",c=JSON.stringify({cleanedCode:a,type:o});if(c in this.pluralRulesCache)return this.pluralRulesCache[c];let g;try{g=new Intl.PluralRules(a,{type:o})}catch{if(!e.match(/-|_/))return;const w=this.languageUtils.getLanguagePartFromCode(e);g=this.getRule(w,n)}return this.pluralRulesCache[c]=g,g}return this.rules[e]||this.rules[this.languageUtils.getLanguagePartFromCode(e)]}needsPlural(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const a=this.getRule(e,n);return this.shouldUseIntlApi()?a&&a.resolvedOptions().pluralCategories.length>1:a&&a.numbers.length>1}getPluralFormsOfKey(e,n){let a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.getSuffixes(e,a).map(o=>`${n}${o}`)}getSuffixes(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const a=this.getRule(e,n);return a?this.shouldUseIntlApi()?a.resolvedOptions().pluralCategories.sort((o,c)=>vp[o]-vp[c]).map(o=>`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:""}${o}`):a.numbers.map(o=>this.getSuffix(e,o,n)):[]}getSuffix(e,n){let a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const o=this.getRule(e,a);return o?this.shouldUseIntlApi()?`${this.options.prepend}${a.ordinal?`ordinal${this.options.prepend}`:""}${o.select(n)}`:this.getSuffixRetroCompatible(o,n):(this.logger.warn(`no plural rule found for: ${e}`),"")}getSuffixRetroCompatible(e,n){const a=e.noAbs?e.plurals(n):e.plurals(Math.abs(n));let o=e.numbers[a];this.options.simplifyPluralSuffix&&e.numbers.length===2&&e.numbers[0]===1&&(o===2?o="plural":o===1&&(o=""));const c=()=>this.options.prepend&&o.toString()?this.options.prepend+o.toString():o.toString();return this.options.compatibilityJSON==="v1"?o===1?"":typeof o=="number"?`_plural_${o.toString()}`:c():this.options.compatibilityJSON==="v2"||this.options.simplifyPluralSuffix&&e.numbers.length===2&&e.numbers[0]===1?c():this.options.prepend&&a.toString()?this.options.prepend+a.toString():a.toString()}shouldUseIntlApi(){return!um.includes(this.options.compatibilityJSON)}}const bp=function(r,e,n){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:".",o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,c=qg(r,e,n);return!c&&o&&gt(n)&&(c=zd(r,n,a),c===void 0&&(c=zd(e,n,a))),c},Vd=r=>r.replace(/\$/g,"$$$$");class pm{constructor(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=uo.create("interpolator"),this.options=e,this.format=e.interpolation&&e.interpolation.format||(n=>n),this.init(e)}init(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};e.interpolation||(e.interpolation={escapeValue:!0});const{escape:n,escapeValue:a,useRawValueToEscape:o,prefix:c,prefixEscaped:g,suffix:y,suffixEscaped:w,formatSeparator:E,unescapeSuffix:L,unescapePrefix:P,nestingPrefix:W,nestingPrefixEscaped:se,nestingSuffix:ae,nestingSuffixEscaped:ke,nestingOptionsSeparator:G,maxReplaces:Z,alwaysFormat:be}=e.interpolation;this.escape=n!==void 0?n:tm,this.escapeValue=a!==void 0?a:!0,this.useRawValueToEscape=o!==void 0?o:!1,this.prefix=c?xu(c):g||"{{",this.suffix=y?xu(y):w||"}}",this.formatSeparator=E||",",this.unescapePrefix=L?"":P||"-",this.unescapeSuffix=this.unescapePrefix?"":L||"",this.nestingPrefix=W?xu(W):se||xu("$t("),this.nestingSuffix=ae?xu(ae):ke||xu(")"),this.nestingOptionsSeparator=G||",",this.maxReplaces=Z||1e3,this.alwaysFormat=be!==void 0?be:!1,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const e=(n,a)=>n&&n.source===a?(n.lastIndex=0,n):new RegExp(a,"g");this.regexp=e(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=e(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=e(this.nestingRegexp,`${this.nestingPrefix}(.+?)${this.nestingSuffix}`)}interpolate(e,n,a,o){let c,g,y;const w=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},E=se=>{if(se.indexOf(this.formatSeparator)<0){const Z=bp(n,w,se,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(Z,void 0,a,{...o,...n,interpolationkey:se}):Z}const ae=se.split(this.formatSeparator),ke=ae.shift().trim(),G=ae.join(this.formatSeparator).trim();return this.format(bp(n,w,ke,this.options.keySeparator,this.options.ignoreJSONStructure),G,a,{...o,...n,interpolationkey:ke})};this.resetRegExp();const L=o&&o.missingInterpolationHandler||this.options.missingInterpolationHandler,P=o&&o.interpolation&&o.interpolation.skipOnVariables!==void 0?o.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:se=>Vd(se)},{regex:this.regexp,safeValue:se=>this.escapeValue?Vd(this.escape(se)):Vd(se)}].forEach(se=>{for(y=0;c=se.regex.exec(e);){const ae=c[1].trim();if(g=E(ae),g===void 0)if(typeof L=="function"){const G=L(e,c,o);g=gt(G)?G:""}else if(o&&Object.prototype.hasOwnProperty.call(o,ae))g="";else if(P){g=c[0];continue}else this.logger.warn(`missed to pass in variable ${ae} for interpolating ${e}`),g="";else!gt(g)&&!this.useRawValueToEscape&&(g=lp(g));const ke=se.safeValue(g);if(e=e.replace(c[0],ke),P?(se.regex.lastIndex+=g.length,se.regex.lastIndex-=c[0].length):se.regex.lastIndex=0,y++,y>=this.maxReplaces)break}}),e}nest(e,n){let a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o,c,g;const y=(w,E)=>{const L=this.nestingOptionsSeparator;if(w.indexOf(L)<0)return w;const P=w.split(new RegExp(`${L}[ ]*{`));let W=`{${P[1]}`;w=P[0],W=this.interpolate(W,g);const se=W.match(/'/g),ae=W.match(/"/g);(se&&se.length%2===0&&!ae||ae.length%2!==0)&&(W=W.replace(/'/g,'"'));try{g=JSON.parse(W),E&&(g={...E,...g})}catch(ke){return this.logger.warn(`failed parsing options string in nesting for key ${w}`,ke),`${w}${L}${W}`}return g.defaultValue&&g.defaultValue.indexOf(this.prefix)>-1&&delete g.defaultValue,w};for(;o=this.nestingRegexp.exec(e);){let w=[];g={...a},g=g.replace&&!gt(g.replace)?g.replace:g,g.applyPostProcessor=!1,delete g.defaultValue;let E=!1;if(o[0].indexOf(this.formatSeparator)!==-1&&!/{.*}/.test(o[1])){const L=o[1].split(this.formatSeparator).map(P=>P.trim());o[1]=L.shift(),w=L,E=!0}if(c=n(y.call(this,o[1].trim(),g),g),c&&o[0]===e&&!gt(c))return c;gt(c)||(c=lp(c)),c||(this.logger.warn(`missed to resolve ${o[1]} for nesting ${e}`),c=""),E&&(c=w.reduce((L,P)=>this.format(L,P,a.lng,{...a,interpolationkey:o[1].trim()}),c.trim())),e=e.replace(o[0],c),this.regexp.lastIndex=0}return e}}const hm=r=>{let e=r.toLowerCase().trim();const n={};if(r.indexOf("(")>-1){const a=r.split("(");e=a[0].toLowerCase().trim();const o=a[1].substring(0,a[1].length-1);e==="currency"&&o.indexOf(":")<0?n.currency||(n.currency=o.trim()):e==="relativetime"&&o.indexOf(":")<0?n.range||(n.range=o.trim()):o.split(";").forEach(g=>{if(g){const[y,...w]=g.split(":"),E=w.join(":").trim().replace(/^'+|'+$/g,""),L=y.trim();n[L]||(n[L]=E),E==="false"&&(n[L]=!1),E==="true"&&(n[L]=!0),isNaN(E)||(n[L]=parseInt(E,10))}})}return{formatName:e,formatOptions:n}},Su=r=>{const e={};return(n,a,o)=>{let c=o;o&&o.interpolationkey&&o.formatParams&&o.formatParams[o.interpolationkey]&&o[o.interpolationkey]&&(c={...c,[o.interpolationkey]:void 0});const g=a+JSON.stringify(c);let y=e[g];return y||(y=r(Zc(a),o),e[g]=y),y(n)}};class gm{constructor(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=uo.create("formatter"),this.options=e,this.formats={number:Su((n,a)=>{const o=new Intl.NumberFormat(n,{...a});return c=>o.format(c)}),currency:Su((n,a)=>{const o=new Intl.NumberFormat(n,{...a,style:"currency"});return c=>o.format(c)}),datetime:Su((n,a)=>{const o=new Intl.DateTimeFormat(n,{...a});return c=>o.format(c)}),relativetime:Su((n,a)=>{const o=new Intl.RelativeTimeFormat(n,{...a});return c=>o.format(c,a.range||"day")}),list:Su((n,a)=>{const o=new Intl.ListFormat(n,{...a});return c=>o.format(c)})},this.init(e)}init(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};this.formatSeparator=n.interpolation.formatSeparator||","}add(e,n){this.formats[e.toLowerCase().trim()]=n}addCached(e,n){this.formats[e.toLowerCase().trim()]=Su(n)}format(e,n,a){let o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const c=n.split(this.formatSeparator);if(c.length>1&&c[0].indexOf("(")>1&&c[0].indexOf(")")<0&&c.find(y=>y.indexOf(")")>-1)){const y=c.findIndex(w=>w.indexOf(")")>-1);c[0]=[c[0],...c.splice(1,y)].join(this.formatSeparator)}return c.reduce((y,w)=>{const{formatName:E,formatOptions:L}=hm(w);if(this.formats[E]){let P=y;try{const W=o&&o.formatParams&&o.formatParams[o.interpolationkey]||{},se=W.locale||W.lng||o.locale||o.lng||a;P=this.formats[E](y,se,{...L,...o,...W})}catch(W){this.logger.warn(W)}return P}else this.logger.warn(`there was no format function for ${E}`);return y},e)}}const mm=(r,e)=>{r.pending[e]!==void 0&&(delete r.pending[e],r.pendingCount--)};class vm extends Kc{constructor(e,n,a){let o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};super(),this.backend=e,this.store=n,this.services=a,this.languageUtils=a.languageUtils,this.options=o,this.logger=uo.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=o.maxParallelReads||10,this.readingCalls=0,this.maxRetries=o.maxRetries>=0?o.maxRetries:5,this.retryTimeout=o.retryTimeout>=1?o.retryTimeout:350,this.state={},this.queue=[],this.backend&&this.backend.init&&this.backend.init(a,o.backend,o)}queueLoad(e,n,a,o){const c={},g={},y={},w={};return e.forEach(E=>{let L=!0;n.forEach(P=>{const W=`${E}|${P}`;!a.reload&&this.store.hasResourceBundle(E,P)?this.state[W]=2:this.state[W]<0||(this.state[W]===1?g[W]===void 0&&(g[W]=!0):(this.state[W]=1,L=!1,g[W]===void 0&&(g[W]=!0),c[W]===void 0&&(c[W]=!0),w[P]===void 0&&(w[P]=!0)))}),L||(y[E]=!0)}),(Object.keys(c).length||Object.keys(g).length)&&this.queue.push({pending:g,pendingCount:Object.keys(g).length,loaded:{},errors:[],callback:o}),{toLoad:Object.keys(c),pending:Object.keys(g),toLoadLanguages:Object.keys(y),toLoadNamespaces:Object.keys(w)}}loaded(e,n,a){const o=e.split("|"),c=o[0],g=o[1];n&&this.emit("failedLoading",c,g,n),!n&&a&&this.store.addResourceBundle(c,g,a,void 0,void 0,{skipCopy:!0}),this.state[e]=n?-1:2,n&&a&&(this.state[e]=0);const y={};this.queue.forEach(w=>{Xg(w.loaded,[c],g),mm(w,e),n&&w.errors.push(n),w.pendingCount===0&&!w.done&&(Object.keys(w.loaded).forEach(E=>{y[E]||(y[E]={});const L=w.loaded[E];L.length&&L.forEach(P=>{y[E][P]===void 0&&(y[E][P]=!0)})}),w.done=!0,w.errors.length?w.callback(w.errors):w.callback())}),this.emit("loaded",y),this.queue=this.queue.filter(w=>!w.done)}read(e,n,a){let o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,c=arguments.length>4&&arguments[4]!==void 0?arguments[4]:this.retryTimeout,g=arguments.length>5?arguments[5]:void 0;if(!e.length)return g(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:e,ns:n,fcName:a,tried:o,wait:c,callback:g});return}this.readingCalls++;const y=(E,L)=>{if(this.readingCalls--,this.waitingReads.length>0){const P=this.waitingReads.shift();this.read(P.lng,P.ns,P.fcName,P.tried,P.wait,P.callback)}if(E&&L&&o<this.maxRetries){setTimeout(()=>{this.read.call(this,e,n,a,o+1,c*2,g)},c);return}g(E,L)},w=this.backend[a].bind(this.backend);if(w.length===2){try{const E=w(e,n);E&&typeof E.then=="function"?E.then(L=>y(null,L)).catch(y):y(null,E)}catch(E){y(E)}return}return w(e,n,y)}prepareLoading(e,n){let a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),o&&o();gt(e)&&(e=this.languageUtils.toResolveHierarchy(e)),gt(n)&&(n=[n]);const c=this.queueLoad(e,n,a,o);if(!c.toLoad.length)return c.pending.length||o(),null;c.toLoad.forEach(g=>{this.loadOne(g)})}load(e,n,a){this.prepareLoading(e,n,{},a)}reload(e,n,a){this.prepareLoading(e,n,{reload:!0},a)}loadOne(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const a=e.split("|"),o=a[0],c=a[1];this.read(o,c,"read",void 0,void 0,(g,y)=>{g&&this.logger.warn(`${n}loading namespace ${c} for language ${o} failed`,g),!g&&y&&this.logger.log(`${n}loaded namespace ${c} for language ${o}`,y),this.loaded(e,g,y)})}saveMissing(e,n,a,o,c){let g=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},y=arguments.length>6&&arguments[6]!==void 0?arguments[6]:()=>{};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(n)){this.logger.warn(`did not save key "${a}" as the namespace "${n}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(!(a==null||a==="")){if(this.backend&&this.backend.create){const w={...g,isUpdate:c},E=this.backend.create.bind(this.backend);if(E.length<6)try{let L;E.length===5?L=E(e,n,a,o,w):L=E(e,n,a,o),L&&typeof L.then=="function"?L.then(P=>y(null,P)).catch(y):y(null,L)}catch(L){y(L)}else E(e,n,a,o,y,w)}!e||!e[0]||this.store.addResource(e[0],n,a,o)}}}const yp=()=>({debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:r=>{let e={};if(typeof r[1]=="object"&&(e=r[1]),gt(r[1])&&(e.defaultValue=r[1]),gt(r[2])&&(e.tDescription=r[2]),typeof r[2]=="object"||typeof r[3]=="object"){const n=r[3]||r[2];Object.keys(n).forEach(a=>{e[a]=n[a]})}return e},interpolation:{escapeValue:!0,format:r=>r,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}),wp=r=>(gt(r.ns)&&(r.ns=[r.ns]),gt(r.fallbackLng)&&(r.fallbackLng=[r.fallbackLng]),gt(r.fallbackNS)&&(r.fallbackNS=[r.fallbackNS]),r.supportedLngs&&r.supportedLngs.indexOf("cimode")<0&&(r.supportedLngs=r.supportedLngs.concat(["cimode"])),r),Qc=()=>{},bm=r=>{Object.getOwnPropertyNames(Object.getPrototypeOf(r)).forEach(n=>{typeof r[n]=="function"&&(r[n]=r[n].bind(r))})};class oc extends Kc{constructor(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;if(super(),this.options=wp(e),this.services={},this.logger=uo,this.modules={external:[]},bm(this),n&&!this.isInitialized&&!e.isClone){if(!this.options.initImmediate)return this.init(e,n),this;setTimeout(()=>{this.init(e,n)},0)}}init(){var e=this;let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},a=arguments.length>1?arguments[1]:void 0;this.isInitializing=!0,typeof n=="function"&&(a=n,n={}),!n.defaultNS&&n.defaultNS!==!1&&n.ns&&(gt(n.ns)?n.defaultNS=n.ns:n.ns.indexOf("translation")<0&&(n.defaultNS=n.ns[0]));const o=yp();this.options={...o,...this.options,...wp(n)},this.options.compatibilityAPI!=="v1"&&(this.options.interpolation={...o.interpolation,...this.options.interpolation}),n.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=n.keySeparator),n.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=n.nsSeparator);const c=L=>L?typeof L=="function"?new L:L:null;if(!this.options.isClone){this.modules.logger?uo.init(c(this.modules.logger),this.options):uo.init(null,this.options);let L;this.modules.formatter?L=this.modules.formatter:typeof Intl<"u"&&(L=gm);const P=new mp(this.options);this.store=new pp(this.options.resources,this.options);const W=this.services;W.logger=uo,W.resourceStore=this.store,W.languageUtils=P,W.pluralResolver=new fm(P,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),L&&(!this.options.interpolation.format||this.options.interpolation.format===o.interpolation.format)&&(W.formatter=c(L),W.formatter.init(W,this.options),this.options.interpolation.format=W.formatter.format.bind(W.formatter)),W.interpolator=new pm(this.options),W.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},W.backendConnector=new vm(c(this.modules.backend),W.resourceStore,W,this.options),W.backendConnector.on("*",function(se){for(var ae=arguments.length,ke=new Array(ae>1?ae-1:0),G=1;G<ae;G++)ke[G-1]=arguments[G];e.emit(se,...ke)}),this.modules.languageDetector&&(W.languageDetector=c(this.modules.languageDetector),W.languageDetector.init&&W.languageDetector.init(W,this.options.detection,this.options)),this.modules.i18nFormat&&(W.i18nFormat=c(this.modules.i18nFormat),W.i18nFormat.init&&W.i18nFormat.init(this)),this.translator=new Jc(this.services,this.options),this.translator.on("*",function(se){for(var ae=arguments.length,ke=new Array(ae>1?ae-1:0),G=1;G<ae;G++)ke[G-1]=arguments[G];e.emit(se,...ke)}),this.modules.external.forEach(se=>{se.init&&se.init(this)})}if(this.format=this.options.interpolation.format,a||(a=Qc),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const L=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);L.length>0&&L[0]!=="dev"&&(this.options.lng=L[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(L=>{this[L]=function(){return e.store[L](...arguments)}}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(L=>{this[L]=function(){return e.store[L](...arguments),e}});const w=ic(),E=()=>{const L=(P,W)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),w.resolve(W),a(P,W)};if(this.languages&&this.options.compatibilityAPI!=="v1"&&!this.isInitialized)return L(null,this.t.bind(this));this.changeLanguage(this.options.lng,L)};return this.options.resources||!this.options.initImmediate?E():setTimeout(E,0),w}loadResources(e){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Qc;const o=gt(e)?e:this.language;if(typeof e=="function"&&(a=e),!this.options.resources||this.options.partialBundledLanguages){if(o&&o.toLowerCase()==="cimode"&&(!this.options.preload||this.options.preload.length===0))return a();const c=[],g=y=>{if(!y||y==="cimode")return;this.services.languageUtils.toResolveHierarchy(y).forEach(E=>{E!=="cimode"&&c.indexOf(E)<0&&c.push(E)})};o?g(o):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(w=>g(w)),this.options.preload&&this.options.preload.forEach(y=>g(y)),this.services.backendConnector.load(c,this.options.ns,y=>{!y&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),a(y)})}else a(null)}reloadResources(e,n,a){const o=ic();return typeof e=="function"&&(a=e,e=void 0),typeof n=="function"&&(a=n,n=void 0),e||(e=this.languages),n||(n=this.options.ns),a||(a=Qc),this.services.backendConnector.reload(e,n,c=>{o.resolve(),a(c)}),o}use(e){if(!e)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return e.type==="backend"&&(this.modules.backend=e),(e.type==="logger"||e.log&&e.warn&&e.error)&&(this.modules.logger=e),e.type==="languageDetector"&&(this.modules.languageDetector=e),e.type==="i18nFormat"&&(this.modules.i18nFormat=e),e.type==="postProcessor"&&hp.addPostProcessor(e),e.type==="formatter"&&(this.modules.formatter=e),e.type==="3rdParty"&&this.modules.external.push(e),this}setResolvedLanguage(e){if(!(!e||!this.languages)&&!(["cimode","dev"].indexOf(e)>-1))for(let n=0;n<this.languages.length;n++){const a=this.languages[n];if(!(["cimode","dev"].indexOf(a)>-1)&&this.store.hasLanguageSomeTranslations(a)){this.resolvedLanguage=a;break}}}changeLanguage(e,n){var a=this;this.isLanguageChangingTo=e;const o=ic();this.emit("languageChanging",e);const c=w=>{this.language=w,this.languages=this.services.languageUtils.toResolveHierarchy(w),this.resolvedLanguage=void 0,this.setResolvedLanguage(w)},g=(w,E)=>{E?(c(E),this.translator.changeLanguage(E),this.isLanguageChangingTo=void 0,this.emit("languageChanged",E),this.logger.log("languageChanged",E)):this.isLanguageChangingTo=void 0,o.resolve(function(){return a.t(...arguments)}),n&&n(w,function(){return a.t(...arguments)})},y=w=>{!e&&!w&&this.services.languageDetector&&(w=[]);const E=gt(w)?w:this.services.languageUtils.getBestMatchFromCodes(w);E&&(this.language||c(E),this.translator.language||this.translator.changeLanguage(E),this.services.languageDetector&&this.services.languageDetector.cacheUserLanguage&&this.services.languageDetector.cacheUserLanguage(E)),this.loadResources(E,L=>{g(L,E)})};return!e&&this.services.languageDetector&&!this.services.languageDetector.async?y(this.services.languageDetector.detect()):!e&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(y):this.services.languageDetector.detect(y):y(e),o}getFixedT(e,n,a){var o=this;const c=function(g,y){let w;if(typeof y!="object"){for(var E=arguments.length,L=new Array(E>2?E-2:0),P=2;P<E;P++)L[P-2]=arguments[P];w=o.options.overloadTranslationOptionHandler([g,y].concat(L))}else w={...y};w.lng=w.lng||c.lng,w.lngs=w.lngs||c.lngs,w.ns=w.ns||c.ns,w.keyPrefix!==""&&(w.keyPrefix=w.keyPrefix||a||c.keyPrefix);const W=o.options.keySeparator||".";let se;return w.keyPrefix&&Array.isArray(g)?se=g.map(ae=>`${w.keyPrefix}${W}${ae}`):se=w.keyPrefix?`${w.keyPrefix}${W}${g}`:g,o.t(se,w)};return gt(e)?c.lng=e:c.lngs=e,c.ns=n,c.keyPrefix=a,c}t(){return this.translator&&this.translator.translate(...arguments)}exists(){return this.translator&&this.translator.exists(...arguments)}setDefaultNamespace(e){this.options.defaultNS=e}hasLoadedNamespace(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const a=n.lng||this.resolvedLanguage||this.languages[0],o=this.options?this.options.fallbackLng:!1,c=this.languages[this.languages.length-1];if(a.toLowerCase()==="cimode")return!0;const g=(y,w)=>{const E=this.services.backendConnector.state[`${y}|${w}`];return E===-1||E===0||E===2};if(n.precheck){const y=n.precheck(this,g);if(y!==void 0)return y}return!!(this.hasResourceBundle(a,e)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||g(a,e)&&(!o||g(c,e)))}loadNamespaces(e,n){const a=ic();return this.options.ns?(gt(e)&&(e=[e]),e.forEach(o=>{this.options.ns.indexOf(o)<0&&this.options.ns.push(o)}),this.loadResources(o=>{a.resolve(),n&&n(o)}),a):(n&&n(),Promise.resolve())}loadLanguages(e,n){const a=ic();gt(e)&&(e=[e]);const o=this.options.preload||[],c=e.filter(g=>o.indexOf(g)<0&&this.services.languageUtils.isSupportedCode(g));return c.length?(this.options.preload=o.concat(c),this.loadResources(g=>{a.resolve(),n&&n(g)}),a):(n&&n(),Promise.resolve())}dir(e){if(e||(e=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!e)return"rtl";const n=["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"],a=this.services&&this.services.languageUtils||new mp(yp());return n.indexOf(a.getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return new oc(e,n)}cloneInstance(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Qc;const a=e.forkResourceStore;a&&delete e.forkResourceStore;const o={...this.options,...e,isClone:!0},c=new oc(o);return(e.debug!==void 0||e.prefix!==void 0)&&(c.logger=c.logger.clone(e)),["store","services","language"].forEach(y=>{c[y]=this[y]}),c.services={...this.services},c.services.utils={hasLoadedNamespace:c.hasLoadedNamespace.bind(c)},a&&(c.store=new pp(this.store.data,o),c.services.resourceStore=c.store),c.translator=new Jc(c.services,o),c.translator.on("*",function(y){for(var w=arguments.length,E=new Array(w>1?w-1:0),L=1;L<w;L++)E[L-1]=arguments[L];c.emit(y,...E)}),c.init(o,n),c.translator.options=o,c.translator.backendConnector.services.utils={hasLoadedNamespace:c.hasLoadedNamespace.bind(c)},c}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}const dr=oc.createInstance();dr.createInstance=oc.createInstance,dr.createInstance,dr.dir,dr.init,dr.loadResources,dr.reloadResources,dr.use,dr.changeLanguage,dr.getFixedT,dr.t,dr.exists,dr.setDefaultNamespace,dr.hasLoadedNamespace,dr.loadNamespaces,dr.loadLanguages;var tr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function xp(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}function ym(){if(console&&console.warn){for(var r=arguments.length,e=new Array(r),n=0;n<r;n++)e[n]=arguments[n];typeof e[0]=="string"&&(e[0]=`react-i18next:: ${e[0]}`),console.warn(...e)}}const Sp={};function Wd(){for(var r=arguments.length,e=new Array(r),n=0;n<r;n++)e[n]=arguments[n];typeof e[0]=="string"&&Sp[e[0]]||(typeof e[0]=="string"&&(Sp[e[0]]=new Date),ym(...e))}const kp=(r,e)=>()=>{if(r.isInitialized)e();else{const n=()=>{setTimeout(()=>{r.off("initialized",n)},0),e()};r.on("initialized",n)}};function _p(r,e,n){r.loadNamespaces(e,kp(r,n))}function Ep(r,e,n,a){typeof n=="string"&&(n=[n]),n.forEach(o=>{r.options.ns.indexOf(o)<0&&r.options.ns.push(o)}),r.loadLanguages(e,kp(r,a))}function wm(r,e){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const a=e.languages[0],o=e.options?e.options.fallbackLng:!1,c=e.languages[e.languages.length-1];if(a.toLowerCase()==="cimode")return!0;const g=(y,w)=>{const E=e.services.backendConnector.state[`${y}|${w}`];return E===-1||E===2};return n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&e.services.backendConnector.backend&&e.isLanguageChangingTo&&!g(e.isLanguageChangingTo,r)?!1:!!(e.hasResourceBundle(a,r)||!e.services.backendConnector.backend||e.options.resources&&!e.options.partialBundledLanguages||g(a,r)&&(!o||g(c,r)))}function xm(r,e){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return!e.languages||!e.languages.length?(Wd("i18n.languages were undefined or empty",e.languages),!0):e.options.ignoreJSONStructure!==void 0?e.hasLoadedNamespace(r,{lng:n.lng,precheck:(o,c)=>{if(n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&o.services.backendConnector.backend&&o.isLanguageChangingTo&&!c(o.isLanguageChangingTo,r))return!1}}):wm(r,e,n)}const Sm=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,km={"&amp;":"&","&#38;":"&","&lt;":"<","&#60;":"<","&gt;":">","&#62;":">","&apos;":"'","&#39;":"'","&quot;":'"',"&#34;":'"',"&nbsp;":" ","&#160;":" ","&copy;":"©","&#169;":"©","&reg;":"®","&#174;":"®","&hellip;":"…","&#8230;":"…","&#x2F;":"/","&#47;":"/"},_m=r=>km[r];let Hd={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:r=>r.replace(Sm,_m)};function Em(){let r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Hd={...Hd,...r}}function Cm(){return Hd}let Cp;function Tm(r){Cp=r}function Rm(){return Cp}const Im={type:"3rdParty",init(r){Em(r.options.react),Tm(r)}},Am=Pe.createContext();class Om{constructor(){this.usedNamespaces={}}addUsedNamespaces(e){e.forEach(n=>{this.usedNamespaces[n]||(this.usedNamespaces[n]=!0)})}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}}const Mm=(r,e)=>{const n=Pe.useRef();return Pe.useEffect(()=>{n.current=e?n.current:r},[r,e]),n.current};function Ps(r){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{i18n:n}=e,{i18n:a,defaultNS:o}=Pe.useContext(Am)||{},c=n||a||Rm();if(c&&!c.reportNamespaces&&(c.reportNamespaces=new Om),!c){Wd("You will need to pass in an i18next instance by using initReactI18next");const fe=(ee,Te)=>typeof Te=="string"?Te:Te&&typeof Te=="object"&&typeof Te.defaultValue=="string"?Te.defaultValue:Array.isArray(ee)?ee[ee.length-1]:ee,de=[fe,{},!1];return de.t=fe,de.i18n={},de.ready=!1,de}c.options.react&&c.options.react.wait!==void 0&&Wd("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");const g={...Cm(),...c.options.react,...e},{useSuspense:y,keyPrefix:w}=g;let E=r||o||c.options&&c.options.defaultNS;E=typeof E=="string"?[E]:E||["translation"],c.reportNamespaces.addUsedNamespaces&&c.reportNamespaces.addUsedNamespaces(E);const L=(c.isInitialized||c.initializedStoreOnce)&&E.every(fe=>xm(fe,c,g));function P(){return c.getFixedT(e.lng||null,g.nsMode==="fallback"?E:E[0],w)}const[W,se]=Pe.useState(P);let ae=E.join();e.lng&&(ae=`${e.lng}${ae}`);const ke=Mm(ae),G=Pe.useRef(!0);Pe.useEffect(()=>{const{bindI18n:fe,bindI18nStore:de}=g;G.current=!0,!L&&!y&&(e.lng?Ep(c,e.lng,E,()=>{G.current&&se(P)}):_p(c,E,()=>{G.current&&se(P)})),L&&ke&&ke!==ae&&G.current&&se(P);function ee(){G.current&&se(P)}return fe&&c&&c.on(fe,ee),de&&c&&c.store.on(de,ee),()=>{G.current=!1,fe&&c&&fe.split(" ").forEach(Te=>c.off(Te,ee)),de&&c&&de.split(" ").forEach(Te=>c.store.off(Te,ee))}},[c,ae]);const Z=Pe.useRef(!0);Pe.useEffect(()=>{G.current&&!Z.current&&se(P),Z.current=!1},[c,w]);const be=[W,c,L];if(be.t=W,be.i18n=c,be.ready=L,L||!L&&!y)return be;throw new Promise(fe=>{e.lng?Ep(c,e.lng,E,()=>fe()):_p(c,E,()=>fe())})}const Pm={nl:{translation:{date:{formats:{friendly_date:"%-d %B %Y (%-d-%-m-%Y)"}},step_i_of_n:"Stap %{i} van %{n}",previous:"Terug",next:"Verder",abort:"Later afmaken",previous_questionnaire:"Vorige vragenlijst",done:"Klaar",print_answers:"Print antwoorden",download_answers_pdf:"Download als PDF",pdf_download_failed_message:"Het aanmaken van de download is helaas mislukt.",questionnaire_not_completed:{heading:"Deze vragenlijst is nog niet volledig ingevuld!",explanation:"Als u de vragenlijst toch opslaat, kan het zijn dat er geen schaalscores berekend worden omdat hiervoor onvoldoende informatie voorhanden is. U kunt uw antwoorden hieronder alsnog aanvullen. Vragen die nog niet volledig zijn beantwoord, worden rood gemarkeerd.",save_anyway:"Toch opslaan"},thanks_for_filling_out:"Bedankt voor het invullen van deze vragenlijst. Uw antwoorden zijn opgeslagen.",ios_download_instruction:`Er opent een nieuw tabblad waarop de download wordt gestart.
2
2
 
3
3
  Sla het bestand op in Boeken/iBooks. Keer dan terug naar de browser met de knop '< Safari' geheel linksboven.
4
4
 
@@ -10,33 +10,33 @@ Back in the browser, press the back '<' button and press 'Done' to complete your
10
10
 
11
11
  Speichern Sie die Datei in Books/iBooks. Kehren Sie dann mit der Knopf '< Safari' oben links zum Browser zurück.
12
12
 
13
- Denn, im Browser gehen Sie mit dem Zurück-Knopf '<' zurück und drücken Sie auf 'Fertig' um die Fragebogen zu speichern.`,validations:{maximum:{date:"Das Datum muss an oder vor dem %{friendly_date} liegen.",number:"Ihre Antwort muss kleiner oder gleich %{value} sein."},minimum:{date:"Das Datum muss an oder nach dem %{friendly_date} liegen.",number:"Ihre Antwort muss größer oder gleich %{value} sein."},requires_answer:"Diese Frage muss beantwortet werden.",regexp:"Ihre Antwort muss dem Format %{matcher} entsprechen.",valid_integer:"Ihre Antwort muss eine runde (oder auch ganze) Zahl sein.",valid_float:"Ihre Antwort muss eine Zahl sein (benutzen Sie bitte einen Punkt für Dezimalzahlen, kein Komma).",valid_date:{valid_date_year:"Geben Sie ein gültiges Jahr nach dem Format JJJJ an, zum Beispiel 2015.",valid_date_month_year:"Geben Sie ein gültiges Datum nach dem Format MM-JJJJ an, zum Beispiel 08-2015.",valid_date_day_month_year:"Geben Sie ein gültiges Datum nach dem Format TT-MM-JJJJ an, zum Beispiel 13-08-2015.",valid_date_hour_minute:"Geben Sie eine gültige Tageszeit nach dem Format ss:mm an, zum Beispiel 13:05",valid_date_day_hour_minute_month_year:"Geben Sie eine gültige Tageszeit nach dem Format TT-MM-JJJJ ss:mm, zum Beispiel 13-08-2015 13:05"},too_many_checked:"Sie haben zu viele Möglichkeiten ausgewählt.",not_all_checked:"Sie haben zu wenige Möglichkeiten ausgewählt.",maximum_checked_allowed:{one:"Sie können maximal %{maximum_checked_value} Möglichkeit auswählen.",other:"Sie können maximal %{maximum_checked_value} Möglichkeiten auswählen."},minimum_checked_required:{one:"Sie müssen mindestens %{minimum_checked_value} Möglichkeit auswählen.",other:"Sie müssen mindestens %{minimum_checked_value} Möglichkeiten auswählen."},answer_group_minimum:"Beantworten Sie mindestens %{value} von diesen Fragen",answer_group_maximum:"Beantworten Sie höchstens %{value} von diesen Fragen"},placeholders:{day:"TT",month:"MM",year:"JJJJ",hour:"ss",minute:"mm"},units:{days:"Tage",hours:"Stunden",minutes:"Minuten",seconds:"Sekunden"},day:"Tag",month:"Monat",year:"Jahr",hour:"Stunde",minute:"Minute",choose_a_country:"Wählen Sie ein Land"}}};cr.use(cm).init({resources:hm,lng:"nl",fallbackLng:"en",interpolation:{prefix:"%{",suffix:"}",escapeValue:!1},debug:!0});var Yt;(function(r){r.assertEqual=o=>o;function e(o){}r.assertIs=e;function n(o){throw new Error}r.assertNever=n,r.arrayToEnum=o=>{const d={};for(const v of o)d[v]=v;return d},r.getValidEnumValues=o=>{const d=r.objectKeys(o).filter(x=>typeof o[o[x]]!="number"),v={};for(const x of d)v[x]=o[x];return r.objectValues(v)},r.objectValues=o=>r.objectKeys(o).map(function(d){return o[d]}),r.objectKeys=typeof Object.keys=="function"?o=>Object.keys(o):o=>{const d=[];for(const v in o)Object.prototype.hasOwnProperty.call(o,v)&&d.push(v);return d},r.find=(o,d)=>{for(const v of o)if(d(v))return v},r.isInteger=typeof Number.isInteger=="function"?o=>Number.isInteger(o):o=>typeof o=="number"&&isFinite(o)&&Math.floor(o)===o;function a(o,d=" | "){return o.map(v=>typeof v=="string"?`'${v}'`:v).join(d)}r.joinValues=a,r.jsonStringifyReplacer=(o,d)=>typeof d=="bigint"?d.toString():d})(Yt||(Yt={}));var jd;(function(r){r.mergeShapes=(e,n)=>({...e,...n})})(jd||(jd={}));const Ue=Yt.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),Ms=r=>{switch(typeof r){case"undefined":return Ue.undefined;case"string":return Ue.string;case"number":return isNaN(r)?Ue.nan:Ue.number;case"boolean":return Ue.boolean;case"function":return Ue.function;case"bigint":return Ue.bigint;case"symbol":return Ue.symbol;case"object":return Array.isArray(r)?Ue.array:r===null?Ue.null:r.then&&typeof r.then=="function"&&r.catch&&typeof r.catch=="function"?Ue.promise:typeof Map<"u"&&r instanceof Map?Ue.map:typeof Set<"u"&&r instanceof Set?Ue.set:typeof Date<"u"&&r instanceof Date?Ue.date:Ue.object;default:return Ue.unknown}},Ee=Yt.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]),gm=r=>JSON.stringify(r,null,2).replace(/"([^"]+)":/g,"$1:");class Ta extends Error{constructor(e){super(),this.issues=[],this.addIssue=a=>{this.issues=[...this.issues,a]},this.addIssues=(a=[])=>{this.issues=[...this.issues,...a]};const n=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,n):this.__proto__=n,this.name="ZodError",this.issues=e}get errors(){return this.issues}format(e){const n=e||function(d){return d.message},a={_errors:[]},o=d=>{for(const v of d.issues)if(v.code==="invalid_union")v.unionErrors.map(o);else if(v.code==="invalid_return_type")o(v.returnTypeError);else if(v.code==="invalid_arguments")o(v.argumentsError);else if(v.path.length===0)a._errors.push(n(v));else{let x=a,w=0;for(;w<v.path.length;){const E=v.path[w];w===v.path.length-1?(x[E]=x[E]||{_errors:[]},x[E]._errors.push(n(v))):x[E]=x[E]||{_errors:[]},x=x[E],w++}}};return o(this),a}toString(){return this.message}get message(){return JSON.stringify(this.issues,Yt.jsonStringifyReplacer,2)}get isEmpty(){return this.issues.length===0}flatten(e=n=>n.message){const n={},a=[];for(const o of this.issues)o.path.length>0?(n[o.path[0]]=n[o.path[0]]||[],n[o.path[0]].push(e(o))):a.push(e(o));return{formErrors:a,fieldErrors:n}}get formErrors(){return this.flatten()}}Ta.create=r=>new Ta(r);const rc=(r,e)=>{let n;switch(r.code){case Ee.invalid_type:r.received===Ue.undefined?n="Required":n=`Expected ${r.expected}, received ${r.received}`;break;case Ee.invalid_literal:n=`Invalid literal value, expected ${JSON.stringify(r.expected,Yt.jsonStringifyReplacer)}`;break;case Ee.unrecognized_keys:n=`Unrecognized key(s) in object: ${Yt.joinValues(r.keys,", ")}`;break;case Ee.invalid_union:n="Invalid input";break;case Ee.invalid_union_discriminator:n=`Invalid discriminator value. Expected ${Yt.joinValues(r.options)}`;break;case Ee.invalid_enum_value:n=`Invalid enum value. Expected ${Yt.joinValues(r.options)}, received '${r.received}'`;break;case Ee.invalid_arguments:n="Invalid function arguments";break;case Ee.invalid_return_type:n="Invalid function return type";break;case Ee.invalid_date:n="Invalid date";break;case Ee.invalid_string:typeof r.validation=="object"?"includes"in r.validation?(n=`Invalid input: must include "${r.validation.includes}"`,typeof r.validation.position=="number"&&(n=`${n} at one or more positions greater than or equal to ${r.validation.position}`)):"startsWith"in r.validation?n=`Invalid input: must start with "${r.validation.startsWith}"`:"endsWith"in r.validation?n=`Invalid input: must end with "${r.validation.endsWith}"`:Yt.assertNever(r.validation):r.validation!=="regex"?n=`Invalid ${r.validation}`:n="Invalid";break;case Ee.too_small:r.type==="array"?n=`Array must contain ${r.exact?"exactly":r.inclusive?"at least":"more than"} ${r.minimum} element(s)`:r.type==="string"?n=`String must contain ${r.exact?"exactly":r.inclusive?"at least":"over"} ${r.minimum} character(s)`:r.type==="number"?n=`Number must be ${r.exact?"exactly equal to ":r.inclusive?"greater than or equal to ":"greater than "}${r.minimum}`:r.type==="date"?n=`Date must be ${r.exact?"exactly equal to ":r.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(r.minimum))}`:n="Invalid input";break;case Ee.too_big:r.type==="array"?n=`Array must contain ${r.exact?"exactly":r.inclusive?"at most":"less than"} ${r.maximum} element(s)`:r.type==="string"?n=`String must contain ${r.exact?"exactly":r.inclusive?"at most":"under"} ${r.maximum} character(s)`:r.type==="number"?n=`Number must be ${r.exact?"exactly":r.inclusive?"less than or equal to":"less than"} ${r.maximum}`:r.type==="bigint"?n=`BigInt must be ${r.exact?"exactly":r.inclusive?"less than or equal to":"less than"} ${r.maximum}`:r.type==="date"?n=`Date must be ${r.exact?"exactly":r.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(r.maximum))}`:n="Invalid input";break;case Ee.custom:n="Invalid input";break;case Ee.invalid_intersection_types:n="Intersection results could not be merged";break;case Ee.not_multiple_of:n=`Number must be a multiple of ${r.multipleOf}`;break;case Ee.not_finite:n="Number must be finite";break;default:n=e.defaultError,Yt.assertNever(r)}return{message:n}};let gp=rc;function mm(r){gp=r}function Gc(){return gp}const Zc=r=>{const{data:e,path:n,errorMaps:a,issueData:o}=r,d=[...n,...o.path||[]],v={...o,path:d};let x="";const w=a.filter(E=>!!E).slice().reverse();for(const E of w)x=E(v,{data:e,defaultError:x}).message;return{...o,path:d,message:o.message||x}},vm=[];function We(r,e){const n=Zc({issueData:e,data:r.data,path:r.path,errorMaps:[r.common.contextualErrorMap,r.schemaErrorMap,Gc(),rc].filter(a=>!!a)});r.common.issues.push(n)}class Ir{constructor(){this.value="valid"}dirty(){this.value==="valid"&&(this.value="dirty")}abort(){this.value!=="aborted"&&(this.value="aborted")}static mergeArray(e,n){const a=[];for(const o of n){if(o.status==="aborted")return yt;o.status==="dirty"&&e.dirty(),a.push(o.value)}return{status:e.value,value:a}}static async mergeObjectAsync(e,n){const a=[];for(const o of n)a.push({key:await o.key,value:await o.value});return Ir.mergeObjectSync(e,a)}static mergeObjectSync(e,n){const a={};for(const o of n){const{key:d,value:v}=o;if(d.status==="aborted"||v.status==="aborted")return yt;d.status==="dirty"&&e.dirty(),v.status==="dirty"&&e.dirty(),d.value!=="__proto__"&&(typeof v.value<"u"||o.alwaysSet)&&(a[d.value]=v.value)}return{status:e.value,value:a}}}const yt=Object.freeze({status:"aborted"}),mp=r=>({status:"dirty",value:r}),Gr=r=>({status:"valid",value:r}),zd=r=>r.status==="aborted",Ud=r=>r.status==="dirty",ic=r=>r.status==="valid",Yc=r=>typeof Promise<"u"&&r instanceof Promise;var rt;(function(r){r.errToObj=e=>typeof e=="string"?{message:e}:e||{},r.toString=e=>typeof e=="string"?e:e==null?void 0:e.message})(rt||(rt={}));class oo{constructor(e,n,a,o){this._cachedPath=[],this.parent=e,this.data=n,this._path=a,this._key=o}get path(){return this._cachedPath.length||(this._key instanceof Array?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}}const vp=(r,e)=>{if(ic(e))return{success:!0,data:e.value};if(!r.common.issues.length)throw new Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;const n=new Ta(r.common.issues);return this._error=n,this._error}}};function Ct(r){if(!r)return{};const{errorMap:e,invalid_type_error:n,required_error:a,description:o}=r;if(e&&(n||a))throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);return e?{errorMap:e,description:o}:{errorMap:(v,x)=>v.code!=="invalid_type"?{message:x.defaultError}:typeof x.data>"u"?{message:a??x.defaultError}:{message:n??x.defaultError},description:o}}class Rt{constructor(e){this.spa=this.safeParseAsync,this._def=e,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this)}get description(){return this._def.description}_getType(e){return Ms(e.data)}_getOrReturnCtx(e,n){return n||{common:e.parent.common,data:e.data,parsedType:Ms(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}_processInputParams(e){return{status:new Ir,ctx:{common:e.parent.common,data:e.data,parsedType:Ms(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}}_parseSync(e){const n=this._parse(e);if(Yc(n))throw new Error("Synchronous parse encountered promise.");return n}_parseAsync(e){const n=this._parse(e);return Promise.resolve(n)}parse(e,n){const a=this.safeParse(e,n);if(a.success)return a.data;throw a.error}safeParse(e,n){var a;const o={common:{issues:[],async:(a=n==null?void 0:n.async)!==null&&a!==void 0?a:!1,contextualErrorMap:n==null?void 0:n.errorMap},path:(n==null?void 0:n.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:Ms(e)},d=this._parseSync({data:e,path:o.path,parent:o});return vp(o,d)}async parseAsync(e,n){const a=await this.safeParseAsync(e,n);if(a.success)return a.data;throw a.error}async safeParseAsync(e,n){const a={common:{issues:[],contextualErrorMap:n==null?void 0:n.errorMap,async:!0},path:(n==null?void 0:n.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:Ms(e)},o=this._parse({data:e,path:a.path,parent:a}),d=await(Yc(o)?o:Promise.resolve(o));return vp(a,d)}refine(e,n){const a=o=>typeof n=="string"||typeof n>"u"?{message:n}:typeof n=="function"?n(o):n;return this._refinement((o,d)=>{const v=e(o),x=()=>d.addIssue({code:Ee.custom,...a(o)});return typeof Promise<"u"&&v instanceof Promise?v.then(w=>w?!0:(x(),!1)):v?!0:(x(),!1)})}refinement(e,n){return this._refinement((a,o)=>e(a)?!0:(o.addIssue(typeof n=="function"?n(a,o):n),!1))}_refinement(e){return new Aa({schema:this,typeName:ct.ZodEffects,effect:{type:"refinement",refinement:e}})}superRefine(e){return this._refinement(e)}optional(){return Ho.create(this,this._def)}nullable(){return Il.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return Ia.create(this,this._def)}promise(){return Eu.create(this,this._def)}or(e){return lc.create([this,e],this._def)}and(e){return uc.create(this,e,this._def)}transform(e){return new Aa({...Ct(this._def),schema:this,typeName:ct.ZodEffects,effect:{type:"transform",transform:e}})}default(e){const n=typeof e=="function"?e:()=>e;return new hc({...Ct(this._def),innerType:this,defaultValue:n,typeName:ct.ZodDefault})}brand(){return new yp({typeName:ct.ZodBranded,type:this,...Ct(this._def)})}catch(e){const n=typeof e=="function"?e:()=>e;return new ed({...Ct(this._def),innerType:this,catchValue:n,typeName:ct.ZodCatch})}describe(e){const n=this.constructor;return new n({...this._def,description:e})}pipe(e){return gc.create(this,e)}readonly(){return nd.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}const bm=/^c[^\s-]{8,}$/i,ym=/^[a-z][a-z0-9]*$/,wm=/[0-9A-HJKMNP-TV-Z]{26}/,xm=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,Sm=/^([A-Z0-9_+-]+\.?)*[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,km=/^(\p{Extended_Pictographic}|\p{Emoji_Component})+$/u,_m=/^(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))$/,Em=/^(([a-f0-9]{1,4}:){7}|::([a-f0-9]{1,4}:){0,6}|([a-f0-9]{1,4}:){1}:([a-f0-9]{1,4}:){0,5}|([a-f0-9]{1,4}:){2}:([a-f0-9]{1,4}:){0,4}|([a-f0-9]{1,4}:){3}:([a-f0-9]{1,4}:){0,3}|([a-f0-9]{1,4}:){4}:([a-f0-9]{1,4}:){0,2}|([a-f0-9]{1,4}:){5}:([a-f0-9]{1,4}:){0,1})([a-f0-9]{1,4}|(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2})))$/,Cm=r=>r.precision?r.offset?new RegExp(`^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{${r.precision}}(([+-]\\d{2}(:?\\d{2})?)|Z)$`):new RegExp(`^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{${r.precision}}Z$`):r.precision===0?r.offset?new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(([+-]\\d{2}(:?\\d{2})?)|Z)$"):new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z$"):r.offset?new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?(([+-]\\d{2}(:?\\d{2})?)|Z)$"):new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?Z$");function Tm(r,e){return!!((e==="v4"||!e)&&_m.test(r)||(e==="v6"||!e)&&Em.test(r))}class Ra extends Rt{constructor(){super(...arguments),this._regex=(e,n,a)=>this.refinement(o=>e.test(o),{validation:n,code:Ee.invalid_string,...rt.errToObj(a)}),this.nonempty=e=>this.min(1,rt.errToObj(e)),this.trim=()=>new Ra({...this._def,checks:[...this._def.checks,{kind:"trim"}]}),this.toLowerCase=()=>new Ra({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]}),this.toUpperCase=()=>new Ra({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}_parse(e){if(this._def.coerce&&(e.data=String(e.data)),this._getType(e)!==Ue.string){const d=this._getOrReturnCtx(e);return We(d,{code:Ee.invalid_type,expected:Ue.string,received:d.parsedType}),yt}const a=new Ir;let o;for(const d of this._def.checks)if(d.kind==="min")e.data.length<d.value&&(o=this._getOrReturnCtx(e,o),We(o,{code:Ee.too_small,minimum:d.value,type:"string",inclusive:!0,exact:!1,message:d.message}),a.dirty());else if(d.kind==="max")e.data.length>d.value&&(o=this._getOrReturnCtx(e,o),We(o,{code:Ee.too_big,maximum:d.value,type:"string",inclusive:!0,exact:!1,message:d.message}),a.dirty());else if(d.kind==="length"){const v=e.data.length>d.value,x=e.data.length<d.value;(v||x)&&(o=this._getOrReturnCtx(e,o),v?We(o,{code:Ee.too_big,maximum:d.value,type:"string",inclusive:!0,exact:!0,message:d.message}):x&&We(o,{code:Ee.too_small,minimum:d.value,type:"string",inclusive:!0,exact:!0,message:d.message}),a.dirty())}else if(d.kind==="email")Sm.test(e.data)||(o=this._getOrReturnCtx(e,o),We(o,{validation:"email",code:Ee.invalid_string,message:d.message}),a.dirty());else if(d.kind==="emoji")km.test(e.data)||(o=this._getOrReturnCtx(e,o),We(o,{validation:"emoji",code:Ee.invalid_string,message:d.message}),a.dirty());else if(d.kind==="uuid")xm.test(e.data)||(o=this._getOrReturnCtx(e,o),We(o,{validation:"uuid",code:Ee.invalid_string,message:d.message}),a.dirty());else if(d.kind==="cuid")bm.test(e.data)||(o=this._getOrReturnCtx(e,o),We(o,{validation:"cuid",code:Ee.invalid_string,message:d.message}),a.dirty());else if(d.kind==="cuid2")ym.test(e.data)||(o=this._getOrReturnCtx(e,o),We(o,{validation:"cuid2",code:Ee.invalid_string,message:d.message}),a.dirty());else if(d.kind==="ulid")wm.test(e.data)||(o=this._getOrReturnCtx(e,o),We(o,{validation:"ulid",code:Ee.invalid_string,message:d.message}),a.dirty());else if(d.kind==="url")try{new URL(e.data)}catch{o=this._getOrReturnCtx(e,o),We(o,{validation:"url",code:Ee.invalid_string,message:d.message}),a.dirty()}else d.kind==="regex"?(d.regex.lastIndex=0,d.regex.test(e.data)||(o=this._getOrReturnCtx(e,o),We(o,{validation:"regex",code:Ee.invalid_string,message:d.message}),a.dirty())):d.kind==="trim"?e.data=e.data.trim():d.kind==="includes"?e.data.includes(d.value,d.position)||(o=this._getOrReturnCtx(e,o),We(o,{code:Ee.invalid_string,validation:{includes:d.value,position:d.position},message:d.message}),a.dirty()):d.kind==="toLowerCase"?e.data=e.data.toLowerCase():d.kind==="toUpperCase"?e.data=e.data.toUpperCase():d.kind==="startsWith"?e.data.startsWith(d.value)||(o=this._getOrReturnCtx(e,o),We(o,{code:Ee.invalid_string,validation:{startsWith:d.value},message:d.message}),a.dirty()):d.kind==="endsWith"?e.data.endsWith(d.value)||(o=this._getOrReturnCtx(e,o),We(o,{code:Ee.invalid_string,validation:{endsWith:d.value},message:d.message}),a.dirty()):d.kind==="datetime"?Cm(d).test(e.data)||(o=this._getOrReturnCtx(e,o),We(o,{code:Ee.invalid_string,validation:"datetime",message:d.message}),a.dirty()):d.kind==="ip"?Tm(e.data,d.version)||(o=this._getOrReturnCtx(e,o),We(o,{validation:"ip",code:Ee.invalid_string,message:d.message}),a.dirty()):Yt.assertNever(d);return{status:a.value,value:e.data}}_addCheck(e){return new Ra({...this._def,checks:[...this._def.checks,e]})}email(e){return this._addCheck({kind:"email",...rt.errToObj(e)})}url(e){return this._addCheck({kind:"url",...rt.errToObj(e)})}emoji(e){return this._addCheck({kind:"emoji",...rt.errToObj(e)})}uuid(e){return this._addCheck({kind:"uuid",...rt.errToObj(e)})}cuid(e){return this._addCheck({kind:"cuid",...rt.errToObj(e)})}cuid2(e){return this._addCheck({kind:"cuid2",...rt.errToObj(e)})}ulid(e){return this._addCheck({kind:"ulid",...rt.errToObj(e)})}ip(e){return this._addCheck({kind:"ip",...rt.errToObj(e)})}datetime(e){var n;return typeof e=="string"?this._addCheck({kind:"datetime",precision:null,offset:!1,message:e}):this._addCheck({kind:"datetime",precision:typeof(e==null?void 0:e.precision)>"u"?null:e==null?void 0:e.precision,offset:(n=e==null?void 0:e.offset)!==null&&n!==void 0?n:!1,...rt.errToObj(e==null?void 0:e.message)})}regex(e,n){return this._addCheck({kind:"regex",regex:e,...rt.errToObj(n)})}includes(e,n){return this._addCheck({kind:"includes",value:e,position:n==null?void 0:n.position,...rt.errToObj(n==null?void 0:n.message)})}startsWith(e,n){return this._addCheck({kind:"startsWith",value:e,...rt.errToObj(n)})}endsWith(e,n){return this._addCheck({kind:"endsWith",value:e,...rt.errToObj(n)})}min(e,n){return this._addCheck({kind:"min",value:e,...rt.errToObj(n)})}max(e,n){return this._addCheck({kind:"max",value:e,...rt.errToObj(n)})}length(e,n){return this._addCheck({kind:"length",value:e,...rt.errToObj(n)})}get isDatetime(){return!!this._def.checks.find(e=>e.kind==="datetime")}get isEmail(){return!!this._def.checks.find(e=>e.kind==="email")}get isURL(){return!!this._def.checks.find(e=>e.kind==="url")}get isEmoji(){return!!this._def.checks.find(e=>e.kind==="emoji")}get isUUID(){return!!this._def.checks.find(e=>e.kind==="uuid")}get isCUID(){return!!this._def.checks.find(e=>e.kind==="cuid")}get isCUID2(){return!!this._def.checks.find(e=>e.kind==="cuid2")}get isULID(){return!!this._def.checks.find(e=>e.kind==="ulid")}get isIP(){return!!this._def.checks.find(e=>e.kind==="ip")}get minLength(){let e=null;for(const n of this._def.checks)n.kind==="min"&&(e===null||n.value>e)&&(e=n.value);return e}get maxLength(){let e=null;for(const n of this._def.checks)n.kind==="max"&&(e===null||n.value<e)&&(e=n.value);return e}}Ra.create=r=>{var e;return new Ra({checks:[],typeName:ct.ZodString,coerce:(e=r==null?void 0:r.coerce)!==null&&e!==void 0?e:!1,...Ct(r)})};function Rm(r,e){const n=(r.toString().split(".")[1]||"").length,a=(e.toString().split(".")[1]||"").length,o=n>a?n:a,d=parseInt(r.toFixed(o).replace(".","")),v=parseInt(e.toFixed(o).replace(".",""));return d%v/Math.pow(10,o)}class Fs extends Rt{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(e){if(this._def.coerce&&(e.data=Number(e.data)),this._getType(e)!==Ue.number){const d=this._getOrReturnCtx(e);return We(d,{code:Ee.invalid_type,expected:Ue.number,received:d.parsedType}),yt}let a;const o=new Ir;for(const d of this._def.checks)d.kind==="int"?Yt.isInteger(e.data)||(a=this._getOrReturnCtx(e,a),We(a,{code:Ee.invalid_type,expected:"integer",received:"float",message:d.message}),o.dirty()):d.kind==="min"?(d.inclusive?e.data<d.value:e.data<=d.value)&&(a=this._getOrReturnCtx(e,a),We(a,{code:Ee.too_small,minimum:d.value,type:"number",inclusive:d.inclusive,exact:!1,message:d.message}),o.dirty()):d.kind==="max"?(d.inclusive?e.data>d.value:e.data>=d.value)&&(a=this._getOrReturnCtx(e,a),We(a,{code:Ee.too_big,maximum:d.value,type:"number",inclusive:d.inclusive,exact:!1,message:d.message}),o.dirty()):d.kind==="multipleOf"?Rm(e.data,d.value)!==0&&(a=this._getOrReturnCtx(e,a),We(a,{code:Ee.not_multiple_of,multipleOf:d.value,message:d.message}),o.dirty()):d.kind==="finite"?Number.isFinite(e.data)||(a=this._getOrReturnCtx(e,a),We(a,{code:Ee.not_finite,message:d.message}),o.dirty()):Yt.assertNever(d);return{status:o.value,value:e.data}}gte(e,n){return this.setLimit("min",e,!0,rt.toString(n))}gt(e,n){return this.setLimit("min",e,!1,rt.toString(n))}lte(e,n){return this.setLimit("max",e,!0,rt.toString(n))}lt(e,n){return this.setLimit("max",e,!1,rt.toString(n))}setLimit(e,n,a,o){return new Fs({...this._def,checks:[...this._def.checks,{kind:e,value:n,inclusive:a,message:rt.toString(o)}]})}_addCheck(e){return new Fs({...this._def,checks:[...this._def.checks,e]})}int(e){return this._addCheck({kind:"int",message:rt.toString(e)})}positive(e){return this._addCheck({kind:"min",value:0,inclusive:!1,message:rt.toString(e)})}negative(e){return this._addCheck({kind:"max",value:0,inclusive:!1,message:rt.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:0,inclusive:!0,message:rt.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:0,inclusive:!0,message:rt.toString(e)})}multipleOf(e,n){return this._addCheck({kind:"multipleOf",value:e,message:rt.toString(n)})}finite(e){return this._addCheck({kind:"finite",message:rt.toString(e)})}safe(e){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:rt.toString(e)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:rt.toString(e)})}get minValue(){let e=null;for(const n of this._def.checks)n.kind==="min"&&(e===null||n.value>e)&&(e=n.value);return e}get maxValue(){let e=null;for(const n of this._def.checks)n.kind==="max"&&(e===null||n.value<e)&&(e=n.value);return e}get isInt(){return!!this._def.checks.find(e=>e.kind==="int"||e.kind==="multipleOf"&&Yt.isInteger(e.value))}get isFinite(){let e=null,n=null;for(const a of this._def.checks){if(a.kind==="finite"||a.kind==="int"||a.kind==="multipleOf")return!0;a.kind==="min"?(n===null||a.value>n)&&(n=a.value):a.kind==="max"&&(e===null||a.value<e)&&(e=a.value)}return Number.isFinite(n)&&Number.isFinite(e)}}Fs.create=r=>new Fs({checks:[],typeName:ct.ZodNumber,coerce:(r==null?void 0:r.coerce)||!1,...Ct(r)});class Ps extends Rt{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(e){if(this._def.coerce&&(e.data=BigInt(e.data)),this._getType(e)!==Ue.bigint){const d=this._getOrReturnCtx(e);return We(d,{code:Ee.invalid_type,expected:Ue.bigint,received:d.parsedType}),yt}let a;const o=new Ir;for(const d of this._def.checks)d.kind==="min"?(d.inclusive?e.data<d.value:e.data<=d.value)&&(a=this._getOrReturnCtx(e,a),We(a,{code:Ee.too_small,type:"bigint",minimum:d.value,inclusive:d.inclusive,message:d.message}),o.dirty()):d.kind==="max"?(d.inclusive?e.data>d.value:e.data>=d.value)&&(a=this._getOrReturnCtx(e,a),We(a,{code:Ee.too_big,type:"bigint",maximum:d.value,inclusive:d.inclusive,message:d.message}),o.dirty()):d.kind==="multipleOf"?e.data%d.value!==BigInt(0)&&(a=this._getOrReturnCtx(e,a),We(a,{code:Ee.not_multiple_of,multipleOf:d.value,message:d.message}),o.dirty()):Yt.assertNever(d);return{status:o.value,value:e.data}}gte(e,n){return this.setLimit("min",e,!0,rt.toString(n))}gt(e,n){return this.setLimit("min",e,!1,rt.toString(n))}lte(e,n){return this.setLimit("max",e,!0,rt.toString(n))}lt(e,n){return this.setLimit("max",e,!1,rt.toString(n))}setLimit(e,n,a,o){return new Ps({...this._def,checks:[...this._def.checks,{kind:e,value:n,inclusive:a,message:rt.toString(o)}]})}_addCheck(e){return new Ps({...this._def,checks:[...this._def.checks,e]})}positive(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:rt.toString(e)})}negative(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:rt.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:rt.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:rt.toString(e)})}multipleOf(e,n){return this._addCheck({kind:"multipleOf",value:e,message:rt.toString(n)})}get minValue(){let e=null;for(const n of this._def.checks)n.kind==="min"&&(e===null||n.value>e)&&(e=n.value);return e}get maxValue(){let e=null;for(const n of this._def.checks)n.kind==="max"&&(e===null||n.value<e)&&(e=n.value);return e}}Ps.create=r=>{var e;return new Ps({checks:[],typeName:ct.ZodBigInt,coerce:(e=r==null?void 0:r.coerce)!==null&&e!==void 0?e:!1,...Ct(r)})};class ac extends Rt{_parse(e){if(this._def.coerce&&(e.data=!!e.data),this._getType(e)!==Ue.boolean){const a=this._getOrReturnCtx(e);return We(a,{code:Ee.invalid_type,expected:Ue.boolean,received:a.parsedType}),yt}return Gr(e.data)}}ac.create=r=>new ac({typeName:ct.ZodBoolean,coerce:(r==null?void 0:r.coerce)||!1,...Ct(r)});class Cl extends Rt{_parse(e){if(this._def.coerce&&(e.data=new Date(e.data)),this._getType(e)!==Ue.date){const d=this._getOrReturnCtx(e);return We(d,{code:Ee.invalid_type,expected:Ue.date,received:d.parsedType}),yt}if(isNaN(e.data.getTime())){const d=this._getOrReturnCtx(e);return We(d,{code:Ee.invalid_date}),yt}const a=new Ir;let o;for(const d of this._def.checks)d.kind==="min"?e.data.getTime()<d.value&&(o=this._getOrReturnCtx(e,o),We(o,{code:Ee.too_small,message:d.message,inclusive:!0,exact:!1,minimum:d.value,type:"date"}),a.dirty()):d.kind==="max"?e.data.getTime()>d.value&&(o=this._getOrReturnCtx(e,o),We(o,{code:Ee.too_big,message:d.message,inclusive:!0,exact:!1,maximum:d.value,type:"date"}),a.dirty()):Yt.assertNever(d);return{status:a.value,value:new Date(e.data.getTime())}}_addCheck(e){return new Cl({...this._def,checks:[...this._def.checks,e]})}min(e,n){return this._addCheck({kind:"min",value:e.getTime(),message:rt.toString(n)})}max(e,n){return this._addCheck({kind:"max",value:e.getTime(),message:rt.toString(n)})}get minDate(){let e=null;for(const n of this._def.checks)n.kind==="min"&&(e===null||n.value>e)&&(e=n.value);return e!=null?new Date(e):null}get maxDate(){let e=null;for(const n of this._def.checks)n.kind==="max"&&(e===null||n.value<e)&&(e=n.value);return e!=null?new Date(e):null}}Cl.create=r=>new Cl({checks:[],coerce:(r==null?void 0:r.coerce)||!1,typeName:ct.ZodDate,...Ct(r)});class Kc extends Rt{_parse(e){if(this._getType(e)!==Ue.symbol){const a=this._getOrReturnCtx(e);return We(a,{code:Ee.invalid_type,expected:Ue.symbol,received:a.parsedType}),yt}return Gr(e.data)}}Kc.create=r=>new Kc({typeName:ct.ZodSymbol,...Ct(r)});class oc extends Rt{_parse(e){if(this._getType(e)!==Ue.undefined){const a=this._getOrReturnCtx(e);return We(a,{code:Ee.invalid_type,expected:Ue.undefined,received:a.parsedType}),yt}return Gr(e.data)}}oc.create=r=>new oc({typeName:ct.ZodUndefined,...Ct(r)});class sc extends Rt{_parse(e){if(this._getType(e)!==Ue.null){const a=this._getOrReturnCtx(e);return We(a,{code:Ee.invalid_type,expected:Ue.null,received:a.parsedType}),yt}return Gr(e.data)}}sc.create=r=>new sc({typeName:ct.ZodNull,...Ct(r)});class Su extends Rt{constructor(){super(...arguments),this._any=!0}_parse(e){return Gr(e.data)}}Su.create=r=>new Su({typeName:ct.ZodAny,...Ct(r)});class Tl extends Rt{constructor(){super(...arguments),this._unknown=!0}_parse(e){return Gr(e.data)}}Tl.create=r=>new Tl({typeName:ct.ZodUnknown,...Ct(r)});class Wo extends Rt{_parse(e){const n=this._getOrReturnCtx(e);return We(n,{code:Ee.invalid_type,expected:Ue.never,received:n.parsedType}),yt}}Wo.create=r=>new Wo({typeName:ct.ZodNever,...Ct(r)});class Jc extends Rt{_parse(e){if(this._getType(e)!==Ue.undefined){const a=this._getOrReturnCtx(e);return We(a,{code:Ee.invalid_type,expected:Ue.void,received:a.parsedType}),yt}return Gr(e.data)}}Jc.create=r=>new Jc({typeName:ct.ZodVoid,...Ct(r)});class Ia extends Rt{_parse(e){const{ctx:n,status:a}=this._processInputParams(e),o=this._def;if(n.parsedType!==Ue.array)return We(n,{code:Ee.invalid_type,expected:Ue.array,received:n.parsedType}),yt;if(o.exactLength!==null){const v=n.data.length>o.exactLength.value,x=n.data.length<o.exactLength.value;(v||x)&&(We(n,{code:v?Ee.too_big:Ee.too_small,minimum:x?o.exactLength.value:void 0,maximum:v?o.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:o.exactLength.message}),a.dirty())}if(o.minLength!==null&&n.data.length<o.minLength.value&&(We(n,{code:Ee.too_small,minimum:o.minLength.value,type:"array",inclusive:!0,exact:!1,message:o.minLength.message}),a.dirty()),o.maxLength!==null&&n.data.length>o.maxLength.value&&(We(n,{code:Ee.too_big,maximum:o.maxLength.value,type:"array",inclusive:!0,exact:!1,message:o.maxLength.message}),a.dirty()),n.common.async)return Promise.all([...n.data].map((v,x)=>o.type._parseAsync(new oo(n,v,n.path,x)))).then(v=>Ir.mergeArray(a,v));const d=[...n.data].map((v,x)=>o.type._parseSync(new oo(n,v,n.path,x)));return Ir.mergeArray(a,d)}get element(){return this._def.type}min(e,n){return new Ia({...this._def,minLength:{value:e,message:rt.toString(n)}})}max(e,n){return new Ia({...this._def,maxLength:{value:e,message:rt.toString(n)}})}length(e,n){return new Ia({...this._def,exactLength:{value:e,message:rt.toString(n)}})}nonempty(e){return this.min(1,e)}}Ia.create=(r,e)=>new Ia({type:r,minLength:null,maxLength:null,exactLength:null,typeName:ct.ZodArray,...Ct(e)});function ku(r){if(r instanceof Rn){const e={};for(const n in r.shape){const a=r.shape[n];e[n]=Ho.create(ku(a))}return new Rn({...r._def,shape:()=>e})}else return r instanceof Ia?new Ia({...r._def,type:ku(r.element)}):r instanceof Ho?Ho.create(ku(r.unwrap())):r instanceof Il?Il.create(ku(r.unwrap())):r instanceof so?so.create(r.items.map(e=>ku(e))):r}class Rn extends Rt{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(this._cached!==null)return this._cached;const e=this._def.shape(),n=Yt.objectKeys(e);return this._cached={shape:e,keys:n}}_parse(e){if(this._getType(e)!==Ue.object){const E=this._getOrReturnCtx(e);return We(E,{code:Ee.invalid_type,expected:Ue.object,received:E.parsedType}),yt}const{status:a,ctx:o}=this._processInputParams(e),{shape:d,keys:v}=this._getCached(),x=[];if(!(this._def.catchall instanceof Wo&&this._def.unknownKeys==="strip"))for(const E in o.data)v.includes(E)||x.push(E);const w=[];for(const E of v){const B=d[E],D=o.data[E];w.push({key:{status:"valid",value:E},value:B._parse(new oo(o,D,o.path,E)),alwaysSet:E in o.data})}if(this._def.catchall instanceof Wo){const E=this._def.unknownKeys;if(E==="passthrough")for(const B of x)w.push({key:{status:"valid",value:B},value:{status:"valid",value:o.data[B]}});else if(E==="strict")x.length>0&&(We(o,{code:Ee.unrecognized_keys,keys:x}),a.dirty());else if(E!=="strip")throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{const E=this._def.catchall;for(const B of x){const D=o.data[B];w.push({key:{status:"valid",value:B},value:E._parse(new oo(o,D,o.path,B)),alwaysSet:B in o.data})}}return o.common.async?Promise.resolve().then(async()=>{const E=[];for(const B of w){const D=await B.key;E.push({key:D,value:await B.value,alwaysSet:B.alwaysSet})}return E}).then(E=>Ir.mergeObjectSync(a,E)):Ir.mergeObjectSync(a,w)}get shape(){return this._def.shape()}strict(e){return rt.errToObj,new Rn({...this._def,unknownKeys:"strict",...e!==void 0?{errorMap:(n,a)=>{var o,d,v,x;const w=(v=(d=(o=this._def).errorMap)===null||d===void 0?void 0:d.call(o,n,a).message)!==null&&v!==void 0?v:a.defaultError;return n.code==="unrecognized_keys"?{message:(x=rt.errToObj(e).message)!==null&&x!==void 0?x:w}:{message:w}}}:{}})}strip(){return new Rn({...this._def,unknownKeys:"strip"})}passthrough(){return new Rn({...this._def,unknownKeys:"passthrough"})}extend(e){return new Rn({...this._def,shape:()=>({...this._def.shape(),...e})})}merge(e){return new Rn({unknownKeys:e._def.unknownKeys,catchall:e._def.catchall,shape:()=>({...this._def.shape(),...e._def.shape()}),typeName:ct.ZodObject})}setKey(e,n){return this.augment({[e]:n})}catchall(e){return new Rn({...this._def,catchall:e})}pick(e){const n={};return Yt.objectKeys(e).forEach(a=>{e[a]&&this.shape[a]&&(n[a]=this.shape[a])}),new Rn({...this._def,shape:()=>n})}omit(e){const n={};return Yt.objectKeys(this.shape).forEach(a=>{e[a]||(n[a]=this.shape[a])}),new Rn({...this._def,shape:()=>n})}deepPartial(){return ku(this)}partial(e){const n={};return Yt.objectKeys(this.shape).forEach(a=>{const o=this.shape[a];e&&!e[a]?n[a]=o:n[a]=o.optional()}),new Rn({...this._def,shape:()=>n})}required(e){const n={};return Yt.objectKeys(this.shape).forEach(a=>{if(e&&!e[a])n[a]=this.shape[a];else{let d=this.shape[a];for(;d instanceof Ho;)d=d._def.innerType;n[a]=d}}),new Rn({...this._def,shape:()=>n})}keyof(){return bp(Yt.objectKeys(this.shape))}}Rn.create=(r,e)=>new Rn({shape:()=>r,unknownKeys:"strip",catchall:Wo.create(),typeName:ct.ZodObject,...Ct(e)}),Rn.strictCreate=(r,e)=>new Rn({shape:()=>r,unknownKeys:"strict",catchall:Wo.create(),typeName:ct.ZodObject,...Ct(e)}),Rn.lazycreate=(r,e)=>new Rn({shape:r,unknownKeys:"strip",catchall:Wo.create(),typeName:ct.ZodObject,...Ct(e)});class lc extends Rt{_parse(e){const{ctx:n}=this._processInputParams(e),a=this._def.options;function o(d){for(const x of d)if(x.result.status==="valid")return x.result;for(const x of d)if(x.result.status==="dirty")return n.common.issues.push(...x.ctx.common.issues),x.result;const v=d.map(x=>new Ta(x.ctx.common.issues));return We(n,{code:Ee.invalid_union,unionErrors:v}),yt}if(n.common.async)return Promise.all(a.map(async d=>{const v={...n,common:{...n.common,issues:[]},parent:null};return{result:await d._parseAsync({data:n.data,path:n.path,parent:v}),ctx:v}})).then(o);{let d;const v=[];for(const w of a){const E={...n,common:{...n.common,issues:[]},parent:null},B=w._parseSync({data:n.data,path:n.path,parent:E});if(B.status==="valid")return B;B.status==="dirty"&&!d&&(d={result:B,ctx:E}),E.common.issues.length&&v.push(E.common.issues)}if(d)return n.common.issues.push(...d.ctx.common.issues),d.result;const x=v.map(w=>new Ta(w));return We(n,{code:Ee.invalid_union,unionErrors:x}),yt}}get options(){return this._def.options}}lc.create=(r,e)=>new lc({options:r,typeName:ct.ZodUnion,...Ct(e)});const Qc=r=>r instanceof dc?Qc(r.schema):r instanceof Aa?Qc(r.innerType()):r instanceof fc?[r.value]:r instanceof Ds?r.options:r instanceof pc?Object.keys(r.enum):r instanceof hc?Qc(r._def.innerType):r instanceof oc?[void 0]:r instanceof sc?[null]:null;class Xc extends Rt{_parse(e){const{ctx:n}=this._processInputParams(e);if(n.parsedType!==Ue.object)return We(n,{code:Ee.invalid_type,expected:Ue.object,received:n.parsedType}),yt;const a=this.discriminator,o=n.data[a],d=this.optionsMap.get(o);return d?n.common.async?d._parseAsync({data:n.data,path:n.path,parent:n}):d._parseSync({data:n.data,path:n.path,parent:n}):(We(n,{code:Ee.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[a]}),yt)}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(e,n,a){const o=new Map;for(const d of n){const v=Qc(d.shape[e]);if(!v)throw new Error(`A discriminator value for key \`${e}\` could not be extracted from all schema options`);for(const x of v){if(o.has(x))throw new Error(`Discriminator property ${String(e)} has duplicate value ${String(x)}`);o.set(x,d)}}return new Xc({typeName:ct.ZodDiscriminatedUnion,discriminator:e,options:n,optionsMap:o,...Ct(a)})}}function Vd(r,e){const n=Ms(r),a=Ms(e);if(r===e)return{valid:!0,data:r};if(n===Ue.object&&a===Ue.object){const o=Yt.objectKeys(e),d=Yt.objectKeys(r).filter(x=>o.indexOf(x)!==-1),v={...r,...e};for(const x of d){const w=Vd(r[x],e[x]);if(!w.valid)return{valid:!1};v[x]=w.data}return{valid:!0,data:v}}else if(n===Ue.array&&a===Ue.array){if(r.length!==e.length)return{valid:!1};const o=[];for(let d=0;d<r.length;d++){const v=r[d],x=e[d],w=Vd(v,x);if(!w.valid)return{valid:!1};o.push(w.data)}return{valid:!0,data:o}}else return n===Ue.date&&a===Ue.date&&+r==+e?{valid:!0,data:r}:{valid:!1}}class uc extends Rt{_parse(e){const{status:n,ctx:a}=this._processInputParams(e),o=(d,v)=>{if(zd(d)||zd(v))return yt;const x=Vd(d.value,v.value);return x.valid?((Ud(d)||Ud(v))&&n.dirty(),{status:n.value,value:x.data}):(We(a,{code:Ee.invalid_intersection_types}),yt)};return a.common.async?Promise.all([this._def.left._parseAsync({data:a.data,path:a.path,parent:a}),this._def.right._parseAsync({data:a.data,path:a.path,parent:a})]).then(([d,v])=>o(d,v)):o(this._def.left._parseSync({data:a.data,path:a.path,parent:a}),this._def.right._parseSync({data:a.data,path:a.path,parent:a}))}}uc.create=(r,e,n)=>new uc({left:r,right:e,typeName:ct.ZodIntersection,...Ct(n)});class so extends Rt{_parse(e){const{status:n,ctx:a}=this._processInputParams(e);if(a.parsedType!==Ue.array)return We(a,{code:Ee.invalid_type,expected:Ue.array,received:a.parsedType}),yt;if(a.data.length<this._def.items.length)return We(a,{code:Ee.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),yt;!this._def.rest&&a.data.length>this._def.items.length&&(We(a,{code:Ee.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),n.dirty());const d=[...a.data].map((v,x)=>{const w=this._def.items[x]||this._def.rest;return w?w._parse(new oo(a,v,a.path,x)):null}).filter(v=>!!v);return a.common.async?Promise.all(d).then(v=>Ir.mergeArray(n,v)):Ir.mergeArray(n,d)}get items(){return this._def.items}rest(e){return new so({...this._def,rest:e})}}so.create=(r,e)=>{if(!Array.isArray(r))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new so({items:r,typeName:ct.ZodTuple,rest:null,...Ct(e)})};class cc extends Rt{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){const{status:n,ctx:a}=this._processInputParams(e);if(a.parsedType!==Ue.object)return We(a,{code:Ee.invalid_type,expected:Ue.object,received:a.parsedType}),yt;const o=[],d=this._def.keyType,v=this._def.valueType;for(const x in a.data)o.push({key:d._parse(new oo(a,x,a.path,x)),value:v._parse(new oo(a,a.data[x],a.path,x))});return a.common.async?Ir.mergeObjectAsync(n,o):Ir.mergeObjectSync(n,o)}get element(){return this._def.valueType}static create(e,n,a){return n instanceof Rt?new cc({keyType:e,valueType:n,typeName:ct.ZodRecord,...Ct(a)}):new cc({keyType:Ra.create(),valueType:e,typeName:ct.ZodRecord,...Ct(n)})}}class qc extends Rt{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){const{status:n,ctx:a}=this._processInputParams(e);if(a.parsedType!==Ue.map)return We(a,{code:Ee.invalid_type,expected:Ue.map,received:a.parsedType}),yt;const o=this._def.keyType,d=this._def.valueType,v=[...a.data.entries()].map(([x,w],E)=>({key:o._parse(new oo(a,x,a.path,[E,"key"])),value:d._parse(new oo(a,w,a.path,[E,"value"]))}));if(a.common.async){const x=new Map;return Promise.resolve().then(async()=>{for(const w of v){const E=await w.key,B=await w.value;if(E.status==="aborted"||B.status==="aborted")return yt;(E.status==="dirty"||B.status==="dirty")&&n.dirty(),x.set(E.value,B.value)}return{status:n.value,value:x}})}else{const x=new Map;for(const w of v){const E=w.key,B=w.value;if(E.status==="aborted"||B.status==="aborted")return yt;(E.status==="dirty"||B.status==="dirty")&&n.dirty(),x.set(E.value,B.value)}return{status:n.value,value:x}}}}qc.create=(r,e,n)=>new qc({valueType:e,keyType:r,typeName:ct.ZodMap,...Ct(n)});class Rl extends Rt{_parse(e){const{status:n,ctx:a}=this._processInputParams(e);if(a.parsedType!==Ue.set)return We(a,{code:Ee.invalid_type,expected:Ue.set,received:a.parsedType}),yt;const o=this._def;o.minSize!==null&&a.data.size<o.minSize.value&&(We(a,{code:Ee.too_small,minimum:o.minSize.value,type:"set",inclusive:!0,exact:!1,message:o.minSize.message}),n.dirty()),o.maxSize!==null&&a.data.size>o.maxSize.value&&(We(a,{code:Ee.too_big,maximum:o.maxSize.value,type:"set",inclusive:!0,exact:!1,message:o.maxSize.message}),n.dirty());const d=this._def.valueType;function v(w){const E=new Set;for(const B of w){if(B.status==="aborted")return yt;B.status==="dirty"&&n.dirty(),E.add(B.value)}return{status:n.value,value:E}}const x=[...a.data.values()].map((w,E)=>d._parse(new oo(a,w,a.path,E)));return a.common.async?Promise.all(x).then(w=>v(w)):v(x)}min(e,n){return new Rl({...this._def,minSize:{value:e,message:rt.toString(n)}})}max(e,n){return new Rl({...this._def,maxSize:{value:e,message:rt.toString(n)}})}size(e,n){return this.min(e,n).max(e,n)}nonempty(e){return this.min(1,e)}}Rl.create=(r,e)=>new Rl({valueType:r,minSize:null,maxSize:null,typeName:ct.ZodSet,...Ct(e)});class _u extends Rt{constructor(){super(...arguments),this.validate=this.implement}_parse(e){const{ctx:n}=this._processInputParams(e);if(n.parsedType!==Ue.function)return We(n,{code:Ee.invalid_type,expected:Ue.function,received:n.parsedType}),yt;function a(x,w){return Zc({data:x,path:n.path,errorMaps:[n.common.contextualErrorMap,n.schemaErrorMap,Gc(),rc].filter(E=>!!E),issueData:{code:Ee.invalid_arguments,argumentsError:w}})}function o(x,w){return Zc({data:x,path:n.path,errorMaps:[n.common.contextualErrorMap,n.schemaErrorMap,Gc(),rc].filter(E=>!!E),issueData:{code:Ee.invalid_return_type,returnTypeError:w}})}const d={errorMap:n.common.contextualErrorMap},v=n.data;if(this._def.returns instanceof Eu){const x=this;return Gr(async function(...w){const E=new Ta([]),B=await x._def.args.parseAsync(w,d).catch(he=>{throw E.addIssue(a(w,he)),E}),D=await Reflect.apply(v,this,B);return await x._def.returns._def.type.parseAsync(D,d).catch(he=>{throw E.addIssue(o(D,he)),E})})}else{const x=this;return Gr(function(...w){const E=x._def.args.safeParse(w,d);if(!E.success)throw new Ta([a(w,E.error)]);const B=Reflect.apply(v,this,E.data),D=x._def.returns.safeParse(B,d);if(!D.success)throw new Ta([o(B,D.error)]);return D.data})}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...e){return new _u({...this._def,args:so.create(e).rest(Tl.create())})}returns(e){return new _u({...this._def,returns:e})}implement(e){return this.parse(e)}strictImplement(e){return this.parse(e)}static create(e,n,a){return new _u({args:e||so.create([]).rest(Tl.create()),returns:n||Tl.create(),typeName:ct.ZodFunction,...Ct(a)})}}class dc extends Rt{get schema(){return this._def.getter()}_parse(e){const{ctx:n}=this._processInputParams(e);return this._def.getter()._parse({data:n.data,path:n.path,parent:n})}}dc.create=(r,e)=>new dc({getter:r,typeName:ct.ZodLazy,...Ct(e)});class fc extends Rt{_parse(e){if(e.data!==this._def.value){const n=this._getOrReturnCtx(e);return We(n,{received:n.data,code:Ee.invalid_literal,expected:this._def.value}),yt}return{status:"valid",value:e.data}}get value(){return this._def.value}}fc.create=(r,e)=>new fc({value:r,typeName:ct.ZodLiteral,...Ct(e)});function bp(r,e){return new Ds({values:r,typeName:ct.ZodEnum,...Ct(e)})}class Ds extends Rt{_parse(e){if(typeof e.data!="string"){const n=this._getOrReturnCtx(e),a=this._def.values;return We(n,{expected:Yt.joinValues(a),received:n.parsedType,code:Ee.invalid_type}),yt}if(this._def.values.indexOf(e.data)===-1){const n=this._getOrReturnCtx(e),a=this._def.values;return We(n,{received:n.data,code:Ee.invalid_enum_value,options:a}),yt}return Gr(e.data)}get options(){return this._def.values}get enum(){const e={};for(const n of this._def.values)e[n]=n;return e}get Values(){const e={};for(const n of this._def.values)e[n]=n;return e}get Enum(){const e={};for(const n of this._def.values)e[n]=n;return e}extract(e){return Ds.create(e)}exclude(e){return Ds.create(this.options.filter(n=>!e.includes(n)))}}Ds.create=bp;class pc extends Rt{_parse(e){const n=Yt.getValidEnumValues(this._def.values),a=this._getOrReturnCtx(e);if(a.parsedType!==Ue.string&&a.parsedType!==Ue.number){const o=Yt.objectValues(n);return We(a,{expected:Yt.joinValues(o),received:a.parsedType,code:Ee.invalid_type}),yt}if(n.indexOf(e.data)===-1){const o=Yt.objectValues(n);return We(a,{received:a.data,code:Ee.invalid_enum_value,options:o}),yt}return Gr(e.data)}get enum(){return this._def.values}}pc.create=(r,e)=>new pc({values:r,typeName:ct.ZodNativeEnum,...Ct(e)});class Eu extends Rt{unwrap(){return this._def.type}_parse(e){const{ctx:n}=this._processInputParams(e);if(n.parsedType!==Ue.promise&&n.common.async===!1)return We(n,{code:Ee.invalid_type,expected:Ue.promise,received:n.parsedType}),yt;const a=n.parsedType===Ue.promise?n.data:Promise.resolve(n.data);return Gr(a.then(o=>this._def.type.parseAsync(o,{path:n.path,errorMap:n.common.contextualErrorMap})))}}Eu.create=(r,e)=>new Eu({type:r,typeName:ct.ZodPromise,...Ct(e)});class Aa extends Rt{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===ct.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(e){const{status:n,ctx:a}=this._processInputParams(e),o=this._def.effect||null,d={addIssue:v=>{We(a,v),v.fatal?n.abort():n.dirty()},get path(){return a.path}};if(d.addIssue=d.addIssue.bind(d),o.type==="preprocess"){const v=o.transform(a.data,d);return a.common.issues.length?{status:"dirty",value:a.data}:a.common.async?Promise.resolve(v).then(x=>this._def.schema._parseAsync({data:x,path:a.path,parent:a})):this._def.schema._parseSync({data:v,path:a.path,parent:a})}if(o.type==="refinement"){const v=x=>{const w=o.refinement(x,d);if(a.common.async)return Promise.resolve(w);if(w instanceof Promise)throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return x};if(a.common.async===!1){const x=this._def.schema._parseSync({data:a.data,path:a.path,parent:a});return x.status==="aborted"?yt:(x.status==="dirty"&&n.dirty(),v(x.value),{status:n.value,value:x.value})}else return this._def.schema._parseAsync({data:a.data,path:a.path,parent:a}).then(x=>x.status==="aborted"?yt:(x.status==="dirty"&&n.dirty(),v(x.value).then(()=>({status:n.value,value:x.value}))))}if(o.type==="transform")if(a.common.async===!1){const v=this._def.schema._parseSync({data:a.data,path:a.path,parent:a});if(!ic(v))return v;const x=o.transform(v.value,d);if(x instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:n.value,value:x}}else return this._def.schema._parseAsync({data:a.data,path:a.path,parent:a}).then(v=>ic(v)?Promise.resolve(o.transform(v.value,d)).then(x=>({status:n.value,value:x})):v);Yt.assertNever(o)}}Aa.create=(r,e,n)=>new Aa({schema:r,typeName:ct.ZodEffects,effect:e,...Ct(n)}),Aa.createWithPreprocess=(r,e,n)=>new Aa({schema:e,effect:{type:"preprocess",transform:r},typeName:ct.ZodEffects,...Ct(n)});class Ho extends Rt{_parse(e){return this._getType(e)===Ue.undefined?Gr(void 0):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}Ho.create=(r,e)=>new Ho({innerType:r,typeName:ct.ZodOptional,...Ct(e)});class Il extends Rt{_parse(e){return this._getType(e)===Ue.null?Gr(null):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}Il.create=(r,e)=>new Il({innerType:r,typeName:ct.ZodNullable,...Ct(e)});class hc extends Rt{_parse(e){const{ctx:n}=this._processInputParams(e);let a=n.data;return n.parsedType===Ue.undefined&&(a=this._def.defaultValue()),this._def.innerType._parse({data:a,path:n.path,parent:n})}removeDefault(){return this._def.innerType}}hc.create=(r,e)=>new hc({innerType:r,typeName:ct.ZodDefault,defaultValue:typeof e.default=="function"?e.default:()=>e.default,...Ct(e)});class ed extends Rt{_parse(e){const{ctx:n}=this._processInputParams(e),a={...n,common:{...n.common,issues:[]}},o=this._def.innerType._parse({data:a.data,path:a.path,parent:{...a}});return Yc(o)?o.then(d=>({status:"valid",value:d.status==="valid"?d.value:this._def.catchValue({get error(){return new Ta(a.common.issues)},input:a.data})})):{status:"valid",value:o.status==="valid"?o.value:this._def.catchValue({get error(){return new Ta(a.common.issues)},input:a.data})}}removeCatch(){return this._def.innerType}}ed.create=(r,e)=>new ed({innerType:r,typeName:ct.ZodCatch,catchValue:typeof e.catch=="function"?e.catch:()=>e.catch,...Ct(e)});class td extends Rt{_parse(e){if(this._getType(e)!==Ue.nan){const a=this._getOrReturnCtx(e);return We(a,{code:Ee.invalid_type,expected:Ue.nan,received:a.parsedType}),yt}return{status:"valid",value:e.data}}}td.create=r=>new td({typeName:ct.ZodNaN,...Ct(r)});const Im=Symbol("zod_brand");class yp extends Rt{_parse(e){const{ctx:n}=this._processInputParams(e),a=n.data;return this._def.type._parse({data:a,path:n.path,parent:n})}unwrap(){return this._def.type}}class gc extends Rt{_parse(e){const{status:n,ctx:a}=this._processInputParams(e);if(a.common.async)return(async()=>{const d=await this._def.in._parseAsync({data:a.data,path:a.path,parent:a});return d.status==="aborted"?yt:d.status==="dirty"?(n.dirty(),mp(d.value)):this._def.out._parseAsync({data:d.value,path:a.path,parent:a})})();{const o=this._def.in._parseSync({data:a.data,path:a.path,parent:a});return o.status==="aborted"?yt:o.status==="dirty"?(n.dirty(),{status:"dirty",value:o.value}):this._def.out._parseSync({data:o.value,path:a.path,parent:a})}}static create(e,n){return new gc({in:e,out:n,typeName:ct.ZodPipeline})}}class nd extends Rt{_parse(e){const n=this._def.innerType._parse(e);return ic(n)&&(n.value=Object.freeze(n.value)),n}}nd.create=(r,e)=>new nd({innerType:r,typeName:ct.ZodReadonly,...Ct(e)});const wp=(r,e={},n)=>r?Su.create().superRefine((a,o)=>{var d,v;if(!r(a)){const x=typeof e=="function"?e(a):typeof e=="string"?{message:e}:e,w=(v=(d=x.fatal)!==null&&d!==void 0?d:n)!==null&&v!==void 0?v:!0,E=typeof x=="string"?{message:x}:x;o.addIssue({code:"custom",...E,fatal:w})}}):Su.create(),Am={object:Rn.lazycreate};var ct;(function(r){r.ZodString="ZodString",r.ZodNumber="ZodNumber",r.ZodNaN="ZodNaN",r.ZodBigInt="ZodBigInt",r.ZodBoolean="ZodBoolean",r.ZodDate="ZodDate",r.ZodSymbol="ZodSymbol",r.ZodUndefined="ZodUndefined",r.ZodNull="ZodNull",r.ZodAny="ZodAny",r.ZodUnknown="ZodUnknown",r.ZodNever="ZodNever",r.ZodVoid="ZodVoid",r.ZodArray="ZodArray",r.ZodObject="ZodObject",r.ZodUnion="ZodUnion",r.ZodDiscriminatedUnion="ZodDiscriminatedUnion",r.ZodIntersection="ZodIntersection",r.ZodTuple="ZodTuple",r.ZodRecord="ZodRecord",r.ZodMap="ZodMap",r.ZodSet="ZodSet",r.ZodFunction="ZodFunction",r.ZodLazy="ZodLazy",r.ZodLiteral="ZodLiteral",r.ZodEnum="ZodEnum",r.ZodEffects="ZodEffects",r.ZodNativeEnum="ZodNativeEnum",r.ZodOptional="ZodOptional",r.ZodNullable="ZodNullable",r.ZodDefault="ZodDefault",r.ZodCatch="ZodCatch",r.ZodPromise="ZodPromise",r.ZodBranded="ZodBranded",r.ZodPipeline="ZodPipeline",r.ZodReadonly="ZodReadonly"})(ct||(ct={}));const Om=(r,e={message:`Input not instance of ${r.name}`})=>wp(n=>n instanceof r,e),xp=Ra.create,Sp=Fs.create,Mm=td.create,Fm=Ps.create,kp=ac.create,Pm=Cl.create,Dm=Kc.create,Lm=oc.create,Bm=sc.create,Nm=Su.create,jm=Tl.create,zm=Wo.create,Um=Jc.create,Vm=Ia.create,Wm=Rn.create,Hm=Rn.strictCreate,$m=lc.create,Gm=Xc.create,Zm=uc.create,Ym=so.create,Km=cc.create,Jm=qc.create,Qm=Rl.create,Xm=_u.create,qm=dc.create,ev=fc.create,tv=Ds.create,nv=pc.create,rv=Eu.create,_p=Aa.create,iv=Ho.create,av=Il.create,ov=Aa.createWithPreprocess,sv=gc.create;var er=Object.freeze({__proto__:null,defaultErrorMap:rc,setErrorMap:mm,getErrorMap:Gc,makeIssue:Zc,EMPTY_PATH:vm,addIssueToContext:We,ParseStatus:Ir,INVALID:yt,DIRTY:mp,OK:Gr,isAborted:zd,isDirty:Ud,isValid:ic,isAsync:Yc,get util(){return Yt},get objectUtil(){return jd},ZodParsedType:Ue,getParsedType:Ms,ZodType:Rt,ZodString:Ra,ZodNumber:Fs,ZodBigInt:Ps,ZodBoolean:ac,ZodDate:Cl,ZodSymbol:Kc,ZodUndefined:oc,ZodNull:sc,ZodAny:Su,ZodUnknown:Tl,ZodNever:Wo,ZodVoid:Jc,ZodArray:Ia,ZodObject:Rn,ZodUnion:lc,ZodDiscriminatedUnion:Xc,ZodIntersection:uc,ZodTuple:so,ZodRecord:cc,ZodMap:qc,ZodSet:Rl,ZodFunction:_u,ZodLazy:dc,ZodLiteral:fc,ZodEnum:Ds,ZodNativeEnum:pc,ZodPromise:Eu,ZodEffects:Aa,ZodTransformer:Aa,ZodOptional:Ho,ZodNullable:Il,ZodDefault:hc,ZodCatch:ed,ZodNaN:td,BRAND:Im,ZodBranded:yp,ZodPipeline:gc,ZodReadonly:nd,custom:wp,Schema:Rt,ZodSchema:Rt,late:Am,get ZodFirstPartyTypeKind(){return ct},coerce:{string:r=>Ra.create({...r,coerce:!0}),number:r=>Fs.create({...r,coerce:!0}),boolean:r=>ac.create({...r,coerce:!0}),bigint:r=>Ps.create({...r,coerce:!0}),date:r=>Cl.create({...r,coerce:!0})},any:Nm,array:Vm,bigint:Fm,boolean:kp,date:Pm,discriminatedUnion:Gm,effect:_p,enum:tv,function:Xm,instanceof:Om,intersection:Zm,lazy:qm,literal:ev,map:Jm,nan:Mm,nativeEnum:nv,never:zm,null:Bm,nullable:av,number:Sp,object:Wm,oboolean:()=>kp().optional(),onumber:()=>Sp().optional(),optional:iv,ostring:()=>xp().optional(),pipeline:sv,preprocess:ov,promise:rv,record:Km,set:Qm,strictObject:Hm,string:xp,symbol:Dm,transformer:_p,tuple:Ym,undefined:Lm,union:$m,unknown:jm,void:Um,NEVER:yt,ZodIssueCode:Ee,quotelessJson:gm,ZodError:Ta});const Ep=er.enum(["day","month","year","hour","minute"]);class Cu{constructor(e){jt(this,"condition");this.condition=e}}class lv extends Cu{match(e){const n=e.getFieldState(this.condition.fieldKey);return n.hidden?!1:n.value===this.condition.value}}class uv extends Cu{match(e){const n=e.getFieldState(this.condition.fieldKey);if(n.hidden)return!1;const a=n.value;if(a==null||typeof a!="number")return!1;switch(this.condition.op){case"gt":return a>this.condition.value;case"gteq":return a>=this.condition.value;case"lt":return a<this.condition.value;case"lteq":return a<=this.condition.value;case"eq":return a===this.condition.value}}}class cv extends Cu{match(e){const n=e.getFieldState(this.condition.fieldKey);return n.hidden||!n.value?!1:n.value.has(this.condition.value)}}class dv extends Cu{match(e){return!0}}class fv extends Cu{match(e){const n=e.getFieldState(this.condition.fieldKey);return n.hidden&&!this.condition.evenWhenHidden?!1:n.value!==null&&n.value!==void 0}}class pv extends Cu{match(e){return e.flags[this.condition.flagKey]===this.condition.triggerOn}}class Cp{constructor(e){jt(this,"action");this.action=e}}class hv extends Cp{act(e){e.markShown(this.action.fieldKey)}}class gv extends Cp{act(e){e.markHidden(this.action.fieldKey)}}function mv(r){switch(r.type){case"equal":return new lv(r);case"numeric_compare":return new uv(r);case"contains":return new cv(r);case"always":return new dv(r);case"flag_equal":return new pv(r);case"answered":return new fv(r);default:throw"unknown condition type"}}function vv(r){switch(r.type){case"show_question":return new hv(r);case"hide_question":return new gv(r);default:throw"unknown action type"}}class bv{constructor(e,n){jt(this,"condition");jt(this,"action");this.condition=e,this.action=n}runAgainst(e){this.condition.match(e)&&this.action.act(e)}}function yv(r){const e=mv(r.condition),n=vv(r.action);return new bv(e,n)}class Wd{constructor(e){jt(this,"key");jt(this,"panels");jt(this,"footer");jt(this,"questions");jt(this,"validations");jt(this,"visibilityRules");jt(this,"textvars");jt(this,"sexpVariables");jt(this,"defaultAnswerValue");jt(this,"cssVars");jt(this,"layoutVersion");this.key=e.key,this.questions=e.questions,this.panels=e.panels,this.footer=e.footer,this.validations=e.validations,this.visibilityRules=e.visibilityRules.map(n=>yv(n)),this.textvars=Object.values(e.textvars),this.sexpVariables=e.sexpVariables||{},this.defaultAnswerValue=e.defaultAnswerValue,this.cssVars=e.cssVars,this.layoutVersion=e.layoutVersion||"v1"}getField(e){return this.questions[e]}getQuestionsInSameGroup(e){const n=this.getField(e);return n.questionGroup?Object.values(this.questions).filter(a=>a.questionGroup===n.questionGroup):[n]}getOptionNumberValue(e,n){const a=this.getField(e);if(a.type==="select"||a.type==="radio"||a.type=="scale"){const o=a.children.find(d=>d.key===n);if(o&&o.type!=="html"&&typeof o.value=="number")return o.value}return null}}var rd={exports:{}};/**
13
+ Denn, im Browser gehen Sie mit dem Zurück-Knopf '<' zurück und drücken Sie auf 'Fertig' um die Fragebogen zu speichern.`,validations:{maximum:{date:"Das Datum muss an oder vor dem %{friendly_date} liegen.",number:"Ihre Antwort muss kleiner oder gleich %{value} sein."},minimum:{date:"Das Datum muss an oder nach dem %{friendly_date} liegen.",number:"Ihre Antwort muss größer oder gleich %{value} sein."},requires_answer:"Diese Frage muss beantwortet werden.",regexp:"Ihre Antwort muss dem Format %{matcher} entsprechen.",valid_integer:"Ihre Antwort muss eine runde (oder auch ganze) Zahl sein.",valid_float:"Ihre Antwort muss eine Zahl sein (benutzen Sie bitte einen Punkt für Dezimalzahlen, kein Komma).",valid_date:{valid_date_year:"Geben Sie ein gültiges Jahr nach dem Format JJJJ an, zum Beispiel 2015.",valid_date_month_year:"Geben Sie ein gültiges Datum nach dem Format MM-JJJJ an, zum Beispiel 08-2015.",valid_date_day_month_year:"Geben Sie ein gültiges Datum nach dem Format TT-MM-JJJJ an, zum Beispiel 13-08-2015.",valid_date_hour_minute:"Geben Sie eine gültige Tageszeit nach dem Format ss:mm an, zum Beispiel 13:05",valid_date_day_hour_minute_month_year:"Geben Sie eine gültige Tageszeit nach dem Format TT-MM-JJJJ ss:mm, zum Beispiel 13-08-2015 13:05"},too_many_checked:"Sie haben zu viele Möglichkeiten ausgewählt.",not_all_checked:"Sie haben zu wenige Möglichkeiten ausgewählt.",maximum_checked_allowed:{one:"Sie können maximal %{maximum_checked_value} Möglichkeit auswählen.",other:"Sie können maximal %{maximum_checked_value} Möglichkeiten auswählen."},minimum_checked_required:{one:"Sie müssen mindestens %{minimum_checked_value} Möglichkeit auswählen.",other:"Sie müssen mindestens %{minimum_checked_value} Möglichkeiten auswählen."},answer_group_minimum:"Beantworten Sie mindestens %{value} von diesen Fragen",answer_group_maximum:"Beantworten Sie höchstens %{value} von diesen Fragen"},placeholders:{day:"TT",month:"MM",year:"JJJJ",hour:"ss",minute:"mm"},units:{days:"Tage",hours:"Stunden",minutes:"Minuten",seconds:"Sekunden"},day:"Tag",month:"Monat",year:"Jahr",hour:"Stunde",minute:"Minute",choose_a_country:"Wählen Sie ein Land"}}};dr.use(Im).init({resources:Pm,lng:"nl",fallbackLng:"en",interpolation:{prefix:"%{",suffix:"}",escapeValue:!1},debug:!0});var Jt;(function(r){r.assertEqual=o=>o;function e(o){}r.assertIs=e;function n(o){throw new Error}r.assertNever=n,r.arrayToEnum=o=>{const c={};for(const g of o)c[g]=g;return c},r.getValidEnumValues=o=>{const c=r.objectKeys(o).filter(y=>typeof o[o[y]]!="number"),g={};for(const y of c)g[y]=o[y];return r.objectValues(g)},r.objectValues=o=>r.objectKeys(o).map(function(c){return o[c]}),r.objectKeys=typeof Object.keys=="function"?o=>Object.keys(o):o=>{const c=[];for(const g in o)Object.prototype.hasOwnProperty.call(o,g)&&c.push(g);return c},r.find=(o,c)=>{for(const g of o)if(c(g))return g},r.isInteger=typeof Number.isInteger=="function"?o=>Number.isInteger(o):o=>typeof o=="number"&&isFinite(o)&&Math.floor(o)===o;function a(o,c=" | "){return o.map(g=>typeof g=="string"?`'${g}'`:g).join(c)}r.joinValues=a,r.jsonStringifyReplacer=(o,c)=>typeof c=="bigint"?c.toString():c})(Jt||(Jt={}));var $d;(function(r){r.mergeShapes=(e,n)=>({...e,...n})})($d||($d={}));const je=Jt.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),Fs=r=>{switch(typeof r){case"undefined":return je.undefined;case"string":return je.string;case"number":return isNaN(r)?je.nan:je.number;case"boolean":return je.boolean;case"function":return je.function;case"bigint":return je.bigint;case"symbol":return je.symbol;case"object":return Array.isArray(r)?je.array:r===null?je.null:r.then&&typeof r.then=="function"&&r.catch&&typeof r.catch=="function"?je.promise:typeof Map<"u"&&r instanceof Map?je.map:typeof Set<"u"&&r instanceof Set?je.set:typeof Date<"u"&&r instanceof Date?je.date:je.object;default:return je.unknown}},Ce=Jt.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]),Fm=r=>JSON.stringify(r,null,2).replace(/"([^"]+)":/g,"$1:");class Oa extends Error{constructor(e){super(),this.issues=[],this.addIssue=a=>{this.issues=[...this.issues,a]},this.addIssues=(a=[])=>{this.issues=[...this.issues,...a]};const n=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,n):this.__proto__=n,this.name="ZodError",this.issues=e}get errors(){return this.issues}format(e){const n=e||function(c){return c.message},a={_errors:[]},o=c=>{for(const g of c.issues)if(g.code==="invalid_union")g.unionErrors.map(o);else if(g.code==="invalid_return_type")o(g.returnTypeError);else if(g.code==="invalid_arguments")o(g.argumentsError);else if(g.path.length===0)a._errors.push(n(g));else{let y=a,w=0;for(;w<g.path.length;){const E=g.path[w];w===g.path.length-1?(y[E]=y[E]||{_errors:[]},y[E]._errors.push(n(g))):y[E]=y[E]||{_errors:[]},y=y[E],w++}}};return o(this),a}toString(){return this.message}get message(){return JSON.stringify(this.issues,Jt.jsonStringifyReplacer,2)}get isEmpty(){return this.issues.length===0}flatten(e=n=>n.message){const n={},a=[];for(const o of this.issues)o.path.length>0?(n[o.path[0]]=n[o.path[0]]||[],n[o.path[0]].push(e(o))):a.push(e(o));return{formErrors:a,fieldErrors:n}}get formErrors(){return this.flatten()}}Oa.create=r=>new Oa(r);const sc=(r,e)=>{let n;switch(r.code){case Ce.invalid_type:r.received===je.undefined?n="Required":n=`Expected ${r.expected}, received ${r.received}`;break;case Ce.invalid_literal:n=`Invalid literal value, expected ${JSON.stringify(r.expected,Jt.jsonStringifyReplacer)}`;break;case Ce.unrecognized_keys:n=`Unrecognized key(s) in object: ${Jt.joinValues(r.keys,", ")}`;break;case Ce.invalid_union:n="Invalid input";break;case Ce.invalid_union_discriminator:n=`Invalid discriminator value. Expected ${Jt.joinValues(r.options)}`;break;case Ce.invalid_enum_value:n=`Invalid enum value. Expected ${Jt.joinValues(r.options)}, received '${r.received}'`;break;case Ce.invalid_arguments:n="Invalid function arguments";break;case Ce.invalid_return_type:n="Invalid function return type";break;case Ce.invalid_date:n="Invalid date";break;case Ce.invalid_string:typeof r.validation=="object"?"includes"in r.validation?(n=`Invalid input: must include "${r.validation.includes}"`,typeof r.validation.position=="number"&&(n=`${n} at one or more positions greater than or equal to ${r.validation.position}`)):"startsWith"in r.validation?n=`Invalid input: must start with "${r.validation.startsWith}"`:"endsWith"in r.validation?n=`Invalid input: must end with "${r.validation.endsWith}"`:Jt.assertNever(r.validation):r.validation!=="regex"?n=`Invalid ${r.validation}`:n="Invalid";break;case Ce.too_small:r.type==="array"?n=`Array must contain ${r.exact?"exactly":r.inclusive?"at least":"more than"} ${r.minimum} element(s)`:r.type==="string"?n=`String must contain ${r.exact?"exactly":r.inclusive?"at least":"over"} ${r.minimum} character(s)`:r.type==="number"?n=`Number must be ${r.exact?"exactly equal to ":r.inclusive?"greater than or equal to ":"greater than "}${r.minimum}`:r.type==="date"?n=`Date must be ${r.exact?"exactly equal to ":r.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(r.minimum))}`:n="Invalid input";break;case Ce.too_big:r.type==="array"?n=`Array must contain ${r.exact?"exactly":r.inclusive?"at most":"less than"} ${r.maximum} element(s)`:r.type==="string"?n=`String must contain ${r.exact?"exactly":r.inclusive?"at most":"under"} ${r.maximum} character(s)`:r.type==="number"?n=`Number must be ${r.exact?"exactly":r.inclusive?"less than or equal to":"less than"} ${r.maximum}`:r.type==="bigint"?n=`BigInt must be ${r.exact?"exactly":r.inclusive?"less than or equal to":"less than"} ${r.maximum}`:r.type==="date"?n=`Date must be ${r.exact?"exactly":r.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(r.maximum))}`:n="Invalid input";break;case Ce.custom:n="Invalid input";break;case Ce.invalid_intersection_types:n="Intersection results could not be merged";break;case Ce.not_multiple_of:n=`Number must be a multiple of ${r.multipleOf}`;break;case Ce.not_finite:n="Number must be finite";break;default:n=e.defaultError,Jt.assertNever(r)}return{message:n}};let Tp=sc;function Dm(r){Tp=r}function Xc(){return Tp}const qc=r=>{const{data:e,path:n,errorMaps:a,issueData:o}=r,c=[...n,...o.path||[]],g={...o,path:c};let y="";const w=a.filter(E=>!!E).slice().reverse();for(const E of w)y=E(g,{data:e,defaultError:y}).message;return{...o,path:c,message:o.message||y}},Lm=[];function Ve(r,e){const n=qc({issueData:e,data:r.data,path:r.path,errorMaps:[r.common.contextualErrorMap,r.schemaErrorMap,Xc(),sc].filter(a=>!!a)});r.common.issues.push(n)}class Mr{constructor(){this.value="valid"}dirty(){this.value==="valid"&&(this.value="dirty")}abort(){this.value!=="aborted"&&(this.value="aborted")}static mergeArray(e,n){const a=[];for(const o of n){if(o.status==="aborted")return bt;o.status==="dirty"&&e.dirty(),a.push(o.value)}return{status:e.value,value:a}}static async mergeObjectAsync(e,n){const a=[];for(const o of n)a.push({key:await o.key,value:await o.value});return Mr.mergeObjectSync(e,a)}static mergeObjectSync(e,n){const a={};for(const o of n){const{key:c,value:g}=o;if(c.status==="aborted"||g.status==="aborted")return bt;c.status==="dirty"&&e.dirty(),g.status==="dirty"&&e.dirty(),c.value!=="__proto__"&&(typeof g.value<"u"||o.alwaysSet)&&(a[c.value]=g.value)}return{status:e.value,value:a}}}const bt=Object.freeze({status:"aborted"}),Rp=r=>({status:"dirty",value:r}),Kr=r=>({status:"valid",value:r}),Gd=r=>r.status==="aborted",Zd=r=>r.status==="dirty",lc=r=>r.status==="valid",ed=r=>typeof Promise<"u"&&r instanceof Promise;var rt;(function(r){r.errToObj=e=>typeof e=="string"?{message:e}:e||{},r.toString=e=>typeof e=="string"?e:e==null?void 0:e.message})(rt||(rt={}));class co{constructor(e,n,a,o){this._cachedPath=[],this.parent=e,this.data=n,this._path=a,this._key=o}get path(){return this._cachedPath.length||(this._key instanceof Array?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}}const Ip=(r,e)=>{if(lc(e))return{success:!0,data:e.value};if(!r.common.issues.length)throw new Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;const n=new Oa(r.common.issues);return this._error=n,this._error}}};function Et(r){if(!r)return{};const{errorMap:e,invalid_type_error:n,required_error:a,description:o}=r;if(e&&(n||a))throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);return e?{errorMap:e,description:o}:{errorMap:(g,y)=>g.code!=="invalid_type"?{message:y.defaultError}:typeof y.data>"u"?{message:a??y.defaultError}:{message:n??y.defaultError},description:o}}class It{constructor(e){this.spa=this.safeParseAsync,this._def=e,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this)}get description(){return this._def.description}_getType(e){return Fs(e.data)}_getOrReturnCtx(e,n){return n||{common:e.parent.common,data:e.data,parsedType:Fs(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}_processInputParams(e){return{status:new Mr,ctx:{common:e.parent.common,data:e.data,parsedType:Fs(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}}_parseSync(e){const n=this._parse(e);if(ed(n))throw new Error("Synchronous parse encountered promise.");return n}_parseAsync(e){const n=this._parse(e);return Promise.resolve(n)}parse(e,n){const a=this.safeParse(e,n);if(a.success)return a.data;throw a.error}safeParse(e,n){var a;const o={common:{issues:[],async:(a=n==null?void 0:n.async)!==null&&a!==void 0?a:!1,contextualErrorMap:n==null?void 0:n.errorMap},path:(n==null?void 0:n.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:Fs(e)},c=this._parseSync({data:e,path:o.path,parent:o});return Ip(o,c)}async parseAsync(e,n){const a=await this.safeParseAsync(e,n);if(a.success)return a.data;throw a.error}async safeParseAsync(e,n){const a={common:{issues:[],contextualErrorMap:n==null?void 0:n.errorMap,async:!0},path:(n==null?void 0:n.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:Fs(e)},o=this._parse({data:e,path:a.path,parent:a}),c=await(ed(o)?o:Promise.resolve(o));return Ip(a,c)}refine(e,n){const a=o=>typeof n=="string"||typeof n>"u"?{message:n}:typeof n=="function"?n(o):n;return this._refinement((o,c)=>{const g=e(o),y=()=>c.addIssue({code:Ce.custom,...a(o)});return typeof Promise<"u"&&g instanceof Promise?g.then(w=>w?!0:(y(),!1)):g?!0:(y(),!1)})}refinement(e,n){return this._refinement((a,o)=>e(a)?!0:(o.addIssue(typeof n=="function"?n(a,o):n),!1))}_refinement(e){return new Fa({schema:this,typeName:dt.ZodEffects,effect:{type:"refinement",refinement:e}})}superRefine(e){return this._refinement(e)}optional(){return Zo.create(this,this._def)}nullable(){return Al.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return Pa.create(this,this._def)}promise(){return Cu.create(this,this._def)}or(e){return fc.create([this,e],this._def)}and(e){return pc.create(this,e,this._def)}transform(e){return new Fa({...Et(this._def),schema:this,typeName:dt.ZodEffects,effect:{type:"transform",transform:e}})}default(e){const n=typeof e=="function"?e:()=>e;return new bc({...Et(this._def),innerType:this,defaultValue:n,typeName:dt.ZodDefault})}brand(){return new Op({typeName:dt.ZodBranded,type:this,...Et(this._def)})}catch(e){const n=typeof e=="function"?e:()=>e;return new od({...Et(this._def),innerType:this,catchValue:n,typeName:dt.ZodCatch})}describe(e){const n=this.constructor;return new n({...this._def,description:e})}pipe(e){return yc.create(this,e)}readonly(){return ld.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}const Bm=/^c[^\s-]{8,}$/i,Nm=/^[a-z][a-z0-9]*$/,jm=/^[0-9A-HJKMNP-TV-Z]{26}$/,zm=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,Um=/^(?!\.)(?!.*\.\.)([A-Z0-9_+-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,Vm="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";let Yd;const Wm=/^(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))$/,Hm=/^(([a-f0-9]{1,4}:){7}|::([a-f0-9]{1,4}:){0,6}|([a-f0-9]{1,4}:){1}:([a-f0-9]{1,4}:){0,5}|([a-f0-9]{1,4}:){2}:([a-f0-9]{1,4}:){0,4}|([a-f0-9]{1,4}:){3}:([a-f0-9]{1,4}:){0,3}|([a-f0-9]{1,4}:){4}:([a-f0-9]{1,4}:){0,2}|([a-f0-9]{1,4}:){5}:([a-f0-9]{1,4}:){0,1})([a-f0-9]{1,4}|(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2})))$/,$m=r=>r.precision?r.offset?new RegExp(`^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{${r.precision}}(([+-]\\d{2}(:?\\d{2})?)|Z)$`):new RegExp(`^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{${r.precision}}Z$`):r.precision===0?r.offset?new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(([+-]\\d{2}(:?\\d{2})?)|Z)$"):new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z$"):r.offset?new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?(([+-]\\d{2}(:?\\d{2})?)|Z)$"):new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?Z$");function Gm(r,e){return!!((e==="v4"||!e)&&Wm.test(r)||(e==="v6"||!e)&&Hm.test(r))}class Ma extends It{_parse(e){if(this._def.coerce&&(e.data=String(e.data)),this._getType(e)!==je.string){const c=this._getOrReturnCtx(e);return Ve(c,{code:Ce.invalid_type,expected:je.string,received:c.parsedType}),bt}const a=new Mr;let o;for(const c of this._def.checks)if(c.kind==="min")e.data.length<c.value&&(o=this._getOrReturnCtx(e,o),Ve(o,{code:Ce.too_small,minimum:c.value,type:"string",inclusive:!0,exact:!1,message:c.message}),a.dirty());else if(c.kind==="max")e.data.length>c.value&&(o=this._getOrReturnCtx(e,o),Ve(o,{code:Ce.too_big,maximum:c.value,type:"string",inclusive:!0,exact:!1,message:c.message}),a.dirty());else if(c.kind==="length"){const g=e.data.length>c.value,y=e.data.length<c.value;(g||y)&&(o=this._getOrReturnCtx(e,o),g?Ve(o,{code:Ce.too_big,maximum:c.value,type:"string",inclusive:!0,exact:!0,message:c.message}):y&&Ve(o,{code:Ce.too_small,minimum:c.value,type:"string",inclusive:!0,exact:!0,message:c.message}),a.dirty())}else if(c.kind==="email")Um.test(e.data)||(o=this._getOrReturnCtx(e,o),Ve(o,{validation:"email",code:Ce.invalid_string,message:c.message}),a.dirty());else if(c.kind==="emoji")Yd||(Yd=new RegExp(Vm,"u")),Yd.test(e.data)||(o=this._getOrReturnCtx(e,o),Ve(o,{validation:"emoji",code:Ce.invalid_string,message:c.message}),a.dirty());else if(c.kind==="uuid")zm.test(e.data)||(o=this._getOrReturnCtx(e,o),Ve(o,{validation:"uuid",code:Ce.invalid_string,message:c.message}),a.dirty());else if(c.kind==="cuid")Bm.test(e.data)||(o=this._getOrReturnCtx(e,o),Ve(o,{validation:"cuid",code:Ce.invalid_string,message:c.message}),a.dirty());else if(c.kind==="cuid2")Nm.test(e.data)||(o=this._getOrReturnCtx(e,o),Ve(o,{validation:"cuid2",code:Ce.invalid_string,message:c.message}),a.dirty());else if(c.kind==="ulid")jm.test(e.data)||(o=this._getOrReturnCtx(e,o),Ve(o,{validation:"ulid",code:Ce.invalid_string,message:c.message}),a.dirty());else if(c.kind==="url")try{new URL(e.data)}catch{o=this._getOrReturnCtx(e,o),Ve(o,{validation:"url",code:Ce.invalid_string,message:c.message}),a.dirty()}else c.kind==="regex"?(c.regex.lastIndex=0,c.regex.test(e.data)||(o=this._getOrReturnCtx(e,o),Ve(o,{validation:"regex",code:Ce.invalid_string,message:c.message}),a.dirty())):c.kind==="trim"?e.data=e.data.trim():c.kind==="includes"?e.data.includes(c.value,c.position)||(o=this._getOrReturnCtx(e,o),Ve(o,{code:Ce.invalid_string,validation:{includes:c.value,position:c.position},message:c.message}),a.dirty()):c.kind==="toLowerCase"?e.data=e.data.toLowerCase():c.kind==="toUpperCase"?e.data=e.data.toUpperCase():c.kind==="startsWith"?e.data.startsWith(c.value)||(o=this._getOrReturnCtx(e,o),Ve(o,{code:Ce.invalid_string,validation:{startsWith:c.value},message:c.message}),a.dirty()):c.kind==="endsWith"?e.data.endsWith(c.value)||(o=this._getOrReturnCtx(e,o),Ve(o,{code:Ce.invalid_string,validation:{endsWith:c.value},message:c.message}),a.dirty()):c.kind==="datetime"?$m(c).test(e.data)||(o=this._getOrReturnCtx(e,o),Ve(o,{code:Ce.invalid_string,validation:"datetime",message:c.message}),a.dirty()):c.kind==="ip"?Gm(e.data,c.version)||(o=this._getOrReturnCtx(e,o),Ve(o,{validation:"ip",code:Ce.invalid_string,message:c.message}),a.dirty()):Jt.assertNever(c);return{status:a.value,value:e.data}}_regex(e,n,a){return this.refinement(o=>e.test(o),{validation:n,code:Ce.invalid_string,...rt.errToObj(a)})}_addCheck(e){return new Ma({...this._def,checks:[...this._def.checks,e]})}email(e){return this._addCheck({kind:"email",...rt.errToObj(e)})}url(e){return this._addCheck({kind:"url",...rt.errToObj(e)})}emoji(e){return this._addCheck({kind:"emoji",...rt.errToObj(e)})}uuid(e){return this._addCheck({kind:"uuid",...rt.errToObj(e)})}cuid(e){return this._addCheck({kind:"cuid",...rt.errToObj(e)})}cuid2(e){return this._addCheck({kind:"cuid2",...rt.errToObj(e)})}ulid(e){return this._addCheck({kind:"ulid",...rt.errToObj(e)})}ip(e){return this._addCheck({kind:"ip",...rt.errToObj(e)})}datetime(e){var n;return typeof e=="string"?this._addCheck({kind:"datetime",precision:null,offset:!1,message:e}):this._addCheck({kind:"datetime",precision:typeof(e==null?void 0:e.precision)>"u"?null:e==null?void 0:e.precision,offset:(n=e==null?void 0:e.offset)!==null&&n!==void 0?n:!1,...rt.errToObj(e==null?void 0:e.message)})}regex(e,n){return this._addCheck({kind:"regex",regex:e,...rt.errToObj(n)})}includes(e,n){return this._addCheck({kind:"includes",value:e,position:n==null?void 0:n.position,...rt.errToObj(n==null?void 0:n.message)})}startsWith(e,n){return this._addCheck({kind:"startsWith",value:e,...rt.errToObj(n)})}endsWith(e,n){return this._addCheck({kind:"endsWith",value:e,...rt.errToObj(n)})}min(e,n){return this._addCheck({kind:"min",value:e,...rt.errToObj(n)})}max(e,n){return this._addCheck({kind:"max",value:e,...rt.errToObj(n)})}length(e,n){return this._addCheck({kind:"length",value:e,...rt.errToObj(n)})}nonempty(e){return this.min(1,rt.errToObj(e))}trim(){return new Ma({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new Ma({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new Ma({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(e=>e.kind==="datetime")}get isEmail(){return!!this._def.checks.find(e=>e.kind==="email")}get isURL(){return!!this._def.checks.find(e=>e.kind==="url")}get isEmoji(){return!!this._def.checks.find(e=>e.kind==="emoji")}get isUUID(){return!!this._def.checks.find(e=>e.kind==="uuid")}get isCUID(){return!!this._def.checks.find(e=>e.kind==="cuid")}get isCUID2(){return!!this._def.checks.find(e=>e.kind==="cuid2")}get isULID(){return!!this._def.checks.find(e=>e.kind==="ulid")}get isIP(){return!!this._def.checks.find(e=>e.kind==="ip")}get minLength(){let e=null;for(const n of this._def.checks)n.kind==="min"&&(e===null||n.value>e)&&(e=n.value);return e}get maxLength(){let e=null;for(const n of this._def.checks)n.kind==="max"&&(e===null||n.value<e)&&(e=n.value);return e}}Ma.create=r=>{var e;return new Ma({checks:[],typeName:dt.ZodString,coerce:(e=r==null?void 0:r.coerce)!==null&&e!==void 0?e:!1,...Et(r)})};function Zm(r,e){const n=(r.toString().split(".")[1]||"").length,a=(e.toString().split(".")[1]||"").length,o=n>a?n:a,c=parseInt(r.toFixed(o).replace(".","")),g=parseInt(e.toFixed(o).replace(".",""));return c%g/Math.pow(10,o)}class Ds extends It{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(e){if(this._def.coerce&&(e.data=Number(e.data)),this._getType(e)!==je.number){const c=this._getOrReturnCtx(e);return Ve(c,{code:Ce.invalid_type,expected:je.number,received:c.parsedType}),bt}let a;const o=new Mr;for(const c of this._def.checks)c.kind==="int"?Jt.isInteger(e.data)||(a=this._getOrReturnCtx(e,a),Ve(a,{code:Ce.invalid_type,expected:"integer",received:"float",message:c.message}),o.dirty()):c.kind==="min"?(c.inclusive?e.data<c.value:e.data<=c.value)&&(a=this._getOrReturnCtx(e,a),Ve(a,{code:Ce.too_small,minimum:c.value,type:"number",inclusive:c.inclusive,exact:!1,message:c.message}),o.dirty()):c.kind==="max"?(c.inclusive?e.data>c.value:e.data>=c.value)&&(a=this._getOrReturnCtx(e,a),Ve(a,{code:Ce.too_big,maximum:c.value,type:"number",inclusive:c.inclusive,exact:!1,message:c.message}),o.dirty()):c.kind==="multipleOf"?Zm(e.data,c.value)!==0&&(a=this._getOrReturnCtx(e,a),Ve(a,{code:Ce.not_multiple_of,multipleOf:c.value,message:c.message}),o.dirty()):c.kind==="finite"?Number.isFinite(e.data)||(a=this._getOrReturnCtx(e,a),Ve(a,{code:Ce.not_finite,message:c.message}),o.dirty()):Jt.assertNever(c);return{status:o.value,value:e.data}}gte(e,n){return this.setLimit("min",e,!0,rt.toString(n))}gt(e,n){return this.setLimit("min",e,!1,rt.toString(n))}lte(e,n){return this.setLimit("max",e,!0,rt.toString(n))}lt(e,n){return this.setLimit("max",e,!1,rt.toString(n))}setLimit(e,n,a,o){return new Ds({...this._def,checks:[...this._def.checks,{kind:e,value:n,inclusive:a,message:rt.toString(o)}]})}_addCheck(e){return new Ds({...this._def,checks:[...this._def.checks,e]})}int(e){return this._addCheck({kind:"int",message:rt.toString(e)})}positive(e){return this._addCheck({kind:"min",value:0,inclusive:!1,message:rt.toString(e)})}negative(e){return this._addCheck({kind:"max",value:0,inclusive:!1,message:rt.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:0,inclusive:!0,message:rt.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:0,inclusive:!0,message:rt.toString(e)})}multipleOf(e,n){return this._addCheck({kind:"multipleOf",value:e,message:rt.toString(n)})}finite(e){return this._addCheck({kind:"finite",message:rt.toString(e)})}safe(e){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:rt.toString(e)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:rt.toString(e)})}get minValue(){let e=null;for(const n of this._def.checks)n.kind==="min"&&(e===null||n.value>e)&&(e=n.value);return e}get maxValue(){let e=null;for(const n of this._def.checks)n.kind==="max"&&(e===null||n.value<e)&&(e=n.value);return e}get isInt(){return!!this._def.checks.find(e=>e.kind==="int"||e.kind==="multipleOf"&&Jt.isInteger(e.value))}get isFinite(){let e=null,n=null;for(const a of this._def.checks){if(a.kind==="finite"||a.kind==="int"||a.kind==="multipleOf")return!0;a.kind==="min"?(n===null||a.value>n)&&(n=a.value):a.kind==="max"&&(e===null||a.value<e)&&(e=a.value)}return Number.isFinite(n)&&Number.isFinite(e)}}Ds.create=r=>new Ds({checks:[],typeName:dt.ZodNumber,coerce:(r==null?void 0:r.coerce)||!1,...Et(r)});class Ls extends It{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(e){if(this._def.coerce&&(e.data=BigInt(e.data)),this._getType(e)!==je.bigint){const c=this._getOrReturnCtx(e);return Ve(c,{code:Ce.invalid_type,expected:je.bigint,received:c.parsedType}),bt}let a;const o=new Mr;for(const c of this._def.checks)c.kind==="min"?(c.inclusive?e.data<c.value:e.data<=c.value)&&(a=this._getOrReturnCtx(e,a),Ve(a,{code:Ce.too_small,type:"bigint",minimum:c.value,inclusive:c.inclusive,message:c.message}),o.dirty()):c.kind==="max"?(c.inclusive?e.data>c.value:e.data>=c.value)&&(a=this._getOrReturnCtx(e,a),Ve(a,{code:Ce.too_big,type:"bigint",maximum:c.value,inclusive:c.inclusive,message:c.message}),o.dirty()):c.kind==="multipleOf"?e.data%c.value!==BigInt(0)&&(a=this._getOrReturnCtx(e,a),Ve(a,{code:Ce.not_multiple_of,multipleOf:c.value,message:c.message}),o.dirty()):Jt.assertNever(c);return{status:o.value,value:e.data}}gte(e,n){return this.setLimit("min",e,!0,rt.toString(n))}gt(e,n){return this.setLimit("min",e,!1,rt.toString(n))}lte(e,n){return this.setLimit("max",e,!0,rt.toString(n))}lt(e,n){return this.setLimit("max",e,!1,rt.toString(n))}setLimit(e,n,a,o){return new Ls({...this._def,checks:[...this._def.checks,{kind:e,value:n,inclusive:a,message:rt.toString(o)}]})}_addCheck(e){return new Ls({...this._def,checks:[...this._def.checks,e]})}positive(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:rt.toString(e)})}negative(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:rt.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:rt.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:rt.toString(e)})}multipleOf(e,n){return this._addCheck({kind:"multipleOf",value:e,message:rt.toString(n)})}get minValue(){let e=null;for(const n of this._def.checks)n.kind==="min"&&(e===null||n.value>e)&&(e=n.value);return e}get maxValue(){let e=null;for(const n of this._def.checks)n.kind==="max"&&(e===null||n.value<e)&&(e=n.value);return e}}Ls.create=r=>{var e;return new Ls({checks:[],typeName:dt.ZodBigInt,coerce:(e=r==null?void 0:r.coerce)!==null&&e!==void 0?e:!1,...Et(r)})};class uc extends It{_parse(e){if(this._def.coerce&&(e.data=!!e.data),this._getType(e)!==je.boolean){const a=this._getOrReturnCtx(e);return Ve(a,{code:Ce.invalid_type,expected:je.boolean,received:a.parsedType}),bt}return Kr(e.data)}}uc.create=r=>new uc({typeName:dt.ZodBoolean,coerce:(r==null?void 0:r.coerce)||!1,...Et(r)});class Tl extends It{_parse(e){if(this._def.coerce&&(e.data=new Date(e.data)),this._getType(e)!==je.date){const c=this._getOrReturnCtx(e);return Ve(c,{code:Ce.invalid_type,expected:je.date,received:c.parsedType}),bt}if(isNaN(e.data.getTime())){const c=this._getOrReturnCtx(e);return Ve(c,{code:Ce.invalid_date}),bt}const a=new Mr;let o;for(const c of this._def.checks)c.kind==="min"?e.data.getTime()<c.value&&(o=this._getOrReturnCtx(e,o),Ve(o,{code:Ce.too_small,message:c.message,inclusive:!0,exact:!1,minimum:c.value,type:"date"}),a.dirty()):c.kind==="max"?e.data.getTime()>c.value&&(o=this._getOrReturnCtx(e,o),Ve(o,{code:Ce.too_big,message:c.message,inclusive:!0,exact:!1,maximum:c.value,type:"date"}),a.dirty()):Jt.assertNever(c);return{status:a.value,value:new Date(e.data.getTime())}}_addCheck(e){return new Tl({...this._def,checks:[...this._def.checks,e]})}min(e,n){return this._addCheck({kind:"min",value:e.getTime(),message:rt.toString(n)})}max(e,n){return this._addCheck({kind:"max",value:e.getTime(),message:rt.toString(n)})}get minDate(){let e=null;for(const n of this._def.checks)n.kind==="min"&&(e===null||n.value>e)&&(e=n.value);return e!=null?new Date(e):null}get maxDate(){let e=null;for(const n of this._def.checks)n.kind==="max"&&(e===null||n.value<e)&&(e=n.value);return e!=null?new Date(e):null}}Tl.create=r=>new Tl({checks:[],coerce:(r==null?void 0:r.coerce)||!1,typeName:dt.ZodDate,...Et(r)});class td extends It{_parse(e){if(this._getType(e)!==je.symbol){const a=this._getOrReturnCtx(e);return Ve(a,{code:Ce.invalid_type,expected:je.symbol,received:a.parsedType}),bt}return Kr(e.data)}}td.create=r=>new td({typeName:dt.ZodSymbol,...Et(r)});class cc extends It{_parse(e){if(this._getType(e)!==je.undefined){const a=this._getOrReturnCtx(e);return Ve(a,{code:Ce.invalid_type,expected:je.undefined,received:a.parsedType}),bt}return Kr(e.data)}}cc.create=r=>new cc({typeName:dt.ZodUndefined,...Et(r)});class dc extends It{_parse(e){if(this._getType(e)!==je.null){const a=this._getOrReturnCtx(e);return Ve(a,{code:Ce.invalid_type,expected:je.null,received:a.parsedType}),bt}return Kr(e.data)}}dc.create=r=>new dc({typeName:dt.ZodNull,...Et(r)});class ku extends It{constructor(){super(...arguments),this._any=!0}_parse(e){return Kr(e.data)}}ku.create=r=>new ku({typeName:dt.ZodAny,...Et(r)});class Rl extends It{constructor(){super(...arguments),this._unknown=!0}_parse(e){return Kr(e.data)}}Rl.create=r=>new Rl({typeName:dt.ZodUnknown,...Et(r)});class Go extends It{_parse(e){const n=this._getOrReturnCtx(e);return Ve(n,{code:Ce.invalid_type,expected:je.never,received:n.parsedType}),bt}}Go.create=r=>new Go({typeName:dt.ZodNever,...Et(r)});class nd extends It{_parse(e){if(this._getType(e)!==je.undefined){const a=this._getOrReturnCtx(e);return Ve(a,{code:Ce.invalid_type,expected:je.void,received:a.parsedType}),bt}return Kr(e.data)}}nd.create=r=>new nd({typeName:dt.ZodVoid,...Et(r)});class Pa extends It{_parse(e){const{ctx:n,status:a}=this._processInputParams(e),o=this._def;if(n.parsedType!==je.array)return Ve(n,{code:Ce.invalid_type,expected:je.array,received:n.parsedType}),bt;if(o.exactLength!==null){const g=n.data.length>o.exactLength.value,y=n.data.length<o.exactLength.value;(g||y)&&(Ve(n,{code:g?Ce.too_big:Ce.too_small,minimum:y?o.exactLength.value:void 0,maximum:g?o.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:o.exactLength.message}),a.dirty())}if(o.minLength!==null&&n.data.length<o.minLength.value&&(Ve(n,{code:Ce.too_small,minimum:o.minLength.value,type:"array",inclusive:!0,exact:!1,message:o.minLength.message}),a.dirty()),o.maxLength!==null&&n.data.length>o.maxLength.value&&(Ve(n,{code:Ce.too_big,maximum:o.maxLength.value,type:"array",inclusive:!0,exact:!1,message:o.maxLength.message}),a.dirty()),n.common.async)return Promise.all([...n.data].map((g,y)=>o.type._parseAsync(new co(n,g,n.path,y)))).then(g=>Mr.mergeArray(a,g));const c=[...n.data].map((g,y)=>o.type._parseSync(new co(n,g,n.path,y)));return Mr.mergeArray(a,c)}get element(){return this._def.type}min(e,n){return new Pa({...this._def,minLength:{value:e,message:rt.toString(n)}})}max(e,n){return new Pa({...this._def,maxLength:{value:e,message:rt.toString(n)}})}length(e,n){return new Pa({...this._def,exactLength:{value:e,message:rt.toString(n)}})}nonempty(e){return this.min(1,e)}}Pa.create=(r,e)=>new Pa({type:r,minLength:null,maxLength:null,exactLength:null,typeName:dt.ZodArray,...Et(e)});function _u(r){if(r instanceof An){const e={};for(const n in r.shape){const a=r.shape[n];e[n]=Zo.create(_u(a))}return new An({...r._def,shape:()=>e})}else return r instanceof Pa?new Pa({...r._def,type:_u(r.element)}):r instanceof Zo?Zo.create(_u(r.unwrap())):r instanceof Al?Al.create(_u(r.unwrap())):r instanceof fo?fo.create(r.items.map(e=>_u(e))):r}class An extends It{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(this._cached!==null)return this._cached;const e=this._def.shape(),n=Jt.objectKeys(e);return this._cached={shape:e,keys:n}}_parse(e){if(this._getType(e)!==je.object){const E=this._getOrReturnCtx(e);return Ve(E,{code:Ce.invalid_type,expected:je.object,received:E.parsedType}),bt}const{status:a,ctx:o}=this._processInputParams(e),{shape:c,keys:g}=this._getCached(),y=[];if(!(this._def.catchall instanceof Go&&this._def.unknownKeys==="strip"))for(const E in o.data)g.includes(E)||y.push(E);const w=[];for(const E of g){const L=c[E],P=o.data[E];w.push({key:{status:"valid",value:E},value:L._parse(new co(o,P,o.path,E)),alwaysSet:E in o.data})}if(this._def.catchall instanceof Go){const E=this._def.unknownKeys;if(E==="passthrough")for(const L of y)w.push({key:{status:"valid",value:L},value:{status:"valid",value:o.data[L]}});else if(E==="strict")y.length>0&&(Ve(o,{code:Ce.unrecognized_keys,keys:y}),a.dirty());else if(E!=="strip")throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{const E=this._def.catchall;for(const L of y){const P=o.data[L];w.push({key:{status:"valid",value:L},value:E._parse(new co(o,P,o.path,L)),alwaysSet:L in o.data})}}return o.common.async?Promise.resolve().then(async()=>{const E=[];for(const L of w){const P=await L.key;E.push({key:P,value:await L.value,alwaysSet:L.alwaysSet})}return E}).then(E=>Mr.mergeObjectSync(a,E)):Mr.mergeObjectSync(a,w)}get shape(){return this._def.shape()}strict(e){return rt.errToObj,new An({...this._def,unknownKeys:"strict",...e!==void 0?{errorMap:(n,a)=>{var o,c,g,y;const w=(g=(c=(o=this._def).errorMap)===null||c===void 0?void 0:c.call(o,n,a).message)!==null&&g!==void 0?g:a.defaultError;return n.code==="unrecognized_keys"?{message:(y=rt.errToObj(e).message)!==null&&y!==void 0?y:w}:{message:w}}}:{}})}strip(){return new An({...this._def,unknownKeys:"strip"})}passthrough(){return new An({...this._def,unknownKeys:"passthrough"})}extend(e){return new An({...this._def,shape:()=>({...this._def.shape(),...e})})}merge(e){return new An({unknownKeys:e._def.unknownKeys,catchall:e._def.catchall,shape:()=>({...this._def.shape(),...e._def.shape()}),typeName:dt.ZodObject})}setKey(e,n){return this.augment({[e]:n})}catchall(e){return new An({...this._def,catchall:e})}pick(e){const n={};return Jt.objectKeys(e).forEach(a=>{e[a]&&this.shape[a]&&(n[a]=this.shape[a])}),new An({...this._def,shape:()=>n})}omit(e){const n={};return Jt.objectKeys(this.shape).forEach(a=>{e[a]||(n[a]=this.shape[a])}),new An({...this._def,shape:()=>n})}deepPartial(){return _u(this)}partial(e){const n={};return Jt.objectKeys(this.shape).forEach(a=>{const o=this.shape[a];e&&!e[a]?n[a]=o:n[a]=o.optional()}),new An({...this._def,shape:()=>n})}required(e){const n={};return Jt.objectKeys(this.shape).forEach(a=>{if(e&&!e[a])n[a]=this.shape[a];else{let c=this.shape[a];for(;c instanceof Zo;)c=c._def.innerType;n[a]=c}}),new An({...this._def,shape:()=>n})}keyof(){return Ap(Jt.objectKeys(this.shape))}}An.create=(r,e)=>new An({shape:()=>r,unknownKeys:"strip",catchall:Go.create(),typeName:dt.ZodObject,...Et(e)}),An.strictCreate=(r,e)=>new An({shape:()=>r,unknownKeys:"strict",catchall:Go.create(),typeName:dt.ZodObject,...Et(e)}),An.lazycreate=(r,e)=>new An({shape:r,unknownKeys:"strip",catchall:Go.create(),typeName:dt.ZodObject,...Et(e)});class fc extends It{_parse(e){const{ctx:n}=this._processInputParams(e),a=this._def.options;function o(c){for(const y of c)if(y.result.status==="valid")return y.result;for(const y of c)if(y.result.status==="dirty")return n.common.issues.push(...y.ctx.common.issues),y.result;const g=c.map(y=>new Oa(y.ctx.common.issues));return Ve(n,{code:Ce.invalid_union,unionErrors:g}),bt}if(n.common.async)return Promise.all(a.map(async c=>{const g={...n,common:{...n.common,issues:[]},parent:null};return{result:await c._parseAsync({data:n.data,path:n.path,parent:g}),ctx:g}})).then(o);{let c;const g=[];for(const w of a){const E={...n,common:{...n.common,issues:[]},parent:null},L=w._parseSync({data:n.data,path:n.path,parent:E});if(L.status==="valid")return L;L.status==="dirty"&&!c&&(c={result:L,ctx:E}),E.common.issues.length&&g.push(E.common.issues)}if(c)return n.common.issues.push(...c.ctx.common.issues),c.result;const y=g.map(w=>new Oa(w));return Ve(n,{code:Ce.invalid_union,unionErrors:y}),bt}}get options(){return this._def.options}}fc.create=(r,e)=>new fc({options:r,typeName:dt.ZodUnion,...Et(e)});const rd=r=>r instanceof gc?rd(r.schema):r instanceof Fa?rd(r.innerType()):r instanceof mc?[r.value]:r instanceof Bs?r.options:r instanceof vc?Object.keys(r.enum):r instanceof bc?rd(r._def.innerType):r instanceof cc?[void 0]:r instanceof dc?[null]:null;class id extends It{_parse(e){const{ctx:n}=this._processInputParams(e);if(n.parsedType!==je.object)return Ve(n,{code:Ce.invalid_type,expected:je.object,received:n.parsedType}),bt;const a=this.discriminator,o=n.data[a],c=this.optionsMap.get(o);return c?n.common.async?c._parseAsync({data:n.data,path:n.path,parent:n}):c._parseSync({data:n.data,path:n.path,parent:n}):(Ve(n,{code:Ce.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[a]}),bt)}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(e,n,a){const o=new Map;for(const c of n){const g=rd(c.shape[e]);if(!g)throw new Error(`A discriminator value for key \`${e}\` could not be extracted from all schema options`);for(const y of g){if(o.has(y))throw new Error(`Discriminator property ${String(e)} has duplicate value ${String(y)}`);o.set(y,c)}}return new id({typeName:dt.ZodDiscriminatedUnion,discriminator:e,options:n,optionsMap:o,...Et(a)})}}function Kd(r,e){const n=Fs(r),a=Fs(e);if(r===e)return{valid:!0,data:r};if(n===je.object&&a===je.object){const o=Jt.objectKeys(e),c=Jt.objectKeys(r).filter(y=>o.indexOf(y)!==-1),g={...r,...e};for(const y of c){const w=Kd(r[y],e[y]);if(!w.valid)return{valid:!1};g[y]=w.data}return{valid:!0,data:g}}else if(n===je.array&&a===je.array){if(r.length!==e.length)return{valid:!1};const o=[];for(let c=0;c<r.length;c++){const g=r[c],y=e[c],w=Kd(g,y);if(!w.valid)return{valid:!1};o.push(w.data)}return{valid:!0,data:o}}else return n===je.date&&a===je.date&&+r==+e?{valid:!0,data:r}:{valid:!1}}class pc extends It{_parse(e){const{status:n,ctx:a}=this._processInputParams(e),o=(c,g)=>{if(Gd(c)||Gd(g))return bt;const y=Kd(c.value,g.value);return y.valid?((Zd(c)||Zd(g))&&n.dirty(),{status:n.value,value:y.data}):(Ve(a,{code:Ce.invalid_intersection_types}),bt)};return a.common.async?Promise.all([this._def.left._parseAsync({data:a.data,path:a.path,parent:a}),this._def.right._parseAsync({data:a.data,path:a.path,parent:a})]).then(([c,g])=>o(c,g)):o(this._def.left._parseSync({data:a.data,path:a.path,parent:a}),this._def.right._parseSync({data:a.data,path:a.path,parent:a}))}}pc.create=(r,e,n)=>new pc({left:r,right:e,typeName:dt.ZodIntersection,...Et(n)});class fo extends It{_parse(e){const{status:n,ctx:a}=this._processInputParams(e);if(a.parsedType!==je.array)return Ve(a,{code:Ce.invalid_type,expected:je.array,received:a.parsedType}),bt;if(a.data.length<this._def.items.length)return Ve(a,{code:Ce.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),bt;!this._def.rest&&a.data.length>this._def.items.length&&(Ve(a,{code:Ce.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),n.dirty());const c=[...a.data].map((g,y)=>{const w=this._def.items[y]||this._def.rest;return w?w._parse(new co(a,g,a.path,y)):null}).filter(g=>!!g);return a.common.async?Promise.all(c).then(g=>Mr.mergeArray(n,g)):Mr.mergeArray(n,c)}get items(){return this._def.items}rest(e){return new fo({...this._def,rest:e})}}fo.create=(r,e)=>{if(!Array.isArray(r))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new fo({items:r,typeName:dt.ZodTuple,rest:null,...Et(e)})};class hc extends It{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){const{status:n,ctx:a}=this._processInputParams(e);if(a.parsedType!==je.object)return Ve(a,{code:Ce.invalid_type,expected:je.object,received:a.parsedType}),bt;const o=[],c=this._def.keyType,g=this._def.valueType;for(const y in a.data)o.push({key:c._parse(new co(a,y,a.path,y)),value:g._parse(new co(a,a.data[y],a.path,y))});return a.common.async?Mr.mergeObjectAsync(n,o):Mr.mergeObjectSync(n,o)}get element(){return this._def.valueType}static create(e,n,a){return n instanceof It?new hc({keyType:e,valueType:n,typeName:dt.ZodRecord,...Et(a)}):new hc({keyType:Ma.create(),valueType:e,typeName:dt.ZodRecord,...Et(n)})}}class ad extends It{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){const{status:n,ctx:a}=this._processInputParams(e);if(a.parsedType!==je.map)return Ve(a,{code:Ce.invalid_type,expected:je.map,received:a.parsedType}),bt;const o=this._def.keyType,c=this._def.valueType,g=[...a.data.entries()].map(([y,w],E)=>({key:o._parse(new co(a,y,a.path,[E,"key"])),value:c._parse(new co(a,w,a.path,[E,"value"]))}));if(a.common.async){const y=new Map;return Promise.resolve().then(async()=>{for(const w of g){const E=await w.key,L=await w.value;if(E.status==="aborted"||L.status==="aborted")return bt;(E.status==="dirty"||L.status==="dirty")&&n.dirty(),y.set(E.value,L.value)}return{status:n.value,value:y}})}else{const y=new Map;for(const w of g){const E=w.key,L=w.value;if(E.status==="aborted"||L.status==="aborted")return bt;(E.status==="dirty"||L.status==="dirty")&&n.dirty(),y.set(E.value,L.value)}return{status:n.value,value:y}}}}ad.create=(r,e,n)=>new ad({valueType:e,keyType:r,typeName:dt.ZodMap,...Et(n)});class Il extends It{_parse(e){const{status:n,ctx:a}=this._processInputParams(e);if(a.parsedType!==je.set)return Ve(a,{code:Ce.invalid_type,expected:je.set,received:a.parsedType}),bt;const o=this._def;o.minSize!==null&&a.data.size<o.minSize.value&&(Ve(a,{code:Ce.too_small,minimum:o.minSize.value,type:"set",inclusive:!0,exact:!1,message:o.minSize.message}),n.dirty()),o.maxSize!==null&&a.data.size>o.maxSize.value&&(Ve(a,{code:Ce.too_big,maximum:o.maxSize.value,type:"set",inclusive:!0,exact:!1,message:o.maxSize.message}),n.dirty());const c=this._def.valueType;function g(w){const E=new Set;for(const L of w){if(L.status==="aborted")return bt;L.status==="dirty"&&n.dirty(),E.add(L.value)}return{status:n.value,value:E}}const y=[...a.data.values()].map((w,E)=>c._parse(new co(a,w,a.path,E)));return a.common.async?Promise.all(y).then(w=>g(w)):g(y)}min(e,n){return new Il({...this._def,minSize:{value:e,message:rt.toString(n)}})}max(e,n){return new Il({...this._def,maxSize:{value:e,message:rt.toString(n)}})}size(e,n){return this.min(e,n).max(e,n)}nonempty(e){return this.min(1,e)}}Il.create=(r,e)=>new Il({valueType:r,minSize:null,maxSize:null,typeName:dt.ZodSet,...Et(e)});class Eu extends It{constructor(){super(...arguments),this.validate=this.implement}_parse(e){const{ctx:n}=this._processInputParams(e);if(n.parsedType!==je.function)return Ve(n,{code:Ce.invalid_type,expected:je.function,received:n.parsedType}),bt;function a(y,w){return qc({data:y,path:n.path,errorMaps:[n.common.contextualErrorMap,n.schemaErrorMap,Xc(),sc].filter(E=>!!E),issueData:{code:Ce.invalid_arguments,argumentsError:w}})}function o(y,w){return qc({data:y,path:n.path,errorMaps:[n.common.contextualErrorMap,n.schemaErrorMap,Xc(),sc].filter(E=>!!E),issueData:{code:Ce.invalid_return_type,returnTypeError:w}})}const c={errorMap:n.common.contextualErrorMap},g=n.data;if(this._def.returns instanceof Cu){const y=this;return Kr(async function(...w){const E=new Oa([]),L=await y._def.args.parseAsync(w,c).catch(se=>{throw E.addIssue(a(w,se)),E}),P=await Reflect.apply(g,this,L);return await y._def.returns._def.type.parseAsync(P,c).catch(se=>{throw E.addIssue(o(P,se)),E})})}else{const y=this;return Kr(function(...w){const E=y._def.args.safeParse(w,c);if(!E.success)throw new Oa([a(w,E.error)]);const L=Reflect.apply(g,this,E.data),P=y._def.returns.safeParse(L,c);if(!P.success)throw new Oa([o(L,P.error)]);return P.data})}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...e){return new Eu({...this._def,args:fo.create(e).rest(Rl.create())})}returns(e){return new Eu({...this._def,returns:e})}implement(e){return this.parse(e)}strictImplement(e){return this.parse(e)}static create(e,n,a){return new Eu({args:e||fo.create([]).rest(Rl.create()),returns:n||Rl.create(),typeName:dt.ZodFunction,...Et(a)})}}class gc extends It{get schema(){return this._def.getter()}_parse(e){const{ctx:n}=this._processInputParams(e);return this._def.getter()._parse({data:n.data,path:n.path,parent:n})}}gc.create=(r,e)=>new gc({getter:r,typeName:dt.ZodLazy,...Et(e)});class mc extends It{_parse(e){if(e.data!==this._def.value){const n=this._getOrReturnCtx(e);return Ve(n,{received:n.data,code:Ce.invalid_literal,expected:this._def.value}),bt}return{status:"valid",value:e.data}}get value(){return this._def.value}}mc.create=(r,e)=>new mc({value:r,typeName:dt.ZodLiteral,...Et(e)});function Ap(r,e){return new Bs({values:r,typeName:dt.ZodEnum,...Et(e)})}class Bs extends It{_parse(e){if(typeof e.data!="string"){const n=this._getOrReturnCtx(e),a=this._def.values;return Ve(n,{expected:Jt.joinValues(a),received:n.parsedType,code:Ce.invalid_type}),bt}if(this._def.values.indexOf(e.data)===-1){const n=this._getOrReturnCtx(e),a=this._def.values;return Ve(n,{received:n.data,code:Ce.invalid_enum_value,options:a}),bt}return Kr(e.data)}get options(){return this._def.values}get enum(){const e={};for(const n of this._def.values)e[n]=n;return e}get Values(){const e={};for(const n of this._def.values)e[n]=n;return e}get Enum(){const e={};for(const n of this._def.values)e[n]=n;return e}extract(e){return Bs.create(e)}exclude(e){return Bs.create(this.options.filter(n=>!e.includes(n)))}}Bs.create=Ap;class vc extends It{_parse(e){const n=Jt.getValidEnumValues(this._def.values),a=this._getOrReturnCtx(e);if(a.parsedType!==je.string&&a.parsedType!==je.number){const o=Jt.objectValues(n);return Ve(a,{expected:Jt.joinValues(o),received:a.parsedType,code:Ce.invalid_type}),bt}if(n.indexOf(e.data)===-1){const o=Jt.objectValues(n);return Ve(a,{received:a.data,code:Ce.invalid_enum_value,options:o}),bt}return Kr(e.data)}get enum(){return this._def.values}}vc.create=(r,e)=>new vc({values:r,typeName:dt.ZodNativeEnum,...Et(e)});class Cu extends It{unwrap(){return this._def.type}_parse(e){const{ctx:n}=this._processInputParams(e);if(n.parsedType!==je.promise&&n.common.async===!1)return Ve(n,{code:Ce.invalid_type,expected:je.promise,received:n.parsedType}),bt;const a=n.parsedType===je.promise?n.data:Promise.resolve(n.data);return Kr(a.then(o=>this._def.type.parseAsync(o,{path:n.path,errorMap:n.common.contextualErrorMap})))}}Cu.create=(r,e)=>new Cu({type:r,typeName:dt.ZodPromise,...Et(e)});class Fa extends It{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===dt.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(e){const{status:n,ctx:a}=this._processInputParams(e),o=this._def.effect||null,c={addIssue:g=>{Ve(a,g),g.fatal?n.abort():n.dirty()},get path(){return a.path}};if(c.addIssue=c.addIssue.bind(c),o.type==="preprocess"){const g=o.transform(a.data,c);return a.common.issues.length?{status:"dirty",value:a.data}:a.common.async?Promise.resolve(g).then(y=>this._def.schema._parseAsync({data:y,path:a.path,parent:a})):this._def.schema._parseSync({data:g,path:a.path,parent:a})}if(o.type==="refinement"){const g=y=>{const w=o.refinement(y,c);if(a.common.async)return Promise.resolve(w);if(w instanceof Promise)throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return y};if(a.common.async===!1){const y=this._def.schema._parseSync({data:a.data,path:a.path,parent:a});return y.status==="aborted"?bt:(y.status==="dirty"&&n.dirty(),g(y.value),{status:n.value,value:y.value})}else return this._def.schema._parseAsync({data:a.data,path:a.path,parent:a}).then(y=>y.status==="aborted"?bt:(y.status==="dirty"&&n.dirty(),g(y.value).then(()=>({status:n.value,value:y.value}))))}if(o.type==="transform")if(a.common.async===!1){const g=this._def.schema._parseSync({data:a.data,path:a.path,parent:a});if(!lc(g))return g;const y=o.transform(g.value,c);if(y instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:n.value,value:y}}else return this._def.schema._parseAsync({data:a.data,path:a.path,parent:a}).then(g=>lc(g)?Promise.resolve(o.transform(g.value,c)).then(y=>({status:n.value,value:y})):g);Jt.assertNever(o)}}Fa.create=(r,e,n)=>new Fa({schema:r,typeName:dt.ZodEffects,effect:e,...Et(n)}),Fa.createWithPreprocess=(r,e,n)=>new Fa({schema:e,effect:{type:"preprocess",transform:r},typeName:dt.ZodEffects,...Et(n)});class Zo extends It{_parse(e){return this._getType(e)===je.undefined?Kr(void 0):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}Zo.create=(r,e)=>new Zo({innerType:r,typeName:dt.ZodOptional,...Et(e)});class Al extends It{_parse(e){return this._getType(e)===je.null?Kr(null):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}Al.create=(r,e)=>new Al({innerType:r,typeName:dt.ZodNullable,...Et(e)});class bc extends It{_parse(e){const{ctx:n}=this._processInputParams(e);let a=n.data;return n.parsedType===je.undefined&&(a=this._def.defaultValue()),this._def.innerType._parse({data:a,path:n.path,parent:n})}removeDefault(){return this._def.innerType}}bc.create=(r,e)=>new bc({innerType:r,typeName:dt.ZodDefault,defaultValue:typeof e.default=="function"?e.default:()=>e.default,...Et(e)});class od extends It{_parse(e){const{ctx:n}=this._processInputParams(e),a={...n,common:{...n.common,issues:[]}},o=this._def.innerType._parse({data:a.data,path:a.path,parent:{...a}});return ed(o)?o.then(c=>({status:"valid",value:c.status==="valid"?c.value:this._def.catchValue({get error(){return new Oa(a.common.issues)},input:a.data})})):{status:"valid",value:o.status==="valid"?o.value:this._def.catchValue({get error(){return new Oa(a.common.issues)},input:a.data})}}removeCatch(){return this._def.innerType}}od.create=(r,e)=>new od({innerType:r,typeName:dt.ZodCatch,catchValue:typeof e.catch=="function"?e.catch:()=>e.catch,...Et(e)});class sd extends It{_parse(e){if(this._getType(e)!==je.nan){const a=this._getOrReturnCtx(e);return Ve(a,{code:Ce.invalid_type,expected:je.nan,received:a.parsedType}),bt}return{status:"valid",value:e.data}}}sd.create=r=>new sd({typeName:dt.ZodNaN,...Et(r)});const Ym=Symbol("zod_brand");class Op extends It{_parse(e){const{ctx:n}=this._processInputParams(e),a=n.data;return this._def.type._parse({data:a,path:n.path,parent:n})}unwrap(){return this._def.type}}class yc extends It{_parse(e){const{status:n,ctx:a}=this._processInputParams(e);if(a.common.async)return(async()=>{const c=await this._def.in._parseAsync({data:a.data,path:a.path,parent:a});return c.status==="aborted"?bt:c.status==="dirty"?(n.dirty(),Rp(c.value)):this._def.out._parseAsync({data:c.value,path:a.path,parent:a})})();{const o=this._def.in._parseSync({data:a.data,path:a.path,parent:a});return o.status==="aborted"?bt:o.status==="dirty"?(n.dirty(),{status:"dirty",value:o.value}):this._def.out._parseSync({data:o.value,path:a.path,parent:a})}}static create(e,n){return new yc({in:e,out:n,typeName:dt.ZodPipeline})}}class ld extends It{_parse(e){const n=this._def.innerType._parse(e);return lc(n)&&(n.value=Object.freeze(n.value)),n}}ld.create=(r,e)=>new ld({innerType:r,typeName:dt.ZodReadonly,...Et(e)});const Mp=(r,e={},n)=>r?ku.create().superRefine((a,o)=>{var c,g;if(!r(a)){const y=typeof e=="function"?e(a):typeof e=="string"?{message:e}:e,w=(g=(c=y.fatal)!==null&&c!==void 0?c:n)!==null&&g!==void 0?g:!0,E=typeof y=="string"?{message:y}:y;o.addIssue({code:"custom",...E,fatal:w})}}):ku.create(),Km={object:An.lazycreate};var dt;(function(r){r.ZodString="ZodString",r.ZodNumber="ZodNumber",r.ZodNaN="ZodNaN",r.ZodBigInt="ZodBigInt",r.ZodBoolean="ZodBoolean",r.ZodDate="ZodDate",r.ZodSymbol="ZodSymbol",r.ZodUndefined="ZodUndefined",r.ZodNull="ZodNull",r.ZodAny="ZodAny",r.ZodUnknown="ZodUnknown",r.ZodNever="ZodNever",r.ZodVoid="ZodVoid",r.ZodArray="ZodArray",r.ZodObject="ZodObject",r.ZodUnion="ZodUnion",r.ZodDiscriminatedUnion="ZodDiscriminatedUnion",r.ZodIntersection="ZodIntersection",r.ZodTuple="ZodTuple",r.ZodRecord="ZodRecord",r.ZodMap="ZodMap",r.ZodSet="ZodSet",r.ZodFunction="ZodFunction",r.ZodLazy="ZodLazy",r.ZodLiteral="ZodLiteral",r.ZodEnum="ZodEnum",r.ZodEffects="ZodEffects",r.ZodNativeEnum="ZodNativeEnum",r.ZodOptional="ZodOptional",r.ZodNullable="ZodNullable",r.ZodDefault="ZodDefault",r.ZodCatch="ZodCatch",r.ZodPromise="ZodPromise",r.ZodBranded="ZodBranded",r.ZodPipeline="ZodPipeline",r.ZodReadonly="ZodReadonly"})(dt||(dt={}));const Jm=(r,e={message:`Input not instance of ${r.name}`})=>Mp(n=>n instanceof r,e),Pp=Ma.create,Fp=Ds.create,Qm=sd.create,Xm=Ls.create,Dp=uc.create,qm=Tl.create,ev=td.create,tv=cc.create,nv=dc.create,rv=ku.create,iv=Rl.create,av=Go.create,ov=nd.create,sv=Pa.create,lv=An.create,uv=An.strictCreate,cv=fc.create,dv=id.create,fv=pc.create,pv=fo.create,hv=hc.create,gv=ad.create,mv=Il.create,vv=Eu.create,bv=gc.create,yv=mc.create,wv=Bs.create,xv=vc.create,Sv=Cu.create,Lp=Fa.create,kv=Zo.create,_v=Al.create,Ev=Fa.createWithPreprocess,Cv=yc.create;var Pn=Object.freeze({__proto__:null,defaultErrorMap:sc,setErrorMap:Dm,getErrorMap:Xc,makeIssue:qc,EMPTY_PATH:Lm,addIssueToContext:Ve,ParseStatus:Mr,INVALID:bt,DIRTY:Rp,OK:Kr,isAborted:Gd,isDirty:Zd,isValid:lc,isAsync:ed,get util(){return Jt},get objectUtil(){return $d},ZodParsedType:je,getParsedType:Fs,ZodType:It,ZodString:Ma,ZodNumber:Ds,ZodBigInt:Ls,ZodBoolean:uc,ZodDate:Tl,ZodSymbol:td,ZodUndefined:cc,ZodNull:dc,ZodAny:ku,ZodUnknown:Rl,ZodNever:Go,ZodVoid:nd,ZodArray:Pa,ZodObject:An,ZodUnion:fc,ZodDiscriminatedUnion:id,ZodIntersection:pc,ZodTuple:fo,ZodRecord:hc,ZodMap:ad,ZodSet:Il,ZodFunction:Eu,ZodLazy:gc,ZodLiteral:mc,ZodEnum:Bs,ZodNativeEnum:vc,ZodPromise:Cu,ZodEffects:Fa,ZodTransformer:Fa,ZodOptional:Zo,ZodNullable:Al,ZodDefault:bc,ZodCatch:od,ZodNaN:sd,BRAND:Ym,ZodBranded:Op,ZodPipeline:yc,ZodReadonly:ld,custom:Mp,Schema:It,ZodSchema:It,late:Km,get ZodFirstPartyTypeKind(){return dt},coerce:{string:r=>Ma.create({...r,coerce:!0}),number:r=>Ds.create({...r,coerce:!0}),boolean:r=>uc.create({...r,coerce:!0}),bigint:r=>Ls.create({...r,coerce:!0}),date:r=>Tl.create({...r,coerce:!0})},any:rv,array:sv,bigint:Xm,boolean:Dp,date:qm,discriminatedUnion:dv,effect:Lp,enum:wv,function:vv,instanceof:Jm,intersection:fv,lazy:bv,literal:yv,map:gv,nan:Qm,nativeEnum:xv,never:av,null:nv,nullable:_v,number:Fp,object:lv,oboolean:()=>Dp().optional(),onumber:()=>Fp().optional(),optional:kv,ostring:()=>Pp().optional(),pipeline:Cv,preprocess:Ev,promise:Sv,record:hv,set:mv,strictObject:uv,string:Pp,symbol:ev,transformer:Lp,tuple:pv,undefined:tv,union:cv,unknown:iv,void:ov,NEVER:bt,ZodIssueCode:Ce,quotelessJson:Fm,ZodError:Oa});const Bp=Pn.enum(["day","month","year","hour","minute"]),Jd=Pn.enum(["all","some","none"]),Qd=Pn.enum(["eq","not_eq","gt","gteq","lt","lteq"]),Xd=Pn.enum([...Jd.options,...Qd.options]);class Tu{constructor(e){Rt(this,"condition");this.condition=e}}class Tv extends Tu{match(e){const n=e.getFieldState(this.condition.fieldKey);return n.hidden?!1:n.value===this.condition.value}}class Rv extends Tu{match(e){const n=e.getFieldState(this.condition.fieldKey);if(n.hidden)return!1;const a=n.value;if(a==null||typeof a!="number")return!1;switch(this.condition.op){case"gt":return a>this.condition.value;case"gteq":return a>=this.condition.value;case"lt":return a<this.condition.value;case"lteq":return a<=this.condition.value;case"eq":return a===this.condition.value}}}class Iv extends Tu{match(e){const n=e.getFieldState(this.condition.fieldKey);return n.hidden||!n.value?!1:n.value.has(this.condition.value)}}class Av extends Tu{match(e){return!0}}class Ov extends Tu{match(e){const n=e.getFieldState(this.condition.fieldKey);return n.hidden&&!this.condition.evenWhenHidden?!1:n.value!==null&&n.value!==void 0}}class Mv extends Tu{match(e){return e.flags[this.condition.flagKey]===this.condition.triggerOn}}class Np{constructor(e){Rt(this,"action");this.action=e}}class Pv extends Np{act(e){e.markShown(this.action.fieldKey)}}class Fv extends Np{act(e){e.markHidden(this.action.fieldKey)}}function Dv(r){switch(r.type){case"equal":return new Tv(r);case"numeric_compare":return new Rv(r);case"contains":return new Iv(r);case"always":return new Av(r);case"flag_equal":return new Mv(r);case"answered":return new Ov(r);default:throw"unknown condition type"}}function Lv(r){switch(r.type){case"show_question":return new Pv(r);case"hide_question":return new Fv(r);default:throw"unknown action type"}}class Bv{constructor(e,n){Rt(this,"condition");Rt(this,"action");this.condition=e,this.action=n}runAgainst(e){this.condition.match(e)&&this.action.act(e)}}function Nv(r){const e=Dv(r.condition),n=Lv(r.action);return new Bv(e,n)}class qd{constructor(e){Rt(this,"key");Rt(this,"panels");Rt(this,"footer");Rt(this,"questions");Rt(this,"validations");Rt(this,"visibilityRules");Rt(this,"textvars");Rt(this,"sexpVariables");Rt(this,"defaultAnswerValue");Rt(this,"cssVars");Rt(this,"layoutVersion");this.key=e.key,this.questions=e.questions,this.panels=e.panels,this.footer=e.footer,this.validations=e.validations,this.visibilityRules=e.visibilityRules.map(n=>Nv(n)),this.textvars=Object.values(e.textvars),this.sexpVariables=e.sexpVariables||{},this.defaultAnswerValue=e.defaultAnswerValue,this.cssVars=e.cssVars,this.layoutVersion=e.layoutVersion||"v1"}getField(e){return this.questions[e]}getQuestionsInSameGroup(e){const n=this.getField(e);return n.questionGroup?Object.values(this.questions).filter(a=>a.questionGroup===n.questionGroup):[n]}getOptionNumberValue(e,n){const a=this.getField(e);if(a.type==="select"||a.type==="radio"||a.type=="scale"){const o=a.children.find(c=>c.key===n);if(o&&o.type!=="html"&&typeof o.value=="number")return o.value}return null}}var ud={exports:{}};/**
14
14
  * @license
15
15
  * Lodash <https://lodash.com/>
16
16
  * Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
17
17
  * Released under MIT license <https://lodash.com/license>
18
18
  * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
19
19
  * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
20
- */rd.exports,function(r,e){(function(){var n,a="4.17.21",o=200,d="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",v="Expected a function",x="Invalid `variable` option passed into `_.template`",w="__lodash_hash_undefined__",E=500,B="__lodash_placeholder__",D=1,V=2,he=4,ae=1,ye=2,Z=1,G=2,ue=4,be=8,ke=16,re=32,Ie=64,Te=128,Dt=256,dt=512,Mt=30,ve="...",xe=800,Re=16,Be=1,Ye=2,He=3,je=1/0,ze=9007199254740991,pt=17976931348623157e292,oe=0/0,ce=4294967295,Ae=ce-1,Ze=ce>>>1,Pe=[["ary",Te],["bind",Z],["bindKey",G],["curry",be],["curryRight",ke],["flip",dt],["partial",re],["partialRight",Ie],["rearg",Dt]],Fe="[object Arguments]",Oe="[object Array]",qe="[object AsyncFunction]",et="[object Boolean]",Ke="[object Date]",nt="[object DOMException]",kt="[object Error]",_e="[object Function]",It="[object GeneratorFunction]",mt="[object Map]",fn="[object Number]",jn="[object Null]",Sn="[object Object]",zn="[object Promise]",dr="[object Proxy]",nr="[object RegExp]",Mn="[object Set]",yn="[object String]",pn="[object Symbol]",hn="[object Undefined]",fr="[object WeakMap]",gi="[object WeakSet]",Un="[object ArrayBuffer]",Zt="[object DataView]",Ar="[object Float32Array]",Zr="[object Float64Array]",Or="[object Int8Array]",Yr="[object Int16Array]",Mr="[object Int32Array]",Mi="[object Uint8Array]",Kr="[object Uint8ClampedArray]",pr="[object Uint16Array]",Jr="[object Uint32Array]",ia=/\b__p \+= '';/g,kn=/\b(__p \+=) '' \+/g,rr=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Fn=/&(?:amp|lt|gt|quot|#39);/g,At=/[&<>"']/g,hr=RegExp(Fn.source),Qr=RegExp(At.source),Xr=/<%-([\s\S]+?)%>/g,ir=/<%([\s\S]+?)%>/g,qr=/<%=([\s\S]+?)%>/g,gr=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,nn=/^\w*$/,Fi=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ei=/[\\^$.*+?()[\]{}|]/g,Pi=RegExp(ei.source),rn=/^\s+/,Di=/\s/,Fa=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Pa=/\{\n\/\* \[wrapped with (.+)\] \*/,U=/,? & /,ge=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Ce=/[()=,{}\[\]\/\s]/,tt=/\\(\\)?/g,vt=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,_t=/\w*$/,wt=/^[-+]0x[0-9a-f]+$/i,ft=/^0b[01]+$/i,ln=/^\[object .+?Constructor\]$/,zt=/^0o[0-7]+$/i,Ut=/^(?:0|[1-9]\d*)$/,on=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,In=/($^)/,Fr=/['\n\r\u2028\u2029\\]/g,Xt="\\ud800-\\udfff",un="\\u0300-\\u036f",Pr="\\ufe20-\\ufe2f",Sr="\\u20d0-\\u20ff",_n=un+Pr+Sr,Li="\\u2700-\\u27bf",kr="a-z\\xdf-\\xf6\\xf8-\\xff",Dr="\\xac\\xb1\\xd7\\xf7",Jn="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",ti="\\u2000-\\u206f",mi=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",aa="A-Z\\xc0-\\xd6\\xd8-\\xde",oa="\\ufe0e\\ufe0f",Bi=Dr+Jn+ti+mi,Lr="['’]",Da="["+Xt+"]",Ni="["+Bi+"]",ni="["+_n+"]",p="\\d+",k="["+Li+"]",A="["+kr+"]",F="[^"+Xt+Bi+p+Li+kr+aa+"]",X="\\ud83c[\\udffb-\\udfff]",K="(?:"+ni+"|"+X+")",ie="[^"+Xt+"]",we="(?:\\ud83c[\\udde6-\\uddff]){2}",Ve="[\\ud800-\\udbff][\\udc00-\\udfff]",Qe="["+aa+"]",Je="\\u200d",Ft="(?:"+A+"|"+F+")",ar="(?:"+Qe+"|"+F+")",Pn="(?:"+Lr+"(?:d|ll|m|re|s|t|ve))?",Dn="(?:"+Lr+"(?:D|LL|M|RE|S|T|VE))?",Br=K+"?",mr="["+oa+"]?",sa="(?:"+Je+"(?:"+[ie,we,Ve].join("|")+")"+mr+Br+")*",vi="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",ji="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Nr=mr+Br+sa,La="(?:"+[k,we,Ve].join("|")+")"+Nr,Fl="(?:"+[ie+ni+"?",ni,we,Ve,Da].join("|")+")",Pl=RegExp(Lr,"g"),Zo=RegExp(ni,"g"),Yo=RegExp(X+"(?="+X+")|"+Fl+Nr,"g"),Ko=RegExp([Qe+"?"+A+"+"+Pn+"(?="+[Ni,Qe,"$"].join("|")+")",ar+"+"+Dn+"(?="+[Ni,Qe+Ft,"$"].join("|")+")",Qe+"?"+Ft+"+"+Pn,Qe+"+"+Dn,ji,vi,p,La].join("|"),"g"),ri=RegExp("["+Je+Xt+_n+oa+"]"),Ba=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,fo=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Kt=-1,Lt={};Lt[Ar]=Lt[Zr]=Lt[Or]=Lt[Yr]=Lt[Mr]=Lt[Mi]=Lt[Kr]=Lt[pr]=Lt[Jr]=!0,Lt[Fe]=Lt[Oe]=Lt[Un]=Lt[et]=Lt[Zt]=Lt[Ke]=Lt[kt]=Lt[_e]=Lt[mt]=Lt[fn]=Lt[Sn]=Lt[nr]=Lt[Mn]=Lt[yn]=Lt[fr]=!1;var xt={};xt[Fe]=xt[Oe]=xt[Un]=xt[Zt]=xt[et]=xt[Ke]=xt[Ar]=xt[Zr]=xt[Or]=xt[Yr]=xt[Mr]=xt[mt]=xt[fn]=xt[Sn]=xt[nr]=xt[Mn]=xt[yn]=xt[pn]=xt[Mi]=xt[Kr]=xt[pr]=xt[Jr]=!0,xt[kt]=xt[_e]=xt[fr]=!1;var zi={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},bi={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},po={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"},yi={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},_r=parseFloat,Jo=parseInt,ho=typeof qn=="object"&&qn&&qn.Object===Object&&qn,Us=typeof self=="object"&&self&&self.Object===Object&&self,En=ho||Us||Function("return this")(),go=e&&!e.nodeType&&e,Ui=go&&!0&&r&&!r.nodeType&&r,Vs=Ui&&Ui.exports===go,la=Vs&&ho.process,Vn=function(){try{var Y=Ui&&Ui.require&&Ui.require("util").types;return Y||la&&la.binding&&la.binding("util")}catch{}}(),Na=Vn&&Vn.isArrayBuffer,ua=Vn&&Vn.isDate,Ws=Vn&&Vn.isMap,ca=Vn&&Vn.isRegExp,mo=Vn&&Vn.isSet,vo=Vn&&Vn.isTypedArray;function Cn(Y,se,ne){switch(ne.length){case 0:return Y.call(se);case 1:return Y.call(se,ne[0]);case 2:return Y.call(se,ne[0],ne[1]);case 3:return Y.call(se,ne[0],ne[1],ne[2])}return Y.apply(se,ne)}function da(Y,se,ne,Ne){for(var ot=-1,Pt=Y==null?0:Y.length;++ot<Pt;){var gn=Y[ot];se(Ne,gn,ne(gn),Y)}return Ne}function Wn(Y,se){for(var ne=-1,Ne=Y==null?0:Y.length;++ne<Ne&&se(Y[ne],ne,Y)!==!1;);return Y}function Hs(Y,se){for(var ne=Y==null?0:Y.length;ne--&&se(Y[ne],ne,Y)!==!1;);return Y}function bo(Y,se){for(var ne=-1,Ne=Y==null?0:Y.length;++ne<Ne;)if(!se(Y[ne],ne,Y))return!1;return!0}function ii(Y,se){for(var ne=-1,Ne=Y==null?0:Y.length,ot=0,Pt=[];++ne<Ne;){var gn=Y[ne];se(gn,ne,Y)&&(Pt[ot++]=gn)}return Pt}function Vi(Y,se){var ne=Y==null?0:Y.length;return!!ne&&Wi(Y,se,0)>-1}function Hn(Y,se,ne){for(var Ne=-1,ot=Y==null?0:Y.length;++Ne<ot;)if(ne(se,Y[Ne]))return!0;return!1}function qt(Y,se){for(var ne=-1,Ne=Y==null?0:Y.length,ot=Array(Ne);++ne<Ne;)ot[ne]=se(Y[ne],ne,Y);return ot}function Er(Y,se){for(var ne=-1,Ne=se.length,ot=Y.length;++ne<Ne;)Y[ot+ne]=se[ne];return Y}function Qo(Y,se,ne,Ne){var ot=-1,Pt=Y==null?0:Y.length;for(Ne&&Pt&&(ne=Y[++ot]);++ot<Pt;)ne=se(ne,Y[ot],ot,Y);return ne}function $s(Y,se,ne,Ne){var ot=Y==null?0:Y.length;for(Ne&&ot&&(ne=Y[--ot]);ot--;)ne=se(ne,Y[ot],ot,Y);return ne}function fa(Y,se){for(var ne=-1,Ne=Y==null?0:Y.length;++ne<Ne;)if(se(Y[ne],ne,Y))return!0;return!1}var Gs=h("length");function Zs(Y){return Y.split("")}function yo(Y){return Y.match(ge)||[]}function ja(Y,se,ne){var Ne;return ne(Y,function(ot,Pt,gn){if(se(ot,Pt,gn))return Ne=Pt,!1}),Ne}function za(Y,se,ne,Ne){for(var ot=Y.length,Pt=ne+(Ne?1:-1);Ne?Pt--:++Pt<ot;)if(se(Y[Pt],Pt,Y))return Pt;return-1}function Wi(Y,se,ne){return se===se?_c(Y,se,ne):za(Y,wo,ne)}function Ys(Y,se,ne,Ne){for(var ot=ne-1,Pt=Y.length;++ot<Pt;)if(Ne(Y[ot],se))return ot;return-1}function wo(Y){return Y!==Y}function Xo(Y,se){var ne=Y==null?0:Y.length;return ne?q(Y,se)/ne:oe}function h(Y){return function(se){return se==null?n:se[Y]}}function S(Y){return function(se){return Y==null?n:Y[se]}}function R(Y,se,ne,Ne,ot){return ot(Y,function(Pt,gn,Vt){ne=Ne?(Ne=!1,Pt):se(ne,Pt,gn,Vt)}),ne}function P(Y,se){var ne=Y.length;for(Y.sort(se);ne--;)Y[ne]=Y[ne].value;return Y}function q(Y,se){for(var ne,Ne=-1,ot=Y.length;++Ne<ot;){var Pt=se(Y[Ne]);Pt!==n&&(ne=ne===n?Pt:ne+Pt)}return ne}function Q(Y,se){for(var ne=-1,Ne=Array(Y);++ne<Y;)Ne[ne]=se(ne);return Ne}function le(Y,se){return qt(se,function(ne){return[ne,Y[ne]]})}function Se(Y){return Y&&Y.slice(0,Bl(Y)+1).replace(rn,"")}function $e(Y){return function(se){return Y(se)}}function ht(Y,se){return qt(se,function(ne){return Y[ne]})}function at(Y,se){return Y.has(se)}function Jt(Y,se){for(var ne=-1,Ne=Y.length;++ne<Ne&&Wi(se,Y[ne],0)>-1;);return ne}function Qn(Y,se){for(var ne=Y.length;ne--&&Wi(se,Y[ne],0)>-1;);return ne}function Cr(Y,se){for(var ne=Y.length,Ne=0;ne--;)Y[ne]===se&&++Ne;return Ne}var Tr=S(zi),xo=S(bi);function Ks(Y){return"\\"+yi[Y]}function qo(Y,se){return Y==null?n:Y[se]}function So(Y){return ri.test(Y)}function xc(Y){return Ba.test(Y)}function Sc(Y){for(var se,ne=[];!(se=Y.next()).done;)ne.push(se.value);return ne}function Dl(Y){var se=-1,ne=Array(Y.size);return Y.forEach(function(Ne,ot){ne[++se]=[ot,Ne]}),ne}function Iu(Y,se){return function(ne){return Y(se(ne))}}function pa(Y,se){for(var ne=-1,Ne=Y.length,ot=0,Pt=[];++ne<Ne;){var gn=Y[ne];(gn===se||gn===B)&&(Y[ne]=B,Pt[ot++]=ne)}return Pt}function ko(Y){var se=-1,ne=Array(Y.size);return Y.forEach(function(Ne){ne[++se]=Ne}),ne}function kc(Y){var se=-1,ne=Array(Y.size);return Y.forEach(function(Ne){ne[++se]=[Ne,Ne]}),ne}function _c(Y,se,ne){for(var Ne=ne-1,ot=Y.length;++Ne<ot;)if(Y[Ne]===se)return Ne;return-1}function Ll(Y,se,ne){for(var Ne=ne+1;Ne--;)if(Y[Ne]===se)return Ne;return Ne}function _o(Y){return So(Y)?Nl(Y):Gs(Y)}function Rr(Y){return So(Y)?jr(Y):Zs(Y)}function Bl(Y){for(var se=Y.length;se--&&Di.test(Y.charAt(se)););return se}var Au=S(po);function Nl(Y){for(var se=Yo.lastIndex=0;Yo.test(Y);)++se;return se}function jr(Y){return Y.match(Yo)||[]}function Ec(Y){return Y.match(Ko)||[]}var Ou=function Y(se){se=se==null?En:Ln.defaults(En.Object(),se,Ln.pick(En,fo));var ne=se.Array,Ne=se.Date,ot=se.Error,Pt=se.Function,gn=se.Math,Vt=se.Object,ha=se.RegExp,jl=se.String,vr=se.TypeError,Ua=ne.prototype,Cc=Pt.prototype,Va=Vt.prototype,Js=se["__core-js_shared__"],Qs=Cc.toString,Ht=Va.hasOwnProperty,Mu=0,cn=function(){var t=/[^.]+$/.exec(Js&&Js.keys&&Js.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),ga=Va.toString,zl=Qs.call(Vt),dn=En._,Eo=ha("^"+Qs.call(Ht).replace(ei,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Co=Vs?se.Buffer:n,wi=se.Symbol,To=se.Uint8Array,Xs=Co?Co.allocUnsafe:n,Ro=Iu(Vt.getPrototypeOf,Vt),Ul=Vt.create,Vl=Va.propertyIsEnumerable,Wa=Ua.splice,qs=wi?wi.isConcatSpreadable:n,Hi=wi?wi.iterator:n,ai=wi?wi.toStringTag:n,$i=function(){try{var t=vu(Vt,"defineProperty");return t({},"",{}),t}catch{}}(),es=se.clearTimeout!==En.clearTimeout&&se.clearTimeout,ts=Ne&&Ne.now!==En.Date.now&&Ne.now,el=se.setTimeout!==En.setTimeout&&se.setTimeout,ns=gn.ceil,Io=gn.floor,rs=Vt.getOwnPropertySymbols,Wl=Co?Co.isBuffer:n,Hl=se.isFinite,Ao=Ua.join,$l=Iu(Vt.keys,Vt),mn=gn.max,vn=gn.min,Gl=Ne.now,Zl=se.parseInt,Gi=gn.random,Fu=Ua.reverse,Zi=vu(se,"DataView"),oi=vu(se,"Map"),is=vu(se,"Promise"),or=vu(se,"Set"),ma=vu(se,"WeakMap"),va=vu(Vt,"create"),ba=ma&&new ma,ya={},as=bu(Zi),Pu=bu(oi),Du=bu(is),tl=bu(or),os=bu(ma),Oo=wi?wi.prototype:n,ss=Oo?Oo.valueOf:n,Ha=Oo?Oo.toString:n;function I(t){if(Nn(t)&&!Et(t)&&!(t instanceof St)){if(t instanceof sr)return t;if(Ht.call(t,"__wrapped__"))return Xh(t)}return new sr(t)}var wa=function(){function t(){}return function(i){if(!An(i))return{};if(Ul)return Ul(i);t.prototype=i;var u=new t;return t.prototype=n,u}}();function $a(){}function sr(t,i){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!i,this.__index__=0,this.__values__=n}I.templateSettings={escape:Xr,evaluate:ir,interpolate:qr,variable:"",imports:{_:I}},I.prototype=$a.prototype,I.prototype.constructor=I,sr.prototype=wa($a.prototype),sr.prototype.constructor=sr;function St(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=ce,this.__views__=[]}function nl(){var t=new St(this.__wrapped__);return t.__actions__=Zn(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=Zn(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=Zn(this.__views__),t}function Mo(){if(this.__filtered__){var t=new St(this);t.__dir__=-1,t.__filtered__=!0}else t=this.clone(),t.__dir__*=-1;return t}function ls(){var t=this.__wrapped__.value(),i=this.__dir__,u=Et(t),m=i<0,C=u?t.length:0,O=d0(0,C,this.__views__),j=O.start,$=O.end,J=$-j,de=m?$:j-1,fe=this.__iteratees__,me=fe.length,Le=0,Xe=vn(J,this.__takeCount__);if(!u||!m&&C==J&&Xe==J)return wr(t,this.__actions__);var lt=[];e:for(;J--&&Le<Xe;){de+=i;for(var Ot=-1,ut=t[de];++Ot<me;){var Nt=fe[Ot],Wt=Nt.iteratee,ta=Nt.type,pi=Wt(ut);if(ta==Ye)ut=pi;else if(!pi){if(ta==Be)continue e;break e}}lt[Le++]=ut}return lt}St.prototype=wa($a.prototype),St.prototype.constructor=St;function xi(t){var i=-1,u=t==null?0:t.length;for(this.clear();++i<u;){var m=t[i];this.set(m[0],m[1])}}function Fo(){this.__data__=va?va(null):{},this.size=0}function rl(t){var i=this.has(t)&&delete this.__data__[t];return this.size-=i?1:0,i}function il(t){var i=this.__data__;if(va){var u=i[t];return u===w?n:u}return Ht.call(i,t)?i[t]:n}function al(t){var i=this.__data__;return va?i[t]!==n:Ht.call(i,t)}function Lu(t,i){var u=this.__data__;return this.size+=this.has(t)?0:1,u[t]=va&&i===n?w:i,this}xi.prototype.clear=Fo,xi.prototype.delete=rl,xi.prototype.get=il,xi.prototype.has=al,xi.prototype.set=Lu;function Si(t){var i=-1,u=t==null?0:t.length;for(this.clear();++i<u;){var m=t[i];this.set(m[0],m[1])}}function Bu(){this.__data__=[],this.size=0}function Tc(t){var i=this.__data__,u=Ur(i,t);if(u<0)return!1;var m=i.length-1;return u==m?i.pop():Wa.call(i,u,1),--this.size,!0}function Rc(t){var i=this.__data__,u=Ur(i,t);return u<0?n:i[u][1]}function Nu(t){return Ur(this.__data__,t)>-1}function Ic(t,i){var u=this.__data__,m=Ur(u,t);return m<0?(++this.size,u.push([t,i])):u[m][1]=i,this}Si.prototype.clear=Bu,Si.prototype.delete=Tc,Si.prototype.get=Rc,Si.prototype.has=Nu,Si.prototype.set=Ic;function Yi(t){var i=-1,u=t==null?0:t.length;for(this.clear();++i<u;){var m=t[i];this.set(m[0],m[1])}}function ol(){this.size=0,this.__data__={hash:new xi,map:new(oi||Si),string:new xi}}function sl(t){var i=Ed(this,t).delete(t);return this.size-=i?1:0,i}function Ac(t){return Ed(this,t).get(t)}function Yl(t){return Ed(this,t).has(t)}function ll(t,i){var u=Ed(this,t),m=u.size;return u.set(t,i),this.size+=u.size==m?0:1,this}Yi.prototype.clear=ol,Yi.prototype.delete=sl,Yi.prototype.get=Ac,Yi.prototype.has=Yl,Yi.prototype.set=ll;function Ga(t){var i=-1,u=t==null?0:t.length;for(this.__data__=new Yi;++i<u;)this.add(t[i])}function Oc(t){return this.__data__.set(t,w),this}function Mc(t){return this.__data__.has(t)}Ga.prototype.add=Ga.prototype.push=Oc,Ga.prototype.has=Mc;function si(t){var i=this.__data__=new Si(t);this.size=i.size}function Ki(){this.__data__=new Si,this.size=0}function Kl(t){var i=this.__data__,u=i.delete(t);return this.size=i.size,u}function ul(t){return this.__data__.get(t)}function Bt(t){return this.__data__.has(t)}function Za(t,i){var u=this.__data__;if(u instanceof Si){var m=u.__data__;if(!oi||m.length<o-1)return m.push([t,i]),this.size=++u.size,this;u=this.__data__=new Yi(m)}return u.set(t,i),this.size=u.size,this}si.prototype.clear=Ki,si.prototype.delete=Kl,si.prototype.get=ul,si.prototype.has=Bt,si.prototype.set=Za;function xa(t,i){var u=Et(t),m=!u&&yu(t),C=!u&&!m&&_l(t),O=!u&&!m&&!C&&Xu(t),j=u||m||C||O,$=j?Q(t.length,jl):[],J=$.length;for(var de in t)(i||Ht.call(t,de))&&!(j&&(de=="length"||C&&(de=="offset"||de=="parent")||O&&(de=="buffer"||de=="byteLength"||de=="byteOffset")||Ts(de,J)))&&$.push(de);return $}function $t(t){var i=t.length;return i?t[ml(0,i-1)]:n}function zr(t,i){return Cd(Zn(t),Sa(i,0,t.length))}function Ya(t){return Cd(Zn(t))}function Po(t,i,u){(u!==n&&!ro(t[i],u)||u===n&&!(i in t))&&$n(t,i,u)}function wn(t,i,u){var m=t[i];(!(Ht.call(t,i)&&ro(m,u))||u===n&&!(i in t))&&$n(t,i,u)}function Ur(t,i){for(var u=t.length;u--;)if(ro(t[u][0],i))return u;return-1}function Ka(t,i,u,m){return ka(t,function(C,O,j){i(m,C,u(C),j)}),m}function li(t,i){return t&&Ei(i,xr(i),t)}function Ja(t,i){return t&&Ei(i,Ti(i),t)}function $n(t,i,u){i=="__proto__"&&$i?$i(t,i,{configurable:!0,enumerable:!0,value:u,writable:!0}):t[i]=u}function Jl(t,i){for(var u=-1,m=i.length,C=ne(m),O=t==null;++u<m;)C[u]=O?n:Wf(t,i[u]);return C}function Sa(t,i,u){return t===t&&(u!==n&&(t=t<=u?t:u),i!==n&&(t=t>=i?t:i)),t}function lr(t,i,u,m,C,O){var j,$=i&D,J=i&V,de=i&he;if(u&&(j=C?u(t,m,C,O):u(t)),j!==n)return j;if(!An(t))return t;var fe=Et(t);if(fe){if(j=p0(t),!$)return Zn(t,j)}else{var me=$r(t),Le=me==_e||me==It;if(_l(t))return pu(t,$);if(me==Sn||me==Fe||Le&&!C){if(j=J||Le?{}:Wh(t),!$)return J?Sl(t,Ja(j,t)):Ku(t,li(j,t))}else{if(!xt[me])return C?t:{};j=h0(t,me,$)}}O||(O=new si);var Xe=O.get(t);if(Xe)return Xe;O.set(t,j),bg(t)?t.forEach(function(ut){j.add(lr(ut,i,u,ut,t,O))}):mg(t)&&t.forEach(function(ut,Nt){j.set(Nt,lr(ut,i,u,Nt,t,O))});var lt=de?J?If:Rf:J?Ti:xr,Ot=fe?n:lt(t);return Wn(Ot||t,function(ut,Nt){Ot&&(Nt=ut,ut=t[Nt]),wn(j,Nt,lr(ut,i,u,Nt,t,O))}),j}function Ql(t){var i=xr(t);return function(u){return ju(u,t,i)}}function ju(t,i,u){var m=u.length;if(t==null)return!m;for(t=Vt(t);m--;){var C=u[m],O=i[C],j=t[C];if(j===n&&!(C in t)||!O(j))return!1}return!0}function Xl(t,i,u){if(typeof t!="function")throw new vr(v);return Bc(function(){t.apply(n,u)},i)}function Ji(t,i,u,m){var C=-1,O=Vi,j=!0,$=t.length,J=[],de=i.length;if(!$)return J;u&&(i=qt(i,$e(u))),m?(O=Hn,j=!1):i.length>=o&&(O=at,j=!1,i=new Ga(i));e:for(;++C<$;){var fe=t[C],me=u==null?fe:u(fe);if(fe=m||fe!==0?fe:0,j&&me===me){for(var Le=de;Le--;)if(i[Le]===me)continue e;J.push(fe)}else O(i,me,m)||J.push(fe)}return J}var ka=f(ki),ql=f(nu,!0);function cl(t,i){var u=!0;return ka(t,function(m,C,O){return u=!!i(m,C,O),u}),u}function dl(t,i,u){for(var m=-1,C=t.length;++m<C;){var O=t[m],j=i(O);if(j!=null&&($===n?j===j&&!ea(j):u(j,$)))var $=j,J=O}return J}function zu(t,i,u,m){var C=t.length;for(u=Tt(u),u<0&&(u=-u>C?0:C+u),m=m===n||m>C?C:Tt(m),m<0&&(m+=C),m=u>m?0:wg(m);u<m;)t[u++]=i;return t}function eu(t,i){var u=[];return ka(t,function(m,C,O){i(m,C,O)&&u.push(m)}),u}function Gn(t,i,u,m,C){var O=-1,j=t.length;for(u||(u=m0),C||(C=[]);++O<j;){var $=t[O];i>0&&u($)?i>1?Gn($,i-1,u,m,C):Er(C,$):m||(C[C.length]=$)}return C}var tu=b(),Uu=b(!0);function ki(t,i){return t&&tu(t,i,xr)}function nu(t,i){return t&&Uu(t,i,xr)}function fl(t,i){return ii(i,function(u){return Rs(t[u])})}function Qa(t,i){i=qi(i,t);for(var u=0,m=i.length;t!=null&&u<m;)t=t[Vo(i[u++])];return u&&u==m?t:n}function us(t,i,u){var m=i(t);return Et(t)?m:Er(m,u(t))}function Xn(t){return t==null?t===n?hn:jn:ai&&ai in Vt(t)?c0(t):k0(t)}function cs(t,i){return t>i}function ds(t,i){return t!=null&&Ht.call(t,i)}function Vu(t,i){return t!=null&&i in Vt(t)}function fs(t,i,u){return t>=vn(i,u)&&t<mn(i,u)}function Do(t,i,u){for(var m=u?Hn:Vi,C=t[0].length,O=t.length,j=O,$=ne(O),J=1/0,de=[];j--;){var fe=t[j];j&&i&&(fe=qt(fe,$e(i))),J=vn(fe.length,J),$[j]=!u&&(i||C>=120&&fe.length>=120)?new Ga(j&&fe):n}fe=t[0];var me=-1,Le=$[0];e:for(;++me<C&&de.length<J;){var Xe=fe[me],lt=i?i(Xe):Xe;if(Xe=u||Xe!==0?Xe:0,!(Le?at(Le,lt):m(de,lt,u))){for(j=O;--j;){var Ot=$[j];if(!(Ot?at(Ot,lt):m(t[j],lt,u)))continue e}Le&&Le.push(lt),de.push(Xe)}}return de}function ru(t,i,u,m){return ki(t,function(C,O,j){i(m,u(C),O,j)}),m}function Vr(t,i,u){i=qi(i,t),t=Zh(t,i);var m=t==null?t:t[Vo(Ea(i))];return m==null?n:Cn(m,t,u)}function ps(t){return Nn(t)&&Xn(t)==Fe}function pl(t){return Nn(t)&&Xn(t)==Un}function Xa(t){return Nn(t)&&Xn(t)==Ke}function Lo(t,i,u,m,C){return t===i?!0:t==null||i==null||!Nn(t)&&!Nn(i)?t!==t&&i!==i:iu(t,i,u,m,Lo,C)}function iu(t,i,u,m,C,O){var j=Et(t),$=Et(i),J=j?Oe:$r(t),de=$?Oe:$r(i);J=J==Fe?Sn:J,de=de==Fe?Sn:de;var fe=J==Sn,me=de==Sn,Le=J==de;if(Le&&_l(t)){if(!_l(i))return!1;j=!0,fe=!1}if(Le&&!fe)return O||(O=new si),j||Xu(t)?Es(t,i,u,m,C,O):Cf(t,i,J,u,m,C,O);if(!(u&ae)){var Xe=fe&&Ht.call(t,"__wrapped__"),lt=me&&Ht.call(i,"__wrapped__");if(Xe||lt){var Ot=Xe?t.value():t,ut=lt?i.value():i;return O||(O=new si),C(Ot,ut,u,m,O)}}return Le?(O||(O=new si),Tf(t,i,u,m,C,O)):!1}function qa(t){return Nn(t)&&$r(t)==mt}function au(t,i,u,m){var C=u.length,O=C,j=!m;if(t==null)return!O;for(t=Vt(t);C--;){var $=u[C];if(j&&$[2]?$[1]!==t[$[0]]:!($[0]in t))return!1}for(;++C<O;){$=u[C];var J=$[0],de=t[J],fe=$[1];if(j&&$[2]){if(de===n&&!(J in t))return!1}else{var me=new si;if(m)var Le=m(de,fe,J,t,i,me);if(!(Le===n?Lo(fe,de,ae|ye,m,me):Le))return!1}}return!0}function ou(t){if(!An(t)||b0(t))return!1;var i=Rs(t)?Eo:ln;return i.test(bu(t))}function _i(t){return Nn(t)&&Xn(t)==nr}function Fc(t){return Nn(t)&&$r(t)==Mn}function Pc(t){return Nn(t)&&Md(t.length)&&!!Lt[Xn(t)]}function Bo(t){return typeof t=="function"?t:t==null?Ri:typeof t=="object"?Et(t)?ci(t[0],t[1]):Qi(t):Og(t)}function hs(t){if(!Lc(t))return $l(t);var i=[];for(var u in Vt(t))Ht.call(t,u)&&u!="constructor"&&i.push(u);return i}function hl(t){if(!An(t))return S0(t);var i=Lc(t),u=[];for(var m in t)m=="constructor"&&(i||!Ht.call(t,m))||u.push(m);return u}function ui(t,i){return t<i}function No(t,i){var u=-1,m=Ci(t)?ne(t.length):[];return ka(t,function(C,O,j){m[++u]=i(C,O,j)}),m}function Qi(t){var i=Of(t);return i.length==1&&i[0][2]?$h(i[0][0],i[0][1]):function(u){return u===t||au(u,t,i)}}function ci(t,i){return Ff(t)&&Hh(i)?$h(Vo(t),i):function(u){var m=Wf(u,t);return m===n&&m===i?Hf(u,t):Lo(i,m,ae|ye)}}function jo(t,i,u,m,C){t!==i&&tu(i,function(O,j){if(C||(C=new si),An(O))Wr(t,i,j,u,jo,m,C);else{var $=m?m(Df(t,j),O,j+"",t,i,C):n;$===n&&($=O),Po(t,j,$)}},Ti)}function Wr(t,i,u,m,C,O,j){var $=Df(t,u),J=Df(i,u),de=j.get(J);if(de){Po(t,u,de);return}var fe=O?O($,J,u+"",t,i,j):n,me=fe===n;if(me){var Le=Et(J),Xe=!Le&&_l(J),lt=!Le&&!Xe&&Xu(J);fe=J,Le||Xe||lt?Et($)?fe=$:Yn($)?fe=Zn($):Xe?(me=!1,fe=pu(J,!0)):lt?(me=!1,fe=hu(J,!0)):fe=[]:Nc(J)||yu(J)?(fe=$,yu($)?fe=xg($):(!An($)||Rs($))&&(fe=Wh(J))):me=!1}me&&(j.set(J,fe),C(fe,J,m,O,j),j.delete(J)),Po(t,u,fe)}function eo(t,i){var u=t.length;if(u)return i+=i<0?u:0,Ts(i,u)?t[i]:n}function gl(t,i,u){i.length?i=qt(i,function(O){return Et(O)?function(j){return Qa(j,O.length===1?O[0]:O)}:O}):i=[Ri];var m=-1;i=qt(i,$e(st()));var C=No(t,function(O,j,$){var J=qt(i,function(de){return de(O)});return{criteria:J,index:++m,value:O}});return P(C,function(O,j){return _s(O,j,u)})}function Hr(t,i){return Xi(t,i,function(u,m){return Hf(t,m)})}function Xi(t,i,u){for(var m=-1,C=i.length,O={};++m<C;){var j=i[m],$=Qa(t,j);u($,j)&&no(O,qi(j,t),$)}return O}function su(t){return function(i){return Qa(i,t)}}function to(t,i,u,m){var C=m?Ys:Wi,O=-1,j=i.length,$=t;for(t===i&&(i=Zn(i)),u&&($=qt(t,$e(u)));++O<j;)for(var J=0,de=i[O],fe=u?u(de):de;(J=C($,fe,J,m))>-1;)$!==t&&Wa.call($,J,1),Wa.call(t,J,1);return t}function gs(t,i){for(var u=t?i.length:0,m=u-1;u--;){var C=i[u];if(u==m||C!==O){var O=C;Ts(C)?Wa.call(t,C,1):du(t,C)}}return t}function ml(t,i){return t+Io(Gi()*(i-t+1))}function Wu(t,i,u,m){for(var C=-1,O=mn(ns((i-t)/(u||1)),0),j=ne(O);O--;)j[m?O:++C]=t,t+=u;return j}function lu(t,i){var u="";if(!t||i<1||i>ze)return u;do i%2&&(u+=t),i=Io(i/2),i&&(t+=t);while(i);return u}function bt(t,i){return Lf(Gh(t,i,Ri),t+"")}function ms(t){return $t(qu(t))}function Hu(t,i){var u=qu(t);return Cd(u,Sa(i,0,u.length))}function no(t,i,u,m){if(!An(t))return t;i=qi(i,t);for(var C=-1,O=i.length,j=O-1,$=t;$!=null&&++C<O;){var J=Vo(i[C]),de=u;if(J==="__proto__"||J==="constructor"||J==="prototype")return t;if(C!=j){var fe=$[J];de=m?m(fe,J,$):n,de===n&&(de=An(fe)?fe:Ts(i[C+1])?[]:{})}wn($,J,de),$=$[J]}return t}var zo=ba?function(t,i){return ba.set(t,i),t}:Ri,uu=$i?function(t,i){return $i(t,"toString",{configurable:!0,enumerable:!1,value:Gf(i),writable:!0})}:Ri;function cu(t){return Cd(qu(t))}function br(t,i,u){var m=-1,C=t.length;i<0&&(i=-i>C?0:C+i),u=u>C?C:u,u<0&&(u+=C),C=i>u?0:u-i>>>0,i>>>=0;for(var O=ne(C);++m<C;)O[m]=t[m+i];return O}function $u(t,i){var u;return ka(t,function(m,C,O){return u=i(m,C,O),!u}),!!u}function vs(t,i,u){var m=0,C=t==null?m:t.length;if(typeof i=="number"&&i===i&&C<=Ze){for(;m<C;){var O=m+C>>>1,j=t[O];j!==null&&!ea(j)&&(u?j<=i:j<i)?m=O+1:C=O}return C}return bs(t,i,Ri,u)}function bs(t,i,u,m){var C=0,O=t==null?0:t.length;if(O===0)return 0;i=u(i);for(var j=i!==i,$=i===null,J=ea(i),de=i===n;C<O;){var fe=Io((C+O)/2),me=u(t[fe]),Le=me!==n,Xe=me===null,lt=me===me,Ot=ea(me);if(j)var ut=m||lt;else de?ut=lt&&(m||Le):$?ut=lt&&Le&&(m||!Xe):J?ut=lt&&Le&&!Xe&&(m||!Ot):Xe||Ot?ut=!1:ut=m?me<=i:me<i;ut?C=fe+1:O=fe}return vn(O,Ae)}function Gu(t,i){for(var u=-1,m=t.length,C=0,O=[];++u<m;){var j=t[u],$=i?i(j):j;if(!u||!ro($,J)){var J=$;O[C++]=j===0?0:j}}return O}function Zu(t){return typeof t=="number"?t:ea(t)?oe:+t}function yr(t){if(typeof t=="string")return t;if(Et(t))return qt(t,yr)+"";if(ea(t))return Ha?Ha.call(t):"";var i=t+"";return i=="0"&&1/t==-je?"-0":i}function _a(t,i,u){var m=-1,C=Vi,O=t.length,j=!0,$=[],J=$;if(u)j=!1,C=Hn;else if(O>=o){var de=i?null:sn(t);if(de)return ko(de);j=!1,C=at,J=new Ga}else J=i?[]:$;e:for(;++m<O;){var fe=t[m],me=i?i(fe):fe;if(fe=u||fe!==0?fe:0,j&&me===me){for(var Le=J.length;Le--;)if(J[Le]===me)continue e;i&&J.push(me),$.push(fe)}else C(J,me,u)||(J!==$&&J.push(me),$.push(fe))}return $}function du(t,i){return i=qi(i,t),t=Zh(t,i),t==null||delete t[Vo(Ea(i))]}function vl(t,i,u,m){return no(t,i,u(Qa(t,i)),m)}function bl(t,i,u,m){for(var C=t.length,O=m?C:-1;(m?O--:++O<C)&&i(t[O],O,t););return u?br(t,m?0:O,m?O+1:C):br(t,m?O+1:0,m?C:O)}function wr(t,i){var u=t;return u instanceof St&&(u=u.value()),Qo(i,function(m,C){return C.func.apply(C.thisArg,Er([m],C.args))},u)}function ys(t,i,u){var m=t.length;if(m<2)return m?_a(t[0]):[];for(var C=-1,O=ne(m);++C<m;)for(var j=t[C],$=-1;++$<m;)$!=C&&(O[C]=Ji(O[C]||j,t[$],i,u));return _a(Gn(O,1),i,u)}function fu(t,i,u){for(var m=-1,C=t.length,O=i.length,j={};++m<C;){var $=m<O?i[m]:n;u(j,t[m],$)}return j}function ur(t){return Yn(t)?t:[]}function ws(t){return typeof t=="function"?t:Ri}function qi(t,i){return Et(t)?t:Ff(t,i)?[t]:Qh(an(t))}var Dc=bt;function di(t,i,u){var m=t.length;return u=u===n?m:u,!i&&u>=m?t:br(t,i,u)}var xs=es||function(t){return En.clearTimeout(t)};function pu(t,i){if(i)return t.slice();var u=t.length,m=Xs?Xs(u):new t.constructor(u);return t.copy(m),m}function yl(t){var i=new t.constructor(t.byteLength);return new To(i).set(new To(t)),i}function Ss(t,i){var u=i?yl(t.buffer):t.buffer;return new t.constructor(u,t.byteOffset,t.byteLength)}function ks(t){var i=new t.constructor(t.source,_t.exec(t));return i.lastIndex=t.lastIndex,i}function wl(t){return ss?Vt(ss.call(t)):{}}function hu(t,i){var u=i?yl(t.buffer):t.buffer;return new t.constructor(u,t.byteOffset,t.length)}function Uo(t,i){if(t!==i){var u=t!==n,m=t===null,C=t===t,O=ea(t),j=i!==n,$=i===null,J=i===i,de=ea(i);if(!$&&!de&&!O&&t>i||O&&j&&J&&!$&&!de||m&&j&&J||!u&&J||!C)return 1;if(!m&&!O&&!de&&t<i||de&&u&&C&&!m&&!O||$&&u&&C||!j&&C||!J)return-1}return 0}function _s(t,i,u){for(var m=-1,C=t.criteria,O=i.criteria,j=C.length,$=u.length;++m<j;){var J=Uo(C[m],O[m]);if(J){if(m>=$)return J;var de=u[m];return J*(de=="desc"?-1:1)}}return t.index-i.index}function Yu(t,i,u,m){for(var C=-1,O=t.length,j=u.length,$=-1,J=i.length,de=mn(O-j,0),fe=ne(J+de),me=!m;++$<J;)fe[$]=i[$];for(;++C<j;)(me||C<O)&&(fe[u[C]]=t[C]);for(;de--;)fe[$++]=t[C++];return fe}function xl(t,i,u,m){for(var C=-1,O=t.length,j=-1,$=u.length,J=-1,de=i.length,fe=mn(O-$,0),me=ne(fe+de),Le=!m;++C<fe;)me[C]=t[C];for(var Xe=C;++J<de;)me[Xe+J]=i[J];for(;++j<$;)(Le||C<O)&&(me[Xe+u[j]]=t[C++]);return me}function Zn(t,i){var u=-1,m=t.length;for(i||(i=ne(m));++u<m;)i[u]=t[u];return i}function Ei(t,i,u,m){var C=!u;u||(u={});for(var O=-1,j=i.length;++O<j;){var $=i[O],J=m?m(u[$],t[$],$,u,t):n;J===n&&(J=t[$]),C?$n(u,$,J):wn(u,$,J)}return u}function Ku(t,i){return Ei(t,Mf(t),i)}function Sl(t,i){return Ei(t,Uh(t),i)}function kl(t,i){return function(u,m){var C=Et(u)?da:Ka,O=i?i():{};return C(u,t,st(m,2),O)}}function l(t){return bt(function(i,u){var m=-1,C=u.length,O=C>1?u[C-1]:n,j=C>2?u[2]:n;for(O=t.length>3&&typeof O=="function"?(C--,O):n,j&&fi(u[0],u[1],j)&&(O=C<3?n:O,C=1),i=Vt(i);++m<C;){var $=u[m];$&&t(i,$,m,O)}return i})}function f(t,i){return function(u,m){if(u==null)return u;if(!Ci(u))return t(u,m);for(var C=u.length,O=i?C:-1,j=Vt(u);(i?O--:++O<C)&&m(j[O],O,j)!==!1;);return u}}function b(t){return function(i,u,m){for(var C=-1,O=Vt(i),j=m(i),$=j.length;$--;){var J=j[t?$:++C];if(u(O[J],J,O)===!1)break}return i}}function _(t,i,u){var m=i&Z,C=H(t);function O(){var j=this&&this!==En&&this instanceof O?C:t;return j.apply(m?u:this,arguments)}return O}function M(t){return function(i){i=an(i);var u=So(i)?Rr(i):n,m=u?u[0]:i.charAt(0),C=u?di(u,1).join(""):i.slice(1);return m[t]()+C}}function N(t){return function(i){return Qo(Ig(Rg(i).replace(Pl,"")),t,"")}}function H(t){return function(){var i=arguments;switch(i.length){case 0:return new t;case 1:return new t(i[0]);case 2:return new t(i[0],i[1]);case 3:return new t(i[0],i[1],i[2]);case 4:return new t(i[0],i[1],i[2],i[3]);case 5:return new t(i[0],i[1],i[2],i[3],i[4]);case 6:return new t(i[0],i[1],i[2],i[3],i[4],i[5]);case 7:return new t(i[0],i[1],i[2],i[3],i[4],i[5],i[6])}var u=wa(t.prototype),m=t.apply(u,i);return An(m)?m:u}}function te(t,i,u){var m=H(t);function C(){for(var O=arguments.length,j=ne(O),$=O,J=Qu(C);$--;)j[$]=arguments[$];var de=O<3&&j[0]!==J&&j[O-1]!==J?[]:pa(j,J);if(O-=de.length,O<u)return Ge(t,i,g,C.placeholder,n,j,de,n,n,u-O);var fe=this&&this!==En&&this instanceof C?m:t;return Cn(fe,this,j)}return C}function s(t){return function(i,u,m){var C=Vt(i);if(!Ci(i)){var O=st(u,3);i=xr(i),u=function($){return O(C[$],$,C)}}var j=t(i,u,m);return j>-1?C[O?i[j]:j]:n}}function c(t){return Cs(function(i){var u=i.length,m=u,C=sr.prototype.thru;for(t&&i.reverse();m--;){var O=i[m];if(typeof O!="function")throw new vr(v);if(C&&!j&&_d(O)=="wrapper")var j=new sr([],!0)}for(m=j?m:u;++m<u;){O=i[m];var $=_d(O),J=$=="wrapper"?Af(O):n;J&&Pf(J[0])&&J[1]==(Te|be|re|Dt)&&!J[4].length&&J[9]==1?j=j[_d(J[0])].apply(j,J[3]):j=O.length==1&&Pf(O)?j[$]():j.thru(O)}return function(){var de=arguments,fe=de[0];if(j&&de.length==1&&Et(fe))return j.plant(fe).value();for(var me=0,Le=u?i[me].apply(this,de):fe;++me<u;)Le=i[me].call(this,Le);return Le}})}function g(t,i,u,m,C,O,j,$,J,de){var fe=i&Te,me=i&Z,Le=i&G,Xe=i&(be|ke),lt=i&dt,Ot=Le?n:H(t);function ut(){for(var Nt=arguments.length,Wt=ne(Nt),ta=Nt;ta--;)Wt[ta]=arguments[ta];if(Xe)var pi=Qu(ut),na=Cr(Wt,pi);if(m&&(Wt=Yu(Wt,m,C,Xe)),O&&(Wt=xl(Wt,O,j,Xe)),Nt-=na,Xe&&Nt<de){var Kn=pa(Wt,pi);return Ge(t,i,g,ut.placeholder,u,Wt,Kn,$,J,de-Nt)}var io=me?u:this,As=Le?io[t]:t;return Nt=Wt.length,$?Wt=_0(Wt,$):lt&&Nt>1&&Wt.reverse(),fe&&J<Nt&&(Wt.length=J),this&&this!==En&&this instanceof ut&&(As=Ot||H(As)),As.apply(io,Wt)}return ut}function y(t,i){return function(u,m){return ru(u,t,i(m),{})}}function T(t,i){return function(u,m){var C;if(u===n&&m===n)return i;if(u!==n&&(C=u),m!==n){if(C===n)return m;typeof u=="string"||typeof m=="string"?(u=yr(u),m=yr(m)):(u=Zu(u),m=Zu(m)),C=t(u,m)}return C}}function L(t){return Cs(function(i){return i=qt(i,$e(st())),bt(function(u){var m=this;return t(i,function(C){return Cn(C,m,u)})})})}function W(t,i){i=i===n?" ":yr(i);var u=i.length;if(u<2)return u?lu(i,t):i;var m=lu(i,ns(t/_o(i)));return So(i)?di(Rr(m),0,t).join(""):m.slice(0,t)}function ee(t,i,u,m){var C=i&Z,O=H(t);function j(){for(var $=-1,J=arguments.length,de=-1,fe=m.length,me=ne(fe+J),Le=this&&this!==En&&this instanceof j?O:t;++de<fe;)me[de]=m[de];for(;J--;)me[de++]=arguments[++$];return Cn(Le,C?u:this,me)}return j}function pe(t){return function(i,u,m){return m&&typeof m!="number"&&fi(i,u,m)&&(u=m=n),i=Is(i),u===n?(u=i,i=0):u=Is(u),m=m===n?i<u?1:-1:Is(m),Wu(i,u,m,t)}}function De(t){return function(i,u){return typeof i=="string"&&typeof u=="string"||(i=Ca(i),u=Ca(u)),t(i,u)}}function Ge(t,i,u,m,C,O,j,$,J,de){var fe=i&be,me=fe?j:n,Le=fe?n:j,Xe=fe?O:n,lt=fe?n:O;i|=fe?re:Ie,i&=~(fe?Ie:re),i&ue||(i&=~(Z|G));var Ot=[t,i,C,Xe,me,lt,Le,$,J,de],ut=u.apply(n,Ot);return Pf(t)&&Yh(ut,Ot),ut.placeholder=m,Kh(ut,t,i)}function it(t){var i=gn[t];return function(u,m){if(u=Ca(u),m=m==null?0:vn(Tt(m),292),m&&Hl(u)){var C=(an(u)+"e").split("e"),O=i(C[0]+"e"+(+C[1]+m));return C=(an(O)+"e").split("e"),+(C[0]+"e"+(+C[1]-m))}return i(u)}}var sn=or&&1/ko(new or([,-0]))[1]==je?function(t){return new or(t)}:Kf;function Bn(t){return function(i){var u=$r(i);return u==mt?Dl(i):u==Mn?kc(i):le(i,t(i))}}function Tn(t,i,u,m,C,O,j,$){var J=i&G;if(!J&&typeof t!="function")throw new vr(v);var de=m?m.length:0;if(de||(i&=~(re|Ie),m=C=n),j=j===n?j:mn(Tt(j),0),$=$===n?$:Tt($),de-=C?C.length:0,i&Ie){var fe=m,me=C;m=C=n}var Le=J?n:Af(t),Xe=[t,i,u,m,C,fe,me,O,j,$];if(Le&&x0(Xe,Le),t=Xe[0],i=Xe[1],u=Xe[2],m=Xe[3],C=Xe[4],$=Xe[9]=Xe[9]===n?J?0:t.length:mn(Xe[9]-de,0),!$&&i&(be|ke)&&(i&=~(be|ke)),!i||i==Z)var lt=_(t,i,u);else i==be||i==ke?lt=te(t,i,$):(i==re||i==(Z|re))&&!C.length?lt=ee(t,i,u,m):lt=g.apply(n,Xe);var Ot=Le?zo:Yh;return Kh(Ot(lt,Xe),t,i)}function gu(t,i,u,m){return t===n||ro(t,Va[u])&&!Ht.call(m,u)?i:t}function mu(t,i,u,m,C,O){return An(t)&&An(i)&&(O.set(i,t),jo(t,i,n,mu,O),O.delete(i)),t}function Ju(t){return Nc(t)?n:t}function Es(t,i,u,m,C,O){var j=u&ae,$=t.length,J=i.length;if($!=J&&!(j&&J>$))return!1;var de=O.get(t),fe=O.get(i);if(de&&fe)return de==i&&fe==t;var me=-1,Le=!0,Xe=u&ye?new Ga:n;for(O.set(t,i),O.set(i,t);++me<$;){var lt=t[me],Ot=i[me];if(m)var ut=j?m(Ot,lt,me,i,t,O):m(lt,Ot,me,t,i,O);if(ut!==n){if(ut)continue;Le=!1;break}if(Xe){if(!fa(i,function(Nt,Wt){if(!at(Xe,Wt)&&(lt===Nt||C(lt,Nt,u,m,O)))return Xe.push(Wt)})){Le=!1;break}}else if(!(lt===Ot||C(lt,Ot,u,m,O))){Le=!1;break}}return O.delete(t),O.delete(i),Le}function Cf(t,i,u,m,C,O,j){switch(u){case Zt:if(t.byteLength!=i.byteLength||t.byteOffset!=i.byteOffset)return!1;t=t.buffer,i=i.buffer;case Un:return!(t.byteLength!=i.byteLength||!O(new To(t),new To(i)));case et:case Ke:case fn:return ro(+t,+i);case kt:return t.name==i.name&&t.message==i.message;case nr:case yn:return t==i+"";case mt:var $=Dl;case Mn:var J=m&ae;if($||($=ko),t.size!=i.size&&!J)return!1;var de=j.get(t);if(de)return de==i;m|=ye,j.set(t,i);var fe=Es($(t),$(i),m,C,O,j);return j.delete(t),fe;case pn:if(ss)return ss.call(t)==ss.call(i)}return!1}function Tf(t,i,u,m,C,O){var j=u&ae,$=Rf(t),J=$.length,de=Rf(i),fe=de.length;if(J!=fe&&!j)return!1;for(var me=J;me--;){var Le=$[me];if(!(j?Le in i:Ht.call(i,Le)))return!1}var Xe=O.get(t),lt=O.get(i);if(Xe&&lt)return Xe==i&&lt==t;var Ot=!0;O.set(t,i),O.set(i,t);for(var ut=j;++me<J;){Le=$[me];var Nt=t[Le],Wt=i[Le];if(m)var ta=j?m(Wt,Nt,Le,i,t,O):m(Nt,Wt,Le,t,i,O);if(!(ta===n?Nt===Wt||C(Nt,Wt,u,m,O):ta)){Ot=!1;break}ut||(ut=Le=="constructor")}if(Ot&&!ut){var pi=t.constructor,na=i.constructor;pi!=na&&"constructor"in t&&"constructor"in i&&!(typeof pi=="function"&&pi instanceof pi&&typeof na=="function"&&na instanceof na)&&(Ot=!1)}return O.delete(t),O.delete(i),Ot}function Cs(t){return Lf(Gh(t,n,tg),t+"")}function Rf(t){return us(t,xr,Mf)}function If(t){return us(t,Ti,Uh)}var Af=ba?function(t){return ba.get(t)}:Kf;function _d(t){for(var i=t.name+"",u=ya[i],m=Ht.call(ya,i)?u.length:0;m--;){var C=u[m],O=C.func;if(O==null||O==t)return C.name}return i}function Qu(t){var i=Ht.call(I,"placeholder")?I:t;return i.placeholder}function st(){var t=I.iteratee||Zf;return t=t===Zf?Bo:t,arguments.length?t(arguments[0],arguments[1]):t}function Ed(t,i){var u=t.__data__;return v0(i)?u[typeof i=="string"?"string":"hash"]:u.map}function Of(t){for(var i=xr(t),u=i.length;u--;){var m=i[u],C=t[m];i[u]=[m,C,Hh(C)]}return i}function vu(t,i){var u=qo(t,i);return ou(u)?u:n}function c0(t){var i=Ht.call(t,ai),u=t[ai];try{t[ai]=n;var m=!0}catch{}var C=ga.call(t);return m&&(i?t[ai]=u:delete t[ai]),C}var Mf=rs?function(t){return t==null?[]:(t=Vt(t),ii(rs(t),function(i){return Vl.call(t,i)}))}:Jf,Uh=rs?function(t){for(var i=[];t;)Er(i,Mf(t)),t=Ro(t);return i}:Jf,$r=Xn;(Zi&&$r(new Zi(new ArrayBuffer(1)))!=Zt||oi&&$r(new oi)!=mt||is&&$r(is.resolve())!=zn||or&&$r(new or)!=Mn||ma&&$r(new ma)!=fr)&&($r=function(t){var i=Xn(t),u=i==Sn?t.constructor:n,m=u?bu(u):"";if(m)switch(m){case as:return Zt;case Pu:return mt;case Du:return zn;case tl:return Mn;case os:return fr}return i});function d0(t,i,u){for(var m=-1,C=u.length;++m<C;){var O=u[m],j=O.size;switch(O.type){case"drop":t+=j;break;case"dropRight":i-=j;break;case"take":i=vn(i,t+j);break;case"takeRight":t=mn(t,i-j);break}}return{start:t,end:i}}function f0(t){var i=t.match(Pa);return i?i[1].split(U):[]}function Vh(t,i,u){i=qi(i,t);for(var m=-1,C=i.length,O=!1;++m<C;){var j=Vo(i[m]);if(!(O=t!=null&&u(t,j)))break;t=t[j]}return O||++m!=C?O:(C=t==null?0:t.length,!!C&&Md(C)&&Ts(j,C)&&(Et(t)||yu(t)))}function p0(t){var i=t.length,u=new t.constructor(i);return i&&typeof t[0]=="string"&&Ht.call(t,"index")&&(u.index=t.index,u.input=t.input),u}function Wh(t){return typeof t.constructor=="function"&&!Lc(t)?wa(Ro(t)):{}}function h0(t,i,u){var m=t.constructor;switch(i){case Un:return yl(t);case et:case Ke:return new m(+t);case Zt:return Ss(t,u);case Ar:case Zr:case Or:case Yr:case Mr:case Mi:case Kr:case pr:case Jr:return hu(t,u);case mt:return new m;case fn:case yn:return new m(t);case nr:return ks(t);case Mn:return new m;case pn:return wl(t)}}function g0(t,i){var u=i.length;if(!u)return t;var m=u-1;return i[m]=(u>1?"& ":"")+i[m],i=i.join(u>2?", ":" "),t.replace(Fa,`{
20
+ */ud.exports,function(r,e){(function(){var n,a="4.17.21",o=200,c="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",g="Expected a function",y="Invalid `variable` option passed into `_.template`",w="__lodash_hash_undefined__",E=500,L="__lodash_placeholder__",P=1,W=2,se=4,ae=1,ke=2,G=1,Z=2,be=4,fe=8,de=16,ee=32,Te=64,Ie=128,Lt=256,it=512,Pt=30,Vt="...",ge=800,we=16,_e=1,Ye=2,Ze=3,Ne=1/0,De=9007199254740991,We=17976931348623157e292,le=0/0,ue=4294967295,Me=ue-1,He=ue>>>1,ze=[["ary",Ie],["bind",G],["bindKey",Z],["curry",fe],["curryRight",de],["flip",it],["partial",ee],["partialRight",Te],["rearg",Lt]],Ae="[object Arguments]",Oe="[object Array]",Ke="[object AsyncFunction]",Qe="[object Boolean]",Xe="[object Date]",tt="[object DOMException]",yt="[object Error]",Ee="[object Function]",Ct="[object GeneratorFunction]",At="[object Map]",qt="[object Number]",Vn="[object Null]",kn="[object Object]",_n="[object Promise]",fr="[object Proxy]",rr="[object RegExp]",Dn="[object Set]",xn="[object String]",hn="[object Symbol]",gn="[object Undefined]",pr="[object WeakMap]",yi="[object WeakSet]",Wn="[object ArrayBuffer]",Kt="[object DataView]",Pr="[object Float32Array]",Jr="[object Float64Array]",Fr="[object Int8Array]",Qr="[object Int16Array]",Dr="[object Int32Array]",Bi="[object Uint8Array]",Xr="[object Uint8ClampedArray]",hr="[object Uint16Array]",qr="[object Uint32Array]",la=/\b__p \+= '';/g,En=/\b(__p \+=) '' \+/g,ir=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Ln=/&(?:amp|lt|gt|quot|#39);/g,Ot=/[&<>"']/g,gr=RegExp(Ln.source),ei=RegExp(Ot.source),ti=/<%-([\s\S]+?)%>/g,ar=/<%([\s\S]+?)%>/g,ni=/<%=([\s\S]+?)%>/g,mr=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,an=/^\w*$/,Ni=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ri=/[\\^$.*+?()[\]{}|]/g,ji=RegExp(ri.source),on=/^\s+/,zi=/\s/,Ba=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Na=/\{\n\/\* \[wrapped with (.+)\] \*/,U=/,? & /,ve=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Re=/[()=,{}\[\]\/\s]/,nt=/\\(\\)?/g,mt=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,kt=/\w*$/,wt=/^[-+]0x[0-9a-f]+$/i,pt=/^0b[01]+$/i,cn=/^\[object .+?Constructor\]$/,zt=/^0o[0-7]+$/i,Ut=/^(?:0|[1-9]\d*)$/,ln=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,On=/($^)/,Lr=/['\n\r\u2028\u2029\\]/g,en="\\ud800-\\udfff",dn="\\u0300-\\u036f",Br="\\ufe20-\\ufe2f",Er="\\u20d0-\\u20ff",Cn=dn+Br+Er,Ui="\\u2700-\\u27bf",Cr="a-z\\xdf-\\xf6\\xf8-\\xff",Nr="\\xac\\xb1\\xd7\\xf7",Xn="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",ii="\\u2000-\\u206f",wi=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",ua="A-Z\\xc0-\\xd6\\xd8-\\xde",ca="\\ufe0e\\ufe0f",Vi=Nr+Xn+ii+wi,jr="['’]",ja="["+en+"]",Wi="["+Vi+"]",ai="["+Cn+"]",p="\\d+",k="["+Ui+"]",A="["+Cr+"]",F="[^"+en+Vi+p+Ui+Cr+ua+"]",X="\\ud83c[\\udffb-\\udfff]",K="(?:"+ai+"|"+X+")",ie="[^"+en+"]",xe="(?:\\ud83c[\\udde6-\\uddff]){2}",Ue="[\\ud800-\\udbff][\\udc00-\\udfff]",qe="["+ua+"]",Je="\\u200d",Ft="(?:"+A+"|"+F+")",or="(?:"+qe+"|"+F+")",Bn="(?:"+jr+"(?:d|ll|m|re|s|t|ve))?",Nn="(?:"+jr+"(?:D|LL|M|RE|S|T|VE))?",zr=K+"?",vr="["+ca+"]?",da="(?:"+Je+"(?:"+[ie,xe,Ue].join("|")+")"+vr+zr+")*",xi="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Hi="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Ur=vr+zr+da,za="(?:"+[k,xe,Ue].join("|")+")"+Ur,Fl="(?:"+[ie+ai+"?",ai,xe,Ue,ja].join("|")+")",Dl=RegExp(jr,"g"),Ko=RegExp(ai,"g"),Jo=RegExp(X+"(?="+X+")|"+Fl+Ur,"g"),Qo=RegExp([qe+"?"+A+"+"+Bn+"(?="+[Wi,qe,"$"].join("|")+")",or+"+"+Nn+"(?="+[Wi,qe+Ft,"$"].join("|")+")",qe+"?"+Ft+"+"+Bn,qe+"+"+Nn,Hi,xi,p,za].join("|"),"g"),oi=RegExp("["+Je+en+Cn+ca+"]"),Ua=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,go=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Qt=-1,Bt={};Bt[Pr]=Bt[Jr]=Bt[Fr]=Bt[Qr]=Bt[Dr]=Bt[Bi]=Bt[Xr]=Bt[hr]=Bt[qr]=!0,Bt[Ae]=Bt[Oe]=Bt[Wn]=Bt[Qe]=Bt[Kt]=Bt[Xe]=Bt[yt]=Bt[Ee]=Bt[At]=Bt[qt]=Bt[kn]=Bt[rr]=Bt[Dn]=Bt[xn]=Bt[pr]=!1;var xt={};xt[Ae]=xt[Oe]=xt[Wn]=xt[Kt]=xt[Qe]=xt[Xe]=xt[Pr]=xt[Jr]=xt[Fr]=xt[Qr]=xt[Dr]=xt[At]=xt[qt]=xt[kn]=xt[rr]=xt[Dn]=xt[xn]=xt[hn]=xt[Bi]=xt[Xr]=xt[hr]=xt[qr]=!0,xt[yt]=xt[Ee]=xt[pr]=!1;var $i={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},Si={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},mo={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"},ki={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Tr=parseFloat,Xo=parseInt,vo=typeof tr=="object"&&tr&&tr.Object===Object&&tr,Vs=typeof self=="object"&&self&&self.Object===Object&&self,Tn=vo||Vs||Function("return this")(),bo=e&&!e.nodeType&&e,Gi=bo&&!0&&r&&!r.nodeType&&r,Ws=Gi&&Gi.exports===bo,fa=Ws&&vo.process,Hn=function(){try{var Y=Gi&&Gi.require&&Gi.require("util").types;return Y||fa&&fa.binding&&fa.binding("util")}catch{}}(),Va=Hn&&Hn.isArrayBuffer,pa=Hn&&Hn.isDate,Hs=Hn&&Hn.isMap,ha=Hn&&Hn.isRegExp,yo=Hn&&Hn.isSet,wo=Hn&&Hn.isTypedArray;function Rn(Y,oe,re){switch(re.length){case 0:return Y.call(oe);case 1:return Y.call(oe,re[0]);case 2:return Y.call(oe,re[0],re[1]);case 3:return Y.call(oe,re[0],re[1],re[2])}return Y.apply(oe,re)}function ga(Y,oe,re,Be){for(var st=-1,Dt=Y==null?0:Y.length;++st<Dt;){var mn=Y[st];oe(Be,mn,re(mn),Y)}return Be}function $n(Y,oe){for(var re=-1,Be=Y==null?0:Y.length;++re<Be&&oe(Y[re],re,Y)!==!1;);return Y}function $s(Y,oe){for(var re=Y==null?0:Y.length;re--&&oe(Y[re],re,Y)!==!1;);return Y}function xo(Y,oe){for(var re=-1,Be=Y==null?0:Y.length;++re<Be;)if(!oe(Y[re],re,Y))return!1;return!0}function si(Y,oe){for(var re=-1,Be=Y==null?0:Y.length,st=0,Dt=[];++re<Be;){var mn=Y[re];oe(mn,re,Y)&&(Dt[st++]=mn)}return Dt}function Zi(Y,oe){var re=Y==null?0:Y.length;return!!re&&Yi(Y,oe,0)>-1}function Gn(Y,oe,re){for(var Be=-1,st=Y==null?0:Y.length;++Be<st;)if(re(oe,Y[Be]))return!0;return!1}function tn(Y,oe){for(var re=-1,Be=Y==null?0:Y.length,st=Array(Be);++re<Be;)st[re]=oe(Y[re],re,Y);return st}function Rr(Y,oe){for(var re=-1,Be=oe.length,st=Y.length;++re<Be;)Y[st+re]=oe[re];return Y}function qo(Y,oe,re,Be){var st=-1,Dt=Y==null?0:Y.length;for(Be&&Dt&&(re=Y[++st]);++st<Dt;)re=oe(re,Y[st],st,Y);return re}function Gs(Y,oe,re,Be){var st=Y==null?0:Y.length;for(Be&&st&&(re=Y[--st]);st--;)re=oe(re,Y[st],st,Y);return re}function ma(Y,oe){for(var re=-1,Be=Y==null?0:Y.length;++re<Be;)if(oe(Y[re],re,Y))return!0;return!1}var Zs=h("length");function Ys(Y){return Y.split("")}function So(Y){return Y.match(ve)||[]}function Wa(Y,oe,re){var Be;return re(Y,function(st,Dt,mn){if(oe(st,Dt,mn))return Be=Dt,!1}),Be}function Ha(Y,oe,re,Be){for(var st=Y.length,Dt=re+(Be?1:-1);Be?Dt--:++Dt<st;)if(oe(Y[Dt],Dt,Y))return Dt;return-1}function Yi(Y,oe,re){return oe===oe?Oc(Y,oe,re):Ha(Y,ko,re)}function Ks(Y,oe,re,Be){for(var st=re-1,Dt=Y.length;++st<Dt;)if(Be(Y[st],oe))return st;return-1}function ko(Y){return Y!==Y}function es(Y,oe){var re=Y==null?0:Y.length;return re?q(Y,oe)/re:le}function h(Y){return function(oe){return oe==null?n:oe[Y]}}function S(Y){return function(oe){return Y==null?n:Y[oe]}}function R(Y,oe,re,Be,st){return st(Y,function(Dt,mn,Wt){re=Be?(Be=!1,Dt):oe(re,Dt,mn,Wt)}),re}function D(Y,oe){var re=Y.length;for(Y.sort(oe);re--;)Y[re]=Y[re].value;return Y}function q(Y,oe){for(var re,Be=-1,st=Y.length;++Be<st;){var Dt=oe(Y[Be]);Dt!==n&&(re=re===n?Dt:re+Dt)}return re}function Q(Y,oe){for(var re=-1,Be=Array(Y);++re<Y;)Be[re]=oe(re);return Be}function ce(Y,oe){return tn(oe,function(re){return[re,Y[re]]})}function Se(Y){return Y&&Y.slice(0,Nl(Y)+1).replace(on,"")}function $e(Y){return function(oe){return Y(oe)}}function ht(Y,oe){return tn(oe,function(re){return Y[re]})}function ot(Y,oe){return Y.has(oe)}function Xt(Y,oe){for(var re=-1,Be=Y.length;++re<Be&&Yi(oe,Y[re],0)>-1;);return re}function qn(Y,oe){for(var re=Y.length;re--&&Yi(oe,Y[re],0)>-1;);return re}function Ir(Y,oe){for(var re=Y.length,Be=0;re--;)Y[re]===oe&&++Be;return Be}var Ar=S($i),_o=S(Si);function Js(Y){return"\\"+ki[Y]}function ts(Y,oe){return Y==null?n:Y[oe]}function Eo(Y){return oi.test(Y)}function Rc(Y){return Ua.test(Y)}function Ic(Y){for(var oe,re=[];!(oe=Y.next()).done;)re.push(oe.value);return re}function Ll(Y){var oe=-1,re=Array(Y.size);return Y.forEach(function(Be,st){re[++oe]=[st,Be]}),re}function Mu(Y,oe){return function(re){return Y(oe(re))}}function va(Y,oe){for(var re=-1,Be=Y.length,st=0,Dt=[];++re<Be;){var mn=Y[re];(mn===oe||mn===L)&&(Y[re]=L,Dt[st++]=re)}return Dt}function Co(Y){var oe=-1,re=Array(Y.size);return Y.forEach(function(Be){re[++oe]=Be}),re}function Ac(Y){var oe=-1,re=Array(Y.size);return Y.forEach(function(Be){re[++oe]=[Be,Be]}),re}function Oc(Y,oe,re){for(var Be=re-1,st=Y.length;++Be<st;)if(Y[Be]===oe)return Be;return-1}function Bl(Y,oe,re){for(var Be=re+1;Be--;)if(Y[Be]===oe)return Be;return Be}function To(Y){return Eo(Y)?jl(Y):Zs(Y)}function Or(Y){return Eo(Y)?Vr(Y):Ys(Y)}function Nl(Y){for(var oe=Y.length;oe--&&zi.test(Y.charAt(oe)););return oe}var Pu=S(mo);function jl(Y){for(var oe=Jo.lastIndex=0;Jo.test(Y);)++oe;return oe}function Vr(Y){return Y.match(Jo)||[]}function Mc(Y){return Y.match(Qo)||[]}var Fu=function Y(oe){oe=oe==null?Tn:jn.defaults(Tn.Object(),oe,jn.pick(Tn,go));var re=oe.Array,Be=oe.Date,st=oe.Error,Dt=oe.Function,mn=oe.Math,Wt=oe.Object,ba=oe.RegExp,zl=oe.String,br=oe.TypeError,$a=re.prototype,Pc=Dt.prototype,Ga=Wt.prototype,Qs=oe["__core-js_shared__"],Xs=Pc.toString,Zt=Ga.hasOwnProperty,Du=0,fn=function(){var t=/[^.]+$/.exec(Qs&&Qs.keys&&Qs.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),ya=Ga.toString,Ul=Xs.call(Wt),pn=Tn._,Ro=ba("^"+Xs.call(Zt).replace(ri,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Io=Ws?oe.Buffer:n,_i=oe.Symbol,Ao=oe.Uint8Array,qs=Io?Io.allocUnsafe:n,Oo=Mu(Wt.getPrototypeOf,Wt),Vl=Wt.create,Wl=Ga.propertyIsEnumerable,Za=$a.splice,el=_i?_i.isConcatSpreadable:n,Ki=_i?_i.iterator:n,li=_i?_i.toStringTag:n,Ji=function(){try{var t=bu(Wt,"defineProperty");return t({},"",{}),t}catch{}}(),ns=oe.clearTimeout!==Tn.clearTimeout&&oe.clearTimeout,rs=Be&&Be.now!==Tn.Date.now&&Be.now,tl=oe.setTimeout!==Tn.setTimeout&&oe.setTimeout,is=mn.ceil,Mo=mn.floor,as=Wt.getOwnPropertySymbols,Hl=Io?Io.isBuffer:n,$l=oe.isFinite,Po=$a.join,Gl=Mu(Wt.keys,Wt),vn=mn.max,bn=mn.min,Zl=Be.now,Yl=oe.parseInt,Qi=mn.random,Lu=$a.reverse,Xi=bu(oe,"DataView"),ui=bu(oe,"Map"),os=bu(oe,"Promise"),sr=bu(oe,"Set"),wa=bu(oe,"WeakMap"),xa=bu(Wt,"create"),Sa=wa&&new wa,ka={},ss=yu(Xi),Bu=yu(ui),Nu=yu(os),nl=yu(sr),ls=yu(wa),Fo=_i?_i.prototype:n,us=Fo?Fo.valueOf:n,Ya=Fo?Fo.toString:n;function I(t){if(Un(t)&&!_t(t)&&!(t instanceof St)){if(t instanceof lr)return t;if(Zt.call(t,"__wrapped__"))return hg(t)}return new lr(t)}var _a=function(){function t(){}return function(i){if(!Mn(i))return{};if(Vl)return Vl(i);t.prototype=i;var u=new t;return t.prototype=n,u}}();function Ka(){}function lr(t,i){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!i,this.__index__=0,this.__values__=n}I.templateSettings={escape:ti,evaluate:ar,interpolate:ni,variable:"",imports:{_:I}},I.prototype=Ka.prototype,I.prototype.constructor=I,lr.prototype=_a(Ka.prototype),lr.prototype.constructor=lr;function St(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=ue,this.__views__=[]}function rl(){var t=new St(this.__wrapped__);return t.__actions__=Kn(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=Kn(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=Kn(this.__views__),t}function Do(){if(this.__filtered__){var t=new St(this);t.__dir__=-1,t.__filtered__=!0}else t=this.clone(),t.__dir__*=-1;return t}function cs(){var t=this.__wrapped__.value(),i=this.__dir__,u=_t(t),v=i<0,C=u?t.length:0,O=N0(0,C,this.__views__),j=O.start,$=O.end,J=$-j,pe=v?$:j-1,he=this.__iteratees__,ye=he.length,Le=0,et=bn(J,this.__takeCount__);if(!u||!v&&C==J&&et==J)return xr(t,this.__actions__);var ut=[];e:for(;J--&&Le<et;){pe+=i;for(var Mt=-1,ct=t[pe];++Mt<ye;){var jt=he[Mt],Ht=jt.iteratee,oa=jt.type,mi=Ht(ct);if(oa==Ye)ct=mi;else if(!mi){if(oa==_e)continue e;break e}}ut[Le++]=ct}return ut}St.prototype=_a(Ka.prototype),St.prototype.constructor=St;function Ei(t){var i=-1,u=t==null?0:t.length;for(this.clear();++i<u;){var v=t[i];this.set(v[0],v[1])}}function Lo(){this.__data__=xa?xa(null):{},this.size=0}function il(t){var i=this.has(t)&&delete this.__data__[t];return this.size-=i?1:0,i}function al(t){var i=this.__data__;if(xa){var u=i[t];return u===w?n:u}return Zt.call(i,t)?i[t]:n}function ol(t){var i=this.__data__;return xa?i[t]!==n:Zt.call(i,t)}function ju(t,i){var u=this.__data__;return this.size+=this.has(t)?0:1,u[t]=xa&&i===n?w:i,this}Ei.prototype.clear=Lo,Ei.prototype.delete=il,Ei.prototype.get=al,Ei.prototype.has=ol,Ei.prototype.set=ju;function Ci(t){var i=-1,u=t==null?0:t.length;for(this.clear();++i<u;){var v=t[i];this.set(v[0],v[1])}}function zu(){this.__data__=[],this.size=0}function Fc(t){var i=this.__data__,u=Hr(i,t);if(u<0)return!1;var v=i.length-1;return u==v?i.pop():Za.call(i,u,1),--this.size,!0}function Dc(t){var i=this.__data__,u=Hr(i,t);return u<0?n:i[u][1]}function Uu(t){return Hr(this.__data__,t)>-1}function Lc(t,i){var u=this.__data__,v=Hr(u,t);return v<0?(++this.size,u.push([t,i])):u[v][1]=i,this}Ci.prototype.clear=zu,Ci.prototype.delete=Fc,Ci.prototype.get=Dc,Ci.prototype.has=Uu,Ci.prototype.set=Lc;function qi(t){var i=-1,u=t==null?0:t.length;for(this.clear();++i<u;){var v=t[i];this.set(v[0],v[1])}}function sl(){this.size=0,this.__data__={hash:new Ei,map:new(ui||Ci),string:new Ei}}function ll(t){var i=Ad(this,t).delete(t);return this.size-=i?1:0,i}function Bc(t){return Ad(this,t).get(t)}function Kl(t){return Ad(this,t).has(t)}function ul(t,i){var u=Ad(this,t),v=u.size;return u.set(t,i),this.size+=u.size==v?0:1,this}qi.prototype.clear=sl,qi.prototype.delete=ll,qi.prototype.get=Bc,qi.prototype.has=Kl,qi.prototype.set=ul;function Ja(t){var i=-1,u=t==null?0:t.length;for(this.__data__=new qi;++i<u;)this.add(t[i])}function Nc(t){return this.__data__.set(t,w),this}function jc(t){return this.__data__.has(t)}Ja.prototype.add=Ja.prototype.push=Nc,Ja.prototype.has=jc;function ci(t){var i=this.__data__=new Ci(t);this.size=i.size}function ea(){this.__data__=new Ci,this.size=0}function Jl(t){var i=this.__data__,u=i.delete(t);return this.size=i.size,u}function cl(t){return this.__data__.get(t)}function Nt(t){return this.__data__.has(t)}function Qa(t,i){var u=this.__data__;if(u instanceof Ci){var v=u.__data__;if(!ui||v.length<o-1)return v.push([t,i]),this.size=++u.size,this;u=this.__data__=new qi(v)}return u.set(t,i),this.size=u.size,this}ci.prototype.clear=ea,ci.prototype.delete=Jl,ci.prototype.get=cl,ci.prototype.has=Nt,ci.prototype.set=Qa;function Ea(t,i){var u=_t(t),v=!u&&wu(t),C=!u&&!v&&El(t),O=!u&&!v&&!C&&tc(t),j=u||v||C||O,$=j?Q(t.length,zl):[],J=$.length;for(var pe in t)(i||Zt.call(t,pe))&&!(j&&(pe=="length"||C&&(pe=="offset"||pe=="parent")||O&&(pe=="buffer"||pe=="byteLength"||pe=="byteOffset")||Is(pe,J)))&&$.push(pe);return $}function Yt(t){var i=t.length;return i?t[vl(0,i-1)]:n}function Wr(t,i){return Od(Kn(t),Ca(i,0,t.length))}function Xa(t){return Od(Kn(t))}function Bo(t,i,u){(u!==n&&!so(t[i],u)||u===n&&!(i in t))&&Zn(t,i,u)}function Sn(t,i,u){var v=t[i];(!(Zt.call(t,i)&&so(v,u))||u===n&&!(i in t))&&Zn(t,i,u)}function Hr(t,i){for(var u=t.length;u--;)if(so(t[u][0],i))return u;return-1}function qa(t,i,u,v){return Ta(t,function(C,O,j){i(v,C,u(C),j)}),v}function di(t,i){return t&&Ii(i,Sr(i),t)}function eo(t,i){return t&&Ii(i,Oi(i),t)}function Zn(t,i,u){i=="__proto__"&&Ji?Ji(t,i,{configurable:!0,enumerable:!0,value:u,writable:!0}):t[i]=u}function Ql(t,i){for(var u=-1,v=i.length,C=re(v),O=t==null;++u<v;)C[u]=O?n:qf(t,i[u]);return C}function Ca(t,i,u){return t===t&&(u!==n&&(t=t<=u?t:u),i!==n&&(t=t>=i?t:i)),t}function ur(t,i,u,v,C,O){var j,$=i&P,J=i&W,pe=i&se;if(u&&(j=C?u(t,v,C,O):u(t)),j!==n)return j;if(!Mn(t))return t;var he=_t(t);if(he){if(j=z0(t),!$)return Kn(t,j)}else{var ye=Yr(t),Le=ye==Ee||ye==Ct;if(El(t))return hu(t,$);if(ye==kn||ye==Ae||Le&&!C){if(j=J||Le?{}:ag(t),!$)return J?kl(t,eo(j,t)):Xu(t,di(j,t))}else{if(!xt[ye])return C?t:{};j=U0(t,ye,$)}}O||(O=new ci);var et=O.get(t);if(et)return et;O.set(t,j),Fg(t)?t.forEach(function(ct){j.add(ur(ct,i,u,ct,t,O))}):Mg(t)&&t.forEach(function(ct,jt){j.set(jt,ur(ct,i,u,jt,t,O))});var ut=pe?J?jf:Nf:J?Oi:Sr,Mt=he?n:ut(t);return $n(Mt||t,function(ct,jt){Mt&&(jt=ct,ct=t[jt]),Sn(j,jt,ur(ct,i,u,jt,t,O))}),j}function Xl(t){var i=Sr(t);return function(u){return Vu(u,t,i)}}function Vu(t,i,u){var v=u.length;if(t==null)return!v;for(t=Wt(t);v--;){var C=u[v],O=i[C],j=t[C];if(j===n&&!(C in t)||!O(j))return!1}return!0}function ql(t,i,u){if(typeof t!="function")throw new br(g);return Hc(function(){t.apply(n,u)},i)}function ta(t,i,u,v){var C=-1,O=Zi,j=!0,$=t.length,J=[],pe=i.length;if(!$)return J;u&&(i=tn(i,$e(u))),v?(O=Gn,j=!1):i.length>=o&&(O=ot,j=!1,i=new Ja(i));e:for(;++C<$;){var he=t[C],ye=u==null?he:u(he);if(he=v||he!==0?he:0,j&&ye===ye){for(var Le=pe;Le--;)if(i[Le]===ye)continue e;J.push(he)}else O(i,ye,v)||J.push(he)}return J}var Ta=f(Ti),eu=f(ru,!0);function dl(t,i){var u=!0;return Ta(t,function(v,C,O){return u=!!i(v,C,O),u}),u}function fl(t,i,u){for(var v=-1,C=t.length;++v<C;){var O=t[v],j=i(O);if(j!=null&&($===n?j===j&&!aa(j):u(j,$)))var $=j,J=O}return J}function Wu(t,i,u,v){var C=t.length;for(u=Tt(u),u<0&&(u=-u>C?0:C+u),v=v===n||v>C?C:Tt(v),v<0&&(v+=C),v=u>v?0:Lg(v);u<v;)t[u++]=i;return t}function tu(t,i){var u=[];return Ta(t,function(v,C,O){i(v,C,O)&&u.push(v)}),u}function Yn(t,i,u,v,C){var O=-1,j=t.length;for(u||(u=W0),C||(C=[]);++O<j;){var $=t[O];i>0&&u($)?i>1?Yn($,i-1,u,v,C):Rr(C,$):v||(C[C.length]=$)}return C}var nu=b(),Hu=b(!0);function Ti(t,i){return t&&nu(t,i,Sr)}function ru(t,i){return t&&Hu(t,i,Sr)}function pl(t,i){return si(i,function(u){return As(t[u])})}function to(t,i){i=ia(i,t);for(var u=0,v=i.length;t!=null&&u<v;)t=t[$o(i[u++])];return u&&u==v?t:n}function ds(t,i,u){var v=i(t);return _t(t)?v:Rr(v,u(t))}function er(t){return t==null?t===n?gn:Vn:li&&li in Wt(t)?B0(t):J0(t)}function fs(t,i){return t>i}function ps(t,i){return t!=null&&Zt.call(t,i)}function $u(t,i){return t!=null&&i in Wt(t)}function hs(t,i,u){return t>=bn(i,u)&&t<vn(i,u)}function No(t,i,u){for(var v=u?Gn:Zi,C=t[0].length,O=t.length,j=O,$=re(O),J=1/0,pe=[];j--;){var he=t[j];j&&i&&(he=tn(he,$e(i))),J=bn(he.length,J),$[j]=!u&&(i||C>=120&&he.length>=120)?new Ja(j&&he):n}he=t[0];var ye=-1,Le=$[0];e:for(;++ye<C&&pe.length<J;){var et=he[ye],ut=i?i(et):et;if(et=u||et!==0?et:0,!(Le?ot(Le,ut):v(pe,ut,u))){for(j=O;--j;){var Mt=$[j];if(!(Mt?ot(Mt,ut):v(t[j],ut,u)))continue e}Le&&Le.push(ut),pe.push(et)}}return pe}function iu(t,i,u,v){return Ti(t,function(C,O,j){i(v,u(C),O,j)}),v}function $r(t,i,u){i=ia(i,t),t=ug(t,i);var v=t==null?t:t[$o(Ia(i))];return v==null?n:Rn(v,t,u)}function gs(t){return Un(t)&&er(t)==Ae}function hl(t){return Un(t)&&er(t)==Wn}function no(t){return Un(t)&&er(t)==Xe}function jo(t,i,u,v,C){return t===i?!0:t==null||i==null||!Un(t)&&!Un(i)?t!==t&&i!==i:au(t,i,u,v,jo,C)}function au(t,i,u,v,C,O){var j=_t(t),$=_t(i),J=j?Oe:Yr(t),pe=$?Oe:Yr(i);J=J==Ae?kn:J,pe=pe==Ae?kn:pe;var he=J==kn,ye=pe==kn,Le=J==pe;if(Le&&El(t)){if(!El(i))return!1;j=!0,he=!1}if(Le&&!he)return O||(O=new ci),j||tc(t)?Ts(t,i,u,v,C,O):Lf(t,i,J,u,v,C,O);if(!(u&ae)){var et=he&&Zt.call(t,"__wrapped__"),ut=ye&&Zt.call(i,"__wrapped__");if(et||ut){var Mt=et?t.value():t,ct=ut?i.value():i;return O||(O=new ci),C(Mt,ct,u,v,O)}}return Le?(O||(O=new ci),Bf(t,i,u,v,C,O)):!1}function ro(t){return Un(t)&&Yr(t)==At}function ou(t,i,u,v){var C=u.length,O=C,j=!v;if(t==null)return!O;for(t=Wt(t);C--;){var $=u[C];if(j&&$[2]?$[1]!==t[$[0]]:!($[0]in t))return!1}for(;++C<O;){$=u[C];var J=$[0],pe=t[J],he=$[1];if(j&&$[2]){if(pe===n&&!(J in t))return!1}else{var ye=new ci;if(v)var Le=v(pe,he,J,t,i,ye);if(!(Le===n?jo(he,pe,ae|ke,v,ye):Le))return!1}}return!0}function su(t){if(!Mn(t)||$0(t))return!1;var i=As(t)?Ro:cn;return i.test(yu(t))}function Ri(t){return Un(t)&&er(t)==rr}function zc(t){return Un(t)&&Yr(t)==Dn}function Uc(t){return Un(t)&&Bd(t.length)&&!!Bt[er(t)]}function zo(t){return typeof t=="function"?t:t==null?Mi:typeof t=="object"?_t(t)?pi(t[0],t[1]):na(t):Zg(t)}function ms(t){if(!Wc(t))return Gl(t);var i=[];for(var u in Wt(t))Zt.call(t,u)&&u!="constructor"&&i.push(u);return i}function gl(t){if(!Mn(t))return K0(t);var i=Wc(t),u=[];for(var v in t)v=="constructor"&&(i||!Zt.call(t,v))||u.push(v);return u}function fi(t,i){return t<i}function Uo(t,i){var u=-1,v=Ai(t)?re(t.length):[];return Ta(t,function(C,O,j){v[++u]=i(C,O,j)}),v}function na(t){var i=Uf(t);return i.length==1&&i[0][2]?sg(i[0][0],i[0][1]):function(u){return u===t||ou(u,t,i)}}function pi(t,i){return Wf(t)&&og(i)?sg($o(t),i):function(u){var v=qf(u,t);return v===n&&v===i?ep(u,t):jo(i,v,ae|ke)}}function Vo(t,i,u,v,C){t!==i&&nu(i,function(O,j){if(C||(C=new ci),Mn(O))Gr(t,i,j,u,Vo,v,C);else{var $=v?v($f(t,j),O,j+"",t,i,C):n;$===n&&($=O),Bo(t,j,$)}},Oi)}function Gr(t,i,u,v,C,O,j){var $=$f(t,u),J=$f(i,u),pe=j.get(J);if(pe){Bo(t,u,pe);return}var he=O?O($,J,u+"",t,i,j):n,ye=he===n;if(ye){var Le=_t(J),et=!Le&&El(J),ut=!Le&&!et&&tc(J);he=J,Le||et||ut?_t($)?he=$:Jn($)?he=Kn($):et?(ye=!1,he=hu(J,!0)):ut?(ye=!1,he=gu(J,!0)):he=[]:$c(J)||wu(J)?(he=$,wu($)?he=Bg($):(!Mn($)||As($))&&(he=ag(J))):ye=!1}ye&&(j.set(J,he),C(he,J,v,O,j),j.delete(J)),Bo(t,u,he)}function io(t,i){var u=t.length;if(u)return i+=i<0?u:0,Is(i,u)?t[i]:n}function ml(t,i,u){i.length?i=tn(i,function(O){return _t(O)?function(j){return to(j,O.length===1?O[0]:O)}:O}):i=[Mi];var v=-1;i=tn(i,$e(lt()));var C=Uo(t,function(O,j,$){var J=tn(i,function(pe){return pe(O)});return{criteria:J,index:++v,value:O}});return D(C,function(O,j){return Cs(O,j,u)})}function Zr(t,i){return ra(t,i,function(u,v){return ep(t,v)})}function ra(t,i,u){for(var v=-1,C=i.length,O={};++v<C;){var j=i[v],$=to(t,j);u($,j)&&oo(O,ia(j,t),$)}return O}function lu(t){return function(i){return to(i,t)}}function ao(t,i,u,v){var C=v?Ks:Yi,O=-1,j=i.length,$=t;for(t===i&&(i=Kn(i)),u&&($=tn(t,$e(u)));++O<j;)for(var J=0,pe=i[O],he=u?u(pe):pe;(J=C($,he,J,v))>-1;)$!==t&&Za.call($,J,1),Za.call(t,J,1);return t}function vs(t,i){for(var u=t?i.length:0,v=u-1;u--;){var C=i[u];if(u==v||C!==O){var O=C;Is(C)?Za.call(t,C,1):fu(t,C)}}return t}function vl(t,i){return t+Mo(Qi()*(i-t+1))}function Gu(t,i,u,v){for(var C=-1,O=vn(is((i-t)/(u||1)),0),j=re(O);O--;)j[v?O:++C]=t,t+=u;return j}function uu(t,i){var u="";if(!t||i<1||i>De)return u;do i%2&&(u+=t),i=Mo(i/2),i&&(t+=t);while(i);return u}function vt(t,i){return Gf(lg(t,i,Mi),t+"")}function bs(t){return Yt(nc(t))}function Zu(t,i){var u=nc(t);return Od(u,Ca(i,0,u.length))}function oo(t,i,u,v){if(!Mn(t))return t;i=ia(i,t);for(var C=-1,O=i.length,j=O-1,$=t;$!=null&&++C<O;){var J=$o(i[C]),pe=u;if(J==="__proto__"||J==="constructor"||J==="prototype")return t;if(C!=j){var he=$[J];pe=v?v(he,J,$):n,pe===n&&(pe=Mn(he)?he:Is(i[C+1])?[]:{})}Sn($,J,pe),$=$[J]}return t}var Wo=Sa?function(t,i){return Sa.set(t,i),t}:Mi,cu=Ji?function(t,i){return Ji(t,"toString",{configurable:!0,enumerable:!1,value:np(i),writable:!0})}:Mi;function du(t){return Od(nc(t))}function yr(t,i,u){var v=-1,C=t.length;i<0&&(i=-i>C?0:C+i),u=u>C?C:u,u<0&&(u+=C),C=i>u?0:u-i>>>0,i>>>=0;for(var O=re(C);++v<C;)O[v]=t[v+i];return O}function Yu(t,i){var u;return Ta(t,function(v,C,O){return u=i(v,C,O),!u}),!!u}function ys(t,i,u){var v=0,C=t==null?v:t.length;if(typeof i=="number"&&i===i&&C<=He){for(;v<C;){var O=v+C>>>1,j=t[O];j!==null&&!aa(j)&&(u?j<=i:j<i)?v=O+1:C=O}return C}return ws(t,i,Mi,u)}function ws(t,i,u,v){var C=0,O=t==null?0:t.length;if(O===0)return 0;i=u(i);for(var j=i!==i,$=i===null,J=aa(i),pe=i===n;C<O;){var he=Mo((C+O)/2),ye=u(t[he]),Le=ye!==n,et=ye===null,ut=ye===ye,Mt=aa(ye);if(j)var ct=v||ut;else pe?ct=ut&&(v||Le):$?ct=ut&&Le&&(v||!et):J?ct=ut&&Le&&!et&&(v||!Mt):et||Mt?ct=!1:ct=v?ye<=i:ye<i;ct?C=he+1:O=he}return bn(O,Me)}function Ku(t,i){for(var u=-1,v=t.length,C=0,O=[];++u<v;){var j=t[u],$=i?i(j):j;if(!u||!so($,J)){var J=$;O[C++]=j===0?0:j}}return O}function Ju(t){return typeof t=="number"?t:aa(t)?le:+t}function wr(t){if(typeof t=="string")return t;if(_t(t))return tn(t,wr)+"";if(aa(t))return Ya?Ya.call(t):"";var i=t+"";return i=="0"&&1/t==-Ne?"-0":i}function Ra(t,i,u){var v=-1,C=Zi,O=t.length,j=!0,$=[],J=$;if(u)j=!1,C=Gn;else if(O>=o){var pe=i?null:un(t);if(pe)return Co(pe);j=!1,C=ot,J=new Ja}else J=i?[]:$;e:for(;++v<O;){var he=t[v],ye=i?i(he):he;if(he=u||he!==0?he:0,j&&ye===ye){for(var Le=J.length;Le--;)if(J[Le]===ye)continue e;i&&J.push(ye),$.push(he)}else C(J,ye,u)||(J!==$&&J.push(ye),$.push(he))}return $}function fu(t,i){return i=ia(i,t),t=ug(t,i),t==null||delete t[$o(Ia(i))]}function bl(t,i,u,v){return oo(t,i,u(to(t,i)),v)}function yl(t,i,u,v){for(var C=t.length,O=v?C:-1;(v?O--:++O<C)&&i(t[O],O,t););return u?yr(t,v?0:O,v?O+1:C):yr(t,v?O+1:0,v?C:O)}function xr(t,i){var u=t;return u instanceof St&&(u=u.value()),qo(i,function(v,C){return C.func.apply(C.thisArg,Rr([v],C.args))},u)}function xs(t,i,u){var v=t.length;if(v<2)return v?Ra(t[0]):[];for(var C=-1,O=re(v);++C<v;)for(var j=t[C],$=-1;++$<v;)$!=C&&(O[C]=ta(O[C]||j,t[$],i,u));return Ra(Yn(O,1),i,u)}function pu(t,i,u){for(var v=-1,C=t.length,O=i.length,j={};++v<C;){var $=v<O?i[v]:n;u(j,t[v],$)}return j}function cr(t){return Jn(t)?t:[]}function Ss(t){return typeof t=="function"?t:Mi}function ia(t,i){return _t(t)?t:Wf(t,i)?[t]:pg(sn(t))}var Vc=vt;function hi(t,i,u){var v=t.length;return u=u===n?v:u,!i&&u>=v?t:yr(t,i,u)}var ks=ns||function(t){return Tn.clearTimeout(t)};function hu(t,i){if(i)return t.slice();var u=t.length,v=qs?qs(u):new t.constructor(u);return t.copy(v),v}function wl(t){var i=new t.constructor(t.byteLength);return new Ao(i).set(new Ao(t)),i}function _s(t,i){var u=i?wl(t.buffer):t.buffer;return new t.constructor(u,t.byteOffset,t.byteLength)}function Es(t){var i=new t.constructor(t.source,kt.exec(t));return i.lastIndex=t.lastIndex,i}function xl(t){return us?Wt(us.call(t)):{}}function gu(t,i){var u=i?wl(t.buffer):t.buffer;return new t.constructor(u,t.byteOffset,t.length)}function Ho(t,i){if(t!==i){var u=t!==n,v=t===null,C=t===t,O=aa(t),j=i!==n,$=i===null,J=i===i,pe=aa(i);if(!$&&!pe&&!O&&t>i||O&&j&&J&&!$&&!pe||v&&j&&J||!u&&J||!C)return 1;if(!v&&!O&&!pe&&t<i||pe&&u&&C&&!v&&!O||$&&u&&C||!j&&C||!J)return-1}return 0}function Cs(t,i,u){for(var v=-1,C=t.criteria,O=i.criteria,j=C.length,$=u.length;++v<j;){var J=Ho(C[v],O[v]);if(J){if(v>=$)return J;var pe=u[v];return J*(pe=="desc"?-1:1)}}return t.index-i.index}function Qu(t,i,u,v){for(var C=-1,O=t.length,j=u.length,$=-1,J=i.length,pe=vn(O-j,0),he=re(J+pe),ye=!v;++$<J;)he[$]=i[$];for(;++C<j;)(ye||C<O)&&(he[u[C]]=t[C]);for(;pe--;)he[$++]=t[C++];return he}function Sl(t,i,u,v){for(var C=-1,O=t.length,j=-1,$=u.length,J=-1,pe=i.length,he=vn(O-$,0),ye=re(he+pe),Le=!v;++C<he;)ye[C]=t[C];for(var et=C;++J<pe;)ye[et+J]=i[J];for(;++j<$;)(Le||C<O)&&(ye[et+u[j]]=t[C++]);return ye}function Kn(t,i){var u=-1,v=t.length;for(i||(i=re(v));++u<v;)i[u]=t[u];return i}function Ii(t,i,u,v){var C=!u;u||(u={});for(var O=-1,j=i.length;++O<j;){var $=i[O],J=v?v(u[$],t[$],$,u,t):n;J===n&&(J=t[$]),C?Zn(u,$,J):Sn(u,$,J)}return u}function Xu(t,i){return Ii(t,Vf(t),i)}function kl(t,i){return Ii(t,rg(t),i)}function _l(t,i){return function(u,v){var C=_t(u)?ga:qa,O=i?i():{};return C(u,t,lt(v,2),O)}}function l(t){return vt(function(i,u){var v=-1,C=u.length,O=C>1?u[C-1]:n,j=C>2?u[2]:n;for(O=t.length>3&&typeof O=="function"?(C--,O):n,j&&gi(u[0],u[1],j)&&(O=C<3?n:O,C=1),i=Wt(i);++v<C;){var $=u[v];$&&t(i,$,v,O)}return i})}function f(t,i){return function(u,v){if(u==null)return u;if(!Ai(u))return t(u,v);for(var C=u.length,O=i?C:-1,j=Wt(u);(i?O--:++O<C)&&v(j[O],O,j)!==!1;);return u}}function b(t){return function(i,u,v){for(var C=-1,O=Wt(i),j=v(i),$=j.length;$--;){var J=j[t?$:++C];if(u(O[J],J,O)===!1)break}return i}}function _(t,i,u){var v=i&G,C=H(t);function O(){var j=this&&this!==Tn&&this instanceof O?C:t;return j.apply(v?u:this,arguments)}return O}function M(t){return function(i){i=sn(i);var u=Eo(i)?Or(i):n,v=u?u[0]:i.charAt(0),C=u?hi(u,1).join(""):i.slice(1);return v[t]()+C}}function N(t){return function(i){return qo($g(Hg(i).replace(Dl,"")),t,"")}}function H(t){return function(){var i=arguments;switch(i.length){case 0:return new t;case 1:return new t(i[0]);case 2:return new t(i[0],i[1]);case 3:return new t(i[0],i[1],i[2]);case 4:return new t(i[0],i[1],i[2],i[3]);case 5:return new t(i[0],i[1],i[2],i[3],i[4]);case 6:return new t(i[0],i[1],i[2],i[3],i[4],i[5]);case 7:return new t(i[0],i[1],i[2],i[3],i[4],i[5],i[6])}var u=_a(t.prototype),v=t.apply(u,i);return Mn(v)?v:u}}function ne(t,i,u){var v=H(t);function C(){for(var O=arguments.length,j=re(O),$=O,J=ec(C);$--;)j[$]=arguments[$];var pe=O<3&&j[0]!==J&&j[O-1]!==J?[]:va(j,J);if(O-=pe.length,O<u)return Ge(t,i,m,C.placeholder,n,j,pe,n,n,u-O);var he=this&&this!==Tn&&this instanceof C?v:t;return Rn(he,this,j)}return C}function s(t){return function(i,u,v){var C=Wt(i);if(!Ai(i)){var O=lt(u,3);i=Sr(i),u=function($){return O(C[$],$,C)}}var j=t(i,u,v);return j>-1?C[O?i[j]:j]:n}}function d(t){return Rs(function(i){var u=i.length,v=u,C=lr.prototype.thru;for(t&&i.reverse();v--;){var O=i[v];if(typeof O!="function")throw new br(g);if(C&&!j&&Id(O)=="wrapper")var j=new lr([],!0)}for(v=j?v:u;++v<u;){O=i[v];var $=Id(O),J=$=="wrapper"?zf(O):n;J&&Hf(J[0])&&J[1]==(Ie|fe|ee|Lt)&&!J[4].length&&J[9]==1?j=j[Id(J[0])].apply(j,J[3]):j=O.length==1&&Hf(O)?j[$]():j.thru(O)}return function(){var pe=arguments,he=pe[0];if(j&&pe.length==1&&_t(he))return j.plant(he).value();for(var ye=0,Le=u?i[ye].apply(this,pe):he;++ye<u;)Le=i[ye].call(this,Le);return Le}})}function m(t,i,u,v,C,O,j,$,J,pe){var he=i&Ie,ye=i&G,Le=i&Z,et=i&(fe|de),ut=i&it,Mt=Le?n:H(t);function ct(){for(var jt=arguments.length,Ht=re(jt),oa=jt;oa--;)Ht[oa]=arguments[oa];if(et)var mi=ec(ct),sa=Ir(Ht,mi);if(v&&(Ht=Qu(Ht,v,C,et)),O&&(Ht=Sl(Ht,O,j,et)),jt-=sa,et&&jt<pe){var Qn=va(Ht,mi);return Ge(t,i,m,ct.placeholder,u,Ht,Qn,$,J,pe-jt)}var lo=ye?u:this,Ms=Le?lo[t]:t;return jt=Ht.length,$?Ht=Q0(Ht,$):ut&&jt>1&&Ht.reverse(),he&&J<jt&&(Ht.length=J),this&&this!==Tn&&this instanceof ct&&(Ms=Mt||H(Ms)),Ms.apply(lo,Ht)}return ct}function x(t,i){return function(u,v){return iu(u,t,i(v),{})}}function T(t,i){return function(u,v){var C;if(u===n&&v===n)return i;if(u!==n&&(C=u),v!==n){if(C===n)return v;typeof u=="string"||typeof v=="string"?(u=wr(u),v=wr(v)):(u=Ju(u),v=Ju(v)),C=t(u,v)}return C}}function B(t){return Rs(function(i){return i=tn(i,$e(lt())),vt(function(u){var v=this;return t(i,function(C){return Rn(C,v,u)})})})}function V(t,i){i=i===n?" ":wr(i);var u=i.length;if(u<2)return u?uu(i,t):i;var v=uu(i,is(t/To(i)));return Eo(i)?hi(Or(v),0,t).join(""):v.slice(0,t)}function te(t,i,u,v){var C=i&G,O=H(t);function j(){for(var $=-1,J=arguments.length,pe=-1,he=v.length,ye=re(he+J),Le=this&&this!==Tn&&this instanceof j?O:t;++pe<he;)ye[pe]=v[pe];for(;J--;)ye[pe++]=arguments[++$];return Rn(Le,C?u:this,ye)}return j}function me(t){return function(i,u,v){return v&&typeof v!="number"&&gi(i,u,v)&&(u=v=n),i=Os(i),u===n?(u=i,i=0):u=Os(u),v=v===n?i<u?1:-1:Os(v),Gu(i,u,v,t)}}function Fe(t){return function(i,u){return typeof i=="string"&&typeof u=="string"||(i=Aa(i),u=Aa(u)),t(i,u)}}function Ge(t,i,u,v,C,O,j,$,J,pe){var he=i&fe,ye=he?j:n,Le=he?n:j,et=he?O:n,ut=he?n:O;i|=he?ee:Te,i&=~(he?Te:ee),i&be||(i&=~(G|Z));var Mt=[t,i,C,et,ye,ut,Le,$,J,pe],ct=u.apply(n,Mt);return Hf(t)&&cg(ct,Mt),ct.placeholder=v,dg(ct,t,i)}function at(t){var i=mn[t];return function(u,v){if(u=Aa(u),v=v==null?0:bn(Tt(v),292),v&&$l(u)){var C=(sn(u)+"e").split("e"),O=i(C[0]+"e"+(+C[1]+v));return C=(sn(O)+"e").split("e"),+(C[0]+"e"+(+C[1]-v))}return i(u)}}var un=sr&&1/Co(new sr([,-0]))[1]==Ne?function(t){return new sr(t)}:ap;function zn(t){return function(i){var u=Yr(i);return u==At?Ll(i):u==Dn?Ac(i):ce(i,t(i))}}function In(t,i,u,v,C,O,j,$){var J=i&Z;if(!J&&typeof t!="function")throw new br(g);var pe=v?v.length:0;if(pe||(i&=~(ee|Te),v=C=n),j=j===n?j:vn(Tt(j),0),$=$===n?$:Tt($),pe-=C?C.length:0,i&Te){var he=v,ye=C;v=C=n}var Le=J?n:zf(t),et=[t,i,u,v,C,he,ye,O,j,$];if(Le&&Y0(et,Le),t=et[0],i=et[1],u=et[2],v=et[3],C=et[4],$=et[9]=et[9]===n?J?0:t.length:vn(et[9]-pe,0),!$&&i&(fe|de)&&(i&=~(fe|de)),!i||i==G)var ut=_(t,i,u);else i==fe||i==de?ut=ne(t,i,$):(i==ee||i==(G|ee))&&!C.length?ut=te(t,i,u,v):ut=m.apply(n,et);var Mt=Le?Wo:cg;return dg(Mt(ut,et),t,i)}function mu(t,i,u,v){return t===n||so(t,Ga[u])&&!Zt.call(v,u)?i:t}function vu(t,i,u,v,C,O){return Mn(t)&&Mn(i)&&(O.set(i,t),Vo(t,i,n,vu,O),O.delete(i)),t}function qu(t){return $c(t)?n:t}function Ts(t,i,u,v,C,O){var j=u&ae,$=t.length,J=i.length;if($!=J&&!(j&&J>$))return!1;var pe=O.get(t),he=O.get(i);if(pe&&he)return pe==i&&he==t;var ye=-1,Le=!0,et=u&ke?new Ja:n;for(O.set(t,i),O.set(i,t);++ye<$;){var ut=t[ye],Mt=i[ye];if(v)var ct=j?v(Mt,ut,ye,i,t,O):v(ut,Mt,ye,t,i,O);if(ct!==n){if(ct)continue;Le=!1;break}if(et){if(!ma(i,function(jt,Ht){if(!ot(et,Ht)&&(ut===jt||C(ut,jt,u,v,O)))return et.push(Ht)})){Le=!1;break}}else if(!(ut===Mt||C(ut,Mt,u,v,O))){Le=!1;break}}return O.delete(t),O.delete(i),Le}function Lf(t,i,u,v,C,O,j){switch(u){case Kt:if(t.byteLength!=i.byteLength||t.byteOffset!=i.byteOffset)return!1;t=t.buffer,i=i.buffer;case Wn:return!(t.byteLength!=i.byteLength||!O(new Ao(t),new Ao(i)));case Qe:case Xe:case qt:return so(+t,+i);case yt:return t.name==i.name&&t.message==i.message;case rr:case xn:return t==i+"";case At:var $=Ll;case Dn:var J=v&ae;if($||($=Co),t.size!=i.size&&!J)return!1;var pe=j.get(t);if(pe)return pe==i;v|=ke,j.set(t,i);var he=Ts($(t),$(i),v,C,O,j);return j.delete(t),he;case hn:if(us)return us.call(t)==us.call(i)}return!1}function Bf(t,i,u,v,C,O){var j=u&ae,$=Nf(t),J=$.length,pe=Nf(i),he=pe.length;if(J!=he&&!j)return!1;for(var ye=J;ye--;){var Le=$[ye];if(!(j?Le in i:Zt.call(i,Le)))return!1}var et=O.get(t),ut=O.get(i);if(et&&ut)return et==i&&ut==t;var Mt=!0;O.set(t,i),O.set(i,t);for(var ct=j;++ye<J;){Le=$[ye];var jt=t[Le],Ht=i[Le];if(v)var oa=j?v(Ht,jt,Le,i,t,O):v(jt,Ht,Le,t,i,O);if(!(oa===n?jt===Ht||C(jt,Ht,u,v,O):oa)){Mt=!1;break}ct||(ct=Le=="constructor")}if(Mt&&!ct){var mi=t.constructor,sa=i.constructor;mi!=sa&&"constructor"in t&&"constructor"in i&&!(typeof mi=="function"&&mi instanceof mi&&typeof sa=="function"&&sa instanceof sa)&&(Mt=!1)}return O.delete(t),O.delete(i),Mt}function Rs(t){return Gf(lg(t,n,vg),t+"")}function Nf(t){return ds(t,Sr,Vf)}function jf(t){return ds(t,Oi,rg)}var zf=Sa?function(t){return Sa.get(t)}:ap;function Id(t){for(var i=t.name+"",u=ka[i],v=Zt.call(ka,i)?u.length:0;v--;){var C=u[v],O=C.func;if(O==null||O==t)return C.name}return i}function ec(t){var i=Zt.call(I,"placeholder")?I:t;return i.placeholder}function lt(){var t=I.iteratee||rp;return t=t===rp?zo:t,arguments.length?t(arguments[0],arguments[1]):t}function Ad(t,i){var u=t.__data__;return H0(i)?u[typeof i=="string"?"string":"hash"]:u.map}function Uf(t){for(var i=Sr(t),u=i.length;u--;){var v=i[u],C=t[v];i[u]=[v,C,og(C)]}return i}function bu(t,i){var u=ts(t,i);return su(u)?u:n}function B0(t){var i=Zt.call(t,li),u=t[li];try{t[li]=n;var v=!0}catch{}var C=ya.call(t);return v&&(i?t[li]=u:delete t[li]),C}var Vf=as?function(t){return t==null?[]:(t=Wt(t),si(as(t),function(i){return Wl.call(t,i)}))}:op,rg=as?function(t){for(var i=[];t;)Rr(i,Vf(t)),t=Oo(t);return i}:op,Yr=er;(Xi&&Yr(new Xi(new ArrayBuffer(1)))!=Kt||ui&&Yr(new ui)!=At||os&&Yr(os.resolve())!=_n||sr&&Yr(new sr)!=Dn||wa&&Yr(new wa)!=pr)&&(Yr=function(t){var i=er(t),u=i==kn?t.constructor:n,v=u?yu(u):"";if(v)switch(v){case ss:return Kt;case Bu:return At;case Nu:return _n;case nl:return Dn;case ls:return pr}return i});function N0(t,i,u){for(var v=-1,C=u.length;++v<C;){var O=u[v],j=O.size;switch(O.type){case"drop":t+=j;break;case"dropRight":i-=j;break;case"take":i=bn(i,t+j);break;case"takeRight":t=vn(t,i-j);break}}return{start:t,end:i}}function j0(t){var i=t.match(Na);return i?i[1].split(U):[]}function ig(t,i,u){i=ia(i,t);for(var v=-1,C=i.length,O=!1;++v<C;){var j=$o(i[v]);if(!(O=t!=null&&u(t,j)))break;t=t[j]}return O||++v!=C?O:(C=t==null?0:t.length,!!C&&Bd(C)&&Is(j,C)&&(_t(t)||wu(t)))}function z0(t){var i=t.length,u=new t.constructor(i);return i&&typeof t[0]=="string"&&Zt.call(t,"index")&&(u.index=t.index,u.input=t.input),u}function ag(t){return typeof t.constructor=="function"&&!Wc(t)?_a(Oo(t)):{}}function U0(t,i,u){var v=t.constructor;switch(i){case Wn:return wl(t);case Qe:case Xe:return new v(+t);case Kt:return _s(t,u);case Pr:case Jr:case Fr:case Qr:case Dr:case Bi:case Xr:case hr:case qr:return gu(t,u);case At:return new v;case qt:case xn:return new v(t);case rr:return Es(t);case Dn:return new v;case hn:return xl(t)}}function V0(t,i){var u=i.length;if(!u)return t;var v=u-1;return i[v]=(u>1?"& ":"")+i[v],i=i.join(u>2?", ":" "),t.replace(Ba,`{
21
21
  /* [wrapped with `+i+`] */
22
- `)}function m0(t){return Et(t)||yu(t)||!!(qs&&t&&t[qs])}function Ts(t,i){var u=typeof t;return i=i??ze,!!i&&(u=="number"||u!="symbol"&&Ut.test(t))&&t>-1&&t%1==0&&t<i}function fi(t,i,u){if(!An(u))return!1;var m=typeof i;return(m=="number"?Ci(u)&&Ts(i,u.length):m=="string"&&i in u)?ro(u[i],t):!1}function Ff(t,i){if(Et(t))return!1;var u=typeof t;return u=="number"||u=="symbol"||u=="boolean"||t==null||ea(t)?!0:nn.test(t)||!gr.test(t)||i!=null&&t in Vt(i)}function v0(t){var i=typeof t;return i=="string"||i=="number"||i=="symbol"||i=="boolean"?t!=="__proto__":t===null}function Pf(t){var i=_d(t),u=I[i];if(typeof u!="function"||!(i in St.prototype))return!1;if(t===u)return!0;var m=Af(u);return!!m&&t===m[0]}function b0(t){return!!cn&&cn in t}var y0=Js?Rs:Qf;function Lc(t){var i=t&&t.constructor,u=typeof i=="function"&&i.prototype||Va;return t===u}function Hh(t){return t===t&&!An(t)}function $h(t,i){return function(u){return u==null?!1:u[t]===i&&(i!==n||t in Vt(u))}}function w0(t){var i=Ad(t,function(m){return u.size===E&&u.clear(),m}),u=i.cache;return i}function x0(t,i){var u=t[1],m=i[1],C=u|m,O=C<(Z|G|Te),j=m==Te&&u==be||m==Te&&u==Dt&&t[7].length<=i[8]||m==(Te|Dt)&&i[7].length<=i[8]&&u==be;if(!(O||j))return t;m&Z&&(t[2]=i[2],C|=u&Z?0:ue);var $=i[3];if($){var J=t[3];t[3]=J?Yu(J,$,i[4]):$,t[4]=J?pa(t[3],B):i[4]}return $=i[5],$&&(J=t[5],t[5]=J?xl(J,$,i[6]):$,t[6]=J?pa(t[5],B):i[6]),$=i[7],$&&(t[7]=$),m&Te&&(t[8]=t[8]==null?i[8]:vn(t[8],i[8])),t[9]==null&&(t[9]=i[9]),t[0]=i[0],t[1]=C,t}function S0(t){var i=[];if(t!=null)for(var u in Vt(t))i.push(u);return i}function k0(t){return ga.call(t)}function Gh(t,i,u){return i=mn(i===n?t.length-1:i,0),function(){for(var m=arguments,C=-1,O=mn(m.length-i,0),j=ne(O);++C<O;)j[C]=m[i+C];C=-1;for(var $=ne(i+1);++C<i;)$[C]=m[C];return $[i]=u(j),Cn(t,this,$)}}function Zh(t,i){return i.length<2?t:Qa(t,br(i,0,-1))}function _0(t,i){for(var u=t.length,m=vn(i.length,u),C=Zn(t);m--;){var O=i[m];t[m]=Ts(O,u)?C[O]:n}return t}function Df(t,i){if(!(i==="constructor"&&typeof t[i]=="function")&&i!="__proto__")return t[i]}var Yh=Jh(zo),Bc=el||function(t,i){return En.setTimeout(t,i)},Lf=Jh(uu);function Kh(t,i,u){var m=i+"";return Lf(t,g0(m,E0(f0(m),u)))}function Jh(t){var i=0,u=0;return function(){var m=Gl(),C=Re-(m-u);if(u=m,C>0){if(++i>=xe)return arguments[0]}else i=0;return t.apply(n,arguments)}}function Cd(t,i){var u=-1,m=t.length,C=m-1;for(i=i===n?m:i;++u<i;){var O=ml(u,C),j=t[O];t[O]=t[u],t[u]=j}return t.length=i,t}var Qh=w0(function(t){var i=[];return t.charCodeAt(0)===46&&i.push(""),t.replace(Fi,function(u,m,C,O){i.push(C?O.replace(tt,"$1"):m||u)}),i});function Vo(t){if(typeof t=="string"||ea(t))return t;var i=t+"";return i=="0"&&1/t==-je?"-0":i}function bu(t){if(t!=null){try{return Qs.call(t)}catch{}try{return t+""}catch{}}return""}function E0(t,i){return Wn(Pe,function(u){var m="_."+u[0];i&u[1]&&!Vi(t,m)&&t.push(m)}),t.sort()}function Xh(t){if(t instanceof St)return t.clone();var i=new sr(t.__wrapped__,t.__chain__);return i.__actions__=Zn(t.__actions__),i.__index__=t.__index__,i.__values__=t.__values__,i}function C0(t,i,u){(u?fi(t,i,u):i===n)?i=1:i=mn(Tt(i),0);var m=t==null?0:t.length;if(!m||i<1)return[];for(var C=0,O=0,j=ne(ns(m/i));C<m;)j[O++]=br(t,C,C+=i);return j}function T0(t){for(var i=-1,u=t==null?0:t.length,m=0,C=[];++i<u;){var O=t[i];O&&(C[m++]=O)}return C}function R0(){var t=arguments.length;if(!t)return[];for(var i=ne(t-1),u=arguments[0],m=t;m--;)i[m-1]=arguments[m];return Er(Et(u)?Zn(u):[u],Gn(i,1))}var I0=bt(function(t,i){return Yn(t)?Ji(t,Gn(i,1,Yn,!0)):[]}),A0=bt(function(t,i){var u=Ea(i);return Yn(u)&&(u=n),Yn(t)?Ji(t,Gn(i,1,Yn,!0),st(u,2)):[]}),O0=bt(function(t,i){var u=Ea(i);return Yn(u)&&(u=n),Yn(t)?Ji(t,Gn(i,1,Yn,!0),n,u):[]});function M0(t,i,u){var m=t==null?0:t.length;return m?(i=u||i===n?1:Tt(i),br(t,i<0?0:i,m)):[]}function F0(t,i,u){var m=t==null?0:t.length;return m?(i=u||i===n?1:Tt(i),i=m-i,br(t,0,i<0?0:i)):[]}function P0(t,i){return t&&t.length?bl(t,st(i,3),!0,!0):[]}function D0(t,i){return t&&t.length?bl(t,st(i,3),!0):[]}function L0(t,i,u,m){var C=t==null?0:t.length;return C?(u&&typeof u!="number"&&fi(t,i,u)&&(u=0,m=C),zu(t,i,u,m)):[]}function qh(t,i,u){var m=t==null?0:t.length;if(!m)return-1;var C=u==null?0:Tt(u);return C<0&&(C=mn(m+C,0)),za(t,st(i,3),C)}function eg(t,i,u){var m=t==null?0:t.length;if(!m)return-1;var C=m-1;return u!==n&&(C=Tt(u),C=u<0?mn(m+C,0):vn(C,m-1)),za(t,st(i,3),C,!0)}function tg(t){var i=t==null?0:t.length;return i?Gn(t,1):[]}function B0(t){var i=t==null?0:t.length;return i?Gn(t,je):[]}function N0(t,i){var u=t==null?0:t.length;return u?(i=i===n?1:Tt(i),Gn(t,i)):[]}function j0(t){for(var i=-1,u=t==null?0:t.length,m={};++i<u;){var C=t[i];m[C[0]]=C[1]}return m}function ng(t){return t&&t.length?t[0]:n}function z0(t,i,u){var m=t==null?0:t.length;if(!m)return-1;var C=u==null?0:Tt(u);return C<0&&(C=mn(m+C,0)),Wi(t,i,C)}function U0(t){var i=t==null?0:t.length;return i?br(t,0,-1):[]}var V0=bt(function(t){var i=qt(t,ur);return i.length&&i[0]===t[0]?Do(i):[]}),W0=bt(function(t){var i=Ea(t),u=qt(t,ur);return i===Ea(u)?i=n:u.pop(),u.length&&u[0]===t[0]?Do(u,st(i,2)):[]}),H0=bt(function(t){var i=Ea(t),u=qt(t,ur);return i=typeof i=="function"?i:n,i&&u.pop(),u.length&&u[0]===t[0]?Do(u,n,i):[]});function $0(t,i){return t==null?"":Ao.call(t,i)}function Ea(t){var i=t==null?0:t.length;return i?t[i-1]:n}function G0(t,i,u){var m=t==null?0:t.length;if(!m)return-1;var C=m;return u!==n&&(C=Tt(u),C=C<0?mn(m+C,0):vn(C,m-1)),i===i?Ll(t,i,C):za(t,wo,C,!0)}function Z0(t,i){return t&&t.length?eo(t,Tt(i)):n}var Y0=bt(rg);function rg(t,i){return t&&t.length&&i&&i.length?to(t,i):t}function K0(t,i,u){return t&&t.length&&i&&i.length?to(t,i,st(u,2)):t}function J0(t,i,u){return t&&t.length&&i&&i.length?to(t,i,n,u):t}var Q0=Cs(function(t,i){var u=t==null?0:t.length,m=Jl(t,i);return gs(t,qt(i,function(C){return Ts(C,u)?+C:C}).sort(Uo)),m});function X0(t,i){var u=[];if(!(t&&t.length))return u;var m=-1,C=[],O=t.length;for(i=st(i,3);++m<O;){var j=t[m];i(j,m,t)&&(u.push(j),C.push(m))}return gs(t,C),u}function Bf(t){return t==null?t:Fu.call(t)}function q0(t,i,u){var m=t==null?0:t.length;return m?(u&&typeof u!="number"&&fi(t,i,u)?(i=0,u=m):(i=i==null?0:Tt(i),u=u===n?m:Tt(u)),br(t,i,u)):[]}function ew(t,i){return vs(t,i)}function tw(t,i,u){return bs(t,i,st(u,2))}function nw(t,i){var u=t==null?0:t.length;if(u){var m=vs(t,i);if(m<u&&ro(t[m],i))return m}return-1}function rw(t,i){return vs(t,i,!0)}function iw(t,i,u){return bs(t,i,st(u,2),!0)}function aw(t,i){var u=t==null?0:t.length;if(u){var m=vs(t,i,!0)-1;if(ro(t[m],i))return m}return-1}function ow(t){return t&&t.length?Gu(t):[]}function sw(t,i){return t&&t.length?Gu(t,st(i,2)):[]}function lw(t){var i=t==null?0:t.length;return i?br(t,1,i):[]}function uw(t,i,u){return t&&t.length?(i=u||i===n?1:Tt(i),br(t,0,i<0?0:i)):[]}function cw(t,i,u){var m=t==null?0:t.length;return m?(i=u||i===n?1:Tt(i),i=m-i,br(t,i<0?0:i,m)):[]}function dw(t,i){return t&&t.length?bl(t,st(i,3),!1,!0):[]}function fw(t,i){return t&&t.length?bl(t,st(i,3)):[]}var pw=bt(function(t){return _a(Gn(t,1,Yn,!0))}),hw=bt(function(t){var i=Ea(t);return Yn(i)&&(i=n),_a(Gn(t,1,Yn,!0),st(i,2))}),gw=bt(function(t){var i=Ea(t);return i=typeof i=="function"?i:n,_a(Gn(t,1,Yn,!0),n,i)});function mw(t){return t&&t.length?_a(t):[]}function vw(t,i){return t&&t.length?_a(t,st(i,2)):[]}function bw(t,i){return i=typeof i=="function"?i:n,t&&t.length?_a(t,n,i):[]}function Nf(t){if(!(t&&t.length))return[];var i=0;return t=ii(t,function(u){if(Yn(u))return i=mn(u.length,i),!0}),Q(i,function(u){return qt(t,h(u))})}function ig(t,i){if(!(t&&t.length))return[];var u=Nf(t);return i==null?u:qt(u,function(m){return Cn(i,n,m)})}var yw=bt(function(t,i){return Yn(t)?Ji(t,i):[]}),ww=bt(function(t){return ys(ii(t,Yn))}),xw=bt(function(t){var i=Ea(t);return Yn(i)&&(i=n),ys(ii(t,Yn),st(i,2))}),Sw=bt(function(t){var i=Ea(t);return i=typeof i=="function"?i:n,ys(ii(t,Yn),n,i)}),kw=bt(Nf);function _w(t,i){return fu(t||[],i||[],wn)}function Ew(t,i){return fu(t||[],i||[],no)}var Cw=bt(function(t){var i=t.length,u=i>1?t[i-1]:n;return u=typeof u=="function"?(t.pop(),u):n,ig(t,u)});function ag(t){var i=I(t);return i.__chain__=!0,i}function Tw(t,i){return i(t),t}function Td(t,i){return i(t)}var Rw=Cs(function(t){var i=t.length,u=i?t[0]:0,m=this.__wrapped__,C=function(O){return Jl(O,t)};return i>1||this.__actions__.length||!(m instanceof St)||!Ts(u)?this.thru(C):(m=m.slice(u,+u+(i?1:0)),m.__actions__.push({func:Td,args:[C],thisArg:n}),new sr(m,this.__chain__).thru(function(O){return i&&!O.length&&O.push(n),O}))});function Iw(){return ag(this)}function Aw(){return new sr(this.value(),this.__chain__)}function Ow(){this.__values__===n&&(this.__values__=yg(this.value()));var t=this.__index__>=this.__values__.length,i=t?n:this.__values__[this.__index__++];return{done:t,value:i}}function Mw(){return this}function Fw(t){for(var i,u=this;u instanceof $a;){var m=Xh(u);m.__index__=0,m.__values__=n,i?C.__wrapped__=m:i=m;var C=m;u=u.__wrapped__}return C.__wrapped__=t,i}function Pw(){var t=this.__wrapped__;if(t instanceof St){var i=t;return this.__actions__.length&&(i=new St(this)),i=i.reverse(),i.__actions__.push({func:Td,args:[Bf],thisArg:n}),new sr(i,this.__chain__)}return this.thru(Bf)}function Dw(){return wr(this.__wrapped__,this.__actions__)}var Lw=kl(function(t,i,u){Ht.call(t,u)?++t[u]:$n(t,u,1)});function Bw(t,i,u){var m=Et(t)?bo:cl;return u&&fi(t,i,u)&&(i=n),m(t,st(i,3))}function Nw(t,i){var u=Et(t)?ii:eu;return u(t,st(i,3))}var jw=s(qh),zw=s(eg);function Uw(t,i){return Gn(Rd(t,i),1)}function Vw(t,i){return Gn(Rd(t,i),je)}function Ww(t,i,u){return u=u===n?1:Tt(u),Gn(Rd(t,i),u)}function og(t,i){var u=Et(t)?Wn:ka;return u(t,st(i,3))}function sg(t,i){var u=Et(t)?Hs:ql;return u(t,st(i,3))}var Hw=kl(function(t,i,u){Ht.call(t,u)?t[u].push(i):$n(t,u,[i])});function $w(t,i,u,m){t=Ci(t)?t:qu(t),u=u&&!m?Tt(u):0;var C=t.length;return u<0&&(u=mn(C+u,0)),Fd(t)?u<=C&&t.indexOf(i,u)>-1:!!C&&Wi(t,i,u)>-1}var Gw=bt(function(t,i,u){var m=-1,C=typeof i=="function",O=Ci(t)?ne(t.length):[];return ka(t,function(j){O[++m]=C?Cn(i,j,u):Vr(j,i,u)}),O}),Zw=kl(function(t,i,u){$n(t,u,i)});function Rd(t,i){var u=Et(t)?qt:No;return u(t,st(i,3))}function Yw(t,i,u,m){return t==null?[]:(Et(i)||(i=i==null?[]:[i]),u=m?n:u,Et(u)||(u=u==null?[]:[u]),gl(t,i,u))}var Kw=kl(function(t,i,u){t[u?0:1].push(i)},function(){return[[],[]]});function Jw(t,i,u){var m=Et(t)?Qo:R,C=arguments.length<3;return m(t,st(i,4),u,C,ka)}function Qw(t,i,u){var m=Et(t)?$s:R,C=arguments.length<3;return m(t,st(i,4),u,C,ql)}function Xw(t,i){var u=Et(t)?ii:eu;return u(t,Od(st(i,3)))}function qw(t){var i=Et(t)?$t:ms;return i(t)}function ex(t,i,u){(u?fi(t,i,u):i===n)?i=1:i=Tt(i);var m=Et(t)?zr:Hu;return m(t,i)}function tx(t){var i=Et(t)?Ya:cu;return i(t)}function nx(t){if(t==null)return 0;if(Ci(t))return Fd(t)?_o(t):t.length;var i=$r(t);return i==mt||i==Mn?t.size:hs(t).length}function rx(t,i,u){var m=Et(t)?fa:$u;return u&&fi(t,i,u)&&(i=n),m(t,st(i,3))}var ix=bt(function(t,i){if(t==null)return[];var u=i.length;return u>1&&fi(t,i[0],i[1])?i=[]:u>2&&fi(i[0],i[1],i[2])&&(i=[i[0]]),gl(t,Gn(i,1),[])}),Id=ts||function(){return En.Date.now()};function ax(t,i){if(typeof i!="function")throw new vr(v);return t=Tt(t),function(){if(--t<1)return i.apply(this,arguments)}}function lg(t,i,u){return i=u?n:i,i=t&&i==null?t.length:i,Tn(t,Te,n,n,n,n,i)}function ug(t,i){var u;if(typeof i!="function")throw new vr(v);return t=Tt(t),function(){return--t>0&&(u=i.apply(this,arguments)),t<=1&&(i=n),u}}var jf=bt(function(t,i,u){var m=Z;if(u.length){var C=pa(u,Qu(jf));m|=re}return Tn(t,m,i,u,C)}),cg=bt(function(t,i,u){var m=Z|G;if(u.length){var C=pa(u,Qu(cg));m|=re}return Tn(i,m,t,u,C)});function dg(t,i,u){i=u?n:i;var m=Tn(t,be,n,n,n,n,n,i);return m.placeholder=dg.placeholder,m}function fg(t,i,u){i=u?n:i;var m=Tn(t,ke,n,n,n,n,n,i);return m.placeholder=fg.placeholder,m}function pg(t,i,u){var m,C,O,j,$,J,de=0,fe=!1,me=!1,Le=!0;if(typeof t!="function")throw new vr(v);i=Ca(i)||0,An(u)&&(fe=!!u.leading,me="maxWait"in u,O=me?mn(Ca(u.maxWait)||0,i):O,Le="trailing"in u?!!u.trailing:Le);function Xe(Kn){var io=m,As=C;return m=C=n,de=Kn,j=t.apply(As,io),j}function lt(Kn){return de=Kn,$=Bc(Nt,i),fe?Xe(Kn):j}function Ot(Kn){var io=Kn-J,As=Kn-de,Mg=i-io;return me?vn(Mg,O-As):Mg}function ut(Kn){var io=Kn-J,As=Kn-de;return J===n||io>=i||io<0||me&&As>=O}function Nt(){var Kn=Id();if(ut(Kn))return Wt(Kn);$=Bc(Nt,Ot(Kn))}function Wt(Kn){return $=n,Le&&m?Xe(Kn):(m=C=n,j)}function ta(){$!==n&&xs($),de=0,m=J=C=$=n}function pi(){return $===n?j:Wt(Id())}function na(){var Kn=Id(),io=ut(Kn);if(m=arguments,C=this,J=Kn,io){if($===n)return lt(J);if(me)return xs($),$=Bc(Nt,i),Xe(J)}return $===n&&($=Bc(Nt,i)),j}return na.cancel=ta,na.flush=pi,na}var ox=bt(function(t,i){return Xl(t,1,i)}),sx=bt(function(t,i,u){return Xl(t,Ca(i)||0,u)});function lx(t){return Tn(t,dt)}function Ad(t,i){if(typeof t!="function"||i!=null&&typeof i!="function")throw new vr(v);var u=function(){var m=arguments,C=i?i.apply(this,m):m[0],O=u.cache;if(O.has(C))return O.get(C);var j=t.apply(this,m);return u.cache=O.set(C,j)||O,j};return u.cache=new(Ad.Cache||Yi),u}Ad.Cache=Yi;function Od(t){if(typeof t!="function")throw new vr(v);return function(){var i=arguments;switch(i.length){case 0:return!t.call(this);case 1:return!t.call(this,i[0]);case 2:return!t.call(this,i[0],i[1]);case 3:return!t.call(this,i[0],i[1],i[2])}return!t.apply(this,i)}}function ux(t){return ug(2,t)}var cx=Dc(function(t,i){i=i.length==1&&Et(i[0])?qt(i[0],$e(st())):qt(Gn(i,1),$e(st()));var u=i.length;return bt(function(m){for(var C=-1,O=vn(m.length,u);++C<O;)m[C]=i[C].call(this,m[C]);return Cn(t,this,m)})}),zf=bt(function(t,i){var u=pa(i,Qu(zf));return Tn(t,re,n,i,u)}),hg=bt(function(t,i){var u=pa(i,Qu(hg));return Tn(t,Ie,n,i,u)}),dx=Cs(function(t,i){return Tn(t,Dt,n,n,n,i)});function fx(t,i){if(typeof t!="function")throw new vr(v);return i=i===n?i:Tt(i),bt(t,i)}function px(t,i){if(typeof t!="function")throw new vr(v);return i=i==null?0:mn(Tt(i),0),bt(function(u){var m=u[i],C=di(u,0,i);return m&&Er(C,m),Cn(t,this,C)})}function hx(t,i,u){var m=!0,C=!0;if(typeof t!="function")throw new vr(v);return An(u)&&(m="leading"in u?!!u.leading:m,C="trailing"in u?!!u.trailing:C),pg(t,i,{leading:m,maxWait:i,trailing:C})}function gx(t){return lg(t,1)}function mx(t,i){return zf(ws(i),t)}function vx(){if(!arguments.length)return[];var t=arguments[0];return Et(t)?t:[t]}function bx(t){return lr(t,he)}function yx(t,i){return i=typeof i=="function"?i:n,lr(t,he,i)}function wx(t){return lr(t,D|he)}function xx(t,i){return i=typeof i=="function"?i:n,lr(t,D|he,i)}function Sx(t,i){return i==null||ju(t,i,xr(i))}function ro(t,i){return t===i||t!==t&&i!==i}var kx=De(cs),_x=De(function(t,i){return t>=i}),yu=ps(function(){return arguments}())?ps:function(t){return Nn(t)&&Ht.call(t,"callee")&&!Vl.call(t,"callee")},Et=ne.isArray,Ex=Na?$e(Na):pl;function Ci(t){return t!=null&&Md(t.length)&&!Rs(t)}function Yn(t){return Nn(t)&&Ci(t)}function Cx(t){return t===!0||t===!1||Nn(t)&&Xn(t)==et}var _l=Wl||Qf,Tx=ua?$e(ua):Xa;function Rx(t){return Nn(t)&&t.nodeType===1&&!Nc(t)}function Ix(t){if(t==null)return!0;if(Ci(t)&&(Et(t)||typeof t=="string"||typeof t.splice=="function"||_l(t)||Xu(t)||yu(t)))return!t.length;var i=$r(t);if(i==mt||i==Mn)return!t.size;if(Lc(t))return!hs(t).length;for(var u in t)if(Ht.call(t,u))return!1;return!0}function Ax(t,i){return Lo(t,i)}function Ox(t,i,u){u=typeof u=="function"?u:n;var m=u?u(t,i):n;return m===n?Lo(t,i,n,u):!!m}function Uf(t){if(!Nn(t))return!1;var i=Xn(t);return i==kt||i==nt||typeof t.message=="string"&&typeof t.name=="string"&&!Nc(t)}function Mx(t){return typeof t=="number"&&Hl(t)}function Rs(t){if(!An(t))return!1;var i=Xn(t);return i==_e||i==It||i==qe||i==dr}function gg(t){return typeof t=="number"&&t==Tt(t)}function Md(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=ze}function An(t){var i=typeof t;return t!=null&&(i=="object"||i=="function")}function Nn(t){return t!=null&&typeof t=="object"}var mg=Ws?$e(Ws):qa;function Fx(t,i){return t===i||au(t,i,Of(i))}function Px(t,i,u){return u=typeof u=="function"?u:n,au(t,i,Of(i),u)}function Dx(t){return vg(t)&&t!=+t}function Lx(t){if(y0(t))throw new ot(d);return ou(t)}function Bx(t){return t===null}function Nx(t){return t==null}function vg(t){return typeof t=="number"||Nn(t)&&Xn(t)==fn}function Nc(t){if(!Nn(t)||Xn(t)!=Sn)return!1;var i=Ro(t);if(i===null)return!0;var u=Ht.call(i,"constructor")&&i.constructor;return typeof u=="function"&&u instanceof u&&Qs.call(u)==zl}var Vf=ca?$e(ca):_i;function jx(t){return gg(t)&&t>=-ze&&t<=ze}var bg=mo?$e(mo):Fc;function Fd(t){return typeof t=="string"||!Et(t)&&Nn(t)&&Xn(t)==yn}function ea(t){return typeof t=="symbol"||Nn(t)&&Xn(t)==pn}var Xu=vo?$e(vo):Pc;function zx(t){return t===n}function Ux(t){return Nn(t)&&$r(t)==fr}function Vx(t){return Nn(t)&&Xn(t)==gi}var Wx=De(ui),Hx=De(function(t,i){return t<=i});function yg(t){if(!t)return[];if(Ci(t))return Fd(t)?Rr(t):Zn(t);if(Hi&&t[Hi])return Sc(t[Hi]());var i=$r(t),u=i==mt?Dl:i==Mn?ko:qu;return u(t)}function Is(t){if(!t)return t===0?t:0;if(t=Ca(t),t===je||t===-je){var i=t<0?-1:1;return i*pt}return t===t?t:0}function Tt(t){var i=Is(t),u=i%1;return i===i?u?i-u:i:0}function wg(t){return t?Sa(Tt(t),0,ce):0}function Ca(t){if(typeof t=="number")return t;if(ea(t))return oe;if(An(t)){var i=typeof t.valueOf=="function"?t.valueOf():t;t=An(i)?i+"":i}if(typeof t!="string")return t===0?t:+t;t=Se(t);var u=ft.test(t);return u||zt.test(t)?Jo(t.slice(2),u?2:8):wt.test(t)?oe:+t}function xg(t){return Ei(t,Ti(t))}function $x(t){return t?Sa(Tt(t),-ze,ze):t===0?t:0}function an(t){return t==null?"":yr(t)}var Gx=l(function(t,i){if(Lc(i)||Ci(i)){Ei(i,xr(i),t);return}for(var u in i)Ht.call(i,u)&&wn(t,u,i[u])}),Sg=l(function(t,i){Ei(i,Ti(i),t)}),Pd=l(function(t,i,u,m){Ei(i,Ti(i),t,m)}),Zx=l(function(t,i,u,m){Ei(i,xr(i),t,m)}),Yx=Cs(Jl);function Kx(t,i){var u=wa(t);return i==null?u:li(u,i)}var Jx=bt(function(t,i){t=Vt(t);var u=-1,m=i.length,C=m>2?i[2]:n;for(C&&fi(i[0],i[1],C)&&(m=1);++u<m;)for(var O=i[u],j=Ti(O),$=-1,J=j.length;++$<J;){var de=j[$],fe=t[de];(fe===n||ro(fe,Va[de])&&!Ht.call(t,de))&&(t[de]=O[de])}return t}),Qx=bt(function(t){return t.push(n,mu),Cn(kg,n,t)});function Xx(t,i){return ja(t,st(i,3),ki)}function qx(t,i){return ja(t,st(i,3),nu)}function eS(t,i){return t==null?t:tu(t,st(i,3),Ti)}function tS(t,i){return t==null?t:Uu(t,st(i,3),Ti)}function nS(t,i){return t&&ki(t,st(i,3))}function rS(t,i){return t&&nu(t,st(i,3))}function iS(t){return t==null?[]:fl(t,xr(t))}function aS(t){return t==null?[]:fl(t,Ti(t))}function Wf(t,i,u){var m=t==null?n:Qa(t,i);return m===n?u:m}function oS(t,i){return t!=null&&Vh(t,i,ds)}function Hf(t,i){return t!=null&&Vh(t,i,Vu)}var sS=y(function(t,i,u){i!=null&&typeof i.toString!="function"&&(i=ga.call(i)),t[i]=u},Gf(Ri)),lS=y(function(t,i,u){i!=null&&typeof i.toString!="function"&&(i=ga.call(i)),Ht.call(t,i)?t[i].push(u):t[i]=[u]},st),uS=bt(Vr);function xr(t){return Ci(t)?xa(t):hs(t)}function Ti(t){return Ci(t)?xa(t,!0):hl(t)}function cS(t,i){var u={};return i=st(i,3),ki(t,function(m,C,O){$n(u,i(m,C,O),m)}),u}function dS(t,i){var u={};return i=st(i,3),ki(t,function(m,C,O){$n(u,C,i(m,C,O))}),u}var fS=l(function(t,i,u){jo(t,i,u)}),kg=l(function(t,i,u,m){jo(t,i,u,m)}),pS=Cs(function(t,i){var u={};if(t==null)return u;var m=!1;i=qt(i,function(O){return O=qi(O,t),m||(m=O.length>1),O}),Ei(t,If(t),u),m&&(u=lr(u,D|V|he,Ju));for(var C=i.length;C--;)du(u,i[C]);return u});function hS(t,i){return _g(t,Od(st(i)))}var gS=Cs(function(t,i){return t==null?{}:Hr(t,i)});function _g(t,i){if(t==null)return{};var u=qt(If(t),function(m){return[m]});return i=st(i),Xi(t,u,function(m,C){return i(m,C[0])})}function mS(t,i,u){i=qi(i,t);var m=-1,C=i.length;for(C||(C=1,t=n);++m<C;){var O=t==null?n:t[Vo(i[m])];O===n&&(m=C,O=u),t=Rs(O)?O.call(t):O}return t}function vS(t,i,u){return t==null?t:no(t,i,u)}function bS(t,i,u,m){return m=typeof m=="function"?m:n,t==null?t:no(t,i,u,m)}var Eg=Bn(xr),Cg=Bn(Ti);function yS(t,i,u){var m=Et(t),C=m||_l(t)||Xu(t);if(i=st(i,4),u==null){var O=t&&t.constructor;C?u=m?new O:[]:An(t)?u=Rs(O)?wa(Ro(t)):{}:u={}}return(C?Wn:ki)(t,function(j,$,J){return i(u,j,$,J)}),u}function wS(t,i){return t==null?!0:du(t,i)}function xS(t,i,u){return t==null?t:vl(t,i,ws(u))}function SS(t,i,u,m){return m=typeof m=="function"?m:n,t==null?t:vl(t,i,ws(u),m)}function qu(t){return t==null?[]:ht(t,xr(t))}function kS(t){return t==null?[]:ht(t,Ti(t))}function _S(t,i,u){return u===n&&(u=i,i=n),u!==n&&(u=Ca(u),u=u===u?u:0),i!==n&&(i=Ca(i),i=i===i?i:0),Sa(Ca(t),i,u)}function ES(t,i,u){return i=Is(i),u===n?(u=i,i=0):u=Is(u),t=Ca(t),fs(t,i,u)}function CS(t,i,u){if(u&&typeof u!="boolean"&&fi(t,i,u)&&(i=u=n),u===n&&(typeof i=="boolean"?(u=i,i=n):typeof t=="boolean"&&(u=t,t=n)),t===n&&i===n?(t=0,i=1):(t=Is(t),i===n?(i=t,t=0):i=Is(i)),t>i){var m=t;t=i,i=m}if(u||t%1||i%1){var C=Gi();return vn(t+C*(i-t+_r("1e-"+((C+"").length-1))),i)}return ml(t,i)}var TS=N(function(t,i,u){return i=i.toLowerCase(),t+(u?Tg(i):i)});function Tg(t){return $f(an(t).toLowerCase())}function Rg(t){return t=an(t),t&&t.replace(on,Tr).replace(Zo,"")}function RS(t,i,u){t=an(t),i=yr(i);var m=t.length;u=u===n?m:Sa(Tt(u),0,m);var C=u;return u-=i.length,u>=0&&t.slice(u,C)==i}function IS(t){return t=an(t),t&&Qr.test(t)?t.replace(At,xo):t}function AS(t){return t=an(t),t&&Pi.test(t)?t.replace(ei,"\\$&"):t}var OS=N(function(t,i,u){return t+(u?"-":"")+i.toLowerCase()}),MS=N(function(t,i,u){return t+(u?" ":"")+i.toLowerCase()}),FS=M("toLowerCase");function PS(t,i,u){t=an(t),i=Tt(i);var m=i?_o(t):0;if(!i||m>=i)return t;var C=(i-m)/2;return W(Io(C),u)+t+W(ns(C),u)}function DS(t,i,u){t=an(t),i=Tt(i);var m=i?_o(t):0;return i&&m<i?t+W(i-m,u):t}function LS(t,i,u){t=an(t),i=Tt(i);var m=i?_o(t):0;return i&&m<i?W(i-m,u)+t:t}function BS(t,i,u){return u||i==null?i=0:i&&(i=+i),Zl(an(t).replace(rn,""),i||0)}function NS(t,i,u){return(u?fi(t,i,u):i===n)?i=1:i=Tt(i),lu(an(t),i)}function jS(){var t=arguments,i=an(t[0]);return t.length<3?i:i.replace(t[1],t[2])}var zS=N(function(t,i,u){return t+(u?"_":"")+i.toLowerCase()});function US(t,i,u){return u&&typeof u!="number"&&fi(t,i,u)&&(i=u=n),u=u===n?ce:u>>>0,u?(t=an(t),t&&(typeof i=="string"||i!=null&&!Vf(i))&&(i=yr(i),!i&&So(t))?di(Rr(t),0,u):t.split(i,u)):[]}var VS=N(function(t,i,u){return t+(u?" ":"")+$f(i)});function WS(t,i,u){return t=an(t),u=u==null?0:Sa(Tt(u),0,t.length),i=yr(i),t.slice(u,u+i.length)==i}function HS(t,i,u){var m=I.templateSettings;u&&fi(t,i,u)&&(i=n),t=an(t),i=Pd({},i,m,gu);var C=Pd({},i.imports,m.imports,gu),O=xr(C),j=ht(C,O),$,J,de=0,fe=i.interpolate||In,me="__p += '",Le=ha((i.escape||In).source+"|"+fe.source+"|"+(fe===qr?vt:In).source+"|"+(i.evaluate||In).source+"|$","g"),Xe="//# sourceURL="+(Ht.call(i,"sourceURL")?(i.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Kt+"]")+`
23
- `;t.replace(Le,function(ut,Nt,Wt,ta,pi,na){return Wt||(Wt=ta),me+=t.slice(de,na).replace(Fr,Ks),Nt&&($=!0,me+=`' +
24
- __e(`+Nt+`) +
25
- '`),pi&&(J=!0,me+=`';
26
- `+pi+`;
27
- __p += '`),Wt&&(me+=`' +
28
- ((__t = (`+Wt+`)) == null ? '' : __t) +
29
- '`),de=na+ut.length,ut}),me+=`';
30
- `;var lt=Ht.call(i,"variable")&&i.variable;if(!lt)me=`with (obj) {
31
- `+me+`
22
+ `)}function W0(t){return _t(t)||wu(t)||!!(el&&t&&t[el])}function Is(t,i){var u=typeof t;return i=i??De,!!i&&(u=="number"||u!="symbol"&&Ut.test(t))&&t>-1&&t%1==0&&t<i}function gi(t,i,u){if(!Mn(u))return!1;var v=typeof i;return(v=="number"?Ai(u)&&Is(i,u.length):v=="string"&&i in u)?so(u[i],t):!1}function Wf(t,i){if(_t(t))return!1;var u=typeof t;return u=="number"||u=="symbol"||u=="boolean"||t==null||aa(t)?!0:an.test(t)||!mr.test(t)||i!=null&&t in Wt(i)}function H0(t){var i=typeof t;return i=="string"||i=="number"||i=="symbol"||i=="boolean"?t!=="__proto__":t===null}function Hf(t){var i=Id(t),u=I[i];if(typeof u!="function"||!(i in St.prototype))return!1;if(t===u)return!0;var v=zf(u);return!!v&&t===v[0]}function $0(t){return!!fn&&fn in t}var G0=Qs?As:sp;function Wc(t){var i=t&&t.constructor,u=typeof i=="function"&&i.prototype||Ga;return t===u}function og(t){return t===t&&!Mn(t)}function sg(t,i){return function(u){return u==null?!1:u[t]===i&&(i!==n||t in Wt(u))}}function Z0(t){var i=Dd(t,function(v){return u.size===E&&u.clear(),v}),u=i.cache;return i}function Y0(t,i){var u=t[1],v=i[1],C=u|v,O=C<(G|Z|Ie),j=v==Ie&&u==fe||v==Ie&&u==Lt&&t[7].length<=i[8]||v==(Ie|Lt)&&i[7].length<=i[8]&&u==fe;if(!(O||j))return t;v&G&&(t[2]=i[2],C|=u&G?0:be);var $=i[3];if($){var J=t[3];t[3]=J?Qu(J,$,i[4]):$,t[4]=J?va(t[3],L):i[4]}return $=i[5],$&&(J=t[5],t[5]=J?Sl(J,$,i[6]):$,t[6]=J?va(t[5],L):i[6]),$=i[7],$&&(t[7]=$),v&Ie&&(t[8]=t[8]==null?i[8]:bn(t[8],i[8])),t[9]==null&&(t[9]=i[9]),t[0]=i[0],t[1]=C,t}function K0(t){var i=[];if(t!=null)for(var u in Wt(t))i.push(u);return i}function J0(t){return ya.call(t)}function lg(t,i,u){return i=vn(i===n?t.length-1:i,0),function(){for(var v=arguments,C=-1,O=vn(v.length-i,0),j=re(O);++C<O;)j[C]=v[i+C];C=-1;for(var $=re(i+1);++C<i;)$[C]=v[C];return $[i]=u(j),Rn(t,this,$)}}function ug(t,i){return i.length<2?t:to(t,yr(i,0,-1))}function Q0(t,i){for(var u=t.length,v=bn(i.length,u),C=Kn(t);v--;){var O=i[v];t[v]=Is(O,u)?C[O]:n}return t}function $f(t,i){if(!(i==="constructor"&&typeof t[i]=="function")&&i!="__proto__")return t[i]}var cg=fg(Wo),Hc=tl||function(t,i){return Tn.setTimeout(t,i)},Gf=fg(cu);function dg(t,i,u){var v=i+"";return Gf(t,V0(v,X0(j0(v),u)))}function fg(t){var i=0,u=0;return function(){var v=Zl(),C=we-(v-u);if(u=v,C>0){if(++i>=ge)return arguments[0]}else i=0;return t.apply(n,arguments)}}function Od(t,i){var u=-1,v=t.length,C=v-1;for(i=i===n?v:i;++u<i;){var O=vl(u,C),j=t[O];t[O]=t[u],t[u]=j}return t.length=i,t}var pg=Z0(function(t){var i=[];return t.charCodeAt(0)===46&&i.push(""),t.replace(Ni,function(u,v,C,O){i.push(C?O.replace(nt,"$1"):v||u)}),i});function $o(t){if(typeof t=="string"||aa(t))return t;var i=t+"";return i=="0"&&1/t==-Ne?"-0":i}function yu(t){if(t!=null){try{return Xs.call(t)}catch{}try{return t+""}catch{}}return""}function X0(t,i){return $n(ze,function(u){var v="_."+u[0];i&u[1]&&!Zi(t,v)&&t.push(v)}),t.sort()}function hg(t){if(t instanceof St)return t.clone();var i=new lr(t.__wrapped__,t.__chain__);return i.__actions__=Kn(t.__actions__),i.__index__=t.__index__,i.__values__=t.__values__,i}function q0(t,i,u){(u?gi(t,i,u):i===n)?i=1:i=vn(Tt(i),0);var v=t==null?0:t.length;if(!v||i<1)return[];for(var C=0,O=0,j=re(is(v/i));C<v;)j[O++]=yr(t,C,C+=i);return j}function ew(t){for(var i=-1,u=t==null?0:t.length,v=0,C=[];++i<u;){var O=t[i];O&&(C[v++]=O)}return C}function tw(){var t=arguments.length;if(!t)return[];for(var i=re(t-1),u=arguments[0],v=t;v--;)i[v-1]=arguments[v];return Rr(_t(u)?Kn(u):[u],Yn(i,1))}var nw=vt(function(t,i){return Jn(t)?ta(t,Yn(i,1,Jn,!0)):[]}),rw=vt(function(t,i){var u=Ia(i);return Jn(u)&&(u=n),Jn(t)?ta(t,Yn(i,1,Jn,!0),lt(u,2)):[]}),iw=vt(function(t,i){var u=Ia(i);return Jn(u)&&(u=n),Jn(t)?ta(t,Yn(i,1,Jn,!0),n,u):[]});function aw(t,i,u){var v=t==null?0:t.length;return v?(i=u||i===n?1:Tt(i),yr(t,i<0?0:i,v)):[]}function ow(t,i,u){var v=t==null?0:t.length;return v?(i=u||i===n?1:Tt(i),i=v-i,yr(t,0,i<0?0:i)):[]}function sw(t,i){return t&&t.length?yl(t,lt(i,3),!0,!0):[]}function lw(t,i){return t&&t.length?yl(t,lt(i,3),!0):[]}function uw(t,i,u,v){var C=t==null?0:t.length;return C?(u&&typeof u!="number"&&gi(t,i,u)&&(u=0,v=C),Wu(t,i,u,v)):[]}function gg(t,i,u){var v=t==null?0:t.length;if(!v)return-1;var C=u==null?0:Tt(u);return C<0&&(C=vn(v+C,0)),Ha(t,lt(i,3),C)}function mg(t,i,u){var v=t==null?0:t.length;if(!v)return-1;var C=v-1;return u!==n&&(C=Tt(u),C=u<0?vn(v+C,0):bn(C,v-1)),Ha(t,lt(i,3),C,!0)}function vg(t){var i=t==null?0:t.length;return i?Yn(t,1):[]}function cw(t){var i=t==null?0:t.length;return i?Yn(t,Ne):[]}function dw(t,i){var u=t==null?0:t.length;return u?(i=i===n?1:Tt(i),Yn(t,i)):[]}function fw(t){for(var i=-1,u=t==null?0:t.length,v={};++i<u;){var C=t[i];v[C[0]]=C[1]}return v}function bg(t){return t&&t.length?t[0]:n}function pw(t,i,u){var v=t==null?0:t.length;if(!v)return-1;var C=u==null?0:Tt(u);return C<0&&(C=vn(v+C,0)),Yi(t,i,C)}function hw(t){var i=t==null?0:t.length;return i?yr(t,0,-1):[]}var gw=vt(function(t){var i=tn(t,cr);return i.length&&i[0]===t[0]?No(i):[]}),mw=vt(function(t){var i=Ia(t),u=tn(t,cr);return i===Ia(u)?i=n:u.pop(),u.length&&u[0]===t[0]?No(u,lt(i,2)):[]}),vw=vt(function(t){var i=Ia(t),u=tn(t,cr);return i=typeof i=="function"?i:n,i&&u.pop(),u.length&&u[0]===t[0]?No(u,n,i):[]});function bw(t,i){return t==null?"":Po.call(t,i)}function Ia(t){var i=t==null?0:t.length;return i?t[i-1]:n}function yw(t,i,u){var v=t==null?0:t.length;if(!v)return-1;var C=v;return u!==n&&(C=Tt(u),C=C<0?vn(v+C,0):bn(C,v-1)),i===i?Bl(t,i,C):Ha(t,ko,C,!0)}function ww(t,i){return t&&t.length?io(t,Tt(i)):n}var xw=vt(yg);function yg(t,i){return t&&t.length&&i&&i.length?ao(t,i):t}function Sw(t,i,u){return t&&t.length&&i&&i.length?ao(t,i,lt(u,2)):t}function kw(t,i,u){return t&&t.length&&i&&i.length?ao(t,i,n,u):t}var _w=Rs(function(t,i){var u=t==null?0:t.length,v=Ql(t,i);return vs(t,tn(i,function(C){return Is(C,u)?+C:C}).sort(Ho)),v});function Ew(t,i){var u=[];if(!(t&&t.length))return u;var v=-1,C=[],O=t.length;for(i=lt(i,3);++v<O;){var j=t[v];i(j,v,t)&&(u.push(j),C.push(v))}return vs(t,C),u}function Zf(t){return t==null?t:Lu.call(t)}function Cw(t,i,u){var v=t==null?0:t.length;return v?(u&&typeof u!="number"&&gi(t,i,u)?(i=0,u=v):(i=i==null?0:Tt(i),u=u===n?v:Tt(u)),yr(t,i,u)):[]}function Tw(t,i){return ys(t,i)}function Rw(t,i,u){return ws(t,i,lt(u,2))}function Iw(t,i){var u=t==null?0:t.length;if(u){var v=ys(t,i);if(v<u&&so(t[v],i))return v}return-1}function Aw(t,i){return ys(t,i,!0)}function Ow(t,i,u){return ws(t,i,lt(u,2),!0)}function Mw(t,i){var u=t==null?0:t.length;if(u){var v=ys(t,i,!0)-1;if(so(t[v],i))return v}return-1}function Pw(t){return t&&t.length?Ku(t):[]}function Fw(t,i){return t&&t.length?Ku(t,lt(i,2)):[]}function Dw(t){var i=t==null?0:t.length;return i?yr(t,1,i):[]}function Lw(t,i,u){return t&&t.length?(i=u||i===n?1:Tt(i),yr(t,0,i<0?0:i)):[]}function Bw(t,i,u){var v=t==null?0:t.length;return v?(i=u||i===n?1:Tt(i),i=v-i,yr(t,i<0?0:i,v)):[]}function Nw(t,i){return t&&t.length?yl(t,lt(i,3),!1,!0):[]}function jw(t,i){return t&&t.length?yl(t,lt(i,3)):[]}var zw=vt(function(t){return Ra(Yn(t,1,Jn,!0))}),Uw=vt(function(t){var i=Ia(t);return Jn(i)&&(i=n),Ra(Yn(t,1,Jn,!0),lt(i,2))}),Vw=vt(function(t){var i=Ia(t);return i=typeof i=="function"?i:n,Ra(Yn(t,1,Jn,!0),n,i)});function Ww(t){return t&&t.length?Ra(t):[]}function Hw(t,i){return t&&t.length?Ra(t,lt(i,2)):[]}function $w(t,i){return i=typeof i=="function"?i:n,t&&t.length?Ra(t,n,i):[]}function Yf(t){if(!(t&&t.length))return[];var i=0;return t=si(t,function(u){if(Jn(u))return i=vn(u.length,i),!0}),Q(i,function(u){return tn(t,h(u))})}function wg(t,i){if(!(t&&t.length))return[];var u=Yf(t);return i==null?u:tn(u,function(v){return Rn(i,n,v)})}var Gw=vt(function(t,i){return Jn(t)?ta(t,i):[]}),Zw=vt(function(t){return xs(si(t,Jn))}),Yw=vt(function(t){var i=Ia(t);return Jn(i)&&(i=n),xs(si(t,Jn),lt(i,2))}),Kw=vt(function(t){var i=Ia(t);return i=typeof i=="function"?i:n,xs(si(t,Jn),n,i)}),Jw=vt(Yf);function Qw(t,i){return pu(t||[],i||[],Sn)}function Xw(t,i){return pu(t||[],i||[],oo)}var qw=vt(function(t){var i=t.length,u=i>1?t[i-1]:n;return u=typeof u=="function"?(t.pop(),u):n,wg(t,u)});function xg(t){var i=I(t);return i.__chain__=!0,i}function ex(t,i){return i(t),t}function Md(t,i){return i(t)}var tx=Rs(function(t){var i=t.length,u=i?t[0]:0,v=this.__wrapped__,C=function(O){return Ql(O,t)};return i>1||this.__actions__.length||!(v instanceof St)||!Is(u)?this.thru(C):(v=v.slice(u,+u+(i?1:0)),v.__actions__.push({func:Md,args:[C],thisArg:n}),new lr(v,this.__chain__).thru(function(O){return i&&!O.length&&O.push(n),O}))});function nx(){return xg(this)}function rx(){return new lr(this.value(),this.__chain__)}function ix(){this.__values__===n&&(this.__values__=Dg(this.value()));var t=this.__index__>=this.__values__.length,i=t?n:this.__values__[this.__index__++];return{done:t,value:i}}function ax(){return this}function ox(t){for(var i,u=this;u instanceof Ka;){var v=hg(u);v.__index__=0,v.__values__=n,i?C.__wrapped__=v:i=v;var C=v;u=u.__wrapped__}return C.__wrapped__=t,i}function sx(){var t=this.__wrapped__;if(t instanceof St){var i=t;return this.__actions__.length&&(i=new St(this)),i=i.reverse(),i.__actions__.push({func:Md,args:[Zf],thisArg:n}),new lr(i,this.__chain__)}return this.thru(Zf)}function lx(){return xr(this.__wrapped__,this.__actions__)}var ux=_l(function(t,i,u){Zt.call(t,u)?++t[u]:Zn(t,u,1)});function cx(t,i,u){var v=_t(t)?xo:dl;return u&&gi(t,i,u)&&(i=n),v(t,lt(i,3))}function dx(t,i){var u=_t(t)?si:tu;return u(t,lt(i,3))}var fx=s(gg),px=s(mg);function hx(t,i){return Yn(Pd(t,i),1)}function gx(t,i){return Yn(Pd(t,i),Ne)}function mx(t,i,u){return u=u===n?1:Tt(u),Yn(Pd(t,i),u)}function Sg(t,i){var u=_t(t)?$n:Ta;return u(t,lt(i,3))}function kg(t,i){var u=_t(t)?$s:eu;return u(t,lt(i,3))}var vx=_l(function(t,i,u){Zt.call(t,u)?t[u].push(i):Zn(t,u,[i])});function bx(t,i,u,v){t=Ai(t)?t:nc(t),u=u&&!v?Tt(u):0;var C=t.length;return u<0&&(u=vn(C+u,0)),Nd(t)?u<=C&&t.indexOf(i,u)>-1:!!C&&Yi(t,i,u)>-1}var yx=vt(function(t,i,u){var v=-1,C=typeof i=="function",O=Ai(t)?re(t.length):[];return Ta(t,function(j){O[++v]=C?Rn(i,j,u):$r(j,i,u)}),O}),wx=_l(function(t,i,u){Zn(t,u,i)});function Pd(t,i){var u=_t(t)?tn:Uo;return u(t,lt(i,3))}function xx(t,i,u,v){return t==null?[]:(_t(i)||(i=i==null?[]:[i]),u=v?n:u,_t(u)||(u=u==null?[]:[u]),ml(t,i,u))}var Sx=_l(function(t,i,u){t[u?0:1].push(i)},function(){return[[],[]]});function kx(t,i,u){var v=_t(t)?qo:R,C=arguments.length<3;return v(t,lt(i,4),u,C,Ta)}function _x(t,i,u){var v=_t(t)?Gs:R,C=arguments.length<3;return v(t,lt(i,4),u,C,eu)}function Ex(t,i){var u=_t(t)?si:tu;return u(t,Ld(lt(i,3)))}function Cx(t){var i=_t(t)?Yt:bs;return i(t)}function Tx(t,i,u){(u?gi(t,i,u):i===n)?i=1:i=Tt(i);var v=_t(t)?Wr:Zu;return v(t,i)}function Rx(t){var i=_t(t)?Xa:du;return i(t)}function Ix(t){if(t==null)return 0;if(Ai(t))return Nd(t)?To(t):t.length;var i=Yr(t);return i==At||i==Dn?t.size:ms(t).length}function Ax(t,i,u){var v=_t(t)?ma:Yu;return u&&gi(t,i,u)&&(i=n),v(t,lt(i,3))}var Ox=vt(function(t,i){if(t==null)return[];var u=i.length;return u>1&&gi(t,i[0],i[1])?i=[]:u>2&&gi(i[0],i[1],i[2])&&(i=[i[0]]),ml(t,Yn(i,1),[])}),Fd=rs||function(){return Tn.Date.now()};function Mx(t,i){if(typeof i!="function")throw new br(g);return t=Tt(t),function(){if(--t<1)return i.apply(this,arguments)}}function _g(t,i,u){return i=u?n:i,i=t&&i==null?t.length:i,In(t,Ie,n,n,n,n,i)}function Eg(t,i){var u;if(typeof i!="function")throw new br(g);return t=Tt(t),function(){return--t>0&&(u=i.apply(this,arguments)),t<=1&&(i=n),u}}var Kf=vt(function(t,i,u){var v=G;if(u.length){var C=va(u,ec(Kf));v|=ee}return In(t,v,i,u,C)}),Cg=vt(function(t,i,u){var v=G|Z;if(u.length){var C=va(u,ec(Cg));v|=ee}return In(i,v,t,u,C)});function Tg(t,i,u){i=u?n:i;var v=In(t,fe,n,n,n,n,n,i);return v.placeholder=Tg.placeholder,v}function Rg(t,i,u){i=u?n:i;var v=In(t,de,n,n,n,n,n,i);return v.placeholder=Rg.placeholder,v}function Ig(t,i,u){var v,C,O,j,$,J,pe=0,he=!1,ye=!1,Le=!0;if(typeof t!="function")throw new br(g);i=Aa(i)||0,Mn(u)&&(he=!!u.leading,ye="maxWait"in u,O=ye?vn(Aa(u.maxWait)||0,i):O,Le="trailing"in u?!!u.trailing:Le);function et(Qn){var lo=v,Ms=C;return v=C=n,pe=Qn,j=t.apply(Ms,lo),j}function ut(Qn){return pe=Qn,$=Hc(jt,i),he?et(Qn):j}function Mt(Qn){var lo=Qn-J,Ms=Qn-pe,Yg=i-lo;return ye?bn(Yg,O-Ms):Yg}function ct(Qn){var lo=Qn-J,Ms=Qn-pe;return J===n||lo>=i||lo<0||ye&&Ms>=O}function jt(){var Qn=Fd();if(ct(Qn))return Ht(Qn);$=Hc(jt,Mt(Qn))}function Ht(Qn){return $=n,Le&&v?et(Qn):(v=C=n,j)}function oa(){$!==n&&ks($),pe=0,v=J=C=$=n}function mi(){return $===n?j:Ht(Fd())}function sa(){var Qn=Fd(),lo=ct(Qn);if(v=arguments,C=this,J=Qn,lo){if($===n)return ut(J);if(ye)return ks($),$=Hc(jt,i),et(J)}return $===n&&($=Hc(jt,i)),j}return sa.cancel=oa,sa.flush=mi,sa}var Px=vt(function(t,i){return ql(t,1,i)}),Fx=vt(function(t,i,u){return ql(t,Aa(i)||0,u)});function Dx(t){return In(t,it)}function Dd(t,i){if(typeof t!="function"||i!=null&&typeof i!="function")throw new br(g);var u=function(){var v=arguments,C=i?i.apply(this,v):v[0],O=u.cache;if(O.has(C))return O.get(C);var j=t.apply(this,v);return u.cache=O.set(C,j)||O,j};return u.cache=new(Dd.Cache||qi),u}Dd.Cache=qi;function Ld(t){if(typeof t!="function")throw new br(g);return function(){var i=arguments;switch(i.length){case 0:return!t.call(this);case 1:return!t.call(this,i[0]);case 2:return!t.call(this,i[0],i[1]);case 3:return!t.call(this,i[0],i[1],i[2])}return!t.apply(this,i)}}function Lx(t){return Eg(2,t)}var Bx=Vc(function(t,i){i=i.length==1&&_t(i[0])?tn(i[0],$e(lt())):tn(Yn(i,1),$e(lt()));var u=i.length;return vt(function(v){for(var C=-1,O=bn(v.length,u);++C<O;)v[C]=i[C].call(this,v[C]);return Rn(t,this,v)})}),Jf=vt(function(t,i){var u=va(i,ec(Jf));return In(t,ee,n,i,u)}),Ag=vt(function(t,i){var u=va(i,ec(Ag));return In(t,Te,n,i,u)}),Nx=Rs(function(t,i){return In(t,Lt,n,n,n,i)});function jx(t,i){if(typeof t!="function")throw new br(g);return i=i===n?i:Tt(i),vt(t,i)}function zx(t,i){if(typeof t!="function")throw new br(g);return i=i==null?0:vn(Tt(i),0),vt(function(u){var v=u[i],C=hi(u,0,i);return v&&Rr(C,v),Rn(t,this,C)})}function Ux(t,i,u){var v=!0,C=!0;if(typeof t!="function")throw new br(g);return Mn(u)&&(v="leading"in u?!!u.leading:v,C="trailing"in u?!!u.trailing:C),Ig(t,i,{leading:v,maxWait:i,trailing:C})}function Vx(t){return _g(t,1)}function Wx(t,i){return Jf(Ss(i),t)}function Hx(){if(!arguments.length)return[];var t=arguments[0];return _t(t)?t:[t]}function $x(t){return ur(t,se)}function Gx(t,i){return i=typeof i=="function"?i:n,ur(t,se,i)}function Zx(t){return ur(t,P|se)}function Yx(t,i){return i=typeof i=="function"?i:n,ur(t,P|se,i)}function Kx(t,i){return i==null||Vu(t,i,Sr(i))}function so(t,i){return t===i||t!==t&&i!==i}var Jx=Fe(fs),Qx=Fe(function(t,i){return t>=i}),wu=gs(function(){return arguments}())?gs:function(t){return Un(t)&&Zt.call(t,"callee")&&!Wl.call(t,"callee")},_t=re.isArray,Xx=Va?$e(Va):hl;function Ai(t){return t!=null&&Bd(t.length)&&!As(t)}function Jn(t){return Un(t)&&Ai(t)}function qx(t){return t===!0||t===!1||Un(t)&&er(t)==Qe}var El=Hl||sp,eS=pa?$e(pa):no;function tS(t){return Un(t)&&t.nodeType===1&&!$c(t)}function nS(t){if(t==null)return!0;if(Ai(t)&&(_t(t)||typeof t=="string"||typeof t.splice=="function"||El(t)||tc(t)||wu(t)))return!t.length;var i=Yr(t);if(i==At||i==Dn)return!t.size;if(Wc(t))return!ms(t).length;for(var u in t)if(Zt.call(t,u))return!1;return!0}function rS(t,i){return jo(t,i)}function iS(t,i,u){u=typeof u=="function"?u:n;var v=u?u(t,i):n;return v===n?jo(t,i,n,u):!!v}function Qf(t){if(!Un(t))return!1;var i=er(t);return i==yt||i==tt||typeof t.message=="string"&&typeof t.name=="string"&&!$c(t)}function aS(t){return typeof t=="number"&&$l(t)}function As(t){if(!Mn(t))return!1;var i=er(t);return i==Ee||i==Ct||i==Ke||i==fr}function Og(t){return typeof t=="number"&&t==Tt(t)}function Bd(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=De}function Mn(t){var i=typeof t;return t!=null&&(i=="object"||i=="function")}function Un(t){return t!=null&&typeof t=="object"}var Mg=Hs?$e(Hs):ro;function oS(t,i){return t===i||ou(t,i,Uf(i))}function sS(t,i,u){return u=typeof u=="function"?u:n,ou(t,i,Uf(i),u)}function lS(t){return Pg(t)&&t!=+t}function uS(t){if(G0(t))throw new st(c);return su(t)}function cS(t){return t===null}function dS(t){return t==null}function Pg(t){return typeof t=="number"||Un(t)&&er(t)==qt}function $c(t){if(!Un(t)||er(t)!=kn)return!1;var i=Oo(t);if(i===null)return!0;var u=Zt.call(i,"constructor")&&i.constructor;return typeof u=="function"&&u instanceof u&&Xs.call(u)==Ul}var Xf=ha?$e(ha):Ri;function fS(t){return Og(t)&&t>=-De&&t<=De}var Fg=yo?$e(yo):zc;function Nd(t){return typeof t=="string"||!_t(t)&&Un(t)&&er(t)==xn}function aa(t){return typeof t=="symbol"||Un(t)&&er(t)==hn}var tc=wo?$e(wo):Uc;function pS(t){return t===n}function hS(t){return Un(t)&&Yr(t)==pr}function gS(t){return Un(t)&&er(t)==yi}var mS=Fe(fi),vS=Fe(function(t,i){return t<=i});function Dg(t){if(!t)return[];if(Ai(t))return Nd(t)?Or(t):Kn(t);if(Ki&&t[Ki])return Ic(t[Ki]());var i=Yr(t),u=i==At?Ll:i==Dn?Co:nc;return u(t)}function Os(t){if(!t)return t===0?t:0;if(t=Aa(t),t===Ne||t===-Ne){var i=t<0?-1:1;return i*We}return t===t?t:0}function Tt(t){var i=Os(t),u=i%1;return i===i?u?i-u:i:0}function Lg(t){return t?Ca(Tt(t),0,ue):0}function Aa(t){if(typeof t=="number")return t;if(aa(t))return le;if(Mn(t)){var i=typeof t.valueOf=="function"?t.valueOf():t;t=Mn(i)?i+"":i}if(typeof t!="string")return t===0?t:+t;t=Se(t);var u=pt.test(t);return u||zt.test(t)?Xo(t.slice(2),u?2:8):wt.test(t)?le:+t}function Bg(t){return Ii(t,Oi(t))}function bS(t){return t?Ca(Tt(t),-De,De):t===0?t:0}function sn(t){return t==null?"":wr(t)}var yS=l(function(t,i){if(Wc(i)||Ai(i)){Ii(i,Sr(i),t);return}for(var u in i)Zt.call(i,u)&&Sn(t,u,i[u])}),Ng=l(function(t,i){Ii(i,Oi(i),t)}),jd=l(function(t,i,u,v){Ii(i,Oi(i),t,v)}),wS=l(function(t,i,u,v){Ii(i,Sr(i),t,v)}),xS=Rs(Ql);function SS(t,i){var u=_a(t);return i==null?u:di(u,i)}var kS=vt(function(t,i){t=Wt(t);var u=-1,v=i.length,C=v>2?i[2]:n;for(C&&gi(i[0],i[1],C)&&(v=1);++u<v;)for(var O=i[u],j=Oi(O),$=-1,J=j.length;++$<J;){var pe=j[$],he=t[pe];(he===n||so(he,Ga[pe])&&!Zt.call(t,pe))&&(t[pe]=O[pe])}return t}),_S=vt(function(t){return t.push(n,vu),Rn(jg,n,t)});function ES(t,i){return Wa(t,lt(i,3),Ti)}function CS(t,i){return Wa(t,lt(i,3),ru)}function TS(t,i){return t==null?t:nu(t,lt(i,3),Oi)}function RS(t,i){return t==null?t:Hu(t,lt(i,3),Oi)}function IS(t,i){return t&&Ti(t,lt(i,3))}function AS(t,i){return t&&ru(t,lt(i,3))}function OS(t){return t==null?[]:pl(t,Sr(t))}function MS(t){return t==null?[]:pl(t,Oi(t))}function qf(t,i,u){var v=t==null?n:to(t,i);return v===n?u:v}function PS(t,i){return t!=null&&ig(t,i,ps)}function ep(t,i){return t!=null&&ig(t,i,$u)}var FS=x(function(t,i,u){i!=null&&typeof i.toString!="function"&&(i=ya.call(i)),t[i]=u},np(Mi)),DS=x(function(t,i,u){i!=null&&typeof i.toString!="function"&&(i=ya.call(i)),Zt.call(t,i)?t[i].push(u):t[i]=[u]},lt),LS=vt($r);function Sr(t){return Ai(t)?Ea(t):ms(t)}function Oi(t){return Ai(t)?Ea(t,!0):gl(t)}function BS(t,i){var u={};return i=lt(i,3),Ti(t,function(v,C,O){Zn(u,i(v,C,O),v)}),u}function NS(t,i){var u={};return i=lt(i,3),Ti(t,function(v,C,O){Zn(u,C,i(v,C,O))}),u}var jS=l(function(t,i,u){Vo(t,i,u)}),jg=l(function(t,i,u,v){Vo(t,i,u,v)}),zS=Rs(function(t,i){var u={};if(t==null)return u;var v=!1;i=tn(i,function(O){return O=ia(O,t),v||(v=O.length>1),O}),Ii(t,jf(t),u),v&&(u=ur(u,P|W|se,qu));for(var C=i.length;C--;)fu(u,i[C]);return u});function US(t,i){return zg(t,Ld(lt(i)))}var VS=Rs(function(t,i){return t==null?{}:Zr(t,i)});function zg(t,i){if(t==null)return{};var u=tn(jf(t),function(v){return[v]});return i=lt(i),ra(t,u,function(v,C){return i(v,C[0])})}function WS(t,i,u){i=ia(i,t);var v=-1,C=i.length;for(C||(C=1,t=n);++v<C;){var O=t==null?n:t[$o(i[v])];O===n&&(v=C,O=u),t=As(O)?O.call(t):O}return t}function HS(t,i,u){return t==null?t:oo(t,i,u)}function $S(t,i,u,v){return v=typeof v=="function"?v:n,t==null?t:oo(t,i,u,v)}var Ug=zn(Sr),Vg=zn(Oi);function GS(t,i,u){var v=_t(t),C=v||El(t)||tc(t);if(i=lt(i,4),u==null){var O=t&&t.constructor;C?u=v?new O:[]:Mn(t)?u=As(O)?_a(Oo(t)):{}:u={}}return(C?$n:Ti)(t,function(j,$,J){return i(u,j,$,J)}),u}function ZS(t,i){return t==null?!0:fu(t,i)}function YS(t,i,u){return t==null?t:bl(t,i,Ss(u))}function KS(t,i,u,v){return v=typeof v=="function"?v:n,t==null?t:bl(t,i,Ss(u),v)}function nc(t){return t==null?[]:ht(t,Sr(t))}function JS(t){return t==null?[]:ht(t,Oi(t))}function QS(t,i,u){return u===n&&(u=i,i=n),u!==n&&(u=Aa(u),u=u===u?u:0),i!==n&&(i=Aa(i),i=i===i?i:0),Ca(Aa(t),i,u)}function XS(t,i,u){return i=Os(i),u===n?(u=i,i=0):u=Os(u),t=Aa(t),hs(t,i,u)}function qS(t,i,u){if(u&&typeof u!="boolean"&&gi(t,i,u)&&(i=u=n),u===n&&(typeof i=="boolean"?(u=i,i=n):typeof t=="boolean"&&(u=t,t=n)),t===n&&i===n?(t=0,i=1):(t=Os(t),i===n?(i=t,t=0):i=Os(i)),t>i){var v=t;t=i,i=v}if(u||t%1||i%1){var C=Qi();return bn(t+C*(i-t+Tr("1e-"+((C+"").length-1))),i)}return vl(t,i)}var e1=N(function(t,i,u){return i=i.toLowerCase(),t+(u?Wg(i):i)});function Wg(t){return tp(sn(t).toLowerCase())}function Hg(t){return t=sn(t),t&&t.replace(ln,Ar).replace(Ko,"")}function t1(t,i,u){t=sn(t),i=wr(i);var v=t.length;u=u===n?v:Ca(Tt(u),0,v);var C=u;return u-=i.length,u>=0&&t.slice(u,C)==i}function n1(t){return t=sn(t),t&&ei.test(t)?t.replace(Ot,_o):t}function r1(t){return t=sn(t),t&&ji.test(t)?t.replace(ri,"\\$&"):t}var i1=N(function(t,i,u){return t+(u?"-":"")+i.toLowerCase()}),a1=N(function(t,i,u){return t+(u?" ":"")+i.toLowerCase()}),o1=M("toLowerCase");function s1(t,i,u){t=sn(t),i=Tt(i);var v=i?To(t):0;if(!i||v>=i)return t;var C=(i-v)/2;return V(Mo(C),u)+t+V(is(C),u)}function l1(t,i,u){t=sn(t),i=Tt(i);var v=i?To(t):0;return i&&v<i?t+V(i-v,u):t}function u1(t,i,u){t=sn(t),i=Tt(i);var v=i?To(t):0;return i&&v<i?V(i-v,u)+t:t}function c1(t,i,u){return u||i==null?i=0:i&&(i=+i),Yl(sn(t).replace(on,""),i||0)}function d1(t,i,u){return(u?gi(t,i,u):i===n)?i=1:i=Tt(i),uu(sn(t),i)}function f1(){var t=arguments,i=sn(t[0]);return t.length<3?i:i.replace(t[1],t[2])}var p1=N(function(t,i,u){return t+(u?"_":"")+i.toLowerCase()});function h1(t,i,u){return u&&typeof u!="number"&&gi(t,i,u)&&(i=u=n),u=u===n?ue:u>>>0,u?(t=sn(t),t&&(typeof i=="string"||i!=null&&!Xf(i))&&(i=wr(i),!i&&Eo(t))?hi(Or(t),0,u):t.split(i,u)):[]}var g1=N(function(t,i,u){return t+(u?" ":"")+tp(i)});function m1(t,i,u){return t=sn(t),u=u==null?0:Ca(Tt(u),0,t.length),i=wr(i),t.slice(u,u+i.length)==i}function v1(t,i,u){var v=I.templateSettings;u&&gi(t,i,u)&&(i=n),t=sn(t),i=jd({},i,v,mu);var C=jd({},i.imports,v.imports,mu),O=Sr(C),j=ht(C,O),$,J,pe=0,he=i.interpolate||On,ye="__p += '",Le=ba((i.escape||On).source+"|"+he.source+"|"+(he===ni?mt:On).source+"|"+(i.evaluate||On).source+"|$","g"),et="//# sourceURL="+(Zt.call(i,"sourceURL")?(i.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Qt+"]")+`
23
+ `;t.replace(Le,function(ct,jt,Ht,oa,mi,sa){return Ht||(Ht=oa),ye+=t.slice(pe,sa).replace(Lr,Js),jt&&($=!0,ye+=`' +
24
+ __e(`+jt+`) +
25
+ '`),mi&&(J=!0,ye+=`';
26
+ `+mi+`;
27
+ __p += '`),Ht&&(ye+=`' +
28
+ ((__t = (`+Ht+`)) == null ? '' : __t) +
29
+ '`),pe=sa+ct.length,ct}),ye+=`';
30
+ `;var ut=Zt.call(i,"variable")&&i.variable;if(!ut)ye=`with (obj) {
31
+ `+ye+`
32
32
  }
33
- `;else if(Ce.test(lt))throw new ot(x);me=(J?me.replace(ia,""):me).replace(kn,"$1").replace(rr,"$1;"),me="function("+(lt||"obj")+`) {
34
- `+(lt?"":`obj || (obj = {});
33
+ `;else if(Re.test(ut))throw new st(y);ye=(J?ye.replace(la,""):ye).replace(En,"$1").replace(ir,"$1;"),ye="function("+(ut||"obj")+`) {
34
+ `+(ut?"":`obj || (obj = {});
35
35
  `)+"var __t, __p = ''"+($?", __e = _.escape":"")+(J?`, __j = Array.prototype.join;
36
36
  function print() { __p += __j.call(arguments, '') }
37
37
  `:`;
38
- `)+me+`return __p
39
- }`;var Ot=Ag(function(){return Pt(O,Xe+"return "+me).apply(n,j)});if(Ot.source=me,Uf(Ot))throw Ot;return Ot}function $S(t){return an(t).toLowerCase()}function GS(t){return an(t).toUpperCase()}function ZS(t,i,u){if(t=an(t),t&&(u||i===n))return Se(t);if(!t||!(i=yr(i)))return t;var m=Rr(t),C=Rr(i),O=Jt(m,C),j=Qn(m,C)+1;return di(m,O,j).join("")}function YS(t,i,u){if(t=an(t),t&&(u||i===n))return t.slice(0,Bl(t)+1);if(!t||!(i=yr(i)))return t;var m=Rr(t),C=Qn(m,Rr(i))+1;return di(m,0,C).join("")}function KS(t,i,u){if(t=an(t),t&&(u||i===n))return t.replace(rn,"");if(!t||!(i=yr(i)))return t;var m=Rr(t),C=Jt(m,Rr(i));return di(m,C).join("")}function JS(t,i){var u=Mt,m=ve;if(An(i)){var C="separator"in i?i.separator:C;u="length"in i?Tt(i.length):u,m="omission"in i?yr(i.omission):m}t=an(t);var O=t.length;if(So(t)){var j=Rr(t);O=j.length}if(u>=O)return t;var $=u-_o(m);if($<1)return m;var J=j?di(j,0,$).join(""):t.slice(0,$);if(C===n)return J+m;if(j&&($+=J.length-$),Vf(C)){if(t.slice($).search(C)){var de,fe=J;for(C.global||(C=ha(C.source,an(_t.exec(C))+"g")),C.lastIndex=0;de=C.exec(fe);)var me=de.index;J=J.slice(0,me===n?$:me)}}else if(t.indexOf(yr(C),$)!=$){var Le=J.lastIndexOf(C);Le>-1&&(J=J.slice(0,Le))}return J+m}function QS(t){return t=an(t),t&&hr.test(t)?t.replace(Fn,Au):t}var XS=N(function(t,i,u){return t+(u?" ":"")+i.toUpperCase()}),$f=M("toUpperCase");function Ig(t,i,u){return t=an(t),i=u?n:i,i===n?xc(t)?Ec(t):yo(t):t.match(i)||[]}var Ag=bt(function(t,i){try{return Cn(t,n,i)}catch(u){return Uf(u)?u:new ot(u)}}),qS=Cs(function(t,i){return Wn(i,function(u){u=Vo(u),$n(t,u,jf(t[u],t))}),t});function e1(t){var i=t==null?0:t.length,u=st();return t=i?qt(t,function(m){if(typeof m[1]!="function")throw new vr(v);return[u(m[0]),m[1]]}):[],bt(function(m){for(var C=-1;++C<i;){var O=t[C];if(Cn(O[0],this,m))return Cn(O[1],this,m)}})}function t1(t){return Ql(lr(t,D))}function Gf(t){return function(){return t}}function n1(t,i){return t==null||t!==t?i:t}var r1=c(),i1=c(!0);function Ri(t){return t}function Zf(t){return Bo(typeof t=="function"?t:lr(t,D))}function a1(t){return Qi(lr(t,D))}function o1(t,i){return ci(t,lr(i,D))}var s1=bt(function(t,i){return function(u){return Vr(u,t,i)}}),l1=bt(function(t,i){return function(u){return Vr(t,u,i)}});function Yf(t,i,u){var m=xr(i),C=fl(i,m);u==null&&!(An(i)&&(C.length||!m.length))&&(u=i,i=t,t=this,C=fl(i,xr(i)));var O=!(An(u)&&"chain"in u)||!!u.chain,j=Rs(t);return Wn(C,function($){var J=i[$];t[$]=J,j&&(t.prototype[$]=function(){var de=this.__chain__;if(O||de){var fe=t(this.__wrapped__),me=fe.__actions__=Zn(this.__actions__);return me.push({func:J,args:arguments,thisArg:t}),fe.__chain__=de,fe}return J.apply(t,Er([this.value()],arguments))})}),t}function u1(){return En._===this&&(En._=dn),this}function Kf(){}function c1(t){return t=Tt(t),bt(function(i){return eo(i,t)})}var d1=L(qt),f1=L(bo),p1=L(fa);function Og(t){return Ff(t)?h(Vo(t)):su(t)}function h1(t){return function(i){return t==null?n:Qa(t,i)}}var g1=pe(),m1=pe(!0);function Jf(){return[]}function Qf(){return!1}function v1(){return{}}function b1(){return""}function y1(){return!0}function w1(t,i){if(t=Tt(t),t<1||t>ze)return[];var u=ce,m=vn(t,ce);i=st(i),t-=ce;for(var C=Q(m,i);++u<t;)i(u);return C}function x1(t){return Et(t)?qt(t,Vo):ea(t)?[t]:Zn(Qh(an(t)))}function S1(t){var i=++Mu;return an(t)+i}var k1=T(function(t,i){return t+i},0),_1=it("ceil"),E1=T(function(t,i){return t/i},1),C1=it("floor");function T1(t){return t&&t.length?dl(t,Ri,cs):n}function R1(t,i){return t&&t.length?dl(t,st(i,2),cs):n}function I1(t){return Xo(t,Ri)}function A1(t,i){return Xo(t,st(i,2))}function O1(t){return t&&t.length?dl(t,Ri,ui):n}function M1(t,i){return t&&t.length?dl(t,st(i,2),ui):n}var F1=T(function(t,i){return t*i},1),P1=it("round"),D1=T(function(t,i){return t-i},0);function L1(t){return t&&t.length?q(t,Ri):0}function B1(t,i){return t&&t.length?q(t,st(i,2)):0}return I.after=ax,I.ary=lg,I.assign=Gx,I.assignIn=Sg,I.assignInWith=Pd,I.assignWith=Zx,I.at=Yx,I.before=ug,I.bind=jf,I.bindAll=qS,I.bindKey=cg,I.castArray=vx,I.chain=ag,I.chunk=C0,I.compact=T0,I.concat=R0,I.cond=e1,I.conforms=t1,I.constant=Gf,I.countBy=Lw,I.create=Kx,I.curry=dg,I.curryRight=fg,I.debounce=pg,I.defaults=Jx,I.defaultsDeep=Qx,I.defer=ox,I.delay=sx,I.difference=I0,I.differenceBy=A0,I.differenceWith=O0,I.drop=M0,I.dropRight=F0,I.dropRightWhile=P0,I.dropWhile=D0,I.fill=L0,I.filter=Nw,I.flatMap=Uw,I.flatMapDeep=Vw,I.flatMapDepth=Ww,I.flatten=tg,I.flattenDeep=B0,I.flattenDepth=N0,I.flip=lx,I.flow=r1,I.flowRight=i1,I.fromPairs=j0,I.functions=iS,I.functionsIn=aS,I.groupBy=Hw,I.initial=U0,I.intersection=V0,I.intersectionBy=W0,I.intersectionWith=H0,I.invert=sS,I.invertBy=lS,I.invokeMap=Gw,I.iteratee=Zf,I.keyBy=Zw,I.keys=xr,I.keysIn=Ti,I.map=Rd,I.mapKeys=cS,I.mapValues=dS,I.matches=a1,I.matchesProperty=o1,I.memoize=Ad,I.merge=fS,I.mergeWith=kg,I.method=s1,I.methodOf=l1,I.mixin=Yf,I.negate=Od,I.nthArg=c1,I.omit=pS,I.omitBy=hS,I.once=ux,I.orderBy=Yw,I.over=d1,I.overArgs=cx,I.overEvery=f1,I.overSome=p1,I.partial=zf,I.partialRight=hg,I.partition=Kw,I.pick=gS,I.pickBy=_g,I.property=Og,I.propertyOf=h1,I.pull=Y0,I.pullAll=rg,I.pullAllBy=K0,I.pullAllWith=J0,I.pullAt=Q0,I.range=g1,I.rangeRight=m1,I.rearg=dx,I.reject=Xw,I.remove=X0,I.rest=fx,I.reverse=Bf,I.sampleSize=ex,I.set=vS,I.setWith=bS,I.shuffle=tx,I.slice=q0,I.sortBy=ix,I.sortedUniq=ow,I.sortedUniqBy=sw,I.split=US,I.spread=px,I.tail=lw,I.take=uw,I.takeRight=cw,I.takeRightWhile=dw,I.takeWhile=fw,I.tap=Tw,I.throttle=hx,I.thru=Td,I.toArray=yg,I.toPairs=Eg,I.toPairsIn=Cg,I.toPath=x1,I.toPlainObject=xg,I.transform=yS,I.unary=gx,I.union=pw,I.unionBy=hw,I.unionWith=gw,I.uniq=mw,I.uniqBy=vw,I.uniqWith=bw,I.unset=wS,I.unzip=Nf,I.unzipWith=ig,I.update=xS,I.updateWith=SS,I.values=qu,I.valuesIn=kS,I.without=yw,I.words=Ig,I.wrap=mx,I.xor=ww,I.xorBy=xw,I.xorWith=Sw,I.zip=kw,I.zipObject=_w,I.zipObjectDeep=Ew,I.zipWith=Cw,I.entries=Eg,I.entriesIn=Cg,I.extend=Sg,I.extendWith=Pd,Yf(I,I),I.add=k1,I.attempt=Ag,I.camelCase=TS,I.capitalize=Tg,I.ceil=_1,I.clamp=_S,I.clone=bx,I.cloneDeep=wx,I.cloneDeepWith=xx,I.cloneWith=yx,I.conformsTo=Sx,I.deburr=Rg,I.defaultTo=n1,I.divide=E1,I.endsWith=RS,I.eq=ro,I.escape=IS,I.escapeRegExp=AS,I.every=Bw,I.find=jw,I.findIndex=qh,I.findKey=Xx,I.findLast=zw,I.findLastIndex=eg,I.findLastKey=qx,I.floor=C1,I.forEach=og,I.forEachRight=sg,I.forIn=eS,I.forInRight=tS,I.forOwn=nS,I.forOwnRight=rS,I.get=Wf,I.gt=kx,I.gte=_x,I.has=oS,I.hasIn=Hf,I.head=ng,I.identity=Ri,I.includes=$w,I.indexOf=z0,I.inRange=ES,I.invoke=uS,I.isArguments=yu,I.isArray=Et,I.isArrayBuffer=Ex,I.isArrayLike=Ci,I.isArrayLikeObject=Yn,I.isBoolean=Cx,I.isBuffer=_l,I.isDate=Tx,I.isElement=Rx,I.isEmpty=Ix,I.isEqual=Ax,I.isEqualWith=Ox,I.isError=Uf,I.isFinite=Mx,I.isFunction=Rs,I.isInteger=gg,I.isLength=Md,I.isMap=mg,I.isMatch=Fx,I.isMatchWith=Px,I.isNaN=Dx,I.isNative=Lx,I.isNil=Nx,I.isNull=Bx,I.isNumber=vg,I.isObject=An,I.isObjectLike=Nn,I.isPlainObject=Nc,I.isRegExp=Vf,I.isSafeInteger=jx,I.isSet=bg,I.isString=Fd,I.isSymbol=ea,I.isTypedArray=Xu,I.isUndefined=zx,I.isWeakMap=Ux,I.isWeakSet=Vx,I.join=$0,I.kebabCase=OS,I.last=Ea,I.lastIndexOf=G0,I.lowerCase=MS,I.lowerFirst=FS,I.lt=Wx,I.lte=Hx,I.max=T1,I.maxBy=R1,I.mean=I1,I.meanBy=A1,I.min=O1,I.minBy=M1,I.stubArray=Jf,I.stubFalse=Qf,I.stubObject=v1,I.stubString=b1,I.stubTrue=y1,I.multiply=F1,I.nth=Z0,I.noConflict=u1,I.noop=Kf,I.now=Id,I.pad=PS,I.padEnd=DS,I.padStart=LS,I.parseInt=BS,I.random=CS,I.reduce=Jw,I.reduceRight=Qw,I.repeat=NS,I.replace=jS,I.result=mS,I.round=P1,I.runInContext=Y,I.sample=qw,I.size=nx,I.snakeCase=zS,I.some=rx,I.sortedIndex=ew,I.sortedIndexBy=tw,I.sortedIndexOf=nw,I.sortedLastIndex=rw,I.sortedLastIndexBy=iw,I.sortedLastIndexOf=aw,I.startCase=VS,I.startsWith=WS,I.subtract=D1,I.sum=L1,I.sumBy=B1,I.template=HS,I.times=w1,I.toFinite=Is,I.toInteger=Tt,I.toLength=wg,I.toLower=$S,I.toNumber=Ca,I.toSafeInteger=$x,I.toString=an,I.toUpper=GS,I.trim=ZS,I.trimEnd=YS,I.trimStart=KS,I.truncate=JS,I.unescape=QS,I.uniqueId=S1,I.upperCase=XS,I.upperFirst=$f,I.each=og,I.eachRight=sg,I.first=ng,Yf(I,function(){var t={};return ki(I,function(i,u){Ht.call(I.prototype,u)||(t[u]=i)}),t}(),{chain:!1}),I.VERSION=a,Wn(["bind","bindKey","curry","curryRight","partial","partialRight"],function(t){I[t].placeholder=I}),Wn(["drop","take"],function(t,i){St.prototype[t]=function(u){u=u===n?1:mn(Tt(u),0);var m=this.__filtered__&&!i?new St(this):this.clone();return m.__filtered__?m.__takeCount__=vn(u,m.__takeCount__):m.__views__.push({size:vn(u,ce),type:t+(m.__dir__<0?"Right":"")}),m},St.prototype[t+"Right"]=function(u){return this.reverse()[t](u).reverse()}}),Wn(["filter","map","takeWhile"],function(t,i){var u=i+1,m=u==Be||u==He;St.prototype[t]=function(C){var O=this.clone();return O.__iteratees__.push({iteratee:st(C,3),type:u}),O.__filtered__=O.__filtered__||m,O}}),Wn(["head","last"],function(t,i){var u="take"+(i?"Right":"");St.prototype[t]=function(){return this[u](1).value()[0]}}),Wn(["initial","tail"],function(t,i){var u="drop"+(i?"":"Right");St.prototype[t]=function(){return this.__filtered__?new St(this):this[u](1)}}),St.prototype.compact=function(){return this.filter(Ri)},St.prototype.find=function(t){return this.filter(t).head()},St.prototype.findLast=function(t){return this.reverse().find(t)},St.prototype.invokeMap=bt(function(t,i){return typeof t=="function"?new St(this):this.map(function(u){return Vr(u,t,i)})}),St.prototype.reject=function(t){return this.filter(Od(st(t)))},St.prototype.slice=function(t,i){t=Tt(t);var u=this;return u.__filtered__&&(t>0||i<0)?new St(u):(t<0?u=u.takeRight(-t):t&&(u=u.drop(t)),i!==n&&(i=Tt(i),u=i<0?u.dropRight(-i):u.take(i-t)),u)},St.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},St.prototype.toArray=function(){return this.take(ce)},ki(St.prototype,function(t,i){var u=/^(?:filter|find|map|reject)|While$/.test(i),m=/^(?:head|last)$/.test(i),C=I[m?"take"+(i=="last"?"Right":""):i],O=m||/^find/.test(i);C&&(I.prototype[i]=function(){var j=this.__wrapped__,$=m?[1]:arguments,J=j instanceof St,de=$[0],fe=J||Et(j),me=function(Nt){var Wt=C.apply(I,Er([Nt],$));return m&&Le?Wt[0]:Wt};fe&&u&&typeof de=="function"&&de.length!=1&&(J=fe=!1);var Le=this.__chain__,Xe=!!this.__actions__.length,lt=O&&!Le,Ot=J&&!Xe;if(!O&&fe){j=Ot?j:new St(this);var ut=t.apply(j,$);return ut.__actions__.push({func:Td,args:[me],thisArg:n}),new sr(ut,Le)}return lt&&Ot?t.apply(this,$):(ut=this.thru(me),lt?m?ut.value()[0]:ut.value():ut)})}),Wn(["pop","push","shift","sort","splice","unshift"],function(t){var i=Ua[t],u=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",m=/^(?:pop|shift)$/.test(t);I.prototype[t]=function(){var C=arguments;if(m&&!this.__chain__){var O=this.value();return i.apply(Et(O)?O:[],C)}return this[u](function(j){return i.apply(Et(j)?j:[],C)})}}),ki(St.prototype,function(t,i){var u=I[i];if(u){var m=u.name+"";Ht.call(ya,m)||(ya[m]=[]),ya[m].push({name:i,func:u})}}),ya[g(n,G).name]=[{name:"wrapper",func:n}],St.prototype.clone=nl,St.prototype.reverse=Mo,St.prototype.value=ls,I.prototype.at=Rw,I.prototype.chain=Iw,I.prototype.commit=Aw,I.prototype.next=Ow,I.prototype.plant=Fw,I.prototype.reverse=Pw,I.prototype.toJSON=I.prototype.valueOf=I.prototype.value=Dw,I.prototype.first=I.prototype.head,Hi&&(I.prototype[Hi]=Mw),I},Ln=Ou();Ui?((Ui.exports=Ln)._=Ln,go._=Ln):En._=Ln}).call(qn)}(rd,rd.exports);var Oa=rd.exports;const $o=Symbol.for("@ts-pattern/matcher"),wv=Symbol.for("@ts-pattern/isVariadic"),id="@ts-pattern/anonymous-select-key",Hd=r=>!!(r&&typeof r=="object"),ad=r=>r&&!!r[$o],lo=(r,e,n)=>{if(ad(r)){const a=r[$o](),{matched:o,selections:d}=a.match(e);return o&&d&&Object.keys(d).forEach(v=>n(v,d[v])),o}if(Hd(r)){if(!Hd(e))return!1;if(Array.isArray(r)){if(!Array.isArray(e))return!1;let a=[],o=[],d=[];for(const v of r.keys()){const x=r[v];ad(x)&&x[wv]?d.push(x):d.length?o.push(x):a.push(x)}if(d.length){if(d.length>1)throw new Error("Pattern error: Using `...P.array(...)` several times in a single pattern is not allowed.");if(e.length<a.length+o.length)return!1;const v=e.slice(0,a.length),x=o.length===0?[]:e.slice(-o.length),w=e.slice(a.length,o.length===0?1/0:-o.length);return a.every((E,B)=>lo(E,v[B],n))&&o.every((E,B)=>lo(E,x[B],n))&&(d.length===0||lo(d[0],w,n))}return r.length===e.length&&r.every((v,x)=>lo(v,e[x],n))}return Reflect.ownKeys(r).every(a=>{const o=r[a];return(a in e||ad(d=o)&&d[$o]().matcherType==="optional")&&lo(o,e[a],n);var d})}return Object.is(e,r)},Ls=r=>{var e,n,a;return Hd(r)?ad(r)?(e=(n=(a=r[$o]()).getSelectionKeys)==null?void 0:n.call(a))!=null?e:[]:Array.isArray(r)?mc(r,Ls):mc(Object.values(r),Ls):[]},mc=(r,e)=>r.reduce((n,a)=>n.concat(e(a)),[]);function ra(r){return Object.assign(r,{optional:()=>xv(r),and:e=>xn(r,e),or:e=>Sv(r,e),select:e=>e===void 0?Tp(r):Tp(e,r)})}function xv(r){return ra({[$o]:()=>({match:e=>{let n={};const a=(o,d)=>{n[o]=d};return e===void 0?(Ls(r).forEach(o=>a(o,void 0)),{matched:!0,selections:n}):{matched:lo(r,e,a),selections:n}},getSelectionKeys:()=>Ls(r),matcherType:"optional"})})}function xn(...r){return ra({[$o]:()=>({match:e=>{let n={};const a=(o,d)=>{n[o]=d};return{matched:r.every(o=>lo(o,e,a)),selections:n}},getSelectionKeys:()=>mc(r,Ls),matcherType:"and"})})}function Sv(...r){return ra({[$o]:()=>({match:e=>{let n={};const a=(o,d)=>{n[o]=d};return mc(r,Ls).forEach(o=>a(o,void 0)),{matched:r.some(o=>lo(o,e,a)),selections:n}},getSelectionKeys:()=>mc(r,Ls),matcherType:"or"})})}function Qt(r){return{[$o]:()=>({match:e=>({matched:!!r(e)})})}}function Tp(...r){const e=typeof r[0]=="string"?r[0]:void 0,n=r.length===2?r[1]:typeof r[0]=="string"?void 0:r[0];return ra({[$o]:()=>({match:a=>{let o={[e??id]:a};return{matched:n===void 0||lo(n,a,(d,v)=>{o[d]=v}),selections:o}},getSelectionKeys:()=>[e??id].concat(n===void 0?[]:Ls(n))})})}function uo(r){return typeof r=="number"}function Bs(r){return typeof r=="string"}function Ns(r){return typeof r=="bigint"}ra(Qt(function(r){return!0}));const js=r=>Object.assign(ra(r),{startsWith:e=>{return js(xn(r,(n=e,Qt(a=>Bs(a)&&a.startsWith(n)))));var n},endsWith:e=>{return js(xn(r,(n=e,Qt(a=>Bs(a)&&a.endsWith(n)))));var n},minLength:e=>js(xn(r,(n=>Qt(a=>Bs(a)&&a.length>=n))(e))),length:e=>js(xn(r,(n=>Qt(a=>Bs(a)&&a.length===n))(e))),maxLength:e=>js(xn(r,(n=>Qt(a=>Bs(a)&&a.length<=n))(e))),includes:e=>{return js(xn(r,(n=e,Qt(a=>Bs(a)&&a.includes(n)))));var n},regex:e=>{return js(xn(r,(n=e,Qt(a=>Bs(a)&&!!a.match(n)))));var n}});js(Qt(Bs));const co=r=>Object.assign(ra(r),{between:(e,n)=>co(xn(r,((a,o)=>Qt(d=>uo(d)&&a<=d&&o>=d))(e,n))),lt:e=>co(xn(r,(n=>Qt(a=>uo(a)&&a<n))(e))),gt:e=>co(xn(r,(n=>Qt(a=>uo(a)&&a>n))(e))),lte:e=>co(xn(r,(n=>Qt(a=>uo(a)&&a<=n))(e))),gte:e=>co(xn(r,(n=>Qt(a=>uo(a)&&a>=n))(e))),int:()=>co(xn(r,Qt(e=>uo(e)&&Number.isInteger(e)))),finite:()=>co(xn(r,Qt(e=>uo(e)&&Number.isFinite(e)))),positive:()=>co(xn(r,Qt(e=>uo(e)&&e>0))),negative:()=>co(xn(r,Qt(e=>uo(e)&&e<0)))});co(Qt(uo));const zs=r=>Object.assign(ra(r),{between:(e,n)=>zs(xn(r,((a,o)=>Qt(d=>Ns(d)&&a<=d&&o>=d))(e,n))),lt:e=>zs(xn(r,(n=>Qt(a=>Ns(a)&&a<n))(e))),gt:e=>zs(xn(r,(n=>Qt(a=>Ns(a)&&a>n))(e))),lte:e=>zs(xn(r,(n=>Qt(a=>Ns(a)&&a<=n))(e))),gte:e=>zs(xn(r,(n=>Qt(a=>Ns(a)&&a>=n))(e))),positive:()=>zs(xn(r,Qt(e=>Ns(e)&&e>0))),negative:()=>zs(xn(r,Qt(e=>Ns(e)&&e<0)))});zs(Qt(Ns)),ra(Qt(function(r){return typeof r=="boolean"})),ra(Qt(function(r){return typeof r=="symbol"})),ra(Qt(function(r){return r==null})),ra(Qt(function(r){return r!=null}));class kv extends Error{constructor(e){let n;try{n=JSON.stringify(e)}catch{n=e}super(`Pattern matching error: no pattern matches value ${n}`),this.input=void 0,this.input=e}}const $d={matched:!1,value:void 0};function _v(r){return new od(r,$d)}class od{constructor(e,n){this.input=void 0,this.state=void 0,this.input=e,this.state=n}with(...e){if(this.state.matched)return this;const n=e[e.length-1],a=[e[0]];let o;e.length===3&&typeof e[1]=="function"?o=e[1]:e.length>2&&a.push(...e.slice(1,e.length-1));let d=!1,v={};const x=(E,B)=>{d=!0,v[E]=B},w=!a.some(E=>lo(E,this.input,x))||o&&!o(this.input)?$d:{matched:!0,value:n(d?id in v?v[id]:v:this.input,this.input)};return new od(this.input,w)}when(e,n){if(this.state.matched)return this;const a=!!e(this.input);return new od(this.input,a?{matched:!0,value:n(this.input,this.input)}:$d)}otherwise(e){return this.state.matched?this.state.value:e(this.input)}exhaustive(){if(this.state.matched)return this.state.value;throw new kv(this.input)}run(){return this.exhaustive()}returnType(){return this}}const Ef=class{constructor(e,n){jt(this,"sexpVariables");jt(this,"questionKeyToCalculationKeys");jt(this,"response");jt(this,"results",{});this.sexpVariables=e,this.questionKeyToCalculationKeys=Ev(e),this.response=n,Object.keys(e).forEach(a=>{this.results[a]=this.calculate(this.sexpVariables[a].calculation)})}handleValueChanged(e){var n;(n=this.questionKeyToCalculationKeys[e])==null||n.forEach(a=>{this.results[a]=this.calculate(this.sexpVariables[a].calculation)})}calculate(e){return e.op==="string_value"?this.stringValue(e.key):this.calculateNumber(e)}calculateNumber(e){return _v(e).with({op:"number"},({value:n})=>n).with({op:"number_value"},({key:n})=>this.response.numberValue(n)).with({op:"sum"},({values:n})=>this.reduce(n,"sum")).with({op:"subtract"},({values:n})=>this.reduce(n,"subtract")).with({op:"multiply"},({values:n})=>this.reduce(n,"multiply")).with({op:"divide"},({values:n})=>this.reduce(n,"divide")).with({op:"round"},({value:n,digits:a})=>this.round(n,a)).exhaustive()}stringValue(e){const n=this.response.values[e];return(n==null?void 0:n.toString())??null}reduce(e,n){const a=e.map(o=>this.calculateNumber(o));return a.some(o=>o===null)?null:a.reduce(Ef.numberReducers[n])}round(e,n){const a=this.calculateNumber(e);return a===null?null:Number(a.toFixed(n))}};let sd=Ef;jt(sd,"numberReducers",{sum:(e,n)=>e+n,multiply:(e,n)=>e*n,subtract:(e,n)=>e-n,divide:(e,n)=>e/n});function Ev(r){const e={};for(const[n,a]of Object.entries(r))Gd(a.calculation).forEach(d=>{e[d]??(e[d]=new Set),e[d].add(n)});return e}function Gd(r){switch(r.op){case"number_value":case"string_value":return[r.key];case"sum":case"multiply":case"divide":case"subtract":return r.values.flatMap(e=>Gd(e));case"round":return Gd(r.value);case"number":return[]}}function Cv(r,e,n){if(arguments.length<3)throw new TypeError("3 argument required, but only "+arguments.length+" present");var a=new Date(r,e,n);return a.getFullYear()===r&&a.getMonth()===e&&a.getDate()===n}const Rp=["requires_answer","minimum_checked_required","answer_group_minimum"];function Ip(r){switch(r.type){case"requires_answer":return new Ap(r);case"valid_integer":return new Fp(r);case"valid_float":return new Pp(r);case"valid_date":return new Mp(r);case"minimum":return new Dp(r);case"maximum":return new Lp(r);case"minimum_date":return new Bp(r);case"maximum_date":return new Np(r);case"minimum_checked_required":return new jp(r);case"maximum_checked_allowed":return new zp(r);case"answer_group_minimum":return new Up(r);case"answer_group_maximum":return new Vp(r);case"regexp":return new Wp(r)}}class hi{constructor(e){jt(this,"config");this.config=e}}class Ap extends hi{validate(e){const n=e.getValidationFieldState(this.config.fieldKey);Tu(n.value)||this.ignoreDueToDependsOn(e)||n.addError({type:this.config.type,message:{t:"requires_answer"}})}ignoreDueToDependsOn(e){return!this.config.dependsOnQuestions&&!this.config.dependsOnOptions?!1:!this.dependsOnQuestionAnswered(e)&&!this.dependsOnOptionSelected(e)}dependsOnQuestionAnswered(e){return this.config.dependsOnQuestions===void 0?!1:this.config.dependsOnQuestions.some(n=>Tu(e.getValidationFieldState(n).value))}dependsOnOptionSelected(e){return this.config.dependsOnOptions===void 0?!1:Object.entries(this.config.dependsOnOptions).some(([n,a])=>{const o=e.getValidationFieldState(n).value;if(Tu(o)){if(typeof o=="string")return a.some(d=>d===o);if(o instanceof Set)return a.some(d=>o.has(d));throw new Error("unknown question type for dependsOnOptions: this.config.fieldKey")}else return!1})}}function Tu(r){if(r==null)return!1;if(typeof r=="string")return!!r;if(typeof r=="number")return!0;if(r instanceof Map)return ud(r);if("size"in r)return r.size>0;if("length"in r)return r.length>0;throw`Unexpected value type in validation ${r}`}function ld(r){return r===void 0||r===null||r===""?!1:typeof r=="string"}function Op(r){return r===void 0||r===null?!1:typeof r=="number"}function ud(r){if(r===void 0||r===null)return!1;for(const[e,n]of r){if(typeof e!="string"||typeof n!="string")return!1;if(ld(n))return!0}return!1}const Tv=/(\s*-?[1-9][0-9]+\s*|\s*-?[0-9]\s*)/;class Mp extends hi{validate(e){const n=e.getValidationFieldState(this.config.fieldKey);if(!ud(n.value))return;if(this.config.requiredParts.some(o=>!n.value.get(o))){n.addError({type:this.config.type,message:{t:`valid_date.${this.config.subtype}`}});return}const a=Zd(n.value);(!a||!Cv(a.year,a.month,a.day)||a.year<1900||a.year>2100||a.hour>23||a.minute>59)&&n.addError({type:this.config.type,message:{t:`valid_date.${this.config.subtype}`}})}}function Zd(r){var e=function(n,a){const o=r.get(n);return o===void 0||o==""?a:parseInt(o,10)};return[...r.values()].some(n=>n&&!/^\d*$/.test(n))?null:{year:e("year",2e3),month:e("month",1)-1,day:e("day",1),hour:e("hour",0),minute:e("minute",0)}}class Fp extends hi{validate(e){const n=e.getValidationFieldState(this.config.fieldKey);if(!ld(n.value))return;const a=Tv.exec(n.value);(a===null||a[0]!==n.value)&&n.addError({type:this.config.type,message:{t:"valid_integer"}})}}class Pp extends hi{validate(e){const n=e.getValidationFieldState(this.config.fieldKey);if(!ld(n.value))return;const a=parseFloat(n.value);!isNaN(a)&&isFinite(a)||n.addError({type:this.config.type,message:{t:"valid_float"}})}}class Dp extends hi{validate(e){const n=e.getValidationFieldState(this.config.fieldKey);Op(n.value)&&parseFloat(n.value)<this.config.value&&n.addError({type:this.config.type,message:{t:"minimum",value:this.config.value.toString()}})}}class Lp extends hi{validate(e){const n=e.getValidationFieldState(this.config.fieldKey);Op(n.value)&&parseFloat(n.value)>this.config.value&&n.addError({type:this.config.type,message:{t:"maximum",value:this.config.value.toString()}})}}class Bp extends hi{validate(e){const n=e.getValidationFieldState(this.config.fieldKey);if(!ud(n.value))return;const a=Zd(n.value);a&&new Date(a.year,a.month,a.hour)<new Date(this.config.value)&&n.addError({type:this.config.type,message:{t:"minimum_date",friendly_date:this.config.value}})}}class Np extends hi{validate(e){const n=e.getValidationFieldState(this.config.fieldKey);if(!ud(n.value))return;const a=Zd(n.value);a&&new Date(a.year,a.month,a.hour)>new Date(this.config.value)&&n.addError({type:this.config.type,message:{t:"maximum_date",friendly_date:this.config.value}})}}class jp extends hi{validate(e){const n=e.getValidationFieldState(this.config.fieldKey);(!n.value||n.value.size<this.config.minimumCheckedValue)&&n.addError({type:this.config.type,message:{t:"minimum_checked_required",count:this.config.minimumCheckedValue}})}}class zp extends hi{validate(e){const n=e.getValidationFieldState(this.config.fieldKey);Tu(n.value)&&n.value.size>this.config.maximumCheckedValue&&n.addError({type:this.config.type,message:{t:"maximum_checked_allowed",count:this.config.maximumCheckedValue}})}}class Up extends hi{validate(e){const n=this.config.fieldKeys.map(a=>e.getValidationFieldState(a));n.filter(a=>Tu(a.value)).length>=this.config.value||n.forEach(a=>{a.addError({type:this.config.type,message:{t:"answer_group_minimum",value:this.config.value}})})}}class Vp extends hi{validate(e){const n=this.config.fieldKeys.map(a=>e.getValidationFieldState(a));n.filter(a=>Tu(a.value)).length<=this.config.value||n.forEach(a=>{a.addError({type:this.config.type,message:{t:"answer_group_maximum",value:this.config.value}})})}}class Wp extends hi{validate(e){const n=e.getValidationFieldState(this.config.fieldKey);if(!ld(n.value))return;const a=this.config.matcher.replace("\\A","^").replace("\\Z","$"),d=new RegExp(a).exec(n.value);(d===null||d[0]!==n.value)&&n.addError({type:this.config.type,message:this.config.explanation||{t:"regexp",matcher:this.config.matcher}})}}const Hp=er.coerce.number(),$p=er.coerce.string(),Gp=er.preprocess(r=>r instanceof Array?new Set(r):r,er.set(er.string())),Zp=er.preprocess(r=>!(r instanceof Map)&&r instanceof Object?new Map(Object.entries(r)):r,er.map(Ep,er.string())),Yp=er.record(er.boolean()),Kp=er.preprocess(r=>!(r instanceof Map)&&r instanceof Object?new Map(Object.entries(r)):r,er.map(er.string(),er.string()));class Yd{constructor(e,n){jt(this,"questionnaire");jt(this,"values");jt(this,"originalValues");jt(this,"beenActives");jt(this,"errors");jt(this,"visibility");jt(this,"changeHandlers");jt(this,"flags");jt(this,"textvars");jt(this,"activeQuestionKey");jt(this,"calculations");this.questionnaire=e,this.values=n.value,this.originalValues={...n.value},this.beenActives=new Set,this.errors=new Map,this.visibility=new Map,this.changeHandlers=[],this.flags=n.flags,this.textvars=this.initTextvars(n.textvars),this.activeQuestionKey=null,this.validate(),this.calculateVisibility(),this.calculations=new sd(e.sexpVariables,this)}cleanValues(){const e=Object.keys(this.values).filter(n=>this.values[n]&&this.isVisible(n)&&!this.isDisabled(n));return Oa.pick(this.values,e)}onChange(e){this.changeHandlers.push(e)}offChange(e){Oa.pull(this.changeHandlers,e)}getFieldState(e){const n=this.errors.get(e)||[];return{key:e,value:this.values[e],showErrors:this.beenActives.has(e)&&!this.isDisabled(e)&&n.length>0,valid:n.length===0,errors:n,hidden:!this.isVisible(e),disabled:this.isDisabled(e),isActiveQuestion:this.activeQuestionKey===e,setAsActiveQuestion:()=>this.setActiveQuestion(e),setValue:a=>this.setValue(e,a)}}getValidationFieldState(e){return{value:this.values[e],addError:n=>this.addError(e,n)}}setTextvar(e,n){n?this.textvars.set(e,n):this.textvars.set(e,this.questionnaire.textvars.find(a=>a.key===e).default)}initTextvars(e){const n=new Map;for(const a of this.questionnaire.textvars)n.set(a.key,e.get(a.key)??a.default);for(const a of Object.values(this.questionnaire.questions)){const o=this.values[a.key];typeof o=="string"&&"setsTextvar"in a&&a.setsTextvar&&n.set(a.setsTextvar,o)}return n}setValue(e,n){const a=this.questionnaire.getField(e);this.values[e]=n,(n===null||typeof n=="string")&&"setsTextvar"in a&&a.setsTextvar&&this.setTextvar(a.setsTextvar,n),this.validate(),this.calculateVisibility(),this.calculations.handleValueChanged(e),this.changeHandlers.forEach(o=>o(this,"valueChanged"))}setActiveQuestion(e){this.activeQuestionKey!==e&&(this.activeQuestionKey&&this.touchField(this.activeQuestionKey),this.activeQuestionKey=e,this.changeHandlers.forEach(n=>n(this)))}addError(e,n){const a=this.errors.get(e)||[];a.push(n),this.errors.set(e,a)}valueHasChanged(){for(const e in this.questionnaire.questions){const n=Jp(this.values[e]),a=Jp(this.originalValues[e]);if(!Oa.isEqual(n,a))return!0}return!1}touchAllFields(){Object.values(this.questionnaire.questions).forEach(e=>{this.touchField(e.key)})}touchPanelFields(e){e.questionKeys.forEach(n=>{this.touchField(n)})}touchField(e){if(this.beenActives.has(e))return;this.questionnaire.getQuestionsInSameGroup(e).forEach(a=>{this.beenActives.add(a.key),this.values[a.key]===void 0&&this.setValue(a.key,null)})}firstNotValidQuestionInPanel(e){return e.questionKeys.find(n=>{if(!this.isVisible(n)||this.isDisabled(n))return!1;if((this.errors.get(n)||[]).length>0)return!0})||null}firstNotValidQuestion(){const e=this.questionnaire.panels.find(n=>this.firstNotValidQuestionInPanel(n));return e==null?null:this.firstNotValidQuestionInPanel(e)}validate(){this.errors=new Map,this.questionnaire.validations.forEach(e=>{const n=Ip(e);n&&n.validate(this)})}validEnoughForForcedSave(){for(const e of this.errors.values())if(!e.every(n=>Rp.includes(n.type)))return!1;return!0}calculateVisibility(){this.visibility=new Map,this.questionnaire.visibilityRules.forEach(e=>{e.runAgainst(this)})}markShown(e){const n=this.visibility.get(e)||{shown:!1,hidden:!1};n.shown=!0,this.visibility.set(e,n)}markHidden(e){const n=this.visibility.get(e)||{shown:!1,hidden:!1};n.hidden=!0,this.visibility.set(e,n)}isDisabled(e){const n=this.questionnaire.getField(e);if(!n.parentKey||!n.parentOptionKey)return!1;const a=this.questionnaire.getField(n.parentKey),o=this.values[a.key];return a.type==="radio"?o!==n.parentOptionKey:a.type==="check_box"?!o||!o.has(n.parentOptionKey):!1}isVisible(e){const n=this.visibility.get(e)||{shown:!1,hidden:!1},a=n.shown||!n.hidden,o=this.questionnaire.getField(e);return o.parentKey?a&&this.isVisible(o.parentKey):a}numberValue(e){if(!this.values[e])return null;switch(this.questionnaire.getField(e).type){case"integer":case"float":return this.values[e];case"select":case"radio":case"scale":return this.questionnaire.getOptionNumberValue(e,this.values[e])}return null}}function Jp(r){return r===""||r==null||r instanceof Set&&r.size===0||r instanceof Map&&r.size===0?null:r}const Qp=new Wd({key:"test",title:"test",language:"nl",panels:[],questions:{},visibilityRules:[],textvars:{},validations:[]}),Rv=new Yd(Qp,{value:{},flags:{},textvars:new Map}),Iv={displayMode:"paged",darkMode:!1,newLayout:!0},Av=(r,e)=>null,Kd=Me.createContext({questionnaire:Qp,response:Rv,setQuestionRef:Av,displayOptions:Iv});class Jd extends Error{}const Xp=(r,e)=>{let n=r.value;return Oa.isEmpty(n)&&!Oa.isEmpty(e.defaultAnswerValue)&&(n=e.defaultAnswerValue),{flags:Yp.parse(r.flags),textvars:Kp.parse(r.textvars),value:Ov(n,e)}},Ov=(r,e)=>{const n=er.record(er.string(),er.any()).parse(r);return Object.values(e.questions).reduce((a,o)=>{const d=n[o.key];if(d==null)return a;switch(o.type){case"integer":case"float":a[o.key]=Hp.parse(d);break;case"string":case"textarea":a[o.key]=$p.parse(d);break;case"select":case"scale":case"radio":a[o.key]=Mv(d,o);break;case"check_box":a[o.key]=Fv(d,o);break;case"date_parts":a[o.key]=Zp.parse(d);break}return a},{})},Mv=(r,e)=>{if(e.children.some(n=>n.key===r))return er.string().parse(r);throw new Jd(`wrong option key ${r} present for ${e.key}`)},Fv=(r,e)=>{const n=Gp.parse(r);return n.forEach(a=>{if(!e.children.some(o=>o.key===a))throw new Jd(`wrong option key ${a} present for ${e.key}`)}),n},qp=/\{\{((?<type>[a-z_]+)\.(?<textvar>[a-z0-9]+)|(?<textvaronly>[a-z0-9_]+))\}\}/g;class eh{constructor(e,n){jt(this,"response");jt(this,"questionnaire");jt(this,"stringToVariables");this.response=e,this.questionnaire=n,this.stringToVariables=new Map,this.interpolateCurlies=this.interpolateCurlies.bind(this)}interpolateCurlies(e){return this.stringToVariables.has(e)||this.stringToVariables.set(e,Array.from(e.matchAll(qp)).map(n=>n.groups.textvar)),this.stringToVariables.get(e).length==0?e:e.replace(qp,(...n)=>{var x;const{type:a,textvar:o,textvaronly:d}=n[n.length-1],v=a==="calculation"?(x=this.response.calculations.results[o])==null?void 0:x.toString():this.response.textvars.get(`${this.questionnaire.key}_${o||d}`);return Oa.escape(v||"")})}}var Qd={exports:{}},vc={};/**
38
+ `)+ye+`return __p
39
+ }`;var Mt=Gg(function(){return Dt(O,et+"return "+ye).apply(n,j)});if(Mt.source=ye,Qf(Mt))throw Mt;return Mt}function b1(t){return sn(t).toLowerCase()}function y1(t){return sn(t).toUpperCase()}function w1(t,i,u){if(t=sn(t),t&&(u||i===n))return Se(t);if(!t||!(i=wr(i)))return t;var v=Or(t),C=Or(i),O=Xt(v,C),j=qn(v,C)+1;return hi(v,O,j).join("")}function x1(t,i,u){if(t=sn(t),t&&(u||i===n))return t.slice(0,Nl(t)+1);if(!t||!(i=wr(i)))return t;var v=Or(t),C=qn(v,Or(i))+1;return hi(v,0,C).join("")}function S1(t,i,u){if(t=sn(t),t&&(u||i===n))return t.replace(on,"");if(!t||!(i=wr(i)))return t;var v=Or(t),C=Xt(v,Or(i));return hi(v,C).join("")}function k1(t,i){var u=Pt,v=Vt;if(Mn(i)){var C="separator"in i?i.separator:C;u="length"in i?Tt(i.length):u,v="omission"in i?wr(i.omission):v}t=sn(t);var O=t.length;if(Eo(t)){var j=Or(t);O=j.length}if(u>=O)return t;var $=u-To(v);if($<1)return v;var J=j?hi(j,0,$).join(""):t.slice(0,$);if(C===n)return J+v;if(j&&($+=J.length-$),Xf(C)){if(t.slice($).search(C)){var pe,he=J;for(C.global||(C=ba(C.source,sn(kt.exec(C))+"g")),C.lastIndex=0;pe=C.exec(he);)var ye=pe.index;J=J.slice(0,ye===n?$:ye)}}else if(t.indexOf(wr(C),$)!=$){var Le=J.lastIndexOf(C);Le>-1&&(J=J.slice(0,Le))}return J+v}function _1(t){return t=sn(t),t&&gr.test(t)?t.replace(Ln,Pu):t}var E1=N(function(t,i,u){return t+(u?" ":"")+i.toUpperCase()}),tp=M("toUpperCase");function $g(t,i,u){return t=sn(t),i=u?n:i,i===n?Rc(t)?Mc(t):So(t):t.match(i)||[]}var Gg=vt(function(t,i){try{return Rn(t,n,i)}catch(u){return Qf(u)?u:new st(u)}}),C1=Rs(function(t,i){return $n(i,function(u){u=$o(u),Zn(t,u,Kf(t[u],t))}),t});function T1(t){var i=t==null?0:t.length,u=lt();return t=i?tn(t,function(v){if(typeof v[1]!="function")throw new br(g);return[u(v[0]),v[1]]}):[],vt(function(v){for(var C=-1;++C<i;){var O=t[C];if(Rn(O[0],this,v))return Rn(O[1],this,v)}})}function R1(t){return Xl(ur(t,P))}function np(t){return function(){return t}}function I1(t,i){return t==null||t!==t?i:t}var A1=d(),O1=d(!0);function Mi(t){return t}function rp(t){return zo(typeof t=="function"?t:ur(t,P))}function M1(t){return na(ur(t,P))}function P1(t,i){return pi(t,ur(i,P))}var F1=vt(function(t,i){return function(u){return $r(u,t,i)}}),D1=vt(function(t,i){return function(u){return $r(t,u,i)}});function ip(t,i,u){var v=Sr(i),C=pl(i,v);u==null&&!(Mn(i)&&(C.length||!v.length))&&(u=i,i=t,t=this,C=pl(i,Sr(i)));var O=!(Mn(u)&&"chain"in u)||!!u.chain,j=As(t);return $n(C,function($){var J=i[$];t[$]=J,j&&(t.prototype[$]=function(){var pe=this.__chain__;if(O||pe){var he=t(this.__wrapped__),ye=he.__actions__=Kn(this.__actions__);return ye.push({func:J,args:arguments,thisArg:t}),he.__chain__=pe,he}return J.apply(t,Rr([this.value()],arguments))})}),t}function L1(){return Tn._===this&&(Tn._=pn),this}function ap(){}function B1(t){return t=Tt(t),vt(function(i){return io(i,t)})}var N1=B(tn),j1=B(xo),z1=B(ma);function Zg(t){return Wf(t)?h($o(t)):lu(t)}function U1(t){return function(i){return t==null?n:to(t,i)}}var V1=me(),W1=me(!0);function op(){return[]}function sp(){return!1}function H1(){return{}}function $1(){return""}function G1(){return!0}function Z1(t,i){if(t=Tt(t),t<1||t>De)return[];var u=ue,v=bn(t,ue);i=lt(i),t-=ue;for(var C=Q(v,i);++u<t;)i(u);return C}function Y1(t){return _t(t)?tn(t,$o):aa(t)?[t]:Kn(pg(sn(t)))}function K1(t){var i=++Du;return sn(t)+i}var J1=T(function(t,i){return t+i},0),Q1=at("ceil"),X1=T(function(t,i){return t/i},1),q1=at("floor");function ek(t){return t&&t.length?fl(t,Mi,fs):n}function tk(t,i){return t&&t.length?fl(t,lt(i,2),fs):n}function nk(t){return es(t,Mi)}function rk(t,i){return es(t,lt(i,2))}function ik(t){return t&&t.length?fl(t,Mi,fi):n}function ak(t,i){return t&&t.length?fl(t,lt(i,2),fi):n}var ok=T(function(t,i){return t*i},1),sk=at("round"),lk=T(function(t,i){return t-i},0);function uk(t){return t&&t.length?q(t,Mi):0}function ck(t,i){return t&&t.length?q(t,lt(i,2)):0}return I.after=Mx,I.ary=_g,I.assign=yS,I.assignIn=Ng,I.assignInWith=jd,I.assignWith=wS,I.at=xS,I.before=Eg,I.bind=Kf,I.bindAll=C1,I.bindKey=Cg,I.castArray=Hx,I.chain=xg,I.chunk=q0,I.compact=ew,I.concat=tw,I.cond=T1,I.conforms=R1,I.constant=np,I.countBy=ux,I.create=SS,I.curry=Tg,I.curryRight=Rg,I.debounce=Ig,I.defaults=kS,I.defaultsDeep=_S,I.defer=Px,I.delay=Fx,I.difference=nw,I.differenceBy=rw,I.differenceWith=iw,I.drop=aw,I.dropRight=ow,I.dropRightWhile=sw,I.dropWhile=lw,I.fill=uw,I.filter=dx,I.flatMap=hx,I.flatMapDeep=gx,I.flatMapDepth=mx,I.flatten=vg,I.flattenDeep=cw,I.flattenDepth=dw,I.flip=Dx,I.flow=A1,I.flowRight=O1,I.fromPairs=fw,I.functions=OS,I.functionsIn=MS,I.groupBy=vx,I.initial=hw,I.intersection=gw,I.intersectionBy=mw,I.intersectionWith=vw,I.invert=FS,I.invertBy=DS,I.invokeMap=yx,I.iteratee=rp,I.keyBy=wx,I.keys=Sr,I.keysIn=Oi,I.map=Pd,I.mapKeys=BS,I.mapValues=NS,I.matches=M1,I.matchesProperty=P1,I.memoize=Dd,I.merge=jS,I.mergeWith=jg,I.method=F1,I.methodOf=D1,I.mixin=ip,I.negate=Ld,I.nthArg=B1,I.omit=zS,I.omitBy=US,I.once=Lx,I.orderBy=xx,I.over=N1,I.overArgs=Bx,I.overEvery=j1,I.overSome=z1,I.partial=Jf,I.partialRight=Ag,I.partition=Sx,I.pick=VS,I.pickBy=zg,I.property=Zg,I.propertyOf=U1,I.pull=xw,I.pullAll=yg,I.pullAllBy=Sw,I.pullAllWith=kw,I.pullAt=_w,I.range=V1,I.rangeRight=W1,I.rearg=Nx,I.reject=Ex,I.remove=Ew,I.rest=jx,I.reverse=Zf,I.sampleSize=Tx,I.set=HS,I.setWith=$S,I.shuffle=Rx,I.slice=Cw,I.sortBy=Ox,I.sortedUniq=Pw,I.sortedUniqBy=Fw,I.split=h1,I.spread=zx,I.tail=Dw,I.take=Lw,I.takeRight=Bw,I.takeRightWhile=Nw,I.takeWhile=jw,I.tap=ex,I.throttle=Ux,I.thru=Md,I.toArray=Dg,I.toPairs=Ug,I.toPairsIn=Vg,I.toPath=Y1,I.toPlainObject=Bg,I.transform=GS,I.unary=Vx,I.union=zw,I.unionBy=Uw,I.unionWith=Vw,I.uniq=Ww,I.uniqBy=Hw,I.uniqWith=$w,I.unset=ZS,I.unzip=Yf,I.unzipWith=wg,I.update=YS,I.updateWith=KS,I.values=nc,I.valuesIn=JS,I.without=Gw,I.words=$g,I.wrap=Wx,I.xor=Zw,I.xorBy=Yw,I.xorWith=Kw,I.zip=Jw,I.zipObject=Qw,I.zipObjectDeep=Xw,I.zipWith=qw,I.entries=Ug,I.entriesIn=Vg,I.extend=Ng,I.extendWith=jd,ip(I,I),I.add=J1,I.attempt=Gg,I.camelCase=e1,I.capitalize=Wg,I.ceil=Q1,I.clamp=QS,I.clone=$x,I.cloneDeep=Zx,I.cloneDeepWith=Yx,I.cloneWith=Gx,I.conformsTo=Kx,I.deburr=Hg,I.defaultTo=I1,I.divide=X1,I.endsWith=t1,I.eq=so,I.escape=n1,I.escapeRegExp=r1,I.every=cx,I.find=fx,I.findIndex=gg,I.findKey=ES,I.findLast=px,I.findLastIndex=mg,I.findLastKey=CS,I.floor=q1,I.forEach=Sg,I.forEachRight=kg,I.forIn=TS,I.forInRight=RS,I.forOwn=IS,I.forOwnRight=AS,I.get=qf,I.gt=Jx,I.gte=Qx,I.has=PS,I.hasIn=ep,I.head=bg,I.identity=Mi,I.includes=bx,I.indexOf=pw,I.inRange=XS,I.invoke=LS,I.isArguments=wu,I.isArray=_t,I.isArrayBuffer=Xx,I.isArrayLike=Ai,I.isArrayLikeObject=Jn,I.isBoolean=qx,I.isBuffer=El,I.isDate=eS,I.isElement=tS,I.isEmpty=nS,I.isEqual=rS,I.isEqualWith=iS,I.isError=Qf,I.isFinite=aS,I.isFunction=As,I.isInteger=Og,I.isLength=Bd,I.isMap=Mg,I.isMatch=oS,I.isMatchWith=sS,I.isNaN=lS,I.isNative=uS,I.isNil=dS,I.isNull=cS,I.isNumber=Pg,I.isObject=Mn,I.isObjectLike=Un,I.isPlainObject=$c,I.isRegExp=Xf,I.isSafeInteger=fS,I.isSet=Fg,I.isString=Nd,I.isSymbol=aa,I.isTypedArray=tc,I.isUndefined=pS,I.isWeakMap=hS,I.isWeakSet=gS,I.join=bw,I.kebabCase=i1,I.last=Ia,I.lastIndexOf=yw,I.lowerCase=a1,I.lowerFirst=o1,I.lt=mS,I.lte=vS,I.max=ek,I.maxBy=tk,I.mean=nk,I.meanBy=rk,I.min=ik,I.minBy=ak,I.stubArray=op,I.stubFalse=sp,I.stubObject=H1,I.stubString=$1,I.stubTrue=G1,I.multiply=ok,I.nth=ww,I.noConflict=L1,I.noop=ap,I.now=Fd,I.pad=s1,I.padEnd=l1,I.padStart=u1,I.parseInt=c1,I.random=qS,I.reduce=kx,I.reduceRight=_x,I.repeat=d1,I.replace=f1,I.result=WS,I.round=sk,I.runInContext=Y,I.sample=Cx,I.size=Ix,I.snakeCase=p1,I.some=Ax,I.sortedIndex=Tw,I.sortedIndexBy=Rw,I.sortedIndexOf=Iw,I.sortedLastIndex=Aw,I.sortedLastIndexBy=Ow,I.sortedLastIndexOf=Mw,I.startCase=g1,I.startsWith=m1,I.subtract=lk,I.sum=uk,I.sumBy=ck,I.template=v1,I.times=Z1,I.toFinite=Os,I.toInteger=Tt,I.toLength=Lg,I.toLower=b1,I.toNumber=Aa,I.toSafeInteger=bS,I.toString=sn,I.toUpper=y1,I.trim=w1,I.trimEnd=x1,I.trimStart=S1,I.truncate=k1,I.unescape=_1,I.uniqueId=K1,I.upperCase=E1,I.upperFirst=tp,I.each=Sg,I.eachRight=kg,I.first=bg,ip(I,function(){var t={};return Ti(I,function(i,u){Zt.call(I.prototype,u)||(t[u]=i)}),t}(),{chain:!1}),I.VERSION=a,$n(["bind","bindKey","curry","curryRight","partial","partialRight"],function(t){I[t].placeholder=I}),$n(["drop","take"],function(t,i){St.prototype[t]=function(u){u=u===n?1:vn(Tt(u),0);var v=this.__filtered__&&!i?new St(this):this.clone();return v.__filtered__?v.__takeCount__=bn(u,v.__takeCount__):v.__views__.push({size:bn(u,ue),type:t+(v.__dir__<0?"Right":"")}),v},St.prototype[t+"Right"]=function(u){return this.reverse()[t](u).reverse()}}),$n(["filter","map","takeWhile"],function(t,i){var u=i+1,v=u==_e||u==Ze;St.prototype[t]=function(C){var O=this.clone();return O.__iteratees__.push({iteratee:lt(C,3),type:u}),O.__filtered__=O.__filtered__||v,O}}),$n(["head","last"],function(t,i){var u="take"+(i?"Right":"");St.prototype[t]=function(){return this[u](1).value()[0]}}),$n(["initial","tail"],function(t,i){var u="drop"+(i?"":"Right");St.prototype[t]=function(){return this.__filtered__?new St(this):this[u](1)}}),St.prototype.compact=function(){return this.filter(Mi)},St.prototype.find=function(t){return this.filter(t).head()},St.prototype.findLast=function(t){return this.reverse().find(t)},St.prototype.invokeMap=vt(function(t,i){return typeof t=="function"?new St(this):this.map(function(u){return $r(u,t,i)})}),St.prototype.reject=function(t){return this.filter(Ld(lt(t)))},St.prototype.slice=function(t,i){t=Tt(t);var u=this;return u.__filtered__&&(t>0||i<0)?new St(u):(t<0?u=u.takeRight(-t):t&&(u=u.drop(t)),i!==n&&(i=Tt(i),u=i<0?u.dropRight(-i):u.take(i-t)),u)},St.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},St.prototype.toArray=function(){return this.take(ue)},Ti(St.prototype,function(t,i){var u=/^(?:filter|find|map|reject)|While$/.test(i),v=/^(?:head|last)$/.test(i),C=I[v?"take"+(i=="last"?"Right":""):i],O=v||/^find/.test(i);C&&(I.prototype[i]=function(){var j=this.__wrapped__,$=v?[1]:arguments,J=j instanceof St,pe=$[0],he=J||_t(j),ye=function(jt){var Ht=C.apply(I,Rr([jt],$));return v&&Le?Ht[0]:Ht};he&&u&&typeof pe=="function"&&pe.length!=1&&(J=he=!1);var Le=this.__chain__,et=!!this.__actions__.length,ut=O&&!Le,Mt=J&&!et;if(!O&&he){j=Mt?j:new St(this);var ct=t.apply(j,$);return ct.__actions__.push({func:Md,args:[ye],thisArg:n}),new lr(ct,Le)}return ut&&Mt?t.apply(this,$):(ct=this.thru(ye),ut?v?ct.value()[0]:ct.value():ct)})}),$n(["pop","push","shift","sort","splice","unshift"],function(t){var i=$a[t],u=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",v=/^(?:pop|shift)$/.test(t);I.prototype[t]=function(){var C=arguments;if(v&&!this.__chain__){var O=this.value();return i.apply(_t(O)?O:[],C)}return this[u](function(j){return i.apply(_t(j)?j:[],C)})}}),Ti(St.prototype,function(t,i){var u=I[i];if(u){var v=u.name+"";Zt.call(ka,v)||(ka[v]=[]),ka[v].push({name:i,func:u})}}),ka[m(n,Z).name]=[{name:"wrapper",func:n}],St.prototype.clone=rl,St.prototype.reverse=Do,St.prototype.value=cs,I.prototype.at=tx,I.prototype.chain=nx,I.prototype.commit=rx,I.prototype.next=ix,I.prototype.plant=ox,I.prototype.reverse=sx,I.prototype.toJSON=I.prototype.valueOf=I.prototype.value=lx,I.prototype.first=I.prototype.head,Ki&&(I.prototype[Ki]=ax),I},jn=Fu();Gi?((Gi.exports=jn)._=jn,bo._=jn):Tn._=jn}).call(tr)}(ud,ud.exports);var Da=ud.exports;const vi=Symbol.for("@ts-pattern/matcher"),jp=Symbol.for("@ts-pattern/isVariadic"),cd="@ts-pattern/anonymous-select-key",ef=r=>!!(r&&typeof r=="object"),dd=r=>r&&!!r[vi],kr=(r,e,n)=>{if(dd(r)){const a=r[vi](),{matched:o,selections:c}=a.match(e);return o&&c&&Object.keys(c).forEach(g=>n(g,c[g])),o}if(ef(r)){if(!ef(e))return!1;if(Array.isArray(r)){if(!Array.isArray(e))return!1;let a=[],o=[],c=[];for(const g of r.keys()){const y=r[g];dd(y)&&y[jp]?c.push(y):c.length?o.push(y):a.push(y)}if(c.length){if(c.length>1)throw new Error("Pattern error: Using `...P.array(...)` several times in a single pattern is not allowed.");if(e.length<a.length+o.length)return!1;const g=e.slice(0,a.length),y=o.length===0?[]:e.slice(-o.length),w=e.slice(a.length,o.length===0?1/0:-o.length);return a.every((E,L)=>kr(E,g[L],n))&&o.every((E,L)=>kr(E,y[L],n))&&(c.length===0||kr(c[0],w,n))}return r.length===e.length&&r.every((g,y)=>kr(g,e[y],n))}return Reflect.ownKeys(r).every(a=>{const o=r[a];return(a in e||dd(c=o)&&c[vi]().matcherType==="optional")&&kr(o,e[a],n);var c})}return Object.is(e,r)},Pi=r=>{var e,n,a;return ef(r)?dd(r)?(e=(n=(a=r[vi]()).getSelectionKeys)==null?void 0:n.call(a))!=null?e:[]:Array.isArray(r)?wc(r,Pi):wc(Object.values(r),Pi):[]},wc=(r,e)=>r.reduce((n,a)=>n.concat(e(a)),[]);function jv(...r){if(r.length===1){const[e]=r;return n=>kr(e,n,()=>{})}if(r.length===2){const[e,n]=r;return kr(e,n,()=>{})}throw new Error(`isMatching wasn't given the right number of arguments: expected 1 or 2, received ${r.length}.`)}function _r(r){return Object.assign(r,{optional:()=>nf(r),and:e=>yn(r,e),or:e=>zp(r,e),select:e=>e===void 0?xc(r):xc(e,r)})}function tf(r){return Object.assign((e=>Object.assign(e,{[Symbol.iterator](){let n=0;const a=[{value:Object.assign(e,{[jp]:!0}),done:!1},{done:!0,value:void 0}];return{next:()=>{var o;return(o=a[n++])!=null?o:a.at(-1)}}}}))(r),{optional:()=>tf(nf(r)),select:e=>tf(e===void 0?xc(r):xc(e,r))})}function nf(r){return _r({[vi]:()=>({match:e=>{let n={};const a=(o,c)=>{n[o]=c};return e===void 0?(Pi(r).forEach(o=>a(o,void 0)),{matched:!0,selections:n}):{matched:kr(r,e,a),selections:n}},getSelectionKeys:()=>Pi(r),matcherType:"optional"})})}const zv=(r,e)=>{for(const n of r)if(!e(n))return!1;return!0},Uv=(r,e)=>{for(const[n,a]of r.entries())if(!e(a,n))return!1;return!0};function yn(...r){return _r({[vi]:()=>({match:e=>{let n={};const a=(o,c)=>{n[o]=c};return{matched:r.every(o=>kr(o,e,a)),selections:n}},getSelectionKeys:()=>wc(r,Pi),matcherType:"and"})})}function zp(...r){return _r({[vi]:()=>({match:e=>{let n={};const a=(o,c)=>{n[o]=c};return wc(r,Pi).forEach(o=>a(o,void 0)),{matched:r.some(o=>kr(o,e,a)),selections:n}},getSelectionKeys:()=>wc(r,Pi),matcherType:"or"})})}function $t(r){return{[vi]:()=>({match:e=>({matched:!!r(e)})})}}function xc(...r){const e=typeof r[0]=="string"?r[0]:void 0,n=r.length===2?r[1]:typeof r[0]=="string"?void 0:r[0];return _r({[vi]:()=>({match:a=>{let o={[e??cd]:a};return{matched:n===void 0||kr(n,a,(c,g)=>{o[c]=g}),selections:o}},getSelectionKeys:()=>[e??cd].concat(n===void 0?[]:Pi(n))})})}function po(r){return typeof r=="number"}function Ns(r){return typeof r=="string"}function js(r){return typeof r=="bigint"}const Up=_r($t(function(r){return!0})),Vv=Up,zs=r=>Object.assign(_r(r),{startsWith:e=>{return zs(yn(r,(n=e,$t(a=>Ns(a)&&a.startsWith(n)))));var n},endsWith:e=>{return zs(yn(r,(n=e,$t(a=>Ns(a)&&a.endsWith(n)))));var n},minLength:e=>zs(yn(r,(n=>$t(a=>Ns(a)&&a.length>=n))(e))),length:e=>zs(yn(r,(n=>$t(a=>Ns(a)&&a.length===n))(e))),maxLength:e=>zs(yn(r,(n=>$t(a=>Ns(a)&&a.length<=n))(e))),includes:e=>{return zs(yn(r,(n=e,$t(a=>Ns(a)&&a.includes(n)))));var n},regex:e=>{return zs(yn(r,(n=e,$t(a=>Ns(a)&&!!a.match(n)))));var n}}),Wv=zs($t(Ns)),ho=r=>Object.assign(_r(r),{between:(e,n)=>ho(yn(r,((a,o)=>$t(c=>po(c)&&a<=c&&o>=c))(e,n))),lt:e=>ho(yn(r,(n=>$t(a=>po(a)&&a<n))(e))),gt:e=>ho(yn(r,(n=>$t(a=>po(a)&&a>n))(e))),lte:e=>ho(yn(r,(n=>$t(a=>po(a)&&a<=n))(e))),gte:e=>ho(yn(r,(n=>$t(a=>po(a)&&a>=n))(e))),int:()=>ho(yn(r,$t(e=>po(e)&&Number.isInteger(e)))),finite:()=>ho(yn(r,$t(e=>po(e)&&Number.isFinite(e)))),positive:()=>ho(yn(r,$t(e=>po(e)&&e>0))),negative:()=>ho(yn(r,$t(e=>po(e)&&e<0)))}),Hv=ho($t(po)),Us=r=>Object.assign(_r(r),{between:(e,n)=>Us(yn(r,((a,o)=>$t(c=>js(c)&&a<=c&&o>=c))(e,n))),lt:e=>Us(yn(r,(n=>$t(a=>js(a)&&a<n))(e))),gt:e=>Us(yn(r,(n=>$t(a=>js(a)&&a>n))(e))),lte:e=>Us(yn(r,(n=>$t(a=>js(a)&&a<=n))(e))),gte:e=>Us(yn(r,(n=>$t(a=>js(a)&&a>=n))(e))),positive:()=>Us(yn(r,$t(e=>js(e)&&e>0))),negative:()=>Us(yn(r,$t(e=>js(e)&&e<0)))}),$v=Us($t(js)),Gv=_r($t(function(r){return typeof r=="boolean"})),Zv=_r($t(function(r){return typeof r=="symbol"})),Yv=_r($t(function(r){return r==null})),Kv=_r($t(function(r){return r!=null}));var fd={__proto__:null,matcher:vi,optional:nf,array:function(...r){return tf({[vi]:()=>({match:e=>{if(!Array.isArray(e))return{matched:!1};if(r.length===0)return{matched:!0};const n=r[0];let a={};if(e.length===0)return Pi(n).forEach(c=>{a[c]=[]}),{matched:!0,selections:a};const o=(c,g)=>{a[c]=(a[c]||[]).concat([g])};return{matched:e.every(c=>kr(n,c,o)),selections:a}},getSelectionKeys:()=>r.length===0?[]:Pi(r[0])})})},set:function(...r){return _r({[vi]:()=>({match:e=>{if(!(e instanceof Set))return{matched:!1};let n={};if(e.size===0)return{matched:!0,selections:n};if(r.length===0)return{matched:!0};const a=(c,g)=>{n[c]=(n[c]||[]).concat([g])},o=r[0];return{matched:zv(e,c=>kr(o,c,a)),selections:n}},getSelectionKeys:()=>r.length===0?[]:Pi(r[0])})})},map:function(...r){return _r({[vi]:()=>({match:e=>{if(!(e instanceof Map))return{matched:!1};let n={};if(e.size===0)return{matched:!0,selections:n};const a=(y,w)=>{n[y]=(n[y]||[]).concat([w])};if(r.length===0)return{matched:!0};var o;if(r.length===1)throw new Error(`\`P.map\` wasn't given enough arguments. Expected (key, value), received ${(o=r[0])==null?void 0:o.toString()}`);const[c,g]=r;return{matched:Uv(e,(y,w)=>{const E=kr(c,w,a),L=kr(g,y,a);return E&&L}),selections:n}},getSelectionKeys:()=>r.length===0?[]:[...Pi(r[0]),...Pi(r[1])]})})},intersection:yn,union:zp,not:function(r){return _r({[vi]:()=>({match:e=>({matched:!kr(r,e,()=>{})}),getSelectionKeys:()=>[],matcherType:"not"})})},when:$t,select:xc,any:Up,_:Vv,string:Wv,number:Hv,bigint:$v,boolean:Gv,symbol:Zv,nullish:Yv,nonNullable:Kv,instanceOf:function(r){return _r($t(function(e){return n=>n instanceof e}(r)))},shape:function(r){return _r($t(jv(r)))}};class Jv extends Error{constructor(e){let n;try{n=JSON.stringify(e)}catch{n=e}super(`Pattern matching error: no pattern matches value ${n}`),this.input=void 0,this.input=e}}const rf={matched:!1,value:void 0};function Sc(r){return new pd(r,rf)}class pd{constructor(e,n){this.input=void 0,this.state=void 0,this.input=e,this.state=n}with(...e){if(this.state.matched)return this;const n=e[e.length-1],a=[e[0]];let o;e.length===3&&typeof e[1]=="function"?o=e[1]:e.length>2&&a.push(...e.slice(1,e.length-1));let c=!1,g={};const y=(E,L)=>{c=!0,g[E]=L},w=!a.some(E=>kr(E,this.input,y))||o&&!o(this.input)?rf:{matched:!0,value:n(c?cd in g?g[cd]:g:this.input,this.input)};return new pd(this.input,w)}when(e,n){if(this.state.matched)return this;const a=!!e(this.input);return new pd(this.input,a?{matched:!0,value:n(this.input,this.input)}:rf)}otherwise(e){return this.state.matched?this.state.value:e(this.input)}exhaustive(e=Qv){return this.state.matched?this.state.value:e(this.input)}run(){return this.exhaustive()}returnType(){return this}narrow(){return this}}function Qv(r){throw new Jv(r)}const Df=class{constructor(e,n){Rt(this,"sexpVariables");Rt(this,"questionKeyToCalculationKeys");Rt(this,"response");Rt(this,"results",{});Rt(this,"calculateNumber",e=>Sc(e).with({op:"number"},({value:n})=>n).with({op:"number_value"},({key:n})=>this.response.numberValue(n)).with({op:"sum"},({values:n})=>this.reduce(n,"sum")).with({op:"subtract"},({values:n})=>this.reduce(n,"subtract")).with({op:"multiply"},({values:n})=>this.reduce(n,"multiply")).with({op:"divide"},({values:n})=>this.reduce(n,"divide")).with({op:"round"},({value:n,digits:a})=>this.round(n,a)).exhaustive());Rt(this,"calculateBoolean",e=>{if(!Xd.options.includes(e.op))throw new Error(`Unknown boolean operation: ${e.op}`);return Sc(e).with({op:fd.union(...Qd.options)},this.compare).with({op:fd.union(...Jd.options)},this.booleanReduce).exhaustive()});Rt(this,"compare",e=>{const n=this.calculateNumber(e.left),a=this.calculateNumber(e.right);return n===null||a===null?null:Sc(e.op).with("eq",()=>n===a).with("not_eq",()=>n!==a).with("gt",()=>n>a).with("gteq",()=>n>=a).with("lt",()=>n<a).with("lteq",()=>n<=a).exhaustive()});Rt(this,"booleanReduce",e=>{const n=e.values.map(this.calculateBoolean);return n.some(a=>a===null)?null:Sc(e.op).with("all",()=>n.every(a=>a===!0)).with("some",()=>n.some(a=>a===!0)).with("none",()=>n.every(a=>a===!1)).exhaustive()});this.sexpVariables=e,this.questionKeyToCalculationKeys=Xv(e),this.response=n,Object.keys(e).forEach(a=>{this.results[a]=this.calculate(this.sexpVariables[a].calculation)})}handleValueChanged(e){var n;(n=this.questionKeyToCalculationKeys[e])==null||n.forEach(a=>{this.results[a]=this.calculate(this.sexpVariables[a].calculation)})}calculate(e){return Sc(e).with({op:"string_value"},({key:n})=>this.stringValue(n)).with({op:fd.union("number","number_value","sum","subtract","multiply","divide","round")},this.calculateNumber).with({op:fd.union(...Xd.options)},this.calculateBoolean).exhaustive()}stringValue(e){const n=this.response.values[e];return(n==null?void 0:n.toString())??null}reduce(e,n){const a=e.map(o=>this.calculateNumber(o));return a.some(o=>o===null)?null:a.reduce(Df.numberReducers[n])}round(e,n){const a=this.calculateNumber(e);return a===null?null:Number(a.toFixed(n))}};let hd=Df;Rt(hd,"numberReducers",{sum:(e,n)=>e+n,multiply:(e,n)=>e*n,subtract:(e,n)=>e-n,divide:(e,n)=>e/n});function Xv(r){const e={};for(const[n,a]of Object.entries(r))Ru(a.calculation).forEach(c=>{e[c]??(e[c]=new Set),e[c].add(n)});return e}function Ru(r){switch(r.op){case"number_value":case"string_value":return[r.key];case"sum":case"multiply":case"divide":case"subtract":return r.values.flatMap(e=>Ru(e));case"round":return Ru(r.value);case"eq":case"not_eq":case"gt":case"gteq":case"lt":case"lteq":return[...Ru(r.left),...Ru(r.right)];case"all":case"some":case"none":return r.values.flatMap(e=>Ru(e));case"number":return[]}}function qv(r,e,n){if(arguments.length<3)throw new TypeError("3 argument required, but only "+arguments.length+" present");var a=new Date(r,e,n);return a.getFullYear()===r&&a.getMonth()===e&&a.getDate()===n}const Vp=["requires_answer","minimum_checked_required","answer_group_minimum"];function Wp(r){switch(r.type){case"requires_answer":return new Hp(r);case"valid_integer":return new Zp(r);case"valid_float":return new Yp(r);case"valid_date":return new Gp(r);case"minimum":return new Kp(r);case"maximum":return new Jp(r);case"minimum_date":return new Qp(r);case"maximum_date":return new Xp(r);case"minimum_checked_required":return new qp(r);case"maximum_checked_allowed":return new eh(r);case"answer_group_minimum":return new th(r);case"answer_group_maximum":return new nh(r);case"regexp":return new rh(r)}}class bi{constructor(e){Rt(this,"config");this.config=e}}class Hp extends bi{validate(e){const n=e.getValidationFieldState(this.config.fieldKey);Iu(n.value)||this.ignoreDueToDependsOn(e)||n.addError({type:this.config.type,message:{t:"requires_answer"}})}ignoreDueToDependsOn(e){return!this.config.dependsOnQuestions&&!this.config.dependsOnOptions?!1:!this.dependsOnQuestionAnswered(e)&&!this.dependsOnOptionSelected(e)}dependsOnQuestionAnswered(e){return this.config.dependsOnQuestions===void 0?!1:this.config.dependsOnQuestions.some(n=>Iu(e.getValidationFieldState(n).value))}dependsOnOptionSelected(e){return this.config.dependsOnOptions===void 0?!1:Object.entries(this.config.dependsOnOptions).some(([n,a])=>{const o=e.getValidationFieldState(n).value;if(Iu(o)){if(typeof o=="string")return a.some(c=>c===o);if(o instanceof Set)return a.some(c=>o.has(c));throw new Error("unknown question type for dependsOnOptions: this.config.fieldKey")}else return!1})}}function Iu(r){if(r==null)return!1;if(typeof r=="string")return!!r;if(typeof r=="number")return!0;if(r instanceof Map)return md(r);if("size"in r)return r.size>0;if("length"in r)return r.length>0;throw`Unexpected value type in validation ${r}`}function gd(r){return r===void 0||r===null||r===""?!1:typeof r=="string"}function $p(r){return r===void 0||r===null?!1:typeof r=="number"}function md(r){if(r===void 0||r===null)return!1;for(const[e,n]of r){if(typeof e!="string"||typeof n!="string")return!1;if(gd(n))return!0}return!1}const eb=/(\s*-?[1-9][0-9]+\s*|\s*-?[0-9]\s*)/;class Gp extends bi{validate(e){const n=e.getValidationFieldState(this.config.fieldKey);if(!md(n.value))return;if(this.config.requiredParts.some(o=>!n.value.get(o))){n.addError({type:this.config.type,message:{t:`valid_date.${this.config.subtype}`}});return}const a=af(n.value);(!a||!qv(a.year,a.month,a.day)||a.year<1900||a.year>2100||a.hour>23||a.minute>59)&&n.addError({type:this.config.type,message:{t:`valid_date.${this.config.subtype}`}})}}function af(r){var e=function(n,a){const o=r.get(n);return o===void 0||o==""?a:parseInt(o,10)};return[...r.values()].some(n=>n&&!/^\d*$/.test(n))?null:{year:e("year",2e3),month:e("month",1)-1,day:e("day",1),hour:e("hour",0),minute:e("minute",0)}}class Zp extends bi{validate(e){const n=e.getValidationFieldState(this.config.fieldKey);if(!gd(n.value))return;const a=eb.exec(n.value);(a===null||a[0]!==n.value)&&n.addError({type:this.config.type,message:{t:"valid_integer"}})}}class Yp extends bi{validate(e){const n=e.getValidationFieldState(this.config.fieldKey);if(!gd(n.value))return;const a=parseFloat(n.value);!isNaN(a)&&isFinite(a)||n.addError({type:this.config.type,message:{t:"valid_float"}})}}class Kp extends bi{validate(e){const n=e.getValidationFieldState(this.config.fieldKey);$p(n.value)&&parseFloat(n.value)<this.config.value&&n.addError({type:this.config.type,message:{t:"minimum",value:this.config.value.toString()}})}}class Jp extends bi{validate(e){const n=e.getValidationFieldState(this.config.fieldKey);$p(n.value)&&parseFloat(n.value)>this.config.value&&n.addError({type:this.config.type,message:{t:"maximum",value:this.config.value.toString()}})}}class Qp extends bi{validate(e){const n=e.getValidationFieldState(this.config.fieldKey);if(!md(n.value))return;const a=af(n.value);a&&new Date(a.year,a.month,a.hour)<new Date(this.config.value)&&n.addError({type:this.config.type,message:{t:"minimum_date",friendly_date:this.config.value}})}}class Xp extends bi{validate(e){const n=e.getValidationFieldState(this.config.fieldKey);if(!md(n.value))return;const a=af(n.value);a&&new Date(a.year,a.month,a.hour)>new Date(this.config.value)&&n.addError({type:this.config.type,message:{t:"maximum_date",friendly_date:this.config.value}})}}class qp extends bi{validate(e){const n=e.getValidationFieldState(this.config.fieldKey);(!n.value||n.value.size<this.config.minimumCheckedValue)&&n.addError({type:this.config.type,message:{t:"minimum_checked_required",count:this.config.minimumCheckedValue}})}}class eh extends bi{validate(e){const n=e.getValidationFieldState(this.config.fieldKey);Iu(n.value)&&n.value.size>this.config.maximumCheckedValue&&n.addError({type:this.config.type,message:{t:"maximum_checked_allowed",count:this.config.maximumCheckedValue}})}}class th extends bi{validate(e){const n=this.config.fieldKeys.map(a=>e.getValidationFieldState(a));n.filter(a=>Iu(a.value)).length>=this.config.value||n.forEach(a=>{a.addError({type:this.config.type,message:{t:"answer_group_minimum",value:this.config.value}})})}}class nh extends bi{validate(e){const n=this.config.fieldKeys.map(a=>e.getValidationFieldState(a));n.filter(a=>Iu(a.value)).length<=this.config.value||n.forEach(a=>{a.addError({type:this.config.type,message:{t:"answer_group_maximum",value:this.config.value}})})}}class rh extends bi{validate(e){const n=e.getValidationFieldState(this.config.fieldKey);if(!gd(n.value))return;const a=this.config.matcher.replace("\\A","^").replace("\\Z","$"),c=new RegExp(a).exec(n.value);(c===null||c[0]!==n.value)&&n.addError({type:this.config.type,message:this.config.explanation||{t:"regexp",matcher:this.config.matcher}})}}const ih=Pn.coerce.number(),ah=Pn.coerce.string(),oh=Pn.preprocess(r=>r instanceof Array?new Set(r):r,Pn.set(Pn.string())),sh=Pn.preprocess(r=>!(r instanceof Map)&&r instanceof Object?new Map(Object.entries(r)):r,Pn.map(Bp,Pn.string())),lh=Pn.record(Pn.boolean()),uh=Pn.preprocess(r=>!(r instanceof Map)&&r instanceof Object?new Map(Object.entries(r)):r,Pn.map(Pn.string(),Pn.string()));class of{constructor(e,n){Rt(this,"questionnaire");Rt(this,"values");Rt(this,"originalValues");Rt(this,"beenActives");Rt(this,"errors");Rt(this,"visibility");Rt(this,"changeHandlers");Rt(this,"flags");Rt(this,"textvars");Rt(this,"activeQuestionKey");Rt(this,"calculations");this.questionnaire=e,this.values=n.value,this.originalValues={...n.value},this.beenActives=new Set,this.errors=new Map,this.visibility=new Map,this.changeHandlers=[],this.flags=n.flags,this.textvars=this.initTextvars(n.textvars),this.activeQuestionKey=null,this.validate(),this.calculateVisibility(),this.calculations=new hd(e.sexpVariables,this)}cleanValues(){const e=Object.keys(this.values).filter(n=>this.values[n]&&this.isVisible(n)&&!this.isDisabled(n));return Da.pick(this.values,e)}onChange(e){this.changeHandlers.push(e)}offChange(e){Da.pull(this.changeHandlers,e)}getFieldState(e){const n=this.errors.get(e)||[];return{key:e,value:this.values[e],showErrors:this.beenActives.has(e)&&!this.isDisabled(e)&&n.length>0,valid:n.length===0,errors:n,hidden:!this.isVisible(e),disabled:this.isDisabled(e),isActiveQuestion:this.activeQuestionKey===e,setAsActiveQuestion:()=>this.setActiveQuestion(e),setValue:a=>this.setValue(e,a)}}getValidationFieldState(e){return{value:this.values[e],addError:n=>this.addError(e,n)}}setTextvar(e,n){n?this.textvars.set(e,n):this.textvars.set(e,this.questionnaire.textvars.find(a=>a.key===e).default)}initTextvars(e){const n=new Map;for(const a of this.questionnaire.textvars)n.set(a.key,e.get(a.key)??a.default);for(const a of Object.values(this.questionnaire.questions)){const o=this.values[a.key];typeof o=="string"&&"setsTextvar"in a&&a.setsTextvar&&n.set(a.setsTextvar,o)}return n}setValue(e,n){const a=this.questionnaire.getField(e);this.values[e]=n,(n===null||typeof n=="string")&&"setsTextvar"in a&&a.setsTextvar&&this.setTextvar(a.setsTextvar,n),this.validate(),this.calculateVisibility(),this.calculations.handleValueChanged(e),this.changeHandlers.forEach(o=>o(this,"valueChanged"))}setActiveQuestion(e){this.activeQuestionKey!==e&&(this.activeQuestionKey&&this.touchField(this.activeQuestionKey),this.activeQuestionKey=e,this.changeHandlers.forEach(n=>n(this)))}addError(e,n){const a=this.errors.get(e)||[];a.push(n),this.errors.set(e,a)}valueHasChanged(){for(const e in this.questionnaire.questions){const n=ch(this.values[e]),a=ch(this.originalValues[e]);if(!Da.isEqual(n,a))return!0}return!1}touchAllFields(){Object.values(this.questionnaire.questions).forEach(e=>{this.touchField(e.key)})}touchPanelFields(e){e.questionKeys.forEach(n=>{this.touchField(n)})}touchField(e){if(this.beenActives.has(e))return;this.questionnaire.getQuestionsInSameGroup(e).forEach(a=>{this.beenActives.add(a.key),this.values[a.key]===void 0&&this.setValue(a.key,null)})}firstNotValidQuestionInPanel(e){return e.questionKeys.find(n=>{if(!this.isVisible(n)||this.isDisabled(n))return!1;if((this.errors.get(n)||[]).length>0)return!0})||null}firstNotValidQuestion(){const e=this.questionnaire.panels.find(n=>this.firstNotValidQuestionInPanel(n));return e==null?null:this.firstNotValidQuestionInPanel(e)}validate(){this.errors=new Map,this.questionnaire.validations.forEach(e=>{const n=Wp(e);n&&n.validate(this)})}validEnoughForForcedSave(){for(const e of this.errors.values())if(!e.every(n=>Vp.includes(n.type)))return!1;return!0}calculateVisibility(){this.visibility=new Map,this.questionnaire.visibilityRules.forEach(e=>{e.runAgainst(this)})}markShown(e){const n=this.visibility.get(e)||{shown:!1,hidden:!1};n.shown=!0,this.visibility.set(e,n)}markHidden(e){const n=this.visibility.get(e)||{shown:!1,hidden:!1};n.hidden=!0,this.visibility.set(e,n)}isDisabled(e){const n=this.questionnaire.getField(e);if(!n.parentKey||!n.parentOptionKey)return!1;const a=this.questionnaire.getField(n.parentKey),o=this.values[a.key];return a.type==="radio"?o!==n.parentOptionKey:a.type==="check_box"?!o||!o.has(n.parentOptionKey):!1}isVisible(e){const n=this.visibility.get(e)||{shown:!1,hidden:!1},a=n.shown||!n.hidden,o=this.questionnaire.getField(e);return o.parentKey?a&&this.isVisible(o.parentKey):a}numberValue(e){if(!this.values[e])return null;switch(this.questionnaire.getField(e).type){case"integer":case"float":return this.values[e];case"select":case"radio":case"scale":return this.questionnaire.getOptionNumberValue(e,this.values[e])}return null}}function ch(r){return r===""||r==null||r instanceof Set&&r.size===0||r instanceof Map&&r.size===0?null:r}const dh=new qd({key:"test",title:"test",language:"nl",panels:[],questions:{},visibilityRules:[],textvars:{},validations:[]}),tb=new of(dh,{value:{},flags:{},textvars:new Map}),nb={displayMode:"paged",darkMode:!1,newLayout:!0},rb=(r,e)=>null,sf=Pe.createContext({questionnaire:dh,response:tb,setQuestionRef:rb,displayOptions:nb});class lf extends Error{}const fh=(r,e)=>{let n=r.value;return Da.isEmpty(n)&&!Da.isEmpty(e.defaultAnswerValue)&&(n=e.defaultAnswerValue),{flags:lh.parse(r.flags),textvars:uh.parse(r.textvars),value:ib(n,e)}},ib=(r,e)=>{const n=Pn.record(Pn.string(),Pn.any()).parse(r);return Object.values(e.questions).reduce((a,o)=>{const c=n[o.key];if(c==null)return a;switch(o.type){case"integer":case"float":a[o.key]=ih.parse(c);break;case"string":case"textarea":a[o.key]=ah.parse(c);break;case"select":case"scale":case"radio":a[o.key]=ab(c,o);break;case"check_box":a[o.key]=ob(c,o);break;case"date_parts":a[o.key]=sh.parse(c);break}return a},{})},ab=(r,e)=>{if(e.children.some(n=>n.key===r))return Pn.string().parse(r);throw new lf(`wrong option key ${r} present for ${e.key}`)},ob=(r,e)=>{const n=oh.parse(r);return n.forEach(a=>{if(!e.children.some(o=>o.key===a))throw new lf(`wrong option key ${a} present for ${e.key}`)}),n},ph=/\{\{((?<type>[a-z_]+)\.(?<textvar>[a-z0-9]+)|(?<textvaronly>[a-z0-9_]+))\}\}/g;class hh{constructor(e,n){Rt(this,"response");Rt(this,"questionnaire");Rt(this,"stringToVariables");this.response=e,this.questionnaire=n,this.stringToVariables=new Map,this.interpolateCurlies=this.interpolateCurlies.bind(this)}interpolateCurlies(e){return this.stringToVariables.has(e)||this.stringToVariables.set(e,Array.from(e.matchAll(ph)).map(n=>n.groups.textvar)),this.stringToVariables.get(e).length==0?e:e.replace(ph,(...n)=>{var y;const{type:a,textvar:o,textvaronly:c}=n[n.length-1],g=a==="calculation"?(y=this.response.calculations.results[o])==null?void 0:y.toString():this.response.textvars.get(`${this.questionnaire.key}_${o||c}`);return Da.escape(g||"")})}}var uf={exports:{}},kc={};/**
40
40
  * @license React
41
41
  * react-jsx-runtime.production.min.js
42
42
  *
@@ -44,7 +44,7 @@ function print() { __p += __j.call(arguments, '') }
44
44
  *
45
45
  * This source code is licensed under the MIT license found in the
46
46
  * LICENSE file in the root directory of this source tree.
47
- */var th;function Pv(){if(th)return vc;th=1;var r=Me,e=Symbol.for("react.element"),n=Symbol.for("react.fragment"),a=Object.prototype.hasOwnProperty,o=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,d={key:!0,ref:!0,__self:!0,__source:!0};function v(x,w,E){var B,D={},V=null,he=null;E!==void 0&&(V=""+E),w.key!==void 0&&(V=""+w.key),w.ref!==void 0&&(he=w.ref);for(B in w)a.call(w,B)&&!d.hasOwnProperty(B)&&(D[B]=w[B]);if(x&&x.defaultProps)for(B in w=x.defaultProps,w)D[B]===void 0&&(D[B]=w[B]);return{$$typeof:e,type:x,key:V,ref:he,props:D,_owner:o.current}}return vc.Fragment=n,vc.jsx=v,vc.jsxs=v,vc}var bc={};/**
47
+ */var gh;function sb(){if(gh)return kc;gh=1;var r=Pe,e=Symbol.for("react.element"),n=Symbol.for("react.fragment"),a=Object.prototype.hasOwnProperty,o=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,c={key:!0,ref:!0,__self:!0,__source:!0};function g(y,w,E){var L,P={},W=null,se=null;E!==void 0&&(W=""+E),w.key!==void 0&&(W=""+w.key),w.ref!==void 0&&(se=w.ref);for(L in w)a.call(w,L)&&!c.hasOwnProperty(L)&&(P[L]=w[L]);if(y&&y.defaultProps)for(L in w=y.defaultProps,w)P[L]===void 0&&(P[L]=w[L]);return{$$typeof:e,type:y,key:W,ref:se,props:P,_owner:o.current}}return kc.Fragment=n,kc.jsx=g,kc.jsxs=g,kc}var _c={};/**
48
48
  * @license React
49
49
  * react-jsx-runtime.development.js
50
50
  *
@@ -52,21 +52,21 @@ function print() { __p += __j.call(arguments, '') }
52
52
  *
53
53
  * This source code is licensed under the MIT license found in the
54
54
  * LICENSE file in the root directory of this source tree.
55
- */var nh;function Dv(){return nh||(nh=1,process.env.NODE_ENV!=="production"&&function(){var r=Me,e=Symbol.for("react.element"),n=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),d=Symbol.for("react.profiler"),v=Symbol.for("react.provider"),x=Symbol.for("react.context"),w=Symbol.for("react.forward_ref"),E=Symbol.for("react.suspense"),B=Symbol.for("react.suspense_list"),D=Symbol.for("react.memo"),V=Symbol.for("react.lazy"),he=Symbol.for("react.offscreen"),ae=Symbol.iterator,ye="@@iterator";function Z(U){if(U===null||typeof U!="object")return null;var ge=ae&&U[ae]||U[ye];return typeof ge=="function"?ge:null}var G=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function ue(U){{for(var ge=arguments.length,Ce=new Array(ge>1?ge-1:0),tt=1;tt<ge;tt++)Ce[tt-1]=arguments[tt];be("error",U,Ce)}}function be(U,ge,Ce){{var tt=G.ReactDebugCurrentFrame,vt=tt.getStackAddendum();vt!==""&&(ge+="%s",Ce=Ce.concat([vt]));var _t=Ce.map(function(wt){return String(wt)});_t.unshift("Warning: "+ge),Function.prototype.apply.call(console[U],console,_t)}}var ke=!1,re=!1,Ie=!1,Te=!1,Dt=!1,dt;dt=Symbol.for("react.module.reference");function Mt(U){return!!(typeof U=="string"||typeof U=="function"||U===a||U===d||Dt||U===o||U===E||U===B||Te||U===he||ke||re||Ie||typeof U=="object"&&U!==null&&(U.$$typeof===V||U.$$typeof===D||U.$$typeof===v||U.$$typeof===x||U.$$typeof===w||U.$$typeof===dt||U.getModuleId!==void 0))}function ve(U,ge,Ce){var tt=U.displayName;if(tt)return tt;var vt=ge.displayName||ge.name||"";return vt!==""?Ce+"("+vt+")":Ce}function xe(U){return U.displayName||"Context"}function Re(U){if(U==null)return null;if(typeof U.tag=="number"&&ue("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof U=="function")return U.displayName||U.name||null;if(typeof U=="string")return U;switch(U){case a:return"Fragment";case n:return"Portal";case d:return"Profiler";case o:return"StrictMode";case E:return"Suspense";case B:return"SuspenseList"}if(typeof U=="object")switch(U.$$typeof){case x:var ge=U;return xe(ge)+".Consumer";case v:var Ce=U;return xe(Ce._context)+".Provider";case w:return ve(U,U.render,"ForwardRef");case D:var tt=U.displayName||null;return tt!==null?tt:Re(U.type)||"Memo";case V:{var vt=U,_t=vt._payload,wt=vt._init;try{return Re(wt(_t))}catch{return null}}}return null}var Be=Object.assign,Ye=0,He,je,ze,pt,oe,ce,Ae;function Ze(){}Ze.__reactDisabledLog=!0;function Pe(){{if(Ye===0){He=console.log,je=console.info,ze=console.warn,pt=console.error,oe=console.group,ce=console.groupCollapsed,Ae=console.groupEnd;var U={configurable:!0,enumerable:!0,value:Ze,writable:!0};Object.defineProperties(console,{info:U,log:U,warn:U,error:U,group:U,groupCollapsed:U,groupEnd:U})}Ye++}}function Fe(){{if(Ye--,Ye===0){var U={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Be({},U,{value:He}),info:Be({},U,{value:je}),warn:Be({},U,{value:ze}),error:Be({},U,{value:pt}),group:Be({},U,{value:oe}),groupCollapsed:Be({},U,{value:ce}),groupEnd:Be({},U,{value:Ae})})}Ye<0&&ue("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Oe=G.ReactCurrentDispatcher,qe;function et(U,ge,Ce){{if(qe===void 0)try{throw Error()}catch(vt){var tt=vt.stack.trim().match(/\n( *(at )?)/);qe=tt&&tt[1]||""}return`
56
- `+qe+U}}var Ke=!1,nt;{var kt=typeof WeakMap=="function"?WeakMap:Map;nt=new kt}function _e(U,ge){if(!U||Ke)return"";{var Ce=nt.get(U);if(Ce!==void 0)return Ce}var tt;Ke=!0;var vt=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var _t;_t=Oe.current,Oe.current=null,Pe();try{if(ge){var wt=function(){throw Error()};if(Object.defineProperty(wt.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(wt,[])}catch(Xt){tt=Xt}Reflect.construct(U,[],wt)}else{try{wt.call()}catch(Xt){tt=Xt}U.call(wt.prototype)}}else{try{throw Error()}catch(Xt){tt=Xt}U()}}catch(Xt){if(Xt&&tt&&typeof Xt.stack=="string"){for(var ft=Xt.stack.split(`
57
- `),ln=tt.stack.split(`
58
- `),zt=ft.length-1,Ut=ln.length-1;zt>=1&&Ut>=0&&ft[zt]!==ln[Ut];)Ut--;for(;zt>=1&&Ut>=0;zt--,Ut--)if(ft[zt]!==ln[Ut]){if(zt!==1||Ut!==1)do if(zt--,Ut--,Ut<0||ft[zt]!==ln[Ut]){var on=`
59
- `+ft[zt].replace(" at new "," at ");return U.displayName&&on.includes("<anonymous>")&&(on=on.replace("<anonymous>",U.displayName)),typeof U=="function"&&nt.set(U,on),on}while(zt>=1&&Ut>=0);break}}}finally{Ke=!1,Oe.current=_t,Fe(),Error.prepareStackTrace=vt}var In=U?U.displayName||U.name:"",Fr=In?et(In):"";return typeof U=="function"&&nt.set(U,Fr),Fr}function It(U,ge,Ce){return _e(U,!1)}function mt(U){var ge=U.prototype;return!!(ge&&ge.isReactComponent)}function fn(U,ge,Ce){if(U==null)return"";if(typeof U=="function")return _e(U,mt(U));if(typeof U=="string")return et(U);switch(U){case E:return et("Suspense");case B:return et("SuspenseList")}if(typeof U=="object")switch(U.$$typeof){case w:return It(U.render);case D:return fn(U.type,ge,Ce);case V:{var tt=U,vt=tt._payload,_t=tt._init;try{return fn(_t(vt),ge,Ce)}catch{}}}return""}var jn=Object.prototype.hasOwnProperty,Sn={},zn=G.ReactDebugCurrentFrame;function dr(U){if(U){var ge=U._owner,Ce=fn(U.type,U._source,ge?ge.type:null);zn.setExtraStackFrame(Ce)}else zn.setExtraStackFrame(null)}function nr(U,ge,Ce,tt,vt){{var _t=Function.call.bind(jn);for(var wt in U)if(_t(U,wt)){var ft=void 0;try{if(typeof U[wt]!="function"){var ln=Error((tt||"React class")+": "+Ce+" type `"+wt+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof U[wt]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw ln.name="Invariant Violation",ln}ft=U[wt](ge,wt,tt,Ce,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(zt){ft=zt}ft&&!(ft instanceof Error)&&(dr(vt),ue("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",tt||"React class",Ce,wt,typeof ft),dr(null)),ft instanceof Error&&!(ft.message in Sn)&&(Sn[ft.message]=!0,dr(vt),ue("Failed %s type: %s",Ce,ft.message),dr(null))}}}var Mn=Array.isArray;function yn(U){return Mn(U)}function pn(U){{var ge=typeof Symbol=="function"&&Symbol.toStringTag,Ce=ge&&U[Symbol.toStringTag]||U.constructor.name||"Object";return Ce}}function hn(U){try{return fr(U),!1}catch{return!0}}function fr(U){return""+U}function gi(U){if(hn(U))return ue("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",pn(U)),fr(U)}var Un=G.ReactCurrentOwner,Zt={key:!0,ref:!0,__self:!0,__source:!0},Ar,Zr,Or;Or={};function Yr(U){if(jn.call(U,"ref")){var ge=Object.getOwnPropertyDescriptor(U,"ref").get;if(ge&&ge.isReactWarning)return!1}return U.ref!==void 0}function Mr(U){if(jn.call(U,"key")){var ge=Object.getOwnPropertyDescriptor(U,"key").get;if(ge&&ge.isReactWarning)return!1}return U.key!==void 0}function Mi(U,ge){if(typeof U.ref=="string"&&Un.current&&ge&&Un.current.stateNode!==ge){var Ce=Re(Un.current.type);Or[Ce]||(ue('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',Re(Un.current.type),U.ref),Or[Ce]=!0)}}function Kr(U,ge){{var Ce=function(){Ar||(Ar=!0,ue("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",ge))};Ce.isReactWarning=!0,Object.defineProperty(U,"key",{get:Ce,configurable:!0})}}function pr(U,ge){{var Ce=function(){Zr||(Zr=!0,ue("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",ge))};Ce.isReactWarning=!0,Object.defineProperty(U,"ref",{get:Ce,configurable:!0})}}var Jr=function(U,ge,Ce,tt,vt,_t,wt){var ft={$$typeof:e,type:U,key:ge,ref:Ce,props:wt,_owner:_t};return ft._store={},Object.defineProperty(ft._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(ft,"_self",{configurable:!1,enumerable:!1,writable:!1,value:tt}),Object.defineProperty(ft,"_source",{configurable:!1,enumerable:!1,writable:!1,value:vt}),Object.freeze&&(Object.freeze(ft.props),Object.freeze(ft)),ft};function ia(U,ge,Ce,tt,vt){{var _t,wt={},ft=null,ln=null;Ce!==void 0&&(gi(Ce),ft=""+Ce),Mr(ge)&&(gi(ge.key),ft=""+ge.key),Yr(ge)&&(ln=ge.ref,Mi(ge,vt));for(_t in ge)jn.call(ge,_t)&&!Zt.hasOwnProperty(_t)&&(wt[_t]=ge[_t]);if(U&&U.defaultProps){var zt=U.defaultProps;for(_t in zt)wt[_t]===void 0&&(wt[_t]=zt[_t])}if(ft||ln){var Ut=typeof U=="function"?U.displayName||U.name||"Unknown":U;ft&&Kr(wt,Ut),ln&&pr(wt,Ut)}return Jr(U,ft,ln,vt,tt,Un.current,wt)}}var kn=G.ReactCurrentOwner,rr=G.ReactDebugCurrentFrame;function Fn(U){if(U){var ge=U._owner,Ce=fn(U.type,U._source,ge?ge.type:null);rr.setExtraStackFrame(Ce)}else rr.setExtraStackFrame(null)}var At;At=!1;function hr(U){return typeof U=="object"&&U!==null&&U.$$typeof===e}function Qr(){{if(kn.current){var U=Re(kn.current.type);if(U)return`
55
+ */var mh;function lb(){return mh||(mh=1,process.env.NODE_ENV!=="production"&&function(){var r=Pe,e=Symbol.for("react.element"),n=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),c=Symbol.for("react.profiler"),g=Symbol.for("react.provider"),y=Symbol.for("react.context"),w=Symbol.for("react.forward_ref"),E=Symbol.for("react.suspense"),L=Symbol.for("react.suspense_list"),P=Symbol.for("react.memo"),W=Symbol.for("react.lazy"),se=Symbol.for("react.offscreen"),ae=Symbol.iterator,ke="@@iterator";function G(U){if(U===null||typeof U!="object")return null;var ve=ae&&U[ae]||U[ke];return typeof ve=="function"?ve:null}var Z=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function be(U){{for(var ve=arguments.length,Re=new Array(ve>1?ve-1:0),nt=1;nt<ve;nt++)Re[nt-1]=arguments[nt];fe("error",U,Re)}}function fe(U,ve,Re){{var nt=Z.ReactDebugCurrentFrame,mt=nt.getStackAddendum();mt!==""&&(ve+="%s",Re=Re.concat([mt]));var kt=Re.map(function(wt){return String(wt)});kt.unshift("Warning: "+ve),Function.prototype.apply.call(console[U],console,kt)}}var de=!1,ee=!1,Te=!1,Ie=!1,Lt=!1,it;it=Symbol.for("react.module.reference");function Pt(U){return!!(typeof U=="string"||typeof U=="function"||U===a||U===c||Lt||U===o||U===E||U===L||Ie||U===se||de||ee||Te||typeof U=="object"&&U!==null&&(U.$$typeof===W||U.$$typeof===P||U.$$typeof===g||U.$$typeof===y||U.$$typeof===w||U.$$typeof===it||U.getModuleId!==void 0))}function Vt(U,ve,Re){var nt=U.displayName;if(nt)return nt;var mt=ve.displayName||ve.name||"";return mt!==""?Re+"("+mt+")":Re}function ge(U){return U.displayName||"Context"}function we(U){if(U==null)return null;if(typeof U.tag=="number"&&be("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof U=="function")return U.displayName||U.name||null;if(typeof U=="string")return U;switch(U){case a:return"Fragment";case n:return"Portal";case c:return"Profiler";case o:return"StrictMode";case E:return"Suspense";case L:return"SuspenseList"}if(typeof U=="object")switch(U.$$typeof){case y:var ve=U;return ge(ve)+".Consumer";case g:var Re=U;return ge(Re._context)+".Provider";case w:return Vt(U,U.render,"ForwardRef");case P:var nt=U.displayName||null;return nt!==null?nt:we(U.type)||"Memo";case W:{var mt=U,kt=mt._payload,wt=mt._init;try{return we(wt(kt))}catch{return null}}}return null}var _e=Object.assign,Ye=0,Ze,Ne,De,We,le,ue,Me;function He(){}He.__reactDisabledLog=!0;function ze(){{if(Ye===0){Ze=console.log,Ne=console.info,De=console.warn,We=console.error,le=console.group,ue=console.groupCollapsed,Me=console.groupEnd;var U={configurable:!0,enumerable:!0,value:He,writable:!0};Object.defineProperties(console,{info:U,log:U,warn:U,error:U,group:U,groupCollapsed:U,groupEnd:U})}Ye++}}function Ae(){{if(Ye--,Ye===0){var U={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:_e({},U,{value:Ze}),info:_e({},U,{value:Ne}),warn:_e({},U,{value:De}),error:_e({},U,{value:We}),group:_e({},U,{value:le}),groupCollapsed:_e({},U,{value:ue}),groupEnd:_e({},U,{value:Me})})}Ye<0&&be("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Oe=Z.ReactCurrentDispatcher,Ke;function Qe(U,ve,Re){{if(Ke===void 0)try{throw Error()}catch(mt){var nt=mt.stack.trim().match(/\n( *(at )?)/);Ke=nt&&nt[1]||""}return`
56
+ `+Ke+U}}var Xe=!1,tt;{var yt=typeof WeakMap=="function"?WeakMap:Map;tt=new yt}function Ee(U,ve){if(!U||Xe)return"";{var Re=tt.get(U);if(Re!==void 0)return Re}var nt;Xe=!0;var mt=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var kt;kt=Oe.current,Oe.current=null,ze();try{if(ve){var wt=function(){throw Error()};if(Object.defineProperty(wt.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(wt,[])}catch(en){nt=en}Reflect.construct(U,[],wt)}else{try{wt.call()}catch(en){nt=en}U.call(wt.prototype)}}else{try{throw Error()}catch(en){nt=en}U()}}catch(en){if(en&&nt&&typeof en.stack=="string"){for(var pt=en.stack.split(`
57
+ `),cn=nt.stack.split(`
58
+ `),zt=pt.length-1,Ut=cn.length-1;zt>=1&&Ut>=0&&pt[zt]!==cn[Ut];)Ut--;for(;zt>=1&&Ut>=0;zt--,Ut--)if(pt[zt]!==cn[Ut]){if(zt!==1||Ut!==1)do if(zt--,Ut--,Ut<0||pt[zt]!==cn[Ut]){var ln=`
59
+ `+pt[zt].replace(" at new "," at ");return U.displayName&&ln.includes("<anonymous>")&&(ln=ln.replace("<anonymous>",U.displayName)),typeof U=="function"&&tt.set(U,ln),ln}while(zt>=1&&Ut>=0);break}}}finally{Xe=!1,Oe.current=kt,Ae(),Error.prepareStackTrace=mt}var On=U?U.displayName||U.name:"",Lr=On?Qe(On):"";return typeof U=="function"&&tt.set(U,Lr),Lr}function Ct(U,ve,Re){return Ee(U,!1)}function At(U){var ve=U.prototype;return!!(ve&&ve.isReactComponent)}function qt(U,ve,Re){if(U==null)return"";if(typeof U=="function")return Ee(U,At(U));if(typeof U=="string")return Qe(U);switch(U){case E:return Qe("Suspense");case L:return Qe("SuspenseList")}if(typeof U=="object")switch(U.$$typeof){case w:return Ct(U.render);case P:return qt(U.type,ve,Re);case W:{var nt=U,mt=nt._payload,kt=nt._init;try{return qt(kt(mt),ve,Re)}catch{}}}return""}var Vn=Object.prototype.hasOwnProperty,kn={},_n=Z.ReactDebugCurrentFrame;function fr(U){if(U){var ve=U._owner,Re=qt(U.type,U._source,ve?ve.type:null);_n.setExtraStackFrame(Re)}else _n.setExtraStackFrame(null)}function rr(U,ve,Re,nt,mt){{var kt=Function.call.bind(Vn);for(var wt in U)if(kt(U,wt)){var pt=void 0;try{if(typeof U[wt]!="function"){var cn=Error((nt||"React class")+": "+Re+" type `"+wt+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof U[wt]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw cn.name="Invariant Violation",cn}pt=U[wt](ve,wt,nt,Re,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(zt){pt=zt}pt&&!(pt instanceof Error)&&(fr(mt),be("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",nt||"React class",Re,wt,typeof pt),fr(null)),pt instanceof Error&&!(pt.message in kn)&&(kn[pt.message]=!0,fr(mt),be("Failed %s type: %s",Re,pt.message),fr(null))}}}var Dn=Array.isArray;function xn(U){return Dn(U)}function hn(U){{var ve=typeof Symbol=="function"&&Symbol.toStringTag,Re=ve&&U[Symbol.toStringTag]||U.constructor.name||"Object";return Re}}function gn(U){try{return pr(U),!1}catch{return!0}}function pr(U){return""+U}function yi(U){if(gn(U))return be("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",hn(U)),pr(U)}var Wn=Z.ReactCurrentOwner,Kt={key:!0,ref:!0,__self:!0,__source:!0},Pr,Jr,Fr;Fr={};function Qr(U){if(Vn.call(U,"ref")){var ve=Object.getOwnPropertyDescriptor(U,"ref").get;if(ve&&ve.isReactWarning)return!1}return U.ref!==void 0}function Dr(U){if(Vn.call(U,"key")){var ve=Object.getOwnPropertyDescriptor(U,"key").get;if(ve&&ve.isReactWarning)return!1}return U.key!==void 0}function Bi(U,ve){if(typeof U.ref=="string"&&Wn.current&&ve&&Wn.current.stateNode!==ve){var Re=we(Wn.current.type);Fr[Re]||(be('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',we(Wn.current.type),U.ref),Fr[Re]=!0)}}function Xr(U,ve){{var Re=function(){Pr||(Pr=!0,be("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",ve))};Re.isReactWarning=!0,Object.defineProperty(U,"key",{get:Re,configurable:!0})}}function hr(U,ve){{var Re=function(){Jr||(Jr=!0,be("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",ve))};Re.isReactWarning=!0,Object.defineProperty(U,"ref",{get:Re,configurable:!0})}}var qr=function(U,ve,Re,nt,mt,kt,wt){var pt={$$typeof:e,type:U,key:ve,ref:Re,props:wt,_owner:kt};return pt._store={},Object.defineProperty(pt._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(pt,"_self",{configurable:!1,enumerable:!1,writable:!1,value:nt}),Object.defineProperty(pt,"_source",{configurable:!1,enumerable:!1,writable:!1,value:mt}),Object.freeze&&(Object.freeze(pt.props),Object.freeze(pt)),pt};function la(U,ve,Re,nt,mt){{var kt,wt={},pt=null,cn=null;Re!==void 0&&(yi(Re),pt=""+Re),Dr(ve)&&(yi(ve.key),pt=""+ve.key),Qr(ve)&&(cn=ve.ref,Bi(ve,mt));for(kt in ve)Vn.call(ve,kt)&&!Kt.hasOwnProperty(kt)&&(wt[kt]=ve[kt]);if(U&&U.defaultProps){var zt=U.defaultProps;for(kt in zt)wt[kt]===void 0&&(wt[kt]=zt[kt])}if(pt||cn){var Ut=typeof U=="function"?U.displayName||U.name||"Unknown":U;pt&&Xr(wt,Ut),cn&&hr(wt,Ut)}return qr(U,pt,cn,mt,nt,Wn.current,wt)}}var En=Z.ReactCurrentOwner,ir=Z.ReactDebugCurrentFrame;function Ln(U){if(U){var ve=U._owner,Re=qt(U.type,U._source,ve?ve.type:null);ir.setExtraStackFrame(Re)}else ir.setExtraStackFrame(null)}var Ot;Ot=!1;function gr(U){return typeof U=="object"&&U!==null&&U.$$typeof===e}function ei(){{if(En.current){var U=we(En.current.type);if(U)return`
60
60
 
61
- Check the render method of \``+U+"`."}return""}}function Xr(U){{if(U!==void 0){var ge=U.fileName.replace(/^.*[\\\/]/,""),Ce=U.lineNumber;return`
61
+ Check the render method of \``+U+"`."}return""}}function ti(U){{if(U!==void 0){var ve=U.fileName.replace(/^.*[\\\/]/,""),Re=U.lineNumber;return`
62
62
 
63
- Check your code at `+ge+":"+Ce+"."}return""}}var ir={};function qr(U){{var ge=Qr();if(!ge){var Ce=typeof U=="string"?U:U.displayName||U.name;Ce&&(ge=`
63
+ Check your code at `+ve+":"+Re+"."}return""}}var ar={};function ni(U){{var ve=ei();if(!ve){var Re=typeof U=="string"?U:U.displayName||U.name;Re&&(ve=`
64
64
 
65
- Check the top-level render call using <`+Ce+">.")}return ge}}function gr(U,ge){{if(!U._store||U._store.validated||U.key!=null)return;U._store.validated=!0;var Ce=qr(ge);if(ir[Ce])return;ir[Ce]=!0;var tt="";U&&U._owner&&U._owner!==kn.current&&(tt=" It was passed a child from "+Re(U._owner.type)+"."),Fn(U),ue('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',Ce,tt),Fn(null)}}function nn(U,ge){{if(typeof U!="object")return;if(yn(U))for(var Ce=0;Ce<U.length;Ce++){var tt=U[Ce];hr(tt)&&gr(tt,ge)}else if(hr(U))U._store&&(U._store.validated=!0);else if(U){var vt=Z(U);if(typeof vt=="function"&&vt!==U.entries)for(var _t=vt.call(U),wt;!(wt=_t.next()).done;)hr(wt.value)&&gr(wt.value,ge)}}}function Fi(U){{var ge=U.type;if(ge==null||typeof ge=="string")return;var Ce;if(typeof ge=="function")Ce=ge.propTypes;else if(typeof ge=="object"&&(ge.$$typeof===w||ge.$$typeof===D))Ce=ge.propTypes;else return;if(Ce){var tt=Re(ge);nr(Ce,U.props,"prop",tt,U)}else if(ge.PropTypes!==void 0&&!At){At=!0;var vt=Re(ge);ue("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",vt||"Unknown")}typeof ge.getDefaultProps=="function"&&!ge.getDefaultProps.isReactClassApproved&&ue("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function ei(U){{for(var ge=Object.keys(U.props),Ce=0;Ce<ge.length;Ce++){var tt=ge[Ce];if(tt!=="children"&&tt!=="key"){Fn(U),ue("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",tt),Fn(null);break}}U.ref!==null&&(Fn(U),ue("Invalid attribute `ref` supplied to `React.Fragment`."),Fn(null))}}function Pi(U,ge,Ce,tt,vt,_t){{var wt=Mt(U);if(!wt){var ft="";(U===void 0||typeof U=="object"&&U!==null&&Object.keys(U).length===0)&&(ft+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var ln=Xr(vt);ln?ft+=ln:ft+=Qr();var zt;U===null?zt="null":yn(U)?zt="array":U!==void 0&&U.$$typeof===e?(zt="<"+(Re(U.type)||"Unknown")+" />",ft=" Did you accidentally export a JSX literal instead of a component?"):zt=typeof U,ue("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",zt,ft)}var Ut=ia(U,ge,Ce,vt,_t);if(Ut==null)return Ut;if(wt){var on=ge.children;if(on!==void 0)if(tt)if(yn(on)){for(var In=0;In<on.length;In++)nn(on[In],U);Object.freeze&&Object.freeze(on)}else ue("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else nn(on,U)}return U===a?ei(Ut):Fi(Ut),Ut}}function rn(U,ge,Ce){return Pi(U,ge,Ce,!0)}function Di(U,ge,Ce){return Pi(U,ge,Ce,!1)}var Fa=Di,Pa=rn;bc.Fragment=a,bc.jsx=Fa,bc.jsxs=Pa}()),bc}process.env.NODE_ENV==="production"?Qd.exports=Pv():Qd.exports=Dv();var z=Qd.exports,rh={exports:{}};/*!
65
+ Check the top-level render call using <`+Re+">.")}return ve}}function mr(U,ve){{if(!U._store||U._store.validated||U.key!=null)return;U._store.validated=!0;var Re=ni(ve);if(ar[Re])return;ar[Re]=!0;var nt="";U&&U._owner&&U._owner!==En.current&&(nt=" It was passed a child from "+we(U._owner.type)+"."),Ln(U),be('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',Re,nt),Ln(null)}}function an(U,ve){{if(typeof U!="object")return;if(xn(U))for(var Re=0;Re<U.length;Re++){var nt=U[Re];gr(nt)&&mr(nt,ve)}else if(gr(U))U._store&&(U._store.validated=!0);else if(U){var mt=G(U);if(typeof mt=="function"&&mt!==U.entries)for(var kt=mt.call(U),wt;!(wt=kt.next()).done;)gr(wt.value)&&mr(wt.value,ve)}}}function Ni(U){{var ve=U.type;if(ve==null||typeof ve=="string")return;var Re;if(typeof ve=="function")Re=ve.propTypes;else if(typeof ve=="object"&&(ve.$$typeof===w||ve.$$typeof===P))Re=ve.propTypes;else return;if(Re){var nt=we(ve);rr(Re,U.props,"prop",nt,U)}else if(ve.PropTypes!==void 0&&!Ot){Ot=!0;var mt=we(ve);be("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",mt||"Unknown")}typeof ve.getDefaultProps=="function"&&!ve.getDefaultProps.isReactClassApproved&&be("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function ri(U){{for(var ve=Object.keys(U.props),Re=0;Re<ve.length;Re++){var nt=ve[Re];if(nt!=="children"&&nt!=="key"){Ln(U),be("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",nt),Ln(null);break}}U.ref!==null&&(Ln(U),be("Invalid attribute `ref` supplied to `React.Fragment`."),Ln(null))}}function ji(U,ve,Re,nt,mt,kt){{var wt=Pt(U);if(!wt){var pt="";(U===void 0||typeof U=="object"&&U!==null&&Object.keys(U).length===0)&&(pt+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var cn=ti(mt);cn?pt+=cn:pt+=ei();var zt;U===null?zt="null":xn(U)?zt="array":U!==void 0&&U.$$typeof===e?(zt="<"+(we(U.type)||"Unknown")+" />",pt=" Did you accidentally export a JSX literal instead of a component?"):zt=typeof U,be("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",zt,pt)}var Ut=la(U,ve,Re,mt,kt);if(Ut==null)return Ut;if(wt){var ln=ve.children;if(ln!==void 0)if(nt)if(xn(ln)){for(var On=0;On<ln.length;On++)an(ln[On],U);Object.freeze&&Object.freeze(ln)}else be("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else an(ln,U)}return U===a?ri(Ut):Ni(Ut),Ut}}function on(U,ve,Re){return ji(U,ve,Re,!0)}function zi(U,ve,Re){return ji(U,ve,Re,!1)}var Ba=zi,Na=on;_c.Fragment=a,_c.jsx=Ba,_c.jsxs=Na}()),_c}process.env.NODE_ENV==="production"?uf.exports=sb():uf.exports=lb();var z=uf.exports,vh={exports:{}};/*!
66
66
  Copyright (c) 2018 Jed Watson.
67
67
  Licensed under the MIT License (MIT), see
68
68
  http://jedwatson.github.io/classnames
69
- */(function(r){(function(){var e={}.hasOwnProperty;function n(){for(var a=[],o=0;o<arguments.length;o++){var d=arguments[o];if(d){var v=typeof d;if(v==="string"||v==="number")a.push(d);else if(Array.isArray(d)){if(d.length){var x=n.apply(null,d);x&&a.push(x)}}else if(v==="object"){if(d.toString!==Object.prototype.toString&&!d.toString.toString().includes("[native code]")){a.push(d.toString());continue}for(var w in d)e.call(d,w)&&d[w]&&a.push(w)}}}return a.join(" ")}r.exports?(n.default=n,r.exports=n):window.classNames=n})()})(rh);var Lv=rh.exports;const On=up(Lv);class Bv{constructor(e,n){jt(this,"panels");this.response=e,this.response=e,this.panels=n}firstPanelIndexToActivate(){return this.nextPanelIndexToActivate(-1)??this.panels.length-1}nextPanelIndexToActivate(e){let n=e+1;if(n===this.panels.length)return null;for(;n<this.panels.length&&this.allQuestionsHidden(n);)n++;return n}previousPanelIndexToActivate(e){let n=e;for(;;){if(n--,n<0)return null;if(!this.allQuestionsHidden(n))return n}}isFirstPanel(e){return e===this.firstPanelIndexToActivate()}isLastPanel(e){return e===this.panels.length-1}count(){return this.panels.length}allQuestionsHidden(e){const n=this.panels[e];return n.questionKeys.length>0&&!n.questionKeys.some(a=>this.response.isVisible(a))}}function cd(r,e){const[n,a]=Me.useState(r);return{onChange:o=>{const d=e(o.target.value);d!==n&&a(d)},value:n||r||"",onBlur:()=>{a(void 0)}}}function Nv(r,e){return["Control","Alt","Fn","Meta"].every(n=>e.includes(n)?r.getModifierState(n):!r.getModifierState(n))}const jv=(r,e,n)=>{const a=o=>{var x;let d=document.activeElement;if(d!=null&&d.shadowRoot&&(d=d.shadowRoot.activeElement),d!==document.body&&!((x=n.current)!=null&&x.contains(d))||!r.activeQuestionKey)return;const v=e.questions[r.activeQuestionKey];if(!(v.type!=="radio"&&v.type!=="scale"&&v.type!=="select")&&o.code.startsWith("Digit")&&Nv(o,[])){const w=parseInt(o.code.slice(5)),E=v.children.filter(B=>B.type==="option");w>=1&&w<=E.length&&(r.setValue(r.activeQuestionKey,E[w-1].key),o.preventDefault())}};Me.useEffect(()=>(document.addEventListener("keydown",a),()=>document.removeEventListener("keydown",a)))},zv=["option-gap-y","question-mb-factor"],ih=r=>r&&Oa.mapKeys(Oa.pick(r,zv),(e,n)=>`--${n}`),Uv=({max:r,current:e})=>{const{t:n}=Os();return r<=1?null:z.jsx("div",{className:"progress-bar",children:z.jsxs("div",{className:"progress-wrapper",children:[z.jsx("div",{className:On("progress-slider",{"long-list":r>25}),children:Array.from({length:r},(a,o)=>z.jsx("span",{className:On("progress-stop",`step-${o+1}`,{active:o<=e,"first-child":o===0,"last-child":o===r-1,current:o===e}),children:o+1},o))}),z.jsx("div",{className:"progress-details",children:n("step_i_of_n",{i:e+1,n:r})})]})})},Vv=({item:r})=>{const e=Me.useContext(Go);return z.jsx("div",{className:"item",children:z.jsx("div",{className:"prose text",dangerouslySetInnerHTML:{__html:e(r.html)}})})},Ii=({question:r})=>{const e=Me.useContext(Go);if(!r.title)return null;const n=e(r.title),a=`answer_${r.key}`,o=r.description?"mb-1":"mb-2";return z.jsx("div",{className:`${o} main`,children:z.jsx("label",{htmlFor:a,dangerouslySetInnerHTML:{__html:n}})})},Ai=r=>{const e=Me.useContext(Go);if(!r.question.description)return null;const n=e(r.question.description);return z.jsx("div",{className:"font-light description prose",dangerouslySetInnerHTML:{__html:n}})},Wv=({fieldState:r})=>r.showErrors?z.jsx(z.Fragment,{children:r.errors.map(e=>z.jsx(Hv,{error:e},e.type))}):null,Hv=({error:r})=>{const e=On("error",r.type),n=$v(r.message);return z.jsx("div",{className:e,children:n})};function $v(r){const{t:e}=Os();if(typeof r=="string")return r;const n={...r};return delete n.t,e(`validations.${r.t}`,n)}const Oi=r=>{const{question:e,fieldState:n,setQuestionRef:a}=r,o=Me.useRef(null);a(e.key,o);const d=On("item",e.type,e.presentation,e.questionGroup,e.as,{errors:n.showErrors,active:n.isActiveQuestion});return z.jsxs(z.Fragment,{children:[e.contextDescription&&z.jsx(Gv,{html:e.contextDescription}),z.jsxs("div",{className:d,ref:o,style:ih(e.cssVars),children:[z.jsx(Wv,{fieldState:n}),r.children]})]})},Gv=({html:r})=>{const e=Me.useContext(Go);return z.jsx("div",{className:"context-description prose",dangerouslySetInnerHTML:{__html:e(r)}})},Zv=({question:r,fieldState:e,setQuestionRef:n})=>{var d;const a=cd((d=e.value)==null?void 0:d.toString(),v=>{if(e.value&&v.startsWith(e.value)&&v.slice(e.value.length).match(/^\s+$/))return v;e.setValue(v.trim()||null)}),o=On(r.type,{"w-full":!r.size,sized:!!r.size,subitem:!1});return z.jsxs(Oi,{question:r,fieldState:e,setQuestionRef:n,children:[z.jsx(Ii,{question:r}),z.jsxs("div",{className:"description-and-fields",children:[z.jsx(Ai,{question:r}),z.jsx("div",{className:"fields",id:Yv(r),children:z.jsx("input",{type:"text",className:o,size:r.size??void 0,onFocus:e.setAsActiveQuestion,disabled:e.disabled,...a})})]})]})};function Yv(r){return`answer_${r.key}_input`}const Kv=({question:r,fieldState:e,setQuestionRef:n})=>{const a=On("fields");return z.jsxs(Oi,{question:r,fieldState:e,setQuestionRef:n,children:[z.jsx(Ii,{question:r}),z.jsxs("div",{className:"description-and-fields",children:[z.jsx(Ai,{question:r}),z.jsx("div",{className:a,id:qv(r),children:z.jsx("table",{cellSpacing:"0",width:"100%",children:z.jsx("tbody",{children:z.jsx("tr",{children:r.children.map((o,d)=>z.jsx(Jv,{question:r,option:o,index:d,fieldState:e},o.key))})})})})]})]})},Jv=({question:r,option:e,index:n,fieldState:a})=>{if(e.hidden&&a.value!==e.key)return null;const o=On("option text-center align-top",{first:n<=0,last:n>=r.children.length-1}),d=On(r.type,{subinput:!1,deselectable:!1}),v=a.value===e.key,x=E=>a.setValue(e.key),w=()=>{v&&a.setValue(null)};return z.jsxs("td",{className:o,style:{width:`${100/r.children.length}%`},children:[z.jsx(Xv,{question:r,option:e}),z.jsxs("span",{children:[z.jsx("input",{type:"radio",name:r.key,id:e.viewId,className:d,disabled:a.disabled,checked:v,onChange:x,onClick:w,onFocus:a.setAsActiveQuestion}),z.jsx("br",{}),z.jsx(Qv,{option:e})]})]})},Qv=({option:r})=>{const e=Me.useContext(Go),n=r.label||r.description;return n?z.jsx("label",{htmlFor:r.viewId,children:z.jsx("span",{dangerouslySetInnerHTML:{__html:e(n)}})}):null},Xv=({question:r,option:e})=>r.showValues?z.jsx("div",{className:"value",children:e.value}):null;function qv(r){return`answer_${r.key}_input`}const ah=({questions:r})=>r.length==0?null:z.jsx("div",{className:"subquestions mt-1",children:r.map(e=>z.jsx(hh,{fieldKey:e.key}))}),eb=({question:r,fieldState:e,setQuestionRef:n})=>{const a=On("fields",r.presentation!=="horizontal"?`options${r.children.length}`:null);return z.jsxs(Oi,{question:r,fieldState:e,setQuestionRef:n,children:[z.jsx(Ii,{question:r}),z.jsxs("div",{className:"description-and-fields",children:[z.jsx(Ai,{question:r}),z.jsx("div",{className:a,id:ib(r),children:r.children.map((o,d)=>o.type==="option"?z.jsx(tb,{question:r,option:o,index:d,fieldState:e},o.key):z.jsx("div",{className:"inner-title",dangerouslySetInnerHTML:{__html:o.html}},o.key))})]})]})},tb=({question:r,option:e,fieldState:n})=>{if(e.hidden&&n.value!==e.key)return null;const a=On("option",{show_values:r.showValues||!1}),o=On(r.type,{subinput:!1,deselectable:!1}),d=n.value===e.key,v=w=>n.setValue(e.key),x=w=>{d&&n.setValue(null)};return z.jsxs("div",{className:a,children:[z.jsx("div",{className:"inline radiocheckwrapper",children:z.jsx("input",{type:"radio",name:r.key,id:e.viewId,className:o,disabled:n.disabled,checked:d,onChange:v,onClick:x,onFocus:n.setAsActiveQuestion})}),z.jsx(rb,{question:r,option:e}),z.jsx(nb,{option:e}),z.jsx(ah,{questions:e.questions})]})},nb=({option:r})=>{const e=Me.useContext(Go);if(!r.label&&!r.description)return null;const n=r.label||r.description,a=r.label?r.description:void 0;return z.jsxs("div",{className:"inline labelwrapper",children:[z.jsx("label",{htmlFor:r.viewId,"aria-describedby":a&&`${r.viewId}_description`,children:z.jsx("span",{dangerouslySetInnerHTML:{__html:e(n)}})}),a&&z.jsx("div",{className:"de-em",id:`${r.viewId}_description`,dangerouslySetInnerHTML:{__html:e(a||"")}})]})},rb=({question:r,option:e})=>r.showValues?z.jsx("div",{className:"inline value",children:e.value}):null;function ib(r){return`answer_${r.key}_input`}const ab=({question:r,fieldState:e,setQuestionRef:n})=>{const a=d=>{e.setValue(d.target.value)},o=On("fields",r.presentation!=="horizontal"?`options${r.children.length}`:null);return z.jsxs(Oi,{question:r,fieldState:e,setQuestionRef:n,children:[z.jsx(Ii,{question:r}),z.jsxs("div",{className:"description-and-fields",children:[z.jsx(Ai,{question:r}),z.jsx("div",{className:o,id:sb(r),children:z.jsxs("select",{onChange:a,value:e.value||void 0,onFocus:e.setAsActiveQuestion,disabled:e.disabled,children:[r.placeholder?z.jsx("option",{className:"placeholder",children:r.placeholder},"placeholder"):null,r.children.map((d,v)=>d.hidden&&e.value!==d.key?null:z.jsx(ob,{question:r,option:d,index:v},d.key))]})})]})]})},ob=({option:r})=>z.jsx("option",{value:r.key,disabled:!1,children:r.label||r.description});function sb(r){return`answer_${r.key}_input`}const lb=({question:r,fieldState:e,setQuestionRef:n})=>z.jsxs(Oi,{question:r,fieldState:e,setQuestionRef:n,children:[z.jsx(Ii,{question:r}),z.jsxs("div",{className:"description-and-fields",children:[z.jsx(Ai,{question:r}),z.jsxs("div",{className:"fields",id:ub(r),children:[z.jsx(oh,{question:r,parts:["year","month","day"],fieldState:e}),z.jsx(oh,{question:r,parts:["hour","minute"],fieldState:e})]})]})]}),oh=({question:r,parts:e,fieldState:n})=>{const{t:a}=Os(),o=(v,x)=>{const w=new Map(n.value||[]),E=v.target.value.trim();E?w.set(x,E):w.delete(x),w.size===0?n.setValue(null):n.setValue(w)},d=r.dateParts.filter(v=>e.includes(v.part));return d.length===0?null:z.jsxs("div",{className:"mb-2 ",children:[d.flatMap(v=>{var x;return[z.jsx("input",{type:"text",className:"mr-1",value:((x=n.value)==null?void 0:x.get(v.part))||"",placeholder:a(`placeholders.${v.part}`),disabled:n.disabled,onChange:w=>o(w,v.part),size:v.part==="year"?5:3,onFocus:n.setAsActiveQuestion},v.part),Oa.isEqual(e,["hour","minute"])&&v.part==="hour"&&z.jsx("span",{className:"mr-1",children:":"},"colon")]}),d.flatMap(v=>[z.jsx("span",{className:"mr-1",children:a(v.part)},`label_${v.part}`),Oa.isEqual(e,["hour","minute"])&&v.part==="hour"&&z.jsx("span",{className:"mr-1",children:":"},"label_colon")])]})};function ub(r){return`answer_${r.key}_input`}const cb=({question:r,fieldState:e,setQuestionRef:n})=>{var v;const{t:a}=Os(),o=cd((v=e.value)==null?void 0:v.toString(),x=>{if(["-"].includes(x))return x;const w=parseInt(x,10);isNaN(w)?e.setValue(null):e.setValue(w)}),d=On(r.type,{subitem:!1});return z.jsxs(Oi,{question:r,fieldState:e,setQuestionRef:n,children:[z.jsx(Ii,{question:r}),z.jsxs("div",{className:"description-and-fields",children:[z.jsx(Ai,{question:r}),z.jsxs("div",{className:"fields",id:db(r),children:[z.jsx("input",{type:"text",className:d,disabled:e.disabled,size:r.size,onFocus:e.setAsActiveQuestion,...o}),r.unit&&z.jsxs("span",{className:"unit",children:[" ",a(`units.${r.unit}`,{defaultValue:r.unit})]})]})]})]})};function db(r){return`answer_${r.key}_input`}const fb=({question:r,fieldState:e,setQuestionRef:n})=>{var v;const{t:a}=Os(),o=cd((v=e.value)==null?void 0:v.toString(),x=>{if(["-",".",`${e.value}.`].includes(x))return x;x[0]==="."&&(x=`0${x}`);const w=parseFloat(x);isNaN(w)?e.setValue(null):e.setValue(w)}),d=On(r.type,{sized:!!r.size,subitem:!1});return z.jsxs(Oi,{question:r,fieldState:e,setQuestionRef:n,children:[z.jsx(Ii,{question:r}),z.jsxs("div",{className:"description-and-fields",children:[z.jsx(Ai,{question:r}),z.jsxs("div",{className:"fields",id:pb(r),children:[z.jsx("input",{type:"text",className:d,disabled:e.disabled,size:r.size,onFocus:e.setAsActiveQuestion,...o}),r.unit&&z.jsxs("span",{className:"unit",children:[" ",a(`units.${r.unit}`,{defaultValue:r.unit})]})]})]})]})};function pb(r){return`answer_${r.key}_input`}var Xd={},qd={},ef={},dd={};(function(r){Object.defineProperty(r,"__esModule",{value:!0}),r.Direction=void 0,function(e){e.Right="to right",e.Left="to left",e.Down="to bottom",e.Up="to top"}(r.Direction||(r.Direction={}))})(dd),function(r){var e=qn&&qn.__spreadArray||function(ve,xe,Re){if(Re||arguments.length===2)for(var Be=0,Ye=xe.length,He;Be<Ye;Be++)(He||!(Be in xe))&&(He||(He=Array.prototype.slice.call(xe,0,Be)),He[Be]=xe[Be]);return ve.concat(He||Array.prototype.slice.call(xe))};Object.defineProperty(r,"__esModule",{value:!0}),r.useThumbOverlap=r.assertUnreachable=r.voidFn=r.getTrackBackground=r.replaceAt=r.schd=r.translate=r.getClosestThumbIndex=r.translateThumbs=r.getPaddingAndBorder=r.getMargin=r.checkInitialOverlap=r.checkValuesAgainstBoundaries=r.checkBoundaries=r.isVertical=r.relativeValue=r.normalizeValue=r.isStepDivisible=r.isTouchEvent=r.getStepDecimals=void 0;var n=Me,a=dd,o=function(ve){var xe=ve.toString().split(".")[1];return xe?xe.length:0};r.getStepDecimals=o;function d(ve){return ve.touches&&ve.touches.length||ve.changedTouches&&ve.changedTouches.length}r.isTouchEvent=d;function v(ve,xe,Re){var Be=(xe-ve)/Re,Ye=8,He=Number(Be.toFixed(Ye));return parseInt(He.toString(),10)===He}r.isStepDivisible=v;function x(ve,xe,Re,Be,Ye,He,je){var ze=1e11;if(ve=Math.round(ve*ze)/ze,!He){var pt=je[xe-1],oe=je[xe+1];if(pt&&pt>ve)return pt;if(oe&&oe<ve)return oe}if(ve>Be)return Be;if(ve<Re)return Re;var ce=Math.floor(ve*ze-Re*ze)%Math.floor(Ye*ze),Ae=Math.floor(ve*ze-Math.abs(ce)),Ze=ce===0?ve:Ae/ze,Pe=Math.abs(ce/ze)<Ye/2?Ze:Ze+Ye,Fe=(0,r.getStepDecimals)(Ye);return parseFloat(Pe.toFixed(Fe))}r.normalizeValue=x;function w(ve,xe,Re){return(ve-xe)/(Re-xe)}r.relativeValue=w;function E(ve){return ve===a.Direction.Up||ve===a.Direction.Down}r.isVertical=E;function B(ve,xe,Re){if(xe>=Re)throw new RangeError("min (".concat(xe,") is equal/bigger than max (").concat(Re,")"));if(ve<xe)throw new RangeError("value (".concat(ve,") is smaller than min (").concat(xe,")"));if(ve>Re)throw new RangeError("value (".concat(ve,") is bigger than max (").concat(Re,")"))}r.checkBoundaries=B;function D(ve,xe,Re){return ve<xe?xe:ve>Re?Re:ve}r.checkValuesAgainstBoundaries=D;function V(ve){if(!(ve.length<2)&&!ve.slice(1).every(function(xe,Re){return ve[Re]<=xe}))throw new RangeError("values={[".concat(ve,"]} needs to be sorted when allowOverlap={false}"))}r.checkInitialOverlap=V;function he(ve){var xe=window.getComputedStyle(ve);return{top:parseInt(xe["margin-top"],10),bottom:parseInt(xe["margin-bottom"],10),left:parseInt(xe["margin-left"],10),right:parseInt(xe["margin-right"],10)}}r.getMargin=he;function ae(ve){var xe=window.getComputedStyle(ve);return{top:parseInt(xe["padding-top"],10)+parseInt(xe["border-top-width"],10),bottom:parseInt(xe["padding-bottom"],10)+parseInt(xe["border-bottom-width"],10),left:parseInt(xe["padding-left"],10)+parseInt(xe["border-left-width"],10),right:parseInt(xe["padding-right"],10)+parseInt(xe["border-right-width"],10)}}r.getPaddingAndBorder=ae;function ye(ve,xe,Re){var Be=Re?-1:1;ve.forEach(function(Ye,He){return G(Ye,Be*xe[He].x,xe[He].y)})}r.translateThumbs=ye;function Z(ve,xe,Re,Be){for(var Ye=0,He=Mt(ve[0],xe,Re,Be),je=1;je<ve.length;je++){var ze=Mt(ve[je],xe,Re,Be);ze<He&&(He=ze,Ye=je)}return Ye}r.getClosestThumbIndex=Z;function G(ve,xe,Re){ve.style.transform="translate(".concat(xe,"px, ").concat(Re,"px)")}r.translate=G;var ue=function(ve){var xe=[],Re=null,Be=function(){for(var Ye=[],He=0;He<arguments.length;He++)Ye[He]=arguments[He];xe=Ye,!Re&&(Re=requestAnimationFrame(function(){Re=null,ve.apply(void 0,xe)}))};return Be};r.schd=ue;function be(ve,xe,Re){var Be=ve.slice(0);return Be[xe]=Re,Be}r.replaceAt=be;function ke(ve){var xe=ve.values,Re=ve.colors,Be=ve.min,Ye=ve.max,He=ve.direction,je=He===void 0?a.Direction.Right:He,ze=ve.rtl,pt=ze===void 0?!1:ze;pt&&je===a.Direction.Right?je=a.Direction.Left:pt&&a.Direction.Left&&(je=a.Direction.Right);var oe=xe.slice(0).sort(function(Ae,Ze){return Ae-Ze}).map(function(Ae){return(Ae-Be)/(Ye-Be)*100}),ce=oe.reduce(function(Ae,Ze,Pe){return"".concat(Ae,", ").concat(Re[Pe]," ").concat(Ze,"%, ").concat(Re[Pe+1]," ").concat(Ze,"%")},"");return"linear-gradient(".concat(je,", ").concat(Re[0]," 0%").concat(ce,", ").concat(Re[Re.length-1]," 100%)")}r.getTrackBackground=ke;function re(){}r.voidFn=re;function Ie(ve){throw new Error("Didn't expect to get here")}r.assertUnreachable=Ie;var Te=function(ve,xe,Re,Be,Ye){Ye===void 0&&(Ye=function(je){return je});var He=Math.ceil(e([ve],Array.from(ve.children),!0).reduce(function(je,ze){var pt=Math.ceil(ze.getBoundingClientRect().width);if(ze.innerText&&ze.innerText.includes(Re)&&ze.childElementCount===0){var oe=ze.cloneNode(!0);oe.innerHTML=Ye(xe.toFixed(Be)),oe.style.visibility="hidden",document.body.appendChild(oe),pt=Math.ceil(oe.getBoundingClientRect().width),document.body.removeChild(oe)}return pt>je?pt:je},ve.getBoundingClientRect().width));return He},Dt=function(ve,xe,Re,Be,Ye,He,je){je===void 0&&(je=function(oe){return oe});var ze=[],pt=function(oe){var ce=Te(Re[oe],Be[oe],Ye,He,je),Ae=xe[oe].x;xe.forEach(function(Ze,Pe){var Fe=Ze.x,Oe=Te(Re[Pe],Be[Pe],Ye,He,je);oe!==Pe&&(Ae>=Fe&&Ae<=Fe+Oe||Ae+ce>=Fe&&Ae+ce<=Fe+Oe)&&(ze.includes(Pe)||(ze.push(oe),ze.push(Pe),ze=e(e([],ze,!0),[oe,Pe],!1),pt(Pe)))})};return pt(ve),Array.from(new Set(ze.sort()))},dt=function(ve,xe,Re,Be,Ye,He){Be===void 0&&(Be=.1),Ye===void 0&&(Ye=" - "),He===void 0&&(He=function(Pe){return Pe});var je=(0,r.getStepDecimals)(Be),ze=(0,n.useState)({}),pt=ze[0],oe=ze[1],ce=(0,n.useState)(He(xe[Re].toFixed(je))),Ae=ce[0],Ze=ce[1];return(0,n.useEffect)(function(){if(ve){var Pe=ve.getThumbs();if(Pe.length<1)return;var Fe={},Oe=ve.getOffsets(),qe=Dt(Re,Oe,Pe,xe,Ye,je,He),et=He(xe[Re].toFixed(je));if(qe.length){var Ke=qe.reduce(function(mt,fn,jn,Sn){return mt.length?e(e([],mt,!0),[Oe[Sn[jn]].x],!1):[Oe[Sn[jn]].x]},[]);if(Math.min.apply(Math,Ke)===Oe[Re].x){var nt=[];qe.forEach(function(mt){nt.push(xe[mt].toFixed(je))}),et=Array.from(new Set(nt.sort(function(mt,fn){return parseFloat(mt)-parseFloat(fn)}))).map(He).join(Ye);var kt=Math.min.apply(Math,Ke),_e=Math.max.apply(Math,Ke),It=Pe[qe[Ke.indexOf(_e)]].getBoundingClientRect().width;Fe.left="".concat(Math.abs(kt-(_e+It))/2,"px"),Fe.transform="translate(-50%, 0)"}else Fe.visibility="hidden"}Ze(et),oe(Fe)}},[ve,xe]),[Ae,pt]};r.useThumbOverlap=dt;function Mt(ve,xe,Re,Be){var Ye=ve.getBoundingClientRect(),He=Ye.left,je=Ye.top,ze=Ye.width,pt=Ye.height;return E(Be)?Math.abs(Re-(je+pt/2)):Math.abs(xe-(He+ze/2))}}(ef);var hb=qn&&qn.__extends||function(){var r=function(e,n){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,o){a.__proto__=o}||function(a,o){for(var d in o)Object.prototype.hasOwnProperty.call(o,d)&&(a[d]=o[d])},r(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");r(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}(),gb=qn&&qn.__createBinding||(Object.create?function(r,e,n,a){a===void 0&&(a=n);var o=Object.getOwnPropertyDescriptor(e,n);(!o||("get"in o?!e.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:function(){return e[n]}}),Object.defineProperty(r,a,o)}:function(r,e,n,a){a===void 0&&(a=n),r[a]=e[n]}),mb=qn&&qn.__setModuleDefault||(Object.create?function(r,e){Object.defineProperty(r,"default",{enumerable:!0,value:e})}:function(r,e){r.default=e}),vb=qn&&qn.__importStar||function(r){if(r&&r.__esModule)return r;var e={};if(r!=null)for(var n in r)n!=="default"&&Object.prototype.hasOwnProperty.call(r,n)&&gb(e,r,n);return mb(e,r),e},sh=qn&&qn.__spreadArray||function(r,e,n){if(n||arguments.length===2)for(var a=0,o=e.length,d;a<o;a++)(d||!(a in e))&&(d||(d=Array.prototype.slice.call(e,0,a)),d[a]=e[a]);return r.concat(d||Array.prototype.slice.call(e))};Object.defineProperty(qd,"__esModule",{value:!0});var fd=vb(Me),Gt=ef,tr=dd,bb=["ArrowRight","ArrowUp","k","PageUp"],yb=["ArrowLeft","ArrowDown","j","PageDown"],wb=function(r){hb(e,r);function e(n){var a=r.call(this,n)||this;if(a.trackRef=fd.createRef(),a.thumbRefs=[],a.state={draggedTrackPos:[-1,-1],draggedThumbIndex:-1,thumbZIndexes:new Array(a.props.values.length).fill(0).map(function(o,d){return d}),isChanged:!1,markOffsets:[]},a.getOffsets=function(){var o=a.props,d=o.direction,v=o.values,x=o.min,w=o.max,E=a.trackRef.current,B=E.getBoundingClientRect(),D=(0,Gt.getPaddingAndBorder)(E);return a.getThumbs().map(function(V,he){var ae={x:0,y:0},ye=V.getBoundingClientRect(),Z=(0,Gt.getMargin)(V);switch(d){case tr.Direction.Right:return ae.x=(Z.left+D.left)*-1,ae.y=((ye.height-B.height)/2+D.top)*-1,ae.x+=B.width*(0,Gt.relativeValue)(v[he],x,w)-ye.width/2,ae;case tr.Direction.Left:return ae.x=(Z.right+D.right)*-1,ae.y=((ye.height-B.height)/2+D.top)*-1,ae.x+=B.width-B.width*(0,Gt.relativeValue)(v[he],x,w)-ye.width/2,ae;case tr.Direction.Up:return ae.x=((ye.width-B.width)/2+Z.left+D.left)*-1,ae.y=-D.left,ae.y+=B.height-B.height*(0,Gt.relativeValue)(v[he],x,w)-ye.height/2,ae;case tr.Direction.Down:return ae.x=((ye.width-B.width)/2+Z.left+D.left)*-1,ae.y=-D.left,ae.y+=B.height*(0,Gt.relativeValue)(v[he],x,w)-ye.height/2,ae;default:return(0,Gt.assertUnreachable)(d)}})},a.getThumbs=function(){return a.trackRef&&a.trackRef.current?Array.from(a.trackRef.current.children).filter(function(o){return o.hasAttribute("aria-valuenow")}):(console.warn("No thumbs found in the track container. Did you forget to pass & spread the `props` param in renderTrack?"),[])},a.getTargetIndex=function(o){return a.getThumbs().findIndex(function(d){return d===o.target||d.contains(o.target)})},a.addTouchEvents=function(o){document.addEventListener("touchmove",a.schdOnTouchMove,{passive:!1}),document.addEventListener("touchend",a.schdOnEnd,{passive:!1}),document.addEventListener("touchcancel",a.schdOnEnd,{passive:!1})},a.addMouseEvents=function(o){document.addEventListener("mousemove",a.schdOnMouseMove),document.addEventListener("mouseup",a.schdOnEnd)},a.onMouseDownTrack=function(o){var d;if(o.button===0)if(o.persist(),o.preventDefault(),a.addMouseEvents(o.nativeEvent),a.props.values.length>1&&a.props.draggableTrack){if(a.thumbRefs.some(function(x){var w;return(w=x.current)===null||w===void 0?void 0:w.contains(o.target)}))return;a.setState({draggedTrackPos:[o.clientX,o.clientY]},function(){return a.onMove(o.clientX,o.clientY)})}else{var v=(0,Gt.getClosestThumbIndex)(a.thumbRefs.map(function(x){return x.current}),o.clientX,o.clientY,a.props.direction);(d=a.thumbRefs[v].current)===null||d===void 0||d.focus(),a.setState({draggedThumbIndex:v},function(){return a.onMove(o.clientX,o.clientY)})}},a.onResize=function(){(0,Gt.translateThumbs)(a.getThumbs(),a.getOffsets(),a.props.rtl),a.calculateMarkOffsets()},a.onTouchStartTrack=function(o){var d;if(o.persist(),a.addTouchEvents(o.nativeEvent),a.props.values.length>1&&a.props.draggableTrack){if(a.thumbRefs.some(function(x){var w;return(w=x.current)===null||w===void 0?void 0:w.contains(o.target)}))return;a.setState({draggedTrackPos:[o.touches[0].clientX,o.touches[0].clientY]},function(){return a.onMove(o.touches[0].clientX,o.touches[0].clientY)})}else{var v=(0,Gt.getClosestThumbIndex)(a.thumbRefs.map(function(x){return x.current}),o.touches[0].clientX,o.touches[0].clientY,a.props.direction);(d=a.thumbRefs[v].current)===null||d===void 0||d.focus(),a.setState({draggedThumbIndex:v},function(){return a.onMove(o.touches[0].clientX,o.touches[0].clientY)})}},a.onMouseOrTouchStart=function(o){if(!a.props.disabled){var d=(0,Gt.isTouchEvent)(o);if(!(!d&&o.button!==0)){var v=a.getTargetIndex(o);v!==-1&&(d?a.addTouchEvents(o):a.addMouseEvents(o),a.setState({draggedThumbIndex:v,thumbZIndexes:a.state.thumbZIndexes.map(function(x,w){return w===v?Math.max.apply(Math,a.state.thumbZIndexes):x<=a.state.thumbZIndexes[v]?x:x-1})}))}}},a.onMouseMove=function(o){o.preventDefault(),a.onMove(o.clientX,o.clientY)},a.onTouchMove=function(o){o.preventDefault(),a.onMove(o.touches[0].clientX,o.touches[0].clientY)},a.onKeyDown=function(o){var d=a.props,v=d.values,x=d.onChange,w=d.step,E=d.rtl,B=d.direction,D=a.state.isChanged,V=a.getTargetIndex(o.nativeEvent),he=E||B===tr.Direction.Left||B===tr.Direction.Down?-1:1;V!==-1&&(bb.includes(o.key)?(o.preventDefault(),a.setState({draggedThumbIndex:V,isChanged:!0}),x((0,Gt.replaceAt)(v,V,a.normalizeValue(v[V]+he*(o.key==="PageUp"?w*10:w),V)))):yb.includes(o.key)?(o.preventDefault(),a.setState({draggedThumbIndex:V,isChanged:!0}),x((0,Gt.replaceAt)(v,V,a.normalizeValue(v[V]-he*(o.key==="PageDown"?w*10:w),V)))):o.key==="Tab"?a.setState({draggedThumbIndex:-1},function(){D&&a.fireOnFinalChange()}):D&&a.fireOnFinalChange())},a.onKeyUp=function(o){var d=a.state.isChanged;a.setState({draggedThumbIndex:-1},function(){d&&a.fireOnFinalChange()})},a.onMove=function(o,d){var v=a.state,x=v.draggedThumbIndex,w=v.draggedTrackPos,E=a.props,B=E.direction,D=E.min,V=E.max,he=E.onChange,ae=E.values,ye=E.step,Z=E.rtl;if(x===-1&&w[0]===-1&&w[1]===-1)return null;var G=a.trackRef.current;if(!G)return null;var ue=G.getBoundingClientRect(),be=(0,Gt.isVertical)(B)?ue.height:ue.width;if(w[0]!==-1&&w[1]!==-1){var ke=o-w[0],re=d-w[1],Ie=0;switch(B){case tr.Direction.Right:case tr.Direction.Left:Ie=ke/be*(V-D);break;case tr.Direction.Down:case tr.Direction.Up:Ie=re/be*(V-D);break;default:(0,Gt.assertUnreachable)(B)}if(Z&&(Ie*=-1),Math.abs(Ie)>=ye/2){for(var Te=0;Te<a.thumbRefs.length;Te++){if(ae[Te]===V&&Math.sign(Ie)===1||ae[Te]===D&&Math.sign(Ie)===-1)return;var Dt=ae[Te]+Ie;Dt>V?Ie=V-ae[Te]:Dt<D&&(Ie=D-ae[Te])}for(var dt=ae.slice(0),Te=0;Te<a.thumbRefs.length;Te++)dt=(0,Gt.replaceAt)(dt,Te,a.normalizeValue(ae[Te]+Ie,Te));a.setState({draggedTrackPos:[o,d]}),he(dt)}}else{var Mt=0;switch(B){case tr.Direction.Right:Mt=(o-ue.left)/be*(V-D)+D;break;case tr.Direction.Left:Mt=(be-(o-ue.left))/be*(V-D)+D;break;case tr.Direction.Down:Mt=(d-ue.top)/be*(V-D)+D;break;case tr.Direction.Up:Mt=(be-(d-ue.top))/be*(V-D)+D;break;default:(0,Gt.assertUnreachable)(B)}Z&&(Mt=V+D-Mt),Math.abs(ae[x]-Mt)>=ye/2&&he((0,Gt.replaceAt)(ae,x,a.normalizeValue(Mt,x)))}},a.normalizeValue=function(o,d){var v=a.props,x=v.min,w=v.max,E=v.step,B=v.allowOverlap,D=v.values;return(0,Gt.normalizeValue)(o,d,x,w,E,B,D)},a.onEnd=function(o){if(o.preventDefault(),document.removeEventListener("mousemove",a.schdOnMouseMove),document.removeEventListener("touchmove",a.schdOnTouchMove),document.removeEventListener("mouseup",a.schdOnEnd),document.removeEventListener("touchend",a.schdOnEnd),document.removeEventListener("touchcancel",a.schdOnEnd),a.state.draggedThumbIndex===-1&&a.state.draggedTrackPos[0]===-1&&a.state.draggedTrackPos[1]===-1)return null;a.setState({draggedThumbIndex:-1,draggedTrackPos:[-1,-1]},function(){a.fireOnFinalChange()})},a.fireOnFinalChange=function(){a.setState({isChanged:!1});var o=a.props,d=o.onFinalChange,v=o.values;d&&d(v)},a.updateMarkRefs=function(o){if(!o.renderMark){a.numOfMarks=void 0,a.markRefs=void 0;return}a.numOfMarks=(o.max-o.min)/a.props.step,a.markRefs=[];for(var d=0;d<a.numOfMarks+1;d++)a.markRefs[d]=fd.createRef()},a.calculateMarkOffsets=function(){if(!(!a.props.renderMark||!a.trackRef||!a.numOfMarks||!a.markRefs||a.trackRef.current===null)){for(var o=window.getComputedStyle(a.trackRef.current),d=parseInt(o.width,10),v=parseInt(o.height,10),x=parseInt(o.paddingLeft,10),w=parseInt(o.paddingTop,10),E=[],B=0;B<a.numOfMarks+1;B++){var D=9999,V=9999;if(a.markRefs[B].current){var he=a.markRefs[B].current.getBoundingClientRect();D=he.height,V=he.width}a.props.direction===tr.Direction.Left||a.props.direction===tr.Direction.Right?E.push([Math.round(d/a.numOfMarks*B+x-V/2),-Math.round((D-v)/2)]):E.push([Math.round(v/a.numOfMarks*B+w-D/2),-Math.round((V-d)/2)])}a.setState({markOffsets:E})}},n.step===0)throw new Error('"step" property should be a positive number');return a.schdOnMouseMove=(0,Gt.schd)(a.onMouseMove),a.schdOnTouchMove=(0,Gt.schd)(a.onTouchMove),a.schdOnEnd=(0,Gt.schd)(a.onEnd),a.thumbRefs=n.values.map(function(){return fd.createRef()}),a.updateMarkRefs(n),a}return e.prototype.componentDidMount=function(){var n=this,a=this.props,o=a.values,d=a.min,v=a.step;this.resizeObserver=window.ResizeObserver?new window.ResizeObserver(this.onResize):{observe:function(){return window.addEventListener("resize",n.onResize)},unobserve:function(){return window.removeEventListener("resize",n.onResize)}},document.addEventListener("touchstart",this.onMouseOrTouchStart,{passive:!1}),document.addEventListener("mousedown",this.onMouseOrTouchStart,{passive:!1}),!this.props.allowOverlap&&(0,Gt.checkInitialOverlap)(this.props.values),this.props.values.forEach(function(x){return(0,Gt.checkBoundaries)(x,n.props.min,n.props.max)}),this.resizeObserver.observe(this.trackRef.current),(0,Gt.translateThumbs)(this.getThumbs(),this.getOffsets(),this.props.rtl),this.calculateMarkOffsets(),o.forEach(function(x){(0,Gt.isStepDivisible)(d,x,v)||console.warn("The `values` property is in conflict with the current `step`, `min`, and `max` properties. Please provide values that are accessible using the min, max, and step values.")})},e.prototype.componentDidUpdate=function(n,a){var o=this.props,d=o.max,v=o.min,x=o.step,w=o.values,E=o.rtl;(n.max!==d||n.min!==v||n.step!==x)&&this.updateMarkRefs(this.props),(0,Gt.translateThumbs)(this.getThumbs(),this.getOffsets(),E),(n.max!==d||n.min!==v||n.step!==x||a.markOffsets.length!==this.state.markOffsets.length)&&(this.calculateMarkOffsets(),w.forEach(function(B){(0,Gt.isStepDivisible)(v,B,x)||console.warn("The `values` property is in conflict with the current `step`, `min`, and `max` properties. Please provide values that are accessible using the min, max, and step values.")}))},e.prototype.componentWillUnmount=function(){var n={passive:!1};document.removeEventListener("mousedown",this.onMouseOrTouchStart,n),document.removeEventListener("mousemove",this.schdOnMouseMove),document.removeEventListener("touchmove",this.schdOnTouchMove),document.removeEventListener("touchstart",this.onMouseOrTouchStart),document.removeEventListener("mouseup",this.schdOnEnd),document.removeEventListener("touchend",this.schdOnEnd),this.resizeObserver.unobserve(this.trackRef.current)},e.prototype.render=function(){var n=this,a=this.props,o=a.renderTrack,d=a.renderThumb,v=a.renderMark,x=v===void 0?function(){return null}:v,w=a.values,E=a.min,B=a.max,D=a.allowOverlap,V=a.disabled,he=this.state,ae=he.draggedThumbIndex,ye=he.thumbZIndexes,Z=he.markOffsets;return o({props:{style:{transform:"scale(1)",cursor:ae>-1?"grabbing":this.props.draggableTrack?(0,Gt.isVertical)(this.props.direction)?"ns-resize":"ew-resize":w.length===1&&!V?"pointer":"inherit"},onMouseDown:V?Gt.voidFn:this.onMouseDownTrack,onTouchStart:V?Gt.voidFn:this.onTouchStartTrack,ref:this.trackRef},isDragged:this.state.draggedThumbIndex>-1,disabled:V,children:sh(sh([],Z.map(function(G,ue,be){return x({props:{style:n.props.direction===tr.Direction.Left||n.props.direction===tr.Direction.Right?{position:"absolute",left:"".concat(G[0],"px"),marginTop:"".concat(G[1],"px")}:{position:"absolute",top:"".concat(G[0],"px"),marginLeft:"".concat(G[1],"px")},key:"mark".concat(ue),ref:n.markRefs[ue]},index:ue})}),!0),w.map(function(G,ue){var be=n.state.draggedThumbIndex===ue;return d({index:ue,value:G,isDragged:be,props:{style:{position:"absolute",zIndex:ye[ue],cursor:V?"inherit":be?"grabbing":"grab",userSelect:"none",touchAction:"none",WebkitUserSelect:"none",MozUserSelect:"none",msUserSelect:"none"},key:ue,tabIndex:V?void 0:0,"aria-valuemax":D?B:w[ue+1]||B,"aria-valuemin":D?E:w[ue-1]||E,"aria-valuenow":G,draggable:!1,ref:n.thumbRefs[ue],role:"slider",onKeyDown:V?Gt.voidFn:n.onKeyDown,onKeyUp:V?Gt.voidFn:n.onKeyUp}})}),!0)})},e.defaultProps={step:1,direction:tr.Direction.Right,rtl:!1,disabled:!1,allowOverlap:!1,draggableTrack:!1,min:0,max:100},e}(fd.Component);qd.default=wb,function(r){var e=qn&&qn.__importDefault||function(d){return d&&d.__esModule?d:{default:d}};Object.defineProperty(r,"__esModule",{value:!0}),r.checkValuesAgainstBoundaries=r.relativeValue=r.useThumbOverlap=r.Direction=r.getTrackBackground=r.Range=void 0;var n=e(qd);r.Range=n.default;var a=ef;Object.defineProperty(r,"getTrackBackground",{enumerable:!0,get:function(){return a.getTrackBackground}}),Object.defineProperty(r,"useThumbOverlap",{enumerable:!0,get:function(){return a.useThumbOverlap}}),Object.defineProperty(r,"relativeValue",{enumerable:!0,get:function(){return a.relativeValue}}),Object.defineProperty(r,"checkValuesAgainstBoundaries",{enumerable:!0,get:function(){return a.checkValuesAgainstBoundaries}});var o=dd;Object.defineProperty(r,"Direction",{enumerable:!0,get:function(){return o.Direction}})}(Xd);const tf=18,pd=1,lh=9,yc=16,uh=4,nf=1,xb=({question:r,fieldState:e,setQuestionRef:n})=>{const a=E=>{e.setValue(E[0])},o=Me.useRef(null),d=Mb(r.labels,o),v=e.value==null,x=e.value||r.defaultPosition,w=Eb(r);return z.jsxs(Oi,{question:r,fieldState:e,setQuestionRef:n,children:[z.jsx(Ii,{question:r}),z.jsxs("div",{className:"description-and-fields",children:[z.jsx(Ai,{question:r}),z.jsx("div",{className:"fields mt-3",ref:o,style:{height:tf+d.height},children:z.jsx(Xd.Range,{values:[x],onChange:a,min:r.minimum,max:r.maximum,step:r.step,disabled:e.disabled,renderTrack:({props:E,children:B})=>z.jsx("div",{...E,style:{...E.style,...Cb},children:B}),renderThumb:E=>Sb({...E,blank:v||e.disabled,showTooltip:r.valueTooltip,startThumbHidden:r.startThumbHidden,isActiveQuestion:e.isActiveQuestion,onFocus:e.setAsActiveQuestion}),renderMark:({props:E,index:B})=>w[B]!==void 0?kb(E,w[B],d):null})})]})]})},Sb=({props:r,value:e,isDragged:n,blank:a,showTooltip:o,startThumbHidden:d,isActiveQuestion:v,onFocus:x})=>d&&a?z.jsx("div",{...r}):z.jsxs("div",{...r,style:{...r.style,...Tb,...n&&Ib,...v&&Rb,...a&&Ab},onFocus:x,children:[z.jsx("div",{style:{margin:"6px auto",width:"6px",height:"14px",border:"1px solid oklch(var(--foreground))",borderWidth:"0 1px 0 1px"}}),o&&n&&z.jsx("div",{style:Ob,children:e})]}),kb=(r,e,{info:n,setRef:a})=>{const o=lh+(n.tops[e.idx]||0),d=e.first?"0 4px 4px":e.last?"4px 0 4px 4px":"4px";return z.jsxs("div",{...r,style:{...r.style,top:tf-pd,marginTop:0,width:0},children:[z.jsx("div",{ref:v=>{v&&a(e.idx,v)},style:{position:"absolute",top:o,left:-pd,width:"max-content",maxWidth:n.maxWidths[e.idx],backgroundColor:"oklch(var(--slider-track))",borderRadius:d,border:`${nf}px solid oklch(var(--foreground))`,padding:"0 4px",textAlign:e.first?"left":e.last?"right":"center",transform:e.first?void 0:e.last?"translateX(-100%)":"translateX(-50%)"},dangerouslySetInnerHTML:{__html:e.text}}),z.jsx(_b,{label:e,top:o})]})},_b=({top:r,label:e})=>{const a=r+1,o=e.first?`M0.5,${a-.5} V0.5 C0.5,${a/2} 5,${a} 9,${a-.5}`:e.last?`M8.5,${a-.5} V0.5 C8.5,${a/2} 4,${a} 0.5,${a-.5}`:`M0.5,${a-.5} C2,${a-.5} 4.5,5 4.5,0 C4.5,5 7,${a-.5} ${a-.5},${a-.5}`,d=e.first?0:e.last?-9:-9/2;return z.jsx("svg",{width:9,height:a,viewBox:`0 0 9 ${a}`,preserveAspectRatio:"none",style:{marginLeft:d,position:"absolute",left:-pd},children:z.jsxs("g",{strokeWidth:nf,children:[z.jsx("line",{x1:"0",y1:a,x2:"9",y2:a,stroke:"oklch(var(--slider-track))"}),z.jsx("path",{d:o,fill:"oklch(var(--slider-track))",strokeLinecap:"square",stroke:"oklch(var(--foreground))"})]})})},Eb=r=>{if(r.labels.length===0)return{};const e=(r.maximum-r.minimum)/r.step,n={};return r.labels.forEach((a,o)=>{const d=Math.floor(o*e/(r.labels.length-1));n[d]={text:a,first:o===0,last:o===r.labels.length-1,idx:o}}),n},Cb={border:`${pd}px solid oklch(var(--foreground))`,background:"oklch(var(--slider-track))",height:tf,borderRadius:"2px",marginBottom:"18px"},Tb={height:"28px",width:"34px",backgroundColor:"oklch(var(--background))",border:"1px solid oklch(var(--foreground))",borderRadius:"3px"},Rb={backgroundColor:"rgba(27,124,194,0.7)"},Ib={boxShadow:"inset 0 0 1px #FFF, inset 0 1px 7px #DDD, 0 3px 6px -3px #BBB"},Ab={backgroundColor:"transparent",border:"none",padding:"1px",boxShadow:"inset 0 0 1px oklch(var(--foreground)), inset 0 1px 7px oklch(var(--foreground) / 0.5), 0 3px 6px -3px oklch(var(--foreground) / 0.3)"},Ob={position:"absolute",top:"-29px",left:"16px",transform:"translateX(-50%)",backgroundColor:"oklch(var(--slider-track))",border:`${nf}px solid oklch(var(--foreground))`,borderRadius:"4px",padding:"0 4px"},Mb=(r,e)=>{const n=Me.useRef([]),[a,o]=Me.useState({maxWidths:[],rowHeights:[],tops:[],twoRows:!1}),[d,v]=Me.useState("getRefs");let x=lh+a.rowHeights[0]||18;return a.rowHeights.length==2&&(x+=uh+a.rowHeights[1]),Me.useLayoutEffect(()=>{d==="resize"?(o({...a,twoRows:!1,maxWidths:Array(n.current.length).fill(999)}),v("setWidths")):d==="setWidths"?(Fb(n.current,r,e,a,o),v("setHeight")):d==="setHeight"&&(Pb(n.current,a,o),v("done"))},[d,r,e,a]),Me.useLayoutEffect(()=>{if(d!=="done")return;const E=e.current,B=E.offsetWidth,D=new ResizeObserver(()=>{B!==E.offsetWidth&&requestAnimationFrame(()=>v("resize"))});return D.observe(E),()=>{D.unobserve(E)}},[d,e]),{info:a,setRef:(E,B)=>{n.current[E]=B,d==="getRefs"&&n.current.length===r.length&&n.current.every(D=>D!==void 0)&&v("setWidths")},height:x}};function Fb(r,e,n,a,o){const d=n.current.offsetWidth;if(e.length===1)o({...a,maxWidths:[d]});else if(Db(r))if(e.length===3&&r[1].offsetWidth<d/3){const v=(d-r[1].offsetWidth)/2-yc;o({...a,maxWidths:[v,d-v*2-yc,v]})}else{const v=Array(e.length).fill(d/(e.length-1)-yc/2);v[0]=v[e.length-1]=d/2-yc,o({...a,twoRows:!0,maxWidths:v})}}function Pb(r,e,n){if(e.twoRows){const a=rf(r.slice(1,-1)),o=rf(Oa.at(r,0,r.length-1)),d=Array(r.length).fill(0);d[0]=d[r.length-1]=a+uh,n({...e,rowHeights:[a,o],tops:d})}else n({...e,rowHeights:[rf(r)],tops:Array(r.length).fill(0)})}function rf(r){return Math.max(...r.map(e=>e.getBoundingClientRect().height))}function Db(r){return r.some((e,n)=>n>0&&e.getBoundingClientRect().left-yc<r[n-1].getBoundingClientRect().right)}const Lb=({question:r,fieldState:e,setQuestionRef:n})=>{const a=x=>{e.setValue(x[0])},o=e.value==null,d=e.value||r.defaultPosition,v=jb(r);return z.jsxs(Oi,{question:r,fieldState:e,setQuestionRef:n,children:[z.jsx(Ii,{question:r}),z.jsxs("div",{className:"description-and-fields",children:[z.jsx(Ai,{question:r}),z.jsx("div",{className:"fields mt-3",children:z.jsx(Xd.Range,{values:[d],onChange:a,min:r.minimum,max:r.maximum,step:r.step,disabled:e.disabled,renderTrack:({props:x,children:w})=>z.jsx("div",{...x,style:{...x.style,...zb},children:w}),renderThumb:x=>Bb({...x,blank:o||e.disabled,showTooltip:r.valueTooltip,startThumbHidden:r.startThumbHidden,onFocus:e.setAsActiveQuestion}),renderMark:({props:x,index:w})=>v[w]!==void 0?Nb(x,v[w]):null})})]})]})},Bb=({props:r,value:e,isDragged:n,blank:a,showTooltip:o,startThumbHidden:d,onFocus:v})=>d&&a?z.jsx("div",{...r}):z.jsxs("div",{...r,style:{...r.style,...Ub,...n&&Vb,...a&&Wb},onFocus:v,children:["||",o&&n&&z.jsx("div",{style:Hb,children:e})]}),Nb=(r,e)=>z.jsx("div",{...r,style:{...r.style,top:"18px",marginTop:0,height:"9px",width:"1px",backgroundColor:"#d3d3d3"},children:z.jsx("div",{style:{position:"absolute",top:"8px",width:"max-content",textAlign:e.first?"left":e.last?"right":"center",transform:e.first?void 0:e.last?"translateX(-100%)":"translateX(-50%)"},dangerouslySetInnerHTML:{__html:e.text}})}),jb=r=>{if(r.labels.length===0)return{};const e=(r.maximum-r.minimum)/r.step,n={};return r.labels.forEach((a,o)=>{const d=Math.floor(o*e/(r.labels.length-1));n[d]={text:a,first:o===0,last:o===r.labels.length-1}}),n},zb={border:"1px solid #d3d3d3",background:"#fafafa",height:"18px",borderRadius:"4px",marginBottom:"18px",boxShadow:"inset 0 1px 1px #F0F0F0, 0 3px 6px -5px #BBB"},Ub={height:"28px",width:"34px",textAlign:"center",lineHeight:"27px",backgroundColor:"rgba(27,124,194,0.7)",color:"#E8E7E6",border:"1px solid #9AC1DD",borderRadius:"3px",boxShadow:"inset 0 0 1px #FFF, inset 0 1px 7px #9AC1DD, 0 3px 6px -3px #9AC1DD"},Vb={boxShadow:"inset 0 0 1px #FFF, inset 0 1px 7px #DDD, 0 3px 6px -3px #BBB"},Wb={backgroundColor:"rgba(255, 255, 255, .5)",boxShadow:"none",border:"1px solid #D9D9D9"},Hb={position:"absolute",top:"-28px",left:"17px",transform:"translateX(-50%)",color:"#000",fontWeight:"bold",padding:"4px"},$b=({question:r,fieldState:e,setQuestionRef:n})=>{var d;const a=cd((d=e.value)==null?void 0:d.toString(),v=>{if(e.value&&v.startsWith(e.value)&&v.slice(e.value.length).match(/^\s+$/))return v;e.setValue(v.trim()||null)}),o=On(r.type,{"w-full":!0,subitem:!1});return z.jsxs(Oi,{question:r,fieldState:e,setQuestionRef:n,children:[z.jsx(Ii,{question:r}),z.jsxs("div",{className:"description-and-fields",children:[z.jsx(Ai,{question:r}),z.jsx("div",{className:"fields",id:Gb(r),children:z.jsx("textarea",{className:o,rows:r.lines,onFocus:e.setAsActiveQuestion,disabled:e.disabled,...a})})]})]})};function Gb(r){return`answer_${r.key}_input`}const Zb=({question:r,fieldState:e,setQuestionRef:n})=>{const a=On("fields",r.presentation!=="horizontal"?`options${r.children.length}`:null);return z.jsxs(Oi,{question:r,fieldState:e,setQuestionRef:n,children:[z.jsx(Ii,{question:r}),z.jsxs("div",{className:"description-and-fields",children:[z.jsx(Ai,{question:r}),z.jsx("div",{className:a,id:Jb(r),children:r.children.map((o,d)=>o.type==="option"?z.jsx(Yb,{question:r,option:o,index:d,fieldState:e},o.key):z.jsx("div",{className:"text-lg font-medium my-1 inner-title",dangerouslySetInnerHTML:{__html:o.html}},o.key))})]})]})},Yb=({question:r,option:e,fieldState:n})=>{const a=Me.useContext(Go),d=(n.value||new Set).has(e.key)||!1;if(e.hidden&&!d)return null;const v=On("option",{show_values:!1}),x=On(r.type,{subinput:!1}),w=D=>e.key&&n.setValue(Qb(n,e.key,r)),E=e.label||e.description,B=e.label?e.description:void 0;return z.jsxs("div",{className:v,children:[z.jsx("div",{className:"inline radiocheckwrapper",children:z.jsx("input",{type:"checkbox",name:r.key,id:e.viewId,className:x,disabled:n.disabled,checked:d,onChange:w,onFocus:n.setAsActiveQuestion})}),z.jsx(Kb,{question:r,option:e}),z.jsxs("div",{className:"inline labelwrapper",children:[z.jsx("label",{htmlFor:e.viewId,"aria-describedby":B&&`${e.viewId}_description`,children:z.jsx("span",{dangerouslySetInnerHTML:{__html:a(E)}})}),B&&z.jsx("div",{className:"de-em",id:`${e.viewId}_description`,dangerouslySetInnerHTML:{__html:a(B||"")}})]}),z.jsx(ah,{questions:e.questions})]})},Kb=()=>null;function Jb(r){return`answer_${r.key}_input`}function Qb(r,e,n){const a=new Set(r.value??[]),o=!a.has(e);return Xb(a,n,e,o),qb(a,n,e,o),o?a.add(e):a.delete(e),a.size===0?null:a}function Xb(r,e,n,a){e.checkAllOption&&(e.checkAllOption===n&&a&&e.children.filter(o=>o.type==="option").forEach(o=>{r.add(o.key)}),e.checkAllOption!==n&&!a&&r.delete(e.checkAllOption))}function qb(r,e,n,a){e.uncheckAllOption&&(e.uncheckAllOption===n&&a&&r.clear(),e.uncheckAllOption!==n&&a&&r.delete(e.uncheckAllOption))}var bn={};const ey=[["AF","AFG","004","ISO 3166-2:AF"],["AX","ALA","248","ISO 3166-2:AX"],["AL","ALB","008","ISO 3166-2:AL"],["DZ","DZA","012","ISO 3166-2:DZ"],["AS","ASM","016","ISO 3166-2:AS"],["AD","AND","020","ISO 3166-2:AD"],["AO","AGO","024","ISO 3166-2:AO"],["AI","AIA","660","ISO 3166-2:AI"],["AQ","ATA","010","ISO 3166-2:AQ"],["AG","ATG","028","ISO 3166-2:AG"],["AR","ARG","032","ISO 3166-2:AR"],["AM","ARM","051","ISO 3166-2:AM"],["AW","ABW","533","ISO 3166-2:AW"],["AU","AUS","036","ISO 3166-2:AU"],["AT","AUT","040","ISO 3166-2:AT"],["AZ","AZE","031","ISO 3166-2:AZ"],["BS","BHS","044","ISO 3166-2:BS"],["BH","BHR","048","ISO 3166-2:BH"],["BD","BGD","050","ISO 3166-2:BD"],["BB","BRB","052","ISO 3166-2:BB"],["BY","BLR","112","ISO 3166-2:BY"],["BE","BEL","056","ISO 3166-2:BE"],["BZ","BLZ","084","ISO 3166-2:BZ"],["BJ","BEN","204","ISO 3166-2:BJ"],["BM","BMU","060","ISO 3166-2:BM"],["BT","BTN","064","ISO 3166-2:BT"],["BO","BOL","068","ISO 3166-2:BO"],["BQ","BES","535","ISO 3166-2:BQ"],["BA","BIH","070","ISO 3166-2:BA"],["BW","BWA","072","ISO 3166-2:BW"],["BV","BVT","074","ISO 3166-2:BV"],["BR","BRA","076","ISO 3166-2:BR"],["IO","IOT","086","ISO 3166-2:IO"],["BN","BRN","096","ISO 3166-2:BN"],["BG","BGR","100","ISO 3166-2:BG"],["BF","BFA","854","ISO 3166-2:BF"],["BI","BDI","108","ISO 3166-2:BI"],["KH","KHM","116","ISO 3166-2:KH"],["CM","CMR","120","ISO 3166-2:CM"],["CA","CAN","124","ISO 3166-2:CA"],["CV","CPV","132","ISO 3166-2:CV"],["KY","CYM","136","ISO 3166-2:KY"],["CF","CAF","140","ISO 3166-2:CF"],["TD","TCD","148","ISO 3166-2:TD"],["CL","CHL","152","ISO 3166-2:CL"],["CN","CHN","156","ISO 3166-2:CN"],["CX","CXR","162","ISO 3166-2:CX"],["CC","CCK","166","ISO 3166-2:CC"],["CO","COL","170","ISO 3166-2:CO"],["KM","COM","174","ISO 3166-2:KM"],["CG","COG","178","ISO 3166-2:CG"],["CD","COD","180","ISO 3166-2:CD"],["CK","COK","184","ISO 3166-2:CK"],["CR","CRI","188","ISO 3166-2:CR"],["CI","CIV","384","ISO 3166-2:CI"],["HR","HRV","191","ISO 3166-2:HR"],["CU","CUB","192","ISO 3166-2:CU"],["CW","CUW","531","ISO 3166-2:CW"],["CY","CYP","196","ISO 3166-2:CY"],["CZ","CZE","203","ISO 3166-2:CZ"],["DK","DNK","208","ISO 3166-2:DK"],["DJ","DJI","262","ISO 3166-2:DJ"],["DM","DMA","212","ISO 3166-2:DM"],["DO","DOM","214","ISO 3166-2:DO"],["EC","ECU","218","ISO 3166-2:EC"],["EG","EGY","818","ISO 3166-2:EG"],["SV","SLV","222","ISO 3166-2:SV"],["GQ","GNQ","226","ISO 3166-2:GQ"],["ER","ERI","232","ISO 3166-2:ER"],["EE","EST","233","ISO 3166-2:EE"],["ET","ETH","231","ISO 3166-2:ET"],["FK","FLK","238","ISO 3166-2:FK"],["FO","FRO","234","ISO 3166-2:FO"],["FJ","FJI","242","ISO 3166-2:FJ"],["FI","FIN","246","ISO 3166-2:FI"],["FR","FRA","250","ISO 3166-2:FR"],["GF","GUF","254","ISO 3166-2:GF"],["PF","PYF","258","ISO 3166-2:PF"],["TF","ATF","260","ISO 3166-2:TF"],["GA","GAB","266","ISO 3166-2:GA"],["GM","GMB","270","ISO 3166-2:GM"],["GE","GEO","268","ISO 3166-2:GE"],["DE","DEU","276","ISO 3166-2:DE"],["GH","GHA","288","ISO 3166-2:GH"],["GI","GIB","292","ISO 3166-2:GI"],["GR","GRC","300","ISO 3166-2:GR"],["GL","GRL","304","ISO 3166-2:GL"],["GD","GRD","308","ISO 3166-2:GD"],["GP","GLP","312","ISO 3166-2:GP"],["GU","GUM","316","ISO 3166-2:GU"],["GT","GTM","320","ISO 3166-2:GT"],["GG","GGY","831","ISO 3166-2:GG"],["GN","GIN","324","ISO 3166-2:GN"],["GW","GNB","624","ISO 3166-2:GW"],["GY","GUY","328","ISO 3166-2:GY"],["HT","HTI","332","ISO 3166-2:HT"],["HM","HMD","334","ISO 3166-2:HM"],["VA","VAT","336","ISO 3166-2:VA"],["HN","HND","340","ISO 3166-2:HN"],["HK","HKG","344","ISO 3166-2:HK"],["HU","HUN","348","ISO 3166-2:HU"],["IS","ISL","352","ISO 3166-2:IS"],["IN","IND","356","ISO 3166-2:IN"],["ID","IDN","360","ISO 3166-2:ID"],["IR","IRN","364","ISO 3166-2:IR"],["IQ","IRQ","368","ISO 3166-2:IQ"],["IE","IRL","372","ISO 3166-2:IE"],["IM","IMN","833","ISO 3166-2:IM"],["IL","ISR","376","ISO 3166-2:IL"],["IT","ITA","380","ISO 3166-2:IT"],["JM","JAM","388","ISO 3166-2:JM"],["JP","JPN","392","ISO 3166-2:JP"],["JE","JEY","832","ISO 3166-2:JE"],["JO","JOR","400","ISO 3166-2:JO"],["KZ","KAZ","398","ISO 3166-2:KZ"],["KE","KEN","404","ISO 3166-2:KE"],["KI","KIR","296","ISO 3166-2:KI"],["KP","PRK","408","ISO 3166-2:KP"],["KR","KOR","410","ISO 3166-2:KR"],["KW","KWT","414","ISO 3166-2:KW"],["KG","KGZ","417","ISO 3166-2:KG"],["LA","LAO","418","ISO 3166-2:LA"],["LV","LVA","428","ISO 3166-2:LV"],["LB","LBN","422","ISO 3166-2:LB"],["LS","LSO","426","ISO 3166-2:LS"],["LR","LBR","430","ISO 3166-2:LR"],["LY","LBY","434","ISO 3166-2:LY"],["LI","LIE","438","ISO 3166-2:LI"],["LT","LTU","440","ISO 3166-2:LT"],["LU","LUX","442","ISO 3166-2:LU"],["MO","MAC","446","ISO 3166-2:MO"],["MK","MKD","807","ISO 3166-2:MK"],["MG","MDG","450","ISO 3166-2:MG"],["MW","MWI","454","ISO 3166-2:MW"],["MY","MYS","458","ISO 3166-2:MY"],["MV","MDV","462","ISO 3166-2:MV"],["ML","MLI","466","ISO 3166-2:ML"],["MT","MLT","470","ISO 3166-2:MT"],["MH","MHL","584","ISO 3166-2:MH"],["MQ","MTQ","474","ISO 3166-2:MQ"],["MR","MRT","478","ISO 3166-2:MR"],["MU","MUS","480","ISO 3166-2:MU"],["YT","MYT","175","ISO 3166-2:YT"],["MX","MEX","484","ISO 3166-2:MX"],["FM","FSM","583","ISO 3166-2:FM"],["MD","MDA","498","ISO 3166-2:MD"],["MC","MCO","492","ISO 3166-2:MC"],["MN","MNG","496","ISO 3166-2:MN"],["ME","MNE","499","ISO 3166-2:ME"],["MS","MSR","500","ISO 3166-2:MS"],["MA","MAR","504","ISO 3166-2:MA"],["MZ","MOZ","508","ISO 3166-2:MZ"],["MM","MMR","104","ISO 3166-2:MM"],["NA","NAM","516","ISO 3166-2:NA"],["NR","NRU","520","ISO 3166-2:NR"],["NP","NPL","524","ISO 3166-2:NP"],["NL","NLD","528","ISO 3166-2:NL"],["NC","NCL","540","ISO 3166-2:NC"],["NZ","NZL","554","ISO 3166-2:NZ"],["NI","NIC","558","ISO 3166-2:NI"],["NE","NER","562","ISO 3166-2:NE"],["NG","NGA","566","ISO 3166-2:NG"],["NU","NIU","570","ISO 3166-2:NU"],["NF","NFK","574","ISO 3166-2:NF"],["MP","MNP","580","ISO 3166-2:MP"],["NO","NOR","578","ISO 3166-2:NO"],["OM","OMN","512","ISO 3166-2:OM"],["PK","PAK","586","ISO 3166-2:PK"],["PW","PLW","585","ISO 3166-2:PW"],["PS","PSE","275","ISO 3166-2:PS"],["PA","PAN","591","ISO 3166-2:PA"],["PG","PNG","598","ISO 3166-2:PG"],["PY","PRY","600","ISO 3166-2:PY"],["PE","PER","604","ISO 3166-2:PE"],["PH","PHL","608","ISO 3166-2:PH"],["PN","PCN","612","ISO 3166-2:PN"],["PL","POL","616","ISO 3166-2:PL"],["PT","PRT","620","ISO 3166-2:PT"],["PR","PRI","630","ISO 3166-2:PR"],["QA","QAT","634","ISO 3166-2:QA"],["RE","REU","638","ISO 3166-2:RE"],["RO","ROU","642","ISO 3166-2:RO"],["RU","RUS","643","ISO 3166-2:RU"],["RW","RWA","646","ISO 3166-2:RW"],["BL","BLM","652","ISO 3166-2:BL"],["SH","SHN","654","ISO 3166-2:SH"],["KN","KNA","659","ISO 3166-2:KN"],["LC","LCA","662","ISO 3166-2:LC"],["MF","MAF","663","ISO 3166-2:MF"],["PM","SPM","666","ISO 3166-2:PM"],["VC","VCT","670","ISO 3166-2:VC"],["WS","WSM","882","ISO 3166-2:WS"],["SM","SMR","674","ISO 3166-2:SM"],["ST","STP","678","ISO 3166-2:ST"],["SA","SAU","682","ISO 3166-2:SA"],["SN","SEN","686","ISO 3166-2:SN"],["RS","SRB","688","ISO 3166-2:RS"],["SC","SYC","690","ISO 3166-2:SC"],["SL","SLE","694","ISO 3166-2:SL"],["SG","SGP","702","ISO 3166-2:SG"],["SX","SXM","534","ISO 3166-2:SX"],["SK","SVK","703","ISO 3166-2:SK"],["SI","SVN","705","ISO 3166-2:SI"],["SB","SLB","090","ISO 3166-2:SB"],["SO","SOM","706","ISO 3166-2:SO"],["ZA","ZAF","710","ISO 3166-2:ZA"],["GS","SGS","239","ISO 3166-2:GS"],["SS","SSD","728","ISO 3166-2:SS"],["ES","ESP","724","ISO 3166-2:ES"],["LK","LKA","144","ISO 3166-2:LK"],["SD","SDN","729","ISO 3166-2:SD"],["SR","SUR","740","ISO 3166-2:SR"],["SJ","SJM","744","ISO 3166-2:SJ"],["SZ","SWZ","748","ISO 3166-2:SZ"],["SE","SWE","752","ISO 3166-2:SE"],["CH","CHE","756","ISO 3166-2:CH"],["SY","SYR","760","ISO 3166-2:SY"],["TW","TWN","158","ISO 3166-2:TW"],["TJ","TJK","762","ISO 3166-2:TJ"],["TZ","TZA","834","ISO 3166-2:TZ"],["TH","THA","764","ISO 3166-2:TH"],["TL","TLS","626","ISO 3166-2:TL"],["TG","TGO","768","ISO 3166-2:TG"],["TK","TKL","772","ISO 3166-2:TK"],["TO","TON","776","ISO 3166-2:TO"],["TT","TTO","780","ISO 3166-2:TT"],["TN","TUN","788","ISO 3166-2:TN"],["TR","TUR","792","ISO 3166-2:TR"],["TM","TKM","795","ISO 3166-2:TM"],["TC","TCA","796","ISO 3166-2:TC"],["TV","TUV","798","ISO 3166-2:TV"],["UG","UGA","800","ISO 3166-2:UG"],["UA","UKR","804","ISO 3166-2:UA"],["AE","ARE","784","ISO 3166-2:AE"],["GB","GBR","826","ISO 3166-2:GB"],["US","USA","840","ISO 3166-2:US"],["UM","UMI","581","ISO 3166-2:UM"],["UY","URY","858","ISO 3166-2:UY"],["UZ","UZB","860","ISO 3166-2:UZ"],["VU","VUT","548","ISO 3166-2:VU"],["VE","VEN","862","ISO 3166-2:VE"],["VN","VNM","704","ISO 3166-2:VN"],["VG","VGB","092","ISO 3166-2:VG"],["VI","VIR","850","ISO 3166-2:VI"],["WF","WLF","876","ISO 3166-2:WF"],["EH","ESH","732","ISO 3166-2:EH"],["YE","YEM","887","ISO 3166-2:YE"],["ZM","ZMB","894","ISO 3166-2:ZM"],["ZW","ZWE","716","ISO 3166-2:ZW"],["XK","XKX","","ISO 3166-2:XK"]];var hd={};hd.remove=ty;for(var gd=[{base:" ",chars:" "},{base:"0",chars:"߀"},{base:"A",chars:"ⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"},{base:"AA",chars:"Ꜳ"},{base:"AE",chars:"ÆǼǢ"},{base:"AO",chars:"Ꜵ"},{base:"AU",chars:"Ꜷ"},{base:"AV",chars:"ꜸꜺ"},{base:"AY",chars:"Ꜽ"},{base:"B",chars:"ⒷBḂḄḆɃƁ"},{base:"C",chars:"ⒸCꜾḈĆCĈĊČÇƇȻ"},{base:"D",chars:"ⒹDḊĎḌḐḒḎĐƊƉᴅꝹ"},{base:"Dh",chars:"Ð"},{base:"DZ",chars:"DZDŽ"},{base:"Dz",chars:"DzDž"},{base:"E",chars:"ɛⒺEÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎᴇ"},{base:"F",chars:"ꝼⒻFḞƑꝻ"},{base:"G",chars:"ⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾɢ"},{base:"H",chars:"ⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ"},{base:"I",chars:"ⒾIÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ"},{base:"J",chars:"ⒿJĴɈȷ"},{base:"K",chars:"ⓀKḰǨḲĶḴƘⱩꝀꝂꝄꞢ"},{base:"L",chars:"ⓁLĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ"},{base:"LJ",chars:"LJ"},{base:"Lj",chars:"Lj"},{base:"M",chars:"ⓂMḾṀṂⱮƜϻ"},{base:"N",chars:"ꞤȠⓃNǸŃÑṄŇṆŅṊṈƝꞐᴎ"},{base:"NJ",chars:"NJ"},{base:"Nj",chars:"Nj"},{base:"O",chars:"ⓄOÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ"},{base:"OE",chars:"Œ"},{base:"OI",chars:"Ƣ"},{base:"OO",chars:"Ꝏ"},{base:"OU",chars:"Ȣ"},{base:"P",chars:"ⓅPṔṖƤⱣꝐꝒꝔ"},{base:"Q",chars:"ⓆQꝖꝘɊ"},{base:"R",chars:"ⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"},{base:"S",chars:"ⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"},{base:"T",chars:"ⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ"},{base:"Th",chars:"Þ"},{base:"TZ",chars:"Ꜩ"},{base:"U",chars:"ⓊUÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"},{base:"V",chars:"ⓋVṼṾƲꝞɅ"},{base:"VY",chars:"Ꝡ"},{base:"W",chars:"ⓌWẀẂŴẆẄẈⱲ"},{base:"X",chars:"ⓍXẊẌ"},{base:"Y",chars:"ⓎYỲÝŶỸȲẎŸỶỴƳɎỾ"},{base:"Z",chars:"ⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ"},{base:"a",chars:"ⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐɑ"},{base:"aa",chars:"ꜳ"},{base:"ae",chars:"æǽǣ"},{base:"ao",chars:"ꜵ"},{base:"au",chars:"ꜷ"},{base:"av",chars:"ꜹꜻ"},{base:"ay",chars:"ꜽ"},{base:"b",chars:"ⓑbḃḅḇƀƃɓƂ"},{base:"c",chars:"cⓒćĉċčçḉƈȼꜿↄ"},{base:"d",chars:"ⓓdḋďḍḑḓḏđƌɖɗƋᏧԁꞪ"},{base:"dh",chars:"ð"},{base:"dz",chars:"dzdž"},{base:"e",chars:"ⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇǝ"},{base:"f",chars:"ⓕfḟƒ"},{base:"ff",chars:"ff"},{base:"fi",chars:"fi"},{base:"fl",chars:"fl"},{base:"ffi",chars:"ffi"},{base:"ffl",chars:"ffl"},{base:"g",chars:"ⓖgǵĝḡğġǧģǥɠꞡꝿᵹ"},{base:"h",chars:"ⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ"},{base:"hv",chars:"ƕ"},{base:"i",chars:"ⓘiìíîĩīĭïḯỉǐȉȋịįḭɨı"},{base:"j",chars:"ⓙjĵǰɉ"},{base:"k",chars:"ⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ"},{base:"l",chars:"ⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇɭ"},{base:"lj",chars:"lj"},{base:"m",chars:"ⓜmḿṁṃɱɯ"},{base:"n",chars:"ⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥлԉ"},{base:"nj",chars:"nj"},{base:"o",chars:"ⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿꝋꝍɵɔᴑ"},{base:"oe",chars:"œ"},{base:"oi",chars:"ƣ"},{base:"oo",chars:"ꝏ"},{base:"ou",chars:"ȣ"},{base:"p",chars:"ⓟpṕṗƥᵽꝑꝓꝕρ"},{base:"q",chars:"ⓠqɋꝗꝙ"},{base:"r",chars:"ⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ"},{base:"s",chars:"ⓢsśṥŝṡšṧṣṩșşȿꞩꞅẛʂ"},{base:"ss",chars:"ß"},{base:"t",chars:"ⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ"},{base:"th",chars:"þ"},{base:"tz",chars:"ꜩ"},{base:"u",chars:"ⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"},{base:"v",chars:"ⓥvṽṿʋꝟʌ"},{base:"vy",chars:"ꝡ"},{base:"w",chars:"ⓦwẁẃŵẇẅẘẉⱳ"},{base:"x",chars:"ⓧxẋẍ"},{base:"y",chars:"ⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ"},{base:"z",chars:"ⓩzźẑżžẓẕƶȥɀⱬꝣ"}],af={},md=0;md<gd.length;md+=1)for(var ch=gd[md].chars,of=0;of<ch.length;of+=1)af[ch[of]]=gd[md].base;function ty(r){return r.replace(/[^\u0000-\u007e]/g,function(e){return af[e]||e})}hd.replacementList=gd,hd.diacriticsMap=af;var ny=ey,dh=hd.remove,Ru={},vd={},bd={},wc={},sf={};ny.forEach(function(r){var e=r;vd[e[0]]=e[1],bd[e[1]]=e[0],wc[e[2]]=e[0],sf[e[0]]=e[2]});function fh(r){return("000"+(r||"")).slice(-3)}function ry(r){if(!r.locale)throw new TypeError("Missing localeData.locale");if(!r.countries)throw new TypeError("Missing localeData.countries");Ru[r.locale]=r.countries}bn.registerLocale=ry;function lf(r){return bd[r]}bn.alpha3ToAlpha2=lf;function uf(r){return vd[r]}bn.alpha2ToAlpha3=uf;function iy(r){return sf[lf(r)]}bn.alpha3ToNumeric=iy;function ay(r){return sf[r]}bn.alpha2ToNumeric=ay;function cf(r){var e=fh(r);return uf(wc[e])}bn.numericToAlpha3=cf;function df(r){var e=fh(r);return wc[e]}bn.numericToAlpha2=df;function oy(r){if(typeof r=="string"){if(/^[0-9]*$/.test(r))return cf(r);if(r.length===2)return uf(r.toUpperCase());if(r.length===3)return r.toUpperCase()}if(typeof r=="number")return cf(r)}bn.toAlpha3=oy;function ph(r){if(typeof r=="string"){if(/^[0-9]*$/.test(r))return df(r);if(r.length===2)return r.toUpperCase();if(r.length===3)return lf(r.toUpperCase())}if(typeof r=="number")return df(r)}bn.toAlpha2=ph,bn.getName=function(r,e){try{var n=Ru[e.toLowerCase()];return n[ph(r)]}catch{return}},bn.getNames=function(r){var e=Ru[r.toLowerCase()];return e===void 0?{}:e},bn.getAlpha2Code=function(r,e){try{var n,a=Ru[e.toLowerCase()];for(n in a)if(a.hasOwnProperty(n)&&a[n].toLowerCase()===r.toLowerCase())return n;return}catch{return}},bn.getSimpleAlpha2Code=function(r,e){try{var n,a=Ru[e.toLowerCase()];for(n in a)if(a.hasOwnProperty(n)&&dh(a[n].toLowerCase())===dh(r.toLowerCase()))return n;return}catch{return}},bn.getAlpha2Codes=function(){return vd},bn.getAlpha3Code=function(r,e){var n=this.getAlpha2Code(r,e);if(n)return this.toAlpha3(n)},bn.getSimpleAlpha3Code=function(r,e){var n=this.getSimpleAlpha2Code(r,e);if(n)return this.toAlpha3(n)},bn.getAlpha3Codes=function(){return bd},bn.getNumericCodes=function(){return wc},bn.langs=function(){return Object.keys(Ru)},bn.isValid=function(r){if(!r)return!1;var e=r.toString().toUpperCase();return bd.hasOwnProperty(e)||vd.hasOwnProperty(e)||wc.hasOwnProperty(e)};const sy={locale:"de",countries:{AF:"Afghanistan",EG:"Ägypten",AX:"Åland",AL:"Albanien",DZ:"Algerien",AS:"Amerikanisch-Samoa",VI:"Amerikanische Jungferninseln",AD:"Andorra",AO:"Angola",AI:"Anguilla",AQ:"Antarktis",AG:"Antigua und Barbuda",GQ:"Äquatorialguinea",AR:"Argentinien",AM:"Armenien",AW:"Aruba",AZ:"Aserbaidschan",ET:"Äthiopien",AU:"Australien",BS:"Bahamas",BH:"Bahrain",BD:"Bangladesch",BB:"Barbados",BY:"Weißrussland",BE:"Belgien",BZ:"Belize",BJ:"Benin",BM:"Bermuda",BT:"Bhutan",BO:"Bolivien",BQ:"Bonaire",BA:"Bosnien und Herzegowina",BW:"Botswana",BV:"Bouvetinsel",BR:"Brasilien",VG:"Britische Jungferninseln",IO:"Britisches Territorium im Indischen Ozean",BN:"Brunei Darussalam",BG:"Bulgarien",BF:"Burkina Faso",BI:"Burundi",CL:"Chile",CN:"Festlandchina",CK:"Cookinseln",CR:"Costa Rica",CI:"Elfenbeinküste",CW:"Curaçao",DK:"Dänemark",DE:"Deutschland",DM:"Dominica",DO:"Dominikanische Republik",DJ:"Dschibuti",EC:"Ecuador",SV:"El Salvador",ER:"Eritrea",EE:"Estland",FK:"Falklandinseln",FO:"Färöer",FJ:"Fidschi",FI:"Finnland",FR:"Frankreich",GF:"Französisch-Guayana",PF:"Französisch-Polynesien",TF:"Französische Süd- und Antarktisgebiete",GA:"Gabun",GM:"Gambia",GE:"Georgien",GH:"Ghana",GI:"Gibraltar",GD:"Grenada",GR:"Griechenland",GL:"Grönland",GP:"Guadeloupe",GU:"Guam",GT:"Guatemala",GG:"Guernsey",GN:"Guinea",GW:"Guinea-Bissau",GY:"Guyana",HT:"Haiti",HM:"Heard und McDonaldinseln",HN:"Honduras",HK:"SAR Hong Kong",IN:"Indien",ID:"Indonesien",IM:"Insel Man",IQ:"Irak",IR:"Iran",IE:"Irland",IS:"Island",IL:"Israel",IT:"Italien",JM:"Jamaika",JP:"Japan",YE:"Jemen",JE:"Jersey",JO:"Jordanien",KY:"Kaimaninseln",KH:"Kambodscha",CM:"Kamerun",CA:"Kanada",CV:"Kap Verde",KZ:"Kasachstan",QA:"Katar",KE:"Kenia",KG:"Kirgisistan",KI:"Kiribati",CC:"Kokosinseln",CO:"Kolumbien",KM:"Komoren",CD:"Kongo",KP:"Nordkorea",KR:"Südkorea",HR:"Kroatien",CU:"Kuba",KW:"Kuwait",LA:"Laos",LS:"Lesotho",LV:"Lettland",LB:"Libanon",LR:"Liberia",LY:"Libyen",LI:"Liechtenstein",LT:"Litauen",LU:"Luxemburg",MO:"SAR Macau",MG:"Madagaskar",MW:"Malawi",MY:"Malaysia",MV:"Malediven",ML:"Mali",MT:"Malta",MA:"Marokko",MH:"Marshallinseln",MQ:"Martinique",MR:"Mauretanien",MU:"Mauritius",YT:"Mayotte",MX:"Mexiko",FM:"Mikronesien",MD:"Moldawien",MC:"Monaco",MN:"Mongolei",ME:"Montenegro",MS:"Montserrat",MZ:"Mosambik",MM:"Myanmar",NA:"Namibia",NR:"Nauru",NP:"Nepal",NC:"Neukaledonien",NZ:"Neuseeland",NI:"Nicaragua",NL:"Niederlande",NE:"Niger",NG:"Nigeria",NU:"Niue",MK:"Nordmazedonien",MP:"Nördliche Marianen",NF:"Norfolkinsel",NO:"Norwegen",OM:"Oman",AT:"Österreich",TL:"Osttimor",PK:"Pakistan",PS:"Staat Palästina",PW:"Palau",PA:"Panama",PG:"Papua-Neuguinea",PY:"Paraguay",PE:"Peru",PH:"Philippinen",PN:"Pitcairninseln",PL:"Polen",PT:"Portugal",PR:"Puerto Rico",TW:"Taiwan Region",CG:"Republik Kongo",RE:"Réunion",RW:"Ruanda",RO:"Rumänien",RU:"Russische Föderation",BL:"Saint-Barthélemy",MF:"Saint-Martin",SB:"Salomonen",ZM:"Sambia",WS:"Samoa",SM:"San Marino",ST:"São Tomé und Príncipe",SA:"Saudi-Arabien",SE:"Schweden",CH:"Schweiz",SN:"Senegal",RS:"Serbien",SC:"Seychellen",SL:"Sierra Leone",ZW:"Simbabwe",SG:"Singapur",SX:"Sint Maarten",SK:"Slowakei",SI:"Slowenien",SO:"Somalia",ES:"Spanien",LK:"Sri Lanka",SH:"St. Helena",KN:"St. Kitts und Nevis",LC:"St. Lucia",PM:"Saint-Pierre und Miquelon",VC:"St. Vincent und die Grenadinen",ZA:"Südafrika",SD:"Sudan",GS:"Südgeorgien und die Südlichen Sandwichinseln",SS:"Südsudan",SR:"Suriname",SJ:"Svalbard und Jan Mayen",SZ:"Swasiland",SY:"Syrien, Arabische Republik",TJ:"Tadschikistan",TZ:"Tansania, Vereinigte Republik",TH:"Thailand",TG:"Togo",TK:"Tokelau",TO:"Tonga",TT:"Trinidad und Tobago",TD:"Tschad",CZ:"Tschechische Republik",TN:"Tunesien",TR:"Türkei",TM:"Turkmenistan",TC:"Turks- und Caicosinseln",TV:"Tuvalu",UG:"Uganda",UA:"Ukraine",HU:"Ungarn",UM:"United States Minor Outlying Islands",UY:"Uruguay",UZ:"Usbekistan",VU:"Vanuatu",VA:"Vatikanstadt",VE:"Venezuela",AE:"Vereinigte Arabische Emirate",US:"Vereinigte Staaten von Amerika",GB:"Vereinigtes Königreich",VN:"Vietnam",WF:"Wallis und Futuna",CX:"Weihnachtsinsel",EH:"Westsahara",CF:"Zentralafrikanische Republik",CY:"Zypern",XK:"Kosovo"}},ly={locale:"en",countries:{AF:"Afghanistan",AL:"Albania",DZ:"Algeria",AS:"American Samoa",AD:"Andorra",AO:"Angola",AI:"Anguilla",AQ:"Antarctica",AG:"Antigua and Barbuda",AR:"Argentina",AM:"Armenia",AW:"Aruba",AU:"Australia",AT:"Austria",AZ:"Azerbaijan",BS:"Bahamas",BH:"Bahrain",BD:"Bangladesh",BB:"Barbados",BY:"Belarus",BE:"Belgium",BZ:"Belize",BJ:"Benin",BM:"Bermuda",BT:"Bhutan",BO:"Bolivia",BA:"Bosnia and Herzegovina",BW:"Botswana",BV:"Bouvet Island",BR:"Brazil",IO:"British Indian Ocean Territory",BN:"Brunei Darussalam",BG:"Bulgaria",BF:"Burkina Faso",BI:"Burundi",KH:"Cambodia",CM:"Cameroon",CA:"Canada",CV:"Cape Verde",KY:"Cayman Islands",CF:"Central African Republic",TD:"Chad",CL:"Chile",CN:"China Mainland",CX:"Christmas Island",CC:"Cocos (Keeling) Islands",CO:"Colombia",KM:"Comoros",CG:"Congo",CD:"Congo, the Democratic Republic of the",CK:"Cook Islands",CR:"Costa Rica",CI:"Cote D'Ivoire",HR:"Croatia",CU:"Cuba",CY:"Cyprus",CZ:"Czech Republic",DK:"Denmark",DJ:"Djibouti",DM:"Dominica",DO:"Dominican Republic",EC:"Ecuador",EG:"Egypt",SV:"El Salvador",GQ:"Equatorial Guinea",ER:"Eritrea",EE:"Estonia",ET:"Ethiopia",FK:"Falkland Islands (Malvinas)",FO:"Faroe Islands",FJ:"Fiji",FI:"Finland",FR:"France",GF:"French Guiana",PF:"French Polynesia",TF:"French Southern Territories",GA:"Gabon",GM:"Gambia",GE:"Georgia",DE:"Germany",GH:"Ghana",GI:"Gibraltar",GR:"Greece",GL:"Greenland",GD:"Grenada",GP:"Guadeloupe",GU:"Guam",GT:"Guatemala",GN:"Guinea",GW:"Guinea-Bissau",GY:"Guyana",HT:"Haiti",HM:"Heard Island and Mcdonald Islands",VA:"Holy See (Vatican City State)",HN:"Honduras",HK:"Hong Kong SAR",HU:"Hungary",IS:"Iceland",IN:"India",ID:"Indonesia",IR:"Iran, Islamic Republic of",IQ:"Iraq",IE:"Ireland",IL:"Israel",IT:"Italy",JM:"Jamaica",JP:"Japan",JO:"Jordan",KZ:"Kazakhstan",KE:"Kenya",KI:"Kiribati",KP:"North Korea",KR:"South Korea",KW:"Kuwait",KG:"Kyrgyzstan",LA:"Lao People's Democratic Republic",LV:"Latvia",LB:"Lebanon",LS:"Lesotho",LR:"Liberia",LY:"Libya",LI:"Liechtenstein",LT:"Lithuania",LU:"Luxembourg",MO:"Macau SAR",MG:"Madagascar",MW:"Malawi",MY:"Malaysia",MV:"Maldives",ML:"Mali",MT:"Malta",MH:"Marshall Islands",MQ:"Martinique",MR:"Mauritania",MU:"Mauritius",YT:"Mayotte",MX:"Mexico",FM:"Micronesia, Federated States of",MD:"Moldova, Republic of",MC:"Monaco",MN:"Mongolia",MS:"Montserrat",MA:"Morocco",MZ:"Mozambique",MM:"Myanmar",NA:"Namibia",NR:"Nauru",NP:"Nepal",NL:"Netherlands",NC:"New Caledonia",NZ:"New Zealand",NI:"Nicaragua",NE:"Niger",NG:"Nigeria",NU:"Niue",NF:"Norfolk Island",MK:"North Macedonia, Republic of",MP:"Northern Mariana Islands",NO:"Norway",OM:"Oman",PK:"Pakistan",PW:"Palau",PS:"Palestinian Territory",PA:"Panama",PG:"Papua New Guinea",PY:"Paraguay",PE:"Peru",PH:"Philippines",PN:"Pitcairn",PL:"Poland",PT:"Portugal",PR:"Puerto Rico",QA:"Qatar",RE:"Reunion",RO:"Romania",RU:"Russian Federation",RW:"Rwanda",SH:"Saint Helena",KN:"Saint Kitts and Nevis",LC:"Saint Lucia",PM:"Saint Pierre and Miquelon",VC:"Saint Vincent and the Grenadines",WS:"Samoa",SM:"San Marino",ST:"Sao Tome and Principe",SA:"Kingdom of Saudi Arabia",SN:"Senegal",SC:"Seychelles",SL:"Sierra Leone",SG:"Singapore",SK:"Slovakia",SI:"Slovenia",SB:"Solomon Islands",SO:"Somalia",ZA:"South Africa",GS:"South Georgia and the South Sandwich Islands",ES:"Spain",LK:"Sri Lanka",SD:"Sudan",SR:"Suriname",SJ:"Svalbard and Jan Mayen",SZ:"Swaziland",SE:"Sweden",CH:"Switzerland",SY:"Syrian Arab Republic",TW:"Taiwan Region",TJ:"Tajikistan",TZ:"Tanzania, United Republic of",TH:"Thailand",TL:"Timor-Leste",TG:"Togo",TK:"Tokelau",TO:"Tonga",TT:"Trinidad and Tobago",TN:"Tunisia",TR:"Turkey",TM:"Turkmenistan",TC:"Turks and Caicos Islands",TV:"Tuvalu",UG:"Uganda",UA:"Ukraine",AE:"United Arab Emirates",GB:"United Kingdom",US:"United States of America",UM:"United States Minor Outlying Islands",UY:"Uruguay",UZ:"Uzbekistan",VU:"Vanuatu",VE:"Venezuela",VN:"Viet Nam",VG:"Virgin Islands, British",VI:"Virgin Islands, U.S.",WF:"Wallis and Futuna",EH:"Western Sahara",YE:"Yemen",ZM:"Zambia",ZW:"Zimbabwe",AX:"Åland Islands",BQ:"Bonaire, Sint Eustatius and Saba",CW:"Curaçao",GG:"Guernsey",IM:"Isle of Man",JE:"Jersey",ME:"Montenegro",BL:"Saint Barthélemy",MF:"Saint Martin (French part)",RS:"Serbia",SX:"Sint Maarten (Dutch part)",SS:"South Sudan",XK:"Kosovo"}},uy={locale:"nl",countries:{AF:"Afghanistan",AL:"Albanië",DZ:"Algerije",AS:"Amerikaans-Samoa",AD:"Andorra",AO:"Angola",AI:"Anguilla",AQ:"Antarctica",AG:"Antigua en Barbuda",AR:"Argentinië",AM:"Armenië",AW:"Aruba",AU:"Australië",AT:"Oostenrijk",AZ:"Azerbeidzjan",BS:"Bahama's",BH:"Bahrein",BD:"Bangladesh",BB:"Barbados",BY:"Wit-Rusland",BE:"België",BZ:"Belize",BJ:"Benin",BM:"Bermuda",BT:"Bhutan",BO:"Bolivië",BA:"Bosnië-Herzegovina",BW:"Botswana",BV:"Bouvet Eiland",BR:"Brazilië",IO:"Brits Indische oceaan",BN:"Brunei Darussalam",BG:"Bulgarije",BF:"Burkina Faso",BI:"Burundi",KH:"Cambodja",CM:"Kameroen",CA:"Canada",CV:"Kaapverdië",KY:"Kaaimaneilanden",CF:"Centraal-Afrikaanse Republiek",TD:"Tsjaad",CL:"Chili",CN:"Vasteland van China",CX:"Christmaseiland",CC:"Cocoseilanden",CO:"Colombia",KM:"Comoren",CG:"Congo, Volksrepubliek",CD:"Congo, Democratische Republiek",CK:"Cookeilanden",CR:"Costa Rica",CI:"Ivoorkust",HR:"Kroatië",CU:"Cuba",CY:"Cyprus",CZ:"Tsjechië",DK:"Denemarken",DJ:"Djibouti",DM:"Dominica",DO:"Dominicaanse Republiek",EC:"Ecuador",EG:"Egypte",SV:"El Salvador",GQ:"Equatoriaal-Guinea",ER:"Eritrea",EE:"Estland",ET:"Ethiopië",FK:"Falklandeilanden",FO:"Faeröer",FJ:"Fiji",FI:"Finland",FR:"Frankrijk",GF:"Frans-Guyana",PF:"Frans-Polynesië",TF:"Franse Zuidelijke Gebieden",GA:"Gabon",GM:"Gambia",GE:"Georgië",DE:"Duitsland",GH:"Ghana",GI:"Gibraltar",GR:"Griekenland",GL:"Groenland",GD:"Grenada",GP:"Guadeloupe",GU:"Guam",GT:"Guatemala",GN:"Guinea",GW:"Guinee-Bissau",GY:"Guyana",HT:"Haïti",HM:"Heard en McDonaldeilanden",VA:"Heilige Stoel",HN:"Honduras",HK:"Hongkong SAR",HU:"Hongarije",IS:"IJsland",IN:"India",ID:"Indonesia",IR:"Iran",IQ:"Irak",IE:"Ierland",IL:"Israël",IT:"Italië",JM:"Jamaica",JP:"Japan",JO:"Jordanië",KZ:"Kazachstan",KE:"Kenia",KI:"Kiribati",KP:"Noord-Korea",KR:"Zuid-Korea",KW:"Koeweit",KG:"Kirgizstan",LA:"Laos",LV:"Letland",LB:"Libanon",LS:"Lesotho",LR:"Liberia",LY:"Libië",LI:"Liechtenstein",LT:"Litouwen",LU:"Luxemburg",MO:"Macau SAR",MG:"Madagaskar",MW:"Malawi",MY:"Maleisië",MV:"Maldiven",ML:"Mali",MT:"Malta",MH:"Marshalleilanden",MQ:"Martinique",MR:"Mauritanië",MU:"Mauritius",YT:"Mayotte",MX:"Mexico",FM:"Micronesië, Federale Staten",MD:"Moldavië",MC:"Monaco",MN:"Mongolië",MS:"Montserrat",MA:"Marokko",MZ:"Mozambique",MM:"Myanmar",NA:"Namibië",NR:"Nauru",NP:"Nepal",NL:"Nederland",NC:"Nieuw-Caledonië",NZ:"Nieuw-Zeeland",NI:"Nicaragua",NE:"Niger",NG:"Nigeria",NU:"Niue",NF:"Norfolk",MP:"Noordelijke Marianen",MK:"Noord-Macedonië",NO:"Noorwegen",OM:"Oman",PK:"Pakistan",PW:"Palau",PS:"Palestina",PA:"Panama",PG:"Papoea-Nieuw-Guinea",PY:"Paraguay",PE:"Peru",PH:"Filipijnen",PN:"Pitcairn",PL:"Polen",PT:"Portugal",PR:"Puerto Rico",QA:"Qatar",RE:"Réunion",RO:"Roemenië",RU:"Rusland",RW:"Rwanda",SH:"Sint-Helena",KN:"Saint Kitts en Nevis",LC:"Saint Lucia",PM:"Saint-Pierre en Miquelon",VC:"Saint Vincent en de Grenadines",WS:"Samoa",SM:"San Marino",ST:"São Tomé en Principe",SA:"Saudi-Arabië",SN:"Senegal",SC:"Seychellen",SL:"Sierra Leone",SG:"Singapore",SK:"Slowakije",SI:"Slovenië",SB:"Salomonseilanden",SO:"Somalië",ZA:"Zuid-Afrika",GS:"Zuid-Georgia en de Zuidelijke Sandwicheilanden",ES:"Spanje",LK:"Sri Lanka",SD:"Soedan",SR:"Suriname",SJ:"Spitsbergen en Jan Mayen",SZ:"Ngwane, Koninkrijk Swaziland",SE:"Zweden",CH:"Zwitserland",SY:"Syrië",TW:"Regio Taiwan",TJ:"Tadzjikistan",TZ:"Tanzania, Verenigde Republiek",TH:"Thailand",TL:"Timor Leste",TG:"Togo",TK:"Tokelau",TO:"Tonga",TT:"Trinidad en Tobago",TN:"Tunesië",TR:"Turkije",TM:"Turkmenistan",TC:"Turks- en Caicoseilanden",TV:"Tuvalu",UG:"Oeganda",UA:"Oekraïne",AE:"Verenigde Arabische Emiraten",GB:"Verenigd Koninkrijk",US:"Verenigde Staten van Amerika",UM:"Ver afgelegen eilandjes van de Verenigde Staten",UY:"Uruguay",UZ:"Oezbekistan",VU:"Vanuatu",VE:"Venezuela",VN:"Vietnam",VG:"Maagdeneilanden, Britse",VI:"Maagdeneilanden, Amerikaanse",WF:"Wallis en Futuna",EH:"Westelijke Sahara",YE:"Jemen",ZM:"Zambia",ZW:"Zimbabwe",AX:"Åland",BQ:"Bonaire, Sint Eustatius en Saba",CW:"Curaçao",GG:"Guernsey",IM:"Man Eiland",JE:"Jersey",ME:"Montenegro",BL:"Saint Barthélemy",MF:"Sint-Maarten (Frans deel)",RS:"Servië",SX:"Sint Maarten (Nederlands deel)",SS:"Zuid-Soedan",XK:"Kosovo"}};dy();const cy=({question:r,fieldState:e,setQuestionRef:n})=>{const a=On("fields",r.presentation!=="horizontal"?"options":null),o=v=>{e.setValue(v.target.value.length!==0?v.target.value:null)},{t:d}=Os();return z.jsxs(Oi,{question:r,fieldState:e,setQuestionRef:n,children:[z.jsx(Ii,{question:r}),z.jsxs("div",{className:"description-and-fields",children:[z.jsx(Ai,{question:r}),z.jsx("div",{className:a,id:fy(r),children:z.jsxs("select",{value:e.value??"",onChange:o,onFocus:e.setAsActiveQuestion,disabled:e.disabled,children:[z.jsx("option",{value:"",children:d("choose_a_country")}),z.jsx(py,{lang:cr.language})]})})]})]})};function dy(){bn.registerLocale(uy),bn.registerLocale(ly),bn.registerLocale(sy)}function fy(r){return`answer_${r.key}_input`}const py=Me.memo(r=>z.jsx(z.Fragment,{children:hy(r.lang).map(e=>z.jsx(gy,{option:e},e.numeric))}));function hy(r){return Object.entries(bn.getNames(r)).sort(([e,n],[a,o])=>n.localeCompare(o)).map(([e,n])=>({country:n,numeric:bn.alpha2ToNumeric(e).toString()}))}const gy=({option:r})=>z.jsx("option",{value:r.numeric??"",children:r.country}),my=({question:r,fieldState:e,setQuestionRef:n})=>{const{t:a}=Os(),o=vy(r,e.value??null),d=(v,x)=>{e.setValue(by(r,o.set(v,x)))};return z.jsxs(Oi,{question:r,fieldState:e,setQuestionRef:n,children:[z.jsx(Ii,{question:r}),z.jsxs("div",{className:"description-and-fields",children:[z.jsx(Ai,{question:r}),z.jsx("div",{className:"fields",id:yy(r),children:r.units.map(v=>z.jsxs(Me.Fragment,{children:[z.jsx("input",{type:"text",value:(o==null?void 0:o.get(v))||"",size:r.size,disabled:e.disabled,onChange:x=>d(v,parseInt(x.target.value)),onFocus:e.setAsActiveQuestion}),z.jsx("span",{className:"mx-1",children:a(`units.${v}`,{defaultValue:v})})]},v))})]})]})};function vy(r,e){if(e==null)return new Map;const n=new Map;for(const a of r.units){const o=r.conversions[a]||1,d=Math.trunc(e/o);n.set(a,d),e=e%o}return n}function by(r,e){return[...e.values()].every(n=>n===void 0)?null:r.units.reduce((n,a)=>n+(e.get(a)||0)*(r.conversions[a]||1),0)}function yy(r){return`answer_${r.key}_input`}const hh=({fieldKey:r})=>{const{questionnaire:e,response:n,setQuestionRef:a,displayOptions:o}=Me.useContext(Kd),d=e.getField(r);switch(d.as){case"string":{const v=n.getFieldState(r);return v.hidden?null:z.jsx(Zv,{question:d,fieldState:v,setQuestionRef:a})}case"country_select":{const v=n.getFieldState(r);return v.hidden?null:z.jsx(cy,{question:d,fieldState:v,setQuestionRef:a})}case"scale":{const v=n.getFieldState(r);return v.hidden?null:z.jsx(Kv,{question:d,fieldState:v,setQuestionRef:a})}case"radio":{const v=n.getFieldState(r);return v.hidden?null:z.jsx(eb,{question:d,fieldState:v,setQuestionRef:a})}case"select":{const v=n.getFieldState(r);return v.hidden?null:z.jsx(ab,{question:d,fieldState:v,setQuestionRef:a})}case"date_parts":{const v=n.getFieldState(r);return v.hidden?null:z.jsx(lb,{question:d,fieldState:v,setQuestionRef:a})}case"integer":{const v=n.getFieldState(r);return v.hidden?null:z.jsx(cb,{question:d,fieldState:v,setQuestionRef:a})}case"float":{const v=n.getFieldState(r);return v.hidden?null:z.jsx(fb,{question:d,fieldState:v,setQuestionRef:a})}case"slider":{const v=n.getFieldState(r);return v.hidden?null:o.newLayout?z.jsx(xb,{question:d,fieldState:v,setQuestionRef:a}):z.jsx(Lb,{question:d,fieldState:v,setQuestionRef:a})}case"split_to_units":{const v=n.getFieldState(r);return v.hidden?null:z.jsx(my,{question:d,fieldState:v,setQuestionRef:a})}case"textarea":{const v=n.getFieldState(r);return v.hidden?null:z.jsx($b,{question:d,fieldState:v,setQuestionRef:a})}case"check_box":{const v=n.getFieldState(r);return v.hidden?null:z.jsx(Zb,{question:d,fieldState:v,setQuestionRef:a})}}throw new Error("unknown question type")};var ff=new Map,yd=new WeakMap,gh=0,wy=void 0;function xy(r){return r?(yd.has(r)||(gh+=1,yd.set(r,gh.toString())),yd.get(r)):"0"}function Sy(r){return Object.keys(r).sort().filter(e=>r[e]!==void 0).map(e=>`${e}_${e==="root"?xy(r.root):r[e]}`).toString()}function ky(r){const e=Sy(r);let n=ff.get(e);if(!n){const a=new Map;let o;const d=new IntersectionObserver(v=>{v.forEach(x=>{var w;const E=x.isIntersecting&&o.some(B=>x.intersectionRatio>=B);r.trackVisibility&&typeof x.isVisible>"u"&&(x.isVisible=E),(w=a.get(x.target))==null||w.forEach(B=>{B(E,x)})})},r);o=d.thresholds||(Array.isArray(r.threshold)?r.threshold:[r.threshold||0]),n={id:e,observer:d,elements:a},ff.set(e,n)}return n}function _y(r,e,n={},a=wy){if(typeof window.IntersectionObserver>"u"&&a!==void 0){const w=r.getBoundingClientRect();return e(a,{isIntersecting:a,target:r,intersectionRatio:typeof n.threshold=="number"?n.threshold:0,time:0,boundingClientRect:w,intersectionRect:w,rootBounds:w}),()=>{}}const{id:o,observer:d,elements:v}=ky(n),x=v.get(r)||[];return v.has(r)||v.set(r,x),x.push(e),d.observe(r),function(){x.splice(x.indexOf(e),1),x.length===0&&(v.delete(r),d.unobserve(r)),v.size===0&&(d.disconnect(),ff.delete(o))}}function Ey({threshold:r,delay:e,trackVisibility:n,rootMargin:a,root:o,triggerOnce:d,skip:v,initialInView:x,fallbackInView:w,onChange:E}={}){var B;const[D,V]=ec.useState(null),he=ec.useRef(E),[ae,ye]=ec.useState({inView:!!x,entry:void 0});he.current=E,ec.useEffect(()=>{if(v||!D)return;let be;return be=_y(D,(ke,re)=>{ye({inView:ke,entry:re}),he.current&&he.current(ke,re),re.isIntersecting&&d&&be&&(be(),be=void 0)},{root:o,rootMargin:a,threshold:r,trackVisibility:n,delay:e},w),()=>{be&&be()}},[Array.isArray(r)?r.toString():r,D,o,a,d,v,n,w,e]);const Z=(B=ae.entry)==null?void 0:B.target,G=ec.useRef(void 0);!D&&Z&&!d&&!v&&G.current!==Z&&(G.current=Z,ye({inView:!!x,entry:void 0}));const ue=[V,ae.inView,ae.entry];return ue.ref=ue[0],ue.inView=ue[1],ue.entry=ue[2],ue}const Cy=({item:r})=>{const[e,n]=Me.useState(r.startOpen),[a,o]=Me.useState(!1),{ref:d,inView:v}=Ey({initialInView:!0,fallbackInView:!1}),x=w=>{"key"in w&&w.key!=="Enter"||(e?(o(!0),setTimeout(()=>{o(!1),n(!1)},300)):(n(!0),o(!0),setTimeout(()=>o(!1),1)))};return z.jsxs("div",{className:"info-item",children:[z.jsx("div",{ref:d}),z.jsx("div",{className:On("info-icon",{stuck:!v&&r.items.length>0}),onClick:x,onKeyDown:x,"aria-has-popup":"dialog","aria-expanded":e||r.startOpen&&v,"aria-controls":"#%{item.key}",tabIndex:r.startOpen?-1:0,children:z.jsxs("svg",{"aria-label":"info",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg","stroke-width":"0",fill:"currentColor",stroke:"currentColor",children:[z.jsx("path",{d:"M260 740 A460 350 0 1 1 430 790 A300 200 -25 0 1 200 930 A200 300 65 0 0 260 740 Z",fill:"none","stroke-width":"80"}),z.jsx("circle",{cx:"490",cy:"260",r:"45"}),z.jsx("line",{x1:"490",x2:"490",y1:"420",y2:"640","stroke-width":"90","stroke-linecap":"round"})]})}),e&&z.jsx("div",{id:r.key,className:On("info-html prose",{open:e,opening:a}),children:z.jsx("div",{dangerouslySetInnerHTML:{__html:r.html}})}),r.items.map((w,E)=>z.jsx(mh,{item:w},E))]})},Ty=({item:r})=>z.jsxs("div",{className:"item",style:{border:"1px red",background:"yellow"},children:["Unknown item type:",r.type]}),mh=r=>{switch(r.item.type){case"html":return z.jsx(Vv,{item:r.item});case"question":return z.jsx(hh,{fieldKey:r.item.key});case"info":return z.jsx(Cy,{item:r.item});default:return z.jsx(Ty,{item:r.item})}},vh=({panel:r})=>z.jsxs("div",{className:"m-panel-padding",children:[z.jsx(Ry,{title:r.title}),r.items.map((e,n)=>z.jsx(mh,{item:e},n))]}),Ry=({title:r})=>r?z.jsx("h1",{children:r}):null,bh="buttons bg-slate-100 dark:bg-slate-700 p-panel-padding",Iy=r=>{const[e,n]=Me.useState(r.panelLogic.firstPanelIndexToActivate()),a=Me.useRef(null),o=r.panelLogic.previousPanelIndexToActivate(e),d=r.panelLogic.nextPanelIndexToActivate(e),v={prev:o!==null?()=>{var x;n(o),(x=a.current)==null||x.focus()}:void 0,next:d!==null&&r.displayMode!=="single_page"?()=>{var x;r.beforeNext(e)&&(n(d),(x=a.current)==null||x.focus())}:void 0,done:r.onDone,onFocus:r.onFocus,nextSavePressWillOnlyRunMinimalValidations:r.nextSavePressWillOnlyRunMinimalValidations};switch(r.displayMode){case"paged":return z.jsxs(Ay,{panelLogic:r.panelLogic,panelIndex:e,navigate:v,children:[z.jsx("span",{ref:a,tabIndex:-1}),z.jsx(vh,{panel:r.panelLogic.panels[e]})]});case"single_page":return z.jsxs(Me.Fragment,{children:[z.jsx("span",{ref:a,tabIndex:-1}),r.panelLogic.panels.map((x,w)=>!r.panelLogic.allQuestionsHidden(w)&&z.jsxs(Me.Fragment,{children:[z.jsxs("fieldset",{className:"panel",children:[z.jsx(vh,{panel:x}),r.panelLogic.isLastPanel(w)?z.jsx(yh,{firstPanel:!1,lastPanel:!0,navigate:v}):null]}),w<r.panelLogic.panels.length-1&&z.jsx("div",{className:bh})]},w))]});default:return null}},Ay=r=>z.jsxs("fieldset",{className:"panel",children:[z.jsx(My,{}),r.children,z.jsx(Uv,{max:r.panelLogic.count(),current:r.panelIndex}),z.jsx(yh,{firstPanel:r.panelLogic.isFirstPanel(r.panelIndex),lastPanel:r.panelLogic.isLastPanel(r.panelIndex),navigate:r.navigate})]}),yh=r=>{const{t:e}=Os(),n=r.navigate.nextSavePressWillOnlyRunMinimalValidations?e("questionnaire_not_completed.save_anyway"):e("done");return z.jsxs("div",{className:bh,children:[r.navigate.nextSavePressWillOnlyRunMinimalValidations&&Oy(e),z.jsxs("div",{className:"flex justify-between",children:[z.jsx("div",{className:"next order-last",children:r.navigate.next?z.jsx(wd,{onClick:r.navigate.next,value:e("next"),onFocus:r.navigate.onFocus,variant:"primary"}):z.jsx(wd,{onClick:r.navigate.done,value:n,onFocus:r.navigate.onFocus,variant:"primary"})}),z.jsx("div",{className:"prev",children:r.navigate.prev&&z.jsx(wd,{onClick:r.navigate.prev,value:e("previous"),onFocus:r.navigate.onFocus})}),z.jsx("div",{className:"abort",children:r.navigate.abort&&z.jsx(wd,{onClick:r.navigate.abort,value:e("abort"),onFocus:r.navigate.onFocus})})]})]})},Oy=r=>z.jsxs("div",{className:"m-panel-padding p-panel-padding border-2 rounded border-warning fg-warning-inv",children:[z.jsx("h1",{children:r("questionnaire_not_completed.heading")}),z.jsx("p",{children:r("questionnaire_not_completed.explanation")})]}),wd=({value:r,onClick:e,onFocus:n,variant:a})=>z.jsx("button",{onClick:e,onFocus:n,className:a||"secondary",children:r}),My=()=>null,Go=Me.createContext(r=>r),wh=({questionnaire:r,response:e,displayOptions:n,allowSkipValidation:a,onSave:o})=>{Fy(e);const[d,v]=Py(e),x=Me.useRef(null);jv(e,r,x);const w=n.displayMode,E=new Map,B=new eh(e,r),D=new Bv(e,r.panels),V=Z=>{const G=r.panels[Z];e.touchPanelFields(G);const ue=e.firstNotValidQuestionInPanel(G);if(ue){const be=E.get(ue);if(!be)throw`Could not find ref for ${r.key}.${ue}`;xh(be)}return ue===null},he=()=>{e.touchAllFields();const Z=e.firstNotValidQuestion();if(d)o();else if(Z){const G=E.get(Z);if(!G)throw`Could not find ref for ${r.key}.${Z}`;xh(G),a&&e.validEnoughForForcedSave()&&v(!0)}else o()},ae=(Z,G)=>{E.set(Z,G)},ye=On({dark:n.darkMode});return z.jsx(Go.Provider,{value:B.interpolateCurlies,children:z.jsx(Kd.Provider,{value:{questionnaire:r,response:e,displayOptions:n,setQuestionRef:ae},children:z.jsxs("div",{ref:x,className:ye,style:ih(r.cssVars),children:[z.jsx("form",{className:"paged",onSubmit:Z=>Z.preventDefault(),children:z.jsx(Iy,{beforeNext:V,displayMode:w,nextSavePressWillOnlyRunMinimalValidations:d,panelLogic:D,onDone:he,onFocus:()=>e.setActiveQuestion(null)})}),r.footer&&z.jsx("footer",{dangerouslySetInnerHTML:{__html:r.footer}})]})})})},Fy=r=>{const[e,n]=Me.useState(0);Me.useEffect(()=>{const a=o=>n(d=>d+1);return r.onChange(a),()=>r.offChange(a)})},Py=r=>{const[e,n]=Me.useState(!1);return Me.useEffect(()=>{const a=(o,d)=>{e&&d==="valueChanged"&&n(!1)};return r.onChange(a),()=>r.offChange(a)}),[e,n]},xh=r=>{const e=r==null?void 0:r.current;if(!e)return;e.scrollIntoView();const n=e.querySelector('input, select, textarea, [tabindex]:not([tabindex="-1"])');n instanceof HTMLElement&&n.focus()};var Al={};/**
69
+ */(function(r){(function(){var e={}.hasOwnProperty;function n(){for(var c="",g=0;g<arguments.length;g++){var y=arguments[g];y&&(c=o(c,a(y)))}return c}function a(c){if(typeof c=="string"||typeof c=="number")return c;if(typeof c!="object")return"";if(Array.isArray(c))return n.apply(null,c);if(c.toString!==Object.prototype.toString&&!c.toString.toString().includes("[native code]"))return c.toString();var g="";for(var y in c)e.call(c,y)&&c[y]&&(g=o(g,y));return g}function o(c,g){return g?c?c+" "+g:c+g:c}r.exports?(n.default=n,r.exports=n):window.classNames=n})()})(vh);var ub=vh.exports;const Fn=xp(ub);class cb{constructor(e,n){Rt(this,"panels");this.response=e,this.response=e,this.panels=n}firstPanelIndexToActivate(){return this.nextPanelIndexToActivate(-1)??this.panels.length-1}nextPanelIndexToActivate(e){let n=e+1;if(n===this.panels.length)return null;for(;n<this.panels.length&&this.allQuestionsHidden(n);)n++;return n}previousPanelIndexToActivate(e){let n=e;for(;;){if(n--,n<0)return null;if(!this.allQuestionsHidden(n))return n}}isFirstPanel(e){return e===this.firstPanelIndexToActivate()}isLastPanel(e){return e===this.panels.length-1}count(){return this.panels.length}allQuestionsHidden(e){const n=this.panels[e];return n.questionKeys.length>0&&!n.questionKeys.some(a=>this.response.isVisible(a))}}function vd(r,e){const[n,a]=Pe.useState(r);return{onChange:o=>{const c=e(o.target.value);c!==n&&a(c)},value:n||r||"",onBlur:()=>{a(void 0)}}}function db(r,e){return["Control","Alt","Fn","Meta"].every(n=>e.includes(n)?r.getModifierState(n):!r.getModifierState(n))}const fb=(r,e,n)=>{const a=o=>{var y;let c=document.activeElement;if(c!=null&&c.shadowRoot&&(c=c.shadowRoot.activeElement),c!==document.body&&!((y=n.current)!=null&&y.contains(c))||!r.activeQuestionKey)return;const g=e.questions[r.activeQuestionKey];if(!(g.type!=="radio"&&g.type!=="scale"&&g.type!=="select")&&o.code.startsWith("Digit")&&db(o,[])){const w=parseInt(o.code.slice(5)),E=g.children.filter(L=>L.type==="option");w>=1&&w<=E.length&&(r.setValue(r.activeQuestionKey,E[w-1].key),o.preventDefault())}};Pe.useEffect(()=>(document.addEventListener("keydown",a),()=>document.removeEventListener("keydown",a)))},pb=["option-gap-y","question-mb-factor"],bh=r=>r&&Da.mapKeys(Da.pick(r,pb),(e,n)=>`--${n}`),hb=({max:r,current:e})=>{const{t:n}=Ps();return r<=1?null:z.jsx("div",{className:"progress-bar",children:z.jsxs("div",{className:"progress-wrapper",children:[z.jsx("div",{className:Fn("progress-slider",{"long-list":r>25}),children:Array.from({length:r},(a,o)=>z.jsx("span",{className:Fn("progress-stop",`step-${o+1}`,{active:o<=e,"first-child":o===0,"last-child":o===r-1,current:o===e}),children:o+1},o))}),z.jsx("div",{className:"progress-details",children:n("step_i_of_n",{i:e+1,n:r})})]})})},gb=({item:r})=>{const e=Pe.useContext(Yo);return z.jsx("div",{className:"item",children:z.jsx("div",{className:"prose text",dangerouslySetInnerHTML:{__html:e(r.html)}})})},Fi=({question:r})=>{const e=Pe.useContext(Yo);if(!r.title)return null;const n=e(r.title),a=`answer_${r.key}`,o=r.description?"mb-1":"mb-2";return z.jsx("div",{className:`${o} main`,children:z.jsx("label",{htmlFor:a,dangerouslySetInnerHTML:{__html:n}})})},Di=r=>{const e=Pe.useContext(Yo);if(!r.question.description)return null;const n=e(r.question.description);return z.jsx("div",{className:"font-light description prose",dangerouslySetInnerHTML:{__html:n}})},mb=({fieldState:r})=>r.showErrors?z.jsx(z.Fragment,{children:r.errors.map(e=>z.jsx(vb,{error:e},e.type))}):null,vb=({error:r})=>{const e=Fn("error",r.type),n=bb(r.message);return z.jsx("div",{className:e,children:n})};function bb(r){const{t:e}=Ps();if(typeof r=="string")return r;const n={...r};return delete n.t,e(`validations.${r.t}`,n)}const Li=r=>{const{question:e,fieldState:n,setQuestionRef:a}=r,o=Pe.useRef(null);a(e.key,o);const c=Fn("item",e.type,e.presentation,e.questionGroup,e.as,{errors:n.showErrors,active:n.isActiveQuestion});return z.jsxs(z.Fragment,{children:[e.contextDescription&&z.jsx(yb,{html:e.contextDescription}),z.jsxs("div",{className:c,ref:o,style:bh(e.cssVars),children:[z.jsx(mb,{fieldState:n}),r.children]})]})},yb=({html:r})=>{const e=Pe.useContext(Yo);return z.jsx("div",{className:"context-description prose",dangerouslySetInnerHTML:{__html:e(r)}})},wb=({question:r,fieldState:e,setQuestionRef:n})=>{var c;const a=vd((c=e.value)==null?void 0:c.toString(),g=>{if(e.value&&g.startsWith(e.value)&&g.slice(e.value.length).match(/^\s+$/))return g;e.setValue(g.trim()||null)}),o=Fn(r.type,{"w-full":!r.size,sized:!!r.size,subitem:!1});return z.jsxs(Li,{question:r,fieldState:e,setQuestionRef:n,children:[z.jsx(Fi,{question:r}),z.jsxs("div",{className:"description-and-fields",children:[z.jsx(Di,{question:r}),z.jsx("div",{className:"fields",id:xb(r),children:z.jsx("input",{type:"text",className:o,size:r.size??void 0,onFocus:e.setAsActiveQuestion,disabled:e.disabled,...a})})]})]})};function xb(r){return`answer_${r.key}_input`}const Sb=({question:r,fieldState:e,setQuestionRef:n})=>{const a=Fn("fields");return z.jsxs(Li,{question:r,fieldState:e,setQuestionRef:n,children:[z.jsx(Fi,{question:r}),z.jsxs("div",{className:"description-and-fields",children:[z.jsx(Di,{question:r}),z.jsx("div",{className:a,id:Cb(r),children:z.jsx("table",{cellSpacing:"0",width:"100%",children:z.jsx("tbody",{children:z.jsx("tr",{children:r.children.map((o,c)=>z.jsx(kb,{question:r,option:o,index:c,fieldState:e},o.key))})})})})]})]})},kb=({question:r,option:e,index:n,fieldState:a})=>{if(e.hidden&&a.value!==e.key)return null;const o=Fn("option text-center align-top",{first:n<=0,last:n>=r.children.length-1}),c=Fn(r.type,{subinput:!1,deselectable:!1}),g=a.value===e.key,y=E=>a.setValue(e.key),w=()=>{g&&a.setValue(null)};return z.jsxs("td",{className:o,style:{width:`${100/r.children.length}%`},children:[z.jsx(Eb,{question:r,option:e}),z.jsxs("span",{children:[z.jsx("input",{type:"radio",name:r.key,id:e.viewId,className:c,disabled:a.disabled,checked:g,onChange:y,onClick:w,onFocus:a.setAsActiveQuestion}),z.jsx("br",{}),z.jsx(_b,{option:e})]})]})},_b=({option:r})=>{const e=Pe.useContext(Yo),n=r.label||r.description;return n?z.jsx("label",{htmlFor:r.viewId,children:z.jsx("span",{dangerouslySetInnerHTML:{__html:e(n)}})}):null},Eb=({question:r,option:e})=>r.showValues?z.jsx("div",{className:"value",children:e.value}):null;function Cb(r){return`answer_${r.key}_input`}const yh=({questions:r})=>r.length==0?null:z.jsx("div",{className:"subquestions mt-1",children:r.map(e=>z.jsx(Ih,{fieldKey:e.key}))}),Tb=({question:r,fieldState:e,setQuestionRef:n})=>{const a=Fn("fields",r.presentation!=="horizontal"?`options${r.children.length}`:null);return z.jsxs(Li,{question:r,fieldState:e,setQuestionRef:n,children:[z.jsx(Fi,{question:r}),z.jsxs("div",{className:"description-and-fields",children:[z.jsx(Di,{question:r}),z.jsx("div",{className:a,id:Ob(r),children:r.children.map((o,c)=>o.type==="option"?z.jsx(Rb,{question:r,option:o,index:c,fieldState:e},o.key):z.jsx("div",{className:"inner-title",dangerouslySetInnerHTML:{__html:o.html}},o.key))})]})]})},Rb=({question:r,option:e,fieldState:n})=>{if(e.hidden&&n.value!==e.key)return null;const a=Fn("option",{show_values:r.showValues||!1}),o=Fn(r.type,{subinput:!1,deselectable:!1}),c=n.value===e.key,g=w=>n.setValue(e.key),y=w=>{c&&n.setValue(null)};return z.jsxs("div",{className:a,children:[z.jsx("div",{className:"inline radiocheckwrapper",children:z.jsx("input",{type:"radio",name:r.key,id:e.viewId,className:o,disabled:n.disabled,checked:c,onChange:g,onClick:y,onFocus:n.setAsActiveQuestion})}),z.jsx(Ab,{question:r,option:e}),z.jsx(Ib,{option:e}),z.jsx(yh,{questions:e.questions})]})},Ib=({option:r})=>{const e=Pe.useContext(Yo);if(!r.label&&!r.description)return null;const n=r.label||r.description,a=r.label?r.description:void 0;return z.jsxs("div",{className:"inline labelwrapper",children:[z.jsx("label",{htmlFor:r.viewId,"aria-describedby":a&&`${r.viewId}_description`,children:z.jsx("span",{dangerouslySetInnerHTML:{__html:e(n)}})}),a&&z.jsx("div",{className:"de-em",id:`${r.viewId}_description`,dangerouslySetInnerHTML:{__html:e(a||"")}})]})},Ab=({question:r,option:e})=>r.showValues?z.jsx("div",{className:"inline value",children:e.value}):null;function Ob(r){return`answer_${r.key}_input`}const Mb=({question:r,fieldState:e,setQuestionRef:n})=>{const a=c=>{e.setValue(c.target.value)},o=Fn("fields",r.presentation!=="horizontal"?`options${r.children.length}`:null);return z.jsxs(Li,{question:r,fieldState:e,setQuestionRef:n,children:[z.jsx(Fi,{question:r}),z.jsxs("div",{className:"description-and-fields",children:[z.jsx(Di,{question:r}),z.jsx("div",{className:o,id:Fb(r),children:z.jsxs("select",{onChange:a,value:e.value||void 0,onFocus:e.setAsActiveQuestion,disabled:e.disabled,children:[r.placeholder?z.jsx("option",{className:"placeholder",children:r.placeholder},"placeholder"):null,r.children.map((c,g)=>c.hidden&&e.value!==c.key?null:z.jsx(Pb,{question:r,option:c,index:g},c.key))]})})]})]})},Pb=({option:r})=>z.jsx("option",{value:r.key,disabled:!1,children:r.label||r.description});function Fb(r){return`answer_${r.key}_input`}const Db=({question:r,fieldState:e,setQuestionRef:n})=>z.jsxs(Li,{question:r,fieldState:e,setQuestionRef:n,children:[z.jsx(Fi,{question:r}),z.jsxs("div",{className:"description-and-fields",children:[z.jsx(Di,{question:r}),z.jsxs("div",{className:"fields",id:Lb(r),children:[z.jsx(wh,{question:r,parts:["year","month","day"],fieldState:e}),z.jsx(wh,{question:r,parts:["hour","minute"],fieldState:e})]})]})]}),wh=({question:r,parts:e,fieldState:n})=>{const{t:a}=Ps(),o=(g,y)=>{const w=new Map(n.value||[]),E=g.target.value.trim();E?w.set(y,E):w.delete(y),w.size===0?n.setValue(null):n.setValue(w)},c=r.dateParts.filter(g=>e.includes(g.part));return c.length===0?null:z.jsxs("div",{className:"mb-2 ",children:[c.flatMap(g=>{var y;return[z.jsx("input",{type:"text",className:"mr-1",value:((y=n.value)==null?void 0:y.get(g.part))||"",placeholder:a(`placeholders.${g.part}`),disabled:n.disabled,onChange:w=>o(w,g.part),size:g.part==="year"?5:3,onFocus:n.setAsActiveQuestion},g.part),Da.isEqual(e,["hour","minute"])&&g.part==="hour"&&z.jsx("span",{className:"mr-1",children:":"},"colon")]}),c.flatMap(g=>[z.jsx("span",{className:"mr-1",children:a(g.part)},`label_${g.part}`),Da.isEqual(e,["hour","minute"])&&g.part==="hour"&&z.jsx("span",{className:"mr-1",children:":"},"label_colon")])]})};function Lb(r){return`answer_${r.key}_input`}const Bb=({question:r,fieldState:e,setQuestionRef:n})=>{var g;const{t:a}=Ps(),o=vd((g=e.value)==null?void 0:g.toString(),y=>{if(["-"].includes(y))return y;const w=parseInt(y,10);isNaN(w)?e.setValue(null):e.setValue(w)}),c=Fn(r.type,{subitem:!1});return z.jsxs(Li,{question:r,fieldState:e,setQuestionRef:n,children:[z.jsx(Fi,{question:r}),z.jsxs("div",{className:"description-and-fields",children:[z.jsx(Di,{question:r}),z.jsxs("div",{className:"fields",id:Nb(r),children:[z.jsx("input",{type:"text",className:c,disabled:e.disabled,size:r.size,onFocus:e.setAsActiveQuestion,...o}),r.unit&&z.jsxs("span",{className:"unit",children:[" ",a(`units.${r.unit}`,{defaultValue:r.unit})]})]})]})]})};function Nb(r){return`answer_${r.key}_input`}const jb=({question:r,fieldState:e,setQuestionRef:n})=>{var g;const{t:a}=Ps(),o=vd((g=e.value)==null?void 0:g.toString(),y=>{if(["-",".",`${e.value}.`].includes(y))return y;y[0]==="."&&(y=`0${y}`);const w=parseFloat(y);isNaN(w)?e.setValue(null):e.setValue(w)}),c=Fn(r.type,{sized:!!r.size,subitem:!1});return z.jsxs(Li,{question:r,fieldState:e,setQuestionRef:n,children:[z.jsx(Fi,{question:r}),z.jsxs("div",{className:"description-and-fields",children:[z.jsx(Di,{question:r}),z.jsxs("div",{className:"fields",id:zb(r),children:[z.jsx("input",{type:"text",className:c,disabled:e.disabled,size:r.size,onFocus:e.setAsActiveQuestion,...o}),r.unit&&z.jsxs("span",{className:"unit",children:[" ",a(`units.${r.unit}`,{defaultValue:r.unit})]})]})]})]})};function zb(r){return`answer_${r.key}_input`}var cf={},df={},ff={},Au={};Object.defineProperty(Au,"__esModule",{value:!0}),Au.Direction=void 0;var xh;(function(r){r.Right="to right",r.Left="to left",r.Down="to bottom",r.Up="to top"})(xh||(Au.Direction=xh={})),function(r){var e=tr&&tr.__spreadArray||function(ge,we,_e){if(_e||arguments.length===2)for(var Ye=0,Ze=we.length,Ne;Ye<Ze;Ye++)(Ne||!(Ye in we))&&(Ne||(Ne=Array.prototype.slice.call(we,0,Ye)),Ne[Ye]=we[Ye]);return ge.concat(Ne||Array.prototype.slice.call(we))};Object.defineProperty(r,"__esModule",{value:!0}),r.isIOS=r.useThumbOverlap=r.assertUnreachable=r.voidFn=r.getTrackBackground=r.replaceAt=r.schd=r.translate=r.getClosestThumbIndex=r.translateThumbs=r.getPaddingAndBorder=r.getMargin=r.checkInitialOverlap=r.checkValuesAgainstBoundaries=r.checkBoundaries=r.isVertical=r.relativeValue=r.normalizeValue=r.isStepDivisible=r.isTouchEvent=r.getStepDecimals=void 0;var n=Pe,a=Au,o=function(ge){var we=ge.toString().split(".")[1];return we?we.length:0};r.getStepDecimals=o;function c(ge){return ge.touches&&ge.touches.length||ge.changedTouches&&ge.changedTouches.length}r.isTouchEvent=c;function g(ge,we,_e){var Ye=(we-ge)/_e,Ze=8,Ne=Number(Ye.toFixed(Ze));return parseInt(Ne.toString(),10)===Ne}r.isStepDivisible=g;function y(ge,we,_e,Ye,Ze,Ne,De){var We=1e11;if(ge=Math.round(ge*We)/We,!Ne){var le=De[we-1],ue=De[we+1];if(le&&le>ge)return le;if(ue&&ue<ge)return ue}if(ge>Ye)return Ye;if(ge<_e)return _e;var Me=Math.floor(ge*We-_e*We)%Math.floor(Ze*We),He=Math.floor(ge*We-Math.abs(Me)),ze=Me===0?ge:He/We,Ae=Math.abs(Me/We)<Ze/2?ze:ze+Ze,Oe=(0,r.getStepDecimals)(Ze);return parseFloat(Ae.toFixed(Oe))}r.normalizeValue=y;function w(ge,we,_e){return(ge-we)/(_e-we)}r.relativeValue=w;function E(ge){return ge===a.Direction.Up||ge===a.Direction.Down}r.isVertical=E;function L(ge,we,_e){if(we>=_e)throw new RangeError("min (".concat(we,") is equal/bigger than max (").concat(_e,")"));if(ge<we)throw new RangeError("value (".concat(ge,") is smaller than min (").concat(we,")"));if(ge>_e)throw new RangeError("value (".concat(ge,") is bigger than max (").concat(_e,")"))}r.checkBoundaries=L;function P(ge,we,_e){return ge<we?we:ge>_e?_e:ge}r.checkValuesAgainstBoundaries=P;function W(ge){if(!(ge.length<2)&&!ge.slice(1).every(function(we,_e){return ge[_e]<=we}))throw new RangeError("values={[".concat(ge,"]} needs to be sorted when allowOverlap={false}"))}r.checkInitialOverlap=W;function se(ge){var we=window.getComputedStyle(ge);return{top:parseInt(we["margin-top"],10),bottom:parseInt(we["margin-bottom"],10),left:parseInt(we["margin-left"],10),right:parseInt(we["margin-right"],10)}}r.getMargin=se;function ae(ge){var we=window.getComputedStyle(ge);return{top:parseInt(we["padding-top"],10)+parseInt(we["border-top-width"],10),bottom:parseInt(we["padding-bottom"],10)+parseInt(we["border-bottom-width"],10),left:parseInt(we["padding-left"],10)+parseInt(we["border-left-width"],10),right:parseInt(we["padding-right"],10)+parseInt(we["border-right-width"],10)}}r.getPaddingAndBorder=ae;function ke(ge,we,_e){var Ye=_e?-1:1;ge.forEach(function(Ze,Ne){return Z(Ze,Ye*we[Ne].x,we[Ne].y)})}r.translateThumbs=ke;function G(ge,we,_e,Ye){for(var Ze=0,Ne=Pt(ge[0],we,_e,Ye),De=1;De<ge.length;De++){var We=Pt(ge[De],we,_e,Ye);We<Ne&&(Ne=We,Ze=De)}return Ze}r.getClosestThumbIndex=G;function Z(ge,we,_e){ge.style.transform="translate(".concat(we,"px, ").concat(_e,"px)")}r.translate=Z;var be=function(ge){var we=[],_e=null,Ye=function(){for(var Ze=[],Ne=0;Ne<arguments.length;Ne++)Ze[Ne]=arguments[Ne];we=Ze,!_e&&(_e=requestAnimationFrame(function(){_e=null,ge.apply(void 0,we)}))};return Ye};r.schd=be;function fe(ge,we,_e){var Ye=ge.slice(0);return Ye[we]=_e,Ye}r.replaceAt=fe;function de(ge){var we=ge.values,_e=ge.colors,Ye=ge.min,Ze=ge.max,Ne=ge.direction,De=Ne===void 0?a.Direction.Right:Ne,We=ge.rtl,le=We===void 0?!1:We;le&&De===a.Direction.Right?De=a.Direction.Left:le&&a.Direction.Left&&(De=a.Direction.Right);var ue=we.slice(0).sort(function(He,ze){return He-ze}).map(function(He){return(He-Ye)/(Ze-Ye)*100}),Me=ue.reduce(function(He,ze,Ae){return"".concat(He,", ").concat(_e[Ae]," ").concat(ze,"%, ").concat(_e[Ae+1]," ").concat(ze,"%")},"");return"linear-gradient(".concat(De,", ").concat(_e[0]," 0%").concat(Me,", ").concat(_e[_e.length-1]," 100%)")}r.getTrackBackground=de;function ee(){}r.voidFn=ee;function Te(ge){throw new Error("Didn't expect to get here")}r.assertUnreachable=Te;var Ie=function(ge,we,_e,Ye,Ze){Ze===void 0&&(Ze=function(De){return De});var Ne=Math.ceil(e([ge],Array.from(ge.children),!0).reduce(function(De,We){var le=Math.ceil(We.getBoundingClientRect().width);if(We.innerText&&We.innerText.includes(_e)&&We.childElementCount===0){var ue=We.cloneNode(!0);ue.innerHTML=Ze(we.toFixed(Ye)),ue.style.visibility="hidden",document.body.appendChild(ue),le=Math.ceil(ue.getBoundingClientRect().width),document.body.removeChild(ue)}return le>De?le:De},ge.getBoundingClientRect().width));return Ne},Lt=function(ge,we,_e,Ye,Ze,Ne,De){De===void 0&&(De=function(ue){return ue});var We=[],le=function(ue){var Me=Ie(_e[ue],Ye[ue],Ze,Ne,De),He=we[ue].x;we.forEach(function(ze,Ae){var Oe=ze.x,Ke=Ie(_e[Ae],Ye[Ae],Ze,Ne,De);ue!==Ae&&(He>=Oe&&He<=Oe+Ke||He+Me>=Oe&&He+Me<=Oe+Ke)&&(We.includes(Ae)||(We.push(ue),We.push(Ae),We=e(e([],We,!0),[ue,Ae],!1),le(Ae)))})};return le(ge),Array.from(new Set(We.sort()))},it=function(ge,we,_e,Ye,Ze,Ne){Ye===void 0&&(Ye=.1),Ze===void 0&&(Ze=" - "),Ne===void 0&&(Ne=function(Ae){return Ae});var De=(0,r.getStepDecimals)(Ye),We=(0,n.useState)({}),le=We[0],ue=We[1],Me=(0,n.useState)(Ne(we[_e].toFixed(De))),He=Me[0],ze=Me[1];return(0,n.useEffect)(function(){if(ge){var Ae=ge.getThumbs();if(Ae.length<1)return;var Oe={},Ke=ge.getOffsets(),Qe=Lt(_e,Ke,Ae,we,Ze,De,Ne),Xe=Ne(we[_e].toFixed(De));if(Qe.length){var tt=Qe.reduce(function(qt,Vn,kn,_n){return qt.length?e(e([],qt,!0),[Ke[_n[kn]].x],!1):[Ke[_n[kn]].x]},[]);if(Math.min.apply(Math,tt)===Ke[_e].x){var yt=[];Qe.forEach(function(qt){yt.push(we[qt].toFixed(De))}),Xe=Array.from(new Set(yt.sort(function(qt,Vn){return parseFloat(qt)-parseFloat(Vn)}))).map(Ne).join(Ze);var Ee=Math.min.apply(Math,tt),Ct=Math.max.apply(Math,tt),At=Ae[Qe[tt.indexOf(Ct)]].getBoundingClientRect().width;Oe.left="".concat(Math.abs(Ee-(Ct+At))/2,"px"),Oe.transform="translate(-50%, 0)"}else Oe.visibility="hidden"}ze(Xe),ue(Oe)}},[ge,we]),[He,le]};r.useThumbOverlap=it;function Pt(ge,we,_e,Ye){var Ze=ge.getBoundingClientRect(),Ne=Ze.left,De=Ze.top,We=Ze.width,le=Ze.height;return E(Ye)?Math.abs(_e-(De+le/2)):Math.abs(we-(Ne+We/2))}var Vt=function(){var ge,we=((ge=navigator.userAgentData)===null||ge===void 0?void 0:ge.platform)||navigator.platform;return["iPad Simulator","iPhone Simulator","iPod Simulator","iPad","iPhone","iPod"].includes(we)||navigator.userAgent.includes("Mac")&&"ontouchend"in document};r.isIOS=Vt}(ff);var Ub=tr&&tr.__extends||function(){var r=function(e,n){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,o){a.__proto__=o}||function(a,o){for(var c in o)Object.prototype.hasOwnProperty.call(o,c)&&(a[c]=o[c])},r(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");r(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}(),Vb=tr&&tr.__createBinding||(Object.create?function(r,e,n,a){a===void 0&&(a=n);var o=Object.getOwnPropertyDescriptor(e,n);(!o||("get"in o?!e.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:function(){return e[n]}}),Object.defineProperty(r,a,o)}:function(r,e,n,a){a===void 0&&(a=n),r[a]=e[n]}),Wb=tr&&tr.__setModuleDefault||(Object.create?function(r,e){Object.defineProperty(r,"default",{enumerable:!0,value:e})}:function(r,e){r.default=e}),Hb=tr&&tr.__importStar||function(r){if(r&&r.__esModule)return r;var e={};if(r!=null)for(var n in r)n!=="default"&&Object.prototype.hasOwnProperty.call(r,n)&&Vb(e,r,n);return Wb(e,r),e},Sh=tr&&tr.__spreadArray||function(r,e,n){if(n||arguments.length===2)for(var a=0,o=e.length,c;a<o;a++)(c||!(a in e))&&(c||(c=Array.prototype.slice.call(e,0,a)),c[a]=e[a]);return r.concat(c||Array.prototype.slice.call(e))};Object.defineProperty(df,"__esModule",{value:!0});var bd=Hb(Pe),Gt=ff,nr=Au,$b=["ArrowRight","ArrowUp","k","PageUp"],Gb=["ArrowLeft","ArrowDown","j","PageDown"],Zb=function(r){Ub(e,r);function e(n){var a=r.call(this,n)||this;if(a.trackRef=bd.createRef(),a.thumbRefs=[],a.state={draggedTrackPos:[-1,-1],draggedThumbIndex:-1,thumbZIndexes:new Array(a.props.values.length).fill(0).map(function(o,c){return c}),isChanged:!1,markOffsets:[]},a.getOffsets=function(){var o=a.props,c=o.direction,g=o.values,y=o.min,w=o.max,E=a.trackRef.current;if(!E)return console.warn("No track element found."),[];var L=E.getBoundingClientRect(),P=(0,Gt.getPaddingAndBorder)(E);return a.getThumbs().map(function(W,se){var ae={x:0,y:0},ke=W.getBoundingClientRect(),G=(0,Gt.getMargin)(W);switch(c){case nr.Direction.Right:return ae.x=(G.left+P.left)*-1,ae.y=((ke.height-L.height)/2+P.top)*-1,ae.x+=L.width*(0,Gt.relativeValue)(g[se],y,w)-ke.width/2,ae;case nr.Direction.Left:return ae.x=(G.right+P.right)*-1,ae.y=((ke.height-L.height)/2+P.top)*-1,ae.x+=L.width-L.width*(0,Gt.relativeValue)(g[se],y,w)-ke.width/2,ae;case nr.Direction.Up:return ae.x=((ke.width-L.width)/2+G.left+P.left)*-1,ae.y=-P.left,ae.y+=L.height-L.height*(0,Gt.relativeValue)(g[se],y,w)-ke.height/2,ae;case nr.Direction.Down:return ae.x=((ke.width-L.width)/2+G.left+P.left)*-1,ae.y=-P.left,ae.y+=L.height*(0,Gt.relativeValue)(g[se],y,w)-ke.height/2,ae;default:return(0,Gt.assertUnreachable)(c)}})},a.getThumbs=function(){return a.trackRef&&a.trackRef.current?Array.from(a.trackRef.current.children).filter(function(o){return o.hasAttribute("aria-valuenow")}):(console.warn("No thumbs found in the track container. Did you forget to pass & spread the `props` param in renderTrack?"),[])},a.getTargetIndex=function(o){return a.getThumbs().findIndex(function(c){return c===o.target||c.contains(o.target)})},a.addTouchEvents=function(o){document.addEventListener("touchmove",a.schdOnTouchMove,{passive:!1}),document.addEventListener("touchend",a.schdOnEnd,{passive:!1}),document.addEventListener("touchcancel",a.schdOnEnd,{passive:!1})},a.addMouseEvents=function(o){document.addEventListener("mousemove",a.schdOnMouseMove),document.addEventListener("mouseup",a.schdOnEnd)},a.onMouseDownTrack=function(o){var c;if(!(o.button!==0||(0,Gt.isIOS)()))if(o.persist(),o.preventDefault(),a.addMouseEvents(o.nativeEvent),a.props.values.length>1&&a.props.draggableTrack){if(a.thumbRefs.some(function(y){var w;return(w=y.current)===null||w===void 0?void 0:w.contains(o.target)}))return;a.setState({draggedTrackPos:[o.clientX,o.clientY]},function(){return a.onMove(o.clientX,o.clientY)})}else{var g=(0,Gt.getClosestThumbIndex)(a.thumbRefs.map(function(y){return y.current}),o.clientX,o.clientY,a.props.direction);(c=a.thumbRefs[g].current)===null||c===void 0||c.focus(),a.setState({draggedThumbIndex:g},function(){return a.onMove(o.clientX,o.clientY)})}},a.onResize=function(){(0,Gt.translateThumbs)(a.getThumbs(),a.getOffsets(),a.props.rtl),a.calculateMarkOffsets()},a.onTouchStartTrack=function(o){var c;if(o.persist(),a.addTouchEvents(o.nativeEvent),a.props.values.length>1&&a.props.draggableTrack){if(a.thumbRefs.some(function(y){var w;return(w=y.current)===null||w===void 0?void 0:w.contains(o.target)}))return;a.setState({draggedTrackPos:[o.touches[0].clientX,o.touches[0].clientY]},function(){return a.onMove(o.touches[0].clientX,o.touches[0].clientY)})}else{var g=(0,Gt.getClosestThumbIndex)(a.thumbRefs.map(function(y){return y.current}),o.touches[0].clientX,o.touches[0].clientY,a.props.direction);(c=a.thumbRefs[g].current)===null||c===void 0||c.focus(),a.setState({draggedThumbIndex:g},function(){return a.onMove(o.touches[0].clientX,o.touches[0].clientY)})}},a.onMouseOrTouchStart=function(o){if(!a.props.disabled){var c=(0,Gt.isTouchEvent)(o);if(!(!c&&o.button!==0)){var g=a.getTargetIndex(o);g!==-1&&(c?a.addTouchEvents(o):a.addMouseEvents(o),a.setState({draggedThumbIndex:g,thumbZIndexes:a.state.thumbZIndexes.map(function(y,w){return w===g?Math.max.apply(Math,a.state.thumbZIndexes):y<=a.state.thumbZIndexes[g]?y:y-1})}))}}},a.onMouseMove=function(o){o.preventDefault(),a.onMove(o.clientX,o.clientY)},a.onTouchMove=function(o){o.preventDefault(),a.onMove(o.touches[0].clientX,o.touches[0].clientY)},a.onKeyDown=function(o){var c=a.props,g=c.values,y=c.onChange,w=c.step,E=c.rtl,L=c.direction,P=a.state.isChanged,W=a.getTargetIndex(o.nativeEvent),se=E||L===nr.Direction.Left||L===nr.Direction.Down?-1:1;W!==-1&&($b.includes(o.key)?(o.preventDefault(),a.setState({draggedThumbIndex:W,isChanged:!0}),y((0,Gt.replaceAt)(g,W,a.normalizeValue(g[W]+se*(o.key==="PageUp"?w*10:w),W)))):Gb.includes(o.key)?(o.preventDefault(),a.setState({draggedThumbIndex:W,isChanged:!0}),y((0,Gt.replaceAt)(g,W,a.normalizeValue(g[W]-se*(o.key==="PageDown"?w*10:w),W)))):o.key==="Tab"?a.setState({draggedThumbIndex:-1},function(){P&&a.fireOnFinalChange()}):P&&a.fireOnFinalChange())},a.onKeyUp=function(o){var c=a.state.isChanged;a.setState({draggedThumbIndex:-1},function(){c&&a.fireOnFinalChange()})},a.onMove=function(o,c){var g=a.state,y=g.draggedThumbIndex,w=g.draggedTrackPos,E=a.props,L=E.direction,P=E.min,W=E.max,se=E.onChange,ae=E.values,ke=E.step,G=E.rtl;if(y===-1&&w[0]===-1&&w[1]===-1)return null;var Z=a.trackRef.current;if(!Z)return null;var be=Z.getBoundingClientRect(),fe=(0,Gt.isVertical)(L)?be.height:be.width;if(w[0]!==-1&&w[1]!==-1){var de=o-w[0],ee=c-w[1],Te=0;switch(L){case nr.Direction.Right:case nr.Direction.Left:Te=de/fe*(W-P);break;case nr.Direction.Down:case nr.Direction.Up:Te=ee/fe*(W-P);break;default:(0,Gt.assertUnreachable)(L)}if(G&&(Te*=-1),Math.abs(Te)>=ke/2){for(var Ie=0;Ie<a.thumbRefs.length;Ie++){if(ae[Ie]===W&&Math.sign(Te)===1||ae[Ie]===P&&Math.sign(Te)===-1)return;var Lt=ae[Ie]+Te;Lt>W?Te=W-ae[Ie]:Lt<P&&(Te=P-ae[Ie])}for(var it=ae.slice(0),Ie=0;Ie<a.thumbRefs.length;Ie++)it=(0,Gt.replaceAt)(it,Ie,a.normalizeValue(ae[Ie]+Te,Ie));a.setState({draggedTrackPos:[o,c]}),se(it)}}else{var Pt=0;switch(L){case nr.Direction.Right:Pt=(o-be.left)/fe*(W-P)+P;break;case nr.Direction.Left:Pt=(fe-(o-be.left))/fe*(W-P)+P;break;case nr.Direction.Down:Pt=(c-be.top)/fe*(W-P)+P;break;case nr.Direction.Up:Pt=(fe-(c-be.top))/fe*(W-P)+P;break;default:(0,Gt.assertUnreachable)(L)}G&&(Pt=W+P-Pt),Math.abs(ae[y]-Pt)>=ke/2&&se((0,Gt.replaceAt)(ae,y,a.normalizeValue(Pt,y)))}},a.normalizeValue=function(o,c){var g=a.props,y=g.min,w=g.max,E=g.step,L=g.allowOverlap,P=g.values;return(0,Gt.normalizeValue)(o,c,y,w,E,L,P)},a.onEnd=function(o){if(o.preventDefault(),document.removeEventListener("mousemove",a.schdOnMouseMove),document.removeEventListener("touchmove",a.schdOnTouchMove),document.removeEventListener("mouseup",a.schdOnEnd),document.removeEventListener("touchend",a.schdOnEnd),document.removeEventListener("touchcancel",a.schdOnEnd),a.state.draggedThumbIndex===-1&&a.state.draggedTrackPos[0]===-1&&a.state.draggedTrackPos[1]===-1)return null;a.setState({draggedThumbIndex:-1,draggedTrackPos:[-1,-1]},function(){a.fireOnFinalChange()})},a.fireOnFinalChange=function(){a.setState({isChanged:!1});var o=a.props,c=o.onFinalChange,g=o.values;c&&c(g)},a.updateMarkRefs=function(o){if(!o.renderMark){a.numOfMarks=void 0,a.markRefs=void 0;return}a.numOfMarks=(o.max-o.min)/a.props.step,a.markRefs=[];for(var c=0;c<a.numOfMarks+1;c++)a.markRefs[c]=bd.createRef()},a.calculateMarkOffsets=function(){if(!(!a.props.renderMark||!a.trackRef||!a.numOfMarks||!a.markRefs||a.trackRef.current===null)){for(var o=window.getComputedStyle(a.trackRef.current),c=parseInt(o.width,10),g=parseInt(o.height,10),y=parseInt(o.paddingLeft,10),w=parseInt(o.paddingTop,10),E=[],L=0;L<a.numOfMarks+1;L++){var P=9999,W=9999;if(a.markRefs[L].current){var se=a.markRefs[L].current.getBoundingClientRect();P=se.height,W=se.width}a.props.direction===nr.Direction.Left||a.props.direction===nr.Direction.Right?E.push([Math.round(c/a.numOfMarks*L+y-W/2),-Math.round((P-g)/2)]):E.push([Math.round(g/a.numOfMarks*L+w-P/2),-Math.round((W-c)/2)])}a.setState({markOffsets:E})}},n.step===0)throw new Error('"step" property should be a positive number');return a.schdOnMouseMove=(0,Gt.schd)(a.onMouseMove),a.schdOnTouchMove=(0,Gt.schd)(a.onTouchMove),a.schdOnEnd=(0,Gt.schd)(a.onEnd),a.thumbRefs=n.values.map(function(){return bd.createRef()}),a.updateMarkRefs(n),a}return e.prototype.componentDidMount=function(){var n=this,a=this.props,o=a.values,c=a.min,g=a.step;this.resizeObserver=window.ResizeObserver?new window.ResizeObserver(this.onResize):{observe:function(){return window.addEventListener("resize",n.onResize)},unobserve:function(){return window.removeEventListener("resize",n.onResize)}},document.addEventListener("touchstart",this.onMouseOrTouchStart,{passive:!1}),document.addEventListener("mousedown",this.onMouseOrTouchStart,{passive:!1}),!this.props.allowOverlap&&(0,Gt.checkInitialOverlap)(this.props.values),this.props.values.forEach(function(y){return(0,Gt.checkBoundaries)(y,n.props.min,n.props.max)}),this.resizeObserver.observe(this.trackRef.current),(0,Gt.translateThumbs)(this.getThumbs(),this.getOffsets(),this.props.rtl),this.calculateMarkOffsets(),o.forEach(function(y){(0,Gt.isStepDivisible)(c,y,g)||console.warn("The `values` property is in conflict with the current `step`, `min`, and `max` properties. Please provide values that are accessible using the min, max, and step values.")})},e.prototype.componentDidUpdate=function(n,a){var o=this.props,c=o.max,g=o.min,y=o.step,w=o.values,E=o.rtl;(n.max!==c||n.min!==g||n.step!==y)&&this.updateMarkRefs(this.props),(0,Gt.translateThumbs)(this.getThumbs(),this.getOffsets(),E),(n.max!==c||n.min!==g||n.step!==y||a.markOffsets.length!==this.state.markOffsets.length)&&(this.calculateMarkOffsets(),w.forEach(function(L){(0,Gt.isStepDivisible)(g,L,y)||console.warn("The `values` property is in conflict with the current `step`, `min`, and `max` properties. Please provide values that are accessible using the min, max, and step values.")}))},e.prototype.componentWillUnmount=function(){var n={passive:!1};document.removeEventListener("mousedown",this.onMouseOrTouchStart,n),document.removeEventListener("mousemove",this.schdOnMouseMove),document.removeEventListener("touchmove",this.schdOnTouchMove),document.removeEventListener("touchstart",this.onMouseOrTouchStart),document.removeEventListener("mouseup",this.schdOnEnd),document.removeEventListener("touchend",this.schdOnEnd),this.resizeObserver.unobserve(this.trackRef.current)},e.prototype.render=function(){var n=this,a=this.props,o=a.label,c=a.labelledBy,g=a.renderTrack,y=a.renderThumb,w=a.renderMark,E=w===void 0?function(){return null}:w,L=a.values,P=a.min,W=a.max,se=a.allowOverlap,ae=a.disabled,ke=this.state,G=ke.draggedThumbIndex,Z=ke.thumbZIndexes,be=ke.markOffsets;return g({props:{style:{transform:"scale(1)",cursor:G>-1?"grabbing":this.props.draggableTrack?(0,Gt.isVertical)(this.props.direction)?"ns-resize":"ew-resize":L.length===1&&!ae?"pointer":"inherit"},onMouseDown:ae?Gt.voidFn:this.onMouseDownTrack,onTouchStart:ae?Gt.voidFn:this.onTouchStartTrack,ref:this.trackRef},isDragged:this.state.draggedThumbIndex>-1,disabled:ae,children:Sh(Sh([],be.map(function(fe,de,ee){return E({props:{style:n.props.direction===nr.Direction.Left||n.props.direction===nr.Direction.Right?{position:"absolute",left:"".concat(fe[0],"px"),marginTop:"".concat(fe[1],"px")}:{position:"absolute",top:"".concat(fe[0],"px"),marginLeft:"".concat(fe[1],"px")},key:"mark".concat(de),ref:n.markRefs[de]},index:de})}),!0),L.map(function(fe,de){var ee=n.state.draggedThumbIndex===de;return y({index:de,value:fe,isDragged:ee,props:{style:{position:"absolute",zIndex:Z[de],cursor:ae?"inherit":ee?"grabbing":"grab",userSelect:"none",touchAction:"none",WebkitUserSelect:"none",MozUserSelect:"none",msUserSelect:"none"},key:de,tabIndex:ae?void 0:0,"aria-valuemax":se?W:L[de+1]||W,"aria-valuemin":se?P:L[de-1]||P,"aria-valuenow":fe,draggable:!1,ref:n.thumbRefs[de],"aria-label":o,"aria-labelledby":c,role:"slider",onKeyDown:ae?Gt.voidFn:n.onKeyDown,onKeyUp:ae?Gt.voidFn:n.onKeyUp}})}),!0)})},e.defaultProps={label:"Accessibility label",labelledBy:null,step:1,direction:nr.Direction.Right,rtl:!1,disabled:!1,allowOverlap:!1,draggableTrack:!1,min:0,max:100},e}(bd.Component);df.default=Zb,function(r){var e=tr&&tr.__importDefault||function(c){return c&&c.__esModule?c:{default:c}};Object.defineProperty(r,"__esModule",{value:!0}),r.checkValuesAgainstBoundaries=r.relativeValue=r.useThumbOverlap=r.Direction=r.getTrackBackground=r.Range=void 0;var n=e(df);r.Range=n.default;var a=ff;Object.defineProperty(r,"getTrackBackground",{enumerable:!0,get:function(){return a.getTrackBackground}}),Object.defineProperty(r,"useThumbOverlap",{enumerable:!0,get:function(){return a.useThumbOverlap}}),Object.defineProperty(r,"relativeValue",{enumerable:!0,get:function(){return a.relativeValue}}),Object.defineProperty(r,"checkValuesAgainstBoundaries",{enumerable:!0,get:function(){return a.checkValuesAgainstBoundaries}});var o=Au;Object.defineProperty(r,"Direction",{enumerable:!0,get:function(){return o.Direction}})}(cf);const pf=18,yd=1,kh=9,Ec=16,_h=4,hf=1,Yb=({question:r,fieldState:e,setQuestionRef:n})=>{const a=E=>{e.setValue(E[0])},o=Pe.useRef(null),c=ay(r.labels,o),g=e.value==null,y=e.value||r.defaultPosition,w=Xb(r);return z.jsxs(Li,{question:r,fieldState:e,setQuestionRef:n,children:[z.jsx(Fi,{question:r}),z.jsxs("div",{className:"description-and-fields",children:[z.jsx(Di,{question:r}),z.jsx("div",{className:"fields mt-3",ref:o,style:{height:pf+c.height},children:z.jsx(cf.Range,{values:[y],onChange:a,min:r.minimum,max:r.maximum,step:r.step,disabled:e.disabled,renderTrack:({props:E,children:L})=>z.jsx("div",{...E,style:{...E.style,...qb},children:L}),renderThumb:E=>Kb({...E,blank:g||e.disabled,showTooltip:r.valueTooltip,startThumbHidden:r.startThumbHidden,isActiveQuestion:e.isActiveQuestion,onFocus:e.setAsActiveQuestion}),renderMark:({props:E,index:L})=>w[L]!==void 0?Jb(E,w[L],c):null})})]})]})},Kb=({props:r,value:e,isDragged:n,blank:a,showTooltip:o,startThumbHidden:c,isActiveQuestion:g,onFocus:y})=>c&&a?z.jsx("div",{...r}):z.jsxs("div",{...r,style:{...r.style,...ey,...n&&ny,...g&&ty,...a&&ry},onFocus:y,children:[z.jsx("div",{style:{margin:"6px auto",width:"6px",height:"14px",border:"1px solid oklch(var(--foreground))",borderWidth:"0 1px 0 1px"}}),o&&n&&z.jsx("div",{style:iy,children:e})]}),Jb=(r,e,{info:n,setRef:a})=>{const o=kh+(n.tops[e.idx]||0),c=e.first?"0 4px 4px":e.last?"4px 0 4px 4px":"4px";return z.jsxs("div",{...r,style:{...r.style,top:pf-yd,marginTop:0,width:0},children:[z.jsx("div",{ref:g=>{g&&a(e.idx,g)},style:{position:"absolute",top:o,left:-yd,width:"max-content",maxWidth:n.maxWidths[e.idx],backgroundColor:"oklch(var(--slider-track))",borderRadius:c,border:`${hf}px solid oklch(var(--foreground))`,padding:"0 4px",textAlign:e.first?"left":e.last?"right":"center",transform:e.first?void 0:e.last?"translateX(-100%)":"translateX(-50%)"},dangerouslySetInnerHTML:{__html:e.text}}),z.jsx(Qb,{label:e,top:o})]})},Qb=({top:r,label:e})=>{const a=r+1,o=e.first?`M0.5,${a-.5} V0.5 C0.5,${a/2} 5,${a} 9,${a-.5}`:e.last?`M8.5,${a-.5} V0.5 C8.5,${a/2} 4,${a} 0.5,${a-.5}`:`M0.5,${a-.5} C2,${a-.5} 4.5,5 4.5,0 C4.5,5 7,${a-.5} ${a-.5},${a-.5}`,c=e.first?0:e.last?-9:-9/2;return z.jsx("svg",{width:9,height:a,viewBox:`0 0 9 ${a}`,preserveAspectRatio:"none",style:{marginLeft:c,position:"absolute",left:-yd},children:z.jsxs("g",{strokeWidth:hf,children:[z.jsx("line",{x1:"0",y1:a,x2:"9",y2:a,stroke:"oklch(var(--slider-track))"}),z.jsx("path",{d:o,fill:"oklch(var(--slider-track))",strokeLinecap:"square",stroke:"oklch(var(--foreground))"})]})})},Xb=r=>{if(r.labels.length===0)return{};const e=(r.maximum-r.minimum)/r.step,n={};return r.labels.forEach((a,o)=>{const c=Math.floor(o*e/(r.labels.length-1));n[c]={text:a,first:o===0,last:o===r.labels.length-1,idx:o}}),n},qb={border:`${yd}px solid oklch(var(--foreground))`,background:"oklch(var(--slider-track))",height:pf,borderRadius:"2px",marginBottom:"18px"},ey={height:"28px",width:"34px",backgroundColor:"oklch(var(--background))",border:"1px solid oklch(var(--foreground))",borderRadius:"3px"},ty={backgroundColor:"rgba(27,124,194,0.7)"},ny={boxShadow:"inset 0 0 1px #FFF, inset 0 1px 7px #DDD, 0 3px 6px -3px #BBB"},ry={backgroundColor:"transparent",border:"none",padding:"1px",boxShadow:"inset 0 0 1px oklch(var(--foreground)), inset 0 1px 7px oklch(var(--foreground) / 0.5), 0 3px 6px -3px oklch(var(--foreground) / 0.3)"},iy={position:"absolute",top:"-29px",left:"16px",transform:"translateX(-50%)",backgroundColor:"oklch(var(--slider-track))",border:`${hf}px solid oklch(var(--foreground))`,borderRadius:"4px",padding:"0 4px"},ay=(r,e)=>{const n=Pe.useRef([]),[a,o]=Pe.useState({maxWidths:[],rowHeights:[],tops:[],twoRows:!1}),[c,g]=Pe.useState("getRefs");let y=kh+a.rowHeights[0]||18;return a.rowHeights.length==2&&(y+=_h+a.rowHeights[1]),Pe.useLayoutEffect(()=>{c==="resize"?(o({...a,twoRows:!1,maxWidths:Array(n.current.length).fill(999)}),g("setWidths")):c==="setWidths"?(oy(n.current,r,e,a,o),g("setHeight")):c==="setHeight"&&(sy(n.current,a,o),g("done"))},[c,r,e,a]),Pe.useLayoutEffect(()=>{if(c!=="done")return;const E=e.current,L=E.offsetWidth,P=new ResizeObserver(()=>{L!==E.offsetWidth&&requestAnimationFrame(()=>g("resize"))});return P.observe(E),()=>{P.unobserve(E)}},[c,e]),{info:a,setRef:(E,L)=>{n.current[E]=L,c==="getRefs"&&n.current.length===r.length&&n.current.every(P=>P!==void 0)&&g("setWidths")},height:y}};function oy(r,e,n,a,o){const c=n.current.offsetWidth;if(e.length===1)o({...a,maxWidths:[c]});else if(ly(r))if(e.length===3&&r[1].offsetWidth<c/3){const g=(c-r[1].offsetWidth)/2-Ec;o({...a,maxWidths:[g,c-g*2-Ec,g]})}else{const g=Array(e.length).fill(c/(e.length-1)-Ec/2);g[0]=g[e.length-1]=c/2-Ec,o({...a,twoRows:!0,maxWidths:g})}}function sy(r,e,n){if(e.twoRows){const a=gf(r.slice(1,-1)),o=gf(Da.at(r,0,r.length-1)),c=Array(r.length).fill(0);c[0]=c[r.length-1]=a+_h,n({...e,rowHeights:[a,o],tops:c})}else n({...e,rowHeights:[gf(r)],tops:Array(r.length).fill(0)})}function gf(r){return Math.max(...r.map(e=>e.getBoundingClientRect().height))}function ly(r){return r.some((e,n)=>n>0&&e.getBoundingClientRect().left-Ec<r[n-1].getBoundingClientRect().right)}const uy=({question:r,fieldState:e,setQuestionRef:n})=>{const a=y=>{e.setValue(y[0])},o=e.value==null,c=e.value||r.defaultPosition,g=fy(r);return z.jsxs(Li,{question:r,fieldState:e,setQuestionRef:n,children:[z.jsx(Fi,{question:r}),z.jsxs("div",{className:"description-and-fields",children:[z.jsx(Di,{question:r}),z.jsx("div",{className:"fields mt-3",children:z.jsx(cf.Range,{values:[c],onChange:a,min:r.minimum,max:r.maximum,step:r.step,disabled:e.disabled,renderTrack:({props:y,children:w})=>z.jsx("div",{...y,style:{...y.style,...py},children:w}),renderThumb:y=>cy({...y,blank:o||e.disabled,showTooltip:r.valueTooltip,startThumbHidden:r.startThumbHidden,onFocus:e.setAsActiveQuestion}),renderMark:({props:y,index:w})=>g[w]!==void 0?dy(y,g[w]):null})})]})]})},cy=({props:r,value:e,isDragged:n,blank:a,showTooltip:o,startThumbHidden:c,onFocus:g})=>c&&a?z.jsx("div",{...r}):z.jsxs("div",{...r,style:{...r.style,...hy,...n&&gy,...a&&my},onFocus:g,children:["||",o&&n&&z.jsx("div",{style:vy,children:e})]}),dy=(r,e)=>z.jsx("div",{...r,style:{...r.style,top:"18px",marginTop:0,height:"9px",width:"1px",backgroundColor:"#d3d3d3"},children:z.jsx("div",{style:{position:"absolute",top:"8px",width:"max-content",textAlign:e.first?"left":e.last?"right":"center",transform:e.first?void 0:e.last?"translateX(-100%)":"translateX(-50%)"},dangerouslySetInnerHTML:{__html:e.text}})}),fy=r=>{if(r.labels.length===0)return{};const e=(r.maximum-r.minimum)/r.step,n={};return r.labels.forEach((a,o)=>{const c=Math.floor(o*e/(r.labels.length-1));n[c]={text:a,first:o===0,last:o===r.labels.length-1}}),n},py={border:"1px solid #d3d3d3",background:"#fafafa",height:"18px",borderRadius:"4px",marginBottom:"18px",boxShadow:"inset 0 1px 1px #F0F0F0, 0 3px 6px -5px #BBB"},hy={height:"28px",width:"34px",textAlign:"center",lineHeight:"27px",backgroundColor:"rgba(27,124,194,0.7)",color:"#E8E7E6",border:"1px solid #9AC1DD",borderRadius:"3px",boxShadow:"inset 0 0 1px #FFF, inset 0 1px 7px #9AC1DD, 0 3px 6px -3px #9AC1DD"},gy={boxShadow:"inset 0 0 1px #FFF, inset 0 1px 7px #DDD, 0 3px 6px -3px #BBB"},my={backgroundColor:"rgba(255, 255, 255, .5)",boxShadow:"none",border:"1px solid #D9D9D9"},vy={position:"absolute",top:"-28px",left:"17px",transform:"translateX(-50%)",color:"#000",fontWeight:"bold",padding:"4px"},by=({question:r,fieldState:e,setQuestionRef:n})=>{var c;const a=vd((c=e.value)==null?void 0:c.toString(),g=>{if(e.value&&g.startsWith(e.value)&&g.slice(e.value.length).match(/^\s+$/))return g;e.setValue(g.trim()||null)}),o=Fn(r.type,{"w-full":!0,subitem:!1});return z.jsxs(Li,{question:r,fieldState:e,setQuestionRef:n,children:[z.jsx(Fi,{question:r}),z.jsxs("div",{className:"description-and-fields",children:[z.jsx(Di,{question:r}),z.jsx("div",{className:"fields",id:yy(r),children:z.jsx("textarea",{className:o,rows:r.lines,onFocus:e.setAsActiveQuestion,disabled:e.disabled,...a})})]})]})};function yy(r){return`answer_${r.key}_input`}const wy=({question:r,fieldState:e,setQuestionRef:n})=>{const a=Fn("fields",r.presentation!=="horizontal"?`options${r.children.length}`:null);return z.jsxs(Li,{question:r,fieldState:e,setQuestionRef:n,children:[z.jsx(Fi,{question:r}),z.jsxs("div",{className:"description-and-fields",children:[z.jsx(Di,{question:r}),z.jsx("div",{className:a,id:ky(r),children:r.children.map((o,c)=>o.type==="option"?z.jsx(xy,{question:r,option:o,index:c,fieldState:e},o.key):z.jsx("div",{className:"text-lg font-medium my-1 inner-title",dangerouslySetInnerHTML:{__html:o.html}},o.key))})]})]})},xy=({question:r,option:e,fieldState:n})=>{const a=Pe.useContext(Yo),c=(n.value||new Set).has(e.key)||!1;if(e.hidden&&!c)return null;const g=Fn("option",{show_values:!1}),y=Fn(r.type,{subinput:!1}),w=P=>e.key&&n.setValue(_y(n,e.key,r)),E=e.label||e.description,L=e.label?e.description:void 0;return z.jsxs("div",{className:g,children:[z.jsx("div",{className:"inline radiocheckwrapper",children:z.jsx("input",{type:"checkbox",name:r.key,id:e.viewId,className:y,disabled:n.disabled,checked:c,onChange:w,onFocus:n.setAsActiveQuestion})}),z.jsx(Sy,{question:r,option:e}),z.jsxs("div",{className:"inline labelwrapper",children:[z.jsx("label",{htmlFor:e.viewId,"aria-describedby":L&&`${e.viewId}_description`,children:z.jsx("span",{dangerouslySetInnerHTML:{__html:a(E)}})}),L&&z.jsx("div",{className:"de-em",id:`${e.viewId}_description`,dangerouslySetInnerHTML:{__html:a(L||"")}})]}),z.jsx(yh,{questions:e.questions})]})},Sy=()=>null;function ky(r){return`answer_${r.key}_input`}function _y(r,e,n){const a=new Set(r.value??[]),o=!a.has(e);return Ey(a,n,e,o),Cy(a,n,e,o),o?a.add(e):a.delete(e),a.size===0?null:a}function Ey(r,e,n,a){e.checkAllOption&&(e.checkAllOption===n&&a&&e.children.filter(o=>o.type==="option").forEach(o=>{r.add(o.key)}),e.checkAllOption!==n&&!a&&r.delete(e.checkAllOption))}function Cy(r,e,n,a){e.uncheckAllOption&&(e.uncheckAllOption===n&&a&&r.clear(),e.uncheckAllOption!==n&&a&&r.delete(e.uncheckAllOption))}var wn={};const Ty=[["AF","AFG","004","ISO 3166-2:AF"],["AX","ALA","248","ISO 3166-2:AX"],["AL","ALB","008","ISO 3166-2:AL"],["DZ","DZA","012","ISO 3166-2:DZ"],["AS","ASM","016","ISO 3166-2:AS"],["AD","AND","020","ISO 3166-2:AD"],["AO","AGO","024","ISO 3166-2:AO"],["AI","AIA","660","ISO 3166-2:AI"],["AQ","ATA","010","ISO 3166-2:AQ"],["AG","ATG","028","ISO 3166-2:AG"],["AR","ARG","032","ISO 3166-2:AR"],["AM","ARM","051","ISO 3166-2:AM"],["AW","ABW","533","ISO 3166-2:AW"],["AU","AUS","036","ISO 3166-2:AU"],["AT","AUT","040","ISO 3166-2:AT"],["AZ","AZE","031","ISO 3166-2:AZ"],["BS","BHS","044","ISO 3166-2:BS"],["BH","BHR","048","ISO 3166-2:BH"],["BD","BGD","050","ISO 3166-2:BD"],["BB","BRB","052","ISO 3166-2:BB"],["BY","BLR","112","ISO 3166-2:BY"],["BE","BEL","056","ISO 3166-2:BE"],["BZ","BLZ","084","ISO 3166-2:BZ"],["BJ","BEN","204","ISO 3166-2:BJ"],["BM","BMU","060","ISO 3166-2:BM"],["BT","BTN","064","ISO 3166-2:BT"],["BO","BOL","068","ISO 3166-2:BO"],["BQ","BES","535","ISO 3166-2:BQ"],["BA","BIH","070","ISO 3166-2:BA"],["BW","BWA","072","ISO 3166-2:BW"],["BV","BVT","074","ISO 3166-2:BV"],["BR","BRA","076","ISO 3166-2:BR"],["IO","IOT","086","ISO 3166-2:IO"],["BN","BRN","096","ISO 3166-2:BN"],["BG","BGR","100","ISO 3166-2:BG"],["BF","BFA","854","ISO 3166-2:BF"],["BI","BDI","108","ISO 3166-2:BI"],["KH","KHM","116","ISO 3166-2:KH"],["CM","CMR","120","ISO 3166-2:CM"],["CA","CAN","124","ISO 3166-2:CA"],["CV","CPV","132","ISO 3166-2:CV"],["KY","CYM","136","ISO 3166-2:KY"],["CF","CAF","140","ISO 3166-2:CF"],["TD","TCD","148","ISO 3166-2:TD"],["CL","CHL","152","ISO 3166-2:CL"],["CN","CHN","156","ISO 3166-2:CN"],["CX","CXR","162","ISO 3166-2:CX"],["CC","CCK","166","ISO 3166-2:CC"],["CO","COL","170","ISO 3166-2:CO"],["KM","COM","174","ISO 3166-2:KM"],["CG","COG","178","ISO 3166-2:CG"],["CD","COD","180","ISO 3166-2:CD"],["CK","COK","184","ISO 3166-2:CK"],["CR","CRI","188","ISO 3166-2:CR"],["CI","CIV","384","ISO 3166-2:CI"],["HR","HRV","191","ISO 3166-2:HR"],["CU","CUB","192","ISO 3166-2:CU"],["CW","CUW","531","ISO 3166-2:CW"],["CY","CYP","196","ISO 3166-2:CY"],["CZ","CZE","203","ISO 3166-2:CZ"],["DK","DNK","208","ISO 3166-2:DK"],["DJ","DJI","262","ISO 3166-2:DJ"],["DM","DMA","212","ISO 3166-2:DM"],["DO","DOM","214","ISO 3166-2:DO"],["EC","ECU","218","ISO 3166-2:EC"],["EG","EGY","818","ISO 3166-2:EG"],["SV","SLV","222","ISO 3166-2:SV"],["GQ","GNQ","226","ISO 3166-2:GQ"],["ER","ERI","232","ISO 3166-2:ER"],["EE","EST","233","ISO 3166-2:EE"],["ET","ETH","231","ISO 3166-2:ET"],["FK","FLK","238","ISO 3166-2:FK"],["FO","FRO","234","ISO 3166-2:FO"],["FJ","FJI","242","ISO 3166-2:FJ"],["FI","FIN","246","ISO 3166-2:FI"],["FR","FRA","250","ISO 3166-2:FR"],["GF","GUF","254","ISO 3166-2:GF"],["PF","PYF","258","ISO 3166-2:PF"],["TF","ATF","260","ISO 3166-2:TF"],["GA","GAB","266","ISO 3166-2:GA"],["GM","GMB","270","ISO 3166-2:GM"],["GE","GEO","268","ISO 3166-2:GE"],["DE","DEU","276","ISO 3166-2:DE"],["GH","GHA","288","ISO 3166-2:GH"],["GI","GIB","292","ISO 3166-2:GI"],["GR","GRC","300","ISO 3166-2:GR"],["GL","GRL","304","ISO 3166-2:GL"],["GD","GRD","308","ISO 3166-2:GD"],["GP","GLP","312","ISO 3166-2:GP"],["GU","GUM","316","ISO 3166-2:GU"],["GT","GTM","320","ISO 3166-2:GT"],["GG","GGY","831","ISO 3166-2:GG"],["GN","GIN","324","ISO 3166-2:GN"],["GW","GNB","624","ISO 3166-2:GW"],["GY","GUY","328","ISO 3166-2:GY"],["HT","HTI","332","ISO 3166-2:HT"],["HM","HMD","334","ISO 3166-2:HM"],["VA","VAT","336","ISO 3166-2:VA"],["HN","HND","340","ISO 3166-2:HN"],["HK","HKG","344","ISO 3166-2:HK"],["HU","HUN","348","ISO 3166-2:HU"],["IS","ISL","352","ISO 3166-2:IS"],["IN","IND","356","ISO 3166-2:IN"],["ID","IDN","360","ISO 3166-2:ID"],["IR","IRN","364","ISO 3166-2:IR"],["IQ","IRQ","368","ISO 3166-2:IQ"],["IE","IRL","372","ISO 3166-2:IE"],["IM","IMN","833","ISO 3166-2:IM"],["IL","ISR","376","ISO 3166-2:IL"],["IT","ITA","380","ISO 3166-2:IT"],["JM","JAM","388","ISO 3166-2:JM"],["JP","JPN","392","ISO 3166-2:JP"],["JE","JEY","832","ISO 3166-2:JE"],["JO","JOR","400","ISO 3166-2:JO"],["KZ","KAZ","398","ISO 3166-2:KZ"],["KE","KEN","404","ISO 3166-2:KE"],["KI","KIR","296","ISO 3166-2:KI"],["KP","PRK","408","ISO 3166-2:KP"],["KR","KOR","410","ISO 3166-2:KR"],["KW","KWT","414","ISO 3166-2:KW"],["KG","KGZ","417","ISO 3166-2:KG"],["LA","LAO","418","ISO 3166-2:LA"],["LV","LVA","428","ISO 3166-2:LV"],["LB","LBN","422","ISO 3166-2:LB"],["LS","LSO","426","ISO 3166-2:LS"],["LR","LBR","430","ISO 3166-2:LR"],["LY","LBY","434","ISO 3166-2:LY"],["LI","LIE","438","ISO 3166-2:LI"],["LT","LTU","440","ISO 3166-2:LT"],["LU","LUX","442","ISO 3166-2:LU"],["MO","MAC","446","ISO 3166-2:MO"],["MK","MKD","807","ISO 3166-2:MK"],["MG","MDG","450","ISO 3166-2:MG"],["MW","MWI","454","ISO 3166-2:MW"],["MY","MYS","458","ISO 3166-2:MY"],["MV","MDV","462","ISO 3166-2:MV"],["ML","MLI","466","ISO 3166-2:ML"],["MT","MLT","470","ISO 3166-2:MT"],["MH","MHL","584","ISO 3166-2:MH"],["MQ","MTQ","474","ISO 3166-2:MQ"],["MR","MRT","478","ISO 3166-2:MR"],["MU","MUS","480","ISO 3166-2:MU"],["YT","MYT","175","ISO 3166-2:YT"],["MX","MEX","484","ISO 3166-2:MX"],["FM","FSM","583","ISO 3166-2:FM"],["MD","MDA","498","ISO 3166-2:MD"],["MC","MCO","492","ISO 3166-2:MC"],["MN","MNG","496","ISO 3166-2:MN"],["ME","MNE","499","ISO 3166-2:ME"],["MS","MSR","500","ISO 3166-2:MS"],["MA","MAR","504","ISO 3166-2:MA"],["MZ","MOZ","508","ISO 3166-2:MZ"],["MM","MMR","104","ISO 3166-2:MM"],["NA","NAM","516","ISO 3166-2:NA"],["NR","NRU","520","ISO 3166-2:NR"],["NP","NPL","524","ISO 3166-2:NP"],["NL","NLD","528","ISO 3166-2:NL"],["NC","NCL","540","ISO 3166-2:NC"],["NZ","NZL","554","ISO 3166-2:NZ"],["NI","NIC","558","ISO 3166-2:NI"],["NE","NER","562","ISO 3166-2:NE"],["NG","NGA","566","ISO 3166-2:NG"],["NU","NIU","570","ISO 3166-2:NU"],["NF","NFK","574","ISO 3166-2:NF"],["MP","MNP","580","ISO 3166-2:MP"],["NO","NOR","578","ISO 3166-2:NO"],["OM","OMN","512","ISO 3166-2:OM"],["PK","PAK","586","ISO 3166-2:PK"],["PW","PLW","585","ISO 3166-2:PW"],["PS","PSE","275","ISO 3166-2:PS"],["PA","PAN","591","ISO 3166-2:PA"],["PG","PNG","598","ISO 3166-2:PG"],["PY","PRY","600","ISO 3166-2:PY"],["PE","PER","604","ISO 3166-2:PE"],["PH","PHL","608","ISO 3166-2:PH"],["PN","PCN","612","ISO 3166-2:PN"],["PL","POL","616","ISO 3166-2:PL"],["PT","PRT","620","ISO 3166-2:PT"],["PR","PRI","630","ISO 3166-2:PR"],["QA","QAT","634","ISO 3166-2:QA"],["RE","REU","638","ISO 3166-2:RE"],["RO","ROU","642","ISO 3166-2:RO"],["RU","RUS","643","ISO 3166-2:RU"],["RW","RWA","646","ISO 3166-2:RW"],["BL","BLM","652","ISO 3166-2:BL"],["SH","SHN","654","ISO 3166-2:SH"],["KN","KNA","659","ISO 3166-2:KN"],["LC","LCA","662","ISO 3166-2:LC"],["MF","MAF","663","ISO 3166-2:MF"],["PM","SPM","666","ISO 3166-2:PM"],["VC","VCT","670","ISO 3166-2:VC"],["WS","WSM","882","ISO 3166-2:WS"],["SM","SMR","674","ISO 3166-2:SM"],["ST","STP","678","ISO 3166-2:ST"],["SA","SAU","682","ISO 3166-2:SA"],["SN","SEN","686","ISO 3166-2:SN"],["RS","SRB","688","ISO 3166-2:RS"],["SC","SYC","690","ISO 3166-2:SC"],["SL","SLE","694","ISO 3166-2:SL"],["SG","SGP","702","ISO 3166-2:SG"],["SX","SXM","534","ISO 3166-2:SX"],["SK","SVK","703","ISO 3166-2:SK"],["SI","SVN","705","ISO 3166-2:SI"],["SB","SLB","090","ISO 3166-2:SB"],["SO","SOM","706","ISO 3166-2:SO"],["ZA","ZAF","710","ISO 3166-2:ZA"],["GS","SGS","239","ISO 3166-2:GS"],["SS","SSD","728","ISO 3166-2:SS"],["ES","ESP","724","ISO 3166-2:ES"],["LK","LKA","144","ISO 3166-2:LK"],["SD","SDN","729","ISO 3166-2:SD"],["SR","SUR","740","ISO 3166-2:SR"],["SJ","SJM","744","ISO 3166-2:SJ"],["SZ","SWZ","748","ISO 3166-2:SZ"],["SE","SWE","752","ISO 3166-2:SE"],["CH","CHE","756","ISO 3166-2:CH"],["SY","SYR","760","ISO 3166-2:SY"],["TW","TWN","158","ISO 3166-2:TW"],["TJ","TJK","762","ISO 3166-2:TJ"],["TZ","TZA","834","ISO 3166-2:TZ"],["TH","THA","764","ISO 3166-2:TH"],["TL","TLS","626","ISO 3166-2:TL"],["TG","TGO","768","ISO 3166-2:TG"],["TK","TKL","772","ISO 3166-2:TK"],["TO","TON","776","ISO 3166-2:TO"],["TT","TTO","780","ISO 3166-2:TT"],["TN","TUN","788","ISO 3166-2:TN"],["TR","TUR","792","ISO 3166-2:TR"],["TM","TKM","795","ISO 3166-2:TM"],["TC","TCA","796","ISO 3166-2:TC"],["TV","TUV","798","ISO 3166-2:TV"],["UG","UGA","800","ISO 3166-2:UG"],["UA","UKR","804","ISO 3166-2:UA"],["AE","ARE","784","ISO 3166-2:AE"],["GB","GBR","826","ISO 3166-2:GB"],["US","USA","840","ISO 3166-2:US"],["UM","UMI","581","ISO 3166-2:UM"],["UY","URY","858","ISO 3166-2:UY"],["UZ","UZB","860","ISO 3166-2:UZ"],["VU","VUT","548","ISO 3166-2:VU"],["VE","VEN","862","ISO 3166-2:VE"],["VN","VNM","704","ISO 3166-2:VN"],["VG","VGB","092","ISO 3166-2:VG"],["VI","VIR","850","ISO 3166-2:VI"],["WF","WLF","876","ISO 3166-2:WF"],["EH","ESH","732","ISO 3166-2:EH"],["YE","YEM","887","ISO 3166-2:YE"],["ZM","ZMB","894","ISO 3166-2:ZM"],["ZW","ZWE","716","ISO 3166-2:ZW"],["XK","XKX","","ISO 3166-2:XK"]];var wd={};wd.remove=Ry;for(var xd=[{base:" ",chars:" "},{base:"0",chars:"߀"},{base:"A",chars:"ⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"},{base:"AA",chars:"Ꜳ"},{base:"AE",chars:"ÆǼǢ"},{base:"AO",chars:"Ꜵ"},{base:"AU",chars:"Ꜷ"},{base:"AV",chars:"ꜸꜺ"},{base:"AY",chars:"Ꜽ"},{base:"B",chars:"ⒷBḂḄḆɃƁ"},{base:"C",chars:"ⒸCꜾḈĆCĈĊČÇƇȻ"},{base:"D",chars:"ⒹDḊĎḌḐḒḎĐƊƉᴅꝹ"},{base:"Dh",chars:"Ð"},{base:"DZ",chars:"DZDŽ"},{base:"Dz",chars:"DzDž"},{base:"E",chars:"ɛⒺEÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎᴇ"},{base:"F",chars:"ꝼⒻFḞƑꝻ"},{base:"G",chars:"ⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾɢ"},{base:"H",chars:"ⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ"},{base:"I",chars:"ⒾIÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ"},{base:"J",chars:"ⒿJĴɈȷ"},{base:"K",chars:"ⓀKḰǨḲĶḴƘⱩꝀꝂꝄꞢ"},{base:"L",chars:"ⓁLĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ"},{base:"LJ",chars:"LJ"},{base:"Lj",chars:"Lj"},{base:"M",chars:"ⓂMḾṀṂⱮƜϻ"},{base:"N",chars:"ꞤȠⓃNǸŃÑṄŇṆŅṊṈƝꞐᴎ"},{base:"NJ",chars:"NJ"},{base:"Nj",chars:"Nj"},{base:"O",chars:"ⓄOÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ"},{base:"OE",chars:"Œ"},{base:"OI",chars:"Ƣ"},{base:"OO",chars:"Ꝏ"},{base:"OU",chars:"Ȣ"},{base:"P",chars:"ⓅPṔṖƤⱣꝐꝒꝔ"},{base:"Q",chars:"ⓆQꝖꝘɊ"},{base:"R",chars:"ⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"},{base:"S",chars:"ⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"},{base:"T",chars:"ⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ"},{base:"Th",chars:"Þ"},{base:"TZ",chars:"Ꜩ"},{base:"U",chars:"ⓊUÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"},{base:"V",chars:"ⓋVṼṾƲꝞɅ"},{base:"VY",chars:"Ꝡ"},{base:"W",chars:"ⓌWẀẂŴẆẄẈⱲ"},{base:"X",chars:"ⓍXẊẌ"},{base:"Y",chars:"ⓎYỲÝŶỸȲẎŸỶỴƳɎỾ"},{base:"Z",chars:"ⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ"},{base:"a",chars:"ⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐɑ"},{base:"aa",chars:"ꜳ"},{base:"ae",chars:"æǽǣ"},{base:"ao",chars:"ꜵ"},{base:"au",chars:"ꜷ"},{base:"av",chars:"ꜹꜻ"},{base:"ay",chars:"ꜽ"},{base:"b",chars:"ⓑbḃḅḇƀƃɓƂ"},{base:"c",chars:"cⓒćĉċčçḉƈȼꜿↄ"},{base:"d",chars:"ⓓdḋďḍḑḓḏđƌɖɗƋᏧԁꞪ"},{base:"dh",chars:"ð"},{base:"dz",chars:"dzdž"},{base:"e",chars:"ⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇǝ"},{base:"f",chars:"ⓕfḟƒ"},{base:"ff",chars:"ff"},{base:"fi",chars:"fi"},{base:"fl",chars:"fl"},{base:"ffi",chars:"ffi"},{base:"ffl",chars:"ffl"},{base:"g",chars:"ⓖgǵĝḡğġǧģǥɠꞡꝿᵹ"},{base:"h",chars:"ⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ"},{base:"hv",chars:"ƕ"},{base:"i",chars:"ⓘiìíîĩīĭïḯỉǐȉȋịįḭɨı"},{base:"j",chars:"ⓙjĵǰɉ"},{base:"k",chars:"ⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ"},{base:"l",chars:"ⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇɭ"},{base:"lj",chars:"lj"},{base:"m",chars:"ⓜmḿṁṃɱɯ"},{base:"n",chars:"ⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥлԉ"},{base:"nj",chars:"nj"},{base:"o",chars:"ⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿꝋꝍɵɔᴑ"},{base:"oe",chars:"œ"},{base:"oi",chars:"ƣ"},{base:"oo",chars:"ꝏ"},{base:"ou",chars:"ȣ"},{base:"p",chars:"ⓟpṕṗƥᵽꝑꝓꝕρ"},{base:"q",chars:"ⓠqɋꝗꝙ"},{base:"r",chars:"ⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ"},{base:"s",chars:"ⓢsśṥŝṡšṧṣṩșşȿꞩꞅẛʂ"},{base:"ss",chars:"ß"},{base:"t",chars:"ⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ"},{base:"th",chars:"þ"},{base:"tz",chars:"ꜩ"},{base:"u",chars:"ⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"},{base:"v",chars:"ⓥvṽṿʋꝟʌ"},{base:"vy",chars:"ꝡ"},{base:"w",chars:"ⓦwẁẃŵẇẅẘẉⱳ"},{base:"x",chars:"ⓧxẋẍ"},{base:"y",chars:"ⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ"},{base:"z",chars:"ⓩzźẑżžẓẕƶȥɀⱬꝣ"}],mf={},Sd=0;Sd<xd.length;Sd+=1)for(var Eh=xd[Sd].chars,vf=0;vf<Eh.length;vf+=1)mf[Eh[vf]]=xd[Sd].base;function Ry(r){return r.replace(/[^\u0000-\u007e]/g,function(e){return mf[e]||e})}wd.replacementList=xd,wd.diacriticsMap=mf;var Iy=Ty,Ch=wd.remove,Ou={},kd={},_d={},Cc={},bf={};Iy.forEach(function(r){var e=r;kd[e[0]]=e[1],_d[e[1]]=e[0],Cc[e[2]]=e[0],bf[e[0]]=e[2]});function Th(r){return("000"+(r||"")).slice(-3)}function Ay(r){if(!r.locale)throw new TypeError("Missing localeData.locale");if(!r.countries)throw new TypeError("Missing localeData.countries");Ou[r.locale]=r.countries}wn.registerLocale=Ay;function yf(r){return _d[r]}wn.alpha3ToAlpha2=yf;function wf(r){return kd[r]}wn.alpha2ToAlpha3=wf;function Oy(r){return bf[yf(r)]}wn.alpha3ToNumeric=Oy;function My(r){return bf[r]}wn.alpha2ToNumeric=My;function xf(r){var e=Th(r);return wf(Cc[e])}wn.numericToAlpha3=xf;function Sf(r){var e=Th(r);return Cc[e]}wn.numericToAlpha2=Sf;function Py(r){if(typeof r=="string"){if(/^[0-9]*$/.test(r))return xf(r);if(r.length===2)return wf(r.toUpperCase());if(r.length===3)return r.toUpperCase()}if(typeof r=="number")return xf(r)}wn.toAlpha3=Py;function Rh(r){if(typeof r=="string"){if(/^[0-9]*$/.test(r))return Sf(r);if(r.length===2)return r.toUpperCase();if(r.length===3)return yf(r.toUpperCase())}if(typeof r=="number")return Sf(r)}wn.toAlpha2=Rh,wn.getName=function(r,e){try{var n=Ou[e.toLowerCase()];return n[Rh(r)]}catch{return}},wn.getNames=function(r){var e=Ou[r.toLowerCase()];return e===void 0?{}:e},wn.getAlpha2Code=function(r,e){try{var n,a=Ou[e.toLowerCase()];for(n in a)if(a.hasOwnProperty(n)&&a[n].toLowerCase()===r.toLowerCase())return n;return}catch{return}},wn.getSimpleAlpha2Code=function(r,e){try{var n,a=Ou[e.toLowerCase()];for(n in a)if(a.hasOwnProperty(n)&&Ch(a[n].toLowerCase())===Ch(r.toLowerCase()))return n;return}catch{return}},wn.getAlpha2Codes=function(){return kd},wn.getAlpha3Code=function(r,e){var n=this.getAlpha2Code(r,e);if(n)return this.toAlpha3(n)},wn.getSimpleAlpha3Code=function(r,e){var n=this.getSimpleAlpha2Code(r,e);if(n)return this.toAlpha3(n)},wn.getAlpha3Codes=function(){return _d},wn.getNumericCodes=function(){return Cc},wn.langs=function(){return Object.keys(Ou)},wn.isValid=function(r){if(!r)return!1;var e=r.toString().toUpperCase();return _d.hasOwnProperty(e)||kd.hasOwnProperty(e)||Cc.hasOwnProperty(e)};const Fy={locale:"de",countries:{AF:"Afghanistan",EG:"Ägypten",AX:"Åland",AL:"Albanien",DZ:"Algerien",AS:"Amerikanisch-Samoa",VI:"Amerikanische Jungferninseln",AD:"Andorra",AO:"Angola",AI:"Anguilla",AQ:"Antarktis",AG:"Antigua und Barbuda",GQ:"Äquatorialguinea",AR:"Argentinien",AM:"Armenien",AW:"Aruba",AZ:"Aserbaidschan",ET:"Äthiopien",AU:"Australien",BS:"Bahamas",BH:"Bahrain",BD:"Bangladesch",BB:"Barbados",BY:"Weißrussland",BE:"Belgien",BZ:"Belize",BJ:"Benin",BM:"Bermuda",BT:"Bhutan",BO:"Bolivien",BQ:"Bonaire",BA:"Bosnien und Herzegowina",BW:"Botswana",BV:"Bouvetinsel",BR:"Brasilien",VG:"Britische Jungferninseln",IO:"Britisches Territorium im Indischen Ozean",BN:"Brunei Darussalam",BG:"Bulgarien",BF:"Burkina Faso",BI:"Burundi",CL:"Chile",CN:"Festlandchina",CK:"Cookinseln",CR:"Costa Rica",CI:"Elfenbeinküste",CW:"Curaçao",DK:"Dänemark",DE:"Deutschland",DM:"Dominica",DO:"Dominikanische Republik",DJ:"Dschibuti",EC:"Ecuador",SV:"El Salvador",ER:"Eritrea",EE:"Estland",FK:"Falklandinseln",FO:"Färöer",FJ:"Fidschi",FI:"Finnland",FR:"Frankreich",GF:"Französisch-Guayana",PF:"Französisch-Polynesien",TF:"Französische Süd- und Antarktisgebiete",GA:"Gabun",GM:"Gambia",GE:"Georgien",GH:"Ghana",GI:"Gibraltar",GD:"Grenada",GR:"Griechenland",GL:"Grönland",GP:"Guadeloupe",GU:"Guam",GT:"Guatemala",GG:"Guernsey",GN:"Guinea",GW:"Guinea-Bissau",GY:"Guyana",HT:"Haiti",HM:"Heard und McDonaldinseln",HN:"Honduras",HK:"SAR Hong Kong",IN:"Indien",ID:"Indonesien",IM:"Insel Man",IQ:"Irak",IR:"Iran",IE:"Irland",IS:"Island",IL:"Israel",IT:"Italien",JM:"Jamaika",JP:"Japan",YE:"Jemen",JE:"Jersey",JO:"Jordanien",KY:"Kaimaninseln",KH:"Kambodscha",CM:"Kamerun",CA:"Kanada",CV:"Kap Verde",KZ:"Kasachstan",QA:"Katar",KE:"Kenia",KG:"Kirgisistan",KI:"Kiribati",CC:"Kokosinseln",CO:"Kolumbien",KM:"Komoren",CD:"Kongo",KP:"Nordkorea",KR:"Südkorea",HR:"Kroatien",CU:"Kuba",KW:"Kuwait",LA:"Laos",LS:"Lesotho",LV:"Lettland",LB:"Libanon",LR:"Liberia",LY:"Libyen",LI:"Liechtenstein",LT:"Litauen",LU:"Luxemburg",MO:"SAR Macau",MG:"Madagaskar",MW:"Malawi",MY:"Malaysia",MV:"Malediven",ML:"Mali",MT:"Malta",MA:"Marokko",MH:"Marshallinseln",MQ:"Martinique",MR:"Mauretanien",MU:"Mauritius",YT:"Mayotte",MX:"Mexiko",FM:"Mikronesien",MD:"Moldawien",MC:"Monaco",MN:"Mongolei",ME:"Montenegro",MS:"Montserrat",MZ:"Mosambik",MM:"Myanmar",NA:"Namibia",NR:"Nauru",NP:"Nepal",NC:"Neukaledonien",NZ:"Neuseeland",NI:"Nicaragua",NL:"Niederlande",NE:"Niger",NG:"Nigeria",NU:"Niue",MK:"Nordmazedonien",MP:"Nördliche Marianen",NF:"Norfolkinsel",NO:"Norwegen",OM:"Oman",AT:"Österreich",TL:"Osttimor",PK:"Pakistan",PS:"Staat Palästina",PW:"Palau",PA:"Panama",PG:"Papua-Neuguinea",PY:"Paraguay",PE:"Peru",PH:"Philippinen",PN:"Pitcairninseln",PL:"Polen",PT:"Portugal",PR:"Puerto Rico",TW:"Taiwan Region",CG:"Republik Kongo",RE:"Réunion",RW:"Ruanda",RO:"Rumänien",RU:"Russische Föderation",BL:"Saint-Barthélemy",MF:"Saint-Martin",SB:"Salomonen",ZM:"Sambia",WS:"Samoa",SM:"San Marino",ST:"São Tomé und Príncipe",SA:"Saudi-Arabien",SE:"Schweden",CH:"Schweiz",SN:"Senegal",RS:"Serbien",SC:"Seychellen",SL:"Sierra Leone",ZW:"Simbabwe",SG:"Singapur",SX:"Sint Maarten",SK:"Slowakei",SI:"Slowenien",SO:"Somalia",ES:"Spanien",LK:"Sri Lanka",SH:"St. Helena",KN:"St. Kitts und Nevis",LC:"St. Lucia",PM:"Saint-Pierre und Miquelon",VC:"St. Vincent und die Grenadinen",ZA:"Südafrika",SD:"Sudan",GS:"Südgeorgien und die Südlichen Sandwichinseln",SS:"Südsudan",SR:"Suriname",SJ:"Svalbard und Jan Mayen",SZ:"Swasiland",SY:"Syrien, Arabische Republik",TJ:"Tadschikistan",TZ:"Tansania, Vereinigte Republik",TH:"Thailand",TG:"Togo",TK:"Tokelau",TO:"Tonga",TT:"Trinidad und Tobago",TD:"Tschad",CZ:"Tschechische Republik",TN:"Tunesien",TR:"Türkei",TM:"Turkmenistan",TC:"Turks- und Caicosinseln",TV:"Tuvalu",UG:"Uganda",UA:"Ukraine",HU:"Ungarn",UM:"United States Minor Outlying Islands",UY:"Uruguay",UZ:"Usbekistan",VU:"Vanuatu",VA:"Vatikanstadt",VE:"Venezuela",AE:"Vereinigte Arabische Emirate",US:"Vereinigte Staaten von Amerika",GB:"Vereinigtes Königreich",VN:"Vietnam",WF:"Wallis und Futuna",CX:"Weihnachtsinsel",EH:"Westsahara",CF:"Zentralafrikanische Republik",CY:"Zypern",XK:"Kosovo"}},Dy={locale:"en",countries:{AF:"Afghanistan",AL:"Albania",DZ:"Algeria",AS:"American Samoa",AD:"Andorra",AO:"Angola",AI:"Anguilla",AQ:"Antarctica",AG:"Antigua and Barbuda",AR:"Argentina",AM:"Armenia",AW:"Aruba",AU:"Australia",AT:"Austria",AZ:"Azerbaijan",BS:"Bahamas",BH:"Bahrain",BD:"Bangladesh",BB:"Barbados",BY:"Belarus",BE:"Belgium",BZ:"Belize",BJ:"Benin",BM:"Bermuda",BT:"Bhutan",BO:"Bolivia",BA:"Bosnia and Herzegovina",BW:"Botswana",BV:"Bouvet Island",BR:"Brazil",IO:"British Indian Ocean Territory",BN:"Brunei Darussalam",BG:"Bulgaria",BF:"Burkina Faso",BI:"Burundi",KH:"Cambodia",CM:"Cameroon",CA:"Canada",CV:"Cape Verde",KY:"Cayman Islands",CF:"Central African Republic",TD:"Chad",CL:"Chile",CN:"China Mainland",CX:"Christmas Island",CC:"Cocos (Keeling) Islands",CO:"Colombia",KM:"Comoros",CG:"Congo",CD:"Congo, the Democratic Republic of the",CK:"Cook Islands",CR:"Costa Rica",CI:"Cote D'Ivoire",HR:"Croatia",CU:"Cuba",CY:"Cyprus",CZ:"Czech Republic",DK:"Denmark",DJ:"Djibouti",DM:"Dominica",DO:"Dominican Republic",EC:"Ecuador",EG:"Egypt",SV:"El Salvador",GQ:"Equatorial Guinea",ER:"Eritrea",EE:"Estonia",ET:"Ethiopia",FK:"Falkland Islands (Malvinas)",FO:"Faroe Islands",FJ:"Fiji",FI:"Finland",FR:"France",GF:"French Guiana",PF:"French Polynesia",TF:"French Southern Territories",GA:"Gabon",GM:"Gambia",GE:"Georgia",DE:"Germany",GH:"Ghana",GI:"Gibraltar",GR:"Greece",GL:"Greenland",GD:"Grenada",GP:"Guadeloupe",GU:"Guam",GT:"Guatemala",GN:"Guinea",GW:"Guinea-Bissau",GY:"Guyana",HT:"Haiti",HM:"Heard Island and Mcdonald Islands",VA:"Holy See (Vatican City State)",HN:"Honduras",HK:"Hong Kong SAR",HU:"Hungary",IS:"Iceland",IN:"India",ID:"Indonesia",IR:"Iran, Islamic Republic of",IQ:"Iraq",IE:"Ireland",IL:"Israel",IT:"Italy",JM:"Jamaica",JP:"Japan",JO:"Jordan",KZ:"Kazakhstan",KE:"Kenya",KI:"Kiribati",KP:"North Korea",KR:"South Korea",KW:"Kuwait",KG:"Kyrgyzstan",LA:"Lao People's Democratic Republic",LV:"Latvia",LB:"Lebanon",LS:"Lesotho",LR:"Liberia",LY:"Libya",LI:"Liechtenstein",LT:"Lithuania",LU:"Luxembourg",MO:"Macau SAR",MG:"Madagascar",MW:"Malawi",MY:"Malaysia",MV:"Maldives",ML:"Mali",MT:"Malta",MH:"Marshall Islands",MQ:"Martinique",MR:"Mauritania",MU:"Mauritius",YT:"Mayotte",MX:"Mexico",FM:"Micronesia, Federated States of",MD:"Moldova, Republic of",MC:"Monaco",MN:"Mongolia",MS:"Montserrat",MA:"Morocco",MZ:"Mozambique",MM:"Myanmar",NA:"Namibia",NR:"Nauru",NP:"Nepal",NL:"Netherlands",NC:"New Caledonia",NZ:"New Zealand",NI:"Nicaragua",NE:"Niger",NG:"Nigeria",NU:"Niue",NF:"Norfolk Island",MK:"North Macedonia, Republic of",MP:"Northern Mariana Islands",NO:"Norway",OM:"Oman",PK:"Pakistan",PW:"Palau",PS:"Palestinian Territory",PA:"Panama",PG:"Papua New Guinea",PY:"Paraguay",PE:"Peru",PH:"Philippines",PN:"Pitcairn",PL:"Poland",PT:"Portugal",PR:"Puerto Rico",QA:"Qatar",RE:"Reunion",RO:"Romania",RU:"Russian Federation",RW:"Rwanda",SH:"Saint Helena",KN:"Saint Kitts and Nevis",LC:"Saint Lucia",PM:"Saint Pierre and Miquelon",VC:"Saint Vincent and the Grenadines",WS:"Samoa",SM:"San Marino",ST:"Sao Tome and Principe",SA:"Kingdom of Saudi Arabia",SN:"Senegal",SC:"Seychelles",SL:"Sierra Leone",SG:"Singapore",SK:"Slovakia",SI:"Slovenia",SB:"Solomon Islands",SO:"Somalia",ZA:"South Africa",GS:"South Georgia and the South Sandwich Islands",ES:"Spain",LK:"Sri Lanka",SD:"Sudan",SR:"Suriname",SJ:"Svalbard and Jan Mayen",SZ:"Swaziland",SE:"Sweden",CH:"Switzerland",SY:"Syrian Arab Republic",TW:"Taiwan Region",TJ:"Tajikistan",TZ:"Tanzania, United Republic of",TH:"Thailand",TL:"Timor-Leste",TG:"Togo",TK:"Tokelau",TO:"Tonga",TT:"Trinidad and Tobago",TN:"Tunisia",TR:"Turkey",TM:"Turkmenistan",TC:"Turks and Caicos Islands",TV:"Tuvalu",UG:"Uganda",UA:"Ukraine",AE:"United Arab Emirates",GB:"United Kingdom",US:"United States of America",UM:"United States Minor Outlying Islands",UY:"Uruguay",UZ:"Uzbekistan",VU:"Vanuatu",VE:"Venezuela",VN:"Viet Nam",VG:"Virgin Islands, British",VI:"Virgin Islands, U.S.",WF:"Wallis and Futuna",EH:"Western Sahara",YE:"Yemen",ZM:"Zambia",ZW:"Zimbabwe",AX:"Åland Islands",BQ:"Bonaire, Sint Eustatius and Saba",CW:"Curaçao",GG:"Guernsey",IM:"Isle of Man",JE:"Jersey",ME:"Montenegro",BL:"Saint Barthélemy",MF:"Saint Martin (French part)",RS:"Serbia",SX:"Sint Maarten (Dutch part)",SS:"South Sudan",XK:"Kosovo"}},Ly={locale:"nl",countries:{AF:"Afghanistan",AL:"Albanië",DZ:"Algerije",AS:"Amerikaans-Samoa",AD:"Andorra",AO:"Angola",AI:"Anguilla",AQ:"Antarctica",AG:"Antigua en Barbuda",AR:"Argentinië",AM:"Armenië",AW:"Aruba",AU:"Australië",AT:"Oostenrijk",AZ:"Azerbeidzjan",BS:"Bahama's",BH:"Bahrein",BD:"Bangladesh",BB:"Barbados",BY:"Wit-Rusland",BE:"België",BZ:"Belize",BJ:"Benin",BM:"Bermuda",BT:"Bhutan",BO:"Bolivië",BA:"Bosnië-Herzegovina",BW:"Botswana",BV:"Bouvet Eiland",BR:"Brazilië",IO:"Brits Indische oceaan",BN:"Brunei Darussalam",BG:"Bulgarije",BF:"Burkina Faso",BI:"Burundi",KH:"Cambodja",CM:"Kameroen",CA:"Canada",CV:"Kaapverdië",KY:"Kaaimaneilanden",CF:"Centraal-Afrikaanse Republiek",TD:"Tsjaad",CL:"Chili",CN:"Vasteland van China",CX:"Christmaseiland",CC:"Cocoseilanden",CO:"Colombia",KM:"Comoren",CG:"Congo, Volksrepubliek",CD:"Congo, Democratische Republiek",CK:"Cookeilanden",CR:"Costa Rica",CI:"Ivoorkust",HR:"Kroatië",CU:"Cuba",CY:"Cyprus",CZ:"Tsjechië",DK:"Denemarken",DJ:"Djibouti",DM:"Dominica",DO:"Dominicaanse Republiek",EC:"Ecuador",EG:"Egypte",SV:"El Salvador",GQ:"Equatoriaal-Guinea",ER:"Eritrea",EE:"Estland",ET:"Ethiopië",FK:"Falklandeilanden",FO:"Faeröer",FJ:"Fiji",FI:"Finland",FR:"Frankrijk",GF:"Frans-Guyana",PF:"Frans-Polynesië",TF:"Franse Zuidelijke Gebieden",GA:"Gabon",GM:"Gambia",GE:"Georgië",DE:"Duitsland",GH:"Ghana",GI:"Gibraltar",GR:"Griekenland",GL:"Groenland",GD:"Grenada",GP:"Guadeloupe",GU:"Guam",GT:"Guatemala",GN:"Guinea",GW:"Guinee-Bissau",GY:"Guyana",HT:"Haïti",HM:"Heard en McDonaldeilanden",VA:"Heilige Stoel",HN:"Honduras",HK:"Hongkong SAR",HU:"Hongarije",IS:"IJsland",IN:"India",ID:"Indonesia",IR:"Iran",IQ:"Irak",IE:"Ierland",IL:"Israël",IT:"Italië",JM:"Jamaica",JP:"Japan",JO:"Jordanië",KZ:"Kazachstan",KE:"Kenia",KI:"Kiribati",KP:"Noord-Korea",KR:"Zuid-Korea",KW:"Koeweit",KG:"Kirgizstan",LA:"Laos",LV:"Letland",LB:"Libanon",LS:"Lesotho",LR:"Liberia",LY:"Libië",LI:"Liechtenstein",LT:"Litouwen",LU:"Luxemburg",MO:"Macau SAR",MG:"Madagaskar",MW:"Malawi",MY:"Maleisië",MV:"Maldiven",ML:"Mali",MT:"Malta",MH:"Marshalleilanden",MQ:"Martinique",MR:"Mauritanië",MU:"Mauritius",YT:"Mayotte",MX:"Mexico",FM:"Micronesië, Federale Staten",MD:"Moldavië",MC:"Monaco",MN:"Mongolië",MS:"Montserrat",MA:"Marokko",MZ:"Mozambique",MM:"Myanmar",NA:"Namibië",NR:"Nauru",NP:"Nepal",NL:"Nederland",NC:"Nieuw-Caledonië",NZ:"Nieuw-Zeeland",NI:"Nicaragua",NE:"Niger",NG:"Nigeria",NU:"Niue",NF:"Norfolk",MP:"Noordelijke Marianen",MK:"Noord-Macedonië",NO:"Noorwegen",OM:"Oman",PK:"Pakistan",PW:"Palau",PS:"Palestina",PA:"Panama",PG:"Papoea-Nieuw-Guinea",PY:"Paraguay",PE:"Peru",PH:"Filipijnen",PN:"Pitcairn",PL:"Polen",PT:"Portugal",PR:"Puerto Rico",QA:"Qatar",RE:"Réunion",RO:"Roemenië",RU:"Rusland",RW:"Rwanda",SH:"Sint-Helena",KN:"Saint Kitts en Nevis",LC:"Saint Lucia",PM:"Saint-Pierre en Miquelon",VC:"Saint Vincent en de Grenadines",WS:"Samoa",SM:"San Marino",ST:"São Tomé en Principe",SA:"Saudi-Arabië",SN:"Senegal",SC:"Seychellen",SL:"Sierra Leone",SG:"Singapore",SK:"Slowakije",SI:"Slovenië",SB:"Salomonseilanden",SO:"Somalië",ZA:"Zuid-Afrika",GS:"Zuid-Georgia en de Zuidelijke Sandwicheilanden",ES:"Spanje",LK:"Sri Lanka",SD:"Soedan",SR:"Suriname",SJ:"Spitsbergen en Jan Mayen",SZ:"Ngwane, Koninkrijk Swaziland",SE:"Zweden",CH:"Zwitserland",SY:"Syrië",TW:"Regio Taiwan",TJ:"Tadzjikistan",TZ:"Tanzania, Verenigde Republiek",TH:"Thailand",TL:"Timor Leste",TG:"Togo",TK:"Tokelau",TO:"Tonga",TT:"Trinidad en Tobago",TN:"Tunesië",TR:"Turkije",TM:"Turkmenistan",TC:"Turks- en Caicoseilanden",TV:"Tuvalu",UG:"Oeganda",UA:"Oekraïne",AE:"Verenigde Arabische Emiraten",GB:"Verenigd Koninkrijk",US:"Verenigde Staten van Amerika",UM:"Ver afgelegen eilandjes van de Verenigde Staten",UY:"Uruguay",UZ:"Oezbekistan",VU:"Vanuatu",VE:"Venezuela",VN:"Vietnam",VG:"Maagdeneilanden, Britse",VI:"Maagdeneilanden, Amerikaanse",WF:"Wallis en Futuna",EH:"Westelijke Sahara",YE:"Jemen",ZM:"Zambia",ZW:"Zimbabwe",AX:"Åland",BQ:"Bonaire, Sint Eustatius en Saba",CW:"Curaçao",GG:"Guernsey",IM:"Man Eiland",JE:"Jersey",ME:"Montenegro",BL:"Saint Barthélemy",MF:"Sint-Maarten (Frans deel)",RS:"Servië",SX:"Sint Maarten (Nederlands deel)",SS:"Zuid-Soedan",XK:"Kosovo"}};Ny();const By=({question:r,fieldState:e,setQuestionRef:n})=>{const a=Fn("fields",r.presentation!=="horizontal"?"options":null),o=g=>{e.setValue(g.target.value.length!==0?g.target.value:null)},{t:c}=Ps();return z.jsxs(Li,{question:r,fieldState:e,setQuestionRef:n,children:[z.jsx(Fi,{question:r}),z.jsxs("div",{className:"description-and-fields",children:[z.jsx(Di,{question:r}),z.jsx("div",{className:a,id:jy(r),children:z.jsxs("select",{value:e.value??"",onChange:o,onFocus:e.setAsActiveQuestion,disabled:e.disabled,children:[z.jsx("option",{value:"",children:c("choose_a_country")}),z.jsx(zy,{lang:dr.language})]})})]})]})};function Ny(){wn.registerLocale(Ly),wn.registerLocale(Dy),wn.registerLocale(Fy)}function jy(r){return`answer_${r.key}_input`}const zy=Pe.memo(r=>z.jsx(z.Fragment,{children:Uy(r.lang).map(e=>z.jsx(Vy,{option:e},e.numeric))}));function Uy(r){return Object.entries(wn.getNames(r)).sort(([e,n],[a,o])=>n.localeCompare(o)).map(([e,n])=>({country:n,numeric:wn.alpha2ToNumeric(e).toString()}))}const Vy=({option:r})=>z.jsx("option",{value:r.numeric??"",children:r.country}),Wy=({question:r,fieldState:e,setQuestionRef:n})=>{const{t:a}=Ps(),o=Hy(r,e.value??null),c=(g,y)=>{e.setValue($y(r,o.set(g,y)))};return z.jsxs(Li,{question:r,fieldState:e,setQuestionRef:n,children:[z.jsx(Fi,{question:r}),z.jsxs("div",{className:"description-and-fields",children:[z.jsx(Di,{question:r}),z.jsx("div",{className:"fields",id:Gy(r),children:r.units.map(g=>z.jsxs(Pe.Fragment,{children:[z.jsx("input",{type:"text",value:(o==null?void 0:o.get(g))||"",size:r.size,disabled:e.disabled,onChange:y=>c(g,parseInt(y.target.value)),onFocus:e.setAsActiveQuestion}),z.jsx("span",{className:"mx-1",children:a(`units.${g}`,{defaultValue:g})})]},g))})]})]})};function Hy(r,e){if(e==null)return new Map;const n=new Map;for(const a of r.units){const o=r.conversions[a]||1,c=Math.trunc(e/o);n.set(a,c),e=e%o}return n}function $y(r,e){return[...e.values()].every(n=>n===void 0)?null:r.units.reduce((n,a)=>n+(e.get(a)||0)*(r.conversions[a]||1),0)}function Gy(r){return`answer_${r.key}_input`}const Ih=({fieldKey:r})=>{const{questionnaire:e,response:n,setQuestionRef:a,displayOptions:o}=Pe.useContext(sf),c=e.getField(r);switch(c.as){case"string":{const g=n.getFieldState(r);return g.hidden?null:z.jsx(wb,{question:c,fieldState:g,setQuestionRef:a})}case"country_select":{const g=n.getFieldState(r);return g.hidden?null:z.jsx(By,{question:c,fieldState:g,setQuestionRef:a})}case"scale":{const g=n.getFieldState(r);return g.hidden?null:z.jsx(Sb,{question:c,fieldState:g,setQuestionRef:a})}case"radio":{const g=n.getFieldState(r);return g.hidden?null:z.jsx(Tb,{question:c,fieldState:g,setQuestionRef:a})}case"select":{const g=n.getFieldState(r);return g.hidden?null:z.jsx(Mb,{question:c,fieldState:g,setQuestionRef:a})}case"date_parts":{const g=n.getFieldState(r);return g.hidden?null:z.jsx(Db,{question:c,fieldState:g,setQuestionRef:a})}case"integer":{const g=n.getFieldState(r);return g.hidden?null:z.jsx(Bb,{question:c,fieldState:g,setQuestionRef:a})}case"float":{const g=n.getFieldState(r);return g.hidden?null:z.jsx(jb,{question:c,fieldState:g,setQuestionRef:a})}case"slider":{const g=n.getFieldState(r);return g.hidden?null:o.newLayout?z.jsx(Yb,{question:c,fieldState:g,setQuestionRef:a}):z.jsx(uy,{question:c,fieldState:g,setQuestionRef:a})}case"split_to_units":{const g=n.getFieldState(r);return g.hidden?null:z.jsx(Wy,{question:c,fieldState:g,setQuestionRef:a})}case"textarea":{const g=n.getFieldState(r);return g.hidden?null:z.jsx(by,{question:c,fieldState:g,setQuestionRef:a})}case"check_box":{const g=n.getFieldState(r);return g.hidden?null:z.jsx(wy,{question:c,fieldState:g,setQuestionRef:a})}}throw new Error("unknown question type")};var kf=new Map,Ed=new WeakMap,Ah=0,Zy=void 0;function Yy(r){return r?(Ed.has(r)||(Ah+=1,Ed.set(r,Ah.toString())),Ed.get(r)):"0"}function Ky(r){return Object.keys(r).sort().filter(e=>r[e]!==void 0).map(e=>`${e}_${e==="root"?Yy(r.root):r[e]}`).toString()}function Jy(r){const e=Ky(r);let n=kf.get(e);if(!n){const a=new Map;let o;const c=new IntersectionObserver(g=>{g.forEach(y=>{var w;const E=y.isIntersecting&&o.some(L=>y.intersectionRatio>=L);r.trackVisibility&&typeof y.isVisible>"u"&&(y.isVisible=E),(w=a.get(y.target))==null||w.forEach(L=>{L(E,y)})})},r);o=c.thresholds||(Array.isArray(r.threshold)?r.threshold:[r.threshold||0]),n={id:e,observer:c,elements:a},kf.set(e,n)}return n}function Qy(r,e,n={},a=Zy){if(typeof window.IntersectionObserver>"u"&&a!==void 0){const w=r.getBoundingClientRect();return e(a,{isIntersecting:a,target:r,intersectionRatio:typeof n.threshold=="number"?n.threshold:0,time:0,boundingClientRect:w,intersectionRect:w,rootBounds:w}),()=>{}}const{id:o,observer:c,elements:g}=Jy(n),y=g.get(r)||[];return g.has(r)||g.set(r,y),y.push(e),c.observe(r),function(){y.splice(y.indexOf(e),1),y.length===0&&(g.delete(r),c.unobserve(r)),g.size===0&&(c.disconnect(),kf.delete(o))}}function Xy({threshold:r,delay:e,trackVisibility:n,rootMargin:a,root:o,triggerOnce:c,skip:g,initialInView:y,fallbackInView:w,onChange:E}={}){var L;const[P,W]=rc.useState(null),se=rc.useRef(E),[ae,ke]=rc.useState({inView:!!y,entry:void 0});se.current=E,rc.useEffect(()=>{if(g||!P)return;let fe;return fe=Qy(P,(de,ee)=>{ke({inView:de,entry:ee}),se.current&&se.current(de,ee),ee.isIntersecting&&c&&fe&&(fe(),fe=void 0)},{root:o,rootMargin:a,threshold:r,trackVisibility:n,delay:e},w),()=>{fe&&fe()}},[Array.isArray(r)?r.toString():r,P,o,a,c,g,n,w,e]);const G=(L=ae.entry)==null?void 0:L.target,Z=rc.useRef(void 0);!P&&G&&!c&&!g&&Z.current!==G&&(Z.current=G,ke({inView:!!y,entry:void 0}));const be=[W,ae.inView,ae.entry];return be.ref=be[0],be.inView=be[1],be.entry=be[2],be}const qy=({item:r})=>{const[e,n]=Pe.useState(r.startOpen),[a,o]=Pe.useState(!1),{ref:c,inView:g}=Xy({initialInView:!0,fallbackInView:!1}),y=w=>{"key"in w&&w.key!=="Enter"||(e?(o(!0),setTimeout(()=>{o(!1),n(!1)},300)):(n(!0),o(!0),setTimeout(()=>o(!1),1)))};return z.jsxs("div",{className:"info-item",children:[z.jsx("div",{ref:c}),z.jsx("div",{className:Fn("info-icon",{stuck:!g&&r.items.length>0}),onClick:y,onKeyDown:y,"aria-has-popup":"dialog","aria-expanded":e||r.startOpen&&g,"aria-controls":"#%{item.key}",tabIndex:r.startOpen?-1:0,children:z.jsxs("svg",{"aria-label":"info",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg","stroke-width":"0",fill:"currentColor",stroke:"currentColor",children:[z.jsx("path",{d:"M260 740 A460 350 0 1 1 430 790 A300 200 -25 0 1 200 930 A200 300 65 0 0 260 740 Z",fill:"none","stroke-width":"80"}),z.jsx("circle",{cx:"490",cy:"260",r:"45"}),z.jsx("line",{x1:"490",x2:"490",y1:"420",y2:"640","stroke-width":"90","stroke-linecap":"round"})]})}),e&&z.jsx("div",{id:r.key,className:Fn("info-html prose",{open:e,opening:a}),children:z.jsx("div",{dangerouslySetInnerHTML:{__html:r.html}})}),r.items.map((w,E)=>z.jsx(Oh,{item:w},E))]})},e0=({item:r})=>z.jsxs("div",{className:"item",style:{border:"1px red",background:"yellow"},children:["Unknown item type:",r.type]}),Oh=r=>{switch(r.item.type){case"html":return z.jsx(gb,{item:r.item});case"question":return z.jsx(Ih,{fieldKey:r.item.key});case"info":return z.jsx(qy,{item:r.item});default:return z.jsx(e0,{item:r.item})}},Mh=({panel:r})=>z.jsxs("div",{className:"m-panel-padding",children:[z.jsx(t0,{title:r.title}),r.items.map((e,n)=>z.jsx(Oh,{item:e},n))]}),t0=({title:r})=>r?z.jsx("h1",{children:r}):null,Ph="buttons bg-slate-100 dark:bg-slate-700 p-panel-padding",n0=r=>{const[e,n]=Pe.useState(r.panelLogic.firstPanelIndexToActivate()),a=Pe.useRef(null),o=r.panelLogic.previousPanelIndexToActivate(e),c=r.panelLogic.nextPanelIndexToActivate(e),g={prev:o!==null?()=>{var y;n(o),(y=a.current)==null||y.focus()}:void 0,next:c!==null&&r.displayMode!=="single_page"?()=>{var y;r.beforeNext(e)&&(n(c),(y=a.current)==null||y.focus())}:void 0,done:r.onDone,abort:r.onAbort,previousQuestionnaire:o===null?r.onPreviousQuestionnaire:void 0,onFocus:r.onFocus,nextSavePressWillOnlyRunMinimalValidations:r.nextSavePressWillOnlyRunMinimalValidations};switch(r.displayMode){case"paged":return z.jsxs(r0,{panelLogic:r.panelLogic,panelIndex:e,navigate:g,children:[z.jsx("span",{ref:a,tabIndex:-1}),z.jsx(Mh,{panel:r.panelLogic.panels[e]})]});case"single_page":return z.jsxs(Pe.Fragment,{children:[z.jsx("span",{ref:a,tabIndex:-1}),r.panelLogic.panels.map((y,w)=>!r.panelLogic.allQuestionsHidden(w)&&z.jsxs(Pe.Fragment,{children:[z.jsxs("fieldset",{className:"panel",children:[z.jsx(Mh,{panel:y}),r.panelLogic.isLastPanel(w)?z.jsx(Fh,{firstPanel:!1,lastPanel:!0,navigate:g}):null]}),w<r.panelLogic.panels.length-1&&z.jsx("div",{className:Ph})]},w))]});default:return null}},r0=r=>z.jsxs("fieldset",{className:"panel",children:[z.jsx(a0,{}),r.children,z.jsx(hb,{max:r.panelLogic.count(),current:r.panelIndex}),z.jsx(Fh,{firstPanel:r.panelLogic.isFirstPanel(r.panelIndex),lastPanel:r.panelLogic.isLastPanel(r.panelIndex),navigate:r.navigate})]}),Fh=r=>{const{t:e}=Ps(),n=r.navigate.nextSavePressWillOnlyRunMinimalValidations?e("questionnaire_not_completed.save_anyway"):e("done");return z.jsxs("div",{className:Ph,children:[r.navigate.nextSavePressWillOnlyRunMinimalValidations&&i0(e),z.jsxs("div",{className:"flex justify-between",children:[z.jsx("div",{className:"next order-last",children:r.navigate.next?z.jsx(Tc,{onClick:r.navigate.next,value:e("next"),onFocus:r.navigate.onFocus,variant:"primary"}):z.jsx(Tc,{onClick:r.navigate.done,value:n,onFocus:r.navigate.onFocus,variant:"primary"})}),z.jsxs("div",{className:"prev",children:[r.navigate.prev&&z.jsx(Tc,{onClick:r.navigate.prev,value:e("previous"),onFocus:r.navigate.onFocus}),r.navigate.previousQuestionnaire&&z.jsx(Tc,{onClick:r.navigate.previousQuestionnaire,value:e("previous_questionnaire"),onFocus:r.navigate.onFocus})]}),z.jsx("div",{className:"abort text-center",children:r.navigate.abort&&z.jsx(Tc,{onClick:r.navigate.abort,value:e("abort"),onFocus:r.navigate.onFocus})})]})]})},i0=r=>z.jsxs("div",{className:"m-panel-padding p-panel-padding border-2 rounded border-warning fg-warning-inv",children:[z.jsx("h1",{children:r("questionnaire_not_completed.heading")}),z.jsx("p",{children:r("questionnaire_not_completed.explanation")})]}),Tc=({value:r,onClick:e,onFocus:n,variant:a})=>z.jsx("button",{onClick:e,onFocus:n,className:a||"secondary",children:r}),a0=()=>null,Yo=Pe.createContext(r=>r),Dh=({questionnaire:r,response:e,displayOptions:n,allowSkipValidation:a,onSave:o,onAbort:c,onPreviousQuestionnaire:g})=>{o0(e);const[y,w]=s0(e),E=Pe.useRef(null);fb(e,r,E);const L=n.displayMode,P=new Map,W=new hh(e,r),se=new cb(e,r.panels),ae=fe=>{const de=r.panels[fe];e.touchPanelFields(de);const ee=e.firstNotValidQuestionInPanel(de);if(ee){const Te=P.get(ee);if(!Te)throw`Could not find ref for ${r.key}.${ee}`;_f(Te)}return ee===null},ke=()=>{e.touchAllFields();const fe=e.firstNotValidQuestion();if(y)o();else if(fe){const de=P.get(fe);if(!de)throw`Could not find ref for ${r.key}.${fe}`;_f(de),a&&e.validEnoughForForcedSave()&&w(!0)}else o()},G=fe=>fe?()=>{const de=e.firstNotValidQuestion();if(!de||e.validEnoughForForcedSave())fe();else if(de){const ee=P.get(de);if(!ee)throw`Could not find ref for ${r.key}.${de}`;_f(ee)}}:void 0,Z=(fe,de)=>{P.set(fe,de)},be=Fn({dark:n.darkMode});return z.jsx(Yo.Provider,{value:W.interpolateCurlies,children:z.jsx(sf.Provider,{value:{questionnaire:r,response:e,displayOptions:n,setQuestionRef:Z},children:z.jsxs("div",{ref:E,className:be,style:bh(r.cssVars),children:[z.jsx("form",{className:"paged",onSubmit:fe=>fe.preventDefault(),children:z.jsx(n0,{beforeNext:ae,displayMode:L,nextSavePressWillOnlyRunMinimalValidations:y,panelLogic:se,onDone:ke,onAbort:G(c),onPreviousQuestionnaire:G(g),onFocus:()=>e.setActiveQuestion(null)})}),r.footer&&z.jsx("footer",{dangerouslySetInnerHTML:{__html:r.footer}})]})})})},o0=r=>{const[e,n]=Pe.useState(0);Pe.useEffect(()=>{const a=o=>n(c=>c+1);return r.onChange(a),()=>r.offChange(a)})},s0=r=>{const[e,n]=Pe.useState(!1);return Pe.useEffect(()=>{const a=(o,c)=>{e&&c==="valueChanged"&&n(!1)};return r.onChange(a),()=>r.offChange(a)}),[e,n]},_f=r=>{const e=r==null?void 0:r.current;if(!e)return;e.scrollIntoView();const n=e.querySelector('input, select, textarea, [tabindex]:not([tabindex="-1"])');n instanceof HTMLElement&&n.focus()};var Ol={};/**
70
70
  * @license React
71
71
  * react-dom-server-legacy.browser.production.min.js
72
72
  *
@@ -74,13 +74,13 @@ Check the top-level render call using <`+Ce+">.")}return ge}}function gr(U,ge){{
74
74
  *
75
75
  * This source code is licensed under the MIT license found in the
76
76
  * LICENSE file in the root directory of this source tree.
77
- */var Sh;function Dy(){if(Sh)return Al;Sh=1;var r=Me;function e(p){for(var k="https://reactjs.org/docs/error-decoder.html?invariant="+p,A=1;A<arguments.length;A++)k+="&args[]="+encodeURIComponent(arguments[A]);return"Minified React error #"+p+"; visit "+k+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var n=Object.prototype.hasOwnProperty,a=/^[: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]*$/,o={},d={};function v(p){return n.call(d,p)?!0:n.call(o,p)?!1:a.test(p)?d[p]=!0:(o[p]=!0,!1)}function x(p,k,A,F,X,K,ie){this.acceptsBooleans=k===2||k===3||k===4,this.attributeName=F,this.attributeNamespace=X,this.mustUseProperty=A,this.propertyName=p,this.type=k,this.sanitizeURL=K,this.removeEmptyString=ie}var w={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(p){w[p]=new x(p,0,!1,p,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(p){var k=p[0];w[k]=new x(k,1,!1,p[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(p){w[p]=new x(p,2,!1,p.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(p){w[p]=new x(p,2,!1,p,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(p){w[p]=new x(p,3,!1,p.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(p){w[p]=new x(p,3,!0,p,null,!1,!1)}),["capture","download"].forEach(function(p){w[p]=new x(p,4,!1,p,null,!1,!1)}),["cols","rows","size","span"].forEach(function(p){w[p]=new x(p,6,!1,p,null,!1,!1)}),["rowSpan","start"].forEach(function(p){w[p]=new x(p,5,!1,p.toLowerCase(),null,!1,!1)});var E=/[\-:]([a-z])/g;function B(p){return p[1].toUpperCase()}"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(p){var k=p.replace(E,B);w[k]=new x(k,1,!1,p,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(p){var k=p.replace(E,B);w[k]=new x(k,1,!1,p,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(p){var k=p.replace(E,B);w[k]=new x(k,1,!1,p,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(p){w[p]=new x(p,1,!1,p.toLowerCase(),null,!1,!1)}),w.xlinkHref=new x("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(p){w[p]=new x(p,1,!1,p.toLowerCase(),null,!0,!0)});var D={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},V=["Webkit","ms","Moz","O"];Object.keys(D).forEach(function(p){V.forEach(function(k){k=k+p.charAt(0).toUpperCase()+p.substring(1),D[k]=D[p]})});var he=/["'&<>]/;function ae(p){if(typeof p=="boolean"||typeof p=="number")return""+p;p=""+p;var k=he.exec(p);if(k){var A="",F,X=0;for(F=k.index;F<p.length;F++){switch(p.charCodeAt(F)){case 34:k="&quot;";break;case 38:k="&amp;";break;case 39:k="&#x27;";break;case 60:k="&lt;";break;case 62:k="&gt;";break;default:continue}X!==F&&(A+=p.substring(X,F)),X=F+1,A+=k}p=X!==F?A+p.substring(X,F):A}return p}var ye=/([A-Z])/g,Z=/^ms-/,G=Array.isArray;function ue(p,k){return{insertionMode:p,selectedValue:k}}function be(p,k,A){switch(k){case"select":return ue(1,A.value!=null?A.value:A.defaultValue);case"svg":return ue(2,null);case"math":return ue(3,null);case"foreignObject":return ue(1,null);case"table":return ue(4,null);case"thead":case"tbody":case"tfoot":return ue(5,null);case"colgroup":return ue(7,null);case"tr":return ue(6,null)}return 4<=p.insertionMode||p.insertionMode===0?ue(1,null):p}var ke=new Map;function re(p,k,A){if(typeof A!="object")throw Error(e(62));k=!0;for(var F in A)if(n.call(A,F)){var X=A[F];if(X!=null&&typeof X!="boolean"&&X!==""){if(F.indexOf("--")===0){var K=ae(F);X=ae((""+X).trim())}else{K=F;var ie=ke.get(K);ie!==void 0||(ie=ae(K.replace(ye,"-$1").toLowerCase().replace(Z,"-ms-")),ke.set(K,ie)),K=ie,X=typeof X=="number"?X===0||n.call(D,F)?""+X:X+"px":ae((""+X).trim())}k?(k=!1,p.push(' style="',K,":",X)):p.push(";",K,":",X)}}k||p.push('"')}function Ie(p,k,A,F){switch(A){case"style":re(p,k,F);return;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(2<A.length)||A[0]!=="o"&&A[0]!=="O"||A[1]!=="n"&&A[1]!=="N"){if(k=w.hasOwnProperty(A)?w[A]:null,k!==null){switch(typeof F){case"function":case"symbol":return;case"boolean":if(!k.acceptsBooleans)return}switch(A=k.attributeName,k.type){case 3:F&&p.push(" ",A,'=""');break;case 4:F===!0?p.push(" ",A,'=""'):F!==!1&&p.push(" ",A,'="',ae(F),'"');break;case 5:isNaN(F)||p.push(" ",A,'="',ae(F),'"');break;case 6:!isNaN(F)&&1<=F&&p.push(" ",A,'="',ae(F),'"');break;default:k.sanitizeURL&&(F=""+F),p.push(" ",A,'="',ae(F),'"')}}else if(v(A)){switch(typeof F){case"function":case"symbol":return;case"boolean":if(k=A.toLowerCase().slice(0,5),k!=="data-"&&k!=="aria-")return}p.push(" ",A,'="',ae(F),'"')}}}function Te(p,k,A){if(k!=null){if(A!=null)throw Error(e(60));if(typeof k!="object"||!("__html"in k))throw Error(e(61));k=k.__html,k!=null&&p.push(""+k)}}function Dt(p){var k="";return r.Children.forEach(p,function(A){A!=null&&(k+=A)}),k}function dt(p,k,A,F){p.push(xe(A));var X=A=null,K;for(K in k)if(n.call(k,K)){var ie=k[K];if(ie!=null)switch(K){case"children":A=ie;break;case"dangerouslySetInnerHTML":X=ie;break;default:Ie(p,F,K,ie)}}return p.push(">"),Te(p,X,A),typeof A=="string"?(p.push(ae(A)),null):A}var Mt=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,ve=new Map;function xe(p){var k=ve.get(p);if(k===void 0){if(!Mt.test(p))throw Error(e(65,p));k="<"+p,ve.set(p,k)}return k}function Re(p,k,A,F,X){switch(k){case"select":p.push(xe("select"));var K=null,ie=null;for(Je in A)if(n.call(A,Je)){var we=A[Je];if(we!=null)switch(Je){case"children":K=we;break;case"dangerouslySetInnerHTML":ie=we;break;case"defaultValue":case"value":break;default:Ie(p,F,Je,we)}}return p.push(">"),Te(p,ie,K),K;case"option":ie=X.selectedValue,p.push(xe("option"));var Ve=we=null,Qe=null,Je=null;for(K in A)if(n.call(A,K)){var Ft=A[K];if(Ft!=null)switch(K){case"children":we=Ft;break;case"selected":Qe=Ft;break;case"dangerouslySetInnerHTML":Je=Ft;break;case"value":Ve=Ft;default:Ie(p,F,K,Ft)}}if(ie!=null)if(A=Ve!==null?""+Ve:Dt(we),G(ie)){for(F=0;F<ie.length;F++)if(""+ie[F]===A){p.push(' selected=""');break}}else""+ie===A&&p.push(' selected=""');else Qe&&p.push(' selected=""');return p.push(">"),Te(p,Je,we),we;case"textarea":p.push(xe("textarea")),Je=ie=K=null;for(we in A)if(n.call(A,we)&&(Ve=A[we],Ve!=null))switch(we){case"children":Je=Ve;break;case"value":K=Ve;break;case"defaultValue":ie=Ve;break;case"dangerouslySetInnerHTML":throw Error(e(91));default:Ie(p,F,we,Ve)}if(K===null&&ie!==null&&(K=ie),p.push(">"),Je!=null){if(K!=null)throw Error(e(92));if(G(Je)&&1<Je.length)throw Error(e(93));K=""+Je}return typeof K=="string"&&K[0]===`
77
+ */var Lh;function l0(){if(Lh)return Ol;Lh=1;var r=Pe;function e(p){for(var k="https://reactjs.org/docs/error-decoder.html?invariant="+p,A=1;A<arguments.length;A++)k+="&args[]="+encodeURIComponent(arguments[A]);return"Minified React error #"+p+"; visit "+k+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var n=Object.prototype.hasOwnProperty,a=/^[: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]*$/,o={},c={};function g(p){return n.call(c,p)?!0:n.call(o,p)?!1:a.test(p)?c[p]=!0:(o[p]=!0,!1)}function y(p,k,A,F,X,K,ie){this.acceptsBooleans=k===2||k===3||k===4,this.attributeName=F,this.attributeNamespace=X,this.mustUseProperty=A,this.propertyName=p,this.type=k,this.sanitizeURL=K,this.removeEmptyString=ie}var w={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(p){w[p]=new y(p,0,!1,p,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(p){var k=p[0];w[k]=new y(k,1,!1,p[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(p){w[p]=new y(p,2,!1,p.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(p){w[p]=new y(p,2,!1,p,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(p){w[p]=new y(p,3,!1,p.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(p){w[p]=new y(p,3,!0,p,null,!1,!1)}),["capture","download"].forEach(function(p){w[p]=new y(p,4,!1,p,null,!1,!1)}),["cols","rows","size","span"].forEach(function(p){w[p]=new y(p,6,!1,p,null,!1,!1)}),["rowSpan","start"].forEach(function(p){w[p]=new y(p,5,!1,p.toLowerCase(),null,!1,!1)});var E=/[\-:]([a-z])/g;function L(p){return p[1].toUpperCase()}"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(p){var k=p.replace(E,L);w[k]=new y(k,1,!1,p,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(p){var k=p.replace(E,L);w[k]=new y(k,1,!1,p,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(p){var k=p.replace(E,L);w[k]=new y(k,1,!1,p,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(p){w[p]=new y(p,1,!1,p.toLowerCase(),null,!1,!1)}),w.xlinkHref=new y("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(p){w[p]=new y(p,1,!1,p.toLowerCase(),null,!0,!0)});var P={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},W=["Webkit","ms","Moz","O"];Object.keys(P).forEach(function(p){W.forEach(function(k){k=k+p.charAt(0).toUpperCase()+p.substring(1),P[k]=P[p]})});var se=/["'&<>]/;function ae(p){if(typeof p=="boolean"||typeof p=="number")return""+p;p=""+p;var k=se.exec(p);if(k){var A="",F,X=0;for(F=k.index;F<p.length;F++){switch(p.charCodeAt(F)){case 34:k="&quot;";break;case 38:k="&amp;";break;case 39:k="&#x27;";break;case 60:k="&lt;";break;case 62:k="&gt;";break;default:continue}X!==F&&(A+=p.substring(X,F)),X=F+1,A+=k}p=X!==F?A+p.substring(X,F):A}return p}var ke=/([A-Z])/g,G=/^ms-/,Z=Array.isArray;function be(p,k){return{insertionMode:p,selectedValue:k}}function fe(p,k,A){switch(k){case"select":return be(1,A.value!=null?A.value:A.defaultValue);case"svg":return be(2,null);case"math":return be(3,null);case"foreignObject":return be(1,null);case"table":return be(4,null);case"thead":case"tbody":case"tfoot":return be(5,null);case"colgroup":return be(7,null);case"tr":return be(6,null)}return 4<=p.insertionMode||p.insertionMode===0?be(1,null):p}var de=new Map;function ee(p,k,A){if(typeof A!="object")throw Error(e(62));k=!0;for(var F in A)if(n.call(A,F)){var X=A[F];if(X!=null&&typeof X!="boolean"&&X!==""){if(F.indexOf("--")===0){var K=ae(F);X=ae((""+X).trim())}else{K=F;var ie=de.get(K);ie!==void 0||(ie=ae(K.replace(ke,"-$1").toLowerCase().replace(G,"-ms-")),de.set(K,ie)),K=ie,X=typeof X=="number"?X===0||n.call(P,F)?""+X:X+"px":ae((""+X).trim())}k?(k=!1,p.push(' style="',K,":",X)):p.push(";",K,":",X)}}k||p.push('"')}function Te(p,k,A,F){switch(A){case"style":ee(p,k,F);return;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(2<A.length)||A[0]!=="o"&&A[0]!=="O"||A[1]!=="n"&&A[1]!=="N"){if(k=w.hasOwnProperty(A)?w[A]:null,k!==null){switch(typeof F){case"function":case"symbol":return;case"boolean":if(!k.acceptsBooleans)return}switch(A=k.attributeName,k.type){case 3:F&&p.push(" ",A,'=""');break;case 4:F===!0?p.push(" ",A,'=""'):F!==!1&&p.push(" ",A,'="',ae(F),'"');break;case 5:isNaN(F)||p.push(" ",A,'="',ae(F),'"');break;case 6:!isNaN(F)&&1<=F&&p.push(" ",A,'="',ae(F),'"');break;default:k.sanitizeURL&&(F=""+F),p.push(" ",A,'="',ae(F),'"')}}else if(g(A)){switch(typeof F){case"function":case"symbol":return;case"boolean":if(k=A.toLowerCase().slice(0,5),k!=="data-"&&k!=="aria-")return}p.push(" ",A,'="',ae(F),'"')}}}function Ie(p,k,A){if(k!=null){if(A!=null)throw Error(e(60));if(typeof k!="object"||!("__html"in k))throw Error(e(61));k=k.__html,k!=null&&p.push(""+k)}}function Lt(p){var k="";return r.Children.forEach(p,function(A){A!=null&&(k+=A)}),k}function it(p,k,A,F){p.push(ge(A));var X=A=null,K;for(K in k)if(n.call(k,K)){var ie=k[K];if(ie!=null)switch(K){case"children":A=ie;break;case"dangerouslySetInnerHTML":X=ie;break;default:Te(p,F,K,ie)}}return p.push(">"),Ie(p,X,A),typeof A=="string"?(p.push(ae(A)),null):A}var Pt=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,Vt=new Map;function ge(p){var k=Vt.get(p);if(k===void 0){if(!Pt.test(p))throw Error(e(65,p));k="<"+p,Vt.set(p,k)}return k}function we(p,k,A,F,X){switch(k){case"select":p.push(ge("select"));var K=null,ie=null;for(Je in A)if(n.call(A,Je)){var xe=A[Je];if(xe!=null)switch(Je){case"children":K=xe;break;case"dangerouslySetInnerHTML":ie=xe;break;case"defaultValue":case"value":break;default:Te(p,F,Je,xe)}}return p.push(">"),Ie(p,ie,K),K;case"option":ie=X.selectedValue,p.push(ge("option"));var Ue=xe=null,qe=null,Je=null;for(K in A)if(n.call(A,K)){var Ft=A[K];if(Ft!=null)switch(K){case"children":xe=Ft;break;case"selected":qe=Ft;break;case"dangerouslySetInnerHTML":Je=Ft;break;case"value":Ue=Ft;default:Te(p,F,K,Ft)}}if(ie!=null)if(A=Ue!==null?""+Ue:Lt(xe),Z(ie)){for(F=0;F<ie.length;F++)if(""+ie[F]===A){p.push(' selected=""');break}}else""+ie===A&&p.push(' selected=""');else qe&&p.push(' selected=""');return p.push(">"),Ie(p,Je,xe),xe;case"textarea":p.push(ge("textarea")),Je=ie=K=null;for(xe in A)if(n.call(A,xe)&&(Ue=A[xe],Ue!=null))switch(xe){case"children":Je=Ue;break;case"value":K=Ue;break;case"defaultValue":ie=Ue;break;case"dangerouslySetInnerHTML":throw Error(e(91));default:Te(p,F,xe,Ue)}if(K===null&&ie!==null&&(K=ie),p.push(">"),Je!=null){if(K!=null)throw Error(e(92));if(Z(Je)&&1<Je.length)throw Error(e(93));K=""+Je}return typeof K=="string"&&K[0]===`
78
78
  `&&p.push(`
79
- `),K!==null&&p.push(ae(""+K)),null;case"input":p.push(xe("input")),Ve=Je=we=K=null;for(ie in A)if(n.call(A,ie)&&(Qe=A[ie],Qe!=null))switch(ie){case"children":case"dangerouslySetInnerHTML":throw Error(e(399,"input"));case"defaultChecked":Ve=Qe;break;case"defaultValue":we=Qe;break;case"checked":Je=Qe;break;case"value":K=Qe;break;default:Ie(p,F,ie,Qe)}return Je!==null?Ie(p,F,"checked",Je):Ve!==null&&Ie(p,F,"checked",Ve),K!==null?Ie(p,F,"value",K):we!==null&&Ie(p,F,"value",we),p.push("/>"),null;case"menuitem":p.push(xe("menuitem"));for(var ar in A)if(n.call(A,ar)&&(K=A[ar],K!=null))switch(ar){case"children":case"dangerouslySetInnerHTML":throw Error(e(400));default:Ie(p,F,ar,K)}return p.push(">"),null;case"title":p.push(xe("title")),K=null;for(Ft in A)if(n.call(A,Ft)&&(ie=A[Ft],ie!=null))switch(Ft){case"children":K=ie;break;case"dangerouslySetInnerHTML":throw Error(e(434));default:Ie(p,F,Ft,ie)}return p.push(">"),K;case"listing":case"pre":p.push(xe(k)),ie=K=null;for(Ve in A)if(n.call(A,Ve)&&(we=A[Ve],we!=null))switch(Ve){case"children":K=we;break;case"dangerouslySetInnerHTML":ie=we;break;default:Ie(p,F,Ve,we)}if(p.push(">"),ie!=null){if(K!=null)throw Error(e(60));if(typeof ie!="object"||!("__html"in ie))throw Error(e(61));A=ie.__html,A!=null&&(typeof A=="string"&&0<A.length&&A[0]===`
79
+ `),K!==null&&p.push(ae(""+K)),null;case"input":p.push(ge("input")),Ue=Je=xe=K=null;for(ie in A)if(n.call(A,ie)&&(qe=A[ie],qe!=null))switch(ie){case"children":case"dangerouslySetInnerHTML":throw Error(e(399,"input"));case"defaultChecked":Ue=qe;break;case"defaultValue":xe=qe;break;case"checked":Je=qe;break;case"value":K=qe;break;default:Te(p,F,ie,qe)}return Je!==null?Te(p,F,"checked",Je):Ue!==null&&Te(p,F,"checked",Ue),K!==null?Te(p,F,"value",K):xe!==null&&Te(p,F,"value",xe),p.push("/>"),null;case"menuitem":p.push(ge("menuitem"));for(var or in A)if(n.call(A,or)&&(K=A[or],K!=null))switch(or){case"children":case"dangerouslySetInnerHTML":throw Error(e(400));default:Te(p,F,or,K)}return p.push(">"),null;case"title":p.push(ge("title")),K=null;for(Ft in A)if(n.call(A,Ft)&&(ie=A[Ft],ie!=null))switch(Ft){case"children":K=ie;break;case"dangerouslySetInnerHTML":throw Error(e(434));default:Te(p,F,Ft,ie)}return p.push(">"),K;case"listing":case"pre":p.push(ge(k)),ie=K=null;for(Ue in A)if(n.call(A,Ue)&&(xe=A[Ue],xe!=null))switch(Ue){case"children":K=xe;break;case"dangerouslySetInnerHTML":ie=xe;break;default:Te(p,F,Ue,xe)}if(p.push(">"),ie!=null){if(K!=null)throw Error(e(60));if(typeof ie!="object"||!("__html"in ie))throw Error(e(61));A=ie.__html,A!=null&&(typeof A=="string"&&0<A.length&&A[0]===`
80
80
  `?p.push(`
81
81
  `,A):p.push(""+A))}return typeof K=="string"&&K[0]===`
82
82
  `&&p.push(`
83
- `),K;case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":p.push(xe(k));for(var Pn in A)if(n.call(A,Pn)&&(K=A[Pn],K!=null))switch(Pn){case"children":case"dangerouslySetInnerHTML":throw Error(e(399,k));default:Ie(p,F,Pn,K)}return p.push("/>"),null;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 dt(p,A,k,F);case"html":return X.insertionMode===0&&p.push("<!DOCTYPE html>"),dt(p,A,k,F);default:if(k.indexOf("-")===-1&&typeof A.is!="string")return dt(p,A,k,F);p.push(xe(k)),ie=K=null;for(Qe in A)if(n.call(A,Qe)&&(we=A[Qe],we!=null))switch(Qe){case"children":K=we;break;case"dangerouslySetInnerHTML":ie=we;break;case"style":re(p,F,we);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:v(Qe)&&typeof we!="function"&&typeof we!="symbol"&&p.push(" ",Qe,'="',ae(we),'"')}return p.push(">"),Te(p,ie,K),K}}function Be(p,k,A){if(p.push('<!--$?--><template id="'),A===null)throw Error(e(395));return p.push(A),p.push('"></template>')}function Ye(p,k,A,F){switch(A.insertionMode){case 0:case 1:return p.push('<div hidden id="'),p.push(k.segmentPrefix),k=F.toString(16),p.push(k),p.push('">');case 2:return p.push('<svg aria-hidden="true" style="display:none" id="'),p.push(k.segmentPrefix),k=F.toString(16),p.push(k),p.push('">');case 3:return p.push('<math aria-hidden="true" style="display:none" id="'),p.push(k.segmentPrefix),k=F.toString(16),p.push(k),p.push('">');case 4:return p.push('<table hidden id="'),p.push(k.segmentPrefix),k=F.toString(16),p.push(k),p.push('">');case 5:return p.push('<table hidden><tbody id="'),p.push(k.segmentPrefix),k=F.toString(16),p.push(k),p.push('">');case 6:return p.push('<table hidden><tr id="'),p.push(k.segmentPrefix),k=F.toString(16),p.push(k),p.push('">');case 7:return p.push('<table hidden><colgroup id="'),p.push(k.segmentPrefix),k=F.toString(16),p.push(k),p.push('">');default:throw Error(e(397))}}function He(p,k){switch(k.insertionMode){case 0:case 1:return p.push("</div>");case 2:return p.push("</svg>");case 3:return p.push("</math>");case 4:return p.push("</table>");case 5:return p.push("</tbody></table>");case 6:return p.push("</tr></table>");case 7:return p.push("</colgroup></table>");default:throw Error(e(397))}}var je=/[<\u2028\u2029]/g;function ze(p){return JSON.stringify(p).replace(je,function(k){switch(k){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}function pt(p,k){return k=k===void 0?"":k,{bootstrapChunks:[],startInlineScript:"<script>",placeholderPrefix:k+"P:",segmentPrefix:k+"S:",boundaryPrefix:k+"B:",idPrefix:k,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1,generateStaticMarkup:p}}function oe(p,k,A,F){return A.generateStaticMarkup?(p.push(ae(k)),!1):(k===""?p=F:(F&&p.push("<!-- -->"),p.push(ae(k)),p=!0),p)}var ce=Object.assign,Ae=Symbol.for("react.element"),Ze=Symbol.for("react.portal"),Pe=Symbol.for("react.fragment"),Fe=Symbol.for("react.strict_mode"),Oe=Symbol.for("react.profiler"),qe=Symbol.for("react.provider"),et=Symbol.for("react.context"),Ke=Symbol.for("react.forward_ref"),nt=Symbol.for("react.suspense"),kt=Symbol.for("react.suspense_list"),_e=Symbol.for("react.memo"),It=Symbol.for("react.lazy"),mt=Symbol.for("react.scope"),fn=Symbol.for("react.debug_trace_mode"),jn=Symbol.for("react.legacy_hidden"),Sn=Symbol.for("react.default_value"),zn=Symbol.iterator;function dr(p){if(p==null)return null;if(typeof p=="function")return p.displayName||p.name||null;if(typeof p=="string")return p;switch(p){case Pe:return"Fragment";case Ze:return"Portal";case Oe:return"Profiler";case Fe:return"StrictMode";case nt:return"Suspense";case kt:return"SuspenseList"}if(typeof p=="object")switch(p.$$typeof){case et:return(p.displayName||"Context")+".Consumer";case qe:return(p._context.displayName||"Context")+".Provider";case Ke:var k=p.render;return p=p.displayName,p||(p=k.displayName||k.name||"",p=p!==""?"ForwardRef("+p+")":"ForwardRef"),p;case _e:return k=p.displayName||null,k!==null?k:dr(p.type)||"Memo";case It:k=p._payload,p=p._init;try{return dr(p(k))}catch{}}return null}var nr={};function Mn(p,k){if(p=p.contextTypes,!p)return nr;var A={},F;for(F in p)A[F]=k[F];return A}var yn=null;function pn(p,k){if(p!==k){p.context._currentValue2=p.parentValue,p=p.parent;var A=k.parent;if(p===null){if(A!==null)throw Error(e(401))}else{if(A===null)throw Error(e(401));pn(p,A)}k.context._currentValue2=k.value}}function hn(p){p.context._currentValue2=p.parentValue,p=p.parent,p!==null&&hn(p)}function fr(p){var k=p.parent;k!==null&&fr(k),p.context._currentValue2=p.value}function gi(p,k){if(p.context._currentValue2=p.parentValue,p=p.parent,p===null)throw Error(e(402));p.depth===k.depth?pn(p,k):gi(p,k)}function Un(p,k){var A=k.parent;if(A===null)throw Error(e(402));p.depth===A.depth?pn(p,A):Un(p,A),k.context._currentValue2=k.value}function Zt(p){var k=yn;k!==p&&(k===null?fr(p):p===null?hn(k):k.depth===p.depth?pn(k,p):k.depth>p.depth?gi(k,p):Un(k,p),yn=p)}var Ar={isMounted:function(){return!1},enqueueSetState:function(p,k){p=p._reactInternals,p.queue!==null&&p.queue.push(k)},enqueueReplaceState:function(p,k){p=p._reactInternals,p.replace=!0,p.queue=[k]},enqueueForceUpdate:function(){}};function Zr(p,k,A,F){var X=p.state!==void 0?p.state:null;p.updater=Ar,p.props=A,p.state=X;var K={queue:[],replace:!1};p._reactInternals=K;var ie=k.contextType;if(p.context=typeof ie=="object"&&ie!==null?ie._currentValue2:F,ie=k.getDerivedStateFromProps,typeof ie=="function"&&(ie=ie(A,X),X=ie==null?X:ce({},X,ie),p.state=X),typeof k.getDerivedStateFromProps!="function"&&typeof p.getSnapshotBeforeUpdate!="function"&&(typeof p.UNSAFE_componentWillMount=="function"||typeof p.componentWillMount=="function"))if(k=p.state,typeof p.componentWillMount=="function"&&p.componentWillMount(),typeof p.UNSAFE_componentWillMount=="function"&&p.UNSAFE_componentWillMount(),k!==p.state&&Ar.enqueueReplaceState(p,p.state,null),K.queue!==null&&0<K.queue.length)if(k=K.queue,ie=K.replace,K.queue=null,K.replace=!1,ie&&k.length===1)p.state=k[0];else{for(K=ie?k[0]:p.state,X=!0,ie=ie?1:0;ie<k.length;ie++){var we=k[ie];we=typeof we=="function"?we.call(p,K,A,F):we,we!=null&&(X?(X=!1,K=ce({},K,we)):ce(K,we))}p.state=K}else K.queue=null}var Or={id:1,overflow:""};function Yr(p,k,A){var F=p.id;p=p.overflow;var X=32-Mr(F)-1;F&=~(1<<X),A+=1;var K=32-Mr(k)+X;if(30<K){var ie=X-X%5;return K=(F&(1<<ie)-1).toString(32),F>>=ie,X-=ie,{id:1<<32-Mr(k)+X|A<<X|F,overflow:K+p}}return{id:1<<K|A<<X|F,overflow:p}}var Mr=Math.clz32?Math.clz32:pr,Mi=Math.log,Kr=Math.LN2;function pr(p){return p>>>=0,p===0?32:31-(Mi(p)/Kr|0)|0}function Jr(p,k){return p===k&&(p!==0||1/p===1/k)||p!==p&&k!==k}var ia=typeof Object.is=="function"?Object.is:Jr,kn=null,rr=null,Fn=null,At=null,hr=!1,Qr=!1,Xr=0,ir=null,qr=0;function gr(){if(kn===null)throw Error(e(321));return kn}function nn(){if(0<qr)throw Error(e(312));return{memoizedState:null,queue:null,next:null}}function Fi(){return At===null?Fn===null?(hr=!1,Fn=At=nn()):(hr=!0,At=Fn):At.next===null?(hr=!1,At=At.next=nn()):(hr=!0,At=At.next),At}function ei(){rr=kn=null,Qr=!1,Fn=null,qr=0,At=ir=null}function Pi(p,k){return typeof k=="function"?k(p):k}function rn(p,k,A){if(kn=gr(),At=Fi(),hr){var F=At.queue;if(k=F.dispatch,ir!==null&&(A=ir.get(F),A!==void 0)){ir.delete(F),F=At.memoizedState;do F=p(F,A.action),A=A.next;while(A!==null);return At.memoizedState=F,[F,k]}return[At.memoizedState,k]}return p=p===Pi?typeof k=="function"?k():k:A!==void 0?A(k):k,At.memoizedState=p,p=At.queue={last:null,dispatch:null},p=p.dispatch=Fa.bind(null,kn,p),[At.memoizedState,p]}function Di(p,k){if(kn=gr(),At=Fi(),k=k===void 0?null:k,At!==null){var A=At.memoizedState;if(A!==null&&k!==null){var F=A[1];e:if(F===null)F=!1;else{for(var X=0;X<F.length&&X<k.length;X++)if(!ia(k[X],F[X])){F=!1;break e}F=!0}if(F)return A[0]}}return p=p(),At.memoizedState=[p,k],p}function Fa(p,k,A){if(25<=qr)throw Error(e(301));if(p===kn)if(Qr=!0,p={action:A,next:null},ir===null&&(ir=new Map),A=ir.get(k),A===void 0)ir.set(k,p);else{for(k=A;k.next!==null;)k=k.next;k.next=p}}function Pa(){throw Error(e(394))}function U(){}var ge={readContext:function(p){return p._currentValue2},useContext:function(p){return gr(),p._currentValue2},useMemo:Di,useReducer:rn,useRef:function(p){kn=gr(),At=Fi();var k=At.memoizedState;return k===null?(p={current:p},At.memoizedState=p):k},useState:function(p){return rn(Pi,p)},useInsertionEffect:U,useLayoutEffect:function(){},useCallback:function(p,k){return Di(function(){return p},k)},useImperativeHandle:U,useEffect:U,useDebugValue:U,useDeferredValue:function(p){return gr(),p},useTransition:function(){return gr(),[!1,Pa]},useId:function(){var p=rr.treeContext,k=p.overflow;p=p.id,p=(p&~(1<<32-Mr(p)-1)).toString(32)+k;var A=Ce;if(A===null)throw Error(e(404));return k=Xr++,p=":"+A.idPrefix+"R"+p,0<k&&(p+="H"+k.toString(32)),p+":"},useMutableSource:function(p,k){return gr(),k(p._source)},useSyncExternalStore:function(p,k,A){if(A===void 0)throw Error(e(407));return A()}},Ce=null,tt=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function vt(p){return console.error(p),null}function _t(){}function wt(p,k,A,F,X,K,ie,we,Ve){var Qe=[],Je=new Set;return k={destination:null,responseState:k,progressiveChunkSize:F===void 0?12800:F,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:Je,pingedTasks:Qe,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:X===void 0?vt:X,onAllReady:K===void 0?_t:K,onShellReady:ie===void 0?_t:ie,onShellError:we===void 0?_t:we,onFatalError:Ve===void 0?_t:Ve},A=ln(k,0,null,A,!1,!1),A.parentFlushed=!0,p=ft(k,p,null,A,Je,nr,null,Or),Qe.push(p),k}function ft(p,k,A,F,X,K,ie,we){p.allPendingTasks++,A===null?p.pendingRootTasks++:A.pendingTasks++;var Ve={node:k,ping:function(){var Qe=p.pingedTasks;Qe.push(Ve),Qe.length===1&&Jn(p)},blockedBoundary:A,blockedSegment:F,abortSet:X,legacyContext:K,context:ie,treeContext:we};return X.add(Ve),Ve}function ln(p,k,A,F,X,K){return{status:0,id:-1,index:k,parentFlushed:!1,chunks:[],children:[],formatContext:F,boundary:A,lastPushedText:X,textEmbedded:K}}function zt(p,k){if(p=p.onError(k),p!=null&&typeof p!="string")throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof p+'" instead');return p}function Ut(p,k){var A=p.onShellError;A(k),A=p.onFatalError,A(k),p.destination!==null?(p.status=2,p.destination.destroy(k)):(p.status=1,p.fatalError=k)}function on(p,k,A,F,X){for(kn={},rr=k,Xr=0,p=A(F,X);Qr;)Qr=!1,Xr=0,qr+=1,At=null,p=A(F,X);return ei(),p}function In(p,k,A,F){var X=A.render(),K=F.childContextTypes;if(K!=null){var ie=k.legacyContext;if(typeof A.getChildContext!="function")F=ie;else{A=A.getChildContext();for(var we in A)if(!(we in K))throw Error(e(108,dr(F)||"Unknown",we));F=ce({},ie,A)}k.legacyContext=F,un(p,k,X),k.legacyContext=ie}else un(p,k,X)}function Fr(p,k){if(p&&p.defaultProps){k=ce({},k),p=p.defaultProps;for(var A in p)k[A]===void 0&&(k[A]=p[A]);return k}return k}function Xt(p,k,A,F,X){if(typeof A=="function")if(A.prototype&&A.prototype.isReactComponent){X=Mn(A,k.legacyContext);var K=A.contextType;K=new A(F,typeof K=="object"&&K!==null?K._currentValue2:X),Zr(K,A,F,X),In(p,k,K,A)}else{K=Mn(A,k.legacyContext),X=on(p,k,A,F,K);var ie=Xr!==0;if(typeof X=="object"&&X!==null&&typeof X.render=="function"&&X.$$typeof===void 0)Zr(X,A,F,K),In(p,k,X,A);else if(ie){F=k.treeContext,k.treeContext=Yr(F,1,0);try{un(p,k,X)}finally{k.treeContext=F}}else un(p,k,X)}else if(typeof A=="string"){switch(X=k.blockedSegment,K=Re(X.chunks,A,F,p.responseState,X.formatContext),X.lastPushedText=!1,ie=X.formatContext,X.formatContext=be(ie,A,F),Sr(p,k,K),X.formatContext=ie,A){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:X.chunks.push("</",A,">")}X.lastPushedText=!1}else{switch(A){case jn:case fn:case Fe:case Oe:case Pe:un(p,k,F.children);return;case kt:un(p,k,F.children);return;case mt:throw Error(e(343));case nt:e:{A=k.blockedBoundary,X=k.blockedSegment,K=F.fallback,F=F.children,ie=new Set;var we={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:ie,errorDigest:null},Ve=ln(p,X.chunks.length,we,X.formatContext,!1,!1);X.children.push(Ve),X.lastPushedText=!1;var Qe=ln(p,0,null,X.formatContext,!1,!1);Qe.parentFlushed=!0,k.blockedBoundary=we,k.blockedSegment=Qe;try{if(Sr(p,k,F),p.responseState.generateStaticMarkup||Qe.lastPushedText&&Qe.textEmbedded&&Qe.chunks.push("<!-- -->"),Qe.status=1,kr(we,Qe),we.pendingTasks===0)break e}catch(Je){Qe.status=4,we.forceClientRender=!0,we.errorDigest=zt(p,Je)}finally{k.blockedBoundary=A,k.blockedSegment=X}k=ft(p,K,A,Ve,ie,k.legacyContext,k.context,k.treeContext),p.pingedTasks.push(k)}return}if(typeof A=="object"&&A!==null)switch(A.$$typeof){case Ke:if(F=on(p,k,A.render,F,X),Xr!==0){A=k.treeContext,k.treeContext=Yr(A,1,0);try{un(p,k,F)}finally{k.treeContext=A}}else un(p,k,F);return;case _e:A=A.type,F=Fr(A,F),Xt(p,k,A,F,X);return;case qe:if(X=F.children,A=A._context,F=F.value,K=A._currentValue2,A._currentValue2=F,ie=yn,yn=F={parent:ie,depth:ie===null?0:ie.depth+1,context:A,parentValue:K,value:F},k.context=F,un(p,k,X),p=yn,p===null)throw Error(e(403));F=p.parentValue,p.context._currentValue2=F===Sn?p.context._defaultValue:F,p=yn=p.parent,k.context=p;return;case et:F=F.children,F=F(A._currentValue2),un(p,k,F);return;case It:X=A._init,A=X(A._payload),F=Fr(A,F),Xt(p,k,A,F,void 0);return}throw Error(e(130,A==null?A:typeof A,""))}}function un(p,k,A){if(k.node=A,typeof A=="object"&&A!==null){switch(A.$$typeof){case Ae:Xt(p,k,A.type,A.props,A.ref);return;case Ze:throw Error(e(257));case It:var F=A._init;A=F(A._payload),un(p,k,A);return}if(G(A)){Pr(p,k,A);return}if(A===null||typeof A!="object"?F=null:(F=zn&&A[zn]||A["@@iterator"],F=typeof F=="function"?F:null),F&&(F=F.call(A))){if(A=F.next(),!A.done){var X=[];do X.push(A.value),A=F.next();while(!A.done);Pr(p,k,X)}return}throw p=Object.prototype.toString.call(A),Error(e(31,p==="[object Object]"?"object with keys {"+Object.keys(A).join(", ")+"}":p))}typeof A=="string"?(F=k.blockedSegment,F.lastPushedText=oe(k.blockedSegment.chunks,A,p.responseState,F.lastPushedText)):typeof A=="number"&&(F=k.blockedSegment,F.lastPushedText=oe(k.blockedSegment.chunks,""+A,p.responseState,F.lastPushedText))}function Pr(p,k,A){for(var F=A.length,X=0;X<F;X++){var K=k.treeContext;k.treeContext=Yr(K,F,X);try{Sr(p,k,A[X])}finally{k.treeContext=K}}}function Sr(p,k,A){var F=k.blockedSegment.formatContext,X=k.legacyContext,K=k.context;try{return un(p,k,A)}catch(Ve){if(ei(),typeof Ve=="object"&&Ve!==null&&typeof Ve.then=="function"){A=Ve;var ie=k.blockedSegment,we=ln(p,ie.chunks.length,null,ie.formatContext,ie.lastPushedText,!0);ie.children.push(we),ie.lastPushedText=!1,p=ft(p,k.node,k.blockedBoundary,we,k.abortSet,k.legacyContext,k.context,k.treeContext).ping,A.then(p,p),k.blockedSegment.formatContext=F,k.legacyContext=X,k.context=K,Zt(K)}else throw k.blockedSegment.formatContext=F,k.legacyContext=X,k.context=K,Zt(K),Ve}}function _n(p){var k=p.blockedBoundary;p=p.blockedSegment,p.status=3,Dr(this,k,p)}function Li(p,k,A){var F=p.blockedBoundary;p.blockedSegment.status=3,F===null?(k.allPendingTasks--,k.status!==2&&(k.status=2,k.destination!==null&&k.destination.push(null))):(F.pendingTasks--,F.forceClientRender||(F.forceClientRender=!0,p=A===void 0?Error(e(432)):A,F.errorDigest=k.onError(p),F.parentFlushed&&k.clientRenderedBoundaries.push(F)),F.fallbackAbortableTasks.forEach(function(X){return Li(X,k,A)}),F.fallbackAbortableTasks.clear(),k.allPendingTasks--,k.allPendingTasks===0&&(F=k.onAllReady,F()))}function kr(p,k){if(k.chunks.length===0&&k.children.length===1&&k.children[0].boundary===null){var A=k.children[0];A.id=k.id,A.parentFlushed=!0,A.status===1&&kr(p,A)}else p.completedSegments.push(k)}function Dr(p,k,A){if(k===null){if(A.parentFlushed){if(p.completedRootSegment!==null)throw Error(e(389));p.completedRootSegment=A}p.pendingRootTasks--,p.pendingRootTasks===0&&(p.onShellError=_t,k=p.onShellReady,k())}else k.pendingTasks--,k.forceClientRender||(k.pendingTasks===0?(A.parentFlushed&&A.status===1&&kr(k,A),k.parentFlushed&&p.completedBoundaries.push(k),k.fallbackAbortableTasks.forEach(_n,p),k.fallbackAbortableTasks.clear()):A.parentFlushed&&A.status===1&&(kr(k,A),k.completedSegments.length===1&&k.parentFlushed&&p.partialBoundaries.push(k)));p.allPendingTasks--,p.allPendingTasks===0&&(p=p.onAllReady,p())}function Jn(p){if(p.status!==2){var k=yn,A=tt.current;tt.current=ge;var F=Ce;Ce=p.responseState;try{var X=p.pingedTasks,K;for(K=0;K<X.length;K++){var ie=X[K],we=p,Ve=ie.blockedSegment;if(Ve.status===0){Zt(ie.context);try{un(we,ie,ie.node),we.responseState.generateStaticMarkup||Ve.lastPushedText&&Ve.textEmbedded&&Ve.chunks.push("<!-- -->"),ie.abortSet.delete(ie),Ve.status=1,Dr(we,ie.blockedBoundary,Ve)}catch(Dn){if(ei(),typeof Dn=="object"&&Dn!==null&&typeof Dn.then=="function"){var Qe=ie.ping;Dn.then(Qe,Qe)}else{ie.abortSet.delete(ie),Ve.status=4;var Je=ie.blockedBoundary,Ft=Dn,ar=zt(we,Ft);if(Je===null?Ut(we,Ft):(Je.pendingTasks--,Je.forceClientRender||(Je.forceClientRender=!0,Je.errorDigest=ar,Je.parentFlushed&&we.clientRenderedBoundaries.push(Je))),we.allPendingTasks--,we.allPendingTasks===0){var Pn=we.onAllReady;Pn()}}}finally{}}}X.splice(0,K),p.destination!==null&&Lr(p,p.destination)}catch(Dn){zt(p,Dn),Ut(p,Dn)}finally{Ce=F,tt.current=A,A===ge&&Zt(k)}}}function ti(p,k,A){switch(A.parentFlushed=!0,A.status){case 0:var F=A.id=p.nextSegmentId++;return A.lastPushedText=!1,A.textEmbedded=!1,p=p.responseState,k.push('<template id="'),k.push(p.placeholderPrefix),p=F.toString(16),k.push(p),k.push('"></template>');case 1:A.status=2;var X=!0;F=A.chunks;var K=0;A=A.children;for(var ie=0;ie<A.length;ie++){for(X=A[ie];K<X.index;K++)k.push(F[K]);X=mi(p,k,X)}for(;K<F.length-1;K++)k.push(F[K]);return K<F.length&&(X=k.push(F[K])),X;default:throw Error(e(390))}}function mi(p,k,A){var F=A.boundary;if(F===null)return ti(p,k,A);if(F.parentFlushed=!0,F.forceClientRender)return p.responseState.generateStaticMarkup||(F=F.errorDigest,k.push("<!--$!-->"),k.push("<template"),F&&(k.push(' data-dgst="'),F=ae(F),k.push(F),k.push('"')),k.push("></template>")),ti(p,k,A),p=p.responseState.generateStaticMarkup?!0:k.push("<!--/$-->"),p;if(0<F.pendingTasks){F.rootSegmentID=p.nextSegmentId++,0<F.completedSegments.length&&p.partialBoundaries.push(F);var X=p.responseState,K=X.nextSuspenseID++;return X=X.boundaryPrefix+K.toString(16),F=F.id=X,Be(k,p.responseState,F),ti(p,k,A),k.push("<!--/$-->")}if(F.byteSize>p.progressiveChunkSize)return F.rootSegmentID=p.nextSegmentId++,p.completedBoundaries.push(F),Be(k,p.responseState,F.id),ti(p,k,A),k.push("<!--/$-->");if(p.responseState.generateStaticMarkup||k.push("<!--$-->"),A=F.completedSegments,A.length!==1)throw Error(e(391));return mi(p,k,A[0]),p=p.responseState.generateStaticMarkup?!0:k.push("<!--/$-->"),p}function aa(p,k,A){return Ye(k,p.responseState,A.formatContext,A.id),mi(p,k,A),He(k,A.formatContext)}function oa(p,k,A){for(var F=A.completedSegments,X=0;X<F.length;X++)Bi(p,k,A,F[X]);if(F.length=0,p=p.responseState,F=A.id,A=A.rootSegmentID,k.push(p.startInlineScript),p.sentCompleteBoundaryFunction?k.push('$RC("'):(p.sentCompleteBoundaryFunction=!0,k.push('function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("')),F===null)throw Error(e(395));return A=A.toString(16),k.push(F),k.push('","'),k.push(p.segmentPrefix),k.push(A),k.push('")<\/script>')}function Bi(p,k,A,F){if(F.status===2)return!0;var X=F.id;if(X===-1){if((F.id=A.rootSegmentID)===-1)throw Error(e(392));return aa(p,k,F)}return aa(p,k,F),p=p.responseState,k.push(p.startInlineScript),p.sentCompleteSegmentFunction?k.push('$RS("'):(p.sentCompleteSegmentFunction=!0,k.push('function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("')),k.push(p.segmentPrefix),X=X.toString(16),k.push(X),k.push('","'),k.push(p.placeholderPrefix),k.push(X),k.push('")<\/script>')}function Lr(p,k){try{var A=p.completedRootSegment;if(A!==null&&p.pendingRootTasks===0){mi(p,k,A),p.completedRootSegment=null;var F=p.responseState.bootstrapChunks;for(A=0;A<F.length-1;A++)k.push(F[A]);A<F.length&&k.push(F[A])}var X=p.clientRenderedBoundaries,K;for(K=0;K<X.length;K++){var ie=X[K];F=k;var we=p.responseState,Ve=ie.id,Qe=ie.errorDigest,Je=ie.errorMessage,Ft=ie.errorComponentStack;if(F.push(we.startInlineScript),we.sentClientRenderFunction?F.push('$RX("'):(we.sentClientRenderFunction=!0,F.push('function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};$RX("')),Ve===null)throw Error(e(395));if(F.push(Ve),F.push('"'),Qe||Je||Ft){F.push(",");var ar=ze(Qe||"");F.push(ar)}if(Je||Ft){F.push(",");var Pn=ze(Je||"");F.push(Pn)}if(Ft){F.push(",");var Dn=ze(Ft);F.push(Dn)}if(!F.push(")<\/script>")){p.destination=null,K++,X.splice(0,K);return}}X.splice(0,K);var Br=p.completedBoundaries;for(K=0;K<Br.length;K++)if(!oa(p,k,Br[K])){p.destination=null,K++,Br.splice(0,K);return}Br.splice(0,K);var mr=p.partialBoundaries;for(K=0;K<mr.length;K++){var sa=mr[K];e:{X=p,ie=k;var vi=sa.completedSegments;for(we=0;we<vi.length;we++)if(!Bi(X,ie,sa,vi[we])){we++,vi.splice(0,we);var ji=!1;break e}vi.splice(0,we),ji=!0}if(!ji){p.destination=null,K++,mr.splice(0,K);return}}mr.splice(0,K);var Nr=p.completedBoundaries;for(K=0;K<Nr.length;K++)if(!oa(p,k,Nr[K])){p.destination=null,K++,Nr.splice(0,K);return}Nr.splice(0,K)}finally{p.allPendingTasks===0&&p.pingedTasks.length===0&&p.clientRenderedBoundaries.length===0&&p.completedBoundaries.length===0&&k.push(null)}}function Da(p,k){try{var A=p.abortableTasks;A.forEach(function(F){return Li(F,p,k)}),A.clear(),p.destination!==null&&Lr(p,p.destination)}catch(F){zt(p,F),Ut(p,F)}}function Ni(){}function ni(p,k,A,F){var X=!1,K=null,ie="",we={push:function(Qe){return Qe!==null&&(ie+=Qe),!0},destroy:function(Qe){X=!0,K=Qe}},Ve=!1;if(p=wt(p,pt(A,k?k.identifierPrefix:void 0),{insertionMode:1,selectedValue:null},1/0,Ni,void 0,function(){Ve=!0},void 0,void 0),Jn(p),Da(p,F),p.status===1)p.status=2,we.destroy(p.fatalError);else if(p.status!==2&&p.destination===null){p.destination=we;try{Lr(p,we)}catch(Qe){zt(p,Qe),Ut(p,Qe)}}if(X)throw K;if(!Ve)throw Error(e(426));return ie}return Al.renderToNodeStream=function(){throw Error(e(207))},Al.renderToStaticMarkup=function(p,k){return ni(p,k,!0,'The server used "renderToStaticMarkup" which does not support Suspense. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')},Al.renderToStaticNodeStream=function(){throw Error(e(208))},Al.renderToString=function(p,k){return ni(p,k,!1,'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')},Al.version="18.2.0",Al}var xd={};/**
83
+ `),K;case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":p.push(ge(k));for(var Bn in A)if(n.call(A,Bn)&&(K=A[Bn],K!=null))switch(Bn){case"children":case"dangerouslySetInnerHTML":throw Error(e(399,k));default:Te(p,F,Bn,K)}return p.push("/>"),null;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 it(p,A,k,F);case"html":return X.insertionMode===0&&p.push("<!DOCTYPE html>"),it(p,A,k,F);default:if(k.indexOf("-")===-1&&typeof A.is!="string")return it(p,A,k,F);p.push(ge(k)),ie=K=null;for(qe in A)if(n.call(A,qe)&&(xe=A[qe],xe!=null))switch(qe){case"children":K=xe;break;case"dangerouslySetInnerHTML":ie=xe;break;case"style":ee(p,F,xe);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:g(qe)&&typeof xe!="function"&&typeof xe!="symbol"&&p.push(" ",qe,'="',ae(xe),'"')}return p.push(">"),Ie(p,ie,K),K}}function _e(p,k,A){if(p.push('<!--$?--><template id="'),A===null)throw Error(e(395));return p.push(A),p.push('"></template>')}function Ye(p,k,A,F){switch(A.insertionMode){case 0:case 1:return p.push('<div hidden id="'),p.push(k.segmentPrefix),k=F.toString(16),p.push(k),p.push('">');case 2:return p.push('<svg aria-hidden="true" style="display:none" id="'),p.push(k.segmentPrefix),k=F.toString(16),p.push(k),p.push('">');case 3:return p.push('<math aria-hidden="true" style="display:none" id="'),p.push(k.segmentPrefix),k=F.toString(16),p.push(k),p.push('">');case 4:return p.push('<table hidden id="'),p.push(k.segmentPrefix),k=F.toString(16),p.push(k),p.push('">');case 5:return p.push('<table hidden><tbody id="'),p.push(k.segmentPrefix),k=F.toString(16),p.push(k),p.push('">');case 6:return p.push('<table hidden><tr id="'),p.push(k.segmentPrefix),k=F.toString(16),p.push(k),p.push('">');case 7:return p.push('<table hidden><colgroup id="'),p.push(k.segmentPrefix),k=F.toString(16),p.push(k),p.push('">');default:throw Error(e(397))}}function Ze(p,k){switch(k.insertionMode){case 0:case 1:return p.push("</div>");case 2:return p.push("</svg>");case 3:return p.push("</math>");case 4:return p.push("</table>");case 5:return p.push("</tbody></table>");case 6:return p.push("</tr></table>");case 7:return p.push("</colgroup></table>");default:throw Error(e(397))}}var Ne=/[<\u2028\u2029]/g;function De(p){return JSON.stringify(p).replace(Ne,function(k){switch(k){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}function We(p,k){return k=k===void 0?"":k,{bootstrapChunks:[],startInlineScript:"<script>",placeholderPrefix:k+"P:",segmentPrefix:k+"S:",boundaryPrefix:k+"B:",idPrefix:k,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1,generateStaticMarkup:p}}function le(p,k,A,F){return A.generateStaticMarkup?(p.push(ae(k)),!1):(k===""?p=F:(F&&p.push("<!-- -->"),p.push(ae(k)),p=!0),p)}var ue=Object.assign,Me=Symbol.for("react.element"),He=Symbol.for("react.portal"),ze=Symbol.for("react.fragment"),Ae=Symbol.for("react.strict_mode"),Oe=Symbol.for("react.profiler"),Ke=Symbol.for("react.provider"),Qe=Symbol.for("react.context"),Xe=Symbol.for("react.forward_ref"),tt=Symbol.for("react.suspense"),yt=Symbol.for("react.suspense_list"),Ee=Symbol.for("react.memo"),Ct=Symbol.for("react.lazy"),At=Symbol.for("react.scope"),qt=Symbol.for("react.debug_trace_mode"),Vn=Symbol.for("react.legacy_hidden"),kn=Symbol.for("react.default_value"),_n=Symbol.iterator;function fr(p){if(p==null)return null;if(typeof p=="function")return p.displayName||p.name||null;if(typeof p=="string")return p;switch(p){case ze:return"Fragment";case He:return"Portal";case Oe:return"Profiler";case Ae:return"StrictMode";case tt:return"Suspense";case yt:return"SuspenseList"}if(typeof p=="object")switch(p.$$typeof){case Qe:return(p.displayName||"Context")+".Consumer";case Ke:return(p._context.displayName||"Context")+".Provider";case Xe:var k=p.render;return p=p.displayName,p||(p=k.displayName||k.name||"",p=p!==""?"ForwardRef("+p+")":"ForwardRef"),p;case Ee:return k=p.displayName||null,k!==null?k:fr(p.type)||"Memo";case Ct:k=p._payload,p=p._init;try{return fr(p(k))}catch{}}return null}var rr={};function Dn(p,k){if(p=p.contextTypes,!p)return rr;var A={},F;for(F in p)A[F]=k[F];return A}var xn=null;function hn(p,k){if(p!==k){p.context._currentValue2=p.parentValue,p=p.parent;var A=k.parent;if(p===null){if(A!==null)throw Error(e(401))}else{if(A===null)throw Error(e(401));hn(p,A)}k.context._currentValue2=k.value}}function gn(p){p.context._currentValue2=p.parentValue,p=p.parent,p!==null&&gn(p)}function pr(p){var k=p.parent;k!==null&&pr(k),p.context._currentValue2=p.value}function yi(p,k){if(p.context._currentValue2=p.parentValue,p=p.parent,p===null)throw Error(e(402));p.depth===k.depth?hn(p,k):yi(p,k)}function Wn(p,k){var A=k.parent;if(A===null)throw Error(e(402));p.depth===A.depth?hn(p,A):Wn(p,A),k.context._currentValue2=k.value}function Kt(p){var k=xn;k!==p&&(k===null?pr(p):p===null?gn(k):k.depth===p.depth?hn(k,p):k.depth>p.depth?yi(k,p):Wn(k,p),xn=p)}var Pr={isMounted:function(){return!1},enqueueSetState:function(p,k){p=p._reactInternals,p.queue!==null&&p.queue.push(k)},enqueueReplaceState:function(p,k){p=p._reactInternals,p.replace=!0,p.queue=[k]},enqueueForceUpdate:function(){}};function Jr(p,k,A,F){var X=p.state!==void 0?p.state:null;p.updater=Pr,p.props=A,p.state=X;var K={queue:[],replace:!1};p._reactInternals=K;var ie=k.contextType;if(p.context=typeof ie=="object"&&ie!==null?ie._currentValue2:F,ie=k.getDerivedStateFromProps,typeof ie=="function"&&(ie=ie(A,X),X=ie==null?X:ue({},X,ie),p.state=X),typeof k.getDerivedStateFromProps!="function"&&typeof p.getSnapshotBeforeUpdate!="function"&&(typeof p.UNSAFE_componentWillMount=="function"||typeof p.componentWillMount=="function"))if(k=p.state,typeof p.componentWillMount=="function"&&p.componentWillMount(),typeof p.UNSAFE_componentWillMount=="function"&&p.UNSAFE_componentWillMount(),k!==p.state&&Pr.enqueueReplaceState(p,p.state,null),K.queue!==null&&0<K.queue.length)if(k=K.queue,ie=K.replace,K.queue=null,K.replace=!1,ie&&k.length===1)p.state=k[0];else{for(K=ie?k[0]:p.state,X=!0,ie=ie?1:0;ie<k.length;ie++){var xe=k[ie];xe=typeof xe=="function"?xe.call(p,K,A,F):xe,xe!=null&&(X?(X=!1,K=ue({},K,xe)):ue(K,xe))}p.state=K}else K.queue=null}var Fr={id:1,overflow:""};function Qr(p,k,A){var F=p.id;p=p.overflow;var X=32-Dr(F)-1;F&=~(1<<X),A+=1;var K=32-Dr(k)+X;if(30<K){var ie=X-X%5;return K=(F&(1<<ie)-1).toString(32),F>>=ie,X-=ie,{id:1<<32-Dr(k)+X|A<<X|F,overflow:K+p}}return{id:1<<K|A<<X|F,overflow:p}}var Dr=Math.clz32?Math.clz32:hr,Bi=Math.log,Xr=Math.LN2;function hr(p){return p>>>=0,p===0?32:31-(Bi(p)/Xr|0)|0}function qr(p,k){return p===k&&(p!==0||1/p===1/k)||p!==p&&k!==k}var la=typeof Object.is=="function"?Object.is:qr,En=null,ir=null,Ln=null,Ot=null,gr=!1,ei=!1,ti=0,ar=null,ni=0;function mr(){if(En===null)throw Error(e(321));return En}function an(){if(0<ni)throw Error(e(312));return{memoizedState:null,queue:null,next:null}}function Ni(){return Ot===null?Ln===null?(gr=!1,Ln=Ot=an()):(gr=!0,Ot=Ln):Ot.next===null?(gr=!1,Ot=Ot.next=an()):(gr=!0,Ot=Ot.next),Ot}function ri(){ir=En=null,ei=!1,Ln=null,ni=0,Ot=ar=null}function ji(p,k){return typeof k=="function"?k(p):k}function on(p,k,A){if(En=mr(),Ot=Ni(),gr){var F=Ot.queue;if(k=F.dispatch,ar!==null&&(A=ar.get(F),A!==void 0)){ar.delete(F),F=Ot.memoizedState;do F=p(F,A.action),A=A.next;while(A!==null);return Ot.memoizedState=F,[F,k]}return[Ot.memoizedState,k]}return p=p===ji?typeof k=="function"?k():k:A!==void 0?A(k):k,Ot.memoizedState=p,p=Ot.queue={last:null,dispatch:null},p=p.dispatch=Ba.bind(null,En,p),[Ot.memoizedState,p]}function zi(p,k){if(En=mr(),Ot=Ni(),k=k===void 0?null:k,Ot!==null){var A=Ot.memoizedState;if(A!==null&&k!==null){var F=A[1];e:if(F===null)F=!1;else{for(var X=0;X<F.length&&X<k.length;X++)if(!la(k[X],F[X])){F=!1;break e}F=!0}if(F)return A[0]}}return p=p(),Ot.memoizedState=[p,k],p}function Ba(p,k,A){if(25<=ni)throw Error(e(301));if(p===En)if(ei=!0,p={action:A,next:null},ar===null&&(ar=new Map),A=ar.get(k),A===void 0)ar.set(k,p);else{for(k=A;k.next!==null;)k=k.next;k.next=p}}function Na(){throw Error(e(394))}function U(){}var ve={readContext:function(p){return p._currentValue2},useContext:function(p){return mr(),p._currentValue2},useMemo:zi,useReducer:on,useRef:function(p){En=mr(),Ot=Ni();var k=Ot.memoizedState;return k===null?(p={current:p},Ot.memoizedState=p):k},useState:function(p){return on(ji,p)},useInsertionEffect:U,useLayoutEffect:function(){},useCallback:function(p,k){return zi(function(){return p},k)},useImperativeHandle:U,useEffect:U,useDebugValue:U,useDeferredValue:function(p){return mr(),p},useTransition:function(){return mr(),[!1,Na]},useId:function(){var p=ir.treeContext,k=p.overflow;p=p.id,p=(p&~(1<<32-Dr(p)-1)).toString(32)+k;var A=Re;if(A===null)throw Error(e(404));return k=ti++,p=":"+A.idPrefix+"R"+p,0<k&&(p+="H"+k.toString(32)),p+":"},useMutableSource:function(p,k){return mr(),k(p._source)},useSyncExternalStore:function(p,k,A){if(A===void 0)throw Error(e(407));return A()}},Re=null,nt=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function mt(p){return console.error(p),null}function kt(){}function wt(p,k,A,F,X,K,ie,xe,Ue){var qe=[],Je=new Set;return k={destination:null,responseState:k,progressiveChunkSize:F===void 0?12800:F,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:Je,pingedTasks:qe,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:X===void 0?mt:X,onAllReady:K===void 0?kt:K,onShellReady:ie===void 0?kt:ie,onShellError:xe===void 0?kt:xe,onFatalError:Ue===void 0?kt:Ue},A=cn(k,0,null,A,!1,!1),A.parentFlushed=!0,p=pt(k,p,null,A,Je,rr,null,Fr),qe.push(p),k}function pt(p,k,A,F,X,K,ie,xe){p.allPendingTasks++,A===null?p.pendingRootTasks++:A.pendingTasks++;var Ue={node:k,ping:function(){var qe=p.pingedTasks;qe.push(Ue),qe.length===1&&Xn(p)},blockedBoundary:A,blockedSegment:F,abortSet:X,legacyContext:K,context:ie,treeContext:xe};return X.add(Ue),Ue}function cn(p,k,A,F,X,K){return{status:0,id:-1,index:k,parentFlushed:!1,chunks:[],children:[],formatContext:F,boundary:A,lastPushedText:X,textEmbedded:K}}function zt(p,k){if(p=p.onError(k),p!=null&&typeof p!="string")throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof p+'" instead');return p}function Ut(p,k){var A=p.onShellError;A(k),A=p.onFatalError,A(k),p.destination!==null?(p.status=2,p.destination.destroy(k)):(p.status=1,p.fatalError=k)}function ln(p,k,A,F,X){for(En={},ir=k,ti=0,p=A(F,X);ei;)ei=!1,ti=0,ni+=1,Ot=null,p=A(F,X);return ri(),p}function On(p,k,A,F){var X=A.render(),K=F.childContextTypes;if(K!=null){var ie=k.legacyContext;if(typeof A.getChildContext!="function")F=ie;else{A=A.getChildContext();for(var xe in A)if(!(xe in K))throw Error(e(108,fr(F)||"Unknown",xe));F=ue({},ie,A)}k.legacyContext=F,dn(p,k,X),k.legacyContext=ie}else dn(p,k,X)}function Lr(p,k){if(p&&p.defaultProps){k=ue({},k),p=p.defaultProps;for(var A in p)k[A]===void 0&&(k[A]=p[A]);return k}return k}function en(p,k,A,F,X){if(typeof A=="function")if(A.prototype&&A.prototype.isReactComponent){X=Dn(A,k.legacyContext);var K=A.contextType;K=new A(F,typeof K=="object"&&K!==null?K._currentValue2:X),Jr(K,A,F,X),On(p,k,K,A)}else{K=Dn(A,k.legacyContext),X=ln(p,k,A,F,K);var ie=ti!==0;if(typeof X=="object"&&X!==null&&typeof X.render=="function"&&X.$$typeof===void 0)Jr(X,A,F,K),On(p,k,X,A);else if(ie){F=k.treeContext,k.treeContext=Qr(F,1,0);try{dn(p,k,X)}finally{k.treeContext=F}}else dn(p,k,X)}else if(typeof A=="string"){switch(X=k.blockedSegment,K=we(X.chunks,A,F,p.responseState,X.formatContext),X.lastPushedText=!1,ie=X.formatContext,X.formatContext=fe(ie,A,F),Er(p,k,K),X.formatContext=ie,A){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:X.chunks.push("</",A,">")}X.lastPushedText=!1}else{switch(A){case Vn:case qt:case Ae:case Oe:case ze:dn(p,k,F.children);return;case yt:dn(p,k,F.children);return;case At:throw Error(e(343));case tt:e:{A=k.blockedBoundary,X=k.blockedSegment,K=F.fallback,F=F.children,ie=new Set;var xe={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:ie,errorDigest:null},Ue=cn(p,X.chunks.length,xe,X.formatContext,!1,!1);X.children.push(Ue),X.lastPushedText=!1;var qe=cn(p,0,null,X.formatContext,!1,!1);qe.parentFlushed=!0,k.blockedBoundary=xe,k.blockedSegment=qe;try{if(Er(p,k,F),p.responseState.generateStaticMarkup||qe.lastPushedText&&qe.textEmbedded&&qe.chunks.push("<!-- -->"),qe.status=1,Cr(xe,qe),xe.pendingTasks===0)break e}catch(Je){qe.status=4,xe.forceClientRender=!0,xe.errorDigest=zt(p,Je)}finally{k.blockedBoundary=A,k.blockedSegment=X}k=pt(p,K,A,Ue,ie,k.legacyContext,k.context,k.treeContext),p.pingedTasks.push(k)}return}if(typeof A=="object"&&A!==null)switch(A.$$typeof){case Xe:if(F=ln(p,k,A.render,F,X),ti!==0){A=k.treeContext,k.treeContext=Qr(A,1,0);try{dn(p,k,F)}finally{k.treeContext=A}}else dn(p,k,F);return;case Ee:A=A.type,F=Lr(A,F),en(p,k,A,F,X);return;case Ke:if(X=F.children,A=A._context,F=F.value,K=A._currentValue2,A._currentValue2=F,ie=xn,xn=F={parent:ie,depth:ie===null?0:ie.depth+1,context:A,parentValue:K,value:F},k.context=F,dn(p,k,X),p=xn,p===null)throw Error(e(403));F=p.parentValue,p.context._currentValue2=F===kn?p.context._defaultValue:F,p=xn=p.parent,k.context=p;return;case Qe:F=F.children,F=F(A._currentValue2),dn(p,k,F);return;case Ct:X=A._init,A=X(A._payload),F=Lr(A,F),en(p,k,A,F,void 0);return}throw Error(e(130,A==null?A:typeof A,""))}}function dn(p,k,A){if(k.node=A,typeof A=="object"&&A!==null){switch(A.$$typeof){case Me:en(p,k,A.type,A.props,A.ref);return;case He:throw Error(e(257));case Ct:var F=A._init;A=F(A._payload),dn(p,k,A);return}if(Z(A)){Br(p,k,A);return}if(A===null||typeof A!="object"?F=null:(F=_n&&A[_n]||A["@@iterator"],F=typeof F=="function"?F:null),F&&(F=F.call(A))){if(A=F.next(),!A.done){var X=[];do X.push(A.value),A=F.next();while(!A.done);Br(p,k,X)}return}throw p=Object.prototype.toString.call(A),Error(e(31,p==="[object Object]"?"object with keys {"+Object.keys(A).join(", ")+"}":p))}typeof A=="string"?(F=k.blockedSegment,F.lastPushedText=le(k.blockedSegment.chunks,A,p.responseState,F.lastPushedText)):typeof A=="number"&&(F=k.blockedSegment,F.lastPushedText=le(k.blockedSegment.chunks,""+A,p.responseState,F.lastPushedText))}function Br(p,k,A){for(var F=A.length,X=0;X<F;X++){var K=k.treeContext;k.treeContext=Qr(K,F,X);try{Er(p,k,A[X])}finally{k.treeContext=K}}}function Er(p,k,A){var F=k.blockedSegment.formatContext,X=k.legacyContext,K=k.context;try{return dn(p,k,A)}catch(Ue){if(ri(),typeof Ue=="object"&&Ue!==null&&typeof Ue.then=="function"){A=Ue;var ie=k.blockedSegment,xe=cn(p,ie.chunks.length,null,ie.formatContext,ie.lastPushedText,!0);ie.children.push(xe),ie.lastPushedText=!1,p=pt(p,k.node,k.blockedBoundary,xe,k.abortSet,k.legacyContext,k.context,k.treeContext).ping,A.then(p,p),k.blockedSegment.formatContext=F,k.legacyContext=X,k.context=K,Kt(K)}else throw k.blockedSegment.formatContext=F,k.legacyContext=X,k.context=K,Kt(K),Ue}}function Cn(p){var k=p.blockedBoundary;p=p.blockedSegment,p.status=3,Nr(this,k,p)}function Ui(p,k,A){var F=p.blockedBoundary;p.blockedSegment.status=3,F===null?(k.allPendingTasks--,k.status!==2&&(k.status=2,k.destination!==null&&k.destination.push(null))):(F.pendingTasks--,F.forceClientRender||(F.forceClientRender=!0,p=A===void 0?Error(e(432)):A,F.errorDigest=k.onError(p),F.parentFlushed&&k.clientRenderedBoundaries.push(F)),F.fallbackAbortableTasks.forEach(function(X){return Ui(X,k,A)}),F.fallbackAbortableTasks.clear(),k.allPendingTasks--,k.allPendingTasks===0&&(F=k.onAllReady,F()))}function Cr(p,k){if(k.chunks.length===0&&k.children.length===1&&k.children[0].boundary===null){var A=k.children[0];A.id=k.id,A.parentFlushed=!0,A.status===1&&Cr(p,A)}else p.completedSegments.push(k)}function Nr(p,k,A){if(k===null){if(A.parentFlushed){if(p.completedRootSegment!==null)throw Error(e(389));p.completedRootSegment=A}p.pendingRootTasks--,p.pendingRootTasks===0&&(p.onShellError=kt,k=p.onShellReady,k())}else k.pendingTasks--,k.forceClientRender||(k.pendingTasks===0?(A.parentFlushed&&A.status===1&&Cr(k,A),k.parentFlushed&&p.completedBoundaries.push(k),k.fallbackAbortableTasks.forEach(Cn,p),k.fallbackAbortableTasks.clear()):A.parentFlushed&&A.status===1&&(Cr(k,A),k.completedSegments.length===1&&k.parentFlushed&&p.partialBoundaries.push(k)));p.allPendingTasks--,p.allPendingTasks===0&&(p=p.onAllReady,p())}function Xn(p){if(p.status!==2){var k=xn,A=nt.current;nt.current=ve;var F=Re;Re=p.responseState;try{var X=p.pingedTasks,K;for(K=0;K<X.length;K++){var ie=X[K],xe=p,Ue=ie.blockedSegment;if(Ue.status===0){Kt(ie.context);try{dn(xe,ie,ie.node),xe.responseState.generateStaticMarkup||Ue.lastPushedText&&Ue.textEmbedded&&Ue.chunks.push("<!-- -->"),ie.abortSet.delete(ie),Ue.status=1,Nr(xe,ie.blockedBoundary,Ue)}catch(Nn){if(ri(),typeof Nn=="object"&&Nn!==null&&typeof Nn.then=="function"){var qe=ie.ping;Nn.then(qe,qe)}else{ie.abortSet.delete(ie),Ue.status=4;var Je=ie.blockedBoundary,Ft=Nn,or=zt(xe,Ft);if(Je===null?Ut(xe,Ft):(Je.pendingTasks--,Je.forceClientRender||(Je.forceClientRender=!0,Je.errorDigest=or,Je.parentFlushed&&xe.clientRenderedBoundaries.push(Je))),xe.allPendingTasks--,xe.allPendingTasks===0){var Bn=xe.onAllReady;Bn()}}}finally{}}}X.splice(0,K),p.destination!==null&&jr(p,p.destination)}catch(Nn){zt(p,Nn),Ut(p,Nn)}finally{Re=F,nt.current=A,A===ve&&Kt(k)}}}function ii(p,k,A){switch(A.parentFlushed=!0,A.status){case 0:var F=A.id=p.nextSegmentId++;return A.lastPushedText=!1,A.textEmbedded=!1,p=p.responseState,k.push('<template id="'),k.push(p.placeholderPrefix),p=F.toString(16),k.push(p),k.push('"></template>');case 1:A.status=2;var X=!0;F=A.chunks;var K=0;A=A.children;for(var ie=0;ie<A.length;ie++){for(X=A[ie];K<X.index;K++)k.push(F[K]);X=wi(p,k,X)}for(;K<F.length-1;K++)k.push(F[K]);return K<F.length&&(X=k.push(F[K])),X;default:throw Error(e(390))}}function wi(p,k,A){var F=A.boundary;if(F===null)return ii(p,k,A);if(F.parentFlushed=!0,F.forceClientRender)return p.responseState.generateStaticMarkup||(F=F.errorDigest,k.push("<!--$!-->"),k.push("<template"),F&&(k.push(' data-dgst="'),F=ae(F),k.push(F),k.push('"')),k.push("></template>")),ii(p,k,A),p=p.responseState.generateStaticMarkup?!0:k.push("<!--/$-->"),p;if(0<F.pendingTasks){F.rootSegmentID=p.nextSegmentId++,0<F.completedSegments.length&&p.partialBoundaries.push(F);var X=p.responseState,K=X.nextSuspenseID++;return X=X.boundaryPrefix+K.toString(16),F=F.id=X,_e(k,p.responseState,F),ii(p,k,A),k.push("<!--/$-->")}if(F.byteSize>p.progressiveChunkSize)return F.rootSegmentID=p.nextSegmentId++,p.completedBoundaries.push(F),_e(k,p.responseState,F.id),ii(p,k,A),k.push("<!--/$-->");if(p.responseState.generateStaticMarkup||k.push("<!--$-->"),A=F.completedSegments,A.length!==1)throw Error(e(391));return wi(p,k,A[0]),p=p.responseState.generateStaticMarkup?!0:k.push("<!--/$-->"),p}function ua(p,k,A){return Ye(k,p.responseState,A.formatContext,A.id),wi(p,k,A),Ze(k,A.formatContext)}function ca(p,k,A){for(var F=A.completedSegments,X=0;X<F.length;X++)Vi(p,k,A,F[X]);if(F.length=0,p=p.responseState,F=A.id,A=A.rootSegmentID,k.push(p.startInlineScript),p.sentCompleteBoundaryFunction?k.push('$RC("'):(p.sentCompleteBoundaryFunction=!0,k.push('function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("')),F===null)throw Error(e(395));return A=A.toString(16),k.push(F),k.push('","'),k.push(p.segmentPrefix),k.push(A),k.push('")<\/script>')}function Vi(p,k,A,F){if(F.status===2)return!0;var X=F.id;if(X===-1){if((F.id=A.rootSegmentID)===-1)throw Error(e(392));return ua(p,k,F)}return ua(p,k,F),p=p.responseState,k.push(p.startInlineScript),p.sentCompleteSegmentFunction?k.push('$RS("'):(p.sentCompleteSegmentFunction=!0,k.push('function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("')),k.push(p.segmentPrefix),X=X.toString(16),k.push(X),k.push('","'),k.push(p.placeholderPrefix),k.push(X),k.push('")<\/script>')}function jr(p,k){try{var A=p.completedRootSegment;if(A!==null&&p.pendingRootTasks===0){wi(p,k,A),p.completedRootSegment=null;var F=p.responseState.bootstrapChunks;for(A=0;A<F.length-1;A++)k.push(F[A]);A<F.length&&k.push(F[A])}var X=p.clientRenderedBoundaries,K;for(K=0;K<X.length;K++){var ie=X[K];F=k;var xe=p.responseState,Ue=ie.id,qe=ie.errorDigest,Je=ie.errorMessage,Ft=ie.errorComponentStack;if(F.push(xe.startInlineScript),xe.sentClientRenderFunction?F.push('$RX("'):(xe.sentClientRenderFunction=!0,F.push('function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};$RX("')),Ue===null)throw Error(e(395));if(F.push(Ue),F.push('"'),qe||Je||Ft){F.push(",");var or=De(qe||"");F.push(or)}if(Je||Ft){F.push(",");var Bn=De(Je||"");F.push(Bn)}if(Ft){F.push(",");var Nn=De(Ft);F.push(Nn)}if(!F.push(")<\/script>")){p.destination=null,K++,X.splice(0,K);return}}X.splice(0,K);var zr=p.completedBoundaries;for(K=0;K<zr.length;K++)if(!ca(p,k,zr[K])){p.destination=null,K++,zr.splice(0,K);return}zr.splice(0,K);var vr=p.partialBoundaries;for(K=0;K<vr.length;K++){var da=vr[K];e:{X=p,ie=k;var xi=da.completedSegments;for(xe=0;xe<xi.length;xe++)if(!Vi(X,ie,da,xi[xe])){xe++,xi.splice(0,xe);var Hi=!1;break e}xi.splice(0,xe),Hi=!0}if(!Hi){p.destination=null,K++,vr.splice(0,K);return}}vr.splice(0,K);var Ur=p.completedBoundaries;for(K=0;K<Ur.length;K++)if(!ca(p,k,Ur[K])){p.destination=null,K++,Ur.splice(0,K);return}Ur.splice(0,K)}finally{p.allPendingTasks===0&&p.pingedTasks.length===0&&p.clientRenderedBoundaries.length===0&&p.completedBoundaries.length===0&&k.push(null)}}function ja(p,k){try{var A=p.abortableTasks;A.forEach(function(F){return Ui(F,p,k)}),A.clear(),p.destination!==null&&jr(p,p.destination)}catch(F){zt(p,F),Ut(p,F)}}function Wi(){}function ai(p,k,A,F){var X=!1,K=null,ie="",xe={push:function(qe){return qe!==null&&(ie+=qe),!0},destroy:function(qe){X=!0,K=qe}},Ue=!1;if(p=wt(p,We(A,k?k.identifierPrefix:void 0),{insertionMode:1,selectedValue:null},1/0,Wi,void 0,function(){Ue=!0},void 0,void 0),Xn(p),ja(p,F),p.status===1)p.status=2,xe.destroy(p.fatalError);else if(p.status!==2&&p.destination===null){p.destination=xe;try{jr(p,xe)}catch(qe){zt(p,qe),Ut(p,qe)}}if(X)throw K;if(!Ue)throw Error(e(426));return ie}return Ol.renderToNodeStream=function(){throw Error(e(207))},Ol.renderToStaticMarkup=function(p,k){return ai(p,k,!0,'The server used "renderToStaticMarkup" which does not support Suspense. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')},Ol.renderToStaticNodeStream=function(){throw Error(e(208))},Ol.renderToString=function(p,k){return ai(p,k,!1,'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')},Ol.version="18.2.0",Ol}var Cd={};/**
84
84
  * @license React
85
85
  * react-dom-server.browser.production.min.js
86
86
  *
@@ -88,11 +88,11 @@ Check the top-level render call using <`+Ce+">.")}return ge}}function gr(U,ge){{
88
88
  *
89
89
  * This source code is licensed under the MIT license found in the
90
90
  * LICENSE file in the root directory of this source tree.
91
- */var kh;function Ly(){if(kh)return xd;kh=1;var r=Me;function e(h){for(var S="https://reactjs.org/docs/error-decoder.html?invariant="+h,R=1;R<arguments.length;R++)S+="&args[]="+encodeURIComponent(arguments[R]);return"Minified React error #"+h+"; visit "+S+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var n=null,a=0;function o(h,S){if(S.length!==0)if(512<S.length)0<a&&(h.enqueue(new Uint8Array(n.buffer,0,a)),n=new Uint8Array(512),a=0),h.enqueue(S);else{var R=n.length-a;R<S.length&&(R===0?h.enqueue(n):(n.set(S.subarray(0,R),a),h.enqueue(n),S=S.subarray(R)),n=new Uint8Array(512),a=0),n.set(S,a),a+=S.length}}function d(h,S){return o(h,S),!0}function v(h){n&&0<a&&(h.enqueue(new Uint8Array(n.buffer,0,a)),n=null,a=0)}var x=new TextEncoder;function w(h){return x.encode(h)}function E(h){return x.encode(h)}function B(h,S){typeof h.error=="function"?h.error(S):h.close()}var D=Object.prototype.hasOwnProperty,V=/^[: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]*$/,he={},ae={};function ye(h){return D.call(ae,h)?!0:D.call(he,h)?!1:V.test(h)?ae[h]=!0:(he[h]=!0,!1)}function Z(h,S,R,P,q,Q,le){this.acceptsBooleans=S===2||S===3||S===4,this.attributeName=P,this.attributeNamespace=q,this.mustUseProperty=R,this.propertyName=h,this.type=S,this.sanitizeURL=Q,this.removeEmptyString=le}var G={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(h){G[h]=new Z(h,0,!1,h,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(h){var S=h[0];G[S]=new Z(S,1,!1,h[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(h){G[h]=new Z(h,2,!1,h.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(h){G[h]=new Z(h,2,!1,h,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(h){G[h]=new Z(h,3,!1,h.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(h){G[h]=new Z(h,3,!0,h,null,!1,!1)}),["capture","download"].forEach(function(h){G[h]=new Z(h,4,!1,h,null,!1,!1)}),["cols","rows","size","span"].forEach(function(h){G[h]=new Z(h,6,!1,h,null,!1,!1)}),["rowSpan","start"].forEach(function(h){G[h]=new Z(h,5,!1,h.toLowerCase(),null,!1,!1)});var ue=/[\-:]([a-z])/g;function be(h){return h[1].toUpperCase()}"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(h){var S=h.replace(ue,be);G[S]=new Z(S,1,!1,h,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(h){var S=h.replace(ue,be);G[S]=new Z(S,1,!1,h,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(h){var S=h.replace(ue,be);G[S]=new Z(S,1,!1,h,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(h){G[h]=new Z(h,1,!1,h.toLowerCase(),null,!1,!1)}),G.xlinkHref=new Z("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(h){G[h]=new Z(h,1,!1,h.toLowerCase(),null,!0,!0)});var ke={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},re=["Webkit","ms","Moz","O"];Object.keys(ke).forEach(function(h){re.forEach(function(S){S=S+h.charAt(0).toUpperCase()+h.substring(1),ke[S]=ke[h]})});var Ie=/["'&<>]/;function Te(h){if(typeof h=="boolean"||typeof h=="number")return""+h;h=""+h;var S=Ie.exec(h);if(S){var R="",P,q=0;for(P=S.index;P<h.length;P++){switch(h.charCodeAt(P)){case 34:S="&quot;";break;case 38:S="&amp;";break;case 39:S="&#x27;";break;case 60:S="&lt;";break;case 62:S="&gt;";break;default:continue}q!==P&&(R+=h.substring(q,P)),q=P+1,R+=S}h=q!==P?R+h.substring(q,P):R}return h}var Dt=/([A-Z])/g,dt=/^ms-/,Mt=Array.isArray,ve=E("<script>"),xe=E("<\/script>"),Re=E('<script src="'),Be=E('<script type="module" src="'),Ye=E('" async=""><\/script>'),He=/(<\/|<)(s)(cript)/gi;function je(h,S,R,P){return""+S+(R==="s"?"\\u0073":"\\u0053")+P}function ze(h,S,R,P,q){h=h===void 0?"":h,S=S===void 0?ve:E('<script nonce="'+Te(S)+'">');var Q=[];if(R!==void 0&&Q.push(S,w((""+R).replace(He,je)),xe),P!==void 0)for(R=0;R<P.length;R++)Q.push(Re,w(Te(P[R])),Ye);if(q!==void 0)for(P=0;P<q.length;P++)Q.push(Be,w(Te(q[P])),Ye);return{bootstrapChunks:Q,startInlineScript:S,placeholderPrefix:E(h+"P:"),segmentPrefix:E(h+"S:"),boundaryPrefix:h+"B:",idPrefix:h,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}function pt(h,S){return{insertionMode:h,selectedValue:S}}function oe(h){return pt(h==="http://www.w3.org/2000/svg"?2:h==="http://www.w3.org/1998/Math/MathML"?3:0,null)}function ce(h,S,R){switch(S){case"select":return pt(1,R.value!=null?R.value:R.defaultValue);case"svg":return pt(2,null);case"math":return pt(3,null);case"foreignObject":return pt(1,null);case"table":return pt(4,null);case"thead":case"tbody":case"tfoot":return pt(5,null);case"colgroup":return pt(7,null);case"tr":return pt(6,null)}return 4<=h.insertionMode||h.insertionMode===0?pt(1,null):h}var Ae=E("<!-- -->");function Ze(h,S,R,P){return S===""?P:(P&&h.push(Ae),h.push(w(Te(S))),!0)}var Pe=new Map,Fe=E(' style="'),Oe=E(":"),qe=E(";");function et(h,S,R){if(typeof R!="object")throw Error(e(62));S=!0;for(var P in R)if(D.call(R,P)){var q=R[P];if(q!=null&&typeof q!="boolean"&&q!==""){if(P.indexOf("--")===0){var Q=w(Te(P));q=w(Te((""+q).trim()))}else{Q=P;var le=Pe.get(Q);le!==void 0||(le=E(Te(Q.replace(Dt,"-$1").toLowerCase().replace(dt,"-ms-"))),Pe.set(Q,le)),Q=le,q=typeof q=="number"?q===0||D.call(ke,P)?w(""+q):w(q+"px"):w(Te((""+q).trim()))}S?(S=!1,h.push(Fe,Q,Oe,q)):h.push(qe,Q,Oe,q)}}S||h.push(kt)}var Ke=E(" "),nt=E('="'),kt=E('"'),_e=E('=""');function It(h,S,R,P){switch(R){case"style":et(h,S,P);return;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(2<R.length)||R[0]!=="o"&&R[0]!=="O"||R[1]!=="n"&&R[1]!=="N"){if(S=G.hasOwnProperty(R)?G[R]:null,S!==null){switch(typeof P){case"function":case"symbol":return;case"boolean":if(!S.acceptsBooleans)return}switch(R=w(S.attributeName),S.type){case 3:P&&h.push(Ke,R,_e);break;case 4:P===!0?h.push(Ke,R,_e):P!==!1&&h.push(Ke,R,nt,w(Te(P)),kt);break;case 5:isNaN(P)||h.push(Ke,R,nt,w(Te(P)),kt);break;case 6:!isNaN(P)&&1<=P&&h.push(Ke,R,nt,w(Te(P)),kt);break;default:S.sanitizeURL&&(P=""+P),h.push(Ke,R,nt,w(Te(P)),kt)}}else if(ye(R)){switch(typeof P){case"function":case"symbol":return;case"boolean":if(S=R.toLowerCase().slice(0,5),S!=="data-"&&S!=="aria-")return}h.push(Ke,w(R),nt,w(Te(P)),kt)}}}var mt=E(">"),fn=E("/>");function jn(h,S,R){if(S!=null){if(R!=null)throw Error(e(60));if(typeof S!="object"||!("__html"in S))throw Error(e(61));S=S.__html,S!=null&&h.push(w(""+S))}}function Sn(h){var S="";return r.Children.forEach(h,function(R){R!=null&&(S+=R)}),S}var zn=E(' selected=""');function dr(h,S,R,P){h.push(pn(R));var q=R=null,Q;for(Q in S)if(D.call(S,Q)){var le=S[Q];if(le!=null)switch(Q){case"children":R=le;break;case"dangerouslySetInnerHTML":q=le;break;default:It(h,P,Q,le)}}return h.push(mt),jn(h,q,R),typeof R=="string"?(h.push(w(Te(R))),null):R}var nr=E(`
92
- `),Mn=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,yn=new Map;function pn(h){var S=yn.get(h);if(S===void 0){if(!Mn.test(h))throw Error(e(65,h));S=E("<"+h),yn.set(h,S)}return S}var hn=E("<!DOCTYPE html>");function fr(h,S,R,P,q){switch(S){case"select":h.push(pn("select"));var Q=null,le=null;for(at in R)if(D.call(R,at)){var Se=R[at];if(Se!=null)switch(at){case"children":Q=Se;break;case"dangerouslySetInnerHTML":le=Se;break;case"defaultValue":case"value":break;default:It(h,P,at,Se)}}return h.push(mt),jn(h,le,Q),Q;case"option":le=q.selectedValue,h.push(pn("option"));var $e=Se=null,ht=null,at=null;for(Q in R)if(D.call(R,Q)){var Jt=R[Q];if(Jt!=null)switch(Q){case"children":Se=Jt;break;case"selected":ht=Jt;break;case"dangerouslySetInnerHTML":at=Jt;break;case"value":$e=Jt;default:It(h,P,Q,Jt)}}if(le!=null)if(R=$e!==null?""+$e:Sn(Se),Mt(le)){for(P=0;P<le.length;P++)if(""+le[P]===R){h.push(zn);break}}else""+le===R&&h.push(zn);else ht&&h.push(zn);return h.push(mt),jn(h,at,Se),Se;case"textarea":h.push(pn("textarea")),at=le=Q=null;for(Se in R)if(D.call(R,Se)&&($e=R[Se],$e!=null))switch(Se){case"children":at=$e;break;case"value":Q=$e;break;case"defaultValue":le=$e;break;case"dangerouslySetInnerHTML":throw Error(e(91));default:It(h,P,Se,$e)}if(Q===null&&le!==null&&(Q=le),h.push(mt),at!=null){if(Q!=null)throw Error(e(92));if(Mt(at)&&1<at.length)throw Error(e(93));Q=""+at}return typeof Q=="string"&&Q[0]===`
93
- `&&h.push(nr),Q!==null&&h.push(w(Te(""+Q))),null;case"input":h.push(pn("input")),$e=at=Se=Q=null;for(le in R)if(D.call(R,le)&&(ht=R[le],ht!=null))switch(le){case"children":case"dangerouslySetInnerHTML":throw Error(e(399,"input"));case"defaultChecked":$e=ht;break;case"defaultValue":Se=ht;break;case"checked":at=ht;break;case"value":Q=ht;break;default:It(h,P,le,ht)}return at!==null?It(h,P,"checked",at):$e!==null&&It(h,P,"checked",$e),Q!==null?It(h,P,"value",Q):Se!==null&&It(h,P,"value",Se),h.push(fn),null;case"menuitem":h.push(pn("menuitem"));for(var Qn in R)if(D.call(R,Qn)&&(Q=R[Qn],Q!=null))switch(Qn){case"children":case"dangerouslySetInnerHTML":throw Error(e(400));default:It(h,P,Qn,Q)}return h.push(mt),null;case"title":h.push(pn("title")),Q=null;for(Jt in R)if(D.call(R,Jt)&&(le=R[Jt],le!=null))switch(Jt){case"children":Q=le;break;case"dangerouslySetInnerHTML":throw Error(e(434));default:It(h,P,Jt,le)}return h.push(mt),Q;case"listing":case"pre":h.push(pn(S)),le=Q=null;for($e in R)if(D.call(R,$e)&&(Se=R[$e],Se!=null))switch($e){case"children":Q=Se;break;case"dangerouslySetInnerHTML":le=Se;break;default:It(h,P,$e,Se)}if(h.push(mt),le!=null){if(Q!=null)throw Error(e(60));if(typeof le!="object"||!("__html"in le))throw Error(e(61));R=le.__html,R!=null&&(typeof R=="string"&&0<R.length&&R[0]===`
94
- `?h.push(nr,w(R)):h.push(w(""+R)))}return typeof Q=="string"&&Q[0]===`
95
- `&&h.push(nr),Q;case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":h.push(pn(S));for(var Cr in R)if(D.call(R,Cr)&&(Q=R[Cr],Q!=null))switch(Cr){case"children":case"dangerouslySetInnerHTML":throw Error(e(399,S));default:It(h,P,Cr,Q)}return h.push(fn),null;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 dr(h,R,S,P);case"html":return q.insertionMode===0&&h.push(hn),dr(h,R,S,P);default:if(S.indexOf("-")===-1&&typeof R.is!="string")return dr(h,R,S,P);h.push(pn(S)),le=Q=null;for(ht in R)if(D.call(R,ht)&&(Se=R[ht],Se!=null))switch(ht){case"children":Q=Se;break;case"dangerouslySetInnerHTML":le=Se;break;case"style":et(h,P,Se);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:ye(ht)&&typeof Se!="function"&&typeof Se!="symbol"&&h.push(Ke,w(ht),nt,w(Te(Se)),kt)}return h.push(mt),jn(h,le,Q),Q}}var gi=E("</"),Un=E(">"),Zt=E('<template id="'),Ar=E('"></template>'),Zr=E("<!--$-->"),Or=E('<!--$?--><template id="'),Yr=E('"></template>'),Mr=E("<!--$!-->"),Mi=E("<!--/$-->"),Kr=E("<template"),pr=E('"'),Jr=E(' data-dgst="');E(' data-msg="'),E(' data-stck="');var ia=E("></template>");function kn(h,S,R){if(o(h,Or),R===null)throw Error(e(395));return o(h,R),d(h,Yr)}var rr=E('<div hidden id="'),Fn=E('">'),At=E("</div>"),hr=E('<svg aria-hidden="true" style="display:none" id="'),Qr=E('">'),Xr=E("</svg>"),ir=E('<math aria-hidden="true" style="display:none" id="'),qr=E('">'),gr=E("</math>"),nn=E('<table hidden id="'),Fi=E('">'),ei=E("</table>"),Pi=E('<table hidden><tbody id="'),rn=E('">'),Di=E("</tbody></table>"),Fa=E('<table hidden><tr id="'),Pa=E('">'),U=E("</tr></table>"),ge=E('<table hidden><colgroup id="'),Ce=E('">'),tt=E("</colgroup></table>");function vt(h,S,R,P){switch(R.insertionMode){case 0:case 1:return o(h,rr),o(h,S.segmentPrefix),o(h,w(P.toString(16))),d(h,Fn);case 2:return o(h,hr),o(h,S.segmentPrefix),o(h,w(P.toString(16))),d(h,Qr);case 3:return o(h,ir),o(h,S.segmentPrefix),o(h,w(P.toString(16))),d(h,qr);case 4:return o(h,nn),o(h,S.segmentPrefix),o(h,w(P.toString(16))),d(h,Fi);case 5:return o(h,Pi),o(h,S.segmentPrefix),o(h,w(P.toString(16))),d(h,rn);case 6:return o(h,Fa),o(h,S.segmentPrefix),o(h,w(P.toString(16))),d(h,Pa);case 7:return o(h,ge),o(h,S.segmentPrefix),o(h,w(P.toString(16))),d(h,Ce);default:throw Error(e(397))}}function _t(h,S){switch(S.insertionMode){case 0:case 1:return d(h,At);case 2:return d(h,Xr);case 3:return d(h,gr);case 4:return d(h,ei);case 5:return d(h,Di);case 6:return d(h,U);case 7:return d(h,tt);default:throw Error(e(397))}}var wt=E('function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("'),ft=E('$RS("'),ln=E('","'),zt=E('")<\/script>'),Ut=E('function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("'),on=E('$RC("'),In=E('","'),Fr=E('")<\/script>'),Xt=E('function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};$RX("'),un=E('$RX("'),Pr=E('"'),Sr=E(")<\/script>"),_n=E(","),Li=/[<\u2028\u2029]/g;function kr(h){return JSON.stringify(h).replace(Li,function(S){switch(S){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}var Dr=Object.assign,Jn=Symbol.for("react.element"),ti=Symbol.for("react.portal"),mi=Symbol.for("react.fragment"),aa=Symbol.for("react.strict_mode"),oa=Symbol.for("react.profiler"),Bi=Symbol.for("react.provider"),Lr=Symbol.for("react.context"),Da=Symbol.for("react.forward_ref"),Ni=Symbol.for("react.suspense"),ni=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),k=Symbol.for("react.lazy"),A=Symbol.for("react.scope"),F=Symbol.for("react.debug_trace_mode"),X=Symbol.for("react.legacy_hidden"),K=Symbol.for("react.default_value"),ie=Symbol.iterator;function we(h){if(h==null)return null;if(typeof h=="function")return h.displayName||h.name||null;if(typeof h=="string")return h;switch(h){case mi:return"Fragment";case ti:return"Portal";case oa:return"Profiler";case aa:return"StrictMode";case Ni:return"Suspense";case ni:return"SuspenseList"}if(typeof h=="object")switch(h.$$typeof){case Lr:return(h.displayName||"Context")+".Consumer";case Bi:return(h._context.displayName||"Context")+".Provider";case Da:var S=h.render;return h=h.displayName,h||(h=S.displayName||S.name||"",h=h!==""?"ForwardRef("+h+")":"ForwardRef"),h;case p:return S=h.displayName||null,S!==null?S:we(h.type)||"Memo";case k:S=h._payload,h=h._init;try{return we(h(S))}catch{}}return null}var Ve={};function Qe(h,S){if(h=h.contextTypes,!h)return Ve;var R={},P;for(P in h)R[P]=S[P];return R}var Je=null;function Ft(h,S){if(h!==S){h.context._currentValue=h.parentValue,h=h.parent;var R=S.parent;if(h===null){if(R!==null)throw Error(e(401))}else{if(R===null)throw Error(e(401));Ft(h,R)}S.context._currentValue=S.value}}function ar(h){h.context._currentValue=h.parentValue,h=h.parent,h!==null&&ar(h)}function Pn(h){var S=h.parent;S!==null&&Pn(S),h.context._currentValue=h.value}function Dn(h,S){if(h.context._currentValue=h.parentValue,h=h.parent,h===null)throw Error(e(402));h.depth===S.depth?Ft(h,S):Dn(h,S)}function Br(h,S){var R=S.parent;if(R===null)throw Error(e(402));h.depth===R.depth?Ft(h,R):Br(h,R),S.context._currentValue=S.value}function mr(h){var S=Je;S!==h&&(S===null?Pn(h):h===null?ar(S):S.depth===h.depth?Ft(S,h):S.depth>h.depth?Dn(S,h):Br(S,h),Je=h)}var sa={isMounted:function(){return!1},enqueueSetState:function(h,S){h=h._reactInternals,h.queue!==null&&h.queue.push(S)},enqueueReplaceState:function(h,S){h=h._reactInternals,h.replace=!0,h.queue=[S]},enqueueForceUpdate:function(){}};function vi(h,S,R,P){var q=h.state!==void 0?h.state:null;h.updater=sa,h.props=R,h.state=q;var Q={queue:[],replace:!1};h._reactInternals=Q;var le=S.contextType;if(h.context=typeof le=="object"&&le!==null?le._currentValue:P,le=S.getDerivedStateFromProps,typeof le=="function"&&(le=le(R,q),q=le==null?q:Dr({},q,le),h.state=q),typeof S.getDerivedStateFromProps!="function"&&typeof h.getSnapshotBeforeUpdate!="function"&&(typeof h.UNSAFE_componentWillMount=="function"||typeof h.componentWillMount=="function"))if(S=h.state,typeof h.componentWillMount=="function"&&h.componentWillMount(),typeof h.UNSAFE_componentWillMount=="function"&&h.UNSAFE_componentWillMount(),S!==h.state&&sa.enqueueReplaceState(h,h.state,null),Q.queue!==null&&0<Q.queue.length)if(S=Q.queue,le=Q.replace,Q.queue=null,Q.replace=!1,le&&S.length===1)h.state=S[0];else{for(Q=le?S[0]:h.state,q=!0,le=le?1:0;le<S.length;le++){var Se=S[le];Se=typeof Se=="function"?Se.call(h,Q,R,P):Se,Se!=null&&(q?(q=!1,Q=Dr({},Q,Se)):Dr(Q,Se))}h.state=Q}else Q.queue=null}var ji={id:1,overflow:""};function Nr(h,S,R){var P=h.id;h=h.overflow;var q=32-La(P)-1;P&=~(1<<q),R+=1;var Q=32-La(S)+q;if(30<Q){var le=q-q%5;return Q=(P&(1<<le)-1).toString(32),P>>=le,q-=le,{id:1<<32-La(S)+q|R<<q|P,overflow:Q+h}}return{id:1<<Q|R<<q|P,overflow:h}}var La=Math.clz32?Math.clz32:Zo,Fl=Math.log,Pl=Math.LN2;function Zo(h){return h>>>=0,h===0?32:31-(Fl(h)/Pl|0)|0}function Yo(h,S){return h===S&&(h!==0||1/h===1/S)||h!==h&&S!==S}var Ko=typeof Object.is=="function"?Object.is:Yo,ri=null,Ba=null,fo=null,Kt=null,Lt=!1,xt=!1,zi=0,bi=null,po=0;function yi(){if(ri===null)throw Error(e(321));return ri}function _r(){if(0<po)throw Error(e(312));return{memoizedState:null,queue:null,next:null}}function Jo(){return Kt===null?fo===null?(Lt=!1,fo=Kt=_r()):(Lt=!0,Kt=fo):Kt.next===null?(Lt=!1,Kt=Kt.next=_r()):(Lt=!0,Kt=Kt.next),Kt}function ho(){Ba=ri=null,xt=!1,fo=null,po=0,Kt=bi=null}function Us(h,S){return typeof S=="function"?S(h):S}function En(h,S,R){if(ri=yi(),Kt=Jo(),Lt){var P=Kt.queue;if(S=P.dispatch,bi!==null&&(R=bi.get(P),R!==void 0)){bi.delete(P),P=Kt.memoizedState;do P=h(P,R.action),R=R.next;while(R!==null);return Kt.memoizedState=P,[P,S]}return[Kt.memoizedState,S]}return h=h===Us?typeof S=="function"?S():S:R!==void 0?R(S):S,Kt.memoizedState=h,h=Kt.queue={last:null,dispatch:null},h=h.dispatch=Ui.bind(null,ri,h),[Kt.memoizedState,h]}function go(h,S){if(ri=yi(),Kt=Jo(),S=S===void 0?null:S,Kt!==null){var R=Kt.memoizedState;if(R!==null&&S!==null){var P=R[1];e:if(P===null)P=!1;else{for(var q=0;q<P.length&&q<S.length;q++)if(!Ko(S[q],P[q])){P=!1;break e}P=!0}if(P)return R[0]}}return h=h(),Kt.memoizedState=[h,S],h}function Ui(h,S,R){if(25<=po)throw Error(e(301));if(h===ri)if(xt=!0,h={action:R,next:null},bi===null&&(bi=new Map),R=bi.get(S),R===void 0)bi.set(S,h);else{for(S=R;S.next!==null;)S=S.next;S.next=h}}function Vs(){throw Error(e(394))}function la(){}var Vn={readContext:function(h){return h._currentValue},useContext:function(h){return yi(),h._currentValue},useMemo:go,useReducer:En,useRef:function(h){ri=yi(),Kt=Jo();var S=Kt.memoizedState;return S===null?(h={current:h},Kt.memoizedState=h):S},useState:function(h){return En(Us,h)},useInsertionEffect:la,useLayoutEffect:function(){},useCallback:function(h,S){return go(function(){return h},S)},useImperativeHandle:la,useEffect:la,useDebugValue:la,useDeferredValue:function(h){return yi(),h},useTransition:function(){return yi(),[!1,Vs]},useId:function(){var h=Ba.treeContext,S=h.overflow;h=h.id,h=(h&~(1<<32-La(h)-1)).toString(32)+S;var R=Na;if(R===null)throw Error(e(404));return S=zi++,h=":"+R.idPrefix+"R"+h,0<S&&(h+="H"+S.toString(32)),h+":"},useMutableSource:function(h,S){return yi(),S(h._source)},useSyncExternalStore:function(h,S,R){if(R===void 0)throw Error(e(407));return R()}},Na=null,ua=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function Ws(h){return console.error(h),null}function ca(){}function mo(h,S,R,P,q,Q,le,Se,$e){var ht=[],at=new Set;return S={destination:null,responseState:S,progressiveChunkSize:P===void 0?12800:P,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:at,pingedTasks:ht,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:q===void 0?Ws:q,onAllReady:Q===void 0?ca:Q,onShellReady:le===void 0?ca:le,onShellError:Se===void 0?ca:Se,onFatalError:$e===void 0?ca:$e},R=Cn(S,0,null,R,!1,!1),R.parentFlushed=!0,h=vo(S,h,null,R,at,Ve,null,ji),ht.push(h),S}function vo(h,S,R,P,q,Q,le,Se){h.allPendingTasks++,R===null?h.pendingRootTasks++:R.pendingTasks++;var $e={node:S,ping:function(){var ht=h.pingedTasks;ht.push($e),ht.length===1&&Zs(h)},blockedBoundary:R,blockedSegment:P,abortSet:q,legacyContext:Q,context:le,treeContext:Se};return q.add($e),$e}function Cn(h,S,R,P,q,Q){return{status:0,id:-1,index:S,parentFlushed:!1,chunks:[],children:[],formatContext:P,boundary:R,lastPushedText:q,textEmbedded:Q}}function da(h,S){if(h=h.onError(S),h!=null&&typeof h!="string")throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof h+'" instead');return h}function Wn(h,S){var R=h.onShellError;R(S),R=h.onFatalError,R(S),h.destination!==null?(h.status=2,B(h.destination,S)):(h.status=1,h.fatalError=S)}function Hs(h,S,R,P,q){for(ri={},Ba=S,zi=0,h=R(P,q);xt;)xt=!1,zi=0,po+=1,Kt=null,h=R(P,q);return ho(),h}function bo(h,S,R,P){var q=R.render(),Q=P.childContextTypes;if(Q!=null){var le=S.legacyContext;if(typeof R.getChildContext!="function")P=le;else{R=R.getChildContext();for(var Se in R)if(!(Se in Q))throw Error(e(108,we(P)||"Unknown",Se));P=Dr({},le,R)}S.legacyContext=P,Hn(h,S,q),S.legacyContext=le}else Hn(h,S,q)}function ii(h,S){if(h&&h.defaultProps){S=Dr({},S),h=h.defaultProps;for(var R in h)S[R]===void 0&&(S[R]=h[R]);return S}return S}function Vi(h,S,R,P,q){if(typeof R=="function")if(R.prototype&&R.prototype.isReactComponent){q=Qe(R,S.legacyContext);var Q=R.contextType;Q=new R(P,typeof Q=="object"&&Q!==null?Q._currentValue:q),vi(Q,R,P,q),bo(h,S,Q,R)}else{Q=Qe(R,S.legacyContext),q=Hs(h,S,R,P,Q);var le=zi!==0;if(typeof q=="object"&&q!==null&&typeof q.render=="function"&&q.$$typeof===void 0)vi(q,R,P,Q),bo(h,S,q,R);else if(le){P=S.treeContext,S.treeContext=Nr(P,1,0);try{Hn(h,S,q)}finally{S.treeContext=P}}else Hn(h,S,q)}else if(typeof R=="string"){switch(q=S.blockedSegment,Q=fr(q.chunks,R,P,h.responseState,q.formatContext),q.lastPushedText=!1,le=q.formatContext,q.formatContext=ce(le,R,P),Er(h,S,Q),q.formatContext=le,R){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:q.chunks.push(gi,w(R),Un)}q.lastPushedText=!1}else{switch(R){case X:case F:case aa:case oa:case mi:Hn(h,S,P.children);return;case ni:Hn(h,S,P.children);return;case A:throw Error(e(343));case Ni:e:{R=S.blockedBoundary,q=S.blockedSegment,Q=P.fallback,P=P.children,le=new Set;var Se={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:le,errorDigest:null},$e=Cn(h,q.chunks.length,Se,q.formatContext,!1,!1);q.children.push($e),q.lastPushedText=!1;var ht=Cn(h,0,null,q.formatContext,!1,!1);ht.parentFlushed=!0,S.blockedBoundary=Se,S.blockedSegment=ht;try{if(Er(h,S,P),ht.lastPushedText&&ht.textEmbedded&&ht.chunks.push(Ae),ht.status=1,fa(Se,ht),Se.pendingTasks===0)break e}catch(at){ht.status=4,Se.forceClientRender=!0,Se.errorDigest=da(h,at)}finally{S.blockedBoundary=R,S.blockedSegment=q}S=vo(h,Q,R,$e,le,S.legacyContext,S.context,S.treeContext),h.pingedTasks.push(S)}return}if(typeof R=="object"&&R!==null)switch(R.$$typeof){case Da:if(P=Hs(h,S,R.render,P,q),zi!==0){R=S.treeContext,S.treeContext=Nr(R,1,0);try{Hn(h,S,P)}finally{S.treeContext=R}}else Hn(h,S,P);return;case p:R=R.type,P=ii(R,P),Vi(h,S,R,P,q);return;case Bi:if(q=P.children,R=R._context,P=P.value,Q=R._currentValue,R._currentValue=P,le=Je,Je=P={parent:le,depth:le===null?0:le.depth+1,context:R,parentValue:Q,value:P},S.context=P,Hn(h,S,q),h=Je,h===null)throw Error(e(403));P=h.parentValue,h.context._currentValue=P===K?h.context._defaultValue:P,h=Je=h.parent,S.context=h;return;case Lr:P=P.children,P=P(R._currentValue),Hn(h,S,P);return;case k:q=R._init,R=q(R._payload),P=ii(R,P),Vi(h,S,R,P,void 0);return}throw Error(e(130,R==null?R:typeof R,""))}}function Hn(h,S,R){if(S.node=R,typeof R=="object"&&R!==null){switch(R.$$typeof){case Jn:Vi(h,S,R.type,R.props,R.ref);return;case ti:throw Error(e(257));case k:var P=R._init;R=P(R._payload),Hn(h,S,R);return}if(Mt(R)){qt(h,S,R);return}if(R===null||typeof R!="object"?P=null:(P=ie&&R[ie]||R["@@iterator"],P=typeof P=="function"?P:null),P&&(P=P.call(R))){if(R=P.next(),!R.done){var q=[];do q.push(R.value),R=P.next();while(!R.done);qt(h,S,q)}return}throw h=Object.prototype.toString.call(R),Error(e(31,h==="[object Object]"?"object with keys {"+Object.keys(R).join(", ")+"}":h))}typeof R=="string"?(P=S.blockedSegment,P.lastPushedText=Ze(S.blockedSegment.chunks,R,h.responseState,P.lastPushedText)):typeof R=="number"&&(P=S.blockedSegment,P.lastPushedText=Ze(S.blockedSegment.chunks,""+R,h.responseState,P.lastPushedText))}function qt(h,S,R){for(var P=R.length,q=0;q<P;q++){var Q=S.treeContext;S.treeContext=Nr(Q,P,q);try{Er(h,S,R[q])}finally{S.treeContext=Q}}}function Er(h,S,R){var P=S.blockedSegment.formatContext,q=S.legacyContext,Q=S.context;try{return Hn(h,S,R)}catch($e){if(ho(),typeof $e=="object"&&$e!==null&&typeof $e.then=="function"){R=$e;var le=S.blockedSegment,Se=Cn(h,le.chunks.length,null,le.formatContext,le.lastPushedText,!0);le.children.push(Se),le.lastPushedText=!1,h=vo(h,S.node,S.blockedBoundary,Se,S.abortSet,S.legacyContext,S.context,S.treeContext).ping,R.then(h,h),S.blockedSegment.formatContext=P,S.legacyContext=q,S.context=Q,mr(Q)}else throw S.blockedSegment.formatContext=P,S.legacyContext=q,S.context=Q,mr(Q),$e}}function Qo(h){var S=h.blockedBoundary;h=h.blockedSegment,h.status=3,Gs(this,S,h)}function $s(h,S,R){var P=h.blockedBoundary;h.blockedSegment.status=3,P===null?(S.allPendingTasks--,S.status!==2&&(S.status=2,S.destination!==null&&S.destination.close())):(P.pendingTasks--,P.forceClientRender||(P.forceClientRender=!0,h=R===void 0?Error(e(432)):R,P.errorDigest=S.onError(h),P.parentFlushed&&S.clientRenderedBoundaries.push(P)),P.fallbackAbortableTasks.forEach(function(q){return $s(q,S,R)}),P.fallbackAbortableTasks.clear(),S.allPendingTasks--,S.allPendingTasks===0&&(P=S.onAllReady,P()))}function fa(h,S){if(S.chunks.length===0&&S.children.length===1&&S.children[0].boundary===null){var R=S.children[0];R.id=S.id,R.parentFlushed=!0,R.status===1&&fa(h,R)}else h.completedSegments.push(S)}function Gs(h,S,R){if(S===null){if(R.parentFlushed){if(h.completedRootSegment!==null)throw Error(e(389));h.completedRootSegment=R}h.pendingRootTasks--,h.pendingRootTasks===0&&(h.onShellError=ca,S=h.onShellReady,S())}else S.pendingTasks--,S.forceClientRender||(S.pendingTasks===0?(R.parentFlushed&&R.status===1&&fa(S,R),S.parentFlushed&&h.completedBoundaries.push(S),S.fallbackAbortableTasks.forEach(Qo,h),S.fallbackAbortableTasks.clear()):R.parentFlushed&&R.status===1&&(fa(S,R),S.completedSegments.length===1&&S.parentFlushed&&h.partialBoundaries.push(S)));h.allPendingTasks--,h.allPendingTasks===0&&(h=h.onAllReady,h())}function Zs(h){if(h.status!==2){var S=Je,R=ua.current;ua.current=Vn;var P=Na;Na=h.responseState;try{var q=h.pingedTasks,Q;for(Q=0;Q<q.length;Q++){var le=q[Q],Se=h,$e=le.blockedSegment;if($e.status===0){mr(le.context);try{Hn(Se,le,le.node),$e.lastPushedText&&$e.textEmbedded&&$e.chunks.push(Ae),le.abortSet.delete(le),$e.status=1,Gs(Se,le.blockedBoundary,$e)}catch(Tr){if(ho(),typeof Tr=="object"&&Tr!==null&&typeof Tr.then=="function"){var ht=le.ping;Tr.then(ht,ht)}else{le.abortSet.delete(le),$e.status=4;var at=le.blockedBoundary,Jt=Tr,Qn=da(Se,Jt);if(at===null?Wn(Se,Jt):(at.pendingTasks--,at.forceClientRender||(at.forceClientRender=!0,at.errorDigest=Qn,at.parentFlushed&&Se.clientRenderedBoundaries.push(at))),Se.allPendingTasks--,Se.allPendingTasks===0){var Cr=Se.onAllReady;Cr()}}}finally{}}}q.splice(0,Q),h.destination!==null&&wo(h,h.destination)}catch(Tr){da(h,Tr),Wn(h,Tr)}finally{Na=P,ua.current=R,R===Vn&&mr(S)}}}function yo(h,S,R){switch(R.parentFlushed=!0,R.status){case 0:var P=R.id=h.nextSegmentId++;return R.lastPushedText=!1,R.textEmbedded=!1,h=h.responseState,o(S,Zt),o(S,h.placeholderPrefix),h=w(P.toString(16)),o(S,h),d(S,Ar);case 1:R.status=2;var q=!0;P=R.chunks;var Q=0;R=R.children;for(var le=0;le<R.length;le++){for(q=R[le];Q<q.index;Q++)o(S,P[Q]);q=ja(h,S,q)}for(;Q<P.length-1;Q++)o(S,P[Q]);return Q<P.length&&(q=d(S,P[Q])),q;default:throw Error(e(390))}}function ja(h,S,R){var P=R.boundary;if(P===null)return yo(h,S,R);if(P.parentFlushed=!0,P.forceClientRender)P=P.errorDigest,d(S,Mr),o(S,Kr),P&&(o(S,Jr),o(S,w(Te(P))),o(S,pr)),d(S,ia),yo(h,S,R);else if(0<P.pendingTasks){P.rootSegmentID=h.nextSegmentId++,0<P.completedSegments.length&&h.partialBoundaries.push(P);var q=h.responseState,Q=q.nextSuspenseID++;q=E(q.boundaryPrefix+Q.toString(16)),P=P.id=q,kn(S,h.responseState,P),yo(h,S,R)}else if(P.byteSize>h.progressiveChunkSize)P.rootSegmentID=h.nextSegmentId++,h.completedBoundaries.push(P),kn(S,h.responseState,P.id),yo(h,S,R);else{if(d(S,Zr),R=P.completedSegments,R.length!==1)throw Error(e(391));ja(h,S,R[0])}return d(S,Mi)}function za(h,S,R){return vt(S,h.responseState,R.formatContext,R.id),ja(h,S,R),_t(S,R.formatContext)}function Wi(h,S,R){for(var P=R.completedSegments,q=0;q<P.length;q++)Ys(h,S,R,P[q]);if(P.length=0,h=h.responseState,P=R.id,R=R.rootSegmentID,o(S,h.startInlineScript),h.sentCompleteBoundaryFunction?o(S,on):(h.sentCompleteBoundaryFunction=!0,o(S,Ut)),P===null)throw Error(e(395));return R=w(R.toString(16)),o(S,P),o(S,In),o(S,h.segmentPrefix),o(S,R),d(S,Fr)}function Ys(h,S,R,P){if(P.status===2)return!0;var q=P.id;if(q===-1){if((P.id=R.rootSegmentID)===-1)throw Error(e(392));return za(h,S,P)}return za(h,S,P),h=h.responseState,o(S,h.startInlineScript),h.sentCompleteSegmentFunction?o(S,ft):(h.sentCompleteSegmentFunction=!0,o(S,wt)),o(S,h.segmentPrefix),q=w(q.toString(16)),o(S,q),o(S,ln),o(S,h.placeholderPrefix),o(S,q),d(S,zt)}function wo(h,S){n=new Uint8Array(512),a=0;try{var R=h.completedRootSegment;if(R!==null&&h.pendingRootTasks===0){ja(h,S,R),h.completedRootSegment=null;var P=h.responseState.bootstrapChunks;for(R=0;R<P.length-1;R++)o(S,P[R]);R<P.length&&d(S,P[R])}var q=h.clientRenderedBoundaries,Q;for(Q=0;Q<q.length;Q++){var le=q[Q];P=S;var Se=h.responseState,$e=le.id,ht=le.errorDigest,at=le.errorMessage,Jt=le.errorComponentStack;if(o(P,Se.startInlineScript),Se.sentClientRenderFunction?o(P,un):(Se.sentClientRenderFunction=!0,o(P,Xt)),$e===null)throw Error(e(395));o(P,$e),o(P,Pr),(ht||at||Jt)&&(o(P,_n),o(P,w(kr(ht||"")))),(at||Jt)&&(o(P,_n),o(P,w(kr(at||"")))),Jt&&(o(P,_n),o(P,w(kr(Jt)))),d(P,Sr)}q.splice(0,Q);var Qn=h.completedBoundaries;for(Q=0;Q<Qn.length;Q++)Wi(h,S,Qn[Q]);Qn.splice(0,Q),v(S),n=new Uint8Array(512),a=0;var Cr=h.partialBoundaries;for(Q=0;Q<Cr.length;Q++){var Tr=Cr[Q];e:{q=h,le=S;var xo=Tr.completedSegments;for(Se=0;Se<xo.length;Se++)if(!Ys(q,le,Tr,xo[Se])){Se++,xo.splice(0,Se);var Ks=!1;break e}xo.splice(0,Se),Ks=!0}if(!Ks){h.destination=null,Q++,Cr.splice(0,Q);return}}Cr.splice(0,Q);var qo=h.completedBoundaries;for(Q=0;Q<qo.length;Q++)Wi(h,S,qo[Q]);qo.splice(0,Q)}finally{v(S),h.allPendingTasks===0&&h.pingedTasks.length===0&&h.clientRenderedBoundaries.length===0&&h.completedBoundaries.length===0&&S.close()}}function Xo(h,S){try{var R=h.abortableTasks;R.forEach(function(P){return $s(P,h,S)}),R.clear(),h.destination!==null&&wo(h,h.destination)}catch(P){da(h,P),Wn(h,P)}}return xd.renderToReadableStream=function(h,S){return new Promise(function(R,P){var q,Q,le=new Promise(function(at,Jt){Q=at,q=Jt}),Se=mo(h,ze(S?S.identifierPrefix:void 0,S?S.nonce:void 0,S?S.bootstrapScriptContent:void 0,S?S.bootstrapScripts:void 0,S?S.bootstrapModules:void 0),oe(S?S.namespaceURI:void 0),S?S.progressiveChunkSize:void 0,S?S.onError:void 0,Q,function(){var at=new ReadableStream({type:"bytes",pull:function(Jt){if(Se.status===1)Se.status=2,B(Jt,Se.fatalError);else if(Se.status!==2&&Se.destination===null){Se.destination=Jt;try{wo(Se,Jt)}catch(Qn){da(Se,Qn),Wn(Se,Qn)}}},cancel:function(){Xo(Se)}},{highWaterMark:0});at.allReady=le,R(at)},function(at){le.catch(function(){}),P(at)},q);if(S&&S.signal){var $e=S.signal,ht=function(){Xo(Se,$e.reason),$e.removeEventListener("abort",ht)};$e.addEventListener("abort",ht)}Zs(Se)})},xd.version="18.2.0",xd}var Ol={};/**
91
+ */var Bh;function u0(){if(Bh)return Cd;Bh=1;var r=Pe;function e(h){for(var S="https://reactjs.org/docs/error-decoder.html?invariant="+h,R=1;R<arguments.length;R++)S+="&args[]="+encodeURIComponent(arguments[R]);return"Minified React error #"+h+"; visit "+S+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var n=null,a=0;function o(h,S){if(S.length!==0)if(512<S.length)0<a&&(h.enqueue(new Uint8Array(n.buffer,0,a)),n=new Uint8Array(512),a=0),h.enqueue(S);else{var R=n.length-a;R<S.length&&(R===0?h.enqueue(n):(n.set(S.subarray(0,R),a),h.enqueue(n),S=S.subarray(R)),n=new Uint8Array(512),a=0),n.set(S,a),a+=S.length}}function c(h,S){return o(h,S),!0}function g(h){n&&0<a&&(h.enqueue(new Uint8Array(n.buffer,0,a)),n=null,a=0)}var y=new TextEncoder;function w(h){return y.encode(h)}function E(h){return y.encode(h)}function L(h,S){typeof h.error=="function"?h.error(S):h.close()}var P=Object.prototype.hasOwnProperty,W=/^[: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]*$/,se={},ae={};function ke(h){return P.call(ae,h)?!0:P.call(se,h)?!1:W.test(h)?ae[h]=!0:(se[h]=!0,!1)}function G(h,S,R,D,q,Q,ce){this.acceptsBooleans=S===2||S===3||S===4,this.attributeName=D,this.attributeNamespace=q,this.mustUseProperty=R,this.propertyName=h,this.type=S,this.sanitizeURL=Q,this.removeEmptyString=ce}var Z={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(h){Z[h]=new G(h,0,!1,h,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(h){var S=h[0];Z[S]=new G(S,1,!1,h[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(h){Z[h]=new G(h,2,!1,h.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(h){Z[h]=new G(h,2,!1,h,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(h){Z[h]=new G(h,3,!1,h.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(h){Z[h]=new G(h,3,!0,h,null,!1,!1)}),["capture","download"].forEach(function(h){Z[h]=new G(h,4,!1,h,null,!1,!1)}),["cols","rows","size","span"].forEach(function(h){Z[h]=new G(h,6,!1,h,null,!1,!1)}),["rowSpan","start"].forEach(function(h){Z[h]=new G(h,5,!1,h.toLowerCase(),null,!1,!1)});var be=/[\-:]([a-z])/g;function fe(h){return h[1].toUpperCase()}"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(h){var S=h.replace(be,fe);Z[S]=new G(S,1,!1,h,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(h){var S=h.replace(be,fe);Z[S]=new G(S,1,!1,h,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(h){var S=h.replace(be,fe);Z[S]=new G(S,1,!1,h,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(h){Z[h]=new G(h,1,!1,h.toLowerCase(),null,!1,!1)}),Z.xlinkHref=new G("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(h){Z[h]=new G(h,1,!1,h.toLowerCase(),null,!0,!0)});var de={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},ee=["Webkit","ms","Moz","O"];Object.keys(de).forEach(function(h){ee.forEach(function(S){S=S+h.charAt(0).toUpperCase()+h.substring(1),de[S]=de[h]})});var Te=/["'&<>]/;function Ie(h){if(typeof h=="boolean"||typeof h=="number")return""+h;h=""+h;var S=Te.exec(h);if(S){var R="",D,q=0;for(D=S.index;D<h.length;D++){switch(h.charCodeAt(D)){case 34:S="&quot;";break;case 38:S="&amp;";break;case 39:S="&#x27;";break;case 60:S="&lt;";break;case 62:S="&gt;";break;default:continue}q!==D&&(R+=h.substring(q,D)),q=D+1,R+=S}h=q!==D?R+h.substring(q,D):R}return h}var Lt=/([A-Z])/g,it=/^ms-/,Pt=Array.isArray,Vt=E("<script>"),ge=E("<\/script>"),we=E('<script src="'),_e=E('<script type="module" src="'),Ye=E('" async=""><\/script>'),Ze=/(<\/|<)(s)(cript)/gi;function Ne(h,S,R,D){return""+S+(R==="s"?"\\u0073":"\\u0053")+D}function De(h,S,R,D,q){h=h===void 0?"":h,S=S===void 0?Vt:E('<script nonce="'+Ie(S)+'">');var Q=[];if(R!==void 0&&Q.push(S,w((""+R).replace(Ze,Ne)),ge),D!==void 0)for(R=0;R<D.length;R++)Q.push(we,w(Ie(D[R])),Ye);if(q!==void 0)for(D=0;D<q.length;D++)Q.push(_e,w(Ie(q[D])),Ye);return{bootstrapChunks:Q,startInlineScript:S,placeholderPrefix:E(h+"P:"),segmentPrefix:E(h+"S:"),boundaryPrefix:h+"B:",idPrefix:h,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}function We(h,S){return{insertionMode:h,selectedValue:S}}function le(h){return We(h==="http://www.w3.org/2000/svg"?2:h==="http://www.w3.org/1998/Math/MathML"?3:0,null)}function ue(h,S,R){switch(S){case"select":return We(1,R.value!=null?R.value:R.defaultValue);case"svg":return We(2,null);case"math":return We(3,null);case"foreignObject":return We(1,null);case"table":return We(4,null);case"thead":case"tbody":case"tfoot":return We(5,null);case"colgroup":return We(7,null);case"tr":return We(6,null)}return 4<=h.insertionMode||h.insertionMode===0?We(1,null):h}var Me=E("<!-- -->");function He(h,S,R,D){return S===""?D:(D&&h.push(Me),h.push(w(Ie(S))),!0)}var ze=new Map,Ae=E(' style="'),Oe=E(":"),Ke=E(";");function Qe(h,S,R){if(typeof R!="object")throw Error(e(62));S=!0;for(var D in R)if(P.call(R,D)){var q=R[D];if(q!=null&&typeof q!="boolean"&&q!==""){if(D.indexOf("--")===0){var Q=w(Ie(D));q=w(Ie((""+q).trim()))}else{Q=D;var ce=ze.get(Q);ce!==void 0||(ce=E(Ie(Q.replace(Lt,"-$1").toLowerCase().replace(it,"-ms-"))),ze.set(Q,ce)),Q=ce,q=typeof q=="number"?q===0||P.call(de,D)?w(""+q):w(q+"px"):w(Ie((""+q).trim()))}S?(S=!1,h.push(Ae,Q,Oe,q)):h.push(Ke,Q,Oe,q)}}S||h.push(yt)}var Xe=E(" "),tt=E('="'),yt=E('"'),Ee=E('=""');function Ct(h,S,R,D){switch(R){case"style":Qe(h,S,D);return;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(2<R.length)||R[0]!=="o"&&R[0]!=="O"||R[1]!=="n"&&R[1]!=="N"){if(S=Z.hasOwnProperty(R)?Z[R]:null,S!==null){switch(typeof D){case"function":case"symbol":return;case"boolean":if(!S.acceptsBooleans)return}switch(R=w(S.attributeName),S.type){case 3:D&&h.push(Xe,R,Ee);break;case 4:D===!0?h.push(Xe,R,Ee):D!==!1&&h.push(Xe,R,tt,w(Ie(D)),yt);break;case 5:isNaN(D)||h.push(Xe,R,tt,w(Ie(D)),yt);break;case 6:!isNaN(D)&&1<=D&&h.push(Xe,R,tt,w(Ie(D)),yt);break;default:S.sanitizeURL&&(D=""+D),h.push(Xe,R,tt,w(Ie(D)),yt)}}else if(ke(R)){switch(typeof D){case"function":case"symbol":return;case"boolean":if(S=R.toLowerCase().slice(0,5),S!=="data-"&&S!=="aria-")return}h.push(Xe,w(R),tt,w(Ie(D)),yt)}}}var At=E(">"),qt=E("/>");function Vn(h,S,R){if(S!=null){if(R!=null)throw Error(e(60));if(typeof S!="object"||!("__html"in S))throw Error(e(61));S=S.__html,S!=null&&h.push(w(""+S))}}function kn(h){var S="";return r.Children.forEach(h,function(R){R!=null&&(S+=R)}),S}var _n=E(' selected=""');function fr(h,S,R,D){h.push(hn(R));var q=R=null,Q;for(Q in S)if(P.call(S,Q)){var ce=S[Q];if(ce!=null)switch(Q){case"children":R=ce;break;case"dangerouslySetInnerHTML":q=ce;break;default:Ct(h,D,Q,ce)}}return h.push(At),Vn(h,q,R),typeof R=="string"?(h.push(w(Ie(R))),null):R}var rr=E(`
92
+ `),Dn=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,xn=new Map;function hn(h){var S=xn.get(h);if(S===void 0){if(!Dn.test(h))throw Error(e(65,h));S=E("<"+h),xn.set(h,S)}return S}var gn=E("<!DOCTYPE html>");function pr(h,S,R,D,q){switch(S){case"select":h.push(hn("select"));var Q=null,ce=null;for(ot in R)if(P.call(R,ot)){var Se=R[ot];if(Se!=null)switch(ot){case"children":Q=Se;break;case"dangerouslySetInnerHTML":ce=Se;break;case"defaultValue":case"value":break;default:Ct(h,D,ot,Se)}}return h.push(At),Vn(h,ce,Q),Q;case"option":ce=q.selectedValue,h.push(hn("option"));var $e=Se=null,ht=null,ot=null;for(Q in R)if(P.call(R,Q)){var Xt=R[Q];if(Xt!=null)switch(Q){case"children":Se=Xt;break;case"selected":ht=Xt;break;case"dangerouslySetInnerHTML":ot=Xt;break;case"value":$e=Xt;default:Ct(h,D,Q,Xt)}}if(ce!=null)if(R=$e!==null?""+$e:kn(Se),Pt(ce)){for(D=0;D<ce.length;D++)if(""+ce[D]===R){h.push(_n);break}}else""+ce===R&&h.push(_n);else ht&&h.push(_n);return h.push(At),Vn(h,ot,Se),Se;case"textarea":h.push(hn("textarea")),ot=ce=Q=null;for(Se in R)if(P.call(R,Se)&&($e=R[Se],$e!=null))switch(Se){case"children":ot=$e;break;case"value":Q=$e;break;case"defaultValue":ce=$e;break;case"dangerouslySetInnerHTML":throw Error(e(91));default:Ct(h,D,Se,$e)}if(Q===null&&ce!==null&&(Q=ce),h.push(At),ot!=null){if(Q!=null)throw Error(e(92));if(Pt(ot)&&1<ot.length)throw Error(e(93));Q=""+ot}return typeof Q=="string"&&Q[0]===`
93
+ `&&h.push(rr),Q!==null&&h.push(w(Ie(""+Q))),null;case"input":h.push(hn("input")),$e=ot=Se=Q=null;for(ce in R)if(P.call(R,ce)&&(ht=R[ce],ht!=null))switch(ce){case"children":case"dangerouslySetInnerHTML":throw Error(e(399,"input"));case"defaultChecked":$e=ht;break;case"defaultValue":Se=ht;break;case"checked":ot=ht;break;case"value":Q=ht;break;default:Ct(h,D,ce,ht)}return ot!==null?Ct(h,D,"checked",ot):$e!==null&&Ct(h,D,"checked",$e),Q!==null?Ct(h,D,"value",Q):Se!==null&&Ct(h,D,"value",Se),h.push(qt),null;case"menuitem":h.push(hn("menuitem"));for(var qn in R)if(P.call(R,qn)&&(Q=R[qn],Q!=null))switch(qn){case"children":case"dangerouslySetInnerHTML":throw Error(e(400));default:Ct(h,D,qn,Q)}return h.push(At),null;case"title":h.push(hn("title")),Q=null;for(Xt in R)if(P.call(R,Xt)&&(ce=R[Xt],ce!=null))switch(Xt){case"children":Q=ce;break;case"dangerouslySetInnerHTML":throw Error(e(434));default:Ct(h,D,Xt,ce)}return h.push(At),Q;case"listing":case"pre":h.push(hn(S)),ce=Q=null;for($e in R)if(P.call(R,$e)&&(Se=R[$e],Se!=null))switch($e){case"children":Q=Se;break;case"dangerouslySetInnerHTML":ce=Se;break;default:Ct(h,D,$e,Se)}if(h.push(At),ce!=null){if(Q!=null)throw Error(e(60));if(typeof ce!="object"||!("__html"in ce))throw Error(e(61));R=ce.__html,R!=null&&(typeof R=="string"&&0<R.length&&R[0]===`
94
+ `?h.push(rr,w(R)):h.push(w(""+R)))}return typeof Q=="string"&&Q[0]===`
95
+ `&&h.push(rr),Q;case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":h.push(hn(S));for(var Ir in R)if(P.call(R,Ir)&&(Q=R[Ir],Q!=null))switch(Ir){case"children":case"dangerouslySetInnerHTML":throw Error(e(399,S));default:Ct(h,D,Ir,Q)}return h.push(qt),null;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 fr(h,R,S,D);case"html":return q.insertionMode===0&&h.push(gn),fr(h,R,S,D);default:if(S.indexOf("-")===-1&&typeof R.is!="string")return fr(h,R,S,D);h.push(hn(S)),ce=Q=null;for(ht in R)if(P.call(R,ht)&&(Se=R[ht],Se!=null))switch(ht){case"children":Q=Se;break;case"dangerouslySetInnerHTML":ce=Se;break;case"style":Qe(h,D,Se);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:ke(ht)&&typeof Se!="function"&&typeof Se!="symbol"&&h.push(Xe,w(ht),tt,w(Ie(Se)),yt)}return h.push(At),Vn(h,ce,Q),Q}}var yi=E("</"),Wn=E(">"),Kt=E('<template id="'),Pr=E('"></template>'),Jr=E("<!--$-->"),Fr=E('<!--$?--><template id="'),Qr=E('"></template>'),Dr=E("<!--$!-->"),Bi=E("<!--/$-->"),Xr=E("<template"),hr=E('"'),qr=E(' data-dgst="');E(' data-msg="'),E(' data-stck="');var la=E("></template>");function En(h,S,R){if(o(h,Fr),R===null)throw Error(e(395));return o(h,R),c(h,Qr)}var ir=E('<div hidden id="'),Ln=E('">'),Ot=E("</div>"),gr=E('<svg aria-hidden="true" style="display:none" id="'),ei=E('">'),ti=E("</svg>"),ar=E('<math aria-hidden="true" style="display:none" id="'),ni=E('">'),mr=E("</math>"),an=E('<table hidden id="'),Ni=E('">'),ri=E("</table>"),ji=E('<table hidden><tbody id="'),on=E('">'),zi=E("</tbody></table>"),Ba=E('<table hidden><tr id="'),Na=E('">'),U=E("</tr></table>"),ve=E('<table hidden><colgroup id="'),Re=E('">'),nt=E("</colgroup></table>");function mt(h,S,R,D){switch(R.insertionMode){case 0:case 1:return o(h,ir),o(h,S.segmentPrefix),o(h,w(D.toString(16))),c(h,Ln);case 2:return o(h,gr),o(h,S.segmentPrefix),o(h,w(D.toString(16))),c(h,ei);case 3:return o(h,ar),o(h,S.segmentPrefix),o(h,w(D.toString(16))),c(h,ni);case 4:return o(h,an),o(h,S.segmentPrefix),o(h,w(D.toString(16))),c(h,Ni);case 5:return o(h,ji),o(h,S.segmentPrefix),o(h,w(D.toString(16))),c(h,on);case 6:return o(h,Ba),o(h,S.segmentPrefix),o(h,w(D.toString(16))),c(h,Na);case 7:return o(h,ve),o(h,S.segmentPrefix),o(h,w(D.toString(16))),c(h,Re);default:throw Error(e(397))}}function kt(h,S){switch(S.insertionMode){case 0:case 1:return c(h,Ot);case 2:return c(h,ti);case 3:return c(h,mr);case 4:return c(h,ri);case 5:return c(h,zi);case 6:return c(h,U);case 7:return c(h,nt);default:throw Error(e(397))}}var wt=E('function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("'),pt=E('$RS("'),cn=E('","'),zt=E('")<\/script>'),Ut=E('function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("'),ln=E('$RC("'),On=E('","'),Lr=E('")<\/script>'),en=E('function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};$RX("'),dn=E('$RX("'),Br=E('"'),Er=E(")<\/script>"),Cn=E(","),Ui=/[<\u2028\u2029]/g;function Cr(h){return JSON.stringify(h).replace(Ui,function(S){switch(S){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}var Nr=Object.assign,Xn=Symbol.for("react.element"),ii=Symbol.for("react.portal"),wi=Symbol.for("react.fragment"),ua=Symbol.for("react.strict_mode"),ca=Symbol.for("react.profiler"),Vi=Symbol.for("react.provider"),jr=Symbol.for("react.context"),ja=Symbol.for("react.forward_ref"),Wi=Symbol.for("react.suspense"),ai=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),k=Symbol.for("react.lazy"),A=Symbol.for("react.scope"),F=Symbol.for("react.debug_trace_mode"),X=Symbol.for("react.legacy_hidden"),K=Symbol.for("react.default_value"),ie=Symbol.iterator;function xe(h){if(h==null)return null;if(typeof h=="function")return h.displayName||h.name||null;if(typeof h=="string")return h;switch(h){case wi:return"Fragment";case ii:return"Portal";case ca:return"Profiler";case ua:return"StrictMode";case Wi:return"Suspense";case ai:return"SuspenseList"}if(typeof h=="object")switch(h.$$typeof){case jr:return(h.displayName||"Context")+".Consumer";case Vi:return(h._context.displayName||"Context")+".Provider";case ja:var S=h.render;return h=h.displayName,h||(h=S.displayName||S.name||"",h=h!==""?"ForwardRef("+h+")":"ForwardRef"),h;case p:return S=h.displayName||null,S!==null?S:xe(h.type)||"Memo";case k:S=h._payload,h=h._init;try{return xe(h(S))}catch{}}return null}var Ue={};function qe(h,S){if(h=h.contextTypes,!h)return Ue;var R={},D;for(D in h)R[D]=S[D];return R}var Je=null;function Ft(h,S){if(h!==S){h.context._currentValue=h.parentValue,h=h.parent;var R=S.parent;if(h===null){if(R!==null)throw Error(e(401))}else{if(R===null)throw Error(e(401));Ft(h,R)}S.context._currentValue=S.value}}function or(h){h.context._currentValue=h.parentValue,h=h.parent,h!==null&&or(h)}function Bn(h){var S=h.parent;S!==null&&Bn(S),h.context._currentValue=h.value}function Nn(h,S){if(h.context._currentValue=h.parentValue,h=h.parent,h===null)throw Error(e(402));h.depth===S.depth?Ft(h,S):Nn(h,S)}function zr(h,S){var R=S.parent;if(R===null)throw Error(e(402));h.depth===R.depth?Ft(h,R):zr(h,R),S.context._currentValue=S.value}function vr(h){var S=Je;S!==h&&(S===null?Bn(h):h===null?or(S):S.depth===h.depth?Ft(S,h):S.depth>h.depth?Nn(S,h):zr(S,h),Je=h)}var da={isMounted:function(){return!1},enqueueSetState:function(h,S){h=h._reactInternals,h.queue!==null&&h.queue.push(S)},enqueueReplaceState:function(h,S){h=h._reactInternals,h.replace=!0,h.queue=[S]},enqueueForceUpdate:function(){}};function xi(h,S,R,D){var q=h.state!==void 0?h.state:null;h.updater=da,h.props=R,h.state=q;var Q={queue:[],replace:!1};h._reactInternals=Q;var ce=S.contextType;if(h.context=typeof ce=="object"&&ce!==null?ce._currentValue:D,ce=S.getDerivedStateFromProps,typeof ce=="function"&&(ce=ce(R,q),q=ce==null?q:Nr({},q,ce),h.state=q),typeof S.getDerivedStateFromProps!="function"&&typeof h.getSnapshotBeforeUpdate!="function"&&(typeof h.UNSAFE_componentWillMount=="function"||typeof h.componentWillMount=="function"))if(S=h.state,typeof h.componentWillMount=="function"&&h.componentWillMount(),typeof h.UNSAFE_componentWillMount=="function"&&h.UNSAFE_componentWillMount(),S!==h.state&&da.enqueueReplaceState(h,h.state,null),Q.queue!==null&&0<Q.queue.length)if(S=Q.queue,ce=Q.replace,Q.queue=null,Q.replace=!1,ce&&S.length===1)h.state=S[0];else{for(Q=ce?S[0]:h.state,q=!0,ce=ce?1:0;ce<S.length;ce++){var Se=S[ce];Se=typeof Se=="function"?Se.call(h,Q,R,D):Se,Se!=null&&(q?(q=!1,Q=Nr({},Q,Se)):Nr(Q,Se))}h.state=Q}else Q.queue=null}var Hi={id:1,overflow:""};function Ur(h,S,R){var D=h.id;h=h.overflow;var q=32-za(D)-1;D&=~(1<<q),R+=1;var Q=32-za(S)+q;if(30<Q){var ce=q-q%5;return Q=(D&(1<<ce)-1).toString(32),D>>=ce,q-=ce,{id:1<<32-za(S)+q|R<<q|D,overflow:Q+h}}return{id:1<<Q|R<<q|D,overflow:h}}var za=Math.clz32?Math.clz32:Ko,Fl=Math.log,Dl=Math.LN2;function Ko(h){return h>>>=0,h===0?32:31-(Fl(h)/Dl|0)|0}function Jo(h,S){return h===S&&(h!==0||1/h===1/S)||h!==h&&S!==S}var Qo=typeof Object.is=="function"?Object.is:Jo,oi=null,Ua=null,go=null,Qt=null,Bt=!1,xt=!1,$i=0,Si=null,mo=0;function ki(){if(oi===null)throw Error(e(321));return oi}function Tr(){if(0<mo)throw Error(e(312));return{memoizedState:null,queue:null,next:null}}function Xo(){return Qt===null?go===null?(Bt=!1,go=Qt=Tr()):(Bt=!0,Qt=go):Qt.next===null?(Bt=!1,Qt=Qt.next=Tr()):(Bt=!0,Qt=Qt.next),Qt}function vo(){Ua=oi=null,xt=!1,go=null,mo=0,Qt=Si=null}function Vs(h,S){return typeof S=="function"?S(h):S}function Tn(h,S,R){if(oi=ki(),Qt=Xo(),Bt){var D=Qt.queue;if(S=D.dispatch,Si!==null&&(R=Si.get(D),R!==void 0)){Si.delete(D),D=Qt.memoizedState;do D=h(D,R.action),R=R.next;while(R!==null);return Qt.memoizedState=D,[D,S]}return[Qt.memoizedState,S]}return h=h===Vs?typeof S=="function"?S():S:R!==void 0?R(S):S,Qt.memoizedState=h,h=Qt.queue={last:null,dispatch:null},h=h.dispatch=Gi.bind(null,oi,h),[Qt.memoizedState,h]}function bo(h,S){if(oi=ki(),Qt=Xo(),S=S===void 0?null:S,Qt!==null){var R=Qt.memoizedState;if(R!==null&&S!==null){var D=R[1];e:if(D===null)D=!1;else{for(var q=0;q<D.length&&q<S.length;q++)if(!Qo(S[q],D[q])){D=!1;break e}D=!0}if(D)return R[0]}}return h=h(),Qt.memoizedState=[h,S],h}function Gi(h,S,R){if(25<=mo)throw Error(e(301));if(h===oi)if(xt=!0,h={action:R,next:null},Si===null&&(Si=new Map),R=Si.get(S),R===void 0)Si.set(S,h);else{for(S=R;S.next!==null;)S=S.next;S.next=h}}function Ws(){throw Error(e(394))}function fa(){}var Hn={readContext:function(h){return h._currentValue},useContext:function(h){return ki(),h._currentValue},useMemo:bo,useReducer:Tn,useRef:function(h){oi=ki(),Qt=Xo();var S=Qt.memoizedState;return S===null?(h={current:h},Qt.memoizedState=h):S},useState:function(h){return Tn(Vs,h)},useInsertionEffect:fa,useLayoutEffect:function(){},useCallback:function(h,S){return bo(function(){return h},S)},useImperativeHandle:fa,useEffect:fa,useDebugValue:fa,useDeferredValue:function(h){return ki(),h},useTransition:function(){return ki(),[!1,Ws]},useId:function(){var h=Ua.treeContext,S=h.overflow;h=h.id,h=(h&~(1<<32-za(h)-1)).toString(32)+S;var R=Va;if(R===null)throw Error(e(404));return S=$i++,h=":"+R.idPrefix+"R"+h,0<S&&(h+="H"+S.toString(32)),h+":"},useMutableSource:function(h,S){return ki(),S(h._source)},useSyncExternalStore:function(h,S,R){if(R===void 0)throw Error(e(407));return R()}},Va=null,pa=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function Hs(h){return console.error(h),null}function ha(){}function yo(h,S,R,D,q,Q,ce,Se,$e){var ht=[],ot=new Set;return S={destination:null,responseState:S,progressiveChunkSize:D===void 0?12800:D,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:ot,pingedTasks:ht,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:q===void 0?Hs:q,onAllReady:Q===void 0?ha:Q,onShellReady:ce===void 0?ha:ce,onShellError:Se===void 0?ha:Se,onFatalError:$e===void 0?ha:$e},R=Rn(S,0,null,R,!1,!1),R.parentFlushed=!0,h=wo(S,h,null,R,ot,Ue,null,Hi),ht.push(h),S}function wo(h,S,R,D,q,Q,ce,Se){h.allPendingTasks++,R===null?h.pendingRootTasks++:R.pendingTasks++;var $e={node:S,ping:function(){var ht=h.pingedTasks;ht.push($e),ht.length===1&&Ys(h)},blockedBoundary:R,blockedSegment:D,abortSet:q,legacyContext:Q,context:ce,treeContext:Se};return q.add($e),$e}function Rn(h,S,R,D,q,Q){return{status:0,id:-1,index:S,parentFlushed:!1,chunks:[],children:[],formatContext:D,boundary:R,lastPushedText:q,textEmbedded:Q}}function ga(h,S){if(h=h.onError(S),h!=null&&typeof h!="string")throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof h+'" instead');return h}function $n(h,S){var R=h.onShellError;R(S),R=h.onFatalError,R(S),h.destination!==null?(h.status=2,L(h.destination,S)):(h.status=1,h.fatalError=S)}function $s(h,S,R,D,q){for(oi={},Ua=S,$i=0,h=R(D,q);xt;)xt=!1,$i=0,mo+=1,Qt=null,h=R(D,q);return vo(),h}function xo(h,S,R,D){var q=R.render(),Q=D.childContextTypes;if(Q!=null){var ce=S.legacyContext;if(typeof R.getChildContext!="function")D=ce;else{R=R.getChildContext();for(var Se in R)if(!(Se in Q))throw Error(e(108,xe(D)||"Unknown",Se));D=Nr({},ce,R)}S.legacyContext=D,Gn(h,S,q),S.legacyContext=ce}else Gn(h,S,q)}function si(h,S){if(h&&h.defaultProps){S=Nr({},S),h=h.defaultProps;for(var R in h)S[R]===void 0&&(S[R]=h[R]);return S}return S}function Zi(h,S,R,D,q){if(typeof R=="function")if(R.prototype&&R.prototype.isReactComponent){q=qe(R,S.legacyContext);var Q=R.contextType;Q=new R(D,typeof Q=="object"&&Q!==null?Q._currentValue:q),xi(Q,R,D,q),xo(h,S,Q,R)}else{Q=qe(R,S.legacyContext),q=$s(h,S,R,D,Q);var ce=$i!==0;if(typeof q=="object"&&q!==null&&typeof q.render=="function"&&q.$$typeof===void 0)xi(q,R,D,Q),xo(h,S,q,R);else if(ce){D=S.treeContext,S.treeContext=Ur(D,1,0);try{Gn(h,S,q)}finally{S.treeContext=D}}else Gn(h,S,q)}else if(typeof R=="string"){switch(q=S.blockedSegment,Q=pr(q.chunks,R,D,h.responseState,q.formatContext),q.lastPushedText=!1,ce=q.formatContext,q.formatContext=ue(ce,R,D),Rr(h,S,Q),q.formatContext=ce,R){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:q.chunks.push(yi,w(R),Wn)}q.lastPushedText=!1}else{switch(R){case X:case F:case ua:case ca:case wi:Gn(h,S,D.children);return;case ai:Gn(h,S,D.children);return;case A:throw Error(e(343));case Wi:e:{R=S.blockedBoundary,q=S.blockedSegment,Q=D.fallback,D=D.children,ce=new Set;var Se={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:ce,errorDigest:null},$e=Rn(h,q.chunks.length,Se,q.formatContext,!1,!1);q.children.push($e),q.lastPushedText=!1;var ht=Rn(h,0,null,q.formatContext,!1,!1);ht.parentFlushed=!0,S.blockedBoundary=Se,S.blockedSegment=ht;try{if(Rr(h,S,D),ht.lastPushedText&&ht.textEmbedded&&ht.chunks.push(Me),ht.status=1,ma(Se,ht),Se.pendingTasks===0)break e}catch(ot){ht.status=4,Se.forceClientRender=!0,Se.errorDigest=ga(h,ot)}finally{S.blockedBoundary=R,S.blockedSegment=q}S=wo(h,Q,R,$e,ce,S.legacyContext,S.context,S.treeContext),h.pingedTasks.push(S)}return}if(typeof R=="object"&&R!==null)switch(R.$$typeof){case ja:if(D=$s(h,S,R.render,D,q),$i!==0){R=S.treeContext,S.treeContext=Ur(R,1,0);try{Gn(h,S,D)}finally{S.treeContext=R}}else Gn(h,S,D);return;case p:R=R.type,D=si(R,D),Zi(h,S,R,D,q);return;case Vi:if(q=D.children,R=R._context,D=D.value,Q=R._currentValue,R._currentValue=D,ce=Je,Je=D={parent:ce,depth:ce===null?0:ce.depth+1,context:R,parentValue:Q,value:D},S.context=D,Gn(h,S,q),h=Je,h===null)throw Error(e(403));D=h.parentValue,h.context._currentValue=D===K?h.context._defaultValue:D,h=Je=h.parent,S.context=h;return;case jr:D=D.children,D=D(R._currentValue),Gn(h,S,D);return;case k:q=R._init,R=q(R._payload),D=si(R,D),Zi(h,S,R,D,void 0);return}throw Error(e(130,R==null?R:typeof R,""))}}function Gn(h,S,R){if(S.node=R,typeof R=="object"&&R!==null){switch(R.$$typeof){case Xn:Zi(h,S,R.type,R.props,R.ref);return;case ii:throw Error(e(257));case k:var D=R._init;R=D(R._payload),Gn(h,S,R);return}if(Pt(R)){tn(h,S,R);return}if(R===null||typeof R!="object"?D=null:(D=ie&&R[ie]||R["@@iterator"],D=typeof D=="function"?D:null),D&&(D=D.call(R))){if(R=D.next(),!R.done){var q=[];do q.push(R.value),R=D.next();while(!R.done);tn(h,S,q)}return}throw h=Object.prototype.toString.call(R),Error(e(31,h==="[object Object]"?"object with keys {"+Object.keys(R).join(", ")+"}":h))}typeof R=="string"?(D=S.blockedSegment,D.lastPushedText=He(S.blockedSegment.chunks,R,h.responseState,D.lastPushedText)):typeof R=="number"&&(D=S.blockedSegment,D.lastPushedText=He(S.blockedSegment.chunks,""+R,h.responseState,D.lastPushedText))}function tn(h,S,R){for(var D=R.length,q=0;q<D;q++){var Q=S.treeContext;S.treeContext=Ur(Q,D,q);try{Rr(h,S,R[q])}finally{S.treeContext=Q}}}function Rr(h,S,R){var D=S.blockedSegment.formatContext,q=S.legacyContext,Q=S.context;try{return Gn(h,S,R)}catch($e){if(vo(),typeof $e=="object"&&$e!==null&&typeof $e.then=="function"){R=$e;var ce=S.blockedSegment,Se=Rn(h,ce.chunks.length,null,ce.formatContext,ce.lastPushedText,!0);ce.children.push(Se),ce.lastPushedText=!1,h=wo(h,S.node,S.blockedBoundary,Se,S.abortSet,S.legacyContext,S.context,S.treeContext).ping,R.then(h,h),S.blockedSegment.formatContext=D,S.legacyContext=q,S.context=Q,vr(Q)}else throw S.blockedSegment.formatContext=D,S.legacyContext=q,S.context=Q,vr(Q),$e}}function qo(h){var S=h.blockedBoundary;h=h.blockedSegment,h.status=3,Zs(this,S,h)}function Gs(h,S,R){var D=h.blockedBoundary;h.blockedSegment.status=3,D===null?(S.allPendingTasks--,S.status!==2&&(S.status=2,S.destination!==null&&S.destination.close())):(D.pendingTasks--,D.forceClientRender||(D.forceClientRender=!0,h=R===void 0?Error(e(432)):R,D.errorDigest=S.onError(h),D.parentFlushed&&S.clientRenderedBoundaries.push(D)),D.fallbackAbortableTasks.forEach(function(q){return Gs(q,S,R)}),D.fallbackAbortableTasks.clear(),S.allPendingTasks--,S.allPendingTasks===0&&(D=S.onAllReady,D()))}function ma(h,S){if(S.chunks.length===0&&S.children.length===1&&S.children[0].boundary===null){var R=S.children[0];R.id=S.id,R.parentFlushed=!0,R.status===1&&ma(h,R)}else h.completedSegments.push(S)}function Zs(h,S,R){if(S===null){if(R.parentFlushed){if(h.completedRootSegment!==null)throw Error(e(389));h.completedRootSegment=R}h.pendingRootTasks--,h.pendingRootTasks===0&&(h.onShellError=ha,S=h.onShellReady,S())}else S.pendingTasks--,S.forceClientRender||(S.pendingTasks===0?(R.parentFlushed&&R.status===1&&ma(S,R),S.parentFlushed&&h.completedBoundaries.push(S),S.fallbackAbortableTasks.forEach(qo,h),S.fallbackAbortableTasks.clear()):R.parentFlushed&&R.status===1&&(ma(S,R),S.completedSegments.length===1&&S.parentFlushed&&h.partialBoundaries.push(S)));h.allPendingTasks--,h.allPendingTasks===0&&(h=h.onAllReady,h())}function Ys(h){if(h.status!==2){var S=Je,R=pa.current;pa.current=Hn;var D=Va;Va=h.responseState;try{var q=h.pingedTasks,Q;for(Q=0;Q<q.length;Q++){var ce=q[Q],Se=h,$e=ce.blockedSegment;if($e.status===0){vr(ce.context);try{Gn(Se,ce,ce.node),$e.lastPushedText&&$e.textEmbedded&&$e.chunks.push(Me),ce.abortSet.delete(ce),$e.status=1,Zs(Se,ce.blockedBoundary,$e)}catch(Ar){if(vo(),typeof Ar=="object"&&Ar!==null&&typeof Ar.then=="function"){var ht=ce.ping;Ar.then(ht,ht)}else{ce.abortSet.delete(ce),$e.status=4;var ot=ce.blockedBoundary,Xt=Ar,qn=ga(Se,Xt);if(ot===null?$n(Se,Xt):(ot.pendingTasks--,ot.forceClientRender||(ot.forceClientRender=!0,ot.errorDigest=qn,ot.parentFlushed&&Se.clientRenderedBoundaries.push(ot))),Se.allPendingTasks--,Se.allPendingTasks===0){var Ir=Se.onAllReady;Ir()}}}finally{}}}q.splice(0,Q),h.destination!==null&&ko(h,h.destination)}catch(Ar){ga(h,Ar),$n(h,Ar)}finally{Va=D,pa.current=R,R===Hn&&vr(S)}}}function So(h,S,R){switch(R.parentFlushed=!0,R.status){case 0:var D=R.id=h.nextSegmentId++;return R.lastPushedText=!1,R.textEmbedded=!1,h=h.responseState,o(S,Kt),o(S,h.placeholderPrefix),h=w(D.toString(16)),o(S,h),c(S,Pr);case 1:R.status=2;var q=!0;D=R.chunks;var Q=0;R=R.children;for(var ce=0;ce<R.length;ce++){for(q=R[ce];Q<q.index;Q++)o(S,D[Q]);q=Wa(h,S,q)}for(;Q<D.length-1;Q++)o(S,D[Q]);return Q<D.length&&(q=c(S,D[Q])),q;default:throw Error(e(390))}}function Wa(h,S,R){var D=R.boundary;if(D===null)return So(h,S,R);if(D.parentFlushed=!0,D.forceClientRender)D=D.errorDigest,c(S,Dr),o(S,Xr),D&&(o(S,qr),o(S,w(Ie(D))),o(S,hr)),c(S,la),So(h,S,R);else if(0<D.pendingTasks){D.rootSegmentID=h.nextSegmentId++,0<D.completedSegments.length&&h.partialBoundaries.push(D);var q=h.responseState,Q=q.nextSuspenseID++;q=E(q.boundaryPrefix+Q.toString(16)),D=D.id=q,En(S,h.responseState,D),So(h,S,R)}else if(D.byteSize>h.progressiveChunkSize)D.rootSegmentID=h.nextSegmentId++,h.completedBoundaries.push(D),En(S,h.responseState,D.id),So(h,S,R);else{if(c(S,Jr),R=D.completedSegments,R.length!==1)throw Error(e(391));Wa(h,S,R[0])}return c(S,Bi)}function Ha(h,S,R){return mt(S,h.responseState,R.formatContext,R.id),Wa(h,S,R),kt(S,R.formatContext)}function Yi(h,S,R){for(var D=R.completedSegments,q=0;q<D.length;q++)Ks(h,S,R,D[q]);if(D.length=0,h=h.responseState,D=R.id,R=R.rootSegmentID,o(S,h.startInlineScript),h.sentCompleteBoundaryFunction?o(S,ln):(h.sentCompleteBoundaryFunction=!0,o(S,Ut)),D===null)throw Error(e(395));return R=w(R.toString(16)),o(S,D),o(S,On),o(S,h.segmentPrefix),o(S,R),c(S,Lr)}function Ks(h,S,R,D){if(D.status===2)return!0;var q=D.id;if(q===-1){if((D.id=R.rootSegmentID)===-1)throw Error(e(392));return Ha(h,S,D)}return Ha(h,S,D),h=h.responseState,o(S,h.startInlineScript),h.sentCompleteSegmentFunction?o(S,pt):(h.sentCompleteSegmentFunction=!0,o(S,wt)),o(S,h.segmentPrefix),q=w(q.toString(16)),o(S,q),o(S,cn),o(S,h.placeholderPrefix),o(S,q),c(S,zt)}function ko(h,S){n=new Uint8Array(512),a=0;try{var R=h.completedRootSegment;if(R!==null&&h.pendingRootTasks===0){Wa(h,S,R),h.completedRootSegment=null;var D=h.responseState.bootstrapChunks;for(R=0;R<D.length-1;R++)o(S,D[R]);R<D.length&&c(S,D[R])}var q=h.clientRenderedBoundaries,Q;for(Q=0;Q<q.length;Q++){var ce=q[Q];D=S;var Se=h.responseState,$e=ce.id,ht=ce.errorDigest,ot=ce.errorMessage,Xt=ce.errorComponentStack;if(o(D,Se.startInlineScript),Se.sentClientRenderFunction?o(D,dn):(Se.sentClientRenderFunction=!0,o(D,en)),$e===null)throw Error(e(395));o(D,$e),o(D,Br),(ht||ot||Xt)&&(o(D,Cn),o(D,w(Cr(ht||"")))),(ot||Xt)&&(o(D,Cn),o(D,w(Cr(ot||"")))),Xt&&(o(D,Cn),o(D,w(Cr(Xt)))),c(D,Er)}q.splice(0,Q);var qn=h.completedBoundaries;for(Q=0;Q<qn.length;Q++)Yi(h,S,qn[Q]);qn.splice(0,Q),g(S),n=new Uint8Array(512),a=0;var Ir=h.partialBoundaries;for(Q=0;Q<Ir.length;Q++){var Ar=Ir[Q];e:{q=h,ce=S;var _o=Ar.completedSegments;for(Se=0;Se<_o.length;Se++)if(!Ks(q,ce,Ar,_o[Se])){Se++,_o.splice(0,Se);var Js=!1;break e}_o.splice(0,Se),Js=!0}if(!Js){h.destination=null,Q++,Ir.splice(0,Q);return}}Ir.splice(0,Q);var ts=h.completedBoundaries;for(Q=0;Q<ts.length;Q++)Yi(h,S,ts[Q]);ts.splice(0,Q)}finally{g(S),h.allPendingTasks===0&&h.pingedTasks.length===0&&h.clientRenderedBoundaries.length===0&&h.completedBoundaries.length===0&&S.close()}}function es(h,S){try{var R=h.abortableTasks;R.forEach(function(D){return Gs(D,h,S)}),R.clear(),h.destination!==null&&ko(h,h.destination)}catch(D){ga(h,D),$n(h,D)}}return Cd.renderToReadableStream=function(h,S){return new Promise(function(R,D){var q,Q,ce=new Promise(function(ot,Xt){Q=ot,q=Xt}),Se=yo(h,De(S?S.identifierPrefix:void 0,S?S.nonce:void 0,S?S.bootstrapScriptContent:void 0,S?S.bootstrapScripts:void 0,S?S.bootstrapModules:void 0),le(S?S.namespaceURI:void 0),S?S.progressiveChunkSize:void 0,S?S.onError:void 0,Q,function(){var ot=new ReadableStream({type:"bytes",pull:function(Xt){if(Se.status===1)Se.status=2,L(Xt,Se.fatalError);else if(Se.status!==2&&Se.destination===null){Se.destination=Xt;try{ko(Se,Xt)}catch(qn){ga(Se,qn),$n(Se,qn)}}},cancel:function(){es(Se)}},{highWaterMark:0});ot.allReady=ce,R(ot)},function(ot){ce.catch(function(){}),D(ot)},q);if(S&&S.signal){var $e=S.signal,ht=function(){es(Se,$e.reason),$e.removeEventListener("abort",ht)};$e.addEventListener("abort",ht)}Ys(Se)})},Cd.version="18.2.0",Cd}var Ml={};/**
96
96
  * @license React
97
97
  * react-dom-server-legacy.browser.development.js
98
98
  *
@@ -100,38 +100,38 @@ Check the top-level render call using <`+Ce+">.")}return ge}}function gr(U,ge){{
100
100
  *
101
101
  * This source code is licensed under the MIT license found in the
102
102
  * LICENSE file in the root directory of this source tree.
103
- */var _h;function By(){return _h||(_h=1,process.env.NODE_ENV!=="production"&&function(){var r=Me,e="18.2.0",n=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function a(s){{for(var c=arguments.length,g=new Array(c>1?c-1:0),y=1;y<c;y++)g[y-1]=arguments[y];d("warn",s,g)}}function o(s){{for(var c=arguments.length,g=new Array(c>1?c-1:0),y=1;y<c;y++)g[y-1]=arguments[y];d("error",s,g)}}function d(s,c,g){{var y=n.ReactDebugCurrentFrame,T=y.getStackAddendum();T!==""&&(c+="%s",g=g.concat([T]));var L=g.map(function(W){return String(W)});L.unshift("Warning: "+c),Function.prototype.apply.call(console[s],console,L)}}function v(s){s()}function x(s){}function w(s,c){E(s,c)}function E(s,c){return s.push(c)}function B(s){}function D(s){s.push(null)}function V(s){return s}function he(s){return s}function ae(s,c){s.destroy(c)}function ye(s){{var c=typeof Symbol=="function"&&Symbol.toStringTag,g=c&&s[Symbol.toStringTag]||s.constructor.name||"Object";return g}}function Z(s){try{return G(s),!1}catch{return!0}}function G(s){return""+s}function ue(s,c){if(Z(s))return o("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",c,ye(s)),G(s)}function be(s,c){if(Z(s))return o("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",c,ye(s)),G(s)}function ke(s){if(Z(s))return o("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",ye(s)),G(s)}var re=Object.prototype.hasOwnProperty,Ie=0,Te=1,Dt=2,dt=3,Mt=4,ve=5,xe=6,Re=":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",Be=Re+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",Ye=new RegExp("^["+Re+"]["+Be+"]*$"),He={},je={};function ze(s){return re.call(je,s)?!0:re.call(He,s)?!1:Ye.test(s)?(je[s]=!0,!0):(He[s]=!0,o("Invalid attribute name: `%s`",s),!1)}function pt(s,c,g,y){if(g!==null&&g.type===Ie)return!1;switch(typeof c){case"function":case"symbol":return!0;case"boolean":{if(y)return!1;if(g!==null)return!g.acceptsBooleans;var T=s.toLowerCase().slice(0,5);return T!=="data-"&&T!=="aria-"}default:return!1}}function oe(s){return Ae.hasOwnProperty(s)?Ae[s]:null}function ce(s,c,g,y,T,L,W){this.acceptsBooleans=c===Dt||c===dt||c===Mt,this.attributeName=y,this.attributeNamespace=T,this.mustUseProperty=g,this.propertyName=s,this.type=c,this.sanitizeURL=L,this.removeEmptyString=W}var Ae={},Ze=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];Ze.forEach(function(s){Ae[s]=new ce(s,Ie,!1,s,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(s){var c=s[0],g=s[1];Ae[c]=new ce(c,Te,!1,g,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(s){Ae[s]=new ce(s,Dt,!1,s.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(s){Ae[s]=new ce(s,Dt,!1,s,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"].forEach(function(s){Ae[s]=new ce(s,dt,!1,s.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(s){Ae[s]=new ce(s,dt,!0,s,null,!1,!1)}),["capture","download"].forEach(function(s){Ae[s]=new ce(s,Mt,!1,s,null,!1,!1)}),["cols","rows","size","span"].forEach(function(s){Ae[s]=new ce(s,xe,!1,s,null,!1,!1)}),["rowSpan","start"].forEach(function(s){Ae[s]=new ce(s,ve,!1,s.toLowerCase(),null,!1,!1)});var Pe=/[\-\:]([a-z])/g,Fe=function(s){return s[1].toUpperCase()};["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"].forEach(function(s){var c=s.replace(Pe,Fe);Ae[c]=new ce(c,Te,!1,s,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(s){var c=s.replace(Pe,Fe);Ae[c]=new ce(c,Te,!1,s,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(s){var c=s.replace(Pe,Fe);Ae[c]=new ce(c,Te,!1,s,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(s){Ae[s]=new ce(s,Te,!1,s.toLowerCase(),null,!1,!1)});var Oe="xlinkHref";Ae[Oe]=new ce("xlinkHref",Te,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(s){Ae[s]=new ce(s,Te,!1,s.toLowerCase(),null,!0,!0)});var qe={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0};function et(s,c){return s+c.charAt(0).toUpperCase()+c.substring(1)}var Ke=["Webkit","ms","Moz","O"];Object.keys(qe).forEach(function(s){Ke.forEach(function(c){qe[et(c,s)]=qe[s]})});var nt={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function kt(s,c){nt[c.type]||c.onChange||c.onInput||c.readOnly||c.disabled||c.value==null||o("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),c.onChange||c.readOnly||c.disabled||c.checked==null||o("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function _e(s,c){if(s.indexOf("-")===-1)return typeof c.is=="string";switch(s){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var It={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},mt={},fn=new RegExp("^(aria)-["+Be+"]*$"),jn=new RegExp("^(aria)[A-Z]["+Be+"]*$");function Sn(s,c){{if(re.call(mt,c)&&mt[c])return!0;if(jn.test(c)){var g="aria-"+c.slice(4).toLowerCase(),y=It.hasOwnProperty(g)?g:null;if(y==null)return o("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",c),mt[c]=!0,!0;if(c!==y)return o("Invalid ARIA attribute `%s`. Did you mean `%s`?",c,y),mt[c]=!0,!0}if(fn.test(c)){var T=c.toLowerCase(),L=It.hasOwnProperty(T)?T:null;if(L==null)return mt[c]=!0,!1;if(c!==L)return o("Unknown ARIA attribute `%s`. Did you mean `%s`?",c,L),mt[c]=!0,!0}}return!0}function zn(s,c){{var g=[];for(var y in c){var T=Sn(s,y);T||g.push(y)}var L=g.map(function(W){return"`"+W+"`"}).join(", ");g.length===1?o("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",L,s):g.length>1&&o("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",L,s)}}function dr(s,c){_e(s,c)||zn(s,c)}var nr=!1;function Mn(s,c){{if(s!=="input"&&s!=="textarea"&&s!=="select")return;c!=null&&c.value===null&&!nr&&(nr=!0,s==="select"&&c.multiple?o("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",s):o("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",s))}}var yn={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},pn=function(){};{var hn={},fr=/^on./,gi=/^on[^A-Z]/,Un=new RegExp("^(aria)-["+Be+"]*$"),Zt=new RegExp("^(aria)[A-Z]["+Be+"]*$");pn=function(s,c,g,y){if(re.call(hn,c)&&hn[c])return!0;var T=c.toLowerCase();if(T==="onfocusin"||T==="onfocusout")return o("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),hn[c]=!0,!0;if(y!=null){var L=y.registrationNameDependencies,W=y.possibleRegistrationNames;if(L.hasOwnProperty(c))return!0;var ee=W.hasOwnProperty(T)?W[T]:null;if(ee!=null)return o("Invalid event handler property `%s`. Did you mean `%s`?",c,ee),hn[c]=!0,!0;if(fr.test(c))return o("Unknown event handler property `%s`. It will be ignored.",c),hn[c]=!0,!0}else if(fr.test(c))return gi.test(c)&&o("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",c),hn[c]=!0,!0;if(Un.test(c)||Zt.test(c))return!0;if(T==="innerhtml")return o("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),hn[c]=!0,!0;if(T==="aria")return o("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),hn[c]=!0,!0;if(T==="is"&&g!==null&&g!==void 0&&typeof g!="string")return o("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof g),hn[c]=!0,!0;if(typeof g=="number"&&isNaN(g))return o("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",c),hn[c]=!0,!0;var pe=oe(c),De=pe!==null&&pe.type===Ie;if(yn.hasOwnProperty(T)){var Ge=yn[T];if(Ge!==c)return o("Invalid DOM property `%s`. Did you mean `%s`?",c,Ge),hn[c]=!0,!0}else if(!De&&c!==T)return o("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",c,T),hn[c]=!0,!0;return typeof g=="boolean"&&pt(c,g,pe,!1)?(g?o('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',g,c,c,g,c):o('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',g,c,c,g,c,c,c),hn[c]=!0,!0):De?!0:pt(c,g,pe,!1)?(hn[c]=!0,!1):((g==="false"||g==="true")&&pe!==null&&pe.type===dt&&(o("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",g,c,g==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',c,g),hn[c]=!0),!0)}}var Ar=function(s,c,g){{var y=[];for(var T in c){var L=pn(s,T,c[T],g);L||y.push(T)}var W=y.map(function(ee){return"`"+ee+"`"}).join(", ");y.length===1?o("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",W,s):y.length>1&&o("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",W,s)}};function Zr(s,c,g){_e(s,c)||Ar(s,c,g)}var Or=function(){};{var Yr=/^(?:webkit|moz|o)[A-Z]/,Mr=/^-ms-/,Mi=/-(.)/g,Kr=/;\s*$/,pr={},Jr={},ia=!1,kn=!1,rr=function(s){return s.replace(Mi,function(c,g){return g.toUpperCase()})},Fn=function(s){pr.hasOwnProperty(s)&&pr[s]||(pr[s]=!0,o("Unsupported style property %s. Did you mean %s?",s,rr(s.replace(Mr,"ms-"))))},At=function(s){pr.hasOwnProperty(s)&&pr[s]||(pr[s]=!0,o("Unsupported vendor-prefixed style property %s. Did you mean %s?",s,s.charAt(0).toUpperCase()+s.slice(1)))},hr=function(s,c){Jr.hasOwnProperty(c)&&Jr[c]||(Jr[c]=!0,o(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,s,c.replace(Kr,"")))},Qr=function(s,c){ia||(ia=!0,o("`NaN` is an invalid value for the `%s` css style property.",s))},Xr=function(s,c){kn||(kn=!0,o("`Infinity` is an invalid value for the `%s` css style property.",s))};Or=function(s,c){s.indexOf("-")>-1?Fn(s):Yr.test(s)?At(s):Kr.test(c)&&hr(s,c),typeof c=="number"&&(isNaN(c)?Qr(s,c):isFinite(c)||Xr(s,c))}}var ir=Or,qr=/["'&<>]/;function gr(s){ke(s);var c=""+s,g=qr.exec(c);if(!g)return c;var y,T="",L,W=0;for(L=g.index;L<c.length;L++){switch(c.charCodeAt(L)){case 34:y="&quot;";break;case 38:y="&amp;";break;case 39:y="&#x27;";break;case 60:y="&lt;";break;case 62:y="&gt;";break;default:continue}W!==L&&(T+=c.substring(W,L)),W=L+1,T+=y}return W!==L?T+c.substring(W,L):T}function nn(s){return typeof s=="boolean"||typeof s=="number"?""+s:gr(s)}var Fi=/([A-Z])/g,ei=/^ms-/;function Pi(s){return s.replace(Fi,"-$1").toLowerCase().replace(ei,"-ms-")}var rn=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*\:/i,Di=!1;function Fa(s){!Di&&rn.test(s)&&(Di=!0,o("A future version of React will block javascript: URLs as a security precaution. Use event handlers instead if you can. If you need to generate unsafe HTML try using dangerouslySetInnerHTML instead. React was passed %s.",JSON.stringify(s)))}var Pa=Array.isArray;function U(s){return Pa(s)}var ge="<script>",Ce="<\/script>",tt='<script src="',vt='<script type="module" src="',_t='" async=""><\/script>';function wt(s){return ke(s),(""+s).replace(ft,ln)}var ft=/(<\/|<)(s)(cript)/gi,ln=function(s,c,g,y){return""+c+(g==="s"?"\\u0073":"\\u0053")+y};function zt(s,c,g,y,T){var L=s===void 0?"":s,W=c===void 0?ge:'<script nonce="'+nn(c)+'">',ee=[];if(g!==void 0&&ee.push(W,wt(g),Ce),y!==void 0)for(var pe=0;pe<y.length;pe++)ee.push(tt,nn(y[pe]),_t);if(T!==void 0)for(var De=0;De<T.length;De++)ee.push(vt,nn(T[De]),_t);return{bootstrapChunks:ee,startInlineScript:W,placeholderPrefix:L+"P:",segmentPrefix:L+"S:",boundaryPrefix:L+"B:",idPrefix:L,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}var Ut=0,on=1,In=2,Fr=3,Xt=4,un=5,Pr=6,Sr=7;function _n(s,c){return{insertionMode:s,selectedValue:c}}function Li(s,c,g){switch(c){case"select":return _n(on,g.value!=null?g.value:g.defaultValue);case"svg":return _n(In,null);case"math":return _n(Fr,null);case"foreignObject":return _n(on,null);case"table":return _n(Xt,null);case"thead":case"tbody":case"tfoot":return _n(un,null);case"colgroup":return _n(Sr,null);case"tr":return _n(Pr,null)}return s.insertionMode>=Xt||s.insertionMode===Ut?_n(on,null):s}var kr=null;function Dr(s){var c=s.nextSuspenseID++;return s.boundaryPrefix+c.toString(16)}function Jn(s,c,g){var y=s.idPrefix,T=":"+y+"R"+c;return g>0&&(T+="H"+g.toString(32)),T+":"}function ti(s){return nn(s)}var mi="<!-- -->";function aa(s,c,g,y){return c===""?y:(y&&s.push(mi),s.push(ti(c)),!0)}function oa(s,c,g,y){g&&y&&s.push(mi)}var Bi=new Map;function Lr(s){var c=Bi.get(s);if(c!==void 0)return c;var g=nn(Pi(s));return Bi.set(s,g),g}var Da=' style="',Ni=":",ni=";";function p(s,c,g){if(typeof g!="object")throw new Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");var y=!0;for(var T in g)if(re.call(g,T)){var L=g[T];if(!(L==null||typeof L=="boolean"||L==="")){var W=void 0,ee=void 0,pe=T.indexOf("--")===0;pe?(W=nn(T),be(L,T),ee=nn((""+L).trim())):(ir(T,L),W=Lr(T),typeof L=="number"?L!==0&&!re.call(qe,T)?ee=L+"px":ee=""+L:(be(L,T),ee=nn((""+L).trim()))),y?(y=!1,s.push(Da,W,Ni,ee)):s.push(ni,W,Ni,ee)}}y||s.push(F)}var k=" ",A='="',F='"',X='=""';function K(s,c,g,y){switch(g){case"style":{p(s,c,y);return}case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(g.length>2&&(g[0]==="o"||g[0]==="O")&&(g[1]==="n"||g[1]==="N"))){var T=oe(g);if(T!==null){switch(typeof y){case"function":case"symbol":return;case"boolean":if(!T.acceptsBooleans)return}var L=T.attributeName,W=L;switch(T.type){case dt:y&&s.push(k,W,X);return;case Mt:y===!0?s.push(k,W,X):y===!1||s.push(k,W,A,nn(y),F);return;case ve:isNaN(y)||s.push(k,W,A,nn(y),F);break;case xe:!isNaN(y)&&y>=1&&s.push(k,W,A,nn(y),F);break;default:T.sanitizeURL&&(ue(y,L),y=""+y,Fa(y)),s.push(k,W,A,nn(y),F)}}else if(ze(g)){switch(typeof y){case"function":case"symbol":return;case"boolean":{var ee=g.toLowerCase().slice(0,5);if(ee!=="data-"&&ee!=="aria-")return}}s.push(k,g,A,nn(y),F)}}}var ie=">",we="/>";function Ve(s,c,g){if(c!=null){if(g!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof c!="object"||!("__html"in c))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");var y=c.__html;y!=null&&(ke(y),s.push(""+y))}}var Qe=!1,Je=!1,Ft=!1,ar=!1,Pn=!1,Dn=!1,Br=!1;function mr(s,c){{var g=s[c];if(g!=null){var y=U(g);s.multiple&&!y?o("The `%s` prop supplied to <select> must be an array if `multiple` is true.",c):!s.multiple&&y&&o("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.",c)}}}function sa(s,c,g){kt("select",c),mr(c,"value"),mr(c,"defaultValue"),c.value!==void 0&&c.defaultValue!==void 0&&!Ft&&(o("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://reactjs.org/link/controlled-components"),Ft=!0),s.push(xt("select"));var y=null,T=null;for(var L in c)if(re.call(c,L)){var W=c[L];if(W==null)continue;switch(L){case"children":y=W;break;case"dangerouslySetInnerHTML":T=W;break;case"defaultValue":case"value":break;default:K(s,g,L,W);break}}return s.push(ie),Ve(s,T,y),y}function vi(s){var c="";return r.Children.forEach(s,function(g){g!=null&&(c+=g,!Pn&&typeof g!="string"&&typeof g!="number"&&(Pn=!0,o("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}),c}var ji=' selected=""';function Nr(s,c,g,y){var T=y.selectedValue;s.push(xt("option"));var L=null,W=null,ee=null,pe=null;for(var De in c)if(re.call(c,De)){var Ge=c[De];if(Ge==null)continue;switch(De){case"children":L=Ge;break;case"selected":ee=Ge,Br||(o("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),Br=!0);break;case"dangerouslySetInnerHTML":pe=Ge;break;case"value":W=Ge;default:K(s,g,De,Ge);break}}if(T!=null){var it;if(W!==null?(ue(W,"value"),it=""+W):(pe!==null&&(Dn||(Dn=!0,o("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),it=vi(L)),U(T))for(var sn=0;sn<T.length;sn++){ue(T[sn],"value");var Bn=""+T[sn];if(Bn===it){s.push(ji);break}}else ue(T,"select.value"),""+T===it&&s.push(ji)}else ee&&s.push(ji);return s.push(ie),Ve(s,pe,L),L}function La(s,c,g){kt("input",c),c.checked!==void 0&&c.defaultChecked!==void 0&&!Je&&(o("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components","A component",c.type),Je=!0),c.value!==void 0&&c.defaultValue!==void 0&&!Qe&&(o("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components","A component",c.type),Qe=!0),s.push(xt("input"));var y=null,T=null,L=null,W=null;for(var ee in c)if(re.call(c,ee)){var pe=c[ee];if(pe==null)continue;switch(ee){case"children":case"dangerouslySetInnerHTML":throw new Error("input is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");case"defaultChecked":W=pe;break;case"defaultValue":T=pe;break;case"checked":L=pe;break;case"value":y=pe;break;default:K(s,g,ee,pe);break}}return L!==null?K(s,g,"checked",L):W!==null&&K(s,g,"checked",W),y!==null?K(s,g,"value",y):T!==null&&K(s,g,"value",T),s.push(we),null}function Fl(s,c,g){kt("textarea",c),c.value!==void 0&&c.defaultValue!==void 0&&!ar&&(o("Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://reactjs.org/link/controlled-components"),ar=!0),s.push(xt("textarea"));var y=null,T=null,L=null;for(var W in c)if(re.call(c,W)){var ee=c[W];if(ee==null)continue;switch(W){case"children":L=ee;break;case"value":y=ee;break;case"defaultValue":T=ee;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");default:K(s,g,W,ee);break}}if(y===null&&T!==null&&(y=T),s.push(ie),L!=null){if(o("Use the `defaultValue` or `value` props instead of setting children on <textarea>."),y!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(U(L)){if(L.length>1)throw new Error("<textarea> can only have at most one child.");ke(L[0]),y=""+L[0]}ke(L),y=""+L}return typeof y=="string"&&y[0]===`
104
- `&&s.push(Ba),y!==null&&(ue(y,"value"),s.push(ti(""+y))),null}function Pl(s,c,g,y){s.push(xt(g));for(var T in c)if(re.call(c,T)){var L=c[T];if(L==null)continue;switch(T){case"children":case"dangerouslySetInnerHTML":throw new Error(g+" is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:K(s,y,T,L);break}}return s.push(we),null}function Zo(s,c,g){s.push(xt("menuitem"));for(var y in c)if(re.call(c,y)){var T=c[y];if(T==null)continue;switch(y){case"children":case"dangerouslySetInnerHTML":throw new Error("menuitems cannot have `children` nor `dangerouslySetInnerHTML`.");default:K(s,g,y,T);break}}return s.push(ie),null}function Yo(s,c,g){s.push(xt("title"));var y=null;for(var T in c)if(re.call(c,T)){var L=c[T];if(L==null)continue;switch(T){case"children":y=L;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <title>.");default:K(s,g,T,L);break}}s.push(ie);{var W=Array.isArray(y)&&y.length<2?y[0]||null:y;Array.isArray(y)&&y.length>1?o("A title element received an array with more than 1 element as children. In browsers title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering"):W!=null&&W.$$typeof!=null?o("A title element received a React element for children. In the browser title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering"):W!=null&&typeof W!="string"&&typeof W!="number"&&o("A title element received a value that was not a string or number for children. In the browser title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering")}return y}function Ko(s,c,g,y){s.push(xt(g));var T=null,L=null;for(var W in c)if(re.call(c,W)){var ee=c[W];if(ee==null)continue;switch(W){case"children":T=ee;break;case"dangerouslySetInnerHTML":L=ee;break;default:K(s,y,W,ee);break}}return s.push(ie),Ve(s,L,T),typeof T=="string"?(s.push(ti(T)),null):T}function ri(s,c,g,y){s.push(xt(g));var T=null,L=null;for(var W in c)if(re.call(c,W)){var ee=c[W];if(ee==null)continue;switch(W){case"children":T=ee;break;case"dangerouslySetInnerHTML":L=ee;break;case"style":p(s,y,ee);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:ze(W)&&typeof ee!="function"&&typeof ee!="symbol"&&s.push(k,W,A,nn(ee),F);break}}return s.push(ie),Ve(s,L,T),T}var Ba=`
105
- `;function fo(s,c,g,y){s.push(xt(g));var T=null,L=null;for(var W in c)if(re.call(c,W)){var ee=c[W];if(ee==null)continue;switch(W){case"children":T=ee;break;case"dangerouslySetInnerHTML":L=ee;break;default:K(s,y,W,ee);break}}if(s.push(ie),L!=null){if(T!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof L!="object"||!("__html"in L))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");var pe=L.__html;pe!=null&&(typeof pe=="string"&&pe.length>0&&pe[0]===`
106
- `?s.push(Ba,pe):(ke(pe),s.push(""+pe)))}return typeof T=="string"&&T[0]===`
107
- `&&s.push(Ba),T}var Kt=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,Lt=new Map;function xt(s){var c=Lt.get(s);if(c===void 0){if(!Kt.test(s))throw new Error("Invalid tag: "+s);c="<"+s,Lt.set(s,c)}return c}var zi="<!DOCTYPE html>";function bi(s,c,g,y,T){switch(dr(c,g),Mn(c,g),Zr(c,g,null),!g.suppressContentEditableWarning&&g.contentEditable&&g.children!=null&&o("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional."),T.insertionMode!==In&&T.insertionMode!==Fr&&c.indexOf("-")===-1&&typeof g.is!="string"&&c.toLowerCase()!==c&&o("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",c),c){case"select":return sa(s,g,y);case"option":return Nr(s,g,y,T);case"textarea":return Fl(s,g,y);case"input":return La(s,g,y);case"menuitem":return Zo(s,g,y);case"title":return Yo(s,g,y);case"listing":case"pre":return fo(s,g,c,y);case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":return Pl(s,g,c,y);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 Ko(s,g,c,y);case"html":return T.insertionMode===Ut&&s.push(zi),Ko(s,g,c,y);default:return c.indexOf("-")===-1&&typeof g.is!="string"?Ko(s,g,c,y):ri(s,g,c,y)}}var po="</",yi=">";function _r(s,c,g){switch(c){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:s.push(po,c,yi)}}function Jo(s,c){for(var g=c.bootstrapChunks,y=0;y<g.length-1;y++)w(s,g[y]);return y<g.length?E(s,g[y]):!0}var ho='<template id="',Us='"></template>';function En(s,c,g){w(s,ho),w(s,c.placeholderPrefix);var y=g.toString(16);return w(s,y),E(s,Us)}var go="<!--$-->",Ui='<!--$?--><template id="',Vs='"></template>',la="<!--$!-->",Vn="<!--/$-->",Na="<template",ua='"',Ws=' data-dgst="',ca=' data-msg="',mo=' data-stck="',vo="></template>";function Cn(s,c){return E(s,go)}function da(s,c,g){if(w(s,Ui),g===null)throw new Error("An ID must have been assigned before we can complete the boundary.");return w(s,g),E(s,Vs)}function Wn(s,c,g,y,T){var L;return L=E(s,la),w(s,Na),g&&(w(s,Ws),w(s,nn(g)),w(s,ua)),y&&(w(s,ca),w(s,nn(y)),w(s,ua)),T&&(w(s,mo),w(s,nn(T)),w(s,ua)),L=E(s,vo),L}function Hs(s,c){return E(s,Vn)}function bo(s,c){return E(s,Vn)}function ii(s,c){return E(s,Vn)}var Vi='<div hidden id="',Hn='">',qt="</div>",Er='<svg aria-hidden="true" style="display:none" id="',Qo='">',$s="</svg>",fa='<math aria-hidden="true" style="display:none" id="',Gs='">',Zs="</math>",yo='<table hidden id="',ja='">',za="</table>",Wi='<table hidden><tbody id="',Ys='">',wo="</tbody></table>",Xo='<table hidden><tr id="',h='">',S="</tr></table>",R='<table hidden><colgroup id="',P='">',q="</colgroup></table>";function Q(s,c,g,y){switch(g.insertionMode){case Ut:case on:return w(s,Vi),w(s,c.segmentPrefix),w(s,y.toString(16)),E(s,Hn);case In:return w(s,Er),w(s,c.segmentPrefix),w(s,y.toString(16)),E(s,Qo);case Fr:return w(s,fa),w(s,c.segmentPrefix),w(s,y.toString(16)),E(s,Gs);case Xt:return w(s,yo),w(s,c.segmentPrefix),w(s,y.toString(16)),E(s,ja);case un:return w(s,Wi),w(s,c.segmentPrefix),w(s,y.toString(16)),E(s,Ys);case Pr:return w(s,Xo),w(s,c.segmentPrefix),w(s,y.toString(16)),E(s,h);case Sr:return w(s,R),w(s,c.segmentPrefix),w(s,y.toString(16)),E(s,P);default:throw new Error("Unknown insertion mode. This is a bug in React.")}}function le(s,c){switch(c.insertionMode){case Ut:case on:return E(s,qt);case In:return E(s,$s);case Fr:return E(s,Zs);case Xt:return E(s,za);case un:return E(s,wo);case Pr:return E(s,S);case Sr:return E(s,q);default:throw new Error("Unknown insertion mode. This is a bug in React.")}}var Se="function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)}",$e='function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}}',ht='function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())}',at=Se+';$RS("',Jt='$RS("',Qn='","',Cr='")<\/script>';function Tr(s,c,g){w(s,c.startInlineScript),c.sentCompleteSegmentFunction?w(s,Jt):(c.sentCompleteSegmentFunction=!0,w(s,at)),w(s,c.segmentPrefix);var y=g.toString(16);return w(s,y),w(s,Qn),w(s,c.placeholderPrefix),w(s,y),E(s,Cr)}var xo=$e+';$RC("',Ks='$RC("',qo='","',So='")<\/script>';function xc(s,c,g,y){if(w(s,c.startInlineScript),c.sentCompleteBoundaryFunction?w(s,Ks):(c.sentCompleteBoundaryFunction=!0,w(s,xo)),g===null)throw new Error("An ID must have been assigned before we can complete the boundary.");var T=y.toString(16);return w(s,g),w(s,qo),w(s,c.segmentPrefix),w(s,T),E(s,So)}var Sc=ht+';$RX("',Dl='$RX("',Iu='"',pa=")<\/script>",ko=",";function kc(s,c,g,y,T,L){if(w(s,c.startInlineScript),c.sentClientRenderFunction?w(s,Dl):(c.sentClientRenderFunction=!0,w(s,Sc)),g===null)throw new Error("An ID must have been assigned before we can complete the boundary.");return w(s,g),w(s,Iu),(y||T||L)&&(w(s,ko),w(s,Ll(y||""))),(T||L)&&(w(s,ko),w(s,Ll(T||""))),L&&(w(s,ko),w(s,Ll(L))),E(s,pa)}var _c=/[<\u2028\u2029]/g;function Ll(s){var c=JSON.stringify(s);return c.replace(_c,function(g){switch(g){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw new Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}function _o(s,c){var g=zt(c,void 0);return{bootstrapChunks:g.bootstrapChunks,startInlineScript:g.startInlineScript,placeholderPrefix:g.placeholderPrefix,segmentPrefix:g.segmentPrefix,boundaryPrefix:g.boundaryPrefix,idPrefix:g.idPrefix,nextSuspenseID:g.nextSuspenseID,sentCompleteSegmentFunction:g.sentCompleteSegmentFunction,sentCompleteBoundaryFunction:g.sentCompleteBoundaryFunction,sentClientRenderFunction:g.sentClientRenderFunction,generateStaticMarkup:s}}function Rr(){return{insertionMode:on,selectedValue:null}}function Bl(s,c,g,y){return g.generateStaticMarkup?(s.push(nn(c)),!1):aa(s,c,g,y)}function Au(s,c,g,y){if(!c.generateStaticMarkup)return oa(s,c,g,y)}function Nl(s,c){return c.generateStaticMarkup?!0:Cn(s)}function jr(s,c,g,y,T){return c.generateStaticMarkup?!0:Wn(s,c,g,y,T)}function Ec(s,c){return c.generateStaticMarkup?!0:Hs(s)}function Ou(s,c){return c.generateStaticMarkup?!0:ii(s)}var Ln=Object.assign,Y=Symbol.for("react.element"),se=Symbol.for("react.portal"),ne=Symbol.for("react.fragment"),Ne=Symbol.for("react.strict_mode"),ot=Symbol.for("react.profiler"),Pt=Symbol.for("react.provider"),gn=Symbol.for("react.context"),Vt=Symbol.for("react.forward_ref"),ha=Symbol.for("react.suspense"),jl=Symbol.for("react.suspense_list"),vr=Symbol.for("react.memo"),Ua=Symbol.for("react.lazy"),Cc=Symbol.for("react.scope"),Va=Symbol.for("react.debug_trace_mode"),Js=Symbol.for("react.legacy_hidden"),Qs=Symbol.for("react.default_value"),Ht=Symbol.iterator,Mu="@@iterator";function cn(s){if(s===null||typeof s!="object")return null;var c=Ht&&s[Ht]||s[Mu];return typeof c=="function"?c:null}function ga(s,c,g){var y=s.displayName;if(y)return y;var T=c.displayName||c.name||"";return T!==""?g+"("+T+")":g}function zl(s){return s.displayName||"Context"}function dn(s){if(s==null)return null;if(typeof s.tag=="number"&&o("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof s=="function")return s.displayName||s.name||null;if(typeof s=="string")return s;switch(s){case ne:return"Fragment";case se:return"Portal";case ot:return"Profiler";case Ne:return"StrictMode";case ha:return"Suspense";case jl:return"SuspenseList"}if(typeof s=="object")switch(s.$$typeof){case gn:var c=s;return zl(c)+".Consumer";case Pt:var g=s;return zl(g._context)+".Provider";case Vt:return ga(s,s.render,"ForwardRef");case vr:var y=s.displayName||null;return y!==null?y:dn(s.type)||"Memo";case Ua:{var T=s,L=T._payload,W=T._init;try{return dn(W(L))}catch{return null}}}return null}var Eo=0,Co,wi,To,Xs,Ro,Ul,Vl;function Wa(){}Wa.__reactDisabledLog=!0;function qs(){{if(Eo===0){Co=console.log,wi=console.info,To=console.warn,Xs=console.error,Ro=console.group,Ul=console.groupCollapsed,Vl=console.groupEnd;var s={configurable:!0,enumerable:!0,value:Wa,writable:!0};Object.defineProperties(console,{info:s,log:s,warn:s,error:s,group:s,groupCollapsed:s,groupEnd:s})}Eo++}}function Hi(){{if(Eo--,Eo===0){var s={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Ln({},s,{value:Co}),info:Ln({},s,{value:wi}),warn:Ln({},s,{value:To}),error:Ln({},s,{value:Xs}),group:Ln({},s,{value:Ro}),groupCollapsed:Ln({},s,{value:Ul}),groupEnd:Ln({},s,{value:Vl})})}Eo<0&&o("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ai=n.ReactCurrentDispatcher,$i;function es(s,c,g){{if($i===void 0)try{throw Error()}catch(T){var y=T.stack.trim().match(/\n( *(at )?)/);$i=y&&y[1]||""}return`
108
- `+$i+s}}var ts=!1,el;{var ns=typeof WeakMap=="function"?WeakMap:Map;el=new ns}function Io(s,c){if(!s||ts)return"";{var g=el.get(s);if(g!==void 0)return g}var y;ts=!0;var T=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var L;L=ai.current,ai.current=null,qs();try{if(c){var W=function(){throw Error()};if(Object.defineProperty(W.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(W,[])}catch(Tn){y=Tn}Reflect.construct(s,[],W)}else{try{W.call()}catch(Tn){y=Tn}s.call(W.prototype)}}else{try{throw Error()}catch(Tn){y=Tn}s()}}catch(Tn){if(Tn&&y&&typeof Tn.stack=="string"){for(var ee=Tn.stack.split(`
109
- `),pe=y.stack.split(`
110
- `),De=ee.length-1,Ge=pe.length-1;De>=1&&Ge>=0&&ee[De]!==pe[Ge];)Ge--;for(;De>=1&&Ge>=0;De--,Ge--)if(ee[De]!==pe[Ge]){if(De!==1||Ge!==1)do if(De--,Ge--,Ge<0||ee[De]!==pe[Ge]){var it=`
111
- `+ee[De].replace(" at new "," at ");return s.displayName&&it.includes("<anonymous>")&&(it=it.replace("<anonymous>",s.displayName)),typeof s=="function"&&el.set(s,it),it}while(De>=1&&Ge>=0);break}}}finally{ts=!1,ai.current=L,Hi(),Error.prepareStackTrace=T}var sn=s?s.displayName||s.name:"",Bn=sn?es(sn):"";return typeof s=="function"&&el.set(s,Bn),Bn}function rs(s,c,g){return Io(s,!0)}function Wl(s,c,g){return Io(s,!1)}function Hl(s){var c=s.prototype;return!!(c&&c.isReactComponent)}function Ao(s,c,g){if(s==null)return"";if(typeof s=="function")return Io(s,Hl(s));if(typeof s=="string")return es(s);switch(s){case ha:return es("Suspense");case jl:return es("SuspenseList")}if(typeof s=="object")switch(s.$$typeof){case Vt:return Wl(s.render);case vr:return Ao(s.type,c,g);case Ua:{var y=s,T=y._payload,L=y._init;try{return Ao(L(T),c,g)}catch{}}}return""}var $l={},mn=n.ReactDebugCurrentFrame;function vn(s){if(s){var c=s._owner,g=Ao(s.type,s._source,c?c.type:null);mn.setExtraStackFrame(g)}else mn.setExtraStackFrame(null)}function Gl(s,c,g,y,T){{var L=Function.call.bind(re);for(var W in s)if(L(s,W)){var ee=void 0;try{if(typeof s[W]!="function"){var pe=Error((y||"React class")+": "+g+" type `"+W+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof s[W]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw pe.name="Invariant Violation",pe}ee=s[W](c,W,y,g,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(De){ee=De}ee&&!(ee instanceof Error)&&(vn(T),o("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",y||"React class",g,W,typeof ee),vn(null)),ee instanceof Error&&!(ee.message in $l)&&($l[ee.message]=!0,vn(T),o("Failed %s type: %s",g,ee.message),vn(null))}}}var Zl;Zl={};var Gi={};Object.freeze(Gi);function Fu(s,c){{var g=s.contextTypes;if(!g)return Gi;var y={};for(var T in g)y[T]=c[T];{var L=dn(s)||"Unknown";Gl(g,y,"context",L)}return y}}function Zi(s,c,g,y){{if(typeof s.getChildContext!="function"){{var T=dn(c)||"Unknown";Zl[T]||(Zl[T]=!0,o("%s.childContextTypes is specified but there is no getChildContext() method on the instance. You can either define getChildContext() on %s or remove childContextTypes from it.",T,T))}return g}var L=s.getChildContext();for(var W in L)if(!(W in y))throw new Error((dn(c)||"Unknown")+'.getChildContext(): key "'+W+'" is not defined in childContextTypes.');{var ee=dn(c)||"Unknown";Gl(y,L,"child context",ee)}return Ln({},g,L)}}var oi;oi={};var is=null,or=null;function ma(s){s.context._currentValue2=s.parentValue}function va(s){s.context._currentValue2=s.value}function ba(s,c){if(s!==c){ma(s);var g=s.parent,y=c.parent;if(g===null){if(y!==null)throw new Error("The stacks must reach the root at the same time. This is a bug in React.")}else{if(y===null)throw new Error("The stacks must reach the root at the same time. This is a bug in React.");ba(g,y)}va(c)}}function ya(s){ma(s);var c=s.parent;c!==null&&ya(c)}function as(s){var c=s.parent;c!==null&&as(c),va(s)}function Pu(s,c){ma(s);var g=s.parent;if(g===null)throw new Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");g.depth===c.depth?ba(g,c):Pu(g,c)}function Du(s,c){var g=c.parent;if(g===null)throw new Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");s.depth===g.depth?ba(s,g):Du(s,g),va(c)}function tl(s){var c=or,g=s;c!==g&&(c===null?as(g):g===null?ya(c):c.depth===g.depth?ba(c,g):c.depth>g.depth?Pu(c,g):Du(c,g),or=g)}function os(s,c){var g;g=s._currentValue2,s._currentValue2=c,s._currentRenderer2!==void 0&&s._currentRenderer2!==null&&s._currentRenderer2!==oi&&o("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),s._currentRenderer2=oi;var y=or,T={parent:y,depth:y===null?0:y.depth+1,context:s,parentValue:g,value:c};return or=T,T}function Oo(s){var c=or;if(c===null)throw new Error("Tried to pop a Context at the root of the app. This is a bug in React.");c.context!==s&&o("The parent context is not the expected context. This is probably a bug in React.");{var g=c.parentValue;g===Qs?c.context._currentValue2=c.context._defaultValue:c.context._currentValue2=g,s._currentRenderer2!==void 0&&s._currentRenderer2!==null&&s._currentRenderer2!==oi&&o("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),s._currentRenderer2=oi}return or=c.parent}function ss(){return or}function Ha(s){var c=s._currentValue2;return c}function I(s){return s._reactInternals}function wa(s,c){s._reactInternals=c}var $a={},sr={},St,nl,Mo,ls,xi,Fo,rl,il,al;{St=new Set,nl=new Set,Mo=new Set,rl=new Set,ls=new Set,il=new Set,al=new Set;var Lu=new Set;Fo=function(s,c){if(!(s===null||typeof s=="function")){var g=c+"_"+s;Lu.has(g)||(Lu.add(g),o("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",c,s))}},xi=function(s,c){if(c===void 0){var g=dn(s)||"Component";ls.has(g)||(ls.add(g),o("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",g))}}}function Si(s,c){{var g=s.constructor,y=g&&dn(g)||"ReactClass",T=y+"."+c;if($a[T])return;o(`%s(...): Can only update a mounting component. This usually means you called %s() outside componentWillMount() on the server. This is a no-op.
112
-
113
- Please check the code for the %s component.`,c,c,y),$a[T]=!0}}var Bu={isMounted:function(s){return!1},enqueueSetState:function(s,c,g){var y=I(s);y.queue===null?Si(s,"setState"):(y.queue.push(c),g!=null&&Fo(g,"setState"))},enqueueReplaceState:function(s,c,g){var y=I(s);y.replace=!0,y.queue=[c],g!=null&&Fo(g,"setState")},enqueueForceUpdate:function(s,c){var g=I(s);g.queue===null?Si(s,"forceUpdate"):c!=null&&Fo(c,"setState")}};function Tc(s,c,g,y,T){var L=g(T,y);xi(c,L);var W=L==null?y:Ln({},y,L);return W}function Rc(s,c,g){var y=Gi,T=s.contextType;if("contextType"in s){var L=T===null||T!==void 0&&T.$$typeof===gn&&T._context===void 0;if(!L&&!al.has(s)){al.add(s);var W="";T===void 0?W=" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":typeof T!="object"?W=" However, it is set to a "+typeof T+".":T.$$typeof===Pt?W=" Did you accidentally pass the Context.Provider instead?":T._context!==void 0?W=" Did you accidentally pass the Context.Consumer instead?":W=" However, it is set to an object with keys {"+Object.keys(T).join(", ")+"}.",o("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",dn(s)||"Component",W)}}typeof T=="object"&&T!==null?y=Ha(T):y=g;var ee=new s(c,y);{if(typeof s.getDerivedStateFromProps=="function"&&(ee.state===null||ee.state===void 0)){var pe=dn(s)||"Component";St.has(pe)||(St.add(pe),o("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",pe,ee.state===null?"null":"undefined",pe))}if(typeof s.getDerivedStateFromProps=="function"||typeof ee.getSnapshotBeforeUpdate=="function"){var De=null,Ge=null,it=null;if(typeof ee.componentWillMount=="function"&&ee.componentWillMount.__suppressDeprecationWarning!==!0?De="componentWillMount":typeof ee.UNSAFE_componentWillMount=="function"&&(De="UNSAFE_componentWillMount"),typeof ee.componentWillReceiveProps=="function"&&ee.componentWillReceiveProps.__suppressDeprecationWarning!==!0?Ge="componentWillReceiveProps":typeof ee.UNSAFE_componentWillReceiveProps=="function"&&(Ge="UNSAFE_componentWillReceiveProps"),typeof ee.componentWillUpdate=="function"&&ee.componentWillUpdate.__suppressDeprecationWarning!==!0?it="componentWillUpdate":typeof ee.UNSAFE_componentWillUpdate=="function"&&(it="UNSAFE_componentWillUpdate"),De!==null||Ge!==null||it!==null){var sn=dn(s)||"Component",Bn=typeof s.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";Mo.has(sn)||(Mo.add(sn),o(`Unsafe legacy lifecycles will not be called for components using new component APIs.
103
+ */var Nh;function c0(){return Nh||(Nh=1,process.env.NODE_ENV!=="production"&&function(){var r=Pe,e="18.2.0",n=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function a(s){{for(var d=arguments.length,m=new Array(d>1?d-1:0),x=1;x<d;x++)m[x-1]=arguments[x];c("warn",s,m)}}function o(s){{for(var d=arguments.length,m=new Array(d>1?d-1:0),x=1;x<d;x++)m[x-1]=arguments[x];c("error",s,m)}}function c(s,d,m){{var x=n.ReactDebugCurrentFrame,T=x.getStackAddendum();T!==""&&(d+="%s",m=m.concat([T]));var B=m.map(function(V){return String(V)});B.unshift("Warning: "+d),Function.prototype.apply.call(console[s],console,B)}}function g(s){s()}function y(s){}function w(s,d){E(s,d)}function E(s,d){return s.push(d)}function L(s){}function P(s){s.push(null)}function W(s){return s}function se(s){return s}function ae(s,d){s.destroy(d)}function ke(s){{var d=typeof Symbol=="function"&&Symbol.toStringTag,m=d&&s[Symbol.toStringTag]||s.constructor.name||"Object";return m}}function G(s){try{return Z(s),!1}catch{return!0}}function Z(s){return""+s}function be(s,d){if(G(s))return o("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",d,ke(s)),Z(s)}function fe(s,d){if(G(s))return o("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",d,ke(s)),Z(s)}function de(s){if(G(s))return o("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",ke(s)),Z(s)}var ee=Object.prototype.hasOwnProperty,Te=0,Ie=1,Lt=2,it=3,Pt=4,Vt=5,ge=6,we=":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",_e=we+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",Ye=new RegExp("^["+we+"]["+_e+"]*$"),Ze={},Ne={};function De(s){return ee.call(Ne,s)?!0:ee.call(Ze,s)?!1:Ye.test(s)?(Ne[s]=!0,!0):(Ze[s]=!0,o("Invalid attribute name: `%s`",s),!1)}function We(s,d,m,x){if(m!==null&&m.type===Te)return!1;switch(typeof d){case"function":case"symbol":return!0;case"boolean":{if(x)return!1;if(m!==null)return!m.acceptsBooleans;var T=s.toLowerCase().slice(0,5);return T!=="data-"&&T!=="aria-"}default:return!1}}function le(s){return Me.hasOwnProperty(s)?Me[s]:null}function ue(s,d,m,x,T,B,V){this.acceptsBooleans=d===Lt||d===it||d===Pt,this.attributeName=x,this.attributeNamespace=T,this.mustUseProperty=m,this.propertyName=s,this.type=d,this.sanitizeURL=B,this.removeEmptyString=V}var Me={},He=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];He.forEach(function(s){Me[s]=new ue(s,Te,!1,s,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(s){var d=s[0],m=s[1];Me[d]=new ue(d,Ie,!1,m,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(s){Me[s]=new ue(s,Lt,!1,s.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(s){Me[s]=new ue(s,Lt,!1,s,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"].forEach(function(s){Me[s]=new ue(s,it,!1,s.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(s){Me[s]=new ue(s,it,!0,s,null,!1,!1)}),["capture","download"].forEach(function(s){Me[s]=new ue(s,Pt,!1,s,null,!1,!1)}),["cols","rows","size","span"].forEach(function(s){Me[s]=new ue(s,ge,!1,s,null,!1,!1)}),["rowSpan","start"].forEach(function(s){Me[s]=new ue(s,Vt,!1,s.toLowerCase(),null,!1,!1)});var ze=/[\-\:]([a-z])/g,Ae=function(s){return s[1].toUpperCase()};["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"].forEach(function(s){var d=s.replace(ze,Ae);Me[d]=new ue(d,Ie,!1,s,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(s){var d=s.replace(ze,Ae);Me[d]=new ue(d,Ie,!1,s,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(s){var d=s.replace(ze,Ae);Me[d]=new ue(d,Ie,!1,s,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(s){Me[s]=new ue(s,Ie,!1,s.toLowerCase(),null,!1,!1)});var Oe="xlinkHref";Me[Oe]=new ue("xlinkHref",Ie,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(s){Me[s]=new ue(s,Ie,!1,s.toLowerCase(),null,!0,!0)});var Ke={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0};function Qe(s,d){return s+d.charAt(0).toUpperCase()+d.substring(1)}var Xe=["Webkit","ms","Moz","O"];Object.keys(Ke).forEach(function(s){Xe.forEach(function(d){Ke[Qe(d,s)]=Ke[s]})});var tt={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function yt(s,d){tt[d.type]||d.onChange||d.onInput||d.readOnly||d.disabled||d.value==null||o("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),d.onChange||d.readOnly||d.disabled||d.checked==null||o("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function Ee(s,d){if(s.indexOf("-")===-1)return typeof d.is=="string";switch(s){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Ct={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},At={},qt=new RegExp("^(aria)-["+_e+"]*$"),Vn=new RegExp("^(aria)[A-Z]["+_e+"]*$");function kn(s,d){{if(ee.call(At,d)&&At[d])return!0;if(Vn.test(d)){var m="aria-"+d.slice(4).toLowerCase(),x=Ct.hasOwnProperty(m)?m:null;if(x==null)return o("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",d),At[d]=!0,!0;if(d!==x)return o("Invalid ARIA attribute `%s`. Did you mean `%s`?",d,x),At[d]=!0,!0}if(qt.test(d)){var T=d.toLowerCase(),B=Ct.hasOwnProperty(T)?T:null;if(B==null)return At[d]=!0,!1;if(d!==B)return o("Unknown ARIA attribute `%s`. Did you mean `%s`?",d,B),At[d]=!0,!0}}return!0}function _n(s,d){{var m=[];for(var x in d){var T=kn(s,x);T||m.push(x)}var B=m.map(function(V){return"`"+V+"`"}).join(", ");m.length===1?o("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",B,s):m.length>1&&o("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",B,s)}}function fr(s,d){Ee(s,d)||_n(s,d)}var rr=!1;function Dn(s,d){{if(s!=="input"&&s!=="textarea"&&s!=="select")return;d!=null&&d.value===null&&!rr&&(rr=!0,s==="select"&&d.multiple?o("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",s):o("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",s))}}var xn={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},hn=function(){};{var gn={},pr=/^on./,yi=/^on[^A-Z]/,Wn=new RegExp("^(aria)-["+_e+"]*$"),Kt=new RegExp("^(aria)[A-Z]["+_e+"]*$");hn=function(s,d,m,x){if(ee.call(gn,d)&&gn[d])return!0;var T=d.toLowerCase();if(T==="onfocusin"||T==="onfocusout")return o("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),gn[d]=!0,!0;if(x!=null){var B=x.registrationNameDependencies,V=x.possibleRegistrationNames;if(B.hasOwnProperty(d))return!0;var te=V.hasOwnProperty(T)?V[T]:null;if(te!=null)return o("Invalid event handler property `%s`. Did you mean `%s`?",d,te),gn[d]=!0,!0;if(pr.test(d))return o("Unknown event handler property `%s`. It will be ignored.",d),gn[d]=!0,!0}else if(pr.test(d))return yi.test(d)&&o("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",d),gn[d]=!0,!0;if(Wn.test(d)||Kt.test(d))return!0;if(T==="innerhtml")return o("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),gn[d]=!0,!0;if(T==="aria")return o("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),gn[d]=!0,!0;if(T==="is"&&m!==null&&m!==void 0&&typeof m!="string")return o("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof m),gn[d]=!0,!0;if(typeof m=="number"&&isNaN(m))return o("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",d),gn[d]=!0,!0;var me=le(d),Fe=me!==null&&me.type===Te;if(xn.hasOwnProperty(T)){var Ge=xn[T];if(Ge!==d)return o("Invalid DOM property `%s`. Did you mean `%s`?",d,Ge),gn[d]=!0,!0}else if(!Fe&&d!==T)return o("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",d,T),gn[d]=!0,!0;return typeof m=="boolean"&&We(d,m,me,!1)?(m?o('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',m,d,d,m,d):o('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',m,d,d,m,d,d,d),gn[d]=!0,!0):Fe?!0:We(d,m,me,!1)?(gn[d]=!0,!1):((m==="false"||m==="true")&&me!==null&&me.type===it&&(o("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",m,d,m==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',d,m),gn[d]=!0),!0)}}var Pr=function(s,d,m){{var x=[];for(var T in d){var B=hn(s,T,d[T],m);B||x.push(T)}var V=x.map(function(te){return"`"+te+"`"}).join(", ");x.length===1?o("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",V,s):x.length>1&&o("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",V,s)}};function Jr(s,d,m){Ee(s,d)||Pr(s,d,m)}var Fr=function(){};{var Qr=/^(?:webkit|moz|o)[A-Z]/,Dr=/^-ms-/,Bi=/-(.)/g,Xr=/;\s*$/,hr={},qr={},la=!1,En=!1,ir=function(s){return s.replace(Bi,function(d,m){return m.toUpperCase()})},Ln=function(s){hr.hasOwnProperty(s)&&hr[s]||(hr[s]=!0,o("Unsupported style property %s. Did you mean %s?",s,ir(s.replace(Dr,"ms-"))))},Ot=function(s){hr.hasOwnProperty(s)&&hr[s]||(hr[s]=!0,o("Unsupported vendor-prefixed style property %s. Did you mean %s?",s,s.charAt(0).toUpperCase()+s.slice(1)))},gr=function(s,d){qr.hasOwnProperty(d)&&qr[d]||(qr[d]=!0,o(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,s,d.replace(Xr,"")))},ei=function(s,d){la||(la=!0,o("`NaN` is an invalid value for the `%s` css style property.",s))},ti=function(s,d){En||(En=!0,o("`Infinity` is an invalid value for the `%s` css style property.",s))};Fr=function(s,d){s.indexOf("-")>-1?Ln(s):Qr.test(s)?Ot(s):Xr.test(d)&&gr(s,d),typeof d=="number"&&(isNaN(d)?ei(s,d):isFinite(d)||ti(s,d))}}var ar=Fr,ni=/["'&<>]/;function mr(s){de(s);var d=""+s,m=ni.exec(d);if(!m)return d;var x,T="",B,V=0;for(B=m.index;B<d.length;B++){switch(d.charCodeAt(B)){case 34:x="&quot;";break;case 38:x="&amp;";break;case 39:x="&#x27;";break;case 60:x="&lt;";break;case 62:x="&gt;";break;default:continue}V!==B&&(T+=d.substring(V,B)),V=B+1,T+=x}return V!==B?T+d.substring(V,B):T}function an(s){return typeof s=="boolean"||typeof s=="number"?""+s:mr(s)}var Ni=/([A-Z])/g,ri=/^ms-/;function ji(s){return s.replace(Ni,"-$1").toLowerCase().replace(ri,"-ms-")}var on=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*\:/i,zi=!1;function Ba(s){!zi&&on.test(s)&&(zi=!0,o("A future version of React will block javascript: URLs as a security precaution. Use event handlers instead if you can. If you need to generate unsafe HTML try using dangerouslySetInnerHTML instead. React was passed %s.",JSON.stringify(s)))}var Na=Array.isArray;function U(s){return Na(s)}var ve="<script>",Re="<\/script>",nt='<script src="',mt='<script type="module" src="',kt='" async=""><\/script>';function wt(s){return de(s),(""+s).replace(pt,cn)}var pt=/(<\/|<)(s)(cript)/gi,cn=function(s,d,m,x){return""+d+(m==="s"?"\\u0073":"\\u0053")+x};function zt(s,d,m,x,T){var B=s===void 0?"":s,V=d===void 0?ve:'<script nonce="'+an(d)+'">',te=[];if(m!==void 0&&te.push(V,wt(m),Re),x!==void 0)for(var me=0;me<x.length;me++)te.push(nt,an(x[me]),kt);if(T!==void 0)for(var Fe=0;Fe<T.length;Fe++)te.push(mt,an(T[Fe]),kt);return{bootstrapChunks:te,startInlineScript:V,placeholderPrefix:B+"P:",segmentPrefix:B+"S:",boundaryPrefix:B+"B:",idPrefix:B,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}var Ut=0,ln=1,On=2,Lr=3,en=4,dn=5,Br=6,Er=7;function Cn(s,d){return{insertionMode:s,selectedValue:d}}function Ui(s,d,m){switch(d){case"select":return Cn(ln,m.value!=null?m.value:m.defaultValue);case"svg":return Cn(On,null);case"math":return Cn(Lr,null);case"foreignObject":return Cn(ln,null);case"table":return Cn(en,null);case"thead":case"tbody":case"tfoot":return Cn(dn,null);case"colgroup":return Cn(Er,null);case"tr":return Cn(Br,null)}return s.insertionMode>=en||s.insertionMode===Ut?Cn(ln,null):s}var Cr=null;function Nr(s){var d=s.nextSuspenseID++;return s.boundaryPrefix+d.toString(16)}function Xn(s,d,m){var x=s.idPrefix,T=":"+x+"R"+d;return m>0&&(T+="H"+m.toString(32)),T+":"}function ii(s){return an(s)}var wi="<!-- -->";function ua(s,d,m,x){return d===""?x:(x&&s.push(wi),s.push(ii(d)),!0)}function ca(s,d,m,x){m&&x&&s.push(wi)}var Vi=new Map;function jr(s){var d=Vi.get(s);if(d!==void 0)return d;var m=an(ji(s));return Vi.set(s,m),m}var ja=' style="',Wi=":",ai=";";function p(s,d,m){if(typeof m!="object")throw new Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");var x=!0;for(var T in m)if(ee.call(m,T)){var B=m[T];if(!(B==null||typeof B=="boolean"||B==="")){var V=void 0,te=void 0,me=T.indexOf("--")===0;me?(V=an(T),fe(B,T),te=an((""+B).trim())):(ar(T,B),V=jr(T),typeof B=="number"?B!==0&&!ee.call(Ke,T)?te=B+"px":te=""+B:(fe(B,T),te=an((""+B).trim()))),x?(x=!1,s.push(ja,V,Wi,te)):s.push(ai,V,Wi,te)}}x||s.push(F)}var k=" ",A='="',F='"',X='=""';function K(s,d,m,x){switch(m){case"style":{p(s,d,x);return}case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(m.length>2&&(m[0]==="o"||m[0]==="O")&&(m[1]==="n"||m[1]==="N"))){var T=le(m);if(T!==null){switch(typeof x){case"function":case"symbol":return;case"boolean":if(!T.acceptsBooleans)return}var B=T.attributeName,V=B;switch(T.type){case it:x&&s.push(k,V,X);return;case Pt:x===!0?s.push(k,V,X):x===!1||s.push(k,V,A,an(x),F);return;case Vt:isNaN(x)||s.push(k,V,A,an(x),F);break;case ge:!isNaN(x)&&x>=1&&s.push(k,V,A,an(x),F);break;default:T.sanitizeURL&&(be(x,B),x=""+x,Ba(x)),s.push(k,V,A,an(x),F)}}else if(De(m)){switch(typeof x){case"function":case"symbol":return;case"boolean":{var te=m.toLowerCase().slice(0,5);if(te!=="data-"&&te!=="aria-")return}}s.push(k,m,A,an(x),F)}}}var ie=">",xe="/>";function Ue(s,d,m){if(d!=null){if(m!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof d!="object"||!("__html"in d))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");var x=d.__html;x!=null&&(de(x),s.push(""+x))}}var qe=!1,Je=!1,Ft=!1,or=!1,Bn=!1,Nn=!1,zr=!1;function vr(s,d){{var m=s[d];if(m!=null){var x=U(m);s.multiple&&!x?o("The `%s` prop supplied to <select> must be an array if `multiple` is true.",d):!s.multiple&&x&&o("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.",d)}}}function da(s,d,m){yt("select",d),vr(d,"value"),vr(d,"defaultValue"),d.value!==void 0&&d.defaultValue!==void 0&&!Ft&&(o("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://reactjs.org/link/controlled-components"),Ft=!0),s.push(xt("select"));var x=null,T=null;for(var B in d)if(ee.call(d,B)){var V=d[B];if(V==null)continue;switch(B){case"children":x=V;break;case"dangerouslySetInnerHTML":T=V;break;case"defaultValue":case"value":break;default:K(s,m,B,V);break}}return s.push(ie),Ue(s,T,x),x}function xi(s){var d="";return r.Children.forEach(s,function(m){m!=null&&(d+=m,!Bn&&typeof m!="string"&&typeof m!="number"&&(Bn=!0,o("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}),d}var Hi=' selected=""';function Ur(s,d,m,x){var T=x.selectedValue;s.push(xt("option"));var B=null,V=null,te=null,me=null;for(var Fe in d)if(ee.call(d,Fe)){var Ge=d[Fe];if(Ge==null)continue;switch(Fe){case"children":B=Ge;break;case"selected":te=Ge,zr||(o("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),zr=!0);break;case"dangerouslySetInnerHTML":me=Ge;break;case"value":V=Ge;default:K(s,m,Fe,Ge);break}}if(T!=null){var at;if(V!==null?(be(V,"value"),at=""+V):(me!==null&&(Nn||(Nn=!0,o("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),at=xi(B)),U(T))for(var un=0;un<T.length;un++){be(T[un],"value");var zn=""+T[un];if(zn===at){s.push(Hi);break}}else be(T,"select.value"),""+T===at&&s.push(Hi)}else te&&s.push(Hi);return s.push(ie),Ue(s,me,B),B}function za(s,d,m){yt("input",d),d.checked!==void 0&&d.defaultChecked!==void 0&&!Je&&(o("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components","A component",d.type),Je=!0),d.value!==void 0&&d.defaultValue!==void 0&&!qe&&(o("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components","A component",d.type),qe=!0),s.push(xt("input"));var x=null,T=null,B=null,V=null;for(var te in d)if(ee.call(d,te)){var me=d[te];if(me==null)continue;switch(te){case"children":case"dangerouslySetInnerHTML":throw new Error("input is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");case"defaultChecked":V=me;break;case"defaultValue":T=me;break;case"checked":B=me;break;case"value":x=me;break;default:K(s,m,te,me);break}}return B!==null?K(s,m,"checked",B):V!==null&&K(s,m,"checked",V),x!==null?K(s,m,"value",x):T!==null&&K(s,m,"value",T),s.push(xe),null}function Fl(s,d,m){yt("textarea",d),d.value!==void 0&&d.defaultValue!==void 0&&!or&&(o("Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://reactjs.org/link/controlled-components"),or=!0),s.push(xt("textarea"));var x=null,T=null,B=null;for(var V in d)if(ee.call(d,V)){var te=d[V];if(te==null)continue;switch(V){case"children":B=te;break;case"value":x=te;break;case"defaultValue":T=te;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");default:K(s,m,V,te);break}}if(x===null&&T!==null&&(x=T),s.push(ie),B!=null){if(o("Use the `defaultValue` or `value` props instead of setting children on <textarea>."),x!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(U(B)){if(B.length>1)throw new Error("<textarea> can only have at most one child.");de(B[0]),x=""+B[0]}de(B),x=""+B}return typeof x=="string"&&x[0]===`
104
+ `&&s.push(Ua),x!==null&&(be(x,"value"),s.push(ii(""+x))),null}function Dl(s,d,m,x){s.push(xt(m));for(var T in d)if(ee.call(d,T)){var B=d[T];if(B==null)continue;switch(T){case"children":case"dangerouslySetInnerHTML":throw new Error(m+" is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:K(s,x,T,B);break}}return s.push(xe),null}function Ko(s,d,m){s.push(xt("menuitem"));for(var x in d)if(ee.call(d,x)){var T=d[x];if(T==null)continue;switch(x){case"children":case"dangerouslySetInnerHTML":throw new Error("menuitems cannot have `children` nor `dangerouslySetInnerHTML`.");default:K(s,m,x,T);break}}return s.push(ie),null}function Jo(s,d,m){s.push(xt("title"));var x=null;for(var T in d)if(ee.call(d,T)){var B=d[T];if(B==null)continue;switch(T){case"children":x=B;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <title>.");default:K(s,m,T,B);break}}s.push(ie);{var V=Array.isArray(x)&&x.length<2?x[0]||null:x;Array.isArray(x)&&x.length>1?o("A title element received an array with more than 1 element as children. In browsers title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering"):V!=null&&V.$$typeof!=null?o("A title element received a React element for children. In the browser title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering"):V!=null&&typeof V!="string"&&typeof V!="number"&&o("A title element received a value that was not a string or number for children. In the browser title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering")}return x}function Qo(s,d,m,x){s.push(xt(m));var T=null,B=null;for(var V in d)if(ee.call(d,V)){var te=d[V];if(te==null)continue;switch(V){case"children":T=te;break;case"dangerouslySetInnerHTML":B=te;break;default:K(s,x,V,te);break}}return s.push(ie),Ue(s,B,T),typeof T=="string"?(s.push(ii(T)),null):T}function oi(s,d,m,x){s.push(xt(m));var T=null,B=null;for(var V in d)if(ee.call(d,V)){var te=d[V];if(te==null)continue;switch(V){case"children":T=te;break;case"dangerouslySetInnerHTML":B=te;break;case"style":p(s,x,te);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:De(V)&&typeof te!="function"&&typeof te!="symbol"&&s.push(k,V,A,an(te),F);break}}return s.push(ie),Ue(s,B,T),T}var Ua=`
105
+ `;function go(s,d,m,x){s.push(xt(m));var T=null,B=null;for(var V in d)if(ee.call(d,V)){var te=d[V];if(te==null)continue;switch(V){case"children":T=te;break;case"dangerouslySetInnerHTML":B=te;break;default:K(s,x,V,te);break}}if(s.push(ie),B!=null){if(T!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof B!="object"||!("__html"in B))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");var me=B.__html;me!=null&&(typeof me=="string"&&me.length>0&&me[0]===`
106
+ `?s.push(Ua,me):(de(me),s.push(""+me)))}return typeof T=="string"&&T[0]===`
107
+ `&&s.push(Ua),T}var Qt=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,Bt=new Map;function xt(s){var d=Bt.get(s);if(d===void 0){if(!Qt.test(s))throw new Error("Invalid tag: "+s);d="<"+s,Bt.set(s,d)}return d}var $i="<!DOCTYPE html>";function Si(s,d,m,x,T){switch(fr(d,m),Dn(d,m),Jr(d,m,null),!m.suppressContentEditableWarning&&m.contentEditable&&m.children!=null&&o("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional."),T.insertionMode!==On&&T.insertionMode!==Lr&&d.indexOf("-")===-1&&typeof m.is!="string"&&d.toLowerCase()!==d&&o("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",d),d){case"select":return da(s,m,x);case"option":return Ur(s,m,x,T);case"textarea":return Fl(s,m,x);case"input":return za(s,m,x);case"menuitem":return Ko(s,m,x);case"title":return Jo(s,m,x);case"listing":case"pre":return go(s,m,d,x);case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":return Dl(s,m,d,x);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 Qo(s,m,d,x);case"html":return T.insertionMode===Ut&&s.push($i),Qo(s,m,d,x);default:return d.indexOf("-")===-1&&typeof m.is!="string"?Qo(s,m,d,x):oi(s,m,d,x)}}var mo="</",ki=">";function Tr(s,d,m){switch(d){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:s.push(mo,d,ki)}}function Xo(s,d){for(var m=d.bootstrapChunks,x=0;x<m.length-1;x++)w(s,m[x]);return x<m.length?E(s,m[x]):!0}var vo='<template id="',Vs='"></template>';function Tn(s,d,m){w(s,vo),w(s,d.placeholderPrefix);var x=m.toString(16);return w(s,x),E(s,Vs)}var bo="<!--$-->",Gi='<!--$?--><template id="',Ws='"></template>',fa="<!--$!-->",Hn="<!--/$-->",Va="<template",pa='"',Hs=' data-dgst="',ha=' data-msg="',yo=' data-stck="',wo="></template>";function Rn(s,d){return E(s,bo)}function ga(s,d,m){if(w(s,Gi),m===null)throw new Error("An ID must have been assigned before we can complete the boundary.");return w(s,m),E(s,Ws)}function $n(s,d,m,x,T){var B;return B=E(s,fa),w(s,Va),m&&(w(s,Hs),w(s,an(m)),w(s,pa)),x&&(w(s,ha),w(s,an(x)),w(s,pa)),T&&(w(s,yo),w(s,an(T)),w(s,pa)),B=E(s,wo),B}function $s(s,d){return E(s,Hn)}function xo(s,d){return E(s,Hn)}function si(s,d){return E(s,Hn)}var Zi='<div hidden id="',Gn='">',tn="</div>",Rr='<svg aria-hidden="true" style="display:none" id="',qo='">',Gs="</svg>",ma='<math aria-hidden="true" style="display:none" id="',Zs='">',Ys="</math>",So='<table hidden id="',Wa='">',Ha="</table>",Yi='<table hidden><tbody id="',Ks='">',ko="</tbody></table>",es='<table hidden><tr id="',h='">',S="</tr></table>",R='<table hidden><colgroup id="',D='">',q="</colgroup></table>";function Q(s,d,m,x){switch(m.insertionMode){case Ut:case ln:return w(s,Zi),w(s,d.segmentPrefix),w(s,x.toString(16)),E(s,Gn);case On:return w(s,Rr),w(s,d.segmentPrefix),w(s,x.toString(16)),E(s,qo);case Lr:return w(s,ma),w(s,d.segmentPrefix),w(s,x.toString(16)),E(s,Zs);case en:return w(s,So),w(s,d.segmentPrefix),w(s,x.toString(16)),E(s,Wa);case dn:return w(s,Yi),w(s,d.segmentPrefix),w(s,x.toString(16)),E(s,Ks);case Br:return w(s,es),w(s,d.segmentPrefix),w(s,x.toString(16)),E(s,h);case Er:return w(s,R),w(s,d.segmentPrefix),w(s,x.toString(16)),E(s,D);default:throw new Error("Unknown insertion mode. This is a bug in React.")}}function ce(s,d){switch(d.insertionMode){case Ut:case ln:return E(s,tn);case On:return E(s,Gs);case Lr:return E(s,Ys);case en:return E(s,Ha);case dn:return E(s,ko);case Br:return E(s,S);case Er:return E(s,q);default:throw new Error("Unknown insertion mode. This is a bug in React.")}}var Se="function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)}",$e='function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}}',ht='function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())}',ot=Se+';$RS("',Xt='$RS("',qn='","',Ir='")<\/script>';function Ar(s,d,m){w(s,d.startInlineScript),d.sentCompleteSegmentFunction?w(s,Xt):(d.sentCompleteSegmentFunction=!0,w(s,ot)),w(s,d.segmentPrefix);var x=m.toString(16);return w(s,x),w(s,qn),w(s,d.placeholderPrefix),w(s,x),E(s,Ir)}var _o=$e+';$RC("',Js='$RC("',ts='","',Eo='")<\/script>';function Rc(s,d,m,x){if(w(s,d.startInlineScript),d.sentCompleteBoundaryFunction?w(s,Js):(d.sentCompleteBoundaryFunction=!0,w(s,_o)),m===null)throw new Error("An ID must have been assigned before we can complete the boundary.");var T=x.toString(16);return w(s,m),w(s,ts),w(s,d.segmentPrefix),w(s,T),E(s,Eo)}var Ic=ht+';$RX("',Ll='$RX("',Mu='"',va=")<\/script>",Co=",";function Ac(s,d,m,x,T,B){if(w(s,d.startInlineScript),d.sentClientRenderFunction?w(s,Ll):(d.sentClientRenderFunction=!0,w(s,Ic)),m===null)throw new Error("An ID must have been assigned before we can complete the boundary.");return w(s,m),w(s,Mu),(x||T||B)&&(w(s,Co),w(s,Bl(x||""))),(T||B)&&(w(s,Co),w(s,Bl(T||""))),B&&(w(s,Co),w(s,Bl(B))),E(s,va)}var Oc=/[<\u2028\u2029]/g;function Bl(s){var d=JSON.stringify(s);return d.replace(Oc,function(m){switch(m){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw new Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}function To(s,d){var m=zt(d,void 0);return{bootstrapChunks:m.bootstrapChunks,startInlineScript:m.startInlineScript,placeholderPrefix:m.placeholderPrefix,segmentPrefix:m.segmentPrefix,boundaryPrefix:m.boundaryPrefix,idPrefix:m.idPrefix,nextSuspenseID:m.nextSuspenseID,sentCompleteSegmentFunction:m.sentCompleteSegmentFunction,sentCompleteBoundaryFunction:m.sentCompleteBoundaryFunction,sentClientRenderFunction:m.sentClientRenderFunction,generateStaticMarkup:s}}function Or(){return{insertionMode:ln,selectedValue:null}}function Nl(s,d,m,x){return m.generateStaticMarkup?(s.push(an(d)),!1):ua(s,d,m,x)}function Pu(s,d,m,x){if(!d.generateStaticMarkup)return ca(s,d,m,x)}function jl(s,d){return d.generateStaticMarkup?!0:Rn(s)}function Vr(s,d,m,x,T){return d.generateStaticMarkup?!0:$n(s,d,m,x,T)}function Mc(s,d){return d.generateStaticMarkup?!0:$s(s)}function Fu(s,d){return d.generateStaticMarkup?!0:si(s)}var jn=Object.assign,Y=Symbol.for("react.element"),oe=Symbol.for("react.portal"),re=Symbol.for("react.fragment"),Be=Symbol.for("react.strict_mode"),st=Symbol.for("react.profiler"),Dt=Symbol.for("react.provider"),mn=Symbol.for("react.context"),Wt=Symbol.for("react.forward_ref"),ba=Symbol.for("react.suspense"),zl=Symbol.for("react.suspense_list"),br=Symbol.for("react.memo"),$a=Symbol.for("react.lazy"),Pc=Symbol.for("react.scope"),Ga=Symbol.for("react.debug_trace_mode"),Qs=Symbol.for("react.legacy_hidden"),Xs=Symbol.for("react.default_value"),Zt=Symbol.iterator,Du="@@iterator";function fn(s){if(s===null||typeof s!="object")return null;var d=Zt&&s[Zt]||s[Du];return typeof d=="function"?d:null}function ya(s,d,m){var x=s.displayName;if(x)return x;var T=d.displayName||d.name||"";return T!==""?m+"("+T+")":m}function Ul(s){return s.displayName||"Context"}function pn(s){if(s==null)return null;if(typeof s.tag=="number"&&o("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof s=="function")return s.displayName||s.name||null;if(typeof s=="string")return s;switch(s){case re:return"Fragment";case oe:return"Portal";case st:return"Profiler";case Be:return"StrictMode";case ba:return"Suspense";case zl:return"SuspenseList"}if(typeof s=="object")switch(s.$$typeof){case mn:var d=s;return Ul(d)+".Consumer";case Dt:var m=s;return Ul(m._context)+".Provider";case Wt:return ya(s,s.render,"ForwardRef");case br:var x=s.displayName||null;return x!==null?x:pn(s.type)||"Memo";case $a:{var T=s,B=T._payload,V=T._init;try{return pn(V(B))}catch{return null}}}return null}var Ro=0,Io,_i,Ao,qs,Oo,Vl,Wl;function Za(){}Za.__reactDisabledLog=!0;function el(){{if(Ro===0){Io=console.log,_i=console.info,Ao=console.warn,qs=console.error,Oo=console.group,Vl=console.groupCollapsed,Wl=console.groupEnd;var s={configurable:!0,enumerable:!0,value:Za,writable:!0};Object.defineProperties(console,{info:s,log:s,warn:s,error:s,group:s,groupCollapsed:s,groupEnd:s})}Ro++}}function Ki(){{if(Ro--,Ro===0){var s={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:jn({},s,{value:Io}),info:jn({},s,{value:_i}),warn:jn({},s,{value:Ao}),error:jn({},s,{value:qs}),group:jn({},s,{value:Oo}),groupCollapsed:jn({},s,{value:Vl}),groupEnd:jn({},s,{value:Wl})})}Ro<0&&o("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var li=n.ReactCurrentDispatcher,Ji;function ns(s,d,m){{if(Ji===void 0)try{throw Error()}catch(T){var x=T.stack.trim().match(/\n( *(at )?)/);Ji=x&&x[1]||""}return`
108
+ `+Ji+s}}var rs=!1,tl;{var is=typeof WeakMap=="function"?WeakMap:Map;tl=new is}function Mo(s,d){if(!s||rs)return"";{var m=tl.get(s);if(m!==void 0)return m}var x;rs=!0;var T=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var B;B=li.current,li.current=null,el();try{if(d){var V=function(){throw Error()};if(Object.defineProperty(V.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(V,[])}catch(In){x=In}Reflect.construct(s,[],V)}else{try{V.call()}catch(In){x=In}s.call(V.prototype)}}else{try{throw Error()}catch(In){x=In}s()}}catch(In){if(In&&x&&typeof In.stack=="string"){for(var te=In.stack.split(`
109
+ `),me=x.stack.split(`
110
+ `),Fe=te.length-1,Ge=me.length-1;Fe>=1&&Ge>=0&&te[Fe]!==me[Ge];)Ge--;for(;Fe>=1&&Ge>=0;Fe--,Ge--)if(te[Fe]!==me[Ge]){if(Fe!==1||Ge!==1)do if(Fe--,Ge--,Ge<0||te[Fe]!==me[Ge]){var at=`
111
+ `+te[Fe].replace(" at new "," at ");return s.displayName&&at.includes("<anonymous>")&&(at=at.replace("<anonymous>",s.displayName)),typeof s=="function"&&tl.set(s,at),at}while(Fe>=1&&Ge>=0);break}}}finally{rs=!1,li.current=B,Ki(),Error.prepareStackTrace=T}var un=s?s.displayName||s.name:"",zn=un?ns(un):"";return typeof s=="function"&&tl.set(s,zn),zn}function as(s,d,m){return Mo(s,!0)}function Hl(s,d,m){return Mo(s,!1)}function $l(s){var d=s.prototype;return!!(d&&d.isReactComponent)}function Po(s,d,m){if(s==null)return"";if(typeof s=="function")return Mo(s,$l(s));if(typeof s=="string")return ns(s);switch(s){case ba:return ns("Suspense");case zl:return ns("SuspenseList")}if(typeof s=="object")switch(s.$$typeof){case Wt:return Hl(s.render);case br:return Po(s.type,d,m);case $a:{var x=s,T=x._payload,B=x._init;try{return Po(B(T),d,m)}catch{}}}return""}var Gl={},vn=n.ReactDebugCurrentFrame;function bn(s){if(s){var d=s._owner,m=Po(s.type,s._source,d?d.type:null);vn.setExtraStackFrame(m)}else vn.setExtraStackFrame(null)}function Zl(s,d,m,x,T){{var B=Function.call.bind(ee);for(var V in s)if(B(s,V)){var te=void 0;try{if(typeof s[V]!="function"){var me=Error((x||"React class")+": "+m+" type `"+V+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof s[V]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw me.name="Invariant Violation",me}te=s[V](d,V,x,m,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(Fe){te=Fe}te&&!(te instanceof Error)&&(bn(T),o("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",x||"React class",m,V,typeof te),bn(null)),te instanceof Error&&!(te.message in Gl)&&(Gl[te.message]=!0,bn(T),o("Failed %s type: %s",m,te.message),bn(null))}}}var Yl;Yl={};var Qi={};Object.freeze(Qi);function Lu(s,d){{var m=s.contextTypes;if(!m)return Qi;var x={};for(var T in m)x[T]=d[T];{var B=pn(s)||"Unknown";Zl(m,x,"context",B)}return x}}function Xi(s,d,m,x){{if(typeof s.getChildContext!="function"){{var T=pn(d)||"Unknown";Yl[T]||(Yl[T]=!0,o("%s.childContextTypes is specified but there is no getChildContext() method on the instance. You can either define getChildContext() on %s or remove childContextTypes from it.",T,T))}return m}var B=s.getChildContext();for(var V in B)if(!(V in x))throw new Error((pn(d)||"Unknown")+'.getChildContext(): key "'+V+'" is not defined in childContextTypes.');{var te=pn(d)||"Unknown";Zl(x,B,"child context",te)}return jn({},m,B)}}var ui;ui={};var os=null,sr=null;function wa(s){s.context._currentValue2=s.parentValue}function xa(s){s.context._currentValue2=s.value}function Sa(s,d){if(s!==d){wa(s);var m=s.parent,x=d.parent;if(m===null){if(x!==null)throw new Error("The stacks must reach the root at the same time. This is a bug in React.")}else{if(x===null)throw new Error("The stacks must reach the root at the same time. This is a bug in React.");Sa(m,x)}xa(d)}}function ka(s){wa(s);var d=s.parent;d!==null&&ka(d)}function ss(s){var d=s.parent;d!==null&&ss(d),xa(s)}function Bu(s,d){wa(s);var m=s.parent;if(m===null)throw new Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");m.depth===d.depth?Sa(m,d):Bu(m,d)}function Nu(s,d){var m=d.parent;if(m===null)throw new Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");s.depth===m.depth?Sa(s,m):Nu(s,m),xa(d)}function nl(s){var d=sr,m=s;d!==m&&(d===null?ss(m):m===null?ka(d):d.depth===m.depth?Sa(d,m):d.depth>m.depth?Bu(d,m):Nu(d,m),sr=m)}function ls(s,d){var m;m=s._currentValue2,s._currentValue2=d,s._currentRenderer2!==void 0&&s._currentRenderer2!==null&&s._currentRenderer2!==ui&&o("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),s._currentRenderer2=ui;var x=sr,T={parent:x,depth:x===null?0:x.depth+1,context:s,parentValue:m,value:d};return sr=T,T}function Fo(s){var d=sr;if(d===null)throw new Error("Tried to pop a Context at the root of the app. This is a bug in React.");d.context!==s&&o("The parent context is not the expected context. This is probably a bug in React.");{var m=d.parentValue;m===Xs?d.context._currentValue2=d.context._defaultValue:d.context._currentValue2=m,s._currentRenderer2!==void 0&&s._currentRenderer2!==null&&s._currentRenderer2!==ui&&o("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),s._currentRenderer2=ui}return sr=d.parent}function us(){return sr}function Ya(s){var d=s._currentValue2;return d}function I(s){return s._reactInternals}function _a(s,d){s._reactInternals=d}var Ka={},lr={},St,rl,Do,cs,Ei,Lo,il,al,ol;{St=new Set,rl=new Set,Do=new Set,il=new Set,cs=new Set,al=new Set,ol=new Set;var ju=new Set;Lo=function(s,d){if(!(s===null||typeof s=="function")){var m=d+"_"+s;ju.has(m)||(ju.add(m),o("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",d,s))}},Ei=function(s,d){if(d===void 0){var m=pn(s)||"Component";cs.has(m)||(cs.add(m),o("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",m))}}}function Ci(s,d){{var m=s.constructor,x=m&&pn(m)||"ReactClass",T=x+"."+d;if(Ka[T])return;o(`%s(...): Can only update a mounting component. This usually means you called %s() outside componentWillMount() on the server. This is a no-op.
112
+
113
+ Please check the code for the %s component.`,d,d,x),Ka[T]=!0}}var zu={isMounted:function(s){return!1},enqueueSetState:function(s,d,m){var x=I(s);x.queue===null?Ci(s,"setState"):(x.queue.push(d),m!=null&&Lo(m,"setState"))},enqueueReplaceState:function(s,d,m){var x=I(s);x.replace=!0,x.queue=[d],m!=null&&Lo(m,"setState")},enqueueForceUpdate:function(s,d){var m=I(s);m.queue===null?Ci(s,"forceUpdate"):d!=null&&Lo(d,"setState")}};function Fc(s,d,m,x,T){var B=m(T,x);Ei(d,B);var V=B==null?x:jn({},x,B);return V}function Dc(s,d,m){var x=Qi,T=s.contextType;if("contextType"in s){var B=T===null||T!==void 0&&T.$$typeof===mn&&T._context===void 0;if(!B&&!ol.has(s)){ol.add(s);var V="";T===void 0?V=" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":typeof T!="object"?V=" However, it is set to a "+typeof T+".":T.$$typeof===Dt?V=" Did you accidentally pass the Context.Provider instead?":T._context!==void 0?V=" Did you accidentally pass the Context.Consumer instead?":V=" However, it is set to an object with keys {"+Object.keys(T).join(", ")+"}.",o("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",pn(s)||"Component",V)}}typeof T=="object"&&T!==null?x=Ya(T):x=m;var te=new s(d,x);{if(typeof s.getDerivedStateFromProps=="function"&&(te.state===null||te.state===void 0)){var me=pn(s)||"Component";St.has(me)||(St.add(me),o("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",me,te.state===null?"null":"undefined",me))}if(typeof s.getDerivedStateFromProps=="function"||typeof te.getSnapshotBeforeUpdate=="function"){var Fe=null,Ge=null,at=null;if(typeof te.componentWillMount=="function"&&te.componentWillMount.__suppressDeprecationWarning!==!0?Fe="componentWillMount":typeof te.UNSAFE_componentWillMount=="function"&&(Fe="UNSAFE_componentWillMount"),typeof te.componentWillReceiveProps=="function"&&te.componentWillReceiveProps.__suppressDeprecationWarning!==!0?Ge="componentWillReceiveProps":typeof te.UNSAFE_componentWillReceiveProps=="function"&&(Ge="UNSAFE_componentWillReceiveProps"),typeof te.componentWillUpdate=="function"&&te.componentWillUpdate.__suppressDeprecationWarning!==!0?at="componentWillUpdate":typeof te.UNSAFE_componentWillUpdate=="function"&&(at="UNSAFE_componentWillUpdate"),Fe!==null||Ge!==null||at!==null){var un=pn(s)||"Component",zn=typeof s.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";Do.has(un)||(Do.add(un),o(`Unsafe legacy lifecycles will not be called for components using new component APIs.
114
114
 
115
115
  %s uses %s but also contains the following legacy lifecycles:%s%s%s
116
116
 
117
117
  The above lifecycles should be removed. Learn more about this warning here:
118
- https://reactjs.org/link/unsafe-component-lifecycles`,sn,Bn,De!==null?`
119
- `+De:"",Ge!==null?`
120
- `+Ge:"",it!==null?`
121
- `+it:""))}}}return ee}function Nu(s,c,g){{var y=dn(c)||"Component",T=s.render;T||(c.prototype&&typeof c.prototype.render=="function"?o("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",y):o("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",y)),s.getInitialState&&!s.getInitialState.isReactClassApproved&&!s.state&&o("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",y),s.getDefaultProps&&!s.getDefaultProps.isReactClassApproved&&o("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",y),s.propTypes&&o("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",y),s.contextType&&o("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",y),s.contextTypes&&o("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",y),c.contextType&&c.contextTypes&&!il.has(c)&&(il.add(c),o("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.",y)),typeof s.componentShouldUpdate=="function"&&o("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",y),c.prototype&&c.prototype.isPureReactComponent&&typeof s.shouldComponentUpdate<"u"&&o("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",dn(c)||"A pure component"),typeof s.componentDidUnmount=="function"&&o("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",y),typeof s.componentDidReceiveProps=="function"&&o("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",y),typeof s.componentWillRecieveProps=="function"&&o("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",y),typeof s.UNSAFE_componentWillRecieveProps=="function"&&o("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",y);var L=s.props!==g;s.props!==void 0&&L&&o("%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",y,y),s.defaultProps&&o("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",y,y),typeof s.getSnapshotBeforeUpdate=="function"&&typeof s.componentDidUpdate!="function"&&!nl.has(c)&&(nl.add(c),o("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",dn(c))),typeof s.getDerivedStateFromProps=="function"&&o("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",y),typeof s.getDerivedStateFromError=="function"&&o("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",y),typeof c.getSnapshotBeforeUpdate=="function"&&o("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",y);var W=s.state;W&&(typeof W!="object"||U(W))&&o("%s.state: must be set to an object or null",y),typeof s.getChildContext=="function"&&typeof c.childContextTypes!="object"&&o("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",y)}}function Ic(s,c){var g=c.state;if(typeof c.componentWillMount=="function"){if(c.componentWillMount.__suppressDeprecationWarning!==!0){var y=dn(s)||"Unknown";sr[y]||(a(`componentWillMount has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
118
+ https://reactjs.org/link/unsafe-component-lifecycles`,un,zn,Fe!==null?`
119
+ `+Fe:"",Ge!==null?`
120
+ `+Ge:"",at!==null?`
121
+ `+at:""))}}}return te}function Uu(s,d,m){{var x=pn(d)||"Component",T=s.render;T||(d.prototype&&typeof d.prototype.render=="function"?o("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",x):o("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",x)),s.getInitialState&&!s.getInitialState.isReactClassApproved&&!s.state&&o("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",x),s.getDefaultProps&&!s.getDefaultProps.isReactClassApproved&&o("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",x),s.propTypes&&o("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",x),s.contextType&&o("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",x),s.contextTypes&&o("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",x),d.contextType&&d.contextTypes&&!al.has(d)&&(al.add(d),o("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.",x)),typeof s.componentShouldUpdate=="function"&&o("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",x),d.prototype&&d.prototype.isPureReactComponent&&typeof s.shouldComponentUpdate<"u"&&o("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",pn(d)||"A pure component"),typeof s.componentDidUnmount=="function"&&o("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",x),typeof s.componentDidReceiveProps=="function"&&o("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",x),typeof s.componentWillRecieveProps=="function"&&o("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",x),typeof s.UNSAFE_componentWillRecieveProps=="function"&&o("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",x);var B=s.props!==m;s.props!==void 0&&B&&o("%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",x,x),s.defaultProps&&o("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",x,x),typeof s.getSnapshotBeforeUpdate=="function"&&typeof s.componentDidUpdate!="function"&&!rl.has(d)&&(rl.add(d),o("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",pn(d))),typeof s.getDerivedStateFromProps=="function"&&o("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",x),typeof s.getDerivedStateFromError=="function"&&o("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",x),typeof d.getSnapshotBeforeUpdate=="function"&&o("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",x);var V=s.state;V&&(typeof V!="object"||U(V))&&o("%s.state: must be set to an object or null",x),typeof s.getChildContext=="function"&&typeof d.childContextTypes!="object"&&o("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",x)}}function Lc(s,d){var m=d.state;if(typeof d.componentWillMount=="function"){if(d.componentWillMount.__suppressDeprecationWarning!==!0){var x=pn(s)||"Unknown";lr[x]||(a(`componentWillMount has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
122
122
 
123
123
  * Move code from componentWillMount to componentDidMount (preferred in most cases) or the constructor.
124
124
 
125
- Please update the following components: %s`,y),sr[y]=!0)}c.componentWillMount()}typeof c.UNSAFE_componentWillMount=="function"&&c.UNSAFE_componentWillMount(),g!==c.state&&(o("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",dn(s)||"Component"),Bu.enqueueReplaceState(c,c.state,null))}function Yi(s,c,g,y){if(s.queue!==null&&s.queue.length>0){var T=s.queue,L=s.replace;if(s.queue=null,s.replace=!1,L&&T.length===1)c.state=T[0];else{for(var W=L?T[0]:c.state,ee=!0,pe=L?1:0;pe<T.length;pe++){var De=T[pe],Ge=typeof De=="function"?De.call(c,W,g,y):De;Ge!=null&&(ee?(ee=!1,W=Ln({},W,Ge)):Ln(W,Ge))}c.state=W}}else s.queue=null}function ol(s,c,g,y){Nu(s,c,g);var T=s.state!==void 0?s.state:null;s.updater=Bu,s.props=g,s.state=T;var L={queue:[],replace:!1};wa(s,L);var W=c.contextType;if(typeof W=="object"&&W!==null?s.context=Ha(W):s.context=y,s.state===g){var ee=dn(c)||"Component";rl.has(ee)||(rl.add(ee),o("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",ee))}var pe=c.getDerivedStateFromProps;typeof pe=="function"&&(s.state=Tc(s,c,pe,T,g)),typeof c.getDerivedStateFromProps!="function"&&typeof s.getSnapshotBeforeUpdate!="function"&&(typeof s.UNSAFE_componentWillMount=="function"||typeof s.componentWillMount=="function")&&(Ic(c,s),Yi(L,s,g,y))}var sl={id:1,overflow:""};function Ac(s){var c=s.overflow,g=s.id,y=g&~Ga(g);return y.toString(32)+c}function Yl(s,c,g){var y=s.id,T=s.overflow,L=ll(y)-1,W=y&~(1<<L),ee=g+1,pe=ll(c)+L;if(pe>30){var De=L-L%5,Ge=(1<<De)-1,it=(W&Ge).toString(32),sn=W>>De,Bn=L-De,Tn=ll(c)+Bn,gu=ee<<Bn,mu=gu|sn,Ju=it+T;return{id:1<<Tn|mu,overflow:Ju}}else{var Es=ee<<L,Cf=Es|W,Tf=T;return{id:1<<pe|Cf,overflow:Tf}}}function ll(s){return 32-Oc(s)}function Ga(s){return 1<<ll(s)-1}var Oc=Math.clz32?Math.clz32:Ki,Mc=Math.log,si=Math.LN2;function Ki(s){var c=s>>>0;return c===0?32:31-(Mc(c)/si|0)|0}function Kl(s,c){return s===c&&(s!==0||1/s===1/c)||s!==s&&c!==c}var ul=typeof Object.is=="function"?Object.is:Kl,Bt=null,Za=null,xa=null,$t=null,zr=!1,Ya=!1,Po=0,wn=null,Ur=0,Ka=25,li=!1,Ja;function $n(){if(Bt===null)throw new Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
125
+ Please update the following components: %s`,x),lr[x]=!0)}d.componentWillMount()}typeof d.UNSAFE_componentWillMount=="function"&&d.UNSAFE_componentWillMount(),m!==d.state&&(o("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",pn(s)||"Component"),zu.enqueueReplaceState(d,d.state,null))}function qi(s,d,m,x){if(s.queue!==null&&s.queue.length>0){var T=s.queue,B=s.replace;if(s.queue=null,s.replace=!1,B&&T.length===1)d.state=T[0];else{for(var V=B?T[0]:d.state,te=!0,me=B?1:0;me<T.length;me++){var Fe=T[me],Ge=typeof Fe=="function"?Fe.call(d,V,m,x):Fe;Ge!=null&&(te?(te=!1,V=jn({},V,Ge)):jn(V,Ge))}d.state=V}}else s.queue=null}function sl(s,d,m,x){Uu(s,d,m);var T=s.state!==void 0?s.state:null;s.updater=zu,s.props=m,s.state=T;var B={queue:[],replace:!1};_a(s,B);var V=d.contextType;if(typeof V=="object"&&V!==null?s.context=Ya(V):s.context=x,s.state===m){var te=pn(d)||"Component";il.has(te)||(il.add(te),o("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",te))}var me=d.getDerivedStateFromProps;typeof me=="function"&&(s.state=Fc(s,d,me,T,m)),typeof d.getDerivedStateFromProps!="function"&&typeof s.getSnapshotBeforeUpdate!="function"&&(typeof s.UNSAFE_componentWillMount=="function"||typeof s.componentWillMount=="function")&&(Lc(d,s),qi(B,s,m,x))}var ll={id:1,overflow:""};function Bc(s){var d=s.overflow,m=s.id,x=m&~Ja(m);return x.toString(32)+d}function Kl(s,d,m){var x=s.id,T=s.overflow,B=ul(x)-1,V=x&~(1<<B),te=m+1,me=ul(d)+B;if(me>30){var Fe=B-B%5,Ge=(1<<Fe)-1,at=(V&Ge).toString(32),un=V>>Fe,zn=B-Fe,In=ul(d)+zn,mu=te<<zn,vu=mu|un,qu=at+T;return{id:1<<In|vu,overflow:qu}}else{var Ts=te<<B,Lf=Ts|V,Bf=T;return{id:1<<me|Lf,overflow:Bf}}}function ul(s){return 32-Nc(s)}function Ja(s){return 1<<ul(s)-1}var Nc=Math.clz32?Math.clz32:ea,jc=Math.log,ci=Math.LN2;function ea(s){var d=s>>>0;return d===0?32:31-(jc(d)/ci|0)|0}function Jl(s,d){return s===d&&(s!==0||1/s===1/d)||s!==s&&d!==d}var cl=typeof Object.is=="function"?Object.is:Jl,Nt=null,Qa=null,Ea=null,Yt=null,Wr=!1,Xa=!1,Bo=0,Sn=null,Hr=0,qa=25,di=!1,eo;function Zn(){if(Nt===null)throw new Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
126
126
  1. You might have mismatching versions of React and the renderer (such as React DOM)
127
127
  2. You might be breaking the Rules of Hooks
128
128
  3. You might have more than one copy of React in the same app
129
- See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`);return li&&o("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://reactjs.org/link/rules-of-hooks"),Bt}function Jl(s,c){if(c===null)return o("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",Ja),!1;s.length!==c.length&&o(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
129
+ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`);return di&&o("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://reactjs.org/link/rules-of-hooks"),Nt}function Ql(s,d){if(d===null)return o("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",eo),!1;s.length!==d.length&&o(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
130
130
 
131
131
  Previous: %s
132
- Incoming: %s`,Ja,"["+s.join(", ")+"]","["+c.join(", ")+"]");for(var g=0;g<c.length&&g<s.length;g++)if(!ul(s[g],c[g]))return!1;return!0}function Sa(){if(Ur>0)throw new Error("Rendered more hooks than during the previous render");return{memoizedState:null,queue:null,next:null}}function lr(){return $t===null?xa===null?(zr=!1,xa=$t=Sa()):(zr=!0,$t=xa):$t.next===null?(zr=!1,$t=$t.next=Sa()):(zr=!0,$t=$t.next),$t}function Ql(s,c){Bt=c,Za=s,li=!1,Po=0}function ju(s,c,g,y){for(;Ya;)Ya=!1,Po=0,Ur+=1,$t=null,g=s(c,y);return Ji(),g}function Xl(){var s=Po!==0;return s}function Ji(){li=!1,Bt=null,Za=null,Ya=!1,xa=null,Ur=0,wn=null,$t=null}function ka(s){return li&&o("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo()."),Ha(s)}function ql(s){return Ja="useContext",$n(),Ha(s)}function cl(s,c){return typeof c=="function"?c(s):c}function dl(s){return Ja="useState",zu(cl,s)}function zu(s,c,g){if(s!==cl&&(Ja="useReducer"),Bt=$n(),$t=lr(),zr){var y=$t.queue,T=y.dispatch;if(wn!==null){var L=wn.get(y);if(L!==void 0){wn.delete(y);var W=$t.memoizedState,ee=L;do{var pe=ee.action;li=!0,W=s(W,pe),li=!1,ee=ee.next}while(ee!==null);return $t.memoizedState=W,[W,T]}}return[$t.memoizedState,T]}else{li=!0;var De;s===cl?De=typeof c=="function"?c():c:De=g!==void 0?g(c):c,li=!1,$t.memoizedState=De;var Ge=$t.queue={last:null,dispatch:null},it=Ge.dispatch=Uu.bind(null,Bt,Ge);return[$t.memoizedState,it]}}function eu(s,c){Bt=$n(),$t=lr();var g=c===void 0?null:c;if($t!==null){var y=$t.memoizedState;if(y!==null&&g!==null){var T=y[1];if(Jl(g,T))return y[0]}}li=!0;var L=s();return li=!1,$t.memoizedState=[L,g],L}function Gn(s){Bt=$n(),$t=lr();var c=$t.memoizedState;if(c===null){var g={current:s};return Object.seal(g),$t.memoizedState=g,g}else return c}function tu(s,c){Ja="useLayoutEffect",o("useLayoutEffect does nothing on the server, because its effect cannot be encoded into the server renderer's output format. This will lead to a mismatch between the initial, non-hydrated UI and the intended UI. To avoid this, useLayoutEffect should only be used in components that render exclusively on the client. See https://reactjs.org/link/uselayouteffect-ssr for common fixes.")}function Uu(s,c,g){if(Ur>=Ka)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(s===Bt){Ya=!0;var y={action:g,next:null};wn===null&&(wn=new Map);var T=wn.get(c);if(T===void 0)wn.set(c,y);else{for(var L=T;L.next!==null;)L=L.next;L.next=y}}}function ki(s,c){return eu(function(){return s},c)}function nu(s,c,g){return $n(),c(s._source)}function fl(s,c,g){if(g===void 0)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");return g()}function Qa(s){return $n(),s}function us(){throw new Error("startTransition cannot be called during server rendering.")}function Xn(){return $n(),[!1,us]}function cs(){var s=Za,c=Ac(s.treeContext),g=fs;if(g===null)throw new Error("Invalid hook call. Hooks can only be called inside of the body of a function component.");var y=Po++;return Jn(g,c,y)}function ds(){}var Vu={readContext:ka,useContext:ql,useMemo:eu,useReducer:zu,useRef:Gn,useState:dl,useInsertionEffect:ds,useLayoutEffect:tu,useCallback:ki,useImperativeHandle:ds,useEffect:ds,useDebugValue:ds,useDeferredValue:Qa,useTransition:Xn,useId:cs,useMutableSource:nu,useSyncExternalStore:fl},fs=null;function Do(s){fs=s}function ru(s){try{var c="",g=s;do{switch(g.tag){case 0:c+=es(g.type,null,null);break;case 1:c+=Wl(g.type,null,null);break;case 2:c+=rs(g.type,null,null);break}g=g.parent}while(g);return c}catch(y){return`
133
- Error generating stack: `+y.message+`
134
- `+y.stack}}var Vr=n.ReactCurrentDispatcher,ps=n.ReactDebugCurrentFrame,pl=0,Xa=1,Lo=2,iu=3,qa=4,au=0,ou=1,_i=2,Fc=12800;function Pc(s){return console.error(s),null}function Bo(){}function hs(s,c,g,y,T,L,W,ee,pe){var De=[],Ge=new Set,it={destination:null,responseState:c,progressiveChunkSize:y===void 0?Fc:y,status:au,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:Ge,pingedTasks:De,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:T===void 0?Pc:T,onAllReady:L===void 0?Bo:L,onShellReady:W===void 0?Bo:W,onShellError:ee===void 0?Bo:ee,onFatalError:pe===void 0?Bo:pe},sn=Qi(it,0,null,g,!1,!1);sn.parentFlushed=!0;var Bn=No(it,s,null,sn,Ge,Gi,is,sl);return De.push(Bn),it}function hl(s,c){var g=s.pingedTasks;g.push(c),g.length===1&&v(function(){return hu(s)})}function ui(s,c){return{id:kr,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:c,errorDigest:null}}function No(s,c,g,y,T,L,W,ee){s.allPendingTasks++,g===null?s.pendingRootTasks++:g.pendingTasks++;var pe={node:c,ping:function(){return hl(s,pe)},blockedBoundary:g,blockedSegment:y,abortSet:T,legacyContext:L,context:W,treeContext:ee};return pe.componentStack=null,T.add(pe),pe}function Qi(s,c,g,y,T,L){return{status:pl,id:-1,index:c,parentFlushed:!1,chunks:[],children:[],formatContext:y,boundary:g,lastPushedText:T,textEmbedded:L}}var ci=null;function jo(){return ci===null||ci.componentStack===null?"":ru(ci.componentStack)}function Wr(s,c){s.componentStack={tag:0,parent:s.componentStack,type:c}}function eo(s,c){s.componentStack={tag:1,parent:s.componentStack,type:c}}function gl(s,c){s.componentStack={tag:2,parent:s.componentStack,type:c}}function Hr(s){s.componentStack===null?o("Unexpectedly popped too many stack frames. This is a bug in React."):s.componentStack=s.componentStack.parent}var Xi=null;function su(s,c){{var g;typeof c=="string"?g=c:c&&typeof c.message=="string"?g=c.message:g=String(c);var y=Xi||jo();Xi=null,s.errorMessage=g,s.errorComponentStack=y}}function to(s,c){var g=s.onError(c);if(g!=null&&typeof g!="string")throw new Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof g+'" instead');return g}function gs(s,c){var g=s.onShellError;g(c);var y=s.onFatalError;y(c),s.destination!==null?(s.status=_i,ae(s.destination,c)):(s.status=ou,s.fatalError=c)}function ml(s,c,g){Wr(c,"Suspense");var y=c.blockedBoundary,T=c.blockedSegment,L=g.fallback,W=g.children,ee=new Set,pe=ui(s,ee),De=T.chunks.length,Ge=Qi(s,De,pe,T.formatContext,!1,!1);T.children.push(Ge),T.lastPushedText=!1;var it=Qi(s,0,null,T.formatContext,!1,!1);it.parentFlushed=!0,c.blockedBoundary=pe,c.blockedSegment=it;try{if(di(s,c,W),Au(it.chunks,s.responseState,it.lastPushedText,it.textEmbedded),it.status=Xa,Ss(pe,it),pe.pendingTasks===0){Hr(c);return}}catch(Bn){it.status=qa,pe.forceClientRender=!0,pe.errorDigest=to(s,Bn),su(pe,Bn)}finally{c.blockedBoundary=y,c.blockedSegment=T}var sn=No(s,L,y,Ge,ee,c.legacyContext,c.context,c.treeContext);sn.componentStack=c.componentStack,s.pingedTasks.push(sn),Hr(c)}function Wu(s,c,g,y){Wr(c,g);var T=c.blockedSegment,L=bi(T.chunks,g,y,s.responseState,T.formatContext);T.lastPushedText=!1;var W=T.formatContext;T.formatContext=Li(W,g,y),di(s,c,L),T.formatContext=W,_r(T.chunks,g),T.lastPushedText=!1,Hr(c)}function lu(s){return s.prototype&&s.prototype.isReactComponent}function bt(s,c,g,y,T){var L={};Ql(c,L);var W=g(y,T);return ju(g,y,W,T)}function ms(s,c,g,y,T){var L=g.render();g.props!==T&&(br||o("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",dn(y)||"a component"),br=!0);{var W=y.childContextTypes;if(W!=null){var ee=c.legacyContext,pe=Zi(g,y,ee,W);c.legacyContext=pe,ur(s,c,L),c.legacyContext=ee;return}}ur(s,c,L)}function Hu(s,c,g,y){gl(c,g);var T=Fu(g,c.legacyContext),L=Rc(g,y,T);ol(L,g,y,T),ms(s,c,L,g,y),Hr(c)}var no={},zo={},uu={},cu={},br=!1,$u=!1,vs=!1,bs=!1;function Gu(s,c,g,y){var T;if(T=Fu(g,c.legacyContext),eo(c,g),g.prototype&&typeof g.prototype.render=="function"){var L=dn(g)||"Unknown";no[L]||(o("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",L,L),no[L]=!0)}var W=bt(s,c,g,y,T),ee=Xl();if(typeof W=="object"&&W!==null&&typeof W.render=="function"&&W.$$typeof===void 0){var pe=dn(g)||"Unknown";zo[pe]||(o("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",pe,pe,pe),zo[pe]=!0)}if(typeof W=="object"&&W!==null&&typeof W.render=="function"&&W.$$typeof===void 0){{var De=dn(g)||"Unknown";zo[De]||(o("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",De,De,De),zo[De]=!0)}ol(W,g,y,T),ms(s,c,W,g,y)}else if(Zu(g),ee){var Ge=c.treeContext,it=1,sn=0;c.treeContext=Yl(Ge,it,sn);try{ur(s,c,W)}finally{c.treeContext=Ge}}else ur(s,c,W);Hr(c)}function Zu(s){{if(s&&s.childContextTypes&&o("%s(...): childContextTypes cannot be defined on a function component.",s.displayName||s.name||"Component"),typeof s.getDerivedStateFromProps=="function"){var c=dn(s)||"Unknown";cu[c]||(o("%s: Function components do not support getDerivedStateFromProps.",c),cu[c]=!0)}if(typeof s.contextType=="object"&&s.contextType!==null){var g=dn(s)||"Unknown";uu[g]||(o("%s: Function components do not support contextType.",g),uu[g]=!0)}}}function yr(s,c){if(s&&s.defaultProps){var g=Ln({},c),y=s.defaultProps;for(var T in y)g[T]===void 0&&(g[T]=y[T]);return g}return c}function _a(s,c,g,y,T){eo(c,g.render);var L=bt(s,c,g.render,y,T),W=Xl();if(W){var ee=c.treeContext,pe=1,De=0;c.treeContext=Yl(ee,pe,De);try{ur(s,c,L)}finally{c.treeContext=ee}}else ur(s,c,L);Hr(c)}function du(s,c,g,y,T){var L=g.type,W=yr(L,y);ys(s,c,L,W,T)}function vl(s,c,g,y){g._context===void 0?g!==g.Consumer&&(bs||(bs=!0,o("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):g=g._context;var T=y.children;typeof T!="function"&&o("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it.");var L=Ha(g),W=T(L);ur(s,c,W)}function bl(s,c,g,y){var T=g._context,L=y.value,W=y.children,ee;ee=c.context,c.context=os(T,L),ur(s,c,W),c.context=Oo(T),ee!==c.context&&o("Popping the context provider did not return back to the original snapshot. This is a bug in React.")}function wr(s,c,g,y,T){Wr(c,"Lazy");var L=g._payload,W=g._init,ee=W(L),pe=yr(ee,y);ys(s,c,ee,pe,T),Hr(c)}function ys(s,c,g,y,T){if(typeof g=="function")if(lu(g)){Hu(s,c,g,y);return}else{Gu(s,c,g,y);return}if(typeof g=="string"){Wu(s,c,g,y);return}switch(g){case Js:case Va:case Ne:case ot:case ne:{ur(s,c,y.children);return}case jl:{Wr(c,"SuspenseList"),ur(s,c,y.children),Hr(c);return}case Cc:throw new Error("ReactDOMServer does not yet support scope components.");case ha:{ml(s,c,y);return}}if(typeof g=="object"&&g!==null)switch(g.$$typeof){case Vt:{_a(s,c,g,y,T);return}case vr:{du(s,c,g,y,T);return}case Pt:{bl(s,c,g,y);return}case gn:{vl(s,c,g,y);return}case Ua:{wr(s,c,g,y);return}}var L="";throw(g===void 0||typeof g=="object"&&g!==null&&Object.keys(g).length===0)&&(L+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),new Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) "+("but got: "+(g==null?g:typeof g)+"."+L))}function fu(s,c){typeof Symbol=="function"&&s[Symbol.toStringTag]==="Generator"&&($u||o("Using Generators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. Keep in mind you might need to polyfill these features for older browsers."),$u=!0),s.entries===c&&(vs||o("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),vs=!0)}function ur(s,c,g){try{return ws(s,c,g)}catch(y){throw typeof y=="object"&&y!==null&&typeof y.then=="function"||(Xi=Xi!==null?Xi:jo()),y}}function ws(s,c,g){if(c.node=g,typeof g=="object"&&g!==null){switch(g.$$typeof){case Y:{var y=g,T=y.type,L=y.props,W=y.ref;ys(s,c,T,L,W);return}case se:throw new Error("Portals are not currently supported by the server renderer. Render them conditionally so that they only appear on the client render.");case Ua:{var ee=g,pe=ee._payload,De=ee._init,Ge;try{Ge=De(pe)}catch(Es){throw typeof Es=="object"&&Es!==null&&typeof Es.then=="function"&&Wr(c,"Lazy"),Es}ur(s,c,Ge);return}}if(U(g)){qi(s,c,g);return}var it=cn(g);if(it){fu(g,it);var sn=it.call(g);if(sn){var Bn=sn.next();if(!Bn.done){var Tn=[];do Tn.push(Bn.value),Bn=sn.next();while(!Bn.done);qi(s,c,Tn);return}return}}var gu=Object.prototype.toString.call(g);throw new Error("Objects are not valid as a React child (found: "+(gu==="[object Object]"?"object with keys {"+Object.keys(g).join(", ")+"}":gu)+"). If you meant to render a collection of children, use an array instead.")}if(typeof g=="string"){var mu=c.blockedSegment;mu.lastPushedText=Bl(c.blockedSegment.chunks,g,s.responseState,mu.lastPushedText);return}if(typeof g=="number"){var Ju=c.blockedSegment;Ju.lastPushedText=Bl(c.blockedSegment.chunks,""+g,s.responseState,Ju.lastPushedText);return}typeof g=="function"&&o("Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it.")}function qi(s,c,g){for(var y=g.length,T=0;T<y;T++){var L=c.treeContext;c.treeContext=Yl(L,y,T);try{di(s,c,g[T])}finally{c.treeContext=L}}}function Dc(s,c,g){var y=c.blockedSegment,T=y.chunks.length,L=Qi(s,T,null,y.formatContext,y.lastPushedText,!0);y.children.push(L),y.lastPushedText=!1;var W=No(s,c.node,c.blockedBoundary,L,c.abortSet,c.legacyContext,c.context,c.treeContext);c.componentStack!==null&&(W.componentStack=c.componentStack.parent);var ee=W.ping;g.then(ee,ee)}function di(s,c,g){var y=c.blockedSegment.formatContext,T=c.legacyContext,L=c.context,W=null;W=c.componentStack;try{return ur(s,c,g)}catch(ee){if(Ji(),typeof ee=="object"&&ee!==null&&typeof ee.then=="function"){Dc(s,c,ee),c.blockedSegment.formatContext=y,c.legacyContext=T,c.context=L,tl(L),c.componentStack=W;return}else throw c.blockedSegment.formatContext=y,c.legacyContext=T,c.context=L,tl(L),c.componentStack=W,ee}}function xs(s,c,g,y){var T=to(s,y);if(c===null?gs(s,y):(c.pendingTasks--,c.forceClientRender||(c.forceClientRender=!0,c.errorDigest=T,su(c,y),c.parentFlushed&&s.clientRenderedBoundaries.push(c))),s.allPendingTasks--,s.allPendingTasks===0){var L=s.onAllReady;L()}}function pu(s){var c=this,g=s.blockedBoundary,y=s.blockedSegment;y.status=iu,ks(c,g,y)}function yl(s,c,g){var y=s.blockedBoundary,T=s.blockedSegment;if(T.status=iu,y===null)c.allPendingTasks--,c.status!==_i&&(c.status=_i,c.destination!==null&&D(c.destination));else{if(y.pendingTasks--,!y.forceClientRender){y.forceClientRender=!0;var L=g===void 0?new Error("The render was aborted by the server without a reason."):g;y.errorDigest=c.onError(L);{var W="The server did not finish this Suspense boundary: ";L&&typeof L.message=="string"?L=W+L.message:L=W+String(L);var ee=ci;ci=s;try{su(y,L)}finally{ci=ee}}y.parentFlushed&&c.clientRenderedBoundaries.push(y)}if(y.fallbackAbortableTasks.forEach(function(De){return yl(De,c,g)}),y.fallbackAbortableTasks.clear(),c.allPendingTasks--,c.allPendingTasks===0){var pe=c.onAllReady;pe()}}}function Ss(s,c){if(c.chunks.length===0&&c.children.length===1&&c.children[0].boundary===null){var g=c.children[0];g.id=c.id,g.parentFlushed=!0,g.status===Xa&&Ss(s,g)}else{var y=s.completedSegments;y.push(c)}}function ks(s,c,g){if(c===null){if(g.parentFlushed){if(s.completedRootSegment!==null)throw new Error("There can only be one root segment. This is a bug in React.");s.completedRootSegment=g}if(s.pendingRootTasks--,s.pendingRootTasks===0){s.onShellError=Bo;var y=s.onShellReady;y()}}else if(c.pendingTasks--,!c.forceClientRender){if(c.pendingTasks===0)g.parentFlushed&&g.status===Xa&&Ss(c,g),c.parentFlushed&&s.completedBoundaries.push(c),c.fallbackAbortableTasks.forEach(pu,s),c.fallbackAbortableTasks.clear();else if(g.parentFlushed&&g.status===Xa){Ss(c,g);var T=c.completedSegments;T.length===1&&c.parentFlushed&&s.partialBoundaries.push(c)}}if(s.allPendingTasks--,s.allPendingTasks===0){var L=s.onAllReady;L()}}function wl(s,c){var g=c.blockedSegment;if(g.status===pl){tl(c.context);var y=null;y=ci,ci=c;try{ur(s,c,c.node),Au(g.chunks,s.responseState,g.lastPushedText,g.textEmbedded),c.abortSet.delete(c),g.status=Xa,ks(s,c.blockedBoundary,g)}catch(L){if(Ji(),typeof L=="object"&&L!==null&&typeof L.then=="function"){var T=c.ping;L.then(T,T)}else c.abortSet.delete(c),g.status=qa,xs(s,c.blockedBoundary,g,L)}finally{ci=y}}}function hu(s){if(s.status!==_i){var c=ss(),g=Vr.current;Vr.current=Vu;var y;y=ps.getCurrentStack,ps.getCurrentStack=jo;var T=fs;Do(s.responseState);try{var L=s.pingedTasks,W;for(W=0;W<L.length;W++){var ee=L[W];wl(s,ee)}L.splice(0,W),s.destination!==null&&Sl(s,s.destination)}catch(pe){to(s,pe),gs(s,pe)}finally{Do(T),Vr.current=g,ps.getCurrentStack=y,g===Vu&&tl(c)}}}function Uo(s,c,g){switch(g.parentFlushed=!0,g.status){case pl:{var y=g.id=s.nextSegmentId++;return g.lastPushedText=!1,g.textEmbedded=!1,En(c,s.responseState,y)}case Xa:{g.status=Lo;for(var T=!0,L=g.chunks,W=0,ee=g.children,pe=0;pe<ee.length;pe++){for(var De=ee[pe];W<De.index;W++)w(c,L[W]);T=_s(s,c,De)}for(;W<L.length-1;W++)w(c,L[W]);return W<L.length&&(T=E(c,L[W])),T}default:throw new Error("Aborted, errored or already flushed boundaries should not be flushed again. This is a bug in React.")}}function _s(s,c,g){var y=g.boundary;if(y===null)return Uo(s,c,g);if(y.parentFlushed=!0,y.forceClientRender)return jr(c,s.responseState,y.errorDigest,y.errorMessage,y.errorComponentStack),Uo(s,c,g),Ou(c,s.responseState);if(y.pendingTasks>0){y.rootSegmentID=s.nextSegmentId++,y.completedSegments.length>0&&s.partialBoundaries.push(y);var T=y.id=Dr(s.responseState);return da(c,s.responseState,T),Uo(s,c,g),bo(c,s.responseState)}else{if(y.byteSize>s.progressiveChunkSize)return y.rootSegmentID=s.nextSegmentId++,s.completedBoundaries.push(y),da(c,s.responseState,y.id),Uo(s,c,g),bo(c,s.responseState);Nl(c,s.responseState);var L=y.completedSegments;if(L.length!==1)throw new Error("A previously unvisited boundary must have exactly one root segment. This is a bug in React.");var W=L[0];return _s(s,c,W),Ec(c,s.responseState)}}function Yu(s,c,g){return kc(c,s.responseState,g.id,g.errorDigest,g.errorMessage,g.errorComponentStack)}function xl(s,c,g){return Q(c,s.responseState,g.formatContext,g.id),_s(s,c,g),le(c,g.formatContext)}function Zn(s,c,g){for(var y=g.completedSegments,T=0;T<y.length;T++){var L=y[T];Ku(s,c,g,L)}return y.length=0,xc(c,s.responseState,g.id,g.rootSegmentID)}function Ei(s,c,g){for(var y=g.completedSegments,T=0;T<y.length;T++){var L=y[T];if(!Ku(s,c,g,L))return T++,y.splice(0,T),!1}return y.splice(0,T),!0}function Ku(s,c,g,y){if(y.status===Lo)return!0;var T=y.id;if(T===-1){var L=y.id=g.rootSegmentID;if(L===-1)throw new Error("A root segment ID must have been assigned by now. This is a bug in React.");return xl(s,c,y)}else return xl(s,c,y),Tr(c,s.responseState,T)}function Sl(s,c){try{var g=s.completedRootSegment;g!==null&&s.pendingRootTasks===0&&(_s(s,c,g),s.completedRootSegment=null,Jo(c,s.responseState));var y=s.clientRenderedBoundaries,T;for(T=0;T<y.length;T++){var L=y[T];if(!Yu(s,c,L)){s.destination=null,T++,y.splice(0,T);return}}y.splice(0,T);var W=s.completedBoundaries;for(T=0;T<W.length;T++){var ee=W[T];if(!Zn(s,c,ee)){s.destination=null,T++,W.splice(0,T);return}}W.splice(0,T);var pe=s.partialBoundaries;for(T=0;T<pe.length;T++){var De=pe[T];if(!Ei(s,c,De)){s.destination=null,T++,pe.splice(0,T);return}}pe.splice(0,T);var Ge=s.completedBoundaries;for(T=0;T<Ge.length;T++){var it=Ge[T];if(!Zn(s,c,it)){s.destination=null,T++,Ge.splice(0,T);return}}Ge.splice(0,T)}finally{s.allPendingTasks===0&&s.pingedTasks.length===0&&s.clientRenderedBoundaries.length===0&&s.completedBoundaries.length===0&&(s.abortableTasks.size!==0&&o("There was still abortable task at the root when we closed. This is a bug in React."),D(c))}}function kl(s){v(function(){return hu(s)})}function l(s,c){if(s.status===ou){s.status=_i,ae(c,s.fatalError);return}if(s.status!==_i&&s.destination===null){s.destination=c;try{Sl(s,c)}catch(g){to(s,g),gs(s,g)}}}function f(s,c){try{var g=s.abortableTasks;g.forEach(function(y){return yl(y,s,c)}),g.clear(),s.destination!==null&&Sl(s,s.destination)}catch(y){to(s,y),gs(s,y)}}function b(){}function _(s,c,g,y){var T=!1,L=null,W="",ee={push:function(it){return it!==null&&(W+=it),!0},destroy:function(it){T=!0,L=it}},pe=!1;function De(){pe=!0}var Ge=hs(s,_o(g,c?c.identifierPrefix:void 0),Rr(),1/0,b,void 0,De,void 0,void 0);if(kl(Ge),f(Ge,y),l(Ge,ee),T)throw L;if(!pe)throw new Error("A component suspended while responding to synchronous input. This will cause the UI to be replaced with a loading indicator. To fix, updates that suspend should be wrapped with startTransition.");return W}function M(s,c){return _(s,c,!1,'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')}function N(s,c){return _(s,c,!0,'The server used "renderToStaticMarkup" which does not support Suspense. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')}function H(){throw new Error("ReactDOMServer.renderToNodeStream(): The streaming API is not available in the browser. Use ReactDOMServer.renderToString() instead.")}function te(){throw new Error("ReactDOMServer.renderToStaticNodeStream(): The streaming API is not available in the browser. Use ReactDOMServer.renderToStaticMarkup() instead.")}Ol.renderToNodeStream=H,Ol.renderToStaticMarkup=N,Ol.renderToStaticNodeStream=te,Ol.renderToString=M,Ol.version=e}()),Ol}var Sd={};/**
132
+ Incoming: %s`,eo,"["+s.join(", ")+"]","["+d.join(", ")+"]");for(var m=0;m<d.length&&m<s.length;m++)if(!cl(s[m],d[m]))return!1;return!0}function Ca(){if(Hr>0)throw new Error("Rendered more hooks than during the previous render");return{memoizedState:null,queue:null,next:null}}function ur(){return Yt===null?Ea===null?(Wr=!1,Ea=Yt=Ca()):(Wr=!0,Yt=Ea):Yt.next===null?(Wr=!1,Yt=Yt.next=Ca()):(Wr=!0,Yt=Yt.next),Yt}function Xl(s,d){Nt=d,Qa=s,di=!1,Bo=0}function Vu(s,d,m,x){for(;Xa;)Xa=!1,Bo=0,Hr+=1,Yt=null,m=s(d,x);return ta(),m}function ql(){var s=Bo!==0;return s}function ta(){di=!1,Nt=null,Qa=null,Xa=!1,Ea=null,Hr=0,Sn=null,Yt=null}function Ta(s){return di&&o("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo()."),Ya(s)}function eu(s){return eo="useContext",Zn(),Ya(s)}function dl(s,d){return typeof d=="function"?d(s):d}function fl(s){return eo="useState",Wu(dl,s)}function Wu(s,d,m){if(s!==dl&&(eo="useReducer"),Nt=Zn(),Yt=ur(),Wr){var x=Yt.queue,T=x.dispatch;if(Sn!==null){var B=Sn.get(x);if(B!==void 0){Sn.delete(x);var V=Yt.memoizedState,te=B;do{var me=te.action;di=!0,V=s(V,me),di=!1,te=te.next}while(te!==null);return Yt.memoizedState=V,[V,T]}}return[Yt.memoizedState,T]}else{di=!0;var Fe;s===dl?Fe=typeof d=="function"?d():d:Fe=m!==void 0?m(d):d,di=!1,Yt.memoizedState=Fe;var Ge=Yt.queue={last:null,dispatch:null},at=Ge.dispatch=Hu.bind(null,Nt,Ge);return[Yt.memoizedState,at]}}function tu(s,d){Nt=Zn(),Yt=ur();var m=d===void 0?null:d;if(Yt!==null){var x=Yt.memoizedState;if(x!==null&&m!==null){var T=x[1];if(Ql(m,T))return x[0]}}di=!0;var B=s();return di=!1,Yt.memoizedState=[B,m],B}function Yn(s){Nt=Zn(),Yt=ur();var d=Yt.memoizedState;if(d===null){var m={current:s};return Object.seal(m),Yt.memoizedState=m,m}else return d}function nu(s,d){eo="useLayoutEffect",o("useLayoutEffect does nothing on the server, because its effect cannot be encoded into the server renderer's output format. This will lead to a mismatch between the initial, non-hydrated UI and the intended UI. To avoid this, useLayoutEffect should only be used in components that render exclusively on the client. See https://reactjs.org/link/uselayouteffect-ssr for common fixes.")}function Hu(s,d,m){if(Hr>=qa)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(s===Nt){Xa=!0;var x={action:m,next:null};Sn===null&&(Sn=new Map);var T=Sn.get(d);if(T===void 0)Sn.set(d,x);else{for(var B=T;B.next!==null;)B=B.next;B.next=x}}}function Ti(s,d){return tu(function(){return s},d)}function ru(s,d,m){return Zn(),d(s._source)}function pl(s,d,m){if(m===void 0)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");return m()}function to(s){return Zn(),s}function ds(){throw new Error("startTransition cannot be called during server rendering.")}function er(){return Zn(),[!1,ds]}function fs(){var s=Qa,d=Bc(s.treeContext),m=hs;if(m===null)throw new Error("Invalid hook call. Hooks can only be called inside of the body of a function component.");var x=Bo++;return Xn(m,d,x)}function ps(){}var $u={readContext:Ta,useContext:eu,useMemo:tu,useReducer:Wu,useRef:Yn,useState:fl,useInsertionEffect:ps,useLayoutEffect:nu,useCallback:Ti,useImperativeHandle:ps,useEffect:ps,useDebugValue:ps,useDeferredValue:to,useTransition:er,useId:fs,useMutableSource:ru,useSyncExternalStore:pl},hs=null;function No(s){hs=s}function iu(s){try{var d="",m=s;do{switch(m.tag){case 0:d+=ns(m.type,null,null);break;case 1:d+=Hl(m.type,null,null);break;case 2:d+=as(m.type,null,null);break}m=m.parent}while(m);return d}catch(x){return`
133
+ Error generating stack: `+x.message+`
134
+ `+x.stack}}var $r=n.ReactCurrentDispatcher,gs=n.ReactDebugCurrentFrame,hl=0,no=1,jo=2,au=3,ro=4,ou=0,su=1,Ri=2,zc=12800;function Uc(s){return console.error(s),null}function zo(){}function ms(s,d,m,x,T,B,V,te,me){var Fe=[],Ge=new Set,at={destination:null,responseState:d,progressiveChunkSize:x===void 0?zc:x,status:ou,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:Ge,pingedTasks:Fe,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:T===void 0?Uc:T,onAllReady:B===void 0?zo:B,onShellReady:V===void 0?zo:V,onShellError:te===void 0?zo:te,onFatalError:me===void 0?zo:me},un=na(at,0,null,m,!1,!1);un.parentFlushed=!0;var zn=Uo(at,s,null,un,Ge,Qi,os,ll);return Fe.push(zn),at}function gl(s,d){var m=s.pingedTasks;m.push(d),m.length===1&&g(function(){return gu(s)})}function fi(s,d){return{id:Cr,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:d,errorDigest:null}}function Uo(s,d,m,x,T,B,V,te){s.allPendingTasks++,m===null?s.pendingRootTasks++:m.pendingTasks++;var me={node:d,ping:function(){return gl(s,me)},blockedBoundary:m,blockedSegment:x,abortSet:T,legacyContext:B,context:V,treeContext:te};return me.componentStack=null,T.add(me),me}function na(s,d,m,x,T,B){return{status:hl,id:-1,index:d,parentFlushed:!1,chunks:[],children:[],formatContext:x,boundary:m,lastPushedText:T,textEmbedded:B}}var pi=null;function Vo(){return pi===null||pi.componentStack===null?"":iu(pi.componentStack)}function Gr(s,d){s.componentStack={tag:0,parent:s.componentStack,type:d}}function io(s,d){s.componentStack={tag:1,parent:s.componentStack,type:d}}function ml(s,d){s.componentStack={tag:2,parent:s.componentStack,type:d}}function Zr(s){s.componentStack===null?o("Unexpectedly popped too many stack frames. This is a bug in React."):s.componentStack=s.componentStack.parent}var ra=null;function lu(s,d){{var m;typeof d=="string"?m=d:d&&typeof d.message=="string"?m=d.message:m=String(d);var x=ra||Vo();ra=null,s.errorMessage=m,s.errorComponentStack=x}}function ao(s,d){var m=s.onError(d);if(m!=null&&typeof m!="string")throw new Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof m+'" instead');return m}function vs(s,d){var m=s.onShellError;m(d);var x=s.onFatalError;x(d),s.destination!==null?(s.status=Ri,ae(s.destination,d)):(s.status=su,s.fatalError=d)}function vl(s,d,m){Gr(d,"Suspense");var x=d.blockedBoundary,T=d.blockedSegment,B=m.fallback,V=m.children,te=new Set,me=fi(s,te),Fe=T.chunks.length,Ge=na(s,Fe,me,T.formatContext,!1,!1);T.children.push(Ge),T.lastPushedText=!1;var at=na(s,0,null,T.formatContext,!1,!1);at.parentFlushed=!0,d.blockedBoundary=me,d.blockedSegment=at;try{if(hi(s,d,V),Pu(at.chunks,s.responseState,at.lastPushedText,at.textEmbedded),at.status=no,_s(me,at),me.pendingTasks===0){Zr(d);return}}catch(zn){at.status=ro,me.forceClientRender=!0,me.errorDigest=ao(s,zn),lu(me,zn)}finally{d.blockedBoundary=x,d.blockedSegment=T}var un=Uo(s,B,x,Ge,te,d.legacyContext,d.context,d.treeContext);un.componentStack=d.componentStack,s.pingedTasks.push(un),Zr(d)}function Gu(s,d,m,x){Gr(d,m);var T=d.blockedSegment,B=Si(T.chunks,m,x,s.responseState,T.formatContext);T.lastPushedText=!1;var V=T.formatContext;T.formatContext=Ui(V,m,x),hi(s,d,B),T.formatContext=V,Tr(T.chunks,m),T.lastPushedText=!1,Zr(d)}function uu(s){return s.prototype&&s.prototype.isReactComponent}function vt(s,d,m,x,T){var B={};Xl(d,B);var V=m(x,T);return Vu(m,x,V,T)}function bs(s,d,m,x,T){var B=m.render();m.props!==T&&(yr||o("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",pn(x)||"a component"),yr=!0);{var V=x.childContextTypes;if(V!=null){var te=d.legacyContext,me=Xi(m,x,te,V);d.legacyContext=me,cr(s,d,B),d.legacyContext=te;return}}cr(s,d,B)}function Zu(s,d,m,x){ml(d,m);var T=Lu(m,d.legacyContext),B=Dc(m,x,T);sl(B,m,x,T),bs(s,d,B,m,x),Zr(d)}var oo={},Wo={},cu={},du={},yr=!1,Yu=!1,ys=!1,ws=!1;function Ku(s,d,m,x){var T;if(T=Lu(m,d.legacyContext),io(d,m),m.prototype&&typeof m.prototype.render=="function"){var B=pn(m)||"Unknown";oo[B]||(o("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",B,B),oo[B]=!0)}var V=vt(s,d,m,x,T),te=ql();if(typeof V=="object"&&V!==null&&typeof V.render=="function"&&V.$$typeof===void 0){var me=pn(m)||"Unknown";Wo[me]||(o("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",me,me,me),Wo[me]=!0)}if(typeof V=="object"&&V!==null&&typeof V.render=="function"&&V.$$typeof===void 0){{var Fe=pn(m)||"Unknown";Wo[Fe]||(o("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",Fe,Fe,Fe),Wo[Fe]=!0)}sl(V,m,x,T),bs(s,d,V,m,x)}else if(Ju(m),te){var Ge=d.treeContext,at=1,un=0;d.treeContext=Kl(Ge,at,un);try{cr(s,d,V)}finally{d.treeContext=Ge}}else cr(s,d,V);Zr(d)}function Ju(s){{if(s&&s.childContextTypes&&o("%s(...): childContextTypes cannot be defined on a function component.",s.displayName||s.name||"Component"),typeof s.getDerivedStateFromProps=="function"){var d=pn(s)||"Unknown";du[d]||(o("%s: Function components do not support getDerivedStateFromProps.",d),du[d]=!0)}if(typeof s.contextType=="object"&&s.contextType!==null){var m=pn(s)||"Unknown";cu[m]||(o("%s: Function components do not support contextType.",m),cu[m]=!0)}}}function wr(s,d){if(s&&s.defaultProps){var m=jn({},d),x=s.defaultProps;for(var T in x)m[T]===void 0&&(m[T]=x[T]);return m}return d}function Ra(s,d,m,x,T){io(d,m.render);var B=vt(s,d,m.render,x,T),V=ql();if(V){var te=d.treeContext,me=1,Fe=0;d.treeContext=Kl(te,me,Fe);try{cr(s,d,B)}finally{d.treeContext=te}}else cr(s,d,B);Zr(d)}function fu(s,d,m,x,T){var B=m.type,V=wr(B,x);xs(s,d,B,V,T)}function bl(s,d,m,x){m._context===void 0?m!==m.Consumer&&(ws||(ws=!0,o("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):m=m._context;var T=x.children;typeof T!="function"&&o("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it.");var B=Ya(m),V=T(B);cr(s,d,V)}function yl(s,d,m,x){var T=m._context,B=x.value,V=x.children,te;te=d.context,d.context=ls(T,B),cr(s,d,V),d.context=Fo(T),te!==d.context&&o("Popping the context provider did not return back to the original snapshot. This is a bug in React.")}function xr(s,d,m,x,T){Gr(d,"Lazy");var B=m._payload,V=m._init,te=V(B),me=wr(te,x);xs(s,d,te,me,T),Zr(d)}function xs(s,d,m,x,T){if(typeof m=="function")if(uu(m)){Zu(s,d,m,x);return}else{Ku(s,d,m,x);return}if(typeof m=="string"){Gu(s,d,m,x);return}switch(m){case Qs:case Ga:case Be:case st:case re:{cr(s,d,x.children);return}case zl:{Gr(d,"SuspenseList"),cr(s,d,x.children),Zr(d);return}case Pc:throw new Error("ReactDOMServer does not yet support scope components.");case ba:{vl(s,d,x);return}}if(typeof m=="object"&&m!==null)switch(m.$$typeof){case Wt:{Ra(s,d,m,x,T);return}case br:{fu(s,d,m,x,T);return}case Dt:{yl(s,d,m,x);return}case mn:{bl(s,d,m,x);return}case $a:{xr(s,d,m,x);return}}var B="";throw(m===void 0||typeof m=="object"&&m!==null&&Object.keys(m).length===0)&&(B+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),new Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) "+("but got: "+(m==null?m:typeof m)+"."+B))}function pu(s,d){typeof Symbol=="function"&&s[Symbol.toStringTag]==="Generator"&&(Yu||o("Using Generators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. Keep in mind you might need to polyfill these features for older browsers."),Yu=!0),s.entries===d&&(ys||o("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),ys=!0)}function cr(s,d,m){try{return Ss(s,d,m)}catch(x){throw typeof x=="object"&&x!==null&&typeof x.then=="function"||(ra=ra!==null?ra:Vo()),x}}function Ss(s,d,m){if(d.node=m,typeof m=="object"&&m!==null){switch(m.$$typeof){case Y:{var x=m,T=x.type,B=x.props,V=x.ref;xs(s,d,T,B,V);return}case oe:throw new Error("Portals are not currently supported by the server renderer. Render them conditionally so that they only appear on the client render.");case $a:{var te=m,me=te._payload,Fe=te._init,Ge;try{Ge=Fe(me)}catch(Ts){throw typeof Ts=="object"&&Ts!==null&&typeof Ts.then=="function"&&Gr(d,"Lazy"),Ts}cr(s,d,Ge);return}}if(U(m)){ia(s,d,m);return}var at=fn(m);if(at){pu(m,at);var un=at.call(m);if(un){var zn=un.next();if(!zn.done){var In=[];do In.push(zn.value),zn=un.next();while(!zn.done);ia(s,d,In);return}return}}var mu=Object.prototype.toString.call(m);throw new Error("Objects are not valid as a React child (found: "+(mu==="[object Object]"?"object with keys {"+Object.keys(m).join(", ")+"}":mu)+"). If you meant to render a collection of children, use an array instead.")}if(typeof m=="string"){var vu=d.blockedSegment;vu.lastPushedText=Nl(d.blockedSegment.chunks,m,s.responseState,vu.lastPushedText);return}if(typeof m=="number"){var qu=d.blockedSegment;qu.lastPushedText=Nl(d.blockedSegment.chunks,""+m,s.responseState,qu.lastPushedText);return}typeof m=="function"&&o("Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it.")}function ia(s,d,m){for(var x=m.length,T=0;T<x;T++){var B=d.treeContext;d.treeContext=Kl(B,x,T);try{hi(s,d,m[T])}finally{d.treeContext=B}}}function Vc(s,d,m){var x=d.blockedSegment,T=x.chunks.length,B=na(s,T,null,x.formatContext,x.lastPushedText,!0);x.children.push(B),x.lastPushedText=!1;var V=Uo(s,d.node,d.blockedBoundary,B,d.abortSet,d.legacyContext,d.context,d.treeContext);d.componentStack!==null&&(V.componentStack=d.componentStack.parent);var te=V.ping;m.then(te,te)}function hi(s,d,m){var x=d.blockedSegment.formatContext,T=d.legacyContext,B=d.context,V=null;V=d.componentStack;try{return cr(s,d,m)}catch(te){if(ta(),typeof te=="object"&&te!==null&&typeof te.then=="function"){Vc(s,d,te),d.blockedSegment.formatContext=x,d.legacyContext=T,d.context=B,nl(B),d.componentStack=V;return}else throw d.blockedSegment.formatContext=x,d.legacyContext=T,d.context=B,nl(B),d.componentStack=V,te}}function ks(s,d,m,x){var T=ao(s,x);if(d===null?vs(s,x):(d.pendingTasks--,d.forceClientRender||(d.forceClientRender=!0,d.errorDigest=T,lu(d,x),d.parentFlushed&&s.clientRenderedBoundaries.push(d))),s.allPendingTasks--,s.allPendingTasks===0){var B=s.onAllReady;B()}}function hu(s){var d=this,m=s.blockedBoundary,x=s.blockedSegment;x.status=au,Es(d,m,x)}function wl(s,d,m){var x=s.blockedBoundary,T=s.blockedSegment;if(T.status=au,x===null)d.allPendingTasks--,d.status!==Ri&&(d.status=Ri,d.destination!==null&&P(d.destination));else{if(x.pendingTasks--,!x.forceClientRender){x.forceClientRender=!0;var B=m===void 0?new Error("The render was aborted by the server without a reason."):m;x.errorDigest=d.onError(B);{var V="The server did not finish this Suspense boundary: ";B&&typeof B.message=="string"?B=V+B.message:B=V+String(B);var te=pi;pi=s;try{lu(x,B)}finally{pi=te}}x.parentFlushed&&d.clientRenderedBoundaries.push(x)}if(x.fallbackAbortableTasks.forEach(function(Fe){return wl(Fe,d,m)}),x.fallbackAbortableTasks.clear(),d.allPendingTasks--,d.allPendingTasks===0){var me=d.onAllReady;me()}}}function _s(s,d){if(d.chunks.length===0&&d.children.length===1&&d.children[0].boundary===null){var m=d.children[0];m.id=d.id,m.parentFlushed=!0,m.status===no&&_s(s,m)}else{var x=s.completedSegments;x.push(d)}}function Es(s,d,m){if(d===null){if(m.parentFlushed){if(s.completedRootSegment!==null)throw new Error("There can only be one root segment. This is a bug in React.");s.completedRootSegment=m}if(s.pendingRootTasks--,s.pendingRootTasks===0){s.onShellError=zo;var x=s.onShellReady;x()}}else if(d.pendingTasks--,!d.forceClientRender){if(d.pendingTasks===0)m.parentFlushed&&m.status===no&&_s(d,m),d.parentFlushed&&s.completedBoundaries.push(d),d.fallbackAbortableTasks.forEach(hu,s),d.fallbackAbortableTasks.clear();else if(m.parentFlushed&&m.status===no){_s(d,m);var T=d.completedSegments;T.length===1&&d.parentFlushed&&s.partialBoundaries.push(d)}}if(s.allPendingTasks--,s.allPendingTasks===0){var B=s.onAllReady;B()}}function xl(s,d){var m=d.blockedSegment;if(m.status===hl){nl(d.context);var x=null;x=pi,pi=d;try{cr(s,d,d.node),Pu(m.chunks,s.responseState,m.lastPushedText,m.textEmbedded),d.abortSet.delete(d),m.status=no,Es(s,d.blockedBoundary,m)}catch(B){if(ta(),typeof B=="object"&&B!==null&&typeof B.then=="function"){var T=d.ping;B.then(T,T)}else d.abortSet.delete(d),m.status=ro,ks(s,d.blockedBoundary,m,B)}finally{pi=x}}}function gu(s){if(s.status!==Ri){var d=us(),m=$r.current;$r.current=$u;var x;x=gs.getCurrentStack,gs.getCurrentStack=Vo;var T=hs;No(s.responseState);try{var B=s.pingedTasks,V;for(V=0;V<B.length;V++){var te=B[V];xl(s,te)}B.splice(0,V),s.destination!==null&&kl(s,s.destination)}catch(me){ao(s,me),vs(s,me)}finally{No(T),$r.current=m,gs.getCurrentStack=x,m===$u&&nl(d)}}}function Ho(s,d,m){switch(m.parentFlushed=!0,m.status){case hl:{var x=m.id=s.nextSegmentId++;return m.lastPushedText=!1,m.textEmbedded=!1,Tn(d,s.responseState,x)}case no:{m.status=jo;for(var T=!0,B=m.chunks,V=0,te=m.children,me=0;me<te.length;me++){for(var Fe=te[me];V<Fe.index;V++)w(d,B[V]);T=Cs(s,d,Fe)}for(;V<B.length-1;V++)w(d,B[V]);return V<B.length&&(T=E(d,B[V])),T}default:throw new Error("Aborted, errored or already flushed boundaries should not be flushed again. This is a bug in React.")}}function Cs(s,d,m){var x=m.boundary;if(x===null)return Ho(s,d,m);if(x.parentFlushed=!0,x.forceClientRender)return Vr(d,s.responseState,x.errorDigest,x.errorMessage,x.errorComponentStack),Ho(s,d,m),Fu(d,s.responseState);if(x.pendingTasks>0){x.rootSegmentID=s.nextSegmentId++,x.completedSegments.length>0&&s.partialBoundaries.push(x);var T=x.id=Nr(s.responseState);return ga(d,s.responseState,T),Ho(s,d,m),xo(d,s.responseState)}else{if(x.byteSize>s.progressiveChunkSize)return x.rootSegmentID=s.nextSegmentId++,s.completedBoundaries.push(x),ga(d,s.responseState,x.id),Ho(s,d,m),xo(d,s.responseState);jl(d,s.responseState);var B=x.completedSegments;if(B.length!==1)throw new Error("A previously unvisited boundary must have exactly one root segment. This is a bug in React.");var V=B[0];return Cs(s,d,V),Mc(d,s.responseState)}}function Qu(s,d,m){return Ac(d,s.responseState,m.id,m.errorDigest,m.errorMessage,m.errorComponentStack)}function Sl(s,d,m){return Q(d,s.responseState,m.formatContext,m.id),Cs(s,d,m),ce(d,m.formatContext)}function Kn(s,d,m){for(var x=m.completedSegments,T=0;T<x.length;T++){var B=x[T];Xu(s,d,m,B)}return x.length=0,Rc(d,s.responseState,m.id,m.rootSegmentID)}function Ii(s,d,m){for(var x=m.completedSegments,T=0;T<x.length;T++){var B=x[T];if(!Xu(s,d,m,B))return T++,x.splice(0,T),!1}return x.splice(0,T),!0}function Xu(s,d,m,x){if(x.status===jo)return!0;var T=x.id;if(T===-1){var B=x.id=m.rootSegmentID;if(B===-1)throw new Error("A root segment ID must have been assigned by now. This is a bug in React.");return Sl(s,d,x)}else return Sl(s,d,x),Ar(d,s.responseState,T)}function kl(s,d){try{var m=s.completedRootSegment;m!==null&&s.pendingRootTasks===0&&(Cs(s,d,m),s.completedRootSegment=null,Xo(d,s.responseState));var x=s.clientRenderedBoundaries,T;for(T=0;T<x.length;T++){var B=x[T];if(!Qu(s,d,B)){s.destination=null,T++,x.splice(0,T);return}}x.splice(0,T);var V=s.completedBoundaries;for(T=0;T<V.length;T++){var te=V[T];if(!Kn(s,d,te)){s.destination=null,T++,V.splice(0,T);return}}V.splice(0,T);var me=s.partialBoundaries;for(T=0;T<me.length;T++){var Fe=me[T];if(!Ii(s,d,Fe)){s.destination=null,T++,me.splice(0,T);return}}me.splice(0,T);var Ge=s.completedBoundaries;for(T=0;T<Ge.length;T++){var at=Ge[T];if(!Kn(s,d,at)){s.destination=null,T++,Ge.splice(0,T);return}}Ge.splice(0,T)}finally{s.allPendingTasks===0&&s.pingedTasks.length===0&&s.clientRenderedBoundaries.length===0&&s.completedBoundaries.length===0&&(s.abortableTasks.size!==0&&o("There was still abortable task at the root when we closed. This is a bug in React."),P(d))}}function _l(s){g(function(){return gu(s)})}function l(s,d){if(s.status===su){s.status=Ri,ae(d,s.fatalError);return}if(s.status!==Ri&&s.destination===null){s.destination=d;try{kl(s,d)}catch(m){ao(s,m),vs(s,m)}}}function f(s,d){try{var m=s.abortableTasks;m.forEach(function(x){return wl(x,s,d)}),m.clear(),s.destination!==null&&kl(s,s.destination)}catch(x){ao(s,x),vs(s,x)}}function b(){}function _(s,d,m,x){var T=!1,B=null,V="",te={push:function(at){return at!==null&&(V+=at),!0},destroy:function(at){T=!0,B=at}},me=!1;function Fe(){me=!0}var Ge=ms(s,To(m,d?d.identifierPrefix:void 0),Or(),1/0,b,void 0,Fe,void 0,void 0);if(_l(Ge),f(Ge,x),l(Ge,te),T)throw B;if(!me)throw new Error("A component suspended while responding to synchronous input. This will cause the UI to be replaced with a loading indicator. To fix, updates that suspend should be wrapped with startTransition.");return V}function M(s,d){return _(s,d,!1,'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')}function N(s,d){return _(s,d,!0,'The server used "renderToStaticMarkup" which does not support Suspense. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')}function H(){throw new Error("ReactDOMServer.renderToNodeStream(): The streaming API is not available in the browser. Use ReactDOMServer.renderToString() instead.")}function ne(){throw new Error("ReactDOMServer.renderToStaticNodeStream(): The streaming API is not available in the browser. Use ReactDOMServer.renderToStaticMarkup() instead.")}Ml.renderToNodeStream=H,Ml.renderToStaticMarkup=N,Ml.renderToStaticNodeStream=ne,Ml.renderToString=M,Ml.version=e}()),Ml}var Td={};/**
135
135
  * @license React
136
136
  * react-dom-server.browser.development.js
137
137
  *
@@ -139,57 +139,57 @@ Error generating stack: `+y.message+`
139
139
  *
140
140
  * This source code is licensed under the MIT license found in the
141
141
  * LICENSE file in the root directory of this source tree.
142
- */var Eh;function Ny(){return Eh||(Eh=1,process.env.NODE_ENV!=="production"&&function(){var r=Me,e="18.2.0",n=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function a(l){{for(var f=arguments.length,b=new Array(f>1?f-1:0),_=1;_<f;_++)b[_-1]=arguments[_];d("warn",l,b)}}function o(l){{for(var f=arguments.length,b=new Array(f>1?f-1:0),_=1;_<f;_++)b[_-1]=arguments[_];d("error",l,b)}}function d(l,f,b){{var _=n.ReactDebugCurrentFrame,M=_.getStackAddendum();M!==""&&(f+="%s",b=b.concat([M]));var N=b.map(function(H){return String(H)});N.unshift("Warning: "+f),Function.prototype.apply.call(console[l],console,N)}}function v(l){l()}var x=512,w=null,E=0;function B(l){w=new Uint8Array(x),E=0}function D(l,f){if(f.length!==0){if(f.length>x){E>0&&(l.enqueue(new Uint8Array(w.buffer,0,E)),w=new Uint8Array(x),E=0),l.enqueue(f);return}var b=f,_=w.length-E;_<b.length&&(_===0?l.enqueue(w):(w.set(b.subarray(0,_),E),l.enqueue(w),b=b.subarray(_)),w=new Uint8Array(x),E=0),w.set(b,E),E+=b.length}}function V(l,f){return D(l,f),!0}function he(l){w&&E>0&&(l.enqueue(new Uint8Array(w.buffer,0,E)),w=null,E=0)}function ae(l){l.close()}var ye=new TextEncoder;function Z(l){return ye.encode(l)}function G(l){return ye.encode(l)}function ue(l,f){typeof l.error=="function"?l.error(f):l.close()}function be(l){{var f=typeof Symbol=="function"&&Symbol.toStringTag,b=f&&l[Symbol.toStringTag]||l.constructor.name||"Object";return b}}function ke(l){try{return re(l),!1}catch{return!0}}function re(l){return""+l}function Ie(l,f){if(ke(l))return o("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",f,be(l)),re(l)}function Te(l,f){if(ke(l))return o("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",f,be(l)),re(l)}function Dt(l){if(ke(l))return o("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",be(l)),re(l)}var dt=Object.prototype.hasOwnProperty,Mt=0,ve=1,xe=2,Re=3,Be=4,Ye=5,He=6,je=":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",ze=je+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",pt=new RegExp("^["+je+"]["+ze+"]*$"),oe={},ce={};function Ae(l){return dt.call(ce,l)?!0:dt.call(oe,l)?!1:pt.test(l)?(ce[l]=!0,!0):(oe[l]=!0,o("Invalid attribute name: `%s`",l),!1)}function Ze(l,f,b,_){if(b!==null&&b.type===Mt)return!1;switch(typeof f){case"function":case"symbol":return!0;case"boolean":{if(_)return!1;if(b!==null)return!b.acceptsBooleans;var M=l.toLowerCase().slice(0,5);return M!=="data-"&&M!=="aria-"}default:return!1}}function Pe(l){return Oe.hasOwnProperty(l)?Oe[l]:null}function Fe(l,f,b,_,M,N,H){this.acceptsBooleans=f===xe||f===Re||f===Be,this.attributeName=_,this.attributeNamespace=M,this.mustUseProperty=b,this.propertyName=l,this.type=f,this.sanitizeURL=N,this.removeEmptyString=H}var Oe={},qe=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];qe.forEach(function(l){Oe[l]=new Fe(l,Mt,!1,l,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(l){var f=l[0],b=l[1];Oe[f]=new Fe(f,ve,!1,b,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(l){Oe[l]=new Fe(l,xe,!1,l.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(l){Oe[l]=new Fe(l,xe,!1,l,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"].forEach(function(l){Oe[l]=new Fe(l,Re,!1,l.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(l){Oe[l]=new Fe(l,Re,!0,l,null,!1,!1)}),["capture","download"].forEach(function(l){Oe[l]=new Fe(l,Be,!1,l,null,!1,!1)}),["cols","rows","size","span"].forEach(function(l){Oe[l]=new Fe(l,He,!1,l,null,!1,!1)}),["rowSpan","start"].forEach(function(l){Oe[l]=new Fe(l,Ye,!1,l.toLowerCase(),null,!1,!1)});var et=/[\-\:]([a-z])/g,Ke=function(l){return l[1].toUpperCase()};["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"].forEach(function(l){var f=l.replace(et,Ke);Oe[f]=new Fe(f,ve,!1,l,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(l){var f=l.replace(et,Ke);Oe[f]=new Fe(f,ve,!1,l,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(l){var f=l.replace(et,Ke);Oe[f]=new Fe(f,ve,!1,l,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(l){Oe[l]=new Fe(l,ve,!1,l.toLowerCase(),null,!1,!1)});var nt="xlinkHref";Oe[nt]=new Fe("xlinkHref",ve,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(l){Oe[l]=new Fe(l,ve,!1,l.toLowerCase(),null,!0,!0)});var kt={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0};function _e(l,f){return l+f.charAt(0).toUpperCase()+f.substring(1)}var It=["Webkit","ms","Moz","O"];Object.keys(kt).forEach(function(l){It.forEach(function(f){kt[_e(f,l)]=kt[l]})});var mt={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function fn(l,f){mt[f.type]||f.onChange||f.onInput||f.readOnly||f.disabled||f.value==null||o("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),f.onChange||f.readOnly||f.disabled||f.checked==null||o("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function jn(l,f){if(l.indexOf("-")===-1)return typeof f.is=="string";switch(l){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Sn={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},zn={},dr=new RegExp("^(aria)-["+ze+"]*$"),nr=new RegExp("^(aria)[A-Z]["+ze+"]*$");function Mn(l,f){{if(dt.call(zn,f)&&zn[f])return!0;if(nr.test(f)){var b="aria-"+f.slice(4).toLowerCase(),_=Sn.hasOwnProperty(b)?b:null;if(_==null)return o("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",f),zn[f]=!0,!0;if(f!==_)return o("Invalid ARIA attribute `%s`. Did you mean `%s`?",f,_),zn[f]=!0,!0}if(dr.test(f)){var M=f.toLowerCase(),N=Sn.hasOwnProperty(M)?M:null;if(N==null)return zn[f]=!0,!1;if(f!==N)return o("Unknown ARIA attribute `%s`. Did you mean `%s`?",f,N),zn[f]=!0,!0}}return!0}function yn(l,f){{var b=[];for(var _ in f){var M=Mn(l,_);M||b.push(_)}var N=b.map(function(H){return"`"+H+"`"}).join(", ");b.length===1?o("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",N,l):b.length>1&&o("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",N,l)}}function pn(l,f){jn(l,f)||yn(l,f)}var hn=!1;function fr(l,f){{if(l!=="input"&&l!=="textarea"&&l!=="select")return;f!=null&&f.value===null&&!hn&&(hn=!0,l==="select"&&f.multiple?o("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",l):o("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",l))}}var gi={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},Un=function(){};{var Zt={},Ar=/^on./,Zr=/^on[^A-Z]/,Or=new RegExp("^(aria)-["+ze+"]*$"),Yr=new RegExp("^(aria)[A-Z]["+ze+"]*$");Un=function(l,f,b,_){if(dt.call(Zt,f)&&Zt[f])return!0;var M=f.toLowerCase();if(M==="onfocusin"||M==="onfocusout")return o("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),Zt[f]=!0,!0;if(_!=null){var N=_.registrationNameDependencies,H=_.possibleRegistrationNames;if(N.hasOwnProperty(f))return!0;var te=H.hasOwnProperty(M)?H[M]:null;if(te!=null)return o("Invalid event handler property `%s`. Did you mean `%s`?",f,te),Zt[f]=!0,!0;if(Ar.test(f))return o("Unknown event handler property `%s`. It will be ignored.",f),Zt[f]=!0,!0}else if(Ar.test(f))return Zr.test(f)&&o("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",f),Zt[f]=!0,!0;if(Or.test(f)||Yr.test(f))return!0;if(M==="innerhtml")return o("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),Zt[f]=!0,!0;if(M==="aria")return o("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),Zt[f]=!0,!0;if(M==="is"&&b!==null&&b!==void 0&&typeof b!="string")return o("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof b),Zt[f]=!0,!0;if(typeof b=="number"&&isNaN(b))return o("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",f),Zt[f]=!0,!0;var s=Pe(f),c=s!==null&&s.type===Mt;if(gi.hasOwnProperty(M)){var g=gi[M];if(g!==f)return o("Invalid DOM property `%s`. Did you mean `%s`?",f,g),Zt[f]=!0,!0}else if(!c&&f!==M)return o("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",f,M),Zt[f]=!0,!0;return typeof b=="boolean"&&Ze(f,b,s,!1)?(b?o('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',b,f,f,b,f):o('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',b,f,f,b,f,f,f),Zt[f]=!0,!0):c?!0:Ze(f,b,s,!1)?(Zt[f]=!0,!1):((b==="false"||b==="true")&&s!==null&&s.type===Re&&(o("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",b,f,b==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',f,b),Zt[f]=!0),!0)}}var Mr=function(l,f,b){{var _=[];for(var M in f){var N=Un(l,M,f[M],b);N||_.push(M)}var H=_.map(function(te){return"`"+te+"`"}).join(", ");_.length===1?o("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",H,l):_.length>1&&o("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",H,l)}};function Mi(l,f,b){jn(l,f)||Mr(l,f,b)}var Kr=function(){};{var pr=/^(?:webkit|moz|o)[A-Z]/,Jr=/^-ms-/,ia=/-(.)/g,kn=/;\s*$/,rr={},Fn={},At=!1,hr=!1,Qr=function(l){return l.replace(ia,function(f,b){return b.toUpperCase()})},Xr=function(l){rr.hasOwnProperty(l)&&rr[l]||(rr[l]=!0,o("Unsupported style property %s. Did you mean %s?",l,Qr(l.replace(Jr,"ms-"))))},ir=function(l){rr.hasOwnProperty(l)&&rr[l]||(rr[l]=!0,o("Unsupported vendor-prefixed style property %s. Did you mean %s?",l,l.charAt(0).toUpperCase()+l.slice(1)))},qr=function(l,f){Fn.hasOwnProperty(f)&&Fn[f]||(Fn[f]=!0,o(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,l,f.replace(kn,"")))},gr=function(l,f){At||(At=!0,o("`NaN` is an invalid value for the `%s` css style property.",l))},nn=function(l,f){hr||(hr=!0,o("`Infinity` is an invalid value for the `%s` css style property.",l))};Kr=function(l,f){l.indexOf("-")>-1?Xr(l):pr.test(l)?ir(l):kn.test(f)&&qr(l,f),typeof f=="number"&&(isNaN(f)?gr(l,f):isFinite(f)||nn(l,f))}}var Fi=Kr,ei=/["'&<>]/;function Pi(l){Dt(l);var f=""+l,b=ei.exec(f);if(!b)return f;var _,M="",N,H=0;for(N=b.index;N<f.length;N++){switch(f.charCodeAt(N)){case 34:_="&quot;";break;case 38:_="&amp;";break;case 39:_="&#x27;";break;case 60:_="&lt;";break;case 62:_="&gt;";break;default:continue}H!==N&&(M+=f.substring(H,N)),H=N+1,M+=_}return H!==N?M+f.substring(H,N):M}function rn(l){return typeof l=="boolean"||typeof l=="number"?""+l:Pi(l)}var Di=/([A-Z])/g,Fa=/^ms-/;function Pa(l){return l.replace(Di,"-$1").toLowerCase().replace(Fa,"-ms-")}var U=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*\:/i,ge=!1;function Ce(l){!ge&&U.test(l)&&(ge=!0,o("A future version of React will block javascript: URLs as a security precaution. Use event handlers instead if you can. If you need to generate unsafe HTML try using dangerouslySetInnerHTML instead. React was passed %s.",JSON.stringify(l)))}var tt=Array.isArray;function vt(l){return tt(l)}var _t=G("<script>"),wt=G("<\/script>"),ft=G('<script src="'),ln=G('<script type="module" src="'),zt=G('" async=""><\/script>');function Ut(l){return Dt(l),(""+l).replace(on,In)}var on=/(<\/|<)(s)(cript)/gi,In=function(l,f,b,_){return""+f+(b==="s"?"\\u0073":"\\u0053")+_};function Fr(l,f,b,_,M){var N=l===void 0?"":l,H=f===void 0?_t:G('<script nonce="'+rn(f)+'">'),te=[];if(b!==void 0&&te.push(H,Z(Ut(b)),wt),_!==void 0)for(var s=0;s<_.length;s++)te.push(ft,Z(rn(_[s])),zt);if(M!==void 0)for(var c=0;c<M.length;c++)te.push(ln,Z(rn(M[c])),zt);return{bootstrapChunks:te,startInlineScript:H,placeholderPrefix:G(N+"P:"),segmentPrefix:G(N+"S:"),boundaryPrefix:N+"B:",idPrefix:N,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}var Xt=0,un=1,Pr=2,Sr=3,_n=4,Li=5,kr=6,Dr=7;function Jn(l,f){return{insertionMode:l,selectedValue:f}}function ti(l){var f=l==="http://www.w3.org/2000/svg"?Pr:l==="http://www.w3.org/1998/Math/MathML"?Sr:Xt;return Jn(f,null)}function mi(l,f,b){switch(f){case"select":return Jn(un,b.value!=null?b.value:b.defaultValue);case"svg":return Jn(Pr,null);case"math":return Jn(Sr,null);case"foreignObject":return Jn(un,null);case"table":return Jn(_n,null);case"thead":case"tbody":case"tfoot":return Jn(Li,null);case"colgroup":return Jn(Dr,null);case"tr":return Jn(kr,null)}return l.insertionMode>=_n||l.insertionMode===Xt?Jn(un,null):l}var aa=null;function oa(l){var f=l.nextSuspenseID++;return G(l.boundaryPrefix+f.toString(16))}function Bi(l,f,b){var _=l.idPrefix,M=":"+_+"R"+f;return b>0&&(M+="H"+b.toString(32)),M+":"}function Lr(l){return rn(l)}var Da=G("<!-- -->");function Ni(l,f,b,_){return f===""?_:(_&&l.push(Da),l.push(Z(Lr(f))),!0)}function ni(l,f,b,_){b&&_&&l.push(Da)}var p=new Map;function k(l){var f=p.get(l);if(f!==void 0)return f;var b=G(rn(Pa(l)));return p.set(l,b),b}var A=G(' style="'),F=G(":"),X=G(";");function K(l,f,b){if(typeof b!="object")throw new Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");var _=!0;for(var M in b)if(dt.call(b,M)){var N=b[M];if(!(N==null||typeof N=="boolean"||N==="")){var H=void 0,te=void 0,s=M.indexOf("--")===0;s?(H=Z(rn(M)),Te(N,M),te=Z(rn((""+N).trim()))):(Fi(M,N),H=k(M),typeof N=="number"?N!==0&&!dt.call(kt,M)?te=Z(N+"px"):te=Z(""+N):(Te(N,M),te=Z(rn((""+N).trim())))),_?(_=!1,l.push(A,H,F,te)):l.push(X,H,F,te)}}_||l.push(Ve)}var ie=G(" "),we=G('="'),Ve=G('"'),Qe=G('=""');function Je(l,f,b,_){switch(b){case"style":{K(l,f,_);return}case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(b.length>2&&(b[0]==="o"||b[0]==="O")&&(b[1]==="n"||b[1]==="N"))){var M=Pe(b);if(M!==null){switch(typeof _){case"function":case"symbol":return;case"boolean":if(!M.acceptsBooleans)return}var N=M.attributeName,H=Z(N);switch(M.type){case Re:_&&l.push(ie,H,Qe);return;case Be:_===!0?l.push(ie,H,Qe):_===!1||l.push(ie,H,we,Z(rn(_)),Ve);return;case Ye:isNaN(_)||l.push(ie,H,we,Z(rn(_)),Ve);break;case He:!isNaN(_)&&_>=1&&l.push(ie,H,we,Z(rn(_)),Ve);break;default:M.sanitizeURL&&(Ie(_,N),_=""+_,Ce(_)),l.push(ie,H,we,Z(rn(_)),Ve)}}else if(Ae(b)){switch(typeof _){case"function":case"symbol":return;case"boolean":{var te=b.toLowerCase().slice(0,5);if(te!=="data-"&&te!=="aria-")return}}l.push(ie,Z(b),we,Z(rn(_)),Ve)}}}var Ft=G(">"),ar=G("/>");function Pn(l,f,b){if(f!=null){if(b!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof f!="object"||!("__html"in f))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");var _=f.__html;_!=null&&(Dt(_),l.push(Z(""+_)))}}var Dn=!1,Br=!1,mr=!1,sa=!1,vi=!1,ji=!1,Nr=!1;function La(l,f){{var b=l[f];if(b!=null){var _=vt(b);l.multiple&&!_?o("The `%s` prop supplied to <select> must be an array if `multiple` is true.",f):!l.multiple&&_&&o("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.",f)}}}function Fl(l,f,b){fn("select",f),La(f,"value"),La(f,"defaultValue"),f.value!==void 0&&f.defaultValue!==void 0&&!mr&&(o("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://reactjs.org/link/controlled-components"),mr=!0),l.push(_r("select"));var _=null,M=null;for(var N in f)if(dt.call(f,N)){var H=f[N];if(H==null)continue;switch(N){case"children":_=H;break;case"dangerouslySetInnerHTML":M=H;break;case"defaultValue":case"value":break;default:Je(l,b,N,H);break}}return l.push(Ft),Pn(l,M,_),_}function Pl(l){var f="";return r.Children.forEach(l,function(b){b!=null&&(f+=b,!vi&&typeof b!="string"&&typeof b!="number"&&(vi=!0,o("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}),f}var Zo=G(' selected=""');function Yo(l,f,b,_){var M=_.selectedValue;l.push(_r("option"));var N=null,H=null,te=null,s=null;for(var c in f)if(dt.call(f,c)){var g=f[c];if(g==null)continue;switch(c){case"children":N=g;break;case"selected":te=g,Nr||(o("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),Nr=!0);break;case"dangerouslySetInnerHTML":s=g;break;case"value":H=g;default:Je(l,b,c,g);break}}if(M!=null){var y;if(H!==null?(Ie(H,"value"),y=""+H):(s!==null&&(ji||(ji=!0,o("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),y=Pl(N)),vt(M))for(var T=0;T<M.length;T++){Ie(M[T],"value");var L=""+M[T];if(L===y){l.push(Zo);break}}else Ie(M,"select.value"),""+M===y&&l.push(Zo)}else te&&l.push(Zo);return l.push(Ft),Pn(l,s,N),N}function Ko(l,f,b){fn("input",f),f.checked!==void 0&&f.defaultChecked!==void 0&&!Br&&(o("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components","A component",f.type),Br=!0),f.value!==void 0&&f.defaultValue!==void 0&&!Dn&&(o("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components","A component",f.type),Dn=!0),l.push(_r("input"));var _=null,M=null,N=null,H=null;for(var te in f)if(dt.call(f,te)){var s=f[te];if(s==null)continue;switch(te){case"children":case"dangerouslySetInnerHTML":throw new Error("input is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");case"defaultChecked":H=s;break;case"defaultValue":M=s;break;case"checked":N=s;break;case"value":_=s;break;default:Je(l,b,te,s);break}}return N!==null?Je(l,b,"checked",N):H!==null&&Je(l,b,"checked",H),_!==null?Je(l,b,"value",_):M!==null&&Je(l,b,"value",M),l.push(ar),null}function ri(l,f,b){fn("textarea",f),f.value!==void 0&&f.defaultValue!==void 0&&!sa&&(o("Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://reactjs.org/link/controlled-components"),sa=!0),l.push(_r("textarea"));var _=null,M=null,N=null;for(var H in f)if(dt.call(f,H)){var te=f[H];if(te==null)continue;switch(H){case"children":N=te;break;case"value":_=te;break;case"defaultValue":M=te;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");default:Je(l,b,H,te);break}}if(_===null&&M!==null&&(_=M),l.push(Ft),N!=null){if(o("Use the `defaultValue` or `value` props instead of setting children on <textarea>."),_!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(vt(N)){if(N.length>1)throw new Error("<textarea> can only have at most one child.");Dt(N[0]),_=""+N[0]}Dt(N),_=""+N}return typeof _=="string"&&_[0]===`
143
- `&&l.push(zi),_!==null&&(Ie(_,"value"),l.push(Z(Lr(""+_)))),null}function Ba(l,f,b,_){l.push(_r(b));for(var M in f)if(dt.call(f,M)){var N=f[M];if(N==null)continue;switch(M){case"children":case"dangerouslySetInnerHTML":throw new Error(b+" is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:Je(l,_,M,N);break}}return l.push(ar),null}function fo(l,f,b){l.push(_r("menuitem"));for(var _ in f)if(dt.call(f,_)){var M=f[_];if(M==null)continue;switch(_){case"children":case"dangerouslySetInnerHTML":throw new Error("menuitems cannot have `children` nor `dangerouslySetInnerHTML`.");default:Je(l,b,_,M);break}}return l.push(Ft),null}function Kt(l,f,b){l.push(_r("title"));var _=null;for(var M in f)if(dt.call(f,M)){var N=f[M];if(N==null)continue;switch(M){case"children":_=N;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <title>.");default:Je(l,b,M,N);break}}l.push(Ft);{var H=Array.isArray(_)&&_.length<2?_[0]||null:_;Array.isArray(_)&&_.length>1?o("A title element received an array with more than 1 element as children. In browsers title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering"):H!=null&&H.$$typeof!=null?o("A title element received a React element for children. In the browser title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering"):H!=null&&typeof H!="string"&&typeof H!="number"&&o("A title element received a value that was not a string or number for children. In the browser title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering")}return _}function Lt(l,f,b,_){l.push(_r(b));var M=null,N=null;for(var H in f)if(dt.call(f,H)){var te=f[H];if(te==null)continue;switch(H){case"children":M=te;break;case"dangerouslySetInnerHTML":N=te;break;default:Je(l,_,H,te);break}}return l.push(Ft),Pn(l,N,M),typeof M=="string"?(l.push(Z(Lr(M))),null):M}function xt(l,f,b,_){l.push(_r(b));var M=null,N=null;for(var H in f)if(dt.call(f,H)){var te=f[H];if(te==null)continue;switch(H){case"children":M=te;break;case"dangerouslySetInnerHTML":N=te;break;case"style":K(l,_,te);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:Ae(H)&&typeof te!="function"&&typeof te!="symbol"&&l.push(ie,Z(H),we,Z(rn(te)),Ve);break}}return l.push(Ft),Pn(l,N,M),M}var zi=G(`
144
- `);function bi(l,f,b,_){l.push(_r(b));var M=null,N=null;for(var H in f)if(dt.call(f,H)){var te=f[H];if(te==null)continue;switch(H){case"children":M=te;break;case"dangerouslySetInnerHTML":N=te;break;default:Je(l,_,H,te);break}}if(l.push(Ft),N!=null){if(M!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof N!="object"||!("__html"in N))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");var s=N.__html;s!=null&&(typeof s=="string"&&s.length>0&&s[0]===`
145
- `?l.push(zi,Z(s)):(Dt(s),l.push(Z(""+s))))}return typeof M=="string"&&M[0]===`
146
- `&&l.push(zi),M}var po=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,yi=new Map;function _r(l){var f=yi.get(l);if(f===void 0){if(!po.test(l))throw new Error("Invalid tag: "+l);f=G("<"+l),yi.set(l,f)}return f}var Jo=G("<!DOCTYPE html>");function ho(l,f,b,_,M){switch(pn(f,b),fr(f,b),Mi(f,b,null),!b.suppressContentEditableWarning&&b.contentEditable&&b.children!=null&&o("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional."),M.insertionMode!==Pr&&M.insertionMode!==Sr&&f.indexOf("-")===-1&&typeof b.is!="string"&&f.toLowerCase()!==f&&o("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",f),f){case"select":return Fl(l,b,_);case"option":return Yo(l,b,_,M);case"textarea":return ri(l,b,_);case"input":return Ko(l,b,_);case"menuitem":return fo(l,b,_);case"title":return Kt(l,b,_);case"listing":case"pre":return bi(l,b,f,_);case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":return Ba(l,b,f,_);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 Lt(l,b,f,_);case"html":return M.insertionMode===Xt&&l.push(Jo),Lt(l,b,f,_);default:return f.indexOf("-")===-1&&typeof b.is!="string"?Lt(l,b,f,_):xt(l,b,f,_)}}var Us=G("</"),En=G(">");function go(l,f,b){switch(f){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:l.push(Us,Z(f),En)}}function Ui(l,f){for(var b=f.bootstrapChunks,_=0;_<b.length-1;_++)D(l,b[_]);return _<b.length?V(l,b[_]):!0}var Vs=G('<template id="'),la=G('"></template>');function Vn(l,f,b){D(l,Vs),D(l,f.placeholderPrefix);var _=Z(b.toString(16));return D(l,_),V(l,la)}var Na=G("<!--$-->"),ua=G('<!--$?--><template id="'),Ws=G('"></template>'),ca=G("<!--$!-->"),mo=G("<!--/$-->"),vo=G("<template"),Cn=G('"'),da=G(' data-dgst="'),Wn=G(' data-msg="'),Hs=G(' data-stck="'),bo=G("></template>");function ii(l,f){return V(l,Na)}function Vi(l,f,b){if(D(l,ua),b===null)throw new Error("An ID must have been assigned before we can complete the boundary.");return D(l,b),V(l,Ws)}function Hn(l,f,b,_,M){var N;return N=V(l,ca),D(l,vo),b&&(D(l,da),D(l,Z(rn(b))),D(l,Cn)),_&&(D(l,Wn),D(l,Z(rn(_))),D(l,Cn)),M&&(D(l,Hs),D(l,Z(rn(M))),D(l,Cn)),N=V(l,bo),N}function qt(l,f){return V(l,mo)}function Er(l,f){return V(l,mo)}function Qo(l,f){return V(l,mo)}var $s=G('<div hidden id="'),fa=G('">'),Gs=G("</div>"),Zs=G('<svg aria-hidden="true" style="display:none" id="'),yo=G('">'),ja=G("</svg>"),za=G('<math aria-hidden="true" style="display:none" id="'),Wi=G('">'),Ys=G("</math>"),wo=G('<table hidden id="'),Xo=G('">'),h=G("</table>"),S=G('<table hidden><tbody id="'),R=G('">'),P=G("</tbody></table>"),q=G('<table hidden><tr id="'),Q=G('">'),le=G("</tr></table>"),Se=G('<table hidden><colgroup id="'),$e=G('">'),ht=G("</colgroup></table>");function at(l,f,b,_){switch(b.insertionMode){case Xt:case un:return D(l,$s),D(l,f.segmentPrefix),D(l,Z(_.toString(16))),V(l,fa);case Pr:return D(l,Zs),D(l,f.segmentPrefix),D(l,Z(_.toString(16))),V(l,yo);case Sr:return D(l,za),D(l,f.segmentPrefix),D(l,Z(_.toString(16))),V(l,Wi);case _n:return D(l,wo),D(l,f.segmentPrefix),D(l,Z(_.toString(16))),V(l,Xo);case Li:return D(l,S),D(l,f.segmentPrefix),D(l,Z(_.toString(16))),V(l,R);case kr:return D(l,q),D(l,f.segmentPrefix),D(l,Z(_.toString(16))),V(l,Q);case Dr:return D(l,Se),D(l,f.segmentPrefix),D(l,Z(_.toString(16))),V(l,$e);default:throw new Error("Unknown insertion mode. This is a bug in React.")}}function Jt(l,f){switch(f.insertionMode){case Xt:case un:return V(l,Gs);case Pr:return V(l,ja);case Sr:return V(l,Ys);case _n:return V(l,h);case Li:return V(l,P);case kr:return V(l,le);case Dr:return V(l,ht);default:throw new Error("Unknown insertion mode. This is a bug in React.")}}var Qn="function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)}",Cr='function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}}',Tr='function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())}',xo=G(Qn+';$RS("'),Ks=G('$RS("'),qo=G('","'),So=G('")<\/script>');function xc(l,f,b){D(l,f.startInlineScript),f.sentCompleteSegmentFunction?D(l,Ks):(f.sentCompleteSegmentFunction=!0,D(l,xo)),D(l,f.segmentPrefix);var _=Z(b.toString(16));return D(l,_),D(l,qo),D(l,f.placeholderPrefix),D(l,_),V(l,So)}var Sc=G(Cr+';$RC("'),Dl=G('$RC("'),Iu=G('","'),pa=G('")<\/script>');function ko(l,f,b,_){if(D(l,f.startInlineScript),f.sentCompleteBoundaryFunction?D(l,Dl):(f.sentCompleteBoundaryFunction=!0,D(l,Sc)),b===null)throw new Error("An ID must have been assigned before we can complete the boundary.");var M=Z(_.toString(16));return D(l,b),D(l,Iu),D(l,f.segmentPrefix),D(l,M),V(l,pa)}var kc=G(Tr+';$RX("'),_c=G('$RX("'),Ll=G('"'),_o=G(")<\/script>"),Rr=G(",");function Bl(l,f,b,_,M,N){if(D(l,f.startInlineScript),f.sentClientRenderFunction?D(l,_c):(f.sentClientRenderFunction=!0,D(l,kc)),b===null)throw new Error("An ID must have been assigned before we can complete the boundary.");return D(l,b),D(l,Ll),(_||M||N)&&(D(l,Rr),D(l,Z(Nl(_||"")))),(M||N)&&(D(l,Rr),D(l,Z(Nl(M||"")))),N&&(D(l,Rr),D(l,Z(Nl(N)))),V(l,_o)}var Au=/[<\u2028\u2029]/g;function Nl(l){var f=JSON.stringify(l);return f.replace(Au,function(b){switch(b){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw new Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}var jr=Object.assign,Ec=Symbol.for("react.element"),Ou=Symbol.for("react.portal"),Ln=Symbol.for("react.fragment"),Y=Symbol.for("react.strict_mode"),se=Symbol.for("react.profiler"),ne=Symbol.for("react.provider"),Ne=Symbol.for("react.context"),ot=Symbol.for("react.forward_ref"),Pt=Symbol.for("react.suspense"),gn=Symbol.for("react.suspense_list"),Vt=Symbol.for("react.memo"),ha=Symbol.for("react.lazy"),jl=Symbol.for("react.scope"),vr=Symbol.for("react.debug_trace_mode"),Ua=Symbol.for("react.legacy_hidden"),Cc=Symbol.for("react.default_value"),Va=Symbol.iterator,Js="@@iterator";function Qs(l){if(l===null||typeof l!="object")return null;var f=Va&&l[Va]||l[Js];return typeof f=="function"?f:null}function Ht(l,f,b){var _=l.displayName;if(_)return _;var M=f.displayName||f.name||"";return M!==""?b+"("+M+")":b}function Mu(l){return l.displayName||"Context"}function cn(l){if(l==null)return null;if(typeof l.tag=="number"&&o("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof l=="function")return l.displayName||l.name||null;if(typeof l=="string")return l;switch(l){case Ln:return"Fragment";case Ou:return"Portal";case se:return"Profiler";case Y:return"StrictMode";case Pt:return"Suspense";case gn:return"SuspenseList"}if(typeof l=="object")switch(l.$$typeof){case Ne:var f=l;return Mu(f)+".Consumer";case ne:var b=l;return Mu(b._context)+".Provider";case ot:return Ht(l,l.render,"ForwardRef");case Vt:var _=l.displayName||null;return _!==null?_:cn(l.type)||"Memo";case ha:{var M=l,N=M._payload,H=M._init;try{return cn(H(N))}catch{return null}}}return null}var ga=0,zl,dn,Eo,Co,wi,To,Xs;function Ro(){}Ro.__reactDisabledLog=!0;function Ul(){{if(ga===0){zl=console.log,dn=console.info,Eo=console.warn,Co=console.error,wi=console.group,To=console.groupCollapsed,Xs=console.groupEnd;var l={configurable:!0,enumerable:!0,value:Ro,writable:!0};Object.defineProperties(console,{info:l,log:l,warn:l,error:l,group:l,groupCollapsed:l,groupEnd:l})}ga++}}function Vl(){{if(ga--,ga===0){var l={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:jr({},l,{value:zl}),info:jr({},l,{value:dn}),warn:jr({},l,{value:Eo}),error:jr({},l,{value:Co}),group:jr({},l,{value:wi}),groupCollapsed:jr({},l,{value:To}),groupEnd:jr({},l,{value:Xs})})}ga<0&&o("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Wa=n.ReactCurrentDispatcher,qs;function Hi(l,f,b){{if(qs===void 0)try{throw Error()}catch(M){var _=M.stack.trim().match(/\n( *(at )?)/);qs=_&&_[1]||""}return`
147
- `+qs+l}}var ai=!1,$i;{var es=typeof WeakMap=="function"?WeakMap:Map;$i=new es}function ts(l,f){if(!l||ai)return"";{var b=$i.get(l);if(b!==void 0)return b}var _;ai=!0;var M=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var N;N=Wa.current,Wa.current=null,Ul();try{if(f){var H=function(){throw Error()};if(Object.defineProperty(H.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(H,[])}catch(W){_=W}Reflect.construct(l,[],H)}else{try{H.call()}catch(W){_=W}l.call(H.prototype)}}else{try{throw Error()}catch(W){_=W}l()}}catch(W){if(W&&_&&typeof W.stack=="string"){for(var te=W.stack.split(`
142
+ */var jh;function d0(){return jh||(jh=1,process.env.NODE_ENV!=="production"&&function(){var r=Pe,e="18.2.0",n=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function a(l){{for(var f=arguments.length,b=new Array(f>1?f-1:0),_=1;_<f;_++)b[_-1]=arguments[_];c("warn",l,b)}}function o(l){{for(var f=arguments.length,b=new Array(f>1?f-1:0),_=1;_<f;_++)b[_-1]=arguments[_];c("error",l,b)}}function c(l,f,b){{var _=n.ReactDebugCurrentFrame,M=_.getStackAddendum();M!==""&&(f+="%s",b=b.concat([M]));var N=b.map(function(H){return String(H)});N.unshift("Warning: "+f),Function.prototype.apply.call(console[l],console,N)}}function g(l){l()}var y=512,w=null,E=0;function L(l){w=new Uint8Array(y),E=0}function P(l,f){if(f.length!==0){if(f.length>y){E>0&&(l.enqueue(new Uint8Array(w.buffer,0,E)),w=new Uint8Array(y),E=0),l.enqueue(f);return}var b=f,_=w.length-E;_<b.length&&(_===0?l.enqueue(w):(w.set(b.subarray(0,_),E),l.enqueue(w),b=b.subarray(_)),w=new Uint8Array(y),E=0),w.set(b,E),E+=b.length}}function W(l,f){return P(l,f),!0}function se(l){w&&E>0&&(l.enqueue(new Uint8Array(w.buffer,0,E)),w=null,E=0)}function ae(l){l.close()}var ke=new TextEncoder;function G(l){return ke.encode(l)}function Z(l){return ke.encode(l)}function be(l,f){typeof l.error=="function"?l.error(f):l.close()}function fe(l){{var f=typeof Symbol=="function"&&Symbol.toStringTag,b=f&&l[Symbol.toStringTag]||l.constructor.name||"Object";return b}}function de(l){try{return ee(l),!1}catch{return!0}}function ee(l){return""+l}function Te(l,f){if(de(l))return o("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",f,fe(l)),ee(l)}function Ie(l,f){if(de(l))return o("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",f,fe(l)),ee(l)}function Lt(l){if(de(l))return o("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",fe(l)),ee(l)}var it=Object.prototype.hasOwnProperty,Pt=0,Vt=1,ge=2,we=3,_e=4,Ye=5,Ze=6,Ne=":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",De=Ne+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",We=new RegExp("^["+Ne+"]["+De+"]*$"),le={},ue={};function Me(l){return it.call(ue,l)?!0:it.call(le,l)?!1:We.test(l)?(ue[l]=!0,!0):(le[l]=!0,o("Invalid attribute name: `%s`",l),!1)}function He(l,f,b,_){if(b!==null&&b.type===Pt)return!1;switch(typeof f){case"function":case"symbol":return!0;case"boolean":{if(_)return!1;if(b!==null)return!b.acceptsBooleans;var M=l.toLowerCase().slice(0,5);return M!=="data-"&&M!=="aria-"}default:return!1}}function ze(l){return Oe.hasOwnProperty(l)?Oe[l]:null}function Ae(l,f,b,_,M,N,H){this.acceptsBooleans=f===ge||f===we||f===_e,this.attributeName=_,this.attributeNamespace=M,this.mustUseProperty=b,this.propertyName=l,this.type=f,this.sanitizeURL=N,this.removeEmptyString=H}var Oe={},Ke=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];Ke.forEach(function(l){Oe[l]=new Ae(l,Pt,!1,l,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(l){var f=l[0],b=l[1];Oe[f]=new Ae(f,Vt,!1,b,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(l){Oe[l]=new Ae(l,ge,!1,l.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(l){Oe[l]=new Ae(l,ge,!1,l,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"].forEach(function(l){Oe[l]=new Ae(l,we,!1,l.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(l){Oe[l]=new Ae(l,we,!0,l,null,!1,!1)}),["capture","download"].forEach(function(l){Oe[l]=new Ae(l,_e,!1,l,null,!1,!1)}),["cols","rows","size","span"].forEach(function(l){Oe[l]=new Ae(l,Ze,!1,l,null,!1,!1)}),["rowSpan","start"].forEach(function(l){Oe[l]=new Ae(l,Ye,!1,l.toLowerCase(),null,!1,!1)});var Qe=/[\-\:]([a-z])/g,Xe=function(l){return l[1].toUpperCase()};["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"].forEach(function(l){var f=l.replace(Qe,Xe);Oe[f]=new Ae(f,Vt,!1,l,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(l){var f=l.replace(Qe,Xe);Oe[f]=new Ae(f,Vt,!1,l,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(l){var f=l.replace(Qe,Xe);Oe[f]=new Ae(f,Vt,!1,l,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(l){Oe[l]=new Ae(l,Vt,!1,l.toLowerCase(),null,!1,!1)});var tt="xlinkHref";Oe[tt]=new Ae("xlinkHref",Vt,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(l){Oe[l]=new Ae(l,Vt,!1,l.toLowerCase(),null,!0,!0)});var yt={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0};function Ee(l,f){return l+f.charAt(0).toUpperCase()+f.substring(1)}var Ct=["Webkit","ms","Moz","O"];Object.keys(yt).forEach(function(l){Ct.forEach(function(f){yt[Ee(f,l)]=yt[l]})});var At={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function qt(l,f){At[f.type]||f.onChange||f.onInput||f.readOnly||f.disabled||f.value==null||o("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),f.onChange||f.readOnly||f.disabled||f.checked==null||o("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function Vn(l,f){if(l.indexOf("-")===-1)return typeof f.is=="string";switch(l){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var kn={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},_n={},fr=new RegExp("^(aria)-["+De+"]*$"),rr=new RegExp("^(aria)[A-Z]["+De+"]*$");function Dn(l,f){{if(it.call(_n,f)&&_n[f])return!0;if(rr.test(f)){var b="aria-"+f.slice(4).toLowerCase(),_=kn.hasOwnProperty(b)?b:null;if(_==null)return o("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",f),_n[f]=!0,!0;if(f!==_)return o("Invalid ARIA attribute `%s`. Did you mean `%s`?",f,_),_n[f]=!0,!0}if(fr.test(f)){var M=f.toLowerCase(),N=kn.hasOwnProperty(M)?M:null;if(N==null)return _n[f]=!0,!1;if(f!==N)return o("Unknown ARIA attribute `%s`. Did you mean `%s`?",f,N),_n[f]=!0,!0}}return!0}function xn(l,f){{var b=[];for(var _ in f){var M=Dn(l,_);M||b.push(_)}var N=b.map(function(H){return"`"+H+"`"}).join(", ");b.length===1?o("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",N,l):b.length>1&&o("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",N,l)}}function hn(l,f){Vn(l,f)||xn(l,f)}var gn=!1;function pr(l,f){{if(l!=="input"&&l!=="textarea"&&l!=="select")return;f!=null&&f.value===null&&!gn&&(gn=!0,l==="select"&&f.multiple?o("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",l):o("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",l))}}var yi={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},Wn=function(){};{var Kt={},Pr=/^on./,Jr=/^on[^A-Z]/,Fr=new RegExp("^(aria)-["+De+"]*$"),Qr=new RegExp("^(aria)[A-Z]["+De+"]*$");Wn=function(l,f,b,_){if(it.call(Kt,f)&&Kt[f])return!0;var M=f.toLowerCase();if(M==="onfocusin"||M==="onfocusout")return o("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),Kt[f]=!0,!0;if(_!=null){var N=_.registrationNameDependencies,H=_.possibleRegistrationNames;if(N.hasOwnProperty(f))return!0;var ne=H.hasOwnProperty(M)?H[M]:null;if(ne!=null)return o("Invalid event handler property `%s`. Did you mean `%s`?",f,ne),Kt[f]=!0,!0;if(Pr.test(f))return o("Unknown event handler property `%s`. It will be ignored.",f),Kt[f]=!0,!0}else if(Pr.test(f))return Jr.test(f)&&o("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",f),Kt[f]=!0,!0;if(Fr.test(f)||Qr.test(f))return!0;if(M==="innerhtml")return o("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),Kt[f]=!0,!0;if(M==="aria")return o("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),Kt[f]=!0,!0;if(M==="is"&&b!==null&&b!==void 0&&typeof b!="string")return o("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof b),Kt[f]=!0,!0;if(typeof b=="number"&&isNaN(b))return o("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",f),Kt[f]=!0,!0;var s=ze(f),d=s!==null&&s.type===Pt;if(yi.hasOwnProperty(M)){var m=yi[M];if(m!==f)return o("Invalid DOM property `%s`. Did you mean `%s`?",f,m),Kt[f]=!0,!0}else if(!d&&f!==M)return o("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",f,M),Kt[f]=!0,!0;return typeof b=="boolean"&&He(f,b,s,!1)?(b?o('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',b,f,f,b,f):o('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',b,f,f,b,f,f,f),Kt[f]=!0,!0):d?!0:He(f,b,s,!1)?(Kt[f]=!0,!1):((b==="false"||b==="true")&&s!==null&&s.type===we&&(o("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",b,f,b==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',f,b),Kt[f]=!0),!0)}}var Dr=function(l,f,b){{var _=[];for(var M in f){var N=Wn(l,M,f[M],b);N||_.push(M)}var H=_.map(function(ne){return"`"+ne+"`"}).join(", ");_.length===1?o("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",H,l):_.length>1&&o("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",H,l)}};function Bi(l,f,b){Vn(l,f)||Dr(l,f,b)}var Xr=function(){};{var hr=/^(?:webkit|moz|o)[A-Z]/,qr=/^-ms-/,la=/-(.)/g,En=/;\s*$/,ir={},Ln={},Ot=!1,gr=!1,ei=function(l){return l.replace(la,function(f,b){return b.toUpperCase()})},ti=function(l){ir.hasOwnProperty(l)&&ir[l]||(ir[l]=!0,o("Unsupported style property %s. Did you mean %s?",l,ei(l.replace(qr,"ms-"))))},ar=function(l){ir.hasOwnProperty(l)&&ir[l]||(ir[l]=!0,o("Unsupported vendor-prefixed style property %s. Did you mean %s?",l,l.charAt(0).toUpperCase()+l.slice(1)))},ni=function(l,f){Ln.hasOwnProperty(f)&&Ln[f]||(Ln[f]=!0,o(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,l,f.replace(En,"")))},mr=function(l,f){Ot||(Ot=!0,o("`NaN` is an invalid value for the `%s` css style property.",l))},an=function(l,f){gr||(gr=!0,o("`Infinity` is an invalid value for the `%s` css style property.",l))};Xr=function(l,f){l.indexOf("-")>-1?ti(l):hr.test(l)?ar(l):En.test(f)&&ni(l,f),typeof f=="number"&&(isNaN(f)?mr(l,f):isFinite(f)||an(l,f))}}var Ni=Xr,ri=/["'&<>]/;function ji(l){Lt(l);var f=""+l,b=ri.exec(f);if(!b)return f;var _,M="",N,H=0;for(N=b.index;N<f.length;N++){switch(f.charCodeAt(N)){case 34:_="&quot;";break;case 38:_="&amp;";break;case 39:_="&#x27;";break;case 60:_="&lt;";break;case 62:_="&gt;";break;default:continue}H!==N&&(M+=f.substring(H,N)),H=N+1,M+=_}return H!==N?M+f.substring(H,N):M}function on(l){return typeof l=="boolean"||typeof l=="number"?""+l:ji(l)}var zi=/([A-Z])/g,Ba=/^ms-/;function Na(l){return l.replace(zi,"-$1").toLowerCase().replace(Ba,"-ms-")}var U=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*\:/i,ve=!1;function Re(l){!ve&&U.test(l)&&(ve=!0,o("A future version of React will block javascript: URLs as a security precaution. Use event handlers instead if you can. If you need to generate unsafe HTML try using dangerouslySetInnerHTML instead. React was passed %s.",JSON.stringify(l)))}var nt=Array.isArray;function mt(l){return nt(l)}var kt=Z("<script>"),wt=Z("<\/script>"),pt=Z('<script src="'),cn=Z('<script type="module" src="'),zt=Z('" async=""><\/script>');function Ut(l){return Lt(l),(""+l).replace(ln,On)}var ln=/(<\/|<)(s)(cript)/gi,On=function(l,f,b,_){return""+f+(b==="s"?"\\u0073":"\\u0053")+_};function Lr(l,f,b,_,M){var N=l===void 0?"":l,H=f===void 0?kt:Z('<script nonce="'+on(f)+'">'),ne=[];if(b!==void 0&&ne.push(H,G(Ut(b)),wt),_!==void 0)for(var s=0;s<_.length;s++)ne.push(pt,G(on(_[s])),zt);if(M!==void 0)for(var d=0;d<M.length;d++)ne.push(cn,G(on(M[d])),zt);return{bootstrapChunks:ne,startInlineScript:H,placeholderPrefix:Z(N+"P:"),segmentPrefix:Z(N+"S:"),boundaryPrefix:N+"B:",idPrefix:N,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}var en=0,dn=1,Br=2,Er=3,Cn=4,Ui=5,Cr=6,Nr=7;function Xn(l,f){return{insertionMode:l,selectedValue:f}}function ii(l){var f=l==="http://www.w3.org/2000/svg"?Br:l==="http://www.w3.org/1998/Math/MathML"?Er:en;return Xn(f,null)}function wi(l,f,b){switch(f){case"select":return Xn(dn,b.value!=null?b.value:b.defaultValue);case"svg":return Xn(Br,null);case"math":return Xn(Er,null);case"foreignObject":return Xn(dn,null);case"table":return Xn(Cn,null);case"thead":case"tbody":case"tfoot":return Xn(Ui,null);case"colgroup":return Xn(Nr,null);case"tr":return Xn(Cr,null)}return l.insertionMode>=Cn||l.insertionMode===en?Xn(dn,null):l}var ua=null;function ca(l){var f=l.nextSuspenseID++;return Z(l.boundaryPrefix+f.toString(16))}function Vi(l,f,b){var _=l.idPrefix,M=":"+_+"R"+f;return b>0&&(M+="H"+b.toString(32)),M+":"}function jr(l){return on(l)}var ja=Z("<!-- -->");function Wi(l,f,b,_){return f===""?_:(_&&l.push(ja),l.push(G(jr(f))),!0)}function ai(l,f,b,_){b&&_&&l.push(ja)}var p=new Map;function k(l){var f=p.get(l);if(f!==void 0)return f;var b=Z(on(Na(l)));return p.set(l,b),b}var A=Z(' style="'),F=Z(":"),X=Z(";");function K(l,f,b){if(typeof b!="object")throw new Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");var _=!0;for(var M in b)if(it.call(b,M)){var N=b[M];if(!(N==null||typeof N=="boolean"||N==="")){var H=void 0,ne=void 0,s=M.indexOf("--")===0;s?(H=G(on(M)),Ie(N,M),ne=G(on((""+N).trim()))):(Ni(M,N),H=k(M),typeof N=="number"?N!==0&&!it.call(yt,M)?ne=G(N+"px"):ne=G(""+N):(Ie(N,M),ne=G(on((""+N).trim())))),_?(_=!1,l.push(A,H,F,ne)):l.push(X,H,F,ne)}}_||l.push(Ue)}var ie=Z(" "),xe=Z('="'),Ue=Z('"'),qe=Z('=""');function Je(l,f,b,_){switch(b){case"style":{K(l,f,_);return}case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(b.length>2&&(b[0]==="o"||b[0]==="O")&&(b[1]==="n"||b[1]==="N"))){var M=ze(b);if(M!==null){switch(typeof _){case"function":case"symbol":return;case"boolean":if(!M.acceptsBooleans)return}var N=M.attributeName,H=G(N);switch(M.type){case we:_&&l.push(ie,H,qe);return;case _e:_===!0?l.push(ie,H,qe):_===!1||l.push(ie,H,xe,G(on(_)),Ue);return;case Ye:isNaN(_)||l.push(ie,H,xe,G(on(_)),Ue);break;case Ze:!isNaN(_)&&_>=1&&l.push(ie,H,xe,G(on(_)),Ue);break;default:M.sanitizeURL&&(Te(_,N),_=""+_,Re(_)),l.push(ie,H,xe,G(on(_)),Ue)}}else if(Me(b)){switch(typeof _){case"function":case"symbol":return;case"boolean":{var ne=b.toLowerCase().slice(0,5);if(ne!=="data-"&&ne!=="aria-")return}}l.push(ie,G(b),xe,G(on(_)),Ue)}}}var Ft=Z(">"),or=Z("/>");function Bn(l,f,b){if(f!=null){if(b!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof f!="object"||!("__html"in f))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");var _=f.__html;_!=null&&(Lt(_),l.push(G(""+_)))}}var Nn=!1,zr=!1,vr=!1,da=!1,xi=!1,Hi=!1,Ur=!1;function za(l,f){{var b=l[f];if(b!=null){var _=mt(b);l.multiple&&!_?o("The `%s` prop supplied to <select> must be an array if `multiple` is true.",f):!l.multiple&&_&&o("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.",f)}}}function Fl(l,f,b){qt("select",f),za(f,"value"),za(f,"defaultValue"),f.value!==void 0&&f.defaultValue!==void 0&&!vr&&(o("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://reactjs.org/link/controlled-components"),vr=!0),l.push(Tr("select"));var _=null,M=null;for(var N in f)if(it.call(f,N)){var H=f[N];if(H==null)continue;switch(N){case"children":_=H;break;case"dangerouslySetInnerHTML":M=H;break;case"defaultValue":case"value":break;default:Je(l,b,N,H);break}}return l.push(Ft),Bn(l,M,_),_}function Dl(l){var f="";return r.Children.forEach(l,function(b){b!=null&&(f+=b,!xi&&typeof b!="string"&&typeof b!="number"&&(xi=!0,o("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}),f}var Ko=Z(' selected=""');function Jo(l,f,b,_){var M=_.selectedValue;l.push(Tr("option"));var N=null,H=null,ne=null,s=null;for(var d in f)if(it.call(f,d)){var m=f[d];if(m==null)continue;switch(d){case"children":N=m;break;case"selected":ne=m,Ur||(o("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),Ur=!0);break;case"dangerouslySetInnerHTML":s=m;break;case"value":H=m;default:Je(l,b,d,m);break}}if(M!=null){var x;if(H!==null?(Te(H,"value"),x=""+H):(s!==null&&(Hi||(Hi=!0,o("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),x=Dl(N)),mt(M))for(var T=0;T<M.length;T++){Te(M[T],"value");var B=""+M[T];if(B===x){l.push(Ko);break}}else Te(M,"select.value"),""+M===x&&l.push(Ko)}else ne&&l.push(Ko);return l.push(Ft),Bn(l,s,N),N}function Qo(l,f,b){qt("input",f),f.checked!==void 0&&f.defaultChecked!==void 0&&!zr&&(o("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components","A component",f.type),zr=!0),f.value!==void 0&&f.defaultValue!==void 0&&!Nn&&(o("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components","A component",f.type),Nn=!0),l.push(Tr("input"));var _=null,M=null,N=null,H=null;for(var ne in f)if(it.call(f,ne)){var s=f[ne];if(s==null)continue;switch(ne){case"children":case"dangerouslySetInnerHTML":throw new Error("input is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");case"defaultChecked":H=s;break;case"defaultValue":M=s;break;case"checked":N=s;break;case"value":_=s;break;default:Je(l,b,ne,s);break}}return N!==null?Je(l,b,"checked",N):H!==null&&Je(l,b,"checked",H),_!==null?Je(l,b,"value",_):M!==null&&Je(l,b,"value",M),l.push(or),null}function oi(l,f,b){qt("textarea",f),f.value!==void 0&&f.defaultValue!==void 0&&!da&&(o("Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://reactjs.org/link/controlled-components"),da=!0),l.push(Tr("textarea"));var _=null,M=null,N=null;for(var H in f)if(it.call(f,H)){var ne=f[H];if(ne==null)continue;switch(H){case"children":N=ne;break;case"value":_=ne;break;case"defaultValue":M=ne;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");default:Je(l,b,H,ne);break}}if(_===null&&M!==null&&(_=M),l.push(Ft),N!=null){if(o("Use the `defaultValue` or `value` props instead of setting children on <textarea>."),_!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(mt(N)){if(N.length>1)throw new Error("<textarea> can only have at most one child.");Lt(N[0]),_=""+N[0]}Lt(N),_=""+N}return typeof _=="string"&&_[0]===`
143
+ `&&l.push($i),_!==null&&(Te(_,"value"),l.push(G(jr(""+_)))),null}function Ua(l,f,b,_){l.push(Tr(b));for(var M in f)if(it.call(f,M)){var N=f[M];if(N==null)continue;switch(M){case"children":case"dangerouslySetInnerHTML":throw new Error(b+" is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:Je(l,_,M,N);break}}return l.push(or),null}function go(l,f,b){l.push(Tr("menuitem"));for(var _ in f)if(it.call(f,_)){var M=f[_];if(M==null)continue;switch(_){case"children":case"dangerouslySetInnerHTML":throw new Error("menuitems cannot have `children` nor `dangerouslySetInnerHTML`.");default:Je(l,b,_,M);break}}return l.push(Ft),null}function Qt(l,f,b){l.push(Tr("title"));var _=null;for(var M in f)if(it.call(f,M)){var N=f[M];if(N==null)continue;switch(M){case"children":_=N;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <title>.");default:Je(l,b,M,N);break}}l.push(Ft);{var H=Array.isArray(_)&&_.length<2?_[0]||null:_;Array.isArray(_)&&_.length>1?o("A title element received an array with more than 1 element as children. In browsers title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering"):H!=null&&H.$$typeof!=null?o("A title element received a React element for children. In the browser title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering"):H!=null&&typeof H!="string"&&typeof H!="number"&&o("A title element received a value that was not a string or number for children. In the browser title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering")}return _}function Bt(l,f,b,_){l.push(Tr(b));var M=null,N=null;for(var H in f)if(it.call(f,H)){var ne=f[H];if(ne==null)continue;switch(H){case"children":M=ne;break;case"dangerouslySetInnerHTML":N=ne;break;default:Je(l,_,H,ne);break}}return l.push(Ft),Bn(l,N,M),typeof M=="string"?(l.push(G(jr(M))),null):M}function xt(l,f,b,_){l.push(Tr(b));var M=null,N=null;for(var H in f)if(it.call(f,H)){var ne=f[H];if(ne==null)continue;switch(H){case"children":M=ne;break;case"dangerouslySetInnerHTML":N=ne;break;case"style":K(l,_,ne);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:Me(H)&&typeof ne!="function"&&typeof ne!="symbol"&&l.push(ie,G(H),xe,G(on(ne)),Ue);break}}return l.push(Ft),Bn(l,N,M),M}var $i=Z(`
144
+ `);function Si(l,f,b,_){l.push(Tr(b));var M=null,N=null;for(var H in f)if(it.call(f,H)){var ne=f[H];if(ne==null)continue;switch(H){case"children":M=ne;break;case"dangerouslySetInnerHTML":N=ne;break;default:Je(l,_,H,ne);break}}if(l.push(Ft),N!=null){if(M!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof N!="object"||!("__html"in N))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");var s=N.__html;s!=null&&(typeof s=="string"&&s.length>0&&s[0]===`
145
+ `?l.push($i,G(s)):(Lt(s),l.push(G(""+s))))}return typeof M=="string"&&M[0]===`
146
+ `&&l.push($i),M}var mo=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,ki=new Map;function Tr(l){var f=ki.get(l);if(f===void 0){if(!mo.test(l))throw new Error("Invalid tag: "+l);f=Z("<"+l),ki.set(l,f)}return f}var Xo=Z("<!DOCTYPE html>");function vo(l,f,b,_,M){switch(hn(f,b),pr(f,b),Bi(f,b,null),!b.suppressContentEditableWarning&&b.contentEditable&&b.children!=null&&o("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional."),M.insertionMode!==Br&&M.insertionMode!==Er&&f.indexOf("-")===-1&&typeof b.is!="string"&&f.toLowerCase()!==f&&o("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",f),f){case"select":return Fl(l,b,_);case"option":return Jo(l,b,_,M);case"textarea":return oi(l,b,_);case"input":return Qo(l,b,_);case"menuitem":return go(l,b,_);case"title":return Qt(l,b,_);case"listing":case"pre":return Si(l,b,f,_);case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":return Ua(l,b,f,_);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 Bt(l,b,f,_);case"html":return M.insertionMode===en&&l.push(Xo),Bt(l,b,f,_);default:return f.indexOf("-")===-1&&typeof b.is!="string"?Bt(l,b,f,_):xt(l,b,f,_)}}var Vs=Z("</"),Tn=Z(">");function bo(l,f,b){switch(f){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:l.push(Vs,G(f),Tn)}}function Gi(l,f){for(var b=f.bootstrapChunks,_=0;_<b.length-1;_++)P(l,b[_]);return _<b.length?W(l,b[_]):!0}var Ws=Z('<template id="'),fa=Z('"></template>');function Hn(l,f,b){P(l,Ws),P(l,f.placeholderPrefix);var _=G(b.toString(16));return P(l,_),W(l,fa)}var Va=Z("<!--$-->"),pa=Z('<!--$?--><template id="'),Hs=Z('"></template>'),ha=Z("<!--$!-->"),yo=Z("<!--/$-->"),wo=Z("<template"),Rn=Z('"'),ga=Z(' data-dgst="'),$n=Z(' data-msg="'),$s=Z(' data-stck="'),xo=Z("></template>");function si(l,f){return W(l,Va)}function Zi(l,f,b){if(P(l,pa),b===null)throw new Error("An ID must have been assigned before we can complete the boundary.");return P(l,b),W(l,Hs)}function Gn(l,f,b,_,M){var N;return N=W(l,ha),P(l,wo),b&&(P(l,ga),P(l,G(on(b))),P(l,Rn)),_&&(P(l,$n),P(l,G(on(_))),P(l,Rn)),M&&(P(l,$s),P(l,G(on(M))),P(l,Rn)),N=W(l,xo),N}function tn(l,f){return W(l,yo)}function Rr(l,f){return W(l,yo)}function qo(l,f){return W(l,yo)}var Gs=Z('<div hidden id="'),ma=Z('">'),Zs=Z("</div>"),Ys=Z('<svg aria-hidden="true" style="display:none" id="'),So=Z('">'),Wa=Z("</svg>"),Ha=Z('<math aria-hidden="true" style="display:none" id="'),Yi=Z('">'),Ks=Z("</math>"),ko=Z('<table hidden id="'),es=Z('">'),h=Z("</table>"),S=Z('<table hidden><tbody id="'),R=Z('">'),D=Z("</tbody></table>"),q=Z('<table hidden><tr id="'),Q=Z('">'),ce=Z("</tr></table>"),Se=Z('<table hidden><colgroup id="'),$e=Z('">'),ht=Z("</colgroup></table>");function ot(l,f,b,_){switch(b.insertionMode){case en:case dn:return P(l,Gs),P(l,f.segmentPrefix),P(l,G(_.toString(16))),W(l,ma);case Br:return P(l,Ys),P(l,f.segmentPrefix),P(l,G(_.toString(16))),W(l,So);case Er:return P(l,Ha),P(l,f.segmentPrefix),P(l,G(_.toString(16))),W(l,Yi);case Cn:return P(l,ko),P(l,f.segmentPrefix),P(l,G(_.toString(16))),W(l,es);case Ui:return P(l,S),P(l,f.segmentPrefix),P(l,G(_.toString(16))),W(l,R);case Cr:return P(l,q),P(l,f.segmentPrefix),P(l,G(_.toString(16))),W(l,Q);case Nr:return P(l,Se),P(l,f.segmentPrefix),P(l,G(_.toString(16))),W(l,$e);default:throw new Error("Unknown insertion mode. This is a bug in React.")}}function Xt(l,f){switch(f.insertionMode){case en:case dn:return W(l,Zs);case Br:return W(l,Wa);case Er:return W(l,Ks);case Cn:return W(l,h);case Ui:return W(l,D);case Cr:return W(l,ce);case Nr:return W(l,ht);default:throw new Error("Unknown insertion mode. This is a bug in React.")}}var qn="function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)}",Ir='function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}}',Ar='function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())}',_o=Z(qn+';$RS("'),Js=Z('$RS("'),ts=Z('","'),Eo=Z('")<\/script>');function Rc(l,f,b){P(l,f.startInlineScript),f.sentCompleteSegmentFunction?P(l,Js):(f.sentCompleteSegmentFunction=!0,P(l,_o)),P(l,f.segmentPrefix);var _=G(b.toString(16));return P(l,_),P(l,ts),P(l,f.placeholderPrefix),P(l,_),W(l,Eo)}var Ic=Z(Ir+';$RC("'),Ll=Z('$RC("'),Mu=Z('","'),va=Z('")<\/script>');function Co(l,f,b,_){if(P(l,f.startInlineScript),f.sentCompleteBoundaryFunction?P(l,Ll):(f.sentCompleteBoundaryFunction=!0,P(l,Ic)),b===null)throw new Error("An ID must have been assigned before we can complete the boundary.");var M=G(_.toString(16));return P(l,b),P(l,Mu),P(l,f.segmentPrefix),P(l,M),W(l,va)}var Ac=Z(Ar+';$RX("'),Oc=Z('$RX("'),Bl=Z('"'),To=Z(")<\/script>"),Or=Z(",");function Nl(l,f,b,_,M,N){if(P(l,f.startInlineScript),f.sentClientRenderFunction?P(l,Oc):(f.sentClientRenderFunction=!0,P(l,Ac)),b===null)throw new Error("An ID must have been assigned before we can complete the boundary.");return P(l,b),P(l,Bl),(_||M||N)&&(P(l,Or),P(l,G(jl(_||"")))),(M||N)&&(P(l,Or),P(l,G(jl(M||"")))),N&&(P(l,Or),P(l,G(jl(N)))),W(l,To)}var Pu=/[<\u2028\u2029]/g;function jl(l){var f=JSON.stringify(l);return f.replace(Pu,function(b){switch(b){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw new Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}var Vr=Object.assign,Mc=Symbol.for("react.element"),Fu=Symbol.for("react.portal"),jn=Symbol.for("react.fragment"),Y=Symbol.for("react.strict_mode"),oe=Symbol.for("react.profiler"),re=Symbol.for("react.provider"),Be=Symbol.for("react.context"),st=Symbol.for("react.forward_ref"),Dt=Symbol.for("react.suspense"),mn=Symbol.for("react.suspense_list"),Wt=Symbol.for("react.memo"),ba=Symbol.for("react.lazy"),zl=Symbol.for("react.scope"),br=Symbol.for("react.debug_trace_mode"),$a=Symbol.for("react.legacy_hidden"),Pc=Symbol.for("react.default_value"),Ga=Symbol.iterator,Qs="@@iterator";function Xs(l){if(l===null||typeof l!="object")return null;var f=Ga&&l[Ga]||l[Qs];return typeof f=="function"?f:null}function Zt(l,f,b){var _=l.displayName;if(_)return _;var M=f.displayName||f.name||"";return M!==""?b+"("+M+")":b}function Du(l){return l.displayName||"Context"}function fn(l){if(l==null)return null;if(typeof l.tag=="number"&&o("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof l=="function")return l.displayName||l.name||null;if(typeof l=="string")return l;switch(l){case jn:return"Fragment";case Fu:return"Portal";case oe:return"Profiler";case Y:return"StrictMode";case Dt:return"Suspense";case mn:return"SuspenseList"}if(typeof l=="object")switch(l.$$typeof){case Be:var f=l;return Du(f)+".Consumer";case re:var b=l;return Du(b._context)+".Provider";case st:return Zt(l,l.render,"ForwardRef");case Wt:var _=l.displayName||null;return _!==null?_:fn(l.type)||"Memo";case ba:{var M=l,N=M._payload,H=M._init;try{return fn(H(N))}catch{return null}}}return null}var ya=0,Ul,pn,Ro,Io,_i,Ao,qs;function Oo(){}Oo.__reactDisabledLog=!0;function Vl(){{if(ya===0){Ul=console.log,pn=console.info,Ro=console.warn,Io=console.error,_i=console.group,Ao=console.groupCollapsed,qs=console.groupEnd;var l={configurable:!0,enumerable:!0,value:Oo,writable:!0};Object.defineProperties(console,{info:l,log:l,warn:l,error:l,group:l,groupCollapsed:l,groupEnd:l})}ya++}}function Wl(){{if(ya--,ya===0){var l={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Vr({},l,{value:Ul}),info:Vr({},l,{value:pn}),warn:Vr({},l,{value:Ro}),error:Vr({},l,{value:Io}),group:Vr({},l,{value:_i}),groupCollapsed:Vr({},l,{value:Ao}),groupEnd:Vr({},l,{value:qs})})}ya<0&&o("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Za=n.ReactCurrentDispatcher,el;function Ki(l,f,b){{if(el===void 0)try{throw Error()}catch(M){var _=M.stack.trim().match(/\n( *(at )?)/);el=_&&_[1]||""}return`
147
+ `+el+l}}var li=!1,Ji;{var ns=typeof WeakMap=="function"?WeakMap:Map;Ji=new ns}function rs(l,f){if(!l||li)return"";{var b=Ji.get(l);if(b!==void 0)return b}var _;li=!0;var M=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var N;N=Za.current,Za.current=null,Vl();try{if(f){var H=function(){throw Error()};if(Object.defineProperty(H.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(H,[])}catch(V){_=V}Reflect.construct(l,[],H)}else{try{H.call()}catch(V){_=V}l.call(H.prototype)}}else{try{throw Error()}catch(V){_=V}l()}}catch(V){if(V&&_&&typeof V.stack=="string"){for(var ne=V.stack.split(`
148
148
  `),s=_.stack.split(`
149
- `),c=te.length-1,g=s.length-1;c>=1&&g>=0&&te[c]!==s[g];)g--;for(;c>=1&&g>=0;c--,g--)if(te[c]!==s[g]){if(c!==1||g!==1)do if(c--,g--,g<0||te[c]!==s[g]){var y=`
150
- `+te[c].replace(" at new "," at ");return l.displayName&&y.includes("<anonymous>")&&(y=y.replace("<anonymous>",l.displayName)),typeof l=="function"&&$i.set(l,y),y}while(c>=1&&g>=0);break}}}finally{ai=!1,Wa.current=N,Vl(),Error.prepareStackTrace=M}var T=l?l.displayName||l.name:"",L=T?Hi(T):"";return typeof l=="function"&&$i.set(l,L),L}function el(l,f,b){return ts(l,!0)}function ns(l,f,b){return ts(l,!1)}function Io(l){var f=l.prototype;return!!(f&&f.isReactComponent)}function rs(l,f,b){if(l==null)return"";if(typeof l=="function")return ts(l,Io(l));if(typeof l=="string")return Hi(l);switch(l){case Pt:return Hi("Suspense");case gn:return Hi("SuspenseList")}if(typeof l=="object")switch(l.$$typeof){case ot:return ns(l.render);case Vt:return rs(l.type,f,b);case ha:{var _=l,M=_._payload,N=_._init;try{return rs(N(M),f,b)}catch{}}}return""}var Wl={},Hl=n.ReactDebugCurrentFrame;function Ao(l){if(l){var f=l._owner,b=rs(l.type,l._source,f?f.type:null);Hl.setExtraStackFrame(b)}else Hl.setExtraStackFrame(null)}function $l(l,f,b,_,M){{var N=Function.call.bind(dt);for(var H in l)if(N(l,H)){var te=void 0;try{if(typeof l[H]!="function"){var s=Error((_||"React class")+": "+b+" type `"+H+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof l[H]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw s.name="Invariant Violation",s}te=l[H](f,H,_,b,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(c){te=c}te&&!(te instanceof Error)&&(Ao(M),o("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",_||"React class",b,H,typeof te),Ao(null)),te instanceof Error&&!(te.message in Wl)&&(Wl[te.message]=!0,Ao(M),o("Failed %s type: %s",b,te.message),Ao(null))}}}var mn;mn={};var vn={};Object.freeze(vn);function Gl(l,f){{var b=l.contextTypes;if(!b)return vn;var _={};for(var M in b)_[M]=f[M];{var N=cn(l)||"Unknown";$l(b,_,"context",N)}return _}}function Zl(l,f,b,_){{if(typeof l.getChildContext!="function"){{var M=cn(f)||"Unknown";mn[M]||(mn[M]=!0,o("%s.childContextTypes is specified but there is no getChildContext() method on the instance. You can either define getChildContext() on %s or remove childContextTypes from it.",M,M))}return b}var N=l.getChildContext();for(var H in N)if(!(H in _))throw new Error((cn(f)||"Unknown")+'.getChildContext(): key "'+H+'" is not defined in childContextTypes.');{var te=cn(f)||"Unknown";$l(_,N,"child context",te)}return jr({},b,N)}}var Gi;Gi={};var Fu=null,Zi=null;function oi(l){l.context._currentValue=l.parentValue}function is(l){l.context._currentValue=l.value}function or(l,f){if(l!==f){oi(l);var b=l.parent,_=f.parent;if(b===null){if(_!==null)throw new Error("The stacks must reach the root at the same time. This is a bug in React.")}else{if(_===null)throw new Error("The stacks must reach the root at the same time. This is a bug in React.");or(b,_)}is(f)}}function ma(l){oi(l);var f=l.parent;f!==null&&ma(f)}function va(l){var f=l.parent;f!==null&&va(f),is(l)}function ba(l,f){oi(l);var b=l.parent;if(b===null)throw new Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");b.depth===f.depth?or(b,f):ba(b,f)}function ya(l,f){var b=f.parent;if(b===null)throw new Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");l.depth===b.depth?or(l,b):ya(l,b),is(f)}function as(l){var f=Zi,b=l;f!==b&&(f===null?va(b):b===null?ma(f):f.depth===b.depth?or(f,b):f.depth>b.depth?ba(f,b):ya(f,b),Zi=b)}function Pu(l,f){var b;b=l._currentValue,l._currentValue=f,l._currentRenderer!==void 0&&l._currentRenderer!==null&&l._currentRenderer!==Gi&&o("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),l._currentRenderer=Gi;var _=Zi,M={parent:_,depth:_===null?0:_.depth+1,context:l,parentValue:b,value:f};return Zi=M,M}function Du(l){var f=Zi;if(f===null)throw new Error("Tried to pop a Context at the root of the app. This is a bug in React.");f.context!==l&&o("The parent context is not the expected context. This is probably a bug in React.");{var b=f.parentValue;b===Cc?f.context._currentValue=f.context._defaultValue:f.context._currentValue=b,l._currentRenderer!==void 0&&l._currentRenderer!==null&&l._currentRenderer!==Gi&&o("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),l._currentRenderer=Gi}return Zi=f.parent}function tl(){return Zi}function os(l){var f=l._currentValue;return f}function Oo(l){return l._reactInternals}function ss(l,f){l._reactInternals=f}var Ha={},I={},wa,$a,sr,St,nl,Mo,ls,xi,Fo;{wa=new Set,$a=new Set,sr=new Set,ls=new Set,St=new Set,xi=new Set,Fo=new Set;var rl=new Set;Mo=function(l,f){if(!(l===null||typeof l=="function")){var b=f+"_"+l;rl.has(b)||(rl.add(b),o("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",f,l))}},nl=function(l,f){if(f===void 0){var b=cn(l)||"Component";St.has(b)||(St.add(b),o("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",b))}}}function il(l,f){{var b=l.constructor,_=b&&cn(b)||"ReactClass",M=_+"."+f;if(Ha[M])return;o(`%s(...): Can only update a mounting component. This usually means you called %s() outside componentWillMount() on the server. This is a no-op.
149
+ `),d=ne.length-1,m=s.length-1;d>=1&&m>=0&&ne[d]!==s[m];)m--;for(;d>=1&&m>=0;d--,m--)if(ne[d]!==s[m]){if(d!==1||m!==1)do if(d--,m--,m<0||ne[d]!==s[m]){var x=`
150
+ `+ne[d].replace(" at new "," at ");return l.displayName&&x.includes("<anonymous>")&&(x=x.replace("<anonymous>",l.displayName)),typeof l=="function"&&Ji.set(l,x),x}while(d>=1&&m>=0);break}}}finally{li=!1,Za.current=N,Wl(),Error.prepareStackTrace=M}var T=l?l.displayName||l.name:"",B=T?Ki(T):"";return typeof l=="function"&&Ji.set(l,B),B}function tl(l,f,b){return rs(l,!0)}function is(l,f,b){return rs(l,!1)}function Mo(l){var f=l.prototype;return!!(f&&f.isReactComponent)}function as(l,f,b){if(l==null)return"";if(typeof l=="function")return rs(l,Mo(l));if(typeof l=="string")return Ki(l);switch(l){case Dt:return Ki("Suspense");case mn:return Ki("SuspenseList")}if(typeof l=="object")switch(l.$$typeof){case st:return is(l.render);case Wt:return as(l.type,f,b);case ba:{var _=l,M=_._payload,N=_._init;try{return as(N(M),f,b)}catch{}}}return""}var Hl={},$l=n.ReactDebugCurrentFrame;function Po(l){if(l){var f=l._owner,b=as(l.type,l._source,f?f.type:null);$l.setExtraStackFrame(b)}else $l.setExtraStackFrame(null)}function Gl(l,f,b,_,M){{var N=Function.call.bind(it);for(var H in l)if(N(l,H)){var ne=void 0;try{if(typeof l[H]!="function"){var s=Error((_||"React class")+": "+b+" type `"+H+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof l[H]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw s.name="Invariant Violation",s}ne=l[H](f,H,_,b,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(d){ne=d}ne&&!(ne instanceof Error)&&(Po(M),o("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",_||"React class",b,H,typeof ne),Po(null)),ne instanceof Error&&!(ne.message in Hl)&&(Hl[ne.message]=!0,Po(M),o("Failed %s type: %s",b,ne.message),Po(null))}}}var vn;vn={};var bn={};Object.freeze(bn);function Zl(l,f){{var b=l.contextTypes;if(!b)return bn;var _={};for(var M in b)_[M]=f[M];{var N=fn(l)||"Unknown";Gl(b,_,"context",N)}return _}}function Yl(l,f,b,_){{if(typeof l.getChildContext!="function"){{var M=fn(f)||"Unknown";vn[M]||(vn[M]=!0,o("%s.childContextTypes is specified but there is no getChildContext() method on the instance. You can either define getChildContext() on %s or remove childContextTypes from it.",M,M))}return b}var N=l.getChildContext();for(var H in N)if(!(H in _))throw new Error((fn(f)||"Unknown")+'.getChildContext(): key "'+H+'" is not defined in childContextTypes.');{var ne=fn(f)||"Unknown";Gl(_,N,"child context",ne)}return Vr({},b,N)}}var Qi;Qi={};var Lu=null,Xi=null;function ui(l){l.context._currentValue=l.parentValue}function os(l){l.context._currentValue=l.value}function sr(l,f){if(l!==f){ui(l);var b=l.parent,_=f.parent;if(b===null){if(_!==null)throw new Error("The stacks must reach the root at the same time. This is a bug in React.")}else{if(_===null)throw new Error("The stacks must reach the root at the same time. This is a bug in React.");sr(b,_)}os(f)}}function wa(l){ui(l);var f=l.parent;f!==null&&wa(f)}function xa(l){var f=l.parent;f!==null&&xa(f),os(l)}function Sa(l,f){ui(l);var b=l.parent;if(b===null)throw new Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");b.depth===f.depth?sr(b,f):Sa(b,f)}function ka(l,f){var b=f.parent;if(b===null)throw new Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");l.depth===b.depth?sr(l,b):ka(l,b),os(f)}function ss(l){var f=Xi,b=l;f!==b&&(f===null?xa(b):b===null?wa(f):f.depth===b.depth?sr(f,b):f.depth>b.depth?Sa(f,b):ka(f,b),Xi=b)}function Bu(l,f){var b;b=l._currentValue,l._currentValue=f,l._currentRenderer!==void 0&&l._currentRenderer!==null&&l._currentRenderer!==Qi&&o("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),l._currentRenderer=Qi;var _=Xi,M={parent:_,depth:_===null?0:_.depth+1,context:l,parentValue:b,value:f};return Xi=M,M}function Nu(l){var f=Xi;if(f===null)throw new Error("Tried to pop a Context at the root of the app. This is a bug in React.");f.context!==l&&o("The parent context is not the expected context. This is probably a bug in React.");{var b=f.parentValue;b===Pc?f.context._currentValue=f.context._defaultValue:f.context._currentValue=b,l._currentRenderer!==void 0&&l._currentRenderer!==null&&l._currentRenderer!==Qi&&o("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),l._currentRenderer=Qi}return Xi=f.parent}function nl(){return Xi}function ls(l){var f=l._currentValue;return f}function Fo(l){return l._reactInternals}function us(l,f){l._reactInternals=f}var Ya={},I={},_a,Ka,lr,St,rl,Do,cs,Ei,Lo;{_a=new Set,Ka=new Set,lr=new Set,cs=new Set,St=new Set,Ei=new Set,Lo=new Set;var il=new Set;Do=function(l,f){if(!(l===null||typeof l=="function")){var b=f+"_"+l;il.has(b)||(il.add(b),o("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",f,l))}},rl=function(l,f){if(f===void 0){var b=fn(l)||"Component";St.has(b)||(St.add(b),o("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",b))}}}function al(l,f){{var b=l.constructor,_=b&&fn(b)||"ReactClass",M=_+"."+f;if(Ya[M])return;o(`%s(...): Can only update a mounting component. This usually means you called %s() outside componentWillMount() on the server. This is a no-op.
151
151
 
152
- Please check the code for the %s component.`,f,f,_),Ha[M]=!0}}var al={isMounted:function(l){return!1},enqueueSetState:function(l,f,b){var _=Oo(l);_.queue===null?il(l,"setState"):(_.queue.push(f),b!=null&&Mo(b,"setState"))},enqueueReplaceState:function(l,f,b){var _=Oo(l);_.replace=!0,_.queue=[f],b!=null&&Mo(b,"setState")},enqueueForceUpdate:function(l,f){var b=Oo(l);b.queue===null?il(l,"forceUpdate"):f!=null&&Mo(f,"setState")}};function Lu(l,f,b,_,M){var N=b(M,_);nl(f,N);var H=N==null?_:jr({},_,N);return H}function Si(l,f,b){var _=vn,M=l.contextType;if("contextType"in l){var N=M===null||M!==void 0&&M.$$typeof===Ne&&M._context===void 0;if(!N&&!Fo.has(l)){Fo.add(l);var H="";M===void 0?H=" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":typeof M!="object"?H=" However, it is set to a "+typeof M+".":M.$$typeof===ne?H=" Did you accidentally pass the Context.Provider instead?":M._context!==void 0?H=" Did you accidentally pass the Context.Consumer instead?":H=" However, it is set to an object with keys {"+Object.keys(M).join(", ")+"}.",o("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",cn(l)||"Component",H)}}typeof M=="object"&&M!==null?_=os(M):_=b;var te=new l(f,_);{if(typeof l.getDerivedStateFromProps=="function"&&(te.state===null||te.state===void 0)){var s=cn(l)||"Component";wa.has(s)||(wa.add(s),o("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",s,te.state===null?"null":"undefined",s))}if(typeof l.getDerivedStateFromProps=="function"||typeof te.getSnapshotBeforeUpdate=="function"){var c=null,g=null,y=null;if(typeof te.componentWillMount=="function"&&te.componentWillMount.__suppressDeprecationWarning!==!0?c="componentWillMount":typeof te.UNSAFE_componentWillMount=="function"&&(c="UNSAFE_componentWillMount"),typeof te.componentWillReceiveProps=="function"&&te.componentWillReceiveProps.__suppressDeprecationWarning!==!0?g="componentWillReceiveProps":typeof te.UNSAFE_componentWillReceiveProps=="function"&&(g="UNSAFE_componentWillReceiveProps"),typeof te.componentWillUpdate=="function"&&te.componentWillUpdate.__suppressDeprecationWarning!==!0?y="componentWillUpdate":typeof te.UNSAFE_componentWillUpdate=="function"&&(y="UNSAFE_componentWillUpdate"),c!==null||g!==null||y!==null){var T=cn(l)||"Component",L=typeof l.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";sr.has(T)||(sr.add(T),o(`Unsafe legacy lifecycles will not be called for components using new component APIs.
152
+ Please check the code for the %s component.`,f,f,_),Ya[M]=!0}}var ol={isMounted:function(l){return!1},enqueueSetState:function(l,f,b){var _=Fo(l);_.queue===null?al(l,"setState"):(_.queue.push(f),b!=null&&Do(b,"setState"))},enqueueReplaceState:function(l,f,b){var _=Fo(l);_.replace=!0,_.queue=[f],b!=null&&Do(b,"setState")},enqueueForceUpdate:function(l,f){var b=Fo(l);b.queue===null?al(l,"forceUpdate"):f!=null&&Do(f,"setState")}};function ju(l,f,b,_,M){var N=b(M,_);rl(f,N);var H=N==null?_:Vr({},_,N);return H}function Ci(l,f,b){var _=bn,M=l.contextType;if("contextType"in l){var N=M===null||M!==void 0&&M.$$typeof===Be&&M._context===void 0;if(!N&&!Lo.has(l)){Lo.add(l);var H="";M===void 0?H=" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":typeof M!="object"?H=" However, it is set to a "+typeof M+".":M.$$typeof===re?H=" Did you accidentally pass the Context.Provider instead?":M._context!==void 0?H=" Did you accidentally pass the Context.Consumer instead?":H=" However, it is set to an object with keys {"+Object.keys(M).join(", ")+"}.",o("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",fn(l)||"Component",H)}}typeof M=="object"&&M!==null?_=ls(M):_=b;var ne=new l(f,_);{if(typeof l.getDerivedStateFromProps=="function"&&(ne.state===null||ne.state===void 0)){var s=fn(l)||"Component";_a.has(s)||(_a.add(s),o("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",s,ne.state===null?"null":"undefined",s))}if(typeof l.getDerivedStateFromProps=="function"||typeof ne.getSnapshotBeforeUpdate=="function"){var d=null,m=null,x=null;if(typeof ne.componentWillMount=="function"&&ne.componentWillMount.__suppressDeprecationWarning!==!0?d="componentWillMount":typeof ne.UNSAFE_componentWillMount=="function"&&(d="UNSAFE_componentWillMount"),typeof ne.componentWillReceiveProps=="function"&&ne.componentWillReceiveProps.__suppressDeprecationWarning!==!0?m="componentWillReceiveProps":typeof ne.UNSAFE_componentWillReceiveProps=="function"&&(m="UNSAFE_componentWillReceiveProps"),typeof ne.componentWillUpdate=="function"&&ne.componentWillUpdate.__suppressDeprecationWarning!==!0?x="componentWillUpdate":typeof ne.UNSAFE_componentWillUpdate=="function"&&(x="UNSAFE_componentWillUpdate"),d!==null||m!==null||x!==null){var T=fn(l)||"Component",B=typeof l.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";lr.has(T)||(lr.add(T),o(`Unsafe legacy lifecycles will not be called for components using new component APIs.
153
153
 
154
154
  %s uses %s but also contains the following legacy lifecycles:%s%s%s
155
155
 
156
156
  The above lifecycles should be removed. Learn more about this warning here:
157
- https://reactjs.org/link/unsafe-component-lifecycles`,T,L,c!==null?`
158
- `+c:"",g!==null?`
159
- `+g:"",y!==null?`
160
- `+y:""))}}}return te}function Bu(l,f,b){{var _=cn(f)||"Component",M=l.render;M||(f.prototype&&typeof f.prototype.render=="function"?o("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",_):o("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",_)),l.getInitialState&&!l.getInitialState.isReactClassApproved&&!l.state&&o("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",_),l.getDefaultProps&&!l.getDefaultProps.isReactClassApproved&&o("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",_),l.propTypes&&o("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",_),l.contextType&&o("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",_),l.contextTypes&&o("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",_),f.contextType&&f.contextTypes&&!xi.has(f)&&(xi.add(f),o("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.",_)),typeof l.componentShouldUpdate=="function"&&o("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",_),f.prototype&&f.prototype.isPureReactComponent&&typeof l.shouldComponentUpdate<"u"&&o("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",cn(f)||"A pure component"),typeof l.componentDidUnmount=="function"&&o("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",_),typeof l.componentDidReceiveProps=="function"&&o("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",_),typeof l.componentWillRecieveProps=="function"&&o("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",_),typeof l.UNSAFE_componentWillRecieveProps=="function"&&o("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",_);var N=l.props!==b;l.props!==void 0&&N&&o("%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",_,_),l.defaultProps&&o("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",_,_),typeof l.getSnapshotBeforeUpdate=="function"&&typeof l.componentDidUpdate!="function"&&!$a.has(f)&&($a.add(f),o("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",cn(f))),typeof l.getDerivedStateFromProps=="function"&&o("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",_),typeof l.getDerivedStateFromError=="function"&&o("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",_),typeof f.getSnapshotBeforeUpdate=="function"&&o("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",_);var H=l.state;H&&(typeof H!="object"||vt(H))&&o("%s.state: must be set to an object or null",_),typeof l.getChildContext=="function"&&typeof f.childContextTypes!="object"&&o("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",_)}}function Tc(l,f){var b=f.state;if(typeof f.componentWillMount=="function"){if(f.componentWillMount.__suppressDeprecationWarning!==!0){var _=cn(l)||"Unknown";I[_]||(a(`componentWillMount has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
157
+ https://reactjs.org/link/unsafe-component-lifecycles`,T,B,d!==null?`
158
+ `+d:"",m!==null?`
159
+ `+m:"",x!==null?`
160
+ `+x:""))}}}return ne}function zu(l,f,b){{var _=fn(f)||"Component",M=l.render;M||(f.prototype&&typeof f.prototype.render=="function"?o("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",_):o("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",_)),l.getInitialState&&!l.getInitialState.isReactClassApproved&&!l.state&&o("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",_),l.getDefaultProps&&!l.getDefaultProps.isReactClassApproved&&o("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",_),l.propTypes&&o("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",_),l.contextType&&o("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",_),l.contextTypes&&o("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",_),f.contextType&&f.contextTypes&&!Ei.has(f)&&(Ei.add(f),o("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.",_)),typeof l.componentShouldUpdate=="function"&&o("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",_),f.prototype&&f.prototype.isPureReactComponent&&typeof l.shouldComponentUpdate<"u"&&o("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",fn(f)||"A pure component"),typeof l.componentDidUnmount=="function"&&o("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",_),typeof l.componentDidReceiveProps=="function"&&o("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",_),typeof l.componentWillRecieveProps=="function"&&o("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",_),typeof l.UNSAFE_componentWillRecieveProps=="function"&&o("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",_);var N=l.props!==b;l.props!==void 0&&N&&o("%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",_,_),l.defaultProps&&o("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",_,_),typeof l.getSnapshotBeforeUpdate=="function"&&typeof l.componentDidUpdate!="function"&&!Ka.has(f)&&(Ka.add(f),o("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",fn(f))),typeof l.getDerivedStateFromProps=="function"&&o("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",_),typeof l.getDerivedStateFromError=="function"&&o("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",_),typeof f.getSnapshotBeforeUpdate=="function"&&o("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",_);var H=l.state;H&&(typeof H!="object"||mt(H))&&o("%s.state: must be set to an object or null",_),typeof l.getChildContext=="function"&&typeof f.childContextTypes!="object"&&o("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",_)}}function Fc(l,f){var b=f.state;if(typeof f.componentWillMount=="function"){if(f.componentWillMount.__suppressDeprecationWarning!==!0){var _=fn(l)||"Unknown";I[_]||(a(`componentWillMount has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
161
161
 
162
162
  * Move code from componentWillMount to componentDidMount (preferred in most cases) or the constructor.
163
163
 
164
- Please update the following components: %s`,_),I[_]=!0)}f.componentWillMount()}typeof f.UNSAFE_componentWillMount=="function"&&f.UNSAFE_componentWillMount(),b!==f.state&&(o("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",cn(l)||"Component"),al.enqueueReplaceState(f,f.state,null))}function Rc(l,f,b,_){if(l.queue!==null&&l.queue.length>0){var M=l.queue,N=l.replace;if(l.queue=null,l.replace=!1,N&&M.length===1)f.state=M[0];else{for(var H=N?M[0]:f.state,te=!0,s=N?1:0;s<M.length;s++){var c=M[s],g=typeof c=="function"?c.call(f,H,b,_):c;g!=null&&(te?(te=!1,H=jr({},H,g)):jr(H,g))}f.state=H}}else l.queue=null}function Nu(l,f,b,_){Bu(l,f,b);var M=l.state!==void 0?l.state:null;l.updater=al,l.props=b,l.state=M;var N={queue:[],replace:!1};ss(l,N);var H=f.contextType;if(typeof H=="object"&&H!==null?l.context=os(H):l.context=_,l.state===b){var te=cn(f)||"Component";ls.has(te)||(ls.add(te),o("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",te))}var s=f.getDerivedStateFromProps;typeof s=="function"&&(l.state=Lu(l,f,s,M,b)),typeof f.getDerivedStateFromProps!="function"&&typeof l.getSnapshotBeforeUpdate!="function"&&(typeof l.UNSAFE_componentWillMount=="function"||typeof l.componentWillMount=="function")&&(Tc(f,l),Rc(N,l,b,_))}var Ic={id:1,overflow:""};function Yi(l){var f=l.overflow,b=l.id,_=b&~Ac(b);return _.toString(32)+f}function ol(l,f,b){var _=l.id,M=l.overflow,N=sl(_)-1,H=_&~(1<<N),te=b+1,s=sl(f)+N;if(s>30){var c=N-N%5,g=(1<<c)-1,y=(H&g).toString(32),T=H>>c,L=N-c,W=sl(f)+L,ee=te<<L,pe=ee|T,De=y+M;return{id:1<<W|pe,overflow:De}}else{var Ge=te<<N,it=Ge|H,sn=M;return{id:1<<s|it,overflow:sn}}}function sl(l){return 32-Yl(l)}function Ac(l){return 1<<sl(l)-1}var Yl=Math.clz32?Math.clz32:Oc,ll=Math.log,Ga=Math.LN2;function Oc(l){var f=l>>>0;return f===0?32:31-(ll(f)/Ga|0)|0}function Mc(l,f){return l===f&&(l!==0||1/l===1/f)||l!==l&&f!==f}var si=typeof Object.is=="function"?Object.is:Mc,Ki=null,Kl=null,ul=null,Bt=null,Za=!1,xa=!1,$t=0,zr=null,Ya=0,Po=25,wn=!1,Ur;function Ka(){if(Ki===null)throw new Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
164
+ Please update the following components: %s`,_),I[_]=!0)}f.componentWillMount()}typeof f.UNSAFE_componentWillMount=="function"&&f.UNSAFE_componentWillMount(),b!==f.state&&(o("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",fn(l)||"Component"),ol.enqueueReplaceState(f,f.state,null))}function Dc(l,f,b,_){if(l.queue!==null&&l.queue.length>0){var M=l.queue,N=l.replace;if(l.queue=null,l.replace=!1,N&&M.length===1)f.state=M[0];else{for(var H=N?M[0]:f.state,ne=!0,s=N?1:0;s<M.length;s++){var d=M[s],m=typeof d=="function"?d.call(f,H,b,_):d;m!=null&&(ne?(ne=!1,H=Vr({},H,m)):Vr(H,m))}f.state=H}}else l.queue=null}function Uu(l,f,b,_){zu(l,f,b);var M=l.state!==void 0?l.state:null;l.updater=ol,l.props=b,l.state=M;var N={queue:[],replace:!1};us(l,N);var H=f.contextType;if(typeof H=="object"&&H!==null?l.context=ls(H):l.context=_,l.state===b){var ne=fn(f)||"Component";cs.has(ne)||(cs.add(ne),o("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",ne))}var s=f.getDerivedStateFromProps;typeof s=="function"&&(l.state=ju(l,f,s,M,b)),typeof f.getDerivedStateFromProps!="function"&&typeof l.getSnapshotBeforeUpdate!="function"&&(typeof l.UNSAFE_componentWillMount=="function"||typeof l.componentWillMount=="function")&&(Fc(f,l),Dc(N,l,b,_))}var Lc={id:1,overflow:""};function qi(l){var f=l.overflow,b=l.id,_=b&~Bc(b);return _.toString(32)+f}function sl(l,f,b){var _=l.id,M=l.overflow,N=ll(_)-1,H=_&~(1<<N),ne=b+1,s=ll(f)+N;if(s>30){var d=N-N%5,m=(1<<d)-1,x=(H&m).toString(32),T=H>>d,B=N-d,V=ll(f)+B,te=ne<<B,me=te|T,Fe=x+M;return{id:1<<V|me,overflow:Fe}}else{var Ge=ne<<N,at=Ge|H,un=M;return{id:1<<s|at,overflow:un}}}function ll(l){return 32-Kl(l)}function Bc(l){return 1<<ll(l)-1}var Kl=Math.clz32?Math.clz32:Nc,ul=Math.log,Ja=Math.LN2;function Nc(l){var f=l>>>0;return f===0?32:31-(ul(f)/Ja|0)|0}function jc(l,f){return l===f&&(l!==0||1/l===1/f)||l!==l&&f!==f}var ci=typeof Object.is=="function"?Object.is:jc,ea=null,Jl=null,cl=null,Nt=null,Qa=!1,Ea=!1,Yt=0,Wr=null,Xa=0,Bo=25,Sn=!1,Hr;function qa(){if(ea===null)throw new Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
165
165
  1. You might have mismatching versions of React and the renderer (such as React DOM)
166
166
  2. You might be breaking the Rules of Hooks
167
167
  3. You might have more than one copy of React in the same app
168
- See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`);return wn&&o("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://reactjs.org/link/rules-of-hooks"),Ki}function li(l,f){if(f===null)return o("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",Ur),!1;l.length!==f.length&&o(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
168
+ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`);return Sn&&o("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://reactjs.org/link/rules-of-hooks"),ea}function di(l,f){if(f===null)return o("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",Hr),!1;l.length!==f.length&&o(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
169
169
 
170
170
  Previous: %s
171
- Incoming: %s`,Ur,"["+l.join(", ")+"]","["+f.join(", ")+"]");for(var b=0;b<f.length&&b<l.length;b++)if(!si(l[b],f[b]))return!1;return!0}function Ja(){if(Ya>0)throw new Error("Rendered more hooks than during the previous render");return{memoizedState:null,queue:null,next:null}}function $n(){return Bt===null?ul===null?(Za=!1,ul=Bt=Ja()):(Za=!0,Bt=ul):Bt.next===null?(Za=!1,Bt=Bt.next=Ja()):(Za=!0,Bt=Bt.next),Bt}function Jl(l,f){Ki=f,Kl=l,wn=!1,$t=0}function Sa(l,f,b,_){for(;xa;)xa=!1,$t=0,Ya+=1,Bt=null,b=l(f,_);return Ql(),b}function lr(){var l=$t!==0;return l}function Ql(){wn=!1,Ki=null,Kl=null,xa=!1,ul=null,Ya=0,zr=null,Bt=null}function ju(l){return wn&&o("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo()."),os(l)}function Xl(l){return Ur="useContext",Ka(),os(l)}function Ji(l,f){return typeof f=="function"?f(l):f}function ka(l){return Ur="useState",ql(Ji,l)}function ql(l,f,b){if(l!==Ji&&(Ur="useReducer"),Ki=Ka(),Bt=$n(),Za){var _=Bt.queue,M=_.dispatch;if(zr!==null){var N=zr.get(_);if(N!==void 0){zr.delete(_);var H=Bt.memoizedState,te=N;do{var s=te.action;wn=!0,H=l(H,s),wn=!1,te=te.next}while(te!==null);return Bt.memoizedState=H,[H,M]}}return[Bt.memoizedState,M]}else{wn=!0;var c;l===Ji?c=typeof f=="function"?f():f:c=b!==void 0?b(f):f,wn=!1,Bt.memoizedState=c;var g=Bt.queue={last:null,dispatch:null},y=g.dispatch=eu.bind(null,Ki,g);return[Bt.memoizedState,y]}}function cl(l,f){Ki=Ka(),Bt=$n();var b=f===void 0?null:f;if(Bt!==null){var _=Bt.memoizedState;if(_!==null&&b!==null){var M=_[1];if(li(b,M))return _[0]}}wn=!0;var N=l();return wn=!1,Bt.memoizedState=[N,b],N}function dl(l){Ki=Ka(),Bt=$n();var f=Bt.memoizedState;if(f===null){var b={current:l};return Object.seal(b),Bt.memoizedState=b,b}else return f}function zu(l,f){Ur="useLayoutEffect",o("useLayoutEffect does nothing on the server, because its effect cannot be encoded into the server renderer's output format. This will lead to a mismatch between the initial, non-hydrated UI and the intended UI. To avoid this, useLayoutEffect should only be used in components that render exclusively on the client. See https://reactjs.org/link/uselayouteffect-ssr for common fixes.")}function eu(l,f,b){if(Ya>=Po)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(l===Ki){xa=!0;var _={action:b,next:null};zr===null&&(zr=new Map);var M=zr.get(f);if(M===void 0)zr.set(f,_);else{for(var N=M;N.next!==null;)N=N.next;N.next=_}}}function Gn(l,f){return cl(function(){return l},f)}function tu(l,f,b){return Ka(),f(l._source)}function Uu(l,f,b){if(b===void 0)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");return b()}function ki(l){return Ka(),l}function nu(){throw new Error("startTransition cannot be called during server rendering.")}function fl(){return Ka(),[!1,nu]}function Qa(){var l=Kl,f=Yi(l.treeContext),b=cs;if(b===null)throw new Error("Invalid hook call. Hooks can only be called inside of the body of a function component.");var _=$t++;return Bi(b,f,_)}function us(){}var Xn={readContext:ju,useContext:Xl,useMemo:cl,useReducer:ql,useRef:dl,useState:ka,useInsertionEffect:us,useLayoutEffect:zu,useCallback:Gn,useImperativeHandle:us,useEffect:us,useDebugValue:us,useDeferredValue:ki,useTransition:fl,useId:Qa,useMutableSource:tu,useSyncExternalStore:Uu},cs=null;function ds(l){cs=l}function Vu(l){try{var f="",b=l;do{switch(b.tag){case 0:f+=Hi(b.type,null,null);break;case 1:f+=ns(b.type,null,null);break;case 2:f+=el(b.type,null,null);break}b=b.parent}while(b);return f}catch(_){return`
171
+ Incoming: %s`,Hr,"["+l.join(", ")+"]","["+f.join(", ")+"]");for(var b=0;b<f.length&&b<l.length;b++)if(!ci(l[b],f[b]))return!1;return!0}function eo(){if(Xa>0)throw new Error("Rendered more hooks than during the previous render");return{memoizedState:null,queue:null,next:null}}function Zn(){return Nt===null?cl===null?(Qa=!1,cl=Nt=eo()):(Qa=!0,Nt=cl):Nt.next===null?(Qa=!1,Nt=Nt.next=eo()):(Qa=!0,Nt=Nt.next),Nt}function Ql(l,f){ea=f,Jl=l,Sn=!1,Yt=0}function Ca(l,f,b,_){for(;Ea;)Ea=!1,Yt=0,Xa+=1,Nt=null,b=l(f,_);return Xl(),b}function ur(){var l=Yt!==0;return l}function Xl(){Sn=!1,ea=null,Jl=null,Ea=!1,cl=null,Xa=0,Wr=null,Nt=null}function Vu(l){return Sn&&o("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo()."),ls(l)}function ql(l){return Hr="useContext",qa(),ls(l)}function ta(l,f){return typeof f=="function"?f(l):f}function Ta(l){return Hr="useState",eu(ta,l)}function eu(l,f,b){if(l!==ta&&(Hr="useReducer"),ea=qa(),Nt=Zn(),Qa){var _=Nt.queue,M=_.dispatch;if(Wr!==null){var N=Wr.get(_);if(N!==void 0){Wr.delete(_);var H=Nt.memoizedState,ne=N;do{var s=ne.action;Sn=!0,H=l(H,s),Sn=!1,ne=ne.next}while(ne!==null);return Nt.memoizedState=H,[H,M]}}return[Nt.memoizedState,M]}else{Sn=!0;var d;l===ta?d=typeof f=="function"?f():f:d=b!==void 0?b(f):f,Sn=!1,Nt.memoizedState=d;var m=Nt.queue={last:null,dispatch:null},x=m.dispatch=tu.bind(null,ea,m);return[Nt.memoizedState,x]}}function dl(l,f){ea=qa(),Nt=Zn();var b=f===void 0?null:f;if(Nt!==null){var _=Nt.memoizedState;if(_!==null&&b!==null){var M=_[1];if(di(b,M))return _[0]}}Sn=!0;var N=l();return Sn=!1,Nt.memoizedState=[N,b],N}function fl(l){ea=qa(),Nt=Zn();var f=Nt.memoizedState;if(f===null){var b={current:l};return Object.seal(b),Nt.memoizedState=b,b}else return f}function Wu(l,f){Hr="useLayoutEffect",o("useLayoutEffect does nothing on the server, because its effect cannot be encoded into the server renderer's output format. This will lead to a mismatch between the initial, non-hydrated UI and the intended UI. To avoid this, useLayoutEffect should only be used in components that render exclusively on the client. See https://reactjs.org/link/uselayouteffect-ssr for common fixes.")}function tu(l,f,b){if(Xa>=Bo)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(l===ea){Ea=!0;var _={action:b,next:null};Wr===null&&(Wr=new Map);var M=Wr.get(f);if(M===void 0)Wr.set(f,_);else{for(var N=M;N.next!==null;)N=N.next;N.next=_}}}function Yn(l,f){return dl(function(){return l},f)}function nu(l,f,b){return qa(),f(l._source)}function Hu(l,f,b){if(b===void 0)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");return b()}function Ti(l){return qa(),l}function ru(){throw new Error("startTransition cannot be called during server rendering.")}function pl(){return qa(),[!1,ru]}function to(){var l=Jl,f=qi(l.treeContext),b=fs;if(b===null)throw new Error("Invalid hook call. Hooks can only be called inside of the body of a function component.");var _=Yt++;return Vi(b,f,_)}function ds(){}var er={readContext:Vu,useContext:ql,useMemo:dl,useReducer:eu,useRef:fl,useState:Ta,useInsertionEffect:ds,useLayoutEffect:Wu,useCallback:Yn,useImperativeHandle:ds,useEffect:ds,useDebugValue:ds,useDeferredValue:Ti,useTransition:pl,useId:to,useMutableSource:nu,useSyncExternalStore:Hu},fs=null;function ps(l){fs=l}function $u(l){try{var f="",b=l;do{switch(b.tag){case 0:f+=Ki(b.type,null,null);break;case 1:f+=is(b.type,null,null);break;case 2:f+=tl(b.type,null,null);break}b=b.parent}while(b);return f}catch(_){return`
172
172
  Error generating stack: `+_.message+`
173
- `+_.stack}}var fs=n.ReactCurrentDispatcher,Do=n.ReactDebugCurrentFrame,ru=0,Vr=1,ps=2,pl=3,Xa=4,Lo=0,iu=1,qa=2,au=12800;function ou(l){return console.error(l),null}function _i(){}function Fc(l,f,b,_,M,N,H,te,s){var c=[],g=new Set,y={destination:null,responseState:f,progressiveChunkSize:_===void 0?au:_,status:Lo,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:g,pingedTasks:c,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:M===void 0?ou:M,onAllReady:N===void 0?_i:N,onShellReady:H===void 0?_i:H,onShellError:te===void 0?_i:te,onFatalError:s===void 0?_i:s},T=hl(y,0,null,b,!1,!1);T.parentFlushed=!0;var L=hs(y,l,null,T,g,vn,Fu,Ic);return c.push(L),y}function Pc(l,f){var b=l.pingedTasks;b.push(f),b.length===1&&v(function(){return Ss(l)})}function Bo(l,f){return{id:aa,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:f,errorDigest:null}}function hs(l,f,b,_,M,N,H,te){l.allPendingTasks++,b===null?l.pendingRootTasks++:b.pendingTasks++;var s={node:f,ping:function(){return Pc(l,s)},blockedBoundary:b,blockedSegment:_,abortSet:M,legacyContext:N,context:H,treeContext:te};return s.componentStack=null,M.add(s),s}function hl(l,f,b,_,M,N){return{status:ru,id:-1,index:f,parentFlushed:!1,chunks:[],children:[],formatContext:_,boundary:b,lastPushedText:M,textEmbedded:N}}var ui=null;function No(){return ui===null||ui.componentStack===null?"":Vu(ui.componentStack)}function Qi(l,f){l.componentStack={tag:0,parent:l.componentStack,type:f}}function ci(l,f){l.componentStack={tag:1,parent:l.componentStack,type:f}}function jo(l,f){l.componentStack={tag:2,parent:l.componentStack,type:f}}function Wr(l){l.componentStack===null?o("Unexpectedly popped too many stack frames. This is a bug in React."):l.componentStack=l.componentStack.parent}var eo=null;function gl(l,f){{var b;typeof f=="string"?b=f:f&&typeof f.message=="string"?b=f.message:b=String(f);var _=eo||No();eo=null,l.errorMessage=b,l.errorComponentStack=_}}function Hr(l,f){var b=l.onError(f);if(b!=null&&typeof b!="string")throw new Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof b+'" instead');return b}function Xi(l,f){var b=l.onShellError;b(f);var _=l.onFatalError;_(f),l.destination!==null?(l.status=qa,ue(l.destination,f)):(l.status=iu,l.fatalError=f)}function su(l,f,b){Qi(f,"Suspense");var _=f.blockedBoundary,M=f.blockedSegment,N=b.fallback,H=b.children,te=new Set,s=Bo(l,te),c=M.chunks.length,g=hl(l,c,s,M.formatContext,!1,!1);M.children.push(g),M.lastPushedText=!1;var y=hl(l,0,null,M.formatContext,!1,!1);y.parentFlushed=!0,f.blockedBoundary=s,f.blockedSegment=y;try{if(ws(l,f,H),ni(y.chunks,l.responseState,y.lastPushedText,y.textEmbedded),y.status=Vr,xs(s,y),s.pendingTasks===0){Wr(f);return}}catch(L){y.status=Xa,s.forceClientRender=!0,s.errorDigest=Hr(l,L),gl(s,L)}finally{f.blockedBoundary=_,f.blockedSegment=M}var T=hs(l,N,_,g,te,f.legacyContext,f.context,f.treeContext);T.componentStack=f.componentStack,l.pingedTasks.push(T),Wr(f)}function to(l,f,b,_){Qi(f,b);var M=f.blockedSegment,N=ho(M.chunks,b,_,l.responseState,M.formatContext);M.lastPushedText=!1;var H=M.formatContext;M.formatContext=mi(H,b,_),ws(l,f,N),M.formatContext=H,go(M.chunks,b),M.lastPushedText=!1,Wr(f)}function gs(l){return l.prototype&&l.prototype.isReactComponent}function ml(l,f,b,_,M){var N={};Jl(f,N);var H=b(_,M);return Sa(b,_,H,M)}function Wu(l,f,b,_,M){var N=b.render();b.props!==M&&(zo||o("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",cn(_)||"a component"),zo=!0);{var H=_.childContextTypes;if(H!=null){var te=f.legacyContext,s=Zl(b,_,te,H);f.legacyContext=s,wr(l,f,N),f.legacyContext=te;return}}wr(l,f,N)}function lu(l,f,b,_){jo(f,b);var M=Gl(b,f.legacyContext),N=Si(b,_,M);Nu(N,b,_,M),Wu(l,f,N,b,_),Wr(f)}var bt={},ms={},Hu={},no={},zo=!1,uu=!1,cu=!1,br=!1;function $u(l,f,b,_){var M;if(M=Gl(b,f.legacyContext),ci(f,b),b.prototype&&typeof b.prototype.render=="function"){var N=cn(b)||"Unknown";bt[N]||(o("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",N,N),bt[N]=!0)}var H=ml(l,f,b,_,M),te=lr();if(typeof H=="object"&&H!==null&&typeof H.render=="function"&&H.$$typeof===void 0){var s=cn(b)||"Unknown";ms[s]||(o("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",s,s,s),ms[s]=!0)}if(typeof H=="object"&&H!==null&&typeof H.render=="function"&&H.$$typeof===void 0){{var c=cn(b)||"Unknown";ms[c]||(o("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",c,c,c),ms[c]=!0)}Nu(H,b,_,M),Wu(l,f,H,b,_)}else if(vs(b),te){var g=f.treeContext,y=1,T=0;f.treeContext=ol(g,y,T);try{wr(l,f,H)}finally{f.treeContext=g}}else wr(l,f,H);Wr(f)}function vs(l){{if(l&&l.childContextTypes&&o("%s(...): childContextTypes cannot be defined on a function component.",l.displayName||l.name||"Component"),typeof l.getDerivedStateFromProps=="function"){var f=cn(l)||"Unknown";no[f]||(o("%s: Function components do not support getDerivedStateFromProps.",f),no[f]=!0)}if(typeof l.contextType=="object"&&l.contextType!==null){var b=cn(l)||"Unknown";Hu[b]||(o("%s: Function components do not support contextType.",b),Hu[b]=!0)}}}function bs(l,f){if(l&&l.defaultProps){var b=jr({},f),_=l.defaultProps;for(var M in _)b[M]===void 0&&(b[M]=_[M]);return b}return f}function Gu(l,f,b,_,M){ci(f,b.render);var N=ml(l,f,b.render,_,M),H=lr();if(H){var te=f.treeContext,s=1,c=0;f.treeContext=ol(te,s,c);try{wr(l,f,N)}finally{f.treeContext=te}}else wr(l,f,N);Wr(f)}function Zu(l,f,b,_,M){var N=b.type,H=bs(N,_);vl(l,f,N,H,M)}function yr(l,f,b,_){b._context===void 0?b!==b.Consumer&&(br||(br=!0,o("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):b=b._context;var M=_.children;typeof M!="function"&&o("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it.");var N=os(b),H=M(N);wr(l,f,H)}function _a(l,f,b,_){var M=b._context,N=_.value,H=_.children,te;te=f.context,f.context=Pu(M,N),wr(l,f,H),f.context=Du(M),te!==f.context&&o("Popping the context provider did not return back to the original snapshot. This is a bug in React.")}function du(l,f,b,_,M){Qi(f,"Lazy");var N=b._payload,H=b._init,te=H(N),s=bs(te,_);vl(l,f,te,s,M),Wr(f)}function vl(l,f,b,_,M){if(typeof b=="function")if(gs(b)){lu(l,f,b,_);return}else{$u(l,f,b,_);return}if(typeof b=="string"){to(l,f,b,_);return}switch(b){case Ua:case vr:case Y:case se:case Ln:{wr(l,f,_.children);return}case gn:{Qi(f,"SuspenseList"),wr(l,f,_.children),Wr(f);return}case jl:throw new Error("ReactDOMServer does not yet support scope components.");case Pt:{su(l,f,_);return}}if(typeof b=="object"&&b!==null)switch(b.$$typeof){case ot:{Gu(l,f,b,_,M);return}case Vt:{Zu(l,f,b,_,M);return}case ne:{_a(l,f,b,_);return}case Ne:{yr(l,f,b,_);return}case ha:{du(l,f,b,_);return}}var N="";throw(b===void 0||typeof b=="object"&&b!==null&&Object.keys(b).length===0)&&(N+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),new Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) "+("but got: "+(b==null?b:typeof b)+"."+N))}function bl(l,f){typeof Symbol=="function"&&l[Symbol.toStringTag]==="Generator"&&(uu||o("Using Generators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. Keep in mind you might need to polyfill these features for older browsers."),uu=!0),l.entries===f&&(cu||o("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),cu=!0)}function wr(l,f,b){try{return ys(l,f,b)}catch(_){throw typeof _=="object"&&_!==null&&typeof _.then=="function"||(eo=eo!==null?eo:No()),_}}function ys(l,f,b){if(f.node=b,typeof b=="object"&&b!==null){switch(b.$$typeof){case Ec:{var _=b,M=_.type,N=_.props,H=_.ref;vl(l,f,M,N,H);return}case Ou:throw new Error("Portals are not currently supported by the server renderer. Render them conditionally so that they only appear on the client render.");case ha:{var te=b,s=te._payload,c=te._init,g;try{g=c(s)}catch(Ge){throw typeof Ge=="object"&&Ge!==null&&typeof Ge.then=="function"&&Qi(f,"Lazy"),Ge}wr(l,f,g);return}}if(vt(b)){fu(l,f,b);return}var y=Qs(b);if(y){bl(b,y);var T=y.call(b);if(T){var L=T.next();if(!L.done){var W=[];do W.push(L.value),L=T.next();while(!L.done);fu(l,f,W);return}return}}var ee=Object.prototype.toString.call(b);throw new Error("Objects are not valid as a React child (found: "+(ee==="[object Object]"?"object with keys {"+Object.keys(b).join(", ")+"}":ee)+"). If you meant to render a collection of children, use an array instead.")}if(typeof b=="string"){var pe=f.blockedSegment;pe.lastPushedText=Ni(f.blockedSegment.chunks,b,l.responseState,pe.lastPushedText);return}if(typeof b=="number"){var De=f.blockedSegment;De.lastPushedText=Ni(f.blockedSegment.chunks,""+b,l.responseState,De.lastPushedText);return}typeof b=="function"&&o("Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it.")}function fu(l,f,b){for(var _=b.length,M=0;M<_;M++){var N=f.treeContext;f.treeContext=ol(N,_,M);try{ws(l,f,b[M])}finally{f.treeContext=N}}}function ur(l,f,b){var _=f.blockedSegment,M=_.chunks.length,N=hl(l,M,null,_.formatContext,_.lastPushedText,!0);_.children.push(N),_.lastPushedText=!1;var H=hs(l,f.node,f.blockedBoundary,N,f.abortSet,f.legacyContext,f.context,f.treeContext);f.componentStack!==null&&(H.componentStack=f.componentStack.parent);var te=H.ping;b.then(te,te)}function ws(l,f,b){var _=f.blockedSegment.formatContext,M=f.legacyContext,N=f.context,H=null;H=f.componentStack;try{return wr(l,f,b)}catch(te){if(Ql(),typeof te=="object"&&te!==null&&typeof te.then=="function"){ur(l,f,te),f.blockedSegment.formatContext=_,f.legacyContext=M,f.context=N,as(N),f.componentStack=H;return}else throw f.blockedSegment.formatContext=_,f.legacyContext=M,f.context=N,as(N),f.componentStack=H,te}}function qi(l,f,b,_){var M=Hr(l,_);if(f===null?Xi(l,_):(f.pendingTasks--,f.forceClientRender||(f.forceClientRender=!0,f.errorDigest=M,gl(f,_),f.parentFlushed&&l.clientRenderedBoundaries.push(f))),l.allPendingTasks--,l.allPendingTasks===0){var N=l.onAllReady;N()}}function Dc(l){var f=this,b=l.blockedBoundary,_=l.blockedSegment;_.status=pl,pu(f,b,_)}function di(l,f,b){var _=l.blockedBoundary,M=l.blockedSegment;if(M.status=pl,_===null)f.allPendingTasks--,f.status!==qa&&(f.status=qa,f.destination!==null&&ae(f.destination));else{if(_.pendingTasks--,!_.forceClientRender){_.forceClientRender=!0;var N=b===void 0?new Error("The render was aborted by the server without a reason."):b;_.errorDigest=f.onError(N);{var H="The server did not finish this Suspense boundary: ";N&&typeof N.message=="string"?N=H+N.message:N=H+String(N);var te=ui;ui=l;try{gl(_,N)}finally{ui=te}}_.parentFlushed&&f.clientRenderedBoundaries.push(_)}if(_.fallbackAbortableTasks.forEach(function(c){return di(c,f,b)}),_.fallbackAbortableTasks.clear(),f.allPendingTasks--,f.allPendingTasks===0){var s=f.onAllReady;s()}}}function xs(l,f){if(f.chunks.length===0&&f.children.length===1&&f.children[0].boundary===null){var b=f.children[0];b.id=f.id,b.parentFlushed=!0,b.status===Vr&&xs(l,b)}else{var _=l.completedSegments;_.push(f)}}function pu(l,f,b){if(f===null){if(b.parentFlushed){if(l.completedRootSegment!==null)throw new Error("There can only be one root segment. This is a bug in React.");l.completedRootSegment=b}if(l.pendingRootTasks--,l.pendingRootTasks===0){l.onShellError=_i;var _=l.onShellReady;_()}}else if(f.pendingTasks--,!f.forceClientRender){if(f.pendingTasks===0)b.parentFlushed&&b.status===Vr&&xs(f,b),f.parentFlushed&&l.completedBoundaries.push(f),f.fallbackAbortableTasks.forEach(Dc,l),f.fallbackAbortableTasks.clear();else if(b.parentFlushed&&b.status===Vr){xs(f,b);var M=f.completedSegments;M.length===1&&f.parentFlushed&&l.partialBoundaries.push(f)}}if(l.allPendingTasks--,l.allPendingTasks===0){var N=l.onAllReady;N()}}function yl(l,f){var b=f.blockedSegment;if(b.status===ru){as(f.context);var _=null;_=ui,ui=f;try{wr(l,f,f.node),ni(b.chunks,l.responseState,b.lastPushedText,b.textEmbedded),f.abortSet.delete(f),b.status=Vr,pu(l,f.blockedBoundary,b)}catch(N){if(Ql(),typeof N=="object"&&N!==null&&typeof N.then=="function"){var M=f.ping;N.then(M,M)}else f.abortSet.delete(f),b.status=Xa,qi(l,f.blockedBoundary,b,N)}finally{ui=_}}}function Ss(l){if(l.status!==qa){var f=tl(),b=fs.current;fs.current=Xn;var _;_=Do.getCurrentStack,Do.getCurrentStack=No;var M=cs;ds(l.responseState);try{var N=l.pingedTasks,H;for(H=0;H<N.length;H++){var te=N[H];yl(l,te)}N.splice(0,H),l.destination!==null&&Zn(l,l.destination)}catch(s){Hr(l,s),Xi(l,s)}finally{ds(M),fs.current=b,Do.getCurrentStack=_,b===Xn&&as(f)}}}function ks(l,f,b){switch(b.parentFlushed=!0,b.status){case ru:{var _=b.id=l.nextSegmentId++;return b.lastPushedText=!1,b.textEmbedded=!1,Vn(f,l.responseState,_)}case Vr:{b.status=ps;for(var M=!0,N=b.chunks,H=0,te=b.children,s=0;s<te.length;s++){for(var c=te[s];H<c.index;H++)D(f,N[H]);M=wl(l,f,c)}for(;H<N.length-1;H++)D(f,N[H]);return H<N.length&&(M=V(f,N[H])),M}default:throw new Error("Aborted, errored or already flushed boundaries should not be flushed again. This is a bug in React.")}}function wl(l,f,b){var _=b.boundary;if(_===null)return ks(l,f,b);if(_.parentFlushed=!0,_.forceClientRender)return Hn(f,l.responseState,_.errorDigest,_.errorMessage,_.errorComponentStack),ks(l,f,b),Qo(f,l.responseState);if(_.pendingTasks>0){_.rootSegmentID=l.nextSegmentId++,_.completedSegments.length>0&&l.partialBoundaries.push(_);var M=_.id=oa(l.responseState);return Vi(f,l.responseState,M),ks(l,f,b),Er(f,l.responseState)}else{if(_.byteSize>l.progressiveChunkSize)return _.rootSegmentID=l.nextSegmentId++,l.completedBoundaries.push(_),Vi(f,l.responseState,_.id),ks(l,f,b),Er(f,l.responseState);ii(f,l.responseState);var N=_.completedSegments;if(N.length!==1)throw new Error("A previously unvisited boundary must have exactly one root segment. This is a bug in React.");var H=N[0];return wl(l,f,H),qt(f,l.responseState)}}function hu(l,f,b){return Bl(f,l.responseState,b.id,b.errorDigest,b.errorMessage,b.errorComponentStack)}function Uo(l,f,b){return at(f,l.responseState,b.formatContext,b.id),wl(l,f,b),Jt(f,b.formatContext)}function _s(l,f,b){for(var _=b.completedSegments,M=0;M<_.length;M++){var N=_[M];xl(l,f,b,N)}return _.length=0,ko(f,l.responseState,b.id,b.rootSegmentID)}function Yu(l,f,b){for(var _=b.completedSegments,M=0;M<_.length;M++){var N=_[M];if(!xl(l,f,b,N))return M++,_.splice(0,M),!1}return _.splice(0,M),!0}function xl(l,f,b,_){if(_.status===ps)return!0;var M=_.id;if(M===-1){var N=_.id=b.rootSegmentID;if(N===-1)throw new Error("A root segment ID must have been assigned by now. This is a bug in React.");return Uo(l,f,_)}else return Uo(l,f,_),xc(f,l.responseState,M)}function Zn(l,f){B();try{var b=l.completedRootSegment;b!==null&&l.pendingRootTasks===0&&(wl(l,f,b),l.completedRootSegment=null,Ui(f,l.responseState));var _=l.clientRenderedBoundaries,M;for(M=0;M<_.length;M++){var N=_[M];hu(l,f,N)}_.splice(0,M);var H=l.completedBoundaries;for(M=0;M<H.length;M++){var te=H[M];_s(l,f,te)}H.splice(0,M),he(f),B(f);var s=l.partialBoundaries;for(M=0;M<s.length;M++){var c=s[M];if(!Yu(l,f,c)){l.destination=null,M++,s.splice(0,M);return}}s.splice(0,M);var g=l.completedBoundaries;for(M=0;M<g.length;M++){var y=g[M];_s(l,f,y)}g.splice(0,M)}finally{he(f),l.allPendingTasks===0&&l.pingedTasks.length===0&&l.clientRenderedBoundaries.length===0&&l.completedBoundaries.length===0&&(l.abortableTasks.size!==0&&o("There was still abortable task at the root when we closed. This is a bug in React."),ae(f))}}function Ei(l){v(function(){return Ss(l)})}function Ku(l,f){if(l.status===iu){l.status=qa,ue(f,l.fatalError);return}if(l.status!==qa&&l.destination===null){l.destination=f;try{Zn(l,f)}catch(b){Hr(l,b),Xi(l,b)}}}function Sl(l,f){try{var b=l.abortableTasks;b.forEach(function(_){return di(_,l,f)}),b.clear(),l.destination!==null&&Zn(l,l.destination)}catch(_){Hr(l,_),Xi(l,_)}}function kl(l,f){return new Promise(function(b,_){var M,N,H=new Promise(function(T,L){N=T,M=L});function te(){var T=new ReadableStream({type:"bytes",pull:function(L){Ku(c,L)},cancel:function(L){Sl(c)}},{highWaterMark:0});T.allReady=H,b(T)}function s(T){H.catch(function(){}),_(T)}var c=Fc(l,Fr(f?f.identifierPrefix:void 0,f?f.nonce:void 0,f?f.bootstrapScriptContent:void 0,f?f.bootstrapScripts:void 0,f?f.bootstrapModules:void 0),ti(f?f.namespaceURI:void 0),f?f.progressiveChunkSize:void 0,f?f.onError:void 0,N,te,s,M);if(f&&f.signal){var g=f.signal,y=function(){Sl(c,g.reason),g.removeEventListener("abort",y)};g.addEventListener("abort",y)}Ei(c)})}Sd.renderToReadableStream=kl,Sd.version=e}()),Sd}var Ml,pf;process.env.NODE_ENV==="production"?(Ml=Dy(),pf=Ly()):(Ml=By(),pf=Ny()),Ml.version;var jy=Ml.renderToString;Ml.renderToStaticMarkup,Ml.renderToNodeStream,Ml.renderToStaticNodeStream,pf.renderToReadableStream;var hf={exports:{}},kd={exports:{}},en={};/** @license React v16.13.1
173
+ `+_.stack}}var hs=n.ReactCurrentDispatcher,No=n.ReactDebugCurrentFrame,iu=0,$r=1,gs=2,hl=3,no=4,jo=0,au=1,ro=2,ou=12800;function su(l){return console.error(l),null}function Ri(){}function zc(l,f,b,_,M,N,H,ne,s){var d=[],m=new Set,x={destination:null,responseState:f,progressiveChunkSize:_===void 0?ou:_,status:jo,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:m,pingedTasks:d,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:M===void 0?su:M,onAllReady:N===void 0?Ri:N,onShellReady:H===void 0?Ri:H,onShellError:ne===void 0?Ri:ne,onFatalError:s===void 0?Ri:s},T=gl(x,0,null,b,!1,!1);T.parentFlushed=!0;var B=ms(x,l,null,T,m,bn,Lu,Lc);return d.push(B),x}function Uc(l,f){var b=l.pingedTasks;b.push(f),b.length===1&&g(function(){return _s(l)})}function zo(l,f){return{id:ua,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:f,errorDigest:null}}function ms(l,f,b,_,M,N,H,ne){l.allPendingTasks++,b===null?l.pendingRootTasks++:b.pendingTasks++;var s={node:f,ping:function(){return Uc(l,s)},blockedBoundary:b,blockedSegment:_,abortSet:M,legacyContext:N,context:H,treeContext:ne};return s.componentStack=null,M.add(s),s}function gl(l,f,b,_,M,N){return{status:iu,id:-1,index:f,parentFlushed:!1,chunks:[],children:[],formatContext:_,boundary:b,lastPushedText:M,textEmbedded:N}}var fi=null;function Uo(){return fi===null||fi.componentStack===null?"":$u(fi.componentStack)}function na(l,f){l.componentStack={tag:0,parent:l.componentStack,type:f}}function pi(l,f){l.componentStack={tag:1,parent:l.componentStack,type:f}}function Vo(l,f){l.componentStack={tag:2,parent:l.componentStack,type:f}}function Gr(l){l.componentStack===null?o("Unexpectedly popped too many stack frames. This is a bug in React."):l.componentStack=l.componentStack.parent}var io=null;function ml(l,f){{var b;typeof f=="string"?b=f:f&&typeof f.message=="string"?b=f.message:b=String(f);var _=io||Uo();io=null,l.errorMessage=b,l.errorComponentStack=_}}function Zr(l,f){var b=l.onError(f);if(b!=null&&typeof b!="string")throw new Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof b+'" instead');return b}function ra(l,f){var b=l.onShellError;b(f);var _=l.onFatalError;_(f),l.destination!==null?(l.status=ro,be(l.destination,f)):(l.status=au,l.fatalError=f)}function lu(l,f,b){na(f,"Suspense");var _=f.blockedBoundary,M=f.blockedSegment,N=b.fallback,H=b.children,ne=new Set,s=zo(l,ne),d=M.chunks.length,m=gl(l,d,s,M.formatContext,!1,!1);M.children.push(m),M.lastPushedText=!1;var x=gl(l,0,null,M.formatContext,!1,!1);x.parentFlushed=!0,f.blockedBoundary=s,f.blockedSegment=x;try{if(Ss(l,f,H),ai(x.chunks,l.responseState,x.lastPushedText,x.textEmbedded),x.status=$r,ks(s,x),s.pendingTasks===0){Gr(f);return}}catch(B){x.status=no,s.forceClientRender=!0,s.errorDigest=Zr(l,B),ml(s,B)}finally{f.blockedBoundary=_,f.blockedSegment=M}var T=ms(l,N,_,m,ne,f.legacyContext,f.context,f.treeContext);T.componentStack=f.componentStack,l.pingedTasks.push(T),Gr(f)}function ao(l,f,b,_){na(f,b);var M=f.blockedSegment,N=vo(M.chunks,b,_,l.responseState,M.formatContext);M.lastPushedText=!1;var H=M.formatContext;M.formatContext=wi(H,b,_),Ss(l,f,N),M.formatContext=H,bo(M.chunks,b),M.lastPushedText=!1,Gr(f)}function vs(l){return l.prototype&&l.prototype.isReactComponent}function vl(l,f,b,_,M){var N={};Ql(f,N);var H=b(_,M);return Ca(b,_,H,M)}function Gu(l,f,b,_,M){var N=b.render();b.props!==M&&(Wo||o("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",fn(_)||"a component"),Wo=!0);{var H=_.childContextTypes;if(H!=null){var ne=f.legacyContext,s=Yl(b,_,ne,H);f.legacyContext=s,xr(l,f,N),f.legacyContext=ne;return}}xr(l,f,N)}function uu(l,f,b,_){Vo(f,b);var M=Zl(b,f.legacyContext),N=Ci(b,_,M);Uu(N,b,_,M),Gu(l,f,N,b,_),Gr(f)}var vt={},bs={},Zu={},oo={},Wo=!1,cu=!1,du=!1,yr=!1;function Yu(l,f,b,_){var M;if(M=Zl(b,f.legacyContext),pi(f,b),b.prototype&&typeof b.prototype.render=="function"){var N=fn(b)||"Unknown";vt[N]||(o("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",N,N),vt[N]=!0)}var H=vl(l,f,b,_,M),ne=ur();if(typeof H=="object"&&H!==null&&typeof H.render=="function"&&H.$$typeof===void 0){var s=fn(b)||"Unknown";bs[s]||(o("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",s,s,s),bs[s]=!0)}if(typeof H=="object"&&H!==null&&typeof H.render=="function"&&H.$$typeof===void 0){{var d=fn(b)||"Unknown";bs[d]||(o("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",d,d,d),bs[d]=!0)}Uu(H,b,_,M),Gu(l,f,H,b,_)}else if(ys(b),ne){var m=f.treeContext,x=1,T=0;f.treeContext=sl(m,x,T);try{xr(l,f,H)}finally{f.treeContext=m}}else xr(l,f,H);Gr(f)}function ys(l){{if(l&&l.childContextTypes&&o("%s(...): childContextTypes cannot be defined on a function component.",l.displayName||l.name||"Component"),typeof l.getDerivedStateFromProps=="function"){var f=fn(l)||"Unknown";oo[f]||(o("%s: Function components do not support getDerivedStateFromProps.",f),oo[f]=!0)}if(typeof l.contextType=="object"&&l.contextType!==null){var b=fn(l)||"Unknown";Zu[b]||(o("%s: Function components do not support contextType.",b),Zu[b]=!0)}}}function ws(l,f){if(l&&l.defaultProps){var b=Vr({},f),_=l.defaultProps;for(var M in _)b[M]===void 0&&(b[M]=_[M]);return b}return f}function Ku(l,f,b,_,M){pi(f,b.render);var N=vl(l,f,b.render,_,M),H=ur();if(H){var ne=f.treeContext,s=1,d=0;f.treeContext=sl(ne,s,d);try{xr(l,f,N)}finally{f.treeContext=ne}}else xr(l,f,N);Gr(f)}function Ju(l,f,b,_,M){var N=b.type,H=ws(N,_);bl(l,f,N,H,M)}function wr(l,f,b,_){b._context===void 0?b!==b.Consumer&&(yr||(yr=!0,o("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):b=b._context;var M=_.children;typeof M!="function"&&o("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it.");var N=ls(b),H=M(N);xr(l,f,H)}function Ra(l,f,b,_){var M=b._context,N=_.value,H=_.children,ne;ne=f.context,f.context=Bu(M,N),xr(l,f,H),f.context=Nu(M),ne!==f.context&&o("Popping the context provider did not return back to the original snapshot. This is a bug in React.")}function fu(l,f,b,_,M){na(f,"Lazy");var N=b._payload,H=b._init,ne=H(N),s=ws(ne,_);bl(l,f,ne,s,M),Gr(f)}function bl(l,f,b,_,M){if(typeof b=="function")if(vs(b)){uu(l,f,b,_);return}else{Yu(l,f,b,_);return}if(typeof b=="string"){ao(l,f,b,_);return}switch(b){case $a:case br:case Y:case oe:case jn:{xr(l,f,_.children);return}case mn:{na(f,"SuspenseList"),xr(l,f,_.children),Gr(f);return}case zl:throw new Error("ReactDOMServer does not yet support scope components.");case Dt:{lu(l,f,_);return}}if(typeof b=="object"&&b!==null)switch(b.$$typeof){case st:{Ku(l,f,b,_,M);return}case Wt:{Ju(l,f,b,_,M);return}case re:{Ra(l,f,b,_);return}case Be:{wr(l,f,b,_);return}case ba:{fu(l,f,b,_);return}}var N="";throw(b===void 0||typeof b=="object"&&b!==null&&Object.keys(b).length===0)&&(N+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),new Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) "+("but got: "+(b==null?b:typeof b)+"."+N))}function yl(l,f){typeof Symbol=="function"&&l[Symbol.toStringTag]==="Generator"&&(cu||o("Using Generators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. Keep in mind you might need to polyfill these features for older browsers."),cu=!0),l.entries===f&&(du||o("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),du=!0)}function xr(l,f,b){try{return xs(l,f,b)}catch(_){throw typeof _=="object"&&_!==null&&typeof _.then=="function"||(io=io!==null?io:Uo()),_}}function xs(l,f,b){if(f.node=b,typeof b=="object"&&b!==null){switch(b.$$typeof){case Mc:{var _=b,M=_.type,N=_.props,H=_.ref;bl(l,f,M,N,H);return}case Fu:throw new Error("Portals are not currently supported by the server renderer. Render them conditionally so that they only appear on the client render.");case ba:{var ne=b,s=ne._payload,d=ne._init,m;try{m=d(s)}catch(Ge){throw typeof Ge=="object"&&Ge!==null&&typeof Ge.then=="function"&&na(f,"Lazy"),Ge}xr(l,f,m);return}}if(mt(b)){pu(l,f,b);return}var x=Xs(b);if(x){yl(b,x);var T=x.call(b);if(T){var B=T.next();if(!B.done){var V=[];do V.push(B.value),B=T.next();while(!B.done);pu(l,f,V);return}return}}var te=Object.prototype.toString.call(b);throw new Error("Objects are not valid as a React child (found: "+(te==="[object Object]"?"object with keys {"+Object.keys(b).join(", ")+"}":te)+"). If you meant to render a collection of children, use an array instead.")}if(typeof b=="string"){var me=f.blockedSegment;me.lastPushedText=Wi(f.blockedSegment.chunks,b,l.responseState,me.lastPushedText);return}if(typeof b=="number"){var Fe=f.blockedSegment;Fe.lastPushedText=Wi(f.blockedSegment.chunks,""+b,l.responseState,Fe.lastPushedText);return}typeof b=="function"&&o("Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it.")}function pu(l,f,b){for(var _=b.length,M=0;M<_;M++){var N=f.treeContext;f.treeContext=sl(N,_,M);try{Ss(l,f,b[M])}finally{f.treeContext=N}}}function cr(l,f,b){var _=f.blockedSegment,M=_.chunks.length,N=gl(l,M,null,_.formatContext,_.lastPushedText,!0);_.children.push(N),_.lastPushedText=!1;var H=ms(l,f.node,f.blockedBoundary,N,f.abortSet,f.legacyContext,f.context,f.treeContext);f.componentStack!==null&&(H.componentStack=f.componentStack.parent);var ne=H.ping;b.then(ne,ne)}function Ss(l,f,b){var _=f.blockedSegment.formatContext,M=f.legacyContext,N=f.context,H=null;H=f.componentStack;try{return xr(l,f,b)}catch(ne){if(Xl(),typeof ne=="object"&&ne!==null&&typeof ne.then=="function"){cr(l,f,ne),f.blockedSegment.formatContext=_,f.legacyContext=M,f.context=N,ss(N),f.componentStack=H;return}else throw f.blockedSegment.formatContext=_,f.legacyContext=M,f.context=N,ss(N),f.componentStack=H,ne}}function ia(l,f,b,_){var M=Zr(l,_);if(f===null?ra(l,_):(f.pendingTasks--,f.forceClientRender||(f.forceClientRender=!0,f.errorDigest=M,ml(f,_),f.parentFlushed&&l.clientRenderedBoundaries.push(f))),l.allPendingTasks--,l.allPendingTasks===0){var N=l.onAllReady;N()}}function Vc(l){var f=this,b=l.blockedBoundary,_=l.blockedSegment;_.status=hl,hu(f,b,_)}function hi(l,f,b){var _=l.blockedBoundary,M=l.blockedSegment;if(M.status=hl,_===null)f.allPendingTasks--,f.status!==ro&&(f.status=ro,f.destination!==null&&ae(f.destination));else{if(_.pendingTasks--,!_.forceClientRender){_.forceClientRender=!0;var N=b===void 0?new Error("The render was aborted by the server without a reason."):b;_.errorDigest=f.onError(N);{var H="The server did not finish this Suspense boundary: ";N&&typeof N.message=="string"?N=H+N.message:N=H+String(N);var ne=fi;fi=l;try{ml(_,N)}finally{fi=ne}}_.parentFlushed&&f.clientRenderedBoundaries.push(_)}if(_.fallbackAbortableTasks.forEach(function(d){return hi(d,f,b)}),_.fallbackAbortableTasks.clear(),f.allPendingTasks--,f.allPendingTasks===0){var s=f.onAllReady;s()}}}function ks(l,f){if(f.chunks.length===0&&f.children.length===1&&f.children[0].boundary===null){var b=f.children[0];b.id=f.id,b.parentFlushed=!0,b.status===$r&&ks(l,b)}else{var _=l.completedSegments;_.push(f)}}function hu(l,f,b){if(f===null){if(b.parentFlushed){if(l.completedRootSegment!==null)throw new Error("There can only be one root segment. This is a bug in React.");l.completedRootSegment=b}if(l.pendingRootTasks--,l.pendingRootTasks===0){l.onShellError=Ri;var _=l.onShellReady;_()}}else if(f.pendingTasks--,!f.forceClientRender){if(f.pendingTasks===0)b.parentFlushed&&b.status===$r&&ks(f,b),f.parentFlushed&&l.completedBoundaries.push(f),f.fallbackAbortableTasks.forEach(Vc,l),f.fallbackAbortableTasks.clear();else if(b.parentFlushed&&b.status===$r){ks(f,b);var M=f.completedSegments;M.length===1&&f.parentFlushed&&l.partialBoundaries.push(f)}}if(l.allPendingTasks--,l.allPendingTasks===0){var N=l.onAllReady;N()}}function wl(l,f){var b=f.blockedSegment;if(b.status===iu){ss(f.context);var _=null;_=fi,fi=f;try{xr(l,f,f.node),ai(b.chunks,l.responseState,b.lastPushedText,b.textEmbedded),f.abortSet.delete(f),b.status=$r,hu(l,f.blockedBoundary,b)}catch(N){if(Xl(),typeof N=="object"&&N!==null&&typeof N.then=="function"){var M=f.ping;N.then(M,M)}else f.abortSet.delete(f),b.status=no,ia(l,f.blockedBoundary,b,N)}finally{fi=_}}}function _s(l){if(l.status!==ro){var f=nl(),b=hs.current;hs.current=er;var _;_=No.getCurrentStack,No.getCurrentStack=Uo;var M=fs;ps(l.responseState);try{var N=l.pingedTasks,H;for(H=0;H<N.length;H++){var ne=N[H];wl(l,ne)}N.splice(0,H),l.destination!==null&&Kn(l,l.destination)}catch(s){Zr(l,s),ra(l,s)}finally{ps(M),hs.current=b,No.getCurrentStack=_,b===er&&ss(f)}}}function Es(l,f,b){switch(b.parentFlushed=!0,b.status){case iu:{var _=b.id=l.nextSegmentId++;return b.lastPushedText=!1,b.textEmbedded=!1,Hn(f,l.responseState,_)}case $r:{b.status=gs;for(var M=!0,N=b.chunks,H=0,ne=b.children,s=0;s<ne.length;s++){for(var d=ne[s];H<d.index;H++)P(f,N[H]);M=xl(l,f,d)}for(;H<N.length-1;H++)P(f,N[H]);return H<N.length&&(M=W(f,N[H])),M}default:throw new Error("Aborted, errored or already flushed boundaries should not be flushed again. This is a bug in React.")}}function xl(l,f,b){var _=b.boundary;if(_===null)return Es(l,f,b);if(_.parentFlushed=!0,_.forceClientRender)return Gn(f,l.responseState,_.errorDigest,_.errorMessage,_.errorComponentStack),Es(l,f,b),qo(f,l.responseState);if(_.pendingTasks>0){_.rootSegmentID=l.nextSegmentId++,_.completedSegments.length>0&&l.partialBoundaries.push(_);var M=_.id=ca(l.responseState);return Zi(f,l.responseState,M),Es(l,f,b),Rr(f,l.responseState)}else{if(_.byteSize>l.progressiveChunkSize)return _.rootSegmentID=l.nextSegmentId++,l.completedBoundaries.push(_),Zi(f,l.responseState,_.id),Es(l,f,b),Rr(f,l.responseState);si(f,l.responseState);var N=_.completedSegments;if(N.length!==1)throw new Error("A previously unvisited boundary must have exactly one root segment. This is a bug in React.");var H=N[0];return xl(l,f,H),tn(f,l.responseState)}}function gu(l,f,b){return Nl(f,l.responseState,b.id,b.errorDigest,b.errorMessage,b.errorComponentStack)}function Ho(l,f,b){return ot(f,l.responseState,b.formatContext,b.id),xl(l,f,b),Xt(f,b.formatContext)}function Cs(l,f,b){for(var _=b.completedSegments,M=0;M<_.length;M++){var N=_[M];Sl(l,f,b,N)}return _.length=0,Co(f,l.responseState,b.id,b.rootSegmentID)}function Qu(l,f,b){for(var _=b.completedSegments,M=0;M<_.length;M++){var N=_[M];if(!Sl(l,f,b,N))return M++,_.splice(0,M),!1}return _.splice(0,M),!0}function Sl(l,f,b,_){if(_.status===gs)return!0;var M=_.id;if(M===-1){var N=_.id=b.rootSegmentID;if(N===-1)throw new Error("A root segment ID must have been assigned by now. This is a bug in React.");return Ho(l,f,_)}else return Ho(l,f,_),Rc(f,l.responseState,M)}function Kn(l,f){L();try{var b=l.completedRootSegment;b!==null&&l.pendingRootTasks===0&&(xl(l,f,b),l.completedRootSegment=null,Gi(f,l.responseState));var _=l.clientRenderedBoundaries,M;for(M=0;M<_.length;M++){var N=_[M];gu(l,f,N)}_.splice(0,M);var H=l.completedBoundaries;for(M=0;M<H.length;M++){var ne=H[M];Cs(l,f,ne)}H.splice(0,M),se(f),L(f);var s=l.partialBoundaries;for(M=0;M<s.length;M++){var d=s[M];if(!Qu(l,f,d)){l.destination=null,M++,s.splice(0,M);return}}s.splice(0,M);var m=l.completedBoundaries;for(M=0;M<m.length;M++){var x=m[M];Cs(l,f,x)}m.splice(0,M)}finally{se(f),l.allPendingTasks===0&&l.pingedTasks.length===0&&l.clientRenderedBoundaries.length===0&&l.completedBoundaries.length===0&&(l.abortableTasks.size!==0&&o("There was still abortable task at the root when we closed. This is a bug in React."),ae(f))}}function Ii(l){g(function(){return _s(l)})}function Xu(l,f){if(l.status===au){l.status=ro,be(f,l.fatalError);return}if(l.status!==ro&&l.destination===null){l.destination=f;try{Kn(l,f)}catch(b){Zr(l,b),ra(l,b)}}}function kl(l,f){try{var b=l.abortableTasks;b.forEach(function(_){return hi(_,l,f)}),b.clear(),l.destination!==null&&Kn(l,l.destination)}catch(_){Zr(l,_),ra(l,_)}}function _l(l,f){return new Promise(function(b,_){var M,N,H=new Promise(function(T,B){N=T,M=B});function ne(){var T=new ReadableStream({type:"bytes",pull:function(B){Xu(d,B)},cancel:function(B){kl(d)}},{highWaterMark:0});T.allReady=H,b(T)}function s(T){H.catch(function(){}),_(T)}var d=zc(l,Lr(f?f.identifierPrefix:void 0,f?f.nonce:void 0,f?f.bootstrapScriptContent:void 0,f?f.bootstrapScripts:void 0,f?f.bootstrapModules:void 0),ii(f?f.namespaceURI:void 0),f?f.progressiveChunkSize:void 0,f?f.onError:void 0,N,ne,s,M);if(f&&f.signal){var m=f.signal,x=function(){kl(d,m.reason),m.removeEventListener("abort",x)};m.addEventListener("abort",x)}Ii(d)})}Td.renderToReadableStream=_l,Td.version=e}()),Td}var Pl,Ef;process.env.NODE_ENV==="production"?(Pl=l0(),Ef=u0()):(Pl=c0(),Ef=d0()),Pl.version;var f0=Pl.renderToString;Pl.renderToStaticMarkup,Pl.renderToNodeStream,Pl.renderToStaticNodeStream,Ef.renderToReadableStream;var Cf={exports:{}},Rd={exports:{}},nn={};/** @license React v16.13.1
174
174
  * react-is.production.min.js
175
175
  *
176
176
  * Copyright (c) Facebook, Inc. and its affiliates.
177
177
  *
178
178
  * This source code is licensed under the MIT license found in the
179
179
  * LICENSE file in the root directory of this source tree.
180
- */var Ch;function zy(){if(Ch)return en;Ch=1;var r=typeof Symbol=="function"&&Symbol.for,e=r?Symbol.for("react.element"):60103,n=r?Symbol.for("react.portal"):60106,a=r?Symbol.for("react.fragment"):60107,o=r?Symbol.for("react.strict_mode"):60108,d=r?Symbol.for("react.profiler"):60114,v=r?Symbol.for("react.provider"):60109,x=r?Symbol.for("react.context"):60110,w=r?Symbol.for("react.async_mode"):60111,E=r?Symbol.for("react.concurrent_mode"):60111,B=r?Symbol.for("react.forward_ref"):60112,D=r?Symbol.for("react.suspense"):60113,V=r?Symbol.for("react.suspense_list"):60120,he=r?Symbol.for("react.memo"):60115,ae=r?Symbol.for("react.lazy"):60116,ye=r?Symbol.for("react.block"):60121,Z=r?Symbol.for("react.fundamental"):60117,G=r?Symbol.for("react.responder"):60118,ue=r?Symbol.for("react.scope"):60119;function be(re){if(typeof re=="object"&&re!==null){var Ie=re.$$typeof;switch(Ie){case e:switch(re=re.type,re){case w:case E:case a:case d:case o:case D:return re;default:switch(re=re&&re.$$typeof,re){case x:case B:case ae:case he:case v:return re;default:return Ie}}case n:return Ie}}}function ke(re){return be(re)===E}return en.AsyncMode=w,en.ConcurrentMode=E,en.ContextConsumer=x,en.ContextProvider=v,en.Element=e,en.ForwardRef=B,en.Fragment=a,en.Lazy=ae,en.Memo=he,en.Portal=n,en.Profiler=d,en.StrictMode=o,en.Suspense=D,en.isAsyncMode=function(re){return ke(re)||be(re)===w},en.isConcurrentMode=ke,en.isContextConsumer=function(re){return be(re)===x},en.isContextProvider=function(re){return be(re)===v},en.isElement=function(re){return typeof re=="object"&&re!==null&&re.$$typeof===e},en.isForwardRef=function(re){return be(re)===B},en.isFragment=function(re){return be(re)===a},en.isLazy=function(re){return be(re)===ae},en.isMemo=function(re){return be(re)===he},en.isPortal=function(re){return be(re)===n},en.isProfiler=function(re){return be(re)===d},en.isStrictMode=function(re){return be(re)===o},en.isSuspense=function(re){return be(re)===D},en.isValidElementType=function(re){return typeof re=="string"||typeof re=="function"||re===a||re===E||re===d||re===o||re===D||re===V||typeof re=="object"&&re!==null&&(re.$$typeof===ae||re.$$typeof===he||re.$$typeof===v||re.$$typeof===x||re.$$typeof===B||re.$$typeof===Z||re.$$typeof===G||re.$$typeof===ue||re.$$typeof===ye)},en.typeOf=be,en}var tn={};/** @license React v16.13.1
180
+ */var zh;function p0(){if(zh)return nn;zh=1;var r=typeof Symbol=="function"&&Symbol.for,e=r?Symbol.for("react.element"):60103,n=r?Symbol.for("react.portal"):60106,a=r?Symbol.for("react.fragment"):60107,o=r?Symbol.for("react.strict_mode"):60108,c=r?Symbol.for("react.profiler"):60114,g=r?Symbol.for("react.provider"):60109,y=r?Symbol.for("react.context"):60110,w=r?Symbol.for("react.async_mode"):60111,E=r?Symbol.for("react.concurrent_mode"):60111,L=r?Symbol.for("react.forward_ref"):60112,P=r?Symbol.for("react.suspense"):60113,W=r?Symbol.for("react.suspense_list"):60120,se=r?Symbol.for("react.memo"):60115,ae=r?Symbol.for("react.lazy"):60116,ke=r?Symbol.for("react.block"):60121,G=r?Symbol.for("react.fundamental"):60117,Z=r?Symbol.for("react.responder"):60118,be=r?Symbol.for("react.scope"):60119;function fe(ee){if(typeof ee=="object"&&ee!==null){var Te=ee.$$typeof;switch(Te){case e:switch(ee=ee.type,ee){case w:case E:case a:case c:case o:case P:return ee;default:switch(ee=ee&&ee.$$typeof,ee){case y:case L:case ae:case se:case g:return ee;default:return Te}}case n:return Te}}}function de(ee){return fe(ee)===E}return nn.AsyncMode=w,nn.ConcurrentMode=E,nn.ContextConsumer=y,nn.ContextProvider=g,nn.Element=e,nn.ForwardRef=L,nn.Fragment=a,nn.Lazy=ae,nn.Memo=se,nn.Portal=n,nn.Profiler=c,nn.StrictMode=o,nn.Suspense=P,nn.isAsyncMode=function(ee){return de(ee)||fe(ee)===w},nn.isConcurrentMode=de,nn.isContextConsumer=function(ee){return fe(ee)===y},nn.isContextProvider=function(ee){return fe(ee)===g},nn.isElement=function(ee){return typeof ee=="object"&&ee!==null&&ee.$$typeof===e},nn.isForwardRef=function(ee){return fe(ee)===L},nn.isFragment=function(ee){return fe(ee)===a},nn.isLazy=function(ee){return fe(ee)===ae},nn.isMemo=function(ee){return fe(ee)===se},nn.isPortal=function(ee){return fe(ee)===n},nn.isProfiler=function(ee){return fe(ee)===c},nn.isStrictMode=function(ee){return fe(ee)===o},nn.isSuspense=function(ee){return fe(ee)===P},nn.isValidElementType=function(ee){return typeof ee=="string"||typeof ee=="function"||ee===a||ee===E||ee===c||ee===o||ee===P||ee===W||typeof ee=="object"&&ee!==null&&(ee.$$typeof===ae||ee.$$typeof===se||ee.$$typeof===g||ee.$$typeof===y||ee.$$typeof===L||ee.$$typeof===G||ee.$$typeof===Z||ee.$$typeof===be||ee.$$typeof===ke)},nn.typeOf=fe,nn}var rn={};/** @license React v16.13.1
181
181
  * react-is.development.js
182
182
  *
183
183
  * Copyright (c) Facebook, Inc. and its affiliates.
184
184
  *
185
185
  * This source code is licensed under the MIT license found in the
186
186
  * LICENSE file in the root directory of this source tree.
187
- */var Th;function Uy(){return Th||(Th=1,process.env.NODE_ENV!=="production"&&function(){var r=typeof Symbol=="function"&&Symbol.for,e=r?Symbol.for("react.element"):60103,n=r?Symbol.for("react.portal"):60106,a=r?Symbol.for("react.fragment"):60107,o=r?Symbol.for("react.strict_mode"):60108,d=r?Symbol.for("react.profiler"):60114,v=r?Symbol.for("react.provider"):60109,x=r?Symbol.for("react.context"):60110,w=r?Symbol.for("react.async_mode"):60111,E=r?Symbol.for("react.concurrent_mode"):60111,B=r?Symbol.for("react.forward_ref"):60112,D=r?Symbol.for("react.suspense"):60113,V=r?Symbol.for("react.suspense_list"):60120,he=r?Symbol.for("react.memo"):60115,ae=r?Symbol.for("react.lazy"):60116,ye=r?Symbol.for("react.block"):60121,Z=r?Symbol.for("react.fundamental"):60117,G=r?Symbol.for("react.responder"):60118,ue=r?Symbol.for("react.scope"):60119;function be(_e){return typeof _e=="string"||typeof _e=="function"||_e===a||_e===E||_e===d||_e===o||_e===D||_e===V||typeof _e=="object"&&_e!==null&&(_e.$$typeof===ae||_e.$$typeof===he||_e.$$typeof===v||_e.$$typeof===x||_e.$$typeof===B||_e.$$typeof===Z||_e.$$typeof===G||_e.$$typeof===ue||_e.$$typeof===ye)}function ke(_e){if(typeof _e=="object"&&_e!==null){var It=_e.$$typeof;switch(It){case e:var mt=_e.type;switch(mt){case w:case E:case a:case d:case o:case D:return mt;default:var fn=mt&&mt.$$typeof;switch(fn){case x:case B:case ae:case he:case v:return fn;default:return It}}case n:return It}}}var re=w,Ie=E,Te=x,Dt=v,dt=e,Mt=B,ve=a,xe=ae,Re=he,Be=n,Ye=d,He=o,je=D,ze=!1;function pt(_e){return ze||(ze=!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.")),oe(_e)||ke(_e)===w}function oe(_e){return ke(_e)===E}function ce(_e){return ke(_e)===x}function Ae(_e){return ke(_e)===v}function Ze(_e){return typeof _e=="object"&&_e!==null&&_e.$$typeof===e}function Pe(_e){return ke(_e)===B}function Fe(_e){return ke(_e)===a}function Oe(_e){return ke(_e)===ae}function qe(_e){return ke(_e)===he}function et(_e){return ke(_e)===n}function Ke(_e){return ke(_e)===d}function nt(_e){return ke(_e)===o}function kt(_e){return ke(_e)===D}tn.AsyncMode=re,tn.ConcurrentMode=Ie,tn.ContextConsumer=Te,tn.ContextProvider=Dt,tn.Element=dt,tn.ForwardRef=Mt,tn.Fragment=ve,tn.Lazy=xe,tn.Memo=Re,tn.Portal=Be,tn.Profiler=Ye,tn.StrictMode=He,tn.Suspense=je,tn.isAsyncMode=pt,tn.isConcurrentMode=oe,tn.isContextConsumer=ce,tn.isContextProvider=Ae,tn.isElement=Ze,tn.isForwardRef=Pe,tn.isFragment=Fe,tn.isLazy=Oe,tn.isMemo=qe,tn.isPortal=et,tn.isProfiler=Ke,tn.isStrictMode=nt,tn.isSuspense=kt,tn.isValidElementType=be,tn.typeOf=ke}()),tn}var Rh;function Ih(){return Rh||(Rh=1,process.env.NODE_ENV==="production"?kd.exports=zy():kd.exports=Uy()),kd.exports}/*
187
+ */var Uh;function h0(){return Uh||(Uh=1,process.env.NODE_ENV!=="production"&&function(){var r=typeof Symbol=="function"&&Symbol.for,e=r?Symbol.for("react.element"):60103,n=r?Symbol.for("react.portal"):60106,a=r?Symbol.for("react.fragment"):60107,o=r?Symbol.for("react.strict_mode"):60108,c=r?Symbol.for("react.profiler"):60114,g=r?Symbol.for("react.provider"):60109,y=r?Symbol.for("react.context"):60110,w=r?Symbol.for("react.async_mode"):60111,E=r?Symbol.for("react.concurrent_mode"):60111,L=r?Symbol.for("react.forward_ref"):60112,P=r?Symbol.for("react.suspense"):60113,W=r?Symbol.for("react.suspense_list"):60120,se=r?Symbol.for("react.memo"):60115,ae=r?Symbol.for("react.lazy"):60116,ke=r?Symbol.for("react.block"):60121,G=r?Symbol.for("react.fundamental"):60117,Z=r?Symbol.for("react.responder"):60118,be=r?Symbol.for("react.scope"):60119;function fe(Ee){return typeof Ee=="string"||typeof Ee=="function"||Ee===a||Ee===E||Ee===c||Ee===o||Ee===P||Ee===W||typeof Ee=="object"&&Ee!==null&&(Ee.$$typeof===ae||Ee.$$typeof===se||Ee.$$typeof===g||Ee.$$typeof===y||Ee.$$typeof===L||Ee.$$typeof===G||Ee.$$typeof===Z||Ee.$$typeof===be||Ee.$$typeof===ke)}function de(Ee){if(typeof Ee=="object"&&Ee!==null){var Ct=Ee.$$typeof;switch(Ct){case e:var At=Ee.type;switch(At){case w:case E:case a:case c:case o:case P:return At;default:var qt=At&&At.$$typeof;switch(qt){case y:case L:case ae:case se:case g:return qt;default:return Ct}}case n:return Ct}}}var ee=w,Te=E,Ie=y,Lt=g,it=e,Pt=L,Vt=a,ge=ae,we=se,_e=n,Ye=c,Ze=o,Ne=P,De=!1;function We(Ee){return De||(De=!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.")),le(Ee)||de(Ee)===w}function le(Ee){return de(Ee)===E}function ue(Ee){return de(Ee)===y}function Me(Ee){return de(Ee)===g}function He(Ee){return typeof Ee=="object"&&Ee!==null&&Ee.$$typeof===e}function ze(Ee){return de(Ee)===L}function Ae(Ee){return de(Ee)===a}function Oe(Ee){return de(Ee)===ae}function Ke(Ee){return de(Ee)===se}function Qe(Ee){return de(Ee)===n}function Xe(Ee){return de(Ee)===c}function tt(Ee){return de(Ee)===o}function yt(Ee){return de(Ee)===P}rn.AsyncMode=ee,rn.ConcurrentMode=Te,rn.ContextConsumer=Ie,rn.ContextProvider=Lt,rn.Element=it,rn.ForwardRef=Pt,rn.Fragment=Vt,rn.Lazy=ge,rn.Memo=we,rn.Portal=_e,rn.Profiler=Ye,rn.StrictMode=Ze,rn.Suspense=Ne,rn.isAsyncMode=We,rn.isConcurrentMode=le,rn.isContextConsumer=ue,rn.isContextProvider=Me,rn.isElement=He,rn.isForwardRef=ze,rn.isFragment=Ae,rn.isLazy=Oe,rn.isMemo=Ke,rn.isPortal=Qe,rn.isProfiler=Xe,rn.isStrictMode=tt,rn.isSuspense=yt,rn.isValidElementType=fe,rn.typeOf=de}()),rn}var Vh;function Wh(){return Vh||(Vh=1,process.env.NODE_ENV==="production"?Rd.exports=p0():Rd.exports=h0()),Rd.exports}/*
188
188
  object-assign
189
189
  (c) Sindre Sorhus
190
190
  @license MIT
191
- */var gf,Ah;function Vy(){if(Ah)return gf;Ah=1;var r=Object.getOwnPropertySymbols,e=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;function a(d){if(d==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(d)}function o(){try{if(!Object.assign)return!1;var d=new String("abc");if(d[5]="de",Object.getOwnPropertyNames(d)[0]==="5")return!1;for(var v={},x=0;x<10;x++)v["_"+String.fromCharCode(x)]=x;var w=Object.getOwnPropertyNames(v).map(function(B){return v[B]});if(w.join("")!=="0123456789")return!1;var E={};return"abcdefghijklmnopqrst".split("").forEach(function(B){E[B]=B}),Object.keys(Object.assign({},E)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return gf=o()?Object.assign:function(d,v){for(var x,w=a(d),E,B=1;B<arguments.length;B++){x=Object(arguments[B]);for(var D in x)e.call(x,D)&&(w[D]=x[D]);if(r){E=r(x);for(var V=0;V<E.length;V++)n.call(x,E[V])&&(w[E[V]]=x[E[V]])}}return w},gf}var mf,Oh;function vf(){if(Oh)return mf;Oh=1;var r="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return mf=r,mf}var bf,Mh;function Fh(){return Mh||(Mh=1,bf=Function.call.bind(Object.prototype.hasOwnProperty)),bf}var yf,Ph;function Wy(){if(Ph)return yf;Ph=1;var r=function(){};if(process.env.NODE_ENV!=="production"){var e=vf(),n={},a=Fh();r=function(d){var v="Warning: "+d;typeof console<"u"&&console.error(v);try{throw new Error(v)}catch{}}}function o(d,v,x,w,E){if(process.env.NODE_ENV!=="production"){for(var B in d)if(a(d,B)){var D;try{if(typeof d[B]!="function"){var V=Error((w||"React class")+": "+x+" type `"+B+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof d[B]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw V.name="Invariant Violation",V}D=d[B](v,B,w,x,null,e)}catch(ae){D=ae}if(D&&!(D instanceof Error)&&r((w||"React class")+": type specification of "+x+" `"+B+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof D+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),D instanceof Error&&!(D.message in n)){n[D.message]=!0;var he=E?E():"";r("Failed "+x+" type: "+D.message+(he??""))}}}}return o.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(n={})},yf=o,yf}var wf,Dh;function Hy(){if(Dh)return wf;Dh=1;var r=Ih(),e=Vy(),n=vf(),a=Fh(),o=Wy(),d=function(){};process.env.NODE_ENV!=="production"&&(d=function(x){var w="Warning: "+x;typeof console<"u"&&console.error(w);try{throw new Error(w)}catch{}});function v(){return null}return wf=function(x,w){var E=typeof Symbol=="function"&&Symbol.iterator,B="@@iterator";function D(oe){var ce=oe&&(E&&oe[E]||oe[B]);if(typeof ce=="function")return ce}var V="<<anonymous>>",he={array:G("array"),bigint:G("bigint"),bool:G("boolean"),func:G("function"),number:G("number"),object:G("object"),string:G("string"),symbol:G("symbol"),any:ue(),arrayOf:be,element:ke(),elementType:re(),instanceOf:Ie,node:Mt(),objectOf:Dt,oneOf:Te,oneOfType:dt,shape:xe,exact:Re};function ae(oe,ce){return oe===ce?oe!==0||1/oe===1/ce:oe!==oe&&ce!==ce}function ye(oe,ce){this.message=oe,this.data=ce&&typeof ce=="object"?ce:{},this.stack=""}ye.prototype=Error.prototype;function Z(oe){if(process.env.NODE_ENV!=="production")var ce={},Ae=0;function Ze(Fe,Oe,qe,et,Ke,nt,kt){if(et=et||V,nt=nt||qe,kt!==n){if(w){var _e=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 _e.name="Invariant Violation",_e}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var It=et+":"+qe;!ce[It]&&Ae<3&&(d("You are manually calling a React.PropTypes validation function for the `"+nt+"` prop on `"+et+"`. 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."),ce[It]=!0,Ae++)}}return Oe[qe]==null?Fe?Oe[qe]===null?new ye("The "+Ke+" `"+nt+"` is marked as required "+("in `"+et+"`, but its value is `null`.")):new ye("The "+Ke+" `"+nt+"` is marked as required in "+("`"+et+"`, but its value is `undefined`.")):null:oe(Oe,qe,et,Ke,nt)}var Pe=Ze.bind(null,!1);return Pe.isRequired=Ze.bind(null,!0),Pe}function G(oe){function ce(Ae,Ze,Pe,Fe,Oe,qe){var et=Ae[Ze],Ke=He(et);if(Ke!==oe){var nt=je(et);return new ye("Invalid "+Fe+" `"+Oe+"` of type "+("`"+nt+"` supplied to `"+Pe+"`, expected ")+("`"+oe+"`."),{expectedType:oe})}return null}return Z(ce)}function ue(){return Z(v)}function be(oe){function ce(Ae,Ze,Pe,Fe,Oe){if(typeof oe!="function")return new ye("Property `"+Oe+"` of component `"+Pe+"` has invalid PropType notation inside arrayOf.");var qe=Ae[Ze];if(!Array.isArray(qe)){var et=He(qe);return new ye("Invalid "+Fe+" `"+Oe+"` of type "+("`"+et+"` supplied to `"+Pe+"`, expected an array."))}for(var Ke=0;Ke<qe.length;Ke++){var nt=oe(qe,Ke,Pe,Fe,Oe+"["+Ke+"]",n);if(nt instanceof Error)return nt}return null}return Z(ce)}function ke(){function oe(ce,Ae,Ze,Pe,Fe){var Oe=ce[Ae];if(!x(Oe)){var qe=He(Oe);return new ye("Invalid "+Pe+" `"+Fe+"` of type "+("`"+qe+"` supplied to `"+Ze+"`, expected a single ReactElement."))}return null}return Z(oe)}function re(){function oe(ce,Ae,Ze,Pe,Fe){var Oe=ce[Ae];if(!r.isValidElementType(Oe)){var qe=He(Oe);return new ye("Invalid "+Pe+" `"+Fe+"` of type "+("`"+qe+"` supplied to `"+Ze+"`, expected a single ReactElement type."))}return null}return Z(oe)}function Ie(oe){function ce(Ae,Ze,Pe,Fe,Oe){if(!(Ae[Ze]instanceof oe)){var qe=oe.name||V,et=pt(Ae[Ze]);return new ye("Invalid "+Fe+" `"+Oe+"` of type "+("`"+et+"` supplied to `"+Pe+"`, expected ")+("instance of `"+qe+"`."))}return null}return Z(ce)}function Te(oe){if(!Array.isArray(oe))return process.env.NODE_ENV!=="production"&&(arguments.length>1?d("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])."):d("Invalid argument supplied to oneOf, expected an array.")),v;function ce(Ae,Ze,Pe,Fe,Oe){for(var qe=Ae[Ze],et=0;et<oe.length;et++)if(ae(qe,oe[et]))return null;var Ke=JSON.stringify(oe,function(kt,_e){var It=je(_e);return It==="symbol"?String(_e):_e});return new ye("Invalid "+Fe+" `"+Oe+"` of value `"+String(qe)+"` "+("supplied to `"+Pe+"`, expected one of "+Ke+"."))}return Z(ce)}function Dt(oe){function ce(Ae,Ze,Pe,Fe,Oe){if(typeof oe!="function")return new ye("Property `"+Oe+"` of component `"+Pe+"` has invalid PropType notation inside objectOf.");var qe=Ae[Ze],et=He(qe);if(et!=="object")return new ye("Invalid "+Fe+" `"+Oe+"` of type "+("`"+et+"` supplied to `"+Pe+"`, expected an object."));for(var Ke in qe)if(a(qe,Ke)){var nt=oe(qe,Ke,Pe,Fe,Oe+"."+Ke,n);if(nt instanceof Error)return nt}return null}return Z(ce)}function dt(oe){if(!Array.isArray(oe))return process.env.NODE_ENV!=="production"&&d("Invalid argument supplied to oneOfType, expected an instance of array."),v;for(var ce=0;ce<oe.length;ce++){var Ae=oe[ce];if(typeof Ae!="function")return d("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+ze(Ae)+" at index "+ce+"."),v}function Ze(Pe,Fe,Oe,qe,et){for(var Ke=[],nt=0;nt<oe.length;nt++){var kt=oe[nt],_e=kt(Pe,Fe,Oe,qe,et,n);if(_e==null)return null;_e.data&&a(_e.data,"expectedType")&&Ke.push(_e.data.expectedType)}var It=Ke.length>0?", expected one of type ["+Ke.join(", ")+"]":"";return new ye("Invalid "+qe+" `"+et+"` supplied to "+("`"+Oe+"`"+It+"."))}return Z(Ze)}function Mt(){function oe(ce,Ae,Ze,Pe,Fe){return Be(ce[Ae])?null:new ye("Invalid "+Pe+" `"+Fe+"` supplied to "+("`"+Ze+"`, expected a ReactNode."))}return Z(oe)}function ve(oe,ce,Ae,Ze,Pe){return new ye((oe||"React class")+": "+ce+" type `"+Ae+"."+Ze+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+Pe+"`.")}function xe(oe){function ce(Ae,Ze,Pe,Fe,Oe){var qe=Ae[Ze],et=He(qe);if(et!=="object")return new ye("Invalid "+Fe+" `"+Oe+"` of type `"+et+"` "+("supplied to `"+Pe+"`, expected `object`."));for(var Ke in oe){var nt=oe[Ke];if(typeof nt!="function")return ve(Pe,Fe,Oe,Ke,je(nt));var kt=nt(qe,Ke,Pe,Fe,Oe+"."+Ke,n);if(kt)return kt}return null}return Z(ce)}function Re(oe){function ce(Ae,Ze,Pe,Fe,Oe){var qe=Ae[Ze],et=He(qe);if(et!=="object")return new ye("Invalid "+Fe+" `"+Oe+"` of type `"+et+"` "+("supplied to `"+Pe+"`, expected `object`."));var Ke=e({},Ae[Ze],oe);for(var nt in Ke){var kt=oe[nt];if(a(oe,nt)&&typeof kt!="function")return ve(Pe,Fe,Oe,nt,je(kt));if(!kt)return new ye("Invalid "+Fe+" `"+Oe+"` key `"+nt+"` supplied to `"+Pe+"`.\nBad object: "+JSON.stringify(Ae[Ze],null," ")+`
192
- Valid keys: `+JSON.stringify(Object.keys(oe),null," "));var _e=kt(qe,nt,Pe,Fe,Oe+"."+nt,n);if(_e)return _e}return null}return Z(ce)}function Be(oe){switch(typeof oe){case"number":case"string":case"undefined":return!0;case"boolean":return!oe;case"object":if(Array.isArray(oe))return oe.every(Be);if(oe===null||x(oe))return!0;var ce=D(oe);if(ce){var Ae=ce.call(oe),Ze;if(ce!==oe.entries){for(;!(Ze=Ae.next()).done;)if(!Be(Ze.value))return!1}else for(;!(Ze=Ae.next()).done;){var Pe=Ze.value;if(Pe&&!Be(Pe[1]))return!1}}else return!1;return!0;default:return!1}}function Ye(oe,ce){return oe==="symbol"?!0:ce?ce["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&ce instanceof Symbol:!1}function He(oe){var ce=typeof oe;return Array.isArray(oe)?"array":oe instanceof RegExp?"object":Ye(ce,oe)?"symbol":ce}function je(oe){if(typeof oe>"u"||oe===null)return""+oe;var ce=He(oe);if(ce==="object"){if(oe instanceof Date)return"date";if(oe instanceof RegExp)return"regexp"}return ce}function ze(oe){var ce=je(oe);switch(ce){case"array":case"object":return"an "+ce;case"boolean":case"date":case"regexp":return"a "+ce;default:return ce}}function pt(oe){return!oe.constructor||!oe.constructor.name?V:oe.constructor.name}return he.checkPropTypes=o,he.resetWarningCache=o.resetWarningCache,he.PropTypes=he,he},wf}var xf,Lh;function $y(){if(Lh)return xf;Lh=1;var r=vf();function e(){}function n(){}return n.resetWarningCache=e,xf=function(){function a(v,x,w,E,B,D){if(D!==r){var V=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 V.name="Invariant Violation",V}}a.isRequired=a;function o(){return a}var d={array:a,bigint:a,bool:a,func:a,number:a,object:a,string:a,symbol:a,any:a,arrayOf:o,element:a,elementType:a,instanceOf:o,node:a,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:n,resetWarningCache:e};return d.PropTypes=d,d},xf}if(process.env.NODE_ENV!=="production"){var Gy=Ih(),Zy=!0;hf.exports=Hy()(Gy.isElement,Zy)}else hf.exports=$y()();var Yy=hf.exports;const Ma=up(Yy);var Ky=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Bh(r,e){return r(e={exports:{}},e.exports),e.exports}var Jy=Bh(function(r){(function(e){var n=function(Z,G,ue){if(!w(G)||B(G)||D(G)||V(G)||x(G))return G;var be,ke=0,re=0;if(E(G))for(be=[],re=G.length;ke<re;ke++)be.push(n(Z,G[ke],ue));else for(var Ie in be={},G)Object.prototype.hasOwnProperty.call(G,Ie)&&(be[Z(Ie,ue)]=n(Z,G[Ie],ue));return be},a=function(Z){return he(Z)?Z:(Z=Z.replace(/[\-_\s]+(.)?/g,function(G,ue){return ue?ue.toUpperCase():""})).substr(0,1).toLowerCase()+Z.substr(1)},o=function(Z){var G=a(Z);return G.substr(0,1).toUpperCase()+G.substr(1)},d=function(Z,G){return function(ue,be){var ke=(be=be||{}).separator||"_",re=be.split||/(?=[A-Z])/;return ue.split(re).join(ke)}(Z,G).toLowerCase()},v=Object.prototype.toString,x=function(Z){return typeof Z=="function"},w=function(Z){return Z===Object(Z)},E=function(Z){return v.call(Z)=="[object Array]"},B=function(Z){return v.call(Z)=="[object Date]"},D=function(Z){return v.call(Z)=="[object RegExp]"},V=function(Z){return v.call(Z)=="[object Boolean]"},he=function(Z){return(Z-=0)==Z},ae=function(Z,G){var ue=G&&"process"in G?G.process:G;return typeof ue!="function"?Z:function(be,ke){return ue(be,Z,ke)}},ye={camelize:a,decamelize:d,pascalize:o,depascalize:d,camelizeKeys:function(Z,G){return n(ae(a,G),Z)},decamelizeKeys:function(Z,G){return n(ae(d,G),Z,G)},pascalizeKeys:function(Z,G){return n(ae(o,G),Z)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};r.exports?r.exports=ye:e.humps=ye})(Ky)}).decamelize,Qy=function(r){if(Array.isArray(r))return r},Xy=function(r,e){if(typeof Symbol<"u"&&Symbol.iterator in Object(r)){var n=[],a=!0,o=!1,d=void 0;try{for(var v,x=r[Symbol.iterator]();!(a=(v=x.next()).done)&&(n.push(v.value),!e||n.length!==e);a=!0);}catch(w){o=!0,d=w}finally{try{a||x.return==null||x.return()}finally{if(o)throw d}}return n}},Nh=function(r,e){(e==null||e>r.length)&&(e=r.length);for(var n=0,a=new Array(e);n<e;n++)a[n]=r[n];return a},qy=function(r,e){if(r){if(typeof r=="string")return Nh(r,e);var n=Object.prototype.toString.call(r).slice(8,-1);return n==="Object"&&r.constructor&&(n=r.constructor.name),n==="Map"||n==="Set"?Array.from(r):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Nh(r,e):void 0}},e0=function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
193
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)},t0=function(r,e){return Qy(r)||Xy(r,e)||qy(r,e)||e0()},jh=Bh(function(r){function e(){return r.exports=e=Object.assign||function(n){for(var a=1;a<arguments.length;a++){var o=arguments[a];for(var d in o)Object.prototype.hasOwnProperty.call(o,d)&&(n[d]=o[d])}return n},e.apply(this,arguments)}r.exports=e}),n0=function(r,e){if(r==null)return{};var n,a,o={},d=Object.keys(r);for(a=0;a<d.length;a++)n=d[a],e.indexOf(n)>=0||(o[n]=r[n]);return o},zh=function(r,e){if(r==null)return{};var n,a,o=n0(r,e);if(Object.getOwnPropertySymbols){var d=Object.getOwnPropertySymbols(r);for(a=0;a<d.length;a++)n=d[a],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(r,n)&&(o[n]=r[n])}return o},r0=Me.createContext(null);function Sf(r){var e=r.children,n=zh(r,["children"]);return typeof e!="string"&&(e=jy(e)),Me.createElement("template",jh({},n,{dangerouslySetInnerHTML:{__html:e}}))}function kf(r){var e=r.root,n=r.children;return El.createPortal(n,e)}function i0(r){var e=Me.forwardRef(function(n,a){var o,d,v=n.mode,x=n.delegatesFocus,w=n.styleSheets,E=n.ssr,B=n.children,D=zh(n,["mode","delegatesFocus","styleSheets","ssr","children"]),V=(d=Me.useRef((o=a)&&o.current),Me.useEffect(function(){o&&(o.current=d.current)},[o]),d),he=Me.useState(null),ae=t0(he,2),ye=ae[0],Z=ae[1],G="node_".concat(v).concat(x);return Me.useLayoutEffect(function(){if(V.current)try{if(typeof a=="function"&&a(V.current),E){var ue=V.current.shadowRoot;return void Z(ue)}var be=V.current.attachShadow({mode:v,delegatesFocus:x});w.length>0&&(be.adoptedStyleSheets=w),Z(be)}catch(ke){(function(re){var Ie=re.error,Te=re.styleSheets,Dt=re.root;switch(Ie.name){case"NotSupportedError":Te.length>0&&(Dt.adoptedStyleSheets=Te);break;default:throw Ie}})({error:ke,styleSheets:w,root:ye})}},[a,V,w]),Me.createElement(Me.Fragment,null,Me.createElement(r.tag,jh({key:G,ref:V},D),(ye||E)&&Me.createElement(r0.Provider,{value:ye},E?Me.createElement(Sf,{shadowroot:v,shadowrootmode:v},r.render({root:ye,ssr:E,children:B})):Me.createElement(kf,{root:ye},r.render({root:ye,ssr:E,children:B})))))});return e.propTypes={mode:Ma.oneOf(["open","closed"]),delegatesFocus:Ma.bool,styleSheets:Ma.arrayOf(Ma.instanceOf(globalThis.CSSStyleSheet)),ssr:Ma.bool,children:Ma.node},e.defaultProps={mode:"open",delegatesFocus:!1,styleSheets:[],ssr:!1,children:null},e}Sf.propTypes={children:Ma.oneOfType([Ma.string,Ma.node])},Sf.defaultProps={children:""},kf.propTypes={root:Ma.object.isRequired,children:Ma.node},kf.defaultProps={children:null};var _f=new Map;function a0(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"core",n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(a){return a.children};return new Proxy(r,{get:function(a,o){var d=Jy(o,{separator:"-"}),v="".concat(e,"-").concat(d);return _f.has(v)||_f.set(v,i0({tag:d,render:n})),_f.get(v)}})}var o0=a0();const s0=`*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}em{font-style:italic;font-weight:400}strong{font-weight:700}em.clean{font-style:inherit}strong.clean{font-weight:600}.underline{text-decoration:underline}.de-em{font-weight:200}.de-em em{font-weight:300}.de-em strong{font-weight:500}a{color:oklch(var(--primary));text-decoration:underline}.serif{font-family:Georgia,serif}small{font-size:.8rem}.text-center img,.text-center svg{margin-left:auto;margin-right:auto}h1,h2,h3,h4{font-weight:600}h1 em,h2 em,h3 em,h4 em{font-weight:700}h1 strong,h2 strong,h3 strong,h4 strong{font-weight:900}h1,h2,h3,h4{margin:1.5rem 0 1rem}h1{font-size:1.75rem;margin:1.5rem 0 2rem}h2{font-size:1.5rem}h3{font-size:1.25rem}h4{font-size:1rem}:host{--page: 1 0 0;--background: 1 0 0;--foreground: .21 .04 266;--foreground-80: .38 .04 266;--foreground-60: .55 .04 266;--muted: var(--foreground-60);--primary: .454 .135 254;--primary-hover: .5 .16 254;--primary-inv: var(--background);--slider-track: .91 0 0;--info-block-bg: .87 .055 223;--info-block-fg: var(--foreground);--panel-padding: 1rem;--default-radius: .25rem;--checkradio-size: 1rem;--question-padding: 2rem;--active-bar-padding: 8px;--list-indent: 1.5rem;--option-gap-y: 0;--question-mb-factor: 1;--max-page-width: 75rem}@media (min-width: 800px){:host{--panel-padding: 2rem;--active-bar-padding: 10px}}.dark{--page: .186 .031 272;--background: 0 0 0;--foreground: 1 0 0;--foreground-80: .8 0 0;--foreground-60: .6 0 0;--foreground-40: .4 0 0;--muted: var(--foreground-60);--primary: .68 .16 254;--primary-hover: .5 .16 254;--primary-inv: var(--foreground);--slider-track: .23 0 197;--info-block-bg: .4342 .052 233;--info-block-fg: var(--foreground)}:host{all:initial;display:block;position:relative;line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;font-weight:300}input:not([type=checkbox]):not([type=radio]),textarea,select{border-width:1px;padding:.4rem;border-radius:var(--default-radius);border-color:oklch(var(--foreground));background-color:oklch(var(--background));color:var(--foreground)}input:not([type=checkbox]):not([type=radio]):disabled,textarea:disabled,select:disabled{color:oklch(var(--foreground-60));border-color:oklch(var(--foreground-60));cursor:not-allowed}input[type=checkbox],input[type=radio]{width:var(--checkradio-size);height:var(--checkradio-size);vertical-align:middle;position:relative;bottom:.125rem}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.progress-bar{margin:var(--panel-padding)}.progress-bar .progress-wrapper .progress-slider{background-position:0 4px;display:inline-block;height:12px;border:1px solid #ccc;border-radius:6px;padding:1px}.panel .progress-bar .progress-wrapper{text-align:center}.progress-bar .progress-stop{height:8px;line-height:8px;width:6px;background:none;font-size:6px;text-indent:-1234em;display:block;float:left}.progress-bar .progress-stop.first-child{width:8px;border-radius:5px 0 0 5px}.progress-bar .progress-stop.last-child{width:8px;border-radius:0 5px 5px 0}.progress-bar .progress-stop.active{background:oklch(var(--muted))}.progress-bar .progress-stop.current{border-radius:0 5px 5px 0}.progress-bar .progress-stop.current.first-child{border-radius:5px}.progress-bar .progress-details{color:has(var(--muted));font-size:9px}.prose p{margin:0 0 1rem}.prose>*:first-child{margin-top:0}.prose>*:last-child{margin-bottom:0}.prose ul{list-style-type:disc;margin:0 0 1rem var(--list-indent)}.prose ol{list-style-type:lower-alpha;margin:0 0 1rem var(--list-indent)}.prose li{padding-left:.5rem}.prose hr{margin:var(--question-padding) 1rem;border:none;height:.125rem;background-color:oklch(var(--muted))}.prose hr.compact{margin:1rem}blockquote{margin:1em 2em}blockquote>*{font-style:italic}blockquote>p:before,blockquote>p:last-child:after,blockquote>ul:before,blockquote>ul:last-child>li:last-child:after{content:"“";font-family:Georgia;font-size:2.5rem;margin:-.8rem 0 0 -1.1rem;position:absolute;color:#666}blockquote>ul:before{margin-left:calc(-1.1rem - var(--list-indent))}blockquote>p:last-child:after,blockquote>ul:last-child>li:last-child:after{content:"”";margin:0 0 0 -.1rem}blockquote.blue-quotes p:before,blockquote.blue-quotes p:last-child:after{color:#298ed5}.visible{visibility:visible}.absolute{position:absolute}.sticky{position:sticky}.order-last{order:9999}.m-panel-padding{margin:var(--panel-padding)}.mx-1{margin-left:.25rem;margin-right:.25rem}.my-1{margin-top:.25rem;margin-bottom:.25rem}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mr-1{margin-right:.25rem}.mt-1{margin-top:.25rem}.mt-3{margin-top:.75rem}.block{display:block}.inline{display:inline}.flex{display:flex}.table{display:table}.hidden{display:none}.w-1\\/2{width:50%}.w-1\\/3{width:33.333333%}.w-1\\/4{width:25%}.w-1\\/5{width:20%}.w-1\\/6{width:16.666667%}.w-2\\/3{width:66.666667%}.w-2\\/5{width:40%}.w-3\\/4{width:75%}.w-3\\/5{width:60%}.w-4\\/5{width:80%}.w-5\\/6{width:83.333333%}.w-full{width:100%}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.resize{resize:both}.list-decimal{list-style-type:decimal}.justify-between{justify-content:space-between}.rounded{border-radius:.25rem}.border{border-width:1px}.border-2{border-width:2px}.border-warning{--tw-border-opacity: 1;border-color:rgb(255 165 0 / var(--tw-border-opacity))}.bg-slate-100{--tw-bg-opacity: 1;background-color:rgb(241 245 249 / var(--tw-bg-opacity))}.p-panel-padding{padding:var(--panel-padding)}.text-center{text-align:center}.align-top{vertical-align:top}.text-lg{font-size:1.125rem;line-height:1.75rem}.font-light{font-weight:200}.font-medium{font-weight:400}.underline{text-decoration-line:underline}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}:host>div{background-color:oklch(var(--page));color:oklch(var(--foreground));min-height:100cqh}:host>div>*{max-width:var(--max-page-width);margin:0 auto}.panel+.panel{margin-top:5rem}.option .labelwrapper p{display:inline}.item.active,.item:has(.active){box-shadow:calc(-1 * var(--active-bar-padding)) 0 0 0 oklch(var(--background)),calc(-4px - var(--active-bar-padding)) 0 0 0 oklch(var(--primary))}.item .main{font-weight:600}.item .main em{font-weight:700}.item .main strong{font-weight:900}.item .inner-title{margin:1rem 0 .5rem;font-weight:500}.item .inner-title em{font-weight:600}.item .inner-title strong{font-weight:700}.item .description-and-fields>.description{font-weight:200}.item .description-and-fields>.description em{font-weight:300}.item .description-and-fields>.description strong{font-weight:500}.item .description-and-fields>.description{margin-bottom:.5rem}.item .description-and-fields>.description .instruction{font-weight:300}button{border-radius:.375rem;padding:.5rem 1rem;font-weight:500}button:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}button.secondary{border-width:2px;border-color:oklch(var(--primary));background-color:oklch(var(--background));color:oklch(var(--primary))}button.secondary:hover{border-color:oklch(var(--primary-hover));color:oklch(var(--primary-hover))}button.primary{background-color:oklch(var(--primary));color:oklch(var(--background))}button.primary:hover{background-color:oklch(var(--primary-hover))}.info-item{--icon-size: 20px;--icon-margin: 8px}.info-item .info-html{padding:.5rem;margin-bottom:var(--question-padding);background-color:oklch(var(--info-block-bg));color:oklch(var(--info-block-fg));z-index:1;padding-right:calc(var(--icon-size) + 2 * var(--icon-margin))}.info-item .info-html.open{position:sticky;top:0}.info-item .info-html>div{transform-origin:center top;transition:inherit}.info-item .info-html.opening{height:0;margin-bottom:0}.info-item .info-html.opening>div{transform:scaleY(0)}.info-item .info-html{transition:all .3s linear;interpolate-size:allow-keywords}.info-item .info-icon{position:relative;z-index:2;float:right;top:0;background-color:oklch(var(--info-block-bg));transition:margin .5s}.info-item .info-icon.stuck{position:sticky;margin-right:calc(-1 * var(--panel-padding))}.info-item .info-icon:hover{cursor:pointer}.info-item .info-icon svg{width:var(--icon-size);height:var(--icon-size);margin:var(--icon-margin)}.item.radio .option,.item.check_box .option{display:flex;flex-wrap:wrap}.item.radio .option .radiocheckwrapper,.item.check_box .option .radiocheckwrapper{flex:0 0 var(--checkradio-size)}.item.radio .option .value,.item.check_box .option .value{flex:0 0 2rem;text-align:right}.item.radio .option .labelwrapper,.item.check_box .option .labelwrapper{flex:1 1 0;padding-left:.75rem}.item.radio .option .subquestions,.item.check_box .option .subquestions{width:100%}.item.radio .option+.option,.item.check_box .option+.option{margin-top:calc(var(--option-gap-y) * .25rem)}.subquestions{margin-left:calc(var(--active-bar-padding) + var(--checkradio-size)/2 + 2px)}.item,.context-description{margin-bottom:calc(var(--question-padding) * var(--question-mb-factor))}.subquestions .item{margin-bottom:0}.item:not(.radio):not(.check_box) .description-and-fields{padding-bottom:.5em}.item.errors{outline:1px solid red;border-radius:calc(var(--default-radius) + .5rem);margin-left:-.5em;margin-right:-.5em;padding:.5rem .5rem 0;--active-bar-padding: 1px}.item.errors .error{background:#ffbbbb;color:#222;outline:1px solid #ff3333;border-radius:var(--default-radius);margin:.25rem;padding:.25rem}footer{font-weight:200}footer em{font-weight:300}footer strong{font-weight:500}footer{font-size:.875rem;padding:var(--panel-padding);color:oklch(var(--foreground-80))}:is(.dark .dark\\:bg-slate-700){--tw-bg-opacity: 1;background-color:rgb(51 65 85 / var(--tw-bg-opacity))}
194
- `,l0=`:host{--background: 0 0% 100%}.item.date_parts .mr-1{margin-right:.125rem}.item.date_parts .mb-2{margin-bottom:.25rem}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font:inherit;font-size:100%;vertical-align:baseline}html{line-height:1}ol,ul{list-style:none}table{border-collapse:collapse;border-spacing:0}caption,th,td{text-align:left;font-weight:400;vertical-align:middle}q,blockquote{quotes:none}q:before,q:after,blockquote:before,blockquote:after{content:"";content:none}a img{border:none}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}#modalFrameDialog{padding:0}#modalFrame{width:100%;height:99%}.x_container{display:none}sup,sub{font-size:.8em!important;position:relative;line-height:0}sup{top:-.4em}sub{bottom:-.25em}html{overflow-x:hidden}body{font-family:Verdana,sans-serif;font-size:.8em;line-height:normal;background-color:#eee;max-width:100%;overflow-x:hidden;position:relative}.panel-action-links{text-align:right;margin-bottom:1em}.panel-action-link{margin-left:1em}#mastfoot{margin:0 auto;max-width:900px;text-align:right;color:#aaa}#mastfoot:before{content:"—"}#mastfoot:after{content:"—"}#noscript-warning{position:fixed;top:0;left:0;width:100%;background:yellow;border:4px solid red;color:red;font-size:1.5em;text-align:center}.nowrap{white-space:nowrap}select{width:100%}i{font-style:italic!important}em{font-weight:700}#content{margin-bottom:4em}#content input[disabled]{background-color:#ddd}#content .flash{max-width:59em;_width:59em;padding-left:1em;padding-right:1em;margin-left:auto;margin-right:auto;margin-bottom:1em}#content .flash:after{content:"";display:table;clear:both}#content .flash div{padding:5px;background:#333333;border:1px solid black}#content .flash .error{background:#ffbbbb;border:1px solid #ff3333}#content .flash .notice{background:#ffffcc;border:1px solid #ffcc66}#content .flash .success{background-color:#cfc;border:1px solid #11cc11}#content #force-submit{background:#ffffcc;border:1px solid #ffcc66;padding:3em;font-size:1.2em;margin-bottom:5em}#content #force-submit h1{font-weight:700;margin-bottom:1em}#content #force-submit p{margin-bottom:1em}#content .specifier{margin:0!important}#content .specifier.errors{width:auto!important;float:left}.evenRow{background-color:#eee}.hotkeyDialog p{margin:1em 0}.hotkeyDialog td{border:0px}table{width:100%;border-collapse:collapse;margin-bottom:1.5em}table thead tr th{background:black;color:#fff;padding:5px}table tr.even{background:#e9e9e9}table td{padding:5px;border:1px solid #cecece;vertical-align:top}.ui-dialog-buttonpane{overflow:hidden!important}pre{font-family:Deja Vu Sans Mono,Courier New,Courier,monospace}.question{background:#e5e5e5;margin:2em;padding:2em}label.placeholder{cursor:text;padding:4px;color:#999}input::-webkit-input-placeholder,textarea::-webkit-input-placeholder{color:#999}input:placeholder,textarea:placeholder{color:#999}.focus{background:#cce8ed!important}.print{width:83.05085%;float:left;margin-right:1.69492%;display:inline;margin-top:2em}.print a{color:#00f;text-decoration:underline}.error .stacktrace{color:#777;white-space:pre-line}html.busy,html.busy *{cursor:wait!important}.hidden,.paged .noVisibleQuestions,.single-page .noVisibleQuestions{display:none}.paged .hide,.single-page .hide{margin:0!important;outline:none!important}.paged .hide>*,.single-page .hide>*{display:none!important}.paged .panel,.single-page .panel{background:white}.paged .panel,.single-page .panel{max-width:59em;_width:59em;padding-left:1em;padding-right:1em;margin-left:auto;margin-right:auto;padding-top:20px}.paged .panel:after,.single-page .panel:after{content:"";display:table;clear:both}.paged .panel .table div,.single-page .panel .table div,.paged .panel .table span,.single-page .panel .table span,.paged .panel .table applet,.single-page .panel .table applet,.paged .panel .table object,.single-page .panel .table object,.paged .panel .table iframe,.single-page .panel .table iframe,.paged .panel .table h1,.single-page .panel .table h1,.paged .panel .table h2,.single-page .panel .table h2,.paged .panel .table h3,.single-page .panel .table h3,.paged .panel .table h4,.single-page .panel .table h4,.paged .panel .table h5,.single-page .panel .table h5,.paged .panel .table h6,.single-page .panel .table h6,.paged .panel .table p,.single-page .panel .table p,.paged .panel .table blockquote,.single-page .panel .table blockquote,.paged .panel .table pre,.single-page .panel .table pre,.paged .panel .table a,.single-page .panel .table a,.paged .panel .table abbr,.single-page .panel .table abbr,.paged .panel .table acronym,.single-page .panel .table acronym,.paged .panel .table address,.single-page .panel .table address,.paged .panel .table big,.single-page .panel .table big,.paged .panel .table cite,.single-page .panel .table cite,.paged .panel .table code,.single-page .panel .table code,.paged .panel .table del,.single-page .panel .table del,.paged .panel .table dfn,.single-page .panel .table dfn,.paged .panel .table em,.single-page .panel .table em,.paged .panel .table img,.single-page .panel .table img,.paged .panel .table ins,.single-page .panel .table ins,.paged .panel .table kbd,.single-page .panel .table kbd,.paged .panel .table q,.single-page .panel .table q,.paged .panel .table s,.single-page .panel .table s,.paged .panel .table samp,.single-page .panel .table samp,.paged .panel .table small,.single-page .panel .table small,.paged .panel .table strike,.single-page .panel .table strike,.paged .panel .table strong,.single-page .panel .table strong,.paged .panel .table sub,.single-page .panel .table sub,.paged .panel .table sup,.single-page .panel .table sup,.paged .panel .table tt,.single-page .panel .table tt,.paged .panel .table var,.single-page .panel .table var,.paged .panel .table b,.single-page .panel .table b,.paged .panel .table u,.single-page .panel .table u,.paged .panel .table i,.single-page .panel .table i,.paged .panel .table center,.single-page .panel .table center,.paged .panel .table dl,.single-page .panel .table dl,.paged .panel .table dt,.single-page .panel .table dt,.paged .panel .table dd,.single-page .panel .table dd,.paged .panel .table ol,.single-page .panel .table ol,.paged .panel .table ul,.single-page .panel .table ul,.paged .panel .table li,.single-page .panel .table li,.paged .panel .table fieldset,.single-page .panel .table fieldset,.paged .panel .table form,.single-page .panel .table form,.paged .panel .table label,.single-page .panel .table label,.paged .panel .table legend,.single-page .panel .table legend,.paged .panel .table table,.single-page .panel .table table,.paged .panel .table caption,.single-page .panel .table caption,.paged .panel .table tbody,.single-page .panel .table tbody,.paged .panel .table tfoot,.single-page .panel .table tfoot,.paged .panel .table thead,.single-page .panel .table thead,.paged .panel .table tr,.single-page .panel .table tr,.paged .panel .table th,.single-page .panel .table th,.paged .panel .table td,.single-page .panel .table td,.paged .panel .table article,.single-page .panel .table article,.paged .panel .table aside,.single-page .panel .table aside,.paged .panel .table canvas,.single-page .panel .table canvas,.paged .panel .table details,.single-page .panel .table details,.paged .panel .table embed,.single-page .panel .table embed,.paged .panel .table figure,.single-page .panel .table figure,.paged .panel .table figcaption,.single-page .panel .table figcaption,.paged .panel .table footer,.single-page .panel .table footer,.paged .panel .table header,.single-page .panel .table header,.paged .panel .table hgroup,.single-page .panel .table hgroup,.paged .panel .table menu,.single-page .panel .table menu,.paged .panel .table nav,.single-page .panel .table nav,.paged .panel .table output,.single-page .panel .table output,.paged .panel .table ruby,.single-page .panel .table ruby,.paged .panel .table section,.single-page .panel .table section,.paged .panel .table summary,.single-page .panel .table summary,.paged .panel .table time,.single-page .panel .table time,.paged .panel .table mark,.single-page .panel .table mark,.paged .panel .table audio,.single-page .panel .table audio,.paged .panel .table video,.single-page .panel .table video{margin:0;padding:0;border:0;font:inherit;font-size:100%;vertical-align:baseline}.paged .panel .table table,.single-page .panel .table table{border-collapse:collapse;border-spacing:0}.paged .panel .table caption,.single-page .panel .table caption,.paged .panel .table th,.single-page .panel .table th,.paged .panel .table td,.single-page .panel .table td{text-align:left;font-weight:400;vertical-align:middle}.paged .panel .table q,.single-page .panel .table q,.paged .panel .table blockquote,.single-page .panel .table blockquote{quotes:none}.paged .panel .table q:before,.single-page .panel .table q:before,.paged .panel .table q:after,.single-page .panel .table q:after,.paged .panel .table blockquote:before,.single-page .panel .table blockquote:before,.paged .panel .table blockquote:after,.single-page .panel .table blockquote:after{content:"";content:none}.paged .panel .table a img,.single-page .panel .table a img{border:none}.paged .panel .table p,.single-page .panel .table p,.paged .panel .table div,.single-page .panel .table div{display:inline}.paged .panel .table caption,.single-page .panel .table caption{margin-bottom:.5em}.paged .panel .table .errors,.single-page .panel .table .errors{outline:2px solid red!important}.paged .panel .table .error,.single-page .panel .table .error{display:inline-block;background:#ffbbbb;outline:1px solid #ff3333}.paged .panel .table .error.hidden,.single-page .panel .table .error.hidden{display:none}.paged .panel .table table,.single-page .panel .table table{border-bottom:1px solid black;border-collapse:collapse;margin:0}.paged .panel .table table *,.single-page .panel .table table *{width:auto}.paged .panel .table table .option,.single-page .panel .table table .option{white-space:normal}.paged .panel .table table td>div>*,.single-page .panel .table table td>div>*{margin-top:.5em;margin-bottom:.5em}.paged .panel .table table .row,.single-page .panel .table table .row{width:100%;float:right;margin-right:0;display:inline;float:none;display:table-row}.paged .panel .table table .row td,.single-page .panel .table table .row td,.paged .panel .table table .row th,.single-page .panel .table table .row th{display:table-cell;border:0;border-bottom:1px solid #bbb;vertical-align:top;float:none}.paged .panel .table table .row td.main,.single-page .panel .table table .row td.main,.paged .panel .table table .row th.main,.single-page .panel .table table .row th.main{vertical-align:middle}.paged .panel .table table .row.inner_row td,.single-page .panel .table table .row.inner_row td{border:0}.paged .panel .table table .row:first-child td,.single-page .panel .table table .row:first-child td{border-top:1px solid #bbb}.paged .panel .table table .row input.float,.single-page .panel .table table .row input.float,.paged .panel .table table .row input.integer,.single-page .panel .table table .row input.integer{width:54px}.paged .panel .table table .row input.string,.single-page .panel .table table .row input.string,.paged .panel .table table .row input.textarea,.single-page .panel .table table .row input.textarea{width:92%}.paged .panel .table table .row input.sized,.single-page .panel .table table .row input.sized{width:auto}.paged .panel .table table .row input.fd-form-element-hidden,.single-page .panel .table table .row input.fd-form-element-hidden{display:none}.paged .panel .table table .row .unit,.single-page .panel .table table .row .unit{vertical-align:-20%;padding-left:4px}.paged .panel .table .item,.single-page .panel .table .item{float:none;width:auto;margin-right:auto;display:block}.paged .panel .table .main,.single-page .panel .table .main{width:33.33333%;float:none!important;display:table-cell!important}.paged .panel .table .main label small,.single-page .panel .table .main label small{font-size:.7em}.paged .panel .table .description,.single-page .panel .table .description{text-align:right}.paged .panel .table .option_sets .option,.single-page .panel .table .option_sets .option{padding-left:1em;padding-bottom:.5em;vertical-align:bottom}.paged .panel .table .dark,.single-page .panel .table .dark{background-color:#eee}.paged .panel .table .light,.single-page .panel .table .light{background-color:#fff}@media (max-width: 420px){.paged .horizontal.item.scale table,.single-page .horizontal.item.scale table{table-layout:fixed}.paged .horizontal.item.scale table td.last p,.single-page .horizontal.item.scale table td.last p{position:absolute;right:20px;max-width:5rem;text-align:right}}.paged tr,.single-page tr{border:1px solid #aaa}.paged .item,.single-page .item{width:100%;float:right;margin-right:0;display:inline;margin-bottom:18px}.paged .item.horizontal.radio .option,.single-page .item.horizontal.radio .option,.paged .item.horizontal.check_box .option,.single-page .item.horizontal.check_box .option,.paged .item.vertical.radio .option,.single-page .item.vertical.radio .option,.paged .item.vertical.check_box .option,.single-page .item.vertical.check_box .option{width:100%;float:right;margin-right:0;display:inline}.paged .item.horizontal.radio .option .radiocheckwrapper,.single-page .item.horizontal.radio .option .radiocheckwrapper,.paged .item.horizontal.check_box .option .radiocheckwrapper,.single-page .item.horizontal.check_box .option .radiocheckwrapper,.paged .item.vertical.radio .option .radiocheckwrapper,.single-page .item.vertical.radio .option .radiocheckwrapper,.paged .item.vertical.check_box .option .radiocheckwrapper,.single-page .item.vertical.check_box .option .radiocheckwrapper{width:6.77966%;float:left;margin-right:1.69492%;display:inline}.paged .item.horizontal.radio .option .labelwrapper,.single-page .item.horizontal.radio .option .labelwrapper,.paged .item.horizontal.check_box .option .labelwrapper,.single-page .item.horizontal.check_box .option .labelwrapper,.paged .item.vertical.radio .option .labelwrapper,.single-page .item.vertical.radio .option .labelwrapper,.paged .item.vertical.check_box .option .labelwrapper,.single-page .item.vertical.check_box .option .labelwrapper{width:91.52542%;float:right;margin-right:0;display:inline}.paged .item.horizontal.radio .option.show_values .value,.single-page .item.horizontal.radio .option.show_values .value,.paged .item.horizontal.check_box .option.show_values .value,.single-page .item.horizontal.check_box .option.show_values .value,.paged .item.vertical.radio .option.show_values .value,.single-page .item.vertical.radio .option.show_values .value,.paged .item.vertical.check_box .option.show_values .value,.single-page .item.vertical.check_box .option.show_values .value{width:6.77966%;float:left;margin-right:1.69492%;display:inline}.paged .item.horizontal.radio .option.show_values .labelwrapper,.single-page .item.horizontal.radio .option.show_values .labelwrapper,.paged .item.horizontal.check_box .option.show_values .labelwrapper,.single-page .item.horizontal.check_box .option.show_values .labelwrapper,.paged .item.vertical.radio .option.show_values .labelwrapper,.single-page .item.vertical.radio .option.show_values .labelwrapper,.paged .item.vertical.check_box .option.show_values .labelwrapper,.single-page .item.vertical.check_box .option.show_values .labelwrapper{width:83.05085%;float:right;margin-right:0;display:inline}.paged .item.horizontal.string input,.single-page .item.horizontal.string input,.paged .item.horizontal.string textarea,.single-page .item.horizontal.string textarea,.paged .item.horizontal.textarea input,.single-page .item.horizontal.textarea input,.paged .item.horizontal.textarea textarea,.single-page .item.horizontal.textarea textarea,.paged .item.vertical.string input,.single-page .item.vertical.string input,.paged .item.vertical.string textarea,.single-page .item.vertical.string textarea,.paged .item.vertical.textarea input,.single-page .item.vertical.textarea input,.paged .item.vertical.textarea textarea,.single-page .item.vertical.textarea textarea{width:100%;margin-right:0;display:inline}.paged .item.horizontal.string .sized,.single-page .item.horizontal.string .sized,.paged .item.horizontal.textarea .sized,.single-page .item.horizontal.textarea .sized,.paged .item.vertical.string .sized,.single-page .item.vertical.string .sized,.paged .item.vertical.textarea .sized,.single-page .item.vertical.textarea .sized{width:auto}.paged .progress-bar,.single-page .progress-bar{width:100%;float:right;display:inline;margin-left:-20px;margin-right:-20px;padding:1.5em 20px}.paged .progress-bar .progress-wrapper .progress-slider,.single-page .progress-bar .progress-wrapper .progress-slider{background-position:0 3px;display:inline-block;zoom:1}.paged .progress-bar .progress-wrapper .progress-slider .progress-stop,.single-page .progress-bar .progress-wrapper .progress-slider .progress-stop{margin:0 2px;width:8px;height:8px}.paged .progress-bar .progress-wrapper .progress-slider.long-list,.single-page .progress-bar .progress-wrapper .progress-slider.long-list{display:none}.paged .buttons,.single-page .buttons{width:100%;float:right;display:inline;margin-left:-20px;margin-right:-20px;padding:1.5em 20px;border-bottom:1px dotted #d0d0d0}.paged .buttons .back,.single-page .buttons .back,.paged .buttons .prev,.single-page .buttons .prev{width:49.15254%;float:left;margin-right:1.69492%;display:inline}.paged .buttons .next,.single-page .buttons .next{width:49.15254%;float:right;margin-right:0;display:inline;text-align:right}.paged .buttons .abort,.single-page .buttons .abort,.paged .buttons .print,.single-page .buttons .print{display:none}.paged .buttons .print,.single-page .buttons .print{width:100%;float:left;margin-right:1.69492%;display:inline;text-align:right}.paged .buttons .save,.single-page .buttons .save{width:49.15254%;float:right;margin-right:0;display:inline;text-align:right}@media (min-width: 35em){.paged #content,.single-page #content{margin:6em auto 0}.paged tr,.single-page tr{border:none}.paged .panel,.single-page .panel{margin-left:auto;margin-right:auto;max-width:49.5em;border:4px solid #dddddd;margin-top:6em;padding:3em 2em 1.5em}.paged .panel:after,.single-page .panel:after{content:"";display:table;clear:both}.paged .panel .table div,.single-page .panel .table div,.paged .panel .table span,.single-page .panel .table span,.paged .panel .table applet,.single-page .panel .table applet,.paged .panel .table object,.single-page .panel .table object,.paged .panel .table iframe,.single-page .panel .table iframe,.paged .panel .table h1,.single-page .panel .table h1,.paged .panel .table h2,.single-page .panel .table h2,.paged .panel .table h3,.single-page .panel .table h3,.paged .panel .table h4,.single-page .panel .table h4,.paged .panel .table h5,.single-page .panel .table h5,.paged .panel .table h6,.single-page .panel .table h6,.paged .panel .table p,.single-page .panel .table p,.paged .panel .table blockquote,.single-page .panel .table blockquote,.paged .panel .table pre,.single-page .panel .table pre,.paged .panel .table a,.single-page .panel .table a,.paged .panel .table abbr,.single-page .panel .table abbr,.paged .panel .table acronym,.single-page .panel .table acronym,.paged .panel .table address,.single-page .panel .table address,.paged .panel .table big,.single-page .panel .table big,.paged .panel .table cite,.single-page .panel .table cite,.paged .panel .table code,.single-page .panel .table code,.paged .panel .table del,.single-page .panel .table del,.paged .panel .table dfn,.single-page .panel .table dfn,.paged .panel .table em,.single-page .panel .table em,.paged .panel .table img,.single-page .panel .table img,.paged .panel .table ins,.single-page .panel .table ins,.paged .panel .table kbd,.single-page .panel .table kbd,.paged .panel .table q,.single-page .panel .table q,.paged .panel .table s,.single-page .panel .table s,.paged .panel .table samp,.single-page .panel .table samp,.paged .panel .table small,.single-page .panel .table small,.paged .panel .table strike,.single-page .panel .table strike,.paged .panel .table strong,.single-page .panel .table strong,.paged .panel .table sub,.single-page .panel .table sub,.paged .panel .table sup,.single-page .panel .table sup,.paged .panel .table tt,.single-page .panel .table tt,.paged .panel .table var,.single-page .panel .table var,.paged .panel .table b,.single-page .panel .table b,.paged .panel .table u,.single-page .panel .table u,.paged .panel .table i,.single-page .panel .table i,.paged .panel .table center,.single-page .panel .table center,.paged .panel .table dl,.single-page .panel .table dl,.paged .panel .table dt,.single-page .panel .table dt,.paged .panel .table dd,.single-page .panel .table dd,.paged .panel .table ol,.single-page .panel .table ol,.paged .panel .table ul,.single-page .panel .table ul,.paged .panel .table li,.single-page .panel .table li,.paged .panel .table fieldset,.single-page .panel .table fieldset,.paged .panel .table form,.single-page .panel .table form,.paged .panel .table label,.single-page .panel .table label,.paged .panel .table legend,.single-page .panel .table legend,.paged .panel .table table,.single-page .panel .table table,.paged .panel .table caption,.single-page .panel .table caption,.paged .panel .table tbody,.single-page .panel .table tbody,.paged .panel .table tfoot,.single-page .panel .table tfoot,.paged .panel .table thead,.single-page .panel .table thead,.paged .panel .table tr,.single-page .panel .table tr,.paged .panel .table th,.single-page .panel .table th,.paged .panel .table td,.single-page .panel .table td,.paged .panel .table article,.single-page .panel .table article,.paged .panel .table aside,.single-page .panel .table aside,.paged .panel .table canvas,.single-page .panel .table canvas,.paged .panel .table details,.single-page .panel .table details,.paged .panel .table embed,.single-page .panel .table embed,.paged .panel .table figure,.single-page .panel .table figure,.paged .panel .table figcaption,.single-page .panel .table figcaption,.paged .panel .table footer,.single-page .panel .table footer,.paged .panel .table header,.single-page .panel .table header,.paged .panel .table hgroup,.single-page .panel .table hgroup,.paged .panel .table menu,.single-page .panel .table menu,.paged .panel .table nav,.single-page .panel .table nav,.paged .panel .table output,.single-page .panel .table output,.paged .panel .table ruby,.single-page .panel .table ruby,.paged .panel .table section,.single-page .panel .table section,.paged .panel .table summary,.single-page .panel .table summary,.paged .panel .table time,.single-page .panel .table time,.paged .panel .table mark,.single-page .panel .table mark,.paged .panel .table audio,.single-page .panel .table audio,.paged .panel .table video,.single-page .panel .table video{margin:0;padding:0;border:0;font:inherit;font-size:100%;vertical-align:baseline}.paged .panel .table table,.single-page .panel .table table{border-collapse:collapse;border-spacing:0}.paged .panel .table caption,.single-page .panel .table caption,.paged .panel .table th,.single-page .panel .table th,.paged .panel .table td,.single-page .panel .table td{text-align:left;font-weight:400;vertical-align:middle}.paged .panel .table q,.single-page .panel .table q,.paged .panel .table blockquote,.single-page .panel .table blockquote{quotes:none}.paged .panel .table q:before,.single-page .panel .table q:before,.paged .panel .table q:after,.single-page .panel .table q:after,.paged .panel .table blockquote:before,.single-page .panel .table blockquote:before,.paged .panel .table blockquote:after,.single-page .panel .table blockquote:after{content:"";content:none}.paged .panel .table a img,.single-page .panel .table a img{border:none}.paged .panel .table p,.single-page .panel .table p,.paged .panel .table div,.single-page .panel .table div{display:inline}.paged .panel .table caption,.single-page .panel .table caption{margin-bottom:.5em}.paged .panel .table .errors,.single-page .panel .table .errors{outline:2px solid red!important}.paged .panel .table .error,.single-page .panel .table .error{display:inline-block;background:#ffbbbb;outline:1px solid #ff3333}.paged .panel .table .error.hidden,.single-page .panel .table .error.hidden{display:none}.paged .panel .table table,.single-page .panel .table table{border-bottom:1px solid black;border-collapse:collapse;margin:0}.paged .panel .table table *,.single-page .panel .table table *{width:auto}.paged .panel .table table .option,.single-page .panel .table table .option{white-space:normal}.paged .panel .table table td>div>*,.single-page .panel .table table td>div>*{margin-top:.5em;margin-bottom:.5em}.paged .panel .table table .row,.single-page .panel .table table .row{width:100%;float:right;margin-right:0;float:none;display:table-row}.paged .panel .table table .row td,.single-page .panel .table table .row td,.paged .panel .table table .row th,.single-page .panel .table table .row th{display:table-cell;border:0;border-bottom:1px solid #bbb;vertical-align:top;float:none}.paged .panel .table table .row td.main,.single-page .panel .table table .row td.main,.paged .panel .table table .row th.main,.single-page .panel .table table .row th.main{vertical-align:middle}.paged .panel .table table .row.inner_row td,.single-page .panel .table table .row.inner_row td{border:0}.paged .panel .table table .row:first-child td,.single-page .panel .table table .row:first-child td{border-top:1px solid #bbb}.paged .panel .table table .row input.float,.single-page .panel .table table .row input.float,.paged .panel .table table .row input.integer,.single-page .panel .table table .row input.integer{width:54px}.paged .panel .table table .row input.string,.single-page .panel .table table .row input.string,.paged .panel .table table .row input.textarea,.single-page .panel .table table .row input.textarea{width:92%}.paged .panel .table table .row input.sized,.single-page .panel .table table .row input.sized{width:auto}.paged .panel .table table .row input.fd-form-element-hidden,.single-page .panel .table table .row input.fd-form-element-hidden{display:none}.paged .panel .table table .row .unit,.single-page .panel .table table .row .unit{vertical-align:-20%;padding-left:4px}.paged .panel .table .item,.single-page .panel .table .item{float:none;width:auto;margin-right:auto}.paged .panel .table .main,.single-page .panel .table .main{width:33.33333%;float:none!important;display:table-cell!important}.paged .panel .table .main label small,.single-page .panel .table .main label small{font-size:.7em}.paged .panel .table .description,.single-page .panel .table .description{text-align:right}.paged .panel .table .option_sets .option,.single-page .panel .table .option_sets .option{padding-left:1em;padding-bottom:.5em;vertical-align:bottom}.paged .panel .table .dark,.single-page .panel .table .dark{background-color:#eee}.paged .panel .table .light,.single-page .panel .table .light{background-color:#fff}.paged .item,.single-page .item{width:100%;float:right;margin-right:0;margin-bottom:18px}.paged .item.horizontal.radio .option,.single-page .item.horizontal.radio .option,.paged .item.horizontal.check_box .option,.single-page .item.horizontal.check_box .option{width:100%;float:right;margin-right:0}.paged .item.horizontal.radio .option .radiocheckwrapper,.single-page .item.horizontal.radio .option .radiocheckwrapper,.paged .item.horizontal.check_box .option .radiocheckwrapper,.single-page .item.horizontal.check_box .option .radiocheckwrapper{width:4.0404%;float:left;margin-right:1.0101%}.paged .item.horizontal.radio .option .labelwrapper,.single-page .item.horizontal.radio .option .labelwrapper,.paged .item.horizontal.check_box .option .labelwrapper,.single-page .item.horizontal.check_box .option .labelwrapper{width:94.94949%;float:right;margin-right:0}.paged .item.horizontal.radio .option.show_values .value,.single-page .item.horizontal.radio .option.show_values .value,.paged .item.horizontal.check_box .option.show_values .value,.single-page .item.horizontal.check_box .option.show_values .value{width:4.0404%;float:left;margin-right:1.0101%}.paged .item.horizontal.radio .option.show_values .labelwrapper,.single-page .item.horizontal.radio .option.show_values .labelwrapper,.paged .item.horizontal.check_box .option.show_values .labelwrapper,.single-page .item.horizontal.check_box .option.show_values .labelwrapper{width:89.89899%;float:right;margin-right:0}.paged .item.horizontal.radio .option .subquestions,.single-page .item.horizontal.radio .option .subquestions,.paged .item.horizontal.check_box .option .subquestions,.single-page .item.horizontal.check_box .option .subquestions{margin-left:5.05051%;width:74.74747%;float:left;margin-right:1.0101%}.paged .item.horizontal.radio .option .subquestions .item,.single-page .item.horizontal.radio .option .subquestions .item,.paged .item.horizontal.check_box .option .subquestions .item,.single-page .item.horizontal.check_box .option .subquestions .item{width:74.74747%;float:left;margin-right:1.0101%}.paged .item.horizontal.radio .option .subquestions .item input,.single-page .item.horizontal.radio .option .subquestions .item input,.paged .item.horizontal.check_box .option .subquestions .item input,.single-page .item.horizontal.check_box .option .subquestions .item input{width:auto}.paged .item.horizontal.radio .option .subquestions .radiocheckwrapper,.single-page .item.horizontal.radio .option .subquestions .radiocheckwrapper,.paged .item.horizontal.check_box .option .subquestions .radiocheckwrapper,.single-page .item.horizontal.check_box .option .subquestions .radiocheckwrapper{width:10px;padding-right:20px}.paged .item.horizontal.radio .option .subquestions .labelwrapper,.single-page .item.horizontal.radio .option .subquestions .labelwrapper,.paged .item.horizontal.check_box .option .subquestions .labelwrapper,.single-page .item.horizontal.check_box .option .subquestions .labelwrapper{width:auto;float:none}.paged .item.horizontal.radio .inner-title,.single-page .item.horizontal.radio .inner-title,.paged .item.horizontal.check_box .inner-title,.single-page .item.horizontal.check_box .inner-title{width:100%;float:right;margin-right:0}.paged .item.horizontal.string input,.single-page .item.horizontal.string input,.paged .item.horizontal.string textarea,.single-page .item.horizontal.string textarea,.paged .item.horizontal.textarea input,.single-page .item.horizontal.textarea input,.paged .item.horizontal.textarea textarea,.single-page .item.horizontal.textarea textarea{width:100%;margin-right:0}.paged .item.horizontal.string .sized,.single-page .item.horizontal.string .sized,.paged .item.horizontal.textarea .sized,.single-page .item.horizontal.textarea .sized{width:auto}.paged .item.vertical .main,.single-page .item.vertical .main{width:39.39394%;float:left;margin-right:1.0101%}.paged .item.vertical .description-and-fields,.single-page .item.vertical .description-and-fields{width:59.59596%;float:right;margin-right:0;float:left}.paged .item.vertical .description-and-fields .description h2,.single-page .item.vertical .description-and-fields .description h2{font-size:1.2em;font-weight:700;border-top:8px solid #ddd;padding-top:16px}.paged .item.vertical .description-and-fields .description small,.single-page .item.vertical .description-and-fields .description small{font-size:80%}.paged .item.vertical .description-and-fields .description strong,.single-page .item.vertical .description-and-fields .description strong{font-style:italic}.paged .item.vertical .description-and-fields .description em,.single-page .item.vertical .description-and-fields .description em{font-weight:700}.paged .item.vertical .description-and-fields .description p,.single-page .item.vertical .description-and-fields .description p{margin-bottom:18px}.paged .item.vertical .description-and-fields .description ul,.single-page .item.vertical .description-and-fields .description ul{margin-top:1em;margin-left:1em;margin-bottom:2em}.paged .item.vertical .description-and-fields .description ul li,.single-page .item.vertical .description-and-fields .description ul li{list-style-type:disc;margin-bottom:1em!important}.paged .item.vertical .description-and-fields .description ul li p,.single-page .item.vertical .description-and-fields .description ul li p{margin-bottom:0}.paged .item.vertical .description-and-fields .description ul li ul,.single-page .item.vertical .description-and-fields .description ul li ul{margin-bottom:1em;margin-left:1.5em}.paged .item.vertical .description-and-fields .description ul li ul li,.single-page .item.vertical .description-and-fields .description ul li ul li{margin-bottom:0!important;list-style-type:none}.paged .item.vertical .description-and-fields .description ol li,.single-page .item.vertical .description-and-fields .description ol li{list-style-type:lower-alpha}.paged .item.vertical.radio .option,.single-page .item.vertical.radio .option,.paged .item.vertical.check_box .option,.single-page .item.vertical.check_box .option{width:100%;float:right;margin-right:0}.paged .item.vertical.radio .option .radiocheckwrapper,.single-page .item.vertical.radio .option .radiocheckwrapper,.paged .item.vertical.check_box .option .radiocheckwrapper,.single-page .item.vertical.check_box .option .radiocheckwrapper{width:6.77966%;float:left;margin-right:1.69492%}.paged .item.vertical.radio .option .labelwrapper,.single-page .item.vertical.radio .option .labelwrapper,.paged .item.vertical.check_box .option .labelwrapper,.single-page .item.vertical.check_box .option .labelwrapper{width:91.52542%;float:right;margin-right:0}.paged .item.vertical.radio .option.show_values .value,.single-page .item.vertical.radio .option.show_values .value,.paged .item.vertical.check_box .option.show_values .value,.single-page .item.vertical.check_box .option.show_values .value{width:6.77966%;float:left;margin-right:1.69492%}.paged .item.vertical.radio .option.show_values .labelwrapper,.single-page .item.vertical.radio .option.show_values .labelwrapper,.paged .item.vertical.check_box .option.show_values .labelwrapper,.single-page .item.vertical.check_box .option.show_values .labelwrapper{width:83.05085%;float:right;margin-right:0}.paged .item.vertical.radio .option .subquestions,.single-page .item.vertical.radio .option .subquestions,.paged .item.vertical.check_box .option .subquestions,.single-page .item.vertical.check_box .option .subquestions{margin-left:5.05051%;width:91.52542%;float:left;margin-right:1.69492%}.paged .item.vertical.radio .option .subquestions .item,.single-page .item.vertical.radio .option .subquestions .item,.paged .item.vertical.check_box .option .subquestions .item,.single-page .item.vertical.check_box .option .subquestions .item{width:91.52542%;float:left;margin-right:1.69492%}.paged .item.vertical.radio .option .subquestions .item .main,.single-page .item.vertical.radio .option .subquestions .item .main,.paged .item.vertical.check_box .option .subquestions .item .main,.single-page .item.vertical.check_box .option .subquestions .item .main{width:100%;float:right;margin-right:0}.paged .item.vertical.radio .option .subquestions .item input,.single-page .item.vertical.radio .option .subquestions .item input,.paged .item.vertical.check_box .option .subquestions .item input,.single-page .item.vertical.check_box .option .subquestions .item input{width:auto}.paged .item.vertical.radio .option .subquestions .radiocheckwrapper,.single-page .item.vertical.radio .option .subquestions .radiocheckwrapper,.paged .item.vertical.check_box .option .subquestions .radiocheckwrapper,.single-page .item.vertical.check_box .option .subquestions .radiocheckwrapper{width:10px;padding-right:20px}.paged .item.vertical.radio .option .subquestions .labelwrapper,.single-page .item.vertical.radio .option .subquestions .labelwrapper,.paged .item.vertical.check_box .option .subquestions .labelwrapper,.single-page .item.vertical.check_box .option .subquestions .labelwrapper{width:auto;float:none}.paged .item.vertical.radio .inner-title,.single-page .item.vertical.radio .inner-title,.paged .item.vertical.check_box .inner-title,.single-page .item.vertical.check_box .inner-title{width:100%;float:right;margin-right:0}.paged .item.vertical.string input,.single-page .item.vertical.string input,.paged .item.vertical.string textarea,.single-page .item.vertical.string textarea,.paged .item.vertical.textarea input,.single-page .item.vertical.textarea input,.paged .item.vertical.textarea textarea,.single-page .item.vertical.textarea textarea{width:100%;margin-right:0}.paged .item.vertical.string .sized,.single-page .item.vertical.string .sized,.paged .item.vertical.textarea .sized,.single-page .item.vertical.textarea .sized{width:auto}.paged .progress-bar,.single-page .progress-bar{width:100%;float:right;margin:1.5em -2em -1.5em;padding:1.5em 2em}.paged .progress-bar .progress-wrapper .progress-slider,.single-page .progress-bar .progress-wrapper .progress-slider{background-position:0 4px;display:inline-block;zoom:1}.paged .progress-bar .progress-wrapper .progress-slider .progress-stop,.single-page .progress-bar .progress-wrapper .progress-slider .progress-stop{margin:0 3px;width:10px;height:10px}.paged .progress-bar .progress-wrapper .progress-slider.long-list,.single-page .progress-bar .progress-wrapper .progress-slider.long-list{display:inline-block;zoom:1}.paged .buttons,.single-page .buttons{width:100%;float:right;margin:1.5em -2em -1.5em;padding:1.5em 2em;border-bottom:0}.paged .buttons .back,.single-page .buttons .back,.paged .buttons .prev,.single-page .buttons .prev{width:24.24242%;float:left;margin-right:1.0101%}.paged .buttons .abort,.single-page .buttons .abort{width:24.24242%;float:left;margin-right:1.0101%;text-align:center;display:block}.paged .buttons .print,.single-page .buttons .print{width:100%;float:left;margin-right:1.0101%;text-align:right}.paged .buttons .next,.single-page .buttons .next,.paged .buttons .save,.single-page .buttons .save{width:24.24242%;float:right;margin-right:0;text-align:right}}.paged .panel,.single-page .panel{margin-bottom:2em;box-shadow:0 0 6px #0000004d}.paged .panel h1,.single-page .panel h1{font-size:1.5em;font-weight:700;margin-bottom:1.2em;z-index:400}.paged .panel hr,.single-page .panel hr{height:8px;border:0;background:#ddd}.paged .panel .progress-bar,.single-page .panel .progress-bar{height:25px}.paged .panel .progress-bar .progress-wrapper,.single-page .panel .progress-bar .progress-wrapper{text-align:center}.paged .panel .progress-bar .progress-wrapper .progress-slider,.single-page .panel .progress-bar .progress-wrapper .progress-slider{height:8px;text-align:center;border:1px solid #ccc;border-radius:6px;overflow:hidden;padding:1px}.paged .panel .progress-bar .progress-wrapper .progress-slider .progress-stop,.single-page .panel .progress-bar .progress-wrapper .progress-slider .progress-stop{height:8px;line-height:8px;width:6px;background:#fff;font-size:6px;text-indent:-1234em;display:block;float:left;text-align:center;margin:0}.paged .panel .progress-bar .progress-wrapper .progress-slider .progress-stop.first-child,.single-page .panel .progress-bar .progress-wrapper .progress-slider .progress-stop.first-child{width:8px;border-radius:5px 0 0 5px}.paged .panel .progress-bar .progress-wrapper .progress-slider .progress-stop.last-child,.single-page .panel .progress-bar .progress-wrapper .progress-slider .progress-stop.last-child{width:8px;border-radius:0 5px 5px 0}.paged .panel .progress-bar .progress-wrapper .progress-slider .progress-stop.active,.single-page .panel .progress-bar .progress-wrapper .progress-slider .progress-stop.active{background:#999}.paged .panel .progress-bar .progress-wrapper .progress-slider .progress-stop.current,.single-page .panel .progress-bar .progress-wrapper .progress-slider .progress-stop.current{border-radius:0 5px 5px 0}.paged .panel .progress-bar .progress-wrapper .progress-slider .progress-stop.current.first-child,.single-page .panel .progress-bar .progress-wrapper .progress-slider .progress-stop.current.first-child{border-radius:5px}.paged .panel .progress-bar .progress-wrapper .progress-details,.single-page .panel .progress-bar .progress-wrapper .progress-details{color:#999;font-size:9px;margin:4px 0 0;display:block}.paged .panel .buttons,.single-page .panel .buttons{border-top:1px dotted #d6d6d6;background:#f3f3f3}.paged .panel .item.hidden,.single-page .panel .item.hidden{display:none}.paged .panel .item.errors,.single-page .panel .item.errors{outline:1px solid red;padding:.4em}.paged .panel .item.errors .error,.single-page .panel .item.errors .error{background:#ffaaaa;color:#500;outline:1px solid red;padding:.3em;margin-bottom:.3em}.paged .panel .item .main,.single-page .panel .item .main{font-weight:700}.paged .panel .item .main em,.single-page .panel .item .main em{font-style:italic}.paged .panel .item .text h2,.single-page .panel .item .text h2{font-size:1.2em;font-weight:700;border-top:8px solid #ddd;padding-top:16px}.paged .panel .item .text small,.single-page .panel .item .text small{font-size:80%}.paged .panel .item .text strong,.single-page .panel .item .text strong{font-style:italic}.paged .panel .item .text em,.single-page .panel .item .text em{font-weight:700}.paged .panel .item .text p,.single-page .panel .item .text p{margin-bottom:18px}.paged .panel .item .text ul,.single-page .panel .item .text ul{margin-top:1em;margin-left:1em;margin-bottom:2em}.paged .panel .item .text ul li,.single-page .panel .item .text ul li{list-style-type:disc;margin-bottom:1em!important}.paged .panel .item .text ul li p,.single-page .panel .item .text ul li p{margin-bottom:0}.paged .panel .item .text ul li ul,.single-page .panel .item .text ul li ul{margin-bottom:1em;margin-left:1.5em}.paged .panel .item .text ul li ul li,.single-page .panel .item .text ul li ul li{margin-bottom:0!important;list-style-type:none}.paged .panel .item .text ol li,.single-page .panel .item .text ol li{list-style-type:lower-alpha}.paged .panel .item .description-and-fields .description h2,.single-page .panel .item .description-and-fields .description h2{font-size:1.2em;font-weight:700;border-top:8px solid #ddd;padding-top:16px}.paged .panel .item .description-and-fields .description small,.single-page .panel .item .description-and-fields .description small{font-size:80%}.paged .panel .item .description-and-fields .description strong,.single-page .panel .item .description-and-fields .description strong{font-style:italic}.paged .panel .item .description-and-fields .description em,.single-page .panel .item .description-and-fields .description em{font-weight:700}.paged .panel .item .description-and-fields .description p,.single-page .panel .item .description-and-fields .description p{margin-bottom:18px}.paged .panel .item .description-and-fields .description ul,.single-page .panel .item .description-and-fields .description ul{margin-top:1em;margin-left:1em;margin-bottom:2em}.paged .panel .item .description-and-fields .description ul li,.single-page .panel .item .description-and-fields .description ul li{list-style-type:disc;margin-bottom:1em!important}.paged .panel .item .description-and-fields .description ul li p,.single-page .panel .item .description-and-fields .description ul li p{margin-bottom:0}.paged .panel .item .description-and-fields .description ul li ul,.single-page .panel .item .description-and-fields .description ul li ul{margin-bottom:1em;margin-left:1.5em}.paged .panel .item .description-and-fields .description ul li ul li,.single-page .panel .item .description-and-fields .description ul li ul li{margin-bottom:0!important;list-style-type:none}.paged .panel .item .description-and-fields .description ol li,.single-page .panel .item .description-and-fields .description ol li{list-style-type:lower-alpha}.paged .panel .item.horizontal .main,.single-page .panel .item.horizontal .main{margin-bottom:1em}.paged .panel .item.radio .inner-title,.single-page .panel .item.radio .inner-title,.paged .panel .item.check_box .inner-title,.single-page .panel .item.check_box .inner-title{margin-top:1.5em;margin-bottom:1.5em;font-weight:700}.paged .panel .item.radio .option .labelwrapper p,.single-page .panel .item.radio .option .labelwrapper p,.paged .panel .item.check_box .option .labelwrapper p,.single-page .panel .item.check_box .option .labelwrapper p{display:inline}.paged .panel .item.radio .option.show_values .value,.single-page .panel .item.radio .option.show_values .value,.paged .panel .item.check_box .option.show_values .value,.single-page .panel .item.check_box .option.show_values .value{text-align:center}.paged .panel .item.scale td,.single-page .panel .item.scale td{border:0;text-align:center}.paged .panel .item.scale .option.optionwidth1,.single-page .panel .item.scale .option.optionwidth1,.paged .panel .item.scale .description.optionwidth1,.single-page .panel .item.scale .description.optionwidth1,.paged .panel .item.scale .option.optionwidth2,.single-page .panel .item.scale .option.optionwidth2,.paged .panel .item.scale .description.optionwidth2,.single-page .panel .item.scale .description.optionwidth2,.paged .panel .item.scale .option.optionwidth3,.single-page .panel .item.scale .option.optionwidth3,.paged .panel .item.scale .description.optionwidth3,.single-page .panel .item.scale .description.optionwidth3,.paged .panel .item.scale .option.optionwidth4,.single-page .panel .item.scale .option.optionwidth4,.paged .panel .item.scale .description.optionwidth4,.single-page .panel .item.scale .description.optionwidth4,.paged .panel .item.scale .option.optionwidth5,.single-page .panel .item.scale .option.optionwidth5,.paged .panel .item.scale .description.optionwidth5,.single-page .panel .item.scale .description.optionwidth5{width:20%}.paged .panel .item.scale .option.optionwidth6,.single-page .panel .item.scale .option.optionwidth6,.paged .panel .item.scale .description.optionwidth6,.single-page .panel .item.scale .description.optionwidth6{width:16.66667%}.paged .panel .item.scale .option.optionwidth7,.single-page .panel .item.scale .option.optionwidth7,.paged .panel .item.scale .description.optionwidth7,.single-page .panel .item.scale .description.optionwidth7{width:14.28571%}.paged .panel .item.scale .option.optionwidth8,.single-page .panel .item.scale .option.optionwidth8,.paged .panel .item.scale .description.optionwidth8,.single-page .panel .item.scale .description.optionwidth8{width:12.5%}.paged .panel .item.scale .option.optionwidth9,.single-page .panel .item.scale .option.optionwidth9,.paged .panel .item.scale .description.optionwidth9,.single-page .panel .item.scale .description.optionwidth9{width:11.11111%}.paged .panel .item.scale .option.optionwidth10,.single-page .panel .item.scale .option.optionwidth10,.paged .panel .item.scale .description.optionwidth10,.single-page .panel .item.scale .description.optionwidth10{width:10%}.paged .panel .item.scale .option.optionwidth11,.single-page .panel .item.scale .option.optionwidth11,.paged .panel .item.scale .description.optionwidth11,.single-page .panel .item.scale .description.optionwidth11{width:9.09091%}.paged .panel .item.scale .option.optionwidth12,.single-page .panel .item.scale .option.optionwidth12,.paged .panel .item.scale .description.optionwidth12,.single-page .panel .item.scale .description.optionwidth12{width:8.33333%}.single-page .hidden,.single-page .panel.noVisibleQuestions{display:none}.single-page .item.hide{margin:0!important;outline:none!important}.single-page .item.hide>*{display:none!important}
195
- `,u0=r=>{var E;const e=new Wd(r.questionnaireJson),[n,a]=Me.useState(()=>new Yd(e,Xp(r.responseJson,e))),o=Me.useRef(null),d=r.newLayout??e.layoutVersion==="v2",v=r.darkMode===void 0?(E=window.matchMedia("(prefers-color-scheme: dark)"))==null?void 0:E.matches:r.darkMode,x={displayMode:r.displayMode,darkMode:v,newLayout:d},w=()=>{o.current&&removeEventListener("beforeunload",o.current),r.onSave(n)};return cr.changeLanguage(r.questionnaireJson.language),Me.useEffect(()=>{if(r.unsavedResponseWarning)return o.current=B=>{n.valueHasChanged()&&(B.returnValue=r.unsavedResponseWarning)},addEventListener("beforeunload",o.current),()=>{o.current&&removeEventListener("beforeunload",o.current)}},[r.unsavedResponseWarning]),z.jsxs(o0.qubyRoot,{children:[z.jsx("style",{children:d?s0:l0}),z.jsx(wh,{questionnaire:n.questionnaire,response:n,displayOptions:x,onSave:w,allowSkipValidation:r.allowSkipValidation})]})};gt.AnswerGroupMaximumValidator=Vp,gt.AnswerGroupMinimumValidator=Up,gt.AnswerPage=wh,gt.BaseValidator=hi,gt.CurliesInterpolator=eh,gt.DatePartsAnswerSchema=Zp,gt.DatePartsComponentSchema=Ep,gt.FlagsSchema=Yp,gt.InterpolateCurliesContext=Go,gt.MaximumCheckedAllowedValidator=zp,gt.MaximumDateValidator=Np,gt.MaximumValidator=Lp,gt.MinimumCheckedRequiredValidator=jp,gt.MinimumDateValidator=Bp,gt.MinimumValidator=Dp,gt.MultiSelectAnswerSchema=Gp,gt.NumberAnswerSchema=Hp,gt.Quby=u0,gt.QubyContext=Kd,gt.Questionnaire=Wd,gt.RegexpValidator=Wp,gt.RequiresAnswerValidator=Ap,gt.Response=Yd,gt.ResponseParseError=Jd,gt.StringAnswerSchema=$p,gt.TextvarsSchema=Kp,gt.ValidDateValidator=Mp,gt.ValidFloatValidator=Pp,gt.ValidIntegerValidator=Fp,gt.buildValidator=Ip,gt.convertDefaultAndValidateResponseJson=Xp,gt.ignorableErrors=Rp,Object.defineProperty(gt,Symbol.toStringTag,{value:"Module"})});
191
+ */var Tf,Hh;function g0(){if(Hh)return Tf;Hh=1;var r=Object.getOwnPropertySymbols,e=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;function a(c){if(c==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(c)}function o(){try{if(!Object.assign)return!1;var c=new String("abc");if(c[5]="de",Object.getOwnPropertyNames(c)[0]==="5")return!1;for(var g={},y=0;y<10;y++)g["_"+String.fromCharCode(y)]=y;var w=Object.getOwnPropertyNames(g).map(function(L){return g[L]});if(w.join("")!=="0123456789")return!1;var E={};return"abcdefghijklmnopqrst".split("").forEach(function(L){E[L]=L}),Object.keys(Object.assign({},E)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return Tf=o()?Object.assign:function(c,g){for(var y,w=a(c),E,L=1;L<arguments.length;L++){y=Object(arguments[L]);for(var P in y)e.call(y,P)&&(w[P]=y[P]);if(r){E=r(y);for(var W=0;W<E.length;W++)n.call(y,E[W])&&(w[E[W]]=y[E[W]])}}return w},Tf}var Rf,$h;function If(){if($h)return Rf;$h=1;var r="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return Rf=r,Rf}var Af,Gh;function Zh(){return Gh||(Gh=1,Af=Function.call.bind(Object.prototype.hasOwnProperty)),Af}var Of,Yh;function m0(){if(Yh)return Of;Yh=1;var r=function(){};if(process.env.NODE_ENV!=="production"){var e=If(),n={},a=Zh();r=function(c){var g="Warning: "+c;typeof console<"u"&&console.error(g);try{throw new Error(g)}catch{}}}function o(c,g,y,w,E){if(process.env.NODE_ENV!=="production"){for(var L in c)if(a(c,L)){var P;try{if(typeof c[L]!="function"){var W=Error((w||"React class")+": "+y+" type `"+L+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof c[L]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw W.name="Invariant Violation",W}P=c[L](g,L,w,y,null,e)}catch(ae){P=ae}if(P&&!(P instanceof Error)&&r((w||"React class")+": type specification of "+y+" `"+L+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof P+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),P instanceof Error&&!(P.message in n)){n[P.message]=!0;var se=E?E():"";r("Failed "+y+" type: "+P.message+(se??""))}}}}return o.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(n={})},Of=o,Of}var Mf,Kh;function v0(){if(Kh)return Mf;Kh=1;var r=Wh(),e=g0(),n=If(),a=Zh(),o=m0(),c=function(){};process.env.NODE_ENV!=="production"&&(c=function(y){var w="Warning: "+y;typeof console<"u"&&console.error(w);try{throw new Error(w)}catch{}});function g(){return null}return Mf=function(y,w){var E=typeof Symbol=="function"&&Symbol.iterator,L="@@iterator";function P(le){var ue=le&&(E&&le[E]||le[L]);if(typeof ue=="function")return ue}var W="<<anonymous>>",se={array:Z("array"),bigint:Z("bigint"),bool:Z("boolean"),func:Z("function"),number:Z("number"),object:Z("object"),string:Z("string"),symbol:Z("symbol"),any:be(),arrayOf:fe,element:de(),elementType:ee(),instanceOf:Te,node:Pt(),objectOf:Lt,oneOf:Ie,oneOfType:it,shape:ge,exact:we};function ae(le,ue){return le===ue?le!==0||1/le===1/ue:le!==le&&ue!==ue}function ke(le,ue){this.message=le,this.data=ue&&typeof ue=="object"?ue:{},this.stack=""}ke.prototype=Error.prototype;function G(le){if(process.env.NODE_ENV!=="production")var ue={},Me=0;function He(Ae,Oe,Ke,Qe,Xe,tt,yt){if(Qe=Qe||W,tt=tt||Ke,yt!==n){if(w){var Ee=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 Ee.name="Invariant Violation",Ee}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var Ct=Qe+":"+Ke;!ue[Ct]&&Me<3&&(c("You are manually calling a React.PropTypes validation function for the `"+tt+"` prop on `"+Qe+"`. 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."),ue[Ct]=!0,Me++)}}return Oe[Ke]==null?Ae?Oe[Ke]===null?new ke("The "+Xe+" `"+tt+"` is marked as required "+("in `"+Qe+"`, but its value is `null`.")):new ke("The "+Xe+" `"+tt+"` is marked as required in "+("`"+Qe+"`, but its value is `undefined`.")):null:le(Oe,Ke,Qe,Xe,tt)}var ze=He.bind(null,!1);return ze.isRequired=He.bind(null,!0),ze}function Z(le){function ue(Me,He,ze,Ae,Oe,Ke){var Qe=Me[He],Xe=Ze(Qe);if(Xe!==le){var tt=Ne(Qe);return new ke("Invalid "+Ae+" `"+Oe+"` of type "+("`"+tt+"` supplied to `"+ze+"`, expected ")+("`"+le+"`."),{expectedType:le})}return null}return G(ue)}function be(){return G(g)}function fe(le){function ue(Me,He,ze,Ae,Oe){if(typeof le!="function")return new ke("Property `"+Oe+"` of component `"+ze+"` has invalid PropType notation inside arrayOf.");var Ke=Me[He];if(!Array.isArray(Ke)){var Qe=Ze(Ke);return new ke("Invalid "+Ae+" `"+Oe+"` of type "+("`"+Qe+"` supplied to `"+ze+"`, expected an array."))}for(var Xe=0;Xe<Ke.length;Xe++){var tt=le(Ke,Xe,ze,Ae,Oe+"["+Xe+"]",n);if(tt instanceof Error)return tt}return null}return G(ue)}function de(){function le(ue,Me,He,ze,Ae){var Oe=ue[Me];if(!y(Oe)){var Ke=Ze(Oe);return new ke("Invalid "+ze+" `"+Ae+"` of type "+("`"+Ke+"` supplied to `"+He+"`, expected a single ReactElement."))}return null}return G(le)}function ee(){function le(ue,Me,He,ze,Ae){var Oe=ue[Me];if(!r.isValidElementType(Oe)){var Ke=Ze(Oe);return new ke("Invalid "+ze+" `"+Ae+"` of type "+("`"+Ke+"` supplied to `"+He+"`, expected a single ReactElement type."))}return null}return G(le)}function Te(le){function ue(Me,He,ze,Ae,Oe){if(!(Me[He]instanceof le)){var Ke=le.name||W,Qe=We(Me[He]);return new ke("Invalid "+Ae+" `"+Oe+"` of type "+("`"+Qe+"` supplied to `"+ze+"`, expected ")+("instance of `"+Ke+"`."))}return null}return G(ue)}function Ie(le){if(!Array.isArray(le))return process.env.NODE_ENV!=="production"&&(arguments.length>1?c("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])."):c("Invalid argument supplied to oneOf, expected an array.")),g;function ue(Me,He,ze,Ae,Oe){for(var Ke=Me[He],Qe=0;Qe<le.length;Qe++)if(ae(Ke,le[Qe]))return null;var Xe=JSON.stringify(le,function(yt,Ee){var Ct=Ne(Ee);return Ct==="symbol"?String(Ee):Ee});return new ke("Invalid "+Ae+" `"+Oe+"` of value `"+String(Ke)+"` "+("supplied to `"+ze+"`, expected one of "+Xe+"."))}return G(ue)}function Lt(le){function ue(Me,He,ze,Ae,Oe){if(typeof le!="function")return new ke("Property `"+Oe+"` of component `"+ze+"` has invalid PropType notation inside objectOf.");var Ke=Me[He],Qe=Ze(Ke);if(Qe!=="object")return new ke("Invalid "+Ae+" `"+Oe+"` of type "+("`"+Qe+"` supplied to `"+ze+"`, expected an object."));for(var Xe in Ke)if(a(Ke,Xe)){var tt=le(Ke,Xe,ze,Ae,Oe+"."+Xe,n);if(tt instanceof Error)return tt}return null}return G(ue)}function it(le){if(!Array.isArray(le))return process.env.NODE_ENV!=="production"&&c("Invalid argument supplied to oneOfType, expected an instance of array."),g;for(var ue=0;ue<le.length;ue++){var Me=le[ue];if(typeof Me!="function")return c("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+De(Me)+" at index "+ue+"."),g}function He(ze,Ae,Oe,Ke,Qe){for(var Xe=[],tt=0;tt<le.length;tt++){var yt=le[tt],Ee=yt(ze,Ae,Oe,Ke,Qe,n);if(Ee==null)return null;Ee.data&&a(Ee.data,"expectedType")&&Xe.push(Ee.data.expectedType)}var Ct=Xe.length>0?", expected one of type ["+Xe.join(", ")+"]":"";return new ke("Invalid "+Ke+" `"+Qe+"` supplied to "+("`"+Oe+"`"+Ct+"."))}return G(He)}function Pt(){function le(ue,Me,He,ze,Ae){return _e(ue[Me])?null:new ke("Invalid "+ze+" `"+Ae+"` supplied to "+("`"+He+"`, expected a ReactNode."))}return G(le)}function Vt(le,ue,Me,He,ze){return new ke((le||"React class")+": "+ue+" type `"+Me+"."+He+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+ze+"`.")}function ge(le){function ue(Me,He,ze,Ae,Oe){var Ke=Me[He],Qe=Ze(Ke);if(Qe!=="object")return new ke("Invalid "+Ae+" `"+Oe+"` of type `"+Qe+"` "+("supplied to `"+ze+"`, expected `object`."));for(var Xe in le){var tt=le[Xe];if(typeof tt!="function")return Vt(ze,Ae,Oe,Xe,Ne(tt));var yt=tt(Ke,Xe,ze,Ae,Oe+"."+Xe,n);if(yt)return yt}return null}return G(ue)}function we(le){function ue(Me,He,ze,Ae,Oe){var Ke=Me[He],Qe=Ze(Ke);if(Qe!=="object")return new ke("Invalid "+Ae+" `"+Oe+"` of type `"+Qe+"` "+("supplied to `"+ze+"`, expected `object`."));var Xe=e({},Me[He],le);for(var tt in Xe){var yt=le[tt];if(a(le,tt)&&typeof yt!="function")return Vt(ze,Ae,Oe,tt,Ne(yt));if(!yt)return new ke("Invalid "+Ae+" `"+Oe+"` key `"+tt+"` supplied to `"+ze+"`.\nBad object: "+JSON.stringify(Me[He],null," ")+`
192
+ Valid keys: `+JSON.stringify(Object.keys(le),null," "));var Ee=yt(Ke,tt,ze,Ae,Oe+"."+tt,n);if(Ee)return Ee}return null}return G(ue)}function _e(le){switch(typeof le){case"number":case"string":case"undefined":return!0;case"boolean":return!le;case"object":if(Array.isArray(le))return le.every(_e);if(le===null||y(le))return!0;var ue=P(le);if(ue){var Me=ue.call(le),He;if(ue!==le.entries){for(;!(He=Me.next()).done;)if(!_e(He.value))return!1}else for(;!(He=Me.next()).done;){var ze=He.value;if(ze&&!_e(ze[1]))return!1}}else return!1;return!0;default:return!1}}function Ye(le,ue){return le==="symbol"?!0:ue?ue["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&ue instanceof Symbol:!1}function Ze(le){var ue=typeof le;return Array.isArray(le)?"array":le instanceof RegExp?"object":Ye(ue,le)?"symbol":ue}function Ne(le){if(typeof le>"u"||le===null)return""+le;var ue=Ze(le);if(ue==="object"){if(le instanceof Date)return"date";if(le instanceof RegExp)return"regexp"}return ue}function De(le){var ue=Ne(le);switch(ue){case"array":case"object":return"an "+ue;case"boolean":case"date":case"regexp":return"a "+ue;default:return ue}}function We(le){return!le.constructor||!le.constructor.name?W:le.constructor.name}return se.checkPropTypes=o,se.resetWarningCache=o.resetWarningCache,se.PropTypes=se,se},Mf}var Pf,Jh;function b0(){if(Jh)return Pf;Jh=1;var r=If();function e(){}function n(){}return n.resetWarningCache=e,Pf=function(){function a(g,y,w,E,L,P){if(P!==r){var W=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 W.name="Invariant Violation",W}}a.isRequired=a;function o(){return a}var c={array:a,bigint:a,bool:a,func:a,number:a,object:a,string:a,symbol:a,any:a,arrayOf:o,element:a,elementType:a,instanceOf:o,node:a,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:n,resetWarningCache:e};return c.PropTypes=c,c},Pf}if(process.env.NODE_ENV!=="production"){var y0=Wh(),w0=!0;Cf.exports=v0()(y0.isElement,w0)}else Cf.exports=b0()();var x0=Cf.exports;const La=xp(x0);var S0=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Qh(r,e){return r(e={exports:{}},e.exports),e.exports}var k0=Qh(function(r){(function(e){var n=function(G,Z,be){if(!w(Z)||L(Z)||P(Z)||W(Z)||y(Z))return Z;var fe,de=0,ee=0;if(E(Z))for(fe=[],ee=Z.length;de<ee;de++)fe.push(n(G,Z[de],be));else for(var Te in fe={},Z)Object.prototype.hasOwnProperty.call(Z,Te)&&(fe[G(Te,be)]=n(G,Z[Te],be));return fe},a=function(G){return se(G)?G:(G=G.replace(/[\-_\s]+(.)?/g,function(Z,be){return be?be.toUpperCase():""})).substr(0,1).toLowerCase()+G.substr(1)},o=function(G){var Z=a(G);return Z.substr(0,1).toUpperCase()+Z.substr(1)},c=function(G,Z){return function(be,fe){var de=(fe=fe||{}).separator||"_",ee=fe.split||/(?=[A-Z])/;return be.split(ee).join(de)}(G,Z).toLowerCase()},g=Object.prototype.toString,y=function(G){return typeof G=="function"},w=function(G){return G===Object(G)},E=function(G){return g.call(G)=="[object Array]"},L=function(G){return g.call(G)=="[object Date]"},P=function(G){return g.call(G)=="[object RegExp]"},W=function(G){return g.call(G)=="[object Boolean]"},se=function(G){return(G-=0)==G},ae=function(G,Z){var be=Z&&"process"in Z?Z.process:Z;return typeof be!="function"?G:function(fe,de){return be(fe,G,de)}},ke={camelize:a,decamelize:c,pascalize:o,depascalize:c,camelizeKeys:function(G,Z){return n(ae(a,Z),G)},decamelizeKeys:function(G,Z){return n(ae(c,Z),G,Z)},pascalizeKeys:function(G,Z){return n(ae(o,Z),G)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};r.exports?r.exports=ke:e.humps=ke})(S0)}).decamelize,_0=function(r){if(Array.isArray(r))return r},E0=function(r,e){if(typeof Symbol<"u"&&Symbol.iterator in Object(r)){var n=[],a=!0,o=!1,c=void 0;try{for(var g,y=r[Symbol.iterator]();!(a=(g=y.next()).done)&&(n.push(g.value),!e||n.length!==e);a=!0);}catch(w){o=!0,c=w}finally{try{a||y.return==null||y.return()}finally{if(o)throw c}}return n}},Xh=function(r,e){(e==null||e>r.length)&&(e=r.length);for(var n=0,a=new Array(e);n<e;n++)a[n]=r[n];return a},C0=function(r,e){if(r){if(typeof r=="string")return Xh(r,e);var n=Object.prototype.toString.call(r).slice(8,-1);return n==="Object"&&r.constructor&&(n=r.constructor.name),n==="Map"||n==="Set"?Array.from(r):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Xh(r,e):void 0}},T0=function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
193
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)},R0=function(r,e){return _0(r)||E0(r,e)||C0(r,e)||T0()},qh=Qh(function(r){function e(){return r.exports=e=Object.assign||function(n){for(var a=1;a<arguments.length;a++){var o=arguments[a];for(var c in o)Object.prototype.hasOwnProperty.call(o,c)&&(n[c]=o[c])}return n},e.apply(this,arguments)}r.exports=e}),I0=function(r,e){if(r==null)return{};var n,a,o={},c=Object.keys(r);for(a=0;a<c.length;a++)n=c[a],e.indexOf(n)>=0||(o[n]=r[n]);return o},eg=function(r,e){if(r==null)return{};var n,a,o=I0(r,e);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(r);for(a=0;a<c.length;a++)n=c[a],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(r,n)&&(o[n]=r[n])}return o},A0=Pe.createContext(null);function tg(r){var e=r.children,n=e===void 0?"":e,a=eg(r,["children"]);return typeof n!="string"&&(n=f0(n)),Pe.createElement("template",qh({},a,{dangerouslySetInnerHTML:{__html:n}}))}function ng(r){var e=r.root,n=r.children;return Cl.createPortal(n===void 0?null:n,e)}function O0(r){var e=Pe.forwardRef(function(n,a){var o,c,g=n.mode,y=g===void 0?"open":g,w=n.delegatesFocus,E=w!==void 0&&w,L=n.styleSheets,P=L===void 0?[]:L,W=n.ssr,se=W!==void 0&&W,ae=n.children,ke=eg(n,["mode","delegatesFocus","styleSheets","ssr","children"]),G=(c=Pe.useRef((o=a)&&o.current),Pe.useEffect(function(){o&&(o.current=c.current)},[o]),c),Z=Pe.useState(null),be=R0(Z,2),fe=be[0],de=be[1],ee="node_".concat(y).concat(E);return Pe.useLayoutEffect(function(){if(G.current)try{if(typeof a=="function"&&a(G.current),se){var Te=G.current.shadowRoot;return void de(Te)}var Ie=G.current.attachShadow({mode:y,delegatesFocus:E});P.length>0&&(Ie.adoptedStyleSheets=P),de(Ie)}catch(Lt){(function(it){var Pt=it.error,Vt=it.styleSheets,ge=it.root;switch(Pt.name){case"NotSupportedError":Vt.length>0&&(ge.adoptedStyleSheets=Vt);break;default:throw Pt}})({error:Lt,styleSheets:P,root:fe})}},[a,G,P]),Pe.createElement(Pe.Fragment,null,Pe.createElement(r.tag,qh({key:ee,ref:G},ke),(fe||se)&&Pe.createElement(A0.Provider,{value:fe},se?Pe.createElement(tg,{shadowroot:y,shadowrootmode:y},r.render({root:fe,ssr:se,children:ae})):Pe.createElement(ng,{root:fe},r.render({root:fe,ssr:se,children:ae})))))});return e.propTypes={mode:La.oneOf(["open","closed"]),delegatesFocus:La.bool,styleSheets:La.arrayOf(La.instanceOf(globalThis.CSSStyleSheet)),ssr:La.bool,children:La.node},e}tg.propTypes={children:La.oneOfType([La.string,La.node])},ng.propTypes={root:La.object.isRequired,children:La.node};var Ff=new Map;function M0(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"core",n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(a){return a.children};return new Proxy(r,{get:function(a,o){var c=k0(o,{separator:"-"}),g="".concat(e,"-").concat(c);return Ff.has(g)||Ff.set(g,O0({tag:c,render:n})),Ff.get(g)}})}var P0=M0();const F0=`*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}em{font-style:italic;font-weight:400}strong{font-weight:700}em.clean{font-style:inherit}strong.clean{font-weight:600}.underline{text-decoration:underline}.de-em{font-weight:200}.de-em em{font-weight:300}.de-em strong{font-weight:500}a{color:oklch(var(--primary));text-decoration:underline}.serif{font-family:Georgia,serif}small{font-size:.8rem}.text-center img,.text-center svg{margin-left:auto;margin-right:auto}h1,h2,h3,h4{font-weight:600}h1 em,h2 em,h3 em,h4 em{font-weight:700}h1 strong,h2 strong,h3 strong,h4 strong{font-weight:900}h1,h2,h3,h4{margin:1.5rem 0 1rem}h1{font-size:1.75rem;margin:1.5rem 0 2rem}h2{font-size:1.5rem}h3{font-size:1.25rem}h4{font-size:1rem}:host{--page: 1 0 0;--background: 1 0 0;--foreground: .21 .04 266;--foreground-80: .38 .04 266;--foreground-60: .55 .04 266;--muted: var(--foreground-60);--primary: .454 .135 254;--primary-hover: .5 .16 254;--primary-inv: var(--background);--slider-track: .91 0 0;--info-block-bg: .87 .055 223;--info-block-fg: var(--foreground);--panel-padding: 1rem;--default-radius: .25rem;--checkradio-size: 1rem;--question-padding: 2rem;--active-bar-padding: 8px;--list-indent: 1.5rem;--option-gap-y: 0;--question-mb-factor: 1;--max-page-width: 75rem}@media (min-width: 800px){:host{--panel-padding: 2rem;--active-bar-padding: 10px}}.dark{--page: .186 .031 272;--background: 0 0 0;--foreground: 1 0 0;--foreground-80: .8 0 0;--foreground-60: .6 0 0;--foreground-40: .4 0 0;--muted: var(--foreground-60);--primary: .68 .16 254;--primary-hover: .5 .16 254;--primary-inv: var(--foreground);--slider-track: .23 0 197;--info-block-bg: .4342 .052 233;--info-block-fg: var(--foreground)}:host{all:initial;display:block;position:relative;line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;font-weight:300}input:not([type=checkbox]):not([type=radio]),textarea,select{border-width:1px;padding:.4rem;border-radius:var(--default-radius);border-color:oklch(var(--foreground));background-color:oklch(var(--background));color:var(--foreground)}input:not([type=checkbox]):not([type=radio]):disabled,textarea:disabled,select:disabled{color:oklch(var(--foreground-60));border-color:oklch(var(--foreground-60));cursor:not-allowed}input[type=checkbox],input[type=radio]{width:var(--checkradio-size);height:var(--checkradio-size);vertical-align:middle;position:relative;bottom:.125rem}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.progress-bar{margin:var(--panel-padding)}.progress-bar .progress-wrapper .progress-slider{background-position:0 4px;display:inline-block;height:12px;border:1px solid #ccc;border-radius:6px;padding:1px}.panel .progress-bar .progress-wrapper{text-align:center}.progress-bar .progress-stop{height:8px;line-height:8px;width:6px;background:none;font-size:6px;text-indent:-1234em;display:block;float:left}.progress-bar .progress-stop.first-child{width:8px;border-radius:5px 0 0 5px}.progress-bar .progress-stop.last-child{width:8px;border-radius:0 5px 5px 0}.progress-bar .progress-stop.active{background:oklch(var(--muted))}.progress-bar .progress-stop.current{border-radius:0 5px 5px 0}.progress-bar .progress-stop.current.first-child{border-radius:5px}.progress-bar .progress-details{color:has(var(--muted));font-size:9px}.prose p{margin:0 0 1rem}.prose>*:first-child{margin-top:0}.prose>*:last-child{margin-bottom:0}.prose ul{list-style-type:disc;margin:0 0 1rem var(--list-indent)}.prose ol{list-style-type:lower-alpha;margin:0 0 1rem var(--list-indent)}.prose li{padding-left:.5rem}.prose hr{margin:var(--question-padding) 1rem;border:none;height:.125rem;background-color:oklch(var(--muted))}.prose hr.compact{margin:1rem}blockquote{margin:1em 2em}blockquote>*{font-style:italic}blockquote>p:before,blockquote>p:last-child:after,blockquote>ul:before,blockquote>ul:last-child>li:last-child:after{content:"“";font-family:Georgia;font-size:2.5rem;margin:-.8rem 0 0 -1.1rem;position:absolute;color:#666}blockquote>ul:before{margin-left:calc(-1.1rem - var(--list-indent))}blockquote>p:last-child:after,blockquote>ul:last-child>li:last-child:after{content:"”";margin:0 0 0 -.1rem}blockquote.blue-quotes p:before,blockquote.blue-quotes p:last-child:after{color:#298ed5}.visible{visibility:visible}.absolute{position:absolute}.sticky{position:sticky}.order-last{order:9999}.m-panel-padding{margin:var(--panel-padding)}.mx-1{margin-left:.25rem;margin-right:.25rem}.my-1{margin-top:.25rem;margin-bottom:.25rem}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mr-1{margin-right:.25rem}.mt-1{margin-top:.25rem}.mt-3{margin-top:.75rem}.block{display:block}.inline{display:inline}.flex{display:flex}.table{display:table}.hidden{display:none}.w-1\\/2{width:50%}.w-1\\/3{width:33.333333%}.w-1\\/4{width:25%}.w-1\\/5{width:20%}.w-1\\/6{width:16.666667%}.w-2\\/3{width:66.666667%}.w-2\\/5{width:40%}.w-3\\/4{width:75%}.w-3\\/5{width:60%}.w-4\\/5{width:80%}.w-5\\/6{width:83.333333%}.w-full{width:100%}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.resize{resize:both}.list-decimal{list-style-type:decimal}.justify-between{justify-content:space-between}.rounded{border-radius:.25rem}.border{border-width:1px}.border-2{border-width:2px}.border-warning{--tw-border-opacity: 1;border-color:rgb(255 165 0 / var(--tw-border-opacity))}.bg-slate-100{--tw-bg-opacity: 1;background-color:rgb(241 245 249 / var(--tw-bg-opacity))}.p-panel-padding{padding:var(--panel-padding)}.text-center{text-align:center}.align-top{vertical-align:top}.text-lg{font-size:1.125rem;line-height:1.75rem}.font-light{font-weight:200}.font-medium{font-weight:400}.underline{text-decoration-line:underline}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}:host>div{background-color:oklch(var(--page));color:oklch(var(--foreground));min-height:100cqh}:host>div>*{max-width:var(--max-page-width);margin:0 auto}.panel+.panel{margin-top:5rem}.option .labelwrapper p{display:inline}.item.active,.item:has(.active){box-shadow:calc(-1 * var(--active-bar-padding)) 0 0 0 oklch(var(--background)),calc(-4px - var(--active-bar-padding)) 0 0 0 oklch(var(--primary))}.item .main{font-weight:600}.item .main em{font-weight:700}.item .main strong{font-weight:900}.item .inner-title{margin:1rem 0 .5rem;font-weight:500}.item .inner-title em{font-weight:600}.item .inner-title strong{font-weight:700}.item .description-and-fields>.description{font-weight:200}.item .description-and-fields>.description em{font-weight:300}.item .description-and-fields>.description strong{font-weight:500}.item .description-and-fields>.description{margin-bottom:.5rem}.item .description-and-fields>.description .instruction{font-weight:300}button{border-radius:.375rem;padding:.5rem 1rem;font-weight:500}button:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}button.secondary{border-width:2px;border-color:oklch(var(--primary));background-color:oklch(var(--background));color:oklch(var(--primary))}button.secondary:hover{border-color:oklch(var(--primary-hover));color:oklch(var(--primary-hover))}button.primary{background-color:oklch(var(--primary));color:oklch(var(--background))}button.primary:hover{background-color:oklch(var(--primary-hover))}.info-item{--icon-size: 20px;--icon-margin: 8px}.info-item .info-html{padding:.5rem;margin-bottom:var(--question-padding);background-color:oklch(var(--info-block-bg));color:oklch(var(--info-block-fg));z-index:1;padding-right:calc(var(--icon-size) + 2 * var(--icon-margin))}.info-item .info-html.open{position:sticky;top:0}.info-item .info-html>div{transform-origin:center top;transition:inherit}.info-item .info-html.opening{height:0;margin-bottom:0}.info-item .info-html.opening>div{transform:scaleY(0)}.info-item .info-html{transition:all .3s linear;interpolate-size:allow-keywords}.info-item .info-icon{position:relative;z-index:2;float:right;top:0;background-color:oklch(var(--info-block-bg));transition:margin .5s}.info-item .info-icon.stuck{position:sticky;margin-right:calc(-1 * var(--panel-padding))}.info-item .info-icon:hover{cursor:pointer}.info-item .info-icon svg{width:var(--icon-size);height:var(--icon-size);margin:var(--icon-margin)}.item.radio .option,.item.check_box .option{display:flex;flex-wrap:wrap}.item.radio .option .radiocheckwrapper,.item.check_box .option .radiocheckwrapper{flex:0 0 var(--checkradio-size)}.item.radio .option .value,.item.check_box .option .value{flex:0 0 2rem;text-align:right}.item.radio .option .labelwrapper,.item.check_box .option .labelwrapper{flex:1 1 0;padding-left:.75rem}.item.radio .option .subquestions,.item.check_box .option .subquestions{width:100%}.item.radio .option+.option,.item.check_box .option+.option{margin-top:calc(var(--option-gap-y) * .25rem)}.subquestions{margin-left:calc(var(--active-bar-padding) + var(--checkradio-size)/2 + 2px)}.item,.context-description{margin-bottom:calc(var(--question-padding) * var(--question-mb-factor))}.subquestions .item{margin-bottom:0}.item:not(.radio):not(.check_box) .description-and-fields{padding-bottom:.5em}.item.errors{outline:1px solid red;border-radius:calc(var(--default-radius) + .5rem);margin-left:-.5em;margin-right:-.5em;padding:.5rem .5rem 0;--active-bar-padding: 1px}.item.errors .error{background:#ffbbbb;color:#222;outline:1px solid #ff3333;border-radius:var(--default-radius);margin:.25rem;padding:.25rem}footer{font-weight:200}footer em{font-weight:300}footer strong{font-weight:500}footer{font-size:.875rem;padding:var(--panel-padding);color:oklch(var(--foreground-80))}:is(.dark .dark\\:bg-slate-700){--tw-bg-opacity: 1;background-color:rgb(51 65 85 / var(--tw-bg-opacity))}
194
+ `,D0=`:host{--background: 0 0% 100%}.item.date_parts .mr-1{margin-right:.125rem}.item.date_parts .mb-2{margin-bottom:.25rem}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font:inherit;font-size:100%;vertical-align:baseline}html{line-height:1}ol,ul{list-style:none}table{border-collapse:collapse;border-spacing:0}caption,th,td{text-align:left;font-weight:400;vertical-align:middle}q,blockquote{quotes:none}q:before,q:after,blockquote:before,blockquote:after{content:"";content:none}a img{border:none}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}#modalFrameDialog{padding:0}#modalFrame{width:100%;height:99%}.x_container{display:none}sup,sub{font-size:.8em!important;position:relative;line-height:0}sup{top:-.4em}sub{bottom:-.25em}html{overflow-x:hidden}body{font-family:Verdana,sans-serif;font-size:.8em;line-height:normal;background-color:#eee;max-width:100%;overflow-x:hidden;position:relative}.panel-action-links{text-align:right;margin-bottom:1em}.panel-action-link{margin-left:1em}#mastfoot{margin:0 auto;max-width:900px;text-align:right;color:#aaa}#mastfoot:before{content:"—"}#mastfoot:after{content:"—"}#noscript-warning{position:fixed;top:0;left:0;width:100%;background:yellow;border:4px solid red;color:red;font-size:1.5em;text-align:center}.nowrap{white-space:nowrap}select{width:100%}i{font-style:italic!important}em{font-weight:700}#content{margin-bottom:4em}#content input[disabled]{background-color:#ddd}#content .flash{max-width:59em;_width:59em;padding-left:1em;padding-right:1em;margin-left:auto;margin-right:auto;margin-bottom:1em}#content .flash:after{content:"";display:table;clear:both}#content .flash div{padding:5px;background:#333333;border:1px solid black}#content .flash .error{background:#ffbbbb;border:1px solid #ff3333}#content .flash .notice{background:#ffffcc;border:1px solid #ffcc66}#content .flash .success{background-color:#cfc;border:1px solid #11cc11}#content #force-submit{background:#ffffcc;border:1px solid #ffcc66;padding:3em;font-size:1.2em;margin-bottom:5em}#content #force-submit h1{font-weight:700;margin-bottom:1em}#content #force-submit p{margin-bottom:1em}#content .specifier{margin:0!important}#content .specifier.errors{width:auto!important;float:left}.evenRow{background-color:#eee}.hotkeyDialog p{margin:1em 0}.hotkeyDialog td{border:0px}table{width:100%;border-collapse:collapse;margin-bottom:1.5em}table thead tr th{background:black;color:#fff;padding:5px}table tr.even{background:#e9e9e9}table td{padding:5px;border:1px solid #cecece;vertical-align:top}.ui-dialog-buttonpane{overflow:hidden!important}pre{font-family:Deja Vu Sans Mono,Courier New,Courier,monospace}.question{background:#e5e5e5;margin:2em;padding:2em}label.placeholder{cursor:text;padding:4px;color:#999}input::-webkit-input-placeholder,textarea::-webkit-input-placeholder{color:#999}input:placeholder,textarea:placeholder{color:#999}.focus{background:#cce8ed!important}.print{width:83.05085%;float:left;margin-right:1.69492%;display:inline;margin-top:2em}.print a{color:#00f;text-decoration:underline}.error .stacktrace{color:#777;white-space:pre-line}html.busy,html.busy *{cursor:wait!important}.hidden,.paged .noVisibleQuestions,.single-page .noVisibleQuestions{display:none}.paged .hide,.single-page .hide{margin:0!important;outline:none!important}.paged .hide>*,.single-page .hide>*{display:none!important}.paged .panel,.single-page .panel{background:white}.paged .panel,.single-page .panel{max-width:59em;_width:59em;padding-left:1em;padding-right:1em;margin-left:auto;margin-right:auto;padding-top:20px}.paged .panel:after,.single-page .panel:after{content:"";display:table;clear:both}.paged .panel .table div,.single-page .panel .table div,.paged .panel .table span,.single-page .panel .table span,.paged .panel .table applet,.single-page .panel .table applet,.paged .panel .table object,.single-page .panel .table object,.paged .panel .table iframe,.single-page .panel .table iframe,.paged .panel .table h1,.single-page .panel .table h1,.paged .panel .table h2,.single-page .panel .table h2,.paged .panel .table h3,.single-page .panel .table h3,.paged .panel .table h4,.single-page .panel .table h4,.paged .panel .table h5,.single-page .panel .table h5,.paged .panel .table h6,.single-page .panel .table h6,.paged .panel .table p,.single-page .panel .table p,.paged .panel .table blockquote,.single-page .panel .table blockquote,.paged .panel .table pre,.single-page .panel .table pre,.paged .panel .table a,.single-page .panel .table a,.paged .panel .table abbr,.single-page .panel .table abbr,.paged .panel .table acronym,.single-page .panel .table acronym,.paged .panel .table address,.single-page .panel .table address,.paged .panel .table big,.single-page .panel .table big,.paged .panel .table cite,.single-page .panel .table cite,.paged .panel .table code,.single-page .panel .table code,.paged .panel .table del,.single-page .panel .table del,.paged .panel .table dfn,.single-page .panel .table dfn,.paged .panel .table em,.single-page .panel .table em,.paged .panel .table img,.single-page .panel .table img,.paged .panel .table ins,.single-page .panel .table ins,.paged .panel .table kbd,.single-page .panel .table kbd,.paged .panel .table q,.single-page .panel .table q,.paged .panel .table s,.single-page .panel .table s,.paged .panel .table samp,.single-page .panel .table samp,.paged .panel .table small,.single-page .panel .table small,.paged .panel .table strike,.single-page .panel .table strike,.paged .panel .table strong,.single-page .panel .table strong,.paged .panel .table sub,.single-page .panel .table sub,.paged .panel .table sup,.single-page .panel .table sup,.paged .panel .table tt,.single-page .panel .table tt,.paged .panel .table var,.single-page .panel .table var,.paged .panel .table b,.single-page .panel .table b,.paged .panel .table u,.single-page .panel .table u,.paged .panel .table i,.single-page .panel .table i,.paged .panel .table center,.single-page .panel .table center,.paged .panel .table dl,.single-page .panel .table dl,.paged .panel .table dt,.single-page .panel .table dt,.paged .panel .table dd,.single-page .panel .table dd,.paged .panel .table ol,.single-page .panel .table ol,.paged .panel .table ul,.single-page .panel .table ul,.paged .panel .table li,.single-page .panel .table li,.paged .panel .table fieldset,.single-page .panel .table fieldset,.paged .panel .table form,.single-page .panel .table form,.paged .panel .table label,.single-page .panel .table label,.paged .panel .table legend,.single-page .panel .table legend,.paged .panel .table table,.single-page .panel .table table,.paged .panel .table caption,.single-page .panel .table caption,.paged .panel .table tbody,.single-page .panel .table tbody,.paged .panel .table tfoot,.single-page .panel .table tfoot,.paged .panel .table thead,.single-page .panel .table thead,.paged .panel .table tr,.single-page .panel .table tr,.paged .panel .table th,.single-page .panel .table th,.paged .panel .table td,.single-page .panel .table td,.paged .panel .table article,.single-page .panel .table article,.paged .panel .table aside,.single-page .panel .table aside,.paged .panel .table canvas,.single-page .panel .table canvas,.paged .panel .table details,.single-page .panel .table details,.paged .panel .table embed,.single-page .panel .table embed,.paged .panel .table figure,.single-page .panel .table figure,.paged .panel .table figcaption,.single-page .panel .table figcaption,.paged .panel .table footer,.single-page .panel .table footer,.paged .panel .table header,.single-page .panel .table header,.paged .panel .table hgroup,.single-page .panel .table hgroup,.paged .panel .table menu,.single-page .panel .table menu,.paged .panel .table nav,.single-page .panel .table nav,.paged .panel .table output,.single-page .panel .table output,.paged .panel .table ruby,.single-page .panel .table ruby,.paged .panel .table section,.single-page .panel .table section,.paged .panel .table summary,.single-page .panel .table summary,.paged .panel .table time,.single-page .panel .table time,.paged .panel .table mark,.single-page .panel .table mark,.paged .panel .table audio,.single-page .panel .table audio,.paged .panel .table video,.single-page .panel .table video{margin:0;padding:0;border:0;font:inherit;font-size:100%;vertical-align:baseline}.paged .panel .table table,.single-page .panel .table table{border-collapse:collapse;border-spacing:0}.paged .panel .table caption,.single-page .panel .table caption,.paged .panel .table th,.single-page .panel .table th,.paged .panel .table td,.single-page .panel .table td{text-align:left;font-weight:400;vertical-align:middle}.paged .panel .table q,.single-page .panel .table q,.paged .panel .table blockquote,.single-page .panel .table blockquote{quotes:none}.paged .panel .table q:before,.single-page .panel .table q:before,.paged .panel .table q:after,.single-page .panel .table q:after,.paged .panel .table blockquote:before,.single-page .panel .table blockquote:before,.paged .panel .table blockquote:after,.single-page .panel .table blockquote:after{content:"";content:none}.paged .panel .table a img,.single-page .panel .table a img{border:none}.paged .panel .table p,.single-page .panel .table p,.paged .panel .table div,.single-page .panel .table div{display:inline}.paged .panel .table caption,.single-page .panel .table caption{margin-bottom:.5em}.paged .panel .table .errors,.single-page .panel .table .errors{outline:2px solid red!important}.paged .panel .table .error,.single-page .panel .table .error{display:inline-block;background:#ffbbbb;outline:1px solid #ff3333}.paged .panel .table .error.hidden,.single-page .panel .table .error.hidden{display:none}.paged .panel .table table,.single-page .panel .table table{border-bottom:1px solid black;border-collapse:collapse;margin:0}.paged .panel .table table *,.single-page .panel .table table *{width:auto}.paged .panel .table table .option,.single-page .panel .table table .option{white-space:normal}.paged .panel .table table td>div>*,.single-page .panel .table table td>div>*{margin-top:.5em;margin-bottom:.5em}.paged .panel .table table .row,.single-page .panel .table table .row{width:100%;float:right;margin-right:0;display:inline;float:none;display:table-row}.paged .panel .table table .row td,.single-page .panel .table table .row td,.paged .panel .table table .row th,.single-page .panel .table table .row th{display:table-cell;border:0;border-bottom:1px solid #bbb;vertical-align:top;float:none}.paged .panel .table table .row td.main,.single-page .panel .table table .row td.main,.paged .panel .table table .row th.main,.single-page .panel .table table .row th.main{vertical-align:middle}.paged .panel .table table .row.inner_row td,.single-page .panel .table table .row.inner_row td{border:0}.paged .panel .table table .row:first-child td,.single-page .panel .table table .row:first-child td{border-top:1px solid #bbb}.paged .panel .table table .row input.float,.single-page .panel .table table .row input.float,.paged .panel .table table .row input.integer,.single-page .panel .table table .row input.integer{width:54px}.paged .panel .table table .row input.string,.single-page .panel .table table .row input.string,.paged .panel .table table .row input.textarea,.single-page .panel .table table .row input.textarea{width:92%}.paged .panel .table table .row input.sized,.single-page .panel .table table .row input.sized{width:auto}.paged .panel .table table .row input.fd-form-element-hidden,.single-page .panel .table table .row input.fd-form-element-hidden{display:none}.paged .panel .table table .row .unit,.single-page .panel .table table .row .unit{vertical-align:-20%;padding-left:4px}.paged .panel .table .item,.single-page .panel .table .item{float:none;width:auto;margin-right:auto;display:block}.paged .panel .table .main,.single-page .panel .table .main{width:33.33333%;float:none!important;display:table-cell!important}.paged .panel .table .main label small,.single-page .panel .table .main label small{font-size:.7em}.paged .panel .table .description,.single-page .panel .table .description{text-align:right}.paged .panel .table .option_sets .option,.single-page .panel .table .option_sets .option{padding-left:1em;padding-bottom:.5em;vertical-align:bottom}.paged .panel .table .dark,.single-page .panel .table .dark{background-color:#eee}.paged .panel .table .light,.single-page .panel .table .light{background-color:#fff}@media (max-width: 420px){.paged .horizontal.item.scale table,.single-page .horizontal.item.scale table{table-layout:fixed}.paged .horizontal.item.scale table td.last p,.single-page .horizontal.item.scale table td.last p{position:absolute;right:20px;max-width:5rem;text-align:right}}.paged tr,.single-page tr{border:1px solid #aaa}.paged .item,.single-page .item{width:100%;float:right;margin-right:0;display:inline;margin-bottom:18px}.paged .item.horizontal.radio .option,.single-page .item.horizontal.radio .option,.paged .item.horizontal.check_box .option,.single-page .item.horizontal.check_box .option,.paged .item.vertical.radio .option,.single-page .item.vertical.radio .option,.paged .item.vertical.check_box .option,.single-page .item.vertical.check_box .option{width:100%;float:right;margin-right:0;display:inline}.paged .item.horizontal.radio .option .radiocheckwrapper,.single-page .item.horizontal.radio .option .radiocheckwrapper,.paged .item.horizontal.check_box .option .radiocheckwrapper,.single-page .item.horizontal.check_box .option .radiocheckwrapper,.paged .item.vertical.radio .option .radiocheckwrapper,.single-page .item.vertical.radio .option .radiocheckwrapper,.paged .item.vertical.check_box .option .radiocheckwrapper,.single-page .item.vertical.check_box .option .radiocheckwrapper{width:6.77966%;float:left;margin-right:1.69492%;display:inline}.paged .item.horizontal.radio .option .labelwrapper,.single-page .item.horizontal.radio .option .labelwrapper,.paged .item.horizontal.check_box .option .labelwrapper,.single-page .item.horizontal.check_box .option .labelwrapper,.paged .item.vertical.radio .option .labelwrapper,.single-page .item.vertical.radio .option .labelwrapper,.paged .item.vertical.check_box .option .labelwrapper,.single-page .item.vertical.check_box .option .labelwrapper{width:91.52542%;float:right;margin-right:0;display:inline}.paged .item.horizontal.radio .option.show_values .value,.single-page .item.horizontal.radio .option.show_values .value,.paged .item.horizontal.check_box .option.show_values .value,.single-page .item.horizontal.check_box .option.show_values .value,.paged .item.vertical.radio .option.show_values .value,.single-page .item.vertical.radio .option.show_values .value,.paged .item.vertical.check_box .option.show_values .value,.single-page .item.vertical.check_box .option.show_values .value{width:6.77966%;float:left;margin-right:1.69492%;display:inline}.paged .item.horizontal.radio .option.show_values .labelwrapper,.single-page .item.horizontal.radio .option.show_values .labelwrapper,.paged .item.horizontal.check_box .option.show_values .labelwrapper,.single-page .item.horizontal.check_box .option.show_values .labelwrapper,.paged .item.vertical.radio .option.show_values .labelwrapper,.single-page .item.vertical.radio .option.show_values .labelwrapper,.paged .item.vertical.check_box .option.show_values .labelwrapper,.single-page .item.vertical.check_box .option.show_values .labelwrapper{width:83.05085%;float:right;margin-right:0;display:inline}.paged .item.horizontal.string input,.single-page .item.horizontal.string input,.paged .item.horizontal.string textarea,.single-page .item.horizontal.string textarea,.paged .item.horizontal.textarea input,.single-page .item.horizontal.textarea input,.paged .item.horizontal.textarea textarea,.single-page .item.horizontal.textarea textarea,.paged .item.vertical.string input,.single-page .item.vertical.string input,.paged .item.vertical.string textarea,.single-page .item.vertical.string textarea,.paged .item.vertical.textarea input,.single-page .item.vertical.textarea input,.paged .item.vertical.textarea textarea,.single-page .item.vertical.textarea textarea{width:100%;margin-right:0;display:inline}.paged .item.horizontal.string .sized,.single-page .item.horizontal.string .sized,.paged .item.horizontal.textarea .sized,.single-page .item.horizontal.textarea .sized,.paged .item.vertical.string .sized,.single-page .item.vertical.string .sized,.paged .item.vertical.textarea .sized,.single-page .item.vertical.textarea .sized{width:auto}.paged .progress-bar,.single-page .progress-bar{width:100%;float:right;display:inline;margin-left:-20px;margin-right:-20px;padding:1.5em 20px}.paged .progress-bar .progress-wrapper .progress-slider,.single-page .progress-bar .progress-wrapper .progress-slider{background-position:0 3px;display:inline-block;zoom:1}.paged .progress-bar .progress-wrapper .progress-slider .progress-stop,.single-page .progress-bar .progress-wrapper .progress-slider .progress-stop{margin:0 2px;width:8px;height:8px}.paged .progress-bar .progress-wrapper .progress-slider.long-list,.single-page .progress-bar .progress-wrapper .progress-slider.long-list{display:none}.paged .buttons,.single-page .buttons{width:100%;float:right;display:inline;margin-left:-20px;margin-right:-20px;padding:1.5em 20px;border-bottom:1px dotted #d0d0d0}.paged .buttons .back,.single-page .buttons .back,.paged .buttons .prev,.single-page .buttons .prev{width:49.15254%;float:left;margin-right:1.69492%;display:inline}.paged .buttons .next,.single-page .buttons .next{width:49.15254%;float:right;margin-right:0;display:inline;text-align:right}.paged .buttons .abort,.single-page .buttons .abort,.paged .buttons .print,.single-page .buttons .print{display:none}.paged .buttons .print,.single-page .buttons .print{width:100%;float:left;margin-right:1.69492%;display:inline;text-align:right}.paged .buttons .save,.single-page .buttons .save{width:49.15254%;float:right;margin-right:0;display:inline;text-align:right}@media (min-width: 35em){.paged #content,.single-page #content{margin:6em auto 0}.paged tr,.single-page tr{border:none}.paged .panel,.single-page .panel{margin-left:auto;margin-right:auto;max-width:49.5em;border:4px solid #dddddd;margin-top:6em;padding:3em 2em 1.5em}.paged .panel:after,.single-page .panel:after{content:"";display:table;clear:both}.paged .panel .table div,.single-page .panel .table div,.paged .panel .table span,.single-page .panel .table span,.paged .panel .table applet,.single-page .panel .table applet,.paged .panel .table object,.single-page .panel .table object,.paged .panel .table iframe,.single-page .panel .table iframe,.paged .panel .table h1,.single-page .panel .table h1,.paged .panel .table h2,.single-page .panel .table h2,.paged .panel .table h3,.single-page .panel .table h3,.paged .panel .table h4,.single-page .panel .table h4,.paged .panel .table h5,.single-page .panel .table h5,.paged .panel .table h6,.single-page .panel .table h6,.paged .panel .table p,.single-page .panel .table p,.paged .panel .table blockquote,.single-page .panel .table blockquote,.paged .panel .table pre,.single-page .panel .table pre,.paged .panel .table a,.single-page .panel .table a,.paged .panel .table abbr,.single-page .panel .table abbr,.paged .panel .table acronym,.single-page .panel .table acronym,.paged .panel .table address,.single-page .panel .table address,.paged .panel .table big,.single-page .panel .table big,.paged .panel .table cite,.single-page .panel .table cite,.paged .panel .table code,.single-page .panel .table code,.paged .panel .table del,.single-page .panel .table del,.paged .panel .table dfn,.single-page .panel .table dfn,.paged .panel .table em,.single-page .panel .table em,.paged .panel .table img,.single-page .panel .table img,.paged .panel .table ins,.single-page .panel .table ins,.paged .panel .table kbd,.single-page .panel .table kbd,.paged .panel .table q,.single-page .panel .table q,.paged .panel .table s,.single-page .panel .table s,.paged .panel .table samp,.single-page .panel .table samp,.paged .panel .table small,.single-page .panel .table small,.paged .panel .table strike,.single-page .panel .table strike,.paged .panel .table strong,.single-page .panel .table strong,.paged .panel .table sub,.single-page .panel .table sub,.paged .panel .table sup,.single-page .panel .table sup,.paged .panel .table tt,.single-page .panel .table tt,.paged .panel .table var,.single-page .panel .table var,.paged .panel .table b,.single-page .panel .table b,.paged .panel .table u,.single-page .panel .table u,.paged .panel .table i,.single-page .panel .table i,.paged .panel .table center,.single-page .panel .table center,.paged .panel .table dl,.single-page .panel .table dl,.paged .panel .table dt,.single-page .panel .table dt,.paged .panel .table dd,.single-page .panel .table dd,.paged .panel .table ol,.single-page .panel .table ol,.paged .panel .table ul,.single-page .panel .table ul,.paged .panel .table li,.single-page .panel .table li,.paged .panel .table fieldset,.single-page .panel .table fieldset,.paged .panel .table form,.single-page .panel .table form,.paged .panel .table label,.single-page .panel .table label,.paged .panel .table legend,.single-page .panel .table legend,.paged .panel .table table,.single-page .panel .table table,.paged .panel .table caption,.single-page .panel .table caption,.paged .panel .table tbody,.single-page .panel .table tbody,.paged .panel .table tfoot,.single-page .panel .table tfoot,.paged .panel .table thead,.single-page .panel .table thead,.paged .panel .table tr,.single-page .panel .table tr,.paged .panel .table th,.single-page .panel .table th,.paged .panel .table td,.single-page .panel .table td,.paged .panel .table article,.single-page .panel .table article,.paged .panel .table aside,.single-page .panel .table aside,.paged .panel .table canvas,.single-page .panel .table canvas,.paged .panel .table details,.single-page .panel .table details,.paged .panel .table embed,.single-page .panel .table embed,.paged .panel .table figure,.single-page .panel .table figure,.paged .panel .table figcaption,.single-page .panel .table figcaption,.paged .panel .table footer,.single-page .panel .table footer,.paged .panel .table header,.single-page .panel .table header,.paged .panel .table hgroup,.single-page .panel .table hgroup,.paged .panel .table menu,.single-page .panel .table menu,.paged .panel .table nav,.single-page .panel .table nav,.paged .panel .table output,.single-page .panel .table output,.paged .panel .table ruby,.single-page .panel .table ruby,.paged .panel .table section,.single-page .panel .table section,.paged .panel .table summary,.single-page .panel .table summary,.paged .panel .table time,.single-page .panel .table time,.paged .panel .table mark,.single-page .panel .table mark,.paged .panel .table audio,.single-page .panel .table audio,.paged .panel .table video,.single-page .panel .table video{margin:0;padding:0;border:0;font:inherit;font-size:100%;vertical-align:baseline}.paged .panel .table table,.single-page .panel .table table{border-collapse:collapse;border-spacing:0}.paged .panel .table caption,.single-page .panel .table caption,.paged .panel .table th,.single-page .panel .table th,.paged .panel .table td,.single-page .panel .table td{text-align:left;font-weight:400;vertical-align:middle}.paged .panel .table q,.single-page .panel .table q,.paged .panel .table blockquote,.single-page .panel .table blockquote{quotes:none}.paged .panel .table q:before,.single-page .panel .table q:before,.paged .panel .table q:after,.single-page .panel .table q:after,.paged .panel .table blockquote:before,.single-page .panel .table blockquote:before,.paged .panel .table blockquote:after,.single-page .panel .table blockquote:after{content:"";content:none}.paged .panel .table a img,.single-page .panel .table a img{border:none}.paged .panel .table p,.single-page .panel .table p,.paged .panel .table div,.single-page .panel .table div{display:inline}.paged .panel .table caption,.single-page .panel .table caption{margin-bottom:.5em}.paged .panel .table .errors,.single-page .panel .table .errors{outline:2px solid red!important}.paged .panel .table .error,.single-page .panel .table .error{display:inline-block;background:#ffbbbb;outline:1px solid #ff3333}.paged .panel .table .error.hidden,.single-page .panel .table .error.hidden{display:none}.paged .panel .table table,.single-page .panel .table table{border-bottom:1px solid black;border-collapse:collapse;margin:0}.paged .panel .table table *,.single-page .panel .table table *{width:auto}.paged .panel .table table .option,.single-page .panel .table table .option{white-space:normal}.paged .panel .table table td>div>*,.single-page .panel .table table td>div>*{margin-top:.5em;margin-bottom:.5em}.paged .panel .table table .row,.single-page .panel .table table .row{width:100%;float:right;margin-right:0;float:none;display:table-row}.paged .panel .table table .row td,.single-page .panel .table table .row td,.paged .panel .table table .row th,.single-page .panel .table table .row th{display:table-cell;border:0;border-bottom:1px solid #bbb;vertical-align:top;float:none}.paged .panel .table table .row td.main,.single-page .panel .table table .row td.main,.paged .panel .table table .row th.main,.single-page .panel .table table .row th.main{vertical-align:middle}.paged .panel .table table .row.inner_row td,.single-page .panel .table table .row.inner_row td{border:0}.paged .panel .table table .row:first-child td,.single-page .panel .table table .row:first-child td{border-top:1px solid #bbb}.paged .panel .table table .row input.float,.single-page .panel .table table .row input.float,.paged .panel .table table .row input.integer,.single-page .panel .table table .row input.integer{width:54px}.paged .panel .table table .row input.string,.single-page .panel .table table .row input.string,.paged .panel .table table .row input.textarea,.single-page .panel .table table .row input.textarea{width:92%}.paged .panel .table table .row input.sized,.single-page .panel .table table .row input.sized{width:auto}.paged .panel .table table .row input.fd-form-element-hidden,.single-page .panel .table table .row input.fd-form-element-hidden{display:none}.paged .panel .table table .row .unit,.single-page .panel .table table .row .unit{vertical-align:-20%;padding-left:4px}.paged .panel .table .item,.single-page .panel .table .item{float:none;width:auto;margin-right:auto}.paged .panel .table .main,.single-page .panel .table .main{width:33.33333%;float:none!important;display:table-cell!important}.paged .panel .table .main label small,.single-page .panel .table .main label small{font-size:.7em}.paged .panel .table .description,.single-page .panel .table .description{text-align:right}.paged .panel .table .option_sets .option,.single-page .panel .table .option_sets .option{padding-left:1em;padding-bottom:.5em;vertical-align:bottom}.paged .panel .table .dark,.single-page .panel .table .dark{background-color:#eee}.paged .panel .table .light,.single-page .panel .table .light{background-color:#fff}.paged .item,.single-page .item{width:100%;float:right;margin-right:0;margin-bottom:18px}.paged .item.horizontal.radio .option,.single-page .item.horizontal.radio .option,.paged .item.horizontal.check_box .option,.single-page .item.horizontal.check_box .option{width:100%;float:right;margin-right:0}.paged .item.horizontal.radio .option .radiocheckwrapper,.single-page .item.horizontal.radio .option .radiocheckwrapper,.paged .item.horizontal.check_box .option .radiocheckwrapper,.single-page .item.horizontal.check_box .option .radiocheckwrapper{width:4.0404%;float:left;margin-right:1.0101%}.paged .item.horizontal.radio .option .labelwrapper,.single-page .item.horizontal.radio .option .labelwrapper,.paged .item.horizontal.check_box .option .labelwrapper,.single-page .item.horizontal.check_box .option .labelwrapper{width:94.94949%;float:right;margin-right:0}.paged .item.horizontal.radio .option.show_values .value,.single-page .item.horizontal.radio .option.show_values .value,.paged .item.horizontal.check_box .option.show_values .value,.single-page .item.horizontal.check_box .option.show_values .value{width:4.0404%;float:left;margin-right:1.0101%}.paged .item.horizontal.radio .option.show_values .labelwrapper,.single-page .item.horizontal.radio .option.show_values .labelwrapper,.paged .item.horizontal.check_box .option.show_values .labelwrapper,.single-page .item.horizontal.check_box .option.show_values .labelwrapper{width:89.89899%;float:right;margin-right:0}.paged .item.horizontal.radio .option .subquestions,.single-page .item.horizontal.radio .option .subquestions,.paged .item.horizontal.check_box .option .subquestions,.single-page .item.horizontal.check_box .option .subquestions{margin-left:5.05051%;width:74.74747%;float:left;margin-right:1.0101%}.paged .item.horizontal.radio .option .subquestions .item,.single-page .item.horizontal.radio .option .subquestions .item,.paged .item.horizontal.check_box .option .subquestions .item,.single-page .item.horizontal.check_box .option .subquestions .item{width:74.74747%;float:left;margin-right:1.0101%}.paged .item.horizontal.radio .option .subquestions .item input,.single-page .item.horizontal.radio .option .subquestions .item input,.paged .item.horizontal.check_box .option .subquestions .item input,.single-page .item.horizontal.check_box .option .subquestions .item input{width:auto}.paged .item.horizontal.radio .option .subquestions .radiocheckwrapper,.single-page .item.horizontal.radio .option .subquestions .radiocheckwrapper,.paged .item.horizontal.check_box .option .subquestions .radiocheckwrapper,.single-page .item.horizontal.check_box .option .subquestions .radiocheckwrapper{width:10px;padding-right:20px}.paged .item.horizontal.radio .option .subquestions .labelwrapper,.single-page .item.horizontal.radio .option .subquestions .labelwrapper,.paged .item.horizontal.check_box .option .subquestions .labelwrapper,.single-page .item.horizontal.check_box .option .subquestions .labelwrapper{width:auto;float:none}.paged .item.horizontal.radio .inner-title,.single-page .item.horizontal.radio .inner-title,.paged .item.horizontal.check_box .inner-title,.single-page .item.horizontal.check_box .inner-title{width:100%;float:right;margin-right:0}.paged .item.horizontal.string input,.single-page .item.horizontal.string input,.paged .item.horizontal.string textarea,.single-page .item.horizontal.string textarea,.paged .item.horizontal.textarea input,.single-page .item.horizontal.textarea input,.paged .item.horizontal.textarea textarea,.single-page .item.horizontal.textarea textarea{width:100%;margin-right:0}.paged .item.horizontal.string .sized,.single-page .item.horizontal.string .sized,.paged .item.horizontal.textarea .sized,.single-page .item.horizontal.textarea .sized{width:auto}.paged .item.vertical .main,.single-page .item.vertical .main{width:39.39394%;float:left;margin-right:1.0101%}.paged .item.vertical .description-and-fields,.single-page .item.vertical .description-and-fields{width:59.59596%;float:right;margin-right:0;float:left}.paged .item.vertical .description-and-fields .description h2,.single-page .item.vertical .description-and-fields .description h2{font-size:1.2em;font-weight:700;border-top:8px solid #ddd;padding-top:16px}.paged .item.vertical .description-and-fields .description small,.single-page .item.vertical .description-and-fields .description small{font-size:80%}.paged .item.vertical .description-and-fields .description strong,.single-page .item.vertical .description-and-fields .description strong{font-style:italic}.paged .item.vertical .description-and-fields .description em,.single-page .item.vertical .description-and-fields .description em{font-weight:700}.paged .item.vertical .description-and-fields .description p,.single-page .item.vertical .description-and-fields .description p{margin-bottom:18px}.paged .item.vertical .description-and-fields .description ul,.single-page .item.vertical .description-and-fields .description ul{margin-top:1em;margin-left:1em;margin-bottom:2em}.paged .item.vertical .description-and-fields .description ul li,.single-page .item.vertical .description-and-fields .description ul li{list-style-type:disc;margin-bottom:1em!important}.paged .item.vertical .description-and-fields .description ul li p,.single-page .item.vertical .description-and-fields .description ul li p{margin-bottom:0}.paged .item.vertical .description-and-fields .description ul li ul,.single-page .item.vertical .description-and-fields .description ul li ul{margin-bottom:1em;margin-left:1.5em}.paged .item.vertical .description-and-fields .description ul li ul li,.single-page .item.vertical .description-and-fields .description ul li ul li{margin-bottom:0!important;list-style-type:none}.paged .item.vertical .description-and-fields .description ol li,.single-page .item.vertical .description-and-fields .description ol li{list-style-type:lower-alpha}.paged .item.vertical.radio .option,.single-page .item.vertical.radio .option,.paged .item.vertical.check_box .option,.single-page .item.vertical.check_box .option{width:100%;float:right;margin-right:0}.paged .item.vertical.radio .option .radiocheckwrapper,.single-page .item.vertical.radio .option .radiocheckwrapper,.paged .item.vertical.check_box .option .radiocheckwrapper,.single-page .item.vertical.check_box .option .radiocheckwrapper{width:6.77966%;float:left;margin-right:1.69492%}.paged .item.vertical.radio .option .labelwrapper,.single-page .item.vertical.radio .option .labelwrapper,.paged .item.vertical.check_box .option .labelwrapper,.single-page .item.vertical.check_box .option .labelwrapper{width:91.52542%;float:right;margin-right:0}.paged .item.vertical.radio .option.show_values .value,.single-page .item.vertical.radio .option.show_values .value,.paged .item.vertical.check_box .option.show_values .value,.single-page .item.vertical.check_box .option.show_values .value{width:6.77966%;float:left;margin-right:1.69492%}.paged .item.vertical.radio .option.show_values .labelwrapper,.single-page .item.vertical.radio .option.show_values .labelwrapper,.paged .item.vertical.check_box .option.show_values .labelwrapper,.single-page .item.vertical.check_box .option.show_values .labelwrapper{width:83.05085%;float:right;margin-right:0}.paged .item.vertical.radio .option .subquestions,.single-page .item.vertical.radio .option .subquestions,.paged .item.vertical.check_box .option .subquestions,.single-page .item.vertical.check_box .option .subquestions{margin-left:5.05051%;width:91.52542%;float:left;margin-right:1.69492%}.paged .item.vertical.radio .option .subquestions .item,.single-page .item.vertical.radio .option .subquestions .item,.paged .item.vertical.check_box .option .subquestions .item,.single-page .item.vertical.check_box .option .subquestions .item{width:91.52542%;float:left;margin-right:1.69492%}.paged .item.vertical.radio .option .subquestions .item .main,.single-page .item.vertical.radio .option .subquestions .item .main,.paged .item.vertical.check_box .option .subquestions .item .main,.single-page .item.vertical.check_box .option .subquestions .item .main{width:100%;float:right;margin-right:0}.paged .item.vertical.radio .option .subquestions .item input,.single-page .item.vertical.radio .option .subquestions .item input,.paged .item.vertical.check_box .option .subquestions .item input,.single-page .item.vertical.check_box .option .subquestions .item input{width:auto}.paged .item.vertical.radio .option .subquestions .radiocheckwrapper,.single-page .item.vertical.radio .option .subquestions .radiocheckwrapper,.paged .item.vertical.check_box .option .subquestions .radiocheckwrapper,.single-page .item.vertical.check_box .option .subquestions .radiocheckwrapper{width:10px;padding-right:20px}.paged .item.vertical.radio .option .subquestions .labelwrapper,.single-page .item.vertical.radio .option .subquestions .labelwrapper,.paged .item.vertical.check_box .option .subquestions .labelwrapper,.single-page .item.vertical.check_box .option .subquestions .labelwrapper{width:auto;float:none}.paged .item.vertical.radio .inner-title,.single-page .item.vertical.radio .inner-title,.paged .item.vertical.check_box .inner-title,.single-page .item.vertical.check_box .inner-title{width:100%;float:right;margin-right:0}.paged .item.vertical.string input,.single-page .item.vertical.string input,.paged .item.vertical.string textarea,.single-page .item.vertical.string textarea,.paged .item.vertical.textarea input,.single-page .item.vertical.textarea input,.paged .item.vertical.textarea textarea,.single-page .item.vertical.textarea textarea{width:100%;margin-right:0}.paged .item.vertical.string .sized,.single-page .item.vertical.string .sized,.paged .item.vertical.textarea .sized,.single-page .item.vertical.textarea .sized{width:auto}.paged .progress-bar,.single-page .progress-bar{width:100%;float:right;margin:1.5em -2em -1.5em;padding:1.5em 2em}.paged .progress-bar .progress-wrapper .progress-slider,.single-page .progress-bar .progress-wrapper .progress-slider{background-position:0 4px;display:inline-block;zoom:1}.paged .progress-bar .progress-wrapper .progress-slider .progress-stop,.single-page .progress-bar .progress-wrapper .progress-slider .progress-stop{margin:0 3px;width:10px;height:10px}.paged .progress-bar .progress-wrapper .progress-slider.long-list,.single-page .progress-bar .progress-wrapper .progress-slider.long-list{display:inline-block;zoom:1}.paged .buttons,.single-page .buttons{width:100%;float:right;margin:1.5em -2em -1.5em;padding:1.5em 2em;border-bottom:0}.paged .buttons .back,.single-page .buttons .back,.paged .buttons .prev,.single-page .buttons .prev{width:24.24242%;float:left;margin-right:1.0101%}.paged .buttons .abort,.single-page .buttons .abort{width:24.24242%;float:left;margin-right:1.0101%;text-align:center;display:block}.paged .buttons .print,.single-page .buttons .print{width:100%;float:left;margin-right:1.0101%;text-align:right}.paged .buttons .next,.single-page .buttons .next,.paged .buttons .save,.single-page .buttons .save{width:24.24242%;float:right;margin-right:0;text-align:right}}.paged .panel,.single-page .panel{margin-bottom:2em;box-shadow:0 0 6px #0000004d}.paged .panel h1,.single-page .panel h1{font-size:1.5em;font-weight:700;margin-bottom:1.2em;z-index:400}.paged .panel hr,.single-page .panel hr{height:8px;border:0;background:#ddd}.paged .panel .progress-bar,.single-page .panel .progress-bar{height:25px}.paged .panel .progress-bar .progress-wrapper,.single-page .panel .progress-bar .progress-wrapper{text-align:center}.paged .panel .progress-bar .progress-wrapper .progress-slider,.single-page .panel .progress-bar .progress-wrapper .progress-slider{height:8px;text-align:center;border:1px solid #ccc;border-radius:6px;overflow:hidden;padding:1px}.paged .panel .progress-bar .progress-wrapper .progress-slider .progress-stop,.single-page .panel .progress-bar .progress-wrapper .progress-slider .progress-stop{height:8px;line-height:8px;width:6px;background:#fff;font-size:6px;text-indent:-1234em;display:block;float:left;text-align:center;margin:0}.paged .panel .progress-bar .progress-wrapper .progress-slider .progress-stop.first-child,.single-page .panel .progress-bar .progress-wrapper .progress-slider .progress-stop.first-child{width:8px;border-radius:5px 0 0 5px}.paged .panel .progress-bar .progress-wrapper .progress-slider .progress-stop.last-child,.single-page .panel .progress-bar .progress-wrapper .progress-slider .progress-stop.last-child{width:8px;border-radius:0 5px 5px 0}.paged .panel .progress-bar .progress-wrapper .progress-slider .progress-stop.active,.single-page .panel .progress-bar .progress-wrapper .progress-slider .progress-stop.active{background:#999}.paged .panel .progress-bar .progress-wrapper .progress-slider .progress-stop.current,.single-page .panel .progress-bar .progress-wrapper .progress-slider .progress-stop.current{border-radius:0 5px 5px 0}.paged .panel .progress-bar .progress-wrapper .progress-slider .progress-stop.current.first-child,.single-page .panel .progress-bar .progress-wrapper .progress-slider .progress-stop.current.first-child{border-radius:5px}.paged .panel .progress-bar .progress-wrapper .progress-details,.single-page .panel .progress-bar .progress-wrapper .progress-details{color:#999;font-size:9px;margin:4px 0 0;display:block}.paged .panel .buttons,.single-page .panel .buttons{border-top:1px dotted #d6d6d6;background:#f3f3f3}.paged .panel .item.hidden,.single-page .panel .item.hidden{display:none}.paged .panel .item.errors,.single-page .panel .item.errors{outline:1px solid red;padding:.4em}.paged .panel .item.errors .error,.single-page .panel .item.errors .error{background:#ffaaaa;color:#500;outline:1px solid red;padding:.3em;margin-bottom:.3em}.paged .panel .item .main,.single-page .panel .item .main{font-weight:700}.paged .panel .item .main em,.single-page .panel .item .main em{font-style:italic}.paged .panel .item .text h2,.single-page .panel .item .text h2{font-size:1.2em;font-weight:700;border-top:8px solid #ddd;padding-top:16px}.paged .panel .item .text small,.single-page .panel .item .text small{font-size:80%}.paged .panel .item .text strong,.single-page .panel .item .text strong{font-style:italic}.paged .panel .item .text em,.single-page .panel .item .text em{font-weight:700}.paged .panel .item .text p,.single-page .panel .item .text p{margin-bottom:18px}.paged .panel .item .text ul,.single-page .panel .item .text ul{margin-top:1em;margin-left:1em;margin-bottom:2em}.paged .panel .item .text ul li,.single-page .panel .item .text ul li{list-style-type:disc;margin-bottom:1em!important}.paged .panel .item .text ul li p,.single-page .panel .item .text ul li p{margin-bottom:0}.paged .panel .item .text ul li ul,.single-page .panel .item .text ul li ul{margin-bottom:1em;margin-left:1.5em}.paged .panel .item .text ul li ul li,.single-page .panel .item .text ul li ul li{margin-bottom:0!important;list-style-type:none}.paged .panel .item .text ol li,.single-page .panel .item .text ol li{list-style-type:lower-alpha}.paged .panel .item .description-and-fields .description h2,.single-page .panel .item .description-and-fields .description h2{font-size:1.2em;font-weight:700;border-top:8px solid #ddd;padding-top:16px}.paged .panel .item .description-and-fields .description small,.single-page .panel .item .description-and-fields .description small{font-size:80%}.paged .panel .item .description-and-fields .description strong,.single-page .panel .item .description-and-fields .description strong{font-style:italic}.paged .panel .item .description-and-fields .description em,.single-page .panel .item .description-and-fields .description em{font-weight:700}.paged .panel .item .description-and-fields .description p,.single-page .panel .item .description-and-fields .description p{margin-bottom:18px}.paged .panel .item .description-and-fields .description ul,.single-page .panel .item .description-and-fields .description ul{margin-top:1em;margin-left:1em;margin-bottom:2em}.paged .panel .item .description-and-fields .description ul li,.single-page .panel .item .description-and-fields .description ul li{list-style-type:disc;margin-bottom:1em!important}.paged .panel .item .description-and-fields .description ul li p,.single-page .panel .item .description-and-fields .description ul li p{margin-bottom:0}.paged .panel .item .description-and-fields .description ul li ul,.single-page .panel .item .description-and-fields .description ul li ul{margin-bottom:1em;margin-left:1.5em}.paged .panel .item .description-and-fields .description ul li ul li,.single-page .panel .item .description-and-fields .description ul li ul li{margin-bottom:0!important;list-style-type:none}.paged .panel .item .description-and-fields .description ol li,.single-page .panel .item .description-and-fields .description ol li{list-style-type:lower-alpha}.paged .panel .item.horizontal .main,.single-page .panel .item.horizontal .main{margin-bottom:1em}.paged .panel .item.radio .inner-title,.single-page .panel .item.radio .inner-title,.paged .panel .item.check_box .inner-title,.single-page .panel .item.check_box .inner-title{margin-top:1.5em;margin-bottom:1.5em;font-weight:700}.paged .panel .item.radio .option .labelwrapper p,.single-page .panel .item.radio .option .labelwrapper p,.paged .panel .item.check_box .option .labelwrapper p,.single-page .panel .item.check_box .option .labelwrapper p{display:inline}.paged .panel .item.radio .option.show_values .value,.single-page .panel .item.radio .option.show_values .value,.paged .panel .item.check_box .option.show_values .value,.single-page .panel .item.check_box .option.show_values .value{text-align:center}.paged .panel .item.scale td,.single-page .panel .item.scale td{border:0;text-align:center}.paged .panel .item.scale .option.optionwidth1,.single-page .panel .item.scale .option.optionwidth1,.paged .panel .item.scale .description.optionwidth1,.single-page .panel .item.scale .description.optionwidth1,.paged .panel .item.scale .option.optionwidth2,.single-page .panel .item.scale .option.optionwidth2,.paged .panel .item.scale .description.optionwidth2,.single-page .panel .item.scale .description.optionwidth2,.paged .panel .item.scale .option.optionwidth3,.single-page .panel .item.scale .option.optionwidth3,.paged .panel .item.scale .description.optionwidth3,.single-page .panel .item.scale .description.optionwidth3,.paged .panel .item.scale .option.optionwidth4,.single-page .panel .item.scale .option.optionwidth4,.paged .panel .item.scale .description.optionwidth4,.single-page .panel .item.scale .description.optionwidth4,.paged .panel .item.scale .option.optionwidth5,.single-page .panel .item.scale .option.optionwidth5,.paged .panel .item.scale .description.optionwidth5,.single-page .panel .item.scale .description.optionwidth5{width:20%}.paged .panel .item.scale .option.optionwidth6,.single-page .panel .item.scale .option.optionwidth6,.paged .panel .item.scale .description.optionwidth6,.single-page .panel .item.scale .description.optionwidth6{width:16.66667%}.paged .panel .item.scale .option.optionwidth7,.single-page .panel .item.scale .option.optionwidth7,.paged .panel .item.scale .description.optionwidth7,.single-page .panel .item.scale .description.optionwidth7{width:14.28571%}.paged .panel .item.scale .option.optionwidth8,.single-page .panel .item.scale .option.optionwidth8,.paged .panel .item.scale .description.optionwidth8,.single-page .panel .item.scale .description.optionwidth8{width:12.5%}.paged .panel .item.scale .option.optionwidth9,.single-page .panel .item.scale .option.optionwidth9,.paged .panel .item.scale .description.optionwidth9,.single-page .panel .item.scale .description.optionwidth9{width:11.11111%}.paged .panel .item.scale .option.optionwidth10,.single-page .panel .item.scale .option.optionwidth10,.paged .panel .item.scale .description.optionwidth10,.single-page .panel .item.scale .description.optionwidth10{width:10%}.paged .panel .item.scale .option.optionwidth11,.single-page .panel .item.scale .option.optionwidth11,.paged .panel .item.scale .description.optionwidth11,.single-page .panel .item.scale .description.optionwidth11{width:9.09091%}.paged .panel .item.scale .option.optionwidth12,.single-page .panel .item.scale .option.optionwidth12,.paged .panel .item.scale .description.optionwidth12,.single-page .panel .item.scale .description.optionwidth12{width:8.33333%}.single-page .hidden,.single-page .panel.noVisibleQuestions{display:none}.single-page .item.hide{margin:0!important;outline:none!important}.single-page .item.hide>*{display:none!important}
195
+ `,L0=r=>{var L;const e=new qd(r.questionnaireJson),[n,a]=Pe.useState(()=>new of(e,fh(r.responseJson,e))),o=Pe.useRef(null),c=r.newLayout??e.layoutVersion==="v2",g=r.darkMode===void 0?(L=window.matchMedia("(prefers-color-scheme: dark)"))==null?void 0:L.matches:r.darkMode,y={displayMode:r.displayMode,darkMode:g,newLayout:c},w=()=>{o.current&&removeEventListener("beforeunload",o.current),r.onSave(n)},E=P=>P?()=>{o.current&&removeEventListener("beforeunload",o.current),P(n)}:void 0;return dr.changeLanguage(r.questionnaireJson.language),Pe.useEffect(()=>{if(r.unsavedResponseWarning)return o.current=P=>{n.valueHasChanged()&&(P.returnValue=r.unsavedResponseWarning)},addEventListener("beforeunload",o.current),()=>{o.current&&removeEventListener("beforeunload",o.current)}},[r.unsavedResponseWarning]),z.jsxs(P0.qubyRoot,{children:[z.jsx("style",{children:c?F0:D0}),z.jsx(Dh,{questionnaire:n.questionnaire,response:n,displayOptions:y,onSave:w,onAbort:E(r.onAbort),onPreviousQuestionnaire:E(r.onPreviousQuestionnaire),allowSkipValidation:r.allowSkipValidation})]})};ft.AnswerGroupMaximumValidator=nh,ft.AnswerGroupMinimumValidator=th,ft.AnswerPage=Dh,ft.BaseValidator=bi,ft.CurliesInterpolator=hh,ft.DatePartsAnswerSchema=sh,ft.DatePartsComponentSchema=Bp,ft.FlagsSchema=lh,ft.ICalcBooleanOpsSchema=Xd,ft.ICalcBooleanReducerOpsSchema=Jd,ft.ICalcComparerOpsSchema=Qd,ft.InterpolateCurliesContext=Yo,ft.MaximumCheckedAllowedValidator=eh,ft.MaximumDateValidator=Xp,ft.MaximumValidator=Jp,ft.MinimumCheckedRequiredValidator=qp,ft.MinimumDateValidator=Qp,ft.MinimumValidator=Kp,ft.MultiSelectAnswerSchema=oh,ft.NumberAnswerSchema=ih,ft.Quby=L0,ft.QubyContext=sf,ft.Questionnaire=qd,ft.RegexpValidator=rh,ft.RequiresAnswerValidator=Hp,ft.Response=of,ft.ResponseParseError=lf,ft.StringAnswerSchema=ah,ft.TextvarsSchema=uh,ft.ValidDateValidator=Gp,ft.ValidFloatValidator=Yp,ft.ValidIntegerValidator=Zp,ft.buildValidator=Wp,ft.convertDefaultAndValidateResponseJson=fh,ft.ignorableErrors=Vp,Object.defineProperty(ft,Symbol.toStringTag,{value:"Module"})});