@roqua/quby-frontend 0.10.13 → 0.10.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/quby-frontend.es.js +6021 -17323
- package/dist/quby-frontend.umd.js +21 -171
- package/package.json +6 -6
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(function(et,Ee){typeof exports=="object"&&typeof module<"u"?Ee(exports,require("react"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react","react-dom"],Ee):(et=typeof globalThis<"u"?globalThis:et||self,Ee(et["@roqua/quby-frontend"]={},et.React,et.ReactDOM))})(this,function(et,Ee,mi){var Id;"use strict";var ok=Object.defineProperty;var sk=(et,Ee,mi)=>Ee in et?ok(et,Ee,{enumerable:!0,configurable:!0,writable:!0,value:mi}):et[Ee]=mi;var Tt=(et,Ee,mi)=>(sk(et,typeof Ee!="symbol"?Ee+"":Ee,mi),mi),lk=(et,Ee,mi)=>{if(!Ee.has(et))throw TypeError("Cannot "+mi)};var $g=(et,Ee,mi)=>(lk(et,Ee,"read from private field"),mi?mi.call(et):Ee.get(et)),Gg=(et,Ee,mi)=>{if(Ee.has(et))throw TypeError("Cannot add the same private member more than once");Ee instanceof WeakSet?Ee.add(et):Ee.set(et,mi)};function Zg(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 nc=Zg(Ee),Yg={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 Wc{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||Yg,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 Wc(this.logger,{prefix:`${this.prefix}:${e}:`,...this.options})}clone(e){return e=e||this.options,e.prefix=e.prefix||this.prefix,new Wc(this.logger,e)}}var uo=new Wc;class Hc{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 rc(){let r,e;const n=new Promise((a,o)=>{r=a,e=o});return n.resolve=r,n.reject=e,n}function lp(r){return r==null?"":""+r}function Kg(r,e,n){r.forEach(a=>{e[a]&&(n[a]=e[a])})}function Ud(r,e,n){function a(v){return v&&v.indexOf("###")>-1?v.replace(/###/g,"."):v}function o(){return!r||typeof r=="string"}const c=typeof e!="string"?[].concat(e):e.split(".");for(;c.length>1;){if(o())return{};const v=a(c.shift());!r[v]&&n&&(r[v]=new n),Object.prototype.hasOwnProperty.call(r,v)?r=r[v]:r={}}return o()?{}:{obj:r,k:a(c.shift())}}function up(r,e,n){const{obj:a,k:o}=Ud(r,e,Object);a[o]=n}function Jg(r,e,n,a){const{obj:o,k:c}=Ud(r,e,Object);o[c]=o[c]||[],a&&(o[c]=o[c].concat(n)),a||o[c].push(n)}function $c(r,e){const{obj:n,k:a}=Ud(r,e);if(n)return n[a]}function Qg(r,e,n){const a=$c(r,n);return a!==void 0?a:$c(e,n)}function cp(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]):cp(r[a],e[a],n):r[a]=e[a]);return r}function Su(r){return r.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var Xg={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};function qg(r){return typeof r=="string"?r.replace(/[&<>"'\/]/g,e=>Xg[e]):r}const em=[" ",",","?","!",";"];function tm(r,e,n){e=e||"",n=n||"";const a=em.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 c=!o.test(r);if(!c){const v=r.indexOf(n);v>0&&!o.test(r.substring(0,v))&&(c=!0)}return c}function Gc(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;++c){if(!o||typeof o[a[c]]=="string"&&c+1<a.length)return;if(o[a[c]]===void 0){let v=2,x=a.slice(c,c+v).join(n),y=o[x];for(;y===void 0&&a.length>c+v;)v++,x=a.slice(c,c+v).join(n),y=o[x];if(y===void 0)return;if(y===null)return null;if(e.endsWith(x)){if(typeof y=="string")return y;if(x&&typeof y[x]=="string")return y[x]}const E=a.slice(c+v).join(n);return E?Gc(y,E,n):void 0}o=o[a[c]]}return o}function Zc(r){return r&&r.indexOf("_")>0?r.replace("_","-"):r}class dp extends Hc{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,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(c?a.split(c):a)),e.indexOf(".")>-1&&(x=e.split("."));const y=$c(this.data,x);return y||!v||typeof a!="string"?y:Gc(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 v=c.keySeparator!==void 0?c.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),up(this.data,x,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)(typeof a[c]=="string"||Object.prototype.toString.apply(a[c])==="[object Array]")&&this.addResource(e,n,c,a[c],{silent:!0});o.silent||this.emit("added",e,n,a)}addResourceBundle(e,n,a,o,c){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 y=$c(this.data,x)||{};o?cp(y,a,c):y={...y,...a},up(this.data,x,y),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 fp={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 pp={};class Yc extends Hc{constructor(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};super(),Kg(["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 v=a&&e.indexOf(a)>-1,x=!this.options.userDefinedKeySeparator&&!n.keySeparator&&!this.options.userDefinedNsSeparator&&!n.nsSeparator&&!tm(e,a,o);if(v&&!x){const y=e.match(this.interpolator.nestingRegexp);if(y&&y.length>0)return{key:e,namespaces: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 typeof c=="string"&&(c=[c]),{key:e,namespaces: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:v,namespaces:x}=this.extractFromKey(e[e.length-1],n),y=x[x.length-1],E=n.lng||this.language,B=n.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(E&&E.toLowerCase()==="cimode"){if(B){const me=n.nsSeparator||this.options.nsSeparator;return o?{res:`${y}${me}${v}`,usedKey:v,exactUsedKey:v,usedLng:E,usedNS:y}:`${y}${me}${v}`}return o?{res:v,usedKey:v,exactUsedKey:v,usedLng:E,usedNS:y}:v}const F=this.resolve(e,n);let V=F&&F.res;const ge=F&&F.usedKey||v,ae=F&&F.exactUsedKey||v,we=Object.prototype.toString.apply(V),Y=["[object Number]","[object Function]","[object RegExp]"],G=n.joinArrays!==void 0?n.joinArrays:this.options.joinArrays,de=!this.i18nFormat||this.i18nFormat.handleAsObject;if(de&&V&&(typeof V!="string"&&typeof V!="boolean"&&typeof V!="number")&&Y.indexOf(we)<0&&!(typeof G=="string"&&we==="[object Array]")){if(!n.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const me=this.options.returnedObjectHandler?this.options.returnedObjectHandler(ge,V,{...n,ns:x}):`key '${v} (${this.language})' returned an object instead of string.`;return o?(F.res=me,F):me}if(c){const me=we==="[object Array]",ee=me?[]:{},Te=me?ae:ge;for(const Ie in V)if(Object.prototype.hasOwnProperty.call(V,Ie)){const Lt=`${Te}${c}${Ie}`;ee[Ie]=this.translate(Lt,{...n,joinArrays:!1,ns:x}),ee[Ie]===Lt&&(ee[Ie]=V[Ie])}V=ee}}else if(de&&typeof G=="string"&&we==="[object Array]")V=V.join(G),V&&(V=this.extendTranslation(V,e,n,a));else{let me=!1,ee=!1;const Te=n.count!==void 0&&typeof n.count!="string",Ie=Yc.hasDefaultValue(n),Lt=Te?this.pluralResolver.getSuffix(E,n.count,n):"",ft=n.ordinal&&Te?this.pluralResolver.getSuffix(E,n.count,{ordinal:!1}):"",Ft=n[`defaultValue${Lt}`]||n[`defaultValue${ft}`]||n.defaultValue;!this.isValidLookup(V)&&Ie&&(me=!0,V=Ft),this.isValidLookup(V)||(ee=!0,V=v);const Se=(n.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&ee?void 0:V,Ae=Ie&&Ft!==V&&this.options.updateMissing;if(ee||me||Ae){if(this.logger.log(Ae?"updateKey":"missingKey",E,y,v,Ae?Ft:V),c){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,ht)=>{const oe=Ie&&ht!==V?ht:Se;this.options.missingKeyHandler?this.options.missingKeyHandler(je,y,ze,oe,Ae,n):this.backendConnector&&this.backendConnector.saveMissing&&this.backendConnector.saveMissing(je,y,ze,oe,Ae,n),this.emit("missingKey",je,y,ze,V)};this.options.saveMissing&&(this.options.saveMissingPlurals&&Te?Be.forEach(je=>{this.pluralResolver.getSuffixes(je,n).forEach(ze=>{He([je],v+ze,n[`defaultValue${ze}`]||Ft)})}):He(Be,v,Ft))}V=this.extendTranslation(V,e,n,F,a),ee&&V===v&&this.options.appendNamespaceToMissingKey&&(V=`${y}:${v}`),(ee||me)&&this.options.parseMissingKeyHandler&&(this.options.compatibilityAPI!=="v1"?V=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${y}:${v}`:v,me?V:void 0):V=this.options.parseMissingKeyHandler(V))}return o?(F.res=V,F):V}extendTranslation(e,n,a,o,c){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 F=a.replace&&typeof a.replace!="string"?a.replace:a;if(this.options.interpolation.defaultVariables&&(F={...this.options.interpolation.defaultVariables,...F}),e=this.interpolator.interpolate(e,F,a.lng||this.language,a),E){const V=e.match(this.interpolator.nestingRegexp),ge=V&&V.length;B<ge&&(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,ge=new Array(V),ae=0;ae<V;ae++)ge[ae]=arguments[ae];return c&&c[0]===ge[0]&&!a.context?(v.logger.warn(`It seems you are nesting recursively key: ${ge[0]} in key: ${n[0]}`),null):v.translate(...ge,n)},a)),a.interpolation&&this.interpolator.reset()}const x=a.postProcess||this.options.postProcess,y=typeof x=="string"?[x]:x;return e!=null&&y&&y.length&&a.applyPostProcessor!==!1&&(e=fp.handle(y,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,c,v,x;return typeof e=="string"&&(e=[e]),e.forEach(y=>{if(this.isValidLookup(a))return;const E=this.extractFromKey(y,n),B=E.key;o=B;let F=E.namespaces;this.options.fallbackNS&&(F=F.concat(this.options.fallbackNS));const V=n.count!==void 0&&typeof n.count!="string",ge=V&&!n.ordinal&&n.count===0&&this.pluralResolver.shouldUseIntlApi(),ae=n.context!==void 0&&(typeof n.context=="string"||typeof n.context=="number")&&n.context!=="",we=n.lngs?n.lngs:this.languageUtils.toResolveHierarchy(n.lng||this.language,n.fallbackLng);F.forEach(Y=>{this.isValidLookup(a)||(x=Y,!pp[`${we[0]}-${Y}`]&&this.utils&&this.utils.hasLoadedNamespace&&!this.utils.hasLoadedNamespace(x)&&(pp[`${we[0]}-${Y}`]=!0,this.logger.warn(`key "${o}" for languages "${we.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!!!")),we.forEach(G=>{if(this.isValidLookup(a))return;v=G;const de=[B];if(this.i18nFormat&&this.i18nFormat.addLookupKeys)this.i18nFormat.addLookupKeys(de,B,G,Y,n);else{let me;V&&(me=this.pluralResolver.getSuffix(G,n.count,n));const ee=`${this.options.pluralSeparator}zero`,Te=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(V&&(de.push(B+me),n.ordinal&&me.indexOf(Te)===0&&de.push(B+me.replace(Te,this.options.pluralSeparator)),ge&&de.push(B+ee)),ae){const Ie=`${B}${this.options.contextSeparator}${n.context}`;de.push(Ie),V&&(de.push(Ie+me),n.ordinal&&me.indexOf(Te)===0&&de.push(Ie+me.replace(Te,this.options.pluralSeparator)),ge&&de.push(Ie+ee))}}let he;for(;he=de.pop();)this.isValidLookup(a)||(c=he,a=this.getResource(G,Y,he,n))}))})}),{res:a,usedKey:o,exactUsedKey:c,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 Vd(r){return r.charAt(0).toUpperCase()+r.slice(1)}class hp{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(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]=Vd(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]=Vd(a[1].toLowerCase())),n.indexOf(a[2].toLowerCase())>-1&&(a[2]=Vd(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(o)===0)return c})}),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=[],c=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"&&c(this.formatLanguageCode(e)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&c(this.getScriptPartFromCode(e)),this.options.load!=="currentOnly"&&c(this.getLanguagePartFromCode(e))):typeof e=="string"&&c(this.formatLanguageCode(e)),a.forEach(v=>{o.indexOf(v)<0&&c(this.formatLanguageCode(v))}),o}}let nm=[{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}],rm={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 im=["v1","v2","v3"],am=["v4"],gp={zero:0,one:1,two:2,few:3,many:4,other:5};function om(){const r={};return nm.forEach(e=>{e.lngs.forEach(n=>{r[n]={numbers:e.nr,plurals:rm[e.fc]}})}),r}class sm{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||am.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=om()}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(Zc(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,c)=>gp[o]-gp[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!im.includes(this.options.compatibilityJSON)}}function mp(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&&typeof n=="string"&&(c=Gc(r,n,a),c===void 0&&(c=Gc(e,n,a))),c}class lm{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 n=e.interpolation;this.escape=n.escape!==void 0?n.escape:qg,this.escapeValue=n.escapeValue!==void 0?n.escapeValue:!0,this.useRawValueToEscape=n.useRawValueToEscape!==void 0?n.useRawValueToEscape:!1,this.prefix=n.prefix?Su(n.prefix):n.prefixEscaped||"{{",this.suffix=n.suffix?Su(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?Su(n.nestingPrefix):n.nestingPrefixEscaped||Su("$t("),this.nestingSuffix=n.nestingSuffix?Su(n.nestingSuffix):n.nestingSuffixEscaped||Su(")"),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 c,v,x;const y=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 de=mp(n,y,ae,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(de,void 0,a,{...o,...n,interpolationkey:ae}):de}const we=ae.split(this.formatSeparator),Y=we.shift().trim(),G=we.join(this.formatSeparator).trim();return this.format(mp(n,y,Y,this.options.keySeparator,this.options.ignoreJSONStructure),G,a,{...o,...n,interpolationkey:Y})};this.resetRegExp();const F=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;c=ae.regex.exec(e);){const we=c[1].trim();if(v=B(we),v===void 0)if(typeof F=="function"){const G=F(e,c,o);v=typeof G=="string"?G:""}else if(o&&Object.prototype.hasOwnProperty.call(o,we))v="";else if(V){v=c[0];continue}else this.logger.warn(`missed to pass in variable ${we} for interpolating ${e}`),v="";else typeof v!="string"&&!this.useRawValueToEscape&&(v=lp(v));const Y=ae.safeValue(v);if(e=e.replace(c[0],Y),V?(ae.regex.lastIndex+=v.length,ae.regex.lastIndex-=c[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,c,v;function x(y,E){const B=this.nestingOptionsSeparator;if(y.indexOf(B)<0)return y;const F=y.split(new RegExp(`${B}[ ]*{`));let V=`{${F[1]}`;y=F[0],V=this.interpolate(V,v);const ge=V.match(/'/g),ae=V.match(/"/g);(ge&&ge.length%2===0&&!ae||ae.length%2!==0)&&(V=V.replace(/'/g,'"'));try{v=JSON.parse(V),E&&(v={...E,...v})}catch(we){return this.logger.warn(`failed parsing options string in nesting for key ${y}`,we),`${y}${B}${V}`}return delete v.defaultValue,y}for(;o=this.nestingRegexp.exec(e);){let y=[];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(F=>F.trim());o[1]=B.shift(),y=B,E=!0}if(c=n(x.call(this,o[1].trim(),v),v),c&&o[0]===e&&typeof c!="string")return c;typeof c!="string"&&(c=lp(c)),c||(this.logger.warn(`missed to resolve ${o[1]} for nesting ${e}`),c=""),E&&(c=y.reduce((B,F)=>this.format(B,F,a.lng,{...a,interpolationkey:o[1].trim()}),c.trim())),e=e.replace(o[0],c),this.regexp.lastIndex=0}return e}}function um(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,...y]=v.split(":"),E=y.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 ku(r){const e={};return function(a,o,c){const v=o+JSON.stringify(c);let x=e[v];return x||(x=r(Zc(o),c),e[v]=x),x(a)}}class cm{constructor(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=uo.create("formatter"),this.options=e,this.formats={number:ku((n,a)=>{const o=new Intl.NumberFormat(n,{...a});return c=>o.format(c)}),currency:ku((n,a)=>{const o=new Intl.NumberFormat(n,{...a,style:"currency"});return c=>o.format(c)}),datetime:ku((n,a)=>{const o=new Intl.DateTimeFormat(n,{...a});return c=>o.format(c)}),relativetime:ku((n,a)=>{const o=new Intl.RelativeTimeFormat(n,{...a});return c=>o.format(c,a.range||"day")}),list:ku((n,a)=>{const o=new Intl.ListFormat(n,{...a});return c=>o.format(c)})},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()]=ku(n)}format(e,n,a){let o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return n.split(this.formatSeparator).reduce((x,y)=>{const{formatName:E,formatOptions:B}=um(y);if(this.formats[E]){let F=x;try{const V=o&&o.formatParams&&o.formatParams[o.interpolationkey]||{},ge=V.locale||V.lng||o.locale||o.lng||a;F=this.formats[E](x,ge,{...B,...o,...V})}catch(V){this.logger.warn(V)}return F}else this.logger.warn(`there was no format function for ${E}`);return x},e)}}function dm(r,e){r.pending[e]!==void 0&&(delete r.pending[e],r.pendingCount--)}class fm extends Hc{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={},v={},x={},y={};return e.forEach(E=>{let B=!0;n.forEach(F=>{const V=`${E}|${F}`;!a.reload&&this.store.hasResourceBundle(E,F)?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),c[V]===void 0&&(c[V]=!0),y[F]===void 0&&(y[F]=!0)))}),B||(x[E]=!0)}),(Object.keys(c).length||Object.keys(v).length)&&this.queue.push({pending:v,pendingCount:Object.keys(v).length,loaded:{},errors:[],callback:o}),{toLoad:Object.keys(c),pending:Object.keys(v),toLoadLanguages:Object.keys(x),toLoadNamespaces:Object.keys(y)}}loaded(e,n,a){const o=e.split("|"),c=o[0],v=o[1];n&&this.emit("failedLoading",c,v,n),a&&this.store.addResourceBundle(c,v,a),this.state[e]=n?-1:2;const x={};this.queue.forEach(y=>{Jg(y.loaded,[c],v),dm(y,e),n&&y.errors.push(n),y.pendingCount===0&&!y.done&&(Object.keys(y.loaded).forEach(E=>{x[E]||(x[E]={});const B=y.loaded[E];B.length&&B.forEach(F=>{x[E][F]===void 0&&(x[E][F]=!0)})}),y.done=!0,y.errors.length?y.callback(y.errors):y.callback())}),this.emit("loaded",x),this.queue=this.queue.filter(y=>!y.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,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:c,callback:v});return}this.readingCalls++;const x=(E,B)=>{if(this.readingCalls--,this.waitingReads.length>0){const F=this.waitingReads.shift();this.read(F.lng,F.ns,F.fcName,F.tried,F.wait,F.callback)}if(E&&B&&o<this.maxRetries){setTimeout(()=>{this.read.call(this,e,n,a,o+1,c*2,v)},c);return}v(E,B)},y=this.backend[a].bind(this.backend);if(y.length===2){try{const E=y(e,n);E&&typeof E.then=="function"?E.then(B=>x(null,B)).catch(x):x(null,E)}catch(E){x(E)}return}return y(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 c=this.queueLoad(e,n,a,o);if(!c.toLoad.length)return c.pending.length||o(),null;c.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],c=a[1];this.read(o,c,"read",void 0,void 0,(v,x)=>{v&&this.logger.warn(`${n}loading namespace ${c} for language ${o} failed`,v),!v&&x&&this.logger.log(`${n}loaded namespace ${c} for language ${o}`,x),this.loaded(e,v,x)})}saveMissing(e,n,a,o,c){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 y={...v,isUpdate:c},E=this.backend.create.bind(this.backend);if(E.length<6)try{let B;E.length===5?B=E(e,n,a,o,y):B=E(e,n,a,o),B&&typeof B.then=="function"?B.then(F=>x(null,F)).catch(x):x(null,B)}catch(B){x(B)}else E(e,n,a,o,x,y)}!e||!e[0]||this.store.addResource(e[0],n,a,o)}}}function vp(){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 bp(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 Kc(){}function pm(r){Object.getOwnPropertyNames(Object.getPrototypeOf(r)).forEach(n=>{typeof r[n]=="function"&&(r[n]=r[n].bind(r))})}class ic extends Hc{constructor(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;if(super(),this.options=bp(e),this.services={},this.logger=uo,this.modules={external:[]},pm(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=vp();this.options={...o,...this.options,...bp(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 c(B){return B?typeof B=="function"?new B:B:null}if(!this.options.isClone){this.modules.logger?uo.init(c(this.modules.logger),this.options):uo.init(null,this.options);let B;this.modules.formatter?B=this.modules.formatter:typeof Intl<"u"&&(B=cm);const F=new hp(this.options);this.store=new dp(this.options.resources,this.options);const V=this.services;V.logger=uo,V.resourceStore=this.store,V.languageUtils=F,V.pluralResolver=new sm(F,{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=c(B),V.formatter.init(V,this.options),this.options.interpolation.format=V.formatter.format.bind(V.formatter)),V.interpolator=new lm(this.options),V.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},V.backendConnector=new fm(c(this.modules.backend),V.resourceStore,V,this.options),V.backendConnector.on("*",function(ge){for(var ae=arguments.length,we=new Array(ae>1?ae-1:0),Y=1;Y<ae;Y++)we[Y-1]=arguments[Y];e.emit(ge,...we)}),this.modules.languageDetector&&(V.languageDetector=c(this.modules.languageDetector),V.languageDetector.init&&V.languageDetector.init(V,this.options.detection,this.options)),this.modules.i18nFormat&&(V.i18nFormat=c(this.modules.i18nFormat),V.i18nFormat.init&&V.i18nFormat.init(this)),this.translator=new Yc(this.services,this.options),this.translator.on("*",function(ge){for(var ae=arguments.length,we=new Array(ae>1?ae-1:0),Y=1;Y<ae;Y++)we[Y-1]=arguments[Y];e.emit(ge,...we)}),this.modules.external.forEach(ge=>{ge.init&&ge.init(this)})}if(this.format=this.options.interpolation.format,a||(a=Kc),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 y=rc(),E=()=>{const B=(F,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),y.resolve(V),a(F,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),y}loadResources(e){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Kc;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 c=[],v=x=>{if(!x)return;this.services.languageUtils.toResolveHierarchy(x).forEach(E=>{c.indexOf(E)<0&&c.push(E)})};o?v(o):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(y=>v(y)),this.options.preload&&this.options.preload.forEach(x=>v(x)),this.services.backendConnector.load(c,this.options.ns,x=>{!x&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),a(x)})}else a(null)}reloadResources(e,n,a){const o=rc();return e||(e=this.languages),n||(n=this.options.ns),a||(a=Kc),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"&&fp.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=rc();this.emit("languageChanging",e);const c=y=>{this.language=y,this.languages=this.services.languageUtils.toResolveHierarchy(y),this.resolvedLanguage=void 0,this.setResolvedLanguage(y)},v=(y,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(y,function(){return a.t(...arguments)})},x=y=>{!e&&!y&&this.services.languageDetector&&(y=[]);const E=typeof y=="string"?y:this.services.languageUtils.getBestMatchFromCodes(y);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,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 c=function(v,x){let y;if(typeof x!="object"){for(var E=arguments.length,B=new Array(E>2?E-2:0),F=2;F<E;F++)B[F-2]=arguments[F];y=o.options.overloadTranslationOptionHandler([v,x].concat(B))}else y={...x};y.lng=y.lng||c.lng,y.lngs=y.lngs||c.lngs,y.ns=y.ns||c.ns,y.keyPrefix=y.keyPrefix||a||c.keyPrefix;const V=o.options.keySeparator||".";let ge;return y.keyPrefix&&Array.isArray(v)?ge=v.map(ae=>`${y.keyPrefix}${V}${ae}`):ge=y.keyPrefix?`${y.keyPrefix}${V}${v}`:v,o.t(ge,y)};return typeof e=="string"?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 v=(x,y)=>{const E=this.services.backendConnector.state[`${x}|${y}`];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(c,e)))}loadNamespaces(e,n){const a=rc();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=rc();typeof e=="string"&&(e=[e]);const o=this.options.preload||[],c=e.filter(v=>o.indexOf(v)<0);return c.length?(this.options.preload=o.concat(c),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 hp(vp());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 ic(e,n)}cloneInstance(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Kc;const a=e.forkResourceStore;a&&delete e.forkResourceStore;const o={...this.options,...e,isClone:!0},c=new ic(o);return(e.debug!==void 0||e.prefix!==void 0)&&(c.logger=c.logger.clone(e)),["store","services","language"].forEach(x=>{c[x]=this[x]}),c.services={...this.services},c.services.utils={hasLoadedNamespace:c.hasLoadedNamespace.bind(c)},a&&(c.store=new dp(this.store.data,o),c.services.resourceStore=c.store),c.translator=new Yc(c.services,o),c.translator.on("*",function(x){for(var y=arguments.length,E=new Array(y>1?y-1:0),B=1;B<y;B++)E[B-1]=arguments[B];c.emit(x,...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 cr=ic.createInstance();cr.createInstance=ic.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 er=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function yp(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}function hm(){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 wp={};function Wd(){for(var r=arguments.length,e=new Array(r),n=0;n<r;n++)e[n]=arguments[n];typeof e[0]=="string"&&wp[e[0]]||(typeof e[0]=="string"&&(wp[e[0]]=new Date),hm(...e))}const xp=(r,e)=>()=>{if(r.isInitialized)e();else{const n=()=>{setTimeout(()=>{r.off("initialized",n)},0),e()};r.on("initialized",n)}};function Sp(r,e,n){r.loadNamespaces(e,xp(r,n))}function kp(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,xp(r,a))}function gm(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 v=(x,y)=>{const E=e.services.backendConnector.state[`${x}|${y}`];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(c,r)))}function mm(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}}):gm(r,e,n)}const vm=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,bm={"&":"&","&":"&","<":"<","<":"<",">":">",">":">","'":"'","'":"'",""":'"',""":'"'," ":" "," ":" ","©":"©","©":"©","®":"®","®":"®","…":"…","…":"…","/":"/","/":"/"},ym=r=>bm[r];let Hd={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:r=>r.replace(vm,ym)};function wm(){let r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Hd={...Hd,...r}}function xm(){return Hd}let _p;function Sm(r){_p=r}function km(){return _p}const _m={type:"3rdParty",init(r){wm(r.options.react),Sm(r)}},Em=Ee.createContext();class Cm{constructor(){this.usedNamespaces={}}addUsedNamespaces(e){e.forEach(n=>{this.usedNamespaces[n]||(this.usedNamespaces[n]=!0)})}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}}const Tm=(r,e)=>{const n=Ee.useRef();return Ee.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}=Ee.useContext(Em)||{},c=n||a||km();if(c&&!c.reportNamespaces&&(c.reportNamespaces=new Cm),!c){Wd("You will need to pass in an i18next instance by using initReactI18next");const he=(ee,Te)=>typeof Te=="string"?Te:Te&&typeof Te=="object"&&typeof Te.defaultValue=="string"?Te.defaultValue:Array.isArray(ee)?ee[ee.length-1]:ee,me=[he,{},!1];return me.t=he,me.i18n={},me.ready=!1,me}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 v={...xm(),...c.options.react,...e},{useSuspense:x,keyPrefix:y}=v;let E=r||o||c.options&&c.options.defaultNS;E=typeof E=="string"?[E]:E||["translation"],c.reportNamespaces.addUsedNamespaces&&c.reportNamespaces.addUsedNamespaces(E);const B=(c.isInitialized||c.initializedStoreOnce)&&E.every(he=>mm(he,c,v));function F(){return c.getFixedT(e.lng||null,v.nsMode==="fallback"?E:E[0],y)}const[V,ge]=Ee.useState(F);let ae=E.join();e.lng&&(ae=`${e.lng}${ae}`);const we=Tm(ae),Y=Ee.useRef(!0);Ee.useEffect(()=>{const{bindI18n:he,bindI18nStore:me}=v;Y.current=!0,!B&&!x&&(e.lng?kp(c,e.lng,E,()=>{Y.current&&ge(F)}):Sp(c,E,()=>{Y.current&&ge(F)})),B&&we&&we!==ae&&Y.current&&ge(F);function ee(){Y.current&&ge(F)}return he&&c&&c.on(he,ee),me&&c&&c.store.on(me,ee),()=>{Y.current=!1,he&&c&&he.split(" ").forEach(Te=>c.off(Te,ee)),me&&c&&me.split(" ").forEach(Te=>c.store.off(Te,ee))}},[c,ae]);const G=Ee.useRef(!0);Ee.useEffect(()=>{Y.current&&!G.current&&ge(F),G.current=!1},[c,y]);const de=[V,c,B];if(de.t=V,de.i18n=c,de.ready=B,B||!B&&!x)return de;throw new Promise(he=>{e.lng?kp(c,e.lng,E,()=>he()):Sp(c,E,()=>he())})}const Rm={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(K,B){typeof exports=="object"&&typeof module<"u"?B(exports,require("react"),require("react/jsx-runtime"),require("react-shadow")):typeof define=="function"&&define.amd?define(["exports","react","react/jsx-runtime","react-shadow"],B):(K=typeof globalThis<"u"?globalThis:K||self,B(K["@roqua/quby-frontend"]={},K.React,K.ReactJsxRuntime,K.ReactShadow))})(this,function(K,B,b,Wd){var qi;"use strict";var U_=Object.defineProperty;var G_=(K,B,b)=>B in K?U_(K,B,{enumerable:!0,configurable:!0,writable:!0,value:b}):K[B]=b;var pe=(K,B,b)=>(G_(K,typeof B!="symbol"?B+"":B,b),b),K_=(K,B,b)=>{if(!B.has(K))throw TypeError("Cannot "+b)};var Kd=(K,B,b)=>(K_(K,B,"read from private field"),b?b.call(K):B.get(K)),Zd=(K,B,b)=>{if(B.has(K))throw TypeError("Cannot add the same private member more than once");B instanceof WeakSet?B.add(K):B.set(K,b)};function $d(r){const t=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(t,n,a.get?a:{enumerable:!0,get:()=>r[n]})}}return t.default=r,Object.freeze(t)}const Er=$d(B),Hd={type:"logger",log(r){this.output("log",r)},warn(r){this.output("warn",r)},error(r){this.output("error",r)},output(r,t){console&&console[r]&&console[r].apply(console,t)}};class di{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.init(t,n)}init(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.prefix=n.prefix||"i18next:",this.logger=t||Hd,this.options=n,this.debug=n.debug}log(){for(var t=arguments.length,n=new Array(t),a=0;a<t;a++)n[a]=arguments[a];return this.forward(n,"log","",!0)}warn(){for(var t=arguments.length,n=new Array(t),a=0;a<t;a++)n[a]=arguments[a];return this.forward(n,"warn","",!0)}error(){for(var t=arguments.length,n=new Array(t),a=0;a<t;a++)n[a]=arguments[a];return this.forward(n,"error","")}deprecate(){for(var t=arguments.length,n=new Array(t),a=0;a<t;a++)n[a]=arguments[a];return this.forward(n,"warn","WARNING DEPRECATED: ",!0)}forward(t,n,a,o){return o&&!this.debug?null:(typeof t[0]=="string"&&(t[0]=`${a}${this.prefix} ${t[0]}`),this.logger[n](t))}create(t){return new di(this.logger,{prefix:`${this.prefix}:${t}:`,...this.options})}clone(t){return t=t||this.options,t.prefix=t.prefix||this.prefix,new di(this.logger,t)}}var jt=new di;class pi{constructor(){this.observers={}}on(t,n){return t.split(" ").forEach(a=>{this.observers[a]=this.observers[a]||[],this.observers[a].push(n)}),this}off(t,n){if(this.observers[t]){if(!n){delete this.observers[t];return}this.observers[t]=this.observers[t].filter(a=>a!==n)}}emit(t){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[t]&&[].concat(this.observers[t]).forEach(c=>{c(...a)}),this.observers["*"]&&[].concat(this.observers["*"]).forEach(c=>{c.apply(c,[t,...a])})}}function Ar(){let r,t;const n=new Promise((a,o)=>{r=a,t=o});return n.resolve=r,n.reject=t,n}function Zo(r){return r==null?"":""+r}function qd(r,t,n){r.forEach(a=>{t[a]&&(n[a]=t[a])})}function Ua(r,t,n){function a(c){return c&&c.indexOf("###")>-1?c.replace(/###/g,"."):c}function o(){return!r||typeof r=="string"}const l=typeof t!="string"?[].concat(t):t.split(".");for(;l.length>1;){if(o())return{};const c=a(l.shift());!r[c]&&n&&(r[c]=new n),Object.prototype.hasOwnProperty.call(r,c)?r=r[c]:r={}}return o()?{}:{obj:r,k:a(l.shift())}}function Wo(r,t,n){const{obj:a,k:o}=Ua(r,t,Object);a[o]=n}function jd(r,t,n,a){const{obj:o,k:l}=Ua(r,t,Object);o[l]=o[l]||[],a&&(o[l]=o[l].concat(n)),a||o[l].push(n)}function gi(r,t){const{obj:n,k:a}=Ua(r,t);if(n)return n[a]}function Jd(r,t,n){const a=gi(r,n);return a!==void 0?a:gi(t,n)}function $o(r,t,n){for(const a in t)a!=="__proto__"&&a!=="constructor"&&(a in r?typeof r[a]=="string"||r[a]instanceof String||typeof t[a]=="string"||t[a]instanceof String?n&&(r[a]=t[a]):$o(r[a],t[a],n):r[a]=t[a]);return r}function Xn(r){return r.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var Yd={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};function Qd(r){return typeof r=="string"?r.replace(/[&<>"'\/]/g,t=>Yd[t]):r}const Xd=[" ",",","?","!",";"];function ep(r,t,n){t=t||"",n=n||"";const a=Xd.filter(c=>t.indexOf(c)<0&&n.indexOf(c)<0);if(a.length===0)return!0;const o=new RegExp(`(${a.map(c=>c==="?"?"\\?":c).join("|")})`);let l=!o.test(r);if(!l){const c=r.indexOf(n);c>0&&!o.test(r.substring(0,c))&&(l=!0)}return l}function hi(r,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:".";if(!r)return;if(r[t])return r[t];const a=t.split(n);let o=r;for(let l=0;l<a.length;++l){if(!o||typeof o[a[l]]=="string"&&l+1<a.length)return;if(o[a[l]]===void 0){let c=2,p=a.slice(l,l+c).join(n),f=o[p];for(;f===void 0&&a.length>l+c;)c++,p=a.slice(l,l+c).join(n),f=o[p];if(f===void 0)return;if(f===null)return null;if(t.endsWith(p)){if(typeof f=="string")return f;if(p&&typeof f[p]=="string")return f[p]}const m=a.slice(l+c).join(n);return m?hi(f,m,n):void 0}o=o[a[l]]}return o}function fi(r){return r&&r.indexOf("_")>0?r.replace("_","-"):r}class Ho extends pi{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{ns:["translation"],defaultNS:"translation"};super(),this.data=t||{},this.options=n,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.options.ignoreJSONStructure===void 0&&(this.options.ignoreJSONStructure=!0)}addNamespaces(t){this.options.ns.indexOf(t)<0&&this.options.ns.push(t)}removeNamespaces(t){const n=this.options.ns.indexOf(t);n>-1&&this.options.ns.splice(n,1)}getResource(t,n,a){let o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const l=o.keySeparator!==void 0?o.keySeparator:this.options.keySeparator,c=o.ignoreJSONStructure!==void 0?o.ignoreJSONStructure:this.options.ignoreJSONStructure;let p=[t,n];a&&typeof a!="string"&&(p=p.concat(a)),a&&typeof a=="string"&&(p=p.concat(l?a.split(l):a)),t.indexOf(".")>-1&&(p=t.split("."));const f=gi(this.data,p);return f||!c||typeof a!="string"?f:hi(this.data&&this.data[t]&&this.data[t][n],a,l)}addResource(t,n,a,o){let l=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{silent:!1};const c=l.keySeparator!==void 0?l.keySeparator:this.options.keySeparator;let p=[t,n];a&&(p=p.concat(c?a.split(c):a)),t.indexOf(".")>-1&&(p=t.split("."),o=n,n=p[1]),this.addNamespaces(n),Wo(this.data,p,o),l.silent||this.emit("added",t,n,a,o)}addResources(t,n,a){let o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{silent:!1};for(const l in a)(typeof a[l]=="string"||Object.prototype.toString.apply(a[l])==="[object Array]")&&this.addResource(t,n,l,a[l],{silent:!0});o.silent||this.emit("added",t,n,a)}addResourceBundle(t,n,a,o,l){let c=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{silent:!1},p=[t,n];t.indexOf(".")>-1&&(p=t.split("."),o=a,a=n,n=p[1]),this.addNamespaces(n);let f=gi(this.data,p)||{};o?$o(f,a,l):f={...f,...a},Wo(this.data,p,f),c.silent||this.emit("added",t,n,a)}removeResourceBundle(t,n){this.hasResourceBundle(t,n)&&delete this.data[t][n],this.removeNamespaces(n),this.emit("removed",t,n)}hasResourceBundle(t,n){return this.getResource(t,n)!==void 0}getResourceBundle(t,n){return n||(n=this.options.defaultNS),this.options.compatibilityAPI==="v1"?{...this.getResource(t,n)}:this.getResource(t,n)}getDataByLanguage(t){return this.data[t]}hasLanguageSomeTranslations(t){const n=this.getDataByLanguage(t);return!!(n&&Object.keys(n)||[]).find(o=>n[o]&&Object.keys(n[o]).length>0)}toJSON(){return this.data}}var qo={processors:{},addPostProcessor(r){this.processors[r.name]=r},handle(r,t,n,a,o){return r.forEach(l=>{this.processors[l]&&(t=this.processors[l].process(t,n,a,o))}),t}};const jo={};class mi extends pi{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};super(),qd(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],t,this),this.options=n,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.logger=jt.create("translator")}changeLanguage(t){t&&(this.language=t)}exists(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};if(t==null)return!1;const a=this.resolve(t,n);return a&&a.res!==void 0}extractFromKey(t,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 l=n.ns||this.options.defaultNS||[];const c=a&&t.indexOf(a)>-1,p=!this.options.userDefinedKeySeparator&&!n.keySeparator&&!this.options.userDefinedNsSeparator&&!n.nsSeparator&&!ep(t,a,o);if(c&&!p){const f=t.match(this.interpolator.nestingRegexp);if(f&&f.length>0)return{key:t,namespaces:l};const m=t.split(a);(a!==o||a===o&&this.options.ns.indexOf(m[0])>-1)&&(l=m.shift()),t=m.join(o)}return typeof l=="string"&&(l=[l]),{key:t,namespaces:l}}translate(t,n,a){if(typeof n!="object"&&this.options.overloadTranslationOptionHandler&&(n=this.options.overloadTranslationOptionHandler(arguments)),typeof n=="object"&&(n={...n}),n||(n={}),t==null)return"";Array.isArray(t)||(t=[String(t)]);const o=n.returnDetails!==void 0?n.returnDetails:this.options.returnDetails,l=n.keySeparator!==void 0?n.keySeparator:this.options.keySeparator,{key:c,namespaces:p}=this.extractFromKey(t[t.length-1],n),f=p[p.length-1],m=n.lng||this.language,w=n.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(m&&m.toLowerCase()==="cimode"){if(w){const Z=n.nsSeparator||this.options.nsSeparator;return o?{res:`${f}${Z}${c}`,usedKey:c,exactUsedKey:c,usedLng:m,usedNS:f}:`${f}${Z}${c}`}return o?{res:c,usedKey:c,exactUsedKey:c,usedLng:m,usedNS:f}:c}const k=this.resolve(t,n);let S=k&&k.res;const F=k&&k.usedKey||c,T=k&&k.exactUsedKey||c,q=Object.prototype.toString.apply(S),U=["[object Number]","[object Function]","[object RegExp]"],se=n.joinArrays!==void 0?n.joinArrays:this.options.joinArrays,$=!this.i18nFormat||this.i18nFormat.handleAsObject;if($&&S&&(typeof S!="string"&&typeof S!="boolean"&&typeof S!="number")&&U.indexOf(q)<0&&!(typeof se=="string"&&q==="[object Array]")){if(!n.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const Z=this.options.returnedObjectHandler?this.options.returnedObjectHandler(F,S,{...n,ns:p}):`key '${c} (${this.language})' returned an object instead of string.`;return o?(k.res=Z,k):Z}if(l){const Z=q==="[object Array]",Y=Z?[]:{},re=Z?T:F;for(const ce in S)if(Object.prototype.hasOwnProperty.call(S,ce)){const ot=`${re}${l}${ce}`;Y[ce]=this.translate(ot,{...n,joinArrays:!1,ns:p}),Y[ce]===ot&&(Y[ce]=S[ce])}S=Y}}else if($&&typeof se=="string"&&q==="[object Array]")S=S.join(se),S&&(S=this.extendTranslation(S,t,n,a));else{let Z=!1,Y=!1;const re=n.count!==void 0&&typeof n.count!="string",ce=mi.hasDefaultValue(n),ot=re?this.pluralResolver.getSuffix(m,n.count,n):"",Kt=n.ordinal&&re?this.pluralResolver.getSuffix(m,n.count,{ordinal:!1}):"",We=n[`defaultValue${ot}`]||n[`defaultValue${Kt}`]||n.defaultValue;!this.isValidLookup(S)&&ce&&(Z=!0,S=We),this.isValidLookup(S)||(Y=!0,S=c);const D=(n.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&Y?void 0:S,W=ce&&We!==S&&this.options.updateMissing;if(Y||Z||W){if(this.logger.log(W?"updateKey":"missingKey",m,f,c,W?We:S),l){const j=this.resolve(c,{...n,keySeparator:!1});j&&j.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 ie=[];const de=this.languageUtils.getFallbackCodes(this.options.fallbackLng,n.lng||this.language);if(this.options.saveMissingTo==="fallback"&&de&&de[0])for(let j=0;j<de.length;j++)ie.push(de[j]);else this.options.saveMissingTo==="all"?ie=this.languageUtils.toResolveHierarchy(n.lng||this.language):ie.push(n.lng||this.language);const oe=(j,te,Pe)=>{const ke=ce&&Pe!==S?Pe:D;this.options.missingKeyHandler?this.options.missingKeyHandler(j,f,te,ke,W,n):this.backendConnector&&this.backendConnector.saveMissing&&this.backendConnector.saveMissing(j,f,te,ke,W,n),this.emit("missingKey",j,f,te,S)};this.options.saveMissing&&(this.options.saveMissingPlurals&&re?ie.forEach(j=>{this.pluralResolver.getSuffixes(j,n).forEach(te=>{oe([j],c+te,n[`defaultValue${te}`]||We)})}):oe(ie,c,We))}S=this.extendTranslation(S,t,n,k,a),Y&&S===c&&this.options.appendNamespaceToMissingKey&&(S=`${f}:${c}`),(Y||Z)&&this.options.parseMissingKeyHandler&&(this.options.compatibilityAPI!=="v1"?S=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${f}:${c}`:c,Z?S:void 0):S=this.options.parseMissingKeyHandler(S))}return o?(k.res=S,k):S}extendTranslation(t,n,a,o,l){var c=this;if(this.i18nFormat&&this.i18nFormat.parse)t=this.i18nFormat.parse(t,{...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 m=typeof t=="string"&&(a&&a.interpolation&&a.interpolation.skipOnVariables!==void 0?a.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let w;if(m){const S=t.match(this.interpolator.nestingRegexp);w=S&&S.length}let k=a.replace&&typeof a.replace!="string"?a.replace:a;if(this.options.interpolation.defaultVariables&&(k={...this.options.interpolation.defaultVariables,...k}),t=this.interpolator.interpolate(t,k,a.lng||this.language,a),m){const S=t.match(this.interpolator.nestingRegexp),F=S&&S.length;w<F&&(a.nest=!1)}!a.lng&&this.options.compatibilityAPI!=="v1"&&o&&o.res&&(a.lng=o.usedLng),a.nest!==!1&&(t=this.interpolator.nest(t,function(){for(var S=arguments.length,F=new Array(S),T=0;T<S;T++)F[T]=arguments[T];return l&&l[0]===F[0]&&!a.context?(c.logger.warn(`It seems you are nesting recursively key: ${F[0]} in key: ${n[0]}`),null):c.translate(...F,n)},a)),a.interpolation&&this.interpolator.reset()}const p=a.postProcess||this.options.postProcess,f=typeof p=="string"?[p]:p;return t!=null&&f&&f.length&&a.applyPostProcessor!==!1&&(t=qo.handle(f,t,n,this.options&&this.options.postProcessPassResolved?{i18nResolved:o,...a}:a,this)),t}resolve(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a,o,l,c,p;return typeof t=="string"&&(t=[t]),t.forEach(f=>{if(this.isValidLookup(a))return;const m=this.extractFromKey(f,n),w=m.key;o=w;let k=m.namespaces;this.options.fallbackNS&&(k=k.concat(this.options.fallbackNS));const S=n.count!==void 0&&typeof n.count!="string",F=S&&!n.ordinal&&n.count===0&&this.pluralResolver.shouldUseIntlApi(),T=n.context!==void 0&&(typeof n.context=="string"||typeof n.context=="number")&&n.context!=="",q=n.lngs?n.lngs:this.languageUtils.toResolveHierarchy(n.lng||this.language,n.fallbackLng);k.forEach(U=>{this.isValidLookup(a)||(p=U,!jo[`${q[0]}-${U}`]&&this.utils&&this.utils.hasLoadedNamespace&&!this.utils.hasLoadedNamespace(p)&&(jo[`${q[0]}-${U}`]=!0,this.logger.warn(`key "${o}" for languages "${q.join(", ")}" won't get resolved as namespace "${p}" 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!!!")),q.forEach(se=>{if(this.isValidLookup(a))return;c=se;const $=[w];if(this.i18nFormat&&this.i18nFormat.addLookupKeys)this.i18nFormat.addLookupKeys($,w,se,U,n);else{let Z;S&&(Z=this.pluralResolver.getSuffix(se,n.count,n));const Y=`${this.options.pluralSeparator}zero`,re=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(S&&($.push(w+Z),n.ordinal&&Z.indexOf(re)===0&&$.push(w+Z.replace(re,this.options.pluralSeparator)),F&&$.push(w+Y)),T){const ce=`${w}${this.options.contextSeparator}${n.context}`;$.push(ce),S&&($.push(ce+Z),n.ordinal&&Z.indexOf(re)===0&&$.push(ce+Z.replace(re,this.options.pluralSeparator)),F&&$.push(ce+Y))}}let z;for(;z=$.pop();)this.isValidLookup(a)||(l=z,a=this.getResource(se,U,z,n))}))})}),{res:a,usedKey:o,exactUsedKey:l,usedLng:c,usedNS:p}}isValidLookup(t){return t!==void 0&&!(!this.options.returnNull&&t===null)&&!(!this.options.returnEmptyString&&t==="")}getResource(t,n,a){let o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(t,n,a,o):this.resourceStore.getResource(t,n,a,o)}static hasDefaultValue(t){const n="defaultValue";for(const a in t)if(Object.prototype.hasOwnProperty.call(t,a)&&n===a.substring(0,n.length)&&t[a]!==void 0)return!0;return!1}}function Ga(r){return r.charAt(0).toUpperCase()+r.slice(1)}class Jo{constructor(t){this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=jt.create("languageUtils")}getScriptPartFromCode(t){if(t=fi(t),!t||t.indexOf("-")<0)return null;const n=t.split("-");return n.length===2||(n.pop(),n[n.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(n.join("-"))}getLanguagePartFromCode(t){if(t=fi(t),!t||t.indexOf("-")<0)return t;const n=t.split("-");return this.formatLanguageCode(n[0])}formatLanguageCode(t){if(typeof t=="string"&&t.indexOf("-")>-1){const n=["hans","hant","latn","cyrl","cans","mong","arab"];let a=t.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]=Ga(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]=Ga(a[1].toLowerCase())),n.indexOf(a[2].toLowerCase())>-1&&(a[2]=Ga(a[2].toLowerCase()))),a.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?t.toLowerCase():t}isSupportedCode(t){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(t=this.getLanguagePartFromCode(t)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(t)>-1}getBestMatchFromCodes(t){if(!t)return null;let n;return t.forEach(a=>{if(n)return;const o=this.formatLanguageCode(a);(!this.options.supportedLngs||this.isSupportedCode(o))&&(n=o)}),!n&&this.options.supportedLngs&&t.forEach(a=>{if(n)return;const o=this.getLanguagePartFromCode(a);if(this.isSupportedCode(o))return n=o;n=this.options.supportedLngs.find(l=>{if(l===o)return l;if(!(l.indexOf("-")<0&&o.indexOf("-")<0)&&l.indexOf(o)===0)return l})}),n||(n=this.getFallbackCodes(this.options.fallbackLng)[0]),n}getFallbackCodes(t,n){if(!t)return[];if(typeof t=="function"&&(t=t(n)),typeof t=="string"&&(t=[t]),Object.prototype.toString.apply(t)==="[object Array]")return t;if(!n)return t.default||[];let a=t[n];return a||(a=t[this.getScriptPartFromCode(n)]),a||(a=t[this.formatLanguageCode(n)]),a||(a=t[this.getLanguagePartFromCode(n)]),a||(a=t.default),a||[]}toResolveHierarchy(t,n){const a=this.getFallbackCodes(n||this.options.fallbackLng||[],t),o=[],l=c=>{c&&(this.isSupportedCode(c)?o.push(c):this.logger.warn(`rejecting language code not found in supportedLngs: ${c}`))};return typeof t=="string"&&(t.indexOf("-")>-1||t.indexOf("_")>-1)?(this.options.load!=="languageOnly"&&l(this.formatLanguageCode(t)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&l(this.getScriptPartFromCode(t)),this.options.load!=="currentOnly"&&l(this.getLanguagePartFromCode(t))):typeof t=="string"&&l(this.formatLanguageCode(t)),a.forEach(c=>{o.indexOf(c)<0&&l(this.formatLanguageCode(c))}),o}}let tp=[{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}],np={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 rp=["v1","v2","v3"],ip=["v4"],Yo={zero:0,one:1,two:2,few:3,many:4,other:5};function ap(){const r={};return tp.forEach(t=>{t.lngs.forEach(n=>{r[n]={numbers:t.nr,plurals:np[t.fc]}})}),r}class sp{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.languageUtils=t,this.options=n,this.logger=jt.create("pluralResolver"),(!this.options.compatibilityJSON||ip.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=ap()}addRule(t,n){this.rules[t]=n}getRule(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.shouldUseIntlApi())try{return new Intl.PluralRules(fi(t),{type:n.ordinal?"ordinal":"cardinal"})}catch{return}return this.rules[t]||this.rules[this.languageUtils.getLanguagePartFromCode(t)]}needsPlural(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const a=this.getRule(t,n);return this.shouldUseIntlApi()?a&&a.resolvedOptions().pluralCategories.length>1:a&&a.numbers.length>1}getPluralFormsOfKey(t,n){let a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.getSuffixes(t,a).map(o=>`${n}${o}`)}getSuffixes(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const a=this.getRule(t,n);return a?this.shouldUseIntlApi()?a.resolvedOptions().pluralCategories.sort((o,l)=>Yo[o]-Yo[l]).map(o=>`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:""}${o}`):a.numbers.map(o=>this.getSuffix(t,o,n)):[]}getSuffix(t,n){let a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const o=this.getRule(t,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: ${t}`),"")}getSuffixRetroCompatible(t,n){const a=t.noAbs?t.plurals(n):t.plurals(Math.abs(n));let o=t.numbers[a];this.options.simplifyPluralSuffix&&t.numbers.length===2&&t.numbers[0]===1&&(o===2?o="plural":o===1&&(o=""));const l=()=>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()}`:l():this.options.compatibilityJSON==="v2"||this.options.simplifyPluralSuffix&&t.numbers.length===2&&t.numbers[0]===1?l():this.options.prepend&&a.toString()?this.options.prepend+a.toString():a.toString()}shouldUseIntlApi(){return!rp.includes(this.options.compatibilityJSON)}}function Qo(r,t,n){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:".",o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,l=Jd(r,t,n);return!l&&o&&typeof n=="string"&&(l=hi(r,n,a),l===void 0&&(l=hi(t,n,a))),l}class op{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=jt.create("interpolator"),this.options=t,this.format=t.interpolation&&t.interpolation.format||(n=>n),this.init(t)}init(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};t.interpolation||(t.interpolation={escapeValue:!0});const n=t.interpolation;this.escape=n.escape!==void 0?n.escape:Qd,this.escapeValue=n.escapeValue!==void 0?n.escapeValue:!0,this.useRawValueToEscape=n.useRawValueToEscape!==void 0?n.useRawValueToEscape:!1,this.prefix=n.prefix?Xn(n.prefix):n.prefixEscaped||"{{",this.suffix=n.suffix?Xn(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?Xn(n.nestingPrefix):n.nestingPrefixEscaped||Xn("$t("),this.nestingSuffix=n.nestingSuffix?Xn(n.nestingSuffix):n.nestingSuffixEscaped||Xn(")"),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 t=`${this.prefix}(.+?)${this.suffix}`;this.regexp=new RegExp(t,"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(t,n,a,o){let l,c,p;const f=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function m(T){return T.replace(/\$/g,"$$$$")}const w=T=>{if(T.indexOf(this.formatSeparator)<0){const $=Qo(n,f,T,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format($,void 0,a,{...o,...n,interpolationkey:T}):$}const q=T.split(this.formatSeparator),U=q.shift().trim(),se=q.join(this.formatSeparator).trim();return this.format(Qo(n,f,U,this.options.keySeparator,this.options.ignoreJSONStructure),se,a,{...o,...n,interpolationkey:U})};this.resetRegExp();const k=o&&o.missingInterpolationHandler||this.options.missingInterpolationHandler,S=o&&o.interpolation&&o.interpolation.skipOnVariables!==void 0?o.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:T=>m(T)},{regex:this.regexp,safeValue:T=>this.escapeValue?m(this.escape(T)):m(T)}].forEach(T=>{for(p=0;l=T.regex.exec(t);){const q=l[1].trim();if(c=w(q),c===void 0)if(typeof k=="function"){const se=k(t,l,o);c=typeof se=="string"?se:""}else if(o&&Object.prototype.hasOwnProperty.call(o,q))c="";else if(S){c=l[0];continue}else this.logger.warn(`missed to pass in variable ${q} for interpolating ${t}`),c="";else typeof c!="string"&&!this.useRawValueToEscape&&(c=Zo(c));const U=T.safeValue(c);if(t=t.replace(l[0],U),S?(T.regex.lastIndex+=c.length,T.regex.lastIndex-=l[0].length):T.regex.lastIndex=0,p++,p>=this.maxReplaces)break}}),t}nest(t,n){let a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o,l,c;function p(f,m){const w=this.nestingOptionsSeparator;if(f.indexOf(w)<0)return f;const k=f.split(new RegExp(`${w}[ ]*{`));let S=`{${k[1]}`;f=k[0],S=this.interpolate(S,c);const F=S.match(/'/g),T=S.match(/"/g);(F&&F.length%2===0&&!T||T.length%2!==0)&&(S=S.replace(/'/g,'"'));try{c=JSON.parse(S),m&&(c={...m,...c})}catch(q){return this.logger.warn(`failed parsing options string in nesting for key ${f}`,q),`${f}${w}${S}`}return delete c.defaultValue,f}for(;o=this.nestingRegexp.exec(t);){let f=[];c={...a},c=c.replace&&typeof c.replace!="string"?c.replace:c,c.applyPostProcessor=!1,delete c.defaultValue;let m=!1;if(o[0].indexOf(this.formatSeparator)!==-1&&!/{.*}/.test(o[1])){const w=o[1].split(this.formatSeparator).map(k=>k.trim());o[1]=w.shift(),f=w,m=!0}if(l=n(p.call(this,o[1].trim(),c),c),l&&o[0]===t&&typeof l!="string")return l;typeof l!="string"&&(l=Zo(l)),l||(this.logger.warn(`missed to resolve ${o[1]} for nesting ${t}`),l=""),m&&(l=f.reduce((w,k)=>this.format(w,k,a.lng,{...a,interpolationkey:o[1].trim()}),l.trim())),t=t.replace(o[0],l),this.regexp.lastIndex=0}return t}}function lp(r){let t=r.toLowerCase().trim();const n={};if(r.indexOf("(")>-1){const a=r.split("(");t=a[0].toLowerCase().trim();const o=a[1].substring(0,a[1].length-1);t==="currency"&&o.indexOf(":")<0?n.currency||(n.currency=o.trim()):t==="relativetime"&&o.indexOf(":")<0?n.range||(n.range=o.trim()):o.split(";").forEach(c=>{if(!c)return;const[p,...f]=c.split(":"),m=f.join(":").trim().replace(/^'+|'+$/g,"");n[p.trim()]||(n[p.trim()]=m),m==="false"&&(n[p.trim()]=!1),m==="true"&&(n[p.trim()]=!0),isNaN(m)||(n[p.trim()]=parseInt(m,10))})}return{formatName:t,formatOptions:n}}function er(r){const t={};return function(a,o,l){const c=o+JSON.stringify(l);let p=t[c];return p||(p=r(fi(o),l),t[c]=p),p(a)}}class up{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=jt.create("formatter"),this.options=t,this.formats={number:er((n,a)=>{const o=new Intl.NumberFormat(n,{...a});return l=>o.format(l)}),currency:er((n,a)=>{const o=new Intl.NumberFormat(n,{...a,style:"currency"});return l=>o.format(l)}),datetime:er((n,a)=>{const o=new Intl.DateTimeFormat(n,{...a});return l=>o.format(l)}),relativetime:er((n,a)=>{const o=new Intl.RelativeTimeFormat(n,{...a});return l=>o.format(l,a.range||"day")}),list:er((n,a)=>{const o=new Intl.ListFormat(n,{...a});return l=>o.format(l)})},this.init(t)}init(t){const a=(arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}}).interpolation;this.formatSeparator=a.formatSeparator?a.formatSeparator:a.formatSeparator||","}add(t,n){this.formats[t.toLowerCase().trim()]=n}addCached(t,n){this.formats[t.toLowerCase().trim()]=er(n)}format(t,n,a){let o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return n.split(this.formatSeparator).reduce((p,f)=>{const{formatName:m,formatOptions:w}=lp(f);if(this.formats[m]){let k=p;try{const S=o&&o.formatParams&&o.formatParams[o.interpolationkey]||{},F=S.locale||S.lng||o.locale||o.lng||a;k=this.formats[m](p,F,{...w,...o,...S})}catch(S){this.logger.warn(S)}return k}else this.logger.warn(`there was no format function for ${m}`);return p},t)}}function cp(r,t){r.pending[t]!==void 0&&(delete r.pending[t],r.pendingCount--)}class dp extends pi{constructor(t,n,a){let o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};super(),this.backend=t,this.store=n,this.services=a,this.languageUtils=a.languageUtils,this.options=o,this.logger=jt.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(t,n,a,o){const l={},c={},p={},f={};return t.forEach(m=>{let w=!0;n.forEach(k=>{const S=`${m}|${k}`;!a.reload&&this.store.hasResourceBundle(m,k)?this.state[S]=2:this.state[S]<0||(this.state[S]===1?c[S]===void 0&&(c[S]=!0):(this.state[S]=1,w=!1,c[S]===void 0&&(c[S]=!0),l[S]===void 0&&(l[S]=!0),f[k]===void 0&&(f[k]=!0)))}),w||(p[m]=!0)}),(Object.keys(l).length||Object.keys(c).length)&&this.queue.push({pending:c,pendingCount:Object.keys(c).length,loaded:{},errors:[],callback:o}),{toLoad:Object.keys(l),pending:Object.keys(c),toLoadLanguages:Object.keys(p),toLoadNamespaces:Object.keys(f)}}loaded(t,n,a){const o=t.split("|"),l=o[0],c=o[1];n&&this.emit("failedLoading",l,c,n),a&&this.store.addResourceBundle(l,c,a),this.state[t]=n?-1:2;const p={};this.queue.forEach(f=>{jd(f.loaded,[l],c),cp(f,t),n&&f.errors.push(n),f.pendingCount===0&&!f.done&&(Object.keys(f.loaded).forEach(m=>{p[m]||(p[m]={});const w=f.loaded[m];w.length&&w.forEach(k=>{p[m][k]===void 0&&(p[m][k]=!0)})}),f.done=!0,f.errors.length?f.callback(f.errors):f.callback())}),this.emit("loaded",p),this.queue=this.queue.filter(f=>!f.done)}read(t,n,a){let o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,l=arguments.length>4&&arguments[4]!==void 0?arguments[4]:this.retryTimeout,c=arguments.length>5?arguments[5]:void 0;if(!t.length)return c(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:t,ns:n,fcName:a,tried:o,wait:l,callback:c});return}this.readingCalls++;const p=(m,w)=>{if(this.readingCalls--,this.waitingReads.length>0){const k=this.waitingReads.shift();this.read(k.lng,k.ns,k.fcName,k.tried,k.wait,k.callback)}if(m&&w&&o<this.maxRetries){setTimeout(()=>{this.read.call(this,t,n,a,o+1,l*2,c)},l);return}c(m,w)},f=this.backend[a].bind(this.backend);if(f.length===2){try{const m=f(t,n);m&&typeof m.then=="function"?m.then(w=>p(null,w)).catch(p):p(null,m)}catch(m){p(m)}return}return f(t,n,p)}prepareLoading(t,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 t=="string"&&(t=this.languageUtils.toResolveHierarchy(t)),typeof n=="string"&&(n=[n]);const l=this.queueLoad(t,n,a,o);if(!l.toLoad.length)return l.pending.length||o(),null;l.toLoad.forEach(c=>{this.loadOne(c)})}load(t,n,a){this.prepareLoading(t,n,{},a)}reload(t,n,a){this.prepareLoading(t,n,{reload:!0},a)}loadOne(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const a=t.split("|"),o=a[0],l=a[1];this.read(o,l,"read",void 0,void 0,(c,p)=>{c&&this.logger.warn(`${n}loading namespace ${l} for language ${o} failed`,c),!c&&p&&this.logger.log(`${n}loaded namespace ${l} for language ${o}`,p),this.loaded(t,c,p)})}saveMissing(t,n,a,o,l){let c=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},p=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 f={...c,isUpdate:l},m=this.backend.create.bind(this.backend);if(m.length<6)try{let w;m.length===5?w=m(t,n,a,o,f):w=m(t,n,a,o),w&&typeof w.then=="function"?w.then(k=>p(null,k)).catch(p):p(null,w)}catch(w){p(w)}else m(t,n,a,o,p,f)}!t||!t[0]||this.store.addResource(t[0],n,a,o)}}}function Xo(){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(t){let n={};if(typeof t[1]=="object"&&(n=t[1]),typeof t[1]=="string"&&(n.defaultValue=t[1]),typeof t[2]=="string"&&(n.tDescription=t[2]),typeof t[2]=="object"||typeof t[3]=="object"){const a=t[3]||t[2];Object.keys(a).forEach(o=>{n[o]=a[o]})}return n},interpolation:{escapeValue:!0,format:(r,t,n,a)=>r,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}}function el(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 bi(){}function pp(r){Object.getOwnPropertyNames(Object.getPrototypeOf(r)).forEach(n=>{typeof r[n]=="function"&&(r[n]=r[n].bind(r))})}class Or extends pi{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;if(super(),this.options=el(t),this.services={},this.logger=jt,this.modules={external:[]},pp(this),n&&!this.isInitialized&&!t.isClone){if(!this.options.initImmediate)return this.init(t,n),this;setTimeout(()=>{this.init(t,n)},0)}}init(){var t=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=Xo();this.options={...o,...this.options,...el(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 l(w){return w?typeof w=="function"?new w:w:null}if(!this.options.isClone){this.modules.logger?jt.init(l(this.modules.logger),this.options):jt.init(null,this.options);let w;this.modules.formatter?w=this.modules.formatter:typeof Intl<"u"&&(w=up);const k=new Jo(this.options);this.store=new Ho(this.options.resources,this.options);const S=this.services;S.logger=jt,S.resourceStore=this.store,S.languageUtils=k,S.pluralResolver=new sp(k,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),w&&(!this.options.interpolation.format||this.options.interpolation.format===o.interpolation.format)&&(S.formatter=l(w),S.formatter.init(S,this.options),this.options.interpolation.format=S.formatter.format.bind(S.formatter)),S.interpolator=new op(this.options),S.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},S.backendConnector=new dp(l(this.modules.backend),S.resourceStore,S,this.options),S.backendConnector.on("*",function(F){for(var T=arguments.length,q=new Array(T>1?T-1:0),U=1;U<T;U++)q[U-1]=arguments[U];t.emit(F,...q)}),this.modules.languageDetector&&(S.languageDetector=l(this.modules.languageDetector),S.languageDetector.init&&S.languageDetector.init(S,this.options.detection,this.options)),this.modules.i18nFormat&&(S.i18nFormat=l(this.modules.i18nFormat),S.i18nFormat.init&&S.i18nFormat.init(this)),this.translator=new mi(this.services,this.options),this.translator.on("*",function(F){for(var T=arguments.length,q=new Array(T>1?T-1:0),U=1;U<T;U++)q[U-1]=arguments[U];t.emit(F,...q)}),this.modules.external.forEach(F=>{F.init&&F.init(this)})}if(this.format=this.options.interpolation.format,a||(a=bi),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const w=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);w.length>0&&w[0]!=="dev"&&(this.options.lng=w[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(w=>{this[w]=function(){return t.store[w](...arguments)}}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(w=>{this[w]=function(){return t.store[w](...arguments),t}});const f=Ar(),m=()=>{const w=(k,S)=>{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),f.resolve(S),a(k,S)};if(this.languages&&this.options.compatibilityAPI!=="v1"&&!this.isInitialized)return w(null,this.t.bind(this));this.changeLanguage(this.options.lng,w)};return this.options.resources||!this.options.initImmediate?m():setTimeout(m,0),f}loadResources(t){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:bi;const o=typeof t=="string"?t:this.language;if(typeof t=="function"&&(a=t),!this.options.resources||this.options.partialBundledLanguages){if(o&&o.toLowerCase()==="cimode")return a();const l=[],c=p=>{if(!p)return;this.services.languageUtils.toResolveHierarchy(p).forEach(m=>{l.indexOf(m)<0&&l.push(m)})};o?c(o):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(f=>c(f)),this.options.preload&&this.options.preload.forEach(p=>c(p)),this.services.backendConnector.load(l,this.options.ns,p=>{!p&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),a(p)})}else a(null)}reloadResources(t,n,a){const o=Ar();return t||(t=this.languages),n||(n=this.options.ns),a||(a=bi),this.services.backendConnector.reload(t,n,l=>{o.resolve(),a(l)}),o}use(t){if(!t)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!t.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return t.type==="backend"&&(this.modules.backend=t),(t.type==="logger"||t.log&&t.warn&&t.error)&&(this.modules.logger=t),t.type==="languageDetector"&&(this.modules.languageDetector=t),t.type==="i18nFormat"&&(this.modules.i18nFormat=t),t.type==="postProcessor"&&qo.addPostProcessor(t),t.type==="formatter"&&(this.modules.formatter=t),t.type==="3rdParty"&&this.modules.external.push(t),this}setResolvedLanguage(t){if(!(!t||!this.languages)&&!(["cimode","dev"].indexOf(t)>-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(t,n){var a=this;this.isLanguageChangingTo=t;const o=Ar();this.emit("languageChanging",t);const l=f=>{this.language=f,this.languages=this.services.languageUtils.toResolveHierarchy(f),this.resolvedLanguage=void 0,this.setResolvedLanguage(f)},c=(f,m)=>{m?(l(m),this.translator.changeLanguage(m),this.isLanguageChangingTo=void 0,this.emit("languageChanged",m),this.logger.log("languageChanged",m)):this.isLanguageChangingTo=void 0,o.resolve(function(){return a.t(...arguments)}),n&&n(f,function(){return a.t(...arguments)})},p=f=>{!t&&!f&&this.services.languageDetector&&(f=[]);const m=typeof f=="string"?f:this.services.languageUtils.getBestMatchFromCodes(f);m&&(this.language||l(m),this.translator.language||this.translator.changeLanguage(m),this.services.languageDetector&&this.services.languageDetector.cacheUserLanguage&&this.services.languageDetector.cacheUserLanguage(m)),this.loadResources(m,w=>{c(w,m)})};return!t&&this.services.languageDetector&&!this.services.languageDetector.async?p(this.services.languageDetector.detect()):!t&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(p):this.services.languageDetector.detect(p):p(t),o}getFixedT(t,n,a){var o=this;const l=function(c,p){let f;if(typeof p!="object"){for(var m=arguments.length,w=new Array(m>2?m-2:0),k=2;k<m;k++)w[k-2]=arguments[k];f=o.options.overloadTranslationOptionHandler([c,p].concat(w))}else f={...p};f.lng=f.lng||l.lng,f.lngs=f.lngs||l.lngs,f.ns=f.ns||l.ns,f.keyPrefix=f.keyPrefix||a||l.keyPrefix;const S=o.options.keySeparator||".";let F;return f.keyPrefix&&Array.isArray(c)?F=c.map(T=>`${f.keyPrefix}${S}${T}`):F=f.keyPrefix?`${f.keyPrefix}${S}${c}`:c,o.t(F,f)};return typeof t=="string"?l.lng=t:l.lngs=t,l.ns=n,l.keyPrefix=a,l}t(){return this.translator&&this.translator.translate(...arguments)}exists(){return this.translator&&this.translator.exists(...arguments)}setDefaultNamespace(t){this.options.defaultNS=t}hasLoadedNamespace(t){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,l=this.languages[this.languages.length-1];if(a.toLowerCase()==="cimode")return!0;const c=(p,f)=>{const m=this.services.backendConnector.state[`${p}|${f}`];return m===-1||m===2};if(n.precheck){const p=n.precheck(this,c);if(p!==void 0)return p}return!!(this.hasResourceBundle(a,t)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||c(a,t)&&(!o||c(l,t)))}loadNamespaces(t,n){const a=Ar();return this.options.ns?(typeof t=="string"&&(t=[t]),t.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(t,n){const a=Ar();typeof t=="string"&&(t=[t]);const o=this.options.preload||[],l=t.filter(c=>o.indexOf(c)<0);return l.length?(this.options.preload=o.concat(l),this.loadResources(c=>{a.resolve(),n&&n(c)}),a):(n&&n(),Promise.resolve())}dir(t){if(t||(t=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!t)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 Jo(Xo());return n.indexOf(a.getLanguagePartFromCode(t))>-1||t.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return new Or(t,n)}cloneInstance(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:bi;const a=t.forkResourceStore;a&&delete t.forkResourceStore;const o={...this.options,...t,isClone:!0},l=new Or(o);return(t.debug!==void 0||t.prefix!==void 0)&&(l.logger=l.logger.clone(t)),["store","services","language"].forEach(p=>{l[p]=this[p]}),l.services={...this.services},l.services.utils={hasLoadedNamespace:l.hasLoadedNamespace.bind(l)},a&&(l.store=new Ho(this.store.data,o),l.services.resourceStore=l.store),l.translator=new mi(l.services,o),l.translator.on("*",function(p){for(var f=arguments.length,m=new Array(f>1?f-1:0),w=1;w<f;w++)m[w-1]=arguments[w];l.emit(p,...m)}),l.init(o,n),l.translator.options=o,l.translator.backendConnector.services.utils={hasLoadedNamespace:l.hasLoadedNamespace.bind(l)},l}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}const qe=Or.createInstance();qe.createInstance=Or.createInstance,qe.createInstance,qe.dir,qe.init,qe.loadResources,qe.reloadResources,qe.use,qe.changeLanguage,qe.getFixedT,qe.t,qe.exists,qe.setDefaultNamespace,qe.hasLoadedNamespace,qe.loadNamespaces,qe.loadLanguages;var Ke=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function gp(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}function hp(){if(console&&console.warn){for(var r=arguments.length,t=new Array(r),n=0;n<r;n++)t[n]=arguments[n];typeof t[0]=="string"&&(t[0]=`react-i18next:: ${t[0]}`),console.warn(...t)}}const tl={};function Ka(){for(var r=arguments.length,t=new Array(r),n=0;n<r;n++)t[n]=arguments[n];typeof t[0]=="string"&&tl[t[0]]||(typeof t[0]=="string"&&(tl[t[0]]=new Date),hp(...t))}const nl=(r,t)=>()=>{if(r.isInitialized)t();else{const n=()=>{setTimeout(()=>{r.off("initialized",n)},0),t()};r.on("initialized",n)}};function rl(r,t,n){r.loadNamespaces(t,nl(r,n))}function il(r,t,n,a){typeof n=="string"&&(n=[n]),n.forEach(o=>{r.options.ns.indexOf(o)<0&&r.options.ns.push(o)}),r.loadLanguages(t,nl(r,a))}function fp(r,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const a=t.languages[0],o=t.options?t.options.fallbackLng:!1,l=t.languages[t.languages.length-1];if(a.toLowerCase()==="cimode")return!0;const c=(p,f)=>{const m=t.services.backendConnector.state[`${p}|${f}`];return m===-1||m===2};return n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!c(t.isLanguageChangingTo,r)?!1:!!(t.hasResourceBundle(a,r)||!t.services.backendConnector.backend||t.options.resources&&!t.options.partialBundledLanguages||c(a,r)&&(!o||c(l,r)))}function mp(r,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return!t.languages||!t.languages.length?(Ka("i18n.languages were undefined or empty",t.languages),!0):t.options.ignoreJSONStructure!==void 0?t.hasLoadedNamespace(r,{lng:n.lng,precheck:(o,l)=>{if(n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&o.services.backendConnector.backend&&o.isLanguageChangingTo&&!l(o.isLanguageChangingTo,r))return!1}}):fp(r,t,n)}const bp=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,vp={"&":"&","&":"&","<":"<","<":"<",">":">",">":">","'":"'","'":"'",""":'"',""":'"'," ":" "," ":" ","©":"©","©":"©","®":"®","®":"®","…":"…","…":"…","/":"/","/":"/"},yp=r=>vp[r];let Za={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:r=>r.replace(bp,yp)};function wp(){let r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Za={...Za,...r}}function _p(){return Za}let al;function xp(r){al=r}function Sp(){return al}const kp={type:"3rdParty",init(r){wp(r.options.react),xp(r)}},Ep=B.createContext();class Ap{constructor(){this.usedNamespaces={}}addUsedNamespaces(t){t.forEach(n=>{this.usedNamespaces[n]||(this.usedNamespaces[n]=!0)})}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}}const Op=(r,t)=>{const n=B.useRef();return B.useEffect(()=>{n.current=t?n.current:r},[r,t]),n.current};function vn(r){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{i18n:n}=t,{i18n:a,defaultNS:o}=B.useContext(Ep)||{},l=n||a||Sp();if(l&&!l.reportNamespaces&&(l.reportNamespaces=new Ap),!l){Ka("You will need to pass in an i18next instance by using initReactI18next");const z=(Y,re)=>typeof re=="string"?re:re&&typeof re=="object"&&typeof re.defaultValue=="string"?re.defaultValue:Array.isArray(Y)?Y[Y.length-1]:Y,Z=[z,{},!1];return Z.t=z,Z.i18n={},Z.ready=!1,Z}l.options.react&&l.options.react.wait!==void 0&&Ka("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");const c={..._p(),...l.options.react,...t},{useSuspense:p,keyPrefix:f}=c;let m=r||o||l.options&&l.options.defaultNS;m=typeof m=="string"?[m]:m||["translation"],l.reportNamespaces.addUsedNamespaces&&l.reportNamespaces.addUsedNamespaces(m);const w=(l.isInitialized||l.initializedStoreOnce)&&m.every(z=>mp(z,l,c));function k(){return l.getFixedT(t.lng||null,c.nsMode==="fallback"?m:m[0],f)}const[S,F]=B.useState(k);let T=m.join();t.lng&&(T=`${t.lng}${T}`);const q=Op(T),U=B.useRef(!0);B.useEffect(()=>{const{bindI18n:z,bindI18nStore:Z}=c;U.current=!0,!w&&!p&&(t.lng?il(l,t.lng,m,()=>{U.current&&F(k)}):rl(l,m,()=>{U.current&&F(k)})),w&&q&&q!==T&&U.current&&F(k);function Y(){U.current&&F(k)}return z&&l&&l.on(z,Y),Z&&l&&l.store.on(Z,Y),()=>{U.current=!1,z&&l&&z.split(" ").forEach(re=>l.off(re,Y)),Z&&l&&Z.split(" ").forEach(re=>l.store.off(re,Y))}},[l,T]);const se=B.useRef(!0);B.useEffect(()=>{U.current&&!se.current&&F(k),se.current=!1},[l,f]);const $=[S,l,w];if($.t=S,$.i18n=l,$.ready=w,w||!w&&!p)return $;throw new Promise(z=>{t.lng?il(l,t.lng,m,()=>z()):rl(l,m,()=>z())})}const Cp={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,186 +10,36 @@ 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(_m).init({resources:Rm,lng:"nl",fallbackLng:"en",interpolation:{prefix:"%{",suffix:"}",escapeValue:!1},debug:!0});var Kt;(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 v of o)c[v]=v;return c},r.getValidEnumValues=o=>{const c=r.objectKeys(o).filter(x=>typeof o[o[x]]!="number"),v={};for(const x of c)v[x]=o[x];return r.objectValues(v)},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 v in o)Object.prototype.hasOwnProperty.call(o,v)&&c.push(v);return c},r.find=(o,c)=>{for(const v of o)if(c(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,c=" | "){return o.map(v=>typeof v=="string"?`'${v}'`:v).join(c)}r.joinValues=a,r.jsonStringifyReplacer=(o,c)=>typeof c=="bigint"?c.toString():c})(Kt||(Kt={}));var $d;(function(r){r.mergeShapes=(e,n)=>({...e,...n})})($d||($d={}));const Ue=Kt.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),Ds=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}},Ce=Kt.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"]),Im=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 v of c.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,y=0;for(;y<v.path.length;){const E=v.path[y];y===v.path.length-1?(x[E]=x[E]||{_errors:[]},x[E]._errors.push(n(v))):x[E]=x[E]||{_errors:[]},x=x[E],y++}}};return o(this),a}toString(){return this.message}get message(){return JSON.stringify(this.issues,Kt.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 ac=(r,e)=>{let n;switch(r.code){case Ce.invalid_type:r.received===Ue.undefined?n="Required":n=`Expected ${r.expected}, received ${r.received}`;break;case Ce.invalid_literal:n=`Invalid literal value, expected ${JSON.stringify(r.expected,Kt.jsonStringifyReplacer)}`;break;case Ce.unrecognized_keys:n=`Unrecognized key(s) in object: ${Kt.joinValues(r.keys,", ")}`;break;case Ce.invalid_union:n="Invalid input";break;case Ce.invalid_union_discriminator:n=`Invalid discriminator value. Expected ${Kt.joinValues(r.options)}`;break;case Ce.invalid_enum_value:n=`Invalid enum value. Expected ${Kt.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}"`:Kt.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,Kt.assertNever(r)}return{message:n}};let Ep=ac;function Am(r){Ep=r}function Jc(){return Ep}const Qc=r=>{const{data:e,path:n,errorMaps:a,issueData:o}=r,c=[...n,...o.path||[]],v={...o,path:c};let x="";const y=a.filter(E=>!!E).slice().reverse();for(const E of y)x=E(v,{data:e,defaultError:x}).message;return{...o,path:c,message:o.message||x}},Om=[];function We(r,e){const n=Qc({issueData:e,data:r.data,path:r.path,errorMaps:[r.common.contextualErrorMap,r.schemaErrorMap,Jc(),ac].filter(a=>!!a)});r.common.issues.push(n)}class Or{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 Or.mergeObjectSync(e,a)}static mergeObjectSync(e,n){const a={};for(const o of n){const{key:c,value:v}=o;if(c.status==="aborted"||v.status==="aborted")return yt;c.status==="dirty"&&e.dirty(),v.status==="dirty"&&e.dirty(),c.value!=="__proto__"&&(typeof v.value<"u"||o.alwaysSet)&&(a[c.value]=v.value)}return{status:e.value,value:a}}}const yt=Object.freeze({status:"aborted"}),Cp=r=>({status:"dirty",value:r}),Yr=r=>({status:"valid",value:r}),Gd=r=>r.status==="aborted",Zd=r=>r.status==="dirty",oc=r=>r.status==="valid",Xc=r=>typeof Promise<"u"&&r instanceof Promise;var it;(function(r){r.errToObj=e=>typeof e=="string"?{message:e}:e||{},r.toString=e=>typeof e=="string"?e:e==null?void 0:e.message})(it||(it={}));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 Tp=(r,e)=>{if(oc(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 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 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 Ds(e.data)}_getOrReturnCtx(e,n){return n||{common:e.parent.common,data:e.data,parsedType:Ds(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}_processInputParams(e){return{status:new Or,ctx:{common:e.parent.common,data:e.data,parsedType:Ds(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}}_parseSync(e){const n=this._parse(e);if(Xc(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:Ds(e)},c=this._parseSync({data:e,path:o.path,parent:o});return Tp(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:Ds(e)},o=this._parse({data:e,path:a.path,parent:a}),c=await(Xc(o)?o:Promise.resolve(o));return Tp(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 v=e(o),x=()=>c.addIssue({code:Ce.custom,...a(o)});return typeof Promise<"u"&&v instanceof Promise?v.then(y=>y?!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 Pa({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 Fa.create(this,this._def)}promise(){return Tu.create(this,this._def)}or(e){return cc.create([this,e],this._def)}and(e){return dc.create(this,e,this._def)}transform(e){return new Pa({...Ct(this._def),schema:this,typeName:dt.ZodEffects,effect:{type:"transform",transform:e}})}default(e){const n=typeof e=="function"?e:()=>e;return new mc({...Ct(this._def),innerType:this,defaultValue:n,typeName:dt.ZodDefault})}brand(){return new Ip({typeName:dt.ZodBranded,type:this,...Ct(this._def)})}catch(e){const n=typeof e=="function"?e:()=>e;return new id({...Ct(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 vc.create(this,e)}readonly(){return od.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}const Mm=/^c[^\s-]{8,}$/i,Fm=/^[a-z][a-z0-9]*$/,Pm=/[0-9A-HJKMNP-TV-Z]{26}/,Dm=/^[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,Lm=/^([A-Z0-9_+-]+\.?)*[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,Bm=/^(\p{Extended_Pictographic}|\p{Emoji_Component})+$/u,Nm=/^(((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}))$/,jm=/^(([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})))$/,zm=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 Um(r,e){return!!((e==="v4"||!e)&&Nm.test(r)||(e==="v6"||!e)&&jm.test(r))}class Ma extends It{constructor(){super(...arguments),this._regex=(e,n,a)=>this.refinement(o=>e.test(o),{validation:n,code:Ce.invalid_string,...it.errToObj(a)}),this.nonempty=e=>this.min(1,it.errToObj(e)),this.trim=()=>new Ma({...this._def,checks:[...this._def.checks,{kind:"trim"}]}),this.toLowerCase=()=>new Ma({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]}),this.toUpperCase=()=>new Ma({...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 c=this._getOrReturnCtx(e);return We(c,{code:Ce.invalid_type,expected:Ue.string,received:c.parsedType}),yt}const a=new Or;let o;for(const c of this._def.checks)if(c.kind==="min")e.data.length<c.value&&(o=this._getOrReturnCtx(e,o),We(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),We(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 v=e.data.length>c.value,x=e.data.length<c.value;(v||x)&&(o=this._getOrReturnCtx(e,o),v?We(o,{code:Ce.too_big,maximum:c.value,type:"string",inclusive:!0,exact:!0,message:c.message}):x&&We(o,{code:Ce.too_small,minimum:c.value,type:"string",inclusive:!0,exact:!0,message:c.message}),a.dirty())}else if(c.kind==="email")Lm.test(e.data)||(o=this._getOrReturnCtx(e,o),We(o,{validation:"email",code:Ce.invalid_string,message:c.message}),a.dirty());else if(c.kind==="emoji")Bm.test(e.data)||(o=this._getOrReturnCtx(e,o),We(o,{validation:"emoji",code:Ce.invalid_string,message:c.message}),a.dirty());else if(c.kind==="uuid")Dm.test(e.data)||(o=this._getOrReturnCtx(e,o),We(o,{validation:"uuid",code:Ce.invalid_string,message:c.message}),a.dirty());else if(c.kind==="cuid")Mm.test(e.data)||(o=this._getOrReturnCtx(e,o),We(o,{validation:"cuid",code:Ce.invalid_string,message:c.message}),a.dirty());else if(c.kind==="cuid2")Fm.test(e.data)||(o=this._getOrReturnCtx(e,o),We(o,{validation:"cuid2",code:Ce.invalid_string,message:c.message}),a.dirty());else if(c.kind==="ulid")Pm.test(e.data)||(o=this._getOrReturnCtx(e,o),We(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),We(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),We(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),We(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),We(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),We(o,{code:Ce.invalid_string,validation:{endsWith:c.value},message:c.message}),a.dirty()):c.kind==="datetime"?zm(c).test(e.data)||(o=this._getOrReturnCtx(e,o),We(o,{code:Ce.invalid_string,validation:"datetime",message:c.message}),a.dirty()):c.kind==="ip"?Um(e.data,c.version)||(o=this._getOrReturnCtx(e,o),We(o,{validation:"ip",code:Ce.invalid_string,message:c.message}),a.dirty()):Kt.assertNever(c);return{status:a.value,value:e.data}}_addCheck(e){return new Ma({...this._def,checks:[...this._def.checks,e]})}email(e){return this._addCheck({kind:"email",...it.errToObj(e)})}url(e){return this._addCheck({kind:"url",...it.errToObj(e)})}emoji(e){return this._addCheck({kind:"emoji",...it.errToObj(e)})}uuid(e){return this._addCheck({kind:"uuid",...it.errToObj(e)})}cuid(e){return this._addCheck({kind:"cuid",...it.errToObj(e)})}cuid2(e){return this._addCheck({kind:"cuid2",...it.errToObj(e)})}ulid(e){return this._addCheck({kind:"ulid",...it.errToObj(e)})}ip(e){return this._addCheck({kind:"ip",...it.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,...it.errToObj(e==null?void 0:e.message)})}regex(e,n){return this._addCheck({kind:"regex",regex:e,...it.errToObj(n)})}includes(e,n){return this._addCheck({kind:"includes",value:e,position:n==null?void 0:n.position,...it.errToObj(n==null?void 0:n.message)})}startsWith(e,n){return this._addCheck({kind:"startsWith",value:e,...it.errToObj(n)})}endsWith(e,n){return this._addCheck({kind:"endsWith",value:e,...it.errToObj(n)})}min(e,n){return this._addCheck({kind:"min",value:e,...it.errToObj(n)})}max(e,n){return this._addCheck({kind:"max",value:e,...it.errToObj(n)})}length(e,n){return this._addCheck({kind:"length",value:e,...it.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}}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,...Ct(r)})};function Vm(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(".","")),v=parseInt(e.toFixed(o).replace(".",""));return c%v/Math.pow(10,o)}class Ls 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)!==Ue.number){const c=this._getOrReturnCtx(e);return We(c,{code:Ce.invalid_type,expected:Ue.number,received:c.parsedType}),yt}let a;const o=new Or;for(const c of this._def.checks)c.kind==="int"?Kt.isInteger(e.data)||(a=this._getOrReturnCtx(e,a),We(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),We(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),We(a,{code:Ce.too_big,maximum:c.value,type:"number",inclusive:c.inclusive,exact:!1,message:c.message}),o.dirty()):c.kind==="multipleOf"?Vm(e.data,c.value)!==0&&(a=this._getOrReturnCtx(e,a),We(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),We(a,{code:Ce.not_finite,message:c.message}),o.dirty()):Kt.assertNever(c);return{status:o.value,value:e.data}}gte(e,n){return this.setLimit("min",e,!0,it.toString(n))}gt(e,n){return this.setLimit("min",e,!1,it.toString(n))}lte(e,n){return this.setLimit("max",e,!0,it.toString(n))}lt(e,n){return this.setLimit("max",e,!1,it.toString(n))}setLimit(e,n,a,o){return new Ls({...this._def,checks:[...this._def.checks,{kind:e,value:n,inclusive:a,message:it.toString(o)}]})}_addCheck(e){return new Ls({...this._def,checks:[...this._def.checks,e]})}int(e){return this._addCheck({kind:"int",message:it.toString(e)})}positive(e){return this._addCheck({kind:"min",value:0,inclusive:!1,message:it.toString(e)})}negative(e){return this._addCheck({kind:"max",value:0,inclusive:!1,message:it.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:0,inclusive:!0,message:it.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:0,inclusive:!0,message:it.toString(e)})}multipleOf(e,n){return this._addCheck({kind:"multipleOf",value:e,message:it.toString(n)})}finite(e){return this._addCheck({kind:"finite",message:it.toString(e)})}safe(e){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:it.toString(e)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:it.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"&&Kt.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)}}Ls.create=r=>new Ls({checks:[],typeName:dt.ZodNumber,coerce:(r==null?void 0:r.coerce)||!1,...Ct(r)});class Bs 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)!==Ue.bigint){const c=this._getOrReturnCtx(e);return We(c,{code:Ce.invalid_type,expected:Ue.bigint,received:c.parsedType}),yt}let a;const o=new Or;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),We(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),We(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),We(a,{code:Ce.not_multiple_of,multipleOf:c.value,message:c.message}),o.dirty()):Kt.assertNever(c);return{status:o.value,value:e.data}}gte(e,n){return this.setLimit("min",e,!0,it.toString(n))}gt(e,n){return this.setLimit("min",e,!1,it.toString(n))}lte(e,n){return this.setLimit("max",e,!0,it.toString(n))}lt(e,n){return this.setLimit("max",e,!1,it.toString(n))}setLimit(e,n,a,o){return new Bs({...this._def,checks:[...this._def.checks,{kind:e,value:n,inclusive:a,message:it.toString(o)}]})}_addCheck(e){return new Bs({...this._def,checks:[...this._def.checks,e]})}positive(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:it.toString(e)})}negative(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:it.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:it.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:it.toString(e)})}multipleOf(e,n){return this._addCheck({kind:"multipleOf",value:e,message:it.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}}Bs.create=r=>{var e;return new Bs({checks:[],typeName:dt.ZodBigInt,coerce:(e=r==null?void 0:r.coerce)!==null&&e!==void 0?e:!1,...Ct(r)})};class sc extends It{_parse(e){if(this._def.coerce&&(e.data=!!e.data),this._getType(e)!==Ue.boolean){const a=this._getOrReturnCtx(e);return We(a,{code:Ce.invalid_type,expected:Ue.boolean,received:a.parsedType}),yt}return Yr(e.data)}}sc.create=r=>new sc({typeName:dt.ZodBoolean,coerce:(r==null?void 0:r.coerce)||!1,...Ct(r)});class Tl extends It{_parse(e){if(this._def.coerce&&(e.data=new Date(e.data)),this._getType(e)!==Ue.date){const c=this._getOrReturnCtx(e);return We(c,{code:Ce.invalid_type,expected:Ue.date,received:c.parsedType}),yt}if(isNaN(e.data.getTime())){const c=this._getOrReturnCtx(e);return We(c,{code:Ce.invalid_date}),yt}const a=new Or;let o;for(const c of this._def.checks)c.kind==="min"?e.data.getTime()<c.value&&(o=this._getOrReturnCtx(e,o),We(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),We(o,{code:Ce.too_big,message:c.message,inclusive:!0,exact:!1,maximum:c.value,type:"date"}),a.dirty()):Kt.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:it.toString(n)})}max(e,n){return this._addCheck({kind:"max",value:e.getTime(),message:it.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,...Ct(r)});class qc extends It{_parse(e){if(this._getType(e)!==Ue.symbol){const a=this._getOrReturnCtx(e);return We(a,{code:Ce.invalid_type,expected:Ue.symbol,received:a.parsedType}),yt}return Yr(e.data)}}qc.create=r=>new qc({typeName:dt.ZodSymbol,...Ct(r)});class lc extends It{_parse(e){if(this._getType(e)!==Ue.undefined){const a=this._getOrReturnCtx(e);return We(a,{code:Ce.invalid_type,expected:Ue.undefined,received:a.parsedType}),yt}return Yr(e.data)}}lc.create=r=>new lc({typeName:dt.ZodUndefined,...Ct(r)});class uc extends It{_parse(e){if(this._getType(e)!==Ue.null){const a=this._getOrReturnCtx(e);return We(a,{code:Ce.invalid_type,expected:Ue.null,received:a.parsedType}),yt}return Yr(e.data)}}uc.create=r=>new uc({typeName:dt.ZodNull,...Ct(r)});class _u extends It{constructor(){super(...arguments),this._any=!0}_parse(e){return Yr(e.data)}}_u.create=r=>new _u({typeName:dt.ZodAny,...Ct(r)});class Rl extends It{constructor(){super(...arguments),this._unknown=!0}_parse(e){return Yr(e.data)}}Rl.create=r=>new Rl({typeName:dt.ZodUnknown,...Ct(r)});class Go extends It{_parse(e){const n=this._getOrReturnCtx(e);return We(n,{code:Ce.invalid_type,expected:Ue.never,received:n.parsedType}),yt}}Go.create=r=>new Go({typeName:dt.ZodNever,...Ct(r)});class ed extends It{_parse(e){if(this._getType(e)!==Ue.undefined){const a=this._getOrReturnCtx(e);return We(a,{code:Ce.invalid_type,expected:Ue.void,received:a.parsedType}),yt}return Yr(e.data)}}ed.create=r=>new ed({typeName:dt.ZodVoid,...Ct(r)});class Fa extends It{_parse(e){const{ctx:n,status:a}=this._processInputParams(e),o=this._def;if(n.parsedType!==Ue.array)return We(n,{code:Ce.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?Ce.too_big:Ce.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: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&&(We(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((v,x)=>o.type._parseAsync(new co(n,v,n.path,x)))).then(v=>Or.mergeArray(a,v));const c=[...n.data].map((v,x)=>o.type._parseSync(new co(n,v,n.path,x)));return Or.mergeArray(a,c)}get element(){return this._def.type}min(e,n){return new Fa({...this._def,minLength:{value:e,message:it.toString(n)}})}max(e,n){return new Fa({...this._def,maxLength:{value:e,message:it.toString(n)}})}length(e,n){return new Fa({...this._def,exactLength:{value:e,message:it.toString(n)}})}nonempty(e){return this.min(1,e)}}Fa.create=(r,e)=>new Fa({type:r,minLength:null,maxLength:null,exactLength:null,typeName:dt.ZodArray,...Ct(e)});function Eu(r){if(r instanceof Rn){const e={};for(const n in r.shape){const a=r.shape[n];e[n]=Zo.create(Eu(a))}return new Rn({...r._def,shape:()=>e})}else return r instanceof Fa?new Fa({...r._def,type:Eu(r.element)}):r instanceof Zo?Zo.create(Eu(r.unwrap())):r instanceof Al?Al.create(Eu(r.unwrap())):r instanceof fo?fo.create(r.items.map(e=>Eu(e))):r}class Rn 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=Kt.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:Ce.invalid_type,expected:Ue.object,received:E.parsedType}),yt}const{status:a,ctx:o}=this._processInputParams(e),{shape:c,keys:v}=this._getCached(),x=[];if(!(this._def.catchall instanceof Go&&this._def.unknownKeys==="strip"))for(const E in o.data)v.includes(E)||x.push(E);const y=[];for(const E of v){const B=c[E],F=o.data[E];y.push({key:{status:"valid",value:E},value:B._parse(new co(o,F,o.path,E)),alwaysSet:E in o.data})}if(this._def.catchall instanceof Go){const E=this._def.unknownKeys;if(E==="passthrough")for(const B of x)y.push({key:{status:"valid",value:B},value:{status:"valid",value:o.data[B]}});else if(E==="strict")x.length>0&&(We(o,{code:Ce.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 F=o.data[B];y.push({key:{status:"valid",value:B},value:E._parse(new co(o,F,o.path,B)),alwaysSet:B in o.data})}}return o.common.async?Promise.resolve().then(async()=>{const E=[];for(const B of y){const F=await B.key;E.push({key:F,value:await B.value,alwaysSet:B.alwaysSet})}return E}).then(E=>Or.mergeObjectSync(a,E)):Or.mergeObjectSync(a,y)}get shape(){return this._def.shape()}strict(e){return it.errToObj,new Rn({...this._def,unknownKeys:"strict",...e!==void 0?{errorMap:(n,a)=>{var o,c,v,x;const y=(v=(c=(o=this._def).errorMap)===null||c===void 0?void 0:c.call(o,n,a).message)!==null&&v!==void 0?v:a.defaultError;return n.code==="unrecognized_keys"?{message:(x=it.errToObj(e).message)!==null&&x!==void 0?x:y}:{message:y}}}:{}})}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:dt.ZodObject})}setKey(e,n){return this.augment({[e]:n})}catchall(e){return new Rn({...this._def,catchall:e})}pick(e){const n={};return Kt.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 Kt.objectKeys(this.shape).forEach(a=>{e[a]||(n[a]=this.shape[a])}),new Rn({...this._def,shape:()=>n})}deepPartial(){return Eu(this)}partial(e){const n={};return Kt.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 Kt.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 Rn({...this._def,shape:()=>n})}keyof(){return Rp(Kt.objectKeys(this.shape))}}Rn.create=(r,e)=>new Rn({shape:()=>r,unknownKeys:"strip",catchall:Go.create(),typeName:dt.ZodObject,...Ct(e)}),Rn.strictCreate=(r,e)=>new Rn({shape:()=>r,unknownKeys:"strict",catchall:Go.create(),typeName:dt.ZodObject,...Ct(e)}),Rn.lazycreate=(r,e)=>new Rn({shape:r,unknownKeys:"strip",catchall:Go.create(),typeName:dt.ZodObject,...Ct(e)});class cc extends It{_parse(e){const{ctx:n}=this._processInputParams(e),a=this._def.options;function o(c){for(const x of c)if(x.result.status==="valid")return x.result;for(const x of c)if(x.result.status==="dirty")return n.common.issues.push(...x.ctx.common.issues),x.result;const v=c.map(x=>new Oa(x.ctx.common.issues));return We(n,{code:Ce.invalid_union,unionErrors:v}),yt}if(n.common.async)return Promise.all(a.map(async c=>{const v={...n,common:{...n.common,issues:[]},parent:null};return{result:await c._parseAsync({data:n.data,path:n.path,parent:v}),ctx:v}})).then(o);{let c;const v=[];for(const y of a){const E={...n,common:{...n.common,issues:[]},parent:null},B=y._parseSync({data:n.data,path:n.path,parent:E});if(B.status==="valid")return B;B.status==="dirty"&&!c&&(c={result:B,ctx:E}),E.common.issues.length&&v.push(E.common.issues)}if(c)return n.common.issues.push(...c.ctx.common.issues),c.result;const x=v.map(y=>new Oa(y));return We(n,{code:Ce.invalid_union,unionErrors:x}),yt}}get options(){return this._def.options}}cc.create=(r,e)=>new cc({options:r,typeName:dt.ZodUnion,...Ct(e)});const td=r=>r instanceof pc?td(r.schema):r instanceof Pa?td(r.innerType()):r instanceof hc?[r.value]:r instanceof Ns?r.options:r instanceof gc?Object.keys(r.enum):r instanceof mc?td(r._def.innerType):r instanceof lc?[void 0]:r instanceof uc?[null]:null;class nd extends It{_parse(e){const{ctx:n}=this._processInputParams(e);if(n.parsedType!==Ue.object)return We(n,{code:Ce.invalid_type,expected:Ue.object,received:n.parsedType}),yt;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}):(We(n,{code:Ce.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 c of n){const v=td(c.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,c)}}return new nd({typeName:dt.ZodDiscriminatedUnion,discriminator:e,options:n,optionsMap:o,...Ct(a)})}}function Yd(r,e){const n=Ds(r),a=Ds(e);if(r===e)return{valid:!0,data:r};if(n===Ue.object&&a===Ue.object){const o=Kt.objectKeys(e),c=Kt.objectKeys(r).filter(x=>o.indexOf(x)!==-1),v={...r,...e};for(const x of c){const y=Yd(r[x],e[x]);if(!y.valid)return{valid:!1};v[x]=y.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 c=0;c<r.length;c++){const v=r[c],x=e[c],y=Yd(v,x);if(!y.valid)return{valid:!1};o.push(y.data)}return{valid:!0,data:o}}else return n===Ue.date&&a===Ue.date&&+r==+e?{valid:!0,data:r}:{valid:!1}}class dc extends It{_parse(e){const{status:n,ctx:a}=this._processInputParams(e),o=(c,v)=>{if(Gd(c)||Gd(v))return yt;const x=Yd(c.value,v.value);return x.valid?((Zd(c)||Zd(v))&&n.dirty(),{status:n.value,value:x.data}):(We(a,{code:Ce.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(([c,v])=>o(c,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}))}}dc.create=(r,e,n)=>new dc({left:r,right:e,typeName:dt.ZodIntersection,...Ct(n)});class fo extends It{_parse(e){const{status:n,ctx:a}=this._processInputParams(e);if(a.parsedType!==Ue.array)return We(a,{code:Ce.invalid_type,expected:Ue.array,received:a.parsedType}),yt;if(a.data.length<this._def.items.length)return We(a,{code:Ce.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:Ce.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),n.dirty());const c=[...a.data].map((v,x)=>{const y=this._def.items[x]||this._def.rest;return y?y._parse(new co(a,v,a.path,x)):null}).filter(v=>!!v);return a.common.async?Promise.all(c).then(v=>Or.mergeArray(n,v)):Or.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,...Ct(e)})};class fc 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!==Ue.object)return We(a,{code:Ce.invalid_type,expected:Ue.object,received:a.parsedType}),yt;const o=[],c=this._def.keyType,v=this._def.valueType;for(const x in a.data)o.push({key:c._parse(new co(a,x,a.path,x)),value:v._parse(new co(a,a.data[x],a.path,x))});return a.common.async?Or.mergeObjectAsync(n,o):Or.mergeObjectSync(n,o)}get element(){return this._def.valueType}static create(e,n,a){return n instanceof It?new fc({keyType:e,valueType:n,typeName:dt.ZodRecord,...Ct(a)}):new fc({keyType:Ma.create(),valueType:e,typeName:dt.ZodRecord,...Ct(n)})}}class rd 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!==Ue.map)return We(a,{code:Ce.invalid_type,expected:Ue.map,received:a.parsedType}),yt;const o=this._def.keyType,c=this._def.valueType,v=[...a.data.entries()].map(([x,y],E)=>({key:o._parse(new co(a,x,a.path,[E,"key"])),value:c._parse(new co(a,y,a.path,[E,"value"]))}));if(a.common.async){const x=new Map;return Promise.resolve().then(async()=>{for(const y of v){const E=await y.key,B=await y.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 y of v){const E=y.key,B=y.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}}}}rd.create=(r,e,n)=>new rd({valueType:e,keyType:r,typeName:dt.ZodMap,...Ct(n)});class Il extends It{_parse(e){const{status:n,ctx:a}=this._processInputParams(e);if(a.parsedType!==Ue.set)return We(a,{code:Ce.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: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&&(We(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 v(y){const E=new Set;for(const B of y){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((y,E)=>c._parse(new co(a,y,a.path,E)));return a.common.async?Promise.all(x).then(y=>v(y)):v(x)}min(e,n){return new Il({...this._def,minSize:{value:e,message:it.toString(n)}})}max(e,n){return new Il({...this._def,maxSize:{value:e,message:it.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,...Ct(e)});class Cu extends It{constructor(){super(...arguments),this.validate=this.implement}_parse(e){const{ctx:n}=this._processInputParams(e);if(n.parsedType!==Ue.function)return We(n,{code:Ce.invalid_type,expected:Ue.function,received:n.parsedType}),yt;function a(x,y){return Qc({data:x,path:n.path,errorMaps:[n.common.contextualErrorMap,n.schemaErrorMap,Jc(),ac].filter(E=>!!E),issueData:{code:Ce.invalid_arguments,argumentsError:y}})}function o(x,y){return Qc({data:x,path:n.path,errorMaps:[n.common.contextualErrorMap,n.schemaErrorMap,Jc(),ac].filter(E=>!!E),issueData:{code:Ce.invalid_return_type,returnTypeError:y}})}const c={errorMap:n.common.contextualErrorMap},v=n.data;if(this._def.returns instanceof Tu){const x=this;return Yr(async function(...y){const E=new Oa([]),B=await x._def.args.parseAsync(y,c).catch(ge=>{throw E.addIssue(a(y,ge)),E}),F=await Reflect.apply(v,this,B);return await x._def.returns._def.type.parseAsync(F,c).catch(ge=>{throw E.addIssue(o(F,ge)),E})})}else{const x=this;return Yr(function(...y){const E=x._def.args.safeParse(y,c);if(!E.success)throw new Oa([a(y,E.error)]);const B=Reflect.apply(v,this,E.data),F=x._def.returns.safeParse(B,c);if(!F.success)throw new Oa([o(B,F.error)]);return F.data})}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...e){return new Cu({...this._def,args:fo.create(e).rest(Rl.create())})}returns(e){return new Cu({...this._def,returns:e})}implement(e){return this.parse(e)}strictImplement(e){return this.parse(e)}static create(e,n,a){return new Cu({args:e||fo.create([]).rest(Rl.create()),returns:n||Rl.create(),typeName:dt.ZodFunction,...Ct(a)})}}class pc 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})}}pc.create=(r,e)=>new pc({getter:r,typeName:dt.ZodLazy,...Ct(e)});class hc extends It{_parse(e){if(e.data!==this._def.value){const n=this._getOrReturnCtx(e);return We(n,{received:n.data,code:Ce.invalid_literal,expected:this._def.value}),yt}return{status:"valid",value:e.data}}get value(){return this._def.value}}hc.create=(r,e)=>new hc({value:r,typeName:dt.ZodLiteral,...Ct(e)});function Rp(r,e){return new Ns({values:r,typeName:dt.ZodEnum,...Ct(e)})}class Ns extends It{_parse(e){if(typeof e.data!="string"){const n=this._getOrReturnCtx(e),a=this._def.values;return We(n,{expected:Kt.joinValues(a),received:n.parsedType,code:Ce.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:Ce.invalid_enum_value,options:a}),yt}return Yr(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 Ns.create(e)}exclude(e){return Ns.create(this.options.filter(n=>!e.includes(n)))}}Ns.create=Rp;class gc extends It{_parse(e){const n=Kt.getValidEnumValues(this._def.values),a=this._getOrReturnCtx(e);if(a.parsedType!==Ue.string&&a.parsedType!==Ue.number){const o=Kt.objectValues(n);return We(a,{expected:Kt.joinValues(o),received:a.parsedType,code:Ce.invalid_type}),yt}if(n.indexOf(e.data)===-1){const o=Kt.objectValues(n);return We(a,{received:a.data,code:Ce.invalid_enum_value,options:o}),yt}return Yr(e.data)}get enum(){return this._def.values}}gc.create=(r,e)=>new gc({values:r,typeName:dt.ZodNativeEnum,...Ct(e)});class Tu extends It{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:Ce.invalid_type,expected:Ue.promise,received:n.parsedType}),yt;const a=n.parsedType===Ue.promise?n.data:Promise.resolve(n.data);return Yr(a.then(o=>this._def.type.parseAsync(o,{path:n.path,errorMap:n.common.contextualErrorMap})))}}Tu.create=(r,e)=>new Tu({type:r,typeName:dt.ZodPromise,...Ct(e)});class Pa 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:v=>{We(a,v),v.fatal?n.abort():n.dirty()},get path(){return a.path}};if(c.addIssue=c.addIssue.bind(c),o.type==="preprocess"){const v=o.transform(a.data,c);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 y=o.refinement(x,c);if(a.common.async)return Promise.resolve(y);if(y 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(!oc(v))return v;const x=o.transform(v.value,c);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=>oc(v)?Promise.resolve(o.transform(v.value,c)).then(x=>({status:n.value,value:x})):v);Kt.assertNever(o)}}Pa.create=(r,e,n)=>new Pa({schema:r,typeName:dt.ZodEffects,effect:e,...Ct(n)}),Pa.createWithPreprocess=(r,e,n)=>new Pa({schema:e,effect:{type:"preprocess",transform:r},typeName:dt.ZodEffects,...Ct(n)});class Zo extends It{_parse(e){return this._getType(e)===Ue.undefined?Yr(void 0):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}Zo.create=(r,e)=>new Zo({innerType:r,typeName:dt.ZodOptional,...Ct(e)});class Al extends It{_parse(e){return this._getType(e)===Ue.null?Yr(null):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}Al.create=(r,e)=>new Al({innerType:r,typeName:dt.ZodNullable,...Ct(e)});class mc extends It{_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}}mc.create=(r,e)=>new mc({innerType:r,typeName:dt.ZodDefault,defaultValue:typeof e.default=="function"?e.default:()=>e.default,...Ct(e)});class id 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 Xc(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}}id.create=(r,e)=>new id({innerType:r,typeName:dt.ZodCatch,catchValue:typeof e.catch=="function"?e.catch:()=>e.catch,...Ct(e)});class ad extends It{_parse(e){if(this._getType(e)!==Ue.nan){const a=this._getOrReturnCtx(e);return We(a,{code:Ce.invalid_type,expected:Ue.nan,received:a.parsedType}),yt}return{status:"valid",value:e.data}}}ad.create=r=>new ad({typeName:dt.ZodNaN,...Ct(r)});const Wm=Symbol("zod_brand");class Ip 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 vc 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"?yt:c.status==="dirty"?(n.dirty(),Cp(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"?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 vc({in:e,out:n,typeName:dt.ZodPipeline})}}class od extends It{_parse(e){const n=this._def.innerType._parse(e);return oc(n)&&(n.value=Object.freeze(n.value)),n}}od.create=(r,e)=>new od({innerType:r,typeName:dt.ZodReadonly,...Ct(e)});const Ap=(r,e={},n)=>r?_u.create().superRefine((a,o)=>{var c,v;if(!r(a)){const x=typeof e=="function"?e(a):typeof e=="string"?{message:e}:e,y=(v=(c=x.fatal)!==null&&c!==void 0?c:n)!==null&&v!==void 0?v:!0,E=typeof x=="string"?{message:x}:x;o.addIssue({code:"custom",...E,fatal:y})}}):_u.create(),Hm={object:Rn.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 $m=(r,e={message:`Input not instance of ${r.name}`})=>Ap(n=>n instanceof r,e),Op=Ma.create,Mp=Ls.create,Gm=ad.create,Zm=Bs.create,Fp=sc.create,Ym=Tl.create,Km=qc.create,Jm=lc.create,Qm=uc.create,Xm=_u.create,qm=Rl.create,ev=Go.create,tv=ed.create,nv=Fa.create,rv=Rn.create,iv=Rn.strictCreate,av=cc.create,ov=nd.create,sv=dc.create,lv=fo.create,uv=fc.create,cv=rd.create,dv=Il.create,fv=Cu.create,pv=pc.create,hv=hc.create,gv=Ns.create,mv=gc.create,vv=Tu.create,Pp=Pa.create,bv=Zo.create,yv=Al.create,wv=Pa.createWithPreprocess,xv=vc.create;var On=Object.freeze({__proto__:null,defaultErrorMap:ac,setErrorMap:Am,getErrorMap:Jc,makeIssue:Qc,EMPTY_PATH:Om,addIssueToContext:We,ParseStatus:Or,INVALID:yt,DIRTY:Cp,OK:Yr,isAborted:Gd,isDirty:Zd,isValid:oc,isAsync:Xc,get util(){return Kt},get objectUtil(){return $d},ZodParsedType:Ue,getParsedType:Ds,ZodType:It,ZodString:Ma,ZodNumber:Ls,ZodBigInt:Bs,ZodBoolean:sc,ZodDate:Tl,ZodSymbol:qc,ZodUndefined:lc,ZodNull:uc,ZodAny:_u,ZodUnknown:Rl,ZodNever:Go,ZodVoid:ed,ZodArray:Fa,ZodObject:Rn,ZodUnion:cc,ZodDiscriminatedUnion:nd,ZodIntersection:dc,ZodTuple:fo,ZodRecord:fc,ZodMap:rd,ZodSet:Il,ZodFunction:Cu,ZodLazy:pc,ZodLiteral:hc,ZodEnum:Ns,ZodNativeEnum:gc,ZodPromise:Tu,ZodEffects:Pa,ZodTransformer:Pa,ZodOptional:Zo,ZodNullable:Al,ZodDefault:mc,ZodCatch:id,ZodNaN:ad,BRAND:Wm,ZodBranded:Ip,ZodPipeline:vc,ZodReadonly:od,custom:Ap,Schema:It,ZodSchema:It,late:Hm,get ZodFirstPartyTypeKind(){return dt},coerce:{string:r=>Ma.create({...r,coerce:!0}),number:r=>Ls.create({...r,coerce:!0}),boolean:r=>sc.create({...r,coerce:!0}),bigint:r=>Bs.create({...r,coerce:!0}),date:r=>Tl.create({...r,coerce:!0})},any:Xm,array:nv,bigint:Zm,boolean:Fp,date:Ym,discriminatedUnion:ov,effect:Pp,enum:gv,function:fv,instanceof:$m,intersection:sv,lazy:pv,literal:hv,map:cv,nan:Gm,nativeEnum:mv,never:ev,null:Qm,nullable:yv,number:Mp,object:rv,oboolean:()=>Fp().optional(),onumber:()=>Mp().optional(),optional:bv,ostring:()=>Op().optional(),pipeline:xv,preprocess:wv,promise:vv,record:uv,set:dv,strictObject:iv,string:Op,symbol:Km,transformer:Pp,tuple:lv,undefined:Jm,union:av,unknown:qm,void:tv,NEVER:yt,ZodIssueCode:Ce,quotelessJson:Im,ZodError:Oa});const Dp=On.enum(["day","month","year","hour","minute"]),Kd=On.enum(["all","some","none"]),Jd=On.enum(["eq","not_eq","gt","gteq","lt","lteq"]),Qd=On.enum([...Kd.options,...Jd.options]);class Ol{constructor(e){Tt(this,"condition");this.condition=e}}class Sv extends Ol{match(e){return e.cleanValue(this.condition.fieldKey)===this.condition.value}}class kv extends Ol{match(e){const n=e.cleanValue(this.condition.fieldKey);if(n==null||typeof n!="number")return!1;switch(this.condition.op){case"gt":return n>this.condition.value;case"gteq":return n>=this.condition.value;case"lt":return n<this.condition.value;case"lteq":return n<=this.condition.value;case"eq":return n===this.condition.value}}}class _v extends Ol{match(e){const n=e.cleanValue(this.condition.fieldKey);return n?n.has(this.condition.value):!1}}class Ev extends Ol{match(e){return!0}}class Cv extends Ol{match(e){const n=e.getFieldState(this.condition.fieldKey);return n.hidden&&!this.condition.evenWhenHidden?!1:n.value!==null&&n.value!==void 0}}class Tv extends Ol{match(e){return e.flags[this.condition.flagKey]===this.condition.triggerOn}}class Rv extends Ol{match(e){return e.calculations.getResult(this.condition.sexpKey)===!0}}class Lp{constructor(e){Tt(this,"action");this.action=e}}class Iv extends Lp{act(e){e.markShown(this.action.fieldKey)}}class Av extends Lp{act(e){e.markHidden(this.action.fieldKey)}}function Ov(r){switch(r.type){case"equal":return new Sv(r);case"numeric_compare":return new kv(r);case"contains":return new _v(r);case"always":return new Ev(r);case"flag_equal":return new Tv(r);case"answered":return new Cv(r);case"sexp_variable_true":return new Rv(r);default:throw"unknown condition type"}}function Mv(r){switch(r.type){case"show_question":return new Iv(r);case"hide_question":return new Av(r);default:throw"unknown action type"}}class Fv{constructor(e,n,a){Tt(this,"condition");Tt(this,"action");Tt(this,"questionKey");this.condition=e,this.action=n,this.questionKey=a}runAgainst(e){this.condition.match(e)&&this.action.act(e)}}function Pv(r){const e=Ov(r.condition),n=Mv(r.action);return new Fv(e,n,r.action.fieldKey)}class Xd{constructor(e){Tt(this,"key");Tt(this,"panels");Tt(this,"footer");Tt(this,"questions");Tt(this,"validations");Tt(this,"visibilityRules");Tt(this,"textvars");Tt(this,"sexpVariables");Tt(this,"defaultAnswerValue");Tt(this,"cssVars");Tt(this,"layoutVersion");Gg(this,Id,{});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=>Pv(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]}getFlatOptions(e){var a;const n=this.getField(e);if(n.type!=="select"&&n.type!=="radio"&&n.type!=="scale")throw new Error(`Question ${e} does not have options.`);return(a=$g(this,Id))[e]??(a[e]=n.children.flatMap(o=>o.type==="html"?[]:o.type==="optgroup"?o.options:o))}getOptionNumberValue(e,n){var o;const a=(o=this.getFlatOptions(e))==null?void 0:o.find(c=>c.key===n);return a&&typeof a.value=="number"?a.value:null}}Id=new WeakMap;var sd={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"}}};qe.use(kp).init({resources:Cp,lng:"nl",fallbackLng:"en",interpolation:{prefix:"%{",suffix:"}",escapeValue:!1},debug:!0});var xe;(function(r){r.assertEqual=o=>o;function t(o){}r.assertIs=t;function n(o){throw new Error}r.assertNever=n,r.arrayToEnum=o=>{const l={};for(const c of o)l[c]=c;return l},r.getValidEnumValues=o=>{const l=r.objectKeys(o).filter(p=>typeof o[o[p]]!="number"),c={};for(const p of l)c[p]=o[p];return r.objectValues(c)},r.objectValues=o=>r.objectKeys(o).map(function(l){return o[l]}),r.objectKeys=typeof Object.keys=="function"?o=>Object.keys(o):o=>{const l=[];for(const c in o)Object.prototype.hasOwnProperty.call(o,c)&&l.push(c);return l},r.find=(o,l)=>{for(const c of o)if(l(c))return c},r.isInteger=typeof Number.isInteger=="function"?o=>Number.isInteger(o):o=>typeof o=="number"&&isFinite(o)&&Math.floor(o)===o;function a(o,l=" | "){return o.map(c=>typeof c=="string"?`'${c}'`:c).join(l)}r.joinValues=a,r.jsonStringifyReplacer=(o,l)=>typeof l=="bigint"?l.toString():l})(xe||(xe={}));var Wa;(function(r){r.mergeShapes=(t,n)=>({...t,...n})})(Wa||(Wa={}));const P=xe.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),yn=r=>{switch(typeof r){case"undefined":return P.undefined;case"string":return P.string;case"number":return isNaN(r)?P.nan:P.number;case"boolean":return P.boolean;case"function":return P.function;case"bigint":return P.bigint;case"symbol":return P.symbol;case"object":return Array.isArray(r)?P.array:r===null?P.null:r.then&&typeof r.then=="function"&&r.catch&&typeof r.catch=="function"?P.promise:typeof Map<"u"&&r instanceof Map?P.map:typeof Set<"u"&&r instanceof Set?P.set:typeof Date<"u"&&r instanceof Date?P.date:P.object;default:return P.unknown}},M=xe.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"]),Ip=r=>JSON.stringify(r,null,2).replace(/"([^"]+)":/g,"$1:");class Rt extends Error{constructor(t){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=t}get errors(){return this.issues}format(t){const n=t||function(l){return l.message},a={_errors:[]},o=l=>{for(const c of l.issues)if(c.code==="invalid_union")c.unionErrors.map(o);else if(c.code==="invalid_return_type")o(c.returnTypeError);else if(c.code==="invalid_arguments")o(c.argumentsError);else if(c.path.length===0)a._errors.push(n(c));else{let p=a,f=0;for(;f<c.path.length;){const m=c.path[f];f===c.path.length-1?(p[m]=p[m]||{_errors:[]},p[m]._errors.push(n(c))):p[m]=p[m]||{_errors:[]},p=p[m],f++}}};return o(this),a}toString(){return this.message}get message(){return JSON.stringify(this.issues,xe.jsonStringifyReplacer,2)}get isEmpty(){return this.issues.length===0}flatten(t=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(t(o))):a.push(t(o));return{formErrors:a,fieldErrors:n}}get formErrors(){return this.flatten()}}Rt.create=r=>new Rt(r);const Cr=(r,t)=>{let n;switch(r.code){case M.invalid_type:r.received===P.undefined?n="Required":n=`Expected ${r.expected}, received ${r.received}`;break;case M.invalid_literal:n=`Invalid literal value, expected ${JSON.stringify(r.expected,xe.jsonStringifyReplacer)}`;break;case M.unrecognized_keys:n=`Unrecognized key(s) in object: ${xe.joinValues(r.keys,", ")}`;break;case M.invalid_union:n="Invalid input";break;case M.invalid_union_discriminator:n=`Invalid discriminator value. Expected ${xe.joinValues(r.options)}`;break;case M.invalid_enum_value:n=`Invalid enum value. Expected ${xe.joinValues(r.options)}, received '${r.received}'`;break;case M.invalid_arguments:n="Invalid function arguments";break;case M.invalid_return_type:n="Invalid function return type";break;case M.invalid_date:n="Invalid date";break;case M.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}"`:xe.assertNever(r.validation):r.validation!=="regex"?n=`Invalid ${r.validation}`:n="Invalid";break;case M.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 M.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 M.custom:n="Invalid input";break;case M.invalid_intersection_types:n="Intersection results could not be merged";break;case M.not_multiple_of:n=`Number must be a multiple of ${r.multipleOf}`;break;case M.not_finite:n="Number must be finite";break;default:n=t.defaultError,xe.assertNever(r)}return{message:n}};let sl=Cr;function Tp(r){sl=r}function vi(){return sl}const yi=r=>{const{data:t,path:n,errorMaps:a,issueData:o}=r,l=[...n,...o.path||[]],c={...o,path:l};let p="";const f=a.filter(m=>!!m).slice().reverse();for(const m of f)p=m(c,{data:t,defaultError:p}).message;return{...o,path:l,message:o.message||p}},Mp=[];function R(r,t){const n=yi({issueData:t,data:r.data,path:r.path,errorMaps:[r.common.contextualErrorMap,r.schemaErrorMap,vi(),Cr].filter(a=>!!a)});r.common.issues.push(n)}class nt{constructor(){this.value="valid"}dirty(){this.value==="valid"&&(this.value="dirty")}abort(){this.value!=="aborted"&&(this.value="aborted")}static mergeArray(t,n){const a=[];for(const o of n){if(o.status==="aborted")return ne;o.status==="dirty"&&t.dirty(),a.push(o.value)}return{status:t.value,value:a}}static async mergeObjectAsync(t,n){const a=[];for(const o of n)a.push({key:await o.key,value:await o.value});return nt.mergeObjectSync(t,a)}static mergeObjectSync(t,n){const a={};for(const o of n){const{key:l,value:c}=o;if(l.status==="aborted"||c.status==="aborted")return ne;l.status==="dirty"&&t.dirty(),c.status==="dirty"&&t.dirty(),l.value!=="__proto__"&&(typeof c.value<"u"||o.alwaysSet)&&(a[l.value]=c.value)}return{status:t.value,value:a}}}const ne=Object.freeze({status:"aborted"}),ol=r=>({status:"dirty",value:r}),st=r=>({status:"valid",value:r}),$a=r=>r.status==="aborted",Ha=r=>r.status==="dirty",Ir=r=>r.status==="valid",wi=r=>typeof Promise<"u"&&r instanceof Promise;var H;(function(r){r.errToObj=t=>typeof t=="string"?{message:t}:t||{},r.toString=t=>typeof t=="string"?t:t==null?void 0:t.message})(H||(H={}));class Jt{constructor(t,n,a,o){this._cachedPath=[],this.parent=t,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 ll=(r,t)=>{if(Ir(t))return{success:!0,data:t.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 Rt(r.common.issues);return this._error=n,this._error}}};function ue(r){if(!r)return{};const{errorMap:t,invalid_type_error:n,required_error:a,description:o}=r;if(t&&(n||a))throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);return t?{errorMap:t,description:o}:{errorMap:(c,p)=>c.code!=="invalid_type"?{message:p.defaultError}:typeof p.data>"u"?{message:a??p.defaultError}:{message:n??p.defaultError},description:o}}class he{constructor(t){this.spa=this.safeParseAsync,this._def=t,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(t){return yn(t.data)}_getOrReturnCtx(t,n){return n||{common:t.parent.common,data:t.data,parsedType:yn(t.data),schemaErrorMap:this._def.errorMap,path:t.path,parent:t.parent}}_processInputParams(t){return{status:new nt,ctx:{common:t.parent.common,data:t.data,parsedType:yn(t.data),schemaErrorMap:this._def.errorMap,path:t.path,parent:t.parent}}}_parseSync(t){const n=this._parse(t);if(wi(n))throw new Error("Synchronous parse encountered promise.");return n}_parseAsync(t){const n=this._parse(t);return Promise.resolve(n)}parse(t,n){const a=this.safeParse(t,n);if(a.success)return a.data;throw a.error}safeParse(t,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:t,parsedType:yn(t)},l=this._parseSync({data:t,path:o.path,parent:o});return ll(o,l)}async parseAsync(t,n){const a=await this.safeParseAsync(t,n);if(a.success)return a.data;throw a.error}async safeParseAsync(t,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:t,parsedType:yn(t)},o=this._parse({data:t,path:a.path,parent:a}),l=await(wi(o)?o:Promise.resolve(o));return ll(a,l)}refine(t,n){const a=o=>typeof n=="string"||typeof n>"u"?{message:n}:typeof n=="function"?n(o):n;return this._refinement((o,l)=>{const c=t(o),p=()=>l.addIssue({code:M.custom,...a(o)});return typeof Promise<"u"&&c instanceof Promise?c.then(f=>f?!0:(p(),!1)):c?!0:(p(),!1)})}refinement(t,n){return this._refinement((a,o)=>t(a)?!0:(o.addIssue(typeof n=="function"?n(a,o):n),!1))}_refinement(t){return new Ut({schema:this,typeName:ee.ZodEffects,effect:{type:"refinement",refinement:t}})}superRefine(t){return this._refinement(t)}optional(){return sn.create(this,this._def)}nullable(){return Un.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return zt.create(this,this._def)}promise(){return ir.create(this,this._def)}or(t){return Lr.create([this,t],this._def)}and(t){return Fr.create(this,t,this._def)}transform(t){return new Ut({...ue(this._def),schema:this,typeName:ee.ZodEffects,effect:{type:"transform",transform:t}})}default(t){const n=typeof t=="function"?t:()=>t;return new Vr({...ue(this._def),innerType:this,defaultValue:n,typeName:ee.ZodDefault})}brand(){return new cl({typeName:ee.ZodBranded,type:this,...ue(this._def)})}catch(t){const n=typeof t=="function"?t:()=>t;return new Ai({...ue(this._def),innerType:this,catchValue:n,typeName:ee.ZodCatch})}describe(t){const n=this.constructor;return new n({...this._def,description:t})}pipe(t){return zr.create(this,t)}readonly(){return Ci.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}const Np=/^c[^\s-]{8,}$/i,Lp=/^[a-z][a-z0-9]*$/,Fp=/[0-9A-HJKMNP-TV-Z]{26}/,Dp=/^[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,Bp=/^([A-Z0-9_+-]+\.?)*[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,Pp=/^(\p{Extended_Pictographic}|\p{Emoji_Component})+$/u,Rp=/^(((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}))$/,Vp=/^(([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})))$/,zp=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 Up(r,t){return!!((t==="v4"||!t)&&Rp.test(r)||(t==="v6"||!t)&&Vp.test(r))}class Vt extends he{constructor(){super(...arguments),this._regex=(t,n,a)=>this.refinement(o=>t.test(o),{validation:n,code:M.invalid_string,...H.errToObj(a)}),this.nonempty=t=>this.min(1,H.errToObj(t)),this.trim=()=>new Vt({...this._def,checks:[...this._def.checks,{kind:"trim"}]}),this.toLowerCase=()=>new Vt({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]}),this.toUpperCase=()=>new Vt({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}_parse(t){if(this._def.coerce&&(t.data=String(t.data)),this._getType(t)!==P.string){const l=this._getOrReturnCtx(t);return R(l,{code:M.invalid_type,expected:P.string,received:l.parsedType}),ne}const a=new nt;let o;for(const l of this._def.checks)if(l.kind==="min")t.data.length<l.value&&(o=this._getOrReturnCtx(t,o),R(o,{code:M.too_small,minimum:l.value,type:"string",inclusive:!0,exact:!1,message:l.message}),a.dirty());else if(l.kind==="max")t.data.length>l.value&&(o=this._getOrReturnCtx(t,o),R(o,{code:M.too_big,maximum:l.value,type:"string",inclusive:!0,exact:!1,message:l.message}),a.dirty());else if(l.kind==="length"){const c=t.data.length>l.value,p=t.data.length<l.value;(c||p)&&(o=this._getOrReturnCtx(t,o),c?R(o,{code:M.too_big,maximum:l.value,type:"string",inclusive:!0,exact:!0,message:l.message}):p&&R(o,{code:M.too_small,minimum:l.value,type:"string",inclusive:!0,exact:!0,message:l.message}),a.dirty())}else if(l.kind==="email")Bp.test(t.data)||(o=this._getOrReturnCtx(t,o),R(o,{validation:"email",code:M.invalid_string,message:l.message}),a.dirty());else if(l.kind==="emoji")Pp.test(t.data)||(o=this._getOrReturnCtx(t,o),R(o,{validation:"emoji",code:M.invalid_string,message:l.message}),a.dirty());else if(l.kind==="uuid")Dp.test(t.data)||(o=this._getOrReturnCtx(t,o),R(o,{validation:"uuid",code:M.invalid_string,message:l.message}),a.dirty());else if(l.kind==="cuid")Np.test(t.data)||(o=this._getOrReturnCtx(t,o),R(o,{validation:"cuid",code:M.invalid_string,message:l.message}),a.dirty());else if(l.kind==="cuid2")Lp.test(t.data)||(o=this._getOrReturnCtx(t,o),R(o,{validation:"cuid2",code:M.invalid_string,message:l.message}),a.dirty());else if(l.kind==="ulid")Fp.test(t.data)||(o=this._getOrReturnCtx(t,o),R(o,{validation:"ulid",code:M.invalid_string,message:l.message}),a.dirty());else if(l.kind==="url")try{new URL(t.data)}catch{o=this._getOrReturnCtx(t,o),R(o,{validation:"url",code:M.invalid_string,message:l.message}),a.dirty()}else l.kind==="regex"?(l.regex.lastIndex=0,l.regex.test(t.data)||(o=this._getOrReturnCtx(t,o),R(o,{validation:"regex",code:M.invalid_string,message:l.message}),a.dirty())):l.kind==="trim"?t.data=t.data.trim():l.kind==="includes"?t.data.includes(l.value,l.position)||(o=this._getOrReturnCtx(t,o),R(o,{code:M.invalid_string,validation:{includes:l.value,position:l.position},message:l.message}),a.dirty()):l.kind==="toLowerCase"?t.data=t.data.toLowerCase():l.kind==="toUpperCase"?t.data=t.data.toUpperCase():l.kind==="startsWith"?t.data.startsWith(l.value)||(o=this._getOrReturnCtx(t,o),R(o,{code:M.invalid_string,validation:{startsWith:l.value},message:l.message}),a.dirty()):l.kind==="endsWith"?t.data.endsWith(l.value)||(o=this._getOrReturnCtx(t,o),R(o,{code:M.invalid_string,validation:{endsWith:l.value},message:l.message}),a.dirty()):l.kind==="datetime"?zp(l).test(t.data)||(o=this._getOrReturnCtx(t,o),R(o,{code:M.invalid_string,validation:"datetime",message:l.message}),a.dirty()):l.kind==="ip"?Up(t.data,l.version)||(o=this._getOrReturnCtx(t,o),R(o,{validation:"ip",code:M.invalid_string,message:l.message}),a.dirty()):xe.assertNever(l);return{status:a.value,value:t.data}}_addCheck(t){return new Vt({...this._def,checks:[...this._def.checks,t]})}email(t){return this._addCheck({kind:"email",...H.errToObj(t)})}url(t){return this._addCheck({kind:"url",...H.errToObj(t)})}emoji(t){return this._addCheck({kind:"emoji",...H.errToObj(t)})}uuid(t){return this._addCheck({kind:"uuid",...H.errToObj(t)})}cuid(t){return this._addCheck({kind:"cuid",...H.errToObj(t)})}cuid2(t){return this._addCheck({kind:"cuid2",...H.errToObj(t)})}ulid(t){return this._addCheck({kind:"ulid",...H.errToObj(t)})}ip(t){return this._addCheck({kind:"ip",...H.errToObj(t)})}datetime(t){var n;return typeof t=="string"?this._addCheck({kind:"datetime",precision:null,offset:!1,message:t}):this._addCheck({kind:"datetime",precision:typeof(t==null?void 0:t.precision)>"u"?null:t==null?void 0:t.precision,offset:(n=t==null?void 0:t.offset)!==null&&n!==void 0?n:!1,...H.errToObj(t==null?void 0:t.message)})}regex(t,n){return this._addCheck({kind:"regex",regex:t,...H.errToObj(n)})}includes(t,n){return this._addCheck({kind:"includes",value:t,position:n==null?void 0:n.position,...H.errToObj(n==null?void 0:n.message)})}startsWith(t,n){return this._addCheck({kind:"startsWith",value:t,...H.errToObj(n)})}endsWith(t,n){return this._addCheck({kind:"endsWith",value:t,...H.errToObj(n)})}min(t,n){return this._addCheck({kind:"min",value:t,...H.errToObj(n)})}max(t,n){return this._addCheck({kind:"max",value:t,...H.errToObj(n)})}length(t,n){return this._addCheck({kind:"length",value:t,...H.errToObj(n)})}get isDatetime(){return!!this._def.checks.find(t=>t.kind==="datetime")}get isEmail(){return!!this._def.checks.find(t=>t.kind==="email")}get isURL(){return!!this._def.checks.find(t=>t.kind==="url")}get isEmoji(){return!!this._def.checks.find(t=>t.kind==="emoji")}get isUUID(){return!!this._def.checks.find(t=>t.kind==="uuid")}get isCUID(){return!!this._def.checks.find(t=>t.kind==="cuid")}get isCUID2(){return!!this._def.checks.find(t=>t.kind==="cuid2")}get isULID(){return!!this._def.checks.find(t=>t.kind==="ulid")}get isIP(){return!!this._def.checks.find(t=>t.kind==="ip")}get minLength(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t}get maxLength(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.value<t)&&(t=n.value);return t}}Vt.create=r=>{var t;return new Vt({checks:[],typeName:ee.ZodString,coerce:(t=r==null?void 0:r.coerce)!==null&&t!==void 0?t:!1,...ue(r)})};function Gp(r,t){const n=(r.toString().split(".")[1]||"").length,a=(t.toString().split(".")[1]||"").length,o=n>a?n:a,l=parseInt(r.toFixed(o).replace(".","")),c=parseInt(t.toFixed(o).replace(".",""));return l%c/Math.pow(10,o)}class wn extends he{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(t){if(this._def.coerce&&(t.data=Number(t.data)),this._getType(t)!==P.number){const l=this._getOrReturnCtx(t);return R(l,{code:M.invalid_type,expected:P.number,received:l.parsedType}),ne}let a;const o=new nt;for(const l of this._def.checks)l.kind==="int"?xe.isInteger(t.data)||(a=this._getOrReturnCtx(t,a),R(a,{code:M.invalid_type,expected:"integer",received:"float",message:l.message}),o.dirty()):l.kind==="min"?(l.inclusive?t.data<l.value:t.data<=l.value)&&(a=this._getOrReturnCtx(t,a),R(a,{code:M.too_small,minimum:l.value,type:"number",inclusive:l.inclusive,exact:!1,message:l.message}),o.dirty()):l.kind==="max"?(l.inclusive?t.data>l.value:t.data>=l.value)&&(a=this._getOrReturnCtx(t,a),R(a,{code:M.too_big,maximum:l.value,type:"number",inclusive:l.inclusive,exact:!1,message:l.message}),o.dirty()):l.kind==="multipleOf"?Gp(t.data,l.value)!==0&&(a=this._getOrReturnCtx(t,a),R(a,{code:M.not_multiple_of,multipleOf:l.value,message:l.message}),o.dirty()):l.kind==="finite"?Number.isFinite(t.data)||(a=this._getOrReturnCtx(t,a),R(a,{code:M.not_finite,message:l.message}),o.dirty()):xe.assertNever(l);return{status:o.value,value:t.data}}gte(t,n){return this.setLimit("min",t,!0,H.toString(n))}gt(t,n){return this.setLimit("min",t,!1,H.toString(n))}lte(t,n){return this.setLimit("max",t,!0,H.toString(n))}lt(t,n){return this.setLimit("max",t,!1,H.toString(n))}setLimit(t,n,a,o){return new wn({...this._def,checks:[...this._def.checks,{kind:t,value:n,inclusive:a,message:H.toString(o)}]})}_addCheck(t){return new wn({...this._def,checks:[...this._def.checks,t]})}int(t){return this._addCheck({kind:"int",message:H.toString(t)})}positive(t){return this._addCheck({kind:"min",value:0,inclusive:!1,message:H.toString(t)})}negative(t){return this._addCheck({kind:"max",value:0,inclusive:!1,message:H.toString(t)})}nonpositive(t){return this._addCheck({kind:"max",value:0,inclusive:!0,message:H.toString(t)})}nonnegative(t){return this._addCheck({kind:"min",value:0,inclusive:!0,message:H.toString(t)})}multipleOf(t,n){return this._addCheck({kind:"multipleOf",value:t,message:H.toString(n)})}finite(t){return this._addCheck({kind:"finite",message:H.toString(t)})}safe(t){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:H.toString(t)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:H.toString(t)})}get minValue(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t}get maxValue(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.value<t)&&(t=n.value);return t}get isInt(){return!!this._def.checks.find(t=>t.kind==="int"||t.kind==="multipleOf"&&xe.isInteger(t.value))}get isFinite(){let t=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"&&(t===null||a.value<t)&&(t=a.value)}return Number.isFinite(n)&&Number.isFinite(t)}}wn.create=r=>new wn({checks:[],typeName:ee.ZodNumber,coerce:(r==null?void 0:r.coerce)||!1,...ue(r)});class _n extends he{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(t){if(this._def.coerce&&(t.data=BigInt(t.data)),this._getType(t)!==P.bigint){const l=this._getOrReturnCtx(t);return R(l,{code:M.invalid_type,expected:P.bigint,received:l.parsedType}),ne}let a;const o=new nt;for(const l of this._def.checks)l.kind==="min"?(l.inclusive?t.data<l.value:t.data<=l.value)&&(a=this._getOrReturnCtx(t,a),R(a,{code:M.too_small,type:"bigint",minimum:l.value,inclusive:l.inclusive,message:l.message}),o.dirty()):l.kind==="max"?(l.inclusive?t.data>l.value:t.data>=l.value)&&(a=this._getOrReturnCtx(t,a),R(a,{code:M.too_big,type:"bigint",maximum:l.value,inclusive:l.inclusive,message:l.message}),o.dirty()):l.kind==="multipleOf"?t.data%l.value!==BigInt(0)&&(a=this._getOrReturnCtx(t,a),R(a,{code:M.not_multiple_of,multipleOf:l.value,message:l.message}),o.dirty()):xe.assertNever(l);return{status:o.value,value:t.data}}gte(t,n){return this.setLimit("min",t,!0,H.toString(n))}gt(t,n){return this.setLimit("min",t,!1,H.toString(n))}lte(t,n){return this.setLimit("max",t,!0,H.toString(n))}lt(t,n){return this.setLimit("max",t,!1,H.toString(n))}setLimit(t,n,a,o){return new _n({...this._def,checks:[...this._def.checks,{kind:t,value:n,inclusive:a,message:H.toString(o)}]})}_addCheck(t){return new _n({...this._def,checks:[...this._def.checks,t]})}positive(t){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:H.toString(t)})}negative(t){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:H.toString(t)})}nonpositive(t){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:H.toString(t)})}nonnegative(t){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:H.toString(t)})}multipleOf(t,n){return this._addCheck({kind:"multipleOf",value:t,message:H.toString(n)})}get minValue(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t}get maxValue(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.value<t)&&(t=n.value);return t}}_n.create=r=>{var t;return new _n({checks:[],typeName:ee.ZodBigInt,coerce:(t=r==null?void 0:r.coerce)!==null&&t!==void 0?t:!1,...ue(r)})};class Tr extends he{_parse(t){if(this._def.coerce&&(t.data=!!t.data),this._getType(t)!==P.boolean){const a=this._getOrReturnCtx(t);return R(a,{code:M.invalid_type,expected:P.boolean,received:a.parsedType}),ne}return st(t.data)}}Tr.create=r=>new Tr({typeName:ee.ZodBoolean,coerce:(r==null?void 0:r.coerce)||!1,...ue(r)});class Rn extends he{_parse(t){if(this._def.coerce&&(t.data=new Date(t.data)),this._getType(t)!==P.date){const l=this._getOrReturnCtx(t);return R(l,{code:M.invalid_type,expected:P.date,received:l.parsedType}),ne}if(isNaN(t.data.getTime())){const l=this._getOrReturnCtx(t);return R(l,{code:M.invalid_date}),ne}const a=new nt;let o;for(const l of this._def.checks)l.kind==="min"?t.data.getTime()<l.value&&(o=this._getOrReturnCtx(t,o),R(o,{code:M.too_small,message:l.message,inclusive:!0,exact:!1,minimum:l.value,type:"date"}),a.dirty()):l.kind==="max"?t.data.getTime()>l.value&&(o=this._getOrReturnCtx(t,o),R(o,{code:M.too_big,message:l.message,inclusive:!0,exact:!1,maximum:l.value,type:"date"}),a.dirty()):xe.assertNever(l);return{status:a.value,value:new Date(t.data.getTime())}}_addCheck(t){return new Rn({...this._def,checks:[...this._def.checks,t]})}min(t,n){return this._addCheck({kind:"min",value:t.getTime(),message:H.toString(n)})}max(t,n){return this._addCheck({kind:"max",value:t.getTime(),message:H.toString(n)})}get minDate(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t!=null?new Date(t):null}get maxDate(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.value<t)&&(t=n.value);return t!=null?new Date(t):null}}Rn.create=r=>new Rn({checks:[],coerce:(r==null?void 0:r.coerce)||!1,typeName:ee.ZodDate,...ue(r)});class _i extends he{_parse(t){if(this._getType(t)!==P.symbol){const a=this._getOrReturnCtx(t);return R(a,{code:M.invalid_type,expected:P.symbol,received:a.parsedType}),ne}return st(t.data)}}_i.create=r=>new _i({typeName:ee.ZodSymbol,...ue(r)});class Mr extends he{_parse(t){if(this._getType(t)!==P.undefined){const a=this._getOrReturnCtx(t);return R(a,{code:M.invalid_type,expected:P.undefined,received:a.parsedType}),ne}return st(t.data)}}Mr.create=r=>new Mr({typeName:ee.ZodUndefined,...ue(r)});class Nr extends he{_parse(t){if(this._getType(t)!==P.null){const a=this._getOrReturnCtx(t);return R(a,{code:M.invalid_type,expected:P.null,received:a.parsedType}),ne}return st(t.data)}}Nr.create=r=>new Nr({typeName:ee.ZodNull,...ue(r)});class tr extends he{constructor(){super(...arguments),this._any=!0}_parse(t){return st(t.data)}}tr.create=r=>new tr({typeName:ee.ZodAny,...ue(r)});class Vn extends he{constructor(){super(...arguments),this._unknown=!0}_parse(t){return st(t.data)}}Vn.create=r=>new Vn({typeName:ee.ZodUnknown,...ue(r)});class an extends he{_parse(t){const n=this._getOrReturnCtx(t);return R(n,{code:M.invalid_type,expected:P.never,received:n.parsedType}),ne}}an.create=r=>new an({typeName:ee.ZodNever,...ue(r)});class xi extends he{_parse(t){if(this._getType(t)!==P.undefined){const a=this._getOrReturnCtx(t);return R(a,{code:M.invalid_type,expected:P.void,received:a.parsedType}),ne}return st(t.data)}}xi.create=r=>new xi({typeName:ee.ZodVoid,...ue(r)});class zt extends he{_parse(t){const{ctx:n,status:a}=this._processInputParams(t),o=this._def;if(n.parsedType!==P.array)return R(n,{code:M.invalid_type,expected:P.array,received:n.parsedType}),ne;if(o.exactLength!==null){const c=n.data.length>o.exactLength.value,p=n.data.length<o.exactLength.value;(c||p)&&(R(n,{code:c?M.too_big:M.too_small,minimum:p?o.exactLength.value:void 0,maximum:c?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&&(R(n,{code:M.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&&(R(n,{code:M.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((c,p)=>o.type._parseAsync(new Jt(n,c,n.path,p)))).then(c=>nt.mergeArray(a,c));const l=[...n.data].map((c,p)=>o.type._parseSync(new Jt(n,c,n.path,p)));return nt.mergeArray(a,l)}get element(){return this._def.type}min(t,n){return new zt({...this._def,minLength:{value:t,message:H.toString(n)}})}max(t,n){return new zt({...this._def,maxLength:{value:t,message:H.toString(n)}})}length(t,n){return new zt({...this._def,exactLength:{value:t,message:H.toString(n)}})}nonempty(t){return this.min(1,t)}}zt.create=(r,t)=>new zt({type:r,minLength:null,maxLength:null,exactLength:null,typeName:ee.ZodArray,...ue(t)});function nr(r){if(r instanceof Le){const t={};for(const n in r.shape){const a=r.shape[n];t[n]=sn.create(nr(a))}return new Le({...r._def,shape:()=>t})}else return r instanceof zt?new zt({...r._def,type:nr(r.element)}):r instanceof sn?sn.create(nr(r.unwrap())):r instanceof Un?Un.create(nr(r.unwrap())):r instanceof Yt?Yt.create(r.items.map(t=>nr(t))):r}class Le extends he{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(this._cached!==null)return this._cached;const t=this._def.shape(),n=xe.objectKeys(t);return this._cached={shape:t,keys:n}}_parse(t){if(this._getType(t)!==P.object){const m=this._getOrReturnCtx(t);return R(m,{code:M.invalid_type,expected:P.object,received:m.parsedType}),ne}const{status:a,ctx:o}=this._processInputParams(t),{shape:l,keys:c}=this._getCached(),p=[];if(!(this._def.catchall instanceof an&&this._def.unknownKeys==="strip"))for(const m in o.data)c.includes(m)||p.push(m);const f=[];for(const m of c){const w=l[m],k=o.data[m];f.push({key:{status:"valid",value:m},value:w._parse(new Jt(o,k,o.path,m)),alwaysSet:m in o.data})}if(this._def.catchall instanceof an){const m=this._def.unknownKeys;if(m==="passthrough")for(const w of p)f.push({key:{status:"valid",value:w},value:{status:"valid",value:o.data[w]}});else if(m==="strict")p.length>0&&(R(o,{code:M.unrecognized_keys,keys:p}),a.dirty());else if(m!=="strip")throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{const m=this._def.catchall;for(const w of p){const k=o.data[w];f.push({key:{status:"valid",value:w},value:m._parse(new Jt(o,k,o.path,w)),alwaysSet:w in o.data})}}return o.common.async?Promise.resolve().then(async()=>{const m=[];for(const w of f){const k=await w.key;m.push({key:k,value:await w.value,alwaysSet:w.alwaysSet})}return m}).then(m=>nt.mergeObjectSync(a,m)):nt.mergeObjectSync(a,f)}get shape(){return this._def.shape()}strict(t){return H.errToObj,new Le({...this._def,unknownKeys:"strict",...t!==void 0?{errorMap:(n,a)=>{var o,l,c,p;const f=(c=(l=(o=this._def).errorMap)===null||l===void 0?void 0:l.call(o,n,a).message)!==null&&c!==void 0?c:a.defaultError;return n.code==="unrecognized_keys"?{message:(p=H.errToObj(t).message)!==null&&p!==void 0?p:f}:{message:f}}}:{}})}strip(){return new Le({...this._def,unknownKeys:"strip"})}passthrough(){return new Le({...this._def,unknownKeys:"passthrough"})}extend(t){return new Le({...this._def,shape:()=>({...this._def.shape(),...t})})}merge(t){return new Le({unknownKeys:t._def.unknownKeys,catchall:t._def.catchall,shape:()=>({...this._def.shape(),...t._def.shape()}),typeName:ee.ZodObject})}setKey(t,n){return this.augment({[t]:n})}catchall(t){return new Le({...this._def,catchall:t})}pick(t){const n={};return xe.objectKeys(t).forEach(a=>{t[a]&&this.shape[a]&&(n[a]=this.shape[a])}),new Le({...this._def,shape:()=>n})}omit(t){const n={};return xe.objectKeys(this.shape).forEach(a=>{t[a]||(n[a]=this.shape[a])}),new Le({...this._def,shape:()=>n})}deepPartial(){return nr(this)}partial(t){const n={};return xe.objectKeys(this.shape).forEach(a=>{const o=this.shape[a];t&&!t[a]?n[a]=o:n[a]=o.optional()}),new Le({...this._def,shape:()=>n})}required(t){const n={};return xe.objectKeys(this.shape).forEach(a=>{if(t&&!t[a])n[a]=this.shape[a];else{let l=this.shape[a];for(;l instanceof sn;)l=l._def.innerType;n[a]=l}}),new Le({...this._def,shape:()=>n})}keyof(){return ul(xe.objectKeys(this.shape))}}Le.create=(r,t)=>new Le({shape:()=>r,unknownKeys:"strip",catchall:an.create(),typeName:ee.ZodObject,...ue(t)}),Le.strictCreate=(r,t)=>new Le({shape:()=>r,unknownKeys:"strict",catchall:an.create(),typeName:ee.ZodObject,...ue(t)}),Le.lazycreate=(r,t)=>new Le({shape:r,unknownKeys:"strip",catchall:an.create(),typeName:ee.ZodObject,...ue(t)});class Lr extends he{_parse(t){const{ctx:n}=this._processInputParams(t),a=this._def.options;function o(l){for(const p of l)if(p.result.status==="valid")return p.result;for(const p of l)if(p.result.status==="dirty")return n.common.issues.push(...p.ctx.common.issues),p.result;const c=l.map(p=>new Rt(p.ctx.common.issues));return R(n,{code:M.invalid_union,unionErrors:c}),ne}if(n.common.async)return Promise.all(a.map(async l=>{const c={...n,common:{...n.common,issues:[]},parent:null};return{result:await l._parseAsync({data:n.data,path:n.path,parent:c}),ctx:c}})).then(o);{let l;const c=[];for(const f of a){const m={...n,common:{...n.common,issues:[]},parent:null},w=f._parseSync({data:n.data,path:n.path,parent:m});if(w.status==="valid")return w;w.status==="dirty"&&!l&&(l={result:w,ctx:m}),m.common.issues.length&&c.push(m.common.issues)}if(l)return n.common.issues.push(...l.ctx.common.issues),l.result;const p=c.map(f=>new Rt(f));return R(n,{code:M.invalid_union,unionErrors:p}),ne}}get options(){return this._def.options}}Lr.create=(r,t)=>new Lr({options:r,typeName:ee.ZodUnion,...ue(t)});const Si=r=>r instanceof Br?Si(r.schema):r instanceof Ut?Si(r.innerType()):r instanceof Pr?[r.value]:r instanceof xn?r.options:r instanceof Rr?Object.keys(r.enum):r instanceof Vr?Si(r._def.innerType):r instanceof Mr?[void 0]:r instanceof Nr?[null]:null;class ki extends he{_parse(t){const{ctx:n}=this._processInputParams(t);if(n.parsedType!==P.object)return R(n,{code:M.invalid_type,expected:P.object,received:n.parsedType}),ne;const a=this.discriminator,o=n.data[a],l=this.optionsMap.get(o);return l?n.common.async?l._parseAsync({data:n.data,path:n.path,parent:n}):l._parseSync({data:n.data,path:n.path,parent:n}):(R(n,{code:M.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[a]}),ne)}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(t,n,a){const o=new Map;for(const l of n){const c=Si(l.shape[t]);if(!c)throw new Error(`A discriminator value for key \`${t}\` could not be extracted from all schema options`);for(const p of c){if(o.has(p))throw new Error(`Discriminator property ${String(t)} has duplicate value ${String(p)}`);o.set(p,l)}}return new ki({typeName:ee.ZodDiscriminatedUnion,discriminator:t,options:n,optionsMap:o,...ue(a)})}}function qa(r,t){const n=yn(r),a=yn(t);if(r===t)return{valid:!0,data:r};if(n===P.object&&a===P.object){const o=xe.objectKeys(t),l=xe.objectKeys(r).filter(p=>o.indexOf(p)!==-1),c={...r,...t};for(const p of l){const f=qa(r[p],t[p]);if(!f.valid)return{valid:!1};c[p]=f.data}return{valid:!0,data:c}}else if(n===P.array&&a===P.array){if(r.length!==t.length)return{valid:!1};const o=[];for(let l=0;l<r.length;l++){const c=r[l],p=t[l],f=qa(c,p);if(!f.valid)return{valid:!1};o.push(f.data)}return{valid:!0,data:o}}else return n===P.date&&a===P.date&&+r==+t?{valid:!0,data:r}:{valid:!1}}class Fr extends he{_parse(t){const{status:n,ctx:a}=this._processInputParams(t),o=(l,c)=>{if($a(l)||$a(c))return ne;const p=qa(l.value,c.value);return p.valid?((Ha(l)||Ha(c))&&n.dirty(),{status:n.value,value:p.data}):(R(a,{code:M.invalid_intersection_types}),ne)};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(([l,c])=>o(l,c)):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}))}}Fr.create=(r,t,n)=>new Fr({left:r,right:t,typeName:ee.ZodIntersection,...ue(n)});class Yt extends he{_parse(t){const{status:n,ctx:a}=this._processInputParams(t);if(a.parsedType!==P.array)return R(a,{code:M.invalid_type,expected:P.array,received:a.parsedType}),ne;if(a.data.length<this._def.items.length)return R(a,{code:M.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),ne;!this._def.rest&&a.data.length>this._def.items.length&&(R(a,{code:M.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),n.dirty());const l=[...a.data].map((c,p)=>{const f=this._def.items[p]||this._def.rest;return f?f._parse(new Jt(a,c,a.path,p)):null}).filter(c=>!!c);return a.common.async?Promise.all(l).then(c=>nt.mergeArray(n,c)):nt.mergeArray(n,l)}get items(){return this._def.items}rest(t){return new Yt({...this._def,rest:t})}}Yt.create=(r,t)=>{if(!Array.isArray(r))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new Yt({items:r,typeName:ee.ZodTuple,rest:null,...ue(t)})};class Dr extends he{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(t){const{status:n,ctx:a}=this._processInputParams(t);if(a.parsedType!==P.object)return R(a,{code:M.invalid_type,expected:P.object,received:a.parsedType}),ne;const o=[],l=this._def.keyType,c=this._def.valueType;for(const p in a.data)o.push({key:l._parse(new Jt(a,p,a.path,p)),value:c._parse(new Jt(a,a.data[p],a.path,p))});return a.common.async?nt.mergeObjectAsync(n,o):nt.mergeObjectSync(n,o)}get element(){return this._def.valueType}static create(t,n,a){return n instanceof he?new Dr({keyType:t,valueType:n,typeName:ee.ZodRecord,...ue(a)}):new Dr({keyType:Vt.create(),valueType:t,typeName:ee.ZodRecord,...ue(n)})}}class Ei extends he{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(t){const{status:n,ctx:a}=this._processInputParams(t);if(a.parsedType!==P.map)return R(a,{code:M.invalid_type,expected:P.map,received:a.parsedType}),ne;const o=this._def.keyType,l=this._def.valueType,c=[...a.data.entries()].map(([p,f],m)=>({key:o._parse(new Jt(a,p,a.path,[m,"key"])),value:l._parse(new Jt(a,f,a.path,[m,"value"]))}));if(a.common.async){const p=new Map;return Promise.resolve().then(async()=>{for(const f of c){const m=await f.key,w=await f.value;if(m.status==="aborted"||w.status==="aborted")return ne;(m.status==="dirty"||w.status==="dirty")&&n.dirty(),p.set(m.value,w.value)}return{status:n.value,value:p}})}else{const p=new Map;for(const f of c){const m=f.key,w=f.value;if(m.status==="aborted"||w.status==="aborted")return ne;(m.status==="dirty"||w.status==="dirty")&&n.dirty(),p.set(m.value,w.value)}return{status:n.value,value:p}}}}Ei.create=(r,t,n)=>new Ei({valueType:t,keyType:r,typeName:ee.ZodMap,...ue(n)});class zn extends he{_parse(t){const{status:n,ctx:a}=this._processInputParams(t);if(a.parsedType!==P.set)return R(a,{code:M.invalid_type,expected:P.set,received:a.parsedType}),ne;const o=this._def;o.minSize!==null&&a.data.size<o.minSize.value&&(R(a,{code:M.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&&(R(a,{code:M.too_big,maximum:o.maxSize.value,type:"set",inclusive:!0,exact:!1,message:o.maxSize.message}),n.dirty());const l=this._def.valueType;function c(f){const m=new Set;for(const w of f){if(w.status==="aborted")return ne;w.status==="dirty"&&n.dirty(),m.add(w.value)}return{status:n.value,value:m}}const p=[...a.data.values()].map((f,m)=>l._parse(new Jt(a,f,a.path,m)));return a.common.async?Promise.all(p).then(f=>c(f)):c(p)}min(t,n){return new zn({...this._def,minSize:{value:t,message:H.toString(n)}})}max(t,n){return new zn({...this._def,maxSize:{value:t,message:H.toString(n)}})}size(t,n){return this.min(t,n).max(t,n)}nonempty(t){return this.min(1,t)}}zn.create=(r,t)=>new zn({valueType:r,minSize:null,maxSize:null,typeName:ee.ZodSet,...ue(t)});class rr extends he{constructor(){super(...arguments),this.validate=this.implement}_parse(t){const{ctx:n}=this._processInputParams(t);if(n.parsedType!==P.function)return R(n,{code:M.invalid_type,expected:P.function,received:n.parsedType}),ne;function a(p,f){return yi({data:p,path:n.path,errorMaps:[n.common.contextualErrorMap,n.schemaErrorMap,vi(),Cr].filter(m=>!!m),issueData:{code:M.invalid_arguments,argumentsError:f}})}function o(p,f){return yi({data:p,path:n.path,errorMaps:[n.common.contextualErrorMap,n.schemaErrorMap,vi(),Cr].filter(m=>!!m),issueData:{code:M.invalid_return_type,returnTypeError:f}})}const l={errorMap:n.common.contextualErrorMap},c=n.data;if(this._def.returns instanceof ir){const p=this;return st(async function(...f){const m=new Rt([]),w=await p._def.args.parseAsync(f,l).catch(F=>{throw m.addIssue(a(f,F)),m}),k=await Reflect.apply(c,this,w);return await p._def.returns._def.type.parseAsync(k,l).catch(F=>{throw m.addIssue(o(k,F)),m})})}else{const p=this;return st(function(...f){const m=p._def.args.safeParse(f,l);if(!m.success)throw new Rt([a(f,m.error)]);const w=Reflect.apply(c,this,m.data),k=p._def.returns.safeParse(w,l);if(!k.success)throw new Rt([o(w,k.error)]);return k.data})}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...t){return new rr({...this._def,args:Yt.create(t).rest(Vn.create())})}returns(t){return new rr({...this._def,returns:t})}implement(t){return this.parse(t)}strictImplement(t){return this.parse(t)}static create(t,n,a){return new rr({args:t||Yt.create([]).rest(Vn.create()),returns:n||Vn.create(),typeName:ee.ZodFunction,...ue(a)})}}class Br extends he{get schema(){return this._def.getter()}_parse(t){const{ctx:n}=this._processInputParams(t);return this._def.getter()._parse({data:n.data,path:n.path,parent:n})}}Br.create=(r,t)=>new Br({getter:r,typeName:ee.ZodLazy,...ue(t)});class Pr extends he{_parse(t){if(t.data!==this._def.value){const n=this._getOrReturnCtx(t);return R(n,{received:n.data,code:M.invalid_literal,expected:this._def.value}),ne}return{status:"valid",value:t.data}}get value(){return this._def.value}}Pr.create=(r,t)=>new Pr({value:r,typeName:ee.ZodLiteral,...ue(t)});function ul(r,t){return new xn({values:r,typeName:ee.ZodEnum,...ue(t)})}class xn extends he{_parse(t){if(typeof t.data!="string"){const n=this._getOrReturnCtx(t),a=this._def.values;return R(n,{expected:xe.joinValues(a),received:n.parsedType,code:M.invalid_type}),ne}if(this._def.values.indexOf(t.data)===-1){const n=this._getOrReturnCtx(t),a=this._def.values;return R(n,{received:n.data,code:M.invalid_enum_value,options:a}),ne}return st(t.data)}get options(){return this._def.values}get enum(){const t={};for(const n of this._def.values)t[n]=n;return t}get Values(){const t={};for(const n of this._def.values)t[n]=n;return t}get Enum(){const t={};for(const n of this._def.values)t[n]=n;return t}extract(t){return xn.create(t)}exclude(t){return xn.create(this.options.filter(n=>!t.includes(n)))}}xn.create=ul;class Rr extends he{_parse(t){const n=xe.getValidEnumValues(this._def.values),a=this._getOrReturnCtx(t);if(a.parsedType!==P.string&&a.parsedType!==P.number){const o=xe.objectValues(n);return R(a,{expected:xe.joinValues(o),received:a.parsedType,code:M.invalid_type}),ne}if(n.indexOf(t.data)===-1){const o=xe.objectValues(n);return R(a,{received:a.data,code:M.invalid_enum_value,options:o}),ne}return st(t.data)}get enum(){return this._def.values}}Rr.create=(r,t)=>new Rr({values:r,typeName:ee.ZodNativeEnum,...ue(t)});class ir extends he{unwrap(){return this._def.type}_parse(t){const{ctx:n}=this._processInputParams(t);if(n.parsedType!==P.promise&&n.common.async===!1)return R(n,{code:M.invalid_type,expected:P.promise,received:n.parsedType}),ne;const a=n.parsedType===P.promise?n.data:Promise.resolve(n.data);return st(a.then(o=>this._def.type.parseAsync(o,{path:n.path,errorMap:n.common.contextualErrorMap})))}}ir.create=(r,t)=>new ir({type:r,typeName:ee.ZodPromise,...ue(t)});class Ut extends he{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===ee.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(t){const{status:n,ctx:a}=this._processInputParams(t),o=this._def.effect||null,l={addIssue:c=>{R(a,c),c.fatal?n.abort():n.dirty()},get path(){return a.path}};if(l.addIssue=l.addIssue.bind(l),o.type==="preprocess"){const c=o.transform(a.data,l);return a.common.issues.length?{status:"dirty",value:a.data}:a.common.async?Promise.resolve(c).then(p=>this._def.schema._parseAsync({data:p,path:a.path,parent:a})):this._def.schema._parseSync({data:c,path:a.path,parent:a})}if(o.type==="refinement"){const c=p=>{const f=o.refinement(p,l);if(a.common.async)return Promise.resolve(f);if(f instanceof Promise)throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return p};if(a.common.async===!1){const p=this._def.schema._parseSync({data:a.data,path:a.path,parent:a});return p.status==="aborted"?ne:(p.status==="dirty"&&n.dirty(),c(p.value),{status:n.value,value:p.value})}else return this._def.schema._parseAsync({data:a.data,path:a.path,parent:a}).then(p=>p.status==="aborted"?ne:(p.status==="dirty"&&n.dirty(),c(p.value).then(()=>({status:n.value,value:p.value}))))}if(o.type==="transform")if(a.common.async===!1){const c=this._def.schema._parseSync({data:a.data,path:a.path,parent:a});if(!Ir(c))return c;const p=o.transform(c.value,l);if(p instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:n.value,value:p}}else return this._def.schema._parseAsync({data:a.data,path:a.path,parent:a}).then(c=>Ir(c)?Promise.resolve(o.transform(c.value,l)).then(p=>({status:n.value,value:p})):c);xe.assertNever(o)}}Ut.create=(r,t,n)=>new Ut({schema:r,typeName:ee.ZodEffects,effect:t,...ue(n)}),Ut.createWithPreprocess=(r,t,n)=>new Ut({schema:t,effect:{type:"preprocess",transform:r},typeName:ee.ZodEffects,...ue(n)});class sn extends he{_parse(t){return this._getType(t)===P.undefined?st(void 0):this._def.innerType._parse(t)}unwrap(){return this._def.innerType}}sn.create=(r,t)=>new sn({innerType:r,typeName:ee.ZodOptional,...ue(t)});class Un extends he{_parse(t){return this._getType(t)===P.null?st(null):this._def.innerType._parse(t)}unwrap(){return this._def.innerType}}Un.create=(r,t)=>new Un({innerType:r,typeName:ee.ZodNullable,...ue(t)});class Vr extends he{_parse(t){const{ctx:n}=this._processInputParams(t);let a=n.data;return n.parsedType===P.undefined&&(a=this._def.defaultValue()),this._def.innerType._parse({data:a,path:n.path,parent:n})}removeDefault(){return this._def.innerType}}Vr.create=(r,t)=>new Vr({innerType:r,typeName:ee.ZodDefault,defaultValue:typeof t.default=="function"?t.default:()=>t.default,...ue(t)});class Ai extends he{_parse(t){const{ctx:n}=this._processInputParams(t),a={...n,common:{...n.common,issues:[]}},o=this._def.innerType._parse({data:a.data,path:a.path,parent:{...a}});return wi(o)?o.then(l=>({status:"valid",value:l.status==="valid"?l.value:this._def.catchValue({get error(){return new Rt(a.common.issues)},input:a.data})})):{status:"valid",value:o.status==="valid"?o.value:this._def.catchValue({get error(){return new Rt(a.common.issues)},input:a.data})}}removeCatch(){return this._def.innerType}}Ai.create=(r,t)=>new Ai({innerType:r,typeName:ee.ZodCatch,catchValue:typeof t.catch=="function"?t.catch:()=>t.catch,...ue(t)});class Oi extends he{_parse(t){if(this._getType(t)!==P.nan){const a=this._getOrReturnCtx(t);return R(a,{code:M.invalid_type,expected:P.nan,received:a.parsedType}),ne}return{status:"valid",value:t.data}}}Oi.create=r=>new Oi({typeName:ee.ZodNaN,...ue(r)});const Kp=Symbol("zod_brand");class cl extends he{_parse(t){const{ctx:n}=this._processInputParams(t),a=n.data;return this._def.type._parse({data:a,path:n.path,parent:n})}unwrap(){return this._def.type}}class zr extends he{_parse(t){const{status:n,ctx:a}=this._processInputParams(t);if(a.common.async)return(async()=>{const l=await this._def.in._parseAsync({data:a.data,path:a.path,parent:a});return l.status==="aborted"?ne:l.status==="dirty"?(n.dirty(),ol(l.value)):this._def.out._parseAsync({data:l.value,path:a.path,parent:a})})();{const o=this._def.in._parseSync({data:a.data,path:a.path,parent:a});return o.status==="aborted"?ne:o.status==="dirty"?(n.dirty(),{status:"dirty",value:o.value}):this._def.out._parseSync({data:o.value,path:a.path,parent:a})}}static create(t,n){return new zr({in:t,out:n,typeName:ee.ZodPipeline})}}class Ci extends he{_parse(t){const n=this._def.innerType._parse(t);return Ir(n)&&(n.value=Object.freeze(n.value)),n}}Ci.create=(r,t)=>new Ci({innerType:r,typeName:ee.ZodReadonly,...ue(t)});const dl=(r,t={},n)=>r?tr.create().superRefine((a,o)=>{var l,c;if(!r(a)){const p=typeof t=="function"?t(a):typeof t=="string"?{message:t}:t,f=(c=(l=p.fatal)!==null&&l!==void 0?l:n)!==null&&c!==void 0?c:!0,m=typeof p=="string"?{message:p}:p;o.addIssue({code:"custom",...m,fatal:f})}}):tr.create(),Zp={object:Le.lazycreate};var ee;(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"})(ee||(ee={}));const Wp=(r,t={message:`Input not instance of ${r.name}`})=>dl(n=>n instanceof r,t),pl=Vt.create,gl=wn.create,$p=Oi.create,Hp=_n.create,hl=Tr.create,qp=Rn.create,jp=_i.create,Jp=Mr.create,Yp=Nr.create,Qp=tr.create,Xp=Vn.create,eg=an.create,tg=xi.create,ng=zt.create,rg=Le.create,ig=Le.strictCreate,ag=Lr.create,sg=ki.create,og=Fr.create,lg=Yt.create,ug=Dr.create,cg=Ei.create,dg=zn.create,pg=rr.create,gg=Br.create,hg=Pr.create,fg=xn.create,mg=Rr.create,bg=ir.create,fl=Ut.create,vg=sn.create,yg=Un.create,wg=Ut.createWithPreprocess,_g=zr.create;var De=Object.freeze({__proto__:null,defaultErrorMap:Cr,setErrorMap:Tp,getErrorMap:vi,makeIssue:yi,EMPTY_PATH:Mp,addIssueToContext:R,ParseStatus:nt,INVALID:ne,DIRTY:ol,OK:st,isAborted:$a,isDirty:Ha,isValid:Ir,isAsync:wi,get util(){return xe},get objectUtil(){return Wa},ZodParsedType:P,getParsedType:yn,ZodType:he,ZodString:Vt,ZodNumber:wn,ZodBigInt:_n,ZodBoolean:Tr,ZodDate:Rn,ZodSymbol:_i,ZodUndefined:Mr,ZodNull:Nr,ZodAny:tr,ZodUnknown:Vn,ZodNever:an,ZodVoid:xi,ZodArray:zt,ZodObject:Le,ZodUnion:Lr,ZodDiscriminatedUnion:ki,ZodIntersection:Fr,ZodTuple:Yt,ZodRecord:Dr,ZodMap:Ei,ZodSet:zn,ZodFunction:rr,ZodLazy:Br,ZodLiteral:Pr,ZodEnum:xn,ZodNativeEnum:Rr,ZodPromise:ir,ZodEffects:Ut,ZodTransformer:Ut,ZodOptional:sn,ZodNullable:Un,ZodDefault:Vr,ZodCatch:Ai,ZodNaN:Oi,BRAND:Kp,ZodBranded:cl,ZodPipeline:zr,ZodReadonly:Ci,custom:dl,Schema:he,ZodSchema:he,late:Zp,get ZodFirstPartyTypeKind(){return ee},coerce:{string:r=>Vt.create({...r,coerce:!0}),number:r=>wn.create({...r,coerce:!0}),boolean:r=>Tr.create({...r,coerce:!0}),bigint:r=>_n.create({...r,coerce:!0}),date:r=>Rn.create({...r,coerce:!0})},any:Qp,array:ng,bigint:Hp,boolean:hl,date:qp,discriminatedUnion:sg,effect:fl,enum:fg,function:pg,instanceof:Wp,intersection:og,lazy:gg,literal:hg,map:cg,nan:$p,nativeEnum:mg,never:eg,null:Yp,nullable:yg,number:gl,object:rg,oboolean:()=>hl().optional(),onumber:()=>gl().optional(),optional:vg,ostring:()=>pl().optional(),pipeline:_g,preprocess:wg,promise:bg,record:ug,set:dg,strictObject:ig,string:pl,symbol:jp,transformer:fl,tuple:lg,undefined:Jp,union:ag,unknown:Xp,void:tg,NEVER:ne,ZodIssueCode:M,quotelessJson:Ip,ZodError:Rt});const ml=De.enum(["day","month","year","hour","minute"]),ja=De.enum(["all","some","none"]),Ja=De.enum(["eq","not_eq","gt","gteq","lt","lteq"]),Ya=De.enum([...ja.options,...Ja.options]);class Gn{constructor(t){pe(this,"condition");this.condition=t}}class xg extends Gn{match(t){return t.cleanValue(this.condition.fieldKey)===this.condition.value}}class Sg extends Gn{match(t){const n=t.cleanValue(this.condition.fieldKey);if(n==null||typeof n!="number")return!1;switch(this.condition.op){case"gt":return n>this.condition.value;case"gteq":return n>=this.condition.value;case"lt":return n<this.condition.value;case"lteq":return n<=this.condition.value;case"eq":return n===this.condition.value}}}class kg extends Gn{match(t){const n=t.cleanValue(this.condition.fieldKey);return n?n.has(this.condition.value):!1}}class Eg extends Gn{match(t){return!0}}class Ag extends Gn{match(t){const n=t.getFieldState(this.condition.fieldKey);return n.hidden&&!this.condition.evenWhenHidden?!1:n.value!==null&&n.value!==void 0}}class Og extends Gn{match(t){return t.flags[this.condition.flagKey]===this.condition.triggerOn}}class Cg extends Gn{match(t){return t.calculations.getResult(this.condition.sexpKey)===!0}}class bl{constructor(t){pe(this,"action");this.action=t}}class Ig extends bl{act(t){t.markShown(this.action.fieldKey)}}class Tg extends bl{act(t){t.markHidden(this.action.fieldKey)}}function Mg(r){switch(r.type){case"equal":return new xg(r);case"numeric_compare":return new Sg(r);case"contains":return new kg(r);case"always":return new Eg(r);case"flag_equal":return new Og(r);case"answered":return new Ag(r);case"sexp_variable_true":return new Cg(r);default:throw"unknown condition type"}}function Ng(r){switch(r.type){case"show_question":return new Ig(r);case"hide_question":return new Tg(r);default:throw"unknown action type"}}class Lg{constructor(t,n,a){pe(this,"condition");pe(this,"action");pe(this,"questionKey");this.condition=t,this.action=n,this.questionKey=a}runAgainst(t){this.condition.match(t)&&this.action.act(t)}}function Fg(r){const t=Mg(r.condition),n=Ng(r.action);return new Lg(t,n,r.action.fieldKey)}class Qa{constructor(t){pe(this,"key");pe(this,"panels");pe(this,"footer");pe(this,"questions");pe(this,"validations");pe(this,"visibilityRules");pe(this,"textvars");pe(this,"sexpVariables");pe(this,"defaultAnswerValue");pe(this,"cssVars");pe(this,"layoutVersion");Zd(this,qi,{});this.key=t.key,this.questions=t.questions,this.panels=t.panels,this.footer=t.footer,this.validations=t.validations,this.visibilityRules=t.visibilityRules.map(n=>Fg(n)),this.textvars=Object.values(t.textvars),this.sexpVariables=t.sexpVariables||{},this.defaultAnswerValue=t.defaultAnswerValue,this.cssVars=t.cssVars,this.layoutVersion=t.layoutVersion||"v1"}getField(t){return this.questions[t]}getQuestionsInSameGroup(t){const n=this.getField(t);return n.questionGroup?Object.values(this.questions).filter(a=>a.questionGroup===n.questionGroup):[n]}getFlatOptions(t){var a;const n=this.getField(t);if(n.type!=="select"&&n.type!=="radio"&&n.type!=="scale")throw new Error(`Question ${t} does not have options.`);return(a=Kd(this,qi))[t]??(a[t]=n.children.flatMap(o=>o.type==="html"?[]:o.type==="optgroup"?o.options:o))}getOptionNumberValue(t,n){var o;const a=(o=this.getFlatOptions(t))==null?void 0:o.find(l=>l.key===n);return a&&typeof a.value=="number"?a.value:null}}qi=new WeakMap;var Ii={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
|
-
*/sd.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.",v="Expected a function",x="Invalid `variable` option passed into `_.template`",y="__lodash_hash_undefined__",E=500,B="__lodash_placeholder__",F=1,V=2,ge=4,ae=1,we=2,Y=1,G=2,de=4,he=8,me=16,ee=32,Te=64,Ie=128,Lt=256,ft=512,Ft=30,ye="...",Se=800,Ae=16,Be=1,Ye=2,He=3,je=1/0,ze=9007199254740991,ht=17976931348623157e292,oe=0/0,ue=4294967295,Oe=ue-1,Ze=ue>>>1,Pe=[["ary",Ie],["bind",Y],["bindKey",G],["curry",he],["curryRight",me],["flip",ft],["partial",ee],["partialRight",Te],["rearg",Lt]],Fe="[object Arguments]",Me="[object Array]",qe="[object AsyncFunction]",tt="[object Boolean]",Ke="[object Date]",rt="[object DOMException]",kt="[object Error]",_e="[object Function]",At="[object GeneratorFunction]",mt="[object Map]",fn="[object Number]",zn="[object Null]",Sn="[object Object]",Un="[object Promise]",dr="[object Proxy]",nr="[object RegExp]",Fn="[object Set]",wn="[object String]",pn="[object Symbol]",hn="[object Undefined]",fr="[object WeakMap]",yi="[object WeakSet]",Vn="[object ArrayBuffer]",Yt="[object DataView]",Mr="[object Float32Array]",Kr="[object Float64Array]",Fr="[object Int8Array]",Jr="[object Int16Array]",Pr="[object Int32Array]",Bi="[object Uint8Array]",Qr="[object Uint8ClampedArray]",pr="[object Uint16Array]",Xr="[object Uint32Array]",la=/\b__p \+= '';/g,kn=/\b(__p \+=) '' \+/g,rr=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Pn=/&(?:amp|lt|gt|quot|#39);/g,Ot=/[&<>"']/g,hr=RegExp(Pn.source),qr=RegExp(Ot.source),ei=/<%-([\s\S]+?)%>/g,ir=/<%([\s\S]+?)%>/g,ti=/<%=([\s\S]+?)%>/g,gr=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,nn=/^\w*$/,Ni=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ni=/[\\^$.*+?()[\]{}|]/g,ji=RegExp(ni.source),rn=/^\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,vt=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,_t=/\w*$/,wt=/^[-+]0x[0-9a-f]+$/i,pt=/^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=/($^)/,Dr=/['\n\r\u2028\u2029\\]/g,Xt="\\ud800-\\udfff",un="\\u0300-\\u036f",Lr="\\ufe20-\\ufe2f",_r="\\u20d0-\\u20ff",_n=un+Lr+_r,Ui="\\u2700-\\u27bf",Er="a-z\\xdf-\\xf6\\xf8-\\xff",Br="\\xac\\xb1\\xd7\\xf7",Qn="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",ri="\\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=Br+Qn+ri+wi,Nr="['’]",ja="["+Xt+"]",Wi="["+Vi+"]",ii="["+_n+"]",p="\\d+",k="["+Ui+"]",A="["+Er+"]",P="[^"+Xt+Vi+p+Ui+Er+ua+"]",X="\\ud83c[\\udffb-\\udfff]",K="(?:"+ii+"|"+X+")",ie="[^"+Xt+"]",xe="(?:\\ud83c[\\udde6-\\uddff]){2}",Ve="[\\ud800-\\udbff][\\udc00-\\udfff]",Qe="["+ua+"]",Je="\\u200d",Pt="(?:"+A+"|"+P+")",ar="(?:"+Qe+"|"+P+")",Dn="(?:"+Nr+"(?:d|ll|m|re|s|t|ve))?",Ln="(?:"+Nr+"(?:D|LL|M|RE|S|T|VE))?",jr=K+"?",mr="["+ca+"]?",da="(?:"+Je+"(?:"+[ie,xe,Ve].join("|")+")"+mr+jr+")*",xi="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Hi="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",zr=mr+jr+da,za="(?:"+[k,xe,Ve].join("|")+")"+zr,Dl="(?:"+[ie+ii+"?",ii,xe,Ve,ja].join("|")+")",Ll=RegExp(Nr,"g"),Jo=RegExp(ii,"g"),Qo=RegExp(X+"(?="+X+")|"+Dl+zr,"g"),Xo=RegExp([Qe+"?"+A+"+"+Dn+"(?="+[Wi,Qe,"$"].join("|")+")",ar+"+"+Ln+"(?="+[Wi,Qe+Pt,"$"].join("|")+")",Qe+"?"+Pt+"+"+Dn,Qe+"+"+Ln,Hi,xi,p,za].join("|"),"g"),ai=RegExp("["+Je+Xt+_n+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"],Jt=-1,Bt={};Bt[Mr]=Bt[Kr]=Bt[Fr]=Bt[Jr]=Bt[Pr]=Bt[Bi]=Bt[Qr]=Bt[pr]=Bt[Xr]=!0,Bt[Fe]=Bt[Me]=Bt[Vn]=Bt[tt]=Bt[Yt]=Bt[Ke]=Bt[kt]=Bt[_e]=Bt[mt]=Bt[fn]=Bt[Sn]=Bt[nr]=Bt[Fn]=Bt[wn]=Bt[fr]=!1;var xt={};xt[Fe]=xt[Me]=xt[Vn]=xt[Yt]=xt[tt]=xt[Ke]=xt[Mr]=xt[Kr]=xt[Fr]=xt[Jr]=xt[Pr]=xt[mt]=xt[fn]=xt[Sn]=xt[nr]=xt[Fn]=xt[wn]=xt[pn]=xt[Bi]=xt[Qr]=xt[pr]=xt[Xr]=!0,xt[kt]=xt[_e]=xt[fr]=!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={"&":"&","<":"<",">":">",'"':""","'":"'"},mo={"&":"&","<":"<",">":">",""":'"',"'":"'"},ki={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Cr=parseFloat,qo=parseInt,vo=typeof er=="object"&&er&&er.Object===Object&&er,Ws=typeof self=="object"&&self&&self.Object===Object&&self,En=vo||Ws||Function("return this")(),bo=e&&!e.nodeType&&e,Gi=bo&&!0&&r&&!r.nodeType&&r,Hs=Gi&&Gi.exports===bo,fa=Hs&&vo.process,Wn=function(){try{var Z=Gi&&Gi.require&&Gi.require("util").types;return Z||fa&&fa.binding&&fa.binding("util")}catch{}}(),Va=Wn&&Wn.isArrayBuffer,pa=Wn&&Wn.isDate,$s=Wn&&Wn.isMap,ha=Wn&&Wn.isRegExp,yo=Wn&&Wn.isSet,wo=Wn&&Wn.isTypedArray;function Cn(Z,se,re){switch(re.length){case 0:return Z.call(se);case 1:return Z.call(se,re[0]);case 2:return Z.call(se,re[0],re[1]);case 3:return Z.call(se,re[0],re[1],re[2])}return Z.apply(se,re)}function ga(Z,se,re,Ne){for(var st=-1,Dt=Z==null?0:Z.length;++st<Dt;){var gn=Z[st];se(Ne,gn,re(gn),Z)}return Ne}function Hn(Z,se){for(var re=-1,Ne=Z==null?0:Z.length;++re<Ne&&se(Z[re],re,Z)!==!1;);return Z}function Gs(Z,se){for(var re=Z==null?0:Z.length;re--&&se(Z[re],re,Z)!==!1;);return Z}function xo(Z,se){for(var re=-1,Ne=Z==null?0:Z.length;++re<Ne;)if(!se(Z[re],re,Z))return!1;return!0}function oi(Z,se){for(var re=-1,Ne=Z==null?0:Z.length,st=0,Dt=[];++re<Ne;){var gn=Z[re];se(gn,re,Z)&&(Dt[st++]=gn)}return Dt}function Zi(Z,se){var re=Z==null?0:Z.length;return!!re&&Yi(Z,se,0)>-1}function $n(Z,se,re){for(var Ne=-1,st=Z==null?0:Z.length;++Ne<st;)if(re(se,Z[Ne]))return!0;return!1}function qt(Z,se){for(var re=-1,Ne=Z==null?0:Z.length,st=Array(Ne);++re<Ne;)st[re]=se(Z[re],re,Z);return st}function Tr(Z,se){for(var re=-1,Ne=se.length,st=Z.length;++re<Ne;)Z[st+re]=se[re];return Z}function es(Z,se,re,Ne){var st=-1,Dt=Z==null?0:Z.length;for(Ne&&Dt&&(re=Z[++st]);++st<Dt;)re=se(re,Z[st],st,Z);return re}function Zs(Z,se,re,Ne){var st=Z==null?0:Z.length;for(Ne&&st&&(re=Z[--st]);st--;)re=se(re,Z[st],st,Z);return re}function ma(Z,se){for(var re=-1,Ne=Z==null?0:Z.length;++re<Ne;)if(se(Z[re],re,Z))return!0;return!1}var Ys=h("length");function Ks(Z){return Z.split("")}function So(Z){return Z.match(ve)||[]}function Wa(Z,se,re){var Ne;return re(Z,function(st,Dt,gn){if(se(st,Dt,gn))return Ne=Dt,!1}),Ne}function Ha(Z,se,re,Ne){for(var st=Z.length,Dt=re+(Ne?1:-1);Ne?Dt--:++Dt<st;)if(se(Z[Dt],Dt,Z))return Dt;return-1}function Yi(Z,se,re){return se===se?Rc(Z,se,re):Ha(Z,ko,re)}function Js(Z,se,re,Ne){for(var st=re-1,Dt=Z.length;++st<Dt;)if(Ne(Z[st],se))return st;return-1}function ko(Z){return Z!==Z}function ts(Z,se){var re=Z==null?0:Z.length;return re?q(Z,se)/re:oe}function h(Z){return function(se){return se==null?n:se[Z]}}function S(Z){return function(se){return Z==null?n:Z[se]}}function R(Z,se,re,Ne,st){return st(Z,function(Dt,gn,Vt){re=Ne?(Ne=!1,Dt):se(re,Dt,gn,Vt)}),re}function D(Z,se){var re=Z.length;for(Z.sort(se);re--;)Z[re]=Z[re].value;return Z}function q(Z,se){for(var re,Ne=-1,st=Z.length;++Ne<st;){var Dt=se(Z[Ne]);Dt!==n&&(re=re===n?Dt:re+Dt)}return re}function Q(Z,se){for(var re=-1,Ne=Array(Z);++re<Z;)Ne[re]=se(re);return Ne}function le(Z,se){return qt(se,function(re){return[re,Z[re]]})}function ke(Z){return Z&&Z.slice(0,jl(Z)+1).replace(rn,"")}function $e(Z){return function(se){return Z(se)}}function gt(Z,se){return qt(se,function(re){return Z[re]})}function ot(Z,se){return Z.has(se)}function Qt(Z,se){for(var re=-1,Ne=Z.length;++re<Ne&&Yi(se,Z[re],0)>-1;);return re}function Xn(Z,se){for(var re=Z.length;re--&&Yi(se,Z[re],0)>-1;);return re}function Rr(Z,se){for(var re=Z.length,Ne=0;re--;)Z[re]===se&&++Ne;return Ne}var Ir=S($i),_o=S(Si);function Qs(Z){return"\\"+ki[Z]}function ns(Z,se){return Z==null?n:Z[se]}function Eo(Z){return ai.test(Z)}function Ec(Z){return Ua.test(Z)}function Cc(Z){for(var se,re=[];!(se=Z.next()).done;)re.push(se.value);return re}function Bl(Z){var se=-1,re=Array(Z.size);return Z.forEach(function(Ne,st){re[++se]=[st,Ne]}),re}function Ou(Z,se){return function(re){return Z(se(re))}}function va(Z,se){for(var re=-1,Ne=Z.length,st=0,Dt=[];++re<Ne;){var gn=Z[re];(gn===se||gn===B)&&(Z[re]=B,Dt[st++]=re)}return Dt}function Co(Z){var se=-1,re=Array(Z.size);return Z.forEach(function(Ne){re[++se]=Ne}),re}function Tc(Z){var se=-1,re=Array(Z.size);return Z.forEach(function(Ne){re[++se]=[Ne,Ne]}),re}function Rc(Z,se,re){for(var Ne=re-1,st=Z.length;++Ne<st;)if(Z[Ne]===se)return Ne;return-1}function Nl(Z,se,re){for(var Ne=re+1;Ne--;)if(Z[Ne]===se)return Ne;return Ne}function To(Z){return Eo(Z)?zl(Z):Ys(Z)}function Ar(Z){return Eo(Z)?Ur(Z):Ks(Z)}function jl(Z){for(var se=Z.length;se--&&zi.test(Z.charAt(se)););return se}var Mu=S(mo);function zl(Z){for(var se=Qo.lastIndex=0;Qo.test(Z);)++se;return se}function Ur(Z){return Z.match(Qo)||[]}function Ic(Z){return Z.match(Xo)||[]}var Fu=function Z(se){se=se==null?En:Bn.defaults(En.Object(),se,Bn.pick(En,go));var re=se.Array,Ne=se.Date,st=se.Error,Dt=se.Function,gn=se.Math,Vt=se.Object,ba=se.RegExp,Ul=se.String,vr=se.TypeError,$a=re.prototype,Ac=Dt.prototype,Ga=Vt.prototype,Xs=se["__core-js_shared__"],qs=Ac.toString,$t=Ga.hasOwnProperty,Pu=0,cn=function(){var t=/[^.]+$/.exec(Xs&&Xs.keys&&Xs.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),ya=Ga.toString,Vl=qs.call(Vt),dn=En._,Ro=ba("^"+qs.call($t).replace(ni,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Io=Hs?se.Buffer:n,_i=se.Symbol,Ao=se.Uint8Array,el=Io?Io.allocUnsafe:n,Oo=Ou(Vt.getPrototypeOf,Vt),Wl=Vt.create,Hl=Ga.propertyIsEnumerable,Za=$a.splice,tl=_i?_i.isConcatSpreadable:n,Ki=_i?_i.iterator:n,si=_i?_i.toStringTag:n,Ji=function(){try{var t=yu(Vt,"defineProperty");return t({},"",{}),t}catch{}}(),rs=se.clearTimeout!==En.clearTimeout&&se.clearTimeout,is=Ne&&Ne.now!==En.Date.now&&Ne.now,nl=se.setTimeout!==En.setTimeout&&se.setTimeout,as=gn.ceil,Mo=gn.floor,os=Vt.getOwnPropertySymbols,$l=Io?Io.isBuffer:n,Gl=se.isFinite,Fo=$a.join,Zl=Ou(Vt.keys,Vt),mn=gn.max,vn=gn.min,Yl=Ne.now,Kl=se.parseInt,Qi=gn.random,Du=$a.reverse,Xi=yu(se,"DataView"),li=yu(se,"Map"),ss=yu(se,"Promise"),or=yu(se,"Set"),wa=yu(se,"WeakMap"),xa=yu(Vt,"create"),Sa=wa&&new wa,ka={},ls=wu(Xi),Lu=wu(li),Bu=wu(ss),rl=wu(or),us=wu(wa),Po=_i?_i.prototype:n,cs=Po?Po.valueOf:n,Ya=Po?Po.toString:n;function I(t){if(jn(t)&&!Et(t)&&!(t instanceof St)){if(t instanceof sr)return t;if($t.call(t,"__wrapped__"))return cg(t)}return new sr(t)}var _a=function(){function t(){}return function(i){if(!An(i))return{};if(Wl)return Wl(i);t.prototype=i;var u=new t;return t.prototype=n,u}}();function Ka(){}function sr(t,i){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!i,this.__index__=0,this.__values__=n}I.templateSettings={escape:ei,evaluate:ir,interpolate:ti,variable:"",imports:{_:I}},I.prototype=Ka.prototype,I.prototype.constructor=I,sr.prototype=_a(Ka.prototype),sr.prototype.constructor=sr;function St(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=ue,this.__views__=[]}function il(){var t=new St(this.__wrapped__);return t.__actions__=Yn(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=Yn(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=Yn(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 ds(){var t=this.__wrapped__.value(),i=this.__dir__,u=Et(t),m=i<0,C=u?t.length:0,O=F0(0,C,this.__views__),z=O.start,$=O.end,J=$-z,ce=m?$:z-1,fe=this.__iteratees__,be=fe.length,Le=0,Xe=vn(J,this.__takeCount__);if(!u||!m&&C==J&&Xe==J)return wr(t,this.__actions__);var ut=[];e:for(;J--&&Le<Xe;){ce+=i;for(var Mt=-1,ct=t[ce];++Mt<be;){var jt=fe[Mt],Wt=jt.iteratee,oa=jt.type,gi=Wt(ct);if(oa==Ye)ct=gi;else if(!gi){if(oa==Be)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 m=t[i];this.set(m[0],m[1])}}function Lo(){this.__data__=xa?xa(null):{},this.size=0}function al(t){var i=this.has(t)&&delete this.__data__[t];return this.size-=i?1:0,i}function ol(t){var i=this.__data__;if(xa){var u=i[t];return u===y?n:u}return $t.call(i,t)?i[t]:n}function sl(t){var i=this.__data__;return xa?i[t]!==n:$t.call(i,t)}function Nu(t,i){var u=this.__data__;return this.size+=this.has(t)?0:1,u[t]=xa&&i===n?y:i,this}Ei.prototype.clear=Lo,Ei.prototype.delete=al,Ei.prototype.get=ol,Ei.prototype.has=sl,Ei.prototype.set=Nu;function Ci(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 ju(){this.__data__=[],this.size=0}function Oc(t){var i=this.__data__,u=Wr(i,t);if(u<0)return!1;var m=i.length-1;return u==m?i.pop():Za.call(i,u,1),--this.size,!0}function Mc(t){var i=this.__data__,u=Wr(i,t);return u<0?n:i[u][1]}function zu(t){return Wr(this.__data__,t)>-1}function Fc(t,i){var u=this.__data__,m=Wr(u,t);return m<0?(++this.size,u.push([t,i])):u[m][1]=i,this}Ci.prototype.clear=ju,Ci.prototype.delete=Oc,Ci.prototype.get=Mc,Ci.prototype.has=zu,Ci.prototype.set=Fc;function qi(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 ll(){this.size=0,this.__data__={hash:new Ei,map:new(li||Ci),string:new Ei}}function ul(t){var i=Od(this,t).delete(t);return this.size-=i?1:0,i}function Pc(t){return Od(this,t).get(t)}function Jl(t){return Od(this,t).has(t)}function cl(t,i){var u=Od(this,t),m=u.size;return u.set(t,i),this.size+=u.size==m?0:1,this}qi.prototype.clear=ll,qi.prototype.delete=ul,qi.prototype.get=Pc,qi.prototype.has=Jl,qi.prototype.set=cl;function Ja(t){var i=-1,u=t==null?0:t.length;for(this.__data__=new qi;++i<u;)this.add(t[i])}function Dc(t){return this.__data__.set(t,y),this}function Lc(t){return this.__data__.has(t)}Ja.prototype.add=Ja.prototype.push=Dc,Ja.prototype.has=Lc;function ui(t){var i=this.__data__=new Ci(t);this.size=i.size}function ea(){this.__data__=new Ci,this.size=0}function Ql(t){var i=this.__data__,u=i.delete(t);return this.size=i.size,u}function dl(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 m=u.__data__;if(!li||m.length<o-1)return m.push([t,i]),this.size=++u.size,this;u=this.__data__=new qi(m)}return u.set(t,i),this.size=u.size,this}ui.prototype.clear=ea,ui.prototype.delete=Ql,ui.prototype.get=dl,ui.prototype.has=Nt,ui.prototype.set=Qa;function Ea(t,i){var u=Et(t),m=!u&&xu(t),C=!u&&!m&&Cl(t),O=!u&&!m&&!C&&ec(t),z=u||m||C||O,$=z?Q(t.length,Ul):[],J=$.length;for(var ce in t)(i||$t.call(t,ce))&&!(z&&(ce=="length"||C&&(ce=="offset"||ce=="parent")||O&&(ce=="buffer"||ce=="byteLength"||ce=="byteOffset")||As(ce,J)))&&$.push(ce);return $}function Gt(t){var i=t.length;return i?t[bl(0,i-1)]:n}function Vr(t,i){return Md(Yn(t),Ca(i,0,t.length))}function Xa(t){return Md(Yn(t))}function Bo(t,i,u){(u!==n&&!so(t[i],u)||u===n&&!(i in t))&&Gn(t,i,u)}function xn(t,i,u){var m=t[i];(!($t.call(t,i)&&so(m,u))||u===n&&!(i in t))&&Gn(t,i,u)}function Wr(t,i){for(var u=t.length;u--;)if(so(t[u][0],i))return u;return-1}function qa(t,i,u,m){return Ta(t,function(C,O,z){i(m,C,u(C),z)}),m}function ci(t,i){return t&&Ii(i,xr(i),t)}function eo(t,i){return t&&Ii(i,Oi(i),t)}function Gn(t,i,u){i=="__proto__"&&Ji?Ji(t,i,{configurable:!0,enumerable:!0,value:u,writable:!0}):t[i]=u}function Xl(t,i){for(var u=-1,m=i.length,C=re(m),O=t==null;++u<m;)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 lr(t,i,u,m,C,O){var z,$=i&F,J=i&V,ce=i≥if(u&&(z=C?u(t,m,C,O):u(t)),z!==n)return z;if(!An(t))return t;var fe=Et(t);if(fe){if(z=D0(t),!$)return Yn(t,z)}else{var be=Zr(t),Le=be==_e||be==At;if(Cl(t))return gu(t,$);if(be==Sn||be==Fe||Le&&!C){if(z=J||Le?{}:tg(t),!$)return J?_l(t,eo(z,t)):Qu(t,ci(z,t))}else{if(!xt[be])return C?t:{};z=L0(t,be,$)}}O||(O=new ui);var Xe=O.get(t);if(Xe)return Xe;O.set(t,z),Ag(t)?t.forEach(function(ct){z.add(lr(ct,i,u,ct,t,O))}):Rg(t)&&t.forEach(function(ct,jt){z.set(jt,lr(ct,i,u,jt,t,O))});var ut=ce?J?jf:Nf:J?Oi:xr,Mt=fe?n:ut(t);return Hn(Mt||t,function(ct,jt){Mt&&(jt=ct,ct=t[jt]),xn(z,jt,lr(ct,i,u,jt,t,O))}),z}function ql(t){var i=xr(t);return function(u){return Uu(u,t,i)}}function Uu(t,i,u){var m=u.length;if(t==null)return!m;for(t=Vt(t);m--;){var C=u[m],O=i[C],z=t[C];if(z===n&&!(C in t)||!O(z))return!1}return!0}function eu(t,i,u){if(typeof t!="function")throw new vr(v);return Uc(function(){t.apply(n,u)},i)}function ta(t,i,u,m){var C=-1,O=Zi,z=!0,$=t.length,J=[],ce=i.length;if(!$)return J;u&&(i=qt(i,$e(u))),m?(O=$n,z=!1):i.length>=o&&(O=ot,z=!1,i=new Ja(i));e:for(;++C<$;){var fe=t[C],be=u==null?fe:u(fe);if(fe=m||fe!==0?fe:0,z&&be===be){for(var Le=ce;Le--;)if(i[Le]===be)continue e;J.push(fe)}else O(i,be,m)||J.push(fe)}return J}var Ta=f(Ti),tu=f(iu,!0);function fl(t,i){var u=!0;return Ta(t,function(m,C,O){return u=!!i(m,C,O),u}),u}function pl(t,i,u){for(var m=-1,C=t.length;++m<C;){var O=t[m],z=i(O);if(z!=null&&($===n?z===z&&!aa(z):u(z,$)))var $=z,J=O}return J}function Vu(t,i,u,m){var C=t.length;for(u=Rt(u),u<0&&(u=-u>C?0:C+u),m=m===n||m>C?C:Rt(m),m<0&&(m+=C),m=u>m?0:Mg(m);u<m;)t[u++]=i;return t}function nu(t,i){var u=[];return Ta(t,function(m,C,O){i(m,C,O)&&u.push(m)}),u}function Zn(t,i,u,m,C){var O=-1,z=t.length;for(u||(u=N0),C||(C=[]);++O<z;){var $=t[O];i>0&&u($)?i>1?Zn($,i-1,u,m,C):Tr(C,$):m||(C[C.length]=$)}return C}var ru=b(),Wu=b(!0);function Ti(t,i){return t&&ru(t,i,xr)}function iu(t,i){return t&&Wu(t,i,xr)}function hl(t,i){return oi(i,function(u){return Os(t[u])})}function to(t,i){i=ia(i,t);for(var u=0,m=i.length;t!=null&&u<m;)t=t[$o(i[u++])];return u&&u==m?t:n}function fs(t,i,u){var m=i(t);return Et(t)?m:Tr(m,u(t))}function qn(t){return t==null?t===n?hn:zn:si&&si in Vt(t)?M0(t):$0(t)}function ps(t,i){return t>i}function hs(t,i){return t!=null&&$t.call(t,i)}function Hu(t,i){return t!=null&&i in Vt(t)}function gs(t,i,u){return t>=vn(i,u)&&t<mn(i,u)}function No(t,i,u){for(var m=u?$n:Zi,C=t[0].length,O=t.length,z=O,$=re(O),J=1/0,ce=[];z--;){var fe=t[z];z&&i&&(fe=qt(fe,$e(i))),J=vn(fe.length,J),$[z]=!u&&(i||C>=120&&fe.length>=120)?new Ja(z&&fe):n}fe=t[0];var be=-1,Le=$[0];e:for(;++be<C&&ce.length<J;){var Xe=fe[be],ut=i?i(Xe):Xe;if(Xe=u||Xe!==0?Xe:0,!(Le?ot(Le,ut):m(ce,ut,u))){for(z=O;--z;){var Mt=$[z];if(!(Mt?ot(Mt,ut):m(t[z],ut,u)))continue e}Le&&Le.push(ut),ce.push(Xe)}}return ce}function au(t,i,u,m){return Ti(t,function(C,O,z){i(m,u(C),O,z)}),m}function Hr(t,i,u){i=ia(i,t),t=ag(t,i);var m=t==null?t:t[$o(Ia(i))];return m==null?n:Cn(m,t,u)}function ms(t){return jn(t)&&qn(t)==Fe}function gl(t){return jn(t)&&qn(t)==Vn}function no(t){return jn(t)&&qn(t)==Ke}function jo(t,i,u,m,C){return t===i?!0:t==null||i==null||!jn(t)&&!jn(i)?t!==t&&i!==i:ou(t,i,u,m,jo,C)}function ou(t,i,u,m,C,O){var z=Et(t),$=Et(i),J=z?Me:Zr(t),ce=$?Me:Zr(i);J=J==Fe?Sn:J,ce=ce==Fe?Sn:ce;var fe=J==Sn,be=ce==Sn,Le=J==ce;if(Le&&Cl(t)){if(!Cl(i))return!1;z=!0,fe=!1}if(Le&&!fe)return O||(O=new ui),z||ec(t)?Rs(t,i,u,m,C,O):Lf(t,i,J,u,m,C,O);if(!(u&ae)){var Xe=fe&&$t.call(t,"__wrapped__"),ut=be&&$t.call(i,"__wrapped__");if(Xe||ut){var Mt=Xe?t.value():t,ct=ut?i.value():i;return O||(O=new ui),C(Mt,ct,u,m,O)}}return Le?(O||(O=new ui),Bf(t,i,u,m,C,O)):!1}function ro(t){return jn(t)&&Zr(t)==mt}function su(t,i,u,m){var C=u.length,O=C,z=!m;if(t==null)return!O;for(t=Vt(t);C--;){var $=u[C];if(z&&$[2]?$[1]!==t[$[0]]:!($[0]in t))return!1}for(;++C<O;){$=u[C];var J=$[0],ce=t[J],fe=$[1];if(z&&$[2]){if(ce===n&&!(J in t))return!1}else{var be=new ui;if(m)var Le=m(ce,fe,J,t,i,be);if(!(Le===n?jo(fe,ce,ae|we,m,be):Le))return!1}}return!0}function lu(t){if(!An(t)||z0(t))return!1;var i=Os(t)?Ro:ln;return i.test(wu(t))}function Ri(t){return jn(t)&&qn(t)==nr}function Bc(t){return jn(t)&&Zr(t)==Fn}function Nc(t){return jn(t)&&Nd(t.length)&&!!Bt[qn(t)]}function zo(t){return typeof t=="function"?t:t==null?Mi:typeof t=="object"?Et(t)?fi(t[0],t[1]):na(t):Wg(t)}function vs(t){if(!zc(t))return Zl(t);var i=[];for(var u in Vt(t))$t.call(t,u)&&u!="constructor"&&i.push(u);return i}function ml(t){if(!An(t))return H0(t);var i=zc(t),u=[];for(var m in t)m=="constructor"&&(i||!$t.call(t,m))||u.push(m);return u}function di(t,i){return t<i}function Uo(t,i){var u=-1,m=Ai(t)?re(t.length):[];return Ta(t,function(C,O,z){m[++u]=i(C,O,z)}),m}function na(t){var i=Uf(t);return i.length==1&&i[0][2]?rg(i[0][0],i[0][1]):function(u){return u===t||su(u,t,i)}}function fi(t,i){return Wf(t)&&ng(i)?rg($o(t),i):function(u){var m=qf(u,t);return m===n&&m===i?ep(u,t):jo(i,m,ae|we)}}function Vo(t,i,u,m,C){t!==i&&ru(i,function(O,z){if(C||(C=new ui),An(O))$r(t,i,z,u,Vo,m,C);else{var $=m?m($f(t,z),O,z+"",t,i,C):n;$===n&&($=O),Bo(t,z,$)}},Oi)}function $r(t,i,u,m,C,O,z){var $=$f(t,u),J=$f(i,u),ce=z.get(J);if(ce){Bo(t,u,ce);return}var fe=O?O($,J,u+"",t,i,z):n,be=fe===n;if(be){var Le=Et(J),Xe=!Le&&Cl(J),ut=!Le&&!Xe&&ec(J);fe=J,Le||Xe||ut?Et($)?fe=$:Kn($)?fe=Yn($):Xe?(be=!1,fe=gu(J,!0)):ut?(be=!1,fe=mu(J,!0)):fe=[]:Vc(J)||xu(J)?(fe=$,xu($)?fe=Fg($):(!An($)||Os($))&&(fe=tg(J))):be=!1}be&&(z.set(J,fe),C(fe,J,m,O,z),z.delete(J)),Bo(t,u,fe)}function io(t,i){var u=t.length;if(u)return i+=i<0?u:0,As(i,u)?t[i]:n}function vl(t,i,u){i.length?i=qt(i,function(O){return Et(O)?function(z){return to(z,O.length===1?O[0]:O)}:O}):i=[Mi];var m=-1;i=qt(i,$e(lt()));var C=Uo(t,function(O,z,$){var J=qt(i,function(ce){return ce(O)});return{criteria:J,index:++m,value:O}});return D(C,function(O,z){return Ts(O,z,u)})}function Gr(t,i){return ra(t,i,function(u,m){return ep(t,m)})}function ra(t,i,u){for(var m=-1,C=i.length,O={};++m<C;){var z=i[m],$=to(t,z);u($,z)&&oo(O,ia(z,t),$)}return O}function uu(t){return function(i){return to(i,t)}}function ao(t,i,u,m){var C=m?Js:Yi,O=-1,z=i.length,$=t;for(t===i&&(i=Yn(i)),u&&($=qt(t,$e(u)));++O<z;)for(var J=0,ce=i[O],fe=u?u(ce):ce;(J=C($,fe,J,m))>-1;)$!==t&&Za.call($,J,1),Za.call(t,J,1);return t}function bs(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;As(C)?Za.call(t,C,1):pu(t,C)}}return t}function bl(t,i){return t+Mo(Qi()*(i-t+1))}function $u(t,i,u,m){for(var C=-1,O=mn(as((i-t)/(u||1)),0),z=re(O);O--;)z[m?O:++C]=t,t+=u;return z}function cu(t,i){var u="";if(!t||i<1||i>ze)return u;do i%2&&(u+=t),i=Mo(i/2),i&&(t+=t);while(i);return u}function bt(t,i){return Gf(ig(t,i,Mi),t+"")}function ys(t){return Gt(tc(t))}function Gu(t,i){var u=tc(t);return Md(u,Ca(i,0,u.length))}function oo(t,i,u,m){if(!An(t))return t;i=ia(i,t);for(var C=-1,O=i.length,z=O-1,$=t;$!=null&&++C<O;){var J=$o(i[C]),ce=u;if(J==="__proto__"||J==="constructor"||J==="prototype")return t;if(C!=z){var fe=$[J];ce=m?m(fe,J,$):n,ce===n&&(ce=An(fe)?fe:As(i[C+1])?[]:{})}xn($,J,ce),$=$[J]}return t}var Wo=Sa?function(t,i){return Sa.set(t,i),t}:Mi,du=Ji?function(t,i){return Ji(t,"toString",{configurable:!0,enumerable:!1,value:np(i),writable:!0})}:Mi;function fu(t){return Md(tc(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=re(C);++m<C;)O[m]=t[m+i];return O}function Zu(t,i){var u;return Ta(t,function(m,C,O){return u=i(m,C,O),!u}),!!u}function ws(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,z=t[O];z!==null&&!aa(z)&&(u?z<=i:z<i)?m=O+1:C=O}return C}return xs(t,i,Mi,u)}function xs(t,i,u,m){var C=0,O=t==null?0:t.length;if(O===0)return 0;i=u(i);for(var z=i!==i,$=i===null,J=aa(i),ce=i===n;C<O;){var fe=Mo((C+O)/2),be=u(t[fe]),Le=be!==n,Xe=be===null,ut=be===be,Mt=aa(be);if(z)var ct=m||ut;else ce?ct=ut&&(m||Le):$?ct=ut&&Le&&(m||!Xe):J?ct=ut&&Le&&!Xe&&(m||!Mt):Xe||Mt?ct=!1:ct=m?be<=i:be<i;ct?C=fe+1:O=fe}return vn(O,Oe)}function Yu(t,i){for(var u=-1,m=t.length,C=0,O=[];++u<m;){var z=t[u],$=i?i(z):z;if(!u||!so($,J)){var J=$;O[C++]=z===0?0:z}}return O}function Ku(t){return typeof t=="number"?t:aa(t)?oe:+t}function yr(t){if(typeof t=="string")return t;if(Et(t))return qt(t,yr)+"";if(aa(t))return Ya?Ya.call(t):"";var i=t+"";return i=="0"&&1/t==-je?"-0":i}function Ra(t,i,u){var m=-1,C=Zi,O=t.length,z=!0,$=[],J=$;if(u)z=!1,C=$n;else if(O>=o){var ce=i?null:sn(t);if(ce)return Co(ce);z=!1,C=ot,J=new Ja}else J=i?[]:$;e:for(;++m<O;){var fe=t[m],be=i?i(fe):fe;if(fe=u||fe!==0?fe:0,z&&be===be){for(var Le=J.length;Le--;)if(J[Le]===be)continue e;i&&J.push(be),$.push(fe)}else C(J,be,u)||(J!==$&&J.push(be),$.push(fe))}return $}function pu(t,i){return i=ia(i,t),t=ag(t,i),t==null||delete t[$o(Ia(i))]}function yl(t,i,u,m){return oo(t,i,u(to(t,i)),m)}function wl(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()),es(i,function(m,C){return C.func.apply(C.thisArg,Tr([m],C.args))},u)}function Ss(t,i,u){var m=t.length;if(m<2)return m?Ra(t[0]):[];for(var C=-1,O=re(m);++C<m;)for(var z=t[C],$=-1;++$<m;)$!=C&&(O[C]=ta(O[C]||z,t[$],i,u));return Ra(Zn(O,1),i,u)}function hu(t,i,u){for(var m=-1,C=t.length,O=i.length,z={};++m<C;){var $=m<O?i[m]:n;u(z,t[m],$)}return z}function ur(t){return Kn(t)?t:[]}function ks(t){return typeof t=="function"?t:Mi}function ia(t,i){return Et(t)?t:Wf(t,i)?[t]:ug(an(t))}var jc=bt;function pi(t,i,u){var m=t.length;return u=u===n?m:u,!i&&u>=m?t:br(t,i,u)}var _s=rs||function(t){return En.clearTimeout(t)};function gu(t,i){if(i)return t.slice();var u=t.length,m=el?el(u):new t.constructor(u);return t.copy(m),m}function xl(t){var i=new t.constructor(t.byteLength);return new Ao(i).set(new Ao(t)),i}function Es(t,i){var u=i?xl(t.buffer):t.buffer;return new t.constructor(u,t.byteOffset,t.byteLength)}function Cs(t){var i=new t.constructor(t.source,_t.exec(t));return i.lastIndex=t.lastIndex,i}function Sl(t){return cs?Vt(cs.call(t)):{}}function mu(t,i){var u=i?xl(t.buffer):t.buffer;return new t.constructor(u,t.byteOffset,t.length)}function Ho(t,i){if(t!==i){var u=t!==n,m=t===null,C=t===t,O=aa(t),z=i!==n,$=i===null,J=i===i,ce=aa(i);if(!$&&!ce&&!O&&t>i||O&&z&&J&&!$&&!ce||m&&z&&J||!u&&J||!C)return 1;if(!m&&!O&&!ce&&t<i||ce&&u&&C&&!m&&!O||$&&u&&C||!z&&C||!J)return-1}return 0}function Ts(t,i,u){for(var m=-1,C=t.criteria,O=i.criteria,z=C.length,$=u.length;++m<z;){var J=Ho(C[m],O[m]);if(J){if(m>=$)return J;var ce=u[m];return J*(ce=="desc"?-1:1)}}return t.index-i.index}function Ju(t,i,u,m){for(var C=-1,O=t.length,z=u.length,$=-1,J=i.length,ce=mn(O-z,0),fe=re(J+ce),be=!m;++$<J;)fe[$]=i[$];for(;++C<z;)(be||C<O)&&(fe[u[C]]=t[C]);for(;ce--;)fe[$++]=t[C++];return fe}function kl(t,i,u,m){for(var C=-1,O=t.length,z=-1,$=u.length,J=-1,ce=i.length,fe=mn(O-$,0),be=re(fe+ce),Le=!m;++C<fe;)be[C]=t[C];for(var Xe=C;++J<ce;)be[Xe+J]=i[J];for(;++z<$;)(Le||C<O)&&(be[Xe+u[z]]=t[C++]);return be}function Yn(t,i){var u=-1,m=t.length;for(i||(i=re(m));++u<m;)i[u]=t[u];return i}function Ii(t,i,u,m){var C=!u;u||(u={});for(var O=-1,z=i.length;++O<z;){var $=i[O],J=m?m(u[$],t[$],$,u,t):n;J===n&&(J=t[$]),C?Gn(u,$,J):xn(u,$,J)}return u}function Qu(t,i){return Ii(t,Vf(t),i)}function _l(t,i){return Ii(t,qh(t),i)}function El(t,i){return function(u,m){var C=Et(u)?ga:qa,O=i?i():{};return C(u,t,lt(m,2),O)}}function l(t){return bt(function(i,u){var m=-1,C=u.length,O=C>1?u[C-1]:n,z=C>2?u[2]:n;for(O=t.length>3&&typeof O=="function"?(C--,O):n,z&&hi(u[0],u[1],z)&&(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(!Ai(u))return t(u,m);for(var C=u.length,O=i?C:-1,z=Vt(u);(i?O--:++O<C)&&m(z[O],O,z)!==!1;);return u}}function b(t){return function(i,u,m){for(var C=-1,O=Vt(i),z=m(i),$=z.length;$--;){var J=z[t?$:++C];if(u(O[J],J,O)===!1)break}return i}}function _(t,i,u){var m=i&Y,C=H(t);function O(){var z=this&&this!==En&&this instanceof O?C:t;return z.apply(m?u:this,arguments)}return O}function M(t){return function(i){i=an(i);var u=Eo(i)?Ar(i):n,m=u?u[0]:i.charAt(0),C=u?pi(u,1).join(""):i.slice(1);return m[t]()+C}}function N(t){return function(i){return es(Ug(zg(i).replace(Ll,"")),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),m=t.apply(u,i);return An(m)?m:u}}function ne(t,i,u){var m=H(t);function C(){for(var O=arguments.length,z=re(O),$=O,J=qu(C);$--;)z[$]=arguments[$];var ce=O<3&&z[0]!==J&&z[O-1]!==J?[]:va(z,J);if(O-=ce.length,O<u)return Ge(t,i,g,C.placeholder,n,z,ce,n,n,u-O);var fe=this&&this!==En&&this instanceof C?m:t;return Cn(fe,this,z)}return C}function s(t){return function(i,u,m){var C=Vt(i);if(!Ai(i)){var O=lt(u,3);i=xr(i),u=function($){return O(C[$],$,C)}}var z=t(i,u,m);return z>-1?C[O?i[z]:z]:n}}function d(t){return Is(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&&!z&&Ad(O)=="wrapper")var z=new sr([],!0)}for(m=z?m:u;++m<u;){O=i[m];var $=Ad(O),J=$=="wrapper"?zf(O):n;J&&Hf(J[0])&&J[1]==(Ie|he|ee|Lt)&&!J[4].length&&J[9]==1?z=z[Ad(J[0])].apply(z,J[3]):z=O.length==1&&Hf(O)?z[$]():z.thru(O)}return function(){var ce=arguments,fe=ce[0];if(z&&ce.length==1&&Et(fe))return z.plant(fe).value();for(var be=0,Le=u?i[be].apply(this,ce):fe;++be<u;)Le=i[be].call(this,Le);return Le}})}function g(t,i,u,m,C,O,z,$,J,ce){var fe=i&Ie,be=i&Y,Le=i&G,Xe=i&(he|me),ut=i&ft,Mt=Le?n:H(t);function ct(){for(var jt=arguments.length,Wt=re(jt),oa=jt;oa--;)Wt[oa]=arguments[oa];if(Xe)var gi=qu(ct),sa=Rr(Wt,gi);if(m&&(Wt=Ju(Wt,m,C,Xe)),O&&(Wt=kl(Wt,O,z,Xe)),jt-=sa,Xe&&jt<ce){var Jn=va(Wt,gi);return Ge(t,i,g,ct.placeholder,u,Wt,Jn,$,J,ce-jt)}var lo=be?u:this,Fs=Le?lo[t]:t;return jt=Wt.length,$?Wt=G0(Wt,$):ut&&jt>1&&Wt.reverse(),fe&&J<jt&&(Wt.length=J),this&&this!==En&&this instanceof ct&&(Fs=Mt||H(Fs)),Fs.apply(lo,Wt)}return ct}function w(t,i){return function(u,m){return au(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=Ku(u),m=Ku(m)),C=t(u,m)}return C}}function L(t){return Is(function(i){return i=qt(i,$e(lt())),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?cu(i,t):i;var m=cu(i,as(t/To(i)));return Eo(i)?pi(Ar(m),0,t).join(""):m.slice(0,t)}function te(t,i,u,m){var C=i&Y,O=H(t);function z(){for(var $=-1,J=arguments.length,ce=-1,fe=m.length,be=re(fe+J),Le=this&&this!==En&&this instanceof z?O:t;++ce<fe;)be[ce]=m[ce];for(;J--;)be[ce++]=arguments[++$];return Cn(Le,C?u:this,be)}return z}function pe(t){return function(i,u,m){return m&&typeof m!="number"&&hi(i,u,m)&&(u=m=n),i=Ms(i),u===n?(u=i,i=0):u=Ms(u),m=m===n?i<u?1:-1:Ms(m),$u(i,u,m,t)}}function De(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,m,C,O,z,$,J,ce){var fe=i&he,be=fe?z:n,Le=fe?n:z,Xe=fe?O:n,ut=fe?n:O;i|=fe?ee:Te,i&=~(fe?Te:ee),i&de||(i&=~(Y|G));var Mt=[t,i,C,Xe,be,ut,Le,$,J,ce],ct=u.apply(n,Mt);return Hf(t)&&og(ct,Mt),ct.placeholder=m,sg(ct,t,i)}function at(t){var i=gn[t];return function(u,m){if(u=Aa(u),m=m==null?0:vn(Rt(m),292),m&&Gl(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/Co(new or([,-0]))[1]==je?function(t){return new or(t)}:ap;function Nn(t){return function(i){var u=Zr(i);return u==mt?Bl(i):u==Fn?Tc(i):le(i,t(i))}}function Tn(t,i,u,m,C,O,z,$){var J=i&G;if(!J&&typeof t!="function")throw new vr(v);var ce=m?m.length:0;if(ce||(i&=~(ee|Te),m=C=n),z=z===n?z:mn(Rt(z),0),$=$===n?$:Rt($),ce-=C?C.length:0,i&Te){var fe=m,be=C;m=C=n}var Le=J?n:zf(t),Xe=[t,i,u,m,C,fe,be,O,z,$];if(Le&&W0(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]-ce,0),!$&&i&(he|me)&&(i&=~(he|me)),!i||i==Y)var ut=_(t,i,u);else i==he||i==me?ut=ne(t,i,$):(i==ee||i==(Y|ee))&&!C.length?ut=te(t,i,u,m):ut=g.apply(n,Xe);var Mt=Le?Wo:og;return sg(Mt(ut,Xe),t,i)}function vu(t,i,u,m){return t===n||so(t,Ga[u])&&!$t.call(m,u)?i:t}function bu(t,i,u,m,C,O){return An(t)&&An(i)&&(O.set(i,t),Vo(t,i,n,bu,O),O.delete(i)),t}function Xu(t){return Vc(t)?n:t}function Rs(t,i,u,m,C,O){var z=u&ae,$=t.length,J=i.length;if($!=J&&!(z&&J>$))return!1;var ce=O.get(t),fe=O.get(i);if(ce&&fe)return ce==i&&fe==t;var be=-1,Le=!0,Xe=u&we?new Ja:n;for(O.set(t,i),O.set(i,t);++be<$;){var ut=t[be],Mt=i[be];if(m)var ct=z?m(Mt,ut,be,i,t,O):m(ut,Mt,be,t,i,O);if(ct!==n){if(ct)continue;Le=!1;break}if(Xe){if(!ma(i,function(jt,Wt){if(!ot(Xe,Wt)&&(ut===jt||C(ut,jt,u,m,O)))return Xe.push(Wt)})){Le=!1;break}}else if(!(ut===Mt||C(ut,Mt,u,m,O))){Le=!1;break}}return O.delete(t),O.delete(i),Le}function Lf(t,i,u,m,C,O,z){switch(u){case Yt:if(t.byteLength!=i.byteLength||t.byteOffset!=i.byteOffset)return!1;t=t.buffer,i=i.buffer;case Vn:return!(t.byteLength!=i.byteLength||!O(new Ao(t),new Ao(i)));case tt:case Ke:case fn:return so(+t,+i);case kt:return t.name==i.name&&t.message==i.message;case nr:case wn:return t==i+"";case mt:var $=Bl;case Fn:var J=m&ae;if($||($=Co),t.size!=i.size&&!J)return!1;var ce=z.get(t);if(ce)return ce==i;m|=we,z.set(t,i);var fe=Rs($(t),$(i),m,C,O,z);return z.delete(t),fe;case pn:if(cs)return cs.call(t)==cs.call(i)}return!1}function Bf(t,i,u,m,C,O){var z=u&ae,$=Nf(t),J=$.length,ce=Nf(i),fe=ce.length;if(J!=fe&&!z)return!1;for(var be=J;be--;){var Le=$[be];if(!(z?Le in i:$t.call(i,Le)))return!1}var Xe=O.get(t),ut=O.get(i);if(Xe&&ut)return Xe==i&&ut==t;var Mt=!0;O.set(t,i),O.set(i,t);for(var ct=z;++be<J;){Le=$[be];var jt=t[Le],Wt=i[Le];if(m)var oa=z?m(Wt,jt,Le,i,t,O):m(jt,Wt,Le,t,i,O);if(!(oa===n?jt===Wt||C(jt,Wt,u,m,O):oa)){Mt=!1;break}ct||(ct=Le=="constructor")}if(Mt&&!ct){var gi=t.constructor,sa=i.constructor;gi!=sa&&"constructor"in t&&"constructor"in i&&!(typeof gi=="function"&&gi instanceof gi&&typeof sa=="function"&&sa instanceof sa)&&(Mt=!1)}return O.delete(t),O.delete(i),Mt}function Is(t){return Gf(ig(t,n,pg),t+"")}function Nf(t){return fs(t,xr,Vf)}function jf(t){return fs(t,Oi,qh)}var zf=Sa?function(t){return Sa.get(t)}:ap;function Ad(t){for(var i=t.name+"",u=ka[i],m=$t.call(ka,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=$t.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 Od(t,i){var u=t.__data__;return j0(i)?u[typeof i=="string"?"string":"hash"]:u.map}function Uf(t){for(var i=xr(t),u=i.length;u--;){var m=i[u],C=t[m];i[u]=[m,C,ng(C)]}return i}function yu(t,i){var u=ns(t,i);return lu(u)?u:n}function M0(t){var i=$t.call(t,si),u=t[si];try{t[si]=n;var m=!0}catch{}var C=ya.call(t);return m&&(i?t[si]=u:delete t[si]),C}var Vf=os?function(t){return t==null?[]:(t=Vt(t),oi(os(t),function(i){return Hl.call(t,i)}))}:op,qh=os?function(t){for(var i=[];t;)Tr(i,Vf(t)),t=Oo(t);return i}:op,Zr=qn;(Xi&&Zr(new Xi(new ArrayBuffer(1)))!=Yt||li&&Zr(new li)!=mt||ss&&Zr(ss.resolve())!=Un||or&&Zr(new or)!=Fn||wa&&Zr(new wa)!=fr)&&(Zr=function(t){var i=qn(t),u=i==Sn?t.constructor:n,m=u?wu(u):"";if(m)switch(m){case ls:return Yt;case Lu:return mt;case Bu:return Un;case rl:return Fn;case us:return fr}return i});function F0(t,i,u){for(var m=-1,C=u.length;++m<C;){var O=u[m],z=O.size;switch(O.type){case"drop":t+=z;break;case"dropRight":i-=z;break;case"take":i=vn(i,t+z);break;case"takeRight":t=mn(t,i-z);break}}return{start:t,end:i}}function P0(t){var i=t.match(Na);return i?i[1].split(U):[]}function eg(t,i,u){i=ia(i,t);for(var m=-1,C=i.length,O=!1;++m<C;){var z=$o(i[m]);if(!(O=t!=null&&u(t,z)))break;t=t[z]}return O||++m!=C?O:(C=t==null?0:t.length,!!C&&Nd(C)&&As(z,C)&&(Et(t)||xu(t)))}function D0(t){var i=t.length,u=new t.constructor(i);return i&&typeof t[0]=="string"&&$t.call(t,"index")&&(u.index=t.index,u.input=t.input),u}function tg(t){return typeof t.constructor=="function"&&!zc(t)?_a(Oo(t)):{}}function L0(t,i,u){var m=t.constructor;switch(i){case Vn:return xl(t);case tt:case Ke:return new m(+t);case Yt:return Es(t,u);case Mr:case Kr:case Fr:case Jr:case Pr:case Bi:case Qr:case pr:case Xr:return mu(t,u);case mt:return new m;case fn:case wn:return new m(t);case nr:return Cs(t);case Fn:return new m;case pn:return Sl(t)}}function B0(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(Ba,`{
|
|
20
|
+
*/Ii.exports,function(r,t){(function(){var n,a="4.17.21",o=200,l="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",c="Expected a function",p="Invalid `variable` option passed into `_.template`",f="__lodash_hash_undefined__",m=500,w="__lodash_placeholder__",k=1,S=2,F=4,T=1,q=2,U=1,se=2,$=4,z=8,Z=16,Y=32,re=64,ce=128,ot=256,Kt=512,We=30,N="...",D=800,W=16,ie=1,de=2,oe=3,j=1/0,te=9007199254740991,Pe=17976931348623157e292,ke=0/0,Re=4294967295,rt=Re-1,_t=Re>>>1,Ge=[["ary",ce],["bind",U],["bindKey",se],["curry",z],["curryRight",Z],["flip",Kt],["partial",Y],["partialRight",re],["rearg",ot]],je="[object Arguments]",Ct="[object Array]",lr="[object AsyncFunction]",On="[object Boolean]",en="[object Date]",ji="[object DOMException]",ur="[object Error]",Kn="[object Function]",Ji="[object GeneratorFunction]",Je="[object Map]",Cn="[object Number]",Yi="[object Null]",It="[object Object]",gu="[object Promise]",am="[object Proxy]",$r="[object RegExp]",Zt="[object Set]",Hr="[object String]",Qi="[object Symbol]",sm="[object Undefined]",qr="[object WeakMap]",om="[object WeakSet]",jr="[object ArrayBuffer]",cr="[object DataView]",xs="[object Float32Array]",Ss="[object Float64Array]",ks="[object Int8Array]",Es="[object Int16Array]",As="[object Int32Array]",Os="[object Uint8Array]",Cs="[object Uint8ClampedArray]",Is="[object Uint16Array]",Ts="[object Uint32Array]",lm=/\b__p \+= '';/g,um=/\b(__p \+=) '' \+/g,cm=/(__e\(.*?\)|\b__t\)) \+\n'';/g,hu=/&(?:amp|lt|gt|quot|#39);/g,fu=/[&<>"']/g,dm=RegExp(hu.source),pm=RegExp(fu.source),gm=/<%-([\s\S]+?)%>/g,hm=/<%([\s\S]+?)%>/g,mu=/<%=([\s\S]+?)%>/g,fm=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,mm=/^\w*$/,bm=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ms=/[\\^$.*+?()[\]{}|]/g,vm=RegExp(Ms.source),Ns=/^\s+/,ym=/\s/,wm=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,_m=/\{\n\/\* \[wrapped with (.+)\] \*/,xm=/,? & /,Sm=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,km=/[()=,{}\[\]\/\s]/,Em=/\\(\\)?/g,Am=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,bu=/\w*$/,Om=/^[-+]0x[0-9a-f]+$/i,Cm=/^0b[01]+$/i,Im=/^\[object .+?Constructor\]$/,Tm=/^0o[0-7]+$/i,Mm=/^(?:0|[1-9]\d*)$/,Nm=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Xi=/($^)/,Lm=/['\n\r\u2028\u2029\\]/g,ea="\\ud800-\\udfff",Fm="\\u0300-\\u036f",Dm="\\ufe20-\\ufe2f",Bm="\\u20d0-\\u20ff",vu=Fm+Dm+Bm,yu="\\u2700-\\u27bf",wu="a-z\\xdf-\\xf6\\xf8-\\xff",Pm="\\xac\\xb1\\xd7\\xf7",Rm="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Vm="\\u2000-\\u206f",zm=" \\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",_u="A-Z\\xc0-\\xd6\\xd8-\\xde",xu="\\ufe0e\\ufe0f",Su=Pm+Rm+Vm+zm,Ls="['’]",Um="["+ea+"]",ku="["+Su+"]",ta="["+vu+"]",Eu="\\d+",Gm="["+yu+"]",Au="["+wu+"]",Ou="[^"+ea+Su+Eu+yu+wu+_u+"]",Fs="\\ud83c[\\udffb-\\udfff]",Km="(?:"+ta+"|"+Fs+")",Cu="[^"+ea+"]",Ds="(?:\\ud83c[\\udde6-\\uddff]){2}",Bs="[\\ud800-\\udbff][\\udc00-\\udfff]",dr="["+_u+"]",Iu="\\u200d",Tu="(?:"+Au+"|"+Ou+")",Zm="(?:"+dr+"|"+Ou+")",Mu="(?:"+Ls+"(?:d|ll|m|re|s|t|ve))?",Nu="(?:"+Ls+"(?:D|LL|M|RE|S|T|VE))?",Lu=Km+"?",Fu="["+xu+"]?",Wm="(?:"+Iu+"(?:"+[Cu,Ds,Bs].join("|")+")"+Fu+Lu+")*",$m="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Hm="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Du=Fu+Lu+Wm,qm="(?:"+[Gm,Ds,Bs].join("|")+")"+Du,jm="(?:"+[Cu+ta+"?",ta,Ds,Bs,Um].join("|")+")",Jm=RegExp(Ls,"g"),Ym=RegExp(ta,"g"),Ps=RegExp(Fs+"(?="+Fs+")|"+jm+Du,"g"),Qm=RegExp([dr+"?"+Au+"+"+Mu+"(?="+[ku,dr,"$"].join("|")+")",Zm+"+"+Nu+"(?="+[ku,dr+Tu,"$"].join("|")+")",dr+"?"+Tu+"+"+Mu,dr+"+"+Nu,Hm,$m,Eu,qm].join("|"),"g"),Xm=RegExp("["+Iu+ea+vu+xu+"]"),eb=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,tb=["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"],nb=-1,Me={};Me[xs]=Me[Ss]=Me[ks]=Me[Es]=Me[As]=Me[Os]=Me[Cs]=Me[Is]=Me[Ts]=!0,Me[je]=Me[Ct]=Me[jr]=Me[On]=Me[cr]=Me[en]=Me[ur]=Me[Kn]=Me[Je]=Me[Cn]=Me[It]=Me[$r]=Me[Zt]=Me[Hr]=Me[qr]=!1;var Ce={};Ce[je]=Ce[Ct]=Ce[jr]=Ce[cr]=Ce[On]=Ce[en]=Ce[xs]=Ce[Ss]=Ce[ks]=Ce[Es]=Ce[As]=Ce[Je]=Ce[Cn]=Ce[It]=Ce[$r]=Ce[Zt]=Ce[Hr]=Ce[Qi]=Ce[Os]=Ce[Cs]=Ce[Is]=Ce[Ts]=!0,Ce[ur]=Ce[Kn]=Ce[qr]=!1;var rb={À:"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"},ib={"&":"&","<":"<",">":">",'"':""","'":"'"},ab={"&":"&","<":"<",">":">",""":'"',"'":"'"},sb={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},ob=parseFloat,lb=parseInt,Bu=typeof Ke=="object"&&Ke&&Ke.Object===Object&&Ke,ub=typeof self=="object"&&self&&self.Object===Object&&self,et=Bu||ub||Function("return this")(),Rs=t&&!t.nodeType&&t,Zn=Rs&&!0&&r&&!r.nodeType&&r,Pu=Zn&&Zn.exports===Rs,Vs=Pu&&Bu.process,Tt=function(){try{var _=Zn&&Zn.require&&Zn.require("util").types;return _||Vs&&Vs.binding&&Vs.binding("util")}catch{}}(),Ru=Tt&&Tt.isArrayBuffer,Vu=Tt&&Tt.isDate,zu=Tt&&Tt.isMap,Uu=Tt&&Tt.isRegExp,Gu=Tt&&Tt.isSet,Ku=Tt&&Tt.isTypedArray;function xt(_,A,E){switch(E.length){case 0:return _.call(A);case 1:return _.call(A,E[0]);case 2:return _.call(A,E[0],E[1]);case 3:return _.call(A,E[0],E[1],E[2])}return _.apply(A,E)}function cb(_,A,E,V){for(var ae=-1,Se=_==null?0:_.length;++ae<Se;){var $e=_[ae];A(V,$e,E($e),_)}return V}function Mt(_,A){for(var E=-1,V=_==null?0:_.length;++E<V&&A(_[E],E,_)!==!1;);return _}function db(_,A){for(var E=_==null?0:_.length;E--&&A(_[E],E,_)!==!1;);return _}function Zu(_,A){for(var E=-1,V=_==null?0:_.length;++E<V;)if(!A(_[E],E,_))return!1;return!0}function In(_,A){for(var E=-1,V=_==null?0:_.length,ae=0,Se=[];++E<V;){var $e=_[E];A($e,E,_)&&(Se[ae++]=$e)}return Se}function na(_,A){var E=_==null?0:_.length;return!!E&&pr(_,A,0)>-1}function zs(_,A,E){for(var V=-1,ae=_==null?0:_.length;++V<ae;)if(E(A,_[V]))return!0;return!1}function Ne(_,A){for(var E=-1,V=_==null?0:_.length,ae=Array(V);++E<V;)ae[E]=A(_[E],E,_);return ae}function Tn(_,A){for(var E=-1,V=A.length,ae=_.length;++E<V;)_[ae+E]=A[E];return _}function Us(_,A,E,V){var ae=-1,Se=_==null?0:_.length;for(V&&Se&&(E=_[++ae]);++ae<Se;)E=A(E,_[ae],ae,_);return E}function pb(_,A,E,V){var ae=_==null?0:_.length;for(V&&ae&&(E=_[--ae]);ae--;)E=A(E,_[ae],ae,_);return E}function Gs(_,A){for(var E=-1,V=_==null?0:_.length;++E<V;)if(A(_[E],E,_))return!0;return!1}var gb=Ks("length");function hb(_){return _.split("")}function fb(_){return _.match(Sm)||[]}function Wu(_,A,E){var V;return E(_,function(ae,Se,$e){if(A(ae,Se,$e))return V=Se,!1}),V}function ra(_,A,E,V){for(var ae=_.length,Se=E+(V?1:-1);V?Se--:++Se<ae;)if(A(_[Se],Se,_))return Se;return-1}function pr(_,A,E){return A===A?Ob(_,A,E):ra(_,$u,E)}function mb(_,A,E,V){for(var ae=E-1,Se=_.length;++ae<Se;)if(V(_[ae],A))return ae;return-1}function $u(_){return _!==_}function Hu(_,A){var E=_==null?0:_.length;return E?Ws(_,A)/E:ke}function Ks(_){return function(A){return A==null?n:A[_]}}function Zs(_){return function(A){return _==null?n:_[A]}}function qu(_,A,E,V,ae){return ae(_,function(Se,$e,Oe){E=V?(V=!1,Se):A(E,Se,$e,Oe)}),E}function bb(_,A){var E=_.length;for(_.sort(A);E--;)_[E]=_[E].value;return _}function Ws(_,A){for(var E,V=-1,ae=_.length;++V<ae;){var Se=A(_[V]);Se!==n&&(E=E===n?Se:E+Se)}return E}function $s(_,A){for(var E=-1,V=Array(_);++E<_;)V[E]=A(E);return V}function vb(_,A){return Ne(A,function(E){return[E,_[E]]})}function ju(_){return _&&_.slice(0,Xu(_)+1).replace(Ns,"")}function St(_){return function(A){return _(A)}}function Hs(_,A){return Ne(A,function(E){return _[E]})}function Jr(_,A){return _.has(A)}function Ju(_,A){for(var E=-1,V=_.length;++E<V&&pr(A,_[E],0)>-1;);return E}function Yu(_,A){for(var E=_.length;E--&&pr(A,_[E],0)>-1;);return E}function yb(_,A){for(var E=_.length,V=0;E--;)_[E]===A&&++V;return V}var wb=Zs(rb),_b=Zs(ib);function xb(_){return"\\"+sb[_]}function Sb(_,A){return _==null?n:_[A]}function gr(_){return Xm.test(_)}function kb(_){return eb.test(_)}function Eb(_){for(var A,E=[];!(A=_.next()).done;)E.push(A.value);return E}function qs(_){var A=-1,E=Array(_.size);return _.forEach(function(V,ae){E[++A]=[ae,V]}),E}function Qu(_,A){return function(E){return _(A(E))}}function Mn(_,A){for(var E=-1,V=_.length,ae=0,Se=[];++E<V;){var $e=_[E];($e===A||$e===w)&&(_[E]=w,Se[ae++]=E)}return Se}function ia(_){var A=-1,E=Array(_.size);return _.forEach(function(V){E[++A]=V}),E}function Ab(_){var A=-1,E=Array(_.size);return _.forEach(function(V){E[++A]=[V,V]}),E}function Ob(_,A,E){for(var V=E-1,ae=_.length;++V<ae;)if(_[V]===A)return V;return-1}function Cb(_,A,E){for(var V=E+1;V--;)if(_[V]===A)return V;return V}function hr(_){return gr(_)?Tb(_):gb(_)}function Wt(_){return gr(_)?Mb(_):hb(_)}function Xu(_){for(var A=_.length;A--&&ym.test(_.charAt(A)););return A}var Ib=Zs(ab);function Tb(_){for(var A=Ps.lastIndex=0;Ps.test(_);)++A;return A}function Mb(_){return _.match(Ps)||[]}function Nb(_){return _.match(Qm)||[]}var Lb=function _(A){A=A==null?et:fr.defaults(et.Object(),A,fr.pick(et,tb));var E=A.Array,V=A.Date,ae=A.Error,Se=A.Function,$e=A.Math,Oe=A.Object,js=A.RegExp,Fb=A.String,Nt=A.TypeError,aa=E.prototype,Db=Se.prototype,mr=Oe.prototype,sa=A["__core-js_shared__"],oa=Db.toString,Ae=mr.hasOwnProperty,Bb=0,ec=function(){var e=/[^.]+$/.exec(sa&&sa.keys&&sa.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),la=mr.toString,Pb=oa.call(Oe),Rb=et._,Vb=js("^"+oa.call(Ae).replace(Ms,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ua=Pu?A.Buffer:n,Nn=A.Symbol,ca=A.Uint8Array,tc=ua?ua.allocUnsafe:n,da=Qu(Oe.getPrototypeOf,Oe),nc=Oe.create,rc=mr.propertyIsEnumerable,pa=aa.splice,ic=Nn?Nn.isConcatSpreadable:n,Yr=Nn?Nn.iterator:n,Wn=Nn?Nn.toStringTag:n,ga=function(){try{var e=Jn(Oe,"defineProperty");return e({},"",{}),e}catch{}}(),zb=A.clearTimeout!==et.clearTimeout&&A.clearTimeout,Ub=V&&V.now!==et.Date.now&&V.now,Gb=A.setTimeout!==et.setTimeout&&A.setTimeout,ha=$e.ceil,fa=$e.floor,Js=Oe.getOwnPropertySymbols,Kb=ua?ua.isBuffer:n,ac=A.isFinite,Zb=aa.join,Wb=Qu(Oe.keys,Oe),He=$e.max,it=$e.min,$b=V.now,Hb=A.parseInt,sc=$e.random,qb=aa.reverse,Ys=Jn(A,"DataView"),Qr=Jn(A,"Map"),Qs=Jn(A,"Promise"),br=Jn(A,"Set"),Xr=Jn(A,"WeakMap"),ei=Jn(Oe,"create"),ma=Xr&&new Xr,vr={},jb=Yn(Ys),Jb=Yn(Qr),Yb=Yn(Qs),Qb=Yn(br),Xb=Yn(Xr),ba=Nn?Nn.prototype:n,ti=ba?ba.valueOf:n,oc=ba?ba.toString:n;function g(e){if(Ve(e)&&!le(e)&&!(e instanceof ve)){if(e instanceof Lt)return e;if(Ae.call(e,"__wrapped__"))return ld(e)}return new Lt(e)}var yr=function(){function e(){}return function(i){if(!Fe(i))return{};if(nc)return nc(i);e.prototype=i;var s=new e;return e.prototype=n,s}}();function va(){}function Lt(e,i){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!i,this.__index__=0,this.__values__=n}g.templateSettings={escape:gm,evaluate:hm,interpolate:mu,variable:"",imports:{_:g}},g.prototype=va.prototype,g.prototype.constructor=g,Lt.prototype=yr(va.prototype),Lt.prototype.constructor=Lt;function ve(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Re,this.__views__=[]}function ev(){var e=new ve(this.__wrapped__);return e.__actions__=gt(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=gt(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=gt(this.__views__),e}function tv(){if(this.__filtered__){var e=new ve(this);e.__dir__=-1,e.__filtered__=!0}else e=this.clone(),e.__dir__*=-1;return e}function nv(){var e=this.__wrapped__.value(),i=this.__dir__,s=le(e),u=i<0,d=s?e.length:0,h=h0(0,d,this.__views__),v=h.start,y=h.end,x=y-v,O=u?y:v-1,C=this.__iteratees__,I=C.length,L=0,G=it(x,this.__takeCount__);if(!s||!u&&d==x&&G==x)return Mc(e,this.__actions__);var Q=[];e:for(;x--&&L<G;){O+=i;for(var fe=-1,X=e[O];++fe<I;){var be=C[fe],ye=be.iteratee,At=be.type,ct=ye(X);if(At==de)X=ct;else if(!ct){if(At==ie)continue e;break e}}Q[L++]=X}return Q}ve.prototype=yr(va.prototype),ve.prototype.constructor=ve;function $n(e){var i=-1,s=e==null?0:e.length;for(this.clear();++i<s;){var u=e[i];this.set(u[0],u[1])}}function rv(){this.__data__=ei?ei(null):{},this.size=0}function iv(e){var i=this.has(e)&&delete this.__data__[e];return this.size-=i?1:0,i}function av(e){var i=this.__data__;if(ei){var s=i[e];return s===f?n:s}return Ae.call(i,e)?i[e]:n}function sv(e){var i=this.__data__;return ei?i[e]!==n:Ae.call(i,e)}function ov(e,i){var s=this.__data__;return this.size+=this.has(e)?0:1,s[e]=ei&&i===n?f:i,this}$n.prototype.clear=rv,$n.prototype.delete=iv,$n.prototype.get=av,$n.prototype.has=sv,$n.prototype.set=ov;function un(e){var i=-1,s=e==null?0:e.length;for(this.clear();++i<s;){var u=e[i];this.set(u[0],u[1])}}function lv(){this.__data__=[],this.size=0}function uv(e){var i=this.__data__,s=ya(i,e);if(s<0)return!1;var u=i.length-1;return s==u?i.pop():pa.call(i,s,1),--this.size,!0}function cv(e){var i=this.__data__,s=ya(i,e);return s<0?n:i[s][1]}function dv(e){return ya(this.__data__,e)>-1}function pv(e,i){var s=this.__data__,u=ya(s,e);return u<0?(++this.size,s.push([e,i])):s[u][1]=i,this}un.prototype.clear=lv,un.prototype.delete=uv,un.prototype.get=cv,un.prototype.has=dv,un.prototype.set=pv;function cn(e){var i=-1,s=e==null?0:e.length;for(this.clear();++i<s;){var u=e[i];this.set(u[0],u[1])}}function gv(){this.size=0,this.__data__={hash:new $n,map:new(Qr||un),string:new $n}}function hv(e){var i=Ma(this,e).delete(e);return this.size-=i?1:0,i}function fv(e){return Ma(this,e).get(e)}function mv(e){return Ma(this,e).has(e)}function bv(e,i){var s=Ma(this,e),u=s.size;return s.set(e,i),this.size+=s.size==u?0:1,this}cn.prototype.clear=gv,cn.prototype.delete=hv,cn.prototype.get=fv,cn.prototype.has=mv,cn.prototype.set=bv;function Hn(e){var i=-1,s=e==null?0:e.length;for(this.__data__=new cn;++i<s;)this.add(e[i])}function vv(e){return this.__data__.set(e,f),this}function yv(e){return this.__data__.has(e)}Hn.prototype.add=Hn.prototype.push=vv,Hn.prototype.has=yv;function $t(e){var i=this.__data__=new un(e);this.size=i.size}function wv(){this.__data__=new un,this.size=0}function _v(e){var i=this.__data__,s=i.delete(e);return this.size=i.size,s}function xv(e){return this.__data__.get(e)}function Sv(e){return this.__data__.has(e)}function kv(e,i){var s=this.__data__;if(s instanceof un){var u=s.__data__;if(!Qr||u.length<o-1)return u.push([e,i]),this.size=++s.size,this;s=this.__data__=new cn(u)}return s.set(e,i),this.size=s.size,this}$t.prototype.clear=wv,$t.prototype.delete=_v,$t.prototype.get=xv,$t.prototype.has=Sv,$t.prototype.set=kv;function lc(e,i){var s=le(e),u=!s&&Qn(e),d=!s&&!u&&Pn(e),h=!s&&!u&&!d&&Sr(e),v=s||u||d||h,y=v?$s(e.length,Fb):[],x=y.length;for(var O in e)(i||Ae.call(e,O))&&!(v&&(O=="length"||d&&(O=="offset"||O=="parent")||h&&(O=="buffer"||O=="byteLength"||O=="byteOffset")||hn(O,x)))&&y.push(O);return y}function uc(e){var i=e.length;return i?e[uo(0,i-1)]:n}function Ev(e,i){return Na(gt(e),qn(i,0,e.length))}function Av(e){return Na(gt(e))}function Xs(e,i,s){(s!==n&&!Ht(e[i],s)||s===n&&!(i in e))&&dn(e,i,s)}function ni(e,i,s){var u=e[i];(!(Ae.call(e,i)&&Ht(u,s))||s===n&&!(i in e))&&dn(e,i,s)}function ya(e,i){for(var s=e.length;s--;)if(Ht(e[s][0],i))return s;return-1}function Ov(e,i,s,u){return Ln(e,function(d,h,v){i(u,d,s(d),v)}),u}function cc(e,i){return e&&nn(i,Ye(i),e)}function Cv(e,i){return e&&nn(i,ft(i),e)}function dn(e,i,s){i=="__proto__"&&ga?ga(e,i,{configurable:!0,enumerable:!0,value:s,writable:!0}):e[i]=s}function eo(e,i){for(var s=-1,u=i.length,d=E(u),h=e==null;++s<u;)d[s]=h?n:Do(e,i[s]);return d}function qn(e,i,s){return e===e&&(s!==n&&(e=e<=s?e:s),i!==n&&(e=e>=i?e:i)),e}function Ft(e,i,s,u,d,h){var v,y=i&k,x=i&S,O=i&F;if(s&&(v=d?s(e,u,d,h):s(e)),v!==n)return v;if(!Fe(e))return e;var C=le(e);if(C){if(v=m0(e),!y)return gt(e,v)}else{var I=at(e),L=I==Kn||I==Ji;if(Pn(e))return Fc(e,y);if(I==It||I==je||L&&!d){if(v=x||L?{}:Xc(e),!y)return x?a0(e,Cv(v,e)):i0(e,cc(v,e))}else{if(!Ce[I])return d?e:{};v=b0(e,I,y)}}h||(h=new $t);var G=h.get(e);if(G)return G;h.set(e,v),Cd(e)?e.forEach(function(X){v.add(Ft(X,i,s,X,e,h))}):Ad(e)&&e.forEach(function(X,be){v.set(be,Ft(X,i,s,be,e,h))});var Q=O?x?_o:wo:x?ft:Ye,fe=C?n:Q(e);return Mt(fe||e,function(X,be){fe&&(be=X,X=e[be]),ni(v,be,Ft(X,i,s,be,e,h))}),v}function Iv(e){var i=Ye(e);return function(s){return dc(s,e,i)}}function dc(e,i,s){var u=s.length;if(e==null)return!u;for(e=Oe(e);u--;){var d=s[u],h=i[d],v=e[d];if(v===n&&!(d in e)||!h(v))return!1}return!0}function pc(e,i,s){if(typeof e!="function")throw new Nt(c);return ui(function(){e.apply(n,s)},i)}function ri(e,i,s,u){var d=-1,h=na,v=!0,y=e.length,x=[],O=i.length;if(!y)return x;s&&(i=Ne(i,St(s))),u?(h=zs,v=!1):i.length>=o&&(h=Jr,v=!1,i=new Hn(i));e:for(;++d<y;){var C=e[d],I=s==null?C:s(C);if(C=u||C!==0?C:0,v&&I===I){for(var L=O;L--;)if(i[L]===I)continue e;x.push(C)}else h(i,I,u)||x.push(C)}return x}var Ln=Vc(tn),gc=Vc(no,!0);function Tv(e,i){var s=!0;return Ln(e,function(u,d,h){return s=!!i(u,d,h),s}),s}function wa(e,i,s){for(var u=-1,d=e.length;++u<d;){var h=e[u],v=i(h);if(v!=null&&(y===n?v===v&&!Et(v):s(v,y)))var y=v,x=h}return x}function Mv(e,i,s,u){var d=e.length;for(s=ge(s),s<0&&(s=-s>d?0:d+s),u=u===n||u>d?d:ge(u),u<0&&(u+=d),u=s>u?0:Td(u);s<u;)e[s++]=i;return e}function hc(e,i){var s=[];return Ln(e,function(u,d,h){i(u,d,h)&&s.push(u)}),s}function tt(e,i,s,u,d){var h=-1,v=e.length;for(s||(s=y0),d||(d=[]);++h<v;){var y=e[h];i>0&&s(y)?i>1?tt(y,i-1,s,u,d):Tn(d,y):u||(d[d.length]=y)}return d}var to=zc(),fc=zc(!0);function tn(e,i){return e&&to(e,i,Ye)}function no(e,i){return e&&fc(e,i,Ye)}function _a(e,i){return In(i,function(s){return fn(e[s])})}function jn(e,i){i=Dn(i,e);for(var s=0,u=i.length;e!=null&&s<u;)e=e[rn(i[s++])];return s&&s==u?e:n}function mc(e,i,s){var u=i(e);return le(e)?u:Tn(u,s(e))}function lt(e){return e==null?e===n?sm:Yi:Wn&&Wn in Oe(e)?g0(e):A0(e)}function ro(e,i){return e>i}function Nv(e,i){return e!=null&&Ae.call(e,i)}function Lv(e,i){return e!=null&&i in Oe(e)}function Fv(e,i,s){return e>=it(i,s)&&e<He(i,s)}function io(e,i,s){for(var u=s?zs:na,d=e[0].length,h=e.length,v=h,y=E(h),x=1/0,O=[];v--;){var C=e[v];v&&i&&(C=Ne(C,St(i))),x=it(C.length,x),y[v]=!s&&(i||d>=120&&C.length>=120)?new Hn(v&&C):n}C=e[0];var I=-1,L=y[0];e:for(;++I<d&&O.length<x;){var G=C[I],Q=i?i(G):G;if(G=s||G!==0?G:0,!(L?Jr(L,Q):u(O,Q,s))){for(v=h;--v;){var fe=y[v];if(!(fe?Jr(fe,Q):u(e[v],Q,s)))continue e}L&&L.push(Q),O.push(G)}}return O}function Dv(e,i,s,u){return tn(e,function(d,h,v){i(u,s(d),h,v)}),u}function ii(e,i,s){i=Dn(i,e),e=rd(e,i);var u=e==null?e:e[rn(Bt(i))];return u==null?n:xt(u,e,s)}function bc(e){return Ve(e)&<(e)==je}function Bv(e){return Ve(e)&<(e)==jr}function Pv(e){return Ve(e)&<(e)==en}function ai(e,i,s,u,d){return e===i?!0:e==null||i==null||!Ve(e)&&!Ve(i)?e!==e&&i!==i:Rv(e,i,s,u,ai,d)}function Rv(e,i,s,u,d,h){var v=le(e),y=le(i),x=v?Ct:at(e),O=y?Ct:at(i);x=x==je?It:x,O=O==je?It:O;var C=x==It,I=O==It,L=x==O;if(L&&Pn(e)){if(!Pn(i))return!1;v=!0,C=!1}if(L&&!C)return h||(h=new $t),v||Sr(e)?Jc(e,i,s,u,d,h):d0(e,i,x,s,u,d,h);if(!(s&T)){var G=C&&Ae.call(e,"__wrapped__"),Q=I&&Ae.call(i,"__wrapped__");if(G||Q){var fe=G?e.value():e,X=Q?i.value():i;return h||(h=new $t),d(fe,X,s,u,h)}}return L?(h||(h=new $t),p0(e,i,s,u,d,h)):!1}function Vv(e){return Ve(e)&&at(e)==Je}function ao(e,i,s,u){var d=s.length,h=d,v=!u;if(e==null)return!h;for(e=Oe(e);d--;){var y=s[d];if(v&&y[2]?y[1]!==e[y[0]]:!(y[0]in e))return!1}for(;++d<h;){y=s[d];var x=y[0],O=e[x],C=y[1];if(v&&y[2]){if(O===n&&!(x in e))return!1}else{var I=new $t;if(u)var L=u(O,C,x,e,i,I);if(!(L===n?ai(C,O,T|q,u,I):L))return!1}}return!0}function vc(e){if(!Fe(e)||_0(e))return!1;var i=fn(e)?Vb:Im;return i.test(Yn(e))}function zv(e){return Ve(e)&<(e)==$r}function Uv(e){return Ve(e)&&at(e)==Zt}function Gv(e){return Ve(e)&&Ra(e.length)&&!!Me[lt(e)]}function yc(e){return typeof e=="function"?e:e==null?mt:typeof e=="object"?le(e)?xc(e[0],e[1]):_c(e):Ud(e)}function so(e){if(!li(e))return Wb(e);var i=[];for(var s in Oe(e))Ae.call(e,s)&&s!="constructor"&&i.push(s);return i}function Kv(e){if(!Fe(e))return E0(e);var i=li(e),s=[];for(var u in e)u=="constructor"&&(i||!Ae.call(e,u))||s.push(u);return s}function oo(e,i){return e<i}function wc(e,i){var s=-1,u=ht(e)?E(e.length):[];return Ln(e,function(d,h,v){u[++s]=i(d,h,v)}),u}function _c(e){var i=So(e);return i.length==1&&i[0][2]?td(i[0][0],i[0][1]):function(s){return s===e||ao(s,e,i)}}function xc(e,i){return Eo(e)&&ed(i)?td(rn(e),i):function(s){var u=Do(s,e);return u===n&&u===i?Bo(s,e):ai(i,u,T|q)}}function xa(e,i,s,u,d){e!==i&&to(i,function(h,v){if(d||(d=new $t),Fe(h))Zv(e,i,v,s,xa,u,d);else{var y=u?u(Oo(e,v),h,v+"",e,i,d):n;y===n&&(y=h),Xs(e,v,y)}},ft)}function Zv(e,i,s,u,d,h,v){var y=Oo(e,s),x=Oo(i,s),O=v.get(x);if(O){Xs(e,s,O);return}var C=h?h(y,x,s+"",e,i,v):n,I=C===n;if(I){var L=le(x),G=!L&&Pn(x),Q=!L&&!G&&Sr(x);C=x,L||G||Q?le(y)?C=y:ze(y)?C=gt(y):G?(I=!1,C=Fc(x,!0)):Q?(I=!1,C=Dc(x,!0)):C=[]:ci(x)||Qn(x)?(C=y,Qn(y)?C=Md(y):(!Fe(y)||fn(y))&&(C=Xc(x))):I=!1}I&&(v.set(x,C),d(C,x,u,h,v),v.delete(x)),Xs(e,s,C)}function Sc(e,i){var s=e.length;if(s)return i+=i<0?s:0,hn(i,s)?e[i]:n}function kc(e,i,s){i.length?i=Ne(i,function(h){return le(h)?function(v){return jn(v,h.length===1?h[0]:h)}:h}):i=[mt];var u=-1;i=Ne(i,St(J()));var d=wc(e,function(h,v,y){var x=Ne(i,function(O){return O(h)});return{criteria:x,index:++u,value:h}});return bb(d,function(h,v){return r0(h,v,s)})}function Wv(e,i){return Ec(e,i,function(s,u){return Bo(e,u)})}function Ec(e,i,s){for(var u=-1,d=i.length,h={};++u<d;){var v=i[u],y=jn(e,v);s(y,v)&&si(h,Dn(v,e),y)}return h}function $v(e){return function(i){return jn(i,e)}}function lo(e,i,s,u){var d=u?mb:pr,h=-1,v=i.length,y=e;for(e===i&&(i=gt(i)),s&&(y=Ne(e,St(s)));++h<v;)for(var x=0,O=i[h],C=s?s(O):O;(x=d(y,C,x,u))>-1;)y!==e&&pa.call(y,x,1),pa.call(e,x,1);return e}function Ac(e,i){for(var s=e?i.length:0,u=s-1;s--;){var d=i[s];if(s==u||d!==h){var h=d;hn(d)?pa.call(e,d,1):go(e,d)}}return e}function uo(e,i){return e+fa(sc()*(i-e+1))}function Hv(e,i,s,u){for(var d=-1,h=He(ha((i-e)/(s||1)),0),v=E(h);h--;)v[u?h:++d]=e,e+=s;return v}function co(e,i){var s="";if(!e||i<1||i>te)return s;do i%2&&(s+=e),i=fa(i/2),i&&(e+=e);while(i);return s}function me(e,i){return Co(nd(e,i,mt),e+"")}function qv(e){return uc(kr(e))}function jv(e,i){var s=kr(e);return Na(s,qn(i,0,s.length))}function si(e,i,s,u){if(!Fe(e))return e;i=Dn(i,e);for(var d=-1,h=i.length,v=h-1,y=e;y!=null&&++d<h;){var x=rn(i[d]),O=s;if(x==="__proto__"||x==="constructor"||x==="prototype")return e;if(d!=v){var C=y[x];O=u?u(C,x,y):n,O===n&&(O=Fe(C)?C:hn(i[d+1])?[]:{})}ni(y,x,O),y=y[x]}return e}var Oc=ma?function(e,i){return ma.set(e,i),e}:mt,Jv=ga?function(e,i){return ga(e,"toString",{configurable:!0,enumerable:!1,value:Ro(i),writable:!0})}:mt;function Yv(e){return Na(kr(e))}function Dt(e,i,s){var u=-1,d=e.length;i<0&&(i=-i>d?0:d+i),s=s>d?d:s,s<0&&(s+=d),d=i>s?0:s-i>>>0,i>>>=0;for(var h=E(d);++u<d;)h[u]=e[u+i];return h}function Qv(e,i){var s;return Ln(e,function(u,d,h){return s=i(u,d,h),!s}),!!s}function Sa(e,i,s){var u=0,d=e==null?u:e.length;if(typeof i=="number"&&i===i&&d<=_t){for(;u<d;){var h=u+d>>>1,v=e[h];v!==null&&!Et(v)&&(s?v<=i:v<i)?u=h+1:d=h}return d}return po(e,i,mt,s)}function po(e,i,s,u){var d=0,h=e==null?0:e.length;if(h===0)return 0;i=s(i);for(var v=i!==i,y=i===null,x=Et(i),O=i===n;d<h;){var C=fa((d+h)/2),I=s(e[C]),L=I!==n,G=I===null,Q=I===I,fe=Et(I);if(v)var X=u||Q;else O?X=Q&&(u||L):y?X=Q&&L&&(u||!G):x?X=Q&&L&&!G&&(u||!fe):G||fe?X=!1:X=u?I<=i:I<i;X?d=C+1:h=C}return it(h,rt)}function Cc(e,i){for(var s=-1,u=e.length,d=0,h=[];++s<u;){var v=e[s],y=i?i(v):v;if(!s||!Ht(y,x)){var x=y;h[d++]=v===0?0:v}}return h}function Ic(e){return typeof e=="number"?e:Et(e)?ke:+e}function kt(e){if(typeof e=="string")return e;if(le(e))return Ne(e,kt)+"";if(Et(e))return oc?oc.call(e):"";var i=e+"";return i=="0"&&1/e==-j?"-0":i}function Fn(e,i,s){var u=-1,d=na,h=e.length,v=!0,y=[],x=y;if(s)v=!1,d=zs;else if(h>=o){var O=i?null:u0(e);if(O)return ia(O);v=!1,d=Jr,x=new Hn}else x=i?[]:y;e:for(;++u<h;){var C=e[u],I=i?i(C):C;if(C=s||C!==0?C:0,v&&I===I){for(var L=x.length;L--;)if(x[L]===I)continue e;i&&x.push(I),y.push(C)}else d(x,I,s)||(x!==y&&x.push(I),y.push(C))}return y}function go(e,i){return i=Dn(i,e),e=rd(e,i),e==null||delete e[rn(Bt(i))]}function Tc(e,i,s,u){return si(e,i,s(jn(e,i)),u)}function ka(e,i,s,u){for(var d=e.length,h=u?d:-1;(u?h--:++h<d)&&i(e[h],h,e););return s?Dt(e,u?0:h,u?h+1:d):Dt(e,u?h+1:0,u?d:h)}function Mc(e,i){var s=e;return s instanceof ve&&(s=s.value()),Us(i,function(u,d){return d.func.apply(d.thisArg,Tn([u],d.args))},s)}function ho(e,i,s){var u=e.length;if(u<2)return u?Fn(e[0]):[];for(var d=-1,h=E(u);++d<u;)for(var v=e[d],y=-1;++y<u;)y!=d&&(h[d]=ri(h[d]||v,e[y],i,s));return Fn(tt(h,1),i,s)}function Nc(e,i,s){for(var u=-1,d=e.length,h=i.length,v={};++u<d;){var y=u<h?i[u]:n;s(v,e[u],y)}return v}function fo(e){return ze(e)?e:[]}function mo(e){return typeof e=="function"?e:mt}function Dn(e,i){return le(e)?e:Eo(e,i)?[e]:od(Ee(e))}var Xv=me;function Bn(e,i,s){var u=e.length;return s=s===n?u:s,!i&&s>=u?e:Dt(e,i,s)}var Lc=zb||function(e){return et.clearTimeout(e)};function Fc(e,i){if(i)return e.slice();var s=e.length,u=tc?tc(s):new e.constructor(s);return e.copy(u),u}function bo(e){var i=new e.constructor(e.byteLength);return new ca(i).set(new ca(e)),i}function e0(e,i){var s=i?bo(e.buffer):e.buffer;return new e.constructor(s,e.byteOffset,e.byteLength)}function t0(e){var i=new e.constructor(e.source,bu.exec(e));return i.lastIndex=e.lastIndex,i}function n0(e){return ti?Oe(ti.call(e)):{}}function Dc(e,i){var s=i?bo(e.buffer):e.buffer;return new e.constructor(s,e.byteOffset,e.length)}function Bc(e,i){if(e!==i){var s=e!==n,u=e===null,d=e===e,h=Et(e),v=i!==n,y=i===null,x=i===i,O=Et(i);if(!y&&!O&&!h&&e>i||h&&v&&x&&!y&&!O||u&&v&&x||!s&&x||!d)return 1;if(!u&&!h&&!O&&e<i||O&&s&&d&&!u&&!h||y&&s&&d||!v&&d||!x)return-1}return 0}function r0(e,i,s){for(var u=-1,d=e.criteria,h=i.criteria,v=d.length,y=s.length;++u<v;){var x=Bc(d[u],h[u]);if(x){if(u>=y)return x;var O=s[u];return x*(O=="desc"?-1:1)}}return e.index-i.index}function Pc(e,i,s,u){for(var d=-1,h=e.length,v=s.length,y=-1,x=i.length,O=He(h-v,0),C=E(x+O),I=!u;++y<x;)C[y]=i[y];for(;++d<v;)(I||d<h)&&(C[s[d]]=e[d]);for(;O--;)C[y++]=e[d++];return C}function Rc(e,i,s,u){for(var d=-1,h=e.length,v=-1,y=s.length,x=-1,O=i.length,C=He(h-y,0),I=E(C+O),L=!u;++d<C;)I[d]=e[d];for(var G=d;++x<O;)I[G+x]=i[x];for(;++v<y;)(L||d<h)&&(I[G+s[v]]=e[d++]);return I}function gt(e,i){var s=-1,u=e.length;for(i||(i=E(u));++s<u;)i[s]=e[s];return i}function nn(e,i,s,u){var d=!s;s||(s={});for(var h=-1,v=i.length;++h<v;){var y=i[h],x=u?u(s[y],e[y],y,s,e):n;x===n&&(x=e[y]),d?dn(s,y,x):ni(s,y,x)}return s}function i0(e,i){return nn(e,ko(e),i)}function a0(e,i){return nn(e,Yc(e),i)}function Ea(e,i){return function(s,u){var d=le(s)?cb:Ov,h=i?i():{};return d(s,e,J(u,2),h)}}function wr(e){return me(function(i,s){var u=-1,d=s.length,h=d>1?s[d-1]:n,v=d>2?s[2]:n;for(h=e.length>3&&typeof h=="function"?(d--,h):n,v&&ut(s[0],s[1],v)&&(h=d<3?n:h,d=1),i=Oe(i);++u<d;){var y=s[u];y&&e(i,y,u,h)}return i})}function Vc(e,i){return function(s,u){if(s==null)return s;if(!ht(s))return e(s,u);for(var d=s.length,h=i?d:-1,v=Oe(s);(i?h--:++h<d)&&u(v[h],h,v)!==!1;);return s}}function zc(e){return function(i,s,u){for(var d=-1,h=Oe(i),v=u(i),y=v.length;y--;){var x=v[e?y:++d];if(s(h[x],x,h)===!1)break}return i}}function s0(e,i,s){var u=i&U,d=oi(e);function h(){var v=this&&this!==et&&this instanceof h?d:e;return v.apply(u?s:this,arguments)}return h}function Uc(e){return function(i){i=Ee(i);var s=gr(i)?Wt(i):n,u=s?s[0]:i.charAt(0),d=s?Bn(s,1).join(""):i.slice(1);return u[e]()+d}}function _r(e){return function(i){return Us(Vd(Rd(i).replace(Jm,"")),e,"")}}function oi(e){return function(){var i=arguments;switch(i.length){case 0:return new e;case 1:return new e(i[0]);case 2:return new e(i[0],i[1]);case 3:return new e(i[0],i[1],i[2]);case 4:return new e(i[0],i[1],i[2],i[3]);case 5:return new e(i[0],i[1],i[2],i[3],i[4]);case 6:return new e(i[0],i[1],i[2],i[3],i[4],i[5]);case 7:return new e(i[0],i[1],i[2],i[3],i[4],i[5],i[6])}var s=yr(e.prototype),u=e.apply(s,i);return Fe(u)?u:s}}function o0(e,i,s){var u=oi(e);function d(){for(var h=arguments.length,v=E(h),y=h,x=xr(d);y--;)v[y]=arguments[y];var O=h<3&&v[0]!==x&&v[h-1]!==x?[]:Mn(v,x);if(h-=O.length,h<s)return $c(e,i,Aa,d.placeholder,n,v,O,n,n,s-h);var C=this&&this!==et&&this instanceof d?u:e;return xt(C,this,v)}return d}function Gc(e){return function(i,s,u){var d=Oe(i);if(!ht(i)){var h=J(s,3);i=Ye(i),s=function(y){return h(d[y],y,d)}}var v=e(i,s,u);return v>-1?d[h?i[v]:v]:n}}function Kc(e){return gn(function(i){var s=i.length,u=s,d=Lt.prototype.thru;for(e&&i.reverse();u--;){var h=i[u];if(typeof h!="function")throw new Nt(c);if(d&&!v&&Ta(h)=="wrapper")var v=new Lt([],!0)}for(u=v?u:s;++u<s;){h=i[u];var y=Ta(h),x=y=="wrapper"?xo(h):n;x&&Ao(x[0])&&x[1]==(ce|z|Y|ot)&&!x[4].length&&x[9]==1?v=v[Ta(x[0])].apply(v,x[3]):v=h.length==1&&Ao(h)?v[y]():v.thru(h)}return function(){var O=arguments,C=O[0];if(v&&O.length==1&&le(C))return v.plant(C).value();for(var I=0,L=s?i[I].apply(this,O):C;++I<s;)L=i[I].call(this,L);return L}})}function Aa(e,i,s,u,d,h,v,y,x,O){var C=i&ce,I=i&U,L=i&se,G=i&(z|Z),Q=i&Kt,fe=L?n:oi(e);function X(){for(var be=arguments.length,ye=E(be),At=be;At--;)ye[At]=arguments[At];if(G)var ct=xr(X),Ot=yb(ye,ct);if(u&&(ye=Pc(ye,u,d,G)),h&&(ye=Rc(ye,h,v,G)),be-=Ot,G&&be<O){var Ue=Mn(ye,ct);return $c(e,i,Aa,X.placeholder,s,ye,Ue,y,x,O-be)}var qt=I?s:this,bn=L?qt[e]:e;return be=ye.length,y?ye=O0(ye,y):Q&&be>1&&ye.reverse(),C&&x<be&&(ye.length=x),this&&this!==et&&this instanceof X&&(bn=fe||oi(bn)),bn.apply(qt,ye)}return X}function Zc(e,i){return function(s,u){return Dv(s,e,i(u),{})}}function Oa(e,i){return function(s,u){var d;if(s===n&&u===n)return i;if(s!==n&&(d=s),u!==n){if(d===n)return u;typeof s=="string"||typeof u=="string"?(s=kt(s),u=kt(u)):(s=Ic(s),u=Ic(u)),d=e(s,u)}return d}}function vo(e){return gn(function(i){return i=Ne(i,St(J())),me(function(s){var u=this;return e(i,function(d){return xt(d,u,s)})})})}function Ca(e,i){i=i===n?" ":kt(i);var s=i.length;if(s<2)return s?co(i,e):i;var u=co(i,ha(e/hr(i)));return gr(i)?Bn(Wt(u),0,e).join(""):u.slice(0,e)}function l0(e,i,s,u){var d=i&U,h=oi(e);function v(){for(var y=-1,x=arguments.length,O=-1,C=u.length,I=E(C+x),L=this&&this!==et&&this instanceof v?h:e;++O<C;)I[O]=u[O];for(;x--;)I[O++]=arguments[++y];return xt(L,d?s:this,I)}return v}function Wc(e){return function(i,s,u){return u&&typeof u!="number"&&ut(i,s,u)&&(s=u=n),i=mn(i),s===n?(s=i,i=0):s=mn(s),u=u===n?i<s?1:-1:mn(u),Hv(i,s,u,e)}}function Ia(e){return function(i,s){return typeof i=="string"&&typeof s=="string"||(i=Pt(i),s=Pt(s)),e(i,s)}}function $c(e,i,s,u,d,h,v,y,x,O){var C=i&z,I=C?v:n,L=C?n:v,G=C?h:n,Q=C?n:h;i|=C?Y:re,i&=~(C?re:Y),i&$||(i&=~(U|se));var fe=[e,i,d,G,I,Q,L,y,x,O],X=s.apply(n,fe);return Ao(e)&&id(X,fe),X.placeholder=u,ad(X,e,i)}function yo(e){var i=$e[e];return function(s,u){if(s=Pt(s),u=u==null?0:it(ge(u),292),u&&ac(s)){var d=(Ee(s)+"e").split("e"),h=i(d[0]+"e"+(+d[1]+u));return d=(Ee(h)+"e").split("e"),+(d[0]+"e"+(+d[1]-u))}return i(s)}}var u0=br&&1/ia(new br([,-0]))[1]==j?function(e){return new br(e)}:Uo;function Hc(e){return function(i){var s=at(i);return s==Je?qs(i):s==Zt?Ab(i):vb(i,e(i))}}function pn(e,i,s,u,d,h,v,y){var x=i&se;if(!x&&typeof e!="function")throw new Nt(c);var O=u?u.length:0;if(O||(i&=~(Y|re),u=d=n),v=v===n?v:He(ge(v),0),y=y===n?y:ge(y),O-=d?d.length:0,i&re){var C=u,I=d;u=d=n}var L=x?n:xo(e),G=[e,i,s,u,d,C,I,h,v,y];if(L&&k0(G,L),e=G[0],i=G[1],s=G[2],u=G[3],d=G[4],y=G[9]=G[9]===n?x?0:e.length:He(G[9]-O,0),!y&&i&(z|Z)&&(i&=~(z|Z)),!i||i==U)var Q=s0(e,i,s);else i==z||i==Z?Q=o0(e,i,y):(i==Y||i==(U|Y))&&!d.length?Q=l0(e,i,s,u):Q=Aa.apply(n,G);var fe=L?Oc:id;return ad(fe(Q,G),e,i)}function qc(e,i,s,u){return e===n||Ht(e,mr[s])&&!Ae.call(u,s)?i:e}function jc(e,i,s,u,d,h){return Fe(e)&&Fe(i)&&(h.set(i,e),xa(e,i,n,jc,h),h.delete(i)),e}function c0(e){return ci(e)?n:e}function Jc(e,i,s,u,d,h){var v=s&T,y=e.length,x=i.length;if(y!=x&&!(v&&x>y))return!1;var O=h.get(e),C=h.get(i);if(O&&C)return O==i&&C==e;var I=-1,L=!0,G=s&q?new Hn:n;for(h.set(e,i),h.set(i,e);++I<y;){var Q=e[I],fe=i[I];if(u)var X=v?u(fe,Q,I,i,e,h):u(Q,fe,I,e,i,h);if(X!==n){if(X)continue;L=!1;break}if(G){if(!Gs(i,function(be,ye){if(!Jr(G,ye)&&(Q===be||d(Q,be,s,u,h)))return G.push(ye)})){L=!1;break}}else if(!(Q===fe||d(Q,fe,s,u,h))){L=!1;break}}return h.delete(e),h.delete(i),L}function d0(e,i,s,u,d,h,v){switch(s){case cr:if(e.byteLength!=i.byteLength||e.byteOffset!=i.byteOffset)return!1;e=e.buffer,i=i.buffer;case jr:return!(e.byteLength!=i.byteLength||!h(new ca(e),new ca(i)));case On:case en:case Cn:return Ht(+e,+i);case ur:return e.name==i.name&&e.message==i.message;case $r:case Hr:return e==i+"";case Je:var y=qs;case Zt:var x=u&T;if(y||(y=ia),e.size!=i.size&&!x)return!1;var O=v.get(e);if(O)return O==i;u|=q,v.set(e,i);var C=Jc(y(e),y(i),u,d,h,v);return v.delete(e),C;case Qi:if(ti)return ti.call(e)==ti.call(i)}return!1}function p0(e,i,s,u,d,h){var v=s&T,y=wo(e),x=y.length,O=wo(i),C=O.length;if(x!=C&&!v)return!1;for(var I=x;I--;){var L=y[I];if(!(v?L in i:Ae.call(i,L)))return!1}var G=h.get(e),Q=h.get(i);if(G&&Q)return G==i&&Q==e;var fe=!0;h.set(e,i),h.set(i,e);for(var X=v;++I<x;){L=y[I];var be=e[L],ye=i[L];if(u)var At=v?u(ye,be,L,i,e,h):u(be,ye,L,e,i,h);if(!(At===n?be===ye||d(be,ye,s,u,h):At)){fe=!1;break}X||(X=L=="constructor")}if(fe&&!X){var ct=e.constructor,Ot=i.constructor;ct!=Ot&&"constructor"in e&&"constructor"in i&&!(typeof ct=="function"&&ct instanceof ct&&typeof Ot=="function"&&Ot instanceof Ot)&&(fe=!1)}return h.delete(e),h.delete(i),fe}function gn(e){return Co(nd(e,n,dd),e+"")}function wo(e){return mc(e,Ye,ko)}function _o(e){return mc(e,ft,Yc)}var xo=ma?function(e){return ma.get(e)}:Uo;function Ta(e){for(var i=e.name+"",s=vr[i],u=Ae.call(vr,i)?s.length:0;u--;){var d=s[u],h=d.func;if(h==null||h==e)return d.name}return i}function xr(e){var i=Ae.call(g,"placeholder")?g:e;return i.placeholder}function J(){var e=g.iteratee||Vo;return e=e===Vo?yc:e,arguments.length?e(arguments[0],arguments[1]):e}function Ma(e,i){var s=e.__data__;return w0(i)?s[typeof i=="string"?"string":"hash"]:s.map}function So(e){for(var i=Ye(e),s=i.length;s--;){var u=i[s],d=e[u];i[s]=[u,d,ed(d)]}return i}function Jn(e,i){var s=Sb(e,i);return vc(s)?s:n}function g0(e){var i=Ae.call(e,Wn),s=e[Wn];try{e[Wn]=n;var u=!0}catch{}var d=la.call(e);return u&&(i?e[Wn]=s:delete e[Wn]),d}var ko=Js?function(e){return e==null?[]:(e=Oe(e),In(Js(e),function(i){return rc.call(e,i)}))}:Go,Yc=Js?function(e){for(var i=[];e;)Tn(i,ko(e)),e=da(e);return i}:Go,at=lt;(Ys&&at(new Ys(new ArrayBuffer(1)))!=cr||Qr&&at(new Qr)!=Je||Qs&&at(Qs.resolve())!=gu||br&&at(new br)!=Zt||Xr&&at(new Xr)!=qr)&&(at=function(e){var i=lt(e),s=i==It?e.constructor:n,u=s?Yn(s):"";if(u)switch(u){case jb:return cr;case Jb:return Je;case Yb:return gu;case Qb:return Zt;case Xb:return qr}return i});function h0(e,i,s){for(var u=-1,d=s.length;++u<d;){var h=s[u],v=h.size;switch(h.type){case"drop":e+=v;break;case"dropRight":i-=v;break;case"take":i=it(i,e+v);break;case"takeRight":e=He(e,i-v);break}}return{start:e,end:i}}function f0(e){var i=e.match(_m);return i?i[1].split(xm):[]}function Qc(e,i,s){i=Dn(i,e);for(var u=-1,d=i.length,h=!1;++u<d;){var v=rn(i[u]);if(!(h=e!=null&&s(e,v)))break;e=e[v]}return h||++u!=d?h:(d=e==null?0:e.length,!!d&&Ra(d)&&hn(v,d)&&(le(e)||Qn(e)))}function m0(e){var i=e.length,s=new e.constructor(i);return i&&typeof e[0]=="string"&&Ae.call(e,"index")&&(s.index=e.index,s.input=e.input),s}function Xc(e){return typeof e.constructor=="function"&&!li(e)?yr(da(e)):{}}function b0(e,i,s){var u=e.constructor;switch(i){case jr:return bo(e);case On:case en:return new u(+e);case cr:return e0(e,s);case xs:case Ss:case ks:case Es:case As:case Os:case Cs:case Is:case Ts:return Dc(e,s);case Je:return new u;case Cn:case Hr:return new u(e);case $r:return t0(e);case Zt:return new u;case Qi:return n0(e)}}function v0(e,i){var s=i.length;if(!s)return e;var u=s-1;return i[u]=(s>1?"& ":"")+i[u],i=i.join(s>2?", ":" "),e.replace(wm,`{
|
|
21
21
|
/* [wrapped with `+i+`] */
|
|
22
|
-
`)}function N0(t){return Et(t)||xu(t)||!!(tl&&t&&t[tl])}function As(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 hi(t,i,u){if(!An(u))return!1;var m=typeof i;return(m=="number"?Ai(u)&&As(i,u.length):m=="string"&&i in u)?so(u[i],t):!1}function Wf(t,i){if(Et(t))return!1;var u=typeof t;return u=="number"||u=="symbol"||u=="boolean"||t==null||aa(t)?!0:nn.test(t)||!gr.test(t)||i!=null&&t in Vt(i)}function j0(t){var i=typeof t;return i=="string"||i=="number"||i=="symbol"||i=="boolean"?t!=="__proto__":t===null}function Hf(t){var i=Ad(t),u=I[i];if(typeof u!="function"||!(i in St.prototype))return!1;if(t===u)return!0;var m=zf(u);return!!m&&t===m[0]}function z0(t){return!!cn&&cn in t}var U0=Xs?Os:sp;function zc(t){var i=t&&t.constructor,u=typeof i=="function"&&i.prototype||Ga;return t===u}function ng(t){return t===t&&!An(t)}function rg(t,i){return function(u){return u==null?!1:u[t]===i&&(i!==n||t in Vt(u))}}function V0(t){var i=Ld(t,function(m){return u.size===E&&u.clear(),m}),u=i.cache;return i}function W0(t,i){var u=t[1],m=i[1],C=u|m,O=C<(Y|G|Ie),z=m==Ie&&u==he||m==Ie&&u==Lt&&t[7].length<=i[8]||m==(Ie|Lt)&&i[7].length<=i[8]&&u==he;if(!(O||z))return t;m&Y&&(t[2]=i[2],C|=u&Y?0:de);var $=i[3];if($){var J=t[3];t[3]=J?Ju(J,$,i[4]):$,t[4]=J?va(t[3],B):i[4]}return $=i[5],$&&(J=t[5],t[5]=J?kl(J,$,i[6]):$,t[6]=J?va(t[5],B):i[6]),$=i[7],$&&(t[7]=$),m&Ie&&(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 H0(t){var i=[];if(t!=null)for(var u in Vt(t))i.push(u);return i}function $0(t){return ya.call(t)}function ig(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),z=re(O);++C<O;)z[C]=m[i+C];C=-1;for(var $=re(i+1);++C<i;)$[C]=m[C];return $[i]=u(z),Cn(t,this,$)}}function ag(t,i){return i.length<2?t:to(t,br(i,0,-1))}function G0(t,i){for(var u=t.length,m=vn(i.length,u),C=Yn(t);m--;){var O=i[m];t[m]=As(O,u)?C[O]:n}return t}function $f(t,i){if(!(i==="constructor"&&typeof t[i]=="function")&&i!="__proto__")return t[i]}var og=lg(Wo),Uc=nl||function(t,i){return En.setTimeout(t,i)},Gf=lg(du);function sg(t,i,u){var m=i+"";return Gf(t,B0(m,Z0(P0(m),u)))}function lg(t){var i=0,u=0;return function(){var m=Yl(),C=Ae-(m-u);if(u=m,C>0){if(++i>=Se)return arguments[0]}else i=0;return t.apply(n,arguments)}}function Md(t,i){var u=-1,m=t.length,C=m-1;for(i=i===n?m:i;++u<i;){var O=bl(u,C),z=t[O];t[O]=t[u],t[u]=z}return t.length=i,t}var ug=V0(function(t){var i=[];return t.charCodeAt(0)===46&&i.push(""),t.replace(Ni,function(u,m,C,O){i.push(C?O.replace(nt,"$1"):m||u)}),i});function $o(t){if(typeof t=="string"||aa(t))return t;var i=t+"";return i=="0"&&1/t==-je?"-0":i}function wu(t){if(t!=null){try{return qs.call(t)}catch{}try{return t+""}catch{}}return""}function Z0(t,i){return Hn(Pe,function(u){var m="_."+u[0];i&u[1]&&!Zi(t,m)&&t.push(m)}),t.sort()}function cg(t){if(t instanceof St)return t.clone();var i=new sr(t.__wrapped__,t.__chain__);return i.__actions__=Yn(t.__actions__),i.__index__=t.__index__,i.__values__=t.__values__,i}function Y0(t,i,u){(u?hi(t,i,u):i===n)?i=1:i=mn(Rt(i),0);var m=t==null?0:t.length;if(!m||i<1)return[];for(var C=0,O=0,z=re(as(m/i));C<m;)z[O++]=br(t,C,C+=i);return z}function K0(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 J0(){var t=arguments.length;if(!t)return[];for(var i=re(t-1),u=arguments[0],m=t;m--;)i[m-1]=arguments[m];return Tr(Et(u)?Yn(u):[u],Zn(i,1))}var Q0=bt(function(t,i){return Kn(t)?ta(t,Zn(i,1,Kn,!0)):[]}),X0=bt(function(t,i){var u=Ia(i);return Kn(u)&&(u=n),Kn(t)?ta(t,Zn(i,1,Kn,!0),lt(u,2)):[]}),q0=bt(function(t,i){var u=Ia(i);return Kn(u)&&(u=n),Kn(t)?ta(t,Zn(i,1,Kn,!0),n,u):[]});function ew(t,i,u){var m=t==null?0:t.length;return m?(i=u||i===n?1:Rt(i),br(t,i<0?0:i,m)):[]}function tw(t,i,u){var m=t==null?0:t.length;return m?(i=u||i===n?1:Rt(i),i=m-i,br(t,0,i<0?0:i)):[]}function nw(t,i){return t&&t.length?wl(t,lt(i,3),!0,!0):[]}function rw(t,i){return t&&t.length?wl(t,lt(i,3),!0):[]}function iw(t,i,u,m){var C=t==null?0:t.length;return C?(u&&typeof u!="number"&&hi(t,i,u)&&(u=0,m=C),Vu(t,i,u,m)):[]}function dg(t,i,u){var m=t==null?0:t.length;if(!m)return-1;var C=u==null?0:Rt(u);return C<0&&(C=mn(m+C,0)),Ha(t,lt(i,3),C)}function fg(t,i,u){var m=t==null?0:t.length;if(!m)return-1;var C=m-1;return u!==n&&(C=Rt(u),C=u<0?mn(m+C,0):vn(C,m-1)),Ha(t,lt(i,3),C,!0)}function pg(t){var i=t==null?0:t.length;return i?Zn(t,1):[]}function aw(t){var i=t==null?0:t.length;return i?Zn(t,je):[]}function ow(t,i){var u=t==null?0:t.length;return u?(i=i===n?1:Rt(i),Zn(t,i)):[]}function sw(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 hg(t){return t&&t.length?t[0]:n}function lw(t,i,u){var m=t==null?0:t.length;if(!m)return-1;var C=u==null?0:Rt(u);return C<0&&(C=mn(m+C,0)),Yi(t,i,C)}function uw(t){var i=t==null?0:t.length;return i?br(t,0,-1):[]}var cw=bt(function(t){var i=qt(t,ur);return i.length&&i[0]===t[0]?No(i):[]}),dw=bt(function(t){var i=Ia(t),u=qt(t,ur);return i===Ia(u)?i=n:u.pop(),u.length&&u[0]===t[0]?No(u,lt(i,2)):[]}),fw=bt(function(t){var i=Ia(t),u=qt(t,ur);return i=typeof i=="function"?i:n,i&&u.pop(),u.length&&u[0]===t[0]?No(u,n,i):[]});function pw(t,i){return t==null?"":Fo.call(t,i)}function Ia(t){var i=t==null?0:t.length;return i?t[i-1]:n}function hw(t,i,u){var m=t==null?0:t.length;if(!m)return-1;var C=m;return u!==n&&(C=Rt(u),C=C<0?mn(m+C,0):vn(C,m-1)),i===i?Nl(t,i,C):Ha(t,ko,C,!0)}function gw(t,i){return t&&t.length?io(t,Rt(i)):n}var mw=bt(gg);function gg(t,i){return t&&t.length&&i&&i.length?ao(t,i):t}function vw(t,i,u){return t&&t.length&&i&&i.length?ao(t,i,lt(u,2)):t}function bw(t,i,u){return t&&t.length&&i&&i.length?ao(t,i,n,u):t}var yw=Is(function(t,i){var u=t==null?0:t.length,m=Xl(t,i);return bs(t,qt(i,function(C){return As(C,u)?+C:C}).sort(Ho)),m});function ww(t,i){var u=[];if(!(t&&t.length))return u;var m=-1,C=[],O=t.length;for(i=lt(i,3);++m<O;){var z=t[m];i(z,m,t)&&(u.push(z),C.push(m))}return bs(t,C),u}function Zf(t){return t==null?t:Du.call(t)}function xw(t,i,u){var m=t==null?0:t.length;return m?(u&&typeof u!="number"&&hi(t,i,u)?(i=0,u=m):(i=i==null?0:Rt(i),u=u===n?m:Rt(u)),br(t,i,u)):[]}function Sw(t,i){return ws(t,i)}function kw(t,i,u){return xs(t,i,lt(u,2))}function _w(t,i){var u=t==null?0:t.length;if(u){var m=ws(t,i);if(m<u&&so(t[m],i))return m}return-1}function Ew(t,i){return ws(t,i,!0)}function Cw(t,i,u){return xs(t,i,lt(u,2),!0)}function Tw(t,i){var u=t==null?0:t.length;if(u){var m=ws(t,i,!0)-1;if(so(t[m],i))return m}return-1}function Rw(t){return t&&t.length?Yu(t):[]}function Iw(t,i){return t&&t.length?Yu(t,lt(i,2)):[]}function Aw(t){var i=t==null?0:t.length;return i?br(t,1,i):[]}function Ow(t,i,u){return t&&t.length?(i=u||i===n?1:Rt(i),br(t,0,i<0?0:i)):[]}function Mw(t,i,u){var m=t==null?0:t.length;return m?(i=u||i===n?1:Rt(i),i=m-i,br(t,i<0?0:i,m)):[]}function Fw(t,i){return t&&t.length?wl(t,lt(i,3),!1,!0):[]}function Pw(t,i){return t&&t.length?wl(t,lt(i,3)):[]}var Dw=bt(function(t){return Ra(Zn(t,1,Kn,!0))}),Lw=bt(function(t){var i=Ia(t);return Kn(i)&&(i=n),Ra(Zn(t,1,Kn,!0),lt(i,2))}),Bw=bt(function(t){var i=Ia(t);return i=typeof i=="function"?i:n,Ra(Zn(t,1,Kn,!0),n,i)});function Nw(t){return t&&t.length?Ra(t):[]}function jw(t,i){return t&&t.length?Ra(t,lt(i,2)):[]}function zw(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=oi(t,function(u){if(Kn(u))return i=mn(u.length,i),!0}),Q(i,function(u){return qt(t,h(u))})}function mg(t,i){if(!(t&&t.length))return[];var u=Yf(t);return i==null?u:qt(u,function(m){return Cn(i,n,m)})}var Uw=bt(function(t,i){return Kn(t)?ta(t,i):[]}),Vw=bt(function(t){return Ss(oi(t,Kn))}),Ww=bt(function(t){var i=Ia(t);return Kn(i)&&(i=n),Ss(oi(t,Kn),lt(i,2))}),Hw=bt(function(t){var i=Ia(t);return i=typeof i=="function"?i:n,Ss(oi(t,Kn),n,i)}),$w=bt(Yf);function Gw(t,i){return hu(t||[],i||[],xn)}function Zw(t,i){return hu(t||[],i||[],oo)}var Yw=bt(function(t){var i=t.length,u=i>1?t[i-1]:n;return u=typeof u=="function"?(t.pop(),u):n,mg(t,u)});function vg(t){var i=I(t);return i.__chain__=!0,i}function Kw(t,i){return i(t),t}function Fd(t,i){return i(t)}var Jw=Is(function(t){var i=t.length,u=i?t[0]:0,m=this.__wrapped__,C=function(O){return Xl(O,t)};return i>1||this.__actions__.length||!(m instanceof St)||!As(u)?this.thru(C):(m=m.slice(u,+u+(i?1:0)),m.__actions__.push({func:Fd,args:[C],thisArg:n}),new sr(m,this.__chain__).thru(function(O){return i&&!O.length&&O.push(n),O}))});function Qw(){return vg(this)}function Xw(){return new sr(this.value(),this.__chain__)}function qw(){this.__values__===n&&(this.__values__=Og(this.value()));var t=this.__index__>=this.__values__.length,i=t?n:this.__values__[this.__index__++];return{done:t,value:i}}function ex(){return this}function tx(t){for(var i,u=this;u instanceof Ka;){var m=cg(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 nx(){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:Fd,args:[Zf],thisArg:n}),new sr(i,this.__chain__)}return this.thru(Zf)}function rx(){return wr(this.__wrapped__,this.__actions__)}var ix=El(function(t,i,u){$t.call(t,u)?++t[u]:Gn(t,u,1)});function ax(t,i,u){var m=Et(t)?xo:fl;return u&&hi(t,i,u)&&(i=n),m(t,lt(i,3))}function ox(t,i){var u=Et(t)?oi:nu;return u(t,lt(i,3))}var sx=s(dg),lx=s(fg);function ux(t,i){return Zn(Pd(t,i),1)}function cx(t,i){return Zn(Pd(t,i),je)}function dx(t,i,u){return u=u===n?1:Rt(u),Zn(Pd(t,i),u)}function bg(t,i){var u=Et(t)?Hn:Ta;return u(t,lt(i,3))}function yg(t,i){var u=Et(t)?Gs:tu;return u(t,lt(i,3))}var fx=El(function(t,i,u){$t.call(t,u)?t[u].push(i):Gn(t,u,[i])});function px(t,i,u,m){t=Ai(t)?t:tc(t),u=u&&!m?Rt(u):0;var C=t.length;return u<0&&(u=mn(C+u,0)),jd(t)?u<=C&&t.indexOf(i,u)>-1:!!C&&Yi(t,i,u)>-1}var hx=bt(function(t,i,u){var m=-1,C=typeof i=="function",O=Ai(t)?re(t.length):[];return Ta(t,function(z){O[++m]=C?Cn(i,z,u):Hr(z,i,u)}),O}),gx=El(function(t,i,u){Gn(t,u,i)});function Pd(t,i){var u=Et(t)?qt:Uo;return u(t,lt(i,3))}function mx(t,i,u,m){return t==null?[]:(Et(i)||(i=i==null?[]:[i]),u=m?n:u,Et(u)||(u=u==null?[]:[u]),vl(t,i,u))}var vx=El(function(t,i,u){t[u?0:1].push(i)},function(){return[[],[]]});function bx(t,i,u){var m=Et(t)?es:R,C=arguments.length<3;return m(t,lt(i,4),u,C,Ta)}function yx(t,i,u){var m=Et(t)?Zs:R,C=arguments.length<3;return m(t,lt(i,4),u,C,tu)}function wx(t,i){var u=Et(t)?oi:nu;return u(t,Bd(lt(i,3)))}function xx(t){var i=Et(t)?Gt:ys;return i(t)}function Sx(t,i,u){(u?hi(t,i,u):i===n)?i=1:i=Rt(i);var m=Et(t)?Vr:Gu;return m(t,i)}function kx(t){var i=Et(t)?Xa:fu;return i(t)}function _x(t){if(t==null)return 0;if(Ai(t))return jd(t)?To(t):t.length;var i=Zr(t);return i==mt||i==Fn?t.size:vs(t).length}function Ex(t,i,u){var m=Et(t)?ma:Zu;return u&&hi(t,i,u)&&(i=n),m(t,lt(i,3))}var Cx=bt(function(t,i){if(t==null)return[];var u=i.length;return u>1&&hi(t,i[0],i[1])?i=[]:u>2&&hi(i[0],i[1],i[2])&&(i=[i[0]]),vl(t,Zn(i,1),[])}),Dd=is||function(){return En.Date.now()};function Tx(t,i){if(typeof i!="function")throw new vr(v);return t=Rt(t),function(){if(--t<1)return i.apply(this,arguments)}}function wg(t,i,u){return i=u?n:i,i=t&&i==null?t.length:i,Tn(t,Ie,n,n,n,n,i)}function xg(t,i){var u;if(typeof i!="function")throw new vr(v);return t=Rt(t),function(){return--t>0&&(u=i.apply(this,arguments)),t<=1&&(i=n),u}}var Kf=bt(function(t,i,u){var m=Y;if(u.length){var C=va(u,qu(Kf));m|=ee}return Tn(t,m,i,u,C)}),Sg=bt(function(t,i,u){var m=Y|G;if(u.length){var C=va(u,qu(Sg));m|=ee}return Tn(i,m,t,u,C)});function kg(t,i,u){i=u?n:i;var m=Tn(t,he,n,n,n,n,n,i);return m.placeholder=kg.placeholder,m}function _g(t,i,u){i=u?n:i;var m=Tn(t,me,n,n,n,n,n,i);return m.placeholder=_g.placeholder,m}function Eg(t,i,u){var m,C,O,z,$,J,ce=0,fe=!1,be=!1,Le=!0;if(typeof t!="function")throw new vr(v);i=Aa(i)||0,An(u)&&(fe=!!u.leading,be="maxWait"in u,O=be?mn(Aa(u.maxWait)||0,i):O,Le="trailing"in u?!!u.trailing:Le);function Xe(Jn){var lo=m,Fs=C;return m=C=n,ce=Jn,z=t.apply(Fs,lo),z}function ut(Jn){return ce=Jn,$=Uc(jt,i),fe?Xe(Jn):z}function Mt(Jn){var lo=Jn-J,Fs=Jn-ce,Hg=i-lo;return be?vn(Hg,O-Fs):Hg}function ct(Jn){var lo=Jn-J,Fs=Jn-ce;return J===n||lo>=i||lo<0||be&&Fs>=O}function jt(){var Jn=Dd();if(ct(Jn))return Wt(Jn);$=Uc(jt,Mt(Jn))}function Wt(Jn){return $=n,Le&&m?Xe(Jn):(m=C=n,z)}function oa(){$!==n&&_s($),ce=0,m=J=C=$=n}function gi(){return $===n?z:Wt(Dd())}function sa(){var Jn=Dd(),lo=ct(Jn);if(m=arguments,C=this,J=Jn,lo){if($===n)return ut(J);if(be)return _s($),$=Uc(jt,i),Xe(J)}return $===n&&($=Uc(jt,i)),z}return sa.cancel=oa,sa.flush=gi,sa}var Rx=bt(function(t,i){return eu(t,1,i)}),Ix=bt(function(t,i,u){return eu(t,Aa(i)||0,u)});function Ax(t){return Tn(t,ft)}function Ld(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 z=t.apply(this,m);return u.cache=O.set(C,z)||O,z};return u.cache=new(Ld.Cache||qi),u}Ld.Cache=qi;function Bd(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 Ox(t){return xg(2,t)}var Mx=jc(function(t,i){i=i.length==1&&Et(i[0])?qt(i[0],$e(lt())):qt(Zn(i,1),$e(lt()));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)})}),Jf=bt(function(t,i){var u=va(i,qu(Jf));return Tn(t,ee,n,i,u)}),Cg=bt(function(t,i){var u=va(i,qu(Cg));return Tn(t,Te,n,i,u)}),Fx=Is(function(t,i){return Tn(t,Lt,n,n,n,i)});function Px(t,i){if(typeof t!="function")throw new vr(v);return i=i===n?i:Rt(i),bt(t,i)}function Dx(t,i){if(typeof t!="function")throw new vr(v);return i=i==null?0:mn(Rt(i),0),bt(function(u){var m=u[i],C=pi(u,0,i);return m&&Tr(C,m),Cn(t,this,C)})}function Lx(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),Eg(t,i,{leading:m,maxWait:i,trailing:C})}function Bx(t){return wg(t,1)}function Nx(t,i){return Jf(ks(i),t)}function jx(){if(!arguments.length)return[];var t=arguments[0];return Et(t)?t:[t]}function zx(t){return lr(t,ge)}function Ux(t,i){return i=typeof i=="function"?i:n,lr(t,ge,i)}function Vx(t){return lr(t,F|ge)}function Wx(t,i){return i=typeof i=="function"?i:n,lr(t,F|ge,i)}function Hx(t,i){return i==null||Uu(t,i,xr(i))}function so(t,i){return t===i||t!==t&&i!==i}var $x=De(ps),Gx=De(function(t,i){return t>=i}),xu=ms(function(){return arguments}())?ms:function(t){return jn(t)&&$t.call(t,"callee")&&!Hl.call(t,"callee")},Et=re.isArray,Zx=Va?$e(Va):gl;function Ai(t){return t!=null&&Nd(t.length)&&!Os(t)}function Kn(t){return jn(t)&&Ai(t)}function Yx(t){return t===!0||t===!1||jn(t)&&qn(t)==tt}var Cl=$l||sp,Kx=pa?$e(pa):no;function Jx(t){return jn(t)&&t.nodeType===1&&!Vc(t)}function Qx(t){if(t==null)return!0;if(Ai(t)&&(Et(t)||typeof t=="string"||typeof t.splice=="function"||Cl(t)||ec(t)||xu(t)))return!t.length;var i=Zr(t);if(i==mt||i==Fn)return!t.size;if(zc(t))return!vs(t).length;for(var u in t)if($t.call(t,u))return!1;return!0}function Xx(t,i){return jo(t,i)}function qx(t,i,u){u=typeof u=="function"?u:n;var m=u?u(t,i):n;return m===n?jo(t,i,n,u):!!m}function Qf(t){if(!jn(t))return!1;var i=qn(t);return i==kt||i==rt||typeof t.message=="string"&&typeof t.name=="string"&&!Vc(t)}function eS(t){return typeof t=="number"&&Gl(t)}function Os(t){if(!An(t))return!1;var i=qn(t);return i==_e||i==At||i==qe||i==dr}function Tg(t){return typeof t=="number"&&t==Rt(t)}function Nd(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 jn(t){return t!=null&&typeof t=="object"}var Rg=$s?$e($s):ro;function tS(t,i){return t===i||su(t,i,Uf(i))}function nS(t,i,u){return u=typeof u=="function"?u:n,su(t,i,Uf(i),u)}function rS(t){return Ig(t)&&t!=+t}function iS(t){if(U0(t))throw new st(c);return lu(t)}function aS(t){return t===null}function oS(t){return t==null}function Ig(t){return typeof t=="number"||jn(t)&&qn(t)==fn}function Vc(t){if(!jn(t)||qn(t)!=Sn)return!1;var i=Oo(t);if(i===null)return!0;var u=$t.call(i,"constructor")&&i.constructor;return typeof u=="function"&&u instanceof u&&qs.call(u)==Vl}var Xf=ha?$e(ha):Ri;function sS(t){return Tg(t)&&t>=-ze&&t<=ze}var Ag=yo?$e(yo):Bc;function jd(t){return typeof t=="string"||!Et(t)&&jn(t)&&qn(t)==wn}function aa(t){return typeof t=="symbol"||jn(t)&&qn(t)==pn}var ec=wo?$e(wo):Nc;function lS(t){return t===n}function uS(t){return jn(t)&&Zr(t)==fr}function cS(t){return jn(t)&&qn(t)==yi}var dS=De(di),fS=De(function(t,i){return t<=i});function Og(t){if(!t)return[];if(Ai(t))return jd(t)?Ar(t):Yn(t);if(Ki&&t[Ki])return Cc(t[Ki]());var i=Zr(t),u=i==mt?Bl:i==Fn?Co:tc;return u(t)}function Ms(t){if(!t)return t===0?t:0;if(t=Aa(t),t===je||t===-je){var i=t<0?-1:1;return i*ht}return t===t?t:0}function Rt(t){var i=Ms(t),u=i%1;return i===i?u?i-u:i:0}function Mg(t){return t?Ca(Rt(t),0,ue):0}function Aa(t){if(typeof t=="number")return t;if(aa(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=ke(t);var u=pt.test(t);return u||zt.test(t)?qo(t.slice(2),u?2:8):wt.test(t)?oe:+t}function Fg(t){return Ii(t,Oi(t))}function pS(t){return t?Ca(Rt(t),-ze,ze):t===0?t:0}function an(t){return t==null?"":yr(t)}var hS=l(function(t,i){if(zc(i)||Ai(i)){Ii(i,xr(i),t);return}for(var u in i)$t.call(i,u)&&xn(t,u,i[u])}),Pg=l(function(t,i){Ii(i,Oi(i),t)}),zd=l(function(t,i,u,m){Ii(i,Oi(i),t,m)}),gS=l(function(t,i,u,m){Ii(i,xr(i),t,m)}),mS=Is(Xl);function vS(t,i){var u=_a(t);return i==null?u:ci(u,i)}var bS=bt(function(t,i){t=Vt(t);var u=-1,m=i.length,C=m>2?i[2]:n;for(C&&hi(i[0],i[1],C)&&(m=1);++u<m;)for(var O=i[u],z=Oi(O),$=-1,J=z.length;++$<J;){var ce=z[$],fe=t[ce];(fe===n||so(fe,Ga[ce])&&!$t.call(t,ce))&&(t[ce]=O[ce])}return t}),yS=bt(function(t){return t.push(n,bu),Cn(Dg,n,t)});function wS(t,i){return Wa(t,lt(i,3),Ti)}function xS(t,i){return Wa(t,lt(i,3),iu)}function SS(t,i){return t==null?t:ru(t,lt(i,3),Oi)}function kS(t,i){return t==null?t:Wu(t,lt(i,3),Oi)}function _S(t,i){return t&&Ti(t,lt(i,3))}function ES(t,i){return t&&iu(t,lt(i,3))}function CS(t){return t==null?[]:hl(t,xr(t))}function TS(t){return t==null?[]:hl(t,Oi(t))}function qf(t,i,u){var m=t==null?n:to(t,i);return m===n?u:m}function RS(t,i){return t!=null&&eg(t,i,hs)}function ep(t,i){return t!=null&&eg(t,i,Hu)}var IS=w(function(t,i,u){i!=null&&typeof i.toString!="function"&&(i=ya.call(i)),t[i]=u},np(Mi)),AS=w(function(t,i,u){i!=null&&typeof i.toString!="function"&&(i=ya.call(i)),$t.call(t,i)?t[i].push(u):t[i]=[u]},lt),OS=bt(Hr);function xr(t){return Ai(t)?Ea(t):vs(t)}function Oi(t){return Ai(t)?Ea(t,!0):ml(t)}function MS(t,i){var u={};return i=lt(i,3),Ti(t,function(m,C,O){Gn(u,i(m,C,O),m)}),u}function FS(t,i){var u={};return i=lt(i,3),Ti(t,function(m,C,O){Gn(u,C,i(m,C,O))}),u}var PS=l(function(t,i,u){Vo(t,i,u)}),Dg=l(function(t,i,u,m){Vo(t,i,u,m)}),DS=Is(function(t,i){var u={};if(t==null)return u;var m=!1;i=qt(i,function(O){return O=ia(O,t),m||(m=O.length>1),O}),Ii(t,jf(t),u),m&&(u=lr(u,F|V|ge,Xu));for(var C=i.length;C--;)pu(u,i[C]);return u});function LS(t,i){return Lg(t,Bd(lt(i)))}var BS=Is(function(t,i){return t==null?{}:Gr(t,i)});function Lg(t,i){if(t==null)return{};var u=qt(jf(t),function(m){return[m]});return i=lt(i),ra(t,u,function(m,C){return i(m,C[0])})}function NS(t,i,u){i=ia(i,t);var m=-1,C=i.length;for(C||(C=1,t=n);++m<C;){var O=t==null?n:t[$o(i[m])];O===n&&(m=C,O=u),t=Os(O)?O.call(t):O}return t}function jS(t,i,u){return t==null?t:oo(t,i,u)}function zS(t,i,u,m){return m=typeof m=="function"?m:n,t==null?t:oo(t,i,u,m)}var Bg=Nn(xr),Ng=Nn(Oi);function US(t,i,u){var m=Et(t),C=m||Cl(t)||ec(t);if(i=lt(i,4),u==null){var O=t&&t.constructor;C?u=m?new O:[]:An(t)?u=Os(O)?_a(Oo(t)):{}:u={}}return(C?Hn:Ti)(t,function(z,$,J){return i(u,z,$,J)}),u}function VS(t,i){return t==null?!0:pu(t,i)}function WS(t,i,u){return t==null?t:yl(t,i,ks(u))}function HS(t,i,u,m){return m=typeof m=="function"?m:n,t==null?t:yl(t,i,ks(u),m)}function tc(t){return t==null?[]:gt(t,xr(t))}function $S(t){return t==null?[]:gt(t,Oi(t))}function GS(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 ZS(t,i,u){return i=Ms(i),u===n?(u=i,i=0):u=Ms(u),t=Aa(t),gs(t,i,u)}function YS(t,i,u){if(u&&typeof u!="boolean"&&hi(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=Ms(t),i===n?(i=t,t=0):i=Ms(i)),t>i){var m=t;t=i,i=m}if(u||t%1||i%1){var C=Qi();return vn(t+C*(i-t+Cr("1e-"+((C+"").length-1))),i)}return bl(t,i)}var KS=N(function(t,i,u){return i=i.toLowerCase(),t+(u?jg(i):i)});function jg(t){return tp(an(t).toLowerCase())}function zg(t){return t=an(t),t&&t.replace(on,Ir).replace(Jo,"")}function JS(t,i,u){t=an(t),i=yr(i);var m=t.length;u=u===n?m:Ca(Rt(u),0,m);var C=u;return u-=i.length,u>=0&&t.slice(u,C)==i}function QS(t){return t=an(t),t&&qr.test(t)?t.replace(Ot,_o):t}function XS(t){return t=an(t),t&&ji.test(t)?t.replace(ni,"\\$&"):t}var qS=N(function(t,i,u){return t+(u?"-":"")+i.toLowerCase()}),e1=N(function(t,i,u){return t+(u?" ":"")+i.toLowerCase()}),t1=M("toLowerCase");function n1(t,i,u){t=an(t),i=Rt(i);var m=i?To(t):0;if(!i||m>=i)return t;var C=(i-m)/2;return W(Mo(C),u)+t+W(as(C),u)}function r1(t,i,u){t=an(t),i=Rt(i);var m=i?To(t):0;return i&&m<i?t+W(i-m,u):t}function i1(t,i,u){t=an(t),i=Rt(i);var m=i?To(t):0;return i&&m<i?W(i-m,u)+t:t}function a1(t,i,u){return u||i==null?i=0:i&&(i=+i),Kl(an(t).replace(rn,""),i||0)}function o1(t,i,u){return(u?hi(t,i,u):i===n)?i=1:i=Rt(i),cu(an(t),i)}function s1(){var t=arguments,i=an(t[0]);return t.length<3?i:i.replace(t[1],t[2])}var l1=N(function(t,i,u){return t+(u?"_":"")+i.toLowerCase()});function u1(t,i,u){return u&&typeof u!="number"&&hi(t,i,u)&&(i=u=n),u=u===n?ue:u>>>0,u?(t=an(t),t&&(typeof i=="string"||i!=null&&!Xf(i))&&(i=yr(i),!i&&Eo(t))?pi(Ar(t),0,u):t.split(i,u)):[]}var c1=N(function(t,i,u){return t+(u?" ":"")+tp(i)});function d1(t,i,u){return t=an(t),u=u==null?0:Ca(Rt(u),0,t.length),i=yr(i),t.slice(u,u+i.length)==i}function f1(t,i,u){var m=I.templateSettings;u&&hi(t,i,u)&&(i=n),t=an(t),i=zd({},i,m,vu);var C=zd({},i.imports,m.imports,vu),O=xr(C),z=gt(C,O),$,J,ce=0,fe=i.interpolate||In,be="__p += '",Le=ba((i.escape||In).source+"|"+fe.source+"|"+(fe===ti?vt:In).source+"|"+(i.evaluate||In).source+"|$","g"),Xe="//# sourceURL="+($t.call(i,"sourceURL")?(i.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Jt+"]")+`
|
|
23
|
-
`;
|
|
24
|
-
__e(`+
|
|
25
|
-
'`),
|
|
26
|
-
`+
|
|
27
|
-
__p += '`),
|
|
28
|
-
((__t = (`+
|
|
29
|
-
'`),
|
|
30
|
-
`;var
|
|
31
|
-
`+
|
|
22
|
+
`)}function y0(e){return le(e)||Qn(e)||!!(ic&&e&&e[ic])}function hn(e,i){var s=typeof e;return i=i??te,!!i&&(s=="number"||s!="symbol"&&Mm.test(e))&&e>-1&&e%1==0&&e<i}function ut(e,i,s){if(!Fe(s))return!1;var u=typeof i;return(u=="number"?ht(s)&&hn(i,s.length):u=="string"&&i in s)?Ht(s[i],e):!1}function Eo(e,i){if(le(e))return!1;var s=typeof e;return s=="number"||s=="symbol"||s=="boolean"||e==null||Et(e)?!0:mm.test(e)||!fm.test(e)||i!=null&&e in Oe(i)}function w0(e){var i=typeof e;return i=="string"||i=="number"||i=="symbol"||i=="boolean"?e!=="__proto__":e===null}function Ao(e){var i=Ta(e),s=g[i];if(typeof s!="function"||!(i in ve.prototype))return!1;if(e===s)return!0;var u=xo(s);return!!u&&e===u[0]}function _0(e){return!!ec&&ec in e}var x0=sa?fn:Ko;function li(e){var i=e&&e.constructor,s=typeof i=="function"&&i.prototype||mr;return e===s}function ed(e){return e===e&&!Fe(e)}function td(e,i){return function(s){return s==null?!1:s[e]===i&&(i!==n||e in Oe(s))}}function S0(e){var i=Ba(e,function(u){return s.size===m&&s.clear(),u}),s=i.cache;return i}function k0(e,i){var s=e[1],u=i[1],d=s|u,h=d<(U|se|ce),v=u==ce&&s==z||u==ce&&s==ot&&e[7].length<=i[8]||u==(ce|ot)&&i[7].length<=i[8]&&s==z;if(!(h||v))return e;u&U&&(e[2]=i[2],d|=s&U?0:$);var y=i[3];if(y){var x=e[3];e[3]=x?Pc(x,y,i[4]):y,e[4]=x?Mn(e[3],w):i[4]}return y=i[5],y&&(x=e[5],e[5]=x?Rc(x,y,i[6]):y,e[6]=x?Mn(e[5],w):i[6]),y=i[7],y&&(e[7]=y),u&ce&&(e[8]=e[8]==null?i[8]:it(e[8],i[8])),e[9]==null&&(e[9]=i[9]),e[0]=i[0],e[1]=d,e}function E0(e){var i=[];if(e!=null)for(var s in Oe(e))i.push(s);return i}function A0(e){return la.call(e)}function nd(e,i,s){return i=He(i===n?e.length-1:i,0),function(){for(var u=arguments,d=-1,h=He(u.length-i,0),v=E(h);++d<h;)v[d]=u[i+d];d=-1;for(var y=E(i+1);++d<i;)y[d]=u[d];return y[i]=s(v),xt(e,this,y)}}function rd(e,i){return i.length<2?e:jn(e,Dt(i,0,-1))}function O0(e,i){for(var s=e.length,u=it(i.length,s),d=gt(e);u--;){var h=i[u];e[u]=hn(h,s)?d[h]:n}return e}function Oo(e,i){if(!(i==="constructor"&&typeof e[i]=="function")&&i!="__proto__")return e[i]}var id=sd(Oc),ui=Gb||function(e,i){return et.setTimeout(e,i)},Co=sd(Jv);function ad(e,i,s){var u=i+"";return Co(e,v0(u,C0(f0(u),s)))}function sd(e){var i=0,s=0;return function(){var u=$b(),d=W-(u-s);if(s=u,d>0){if(++i>=D)return arguments[0]}else i=0;return e.apply(n,arguments)}}function Na(e,i){var s=-1,u=e.length,d=u-1;for(i=i===n?u:i;++s<i;){var h=uo(s,d),v=e[h];e[h]=e[s],e[s]=v}return e.length=i,e}var od=S0(function(e){var i=[];return e.charCodeAt(0)===46&&i.push(""),e.replace(bm,function(s,u,d,h){i.push(d?h.replace(Em,"$1"):u||s)}),i});function rn(e){if(typeof e=="string"||Et(e))return e;var i=e+"";return i=="0"&&1/e==-j?"-0":i}function Yn(e){if(e!=null){try{return oa.call(e)}catch{}try{return e+""}catch{}}return""}function C0(e,i){return Mt(Ge,function(s){var u="_."+s[0];i&s[1]&&!na(e,u)&&e.push(u)}),e.sort()}function ld(e){if(e instanceof ve)return e.clone();var i=new Lt(e.__wrapped__,e.__chain__);return i.__actions__=gt(e.__actions__),i.__index__=e.__index__,i.__values__=e.__values__,i}function I0(e,i,s){(s?ut(e,i,s):i===n)?i=1:i=He(ge(i),0);var u=e==null?0:e.length;if(!u||i<1)return[];for(var d=0,h=0,v=E(ha(u/i));d<u;)v[h++]=Dt(e,d,d+=i);return v}function T0(e){for(var i=-1,s=e==null?0:e.length,u=0,d=[];++i<s;){var h=e[i];h&&(d[u++]=h)}return d}function M0(){var e=arguments.length;if(!e)return[];for(var i=E(e-1),s=arguments[0],u=e;u--;)i[u-1]=arguments[u];return Tn(le(s)?gt(s):[s],tt(i,1))}var N0=me(function(e,i){return ze(e)?ri(e,tt(i,1,ze,!0)):[]}),L0=me(function(e,i){var s=Bt(i);return ze(s)&&(s=n),ze(e)?ri(e,tt(i,1,ze,!0),J(s,2)):[]}),F0=me(function(e,i){var s=Bt(i);return ze(s)&&(s=n),ze(e)?ri(e,tt(i,1,ze,!0),n,s):[]});function D0(e,i,s){var u=e==null?0:e.length;return u?(i=s||i===n?1:ge(i),Dt(e,i<0?0:i,u)):[]}function B0(e,i,s){var u=e==null?0:e.length;return u?(i=s||i===n?1:ge(i),i=u-i,Dt(e,0,i<0?0:i)):[]}function P0(e,i){return e&&e.length?ka(e,J(i,3),!0,!0):[]}function R0(e,i){return e&&e.length?ka(e,J(i,3),!0):[]}function V0(e,i,s,u){var d=e==null?0:e.length;return d?(s&&typeof s!="number"&&ut(e,i,s)&&(s=0,u=d),Mv(e,i,s,u)):[]}function ud(e,i,s){var u=e==null?0:e.length;if(!u)return-1;var d=s==null?0:ge(s);return d<0&&(d=He(u+d,0)),ra(e,J(i,3),d)}function cd(e,i,s){var u=e==null?0:e.length;if(!u)return-1;var d=u-1;return s!==n&&(d=ge(s),d=s<0?He(u+d,0):it(d,u-1)),ra(e,J(i,3),d,!0)}function dd(e){var i=e==null?0:e.length;return i?tt(e,1):[]}function z0(e){var i=e==null?0:e.length;return i?tt(e,j):[]}function U0(e,i){var s=e==null?0:e.length;return s?(i=i===n?1:ge(i),tt(e,i)):[]}function G0(e){for(var i=-1,s=e==null?0:e.length,u={};++i<s;){var d=e[i];u[d[0]]=d[1]}return u}function pd(e){return e&&e.length?e[0]:n}function K0(e,i,s){var u=e==null?0:e.length;if(!u)return-1;var d=s==null?0:ge(s);return d<0&&(d=He(u+d,0)),pr(e,i,d)}function Z0(e){var i=e==null?0:e.length;return i?Dt(e,0,-1):[]}var W0=me(function(e){var i=Ne(e,fo);return i.length&&i[0]===e[0]?io(i):[]}),$0=me(function(e){var i=Bt(e),s=Ne(e,fo);return i===Bt(s)?i=n:s.pop(),s.length&&s[0]===e[0]?io(s,J(i,2)):[]}),H0=me(function(e){var i=Bt(e),s=Ne(e,fo);return i=typeof i=="function"?i:n,i&&s.pop(),s.length&&s[0]===e[0]?io(s,n,i):[]});function q0(e,i){return e==null?"":Zb.call(e,i)}function Bt(e){var i=e==null?0:e.length;return i?e[i-1]:n}function j0(e,i,s){var u=e==null?0:e.length;if(!u)return-1;var d=u;return s!==n&&(d=ge(s),d=d<0?He(u+d,0):it(d,u-1)),i===i?Cb(e,i,d):ra(e,$u,d,!0)}function J0(e,i){return e&&e.length?Sc(e,ge(i)):n}var Y0=me(gd);function gd(e,i){return e&&e.length&&i&&i.length?lo(e,i):e}function Q0(e,i,s){return e&&e.length&&i&&i.length?lo(e,i,J(s,2)):e}function X0(e,i,s){return e&&e.length&&i&&i.length?lo(e,i,n,s):e}var e1=gn(function(e,i){var s=e==null?0:e.length,u=eo(e,i);return Ac(e,Ne(i,function(d){return hn(d,s)?+d:d}).sort(Bc)),u});function t1(e,i){var s=[];if(!(e&&e.length))return s;var u=-1,d=[],h=e.length;for(i=J(i,3);++u<h;){var v=e[u];i(v,u,e)&&(s.push(v),d.push(u))}return Ac(e,d),s}function Io(e){return e==null?e:qb.call(e)}function n1(e,i,s){var u=e==null?0:e.length;return u?(s&&typeof s!="number"&&ut(e,i,s)?(i=0,s=u):(i=i==null?0:ge(i),s=s===n?u:ge(s)),Dt(e,i,s)):[]}function r1(e,i){return Sa(e,i)}function i1(e,i,s){return po(e,i,J(s,2))}function a1(e,i){var s=e==null?0:e.length;if(s){var u=Sa(e,i);if(u<s&&Ht(e[u],i))return u}return-1}function s1(e,i){return Sa(e,i,!0)}function o1(e,i,s){return po(e,i,J(s,2),!0)}function l1(e,i){var s=e==null?0:e.length;if(s){var u=Sa(e,i,!0)-1;if(Ht(e[u],i))return u}return-1}function u1(e){return e&&e.length?Cc(e):[]}function c1(e,i){return e&&e.length?Cc(e,J(i,2)):[]}function d1(e){var i=e==null?0:e.length;return i?Dt(e,1,i):[]}function p1(e,i,s){return e&&e.length?(i=s||i===n?1:ge(i),Dt(e,0,i<0?0:i)):[]}function g1(e,i,s){var u=e==null?0:e.length;return u?(i=s||i===n?1:ge(i),i=u-i,Dt(e,i<0?0:i,u)):[]}function h1(e,i){return e&&e.length?ka(e,J(i,3),!1,!0):[]}function f1(e,i){return e&&e.length?ka(e,J(i,3)):[]}var m1=me(function(e){return Fn(tt(e,1,ze,!0))}),b1=me(function(e){var i=Bt(e);return ze(i)&&(i=n),Fn(tt(e,1,ze,!0),J(i,2))}),v1=me(function(e){var i=Bt(e);return i=typeof i=="function"?i:n,Fn(tt(e,1,ze,!0),n,i)});function y1(e){return e&&e.length?Fn(e):[]}function w1(e,i){return e&&e.length?Fn(e,J(i,2)):[]}function _1(e,i){return i=typeof i=="function"?i:n,e&&e.length?Fn(e,n,i):[]}function To(e){if(!(e&&e.length))return[];var i=0;return e=In(e,function(s){if(ze(s))return i=He(s.length,i),!0}),$s(i,function(s){return Ne(e,Ks(s))})}function hd(e,i){if(!(e&&e.length))return[];var s=To(e);return i==null?s:Ne(s,function(u){return xt(i,n,u)})}var x1=me(function(e,i){return ze(e)?ri(e,i):[]}),S1=me(function(e){return ho(In(e,ze))}),k1=me(function(e){var i=Bt(e);return ze(i)&&(i=n),ho(In(e,ze),J(i,2))}),E1=me(function(e){var i=Bt(e);return i=typeof i=="function"?i:n,ho(In(e,ze),n,i)}),A1=me(To);function O1(e,i){return Nc(e||[],i||[],ni)}function C1(e,i){return Nc(e||[],i||[],si)}var I1=me(function(e){var i=e.length,s=i>1?e[i-1]:n;return s=typeof s=="function"?(e.pop(),s):n,hd(e,s)});function fd(e){var i=g(e);return i.__chain__=!0,i}function T1(e,i){return i(e),e}function La(e,i){return i(e)}var M1=gn(function(e){var i=e.length,s=i?e[0]:0,u=this.__wrapped__,d=function(h){return eo(h,e)};return i>1||this.__actions__.length||!(u instanceof ve)||!hn(s)?this.thru(d):(u=u.slice(s,+s+(i?1:0)),u.__actions__.push({func:La,args:[d],thisArg:n}),new Lt(u,this.__chain__).thru(function(h){return i&&!h.length&&h.push(n),h}))});function N1(){return fd(this)}function L1(){return new Lt(this.value(),this.__chain__)}function F1(){this.__values__===n&&(this.__values__=Id(this.value()));var e=this.__index__>=this.__values__.length,i=e?n:this.__values__[this.__index__++];return{done:e,value:i}}function D1(){return this}function B1(e){for(var i,s=this;s instanceof va;){var u=ld(s);u.__index__=0,u.__values__=n,i?d.__wrapped__=u:i=u;var d=u;s=s.__wrapped__}return d.__wrapped__=e,i}function P1(){var e=this.__wrapped__;if(e instanceof ve){var i=e;return this.__actions__.length&&(i=new ve(this)),i=i.reverse(),i.__actions__.push({func:La,args:[Io],thisArg:n}),new Lt(i,this.__chain__)}return this.thru(Io)}function R1(){return Mc(this.__wrapped__,this.__actions__)}var V1=Ea(function(e,i,s){Ae.call(e,s)?++e[s]:dn(e,s,1)});function z1(e,i,s){var u=le(e)?Zu:Tv;return s&&ut(e,i,s)&&(i=n),u(e,J(i,3))}function U1(e,i){var s=le(e)?In:hc;return s(e,J(i,3))}var G1=Gc(ud),K1=Gc(cd);function Z1(e,i){return tt(Fa(e,i),1)}function W1(e,i){return tt(Fa(e,i),j)}function $1(e,i,s){return s=s===n?1:ge(s),tt(Fa(e,i),s)}function md(e,i){var s=le(e)?Mt:Ln;return s(e,J(i,3))}function bd(e,i){var s=le(e)?db:gc;return s(e,J(i,3))}var H1=Ea(function(e,i,s){Ae.call(e,s)?e[s].push(i):dn(e,s,[i])});function q1(e,i,s,u){e=ht(e)?e:kr(e),s=s&&!u?ge(s):0;var d=e.length;return s<0&&(s=He(d+s,0)),Va(e)?s<=d&&e.indexOf(i,s)>-1:!!d&&pr(e,i,s)>-1}var j1=me(function(e,i,s){var u=-1,d=typeof i=="function",h=ht(e)?E(e.length):[];return Ln(e,function(v){h[++u]=d?xt(i,v,s):ii(v,i,s)}),h}),J1=Ea(function(e,i,s){dn(e,s,i)});function Fa(e,i){var s=le(e)?Ne:wc;return s(e,J(i,3))}function Y1(e,i,s,u){return e==null?[]:(le(i)||(i=i==null?[]:[i]),s=u?n:s,le(s)||(s=s==null?[]:[s]),kc(e,i,s))}var Q1=Ea(function(e,i,s){e[s?0:1].push(i)},function(){return[[],[]]});function X1(e,i,s){var u=le(e)?Us:qu,d=arguments.length<3;return u(e,J(i,4),s,d,Ln)}function ey(e,i,s){var u=le(e)?pb:qu,d=arguments.length<3;return u(e,J(i,4),s,d,gc)}function ty(e,i){var s=le(e)?In:hc;return s(e,Pa(J(i,3)))}function ny(e){var i=le(e)?uc:qv;return i(e)}function ry(e,i,s){(s?ut(e,i,s):i===n)?i=1:i=ge(i);var u=le(e)?Ev:jv;return u(e,i)}function iy(e){var i=le(e)?Av:Yv;return i(e)}function ay(e){if(e==null)return 0;if(ht(e))return Va(e)?hr(e):e.length;var i=at(e);return i==Je||i==Zt?e.size:so(e).length}function sy(e,i,s){var u=le(e)?Gs:Qv;return s&&ut(e,i,s)&&(i=n),u(e,J(i,3))}var oy=me(function(e,i){if(e==null)return[];var s=i.length;return s>1&&ut(e,i[0],i[1])?i=[]:s>2&&ut(i[0],i[1],i[2])&&(i=[i[0]]),kc(e,tt(i,1),[])}),Da=Ub||function(){return et.Date.now()};function ly(e,i){if(typeof i!="function")throw new Nt(c);return e=ge(e),function(){if(--e<1)return i.apply(this,arguments)}}function vd(e,i,s){return i=s?n:i,i=e&&i==null?e.length:i,pn(e,ce,n,n,n,n,i)}function yd(e,i){var s;if(typeof i!="function")throw new Nt(c);return e=ge(e),function(){return--e>0&&(s=i.apply(this,arguments)),e<=1&&(i=n),s}}var Mo=me(function(e,i,s){var u=U;if(s.length){var d=Mn(s,xr(Mo));u|=Y}return pn(e,u,i,s,d)}),wd=me(function(e,i,s){var u=U|se;if(s.length){var d=Mn(s,xr(wd));u|=Y}return pn(i,u,e,s,d)});function _d(e,i,s){i=s?n:i;var u=pn(e,z,n,n,n,n,n,i);return u.placeholder=_d.placeholder,u}function xd(e,i,s){i=s?n:i;var u=pn(e,Z,n,n,n,n,n,i);return u.placeholder=xd.placeholder,u}function Sd(e,i,s){var u,d,h,v,y,x,O=0,C=!1,I=!1,L=!0;if(typeof e!="function")throw new Nt(c);i=Pt(i)||0,Fe(s)&&(C=!!s.leading,I="maxWait"in s,h=I?He(Pt(s.maxWait)||0,i):h,L="trailing"in s?!!s.trailing:L);function G(Ue){var qt=u,bn=d;return u=d=n,O=Ue,v=e.apply(bn,qt),v}function Q(Ue){return O=Ue,y=ui(be,i),C?G(Ue):v}function fe(Ue){var qt=Ue-x,bn=Ue-O,Gd=i-qt;return I?it(Gd,h-bn):Gd}function X(Ue){var qt=Ue-x,bn=Ue-O;return x===n||qt>=i||qt<0||I&&bn>=h}function be(){var Ue=Da();if(X(Ue))return ye(Ue);y=ui(be,fe(Ue))}function ye(Ue){return y=n,L&&u?G(Ue):(u=d=n,v)}function At(){y!==n&&Lc(y),O=0,u=x=d=y=n}function ct(){return y===n?v:ye(Da())}function Ot(){var Ue=Da(),qt=X(Ue);if(u=arguments,d=this,x=Ue,qt){if(y===n)return Q(x);if(I)return Lc(y),y=ui(be,i),G(x)}return y===n&&(y=ui(be,i)),v}return Ot.cancel=At,Ot.flush=ct,Ot}var uy=me(function(e,i){return pc(e,1,i)}),cy=me(function(e,i,s){return pc(e,Pt(i)||0,s)});function dy(e){return pn(e,Kt)}function Ba(e,i){if(typeof e!="function"||i!=null&&typeof i!="function")throw new Nt(c);var s=function(){var u=arguments,d=i?i.apply(this,u):u[0],h=s.cache;if(h.has(d))return h.get(d);var v=e.apply(this,u);return s.cache=h.set(d,v)||h,v};return s.cache=new(Ba.Cache||cn),s}Ba.Cache=cn;function Pa(e){if(typeof e!="function")throw new Nt(c);return function(){var i=arguments;switch(i.length){case 0:return!e.call(this);case 1:return!e.call(this,i[0]);case 2:return!e.call(this,i[0],i[1]);case 3:return!e.call(this,i[0],i[1],i[2])}return!e.apply(this,i)}}function py(e){return yd(2,e)}var gy=Xv(function(e,i){i=i.length==1&&le(i[0])?Ne(i[0],St(J())):Ne(tt(i,1),St(J()));var s=i.length;return me(function(u){for(var d=-1,h=it(u.length,s);++d<h;)u[d]=i[d].call(this,u[d]);return xt(e,this,u)})}),No=me(function(e,i){var s=Mn(i,xr(No));return pn(e,Y,n,i,s)}),kd=me(function(e,i){var s=Mn(i,xr(kd));return pn(e,re,n,i,s)}),hy=gn(function(e,i){return pn(e,ot,n,n,n,i)});function fy(e,i){if(typeof e!="function")throw new Nt(c);return i=i===n?i:ge(i),me(e,i)}function my(e,i){if(typeof e!="function")throw new Nt(c);return i=i==null?0:He(ge(i),0),me(function(s){var u=s[i],d=Bn(s,0,i);return u&&Tn(d,u),xt(e,this,d)})}function by(e,i,s){var u=!0,d=!0;if(typeof e!="function")throw new Nt(c);return Fe(s)&&(u="leading"in s?!!s.leading:u,d="trailing"in s?!!s.trailing:d),Sd(e,i,{leading:u,maxWait:i,trailing:d})}function vy(e){return vd(e,1)}function yy(e,i){return No(mo(i),e)}function wy(){if(!arguments.length)return[];var e=arguments[0];return le(e)?e:[e]}function _y(e){return Ft(e,F)}function xy(e,i){return i=typeof i=="function"?i:n,Ft(e,F,i)}function Sy(e){return Ft(e,k|F)}function ky(e,i){return i=typeof i=="function"?i:n,Ft(e,k|F,i)}function Ey(e,i){return i==null||dc(e,i,Ye(i))}function Ht(e,i){return e===i||e!==e&&i!==i}var Ay=Ia(ro),Oy=Ia(function(e,i){return e>=i}),Qn=bc(function(){return arguments}())?bc:function(e){return Ve(e)&&Ae.call(e,"callee")&&!rc.call(e,"callee")},le=E.isArray,Cy=Ru?St(Ru):Bv;function ht(e){return e!=null&&Ra(e.length)&&!fn(e)}function ze(e){return Ve(e)&&ht(e)}function Iy(e){return e===!0||e===!1||Ve(e)&<(e)==On}var Pn=Kb||Ko,Ty=Vu?St(Vu):Pv;function My(e){return Ve(e)&&e.nodeType===1&&!ci(e)}function Ny(e){if(e==null)return!0;if(ht(e)&&(le(e)||typeof e=="string"||typeof e.splice=="function"||Pn(e)||Sr(e)||Qn(e)))return!e.length;var i=at(e);if(i==Je||i==Zt)return!e.size;if(li(e))return!so(e).length;for(var s in e)if(Ae.call(e,s))return!1;return!0}function Ly(e,i){return ai(e,i)}function Fy(e,i,s){s=typeof s=="function"?s:n;var u=s?s(e,i):n;return u===n?ai(e,i,n,s):!!u}function Lo(e){if(!Ve(e))return!1;var i=lt(e);return i==ur||i==ji||typeof e.message=="string"&&typeof e.name=="string"&&!ci(e)}function Dy(e){return typeof e=="number"&&ac(e)}function fn(e){if(!Fe(e))return!1;var i=lt(e);return i==Kn||i==Ji||i==lr||i==am}function Ed(e){return typeof e=="number"&&e==ge(e)}function Ra(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=te}function Fe(e){var i=typeof e;return e!=null&&(i=="object"||i=="function")}function Ve(e){return e!=null&&typeof e=="object"}var Ad=zu?St(zu):Vv;function By(e,i){return e===i||ao(e,i,So(i))}function Py(e,i,s){return s=typeof s=="function"?s:n,ao(e,i,So(i),s)}function Ry(e){return Od(e)&&e!=+e}function Vy(e){if(x0(e))throw new ae(l);return vc(e)}function zy(e){return e===null}function Uy(e){return e==null}function Od(e){return typeof e=="number"||Ve(e)&<(e)==Cn}function ci(e){if(!Ve(e)||lt(e)!=It)return!1;var i=da(e);if(i===null)return!0;var s=Ae.call(i,"constructor")&&i.constructor;return typeof s=="function"&&s instanceof s&&oa.call(s)==Pb}var Fo=Uu?St(Uu):zv;function Gy(e){return Ed(e)&&e>=-te&&e<=te}var Cd=Gu?St(Gu):Uv;function Va(e){return typeof e=="string"||!le(e)&&Ve(e)&<(e)==Hr}function Et(e){return typeof e=="symbol"||Ve(e)&<(e)==Qi}var Sr=Ku?St(Ku):Gv;function Ky(e){return e===n}function Zy(e){return Ve(e)&&at(e)==qr}function Wy(e){return Ve(e)&<(e)==om}var $y=Ia(oo),Hy=Ia(function(e,i){return e<=i});function Id(e){if(!e)return[];if(ht(e))return Va(e)?Wt(e):gt(e);if(Yr&&e[Yr])return Eb(e[Yr]());var i=at(e),s=i==Je?qs:i==Zt?ia:kr;return s(e)}function mn(e){if(!e)return e===0?e:0;if(e=Pt(e),e===j||e===-j){var i=e<0?-1:1;return i*Pe}return e===e?e:0}function ge(e){var i=mn(e),s=i%1;return i===i?s?i-s:i:0}function Td(e){return e?qn(ge(e),0,Re):0}function Pt(e){if(typeof e=="number")return e;if(Et(e))return ke;if(Fe(e)){var i=typeof e.valueOf=="function"?e.valueOf():e;e=Fe(i)?i+"":i}if(typeof e!="string")return e===0?e:+e;e=ju(e);var s=Cm.test(e);return s||Tm.test(e)?lb(e.slice(2),s?2:8):Om.test(e)?ke:+e}function Md(e){return nn(e,ft(e))}function qy(e){return e?qn(ge(e),-te,te):e===0?e:0}function Ee(e){return e==null?"":kt(e)}var jy=wr(function(e,i){if(li(i)||ht(i)){nn(i,Ye(i),e);return}for(var s in i)Ae.call(i,s)&&ni(e,s,i[s])}),Nd=wr(function(e,i){nn(i,ft(i),e)}),za=wr(function(e,i,s,u){nn(i,ft(i),e,u)}),Jy=wr(function(e,i,s,u){nn(i,Ye(i),e,u)}),Yy=gn(eo);function Qy(e,i){var s=yr(e);return i==null?s:cc(s,i)}var Xy=me(function(e,i){e=Oe(e);var s=-1,u=i.length,d=u>2?i[2]:n;for(d&&ut(i[0],i[1],d)&&(u=1);++s<u;)for(var h=i[s],v=ft(h),y=-1,x=v.length;++y<x;){var O=v[y],C=e[O];(C===n||Ht(C,mr[O])&&!Ae.call(e,O))&&(e[O]=h[O])}return e}),ew=me(function(e){return e.push(n,jc),xt(Ld,n,e)});function tw(e,i){return Wu(e,J(i,3),tn)}function nw(e,i){return Wu(e,J(i,3),no)}function rw(e,i){return e==null?e:to(e,J(i,3),ft)}function iw(e,i){return e==null?e:fc(e,J(i,3),ft)}function aw(e,i){return e&&tn(e,J(i,3))}function sw(e,i){return e&&no(e,J(i,3))}function ow(e){return e==null?[]:_a(e,Ye(e))}function lw(e){return e==null?[]:_a(e,ft(e))}function Do(e,i,s){var u=e==null?n:jn(e,i);return u===n?s:u}function uw(e,i){return e!=null&&Qc(e,i,Nv)}function Bo(e,i){return e!=null&&Qc(e,i,Lv)}var cw=Zc(function(e,i,s){i!=null&&typeof i.toString!="function"&&(i=la.call(i)),e[i]=s},Ro(mt)),dw=Zc(function(e,i,s){i!=null&&typeof i.toString!="function"&&(i=la.call(i)),Ae.call(e,i)?e[i].push(s):e[i]=[s]},J),pw=me(ii);function Ye(e){return ht(e)?lc(e):so(e)}function ft(e){return ht(e)?lc(e,!0):Kv(e)}function gw(e,i){var s={};return i=J(i,3),tn(e,function(u,d,h){dn(s,i(u,d,h),u)}),s}function hw(e,i){var s={};return i=J(i,3),tn(e,function(u,d,h){dn(s,d,i(u,d,h))}),s}var fw=wr(function(e,i,s){xa(e,i,s)}),Ld=wr(function(e,i,s,u){xa(e,i,s,u)}),mw=gn(function(e,i){var s={};if(e==null)return s;var u=!1;i=Ne(i,function(h){return h=Dn(h,e),u||(u=h.length>1),h}),nn(e,_o(e),s),u&&(s=Ft(s,k|S|F,c0));for(var d=i.length;d--;)go(s,i[d]);return s});function bw(e,i){return Fd(e,Pa(J(i)))}var vw=gn(function(e,i){return e==null?{}:Wv(e,i)});function Fd(e,i){if(e==null)return{};var s=Ne(_o(e),function(u){return[u]});return i=J(i),Ec(e,s,function(u,d){return i(u,d[0])})}function yw(e,i,s){i=Dn(i,e);var u=-1,d=i.length;for(d||(d=1,e=n);++u<d;){var h=e==null?n:e[rn(i[u])];h===n&&(u=d,h=s),e=fn(h)?h.call(e):h}return e}function ww(e,i,s){return e==null?e:si(e,i,s)}function _w(e,i,s,u){return u=typeof u=="function"?u:n,e==null?e:si(e,i,s,u)}var Dd=Hc(Ye),Bd=Hc(ft);function xw(e,i,s){var u=le(e),d=u||Pn(e)||Sr(e);if(i=J(i,4),s==null){var h=e&&e.constructor;d?s=u?new h:[]:Fe(e)?s=fn(h)?yr(da(e)):{}:s={}}return(d?Mt:tn)(e,function(v,y,x){return i(s,v,y,x)}),s}function Sw(e,i){return e==null?!0:go(e,i)}function kw(e,i,s){return e==null?e:Tc(e,i,mo(s))}function Ew(e,i,s,u){return u=typeof u=="function"?u:n,e==null?e:Tc(e,i,mo(s),u)}function kr(e){return e==null?[]:Hs(e,Ye(e))}function Aw(e){return e==null?[]:Hs(e,ft(e))}function Ow(e,i,s){return s===n&&(s=i,i=n),s!==n&&(s=Pt(s),s=s===s?s:0),i!==n&&(i=Pt(i),i=i===i?i:0),qn(Pt(e),i,s)}function Cw(e,i,s){return i=mn(i),s===n?(s=i,i=0):s=mn(s),e=Pt(e),Fv(e,i,s)}function Iw(e,i,s){if(s&&typeof s!="boolean"&&ut(e,i,s)&&(i=s=n),s===n&&(typeof i=="boolean"?(s=i,i=n):typeof e=="boolean"&&(s=e,e=n)),e===n&&i===n?(e=0,i=1):(e=mn(e),i===n?(i=e,e=0):i=mn(i)),e>i){var u=e;e=i,i=u}if(s||e%1||i%1){var d=sc();return it(e+d*(i-e+ob("1e-"+((d+"").length-1))),i)}return uo(e,i)}var Tw=_r(function(e,i,s){return i=i.toLowerCase(),e+(s?Pd(i):i)});function Pd(e){return Po(Ee(e).toLowerCase())}function Rd(e){return e=Ee(e),e&&e.replace(Nm,wb).replace(Ym,"")}function Mw(e,i,s){e=Ee(e),i=kt(i);var u=e.length;s=s===n?u:qn(ge(s),0,u);var d=s;return s-=i.length,s>=0&&e.slice(s,d)==i}function Nw(e){return e=Ee(e),e&&pm.test(e)?e.replace(fu,_b):e}function Lw(e){return e=Ee(e),e&&vm.test(e)?e.replace(Ms,"\\$&"):e}var Fw=_r(function(e,i,s){return e+(s?"-":"")+i.toLowerCase()}),Dw=_r(function(e,i,s){return e+(s?" ":"")+i.toLowerCase()}),Bw=Uc("toLowerCase");function Pw(e,i,s){e=Ee(e),i=ge(i);var u=i?hr(e):0;if(!i||u>=i)return e;var d=(i-u)/2;return Ca(fa(d),s)+e+Ca(ha(d),s)}function Rw(e,i,s){e=Ee(e),i=ge(i);var u=i?hr(e):0;return i&&u<i?e+Ca(i-u,s):e}function Vw(e,i,s){e=Ee(e),i=ge(i);var u=i?hr(e):0;return i&&u<i?Ca(i-u,s)+e:e}function zw(e,i,s){return s||i==null?i=0:i&&(i=+i),Hb(Ee(e).replace(Ns,""),i||0)}function Uw(e,i,s){return(s?ut(e,i,s):i===n)?i=1:i=ge(i),co(Ee(e),i)}function Gw(){var e=arguments,i=Ee(e[0]);return e.length<3?i:i.replace(e[1],e[2])}var Kw=_r(function(e,i,s){return e+(s?"_":"")+i.toLowerCase()});function Zw(e,i,s){return s&&typeof s!="number"&&ut(e,i,s)&&(i=s=n),s=s===n?Re:s>>>0,s?(e=Ee(e),e&&(typeof i=="string"||i!=null&&!Fo(i))&&(i=kt(i),!i&&gr(e))?Bn(Wt(e),0,s):e.split(i,s)):[]}var Ww=_r(function(e,i,s){return e+(s?" ":"")+Po(i)});function $w(e,i,s){return e=Ee(e),s=s==null?0:qn(ge(s),0,e.length),i=kt(i),e.slice(s,s+i.length)==i}function Hw(e,i,s){var u=g.templateSettings;s&&ut(e,i,s)&&(i=n),e=Ee(e),i=za({},i,u,qc);var d=za({},i.imports,u.imports,qc),h=Ye(d),v=Hs(d,h),y,x,O=0,C=i.interpolate||Xi,I="__p += '",L=js((i.escape||Xi).source+"|"+C.source+"|"+(C===mu?Am:Xi).source+"|"+(i.evaluate||Xi).source+"|$","g"),G="//# sourceURL="+(Ae.call(i,"sourceURL")?(i.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++nb+"]")+`
|
|
23
|
+
`;e.replace(L,function(X,be,ye,At,ct,Ot){return ye||(ye=At),I+=e.slice(O,Ot).replace(Lm,xb),be&&(y=!0,I+=`' +
|
|
24
|
+
__e(`+be+`) +
|
|
25
|
+
'`),ct&&(x=!0,I+=`';
|
|
26
|
+
`+ct+`;
|
|
27
|
+
__p += '`),ye&&(I+=`' +
|
|
28
|
+
((__t = (`+ye+`)) == null ? '' : __t) +
|
|
29
|
+
'`),O=Ot+X.length,X}),I+=`';
|
|
30
|
+
`;var Q=Ae.call(i,"variable")&&i.variable;if(!Q)I=`with (obj) {
|
|
31
|
+
`+I+`
|
|
32
32
|
}
|
|
33
|
-
`;else if(
|
|
34
|
-
`+(
|
|
35
|
-
`)+"var __t, __p = ''"+(
|
|
33
|
+
`;else if(km.test(Q))throw new ae(p);I=(x?I.replace(lm,""):I).replace(um,"$1").replace(cm,"$1;"),I="function("+(Q||"obj")+`) {
|
|
34
|
+
`+(Q?"":`obj || (obj = {});
|
|
35
|
+
`)+"var __t, __p = ''"+(y?", __e = _.escape":"")+(x?`, __j = Array.prototype.join;
|
|
36
36
|
function print() { __p += __j.call(arguments, '') }
|
|
37
37
|
`:`;
|
|
38
|
-
`)+
|
|
39
|
-
}`;var Mt=Vg(function(){return Dt(O,Xe+"return "+be).apply(n,z)});if(Mt.source=be,Qf(Mt))throw Mt;return Mt}function p1(t){return an(t).toLowerCase()}function h1(t){return an(t).toUpperCase()}function g1(t,i,u){if(t=an(t),t&&(u||i===n))return ke(t);if(!t||!(i=yr(i)))return t;var m=Ar(t),C=Ar(i),O=Qt(m,C),z=Xn(m,C)+1;return pi(m,O,z).join("")}function m1(t,i,u){if(t=an(t),t&&(u||i===n))return t.slice(0,jl(t)+1);if(!t||!(i=yr(i)))return t;var m=Ar(t),C=Xn(m,Ar(i))+1;return pi(m,0,C).join("")}function v1(t,i,u){if(t=an(t),t&&(u||i===n))return t.replace(rn,"");if(!t||!(i=yr(i)))return t;var m=Ar(t),C=Qt(m,Ar(i));return pi(m,C).join("")}function b1(t,i){var u=Ft,m=ye;if(An(i)){var C="separator"in i?i.separator:C;u="length"in i?Rt(i.length):u,m="omission"in i?yr(i.omission):m}t=an(t);var O=t.length;if(Eo(t)){var z=Ar(t);O=z.length}if(u>=O)return t;var $=u-To(m);if($<1)return m;var J=z?pi(z,0,$).join(""):t.slice(0,$);if(C===n)return J+m;if(z&&($+=J.length-$),Xf(C)){if(t.slice($).search(C)){var ce,fe=J;for(C.global||(C=ba(C.source,an(_t.exec(C))+"g")),C.lastIndex=0;ce=C.exec(fe);)var be=ce.index;J=J.slice(0,be===n?$:be)}}else if(t.indexOf(yr(C),$)!=$){var Le=J.lastIndexOf(C);Le>-1&&(J=J.slice(0,Le))}return J+m}function y1(t){return t=an(t),t&&hr.test(t)?t.replace(Pn,Mu):t}var w1=N(function(t,i,u){return t+(u?" ":"")+i.toUpperCase()}),tp=M("toUpperCase");function Ug(t,i,u){return t=an(t),i=u?n:i,i===n?Ec(t)?Ic(t):So(t):t.match(i)||[]}var Vg=bt(function(t,i){try{return Cn(t,n,i)}catch(u){return Qf(u)?u:new st(u)}}),x1=Is(function(t,i){return Hn(i,function(u){u=$o(u),Gn(t,u,Kf(t[u],t))}),t});function S1(t){var i=t==null?0:t.length,u=lt();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 k1(t){return ql(lr(t,F))}function np(t){return function(){return t}}function _1(t,i){return t==null||t!==t?i:t}var E1=d(),C1=d(!0);function Mi(t){return t}function rp(t){return zo(typeof t=="function"?t:lr(t,F))}function T1(t){return na(lr(t,F))}function R1(t,i){return fi(t,lr(i,F))}var I1=bt(function(t,i){return function(u){return Hr(u,t,i)}}),A1=bt(function(t,i){return function(u){return Hr(t,u,i)}});function ip(t,i,u){var m=xr(i),C=hl(i,m);u==null&&!(An(i)&&(C.length||!m.length))&&(u=i,i=t,t=this,C=hl(i,xr(i)));var O=!(An(u)&&"chain"in u)||!!u.chain,z=Os(t);return Hn(C,function($){var J=i[$];t[$]=J,z&&(t.prototype[$]=function(){var ce=this.__chain__;if(O||ce){var fe=t(this.__wrapped__),be=fe.__actions__=Yn(this.__actions__);return be.push({func:J,args:arguments,thisArg:t}),fe.__chain__=ce,fe}return J.apply(t,Tr([this.value()],arguments))})}),t}function O1(){return En._===this&&(En._=dn),this}function ap(){}function M1(t){return t=Rt(t),bt(function(i){return io(i,t)})}var F1=L(qt),P1=L(xo),D1=L(ma);function Wg(t){return Wf(t)?h($o(t)):uu(t)}function L1(t){return function(i){return t==null?n:to(t,i)}}var B1=pe(),N1=pe(!0);function op(){return[]}function sp(){return!1}function j1(){return{}}function z1(){return""}function U1(){return!0}function V1(t,i){if(t=Rt(t),t<1||t>ze)return[];var u=ue,m=vn(t,ue);i=lt(i),t-=ue;for(var C=Q(m,i);++u<t;)i(u);return C}function W1(t){return Et(t)?qt(t,$o):aa(t)?[t]:Yn(ug(an(t)))}function H1(t){var i=++Pu;return an(t)+i}var $1=T(function(t,i){return t+i},0),G1=at("ceil"),Z1=T(function(t,i){return t/i},1),Y1=at("floor");function K1(t){return t&&t.length?pl(t,Mi,ps):n}function J1(t,i){return t&&t.length?pl(t,lt(i,2),ps):n}function Q1(t){return ts(t,Mi)}function X1(t,i){return ts(t,lt(i,2))}function q1(t){return t&&t.length?pl(t,Mi,di):n}function ek(t,i){return t&&t.length?pl(t,lt(i,2),di):n}var tk=T(function(t,i){return t*i},1),nk=at("round"),rk=T(function(t,i){return t-i},0);function ik(t){return t&&t.length?q(t,Mi):0}function ak(t,i){return t&&t.length?q(t,lt(i,2)):0}return I.after=Tx,I.ary=wg,I.assign=hS,I.assignIn=Pg,I.assignInWith=zd,I.assignWith=gS,I.at=mS,I.before=xg,I.bind=Kf,I.bindAll=x1,I.bindKey=Sg,I.castArray=jx,I.chain=vg,I.chunk=Y0,I.compact=K0,I.concat=J0,I.cond=S1,I.conforms=k1,I.constant=np,I.countBy=ix,I.create=vS,I.curry=kg,I.curryRight=_g,I.debounce=Eg,I.defaults=bS,I.defaultsDeep=yS,I.defer=Rx,I.delay=Ix,I.difference=Q0,I.differenceBy=X0,I.differenceWith=q0,I.drop=ew,I.dropRight=tw,I.dropRightWhile=nw,I.dropWhile=rw,I.fill=iw,I.filter=ox,I.flatMap=ux,I.flatMapDeep=cx,I.flatMapDepth=dx,I.flatten=pg,I.flattenDeep=aw,I.flattenDepth=ow,I.flip=Ax,I.flow=E1,I.flowRight=C1,I.fromPairs=sw,I.functions=CS,I.functionsIn=TS,I.groupBy=fx,I.initial=uw,I.intersection=cw,I.intersectionBy=dw,I.intersectionWith=fw,I.invert=IS,I.invertBy=AS,I.invokeMap=hx,I.iteratee=rp,I.keyBy=gx,I.keys=xr,I.keysIn=Oi,I.map=Pd,I.mapKeys=MS,I.mapValues=FS,I.matches=T1,I.matchesProperty=R1,I.memoize=Ld,I.merge=PS,I.mergeWith=Dg,I.method=I1,I.methodOf=A1,I.mixin=ip,I.negate=Bd,I.nthArg=M1,I.omit=DS,I.omitBy=LS,I.once=Ox,I.orderBy=mx,I.over=F1,I.overArgs=Mx,I.overEvery=P1,I.overSome=D1,I.partial=Jf,I.partialRight=Cg,I.partition=vx,I.pick=BS,I.pickBy=Lg,I.property=Wg,I.propertyOf=L1,I.pull=mw,I.pullAll=gg,I.pullAllBy=vw,I.pullAllWith=bw,I.pullAt=yw,I.range=B1,I.rangeRight=N1,I.rearg=Fx,I.reject=wx,I.remove=ww,I.rest=Px,I.reverse=Zf,I.sampleSize=Sx,I.set=jS,I.setWith=zS,I.shuffle=kx,I.slice=xw,I.sortBy=Cx,I.sortedUniq=Rw,I.sortedUniqBy=Iw,I.split=u1,I.spread=Dx,I.tail=Aw,I.take=Ow,I.takeRight=Mw,I.takeRightWhile=Fw,I.takeWhile=Pw,I.tap=Kw,I.throttle=Lx,I.thru=Fd,I.toArray=Og,I.toPairs=Bg,I.toPairsIn=Ng,I.toPath=W1,I.toPlainObject=Fg,I.transform=US,I.unary=Bx,I.union=Dw,I.unionBy=Lw,I.unionWith=Bw,I.uniq=Nw,I.uniqBy=jw,I.uniqWith=zw,I.unset=VS,I.unzip=Yf,I.unzipWith=mg,I.update=WS,I.updateWith=HS,I.values=tc,I.valuesIn=$S,I.without=Uw,I.words=Ug,I.wrap=Nx,I.xor=Vw,I.xorBy=Ww,I.xorWith=Hw,I.zip=$w,I.zipObject=Gw,I.zipObjectDeep=Zw,I.zipWith=Yw,I.entries=Bg,I.entriesIn=Ng,I.extend=Pg,I.extendWith=zd,ip(I,I),I.add=$1,I.attempt=Vg,I.camelCase=KS,I.capitalize=jg,I.ceil=G1,I.clamp=GS,I.clone=zx,I.cloneDeep=Vx,I.cloneDeepWith=Wx,I.cloneWith=Ux,I.conformsTo=Hx,I.deburr=zg,I.defaultTo=_1,I.divide=Z1,I.endsWith=JS,I.eq=so,I.escape=QS,I.escapeRegExp=XS,I.every=ax,I.find=sx,I.findIndex=dg,I.findKey=wS,I.findLast=lx,I.findLastIndex=fg,I.findLastKey=xS,I.floor=Y1,I.forEach=bg,I.forEachRight=yg,I.forIn=SS,I.forInRight=kS,I.forOwn=_S,I.forOwnRight=ES,I.get=qf,I.gt=$x,I.gte=Gx,I.has=RS,I.hasIn=ep,I.head=hg,I.identity=Mi,I.includes=px,I.indexOf=lw,I.inRange=ZS,I.invoke=OS,I.isArguments=xu,I.isArray=Et,I.isArrayBuffer=Zx,I.isArrayLike=Ai,I.isArrayLikeObject=Kn,I.isBoolean=Yx,I.isBuffer=Cl,I.isDate=Kx,I.isElement=Jx,I.isEmpty=Qx,I.isEqual=Xx,I.isEqualWith=qx,I.isError=Qf,I.isFinite=eS,I.isFunction=Os,I.isInteger=Tg,I.isLength=Nd,I.isMap=Rg,I.isMatch=tS,I.isMatchWith=nS,I.isNaN=rS,I.isNative=iS,I.isNil=oS,I.isNull=aS,I.isNumber=Ig,I.isObject=An,I.isObjectLike=jn,I.isPlainObject=Vc,I.isRegExp=Xf,I.isSafeInteger=sS,I.isSet=Ag,I.isString=jd,I.isSymbol=aa,I.isTypedArray=ec,I.isUndefined=lS,I.isWeakMap=uS,I.isWeakSet=cS,I.join=pw,I.kebabCase=qS,I.last=Ia,I.lastIndexOf=hw,I.lowerCase=e1,I.lowerFirst=t1,I.lt=dS,I.lte=fS,I.max=K1,I.maxBy=J1,I.mean=Q1,I.meanBy=X1,I.min=q1,I.minBy=ek,I.stubArray=op,I.stubFalse=sp,I.stubObject=j1,I.stubString=z1,I.stubTrue=U1,I.multiply=tk,I.nth=gw,I.noConflict=O1,I.noop=ap,I.now=Dd,I.pad=n1,I.padEnd=r1,I.padStart=i1,I.parseInt=a1,I.random=YS,I.reduce=bx,I.reduceRight=yx,I.repeat=o1,I.replace=s1,I.result=NS,I.round=nk,I.runInContext=Z,I.sample=xx,I.size=_x,I.snakeCase=l1,I.some=Ex,I.sortedIndex=Sw,I.sortedIndexBy=kw,I.sortedIndexOf=_w,I.sortedLastIndex=Ew,I.sortedLastIndexBy=Cw,I.sortedLastIndexOf=Tw,I.startCase=c1,I.startsWith=d1,I.subtract=rk,I.sum=ik,I.sumBy=ak,I.template=f1,I.times=V1,I.toFinite=Ms,I.toInteger=Rt,I.toLength=Mg,I.toLower=p1,I.toNumber=Aa,I.toSafeInteger=pS,I.toString=an,I.toUpper=h1,I.trim=g1,I.trimEnd=m1,I.trimStart=v1,I.truncate=b1,I.unescape=y1,I.uniqueId=H1,I.upperCase=w1,I.upperFirst=tp,I.each=bg,I.eachRight=yg,I.first=hg,ip(I,function(){var t={};return Ti(I,function(i,u){$t.call(I.prototype,u)||(t[u]=i)}),t}(),{chain:!1}),I.VERSION=a,Hn(["bind","bindKey","curry","curryRight","partial","partialRight"],function(t){I[t].placeholder=I}),Hn(["drop","take"],function(t,i){St.prototype[t]=function(u){u=u===n?1:mn(Rt(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,ue),type:t+(m.__dir__<0?"Right":"")}),m},St.prototype[t+"Right"]=function(u){return this.reverse()[t](u).reverse()}}),Hn(["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:lt(C,3),type:u}),O.__filtered__=O.__filtered__||m,O}}),Hn(["head","last"],function(t,i){var u="take"+(i?"Right":"");St.prototype[t]=function(){return this[u](1).value()[0]}}),Hn(["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=bt(function(t,i){return typeof t=="function"?new St(this):this.map(function(u){return Hr(u,t,i)})}),St.prototype.reject=function(t){return this.filter(Bd(lt(t)))},St.prototype.slice=function(t,i){t=Rt(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=Rt(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),m=/^(?:head|last)$/.test(i),C=I[m?"take"+(i=="last"?"Right":""):i],O=m||/^find/.test(i);C&&(I.prototype[i]=function(){var z=this.__wrapped__,$=m?[1]:arguments,J=z instanceof St,ce=$[0],fe=J||Et(z),be=function(jt){var Wt=C.apply(I,Tr([jt],$));return m&&Le?Wt[0]:Wt};fe&&u&&typeof ce=="function"&&ce.length!=1&&(J=fe=!1);var Le=this.__chain__,Xe=!!this.__actions__.length,ut=O&&!Le,Mt=J&&!Xe;if(!O&&fe){z=Mt?z:new St(this);var ct=t.apply(z,$);return ct.__actions__.push({func:Fd,args:[be],thisArg:n}),new sr(ct,Le)}return ut&&Mt?t.apply(this,$):(ct=this.thru(be),ut?m?ct.value()[0]:ct.value():ct)})}),Hn(["pop","push","shift","sort","splice","unshift"],function(t){var i=$a[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(z){return i.apply(Et(z)?z:[],C)})}}),Ti(St.prototype,function(t,i){var u=I[i];if(u){var m=u.name+"";$t.call(ka,m)||(ka[m]=[]),ka[m].push({name:i,func:u})}}),ka[g(n,G).name]=[{name:"wrapper",func:n}],St.prototype.clone=il,St.prototype.reverse=Do,St.prototype.value=ds,I.prototype.at=Jw,I.prototype.chain=Qw,I.prototype.commit=Xw,I.prototype.next=qw,I.prototype.plant=tx,I.prototype.reverse=nx,I.prototype.toJSON=I.prototype.valueOf=I.prototype.value=rx,I.prototype.first=I.prototype.head,Ki&&(I.prototype[Ki]=ex),I},Bn=Fu();Gi?((Gi.exports=Bn)._=Bn,bo._=Bn):En._=Bn}).call(er)}(sd,sd.exports);var Da=sd.exports;const vi=Symbol.for("@ts-pattern/matcher"),Bp=Symbol.for("@ts-pattern/isVariadic"),ld="@ts-pattern/anonymous-select-key",qd=r=>!!(r&&typeof r=="object"),ud=r=>r&&!!r[vi],Sr=(r,e,n)=>{if(ud(r)){const a=r[vi](),{matched:o,selections:c}=a.match(e);return o&&c&&Object.keys(c).forEach(v=>n(v,c[v])),o}if(qd(r)){if(!qd(e))return!1;if(Array.isArray(r)){if(!Array.isArray(e))return!1;let a=[],o=[],c=[];for(const v of r.keys()){const x=r[v];ud(x)&&x[Bp]?c.push(x):c.length?o.push(x):a.push(x)}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 v=e.slice(0,a.length),x=o.length===0?[]:e.slice(-o.length),y=e.slice(a.length,o.length===0?1/0:-o.length);return a.every((E,B)=>Sr(E,v[B],n))&&o.every((E,B)=>Sr(E,x[B],n))&&(c.length===0||Sr(c[0],y,n))}return r.length===e.length&&r.every((v,x)=>Sr(v,e[x],n))}return Reflect.ownKeys(r).every(a=>{const o=r[a];return(a in e||ud(c=o)&&c[vi]().matcherType==="optional")&&Sr(o,e[a],n);var c})}return Object.is(e,r)},Fi=r=>{var e,n,a;return qd(r)?ud(r)?(e=(n=(a=r[vi]()).getSelectionKeys)==null?void 0:n.call(a))!=null?e:[]:Array.isArray(r)?bc(r,Fi):bc(Object.values(r),Fi):[]},bc=(r,e)=>r.reduce((n,a)=>n.concat(e(a)),[]);function Dv(...r){if(r.length===1){const[e]=r;return n=>Sr(e,n,()=>{})}if(r.length===2){const[e,n]=r;return Sr(e,n,()=>{})}throw new Error(`isMatching wasn't given the right number of arguments: expected 1 or 2, received ${r.length}.`)}function kr(r){return Object.assign(r,{optional:()=>tf(r),and:e=>bn(r,e),or:e=>Np(r,e),select:e=>e===void 0?yc(r):yc(e,r)})}function ef(r){return Object.assign((e=>Object.assign(e,{[Symbol.iterator](){let n=0;const a=[{value:Object.assign(e,{[Bp]:!0}),done:!1},{done:!0,value:void 0}];return{next:()=>{var o;return(o=a[n++])!=null?o:a.at(-1)}}}}))(r),{optional:()=>ef(tf(r)),select:e=>ef(e===void 0?yc(r):yc(e,r))})}function tf(r){return kr({[vi]:()=>({match:e=>{let n={};const a=(o,c)=>{n[o]=c};return e===void 0?(Fi(r).forEach(o=>a(o,void 0)),{matched:!0,selections:n}):{matched:Sr(r,e,a),selections:n}},getSelectionKeys:()=>Fi(r),matcherType:"optional"})})}const Lv=(r,e)=>{for(const n of r)if(!e(n))return!1;return!0},Bv=(r,e)=>{for(const[n,a]of r.entries())if(!e(a,n))return!1;return!0};function bn(...r){return kr({[vi]:()=>({match:e=>{let n={};const a=(o,c)=>{n[o]=c};return{matched:r.every(o=>Sr(o,e,a)),selections:n}},getSelectionKeys:()=>bc(r,Fi),matcherType:"and"})})}function Np(...r){return kr({[vi]:()=>({match:e=>{let n={};const a=(o,c)=>{n[o]=c};return bc(r,Fi).forEach(o=>a(o,void 0)),{matched:r.some(o=>Sr(o,e,a)),selections:n}},getSelectionKeys:()=>bc(r,Fi),matcherType:"or"})})}function Ht(r){return{[vi]:()=>({match:e=>({matched:!!r(e)})})}}function yc(...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 kr({[vi]:()=>({match:a=>{let o={[e??ld]:a};return{matched:n===void 0||Sr(n,a,(c,v)=>{o[c]=v}),selections:o}},getSelectionKeys:()=>[e??ld].concat(n===void 0?[]:Fi(n))})})}function po(r){return typeof r=="number"}function js(r){return typeof r=="string"}function zs(r){return typeof r=="bigint"}const jp=kr(Ht(function(r){return!0})),Nv=jp,Us=r=>Object.assign(kr(r),{startsWith:e=>{return Us(bn(r,(n=e,Ht(a=>js(a)&&a.startsWith(n)))));var n},endsWith:e=>{return Us(bn(r,(n=e,Ht(a=>js(a)&&a.endsWith(n)))));var n},minLength:e=>Us(bn(r,(n=>Ht(a=>js(a)&&a.length>=n))(e))),length:e=>Us(bn(r,(n=>Ht(a=>js(a)&&a.length===n))(e))),maxLength:e=>Us(bn(r,(n=>Ht(a=>js(a)&&a.length<=n))(e))),includes:e=>{return Us(bn(r,(n=e,Ht(a=>js(a)&&a.includes(n)))));var n},regex:e=>{return Us(bn(r,(n=e,Ht(a=>js(a)&&!!a.match(n)))));var n}}),jv=Us(Ht(js)),ho=r=>Object.assign(kr(r),{between:(e,n)=>ho(bn(r,((a,o)=>Ht(c=>po(c)&&a<=c&&o>=c))(e,n))),lt:e=>ho(bn(r,(n=>Ht(a=>po(a)&&a<n))(e))),gt:e=>ho(bn(r,(n=>Ht(a=>po(a)&&a>n))(e))),lte:e=>ho(bn(r,(n=>Ht(a=>po(a)&&a<=n))(e))),gte:e=>ho(bn(r,(n=>Ht(a=>po(a)&&a>=n))(e))),int:()=>ho(bn(r,Ht(e=>po(e)&&Number.isInteger(e)))),finite:()=>ho(bn(r,Ht(e=>po(e)&&Number.isFinite(e)))),positive:()=>ho(bn(r,Ht(e=>po(e)&&e>0))),negative:()=>ho(bn(r,Ht(e=>po(e)&&e<0)))}),zv=ho(Ht(po)),Vs=r=>Object.assign(kr(r),{between:(e,n)=>Vs(bn(r,((a,o)=>Ht(c=>zs(c)&&a<=c&&o>=c))(e,n))),lt:e=>Vs(bn(r,(n=>Ht(a=>zs(a)&&a<n))(e))),gt:e=>Vs(bn(r,(n=>Ht(a=>zs(a)&&a>n))(e))),lte:e=>Vs(bn(r,(n=>Ht(a=>zs(a)&&a<=n))(e))),gte:e=>Vs(bn(r,(n=>Ht(a=>zs(a)&&a>=n))(e))),positive:()=>Vs(bn(r,Ht(e=>zs(e)&&e>0))),negative:()=>Vs(bn(r,Ht(e=>zs(e)&&e<0)))}),Uv=Vs(Ht(zs)),Vv=kr(Ht(function(r){return typeof r=="boolean"})),Wv=kr(Ht(function(r){return typeof r=="symbol"})),Hv=kr(Ht(function(r){return r==null})),$v=kr(Ht(function(r){return r!=null}));var cd={__proto__:null,matcher:vi,optional:tf,array:function(...r){return ef({[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 Fi(n).forEach(c=>{a[c]=[]}),{matched:!0,selections:a};const o=(c,v)=>{a[c]=(a[c]||[]).concat([v])};return{matched:e.every(c=>Sr(n,c,o)),selections:a}},getSelectionKeys:()=>r.length===0?[]:Fi(r[0])})})},set:function(...r){return kr({[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,v)=>{n[c]=(n[c]||[]).concat([v])},o=r[0];return{matched:Lv(e,c=>Sr(o,c,a)),selections:n}},getSelectionKeys:()=>r.length===0?[]:Fi(r[0])})})},map:function(...r){return kr({[vi]:()=>({match:e=>{if(!(e instanceof Map))return{matched:!1};let n={};if(e.size===0)return{matched:!0,selections:n};const a=(x,y)=>{n[x]=(n[x]||[]).concat([y])};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,v]=r;return{matched:Bv(e,(x,y)=>{const E=Sr(c,y,a),B=Sr(v,x,a);return E&&B}),selections:n}},getSelectionKeys:()=>r.length===0?[]:[...Fi(r[0]),...Fi(r[1])]})})},intersection:bn,union:Np,not:function(r){return kr({[vi]:()=>({match:e=>({matched:!Sr(r,e,()=>{})}),getSelectionKeys:()=>[],matcherType:"not"})})},when:Ht,select:yc,any:jp,_:Nv,string:jv,number:zv,bigint:Uv,boolean:Vv,symbol:Wv,nullish:Hv,nonNullable:$v,instanceOf:function(r){return kr(Ht(function(e){return n=>n instanceof e}(r)))},shape:function(r){return kr(Ht(Dv(r)))}};class Gv 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 nf={matched:!1,value:void 0};function wc(r){return new dd(r,nf)}class dd{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,v={};const x=(E,B)=>{c=!0,v[E]=B},y=!a.some(E=>Sr(E,this.input,x))||o&&!o(this.input)?nf:{matched:!0,value:n(c?ld in v?v[ld]:v:this.input,this.input)};return new dd(this.input,y)}when(e,n){if(this.state.matched)return this;const a=!!e(this.input);return new dd(this.input,a?{matched:!0,value:n(this.input,this.input)}:nf)}otherwise(e){return this.state.matched?this.state.value:e(this.input)}exhaustive(){if(this.state.matched)return this.state.value;throw new Gv(this.input)}run(){return this.exhaustive()}returnType(){return this}}const Df=class{constructor(e,n){Tt(this,"sexpVariables");Tt(this,"questionKeyToCalculationKeys");Tt(this,"response");Tt(this,"results",{});Tt(this,"calculateNumber",e=>wc(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());Tt(this,"calculateBoolean",e=>{if(!Qd.options.includes(e.op))throw new Error(`Unknown boolean operation: ${e.op}`);return wc(e).with({op:cd.union(...Jd.options)},this.compare).with({op:cd.union(...Kd.options)},this.booleanReduce).exhaustive()});Tt(this,"compare",e=>{const n=this.calculateNumber(e.left),a=this.calculateNumber(e.right);return n===null||a===null?null:wc(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()});Tt(this,"booleanReduce",e=>{const n=e.values.map(this.calculateBoolean);return n.some(a=>a===null)?null:wc(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=Zv(e),this.response=n}getResult(e){return this.results[e]===void 0&&(this.results[e]=this.calculate(this.sexpVariables[e].calculation)),this.results[e]??null}handleValueChanged(e){var n;(n=this.questionKeyToCalculationKeys[e])==null||n.forEach(a=>{delete this.results[a]})}calculate(e){return wc(e).with({op:"string_value"},({key:n})=>this.stringValue(n)).with({op:cd.union("number","number_value","sum","subtract","multiply","divide","round")},this.calculateNumber).with({op:cd.union(...Qd.options)},this.calculateBoolean).exhaustive()}stringValue(e){const n=this.response.cleanValue(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 fd=Df;Tt(fd,"numberReducers",{sum:(e,n)=>e+n,multiply:(e,n)=>e*n,subtract:(e,n)=>e-n,divide:(e,n)=>e/n});function Zv(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 Yv(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 zp=["requires_answer","minimum_checked_required","answer_group_minimum"];function Up(r){switch(r.type){case"requires_answer":return new Vp(r);case"valid_integer":return new $p(r);case"valid_float":return new Gp(r);case"valid_date":return new Hp(r);case"minimum":return new Zp(r);case"maximum":return new Yp(r);case"minimum_date":return new Kp(r);case"maximum_date":return new Jp(r);case"minimum_checked_required":return new Qp(r);case"maximum_checked_allowed":return new Xp(r);case"answer_group_minimum":return new qp(r);case"answer_group_maximum":return new eh(r);case"regexp":return new th(r)}}class bi{constructor(e){Tt(this,"config");this.config=e}}class Vp 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 hd(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 pd(r){return r===void 0||r===null||r===""?!1:typeof r=="string"}function Wp(r){return r===void 0||r===null?!1:typeof r=="number"}function hd(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(pd(n))return!0}return!1}const Kv=/(\s*-?[1-9][0-9]+\s*|\s*-?[0-9]\s*)/;class Hp extends bi{validate(e){const n=e.getValidationFieldState(this.config.fieldKey);if(!hd(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=rf(n.value);(!a||!Yv(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 rf(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 $p extends bi{validate(e){const n=e.getValidationFieldState(this.config.fieldKey);if(!pd(n.value))return;const a=Kv.exec(n.value);(a===null||a[0]!==n.value)&&n.addError({type:this.config.type,message:{t:"valid_integer"}})}}class Gp extends bi{validate(e){const n=e.getValidationFieldState(this.config.fieldKey);if(!pd(n.value))return;const a=parseFloat(n.value);!isNaN(a)&&isFinite(a)||n.addError({type:this.config.type,message:{t:"valid_float"}})}}class Zp extends bi{validate(e){const n=e.getValidationFieldState(this.config.fieldKey);Wp(n.value)&&parseFloat(n.value)<this.config.value&&n.addError({type:this.config.type,message:this.config.explanation||{t:"minimum",value:this.config.value.toString()}})}}class Yp extends bi{validate(e){const n=e.getValidationFieldState(this.config.fieldKey);Wp(n.value)&&parseFloat(n.value)>this.config.value&&n.addError({type:this.config.type,message:this.config.explanation||{t:"maximum",value:this.config.value.toString()}})}}class Kp extends bi{validate(e){const n=e.getValidationFieldState(this.config.fieldKey);if(!hd(n.value))return;const a=rf(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 Jp extends bi{validate(e){const n=e.getValidationFieldState(this.config.fieldKey);if(!hd(n.value))return;const a=rf(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 Xp 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 qp 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 eh 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 th extends bi{validate(e){const n=e.getValidationFieldState(this.config.fieldKey);if(!pd(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 nh=On.coerce.number(),rh=On.coerce.string(),ih=On.preprocess(r=>r instanceof Array?new Set(r):r,On.set(On.string())),ah=On.preprocess(r=>!(r instanceof Map)&&r instanceof Object?new Map(Object.entries(r)):r,On.map(Dp,On.string())),oh=On.record(On.boolean()),sh=On.preprocess(r=>!(r instanceof Map)&&r instanceof Object?new Map(Object.entries(r)):r,On.map(On.string(),On.string()));class af{constructor(e,n){Tt(this,"questionnaire");Tt(this,"values");Tt(this,"originalValues");Tt(this,"beenActives");Tt(this,"errors");Tt(this,"visibility");Tt(this,"changeHandlers");Tt(this,"flags");Tt(this,"textvars");Tt(this,"activeQuestionKey");Tt(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.calculations=new fd(e.sexpVariables,this),this.validate(),this.calculateVisibility()}cleanValue(e){if(!(this.values[e]===void 0||!this.isVisible(e)&&!this.isDisabled(e)))return this.values[e]}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.cleanValue(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.calculations.handleValueChanged(e),this.calculateVisibility(),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=lh(this.values[e]),a=lh(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=Up(e);n&&n.validate(this)})}validEnoughForForcedSave(){for(const e of this.errors.values())if(!e.every(n=>zp.includes(n.type)))return!1;return!0}calculateVisibility(){const e=Object.keys(this.calculations.questionKeyToCalculationKeys).reduce((a,o)=>(a[o]=this.isVisible(o),a),{});this.visibility=new Map;let n=null;this.questionnaire.visibilityRules.forEach(a=>{n??(n=a.questionKey),a.questionKey!==n&&(e[n]&&e[n]!==this.isVisible(n)&&this.calculations.handleValueChanged(n),n=a.questionKey),a.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){const n=this.cleanValue(e);switch(this.questionnaire.getField(e).type){case"integer":case"float":return n;case"select":case"radio":case"scale":return n?this.questionnaire.getOptionNumberValue(e,n):null}return null}}function lh(r){return r===""||r==null||r instanceof Set&&r.size===0||r instanceof Map&&r.size===0?null:r}const uh=new Xd({key:"test",title:"test",language:"nl",panels:[],questions:{},visibilityRules:[],textvars:{},validations:[]}),Jv=new af(uh,{value:{},flags:{},textvars:new Map}),Qv={displayMode:"paged",darkMode:!1,newLayout:!0},Xv=(r,e)=>null,gd=Ee.createContext({questionnaire:uh,response:Jv,setQuestionRef:Xv,displayOptions:Qv});class of extends Error{}const ch=(r,e)=>{let n=r.value;return Da.isEmpty(n)&&!Da.isEmpty(e.defaultAnswerValue)&&(n=e.defaultAnswerValue),{flags:oh.parse(r.flags),textvars:sh.parse(r.textvars),value:qv(n,e)}},qv=(r,e)=>{const n=On.record(On.string(),On.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]=nh.parse(c);break;case"string":case"textarea":a[o.key]=rh.parse(c);break;case"select":case"scale":case"radio":a[o.key]=eb(c,o,e);break;case"check_box":a[o.key]=tb(c,o);break;case"date_parts":a[o.key]=ah.parse(c);break}return a},{})},eb=(r,e,n)=>{const a=On.string().parse(r);if(!n.getFlatOptions(e.key).some(c=>c.key===a))throw new of(`wrong option key ${a} present for ${e.key}`);return a},tb=(r,e)=>{const n=ih.parse(r);return n.forEach(a=>{if(!e.children.some(o=>o.key===a))throw new of(`wrong option key ${a} present for ${e.key}`)}),n},dh=/\{\{((?<type>[a-z_]+)\.(?<textvar>[a-z0-9]+)|(?<textvaronly>[a-z0-9_]+))\}\}/g;class fh{constructor(e,n){Tt(this,"response");Tt(this,"questionnaire");Tt(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(dh)).map(n=>n.groups.textvar)),this.stringToVariables.get(e).length==0?e:e.replace(dh,(...n)=>{var x;const{type:a,textvar:o,textvaronly:c}=n[n.length-1],v=a==="calculation"?(x=this.response.calculations.getResult(o))==null?void 0:x.toString():this.response.textvars.get(`${this.questionnaire.key}_${o||c}`);return Da.escape(v||"")})}}var sf={exports:{}},xc={};/**
|
|
40
|
-
* @license React
|
|
41
|
-
* react-jsx-runtime.production.min.js
|
|
42
|
-
*
|
|
43
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
44
|
-
*
|
|
45
|
-
* This source code is licensed under the MIT license found in the
|
|
46
|
-
* LICENSE file in the root directory of this source tree.
|
|
47
|
-
*/var ph;function nb(){if(ph)return xc;ph=1;var r=Ee,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 v(x,y,E){var B,F={},V=null,ge=null;E!==void 0&&(V=""+E),y.key!==void 0&&(V=""+y.key),y.ref!==void 0&&(ge=y.ref);for(B in y)a.call(y,B)&&!c.hasOwnProperty(B)&&(F[B]=y[B]);if(x&&x.defaultProps)for(B in y=x.defaultProps,y)F[B]===void 0&&(F[B]=y[B]);return{$$typeof:e,type:x,key:V,ref:ge,props:F,_owner:o.current}}return xc.Fragment=n,xc.jsx=v,xc.jsxs=v,xc}var Sc={};/**
|
|
48
|
-
* @license React
|
|
49
|
-
* react-jsx-runtime.development.js
|
|
50
|
-
*
|
|
51
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
52
|
-
*
|
|
53
|
-
* This source code is licensed under the MIT license found in the
|
|
54
|
-
* LICENSE file in the root directory of this source tree.
|
|
55
|
-
*/var hh;function rb(){return hh||(hh=1,process.env.NODE_ENV!=="production"&&function(){var r=Ee,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"),v=Symbol.for("react.provider"),x=Symbol.for("react.context"),y=Symbol.for("react.forward_ref"),E=Symbol.for("react.suspense"),B=Symbol.for("react.suspense_list"),F=Symbol.for("react.memo"),V=Symbol.for("react.lazy"),ge=Symbol.for("react.offscreen"),ae=Symbol.iterator,we="@@iterator";function Y(U){if(U===null||typeof U!="object")return null;var ve=ae&&U[ae]||U[we];return typeof ve=="function"?ve:null}var G=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function de(U){{for(var ve=arguments.length,Re=new Array(ve>1?ve-1:0),nt=1;nt<ve;nt++)Re[nt-1]=arguments[nt];he("error",U,Re)}}function he(U,ve,Re){{var nt=G.ReactDebugCurrentFrame,vt=nt.getStackAddendum();vt!==""&&(ve+="%s",Re=Re.concat([vt]));var _t=Re.map(function(wt){return String(wt)});_t.unshift("Warning: "+ve),Function.prototype.apply.call(console[U],console,_t)}}var me=!1,ee=!1,Te=!1,Ie=!1,Lt=!1,ft;ft=Symbol.for("react.module.reference");function Ft(U){return!!(typeof U=="string"||typeof U=="function"||U===a||U===c||Lt||U===o||U===E||U===B||Ie||U===ge||me||ee||Te||typeof U=="object"&&U!==null&&(U.$$typeof===V||U.$$typeof===F||U.$$typeof===v||U.$$typeof===x||U.$$typeof===y||U.$$typeof===ft||U.getModuleId!==void 0))}function ye(U,ve,Re){var nt=U.displayName;if(nt)return nt;var vt=ve.displayName||ve.name||"";return vt!==""?Re+"("+vt+")":Re}function Se(U){return U.displayName||"Context"}function Ae(U){if(U==null)return null;if(typeof U.tag=="number"&&de("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 B:return"SuspenseList"}if(typeof U=="object")switch(U.$$typeof){case x:var ve=U;return Se(ve)+".Consumer";case v:var Re=U;return Se(Re._context)+".Provider";case y:return ye(U,U.render,"ForwardRef");case F:var nt=U.displayName||null;return nt!==null?nt:Ae(U.type)||"Memo";case V:{var vt=U,_t=vt._payload,wt=vt._init;try{return Ae(wt(_t))}catch{return null}}}return null}var Be=Object.assign,Ye=0,He,je,ze,ht,oe,ue,Oe;function Ze(){}Ze.__reactDisabledLog=!0;function Pe(){{if(Ye===0){He=console.log,je=console.info,ze=console.warn,ht=console.error,oe=console.group,ue=console.groupCollapsed,Oe=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:ht}),group:Be({},U,{value:oe}),groupCollapsed:Be({},U,{value:ue}),groupEnd:Be({},U,{value:Oe})})}Ye<0&&de("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Me=G.ReactCurrentDispatcher,qe;function tt(U,ve,Re){{if(qe===void 0)try{throw Error()}catch(vt){var nt=vt.stack.trim().match(/\n( *(at )?)/);qe=nt&&nt[1]||""}return`
|
|
56
|
-
`+qe+U}}var Ke=!1,rt;{var kt=typeof WeakMap=="function"?WeakMap:Map;rt=new kt}function _e(U,ve){if(!U||Ke)return"";{var Re=rt.get(U);if(Re!==void 0)return Re}var nt;Ke=!0;var vt=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var _t;_t=Me.current,Me.current=null,Pe();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(Xt){nt=Xt}Reflect.construct(U,[],wt)}else{try{wt.call()}catch(Xt){nt=Xt}U.call(wt.prototype)}}else{try{throw Error()}catch(Xt){nt=Xt}U()}}catch(Xt){if(Xt&&nt&&typeof Xt.stack=="string"){for(var pt=Xt.stack.split(`
|
|
57
|
-
`),ln=nt.stack.split(`
|
|
58
|
-
`),zt=pt.length-1,Ut=ln.length-1;zt>=1&&Ut>=0&&pt[zt]!==ln[Ut];)Ut--;for(;zt>=1&&Ut>=0;zt--,Ut--)if(pt[zt]!==ln[Ut]){if(zt!==1||Ut!==1)do if(zt--,Ut--,Ut<0||pt[zt]!==ln[Ut]){var on=`
|
|
59
|
-
`+pt[zt].replace(" at new "," at ");return U.displayName&&on.includes("<anonymous>")&&(on=on.replace("<anonymous>",U.displayName)),typeof U=="function"&&rt.set(U,on),on}while(zt>=1&&Ut>=0);break}}}finally{Ke=!1,Me.current=_t,Fe(),Error.prepareStackTrace=vt}var In=U?U.displayName||U.name:"",Dr=In?tt(In):"";return typeof U=="function"&&rt.set(U,Dr),Dr}function At(U,ve,Re){return _e(U,!1)}function mt(U){var ve=U.prototype;return!!(ve&&ve.isReactComponent)}function fn(U,ve,Re){if(U==null)return"";if(typeof U=="function")return _e(U,mt(U));if(typeof U=="string")return tt(U);switch(U){case E:return tt("Suspense");case B:return tt("SuspenseList")}if(typeof U=="object")switch(U.$$typeof){case y:return At(U.render);case F:return fn(U.type,ve,Re);case V:{var nt=U,vt=nt._payload,_t=nt._init;try{return fn(_t(vt),ve,Re)}catch{}}}return""}var zn=Object.prototype.hasOwnProperty,Sn={},Un=G.ReactDebugCurrentFrame;function dr(U){if(U){var ve=U._owner,Re=fn(U.type,U._source,ve?ve.type:null);Un.setExtraStackFrame(Re)}else Un.setExtraStackFrame(null)}function nr(U,ve,Re,nt,vt){{var _t=Function.call.bind(zn);for(var wt in U)if(_t(U,wt)){var pt=void 0;try{if(typeof U[wt]!="function"){var ln=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 ln.name="Invariant Violation",ln}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)&&(dr(vt),de("%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),dr(null)),pt instanceof Error&&!(pt.message in Sn)&&(Sn[pt.message]=!0,dr(vt),de("Failed %s type: %s",Re,pt.message),dr(null))}}}var Fn=Array.isArray;function wn(U){return Fn(U)}function pn(U){{var ve=typeof Symbol=="function"&&Symbol.toStringTag,Re=ve&&U[Symbol.toStringTag]||U.constructor.name||"Object";return Re}}function hn(U){try{return fr(U),!1}catch{return!0}}function fr(U){return""+U}function yi(U){if(hn(U))return de("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 Vn=G.ReactCurrentOwner,Yt={key:!0,ref:!0,__self:!0,__source:!0},Mr,Kr,Fr;Fr={};function Jr(U){if(zn.call(U,"ref")){var ve=Object.getOwnPropertyDescriptor(U,"ref").get;if(ve&&ve.isReactWarning)return!1}return U.ref!==void 0}function Pr(U){if(zn.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"&&Vn.current&&ve&&Vn.current.stateNode!==ve){var Re=Ae(Vn.current.type);Fr[Re]||(de('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',Ae(Vn.current.type),U.ref),Fr[Re]=!0)}}function Qr(U,ve){{var Re=function(){Mr||(Mr=!0,de("%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 pr(U,ve){{var Re=function(){Kr||(Kr=!0,de("%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 Xr=function(U,ve,Re,nt,vt,_t,wt){var pt={$$typeof:e,type:U,key:ve,ref:Re,props:wt,_owner:_t};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:vt}),Object.freeze&&(Object.freeze(pt.props),Object.freeze(pt)),pt};function la(U,ve,Re,nt,vt){{var _t,wt={},pt=null,ln=null;Re!==void 0&&(yi(Re),pt=""+Re),Pr(ve)&&(yi(ve.key),pt=""+ve.key),Jr(ve)&&(ln=ve.ref,Bi(ve,vt));for(_t in ve)zn.call(ve,_t)&&!Yt.hasOwnProperty(_t)&&(wt[_t]=ve[_t]);if(U&&U.defaultProps){var zt=U.defaultProps;for(_t in zt)wt[_t]===void 0&&(wt[_t]=zt[_t])}if(pt||ln){var Ut=typeof U=="function"?U.displayName||U.name||"Unknown":U;pt&&Qr(wt,Ut),ln&&pr(wt,Ut)}return Xr(U,pt,ln,vt,nt,Vn.current,wt)}}var kn=G.ReactCurrentOwner,rr=G.ReactDebugCurrentFrame;function Pn(U){if(U){var ve=U._owner,Re=fn(U.type,U._source,ve?ve.type:null);rr.setExtraStackFrame(Re)}else rr.setExtraStackFrame(null)}var Ot;Ot=!1;function hr(U){return typeof U=="object"&&U!==null&&U.$$typeof===e}function qr(){{if(kn.current){var U=Ae(kn.current.type);if(U)return`
|
|
60
|
-
|
|
61
|
-
Check the render method of \``+U+"`."}return""}}function ei(U){{if(U!==void 0){var ve=U.fileName.replace(/^.*[\\\/]/,""),Re=U.lineNumber;return`
|
|
62
|
-
|
|
63
|
-
Check your code at `+ve+":"+Re+"."}return""}}var ir={};function ti(U){{var ve=qr();if(!ve){var Re=typeof U=="string"?U:U.displayName||U.name;Re&&(ve=`
|
|
64
|
-
|
|
65
|
-
Check the top-level render call using <`+Re+">.")}return ve}}function gr(U,ve){{if(!U._store||U._store.validated||U.key!=null)return;U._store.validated=!0;var Re=ti(ve);if(ir[Re])return;ir[Re]=!0;var nt="";U&&U._owner&&U._owner!==kn.current&&(nt=" It was passed a child from "+Ae(U._owner.type)+"."),Pn(U),de('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),Pn(null)}}function nn(U,ve){{if(typeof U!="object")return;if(wn(U))for(var Re=0;Re<U.length;Re++){var nt=U[Re];hr(nt)&&gr(nt,ve)}else if(hr(U))U._store&&(U._store.validated=!0);else if(U){var vt=Y(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,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===y||ve.$$typeof===F))Re=ve.propTypes;else return;if(Re){var nt=Ae(ve);nr(Re,U.props,"prop",nt,U)}else if(ve.PropTypes!==void 0&&!Ot){Ot=!0;var vt=Ae(ve);de("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",vt||"Unknown")}typeof ve.getDefaultProps=="function"&&!ve.getDefaultProps.isReactClassApproved&&de("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function ni(U){{for(var ve=Object.keys(U.props),Re=0;Re<ve.length;Re++){var nt=ve[Re];if(nt!=="children"&&nt!=="key"){Pn(U),de("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",nt),Pn(null);break}}U.ref!==null&&(Pn(U),de("Invalid attribute `ref` supplied to `React.Fragment`."),Pn(null))}}function ji(U,ve,Re,nt,vt,_t){{var wt=Ft(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 ln=ei(vt);ln?pt+=ln:pt+=qr();var zt;U===null?zt="null":wn(U)?zt="array":U!==void 0&&U.$$typeof===e?(zt="<"+(Ae(U.type)||"Unknown")+" />",pt=" Did you accidentally export a JSX literal instead of a component?"):zt=typeof U,de("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,vt,_t);if(Ut==null)return Ut;if(wt){var on=ve.children;if(on!==void 0)if(nt)if(wn(on)){for(var In=0;In<on.length;In++)nn(on[In],U);Object.freeze&&Object.freeze(on)}else de("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?ni(Ut):Ni(Ut),Ut}}function rn(U,ve,Re){return ji(U,ve,Re,!0)}function zi(U,ve,Re){return ji(U,ve,Re,!1)}var Ba=zi,Na=rn;Sc.Fragment=a,Sc.jsx=Ba,Sc.jsxs=Na}()),Sc}process.env.NODE_ENV==="production"?sf.exports=nb():sf.exports=rb();var j=sf.exports,gh={exports:{}};/*!
|
|
38
|
+
`)+I+`return __p
|
|
39
|
+
}`;var fe=zd(function(){return Se(h,G+"return "+I).apply(n,v)});if(fe.source=I,Lo(fe))throw fe;return fe}function qw(e){return Ee(e).toLowerCase()}function jw(e){return Ee(e).toUpperCase()}function Jw(e,i,s){if(e=Ee(e),e&&(s||i===n))return ju(e);if(!e||!(i=kt(i)))return e;var u=Wt(e),d=Wt(i),h=Ju(u,d),v=Yu(u,d)+1;return Bn(u,h,v).join("")}function Yw(e,i,s){if(e=Ee(e),e&&(s||i===n))return e.slice(0,Xu(e)+1);if(!e||!(i=kt(i)))return e;var u=Wt(e),d=Yu(u,Wt(i))+1;return Bn(u,0,d).join("")}function Qw(e,i,s){if(e=Ee(e),e&&(s||i===n))return e.replace(Ns,"");if(!e||!(i=kt(i)))return e;var u=Wt(e),d=Ju(u,Wt(i));return Bn(u,d).join("")}function Xw(e,i){var s=We,u=N;if(Fe(i)){var d="separator"in i?i.separator:d;s="length"in i?ge(i.length):s,u="omission"in i?kt(i.omission):u}e=Ee(e);var h=e.length;if(gr(e)){var v=Wt(e);h=v.length}if(s>=h)return e;var y=s-hr(u);if(y<1)return u;var x=v?Bn(v,0,y).join(""):e.slice(0,y);if(d===n)return x+u;if(v&&(y+=x.length-y),Fo(d)){if(e.slice(y).search(d)){var O,C=x;for(d.global||(d=js(d.source,Ee(bu.exec(d))+"g")),d.lastIndex=0;O=d.exec(C);)var I=O.index;x=x.slice(0,I===n?y:I)}}else if(e.indexOf(kt(d),y)!=y){var L=x.lastIndexOf(d);L>-1&&(x=x.slice(0,L))}return x+u}function e_(e){return e=Ee(e),e&&dm.test(e)?e.replace(hu,Ib):e}var t_=_r(function(e,i,s){return e+(s?" ":"")+i.toUpperCase()}),Po=Uc("toUpperCase");function Vd(e,i,s){return e=Ee(e),i=s?n:i,i===n?kb(e)?Nb(e):fb(e):e.match(i)||[]}var zd=me(function(e,i){try{return xt(e,n,i)}catch(s){return Lo(s)?s:new ae(s)}}),n_=gn(function(e,i){return Mt(i,function(s){s=rn(s),dn(e,s,Mo(e[s],e))}),e});function r_(e){var i=e==null?0:e.length,s=J();return e=i?Ne(e,function(u){if(typeof u[1]!="function")throw new Nt(c);return[s(u[0]),u[1]]}):[],me(function(u){for(var d=-1;++d<i;){var h=e[d];if(xt(h[0],this,u))return xt(h[1],this,u)}})}function i_(e){return Iv(Ft(e,k))}function Ro(e){return function(){return e}}function a_(e,i){return e==null||e!==e?i:e}var s_=Kc(),o_=Kc(!0);function mt(e){return e}function Vo(e){return yc(typeof e=="function"?e:Ft(e,k))}function l_(e){return _c(Ft(e,k))}function u_(e,i){return xc(e,Ft(i,k))}var c_=me(function(e,i){return function(s){return ii(s,e,i)}}),d_=me(function(e,i){return function(s){return ii(e,s,i)}});function zo(e,i,s){var u=Ye(i),d=_a(i,u);s==null&&!(Fe(i)&&(d.length||!u.length))&&(s=i,i=e,e=this,d=_a(i,Ye(i)));var h=!(Fe(s)&&"chain"in s)||!!s.chain,v=fn(e);return Mt(d,function(y){var x=i[y];e[y]=x,v&&(e.prototype[y]=function(){var O=this.__chain__;if(h||O){var C=e(this.__wrapped__),I=C.__actions__=gt(this.__actions__);return I.push({func:x,args:arguments,thisArg:e}),C.__chain__=O,C}return x.apply(e,Tn([this.value()],arguments))})}),e}function p_(){return et._===this&&(et._=Rb),this}function Uo(){}function g_(e){return e=ge(e),me(function(i){return Sc(i,e)})}var h_=vo(Ne),f_=vo(Zu),m_=vo(Gs);function Ud(e){return Eo(e)?Ks(rn(e)):$v(e)}function b_(e){return function(i){return e==null?n:jn(e,i)}}var v_=Wc(),y_=Wc(!0);function Go(){return[]}function Ko(){return!1}function w_(){return{}}function __(){return""}function x_(){return!0}function S_(e,i){if(e=ge(e),e<1||e>te)return[];var s=Re,u=it(e,Re);i=J(i),e-=Re;for(var d=$s(u,i);++s<e;)i(s);return d}function k_(e){return le(e)?Ne(e,rn):Et(e)?[e]:gt(od(Ee(e)))}function E_(e){var i=++Bb;return Ee(e)+i}var A_=Oa(function(e,i){return e+i},0),O_=yo("ceil"),C_=Oa(function(e,i){return e/i},1),I_=yo("floor");function T_(e){return e&&e.length?wa(e,mt,ro):n}function M_(e,i){return e&&e.length?wa(e,J(i,2),ro):n}function N_(e){return Hu(e,mt)}function L_(e,i){return Hu(e,J(i,2))}function F_(e){return e&&e.length?wa(e,mt,oo):n}function D_(e,i){return e&&e.length?wa(e,J(i,2),oo):n}var B_=Oa(function(e,i){return e*i},1),P_=yo("round"),R_=Oa(function(e,i){return e-i},0);function V_(e){return e&&e.length?Ws(e,mt):0}function z_(e,i){return e&&e.length?Ws(e,J(i,2)):0}return g.after=ly,g.ary=vd,g.assign=jy,g.assignIn=Nd,g.assignInWith=za,g.assignWith=Jy,g.at=Yy,g.before=yd,g.bind=Mo,g.bindAll=n_,g.bindKey=wd,g.castArray=wy,g.chain=fd,g.chunk=I0,g.compact=T0,g.concat=M0,g.cond=r_,g.conforms=i_,g.constant=Ro,g.countBy=V1,g.create=Qy,g.curry=_d,g.curryRight=xd,g.debounce=Sd,g.defaults=Xy,g.defaultsDeep=ew,g.defer=uy,g.delay=cy,g.difference=N0,g.differenceBy=L0,g.differenceWith=F0,g.drop=D0,g.dropRight=B0,g.dropRightWhile=P0,g.dropWhile=R0,g.fill=V0,g.filter=U1,g.flatMap=Z1,g.flatMapDeep=W1,g.flatMapDepth=$1,g.flatten=dd,g.flattenDeep=z0,g.flattenDepth=U0,g.flip=dy,g.flow=s_,g.flowRight=o_,g.fromPairs=G0,g.functions=ow,g.functionsIn=lw,g.groupBy=H1,g.initial=Z0,g.intersection=W0,g.intersectionBy=$0,g.intersectionWith=H0,g.invert=cw,g.invertBy=dw,g.invokeMap=j1,g.iteratee=Vo,g.keyBy=J1,g.keys=Ye,g.keysIn=ft,g.map=Fa,g.mapKeys=gw,g.mapValues=hw,g.matches=l_,g.matchesProperty=u_,g.memoize=Ba,g.merge=fw,g.mergeWith=Ld,g.method=c_,g.methodOf=d_,g.mixin=zo,g.negate=Pa,g.nthArg=g_,g.omit=mw,g.omitBy=bw,g.once=py,g.orderBy=Y1,g.over=h_,g.overArgs=gy,g.overEvery=f_,g.overSome=m_,g.partial=No,g.partialRight=kd,g.partition=Q1,g.pick=vw,g.pickBy=Fd,g.property=Ud,g.propertyOf=b_,g.pull=Y0,g.pullAll=gd,g.pullAllBy=Q0,g.pullAllWith=X0,g.pullAt=e1,g.range=v_,g.rangeRight=y_,g.rearg=hy,g.reject=ty,g.remove=t1,g.rest=fy,g.reverse=Io,g.sampleSize=ry,g.set=ww,g.setWith=_w,g.shuffle=iy,g.slice=n1,g.sortBy=oy,g.sortedUniq=u1,g.sortedUniqBy=c1,g.split=Zw,g.spread=my,g.tail=d1,g.take=p1,g.takeRight=g1,g.takeRightWhile=h1,g.takeWhile=f1,g.tap=T1,g.throttle=by,g.thru=La,g.toArray=Id,g.toPairs=Dd,g.toPairsIn=Bd,g.toPath=k_,g.toPlainObject=Md,g.transform=xw,g.unary=vy,g.union=m1,g.unionBy=b1,g.unionWith=v1,g.uniq=y1,g.uniqBy=w1,g.uniqWith=_1,g.unset=Sw,g.unzip=To,g.unzipWith=hd,g.update=kw,g.updateWith=Ew,g.values=kr,g.valuesIn=Aw,g.without=x1,g.words=Vd,g.wrap=yy,g.xor=S1,g.xorBy=k1,g.xorWith=E1,g.zip=A1,g.zipObject=O1,g.zipObjectDeep=C1,g.zipWith=I1,g.entries=Dd,g.entriesIn=Bd,g.extend=Nd,g.extendWith=za,zo(g,g),g.add=A_,g.attempt=zd,g.camelCase=Tw,g.capitalize=Pd,g.ceil=O_,g.clamp=Ow,g.clone=_y,g.cloneDeep=Sy,g.cloneDeepWith=ky,g.cloneWith=xy,g.conformsTo=Ey,g.deburr=Rd,g.defaultTo=a_,g.divide=C_,g.endsWith=Mw,g.eq=Ht,g.escape=Nw,g.escapeRegExp=Lw,g.every=z1,g.find=G1,g.findIndex=ud,g.findKey=tw,g.findLast=K1,g.findLastIndex=cd,g.findLastKey=nw,g.floor=I_,g.forEach=md,g.forEachRight=bd,g.forIn=rw,g.forInRight=iw,g.forOwn=aw,g.forOwnRight=sw,g.get=Do,g.gt=Ay,g.gte=Oy,g.has=uw,g.hasIn=Bo,g.head=pd,g.identity=mt,g.includes=q1,g.indexOf=K0,g.inRange=Cw,g.invoke=pw,g.isArguments=Qn,g.isArray=le,g.isArrayBuffer=Cy,g.isArrayLike=ht,g.isArrayLikeObject=ze,g.isBoolean=Iy,g.isBuffer=Pn,g.isDate=Ty,g.isElement=My,g.isEmpty=Ny,g.isEqual=Ly,g.isEqualWith=Fy,g.isError=Lo,g.isFinite=Dy,g.isFunction=fn,g.isInteger=Ed,g.isLength=Ra,g.isMap=Ad,g.isMatch=By,g.isMatchWith=Py,g.isNaN=Ry,g.isNative=Vy,g.isNil=Uy,g.isNull=zy,g.isNumber=Od,g.isObject=Fe,g.isObjectLike=Ve,g.isPlainObject=ci,g.isRegExp=Fo,g.isSafeInteger=Gy,g.isSet=Cd,g.isString=Va,g.isSymbol=Et,g.isTypedArray=Sr,g.isUndefined=Ky,g.isWeakMap=Zy,g.isWeakSet=Wy,g.join=q0,g.kebabCase=Fw,g.last=Bt,g.lastIndexOf=j0,g.lowerCase=Dw,g.lowerFirst=Bw,g.lt=$y,g.lte=Hy,g.max=T_,g.maxBy=M_,g.mean=N_,g.meanBy=L_,g.min=F_,g.minBy=D_,g.stubArray=Go,g.stubFalse=Ko,g.stubObject=w_,g.stubString=__,g.stubTrue=x_,g.multiply=B_,g.nth=J0,g.noConflict=p_,g.noop=Uo,g.now=Da,g.pad=Pw,g.padEnd=Rw,g.padStart=Vw,g.parseInt=zw,g.random=Iw,g.reduce=X1,g.reduceRight=ey,g.repeat=Uw,g.replace=Gw,g.result=yw,g.round=P_,g.runInContext=_,g.sample=ny,g.size=ay,g.snakeCase=Kw,g.some=sy,g.sortedIndex=r1,g.sortedIndexBy=i1,g.sortedIndexOf=a1,g.sortedLastIndex=s1,g.sortedLastIndexBy=o1,g.sortedLastIndexOf=l1,g.startCase=Ww,g.startsWith=$w,g.subtract=R_,g.sum=V_,g.sumBy=z_,g.template=Hw,g.times=S_,g.toFinite=mn,g.toInteger=ge,g.toLength=Td,g.toLower=qw,g.toNumber=Pt,g.toSafeInteger=qy,g.toString=Ee,g.toUpper=jw,g.trim=Jw,g.trimEnd=Yw,g.trimStart=Qw,g.truncate=Xw,g.unescape=e_,g.uniqueId=E_,g.upperCase=t_,g.upperFirst=Po,g.each=md,g.eachRight=bd,g.first=pd,zo(g,function(){var e={};return tn(g,function(i,s){Ae.call(g.prototype,s)||(e[s]=i)}),e}(),{chain:!1}),g.VERSION=a,Mt(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e){g[e].placeholder=g}),Mt(["drop","take"],function(e,i){ve.prototype[e]=function(s){s=s===n?1:He(ge(s),0);var u=this.__filtered__&&!i?new ve(this):this.clone();return u.__filtered__?u.__takeCount__=it(s,u.__takeCount__):u.__views__.push({size:it(s,Re),type:e+(u.__dir__<0?"Right":"")}),u},ve.prototype[e+"Right"]=function(s){return this.reverse()[e](s).reverse()}}),Mt(["filter","map","takeWhile"],function(e,i){var s=i+1,u=s==ie||s==oe;ve.prototype[e]=function(d){var h=this.clone();return h.__iteratees__.push({iteratee:J(d,3),type:s}),h.__filtered__=h.__filtered__||u,h}}),Mt(["head","last"],function(e,i){var s="take"+(i?"Right":"");ve.prototype[e]=function(){return this[s](1).value()[0]}}),Mt(["initial","tail"],function(e,i){var s="drop"+(i?"":"Right");ve.prototype[e]=function(){return this.__filtered__?new ve(this):this[s](1)}}),ve.prototype.compact=function(){return this.filter(mt)},ve.prototype.find=function(e){return this.filter(e).head()},ve.prototype.findLast=function(e){return this.reverse().find(e)},ve.prototype.invokeMap=me(function(e,i){return typeof e=="function"?new ve(this):this.map(function(s){return ii(s,e,i)})}),ve.prototype.reject=function(e){return this.filter(Pa(J(e)))},ve.prototype.slice=function(e,i){e=ge(e);var s=this;return s.__filtered__&&(e>0||i<0)?new ve(s):(e<0?s=s.takeRight(-e):e&&(s=s.drop(e)),i!==n&&(i=ge(i),s=i<0?s.dropRight(-i):s.take(i-e)),s)},ve.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},ve.prototype.toArray=function(){return this.take(Re)},tn(ve.prototype,function(e,i){var s=/^(?:filter|find|map|reject)|While$/.test(i),u=/^(?:head|last)$/.test(i),d=g[u?"take"+(i=="last"?"Right":""):i],h=u||/^find/.test(i);d&&(g.prototype[i]=function(){var v=this.__wrapped__,y=u?[1]:arguments,x=v instanceof ve,O=y[0],C=x||le(v),I=function(be){var ye=d.apply(g,Tn([be],y));return u&&L?ye[0]:ye};C&&s&&typeof O=="function"&&O.length!=1&&(x=C=!1);var L=this.__chain__,G=!!this.__actions__.length,Q=h&&!L,fe=x&&!G;if(!h&&C){v=fe?v:new ve(this);var X=e.apply(v,y);return X.__actions__.push({func:La,args:[I],thisArg:n}),new Lt(X,L)}return Q&&fe?e.apply(this,y):(X=this.thru(I),Q?u?X.value()[0]:X.value():X)})}),Mt(["pop","push","shift","sort","splice","unshift"],function(e){var i=aa[e],s=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",u=/^(?:pop|shift)$/.test(e);g.prototype[e]=function(){var d=arguments;if(u&&!this.__chain__){var h=this.value();return i.apply(le(h)?h:[],d)}return this[s](function(v){return i.apply(le(v)?v:[],d)})}}),tn(ve.prototype,function(e,i){var s=g[i];if(s){var u=s.name+"";Ae.call(vr,u)||(vr[u]=[]),vr[u].push({name:i,func:s})}}),vr[Aa(n,se).name]=[{name:"wrapper",func:n}],ve.prototype.clone=ev,ve.prototype.reverse=tv,ve.prototype.value=nv,g.prototype.at=M1,g.prototype.chain=N1,g.prototype.commit=L1,g.prototype.next=F1,g.prototype.plant=B1,g.prototype.reverse=P1,g.prototype.toJSON=g.prototype.valueOf=g.prototype.value=R1,g.prototype.first=g.prototype.head,Yr&&(g.prototype[Yr]=D1),g},fr=Lb();Zn?((Zn.exports=fr)._=fr,Rs._=fr):et._=fr}).call(Ke)}(Ii,Ii.exports);var Gt=Ii.exports;const dt=Symbol.for("@ts-pattern/matcher"),vl=Symbol.for("@ts-pattern/isVariadic"),Ti="@ts-pattern/anonymous-select-key",Xa=r=>!!(r&&typeof r=="object"),Mi=r=>r&&!!r[dt],Qe=(r,t,n)=>{if(Mi(r)){const a=r[dt](),{matched:o,selections:l}=a.match(t);return o&&l&&Object.keys(l).forEach(c=>n(c,l[c])),o}if(Xa(r)){if(!Xa(t))return!1;if(Array.isArray(r)){if(!Array.isArray(t))return!1;let a=[],o=[],l=[];for(const c of r.keys()){const p=r[c];Mi(p)&&p[vl]?l.push(p):l.length?o.push(p):a.push(p)}if(l.length){if(l.length>1)throw new Error("Pattern error: Using `...P.array(...)` several times in a single pattern is not allowed.");if(t.length<a.length+o.length)return!1;const c=t.slice(0,a.length),p=o.length===0?[]:t.slice(-o.length),f=t.slice(a.length,o.length===0?1/0:-o.length);return a.every((m,w)=>Qe(m,c[w],n))&&o.every((m,w)=>Qe(m,p[w],n))&&(l.length===0||Qe(l[0],f,n))}return r.length===t.length&&r.every((c,p)=>Qe(c,t[p],n))}return Reflect.ownKeys(r).every(a=>{const o=r[a];return(a in t||Mi(l=o)&&l[dt]().matcherType==="optional")&&Qe(o,t[a],n);var l})}return Object.is(t,r)},bt=r=>{var t,n,a;return Xa(r)?Mi(r)?(t=(n=(a=r[dt]()).getSelectionKeys)==null?void 0:n.call(a))!=null?t:[]:Array.isArray(r)?Ur(r,bt):Ur(Object.values(r),bt):[]},Ur=(r,t)=>r.reduce((n,a)=>n.concat(t(a)),[]);function Dg(...r){if(r.length===1){const[t]=r;return n=>Qe(t,n,()=>{})}if(r.length===2){const[t,n]=r;return Qe(t,n,()=>{})}throw new Error(`isMatching wasn't given the right number of arguments: expected 1 or 2, received ${r.length}.`)}function Xe(r){return Object.assign(r,{optional:()=>ts(r),and:t=>Ie(r,t),or:t=>yl(r,t),select:t=>t===void 0?Gr(r):Gr(t,r)})}function es(r){return Object.assign((t=>Object.assign(t,{[Symbol.iterator](){let n=0;const a=[{value:Object.assign(t,{[vl]:!0}),done:!1},{done:!0,value:void 0}];return{next:()=>{var o;return(o=a[n++])!=null?o:a.at(-1)}}}}))(r),{optional:()=>es(ts(r)),select:t=>es(t===void 0?Gr(r):Gr(t,r))})}function ts(r){return Xe({[dt]:()=>({match:t=>{let n={};const a=(o,l)=>{n[o]=l};return t===void 0?(bt(r).forEach(o=>a(o,void 0)),{matched:!0,selections:n}):{matched:Qe(r,t,a),selections:n}},getSelectionKeys:()=>bt(r),matcherType:"optional"})})}const Bg=(r,t)=>{for(const n of r)if(!t(n))return!1;return!0},Pg=(r,t)=>{for(const[n,a]of r.entries())if(!t(a,n))return!1;return!0};function Ie(...r){return Xe({[dt]:()=>({match:t=>{let n={};const a=(o,l)=>{n[o]=l};return{matched:r.every(o=>Qe(o,t,a)),selections:n}},getSelectionKeys:()=>Ur(r,bt),matcherType:"and"})})}function yl(...r){return Xe({[dt]:()=>({match:t=>{let n={};const a=(o,l)=>{n[o]=l};return Ur(r,bt).forEach(o=>a(o,void 0)),{matched:r.some(o=>Qe(o,t,a)),selections:n}},getSelectionKeys:()=>Ur(r,bt),matcherType:"or"})})}function we(r){return{[dt]:()=>({match:t=>({matched:!!r(t)})})}}function Gr(...r){const t=typeof r[0]=="string"?r[0]:void 0,n=r.length===2?r[1]:typeof r[0]=="string"?void 0:r[0];return Xe({[dt]:()=>({match:a=>{let o={[t??Ti]:a};return{matched:n===void 0||Qe(n,a,(l,c)=>{o[l]=c}),selections:o}},getSelectionKeys:()=>[t??Ti].concat(n===void 0?[]:bt(n))})})}function Qt(r){return typeof r=="number"}function Sn(r){return typeof r=="string"}function kn(r){return typeof r=="bigint"}const wl=Xe(we(function(r){return!0})),Rg=wl,En=r=>Object.assign(Xe(r),{startsWith:t=>{return En(Ie(r,(n=t,we(a=>Sn(a)&&a.startsWith(n)))));var n},endsWith:t=>{return En(Ie(r,(n=t,we(a=>Sn(a)&&a.endsWith(n)))));var n},minLength:t=>En(Ie(r,(n=>we(a=>Sn(a)&&a.length>=n))(t))),length:t=>En(Ie(r,(n=>we(a=>Sn(a)&&a.length===n))(t))),maxLength:t=>En(Ie(r,(n=>we(a=>Sn(a)&&a.length<=n))(t))),includes:t=>{return En(Ie(r,(n=t,we(a=>Sn(a)&&a.includes(n)))));var n},regex:t=>{return En(Ie(r,(n=t,we(a=>Sn(a)&&!!a.match(n)))));var n}}),Vg=En(we(Sn)),Xt=r=>Object.assign(Xe(r),{between:(t,n)=>Xt(Ie(r,((a,o)=>we(l=>Qt(l)&&a<=l&&o>=l))(t,n))),lt:t=>Xt(Ie(r,(n=>we(a=>Qt(a)&&a<n))(t))),gt:t=>Xt(Ie(r,(n=>we(a=>Qt(a)&&a>n))(t))),lte:t=>Xt(Ie(r,(n=>we(a=>Qt(a)&&a<=n))(t))),gte:t=>Xt(Ie(r,(n=>we(a=>Qt(a)&&a>=n))(t))),int:()=>Xt(Ie(r,we(t=>Qt(t)&&Number.isInteger(t)))),finite:()=>Xt(Ie(r,we(t=>Qt(t)&&Number.isFinite(t)))),positive:()=>Xt(Ie(r,we(t=>Qt(t)&&t>0))),negative:()=>Xt(Ie(r,we(t=>Qt(t)&&t<0)))}),zg=Xt(we(Qt)),An=r=>Object.assign(Xe(r),{between:(t,n)=>An(Ie(r,((a,o)=>we(l=>kn(l)&&a<=l&&o>=l))(t,n))),lt:t=>An(Ie(r,(n=>we(a=>kn(a)&&a<n))(t))),gt:t=>An(Ie(r,(n=>we(a=>kn(a)&&a>n))(t))),lte:t=>An(Ie(r,(n=>we(a=>kn(a)&&a<=n))(t))),gte:t=>An(Ie(r,(n=>we(a=>kn(a)&&a>=n))(t))),positive:()=>An(Ie(r,we(t=>kn(t)&&t>0))),negative:()=>An(Ie(r,we(t=>kn(t)&&t<0)))}),Ug=An(we(kn)),Gg=Xe(we(function(r){return typeof r=="boolean"})),Kg=Xe(we(function(r){return typeof r=="symbol"})),Zg=Xe(we(function(r){return r==null})),Wg=Xe(we(function(r){return r!=null}));var Ni={__proto__:null,matcher:dt,optional:ts,array:function(...r){return es({[dt]:()=>({match:t=>{if(!Array.isArray(t))return{matched:!1};if(r.length===0)return{matched:!0};const n=r[0];let a={};if(t.length===0)return bt(n).forEach(l=>{a[l]=[]}),{matched:!0,selections:a};const o=(l,c)=>{a[l]=(a[l]||[]).concat([c])};return{matched:t.every(l=>Qe(n,l,o)),selections:a}},getSelectionKeys:()=>r.length===0?[]:bt(r[0])})})},set:function(...r){return Xe({[dt]:()=>({match:t=>{if(!(t instanceof Set))return{matched:!1};let n={};if(t.size===0)return{matched:!0,selections:n};if(r.length===0)return{matched:!0};const a=(l,c)=>{n[l]=(n[l]||[]).concat([c])},o=r[0];return{matched:Bg(t,l=>Qe(o,l,a)),selections:n}},getSelectionKeys:()=>r.length===0?[]:bt(r[0])})})},map:function(...r){return Xe({[dt]:()=>({match:t=>{if(!(t instanceof Map))return{matched:!1};let n={};if(t.size===0)return{matched:!0,selections:n};const a=(p,f)=>{n[p]=(n[p]||[]).concat([f])};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[l,c]=r;return{matched:Pg(t,(p,f)=>{const m=Qe(l,f,a),w=Qe(c,p,a);return m&&w}),selections:n}},getSelectionKeys:()=>r.length===0?[]:[...bt(r[0]),...bt(r[1])]})})},intersection:Ie,union:yl,not:function(r){return Xe({[dt]:()=>({match:t=>({matched:!Qe(r,t,()=>{})}),getSelectionKeys:()=>[],matcherType:"not"})})},when:we,select:Gr,any:wl,_:Rg,string:Vg,number:zg,bigint:Ug,boolean:Gg,symbol:Kg,nullish:Zg,nonNullable:Wg,instanceOf:function(r){return Xe(we(function(t){return n=>n instanceof t}(r)))},shape:function(r){return Xe(we(Dg(r)))}};class $g extends Error{constructor(t){let n;try{n=JSON.stringify(t)}catch{n=t}super(`Pattern matching error: no pattern matches value ${n}`),this.input=void 0,this.input=t}}const ns={matched:!1,value:void 0};function Kr(r){return new Li(r,ns)}class Li{constructor(t,n){this.input=void 0,this.state=void 0,this.input=t,this.state=n}with(...t){if(this.state.matched)return this;const n=t[t.length-1],a=[t[0]];let o;t.length===3&&typeof t[1]=="function"?o=t[1]:t.length>2&&a.push(...t.slice(1,t.length-1));let l=!1,c={};const p=(m,w)=>{l=!0,c[m]=w},f=!a.some(m=>Qe(m,this.input,p))||o&&!o(this.input)?ns:{matched:!0,value:n(l?Ti in c?c[Ti]:c:this.input,this.input)};return new Li(this.input,f)}when(t,n){if(this.state.matched)return this;const a=!!t(this.input);return new Li(this.input,a?{matched:!0,value:n(this.input,this.input)}:ns)}otherwise(t){return this.state.matched?this.state.value:t(this.input)}exhaustive(){if(this.state.matched)return this.state.value;throw new $g(this.input)}run(){return this.exhaustive()}returnType(){return this}}const _s=class{constructor(t,n){pe(this,"sexpVariables");pe(this,"questionKeyToCalculationKeys");pe(this,"response");pe(this,"results",{});pe(this,"calculateNumber",t=>Kr(t).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());pe(this,"calculateBoolean",t=>{if(!Ya.options.includes(t.op))throw new Error(`Unknown boolean operation: ${t.op}`);return Kr(t).with({op:Ni.union(...Ja.options)},this.compare).with({op:Ni.union(...ja.options)},this.booleanReduce).exhaustive()});pe(this,"compare",t=>{const n=this.calculateNumber(t.left),a=this.calculateNumber(t.right);return n===null||a===null?null:Kr(t.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()});pe(this,"booleanReduce",t=>{const n=t.values.map(this.calculateBoolean);return n.some(a=>a===null)?null:Kr(t.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=t,this.questionKeyToCalculationKeys=Hg(t),this.response=n}getResult(t){return this.results[t]===void 0&&(this.results[t]=this.calculate(this.sexpVariables[t].calculation)),this.results[t]??null}handleValueChanged(t){var n;(n=this.questionKeyToCalculationKeys[t])==null||n.forEach(a=>{delete this.results[a]})}calculate(t){return Kr(t).with({op:"string_value"},({key:n})=>this.stringValue(n)).with({op:Ni.union("number","number_value","sum","subtract","multiply","divide","round")},this.calculateNumber).with({op:Ni.union(...Ya.options)},this.calculateBoolean).exhaustive()}stringValue(t){const n=this.response.cleanValue(t);return(n==null?void 0:n.toString())??null}reduce(t,n){const a=t.map(o=>this.calculateNumber(o));return a.some(o=>o===null)?null:a.reduce(_s.numberReducers[n])}round(t,n){const a=this.calculateNumber(t);return a===null?null:Number(a.toFixed(n))}};let Fi=_s;pe(Fi,"numberReducers",{sum:(t,n)=>t+n,multiply:(t,n)=>t*n,subtract:(t,n)=>t-n,divide:(t,n)=>t/n});function Hg(r){const t={};for(const[n,a]of Object.entries(r))ar(a.calculation).forEach(l=>{t[l]??(t[l]=new Set),t[l].add(n)});return t}function ar(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(t=>ar(t));case"round":return ar(r.value);case"eq":case"not_eq":case"gt":case"gteq":case"lt":case"lteq":return[...ar(r.left),...ar(r.right)];case"all":case"some":case"none":return r.values.flatMap(t=>ar(t));case"number":return[]}}function qg(r,t,n){if(arguments.length<3)throw new TypeError("3 argument required, but only "+arguments.length+" present");var a=new Date(r,t,n);return a.getFullYear()===r&&a.getMonth()===t&&a.getDate()===n}const _l=["requires_answer","minimum_checked_required","answer_group_minimum"];function xl(r){switch(r.type){case"requires_answer":return new Sl(r);case"valid_integer":return new Al(r);case"valid_float":return new Ol(r);case"valid_date":return new El(r);case"minimum":return new Cl(r);case"maximum":return new Il(r);case"minimum_date":return new Tl(r);case"maximum_date":return new Ml(r);case"minimum_checked_required":return new Nl(r);case"maximum_checked_allowed":return new Ll(r);case"answer_group_minimum":return new Fl(r);case"answer_group_maximum":return new Dl(r);case"regexp":return new Bl(r)}}class pt{constructor(t){pe(this,"config");this.config=t}}class Sl extends pt{validate(t){const n=t.getValidationFieldState(this.config.fieldKey);sr(n.value)||this.ignoreDueToDependsOn(t)||n.addError({type:this.config.type,message:{t:"requires_answer"}})}ignoreDueToDependsOn(t){return!this.config.dependsOnQuestions&&!this.config.dependsOnOptions?!1:!this.dependsOnQuestionAnswered(t)&&!this.dependsOnOptionSelected(t)}dependsOnQuestionAnswered(t){return this.config.dependsOnQuestions===void 0?!1:this.config.dependsOnQuestions.some(n=>sr(t.getValidationFieldState(n).value))}dependsOnOptionSelected(t){return this.config.dependsOnOptions===void 0?!1:Object.entries(this.config.dependsOnOptions).some(([n,a])=>{const o=t.getValidationFieldState(n).value;if(sr(o)){if(typeof o=="string")return a.some(l=>l===o);if(o instanceof Set)return a.some(l=>o.has(l));throw new Error("unknown question type for dependsOnOptions: this.config.fieldKey")}else return!1})}}function sr(r){if(r==null)return!1;if(typeof r=="string")return!!r;if(typeof r=="number")return!0;if(r instanceof Map)return Bi(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 Di(r){return r===void 0||r===null||r===""?!1:typeof r=="string"}function kl(r){return r===void 0||r===null?!1:typeof r=="number"}function Bi(r){if(r===void 0||r===null)return!1;for(const[t,n]of r){if(typeof t!="string"||typeof n!="string")return!1;if(Di(n))return!0}return!1}const jg=/(\s*-?[1-9][0-9]+\s*|\s*-?[0-9]\s*)/;class El extends pt{validate(t){const n=t.getValidationFieldState(this.config.fieldKey);if(!Bi(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=rs(n.value);(!a||!qg(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 rs(r){var t=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:t("year",2e3),month:t("month",1)-1,day:t("day",1),hour:t("hour",0),minute:t("minute",0)}}class Al extends pt{validate(t){const n=t.getValidationFieldState(this.config.fieldKey);if(!Di(n.value))return;const a=jg.exec(n.value);(a===null||a[0]!==n.value)&&n.addError({type:this.config.type,message:{t:"valid_integer"}})}}class Ol extends pt{validate(t){const n=t.getValidationFieldState(this.config.fieldKey);if(!Di(n.value))return;const a=parseFloat(n.value);!isNaN(a)&&isFinite(a)||n.addError({type:this.config.type,message:{t:"valid_float"}})}}class Cl extends pt{validate(t){const n=t.getValidationFieldState(this.config.fieldKey);kl(n.value)&&parseFloat(n.value)<this.config.value&&n.addError({type:this.config.type,message:this.config.explanation||{t:"minimum",value:this.config.value.toString()}})}}class Il extends pt{validate(t){const n=t.getValidationFieldState(this.config.fieldKey);kl(n.value)&&parseFloat(n.value)>this.config.value&&n.addError({type:this.config.type,message:this.config.explanation||{t:"maximum",value:this.config.value.toString()}})}}class Tl extends pt{validate(t){const n=t.getValidationFieldState(this.config.fieldKey);if(!Bi(n.value))return;const a=rs(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 Ml extends pt{validate(t){const n=t.getValidationFieldState(this.config.fieldKey);if(!Bi(n.value))return;const a=rs(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 Nl extends pt{validate(t){const n=t.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 Ll extends pt{validate(t){const n=t.getValidationFieldState(this.config.fieldKey);sr(n.value)&&n.value.size>this.config.maximumCheckedValue&&n.addError({type:this.config.type,message:{t:"maximum_checked_allowed",count:this.config.maximumCheckedValue}})}}class Fl extends pt{validate(t){const n=this.config.fieldKeys.map(a=>t.getValidationFieldState(a));n.filter(a=>sr(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 Dl extends pt{validate(t){const n=this.config.fieldKeys.map(a=>t.getValidationFieldState(a));n.filter(a=>sr(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 Bl extends pt{validate(t){const n=t.getValidationFieldState(this.config.fieldKey);if(!Di(n.value))return;const a=this.config.matcher.replace("\\A","^").replace("\\Z","$"),l=new RegExp(a).exec(n.value);(l===null||l[0]!==n.value)&&n.addError({type:this.config.type,message:this.config.explanation||{t:"regexp",matcher:this.config.matcher}})}}const Pl=De.coerce.number(),Rl=De.coerce.string(),Vl=De.preprocess(r=>r instanceof Array?new Set(r):r,De.set(De.string())),zl=De.preprocess(r=>!(r instanceof Map)&&r instanceof Object?new Map(Object.entries(r)):r,De.map(ml,De.string())),Ul=De.record(De.boolean()),Gl=De.preprocess(r=>!(r instanceof Map)&&r instanceof Object?new Map(Object.entries(r)):r,De.map(De.string(),De.string()));class is{constructor(t,n){pe(this,"questionnaire");pe(this,"values");pe(this,"originalValues");pe(this,"beenActives");pe(this,"errors");pe(this,"visibility");pe(this,"changeHandlers");pe(this,"flags");pe(this,"textvars");pe(this,"activeQuestionKey");pe(this,"calculations");this.questionnaire=t,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.calculations=new Fi(t.sexpVariables,this),this.validate(),this.calculateVisibility()}cleanValue(t){if(!(this.values[t]===void 0||!this.isVisible(t)&&!this.isDisabled(t)))return this.values[t]}cleanValues(){const t=Object.keys(this.values).filter(n=>this.values[n]&&this.isVisible(n)&&!this.isDisabled(n));return Gt.pick(this.values,t)}onChange(t){this.changeHandlers.push(t)}offChange(t){Gt.pull(this.changeHandlers,t)}getFieldState(t){const n=this.errors.get(t)||[];return{key:t,value:this.values[t],showErrors:this.beenActives.has(t)&&!this.isDisabled(t)&&n.length>0,valid:n.length===0,errors:n,hidden:!this.isVisible(t),disabled:this.isDisabled(t),isActiveQuestion:this.activeQuestionKey===t,setAsActiveQuestion:()=>this.setActiveQuestion(t),setValue:a=>this.setValue(t,a)}}getValidationFieldState(t){return{value:this.values[t],addError:n=>this.addError(t,n)}}setTextvar(t,n){n?this.textvars.set(t,n):this.textvars.set(t,this.questionnaire.textvars.find(a=>a.key===t).default)}initTextvars(t){const n=new Map;for(const a of this.questionnaire.textvars)n.set(a.key,t.get(a.key)??a.default);for(const a of Object.values(this.questionnaire.questions)){const o=this.cleanValue(a.key);typeof o=="string"&&"setsTextvar"in a&&a.setsTextvar&&n.set(a.setsTextvar,o)}return n}setValue(t,n){const a=this.questionnaire.getField(t);this.values[t]=n,(n===null||typeof n=="string")&&"setsTextvar"in a&&a.setsTextvar&&this.setTextvar(a.setsTextvar,n),this.validate(),this.calculations.handleValueChanged(t),this.calculateVisibility(),this.changeHandlers.forEach(o=>o(this,"valueChanged"))}setActiveQuestion(t){this.activeQuestionKey!==t&&(this.activeQuestionKey&&this.touchField(this.activeQuestionKey),this.activeQuestionKey=t,this.changeHandlers.forEach(n=>n(this)))}addError(t,n){const a=this.errors.get(t)||[];a.push(n),this.errors.set(t,a)}valueHasChanged(){for(const t in this.questionnaire.questions){const n=Kl(this.values[t]),a=Kl(this.originalValues[t]);if(!Gt.isEqual(n,a))return!0}return!1}touchAllFields(){Object.values(this.questionnaire.questions).forEach(t=>{this.touchField(t.key)})}touchPanelFields(t){t.questionKeys.forEach(n=>{this.touchField(n)})}touchField(t){if(this.beenActives.has(t))return;this.questionnaire.getQuestionsInSameGroup(t).forEach(a=>{this.beenActives.add(a.key),this.values[a.key]===void 0&&this.setValue(a.key,null)})}firstNotValidQuestionInPanel(t){return t.questionKeys.find(n=>{if(!this.isVisible(n)||this.isDisabled(n))return!1;if((this.errors.get(n)||[]).length>0)return!0})||null}firstNotValidQuestion(){const t=this.questionnaire.panels.find(n=>this.firstNotValidQuestionInPanel(n));return t==null?null:this.firstNotValidQuestionInPanel(t)}validate(){this.errors=new Map,this.questionnaire.validations.forEach(t=>{const n=xl(t);n&&n.validate(this)})}validEnoughForForcedSave(){for(const t of this.errors.values())if(!t.every(n=>_l.includes(n.type)))return!1;return!0}calculateVisibility(){const t=Object.keys(this.calculations.questionKeyToCalculationKeys).reduce((a,o)=>(a[o]=this.isVisible(o),a),{});this.visibility=new Map;let n=null;this.questionnaire.visibilityRules.forEach(a=>{n??(n=a.questionKey),a.questionKey!==n&&(t[n]&&t[n]!==this.isVisible(n)&&this.calculations.handleValueChanged(n),n=a.questionKey),a.runAgainst(this)})}markShown(t){const n=this.visibility.get(t)||{shown:!1,hidden:!1};n.shown=!0,this.visibility.set(t,n)}markHidden(t){const n=this.visibility.get(t)||{shown:!1,hidden:!1};n.hidden=!0,this.visibility.set(t,n)}isDisabled(t){const n=this.questionnaire.getField(t);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(t){const n=this.visibility.get(t)||{shown:!1,hidden:!1},a=n.shown||!n.hidden,o=this.questionnaire.getField(t);return o.parentKey?a&&this.isVisible(o.parentKey):a}numberValue(t){const n=this.cleanValue(t);switch(this.questionnaire.getField(t).type){case"integer":case"float":return n;case"select":case"radio":case"scale":return n?this.questionnaire.getOptionNumberValue(t,n):null}return null}}function Kl(r){return r===""||r==null||r instanceof Set&&r.size===0||r instanceof Map&&r.size===0?null:r}const Zl=new Qa({key:"test",title:"test",language:"nl",panels:[],questions:{},visibilityRules:[],textvars:{},validations:[]}),Jg=new is(Zl,{value:{},flags:{},textvars:new Map}),Yg={displayMode:"paged",darkMode:!1,newLayout:!0},Qg=(r,t)=>null,Pi=B.createContext({questionnaire:Zl,response:Jg,setQuestionRef:Qg,displayOptions:Yg});class as extends Error{}const Wl=(r,t)=>{let n=r.value;return Gt.isEmpty(n)&&!Gt.isEmpty(t.defaultAnswerValue)&&(n=t.defaultAnswerValue),{flags:Ul.parse(r.flags),textvars:Gl.parse(r.textvars),value:Xg(n,t)}},Xg=(r,t)=>{const n=De.record(De.string(),De.any()).parse(r);return Object.values(t.questions).reduce((a,o)=>{const l=n[o.key];if(l==null)return a;switch(o.type){case"integer":case"float":a[o.key]=Pl.parse(l);break;case"string":case"textarea":a[o.key]=Rl.parse(l);break;case"select":case"scale":case"radio":a[o.key]=eh(l,o,t);break;case"check_box":a[o.key]=th(l,o);break;case"date_parts":a[o.key]=zl.parse(l);break}return a},{})},eh=(r,t,n)=>{const a=De.string().parse(r);if(!n.getFlatOptions(t.key).some(l=>l.key===a))throw new as(`wrong option key ${a} present for ${t.key}`);return a},th=(r,t)=>{const n=Vl.parse(r);return n.forEach(a=>{if(!t.children.some(o=>o.key===a))throw new as(`wrong option key ${a} present for ${t.key}`)}),n},$l=/\{\{((?<type>[a-z_]+)\.(?<textvar>[a-z0-9]+)|(?<textvaronly>[a-z0-9_]+))\}\}/g;class Hl{constructor(t,n){pe(this,"response");pe(this,"questionnaire");pe(this,"stringToVariables");this.response=t,this.questionnaire=n,this.stringToVariables=new Map,this.interpolateCurlies=this.interpolateCurlies.bind(this)}interpolateCurlies(t){return this.stringToVariables.has(t)||this.stringToVariables.set(t,Array.from(t.matchAll($l)).map(n=>n.groups.textvar)),this.stringToVariables.get(t).length==0?t:t.replace($l,(...n)=>{var p;const{type:a,textvar:o,textvaronly:l}=n[n.length-1],c=a==="calculation"?(p=this.response.calculations.getResult(o))==null?void 0:p.toString():this.response.textvars.get(`${this.questionnaire.key}_${o||l}`);return Gt.escape(c||"")})}}var ql={exports:{}};/*!
|
|
66
40
|
Copyright (c) 2018 Jed Watson.
|
|
67
41
|
Licensed under the MIT License (MIT), see
|
|
68
42
|
http://jedwatson.github.io/classnames
|
|
69
|
-
*/(function(r){(function(){var e={}.hasOwnProperty;function n(){for(var a=[],o=0;o<arguments.length;o++){var c=arguments[o];if(c){var v=typeof c;if(v==="string"||v==="number")a.push(c);else if(Array.isArray(c)){if(c.length){var x=n.apply(null,c);x&&a.push(x)}}else if(v==="object"){if(c.toString!==Object.prototype.toString&&!c.toString.toString().includes("[native code]")){a.push(c.toString());continue}for(var y in c)e.call(c,y)&&c[y]&&a.push(y)}}}return a.join(" ")}r.exports?(n.default=n,r.exports=n):window.classNames=n})()})(gh);var ib=gh.exports;const Mn=yp(ib);class ab{constructor(e,n){Tt(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 md(r,e){const[n,a]=Ee.useState(r);return{onChange:o=>{const c=e(o.target.value);c!==n&&a(c)},value:n||r||"",onBlur:()=>{a(void 0)}}}function ob(r,e){return["Control","Alt","Fn","Meta"].every(n=>e.includes(n)?r.getModifierState(n):!r.getModifierState(n))}const sb=(r,e,n)=>{const a=o=>{var x;let c=document.activeElement;if(c!=null&&c.shadowRoot&&(c=c.shadowRoot.activeElement),c!==document.body&&!((x=n.current)!=null&&x.contains(c))||!r.activeQuestionKey)return;const v=e.questions[r.activeQuestionKey];if(!(v.type!=="radio"&&v.type!=="scale"&&v.type!=="select")&&o.code.startsWith("Digit")&&ob(o,[])){const y=parseInt(o.code.slice(5)),E=v.children.filter(B=>B.type==="option");y>=1&&y<=E.length&&(r.setValue(r.activeQuestionKey,E[y-1].key),o.preventDefault())}};Ee.useEffect(()=>(document.addEventListener("keydown",a),()=>document.removeEventListener("keydown",a)))},lb=["option-gap-y","question-mb-factor"],mh=r=>r&&Da.mapKeys(Da.pick(r,lb),(e,n)=>`--${n}`),ub=({max:r,current:e})=>{const{t:n}=Ps();return r<=1?null:j.jsx("div",{className:"progress-bar",children:j.jsxs("div",{className:"progress-wrapper",children:[j.jsx("div",{className:Mn("progress-slider",{"long-list":r>25}),children:Array.from({length:r},(a,o)=>j.jsx("span",{className:Mn("progress-stop",`step-${o+1}`,{active:o<=e,"first-child":o===0,"last-child":o===r-1,current:o===e}),children:o+1},o))}),j.jsx("div",{className:"progress-details",children:n("step_i_of_n",{i:e+1,n:r})})]})})},cb=({item:r})=>{const e=Ee.useContext(Ko);return j.jsx("div",{className:"item",children:j.jsx("div",{className:"prose text",dangerouslySetInnerHTML:{__html:e(r.html)}})})},Pi=({question:r})=>{const e=Ee.useContext(Ko);if(!r.title)return null;const n=e(r.title),a=`answer_${r.key}`,o=r.description?"mb-1":"mb-2";return j.jsx("div",{className:`${o} main`,children:j.jsx("label",{htmlFor:a,dangerouslySetInnerHTML:{__html:n}})})},Di=r=>{const e=Ee.useContext(Ko);if(!r.question.description)return null;const n=e(r.question.description);return j.jsx("div",{className:"font-light description prose",dangerouslySetInnerHTML:{__html:n}})},db=({fieldState:r})=>r.showErrors?j.jsx(j.Fragment,{children:r.errors.map(e=>j.jsx(fb,{error:e},e.type))}):null,fb=({error:r})=>{const e=Mn("error",r.type),n=pb(r.message);return j.jsx("div",{className:e,children:n})};function pb(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=Ee.useRef(null);a(e.key,o);const c=Mn("item","question",e.type,e.presentation,e.questionGroup,e.as,{errors:n.showErrors,active:n.isActiveQuestion,indent:(e.indent||0)>0});return j.jsxs(j.Fragment,{children:[e.contextDescription&&j.jsx(hb,{html:e.contextDescription}),j.jsxs("div",{className:c,ref:o,style:mh(e.cssVars),children:[j.jsx(db,{fieldState:n}),r.children]})]})},hb=({html:r})=>{const e=Ee.useContext(Ko);return j.jsx("div",{className:"context-description prose",dangerouslySetInnerHTML:{__html:e(r)}})},gb=({question:r,fieldState:e,setQuestionRef:n})=>{var c;const a=md((c=e.value)==null?void 0:c.toString(),v=>{if(e.value&&v.startsWith(e.value)&&v.slice(e.value.length).match(/^\s+$/))return v;e.setValue(v.trim()||null)}),o=Mn(r.type,{"w-full":!r.size,sized:!!r.size,subitem:!1});return j.jsxs(Li,{question:r,fieldState:e,setQuestionRef:n,children:[j.jsx(Pi,{question:r}),j.jsxs("div",{className:"description-and-fields",children:[j.jsx(Di,{question:r}),j.jsx("div",{className:"fields",id:mb(r),children:j.jsx("input",{type:"text",className:o,size:r.size??void 0,onFocus:e.setAsActiveQuestion,disabled:e.disabled,...a})})]})]})};function mb(r){return`answer_${r.key}_input`}const vb=({question:r,fieldState:e,setQuestionRef:n})=>{const a=Mn("fields");return j.jsxs(Li,{question:r,fieldState:e,setQuestionRef:n,children:[j.jsx(Pi,{question:r}),j.jsxs("div",{className:"description-and-fields",children:[j.jsx(Di,{question:r}),j.jsx("div",{className:a,id:xb(r),children:j.jsx("table",{cellSpacing:"0",width:"100%",children:j.jsx("tbody",{children:j.jsx("tr",{children:r.children.map((o,c)=>j.jsx(bb,{question:r,option:o,index:c,fieldState:e},o.key))})})})})]})]})},bb=({question:r,option:e,index:n,fieldState:a})=>{if(e.hidden&&a.value!==e.key)return null;const o=Mn("option text-center align-top",{first:n<=0,last:n>=r.children.length-1}),c=Mn(r.type,{subinput:!1,deselectable:!1}),v=a.value===e.key,x=E=>a.setValue(e.key),y=()=>{v&&a.setValue(null)};return j.jsxs("td",{className:o,style:{width:`${100/r.children.length}%`},children:[j.jsx(wb,{question:r,option:e}),j.jsxs("span",{children:[j.jsx("input",{type:"radio",name:r.key,id:e.viewId,className:c,disabled:a.disabled,checked:v,onChange:x,onClick:y,onFocus:a.setAsActiveQuestion}),j.jsx("br",{}),j.jsx(yb,{option:e})]})]})},yb=({option:r})=>{const e=Ee.useContext(Ko),n=r.label||r.description;return n?j.jsx("label",{htmlFor:r.viewId,children:j.jsx("span",{dangerouslySetInnerHTML:{__html:e(n)}})}):null},wb=({question:r,option:e})=>r.showValues?j.jsx("div",{className:"value",children:e.value}):null;function xb(r){return`answer_${r.key}_input`}const vh=({questions:r})=>r.length==0?null:j.jsx("div",{className:"subquestions mt-1",children:r.map(e=>j.jsx(Th,{fieldKey:e.key}))}),Sb=({question:r,fieldState:e,setQuestionRef:n})=>{const a=Mn("fields",r.presentation!=="horizontal"?`options${r.children.length}`:null);return j.jsxs(Li,{question:r,fieldState:e,setQuestionRef:n,children:[j.jsx(Pi,{question:r}),j.jsxs("div",{className:"description-and-fields",children:[j.jsx(Di,{question:r}),j.jsx("div",{className:a,id:Cb(r),children:r.children.map((o,c)=>o.type==="option"?j.jsx(kb,{question:r,option:o,index:c,fieldState:e},o.key):j.jsx("div",{className:"inner-title",dangerouslySetInnerHTML:{__html:o.html}},o.key))})]})]})},kb=({question:r,option:e,fieldState:n})=>{if(e.hidden&&n.value!==e.key)return null;const a=Mn("option",{show_values:r.showValues||!1}),o=Mn(r.type,{subinput:!1,deselectable:!1}),c=n.value===e.key,v=y=>n.setValue(e.key),x=y=>{c&&n.setValue(null)};return j.jsxs("div",{className:a,children:[j.jsx("div",{className:"inline radiocheckwrapper",children:j.jsx("input",{type:"radio",name:r.key,id:e.viewId,className:o,disabled:n.disabled,checked:c,onChange:v,onClick:x,onFocus:n.setAsActiveQuestion})}),j.jsx(Eb,{question:r,option:e}),j.jsx(_b,{option:e}),j.jsx(vh,{questions:e.questions})]})},_b=({option:r})=>{const e=Ee.useContext(Ko);if(!r.label&&!r.description)return null;const n=r.label||r.description,a=r.label?r.description:void 0;return j.jsxs("div",{className:"inline labelwrapper",children:[j.jsx("label",{htmlFor:r.viewId,"aria-describedby":a&&`${r.viewId}_description`,children:j.jsx("span",{dangerouslySetInnerHTML:{__html:e(n)}})}),a&&j.jsx("div",{className:"de-em",id:`${r.viewId}_description`,dangerouslySetInnerHTML:{__html:e(a||"")}})]})},Eb=({question:r,option:e})=>r.showValues?j.jsx("div",{className:"inline value",children:e.value}):null;function Cb(r){return`answer_${r.key}_input`}const Tb=({question:r,fieldState:e,setQuestionRef:n})=>{const a=c=>{e.setValue(c.target.value)},o=Mn("fields",r.presentation!=="horizontal"?`options${r.children.length}`:null);return j.jsxs(Li,{question:r,fieldState:e,setQuestionRef:n,children:[j.jsx(Pi,{question:r}),j.jsxs("div",{className:"description-and-fields",children:[j.jsx(Di,{question:r}),j.jsx("div",{className:o,id:Ib(r),children:j.jsxs("select",{onChange:a,value:e.value||void 0,onFocus:e.setAsActiveQuestion,disabled:e.disabled,children:[r.placeholder?j.jsx("option",{className:"placeholder",children:r.placeholder},"placeholder"):null,r.children.map(c=>c.type==="optgroup"?j.jsx(Rb,{label:c.label,options:c.options,fieldState:e},c.key):j.jsx(bh,{option:c,fieldState:e},c.key))]})})]})]})},Rb=({label:r,options:e,fieldState:n})=>j.jsx("optgroup",{label:r,children:e.map(a=>j.jsx(bh,{option:a,fieldState:n},a.key))}),bh=({option:r,fieldState:e})=>r.hidden&&e.value!==r.key?null:j.jsx("option",{value:r.key,disabled:!1,children:r.label||r.description});function Ib(r){return`answer_${r.key}_input`}const Ab=({question:r,fieldState:e,setQuestionRef:n})=>j.jsxs(Li,{question:r,fieldState:e,setQuestionRef:n,children:[j.jsx(Pi,{question:r}),j.jsxs("div",{className:"description-and-fields",children:[j.jsx(Di,{question:r}),j.jsxs("div",{className:"fields",id:Ob(r),children:[j.jsx(yh,{question:r,parts:["year","month","day"],fieldState:e}),j.jsx(yh,{question:r,parts:["hour","minute"],fieldState:e})]})]})]}),yh=({question:r,parts:e,fieldState:n})=>{const{t:a}=Ps(),o=(v,x)=>{const y=new Map(n.value||[]),E=v.target.value.trim();E?y.set(x,E):y.delete(x),y.size===0?n.setValue(null):n.setValue(y)},c=r.dateParts.filter(v=>e.includes(v.part));return c.length===0?null:j.jsxs("div",{className:"mb-2 ",children:[c.flatMap(v=>{var x;return[j.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:y=>o(y,v.part),size:v.part==="year"?5:3,onFocus:n.setAsActiveQuestion},v.part),Da.isEqual(e,["hour","minute"])&&v.part==="hour"&&j.jsx("span",{className:"mr-1",children:":"},"colon")]}),c.flatMap(v=>[j.jsx("span",{className:"mr-1",children:a(v.part)},`label_${v.part}`),Da.isEqual(e,["hour","minute"])&&v.part==="hour"&&j.jsx("span",{className:"mr-1",children:":"},"label_colon")])]})};function Ob(r){return`answer_${r.key}_input`}const Mb=({question:r,fieldState:e,setQuestionRef:n})=>{var v;const{t:a}=Ps(),o=md((v=e.value)==null?void 0:v.toString(),x=>{if(["-"].includes(x))return x;const y=parseInt(x,10);isNaN(y)?e.setValue(null):e.setValue(y)}),c=Mn(r.type,{subitem:!1});return j.jsxs(Li,{question:r,fieldState:e,setQuestionRef:n,children:[j.jsx(Pi,{question:r}),j.jsxs("div",{className:"description-and-fields",children:[j.jsx(Di,{question:r}),j.jsxs("div",{className:"fields",id:Fb(r),children:[j.jsx("input",{type:"text",className:c,disabled:e.disabled,size:r.size,onFocus:e.setAsActiveQuestion,...o}),r.unit&&j.jsxs("span",{className:"unit",children:[" ",a(`units.${r.unit}`,{defaultValue:r.unit})]})]})]})]})};function Fb(r){return`answer_${r.key}_input`}const Pb=({question:r,fieldState:e,setQuestionRef:n})=>{var v;const{t:a}=Ps(),o=md((v=e.value)==null?void 0:v.toString(),x=>{if(["-",".",`${e.value}.`].includes(x))return x;x[0]==="."&&(x=`0${x}`);const y=parseFloat(x);isNaN(y)?e.setValue(null):e.setValue(y)}),c=Mn(r.type,{sized:!!r.size,subitem:!1});return j.jsxs(Li,{question:r,fieldState:e,setQuestionRef:n,children:[j.jsx(Pi,{question:r}),j.jsxs("div",{className:"description-and-fields",children:[j.jsx(Di,{question:r}),j.jsxs("div",{className:"fields",id:Db(r),children:[j.jsx("input",{type:"text",className:c,disabled:e.disabled,size:r.size,onFocus:e.setAsActiveQuestion,...o}),r.unit&&j.jsxs("span",{className:"unit",children:[" ",a(`units.${r.unit}`,{defaultValue:r.unit})]})]})]})]})};function Db(r){return`answer_${r.key}_input`}var lf={},uf={},cf={},vd={};(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={}))})(vd),function(r){var e=er&&er.__spreadArray||function(ye,Se,Ae){if(Ae||arguments.length===2)for(var Be=0,Ye=Se.length,He;Be<Ye;Be++)(He||!(Be in Se))&&(He||(He=Array.prototype.slice.call(Se,0,Be)),He[Be]=Se[Be]);return ye.concat(He||Array.prototype.slice.call(Se))};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=Ee,a=vd,o=function(ye){var Se=ye.toString().split(".")[1];return Se?Se.length:0};r.getStepDecimals=o;function c(ye){return ye.touches&&ye.touches.length||ye.changedTouches&&ye.changedTouches.length}r.isTouchEvent=c;function v(ye,Se,Ae){var Be=(Se-ye)/Ae,Ye=8,He=Number(Be.toFixed(Ye));return parseInt(He.toString(),10)===He}r.isStepDivisible=v;function x(ye,Se,Ae,Be,Ye,He,je){var ze=1e11;if(ye=Math.round(ye*ze)/ze,!He){var ht=je[Se-1],oe=je[Se+1];if(ht&&ht>ye)return ht;if(oe&&oe<ye)return oe}if(ye>Be)return Be;if(ye<Ae)return Ae;var ue=Math.floor(ye*ze-Ae*ze)%Math.floor(Ye*ze),Oe=Math.floor(ye*ze-Math.abs(ue)),Ze=ue===0?ye:Oe/ze,Pe=Math.abs(ue/ze)<Ye/2?Ze:Ze+Ye,Fe=(0,r.getStepDecimals)(Ye);return parseFloat(Pe.toFixed(Fe))}r.normalizeValue=x;function y(ye,Se,Ae){return(ye-Se)/(Ae-Se)}r.relativeValue=y;function E(ye){return ye===a.Direction.Up||ye===a.Direction.Down}r.isVertical=E;function B(ye,Se,Ae){if(Se>=Ae)throw new RangeError("min (".concat(Se,") is equal/bigger than max (").concat(Ae,")"));if(ye<Se)throw new RangeError("value (".concat(ye,") is smaller than min (").concat(Se,")"));if(ye>Ae)throw new RangeError("value (".concat(ye,") is bigger than max (").concat(Ae,")"))}r.checkBoundaries=B;function F(ye,Se,Ae){return ye<Se?Se:ye>Ae?Ae:ye}r.checkValuesAgainstBoundaries=F;function V(ye){if(!(ye.length<2)&&!ye.slice(1).every(function(Se,Ae){return ye[Ae]<=Se}))throw new RangeError("values={[".concat(ye,"]} needs to be sorted when allowOverlap={false}"))}r.checkInitialOverlap=V;function ge(ye){var Se=window.getComputedStyle(ye);return{top:parseInt(Se["margin-top"],10),bottom:parseInt(Se["margin-bottom"],10),left:parseInt(Se["margin-left"],10),right:parseInt(Se["margin-right"],10)}}r.getMargin=ge;function ae(ye){var Se=window.getComputedStyle(ye);return{top:parseInt(Se["padding-top"],10)+parseInt(Se["border-top-width"],10),bottom:parseInt(Se["padding-bottom"],10)+parseInt(Se["border-bottom-width"],10),left:parseInt(Se["padding-left"],10)+parseInt(Se["border-left-width"],10),right:parseInt(Se["padding-right"],10)+parseInt(Se["border-right-width"],10)}}r.getPaddingAndBorder=ae;function we(ye,Se,Ae){var Be=Ae?-1:1;ye.forEach(function(Ye,He){return G(Ye,Be*Se[He].x,Se[He].y)})}r.translateThumbs=we;function Y(ye,Se,Ae,Be){for(var Ye=0,He=Ft(ye[0],Se,Ae,Be),je=1;je<ye.length;je++){var ze=Ft(ye[je],Se,Ae,Be);ze<He&&(He=ze,Ye=je)}return Ye}r.getClosestThumbIndex=Y;function G(ye,Se,Ae){ye.style.transform="translate(".concat(Se,"px, ").concat(Ae,"px)")}r.translate=G;var de=function(ye){var Se=[],Ae=null,Be=function(){for(var Ye=[],He=0;He<arguments.length;He++)Ye[He]=arguments[He];Se=Ye,!Ae&&(Ae=requestAnimationFrame(function(){Ae=null,ye.apply(void 0,Se)}))};return Be};r.schd=de;function he(ye,Se,Ae){var Be=ye.slice(0);return Be[Se]=Ae,Be}r.replaceAt=he;function me(ye){var Se=ye.values,Ae=ye.colors,Be=ye.min,Ye=ye.max,He=ye.direction,je=He===void 0?a.Direction.Right:He,ze=ye.rtl,ht=ze===void 0?!1:ze;ht&&je===a.Direction.Right?je=a.Direction.Left:ht&&a.Direction.Left&&(je=a.Direction.Right);var oe=Se.slice(0).sort(function(Oe,Ze){return Oe-Ze}).map(function(Oe){return(Oe-Be)/(Ye-Be)*100}),ue=oe.reduce(function(Oe,Ze,Pe){return"".concat(Oe,", ").concat(Ae[Pe]," ").concat(Ze,"%, ").concat(Ae[Pe+1]," ").concat(Ze,"%")},"");return"linear-gradient(".concat(je,", ").concat(Ae[0]," 0%").concat(ue,", ").concat(Ae[Ae.length-1]," 100%)")}r.getTrackBackground=me;function ee(){}r.voidFn=ee;function Te(ye){throw new Error("Didn't expect to get here")}r.assertUnreachable=Te;var Ie=function(ye,Se,Ae,Be,Ye){Ye===void 0&&(Ye=function(je){return je});var He=Math.ceil(e([ye],Array.from(ye.children),!0).reduce(function(je,ze){var ht=Math.ceil(ze.getBoundingClientRect().width);if(ze.innerText&&ze.innerText.includes(Ae)&&ze.childElementCount===0){var oe=ze.cloneNode(!0);oe.innerHTML=Ye(Se.toFixed(Be)),oe.style.visibility="hidden",document.body.appendChild(oe),ht=Math.ceil(oe.getBoundingClientRect().width),document.body.removeChild(oe)}return ht>je?ht:je},ye.getBoundingClientRect().width));return He},Lt=function(ye,Se,Ae,Be,Ye,He,je){je===void 0&&(je=function(oe){return oe});var ze=[],ht=function(oe){var ue=Ie(Ae[oe],Be[oe],Ye,He,je),Oe=Se[oe].x;Se.forEach(function(Ze,Pe){var Fe=Ze.x,Me=Ie(Ae[Pe],Be[Pe],Ye,He,je);oe!==Pe&&(Oe>=Fe&&Oe<=Fe+Me||Oe+ue>=Fe&&Oe+ue<=Fe+Me)&&(ze.includes(Pe)||(ze.push(oe),ze.push(Pe),ze=e(e([],ze,!0),[oe,Pe],!1),ht(Pe)))})};return ht(ye),Array.from(new Set(ze.sort()))},ft=function(ye,Se,Ae,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)({}),ht=ze[0],oe=ze[1],ue=(0,n.useState)(He(Se[Ae].toFixed(je))),Oe=ue[0],Ze=ue[1];return(0,n.useEffect)(function(){if(ye){var Pe=ye.getThumbs();if(Pe.length<1)return;var Fe={},Me=ye.getOffsets(),qe=Lt(Ae,Me,Pe,Se,Ye,je,He),tt=He(Se[Ae].toFixed(je));if(qe.length){var Ke=qe.reduce(function(mt,fn,zn,Sn){return mt.length?e(e([],mt,!0),[Me[Sn[zn]].x],!1):[Me[Sn[zn]].x]},[]);if(Math.min.apply(Math,Ke)===Me[Ae].x){var rt=[];qe.forEach(function(mt){rt.push(Se[mt].toFixed(je))}),tt=Array.from(new Set(rt.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),At=Pe[qe[Ke.indexOf(_e)]].getBoundingClientRect().width;Fe.left="".concat(Math.abs(kt-(_e+At))/2,"px"),Fe.transform="translate(-50%, 0)"}else Fe.visibility="hidden"}Ze(tt),oe(Fe)}},[ye,Se]),[Oe,ht]};r.useThumbOverlap=ft;function Ft(ye,Se,Ae,Be){var Ye=ye.getBoundingClientRect(),He=Ye.left,je=Ye.top,ze=Ye.width,ht=Ye.height;return E(Be)?Math.abs(Ae-(je+ht/2)):Math.abs(Se-(He+ze/2))}}(cf);var Lb=er&&er.__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)}}(),Bb=er&&er.__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]}),Nb=er&&er.__setModuleDefault||(Object.create?function(r,e){Object.defineProperty(r,"default",{enumerable:!0,value:e})}:function(r,e){r.default=e}),jb=er&&er.__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)&&Bb(e,r,n);return Nb(e,r),e},wh=er&&er.__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(uf,"__esModule",{value:!0});var bd=jb(Ee),Zt=cf,tr=vd,zb=["ArrowRight","ArrowUp","k","PageUp"],Ub=["ArrowLeft","ArrowDown","j","PageDown"],Vb=function(r){Lb(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,v=o.values,x=o.min,y=o.max,E=a.trackRef.current,B=E.getBoundingClientRect(),F=(0,Zt.getPaddingAndBorder)(E);return a.getThumbs().map(function(V,ge){var ae={x:0,y:0},we=V.getBoundingClientRect(),Y=(0,Zt.getMargin)(V);switch(c){case tr.Direction.Right:return ae.x=(Y.left+F.left)*-1,ae.y=((we.height-B.height)/2+F.top)*-1,ae.x+=B.width*(0,Zt.relativeValue)(v[ge],x,y)-we.width/2,ae;case tr.Direction.Left:return ae.x=(Y.right+F.right)*-1,ae.y=((we.height-B.height)/2+F.top)*-1,ae.x+=B.width-B.width*(0,Zt.relativeValue)(v[ge],x,y)-we.width/2,ae;case tr.Direction.Up:return ae.x=((we.width-B.width)/2+Y.left+F.left)*-1,ae.y=-F.left,ae.y+=B.height-B.height*(0,Zt.relativeValue)(v[ge],x,y)-we.height/2,ae;case tr.Direction.Down:return ae.x=((we.width-B.width)/2+Y.left+F.left)*-1,ae.y=-F.left,ae.y+=B.height*(0,Zt.relativeValue)(v[ge],x,y)-we.height/2,ae;default:return(0,Zt.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)if(o.persist(),o.preventDefault(),a.addMouseEvents(o.nativeEvent),a.props.values.length>1&&a.props.draggableTrack){if(a.thumbRefs.some(function(x){var y;return(y=x.current)===null||y===void 0?void 0:y.contains(o.target)}))return;a.setState({draggedTrackPos:[o.clientX,o.clientY]},function(){return a.onMove(o.clientX,o.clientY)})}else{var v=(0,Zt.getClosestThumbIndex)(a.thumbRefs.map(function(x){return x.current}),o.clientX,o.clientY,a.props.direction);(c=a.thumbRefs[v].current)===null||c===void 0||c.focus(),a.setState({draggedThumbIndex:v},function(){return a.onMove(o.clientX,o.clientY)})}},a.onResize=function(){(0,Zt.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(x){var y;return(y=x.current)===null||y===void 0?void 0:y.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,Zt.getClosestThumbIndex)(a.thumbRefs.map(function(x){return x.current}),o.touches[0].clientX,o.touches[0].clientY,a.props.direction);(c=a.thumbRefs[v].current)===null||c===void 0||c.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 c=(0,Zt.isTouchEvent)(o);if(!(!c&&o.button!==0)){var v=a.getTargetIndex(o);v!==-1&&(c?a.addTouchEvents(o):a.addMouseEvents(o),a.setState({draggedThumbIndex:v,thumbZIndexes:a.state.thumbZIndexes.map(function(x,y){return y===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 c=a.props,v=c.values,x=c.onChange,y=c.step,E=c.rtl,B=c.direction,F=a.state.isChanged,V=a.getTargetIndex(o.nativeEvent),ge=E||B===tr.Direction.Left||B===tr.Direction.Down?-1:1;V!==-1&&(zb.includes(o.key)?(o.preventDefault(),a.setState({draggedThumbIndex:V,isChanged:!0}),x((0,Zt.replaceAt)(v,V,a.normalizeValue(v[V]+ge*(o.key==="PageUp"?y*10:y),V)))):Ub.includes(o.key)?(o.preventDefault(),a.setState({draggedThumbIndex:V,isChanged:!0}),x((0,Zt.replaceAt)(v,V,a.normalizeValue(v[V]-ge*(o.key==="PageDown"?y*10:y),V)))):o.key==="Tab"?a.setState({draggedThumbIndex:-1},function(){F&&a.fireOnFinalChange()}):F&&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 v=a.state,x=v.draggedThumbIndex,y=v.draggedTrackPos,E=a.props,B=E.direction,F=E.min,V=E.max,ge=E.onChange,ae=E.values,we=E.step,Y=E.rtl;if(x===-1&&y[0]===-1&&y[1]===-1)return null;var G=a.trackRef.current;if(!G)return null;var de=G.getBoundingClientRect(),he=(0,Zt.isVertical)(B)?de.height:de.width;if(y[0]!==-1&&y[1]!==-1){var me=o-y[0],ee=c-y[1],Te=0;switch(B){case tr.Direction.Right:case tr.Direction.Left:Te=me/he*(V-F);break;case tr.Direction.Down:case tr.Direction.Up:Te=ee/he*(V-F);break;default:(0,Zt.assertUnreachable)(B)}if(Y&&(Te*=-1),Math.abs(Te)>=we/2){for(var Ie=0;Ie<a.thumbRefs.length;Ie++){if(ae[Ie]===V&&Math.sign(Te)===1||ae[Ie]===F&&Math.sign(Te)===-1)return;var Lt=ae[Ie]+Te;Lt>V?Te=V-ae[Ie]:Lt<F&&(Te=F-ae[Ie])}for(var ft=ae.slice(0),Ie=0;Ie<a.thumbRefs.length;Ie++)ft=(0,Zt.replaceAt)(ft,Ie,a.normalizeValue(ae[Ie]+Te,Ie));a.setState({draggedTrackPos:[o,c]}),ge(ft)}}else{var Ft=0;switch(B){case tr.Direction.Right:Ft=(o-de.left)/he*(V-F)+F;break;case tr.Direction.Left:Ft=(he-(o-de.left))/he*(V-F)+F;break;case tr.Direction.Down:Ft=(c-de.top)/he*(V-F)+F;break;case tr.Direction.Up:Ft=(he-(c-de.top))/he*(V-F)+F;break;default:(0,Zt.assertUnreachable)(B)}Y&&(Ft=V+F-Ft),Math.abs(ae[x]-Ft)>=we/2&&ge((0,Zt.replaceAt)(ae,x,a.normalizeValue(Ft,x)))}},a.normalizeValue=function(o,c){var v=a.props,x=v.min,y=v.max,E=v.step,B=v.allowOverlap,F=v.values;return(0,Zt.normalizeValue)(o,c,x,y,E,B,F)},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,v=o.values;c&&c(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 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),v=parseInt(o.height,10),x=parseInt(o.paddingLeft,10),y=parseInt(o.paddingTop,10),E=[],B=0;B<a.numOfMarks+1;B++){var F=9999,V=9999;if(a.markRefs[B].current){var ge=a.markRefs[B].current.getBoundingClientRect();F=ge.height,V=ge.width}a.props.direction===tr.Direction.Left||a.props.direction===tr.Direction.Right?E.push([Math.round(c/a.numOfMarks*B+x-V/2),-Math.round((F-v)/2)]):E.push([Math.round(v/a.numOfMarks*B+y-F/2),-Math.round((V-c)/2)])}a.setState({markOffsets:E})}},n.step===0)throw new Error('"step" property should be a positive number');return a.schdOnMouseMove=(0,Zt.schd)(a.onMouseMove),a.schdOnTouchMove=(0,Zt.schd)(a.onTouchMove),a.schdOnEnd=(0,Zt.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,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,Zt.checkInitialOverlap)(this.props.values),this.props.values.forEach(function(x){return(0,Zt.checkBoundaries)(x,n.props.min,n.props.max)}),this.resizeObserver.observe(this.trackRef.current),(0,Zt.translateThumbs)(this.getThumbs(),this.getOffsets(),this.props.rtl),this.calculateMarkOffsets(),o.forEach(function(x){(0,Zt.isStepDivisible)(c,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,c=o.max,v=o.min,x=o.step,y=o.values,E=o.rtl;(n.max!==c||n.min!==v||n.step!==x)&&this.updateMarkRefs(this.props),(0,Zt.translateThumbs)(this.getThumbs(),this.getOffsets(),E),(n.max!==c||n.min!==v||n.step!==x||a.markOffsets.length!==this.state.markOffsets.length)&&(this.calculateMarkOffsets(),y.forEach(function(B){(0,Zt.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,c=a.renderThumb,v=a.renderMark,x=v===void 0?function(){return null}:v,y=a.values,E=a.min,B=a.max,F=a.allowOverlap,V=a.disabled,ge=this.state,ae=ge.draggedThumbIndex,we=ge.thumbZIndexes,Y=ge.markOffsets;return o({props:{style:{transform:"scale(1)",cursor:ae>-1?"grabbing":this.props.draggableTrack?(0,Zt.isVertical)(this.props.direction)?"ns-resize":"ew-resize":y.length===1&&!V?"pointer":"inherit"},onMouseDown:V?Zt.voidFn:this.onMouseDownTrack,onTouchStart:V?Zt.voidFn:this.onTouchStartTrack,ref:this.trackRef},isDragged:this.state.draggedThumbIndex>-1,disabled:V,children:wh(wh([],Y.map(function(G,de,he){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(de),ref:n.markRefs[de]},index:de})}),!0),y.map(function(G,de){var he=n.state.draggedThumbIndex===de;return c({index:de,value:G,isDragged:he,props:{style:{position:"absolute",zIndex:we[de],cursor:V?"inherit":he?"grabbing":"grab",userSelect:"none",touchAction:"none",WebkitUserSelect:"none",MozUserSelect:"none",msUserSelect:"none"},key:de,tabIndex:V?void 0:0,"aria-valuemax":F?B:y[de+1]||B,"aria-valuemin":F?E:y[de-1]||E,"aria-valuenow":G,draggable:!1,ref:n.thumbRefs[de],role:"slider",onKeyDown:V?Zt.voidFn:n.onKeyDown,onKeyUp:V?Zt.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}(bd.Component);uf.default=Vb,function(r){var e=er&&er.__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(uf);r.Range=n.default;var a=cf;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=vd;Object.defineProperty(r,"Direction",{enumerable:!0,get:function(){return o.Direction}})}(lf);const df=18,yd=1,xh=9,Yo=16,Sh=4,ff=1,Wb=({question:r,fieldState:e,setQuestionRef:n})=>{const a=E=>{e.setValue(E[0])},o=Ee.useRef(null),c=ey(r.labels,o),v=e.value==null,x=e.value??r.defaultPosition,y=Zb(r);return j.jsxs(Li,{question:r,fieldState:e,setQuestionRef:n,children:[j.jsx(Pi,{question:r}),j.jsxs("div",{className:"description-and-fields",children:[j.jsx(Di,{question:r}),j.jsx("div",{className:"fields mt-3",ref:o,style:{height:df+c.height},children:j.jsx(lf.Range,{values:[x],onChange:a,min:r.minimum,max:r.maximum,step:r.step,disabled:e.disabled,renderTrack:({props:E,children:B})=>j.jsx("div",{...E,style:{...E.style,...Yb},children:B}),renderThumb:E=>Hb({...E,blank:v||e.disabled,showTooltip:r.valueTooltip,startThumbHidden:r.startThumbHidden,isActiveQuestion:e.isActiveQuestion,onFocus:e.setAsActiveQuestion}),renderMark:({props:E,index:B})=>y[B]!==void 0?$b(E,y[B],c):null})})]})]})},Hb=({props:r,value:e,isDragged:n,blank:a,showTooltip:o,startThumbHidden:c,isActiveQuestion:v,onFocus:x})=>c&&a?j.jsx("div",{...r}):j.jsxs("div",{...r,style:{...r.style,...Kb,...n&&Qb,...v&&Jb,...a&&Xb},onFocus:x,children:[j.jsx("div",{style:{margin:"6px auto",width:"6px",height:"14px",border:"1px solid oklch(var(--foreground))",borderWidth:"0 1px 0 1px"}}),o&&n&&j.jsx("div",{style:qb,children:e})]}),$b=(r,e,{info:n,setRef:a})=>{const o=xh+(n.tops[e.idx]||0),c=e.first?"0 4px 4px":e.last?"4px 0 4px 4px":"4px";return j.jsxs("div",{...r,style:{...r.style,top:df-yd,marginTop:0,width:0},children:[j.jsx("div",{ref:v=>{v&&a(e.idx,v)},style:{position:"absolute",top:o,left:-yd,width:"max-content",maxWidth:n.maxWidths[e.idx],backgroundColor:"oklch(var(--slider-track))",borderRadius:c,border:`${ff}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}}),j.jsx(Gb,{label:e,top:o})]})},Gb=({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 j.jsx("svg",{width:9,height:a,viewBox:`0 0 9 ${a}`,preserveAspectRatio:"none",style:{marginLeft:c,position:"absolute",left:-yd},children:j.jsxs("g",{strokeWidth:ff,children:[j.jsx("line",{x1:"0",y1:a,x2:"9",y2:a,stroke:"oklch(var(--slider-track))"}),j.jsx("path",{d:o,fill:"oklch(var(--slider-track))",strokeLinecap:"square",stroke:"oklch(var(--foreground))"})]})})},Zb=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},Yb={border:`${yd}px solid oklch(var(--foreground))`,background:"oklch(var(--slider-track))",height:df,borderRadius:"2px",marginBottom:"18px"},Kb={height:"28px",width:"34px",backgroundColor:"oklch(var(--background))",border:"1px solid oklch(var(--foreground))",borderRadius:"3px"},Jb={backgroundColor:"rgba(27,124,194,0.7)"},Qb={boxShadow:"inset 0 0 1px #FFF, inset 0 1px 7px #DDD, 0 3px 6px -3px #BBB"},Xb={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)"},qb={position:"absolute",top:"-29px",left:"16px",transform:"translateX(-50%)",backgroundColor:"oklch(var(--slider-track))",border:`${ff}px solid oklch(var(--foreground))`,borderRadius:"4px",padding:"0 4px"},ey=(r,e)=>{const n=Ee.useRef([]),[a,o]=Ee.useState({maxWidths:[],rowHeights:[],tops:[],twoRows:!1}),[c,v]=Ee.useState("getRefs");let x=xh+a.rowHeights[0]||18;return a.rowHeights.length==2&&(x+=Sh+a.rowHeights[1]),Ee.useLayoutEffect(()=>{c==="resize"?(o({...a,twoRows:!1,maxWidths:Array(n.current.length).fill(999)}),v("setWidths")):c==="setWidths"?(ty(n.current,r,e,a,o),v("setHeight")):c==="setHeight"&&(ny(n.current,a,o),v("done"))},[c,r,e,a]),Ee.useLayoutEffect(()=>{if(c!=="done")return;const E=e.current,B=E.offsetWidth,F=new ResizeObserver(()=>{B!==E.offsetWidth&&requestAnimationFrame(()=>v("resize"))});return F.observe(E),()=>{F.unobserve(E)}},[c,e]),{info:a,setRef:(E,B)=>{n.current[E]=B,c==="getRefs"&&n.current.length===r.length&&n.current.every(F=>F!==void 0)&&v("setWidths")},height:x}};function ty(r,e,n,a,o){const c=n.current.offsetWidth;if(e.length===1)o({...a,maxWidths:[c]});else if(ry(r))if(e.length===3&&r[1].offsetWidth<c/3){const v=(c-r[1].offsetWidth)/2-Yo;o({...a,maxWidths:[v,c-v*2-Yo,v]})}else if(e.length===2){const v=r[1].offsetWidth<c/2-Yo?c-r[1].offsetWidth-Yo:c/2-Yo/2,x=c-v-Yo;o({...a,maxWidths:[v,x]})}else{const v=Array(e.length).fill(c/(e.length-1)-Yo/2);v[0]=v[e.length-1]=c/2-Yo,o({...a,twoRows:!0,maxWidths:v})}}function ny(r,e,n){if(e.twoRows){const a=pf(r.slice(1,-1)),o=pf(Da.at(r,0,r.length-1)),c=Array(r.length).fill(0);c[0]=c[r.length-1]=a+Sh,n({...e,rowHeights:[a,o],tops:c})}else n({...e,rowHeights:[pf(r)],tops:Array(r.length).fill(0)})}function pf(r){return Math.max(...r.map(e=>e.getBoundingClientRect().height))}function ry(r){return r.some((e,n)=>n>0&&e.getBoundingClientRect().left-Yo<r[n-1].getBoundingClientRect().right)}const iy=({question:r,fieldState:e,setQuestionRef:n})=>{const a=x=>{e.setValue(x[0])},o=e.value==null,c=e.value||r.defaultPosition,v=sy(r);return j.jsxs(Li,{question:r,fieldState:e,setQuestionRef:n,children:[j.jsx(Pi,{question:r}),j.jsxs("div",{className:"description-and-fields",children:[j.jsx(Di,{question:r}),j.jsx("div",{className:"fields mt-3",children:j.jsx(lf.Range,{values:[c],onChange:a,min:r.minimum,max:r.maximum,step:r.step,disabled:e.disabled,renderTrack:({props:x,children:y})=>j.jsx("div",{...x,style:{...x.style,...ly},children:y}),renderThumb:x=>ay({...x,blank:o||e.disabled,showTooltip:r.valueTooltip,startThumbHidden:r.startThumbHidden,onFocus:e.setAsActiveQuestion}),renderMark:({props:x,index:y})=>v[y]!==void 0?oy(x,v[y]):null})})]})]})},ay=({props:r,value:e,isDragged:n,blank:a,showTooltip:o,startThumbHidden:c,onFocus:v})=>c&&a?j.jsx("div",{...r}):j.jsxs("div",{...r,style:{...r.style,...uy,...n&&cy,...a&&dy},onFocus:v,children:["||",o&&n&&j.jsx("div",{style:fy,children:e})]}),oy=(r,e)=>j.jsx("div",{...r,style:{...r.style,top:"18px",marginTop:0,height:"9px",width:"1px",backgroundColor:"#d3d3d3"},children:j.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}})}),sy=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},ly={border:"1px solid #d3d3d3",background:"#fafafa",height:"18px",borderRadius:"4px",marginBottom:"18px",boxShadow:"inset 0 1px 1px #F0F0F0, 0 3px 6px -5px #BBB"},uy={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"},cy={boxShadow:"inset 0 0 1px #FFF, inset 0 1px 7px #DDD, 0 3px 6px -3px #BBB"},dy={backgroundColor:"rgba(255, 255, 255, .5)",boxShadow:"none",border:"1px solid #D9D9D9"},fy={position:"absolute",top:"-28px",left:"17px",transform:"translateX(-50%)",color:"#000",fontWeight:"bold",padding:"4px"},py=({question:r,fieldState:e,setQuestionRef:n})=>{var c;const a=md((c=e.value)==null?void 0:c.toString(),v=>{if(e.value&&v.startsWith(e.value)&&v.slice(e.value.length).match(/^\s+$/))return v;e.setValue(v.trim()||null)}),o=Mn(r.type,{"w-full":!0,subitem:!1});return j.jsxs(Li,{question:r,fieldState:e,setQuestionRef:n,children:[j.jsx(Pi,{question:r}),j.jsxs("div",{className:"description-and-fields",children:[j.jsx(Di,{question:r}),j.jsx("div",{className:"fields",id:hy(r),children:j.jsx("textarea",{className:o,rows:r.lines,onFocus:e.setAsActiveQuestion,disabled:e.disabled,...a})})]})]})};function hy(r){return`answer_${r.key}_input`}const gy=({question:r,fieldState:e,setQuestionRef:n})=>{const a=Mn("fields",r.presentation!=="horizontal"?`options${r.children.length}`:null);return j.jsxs(Li,{question:r,fieldState:e,setQuestionRef:n,children:[j.jsx(Pi,{question:r}),j.jsxs("div",{className:"description-and-fields",children:[j.jsx(Di,{question:r}),j.jsx("div",{className:a,id:by(r),children:r.children.map((o,c)=>o.type==="option"?j.jsx(my,{question:r,option:o,index:c,fieldState:e},o.key):j.jsx("div",{className:"text-lg font-medium my-1 inner-title",dangerouslySetInnerHTML:{__html:o.html}},o.key))})]})]})},my=({question:r,option:e,fieldState:n})=>{const a=Ee.useContext(Ko),c=(n.value||new Set).has(e.key)||!1;if(e.hidden&&!c)return null;const v=Mn("option",{show_values:!1}),x=Mn(r.type,{subinput:!1}),y=F=>e.key&&n.setValue(yy(n,e.key,r)),E=e.label||e.description,B=e.label?e.description:void 0;return j.jsxs("div",{className:v,children:[j.jsx("div",{className:"inline radiocheckwrapper",children:j.jsx("input",{type:"checkbox",name:r.key,id:e.viewId,className:x,disabled:n.disabled,checked:c,onChange:y,onFocus:n.setAsActiveQuestion})}),j.jsx(vy,{question:r,option:e}),j.jsxs("div",{className:"inline labelwrapper",children:[j.jsx("label",{htmlFor:e.viewId,"aria-describedby":B&&`${e.viewId}_description`,children:j.jsx("span",{dangerouslySetInnerHTML:{__html:a(E)}})}),B&&j.jsx("div",{className:"de-em",id:`${e.viewId}_description`,dangerouslySetInnerHTML:{__html:a(B||"")}})]}),j.jsx(vh,{questions:e.questions})]})},vy=()=>null;function by(r){return`answer_${r.key}_input`}function yy(r,e,n){const a=new Set(r.value??[]),o=!a.has(e);return wy(a,n,e,o),xy(a,n,e,o),o?a.add(e):a.delete(e),a.size===0?null:a}function wy(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 xy(r,e,n,a){e.uncheckAllOption&&(e.uncheckAllOption===n&&a&&r.clear(),e.uncheckAllOption!==n&&a&&r.delete(e.uncheckAllOption))}var yn={};const Sy=[["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=ky;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źẑżžẓẕƶȥɀⱬꝣ"}],hf={},Sd=0;Sd<xd.length;Sd+=1)for(var kh=xd[Sd].chars,gf=0;gf<kh.length;gf+=1)hf[kh[gf]]=xd[Sd].base;function ky(r){return r.replace(/[^\u0000-\u007e]/g,function(e){return hf[e]||e})}wd.replacementList=xd,wd.diacriticsMap=hf;var _y=Sy,_h=wd.remove,Au={},kd={},_d={},kc={},mf={};_y.forEach(function(r){var e=r;kd[e[0]]=e[1],_d[e[1]]=e[0],kc[e[2]]=e[0],mf[e[0]]=e[2]});function Eh(r){return("000"+(r||"")).slice(-3)}function Ey(r){if(!r.locale)throw new TypeError("Missing localeData.locale");if(!r.countries)throw new TypeError("Missing localeData.countries");Au[r.locale]=r.countries}yn.registerLocale=Ey;function vf(r){return _d[r]}yn.alpha3ToAlpha2=vf;function bf(r){return kd[r]}yn.alpha2ToAlpha3=bf;function Cy(r){return mf[vf(r)]}yn.alpha3ToNumeric=Cy;function Ty(r){return mf[r]}yn.alpha2ToNumeric=Ty;function yf(r){var e=Eh(r);return bf(kc[e])}yn.numericToAlpha3=yf;function wf(r){var e=Eh(r);return kc[e]}yn.numericToAlpha2=wf;function Ry(r){if(typeof r=="string"){if(/^[0-9]*$/.test(r))return yf(r);if(r.length===2)return bf(r.toUpperCase());if(r.length===3)return r.toUpperCase()}if(typeof r=="number")return yf(r)}yn.toAlpha3=Ry;function Ch(r){if(typeof r=="string"){if(/^[0-9]*$/.test(r))return wf(r);if(r.length===2)return r.toUpperCase();if(r.length===3)return vf(r.toUpperCase())}if(typeof r=="number")return wf(r)}yn.toAlpha2=Ch,yn.getName=function(r,e){try{var n=Au[e.toLowerCase()];return n[Ch(r)]}catch{return}},yn.getNames=function(r){var e=Au[r.toLowerCase()];return e===void 0?{}:e},yn.getAlpha2Code=function(r,e){try{var n,a=Au[e.toLowerCase()];for(n in a)if(a.hasOwnProperty(n)&&a[n].toLowerCase()===r.toLowerCase())return n;return}catch{return}},yn.getSimpleAlpha2Code=function(r,e){try{var n,a=Au[e.toLowerCase()];for(n in a)if(a.hasOwnProperty(n)&&_h(a[n].toLowerCase())===_h(r.toLowerCase()))return n;return}catch{return}},yn.getAlpha2Codes=function(){return kd},yn.getAlpha3Code=function(r,e){var n=this.getAlpha2Code(r,e);if(n)return this.toAlpha3(n)},yn.getSimpleAlpha3Code=function(r,e){var n=this.getSimpleAlpha2Code(r,e);if(n)return this.toAlpha3(n)},yn.getAlpha3Codes=function(){return _d},yn.getNumericCodes=function(){return kc},yn.langs=function(){return Object.keys(Au)},yn.isValid=function(r){if(!r)return!1;var e=r.toString().toUpperCase();return _d.hasOwnProperty(e)||kd.hasOwnProperty(e)||kc.hasOwnProperty(e)};const Iy={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"}},Ay={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"}},Oy={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"}};Fy();const My=({question:r,fieldState:e,setQuestionRef:n})=>{const a=Mn("fields",r.presentation!=="horizontal"?"options":null),o=v=>{e.setValue(v.target.value.length!==0?v.target.value:null)},{t:c}=Ps();return j.jsxs(Li,{question:r,fieldState:e,setQuestionRef:n,children:[j.jsx(Pi,{question:r}),j.jsxs("div",{className:"description-and-fields",children:[j.jsx(Di,{question:r}),j.jsx("div",{className:a,id:Py(r),children:j.jsxs("select",{value:e.value??"",onChange:o,onFocus:e.setAsActiveQuestion,disabled:e.disabled,children:[j.jsx("option",{value:"",children:c("choose_a_country")}),j.jsx(Dy,{lang:cr.language})]})})]})]})};function Fy(){yn.registerLocale(Oy),yn.registerLocale(Ay),yn.registerLocale(Iy)}function Py(r){return`answer_${r.key}_input`}const Dy=Ee.memo(r=>j.jsx(j.Fragment,{children:Ly(r.lang).map(e=>j.jsx(By,{option:e},e.numeric))}));function Ly(r){return Object.entries(yn.getNames(r)).sort(([e,n],[a,o])=>n.localeCompare(o)).map(([e,n])=>({country:n,numeric:yn.alpha2ToNumeric(e).toString()}))}const By=({option:r})=>j.jsx("option",{value:r.numeric??"",children:r.country}),Ny=({question:r,fieldState:e,setQuestionRef:n})=>{const{t:a}=Ps(),o=jy(r,e.value??null),c=(v,x)=>{e.setValue(zy(r,o.set(v,x)))};return j.jsxs(Li,{question:r,fieldState:e,setQuestionRef:n,children:[j.jsx(Pi,{question:r}),j.jsxs("div",{className:"description-and-fields",children:[j.jsx(Di,{question:r}),j.jsx("div",{className:"fields",id:Uy(r),children:r.units.map(v=>j.jsxs(Ee.Fragment,{children:[j.jsx("input",{type:"text",value:(o==null?void 0:o.get(v))??"",size:r.size,disabled:e.disabled,onChange:x=>c(v,parseInt(x.target.value)),onFocus:e.setAsActiveQuestion}),j.jsx("span",{className:"mx-1",children:a(`units.${v}`,{defaultValue:v})})]},v))})]})]})};function jy(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 zy(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 Uy(r){return`answer_${r.key}_input`}const Th=({fieldKey:r})=>{const{questionnaire:e,response:n,setQuestionRef:a,displayOptions:o}=Ee.useContext(gd),c=e.getField(r);switch(c.as){case"string":{const v=n.getFieldState(r);return v.hidden?null:j.jsx(gb,{question:c,fieldState:v,setQuestionRef:a})}case"country_select":{const v=n.getFieldState(r);return v.hidden?null:j.jsx(My,{question:c,fieldState:v,setQuestionRef:a})}case"scale":{const v=n.getFieldState(r);return v.hidden?null:j.jsx(vb,{question:c,fieldState:v,setQuestionRef:a})}case"radio":{const v=n.getFieldState(r);return v.hidden?null:j.jsx(Sb,{question:c,fieldState:v,setQuestionRef:a})}case"select":{const v=n.getFieldState(r);return v.hidden?null:j.jsx(Tb,{question:c,fieldState:v,setQuestionRef:a})}case"date_parts":{const v=n.getFieldState(r);return v.hidden?null:j.jsx(Ab,{question:c,fieldState:v,setQuestionRef:a})}case"integer":{const v=n.getFieldState(r);return v.hidden?null:j.jsx(Mb,{question:c,fieldState:v,setQuestionRef:a})}case"float":{const v=n.getFieldState(r);return v.hidden?null:j.jsx(Pb,{question:c,fieldState:v,setQuestionRef:a})}case"slider":{const v=n.getFieldState(r);return v.hidden?null:o.newLayout?j.jsx(Wb,{question:c,fieldState:v,setQuestionRef:a}):j.jsx(iy,{question:c,fieldState:v,setQuestionRef:a})}case"split_to_units":{const v=n.getFieldState(r);return v.hidden?null:j.jsx(Ny,{question:c,fieldState:v,setQuestionRef:a})}case"textarea":{const v=n.getFieldState(r);return v.hidden?null:j.jsx(py,{question:c,fieldState:v,setQuestionRef:a})}case"check_box":{const v=n.getFieldState(r);return v.hidden?null:j.jsx(gy,{question:c,fieldState:v,setQuestionRef:a})}}throw new Error("unknown question type")};var xf=new Map,Ed=new WeakMap,Rh=0,Vy=void 0;function Wy(r){return r?(Ed.has(r)||(Rh+=1,Ed.set(r,Rh.toString())),Ed.get(r)):"0"}function Hy(r){return Object.keys(r).sort().filter(e=>r[e]!==void 0).map(e=>`${e}_${e==="root"?Wy(r.root):r[e]}`).toString()}function $y(r){const e=Hy(r);let n=xf.get(e);if(!n){const a=new Map;let o;const c=new IntersectionObserver(v=>{v.forEach(x=>{var y;const E=x.isIntersecting&&o.some(B=>x.intersectionRatio>=B);r.trackVisibility&&typeof x.isVisible>"u"&&(x.isVisible=E),(y=a.get(x.target))==null||y.forEach(B=>{B(E,x)})})},r);o=c.thresholds||(Array.isArray(r.threshold)?r.threshold:[r.threshold||0]),n={id:e,observer:c,elements:a},xf.set(e,n)}return n}function Gy(r,e,n={},a=Vy){if(typeof window.IntersectionObserver>"u"&&a!==void 0){const y=r.getBoundingClientRect();return e(a,{isIntersecting:a,target:r,intersectionRatio:typeof n.threshold=="number"?n.threshold:0,time:0,boundingClientRect:y,intersectionRect:y,rootBounds:y}),()=>{}}const{id:o,observer:c,elements:v}=$y(n),x=v.get(r)||[];return v.has(r)||v.set(r,x),x.push(e),c.observe(r),function(){x.splice(x.indexOf(e),1),x.length===0&&(v.delete(r),c.unobserve(r)),v.size===0&&(c.disconnect(),xf.delete(o))}}function Zy({threshold:r,delay:e,trackVisibility:n,rootMargin:a,root:o,triggerOnce:c,skip:v,initialInView:x,fallbackInView:y,onChange:E}={}){var B;const[F,V]=nc.useState(null),ge=nc.useRef(E),[ae,we]=nc.useState({inView:!!x,entry:void 0});ge.current=E,nc.useEffect(()=>{if(v||!F)return;let he;return he=Gy(F,(me,ee)=>{we({inView:me,entry:ee}),ge.current&&ge.current(me,ee),ee.isIntersecting&&c&&he&&(he(),he=void 0)},{root:o,rootMargin:a,threshold:r,trackVisibility:n,delay:e},y),()=>{he&&he()}},[Array.isArray(r)?r.toString():r,F,o,a,c,v,n,y,e]);const Y=(B=ae.entry)==null?void 0:B.target,G=nc.useRef(void 0);!F&&Y&&!c&&!v&&G.current!==Y&&(G.current=Y,we({inView:!!x,entry:void 0}));const de=[V,ae.inView,ae.entry];return de.ref=de[0],de.inView=de[1],de.entry=de[2],de}const Yy=({item:r})=>{const[e,n]=Ee.useState(r.startOpen),[a,o]=Ee.useState(!1),{ref:c,inView:v}=Zy({initialInView:!0,fallbackInView:!1}),{response:x}=Ee.useContext(gd),y=E=>{"key"in E&&E.key!=="Enter"||(e?(o(!0),setTimeout(()=>{o(!1),n(!1)},300)):(n(!0),o(!0),setTimeout(()=>o(!1),1)))};return r.items.some(E=>E.type==="question")&&r.items.every(E=>E.type!=="question"||!x.isVisible(E.key))?null:j.jsxs("div",{className:"info-item",children:[j.jsx("div",{ref:c}),j.jsx("div",{className:Mn("info-icon",{stuck:!v&&r.items.length>0}),onClick:y,onKeyDown:y,"aria-has-popup":"dialog","aria-expanded":e||r.startOpen&&v,"aria-controls":"#%{item.key}",tabIndex:r.startOpen?-1:0,children:j.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:[j.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"}),j.jsx("circle",{cx:"490",cy:"260",r:"45"}),j.jsx("line",{x1:"490",x2:"490",y1:"420",y2:"640","stroke-width":"90","stroke-linecap":"round"})]})}),e&&j.jsx("div",{id:r.key,className:Mn("info-html prose",{open:e,opening:a}),children:j.jsx("div",{dangerouslySetInnerHTML:{__html:r.html}})}),r.items.map((E,B)=>j.jsx(Ih,{item:E},B))]})},Ky=({item:r})=>j.jsxs("div",{className:"item",style:{border:"1px red",background:"yellow"},children:["Unknown item type:",r.type]}),Ih=r=>{switch(r.item.type){case"html":return j.jsx(cb,{item:r.item});case"question":return j.jsx(Th,{fieldKey:r.item.key});case"info":return j.jsx(Yy,{item:r.item});default:return j.jsx(Ky,{item:r.item})}},Ah=({panel:r})=>j.jsxs("div",{className:"m-panel-padding",children:[j.jsx(Jy,{title:r.title}),r.items.map((e,n)=>j.jsx(Ih,{item:e},n))]}),Jy=({title:r})=>r?j.jsx("h1",{children:r}):null,Oh="buttons bg-slate-100 dark:bg-slate-700 p-panel-padding",Qy=r=>{const[e,n]=Ee.useState(r.panelLogic.firstPanelIndexToActivate()),a=Ee.useRef(null),o=r.panelLogic.previousPanelIndexToActivate(e),c=r.panelLogic.nextPanelIndexToActivate(e),v={prev:o!==null?()=>{var x;n(o),(x=a.current)==null||x.focus()}:void 0,next:c!==null&&r.displayMode!=="single_page"?()=>{var x;r.beforeNext(e)&&(n(c),(x=a.current)==null||x.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 j.jsxs(Xy,{panelLogic:r.panelLogic,panelIndex:e,navigate:v,children:[j.jsx("span",{ref:a,tabIndex:-1}),j.jsx(Ah,{panel:r.panelLogic.panels[e]})]});case"single_page":return j.jsxs(Ee.Fragment,{children:[j.jsx("span",{ref:a,tabIndex:-1}),r.panelLogic.panels.map((x,y)=>!r.panelLogic.allQuestionsHidden(y)&&j.jsxs(Ee.Fragment,{children:[j.jsxs("fieldset",{className:"panel",children:[j.jsx(Ah,{panel:x}),r.panelLogic.isLastPanel(y)?j.jsx(Mh,{firstPanel:!1,lastPanel:!0,navigate:v}):null]}),y<r.panelLogic.panels.length-1&&j.jsx("div",{className:Oh})]},y))]});default:return null}},Xy=r=>j.jsxs("fieldset",{className:"panel",children:[j.jsx(e0,{}),r.children,j.jsx(ub,{max:r.panelLogic.count(),current:r.panelIndex}),j.jsx(Mh,{firstPanel:r.panelLogic.isFirstPanel(r.panelIndex),lastPanel:r.panelLogic.isLastPanel(r.panelIndex),navigate:r.navigate})]}),Mh=r=>{const{t:e}=Ps(),n=r.navigate.nextSavePressWillOnlyRunMinimalValidations?e("questionnaire_not_completed.save_anyway"):e("done");return j.jsxs("div",{className:Oh,children:[r.navigate.nextSavePressWillOnlyRunMinimalValidations&&qy(e),j.jsxs("div",{className:"flex justify-between",children:[j.jsx("div",{className:"next order-last",children:r.navigate.next?j.jsx(_c,{onClick:r.navigate.next,value:e("next"),onFocus:r.navigate.onFocus,variant:"primary"}):j.jsx(_c,{onClick:r.navigate.done,value:n,onFocus:r.navigate.onFocus,variant:"primary"})}),j.jsxs("div",{className:"prev",children:[r.navigate.prev&&j.jsx(_c,{onClick:r.navigate.prev,value:e("previous"),onFocus:r.navigate.onFocus}),r.navigate.previousQuestionnaire&&j.jsx(_c,{onClick:r.navigate.previousQuestionnaire,value:e("previous_questionnaire"),onFocus:r.navigate.onFocus})]}),j.jsx("div",{className:"abort text-center",children:r.navigate.abort&&j.jsx(_c,{onClick:r.navigate.abort,value:e("abort"),onFocus:r.navigate.onFocus})})]})]})},qy=r=>j.jsxs("div",{className:"m-panel-padding p-panel-padding border-2 rounded border-warning fg-warning-inv",children:[j.jsx("h1",{children:r("questionnaire_not_completed.heading")}),j.jsx("p",{children:r("questionnaire_not_completed.explanation")})]}),_c=({value:r,onClick:e,onFocus:n,variant:a})=>j.jsx("button",{onClick:e,onFocus:n,className:a||"secondary",children:r}),e0=()=>null,Ko=Ee.createContext(r=>r),Fh=({questionnaire:r,response:e,displayOptions:n,allowSkipValidation:a,onSave:o,onAbort:c,onPreviousQuestionnaire:v})=>{t0(e);const[x,y]=n0(e),E=Ee.useRef(null);sb(e,r,E);const B=n.displayMode,F=new Map,V=new fh(e,r),ge=new ab(e,r.panels),ae=he=>{const me=r.panels[he];e.touchPanelFields(me);const ee=e.firstNotValidQuestionInPanel(me);if(ee){const Te=F.get(ee);if(!Te)throw`Could not find ref for ${r.key}.${ee}`;Sf(Te)}return ee===null},we=()=>{e.touchAllFields();const he=e.firstNotValidQuestion();if(x)o();else if(he){const me=F.get(he);if(!me)throw`Could not find ref for ${r.key}.${he}`;Sf(me),a&&e.validEnoughForForcedSave()&&y(!0)}else o()},Y=he=>he?()=>{const me=e.firstNotValidQuestion();if(!me||e.validEnoughForForcedSave())he();else if(me){const ee=F.get(me);if(!ee)throw`Could not find ref for ${r.key}.${me}`;Sf(ee)}}:void 0,G=(he,me)=>{F.set(he,me)},de=Mn({dark:n.darkMode});return j.jsx(Ko.Provider,{value:V.interpolateCurlies,children:j.jsx(gd.Provider,{value:{questionnaire:r,response:e,displayOptions:n,setQuestionRef:G},children:j.jsxs("div",{ref:E,className:de,style:mh(r.cssVars),children:[j.jsx("form",{className:"paged",onSubmit:he=>he.preventDefault(),children:j.jsx(Qy,{beforeNext:ae,displayMode:B,nextSavePressWillOnlyRunMinimalValidations:x,panelLogic:ge,onDone:we,onAbort:Y(c),onPreviousQuestionnaire:Y(v),onFocus:()=>e.setActiveQuestion(null)})}),r.footer&&j.jsx("footer",{dangerouslySetInnerHTML:{__html:r.footer}})]})})})},t0=r=>{const[e,n]=Ee.useState(0);Ee.useEffect(()=>{const a=o=>n(c=>c+1);return r.onChange(a),()=>r.offChange(a)})},n0=r=>{const[e,n]=Ee.useState(!1);return Ee.useEffect(()=>{const a=(o,c)=>{e&&c==="valueChanged"&&n(!1)};return r.onChange(a),()=>r.offChange(a)}),[e,n]},Sf=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 Ml={};/**
|
|
70
|
-
* @license React
|
|
71
|
-
|
|
72
|
-
*
|
|
73
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
74
|
-
*
|
|
75
|
-
* This source code is licensed under the MIT license found in the
|
|
76
|
-
* LICENSE file in the root directory of this source tree.
|
|
77
|
-
*/var Ph;function r0(){if(Ph)return Ml;Ph=1;var r=Ee;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 v(p){return n.call(c,p)?!0:n.call(o,p)?!1:a.test(p)?c[p]=!0:(o[p]=!0,!1)}function x(p,k,A,P,X,K,ie){this.acceptsBooleans=k===2||k===3||k===4,this.attributeName=P,this.attributeNamespace=X,this.mustUseProperty=A,this.propertyName=p,this.type=k,this.sanitizeURL=K,this.removeEmptyString=ie}var y={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(p){y[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];y[k]=new x(k,1,!1,p[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(p){y[p]=new x(p,2,!1,p.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(p){y[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){y[p]=new x(p,3,!1,p.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(p){y[p]=new x(p,3,!0,p,null,!1,!1)}),["capture","download"].forEach(function(p){y[p]=new x(p,4,!1,p,null,!1,!1)}),["cols","rows","size","span"].forEach(function(p){y[p]=new x(p,6,!1,p,null,!1,!1)}),["rowSpan","start"].forEach(function(p){y[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);y[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);y[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);y[k]=new x(k,1,!1,p,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(p){y[p]=new x(p,1,!1,p.toLowerCase(),null,!1,!1)}),y.xlinkHref=new x("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(p){y[p]=new x(p,1,!1,p.toLowerCase(),null,!0,!0)});var F={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(F).forEach(function(p){V.forEach(function(k){k=k+p.charAt(0).toUpperCase()+p.substring(1),F[k]=F[p]})});var ge=/["'&<>]/;function ae(p){if(typeof p=="boolean"||typeof p=="number")return""+p;p=""+p;var k=ge.exec(p);if(k){var A="",P,X=0;for(P=k.index;P<p.length;P++){switch(p.charCodeAt(P)){case 34:k=""";break;case 38:k="&";break;case 39:k="'";break;case 60:k="<";break;case 62:k=">";break;default:continue}X!==P&&(A+=p.substring(X,P)),X=P+1,A+=k}p=X!==P?A+p.substring(X,P):A}return p}var we=/([A-Z])/g,Y=/^ms-/,G=Array.isArray;function de(p,k){return{insertionMode:p,selectedValue:k}}function he(p,k,A){switch(k){case"select":return de(1,A.value!=null?A.value:A.defaultValue);case"svg":return de(2,null);case"math":return de(3,null);case"foreignObject":return de(1,null);case"table":return de(4,null);case"thead":case"tbody":case"tfoot":return de(5,null);case"colgroup":return de(7,null);case"tr":return de(6,null)}return 4<=p.insertionMode||p.insertionMode===0?de(1,null):p}var me=new Map;function ee(p,k,A){if(typeof A!="object")throw Error(e(62));k=!0;for(var P in A)if(n.call(A,P)){var X=A[P];if(X!=null&&typeof X!="boolean"&&X!==""){if(P.indexOf("--")===0){var K=ae(P);X=ae((""+X).trim())}else{K=P;var ie=me.get(K);ie!==void 0||(ie=ae(K.replace(we,"-$1").toLowerCase().replace(Y,"-ms-")),me.set(K,ie)),K=ie,X=typeof X=="number"?X===0||n.call(F,P)?""+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,P){switch(A){case"style":ee(p,k,P);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=y.hasOwnProperty(A)?y[A]:null,k!==null){switch(typeof P){case"function":case"symbol":return;case"boolean":if(!k.acceptsBooleans)return}switch(A=k.attributeName,k.type){case 3:P&&p.push(" ",A,'=""');break;case 4:P===!0?p.push(" ",A,'=""'):P!==!1&&p.push(" ",A,'="',ae(P),'"');break;case 5:isNaN(P)||p.push(" ",A,'="',ae(P),'"');break;case 6:!isNaN(P)&&1<=P&&p.push(" ",A,'="',ae(P),'"');break;default:k.sanitizeURL&&(P=""+P),p.push(" ",A,'="',ae(P),'"')}}else if(v(A)){switch(typeof P){case"function":case"symbol":return;case"boolean":if(k=A.toLowerCase().slice(0,5),k!=="data-"&&k!=="aria-")return}p.push(" ",A,'="',ae(P),'"')}}}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 ft(p,k,A,P){p.push(Se(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,P,K,ie)}}return p.push(">"),Ie(p,X,A),typeof A=="string"?(p.push(ae(A)),null):A}var Ft=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,ye=new Map;function Se(p){var k=ye.get(p);if(k===void 0){if(!Ft.test(p))throw Error(e(65,p));k="<"+p,ye.set(p,k)}return k}function Ae(p,k,A,P,X){switch(k){case"select":p.push(Se("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,P,Je,xe)}}return p.push(">"),Ie(p,ie,K),K;case"option":ie=X.selectedValue,p.push(Se("option"));var Ve=xe=null,Qe=null,Je=null;for(K in A)if(n.call(A,K)){var Pt=A[K];if(Pt!=null)switch(K){case"children":xe=Pt;break;case"selected":Qe=Pt;break;case"dangerouslySetInnerHTML":Je=Pt;break;case"value":Ve=Pt;default:Te(p,P,K,Pt)}}if(ie!=null)if(A=Ve!==null?""+Ve:Lt(xe),G(ie)){for(P=0;P<ie.length;P++)if(""+ie[P]===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(Se("textarea")),Je=ie=K=null;for(xe in A)if(n.call(A,xe)&&(Ve=A[xe],Ve!=null))switch(xe){case"children":Je=Ve;break;case"value":K=Ve;break;case"defaultValue":ie=Ve;break;case"dangerouslySetInnerHTML":throw Error(e(91));default:Te(p,P,xe,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]===`
|
|
78
|
-
`&&p.push(`
|
|
79
|
-
`),K!==null&&p.push(ae(""+K)),null;case"input":p.push(Se("input")),Ve=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":Ve=Qe;break;case"defaultValue":xe=Qe;break;case"checked":Je=Qe;break;case"value":K=Qe;break;default:Te(p,P,ie,Qe)}return Je!==null?Te(p,P,"checked",Je):Ve!==null&&Te(p,P,"checked",Ve),K!==null?Te(p,P,"value",K):xe!==null&&Te(p,P,"value",xe),p.push("/>"),null;case"menuitem":p.push(Se("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:Te(p,P,ar,K)}return p.push(">"),null;case"title":p.push(Se("title")),K=null;for(Pt in A)if(n.call(A,Pt)&&(ie=A[Pt],ie!=null))switch(Pt){case"children":K=ie;break;case"dangerouslySetInnerHTML":throw Error(e(434));default:Te(p,P,Pt,ie)}return p.push(">"),K;case"listing":case"pre":p.push(Se(k)),ie=K=null;for(Ve in A)if(n.call(A,Ve)&&(xe=A[Ve],xe!=null))switch(Ve){case"children":K=xe;break;case"dangerouslySetInnerHTML":ie=xe;break;default:Te(p,P,Ve,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
|
-
`?p.push(`
|
|
81
|
-
`,A):p.push(""+A))}return typeof K=="string"&&K[0]===`
|
|
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(Se(k));for(var Dn in A)if(n.call(A,Dn)&&(K=A[Dn],K!=null))switch(Dn){case"children":case"dangerouslySetInnerHTML":throw Error(e(399,k));default:Te(p,P,Dn,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 ft(p,A,k,P);case"html":return X.insertionMode===0&&p.push("<!DOCTYPE html>"),ft(p,A,k,P);default:if(k.indexOf("-")===-1&&typeof A.is!="string")return ft(p,A,k,P);p.push(Se(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,P,xe);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:v(Qe)&&typeof xe!="function"&&typeof xe!="symbol"&&p.push(" ",Qe,'="',ae(xe),'"')}return p.push(">"),Ie(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,P){switch(A.insertionMode){case 0:case 1:return p.push('<div hidden id="'),p.push(k.segmentPrefix),k=P.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=P.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=P.toString(16),p.push(k),p.push('">');case 4:return p.push('<table hidden id="'),p.push(k.segmentPrefix),k=P.toString(16),p.push(k),p.push('">');case 5:return p.push('<table hidden><tbody id="'),p.push(k.segmentPrefix),k=P.toString(16),p.push(k),p.push('">');case 6:return p.push('<table hidden><tr id="'),p.push(k.segmentPrefix),k=P.toString(16),p.push(k),p.push('">');case 7:return p.push('<table hidden><colgroup id="'),p.push(k.segmentPrefix),k=P.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 ht(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,P){return A.generateStaticMarkup?(p.push(ae(k)),!1):(k===""?p=P:(P&&p.push("<!-- -->"),p.push(ae(k)),p=!0),p)}var ue=Object.assign,Oe=Symbol.for("react.element"),Ze=Symbol.for("react.portal"),Pe=Symbol.for("react.fragment"),Fe=Symbol.for("react.strict_mode"),Me=Symbol.for("react.profiler"),qe=Symbol.for("react.provider"),tt=Symbol.for("react.context"),Ke=Symbol.for("react.forward_ref"),rt=Symbol.for("react.suspense"),kt=Symbol.for("react.suspense_list"),_e=Symbol.for("react.memo"),At=Symbol.for("react.lazy"),mt=Symbol.for("react.scope"),fn=Symbol.for("react.debug_trace_mode"),zn=Symbol.for("react.legacy_hidden"),Sn=Symbol.for("react.default_value"),Un=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 Me:return"Profiler";case Fe:return"StrictMode";case rt:return"Suspense";case kt:return"SuspenseList"}if(typeof p=="object")switch(p.$$typeof){case tt: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 At:k=p._payload,p=p._init;try{return dr(p(k))}catch{}}return null}var nr={};function Fn(p,k){if(p=p.contextTypes,!p)return nr;var A={},P;for(P in p)A[P]=k[P];return A}var wn=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 yi(p,k){if(p.context._currentValue2=p.parentValue,p=p.parent,p===null)throw Error(e(402));p.depth===k.depth?pn(p,k):yi(p,k)}function Vn(p,k){var A=k.parent;if(A===null)throw Error(e(402));p.depth===A.depth?pn(p,A):Vn(p,A),k.context._currentValue2=k.value}function Yt(p){var k=wn;k!==p&&(k===null?fr(p):p===null?hn(k):k.depth===p.depth?pn(k,p):k.depth>p.depth?yi(k,p):Vn(k,p),wn=p)}var Mr={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 Kr(p,k,A,P){var X=p.state!==void 0?p.state:null;p.updater=Mr,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:P,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&&Mr.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,P):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 Jr(p,k,A){var P=p.id;p=p.overflow;var X=32-Pr(P)-1;P&=~(1<<X),A+=1;var K=32-Pr(k)+X;if(30<K){var ie=X-X%5;return K=(P&(1<<ie)-1).toString(32),P>>=ie,X-=ie,{id:1<<32-Pr(k)+X|A<<X|P,overflow:K+p}}return{id:1<<K|A<<X|P,overflow:p}}var Pr=Math.clz32?Math.clz32:pr,Bi=Math.log,Qr=Math.LN2;function pr(p){return p>>>=0,p===0?32:31-(Bi(p)/Qr|0)|0}function Xr(p,k){return p===k&&(p!==0||1/p===1/k)||p!==p&&k!==k}var la=typeof Object.is=="function"?Object.is:Xr,kn=null,rr=null,Pn=null,Ot=null,hr=!1,qr=!1,ei=0,ir=null,ti=0;function gr(){if(kn===null)throw Error(e(321));return kn}function nn(){if(0<ti)throw Error(e(312));return{memoizedState:null,queue:null,next:null}}function Ni(){return Ot===null?Pn===null?(hr=!1,Pn=Ot=nn()):(hr=!0,Ot=Pn):Ot.next===null?(hr=!1,Ot=Ot.next=nn()):(hr=!0,Ot=Ot.next),Ot}function ni(){rr=kn=null,qr=!1,Pn=null,ti=0,Ot=ir=null}function ji(p,k){return typeof k=="function"?k(p):k}function rn(p,k,A){if(kn=gr(),Ot=Ni(),hr){var P=Ot.queue;if(k=P.dispatch,ir!==null&&(A=ir.get(P),A!==void 0)){ir.delete(P),P=Ot.memoizedState;do P=p(P,A.action),A=A.next;while(A!==null);return Ot.memoizedState=P,[P,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,kn,p),[Ot.memoizedState,p]}function zi(p,k){if(kn=gr(),Ot=Ni(),k=k===void 0?null:k,Ot!==null){var A=Ot.memoizedState;if(A!==null&&k!==null){var P=A[1];e:if(P===null)P=!1;else{for(var X=0;X<P.length&&X<k.length;X++)if(!la(k[X],P[X])){P=!1;break e}P=!0}if(P)return A[0]}}return p=p(),Ot.memoizedState=[p,k],p}function Ba(p,k,A){if(25<=ti)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 Na(){throw Error(e(394))}function U(){}var ve={readContext:function(p){return p._currentValue2},useContext:function(p){return gr(),p._currentValue2},useMemo:zi,useReducer:rn,useRef:function(p){kn=gr(),Ot=Ni();var k=Ot.memoizedState;return k===null?(p={current:p},Ot.memoizedState=p):k},useState:function(p){return rn(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 gr(),p},useTransition:function(){return gr(),[!1,Na]},useId:function(){var p=rr.treeContext,k=p.overflow;p=p.id,p=(p&~(1<<32-Pr(p)-1)).toString(32)+k;var A=Re;if(A===null)throw Error(e(404));return k=ei++,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()}},Re=null,nt=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,P,X,K,ie,xe,Ve){var Qe=[],Je=new Set;return k={destination:null,responseState:k,progressiveChunkSize:P===void 0?12800:P,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:xe===void 0?_t:xe,onFatalError:Ve===void 0?_t:Ve},A=ln(k,0,null,A,!1,!1),A.parentFlushed=!0,p=pt(k,p,null,A,Je,nr,null,Fr),Qe.push(p),k}function pt(p,k,A,P,X,K,ie,xe){p.allPendingTasks++,A===null?p.pendingRootTasks++:A.pendingTasks++;var Ve={node:k,ping:function(){var Qe=p.pingedTasks;Qe.push(Ve),Qe.length===1&&Qn(p)},blockedBoundary:A,blockedSegment:P,abortSet:X,legacyContext:K,context:ie,treeContext:xe};return X.add(Ve),Ve}function ln(p,k,A,P,X,K){return{status:0,id:-1,index:k,parentFlushed:!1,chunks:[],children:[],formatContext:P,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,P,X){for(kn={},rr=k,ei=0,p=A(P,X);qr;)qr=!1,ei=0,ti+=1,Ot=null,p=A(P,X);return ni(),p}function In(p,k,A,P){var X=A.render(),K=P.childContextTypes;if(K!=null){var ie=k.legacyContext;if(typeof A.getChildContext!="function")P=ie;else{A=A.getChildContext();for(var xe in A)if(!(xe in K))throw Error(e(108,dr(P)||"Unknown",xe));P=ue({},ie,A)}k.legacyContext=P,un(p,k,X),k.legacyContext=ie}else un(p,k,X)}function Dr(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 Xt(p,k,A,P,X){if(typeof A=="function")if(A.prototype&&A.prototype.isReactComponent){X=Fn(A,k.legacyContext);var K=A.contextType;K=new A(P,typeof K=="object"&&K!==null?K._currentValue2:X),Kr(K,A,P,X),In(p,k,K,A)}else{K=Fn(A,k.legacyContext),X=on(p,k,A,P,K);var ie=ei!==0;if(typeof X=="object"&&X!==null&&typeof X.render=="function"&&X.$$typeof===void 0)Kr(X,A,P,K),In(p,k,X,A);else if(ie){P=k.treeContext,k.treeContext=Jr(P,1,0);try{un(p,k,X)}finally{k.treeContext=P}}else un(p,k,X)}else if(typeof A=="string"){switch(X=k.blockedSegment,K=Ae(X.chunks,A,P,p.responseState,X.formatContext),X.lastPushedText=!1,ie=X.formatContext,X.formatContext=he(ie,A,P),_r(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 zn:case fn:case Fe:case Me:case Pe:un(p,k,P.children);return;case kt:un(p,k,P.children);return;case mt:throw Error(e(343));case rt:e:{A=k.blockedBoundary,X=k.blockedSegment,K=P.fallback,P=P.children,ie=new Set;var xe={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:ie,errorDigest:null},Ve=ln(p,X.chunks.length,xe,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=xe,k.blockedSegment=Qe;try{if(_r(p,k,P),p.responseState.generateStaticMarkup||Qe.lastPushedText&&Qe.textEmbedded&&Qe.chunks.push("<!-- -->"),Qe.status=1,Er(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,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(P=on(p,k,A.render,P,X),ei!==0){A=k.treeContext,k.treeContext=Jr(A,1,0);try{un(p,k,P)}finally{k.treeContext=A}}else un(p,k,P);return;case _e:A=A.type,P=Dr(A,P),Xt(p,k,A,P,X);return;case qe:if(X=P.children,A=A._context,P=P.value,K=A._currentValue2,A._currentValue2=P,ie=wn,wn=P={parent:ie,depth:ie===null?0:ie.depth+1,context:A,parentValue:K,value:P},k.context=P,un(p,k,X),p=wn,p===null)throw Error(e(403));P=p.parentValue,p.context._currentValue2=P===Sn?p.context._defaultValue:P,p=wn=p.parent,k.context=p;return;case tt:P=P.children,P=P(A._currentValue2),un(p,k,P);return;case At:X=A._init,A=X(A._payload),P=Dr(A,P),Xt(p,k,A,P,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 Oe:Xt(p,k,A.type,A.props,A.ref);return;case Ze:throw Error(e(257));case At:var P=A._init;A=P(A._payload),un(p,k,A);return}if(G(A)){Lr(p,k,A);return}if(A===null||typeof A!="object"?P=null:(P=Un&&A[Un]||A["@@iterator"],P=typeof P=="function"?P:null),P&&(P=P.call(A))){if(A=P.next(),!A.done){var X=[];do X.push(A.value),A=P.next();while(!A.done);Lr(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"?(P=k.blockedSegment,P.lastPushedText=oe(k.blockedSegment.chunks,A,p.responseState,P.lastPushedText)):typeof A=="number"&&(P=k.blockedSegment,P.lastPushedText=oe(k.blockedSegment.chunks,""+A,p.responseState,P.lastPushedText))}function Lr(p,k,A){for(var P=A.length,X=0;X<P;X++){var K=k.treeContext;k.treeContext=Jr(K,P,X);try{_r(p,k,A[X])}finally{k.treeContext=K}}}function _r(p,k,A){var P=k.blockedSegment.formatContext,X=k.legacyContext,K=k.context;try{return un(p,k,A)}catch(Ve){if(ni(),typeof Ve=="object"&&Ve!==null&&typeof Ve.then=="function"){A=Ve;var ie=k.blockedSegment,xe=ln(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=P,k.legacyContext=X,k.context=K,Yt(K)}else throw k.blockedSegment.formatContext=P,k.legacyContext=X,k.context=K,Yt(K),Ve}}function _n(p){var k=p.blockedBoundary;p=p.blockedSegment,p.status=3,Br(this,k,p)}function Ui(p,k,A){var P=p.blockedBoundary;p.blockedSegment.status=3,P===null?(k.allPendingTasks--,k.status!==2&&(k.status=2,k.destination!==null&&k.destination.push(null))):(P.pendingTasks--,P.forceClientRender||(P.forceClientRender=!0,p=A===void 0?Error(e(432)):A,P.errorDigest=k.onError(p),P.parentFlushed&&k.clientRenderedBoundaries.push(P)),P.fallbackAbortableTasks.forEach(function(X){return Ui(X,k,A)}),P.fallbackAbortableTasks.clear(),k.allPendingTasks--,k.allPendingTasks===0&&(P=k.onAllReady,P()))}function Er(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&&Er(p,A)}else p.completedSegments.push(k)}function Br(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&&Er(k,A),k.parentFlushed&&p.completedBoundaries.push(k),k.fallbackAbortableTasks.forEach(_n,p),k.fallbackAbortableTasks.clear()):A.parentFlushed&&A.status===1&&(Er(k,A),k.completedSegments.length===1&&k.parentFlushed&&p.partialBoundaries.push(k)));p.allPendingTasks--,p.allPendingTasks===0&&(p=p.onAllReady,p())}function Qn(p){if(p.status!==2){var k=wn,A=nt.current;nt.current=ve;var P=Re;Re=p.responseState;try{var X=p.pingedTasks,K;for(K=0;K<X.length;K++){var ie=X[K],xe=p,Ve=ie.blockedSegment;if(Ve.status===0){Yt(ie.context);try{un(xe,ie,ie.node),xe.responseState.generateStaticMarkup||Ve.lastPushedText&&Ve.textEmbedded&&Ve.chunks.push("<!-- -->"),ie.abortSet.delete(ie),Ve.status=1,Br(xe,ie.blockedBoundary,Ve)}catch(Ln){if(ni(),typeof Ln=="object"&&Ln!==null&&typeof Ln.then=="function"){var Qe=ie.ping;Ln.then(Qe,Qe)}else{ie.abortSet.delete(ie),Ve.status=4;var Je=ie.blockedBoundary,Pt=Ln,ar=zt(xe,Pt);if(Je===null?Ut(xe,Pt):(Je.pendingTasks--,Je.forceClientRender||(Je.forceClientRender=!0,Je.errorDigest=ar,Je.parentFlushed&&xe.clientRenderedBoundaries.push(Je))),xe.allPendingTasks--,xe.allPendingTasks===0){var Dn=xe.onAllReady;Dn()}}}finally{}}}X.splice(0,K),p.destination!==null&&Nr(p,p.destination)}catch(Ln){zt(p,Ln),Ut(p,Ln)}finally{Re=P,nt.current=A,A===ve&&Yt(k)}}}function ri(p,k,A){switch(A.parentFlushed=!0,A.status){case 0:var P=A.id=p.nextSegmentId++;return A.lastPushedText=!1,A.textEmbedded=!1,p=p.responseState,k.push('<template id="'),k.push(p.placeholderPrefix),p=P.toString(16),k.push(p),k.push('"></template>');case 1:A.status=2;var X=!0;P=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(P[K]);X=wi(p,k,X)}for(;K<P.length-1;K++)k.push(P[K]);return K<P.length&&(X=k.push(P[K])),X;default:throw Error(e(390))}}function wi(p,k,A){var P=A.boundary;if(P===null)return ri(p,k,A);if(P.parentFlushed=!0,P.forceClientRender)return p.responseState.generateStaticMarkup||(P=P.errorDigest,k.push("<!--$!-->"),k.push("<template"),P&&(k.push(' data-dgst="'),P=ae(P),k.push(P),k.push('"')),k.push("></template>")),ri(p,k,A),p=p.responseState.generateStaticMarkup?!0:k.push("<!--/$-->"),p;if(0<P.pendingTasks){P.rootSegmentID=p.nextSegmentId++,0<P.completedSegments.length&&p.partialBoundaries.push(P);var X=p.responseState,K=X.nextSuspenseID++;return X=X.boundaryPrefix+K.toString(16),P=P.id=X,Be(k,p.responseState,P),ri(p,k,A),k.push("<!--/$-->")}if(P.byteSize>p.progressiveChunkSize)return P.rootSegmentID=p.nextSegmentId++,p.completedBoundaries.push(P),Be(k,p.responseState,P.id),ri(p,k,A),k.push("<!--/$-->");if(p.responseState.generateStaticMarkup||k.push("<!--$-->"),A=P.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),He(k,A.formatContext)}function ca(p,k,A){for(var P=A.completedSegments,X=0;X<P.length;X++)Vi(p,k,A,P[X]);if(P.length=0,p=p.responseState,P=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("')),P===null)throw Error(e(395));return A=A.toString(16),k.push(P),k.push('","'),k.push(p.segmentPrefix),k.push(A),k.push('")<\/script>')}function Vi(p,k,A,P){if(P.status===2)return!0;var X=P.id;if(X===-1){if((P.id=A.rootSegmentID)===-1)throw Error(e(392));return ua(p,k,P)}return ua(p,k,P),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 Nr(p,k){try{var A=p.completedRootSegment;if(A!==null&&p.pendingRootTasks===0){wi(p,k,A),p.completedRootSegment=null;var P=p.responseState.bootstrapChunks;for(A=0;A<P.length-1;A++)k.push(P[A]);A<P.length&&k.push(P[A])}var X=p.clientRenderedBoundaries,K;for(K=0;K<X.length;K++){var ie=X[K];P=k;var xe=p.responseState,Ve=ie.id,Qe=ie.errorDigest,Je=ie.errorMessage,Pt=ie.errorComponentStack;if(P.push(xe.startInlineScript),xe.sentClientRenderFunction?P.push('$RX("'):(xe.sentClientRenderFunction=!0,P.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(P.push(Ve),P.push('"'),Qe||Je||Pt){P.push(",");var ar=ze(Qe||"");P.push(ar)}if(Je||Pt){P.push(",");var Dn=ze(Je||"");P.push(Dn)}if(Pt){P.push(",");var Ln=ze(Pt);P.push(Ln)}if(!P.push(")<\/script>")){p.destination=null,K++,X.splice(0,K);return}}X.splice(0,K);var jr=p.completedBoundaries;for(K=0;K<jr.length;K++)if(!ca(p,k,jr[K])){p.destination=null,K++,jr.splice(0,K);return}jr.splice(0,K);var mr=p.partialBoundaries;for(K=0;K<mr.length;K++){var da=mr[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++,mr.splice(0,K);return}}mr.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)}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(P){return Ui(P,p,k)}),A.clear(),p.destination!==null&&Nr(p,p.destination)}catch(P){zt(p,P),Ut(p,P)}}function Wi(){}function ii(p,k,A,P){var X=!1,K=null,ie="",xe={push:function(Qe){return Qe!==null&&(ie+=Qe),!0},destroy:function(Qe){X=!0,K=Qe}},Ve=!1;if(p=wt(p,ht(A,k?k.identifierPrefix:void 0),{insertionMode:1,selectedValue:null},1/0,Wi,void 0,function(){Ve=!0},void 0,void 0),Qn(p),ja(p,P),p.status===1)p.status=2,xe.destroy(p.fatalError);else if(p.status!==2&&p.destination===null){p.destination=xe;try{Nr(p,xe)}catch(Qe){zt(p,Qe),Ut(p,Qe)}}if(X)throw K;if(!Ve)throw Error(e(426));return ie}return Ml.renderToNodeStream=function(){throw Error(e(207))},Ml.renderToStaticMarkup=function(p,k){return ii(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')},Ml.renderToStaticNodeStream=function(){throw Error(e(208))},Ml.renderToString=function(p,k){return ii(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')},Ml.version="18.2.0",Ml}var Cd={};/**
|
|
84
|
-
* @license React
|
|
85
|
-
* react-dom-server.browser.production.min.js
|
|
86
|
-
*
|
|
87
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
88
|
-
*
|
|
89
|
-
* This source code is licensed under the MIT license found in the
|
|
90
|
-
* LICENSE file in the root directory of this source tree.
|
|
91
|
-
*/var Dh;function i0(){if(Dh)return Cd;Dh=1;var r=Ee;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 v(h){n&&0<a&&(h.enqueue(new Uint8Array(n.buffer,0,a)),n=null,a=0)}var x=new TextEncoder;function y(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 F=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]*$/,ge={},ae={};function we(h){return F.call(ae,h)?!0:F.call(ge,h)?!1:V.test(h)?ae[h]=!0:(ge[h]=!0,!1)}function Y(h,S,R,D,q,Q,le){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=le}var G={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(h){G[h]=new Y(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 Y(S,1,!1,h[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(h){G[h]=new Y(h,2,!1,h.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(h){G[h]=new Y(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 Y(h,3,!1,h.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(h){G[h]=new Y(h,3,!0,h,null,!1,!1)}),["capture","download"].forEach(function(h){G[h]=new Y(h,4,!1,h,null,!1,!1)}),["cols","rows","size","span"].forEach(function(h){G[h]=new Y(h,6,!1,h,null,!1,!1)}),["rowSpan","start"].forEach(function(h){G[h]=new Y(h,5,!1,h.toLowerCase(),null,!1,!1)});var de=/[\-:]([a-z])/g;function he(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(de,he);G[S]=new Y(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(de,he);G[S]=new Y(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(de,he);G[S]=new Y(S,1,!1,h,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(h){G[h]=new Y(h,1,!1,h.toLowerCase(),null,!1,!1)}),G.xlinkHref=new Y("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(h){G[h]=new Y(h,1,!1,h.toLowerCase(),null,!0,!0)});var me={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(me).forEach(function(h){ee.forEach(function(S){S=S+h.charAt(0).toUpperCase()+h.substring(1),me[S]=me[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=""";break;case 38:S="&";break;case 39:S="'";break;case 60:S="<";break;case 62:S=">";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,ft=/^ms-/,Ft=Array.isArray,ye=E("<script>"),Se=E("<\/script>"),Ae=E('<script src="'),Be=E('<script type="module" src="'),Ye=E('" async=""><\/script>'),He=/(<\/|<)(s)(cript)/gi;function je(h,S,R,D){return""+S+(R==="s"?"\\u0073":"\\u0053")+D}function ze(h,S,R,D,q){h=h===void 0?"":h,S=S===void 0?ye:E('<script nonce="'+Ie(S)+'">');var Q=[];if(R!==void 0&&Q.push(S,y((""+R).replace(He,je)),Se),D!==void 0)for(R=0;R<D.length;R++)Q.push(Ae,y(Ie(D[R])),Ye);if(q!==void 0)for(D=0;D<q.length;D++)Q.push(Be,y(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 ht(h,S){return{insertionMode:h,selectedValue:S}}function oe(h){return ht(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 ht(1,R.value!=null?R.value:R.defaultValue);case"svg":return ht(2,null);case"math":return ht(3,null);case"foreignObject":return ht(1,null);case"table":return ht(4,null);case"thead":case"tbody":case"tfoot":return ht(5,null);case"colgroup":return ht(7,null);case"tr":return ht(6,null)}return 4<=h.insertionMode||h.insertionMode===0?ht(1,null):h}var Oe=E("<!-- -->");function Ze(h,S,R,D){return S===""?D:(D&&h.push(Oe),h.push(y(Ie(S))),!0)}var Pe=new Map,Fe=E(' style="'),Me=E(":"),qe=E(";");function tt(h,S,R){if(typeof R!="object")throw Error(e(62));S=!0;for(var D in R)if(F.call(R,D)){var q=R[D];if(q!=null&&typeof q!="boolean"&&q!==""){if(D.indexOf("--")===0){var Q=y(Ie(D));q=y(Ie((""+q).trim()))}else{Q=D;var le=Pe.get(Q);le!==void 0||(le=E(Ie(Q.replace(Lt,"-$1").toLowerCase().replace(ft,"-ms-"))),Pe.set(Q,le)),Q=le,q=typeof q=="number"?q===0||F.call(me,D)?y(""+q):y(q+"px"):y(Ie((""+q).trim()))}S?(S=!1,h.push(Fe,Q,Me,q)):h.push(qe,Q,Me,q)}}S||h.push(kt)}var Ke=E(" "),rt=E('="'),kt=E('"'),_e=E('=""');function At(h,S,R,D){switch(R){case"style":tt(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=G.hasOwnProperty(R)?G[R]:null,S!==null){switch(typeof D){case"function":case"symbol":return;case"boolean":if(!S.acceptsBooleans)return}switch(R=y(S.attributeName),S.type){case 3:D&&h.push(Ke,R,_e);break;case 4:D===!0?h.push(Ke,R,_e):D!==!1&&h.push(Ke,R,rt,y(Ie(D)),kt);break;case 5:isNaN(D)||h.push(Ke,R,rt,y(Ie(D)),kt);break;case 6:!isNaN(D)&&1<=D&&h.push(Ke,R,rt,y(Ie(D)),kt);break;default:S.sanitizeURL&&(D=""+D),h.push(Ke,R,rt,y(Ie(D)),kt)}}else if(we(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(Ke,y(R),rt,y(Ie(D)),kt)}}}var mt=E(">"),fn=E("/>");function zn(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(y(""+S))}}function Sn(h){var S="";return r.Children.forEach(h,function(R){R!=null&&(S+=R)}),S}var Un=E(' selected=""');function dr(h,S,R,D){h.push(pn(R));var q=R=null,Q;for(Q in S)if(F.call(S,Q)){var le=S[Q];if(le!=null)switch(Q){case"children":R=le;break;case"dangerouslySetInnerHTML":q=le;break;default:At(h,D,Q,le)}}return h.push(mt),zn(h,q,R),typeof R=="string"?(h.push(y(Ie(R))),null):R}var nr=E(`
|
|
92
|
-
`),Fn=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,wn=new Map;function pn(h){var S=wn.get(h);if(S===void 0){if(!Fn.test(h))throw Error(e(65,h));S=E("<"+h),wn.set(h,S)}return S}var hn=E("<!DOCTYPE html>");function fr(h,S,R,D,q){switch(S){case"select":h.push(pn("select"));var Q=null,le=null;for(ot in R)if(F.call(R,ot)){var ke=R[ot];if(ke!=null)switch(ot){case"children":Q=ke;break;case"dangerouslySetInnerHTML":le=ke;break;case"defaultValue":case"value":break;default:At(h,D,ot,ke)}}return h.push(mt),zn(h,le,Q),Q;case"option":le=q.selectedValue,h.push(pn("option"));var $e=ke=null,gt=null,ot=null;for(Q in R)if(F.call(R,Q)){var Qt=R[Q];if(Qt!=null)switch(Q){case"children":ke=Qt;break;case"selected":gt=Qt;break;case"dangerouslySetInnerHTML":ot=Qt;break;case"value":$e=Qt;default:At(h,D,Q,Qt)}}if(le!=null)if(R=$e!==null?""+$e:Sn(ke),Ft(le)){for(D=0;D<le.length;D++)if(""+le[D]===R){h.push(Un);break}}else""+le===R&&h.push(Un);else gt&&h.push(Un);return h.push(mt),zn(h,ot,ke),ke;case"textarea":h.push(pn("textarea")),ot=le=Q=null;for(ke in R)if(F.call(R,ke)&&($e=R[ke],$e!=null))switch(ke){case"children":ot=$e;break;case"value":Q=$e;break;case"defaultValue":le=$e;break;case"dangerouslySetInnerHTML":throw Error(e(91));default:At(h,D,ke,$e)}if(Q===null&&le!==null&&(Q=le),h.push(mt),ot!=null){if(Q!=null)throw Error(e(92));if(Ft(ot)&&1<ot.length)throw Error(e(93));Q=""+ot}return typeof Q=="string"&&Q[0]===`
|
|
93
|
-
`&&h.push(nr),Q!==null&&h.push(y(Ie(""+Q))),null;case"input":h.push(pn("input")),$e=ot=ke=Q=null;for(le in R)if(F.call(R,le)&&(gt=R[le],gt!=null))switch(le){case"children":case"dangerouslySetInnerHTML":throw Error(e(399,"input"));case"defaultChecked":$e=gt;break;case"defaultValue":ke=gt;break;case"checked":ot=gt;break;case"value":Q=gt;break;default:At(h,D,le,gt)}return ot!==null?At(h,D,"checked",ot):$e!==null&&At(h,D,"checked",$e),Q!==null?At(h,D,"value",Q):ke!==null&&At(h,D,"value",ke),h.push(fn),null;case"menuitem":h.push(pn("menuitem"));for(var Xn in R)if(F.call(R,Xn)&&(Q=R[Xn],Q!=null))switch(Xn){case"children":case"dangerouslySetInnerHTML":throw Error(e(400));default:At(h,D,Xn,Q)}return h.push(mt),null;case"title":h.push(pn("title")),Q=null;for(Qt in R)if(F.call(R,Qt)&&(le=R[Qt],le!=null))switch(Qt){case"children":Q=le;break;case"dangerouslySetInnerHTML":throw Error(e(434));default:At(h,D,Qt,le)}return h.push(mt),Q;case"listing":case"pre":h.push(pn(S)),le=Q=null;for($e in R)if(F.call(R,$e)&&(ke=R[$e],ke!=null))switch($e){case"children":Q=ke;break;case"dangerouslySetInnerHTML":le=ke;break;default:At(h,D,$e,ke)}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,y(R)):h.push(y(""+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 Rr in R)if(F.call(R,Rr)&&(Q=R[Rr],Q!=null))switch(Rr){case"children":case"dangerouslySetInnerHTML":throw Error(e(399,S));default:At(h,D,Rr,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,D);case"html":return q.insertionMode===0&&h.push(hn),dr(h,R,S,D);default:if(S.indexOf("-")===-1&&typeof R.is!="string")return dr(h,R,S,D);h.push(pn(S)),le=Q=null;for(gt in R)if(F.call(R,gt)&&(ke=R[gt],ke!=null))switch(gt){case"children":Q=ke;break;case"dangerouslySetInnerHTML":le=ke;break;case"style":tt(h,D,ke);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:we(gt)&&typeof ke!="function"&&typeof ke!="symbol"&&h.push(Ke,y(gt),rt,y(Ie(ke)),kt)}return h.push(mt),zn(h,le,Q),Q}}var yi=E("</"),Vn=E(">"),Yt=E('<template id="'),Mr=E('"></template>'),Kr=E("<!--$-->"),Fr=E('<!--$?--><template id="'),Jr=E('"></template>'),Pr=E("<!--$!-->"),Bi=E("<!--/$-->"),Qr=E("<template"),pr=E('"'),Xr=E(' data-dgst="');E(' data-msg="'),E(' data-stck="');var la=E("></template>");function kn(h,S,R){if(o(h,Fr),R===null)throw Error(e(395));return o(h,R),c(h,Jr)}var rr=E('<div hidden id="'),Pn=E('">'),Ot=E("</div>"),hr=E('<svg aria-hidden="true" style="display:none" id="'),qr=E('">'),ei=E("</svg>"),ir=E('<math aria-hidden="true" style="display:none" id="'),ti=E('">'),gr=E("</math>"),nn=E('<table hidden id="'),Ni=E('">'),ni=E("</table>"),ji=E('<table hidden><tbody id="'),rn=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 vt(h,S,R,D){switch(R.insertionMode){case 0:case 1:return o(h,rr),o(h,S.segmentPrefix),o(h,y(D.toString(16))),c(h,Pn);case 2:return o(h,hr),o(h,S.segmentPrefix),o(h,y(D.toString(16))),c(h,qr);case 3:return o(h,ir),o(h,S.segmentPrefix),o(h,y(D.toString(16))),c(h,ti);case 4:return o(h,nn),o(h,S.segmentPrefix),o(h,y(D.toString(16))),c(h,Ni);case 5:return o(h,ji),o(h,S.segmentPrefix),o(h,y(D.toString(16))),c(h,rn);case 6:return o(h,Ba),o(h,S.segmentPrefix),o(h,y(D.toString(16))),c(h,Na);case 7:return o(h,ve),o(h,S.segmentPrefix),o(h,y(D.toString(16))),c(h,Re);default:throw Error(e(397))}}function _t(h,S){switch(S.insertionMode){case 0:case 1:return c(h,Ot);case 2:return c(h,ei);case 3:return c(h,gr);case 4:return c(h,ni);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("'),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('","'),Dr=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("'),Lr=E('"'),_r=E(")<\/script>"),_n=E(","),Ui=/[<\u2028\u2029]/g;function Er(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 Br=Object.assign,Qn=Symbol.for("react.element"),ri=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"),Nr=Symbol.for("react.context"),ja=Symbol.for("react.forward_ref"),Wi=Symbol.for("react.suspense"),ii=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),k=Symbol.for("react.lazy"),A=Symbol.for("react.scope"),P=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 ri:return"Portal";case ca:return"Profiler";case ua:return"StrictMode";case Wi:return"Suspense";case ii:return"SuspenseList"}if(typeof h=="object")switch(h.$$typeof){case Nr: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 Ve={};function Qe(h,S){if(h=h.contextTypes,!h)return Ve;var R={},D;for(D in h)R[D]=S[D];return R}var Je=null;function Pt(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));Pt(h,R)}S.context._currentValue=S.value}}function ar(h){h.context._currentValue=h.parentValue,h=h.parent,h!==null&&ar(h)}function Dn(h){var S=h.parent;S!==null&&Dn(S),h.context._currentValue=h.value}function Ln(h,S){if(h.context._currentValue=h.parentValue,h=h.parent,h===null)throw Error(e(402));h.depth===S.depth?Pt(h,S):Ln(h,S)}function jr(h,S){var R=S.parent;if(R===null)throw Error(e(402));h.depth===R.depth?Pt(h,R):jr(h,R),S.context._currentValue=S.value}function mr(h){var S=Je;S!==h&&(S===null?Dn(h):h===null?ar(S):S.depth===h.depth?Pt(S,h):S.depth>h.depth?Ln(S,h):jr(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 le=S.contextType;if(h.context=typeof le=="object"&&le!==null?le._currentValue:D,le=S.getDerivedStateFromProps,typeof le=="function"&&(le=le(R,q),q=le==null?q:Br({},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&&da.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 ke=S[le];ke=typeof ke=="function"?ke.call(h,Q,R,D):ke,ke!=null&&(q?(q=!1,Q=Br({},Q,ke)):Br(Q,ke))}h.state=Q}else Q.queue=null}var Hi={id:1,overflow:""};function zr(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 le=q-q%5;return Q=(D&(1<<le)-1).toString(32),D>>=le,q-=le,{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:Jo,Dl=Math.log,Ll=Math.LN2;function Jo(h){return h>>>=0,h===0?32:31-(Dl(h)/Ll|0)|0}function Qo(h,S){return h===S&&(h!==0||1/h===1/S)||h!==h&&S!==S}var Xo=typeof Object.is=="function"?Object.is:Qo,ai=null,Ua=null,go=null,Jt=null,Bt=!1,xt=!1,$i=0,Si=null,mo=0;function ki(){if(ai===null)throw Error(e(321));return ai}function Cr(){if(0<mo)throw Error(e(312));return{memoizedState:null,queue:null,next:null}}function qo(){return Jt===null?go===null?(Bt=!1,go=Jt=Cr()):(Bt=!0,Jt=go):Jt.next===null?(Bt=!1,Jt=Jt.next=Cr()):(Bt=!0,Jt=Jt.next),Jt}function vo(){Ua=ai=null,xt=!1,go=null,mo=0,Jt=Si=null}function Ws(h,S){return typeof S=="function"?S(h):S}function En(h,S,R){if(ai=ki(),Jt=qo(),Bt){var D=Jt.queue;if(S=D.dispatch,Si!==null&&(R=Si.get(D),R!==void 0)){Si.delete(D),D=Jt.memoizedState;do D=h(D,R.action),R=R.next;while(R!==null);return Jt.memoizedState=D,[D,S]}return[Jt.memoizedState,S]}return h=h===Ws?typeof S=="function"?S():S:R!==void 0?R(S):S,Jt.memoizedState=h,h=Jt.queue={last:null,dispatch:null},h=h.dispatch=Gi.bind(null,ai,h),[Jt.memoizedState,h]}function bo(h,S){if(ai=ki(),Jt=qo(),S=S===void 0?null:S,Jt!==null){var R=Jt.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(!Xo(S[q],D[q])){D=!1;break e}D=!0}if(D)return R[0]}}return h=h(),Jt.memoizedState=[h,S],h}function Gi(h,S,R){if(25<=mo)throw Error(e(301));if(h===ai)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 Hs(){throw Error(e(394))}function fa(){}var Wn={readContext:function(h){return h._currentValue},useContext:function(h){return ki(),h._currentValue},useMemo:bo,useReducer:En,useRef:function(h){ai=ki(),Jt=qo();var S=Jt.memoizedState;return S===null?(h={current:h},Jt.memoizedState=h):S},useState:function(h){return En(Ws,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,Hs]},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 $s(h){return console.error(h),null}function ha(){}function yo(h,S,R,D,q,Q,le,ke,$e){var gt=[],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:gt,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:q===void 0?$s:q,onAllReady:Q===void 0?ha:Q,onShellReady:le===void 0?ha:le,onShellError:ke===void 0?ha:ke,onFatalError:$e===void 0?ha:$e},R=Cn(S,0,null,R,!1,!1),R.parentFlushed=!0,h=wo(S,h,null,R,ot,Ve,null,Hi),gt.push(h),S}function wo(h,S,R,D,q,Q,le,ke){h.allPendingTasks++,R===null?h.pendingRootTasks++:R.pendingTasks++;var $e={node:S,ping:function(){var gt=h.pingedTasks;gt.push($e),gt.length===1&&Ks(h)},blockedBoundary:R,blockedSegment:D,abortSet:q,legacyContext:Q,context:le,treeContext:ke};return q.add($e),$e}function Cn(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 Hn(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 Gs(h,S,R,D,q){for(ai={},Ua=S,$i=0,h=R(D,q);xt;)xt=!1,$i=0,mo+=1,Jt=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 le=S.legacyContext;if(typeof R.getChildContext!="function")D=le;else{R=R.getChildContext();for(var ke in R)if(!(ke in Q))throw Error(e(108,xe(D)||"Unknown",ke));D=Br({},le,R)}S.legacyContext=D,$n(h,S,q),S.legacyContext=le}else $n(h,S,q)}function oi(h,S){if(h&&h.defaultProps){S=Br({},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=Gs(h,S,R,D,Q);var le=$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(le){D=S.treeContext,S.treeContext=zr(D,1,0);try{$n(h,S,q)}finally{S.treeContext=D}}else $n(h,S,q)}else if(typeof R=="string"){switch(q=S.blockedSegment,Q=fr(q.chunks,R,D,h.responseState,q.formatContext),q.lastPushedText=!1,le=q.formatContext,q.formatContext=ue(le,R,D),Tr(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(yi,y(R),Vn)}q.lastPushedText=!1}else{switch(R){case X:case P:case ua:case ca:case wi:$n(h,S,D.children);return;case ii:$n(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,le=new Set;var ke={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:le,errorDigest:null},$e=Cn(h,q.chunks.length,ke,q.formatContext,!1,!1);q.children.push($e),q.lastPushedText=!1;var gt=Cn(h,0,null,q.formatContext,!1,!1);gt.parentFlushed=!0,S.blockedBoundary=ke,S.blockedSegment=gt;try{if(Tr(h,S,D),gt.lastPushedText&>.textEmbedded&>.chunks.push(Oe),gt.status=1,ma(ke,gt),ke.pendingTasks===0)break e}catch(ot){gt.status=4,ke.forceClientRender=!0,ke.errorDigest=ga(h,ot)}finally{S.blockedBoundary=R,S.blockedSegment=q}S=wo(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 ja:if(D=Gs(h,S,R.render,D,q),$i!==0){R=S.treeContext,S.treeContext=zr(R,1,0);try{$n(h,S,D)}finally{S.treeContext=R}}else $n(h,S,D);return;case p:R=R.type,D=oi(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,le=Je,Je=D={parent:le,depth:le===null?0:le.depth+1,context:R,parentValue:Q,value:D},S.context=D,$n(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 Nr:D=D.children,D=D(R._currentValue),$n(h,S,D);return;case k:q=R._init,R=q(R._payload),D=oi(R,D),Zi(h,S,R,D,void 0);return}throw Error(e(130,R==null?R:typeof R,""))}}function $n(h,S,R){if(S.node=R,typeof R=="object"&&R!==null){switch(R.$$typeof){case Qn:Zi(h,S,R.type,R.props,R.ref);return;case ri:throw Error(e(257));case k:var D=R._init;R=D(R._payload),$n(h,S,R);return}if(Ft(R)){qt(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);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"?(D=S.blockedSegment,D.lastPushedText=Ze(S.blockedSegment.chunks,R,h.responseState,D.lastPushedText)):typeof R=="number"&&(D=S.blockedSegment,D.lastPushedText=Ze(S.blockedSegment.chunks,""+R,h.responseState,D.lastPushedText))}function qt(h,S,R){for(var D=R.length,q=0;q<D;q++){var Q=S.treeContext;S.treeContext=zr(Q,D,q);try{Tr(h,S,R[q])}finally{S.treeContext=Q}}}function Tr(h,S,R){var D=S.blockedSegment.formatContext,q=S.legacyContext,Q=S.context;try{return $n(h,S,R)}catch($e){if(vo(),typeof $e=="object"&&$e!==null&&typeof $e.then=="function"){R=$e;var le=S.blockedSegment,ke=Cn(h,le.chunks.length,null,le.formatContext,le.lastPushedText,!0);le.children.push(ke),le.lastPushedText=!1,h=wo(h,S.node,S.blockedBoundary,ke,S.abortSet,S.legacyContext,S.context,S.treeContext).ping,R.then(h,h),S.blockedSegment.formatContext=D,S.legacyContext=q,S.context=Q,mr(Q)}else throw S.blockedSegment.formatContext=D,S.legacyContext=q,S.context=Q,mr(Q),$e}}function es(h){var S=h.blockedBoundary;h=h.blockedSegment,h.status=3,Ys(this,S,h)}function Zs(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 Zs(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 Ys(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(es,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 Ks(h){if(h.status!==2){var S=Je,R=pa.current;pa.current=Wn;var D=Va;Va=h.responseState;try{var q=h.pingedTasks,Q;for(Q=0;Q<q.length;Q++){var le=q[Q],ke=h,$e=le.blockedSegment;if($e.status===0){mr(le.context);try{$n(ke,le,le.node),$e.lastPushedText&&$e.textEmbedded&&$e.chunks.push(Oe),le.abortSet.delete(le),$e.status=1,Ys(ke,le.blockedBoundary,$e)}catch(Ir){if(vo(),typeof Ir=="object"&&Ir!==null&&typeof Ir.then=="function"){var gt=le.ping;Ir.then(gt,gt)}else{le.abortSet.delete(le),$e.status=4;var ot=le.blockedBoundary,Qt=Ir,Xn=ga(ke,Qt);if(ot===null?Hn(ke,Qt):(ot.pendingTasks--,ot.forceClientRender||(ot.forceClientRender=!0,ot.errorDigest=Xn,ot.parentFlushed&&ke.clientRenderedBoundaries.push(ot))),ke.allPendingTasks--,ke.allPendingTasks===0){var Rr=ke.onAllReady;Rr()}}}finally{}}}q.splice(0,Q),h.destination!==null&&ko(h,h.destination)}catch(Ir){ga(h,Ir),Hn(h,Ir)}finally{Va=D,pa.current=R,R===Wn&&mr(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,Yt),o(S,h.placeholderPrefix),h=y(D.toString(16)),o(S,h),c(S,Mr);case 1:R.status=2;var q=!0;D=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,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,Pr),o(S,Qr),D&&(o(S,Xr),o(S,y(Ie(D))),o(S,pr)),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,kn(S,h.responseState,D),So(h,S,R)}else if(D.byteSize>h.progressiveChunkSize)D.rootSegmentID=h.nextSegmentId++,h.completedBoundaries.push(D),kn(S,h.responseState,D.id),So(h,S,R);else{if(c(S,Kr),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 vt(S,h.responseState,R.formatContext,R.id),Wa(h,S,R),_t(S,R.formatContext)}function Yi(h,S,R){for(var D=R.completedSegments,q=0;q<D.length;q++)Js(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,on):(h.sentCompleteBoundaryFunction=!0,o(S,Ut)),D===null)throw Error(e(395));return R=y(R.toString(16)),o(S,D),o(S,In),o(S,h.segmentPrefix),o(S,R),c(S,Dr)}function Js(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=y(q.toString(16)),o(S,q),o(S,ln),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 le=q[Q];D=S;var ke=h.responseState,$e=le.id,gt=le.errorDigest,ot=le.errorMessage,Qt=le.errorComponentStack;if(o(D,ke.startInlineScript),ke.sentClientRenderFunction?o(D,un):(ke.sentClientRenderFunction=!0,o(D,Xt)),$e===null)throw Error(e(395));o(D,$e),o(D,Lr),(gt||ot||Qt)&&(o(D,_n),o(D,y(Er(gt||"")))),(ot||Qt)&&(o(D,_n),o(D,y(Er(ot||"")))),Qt&&(o(D,_n),o(D,y(Er(Qt)))),c(D,_r)}q.splice(0,Q);var Xn=h.completedBoundaries;for(Q=0;Q<Xn.length;Q++)Yi(h,S,Xn[Q]);Xn.splice(0,Q),v(S),n=new Uint8Array(512),a=0;var Rr=h.partialBoundaries;for(Q=0;Q<Rr.length;Q++){var Ir=Rr[Q];e:{q=h,le=S;var _o=Ir.completedSegments;for(ke=0;ke<_o.length;ke++)if(!Js(q,le,Ir,_o[ke])){ke++,_o.splice(0,ke);var Qs=!1;break e}_o.splice(0,ke),Qs=!0}if(!Qs){h.destination=null,Q++,Rr.splice(0,Q);return}}Rr.splice(0,Q);var ns=h.completedBoundaries;for(Q=0;Q<ns.length;Q++)Yi(h,S,ns[Q]);ns.splice(0,Q)}finally{v(S),h.allPendingTasks===0&&h.pingedTasks.length===0&&h.clientRenderedBoundaries.length===0&&h.completedBoundaries.length===0&&S.close()}}function ts(h,S){try{var R=h.abortableTasks;R.forEach(function(D){return Zs(D,h,S)}),R.clear(),h.destination!==null&&ko(h,h.destination)}catch(D){ga(h,D),Hn(h,D)}}return Cd.renderToReadableStream=function(h,S){return new Promise(function(R,D){var q,Q,le=new Promise(function(ot,Qt){Q=ot,q=Qt}),ke=yo(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 ot=new ReadableStream({type:"bytes",pull:function(Qt){if(ke.status===1)ke.status=2,B(Qt,ke.fatalError);else if(ke.status!==2&&ke.destination===null){ke.destination=Qt;try{ko(ke,Qt)}catch(Xn){ga(ke,Xn),Hn(ke,Xn)}}},cancel:function(){ts(ke)}},{highWaterMark:0});ot.allReady=le,R(ot)},function(ot){le.catch(function(){}),D(ot)},q);if(S&&S.signal){var $e=S.signal,gt=function(){ts(ke,$e.reason),$e.removeEventListener("abort",gt)};$e.addEventListener("abort",gt)}Ks(ke)})},Cd.version="18.2.0",Cd}var Fl={};/**
|
|
96
|
-
* @license React
|
|
97
|
-
* react-dom-server-legacy.browser.development.js
|
|
98
|
-
*
|
|
99
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
100
|
-
*
|
|
101
|
-
* This source code is licensed under the MIT license found in the
|
|
102
|
-
* LICENSE file in the root directory of this source tree.
|
|
103
|
-
*/var Lh;function a0(){return Lh||(Lh=1,process.env.NODE_ENV!=="production"&&function(){var r=Ee,e="18.2.0",n=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function a(s){{for(var d=arguments.length,g=new Array(d>1?d-1:0),w=1;w<d;w++)g[w-1]=arguments[w];c("warn",s,g)}}function o(s){{for(var d=arguments.length,g=new Array(d>1?d-1:0),w=1;w<d;w++)g[w-1]=arguments[w];c("error",s,g)}}function c(s,d,g){{var w=n.ReactDebugCurrentFrame,T=w.getStackAddendum();T!==""&&(d+="%s",g=g.concat([T]));var L=g.map(function(W){return String(W)});L.unshift("Warning: "+d),Function.prototype.apply.call(console[s],console,L)}}function v(s){s()}function x(s){}function y(s,d){E(s,d)}function E(s,d){return s.push(d)}function B(s){}function F(s){s.push(null)}function V(s){return s}function ge(s){return s}function ae(s,d){s.destroy(d)}function we(s){{var d=typeof Symbol=="function"&&Symbol.toStringTag,g=d&&s[Symbol.toStringTag]||s.constructor.name||"Object";return g}}function Y(s){try{return G(s),!1}catch{return!0}}function G(s){return""+s}function de(s,d){if(Y(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,we(s)),G(s)}function he(s,d){if(Y(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,we(s)),G(s)}function me(s){if(Y(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.",we(s)),G(s)}var ee=Object.prototype.hasOwnProperty,Te=0,Ie=1,Lt=2,ft=3,Ft=4,ye=5,Se=6,Ae=":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=Ae+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",Ye=new RegExp("^["+Ae+"]["+Be+"]*$"),He={},je={};function ze(s){return ee.call(je,s)?!0:ee.call(He,s)?!1:Ye.test(s)?(je[s]=!0,!0):(He[s]=!0,o("Invalid attribute name: `%s`",s),!1)}function ht(s,d,g,w){if(g!==null&&g.type===Te)return!1;switch(typeof d){case"function":case"symbol":return!0;case"boolean":{if(w)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 Oe.hasOwnProperty(s)?Oe[s]:null}function ue(s,d,g,w,T,L,W){this.acceptsBooleans=d===Lt||d===ft||d===Ft,this.attributeName=w,this.attributeNamespace=T,this.mustUseProperty=g,this.propertyName=s,this.type=d,this.sanitizeURL=L,this.removeEmptyString=W}var Oe={},Ze=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];Ze.forEach(function(s){Oe[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],g=s[1];Oe[d]=new ue(d,Ie,!1,g,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(s){Oe[s]=new ue(s,Lt,!1,s.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(s){Oe[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){Oe[s]=new ue(s,ft,!1,s.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(s){Oe[s]=new ue(s,ft,!0,s,null,!1,!1)}),["capture","download"].forEach(function(s){Oe[s]=new ue(s,Ft,!1,s,null,!1,!1)}),["cols","rows","size","span"].forEach(function(s){Oe[s]=new ue(s,Se,!1,s,null,!1,!1)}),["rowSpan","start"].forEach(function(s){Oe[s]=new ue(s,ye,!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 d=s.replace(Pe,Fe);Oe[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(Pe,Fe);Oe[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(Pe,Fe);Oe[d]=new ue(d,Ie,!1,s,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(s){Oe[s]=new ue(s,Ie,!1,s.toLowerCase(),null,!1,!1)});var Me="xlinkHref";Oe[Me]=new ue("xlinkHref",Ie,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(s){Oe[s]=new ue(s,Ie,!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 tt(s,d){return s+d.charAt(0).toUpperCase()+d.substring(1)}var Ke=["Webkit","ms","Moz","O"];Object.keys(qe).forEach(function(s){Ke.forEach(function(d){qe[tt(d,s)]=qe[s]})});var rt={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function kt(s,d){rt[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 _e(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 At={"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+"]*$"),zn=new RegExp("^(aria)[A-Z]["+Be+"]*$");function Sn(s,d){{if(ee.call(mt,d)&&mt[d])return!0;if(zn.test(d)){var g="aria-"+d.slice(4).toLowerCase(),w=At.hasOwnProperty(g)?g:null;if(w==null)return o("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",d),mt[d]=!0,!0;if(d!==w)return o("Invalid ARIA attribute `%s`. Did you mean `%s`?",d,w),mt[d]=!0,!0}if(fn.test(d)){var T=d.toLowerCase(),L=At.hasOwnProperty(T)?T:null;if(L==null)return mt[d]=!0,!1;if(d!==L)return o("Unknown ARIA attribute `%s`. Did you mean `%s`?",d,L),mt[d]=!0,!0}}return!0}function Un(s,d){{var g=[];for(var w in d){var T=Sn(s,w);T||g.push(w)}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,d){_e(s,d)||Un(s,d)}var nr=!1;function Fn(s,d){{if(s!=="input"&&s!=="textarea"&&s!=="select")return;d!=null&&d.value===null&&!nr&&(nr=!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 wn={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./,yi=/^on[^A-Z]/,Vn=new RegExp("^(aria)-["+Be+"]*$"),Yt=new RegExp("^(aria)[A-Z]["+Be+"]*$");pn=function(s,d,g,w){if(ee.call(hn,d)&&hn[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."),hn[d]=!0,!0;if(w!=null){var L=w.registrationNameDependencies,W=w.possibleRegistrationNames;if(L.hasOwnProperty(d))return!0;var te=W.hasOwnProperty(T)?W[T]:null;if(te!=null)return o("Invalid event handler property `%s`. Did you mean `%s`?",d,te),hn[d]=!0,!0;if(fr.test(d))return o("Unknown event handler property `%s`. It will be ignored.",d),hn[d]=!0,!0}else if(fr.test(d))return yi.test(d)&&o("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",d),hn[d]=!0,!0;if(Vn.test(d)||Yt.test(d))return!0;if(T==="innerhtml")return o("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),hn[d]=!0,!0;if(T==="aria")return o("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),hn[d]=!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[d]=!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.",d),hn[d]=!0,!0;var pe=oe(d),De=pe!==null&&pe.type===Te;if(wn.hasOwnProperty(T)){var Ge=wn[T];if(Ge!==d)return o("Invalid DOM property `%s`. Did you mean `%s`?",d,Ge),hn[d]=!0,!0}else if(!De&&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),hn[d]=!0,!0;return typeof g=="boolean"&&ht(d,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,d,d,g,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.',g,d,d,g,d,d,d),hn[d]=!0,!0):De?!0:ht(d,g,pe,!1)?(hn[d]=!0,!1):((g==="false"||g==="true")&&pe!==null&&pe.type===ft&&(o("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",g,d,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".',d,g),hn[d]=!0),!0)}}var Mr=function(s,d,g){{var w=[];for(var T in d){var L=pn(s,T,d[T],g);L||w.push(T)}var W=w.map(function(te){return"`"+te+"`"}).join(", ");w.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):w.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 Kr(s,d,g){_e(s,d)||Mr(s,d,g)}var Fr=function(){};{var Jr=/^(?:webkit|moz|o)[A-Z]/,Pr=/^-ms-/,Bi=/-(.)/g,Qr=/;\s*$/,pr={},Xr={},la=!1,kn=!1,rr=function(s){return s.replace(Bi,function(d,g){return g.toUpperCase()})},Pn=function(s){pr.hasOwnProperty(s)&&pr[s]||(pr[s]=!0,o("Unsupported style property %s. Did you mean %s?",s,rr(s.replace(Pr,"ms-"))))},Ot=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,d){Xr.hasOwnProperty(d)&&Xr[d]||(Xr[d]=!0,o(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,s,d.replace(Qr,"")))},qr=function(s,d){la||(la=!0,o("`NaN` is an invalid value for the `%s` css style property.",s))},ei=function(s,d){kn||(kn=!0,o("`Infinity` is an invalid value for the `%s` css style property.",s))};Fr=function(s,d){s.indexOf("-")>-1?Pn(s):Jr.test(s)?Ot(s):Qr.test(d)&&hr(s,d),typeof d=="number"&&(isNaN(d)?qr(s,d):isFinite(d)||ei(s,d))}}var ir=Fr,ti=/["'&<>]/;function gr(s){me(s);var d=""+s,g=ti.exec(d);if(!g)return d;var w,T="",L,W=0;for(L=g.index;L<d.length;L++){switch(d.charCodeAt(L)){case 34:w=""";break;case 38:w="&";break;case 39:w="'";break;case 60:w="<";break;case 62:w=">";break;default:continue}W!==L&&(T+=d.substring(W,L)),W=L+1,T+=w}return W!==L?T+d.substring(W,L):T}function nn(s){return typeof s=="boolean"||typeof s=="number"?""+s:gr(s)}var Ni=/([A-Z])/g,ni=/^ms-/;function ji(s){return s.replace(Ni,"-$1").toLowerCase().replace(ni,"-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,zi=!1;function Ba(s){!zi&&rn.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="',vt='<script type="module" src="',_t='" async=""><\/script>';function wt(s){return me(s),(""+s).replace(pt,ln)}var pt=/(<\/|<)(s)(cript)/gi,ln=function(s,d,g,w){return""+d+(g==="s"?"\\u0073":"\\u0053")+w};function zt(s,d,g,w,T){var L=s===void 0?"":s,W=d===void 0?ve:'<script nonce="'+nn(d)+'">',te=[];if(g!==void 0&&te.push(W,wt(g),Re),w!==void 0)for(var pe=0;pe<w.length;pe++)te.push(nt,nn(w[pe]),_t);if(T!==void 0)for(var De=0;De<T.length;De++)te.push(vt,nn(T[De]),_t);return{bootstrapChunks:te,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,Dr=3,Xt=4,un=5,Lr=6,_r=7;function _n(s,d){return{insertionMode:s,selectedValue:d}}function Ui(s,d,g){switch(d){case"select":return _n(on,g.value!=null?g.value:g.defaultValue);case"svg":return _n(In,null);case"math":return _n(Dr,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(_r,null);case"tr":return _n(Lr,null)}return s.insertionMode>=Xt||s.insertionMode===Ut?_n(on,null):s}var Er=null;function Br(s){var d=s.nextSuspenseID++;return s.boundaryPrefix+d.toString(16)}function Qn(s,d,g){var w=s.idPrefix,T=":"+w+"R"+d;return g>0&&(T+="H"+g.toString(32)),T+":"}function ri(s){return nn(s)}var wi="<!-- -->";function ua(s,d,g,w){return d===""?w:(w&&s.push(wi),s.push(ri(d)),!0)}function ca(s,d,g,w){g&&w&&s.push(wi)}var Vi=new Map;function Nr(s){var d=Vi.get(s);if(d!==void 0)return d;var g=nn(ji(s));return Vi.set(s,g),g}var ja=' style="',Wi=":",ii=";";function p(s,d,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 w=!0;for(var T in g)if(ee.call(g,T)){var L=g[T];if(!(L==null||typeof L=="boolean"||L==="")){var W=void 0,te=void 0,pe=T.indexOf("--")===0;pe?(W=nn(T),he(L,T),te=nn((""+L).trim())):(ir(T,L),W=Nr(T),typeof L=="number"?L!==0&&!ee.call(qe,T)?te=L+"px":te=""+L:(he(L,T),te=nn((""+L).trim()))),w?(w=!1,s.push(ja,W,Wi,te)):s.push(ii,W,Wi,te)}}w||s.push(P)}var k=" ",A='="',P='"',X='=""';function K(s,d,g,w){switch(g){case"style":{p(s,d,w);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 w){case"function":case"symbol":return;case"boolean":if(!T.acceptsBooleans)return}var L=T.attributeName,W=L;switch(T.type){case ft:w&&s.push(k,W,X);return;case Ft:w===!0?s.push(k,W,X):w===!1||s.push(k,W,A,nn(w),P);return;case ye:isNaN(w)||s.push(k,W,A,nn(w),P);break;case Se:!isNaN(w)&&w>=1&&s.push(k,W,A,nn(w),P);break;default:T.sanitizeURL&&(de(w,L),w=""+w,Ba(w)),s.push(k,W,A,nn(w),P)}}else if(ze(g)){switch(typeof w){case"function":case"symbol":return;case"boolean":{var te=g.toLowerCase().slice(0,5);if(te!=="data-"&&te!=="aria-")return}}s.push(k,g,A,nn(w),P)}}}var ie=">",xe="/>";function Ve(s,d,g){if(d!=null){if(g!=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 w=d.__html;w!=null&&(me(w),s.push(""+w))}}var Qe=!1,Je=!1,Pt=!1,ar=!1,Dn=!1,Ln=!1,jr=!1;function mr(s,d){{var g=s[d];if(g!=null){var w=U(g);s.multiple&&!w?o("The `%s` prop supplied to <select> must be an array if `multiple` is true.",d):!s.multiple&&w&&o("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.",d)}}}function da(s,d,g){kt("select",d),mr(d,"value"),mr(d,"defaultValue"),d.value!==void 0&&d.defaultValue!==void 0&&!Pt&&(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"),Pt=!0),s.push(xt("select"));var w=null,T=null;for(var L in d)if(ee.call(d,L)){var W=d[L];if(W==null)continue;switch(L){case"children":w=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,w),w}function xi(s){var d="";return r.Children.forEach(s,function(g){g!=null&&(d+=g,!Dn&&typeof g!="string"&&typeof g!="number"&&(Dn=!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 zr(s,d,g,w){var T=w.selectedValue;s.push(xt("option"));var L=null,W=null,te=null,pe=null;for(var De in d)if(ee.call(d,De)){var Ge=d[De];if(Ge==null)continue;switch(De){case"children":L=Ge;break;case"selected":te=Ge,jr||(o("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),jr=!0);break;case"dangerouslySetInnerHTML":pe=Ge;break;case"value":W=Ge;default:K(s,g,De,Ge);break}}if(T!=null){var at;if(W!==null?(de(W,"value"),at=""+W):(pe!==null&&(Ln||(Ln=!0,o("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),at=xi(L)),U(T))for(var sn=0;sn<T.length;sn++){de(T[sn],"value");var Nn=""+T[sn];if(Nn===at){s.push(Hi);break}}else de(T,"select.value"),""+T===at&&s.push(Hi)}else te&&s.push(Hi);return s.push(ie),Ve(s,pe,L),L}function za(s,d,g){kt("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 w=null,T=null,L=null,W=null;for(var te in d)if(ee.call(d,te)){var pe=d[te];if(pe==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":W=pe;break;case"defaultValue":T=pe;break;case"checked":L=pe;break;case"value":w=pe;break;default:K(s,g,te,pe);break}}return L!==null?K(s,g,"checked",L):W!==null&&K(s,g,"checked",W),w!==null?K(s,g,"value",w):T!==null&&K(s,g,"value",T),s.push(xe),null}function Dl(s,d,g){kt("textarea",d),d.value!==void 0&&d.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 w=null,T=null,L=null;for(var W in d)if(ee.call(d,W)){var te=d[W];if(te==null)continue;switch(W){case"children":L=te;break;case"value":w=te;break;case"defaultValue":T=te;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");default:K(s,g,W,te);break}}if(w===null&&T!==null&&(w=T),s.push(ie),L!=null){if(o("Use the `defaultValue` or `value` props instead of setting children on <textarea>."),w!=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.");me(L[0]),w=""+L[0]}me(L),w=""+L}return typeof w=="string"&&w[0]===`
|
|
104
|
-
`&&s.push(Ua),w!==null&&(de(w,"value"),s.push(ri(""+w))),null}function Ll(s,d,g,w){s.push(xt(g));for(var T in d)if(ee.call(d,T)){var L=d[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,w,T,L);break}}return s.push(xe),null}function Jo(s,d,g){s.push(xt("menuitem"));for(var w in d)if(ee.call(d,w)){var T=d[w];if(T==null)continue;switch(w){case"children":case"dangerouslySetInnerHTML":throw new Error("menuitems cannot have `children` nor `dangerouslySetInnerHTML`.");default:K(s,g,w,T);break}}return s.push(ie),null}function Qo(s,d,g){s.push(xt("title"));var w=null;for(var T in d)if(ee.call(d,T)){var L=d[T];if(L==null)continue;switch(T){case"children":w=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(w)&&w.length<2?w[0]||null:w;Array.isArray(w)&&w.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 w}function Xo(s,d,g,w){s.push(xt(g));var T=null,L=null;for(var W in d)if(ee.call(d,W)){var te=d[W];if(te==null)continue;switch(W){case"children":T=te;break;case"dangerouslySetInnerHTML":L=te;break;default:K(s,w,W,te);break}}return s.push(ie),Ve(s,L,T),typeof T=="string"?(s.push(ri(T)),null):T}function ai(s,d,g,w){s.push(xt(g));var T=null,L=null;for(var W in d)if(ee.call(d,W)){var te=d[W];if(te==null)continue;switch(W){case"children":T=te;break;case"dangerouslySetInnerHTML":L=te;break;case"style":p(s,w,te);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:ze(W)&&typeof te!="function"&&typeof te!="symbol"&&s.push(k,W,A,nn(te),P);break}}return s.push(ie),Ve(s,L,T),T}var Ua=`
|
|
105
|
-
`;function go(s,d,g,w){s.push(xt(g));var T=null,L=null;for(var W in d)if(ee.call(d,W)){var te=d[W];if(te==null)continue;switch(W){case"children":T=te;break;case"dangerouslySetInnerHTML":L=te;break;default:K(s,w,W,te);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(Ua,pe):(me(pe),s.push(""+pe)))}return typeof T=="string"&&T[0]===`
|
|
107
|
-
`&&s.push(Ua),T}var Jt=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,Bt=new Map;function xt(s){var d=Bt.get(s);if(d===void 0){if(!Jt.test(s))throw new Error("Invalid tag: "+s);d="<"+s,Bt.set(s,d)}return d}var $i="<!DOCTYPE html>";function Si(s,d,g,w,T){switch(dr(d,g),Fn(d,g),Kr(d,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!==Dr&&d.indexOf("-")===-1&&typeof g.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,g,w);case"option":return zr(s,g,w,T);case"textarea":return Dl(s,g,w);case"input":return za(s,g,w);case"menuitem":return Jo(s,g,w);case"title":return Qo(s,g,w);case"listing":case"pre":return go(s,g,d,w);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 Ll(s,g,d,w);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 Xo(s,g,d,w);case"html":return T.insertionMode===Ut&&s.push($i),Xo(s,g,d,w);default:return d.indexOf("-")===-1&&typeof g.is!="string"?Xo(s,g,d,w):ai(s,g,d,w)}}var mo="</",ki=">";function Cr(s,d,g){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 qo(s,d){for(var g=d.bootstrapChunks,w=0;w<g.length-1;w++)y(s,g[w]);return w<g.length?E(s,g[w]):!0}var vo='<template id="',Ws='"></template>';function En(s,d,g){y(s,vo),y(s,d.placeholderPrefix);var w=g.toString(16);return y(s,w),E(s,Ws)}var bo="<!--$-->",Gi='<!--$?--><template id="',Hs='"></template>',fa="<!--$!-->",Wn="<!--/$-->",Va="<template",pa='"',$s=' data-dgst="',ha=' data-msg="',yo=' data-stck="',wo="></template>";function Cn(s,d){return E(s,bo)}function ga(s,d,g){if(y(s,Gi),g===null)throw new Error("An ID must have been assigned before we can complete the boundary.");return y(s,g),E(s,Hs)}function Hn(s,d,g,w,T){var L;return L=E(s,fa),y(s,Va),g&&(y(s,$s),y(s,nn(g)),y(s,pa)),w&&(y(s,ha),y(s,nn(w)),y(s,pa)),T&&(y(s,yo),y(s,nn(T)),y(s,pa)),L=E(s,wo),L}function Gs(s,d){return E(s,Wn)}function xo(s,d){return E(s,Wn)}function oi(s,d){return E(s,Wn)}var Zi='<div hidden id="',$n='">',qt="</div>",Tr='<svg aria-hidden="true" style="display:none" id="',es='">',Zs="</svg>",ma='<math aria-hidden="true" style="display:none" id="',Ys='">',Ks="</math>",So='<table hidden id="',Wa='">',Ha="</table>",Yi='<table hidden><tbody id="',Js='">',ko="</tbody></table>",ts='<table hidden><tr id="',h='">',S="</tr></table>",R='<table hidden><colgroup id="',D='">',q="</colgroup></table>";function Q(s,d,g,w){switch(g.insertionMode){case Ut:case on:return y(s,Zi),y(s,d.segmentPrefix),y(s,w.toString(16)),E(s,$n);case In:return y(s,Tr),y(s,d.segmentPrefix),y(s,w.toString(16)),E(s,es);case Dr:return y(s,ma),y(s,d.segmentPrefix),y(s,w.toString(16)),E(s,Ys);case Xt:return y(s,So),y(s,d.segmentPrefix),y(s,w.toString(16)),E(s,Wa);case un:return y(s,Yi),y(s,d.segmentPrefix),y(s,w.toString(16)),E(s,Js);case Lr:return y(s,ts),y(s,d.segmentPrefix),y(s,w.toString(16)),E(s,h);case _r:return y(s,R),y(s,d.segmentPrefix),y(s,w.toString(16)),E(s,D);default:throw new Error("Unknown insertion mode. This is a bug in React.")}}function le(s,d){switch(d.insertionMode){case Ut:case on:return E(s,qt);case In:return E(s,Zs);case Dr:return E(s,Ks);case Xt:return E(s,Ha);case un:return E(s,ko);case Lr:return E(s,S);case _r:return E(s,q);default:throw new Error("Unknown insertion mode. This is a bug in React.")}}var ke="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()}}',gt='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=ke+';$RS("',Qt='$RS("',Xn='","',Rr='")<\/script>';function Ir(s,d,g){y(s,d.startInlineScript),d.sentCompleteSegmentFunction?y(s,Qt):(d.sentCompleteSegmentFunction=!0,y(s,ot)),y(s,d.segmentPrefix);var w=g.toString(16);return y(s,w),y(s,Xn),y(s,d.placeholderPrefix),y(s,w),E(s,Rr)}var _o=$e+';$RC("',Qs='$RC("',ns='","',Eo='")<\/script>';function Ec(s,d,g,w){if(y(s,d.startInlineScript),d.sentCompleteBoundaryFunction?y(s,Qs):(d.sentCompleteBoundaryFunction=!0,y(s,_o)),g===null)throw new Error("An ID must have been assigned before we can complete the boundary.");var T=w.toString(16);return y(s,g),y(s,ns),y(s,d.segmentPrefix),y(s,T),E(s,Eo)}var Cc=gt+';$RX("',Bl='$RX("',Ou='"',va=")<\/script>",Co=",";function Tc(s,d,g,w,T,L){if(y(s,d.startInlineScript),d.sentClientRenderFunction?y(s,Bl):(d.sentClientRenderFunction=!0,y(s,Cc)),g===null)throw new Error("An ID must have been assigned before we can complete the boundary.");return y(s,g),y(s,Ou),(w||T||L)&&(y(s,Co),y(s,Nl(w||""))),(T||L)&&(y(s,Co),y(s,Nl(T||""))),L&&(y(s,Co),y(s,Nl(L))),E(s,va)}var Rc=/[<\u2028\u2029]/g;function Nl(s){var d=JSON.stringify(s);return d.replace(Rc,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 To(s,d){var g=zt(d,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 Ar(){return{insertionMode:on,selectedValue:null}}function jl(s,d,g,w){return g.generateStaticMarkup?(s.push(nn(d)),!1):ua(s,d,g,w)}function Mu(s,d,g,w){if(!d.generateStaticMarkup)return ca(s,d,g,w)}function zl(s,d){return d.generateStaticMarkup?!0:Cn(s)}function Ur(s,d,g,w,T){return d.generateStaticMarkup?!0:Hn(s,d,g,w,T)}function Ic(s,d){return d.generateStaticMarkup?!0:Gs(s)}function Fu(s,d){return d.generateStaticMarkup?!0:oi(s)}var Bn=Object.assign,Z=Symbol.for("react.element"),se=Symbol.for("react.portal"),re=Symbol.for("react.fragment"),Ne=Symbol.for("react.strict_mode"),st=Symbol.for("react.profiler"),Dt=Symbol.for("react.provider"),gn=Symbol.for("react.context"),Vt=Symbol.for("react.forward_ref"),ba=Symbol.for("react.suspense"),Ul=Symbol.for("react.suspense_list"),vr=Symbol.for("react.memo"),$a=Symbol.for("react.lazy"),Ac=Symbol.for("react.scope"),Ga=Symbol.for("react.debug_trace_mode"),Xs=Symbol.for("react.legacy_hidden"),qs=Symbol.for("react.default_value"),$t=Symbol.iterator,Pu="@@iterator";function cn(s){if(s===null||typeof s!="object")return null;var d=$t&&s[$t]||s[Pu];return typeof d=="function"?d:null}function ya(s,d,g){var w=s.displayName;if(w)return w;var T=d.displayName||d.name||"";return T!==""?g+"("+T+")":g}function Vl(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 re:return"Fragment";case se:return"Portal";case st:return"Profiler";case Ne:return"StrictMode";case ba:return"Suspense";case Ul:return"SuspenseList"}if(typeof s=="object")switch(s.$$typeof){case gn:var d=s;return Vl(d)+".Consumer";case Dt:var g=s;return Vl(g._context)+".Provider";case Vt:return ya(s,s.render,"ForwardRef");case vr:var w=s.displayName||null;return w!==null?w:dn(s.type)||"Memo";case $a:{var T=s,L=T._payload,W=T._init;try{return dn(W(L))}catch{return null}}}return null}var Ro=0,Io,_i,Ao,el,Oo,Wl,Hl;function Za(){}Za.__reactDisabledLog=!0;function tl(){{if(Ro===0){Io=console.log,_i=console.info,Ao=console.warn,el=console.error,Oo=console.group,Wl=console.groupCollapsed,Hl=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:Bn({},s,{value:Io}),info:Bn({},s,{value:_i}),warn:Bn({},s,{value:Ao}),error:Bn({},s,{value:el}),group:Bn({},s,{value:Oo}),groupCollapsed:Bn({},s,{value:Wl}),groupEnd:Bn({},s,{value:Hl})})}Ro<0&&o("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var si=n.ReactCurrentDispatcher,Ji;function rs(s,d,g){{if(Ji===void 0)try{throw Error()}catch(T){var w=T.stack.trim().match(/\n( *(at )?)/);Ji=w&&w[1]||""}return`
|
|
108
|
-
`+Ji+s}}var is=!1,nl;{var as=typeof WeakMap=="function"?WeakMap:Map;nl=new as}function Mo(s,d){if(!s||is)return"";{var g=nl.get(s);if(g!==void 0)return g}var w;is=!0;var T=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var L;L=si.current,si.current=null,tl();try{if(d){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){w=Tn}Reflect.construct(s,[],W)}else{try{W.call()}catch(Tn){w=Tn}s.call(W.prototype)}}else{try{throw Error()}catch(Tn){w=Tn}s()}}catch(Tn){if(Tn&&w&&typeof Tn.stack=="string"){for(var te=Tn.stack.split(`
|
|
109
|
-
`),pe=w.stack.split(`
|
|
110
|
-
`),De=te.length-1,Ge=pe.length-1;De>=1&&Ge>=0&&te[De]!==pe[Ge];)Ge--;for(;De>=1&&Ge>=0;De--,Ge--)if(te[De]!==pe[Ge]){if(De!==1||Ge!==1)do if(De--,Ge--,Ge<0||te[De]!==pe[Ge]){var at=`
|
|
111
|
-
`+te[De].replace(" at new "," at ");return s.displayName&&at.includes("<anonymous>")&&(at=at.replace("<anonymous>",s.displayName)),typeof s=="function"&&nl.set(s,at),at}while(De>=1&&Ge>=0);break}}}finally{is=!1,si.current=L,Ki(),Error.prepareStackTrace=T}var sn=s?s.displayName||s.name:"",Nn=sn?rs(sn):"";return typeof s=="function"&&nl.set(s,Nn),Nn}function os(s,d,g){return Mo(s,!0)}function $l(s,d,g){return Mo(s,!1)}function Gl(s){var d=s.prototype;return!!(d&&d.isReactComponent)}function Fo(s,d,g){if(s==null)return"";if(typeof s=="function")return Mo(s,Gl(s));if(typeof s=="string")return rs(s);switch(s){case ba:return rs("Suspense");case Ul:return rs("SuspenseList")}if(typeof s=="object")switch(s.$$typeof){case Vt:return $l(s.render);case vr:return Fo(s.type,d,g);case $a:{var w=s,T=w._payload,L=w._init;try{return Fo(L(T),d,g)}catch{}}}return""}var Zl={},mn=n.ReactDebugCurrentFrame;function vn(s){if(s){var d=s._owner,g=Fo(s.type,s._source,d?d.type:null);mn.setExtraStackFrame(g)}else mn.setExtraStackFrame(null)}function Yl(s,d,g,w,T){{var L=Function.call.bind(ee);for(var W in s)if(L(s,W)){var te=void 0;try{if(typeof s[W]!="function"){var pe=Error((w||"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}te=s[W](d,W,w,g,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(De){te=De}te&&!(te 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).",w||"React class",g,W,typeof te),vn(null)),te instanceof Error&&!(te.message in Zl)&&(Zl[te.message]=!0,vn(T),o("Failed %s type: %s",g,te.message),vn(null))}}}var Kl;Kl={};var Qi={};Object.freeze(Qi);function Du(s,d){{var g=s.contextTypes;if(!g)return Qi;var w={};for(var T in g)w[T]=d[T];{var L=dn(s)||"Unknown";Yl(g,w,"context",L)}return w}}function Xi(s,d,g,w){{if(typeof s.getChildContext!="function"){{var T=dn(d)||"Unknown";Kl[T]||(Kl[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 w))throw new Error((dn(d)||"Unknown")+'.getChildContext(): key "'+W+'" is not defined in childContextTypes.');{var te=dn(d)||"Unknown";Yl(w,L,"child context",te)}return Bn({},g,L)}}var li;li={};var ss=null,or=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 g=s.parent,w=d.parent;if(g===null){if(w!==null)throw new Error("The stacks must reach the root at the same time. This is a bug in React.")}else{if(w===null)throw new Error("The stacks must reach the root at the same time. This is a bug in React.");Sa(g,w)}xa(d)}}function ka(s){wa(s);var d=s.parent;d!==null&&ka(d)}function ls(s){var d=s.parent;d!==null&&ls(d),xa(s)}function Lu(s,d){wa(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===d.depth?Sa(g,d):Lu(g,d)}function Bu(s,d){var g=d.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?Sa(s,g):Bu(s,g),xa(d)}function rl(s){var d=or,g=s;d!==g&&(d===null?ls(g):g===null?ka(d):d.depth===g.depth?Sa(d,g):d.depth>g.depth?Lu(d,g):Bu(d,g),or=g)}function us(s,d){var g;g=s._currentValue2,s._currentValue2=d,s._currentRenderer2!==void 0&&s._currentRenderer2!==null&&s._currentRenderer2!==li&&o("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),s._currentRenderer2=li;var w=or,T={parent:w,depth:w===null?0:w.depth+1,context:s,parentValue:g,value:d};return or=T,T}function Po(s){var d=or;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 g=d.parentValue;g===qs?d.context._currentValue2=d.context._defaultValue:d.context._currentValue2=g,s._currentRenderer2!==void 0&&s._currentRenderer2!==null&&s._currentRenderer2!==li&&o("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),s._currentRenderer2=li}return or=d.parent}function cs(){return or}function Ya(s){var d=s._currentValue2;return d}function I(s){return s._reactInternals}function _a(s,d){s._reactInternals=d}var Ka={},sr={},St,il,Do,ds,Ei,Lo,al,ol,sl;{St=new Set,il=new Set,Do=new Set,al=new Set,ds=new Set,ol=new Set,sl=new Set;var Nu=new Set;Lo=function(s,d){if(!(s===null||typeof s=="function")){var g=d+"_"+s;Nu.has(g)||(Nu.add(g),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 g=dn(s)||"Component";ds.has(g)||(ds.add(g),o("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",g))}}}function Ci(s,d){{var g=s.constructor,w=g&&dn(g)||"ReactClass",T=w+"."+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,w),Ka[T]=!0}}var ju={isMounted:function(s){return!1},enqueueSetState:function(s,d,g){var w=I(s);w.queue===null?Ci(s,"setState"):(w.queue.push(d),g!=null&&Lo(g,"setState"))},enqueueReplaceState:function(s,d,g){var w=I(s);w.replace=!0,w.queue=[d],g!=null&&Lo(g,"setState")},enqueueForceUpdate:function(s,d){var g=I(s);g.queue===null?Ci(s,"forceUpdate"):d!=null&&Lo(d,"setState")}};function Oc(s,d,g,w,T){var L=g(T,w);Ei(d,L);var W=L==null?w:Bn({},w,L);return W}function Mc(s,d,g){var w=Qi,T=s.contextType;if("contextType"in s){var L=T===null||T!==void 0&&T.$$typeof===gn&&T._context===void 0;if(!L&&!sl.has(s)){sl.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===Dt?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?w=Ya(T):w=g;var te=new s(d,w);{if(typeof s.getDerivedStateFromProps=="function"&&(te.state===null||te.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,te.state===null?"null":"undefined",pe))}if(typeof s.getDerivedStateFromProps=="function"||typeof te.getSnapshotBeforeUpdate=="function"){var De=null,Ge=null,at=null;if(typeof te.componentWillMount=="function"&&te.componentWillMount.__suppressDeprecationWarning!==!0?De="componentWillMount":typeof te.UNSAFE_componentWillMount=="function"&&(De="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"),De!==null||Ge!==null||at!==null){var sn=dn(s)||"Component",Nn=typeof s.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";Do.has(sn)||(Do.add(sn),o(`Unsafe legacy lifecycles will not be called for components using new component APIs.
|
|
114
|
-
|
|
115
|
-
%s uses %s but also contains the following legacy lifecycles:%s%s%s
|
|
116
|
-
|
|
117
|
-
The above lifecycles should be removed. Learn more about this warning here:
|
|
118
|
-
https://reactjs.org/link/unsafe-component-lifecycles`,sn,Nn,De!==null?`
|
|
119
|
-
`+De:"",Ge!==null?`
|
|
120
|
-
`+Ge:"",at!==null?`
|
|
121
|
-
`+at:""))}}}return te}function zu(s,d,g){{var w=dn(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?",w):o("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",w)),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?",w),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.",w),s.propTypes&&o("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",w),s.contextType&&o("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",w),s.contextTypes&&o("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",w),d.contextType&&d.contextTypes&&!ol.has(d)&&(ol.add(d),o("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.",w)),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.",w),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.",dn(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()?",w),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().",w),typeof s.componentWillRecieveProps=="function"&&o("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",w),typeof s.UNSAFE_componentWillRecieveProps=="function"&&o("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",w);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.",w,w),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.",w,w),typeof s.getSnapshotBeforeUpdate=="function"&&typeof s.componentDidUpdate!="function"&&!il.has(d)&&(il.add(d),o("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",dn(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.",w),typeof s.getDerivedStateFromError=="function"&&o("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",w),typeof d.getSnapshotBeforeUpdate=="function"&&o("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",w);var W=s.state;W&&(typeof W!="object"||U(W))&&o("%s.state: must be set to an object or null",w),typeof s.getChildContext=="function"&&typeof d.childContextTypes!="object"&&o("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",w)}}function Fc(s,d){var g=d.state;if(typeof d.componentWillMount=="function"){if(d.componentWillMount.__suppressDeprecationWarning!==!0){var w=dn(s)||"Unknown";sr[w]||(a(`componentWillMount has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
122
|
-
|
|
123
|
-
* Move code from componentWillMount to componentDidMount (preferred in most cases) or the constructor.
|
|
124
|
-
|
|
125
|
-
Please update the following components: %s`,w),sr[w]=!0)}d.componentWillMount()}typeof d.UNSAFE_componentWillMount=="function"&&d.UNSAFE_componentWillMount(),g!==d.state&&(o("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",dn(s)||"Component"),ju.enqueueReplaceState(d,d.state,null))}function qi(s,d,g,w){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)d.state=T[0];else{for(var W=L?T[0]:d.state,te=!0,pe=L?1:0;pe<T.length;pe++){var De=T[pe],Ge=typeof De=="function"?De.call(d,W,g,w):De;Ge!=null&&(te?(te=!1,W=Bn({},W,Ge)):Bn(W,Ge))}d.state=W}}else s.queue=null}function ll(s,d,g,w){zu(s,d,g);var T=s.state!==void 0?s.state:null;s.updater=ju,s.props=g,s.state=T;var L={queue:[],replace:!1};_a(s,L);var W=d.contextType;if(typeof W=="object"&&W!==null?s.context=Ya(W):s.context=w,s.state===g){var te=dn(d)||"Component";al.has(te)||(al.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 pe=d.getDerivedStateFromProps;typeof pe=="function"&&(s.state=Oc(s,d,pe,T,g)),typeof d.getDerivedStateFromProps!="function"&&typeof s.getSnapshotBeforeUpdate!="function"&&(typeof s.UNSAFE_componentWillMount=="function"||typeof s.componentWillMount=="function")&&(Fc(d,s),qi(L,s,g,w))}var ul={id:1,overflow:""};function Pc(s){var d=s.overflow,g=s.id,w=g&~Ja(g);return w.toString(32)+d}function Jl(s,d,g){var w=s.id,T=s.overflow,L=cl(w)-1,W=w&~(1<<L),te=g+1,pe=cl(d)+L;if(pe>30){var De=L-L%5,Ge=(1<<De)-1,at=(W&Ge).toString(32),sn=W>>De,Nn=L-De,Tn=cl(d)+Nn,vu=te<<Nn,bu=vu|sn,Xu=at+T;return{id:1<<Tn|bu,overflow:Xu}}else{var Rs=te<<L,Lf=Rs|W,Bf=T;return{id:1<<pe|Lf,overflow:Bf}}}function cl(s){return 32-Dc(s)}function Ja(s){return 1<<cl(s)-1}var Dc=Math.clz32?Math.clz32:ea,Lc=Math.log,ui=Math.LN2;function ea(s){var d=s>>>0;return d===0?32:31-(Lc(d)/ui|0)|0}function Ql(s,d){return s===d&&(s!==0||1/s===1/d)||s!==s&&d!==d}var dl=typeof Object.is=="function"?Object.is:Ql,Nt=null,Qa=null,Ea=null,Gt=null,Vr=!1,Xa=!1,Bo=0,xn=null,Wr=0,qa=25,ci=!1,eo;function Gn(){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
|
-
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
127
|
-
2. You might be breaking the Rules of Hooks
|
|
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 ci&&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 Xl(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
|
-
|
|
131
|
-
Previous: %s
|
|
132
|
-
Incoming: %s`,eo,"["+s.join(", ")+"]","["+d.join(", ")+"]");for(var g=0;g<d.length&&g<s.length;g++)if(!dl(s[g],d[g]))return!1;return!0}function Ca(){if(Wr>0)throw new Error("Rendered more hooks than during the previous render");return{memoizedState:null,queue:null,next:null}}function lr(){return Gt===null?Ea===null?(Vr=!1,Ea=Gt=Ca()):(Vr=!0,Gt=Ea):Gt.next===null?(Vr=!1,Gt=Gt.next=Ca()):(Vr=!0,Gt=Gt.next),Gt}function ql(s,d){Nt=d,Qa=s,ci=!1,Bo=0}function Uu(s,d,g,w){for(;Xa;)Xa=!1,Bo=0,Wr+=1,Gt=null,g=s(d,w);return ta(),g}function eu(){var s=Bo!==0;return s}function ta(){ci=!1,Nt=null,Qa=null,Xa=!1,Ea=null,Wr=0,xn=null,Gt=null}function Ta(s){return ci&&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 tu(s){return eo="useContext",Gn(),Ya(s)}function fl(s,d){return typeof d=="function"?d(s):d}function pl(s){return eo="useState",Vu(fl,s)}function Vu(s,d,g){if(s!==fl&&(eo="useReducer"),Nt=Gn(),Gt=lr(),Vr){var w=Gt.queue,T=w.dispatch;if(xn!==null){var L=xn.get(w);if(L!==void 0){xn.delete(w);var W=Gt.memoizedState,te=L;do{var pe=te.action;ci=!0,W=s(W,pe),ci=!1,te=te.next}while(te!==null);return Gt.memoizedState=W,[W,T]}}return[Gt.memoizedState,T]}else{ci=!0;var De;s===fl?De=typeof d=="function"?d():d:De=g!==void 0?g(d):d,ci=!1,Gt.memoizedState=De;var Ge=Gt.queue={last:null,dispatch:null},at=Ge.dispatch=Wu.bind(null,Nt,Ge);return[Gt.memoizedState,at]}}function nu(s,d){Nt=Gn(),Gt=lr();var g=d===void 0?null:d;if(Gt!==null){var w=Gt.memoizedState;if(w!==null&&g!==null){var T=w[1];if(Xl(g,T))return w[0]}}ci=!0;var L=s();return ci=!1,Gt.memoizedState=[L,g],L}function Zn(s){Nt=Gn(),Gt=lr();var d=Gt.memoizedState;if(d===null){var g={current:s};return Object.seal(g),Gt.memoizedState=g,g}else return d}function ru(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 Wu(s,d,g){if(Wr>=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 w={action:g,next:null};xn===null&&(xn=new Map);var T=xn.get(d);if(T===void 0)xn.set(d,w);else{for(var L=T;L.next!==null;)L=L.next;L.next=w}}}function Ti(s,d){return nu(function(){return s},d)}function iu(s,d,g){return Gn(),d(s._source)}function hl(s,d,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 to(s){return Gn(),s}function fs(){throw new Error("startTransition cannot be called during server rendering.")}function qn(){return Gn(),[!1,fs]}function ps(){var s=Qa,d=Pc(s.treeContext),g=gs;if(g===null)throw new Error("Invalid hook call. Hooks can only be called inside of the body of a function component.");var w=Bo++;return Qn(g,d,w)}function hs(){}var Hu={readContext:Ta,useContext:tu,useMemo:nu,useReducer:Vu,useRef:Zn,useState:pl,useInsertionEffect:hs,useLayoutEffect:ru,useCallback:Ti,useImperativeHandle:hs,useEffect:hs,useDebugValue:hs,useDeferredValue:to,useTransition:qn,useId:ps,useMutableSource:iu,useSyncExternalStore:hl},gs=null;function No(s){gs=s}function au(s){try{var d="",g=s;do{switch(g.tag){case 0:d+=rs(g.type,null,null);break;case 1:d+=$l(g.type,null,null);break;case 2:d+=os(g.type,null,null);break}g=g.parent}while(g);return d}catch(w){return`
|
|
133
|
-
Error generating stack: `+w.message+`
|
|
134
|
-
`+w.stack}}var Hr=n.ReactCurrentDispatcher,ms=n.ReactDebugCurrentFrame,gl=0,no=1,jo=2,ou=3,ro=4,su=0,lu=1,Ri=2,Bc=12800;function Nc(s){return console.error(s),null}function zo(){}function vs(s,d,g,w,T,L,W,te,pe){var De=[],Ge=new Set,at={destination:null,responseState:d,progressiveChunkSize:w===void 0?Bc:w,status:su,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:Ge,pingedTasks:De,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:T===void 0?Nc:T,onAllReady:L===void 0?zo:L,onShellReady:W===void 0?zo:W,onShellError:te===void 0?zo:te,onFatalError:pe===void 0?zo:pe},sn=na(at,0,null,g,!1,!1);sn.parentFlushed=!0;var Nn=Uo(at,s,null,sn,Ge,Qi,ss,ul);return De.push(Nn),at}function ml(s,d){var g=s.pingedTasks;g.push(d),g.length===1&&v(function(){return mu(s)})}function di(s,d){return{id:Er,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:d,errorDigest:null}}function Uo(s,d,g,w,T,L,W,te){s.allPendingTasks++,g===null?s.pendingRootTasks++:g.pendingTasks++;var pe={node:d,ping:function(){return ml(s,pe)},blockedBoundary:g,blockedSegment:w,abortSet:T,legacyContext:L,context:W,treeContext:te};return pe.componentStack=null,T.add(pe),pe}function na(s,d,g,w,T,L){return{status:gl,id:-1,index:d,parentFlushed:!1,chunks:[],children:[],formatContext:w,boundary:g,lastPushedText:T,textEmbedded:L}}var fi=null;function Vo(){return fi===null||fi.componentStack===null?"":au(fi.componentStack)}function $r(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 vl(s,d){s.componentStack={tag:2,parent:s.componentStack,type:d}}function Gr(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 uu(s,d){{var g;typeof d=="string"?g=d:d&&typeof d.message=="string"?g=d.message:g=String(d);var w=ra||Vo();ra=null,s.errorMessage=g,s.errorComponentStack=w}}function ao(s,d){var g=s.onError(d);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 bs(s,d){var g=s.onShellError;g(d);var w=s.onFatalError;w(d),s.destination!==null?(s.status=Ri,ae(s.destination,d)):(s.status=lu,s.fatalError=d)}function bl(s,d,g){$r(d,"Suspense");var w=d.blockedBoundary,T=d.blockedSegment,L=g.fallback,W=g.children,te=new Set,pe=di(s,te),De=T.chunks.length,Ge=na(s,De,pe,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=pe,d.blockedSegment=at;try{if(pi(s,d,W),Mu(at.chunks,s.responseState,at.lastPushedText,at.textEmbedded),at.status=no,Es(pe,at),pe.pendingTasks===0){Gr(d);return}}catch(Nn){at.status=ro,pe.forceClientRender=!0,pe.errorDigest=ao(s,Nn),uu(pe,Nn)}finally{d.blockedBoundary=w,d.blockedSegment=T}var sn=Uo(s,L,w,Ge,te,d.legacyContext,d.context,d.treeContext);sn.componentStack=d.componentStack,s.pingedTasks.push(sn),Gr(d)}function $u(s,d,g,w){$r(d,g);var T=d.blockedSegment,L=Si(T.chunks,g,w,s.responseState,T.formatContext);T.lastPushedText=!1;var W=T.formatContext;T.formatContext=Ui(W,g,w),pi(s,d,L),T.formatContext=W,Cr(T.chunks,g),T.lastPushedText=!1,Gr(d)}function cu(s){return s.prototype&&s.prototype.isReactComponent}function bt(s,d,g,w,T){var L={};ql(d,L);var W=g(w,T);return Uu(g,w,W,T)}function ys(s,d,g,w,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(w)||"a component"),br=!0);{var W=w.childContextTypes;if(W!=null){var te=d.legacyContext,pe=Xi(g,w,te,W);d.legacyContext=pe,ur(s,d,L),d.legacyContext=te;return}}ur(s,d,L)}function Gu(s,d,g,w){vl(d,g);var T=Du(g,d.legacyContext),L=Mc(g,w,T);ll(L,g,w,T),ys(s,d,L,g,w),Gr(d)}var oo={},Wo={},du={},fu={},br=!1,Zu=!1,ws=!1,xs=!1;function Yu(s,d,g,w){var T;if(T=Du(g,d.legacyContext),io(d,g),g.prototype&&typeof g.prototype.render=="function"){var L=dn(g)||"Unknown";oo[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),oo[L]=!0)}var W=bt(s,d,g,w,T),te=eu();if(typeof W=="object"&&W!==null&&typeof W.render=="function"&&W.$$typeof===void 0){var pe=dn(g)||"Unknown";Wo[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),Wo[pe]=!0)}if(typeof W=="object"&&W!==null&&typeof W.render=="function"&&W.$$typeof===void 0){{var De=dn(g)||"Unknown";Wo[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),Wo[De]=!0)}ll(W,g,w,T),ys(s,d,W,g,w)}else if(Ku(g),te){var Ge=d.treeContext,at=1,sn=0;d.treeContext=Jl(Ge,at,sn);try{ur(s,d,W)}finally{d.treeContext=Ge}}else ur(s,d,W);Gr(d)}function Ku(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=dn(s)||"Unknown";fu[d]||(o("%s: Function components do not support getDerivedStateFromProps.",d),fu[d]=!0)}if(typeof s.contextType=="object"&&s.contextType!==null){var g=dn(s)||"Unknown";du[g]||(o("%s: Function components do not support contextType.",g),du[g]=!0)}}}function yr(s,d){if(s&&s.defaultProps){var g=Bn({},d),w=s.defaultProps;for(var T in w)g[T]===void 0&&(g[T]=w[T]);return g}return d}function Ra(s,d,g,w,T){io(d,g.render);var L=bt(s,d,g.render,w,T),W=eu();if(W){var te=d.treeContext,pe=1,De=0;d.treeContext=Jl(te,pe,De);try{ur(s,d,L)}finally{d.treeContext=te}}else ur(s,d,L);Gr(d)}function pu(s,d,g,w,T){var L=g.type,W=yr(L,w);Ss(s,d,L,W,T)}function yl(s,d,g,w){g._context===void 0?g!==g.Consumer&&(xs||(xs=!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=w.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=Ya(g),W=T(L);ur(s,d,W)}function wl(s,d,g,w){var T=g._context,L=w.value,W=w.children,te;te=d.context,d.context=us(T,L),ur(s,d,W),d.context=Po(T),te!==d.context&&o("Popping the context provider did not return back to the original snapshot. This is a bug in React.")}function wr(s,d,g,w,T){$r(d,"Lazy");var L=g._payload,W=g._init,te=W(L),pe=yr(te,w);Ss(s,d,te,pe,T),Gr(d)}function Ss(s,d,g,w,T){if(typeof g=="function")if(cu(g)){Gu(s,d,g,w);return}else{Yu(s,d,g,w);return}if(typeof g=="string"){$u(s,d,g,w);return}switch(g){case Xs:case Ga:case Ne:case st:case re:{ur(s,d,w.children);return}case Ul:{$r(d,"SuspenseList"),ur(s,d,w.children),Gr(d);return}case Ac:throw new Error("ReactDOMServer does not yet support scope components.");case ba:{bl(s,d,w);return}}if(typeof g=="object"&&g!==null)switch(g.$$typeof){case Vt:{Ra(s,d,g,w,T);return}case vr:{pu(s,d,g,w,T);return}case Dt:{wl(s,d,g,w);return}case gn:{yl(s,d,g,w);return}case $a:{wr(s,d,g,w);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 hu(s,d){typeof Symbol=="function"&&s[Symbol.toStringTag]==="Generator"&&(Zu||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."),Zu=!0),s.entries===d&&(ws||o("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),ws=!0)}function ur(s,d,g){try{return ks(s,d,g)}catch(w){throw typeof w=="object"&&w!==null&&typeof w.then=="function"||(ra=ra!==null?ra:Vo()),w}}function ks(s,d,g){if(d.node=g,typeof g=="object"&&g!==null){switch(g.$$typeof){case Z:{var w=g,T=w.type,L=w.props,W=w.ref;Ss(s,d,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 $a:{var te=g,pe=te._payload,De=te._init,Ge;try{Ge=De(pe)}catch(Rs){throw typeof Rs=="object"&&Rs!==null&&typeof Rs.then=="function"&&$r(d,"Lazy"),Rs}ur(s,d,Ge);return}}if(U(g)){ia(s,d,g);return}var at=cn(g);if(at){hu(g,at);var sn=at.call(g);if(sn){var Nn=sn.next();if(!Nn.done){var Tn=[];do Tn.push(Nn.value),Nn=sn.next();while(!Nn.done);ia(s,d,Tn);return}return}}var vu=Object.prototype.toString.call(g);throw new Error("Objects are not valid as a React child (found: "+(vu==="[object Object]"?"object with keys {"+Object.keys(g).join(", ")+"}":vu)+"). If you meant to render a collection of children, use an array instead.")}if(typeof g=="string"){var bu=d.blockedSegment;bu.lastPushedText=jl(d.blockedSegment.chunks,g,s.responseState,bu.lastPushedText);return}if(typeof g=="number"){var Xu=d.blockedSegment;Xu.lastPushedText=jl(d.blockedSegment.chunks,""+g,s.responseState,Xu.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 ia(s,d,g){for(var w=g.length,T=0;T<w;T++){var L=d.treeContext;d.treeContext=Jl(L,w,T);try{pi(s,d,g[T])}finally{d.treeContext=L}}}function jc(s,d,g){var w=d.blockedSegment,T=w.chunks.length,L=na(s,T,null,w.formatContext,w.lastPushedText,!0);w.children.push(L),w.lastPushedText=!1;var W=Uo(s,d.node,d.blockedBoundary,L,d.abortSet,d.legacyContext,d.context,d.treeContext);d.componentStack!==null&&(W.componentStack=d.componentStack.parent);var te=W.ping;g.then(te,te)}function pi(s,d,g){var w=d.blockedSegment.formatContext,T=d.legacyContext,L=d.context,W=null;W=d.componentStack;try{return ur(s,d,g)}catch(te){if(ta(),typeof te=="object"&&te!==null&&typeof te.then=="function"){jc(s,d,te),d.blockedSegment.formatContext=w,d.legacyContext=T,d.context=L,rl(L),d.componentStack=W;return}else throw d.blockedSegment.formatContext=w,d.legacyContext=T,d.context=L,rl(L),d.componentStack=W,te}}function _s(s,d,g,w){var T=ao(s,w);if(d===null?bs(s,w):(d.pendingTasks--,d.forceClientRender||(d.forceClientRender=!0,d.errorDigest=T,uu(d,w),d.parentFlushed&&s.clientRenderedBoundaries.push(d))),s.allPendingTasks--,s.allPendingTasks===0){var L=s.onAllReady;L()}}function gu(s){var d=this,g=s.blockedBoundary,w=s.blockedSegment;w.status=ou,Cs(d,g,w)}function xl(s,d,g){var w=s.blockedBoundary,T=s.blockedSegment;if(T.status=ou,w===null)d.allPendingTasks--,d.status!==Ri&&(d.status=Ri,d.destination!==null&&F(d.destination));else{if(w.pendingTasks--,!w.forceClientRender){w.forceClientRender=!0;var L=g===void 0?new Error("The render was aborted by the server without a reason."):g;w.errorDigest=d.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 te=fi;fi=s;try{uu(w,L)}finally{fi=te}}w.parentFlushed&&d.clientRenderedBoundaries.push(w)}if(w.fallbackAbortableTasks.forEach(function(De){return xl(De,d,g)}),w.fallbackAbortableTasks.clear(),d.allPendingTasks--,d.allPendingTasks===0){var pe=d.onAllReady;pe()}}}function Es(s,d){if(d.chunks.length===0&&d.children.length===1&&d.children[0].boundary===null){var g=d.children[0];g.id=d.id,g.parentFlushed=!0,g.status===no&&Es(s,g)}else{var w=s.completedSegments;w.push(d)}}function Cs(s,d,g){if(d===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=zo;var w=s.onShellReady;w()}}else if(d.pendingTasks--,!d.forceClientRender){if(d.pendingTasks===0)g.parentFlushed&&g.status===no&&Es(d,g),d.parentFlushed&&s.completedBoundaries.push(d),d.fallbackAbortableTasks.forEach(gu,s),d.fallbackAbortableTasks.clear();else if(g.parentFlushed&&g.status===no){Es(d,g);var T=d.completedSegments;T.length===1&&d.parentFlushed&&s.partialBoundaries.push(d)}}if(s.allPendingTasks--,s.allPendingTasks===0){var L=s.onAllReady;L()}}function Sl(s,d){var g=d.blockedSegment;if(g.status===gl){rl(d.context);var w=null;w=fi,fi=d;try{ur(s,d,d.node),Mu(g.chunks,s.responseState,g.lastPushedText,g.textEmbedded),d.abortSet.delete(d),g.status=no,Cs(s,d.blockedBoundary,g)}catch(L){if(ta(),typeof L=="object"&&L!==null&&typeof L.then=="function"){var T=d.ping;L.then(T,T)}else d.abortSet.delete(d),g.status=ro,_s(s,d.blockedBoundary,g,L)}finally{fi=w}}}function mu(s){if(s.status!==Ri){var d=cs(),g=Hr.current;Hr.current=Hu;var w;w=ms.getCurrentStack,ms.getCurrentStack=Vo;var T=gs;No(s.responseState);try{var L=s.pingedTasks,W;for(W=0;W<L.length;W++){var te=L[W];Sl(s,te)}L.splice(0,W),s.destination!==null&&_l(s,s.destination)}catch(pe){ao(s,pe),bs(s,pe)}finally{No(T),Hr.current=g,ms.getCurrentStack=w,g===Hu&&rl(d)}}}function Ho(s,d,g){switch(g.parentFlushed=!0,g.status){case gl:{var w=g.id=s.nextSegmentId++;return g.lastPushedText=!1,g.textEmbedded=!1,En(d,s.responseState,w)}case no:{g.status=jo;for(var T=!0,L=g.chunks,W=0,te=g.children,pe=0;pe<te.length;pe++){for(var De=te[pe];W<De.index;W++)y(d,L[W]);T=Ts(s,d,De)}for(;W<L.length-1;W++)y(d,L[W]);return W<L.length&&(T=E(d,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 Ts(s,d,g){var w=g.boundary;if(w===null)return Ho(s,d,g);if(w.parentFlushed=!0,w.forceClientRender)return Ur(d,s.responseState,w.errorDigest,w.errorMessage,w.errorComponentStack),Ho(s,d,g),Fu(d,s.responseState);if(w.pendingTasks>0){w.rootSegmentID=s.nextSegmentId++,w.completedSegments.length>0&&s.partialBoundaries.push(w);var T=w.id=Br(s.responseState);return ga(d,s.responseState,T),Ho(s,d,g),xo(d,s.responseState)}else{if(w.byteSize>s.progressiveChunkSize)return w.rootSegmentID=s.nextSegmentId++,s.completedBoundaries.push(w),ga(d,s.responseState,w.id),Ho(s,d,g),xo(d,s.responseState);zl(d,s.responseState);var L=w.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 Ts(s,d,W),Ic(d,s.responseState)}}function Ju(s,d,g){return Tc(d,s.responseState,g.id,g.errorDigest,g.errorMessage,g.errorComponentStack)}function kl(s,d,g){return Q(d,s.responseState,g.formatContext,g.id),Ts(s,d,g),le(d,g.formatContext)}function Yn(s,d,g){for(var w=g.completedSegments,T=0;T<w.length;T++){var L=w[T];Qu(s,d,g,L)}return w.length=0,Ec(d,s.responseState,g.id,g.rootSegmentID)}function Ii(s,d,g){for(var w=g.completedSegments,T=0;T<w.length;T++){var L=w[T];if(!Qu(s,d,g,L))return T++,w.splice(0,T),!1}return w.splice(0,T),!0}function Qu(s,d,g,w){if(w.status===jo)return!0;var T=w.id;if(T===-1){var L=w.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 kl(s,d,w)}else return kl(s,d,w),Ir(d,s.responseState,T)}function _l(s,d){try{var g=s.completedRootSegment;g!==null&&s.pendingRootTasks===0&&(Ts(s,d,g),s.completedRootSegment=null,qo(d,s.responseState));var w=s.clientRenderedBoundaries,T;for(T=0;T<w.length;T++){var L=w[T];if(!Ju(s,d,L)){s.destination=null,T++,w.splice(0,T);return}}w.splice(0,T);var W=s.completedBoundaries;for(T=0;T<W.length;T++){var te=W[T];if(!Yn(s,d,te)){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(!Ii(s,d,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 at=Ge[T];if(!Yn(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."),F(d))}}function El(s){v(function(){return mu(s)})}function l(s,d){if(s.status===lu){s.status=Ri,ae(d,s.fatalError);return}if(s.status!==Ri&&s.destination===null){s.destination=d;try{_l(s,d)}catch(g){ao(s,g),bs(s,g)}}}function f(s,d){try{var g=s.abortableTasks;g.forEach(function(w){return xl(w,s,d)}),g.clear(),s.destination!==null&&_l(s,s.destination)}catch(w){ao(s,w),bs(s,w)}}function b(){}function _(s,d,g,w){var T=!1,L=null,W="",te={push:function(at){return at!==null&&(W+=at),!0},destroy:function(at){T=!0,L=at}},pe=!1;function De(){pe=!0}var Ge=vs(s,To(g,d?d.identifierPrefix:void 0),Ar(),1/0,b,void 0,De,void 0,void 0);if(El(Ge),f(Ge,w),l(Ge,te),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,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.")}Fl.renderToNodeStream=H,Fl.renderToStaticMarkup=N,Fl.renderToStaticNodeStream=ne,Fl.renderToString=M,Fl.version=e}()),Fl}var Td={};/**
|
|
135
|
-
* @license React
|
|
136
|
-
* react-dom-server.browser.development.js
|
|
137
|
-
*
|
|
138
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
139
|
-
*
|
|
140
|
-
* This source code is licensed under the MIT license found in the
|
|
141
|
-
* LICENSE file in the root directory of this source tree.
|
|
142
|
-
*/var Bh;function o0(){return Bh||(Bh=1,process.env.NODE_ENV!=="production"&&function(){var r=Ee,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 v(l){l()}var x=512,y=null,E=0;function B(l){y=new Uint8Array(x),E=0}function F(l,f){if(f.length!==0){if(f.length>x){E>0&&(l.enqueue(new Uint8Array(y.buffer,0,E)),y=new Uint8Array(x),E=0),l.enqueue(f);return}var b=f,_=y.length-E;_<b.length&&(_===0?l.enqueue(y):(y.set(b.subarray(0,_),E),l.enqueue(y),b=b.subarray(_)),y=new Uint8Array(x),E=0),y.set(b,E),E+=b.length}}function V(l,f){return F(l,f),!0}function ge(l){y&&E>0&&(l.enqueue(new Uint8Array(y.buffer,0,E)),y=null,E=0)}function ae(l){l.close()}var we=new TextEncoder;function Y(l){return we.encode(l)}function G(l){return we.encode(l)}function de(l,f){typeof l.error=="function"?l.error(f):l.close()}function he(l){{var f=typeof Symbol=="function"&&Symbol.toStringTag,b=f&&l[Symbol.toStringTag]||l.constructor.name||"Object";return b}}function me(l){try{return ee(l),!1}catch{return!0}}function ee(l){return""+l}function Te(l,f){if(me(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,he(l)),ee(l)}function Ie(l,f){if(me(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,he(l)),ee(l)}function Lt(l){if(me(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.",he(l)),ee(l)}var ft=Object.prototype.hasOwnProperty,Ft=0,ye=1,Se=2,Ae=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",ht=new RegExp("^["+je+"]["+ze+"]*$"),oe={},ue={};function Oe(l){return ft.call(ue,l)?!0:ft.call(oe,l)?!1:ht.test(l)?(ue[l]=!0,!0):(oe[l]=!0,o("Invalid attribute name: `%s`",l),!1)}function Ze(l,f,b,_){if(b!==null&&b.type===Ft)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 Me.hasOwnProperty(l)?Me[l]:null}function Fe(l,f,b,_,M,N,H){this.acceptsBooleans=f===Se||f===Ae||f===Be,this.attributeName=_,this.attributeNamespace=M,this.mustUseProperty=b,this.propertyName=l,this.type=f,this.sanitizeURL=N,this.removeEmptyString=H}var Me={},qe=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];qe.forEach(function(l){Me[l]=new Fe(l,Ft,!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];Me[f]=new Fe(f,ye,!1,b,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(l){Me[l]=new Fe(l,Se,!1,l.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(l){Me[l]=new Fe(l,Se,!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){Me[l]=new Fe(l,Ae,!1,l.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(l){Me[l]=new Fe(l,Ae,!0,l,null,!1,!1)}),["capture","download"].forEach(function(l){Me[l]=new Fe(l,Be,!1,l,null,!1,!1)}),["cols","rows","size","span"].forEach(function(l){Me[l]=new Fe(l,He,!1,l,null,!1,!1)}),["rowSpan","start"].forEach(function(l){Me[l]=new Fe(l,Ye,!1,l.toLowerCase(),null,!1,!1)});var tt=/[\-\:]([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(tt,Ke);Me[f]=new Fe(f,ye,!1,l,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(l){var f=l.replace(tt,Ke);Me[f]=new Fe(f,ye,!1,l,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(l){var f=l.replace(tt,Ke);Me[f]=new Fe(f,ye,!1,l,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(l){Me[l]=new Fe(l,ye,!1,l.toLowerCase(),null,!1,!1)});var rt="xlinkHref";Me[rt]=new Fe("xlinkHref",ye,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(l){Me[l]=new Fe(l,ye,!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 At=["Webkit","ms","Moz","O"];Object.keys(kt).forEach(function(l){At.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 zn(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},Un={},dr=new RegExp("^(aria)-["+ze+"]*$"),nr=new RegExp("^(aria)[A-Z]["+ze+"]*$");function Fn(l,f){{if(ft.call(Un,f)&&Un[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),Un[f]=!0,!0;if(f!==_)return o("Invalid ARIA attribute `%s`. Did you mean `%s`?",f,_),Un[f]=!0,!0}if(dr.test(f)){var M=f.toLowerCase(),N=Sn.hasOwnProperty(M)?M:null;if(N==null)return Un[f]=!0,!1;if(f!==N)return o("Unknown ARIA attribute `%s`. Did you mean `%s`?",f,N),Un[f]=!0,!0}}return!0}function wn(l,f){{var b=[];for(var _ in f){var M=Fn(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){zn(l,f)||wn(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 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"},Vn=function(){};{var Yt={},Mr=/^on./,Kr=/^on[^A-Z]/,Fr=new RegExp("^(aria)-["+ze+"]*$"),Jr=new RegExp("^(aria)[A-Z]["+ze+"]*$");Vn=function(l,f,b,_){if(ft.call(Yt,f)&&Yt[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."),Yt[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),Yt[f]=!0,!0;if(Mr.test(f))return o("Unknown event handler property `%s`. It will be ignored.",f),Yt[f]=!0,!0}else if(Mr.test(f))return Kr.test(f)&&o("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",f),Yt[f]=!0,!0;if(Fr.test(f)||Jr.test(f))return!0;if(M==="innerhtml")return o("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),Yt[f]=!0,!0;if(M==="aria")return o("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),Yt[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),Yt[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),Yt[f]=!0,!0;var s=Pe(f),d=s!==null&&s.type===Ft;if(yi.hasOwnProperty(M)){var g=yi[M];if(g!==f)return o("Invalid DOM property `%s`. Did you mean `%s`?",f,g),Yt[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),Yt[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),Yt[f]=!0,!0):d?!0:Ze(f,b,s,!1)?(Yt[f]=!0,!1):((b==="false"||b==="true")&&s!==null&&s.type===Ae&&(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),Yt[f]=!0),!0)}}var Pr=function(l,f,b){{var _=[];for(var M in f){var N=Vn(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){zn(l,f)||Pr(l,f,b)}var Qr=function(){};{var pr=/^(?:webkit|moz|o)[A-Z]/,Xr=/^-ms-/,la=/-(.)/g,kn=/;\s*$/,rr={},Pn={},Ot=!1,hr=!1,qr=function(l){return l.replace(la,function(f,b){return b.toUpperCase()})},ei=function(l){rr.hasOwnProperty(l)&&rr[l]||(rr[l]=!0,o("Unsupported style property %s. Did you mean %s?",l,qr(l.replace(Xr,"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)))},ti=function(l,f){Pn.hasOwnProperty(f)&&Pn[f]||(Pn[f]=!0,o(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,l,f.replace(kn,"")))},gr=function(l,f){Ot||(Ot=!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))};Qr=function(l,f){l.indexOf("-")>-1?ei(l):pr.test(l)?ir(l):kn.test(f)&&ti(l,f),typeof f=="number"&&(isNaN(f)?gr(l,f):isFinite(f)||nn(l,f))}}var Ni=Qr,ni=/["'&<>]/;function ji(l){Lt(l);var f=""+l,b=ni.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:_=""";break;case 38:_="&";break;case 39:_="'";break;case 60:_="<";break;case 62:_=">";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: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 vt(l){return nt(l)}var _t=G("<script>"),wt=G("<\/script>"),pt=G('<script src="'),ln=G('<script type="module" src="'),zt=G('" async=""><\/script>');function Ut(l){return Lt(l),(""+l).replace(on,In)}var on=/(<\/|<)(s)(cript)/gi,In=function(l,f,b,_){return""+f+(b==="s"?"\\u0073":"\\u0053")+_};function Dr(l,f,b,_,M){var N=l===void 0?"":l,H=f===void 0?_t:G('<script nonce="'+rn(f)+'">'),ne=[];if(b!==void 0&&ne.push(H,Y(Ut(b)),wt),_!==void 0)for(var s=0;s<_.length;s++)ne.push(pt,Y(rn(_[s])),zt);if(M!==void 0)for(var d=0;d<M.length;d++)ne.push(ln,Y(rn(M[d])),zt);return{bootstrapChunks:ne,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,Lr=2,_r=3,_n=4,Ui=5,Er=6,Br=7;function Qn(l,f){return{insertionMode:l,selectedValue:f}}function ri(l){var f=l==="http://www.w3.org/2000/svg"?Lr:l==="http://www.w3.org/1998/Math/MathML"?_r:Xt;return Qn(f,null)}function wi(l,f,b){switch(f){case"select":return Qn(un,b.value!=null?b.value:b.defaultValue);case"svg":return Qn(Lr,null);case"math":return Qn(_r,null);case"foreignObject":return Qn(un,null);case"table":return Qn(_n,null);case"thead":case"tbody":case"tfoot":return Qn(Ui,null);case"colgroup":return Qn(Br,null);case"tr":return Qn(Er,null)}return l.insertionMode>=_n||l.insertionMode===Xt?Qn(un,null):l}var ua=null;function ca(l){var f=l.nextSuspenseID++;return G(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 Nr(l){return rn(l)}var ja=G("<!-- -->");function Wi(l,f,b,_){return f===""?_:(_&&l.push(ja),l.push(Y(Nr(f))),!0)}function ii(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=G(rn(Na(l)));return p.set(l,b),b}var A=G(' style="'),P=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(ft.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=Y(rn(M)),Ie(N,M),ne=Y(rn((""+N).trim()))):(Ni(M,N),H=k(M),typeof N=="number"?N!==0&&!ft.call(kt,M)?ne=Y(N+"px"):ne=Y(""+N):(Ie(N,M),ne=Y(rn((""+N).trim())))),_?(_=!1,l.push(A,H,P,ne)):l.push(X,H,P,ne)}}_||l.push(Ve)}var ie=G(" "),xe=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=Y(N);switch(M.type){case Ae:_&&l.push(ie,H,Qe);return;case Be:_===!0?l.push(ie,H,Qe):_===!1||l.push(ie,H,xe,Y(rn(_)),Ve);return;case Ye:isNaN(_)||l.push(ie,H,xe,Y(rn(_)),Ve);break;case He:!isNaN(_)&&_>=1&&l.push(ie,H,xe,Y(rn(_)),Ve);break;default:M.sanitizeURL&&(Te(_,N),_=""+_,Re(_)),l.push(ie,H,xe,Y(rn(_)),Ve)}}else if(Oe(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,Y(b),xe,Y(rn(_)),Ve)}}}var Pt=G(">"),ar=G("/>");function Dn(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(Y(""+_)))}}var Ln=!1,jr=!1,mr=!1,da=!1,xi=!1,Hi=!1,zr=!1;function za(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 Dl(l,f,b){fn("select",f),za(f,"value"),za(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(Cr("select"));var _=null,M=null;for(var N in f)if(ft.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(Pt),Dn(l,M,_),_}function Ll(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 Jo=G(' selected=""');function Qo(l,f,b,_){var M=_.selectedValue;l.push(Cr("option"));var N=null,H=null,ne=null,s=null;for(var d in f)if(ft.call(f,d)){var g=f[d];if(g==null)continue;switch(d){case"children":N=g;break;case"selected":ne=g,zr||(o("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),zr=!0);break;case"dangerouslySetInnerHTML":s=g;break;case"value":H=g;default:Je(l,b,d,g);break}}if(M!=null){var w;if(H!==null?(Te(H,"value"),w=""+H):(s!==null&&(Hi||(Hi=!0,o("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),w=Ll(N)),vt(M))for(var T=0;T<M.length;T++){Te(M[T],"value");var L=""+M[T];if(L===w){l.push(Jo);break}}else Te(M,"select.value"),""+M===w&&l.push(Jo)}else ne&&l.push(Jo);return l.push(Pt),Dn(l,s,N),N}function Xo(l,f,b){fn("input",f),f.checked!==void 0&&f.defaultChecked!==void 0&&!jr&&(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),jr=!0),f.value!==void 0&&f.defaultValue!==void 0&&!Ln&&(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),Ln=!0),l.push(Cr("input"));var _=null,M=null,N=null,H=null;for(var ne in f)if(ft.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(ar),null}function ai(l,f,b){fn("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(Cr("textarea"));var _=null,M=null,N=null;for(var H in f)if(ft.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(Pt),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.");Lt(N[0]),_=""+N[0]}Lt(N),_=""+N}return typeof _=="string"&&_[0]===`
|
|
143
|
-
`&&l.push($i),_!==null&&(Te(_,"value"),l.push(Y(Nr(""+_)))),null}function Ua(l,f,b,_){l.push(Cr(b));for(var M in f)if(ft.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 go(l,f,b){l.push(Cr("menuitem"));for(var _ in f)if(ft.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(Pt),null}function Jt(l,f,b){l.push(Cr("title"));var _=null;for(var M in f)if(ft.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(Pt);{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(Cr(b));var M=null,N=null;for(var H in f)if(ft.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(Pt),Dn(l,N,M),typeof M=="string"?(l.push(Y(Nr(M))),null):M}function xt(l,f,b,_){l.push(Cr(b));var M=null,N=null;for(var H in f)if(ft.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:Oe(H)&&typeof ne!="function"&&typeof ne!="symbol"&&l.push(ie,Y(H),xe,Y(rn(ne)),Ve);break}}return l.push(Pt),Dn(l,N,M),M}var $i=G(`
|
|
144
|
-
`);function Si(l,f,b,_){l.push(Cr(b));var M=null,N=null;for(var H in f)if(ft.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(Pt),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,Y(s)):(Lt(s),l.push(Y(""+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 Cr(l){var f=ki.get(l);if(f===void 0){if(!mo.test(l))throw new Error("Invalid tag: "+l);f=G("<"+l),ki.set(l,f)}return f}var qo=G("<!DOCTYPE html>");function vo(l,f,b,_,M){switch(pn(f,b),fr(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!==Lr&&M.insertionMode!==_r&&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 Dl(l,b,_);case"option":return Qo(l,b,_,M);case"textarea":return ai(l,b,_);case"input":return Xo(l,b,_);case"menuitem":return go(l,b,_);case"title":return Jt(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===Xt&&l.push(qo),Bt(l,b,f,_);default:return f.indexOf("-")===-1&&typeof b.is!="string"?Bt(l,b,f,_):xt(l,b,f,_)}}var Ws=G("</"),En=G(">");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(Ws,Y(f),En)}}function Gi(l,f){for(var b=f.bootstrapChunks,_=0;_<b.length-1;_++)F(l,b[_]);return _<b.length?V(l,b[_]):!0}var Hs=G('<template id="'),fa=G('"></template>');function Wn(l,f,b){F(l,Hs),F(l,f.placeholderPrefix);var _=Y(b.toString(16));return F(l,_),V(l,fa)}var Va=G("<!--$-->"),pa=G('<!--$?--><template id="'),$s=G('"></template>'),ha=G("<!--$!-->"),yo=G("<!--/$-->"),wo=G("<template"),Cn=G('"'),ga=G(' data-dgst="'),Hn=G(' data-msg="'),Gs=G(' data-stck="'),xo=G("></template>");function oi(l,f){return V(l,Va)}function Zi(l,f,b){if(F(l,pa),b===null)throw new Error("An ID must have been assigned before we can complete the boundary.");return F(l,b),V(l,$s)}function $n(l,f,b,_,M){var N;return N=V(l,ha),F(l,wo),b&&(F(l,ga),F(l,Y(rn(b))),F(l,Cn)),_&&(F(l,Hn),F(l,Y(rn(_))),F(l,Cn)),M&&(F(l,Gs),F(l,Y(rn(M))),F(l,Cn)),N=V(l,xo),N}function qt(l,f){return V(l,yo)}function Tr(l,f){return V(l,yo)}function es(l,f){return V(l,yo)}var Zs=G('<div hidden id="'),ma=G('">'),Ys=G("</div>"),Ks=G('<svg aria-hidden="true" style="display:none" id="'),So=G('">'),Wa=G("</svg>"),Ha=G('<math aria-hidden="true" style="display:none" id="'),Yi=G('">'),Js=G("</math>"),ko=G('<table hidden id="'),ts=G('">'),h=G("</table>"),S=G('<table hidden><tbody id="'),R=G('">'),D=G("</tbody></table>"),q=G('<table hidden><tr id="'),Q=G('">'),le=G("</tr></table>"),ke=G('<table hidden><colgroup id="'),$e=G('">'),gt=G("</colgroup></table>");function ot(l,f,b,_){switch(b.insertionMode){case Xt:case un:return F(l,Zs),F(l,f.segmentPrefix),F(l,Y(_.toString(16))),V(l,ma);case Lr:return F(l,Ks),F(l,f.segmentPrefix),F(l,Y(_.toString(16))),V(l,So);case _r:return F(l,Ha),F(l,f.segmentPrefix),F(l,Y(_.toString(16))),V(l,Yi);case _n:return F(l,ko),F(l,f.segmentPrefix),F(l,Y(_.toString(16))),V(l,ts);case Ui:return F(l,S),F(l,f.segmentPrefix),F(l,Y(_.toString(16))),V(l,R);case Er:return F(l,q),F(l,f.segmentPrefix),F(l,Y(_.toString(16))),V(l,Q);case Br:return F(l,ke),F(l,f.segmentPrefix),F(l,Y(_.toString(16))),V(l,$e);default:throw new Error("Unknown insertion mode. This is a bug in React.")}}function Qt(l,f){switch(f.insertionMode){case Xt:case un:return V(l,Ys);case Lr:return V(l,Wa);case _r:return V(l,Js);case _n:return V(l,h);case Ui:return V(l,D);case Er:return V(l,le);case Br:return V(l,gt);default:throw new Error("Unknown insertion mode. This is a bug in React.")}}var Xn="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)}",Rr='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()}}',Ir='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=G(Xn+';$RS("'),Qs=G('$RS("'),ns=G('","'),Eo=G('")<\/script>');function Ec(l,f,b){F(l,f.startInlineScript),f.sentCompleteSegmentFunction?F(l,Qs):(f.sentCompleteSegmentFunction=!0,F(l,_o)),F(l,f.segmentPrefix);var _=Y(b.toString(16));return F(l,_),F(l,ns),F(l,f.placeholderPrefix),F(l,_),V(l,Eo)}var Cc=G(Rr+';$RC("'),Bl=G('$RC("'),Ou=G('","'),va=G('")<\/script>');function Co(l,f,b,_){if(F(l,f.startInlineScript),f.sentCompleteBoundaryFunction?F(l,Bl):(f.sentCompleteBoundaryFunction=!0,F(l,Cc)),b===null)throw new Error("An ID must have been assigned before we can complete the boundary.");var M=Y(_.toString(16));return F(l,b),F(l,Ou),F(l,f.segmentPrefix),F(l,M),V(l,va)}var Tc=G(Ir+';$RX("'),Rc=G('$RX("'),Nl=G('"'),To=G(")<\/script>"),Ar=G(",");function jl(l,f,b,_,M,N){if(F(l,f.startInlineScript),f.sentClientRenderFunction?F(l,Rc):(f.sentClientRenderFunction=!0,F(l,Tc)),b===null)throw new Error("An ID must have been assigned before we can complete the boundary.");return F(l,b),F(l,Nl),(_||M||N)&&(F(l,Ar),F(l,Y(zl(_||"")))),(M||N)&&(F(l,Ar),F(l,Y(zl(M||"")))),N&&(F(l,Ar),F(l,Y(zl(N)))),V(l,To)}var Mu=/[<\u2028\u2029]/g;function zl(l){var f=JSON.stringify(l);return f.replace(Mu,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 Ur=Object.assign,Ic=Symbol.for("react.element"),Fu=Symbol.for("react.portal"),Bn=Symbol.for("react.fragment"),Z=Symbol.for("react.strict_mode"),se=Symbol.for("react.profiler"),re=Symbol.for("react.provider"),Ne=Symbol.for("react.context"),st=Symbol.for("react.forward_ref"),Dt=Symbol.for("react.suspense"),gn=Symbol.for("react.suspense_list"),Vt=Symbol.for("react.memo"),ba=Symbol.for("react.lazy"),Ul=Symbol.for("react.scope"),vr=Symbol.for("react.debug_trace_mode"),$a=Symbol.for("react.legacy_hidden"),Ac=Symbol.for("react.default_value"),Ga=Symbol.iterator,Xs="@@iterator";function qs(l){if(l===null||typeof l!="object")return null;var f=Ga&&l[Ga]||l[Xs];return typeof f=="function"?f:null}function $t(l,f,b){var _=l.displayName;if(_)return _;var M=f.displayName||f.name||"";return M!==""?b+"("+M+")":b}function Pu(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 Bn:return"Fragment";case Fu:return"Portal";case se:return"Profiler";case Z:return"StrictMode";case Dt:return"Suspense";case gn:return"SuspenseList"}if(typeof l=="object")switch(l.$$typeof){case Ne:var f=l;return Pu(f)+".Consumer";case re:var b=l;return Pu(b._context)+".Provider";case st:return $t(l,l.render,"ForwardRef");case Vt:var _=l.displayName||null;return _!==null?_:cn(l.type)||"Memo";case ba:{var M=l,N=M._payload,H=M._init;try{return cn(H(N))}catch{return null}}}return null}var ya=0,Vl,dn,Ro,Io,_i,Ao,el;function Oo(){}Oo.__reactDisabledLog=!0;function Wl(){{if(ya===0){Vl=console.log,dn=console.info,Ro=console.warn,Io=console.error,_i=console.group,Ao=console.groupCollapsed,el=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 Hl(){{if(ya--,ya===0){var l={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Ur({},l,{value:Vl}),info:Ur({},l,{value:dn}),warn:Ur({},l,{value:Ro}),error:Ur({},l,{value:Io}),group:Ur({},l,{value:_i}),groupCollapsed:Ur({},l,{value:Ao}),groupEnd:Ur({},l,{value:el})})}ya<0&&o("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Za=n.ReactCurrentDispatcher,tl;function Ki(l,f,b){{if(tl===void 0)try{throw Error()}catch(M){var _=M.stack.trim().match(/\n( *(at )?)/);tl=_&&_[1]||""}return`
|
|
147
|
-
`+tl+l}}var si=!1,Ji;{var rs=typeof WeakMap=="function"?WeakMap:Map;Ji=new rs}function is(l,f){if(!l||si)return"";{var b=Ji.get(l);if(b!==void 0)return b}var _;si=!0;var M=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var N;N=Za.current,Za.current=null,Wl();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 ne=W.stack.split(`
|
|
148
|
-
`),s=_.stack.split(`
|
|
149
|
-
`),d=ne.length-1,g=s.length-1;d>=1&&g>=0&&ne[d]!==s[g];)g--;for(;d>=1&&g>=0;d--,g--)if(ne[d]!==s[g]){if(d!==1||g!==1)do if(d--,g--,g<0||ne[d]!==s[g]){var w=`
|
|
150
|
-
`+ne[d].replace(" at new "," at ");return l.displayName&&w.includes("<anonymous>")&&(w=w.replace("<anonymous>",l.displayName)),typeof l=="function"&&Ji.set(l,w),w}while(d>=1&&g>=0);break}}}finally{si=!1,Za.current=N,Hl(),Error.prepareStackTrace=M}var T=l?l.displayName||l.name:"",L=T?Ki(T):"";return typeof l=="function"&&Ji.set(l,L),L}function nl(l,f,b){return is(l,!0)}function as(l,f,b){return is(l,!1)}function Mo(l){var f=l.prototype;return!!(f&&f.isReactComponent)}function os(l,f,b){if(l==null)return"";if(typeof l=="function")return is(l,Mo(l));if(typeof l=="string")return Ki(l);switch(l){case Dt:return Ki("Suspense");case gn:return Ki("SuspenseList")}if(typeof l=="object")switch(l.$$typeof){case st:return as(l.render);case Vt:return os(l.type,f,b);case ba:{var _=l,M=_._payload,N=_._init;try{return os(N(M),f,b)}catch{}}}return""}var $l={},Gl=n.ReactDebugCurrentFrame;function Fo(l){if(l){var f=l._owner,b=os(l.type,l._source,f?f.type:null);Gl.setExtraStackFrame(b)}else Gl.setExtraStackFrame(null)}function Zl(l,f,b,_,M){{var N=Function.call.bind(ft);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)&&(Fo(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),Fo(null)),ne instanceof Error&&!(ne.message in $l)&&($l[ne.message]=!0,Fo(M),o("Failed %s type: %s",b,ne.message),Fo(null))}}}var mn;mn={};var vn={};Object.freeze(vn);function Yl(l,f){{var b=l.contextTypes;if(!b)return vn;var _={};for(var M in b)_[M]=f[M];{var N=cn(l)||"Unknown";Zl(b,_,"context",N)}return _}}function Kl(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 ne=cn(f)||"Unknown";Zl(_,N,"child context",ne)}return Ur({},b,N)}}var Qi;Qi={};var Du=null,Xi=null;function li(l){l.context._currentValue=l.parentValue}function ss(l){l.context._currentValue=l.value}function or(l,f){if(l!==f){li(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,_)}ss(f)}}function wa(l){li(l);var f=l.parent;f!==null&&wa(f)}function xa(l){var f=l.parent;f!==null&&xa(f),ss(l)}function Sa(l,f){li(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):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?or(l,b):ka(l,b),ss(f)}function ls(l){var f=Xi,b=l;f!==b&&(f===null?xa(b):b===null?wa(f):f.depth===b.depth?or(f,b):f.depth>b.depth?Sa(f,b):ka(f,b),Xi=b)}function Lu(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 Bu(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===Ac?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 rl(){return Xi}function us(l){var f=l._currentValue;return f}function Po(l){return l._reactInternals}function cs(l,f){l._reactInternals=f}var Ya={},I={},_a,Ka,sr,St,il,Do,ds,Ei,Lo;{_a=new Set,Ka=new Set,sr=new Set,ds=new Set,St=new Set,Ei=new Set,Lo=new Set;var al=new Set;Do=function(l,f){if(!(l===null||typeof l=="function")){var b=f+"_"+l;al.has(b)||(al.add(b),o("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",f,l))}},il=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 ol(l,f){{var b=l.constructor,_=b&&cn(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
|
-
|
|
152
|
-
Please check the code for the %s component.`,f,f,_),Ya[M]=!0}}var sl={isMounted:function(l){return!1},enqueueSetState:function(l,f,b){var _=Po(l);_.queue===null?ol(l,"setState"):(_.queue.push(f),b!=null&&Do(b,"setState"))},enqueueReplaceState:function(l,f,b){var _=Po(l);_.replace=!0,_.queue=[f],b!=null&&Do(b,"setState")},enqueueForceUpdate:function(l,f){var b=Po(l);b.queue===null?ol(l,"forceUpdate"):f!=null&&Do(f,"setState")}};function Nu(l,f,b,_,M){var N=b(M,_);il(f,N);var H=N==null?_:Ur({},_,N);return H}function Ci(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&&!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",cn(l)||"Component",H)}}typeof M=="object"&&M!==null?_=us(M):_=b;var ne=new l(f,_);{if(typeof l.getDerivedStateFromProps=="function"&&(ne.state===null||ne.state===void 0)){var s=cn(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,g=null,w=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?g="componentWillReceiveProps":typeof ne.UNSAFE_componentWillReceiveProps=="function"&&(g="UNSAFE_componentWillReceiveProps"),typeof ne.componentWillUpdate=="function"&&ne.componentWillUpdate.__suppressDeprecationWarning!==!0?w="componentWillUpdate":typeof ne.UNSAFE_componentWillUpdate=="function"&&(w="UNSAFE_componentWillUpdate"),d!==null||g!==null||w!==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.
|
|
153
|
-
|
|
154
|
-
%s uses %s but also contains the following legacy lifecycles:%s%s%s
|
|
155
|
-
|
|
156
|
-
The above lifecycles should be removed. Learn more about this warning here:
|
|
157
|
-
https://reactjs.org/link/unsafe-component-lifecycles`,T,L,d!==null?`
|
|
158
|
-
`+d:"",g!==null?`
|
|
159
|
-
`+g:"",w!==null?`
|
|
160
|
-
`+w:""))}}}return ne}function ju(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&&!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.",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"&&!Ka.has(f)&&(Ka.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 Oc(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.
|
|
161
|
-
|
|
162
|
-
* Move code from componentWillMount to componentDidMount (preferred in most cases) or the constructor.
|
|
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"),sl.enqueueReplaceState(f,f.state,null))}function Mc(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],g=typeof d=="function"?d.call(f,H,b,_):d;g!=null&&(ne?(ne=!1,H=Ur({},H,g)):Ur(H,g))}f.state=H}}else l.queue=null}function zu(l,f,b,_){ju(l,f,b);var M=l.state!==void 0?l.state:null;l.updater=sl,l.props=b,l.state=M;var N={queue:[],replace:!1};cs(l,N);var H=f.contextType;if(typeof H=="object"&&H!==null?l.context=us(H):l.context=_,l.state===b){var ne=cn(f)||"Component";ds.has(ne)||(ds.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=Nu(l,f,s,M,b)),typeof f.getDerivedStateFromProps!="function"&&typeof l.getSnapshotBeforeUpdate!="function"&&(typeof l.UNSAFE_componentWillMount=="function"||typeof l.componentWillMount=="function")&&(Oc(f,l),Mc(N,l,b,_))}var Fc={id:1,overflow:""};function qi(l){var f=l.overflow,b=l.id,_=b&~Pc(b);return _.toString(32)+f}function ll(l,f,b){var _=l.id,M=l.overflow,N=ul(_)-1,H=_&~(1<<N),ne=b+1,s=ul(f)+N;if(s>30){var d=N-N%5,g=(1<<d)-1,w=(H&g).toString(32),T=H>>d,L=N-d,W=ul(f)+L,te=ne<<L,pe=te|T,De=w+M;return{id:1<<W|pe,overflow:De}}else{var Ge=ne<<N,at=Ge|H,sn=M;return{id:1<<s|at,overflow:sn}}}function ul(l){return 32-Jl(l)}function Pc(l){return 1<<ul(l)-1}var Jl=Math.clz32?Math.clz32:Dc,cl=Math.log,Ja=Math.LN2;function Dc(l){var f=l>>>0;return f===0?32:31-(cl(f)/Ja|0)|0}function Lc(l,f){return l===f&&(l!==0||1/l===1/f)||l!==l&&f!==f}var ui=typeof Object.is=="function"?Object.is:Lc,ea=null,Ql=null,dl=null,Nt=null,Qa=!1,Ea=!1,Gt=0,Vr=null,Xa=0,Bo=25,xn=!1,Wr;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
|
-
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
166
|
-
2. You might be breaking the Rules of Hooks
|
|
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 xn&&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 ci(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.",Wr),!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
|
-
|
|
170
|
-
Previous: %s
|
|
171
|
-
Incoming: %s`,Wr,"["+l.join(", ")+"]","["+f.join(", ")+"]");for(var b=0;b<f.length&&b<l.length;b++)if(!ui(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 Gn(){return Nt===null?dl===null?(Qa=!1,dl=Nt=eo()):(Qa=!0,Nt=dl):Nt.next===null?(Qa=!1,Nt=Nt.next=eo()):(Qa=!0,Nt=Nt.next),Nt}function Xl(l,f){ea=f,Ql=l,xn=!1,Gt=0}function Ca(l,f,b,_){for(;Ea;)Ea=!1,Gt=0,Xa+=1,Nt=null,b=l(f,_);return ql(),b}function lr(){var l=Gt!==0;return l}function ql(){xn=!1,ea=null,Ql=null,Ea=!1,dl=null,Xa=0,Vr=null,Nt=null}function Uu(l){return xn&&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()."),us(l)}function eu(l){return Wr="useContext",qa(),us(l)}function ta(l,f){return typeof f=="function"?f(l):f}function Ta(l){return Wr="useState",tu(ta,l)}function tu(l,f,b){if(l!==ta&&(Wr="useReducer"),ea=qa(),Nt=Gn(),Qa){var _=Nt.queue,M=_.dispatch;if(Vr!==null){var N=Vr.get(_);if(N!==void 0){Vr.delete(_);var H=Nt.memoizedState,ne=N;do{var s=ne.action;xn=!0,H=l(H,s),xn=!1,ne=ne.next}while(ne!==null);return Nt.memoizedState=H,[H,M]}}return[Nt.memoizedState,M]}else{xn=!0;var d;l===ta?d=typeof f=="function"?f():f:d=b!==void 0?b(f):f,xn=!1,Nt.memoizedState=d;var g=Nt.queue={last:null,dispatch:null},w=g.dispatch=nu.bind(null,ea,g);return[Nt.memoizedState,w]}}function fl(l,f){ea=qa(),Nt=Gn();var b=f===void 0?null:f;if(Nt!==null){var _=Nt.memoizedState;if(_!==null&&b!==null){var M=_[1];if(ci(b,M))return _[0]}}xn=!0;var N=l();return xn=!1,Nt.memoizedState=[N,b],N}function pl(l){ea=qa(),Nt=Gn();var f=Nt.memoizedState;if(f===null){var b={current:l};return Object.seal(b),Nt.memoizedState=b,b}else return f}function Vu(l,f){Wr="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 nu(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};Vr===null&&(Vr=new Map);var M=Vr.get(f);if(M===void 0)Vr.set(f,_);else{for(var N=M;N.next!==null;)N=N.next;N.next=_}}}function Zn(l,f){return fl(function(){return l},f)}function ru(l,f,b){return qa(),f(l._source)}function Wu(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 iu(){throw new Error("startTransition cannot be called during server rendering.")}function hl(){return qa(),[!1,iu]}function to(){var l=Ql,f=qi(l.treeContext),b=ps;if(b===null)throw new Error("Invalid hook call. Hooks can only be called inside of the body of a function component.");var _=Gt++;return Vi(b,f,_)}function fs(){}var qn={readContext:Uu,useContext:eu,useMemo:fl,useReducer:tu,useRef:pl,useState:Ta,useInsertionEffect:fs,useLayoutEffect:Vu,useCallback:Zn,useImperativeHandle:fs,useEffect:fs,useDebugValue:fs,useDeferredValue:Ti,useTransition:hl,useId:to,useMutableSource:ru,useSyncExternalStore:Wu},ps=null;function hs(l){ps=l}function Hu(l){try{var f="",b=l;do{switch(b.tag){case 0:f+=Ki(b.type,null,null);break;case 1:f+=as(b.type,null,null);break;case 2:f+=nl(b.type,null,null);break}b=b.parent}while(b);return f}catch(_){return`
|
|
172
|
-
Error generating stack: `+_.message+`
|
|
173
|
-
`+_.stack}}var gs=n.ReactCurrentDispatcher,No=n.ReactDebugCurrentFrame,au=0,Hr=1,ms=2,gl=3,no=4,jo=0,ou=1,ro=2,su=12800;function lu(l){return console.error(l),null}function Ri(){}function Bc(l,f,b,_,M,N,H,ne,s){var d=[],g=new Set,w={destination:null,responseState:f,progressiveChunkSize:_===void 0?su:_,status:jo,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:g,pingedTasks:d,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:M===void 0?lu: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=ml(w,0,null,b,!1,!1);T.parentFlushed=!0;var L=vs(w,l,null,T,g,vn,Du,Fc);return d.push(L),w}function Nc(l,f){var b=l.pingedTasks;b.push(f),b.length===1&&v(function(){return Es(l)})}function zo(l,f){return{id:ua,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:f,errorDigest:null}}function vs(l,f,b,_,M,N,H,ne){l.allPendingTasks++,b===null?l.pendingRootTasks++:b.pendingTasks++;var s={node:f,ping:function(){return Nc(l,s)},blockedBoundary:b,blockedSegment:_,abortSet:M,legacyContext:N,context:H,treeContext:ne};return s.componentStack=null,M.add(s),s}function ml(l,f,b,_,M,N){return{status:au,id:-1,index:f,parentFlushed:!1,chunks:[],children:[],formatContext:_,boundary:b,lastPushedText:M,textEmbedded:N}}var di=null;function Uo(){return di===null||di.componentStack===null?"":Hu(di.componentStack)}function na(l,f){l.componentStack={tag:0,parent:l.componentStack,type:f}}function fi(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 $r(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 vl(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 Gr(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,de(l.destination,f)):(l.status=ou,l.fatalError=f)}function uu(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,g=ml(l,d,s,M.formatContext,!1,!1);M.children.push(g),M.lastPushedText=!1;var w=ml(l,0,null,M.formatContext,!1,!1);w.parentFlushed=!0,f.blockedBoundary=s,f.blockedSegment=w;try{if(ks(l,f,H),ii(w.chunks,l.responseState,w.lastPushedText,w.textEmbedded),w.status=Hr,_s(s,w),s.pendingTasks===0){$r(f);return}}catch(L){w.status=no,s.forceClientRender=!0,s.errorDigest=Gr(l,L),vl(s,L)}finally{f.blockedBoundary=_,f.blockedSegment=M}var T=vs(l,N,_,g,ne,f.legacyContext,f.context,f.treeContext);T.componentStack=f.componentStack,l.pingedTasks.push(T),$r(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,_),ks(l,f,N),M.formatContext=H,bo(M.chunks,b),M.lastPushedText=!1,$r(f)}function bs(l){return l.prototype&&l.prototype.isReactComponent}function bl(l,f,b,_,M){var N={};Xl(f,N);var H=b(_,M);return Ca(b,_,H,M)}function $u(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.",cn(_)||"a component"),Wo=!0);{var H=_.childContextTypes;if(H!=null){var ne=f.legacyContext,s=Kl(b,_,ne,H);f.legacyContext=s,wr(l,f,N),f.legacyContext=ne;return}}wr(l,f,N)}function cu(l,f,b,_){Vo(f,b);var M=Yl(b,f.legacyContext),N=Ci(b,_,M);zu(N,b,_,M),$u(l,f,N,b,_),$r(f)}var bt={},ys={},Gu={},oo={},Wo=!1,du=!1,fu=!1,br=!1;function Zu(l,f,b,_){var M;if(M=Yl(b,f.legacyContext),fi(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=bl(l,f,b,_,M),ne=lr();if(typeof H=="object"&&H!==null&&typeof H.render=="function"&&H.$$typeof===void 0){var s=cn(b)||"Unknown";ys[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),ys[s]=!0)}if(typeof H=="object"&&H!==null&&typeof H.render=="function"&&H.$$typeof===void 0){{var d=cn(b)||"Unknown";ys[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),ys[d]=!0)}zu(H,b,_,M),$u(l,f,H,b,_)}else if(ws(b),ne){var g=f.treeContext,w=1,T=0;f.treeContext=ll(g,w,T);try{wr(l,f,H)}finally{f.treeContext=g}}else wr(l,f,H);$r(f)}function ws(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";oo[f]||(o("%s: Function components do not support getDerivedStateFromProps.",f),oo[f]=!0)}if(typeof l.contextType=="object"&&l.contextType!==null){var b=cn(l)||"Unknown";Gu[b]||(o("%s: Function components do not support contextType.",b),Gu[b]=!0)}}}function xs(l,f){if(l&&l.defaultProps){var b=Ur({},f),_=l.defaultProps;for(var M in _)b[M]===void 0&&(b[M]=_[M]);return b}return f}function Yu(l,f,b,_,M){fi(f,b.render);var N=bl(l,f,b.render,_,M),H=lr();if(H){var ne=f.treeContext,s=1,d=0;f.treeContext=ll(ne,s,d);try{wr(l,f,N)}finally{f.treeContext=ne}}else wr(l,f,N);$r(f)}function Ku(l,f,b,_,M){var N=b.type,H=xs(N,_);yl(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=us(b),H=M(N);wr(l,f,H)}function Ra(l,f,b,_){var M=b._context,N=_.value,H=_.children,ne;ne=f.context,f.context=Lu(M,N),wr(l,f,H),f.context=Bu(M),ne!==f.context&&o("Popping the context provider did not return back to the original snapshot. This is a bug in React.")}function pu(l,f,b,_,M){na(f,"Lazy");var N=b._payload,H=b._init,ne=H(N),s=xs(ne,_);yl(l,f,ne,s,M),$r(f)}function yl(l,f,b,_,M){if(typeof b=="function")if(bs(b)){cu(l,f,b,_);return}else{Zu(l,f,b,_);return}if(typeof b=="string"){ao(l,f,b,_);return}switch(b){case $a:case vr:case Z:case se:case Bn:{wr(l,f,_.children);return}case gn:{na(f,"SuspenseList"),wr(l,f,_.children),$r(f);return}case Ul:throw new Error("ReactDOMServer does not yet support scope components.");case Dt:{uu(l,f,_);return}}if(typeof b=="object"&&b!==null)switch(b.$$typeof){case st:{Yu(l,f,b,_,M);return}case Vt:{Ku(l,f,b,_,M);return}case re:{Ra(l,f,b,_);return}case Ne:{yr(l,f,b,_);return}case ba:{pu(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 wl(l,f){typeof Symbol=="function"&&l[Symbol.toStringTag]==="Generator"&&(du||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."),du=!0),l.entries===f&&(fu||o("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),fu=!0)}function wr(l,f,b){try{return Ss(l,f,b)}catch(_){throw typeof _=="object"&&_!==null&&typeof _.then=="function"||(io=io!==null?io:Uo()),_}}function Ss(l,f,b){if(f.node=b,typeof b=="object"&&b!==null){switch(b.$$typeof){case Ic:{var _=b,M=_.type,N=_.props,H=_.ref;yl(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,g;try{g=d(s)}catch(Ge){throw typeof Ge=="object"&&Ge!==null&&typeof Ge.then=="function"&&na(f,"Lazy"),Ge}wr(l,f,g);return}}if(vt(b)){hu(l,f,b);return}var w=qs(b);if(w){wl(b,w);var T=w.call(b);if(T){var L=T.next();if(!L.done){var W=[];do W.push(L.value),L=T.next();while(!L.done);hu(l,f,W);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 pe=f.blockedSegment;pe.lastPushedText=Wi(f.blockedSegment.chunks,b,l.responseState,pe.lastPushedText);return}if(typeof b=="number"){var De=f.blockedSegment;De.lastPushedText=Wi(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 hu(l,f,b){for(var _=b.length,M=0;M<_;M++){var N=f.treeContext;f.treeContext=ll(N,_,M);try{ks(l,f,b[M])}finally{f.treeContext=N}}}function ur(l,f,b){var _=f.blockedSegment,M=_.chunks.length,N=ml(l,M,null,_.formatContext,_.lastPushedText,!0);_.children.push(N),_.lastPushedText=!1;var H=vs(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 ks(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(ne){if(ql(),typeof ne=="object"&&ne!==null&&typeof ne.then=="function"){ur(l,f,ne),f.blockedSegment.formatContext=_,f.legacyContext=M,f.context=N,ls(N),f.componentStack=H;return}else throw f.blockedSegment.formatContext=_,f.legacyContext=M,f.context=N,ls(N),f.componentStack=H,ne}}function ia(l,f,b,_){var M=Gr(l,_);if(f===null?ra(l,_):(f.pendingTasks--,f.forceClientRender||(f.forceClientRender=!0,f.errorDigest=M,vl(f,_),f.parentFlushed&&l.clientRenderedBoundaries.push(f))),l.allPendingTasks--,l.allPendingTasks===0){var N=l.onAllReady;N()}}function jc(l){var f=this,b=l.blockedBoundary,_=l.blockedSegment;_.status=gl,gu(f,b,_)}function pi(l,f,b){var _=l.blockedBoundary,M=l.blockedSegment;if(M.status=gl,_===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=di;di=l;try{vl(_,N)}finally{di=ne}}_.parentFlushed&&f.clientRenderedBoundaries.push(_)}if(_.fallbackAbortableTasks.forEach(function(d){return pi(d,f,b)}),_.fallbackAbortableTasks.clear(),f.allPendingTasks--,f.allPendingTasks===0){var s=f.onAllReady;s()}}}function _s(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===Hr&&_s(l,b)}else{var _=l.completedSegments;_.push(f)}}function gu(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===Hr&&_s(f,b),f.parentFlushed&&l.completedBoundaries.push(f),f.fallbackAbortableTasks.forEach(jc,l),f.fallbackAbortableTasks.clear();else if(b.parentFlushed&&b.status===Hr){_s(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 xl(l,f){var b=f.blockedSegment;if(b.status===au){ls(f.context);var _=null;_=di,di=f;try{wr(l,f,f.node),ii(b.chunks,l.responseState,b.lastPushedText,b.textEmbedded),f.abortSet.delete(f),b.status=Hr,gu(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=no,ia(l,f.blockedBoundary,b,N)}finally{di=_}}}function Es(l){if(l.status!==ro){var f=rl(),b=gs.current;gs.current=qn;var _;_=No.getCurrentStack,No.getCurrentStack=Uo;var M=ps;hs(l.responseState);try{var N=l.pingedTasks,H;for(H=0;H<N.length;H++){var ne=N[H];xl(l,ne)}N.splice(0,H),l.destination!==null&&Yn(l,l.destination)}catch(s){Gr(l,s),ra(l,s)}finally{hs(M),gs.current=b,No.getCurrentStack=_,b===qn&&ls(f)}}}function Cs(l,f,b){switch(b.parentFlushed=!0,b.status){case au:{var _=b.id=l.nextSegmentId++;return b.lastPushedText=!1,b.textEmbedded=!1,Wn(f,l.responseState,_)}case Hr:{b.status=ms;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++)F(f,N[H]);M=Sl(l,f,d)}for(;H<N.length-1;H++)F(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 Sl(l,f,b){var _=b.boundary;if(_===null)return Cs(l,f,b);if(_.parentFlushed=!0,_.forceClientRender)return $n(f,l.responseState,_.errorDigest,_.errorMessage,_.errorComponentStack),Cs(l,f,b),es(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),Cs(l,f,b),Tr(f,l.responseState)}else{if(_.byteSize>l.progressiveChunkSize)return _.rootSegmentID=l.nextSegmentId++,l.completedBoundaries.push(_),Zi(f,l.responseState,_.id),Cs(l,f,b),Tr(f,l.responseState);oi(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 Sl(l,f,H),qt(f,l.responseState)}}function mu(l,f,b){return jl(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),Sl(l,f,b),Qt(f,b.formatContext)}function Ts(l,f,b){for(var _=b.completedSegments,M=0;M<_.length;M++){var N=_[M];kl(l,f,b,N)}return _.length=0,Co(f,l.responseState,b.id,b.rootSegmentID)}function Ju(l,f,b){for(var _=b.completedSegments,M=0;M<_.length;M++){var N=_[M];if(!kl(l,f,b,N))return M++,_.splice(0,M),!1}return _.splice(0,M),!0}function kl(l,f,b,_){if(_.status===ms)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,_),Ec(f,l.responseState,M)}function Yn(l,f){B();try{var b=l.completedRootSegment;b!==null&&l.pendingRootTasks===0&&(Sl(l,f,b),l.completedRootSegment=null,Gi(f,l.responseState));var _=l.clientRenderedBoundaries,M;for(M=0;M<_.length;M++){var N=_[M];mu(l,f,N)}_.splice(0,M);var H=l.completedBoundaries;for(M=0;M<H.length;M++){var ne=H[M];Ts(l,f,ne)}H.splice(0,M),ge(f),B(f);var s=l.partialBoundaries;for(M=0;M<s.length;M++){var d=s[M];if(!Ju(l,f,d)){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 w=g[M];Ts(l,f,w)}g.splice(0,M)}finally{ge(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){v(function(){return Es(l)})}function Qu(l,f){if(l.status===ou){l.status=ro,de(f,l.fatalError);return}if(l.status!==ro&&l.destination===null){l.destination=f;try{Yn(l,f)}catch(b){Gr(l,b),ra(l,b)}}}function _l(l,f){try{var b=l.abortableTasks;b.forEach(function(_){return pi(_,l,f)}),b.clear(),l.destination!==null&&Yn(l,l.destination)}catch(_){Gr(l,_),ra(l,_)}}function El(l,f){return new Promise(function(b,_){var M,N,H=new Promise(function(T,L){N=T,M=L});function ne(){var T=new ReadableStream({type:"bytes",pull:function(L){Qu(d,L)},cancel:function(L){_l(d)}},{highWaterMark:0});T.allReady=H,b(T)}function s(T){H.catch(function(){}),_(T)}var d=Bc(l,Dr(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),ri(f?f.namespaceURI:void 0),f?f.progressiveChunkSize:void 0,f?f.onError:void 0,N,ne,s,M);if(f&&f.signal){var g=f.signal,w=function(){_l(d,g.reason),g.removeEventListener("abort",w)};g.addEventListener("abort",w)}Ii(d)})}Td.renderToReadableStream=El,Td.version=e}()),Td}var Pl,kf;process.env.NODE_ENV==="production"?(Pl=r0(),kf=i0()):(Pl=a0(),kf=o0()),Pl.version;var s0=Pl.renderToString;Pl.renderToStaticMarkup,Pl.renderToNodeStream,Pl.renderToStaticNodeStream,kf.renderToReadableStream;var _f={exports:{}},Rd={exports:{}},en={};/** @license React v16.13.1
|
|
174
|
-
* react-is.production.min.js
|
|
175
|
-
*
|
|
176
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
177
|
-
*
|
|
178
|
-
* This source code is licensed under the MIT license found in the
|
|
179
|
-
* LICENSE file in the root directory of this source tree.
|
|
180
|
-
*/var Nh;function l0(){if(Nh)return en;Nh=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,v=r?Symbol.for("react.provider"):60109,x=r?Symbol.for("react.context"):60110,y=r?Symbol.for("react.async_mode"):60111,E=r?Symbol.for("react.concurrent_mode"):60111,B=r?Symbol.for("react.forward_ref"):60112,F=r?Symbol.for("react.suspense"):60113,V=r?Symbol.for("react.suspense_list"):60120,ge=r?Symbol.for("react.memo"):60115,ae=r?Symbol.for("react.lazy"):60116,we=r?Symbol.for("react.block"):60121,Y=r?Symbol.for("react.fundamental"):60117,G=r?Symbol.for("react.responder"):60118,de=r?Symbol.for("react.scope"):60119;function he(ee){if(typeof ee=="object"&&ee!==null){var Te=ee.$$typeof;switch(Te){case e:switch(ee=ee.type,ee){case y:case E:case a:case c:case o:case F:return ee;default:switch(ee=ee&&ee.$$typeof,ee){case x:case B:case ae:case ge:case v:return ee;default:return Te}}case n:return Te}}}function me(ee){return he(ee)===E}return en.AsyncMode=y,en.ConcurrentMode=E,en.ContextConsumer=x,en.ContextProvider=v,en.Element=e,en.ForwardRef=B,en.Fragment=a,en.Lazy=ae,en.Memo=ge,en.Portal=n,en.Profiler=c,en.StrictMode=o,en.Suspense=F,en.isAsyncMode=function(ee){return me(ee)||he(ee)===y},en.isConcurrentMode=me,en.isContextConsumer=function(ee){return he(ee)===x},en.isContextProvider=function(ee){return he(ee)===v},en.isElement=function(ee){return typeof ee=="object"&&ee!==null&&ee.$$typeof===e},en.isForwardRef=function(ee){return he(ee)===B},en.isFragment=function(ee){return he(ee)===a},en.isLazy=function(ee){return he(ee)===ae},en.isMemo=function(ee){return he(ee)===ge},en.isPortal=function(ee){return he(ee)===n},en.isProfiler=function(ee){return he(ee)===c},en.isStrictMode=function(ee){return he(ee)===o},en.isSuspense=function(ee){return he(ee)===F},en.isValidElementType=function(ee){return typeof ee=="string"||typeof ee=="function"||ee===a||ee===E||ee===c||ee===o||ee===F||ee===V||typeof ee=="object"&&ee!==null&&(ee.$$typeof===ae||ee.$$typeof===ge||ee.$$typeof===v||ee.$$typeof===x||ee.$$typeof===B||ee.$$typeof===Y||ee.$$typeof===G||ee.$$typeof===de||ee.$$typeof===we)},en.typeOf=he,en}var tn={};/** @license React v16.13.1
|
|
181
|
-
* react-is.development.js
|
|
182
|
-
*
|
|
183
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
184
|
-
*
|
|
185
|
-
* This source code is licensed under the MIT license found in the
|
|
186
|
-
* LICENSE file in the root directory of this source tree.
|
|
187
|
-
*/var jh;function u0(){return jh||(jh=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,v=r?Symbol.for("react.provider"):60109,x=r?Symbol.for("react.context"):60110,y=r?Symbol.for("react.async_mode"):60111,E=r?Symbol.for("react.concurrent_mode"):60111,B=r?Symbol.for("react.forward_ref"):60112,F=r?Symbol.for("react.suspense"):60113,V=r?Symbol.for("react.suspense_list"):60120,ge=r?Symbol.for("react.memo"):60115,ae=r?Symbol.for("react.lazy"):60116,we=r?Symbol.for("react.block"):60121,Y=r?Symbol.for("react.fundamental"):60117,G=r?Symbol.for("react.responder"):60118,de=r?Symbol.for("react.scope"):60119;function he(_e){return typeof _e=="string"||typeof _e=="function"||_e===a||_e===E||_e===c||_e===o||_e===F||_e===V||typeof _e=="object"&&_e!==null&&(_e.$$typeof===ae||_e.$$typeof===ge||_e.$$typeof===v||_e.$$typeof===x||_e.$$typeof===B||_e.$$typeof===Y||_e.$$typeof===G||_e.$$typeof===de||_e.$$typeof===we)}function me(_e){if(typeof _e=="object"&&_e!==null){var At=_e.$$typeof;switch(At){case e:var mt=_e.type;switch(mt){case y:case E:case a:case c:case o:case F:return mt;default:var fn=mt&&mt.$$typeof;switch(fn){case x:case B:case ae:case ge:case v:return fn;default:return At}}case n:return At}}}var ee=y,Te=E,Ie=x,Lt=v,ft=e,Ft=B,ye=a,Se=ae,Ae=ge,Be=n,Ye=c,He=o,je=F,ze=!1;function ht(_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)||me(_e)===y}function oe(_e){return me(_e)===E}function ue(_e){return me(_e)===x}function Oe(_e){return me(_e)===v}function Ze(_e){return typeof _e=="object"&&_e!==null&&_e.$$typeof===e}function Pe(_e){return me(_e)===B}function Fe(_e){return me(_e)===a}function Me(_e){return me(_e)===ae}function qe(_e){return me(_e)===ge}function tt(_e){return me(_e)===n}function Ke(_e){return me(_e)===c}function rt(_e){return me(_e)===o}function kt(_e){return me(_e)===F}tn.AsyncMode=ee,tn.ConcurrentMode=Te,tn.ContextConsumer=Ie,tn.ContextProvider=Lt,tn.Element=ft,tn.ForwardRef=Ft,tn.Fragment=ye,tn.Lazy=Se,tn.Memo=Ae,tn.Portal=Be,tn.Profiler=Ye,tn.StrictMode=He,tn.Suspense=je,tn.isAsyncMode=ht,tn.isConcurrentMode=oe,tn.isContextConsumer=ue,tn.isContextProvider=Oe,tn.isElement=Ze,tn.isForwardRef=Pe,tn.isFragment=Fe,tn.isLazy=Me,tn.isMemo=qe,tn.isPortal=tt,tn.isProfiler=Ke,tn.isStrictMode=rt,tn.isSuspense=kt,tn.isValidElementType=he,tn.typeOf=me}()),tn}var zh;function Uh(){return zh||(zh=1,process.env.NODE_ENV==="production"?Rd.exports=l0():Rd.exports=u0()),Rd.exports}/*
|
|
188
|
-
object-assign
|
|
189
|
-
(c) Sindre Sorhus
|
|
190
|
-
@license MIT
|
|
191
|
-
*/var Ef,Vh;function c0(){if(Vh)return Ef;Vh=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 v={},x=0;x<10;x++)v["_"+String.fromCharCode(x)]=x;var y=Object.getOwnPropertyNames(v).map(function(B){return v[B]});if(y.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 Ef=o()?Object.assign:function(c,v){for(var x,y=a(c),E,B=1;B<arguments.length;B++){x=Object(arguments[B]);for(var F in x)e.call(x,F)&&(y[F]=x[F]);if(r){E=r(x);for(var V=0;V<E.length;V++)n.call(x,E[V])&&(y[E[V]]=x[E[V]])}}return y},Ef}var Cf,Wh;function Tf(){if(Wh)return Cf;Wh=1;var r="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return Cf=r,Cf}var Rf,Hh;function $h(){return Hh||(Hh=1,Rf=Function.call.bind(Object.prototype.hasOwnProperty)),Rf}var If,Gh;function d0(){if(Gh)return If;Gh=1;var r=function(){};if(process.env.NODE_ENV!=="production"){var e=Tf(),n={},a=$h();r=function(c){var v="Warning: "+c;typeof console<"u"&&console.error(v);try{throw new Error(v)}catch{}}}function o(c,v,x,y,E){if(process.env.NODE_ENV!=="production"){for(var B in c)if(a(c,B)){var F;try{if(typeof c[B]!="function"){var V=Error((y||"React class")+": "+x+" type `"+B+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof c[B]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw V.name="Invariant Violation",V}F=c[B](v,B,y,x,null,e)}catch(ae){F=ae}if(F&&!(F instanceof Error)&&r((y||"React class")+": type specification of "+x+" `"+B+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof F+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),F instanceof Error&&!(F.message in n)){n[F.message]=!0;var ge=E?E():"";r("Failed "+x+" type: "+F.message+(ge??""))}}}}return o.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(n={})},If=o,If}var Af,Zh;function f0(){if(Zh)return Af;Zh=1;var r=Uh(),e=c0(),n=Tf(),a=$h(),o=d0(),c=function(){};process.env.NODE_ENV!=="production"&&(c=function(x){var y="Warning: "+x;typeof console<"u"&&console.error(y);try{throw new Error(y)}catch{}});function v(){return null}return Af=function(x,y){var E=typeof Symbol=="function"&&Symbol.iterator,B="@@iterator";function F(oe){var ue=oe&&(E&&oe[E]||oe[B]);if(typeof ue=="function")return ue}var V="<<anonymous>>",ge={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:de(),arrayOf:he,element:me(),elementType:ee(),instanceOf:Te,node:Ft(),objectOf:Lt,oneOf:Ie,oneOfType:ft,shape:Se,exact:Ae};function ae(oe,ue){return oe===ue?oe!==0||1/oe===1/ue:oe!==oe&&ue!==ue}function we(oe,ue){this.message=oe,this.data=ue&&typeof ue=="object"?ue:{},this.stack=""}we.prototype=Error.prototype;function Y(oe){if(process.env.NODE_ENV!=="production")var ue={},Oe=0;function Ze(Fe,Me,qe,tt,Ke,rt,kt){if(tt=tt||V,rt=rt||qe,kt!==n){if(y){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 At=tt+":"+qe;!ue[At]&&Oe<3&&(c("You are manually calling a React.PropTypes validation function for the `"+rt+"` prop on `"+tt+"`. 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[At]=!0,Oe++)}}return Me[qe]==null?Fe?Me[qe]===null?new we("The "+Ke+" `"+rt+"` is marked as required "+("in `"+tt+"`, but its value is `null`.")):new we("The "+Ke+" `"+rt+"` is marked as required in "+("`"+tt+"`, but its value is `undefined`.")):null:oe(Me,qe,tt,Ke,rt)}var Pe=Ze.bind(null,!1);return Pe.isRequired=Ze.bind(null,!0),Pe}function G(oe){function ue(Oe,Ze,Pe,Fe,Me,qe){var tt=Oe[Ze],Ke=He(tt);if(Ke!==oe){var rt=je(tt);return new we("Invalid "+Fe+" `"+Me+"` of type "+("`"+rt+"` supplied to `"+Pe+"`, expected ")+("`"+oe+"`."),{expectedType:oe})}return null}return Y(ue)}function de(){return Y(v)}function he(oe){function ue(Oe,Ze,Pe,Fe,Me){if(typeof oe!="function")return new we("Property `"+Me+"` of component `"+Pe+"` has invalid PropType notation inside arrayOf.");var qe=Oe[Ze];if(!Array.isArray(qe)){var tt=He(qe);return new we("Invalid "+Fe+" `"+Me+"` of type "+("`"+tt+"` supplied to `"+Pe+"`, expected an array."))}for(var Ke=0;Ke<qe.length;Ke++){var rt=oe(qe,Ke,Pe,Fe,Me+"["+Ke+"]",n);if(rt instanceof Error)return rt}return null}return Y(ue)}function me(){function oe(ue,Oe,Ze,Pe,Fe){var Me=ue[Oe];if(!x(Me)){var qe=He(Me);return new we("Invalid "+Pe+" `"+Fe+"` of type "+("`"+qe+"` supplied to `"+Ze+"`, expected a single ReactElement."))}return null}return Y(oe)}function ee(){function oe(ue,Oe,Ze,Pe,Fe){var Me=ue[Oe];if(!r.isValidElementType(Me)){var qe=He(Me);return new we("Invalid "+Pe+" `"+Fe+"` of type "+("`"+qe+"` supplied to `"+Ze+"`, expected a single ReactElement type."))}return null}return Y(oe)}function Te(oe){function ue(Oe,Ze,Pe,Fe,Me){if(!(Oe[Ze]instanceof oe)){var qe=oe.name||V,tt=ht(Oe[Ze]);return new we("Invalid "+Fe+" `"+Me+"` of type "+("`"+tt+"` supplied to `"+Pe+"`, expected ")+("instance of `"+qe+"`."))}return null}return Y(ue)}function Ie(oe){if(!Array.isArray(oe))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.")),v;function ue(Oe,Ze,Pe,Fe,Me){for(var qe=Oe[Ze],tt=0;tt<oe.length;tt++)if(ae(qe,oe[tt]))return null;var Ke=JSON.stringify(oe,function(kt,_e){var At=je(_e);return At==="symbol"?String(_e):_e});return new we("Invalid "+Fe+" `"+Me+"` of value `"+String(qe)+"` "+("supplied to `"+Pe+"`, expected one of "+Ke+"."))}return Y(ue)}function Lt(oe){function ue(Oe,Ze,Pe,Fe,Me){if(typeof oe!="function")return new we("Property `"+Me+"` of component `"+Pe+"` has invalid PropType notation inside objectOf.");var qe=Oe[Ze],tt=He(qe);if(tt!=="object")return new we("Invalid "+Fe+" `"+Me+"` of type "+("`"+tt+"` supplied to `"+Pe+"`, expected an object."));for(var Ke in qe)if(a(qe,Ke)){var rt=oe(qe,Ke,Pe,Fe,Me+"."+Ke,n);if(rt instanceof Error)return rt}return null}return Y(ue)}function ft(oe){if(!Array.isArray(oe))return process.env.NODE_ENV!=="production"&&c("Invalid argument supplied to oneOfType, expected an instance of array."),v;for(var ue=0;ue<oe.length;ue++){var Oe=oe[ue];if(typeof Oe!="function")return c("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+ze(Oe)+" at index "+ue+"."),v}function Ze(Pe,Fe,Me,qe,tt){for(var Ke=[],rt=0;rt<oe.length;rt++){var kt=oe[rt],_e=kt(Pe,Fe,Me,qe,tt,n);if(_e==null)return null;_e.data&&a(_e.data,"expectedType")&&Ke.push(_e.data.expectedType)}var At=Ke.length>0?", expected one of type ["+Ke.join(", ")+"]":"";return new we("Invalid "+qe+" `"+tt+"` supplied to "+("`"+Me+"`"+At+"."))}return Y(Ze)}function Ft(){function oe(ue,Oe,Ze,Pe,Fe){return Be(ue[Oe])?null:new we("Invalid "+Pe+" `"+Fe+"` supplied to "+("`"+Ze+"`, expected a ReactNode."))}return Y(oe)}function ye(oe,ue,Oe,Ze,Pe){return new we((oe||"React class")+": "+ue+" type `"+Oe+"."+Ze+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+Pe+"`.")}function Se(oe){function ue(Oe,Ze,Pe,Fe,Me){var qe=Oe[Ze],tt=He(qe);if(tt!=="object")return new we("Invalid "+Fe+" `"+Me+"` of type `"+tt+"` "+("supplied to `"+Pe+"`, expected `object`."));for(var Ke in oe){var rt=oe[Ke];if(typeof rt!="function")return ye(Pe,Fe,Me,Ke,je(rt));var kt=rt(qe,Ke,Pe,Fe,Me+"."+Ke,n);if(kt)return kt}return null}return Y(ue)}function Ae(oe){function ue(Oe,Ze,Pe,Fe,Me){var qe=Oe[Ze],tt=He(qe);if(tt!=="object")return new we("Invalid "+Fe+" `"+Me+"` of type `"+tt+"` "+("supplied to `"+Pe+"`, expected `object`."));var Ke=e({},Oe[Ze],oe);for(var rt in Ke){var kt=oe[rt];if(a(oe,rt)&&typeof kt!="function")return ye(Pe,Fe,Me,rt,je(kt));if(!kt)return new we("Invalid "+Fe+" `"+Me+"` key `"+rt+"` supplied to `"+Pe+"`.\nBad object: "+JSON.stringify(Oe[Ze],null," ")+`
|
|
192
|
-
Valid keys: `+JSON.stringify(Object.keys(oe),null," "));var _e=kt(qe,rt,Pe,Fe,Me+"."+rt,n);if(_e)return _e}return null}return Y(ue)}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 ue=F(oe);if(ue){var Oe=ue.call(oe),Ze;if(ue!==oe.entries){for(;!(Ze=Oe.next()).done;)if(!Be(Ze.value))return!1}else for(;!(Ze=Oe.next()).done;){var Pe=Ze.value;if(Pe&&!Be(Pe[1]))return!1}}else return!1;return!0;default:return!1}}function Ye(oe,ue){return oe==="symbol"?!0:ue?ue["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&ue instanceof Symbol:!1}function He(oe){var ue=typeof oe;return Array.isArray(oe)?"array":oe instanceof RegExp?"object":Ye(ue,oe)?"symbol":ue}function je(oe){if(typeof oe>"u"||oe===null)return""+oe;var ue=He(oe);if(ue==="object"){if(oe instanceof Date)return"date";if(oe instanceof RegExp)return"regexp"}return ue}function ze(oe){var ue=je(oe);switch(ue){case"array":case"object":return"an "+ue;case"boolean":case"date":case"regexp":return"a "+ue;default:return ue}}function ht(oe){return!oe.constructor||!oe.constructor.name?V:oe.constructor.name}return ge.checkPropTypes=o,ge.resetWarningCache=o.resetWarningCache,ge.PropTypes=ge,ge},Af}var Of,Yh;function p0(){if(Yh)return Of;Yh=1;var r=Tf();function e(){}function n(){}return n.resetWarningCache=e,Of=function(){function a(v,x,y,E,B,F){if(F!==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 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},Of}if(process.env.NODE_ENV!=="production"){var h0=Uh(),g0=!0;_f.exports=f0()(h0.isElement,g0)}else _f.exports=p0()();var m0=_f.exports;const La=yp(m0);var v0=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Kh(r,e){return r(e={exports:{}},e.exports),e.exports}var b0=Kh(function(r){(function(e){var n=function(Y,G,de){if(!y(G)||B(G)||F(G)||V(G)||x(G))return G;var he,me=0,ee=0;if(E(G))for(he=[],ee=G.length;me<ee;me++)he.push(n(Y,G[me],de));else for(var Te in he={},G)Object.prototype.hasOwnProperty.call(G,Te)&&(he[Y(Te,de)]=n(Y,G[Te],de));return he},a=function(Y){return ge(Y)?Y:(Y=Y.replace(/[\-_\s]+(.)?/g,function(G,de){return de?de.toUpperCase():""})).substr(0,1).toLowerCase()+Y.substr(1)},o=function(Y){var G=a(Y);return G.substr(0,1).toUpperCase()+G.substr(1)},c=function(Y,G){return function(de,he){var me=(he=he||{}).separator||"_",ee=he.split||/(?=[A-Z])/;return de.split(ee).join(me)}(Y,G).toLowerCase()},v=Object.prototype.toString,x=function(Y){return typeof Y=="function"},y=function(Y){return Y===Object(Y)},E=function(Y){return v.call(Y)=="[object Array]"},B=function(Y){return v.call(Y)=="[object Date]"},F=function(Y){return v.call(Y)=="[object RegExp]"},V=function(Y){return v.call(Y)=="[object Boolean]"},ge=function(Y){return(Y-=0)==Y},ae=function(Y,G){var de=G&&"process"in G?G.process:G;return typeof de!="function"?Y:function(he,me){return de(he,Y,me)}},we={camelize:a,decamelize:c,pascalize:o,depascalize:c,camelizeKeys:function(Y,G){return n(ae(a,G),Y)},decamelizeKeys:function(Y,G){return n(ae(c,G),Y,G)},pascalizeKeys:function(Y,G){return n(ae(o,G),Y)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};r.exports?r.exports=we:e.humps=we})(v0)}).decamelize,y0=function(r){if(Array.isArray(r))return r},w0=function(r,e){if(typeof Symbol<"u"&&Symbol.iterator in Object(r)){var n=[],a=!0,o=!1,c=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(y){o=!0,c=y}finally{try{a||x.return==null||x.return()}finally{if(o)throw c}}return n}},Jh=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},x0=function(r,e){if(r){if(typeof r=="string")return Jh(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)?Jh(r,e):void 0}},S0=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.`)},k0=function(r,e){return y0(r)||w0(r,e)||x0(r,e)||S0()},Qh=Kh(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}),_0=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},Xh=function(r,e){if(r==null)return{};var n,a,o=_0(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},E0=Ee.createContext(null);function Mf(r){var e=r.children,n=Xh(r,["children"]);return typeof e!="string"&&(e=s0(e)),Ee.createElement("template",Qh({},n,{dangerouslySetInnerHTML:{__html:e}}))}function Ff(r){var e=r.root,n=r.children;return mi.createPortal(n,e)}function C0(r){var e=Ee.forwardRef(function(n,a){var o,c,v=n.mode,x=n.delegatesFocus,y=n.styleSheets,E=n.ssr,B=n.children,F=Xh(n,["mode","delegatesFocus","styleSheets","ssr","children"]),V=(c=Ee.useRef((o=a)&&o.current),Ee.useEffect(function(){o&&(o.current=c.current)},[o]),c),ge=Ee.useState(null),ae=k0(ge,2),we=ae[0],Y=ae[1],G="node_".concat(v).concat(x);return Ee.useLayoutEffect(function(){if(V.current)try{if(typeof a=="function"&&a(V.current),E){var de=V.current.shadowRoot;return void Y(de)}var he=V.current.attachShadow({mode:v,delegatesFocus:x});y.length>0&&(he.adoptedStyleSheets=y),Y(he)}catch(me){(function(ee){var Te=ee.error,Ie=ee.styleSheets,Lt=ee.root;switch(Te.name){case"NotSupportedError":Ie.length>0&&(Lt.adoptedStyleSheets=Ie);break;default:throw Te}})({error:me,styleSheets:y,root:we})}},[a,V,y]),Ee.createElement(Ee.Fragment,null,Ee.createElement(r.tag,Qh({key:G,ref:V},F),(we||E)&&Ee.createElement(E0.Provider,{value:we},E?Ee.createElement(Mf,{shadowroot:v,shadowrootmode:v},r.render({root:we,ssr:E,children:B})):Ee.createElement(Ff,{root:we},r.render({root:we,ssr:E,children:B})))))});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.defaultProps={mode:"open",delegatesFocus:!1,styleSheets:[],ssr:!1,children:null},e}Mf.propTypes={children:La.oneOfType([La.string,La.node])},Mf.defaultProps={children:""},Ff.propTypes={root:La.object.isRequired,children:La.node},Ff.defaultProps={children:null};var Pf=new Map;function T0(){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=b0(o,{separator:"-"}),v="".concat(e,"-").concat(c);return Pf.has(v)||Pf.set(v,C0({tag:c,render:n})),Pf.get(v)}})}var R0=T0();const I0=`*,: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,.h1,.h2,.h3,.h4{font-weight:600}h1 em,h2 em,h3 em,h4 em,.h1 em,.h2 em,.h3 em,.h4 em{font-weight:700}h1 strong,h2 strong,h3 strong,h4 strong,.h1 strong,.h2 strong,.h3 strong,.h4 strong{font-weight:900}h1,h2,h3,h4,.h1,.h2,.h3,.h4{margin:1.5rem 0 1rem}h1,.h1{font-size:1.75rem;margin:1.5rem 0 2rem}h2,.h2{font-size:1.5rem}h3,.h3{font-size:1.25rem}h4,.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);--super-muted: .95 .04 266;--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;--checkradio-padding: .75rem;--question-padding: 2rem;--question-bar-padding: 8px;--question-bar-width: 4px;--list-indent: 1.5rem;--option-gap-y: 0;--question-mb-factor: 1;--max-page-width: 75rem}@media (min-width: 800px){:host{--panel-padding: 2rem;--question-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);--super-muted: .3 0 0;--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.question{box-shadow:calc(-1 * var(--question-bar-padding)) 0 0 0 oklch(var(--page)),calc(0px - var(--question-bar-width) - var(--question-bar-padding)) 0 0 0 oklch(var(--super-muted))}.item.active,.item:has(.active){box-shadow:calc(-1 * var(--question-bar-padding)) 0 0 0 oklch(var(--page)),calc(0px - var(--question-bar-width) - var(--question-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:var(--checkradio-padding)}.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(--question-bar-padding) + var(--checkradio-size)/2 + 2px)}.item,.context-description{position:relative;margin-bottom:calc(var(--question-padding) * var(--question-mb-factor))}.item:has(+.indent.question){margin-bottom:0;padding-bottom:calc(var(--question-padding) * var(--question-mb-factor) / 2)}.question.indent{padding-left:calc(var(--checkradio-size) + var(--checkradio-padding))}.question.indent:before{content:"";position:absolute;top:10px;left:0;margin-left:calc(0px - var(--question-bar-padding));width:calc(var(--checkradio-size) + var(--question-bar-padding));height:var(--question-bar-width);background-color:oklch(var(--super-muted))}.question.indent.active:before{background-color:oklch(var(--primary))}.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;--question-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
|
-
`,A0=`: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
|
-
`,O0=r=>{var B;const e=new Xd(r.questionnaireJson),[n,a]=Ee.useState(()=>new af(e,ch(r.responseJson,e))),o=Ee.useRef(null),c=r.newLayout??e.layoutVersion==="v2",v=r.darkMode===void 0?(B=window.matchMedia("(prefers-color-scheme: dark)"))==null?void 0:B.matches:r.darkMode,x={displayMode:r.displayMode,darkMode:v,newLayout:c},y=()=>{o.current&&removeEventListener("beforeunload",o.current),r.onSave(n)},E=F=>F?()=>{o.current&&removeEventListener("beforeunload",o.current),F(n)}:void 0;return cr.changeLanguage(r.questionnaireJson.language),Ee.useEffect(()=>{if(r.unsavedResponseWarning)return o.current=F=>{n.valueHasChanged()&&(F.returnValue=r.unsavedResponseWarning)},addEventListener("beforeunload",o.current),()=>{o.current&&removeEventListener("beforeunload",o.current)}},[r.unsavedResponseWarning]),j.jsxs(R0.qubyRoot,{children:[j.jsx("style",{children:c?I0:A0}),j.jsx(Fh,{questionnaire:n.questionnaire,response:n,displayOptions:x,onSave:y,onAbort:E(r.onAbort),onPreviousQuestionnaire:E(r.onPreviousQuestionnaire),allowSkipValidation:r.allowSkipValidation})]})};et.AnswerGroupMaximumValidator=eh,et.AnswerGroupMinimumValidator=qp,et.AnswerPage=Fh,et.BaseValidator=bi,et.CurliesInterpolator=fh,et.DatePartsAnswerSchema=ah,et.DatePartsComponentSchema=Dp,et.FlagsSchema=oh,et.ICalcBooleanOpsSchema=Qd,et.ICalcBooleanReducerOpsSchema=Kd,et.ICalcComparerOpsSchema=Jd,et.InterpolateCurliesContext=Ko,et.MaximumCheckedAllowedValidator=Xp,et.MaximumDateValidator=Jp,et.MaximumValidator=Yp,et.MinimumCheckedRequiredValidator=Qp,et.MinimumDateValidator=Kp,et.MinimumValidator=Zp,et.MultiSelectAnswerSchema=ih,et.NumberAnswerSchema=nh,et.Quby=O0,et.QubyContext=gd,et.Questionnaire=Xd,et.RegexpValidator=th,et.RequiresAnswerValidator=Vp,et.Response=af,et.ResponseParseError=of,et.StringAnswerSchema=rh,et.TextvarsSchema=sh,et.ValidDateValidator=Hp,et.ValidFloatValidator=Gp,et.ValidIntegerValidator=$p,et.buildValidator=Up,et.convertDefaultAndValidateResponseJson=ch,et.ignorableErrors=zp,Object.defineProperty(et,Symbol.toStringTag,{value:"Module"})});
|
|
43
|
+
*/(function(r){(function(){var t={}.hasOwnProperty;function n(){for(var a=[],o=0;o<arguments.length;o++){var l=arguments[o];if(l){var c=typeof l;if(c==="string"||c==="number")a.push(l);else if(Array.isArray(l)){if(l.length){var p=n.apply(null,l);p&&a.push(p)}}else if(c==="object"){if(l.toString!==Object.prototype.toString&&!l.toString.toString().includes("[native code]")){a.push(l.toString());continue}for(var f in l)t.call(l,f)&&l[f]&&a.push(f)}}}return a.join(" ")}r.exports?(n.default=n,r.exports=n):window.classNames=n})()})(ql);var nh=ql.exports;const Be=gp(nh);class rh{constructor(t,n){pe(this,"panels");this.response=t,this.response=t,this.panels=n}firstPanelIndexToActivate(){return this.nextPanelIndexToActivate(-1)??this.panels.length-1}nextPanelIndexToActivate(t){let n=t+1;if(n===this.panels.length)return null;for(;n<this.panels.length&&this.allQuestionsHidden(n);)n++;return n}previousPanelIndexToActivate(t){let n=t;for(;;){if(n--,n<0)return null;if(!this.allQuestionsHidden(n))return n}}isFirstPanel(t){return t===this.firstPanelIndexToActivate()}isLastPanel(t){return t===this.panels.length-1}count(){return this.panels.length}allQuestionsHidden(t){const n=this.panels[t];return n.questionKeys.length>0&&!n.questionKeys.some(a=>this.response.isVisible(a))}}function Ri(r,t){const[n,a]=B.useState(r);return{onChange:o=>{const l=t(o.target.value);l!==n&&a(l)},value:n||r||"",onBlur:()=>{a(void 0)}}}function ih(r,t){return["Control","Alt","Fn","Meta"].every(n=>t.includes(n)?r.getModifierState(n):!r.getModifierState(n))}const ah=(r,t,n)=>{const a=o=>{var p;let l=document.activeElement;if(l!=null&&l.shadowRoot&&(l=l.shadowRoot.activeElement),l!==document.body&&!((p=n.current)!=null&&p.contains(l))||!r.activeQuestionKey)return;const c=t.questions[r.activeQuestionKey];if(!(c.type!=="radio"&&c.type!=="scale"&&c.type!=="select")&&o.code.startsWith("Digit")&&ih(o,[])){const f=parseInt(o.code.slice(5)),m=c.children.filter(w=>w.type==="option");f>=1&&f<=m.length&&(r.setValue(r.activeQuestionKey,m[f-1].key),o.preventDefault())}};B.useEffect(()=>(document.addEventListener("keydown",a),()=>document.removeEventListener("keydown",a)))},sh=["option-gap-y","question-mb-factor"],jl=r=>r&&Gt.mapKeys(Gt.pick(r,sh),(t,n)=>`--${n}`),oh=({max:r,current:t})=>{const{t:n}=vn();return r<=1?null:b.jsx("div",{className:"progress-bar",children:b.jsxs("div",{className:"progress-wrapper",children:[b.jsx("div",{className:Be("progress-slider",{"long-list":r>25}),children:Array.from({length:r},(a,o)=>b.jsx("span",{className:Be("progress-stop",`step-${o+1}`,{active:o<=t,"first-child":o===0,"last-child":o===r-1,current:o===t}),children:o+1},o))}),b.jsx("div",{className:"progress-details",children:n("step_i_of_n",{i:t+1,n:r})})]})})},lh=({item:r})=>{const t=B.useContext(ln);return b.jsx("div",{className:"item",children:b.jsx("div",{className:"prose text",dangerouslySetInnerHTML:{__html:t(r.html)}})})},vt=({question:r})=>{const t=B.useContext(ln);if(!r.title)return null;const n=t(r.title),a=`answer_${r.key}`,o=r.description?"mb-1":"mb-2";return b.jsx("div",{className:`${o} main`,children:b.jsx("label",{htmlFor:a,dangerouslySetInnerHTML:{__html:n}})})},yt=r=>{const t=B.useContext(ln);if(!r.question.description)return null;const n=t(r.question.description);return b.jsx("div",{className:"font-light description prose",dangerouslySetInnerHTML:{__html:n}})},uh=({fieldState:r})=>r.showErrors?b.jsx(b.Fragment,{children:r.errors.map(t=>b.jsx(ch,{error:t},t.type))}):null,ch=({error:r})=>{const t=Be("error",r.type),n=dh(r.message);return b.jsx("div",{className:t,children:n})};function dh(r){const{t}=vn();if(typeof r=="string")return r;const n={...r};return delete n.t,t(`validations.${r.t}`,n)}const wt=r=>{const{question:t,fieldState:n,setQuestionRef:a}=r,o=B.useRef(null);a(t.key,o);const l=Be("item","question",t.type,t.presentation,t.questionGroup,t.as,{errors:n.showErrors,active:n.isActiveQuestion,indent:(t.indent||0)>0});return b.jsxs(b.Fragment,{children:[t.contextDescription&&b.jsx(ph,{html:t.contextDescription}),b.jsxs("div",{className:l,ref:o,style:jl(t.cssVars),children:[b.jsx(uh,{fieldState:n}),r.children]})]})},ph=({html:r})=>{const t=B.useContext(ln);return b.jsx("div",{className:"context-description prose",dangerouslySetInnerHTML:{__html:t(r)}})},gh=({question:r,fieldState:t,setQuestionRef:n})=>{var l;const a=Ri((l=t.value)==null?void 0:l.toString(),c=>{if(t.value&&c.startsWith(t.value)&&c.slice(t.value.length).match(/^\s+$/))return c;t.setValue(c.trim()||null)}),o=Be(r.type,{"w-full":!r.size,sized:!!r.size,subitem:!1});return b.jsxs(wt,{question:r,fieldState:t,setQuestionRef:n,children:[b.jsx(vt,{question:r}),b.jsxs("div",{className:"description-and-fields",children:[b.jsx(yt,{question:r}),b.jsx("div",{className:"fields",id:hh(r),children:b.jsx("input",{type:"text",className:o,size:r.size??void 0,onFocus:t.setAsActiveQuestion,disabled:t.disabled,...a})})]})]})};function hh(r){return`answer_${r.key}_input`}const fh=({question:r,fieldState:t,setQuestionRef:n})=>{const a=Be("fields");return b.jsxs(wt,{question:r,fieldState:t,setQuestionRef:n,children:[b.jsx(vt,{question:r}),b.jsxs("div",{className:"description-and-fields",children:[b.jsx(yt,{question:r}),b.jsx("div",{className:a,id:yh(r),children:b.jsx("table",{cellSpacing:"0",width:"100%",children:b.jsx("tbody",{children:b.jsx("tr",{children:r.children.map((o,l)=>b.jsx(mh,{question:r,option:o,index:l,fieldState:t},o.key))})})})})]})]})},mh=({question:r,option:t,index:n,fieldState:a})=>{if(t.hidden&&a.value!==t.key)return null;const o=Be("option text-center align-top",{first:n<=0,last:n>=r.children.length-1}),l=Be(r.type,{subinput:!1,deselectable:!1}),c=a.value===t.key,p=m=>a.setValue(t.key),f=()=>{c&&a.setValue(null)};return b.jsxs("td",{className:o,style:{width:`${100/r.children.length}%`},children:[b.jsx(vh,{question:r,option:t}),b.jsxs("span",{children:[b.jsx("input",{type:"radio",name:r.key,id:t.viewId,className:l,disabled:a.disabled,checked:c,onChange:p,onClick:f,onFocus:a.setAsActiveQuestion}),b.jsx(bh,{option:t})]})]})},bh=({option:r})=>{const t=B.useContext(ln),n=r.label||r.description;return n?b.jsx("label",{htmlFor:r.viewId,children:b.jsx("span",{dangerouslySetInnerHTML:{__html:t(n)}})}):null},vh=({question:r,option:t})=>r.showValues?b.jsx("div",{className:"value",children:t.value}):null;function yh(r){return`answer_${r.key}_input`}const Jl=({questions:r})=>r.length==0?null:b.jsx("div",{className:"subquestions mt-1",children:r.map(t=>b.jsx(su,{fieldKey:t.key}))}),wh=({question:r,fieldState:t,setQuestionRef:n})=>{const a=Be("fields",r.presentation!=="horizontal"?`options${r.children.length}`:null);return b.jsxs(wt,{question:r,fieldState:t,setQuestionRef:n,children:[b.jsx(vt,{question:r}),b.jsxs("div",{className:"description-and-fields",children:[b.jsx(yt,{question:r}),b.jsx("div",{className:a,id:kh(r),children:r.children.map((o,l)=>o.type==="option"?b.jsx(_h,{question:r,option:o,index:l,fieldState:t},o.key):b.jsx("div",{className:"inner-title",dangerouslySetInnerHTML:{__html:o.html}},o.key))})]})]})},_h=({question:r,option:t,fieldState:n})=>{if(t.hidden&&n.value!==t.key)return null;const a=Be("option",{show_values:r.showValues||!1}),o=Be(r.type,{subinput:!1,deselectable:!1}),l=n.value===t.key,c=f=>n.setValue(t.key),p=f=>{l&&n.setValue(null)};return b.jsxs("div",{className:a,children:[b.jsx("div",{className:"inline radiocheckwrapper",children:b.jsx("input",{type:"radio",name:r.key,id:t.viewId,className:o,disabled:n.disabled,checked:l,onChange:c,onClick:p,onFocus:n.setAsActiveQuestion})}),b.jsx(Sh,{question:r,option:t}),b.jsx(xh,{option:t}),b.jsx(Jl,{questions:t.questions})]})},xh=({option:r})=>{const t=B.useContext(ln);if(!r.label&&!r.description)return null;const n=r.label||r.description,a=r.label?r.description:void 0;return b.jsxs("div",{className:"inline labelwrapper",children:[b.jsx("label",{htmlFor:r.viewId,"aria-describedby":a&&`${r.viewId}_description`,children:b.jsx("span",{dangerouslySetInnerHTML:{__html:t(n)}})}),a&&b.jsx("div",{className:"de-em",id:`${r.viewId}_description`,dangerouslySetInnerHTML:{__html:t(a||"")}})]})},Sh=({question:r,option:t})=>r.showValues?b.jsx("div",{className:"inline value",children:t.value}):null;function kh(r){return`answer_${r.key}_input`}const Eh=({question:r,fieldState:t,setQuestionRef:n})=>{const a=l=>{t.setValue(l.target.value)},o=Be("fields",r.presentation!=="horizontal"?`options${r.children.length}`:null);return b.jsxs(wt,{question:r,fieldState:t,setQuestionRef:n,children:[b.jsx(vt,{question:r}),b.jsxs("div",{className:"description-and-fields",children:[b.jsx(yt,{question:r}),b.jsx("div",{className:o,id:Oh(r),children:b.jsxs("select",{onChange:a,value:t.value||void 0,onFocus:t.setAsActiveQuestion,disabled:t.disabled,children:[r.placeholder?b.jsx("option",{className:"placeholder",children:r.placeholder},"placeholder"):null,r.children.map(l=>l.type==="optgroup"?b.jsx(Ah,{label:l.label,options:l.options,fieldState:t},l.key):b.jsx(Yl,{option:l,fieldState:t},l.key))]})})]})]})},Ah=({label:r,options:t,fieldState:n})=>b.jsx("optgroup",{label:r,children:t.map(a=>b.jsx(Yl,{option:a,fieldState:n},a.key))}),Yl=({option:r,fieldState:t})=>r.hidden&&t.value!==r.key?null:b.jsx("option",{value:r.key,disabled:!1,children:r.label||r.description});function Oh(r){return`answer_${r.key}_input`}const Ch=({question:r,fieldState:t,setQuestionRef:n})=>b.jsxs(wt,{question:r,fieldState:t,setQuestionRef:n,children:[b.jsx(vt,{question:r}),b.jsxs("div",{className:"description-and-fields",children:[b.jsx(yt,{question:r}),b.jsxs("div",{className:"fields",id:Ih(r),children:[b.jsx(Ql,{question:r,parts:["year","month","day"],fieldState:t}),b.jsx(Ql,{question:r,parts:["hour","minute"],fieldState:t})]})]})]}),Ql=({question:r,parts:t,fieldState:n})=>{const{t:a}=vn(),o=(c,p)=>{const f=new Map(n.value||[]),m=c.target.value.trim();m?f.set(p,m):f.delete(p),f.size===0?n.setValue(null):n.setValue(f)},l=r.dateParts.filter(c=>t.includes(c.part));return l.length===0?null:b.jsxs("div",{className:"mb-2 ",children:[l.flatMap(c=>{var p;return[b.jsx("input",{type:"text",className:"mr-1",value:((p=n.value)==null?void 0:p.get(c.part))||"",placeholder:a(`placeholders.${c.part}`),disabled:n.disabled,onChange:f=>o(f,c.part),size:c.part==="year"?5:3,onFocus:n.setAsActiveQuestion},c.part),Gt.isEqual(t,["hour","minute"])&&c.part==="hour"&&b.jsx("span",{className:"mr-1",children:":"},"colon")]}),l.flatMap(c=>[b.jsx("span",{className:"mr-1",children:a(c.part)},`label_${c.part}`),Gt.isEqual(t,["hour","minute"])&&c.part==="hour"&&b.jsx("span",{className:"mr-1",children:":"},"label_colon")])]})};function Ih(r){return`answer_${r.key}_input`}const Th=({question:r,fieldState:t,setQuestionRef:n})=>{var c;const{t:a}=vn(),o=Ri((c=t.value)==null?void 0:c.toString(),p=>{if(["-"].includes(p))return p;const f=parseInt(p,10);isNaN(f)?t.setValue(null):t.setValue(f)}),l=Be(r.type,{subitem:!1});return b.jsxs(wt,{question:r,fieldState:t,setQuestionRef:n,children:[b.jsx(vt,{question:r}),b.jsxs("div",{className:"description-and-fields",children:[b.jsx(yt,{question:r}),b.jsxs("div",{className:"fields",id:Mh(r),children:[b.jsx("input",{type:"text",className:l,disabled:t.disabled,size:r.size,onFocus:t.setAsActiveQuestion,...o}),r.unit&&b.jsxs("span",{className:"unit",children:[" ",a(`units.${r.unit}`,{defaultValue:r.unit})]})]})]})]})};function Mh(r){return`answer_${r.key}_input`}const Nh=({question:r,fieldState:t,setQuestionRef:n})=>{var c;const{t:a}=vn(),o=Ri((c=t.value)==null?void 0:c.toString(),p=>{if(["-",".",`${t.value}.`].includes(p))return p;p[0]==="."&&(p=`0${p}`);const f=parseFloat(p);isNaN(f)?t.setValue(null):t.setValue(f)}),l=Be(r.type,{sized:!!r.size,subitem:!1});return b.jsxs(wt,{question:r,fieldState:t,setQuestionRef:n,children:[b.jsx(vt,{question:r}),b.jsxs("div",{className:"description-and-fields",children:[b.jsx(yt,{question:r}),b.jsxs("div",{className:"fields",id:Lh(r),children:[b.jsx("input",{type:"text",className:l,disabled:t.disabled,size:r.size,onFocus:t.setAsActiveQuestion,...o}),r.unit&&b.jsxs("span",{className:"unit",children:[" ",a(`units.${r.unit}`,{defaultValue:r.unit})]})]})]})]})};function Lh(r){return`answer_${r.key}_input`}var ss={},os={},ls={},Vi={};(function(r){Object.defineProperty(r,"__esModule",{value:!0}),r.Direction=void 0,function(t){t.Right="to right",t.Left="to left",t.Down="to bottom",t.Up="to top"}(r.Direction||(r.Direction={}))})(Vi),function(r){var t=Ke&&Ke.__spreadArray||function(N,D,W){if(W||arguments.length===2)for(var ie=0,de=D.length,oe;ie<de;ie++)(oe||!(ie in D))&&(oe||(oe=Array.prototype.slice.call(D,0,ie)),oe[ie]=D[ie]);return N.concat(oe||Array.prototype.slice.call(D))};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=B,a=Vi,o=function(N){var D=N.toString().split(".")[1];return D?D.length:0};r.getStepDecimals=o;function l(N){return N.touches&&N.touches.length||N.changedTouches&&N.changedTouches.length}r.isTouchEvent=l;function c(N,D,W){var ie=(D-N)/W,de=8,oe=Number(ie.toFixed(de));return parseInt(oe.toString(),10)===oe}r.isStepDivisible=c;function p(N,D,W,ie,de,oe,j){var te=1e11;if(N=Math.round(N*te)/te,!oe){var Pe=j[D-1],ke=j[D+1];if(Pe&&Pe>N)return Pe;if(ke&&ke<N)return ke}if(N>ie)return ie;if(N<W)return W;var Re=Math.floor(N*te-W*te)%Math.floor(de*te),rt=Math.floor(N*te-Math.abs(Re)),_t=Re===0?N:rt/te,Ge=Math.abs(Re/te)<de/2?_t:_t+de,je=(0,r.getStepDecimals)(de);return parseFloat(Ge.toFixed(je))}r.normalizeValue=p;function f(N,D,W){return(N-D)/(W-D)}r.relativeValue=f;function m(N){return N===a.Direction.Up||N===a.Direction.Down}r.isVertical=m;function w(N,D,W){if(D>=W)throw new RangeError("min (".concat(D,") is equal/bigger than max (").concat(W,")"));if(N<D)throw new RangeError("value (".concat(N,") is smaller than min (").concat(D,")"));if(N>W)throw new RangeError("value (".concat(N,") is bigger than max (").concat(W,")"))}r.checkBoundaries=w;function k(N,D,W){return N<D?D:N>W?W:N}r.checkValuesAgainstBoundaries=k;function S(N){if(!(N.length<2)&&!N.slice(1).every(function(D,W){return N[W]<=D}))throw new RangeError("values={[".concat(N,"]} needs to be sorted when allowOverlap={false}"))}r.checkInitialOverlap=S;function F(N){var D=window.getComputedStyle(N);return{top:parseInt(D["margin-top"],10),bottom:parseInt(D["margin-bottom"],10),left:parseInt(D["margin-left"],10),right:parseInt(D["margin-right"],10)}}r.getMargin=F;function T(N){var D=window.getComputedStyle(N);return{top:parseInt(D["padding-top"],10)+parseInt(D["border-top-width"],10),bottom:parseInt(D["padding-bottom"],10)+parseInt(D["border-bottom-width"],10),left:parseInt(D["padding-left"],10)+parseInt(D["border-left-width"],10),right:parseInt(D["padding-right"],10)+parseInt(D["border-right-width"],10)}}r.getPaddingAndBorder=T;function q(N,D,W){var ie=W?-1:1;N.forEach(function(de,oe){return se(de,ie*D[oe].x,D[oe].y)})}r.translateThumbs=q;function U(N,D,W,ie){for(var de=0,oe=We(N[0],D,W,ie),j=1;j<N.length;j++){var te=We(N[j],D,W,ie);te<oe&&(oe=te,de=j)}return de}r.getClosestThumbIndex=U;function se(N,D,W){N.style.transform="translate(".concat(D,"px, ").concat(W,"px)")}r.translate=se;var $=function(N){var D=[],W=null,ie=function(){for(var de=[],oe=0;oe<arguments.length;oe++)de[oe]=arguments[oe];D=de,!W&&(W=requestAnimationFrame(function(){W=null,N.apply(void 0,D)}))};return ie};r.schd=$;function z(N,D,W){var ie=N.slice(0);return ie[D]=W,ie}r.replaceAt=z;function Z(N){var D=N.values,W=N.colors,ie=N.min,de=N.max,oe=N.direction,j=oe===void 0?a.Direction.Right:oe,te=N.rtl,Pe=te===void 0?!1:te;Pe&&j===a.Direction.Right?j=a.Direction.Left:Pe&&a.Direction.Left&&(j=a.Direction.Right);var ke=D.slice(0).sort(function(rt,_t){return rt-_t}).map(function(rt){return(rt-ie)/(de-ie)*100}),Re=ke.reduce(function(rt,_t,Ge){return"".concat(rt,", ").concat(W[Ge]," ").concat(_t,"%, ").concat(W[Ge+1]," ").concat(_t,"%")},"");return"linear-gradient(".concat(j,", ").concat(W[0]," 0%").concat(Re,", ").concat(W[W.length-1]," 100%)")}r.getTrackBackground=Z;function Y(){}r.voidFn=Y;function re(N){throw new Error("Didn't expect to get here")}r.assertUnreachable=re;var ce=function(N,D,W,ie,de){de===void 0&&(de=function(j){return j});var oe=Math.ceil(t([N],Array.from(N.children),!0).reduce(function(j,te){var Pe=Math.ceil(te.getBoundingClientRect().width);if(te.innerText&&te.innerText.includes(W)&&te.childElementCount===0){var ke=te.cloneNode(!0);ke.innerHTML=de(D.toFixed(ie)),ke.style.visibility="hidden",document.body.appendChild(ke),Pe=Math.ceil(ke.getBoundingClientRect().width),document.body.removeChild(ke)}return Pe>j?Pe:j},N.getBoundingClientRect().width));return oe},ot=function(N,D,W,ie,de,oe,j){j===void 0&&(j=function(ke){return ke});var te=[],Pe=function(ke){var Re=ce(W[ke],ie[ke],de,oe,j),rt=D[ke].x;D.forEach(function(_t,Ge){var je=_t.x,Ct=ce(W[Ge],ie[Ge],de,oe,j);ke!==Ge&&(rt>=je&&rt<=je+Ct||rt+Re>=je&&rt+Re<=je+Ct)&&(te.includes(Ge)||(te.push(ke),te.push(Ge),te=t(t([],te,!0),[ke,Ge],!1),Pe(Ge)))})};return Pe(N),Array.from(new Set(te.sort()))},Kt=function(N,D,W,ie,de,oe){ie===void 0&&(ie=.1),de===void 0&&(de=" - "),oe===void 0&&(oe=function(Ge){return Ge});var j=(0,r.getStepDecimals)(ie),te=(0,n.useState)({}),Pe=te[0],ke=te[1],Re=(0,n.useState)(oe(D[W].toFixed(j))),rt=Re[0],_t=Re[1];return(0,n.useEffect)(function(){if(N){var Ge=N.getThumbs();if(Ge.length<1)return;var je={},Ct=N.getOffsets(),lr=ot(W,Ct,Ge,D,de,j,oe),On=oe(D[W].toFixed(j));if(lr.length){var en=lr.reduce(function(Je,Cn,Yi,It){return Je.length?t(t([],Je,!0),[Ct[It[Yi]].x],!1):[Ct[It[Yi]].x]},[]);if(Math.min.apply(Math,en)===Ct[W].x){var ji=[];lr.forEach(function(Je){ji.push(D[Je].toFixed(j))}),On=Array.from(new Set(ji.sort(function(Je,Cn){return parseFloat(Je)-parseFloat(Cn)}))).map(oe).join(de);var ur=Math.min.apply(Math,en),Kn=Math.max.apply(Math,en),Ji=Ge[lr[en.indexOf(Kn)]].getBoundingClientRect().width;je.left="".concat(Math.abs(ur-(Kn+Ji))/2,"px"),je.transform="translate(-50%, 0)"}else je.visibility="hidden"}_t(On),ke(je)}},[N,D]),[rt,Pe]};r.useThumbOverlap=Kt;function We(N,D,W,ie){var de=N.getBoundingClientRect(),oe=de.left,j=de.top,te=de.width,Pe=de.height;return m(ie)?Math.abs(W-(j+Pe/2)):Math.abs(D-(oe+te/2))}}(ls);var Fh=Ke&&Ke.__extends||function(){var r=function(t,n){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,o){a.__proto__=o}||function(a,o){for(var l in o)Object.prototype.hasOwnProperty.call(o,l)&&(a[l]=o[l])},r(t,n)};return function(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");r(t,n);function a(){this.constructor=t}t.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}(),Dh=Ke&&Ke.__createBinding||(Object.create?function(r,t,n,a){a===void 0&&(a=n);var o=Object.getOwnPropertyDescriptor(t,n);(!o||("get"in o?!t.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(r,a,o)}:function(r,t,n,a){a===void 0&&(a=n),r[a]=t[n]}),Bh=Ke&&Ke.__setModuleDefault||(Object.create?function(r,t){Object.defineProperty(r,"default",{enumerable:!0,value:t})}:function(r,t){r.default=t}),Ph=Ke&&Ke.__importStar||function(r){if(r&&r.__esModule)return r;var t={};if(r!=null)for(var n in r)n!=="default"&&Object.prototype.hasOwnProperty.call(r,n)&&Dh(t,r,n);return Bh(t,r),t},Xl=Ke&&Ke.__spreadArray||function(r,t,n){if(n||arguments.length===2)for(var a=0,o=t.length,l;a<o;a++)(l||!(a in t))&&(l||(l=Array.prototype.slice.call(t,0,a)),l[a]=t[a]);return r.concat(l||Array.prototype.slice.call(t))};Object.defineProperty(os,"__esModule",{value:!0});var zi=Ph(B),_e=ls,Ze=Vi,Rh=["ArrowRight","ArrowUp","k","PageUp"],Vh=["ArrowLeft","ArrowDown","j","PageDown"],zh=function(r){Fh(t,r);function t(n){var a=r.call(this,n)||this;if(a.trackRef=zi.createRef(),a.thumbRefs=[],a.state={draggedTrackPos:[-1,-1],draggedThumbIndex:-1,thumbZIndexes:new Array(a.props.values.length).fill(0).map(function(o,l){return l}),isChanged:!1,markOffsets:[]},a.getOffsets=function(){var o=a.props,l=o.direction,c=o.values,p=o.min,f=o.max,m=a.trackRef.current,w=m.getBoundingClientRect(),k=(0,_e.getPaddingAndBorder)(m);return a.getThumbs().map(function(S,F){var T={x:0,y:0},q=S.getBoundingClientRect(),U=(0,_e.getMargin)(S);switch(l){case Ze.Direction.Right:return T.x=(U.left+k.left)*-1,T.y=((q.height-w.height)/2+k.top)*-1,T.x+=w.width*(0,_e.relativeValue)(c[F],p,f)-q.width/2,T;case Ze.Direction.Left:return T.x=(U.right+k.right)*-1,T.y=((q.height-w.height)/2+k.top)*-1,T.x+=w.width-w.width*(0,_e.relativeValue)(c[F],p,f)-q.width/2,T;case Ze.Direction.Up:return T.x=((q.width-w.width)/2+U.left+k.left)*-1,T.y=-k.left,T.y+=w.height-w.height*(0,_e.relativeValue)(c[F],p,f)-q.height/2,T;case Ze.Direction.Down:return T.x=((q.width-w.width)/2+U.left+k.left)*-1,T.y=-k.left,T.y+=w.height*(0,_e.relativeValue)(c[F],p,f)-q.height/2,T;default:return(0,_e.assertUnreachable)(l)}})},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(l){return l===o.target||l.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 l;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(p){var f;return(f=p.current)===null||f===void 0?void 0:f.contains(o.target)}))return;a.setState({draggedTrackPos:[o.clientX,o.clientY]},function(){return a.onMove(o.clientX,o.clientY)})}else{var c=(0,_e.getClosestThumbIndex)(a.thumbRefs.map(function(p){return p.current}),o.clientX,o.clientY,a.props.direction);(l=a.thumbRefs[c].current)===null||l===void 0||l.focus(),a.setState({draggedThumbIndex:c},function(){return a.onMove(o.clientX,o.clientY)})}},a.onResize=function(){(0,_e.translateThumbs)(a.getThumbs(),a.getOffsets(),a.props.rtl),a.calculateMarkOffsets()},a.onTouchStartTrack=function(o){var l;if(o.persist(),a.addTouchEvents(o.nativeEvent),a.props.values.length>1&&a.props.draggableTrack){if(a.thumbRefs.some(function(p){var f;return(f=p.current)===null||f===void 0?void 0:f.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 c=(0,_e.getClosestThumbIndex)(a.thumbRefs.map(function(p){return p.current}),o.touches[0].clientX,o.touches[0].clientY,a.props.direction);(l=a.thumbRefs[c].current)===null||l===void 0||l.focus(),a.setState({draggedThumbIndex:c},function(){return a.onMove(o.touches[0].clientX,o.touches[0].clientY)})}},a.onMouseOrTouchStart=function(o){if(!a.props.disabled){var l=(0,_e.isTouchEvent)(o);if(!(!l&&o.button!==0)){var c=a.getTargetIndex(o);c!==-1&&(l?a.addTouchEvents(o):a.addMouseEvents(o),a.setState({draggedThumbIndex:c,thumbZIndexes:a.state.thumbZIndexes.map(function(p,f){return f===c?Math.max.apply(Math,a.state.thumbZIndexes):p<=a.state.thumbZIndexes[c]?p:p-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 l=a.props,c=l.values,p=l.onChange,f=l.step,m=l.rtl,w=l.direction,k=a.state.isChanged,S=a.getTargetIndex(o.nativeEvent),F=m||w===Ze.Direction.Left||w===Ze.Direction.Down?-1:1;S!==-1&&(Rh.includes(o.key)?(o.preventDefault(),a.setState({draggedThumbIndex:S,isChanged:!0}),p((0,_e.replaceAt)(c,S,a.normalizeValue(c[S]+F*(o.key==="PageUp"?f*10:f),S)))):Vh.includes(o.key)?(o.preventDefault(),a.setState({draggedThumbIndex:S,isChanged:!0}),p((0,_e.replaceAt)(c,S,a.normalizeValue(c[S]-F*(o.key==="PageDown"?f*10:f),S)))):o.key==="Tab"?a.setState({draggedThumbIndex:-1},function(){k&&a.fireOnFinalChange()}):k&&a.fireOnFinalChange())},a.onKeyUp=function(o){var l=a.state.isChanged;a.setState({draggedThumbIndex:-1},function(){l&&a.fireOnFinalChange()})},a.onMove=function(o,l){var c=a.state,p=c.draggedThumbIndex,f=c.draggedTrackPos,m=a.props,w=m.direction,k=m.min,S=m.max,F=m.onChange,T=m.values,q=m.step,U=m.rtl;if(p===-1&&f[0]===-1&&f[1]===-1)return null;var se=a.trackRef.current;if(!se)return null;var $=se.getBoundingClientRect(),z=(0,_e.isVertical)(w)?$.height:$.width;if(f[0]!==-1&&f[1]!==-1){var Z=o-f[0],Y=l-f[1],re=0;switch(w){case Ze.Direction.Right:case Ze.Direction.Left:re=Z/z*(S-k);break;case Ze.Direction.Down:case Ze.Direction.Up:re=Y/z*(S-k);break;default:(0,_e.assertUnreachable)(w)}if(U&&(re*=-1),Math.abs(re)>=q/2){for(var ce=0;ce<a.thumbRefs.length;ce++){if(T[ce]===S&&Math.sign(re)===1||T[ce]===k&&Math.sign(re)===-1)return;var ot=T[ce]+re;ot>S?re=S-T[ce]:ot<k&&(re=k-T[ce])}for(var Kt=T.slice(0),ce=0;ce<a.thumbRefs.length;ce++)Kt=(0,_e.replaceAt)(Kt,ce,a.normalizeValue(T[ce]+re,ce));a.setState({draggedTrackPos:[o,l]}),F(Kt)}}else{var We=0;switch(w){case Ze.Direction.Right:We=(o-$.left)/z*(S-k)+k;break;case Ze.Direction.Left:We=(z-(o-$.left))/z*(S-k)+k;break;case Ze.Direction.Down:We=(l-$.top)/z*(S-k)+k;break;case Ze.Direction.Up:We=(z-(l-$.top))/z*(S-k)+k;break;default:(0,_e.assertUnreachable)(w)}U&&(We=S+k-We),Math.abs(T[p]-We)>=q/2&&F((0,_e.replaceAt)(T,p,a.normalizeValue(We,p)))}},a.normalizeValue=function(o,l){var c=a.props,p=c.min,f=c.max,m=c.step,w=c.allowOverlap,k=c.values;return(0,_e.normalizeValue)(o,l,p,f,m,w,k)},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,l=o.onFinalChange,c=o.values;l&&l(c)},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 l=0;l<a.numOfMarks+1;l++)a.markRefs[l]=zi.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),l=parseInt(o.width,10),c=parseInt(o.height,10),p=parseInt(o.paddingLeft,10),f=parseInt(o.paddingTop,10),m=[],w=0;w<a.numOfMarks+1;w++){var k=9999,S=9999;if(a.markRefs[w].current){var F=a.markRefs[w].current.getBoundingClientRect();k=F.height,S=F.width}a.props.direction===Ze.Direction.Left||a.props.direction===Ze.Direction.Right?m.push([Math.round(l/a.numOfMarks*w+p-S/2),-Math.round((k-c)/2)]):m.push([Math.round(c/a.numOfMarks*w+f-k/2),-Math.round((S-l)/2)])}a.setState({markOffsets:m})}},n.step===0)throw new Error('"step" property should be a positive number');return a.schdOnMouseMove=(0,_e.schd)(a.onMouseMove),a.schdOnTouchMove=(0,_e.schd)(a.onTouchMove),a.schdOnEnd=(0,_e.schd)(a.onEnd),a.thumbRefs=n.values.map(function(){return zi.createRef()}),a.updateMarkRefs(n),a}return t.prototype.componentDidMount=function(){var n=this,a=this.props,o=a.values,l=a.min,c=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,_e.checkInitialOverlap)(this.props.values),this.props.values.forEach(function(p){return(0,_e.checkBoundaries)(p,n.props.min,n.props.max)}),this.resizeObserver.observe(this.trackRef.current),(0,_e.translateThumbs)(this.getThumbs(),this.getOffsets(),this.props.rtl),this.calculateMarkOffsets(),o.forEach(function(p){(0,_e.isStepDivisible)(l,p,c)||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.")})},t.prototype.componentDidUpdate=function(n,a){var o=this.props,l=o.max,c=o.min,p=o.step,f=o.values,m=o.rtl;(n.max!==l||n.min!==c||n.step!==p)&&this.updateMarkRefs(this.props),(0,_e.translateThumbs)(this.getThumbs(),this.getOffsets(),m),(n.max!==l||n.min!==c||n.step!==p||a.markOffsets.length!==this.state.markOffsets.length)&&(this.calculateMarkOffsets(),f.forEach(function(w){(0,_e.isStepDivisible)(c,w,p)||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.")}))},t.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)},t.prototype.render=function(){var n=this,a=this.props,o=a.renderTrack,l=a.renderThumb,c=a.renderMark,p=c===void 0?function(){return null}:c,f=a.values,m=a.min,w=a.max,k=a.allowOverlap,S=a.disabled,F=this.state,T=F.draggedThumbIndex,q=F.thumbZIndexes,U=F.markOffsets;return o({props:{style:{transform:"scale(1)",cursor:T>-1?"grabbing":this.props.draggableTrack?(0,_e.isVertical)(this.props.direction)?"ns-resize":"ew-resize":f.length===1&&!S?"pointer":"inherit"},onMouseDown:S?_e.voidFn:this.onMouseDownTrack,onTouchStart:S?_e.voidFn:this.onTouchStartTrack,ref:this.trackRef},isDragged:this.state.draggedThumbIndex>-1,disabled:S,children:Xl(Xl([],U.map(function(se,$,z){return p({props:{style:n.props.direction===Ze.Direction.Left||n.props.direction===Ze.Direction.Right?{position:"absolute",left:"".concat(se[0],"px"),marginTop:"".concat(se[1],"px")}:{position:"absolute",top:"".concat(se[0],"px"),marginLeft:"".concat(se[1],"px")},key:"mark".concat($),ref:n.markRefs[$]},index:$})}),!0),f.map(function(se,$){var z=n.state.draggedThumbIndex===$;return l({index:$,value:se,isDragged:z,props:{style:{position:"absolute",zIndex:q[$],cursor:S?"inherit":z?"grabbing":"grab",userSelect:"none",touchAction:"none",WebkitUserSelect:"none",MozUserSelect:"none",msUserSelect:"none"},key:$,tabIndex:S?void 0:0,"aria-valuemax":k?w:f[$+1]||w,"aria-valuemin":k?m:f[$-1]||m,"aria-valuenow":se,draggable:!1,ref:n.thumbRefs[$],role:"slider",onKeyDown:S?_e.voidFn:n.onKeyDown,onKeyUp:S?_e.voidFn:n.onKeyUp}})}),!0)})},t.defaultProps={step:1,direction:Ze.Direction.Right,rtl:!1,disabled:!1,allowOverlap:!1,draggableTrack:!1,min:0,max:100},t}(zi.Component);os.default=zh,function(r){var t=Ke&&Ke.__importDefault||function(l){return l&&l.__esModule?l:{default:l}};Object.defineProperty(r,"__esModule",{value:!0}),r.checkValuesAgainstBoundaries=r.relativeValue=r.useThumbOverlap=r.Direction=r.getTrackBackground=r.Range=void 0;var n=t(os);r.Range=n.default;var a=ls;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=Vi;Object.defineProperty(r,"Direction",{enumerable:!0,get:function(){return o.Direction}})}(ss);const us=18,Ui=1,eu=9,on=16,tu=4,cs=1,Uh=({question:r,fieldState:t,setQuestionRef:n})=>{const a=m=>{t.setValue(m[0])},o=B.useRef(null),l=Qh(r.labels,o),c=t.value==null,p=t.value??r.defaultPosition,f=Wh(r);return b.jsxs(wt,{question:r,fieldState:t,setQuestionRef:n,children:[b.jsx(vt,{question:r}),b.jsxs("div",{className:"description-and-fields",children:[b.jsx(yt,{question:r}),b.jsx("div",{className:"fields mt-3",ref:o,style:{height:us+l.height},children:b.jsx(ss.Range,{values:[p],onChange:a,min:r.minimum,max:r.maximum,step:r.step,disabled:t.disabled,renderTrack:({props:m,children:w})=>b.jsx("div",{...m,style:{...m.style,...$h},children:w}),renderThumb:m=>Gh({...m,blank:c||t.disabled,showTooltip:r.valueTooltip,startThumbHidden:r.startThumbHidden,isActiveQuestion:t.isActiveQuestion,onFocus:t.setAsActiveQuestion}),renderMark:({props:m,index:w})=>f[w]!==void 0?Kh(m,f[w],l):null})})]})]})},Gh=({props:r,value:t,isDragged:n,blank:a,showTooltip:o,startThumbHidden:l,isActiveQuestion:c,onFocus:p})=>l&&a?b.jsx("div",{...r}):b.jsxs("div",{...r,style:{...r.style,...Hh,...n&&jh,...c&&qh,...a&&Jh},onFocus:p,children:[b.jsx("div",{style:{margin:"6px auto",width:"6px",height:"14px",border:"1px solid oklch(var(--foreground))",borderWidth:"0 1px 0 1px"}}),o&&n&&b.jsx("div",{style:Yh,children:t})]}),Kh=(r,t,{info:n,setRef:a})=>{const o=eu+(n.tops[t.idx]||0),l=t.first?"0 4px 4px":t.last?"4px 0 4px 4px":"4px";return b.jsxs("div",{...r,style:{...r.style,top:us-Ui,marginTop:0,width:0},children:[b.jsx("div",{ref:c=>{c&&a(t.idx,c)},style:{position:"absolute",top:o,left:-Ui,width:"max-content",maxWidth:n.maxWidths[t.idx],backgroundColor:"oklch(var(--slider-track))",borderRadius:l,border:`${cs}px solid oklch(var(--foreground))`,padding:"0 4px",textAlign:t.first?"left":t.last?"right":"center",transform:t.first?void 0:t.last?"translateX(-100%)":"translateX(-50%)"},dangerouslySetInnerHTML:{__html:t.text}}),b.jsx(Zh,{label:t,top:o})]})},Zh=({top:r,label:t})=>{const a=r+1,o=t.first?`M0.5,${a-.5} V0.5 C0.5,${a/2} 5,${a} 9,${a-.5}`:t.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}`,l=t.first?0:t.last?-9:-9/2;return b.jsx("svg",{width:9,height:a,viewBox:`0 0 9 ${a}`,preserveAspectRatio:"none",style:{marginLeft:l,position:"absolute",left:-Ui},children:b.jsxs("g",{strokeWidth:cs,children:[b.jsx("line",{x1:"0",y1:a,x2:"9",y2:a,stroke:"oklch(var(--slider-track))"}),b.jsx("path",{d:o,fill:"oklch(var(--slider-track))",strokeLinecap:"square",stroke:"oklch(var(--foreground))"})]})})},Wh=r=>{if(r.labels.length===0)return{};const t=(r.maximum-r.minimum)/r.step,n={};return r.labels.forEach((a,o)=>{const l=Math.floor(o*t/(r.labels.length-1));n[l]={text:a,first:o===0,last:o===r.labels.length-1,idx:o}}),n},$h={border:`${Ui}px solid oklch(var(--foreground))`,background:"oklch(var(--slider-track))",height:us,borderRadius:"2px",marginBottom:"18px"},Hh={height:"28px",width:"34px",backgroundColor:"oklch(var(--background))",border:"1px solid oklch(var(--foreground))",borderRadius:"3px"},qh={backgroundColor:"rgba(27,124,194,0.7)"},jh={boxShadow:"inset 0 0 1px #FFF, inset 0 1px 7px #DDD, 0 3px 6px -3px #BBB"},Jh={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)"},Yh={position:"absolute",top:"-29px",left:"16px",transform:"translateX(-50%)",backgroundColor:"oklch(var(--slider-track))",border:`${cs}px solid oklch(var(--foreground))`,borderRadius:"4px",padding:"0 4px"},Qh=(r,t)=>{const n=B.useRef([]),[a,o]=B.useState({maxWidths:[],rowHeights:[],tops:[],twoRows:!1}),[l,c]=B.useState("getRefs");let p=eu+a.rowHeights[0]||18;return a.rowHeights.length==2&&(p+=tu+a.rowHeights[1]),B.useLayoutEffect(()=>{l==="resize"?(o({...a,twoRows:!1,maxWidths:Array(n.current.length).fill(999)}),c("setWidths")):l==="setWidths"?(Xh(n.current,r,t,a,o),c("setHeight")):l==="setHeight"&&(ef(n.current,a,o),c("done"))},[l,r,t,a]),B.useLayoutEffect(()=>{if(l!=="done")return;const m=t.current,w=m.offsetWidth,k=new ResizeObserver(()=>{w!==m.offsetWidth&&requestAnimationFrame(()=>c("resize"))});return k.observe(m),()=>{k.unobserve(m)}},[l,t]),{info:a,setRef:(m,w)=>{n.current[m]=w,l==="getRefs"&&n.current.length===r.length&&n.current.every(k=>k!==void 0)&&c("setWidths")},height:p}};function Xh(r,t,n,a,o){const l=n.current.offsetWidth;if(t.length===1)o({...a,maxWidths:[l]});else if(tf(r))if(t.length===3&&r[1].offsetWidth<l/3){const c=(l-r[1].offsetWidth)/2-on;o({...a,maxWidths:[c,l-c*2-on,c]})}else if(t.length===2){const c=r[1].offsetWidth<l/2-on?l-r[1].offsetWidth-on:l/2-on/2,p=l-c-on;o({...a,maxWidths:[c,p]})}else{const c=Array(t.length).fill(l/(t.length-1)-on/2);c[0]=c[t.length-1]=l/2-on,o({...a,twoRows:!0,maxWidths:c})}}function ef(r,t,n){if(t.twoRows){const a=ds(r.slice(1,-1)),o=ds(Gt.at(r,0,r.length-1)),l=Array(r.length).fill(0);l[0]=l[r.length-1]=a+tu,n({...t,rowHeights:[a,o],tops:l})}else n({...t,rowHeights:[ds(r)],tops:Array(r.length).fill(0)})}function ds(r){return Math.max(...r.map(t=>t.getBoundingClientRect().height))}function tf(r){return r.some((t,n)=>n>0&&t.getBoundingClientRect().left-on<r[n-1].getBoundingClientRect().right)}const nf=({question:r,fieldState:t,setQuestionRef:n})=>{const a=p=>{t.setValue(p[0])},o=t.value==null,l=t.value||r.defaultPosition,c=sf(r);return b.jsxs(wt,{question:r,fieldState:t,setQuestionRef:n,children:[b.jsx(vt,{question:r}),b.jsxs("div",{className:"description-and-fields",children:[b.jsx(yt,{question:r}),b.jsx("div",{className:"fields mt-3",children:b.jsx(ss.Range,{values:[l],onChange:a,min:r.minimum,max:r.maximum,step:r.step,disabled:t.disabled,renderTrack:({props:p,children:f})=>b.jsx("div",{...p,style:{...p.style,...of},children:f}),renderThumb:p=>rf({...p,blank:o||t.disabled,showTooltip:r.valueTooltip,startThumbHidden:r.startThumbHidden,onFocus:t.setAsActiveQuestion}),renderMark:({props:p,index:f})=>c[f]!==void 0?af(p,c[f]):null})})]})]})},rf=({props:r,value:t,isDragged:n,blank:a,showTooltip:o,startThumbHidden:l,onFocus:c})=>l&&a?b.jsx("div",{...r}):b.jsxs("div",{...r,style:{...r.style,...lf,...n&&uf,...a&&cf},onFocus:c,children:["||",o&&n&&b.jsx("div",{style:df,children:t})]}),af=(r,t)=>b.jsx("div",{...r,style:{...r.style,top:"18px",marginTop:0,height:"9px",width:"1px",backgroundColor:"#d3d3d3"},children:b.jsx("div",{style:{position:"absolute",top:"8px",width:"max-content",textAlign:t.first?"left":t.last?"right":"center",transform:t.first?void 0:t.last?"translateX(-100%)":"translateX(-50%)"},dangerouslySetInnerHTML:{__html:t.text}})}),sf=r=>{if(r.labels.length===0)return{};const t=(r.maximum-r.minimum)/r.step,n={};return r.labels.forEach((a,o)=>{const l=Math.floor(o*t/(r.labels.length-1));n[l]={text:a,first:o===0,last:o===r.labels.length-1}}),n},of={border:"1px solid #d3d3d3",background:"#fafafa",height:"18px",borderRadius:"4px",marginBottom:"18px",boxShadow:"inset 0 1px 1px #F0F0F0, 0 3px 6px -5px #BBB"},lf={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"},uf={boxShadow:"inset 0 0 1px #FFF, inset 0 1px 7px #DDD, 0 3px 6px -3px #BBB"},cf={backgroundColor:"rgba(255, 255, 255, .5)",boxShadow:"none",border:"1px solid #D9D9D9"},df={position:"absolute",top:"-28px",left:"17px",transform:"translateX(-50%)",color:"#000",fontWeight:"bold",padding:"4px"},pf=({question:r,fieldState:t,setQuestionRef:n})=>{var l;const a=Ri((l=t.value)==null?void 0:l.toString(),c=>{if(t.value&&c.startsWith(t.value)&&c.slice(t.value.length).match(/^\s+$/))return c;t.setValue(c.trim()||null)}),o=Be(r.type,{"w-full":!0,subitem:!1});return b.jsxs(wt,{question:r,fieldState:t,setQuestionRef:n,children:[b.jsx(vt,{question:r}),b.jsxs("div",{className:"description-and-fields",children:[b.jsx(yt,{question:r}),b.jsx("div",{className:"fields",id:gf(r),children:b.jsx("textarea",{className:o,rows:r.lines,onFocus:t.setAsActiveQuestion,disabled:t.disabled,...a})})]})]})};function gf(r){return`answer_${r.key}_input`}const hf=({question:r,fieldState:t,setQuestionRef:n})=>{const a=Be("fields",r.presentation!=="horizontal"?`options${r.children.length}`:null);return b.jsxs(wt,{question:r,fieldState:t,setQuestionRef:n,children:[b.jsx(vt,{question:r}),b.jsxs("div",{className:"description-and-fields",children:[b.jsx(yt,{question:r}),b.jsx("div",{className:a,id:bf(r),children:r.children.map((o,l)=>o.type==="option"?b.jsx(ff,{question:r,option:o,index:l,fieldState:t},o.key):b.jsx("div",{className:"text-lg font-medium my-1 inner-title",dangerouslySetInnerHTML:{__html:o.html}},o.key))})]})]})},ff=({question:r,option:t,fieldState:n})=>{const a=B.useContext(ln),l=(n.value||new Set).has(t.key)||!1;if(t.hidden&&!l)return null;const c=Be("option",{show_values:!1}),p=Be(r.type,{subinput:!1}),f=k=>t.key&&n.setValue(vf(n,t.key,r)),m=t.label||t.description,w=t.label?t.description:void 0;return b.jsxs("div",{className:c,children:[b.jsx("div",{className:"inline radiocheckwrapper",children:b.jsx("input",{type:"checkbox",name:r.key,id:t.viewId,className:p,disabled:n.disabled,checked:l,onChange:f,onFocus:n.setAsActiveQuestion})}),b.jsx(mf,{question:r,option:t}),b.jsxs("div",{className:"inline labelwrapper",children:[b.jsx("label",{htmlFor:t.viewId,"aria-describedby":w&&`${t.viewId}_description`,children:b.jsx("span",{dangerouslySetInnerHTML:{__html:a(m)}})}),w&&b.jsx("div",{className:"de-em",id:`${t.viewId}_description`,dangerouslySetInnerHTML:{__html:a(w||"")}})]}),b.jsx(Jl,{questions:t.questions})]})},mf=()=>null;function bf(r){return`answer_${r.key}_input`}function vf(r,t,n){const a=new Set(r.value??[]),o=!a.has(t);return yf(a,n,t,o),wf(a,n,t,o),o?a.add(t):a.delete(t),a.size===0?null:a}function yf(r,t,n,a){t.checkAllOption&&(t.checkAllOption===n&&a&&t.children.filter(o=>o.type==="option").forEach(o=>{r.add(o.key)}),t.checkAllOption!==n&&!a&&r.delete(t.checkAllOption))}function wf(r,t,n,a){t.uncheckAllOption&&(t.uncheckAllOption===n&&a&&r.clear(),t.uncheckAllOption!==n&&a&&r.delete(t.uncheckAllOption))}var Te={};const _f=[["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 Gi={};Gi.remove=xf;for(var Ki=[{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źẑżžẓẕƶȥɀⱬꝣ"}],ps={},Zi=0;Zi<Ki.length;Zi+=1)for(var nu=Ki[Zi].chars,gs=0;gs<nu.length;gs+=1)ps[nu[gs]]=Ki[Zi].base;function xf(r){return r.replace(/[^\u0000-\u007e]/g,function(t){return ps[t]||t})}Gi.replacementList=Ki,Gi.diacriticsMap=ps;var Sf=_f,ru=Gi.remove,or={},Wi={},$i={},Zr={},hs={};Sf.forEach(function(r){var t=r;Wi[t[0]]=t[1],$i[t[1]]=t[0],Zr[t[2]]=t[0],hs[t[0]]=t[2]});function iu(r){return("000"+(r||"")).slice(-3)}function kf(r){if(!r.locale)throw new TypeError("Missing localeData.locale");if(!r.countries)throw new TypeError("Missing localeData.countries");or[r.locale]=r.countries}Te.registerLocale=kf;function fs(r){return $i[r]}Te.alpha3ToAlpha2=fs;function ms(r){return Wi[r]}Te.alpha2ToAlpha3=ms;function Ef(r){return hs[fs(r)]}Te.alpha3ToNumeric=Ef;function Af(r){return hs[r]}Te.alpha2ToNumeric=Af;function bs(r){var t=iu(r);return ms(Zr[t])}Te.numericToAlpha3=bs;function vs(r){var t=iu(r);return Zr[t]}Te.numericToAlpha2=vs;function Of(r){if(typeof r=="string"){if(/^[0-9]*$/.test(r))return bs(r);if(r.length===2)return ms(r.toUpperCase());if(r.length===3)return r.toUpperCase()}if(typeof r=="number")return bs(r)}Te.toAlpha3=Of;function au(r){if(typeof r=="string"){if(/^[0-9]*$/.test(r))return vs(r);if(r.length===2)return r.toUpperCase();if(r.length===3)return fs(r.toUpperCase())}if(typeof r=="number")return vs(r)}Te.toAlpha2=au,Te.getName=function(r,t){try{var n=or[t.toLowerCase()];return n[au(r)]}catch{return}},Te.getNames=function(r){var t=or[r.toLowerCase()];return t===void 0?{}:t},Te.getAlpha2Code=function(r,t){try{var n,a=or[t.toLowerCase()];for(n in a)if(a.hasOwnProperty(n)&&a[n].toLowerCase()===r.toLowerCase())return n;return}catch{return}},Te.getSimpleAlpha2Code=function(r,t){try{var n,a=or[t.toLowerCase()];for(n in a)if(a.hasOwnProperty(n)&&ru(a[n].toLowerCase())===ru(r.toLowerCase()))return n;return}catch{return}},Te.getAlpha2Codes=function(){return Wi},Te.getAlpha3Code=function(r,t){var n=this.getAlpha2Code(r,t);if(n)return this.toAlpha3(n)},Te.getSimpleAlpha3Code=function(r,t){var n=this.getSimpleAlpha2Code(r,t);if(n)return this.toAlpha3(n)},Te.getAlpha3Codes=function(){return $i},Te.getNumericCodes=function(){return Zr},Te.langs=function(){return Object.keys(or)},Te.isValid=function(r){if(!r)return!1;var t=r.toString().toUpperCase();return $i.hasOwnProperty(t)||Wi.hasOwnProperty(t)||Zr.hasOwnProperty(t)};const Cf={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"}},If={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"}},Tf={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"}};Nf();const Mf=({question:r,fieldState:t,setQuestionRef:n})=>{const a=Be("fields",r.presentation!=="horizontal"?"options":null),o=c=>{t.setValue(c.target.value.length!==0?c.target.value:null)},{t:l}=vn();return b.jsxs(wt,{question:r,fieldState:t,setQuestionRef:n,children:[b.jsx(vt,{question:r}),b.jsxs("div",{className:"description-and-fields",children:[b.jsx(yt,{question:r}),b.jsx("div",{className:a,id:Lf(r),children:b.jsxs("select",{value:t.value??"",onChange:o,onFocus:t.setAsActiveQuestion,disabled:t.disabled,children:[b.jsx("option",{value:"",children:l("choose_a_country")}),b.jsx(Ff,{lang:qe.language})]})})]})]})};function Nf(){Te.registerLocale(Tf),Te.registerLocale(If),Te.registerLocale(Cf)}function Lf(r){return`answer_${r.key}_input`}const Ff=B.memo(r=>b.jsx(b.Fragment,{children:Df(r.lang).map(t=>b.jsx(Bf,{option:t},t.numeric))}));function Df(r){return Object.entries(Te.getNames(r)).sort(([t,n],[a,o])=>n.localeCompare(o)).map(([t,n])=>({country:n,numeric:Te.alpha2ToNumeric(t).toString()}))}const Bf=({option:r})=>b.jsx("option",{value:r.numeric??"",children:r.country}),Pf=({question:r,fieldState:t,setQuestionRef:n})=>{const{t:a}=vn(),o=Rf(r,t.value??null),l=(c,p)=>{t.setValue(Vf(r,o.set(c,p)))};return b.jsxs(wt,{question:r,fieldState:t,setQuestionRef:n,children:[b.jsx(vt,{question:r}),b.jsxs("div",{className:"description-and-fields",children:[b.jsx(yt,{question:r}),b.jsx("div",{className:"fields",id:zf(r),children:r.units.map(c=>b.jsxs(B.Fragment,{children:[b.jsx("input",{type:"text",value:(o==null?void 0:o.get(c))??"",size:r.size,disabled:t.disabled,onChange:p=>l(c,parseInt(p.target.value)),onFocus:t.setAsActiveQuestion}),b.jsx("span",{className:"mx-1",children:a(`units.${c}`,{defaultValue:c})})]},c))})]})]})};function Rf(r,t){if(t==null)return new Map;const n=new Map;for(const a of r.units){const o=r.conversions[a]||1,l=Math.trunc(t/o);n.set(a,l),t=t%o}return n}function Vf(r,t){return[...t.values()].every(n=>n===void 0)?null:r.units.reduce((n,a)=>n+(t.get(a)||0)*(r.conversions[a]||1),0)}function zf(r){return`answer_${r.key}_input`}const su=({fieldKey:r})=>{const{questionnaire:t,response:n,setQuestionRef:a,displayOptions:o}=B.useContext(Pi),l=t.getField(r);switch(l.as){case"string":{const c=n.getFieldState(r);return c.hidden?null:b.jsx(gh,{question:l,fieldState:c,setQuestionRef:a})}case"country_select":{const c=n.getFieldState(r);return c.hidden?null:b.jsx(Mf,{question:l,fieldState:c,setQuestionRef:a})}case"scale":{const c=n.getFieldState(r);return c.hidden?null:b.jsx(fh,{question:l,fieldState:c,setQuestionRef:a})}case"radio":{const c=n.getFieldState(r);return c.hidden?null:b.jsx(wh,{question:l,fieldState:c,setQuestionRef:a})}case"select":{const c=n.getFieldState(r);return c.hidden?null:b.jsx(Eh,{question:l,fieldState:c,setQuestionRef:a})}case"date_parts":{const c=n.getFieldState(r);return c.hidden?null:b.jsx(Ch,{question:l,fieldState:c,setQuestionRef:a})}case"integer":{const c=n.getFieldState(r);return c.hidden?null:b.jsx(Th,{question:l,fieldState:c,setQuestionRef:a})}case"float":{const c=n.getFieldState(r);return c.hidden?null:b.jsx(Nh,{question:l,fieldState:c,setQuestionRef:a})}case"slider":{const c=n.getFieldState(r);return c.hidden?null:o.newLayout?b.jsx(Uh,{question:l,fieldState:c,setQuestionRef:a}):b.jsx(nf,{question:l,fieldState:c,setQuestionRef:a})}case"split_to_units":{const c=n.getFieldState(r);return c.hidden?null:b.jsx(Pf,{question:l,fieldState:c,setQuestionRef:a})}case"textarea":{const c=n.getFieldState(r);return c.hidden?null:b.jsx(pf,{question:l,fieldState:c,setQuestionRef:a})}case"check_box":{const c=n.getFieldState(r);return c.hidden?null:b.jsx(hf,{question:l,fieldState:c,setQuestionRef:a})}}throw new Error("unknown question type")};var ys=new Map,Hi=new WeakMap,ou=0,Uf=void 0;function Gf(r){return r?(Hi.has(r)||(ou+=1,Hi.set(r,ou.toString())),Hi.get(r)):"0"}function Kf(r){return Object.keys(r).sort().filter(t=>r[t]!==void 0).map(t=>`${t}_${t==="root"?Gf(r.root):r[t]}`).toString()}function Zf(r){const t=Kf(r);let n=ys.get(t);if(!n){const a=new Map;let o;const l=new IntersectionObserver(c=>{c.forEach(p=>{var f;const m=p.isIntersecting&&o.some(w=>p.intersectionRatio>=w);r.trackVisibility&&typeof p.isVisible>"u"&&(p.isVisible=m),(f=a.get(p.target))==null||f.forEach(w=>{w(m,p)})})},r);o=l.thresholds||(Array.isArray(r.threshold)?r.threshold:[r.threshold||0]),n={id:t,observer:l,elements:a},ys.set(t,n)}return n}function Wf(r,t,n={},a=Uf){if(typeof window.IntersectionObserver>"u"&&a!==void 0){const f=r.getBoundingClientRect();return t(a,{isIntersecting:a,target:r,intersectionRatio:typeof n.threshold=="number"?n.threshold:0,time:0,boundingClientRect:f,intersectionRect:f,rootBounds:f}),()=>{}}const{id:o,observer:l,elements:c}=Zf(n),p=c.get(r)||[];return c.has(r)||c.set(r,p),p.push(t),l.observe(r),function(){p.splice(p.indexOf(t),1),p.length===0&&(c.delete(r),l.unobserve(r)),c.size===0&&(l.disconnect(),ys.delete(o))}}function $f({threshold:r,delay:t,trackVisibility:n,rootMargin:a,root:o,triggerOnce:l,skip:c,initialInView:p,fallbackInView:f,onChange:m}={}){var w;const[k,S]=Er.useState(null),F=Er.useRef(m),[T,q]=Er.useState({inView:!!p,entry:void 0});F.current=m,Er.useEffect(()=>{if(c||!k)return;let z;return z=Wf(k,(Z,Y)=>{q({inView:Z,entry:Y}),F.current&&F.current(Z,Y),Y.isIntersecting&&l&&z&&(z(),z=void 0)},{root:o,rootMargin:a,threshold:r,trackVisibility:n,delay:t},f),()=>{z&&z()}},[Array.isArray(r)?r.toString():r,k,o,a,l,c,n,f,t]);const U=(w=T.entry)==null?void 0:w.target,se=Er.useRef(void 0);!k&&U&&!l&&!c&&se.current!==U&&(se.current=U,q({inView:!!p,entry:void 0}));const $=[S,T.inView,T.entry];return $.ref=$[0],$.inView=$[1],$.entry=$[2],$}const Hf=({item:r})=>{const[t,n]=B.useState(r.startOpen),[a,o]=B.useState(!1),{ref:l,inView:c}=$f({initialInView:!0,fallbackInView:!1}),{response:p}=B.useContext(Pi),f=m=>{"key"in m&&m.key!=="Enter"||(t?(o(!0),setTimeout(()=>{o(!1),n(!1)},300)):(n(!0),o(!0),setTimeout(()=>o(!1),1)))};return r.items.some(m=>m.type==="question")&&r.items.every(m=>m.type!=="question"||!p.isVisible(m.key))?null:b.jsxs("div",{className:"info-item",children:[b.jsx("div",{ref:l}),b.jsx("div",{className:Be("info-icon",{stuck:!c&&r.items.length>0}),onClick:f,onKeyDown:f,"aria-has-popup":"dialog","aria-expanded":t||r.startOpen&&c,"aria-controls":"#%{item.key}",tabIndex:r.startOpen?-1:0,children:b.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:[b.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"}),b.jsx("circle",{cx:"490",cy:"260",r:"45"}),b.jsx("line",{x1:"490",x2:"490",y1:"420",y2:"640","stroke-width":"90","stroke-linecap":"round"})]})}),t&&b.jsx("div",{id:r.key,className:Be("info-html prose",{open:t,opening:a}),children:b.jsx("div",{dangerouslySetInnerHTML:{__html:r.html}})}),r.items.map((m,w)=>b.jsx(lu,{item:m},w))]})},qf=({item:r})=>b.jsxs("div",{className:"item",style:{border:"1px red",background:"yellow"},children:["Unknown item type:",r.type]}),lu=r=>{switch(r.item.type){case"html":return b.jsx(lh,{item:r.item});case"question":return b.jsx(su,{fieldKey:r.item.key});case"info":return b.jsx(Hf,{item:r.item});default:return b.jsx(qf,{item:r.item})}},uu=({panel:r})=>b.jsxs("div",{className:"m-panel-padding",children:[b.jsx(jf,{title:r.title}),r.items.map((t,n)=>b.jsx(lu,{item:t},n))]}),jf=({title:r})=>r?b.jsx("h1",{children:r}):null,cu="buttons bg-slate-100 dark:bg-slate-700 p-panel-padding",Jf=r=>{const[t,n]=B.useState(r.panelLogic.firstPanelIndexToActivate()),a=B.useRef(null),o=r.panelLogic.previousPanelIndexToActivate(t),l=r.panelLogic.nextPanelIndexToActivate(t),c={prev:o!==null?()=>{var p;n(o),(p=a.current)==null||p.focus()}:void 0,next:l!==null&&r.displayMode!=="single_page"?()=>{var p;r.beforeNext(t)&&(n(l),(p=a.current)==null||p.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 b.jsxs(Yf,{panelLogic:r.panelLogic,panelIndex:t,navigate:c,children:[b.jsx("span",{ref:a,tabIndex:-1}),b.jsx(uu,{panel:r.panelLogic.panels[t]})]});case"single_page":return b.jsxs(B.Fragment,{children:[b.jsx("span",{ref:a,tabIndex:-1}),r.panelLogic.panels.map((p,f)=>!r.panelLogic.allQuestionsHidden(f)&&b.jsxs(B.Fragment,{children:[b.jsxs("fieldset",{className:"panel",children:[b.jsx(uu,{panel:p}),r.panelLogic.isLastPanel(f)?b.jsx(du,{firstPanel:!1,lastPanel:!0,navigate:c}):null]}),f<r.panelLogic.panels.length-1&&b.jsx("div",{className:cu})]},f))]});default:return null}},Yf=r=>b.jsxs("fieldset",{className:"panel",children:[b.jsx(Xf,{}),r.children,b.jsx(oh,{max:r.panelLogic.count(),current:r.panelIndex}),b.jsx(du,{firstPanel:r.panelLogic.isFirstPanel(r.panelIndex),lastPanel:r.panelLogic.isLastPanel(r.panelIndex),navigate:r.navigate})]}),du=r=>{const{t}=vn(),n=r.navigate.nextSavePressWillOnlyRunMinimalValidations?t("questionnaire_not_completed.save_anyway"):t("done");return b.jsxs("div",{className:cu,children:[r.navigate.nextSavePressWillOnlyRunMinimalValidations&&Qf(t),b.jsxs("div",{className:"flex justify-between",children:[b.jsx("div",{className:"next order-last",children:r.navigate.next?b.jsx(Wr,{onClick:r.navigate.next,value:t("next"),onFocus:r.navigate.onFocus,variant:"primary"}):b.jsx(Wr,{onClick:r.navigate.done,value:n,onFocus:r.navigate.onFocus,variant:"primary"})}),b.jsxs("div",{className:"prev",children:[r.navigate.prev&&b.jsx(Wr,{onClick:r.navigate.prev,value:t("previous"),onFocus:r.navigate.onFocus}),r.navigate.previousQuestionnaire&&b.jsx(Wr,{onClick:r.navigate.previousQuestionnaire,value:t("previous_questionnaire"),onFocus:r.navigate.onFocus})]}),b.jsx("div",{className:"abort text-center",children:r.navigate.abort&&b.jsx(Wr,{onClick:r.navigate.abort,value:t("abort"),onFocus:r.navigate.onFocus})})]})]})},Qf=r=>b.jsxs("div",{className:"m-panel-padding p-panel-padding border-2 rounded border-warning fg-warning-inv",children:[b.jsx("h1",{children:r("questionnaire_not_completed.heading")}),b.jsx("p",{children:r("questionnaire_not_completed.explanation")})]}),Wr=({value:r,onClick:t,onFocus:n,variant:a})=>b.jsx("button",{onClick:t,onFocus:n,className:a||"secondary",children:r}),Xf=()=>null,ln=B.createContext(r=>r),pu=({questionnaire:r,response:t,displayOptions:n,allowSkipValidation:a,onSave:o,onAbort:l,onPreviousQuestionnaire:c})=>{em(t);const[p,f]=tm(t),m=B.useRef(null);ah(t,r,m);const w=n.displayMode,k=new Map,S=new Hl(t,r),F=new rh(t,r.panels),T=z=>{const Z=r.panels[z];t.touchPanelFields(Z);const Y=t.firstNotValidQuestionInPanel(Z);if(Y){const re=k.get(Y);if(!re)throw`Could not find ref for ${r.key}.${Y}`;ws(re)}return Y===null},q=()=>{t.touchAllFields();const z=t.firstNotValidQuestion();if(p)o();else if(z){const Z=k.get(z);if(!Z)throw`Could not find ref for ${r.key}.${z}`;ws(Z),a&&t.validEnoughForForcedSave()&&f(!0)}else o()},U=z=>z?()=>{const Z=t.firstNotValidQuestion();if(!Z||t.validEnoughForForcedSave())z();else if(Z){const Y=k.get(Z);if(!Y)throw`Could not find ref for ${r.key}.${Z}`;ws(Y)}}:void 0,se=(z,Z)=>{k.set(z,Z)},$=Be({dark:n.darkMode});return b.jsx(ln.Provider,{value:S.interpolateCurlies,children:b.jsx(Pi.Provider,{value:{questionnaire:r,response:t,displayOptions:n,setQuestionRef:se},children:b.jsxs("div",{ref:m,className:$,style:jl(r.cssVars),children:[b.jsx("form",{className:"paged",onSubmit:z=>z.preventDefault(),children:b.jsx(Jf,{beforeNext:T,displayMode:w,nextSavePressWillOnlyRunMinimalValidations:p,panelLogic:F,onDone:q,onAbort:U(l),onPreviousQuestionnaire:U(c),onFocus:()=>t.setActiveQuestion(null)})}),r.footer&&b.jsx("footer",{dangerouslySetInnerHTML:{__html:r.footer}})]})})})},em=r=>{const[t,n]=B.useState(0);B.useEffect(()=>{const a=o=>n(l=>l+1);return r.onChange(a),()=>r.offChange(a)})},tm=r=>{const[t,n]=B.useState(!1);return B.useEffect(()=>{const a=(o,l)=>{t&&l==="valueChanged"&&n(!1)};return r.onChange(a),()=>r.offChange(a)}),[t,n]},ws=r=>{const t=r==null?void 0:r.current;if(!t)return;t.scrollIntoView();const n=t.querySelector('input, select, textarea, [tabindex]:not([tabindex="-1"])');n instanceof HTMLElement&&n.focus()},nm=`*,: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:500}strong{font-weight:bolder}strong em{font-weight:inherit}em.clean{font-style:inherit}strong.clean{font-weight:inherit}.underline{text-decoration:underline}.de-em{font-weight:300}.de-em em{font-weight:400}.de-em strong{font-weight:600}a{color:oklch(var(--primary));text-decoration:underline}.serif{font-family:Georgia,serif}small{font-size:.8rem}.text-center img,.text-center svg,.text-center input[type=radio]{margin-left:auto;margin-right:auto}h1,h2,h3,h4,.h1,.h2,.h3,.h4{font-weight:700}h1 em,h2 em,h3 em,h4 em,.h1 em,.h2 em,.h3 em,.h4 em{font-weight:inherit}h1 strong,h2 strong,h3 strong,h4 strong,.h1 strong,.h2 strong,.h3 strong,.h4 strong{font-weight:900}h1,h2,h3,h4,.h1,.h2,.h3,.h4{margin:1.5rem 0 1rem}h1,.h1{font-size:1.75rem;margin:1.5rem 0 2rem}h2,.h2{font-size:1.5rem}h3,.h3{font-size:1.25rem}h4,.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);--super-muted: .95 .04 266;--primary: .454 .135 254;--primary-muted: .5 .135 254;--primary-hover: .5 .16 254;--primary-inv: var(--background);--error-bar: .64 .24 27;--error-background: var(--error-bar) / .4;--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;--checkradio-padding: .75rem;--question-padding: 2rem;--question-bar-padding: 8px;--question-bar-width: 4px;--list-indent: 1.5rem;--option-gap-y: 0;--question-mb-factor: 1;--max-page-width: 75rem}@media (min-width: 800px){:host{--panel-padding: 2rem;--question-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);--super-muted: .3 0 0;--primary: .68 .16 254;--primary-hover: .5 .16 254;--primary-muted: .3 .135 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:400}input{border:1px solid oklch(var(--foreground));border-radius:var(--default-radius)}input:focus{box-shadow:0 0 0 6px oklch(var(--primary) / .2);outline:3px solid transparent;border-color:oklch(var(--primary))}input:disabled{color:oklch(var(--foreground-60));border-color:oklch(var(--foreground-60));cursor:not-allowed}input:not([type=checkbox]):not([type=radio]),textarea,select{padding:.4rem;background-color:oklch(var(--background));color:var(--foreground);caret-color:oklch(var(--primary))}input[type=checkbox],input[type=radio]{--check-color: var(--foreground);-webkit-appearance:none;-moz-appearance:none;appearance:none;display:grid;place-content:center;width:var(--checkradio-size);height:var(--checkradio-size);margin:.25rem 0}input[type=checkbox]:before,input[type=radio]:before{content:"";width:.65rem;height:.65rem;transform:scale(0);transition:125ms transform ease-in-out;box-shadow:inset 1em 1em oklch(var(--check-color));background-color:CanvasText}input[type=checkbox]:checked:before,input[type=radio]:checked:before{transform:scale(1)}input[type=checkbox]{border-radius:var(--default-radius)}input[type=checkbox]:before{clip-path:polygon(14% 44%,0 65%,50% 100%,100% 16%,80% 0%,43% 62%)}input[type=radio]{border-radius:50%}input[type=radio]:before{border-radius:50%}.active input[type=checkbox]:not(:disabled),.active input[type=radio]:not(:disabled){--check-color: var(--primary)}*,: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 ol.list-decimal{list-style-type:decimal}.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.4rem;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}.float-right{float:right}.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:300}.font-medium{font-weight:500}.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.question{box-shadow:calc(-1 * var(--question-bar-padding)) 0 0 0 oklch(var(--page)),calc(0px - var(--question-bar-width) - var(--question-bar-padding)) 0 0 0 oklch(var(--super-muted))}.item.active,.item:has(.active){box-shadow:calc(-1 * var(--question-bar-padding)) 0 0 0 oklch(var(--page)),calc(0px - var(--question-bar-width) - var(--question-bar-padding)) 0 0 0 oklch(var(--primary))}.item.errors{box-shadow:calc(-1 * var(--question-bar-padding)) 0 0 0 oklch(var(--page)),calc(0px - var(--question-bar-width) - var(--question-bar-padding)) 0 0 0 oklch(var(--error-background))}.item.errors.active{box-shadow:calc(-1 * var(--question-bar-padding)) 0 0 0 oklch(var(--page)),calc(0px - var(--question-bar-width) - var(--question-bar-padding)) 0 0 0 oklch(var(--error-bar))}.item .main{font-weight:700}.item .main em{font-weight:inherit}.item .main strong{font-weight:900}.item .inner-title{margin:1rem 0 .5rem;font-weight:600}.item .inner-title em{font-weight:700}.item .inner-title strong{font-weight:800}.item .description-and-fields>.description{font-weight:300}.item .description-and-fields>.description em{font-weight:400}.item .description-and-fields>.description strong{font-weight:600}.item .description-and-fields>.description{margin-bottom:.5rem}.item .description-and-fields>.description .instruction{font-weight:400}button{border-radius:.375rem;padding:.5rem 1rem;font-weight:600}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:var(--checkradio-padding)}.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(--question-bar-padding) + var(--checkradio-size)/2 + 2px)}.item,.context-description{position:relative;margin-bottom:calc(var(--question-padding) * var(--question-mb-factor))}.item:has(+.indent.question){margin-bottom:0;padding-bottom:calc(var(--question-padding) * var(--question-mb-factor) / 2)}.question.indent{padding-left:calc(var(--checkradio-size) + var(--checkradio-padding))}.question.indent:before{content:"";position:absolute;top:10px;left:0;margin-left:calc(0px - var(--question-bar-padding));width:calc(var(--checkradio-size) + var(--question-bar-padding));height:var(--question-bar-width);background-color:oklch(var(--super-muted))}.question.indent.active:before{background-color:oklch(var(--primary))}.subquestions .item{margin-bottom:0}.item:not(.radio):not(.check_box) .description-and-fields{padding-bottom:.5em}.item.errors .error{background:oklch(var(--error-background));outline:1px solid oklch(var(--error-bar));border-radius:var(--default-radius);margin:.25rem;padding:.25rem}footer{font-weight:300}footer em{font-weight:400}footer strong{font-weight:600}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))}
|
|
44
|
+
`,rm=`: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}
|
|
45
|
+
`,im=r=>{var w;const t=new Qa(r.questionnaireJson),[n,a]=B.useState(()=>new is(t,Wl(r.responseJson,t))),o=B.useRef(null),l=r.newLayout??t.layoutVersion==="v2",c=r.darkMode===void 0?(w=window.matchMedia("(prefers-color-scheme: dark)"))==null?void 0:w.matches:r.darkMode,p={displayMode:r.displayMode,darkMode:c,newLayout:l},f=()=>{o.current&&removeEventListener("beforeunload",o.current),r.onSave(n)},m=k=>k?()=>{o.current&&removeEventListener("beforeunload",o.current),k(n)}:void 0;return qe.changeLanguage(r.questionnaireJson.language),B.useEffect(()=>{if(r.unsavedResponseWarning)return o.current=k=>{n.valueHasChanged()&&(k.returnValue=r.unsavedResponseWarning)},addEventListener("beforeunload",o.current),()=>{o.current&&removeEventListener("beforeunload",o.current)}},[r.unsavedResponseWarning]),b.jsxs(Wd.qubyRoot,{children:[b.jsx("style",{children:l?nm:rm}),b.jsx(pu,{questionnaire:n.questionnaire,response:n,displayOptions:p,onSave:f,onAbort:m(r.onAbort),onPreviousQuestionnaire:m(r.onPreviousQuestionnaire),allowSkipValidation:r.allowSkipValidation})]})};K.AnswerGroupMaximumValidator=Dl,K.AnswerGroupMinimumValidator=Fl,K.AnswerPage=pu,K.BaseValidator=pt,K.CurliesInterpolator=Hl,K.DatePartsAnswerSchema=zl,K.DatePartsComponentSchema=ml,K.FlagsSchema=Ul,K.ICalcBooleanOpsSchema=Ya,K.ICalcBooleanReducerOpsSchema=ja,K.ICalcComparerOpsSchema=Ja,K.InterpolateCurliesContext=ln,K.MaximumCheckedAllowedValidator=Ll,K.MaximumDateValidator=Ml,K.MaximumValidator=Il,K.MinimumCheckedRequiredValidator=Nl,K.MinimumDateValidator=Tl,K.MinimumValidator=Cl,K.MultiSelectAnswerSchema=Vl,K.NumberAnswerSchema=Pl,K.Quby=im,K.QubyContext=Pi,K.Questionnaire=Qa,K.RegexpValidator=Bl,K.RequiresAnswerValidator=Sl,K.Response=is,K.ResponseParseError=as,K.StringAnswerSchema=Rl,K.TextvarsSchema=Gl,K.ValidDateValidator=El,K.ValidFloatValidator=Ol,K.ValidIntegerValidator=Al,K.buildValidator=xl,K.convertDefaultAndValidateResponseJson=Wl,K.ignorableErrors=_l,Object.defineProperty(K,Symbol.toStringTag,{value:"Module"})});
|