@kontur.candy/tools 2.244.0 → 2.246.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (28) hide show
  1. package/distr/Common/ArrayUtils.js +4 -0
  2. package/distr/Common/ArrayUtils.js.map +1 -1
  3. package/distr/Common/CandyApiClient/CandyApiClient.js +9 -2
  4. package/distr/Common/CandyApiClient/CandyApiClient.js.map +1 -1
  5. package/distr/Common/CandyApiClient/FakeCandyApiClient.js +3 -0
  6. package/distr/Common/CandyApiClient/FakeCandyApiClient.js.map +1 -1
  7. package/distr/Common/CandyApiClient/ICandyApiClient.js.map +1 -1
  8. package/distr/Common/CandyApiClient/Types/Attachments/Attacments.js +1 -0
  9. package/distr/Common/CandyApiClient/Types/Attachments/Attacments.js.map +1 -1
  10. package/distr/Common/KCLangRuntimeUtils.js +2 -2
  11. package/distr/Common/KCLangRuntimeUtils.js.map +1 -1
  12. package/distr/Common/ModelPath/ModelPathValidator.js +44 -0
  13. package/distr/Common/ModelPath/ModelPathValidator.js.map +1 -0
  14. package/distr/Common/NdsPlusApiClient/INdsPlusApiClient.js.map +1 -1
  15. package/distr/Common/NdsPlusApiClient/NdsPlusApiClient.js +10 -19
  16. package/distr/Common/NdsPlusApiClient/NdsPlusApiClient.js.map +1 -1
  17. package/distr/Common/TypingUtils.js +2 -3
  18. package/distr/Common/TypingUtils.js.map +1 -1
  19. package/distr/Tools/src/BuildTasks/ReadFormSource.js +2 -1
  20. package/distr/Tools/src/BuildTasks/ReadFormSource.js.map +1 -1
  21. package/distr/Tools/src/LocalServerFrontEndDist/enhancedClient.js +1 -1
  22. package/distr/Tools/src/LocalServerFrontEndDist/index.js +1 -1
  23. package/distr/Tools/src/LocalServerFrontEndDist/index.js.map +1 -1
  24. package/distr/Tools/src/StaticFilesForProductionResourcesDir/client.js +9 -8
  25. package/distr/Tools/src/StaticFilesForProductionResourcesDir/client.js.map +1 -1
  26. package/distr/Tools/src/StaticFilesForProductionResourcesDir/client.min.js +9 -8
  27. package/distr/Tools/src/StaticFilesForProductionResourcesDir/client.min.js.map +1 -1
  28. package/package.json +3 -2
@@ -1,2 +1,2 @@
1
1
  /*! For license information please see enhancedClient.js.LICENSE.txt */
2
- !function(){var e={996:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=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(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.isInstanceOf=t.isBrowser=t.setWindow=t.globalObject=void 0,t.globalObject="object"==typeof window&&window||"object"==typeof globalThis&&globalThis||"object"==typeof n.g&&n.g||Function("return this")(),t.setWindow=function(e){return t.globalObject=e},t.isBrowser=function(e){return"undefined"!=typeof window&&e===t.globalObject},t.isInstanceOf=function(e,t){return"function"==typeof t&&e instanceof t},o(n(377),t)},377:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},876:function(e,t,n){"use strict";var r=n(579);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var l=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 l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},658:function(e,t,n){e.exports=n(876)()},579:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},728:function(e){"use strict";var t=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),n=[[{color:"0, 0, 0",class:"ansi-black"},{color:"187, 0, 0",class:"ansi-red"},{color:"0, 187, 0",class:"ansi-green"},{color:"187, 187, 0",class:"ansi-yellow"},{color:"0, 0, 187",class:"ansi-blue"},{color:"187, 0, 187",class:"ansi-magenta"},{color:"0, 187, 187",class:"ansi-cyan"},{color:"255,255,255",class:"ansi-white"}],[{color:"85, 85, 85",class:"ansi-bright-black"},{color:"255, 85, 85",class:"ansi-bright-red"},{color:"0, 255, 0",class:"ansi-bright-green"},{color:"255, 255, 85",class:"ansi-bright-yellow"},{color:"85, 85, 255",class:"ansi-bright-blue"},{color:"255, 85, 255",class:"ansi-bright-magenta"},{color:"85, 255, 255",class:"ansi-bright-cyan"},{color:"255, 255, 255",class:"ansi-bright-white"}]],r=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.fg=this.bg=this.fg_truecolor=this.bg_truecolor=null,this.bright=0}return t(e,null,[{key:"escapeForHtml",value:function(t){return(new e).escapeForHtml(t)}},{key:"linkify",value:function(t){return(new e).linkify(t)}},{key:"ansiToHtml",value:function(t,n){return(new e).ansiToHtml(t,n)}},{key:"ansiToJson",value:function(t,n){return(new e).ansiToJson(t,n)}},{key:"ansiToText",value:function(t){return(new e).ansiToText(t)}}]),t(e,[{key:"setupPalette",value:function(){this.PALETTE_COLORS=[];for(var e=0;e<2;++e)for(var t=0;t<8;++t)this.PALETTE_COLORS.push(n[e][t].color);for(var r=[0,95,135,175,215,255],o=function(e,t,n){return r[e]+", "+r[t]+", "+r[n]},i=0;i<6;++i)for(var a=0;a<6;++a)for(var l=0;l<6;++l)this.PALETTE_COLORS.push(o(i,a,l));for(var u=8,s=0;s<24;++s,u+=10)this.PALETTE_COLORS.push(o(u,u,u))}},{key:"escapeForHtml",value:function(e){return e.replace(/[&<>]/gm,(function(e){return"&"==e?"&amp;":"<"==e?"&lt;":">"==e?"&gt;":""}))}},{key:"linkify",value:function(e){return e.replace(/(https?:\/\/[^\s]+)/gm,(function(e){return'<a href="'+e+'">'+e+"</a>"}))}},{key:"ansiToHtml",value:function(e,t){return this.process(e,t,!0)}},{key:"ansiToJson",value:function(e,t){return(t=t||{}).json=!0,t.clearLine=!1,this.process(e,t,!0)}},{key:"ansiToText",value:function(e){return this.process(e,{},!1)}},{key:"process",value:function(e,t,n){var r=this,o=e.split(/\033\[/),i=o.shift();null==t&&(t={}),t.clearLine=/\r/.test(e);var a=o.map((function(e){return r.processChunk(e,t,n)}));if(t&&t.json){var l=this.processChunkJson("");return l.content=i,l.clearLine=t.clearLine,a.unshift(l),t.remove_empty&&(a=a.filter((function(e){return!e.isEmpty()}))),a}return a.unshift(i),a.join("")}},{key:"processChunkJson",value:function(e,t,r){var o=(t=void 0===t?{}:t).use_classes=void 0!==t.use_classes&&t.use_classes,i=t.key=o?"class":"color",a={content:e,fg:null,bg:null,fg_truecolor:null,bg_truecolor:null,clearLine:t.clearLine,decoration:null,was_processed:!1,isEmpty:function(){return!a.content}},l=e.match(/^([!\x3c-\x3f]*)([\d;]*)([\x20-\x2c]*[\x40-\x7e])([\s\S]*)/m);if(!l)return a;a.content=l[4];var u=l[2].split(";");if(""!==l[1]||"m"!==l[3])return a;if(!r)return a;var s=this;for(s.decoration=null;u.length>0;){var c=u.shift(),f=parseInt(c);if(isNaN(f)||0===f)s.fg=s.bg=s.decoration=null;else if(1===f)s.decoration="bold";else if(2===f)s.decoration="dim";else if(3==f)s.decoration="italic";else if(4==f)s.decoration="underline";else if(5==f)s.decoration="blink";else if(7===f)s.decoration="reverse";else if(8===f)s.decoration="hidden";else if(9===f)s.decoration="strikethrough";else if(39==f)s.fg=null;else if(49==f)s.bg=null;else if(f>=30&&f<38)s.fg=n[0][f%10][i];else if(f>=90&&f<98)s.fg=n[1][f%10][i];else if(f>=40&&f<48)s.bg=n[0][f%10][i];else if(f>=100&&f<108)s.bg=n[1][f%10][i];else if(38===f||48===f){var d=38===f;if(u.length>=1){var p=u.shift();if("5"===p&&u.length>=1){var h=parseInt(u.shift());if(h>=0&&h<=255)if(o){var g=h>=16?"ansi-palette-"+h:n[h>7?1:0][h%8].class;d?s.fg=g:s.bg=g}else this.PALETTE_COLORS||s.setupPalette(),d?s.fg=this.PALETTE_COLORS[h]:s.bg=this.PALETTE_COLORS[h]}else if("2"===p&&u.length>=3){var y=parseInt(u.shift()),m=parseInt(u.shift()),b=parseInt(u.shift());if(y>=0&&y<=255&&m>=0&&m<=255&&b>=0&&b<=255){var v=y+", "+m+", "+b;o?d?(s.fg="ansi-truecolor",s.fg_truecolor=v):(s.bg="ansi-truecolor",s.bg_truecolor=v):d?s.fg=v:s.bg=v}}}}}return null===s.fg&&null===s.bg&&null===s.decoration||(a.fg=s.fg,a.bg=s.bg,a.fg_truecolor=s.fg_truecolor,a.bg_truecolor=s.bg_truecolor,a.decoration=s.decoration,a.was_processed=!0),a}},{key:"processChunk",value:function(e,t,n){var r=this;t=t||{};var o=this.processChunkJson(e,t,n);if(t.json)return o;if(o.isEmpty())return"";if(!o.was_processed)return o.content;var i=t.use_classes,a=[],l=[],u={},s=function(e){var t=[],n=void 0;for(n in e)e.hasOwnProperty(n)&&t.push("data-"+n+'="'+r.escapeForHtml(e[n])+'"');return t.length>0?" "+t.join(" "):""};return o.fg&&(i?(l.push(o.fg+"-fg"),null!==o.fg_truecolor&&(u["ansi-truecolor-fg"]=o.fg_truecolor,o.fg_truecolor=null)):a.push("color:rgb("+o.fg+")")),o.bg&&(i?(l.push(o.bg+"-bg"),null!==o.bg_truecolor&&(u["ansi-truecolor-bg"]=o.bg_truecolor,o.bg_truecolor=null)):a.push("background-color:rgb("+o.bg+")")),o.decoration&&(i?l.push("ansi-"+o.decoration):"bold"===o.decoration?a.push("font-weight:bold"):"dim"===o.decoration?a.push("opacity:0.5"):"italic"===o.decoration?a.push("font-style:italic"):"reverse"===o.decoration?a.push("filter:invert(100%)"):"hidden"===o.decoration?a.push("visibility:hidden"):"strikethrough"===o.decoration?a.push("text-decoration:line-through"):a.push("text-decoration:"+o.decoration)),i?'<span class="'+l.join(" ")+'"'+s(u)+">"+o.content+"</span>":'<span style="'+a.join(";")+'"'+s(u)+">"+o.content+"</span>"}}]),e}();e.exports=r},417:function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t};Object.defineProperty(t,"__esModule",{value:!0});var a=o(n(728)),l=n(3),u=i(n(540));function s(e,t,n,o){var i,a,l=t?null:function(e){var t={};return e.bg&&(t.backgroundColor="rgb(".concat(e.bg,")")),e.fg&&(t.color="rgb(".concat(e.fg,")")),t}(n),s=t?function(e){var t="";return e.bg&&(t+="".concat(e.bg,"-bg ")),e.fg&&(t+="".concat(e.fg,"-fg ")),e.decoration&&(t+="ansi-".concat(e.decoration," ")),""===t?null:t=t.substring(0,t.length-1)}(n):null;if(!e)return u.createElement("span",{style:l,key:o,className:s},n.content);for(var c,f=[],d=/(\s|^)(https?:\/\/(?:www\.|(?!www))[^\s.]+\.[^\s]{2,}|www\.[^\s]+\.[^\s]{2,})/g,p=0;null!==(c=d.exec(n.content));){var h=(a=3,function(e){if(Array.isArray(e))return e}(i=c)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,l=[],u=!0,s=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;u=!1}else for(;!(u=(r=i.call(n)).done)&&(l.push(r.value),l.length!==t);u=!0);}catch(e){s=!0,o=e}finally{try{if(!u&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(s)throw o}}return l}}(i,a)||function(e,t){if(e){if("string"==typeof e)return r(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}(i,a)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),g=h[1],y=h[2],m=c.index+g.length;m>p&&f.push(n.content.substring(p,m));var b=y.startsWith("www.")?"http://".concat(y):y;f.push(u.createElement("a",{key:p,href:b,target:"_blank"},"".concat(y))),p=d.lastIndex}return p<n.content.length&&f.push(n.content.substring(p)),u.createElement("span",{style:l,key:o,className:s},f)}t.default=function(e){var t=e.className,n=e.useClasses,r=e.children,o=e.linkify;return u.createElement("code",{className:t},function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e=l.escapeCarriageReturn(function(e){var t=e;do{t=(e=t).replace(/[^\n]\x08/gm,"")}while(t.length<e.length);return e}(e)),a.default.ansiToJson(e,{json:!0,remove_empty:!0,use_classes:t})}(null!=r?r:"",null!=n&&n).map(s.bind(null,null!=o&&o,null!=n&&n)))}},671:function(e,t,n){"use strict";var r=n(354),o=n.n(r),i=n(314),a=n.n(i)()(o());a.push([e.id,"body {\n margin: 0;\n}\n.FormBuildingError-root-TV0 {\n font-family: Segoe UI, Arial, sans-serif;\n font-size: 14px;\n color: #333333;\n line-height: 20px;\n height: 100vh;\n width: 100vw;\n margin: 24px;\n padding: 0;\n box-sizing: border-box;\n}\n.FormBuildingError-error-rSH {\n width: 90%;\n box-sizing: border-box;\n padding: 12px;\n border: 1px solid #aaa;\n font-family: Consolas, monospace;\n font-size: 12px;\n}\n","",{version:3,sources:["webpack://./src/Components/FormBuildingError/FormBuildingError.less"],names:[],mappings:"AAAA;EACI,SAAA;AACJ;AAEA;EACI,wCAAA;EAIA,eAAA;EACA,cAAA;EACA,iBAAA;EAEA,aAAA;EACA,YAAA;EACA,YAAA;EACA,UAAA;EACA,sBAAA;AAJJ;AAOA;EACI,UAAA;EACA,sBAAA;EACA,aAAA;EACA,sBAAA;EACA,gCAAA;EACA,eAAA;AALJ",sourcesContent:["body {\n margin: 0;\n}\n\n.root {\n font-family:\n Segoe UI,\n Arial,\n sans-serif;\n font-size: 14px;\n color: #333333;\n line-height: 20px;\n\n height: 100vh;\n width: 100vw;\n margin: 24px;\n padding: 0;\n box-sizing: border-box;\n}\n\n.error {\n width: 90%;\n box-sizing: border-box;\n padding: 12px;\n border: 1px solid #aaa;\n font-family: Consolas, monospace;\n font-size: 12px;\n}\n"],sourceRoot:""}]),a.locals={root:"FormBuildingError-root-TV0",error:"FormBuildingError-error-rSH"},t.A=a},943:function(e,t,n){"use strict";var r=n(354),o=n.n(r),i=n(314),a=n.n(i)()(o());a.push([e.id,"body {\n margin: 0;\n}\n.FormBuildingProgress-root-WX4 {\n font-family: Segoe UI, Arial, sans-serif;\n font-size: 14px;\n color: #333333;\n line-height: 20px;\n height: 100vh;\n width: 100vw;\n margin: 0;\n padding: 0;\n box-sizing: border-box;\n}\n.FormBuildingProgress-spinner-container-FRG {\n margin: 0 auto;\n width: 200px;\n padding-top: 20vh;\n}\n.FormBuildingProgress-logs-container-SmM {\n width: 90%;\n overflow: scroll;\n margin: 20px auto 0 auto;\n height: 60vh;\n border: 1px solid #aaa;\n padding: 12px;\n}\n.FormBuildingProgress-logs-container-SmM pre {\n font-family: Consolas, monospace;\n font-size: 12px;\n}\n","",{version:3,sources:["webpack://./src/Components/FormBuildingProgress/FormBuildingProgress.less"],names:[],mappings:"AAAA;EACI,SAAA;AACJ;AAEA;EACI,wCAAA;EAIA,eAAA;EACA,cAAA;EACA,iBAAA;EAEA,aAAA;EACA,YAAA;EACA,SAAA;EACA,UAAA;EACA,sBAAA;AAJJ;AAOA;EACI,cAAA;EACA,YAAA;EACA,iBAAA;AALJ;AAQA;EACI,UAAA;EACA,gBAAA;EACA,wBAAA;EACA,YAAA;EACA,sBAAA;EACA,aAAA;AANJ;AAAA;EASQ,gCAAA;EACA,eAAA;AANR",sourcesContent:["body {\n margin: 0;\n}\n\n.root {\n font-family:\n Segoe UI,\n Arial,\n sans-serif;\n font-size: 14px;\n color: #333333;\n line-height: 20px;\n\n height: 100vh;\n width: 100vw;\n margin: 0;\n padding: 0;\n box-sizing: border-box;\n}\n\n.spinner-container {\n margin: 0 auto;\n width: 200px;\n padding-top: 20vh;\n}\n\n.logs-container {\n width: 90%;\n overflow: scroll;\n margin: 20px auto 0 auto;\n height: 60vh;\n border: 1px solid #aaa;\n padding: 12px;\n\n pre {\n font-family: Consolas, monospace;\n font-size: 12px;\n }\n}\n"],sourceRoot:""}]),a.locals={root:"FormBuildingProgress-root-WX4","spinner-container":"FormBuildingProgress-spinner-container-FRG","logs-container":"FormBuildingProgress-logs-container-SmM"},t.A=a},919:function(e,t,n){"use strict";var r=n(354),o=n.n(r),i=n(314),a=n.n(i)()(o());a.push([e.id,'.RandomTipsAndTricks-container-Ogr {\n display: flex;\n margin: 24px auto;\n width: 600px;\n padding: 20px;\n border: 10px solid transparent;\n border-image: 10 repeating-linear-gradient(45deg, #a7cecc, #a7cecc 10px, transparent 10px, transparent 20px, #f8463f 20px, #f8463f 30px, transparent 30px, transparent 40px);\n}\n.RandomTipsAndTricks-text-block-CEC {\n font: italic 1.6em "Fira Sans", serif;\n margin: auto;\n width: 400px;\n}\n',"",{version:3,sources:["webpack://./src/Components/RandomTipsAndTricks/RandomTipsAndTricks.less"],names:[],mappings:"AAAA;EACI,aAAA;EACA,iBAAA;EACA,YAAA;EACA,aAAA;EACA,8BAAA;EACA,4KAAA;AACJ;AAaA;EACI,qCAAA;EAGA,YAAA;EACA,YAAA;AAbJ",sourcesContent:['.container {\n display: flex;\n margin: 24px auto;\n width: 600px;\n padding: 20px;\n border: 10px solid transparent;\n border-image: 10\n repeating-linear-gradient(\n 45deg,\n #a7cecc,\n #a7cecc 10px,\n transparent 10px,\n transparent 20px,\n #f8463f 20px,\n #f8463f 30px,\n transparent 30px,\n transparent 40px\n );\n}\n\n.text-block {\n font:\n italic 1.6em "Fira Sans",\n serif;\n margin: auto;\n width: 400px;\n}\n'],sourceRoot:""}]),a.locals={container:"RandomTipsAndTricks-container-Ogr","text-block":"RandomTipsAndTricks-text-block-CEC"},t.A=a},314:function(e){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",r=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,r,o,i){"string"==typeof e&&(e=[[null,e,void 0]]);var a={};if(r)for(var l=0;l<this.length;l++){var u=this[l][0];null!=u&&(a[u]=!0)}for(var s=0;s<e.length;s++){var c=[].concat(e[s]);r&&a[c[0]]||(void 0!==i&&(void 0===c[5]||(c[1]="@layer".concat(c[5].length>0?" ".concat(c[5]):""," {").concat(c[1],"}")),c[5]=i),n&&(c[2]?(c[1]="@media ".concat(c[2]," {").concat(c[1],"}"),c[2]=n):c[2]=n),o&&(c[4]?(c[1]="@supports (".concat(c[4],") {").concat(c[1],"}"),c[4]=o):c[4]="".concat(o)),t.push(c))}},t}},354:function(e){"use strict";e.exports=function(e){var t=e[1],n=e[3];if(!n)return t;if("function"==typeof btoa){var r=btoa(unescape(encodeURIComponent(JSON.stringify(n)))),o="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(r),i="/*# ".concat(o," */"),a=n.sources.map((function(e){return"/*# sourceURL=".concat(n.sourceRoot||"").concat(e," */")}));return[t].concat(a).concat([i]).join("\n")}return[t].join("\n")}},3:function(e){function t(e){if(!e)return"";if(!/\r/.test(e))return e;for(e=e.replace(/\r+\n/gm,"\n");/\r[^$]/.test(e);){var t=/^(.*)\r+/m.exec(e)[1],n=/\r+(.*)$/m.exec(e)[1];n+=t.slice(n.length,t.length),e=e.replace(/\r+.*$/m,"\r").replace(/^.*\r/m,n)}return e}function n(e){for(var t=0,n=0;n<e.length;n++)e[t].length<=e[n].length&&(t=n);return t}function r(e){if(!/\r/.test(e))return e;for(var t=e.split("\r"),r=[];t.length>0;){var o=n(t);r.push(t[o]),t=t.slice(o+1)}return r.join("\r")}e.exports=t,e.exports.escapeCarriageReturn=t,e.exports.escapeCarriageReturnSafe=function(e){if(!e)return"";if(!/\r/.test(e))return e;if(!/\n/.test(e))return r(e);var n=(e=e.replace(/\r+\n/gm,"\n")).lastIndexOf("\n");return t(e.slice(0,n))+"\n"+r(e.slice(n+1))}},847:function(e){"use strict";var t=Object.prototype.hasOwnProperty,n="~";function r(){}function o(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function i(e,t,r,i,a){if("function"!=typeof r)throw new TypeError("The listener must be a function");var l=new o(r,i||e,a),u=n?n+t:t;return e._events[u]?e._events[u].fn?e._events[u]=[e._events[u],l]:e._events[u].push(l):(e._events[u]=l,e._eventsCount++),e}function a(e,t){0==--e._eventsCount?e._events=new r:delete e._events[t]}function l(){this._events=new r,this._eventsCount=0}Object.create&&(r.prototype=Object.create(null),(new r).__proto__||(n=!1)),l.prototype.eventNames=function(){var e,r,o=[];if(0===this._eventsCount)return o;for(r in e=this._events)t.call(e,r)&&o.push(n?r.slice(1):r);return Object.getOwnPropertySymbols?o.concat(Object.getOwnPropertySymbols(e)):o},l.prototype.listeners=function(e){var t=n?n+e:e,r=this._events[t];if(!r)return[];if(r.fn)return[r.fn];for(var o=0,i=r.length,a=new Array(i);o<i;o++)a[o]=r[o].fn;return a},l.prototype.listenerCount=function(e){var t=n?n+e:e,r=this._events[t];return r?r.fn?1:r.length:0},l.prototype.emit=function(e,t,r,o,i,a){var l=n?n+e:e;if(!this._events[l])return!1;var u,s,c=this._events[l],f=arguments.length;if(c.fn){switch(c.once&&this.removeListener(e,c.fn,void 0,!0),f){case 1:return c.fn.call(c.context),!0;case 2:return c.fn.call(c.context,t),!0;case 3:return c.fn.call(c.context,t,r),!0;case 4:return c.fn.call(c.context,t,r,o),!0;case 5:return c.fn.call(c.context,t,r,o,i),!0;case 6:return c.fn.call(c.context,t,r,o,i,a),!0}for(s=1,u=new Array(f-1);s<f;s++)u[s-1]=arguments[s];c.fn.apply(c.context,u)}else{var d,p=c.length;for(s=0;s<p;s++)switch(c[s].once&&this.removeListener(e,c[s].fn,void 0,!0),f){case 1:c[s].fn.call(c[s].context);break;case 2:c[s].fn.call(c[s].context,t);break;case 3:c[s].fn.call(c[s].context,t,r);break;case 4:c[s].fn.call(c[s].context,t,r,o);break;default:if(!u)for(d=1,u=new Array(f-1);d<f;d++)u[d-1]=arguments[d];c[s].fn.apply(c[s].context,u)}}return!0},l.prototype.on=function(e,t,n){return i(this,e,t,n,!1)},l.prototype.once=function(e,t,n){return i(this,e,t,n,!0)},l.prototype.removeListener=function(e,t,r,o){var i=n?n+e:e;if(!this._events[i])return this;if(!t)return a(this,i),this;var l=this._events[i];if(l.fn)l.fn!==t||o&&!l.once||r&&l.context!==r||a(this,i);else{for(var u=0,s=[],c=l.length;u<c;u++)(l[u].fn!==t||o&&!l[u].once||r&&l[u].context!==r)&&s.push(l[u]);s.length?this._events[i]=1===s.length?s[0]:s:a(this,i)}return this},l.prototype.removeAllListeners=function(e){var t;return e?(t=n?n+e:e,this._events[t]&&a(this,t)):(this._events=new r,this._eventsCount=0),this},l.prototype.off=l.prototype.removeListener,l.prototype.addListener=l.prototype.on,l.prefixed=n,l.EventEmitter=l,e.exports=l},228:function(e){"use strict";var t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,o){for(var i,a,l=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),u=1;u<arguments.length;u++){for(var s in i=Object(arguments[u]))n.call(i,s)&&(l[s]=i[s]);if(t){a=t(i);for(var c=0;c<a.length;c++)r.call(i,a[c])&&(l[a[c]]=i[a[c]])}}return l}},606:function(e){var t,n,r=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function a(e){if(t===setTimeout)return setTimeout(e,0);if((t===o||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:o}catch(e){t=o}try{n="function"==typeof clearTimeout?clearTimeout:i}catch(e){n=i}}();var l,u=[],s=!1,c=-1;function f(){s&&l&&(s=!1,l.length?u=l.concat(u):c=-1,u.length&&d())}function d(){if(!s){var e=a(f);s=!0;for(var t=u.length;t;){for(l=u,u=[];++c<t;)l&&l[c].run();c=-1,t=u.length}l=null,s=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===i||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{return n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function p(e,t){this.fun=e,this.array=t}function h(){}r.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];u.push(new p(e,t)),1!==u.length||s||a(d)},p.prototype.run=function(){this.fun.apply(null,this.array)},r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={},r.on=h,r.addListener=h,r.once=h,r.off=h,r.removeListener=h,r.removeAllListeners=h,r.emit=h,r.prependListener=h,r.prependOnceListener=h,r.listeners=function(e){return[]},r.binding=function(e){throw new Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(e){throw new Error("process.chdir is not supported")},r.umask=function(){return 0}},551:function(e,t,n){"use strict";var r=n(540),o=n(228),i=n(982);function a(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!r)throw Error(a(227));var l=new Set,u={};function s(e,t){c(e,t),c(e+"Capture",t)}function c(e,t){for(u[e]=t,e=0;e<t.length;e++)l.add(t[e])}var f=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),d=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,p=Object.prototype.hasOwnProperty,h={},g={};function y(e,t,n,r,o,i,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=a}var m={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){m[e]=new y(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];m[t]=new y(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){m[e]=new y(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){m[e]=new y(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){m[e]=new y(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){m[e]=new y(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){m[e]=new y(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){m[e]=new y(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){m[e]=new y(e,5,!1,e.toLowerCase(),null,!1,!1)}));var b=/[\-:]([a-z])/g;function v(e){return e[1].toUpperCase()}function k(e,t,n,r){var o=m.hasOwnProperty(t)?m[t]:null;(null!==o?0===o.type:!r&&2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1]))||(function(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,o,r)&&(n=null),r||null===o?function(e){return!!p.call(g,e)||!p.call(h,e)&&(d.test(e)?g[e]=!0:(h[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=null===n?3!==o.type&&"":n:(t=o.attributeName,r=o.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(o=o.type)||4===o&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(b,v);m[t]=new y(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(b,v);m[t]=new y(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(b,v);m[t]=new y(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){m[e]=new y(e,1,!1,e.toLowerCase(),null,!1,!1)})),m.xlinkHref=new y("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){m[e]=new y(e,1,!1,e.toLowerCase(),null,!0,!0)}));var w=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,x=60103,S=60106,C=60107,P=60108,B=60114,L=60109,E=60110,A=60112,_=60113,T=60120,O=60115,I=60116,M=60121,H=60128,F=60129,D=60130,R=60131;if("function"==typeof Symbol&&Symbol.for){var z=Symbol.for;x=z("react.element"),S=z("react.portal"),C=z("react.fragment"),P=z("react.strict_mode"),B=z("react.profiler"),L=z("react.provider"),E=z("react.context"),A=z("react.forward_ref"),_=z("react.suspense"),T=z("react.suspense_list"),O=z("react.memo"),I=z("react.lazy"),M=z("react.block"),z("react.scope"),H=z("react.opaque.id"),F=z("react.debug_trace_mode"),D=z("react.offscreen"),R=z("react.legacy_hidden")}var N,j="function"==typeof Symbol&&Symbol.iterator;function U(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=j&&e[j]||e["@@iterator"])?e:null}function W(e){if(void 0===N)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);N=t&&t[1]||""}return"\n"+N+e}var Y=!1;function X(e,t){if(!e||Y)return"";Y=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(e){var r=e}Reflect.construct(e,[],t)}else{try{t.call()}catch(e){r=e}e.call(t.prototype)}else{try{throw Error()}catch(e){r=e}e()}}catch(e){if(e&&r&&"string"==typeof e.stack){for(var o=e.stack.split("\n"),i=r.stack.split("\n"),a=o.length-1,l=i.length-1;1<=a&&0<=l&&o[a]!==i[l];)l--;for(;1<=a&&0<=l;a--,l--)if(o[a]!==i[l]){if(1!==a||1!==l)do{if(a--,0>--l||o[a]!==i[l])return"\n"+o[a].replace(" at new "," at ")}while(1<=a&&0<=l);break}}}finally{Y=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?W(e):""}function $(e){switch(e.tag){case 5:return W(e.type);case 16:return W("Lazy");case 13:return W("Suspense");case 19:return W("SuspenseList");case 0:case 2:case 15:return X(e.type,!1);case 11:return X(e.type.render,!1);case 22:return X(e.type._render,!1);case 1:return X(e.type,!0);default:return""}}function G(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case C:return"Fragment";case S:return"Portal";case B:return"Profiler";case P:return"StrictMode";case _:return"Suspense";case T:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case E:return(e.displayName||"Context")+".Consumer";case L:return(e._context.displayName||"Context")+".Provider";case A:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case O:return G(e.type);case M:return G(e._render);case I:t=e._payload,e=e._init;try{return G(e(t))}catch(e){}}return null}function V(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function q(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function K(e){e._valueTracker||(e._valueTracker=function(e){var t=q(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){r=""+e,i.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function Q(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=q(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function J(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function Z(e,t){var n=t.checked;return o({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function ee(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=V(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function te(e,t){null!=(t=t.checked)&&k(e,"checked",t,!1)}function ne(e,t){te(e,t);var n=V(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?oe(e,t.type,n):t.hasOwnProperty("defaultValue")&&oe(e,t.type,V(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function re(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function oe(e,t,n){"number"===t&&J(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function ie(e,t){return e=o({children:void 0},t),(t=function(e){var t="";return r.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}(t.children))&&(e.children=t),e}function ae(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+V(n),t=null,o=0;o<e.length;o++){if(e[o].value===n)return e[o].selected=!0,void(r&&(e[o].defaultSelected=!0));null!==t||e[o].disabled||(t=e[o])}null!==t&&(t.selected=!0)}}function le(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(a(91));return o({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function ue(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(a(92));if(Array.isArray(n)){if(!(1>=n.length))throw Error(a(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:V(n)}}function se(e,t){var n=V(t.value),r=V(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function ce(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}var fe={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function de(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function pe(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?de(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var he,ge,ye=(ge=function(e,t){if(e.namespaceURI!==fe.svg||"innerHTML"in e)e.innerHTML=t;else{for((he=he||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=he.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return ge(e,t)}))}:ge);function me(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var be={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},ve=["Webkit","ms","Moz","O"];function ke(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||be.hasOwnProperty(e)&&be[e]?(""+t).trim():t+"px"}function we(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=ke(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}Object.keys(be).forEach((function(e){ve.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),be[t]=be[e]}))}));var xe=o({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Se(e,t){if(t){if(xe[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(a(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(a(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(a(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(a(62))}}function Ce(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function Pe(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var Be=null,Le=null,Ee=null;function Ae(e){if(e=no(e)){if("function"!=typeof Be)throw Error(a(280));var t=e.stateNode;t&&(t=oo(t),Be(e.stateNode,e.type,t))}}function _e(e){Le?Ee?Ee.push(e):Ee=[e]:Le=e}function Te(){if(Le){var e=Le,t=Ee;if(Ee=Le=null,Ae(e),t)for(e=0;e<t.length;e++)Ae(t[e])}}function Oe(e,t){return e(t)}function Ie(e,t,n,r,o){return e(t,n,r,o)}function Me(){}var He=Oe,Fe=!1,De=!1;function Re(){null===Le&&null===Ee||(Me(),Te())}function ze(e,t){var n=e.stateNode;if(null===n)return null;var r=oo(n);if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(a(231,t,typeof n));return n}var Ne=!1;if(f)try{var je={};Object.defineProperty(je,"passive",{get:function(){Ne=!0}}),window.addEventListener("test",je,je),window.removeEventListener("test",je,je)}catch(ge){Ne=!1}function Ue(e,t,n,r,o,i,a,l,u){var s=Array.prototype.slice.call(arguments,3);try{t.apply(n,s)}catch(e){this.onError(e)}}var We=!1,Ye=null,Xe=!1,$e=null,Ge={onError:function(e){We=!0,Ye=e}};function Ve(e,t,n,r,o,i,a,l,u){We=!1,Ye=null,Ue.apply(Ge,arguments)}function qe(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{!!(1026&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function Ke(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&null!==(e=e.alternate)&&(t=e.memoizedState),null!==t)return t.dehydrated}return null}function Qe(e){if(qe(e)!==e)throw Error(a(188))}function Je(e){if(e=function(e){var t=e.alternate;if(!t){if(null===(t=qe(e)))throw Error(a(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(null===o)break;var i=o.alternate;if(null===i){if(null!==(r=o.return)){n=r;continue}break}if(o.child===i.child){for(i=o.child;i;){if(i===n)return Qe(o),e;if(i===r)return Qe(o),t;i=i.sibling}throw Error(a(188))}if(n.return!==r.return)n=o,r=i;else{for(var l=!1,u=o.child;u;){if(u===n){l=!0,n=o,r=i;break}if(u===r){l=!0,r=o,n=i;break}u=u.sibling}if(!l){for(u=i.child;u;){if(u===n){l=!0,n=i,r=o;break}if(u===r){l=!0,r=i,n=o;break}u=u.sibling}if(!l)throw Error(a(189))}}if(n.alternate!==r)throw Error(a(190))}if(3!==n.tag)throw Error(a(188));return n.stateNode.current===n?e:t}(e),!e)return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}function Ze(e,t){for(var n=e.alternate;null!==t;){if(t===e||t===n)return!0;t=t.return}return!1}var et,tt,nt,rt,ot=!1,it=[],at=null,lt=null,ut=null,st=new Map,ct=new Map,ft=[],dt="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function pt(e,t,n,r,o){return{blockedOn:e,domEventName:t,eventSystemFlags:16|n,nativeEvent:o,targetContainers:[r]}}function ht(e,t){switch(e){case"focusin":case"focusout":at=null;break;case"dragenter":case"dragleave":lt=null;break;case"mouseover":case"mouseout":ut=null;break;case"pointerover":case"pointerout":st.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":ct.delete(t.pointerId)}}function gt(e,t,n,r,o,i){return null===e||e.nativeEvent!==i?(e=pt(t,n,r,o,i),null!==t&&null!==(t=no(t))&&tt(t),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==o&&-1===t.indexOf(o)&&t.push(o),e)}function yt(e){var t=to(e.target);if(null!==t){var n=qe(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=Ke(n)))return e.blockedOn=t,void rt(e.lanePriority,(function(){i.unstable_runWithPriority(e.priority,(function(){nt(n)}))}))}else if(3===t&&n.stateNode.hydrate)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function mt(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Jt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=no(n))&&tt(t),e.blockedOn=n,!1;t.shift()}return!0}function bt(e,t,n){mt(e)&&n.delete(t)}function vt(){for(ot=!1;0<it.length;){var e=it[0];if(null!==e.blockedOn){null!==(e=no(e.blockedOn))&&et(e);break}for(var t=e.targetContainers;0<t.length;){var n=Jt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n){e.blockedOn=n;break}t.shift()}null===e.blockedOn&&it.shift()}null!==at&&mt(at)&&(at=null),null!==lt&&mt(lt)&&(lt=null),null!==ut&&mt(ut)&&(ut=null),st.forEach(bt),ct.forEach(bt)}function kt(e,t){e.blockedOn===t&&(e.blockedOn=null,ot||(ot=!0,i.unstable_scheduleCallback(i.unstable_NormalPriority,vt)))}function wt(e){function t(t){return kt(t,e)}if(0<it.length){kt(it[0],e);for(var n=1;n<it.length;n++){var r=it[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==at&&kt(at,e),null!==lt&&kt(lt,e),null!==ut&&kt(ut,e),st.forEach(t),ct.forEach(t),n=0;n<ft.length;n++)(r=ft[n]).blockedOn===e&&(r.blockedOn=null);for(;0<ft.length&&null===(n=ft[0]).blockedOn;)yt(n),null===n.blockedOn&&ft.shift()}function xt(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var St={animationend:xt("Animation","AnimationEnd"),animationiteration:xt("Animation","AnimationIteration"),animationstart:xt("Animation","AnimationStart"),transitionend:xt("Transition","TransitionEnd")},Ct={},Pt={};function Bt(e){if(Ct[e])return Ct[e];if(!St[e])return e;var t,n=St[e];for(t in n)if(n.hasOwnProperty(t)&&t in Pt)return Ct[e]=n[t];return e}f&&(Pt=document.createElement("div").style,"AnimationEvent"in window||(delete St.animationend.animation,delete St.animationiteration.animation,delete St.animationstart.animation),"TransitionEvent"in window||delete St.transitionend.transition);var Lt=Bt("animationend"),Et=Bt("animationiteration"),At=Bt("animationstart"),_t=Bt("transitionend"),Tt=new Map,Ot=new Map,It=["abort","abort",Lt,"animationEnd",Et,"animationIteration",At,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",_t,"transitionEnd","waiting","waiting"];function Mt(e,t){for(var n=0;n<e.length;n+=2){var r=e[n],o=e[n+1];o="on"+(o[0].toUpperCase()+o.slice(1)),Ot.set(r,t),Tt.set(r,o),s(o,[r])}}(0,i.unstable_now)();var Ht=8;function Ft(e){if(1&e)return Ht=15,1;if(2&e)return Ht=14,2;if(4&e)return Ht=13,4;var t=24&e;return 0!==t?(Ht=12,t):32&e?(Ht=11,32):0!=(t=192&e)?(Ht=10,t):256&e?(Ht=9,256):0!=(t=3584&e)?(Ht=8,t):4096&e?(Ht=7,4096):0!=(t=4186112&e)?(Ht=6,t):0!=(t=62914560&e)?(Ht=5,t):67108864&e?(Ht=4,67108864):134217728&e?(Ht=3,134217728):0!=(t=805306368&e)?(Ht=2,t):1073741824&e?(Ht=1,1073741824):(Ht=8,e)}function Dt(e,t){var n=e.pendingLanes;if(0===n)return Ht=0;var r=0,o=0,i=e.expiredLanes,a=e.suspendedLanes,l=e.pingedLanes;if(0!==i)r=i,o=Ht=15;else if(0!=(i=134217727&n)){var u=i&~a;0!==u?(r=Ft(u),o=Ht):0!=(l&=i)&&(r=Ft(l),o=Ht)}else 0!=(i=n&~a)?(r=Ft(i),o=Ht):0!==l&&(r=Ft(l),o=Ht);if(0===r)return 0;if(r=n&((0>(r=31-Wt(r))?0:1<<r)<<1)-1,0!==t&&t!==r&&!(t&a)){if(Ft(t),o<=Ht)return t;Ht=o}if(0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)o=1<<(n=31-Wt(t)),r|=e[n],t&=~o;return r}function Rt(e){return 0!=(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function zt(e,t){switch(e){case 15:return 1;case 14:return 2;case 12:return 0===(e=Nt(24&~t))?zt(10,t):e;case 10:return 0===(e=Nt(192&~t))?zt(8,t):e;case 8:return 0===(e=Nt(3584&~t))&&0===(e=Nt(4186112&~t))&&(e=512),e;case 2:return 0===(t=Nt(805306368&~t))&&(t=268435456),t}throw Error(a(358,e))}function Nt(e){return e&-e}function jt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Ut(e,t,n){e.pendingLanes|=t;var r=t-1;e.suspendedLanes&=r,e.pingedLanes&=r,(e=e.eventTimes)[t=31-Wt(t)]=n}var Wt=Math.clz32?Math.clz32:function(e){return 0===e?32:31-(Yt(e)/Xt|0)|0},Yt=Math.log,Xt=Math.LN2,$t=i.unstable_UserBlockingPriority,Gt=i.unstable_runWithPriority,Vt=!0;function qt(e,t,n,r){Fe||Me();var o=Qt,i=Fe;Fe=!0;try{Ie(o,e,t,n,r)}finally{(Fe=i)||Re()}}function Kt(e,t,n,r){Gt($t,Qt.bind(null,e,t,n,r))}function Qt(e,t,n,r){var o;if(Vt)if((o=!(4&t))&&0<it.length&&-1<dt.indexOf(e))e=pt(null,e,t,n,r),it.push(e);else{var i=Jt(e,t,n,r);if(null===i)o&&ht(e,r);else{if(o){if(-1<dt.indexOf(e))return e=pt(i,e,t,n,r),void it.push(e);if(function(e,t,n,r,o){switch(t){case"focusin":return at=gt(at,e,t,n,r,o),!0;case"dragenter":return lt=gt(lt,e,t,n,r,o),!0;case"mouseover":return ut=gt(ut,e,t,n,r,o),!0;case"pointerover":var i=o.pointerId;return st.set(i,gt(st.get(i)||null,e,t,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,ct.set(i,gt(ct.get(i)||null,e,t,n,r,o)),!0}return!1}(i,e,t,n,r))return;ht(e,r)}Mr(e,t,r,null,n)}}}function Jt(e,t,n,r){var o=Pe(r);if(null!==(o=to(o))){var i=qe(o);if(null===i)o=null;else{var a=i.tag;if(13===a){if(null!==(o=Ke(i)))return o;o=null}else if(3===a){if(i.stateNode.hydrate)return 3===i.tag?i.stateNode.containerInfo:null;o=null}else i!==o&&(o=null)}}return Mr(e,t,r,o,n),null}var Zt=null,en=null,tn=null;function nn(){if(tn)return tn;var e,t,n=en,r=n.length,o="value"in Zt?Zt.value:Zt.textContent,i=o.length;for(e=0;e<r&&n[e]===o[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===o[i-t];t++);return tn=o.slice(e,1<t?1-t:void 0)}function rn(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function on(){return!0}function an(){return!1}function ln(e){function t(t,n,r,o,i){for(var a in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=o,this.target=i,this.currentTarget=null,e)e.hasOwnProperty(a)&&(t=e[a],this[a]=t?t(o):o[a]);return this.isDefaultPrevented=(null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue)?on:an,this.isPropagationStopped=an,this}return o(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=on)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=on)},persist:function(){},isPersistent:on}),t}var un,sn,cn,fn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},dn=ln(fn),pn=o({},fn,{view:0,detail:0}),hn=ln(pn),gn=o({},pn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Ln,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==cn&&(cn&&"mousemove"===e.type?(un=e.screenX-cn.screenX,sn=e.screenY-cn.screenY):sn=un=0,cn=e),un)},movementY:function(e){return"movementY"in e?e.movementY:sn}}),yn=ln(gn),mn=ln(o({},gn,{dataTransfer:0})),bn=ln(o({},pn,{relatedTarget:0})),vn=ln(o({},fn,{animationName:0,elapsedTime:0,pseudoElement:0})),kn=o({},fn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),wn=ln(kn),xn=ln(o({},fn,{data:0})),Sn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Cn={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Pn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Bn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Pn[e])&&!!t[e]}function Ln(){return Bn}var En=o({},pn,{key:function(e){if(e.key){var t=Sn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=rn(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?Cn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Ln,charCode:function(e){return"keypress"===e.type?rn(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?rn(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),An=ln(En),_n=ln(o({},gn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Tn=ln(o({},pn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Ln})),On=ln(o({},fn,{propertyName:0,elapsedTime:0,pseudoElement:0})),In=o({},gn,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Mn=ln(In),Hn=[9,13,27,32],Fn=f&&"CompositionEvent"in window,Dn=null;f&&"documentMode"in document&&(Dn=document.documentMode);var Rn=f&&"TextEvent"in window&&!Dn,zn=f&&(!Fn||Dn&&8<Dn&&11>=Dn),Nn=String.fromCharCode(32),jn=!1;function Un(e,t){switch(e){case"keyup":return-1!==Hn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Wn(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Yn=!1,Xn={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function $n(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Xn[e.type]:"textarea"===t}function Gn(e,t,n,r){_e(r),0<(t=Fr(t,"onChange")).length&&(n=new dn("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Vn=null,qn=null;function Kn(e){Er(e,0)}function Qn(e){if(Q(ro(e)))return e}function Jn(e,t){if("change"===e)return t}var Zn=!1;if(f){var er;if(f){var tr="oninput"in document;if(!tr){var nr=document.createElement("div");nr.setAttribute("oninput","return;"),tr="function"==typeof nr.oninput}er=tr}else er=!1;Zn=er&&(!document.documentMode||9<document.documentMode)}function rr(){Vn&&(Vn.detachEvent("onpropertychange",or),qn=Vn=null)}function or(e){if("value"===e.propertyName&&Qn(qn)){var t=[];if(Gn(t,qn,e,Pe(e)),e=Kn,Fe)e(t);else{Fe=!0;try{Oe(e,t)}finally{Fe=!1,Re()}}}}function ir(e,t,n){"focusin"===e?(rr(),qn=n,(Vn=t).attachEvent("onpropertychange",or)):"focusout"===e&&rr()}function ar(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Qn(qn)}function lr(e,t){if("click"===e)return Qn(t)}function ur(e,t){if("input"===e||"change"===e)return Qn(t)}var sr="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},cr=Object.prototype.hasOwnProperty;function fr(e,t){if(sr(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++)if(!cr.call(t,n[r])||!sr(e[n[r]],t[n[r]]))return!1;return!0}function dr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function pr(e,t){var n,r=dr(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=dr(r)}}function hr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?hr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function gr(){for(var e=window,t=J();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=J((e=t.contentWindow).document)}return t}function yr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var mr=f&&"documentMode"in document&&11>=document.documentMode,br=null,vr=null,kr=null,wr=!1;function xr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;wr||null==br||br!==J(r)||(r="selectionStart"in(r=br)&&yr(r)?{start:r.selectionStart,end:r.selectionEnd}:{anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},kr&&fr(kr,r)||(kr=r,0<(r=Fr(vr,"onSelect")).length&&(t=new dn("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=br)))}Mt("cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focusin focus focusout blur input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0),Mt("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1),Mt(It,2);for(var Sr="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),Cr=0;Cr<Sr.length;Cr++)Ot.set(Sr[Cr],0);c("onMouseEnter",["mouseout","mouseover"]),c("onMouseLeave",["mouseout","mouseover"]),c("onPointerEnter",["pointerout","pointerover"]),c("onPointerLeave",["pointerout","pointerover"]),s("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),s("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),s("onBeforeInput",["compositionend","keypress","textInput","paste"]),s("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),s("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),s("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Pr="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Br=new Set("cancel close invalid load scroll toggle".split(" ").concat(Pr));function Lr(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,o,i,l,u,s){if(Ve.apply(this,arguments),We){if(!We)throw Error(a(198));var c=Ye;We=!1,Ye=null,Xe||(Xe=!0,$e=c)}}(r,t,void 0,e),e.currentTarget=null}function Er(e,t){t=!!(4&t);for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var i=void 0;if(t)for(var a=r.length-1;0<=a;a--){var l=r[a],u=l.instance,s=l.currentTarget;if(l=l.listener,u!==i&&o.isPropagationStopped())break e;Lr(o,l,s),i=u}else for(a=0;a<r.length;a++){if(u=(l=r[a]).instance,s=l.currentTarget,l=l.listener,u!==i&&o.isPropagationStopped())break e;Lr(o,l,s),i=u}}}if(Xe)throw e=$e,Xe=!1,$e=null,e}function Ar(e,t){var n=io(t),r=e+"__bubble";n.has(r)||(Ir(t,e,2,!1),n.add(r))}var _r="_reactListening"+Math.random().toString(36).slice(2);function Tr(e){e[_r]||(e[_r]=!0,l.forEach((function(t){Br.has(t)||Or(t,!1,e,null),Or(t,!0,e,null)})))}function Or(e,t,n,r){var o=4<arguments.length&&void 0!==arguments[4]?arguments[4]:0,i=n;if("selectionchange"===e&&9!==n.nodeType&&(i=n.ownerDocument),null!==r&&!t&&Br.has(e)){if("scroll"!==e)return;o|=2,i=r}var a=io(i),l=e+"__"+(t?"capture":"bubble");a.has(l)||(t&&(o|=4),Ir(i,e,o,t),a.add(l))}function Ir(e,t,n,r){var o=Ot.get(t);switch(void 0===o?2:o){case 0:o=qt;break;case 1:o=Kt;break;default:o=Qt}n=o.bind(null,t,n,e),o=void 0,!Ne||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(o=!0),r?void 0!==o?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):void 0!==o?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function Mr(e,t,n,r,o){var i=r;if(!(1&t||2&t||null===r))e:for(;;){if(null===r)return;var a=r.tag;if(3===a||4===a){var l=r.stateNode.containerInfo;if(l===o||8===l.nodeType&&l.parentNode===o)break;if(4===a)for(a=r.return;null!==a;){var u=a.tag;if((3===u||4===u)&&((u=a.stateNode.containerInfo)===o||8===u.nodeType&&u.parentNode===o))return;a=a.return}for(;null!==l;){if(null===(a=to(l)))return;if(5===(u=a.tag)||6===u){r=i=a;continue e}l=l.parentNode}}r=r.return}!function(e,t,n){if(De)return e();De=!0;try{return He(e,t,n)}finally{De=!1,Re()}}((function(){var r=i,o=Pe(n),a=[];e:{var l=Tt.get(e);if(void 0!==l){var u=dn,s=e;switch(e){case"keypress":if(0===rn(n))break e;case"keydown":case"keyup":u=An;break;case"focusin":s="focus",u=bn;break;case"focusout":s="blur",u=bn;break;case"beforeblur":case"afterblur":u=bn;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":u=yn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":u=mn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":u=Tn;break;case Lt:case Et:case At:u=vn;break;case _t:u=On;break;case"scroll":u=hn;break;case"wheel":u=Mn;break;case"copy":case"cut":case"paste":u=wn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":u=_n}var c=!!(4&t),f=!c&&"scroll"===e,d=c?null!==l?l+"Capture":null:l;c=[];for(var p,h=r;null!==h;){var g=(p=h).stateNode;if(5===p.tag&&null!==g&&(p=g,null!==d&&null!=(g=ze(h,d))&&c.push(Hr(h,g,p))),f)break;h=h.return}0<c.length&&(l=new u(l,s,null,n,o),a.push({event:l,listeners:c}))}}if(!(7&t)){if(u="mouseout"===e||"pointerout"===e,(!(l="mouseover"===e||"pointerover"===e)||16&t||!(s=n.relatedTarget||n.fromElement)||!to(s)&&!s[Zr])&&(u||l)&&(l=o.window===o?o:(l=o.ownerDocument)?l.defaultView||l.parentWindow:window,u?(u=r,null!==(s=(s=n.relatedTarget||n.toElement)?to(s):null)&&(s!==(f=qe(s))||5!==s.tag&&6!==s.tag)&&(s=null)):(u=null,s=r),u!==s)){if(c=yn,g="onMouseLeave",d="onMouseEnter",h="mouse","pointerout"!==e&&"pointerover"!==e||(c=_n,g="onPointerLeave",d="onPointerEnter",h="pointer"),f=null==u?l:ro(u),p=null==s?l:ro(s),(l=new c(g,h+"leave",u,n,o)).target=f,l.relatedTarget=p,g=null,to(o)===r&&((c=new c(d,h+"enter",s,n,o)).target=p,c.relatedTarget=f,g=c),f=g,u&&s)e:{for(d=s,h=0,p=c=u;p;p=Dr(p))h++;for(p=0,g=d;g;g=Dr(g))p++;for(;0<h-p;)c=Dr(c),h--;for(;0<p-h;)d=Dr(d),p--;for(;h--;){if(c===d||null!==d&&c===d.alternate)break e;c=Dr(c),d=Dr(d)}c=null}else c=null;null!==u&&Rr(a,l,u,c,!1),null!==s&&null!==f&&Rr(a,f,s,c,!0)}if("select"===(u=(l=r?ro(r):window).nodeName&&l.nodeName.toLowerCase())||"input"===u&&"file"===l.type)var y=Jn;else if($n(l))if(Zn)y=ur;else{y=ar;var m=ir}else(u=l.nodeName)&&"input"===u.toLowerCase()&&("checkbox"===l.type||"radio"===l.type)&&(y=lr);switch(y&&(y=y(e,r))?Gn(a,y,n,o):(m&&m(e,l,r),"focusout"===e&&(m=l._wrapperState)&&m.controlled&&"number"===l.type&&oe(l,"number",l.value)),m=r?ro(r):window,e){case"focusin":($n(m)||"true"===m.contentEditable)&&(br=m,vr=r,kr=null);break;case"focusout":kr=vr=br=null;break;case"mousedown":wr=!0;break;case"contextmenu":case"mouseup":case"dragend":wr=!1,xr(a,n,o);break;case"selectionchange":if(mr)break;case"keydown":case"keyup":xr(a,n,o)}var b;if(Fn)e:{switch(e){case"compositionstart":var v="onCompositionStart";break e;case"compositionend":v="onCompositionEnd";break e;case"compositionupdate":v="onCompositionUpdate";break e}v=void 0}else Yn?Un(e,n)&&(v="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(v="onCompositionStart");v&&(zn&&"ko"!==n.locale&&(Yn||"onCompositionStart"!==v?"onCompositionEnd"===v&&Yn&&(b=nn()):(en="value"in(Zt=o)?Zt.value:Zt.textContent,Yn=!0)),0<(m=Fr(r,v)).length&&(v=new xn(v,e,null,n,o),a.push({event:v,listeners:m}),(b||null!==(b=Wn(n)))&&(v.data=b))),(b=Rn?function(e,t){switch(e){case"compositionend":return Wn(t);case"keypress":return 32!==t.which?null:(jn=!0,Nn);case"textInput":return(e=t.data)===Nn&&jn?null:e;default:return null}}(e,n):function(e,t){if(Yn)return"compositionend"===e||!Fn&&Un(e,t)?(e=nn(),tn=en=Zt=null,Yn=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return zn&&"ko"!==t.locale?null:t.data}}(e,n))&&0<(r=Fr(r,"onBeforeInput")).length&&(o=new xn("onBeforeInput","beforeinput",null,n,o),a.push({event:o,listeners:r}),o.data=b)}Er(a,t)}))}function Hr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Fr(e,t){for(var n=t+"Capture",r=[];null!==e;){var o=e,i=o.stateNode;5===o.tag&&null!==i&&(o=i,null!=(i=ze(e,n))&&r.unshift(Hr(e,i,o)),null!=(i=ze(e,t))&&r.push(Hr(e,i,o))),e=e.return}return r}function Dr(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Rr(e,t,n,r,o){for(var i=t._reactName,a=[];null!==n&&n!==r;){var l=n,u=l.alternate,s=l.stateNode;if(null!==u&&u===r)break;5===l.tag&&null!==s&&(l=s,o?null!=(u=ze(n,i))&&a.unshift(Hr(n,u,l)):o||null!=(u=ze(n,i))&&a.push(Hr(n,u,l))),n=n.return}0!==a.length&&e.push({event:t,listeners:a})}function zr(){}var Nr=null,jr=null;function Ur(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function Wr(e,t){return"textarea"===e||"option"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var Yr="function"==typeof setTimeout?setTimeout:void 0,Xr="function"==typeof clearTimeout?clearTimeout:void 0;function $r(e){(1===e.nodeType||9===e.nodeType&&null!=(e=e.body))&&(e.textContent="")}function Gr(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break}return e}function Vr(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var qr=0,Kr=Math.random().toString(36).slice(2),Qr="__reactFiber$"+Kr,Jr="__reactProps$"+Kr,Zr="__reactContainer$"+Kr,eo="__reactEvents$"+Kr;function to(e){var t=e[Qr];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Zr]||n[Qr]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=Vr(e);null!==e;){if(n=e[Qr])return n;e=Vr(e)}return t}n=(e=n).parentNode}return null}function no(e){return!(e=e[Qr]||e[Zr])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function ro(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(a(33))}function oo(e){return e[Jr]||null}function io(e){var t=e[eo];return void 0===t&&(t=e[eo]=new Set),t}var ao=[],lo=-1;function uo(e){return{current:e}}function so(e){0>lo||(e.current=ao[lo],ao[lo]=null,lo--)}function co(e,t){lo++,ao[lo]=e.current,e.current=t}var fo={},po=uo(fo),ho=uo(!1),go=fo;function yo(e,t){var n=e.type.contextTypes;if(!n)return fo;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,i={};for(o in n)i[o]=t[o];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function mo(e){return null!=e.childContextTypes}function bo(){so(ho),so(po)}function vo(e,t,n){if(po.current!==fo)throw Error(a(168));co(po,t),co(ho,n)}function ko(e,t,n){var r=e.stateNode;if(e=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var i in r=r.getChildContext())if(!(i in e))throw Error(a(108,G(t)||"Unknown",i));return o({},n,r)}function wo(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||fo,go=po.current,co(po,e),co(ho,ho.current),!0}function xo(e,t,n){var r=e.stateNode;if(!r)throw Error(a(169));n?(e=ko(e,t,go),r.__reactInternalMemoizedMergedChildContext=e,so(ho),so(po),co(po,e)):so(ho),co(ho,n)}var So=null,Co=null,Po=i.unstable_runWithPriority,Bo=i.unstable_scheduleCallback,Lo=i.unstable_cancelCallback,Eo=i.unstable_shouldYield,Ao=i.unstable_requestPaint,_o=i.unstable_now,To=i.unstable_getCurrentPriorityLevel,Oo=i.unstable_ImmediatePriority,Io=i.unstable_UserBlockingPriority,Mo=i.unstable_NormalPriority,Ho=i.unstable_LowPriority,Fo=i.unstable_IdlePriority,Do={},Ro=void 0!==Ao?Ao:function(){},zo=null,No=null,jo=!1,Uo=_o(),Wo=1e4>Uo?_o:function(){return _o()-Uo};function Yo(){switch(To()){case Oo:return 99;case Io:return 98;case Mo:return 97;case Ho:return 96;case Fo:return 95;default:throw Error(a(332))}}function Xo(e){switch(e){case 99:return Oo;case 98:return Io;case 97:return Mo;case 96:return Ho;case 95:return Fo;default:throw Error(a(332))}}function $o(e,t){return e=Xo(e),Po(e,t)}function Go(e,t,n){return e=Xo(e),Bo(e,t,n)}function Vo(){if(null!==No){var e=No;No=null,Lo(e)}qo()}function qo(){if(!jo&&null!==zo){jo=!0;var e=0;try{var t=zo;$o(99,(function(){for(;e<t.length;e++){var n=t[e];do{n=n(!0)}while(null!==n)}})),zo=null}catch(t){throw null!==zo&&(zo=zo.slice(e+1)),Bo(Oo,Vo),t}finally{jo=!1}}}var Ko=w.ReactCurrentBatchConfig;function Qo(e,t){if(e&&e.defaultProps){for(var n in t=o({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var Jo=uo(null),Zo=null,ei=null,ti=null;function ni(){ti=ei=Zo=null}function ri(e){var t=Jo.current;so(Jo),e.type._context._currentValue=t}function oi(e,t){for(;null!==e;){var n=e.alternate;if((e.childLanes&t)===t){if(null===n||(n.childLanes&t)===t)break;n.childLanes|=t}else e.childLanes|=t,null!==n&&(n.childLanes|=t);e=e.return}}function ii(e,t){Zo=e,ti=ei=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(!!(e.lanes&t)&&(Fa=!0),e.firstContext=null)}function ai(e,t){if(ti!==e&&!1!==t&&0!==t)if("number"==typeof t&&1073741823!==t||(ti=e,t=1073741823),t={context:e,observedBits:t,next:null},null===ei){if(null===Zo)throw Error(a(308));ei=t,Zo.dependencies={lanes:0,firstContext:t,responders:null}}else ei=ei.next=t;return e._currentValue}var li=!1;function ui(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null},effects:null}}function si(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function ci(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function fi(e,t){if(null!==(e=e.updateQueue)){var n=(e=e.shared).pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}}function di(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var o=null,i=null;if(null!==(n=n.firstBaseUpdate)){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===i?o=i=a:i=i.next=a,n=n.next}while(null!==n);null===i?o=i=t:i=i.next=t}else o=i=t;return n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function pi(e,t,n,r){var i=e.updateQueue;li=!1;var a=i.firstBaseUpdate,l=i.lastBaseUpdate,u=i.shared.pending;if(null!==u){i.shared.pending=null;var s=u,c=s.next;s.next=null,null===l?a=c:l.next=c,l=s;var f=e.alternate;if(null!==f){var d=(f=f.updateQueue).lastBaseUpdate;d!==l&&(null===d?f.firstBaseUpdate=c:d.next=c,f.lastBaseUpdate=s)}}if(null!==a){for(d=i.baseState,l=0,f=c=s=null;;){u=a.lane;var p=a.eventTime;if((r&u)===u){null!==f&&(f=f.next={eventTime:p,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var h=e,g=a;switch(u=t,p=n,g.tag){case 1:if("function"==typeof(h=g.payload)){d=h.call(p,d,u);break e}d=h;break e;case 3:h.flags=-4097&h.flags|64;case 0:if(null==(u="function"==typeof(h=g.payload)?h.call(p,d,u):h))break e;d=o({},d,u);break e;case 2:li=!0}}null!==a.callback&&(e.flags|=32,null===(u=i.effects)?i.effects=[a]:u.push(a))}else p={eventTime:p,lane:u,tag:a.tag,payload:a.payload,callback:a.callback,next:null},null===f?(c=f=p,s=d):f=f.next=p,l|=u;if(null===(a=a.next)){if(null===(u=i.shared.pending))break;a=u.next,u.next=null,i.lastBaseUpdate=u,i.shared.pending=null}}null===f&&(s=d),i.baseState=s,i.firstBaseUpdate=c,i.lastBaseUpdate=f,zl|=l,e.lanes=l,e.memoizedState=d}}function hi(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(null!==o){if(r.callback=null,r=n,"function"!=typeof o)throw Error(a(191,o));o.call(r)}}}var gi=(new r.Component).refs;function yi(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:o({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var mi={isMounted:function(e){return!!(e=e._reactInternals)&&qe(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=cu(),o=fu(e),i=ci(r,o);i.payload=t,null!=n&&(i.callback=n),fi(e,i),du(e,o,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=cu(),o=fu(e),i=ci(r,o);i.tag=1,i.payload=t,null!=n&&(i.callback=n),fi(e,i),du(e,o,r)},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=cu(),r=fu(e),o=ci(n,r);o.tag=2,null!=t&&(o.callback=t),fi(e,o),du(e,r,n)}};function bi(e,t,n,r,o,i,a){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,i,a):!(t.prototype&&t.prototype.isPureReactComponent&&fr(n,r)&&fr(o,i))}function vi(e,t,n){var r=!1,o=fo,i=t.contextType;return"object"==typeof i&&null!==i?i=ai(i):(o=mo(t)?go:po.current,i=(r=null!=(r=t.contextTypes))?yo(e,o):fo),t=new t(n,i),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=mi,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function ki(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&mi.enqueueReplaceState(t,t.state,null)}function wi(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=gi,ui(e);var i=t.contextType;"object"==typeof i&&null!==i?o.context=ai(i):(i=mo(t)?go:po.current,o.context=yo(e,i)),pi(e,n,o,r),o.state=e.memoizedState,"function"==typeof(i=t.getDerivedStateFromProps)&&(yi(e,t,i,n),o.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof o.getSnapshotBeforeUpdate||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||(t=o.state,"function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),t!==o.state&&mi.enqueueReplaceState(o,o.state,null),pi(e,n,o,r),o.state=e.memoizedState),"function"==typeof o.componentDidMount&&(e.flags|=4)}var xi=Array.isArray;function Si(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(a(309));var r=n.stateNode}if(!r)throw Error(a(147,e));var o=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===o?t.ref:(t=function(e){var t=r.refs;t===gi&&(t=r.refs={}),null===e?delete t[o]:t[o]=e},t._stringRef=o,t)}if("string"!=typeof e)throw Error(a(284));if(!n._owner)throw Error(a(290,e))}return e}function Ci(e,t){if("textarea"!==e.type)throw Error(a(31,"[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t))}function Pi(e){function t(t,n){if(e){var r=t.lastEffect;null!==r?(r.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n,n.nextEffect=null,n.flags=8}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function o(e,t){return(e=Wu(e,t)).index=0,e.sibling=null,e}function i(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags=2,n):r:(t.flags=2,n):n}function l(t){return e&&null===t.alternate&&(t.flags=2),t}function u(e,t,n,r){return null===t||6!==t.tag?((t=Gu(n,e.mode,r)).return=e,t):((t=o(t,n)).return=e,t)}function s(e,t,n,r){return null!==t&&t.elementType===n.type?((r=o(t,n.props)).ref=Si(e,t,n),r.return=e,r):((r=Yu(n.type,n.key,n.props,null,e.mode,r)).ref=Si(e,t,n),r.return=e,r)}function c(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Vu(n,e.mode,r)).return=e,t):((t=o(t,n.children||[])).return=e,t)}function f(e,t,n,r,i){return null===t||7!==t.tag?((t=Xu(n,e.mode,r,i)).return=e,t):((t=o(t,n)).return=e,t)}function d(e,t,n){if("string"==typeof t||"number"==typeof t)return(t=Gu(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case x:return(n=Yu(t.type,t.key,t.props,null,e.mode,n)).ref=Si(e,null,t),n.return=e,n;case S:return(t=Vu(t,e.mode,n)).return=e,t}if(xi(t)||U(t))return(t=Xu(t,e.mode,n,null)).return=e,t;Ci(e,t)}return null}function p(e,t,n,r){var o=null!==t?t.key:null;if("string"==typeof n||"number"==typeof n)return null!==o?null:u(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case x:return n.key===o?n.type===C?f(e,t,n.props.children,r,o):s(e,t,n,r):null;case S:return n.key===o?c(e,t,n,r):null}if(xi(n)||U(n))return null!==o?null:f(e,t,n,r,null);Ci(e,n)}return null}function h(e,t,n,r,o){if("string"==typeof r||"number"==typeof r)return u(t,e=e.get(n)||null,""+r,o);if("object"==typeof r&&null!==r){switch(r.$$typeof){case x:return e=e.get(null===r.key?n:r.key)||null,r.type===C?f(t,e,r.props.children,o,r.key):s(t,e,r,o);case S:return c(t,e=e.get(null===r.key?n:r.key)||null,r,o)}if(xi(r)||U(r))return f(t,e=e.get(n)||null,r,o,null);Ci(t,r)}return null}function g(o,a,l,u){for(var s=null,c=null,f=a,g=a=0,y=null;null!==f&&g<l.length;g++){f.index>g?(y=f,f=null):y=f.sibling;var m=p(o,f,l[g],u);if(null===m){null===f&&(f=y);break}e&&f&&null===m.alternate&&t(o,f),a=i(m,a,g),null===c?s=m:c.sibling=m,c=m,f=y}if(g===l.length)return n(o,f),s;if(null===f){for(;g<l.length;g++)null!==(f=d(o,l[g],u))&&(a=i(f,a,g),null===c?s=f:c.sibling=f,c=f);return s}for(f=r(o,f);g<l.length;g++)null!==(y=h(f,o,g,l[g],u))&&(e&&null!==y.alternate&&f.delete(null===y.key?g:y.key),a=i(y,a,g),null===c?s=y:c.sibling=y,c=y);return e&&f.forEach((function(e){return t(o,e)})),s}function y(o,l,u,s){var c=U(u);if("function"!=typeof c)throw Error(a(150));if(null==(u=c.call(u)))throw Error(a(151));for(var f=c=null,g=l,y=l=0,m=null,b=u.next();null!==g&&!b.done;y++,b=u.next()){g.index>y?(m=g,g=null):m=g.sibling;var v=p(o,g,b.value,s);if(null===v){null===g&&(g=m);break}e&&g&&null===v.alternate&&t(o,g),l=i(v,l,y),null===f?c=v:f.sibling=v,f=v,g=m}if(b.done)return n(o,g),c;if(null===g){for(;!b.done;y++,b=u.next())null!==(b=d(o,b.value,s))&&(l=i(b,l,y),null===f?c=b:f.sibling=b,f=b);return c}for(g=r(o,g);!b.done;y++,b=u.next())null!==(b=h(g,o,y,b.value,s))&&(e&&null!==b.alternate&&g.delete(null===b.key?y:b.key),l=i(b,l,y),null===f?c=b:f.sibling=b,f=b);return e&&g.forEach((function(e){return t(o,e)})),c}return function(e,r,i,u){var s="object"==typeof i&&null!==i&&i.type===C&&null===i.key;s&&(i=i.props.children);var c="object"==typeof i&&null!==i;if(c)switch(i.$$typeof){case x:e:{for(c=i.key,s=r;null!==s;){if(s.key===c){if(7===s.tag){if(i.type===C){n(e,s.sibling),(r=o(s,i.props.children)).return=e,e=r;break e}}else if(s.elementType===i.type){n(e,s.sibling),(r=o(s,i.props)).ref=Si(e,s,i),r.return=e,e=r;break e}n(e,s);break}t(e,s),s=s.sibling}i.type===C?((r=Xu(i.props.children,e.mode,u,i.key)).return=e,e=r):((u=Yu(i.type,i.key,i.props,null,e.mode,u)).ref=Si(e,r,i),u.return=e,e=u)}return l(e);case S:e:{for(s=i.key;null!==r;){if(r.key===s){if(4===r.tag&&r.stateNode.containerInfo===i.containerInfo&&r.stateNode.implementation===i.implementation){n(e,r.sibling),(r=o(r,i.children||[])).return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}(r=Vu(i,e.mode,u)).return=e,e=r}return l(e)}if("string"==typeof i||"number"==typeof i)return i=""+i,null!==r&&6===r.tag?(n(e,r.sibling),(r=o(r,i)).return=e,e=r):(n(e,r),(r=Gu(i,e.mode,u)).return=e,e=r),l(e);if(xi(i))return g(e,r,i,u);if(U(i))return y(e,r,i,u);if(c&&Ci(e,i),void 0===i&&!s)switch(e.tag){case 1:case 22:case 0:case 11:case 15:throw Error(a(152,G(e.type)||"Component"))}return n(e,r)}}var Bi=Pi(!0),Li=Pi(!1),Ei={},Ai=uo(Ei),_i=uo(Ei),Ti=uo(Ei);function Oi(e){if(e===Ei)throw Error(a(174));return e}function Ii(e,t){switch(co(Ti,t),co(_i,e),co(Ai,Ei),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:pe(null,"");break;default:t=pe(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}so(Ai),co(Ai,t)}function Mi(){so(Ai),so(_i),so(Ti)}function Hi(e){Oi(Ti.current);var t=Oi(Ai.current),n=pe(t,e.type);t!==n&&(co(_i,e),co(Ai,n))}function Fi(e){_i.current===e&&(so(Ai),so(_i))}var Di=uo(0);function Ri(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(64&t.flags)return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var zi=null,Ni=null,ji=!1;function Ui(e,t){var n=ju(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=t,n.return=e,n.flags=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function Wi(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,!0);default:return!1}}function Yi(e){if(ji){var t=Ni;if(t){var n=t;if(!Wi(e,t)){if(!(t=Gr(n.nextSibling))||!Wi(e,t))return e.flags=-1025&e.flags|2,ji=!1,void(zi=e);Ui(zi,n)}zi=e,Ni=Gr(t.firstChild)}else e.flags=-1025&e.flags|2,ji=!1,zi=e}}function Xi(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;zi=e}function $i(e){if(e!==zi)return!1;if(!ji)return Xi(e),ji=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!Wr(t,e.memoizedProps))for(t=Ni;t;)Ui(e,t),t=Gr(t.nextSibling);if(Xi(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(a(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){Ni=Gr(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}Ni=null}}else Ni=zi?Gr(e.stateNode.nextSibling):null;return!0}function Gi(){Ni=zi=null,ji=!1}var Vi=[];function qi(){for(var e=0;e<Vi.length;e++)Vi[e]._workInProgressVersionPrimary=null;Vi.length=0}var Ki=w.ReactCurrentDispatcher,Qi=w.ReactCurrentBatchConfig,Ji=0,Zi=null,ea=null,ta=null,na=!1,ra=!1;function oa(){throw Error(a(321))}function ia(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!sr(e[n],t[n]))return!1;return!0}function aa(e,t,n,r,o,i){if(Ji=i,Zi=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Ki.current=null===e||null===e.memoizedState?Oa:Ia,e=n(r,o),ra){i=0;do{if(ra=!1,!(25>i))throw Error(a(301));i+=1,ta=ea=null,t.updateQueue=null,Ki.current=Ma,e=n(r,o)}while(ra)}if(Ki.current=Ta,t=null!==ea&&null!==ea.next,Ji=0,ta=ea=Zi=null,na=!1,t)throw Error(a(300));return e}function la(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===ta?Zi.memoizedState=ta=e:ta=ta.next=e,ta}function ua(){if(null===ea){var e=Zi.alternate;e=null!==e?e.memoizedState:null}else e=ea.next;var t=null===ta?Zi.memoizedState:ta.next;if(null!==t)ta=t,ea=e;else{if(null===e)throw Error(a(310));e={memoizedState:(ea=e).memoizedState,baseState:ea.baseState,baseQueue:ea.baseQueue,queue:ea.queue,next:null},null===ta?Zi.memoizedState=ta=e:ta=ta.next=e}return ta}function sa(e,t){return"function"==typeof t?t(e):t}function ca(e){var t=ua(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=ea,o=r.baseQueue,i=n.pending;if(null!==i){if(null!==o){var l=o.next;o.next=i.next,i.next=l}r.baseQueue=o=i,n.pending=null}if(null!==o){o=o.next,r=r.baseState;var u=l=i=null,s=o;do{var c=s.lane;if((Ji&c)===c)null!==u&&(u=u.next={lane:0,action:s.action,eagerReducer:s.eagerReducer,eagerState:s.eagerState,next:null}),r=s.eagerReducer===e?s.eagerState:e(r,s.action);else{var f={lane:c,action:s.action,eagerReducer:s.eagerReducer,eagerState:s.eagerState,next:null};null===u?(l=u=f,i=r):u=u.next=f,Zi.lanes|=c,zl|=c}s=s.next}while(null!==s&&s!==o);null===u?i=r:u.next=l,sr(r,t.memoizedState)||(Fa=!0),t.memoizedState=r,t.baseState=i,t.baseQueue=u,n.lastRenderedState=r}return[t.memoizedState,n.dispatch]}function fa(e){var t=ua(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,i=t.memoizedState;if(null!==o){n.pending=null;var l=o=o.next;do{i=e(i,l.action),l=l.next}while(l!==o);sr(i,t.memoizedState)||(Fa=!0),t.memoizedState=i,null===t.baseQueue&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function da(e,t,n){var r=t._getVersion;r=r(t._source);var o=t._workInProgressVersionPrimary;if(null!==o?e=o===r:(e=e.mutableReadLanes,(e=(Ji&e)===e)&&(t._workInProgressVersionPrimary=r,Vi.push(t))),e)return n(t._source);throw Vi.push(t),Error(a(350))}function pa(e,t,n,r){var o=Tl;if(null===o)throw Error(a(349));var i=t._getVersion,l=i(t._source),u=Ki.current,s=u.useState((function(){return da(o,t,n)})),c=s[1],f=s[0];s=ta;var d=e.memoizedState,p=d.refs,h=p.getSnapshot,g=d.source;d=d.subscribe;var y=Zi;return e.memoizedState={refs:p,source:t,subscribe:r},u.useEffect((function(){p.getSnapshot=n,p.setSnapshot=c;var e=i(t._source);if(!sr(l,e)){e=n(t._source),sr(f,e)||(c(e),e=fu(y),o.mutableReadLanes|=e&o.pendingLanes),e=o.mutableReadLanes,o.entangledLanes|=e;for(var r=o.entanglements,a=e;0<a;){var u=31-Wt(a),s=1<<u;r[u]|=e,a&=~s}}}),[n,t,r]),u.useEffect((function(){return r(t._source,(function(){var e=p.getSnapshot,n=p.setSnapshot;try{n(e(t._source));var r=fu(y);o.mutableReadLanes|=r&o.pendingLanes}catch(e){n((function(){throw e}))}}))}),[t,r]),sr(h,n)&&sr(g,t)&&sr(d,r)||((e={pending:null,dispatch:null,lastRenderedReducer:sa,lastRenderedState:f}).dispatch=c=_a.bind(null,Zi,e),s.queue=e,s.baseQueue=null,f=da(o,t,n),s.memoizedState=s.baseState=f),f}function ha(e,t,n){return pa(ua(),e,t,n)}function ga(e){var t=la();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(e=t.queue={pending:null,dispatch:null,lastRenderedReducer:sa,lastRenderedState:e}).dispatch=_a.bind(null,Zi,e),[t.memoizedState,e]}function ya(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=Zi.updateQueue)?(t={lastEffect:null},Zi.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function ma(e){return e={current:e},la().memoizedState=e}function ba(){return ua().memoizedState}function va(e,t,n,r){var o=la();Zi.flags|=e,o.memoizedState=ya(1|t,n,void 0,void 0===r?null:r)}function ka(e,t,n,r){var o=ua();r=void 0===r?null:r;var i=void 0;if(null!==ea){var a=ea.memoizedState;if(i=a.destroy,null!==r&&ia(r,a.deps))return void ya(t,n,i,r)}Zi.flags|=e,o.memoizedState=ya(1|t,n,i,r)}function wa(e,t){return va(516,4,e,t)}function xa(e,t){return ka(516,4,e,t)}function Sa(e,t){return ka(4,2,e,t)}function Ca(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Pa(e,t,n){return n=null!=n?n.concat([e]):null,ka(4,2,Ca.bind(null,t,e),n)}function Ba(){}function La(e,t){var n=ua();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&ia(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Ea(e,t){var n=ua();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&ia(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Aa(e,t){var n=Yo();$o(98>n?98:n,(function(){e(!0)})),$o(97<n?97:n,(function(){var n=Qi.transition;Qi.transition=1;try{e(!1),t()}finally{Qi.transition=n}}))}function _a(e,t,n){var r=cu(),o=fu(e),i={lane:o,action:n,eagerReducer:null,eagerState:null,next:null},a=t.pending;if(null===a?i.next=i:(i.next=a.next,a.next=i),t.pending=i,a=e.alternate,e===Zi||null!==a&&a===Zi)ra=na=!0;else{if(0===e.lanes&&(null===a||0===a.lanes)&&null!==(a=t.lastRenderedReducer))try{var l=t.lastRenderedState,u=a(l,n);if(i.eagerReducer=a,i.eagerState=u,sr(u,l))return}catch(e){}du(e,o,r)}}var Ta={readContext:ai,useCallback:oa,useContext:oa,useEffect:oa,useImperativeHandle:oa,useLayoutEffect:oa,useMemo:oa,useReducer:oa,useRef:oa,useState:oa,useDebugValue:oa,useDeferredValue:oa,useTransition:oa,useMutableSource:oa,useOpaqueIdentifier:oa,unstable_isNewReconciler:!1},Oa={readContext:ai,useCallback:function(e,t){return la().memoizedState=[e,void 0===t?null:t],e},useContext:ai,useEffect:wa,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,va(4,2,Ca.bind(null,t,e),n)},useLayoutEffect:function(e,t){return va(4,2,e,t)},useMemo:function(e,t){var n=la();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=la();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e=(e=r.queue={pending:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t}).dispatch=_a.bind(null,Zi,e),[r.memoizedState,e]},useRef:ma,useState:ga,useDebugValue:Ba,useDeferredValue:function(e){var t=ga(e),n=t[0],r=t[1];return wa((function(){var t=Qi.transition;Qi.transition=1;try{r(e)}finally{Qi.transition=t}}),[e]),n},useTransition:function(){var e=ga(!1),t=e[0];return ma(e=Aa.bind(null,e[1])),[e,t]},useMutableSource:function(e,t,n){var r=la();return r.memoizedState={refs:{getSnapshot:t,setSnapshot:null},source:e,subscribe:n},pa(r,e,t,n)},useOpaqueIdentifier:function(){if(ji){var e=!1,t=function(e){return{$$typeof:H,toString:e,valueOf:e}}((function(){throw e||(e=!0,n("r:"+(qr++).toString(36))),Error(a(355))})),n=ga(t)[1];return!(2&Zi.mode)&&(Zi.flags|=516,ya(5,(function(){n("r:"+(qr++).toString(36))}),void 0,null)),t}return ga(t="r:"+(qr++).toString(36)),t},unstable_isNewReconciler:!1},Ia={readContext:ai,useCallback:La,useContext:ai,useEffect:xa,useImperativeHandle:Pa,useLayoutEffect:Sa,useMemo:Ea,useReducer:ca,useRef:ba,useState:function(){return ca(sa)},useDebugValue:Ba,useDeferredValue:function(e){var t=ca(sa),n=t[0],r=t[1];return xa((function(){var t=Qi.transition;Qi.transition=1;try{r(e)}finally{Qi.transition=t}}),[e]),n},useTransition:function(){var e=ca(sa)[0];return[ba().current,e]},useMutableSource:ha,useOpaqueIdentifier:function(){return ca(sa)[0]},unstable_isNewReconciler:!1},Ma={readContext:ai,useCallback:La,useContext:ai,useEffect:xa,useImperativeHandle:Pa,useLayoutEffect:Sa,useMemo:Ea,useReducer:fa,useRef:ba,useState:function(){return fa(sa)},useDebugValue:Ba,useDeferredValue:function(e){var t=fa(sa),n=t[0],r=t[1];return xa((function(){var t=Qi.transition;Qi.transition=1;try{r(e)}finally{Qi.transition=t}}),[e]),n},useTransition:function(){var e=fa(sa)[0];return[ba().current,e]},useMutableSource:ha,useOpaqueIdentifier:function(){return fa(sa)[0]},unstable_isNewReconciler:!1},Ha=w.ReactCurrentOwner,Fa=!1;function Da(e,t,n,r){t.child=null===e?Li(t,null,n,r):Bi(t,e.child,n,r)}function Ra(e,t,n,r,o){n=n.render;var i=t.ref;return ii(t,o),r=aa(e,t,n,r,i,o),null===e||Fa?(t.flags|=1,Da(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~o,rl(e,t,o))}function za(e,t,n,r,o,i){if(null===e){var a=n.type;return"function"!=typeof a||Uu(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Yu(n.type,null,r,t,t.mode,i)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,Na(e,t,a,r,o,i))}return a=e.child,o&i||(o=a.memoizedProps,!(n=null!==(n=n.compare)?n:fr)(o,r)||e.ref!==t.ref)?(t.flags|=1,(e=Wu(a,r)).ref=t.ref,e.return=t,t.child=e):rl(e,t,i)}function Na(e,t,n,r,o,i){if(null!==e&&fr(e.memoizedProps,r)&&e.ref===t.ref){if(Fa=!1,!(i&o))return t.lanes=e.lanes,rl(e,t,i);16384&e.flags&&(Fa=!0)}return Wa(e,t,n,r,i)}function ja(e,t,n){var r=t.pendingProps,o=r.children,i=null!==e?e.memoizedState:null;if("hidden"===r.mode||"unstable-defer-without-hiding"===r.mode)if(4&t.mode){if(!(1073741824&n))return e=null!==i?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e},vu(0,e),null;t.memoizedState={baseLanes:0},vu(0,null!==i?i.baseLanes:n)}else t.memoizedState={baseLanes:0},vu(0,n);else null!==i?(r=i.baseLanes|n,t.memoizedState=null):r=n,vu(0,r);return Da(e,t,o,n),t.child}function Ua(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=128)}function Wa(e,t,n,r,o){var i=mo(n)?go:po.current;return i=yo(t,i),ii(t,o),n=aa(e,t,n,r,i,o),null===e||Fa?(t.flags|=1,Da(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~o,rl(e,t,o))}function Ya(e,t,n,r,o){if(mo(n)){var i=!0;wo(t)}else i=!1;if(ii(t,o),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),vi(t,n,r),wi(t,n,r,o),r=!0;else if(null===e){var a=t.stateNode,l=t.memoizedProps;a.props=l;var u=a.context,s=n.contextType;s="object"==typeof s&&null!==s?ai(s):yo(t,s=mo(n)?go:po.current);var c=n.getDerivedStateFromProps,f="function"==typeof c||"function"==typeof a.getSnapshotBeforeUpdate;f||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(l!==r||u!==s)&&ki(t,a,r,s),li=!1;var d=t.memoizedState;a.state=d,pi(t,r,a,o),u=t.memoizedState,l!==r||d!==u||ho.current||li?("function"==typeof c&&(yi(t,n,c,r),u=t.memoizedState),(l=li||bi(t,n,l,r,d,u,s))?(f||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||("function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"==typeof a.componentDidMount&&(t.flags|=4)):("function"==typeof a.componentDidMount&&(t.flags|=4),t.memoizedProps=r,t.memoizedState=u),a.props=r,a.state=u,a.context=s,r=l):("function"==typeof a.componentDidMount&&(t.flags|=4),r=!1)}else{a=t.stateNode,si(e,t),l=t.memoizedProps,s=t.type===t.elementType?l:Qo(t.type,l),a.props=s,f=t.pendingProps,d=a.context,u="object"==typeof(u=n.contextType)&&null!==u?ai(u):yo(t,u=mo(n)?go:po.current);var p=n.getDerivedStateFromProps;(c="function"==typeof p||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(l!==f||d!==u)&&ki(t,a,r,u),li=!1,d=t.memoizedState,a.state=d,pi(t,r,a,o);var h=t.memoizedState;l!==f||d!==h||ho.current||li?("function"==typeof p&&(yi(t,n,p,r),h=t.memoizedState),(s=li||bi(t,n,s,r,d,h,u))?(c||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(r,h,u),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,h,u)),"function"==typeof a.componentDidUpdate&&(t.flags|=4),"function"==typeof a.getSnapshotBeforeUpdate&&(t.flags|=256)):("function"!=typeof a.componentDidUpdate||l===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||l===e.memoizedProps&&d===e.memoizedState||(t.flags|=256),t.memoizedProps=r,t.memoizedState=h),a.props=r,a.state=h,a.context=u,r=s):("function"!=typeof a.componentDidUpdate||l===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||l===e.memoizedProps&&d===e.memoizedState||(t.flags|=256),r=!1)}return Xa(e,t,n,r,i,o)}function Xa(e,t,n,r,o,i){Ua(e,t);var a=!!(64&t.flags);if(!r&&!a)return o&&xo(t,n,!1),rl(e,t,i);r=t.stateNode,Ha.current=t;var l=a&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&a?(t.child=Bi(t,e.child,null,i),t.child=Bi(t,null,l,i)):Da(e,t,l,i),t.memoizedState=r.state,o&&xo(t,n,!0),t.child}function $a(e){var t=e.stateNode;t.pendingContext?vo(0,t.pendingContext,t.pendingContext!==t.context):t.context&&vo(0,t.context,!1),Ii(e,t.containerInfo)}var Ga,Va,qa,Ka,Qa={dehydrated:null,retryLane:0};function Ja(e,t,n){var r,o=t.pendingProps,i=Di.current,a=!1;return(r=!!(64&t.flags))||(r=(null===e||null!==e.memoizedState)&&!!(2&i)),r?(a=!0,t.flags&=-65):null!==e&&null===e.memoizedState||void 0===o.fallback||!0===o.unstable_avoidThisFallback||(i|=1),co(Di,1&i),null===e?(void 0!==o.fallback&&Yi(t),e=o.children,i=o.fallback,a?(e=Za(t,e,i,n),t.child.memoizedState={baseLanes:n},t.memoizedState=Qa,e):"number"==typeof o.unstable_expectedLoadTime?(e=Za(t,e,i,n),t.child.memoizedState={baseLanes:n},t.memoizedState=Qa,t.lanes=33554432,e):((n=$u({mode:"visible",children:e},t.mode,n,null)).return=t,t.child=n)):(e.memoizedState,a?(o=function(e,t,n,r,o){var i=t.mode,a=e.child;e=a.sibling;var l={mode:"hidden",children:n};return 2&i||t.child===a?n=Wu(a,l):((n=t.child).childLanes=0,n.pendingProps=l,null!==(a=n.lastEffect)?(t.firstEffect=n.firstEffect,t.lastEffect=a,a.nextEffect=null):t.firstEffect=t.lastEffect=null),null!==e?r=Wu(e,r):(r=Xu(r,i,o,null)).flags|=2,r.return=t,n.return=t,n.sibling=r,t.child=n,r}(e,t,o.children,o.fallback,n),a=t.child,i=e.child.memoizedState,a.memoizedState=null===i?{baseLanes:n}:{baseLanes:i.baseLanes|n},a.childLanes=e.childLanes&~n,t.memoizedState=Qa,o):(n=function(e,t,n,r){var o=e.child;return e=o.sibling,n=Wu(o,{mode:"visible",children:n}),!(2&t.mode)&&(n.lanes=r),n.return=t,n.sibling=null,null!==e&&(e.nextEffect=null,e.flags=8,t.firstEffect=t.lastEffect=e),t.child=n}(e,t,o.children,n),t.memoizedState=null,n))}function Za(e,t,n,r){var o=e.mode,i=e.child;return t={mode:"hidden",children:t},2&o||null===i?i=$u(t,o,0,null):(i.childLanes=0,i.pendingProps=t),n=Xu(n,o,r,null),i.return=e,n.return=e,i.sibling=n,e.child=i,n}function el(e,t){e.lanes|=t;var n=e.alternate;null!==n&&(n.lanes|=t),oi(e.return,t)}function tl(e,t,n,r,o,i){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o,lastEffect:i}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailMode=o,a.lastEffect=i)}function nl(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(Da(e,t,r.children,n),2&(r=Di.current))r=1&r|2,t.flags|=64;else{if(null!==e&&64&e.flags)e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&el(e,n);else if(19===e.tag)el(e,n);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(co(Di,r),2&t.mode)switch(o){case"forwards":for(n=t.child,o=null;null!==n;)null!==(e=n.alternate)&&null===Ri(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),tl(t,!1,o,n,i,t.lastEffect);break;case"backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===Ri(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}tl(t,!0,n,null,i,t.lastEffect);break;case"together":tl(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}else t.memoizedState=null;return t.child}function rl(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),zl|=t.lanes,n&t.childLanes){if(null!==e&&t.child!==e.child)throw Error(a(153));if(null!==t.child){for(n=Wu(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Wu(e,e.pendingProps)).return=t;n.sibling=null}return t.child}return null}function ol(e,t){if(!ji)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function il(e,t,n){var r=t.pendingProps;switch(t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:case 17:return mo(t.type)&&bo(),null;case 3:return Mi(),so(ho),so(po),qi(),(r=t.stateNode).pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||($i(t)?t.flags|=4:r.hydrate||(t.flags|=256)),Va(t),null;case 5:Fi(t);var i=Oi(Ti.current);if(n=t.type,null!==e&&null!=t.stateNode)qa(e,t,n,r,i),e.ref!==t.ref&&(t.flags|=128);else{if(!r){if(null===t.stateNode)throw Error(a(166));return null}if(e=Oi(Ai.current),$i(t)){r=t.stateNode,n=t.type;var l=t.memoizedProps;switch(r[Qr]=t,r[Jr]=l,n){case"dialog":Ar("cancel",r),Ar("close",r);break;case"iframe":case"object":case"embed":Ar("load",r);break;case"video":case"audio":for(e=0;e<Pr.length;e++)Ar(Pr[e],r);break;case"source":Ar("error",r);break;case"img":case"image":case"link":Ar("error",r),Ar("load",r);break;case"details":Ar("toggle",r);break;case"input":ee(r,l),Ar("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!l.multiple},Ar("invalid",r);break;case"textarea":ue(r,l),Ar("invalid",r)}for(var s in Se(n,l),e=null,l)l.hasOwnProperty(s)&&(i=l[s],"children"===s?"string"==typeof i?r.textContent!==i&&(e=["children",i]):"number"==typeof i&&r.textContent!==""+i&&(e=["children",""+i]):u.hasOwnProperty(s)&&null!=i&&"onScroll"===s&&Ar("scroll",r));switch(n){case"input":K(r),re(r,l,!0);break;case"textarea":K(r),ce(r);break;case"select":case"option":break;default:"function"==typeof l.onClick&&(r.onclick=zr)}r=e,t.updateQueue=r,null!==r&&(t.flags|=4)}else{switch(s=9===i.nodeType?i:i.ownerDocument,e===fe.html&&(e=de(n)),e===fe.html?"script"===n?((e=s.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),"select"===n&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[Qr]=t,e[Jr]=r,Ga(e,t,!1,!1),t.stateNode=e,s=Ce(n,r),n){case"dialog":Ar("cancel",e),Ar("close",e),i=r;break;case"iframe":case"object":case"embed":Ar("load",e),i=r;break;case"video":case"audio":for(i=0;i<Pr.length;i++)Ar(Pr[i],e);i=r;break;case"source":Ar("error",e),i=r;break;case"img":case"image":case"link":Ar("error",e),Ar("load",e),i=r;break;case"details":Ar("toggle",e),i=r;break;case"input":ee(e,r),i=Z(e,r),Ar("invalid",e);break;case"option":i=ie(e,r);break;case"select":e._wrapperState={wasMultiple:!!r.multiple},i=o({},r,{value:void 0}),Ar("invalid",e);break;case"textarea":ue(e,r),i=le(e,r),Ar("invalid",e);break;default:i=r}Se(n,i);var c=i;for(l in c)if(c.hasOwnProperty(l)){var f=c[l];"style"===l?we(e,f):"dangerouslySetInnerHTML"===l?null!=(f=f?f.__html:void 0)&&ye(e,f):"children"===l?"string"==typeof f?("textarea"!==n||""!==f)&&me(e,f):"number"==typeof f&&me(e,""+f):"suppressContentEditableWarning"!==l&&"suppressHydrationWarning"!==l&&"autoFocus"!==l&&(u.hasOwnProperty(l)?null!=f&&"onScroll"===l&&Ar("scroll",e):null!=f&&k(e,l,f,s))}switch(n){case"input":K(e),re(e,r,!1);break;case"textarea":K(e),ce(e);break;case"option":null!=r.value&&e.setAttribute("value",""+V(r.value));break;case"select":e.multiple=!!r.multiple,null!=(l=r.value)?ae(e,!!r.multiple,l,!1):null!=r.defaultValue&&ae(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof i.onClick&&(e.onclick=zr)}Ur(n,r)&&(t.flags|=4)}null!==t.ref&&(t.flags|=128)}return null;case 6:if(e&&null!=t.stateNode)Ka(e,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(a(166));n=Oi(Ti.current),Oi(Ai.current),$i(t)?(r=t.stateNode,n=t.memoizedProps,r[Qr]=t,r.nodeValue!==n&&(t.flags|=4)):((r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[Qr]=t,t.stateNode=r)}return null;case 13:return so(Di),r=t.memoizedState,64&t.flags?(t.lanes=n,t):(r=null!==r,n=!1,null===e?void 0!==t.memoizedProps.fallback&&$i(t):n=null!==e.memoizedState,r&&!n&&2&t.mode&&(null===e&&!0!==t.memoizedProps.unstable_avoidThisFallback||1&Di.current?0===Fl&&(Fl=3):(0!==Fl&&3!==Fl||(Fl=4),null===Tl||!(134217727&zl)&&!(134217727&Nl)||yu(Tl,Il))),(r||n)&&(t.flags|=4),null);case 4:return Mi(),Va(t),null===e&&Tr(t.stateNode.containerInfo),null;case 10:return ri(t),null;case 19:if(so(Di),null===(r=t.memoizedState))return null;if(l=!!(64&t.flags),null===(s=r.rendering))if(l)ol(r,!1);else{if(0!==Fl||null!==e&&64&e.flags)for(e=t.child;null!==e;){if(null!==(s=Ri(e))){for(t.flags|=64,ol(r,!1),null!==(l=s.updateQueue)&&(t.updateQueue=l,t.flags|=4),null===r.lastEffect&&(t.firstEffect=null),t.lastEffect=r.lastEffect,r=n,n=t.child;null!==n;)e=r,(l=n).flags&=2,l.nextEffect=null,l.firstEffect=null,l.lastEffect=null,null===(s=l.alternate)?(l.childLanes=0,l.lanes=e,l.child=null,l.memoizedProps=null,l.memoizedState=null,l.updateQueue=null,l.dependencies=null,l.stateNode=null):(l.childLanes=s.childLanes,l.lanes=s.lanes,l.child=s.child,l.memoizedProps=s.memoizedProps,l.memoizedState=s.memoizedState,l.updateQueue=s.updateQueue,l.type=s.type,e=s.dependencies,l.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return co(Di,1&Di.current|2),t.child}e=e.sibling}null!==r.tail&&Wo()>Yl&&(t.flags|=64,l=!0,ol(r,!1),t.lanes=33554432)}else{if(!l)if(null!==(e=Ri(s))){if(t.flags|=64,l=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),ol(r,!0),null===r.tail&&"hidden"===r.tailMode&&!s.alternate&&!ji)return null!==(t=t.lastEffect=r.lastEffect)&&(t.nextEffect=null),null}else 2*Wo()-r.renderingStartTime>Yl&&1073741824!==n&&(t.flags|=64,l=!0,ol(r,!1),t.lanes=33554432);r.isBackwards?(s.sibling=t.child,t.child=s):(null!==(n=r.last)?n.sibling=s:t.child=s,r.last=s)}return null!==r.tail?(n=r.tail,r.rendering=n,r.tail=n.sibling,r.lastEffect=t.lastEffect,r.renderingStartTime=Wo(),n.sibling=null,t=Di.current,co(Di,l?1&t|2:1&t),n):null;case 23:case 24:return ku(),null!==e&&null!==e.memoizedState!=(null!==t.memoizedState)&&"unstable-defer-without-hiding"!==r.mode&&(t.flags|=4),null}throw Error(a(156,t.tag))}function al(e){switch(e.tag){case 1:mo(e.type)&&bo();var t=e.flags;return 4096&t?(e.flags=-4097&t|64,e):null;case 3:if(Mi(),so(ho),so(po),qi(),64&(t=e.flags))throw Error(a(285));return e.flags=-4097&t|64,e;case 5:return Fi(e),null;case 13:return so(Di),4096&(t=e.flags)?(e.flags=-4097&t|64,e):null;case 19:return so(Di),null;case 4:return Mi(),null;case 10:return ri(e),null;case 23:case 24:return ku(),null;default:return null}}function ll(e,t){try{var n="",r=t;do{n+=$(r),r=r.return}while(r);var o=n}catch(e){o="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:o}}function ul(e,t){try{console.error(t.value)}catch(e){setTimeout((function(){throw e}))}}Ga=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Va=function(){},qa=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,Oi(Ai.current);var a,l=null;switch(n){case"input":i=Z(e,i),r=Z(e,r),l=[];break;case"option":i=ie(e,i),r=ie(e,r),l=[];break;case"select":i=o({},i,{value:void 0}),r=o({},r,{value:void 0}),l=[];break;case"textarea":i=le(e,i),r=le(e,r),l=[];break;default:"function"!=typeof i.onClick&&"function"==typeof r.onClick&&(e.onclick=zr)}for(f in Se(n,r),n=null,i)if(!r.hasOwnProperty(f)&&i.hasOwnProperty(f)&&null!=i[f])if("style"===f){var s=i[f];for(a in s)s.hasOwnProperty(a)&&(n||(n={}),n[a]="")}else"dangerouslySetInnerHTML"!==f&&"children"!==f&&"suppressContentEditableWarning"!==f&&"suppressHydrationWarning"!==f&&"autoFocus"!==f&&(u.hasOwnProperty(f)?l||(l=[]):(l=l||[]).push(f,null));for(f in r){var c=r[f];if(s=null!=i?i[f]:void 0,r.hasOwnProperty(f)&&c!==s&&(null!=c||null!=s))if("style"===f)if(s){for(a in s)!s.hasOwnProperty(a)||c&&c.hasOwnProperty(a)||(n||(n={}),n[a]="");for(a in c)c.hasOwnProperty(a)&&s[a]!==c[a]&&(n||(n={}),n[a]=c[a])}else n||(l||(l=[]),l.push(f,n)),n=c;else"dangerouslySetInnerHTML"===f?(c=c?c.__html:void 0,s=s?s.__html:void 0,null!=c&&s!==c&&(l=l||[]).push(f,c)):"children"===f?"string"!=typeof c&&"number"!=typeof c||(l=l||[]).push(f,""+c):"suppressContentEditableWarning"!==f&&"suppressHydrationWarning"!==f&&(u.hasOwnProperty(f)?(null!=c&&"onScroll"===f&&Ar("scroll",e),l||s===c||(l=[])):"object"==typeof c&&null!==c&&c.$$typeof===H?c.toString():(l=l||[]).push(f,c))}n&&(l=l||[]).push("style",n);var f=l;(t.updateQueue=f)&&(t.flags|=4)}},Ka=function(e,t,n,r){n!==r&&(t.flags|=4)};var sl="function"==typeof WeakMap?WeakMap:Map;function cl(e,t,n){(n=ci(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Vl||(Vl=!0,ql=r),ul(0,t)},n}function fl(e,t,n){(n=ci(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var o=t.value;n.payload=function(){return ul(0,t),r(o)}}var i=e.stateNode;return null!==i&&"function"==typeof i.componentDidCatch&&(n.callback=function(){"function"!=typeof r&&(null===Kl?Kl=new Set([this]):Kl.add(this),ul(0,t));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}var dl="function"==typeof WeakSet?WeakSet:Set;function pl(e){var t=e.ref;if(null!==t)if("function"==typeof t)try{t(null)}catch(t){Du(e,t)}else t.current=null}function hl(e,t){switch(t.tag){case 0:case 11:case 15:case 22:case 5:case 6:case 4:case 17:return;case 1:if(256&t.flags&&null!==e){var n=e.memoizedProps,r=e.memoizedState;t=(e=t.stateNode).getSnapshotBeforeUpdate(t.elementType===t.type?n:Qo(t.type,n),r),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:return void(256&t.flags&&$r(t.stateNode.containerInfo))}throw Error(a(163))}function gl(e,t,n){switch(n.tag){case 0:case 11:case 15:case 22:if(null!==(t=null!==(t=n.updateQueue)?t.lastEffect:null)){e=t=t.next;do{if(!(3&~e.tag)){var r=e.create;e.destroy=r()}e=e.next}while(e!==t)}if(null!==(t=null!==(t=n.updateQueue)?t.lastEffect:null)){e=t=t.next;do{var o=e;r=o.next,4&(o=o.tag)&&1&o&&(Mu(n,e),Iu(n,e)),e=r}while(e!==t)}return;case 1:return e=n.stateNode,4&n.flags&&(null===t?e.componentDidMount():(r=n.elementType===n.type?t.memoizedProps:Qo(n.type,t.memoizedProps),e.componentDidUpdate(r,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate))),void(null!==(t=n.updateQueue)&&hi(n,t,e));case 3:if(null!==(t=n.updateQueue)){if(e=null,null!==n.child)switch(n.child.tag){case 5:case 1:e=n.child.stateNode}hi(n,t,e)}return;case 5:return e=n.stateNode,void(null===t&&4&n.flags&&Ur(n.type,n.memoizedProps)&&e.focus());case 6:case 4:case 12:case 19:case 17:case 20:case 21:case 23:case 24:return;case 13:return void(null===n.memoizedState&&(n=n.alternate,null!==n&&(n=n.memoizedState,null!==n&&(n=n.dehydrated,null!==n&&wt(n)))))}throw Error(a(163))}function yl(e,t){for(var n=e;;){if(5===n.tag){var r=n.stateNode;if(t)"function"==typeof(r=r.style).setProperty?r.setProperty("display","none","important"):r.display="none";else{r=n.stateNode;var o=n.memoizedProps.style;o=null!=o&&o.hasOwnProperty("display")?o.display:null,r.style.display=ke("display",o)}}else if(6===n.tag)n.stateNode.nodeValue=t?"":n.memoizedProps;else if((23!==n.tag&&24!==n.tag||null===n.memoizedState||n===e)&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===e)break;for(;null===n.sibling;){if(null===n.return||n.return===e)return;n=n.return}n.sibling.return=n.return,n=n.sibling}}function ml(e,t){if(Co&&"function"==typeof Co.onCommitFiberUnmount)try{Co.onCommitFiberUnmount(So,t)}catch(e){}switch(t.tag){case 0:case 11:case 14:case 15:case 22:if(null!==(e=t.updateQueue)&&null!==(e=e.lastEffect)){var n=e=e.next;do{var r=n,o=r.destroy;if(r=r.tag,void 0!==o)if(4&r)Mu(t,n);else{r=t;try{o()}catch(e){Du(r,e)}}n=n.next}while(n!==e)}break;case 1:if(pl(t),"function"==typeof(e=t.stateNode).componentWillUnmount)try{e.props=t.memoizedProps,e.state=t.memoizedState,e.componentWillUnmount()}catch(e){Du(t,e)}break;case 5:pl(t);break;case 4:Sl(e,t)}}function bl(e){e.alternate=null,e.child=null,e.dependencies=null,e.firstEffect=null,e.lastEffect=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.return=null,e.updateQueue=null}function vl(e){return 5===e.tag||3===e.tag||4===e.tag}function kl(e){e:{for(var t=e.return;null!==t;){if(vl(t))break e;t=t.return}throw Error(a(160))}var n=t;switch(t=n.stateNode,n.tag){case 5:var r=!1;break;case 3:case 4:t=t.containerInfo,r=!0;break;default:throw Error(a(161))}16&n.flags&&(me(t,""),n.flags&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||vl(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag&&18!==n.tag;){if(2&n.flags)continue t;if(null===n.child||4===n.tag)continue t;n.child.return=n,n=n.child}if(!(2&n.flags)){n=n.stateNode;break e}}r?wl(e,n,t):xl(e,n,t)}function wl(e,t,n){var r=e.tag,o=5===r||6===r;if(o)e=o?e.stateNode:e.stateNode.instance,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=zr));else if(4!==r&&null!==(e=e.child))for(wl(e,t,n),e=e.sibling;null!==e;)wl(e,t,n),e=e.sibling}function xl(e,t,n){var r=e.tag,o=5===r||6===r;if(o)e=o?e.stateNode:e.stateNode.instance,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(xl(e,t,n),e=e.sibling;null!==e;)xl(e,t,n),e=e.sibling}function Sl(e,t){for(var n,r,o=t,i=!1;;){if(!i){i=o.return;e:for(;;){if(null===i)throw Error(a(160));switch(n=i.stateNode,i.tag){case 5:r=!1;break e;case 3:case 4:n=n.containerInfo,r=!0;break e}i=i.return}i=!0}if(5===o.tag||6===o.tag){e:for(var l=e,u=o,s=u;;)if(ml(l,s),null!==s.child&&4!==s.tag)s.child.return=s,s=s.child;else{if(s===u)break e;for(;null===s.sibling;){if(null===s.return||s.return===u)break e;s=s.return}s.sibling.return=s.return,s=s.sibling}r?(l=n,u=o.stateNode,8===l.nodeType?l.parentNode.removeChild(u):l.removeChild(u)):n.removeChild(o.stateNode)}else if(4===o.tag){if(null!==o.child){n=o.stateNode.containerInfo,r=!0,o.child.return=o,o=o.child;continue}}else if(ml(e,o),null!==o.child){o.child.return=o,o=o.child;continue}if(o===t)break;for(;null===o.sibling;){if(null===o.return||o.return===t)return;4===(o=o.return).tag&&(i=!1)}o.sibling.return=o.return,o=o.sibling}}function Cl(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 22:var n=t.updateQueue;if(null!==(n=null!==n?n.lastEffect:null)){var r=n=n.next;do{!(3&~r.tag)&&(e=r.destroy,r.destroy=void 0,void 0!==e&&e()),r=r.next}while(r!==n)}return;case 1:case 12:case 17:return;case 5:if(null!=(n=t.stateNode)){r=t.memoizedProps;var o=null!==e?e.memoizedProps:r;e=t.type;var i=t.updateQueue;if(t.updateQueue=null,null!==i){for(n[Jr]=r,"input"===e&&"radio"===r.type&&null!=r.name&&te(n,r),Ce(e,o),t=Ce(e,r),o=0;o<i.length;o+=2){var l=i[o],u=i[o+1];"style"===l?we(n,u):"dangerouslySetInnerHTML"===l?ye(n,u):"children"===l?me(n,u):k(n,l,u,t)}switch(e){case"input":ne(n,r);break;case"textarea":se(n,r);break;case"select":e=n._wrapperState.wasMultiple,n._wrapperState.wasMultiple=!!r.multiple,null!=(i=r.value)?ae(n,!!r.multiple,i,!1):e!==!!r.multiple&&(null!=r.defaultValue?ae(n,!!r.multiple,r.defaultValue,!0):ae(n,!!r.multiple,r.multiple?[]:"",!1))}}}return;case 6:if(null===t.stateNode)throw Error(a(162));return void(t.stateNode.nodeValue=t.memoizedProps);case 3:return void((n=t.stateNode).hydrate&&(n.hydrate=!1,wt(n.containerInfo)));case 13:return null!==t.memoizedState&&(Wl=Wo(),yl(t.child,!0)),void Pl(t);case 19:return void Pl(t);case 23:case 24:return void yl(t,null!==t.memoizedState)}throw Error(a(163))}function Pl(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new dl),t.forEach((function(t){var r=zu.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function Bl(e,t){return null!==e&&(null===(e=e.memoizedState)||null!==e.dehydrated)&&null!==(t=t.memoizedState)&&null===t.dehydrated}var Ll=Math.ceil,El=w.ReactCurrentDispatcher,Al=w.ReactCurrentOwner,_l=0,Tl=null,Ol=null,Il=0,Ml=0,Hl=uo(0),Fl=0,Dl=null,Rl=0,zl=0,Nl=0,jl=0,Ul=null,Wl=0,Yl=1/0;function Xl(){Yl=Wo()+500}var $l,Gl=null,Vl=!1,ql=null,Kl=null,Ql=!1,Jl=null,Zl=90,eu=[],tu=[],nu=null,ru=0,ou=null,iu=-1,au=0,lu=0,uu=null,su=!1;function cu(){return 48&_l?Wo():-1!==iu?iu:iu=Wo()}function fu(e){if(!(2&(e=e.mode)))return 1;if(!(4&e))return 99===Yo()?1:2;if(0===au&&(au=Rl),0!==Ko.transition){0!==lu&&(lu=null!==Ul?Ul.pendingLanes:0),e=au;var t=4186112&~lu;return 0==(t&=-t)&&0==(t=(e=4186112&~e)&-e)&&(t=8192),t}return e=Yo(),e=zt(4&_l&&98===e?12:e=function(e){switch(e){case 99:return 15;case 98:return 10;case 97:case 96:return 8;case 95:return 2;default:return 0}}(e),au)}function du(e,t,n){if(50<ru)throw ru=0,ou=null,Error(a(185));if(null===(e=pu(e,t)))return null;Ut(e,t,n),e===Tl&&(Nl|=t,4===Fl&&yu(e,Il));var r=Yo();1===t?8&_l&&!(48&_l)?mu(e):(hu(e,n),0===_l&&(Xl(),Vo())):(!(4&_l)||98!==r&&99!==r||(null===nu?nu=new Set([e]):nu.add(e)),hu(e,n)),Ul=e}function pu(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}function hu(e,t){for(var n=e.callbackNode,r=e.suspendedLanes,o=e.pingedLanes,i=e.expirationTimes,l=e.pendingLanes;0<l;){var u=31-Wt(l),s=1<<u,c=i[u];if(-1===c){if(!(s&r)||s&o){c=t,Ft(s);var f=Ht;i[u]=10<=f?c+250:6<=f?c+5e3:-1}}else c<=t&&(e.expiredLanes|=s);l&=~s}if(r=Dt(e,e===Tl?Il:0),t=Ht,0===r)null!==n&&(n!==Do&&Lo(n),e.callbackNode=null,e.callbackPriority=0);else{if(null!==n){if(e.callbackPriority===t)return;n!==Do&&Lo(n)}15===t?(n=mu.bind(null,e),null===zo?(zo=[n],No=Bo(Oo,qo)):zo.push(n),n=Do):14===t?n=Go(99,mu.bind(null,e)):(n=function(e){switch(e){case 15:case 14:return 99;case 13:case 12:case 11:case 10:return 98;case 9:case 8:case 7:case 6:case 4:case 5:return 97;case 3:case 2:case 1:return 95;case 0:return 90;default:throw Error(a(358,e))}}(t),n=Go(n,gu.bind(null,e))),e.callbackPriority=t,e.callbackNode=n}}function gu(e){if(iu=-1,lu=au=0,48&_l)throw Error(a(327));var t=e.callbackNode;if(Ou()&&e.callbackNode!==t)return null;var n=Dt(e,e===Tl?Il:0);if(0===n)return null;var r=n,o=_l;_l|=16;var i=Su();for(Tl===e&&Il===r||(Xl(),wu(e,r));;)try{Bu();break}catch(t){xu(e,t)}if(ni(),El.current=i,_l=o,null!==Ol?r=0:(Tl=null,Il=0,r=Fl),Rl&Nl)wu(e,0);else if(0!==r){if(2===r&&(_l|=64,e.hydrate&&(e.hydrate=!1,$r(e.containerInfo)),0!==(n=Rt(e))&&(r=Cu(e,n))),1===r)throw t=Dl,wu(e,0),yu(e,n),hu(e,Wo()),t;switch(e.finishedWork=e.current.alternate,e.finishedLanes=n,r){case 0:case 1:throw Error(a(345));case 2:case 5:Au(e);break;case 3:if(yu(e,n),(62914560&n)===n&&10<(r=Wl+500-Wo())){if(0!==Dt(e,0))break;if(((o=e.suspendedLanes)&n)!==n){cu(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=Yr(Au.bind(null,e),r);break}Au(e);break;case 4:if(yu(e,n),(4186112&n)===n)break;for(r=e.eventTimes,o=-1;0<n;){var l=31-Wt(n);i=1<<l,(l=r[l])>o&&(o=l),n&=~i}if(n=o,10<(n=(120>(n=Wo()-n)?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*Ll(n/1960))-n)){e.timeoutHandle=Yr(Au.bind(null,e),n);break}Au(e);break;default:throw Error(a(329))}}return hu(e,Wo()),e.callbackNode===t?gu.bind(null,e):null}function yu(e,t){for(t&=~jl,t&=~Nl,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Wt(t),r=1<<n;e[n]=-1,t&=~r}}function mu(e){if(48&_l)throw Error(a(327));if(Ou(),e===Tl&&e.expiredLanes&Il){var t=Il,n=Cu(e,t);Rl&Nl&&(n=Cu(e,t=Dt(e,t)))}else n=Cu(e,t=Dt(e,0));if(0!==e.tag&&2===n&&(_l|=64,e.hydrate&&(e.hydrate=!1,$r(e.containerInfo)),0!==(t=Rt(e))&&(n=Cu(e,t))),1===n)throw n=Dl,wu(e,0),yu(e,t),hu(e,Wo()),n;return e.finishedWork=e.current.alternate,e.finishedLanes=t,Au(e),hu(e,Wo()),null}function bu(e,t){var n=_l;_l&=-2,_l|=8;try{return e(t)}finally{0===(_l=n)&&(Xl(),Vo())}}function vu(e,t){co(Hl,Ml),Ml|=t,Rl|=t}function ku(){Ml=Hl.current,so(Hl)}function wu(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,Xr(n)),null!==Ol)for(n=Ol.return;null!==n;){var r=n;switch(r.tag){case 1:null!=(r=r.type.childContextTypes)&&bo();break;case 3:Mi(),so(ho),so(po),qi();break;case 5:Fi(r);break;case 4:Mi();break;case 13:case 19:so(Di);break;case 10:ri(r);break;case 23:case 24:ku()}n=n.return}Tl=e,Ol=Wu(e.current,null),Il=Ml=Rl=t,Fl=0,Dl=null,jl=Nl=zl=0}function xu(e,t){for(;;){var n=Ol;try{if(ni(),Ki.current=Ta,na){for(var r=Zi.memoizedState;null!==r;){var o=r.queue;null!==o&&(o.pending=null),r=r.next}na=!1}if(Ji=0,ta=ea=Zi=null,ra=!1,Al.current=null,null===n||null===n.return){Fl=1,Dl=t,Ol=null;break}e:{var i=e,a=n.return,l=n,u=t;if(t=Il,l.flags|=2048,l.firstEffect=l.lastEffect=null,null!==u&&"object"==typeof u&&"function"==typeof u.then){var s=u;if(!(2&l.mode)){var c=l.alternate;c?(l.updateQueue=c.updateQueue,l.memoizedState=c.memoizedState,l.lanes=c.lanes):(l.updateQueue=null,l.memoizedState=null)}var f=!!(1&Di.current),d=a;do{var p;if(p=13===d.tag){var h=d.memoizedState;if(null!==h)p=null!==h.dehydrated;else{var g=d.memoizedProps;p=void 0!==g.fallback&&(!0!==g.unstable_avoidThisFallback||!f)}}if(p){var y=d.updateQueue;if(null===y){var m=new Set;m.add(s),d.updateQueue=m}else y.add(s);if(!(2&d.mode)){if(d.flags|=64,l.flags|=16384,l.flags&=-2981,1===l.tag)if(null===l.alternate)l.tag=17;else{var b=ci(-1,1);b.tag=2,fi(l,b)}l.lanes|=1;break e}u=void 0,l=t;var v=i.pingCache;if(null===v?(v=i.pingCache=new sl,u=new Set,v.set(s,u)):void 0===(u=v.get(s))&&(u=new Set,v.set(s,u)),!u.has(l)){u.add(l);var k=Ru.bind(null,i,s,l);s.then(k,k)}d.flags|=4096,d.lanes=t;break e}d=d.return}while(null!==d);u=Error((G(l.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display.")}5!==Fl&&(Fl=2),u=ll(u,l),d=a;do{switch(d.tag){case 3:i=u,d.flags|=4096,t&=-t,d.lanes|=t,di(d,cl(0,i,t));break e;case 1:i=u;var w=d.type,x=d.stateNode;if(!(64&d.flags||"function"!=typeof w.getDerivedStateFromError&&(null===x||"function"!=typeof x.componentDidCatch||null!==Kl&&Kl.has(x)))){d.flags|=4096,t&=-t,d.lanes|=t,di(d,fl(d,i,t));break e}}d=d.return}while(null!==d)}Eu(n)}catch(e){t=e,Ol===n&&null!==n&&(Ol=n=n.return);continue}break}}function Su(){var e=El.current;return El.current=Ta,null===e?Ta:e}function Cu(e,t){var n=_l;_l|=16;var r=Su();for(Tl===e&&Il===t||wu(e,t);;)try{Pu();break}catch(t){xu(e,t)}if(ni(),_l=n,El.current=r,null!==Ol)throw Error(a(261));return Tl=null,Il=0,Fl}function Pu(){for(;null!==Ol;)Lu(Ol)}function Bu(){for(;null!==Ol&&!Eo();)Lu(Ol)}function Lu(e){var t=$l(e.alternate,e,Ml);e.memoizedProps=e.pendingProps,null===t?Eu(e):Ol=t,Al.current=null}function Eu(e){var t=e;do{var n=t.alternate;if(e=t.return,2048&t.flags){if(null!==(n=al(t)))return n.flags&=2047,void(Ol=n);null!==e&&(e.firstEffect=e.lastEffect=null,e.flags|=2048)}else{if(null!==(n=il(n,t,Ml)))return void(Ol=n);if(24!==(n=t).tag&&23!==n.tag||null===n.memoizedState||1073741824&Ml||!(4&n.mode)){for(var r=0,o=n.child;null!==o;)r|=o.lanes|o.childLanes,o=o.sibling;n.childLanes=r}null!==e&&!(2048&e.flags)&&(null===e.firstEffect&&(e.firstEffect=t.firstEffect),null!==t.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=t.firstEffect),e.lastEffect=t.lastEffect),1<t.flags&&(null!==e.lastEffect?e.lastEffect.nextEffect=t:e.firstEffect=t,e.lastEffect=t))}if(null!==(t=t.sibling))return void(Ol=t);Ol=t=e}while(null!==t);0===Fl&&(Fl=5)}function Au(e){var t=Yo();return $o(99,_u.bind(null,e,t)),null}function _u(e,t){do{Ou()}while(null!==Jl);if(48&_l)throw Error(a(327));var n=e.finishedWork;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(a(177));e.callbackNode=null;var r=n.lanes|n.childLanes,o=r,i=e.pendingLanes&~o;e.pendingLanes=o,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=o,e.mutableReadLanes&=o,e.entangledLanes&=o,o=e.entanglements;for(var l=e.eventTimes,u=e.expirationTimes;0<i;){var s=31-Wt(i),c=1<<s;o[s]=0,l[s]=-1,u[s]=-1,i&=~c}if(null!==nu&&!(24&r)&&nu.has(e)&&nu.delete(e),e===Tl&&(Ol=Tl=null,Il=0),1<n.flags?null!==n.lastEffect?(n.lastEffect.nextEffect=n,r=n.firstEffect):r=n:r=n.firstEffect,null!==r){if(o=_l,_l|=32,Al.current=null,Nr=Vt,yr(l=gr())){if("selectionStart"in l)u={start:l.selectionStart,end:l.selectionEnd};else e:if(u=(u=l.ownerDocument)&&u.defaultView||window,(c=u.getSelection&&u.getSelection())&&0!==c.rangeCount){u=c.anchorNode,i=c.anchorOffset,s=c.focusNode,c=c.focusOffset;try{u.nodeType,s.nodeType}catch(e){u=null;break e}var f=0,d=-1,p=-1,h=0,g=0,y=l,m=null;t:for(;;){for(var b;y!==u||0!==i&&3!==y.nodeType||(d=f+i),y!==s||0!==c&&3!==y.nodeType||(p=f+c),3===y.nodeType&&(f+=y.nodeValue.length),null!==(b=y.firstChild);)m=y,y=b;for(;;){if(y===l)break t;if(m===u&&++h===i&&(d=f),m===s&&++g===c&&(p=f),null!==(b=y.nextSibling))break;m=(y=m).parentNode}y=b}u=-1===d||-1===p?null:{start:d,end:p}}else u=null;u=u||{start:0,end:0}}else u=null;jr={focusedElem:l,selectionRange:u},Vt=!1,uu=null,su=!1,Gl=r;do{try{Tu()}catch(e){if(null===Gl)throw Error(a(330));Du(Gl,e),Gl=Gl.nextEffect}}while(null!==Gl);uu=null,Gl=r;do{try{for(l=e;null!==Gl;){var v=Gl.flags;if(16&v&&me(Gl.stateNode,""),128&v){var k=Gl.alternate;if(null!==k){var w=k.ref;null!==w&&("function"==typeof w?w(null):w.current=null)}}switch(1038&v){case 2:kl(Gl),Gl.flags&=-3;break;case 6:kl(Gl),Gl.flags&=-3,Cl(Gl.alternate,Gl);break;case 1024:Gl.flags&=-1025;break;case 1028:Gl.flags&=-1025,Cl(Gl.alternate,Gl);break;case 4:Cl(Gl.alternate,Gl);break;case 8:Sl(l,u=Gl);var x=u.alternate;bl(u),null!==x&&bl(x)}Gl=Gl.nextEffect}}catch(e){if(null===Gl)throw Error(a(330));Du(Gl,e),Gl=Gl.nextEffect}}while(null!==Gl);if(w=jr,k=gr(),v=w.focusedElem,l=w.selectionRange,k!==v&&v&&v.ownerDocument&&hr(v.ownerDocument.documentElement,v)){null!==l&&yr(v)&&(k=l.start,void 0===(w=l.end)&&(w=k),"selectionStart"in v?(v.selectionStart=k,v.selectionEnd=Math.min(w,v.value.length)):(w=(k=v.ownerDocument||document)&&k.defaultView||window).getSelection&&(w=w.getSelection(),u=v.textContent.length,x=Math.min(l.start,u),l=void 0===l.end?x:Math.min(l.end,u),!w.extend&&x>l&&(u=l,l=x,x=u),u=pr(v,x),i=pr(v,l),u&&i&&(1!==w.rangeCount||w.anchorNode!==u.node||w.anchorOffset!==u.offset||w.focusNode!==i.node||w.focusOffset!==i.offset)&&((k=k.createRange()).setStart(u.node,u.offset),w.removeAllRanges(),x>l?(w.addRange(k),w.extend(i.node,i.offset)):(k.setEnd(i.node,i.offset),w.addRange(k))))),k=[];for(w=v;w=w.parentNode;)1===w.nodeType&&k.push({element:w,left:w.scrollLeft,top:w.scrollTop});for("function"==typeof v.focus&&v.focus(),v=0;v<k.length;v++)(w=k[v]).element.scrollLeft=w.left,w.element.scrollTop=w.top}Vt=!!Nr,jr=Nr=null,e.current=n,Gl=r;do{try{for(v=e;null!==Gl;){var S=Gl.flags;if(36&S&&gl(v,Gl.alternate,Gl),128&S){k=void 0;var C=Gl.ref;if(null!==C){var P=Gl.stateNode;Gl.tag,k=P,"function"==typeof C?C(k):C.current=k}}Gl=Gl.nextEffect}}catch(e){if(null===Gl)throw Error(a(330));Du(Gl,e),Gl=Gl.nextEffect}}while(null!==Gl);Gl=null,Ro(),_l=o}else e.current=n;if(Ql)Ql=!1,Jl=e,Zl=t;else for(Gl=r;null!==Gl;)t=Gl.nextEffect,Gl.nextEffect=null,8&Gl.flags&&((S=Gl).sibling=null,S.stateNode=null),Gl=t;if(0===(r=e.pendingLanes)&&(Kl=null),1===r?e===ou?ru++:(ru=0,ou=e):ru=0,n=n.stateNode,Co&&"function"==typeof Co.onCommitFiberRoot)try{Co.onCommitFiberRoot(So,n,void 0,!(64&~n.current.flags))}catch(e){}if(hu(e,Wo()),Vl)throw Vl=!1,e=ql,ql=null,e;return 8&_l||Vo(),null}function Tu(){for(;null!==Gl;){var e=Gl.alternate;su||null===uu||(8&Gl.flags?Ze(Gl,uu)&&(su=!0):13===Gl.tag&&Bl(e,Gl)&&Ze(Gl,uu)&&(su=!0));var t=Gl.flags;256&t&&hl(e,Gl),!(512&t)||Ql||(Ql=!0,Go(97,(function(){return Ou(),null}))),Gl=Gl.nextEffect}}function Ou(){if(90!==Zl){var e=97<Zl?97:Zl;return Zl=90,$o(e,Hu)}return!1}function Iu(e,t){eu.push(t,e),Ql||(Ql=!0,Go(97,(function(){return Ou(),null})))}function Mu(e,t){tu.push(t,e),Ql||(Ql=!0,Go(97,(function(){return Ou(),null})))}function Hu(){if(null===Jl)return!1;var e=Jl;if(Jl=null,48&_l)throw Error(a(331));var t=_l;_l|=32;var n=tu;tu=[];for(var r=0;r<n.length;r+=2){var o=n[r],i=n[r+1],l=o.destroy;if(o.destroy=void 0,"function"==typeof l)try{l()}catch(e){if(null===i)throw Error(a(330));Du(i,e)}}for(n=eu,eu=[],r=0;r<n.length;r+=2){o=n[r],i=n[r+1];try{var u=o.create;o.destroy=u()}catch(e){if(null===i)throw Error(a(330));Du(i,e)}}for(u=e.current.firstEffect;null!==u;)e=u.nextEffect,u.nextEffect=null,8&u.flags&&(u.sibling=null,u.stateNode=null),u=e;return _l=t,Vo(),!0}function Fu(e,t,n){fi(e,t=cl(0,t=ll(n,t),1)),t=cu(),null!==(e=pu(e,1))&&(Ut(e,1,t),hu(e,t))}function Du(e,t){if(3===e.tag)Fu(e,e,t);else for(var n=e.return;null!==n;){if(3===n.tag){Fu(n,e,t);break}if(1===n.tag){var r=n.stateNode;if("function"==typeof n.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Kl||!Kl.has(r))){var o=fl(n,e=ll(t,e),1);if(fi(n,o),o=cu(),null!==(n=pu(n,1)))Ut(n,1,o),hu(n,o);else if("function"==typeof r.componentDidCatch&&(null===Kl||!Kl.has(r)))try{r.componentDidCatch(t,e)}catch(e){}break}}n=n.return}}function Ru(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=cu(),e.pingedLanes|=e.suspendedLanes&n,Tl===e&&(Il&n)===n&&(4===Fl||3===Fl&&(62914560&Il)===Il&&500>Wo()-Wl?wu(e,0):jl|=n),hu(e,t)}function zu(e,t){var n=e.stateNode;null!==n&&n.delete(t),0==(t=0)&&(2&(t=e.mode)?4&t?(0===au&&(au=Rl),0===(t=Nt(62914560&~au))&&(t=4194304)):t=99===Yo()?1:2:t=1),n=cu(),null!==(e=pu(e,t))&&(Ut(e,t,n),hu(e,n))}function Nu(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.flags=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childLanes=this.lanes=0,this.alternate=null}function ju(e,t,n,r){return new Nu(e,t,n,r)}function Uu(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Wu(e,t){var n=e.alternate;return null===n?((n=ju(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Yu(e,t,n,r,o,i){var l=2;if(r=e,"function"==typeof e)Uu(e)&&(l=1);else if("string"==typeof e)l=5;else e:switch(e){case C:return Xu(n.children,o,i,t);case F:l=8,o|=16;break;case P:l=8,o|=1;break;case B:return(e=ju(12,n,t,8|o)).elementType=B,e.type=B,e.lanes=i,e;case _:return(e=ju(13,n,t,o)).type=_,e.elementType=_,e.lanes=i,e;case T:return(e=ju(19,n,t,o)).elementType=T,e.lanes=i,e;case D:return $u(n,o,i,t);case R:return(e=ju(24,n,t,o)).elementType=R,e.lanes=i,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case L:l=10;break e;case E:l=9;break e;case A:l=11;break e;case O:l=14;break e;case I:l=16,r=null;break e;case M:l=22;break e}throw Error(a(130,null==e?e:typeof e,""))}return(t=ju(l,n,t,o)).elementType=e,t.type=r,t.lanes=i,t}function Xu(e,t,n,r){return(e=ju(7,e,r,t)).lanes=n,e}function $u(e,t,n,r){return(e=ju(23,e,r,t)).elementType=D,e.lanes=n,e}function Gu(e,t,n){return(e=ju(6,e,null,t)).lanes=n,e}function Vu(e,t,n){return(t=ju(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function qu(e,t,n){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=n,this.callbackNode=null,this.callbackPriority=0,this.eventTimes=jt(0),this.expirationTimes=jt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=jt(0),this.mutableSourceEagerHydrationData=null}function Ku(e,t,n,r){var o=t.current,i=cu(),l=fu(o);e:if(n){t:{if(qe(n=n._reactInternals)!==n||1!==n.tag)throw Error(a(170));var u=n;do{switch(u.tag){case 3:u=u.stateNode.context;break t;case 1:if(mo(u.type)){u=u.stateNode.__reactInternalMemoizedMergedChildContext;break t}}u=u.return}while(null!==u);throw Error(a(171))}if(1===n.tag){var s=n.type;if(mo(s)){n=ko(n,s,u);break e}}n=u}else n=fo;return null===t.context?t.context=n:t.pendingContext=n,(t=ci(i,l)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),fi(o,t),du(o,l,i),l}function Qu(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Ju(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function Zu(e,t){Ju(e,t),(e=e.alternate)&&Ju(e,t)}function es(e,t,n){var r=null!=n&&null!=n.hydrationOptions&&n.hydrationOptions.mutableSources||null;if(n=new qu(e,t,null!=n&&!0===n.hydrate),t=ju(3,null,null,2===t?7:1===t?3:0),n.current=t,t.stateNode=n,ui(t),e[Zr]=n.current,Tr(8===e.nodeType?e.parentNode:e),r)for(e=0;e<r.length;e++){var o=(t=r[e])._getVersion;o=o(t._source),null==n.mutableSourceEagerHydrationData?n.mutableSourceEagerHydrationData=[t,o]:n.mutableSourceEagerHydrationData.push(t,o)}this._internalRoot=n}function ts(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function ns(e,t,n,r,o){var i=n._reactRootContainer;if(i){var a=i._internalRoot;if("function"==typeof o){var l=o;o=function(){var e=Qu(a);l.call(e)}}Ku(t,a,e,o)}else{if(i=n._reactRootContainer=function(e,t){if(t||(t=!(!(t=e?9===e.nodeType?e.documentElement:e.firstChild:null)||1!==t.nodeType||!t.hasAttribute("data-reactroot"))),!t)for(var n;n=e.lastChild;)e.removeChild(n);return new es(e,0,t?{hydrate:!0}:void 0)}(n,r),a=i._internalRoot,"function"==typeof o){var u=o;o=function(){var e=Qu(a);u.call(e)}}bu((function(){Ku(t,a,e,o)}))}return Qu(a)}$l=function(e,t,n){var r=t.lanes;if(null!==e)if(e.memoizedProps!==t.pendingProps||ho.current)Fa=!0;else{if(!(n&r)){switch(Fa=!1,t.tag){case 3:$a(t),Gi();break;case 5:Hi(t);break;case 1:mo(t.type)&&wo(t);break;case 4:Ii(t,t.stateNode.containerInfo);break;case 10:r=t.memoizedProps.value;var o=t.type._context;co(Jo,o._currentValue),o._currentValue=r;break;case 13:if(null!==t.memoizedState)return n&t.child.childLanes?Ja(e,t,n):(co(Di,1&Di.current),null!==(t=rl(e,t,n))?t.sibling:null);co(Di,1&Di.current);break;case 19:if(r=!!(n&t.childLanes),64&e.flags){if(r)return nl(e,t,n);t.flags|=64}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),co(Di,Di.current),r)break;return null;case 23:case 24:return t.lanes=0,ja(e,t,n)}return rl(e,t,n)}Fa=!!(16384&e.flags)}else Fa=!1;switch(t.lanes=0,t.tag){case 2:if(r=t.type,null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,o=yo(t,po.current),ii(t,n),o=aa(null,t,r,e,o,n),t.flags|=1,"object"==typeof o&&null!==o&&"function"==typeof o.render&&void 0===o.$$typeof){if(t.tag=1,t.memoizedState=null,t.updateQueue=null,mo(r)){var i=!0;wo(t)}else i=!1;t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,ui(t);var l=r.getDerivedStateFromProps;"function"==typeof l&&yi(t,r,l,e),o.updater=mi,t.stateNode=o,o._reactInternals=t,wi(t,r,e,n),t=Xa(null,t,r,!0,i,n)}else t.tag=0,Da(null,t,o,n),t=t.child;return t;case 16:o=t.elementType;e:{switch(null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,o=(i=o._init)(o._payload),t.type=o,i=t.tag=function(e){if("function"==typeof e)return Uu(e)?1:0;if(null!=e){if((e=e.$$typeof)===A)return 11;if(e===O)return 14}return 2}(o),e=Qo(o,e),i){case 0:t=Wa(null,t,o,e,n);break e;case 1:t=Ya(null,t,o,e,n);break e;case 11:t=Ra(null,t,o,e,n);break e;case 14:t=za(null,t,o,Qo(o.type,e),r,n);break e}throw Error(a(306,o,""))}return t;case 0:return r=t.type,o=t.pendingProps,Wa(e,t,r,o=t.elementType===r?o:Qo(r,o),n);case 1:return r=t.type,o=t.pendingProps,Ya(e,t,r,o=t.elementType===r?o:Qo(r,o),n);case 3:if($a(t),r=t.updateQueue,null===e||null===r)throw Error(a(282));if(r=t.pendingProps,o=null!==(o=t.memoizedState)?o.element:null,si(e,t),pi(t,r,null,n),(r=t.memoizedState.element)===o)Gi(),t=rl(e,t,n);else{if((i=(o=t.stateNode).hydrate)&&(Ni=Gr(t.stateNode.containerInfo.firstChild),zi=t,i=ji=!0),i){if(null!=(e=o.mutableSourceEagerHydrationData))for(o=0;o<e.length;o+=2)(i=e[o])._workInProgressVersionPrimary=e[o+1],Vi.push(i);for(n=Li(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|1024,n=n.sibling}else Da(e,t,r,n),Gi();t=t.child}return t;case 5:return Hi(t),null===e&&Yi(t),r=t.type,o=t.pendingProps,i=null!==e?e.memoizedProps:null,l=o.children,Wr(r,o)?l=null:null!==i&&Wr(r,i)&&(t.flags|=16),Ua(e,t),Da(e,t,l,n),t.child;case 6:return null===e&&Yi(t),null;case 13:return Ja(e,t,n);case 4:return Ii(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Bi(t,null,r,n):Da(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,Ra(e,t,r,o=t.elementType===r?o:Qo(r,o),n);case 7:return Da(e,t,t.pendingProps,n),t.child;case 8:case 12:return Da(e,t,t.pendingProps.children,n),t.child;case 10:e:{r=t.type._context,o=t.pendingProps,l=t.memoizedProps,i=o.value;var u=t.type._context;if(co(Jo,u._currentValue),u._currentValue=i,null!==l)if(u=l.value,0==(i=sr(u,i)?0:0|("function"==typeof r._calculateChangedBits?r._calculateChangedBits(u,i):1073741823))){if(l.children===o.children&&!ho.current){t=rl(e,t,n);break e}}else for(null!==(u=t.child)&&(u.return=t);null!==u;){var s=u.dependencies;if(null!==s){l=u.child;for(var c=s.firstContext;null!==c;){if(c.context===r&&c.observedBits&i){1===u.tag&&((c=ci(-1,n&-n)).tag=2,fi(u,c)),u.lanes|=n,null!==(c=u.alternate)&&(c.lanes|=n),oi(u.return,n),s.lanes|=n;break}c=c.next}}else l=10===u.tag&&u.type===t.type?null:u.child;if(null!==l)l.return=u;else for(l=u;null!==l;){if(l===t){l=null;break}if(null!==(u=l.sibling)){u.return=l.return,l=u;break}l=l.return}u=l}Da(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=(i=t.pendingProps).children,ii(t,n),r=r(o=ai(o,i.unstable_observedBits)),t.flags|=1,Da(e,t,r,n),t.child;case 14:return i=Qo(o=t.type,t.pendingProps),za(e,t,o,i=Qo(o.type,i),r,n);case 15:return Na(e,t,t.type,t.pendingProps,r,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Qo(r,o),null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),t.tag=1,mo(r)?(e=!0,wo(t)):e=!1,ii(t,n),vi(t,r,o),wi(t,r,o,n),Xa(null,t,r,!0,e,n);case 19:return nl(e,t,n);case 23:case 24:return ja(e,t,n)}throw Error(a(156,t.tag))},es.prototype.render=function(e){Ku(e,this._internalRoot,null,null)},es.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;Ku(null,e,null,(function(){t[Zr]=null}))},et=function(e){13===e.tag&&(du(e,4,cu()),Zu(e,4))},tt=function(e){13===e.tag&&(du(e,67108864,cu()),Zu(e,67108864))},nt=function(e){if(13===e.tag){var t=cu(),n=fu(e);du(e,n,t),Zu(e,n)}},rt=function(e,t){return t()},Be=function(e,t,n){switch(t){case"input":if(ne(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=oo(r);if(!o)throw Error(a(90));Q(r),ne(r,o)}}}break;case"textarea":se(e,n);break;case"select":null!=(t=n.value)&&ae(e,!!n.multiple,t,!1)}},Oe=function(e,t){var n=_l;_l|=1;try{return e(t)}finally{0===(_l=n)&&(Xl(),Vo())}},Ie=function(e,t,n,r,o){var i=_l;_l|=4;try{return $o(98,e.bind(null,t,n,r,o))}finally{0===(_l=i)&&(Xl(),Vo())}},Me=function(){!(49&_l)&&(function(){if(null!==nu){var e=nu;nu=null,e.forEach((function(e){e.expiredLanes|=24&e.pendingLanes,hu(e,Wo())}))}Vo()}(),Ou())},He=function(e,t){var n=_l;_l|=2;try{return e(t)}finally{0===(_l=n)&&(Xl(),Vo())}};var rs={findFiberByHostInstance:to,bundleType:0,version:"17.0.2",rendererPackageName:"react-dom"},os={bundleType:rs.bundleType,version:rs.version,rendererPackageName:rs.rendererPackageName,rendererConfig:rs.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:w.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=Je(e))?null:e.stateNode},findFiberByHostInstance:rs.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var is=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!is.isDisabled&&is.supportsFiber)try{So=is.inject(os),Co=is}catch(ge){}}t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(a(188));throw Error(a(268,Object.keys(e)))}return null===(e=Je(t))?null:e.stateNode},t.render=function(e,t,n){if(!ts(t))throw Error(a(200));return ns(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!ts(e))throw Error(a(40));return!!e._reactRootContainer&&(bu((function(){ns(null,null,e,!1,(function(){e._reactRootContainer=null,e[Zr]=null}))})),!0)}},961:function(e,t,n){"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=n(551)},799:function(e,t){"use strict";var n=60103,r=60106,o=60107,i=60108,a=60114,l=60109,u=60110,s=60112,c=60113,f=60120,d=60115,p=60116;if("function"==typeof Symbol&&Symbol.for){var h=Symbol.for;n=h("react.element"),r=h("react.portal"),o=h("react.fragment"),i=h("react.strict_mode"),a=h("react.profiler"),l=h("react.provider"),u=h("react.context"),s=h("react.forward_ref"),c=h("react.suspense"),f=h("react.suspense_list"),d=h("react.memo"),p=h("react.lazy"),h("react.block"),h("react.server.block"),h("react.fundamental"),h("react.debug_trace_mode"),h("react.legacy_hidden")}t.isForwardRef=function(e){return function(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case o:case a:case i:case c:case f:return e;default:switch(e=e&&e.$$typeof){case u:case s:case p:case d:case l:return e;default:return t}}case r:return t}}}(e)===s}},744:function(e,t,n){"use strict";e.exports=n(799)},287:function(e,t,n){"use strict";var r=n(228),o=60103,i=60106;t.Fragment=60107,t.StrictMode=60108,t.Profiler=60114;var a=60109,l=60110,u=60112;t.Suspense=60113;var s=60115,c=60116;if("function"==typeof Symbol&&Symbol.for){var f=Symbol.for;o=f("react.element"),i=f("react.portal"),t.Fragment=f("react.fragment"),t.StrictMode=f("react.strict_mode"),t.Profiler=f("react.profiler"),a=f("react.provider"),l=f("react.context"),u=f("react.forward_ref"),t.Suspense=f("react.suspense"),s=f("react.memo"),c=f("react.lazy")}var d="function"==typeof Symbol&&Symbol.iterator;function p(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g={};function y(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||h}function m(){}function b(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||h}y.prototype.isReactComponent={},y.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(p(85));this.updater.enqueueSetState(this,e,t,"setState")},y.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},m.prototype=y.prototype;var v=b.prototype=new m;v.constructor=b,r(v,y.prototype),v.isPureReactComponent=!0;var k={current:null},w=Object.prototype.hasOwnProperty,x={key:!0,ref:!0,__self:!0,__source:!0};function S(e,t,n){var r,i={},a=null,l=null;if(null!=t)for(r in void 0!==t.ref&&(l=t.ref),void 0!==t.key&&(a=""+t.key),t)w.call(t,r)&&!x.hasOwnProperty(r)&&(i[r]=t[r]);var u=arguments.length-2;if(1===u)i.children=n;else if(1<u){for(var s=Array(u),c=0;c<u;c++)s[c]=arguments[c+2];i.children=s}if(e&&e.defaultProps)for(r in u=e.defaultProps)void 0===i[r]&&(i[r]=u[r]);return{$$typeof:o,type:e,key:a,ref:l,props:i,_owner:k.current}}function C(e){return"object"==typeof e&&null!==e&&e.$$typeof===o}var P=/\/+/g;function B(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function L(e,t,n,r,a){var l=typeof e;"undefined"!==l&&"boolean"!==l||(e=null);var u=!1;if(null===e)u=!0;else switch(l){case"string":case"number":u=!0;break;case"object":switch(e.$$typeof){case o:case i:u=!0}}if(u)return a=a(u=e),e=""===r?"."+B(u,0):r,Array.isArray(a)?(n="",null!=e&&(n=e.replace(P,"$&/")+"/"),L(a,t,n,"",(function(e){return e}))):null!=a&&(C(a)&&(a=function(e,t){return{$$typeof:o,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(a,n+(!a.key||u&&u.key===a.key?"":(""+a.key).replace(P,"$&/")+"/")+e)),t.push(a)),1;if(u=0,r=""===r?".":r+":",Array.isArray(e))for(var s=0;s<e.length;s++){var c=r+B(l=e[s],s);u+=L(l,t,n,c,a)}else if(c=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=d&&e[d]||e["@@iterator"])?e:null}(e),"function"==typeof c)for(e=c.call(e),s=0;!(l=e.next()).done;)u+=L(l=l.value,t,n,c=r+B(l,s++),a);else if("object"===l)throw t=""+e,Error(p(31,"[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t));return u}function E(e,t,n){if(null==e)return e;var r=[],o=0;return L(e,r,"","",(function(e){return t.call(n,e,o++)})),r}function A(e){if(-1===e._status){var t=e._result;t=t(),e._status=0,e._result=t,t.then((function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)}),(function(t){0===e._status&&(e._status=2,e._result=t)}))}if(1===e._status)return e._result;throw e._result}var _={current:null};function T(){var e=_.current;if(null===e)throw Error(p(321));return e}var O={ReactCurrentDispatcher:_,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:k,IsSomeRendererActing:{current:!1},assign:r};t.Children={map:E,forEach:function(e,t,n){E(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return E(e,(function(){t++})),t},toArray:function(e){return E(e,(function(e){return e}))||[]},only:function(e){if(!C(e))throw Error(p(143));return e}},t.Component=y,t.PureComponent=b,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=O,t.cloneElement=function(e,t,n){if(null==e)throw Error(p(267,e));var i=r({},e.props),a=e.key,l=e.ref,u=e._owner;if(null!=t){if(void 0!==t.ref&&(l=t.ref,u=k.current),void 0!==t.key&&(a=""+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(c in t)w.call(t,c)&&!x.hasOwnProperty(c)&&(i[c]=void 0===t[c]&&void 0!==s?s[c]:t[c])}var c=arguments.length-2;if(1===c)i.children=n;else if(1<c){s=Array(c);for(var f=0;f<c;f++)s[f]=arguments[f+2];i.children=s}return{$$typeof:o,type:e.type,key:a,ref:l,props:i,_owner:u}},t.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:l,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:a,_context:e},e.Consumer=e},t.createElement=S,t.createFactory=function(e){var t=S.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:u,render:e}},t.isValidElement=C,t.lazy=function(e){return{$$typeof:c,_payload:{_status:-1,_result:e},_init:A}},t.memo=function(e,t){return{$$typeof:s,type:e,compare:void 0===t?null:t}},t.useCallback=function(e,t){return T().useCallback(e,t)},t.useContext=function(e,t){return T().useContext(e,t)},t.useDebugValue=function(){},t.useEffect=function(e,t){return T().useEffect(e,t)},t.useImperativeHandle=function(e,t,n){return T().useImperativeHandle(e,t,n)},t.useLayoutEffect=function(e,t){return T().useLayoutEffect(e,t)},t.useMemo=function(e,t){return T().useMemo(e,t)},t.useReducer=function(e,t,n){return T().useReducer(e,t,n)},t.useRef=function(e){return T().useRef(e)},t.useState=function(e){return T().useState(e)},t.version="17.0.2"},540:function(e,t,n){"use strict";e.exports=n(287)},463:function(e,t){"use strict";var n,r,o,i;if("object"==typeof performance&&"function"==typeof performance.now){var a=performance;t.unstable_now=function(){return a.now()}}else{var l=Date,u=l.now();t.unstable_now=function(){return l.now()-u}}if("undefined"==typeof window||"function"!=typeof MessageChannel){var s=null,c=null,f=function(){if(null!==s)try{var e=t.unstable_now();s(!0,e),s=null}catch(e){throw setTimeout(f,0),e}};n=function(e){null!==s?setTimeout(n,0,e):(s=e,setTimeout(f,0))},r=function(e,t){c=setTimeout(e,t)},o=function(){clearTimeout(c)},t.unstable_shouldYield=function(){return!1},i=t.unstable_forceFrameRate=function(){}}else{var d=window.setTimeout,p=window.clearTimeout;if("undefined"!=typeof console){var h=window.cancelAnimationFrame;"function"!=typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),"function"!=typeof h&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills")}var g=!1,y=null,m=-1,b=5,v=0;t.unstable_shouldYield=function(){return t.unstable_now()>=v},i=function(){},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):b=0<e?Math.floor(1e3/e):5};var k=new MessageChannel,w=k.port2;k.port1.onmessage=function(){if(null!==y){var e=t.unstable_now();v=e+b;try{y(!0,e)?w.postMessage(null):(g=!1,y=null)}catch(e){throw w.postMessage(null),e}}else g=!1},n=function(e){y=e,g||(g=!0,w.postMessage(null))},r=function(e,n){m=d((function(){e(t.unstable_now())}),n)},o=function(){p(m),m=-1}}function x(e,t){var n=e.length;e.push(t);e:for(;;){var r=n-1>>>1,o=e[r];if(!(void 0!==o&&0<P(o,t)))break e;e[r]=t,e[n]=o,n=r}}function S(e){return void 0===(e=e[0])?null:e}function C(e){var t=e[0];if(void 0!==t){var n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,o=e.length;r<o;){var i=2*(r+1)-1,a=e[i],l=i+1,u=e[l];if(void 0!==a&&0>P(a,n))void 0!==u&&0>P(u,a)?(e[r]=u,e[l]=n,r=l):(e[r]=a,e[i]=n,r=i);else{if(!(void 0!==u&&0>P(u,n)))break e;e[r]=u,e[l]=n,r=l}}}return t}return null}function P(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var B=[],L=[],E=1,A=null,_=3,T=!1,O=!1,I=!1;function M(e){for(var t=S(L);null!==t;){if(null===t.callback)C(L);else{if(!(t.startTime<=e))break;C(L),t.sortIndex=t.expirationTime,x(B,t)}t=S(L)}}function H(e){if(I=!1,M(e),!O)if(null!==S(B))O=!0,n(F);else{var t=S(L);null!==t&&r(H,t.startTime-e)}}function F(e,n){O=!1,I&&(I=!1,o()),T=!0;var i=_;try{for(M(n),A=S(B);null!==A&&(!(A.expirationTime>n)||e&&!t.unstable_shouldYield());){var a=A.callback;if("function"==typeof a){A.callback=null,_=A.priorityLevel;var l=a(A.expirationTime<=n);n=t.unstable_now(),"function"==typeof l?A.callback=l:A===S(B)&&C(B),M(n)}else C(B);A=S(B)}if(null!==A)var u=!0;else{var s=S(L);null!==s&&r(H,s.startTime-n),u=!1}return u}finally{A=null,_=i,T=!1}}var D=i;t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){O||T||(O=!0,n(F))},t.unstable_getCurrentPriorityLevel=function(){return _},t.unstable_getFirstCallbackNode=function(){return S(B)},t.unstable_next=function(e){switch(_){case 1:case 2:case 3:var t=3;break;default:t=_}var n=_;_=t;try{return e()}finally{_=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=D,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=_;_=e;try{return t()}finally{_=n}},t.unstable_scheduleCallback=function(e,i,a){var l=t.unstable_now();switch(a="object"==typeof a&&null!==a&&"number"==typeof(a=a.delay)&&0<a?l+a:l,e){case 1:var u=-1;break;case 2:u=250;break;case 5:u=1073741823;break;case 4:u=1e4;break;default:u=5e3}return e={id:E++,callback:i,priorityLevel:e,startTime:a,expirationTime:u=a+u,sortIndex:-1},a>l?(e.sortIndex=a,x(L,e),null===S(B)&&e===S(L)&&(I?o():I=!0,r(H,a-l))):(e.sortIndex=u,x(B,e),O||T||(O=!0,n(F))),e},t.unstable_wrapCallback=function(e){var t=_;return function(){var n=_;_=t;try{return e.apply(this,arguments)}finally{_=n}}}},982:function(e,t,n){"use strict";e.exports=n(463)},98:function(e,t,n){"use strict";n.r(t);var r=n(72),o=n.n(r),i=n(825),a=n.n(i),l=n(659),u=n.n(l),s=n(56),c=n.n(s),f=n(159),d=n.n(f),p=n(113),h=n.n(p),g=n(671),y={};y.styleTagTransform=h(),y.setAttributes=c(),y.insert=u().bind(null,"head"),y.domAPI=a(),y.insertStyleElement=d(),o()(g.A,y),t.default=g.A&&g.A.locals?g.A.locals:void 0},790:function(e,t,n){"use strict";n.r(t);var r=n(72),o=n.n(r),i=n(825),a=n.n(i),l=n(659),u=n.n(l),s=n(56),c=n.n(s),f=n(159),d=n.n(f),p=n(113),h=n.n(p),g=n(943),y={};y.styleTagTransform=h(),y.setAttributes=c(),y.insert=u().bind(null,"head"),y.domAPI=a(),y.insertStyleElement=d(),o()(g.A,y),t.default=g.A&&g.A.locals?g.A.locals:void 0},178:function(e,t,n){"use strict";n.r(t);var r=n(72),o=n.n(r),i=n(825),a=n.n(i),l=n(659),u=n.n(l),s=n(56),c=n.n(s),f=n(159),d=n.n(f),p=n(113),h=n.n(p),g=n(919),y={};y.styleTagTransform=h(),y.setAttributes=c(),y.insert=u().bind(null,"head"),y.domAPI=a(),y.insertStyleElement=d(),o()(g.A,y),t.default=g.A&&g.A.locals?g.A.locals:void 0},72:function(e){"use strict";var t=[];function n(e){for(var n=-1,r=0;r<t.length;r++)if(t[r].identifier===e){n=r;break}return n}function r(e,r){for(var i={},a=[],l=0;l<e.length;l++){var u=e[l],s=r.base?u[0]+r.base:u[0],c=i[s]||0,f="".concat(s," ").concat(c);i[s]=c+1;var d=n(f),p={css:u[1],media:u[2],sourceMap:u[3],supports:u[4],layer:u[5]};if(-1!==d)t[d].references++,t[d].updater(p);else{var h=o(p,r);r.byIndex=l,t.splice(l,0,{identifier:f,updater:h,references:1})}a.push(f)}return a}function o(e,t){var n=t.domAPI(t);return n.update(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,o){var i=r(e=e||[],o=o||{});return function(e){e=e||[];for(var a=0;a<i.length;a++){var l=n(i[a]);t[l].references--}for(var u=r(e,o),s=0;s<i.length;s++){var c=n(i[s]);0===t[c].references&&(t[c].updater(),t.splice(c,1))}i=u}}},659:function(e){"use strict";var t={};e.exports=function(e,n){var r=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(n)}},159:function(e){"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},56:function(e,t,n){"use strict";e.exports=function(e){var t=n.nc;t&&e.setAttribute("nonce",t)}},825:function(e){"use strict";e.exports=function(e){var t=e.insertStyleElement(e);return{update:function(n){!function(e,t,n){var r="";n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var o=void 0!==n.layer;o&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,o&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}");var i=n.sourceMap;i&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),t.styleTagTransform(r,e,t.options)}(t,e,n)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},113:function(e){"use strict";e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},771:function(e){"use strict";e.exports=function(){}},353:function(e,t,n){var r,o=n(967),i=(r=n(98),r&&r.__esModule?r:{default:r}).default,a=o.bind(i);for(var l in i)i.hasOwnProperty(l)&&("function"==typeof Object.defineProperty?Object.defineProperty(a,l,{value:i[l]}):a[l]=i[l]);e.exports=a},142:function(e,t,n){var r,o=n(967),i=(r=n(790),r&&r.__esModule?r:{default:r}).default,a=o.bind(i);for(var l in i)i.hasOwnProperty(l)&&("function"==typeof Object.defineProperty?Object.defineProperty(a,l,{value:i[l]}):a[l]=i[l]);e.exports=a},41:function(e,t,n){var r,o=n(967),i=(r=n(178),r&&r.__esModule?r:{default:r}).default,a=o.bind(i);for(var l in i)i.hasOwnProperty(l)&&("function"==typeof Object.defineProperty?Object.defineProperty(a,l,{value:i[l]}):a[l]=i[l]);e.exports=a},555:function(e,t){function n(e){if(e)return function(e){for(var t in n.prototype)e[t]=n.prototype[t];return e}(e)}t.v=n,n.prototype.on=n.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks["$"+e]=this._callbacks["$"+e]||[]).push(t),this},n.prototype.once=function(e,t){function n(){this.off(e,n),t.apply(this,arguments)}return n.fn=t,this.on(e,n),this},n.prototype.off=n.prototype.removeListener=n.prototype.removeAllListeners=n.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var n,r=this._callbacks["$"+e];if(!r)return this;if(1==arguments.length)return delete this._callbacks["$"+e],this;for(var o=0;o<r.length;o++)if((n=r[o])===t||n.fn===t){r.splice(o,1);break}return 0===r.length&&delete this._callbacks["$"+e],this},n.prototype.emit=function(e){this._callbacks=this._callbacks||{};for(var t=new Array(arguments.length-1),n=this._callbacks["$"+e],r=1;r<arguments.length;r++)t[r-1]=arguments[r];if(n){r=0;for(var o=(n=n.slice(0)).length;r<o;++r)n[r].apply(this,t)}return this},n.prototype.emitReserved=n.prototype.emit,n.prototype.listeners=function(e){return this._callbacks=this._callbacks||{},this._callbacks["$"+e]||[]},n.prototype.hasListeners=function(e){return!!this.listeners(e).length}},959:function(e){function t(e){e=e||{},this.ms=e.min||100,this.max=e.max||1e4,this.factor=e.factor||2,this.jitter=e.jitter>0&&e.jitter<=1?e.jitter:0,this.attempts=0}e.exports=t,t.prototype.duration=function(){var e=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var t=Math.random(),n=Math.floor(t*this.jitter*e);e=1&Math.floor(10*t)?e+n:e-n}return 0|Math.min(e,this.max)},t.prototype.reset=function(){this.attempts=0},t.prototype.setMin=function(e){this.ms=e},t.prototype.setMax=function(e){this.max=e},t.prototype.setJitter=function(e){this.jitter=e}},363:function(e){try{e.exports="undefined"!=typeof XMLHttpRequest&&"withCredentials"in new XMLHttpRequest}catch(t){e.exports=!1}},608:function(e,t){t.encode=function(e){var t="";for(var n in e)e.hasOwnProperty(n)&&(t.length&&(t+="&"),t+=encodeURIComponent(n)+"="+encodeURIComponent(e[n]));return t},t.decode=function(e){for(var t={},n=e.split("&"),r=0,o=n.length;r<o;r++){var i=n[r].split("=");t[decodeURIComponent(i[0])]=decodeURIComponent(i[1])}return t}},614:function(e){var t=/^(?:(?![^:@]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@]*)(?::([^:@]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,n=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];e.exports=function(e){var r,o,i=e,a=e.indexOf("["),l=e.indexOf("]");-1!=a&&-1!=l&&(e=e.substring(0,a)+e.substring(a,l).replace(/:/g,";")+e.substring(l,e.length));for(var u,s,c=t.exec(e||""),f={},d=14;d--;)f[n[d]]=c[d]||"";return-1!=a&&-1!=l&&(f.source=i,f.host=f.host.substring(1,f.host.length-1).replace(/;/g,":"),f.authority=f.authority.replace("[","").replace("]","").replace(/;/g,":"),f.ipv6uri=!0),f.pathNames=(r=f.path,o=r.replace(/\/{2,9}/g,"/").split("/"),"/"!=r.substr(0,1)&&0!==r.length||o.splice(0,1),"/"==r.substr(r.length-1,1)&&o.splice(o.length-1,1),o),f.queryKey=(u=f.query,s={},u.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,(function(e,t,n){t&&(s[t]=n)})),s),f}},613:function(e){"use strict";var t,n="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_".split(""),r=64,o={},i=0,a=0;function l(e){var t="";do{t=n[e%r]+t,e=Math.floor(e/r)}while(e>0);return t}function u(){var e=l(+new Date);return e!==t?(i=0,t=e):e+"."+l(i++)}for(;a<r;a++)o[n[a]]=a;u.encode=l,u.decode=function(e){var t=0;for(a=0;a<e.length;a++)t=t*r+o[e.charAt(a)];return t},e.exports=u},967:function(e,t){var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=a(e,i.call(this,n)))}return e}function i(e){if("string"==typeof e||"number"==typeof e)return this&&this[e]||e;if("object"!=typeof e)return"";if(Array.isArray(e))return o.apply(this,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var n in e)r.call(e,n)&&e[n]&&(t=a(t,this&&this[n]||n));return t}function a(e,t){return t?e?e+" "+t:e+t:e}e.exports?(o.default=o,e.exports=o):void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={id:r,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nc=void 0,function(){"use strict";var e="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==e&&e,t="URLSearchParams"in e,n="Symbol"in e&&"iterator"in Symbol,r="FileReader"in e&&"Blob"in e&&function(){try{return new Blob,!0}catch(e){return!1}}(),o="FormData"in e,i="ArrayBuffer"in e;if(i)var a=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],l=ArrayBuffer.isView||function(e){return e&&a.indexOf(Object.prototype.toString.call(e))>-1};function u(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function s(e){return"string"!=typeof e&&(e=String(e)),e}function c(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return n&&(t[Symbol.iterator]=function(){return t}),t}function f(e){this.map={},e instanceof f?e.forEach((function(e,t){this.append(t,e)}),this):Array.isArray(e)?e.forEach((function(e){this.append(e[0],e[1])}),this):e&&Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}function d(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function p(e){return new Promise((function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}}))}function h(e){var t=new FileReader,n=p(t);return t.readAsArrayBuffer(e),n}function g(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function y(){return this.bodyUsed=!1,this._initBody=function(e){var n;this.bodyUsed=this.bodyUsed,this._bodyInit=e,e?"string"==typeof e?this._bodyText=e:r&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:o&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:t&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():i&&r&&(n=e)&&DataView.prototype.isPrototypeOf(n)?(this._bodyArrayBuffer=g(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):i&&(ArrayBuffer.prototype.isPrototypeOf(e)||l(e))?this._bodyArrayBuffer=g(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):t&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},r&&(this.blob=function(){var e=d(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?d(this)||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer)):this.blob().then(h)}),this.text=function(){var e,t,n,r=d(this);if(r)return r;if(this._bodyBlob)return e=this._bodyBlob,n=p(t=new FileReader),t.readAsText(e),n;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r<t.length;r++)n[r]=String.fromCharCode(t[r]);return n.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},o&&(this.formData=function(){return this.text().then(v)}),this.json=function(){return this.text().then(JSON.parse)},this}f.prototype.append=function(e,t){e=u(e),t=s(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},f.prototype.delete=function(e){delete this.map[u(e)]},f.prototype.get=function(e){return e=u(e),this.has(e)?this.map[e]:null},f.prototype.has=function(e){return this.map.hasOwnProperty(u(e))},f.prototype.set=function(e,t){this.map[u(e)]=s(t)},f.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},f.prototype.keys=function(){var e=[];return this.forEach((function(t,n){e.push(n)})),c(e)},f.prototype.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),c(e)},f.prototype.entries=function(){var e=[];return this.forEach((function(t,n){e.push([n,t])})),c(e)},n&&(f.prototype[Symbol.iterator]=f.prototype.entries);var m=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function b(e,t){if(!(this instanceof b))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var n,r,o=(t=t||{}).body;if(e instanceof b){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new f(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,o||null==e._bodyInit||(o=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new f(t.headers)),this.method=(r=(n=t.method||this.method||"GET").toUpperCase(),m.indexOf(r)>-1?r:n),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&o)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(o),!("GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache)){var i=/([?&])_=[^&]*/;i.test(this.url)?this.url=this.url.replace(i,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}function v(e){var t=new FormData;return e.trim().split("&").forEach((function(e){if(e){var n=e.split("="),r=n.shift().replace(/\+/g," "),o=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(r),decodeURIComponent(o))}})),t}function k(e,t){if(!(this instanceof k))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new f(t.headers),this.url=t.url||"",this._initBody(e)}b.prototype.clone=function(){return new b(this,{body:this._bodyInit})},y.call(b.prototype),y.call(k.prototype),k.prototype.clone=function(){return new k(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new f(this.headers),url:this.url})},k.error=function(){var e=new k(null,{status:0,statusText:""});return e.type="error",e};var w=[301,302,303,307,308];k.redirect=function(e,t){if(-1===w.indexOf(t))throw new RangeError("Invalid status code");return new k(null,{status:t,headers:{location:e}})};var x=e.DOMException;try{new x}catch(e){(x=function(e,t){this.message=e,this.name=t;var n=Error(e);this.stack=n.stack}).prototype=Object.create(Error.prototype),x.prototype.constructor=x}function S(t,n){return new Promise((function(o,a){var l=new b(t,n);if(l.signal&&l.signal.aborted)return a(new x("Aborted","AbortError"));var u=new XMLHttpRequest;function c(){u.abort()}u.onload=function(){var e,t,n={status:u.status,statusText:u.statusText,headers:(e=u.getAllResponseHeaders()||"",t=new f,e.replace(/\r?\n[\t ]+/g," ").split("\r").map((function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e})).forEach((function(e){var n=e.split(":"),r=n.shift().trim();if(r){var o=n.join(":").trim();t.append(r,o)}})),t)};n.url="responseURL"in u?u.responseURL:n.headers.get("X-Request-URL");var r="response"in u?u.response:u.responseText;setTimeout((function(){o(new k(r,n))}),0)},u.onerror=function(){setTimeout((function(){a(new TypeError("Network request failed"))}),0)},u.ontimeout=function(){setTimeout((function(){a(new TypeError("Network request failed"))}),0)},u.onabort=function(){setTimeout((function(){a(new x("Aborted","AbortError"))}),0)},u.open(l.method,function(t){try{return""===t&&e.location.href?e.location.href:t}catch(e){return t}}(l.url),!0),"include"===l.credentials?u.withCredentials=!0:"omit"===l.credentials&&(u.withCredentials=!1),"responseType"in u&&(r?u.responseType="blob":i&&l.headers.get("Content-Type")&&-1!==l.headers.get("Content-Type").indexOf("application/octet-stream")&&(u.responseType="arraybuffer")),!n||"object"!=typeof n.headers||n.headers instanceof f?l.headers.forEach((function(e,t){u.setRequestHeader(t,e)})):Object.getOwnPropertyNames(n.headers).forEach((function(e){u.setRequestHeader(e,s(n.headers[e]))})),l.signal&&(l.signal.addEventListener("abort",c),u.onreadystatechange=function(){4===u.readyState&&l.signal.removeEventListener("abort",c)}),u.send(void 0===l._bodyInit?null:l._bodyInit)}))}S.polyfill=!0,e.fetch||(e.fetch=S,e.Headers=f,e.Request=b,e.Response=k)}(),function(){"use strict";var e={};n.r(e),n.d(e,{Decoder:function(){return Ho},Encoder:function(){return Mo},PacketType:function(){return Oo},protocol:function(){return Io}});var t=n(540),r=n(961);function o(){return o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o.apply(this,arguments)}function i(e,t){return i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},i(e,t)}function a(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,i(e,t)}var l,u=n(658),s=n.n(u);function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function f(e,t,n){return t&&c(e.prototype,t),n&&c(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}!function(e){e.ru_RU="ru_RU",e.en_GB="en_GB"}(l||(l={}));var d=l.ru_RU,p=t.createContext({locale:{},langCode:d});function h(e,t){return void 0===t&&(t=1),Math.min(t,Math.max(0,e))}function g(e){return parseFloat((parseFloat(e)/100).toFixed(5))}function y(e,t){return void 0===t&&(t=2),parseFloat(e.toFixed(t))}function m(e,t){var n=t.exec(e);if(!n)throw new Error(e+" does not match color patterns: [\n "+t+"\n ]");return n}function b(e,t){return e.endsWith("%")?function(e,t){return Math.round(parseFloat(e)*t/100)}(e,t):parseInt(e,10)}function v(e){return e.endsWith("%")?g(e):parseFloat(e)}function k(e,t,n){var r=function(e){return e<0?e+1:e>1?e-1:e}(e);return r<1/6?n+6*(t-n)*r:r<.5?t:r<2/3?n+(t-n)*(2/3-r)*6:n}p.displayName="LocaleContext",p.__KONTUR_REACT_UI__="LocaleContext";var w=n(771),x=n.n(w),S={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgrey:"#a9a9a9",darkgreen:"#006400",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",grey:"#808080",green:"#008000",greenyellow:"#adff2f",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgrey:"#d3d3d3",lightgreen:"#90ee90",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370d8",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#d87093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"},C=function(){function e(e,t,n){this.rgb=e,this.alpha=t,this.type=n}var t=e.prototype;return t.luma=function(){var e=this.rgb[0]/255,t=this.rgb[1]/255,n=this.rgb[2]/255;return.2126*(e=e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4))+.7152*(t=t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.0722*(n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4))},t.toHEXString=function(){return x()(1===this.alpha,"There is an alpha channel="+this.alpha+", converting to HEX will discard opacity"),"#"+this.rgb.map((function(e){var t=h(Math.round(e),255);return(t<16?"0":"")+t.toString(16)})).join("")},t.toRGB=function(){return{r:this.rgb[0],g:this.rgb[1],b:this.rgb[2],a:this.alpha}},t.toRGBString=function(){return this.alpha<1?"rgba("+this.rgb[0]+", "+this.rgb[1]+", "+this.rgb[2]+", "+this.alpha+")":"rgb("+this.rgb[0]+", "+this.rgb[1]+", "+this.rgb[2]+")"},t.toHSL=function(){var e=this.rgb[0]/255,t=this.rgb[1]/255,n=this.rgb[2]/255,r=Math.max(e,t,n),o=Math.min(e,t,n),i=0,a=0,l=(r+o)/2;if(r!==o){var u=r-o;switch(a=l>.5?u/(2-r-o):u/(r+o),r){case e:i=(t-n)/u+(t<n?6:0);break;case t:i=(n-e)/u+2;break;case n:i=(e-t)/u+4}i=Math.round(60*i)}return{h:i,s:y(a,2),l:y(l,2),a:this.alpha}},t.toHSLString=function(){var e=this.toHSL();return e.a<1?"hsla("+e.h+", "+100*e.s+"%, "+100*e.l+"%, "+e.a+")":"hsl("+e.h+", "+100*e.s+"%, "+100*e.l+"%)"},t.toColorString=function(e){switch(void 0===e&&(e=this.type),e){case"rgb":case"rgba":return this.toRGBString();case"hsl":case"hsla":return this.toHSLString();case"transparent":return"transparent";default:return this.toHEXString()}},t.clone=function(){return new e(this.rgb,this.alpha,this.type)},e}(),P=/(?:rgba|rgb)\(\s*(\d{1,3}(?:(?:\.\d+)?%)?)\s*,?\s*(\d{1,3}(?:(?:\.\d+)?%)?)\s*,?\s*(\d{1,3}(?:(?:\.\d+)?%)?)\s*(?:\)|(?:,|\/)?\s*(0|0\.\d+|1|1\.0+|\d{1,3}(?:(?:\.\d+)?%))\s*\))/,B=/(?:hsla|hsl)\(\s*(\d{1,3}(?:deg)?\b)\s*,?\s*(\d{1,3}\.?\d*%|[0-1](?:\.\d*)?\b)\s*,?\s*(\d{1,3}\.?\d*%|[0-1](?:\.\d*)?\b)\s*(?:\)|(?:,|\/)?\s*(\d{1,3}\.?\d*%|\d+(?:\.\d*)?)\s*\))/,L=/^#([0-9a-f]{3}|[0-9a-f]{6})$/,E=function(){function e(){}return e.create=function(e){return this.cache[e]||(this.cache[e]=Object.freeze(this.instantiate(e))),this.cache[e]},e.instantiate=function(e){if("string"!=typeof e)return x()(!1,"Invalid type of input ("+typeof e+"), expected a string. Returning transparent color"),new C([0,0,0],1,"transparent");var t=e.toLowerCase().trim();if("transparent"===t)return new C([0,0,0],0,"transparent");if(this.isKeyword(t))return this.fromKeyword(t);if(t.startsWith("rgb")){var n=function(e){var t=b(e[1],255),n=b(e[2],255),r=b(e[3],255),o=e[4]?v(e[4]):1;if(isNaN(t))throw new Error("Could not parse red="+e[1]+" to number");if(isNaN(n))throw new Error("Could not parse green="+e[2]+" to number");if(isNaN(r))throw new Error("Could not parse blue="+e[3]+" to number");if(isNaN(o))throw new Error("Could not parse alpha="+e[4]+" to number");return{r:t,g:n,b:r,a:o}}(m(t,P)),r=n.r,o=n.g,i=n.b,a=n.a;return r=h(r,255),o=h(o,255),i=h(i,255),a=h(a,1),this.fromRGB(r,o,i,a)}if(t.startsWith("hsl")){var l=function(e){var t=parseInt(e[1],10),n=v(e[2]),r=v(e[3]),o=e[4]?v(e[4]):1;if(isNaN(t))throw new Error("Could not parse hue="+e[1]+" to number");if(isNaN(n))throw new Error("Could not parse saturation="+e[2]+" to number");if(isNaN(r))throw new Error("Could not parse lightness="+e[3]+" to number");if(isNaN(o))throw new Error("Could not parse alpha="+e[4]+" to number");return{h:t,s:n,l:r,a:o}}(m(t,B)),u=l.h,s=l.s,c=l.l,f=l.a;return u=h(u,360),s=h(s,1),c=h(c,1),f=h(f,1),this.fromHSL(u,s,c,f)}return this.fromHex(t)},e.isKeyword=function(e){return Object.prototype.hasOwnProperty.call(S,e)},e.fromKeyword=function(e){return this.fromHex(S[e],e)},e.fromHex=function(e,t){if(void 0===t&&(t="hex"),!L.test(e))throw new Error(e+" is not a valid hex color string");var n,r=e.substring(1),o=[0,0,0];return 6===r.length?null==(n=r.match(/.{2}/g))||n.forEach((function(e,t){o[t]=parseInt(e,16)})):3===r.length&&r.split("").forEach((function(e,t){o[t]=parseInt(e+e,16)})),new C(o,1,t)},e.fromRGB=function(e,t,n,r){return void 0===r&&(r=1),new C([e,t,n],r,r<1?"rgba":"rgb")},e.fromHSL=function(e,t,n,r){if(void 0===r&&(r=1),0===t){var o=Math.round(255*n);return new C([o,o,o],r,r<1?"hsla":"hsl")}var i=e/360,a=n<.5?n*(1+t):n+t-n*t,l=2*n-a,u=k(i+1/3,a,l),s=k(i,a,l),c=k(i-1/3,a,l),f=[Math.round(255*u),Math.round(255*s),Math.round(255*c)];return new C(f,r,r<1?"hsla":"hsl")},e}();E.cache=Object.create(null),E.create("#333333"),E.create("#fff");var A=Object.create(null),_=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return e+"("+n.join()+")"},T=function(e,t,n,r){if(!e)return"";if("transparent"===e.toLowerCase())return"transparent";var o;o=h(o="string"==typeof t?t.endsWith("%")?g(t):parseFloat(t):t,1);var i=E.create(e),a=i.toHSL();return"+"===n?a.l+="relative"===r?a.l*o:o:a.l-="relative"===r?a.l*o:o,a.l=h(a.l),(i.alpha<1?E.create("hsla("+a.h+", "+a.s+", "+a.l+", "+a.a+")"):E.create("hsl("+a.h+", "+a.s+", "+a.l+")")).toColorString(i.type)};function O(e,t,n){var r=_("lighten",e,t,n);return void 0===A[r]?(A[r]=T(e,t,"+",n),A[r]):A[r]}function I(e,t,n){var r=_("darken",e,t,n);return void 0===A[r]?(A[r]=T(e,t,"-",n),A[r]):A[r]}var M=function(e,t){var n=_("fade",e,t);if(void 0===A[n]){var r=E.create(e).clone();r.alpha=t,A[n]=r.toColorString("hex"===r.type?"rgba":r.type)}return A[n]},H=n(744),F=n(996);var D=function(e){return null!=e},R=function(e){return function(t){var n;return(null==t||null==(n=t.type)?void 0:n.__KONTUR_REACT_UI__)===e}};R("Input")||R("FxInput")||R("Autocomplete")||R("PasswordInput")||R("CurrencyInput");var z={darkTheme:{key:"__IS_REACT_UI_DARK_THEME__",value:!0},theme2022:{key:"__IS_REACT_UI_THEME_2022__",value:!0}};function N(e,t){for(;D(e);e=Object.getPrototypeOf(e))if(Object.prototype.hasOwnProperty.call(e,t))return Object.getOwnPropertyDescriptor(e,t)||{};return{}}z.darkTheme.key;var j=function(){function e(){}return f(e,null,[{key:"bgSecondary",get:function(){return this.bgDefault}},{key:"borderColorDisabled",get:function(){return this.bgDisabled}},{key:"bgActive",get:function(){return this.blueLight}},{key:"borderColorFocus",get:function(){return this.blueLight}},{key:"borderColorError",get:function(){return this.errorMain}},{key:"borderColorWarning",get:function(){return this.warningMain}},{key:"linkHoverColor",get:function(){return this.linkColor}},{key:"linkDisabledColor",get:function(){return this.textColorDisabled}},{key:"linkGrayedColor",get:function(){return this.textColorDisabled}},{key:"linkGrayedHoverColor",get:function(){return this.textColorDisabled}},{key:"linkGrayedActiveColor",get:function(){return this.textColorDisabled}},{key:"linkLineHoverBorderBottomStyle",get:function(){return this.linkLineBorderBottomStyle}},{key:"tokenTextColorDisabled",get:function(){return this.textColorDisabledContrast}},{key:"tokenFontSize",get:function(){return this.fontSizeSmall}},{key:"tokenFontSizeSmall",get:function(){return this.tokenFontSize}},{key:"tokenFontSizeMedium",get:function(){return this.fontSizeMedium}},{key:"tokenFontSizeLarge",get:function(){return this.fontSizeLarge}},{key:"tokenMarginYSmall",get:function(){return this.tokenMarginY}},{key:"tokenMarginXSmall",get:function(){return this.tokenMarginX}},{key:"tokenLineHeight",get:function(){return this.controlLineHeightSmall}},{key:"tokenLineHeightSmall",get:function(){return this.tokenLineHeight}},{key:"tokenLineHeightMedium",get:function(){return this.controlLineHeightMedium}},{key:"tokenLineHeightLarge",get:function(){return this.controlLineHeightLarge}},{key:"tokenPaddingYSmall",get:function(){return this.tokenPaddingY}},{key:"tokenPaddingXSmall",get:function(){return this.tokenPaddingX}},{key:"tokenDefaultIdle",get:function(){return this.grayXLight}},{key:"tokenDefaultActive",get:function(){return this.brand}},{key:"tokenGrayIdle",get:function(){return this.grayXLight}},{key:"tokenGrayActive",get:function(){return this.grayDark}},{key:"tokenBlueIdle",get:function(){return this.blueLight}},{key:"tokenBlueActive",get:function(){return this.blueDark}},{key:"tokenGreenIdle",get:function(){return this.greenXxLight}},{key:"tokenGreenActive",get:function(){return this.greenDark}},{key:"tokenYellowIdle",get:function(){return this.yellowXxLight}},{key:"tokenYellowActive",get:function(){return this.yellowDark}},{key:"tokenRedIdle",get:function(){return this.redXxLight}},{key:"tokenRedActive",get:function(){return this.redDark}},{key:"tokenWhite",get:function(){return this.white}},{key:"tokenBlack",get:function(){return this.black}},{key:"tokenBorderColorWarning",get:function(){return this.borderColorWarning}},{key:"tokenBorderColorError",get:function(){return this.borderColorError}},{key:"tokenPaddingYDisabled",get:function(){return this.tokenPaddingY}},{key:"tokenPaddingXDisabled",get:function(){return this.tokenPaddingX}},{key:"tokenMarginYDisabled",get:function(){return this.tokenMarginY}},{key:"tokenMarginXDisabled",get:function(){return this.tokenMarginX}},{key:"tokenShadowDisabled",get:function(){return"0 0 0 "+this.tokenBorderWidth+" "+this.borderColorDisabled}},{key:"tokenInputLineHeight",get:function(){return this.controlLineHeightSmall}},{key:"tokenInputLineHeightSmall",get:function(){return this.tokenInputLineHeight}},{key:"tokenInputLineHeightMedium",get:function(){return this.controlLineHeightMedium}},{key:"tokenInputLineHeightLarge",get:function(){return this.controlLineHeightLarge}},{key:"tokenInputBorderColor",get:function(){return this.inputBorderColor}},{key:"tokenInputBorderColorHover",get:function(){return this.inputBorderColorHover}},{key:"tokenInputBorderColorFocus",get:function(){return this.inputBorderColorFocus}},{key:"tokenInputBorderColorError",get:function(){return this.inputBorderColorError}},{key:"tokenInputBorderColorWarning",get:function(){return this.inputBorderColorWarning}},{key:"tokenInputBorderTopColor",get:function(){return this.inputBorderTopColor}},{key:"tokenInputPlaceholderColor",get:function(){return this.inputPlaceholderColor}},{key:"tokenInputPlaceholderColorLight",get:function(){return this.inputPlaceholderColorLight}},{key:"tokenInputDisabledBg",get:function(){return this.inputDisabledBg}},{key:"tokenInputDisabledBorderColor",get:function(){return this.inputDisabledBorderColor}},{key:"tokenInputBorderWidth",get:function(){return this.inputBorderWidth}},{key:"tokenInputOutlineWidth",get:function(){return this.inputOutlineWidth}},{key:"tokenInputBg",get:function(){return this.inputBg}},{key:"tokenInputMenuPopupBg",get:function(){return this.bgSecondary}},{key:"tokenInputShadow",get:function(){return this.inputShadow}},{key:"tokenInputTextColor",get:function(){return this.inputTextColor}},{key:"tokenInputTextColorDisabled",get:function(){return this.textColorDisabledContrast}},{key:"tokenInputPlaceholderColorDisabled",get:function(){return this.textColorDisabledContrast}},{key:"tokenInputPaddingYSmall",get:function(){return this.tokenInputPaddingY}},{key:"tokenInputPaddingXSmall",get:function(){return this.tokenInputPaddingX}},{key:"btnCheckedDisabledBorderColor",get:function(){return this.btnCheckedDisabledBg}},{key:"btnBorderWidth",get:function(){return this.controlBorderWidth}},{key:"btnOutlineWidth",get:function(){return this.controlOutlineWidth}},{key:"btnIconGapSmallLeft",get:function(){return this.btnIconGapSmall}},{key:"btnIconGapMediumLeft",get:function(){return this.btnIconGapMedium}},{key:"btnIconGapLargeLeft",get:function(){return this.btnIconGapLarge}},{key:"btnDefaultCheckedBorderColor",get:function(){return this.btnCheckedBg}},{key:"btnDefaultTextColor",get:function(){return this.textColorDefault}},{key:"btnPayTextColor",get:function(){return this.textColorDefault}},{key:"btnFontSizeSmall",get:function(){return this.fontSizeSmall}},{key:"btnFontSizeMedium",get:function(){return this.fontSizeMedium}},{key:"btnFontSizeLarge",get:function(){return this.fontSizeLarge}},{key:"btnLineHeightSmall",get:function(){return this.controlLineHeightSmall}},{key:"btnLineHeightMedium",get:function(){return this.controlLineHeightMedium}},{key:"btnLineHeightLarge",get:function(){return this.controlLineHeightLarge}},{key:"btnPaddingYSmall",get:function(){return this.controlPaddingYSmall}},{key:"btnPaddingYMedium",get:function(){return this.controlPaddingYMedium}},{key:"btnPaddingYLarge",get:function(){return this.controlPaddingYLarge}},{key:"btnDisabledBg",get:function(){return this.bgDisabled}},{key:"btnBorderColorWarning",get:function(){return this.borderColorWarning}},{key:"btnBorderColorError",get:function(){return this.borderColorError}},{key:"btnHeightSmall",get:function(){return 2*(parseInt(this.btnBorderWidth,10)||0)+2*(parseInt(this.btnPaddingYSmall,10)||0)+(parseInt(this.btnLineHeightSmall,10)||0)+"px"}},{key:"btnHeightMedium",get:function(){return 2*(parseInt(this.btnBorderWidth,10)||0)+2*(parseInt(this.btnPaddingYMedium,10)||0)+(parseInt(this.btnLineHeightMedium,10)||0)+"px"}},{key:"btnHeightLarge",get:function(){return 2*(parseInt(this.btnBorderWidth,10)||0)+2*(parseInt(this.btnPaddingYLarge,10)||0)+(parseInt(this.btnLineHeightLarge,10)||0)+"px"}},{key:"btnLinkColor",get:function(){return this.linkColor}},{key:"btnLinkHoverColor",get:function(){return this.linkHoverColor}},{key:"btnLinkActiveColor",get:function(){return this.linkActiveColor}},{key:"btnLinkHoverTextDecoration",get:function(){return this.linkHoverTextDecoration}},{key:"btnLinkLineBorderBottomColor",get:function(){return this.linkLineBorderBottomColor}},{key:"btnLinkHoverLineBorderBottomStyle",get:function(){return this.btnLinkLineBorderBottomStyle}},{key:"btnLinkLineBorderBottomOpacity",get:function(){return this.linkLineBorderBottomOpacity}},{key:"btnLinkIconMarginRight",get:function(){return this.linkIconMarginRight}},{key:"btnLinkIconMarginLeft",get:function(){return this.linkIconMarginRight}},{key:"btnErrorSecondary",get:function(){return this.errorSecondary}},{key:"btnWarningSecondary",get:function(){return this.warningSecondary}},{key:"btnOutlineColorFocus",get:function(){return this.outlineColorFocus}},{key:"btnBorderColorFocus",get:function(){return this.borderColorFocus}},{key:"btnLinkDisabledColor",get:function(){return this.linkDisabledColor}},{key:"btnDisabledTextColor",get:function(){return this.textColorDisabledContrast}},{key:"btnBacklessBorderColor",get:function(){return this.btnDefaultBorderColor}},{key:"btnBacklessDisabledBorderColor",get:function(){return this.btnDisabledBorderColor}},{key:"btnBacklessHoverBorderColor",get:function(){return this.btnBacklessBorderColor}},{key:"btnBacklessTextColor",get:function(){return this.btnDefaultTextColor}},{key:"btnTextBorderColor",get:function(){return this.btnDefaultBorderColor}},{key:"btnTextTextColor",get:function(){return this.btnDefaultTextColor}},{key:"btnTextHoverBorderColor",get:function(){return this.btnTextHoverBg}},{key:"selectDefaultBg",get:function(){return this.inputBg}},{key:"selectBorderWidth",get:function(){return this.controlBorderWidth}},{key:"selectPlaceholderColorDisabled",get:function(){return this.textColorDisabledContrast}},{key:"selectOutlineWidth",get:function(){return this.controlOutlineWidth}},{key:"selectLineHeightSmall",get:function(){return this.controlLineHeightSmall}},{key:"selectFontSizeSmall",get:function(){return this.fontSizeSmall}},{key:"selectPaddingYSmall",get:function(){return this.controlPaddingYSmall}},{key:"selectBorderRadiusSmall",get:function(){return this.btnBorderRadiusSmall}},{key:"selectLineHeightMedium",get:function(){return this.controlLineHeightMedium}},{key:"selectFontSizeMedium",get:function(){return this.fontSizeMedium}},{key:"selectPaddingYMedium",get:function(){return this.controlPaddingYMedium}},{key:"selectBorderRadiusMedium",get:function(){return this.btnBorderRadiusMedium}},{key:"selectLineHeightLarge",get:function(){return this.controlLineHeightLarge}},{key:"selectFontSizeLarge",get:function(){return this.fontSizeLarge}},{key:"selectPaddingYLarge",get:function(){return this.controlPaddingYLarge}},{key:"selectBorderRadiusLarge",get:function(){return this.btnBorderRadiusLarge}},{key:"selectMenuArrowColor",get:function(){return this.btnMenuArrowColor}},{key:"selectMenuArrowColorDisabled",get:function(){return this.selectMenuArrowColor}},{key:"selectIconSizeSmall",get:function(){return this.btnIconSizeSmall}},{key:"selectIconSizeMedium",get:function(){return this.btnIconSizeMedium}},{key:"selectIconSizeLarge",get:function(){return this.btnIconSizeLarge}},{key:"selectTextColorDisabled",get:function(){return this.btnDisabledTextColor}},{key:"selectBgDisabled",get:function(){return this.btnDisabledBg}},{key:"selectBorderColorDisabled",get:function(){return this.btnDisabledBorderColor}},{key:"selectMenuOffsetY",get:function(){return this.menuOffsetY}},{key:"selectBorderColorHover",get:function(){return this.btnDefaultHoverBorderColor}},{key:"tooltipTextColor",get:function(){return this.textColorDefault}},{key:"tooltipBorder",get:function(){return this.popupBorder}},{key:"tooltipBorderRadius",get:function(){return this.popupBorderRadius}},{key:"tooltipPinSize",get:function(){return this.popupPinSize}},{key:"tooltipFontSize",get:function(){return this.fontSizeSmall}},{key:"tooltipLineHeight",get:function(){return this.controlLineHeightSmall}},{key:"tooltipMenuPinOffset",get:function(){return this.popupPinOffset}},{key:"tooltipMenuMargin",get:function(){return this.popupMargin}},{key:"tooltipMenuPinSize",get:function(){return this.popupPinSize}},{key:"kebabPinOffset",get:function(){return this.popupPinOffset}},{key:"kebabPinSize",get:function(){return this.popupPinSize}},{key:"kebabBackgroundActive",get:function(){return this.kebabBackgroundHover}},{key:"modalBg",get:function(){return this.bgSecondary}},{key:"modalFixedHeaderBg",get:function(){return this.bgSecondary}},{key:"modalFixedHeaderShadow",get:function(){return this.fixedPanelShadow}},{key:"modalFixedFooterShadow",get:function(){return this.fixedPanelShadow}},{key:"modalHeaderTextColor",get:function(){return this.textColorDefault}},{key:"modalFixedHeaderPaddingBottom",get:function(){return Math.round(parseInt(this.modalHeaderPaddingBottom)/2)+"px"}},{key:"sidePageBgDefault",get:function(){return this.bgSecondary}},{key:"sidePageHeaderTextColor",get:function(){return this.textColorDefault}},{key:"sidePageFixedHeaderShadow",get:function(){return this.fixedPanelShadow}},{key:"sidePageFixedFooterShadow",get:function(){return this.fixedPanelShadow}},{key:"dateInputIconColor",get:function(){return this.textColorDefault}},{key:"dateInputComponentSelectedTextColor",get:function(){return this.textColorDefault}},{key:"calendarBottomSeparatorBorderColor",get:function(){return M(this.calendarMonthTitleBorderBottomColor,1)}},{key:"calendarBottomSeparatorBorderWidth",get:function(){return"1px"}},{key:"calendarBottomSeparatorBorder",get:function(){return this.calendarBottomSeparatorBorderWidth+" solid "+this.calendarBottomSeparatorBorderColor}},{key:"calendarBg",get:function(){return this.bgSecondary}},{key:"calendarCellBg",get:function(){return this.bgSecondary}},{key:"calendarCellLineHeight",get:function(){return"calc("+this.calendarCellSize+" - 2px)"}},{key:"calendarMonthHeaderStickedBgColor",get:function(){return this.bgSecondary}},{key:"calendarCellHoverBgColor",get:function(){return this.bgActive}},{key:"dateSelectTextColorDisabled",get:function(){return this.textColorDisabled}},{key:"dateSelectTextColorDefault",get:function(){return this.textColorDefault}},{key:"dateSelectLinkColor",get:function(){return this.linkColor}},{key:"dateSelectPopupBoxShadow",get:function(){return this.popupBoxShadow}},{key:"dateSelectTextColorInvert",get:function(){return this.textColorInvert}},{key:"datePickerOpenBtnColor",get:function(){return this.textColorDefault}},{key:"pickerBg",get:function(){return this.bgSecondary}},{key:"pickerTodayWrapperBgColor",get:function(){return this.bgSecondary}},{key:"dateSelectMenuBg",get:function(){return this.bgSecondary}},{key:"dateSelectMenuItemBgActive",get:function(){return this.bgActive}},{key:"dateSelectMenuItemBgDisabled",get:function(){return this.bgSecondary}},{key:"dateSelectMenuItemFontActive",get:function(){return this.textColorInvert}},{key:"dateSelectMenuItemFontSelected",get:function(){return this.textColorDefault}},{key:"dateSelectMenuItemFontDisabled",get:function(){return this.textColorDisabled}},{key:"pagingFontSize",get:function(){return this.fontSizeMedium}},{key:"pagingForwardIconSize",get:function(){return this.pagingFontSize}},{key:"pagingPageLinkActiveColor",get:function(){return this.textColorDefault}},{key:"pagingPageLinkHintColor",get:function(){return this.placeholderColor}},{key:"pagingForwardLinkColor",get:function(){return this.linkColor}},{key:"pagingForwardLinkDisabledColor",get:function(){return this.linkDisabledColor}},{key:"pagingDotsDisabledColor",get:function(){return this.textColorDisabled}},{key:"hintColor",get:function(){return this.textColorInvert}},{key:"mobileHintColor",get:function(){return this.hintColor}},{key:"hintFontSize",get:function(){return this.fontSizeSmall}},{key:"hintLineHeight",get:function(){return this.controlLineHeightSmall}},{key:"toastFontSize",get:function(){return this.fontSizeSmall}},{key:"toastLineHeight",get:function(){return this.controlLineHeightSmall}},{key:"dropdownMenuHoverBorderColor",get:function(){return this.btnDefaultHoverBorderColor}},{key:"dropdownMenuHoverBg",get:function(){return this.bgActive}},{key:"dropdownMenuOffsetY",get:function(){return this.menuOffsetY}},{key:"dropdownMenuMenuOffsetY",get:function(){return this.menuOffsetY}},{key:"dropdownDefaultBg",get:function(){return this.btnDefaultBg}},{key:"dropdownBorderWidth",get:function(){return this.btnBorderWidth}},{key:"dropdownOutlineWidth",get:function(){return this.btnOutlineWidth}},{key:"dropdownLineHeightSmall",get:function(){return this.btnLineHeightSmall}},{key:"dropdownFontSizeSmall",get:function(){return this.btnFontSizeSmall}},{key:"dropdownPaddingXSmall",get:function(){return this.selectPaddingXSmall}},{key:"dropdownPaddingYSmall",get:function(){return this.btnPaddingYSmall}},{key:"dropdownIconSizeSmall",get:function(){return this.btnIconSizeSmall}},{key:"dropdownLineHeightMedium",get:function(){return this.btnLineHeightMedium}},{key:"dropdownFontSizeMedium",get:function(){return this.btnFontSizeMedium}},{key:"dropdownPaddingXMedium",get:function(){return this.selectPaddingXMedium}},{key:"dropdownPaddingYMedium",get:function(){return this.btnPaddingYMedium}},{key:"dropdownIconSizeMedium",get:function(){return this.btnIconSizeMedium}},{key:"dropdownLineHeightLarge",get:function(){return this.btnLineHeightLarge}},{key:"dropdownFontSizeLarge",get:function(){return this.btnFontSizeLarge}},{key:"dropdownPaddingXLarge",get:function(){return this.selectPaddingXLarge}},{key:"dropdownPaddingYLarge",get:function(){return this.btnPaddingYLarge}},{key:"dropdownIconSizeLarge",get:function(){return this.btnIconSizeLarge}},{key:"dropdownBgDisabled",get:function(){return this.btnDisabledBg}},{key:"dropdownBorderColorDisabled",get:function(){return this.btnDisabledBorderColor}},{key:"dropdownTextColorDisabled",get:function(){return this.btnDisabledTextColor}},{key:"menuBgDefault",get:function(){return this.bgSecondary}},{key:"menuBorderRadius",get:function(){return"0px"}},{key:"menuItemTextColor",get:function(){return this.textColorDefault}},{key:"menuItemSelectedBg",get:function(){return this.dropdownMenuSelectedBg}},{key:"menuItemHoverBg",get:function(){return this.dropdownMenuHoverBg}},{key:"menuItemIconWidthSmall",get:function(){return this.menuItemIconWidth}},{key:"menuItemPaddingForIcon",get:function(){return parseInt(this.menuItemPaddingXSmall)+parseInt(this.menuItemIconWidthSmall)+parseInt(this.menuItemIconGap)+parseInt(this.menuItemIconLegacyMargin)+"px"}},{key:"menuItemPaddingForIconSmall",get:function(){return this.menuItemPaddingForIcon}},{key:"menuItemPaddingForIconMedium",get:function(){return parseInt(this.menuItemPaddingXMedium)+parseInt(this.menuItemIconWidthMedium)+parseInt(this.menuItemIconGap)+parseInt(this.menuItemIconLegacyMargin)+"px"}},{key:"menuItemPaddingForIconLarge",get:function(){return parseInt(this.menuItemPaddingXLarge)+parseInt(this.menuItemIconWidthLarge)+parseInt(this.menuItemIconGap)+parseInt(this.menuItemIconLegacyMargin)+"px"}},{key:"menuItemLineHeight",get:function(){return this.controlLineHeightSmall}},{key:"menuItemLineHeightSmall",get:function(){return this.menuItemLineHeight}},{key:"menuItemLineHeightMedium",get:function(){return this.controlLineHeightMedium}},{key:"menuItemLineHeightLarge",get:function(){return this.controlLineHeightLarge}},{key:"menuItemFontSize",get:function(){return this.fontSizeSmall}},{key:"menuItemFontSizeSmall",get:function(){return this.menuItemFontSize}},{key:"menuItemFontSizeMedium",get:function(){return this.fontSizeMedium}},{key:"menuItemFontSizeLarge",get:function(){return this.fontSizeLarge}},{key:"menuItemPaddingXSmall",get:function(){return this.menuItemPaddingX}},{key:"menuItemPaddingYSmall",get:function(){return this.menuItemPaddingY}},{key:"menuItemHoverColor",get:function(){return this.textColorInvert}},{key:"menuItemLinkColor",get:function(){return this.linkColor}},{key:"menuItemLineHeightMobile",get:function(){return this.lineHeightMobile}},{key:"menuItemFontSizeMobile",get:function(){return this.fontSizeMobile}},{key:"menuItemDisabledColor",get:function(){return this.textColorDisabled}},{key:"menuMessageTextColor",get:function(){return this.menuItemDisabledColor}},{key:"menuMessageBg",get:function(){return this.menuItemDisabledBg}},{key:"menuMessagePaddingY",get:function(){return this.menuItemPaddingYSmall}},{key:"menuMessagePaddingX",get:function(){return this.menuItemPaddingXSmall}},{key:"menuMessageDisplay",get:function(){return this.menuItemDisplay}},{key:"menuMessagePaddingMobile",get:function(){return this.menuItemPaddingMobile}},{key:"menuMessageLineHeight",get:function(){return this.menuItemLineHeightSmall}},{key:"menuMessageLineHeightMobile",get:function(){return this.menuItemLineHeightMobile}},{key:"menuMessageFontSize",get:function(){return this.menuItemFontSizeSmall}},{key:"menuMessageFontSizeMobile",get:function(){return this.menuItemFontSizeMobile}},{key:"menuMessageFontSizeSmall",get:function(){return this.menuItemFontSizeSmall}},{key:"menuMessageFontSizeMedium",get:function(){return this.menuItemFontSizeMedium}},{key:"menuMessageFontSizeLarge",get:function(){return this.menuItemFontSizeLarge}},{key:"menuMessageLineHeightSmall",get:function(){return this.menuItemLineHeightSmall}},{key:"menuMessageLineHeightMedium",get:function(){return this.menuItemLineHeightMedium}},{key:"menuMessageLineHeightLarge",get:function(){return this.menuItemLineHeightLarge}},{key:"menuHeaderLineHeightSmall",get:function(){return this.menuHeaderLineHeight}},{key:"menuHeaderFontSizeSmall",get:function(){return this.menuHeaderFontSize}},{key:"menuHeaderPaddingXSmall",get:function(){return this.menuHeaderPaddingX}},{key:"menuHeaderPaddingTopSmall",get:function(){return this.menuHeaderPaddingTop}},{key:"menuHeaderPaddingBottomSmall",get:function(){return this.menuHeaderPaddingBottom}},{key:"menuFooterColor",get:function(){return this.menuHeaderColor}},{key:"menuFooterLineHeightSmall",get:function(){return this.menuHeaderLineHeightSmall}},{key:"menuFooterLineHeightMedium",get:function(){return this.menuHeaderLineHeightMedium}},{key:"menuFooterLineHeightLarge",get:function(){return this.menuHeaderLineHeightLarge}},{key:"menuFooterFontSizeSmall",get:function(){return this.menuHeaderFontSizeSmall}},{key:"menuFooterFontSizeMedium",get:function(){return this.menuHeaderFontSizeMedium}},{key:"menuFooterFontSizeLarge",get:function(){return this.menuHeaderFontSizeLarge}},{key:"menuFooterPaddingXSmall",get:function(){return this.menuHeaderPaddingXSmall}},{key:"menuFooterPaddingXMedium",get:function(){return this.menuHeaderPaddingXMedium}},{key:"menuFooterPaddingXLarge",get:function(){return this.menuHeaderPaddingXLarge}},{key:"menuFooterPaddingTopSmall",get:function(){return this.menuHeaderPaddingBottomSmall}},{key:"menuFooterPaddingTopMedium",get:function(){return this.menuHeaderPaddingBottomMedium}},{key:"menuFooterPaddingTopLarge",get:function(){return this.menuHeaderPaddingBottomLarge}},{key:"menuFooterPaddingBottomSmall",get:function(){return this.menuHeaderPaddingTopSmall}},{key:"menuFooterPaddingBottomMedium",get:function(){return this.menuHeaderPaddingTopMedium}},{key:"menuFooterPaddingBottomLarge",get:function(){return this.menuHeaderPaddingTopLarge}},{key:"toggleFontSize",get:function(){return this.fontSizeSmall}},{key:"toggleLineHeight",get:function(){return this.controlLineHeightSmall}},{key:"toggleLineHeightSmall",get:function(){return this.toggleLineHeight}},{key:"toggleLineHeightMedium",get:function(){return this.controlLineHeightMedium}},{key:"toggleLineHeightLarge",get:function(){return this.controlLineHeightLarge}},{key:"toggleFontSizeSmall",get:function(){return this.toggleFontSize}},{key:"toggleFontSizeMedium",get:function(){return this.fontSizeMedium}},{key:"toggleFontSizeLarge",get:function(){return this.fontSizeLarge}},{key:"toggleTextColor",get:function(){return this.textColorDefault}},{key:"toggleHandleBorderRadius",get:function(){return((parseInt(this.toggleHeightSmall,10)||0)-2*(parseInt(this.toggleBorderWidth,10)||0))/2+"px"}},{key:"toggleHandleBorderRadiusSmall",get:function(){return this.toggleHandleBorderRadius}},{key:"toggleHandleBorderRadiusMedium",get:function(){return((parseInt(this.toggleHeightMedium,10)||0)-2*(parseInt(this.toggleBorderWidth,10)||0))/2+"px"}},{key:"toggleHandleBorderRadiusLarge",get:function(){return((parseInt(this.toggleHeightLarge,10)||0)-2*(parseInt(this.toggleBorderWidth,10)||0))/2+"px"}},{key:"toggleHeightSmall",get:function(){return this.toggleHeight}},{key:"toggleWidthSmall",get:function(){return this.toggleWidth}},{key:"toggleBorderRadius",get:function(){return"calc("+this.toggleHeightSmall+" * 0.5)"}},{key:"toggleBorderRadiusSmall",get:function(){return this.toggleBorderRadius}},{key:"toggleBorderRadiusMedium",get:function(){return"calc("+this.toggleHeightMedium+" * 0.5)"}},{key:"toggleBorderRadiusLarge",get:function(){return"calc("+this.toggleHeightLarge+" * 0.5)"}},{key:"toggleBgDisabled",get:function(){return this.bgDisabled}},{key:"toggleBorderWidth",get:function(){return this.controlBorderWidth}},{key:"toggleOutlineWidth",get:function(){return(parseInt(this.controlOutlineWidth,10)||0)+(parseInt(this.toggleBorderWidth,10)||0)+"px"}},{key:"toggleBorderColorDisabled",get:function(){return this.toggleBorderColor}},{key:"toggleBorderColorDisabledChecked",get:function(){return this.toggleBorderColor}},{key:"toggleHandleSize",get:function(){return(parseInt(this.toggleHeightSmall,10)||0)-2*(parseInt(this.toggleBorderWidth,10)||0)+"px"}},{key:"toggleHandleSizeSmall",get:function(){return this.toggleHandleSize}},{key:"toggleHandleSizeMedium",get:function(){return(parseInt(this.toggleHeightMedium,10)||0)-2*(parseInt(this.toggleBorderWidth,10)||0)+"px"}},{key:"toggleHandleSizeLarge",get:function(){return(parseInt(this.toggleHeightLarge,10)||0)-2*(parseInt(this.toggleBorderWidth,10)||0)+"px"}},{key:"toggleHandleLeft",get:function(){return this.toggleBorderWidth}},{key:"toggleHandleTop",get:function(){return this.toggleBorderWidth}},{key:"toggleShadowColorError",get:function(){return this.errorMain}},{key:"toggleShadowColorWarning",get:function(){return this.warningMain}},{key:"toggleFocusShadowColor",get:function(){return this.borderColorFocus}},{key:"toggleOutlineColorFocus",get:function(){return this.outlineColorFocus}},{key:"toggleHandleBoxShadowOld",get:function(){return"0 "+this.toggleBorderWidth+" 0 0 rgba(0, 0, 0, 0.15), 0 0 0 "+this.toggleBorderWidth+" rgba(0, 0, 0, 0.15)"}},{key:"toggleContainerBgHover",get:function(){return this.toggleBgHover}},{key:"toggleContainerBgChecked",get:function(){return this.toggleBgChecked}},{key:"toggleHandleBg",get:function(){return this.toggleBg}},{key:"popupTextColor",get:function(){return this.textColorDefault}},{key:"popupBackground",get:function(){return this.bgSecondary}},{key:"inputTextColor",get:function(){return this.textColorDefault}},{key:"inputFocusedIconColor",get:function(){return this.inputIconColor}},{key:"inputTextColorDisabled",get:function(){return this.textColorDisabledContrast}},{key:"inputFontSizeSmall",get:function(){return this.fontSizeSmall}},{key:"inputFontSizeMedium",get:function(){return this.fontSizeMedium}},{key:"inputFontSizeLarge",get:function(){return this.fontSizeLarge}},{key:"inputLineHeightSmall",get:function(){return this.controlLineHeightSmall}},{key:"inputLineHeightMedium",get:function(){return this.controlLineHeightMedium}},{key:"inputLineHeightLarge",get:function(){return this.controlLineHeightLarge}},{key:"inputHeightSmall",get:function(){return 2*(parseInt(this.inputBorderWidth,10)||0)+2*(parseInt(this.inputPaddingYSmall,10)||0)+(parseInt(this.inputLineHeightSmall,10)||0)+"px"}},{key:"inputHeightMedium",get:function(){return 2*(parseInt(this.inputBorderWidth,10)||0)+2*(parseInt(this.inputPaddingYMedium,10)||0)+(parseInt(this.inputLineHeightMedium,10)||0)+"px"}},{key:"inputHeightLarge",get:function(){return 2*(parseInt(this.inputBorderWidth,10)||0)+2*(parseInt(this.inputPaddingYLarge,10)||0)+(parseInt(this.inputLineHeightLarge,10)||0)+"px"}},{key:"inputPaddingYSmall",get:function(){return this.controlPaddingYSmall}},{key:"inputPaddingYMedium",get:function(){return this.controlPaddingYMedium}},{key:"inputPaddingYLarge",get:function(){return this.controlPaddingYLarge}},{key:"inputFocusShadow",get:function(){return"0 0 0 "+this.inputOutlineWidth+" "+this.borderColorFocus}},{key:"inputFocusedBg",get:function(){return this.inputBg}},{key:"inputDisabledBg",get:function(){return this.bgDisabled}},{key:"inputDisabledBorderColor",get:function(){return this.borderColorDisabled}},{key:"inputFocusOutline",get:function(){return this.borderColorFocus}},{key:"inputBorderWidth",get:function(){return this.controlBorderWidth}},{key:"inputOutlineWidth",get:function(){return"calc("+this.controlOutlineWidth+" - 1px)"}},{key:"inputBorderColor",get:function(){return this.borderColorGrayLight}},{key:"inputBorderColorHover",get:function(){return this.inputBorderColor}},{key:"inputBorderColorFocus",get:function(){return this.borderColorFocus}},{key:"inputBorderColorError",get:function(){return this.borderColorError}},{key:"inputBorderColorWarning",get:function(){return this.borderColorWarning}},{key:"inputPlaceholderColor",get:function(){return this.placeholderColor}},{key:"inputPlaceholderColorDisabled",get:function(){return this.textColorDisabledContrast}},{key:"inputPlaceholderColorLight",get:function(){return this.placeholderColorLight}},{key:"inputBlinkColor",get:function(){return this.blinkColor}},{key:"checkboxFontSize",get:function(){return this.fontSizeSmall}},{key:"checkboxFontSizeSmall",get:function(){return this.checkboxFontSize}},{key:"checkboxFontSizeMedium",get:function(){return this.fontSizeMedium}},{key:"checkboxFontSizeLarge",get:function(){return this.fontSizeLarge}},{key:"checkboxLineHeight",get:function(){return this.controlLineHeightSmall}},{key:"checkboxLineHeightSmall",get:function(){return this.checkboxLineHeight}},{key:"checkboxLineHeightMedium",get:function(){return this.controlLineHeightMedium}},{key:"checkboxLineHeightLarge",get:function(){return this.controlLineHeightLarge}},{key:"checkboxPaddingY",get:function(){return((parseInt(this.controlHeightSmall,10)||0)-(parseInt(this.checkboxLineHeightSmall,10)||0))/2+"px"}},{key:"checkboxPaddingYSmall",get:function(){return this.checkboxPaddingY}},{key:"checkboxPaddingYMedium",get:function(){return((parseInt(this.controlHeightMedium,10)||0)-(parseInt(this.checkboxLineHeightMedium,10)||0))/2+"px"}},{key:"checkboxPaddingYLarge",get:function(){return((parseInt(this.controlHeightLarge,10)||0)-(parseInt(this.checkboxLineHeightLarge,10)||0))/2+"px"}},{key:"checkboxTextColorDefault",get:function(){return this.textColorDefault}},{key:"checkboxTextColorDisabled",get:function(){return this.textColorDisabled}},{key:"checkboxShadowDisabled",get:function(){return"0 0 0 "+this.checkboxBorderWidth+" "+this.borderColorDisabled}},{key:"checkboxBorderWidth",get:function(){return this.controlBorderWidth}},{key:"checkboxShadow",get:function(){return"0 0 0 "+this.checkboxBorderWidth+" rgba(0, 0, 0, 0.15)"}},{key:"checkboxShadowHover",get:function(){return"0 0 0 "+this.checkboxBorderWidth+" #c3c3c3"}},{key:"checkboxOutlineColorFocus",get:function(){return this.outlineColorFocus}},{key:"checkboxBorderColorWarning",get:function(){return this.borderColorWarning}},{key:"checkboxBorderColorError",get:function(){return this.borderColorError}},{key:"checkboxCheckedHoverShadow",get:function(){return"0 0 0 "+this.checkboxBorderWidth+" "+this.checkboxCheckedHoverBg}},{key:"checkboxOutlineWidth",get:function(){return this.controlOutlineWidth}},{key:"checkboxCheckedShadow",get:function(){return"0 0 0 "+this.checkboxBorderWidth+" "+this.checkboxCheckedBg}},{key:"checkboxCheckedActiveShadow",get:function(){return"0 0 0 "+this.checkboxBorderWidth+" "+this.checkboxCheckedActiveBg}},{key:"checkboxBorderColorFocus",get:function(){return this.borderColorFocus}},{key:"checkboxHoverBg",get:function(){return this.btnDefaultHoverBg}},{key:"checkboxActiveBg",get:function(){return this.btnDefaultActiveBg}},{key:"checkboxCheckedBg",get:function(){return this.borderColorFocus}},{key:"checkboxBgDisabled",get:function(){return this.bgDisabled}},{key:"checkboxCheckedHoverBg",get:function(){return I(this.checkboxCheckedBg,"5%")}},{key:"checkboxCheckedActiveBg",get:function(){return I(this.checkboxCheckedBg,"15%")}},{key:"checkboxShadowActive",get:function(){return"0 0 0 "+this.checkboxBorderWidth+" #c3c3c3"}},{key:"textareaColor",get:function(){return this.textColorDefault}},{key:"textareaTextColorDisabled",get:function(){return this.textColorDisabledContrast}},{key:"textareaPlaceholderColorLight",get:function(){return this.placeholderColorLight}},{key:"textareaPlaceholderColor",get:function(){return this.placeholderColor}},{key:"textareaPlaceholderColorDisabled",get:function(){return this.textColorDisabledContrast}},{key:"textareaFontSize",get:function(){return this.fontSizeSmall}},{key:"textareaFontSizeSmall",get:function(){return this.textareaFontSize}},{key:"textareaFontSizeMedium",get:function(){return this.fontSizeMedium}},{key:"textareaFontSizeLarge",get:function(){return this.fontSizeLarge}},{key:"textareaLineHeight",get:function(){return this.controlLineHeightSmall}},{key:"textareaLineHeightSmall",get:function(){return this.textareaLineHeight}},{key:"textareaLineHeightMedium",get:function(){return this.controlLineHeightMedium}},{key:"textareaLineHeightLarge",get:function(){return this.controlLineHeightLarge}},{key:"textareaBorderWidth",get:function(){return this.controlBorderWidth}},{key:"textareaOutlineWidth",get:function(){return(parseInt(this.controlOutlineWidth,10)||0)-(parseInt(this.textareaBorderWidth,10)||0)+"px"}},{key:"textareaMinHeight",get:function(){return(parseInt(this.textareaLineHeightSmall,10)||0)+2*(parseInt(this.textareaPaddingYSmall,10)||0)+2*(parseInt(this.textareaBorderWidth,10)||0)+"px"}},{key:"textareaMinHeightSmall",get:function(){return this.textareaMinHeight}},{key:"textareaMinHeightMedium",get:function(){return(parseInt(this.textareaLineHeightMedium,10)||0)+2*(parseInt(this.textareaPaddingYMedium,10)||0)+2*(parseInt(this.textareaBorderWidth,10)||0)+"px"}},{key:"textareaMinHeightLarge",get:function(){return(parseInt(this.textareaLineHeightLarge,10)||0)+2*(parseInt(this.textareaPaddingYLarge,10)||0)+2*(parseInt(this.textareaBorderWidth,10)||0)+"px"}},{key:"textareaPaddingXSmall",get:function(){return this.textareaPaddingX}},{key:"textareaPaddingY",get:function(){return this.controlPaddingYSmall}},{key:"textareaPaddingYSmall",get:function(){return this.textareaPaddingY}},{key:"textareaPaddingYMedium",get:function(){return this.controlPaddingYMedium}},{key:"textareaPaddingYLarge",get:function(){return this.controlPaddingYLarge}},{key:"textareaBorderColor",get:function(){return this.borderColorGrayLight}},{key:"textareaBorderColorFocus",get:function(){return this.borderColorFocus}},{key:"textareaBorderColorHover",get:function(){return this.inputBorderColorHover}},{key:"textareaBorderColorWarning",get:function(){return this.borderColorWarning}},{key:"textareaBorderColorError",get:function(){return this.borderColorError}},{key:"textareaCounterColor",get:function(){return this.gray}},{key:"textareaCounterBg",get:function(){return M(this.textareaBg,.9)}},{key:"textareaCounterErrorColor",get:function(){return this.errorText}},{key:"textareaCounterHelpIconColor",get:function(){return this.linkColor}},{key:"radioBulletSizeSmall",get:function(){return this.radioBulletSize}},{key:"radioOutlineWidth",get:function(){return this.controlOutlineWidth}},{key:"radioTextColor",get:function(){return this.textColorDefault}},{key:"radioSizeSmall",get:function(){return this.radioSize}},{key:"radioFontSize",get:function(){return this.fontSizeSmall}},{key:"radioFontSizeSmall",get:function(){return this.radioFontSize}},{key:"radioFontSizeMedium",get:function(){return this.fontSizeMedium}},{key:"radioFontSizeLarge",get:function(){return this.fontSizeLarge}},{key:"radioLineHeight",get:function(){return this.controlLineHeightSmall}},{key:"radioLineHeightSmall",get:function(){return this.radioLineHeight}},{key:"radioLineHeightMedium",get:function(){return this.controlLineHeightMedium}},{key:"radioLineHeightLarge",get:function(){return this.controlLineHeightLarge}},{key:"radioPaddingY",get:function(){return((parseInt(this.controlHeightSmall,10)||0)-(parseInt(this.radioLineHeightSmall,10)||0))/2+"px"}},{key:"radioPaddingYSmall",get:function(){return this.radioPaddingY}},{key:"radioPaddingYMedium",get:function(){return((parseInt(this.controlHeightMedium,10)||0)-(parseInt(this.radioLineHeightMedium,10)||0))/2+"px"}},{key:"radioPaddingYLarge",get:function(){return((parseInt(this.controlHeightLarge,10)||0)-(parseInt(this.radioLineHeightLarge,10)||0))/2+"px"}},{key:"radioHoverBg",get:function(){return this.checkboxHoverBg}},{key:"radioActiveBg",get:function(){return this.checkboxActiveBg}},{key:"radioBorderWidth",get:function(){return this.controlBorderWidth}},{key:"radioBorderColor",get:function(){return this.borderColorGrayLight}},{key:"radioBorder",get:function(){return this.radioBorderWidth+" solid "+this.radioBorderColor}},{key:"radioBorderColorFocus",get:function(){return this.borderColorFocus}},{key:"radioBorderColorWarning",get:function(){return this.borderColorWarning}},{key:"radioBorderColorError",get:function(){return this.borderColorError}},{key:"radioFocusShadow",get:function(){return"inset 0 0 0 1px "+this.outlineColorFocus}},{key:"radioCheckedBgColor",get:function(){return this.checkboxCheckedBg}},{key:"radioCheckedHoverBgColor",get:function(){return I(this.checkboxCheckedBg,"5%")}},{key:"radioDisabledBg",get:function(){return this.bgDisabled}},{key:"radioDisabledShadow",get:function(){return"0 0 0 "+this.radioBorderWidth+" "+this.borderColorDisabled}},{key:"radioCheckedDisabledBulletBg",get:function(){return this.gray}},{key:"tabFontSize",get:function(){return this.fontSizeLarge}},{key:"tabFontSizeSmall",get:function(){return this.fontSizeSmall}},{key:"tabFontSizeMedium",get:function(){return this.fontSizeMedium}},{key:"tabFontSizeLarge",get:function(){return this.tabFontSize}},{key:"tabLineHeight",get:function(){return this.controlLineHeightLarge}},{key:"tabLineHeightSmall",get:function(){return this.controlLineHeightSmall}},{key:"tabLineHeightMedium",get:function(){return this.controlLineHeightMedium}},{key:"tabLineHeightLarge",get:function(){return this.tabLineHeight}},{key:"tabPaddingXLarge",get:function(){return this.tabPaddingX}},{key:"tabsMarginX",get:function(){return this.tabPaddingX}},{key:"tabPaddingY",get:function(){return parseInt(this.controlPaddingYLarge)+parseInt(this.controlBorderWidth)+"px"}},{key:"tabPaddingYSmall",get:function(){return parseInt(this.controlPaddingYSmall)+parseInt(this.controlBorderWidth)+"px"}},{key:"tabPaddingYMedium",get:function(){return parseInt(this.controlPaddingYMedium)+parseInt(this.controlBorderWidth)+"px"}},{key:"tabPaddingYLarge",get:function(){return this.tabPaddingY}},{key:"tabOutlineWidth",get:function(){return this.controlOutlineWidth}},{key:"tabTextColorDefault",get:function(){return this.textColorDefault}},{key:"tabColorFocus",get:function(){return this.borderColorFocus}},{key:"tabColorError",get:function(){return this.btnDangerBg}},{key:"tabColorWarning",get:function(){return this.btnPayBg}},{key:"tabColorSuccess",get:function(){return this.btnSuccessBg}},{key:"tabColorPrimary",get:function(){return this.btnPrimaryBg}},{key:"tabColorHover",get:function(){return this.borderColorFocusLight}},{key:"tabColorHoverError",get:function(){return O(this.tabColorError,"25%")}},{key:"tabColorHoverWarning",get:function(){return O(this.tabColorWarning,"25%")}},{key:"tabColorHoverSuccess",get:function(){return O(this.tabColorSuccess,"25%")}},{key:"tabColorHoverPrimary",get:function(){return O(this.tabColorPrimary,"25%")}},{key:"spinnerBgColor",get:function(){return this.grayXLight}},{key:"spinnerColor",get:function(){return this.red}},{key:"spinnerDimmedColor",get:function(){return this.gray}},{key:"spinnerCaptionColor",get:function(){return this.gray}},{key:"spinnerFontSizeSmall",get:function(){return this.fontSizeSmall}},{key:"spinnerFontSizeMedium",get:function(){return this.fontSizeMedium}},{key:"spinnerFontSizeLarge",get:function(){return this.fontSizeLarge}},{key:"spinnerLineHeightSmall",get:function(){return this.controlLineHeightSmall}},{key:"spinnerLineHeightMedium",get:function(){return this.controlLineHeightMedium}},{key:"spinnerLineHeightLarge",get:function(){return this.controlLineHeightLarge}},{key:"switcherTextColor",get:function(){return this.textColorDefault}},{key:"switcherOutlineWidth",get:function(){return this.btnOutlineWidth}},{key:"switcherCaptionFontSizeSmall",get:function(){return this.btnFontSizeSmall}},{key:"switcherCaptionFontSizeMedium",get:function(){return this.btnFontSizeMedium}},{key:"switcherCaptionFontSizeLarge",get:function(){return this.btnFontSizeLarge}},{key:"switcherCaptionLineHeightSmall",get:function(){return this.btnLineHeightSmall}},{key:"switcherCaptionLineHeightMedium",get:function(){return this.btnLineHeightMedium}},{key:"switcherCaptionLineHeightLarge",get:function(){return this.btnLineHeightLarge}},{key:"switcherCaptionGapSmall",get:function(){return this.btnPaddingXSmall}},{key:"switcherCaptionGapMedium",get:function(){return this.btnPaddingXMedium}},{key:"switcherCaptionGapLarge",get:function(){return this.btnPaddingXLarge}},{key:"switcherButtonPaddingYSmall",get:function(){return this.btnPaddingYSmall}},{key:"switcherButtonPaddingYMedium",get:function(){return this.btnPaddingYMedium}},{key:"switcherButtonPaddingYLarge",get:function(){return this.btnPaddingYLarge}},{key:"switcherButtonLineHeightSmall",get:function(){return this.btnLineHeightSmall}},{key:"switcherButtonLineHeightMedium",get:function(){return this.btnLineHeightMedium}},{key:"switcherButtonLineHeightLarge",get:function(){return this.btnLineHeightLarge}},{key:"switcherButtonFontSizeSmall",get:function(){return this.btnFontSizeSmall}},{key:"switcherButtonFontSizeMedium",get:function(){return this.btnFontSizeMedium}},{key:"switcherButtonFontSizeLarge",get:function(){return this.btnFontSizeLarge}},{key:"switcherButtonBorderRadiusSmall",get:function(){return this.btnBorderRadiusSmall}},{key:"switcherButtonBorderRadiusMedium",get:function(){return this.btnBorderRadiusMedium}},{key:"switcherButtonBorderRadiusLarge",get:function(){return this.btnBorderRadiusLarge}},{key:"switcherButtonBorderWidth",get:function(){return this.btnBorderWidth}},{key:"switcherButtonDisabledBorderColor",get:function(){return this.switcherBtnDisabledBorderColor}},{key:"switcherButtonCheckedDisabledShadow",get:function(){return this.btnCheckedDisabledShadow}},{key:"mobilePopupHeaderFontSize",get:function(){return this.fontSizeMobile}},{key:"mobilePopupHeaderLineHeight",get:function(){return this.lineHeightMobile}},{key:"globalLoaderColor",get:function(){return this.blueLight}},{key:"fileUploaderFontSize",get:function(){return this.fontSizeSmall}},{key:"fileUploaderPaddingXSmall",get:function(){return this.inputPaddingXSmall}},{key:"fileUploaderPaddingXMedium",get:function(){return this.inputPaddingXMedium}},{key:"fileUploaderPaddingXLarge",get:function(){return this.inputPaddingXLarge}},{key:"fileUploaderFontSizeSmall",get:function(){return this.fontSizeSmall}},{key:"fileUploaderFontSizeMedium",get:function(){return this.fontSizeMedium}},{key:"fileUploaderFontSizeLarge",get:function(){return this.fontSizeLarge}},{key:"fileUploaderLineHeight",get:function(){return this.controlLineHeightSmall}},{key:"fileUploaderLineHeightSmall",get:function(){return this.fileUploaderLineHeight}},{key:"fileUploaderLineHeightMedium",get:function(){return this.controlLineHeightMedium}},{key:"fileUploaderLineHeightLarge",get:function(){return this.controlLineHeightLarge}},{key:"fileUploaderPaddingYSmall",get:function(){return this.fileUploaderPaddingY}},{key:"fileUploaderPaddingYMedium",get:function(){return this.controlPaddingYMedium}},{key:"fileUploaderPaddingYLarge",get:function(){return this.controlPaddingYLarge}},{key:"fileUploaderTextColorDefault",get:function(){return this.textColorDefault}},{key:"fileUploaderPaddingY",get:function(){return this.controlPaddingYSmall}},{key:"fileUploaderBorderWidth",get:function(){return this.controlBorderWidth}},{key:"fileUploaderDisabledBorder",get:function(){return this.fileUploaderBorderWidth+" solid "+this.fileUploaderDisabledBorderColor}},{key:"fileUploaderBorderColorFocus",get:function(){return this.borderColorFocus}},{key:"fileUploaderLinkColor",get:function(){return this.linkColor}},{key:"fileUploaderBorderColorError",get:function(){return this.borderColorError}},{key:"fileUploaderBorderColorWarning",get:function(){return this.borderColorWarning}},{key:"fileUploaderLinkHoverTextDecoration",get:function(){return this.linkHoverTextDecoration}},{key:"fileUploaderDragOverBorderColor",get:function(){return this.borderColorFocus}},{key:"closeBtnIconFocusShadow",get:function(){return"inset 0 0 0 1px "+this.borderColorFocus+", inset 0 0 0 2px "+this.outlineColorFocus}}]),e}();j.fontFamilyCompensationBaseline="0px",j.labGrotesqueBaselineCompensation="1",j.brandXLight="#cae5f5",j.brandLight="#3094d0",j.brand="#2291ff",j.brandDark="#1363a0",j.brandXDark="#084f85",j.white="#fff",j.grayXxLight="#f2f2f2",j.grayXLight="#ebebeb",j.grayLight="#a0a0a0",j.gray="#858585",j.grayDark="#333",j.black="#000",j.blueXxLight="#cdedff",j.blueLight="#1f87ef",j.blue="#1874cf",j.blueDark="#1874cf",j.blueXDark="#044785",j.greenXxLight="#d7f8ae",j.green="#538a1b",j.greenDark="#477916",j.redXxLight="#ffddd6",j.red="#dd473b",j.redDark="#cb3d35",j.yellowXxLight="#ffeec2",j.yellow="#fcb73e",j.yellowDark="#ef8b17",j.bgDefault="#fff",j.bgDisabled="#f6f6f6",j.errorMain="#dd473b",j.errorSecondary="#ffd6d6",j.errorText="#cb3d35",j.warningMain="#fcb73e",j.warningSecondary="#fff0bc",j.warningText="#d97e00",j.borderColorFocusLight="#cdedff",j.borderColorGrayDark="rgba(0, 0, 0, 0.28)",j.borderColorGrayLight="rgba(0, 0, 0, 0.16)",j.placeholderColor="#adadad",j.outlineColorFocus="#fff",j.placeholderColorLight="#cdcdcd",j.blinkColor="rgba(0, 136, 255, 0.2)",j.controlBorderWidth="1px",j.controlOutlineWidth="2px",j.controlLineHeightSmall="20px",j.controlLineHeightMedium="22px",j.controlLineHeightLarge="24px",j.controlPaddingYSmall="5px",j.controlPaddingYMedium="8px",j.controlPaddingYLarge="11px",j.textColorDefault="#222222",j.textColorInvert="#fff",j.textColorDisabled="#adadad",j.textColorDisabledContrast="#858585",j.fontSizeSmall="14px",j.fontSizeMedium="16px",j.fontSizeLarge="18px",j.fontSizeMobile="18px",j.lineHeightMobile="24px",j.specificityLevel="0",j.fixedPanelShadow="0 0 16px 1px rgba(0, 0, 0, 0.3)",j.controlHeightSmall="32px",j.controlHeightMedium="40px",j.controlHeightLarge="48px",j.mobileMediaQuery="(max-width: 576px) and (hover: none) and (pointer: coarse)",j.transitionDuration="100ms",j.transitionTimingFunction="cubic-bezier(0.5, 1, 0.89, 1)",j.linkColor="#1874cf",j.linkActiveColor="#1260ae",j.linkHoverTextDecoration="underline",j.linkSuccessColor="#477916",j.linkSuccessHoverColor="#477916",j.linkSuccessActiveColor="#325a0c",j.linkDangerColor="#cb3d35",j.linkDangerHoverColor="#cb3d35",j.linkDangerActiveColor="#a92a27",j.linkIconMarginRight="4px",j.linkIconMarginLeft="4px",j.linkButtonLineHeight="34px",j.linkButtonPaddingX="10px",j.linkLineBorderBottomStyle="",j.linkLineBorderBottomWidth="0px",j.linkLineBorderBottomOpacity="0.5",j.linkLineBorderBottomColor="color-mix(in srgb, currentColor "+100*parseFloat(j.linkLineBorderBottomOpacity)+"%, transparent)",j.linkFocusOutlineColor="transparent",j.linkFocusOutlineWidth="0px",j.linkFocusOutline="none",j.tokenDisabledBg="rgba(0, 0, 0, 0.05)",j.tokenMarginY="3px",j.tokenMarginX="2px",j.tokenMarginYMedium="3px",j.tokenMarginXMedium="3px",j.tokenMarginYLarge="3px",j.tokenMarginXLarge="4px",j.tokenPaddingY="1px",j.tokenPaddingX="3px",j.tokenPaddingYMedium="2px",j.tokenPaddingXMedium="5px",j.tokenPaddingYLarge="3px",j.tokenPaddingXLarge="7px",j.tokenMarginBeforeIcon="4px",j.tokenRemoveIconSize="8px",j.tokenRemoveIconPaddingY="4px",j.tokenRemoveIconPaddingX="4px",j.tokenRemoveIconGap="4px",j.tokenRemoveIconBoxSizing="content-box",j.tokenBorderRadius="1px",j.tokenBorderWidth="1px",j.tokenBorderColorDisabled="transparent",j.tokenOutlineWidth="2px",j.tokenLegacyTextShift="0px",j.tokenDefaultIdleBg="",j.tokenDefaultIdleColor="",j.tokenDefaultIdleBorderColor="",j.tokenDefaultIdleBgHover="",j.tokenDefaultIdleColorHover="",j.tokenDefaultIdleBorderColorHover="",j.tokenDefaultActiveBg="",j.tokenDefaultActiveColor="",j.tokenDefaultActiveBorderColor="",j.tokenInputBorderRadius="0px",j.tokenInputPaddingY="1px",j.tokenInputPaddingX="2px",j.tokenInputPaddingYMedium="3px",j.tokenInputPaddingXMedium="3px",j.tokenInputPaddingYLarge="5px",j.tokenInputPaddingXLarge="4px",j.tokenInputPopupOffset="0px",j.tokenInputPopupMarginSmall="7px",j.tokenInputPopupMarginMedium="10px",j.tokenInputPopupMarginLarge="13px",j.loaderBg="rgba(255, 255, 255, 0.8)",j.loaderOpacity="0.8",j.loaderBorderRadius="0px",j.btnBackgroundClip="padding-box",j.btnArrowBgImageActive="none",j.btnArrowBgImageChecked="none",j.btnLinkBorderRadius="2px",j.btnFocusShadowWidth="2px",j.btnBorderColorTransition="",j.btnDisabledBorderColor="rgba(0, 0, 0, 0.05)",j.btnCheckedBg="#7e7e7e",j.btnCheckedDisabledBg="#a0a0a0",j.btnCheckedDisabledColor="rgba(255, 255, 255, 0.7)",j.btnCheckedTextColor="#fff",j.btnCheckedShadow="none",j.btnCheckedDisabledShadow="none",j.btnBorderRadiusSmall="1px",j.btnBorderRadiusMedium="1px",j.btnBorderRadiusLarge="1px",j.btnInsetWidth="1px",j.btnPaddingXSmall="15px",j.btnPaddingXMedium="15px",j.btnPaddingXLarge="19px",j.btnIconGapSmall="4px",j.btnIconGapSmallRight="4px",j.btnIconGapMedium="4px",j.btnIconGapMediumRight="4px",j.btnIconGapLarge="4px",j.btnIconGapLargeRight="4px",j.btnIconSizeSmall="16px",j.btnIconSizeMedium="18px",j.btnIconSizeLarge="20px",j.btnDefaultBg="#fff",j.btnDefaultBgStart="none",j.btnDefaultBgEnd="none",j.btnDefaultHoverBg="#f2f2f2",j.btnDefaultHoverBgStart="none",j.btnDefaultHoverBgEnd="none",j.btnDefaultActiveBg="#ebebeb",j.btnDefaultHoverBorderColor="rgba(0, 0, 0, 0.16)",j.btnDefaultHoverBorderBottomColor="",j.btnDefaultHoverTextColor="",j.btnDefaultActiveBorderColor="rgba(0, 0, 0, 0.16)",j.btnDefaultActiveBorderTopColor="",j.btnDefaultBorderColor="rgba(0, 0, 0, 0.16)",j.btnDefaultBorderBottomColor="",j.btnDefaultActiveShadow="none",j.btnSuccessBg="#538a1b",j.btnSuccessHoverBg="#477916",j.btnSuccessHoverBorderColor="#477916",j.btnSuccessHoverBorderBottomColor="",j.btnSuccessHoverTextColor="",j.btnSuccessBorderColor="#538a1b",j.btnSuccessBorderBottomColor="",j.btnSuccessBgStart="none",j.btnSuccessBgEnd="none",j.btnSuccessTextColor="#fff",j.btnSuccessHoverBgStart="none",j.btnSuccessHoverBgEnd="none",j.btnSuccessActiveBg="#3a6710",j.btnSuccessActiveBorderColor="#3a6710",j.btnSuccessActiveBorderTopColor="",j.btnSuccessActiveShadow="none",j.btnPrimaryBg="#1c7edf",j.btnPrimaryHoverBg="#1874cf",j.btnPrimaryHoverBorderColor="#1874cf",j.btnPrimaryHoverBorderBottomColor="",j.btnPrimaryHoverTextColor="",j.btnPrimaryBorderColor="#1c7edf",j.btnPrimaryBorderBottomColor="",j.btnPrimaryBgStart="none",j.btnPrimaryBgEnd="none",j.btnPrimaryTextColor="#fff",j.btnPrimaryHoverBgStart="none",j.btnPrimaryHoverBgEnd="none",j.btnPrimaryActiveBg="#156abe",j.btnPrimaryActiveBorderColor="#156abe",j.btnPrimaryActiveBorderTopColor="",j.btnPrimaryActiveShadow="none",j.btnDangerBg="#dd473b",j.btnDangerHoverBg="#cb3d35",j.btnDangerHoverBorderColor="#cb3d35",j.btnDangerHoverBorderBottomColor="",j.btnDangerHoverTextColor="",j.btnDangerBorderColor="#dd473b",j.btnDangerBorderBottomColor="",j.btnDangerBgStart="none",j.btnDangerBgEnd="none",j.btnDangerTextColor="#fff",j.btnDangerHoverBgStart="none",j.btnDangerHoverBgEnd="none",j.btnDangerActiveBg="#ba342e",j.btnDangerActiveBorderColor="#ba342e",j.btnDangerActiveBorderTopColor="",j.btnDangerActiveShadow="none",j.btnPayBg="#fcb73e",j.btnPayHoverBg="#fda70c",j.btnPayHoverBorderColor="#fda70c",j.btnPayHoverBorderBottomColor="",j.btnPayHoverTextColor="",j.btnPayBorderColor="#fcb73e",j.btnPayBorderBottomColor="",j.btnPayBgStart="none",j.btnPayBgEnd="none",j.btnPayHoverBgStart="none",j.btnPayHoverBgEnd="none",j.btnPayActiveBg="#f69912",j.btnPayActiveBorderColor="#f69912",j.btnPayActiveBorderTopColor="",j.btnPayActiveShadow="none",j.btnMenuArrowColor="#a6a6a6",j.btnLinkLineBorderBottomStyle="",j.btnLinkLineBorderBottomWidth="0px",j.btnInsetColor="#fff",j.btnBacklessBg="transparent !important",j.btnBacklessHoverBg="rgba(0, 0, 0, 0.04) !important",j.btnBacklessActiveBg="rgba(0, 0, 0, 0.1) !important",j.btnBacklessHoverTextColor="",j.btnTextBg="transparent",j.btnTextHoverBg="rgba(0, 0, 0, 0.04)",j.btnTextActiveBg="rgba(0, 0, 0, 0.1)",j.btnTextHoverTextColor="",j.btnWithIconPaddingLeftSmall="",j.btnWithIconPaddingLeftMedium="",j.btnWithIconPaddingLeftLarge="",j.btnIconColor="",j.btnIconHoverColor="",j.btnIconDisabledColor="",j.selectPlaceholderColor="#adadad",j.selectPaddingXSmall="7px",j.selectIconGapSmall="4px",j.selectPaddingXMedium="11px",j.selectIconGapMedium="8px",j.selectPaddingXLarge="15px",j.selectIconGapLarge="12px",j.selectRootWidthMobile="auto",j.mobileSelectMaxWidth="100%",j.selectBorderColorTransition="box-shadow "+j.transitionDuration+" "+j.transitionTimingFunction+";",j.tooltipPaddingY="16px",j.tooltipPaddingX="16px",j.tooltipCloseBtnPadding="8px",j.tooltipCloseBtnSide="8px",j.tooltipCloseBtnColor="rgba(0, 0, 0, 0.32)",j.tooltipCloseBtnHoverColor="rgba(0, 0, 0, 0.5)",j.tooltipBg="#fff",j.tooltipPinOffset="0px",j.tooltipPinOffsetX="16px",j.tooltipPinOffsetY="18px",j.tooltipMargin="10px",j.kebabMargin="4px",j.kebabBackground="transparent",j.kebabBackgroundHover="rgba(0, 0, 0, 0.09)",j.kebabBorderRadius="50%",j.kebabBorder="2px solid transparent",j.kebabSizeSmall="26px",j.kebabSizeMedium="26px",j.kebabSizeLarge="26px",j.kebabIconSizeSmall="14px",j.kebabIconSizeMedium="18px",j.kebabIconSizeLarge="20px",j.kebabIconColor="#757575",j.modalWindowShadow="0 5px 10px rgba(0, 0, 0, 0.2);",j.modalBackBg="#222",j.modalBackOpacity="0.6",j.modalCloseButtonColor="rgba(0, 0, 0, 0.32)",j.modalCloseButtonDisabledColor="#8b8b8b",j.modalCloseButtonHoverColor="rgba(0, 0, 0, 0.865)",j.modalCloseButtonPadding="36px",j.modalCloseButtonLegacyShift="0px",j.modalCloseButtonBottomPadding="20px",j.modalCloseButtonClickArea="10px",j.modalCloseIconSize="12px",j.modalCloseLegacyGap="0px",j.modalCloseWrapperLegacyGap="0px",j.modalBorderRadius="0px",j.modalFixedHeaderBorder="none",j.modalFixedFooterBorder="none",j.modalFixedPanelShadow="none",j.modalFooterBg="#ebebeb",j.modalAdaptiveThreshold="425px",j.modalPaddingTop="24px",j.modalPaddingLeft="32px",j.modalPaddingRight="36px",j.modalHeaderFontSize="24px",j.modalHeaderFontWeight="400",j.modalHeaderLineHeight="32px",j.modalHeaderPaddingBottom="16px",j.modalHeaderPaddingTop="24px",j.modalHeaderAdditionalPaddingBottom="22px",j.modalFixedHeaderMarginBottom="10px",j.modalFixedFooterPaddingTop="20px",j.modalFixedFooterMarginTop="10px",j.modalSeparatorBorderBottom="none",j.modalBodyTextColor="inherit",j.modalFooterTextColor="inherit",j.modalBodyPaddingTop="0",j.modalBodyPaddingBottom="24px",j.modalBodyBorderRadius="0px",j.modalFooterPaddingTop="0px",j.modalFooterPaddingBottom="32px",j.modalPaddingBottom="40px",j.modalFooterPanelPaddingTop="20px",j.modalFooterPanelPaddingBottom="20px",j.mobileModalCloseButtonRightPadding="16px",j.mobileModalCloseButtonTopPadding="12px",j.mobileModalCloseButtonClickArea="16px",j.mobileModalCloseIconSize="12px",j.mobileModalHeaderFontSize="24px",j.mobileModalHeaderLineHeight="32px",j.mobileModalHeaderPadding="16px",j.mobileModalBodyPadding="0 16px 16px 16px",j.mobileModalBodyFontSize="16px",j.mobileModalFooterPadding="16px",j.mobileModalPaddingBottom="16px",j.mobileModalContainerHeight="100%",j.mobileModalContainerMarginTop="0",j.mobileModalContainerMarginRight="0",j.mobileModalContainerMarginBottom="0",j.mobileModalContainerMarginLeft="0",j.sidePageFooterPanelBg="#ebebeb",j.sidePageBackingBg="#222",j.sidePageBackingBgOpacity="0.6",j.sidePageCloseButtonColor="rgba(0, 0, 0, 0.374)",j.sidePageCloseButtonHoverColor="rgba(0, 0, 0, 0.5)",j.sidePageContainerShadow="0 5px 10px rgba(0, 0, 0, 0.2)",j.mobileSidePagePaddingLeft="16px",j.mobileSidePagePaddingRight="16px",j.mobileSidePagePaddingTop="16px",j.mobileSidePagePaddingBottom="16px",j.mobileSidePageFooterPadding="16px",j.sidePagePaddingLeft="32px",j.sidePagePaddingRight="36px",j.sidePagePaddingTop="24px",j.sidePagePaddingBottom="40px",j.sidePageFooterPaddingTop="24px",j.sidePageFooterPaddingBottom="32px",j.sidePageBodyTextColor="inherit",j.sidePageFooterTextColor="inherit",j.sidePageHeaderFontSize="24px",j.sidePageHeaderLineHeight="32px",j.sidePageHeaderPaddingBottom="16px",j.sidePageHeaderPaddingTop="24px",j.sidePageHeaderFixedFontSize="18px",j.sidePageHeaderFixedLineHeight="28px",j.sidePageHeaderFixedPaddingY="10px",j.sidePageHeaderStickyOffset="5px",j.sidePageCloseButtonPadding="36px",j.mobileSidePageCloseButtonPadding="16px",j.sidePageCloseButtonLegacyPaddingLeft="36px",j.sidePageFooterPanelPaddingTop="20px",j.sidePageFooterPanelPaddingBottom="20px",j.sidePageCloseIconSize="12px",j.sidePageCloseButtonClickArea="10px",j.mobileSidePageCloseButtonClickArea="16px",j.sidePageFixedPanelShadow="none",j.mobileSidePageHeaderFontSize="24px",j.mobileSidePageHeaderLineHeight="32px",j.mobileSidePageHeaderPaddingBottom="16px",j.mobileSidePageHeaderPaddingTop="16px",j.sidePageHeaderFontWeight="",j.dateInputMaskColor="#b8b8b8",j.dateInputComponentSelectedBgColor="#cdedff",j.calendarCellHoverColor="white",j.calendarCellActiveHoverColor="white",j.calendarCellWeekendColor="#cb3d35",j.calendarCellTodayBorder="1px solid rgba(0, 0, 0, 0.32)",j.calendarCellSelectedBgColor="#ebebeb",j.calendarCellSelectedFontColor="inherit",j.calendarCellSize="32px",j.calendarMonthTitleBorderBottomColor="#dfdede",j.calendarPaddingX="18px",j.calendarMonthTitleLineHeight="20px",j.calendarMonthTitlePaddingTop="12px",j.calendarMonthTitlePaddingBottom="8px",j.calendarMonthTitleMarginX="6px",j.calendarMonthTitleMarginBottom="6px",j.calendarWrapperHeight=" 330px",j.calendarMonthMarginBottom="6px",j.calendarMaxMonthsToAppendOnScroll="5",j.dateSelectLineHeight="20px",j.dateSelectFontSize="14px",j.dateSelectFontWeight="bold",j.dateSelectMenuItemBgSelected="#ececec",j.datePickerMenuOffsetY="2px",j.pickerShadow="0 4px 12px 0 rgba(0, 0, 0, 0.16)",j.pickerTodayWrapperBorderTop="1px solid #dfdede",j.pickerTodayWrapperHoverBgColor="#f5f5f5",j.pickerTodayWrapperFontSize="14px",j.pickerTodayWrapperLineHeight="20px",j.pickerTodayWrapperPaddingTop="6px",j.pickerTodayWrapperPaddingBottom="6px",j.pickerBorderRadius="",j.pagingForwardIconMarginTop="1px",j.pagingPageLinkBoxSizing="content-box",j.pagingPageLinkPaddingX="0.625em",j.pagingPageLinkPaddingY="0.3125em",j.pagingPageLinkLegacyPaddingY="0px",j.pagingPageLinkMinWidth="0.75em",j.pagingPageForwardLinkMarginTop="0.35em",j.pagingPageForwardLinkMarginLeft="10px",j.pagingPageForwardLinkPaddingRight="1.375em",j.pagingLineHeight="1.375em",j.pagingDotsColor="gray",j.pagingDotsPadding="0.375em 0.625em 0",j.pagingPageLinkActiveBg="rgba(0, 0, 0, 0.09)",j.pagingPageLinkDisabledActiveBg="rgba(0, 0, 0, 0.04)",j.pagingPageLinkHoverBg="rgba(0, 0, 0, 0.05)",j.pagingPageLinkBorderRadius="9999px",j.pagingPageLinkHintFontSize="12px",j.pagingPageLinkHintLineHeight="16px",j.pagingPageLinkHintMargin="0 -20px",j.pagingPageLinkMargin="0px 1px",j.hintMaxWidth="200px",j.hintPaddingY="6px",j.hintPaddingX="8px",j.hintTextAlign="center",j.hintBgColor="rgba(51, 51, 51, 0.8)",j.hintBorder="none",j.hintBorderRadius="2px",j.hintPinOffset="8px",j.hintMargin="8px",j.toastPaddingY="10px",j.toastPaddingX="16px",j.toastBorderRadius="2px",j.toastBorder="none",j.toastTop="24px",j.toastBg="rgba(51, 51, 51, 0.8)",j.toastColor="white",j.toastLinkColor="#8fcdff",j.toastLinkTextDecorationHover="underline",j.toastLinkBgHover="",j.toastLinkBgActive="",j.toastClosePadding="16px",j.toastCloseColor="rgba(255, 255, 255, 0.6)",j.toastCloseHoverColor="white",j.toastCloseSize="8px",j.dropdownMenuSelectedBg="#f1f1f1",j.dropdownMenuBorderColorTransition="",j.dropdownMenuMenuBoxSizing="content-box",j.dropdownButtonBorderRadiusSmall="1px",j.dropdownButtonBorderRadiusMedium="1px",j.dropdownButtonBorderRadiusLarge="1px",j.menuBorder="none",j.menuShadow="0 4px 12px rgba(0, 0, 0, 0.16)",j.menuPaddingY="0px",j.menuLegacyPaddingY="5px",j.menuScrollContainerContentWrapperPaddingY="4px",j.mobileMenuPaddingY="0px",j.mobileMenuScrollContainerContentWrapperPaddingY="0px",j.menuPaddingX="0px",j.mobileMenuPaddingX="8px",j.menuOffsetY="0px",j.menuBoxSizing="content-box",j.menuItemIconWidth="16px",j.menuItemIconWidthMedium="20px",j.menuItemIconWidthLarge="24px",j.menuItemIconGap="4px",j.menuItemIconLegacyMargin="0px",j.menuItemIconLegacyShift="0px",j.menuItemPaddingX="8px",j.menuItemPaddingY="6px",j.menuItemPaddingXMedium="12px",j.menuItemPaddingYMedium="9px",j.menuItemPaddingXLarge="16px",j.menuItemPaddingYLarge="12px",j.menuItemBorderRadius="0px",j.menuItemLegacyPaddingX="0px",j.menuItemLegacyPaddingY="0px",j.menuItemCommentColor="#adadad",j.menuItemCommentOpacity="",j.menuItemCommentColorHover="#fff",j.menuItemDisplay="block",j.menuItemPaddingMobile="12px 16px",j.menuItemDisabledBg="transparent",j.menuItemGap="0px",j.menuHeaderColor="#757575",j.menuHeaderLineHeight="16px",j.menuHeaderLineHeightMedium="20px",j.menuHeaderLineHeightLarge="22px",j.menuHeaderFontSize="12px",j.menuHeaderFontSizeMedium="14px",j.menuHeaderFontSizeLarge="16px",j.menuHeaderPaddingX="8px",j.menuHeaderPaddingTop="12px",j.menuHeaderPaddingBottom="4px",j.menuHeaderPaddingXMedium="12px",j.menuHeaderPaddingTopMedium="14px",j.menuHeaderPaddingBottomMedium="6px",j.menuHeaderPaddingXLarge="16px",j.menuHeaderPaddingTopLarge="18px",j.menuHeaderPaddingBottomLarge="8px",j.menuHeaderTotalCountPaddingTopSmall="4px",j.menuHeaderTotalCountPaddingTopMedium="6px",j.menuHeaderTotalCountPaddingTopLarge="8px",j.menuHeaderTotalCountPaddingBottomSmall="12px",j.menuHeaderTotalCountPaddingBottomMedium="14px",j.menuHeaderTotalCountPaddingBottomLarge="18px",j.menuHeaderLegacyPaddingRight="0px",j.menuFooterLegacyPaddingRight="0px",j.menuSeparatorBorderColor="#ebebeb",j.menuSeparatorMarginY="2px",j.menuSeparatorMarginX="0px",j.menuSeparatorBorderWidth="1px",j.mobileMenuSeparatorMarginY="4px",j.mobileMenuSeparatorMarginX="24px",j.toggleHandleActiveWidthIncrement="4px",j.toggleHeight="20px",j.toggleWidth="32px",j.toggleHeightMedium="22px",j.toggleWidthMedium="34px",j.toggleHeightLarge="24px",j.toggleWidthLarge="36px",j.toggleBg="#fff",j.toggleCheckedBg="#fff",j.toggleDisabledHandleBg="#fff",j.toggleBaseBg="#fff",j.toggleBgDisabledChecked="#dadada",j.toggleBgHover="#f3f3f2",j.toggleCheckedBgHover="#f3f3f2",j.toggleBgChecked="#1874cf",j.toggleBorderColor="rgba(0, 0, 0, 0.16)",j.toggleBgFocus="linear-gradient(-180deg, #f1f1f1, #dedede)",j.toggleBgActive="#e5e5e5",j.toggleCaptionGap="8px",j.toggleButtonOffsetY="0px",j.toggleContainerBg="",j.toggleContainerBgCheckedHover="",j.toggleContainerBoxShadow="",j.toggleContainerBoxShadowHover="",j.toggleContainerBoxShadowChecked="",j.toggleContainerBoxShadowCheckedHover="",j.toggleHandleBgHover="",j.toggleHandleBgChecked="",j.toggleHandleBgCheckedHover="",j.toggleHandleBoxShadow="",j.toggleHandleBoxShadowHover="",j.toggleHandleBoxShadowChecked="",j.toggleHandleBoxShadowCheckedHover="",j.toggleContainerBgDisabled="",j.toggleHandleBgDisabled="",j.toggleContainerBoxShadowDisabled="",j.toggleHandleBoxShadowDisabled="",j.toggleContainerBgDisabledChecked="",j.toggleHandleBgDisabledChecked="",j.toggleContainerBoxShadowDisabledChecked="",j.toggleHandleBoxShadowDisabledChecked="",j.popupBorder="none",j.popupBorderRadius="2px",j.popupBorderColor="transparent",j.popupDropShadow="drop-shadow(0 4px 12px rgba(0, 0, 0, 0.16))",j.popupBoxShadow="0 4px 12px 0 rgba(0, 0, 0, 0.16)",j.popupPinOffset="0px",j.popupPinOffsetX="16px",j.popupPinOffsetY="16px",j.popupMargin="10px",j.popupPinSize="8px",j.popupMenuMenuOffsetY="0px",j.inputShadow="none",j.inputBg="white",j.inputIconColor="#a9a9a9",j.inputColor="inherit",j.inputWidth="200px",j.inputPaddingXSmall="7px",j.inputPaddingXMedium="11px",j.inputPaddingXLarge="15px",j.inputIconGapSmall="4px",j.inputIconGapMedium="8px",j.inputIconGapLarge="12px",j.inputIconSizeSmall="16px",j.inputIconSizeMedium="18px",j.inputIconSizeLarge="20px",j.inputBackgroundClip="padding-box",j.inputBorderRadiusSmall="0px",j.inputBorderRadiusMedium="0px",j.inputBorderRadiusLarge="0px",j.inputDisabledBackgroundClip="",j.inputBorderTopColor="rgba(0, 0, 0, 0.15)",j.inputColorScheme="light",j.checkboxBoxSize="16px",j.checkboxBoxSizeSmall="16px",j.checkboxBoxSizeMedium="20px",j.checkboxBoxSizeLarge="24px",j.checkboxCaptionGap="8px",j.checkboxBoxOffsetY="1px",j.checkboxBgStart="#fdfdfd",j.checkboxBgEnd="#ededed",j.checkboxBorder="none",j.checkboxCheckedColor="#fff",j.checkboxBorderRadius="1px",j.checkboxBg="#fff",j.textareaBg="#fff",j.textareaShadow="none",j.textareaBackgroundClip="border-box",j.textareaBorderRadius="0px",j.textareaWidth="250px",j.textareaPaddingX="7px",j.textareaPaddingXMedium="11px",j.textareaPaddingXLarge="15px",j.textareaBorderTopColor="rgba(0, 0, 0, 0.16)",j.textareaDisabledBg="rgba(0, 0, 0, 0.05)",j.textareaDisabledBorderColor="transparent",j.radioBulletSize="8px",j.radioBulletSizeMedium="10px",j.radioBulletSizeLarge="12px",j.radioSize="16px",j.radioSizeMedium="20px",j.radioSizeLarge="24px",j.radioCaptionGap="8px",j.radioVerticalAlign="top",j.radioBgImage="none",j.radioBgColor="#fff",j.radioBoxShadow="none",j.radioHoverShadow="none",j.radioActiveShadow="none",j.radioCheckedBorderColor="transparent",j.radioCheckedBulletColor="#fff",j.radioCaptionDisplay="inline-flex",j.radioBorderWidthCompensation="0px",j.radioCircleOffsetY="1px",j.radioGroupLegacyItemGap="0px",j.tabPaddingX="12px",j.tabPaddingXSmall="8px",j.tabPaddingXMedium="10px",j.tabBorderWidth="2px",j.tabIndicatorBorderRadius="0px",j.spinnerCaptionGapSmall="6px",j.spinnerCaptionGapMedium="-4px",j.spinnerCaptionGapLarge="-3px",j.spinnerCaptionMarginSmall="0 0 0 6px",j.spinnerCaptionMarginMedium="0 0 0 6px",j.spinnerCaptionMarginLarge="0 0 0 6px",j.switcherBorderRadius="2px",j.switcherButtonPaddingXSmall="7px",j.switcherButtonPaddingXMedium="11px",j.switcherButtonPaddingXLarge="15px",j.switcherBtnDisabledBorderColor="rgba(0, 0, 0, 0.16)",j.mobilePopupTopPadding="80px",j.mobilePopupContainerBottomPadding="8px",j.mobilePopupHeaderPadding="16px 16px 8px 16px",j.mobilePopupContainerBorderRadius="16px",j.mobilePopupHeaderFontWeight="500",j.mobilePopupHeaderChildPadding="12px",j.mobilePopupOuterIndentY="24px",j.scrollContainerScrollBarSize="4px",j.scrollContainerScrollBarHoverSize="10px",j.scrollContainerScrollBarColor="rgba(183, 183, 183, 0.7)",j.scrollContainerScrollBarInvertColor="rgba(255, 255, 255, 0.5)",j.scrollContainerScrollBarOffsetY="4px",j.dropdownMenuScrollContainerScrollBarOffsetY="0px",j.passwordInputVisibilityIconColor="#000",j.passwordInputVisibilityIconOpacity="0.6",j.passwordInputVisibilityIconHoverColor="#000",j.passwordInputVisibilityIconHoverOpacity="1",j.globalLoaderHeight="4px",j.globalLoaderWidth="100%",j.globalLoaderPosition="fixed",j.globalLoaderTop="0px",j.globalLoaderLeft="0px",j.globalLoaderBottom="auto",j.globalLoaderRight="auto",j.globalLoaderBackgroundColor="transparent",j.globalLoaderTransitionToSpinnerDuration="500",j.globalLoaderSpinnerAnimationDuration="2000",j.globalLoaderSlowAnimationDuration="20000",j.globalLoaderTransitionFromSpinnerDuration="200",j.fileUploaderWidth="362px",j.fileUploaderBg="#fff",j.fileUploaderUploadButtonBg="",j.fileUploaderPaddingX="7px",j.fileUploaderBorderRadius="2px",j.fileUploaderBorderColor="rgba(0, 0, 0, 0.37)",j.fileUploaderBorderStyle="dashed",j.fileUploaderAfterLinkColor="",j.fileUploaderIconSize="14px",j.fileUploaderIconColor="#808080",j.fileUploaderIconHoverColor="#333",j.fileUploaderDisabledBg="#f2f2f2",j.fileUploaderDisabledBgClip="",j.fileUploaderDisabledBorderColor="#f2f2f2",j.fileUploaderDisabledTextColor="#808080",j.fileUploaderDisabledLinkColor="#808080",j.fileUploaderDisabledIconColor="#A0A0A0",j.fileUploaderHoveredBg="none",j.fileUploaderHoveredBorderColor="",j.fileUploaderIconGapSmall="4px",j.fileUploaderIconGapMedium="6px",j.fileUploaderIconGapLarge="8px",j.fileUploaderDragOverShadow="0px 0px 0px 3px #2da4f9, 0px 0px 0px 8px rgba(45, 164, 249, 0.35)",j.closeBtnIconColor="rgba(0, 0, 0, 0.32)",j.closeBtnIconDisabledColor="#8b8b8b",j.closeBtnIconHoverColor="rgba(0, 0, 0, 0.865)",j.closeBtnIconBorderRadius="4px",j.internalMenuPaddingY="5px",j.autocompleteMenuOffsetY="2px",j.comboboxMenuOffsetY="2px",j.miniModalHeaderPaddingBottom="0",j.miniModalBodyPaddingTop="16px",j.miniModalBodyPaddingBottom="0",j.miniModalHeaderPaddingTop="32px",j.miniModalActionGap="8px",j.miniModalCancelIndent="8px",j.miniModalFooterPaddingTop="24px",j.miniModalFooterPaddingBottom="32px",j.miniModalTitleMarginTop="16px",j.miniModalHeightMobile="auto",j.miniModalMarginTopMobile="80px",j.miniModalMarginLeftMobile="24px",j.miniModalMarginRightMobile="24px",j.miniModalFooterPaddingMobile="24px 16px 16px",j.miniModalHeaderPaddingMobile="32px 16px 0",j.miniModalBodyPaddingMobile="16px 16px 0";var U,W,Y,X,$,G=(U=j,W=Object.getOwnPropertyDescriptors(U),Object.keys(W).forEach((function(e){var t=W[e];"function"==typeof t.get&&t.configurable&&(t.enumerable=!0,Object.defineProperty(U,e,t))})),U),V=function(){function e(){}return e.create=function(e,t){var n=t||G;return this.constructTheme(n,e)},e.overrideDefaultTheme=function(t){e.getKeys(G).forEach((function(e){var n=N(t,e);Object.defineProperty(G,e,n)})),Object.values(z).forEach((function(e){var n=N(t,e.key);Object.defineProperty(G,e.key,n)}))},e.getKeys=function(e){for(var t=[];D(e);)Object.keys(e).forEach((function(e){t.includes(e)||t.push(e)})),e=Object.getPrototypeOf(e);return t.sort()},e.constructTheme=function(e,t){var n=Object.create(e);return Object.keys(t).forEach((function(e){var r=Object.getOwnPropertyDescriptor(t,e);r&&Object.defineProperty(n,e,r)})),Object.freeze(n)},e}(),q=V.create({},G),K=t.createContext(q);K.displayName="ThemeContext",K.__KONTUR_REACT_UI__="ThemeContext";var Q=((null==(Y=F.globalObject.navigator)?void 0:Y.platform)||"").toLowerCase(),J=((null==(X=F.globalObject.navigator)?void 0:X.userAgent)||"").toLowerCase(),Z=((null==($=F.globalObject.navigator)?void 0:$.vendor)||"").toLowerCase(),ee=(Q.includes("mac"),Q.includes("win"),/version\/(\d+).+?safari/.test(J)),te=(/(?:firefox|fxios)\/(\d+)/.test(J),/(?:^opera.+?version|opr)\/(\d+)/.test(J),Z.includes("google inc")&&/(?:chrome|crios)\/(\d+)/.test(J),J.includes("edge/"),J.includes("trident/")),ne=(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(J)&&F.globalObject.document&&F.globalObject.document.documentElement,/(ip[ao]d|iphone)/gi.test(J),ee&&J.includes("version/17"),function(e,t){var n=this;this.interval=null,this.start=function(){n.animations.forEach((function(e){return e.start()})),n.interval=re((function(){n.animations.forEach((function(e){return e.step()}))}),n.FPS)},this.stop=function(){n.interval&&(n.interval.clear(),n.animations.forEach((function(e){return e.finish()})))},this.animations=e,this.FPS=t,this.start()}),re=function(e,t){var n=0,r=!1,o=0;return function i(){if(!r){var a=(new Date).getTime();n||(n=a),a-n>t&&(e(),n=a),F.globalObject.requestAnimationFrame&&(o=F.globalObject.requestAnimationFrame(i))}}(),{clear:function(){r=!0,null==F.globalObject.cancelAnimationFrame||F.globalObject.cancelAnimationFrame(o)}}},oe=function(e,t,n){var r=this;this.startTime=0,this.isFinished=!1,this.step=function(){if(!r.isFinished){var e=(new Date).getTime();r.startTime||(r.startTime=e);var t=(e-r.startTime)/r.duration;r.onProgress(t),t>=1&&r.finish()}},this.reset=function(){r.startTime=0,r.isFinished=!1},this.finish=function(){r.isFinished=!0,r.onFinish&&r.onFinish(r)},this.start=function(){r.isFinished||r.step()},this.duration=e,this.onProgress=t,this.onFinish=n},ie=function(e,t,n,r,o){return void 0===o&&(o=""),new oe(n,(function(n){r("stroke-dashoffset",""+(e+(t-e)*n)+o)}),(function(e){e.reset()}))},ae=function(e,t,n,r,o){void 0===o&&(o="");var i=!1;return new oe(n,(function(n){var a=i?1-n:n,l=[e[0]+(t[0]-e[0])*a,e[1]+(t[1]-e[1])*a];r("stroke-dasharray",""+l[0]+o+" "+l[1]+o)}),(function(e){i=!i,e.reset()}))},le=function(e,t,n){var r=e.map((function(e){return E.create(e).rgb})),o=0,i=1;return new oe(t,(function(e){var t=r[o],a=r[i];if(t&&a){var l=[Math.round(t[0]+(a[0]-t[0])*e),Math.round(t[1]+(a[1]-t[1])*e),Math.round(t[2]+(a[2]-t[2])*e)];n("stroke","rgb("+l+")")}}),(function(t){t.reset(),o=i,i=(i+1)%e.length}))},ue=function(e,t,n,r,o){return void 0===o&&(o="deg"),new oe(n,(function(n){var i=Math.round(e+(t-e)*n);r("transform","rotate("+i+o+")")}),(function(e){e.reset()}))},se=n(606),ce=void 0!==se&&void 0!==se.env,fe=function(){if("undefined"!=typeof REACT_UI_TEST&&Boolean(REACT_UI_TEST))return!0;if(ce)switch(!0){case Boolean(se.env.REACT_UI_TEST):case Boolean(se.env.REACT_APP_REACT_UI_TEST):case Boolean(se.env.STORYBOOK_REACT_UI_TEST):case Boolean(se.env.enableReactTesting):return!0}return!1}(),de=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{n.insertRule(e,n.cssRules.length)}catch(e){}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){return e.parentNode&&e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0},e}(),pe=Math.abs,he=String.fromCharCode,ge=Object.assign;function ye(e){return e.trim()}function me(e,t,n){return e.replace(t,n)}function be(e,t){return e.indexOf(t)}function ve(e,t){return 0|e.charCodeAt(t)}function ke(e,t,n){return e.slice(t,n)}function we(e){return e.length}function xe(e){return e.length}function Se(e,t){return t.push(e),e}var Ce=1,Pe=1,Be=0,Le=0,Ee=0,Ae="";function _e(e,t,n,r,o,i,a){return{value:e,root:t,parent:n,type:r,props:o,children:i,line:Ce,column:Pe,length:a,return:""}}function Te(e,t){return ge(_e("",null,null,"",null,null,0),e,{length:-e.length},t)}function Oe(){return Ee=Le>0?ve(Ae,--Le):0,Pe--,10===Ee&&(Pe=1,Ce--),Ee}function Ie(){return Ee=Le<Be?ve(Ae,Le++):0,Pe++,10===Ee&&(Pe=1,Ce++),Ee}function Me(){return ve(Ae,Le)}function He(){return Le}function Fe(e,t){return ke(Ae,e,t)}function De(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Re(e){return Ce=Pe=1,Be=we(Ae=e),Le=0,[]}function ze(e){return Ae="",e}function Ne(e){return ye(Fe(Le-1,We(91===e?e+2:40===e?e+1:e)))}function je(e){for(;(Ee=Me())&&Ee<33;)Ie();return De(e)>2||De(Ee)>3?"":" "}function Ue(e,t){for(;--t&&Ie()&&!(Ee<48||Ee>102||Ee>57&&Ee<65||Ee>70&&Ee<97););return Fe(e,He()+(t<6&&32==Me()&&32==Ie()))}function We(e){for(;Ie();)switch(Ee){case e:return Le;case 34:case 39:34!==e&&39!==e&&We(Ee);break;case 40:41===e&&We(e);break;case 92:Ie()}return Le}function Ye(e,t){for(;Ie()&&e+Ee!==57&&(e+Ee!==84||47!==Me()););return"/*"+Fe(t,Le-1)+"*"+he(47===e?e:Ie())}function Xe(e){for(;!De(Me());)Ie();return Fe(e,Le)}var $e="-ms-",Ge="-moz-",Ve="-webkit-",qe="comm",Ke="rule",Qe="decl",Je="@keyframes";function Ze(e,t){for(var n="",r=xe(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function et(e,t,n,r){switch(e.type){case"@import":case Qe:return e.return=e.return||e.value;case qe:return"";case Je:return e.return=e.value+"{"+Ze(e.children,r)+"}";case Ke:e.value=e.props.join(",")}return we(n=Ze(e.children,r))?e.return=e.value+"{"+n+"}":""}function tt(e){return ze(nt("",null,null,null,[""],e=Re(e),0,[0],e))}function nt(e,t,n,r,o,i,a,l,u){for(var s=0,c=0,f=a,d=0,p=0,h=0,g=1,y=1,m=1,b=0,v="",k=o,w=i,x=r,S=v;y;)switch(h=b,b=Ie()){case 40:if(108!=h&&58==ve(S,f-1)){-1!=be(S+=me(Ne(b),"&","&\f"),"&\f")&&(m=-1);break}case 34:case 39:case 91:S+=Ne(b);break;case 9:case 10:case 13:case 32:S+=je(h);break;case 92:S+=Ue(He()-1,7);continue;case 47:switch(Me()){case 42:case 47:Se(ot(Ye(Ie(),He()),t,n),u);break;default:S+="/"}break;case 123*g:l[s++]=we(S)*m;case 125*g:case 59:case 0:switch(b){case 0:case 125:y=0;case 59+c:p>0&&we(S)-f&&Se(p>32?it(S+";",r,n,f-1):it(me(S," ","")+";",r,n,f-2),u);break;case 59:S+=";";default:if(Se(x=rt(S,t,n,s,c,o,l,v,k=[],w=[],f),i),123===b)if(0===c)nt(S,t,x,x,k,i,f,l,w);else switch(99===d&&110===ve(S,3)?100:d){case 100:case 109:case 115:nt(e,x,x,r&&Se(rt(e,x,x,0,0,o,l,v,o,k=[],f),w),o,w,f,l,r?k:w);break;default:nt(S,x,x,x,[""],w,0,l,w)}}s=c=p=0,g=m=1,v=S="",f=a;break;case 58:f=1+we(S),p=h;default:if(g<1)if(123==b)--g;else if(125==b&&0==g++&&125==Oe())continue;switch(S+=he(b),b*g){case 38:m=c>0?1:(S+="\f",-1);break;case 44:l[s++]=(we(S)-1)*m,m=1;break;case 64:45===Me()&&(S+=Ne(Ie())),d=Me(),c=f=we(v=S+=Xe(He())),b++;break;case 45:45===h&&2==we(S)&&(g=0)}}return i}function rt(e,t,n,r,o,i,a,l,u,s,c){for(var f=o-1,d=0===o?i:[""],p=xe(d),h=0,g=0,y=0;h<r;++h)for(var m=0,b=ke(e,f+1,f=pe(g=a[h])),v=e;m<p;++m)(v=ye(g>0?d[m]+" "+b:me(b,/&\f/g,d[m])))&&(u[y++]=v);return _e(e,t,n,0===o?Ke:l,u,s,c)}function ot(e,t,n){return _e(e,t,n,qe,he(Ee),ke(e,2,-2),0)}function it(e,t,n,r){return _e(e,t,n,Qe,ke(e,0,r),ke(e,r+1,-1),r)}var at=function(e,t,n){for(var r=0,o=0;r=o,o=Me(),38===r&&12===o&&(t[n]=1),!De(o);)Ie();return Fe(e,Le)},lt=new WeakMap,ut=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||lt.get(n))&&!r){lt.set(e,!0);for(var o=[],i=function(e,t){return ze(function(e,t){var n=-1,r=44;do{switch(De(r)){case 0:38===r&&12===Me()&&(t[n]=1),e[n]+=at(Le-1,t,n);break;case 2:e[n]+=Ne(r);break;case 4:if(44===r){e[++n]=58===Me()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=he(r)}}while(r=Ie());return e}(Re(e),t))}(t,o),a=n.props,l=0,u=0;l<i.length;l++)for(var s=0;s<a.length;s++,u++)e.props[u]=o[l]?i[l].replace(/&\f/g,a[s]):a[s]+" "+i[l]}}},st=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function ct(e,t){switch(function(e,t){return 45^ve(e,0)?(((t<<2^ve(e,0))<<2^ve(e,1))<<2^ve(e,2))<<2^ve(e,3):0}(e,t)){case 5103:return Ve+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return Ve+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Ve+e+Ge+e+$e+e+e;case 6828:case 4268:return Ve+e+$e+e+e;case 6165:return Ve+e+$e+"flex-"+e+e;case 5187:return Ve+e+me(e,/(\w+).+(:[^]+)/,Ve+"box-$1$2"+$e+"flex-$1$2")+e;case 5443:return Ve+e+$e+"flex-item-"+me(e,/flex-|-self/,"")+e;case 4675:return Ve+e+$e+"flex-line-pack"+me(e,/align-content|flex-|-self/,"")+e;case 5548:return Ve+e+$e+me(e,"shrink","negative")+e;case 5292:return Ve+e+$e+me(e,"basis","preferred-size")+e;case 6060:return Ve+"box-"+me(e,"-grow","")+Ve+e+$e+me(e,"grow","positive")+e;case 4554:return Ve+me(e,/([^-])(transform)/g,"$1"+Ve+"$2")+e;case 6187:return me(me(me(e,/(zoom-|grab)/,Ve+"$1"),/(image-set)/,Ve+"$1"),e,"")+e;case 5495:case 3959:return me(e,/(image-set\([^]*)/,Ve+"$1$`$1");case 4968:return me(me(e,/(.+:)(flex-)?(.*)/,Ve+"box-pack:$3"+$e+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Ve+e+e;case 4095:case 3583:case 4068:case 2532:return me(e,/(.+)-inline(.+)/,Ve+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(we(e)-1-t>6)switch(ve(e,t+1)){case 109:if(45!==ve(e,t+4))break;case 102:return me(e,/(.+:)(.+)-([^]+)/,"$1"+Ve+"$2-$3$1"+Ge+(108==ve(e,t+3)?"$3":"$2-$3"))+e;case 115:return~be(e,"stretch")?ct(me(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==ve(e,t+1))break;case 6444:switch(ve(e,we(e)-3-(~be(e,"!important")&&10))){case 107:return me(e,":",":"+Ve)+e;case 101:return me(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Ve+(45===ve(e,14)?"inline-":"")+"box$3$1"+Ve+"$2$3$1"+$e+"$2box$3")+e}break;case 5936:switch(ve(e,t+11)){case 114:return Ve+e+$e+me(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Ve+e+$e+me(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Ve+e+$e+me(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Ve+e+$e+e+e}return e}var ft=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case Qe:e.return=ct(e.value,e.length);break;case Je:return Ze([Te(e,{value:me(e.value,"@","@"+Ve)})],r);case Ke:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=/(::plac\w+|:read-\w+)/.exec(e))?e[0]:e}(t)){case":read-only":case":read-write":return Ze([Te(e,{props:[me(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return Ze([Te(e,{props:[me(t,/:(plac\w+)/,":"+Ve+"input-$1")]}),Te(e,{props:[me(t,/:(plac\w+)/,":-moz-$1")]}),Te(e,{props:[me(t,/:(plac\w+)/,$e+"input-$1")]})],r)}return""}))}}],dt=function(e){for(var t,n=0,r=0,o=e.length;o>=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)},pt={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},ht=/[A-Z]|^ms/g,gt=/_EMO_([^_]+?)_([^]*?)_EMO_/g,yt=function(e){return 45===e.charCodeAt(1)},mt=function(e){return null!=e&&"boolean"!=typeof e},bt=function(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}((function(e){return yt(e)?e:e.replace(ht,"-$&").toLowerCase()})),vt=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(gt,(function(e,t,n){return wt={name:t,styles:n,next:wt},t}))}return 1===pt[e]||yt(e)||"number"!=typeof t||0===t?t:t+"px"};function kt(e,t,n){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return wt={name:n.name,styles:n.styles,next:wt},n.name;if(void 0!==n.styles){var r=n.next;if(void 0!==r)for(;void 0!==r;)wt={name:r.name,styles:r.styles,next:wt},r=r.next;return n.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=kt(e,t,n[o])+";";else for(var i in n){var a=n[i];if("object"!=typeof a)null!=t&&void 0!==t[a]?r+=i+"{"+t[a]+"}":mt(a)&&(r+=bt(i)+":"+vt(i,a)+";");else if(!Array.isArray(a)||"string"!=typeof a[0]||null!=t&&void 0!==t[a[0]]){var l=kt(e,t,a);switch(i){case"animation":case"animationName":r+=bt(i)+":"+l+";";break;default:r+=i+"{"+l+"}"}}else for(var u=0;u<a.length;u++)mt(a[u])&&(r+=bt(i)+":"+vt(i,a[u])+";")}return r}(e,t,n);case"function":if(void 0!==e){var o=wt,i=n(e);return wt=o,kt(e,t,i)}}if(null==t)return n;var a=t[n];return void 0!==a?a:n}var wt,xt=/label:\s*([^\s;\n{]+)\s*(;|$)/g,St=function(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,o="";wt=void 0;var i=e[0];null==i||void 0===i.raw?(r=!1,o+=kt(n,t,i)):o+=i[0];for(var a=1;a<e.length;a++)o+=kt(n,t,e[a]),r&&(o+=i[a]);xt.lastIndex=0;for(var l,u="";null!==(l=xt.exec(o));)u+="-"+l[1];return{name:dt(o)+u,styles:o,next:wt}};function Ct(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]+";"):r+=n+" "})),r}function Pt(e,t){if(void 0===e.inserted[t.name])return e.insert("",t,e.sheet,!0)}function Bt(e,t,n){var r=[],o=Ct(e,r,n);return r.length<2?n:o+t(r)}var Lt,Et=function e(t){for(var n="",r=0;r<t.length;r++){var o=t[r];if(null!=o){var i=void 0;switch(typeof o){case"boolean":break;case"object":if(Array.isArray(o))i=e(o);else for(var a in i="",o)o[a]&&a&&(i&&(i+=" "),i+=a);break;default:i=o}i&&(n&&(n+=" "),n+=i)}}return n},At=(F.setWindow,"react-ui"),_t=new Array(0).fill("."+At).join(""),Tt=function(e){var t=function(e){var t=e.key;if("css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var r,o,i=e.stylisPlugins||ft,a={},l=[];r=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)a[t[n]]=!0;l.push(e)}));var u,s,c,f,d=[et,(f=function(e){u.insert(e)},function(e){e.root||(e=e.return)&&f(e)})],p=(s=[ut,st].concat(i,d),c=xe(s),function(e,t,n,r){for(var o="",i=0;i<c;i++)o+=s[i](e,t,n,r)||"";return o});o=function(e,t,n,r){u=n,function(e){Ze(tt(e),p)}(e?e+"{"+t.styles+"}":t.styles),r&&(h.inserted[t.name]=!0)};var h={key:t,sheet:new de({key:t,container:r,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:a,registered:{},insert:o};return h.sheet.hydrate(l),h}(e);t.sheet.speedy=function(e){this.isSpeedy=e},t.compat=!0;var n=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var o=St(n,t.registered,void 0);return function(e,t,n){!function(e,t,n){var r=e.key+"-"+t.name;void 0===e.registered[r]&&(e.registered[r]=t.styles)}(e,t);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var o=t;do{e.insert(t===o?"."+r:"",o,e.sheet,!0),o=o.next}while(void 0!==o)}}(t,o),t.key+"-"+o.name};return{css:n,cx:function(){for(var e=arguments.length,r=new Array(e),o=0;o<e;o++)r[o]=arguments[o];return Bt(t.registered,n,Et(r))},injectGlobal:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var o=St(n,t.registered);Pt(t,o)},keyframes:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var o=St(n,t.registered),i="animation-"+o.name;return Pt(t,{name:o.name,styles:"@keyframes "+i+"{"+o.styles+"}"}),i},hydrate:function(e){e.forEach((function(e){t.inserted[e]=!0}))},flush:function(){t.registered={},t.inserted={},t.sheet.flush()},sheet:t.sheet,cache:t,getRegisteredStyles:Ct.bind(null,t.registered),merge:Bt.bind(null,t.registered,n)}}({key:At,prepend:!0,stylisPlugins:_t?[function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t.map((function(e){return e.trim()}));return function(e,t,n,o,i,a,l,u){if(-1===e){var s=n[0];n[0]=r[0]+" "+s;for(var c=1;c<r.length;c++)n.push(r[c]+" "+s)}}}(_t)]:void 0,container:null==(Lt=F.globalObject.document)?void 0:Lt.head}),Ot=(Tt.flush,Tt.hydrate,Tt.cx),It=(Tt.merge,Tt.getRegisteredStyles,Tt.injectGlobal,Tt.keyframes),Mt=Tt.css;Tt.sheet,Tt.cache;var Ht,Ft,Dt,Rt,zt=function(e){return Object.keys(e).forEach((function(t){return e[t]=function(e){if(function(e){return 0===e.length}(e)){var t,n=!1;return function(){return n||(n=!0,t=e()),t}}var r=new WeakMap;return function(t){return r.has(t)||r.set(t,e(t)),r.get(t)}}(e[t])})),e};function Nt(e,t){return t||(t=e.slice(0)),e.raw=t,e}var jt=zt({root:function(){return Mt(Ht||(Ht=Nt(["\n display: inline-block;\n margin-left: -1px;\n margin-right: -1px;\n "])))},rootInline:function(){return Mt(Ft||(Ft=Nt(["\n margin-left: -0.0714285714285714em;\n margin-right: -0.0714285714285714em;\n "])))},icon:function(){return Mt(Dt||(Dt=Nt(["\n margin-bottom: -3px;\n border-radius: 50%;\n overflow: visible;\n "])))},iconInline:function(){return Mt(Rt||(Rt=Nt(["\n height: 1.1428571428571428em;\n width: 1.1428571428571428em;\n margin-bottom: -0.2428571428571428em;\n stroke-width: 0.10714285714285714em;\n "])))}}),Ut={big:{size:96,width:4,radius:32},normal:{size:48,width:2,radius:16},mini:{size:16,width:1.5,radius:6}},Wt=function(e){var n,r,o=e.size,i=e.className,a=e.dimmed,l=e.inline,u=e.width,s=e.color,c=function(e){return"string"==typeof e&&e in Ut}(o)?Ut[o]:o,f=l?Ut.mini:c,d=t.useRef(null);if(te&&!fe){var p=t.useRef(null),h=t.useContext(K),g=h.red,y=h.yellow,m=h.green,b=h.brand;t.useEffect((function(){var e=d.current,t=function(){var t;e&&(t=e.style).setProperty.apply(t,arguments)};return p.current=new ne([ie(0,-230,1e3,t,"%"),ae([62,168],[187,43],2e3,t,"%"),ue(0,360,2e3,t)].concat(a?[]:[le([g,y,m,b],1500,t)]),1e3/60),function(){var t=p.current;t&&t.stop(),e&&e.removeAttribute("style")}}),[a,g,y,m,b])}return t.createElement("span",{className:Ot(jt.root(),(n={},n[jt.rootInline()]=l,n))},t.createElement("svg",{viewBox:"0 0 "+f.size+" "+f.size,className:Ot(jt.icon(),i,(r={},r[jt.iconInline()]=l,r)),width:f.size,height:f.size,fill:"none",stroke:s,strokeDasharray:10*f.radius/6+", "+27*f.radius/6,strokeDashoffset:"0",strokeWidth:u||f.width,ref:d,focusable:"false","aria-hidden":"true"},t.createElement("circle",{cx:f.size/2,cy:f.size/2,r:f.radius})))};function Yt(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}var Xt=n(847),$t=n.n(Xt);function Gt(e,t){return!!t&&e instanceof t}var Vt=function(e){if(!F.globalObject.document||!e)return null;if(Gt(e,F.globalObject.Element))return e;var t;if(Kt(e)&&(Gt(e,F.globalObject.Node)||(t=e.getRootNode())),void 0!==t)return t;try{t=(0,r.findDOMNode)(e)}catch(e){return x()(!1,"[getRootNode]: can`t fallback to findDOMNode.\nSee https://github.com/skbkontur/retail-ui/blob/master/packages/react-ui/README.md#strictmode\n\n"+e.message),null}return Gt(t,F.globalObject.Element)?t:null};function qt(e){var t,n,r=(n=t=function(t){function n(){var n;return(n=t.call(this,arguments.length<=0?void 0:arguments[0])||this).rootNode=e.defaultRootNode,n.rootNodeEmitter=new($t()),n.setRootNode=function(e){var t=Vt(e);t!==n.rootNode&&(n.rootNode=t,n.rootNodeEmitter.emit("change",t))},n.getRootNode=function(){return n.rootNode},n.addRootNodeChangeListener=function(e){return n.rootNodeEmitter.addListener("change",e),{remove:function(){n.rootNodeEmitter.removeListener("change",e)}}},n}return a(n,t),n}(e),t.__KONTUR_REACT_UI__=e.__KONTUR_REACT_UI__,t.displayName=e.displayName,n),o=Object.getOwnPropertyDescriptor(r,"name");return o&&!o.configurable||Object.defineProperty(r,"name",{value:e.name}),r}var Kt=function(e){return Boolean(e)&&Object.prototype.hasOwnProperty.call(e,"getRootNode")},Qt=function(e){switch(!0){case"className"===e:case"style"===e:case"rootNodeRef"===e:case"children"===e:case 0===e.indexOf("data-"):return!0;default:return!1}};var Jt,Zt,en,tn=function(e){return"boolean"==typeof e?e:void 0},nn=["className","style","children","rootNodeRef"],rn=qt((en=Zt=function(e){function n(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).rootNodeSubscription=null,t.ref=function(e){var n,r;t.setRootNode(e),null==t.props.rootNodeRef||t.props.rootNodeRef(Vt(e)),null==(n=t.rootNodeSubscription)||n.remove(),t.rootNodeSubscription=null,e&&Kt(e)&&(t.rootNodeSubscription=null==e.addRootNodeChangeListener?void 0:e.addRootNodeChangeListener((function(e){t.setRootNode(e),null==t.props.rootNodeRef||t.props.rootNodeRef(e)})));var o=null==(r=t.child)?void 0:r.ref;o&&function(e,t){e&&("function"==typeof e&&e(t),Object.prototype.hasOwnProperty.call(e,"current")&&(e.current=t))}(o,e)},t}return a(n,e),n.prototype.render=function(){var e,n,r,i,a=function(e){var t={},n={};for(var r in e)Qt(r)?t[r]=e[r]:n[r]=e[r];return[t,n]}(this.props),l=a[0],u=l.className,s=l.style,c=l.children,f=(l.rootNodeRef,Yt(l,nn)),d=o({},a[1]);return this.child="function"==typeof c?c(d):c,t.isValidElement(this.child)?t.cloneElement(this.child,o({ref:(r=this.child,Boolean(function(e){return"string"==typeof e.type}(r)||(i=r.type,Boolean("function"==typeof i&&i.prototype&&i.prototype.isReactComponent))||(0,H.isForwardRef)(r))?this.ref:null),className:Ot(this.child.props.className,u),style:o({},this.child.props.style,s)},(n={error:tn((e=d).error),warning:tn(e.warning)},Object.entries(n).reduce((function(e,t){return n=e,r=t[0],null!=(o=t[1])&&(n["data-visual-state-"+function(e){return e?e.split(/\.?(?=[A-Z])/).join("-").toLowerCase():""}(r)]=String(o)),n;var n,r,o}),{})),f)):this.child},n}(t.Component),Zt.__KONTUR_REACT_UI__="CommonWrapper",Zt.displayName="CommonWrapper",Jt=en))||Jt,on={tokenInputRemoveWhitespaceFromDefaultDelimiters:!1,kebabHintRemovePin:!1,sidePageEnableFocusLockWhenBackgroundBlocked:!1,spinnerLoaderRemoveDefaultCaption:!1,menuItemsAtAnyLevel:!1,textareaUseSafari17Workaround:!1,linkFocusOutline:!1,comboBoxAllowValueChangeInEditingState:!1,hintAddDynamicPositioning:!1},an=t.createContext(on);an.displayName="ReactUIFeatureFlagsContext",an.__KONTUR_REACT_UI__="ReactUIFeatureFlagsContext";var ln,un,sn,cn,fn,dn,pn,hn,gn,yn,mn,bn,vn,kn,wn,xn,Sn,Cn,Pn,Bn,Ln,En,An=function(e){return o({},on,e)},_n=function(){return It(ln||(ln=Nt(["\n 0% { stroke-dashoffset: 231.25%; }\n 100% { stroke-dashoffset: 0%; }\n "])))},Tn=function(){return It(un||(un=Nt(["\n 0% { stroke-dasharray: 62.5%, 168.75%; }\n 50% { stroke-dasharray: 187.5%, 43.75%; }\n 100% { stroke-dasharray: 62.5%, 168.75%; }\n "])))},On=function(){return It(sn||(sn=Nt(["\n 100% { transform: rotate(360deg); }\n "])))},In=zt({circle:function(e){return Mt(fn||(fn=Nt(["\n stroke: ",";\n\n ","\n "])),e.spinnerColor,!te&&"\n animation: "+_n()+" 1s cubic-bezier(0.5, 0.2, 0.5, 0.8) infinite,\n "+Tn()+" 2s cubic-bezier(0.36, 0.14, 0.38, 0.69) infinite,\n "+On()+" 2s linear infinite,\n "+function(e){return It(cn||(cn=Nt(["\n 100%, 0% { stroke: ","; }\n 40% { stroke: ","; }\n 66% { stroke: ","; }\n 80%, 90% { stroke: ","; }\n "])),e.red,e.yellow,e.green,e.brand)}(e)+" 6s ease-in-out infinite;\n ")},circleDimmedColor:function(e){return Mt(dn||(dn=Nt(["\n stroke: ",";\n "])),e.spinnerDimmedColor)},circleWithoutColorAnimation:function(){return Mt(pn||(pn=Nt(["\n ","\n "])),!te&&"\n animation: "+_n()+" 1s cubic-bezier(0.5, 0.2, 0.5, 0.8) infinite,\n "+Tn()+" 2s cubic-bezier(0.36, 0.14, 0.38, 0.69) infinite,\n "+On()+" 2s linear infinite;\n ")},captionColor:function(e){return Mt(hn||(hn=Nt(["\n color: ",";\n "])),e.spinnerCaptionColor)},inline:function(){return Mt(gn||(gn=Nt(["\n font-size: inherit;\n line-height: inherit;\n "])))},mini:function(e){return Mt(yn||(yn=Nt(["\n margin-left: ",";\n font-size: ",";\n line-height: ",";\n "])),e.spinnerCaptionGapSmall,e.spinnerFontSizeSmall,e.spinnerLineHeightSmall)},small:function(e){return Mt(mn||(mn=Nt(["\n margin: ",";\n font-size: ",";\n line-height: ",";\n "])),e.spinnerCaptionMarginSmall,e.spinnerFontSizeSmall,e.spinnerLineHeightSmall)},normal:function(e){return Mt(bn||(bn=Nt(["\n display: block;\n font-size: ",";\n line-height: ",";\n margin-top: ",";\n "])),e.spinnerFontSizeMedium,e.spinnerLineHeightMedium,e.spinnerCaptionGapMedium)},medium:function(e){return Mt(vn||(vn=Nt(["\n margin: ",";\n font-size: ",";\n line-height: ",";\n "])),e.spinnerCaptionMarginMedium,e.spinnerFontSizeMedium,e.spinnerLineHeightMedium)},big:function(e){return Mt(kn||(kn=Nt(["\n display: block;\n font-size: ",";\n line-height: ",";\n margin-top: ",";\n "])),e.spinnerFontSizeLarge,e.spinnerLineHeightLarge,e.spinnerCaptionGapLarge)},large:function(e){return Mt(wn||(wn=Nt(["\n font-size: ",";\n line-height: ",";\n margin: ",";\n "])),e.spinnerFontSizeLarge,e.spinnerLineHeightLarge,e.spinnerCaptionMarginLarge)},spinner:function(){return Mt(xn||(xn=Nt(["\n display: inline-block;\n text-align: center;\n line-height: normal;\n "])))},inner:function(){return Mt(Sn||(Sn=Nt(["\n display: inline-block;\n "])))}}),Mn=new(function(){function e(e,t){void 0===t&&(t=d),this.locales=e,this.defaultLangCode=t}return e.prototype.get=function(e){return void 0===e&&(e=this.defaultLangCode),this.locales[e]||this.locales[this.defaultLangCode]||{}},e}())({ru_RU:{loading:"Загрузка"},en_GB:{loading:"Loading"}}),Hn=["big","mini","normal"],Fn=("Spinner",En=Mn,Cn=function(e){var t,n,r=(n=t=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).controlName="Spinner",t.localeHelper=En,t}return a(t,e),f(t,[{key:"locale",get:function(){var e,t=null==(e=this.context.locale)?void 0:e[this.controlName];return Object.assign({},this.localeHelper.get(this.context.langCode),t)},set:function(e){}},{key:"langCode",get:function(){var e;return null!=(e=this.context.langCode)?e:d}}]),t}(e),t.contextType=p,n),o=Object.getOwnPropertyDescriptor(r,"name");return o&&!o.configurable||Object.defineProperty(r,"name",{value:e.name}),r},qt(Pn=Cn((Ln=Bn=function(e){function n(){for(var r,o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];return(r=e.call.apply(e,[this].concat(i))||this).getProps=(n.defaultProps,function(){return this.props}),r.renderSpinner=function(e,n,o){var i;return t.createElement(Wt,{size:e,className:Ot((i={},i[In.circle(r.theme)]=!n&&!r.props.color,i[In.circleDimmedColor(r.theme)]=n,i[In.circleWithoutColorAnimation()]=n||!!r.props.color,i)),dimmed:n,width:r.props.width,color:r.props.color,inline:o})},r.renderCaption=function(e,n){return t.createElement("span",{className:Ot(In[e](r.theme),In.captionColor(r.theme))},n)},r}a(n,e);var r=n.prototype;return r.render=function(){var e=this;return t.createElement(an.Consumer,null,(function(n){return e.featureFlags=An(n),t.createElement(K.Consumer,null,(function(t){return e.theme=t,e.renderMain()}))}))},r.renderMain=function(){var e=this.featureFlags.spinnerLoaderRemoveDefaultCaption?null:this.locale.loading,n=this.props,r=n.caption,i=void 0===r?e:r,a=n.dimmed,l=n.inline,u=this.getProps().type;return t.createElement(rn,o({rootNodeRef:this.setRootNode},this.props),t.createElement("div",{"data-tid":"Spinner__root",className:In.spinner()},t.createElement("span",{className:In.inner()},this.renderSpinner(u,a,l)),i&&this.renderCaption(u,i)))},n}(t.Component),Bn.__KONTUR_REACT_UI__="Spinner",Bn.displayName="Spinner",Bn.propTypes={caption:s().node,dimmed:s().bool,type:s().oneOf(Hn)},Bn.defaultProps={type:"normal"},Bn.Types=Object.assign.apply(Object,[{}].concat(Hn.map((function(e){var t;return(t={})[e]=e,t})))),Pn=Ln))||Pn)||Pn),Dn=n(417),Rn=n.n(Dn),zn=n(614),Nn=n(363),jn="undefined"!=typeof self?self:"undefined"!=typeof window?window:Function("return this")();function Un(e){var t=e.xdomain;try{if("undefined"!=typeof XMLHttpRequest&&(!t||Nn))return new XMLHttpRequest}catch(e){}if(!t)try{return new(jn[["Active"].concat("Object").join("X")])("Microsoft.XMLHTTP")}catch(e){}}function Wn(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return n.reduce((function(t,n){return e.hasOwnProperty(n)&&(t[n]=e[n]),t}),{})}var Yn=setTimeout,Xn=clearTimeout;function $n(e,t){t.useNativeTimers?(e.setTimeoutFn=Yn.bind(jn),e.clearTimeoutFn=Xn.bind(jn)):(e.setTimeoutFn=setTimeout.bind(jn),e.clearTimeoutFn=clearTimeout.bind(jn))}var Gn=n(555),Vn=Object.create(null);Vn.open="0",Vn.close="1",Vn.ping="2",Vn.pong="3",Vn.message="4",Vn.upgrade="5",Vn.noop="6";var qn=Object.create(null);Object.keys(Vn).forEach((function(e){qn[Vn[e]]=e}));for(var Kn={type:"error",data:"parser error"},Qn="function"==typeof Blob||"undefined"!=typeof Blob&&"[object BlobConstructor]"===Object.prototype.toString.call(Blob),Jn="function"==typeof ArrayBuffer,Zn=function(e,t){var n=new FileReader;return n.onload=function(){var e=n.result.split(",")[1];t("b"+e)},n.readAsDataURL(e)},er=function(e,t,n){var r,o=e.type,i=e.data;return Qn&&i instanceof Blob?t?n(i):Zn(i,n):Jn&&(i instanceof ArrayBuffer||(r=i,"function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(r):r&&r.buffer instanceof ArrayBuffer))?t?n(i):Zn(new Blob([i]),n):n(Vn[o]+(i||""))},tr="undefined"==typeof Uint8Array?[]:new Uint8Array(256),nr=0;nr<64;nr++)tr["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charCodeAt(nr)]=nr;var rr="function"==typeof ArrayBuffer,or=function(e,t){if(rr){var n=function(e){var t,n,r,o,i,a=.75*e.length,l=e.length,u=0;"="===e[e.length-1]&&(a--,"="===e[e.length-2]&&a--);var s=new ArrayBuffer(a),c=new Uint8Array(s);for(t=0;t<l;t+=4)n=tr[e.charCodeAt(t)],r=tr[e.charCodeAt(t+1)],o=tr[e.charCodeAt(t+2)],i=tr[e.charCodeAt(t+3)],c[u++]=n<<2|r>>4,c[u++]=(15&r)<<4|o>>2,c[u++]=(3&o)<<6|63&i;return s}(e);return ir(n,t)}return{base64:!0,data:e}},ir=function(e,t){return"blob"===t&&e instanceof ArrayBuffer?new Blob([e]):e},ar=function(e,t){if("string"!=typeof e)return{type:"message",data:ir(e,t)};var n=e.charAt(0);return"b"===n?{type:"message",data:or(e.substring(1),t)}:qn[n]?e.length>1?{type:qn[n],data:e.substring(1)}:{type:qn[n]}:Kn},lr=String.fromCharCode(30);function ur(e){return ur="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ur(e)}function sr(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,cr(r.key),r)}}function cr(e){var t=function(e,t){if("object"!=ur(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!=ur(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==ur(t)?t:t+""}function fr(e,t,n){return t=hr(t),function(e,t){if(t&&("object"==ur(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,dr()?Reflect.construct(t,n||[],hr(e).constructor):t.apply(e,n))}function dr(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(dr=function(){return!!e})()}function pr(){return pr="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!{}.hasOwnProperty.call(e,t)&&null!==(e=hr(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(arguments.length<3?e:n):o.value}},pr.apply(null,arguments)}function hr(e){return hr=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},hr(e)}function gr(e,t){return gr=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},gr(e,t)}var yr=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=fr(this,t)).writable=!1,$n(n,e),n.opts=e,n.query=e.query,n.readyState="",n.socket=e.socket,n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&gr(e,t)}(t,e),n=t,(r=[{key:"onError",value:function(e,n){var r=new Error(e);return r.type="TransportError",r.description=n,pr(hr(t.prototype),"emit",this).call(this,"error",r),this}},{key:"open",value:function(){return"closed"!==this.readyState&&""!==this.readyState||(this.readyState="opening",this.doOpen()),this}},{key:"close",value:function(){return"opening"!==this.readyState&&"open"!==this.readyState||(this.doClose(),this.onClose()),this}},{key:"send",value:function(e){"open"===this.readyState&&this.write(e)}},{key:"onOpen",value:function(){this.readyState="open",this.writable=!0,pr(hr(t.prototype),"emit",this).call(this,"open")}},{key:"onData",value:function(e){var t=ar(e,this.socket.binaryType);this.onPacket(t)}},{key:"onPacket",value:function(e){pr(hr(t.prototype),"emit",this).call(this,"packet",e)}},{key:"onClose",value:function(){this.readyState="closed",pr(hr(t.prototype),"emit",this).call(this,"close")}}])&&sr(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r}(Gn.v),mr=n(613),br=n(608);function vr(e){return vr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},vr(e)}function kr(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,wr(r.key),r)}}function wr(e){var t=function(e,t){if("object"!=vr(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!=vr(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==vr(t)?t:t+""}function xr(e,t,n){return t=Cr(t),function(e,t){if(t&&("object"==vr(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Sr()?Reflect.construct(t,n||[],Cr(e).constructor):t.apply(e,n))}function Sr(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Sr=function(){return!!e})()}function Cr(e){return Cr=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Cr(e)}function Pr(e,t){return Pr=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Pr(e,t)}var Br=function(e){function t(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(e=xr(this,t,arguments)).polling=!1,e}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Pr(e,t)}(t,e),n=t,r=[{key:"name",get:function(){return"polling"}},{key:"doOpen",value:function(){this.poll()}},{key:"pause",value:function(e){var t=this;this.readyState="pausing";var n=function(){t.readyState="paused",e()};if(this.polling||!this.writable){var r=0;this.polling&&(r++,this.once("pollComplete",(function(){--r||n()}))),this.writable||(r++,this.once("drain",(function(){--r||n()})))}else n()}},{key:"poll",value:function(){this.polling=!0,this.doPoll(),this.emit("poll")}},{key:"onData",value:function(e){var t=this;(function(e,t){for(var n=e.split(lr),r=[],o=0;o<n.length;o++){var i=ar(n[o],t);if(r.push(i),"error"===i.type)break}return r})(e,this.socket.binaryType).forEach((function(e){if("opening"===t.readyState&&"open"===e.type&&t.onOpen(),"close"===e.type)return t.onClose(),!1;t.onPacket(e)})),"closed"!==this.readyState&&(this.polling=!1,this.emit("pollComplete"),"open"===this.readyState&&this.poll())}},{key:"doClose",value:function(){var e=this,t=function(){e.write([{type:"close"}])};"open"===this.readyState?t():this.once("open",t)}},{key:"write",value:function(e){var t=this;this.writable=!1,function(e,n){var r=e.length,o=new Array(r),i=0;e.forEach((function(e,n){er(e,!1,(function(e){var a;o[n]=e,++i===r&&(a=o.join(lr),t.doWrite(a,(function(){t.writable=!0,t.emit("drain")})))}))}))}(e)}},{key:"uri",value:function(){var e=this.query||{},t=this.opts.secure?"https":"http",n="";!1!==this.opts.timestampRequests&&(e[this.opts.timestampParam]=mr()),this.supportsBinary||e.sid||(e.b64=1),this.opts.port&&("https"===t&&443!==Number(this.opts.port)||"http"===t&&80!==Number(this.opts.port))&&(n=":"+this.opts.port);var r=br.encode(e);return t+"://"+(-1!==this.opts.hostname.indexOf(":")?"["+this.opts.hostname+"]":this.opts.hostname)+n+this.opts.path+(r.length?"?"+r:"")}}],r&&kr(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r}(yr);function Lr(e){return Lr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Lr(e)}function Er(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ar(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Tr(r.key),r)}}function _r(e,t,n){return t&&Ar(e.prototype,t),n&&Ar(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function Tr(e){var t=function(e,t){if("object"!=Lr(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!=Lr(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Lr(t)?t:t+""}function Or(e,t,n){return t=Mr(t),function(e,t){if(t&&("object"==Lr(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Ir()?Reflect.construct(t,n||[],Mr(e).constructor):t.apply(e,n))}function Ir(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Ir=function(){return!!e})()}function Mr(e){return Mr=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Mr(e)}function Hr(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Fr(e,t)}function Fr(e,t){return Fr=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Fr(e,t)}function Dr(){}var Rr=null!=new Un({xdomain:!1}).responseType,zr=function(e){function t(e){var n;if(Er(this,t),n=Or(this,t,[e]),"undefined"!=typeof location){var r="https:"===location.protocol,o=location.port;o||(o=r?"443":"80"),n.xd="undefined"!=typeof location&&e.hostname!==location.hostname||o!==e.port,n.xs=e.secure!==r}var i=e&&e.forceBase64;return n.supportsBinary=Rr&&!i,n}return Hr(t,e),_r(t,[{key:"request",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.assign(e,{xd:this.xd,xs:this.xs},this.opts),new Nr(this.uri(),e)}},{key:"doWrite",value:function(e,t){var n=this,r=this.request({method:"POST",data:e});r.on("success",t),r.on("error",(function(e){n.onError("xhr post error",e)}))}},{key:"doPoll",value:function(){var e=this,t=this.request();t.on("data",this.onData.bind(this)),t.on("error",(function(t){e.onError("xhr poll error",t)})),this.pollXhr=t}}])}(Br),Nr=function(e){function t(e,n){var r;return Er(this,t),$n(r=Or(this,t),n),r.opts=n,r.method=n.method||"GET",r.uri=e,r.async=!1!==n.async,r.data=void 0!==n.data?n.data:null,r.create(),r}return Hr(t,e),_r(t,[{key:"create",value:function(){var e=this,n=Wn(this.opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");n.xdomain=!!this.opts.xd,n.xscheme=!!this.opts.xs;var r=this.xhr=new Un(n);try{r.open(this.method,this.uri,this.async);try{if(this.opts.extraHeaders)for(var o in r.setDisableHeaderCheck&&r.setDisableHeaderCheck(!0),this.opts.extraHeaders)this.opts.extraHeaders.hasOwnProperty(o)&&r.setRequestHeader(o,this.opts.extraHeaders[o])}catch(e){}if("POST"===this.method)try{r.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch(e){}try{r.setRequestHeader("Accept","*/*")}catch(e){}"withCredentials"in r&&(r.withCredentials=this.opts.withCredentials),this.opts.requestTimeout&&(r.timeout=this.opts.requestTimeout),r.onreadystatechange=function(){4===r.readyState&&(200===r.status||1223===r.status?e.onLoad():e.setTimeoutFn((function(){e.onError("number"==typeof r.status?r.status:0)}),0))},r.send(this.data)}catch(t){return void this.setTimeoutFn((function(){e.onError(t)}),0)}"undefined"!=typeof document&&(this.index=t.requestsCount++,t.requests[this.index]=this)}},{key:"onSuccess",value:function(){this.emit("success"),this.cleanup()}},{key:"onData",value:function(e){this.emit("data",e),this.onSuccess()}},{key:"onError",value:function(e){this.emit("error",e),this.cleanup(!0)}},{key:"cleanup",value:function(e){if(void 0!==this.xhr&&null!==this.xhr){if(this.xhr.onreadystatechange=Dr,e)try{this.xhr.abort()}catch(e){}"undefined"!=typeof document&&delete t.requests[this.index],this.xhr=null}}},{key:"onLoad",value:function(){var e=this.xhr.responseText;null!==e&&this.onData(e)}},{key:"abort",value:function(){this.cleanup()}}])}(Gn.v);function jr(){for(var e in Nr.requests)Nr.requests.hasOwnProperty(e)&&Nr.requests[e].abort()}Nr.requestsCount=0,Nr.requests={},"undefined"!=typeof document&&("function"==typeof attachEvent?attachEvent("onunload",jr):"function"==typeof addEventListener&&addEventListener("onpagehide"in jn?"pagehide":"unload",jr,!1));var Ur="function"==typeof Promise&&"function"==typeof Promise.resolve?function(e){return Promise.resolve().then(e)}:function(e,t){return t(e,0)},Wr=jn.WebSocket||jn.MozWebSocket;function Yr(e){return Yr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Yr(e)}function Xr(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,$r(r.key),r)}}function $r(e){var t=function(e,t){if("object"!=Yr(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!=Yr(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Yr(t)?t:t+""}function Gr(e,t,n){return t=qr(t),function(e,t){if(t&&("object"==Yr(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Vr()?Reflect.construct(t,n||[],qr(e).constructor):t.apply(e,n))}function Vr(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Vr=function(){return!!e})()}function qr(e){return qr=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},qr(e)}function Kr(e,t){return Kr=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Kr(e,t)}var Qr="undefined"!=typeof navigator&&"string"==typeof navigator.product&&"reactnative"===navigator.product.toLowerCase(),Jr=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=Gr(this,t,[e])).supportsBinary=!e.forceBase64,n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Kr(e,t)}(t,e),n=t,r=[{key:"name",get:function(){return"websocket"}},{key:"doOpen",value:function(){if(this.check()){var e=this.uri(),t=this.opts.protocols,n=Qr?{}:Wn(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(n.headers=this.opts.extraHeaders);try{this.ws=Qr?new Wr(e,t,n):t?new Wr(e,t):new Wr(e)}catch(e){return this.emit("error",e)}this.ws.binaryType=this.socket.binaryType||"arraybuffer",this.addEventListeners()}}},{key:"addEventListeners",value:function(){var e=this;this.ws.onopen=function(){e.opts.autoUnref&&e.ws._socket.unref(),e.onOpen()},this.ws.onclose=this.onClose.bind(this),this.ws.onmessage=function(t){return e.onData(t.data)},this.ws.onerror=function(t){return e.onError("websocket error",t)}}},{key:"write",value:function(e){var t=this;this.writable=!1;for(var n=function(){var n=e[r],o=r===e.length-1;er(n,t.supportsBinary,(function(e){try{t.ws.send(e)}catch(e){}o&&Ur((function(){t.writable=!0,t.emit("drain")}),t.setTimeoutFn)}))},r=0;r<e.length;r++)n()}},{key:"doClose",value:function(){void 0!==this.ws&&(this.ws.close(),this.ws=null)}},{key:"uri",value:function(){var e=this.query||{},t=this.opts.secure?"wss":"ws",n="";this.opts.port&&("wss"===t&&443!==Number(this.opts.port)||"ws"===t&&80!==Number(this.opts.port))&&(n=":"+this.opts.port),this.opts.timestampRequests&&(e[this.opts.timestampParam]=mr()),this.supportsBinary||(e.b64=1);var r=br.encode(e);return t+"://"+(-1!==this.opts.hostname.indexOf(":")?"["+this.opts.hostname+"]":this.opts.hostname)+n+this.opts.path+(r.length?"?"+r:"")}},{key:"check",value:function(){return!(!Wr||"__initialize"in Wr&&this.name===t.prototype.name)}}],r&&Xr(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r}(yr),Zr={websocket:Jr,polling:zr};function eo(e){return eo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},eo(e)}function to(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,no(r.key),r)}}function no(e){var t=function(e,t){if("object"!=eo(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!=eo(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==eo(t)?t:t+""}function ro(e,t,n){return t=io(t),function(e,t){if(t&&("object"==eo(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,oo()?Reflect.construct(t,n||[],io(e).constructor):t.apply(e,n))}function oo(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(oo=function(){return!!e})()}function io(e){return io=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},io(e)}function ao(e,t){return ao=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},ao(e,t)}var lo=function(e){function t(e){var n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=ro(this,t),e&&"object"===eo(e)&&(r=e,e=null),e?(e=zn(e),r.hostname=e.host,r.secure="https"===e.protocol||"wss"===e.protocol,r.port=e.port,e.query&&(r.query=e.query)):r.host&&(r.hostname=zn(r.host).host),$n(n,r),n.secure=null!=r.secure?r.secure:"undefined"!=typeof location&&"https:"===location.protocol,r.hostname&&!r.port&&(r.port=n.secure?"443":"80"),n.hostname=r.hostname||("undefined"!=typeof location?location.hostname:"localhost"),n.port=r.port||("undefined"!=typeof location&&location.port?location.port:n.secure?"443":"80"),n.transports=r.transports||["polling","websocket"],n.readyState="",n.writeBuffer=[],n.prevBufferLen=0,n.opts=Object.assign({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,timestampParam:"t",rememberUpgrade:!1,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!0},r),n.opts.path=n.opts.path.replace(/\/$/,"")+"/","string"==typeof n.opts.query&&(n.opts.query=br.decode(n.opts.query)),n.id=null,n.upgrades=null,n.pingInterval=null,n.pingTimeout=null,n.pingTimeoutTimer=null,"function"==typeof addEventListener&&(n.opts.closeOnBeforeunload&&addEventListener("beforeunload",(function(){n.transport&&(n.transport.removeAllListeners(),n.transport.close())}),!1),"localhost"!==n.hostname&&(n.offlineEventListener=function(){n.onClose("transport close")},addEventListener("offline",n.offlineEventListener,!1))),n.open(),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ao(e,t)}(t,e),n=t,r=[{key:"createTransport",value:function(e){var t=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}(this.opts.query);t.EIO=4,t.transport=e,this.id&&(t.sid=this.id);var n=Object.assign({},this.opts.transportOptions[e],this.opts,{query:t,socket:this,hostname:this.hostname,secure:this.secure,port:this.port});return new Zr[e](n)}},{key:"open",value:function(){var e,n=this;if(this.opts.rememberUpgrade&&t.priorWebsocketSuccess&&-1!==this.transports.indexOf("websocket"))e="websocket";else{if(0===this.transports.length)return void this.setTimeoutFn((function(){n.emitReserved("error","No transports available")}),0);e=this.transports[0]}this.readyState="opening";try{e=this.createTransport(e)}catch(e){return this.transports.shift(),void this.open()}e.open(),this.setTransport(e)}},{key:"setTransport",value:function(e){var t=this;this.transport&&this.transport.removeAllListeners(),this.transport=e,e.on("drain",this.onDrain.bind(this)).on("packet",this.onPacket.bind(this)).on("error",this.onError.bind(this)).on("close",(function(){t.onClose("transport close")}))}},{key:"probe",value:function(e){var n=this,r=this.createTransport(e),o=!1;t.priorWebsocketSuccess=!1;var i=function(){o||(r.send([{type:"ping",data:"probe"}]),r.once("packet",(function(e){if(!o)if("pong"===e.type&&"probe"===e.data){if(n.upgrading=!0,n.emitReserved("upgrading",r),!r)return;t.priorWebsocketSuccess="websocket"===r.name,n.transport.pause((function(){o||"closed"!==n.readyState&&(f(),n.setTransport(r),r.send([{type:"upgrade"}]),n.emitReserved("upgrade",r),r=null,n.upgrading=!1,n.flush())}))}else{var i=new Error("probe error");i.transport=r.name,n.emitReserved("upgradeError",i)}})))};function a(){o||(o=!0,f(),r.close(),r=null)}var l=function(e){var t=new Error("probe error: "+e);t.transport=r.name,a(),n.emitReserved("upgradeError",t)};function u(){l("transport closed")}function s(){l("socket closed")}function c(e){r&&e.name!==r.name&&a()}var f=function(){r.removeListener("open",i),r.removeListener("error",l),r.removeListener("close",u),n.off("close",s),n.off("upgrading",c)};r.once("open",i),r.once("error",l),r.once("close",u),this.once("close",s),this.once("upgrading",c),r.open()}},{key:"onOpen",value:function(){if(this.readyState="open",t.priorWebsocketSuccess="websocket"===this.transport.name,this.emitReserved("open"),this.flush(),"open"===this.readyState&&this.opts.upgrade&&this.transport.pause)for(var e=0,n=this.upgrades.length;e<n;e++)this.probe(this.upgrades[e])}},{key:"onPacket",value:function(e){if("opening"===this.readyState||"open"===this.readyState||"closing"===this.readyState)switch(this.emitReserved("packet",e),this.emitReserved("heartbeat"),e.type){case"open":this.onHandshake(JSON.parse(e.data));break;case"ping":this.resetPingTimeout(),this.sendPacket("pong"),this.emitReserved("ping"),this.emitReserved("pong");break;case"error":var t=new Error("server error");t.code=e.data,this.onError(t);break;case"message":this.emitReserved("data",e.data),this.emitReserved("message",e.data)}}},{key:"onHandshake",value:function(e){this.emitReserved("handshake",e),this.id=e.sid,this.transport.query.sid=e.sid,this.upgrades=this.filterUpgrades(e.upgrades),this.pingInterval=e.pingInterval,this.pingTimeout=e.pingTimeout,this.onOpen(),"closed"!==this.readyState&&this.resetPingTimeout()}},{key:"resetPingTimeout",value:function(){var e=this;this.clearTimeoutFn(this.pingTimeoutTimer),this.pingTimeoutTimer=this.setTimeoutFn((function(){e.onClose("ping timeout")}),this.pingInterval+this.pingTimeout),this.opts.autoUnref&&this.pingTimeoutTimer.unref()}},{key:"onDrain",value:function(){this.writeBuffer.splice(0,this.prevBufferLen),this.prevBufferLen=0,0===this.writeBuffer.length?this.emitReserved("drain"):this.flush()}},{key:"flush",value:function(){"closed"!==this.readyState&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length&&(this.transport.send(this.writeBuffer),this.prevBufferLen=this.writeBuffer.length,this.emitReserved("flush"))}},{key:"write",value:function(e,t,n){return this.sendPacket("message",e,t,n),this}},{key:"send",value:function(e,t,n){return this.sendPacket("message",e,t,n),this}},{key:"sendPacket",value:function(e,t,n,r){if("function"==typeof t&&(r=t,t=void 0),"function"==typeof n&&(r=n,n=null),"closing"!==this.readyState&&"closed"!==this.readyState){(n=n||{}).compress=!1!==n.compress;var o={type:e,data:t,options:n};this.emitReserved("packetCreate",o),this.writeBuffer.push(o),r&&this.once("flush",r),this.flush()}}},{key:"close",value:function(){var e=this,t=function(){e.onClose("forced close"),e.transport.close()},n=function n(){e.off("upgrade",n),e.off("upgradeError",n),t()},r=function(){e.once("upgrade",n),e.once("upgradeError",n)};return"opening"!==this.readyState&&"open"!==this.readyState||(this.readyState="closing",this.writeBuffer.length?this.once("drain",(function(){e.upgrading?r():t()})):this.upgrading?r():t()),this}},{key:"onError",value:function(e){t.priorWebsocketSuccess=!1,this.emitReserved("error",e),this.onClose("transport error",e)}},{key:"onClose",value:function(e,t){"opening"!==this.readyState&&"open"!==this.readyState&&"closing"!==this.readyState||(this.clearTimeoutFn(this.pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),"function"==typeof removeEventListener&&removeEventListener("offline",this.offlineEventListener,!1),this.readyState="closed",this.id=null,this.emitReserved("close",e,t),this.writeBuffer=[],this.prevBufferLen=0)}},{key:"filterUpgrades",value:function(e){for(var t=[],n=0,r=e.length;n<r;n++)~this.transports.indexOf(e[n])&&t.push(e[n]);return t}}],r&&to(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r}(Gn.v);function uo(e){return uo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},uo(e)}lo.protocol=4,lo.protocol;var so="function"==typeof ArrayBuffer,co=function(e){return"function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(e):e.buffer instanceof ArrayBuffer},fo=Object.prototype.toString,po="function"==typeof Blob||"undefined"!=typeof Blob&&"[object BlobConstructor]"===fo.call(Blob),ho="function"==typeof File||"undefined"!=typeof File&&"[object FileConstructor]"===fo.call(File);function go(e){return so&&(e instanceof ArrayBuffer||co(e))||po&&e instanceof Blob||ho&&e instanceof File}function yo(e,t){if(!e||"object"!==uo(e))return!1;if(Array.isArray(e)){for(var n=0,r=e.length;n<r;n++)if(yo(e[n]))return!0;return!1}if(go(e))return!0;if(e.toJSON&&"function"==typeof e.toJSON&&1===arguments.length)return yo(e.toJSON(),!0);for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)&&yo(e[o]))return!0;return!1}function mo(e){return mo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},mo(e)}function bo(e){var t=[],n=e.data,r=e;return r.data=vo(n,t),r.attachments=t.length,{packet:r,buffers:t}}function vo(e,t){if(!e)return e;if(go(e)){var n={_placeholder:!0,num:t.length};return t.push(e),n}if(Array.isArray(e)){for(var r=new Array(e.length),o=0;o<e.length;o++)r[o]=vo(e[o],t);return r}if("object"===mo(e)&&!(e instanceof Date)){var i={};for(var a in e)e.hasOwnProperty(a)&&(i[a]=vo(e[a],t));return i}return e}function ko(e,t){return e.data=wo(e.data,t),e.attachments=void 0,e}function wo(e,t){if(!e)return e;if(e&&e._placeholder)return t[e.num];if(Array.isArray(e))for(var n=0;n<e.length;n++)e[n]=wo(e[n],t);else if("object"===mo(e))for(var r in e)e.hasOwnProperty(r)&&(e[r]=wo(e[r],t));return e}function xo(e){return xo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},xo(e)}function So(e,t,n){return t=Bo(t),function(e,t){if(t&&("object"==xo(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Co()?Reflect.construct(t,n||[],Bo(e).constructor):t.apply(e,n))}function Co(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Co=function(){return!!e})()}function Po(){return Po="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!{}.hasOwnProperty.call(e,t)&&null!==(e=Bo(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(arguments.length<3?e:n):o.value}},Po.apply(null,arguments)}function Bo(e){return Bo=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Bo(e)}function Lo(e,t){return Lo=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Lo(e,t)}function Eo(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ao(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,To(r.key),r)}}function _o(e,t,n){return t&&Ao(e.prototype,t),n&&Ao(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function To(e){var t=function(e,t){if("object"!=xo(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!=xo(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==xo(t)?t:t+""}var Oo,Io=5;!function(e){e[e.CONNECT=0]="CONNECT",e[e.DISCONNECT=1]="DISCONNECT",e[e.EVENT=2]="EVENT",e[e.ACK=3]="ACK",e[e.CONNECT_ERROR=4]="CONNECT_ERROR",e[e.BINARY_EVENT=5]="BINARY_EVENT",e[e.BINARY_ACK=6]="BINARY_ACK"}(Oo||(Oo={}));var Mo=function(){return _o((function e(){Eo(this,e)}),[{key:"encode",value:function(e){return e.type!==Oo.EVENT&&e.type!==Oo.ACK||!yo(e)?[this.encodeAsString(e)]:(e.type=e.type===Oo.EVENT?Oo.BINARY_EVENT:Oo.BINARY_ACK,this.encodeAsBinary(e))}},{key:"encodeAsString",value:function(e){var t=""+e.type;return e.type!==Oo.BINARY_EVENT&&e.type!==Oo.BINARY_ACK||(t+=e.attachments+"-"),e.nsp&&"/"!==e.nsp&&(t+=e.nsp+","),null!=e.id&&(t+=e.id),null!=e.data&&(t+=JSON.stringify(e.data)),t}},{key:"encodeAsBinary",value:function(e){var t=bo(e),n=this.encodeAsString(t.packet),r=t.buffers;return r.unshift(n),r}}])}(),Ho=function(e){function t(){return Eo(this,t),So(this,t)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Lo(e,t)}(t,e),_o(t,[{key:"add",value:function(e){var n;if("string"==typeof e)(n=this.decodeString(e)).type===Oo.BINARY_EVENT||n.type===Oo.BINARY_ACK?(this.reconstructor=new Fo(n),0===n.attachments&&Po(Bo(t.prototype),"emitReserved",this).call(this,"decoded",n)):Po(Bo(t.prototype),"emitReserved",this).call(this,"decoded",n);else{if(!go(e)&&!e.base64)throw new Error("Unknown type: "+e);if(!this.reconstructor)throw new Error("got binary data when not reconstructing a packet");(n=this.reconstructor.takeBinaryData(e))&&(this.reconstructor=null,Po(Bo(t.prototype),"emitReserved",this).call(this,"decoded",n))}}},{key:"decodeString",value:function(e){var n=0,r={type:Number(e.charAt(0))};if(void 0===Oo[r.type])throw new Error("unknown packet type "+r.type);if(r.type===Oo.BINARY_EVENT||r.type===Oo.BINARY_ACK){for(var o=n+1;"-"!==e.charAt(++n)&&n!=e.length;);var i=e.substring(o,n);if(i!=Number(i)||"-"!==e.charAt(n))throw new Error("Illegal attachments");r.attachments=Number(i)}if("/"===e.charAt(n+1)){for(var a=n+1;++n&&","!==e.charAt(n)&&n!==e.length;);r.nsp=e.substring(a,n)}else r.nsp="/";var l=e.charAt(n+1);if(""!==l&&Number(l)==l){for(var u=n+1;++n;){var s=e.charAt(n);if(null==s||Number(s)!=s){--n;break}if(n===e.length)break}r.id=Number(e.substring(u,n+1))}if(e.charAt(++n)){var c=function(e){try{return JSON.parse(e)}catch(e){return!1}}(e.substr(n));if(!t.isPayloadValid(r.type,c))throw new Error("invalid payload");r.data=c}return r}},{key:"destroy",value:function(){this.reconstructor&&this.reconstructor.finishedReconstruction()}}],[{key:"isPayloadValid",value:function(e,t){switch(e){case Oo.CONNECT:return"object"===xo(t);case Oo.DISCONNECT:return void 0===t;case Oo.CONNECT_ERROR:return"string"==typeof t||"object"===xo(t);case Oo.EVENT:case Oo.BINARY_EVENT:return Array.isArray(t)&&t.length>0;case Oo.ACK:case Oo.BINARY_ACK:return Array.isArray(t)}}}])}(Gn.v),Fo=function(){return _o((function e(t){Eo(this,e),this.packet=t,this.buffers=[],this.reconPack=t}),[{key:"takeBinaryData",value:function(e){if(this.buffers.push(e),this.buffers.length===this.reconPack.attachments){var t=ko(this.reconPack,this.buffers);return this.finishedReconstruction(),t}return null}},{key:"finishedReconstruction",value:function(){this.reconPack=null,this.buffers=[]}}])}();function Do(e,t,n){return e.on(t,n),function(){e.off(t,n)}}function Ro(e){return Ro="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ro(e)}function zo(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function No(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,jo(r.key),r)}}function jo(e){var t=function(e,t){if("object"!=Ro(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!=Ro(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Ro(t)?t:t+""}function Uo(e,t,n){return t=Xo(t),function(e,t){if(t&&("object"==Ro(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Wo()?Reflect.construct(t,n||[],Xo(e).constructor):t.apply(e,n))}function Wo(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Wo=function(){return!!e})()}function Yo(){return Yo="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!{}.hasOwnProperty.call(e,t)&&null!==(e=Xo(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(arguments.length<3?e:n):o.value}},Yo.apply(null,arguments)}function Xo(e){return Xo=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Xo(e)}function $o(e,t){return $o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},$o(e,t)}var Go=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1}),Vo=function(e){function t(e,n,r){var o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(o=Uo(this,t)).connected=!1,o.disconnected=!0,o.receiveBuffer=[],o.sendBuffer=[],o.ids=0,o.acks={},o.flags={},o.io=e,o.nsp=n,r&&r.auth&&(o.auth=r.auth),o.io._autoConnect&&o.open(),o}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&$o(e,t)}(t,e),n=t,r=[{key:"subEvents",value:function(){if(!this.subs){var e=this.io;this.subs=[Do(e,"open",this.onopen.bind(this)),Do(e,"packet",this.onpacket.bind(this)),Do(e,"error",this.onerror.bind(this)),Do(e,"close",this.onclose.bind(this))]}}},{key:"active",get:function(){return!!this.subs}},{key:"connect",value:function(){return this.connected||(this.subEvents(),this.io._reconnecting||this.io.open(),"open"===this.io._readyState&&this.onopen()),this}},{key:"open",value:function(){return this.connect()}},{key:"send",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.unshift("message"),this.emit.apply(this,t),this}},{key:"emit",value:function(e){if(Go.hasOwnProperty(e))throw new Error('"'+e+'" is a reserved event name');for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];n.unshift(e);var o={type:Oo.EVENT,data:n,options:{}};if(o.options.compress=!1!==this.flags.compress,"function"==typeof n[n.length-1]){var i=this.ids++,a=n.pop();this._registerAckCallback(i,a),o.id=i}var l=this.io.engine&&this.io.engine.transport&&this.io.engine.transport.writable;return this.flags.volatile&&(!l||!this.connected)||(this.connected?this.packet(o):this.sendBuffer.push(o)),this.flags={},this}},{key:"_registerAckCallback",value:function(e,t){var n=this,r=this.flags.timeout;if(void 0!==r){var o=this.io.setTimeoutFn((function(){delete n.acks[e];for(var r=0;r<n.sendBuffer.length;r++)n.sendBuffer[r].id===e&&n.sendBuffer.splice(r,1);t.call(n,new Error("operation has timed out"))}),r);this.acks[e]=function(){n.io.clearTimeoutFn(o);for(var e=arguments.length,r=new Array(e),i=0;i<e;i++)r[i]=arguments[i];t.apply(n,[null].concat(r))}}else this.acks[e]=t}},{key:"packet",value:function(e){e.nsp=this.nsp,this.io._packet(e)}},{key:"onopen",value:function(){var e=this;"function"==typeof this.auth?this.auth((function(t){e.packet({type:Oo.CONNECT,data:t})})):this.packet({type:Oo.CONNECT,data:this.auth})}},{key:"onerror",value:function(e){this.connected||this.emitReserved("connect_error",e)}},{key:"onclose",value:function(e){this.connected=!1,this.disconnected=!0,delete this.id,this.emitReserved("disconnect",e)}},{key:"onpacket",value:function(e){if(e.nsp===this.nsp)switch(e.type){case Oo.CONNECT:if(e.data&&e.data.sid){var t=e.data.sid;this.onconnect(t)}else this.emitReserved("connect_error",new Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));break;case Oo.EVENT:case Oo.BINARY_EVENT:this.onevent(e);break;case Oo.ACK:case Oo.BINARY_ACK:this.onack(e);break;case Oo.DISCONNECT:this.ondisconnect();break;case Oo.CONNECT_ERROR:this.destroy();var n=new Error(e.data.message);n.data=e.data.data,this.emitReserved("connect_error",n)}}},{key:"onevent",value:function(e){var t=e.data||[];null!=e.id&&t.push(this.ack(e.id)),this.connected?this.emitEvent(t):this.receiveBuffer.push(Object.freeze(t))}},{key:"emitEvent",value:function(e){if(this._anyListeners&&this._anyListeners.length){var n,r=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return zo(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?zo(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){l=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(l)throw i}}}}(this._anyListeners.slice());try{for(r.s();!(n=r.n()).done;)n.value.apply(this,e)}catch(e){r.e(e)}finally{r.f()}}Yo(Xo(t.prototype),"emit",this).apply(this,e)}},{key:"ack",value:function(e){var t=this,n=!1;return function(){if(!n){n=!0;for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];t.packet({type:Oo.ACK,id:e,data:o})}}}},{key:"onack",value:function(e){var t=this.acks[e.id];"function"==typeof t&&(t.apply(this,e.data),delete this.acks[e.id])}},{key:"onconnect",value:function(e){this.id=e,this.connected=!0,this.disconnected=!1,this.emitBuffered(),this.emitReserved("connect")}},{key:"emitBuffered",value:function(){var e=this;this.receiveBuffer.forEach((function(t){return e.emitEvent(t)})),this.receiveBuffer=[],this.sendBuffer.forEach((function(t){return e.packet(t)})),this.sendBuffer=[]}},{key:"ondisconnect",value:function(){this.destroy(),this.onclose("io server disconnect")}},{key:"destroy",value:function(){this.subs&&(this.subs.forEach((function(e){return e()})),this.subs=void 0),this.io._destroy(this)}},{key:"disconnect",value:function(){return this.connected&&this.packet({type:Oo.DISCONNECT}),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}},{key:"close",value:function(){return this.disconnect()}},{key:"compress",value:function(e){return this.flags.compress=e,this}},{key:"volatile",get:function(){return this.flags.volatile=!0,this}},{key:"timeout",value:function(e){return this.flags.timeout=e,this}},{key:"onAny",value:function(e){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(e),this}},{key:"prependAny",value:function(e){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(e),this}},{key:"offAny",value:function(e){if(!this._anyListeners)return this;if(e){for(var t=this._anyListeners,n=0;n<t.length;n++)if(e===t[n])return t.splice(n,1),this}else this._anyListeners=[];return this}},{key:"listenersAny",value:function(){return this._anyListeners||[]}}],r&&No(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r}(Gn.v),qo=n(959);function Ko(e){return Ko="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ko(e)}function Qo(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Jo(r.key),r)}}function Jo(e){var t=function(e,t){if("object"!=Ko(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!=Ko(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Ko(t)?t:t+""}function Zo(e,t,n){return t=ti(t),function(e,t){if(t&&("object"==Ko(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,ei()?Reflect.construct(t,n||[],ti(e).constructor):t.apply(e,n))}function ei(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(ei=function(){return!!e})()}function ti(e){return ti=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},ti(e)}function ni(e,t){return ni=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},ni(e,t)}var ri=function(t){function n(t,r){var o,i;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),(o=Zo(this,n)).nsps={},o.subs=[],t&&"object"===Ko(t)&&(r=t,t=void 0),(r=r||{}).path=r.path||"/socket.io",o.opts=r,$n(o,r),o.reconnection(!1!==r.reconnection),o.reconnectionAttempts(r.reconnectionAttempts||1/0),o.reconnectionDelay(r.reconnectionDelay||1e3),o.reconnectionDelayMax(r.reconnectionDelayMax||5e3),o.randomizationFactor(null!==(i=r.randomizationFactor)&&void 0!==i?i:.5),o.backoff=new qo({min:o.reconnectionDelay(),max:o.reconnectionDelayMax(),jitter:o.randomizationFactor()}),o.timeout(null==r.timeout?2e4:r.timeout),o._readyState="closed",o.uri=t;var a=r.parser||e;return o.encoder=new a.Encoder,o.decoder=new a.Decoder,o._autoConnect=!1!==r.autoConnect,o._autoConnect&&o.open(),o}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ni(e,t)}(n,t),r=n,o=[{key:"reconnection",value:function(e){return arguments.length?(this._reconnection=!!e,this):this._reconnection}},{key:"reconnectionAttempts",value:function(e){return void 0===e?this._reconnectionAttempts:(this._reconnectionAttempts=e,this)}},{key:"reconnectionDelay",value:function(e){var t;return void 0===e?this._reconnectionDelay:(this._reconnectionDelay=e,null===(t=this.backoff)||void 0===t||t.setMin(e),this)}},{key:"randomizationFactor",value:function(e){var t;return void 0===e?this._randomizationFactor:(this._randomizationFactor=e,null===(t=this.backoff)||void 0===t||t.setJitter(e),this)}},{key:"reconnectionDelayMax",value:function(e){var t;return void 0===e?this._reconnectionDelayMax:(this._reconnectionDelayMax=e,null===(t=this.backoff)||void 0===t||t.setMax(e),this)}},{key:"timeout",value:function(e){return arguments.length?(this._timeout=e,this):this._timeout}},{key:"maybeReconnectOnOpen",value:function(){!this._reconnecting&&this._reconnection&&0===this.backoff.attempts&&this.reconnect()}},{key:"open",value:function(e){var t=this;if(~this._readyState.indexOf("open"))return this;this.engine=new lo(this.uri,this.opts);var n=this.engine,r=this;this._readyState="opening",this.skipReconnect=!1;var o=Do(n,"open",(function(){r.onopen(),e&&e()})),i=Do(n,"error",(function(n){r.cleanup(),r._readyState="closed",t.emitReserved("error",n),e?e(n):r.maybeReconnectOnOpen()}));if(!1!==this._timeout){var a=this._timeout;0===a&&o();var l=this.setTimeoutFn((function(){o(),n.close(),n.emit("error",new Error("timeout"))}),a);this.opts.autoUnref&&l.unref(),this.subs.push((function(){clearTimeout(l)}))}return this.subs.push(o),this.subs.push(i),this}},{key:"connect",value:function(e){return this.open(e)}},{key:"onopen",value:function(){this.cleanup(),this._readyState="open",this.emitReserved("open");var e=this.engine;this.subs.push(Do(e,"ping",this.onping.bind(this)),Do(e,"data",this.ondata.bind(this)),Do(e,"error",this.onerror.bind(this)),Do(e,"close",this.onclose.bind(this)),Do(this.decoder,"decoded",this.ondecoded.bind(this)))}},{key:"onping",value:function(){this.emitReserved("ping")}},{key:"ondata",value:function(e){this.decoder.add(e)}},{key:"ondecoded",value:function(e){this.emitReserved("packet",e)}},{key:"onerror",value:function(e){this.emitReserved("error",e)}},{key:"socket",value:function(e,t){var n=this.nsps[e];return n||(n=new Vo(this,e,t),this.nsps[e]=n),n}},{key:"_destroy",value:function(e){for(var t=0,n=Object.keys(this.nsps);t<n.length;t++){var r=n[t];if(this.nsps[r].active)return}this._close()}},{key:"_packet",value:function(e){for(var t=this.encoder.encode(e),n=0;n<t.length;n++)this.engine.write(t[n],e.options)}},{key:"cleanup",value:function(){this.subs.forEach((function(e){return e()})),this.subs.length=0,this.decoder.destroy()}},{key:"_close",value:function(){this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close"),this.engine&&this.engine.close()}},{key:"disconnect",value:function(){return this._close()}},{key:"onclose",value:function(e){this.cleanup(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",e),this._reconnection&&!this.skipReconnect&&this.reconnect()}},{key:"reconnect",value:function(){var e=this;if(this._reconnecting||this.skipReconnect)return this;var t=this;if(this.backoff.attempts>=this._reconnectionAttempts)this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{var n=this.backoff.duration();this._reconnecting=!0;var r=this.setTimeoutFn((function(){t.skipReconnect||(e.emitReserved("reconnect_attempt",t.backoff.attempts),t.skipReconnect||t.open((function(n){n?(t._reconnecting=!1,t.reconnect(),e.emitReserved("reconnect_error",n)):t.onreconnect()})))}),n);this.opts.autoUnref&&r.unref(),this.subs.push((function(){clearTimeout(r)}))}}},{key:"onreconnect",value:function(){var e=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",e)}}],o&&Qo(r.prototype,o),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,o}(Gn.v);function oi(e){return oi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},oi(e)}var ii={};function ai(e,t){"object"===oi(e)&&(t=e,e=void 0);var n,r=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2?arguments[2]:void 0,r=e;n=n||"undefined"!=typeof location&&location,null==e&&(e=n.protocol+"//"+n.host),"string"==typeof e&&("/"===e.charAt(0)&&(e="/"===e.charAt(1)?n.protocol+e:n.host+e),/^(https?|wss?):\/\//.test(e)||(e=void 0!==n?n.protocol+"//"+e:"https://"+e),r=zn(e)),r.port||(/^(http|ws)$/.test(r.protocol)?r.port="80":/^(http|ws)s$/.test(r.protocol)&&(r.port="443")),r.path=r.path||"/";var o=-1!==r.host.indexOf(":")?"["+r.host+"]":r.host;return r.id=r.protocol+"://"+o+":"+r.port+t,r.href=r.protocol+"://"+o+(n&&n.port===r.port?"":":"+r.port),r}(e,(t=t||{}).path||"/socket.io"),o=r.source,i=r.id,a=r.path,l=ii[i]&&a in ii[i].nsps;return t.forceNew||t["force new connection"]||!1===t.multiplex||l?n=new ri(o,t):(ii[i]||(ii[i]=new ri(o,t)),n=ii[i]),r.query&&!t.query&&(t.query=r.queryKey),n.socket(r.path,t)}Object.assign(ai,{Manager:ri,Socket:Vo,io:ai,connect:ai});var li,ui,si,ci,fi,di,pi,hi,gi,yi,mi,bi,vi,ki,wi,xi,Si,Ci,Pi,Bi,Li,Ei,Ai,_i,Ti,Oi,Ii,Mi,Hi,Fi,Di,Ri,zi=new function(){var e=this;this.isTabPressed=!1,this.isArrowPressed=!1,null==F.globalObject.addEventListener||F.globalObject.addEventListener("keydown",(function(t){e.isTabPressed=function(e){return"Tab"===e.key}(t),e.isArrowPressed=function(e){return function(e){return function(e){return"ArrowRight"===e.key||"Right"===e.key}(e)||function(e){return"ArrowLeft"===e.key||"Left"===e.key}(e)}(e)||function(e){return function(e){return"ArrowUp"===e.key||"Up"===e.key}(e)||function(e){return"ArrowDown"===e.key||"Down"===e.key}(e)}(e)}(t)})),null==F.globalObject.addEventListener||F.globalObject.addEventListener("mousedown",(function(){e.isTabPressed=!1,e.isArrowPressed=!1}))},Ni=function(e,t,n){return"\n color: "+e+";\n\n &:hover {\n color: "+t+";\n }\n\n &:active {\n color: "+n+";\n }\n "},ji=function(e){return"\n animation: none !important;\n border-bottom-style: "+e+";\n "},Ui=("link",void 0===Hi&&(Hi=At),function(e){return Object.keys(e).reduce((function(t,n){var r;return o({},t,((r={})[n]=Hi+"-link-"+e[n],r))}),{})})({textWrapper:"textWrapper",text:"text"}),Wi=It(li||(li=Nt(["\n 0% {\n border-bottom-color: inherit;\n }\n 100% {\n border-bottom-color: transparent;\n }\n"]))),Yi=function(e){var t=parseFloat(e.linkLineBorderBottomOpacity)-1;return Mt(ui||(ui=Nt(["\n border-bottom-style: ",";\n border-bottom-width: ",";\n animation: "," 1s linear !important; // override creevey\n animation-play-state: paused !important;\n animation-delay: ","s !important;\n animation-fill-mode: forwards !important;\n "])),e.linkLineBorderBottomStyle,e.linkLineBorderBottomWidth,Wi,t)},Xi=zt({root:function(e){return Mt(si||(si=Nt(["\n ",";\n position: relative;\n "])),"\n border-radius: 1px;\n outline: none;\n text-decoration: none;\n\n &:hover {\n text-decoration: "+e.linkHoverTextDecoration+";\n }\n ")},lineRoot:function(){return Mt(ci||(ci=Nt(["\n border-radius: 1px;\n outline: none;\n text-decoration: none;\n &:hover ."," {\n border-bottom-color: currentColor !important;\n }\n "])),Ui.text)},lineTextWrapper:function(e){return Mt(fi||(fi=Nt(["\n @supports (border-bottom-color: ",") {\n transition: border-bottom-color "," ",";\n border-bottom-style: ",";\n border-bottom-width: ",";\n border-bottom-color: transparent;\n }\n "])),e.linkLineBorderBottomColor,e.transitionDuration,e.transitionTimingFunction,e.linkLineBorderBottomStyle,e.linkLineBorderBottomWidth)},lineTextWrapperFocused:function(e){return Mt(di||(di=Nt(["\n @supports (border-bottom-color: ",") {\n border-bottom-color: currentColor;\n border-bottom-style: ",";\n }\n "])),e.linkLineBorderBottomColor,e.linkLineHoverBorderBottomStyle)},lineText:function(e){return Mt(pi||(pi=Nt(["\n @supports (border-bottom-color: ",") {\n border-bottom-style: ",";\n border-bottom-width: ",";\n border-bottom-color: ",";\n }\n @supports not (border-bottom-color: ",") {\n ",";\n }\n "])),e.linkLineBorderBottomColor,e.linkLineBorderBottomStyle,e.linkLineBorderBottomWidth,e.linkLineBorderBottomColor,e.linkLineBorderBottomColor,Yi(e))},lineTextIE11:function(e){return Mt(hi||(hi=Nt(["\n ",";\n "])),Yi(e))},lineFocus:function(e){return Mt(gi||(gi=Nt(["\n color: ",";\n\n ."," {\n ","\n }\n "])),e.linkHoverColor,Ui.text,ji(e.linkLineHoverBorderBottomStyle))},lineFocusSuccess:function(e){return Mt(yi||(yi=Nt(["\n color: "," !important;\n\n ."," {\n ","\n }\n "])),e.linkSuccessHoverColor,Ui.text,ji(e.linkLineHoverBorderBottomStyle))},lineFocusDanger:function(e){return Mt(mi||(mi=Nt(["\n color: "," !important;\n\n ."," {\n ","\n }\n "])),e.linkDangerHoverColor,Ui.text,ji(e.linkLineHoverBorderBottomStyle))},lineFocusGrayed:function(e){return Mt(bi||(bi=Nt(["\n color: "," !important;\n\n ."," {\n ","\n }\n "])),e.linkGrayedHoverColor,Ui.text,ji(e.linkLineHoverBorderBottomStyle))},button:function(e){return Mt(vi||(vi=Nt(["\n display: inline-block;\n line-height: ",";\n padding-left: ",";\n padding-right: ",";\n "])),e.linkButtonLineHeight,e.linkButtonPaddingX,e.linkButtonPaddingX)},buttonOpened:function(e){return Mt(ki||(ki=Nt(["\n background: ",";\n "])),e.btnDefaultActiveBg)},arrow:function(){return Mt(wi||(wi=Nt(["\n border: 4px solid transparent;\n border-bottom-width: 0;\n border-top-color: #a0a0a0;\n display: inline-block;\n margin-bottom: 3px;\n margin-left: 3px;\n vertical-align: middle;\n "])))},useRoot:function(){return Mt(xi||(xi=Nt(["\n border-bottom-color: currentColor;\n "])))},useDefault:function(e){return Mt(Si||(Si=Nt(["\n ",";\n ."," {\n :hover {\n ","\n }\n }\n "])),Ni(e.linkColor,e.linkHoverColor,e.linkActiveColor),Ui.text,ji(e.linkLineHoverBorderBottomStyle))},useSuccess:function(e){return Mt(Ci||(Ci=Nt(["\n ",";\n ."," {\n :hover {\n ","\n }\n }\n "])),Ni(e.linkSuccessColor,e.linkSuccessHoverColor,e.linkSuccessActiveColor),Ui.text,ji(e.linkLineHoverBorderBottomStyle))},useDanger:function(e){return Mt(Pi||(Pi=Nt(["\n ",";\n ."," {\n :hover {\n ","\n }\n }\n "])),Ni(e.linkDangerColor,e.linkDangerHoverColor,e.linkDangerActiveColor),Ui.text,ji(e.linkLineHoverBorderBottomStyle))},useGrayed:function(e){return Mt(Bi||(Bi=Nt(["\n ",";\n ."," {\n :hover {\n ","\n }\n }\n "])),Ni(e.linkGrayedColor,e.linkGrayedHoverColor,e.linkGrayedActiveColor),Ui.text,ji(e.linkLineHoverBorderBottomStyle))},useGrayedFocus:function(e){return Mt(Li||(Li=Nt(["\n color: ",";\n "])),e.linkDisabledColor)},focus:function(e){return Mt(Ei||(Ei=Nt(["\n text-decoration: ",";\n "])),e.linkHoverTextDecoration)},focus2022:function(e){return Mt(Ai||(Ai=Nt(["\n outline: ",";\n\n ."," {\n &,\n &:hover {\n ","\n }\n }\n\n ."," {\n border-bottom-style: none;\n }\n "])),e.linkFocusOutline,Ui.text,ji("none"),Ui.textWrapper)},disabled:function(e){return Mt(_i||(_i=Nt(["\n ",";\n\n color: "," !important; // override root color\n\n &:hover {\n color: ",";\n }\n "])),"\n box-shadow: none;\n cursor: default;\n pointer-events: none;\n text-decoration: none;\n\n &:hover {\n text-decoration: none;\n }\n ",e.linkDisabledColor,e.linkDisabledColor)},disabledDark22Theme:function(e){return Mt(Ti||(Ti=Nt(["\n ."," {\n ","\n }\n "])),Ui.text,ji(e.linkLineHoverBorderBottomStyle))},icon:function(){return Mt(Oi||(Oi=Nt(["\n display: inline-block;\n "])))},iconLeft:function(e){return Mt(Ii||(Ii=Nt(["\n margin-right: ",";\n "])),e.linkIconMarginRight)},iconRight:function(e){return Mt(Mi||(Mi=Nt(["\n margin-left: ",";\n "])),e.linkIconMarginLeft)}}),$i=function(e){var n=e.icon,r=e.loading,o=e.hasBothIcons,i=e.position,a=(0,t.useContext)(K);return t.createElement("span",{className:Ot(Xi.icon(),"left"===i&&Xi.iconLeft(a),"right"===i&&Xi.iconRight(a))},r&&!o?t.createElement(Fn,{caption:null,dimmed:!0,inline:!0}):n)},Gi=["disabled","href","icon","rightIcon","use","loading","_button","_buttonOpened","rel","as","focused"],Vi=qt((Ri=Di=function(e){function n(){for(var r,i=arguments.length,a=new Array(i),l=0;l<i;l++)a[l]=arguments[l];return(r=e.call.apply(e,[this].concat(a))||this).getProps=(n.defaultProps,function(){return this.props}),r.state={focusedByTab:!1},r.renderMain=function(e){var n=e.disabled,i=e.href,a=e.icon,l=e.rightIcon,u=e.use,s=e.loading,c=e._button,f=e._buttonOpened,d=e.rel,p=e.as,h=e.focused,g=void 0!==h&&h,y=Yt(e,Gi),m=function(e){return e[z.theme2022.key]===z.theme2022.value}(r.theme),b=null;c&&(b=t.createElement("span",{className:Xi.arrow()}));var v,k=d;void 0===k&&i&&(k="noopener"+(v=i,(0,F.isBrowser)(F.globalObject)&&new RegExp("^(https?:)?//(?!"+F.globalObject.location.host+")\\S+","gi").test(v)?" noreferrer":""));var w,x,S=!n&&(r.state.focusedByTab||g),C=a&&t.createElement($i,{icon:a,loading:s,position:"left"}),P=l&&t.createElement($i,{hasBothIcons:!!a&&!!l,icon:l,loading:s,position:"right"}),B={className:Ot(Xi.useRoot(),"default"===u&&Xi.useDefault(r.theme),"success"===u&&Xi.useSuccess(r.theme),"danger"===u&&Xi.useDanger(r.theme),"grayed"===u&&Xi.useGrayed(r.theme),!!c&&Xi.button(r.theme),!!f&&Xi.buttonOpened(r.theme),r.getLinkClassName(S,Boolean(n||s),m)),href:i,rel:k,onClick:r.handleClick,onFocus:r.handleFocus,onBlur:r.handleBlur,tabIndex:n||s?-1:r.props.tabIndex},L=r.props.children;return m&&(L=t.createElement("span",{className:Ot(Ui.textWrapper,Xi.lineTextWrapper(r.theme),(w={},w[Xi.lineTextWrapperFocused(r.theme)]=S,w))},t.createElement("span",{className:Ot(Ui.text,(x={},x[Xi.lineText(r.theme)]=!te,x[Xi.lineTextIE11(r.theme)]=te,x))},r.props.children))),t.createElement(p,o({"data-tid":"Link__root"},y,B),C,L,P,b)},r.handleFocus=function(){r.props.disabled||null==F.globalObject.requestAnimationFrame||F.globalObject.requestAnimationFrame((function(){zi.isTabPressed&&r.setState({focusedByTab:!0})}))},r.handleBlur=function(){r.setState({focusedByTab:!1})},r.handleClick=function(e){var t=r.props,n=t.onClick,o=t.disabled,i=t.loading;r.getProps().href||e.preventDefault(),!n||o||i||n(e)},r}a(n,e);var r=n.prototype;return r.render=function(){var e=this;return t.createElement(an.Consumer,null,(function(n){return e.linkFocusOutline=An(n).linkFocusOutline,t.createElement(K.Consumer,null,(function(n){return e.theme=e.props.theme?V.create(e.props.theme,n):n,t.createElement(rn,o({rootNodeRef:e.setRootNode},e.getProps()),e.renderMain)}))}))},r.getLinkClassName=function(e,t,n){var r=this.getProps().use,o=e&&!t;return parseInt(this.theme.linkLineBorderBottomWidth)>0?Ot(Xi.lineRoot(),t&&Xi.disabled(this.theme),t&&n&&function(e){return e[z.darkTheme.key]===z.darkTheme.value}(this.theme)&&Xi.disabledDark22Theme(this.theme),o&&"default"===r&&Xi.lineFocus(this.theme),o&&"success"===r&&Xi.lineFocusSuccess(this.theme),o&&"danger"===r&&Xi.lineFocusDanger(this.theme),o&&"grayed"===r&&Xi.lineFocusGrayed(this.theme),o&&n&&this.linkFocusOutline&&Xi.focus2022(this.theme)):Ot(Xi.root(this.theme),o&&Xi.focus(this.theme),t&&Xi.disabled(this.theme),"grayed"===r&&e&&Xi.useGrayedFocus(this.theme))},n}(t.Component),Di.__KONTUR_REACT_UI__="Link",Di.displayName="Link",Di.propTypes={disabled:s().bool,href:s().string,icon:s().node,use:s().oneOf(["default","success","danger","grayed"])},Di.defaultProps={href:"",use:"default",as:"a"},Fi=Ri))||Fi;function qi(e){return qi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},qi(e)}function Ki(){Ki=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(e,t,n){e[t]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",l=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function s(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(e){s=function(e,t,n){return e[t]=n}}function c(e,t,n,r){var i=t&&t.prototype instanceof m?t:m,a=Object.create(i.prototype),l=new _(r||[]);return o(a,"_invoke",{value:B(e,n,l)}),a}function f(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=c;var d="suspendedStart",p="suspendedYield",h="executing",g="completed",y={};function m(){}function b(){}function v(){}var k={};s(k,a,(function(){return this}));var w=Object.getPrototypeOf,x=w&&w(w(T([])));x&&x!==n&&r.call(x,a)&&(k=x);var S=v.prototype=m.prototype=Object.create(k);function C(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function P(e,t){function n(o,i,a,l){var u=f(e[o],e,i);if("throw"!==u.type){var s=u.arg,c=s.value;return c&&"object"==qi(c)&&r.call(c,"__await")?t.resolve(c.__await).then((function(e){n("next",e,a,l)}),(function(e){n("throw",e,a,l)})):t.resolve(c).then((function(e){s.value=e,a(s)}),(function(e){return n("throw",e,a,l)}))}l(u.arg)}var i;o(this,"_invoke",{value:function(e,r){function o(){return new t((function(t,o){n(e,r,t,o)}))}return i=i?i.then(o,o):o()}})}function B(t,n,r){var o=d;return function(i,a){if(o===h)throw Error("Generator is already running");if(o===g){if("throw"===i)throw a;return{value:e,done:!0}}for(r.method=i,r.arg=a;;){var l=r.delegate;if(l){var u=L(l,r);if(u){if(u===y)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===d)throw o=g,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=h;var s=f(t,n,r);if("normal"===s.type){if(o=r.done?g:p,s.arg===y)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(o=g,r.method="throw",r.arg=s.arg)}}}function L(t,n){var r=n.method,o=t.iterator[r];if(o===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,L(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),y;var i=f(o,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,y;var a=i.arg;return a?a.done?(n[t.resultName]=a.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,y):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,y)}function E(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function _(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(E,this),this.reset(!0)}function T(t){if(t||""===t){var n=t[a];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function n(){for(;++o<t.length;)if(r.call(t,o))return n.value=t[o],n.done=!1,n;return n.value=e,n.done=!0,n};return i.next=i}}throw new TypeError(qi(t)+" is not iterable")}return b.prototype=v,o(S,"constructor",{value:v,configurable:!0}),o(v,"constructor",{value:b,configurable:!0}),b.displayName=s(v,u,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===b||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,s(e,u,"GeneratorFunction")),e.prototype=Object.create(S),e},t.awrap=function(e){return{__await:e}},C(P.prototype),s(P.prototype,l,(function(){return this})),t.AsyncIterator=P,t.async=function(e,n,r,o,i){void 0===i&&(i=Promise);var a=new P(c(e,n,r,o),i);return t.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},C(S),s(S,u,"Generator"),s(S,a,(function(){return this})),s(S,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=T,_.prototype={constructor:_,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(A),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function o(r,o){return l.type="throw",l.arg=t,n.next=r,o&&(n.method="next",n.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],l=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=r.call(a,"catchLoc"),s=r.call(a,"finallyLoc");if(u&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,y):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),y},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),A(n),y}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;A(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:T(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),y}},t}function Qi(e,t,n,r,o,i,a){try{var l=e[i](a),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,o)}function Ji(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Zi(r.key),r)}}function Zi(e){var t=function(e,t){if("object"!=qi(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!=qi(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==qi(t)?t:t+""}var ea=function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)},null,t=[{key:"getFileRaw",value:(n=Ki().mark((function e(){var t,n,r;return Ki().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,fetch("https://git.skbkontur.ru/api/v4/projects/13527/repository/files/tips-and-tricks.json/raw?ref=master",{headers:{"PRIVATE-TOKEN":"1HyDzbd2Mnx_cEByq4-h"}});case 2:if((t=e.sent).status>=200&&t.status<300){e.next=11;break}return e.next=6,t.text();case 6:n=e.sent;try{r=JSON.parse(n)}catch(e){r=void 0}if(null==r){e.next=10;break}throw new Error(r.Message||r.message||r.Error);case 10:throw new Error(n);case 11:return e.abrupt("return",t.json());case 12:case"end":return e.stop()}}),e)})),r=function(){var e=this,t=arguments;return new Promise((function(r,o){var i=n.apply(e,t);function a(e){Qi(i,r,o,a,l,"next",e)}function l(e){Qi(i,r,o,a,l,"throw",e)}a(void 0)}))},function(){return r.apply(this,arguments)})}],t&&Ji(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,n,r}(),ta=n(41),na=n.n(ta);function ra(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var oa=function(e){var t;return null!==(t=e[Math.floor(Math.random()*e.length)])&&void 0!==t?t:function(e){throw new Error("Undefined is not allowed")}()},ia={text:"Улыбнись!"};function aa(){var e,n,r=(e=t.useState(ia),n=2,function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,l=[],u=!0,s=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;u=!1}else for(;!(u=(r=i.call(n)).done)&&(l.push(r.value),l.length!==t);u=!0);}catch(e){s=!0,o=e}finally{try{if(!u&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(s)throw o}}return l}}(e,n)||function(e,t){if(e){if("string"==typeof e)return ra(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ra(e,t):void 0}}(e,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),o=r[0],i=r[1];return t.useEffect((function(){ea.getFileRaw().then((function(e){e.length>0&&i(oa(e))})).catch((function(){return i(ia)}))}),[]),t.createElement("div",{className:na()("container")},t.createElement("div",{className:na()("text-block")},o.link?t.createElement(Vi,{href:o.link},o.text):t.createElement(t.Fragment,null,o.text)),o.img&&t.createElement("img",{src:o.img,alt:o.text}))}var la=n(142),ua=n.n(la);function sa(e){return function(e){if(Array.isArray(e))return fa(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||ca(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ca(e,t){if(e){if("string"==typeof e)return fa(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?fa(e,t):void 0}}function fa(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function da(){var e,n,r=(e=t.useState([]),n=2,function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,l=[],u=!0,s=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;u=!1}else for(;!(u=(r=i.call(n)).done)&&(l.push(r.value),l.length!==t);u=!0);}catch(e){s=!0,o=e}finally{try{if(!u&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(s)throw o}}return l}}(e,n)||ca(e,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),o=r[0],i=r[1],a=t.useRef(pa);return t.useEffect((function(){var e=ai("localhost:9043",{transports:["websocket","polling"],path:"/build-info"});return e.on("message",(function(e){i((function(t){return[].concat(sa(t),sa(e.split("\n").filter((function(e){return""!==e}))))})),null!=a.current&&(a.current.scrollTop=a.current.scrollHeight)})),function(){e.disconnect()}}),[]),t.createElement("div",{className:ua()("root")},t.createElement(aa,null),t.createElement("div",{className:ua()("spinner-container")},t.createElement(Fn,{caption:"Сборка формы",type:"big"})),t.createElement("div",{className:ua()("logs-container"),ref:a},t.createElement("pre",null,t.createElement(Rn(),null,o.join("\n")))))}var pa=null,ha=n(353),ga=n.n(ha);function ya(e){return t.createElement("div",{className:ga()("root")},t.createElement("h3",null,"Failed to execute form start:"),t.createElement("pre",{className:ga()("error")},e.text))}function ma(e){return ma="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ma(e)}function ba(){ba=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(e,t,n){e[t]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",l=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function s(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(e){s=function(e,t,n){return e[t]=n}}function c(e,t,n,r){var i=t&&t.prototype instanceof m?t:m,a=Object.create(i.prototype),l=new _(r||[]);return o(a,"_invoke",{value:B(e,n,l)}),a}function f(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=c;var d="suspendedStart",p="suspendedYield",h="executing",g="completed",y={};function m(){}function b(){}function v(){}var k={};s(k,a,(function(){return this}));var w=Object.getPrototypeOf,x=w&&w(w(T([])));x&&x!==n&&r.call(x,a)&&(k=x);var S=v.prototype=m.prototype=Object.create(k);function C(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function P(e,t){function n(o,i,a,l){var u=f(e[o],e,i);if("throw"!==u.type){var s=u.arg,c=s.value;return c&&"object"==ma(c)&&r.call(c,"__await")?t.resolve(c.__await).then((function(e){n("next",e,a,l)}),(function(e){n("throw",e,a,l)})):t.resolve(c).then((function(e){s.value=e,a(s)}),(function(e){return n("throw",e,a,l)}))}l(u.arg)}var i;o(this,"_invoke",{value:function(e,r){function o(){return new t((function(t,o){n(e,r,t,o)}))}return i=i?i.then(o,o):o()}})}function B(t,n,r){var o=d;return function(i,a){if(o===h)throw Error("Generator is already running");if(o===g){if("throw"===i)throw a;return{value:e,done:!0}}for(r.method=i,r.arg=a;;){var l=r.delegate;if(l){var u=L(l,r);if(u){if(u===y)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===d)throw o=g,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=h;var s=f(t,n,r);if("normal"===s.type){if(o=r.done?g:p,s.arg===y)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(o=g,r.method="throw",r.arg=s.arg)}}}function L(t,n){var r=n.method,o=t.iterator[r];if(o===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,L(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),y;var i=f(o,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,y;var a=i.arg;return a?a.done?(n[t.resultName]=a.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,y):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,y)}function E(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function _(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(E,this),this.reset(!0)}function T(t){if(t||""===t){var n=t[a];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function n(){for(;++o<t.length;)if(r.call(t,o))return n.value=t[o],n.done=!1,n;return n.value=e,n.done=!0,n};return i.next=i}}throw new TypeError(ma(t)+" is not iterable")}return b.prototype=v,o(S,"constructor",{value:v,configurable:!0}),o(v,"constructor",{value:b,configurable:!0}),b.displayName=s(v,u,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===b||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,s(e,u,"GeneratorFunction")),e.prototype=Object.create(S),e},t.awrap=function(e){return{__await:e}},C(P.prototype),s(P.prototype,l,(function(){return this})),t.AsyncIterator=P,t.async=function(e,n,r,o,i){void 0===i&&(i=Promise);var a=new P(c(e,n,r,o),i);return t.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},C(S),s(S,u,"Generator"),s(S,a,(function(){return this})),s(S,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=T,_.prototype={constructor:_,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(A),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function o(r,o){return l.type="throw",l.arg=t,n.next=r,o&&(n.method="next",n.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],l=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=r.call(a,"catchLoc"),s=r.call(a,"finallyLoc");if(u&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,y):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),y},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),A(n),y}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;A(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:T(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),y}},t}function va(e,t,n,r,o,i,a){try{var l=e[i](a),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,o)}function ka(e){return"string"==typeof e?"false"!==e&&"true"===e:Boolean(e)}var wa={authorized:ka("{authorized}"),cauldronApiUrl:"{cauldronApiUrl}",abonId:"{abonId}",orgId:"{orgId}",userId:"{userId}",isTestServer:ka("{isTestServer}"),renderCachingForIE8:ka("{renderCachingForIE8}"),normalizationOnServer:ka("{normalizationOnServer}"),normativeUrl:"{normativeUrl}",konturDomains:"{konturDomains}",ndsPlusApiUrl:"{ndsPlusApiUrl}"},xa="{keformsUrl}",Sa="{staffServiceUrl}",Ca="{picklistApiUrl}",Pa="{nidusApiUrl}",Ba="{fsprinterApiUrl}",La="{contractorsApiUrl}";function Ea(e,t,n){var r=function(e){return"{".concat(e,"}")},o=e.toString(),i=o.indexOf("//# sourceMappingURL=client.js.map");return i>=0&&(o=o.substring(0,i),o+="\n//# sourceMappingURL=/static/public/scripts/client.js.map"),(o=(o=(o=(o=(o=(o=(o=(o=(o=(o=(o=(o=o.replace(r("keformsUrl"),t)).replace(r("konturDomains"),n.konturDomains)).replace(r("authorized"),n.authorized.toString())).replace(r("normalizationOnServer"),n.normalizationOnServer.toString())).replace(r("renderCachingForIE8"),n.renderCachingForIE8.toString())).replace(r("normativeUrl"),n.normativeUrl)).replace(r("staffServiceUrl"),Sa)).replace(r("picklistApiUrl"),Ca)).replace(r("nidusApiUrl"),Pa)).replace(r("fsprinterApiUrl"),Ba)).replace(r("contractorsApiUrl"),La)).replace(r("isTestServer"),n.isTestServer.toString())).replace(r("ndsPlusApiUrl"),n.ndsPlusApiUrl)}function Aa(e,t,n){return _a.apply(this,arguments)}function _a(){var e;return e=ba().mark((function e(n,o,i){var a,l,u,s,c,f,d;return ba().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=document.createElement("div"),document.body.appendChild(a),r.render(t.createElement(da,null),a),e.next=5,fetch(Ta("/static/public/scripts/client-original.js"),{method:"GET"});case 5:return l=e.sent,e.t0=Ea,e.next=9,l.text();case 9:e.t1=e.sent,e.t2=xa,e.t3=wa,u=(0,e.t0)(e.t1,e.t2,e.t3),(s=document.createElement("script")).type="text/javascript",s.text="try {\n"+u+"\n} catch(e) { window.CF.loadError = e; console.error(window.loadError); }",document.head.appendChild(s),window.CF.start==Aa?r.render(t.createElement(ya,{text:"".concat(null!==(c=window.CF.loadError)&&void 0!==c?c:"")}),a):(f="string"==typeof n?document.querySelector(n):n,d=setInterval((function(){(null==f||(null==f?void 0:f.children.length)>0)&&(clearInterval(d),r.unmountComponentAtNode(a))}),100),window.CF.start(n,o,(function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];null==i||i.apply(void 0,t)})));case 18:case"end":return e.stop()}}),e)})),_a=function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){va(i,r,o,a,l,"next",e)}function l(e){va(i,r,o,a,l,"throw",e)}a(void 0)}))},_a.apply(this,arguments)}function Ta(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",r=null!==(e=n.g.CF.keformsUrl)&&void 0!==e?e:"";return"".concat(r,"/").concat(t).replace(/([^:])\/{2,}/g,"$1/")}window.CF={start:Aa,entryPoint:{},partialRenderingForIE8:ka("{partialRenderingForIE8}"),keformsUrl:"{keformsUrl}",staffServiceUrl:"{staffServiceUrl}",picklistUrl:"{picklistApiUrl}",nidusUrl:"{nidusApiUrl}",fsPrinterUrl:"{fsprinterApiUrl}",contractorsApiUrl:"{contractorsApiUrl}"}}()}();
2
+ !function(){var e={996:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=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(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.isInstanceOf=t.isBrowser=t.setWindow=t.globalObject=void 0,t.globalObject="object"==typeof window&&window||"object"==typeof globalThis&&globalThis||"object"==typeof n.g&&n.g||Function("return this")(),t.setWindow=function(e){return t.globalObject=e},t.isBrowser=function(e){return"undefined"!=typeof window&&e===t.globalObject},t.isInstanceOf=function(e,t){return"function"==typeof t&&e instanceof t},o(n(377),t)},377:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},876:function(e,t,n){"use strict";var r=n(579);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var l=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 l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},658:function(e,t,n){e.exports=n(876)()},579:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},728:function(e){"use strict";var t=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),n=[[{color:"0, 0, 0",class:"ansi-black"},{color:"187, 0, 0",class:"ansi-red"},{color:"0, 187, 0",class:"ansi-green"},{color:"187, 187, 0",class:"ansi-yellow"},{color:"0, 0, 187",class:"ansi-blue"},{color:"187, 0, 187",class:"ansi-magenta"},{color:"0, 187, 187",class:"ansi-cyan"},{color:"255,255,255",class:"ansi-white"}],[{color:"85, 85, 85",class:"ansi-bright-black"},{color:"255, 85, 85",class:"ansi-bright-red"},{color:"0, 255, 0",class:"ansi-bright-green"},{color:"255, 255, 85",class:"ansi-bright-yellow"},{color:"85, 85, 255",class:"ansi-bright-blue"},{color:"255, 85, 255",class:"ansi-bright-magenta"},{color:"85, 255, 255",class:"ansi-bright-cyan"},{color:"255, 255, 255",class:"ansi-bright-white"}]],r=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.fg=this.bg=this.fg_truecolor=this.bg_truecolor=null,this.bright=0}return t(e,null,[{key:"escapeForHtml",value:function(t){return(new e).escapeForHtml(t)}},{key:"linkify",value:function(t){return(new e).linkify(t)}},{key:"ansiToHtml",value:function(t,n){return(new e).ansiToHtml(t,n)}},{key:"ansiToJson",value:function(t,n){return(new e).ansiToJson(t,n)}},{key:"ansiToText",value:function(t){return(new e).ansiToText(t)}}]),t(e,[{key:"setupPalette",value:function(){this.PALETTE_COLORS=[];for(var e=0;e<2;++e)for(var t=0;t<8;++t)this.PALETTE_COLORS.push(n[e][t].color);for(var r=[0,95,135,175,215,255],o=function(e,t,n){return r[e]+", "+r[t]+", "+r[n]},i=0;i<6;++i)for(var a=0;a<6;++a)for(var l=0;l<6;++l)this.PALETTE_COLORS.push(o(i,a,l));for(var u=8,s=0;s<24;++s,u+=10)this.PALETTE_COLORS.push(o(u,u,u))}},{key:"escapeForHtml",value:function(e){return e.replace(/[&<>]/gm,(function(e){return"&"==e?"&amp;":"<"==e?"&lt;":">"==e?"&gt;":""}))}},{key:"linkify",value:function(e){return e.replace(/(https?:\/\/[^\s]+)/gm,(function(e){return'<a href="'+e+'">'+e+"</a>"}))}},{key:"ansiToHtml",value:function(e,t){return this.process(e,t,!0)}},{key:"ansiToJson",value:function(e,t){return(t=t||{}).json=!0,t.clearLine=!1,this.process(e,t,!0)}},{key:"ansiToText",value:function(e){return this.process(e,{},!1)}},{key:"process",value:function(e,t,n){var r=this,o=e.split(/\033\[/),i=o.shift();null==t&&(t={}),t.clearLine=/\r/.test(e);var a=o.map((function(e){return r.processChunk(e,t,n)}));if(t&&t.json){var l=this.processChunkJson("");return l.content=i,l.clearLine=t.clearLine,a.unshift(l),t.remove_empty&&(a=a.filter((function(e){return!e.isEmpty()}))),a}return a.unshift(i),a.join("")}},{key:"processChunkJson",value:function(e,t,r){var o=(t=void 0===t?{}:t).use_classes=void 0!==t.use_classes&&t.use_classes,i=t.key=o?"class":"color",a={content:e,fg:null,bg:null,fg_truecolor:null,bg_truecolor:null,clearLine:t.clearLine,decoration:null,was_processed:!1,isEmpty:function(){return!a.content}},l=e.match(/^([!\x3c-\x3f]*)([\d;]*)([\x20-\x2c]*[\x40-\x7e])([\s\S]*)/m);if(!l)return a;a.content=l[4];var u=l[2].split(";");if(""!==l[1]||"m"!==l[3])return a;if(!r)return a;var s=this;for(s.decoration=null;u.length>0;){var c=u.shift(),f=parseInt(c);if(isNaN(f)||0===f)s.fg=s.bg=s.decoration=null;else if(1===f)s.decoration="bold";else if(2===f)s.decoration="dim";else if(3==f)s.decoration="italic";else if(4==f)s.decoration="underline";else if(5==f)s.decoration="blink";else if(7===f)s.decoration="reverse";else if(8===f)s.decoration="hidden";else if(9===f)s.decoration="strikethrough";else if(39==f)s.fg=null;else if(49==f)s.bg=null;else if(f>=30&&f<38)s.fg=n[0][f%10][i];else if(f>=90&&f<98)s.fg=n[1][f%10][i];else if(f>=40&&f<48)s.bg=n[0][f%10][i];else if(f>=100&&f<108)s.bg=n[1][f%10][i];else if(38===f||48===f){var d=38===f;if(u.length>=1){var p=u.shift();if("5"===p&&u.length>=1){var h=parseInt(u.shift());if(h>=0&&h<=255)if(o){var g=h>=16?"ansi-palette-"+h:n[h>7?1:0][h%8].class;d?s.fg=g:s.bg=g}else this.PALETTE_COLORS||s.setupPalette(),d?s.fg=this.PALETTE_COLORS[h]:s.bg=this.PALETTE_COLORS[h]}else if("2"===p&&u.length>=3){var y=parseInt(u.shift()),m=parseInt(u.shift()),b=parseInt(u.shift());if(y>=0&&y<=255&&m>=0&&m<=255&&b>=0&&b<=255){var v=y+", "+m+", "+b;o?d?(s.fg="ansi-truecolor",s.fg_truecolor=v):(s.bg="ansi-truecolor",s.bg_truecolor=v):d?s.fg=v:s.bg=v}}}}}return null===s.fg&&null===s.bg&&null===s.decoration||(a.fg=s.fg,a.bg=s.bg,a.fg_truecolor=s.fg_truecolor,a.bg_truecolor=s.bg_truecolor,a.decoration=s.decoration,a.was_processed=!0),a}},{key:"processChunk",value:function(e,t,n){var r=this;t=t||{};var o=this.processChunkJson(e,t,n);if(t.json)return o;if(o.isEmpty())return"";if(!o.was_processed)return o.content;var i=t.use_classes,a=[],l=[],u={},s=function(e){var t=[],n=void 0;for(n in e)e.hasOwnProperty(n)&&t.push("data-"+n+'="'+r.escapeForHtml(e[n])+'"');return t.length>0?" "+t.join(" "):""};return o.fg&&(i?(l.push(o.fg+"-fg"),null!==o.fg_truecolor&&(u["ansi-truecolor-fg"]=o.fg_truecolor,o.fg_truecolor=null)):a.push("color:rgb("+o.fg+")")),o.bg&&(i?(l.push(o.bg+"-bg"),null!==o.bg_truecolor&&(u["ansi-truecolor-bg"]=o.bg_truecolor,o.bg_truecolor=null)):a.push("background-color:rgb("+o.bg+")")),o.decoration&&(i?l.push("ansi-"+o.decoration):"bold"===o.decoration?a.push("font-weight:bold"):"dim"===o.decoration?a.push("opacity:0.5"):"italic"===o.decoration?a.push("font-style:italic"):"reverse"===o.decoration?a.push("filter:invert(100%)"):"hidden"===o.decoration?a.push("visibility:hidden"):"strikethrough"===o.decoration?a.push("text-decoration:line-through"):a.push("text-decoration:"+o.decoration)),i?'<span class="'+l.join(" ")+'"'+s(u)+">"+o.content+"</span>":'<span style="'+a.join(";")+'"'+s(u)+">"+o.content+"</span>"}}]),e}();e.exports=r},417:function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t};Object.defineProperty(t,"__esModule",{value:!0});var a=o(n(728)),l=n(3),u=i(n(540));function s(e,t,n,o){var i,a,l=t?null:function(e){var t={};return e.bg&&(t.backgroundColor="rgb(".concat(e.bg,")")),e.fg&&(t.color="rgb(".concat(e.fg,")")),t}(n),s=t?function(e){var t="";return e.bg&&(t+="".concat(e.bg,"-bg ")),e.fg&&(t+="".concat(e.fg,"-fg ")),e.decoration&&(t+="ansi-".concat(e.decoration," ")),""===t?null:t=t.substring(0,t.length-1)}(n):null;if(!e)return u.createElement("span",{style:l,key:o,className:s},n.content);for(var c,f=[],d=/(\s|^)(https?:\/\/(?:www\.|(?!www))[^\s.]+\.[^\s]{2,}|www\.[^\s]+\.[^\s]{2,})/g,p=0;null!==(c=d.exec(n.content));){var h=(a=3,function(e){if(Array.isArray(e))return e}(i=c)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,l=[],u=!0,s=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;u=!1}else for(;!(u=(r=i.call(n)).done)&&(l.push(r.value),l.length!==t);u=!0);}catch(e){s=!0,o=e}finally{try{if(!u&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(s)throw o}}return l}}(i,a)||function(e,t){if(e){if("string"==typeof e)return r(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}(i,a)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),g=h[1],y=h[2],m=c.index+g.length;m>p&&f.push(n.content.substring(p,m));var b=y.startsWith("www.")?"http://".concat(y):y;f.push(u.createElement("a",{key:p,href:b,target:"_blank"},"".concat(y))),p=d.lastIndex}return p<n.content.length&&f.push(n.content.substring(p)),u.createElement("span",{style:l,key:o,className:s},f)}t.default=function(e){var t=e.className,n=e.useClasses,r=e.children,o=e.linkify;return u.createElement("code",{className:t},function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e=l.escapeCarriageReturn(function(e){var t=e;do{t=(e=t).replace(/[^\n]\x08/gm,"")}while(t.length<e.length);return e}(e)),a.default.ansiToJson(e,{json:!0,remove_empty:!0,use_classes:t})}(null!=r?r:"",null!=n&&n).map(s.bind(null,null!=o&&o,null!=n&&n)))}},671:function(e,t,n){"use strict";var r=n(354),o=n.n(r),i=n(314),a=n.n(i)()(o());a.push([e.id,"body {\n margin: 0;\n}\n.FormBuildingError-root-TV0 {\n font-family: Segoe UI, Arial, sans-serif;\n font-size: 14px;\n color: #333333;\n line-height: 20px;\n height: 100vh;\n width: 100vw;\n margin: 24px;\n padding: 0;\n box-sizing: border-box;\n}\n.FormBuildingError-error-rSH {\n width: 90%;\n box-sizing: border-box;\n padding: 12px;\n border: 1px solid #aaa;\n font-family: Consolas, monospace;\n font-size: 12px;\n}\n","",{version:3,sources:["webpack://./src/Components/FormBuildingError/FormBuildingError.less"],names:[],mappings:"AAAA;EACI,SAAA;AACJ;AAEA;EACI,wCAAA;EAIA,eAAA;EACA,cAAA;EACA,iBAAA;EAEA,aAAA;EACA,YAAA;EACA,YAAA;EACA,UAAA;EACA,sBAAA;AAJJ;AAOA;EACI,UAAA;EACA,sBAAA;EACA,aAAA;EACA,sBAAA;EACA,gCAAA;EACA,eAAA;AALJ",sourcesContent:["body {\n margin: 0;\n}\n\n.root {\n font-family:\n Segoe UI,\n Arial,\n sans-serif;\n font-size: 14px;\n color: #333333;\n line-height: 20px;\n\n height: 100vh;\n width: 100vw;\n margin: 24px;\n padding: 0;\n box-sizing: border-box;\n}\n\n.error {\n width: 90%;\n box-sizing: border-box;\n padding: 12px;\n border: 1px solid #aaa;\n font-family: Consolas, monospace;\n font-size: 12px;\n}\n"],sourceRoot:""}]),a.locals={root:"FormBuildingError-root-TV0",error:"FormBuildingError-error-rSH"},t.A=a},943:function(e,t,n){"use strict";var r=n(354),o=n.n(r),i=n(314),a=n.n(i)()(o());a.push([e.id,"body {\n margin: 0;\n}\n.FormBuildingProgress-root-WX4 {\n font-family: Segoe UI, Arial, sans-serif;\n font-size: 14px;\n color: #333333;\n line-height: 20px;\n height: 100vh;\n width: 100vw;\n margin: 0;\n padding: 0;\n box-sizing: border-box;\n}\n.FormBuildingProgress-spinner-container-FRG {\n margin: 0 auto;\n width: 200px;\n padding-top: 20vh;\n}\n.FormBuildingProgress-logs-container-SmM {\n width: 90%;\n overflow: scroll;\n margin: 20px auto 0 auto;\n height: 60vh;\n border: 1px solid #aaa;\n padding: 12px;\n}\n.FormBuildingProgress-logs-container-SmM pre {\n font-family: Consolas, monospace;\n font-size: 12px;\n}\n","",{version:3,sources:["webpack://./src/Components/FormBuildingProgress/FormBuildingProgress.less"],names:[],mappings:"AAAA;EACI,SAAA;AACJ;AAEA;EACI,wCAAA;EAIA,eAAA;EACA,cAAA;EACA,iBAAA;EAEA,aAAA;EACA,YAAA;EACA,SAAA;EACA,UAAA;EACA,sBAAA;AAJJ;AAOA;EACI,cAAA;EACA,YAAA;EACA,iBAAA;AALJ;AAQA;EACI,UAAA;EACA,gBAAA;EACA,wBAAA;EACA,YAAA;EACA,sBAAA;EACA,aAAA;AANJ;AAAA;EASQ,gCAAA;EACA,eAAA;AANR",sourcesContent:["body {\n margin: 0;\n}\n\n.root {\n font-family:\n Segoe UI,\n Arial,\n sans-serif;\n font-size: 14px;\n color: #333333;\n line-height: 20px;\n\n height: 100vh;\n width: 100vw;\n margin: 0;\n padding: 0;\n box-sizing: border-box;\n}\n\n.spinner-container {\n margin: 0 auto;\n width: 200px;\n padding-top: 20vh;\n}\n\n.logs-container {\n width: 90%;\n overflow: scroll;\n margin: 20px auto 0 auto;\n height: 60vh;\n border: 1px solid #aaa;\n padding: 12px;\n\n pre {\n font-family: Consolas, monospace;\n font-size: 12px;\n }\n}\n"],sourceRoot:""}]),a.locals={root:"FormBuildingProgress-root-WX4","spinner-container":"FormBuildingProgress-spinner-container-FRG","logs-container":"FormBuildingProgress-logs-container-SmM"},t.A=a},919:function(e,t,n){"use strict";var r=n(354),o=n.n(r),i=n(314),a=n.n(i)()(o());a.push([e.id,'.RandomTipsAndTricks-container-Ogr {\n display: flex;\n margin: 24px auto;\n width: 600px;\n padding: 20px;\n border: 10px solid transparent;\n border-image: 10 repeating-linear-gradient(45deg, #a7cecc, #a7cecc 10px, transparent 10px, transparent 20px, #f8463f 20px, #f8463f 30px, transparent 30px, transparent 40px);\n}\n.RandomTipsAndTricks-text-block-CEC {\n font: italic 1.6em "Fira Sans", serif;\n margin: auto;\n width: 400px;\n}\n',"",{version:3,sources:["webpack://./src/Components/RandomTipsAndTricks/RandomTipsAndTricks.less"],names:[],mappings:"AAAA;EACI,aAAA;EACA,iBAAA;EACA,YAAA;EACA,aAAA;EACA,8BAAA;EACA,4KAAA;AACJ;AAaA;EACI,qCAAA;EAGA,YAAA;EACA,YAAA;AAbJ",sourcesContent:['.container {\n display: flex;\n margin: 24px auto;\n width: 600px;\n padding: 20px;\n border: 10px solid transparent;\n border-image: 10\n repeating-linear-gradient(\n 45deg,\n #a7cecc,\n #a7cecc 10px,\n transparent 10px,\n transparent 20px,\n #f8463f 20px,\n #f8463f 30px,\n transparent 30px,\n transparent 40px\n );\n}\n\n.text-block {\n font:\n italic 1.6em "Fira Sans",\n serif;\n margin: auto;\n width: 400px;\n}\n'],sourceRoot:""}]),a.locals={container:"RandomTipsAndTricks-container-Ogr","text-block":"RandomTipsAndTricks-text-block-CEC"},t.A=a},314:function(e){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",r=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,r,o,i){"string"==typeof e&&(e=[[null,e,void 0]]);var a={};if(r)for(var l=0;l<this.length;l++){var u=this[l][0];null!=u&&(a[u]=!0)}for(var s=0;s<e.length;s++){var c=[].concat(e[s]);r&&a[c[0]]||(void 0!==i&&(void 0===c[5]||(c[1]="@layer".concat(c[5].length>0?" ".concat(c[5]):""," {").concat(c[1],"}")),c[5]=i),n&&(c[2]?(c[1]="@media ".concat(c[2]," {").concat(c[1],"}"),c[2]=n):c[2]=n),o&&(c[4]?(c[1]="@supports (".concat(c[4],") {").concat(c[1],"}"),c[4]=o):c[4]="".concat(o)),t.push(c))}},t}},354:function(e){"use strict";e.exports=function(e){var t=e[1],n=e[3];if(!n)return t;if("function"==typeof btoa){var r=btoa(unescape(encodeURIComponent(JSON.stringify(n)))),o="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(r),i="/*# ".concat(o," */"),a=n.sources.map((function(e){return"/*# sourceURL=".concat(n.sourceRoot||"").concat(e," */")}));return[t].concat(a).concat([i]).join("\n")}return[t].join("\n")}},3:function(e){function t(e){if(!e)return"";if(!/\r/.test(e))return e;for(e=e.replace(/\r+\n/gm,"\n");/\r[^$]/.test(e);){var t=/^(.*)\r+/m.exec(e)[1],n=/\r+(.*)$/m.exec(e)[1];n+=t.slice(n.length,t.length),e=e.replace(/\r+.*$/m,"\r").replace(/^.*\r/m,n)}return e}function n(e){for(var t=0,n=0;n<e.length;n++)e[t].length<=e[n].length&&(t=n);return t}function r(e){if(!/\r/.test(e))return e;for(var t=e.split("\r"),r=[];t.length>0;){var o=n(t);r.push(t[o]),t=t.slice(o+1)}return r.join("\r")}e.exports=t,e.exports.escapeCarriageReturn=t,e.exports.escapeCarriageReturnSafe=function(e){if(!e)return"";if(!/\r/.test(e))return e;if(!/\n/.test(e))return r(e);var n=(e=e.replace(/\r+\n/gm,"\n")).lastIndexOf("\n");return t(e.slice(0,n))+"\n"+r(e.slice(n+1))}},847:function(e){"use strict";var t=Object.prototype.hasOwnProperty,n="~";function r(){}function o(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function i(e,t,r,i,a){if("function"!=typeof r)throw new TypeError("The listener must be a function");var l=new o(r,i||e,a),u=n?n+t:t;return e._events[u]?e._events[u].fn?e._events[u]=[e._events[u],l]:e._events[u].push(l):(e._events[u]=l,e._eventsCount++),e}function a(e,t){0==--e._eventsCount?e._events=new r:delete e._events[t]}function l(){this._events=new r,this._eventsCount=0}Object.create&&(r.prototype=Object.create(null),(new r).__proto__||(n=!1)),l.prototype.eventNames=function(){var e,r,o=[];if(0===this._eventsCount)return o;for(r in e=this._events)t.call(e,r)&&o.push(n?r.slice(1):r);return Object.getOwnPropertySymbols?o.concat(Object.getOwnPropertySymbols(e)):o},l.prototype.listeners=function(e){var t=n?n+e:e,r=this._events[t];if(!r)return[];if(r.fn)return[r.fn];for(var o=0,i=r.length,a=new Array(i);o<i;o++)a[o]=r[o].fn;return a},l.prototype.listenerCount=function(e){var t=n?n+e:e,r=this._events[t];return r?r.fn?1:r.length:0},l.prototype.emit=function(e,t,r,o,i,a){var l=n?n+e:e;if(!this._events[l])return!1;var u,s,c=this._events[l],f=arguments.length;if(c.fn){switch(c.once&&this.removeListener(e,c.fn,void 0,!0),f){case 1:return c.fn.call(c.context),!0;case 2:return c.fn.call(c.context,t),!0;case 3:return c.fn.call(c.context,t,r),!0;case 4:return c.fn.call(c.context,t,r,o),!0;case 5:return c.fn.call(c.context,t,r,o,i),!0;case 6:return c.fn.call(c.context,t,r,o,i,a),!0}for(s=1,u=new Array(f-1);s<f;s++)u[s-1]=arguments[s];c.fn.apply(c.context,u)}else{var d,p=c.length;for(s=0;s<p;s++)switch(c[s].once&&this.removeListener(e,c[s].fn,void 0,!0),f){case 1:c[s].fn.call(c[s].context);break;case 2:c[s].fn.call(c[s].context,t);break;case 3:c[s].fn.call(c[s].context,t,r);break;case 4:c[s].fn.call(c[s].context,t,r,o);break;default:if(!u)for(d=1,u=new Array(f-1);d<f;d++)u[d-1]=arguments[d];c[s].fn.apply(c[s].context,u)}}return!0},l.prototype.on=function(e,t,n){return i(this,e,t,n,!1)},l.prototype.once=function(e,t,n){return i(this,e,t,n,!0)},l.prototype.removeListener=function(e,t,r,o){var i=n?n+e:e;if(!this._events[i])return this;if(!t)return a(this,i),this;var l=this._events[i];if(l.fn)l.fn!==t||o&&!l.once||r&&l.context!==r||a(this,i);else{for(var u=0,s=[],c=l.length;u<c;u++)(l[u].fn!==t||o&&!l[u].once||r&&l[u].context!==r)&&s.push(l[u]);s.length?this._events[i]=1===s.length?s[0]:s:a(this,i)}return this},l.prototype.removeAllListeners=function(e){var t;return e?(t=n?n+e:e,this._events[t]&&a(this,t)):(this._events=new r,this._eventsCount=0),this},l.prototype.off=l.prototype.removeListener,l.prototype.addListener=l.prototype.on,l.prefixed=n,l.EventEmitter=l,e.exports=l},228:function(e){"use strict";var t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,o){for(var i,a,l=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),u=1;u<arguments.length;u++){for(var s in i=Object(arguments[u]))n.call(i,s)&&(l[s]=i[s]);if(t){a=t(i);for(var c=0;c<a.length;c++)r.call(i,a[c])&&(l[a[c]]=i[a[c]])}}return l}},606:function(e){var t,n,r=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function a(e){if(t===setTimeout)return setTimeout(e,0);if((t===o||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:o}catch(e){t=o}try{n="function"==typeof clearTimeout?clearTimeout:i}catch(e){n=i}}();var l,u=[],s=!1,c=-1;function f(){s&&l&&(s=!1,l.length?u=l.concat(u):c=-1,u.length&&d())}function d(){if(!s){var e=a(f);s=!0;for(var t=u.length;t;){for(l=u,u=[];++c<t;)l&&l[c].run();c=-1,t=u.length}l=null,s=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===i||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{return n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function p(e,t){this.fun=e,this.array=t}function h(){}r.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];u.push(new p(e,t)),1!==u.length||s||a(d)},p.prototype.run=function(){this.fun.apply(null,this.array)},r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={},r.on=h,r.addListener=h,r.once=h,r.off=h,r.removeListener=h,r.removeAllListeners=h,r.emit=h,r.prependListener=h,r.prependOnceListener=h,r.listeners=function(e){return[]},r.binding=function(e){throw new Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(e){throw new Error("process.chdir is not supported")},r.umask=function(){return 0}},551:function(e,t,n){"use strict";var r=n(540),o=n(228),i=n(982);function a(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!r)throw Error(a(227));var l=new Set,u={};function s(e,t){c(e,t),c(e+"Capture",t)}function c(e,t){for(u[e]=t,e=0;e<t.length;e++)l.add(t[e])}var f=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),d=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,p=Object.prototype.hasOwnProperty,h={},g={};function y(e,t,n,r,o,i,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=a}var m={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){m[e]=new y(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];m[t]=new y(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){m[e]=new y(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){m[e]=new y(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){m[e]=new y(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){m[e]=new y(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){m[e]=new y(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){m[e]=new y(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){m[e]=new y(e,5,!1,e.toLowerCase(),null,!1,!1)}));var b=/[\-:]([a-z])/g;function v(e){return e[1].toUpperCase()}function k(e,t,n,r){var o=m.hasOwnProperty(t)?m[t]:null;(null!==o?0===o.type:!r&&2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1]))||(function(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,o,r)&&(n=null),r||null===o?function(e){return!!p.call(g,e)||!p.call(h,e)&&(d.test(e)?g[e]=!0:(h[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=null===n?3!==o.type&&"":n:(t=o.attributeName,r=o.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(o=o.type)||4===o&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(b,v);m[t]=new y(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(b,v);m[t]=new y(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(b,v);m[t]=new y(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){m[e]=new y(e,1,!1,e.toLowerCase(),null,!1,!1)})),m.xlinkHref=new y("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){m[e]=new y(e,1,!1,e.toLowerCase(),null,!0,!0)}));var w=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,x=60103,S=60106,C=60107,P=60108,B=60114,L=60109,E=60110,A=60112,_=60113,T=60120,O=60115,I=60116,M=60121,H=60128,F=60129,D=60130,R=60131;if("function"==typeof Symbol&&Symbol.for){var z=Symbol.for;x=z("react.element"),S=z("react.portal"),C=z("react.fragment"),P=z("react.strict_mode"),B=z("react.profiler"),L=z("react.provider"),E=z("react.context"),A=z("react.forward_ref"),_=z("react.suspense"),T=z("react.suspense_list"),O=z("react.memo"),I=z("react.lazy"),M=z("react.block"),z("react.scope"),H=z("react.opaque.id"),F=z("react.debug_trace_mode"),D=z("react.offscreen"),R=z("react.legacy_hidden")}var N,j="function"==typeof Symbol&&Symbol.iterator;function U(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=j&&e[j]||e["@@iterator"])?e:null}function W(e){if(void 0===N)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);N=t&&t[1]||""}return"\n"+N+e}var Y=!1;function X(e,t){if(!e||Y)return"";Y=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(e){var r=e}Reflect.construct(e,[],t)}else{try{t.call()}catch(e){r=e}e.call(t.prototype)}else{try{throw Error()}catch(e){r=e}e()}}catch(e){if(e&&r&&"string"==typeof e.stack){for(var o=e.stack.split("\n"),i=r.stack.split("\n"),a=o.length-1,l=i.length-1;1<=a&&0<=l&&o[a]!==i[l];)l--;for(;1<=a&&0<=l;a--,l--)if(o[a]!==i[l]){if(1!==a||1!==l)do{if(a--,0>--l||o[a]!==i[l])return"\n"+o[a].replace(" at new "," at ")}while(1<=a&&0<=l);break}}}finally{Y=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?W(e):""}function $(e){switch(e.tag){case 5:return W(e.type);case 16:return W("Lazy");case 13:return W("Suspense");case 19:return W("SuspenseList");case 0:case 2:case 15:return X(e.type,!1);case 11:return X(e.type.render,!1);case 22:return X(e.type._render,!1);case 1:return X(e.type,!0);default:return""}}function G(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case C:return"Fragment";case S:return"Portal";case B:return"Profiler";case P:return"StrictMode";case _:return"Suspense";case T:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case E:return(e.displayName||"Context")+".Consumer";case L:return(e._context.displayName||"Context")+".Provider";case A:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case O:return G(e.type);case M:return G(e._render);case I:t=e._payload,e=e._init;try{return G(e(t))}catch(e){}}return null}function V(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function q(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function K(e){e._valueTracker||(e._valueTracker=function(e){var t=q(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){r=""+e,i.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function Q(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=q(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function J(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function Z(e,t){var n=t.checked;return o({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function ee(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=V(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function te(e,t){null!=(t=t.checked)&&k(e,"checked",t,!1)}function ne(e,t){te(e,t);var n=V(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?oe(e,t.type,n):t.hasOwnProperty("defaultValue")&&oe(e,t.type,V(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function re(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function oe(e,t,n){"number"===t&&J(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function ie(e,t){return e=o({children:void 0},t),(t=function(e){var t="";return r.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}(t.children))&&(e.children=t),e}function ae(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+V(n),t=null,o=0;o<e.length;o++){if(e[o].value===n)return e[o].selected=!0,void(r&&(e[o].defaultSelected=!0));null!==t||e[o].disabled||(t=e[o])}null!==t&&(t.selected=!0)}}function le(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(a(91));return o({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function ue(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(a(92));if(Array.isArray(n)){if(!(1>=n.length))throw Error(a(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:V(n)}}function se(e,t){var n=V(t.value),r=V(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function ce(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}var fe={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function de(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function pe(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?de(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var he,ge,ye=(ge=function(e,t){if(e.namespaceURI!==fe.svg||"innerHTML"in e)e.innerHTML=t;else{for((he=he||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=he.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return ge(e,t)}))}:ge);function me(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var be={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},ve=["Webkit","ms","Moz","O"];function ke(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||be.hasOwnProperty(e)&&be[e]?(""+t).trim():t+"px"}function we(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=ke(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}Object.keys(be).forEach((function(e){ve.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),be[t]=be[e]}))}));var xe=o({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Se(e,t){if(t){if(xe[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(a(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(a(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(a(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(a(62))}}function Ce(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function Pe(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var Be=null,Le=null,Ee=null;function Ae(e){if(e=no(e)){if("function"!=typeof Be)throw Error(a(280));var t=e.stateNode;t&&(t=oo(t),Be(e.stateNode,e.type,t))}}function _e(e){Le?Ee?Ee.push(e):Ee=[e]:Le=e}function Te(){if(Le){var e=Le,t=Ee;if(Ee=Le=null,Ae(e),t)for(e=0;e<t.length;e++)Ae(t[e])}}function Oe(e,t){return e(t)}function Ie(e,t,n,r,o){return e(t,n,r,o)}function Me(){}var He=Oe,Fe=!1,De=!1;function Re(){null===Le&&null===Ee||(Me(),Te())}function ze(e,t){var n=e.stateNode;if(null===n)return null;var r=oo(n);if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(a(231,t,typeof n));return n}var Ne=!1;if(f)try{var je={};Object.defineProperty(je,"passive",{get:function(){Ne=!0}}),window.addEventListener("test",je,je),window.removeEventListener("test",je,je)}catch(ge){Ne=!1}function Ue(e,t,n,r,o,i,a,l,u){var s=Array.prototype.slice.call(arguments,3);try{t.apply(n,s)}catch(e){this.onError(e)}}var We=!1,Ye=null,Xe=!1,$e=null,Ge={onError:function(e){We=!0,Ye=e}};function Ve(e,t,n,r,o,i,a,l,u){We=!1,Ye=null,Ue.apply(Ge,arguments)}function qe(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{!!(1026&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function Ke(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&null!==(e=e.alternate)&&(t=e.memoizedState),null!==t)return t.dehydrated}return null}function Qe(e){if(qe(e)!==e)throw Error(a(188))}function Je(e){if(e=function(e){var t=e.alternate;if(!t){if(null===(t=qe(e)))throw Error(a(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(null===o)break;var i=o.alternate;if(null===i){if(null!==(r=o.return)){n=r;continue}break}if(o.child===i.child){for(i=o.child;i;){if(i===n)return Qe(o),e;if(i===r)return Qe(o),t;i=i.sibling}throw Error(a(188))}if(n.return!==r.return)n=o,r=i;else{for(var l=!1,u=o.child;u;){if(u===n){l=!0,n=o,r=i;break}if(u===r){l=!0,r=o,n=i;break}u=u.sibling}if(!l){for(u=i.child;u;){if(u===n){l=!0,n=i,r=o;break}if(u===r){l=!0,r=i,n=o;break}u=u.sibling}if(!l)throw Error(a(189))}}if(n.alternate!==r)throw Error(a(190))}if(3!==n.tag)throw Error(a(188));return n.stateNode.current===n?e:t}(e),!e)return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}function Ze(e,t){for(var n=e.alternate;null!==t;){if(t===e||t===n)return!0;t=t.return}return!1}var et,tt,nt,rt,ot=!1,it=[],at=null,lt=null,ut=null,st=new Map,ct=new Map,ft=[],dt="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function pt(e,t,n,r,o){return{blockedOn:e,domEventName:t,eventSystemFlags:16|n,nativeEvent:o,targetContainers:[r]}}function ht(e,t){switch(e){case"focusin":case"focusout":at=null;break;case"dragenter":case"dragleave":lt=null;break;case"mouseover":case"mouseout":ut=null;break;case"pointerover":case"pointerout":st.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":ct.delete(t.pointerId)}}function gt(e,t,n,r,o,i){return null===e||e.nativeEvent!==i?(e=pt(t,n,r,o,i),null!==t&&null!==(t=no(t))&&tt(t),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==o&&-1===t.indexOf(o)&&t.push(o),e)}function yt(e){var t=to(e.target);if(null!==t){var n=qe(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=Ke(n)))return e.blockedOn=t,void rt(e.lanePriority,(function(){i.unstable_runWithPriority(e.priority,(function(){nt(n)}))}))}else if(3===t&&n.stateNode.hydrate)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function mt(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Jt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=no(n))&&tt(t),e.blockedOn=n,!1;t.shift()}return!0}function bt(e,t,n){mt(e)&&n.delete(t)}function vt(){for(ot=!1;0<it.length;){var e=it[0];if(null!==e.blockedOn){null!==(e=no(e.blockedOn))&&et(e);break}for(var t=e.targetContainers;0<t.length;){var n=Jt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n){e.blockedOn=n;break}t.shift()}null===e.blockedOn&&it.shift()}null!==at&&mt(at)&&(at=null),null!==lt&&mt(lt)&&(lt=null),null!==ut&&mt(ut)&&(ut=null),st.forEach(bt),ct.forEach(bt)}function kt(e,t){e.blockedOn===t&&(e.blockedOn=null,ot||(ot=!0,i.unstable_scheduleCallback(i.unstable_NormalPriority,vt)))}function wt(e){function t(t){return kt(t,e)}if(0<it.length){kt(it[0],e);for(var n=1;n<it.length;n++){var r=it[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==at&&kt(at,e),null!==lt&&kt(lt,e),null!==ut&&kt(ut,e),st.forEach(t),ct.forEach(t),n=0;n<ft.length;n++)(r=ft[n]).blockedOn===e&&(r.blockedOn=null);for(;0<ft.length&&null===(n=ft[0]).blockedOn;)yt(n),null===n.blockedOn&&ft.shift()}function xt(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var St={animationend:xt("Animation","AnimationEnd"),animationiteration:xt("Animation","AnimationIteration"),animationstart:xt("Animation","AnimationStart"),transitionend:xt("Transition","TransitionEnd")},Ct={},Pt={};function Bt(e){if(Ct[e])return Ct[e];if(!St[e])return e;var t,n=St[e];for(t in n)if(n.hasOwnProperty(t)&&t in Pt)return Ct[e]=n[t];return e}f&&(Pt=document.createElement("div").style,"AnimationEvent"in window||(delete St.animationend.animation,delete St.animationiteration.animation,delete St.animationstart.animation),"TransitionEvent"in window||delete St.transitionend.transition);var Lt=Bt("animationend"),Et=Bt("animationiteration"),At=Bt("animationstart"),_t=Bt("transitionend"),Tt=new Map,Ot=new Map,It=["abort","abort",Lt,"animationEnd",Et,"animationIteration",At,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",_t,"transitionEnd","waiting","waiting"];function Mt(e,t){for(var n=0;n<e.length;n+=2){var r=e[n],o=e[n+1];o="on"+(o[0].toUpperCase()+o.slice(1)),Ot.set(r,t),Tt.set(r,o),s(o,[r])}}(0,i.unstable_now)();var Ht=8;function Ft(e){if(1&e)return Ht=15,1;if(2&e)return Ht=14,2;if(4&e)return Ht=13,4;var t=24&e;return 0!==t?(Ht=12,t):32&e?(Ht=11,32):0!=(t=192&e)?(Ht=10,t):256&e?(Ht=9,256):0!=(t=3584&e)?(Ht=8,t):4096&e?(Ht=7,4096):0!=(t=4186112&e)?(Ht=6,t):0!=(t=62914560&e)?(Ht=5,t):67108864&e?(Ht=4,67108864):134217728&e?(Ht=3,134217728):0!=(t=805306368&e)?(Ht=2,t):1073741824&e?(Ht=1,1073741824):(Ht=8,e)}function Dt(e,t){var n=e.pendingLanes;if(0===n)return Ht=0;var r=0,o=0,i=e.expiredLanes,a=e.suspendedLanes,l=e.pingedLanes;if(0!==i)r=i,o=Ht=15;else if(0!=(i=134217727&n)){var u=i&~a;0!==u?(r=Ft(u),o=Ht):0!=(l&=i)&&(r=Ft(l),o=Ht)}else 0!=(i=n&~a)?(r=Ft(i),o=Ht):0!==l&&(r=Ft(l),o=Ht);if(0===r)return 0;if(r=n&((0>(r=31-Wt(r))?0:1<<r)<<1)-1,0!==t&&t!==r&&!(t&a)){if(Ft(t),o<=Ht)return t;Ht=o}if(0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)o=1<<(n=31-Wt(t)),r|=e[n],t&=~o;return r}function Rt(e){return 0!=(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function zt(e,t){switch(e){case 15:return 1;case 14:return 2;case 12:return 0===(e=Nt(24&~t))?zt(10,t):e;case 10:return 0===(e=Nt(192&~t))?zt(8,t):e;case 8:return 0===(e=Nt(3584&~t))&&0===(e=Nt(4186112&~t))&&(e=512),e;case 2:return 0===(t=Nt(805306368&~t))&&(t=268435456),t}throw Error(a(358,e))}function Nt(e){return e&-e}function jt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Ut(e,t,n){e.pendingLanes|=t;var r=t-1;e.suspendedLanes&=r,e.pingedLanes&=r,(e=e.eventTimes)[t=31-Wt(t)]=n}var Wt=Math.clz32?Math.clz32:function(e){return 0===e?32:31-(Yt(e)/Xt|0)|0},Yt=Math.log,Xt=Math.LN2,$t=i.unstable_UserBlockingPriority,Gt=i.unstable_runWithPriority,Vt=!0;function qt(e,t,n,r){Fe||Me();var o=Qt,i=Fe;Fe=!0;try{Ie(o,e,t,n,r)}finally{(Fe=i)||Re()}}function Kt(e,t,n,r){Gt($t,Qt.bind(null,e,t,n,r))}function Qt(e,t,n,r){var o;if(Vt)if((o=!(4&t))&&0<it.length&&-1<dt.indexOf(e))e=pt(null,e,t,n,r),it.push(e);else{var i=Jt(e,t,n,r);if(null===i)o&&ht(e,r);else{if(o){if(-1<dt.indexOf(e))return e=pt(i,e,t,n,r),void it.push(e);if(function(e,t,n,r,o){switch(t){case"focusin":return at=gt(at,e,t,n,r,o),!0;case"dragenter":return lt=gt(lt,e,t,n,r,o),!0;case"mouseover":return ut=gt(ut,e,t,n,r,o),!0;case"pointerover":var i=o.pointerId;return st.set(i,gt(st.get(i)||null,e,t,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,ct.set(i,gt(ct.get(i)||null,e,t,n,r,o)),!0}return!1}(i,e,t,n,r))return;ht(e,r)}Mr(e,t,r,null,n)}}}function Jt(e,t,n,r){var o=Pe(r);if(null!==(o=to(o))){var i=qe(o);if(null===i)o=null;else{var a=i.tag;if(13===a){if(null!==(o=Ke(i)))return o;o=null}else if(3===a){if(i.stateNode.hydrate)return 3===i.tag?i.stateNode.containerInfo:null;o=null}else i!==o&&(o=null)}}return Mr(e,t,r,o,n),null}var Zt=null,en=null,tn=null;function nn(){if(tn)return tn;var e,t,n=en,r=n.length,o="value"in Zt?Zt.value:Zt.textContent,i=o.length;for(e=0;e<r&&n[e]===o[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===o[i-t];t++);return tn=o.slice(e,1<t?1-t:void 0)}function rn(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function on(){return!0}function an(){return!1}function ln(e){function t(t,n,r,o,i){for(var a in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=o,this.target=i,this.currentTarget=null,e)e.hasOwnProperty(a)&&(t=e[a],this[a]=t?t(o):o[a]);return this.isDefaultPrevented=(null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue)?on:an,this.isPropagationStopped=an,this}return o(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=on)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=on)},persist:function(){},isPersistent:on}),t}var un,sn,cn,fn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},dn=ln(fn),pn=o({},fn,{view:0,detail:0}),hn=ln(pn),gn=o({},pn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Ln,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==cn&&(cn&&"mousemove"===e.type?(un=e.screenX-cn.screenX,sn=e.screenY-cn.screenY):sn=un=0,cn=e),un)},movementY:function(e){return"movementY"in e?e.movementY:sn}}),yn=ln(gn),mn=ln(o({},gn,{dataTransfer:0})),bn=ln(o({},pn,{relatedTarget:0})),vn=ln(o({},fn,{animationName:0,elapsedTime:0,pseudoElement:0})),kn=o({},fn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),wn=ln(kn),xn=ln(o({},fn,{data:0})),Sn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Cn={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Pn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Bn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Pn[e])&&!!t[e]}function Ln(){return Bn}var En=o({},pn,{key:function(e){if(e.key){var t=Sn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=rn(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?Cn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Ln,charCode:function(e){return"keypress"===e.type?rn(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?rn(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),An=ln(En),_n=ln(o({},gn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Tn=ln(o({},pn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Ln})),On=ln(o({},fn,{propertyName:0,elapsedTime:0,pseudoElement:0})),In=o({},gn,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Mn=ln(In),Hn=[9,13,27,32],Fn=f&&"CompositionEvent"in window,Dn=null;f&&"documentMode"in document&&(Dn=document.documentMode);var Rn=f&&"TextEvent"in window&&!Dn,zn=f&&(!Fn||Dn&&8<Dn&&11>=Dn),Nn=String.fromCharCode(32),jn=!1;function Un(e,t){switch(e){case"keyup":return-1!==Hn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Wn(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Yn=!1,Xn={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function $n(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Xn[e.type]:"textarea"===t}function Gn(e,t,n,r){_e(r),0<(t=Fr(t,"onChange")).length&&(n=new dn("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Vn=null,qn=null;function Kn(e){Er(e,0)}function Qn(e){if(Q(ro(e)))return e}function Jn(e,t){if("change"===e)return t}var Zn=!1;if(f){var er;if(f){var tr="oninput"in document;if(!tr){var nr=document.createElement("div");nr.setAttribute("oninput","return;"),tr="function"==typeof nr.oninput}er=tr}else er=!1;Zn=er&&(!document.documentMode||9<document.documentMode)}function rr(){Vn&&(Vn.detachEvent("onpropertychange",or),qn=Vn=null)}function or(e){if("value"===e.propertyName&&Qn(qn)){var t=[];if(Gn(t,qn,e,Pe(e)),e=Kn,Fe)e(t);else{Fe=!0;try{Oe(e,t)}finally{Fe=!1,Re()}}}}function ir(e,t,n){"focusin"===e?(rr(),qn=n,(Vn=t).attachEvent("onpropertychange",or)):"focusout"===e&&rr()}function ar(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Qn(qn)}function lr(e,t){if("click"===e)return Qn(t)}function ur(e,t){if("input"===e||"change"===e)return Qn(t)}var sr="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},cr=Object.prototype.hasOwnProperty;function fr(e,t){if(sr(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++)if(!cr.call(t,n[r])||!sr(e[n[r]],t[n[r]]))return!1;return!0}function dr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function pr(e,t){var n,r=dr(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=dr(r)}}function hr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?hr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function gr(){for(var e=window,t=J();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=J((e=t.contentWindow).document)}return t}function yr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var mr=f&&"documentMode"in document&&11>=document.documentMode,br=null,vr=null,kr=null,wr=!1;function xr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;wr||null==br||br!==J(r)||(r="selectionStart"in(r=br)&&yr(r)?{start:r.selectionStart,end:r.selectionEnd}:{anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},kr&&fr(kr,r)||(kr=r,0<(r=Fr(vr,"onSelect")).length&&(t=new dn("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=br)))}Mt("cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focusin focus focusout blur input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0),Mt("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1),Mt(It,2);for(var Sr="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),Cr=0;Cr<Sr.length;Cr++)Ot.set(Sr[Cr],0);c("onMouseEnter",["mouseout","mouseover"]),c("onMouseLeave",["mouseout","mouseover"]),c("onPointerEnter",["pointerout","pointerover"]),c("onPointerLeave",["pointerout","pointerover"]),s("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),s("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),s("onBeforeInput",["compositionend","keypress","textInput","paste"]),s("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),s("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),s("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Pr="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Br=new Set("cancel close invalid load scroll toggle".split(" ").concat(Pr));function Lr(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,o,i,l,u,s){if(Ve.apply(this,arguments),We){if(!We)throw Error(a(198));var c=Ye;We=!1,Ye=null,Xe||(Xe=!0,$e=c)}}(r,t,void 0,e),e.currentTarget=null}function Er(e,t){t=!!(4&t);for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var i=void 0;if(t)for(var a=r.length-1;0<=a;a--){var l=r[a],u=l.instance,s=l.currentTarget;if(l=l.listener,u!==i&&o.isPropagationStopped())break e;Lr(o,l,s),i=u}else for(a=0;a<r.length;a++){if(u=(l=r[a]).instance,s=l.currentTarget,l=l.listener,u!==i&&o.isPropagationStopped())break e;Lr(o,l,s),i=u}}}if(Xe)throw e=$e,Xe=!1,$e=null,e}function Ar(e,t){var n=io(t),r=e+"__bubble";n.has(r)||(Ir(t,e,2,!1),n.add(r))}var _r="_reactListening"+Math.random().toString(36).slice(2);function Tr(e){e[_r]||(e[_r]=!0,l.forEach((function(t){Br.has(t)||Or(t,!1,e,null),Or(t,!0,e,null)})))}function Or(e,t,n,r){var o=4<arguments.length&&void 0!==arguments[4]?arguments[4]:0,i=n;if("selectionchange"===e&&9!==n.nodeType&&(i=n.ownerDocument),null!==r&&!t&&Br.has(e)){if("scroll"!==e)return;o|=2,i=r}var a=io(i),l=e+"__"+(t?"capture":"bubble");a.has(l)||(t&&(o|=4),Ir(i,e,o,t),a.add(l))}function Ir(e,t,n,r){var o=Ot.get(t);switch(void 0===o?2:o){case 0:o=qt;break;case 1:o=Kt;break;default:o=Qt}n=o.bind(null,t,n,e),o=void 0,!Ne||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(o=!0),r?void 0!==o?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):void 0!==o?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function Mr(e,t,n,r,o){var i=r;if(!(1&t||2&t||null===r))e:for(;;){if(null===r)return;var a=r.tag;if(3===a||4===a){var l=r.stateNode.containerInfo;if(l===o||8===l.nodeType&&l.parentNode===o)break;if(4===a)for(a=r.return;null!==a;){var u=a.tag;if((3===u||4===u)&&((u=a.stateNode.containerInfo)===o||8===u.nodeType&&u.parentNode===o))return;a=a.return}for(;null!==l;){if(null===(a=to(l)))return;if(5===(u=a.tag)||6===u){r=i=a;continue e}l=l.parentNode}}r=r.return}!function(e,t,n){if(De)return e();De=!0;try{return He(e,t,n)}finally{De=!1,Re()}}((function(){var r=i,o=Pe(n),a=[];e:{var l=Tt.get(e);if(void 0!==l){var u=dn,s=e;switch(e){case"keypress":if(0===rn(n))break e;case"keydown":case"keyup":u=An;break;case"focusin":s="focus",u=bn;break;case"focusout":s="blur",u=bn;break;case"beforeblur":case"afterblur":u=bn;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":u=yn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":u=mn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":u=Tn;break;case Lt:case Et:case At:u=vn;break;case _t:u=On;break;case"scroll":u=hn;break;case"wheel":u=Mn;break;case"copy":case"cut":case"paste":u=wn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":u=_n}var c=!!(4&t),f=!c&&"scroll"===e,d=c?null!==l?l+"Capture":null:l;c=[];for(var p,h=r;null!==h;){var g=(p=h).stateNode;if(5===p.tag&&null!==g&&(p=g,null!==d&&null!=(g=ze(h,d))&&c.push(Hr(h,g,p))),f)break;h=h.return}0<c.length&&(l=new u(l,s,null,n,o),a.push({event:l,listeners:c}))}}if(!(7&t)){if(u="mouseout"===e||"pointerout"===e,(!(l="mouseover"===e||"pointerover"===e)||16&t||!(s=n.relatedTarget||n.fromElement)||!to(s)&&!s[Zr])&&(u||l)&&(l=o.window===o?o:(l=o.ownerDocument)?l.defaultView||l.parentWindow:window,u?(u=r,null!==(s=(s=n.relatedTarget||n.toElement)?to(s):null)&&(s!==(f=qe(s))||5!==s.tag&&6!==s.tag)&&(s=null)):(u=null,s=r),u!==s)){if(c=yn,g="onMouseLeave",d="onMouseEnter",h="mouse","pointerout"!==e&&"pointerover"!==e||(c=_n,g="onPointerLeave",d="onPointerEnter",h="pointer"),f=null==u?l:ro(u),p=null==s?l:ro(s),(l=new c(g,h+"leave",u,n,o)).target=f,l.relatedTarget=p,g=null,to(o)===r&&((c=new c(d,h+"enter",s,n,o)).target=p,c.relatedTarget=f,g=c),f=g,u&&s)e:{for(d=s,h=0,p=c=u;p;p=Dr(p))h++;for(p=0,g=d;g;g=Dr(g))p++;for(;0<h-p;)c=Dr(c),h--;for(;0<p-h;)d=Dr(d),p--;for(;h--;){if(c===d||null!==d&&c===d.alternate)break e;c=Dr(c),d=Dr(d)}c=null}else c=null;null!==u&&Rr(a,l,u,c,!1),null!==s&&null!==f&&Rr(a,f,s,c,!0)}if("select"===(u=(l=r?ro(r):window).nodeName&&l.nodeName.toLowerCase())||"input"===u&&"file"===l.type)var y=Jn;else if($n(l))if(Zn)y=ur;else{y=ar;var m=ir}else(u=l.nodeName)&&"input"===u.toLowerCase()&&("checkbox"===l.type||"radio"===l.type)&&(y=lr);switch(y&&(y=y(e,r))?Gn(a,y,n,o):(m&&m(e,l,r),"focusout"===e&&(m=l._wrapperState)&&m.controlled&&"number"===l.type&&oe(l,"number",l.value)),m=r?ro(r):window,e){case"focusin":($n(m)||"true"===m.contentEditable)&&(br=m,vr=r,kr=null);break;case"focusout":kr=vr=br=null;break;case"mousedown":wr=!0;break;case"contextmenu":case"mouseup":case"dragend":wr=!1,xr(a,n,o);break;case"selectionchange":if(mr)break;case"keydown":case"keyup":xr(a,n,o)}var b;if(Fn)e:{switch(e){case"compositionstart":var v="onCompositionStart";break e;case"compositionend":v="onCompositionEnd";break e;case"compositionupdate":v="onCompositionUpdate";break e}v=void 0}else Yn?Un(e,n)&&(v="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(v="onCompositionStart");v&&(zn&&"ko"!==n.locale&&(Yn||"onCompositionStart"!==v?"onCompositionEnd"===v&&Yn&&(b=nn()):(en="value"in(Zt=o)?Zt.value:Zt.textContent,Yn=!0)),0<(m=Fr(r,v)).length&&(v=new xn(v,e,null,n,o),a.push({event:v,listeners:m}),(b||null!==(b=Wn(n)))&&(v.data=b))),(b=Rn?function(e,t){switch(e){case"compositionend":return Wn(t);case"keypress":return 32!==t.which?null:(jn=!0,Nn);case"textInput":return(e=t.data)===Nn&&jn?null:e;default:return null}}(e,n):function(e,t){if(Yn)return"compositionend"===e||!Fn&&Un(e,t)?(e=nn(),tn=en=Zt=null,Yn=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return zn&&"ko"!==t.locale?null:t.data}}(e,n))&&0<(r=Fr(r,"onBeforeInput")).length&&(o=new xn("onBeforeInput","beforeinput",null,n,o),a.push({event:o,listeners:r}),o.data=b)}Er(a,t)}))}function Hr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Fr(e,t){for(var n=t+"Capture",r=[];null!==e;){var o=e,i=o.stateNode;5===o.tag&&null!==i&&(o=i,null!=(i=ze(e,n))&&r.unshift(Hr(e,i,o)),null!=(i=ze(e,t))&&r.push(Hr(e,i,o))),e=e.return}return r}function Dr(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Rr(e,t,n,r,o){for(var i=t._reactName,a=[];null!==n&&n!==r;){var l=n,u=l.alternate,s=l.stateNode;if(null!==u&&u===r)break;5===l.tag&&null!==s&&(l=s,o?null!=(u=ze(n,i))&&a.unshift(Hr(n,u,l)):o||null!=(u=ze(n,i))&&a.push(Hr(n,u,l))),n=n.return}0!==a.length&&e.push({event:t,listeners:a})}function zr(){}var Nr=null,jr=null;function Ur(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function Wr(e,t){return"textarea"===e||"option"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var Yr="function"==typeof setTimeout?setTimeout:void 0,Xr="function"==typeof clearTimeout?clearTimeout:void 0;function $r(e){(1===e.nodeType||9===e.nodeType&&null!=(e=e.body))&&(e.textContent="")}function Gr(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break}return e}function Vr(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var qr=0,Kr=Math.random().toString(36).slice(2),Qr="__reactFiber$"+Kr,Jr="__reactProps$"+Kr,Zr="__reactContainer$"+Kr,eo="__reactEvents$"+Kr;function to(e){var t=e[Qr];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Zr]||n[Qr]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=Vr(e);null!==e;){if(n=e[Qr])return n;e=Vr(e)}return t}n=(e=n).parentNode}return null}function no(e){return!(e=e[Qr]||e[Zr])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function ro(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(a(33))}function oo(e){return e[Jr]||null}function io(e){var t=e[eo];return void 0===t&&(t=e[eo]=new Set),t}var ao=[],lo=-1;function uo(e){return{current:e}}function so(e){0>lo||(e.current=ao[lo],ao[lo]=null,lo--)}function co(e,t){lo++,ao[lo]=e.current,e.current=t}var fo={},po=uo(fo),ho=uo(!1),go=fo;function yo(e,t){var n=e.type.contextTypes;if(!n)return fo;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,i={};for(o in n)i[o]=t[o];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function mo(e){return null!=e.childContextTypes}function bo(){so(ho),so(po)}function vo(e,t,n){if(po.current!==fo)throw Error(a(168));co(po,t),co(ho,n)}function ko(e,t,n){var r=e.stateNode;if(e=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var i in r=r.getChildContext())if(!(i in e))throw Error(a(108,G(t)||"Unknown",i));return o({},n,r)}function wo(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||fo,go=po.current,co(po,e),co(ho,ho.current),!0}function xo(e,t,n){var r=e.stateNode;if(!r)throw Error(a(169));n?(e=ko(e,t,go),r.__reactInternalMemoizedMergedChildContext=e,so(ho),so(po),co(po,e)):so(ho),co(ho,n)}var So=null,Co=null,Po=i.unstable_runWithPriority,Bo=i.unstable_scheduleCallback,Lo=i.unstable_cancelCallback,Eo=i.unstable_shouldYield,Ao=i.unstable_requestPaint,_o=i.unstable_now,To=i.unstable_getCurrentPriorityLevel,Oo=i.unstable_ImmediatePriority,Io=i.unstable_UserBlockingPriority,Mo=i.unstable_NormalPriority,Ho=i.unstable_LowPriority,Fo=i.unstable_IdlePriority,Do={},Ro=void 0!==Ao?Ao:function(){},zo=null,No=null,jo=!1,Uo=_o(),Wo=1e4>Uo?_o:function(){return _o()-Uo};function Yo(){switch(To()){case Oo:return 99;case Io:return 98;case Mo:return 97;case Ho:return 96;case Fo:return 95;default:throw Error(a(332))}}function Xo(e){switch(e){case 99:return Oo;case 98:return Io;case 97:return Mo;case 96:return Ho;case 95:return Fo;default:throw Error(a(332))}}function $o(e,t){return e=Xo(e),Po(e,t)}function Go(e,t,n){return e=Xo(e),Bo(e,t,n)}function Vo(){if(null!==No){var e=No;No=null,Lo(e)}qo()}function qo(){if(!jo&&null!==zo){jo=!0;var e=0;try{var t=zo;$o(99,(function(){for(;e<t.length;e++){var n=t[e];do{n=n(!0)}while(null!==n)}})),zo=null}catch(t){throw null!==zo&&(zo=zo.slice(e+1)),Bo(Oo,Vo),t}finally{jo=!1}}}var Ko=w.ReactCurrentBatchConfig;function Qo(e,t){if(e&&e.defaultProps){for(var n in t=o({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var Jo=uo(null),Zo=null,ei=null,ti=null;function ni(){ti=ei=Zo=null}function ri(e){var t=Jo.current;so(Jo),e.type._context._currentValue=t}function oi(e,t){for(;null!==e;){var n=e.alternate;if((e.childLanes&t)===t){if(null===n||(n.childLanes&t)===t)break;n.childLanes|=t}else e.childLanes|=t,null!==n&&(n.childLanes|=t);e=e.return}}function ii(e,t){Zo=e,ti=ei=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(!!(e.lanes&t)&&(Fa=!0),e.firstContext=null)}function ai(e,t){if(ti!==e&&!1!==t&&0!==t)if("number"==typeof t&&1073741823!==t||(ti=e,t=1073741823),t={context:e,observedBits:t,next:null},null===ei){if(null===Zo)throw Error(a(308));ei=t,Zo.dependencies={lanes:0,firstContext:t,responders:null}}else ei=ei.next=t;return e._currentValue}var li=!1;function ui(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null},effects:null}}function si(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function ci(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function fi(e,t){if(null!==(e=e.updateQueue)){var n=(e=e.shared).pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}}function di(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var o=null,i=null;if(null!==(n=n.firstBaseUpdate)){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===i?o=i=a:i=i.next=a,n=n.next}while(null!==n);null===i?o=i=t:i=i.next=t}else o=i=t;return n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function pi(e,t,n,r){var i=e.updateQueue;li=!1;var a=i.firstBaseUpdate,l=i.lastBaseUpdate,u=i.shared.pending;if(null!==u){i.shared.pending=null;var s=u,c=s.next;s.next=null,null===l?a=c:l.next=c,l=s;var f=e.alternate;if(null!==f){var d=(f=f.updateQueue).lastBaseUpdate;d!==l&&(null===d?f.firstBaseUpdate=c:d.next=c,f.lastBaseUpdate=s)}}if(null!==a){for(d=i.baseState,l=0,f=c=s=null;;){u=a.lane;var p=a.eventTime;if((r&u)===u){null!==f&&(f=f.next={eventTime:p,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var h=e,g=a;switch(u=t,p=n,g.tag){case 1:if("function"==typeof(h=g.payload)){d=h.call(p,d,u);break e}d=h;break e;case 3:h.flags=-4097&h.flags|64;case 0:if(null==(u="function"==typeof(h=g.payload)?h.call(p,d,u):h))break e;d=o({},d,u);break e;case 2:li=!0}}null!==a.callback&&(e.flags|=32,null===(u=i.effects)?i.effects=[a]:u.push(a))}else p={eventTime:p,lane:u,tag:a.tag,payload:a.payload,callback:a.callback,next:null},null===f?(c=f=p,s=d):f=f.next=p,l|=u;if(null===(a=a.next)){if(null===(u=i.shared.pending))break;a=u.next,u.next=null,i.lastBaseUpdate=u,i.shared.pending=null}}null===f&&(s=d),i.baseState=s,i.firstBaseUpdate=c,i.lastBaseUpdate=f,zl|=l,e.lanes=l,e.memoizedState=d}}function hi(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(null!==o){if(r.callback=null,r=n,"function"!=typeof o)throw Error(a(191,o));o.call(r)}}}var gi=(new r.Component).refs;function yi(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:o({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var mi={isMounted:function(e){return!!(e=e._reactInternals)&&qe(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=cu(),o=fu(e),i=ci(r,o);i.payload=t,null!=n&&(i.callback=n),fi(e,i),du(e,o,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=cu(),o=fu(e),i=ci(r,o);i.tag=1,i.payload=t,null!=n&&(i.callback=n),fi(e,i),du(e,o,r)},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=cu(),r=fu(e),o=ci(n,r);o.tag=2,null!=t&&(o.callback=t),fi(e,o),du(e,r,n)}};function bi(e,t,n,r,o,i,a){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,i,a):!(t.prototype&&t.prototype.isPureReactComponent&&fr(n,r)&&fr(o,i))}function vi(e,t,n){var r=!1,o=fo,i=t.contextType;return"object"==typeof i&&null!==i?i=ai(i):(o=mo(t)?go:po.current,i=(r=null!=(r=t.contextTypes))?yo(e,o):fo),t=new t(n,i),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=mi,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function ki(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&mi.enqueueReplaceState(t,t.state,null)}function wi(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=gi,ui(e);var i=t.contextType;"object"==typeof i&&null!==i?o.context=ai(i):(i=mo(t)?go:po.current,o.context=yo(e,i)),pi(e,n,o,r),o.state=e.memoizedState,"function"==typeof(i=t.getDerivedStateFromProps)&&(yi(e,t,i,n),o.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof o.getSnapshotBeforeUpdate||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||(t=o.state,"function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),t!==o.state&&mi.enqueueReplaceState(o,o.state,null),pi(e,n,o,r),o.state=e.memoizedState),"function"==typeof o.componentDidMount&&(e.flags|=4)}var xi=Array.isArray;function Si(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(a(309));var r=n.stateNode}if(!r)throw Error(a(147,e));var o=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===o?t.ref:(t=function(e){var t=r.refs;t===gi&&(t=r.refs={}),null===e?delete t[o]:t[o]=e},t._stringRef=o,t)}if("string"!=typeof e)throw Error(a(284));if(!n._owner)throw Error(a(290,e))}return e}function Ci(e,t){if("textarea"!==e.type)throw Error(a(31,"[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t))}function Pi(e){function t(t,n){if(e){var r=t.lastEffect;null!==r?(r.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n,n.nextEffect=null,n.flags=8}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function o(e,t){return(e=Wu(e,t)).index=0,e.sibling=null,e}function i(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags=2,n):r:(t.flags=2,n):n}function l(t){return e&&null===t.alternate&&(t.flags=2),t}function u(e,t,n,r){return null===t||6!==t.tag?((t=Gu(n,e.mode,r)).return=e,t):((t=o(t,n)).return=e,t)}function s(e,t,n,r){return null!==t&&t.elementType===n.type?((r=o(t,n.props)).ref=Si(e,t,n),r.return=e,r):((r=Yu(n.type,n.key,n.props,null,e.mode,r)).ref=Si(e,t,n),r.return=e,r)}function c(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Vu(n,e.mode,r)).return=e,t):((t=o(t,n.children||[])).return=e,t)}function f(e,t,n,r,i){return null===t||7!==t.tag?((t=Xu(n,e.mode,r,i)).return=e,t):((t=o(t,n)).return=e,t)}function d(e,t,n){if("string"==typeof t||"number"==typeof t)return(t=Gu(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case x:return(n=Yu(t.type,t.key,t.props,null,e.mode,n)).ref=Si(e,null,t),n.return=e,n;case S:return(t=Vu(t,e.mode,n)).return=e,t}if(xi(t)||U(t))return(t=Xu(t,e.mode,n,null)).return=e,t;Ci(e,t)}return null}function p(e,t,n,r){var o=null!==t?t.key:null;if("string"==typeof n||"number"==typeof n)return null!==o?null:u(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case x:return n.key===o?n.type===C?f(e,t,n.props.children,r,o):s(e,t,n,r):null;case S:return n.key===o?c(e,t,n,r):null}if(xi(n)||U(n))return null!==o?null:f(e,t,n,r,null);Ci(e,n)}return null}function h(e,t,n,r,o){if("string"==typeof r||"number"==typeof r)return u(t,e=e.get(n)||null,""+r,o);if("object"==typeof r&&null!==r){switch(r.$$typeof){case x:return e=e.get(null===r.key?n:r.key)||null,r.type===C?f(t,e,r.props.children,o,r.key):s(t,e,r,o);case S:return c(t,e=e.get(null===r.key?n:r.key)||null,r,o)}if(xi(r)||U(r))return f(t,e=e.get(n)||null,r,o,null);Ci(t,r)}return null}function g(o,a,l,u){for(var s=null,c=null,f=a,g=a=0,y=null;null!==f&&g<l.length;g++){f.index>g?(y=f,f=null):y=f.sibling;var m=p(o,f,l[g],u);if(null===m){null===f&&(f=y);break}e&&f&&null===m.alternate&&t(o,f),a=i(m,a,g),null===c?s=m:c.sibling=m,c=m,f=y}if(g===l.length)return n(o,f),s;if(null===f){for(;g<l.length;g++)null!==(f=d(o,l[g],u))&&(a=i(f,a,g),null===c?s=f:c.sibling=f,c=f);return s}for(f=r(o,f);g<l.length;g++)null!==(y=h(f,o,g,l[g],u))&&(e&&null!==y.alternate&&f.delete(null===y.key?g:y.key),a=i(y,a,g),null===c?s=y:c.sibling=y,c=y);return e&&f.forEach((function(e){return t(o,e)})),s}function y(o,l,u,s){var c=U(u);if("function"!=typeof c)throw Error(a(150));if(null==(u=c.call(u)))throw Error(a(151));for(var f=c=null,g=l,y=l=0,m=null,b=u.next();null!==g&&!b.done;y++,b=u.next()){g.index>y?(m=g,g=null):m=g.sibling;var v=p(o,g,b.value,s);if(null===v){null===g&&(g=m);break}e&&g&&null===v.alternate&&t(o,g),l=i(v,l,y),null===f?c=v:f.sibling=v,f=v,g=m}if(b.done)return n(o,g),c;if(null===g){for(;!b.done;y++,b=u.next())null!==(b=d(o,b.value,s))&&(l=i(b,l,y),null===f?c=b:f.sibling=b,f=b);return c}for(g=r(o,g);!b.done;y++,b=u.next())null!==(b=h(g,o,y,b.value,s))&&(e&&null!==b.alternate&&g.delete(null===b.key?y:b.key),l=i(b,l,y),null===f?c=b:f.sibling=b,f=b);return e&&g.forEach((function(e){return t(o,e)})),c}return function(e,r,i,u){var s="object"==typeof i&&null!==i&&i.type===C&&null===i.key;s&&(i=i.props.children);var c="object"==typeof i&&null!==i;if(c)switch(i.$$typeof){case x:e:{for(c=i.key,s=r;null!==s;){if(s.key===c){if(7===s.tag){if(i.type===C){n(e,s.sibling),(r=o(s,i.props.children)).return=e,e=r;break e}}else if(s.elementType===i.type){n(e,s.sibling),(r=o(s,i.props)).ref=Si(e,s,i),r.return=e,e=r;break e}n(e,s);break}t(e,s),s=s.sibling}i.type===C?((r=Xu(i.props.children,e.mode,u,i.key)).return=e,e=r):((u=Yu(i.type,i.key,i.props,null,e.mode,u)).ref=Si(e,r,i),u.return=e,e=u)}return l(e);case S:e:{for(s=i.key;null!==r;){if(r.key===s){if(4===r.tag&&r.stateNode.containerInfo===i.containerInfo&&r.stateNode.implementation===i.implementation){n(e,r.sibling),(r=o(r,i.children||[])).return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}(r=Vu(i,e.mode,u)).return=e,e=r}return l(e)}if("string"==typeof i||"number"==typeof i)return i=""+i,null!==r&&6===r.tag?(n(e,r.sibling),(r=o(r,i)).return=e,e=r):(n(e,r),(r=Gu(i,e.mode,u)).return=e,e=r),l(e);if(xi(i))return g(e,r,i,u);if(U(i))return y(e,r,i,u);if(c&&Ci(e,i),void 0===i&&!s)switch(e.tag){case 1:case 22:case 0:case 11:case 15:throw Error(a(152,G(e.type)||"Component"))}return n(e,r)}}var Bi=Pi(!0),Li=Pi(!1),Ei={},Ai=uo(Ei),_i=uo(Ei),Ti=uo(Ei);function Oi(e){if(e===Ei)throw Error(a(174));return e}function Ii(e,t){switch(co(Ti,t),co(_i,e),co(Ai,Ei),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:pe(null,"");break;default:t=pe(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}so(Ai),co(Ai,t)}function Mi(){so(Ai),so(_i),so(Ti)}function Hi(e){Oi(Ti.current);var t=Oi(Ai.current),n=pe(t,e.type);t!==n&&(co(_i,e),co(Ai,n))}function Fi(e){_i.current===e&&(so(Ai),so(_i))}var Di=uo(0);function Ri(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(64&t.flags)return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var zi=null,Ni=null,ji=!1;function Ui(e,t){var n=ju(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=t,n.return=e,n.flags=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function Wi(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,!0);default:return!1}}function Yi(e){if(ji){var t=Ni;if(t){var n=t;if(!Wi(e,t)){if(!(t=Gr(n.nextSibling))||!Wi(e,t))return e.flags=-1025&e.flags|2,ji=!1,void(zi=e);Ui(zi,n)}zi=e,Ni=Gr(t.firstChild)}else e.flags=-1025&e.flags|2,ji=!1,zi=e}}function Xi(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;zi=e}function $i(e){if(e!==zi)return!1;if(!ji)return Xi(e),ji=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!Wr(t,e.memoizedProps))for(t=Ni;t;)Ui(e,t),t=Gr(t.nextSibling);if(Xi(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(a(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){Ni=Gr(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}Ni=null}}else Ni=zi?Gr(e.stateNode.nextSibling):null;return!0}function Gi(){Ni=zi=null,ji=!1}var Vi=[];function qi(){for(var e=0;e<Vi.length;e++)Vi[e]._workInProgressVersionPrimary=null;Vi.length=0}var Ki=w.ReactCurrentDispatcher,Qi=w.ReactCurrentBatchConfig,Ji=0,Zi=null,ea=null,ta=null,na=!1,ra=!1;function oa(){throw Error(a(321))}function ia(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!sr(e[n],t[n]))return!1;return!0}function aa(e,t,n,r,o,i){if(Ji=i,Zi=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Ki.current=null===e||null===e.memoizedState?Oa:Ia,e=n(r,o),ra){i=0;do{if(ra=!1,!(25>i))throw Error(a(301));i+=1,ta=ea=null,t.updateQueue=null,Ki.current=Ma,e=n(r,o)}while(ra)}if(Ki.current=Ta,t=null!==ea&&null!==ea.next,Ji=0,ta=ea=Zi=null,na=!1,t)throw Error(a(300));return e}function la(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===ta?Zi.memoizedState=ta=e:ta=ta.next=e,ta}function ua(){if(null===ea){var e=Zi.alternate;e=null!==e?e.memoizedState:null}else e=ea.next;var t=null===ta?Zi.memoizedState:ta.next;if(null!==t)ta=t,ea=e;else{if(null===e)throw Error(a(310));e={memoizedState:(ea=e).memoizedState,baseState:ea.baseState,baseQueue:ea.baseQueue,queue:ea.queue,next:null},null===ta?Zi.memoizedState=ta=e:ta=ta.next=e}return ta}function sa(e,t){return"function"==typeof t?t(e):t}function ca(e){var t=ua(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=ea,o=r.baseQueue,i=n.pending;if(null!==i){if(null!==o){var l=o.next;o.next=i.next,i.next=l}r.baseQueue=o=i,n.pending=null}if(null!==o){o=o.next,r=r.baseState;var u=l=i=null,s=o;do{var c=s.lane;if((Ji&c)===c)null!==u&&(u=u.next={lane:0,action:s.action,eagerReducer:s.eagerReducer,eagerState:s.eagerState,next:null}),r=s.eagerReducer===e?s.eagerState:e(r,s.action);else{var f={lane:c,action:s.action,eagerReducer:s.eagerReducer,eagerState:s.eagerState,next:null};null===u?(l=u=f,i=r):u=u.next=f,Zi.lanes|=c,zl|=c}s=s.next}while(null!==s&&s!==o);null===u?i=r:u.next=l,sr(r,t.memoizedState)||(Fa=!0),t.memoizedState=r,t.baseState=i,t.baseQueue=u,n.lastRenderedState=r}return[t.memoizedState,n.dispatch]}function fa(e){var t=ua(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,i=t.memoizedState;if(null!==o){n.pending=null;var l=o=o.next;do{i=e(i,l.action),l=l.next}while(l!==o);sr(i,t.memoizedState)||(Fa=!0),t.memoizedState=i,null===t.baseQueue&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function da(e,t,n){var r=t._getVersion;r=r(t._source);var o=t._workInProgressVersionPrimary;if(null!==o?e=o===r:(e=e.mutableReadLanes,(e=(Ji&e)===e)&&(t._workInProgressVersionPrimary=r,Vi.push(t))),e)return n(t._source);throw Vi.push(t),Error(a(350))}function pa(e,t,n,r){var o=Tl;if(null===o)throw Error(a(349));var i=t._getVersion,l=i(t._source),u=Ki.current,s=u.useState((function(){return da(o,t,n)})),c=s[1],f=s[0];s=ta;var d=e.memoizedState,p=d.refs,h=p.getSnapshot,g=d.source;d=d.subscribe;var y=Zi;return e.memoizedState={refs:p,source:t,subscribe:r},u.useEffect((function(){p.getSnapshot=n,p.setSnapshot=c;var e=i(t._source);if(!sr(l,e)){e=n(t._source),sr(f,e)||(c(e),e=fu(y),o.mutableReadLanes|=e&o.pendingLanes),e=o.mutableReadLanes,o.entangledLanes|=e;for(var r=o.entanglements,a=e;0<a;){var u=31-Wt(a),s=1<<u;r[u]|=e,a&=~s}}}),[n,t,r]),u.useEffect((function(){return r(t._source,(function(){var e=p.getSnapshot,n=p.setSnapshot;try{n(e(t._source));var r=fu(y);o.mutableReadLanes|=r&o.pendingLanes}catch(e){n((function(){throw e}))}}))}),[t,r]),sr(h,n)&&sr(g,t)&&sr(d,r)||((e={pending:null,dispatch:null,lastRenderedReducer:sa,lastRenderedState:f}).dispatch=c=_a.bind(null,Zi,e),s.queue=e,s.baseQueue=null,f=da(o,t,n),s.memoizedState=s.baseState=f),f}function ha(e,t,n){return pa(ua(),e,t,n)}function ga(e){var t=la();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(e=t.queue={pending:null,dispatch:null,lastRenderedReducer:sa,lastRenderedState:e}).dispatch=_a.bind(null,Zi,e),[t.memoizedState,e]}function ya(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=Zi.updateQueue)?(t={lastEffect:null},Zi.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function ma(e){return e={current:e},la().memoizedState=e}function ba(){return ua().memoizedState}function va(e,t,n,r){var o=la();Zi.flags|=e,o.memoizedState=ya(1|t,n,void 0,void 0===r?null:r)}function ka(e,t,n,r){var o=ua();r=void 0===r?null:r;var i=void 0;if(null!==ea){var a=ea.memoizedState;if(i=a.destroy,null!==r&&ia(r,a.deps))return void ya(t,n,i,r)}Zi.flags|=e,o.memoizedState=ya(1|t,n,i,r)}function wa(e,t){return va(516,4,e,t)}function xa(e,t){return ka(516,4,e,t)}function Sa(e,t){return ka(4,2,e,t)}function Ca(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Pa(e,t,n){return n=null!=n?n.concat([e]):null,ka(4,2,Ca.bind(null,t,e),n)}function Ba(){}function La(e,t){var n=ua();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&ia(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Ea(e,t){var n=ua();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&ia(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Aa(e,t){var n=Yo();$o(98>n?98:n,(function(){e(!0)})),$o(97<n?97:n,(function(){var n=Qi.transition;Qi.transition=1;try{e(!1),t()}finally{Qi.transition=n}}))}function _a(e,t,n){var r=cu(),o=fu(e),i={lane:o,action:n,eagerReducer:null,eagerState:null,next:null},a=t.pending;if(null===a?i.next=i:(i.next=a.next,a.next=i),t.pending=i,a=e.alternate,e===Zi||null!==a&&a===Zi)ra=na=!0;else{if(0===e.lanes&&(null===a||0===a.lanes)&&null!==(a=t.lastRenderedReducer))try{var l=t.lastRenderedState,u=a(l,n);if(i.eagerReducer=a,i.eagerState=u,sr(u,l))return}catch(e){}du(e,o,r)}}var Ta={readContext:ai,useCallback:oa,useContext:oa,useEffect:oa,useImperativeHandle:oa,useLayoutEffect:oa,useMemo:oa,useReducer:oa,useRef:oa,useState:oa,useDebugValue:oa,useDeferredValue:oa,useTransition:oa,useMutableSource:oa,useOpaqueIdentifier:oa,unstable_isNewReconciler:!1},Oa={readContext:ai,useCallback:function(e,t){return la().memoizedState=[e,void 0===t?null:t],e},useContext:ai,useEffect:wa,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,va(4,2,Ca.bind(null,t,e),n)},useLayoutEffect:function(e,t){return va(4,2,e,t)},useMemo:function(e,t){var n=la();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=la();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e=(e=r.queue={pending:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t}).dispatch=_a.bind(null,Zi,e),[r.memoizedState,e]},useRef:ma,useState:ga,useDebugValue:Ba,useDeferredValue:function(e){var t=ga(e),n=t[0],r=t[1];return wa((function(){var t=Qi.transition;Qi.transition=1;try{r(e)}finally{Qi.transition=t}}),[e]),n},useTransition:function(){var e=ga(!1),t=e[0];return ma(e=Aa.bind(null,e[1])),[e,t]},useMutableSource:function(e,t,n){var r=la();return r.memoizedState={refs:{getSnapshot:t,setSnapshot:null},source:e,subscribe:n},pa(r,e,t,n)},useOpaqueIdentifier:function(){if(ji){var e=!1,t=function(e){return{$$typeof:H,toString:e,valueOf:e}}((function(){throw e||(e=!0,n("r:"+(qr++).toString(36))),Error(a(355))})),n=ga(t)[1];return!(2&Zi.mode)&&(Zi.flags|=516,ya(5,(function(){n("r:"+(qr++).toString(36))}),void 0,null)),t}return ga(t="r:"+(qr++).toString(36)),t},unstable_isNewReconciler:!1},Ia={readContext:ai,useCallback:La,useContext:ai,useEffect:xa,useImperativeHandle:Pa,useLayoutEffect:Sa,useMemo:Ea,useReducer:ca,useRef:ba,useState:function(){return ca(sa)},useDebugValue:Ba,useDeferredValue:function(e){var t=ca(sa),n=t[0],r=t[1];return xa((function(){var t=Qi.transition;Qi.transition=1;try{r(e)}finally{Qi.transition=t}}),[e]),n},useTransition:function(){var e=ca(sa)[0];return[ba().current,e]},useMutableSource:ha,useOpaqueIdentifier:function(){return ca(sa)[0]},unstable_isNewReconciler:!1},Ma={readContext:ai,useCallback:La,useContext:ai,useEffect:xa,useImperativeHandle:Pa,useLayoutEffect:Sa,useMemo:Ea,useReducer:fa,useRef:ba,useState:function(){return fa(sa)},useDebugValue:Ba,useDeferredValue:function(e){var t=fa(sa),n=t[0],r=t[1];return xa((function(){var t=Qi.transition;Qi.transition=1;try{r(e)}finally{Qi.transition=t}}),[e]),n},useTransition:function(){var e=fa(sa)[0];return[ba().current,e]},useMutableSource:ha,useOpaqueIdentifier:function(){return fa(sa)[0]},unstable_isNewReconciler:!1},Ha=w.ReactCurrentOwner,Fa=!1;function Da(e,t,n,r){t.child=null===e?Li(t,null,n,r):Bi(t,e.child,n,r)}function Ra(e,t,n,r,o){n=n.render;var i=t.ref;return ii(t,o),r=aa(e,t,n,r,i,o),null===e||Fa?(t.flags|=1,Da(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~o,rl(e,t,o))}function za(e,t,n,r,o,i){if(null===e){var a=n.type;return"function"!=typeof a||Uu(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Yu(n.type,null,r,t,t.mode,i)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,Na(e,t,a,r,o,i))}return a=e.child,o&i||(o=a.memoizedProps,!(n=null!==(n=n.compare)?n:fr)(o,r)||e.ref!==t.ref)?(t.flags|=1,(e=Wu(a,r)).ref=t.ref,e.return=t,t.child=e):rl(e,t,i)}function Na(e,t,n,r,o,i){if(null!==e&&fr(e.memoizedProps,r)&&e.ref===t.ref){if(Fa=!1,!(i&o))return t.lanes=e.lanes,rl(e,t,i);16384&e.flags&&(Fa=!0)}return Wa(e,t,n,r,i)}function ja(e,t,n){var r=t.pendingProps,o=r.children,i=null!==e?e.memoizedState:null;if("hidden"===r.mode||"unstable-defer-without-hiding"===r.mode)if(4&t.mode){if(!(1073741824&n))return e=null!==i?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e},vu(0,e),null;t.memoizedState={baseLanes:0},vu(0,null!==i?i.baseLanes:n)}else t.memoizedState={baseLanes:0},vu(0,n);else null!==i?(r=i.baseLanes|n,t.memoizedState=null):r=n,vu(0,r);return Da(e,t,o,n),t.child}function Ua(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=128)}function Wa(e,t,n,r,o){var i=mo(n)?go:po.current;return i=yo(t,i),ii(t,o),n=aa(e,t,n,r,i,o),null===e||Fa?(t.flags|=1,Da(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~o,rl(e,t,o))}function Ya(e,t,n,r,o){if(mo(n)){var i=!0;wo(t)}else i=!1;if(ii(t,o),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),vi(t,n,r),wi(t,n,r,o),r=!0;else if(null===e){var a=t.stateNode,l=t.memoizedProps;a.props=l;var u=a.context,s=n.contextType;s="object"==typeof s&&null!==s?ai(s):yo(t,s=mo(n)?go:po.current);var c=n.getDerivedStateFromProps,f="function"==typeof c||"function"==typeof a.getSnapshotBeforeUpdate;f||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(l!==r||u!==s)&&ki(t,a,r,s),li=!1;var d=t.memoizedState;a.state=d,pi(t,r,a,o),u=t.memoizedState,l!==r||d!==u||ho.current||li?("function"==typeof c&&(yi(t,n,c,r),u=t.memoizedState),(l=li||bi(t,n,l,r,d,u,s))?(f||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||("function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"==typeof a.componentDidMount&&(t.flags|=4)):("function"==typeof a.componentDidMount&&(t.flags|=4),t.memoizedProps=r,t.memoizedState=u),a.props=r,a.state=u,a.context=s,r=l):("function"==typeof a.componentDidMount&&(t.flags|=4),r=!1)}else{a=t.stateNode,si(e,t),l=t.memoizedProps,s=t.type===t.elementType?l:Qo(t.type,l),a.props=s,f=t.pendingProps,d=a.context,u="object"==typeof(u=n.contextType)&&null!==u?ai(u):yo(t,u=mo(n)?go:po.current);var p=n.getDerivedStateFromProps;(c="function"==typeof p||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(l!==f||d!==u)&&ki(t,a,r,u),li=!1,d=t.memoizedState,a.state=d,pi(t,r,a,o);var h=t.memoizedState;l!==f||d!==h||ho.current||li?("function"==typeof p&&(yi(t,n,p,r),h=t.memoizedState),(s=li||bi(t,n,s,r,d,h,u))?(c||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(r,h,u),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,h,u)),"function"==typeof a.componentDidUpdate&&(t.flags|=4),"function"==typeof a.getSnapshotBeforeUpdate&&(t.flags|=256)):("function"!=typeof a.componentDidUpdate||l===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||l===e.memoizedProps&&d===e.memoizedState||(t.flags|=256),t.memoizedProps=r,t.memoizedState=h),a.props=r,a.state=h,a.context=u,r=s):("function"!=typeof a.componentDidUpdate||l===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||l===e.memoizedProps&&d===e.memoizedState||(t.flags|=256),r=!1)}return Xa(e,t,n,r,i,o)}function Xa(e,t,n,r,o,i){Ua(e,t);var a=!!(64&t.flags);if(!r&&!a)return o&&xo(t,n,!1),rl(e,t,i);r=t.stateNode,Ha.current=t;var l=a&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&a?(t.child=Bi(t,e.child,null,i),t.child=Bi(t,null,l,i)):Da(e,t,l,i),t.memoizedState=r.state,o&&xo(t,n,!0),t.child}function $a(e){var t=e.stateNode;t.pendingContext?vo(0,t.pendingContext,t.pendingContext!==t.context):t.context&&vo(0,t.context,!1),Ii(e,t.containerInfo)}var Ga,Va,qa,Ka,Qa={dehydrated:null,retryLane:0};function Ja(e,t,n){var r,o=t.pendingProps,i=Di.current,a=!1;return(r=!!(64&t.flags))||(r=(null===e||null!==e.memoizedState)&&!!(2&i)),r?(a=!0,t.flags&=-65):null!==e&&null===e.memoizedState||void 0===o.fallback||!0===o.unstable_avoidThisFallback||(i|=1),co(Di,1&i),null===e?(void 0!==o.fallback&&Yi(t),e=o.children,i=o.fallback,a?(e=Za(t,e,i,n),t.child.memoizedState={baseLanes:n},t.memoizedState=Qa,e):"number"==typeof o.unstable_expectedLoadTime?(e=Za(t,e,i,n),t.child.memoizedState={baseLanes:n},t.memoizedState=Qa,t.lanes=33554432,e):((n=$u({mode:"visible",children:e},t.mode,n,null)).return=t,t.child=n)):(e.memoizedState,a?(o=function(e,t,n,r,o){var i=t.mode,a=e.child;e=a.sibling;var l={mode:"hidden",children:n};return 2&i||t.child===a?n=Wu(a,l):((n=t.child).childLanes=0,n.pendingProps=l,null!==(a=n.lastEffect)?(t.firstEffect=n.firstEffect,t.lastEffect=a,a.nextEffect=null):t.firstEffect=t.lastEffect=null),null!==e?r=Wu(e,r):(r=Xu(r,i,o,null)).flags|=2,r.return=t,n.return=t,n.sibling=r,t.child=n,r}(e,t,o.children,o.fallback,n),a=t.child,i=e.child.memoizedState,a.memoizedState=null===i?{baseLanes:n}:{baseLanes:i.baseLanes|n},a.childLanes=e.childLanes&~n,t.memoizedState=Qa,o):(n=function(e,t,n,r){var o=e.child;return e=o.sibling,n=Wu(o,{mode:"visible",children:n}),!(2&t.mode)&&(n.lanes=r),n.return=t,n.sibling=null,null!==e&&(e.nextEffect=null,e.flags=8,t.firstEffect=t.lastEffect=e),t.child=n}(e,t,o.children,n),t.memoizedState=null,n))}function Za(e,t,n,r){var o=e.mode,i=e.child;return t={mode:"hidden",children:t},2&o||null===i?i=$u(t,o,0,null):(i.childLanes=0,i.pendingProps=t),n=Xu(n,o,r,null),i.return=e,n.return=e,i.sibling=n,e.child=i,n}function el(e,t){e.lanes|=t;var n=e.alternate;null!==n&&(n.lanes|=t),oi(e.return,t)}function tl(e,t,n,r,o,i){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o,lastEffect:i}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailMode=o,a.lastEffect=i)}function nl(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(Da(e,t,r.children,n),2&(r=Di.current))r=1&r|2,t.flags|=64;else{if(null!==e&&64&e.flags)e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&el(e,n);else if(19===e.tag)el(e,n);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(co(Di,r),2&t.mode)switch(o){case"forwards":for(n=t.child,o=null;null!==n;)null!==(e=n.alternate)&&null===Ri(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),tl(t,!1,o,n,i,t.lastEffect);break;case"backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===Ri(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}tl(t,!0,n,null,i,t.lastEffect);break;case"together":tl(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}else t.memoizedState=null;return t.child}function rl(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),zl|=t.lanes,n&t.childLanes){if(null!==e&&t.child!==e.child)throw Error(a(153));if(null!==t.child){for(n=Wu(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Wu(e,e.pendingProps)).return=t;n.sibling=null}return t.child}return null}function ol(e,t){if(!ji)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function il(e,t,n){var r=t.pendingProps;switch(t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:case 17:return mo(t.type)&&bo(),null;case 3:return Mi(),so(ho),so(po),qi(),(r=t.stateNode).pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||($i(t)?t.flags|=4:r.hydrate||(t.flags|=256)),Va(t),null;case 5:Fi(t);var i=Oi(Ti.current);if(n=t.type,null!==e&&null!=t.stateNode)qa(e,t,n,r,i),e.ref!==t.ref&&(t.flags|=128);else{if(!r){if(null===t.stateNode)throw Error(a(166));return null}if(e=Oi(Ai.current),$i(t)){r=t.stateNode,n=t.type;var l=t.memoizedProps;switch(r[Qr]=t,r[Jr]=l,n){case"dialog":Ar("cancel",r),Ar("close",r);break;case"iframe":case"object":case"embed":Ar("load",r);break;case"video":case"audio":for(e=0;e<Pr.length;e++)Ar(Pr[e],r);break;case"source":Ar("error",r);break;case"img":case"image":case"link":Ar("error",r),Ar("load",r);break;case"details":Ar("toggle",r);break;case"input":ee(r,l),Ar("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!l.multiple},Ar("invalid",r);break;case"textarea":ue(r,l),Ar("invalid",r)}for(var s in Se(n,l),e=null,l)l.hasOwnProperty(s)&&(i=l[s],"children"===s?"string"==typeof i?r.textContent!==i&&(e=["children",i]):"number"==typeof i&&r.textContent!==""+i&&(e=["children",""+i]):u.hasOwnProperty(s)&&null!=i&&"onScroll"===s&&Ar("scroll",r));switch(n){case"input":K(r),re(r,l,!0);break;case"textarea":K(r),ce(r);break;case"select":case"option":break;default:"function"==typeof l.onClick&&(r.onclick=zr)}r=e,t.updateQueue=r,null!==r&&(t.flags|=4)}else{switch(s=9===i.nodeType?i:i.ownerDocument,e===fe.html&&(e=de(n)),e===fe.html?"script"===n?((e=s.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),"select"===n&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[Qr]=t,e[Jr]=r,Ga(e,t,!1,!1),t.stateNode=e,s=Ce(n,r),n){case"dialog":Ar("cancel",e),Ar("close",e),i=r;break;case"iframe":case"object":case"embed":Ar("load",e),i=r;break;case"video":case"audio":for(i=0;i<Pr.length;i++)Ar(Pr[i],e);i=r;break;case"source":Ar("error",e),i=r;break;case"img":case"image":case"link":Ar("error",e),Ar("load",e),i=r;break;case"details":Ar("toggle",e),i=r;break;case"input":ee(e,r),i=Z(e,r),Ar("invalid",e);break;case"option":i=ie(e,r);break;case"select":e._wrapperState={wasMultiple:!!r.multiple},i=o({},r,{value:void 0}),Ar("invalid",e);break;case"textarea":ue(e,r),i=le(e,r),Ar("invalid",e);break;default:i=r}Se(n,i);var c=i;for(l in c)if(c.hasOwnProperty(l)){var f=c[l];"style"===l?we(e,f):"dangerouslySetInnerHTML"===l?null!=(f=f?f.__html:void 0)&&ye(e,f):"children"===l?"string"==typeof f?("textarea"!==n||""!==f)&&me(e,f):"number"==typeof f&&me(e,""+f):"suppressContentEditableWarning"!==l&&"suppressHydrationWarning"!==l&&"autoFocus"!==l&&(u.hasOwnProperty(l)?null!=f&&"onScroll"===l&&Ar("scroll",e):null!=f&&k(e,l,f,s))}switch(n){case"input":K(e),re(e,r,!1);break;case"textarea":K(e),ce(e);break;case"option":null!=r.value&&e.setAttribute("value",""+V(r.value));break;case"select":e.multiple=!!r.multiple,null!=(l=r.value)?ae(e,!!r.multiple,l,!1):null!=r.defaultValue&&ae(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof i.onClick&&(e.onclick=zr)}Ur(n,r)&&(t.flags|=4)}null!==t.ref&&(t.flags|=128)}return null;case 6:if(e&&null!=t.stateNode)Ka(e,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(a(166));n=Oi(Ti.current),Oi(Ai.current),$i(t)?(r=t.stateNode,n=t.memoizedProps,r[Qr]=t,r.nodeValue!==n&&(t.flags|=4)):((r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[Qr]=t,t.stateNode=r)}return null;case 13:return so(Di),r=t.memoizedState,64&t.flags?(t.lanes=n,t):(r=null!==r,n=!1,null===e?void 0!==t.memoizedProps.fallback&&$i(t):n=null!==e.memoizedState,r&&!n&&2&t.mode&&(null===e&&!0!==t.memoizedProps.unstable_avoidThisFallback||1&Di.current?0===Fl&&(Fl=3):(0!==Fl&&3!==Fl||(Fl=4),null===Tl||!(134217727&zl)&&!(134217727&Nl)||yu(Tl,Il))),(r||n)&&(t.flags|=4),null);case 4:return Mi(),Va(t),null===e&&Tr(t.stateNode.containerInfo),null;case 10:return ri(t),null;case 19:if(so(Di),null===(r=t.memoizedState))return null;if(l=!!(64&t.flags),null===(s=r.rendering))if(l)ol(r,!1);else{if(0!==Fl||null!==e&&64&e.flags)for(e=t.child;null!==e;){if(null!==(s=Ri(e))){for(t.flags|=64,ol(r,!1),null!==(l=s.updateQueue)&&(t.updateQueue=l,t.flags|=4),null===r.lastEffect&&(t.firstEffect=null),t.lastEffect=r.lastEffect,r=n,n=t.child;null!==n;)e=r,(l=n).flags&=2,l.nextEffect=null,l.firstEffect=null,l.lastEffect=null,null===(s=l.alternate)?(l.childLanes=0,l.lanes=e,l.child=null,l.memoizedProps=null,l.memoizedState=null,l.updateQueue=null,l.dependencies=null,l.stateNode=null):(l.childLanes=s.childLanes,l.lanes=s.lanes,l.child=s.child,l.memoizedProps=s.memoizedProps,l.memoizedState=s.memoizedState,l.updateQueue=s.updateQueue,l.type=s.type,e=s.dependencies,l.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return co(Di,1&Di.current|2),t.child}e=e.sibling}null!==r.tail&&Wo()>Yl&&(t.flags|=64,l=!0,ol(r,!1),t.lanes=33554432)}else{if(!l)if(null!==(e=Ri(s))){if(t.flags|=64,l=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),ol(r,!0),null===r.tail&&"hidden"===r.tailMode&&!s.alternate&&!ji)return null!==(t=t.lastEffect=r.lastEffect)&&(t.nextEffect=null),null}else 2*Wo()-r.renderingStartTime>Yl&&1073741824!==n&&(t.flags|=64,l=!0,ol(r,!1),t.lanes=33554432);r.isBackwards?(s.sibling=t.child,t.child=s):(null!==(n=r.last)?n.sibling=s:t.child=s,r.last=s)}return null!==r.tail?(n=r.tail,r.rendering=n,r.tail=n.sibling,r.lastEffect=t.lastEffect,r.renderingStartTime=Wo(),n.sibling=null,t=Di.current,co(Di,l?1&t|2:1&t),n):null;case 23:case 24:return ku(),null!==e&&null!==e.memoizedState!=(null!==t.memoizedState)&&"unstable-defer-without-hiding"!==r.mode&&(t.flags|=4),null}throw Error(a(156,t.tag))}function al(e){switch(e.tag){case 1:mo(e.type)&&bo();var t=e.flags;return 4096&t?(e.flags=-4097&t|64,e):null;case 3:if(Mi(),so(ho),so(po),qi(),64&(t=e.flags))throw Error(a(285));return e.flags=-4097&t|64,e;case 5:return Fi(e),null;case 13:return so(Di),4096&(t=e.flags)?(e.flags=-4097&t|64,e):null;case 19:return so(Di),null;case 4:return Mi(),null;case 10:return ri(e),null;case 23:case 24:return ku(),null;default:return null}}function ll(e,t){try{var n="",r=t;do{n+=$(r),r=r.return}while(r);var o=n}catch(e){o="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:o}}function ul(e,t){try{console.error(t.value)}catch(e){setTimeout((function(){throw e}))}}Ga=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Va=function(){},qa=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,Oi(Ai.current);var a,l=null;switch(n){case"input":i=Z(e,i),r=Z(e,r),l=[];break;case"option":i=ie(e,i),r=ie(e,r),l=[];break;case"select":i=o({},i,{value:void 0}),r=o({},r,{value:void 0}),l=[];break;case"textarea":i=le(e,i),r=le(e,r),l=[];break;default:"function"!=typeof i.onClick&&"function"==typeof r.onClick&&(e.onclick=zr)}for(f in Se(n,r),n=null,i)if(!r.hasOwnProperty(f)&&i.hasOwnProperty(f)&&null!=i[f])if("style"===f){var s=i[f];for(a in s)s.hasOwnProperty(a)&&(n||(n={}),n[a]="")}else"dangerouslySetInnerHTML"!==f&&"children"!==f&&"suppressContentEditableWarning"!==f&&"suppressHydrationWarning"!==f&&"autoFocus"!==f&&(u.hasOwnProperty(f)?l||(l=[]):(l=l||[]).push(f,null));for(f in r){var c=r[f];if(s=null!=i?i[f]:void 0,r.hasOwnProperty(f)&&c!==s&&(null!=c||null!=s))if("style"===f)if(s){for(a in s)!s.hasOwnProperty(a)||c&&c.hasOwnProperty(a)||(n||(n={}),n[a]="");for(a in c)c.hasOwnProperty(a)&&s[a]!==c[a]&&(n||(n={}),n[a]=c[a])}else n||(l||(l=[]),l.push(f,n)),n=c;else"dangerouslySetInnerHTML"===f?(c=c?c.__html:void 0,s=s?s.__html:void 0,null!=c&&s!==c&&(l=l||[]).push(f,c)):"children"===f?"string"!=typeof c&&"number"!=typeof c||(l=l||[]).push(f,""+c):"suppressContentEditableWarning"!==f&&"suppressHydrationWarning"!==f&&(u.hasOwnProperty(f)?(null!=c&&"onScroll"===f&&Ar("scroll",e),l||s===c||(l=[])):"object"==typeof c&&null!==c&&c.$$typeof===H?c.toString():(l=l||[]).push(f,c))}n&&(l=l||[]).push("style",n);var f=l;(t.updateQueue=f)&&(t.flags|=4)}},Ka=function(e,t,n,r){n!==r&&(t.flags|=4)};var sl="function"==typeof WeakMap?WeakMap:Map;function cl(e,t,n){(n=ci(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Vl||(Vl=!0,ql=r),ul(0,t)},n}function fl(e,t,n){(n=ci(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var o=t.value;n.payload=function(){return ul(0,t),r(o)}}var i=e.stateNode;return null!==i&&"function"==typeof i.componentDidCatch&&(n.callback=function(){"function"!=typeof r&&(null===Kl?Kl=new Set([this]):Kl.add(this),ul(0,t));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}var dl="function"==typeof WeakSet?WeakSet:Set;function pl(e){var t=e.ref;if(null!==t)if("function"==typeof t)try{t(null)}catch(t){Du(e,t)}else t.current=null}function hl(e,t){switch(t.tag){case 0:case 11:case 15:case 22:case 5:case 6:case 4:case 17:return;case 1:if(256&t.flags&&null!==e){var n=e.memoizedProps,r=e.memoizedState;t=(e=t.stateNode).getSnapshotBeforeUpdate(t.elementType===t.type?n:Qo(t.type,n),r),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:return void(256&t.flags&&$r(t.stateNode.containerInfo))}throw Error(a(163))}function gl(e,t,n){switch(n.tag){case 0:case 11:case 15:case 22:if(null!==(t=null!==(t=n.updateQueue)?t.lastEffect:null)){e=t=t.next;do{if(!(3&~e.tag)){var r=e.create;e.destroy=r()}e=e.next}while(e!==t)}if(null!==(t=null!==(t=n.updateQueue)?t.lastEffect:null)){e=t=t.next;do{var o=e;r=o.next,4&(o=o.tag)&&1&o&&(Mu(n,e),Iu(n,e)),e=r}while(e!==t)}return;case 1:return e=n.stateNode,4&n.flags&&(null===t?e.componentDidMount():(r=n.elementType===n.type?t.memoizedProps:Qo(n.type,t.memoizedProps),e.componentDidUpdate(r,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate))),void(null!==(t=n.updateQueue)&&hi(n,t,e));case 3:if(null!==(t=n.updateQueue)){if(e=null,null!==n.child)switch(n.child.tag){case 5:case 1:e=n.child.stateNode}hi(n,t,e)}return;case 5:return e=n.stateNode,void(null===t&&4&n.flags&&Ur(n.type,n.memoizedProps)&&e.focus());case 6:case 4:case 12:case 19:case 17:case 20:case 21:case 23:case 24:return;case 13:return void(null===n.memoizedState&&(n=n.alternate,null!==n&&(n=n.memoizedState,null!==n&&(n=n.dehydrated,null!==n&&wt(n)))))}throw Error(a(163))}function yl(e,t){for(var n=e;;){if(5===n.tag){var r=n.stateNode;if(t)"function"==typeof(r=r.style).setProperty?r.setProperty("display","none","important"):r.display="none";else{r=n.stateNode;var o=n.memoizedProps.style;o=null!=o&&o.hasOwnProperty("display")?o.display:null,r.style.display=ke("display",o)}}else if(6===n.tag)n.stateNode.nodeValue=t?"":n.memoizedProps;else if((23!==n.tag&&24!==n.tag||null===n.memoizedState||n===e)&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===e)break;for(;null===n.sibling;){if(null===n.return||n.return===e)return;n=n.return}n.sibling.return=n.return,n=n.sibling}}function ml(e,t){if(Co&&"function"==typeof Co.onCommitFiberUnmount)try{Co.onCommitFiberUnmount(So,t)}catch(e){}switch(t.tag){case 0:case 11:case 14:case 15:case 22:if(null!==(e=t.updateQueue)&&null!==(e=e.lastEffect)){var n=e=e.next;do{var r=n,o=r.destroy;if(r=r.tag,void 0!==o)if(4&r)Mu(t,n);else{r=t;try{o()}catch(e){Du(r,e)}}n=n.next}while(n!==e)}break;case 1:if(pl(t),"function"==typeof(e=t.stateNode).componentWillUnmount)try{e.props=t.memoizedProps,e.state=t.memoizedState,e.componentWillUnmount()}catch(e){Du(t,e)}break;case 5:pl(t);break;case 4:Sl(e,t)}}function bl(e){e.alternate=null,e.child=null,e.dependencies=null,e.firstEffect=null,e.lastEffect=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.return=null,e.updateQueue=null}function vl(e){return 5===e.tag||3===e.tag||4===e.tag}function kl(e){e:{for(var t=e.return;null!==t;){if(vl(t))break e;t=t.return}throw Error(a(160))}var n=t;switch(t=n.stateNode,n.tag){case 5:var r=!1;break;case 3:case 4:t=t.containerInfo,r=!0;break;default:throw Error(a(161))}16&n.flags&&(me(t,""),n.flags&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||vl(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag&&18!==n.tag;){if(2&n.flags)continue t;if(null===n.child||4===n.tag)continue t;n.child.return=n,n=n.child}if(!(2&n.flags)){n=n.stateNode;break e}}r?wl(e,n,t):xl(e,n,t)}function wl(e,t,n){var r=e.tag,o=5===r||6===r;if(o)e=o?e.stateNode:e.stateNode.instance,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=zr));else if(4!==r&&null!==(e=e.child))for(wl(e,t,n),e=e.sibling;null!==e;)wl(e,t,n),e=e.sibling}function xl(e,t,n){var r=e.tag,o=5===r||6===r;if(o)e=o?e.stateNode:e.stateNode.instance,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(xl(e,t,n),e=e.sibling;null!==e;)xl(e,t,n),e=e.sibling}function Sl(e,t){for(var n,r,o=t,i=!1;;){if(!i){i=o.return;e:for(;;){if(null===i)throw Error(a(160));switch(n=i.stateNode,i.tag){case 5:r=!1;break e;case 3:case 4:n=n.containerInfo,r=!0;break e}i=i.return}i=!0}if(5===o.tag||6===o.tag){e:for(var l=e,u=o,s=u;;)if(ml(l,s),null!==s.child&&4!==s.tag)s.child.return=s,s=s.child;else{if(s===u)break e;for(;null===s.sibling;){if(null===s.return||s.return===u)break e;s=s.return}s.sibling.return=s.return,s=s.sibling}r?(l=n,u=o.stateNode,8===l.nodeType?l.parentNode.removeChild(u):l.removeChild(u)):n.removeChild(o.stateNode)}else if(4===o.tag){if(null!==o.child){n=o.stateNode.containerInfo,r=!0,o.child.return=o,o=o.child;continue}}else if(ml(e,o),null!==o.child){o.child.return=o,o=o.child;continue}if(o===t)break;for(;null===o.sibling;){if(null===o.return||o.return===t)return;4===(o=o.return).tag&&(i=!1)}o.sibling.return=o.return,o=o.sibling}}function Cl(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 22:var n=t.updateQueue;if(null!==(n=null!==n?n.lastEffect:null)){var r=n=n.next;do{!(3&~r.tag)&&(e=r.destroy,r.destroy=void 0,void 0!==e&&e()),r=r.next}while(r!==n)}return;case 1:case 12:case 17:return;case 5:if(null!=(n=t.stateNode)){r=t.memoizedProps;var o=null!==e?e.memoizedProps:r;e=t.type;var i=t.updateQueue;if(t.updateQueue=null,null!==i){for(n[Jr]=r,"input"===e&&"radio"===r.type&&null!=r.name&&te(n,r),Ce(e,o),t=Ce(e,r),o=0;o<i.length;o+=2){var l=i[o],u=i[o+1];"style"===l?we(n,u):"dangerouslySetInnerHTML"===l?ye(n,u):"children"===l?me(n,u):k(n,l,u,t)}switch(e){case"input":ne(n,r);break;case"textarea":se(n,r);break;case"select":e=n._wrapperState.wasMultiple,n._wrapperState.wasMultiple=!!r.multiple,null!=(i=r.value)?ae(n,!!r.multiple,i,!1):e!==!!r.multiple&&(null!=r.defaultValue?ae(n,!!r.multiple,r.defaultValue,!0):ae(n,!!r.multiple,r.multiple?[]:"",!1))}}}return;case 6:if(null===t.stateNode)throw Error(a(162));return void(t.stateNode.nodeValue=t.memoizedProps);case 3:return void((n=t.stateNode).hydrate&&(n.hydrate=!1,wt(n.containerInfo)));case 13:return null!==t.memoizedState&&(Wl=Wo(),yl(t.child,!0)),void Pl(t);case 19:return void Pl(t);case 23:case 24:return void yl(t,null!==t.memoizedState)}throw Error(a(163))}function Pl(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new dl),t.forEach((function(t){var r=zu.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function Bl(e,t){return null!==e&&(null===(e=e.memoizedState)||null!==e.dehydrated)&&null!==(t=t.memoizedState)&&null===t.dehydrated}var Ll=Math.ceil,El=w.ReactCurrentDispatcher,Al=w.ReactCurrentOwner,_l=0,Tl=null,Ol=null,Il=0,Ml=0,Hl=uo(0),Fl=0,Dl=null,Rl=0,zl=0,Nl=0,jl=0,Ul=null,Wl=0,Yl=1/0;function Xl(){Yl=Wo()+500}var $l,Gl=null,Vl=!1,ql=null,Kl=null,Ql=!1,Jl=null,Zl=90,eu=[],tu=[],nu=null,ru=0,ou=null,iu=-1,au=0,lu=0,uu=null,su=!1;function cu(){return 48&_l?Wo():-1!==iu?iu:iu=Wo()}function fu(e){if(!(2&(e=e.mode)))return 1;if(!(4&e))return 99===Yo()?1:2;if(0===au&&(au=Rl),0!==Ko.transition){0!==lu&&(lu=null!==Ul?Ul.pendingLanes:0),e=au;var t=4186112&~lu;return 0==(t&=-t)&&0==(t=(e=4186112&~e)&-e)&&(t=8192),t}return e=Yo(),e=zt(4&_l&&98===e?12:e=function(e){switch(e){case 99:return 15;case 98:return 10;case 97:case 96:return 8;case 95:return 2;default:return 0}}(e),au)}function du(e,t,n){if(50<ru)throw ru=0,ou=null,Error(a(185));if(null===(e=pu(e,t)))return null;Ut(e,t,n),e===Tl&&(Nl|=t,4===Fl&&yu(e,Il));var r=Yo();1===t?8&_l&&!(48&_l)?mu(e):(hu(e,n),0===_l&&(Xl(),Vo())):(!(4&_l)||98!==r&&99!==r||(null===nu?nu=new Set([e]):nu.add(e)),hu(e,n)),Ul=e}function pu(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}function hu(e,t){for(var n=e.callbackNode,r=e.suspendedLanes,o=e.pingedLanes,i=e.expirationTimes,l=e.pendingLanes;0<l;){var u=31-Wt(l),s=1<<u,c=i[u];if(-1===c){if(!(s&r)||s&o){c=t,Ft(s);var f=Ht;i[u]=10<=f?c+250:6<=f?c+5e3:-1}}else c<=t&&(e.expiredLanes|=s);l&=~s}if(r=Dt(e,e===Tl?Il:0),t=Ht,0===r)null!==n&&(n!==Do&&Lo(n),e.callbackNode=null,e.callbackPriority=0);else{if(null!==n){if(e.callbackPriority===t)return;n!==Do&&Lo(n)}15===t?(n=mu.bind(null,e),null===zo?(zo=[n],No=Bo(Oo,qo)):zo.push(n),n=Do):14===t?n=Go(99,mu.bind(null,e)):(n=function(e){switch(e){case 15:case 14:return 99;case 13:case 12:case 11:case 10:return 98;case 9:case 8:case 7:case 6:case 4:case 5:return 97;case 3:case 2:case 1:return 95;case 0:return 90;default:throw Error(a(358,e))}}(t),n=Go(n,gu.bind(null,e))),e.callbackPriority=t,e.callbackNode=n}}function gu(e){if(iu=-1,lu=au=0,48&_l)throw Error(a(327));var t=e.callbackNode;if(Ou()&&e.callbackNode!==t)return null;var n=Dt(e,e===Tl?Il:0);if(0===n)return null;var r=n,o=_l;_l|=16;var i=Su();for(Tl===e&&Il===r||(Xl(),wu(e,r));;)try{Bu();break}catch(t){xu(e,t)}if(ni(),El.current=i,_l=o,null!==Ol?r=0:(Tl=null,Il=0,r=Fl),Rl&Nl)wu(e,0);else if(0!==r){if(2===r&&(_l|=64,e.hydrate&&(e.hydrate=!1,$r(e.containerInfo)),0!==(n=Rt(e))&&(r=Cu(e,n))),1===r)throw t=Dl,wu(e,0),yu(e,n),hu(e,Wo()),t;switch(e.finishedWork=e.current.alternate,e.finishedLanes=n,r){case 0:case 1:throw Error(a(345));case 2:case 5:Au(e);break;case 3:if(yu(e,n),(62914560&n)===n&&10<(r=Wl+500-Wo())){if(0!==Dt(e,0))break;if(((o=e.suspendedLanes)&n)!==n){cu(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=Yr(Au.bind(null,e),r);break}Au(e);break;case 4:if(yu(e,n),(4186112&n)===n)break;for(r=e.eventTimes,o=-1;0<n;){var l=31-Wt(n);i=1<<l,(l=r[l])>o&&(o=l),n&=~i}if(n=o,10<(n=(120>(n=Wo()-n)?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*Ll(n/1960))-n)){e.timeoutHandle=Yr(Au.bind(null,e),n);break}Au(e);break;default:throw Error(a(329))}}return hu(e,Wo()),e.callbackNode===t?gu.bind(null,e):null}function yu(e,t){for(t&=~jl,t&=~Nl,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Wt(t),r=1<<n;e[n]=-1,t&=~r}}function mu(e){if(48&_l)throw Error(a(327));if(Ou(),e===Tl&&e.expiredLanes&Il){var t=Il,n=Cu(e,t);Rl&Nl&&(n=Cu(e,t=Dt(e,t)))}else n=Cu(e,t=Dt(e,0));if(0!==e.tag&&2===n&&(_l|=64,e.hydrate&&(e.hydrate=!1,$r(e.containerInfo)),0!==(t=Rt(e))&&(n=Cu(e,t))),1===n)throw n=Dl,wu(e,0),yu(e,t),hu(e,Wo()),n;return e.finishedWork=e.current.alternate,e.finishedLanes=t,Au(e),hu(e,Wo()),null}function bu(e,t){var n=_l;_l&=-2,_l|=8;try{return e(t)}finally{0===(_l=n)&&(Xl(),Vo())}}function vu(e,t){co(Hl,Ml),Ml|=t,Rl|=t}function ku(){Ml=Hl.current,so(Hl)}function wu(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,Xr(n)),null!==Ol)for(n=Ol.return;null!==n;){var r=n;switch(r.tag){case 1:null!=(r=r.type.childContextTypes)&&bo();break;case 3:Mi(),so(ho),so(po),qi();break;case 5:Fi(r);break;case 4:Mi();break;case 13:case 19:so(Di);break;case 10:ri(r);break;case 23:case 24:ku()}n=n.return}Tl=e,Ol=Wu(e.current,null),Il=Ml=Rl=t,Fl=0,Dl=null,jl=Nl=zl=0}function xu(e,t){for(;;){var n=Ol;try{if(ni(),Ki.current=Ta,na){for(var r=Zi.memoizedState;null!==r;){var o=r.queue;null!==o&&(o.pending=null),r=r.next}na=!1}if(Ji=0,ta=ea=Zi=null,ra=!1,Al.current=null,null===n||null===n.return){Fl=1,Dl=t,Ol=null;break}e:{var i=e,a=n.return,l=n,u=t;if(t=Il,l.flags|=2048,l.firstEffect=l.lastEffect=null,null!==u&&"object"==typeof u&&"function"==typeof u.then){var s=u;if(!(2&l.mode)){var c=l.alternate;c?(l.updateQueue=c.updateQueue,l.memoizedState=c.memoizedState,l.lanes=c.lanes):(l.updateQueue=null,l.memoizedState=null)}var f=!!(1&Di.current),d=a;do{var p;if(p=13===d.tag){var h=d.memoizedState;if(null!==h)p=null!==h.dehydrated;else{var g=d.memoizedProps;p=void 0!==g.fallback&&(!0!==g.unstable_avoidThisFallback||!f)}}if(p){var y=d.updateQueue;if(null===y){var m=new Set;m.add(s),d.updateQueue=m}else y.add(s);if(!(2&d.mode)){if(d.flags|=64,l.flags|=16384,l.flags&=-2981,1===l.tag)if(null===l.alternate)l.tag=17;else{var b=ci(-1,1);b.tag=2,fi(l,b)}l.lanes|=1;break e}u=void 0,l=t;var v=i.pingCache;if(null===v?(v=i.pingCache=new sl,u=new Set,v.set(s,u)):void 0===(u=v.get(s))&&(u=new Set,v.set(s,u)),!u.has(l)){u.add(l);var k=Ru.bind(null,i,s,l);s.then(k,k)}d.flags|=4096,d.lanes=t;break e}d=d.return}while(null!==d);u=Error((G(l.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display.")}5!==Fl&&(Fl=2),u=ll(u,l),d=a;do{switch(d.tag){case 3:i=u,d.flags|=4096,t&=-t,d.lanes|=t,di(d,cl(0,i,t));break e;case 1:i=u;var w=d.type,x=d.stateNode;if(!(64&d.flags||"function"!=typeof w.getDerivedStateFromError&&(null===x||"function"!=typeof x.componentDidCatch||null!==Kl&&Kl.has(x)))){d.flags|=4096,t&=-t,d.lanes|=t,di(d,fl(d,i,t));break e}}d=d.return}while(null!==d)}Eu(n)}catch(e){t=e,Ol===n&&null!==n&&(Ol=n=n.return);continue}break}}function Su(){var e=El.current;return El.current=Ta,null===e?Ta:e}function Cu(e,t){var n=_l;_l|=16;var r=Su();for(Tl===e&&Il===t||wu(e,t);;)try{Pu();break}catch(t){xu(e,t)}if(ni(),_l=n,El.current=r,null!==Ol)throw Error(a(261));return Tl=null,Il=0,Fl}function Pu(){for(;null!==Ol;)Lu(Ol)}function Bu(){for(;null!==Ol&&!Eo();)Lu(Ol)}function Lu(e){var t=$l(e.alternate,e,Ml);e.memoizedProps=e.pendingProps,null===t?Eu(e):Ol=t,Al.current=null}function Eu(e){var t=e;do{var n=t.alternate;if(e=t.return,2048&t.flags){if(null!==(n=al(t)))return n.flags&=2047,void(Ol=n);null!==e&&(e.firstEffect=e.lastEffect=null,e.flags|=2048)}else{if(null!==(n=il(n,t,Ml)))return void(Ol=n);if(24!==(n=t).tag&&23!==n.tag||null===n.memoizedState||1073741824&Ml||!(4&n.mode)){for(var r=0,o=n.child;null!==o;)r|=o.lanes|o.childLanes,o=o.sibling;n.childLanes=r}null!==e&&!(2048&e.flags)&&(null===e.firstEffect&&(e.firstEffect=t.firstEffect),null!==t.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=t.firstEffect),e.lastEffect=t.lastEffect),1<t.flags&&(null!==e.lastEffect?e.lastEffect.nextEffect=t:e.firstEffect=t,e.lastEffect=t))}if(null!==(t=t.sibling))return void(Ol=t);Ol=t=e}while(null!==t);0===Fl&&(Fl=5)}function Au(e){var t=Yo();return $o(99,_u.bind(null,e,t)),null}function _u(e,t){do{Ou()}while(null!==Jl);if(48&_l)throw Error(a(327));var n=e.finishedWork;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(a(177));e.callbackNode=null;var r=n.lanes|n.childLanes,o=r,i=e.pendingLanes&~o;e.pendingLanes=o,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=o,e.mutableReadLanes&=o,e.entangledLanes&=o,o=e.entanglements;for(var l=e.eventTimes,u=e.expirationTimes;0<i;){var s=31-Wt(i),c=1<<s;o[s]=0,l[s]=-1,u[s]=-1,i&=~c}if(null!==nu&&!(24&r)&&nu.has(e)&&nu.delete(e),e===Tl&&(Ol=Tl=null,Il=0),1<n.flags?null!==n.lastEffect?(n.lastEffect.nextEffect=n,r=n.firstEffect):r=n:r=n.firstEffect,null!==r){if(o=_l,_l|=32,Al.current=null,Nr=Vt,yr(l=gr())){if("selectionStart"in l)u={start:l.selectionStart,end:l.selectionEnd};else e:if(u=(u=l.ownerDocument)&&u.defaultView||window,(c=u.getSelection&&u.getSelection())&&0!==c.rangeCount){u=c.anchorNode,i=c.anchorOffset,s=c.focusNode,c=c.focusOffset;try{u.nodeType,s.nodeType}catch(e){u=null;break e}var f=0,d=-1,p=-1,h=0,g=0,y=l,m=null;t:for(;;){for(var b;y!==u||0!==i&&3!==y.nodeType||(d=f+i),y!==s||0!==c&&3!==y.nodeType||(p=f+c),3===y.nodeType&&(f+=y.nodeValue.length),null!==(b=y.firstChild);)m=y,y=b;for(;;){if(y===l)break t;if(m===u&&++h===i&&(d=f),m===s&&++g===c&&(p=f),null!==(b=y.nextSibling))break;m=(y=m).parentNode}y=b}u=-1===d||-1===p?null:{start:d,end:p}}else u=null;u=u||{start:0,end:0}}else u=null;jr={focusedElem:l,selectionRange:u},Vt=!1,uu=null,su=!1,Gl=r;do{try{Tu()}catch(e){if(null===Gl)throw Error(a(330));Du(Gl,e),Gl=Gl.nextEffect}}while(null!==Gl);uu=null,Gl=r;do{try{for(l=e;null!==Gl;){var v=Gl.flags;if(16&v&&me(Gl.stateNode,""),128&v){var k=Gl.alternate;if(null!==k){var w=k.ref;null!==w&&("function"==typeof w?w(null):w.current=null)}}switch(1038&v){case 2:kl(Gl),Gl.flags&=-3;break;case 6:kl(Gl),Gl.flags&=-3,Cl(Gl.alternate,Gl);break;case 1024:Gl.flags&=-1025;break;case 1028:Gl.flags&=-1025,Cl(Gl.alternate,Gl);break;case 4:Cl(Gl.alternate,Gl);break;case 8:Sl(l,u=Gl);var x=u.alternate;bl(u),null!==x&&bl(x)}Gl=Gl.nextEffect}}catch(e){if(null===Gl)throw Error(a(330));Du(Gl,e),Gl=Gl.nextEffect}}while(null!==Gl);if(w=jr,k=gr(),v=w.focusedElem,l=w.selectionRange,k!==v&&v&&v.ownerDocument&&hr(v.ownerDocument.documentElement,v)){null!==l&&yr(v)&&(k=l.start,void 0===(w=l.end)&&(w=k),"selectionStart"in v?(v.selectionStart=k,v.selectionEnd=Math.min(w,v.value.length)):(w=(k=v.ownerDocument||document)&&k.defaultView||window).getSelection&&(w=w.getSelection(),u=v.textContent.length,x=Math.min(l.start,u),l=void 0===l.end?x:Math.min(l.end,u),!w.extend&&x>l&&(u=l,l=x,x=u),u=pr(v,x),i=pr(v,l),u&&i&&(1!==w.rangeCount||w.anchorNode!==u.node||w.anchorOffset!==u.offset||w.focusNode!==i.node||w.focusOffset!==i.offset)&&((k=k.createRange()).setStart(u.node,u.offset),w.removeAllRanges(),x>l?(w.addRange(k),w.extend(i.node,i.offset)):(k.setEnd(i.node,i.offset),w.addRange(k))))),k=[];for(w=v;w=w.parentNode;)1===w.nodeType&&k.push({element:w,left:w.scrollLeft,top:w.scrollTop});for("function"==typeof v.focus&&v.focus(),v=0;v<k.length;v++)(w=k[v]).element.scrollLeft=w.left,w.element.scrollTop=w.top}Vt=!!Nr,jr=Nr=null,e.current=n,Gl=r;do{try{for(v=e;null!==Gl;){var S=Gl.flags;if(36&S&&gl(v,Gl.alternate,Gl),128&S){k=void 0;var C=Gl.ref;if(null!==C){var P=Gl.stateNode;Gl.tag,k=P,"function"==typeof C?C(k):C.current=k}}Gl=Gl.nextEffect}}catch(e){if(null===Gl)throw Error(a(330));Du(Gl,e),Gl=Gl.nextEffect}}while(null!==Gl);Gl=null,Ro(),_l=o}else e.current=n;if(Ql)Ql=!1,Jl=e,Zl=t;else for(Gl=r;null!==Gl;)t=Gl.nextEffect,Gl.nextEffect=null,8&Gl.flags&&((S=Gl).sibling=null,S.stateNode=null),Gl=t;if(0===(r=e.pendingLanes)&&(Kl=null),1===r?e===ou?ru++:(ru=0,ou=e):ru=0,n=n.stateNode,Co&&"function"==typeof Co.onCommitFiberRoot)try{Co.onCommitFiberRoot(So,n,void 0,!(64&~n.current.flags))}catch(e){}if(hu(e,Wo()),Vl)throw Vl=!1,e=ql,ql=null,e;return 8&_l||Vo(),null}function Tu(){for(;null!==Gl;){var e=Gl.alternate;su||null===uu||(8&Gl.flags?Ze(Gl,uu)&&(su=!0):13===Gl.tag&&Bl(e,Gl)&&Ze(Gl,uu)&&(su=!0));var t=Gl.flags;256&t&&hl(e,Gl),!(512&t)||Ql||(Ql=!0,Go(97,(function(){return Ou(),null}))),Gl=Gl.nextEffect}}function Ou(){if(90!==Zl){var e=97<Zl?97:Zl;return Zl=90,$o(e,Hu)}return!1}function Iu(e,t){eu.push(t,e),Ql||(Ql=!0,Go(97,(function(){return Ou(),null})))}function Mu(e,t){tu.push(t,e),Ql||(Ql=!0,Go(97,(function(){return Ou(),null})))}function Hu(){if(null===Jl)return!1;var e=Jl;if(Jl=null,48&_l)throw Error(a(331));var t=_l;_l|=32;var n=tu;tu=[];for(var r=0;r<n.length;r+=2){var o=n[r],i=n[r+1],l=o.destroy;if(o.destroy=void 0,"function"==typeof l)try{l()}catch(e){if(null===i)throw Error(a(330));Du(i,e)}}for(n=eu,eu=[],r=0;r<n.length;r+=2){o=n[r],i=n[r+1];try{var u=o.create;o.destroy=u()}catch(e){if(null===i)throw Error(a(330));Du(i,e)}}for(u=e.current.firstEffect;null!==u;)e=u.nextEffect,u.nextEffect=null,8&u.flags&&(u.sibling=null,u.stateNode=null),u=e;return _l=t,Vo(),!0}function Fu(e,t,n){fi(e,t=cl(0,t=ll(n,t),1)),t=cu(),null!==(e=pu(e,1))&&(Ut(e,1,t),hu(e,t))}function Du(e,t){if(3===e.tag)Fu(e,e,t);else for(var n=e.return;null!==n;){if(3===n.tag){Fu(n,e,t);break}if(1===n.tag){var r=n.stateNode;if("function"==typeof n.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Kl||!Kl.has(r))){var o=fl(n,e=ll(t,e),1);if(fi(n,o),o=cu(),null!==(n=pu(n,1)))Ut(n,1,o),hu(n,o);else if("function"==typeof r.componentDidCatch&&(null===Kl||!Kl.has(r)))try{r.componentDidCatch(t,e)}catch(e){}break}}n=n.return}}function Ru(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=cu(),e.pingedLanes|=e.suspendedLanes&n,Tl===e&&(Il&n)===n&&(4===Fl||3===Fl&&(62914560&Il)===Il&&500>Wo()-Wl?wu(e,0):jl|=n),hu(e,t)}function zu(e,t){var n=e.stateNode;null!==n&&n.delete(t),0==(t=0)&&(2&(t=e.mode)?4&t?(0===au&&(au=Rl),0===(t=Nt(62914560&~au))&&(t=4194304)):t=99===Yo()?1:2:t=1),n=cu(),null!==(e=pu(e,t))&&(Ut(e,t,n),hu(e,n))}function Nu(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.flags=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childLanes=this.lanes=0,this.alternate=null}function ju(e,t,n,r){return new Nu(e,t,n,r)}function Uu(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Wu(e,t){var n=e.alternate;return null===n?((n=ju(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Yu(e,t,n,r,o,i){var l=2;if(r=e,"function"==typeof e)Uu(e)&&(l=1);else if("string"==typeof e)l=5;else e:switch(e){case C:return Xu(n.children,o,i,t);case F:l=8,o|=16;break;case P:l=8,o|=1;break;case B:return(e=ju(12,n,t,8|o)).elementType=B,e.type=B,e.lanes=i,e;case _:return(e=ju(13,n,t,o)).type=_,e.elementType=_,e.lanes=i,e;case T:return(e=ju(19,n,t,o)).elementType=T,e.lanes=i,e;case D:return $u(n,o,i,t);case R:return(e=ju(24,n,t,o)).elementType=R,e.lanes=i,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case L:l=10;break e;case E:l=9;break e;case A:l=11;break e;case O:l=14;break e;case I:l=16,r=null;break e;case M:l=22;break e}throw Error(a(130,null==e?e:typeof e,""))}return(t=ju(l,n,t,o)).elementType=e,t.type=r,t.lanes=i,t}function Xu(e,t,n,r){return(e=ju(7,e,r,t)).lanes=n,e}function $u(e,t,n,r){return(e=ju(23,e,r,t)).elementType=D,e.lanes=n,e}function Gu(e,t,n){return(e=ju(6,e,null,t)).lanes=n,e}function Vu(e,t,n){return(t=ju(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function qu(e,t,n){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=n,this.callbackNode=null,this.callbackPriority=0,this.eventTimes=jt(0),this.expirationTimes=jt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=jt(0),this.mutableSourceEagerHydrationData=null}function Ku(e,t,n,r){var o=t.current,i=cu(),l=fu(o);e:if(n){t:{if(qe(n=n._reactInternals)!==n||1!==n.tag)throw Error(a(170));var u=n;do{switch(u.tag){case 3:u=u.stateNode.context;break t;case 1:if(mo(u.type)){u=u.stateNode.__reactInternalMemoizedMergedChildContext;break t}}u=u.return}while(null!==u);throw Error(a(171))}if(1===n.tag){var s=n.type;if(mo(s)){n=ko(n,s,u);break e}}n=u}else n=fo;return null===t.context?t.context=n:t.pendingContext=n,(t=ci(i,l)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),fi(o,t),du(o,l,i),l}function Qu(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Ju(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function Zu(e,t){Ju(e,t),(e=e.alternate)&&Ju(e,t)}function es(e,t,n){var r=null!=n&&null!=n.hydrationOptions&&n.hydrationOptions.mutableSources||null;if(n=new qu(e,t,null!=n&&!0===n.hydrate),t=ju(3,null,null,2===t?7:1===t?3:0),n.current=t,t.stateNode=n,ui(t),e[Zr]=n.current,Tr(8===e.nodeType?e.parentNode:e),r)for(e=0;e<r.length;e++){var o=(t=r[e])._getVersion;o=o(t._source),null==n.mutableSourceEagerHydrationData?n.mutableSourceEagerHydrationData=[t,o]:n.mutableSourceEagerHydrationData.push(t,o)}this._internalRoot=n}function ts(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function ns(e,t,n,r,o){var i=n._reactRootContainer;if(i){var a=i._internalRoot;if("function"==typeof o){var l=o;o=function(){var e=Qu(a);l.call(e)}}Ku(t,a,e,o)}else{if(i=n._reactRootContainer=function(e,t){if(t||(t=!(!(t=e?9===e.nodeType?e.documentElement:e.firstChild:null)||1!==t.nodeType||!t.hasAttribute("data-reactroot"))),!t)for(var n;n=e.lastChild;)e.removeChild(n);return new es(e,0,t?{hydrate:!0}:void 0)}(n,r),a=i._internalRoot,"function"==typeof o){var u=o;o=function(){var e=Qu(a);u.call(e)}}bu((function(){Ku(t,a,e,o)}))}return Qu(a)}$l=function(e,t,n){var r=t.lanes;if(null!==e)if(e.memoizedProps!==t.pendingProps||ho.current)Fa=!0;else{if(!(n&r)){switch(Fa=!1,t.tag){case 3:$a(t),Gi();break;case 5:Hi(t);break;case 1:mo(t.type)&&wo(t);break;case 4:Ii(t,t.stateNode.containerInfo);break;case 10:r=t.memoizedProps.value;var o=t.type._context;co(Jo,o._currentValue),o._currentValue=r;break;case 13:if(null!==t.memoizedState)return n&t.child.childLanes?Ja(e,t,n):(co(Di,1&Di.current),null!==(t=rl(e,t,n))?t.sibling:null);co(Di,1&Di.current);break;case 19:if(r=!!(n&t.childLanes),64&e.flags){if(r)return nl(e,t,n);t.flags|=64}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),co(Di,Di.current),r)break;return null;case 23:case 24:return t.lanes=0,ja(e,t,n)}return rl(e,t,n)}Fa=!!(16384&e.flags)}else Fa=!1;switch(t.lanes=0,t.tag){case 2:if(r=t.type,null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,o=yo(t,po.current),ii(t,n),o=aa(null,t,r,e,o,n),t.flags|=1,"object"==typeof o&&null!==o&&"function"==typeof o.render&&void 0===o.$$typeof){if(t.tag=1,t.memoizedState=null,t.updateQueue=null,mo(r)){var i=!0;wo(t)}else i=!1;t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,ui(t);var l=r.getDerivedStateFromProps;"function"==typeof l&&yi(t,r,l,e),o.updater=mi,t.stateNode=o,o._reactInternals=t,wi(t,r,e,n),t=Xa(null,t,r,!0,i,n)}else t.tag=0,Da(null,t,o,n),t=t.child;return t;case 16:o=t.elementType;e:{switch(null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,o=(i=o._init)(o._payload),t.type=o,i=t.tag=function(e){if("function"==typeof e)return Uu(e)?1:0;if(null!=e){if((e=e.$$typeof)===A)return 11;if(e===O)return 14}return 2}(o),e=Qo(o,e),i){case 0:t=Wa(null,t,o,e,n);break e;case 1:t=Ya(null,t,o,e,n);break e;case 11:t=Ra(null,t,o,e,n);break e;case 14:t=za(null,t,o,Qo(o.type,e),r,n);break e}throw Error(a(306,o,""))}return t;case 0:return r=t.type,o=t.pendingProps,Wa(e,t,r,o=t.elementType===r?o:Qo(r,o),n);case 1:return r=t.type,o=t.pendingProps,Ya(e,t,r,o=t.elementType===r?o:Qo(r,o),n);case 3:if($a(t),r=t.updateQueue,null===e||null===r)throw Error(a(282));if(r=t.pendingProps,o=null!==(o=t.memoizedState)?o.element:null,si(e,t),pi(t,r,null,n),(r=t.memoizedState.element)===o)Gi(),t=rl(e,t,n);else{if((i=(o=t.stateNode).hydrate)&&(Ni=Gr(t.stateNode.containerInfo.firstChild),zi=t,i=ji=!0),i){if(null!=(e=o.mutableSourceEagerHydrationData))for(o=0;o<e.length;o+=2)(i=e[o])._workInProgressVersionPrimary=e[o+1],Vi.push(i);for(n=Li(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|1024,n=n.sibling}else Da(e,t,r,n),Gi();t=t.child}return t;case 5:return Hi(t),null===e&&Yi(t),r=t.type,o=t.pendingProps,i=null!==e?e.memoizedProps:null,l=o.children,Wr(r,o)?l=null:null!==i&&Wr(r,i)&&(t.flags|=16),Ua(e,t),Da(e,t,l,n),t.child;case 6:return null===e&&Yi(t),null;case 13:return Ja(e,t,n);case 4:return Ii(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Bi(t,null,r,n):Da(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,Ra(e,t,r,o=t.elementType===r?o:Qo(r,o),n);case 7:return Da(e,t,t.pendingProps,n),t.child;case 8:case 12:return Da(e,t,t.pendingProps.children,n),t.child;case 10:e:{r=t.type._context,o=t.pendingProps,l=t.memoizedProps,i=o.value;var u=t.type._context;if(co(Jo,u._currentValue),u._currentValue=i,null!==l)if(u=l.value,0==(i=sr(u,i)?0:0|("function"==typeof r._calculateChangedBits?r._calculateChangedBits(u,i):1073741823))){if(l.children===o.children&&!ho.current){t=rl(e,t,n);break e}}else for(null!==(u=t.child)&&(u.return=t);null!==u;){var s=u.dependencies;if(null!==s){l=u.child;for(var c=s.firstContext;null!==c;){if(c.context===r&&c.observedBits&i){1===u.tag&&((c=ci(-1,n&-n)).tag=2,fi(u,c)),u.lanes|=n,null!==(c=u.alternate)&&(c.lanes|=n),oi(u.return,n),s.lanes|=n;break}c=c.next}}else l=10===u.tag&&u.type===t.type?null:u.child;if(null!==l)l.return=u;else for(l=u;null!==l;){if(l===t){l=null;break}if(null!==(u=l.sibling)){u.return=l.return,l=u;break}l=l.return}u=l}Da(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=(i=t.pendingProps).children,ii(t,n),r=r(o=ai(o,i.unstable_observedBits)),t.flags|=1,Da(e,t,r,n),t.child;case 14:return i=Qo(o=t.type,t.pendingProps),za(e,t,o,i=Qo(o.type,i),r,n);case 15:return Na(e,t,t.type,t.pendingProps,r,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Qo(r,o),null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),t.tag=1,mo(r)?(e=!0,wo(t)):e=!1,ii(t,n),vi(t,r,o),wi(t,r,o,n),Xa(null,t,r,!0,e,n);case 19:return nl(e,t,n);case 23:case 24:return ja(e,t,n)}throw Error(a(156,t.tag))},es.prototype.render=function(e){Ku(e,this._internalRoot,null,null)},es.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;Ku(null,e,null,(function(){t[Zr]=null}))},et=function(e){13===e.tag&&(du(e,4,cu()),Zu(e,4))},tt=function(e){13===e.tag&&(du(e,67108864,cu()),Zu(e,67108864))},nt=function(e){if(13===e.tag){var t=cu(),n=fu(e);du(e,n,t),Zu(e,n)}},rt=function(e,t){return t()},Be=function(e,t,n){switch(t){case"input":if(ne(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=oo(r);if(!o)throw Error(a(90));Q(r),ne(r,o)}}}break;case"textarea":se(e,n);break;case"select":null!=(t=n.value)&&ae(e,!!n.multiple,t,!1)}},Oe=function(e,t){var n=_l;_l|=1;try{return e(t)}finally{0===(_l=n)&&(Xl(),Vo())}},Ie=function(e,t,n,r,o){var i=_l;_l|=4;try{return $o(98,e.bind(null,t,n,r,o))}finally{0===(_l=i)&&(Xl(),Vo())}},Me=function(){!(49&_l)&&(function(){if(null!==nu){var e=nu;nu=null,e.forEach((function(e){e.expiredLanes|=24&e.pendingLanes,hu(e,Wo())}))}Vo()}(),Ou())},He=function(e,t){var n=_l;_l|=2;try{return e(t)}finally{0===(_l=n)&&(Xl(),Vo())}};var rs={findFiberByHostInstance:to,bundleType:0,version:"17.0.2",rendererPackageName:"react-dom"},os={bundleType:rs.bundleType,version:rs.version,rendererPackageName:rs.rendererPackageName,rendererConfig:rs.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:w.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=Je(e))?null:e.stateNode},findFiberByHostInstance:rs.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var is=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!is.isDisabled&&is.supportsFiber)try{So=is.inject(os),Co=is}catch(ge){}}t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(a(188));throw Error(a(268,Object.keys(e)))}return null===(e=Je(t))?null:e.stateNode},t.render=function(e,t,n){if(!ts(t))throw Error(a(200));return ns(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!ts(e))throw Error(a(40));return!!e._reactRootContainer&&(bu((function(){ns(null,null,e,!1,(function(){e._reactRootContainer=null,e[Zr]=null}))})),!0)}},961:function(e,t,n){"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=n(551)},799:function(e,t){"use strict";var n=60103,r=60106,o=60107,i=60108,a=60114,l=60109,u=60110,s=60112,c=60113,f=60120,d=60115,p=60116;if("function"==typeof Symbol&&Symbol.for){var h=Symbol.for;n=h("react.element"),r=h("react.portal"),o=h("react.fragment"),i=h("react.strict_mode"),a=h("react.profiler"),l=h("react.provider"),u=h("react.context"),s=h("react.forward_ref"),c=h("react.suspense"),f=h("react.suspense_list"),d=h("react.memo"),p=h("react.lazy"),h("react.block"),h("react.server.block"),h("react.fundamental"),h("react.debug_trace_mode"),h("react.legacy_hidden")}t.isForwardRef=function(e){return function(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case o:case a:case i:case c:case f:return e;default:switch(e=e&&e.$$typeof){case u:case s:case p:case d:case l:return e;default:return t}}case r:return t}}}(e)===s}},744:function(e,t,n){"use strict";e.exports=n(799)},287:function(e,t,n){"use strict";var r=n(228),o=60103,i=60106;t.Fragment=60107,t.StrictMode=60108,t.Profiler=60114;var a=60109,l=60110,u=60112;t.Suspense=60113;var s=60115,c=60116;if("function"==typeof Symbol&&Symbol.for){var f=Symbol.for;o=f("react.element"),i=f("react.portal"),t.Fragment=f("react.fragment"),t.StrictMode=f("react.strict_mode"),t.Profiler=f("react.profiler"),a=f("react.provider"),l=f("react.context"),u=f("react.forward_ref"),t.Suspense=f("react.suspense"),s=f("react.memo"),c=f("react.lazy")}var d="function"==typeof Symbol&&Symbol.iterator;function p(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g={};function y(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||h}function m(){}function b(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||h}y.prototype.isReactComponent={},y.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(p(85));this.updater.enqueueSetState(this,e,t,"setState")},y.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},m.prototype=y.prototype;var v=b.prototype=new m;v.constructor=b,r(v,y.prototype),v.isPureReactComponent=!0;var k={current:null},w=Object.prototype.hasOwnProperty,x={key:!0,ref:!0,__self:!0,__source:!0};function S(e,t,n){var r,i={},a=null,l=null;if(null!=t)for(r in void 0!==t.ref&&(l=t.ref),void 0!==t.key&&(a=""+t.key),t)w.call(t,r)&&!x.hasOwnProperty(r)&&(i[r]=t[r]);var u=arguments.length-2;if(1===u)i.children=n;else if(1<u){for(var s=Array(u),c=0;c<u;c++)s[c]=arguments[c+2];i.children=s}if(e&&e.defaultProps)for(r in u=e.defaultProps)void 0===i[r]&&(i[r]=u[r]);return{$$typeof:o,type:e,key:a,ref:l,props:i,_owner:k.current}}function C(e){return"object"==typeof e&&null!==e&&e.$$typeof===o}var P=/\/+/g;function B(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function L(e,t,n,r,a){var l=typeof e;"undefined"!==l&&"boolean"!==l||(e=null);var u=!1;if(null===e)u=!0;else switch(l){case"string":case"number":u=!0;break;case"object":switch(e.$$typeof){case o:case i:u=!0}}if(u)return a=a(u=e),e=""===r?"."+B(u,0):r,Array.isArray(a)?(n="",null!=e&&(n=e.replace(P,"$&/")+"/"),L(a,t,n,"",(function(e){return e}))):null!=a&&(C(a)&&(a=function(e,t){return{$$typeof:o,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(a,n+(!a.key||u&&u.key===a.key?"":(""+a.key).replace(P,"$&/")+"/")+e)),t.push(a)),1;if(u=0,r=""===r?".":r+":",Array.isArray(e))for(var s=0;s<e.length;s++){var c=r+B(l=e[s],s);u+=L(l,t,n,c,a)}else if(c=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=d&&e[d]||e["@@iterator"])?e:null}(e),"function"==typeof c)for(e=c.call(e),s=0;!(l=e.next()).done;)u+=L(l=l.value,t,n,c=r+B(l,s++),a);else if("object"===l)throw t=""+e,Error(p(31,"[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t));return u}function E(e,t,n){if(null==e)return e;var r=[],o=0;return L(e,r,"","",(function(e){return t.call(n,e,o++)})),r}function A(e){if(-1===e._status){var t=e._result;t=t(),e._status=0,e._result=t,t.then((function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)}),(function(t){0===e._status&&(e._status=2,e._result=t)}))}if(1===e._status)return e._result;throw e._result}var _={current:null};function T(){var e=_.current;if(null===e)throw Error(p(321));return e}var O={ReactCurrentDispatcher:_,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:k,IsSomeRendererActing:{current:!1},assign:r};t.Children={map:E,forEach:function(e,t,n){E(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return E(e,(function(){t++})),t},toArray:function(e){return E(e,(function(e){return e}))||[]},only:function(e){if(!C(e))throw Error(p(143));return e}},t.Component=y,t.PureComponent=b,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=O,t.cloneElement=function(e,t,n){if(null==e)throw Error(p(267,e));var i=r({},e.props),a=e.key,l=e.ref,u=e._owner;if(null!=t){if(void 0!==t.ref&&(l=t.ref,u=k.current),void 0!==t.key&&(a=""+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(c in t)w.call(t,c)&&!x.hasOwnProperty(c)&&(i[c]=void 0===t[c]&&void 0!==s?s[c]:t[c])}var c=arguments.length-2;if(1===c)i.children=n;else if(1<c){s=Array(c);for(var f=0;f<c;f++)s[f]=arguments[f+2];i.children=s}return{$$typeof:o,type:e.type,key:a,ref:l,props:i,_owner:u}},t.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:l,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:a,_context:e},e.Consumer=e},t.createElement=S,t.createFactory=function(e){var t=S.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:u,render:e}},t.isValidElement=C,t.lazy=function(e){return{$$typeof:c,_payload:{_status:-1,_result:e},_init:A}},t.memo=function(e,t){return{$$typeof:s,type:e,compare:void 0===t?null:t}},t.useCallback=function(e,t){return T().useCallback(e,t)},t.useContext=function(e,t){return T().useContext(e,t)},t.useDebugValue=function(){},t.useEffect=function(e,t){return T().useEffect(e,t)},t.useImperativeHandle=function(e,t,n){return T().useImperativeHandle(e,t,n)},t.useLayoutEffect=function(e,t){return T().useLayoutEffect(e,t)},t.useMemo=function(e,t){return T().useMemo(e,t)},t.useReducer=function(e,t,n){return T().useReducer(e,t,n)},t.useRef=function(e){return T().useRef(e)},t.useState=function(e){return T().useState(e)},t.version="17.0.2"},540:function(e,t,n){"use strict";e.exports=n(287)},463:function(e,t){"use strict";var n,r,o,i;if("object"==typeof performance&&"function"==typeof performance.now){var a=performance;t.unstable_now=function(){return a.now()}}else{var l=Date,u=l.now();t.unstable_now=function(){return l.now()-u}}if("undefined"==typeof window||"function"!=typeof MessageChannel){var s=null,c=null,f=function(){if(null!==s)try{var e=t.unstable_now();s(!0,e),s=null}catch(e){throw setTimeout(f,0),e}};n=function(e){null!==s?setTimeout(n,0,e):(s=e,setTimeout(f,0))},r=function(e,t){c=setTimeout(e,t)},o=function(){clearTimeout(c)},t.unstable_shouldYield=function(){return!1},i=t.unstable_forceFrameRate=function(){}}else{var d=window.setTimeout,p=window.clearTimeout;if("undefined"!=typeof console){var h=window.cancelAnimationFrame;"function"!=typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),"function"!=typeof h&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills")}var g=!1,y=null,m=-1,b=5,v=0;t.unstable_shouldYield=function(){return t.unstable_now()>=v},i=function(){},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):b=0<e?Math.floor(1e3/e):5};var k=new MessageChannel,w=k.port2;k.port1.onmessage=function(){if(null!==y){var e=t.unstable_now();v=e+b;try{y(!0,e)?w.postMessage(null):(g=!1,y=null)}catch(e){throw w.postMessage(null),e}}else g=!1},n=function(e){y=e,g||(g=!0,w.postMessage(null))},r=function(e,n){m=d((function(){e(t.unstable_now())}),n)},o=function(){p(m),m=-1}}function x(e,t){var n=e.length;e.push(t);e:for(;;){var r=n-1>>>1,o=e[r];if(!(void 0!==o&&0<P(o,t)))break e;e[r]=t,e[n]=o,n=r}}function S(e){return void 0===(e=e[0])?null:e}function C(e){var t=e[0];if(void 0!==t){var n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,o=e.length;r<o;){var i=2*(r+1)-1,a=e[i],l=i+1,u=e[l];if(void 0!==a&&0>P(a,n))void 0!==u&&0>P(u,a)?(e[r]=u,e[l]=n,r=l):(e[r]=a,e[i]=n,r=i);else{if(!(void 0!==u&&0>P(u,n)))break e;e[r]=u,e[l]=n,r=l}}}return t}return null}function P(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var B=[],L=[],E=1,A=null,_=3,T=!1,O=!1,I=!1;function M(e){for(var t=S(L);null!==t;){if(null===t.callback)C(L);else{if(!(t.startTime<=e))break;C(L),t.sortIndex=t.expirationTime,x(B,t)}t=S(L)}}function H(e){if(I=!1,M(e),!O)if(null!==S(B))O=!0,n(F);else{var t=S(L);null!==t&&r(H,t.startTime-e)}}function F(e,n){O=!1,I&&(I=!1,o()),T=!0;var i=_;try{for(M(n),A=S(B);null!==A&&(!(A.expirationTime>n)||e&&!t.unstable_shouldYield());){var a=A.callback;if("function"==typeof a){A.callback=null,_=A.priorityLevel;var l=a(A.expirationTime<=n);n=t.unstable_now(),"function"==typeof l?A.callback=l:A===S(B)&&C(B),M(n)}else C(B);A=S(B)}if(null!==A)var u=!0;else{var s=S(L);null!==s&&r(H,s.startTime-n),u=!1}return u}finally{A=null,_=i,T=!1}}var D=i;t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){O||T||(O=!0,n(F))},t.unstable_getCurrentPriorityLevel=function(){return _},t.unstable_getFirstCallbackNode=function(){return S(B)},t.unstable_next=function(e){switch(_){case 1:case 2:case 3:var t=3;break;default:t=_}var n=_;_=t;try{return e()}finally{_=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=D,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=_;_=e;try{return t()}finally{_=n}},t.unstable_scheduleCallback=function(e,i,a){var l=t.unstable_now();switch(a="object"==typeof a&&null!==a&&"number"==typeof(a=a.delay)&&0<a?l+a:l,e){case 1:var u=-1;break;case 2:u=250;break;case 5:u=1073741823;break;case 4:u=1e4;break;default:u=5e3}return e={id:E++,callback:i,priorityLevel:e,startTime:a,expirationTime:u=a+u,sortIndex:-1},a>l?(e.sortIndex=a,x(L,e),null===S(B)&&e===S(L)&&(I?o():I=!0,r(H,a-l))):(e.sortIndex=u,x(B,e),O||T||(O=!0,n(F))),e},t.unstable_wrapCallback=function(e){var t=_;return function(){var n=_;_=t;try{return e.apply(this,arguments)}finally{_=n}}}},982:function(e,t,n){"use strict";e.exports=n(463)},98:function(e,t,n){"use strict";n.r(t);var r=n(72),o=n.n(r),i=n(825),a=n.n(i),l=n(659),u=n.n(l),s=n(56),c=n.n(s),f=n(159),d=n.n(f),p=n(113),h=n.n(p),g=n(671),y={};y.styleTagTransform=h(),y.setAttributes=c(),y.insert=u().bind(null,"head"),y.domAPI=a(),y.insertStyleElement=d(),o()(g.A,y),t.default=g.A&&g.A.locals?g.A.locals:void 0},790:function(e,t,n){"use strict";n.r(t);var r=n(72),o=n.n(r),i=n(825),a=n.n(i),l=n(659),u=n.n(l),s=n(56),c=n.n(s),f=n(159),d=n.n(f),p=n(113),h=n.n(p),g=n(943),y={};y.styleTagTransform=h(),y.setAttributes=c(),y.insert=u().bind(null,"head"),y.domAPI=a(),y.insertStyleElement=d(),o()(g.A,y),t.default=g.A&&g.A.locals?g.A.locals:void 0},178:function(e,t,n){"use strict";n.r(t);var r=n(72),o=n.n(r),i=n(825),a=n.n(i),l=n(659),u=n.n(l),s=n(56),c=n.n(s),f=n(159),d=n.n(f),p=n(113),h=n.n(p),g=n(919),y={};y.styleTagTransform=h(),y.setAttributes=c(),y.insert=u().bind(null,"head"),y.domAPI=a(),y.insertStyleElement=d(),o()(g.A,y),t.default=g.A&&g.A.locals?g.A.locals:void 0},72:function(e){"use strict";var t=[];function n(e){for(var n=-1,r=0;r<t.length;r++)if(t[r].identifier===e){n=r;break}return n}function r(e,r){for(var i={},a=[],l=0;l<e.length;l++){var u=e[l],s=r.base?u[0]+r.base:u[0],c=i[s]||0,f="".concat(s," ").concat(c);i[s]=c+1;var d=n(f),p={css:u[1],media:u[2],sourceMap:u[3],supports:u[4],layer:u[5]};if(-1!==d)t[d].references++,t[d].updater(p);else{var h=o(p,r);r.byIndex=l,t.splice(l,0,{identifier:f,updater:h,references:1})}a.push(f)}return a}function o(e,t){var n=t.domAPI(t);return n.update(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,o){var i=r(e=e||[],o=o||{});return function(e){e=e||[];for(var a=0;a<i.length;a++){var l=n(i[a]);t[l].references--}for(var u=r(e,o),s=0;s<i.length;s++){var c=n(i[s]);0===t[c].references&&(t[c].updater(),t.splice(c,1))}i=u}}},659:function(e){"use strict";var t={};e.exports=function(e,n){var r=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(n)}},159:function(e){"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},56:function(e,t,n){"use strict";e.exports=function(e){var t=n.nc;t&&e.setAttribute("nonce",t)}},825:function(e){"use strict";e.exports=function(e){var t=e.insertStyleElement(e);return{update:function(n){!function(e,t,n){var r="";n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var o=void 0!==n.layer;o&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,o&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}");var i=n.sourceMap;i&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),t.styleTagTransform(r,e,t.options)}(t,e,n)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},113:function(e){"use strict";e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},771:function(e){"use strict";e.exports=function(){}},353:function(e,t,n){var r,o=n(967),i=(r=n(98),r&&r.__esModule?r:{default:r}).default,a=o.bind(i);for(var l in i)i.hasOwnProperty(l)&&("function"==typeof Object.defineProperty?Object.defineProperty(a,l,{value:i[l]}):a[l]=i[l]);e.exports=a},142:function(e,t,n){var r,o=n(967),i=(r=n(790),r&&r.__esModule?r:{default:r}).default,a=o.bind(i);for(var l in i)i.hasOwnProperty(l)&&("function"==typeof Object.defineProperty?Object.defineProperty(a,l,{value:i[l]}):a[l]=i[l]);e.exports=a},41:function(e,t,n){var r,o=n(967),i=(r=n(178),r&&r.__esModule?r:{default:r}).default,a=o.bind(i);for(var l in i)i.hasOwnProperty(l)&&("function"==typeof Object.defineProperty?Object.defineProperty(a,l,{value:i[l]}):a[l]=i[l]);e.exports=a},555:function(e,t){function n(e){if(e)return function(e){for(var t in n.prototype)e[t]=n.prototype[t];return e}(e)}t.v=n,n.prototype.on=n.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks["$"+e]=this._callbacks["$"+e]||[]).push(t),this},n.prototype.once=function(e,t){function n(){this.off(e,n),t.apply(this,arguments)}return n.fn=t,this.on(e,n),this},n.prototype.off=n.prototype.removeListener=n.prototype.removeAllListeners=n.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var n,r=this._callbacks["$"+e];if(!r)return this;if(1==arguments.length)return delete this._callbacks["$"+e],this;for(var o=0;o<r.length;o++)if((n=r[o])===t||n.fn===t){r.splice(o,1);break}return 0===r.length&&delete this._callbacks["$"+e],this},n.prototype.emit=function(e){this._callbacks=this._callbacks||{};for(var t=new Array(arguments.length-1),n=this._callbacks["$"+e],r=1;r<arguments.length;r++)t[r-1]=arguments[r];if(n){r=0;for(var o=(n=n.slice(0)).length;r<o;++r)n[r].apply(this,t)}return this},n.prototype.emitReserved=n.prototype.emit,n.prototype.listeners=function(e){return this._callbacks=this._callbacks||{},this._callbacks["$"+e]||[]},n.prototype.hasListeners=function(e){return!!this.listeners(e).length}},959:function(e){function t(e){e=e||{},this.ms=e.min||100,this.max=e.max||1e4,this.factor=e.factor||2,this.jitter=e.jitter>0&&e.jitter<=1?e.jitter:0,this.attempts=0}e.exports=t,t.prototype.duration=function(){var e=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var t=Math.random(),n=Math.floor(t*this.jitter*e);e=1&Math.floor(10*t)?e+n:e-n}return 0|Math.min(e,this.max)},t.prototype.reset=function(){this.attempts=0},t.prototype.setMin=function(e){this.ms=e},t.prototype.setMax=function(e){this.max=e},t.prototype.setJitter=function(e){this.jitter=e}},363:function(e){try{e.exports="undefined"!=typeof XMLHttpRequest&&"withCredentials"in new XMLHttpRequest}catch(t){e.exports=!1}},608:function(e,t){t.encode=function(e){var t="";for(var n in e)e.hasOwnProperty(n)&&(t.length&&(t+="&"),t+=encodeURIComponent(n)+"="+encodeURIComponent(e[n]));return t},t.decode=function(e){for(var t={},n=e.split("&"),r=0,o=n.length;r<o;r++){var i=n[r].split("=");t[decodeURIComponent(i[0])]=decodeURIComponent(i[1])}return t}},614:function(e){var t=/^(?:(?![^:@]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@]*)(?::([^:@]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,n=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];e.exports=function(e){var r,o,i=e,a=e.indexOf("["),l=e.indexOf("]");-1!=a&&-1!=l&&(e=e.substring(0,a)+e.substring(a,l).replace(/:/g,";")+e.substring(l,e.length));for(var u,s,c=t.exec(e||""),f={},d=14;d--;)f[n[d]]=c[d]||"";return-1!=a&&-1!=l&&(f.source=i,f.host=f.host.substring(1,f.host.length-1).replace(/;/g,":"),f.authority=f.authority.replace("[","").replace("]","").replace(/;/g,":"),f.ipv6uri=!0),f.pathNames=(r=f.path,o=r.replace(/\/{2,9}/g,"/").split("/"),"/"!=r.substr(0,1)&&0!==r.length||o.splice(0,1),"/"==r.substr(r.length-1,1)&&o.splice(o.length-1,1),o),f.queryKey=(u=f.query,s={},u.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,(function(e,t,n){t&&(s[t]=n)})),s),f}},613:function(e){"use strict";var t,n="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_".split(""),r=64,o={},i=0,a=0;function l(e){var t="";do{t=n[e%r]+t,e=Math.floor(e/r)}while(e>0);return t}function u(){var e=l(+new Date);return e!==t?(i=0,t=e):e+"."+l(i++)}for(;a<r;a++)o[n[a]]=a;u.encode=l,u.decode=function(e){var t=0;for(a=0;a<e.length;a++)t=t*r+o[e.charAt(a)];return t},e.exports=u},967:function(e,t){var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=a(e,i.call(this,n)))}return e}function i(e){if("string"==typeof e||"number"==typeof e)return this&&this[e]||e;if("object"!=typeof e)return"";if(Array.isArray(e))return o.apply(this,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var n in e)r.call(e,n)&&e[n]&&(t=a(t,this&&this[n]||n));return t}function a(e,t){return t?e?e+" "+t:e+t:e}e.exports?(o.default=o,e.exports=o):void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={id:r,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nc=void 0,function(){"use strict";var e="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==e&&e,t="URLSearchParams"in e,n="Symbol"in e&&"iterator"in Symbol,r="FileReader"in e&&"Blob"in e&&function(){try{return new Blob,!0}catch(e){return!1}}(),o="FormData"in e,i="ArrayBuffer"in e;if(i)var a=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],l=ArrayBuffer.isView||function(e){return e&&a.indexOf(Object.prototype.toString.call(e))>-1};function u(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function s(e){return"string"!=typeof e&&(e=String(e)),e}function c(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return n&&(t[Symbol.iterator]=function(){return t}),t}function f(e){this.map={},e instanceof f?e.forEach((function(e,t){this.append(t,e)}),this):Array.isArray(e)?e.forEach((function(e){this.append(e[0],e[1])}),this):e&&Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}function d(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function p(e){return new Promise((function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}}))}function h(e){var t=new FileReader,n=p(t);return t.readAsArrayBuffer(e),n}function g(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function y(){return this.bodyUsed=!1,this._initBody=function(e){var n;this.bodyUsed=this.bodyUsed,this._bodyInit=e,e?"string"==typeof e?this._bodyText=e:r&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:o&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:t&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():i&&r&&(n=e)&&DataView.prototype.isPrototypeOf(n)?(this._bodyArrayBuffer=g(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):i&&(ArrayBuffer.prototype.isPrototypeOf(e)||l(e))?this._bodyArrayBuffer=g(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):t&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},r&&(this.blob=function(){var e=d(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?d(this)||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer)):this.blob().then(h)}),this.text=function(){var e,t,n,r=d(this);if(r)return r;if(this._bodyBlob)return e=this._bodyBlob,n=p(t=new FileReader),t.readAsText(e),n;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r<t.length;r++)n[r]=String.fromCharCode(t[r]);return n.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},o&&(this.formData=function(){return this.text().then(v)}),this.json=function(){return this.text().then(JSON.parse)},this}f.prototype.append=function(e,t){e=u(e),t=s(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},f.prototype.delete=function(e){delete this.map[u(e)]},f.prototype.get=function(e){return e=u(e),this.has(e)?this.map[e]:null},f.prototype.has=function(e){return this.map.hasOwnProperty(u(e))},f.prototype.set=function(e,t){this.map[u(e)]=s(t)},f.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},f.prototype.keys=function(){var e=[];return this.forEach((function(t,n){e.push(n)})),c(e)},f.prototype.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),c(e)},f.prototype.entries=function(){var e=[];return this.forEach((function(t,n){e.push([n,t])})),c(e)},n&&(f.prototype[Symbol.iterator]=f.prototype.entries);var m=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function b(e,t){if(!(this instanceof b))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var n,r,o=(t=t||{}).body;if(e instanceof b){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new f(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,o||null==e._bodyInit||(o=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new f(t.headers)),this.method=(r=(n=t.method||this.method||"GET").toUpperCase(),m.indexOf(r)>-1?r:n),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&o)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(o),!("GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache)){var i=/([?&])_=[^&]*/;i.test(this.url)?this.url=this.url.replace(i,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}function v(e){var t=new FormData;return e.trim().split("&").forEach((function(e){if(e){var n=e.split("="),r=n.shift().replace(/\+/g," "),o=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(r),decodeURIComponent(o))}})),t}function k(e,t){if(!(this instanceof k))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new f(t.headers),this.url=t.url||"",this._initBody(e)}b.prototype.clone=function(){return new b(this,{body:this._bodyInit})},y.call(b.prototype),y.call(k.prototype),k.prototype.clone=function(){return new k(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new f(this.headers),url:this.url})},k.error=function(){var e=new k(null,{status:0,statusText:""});return e.type="error",e};var w=[301,302,303,307,308];k.redirect=function(e,t){if(-1===w.indexOf(t))throw new RangeError("Invalid status code");return new k(null,{status:t,headers:{location:e}})};var x=e.DOMException;try{new x}catch(e){(x=function(e,t){this.message=e,this.name=t;var n=Error(e);this.stack=n.stack}).prototype=Object.create(Error.prototype),x.prototype.constructor=x}function S(t,n){return new Promise((function(o,a){var l=new b(t,n);if(l.signal&&l.signal.aborted)return a(new x("Aborted","AbortError"));var u=new XMLHttpRequest;function c(){u.abort()}u.onload=function(){var e,t,n={status:u.status,statusText:u.statusText,headers:(e=u.getAllResponseHeaders()||"",t=new f,e.replace(/\r?\n[\t ]+/g," ").split("\r").map((function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e})).forEach((function(e){var n=e.split(":"),r=n.shift().trim();if(r){var o=n.join(":").trim();t.append(r,o)}})),t)};n.url="responseURL"in u?u.responseURL:n.headers.get("X-Request-URL");var r="response"in u?u.response:u.responseText;setTimeout((function(){o(new k(r,n))}),0)},u.onerror=function(){setTimeout((function(){a(new TypeError("Network request failed"))}),0)},u.ontimeout=function(){setTimeout((function(){a(new TypeError("Network request failed"))}),0)},u.onabort=function(){setTimeout((function(){a(new x("Aborted","AbortError"))}),0)},u.open(l.method,function(t){try{return""===t&&e.location.href?e.location.href:t}catch(e){return t}}(l.url),!0),"include"===l.credentials?u.withCredentials=!0:"omit"===l.credentials&&(u.withCredentials=!1),"responseType"in u&&(r?u.responseType="blob":i&&l.headers.get("Content-Type")&&-1!==l.headers.get("Content-Type").indexOf("application/octet-stream")&&(u.responseType="arraybuffer")),!n||"object"!=typeof n.headers||n.headers instanceof f?l.headers.forEach((function(e,t){u.setRequestHeader(t,e)})):Object.getOwnPropertyNames(n.headers).forEach((function(e){u.setRequestHeader(e,s(n.headers[e]))})),l.signal&&(l.signal.addEventListener("abort",c),u.onreadystatechange=function(){4===u.readyState&&l.signal.removeEventListener("abort",c)}),u.send(void 0===l._bodyInit?null:l._bodyInit)}))}S.polyfill=!0,e.fetch||(e.fetch=S,e.Headers=f,e.Request=b,e.Response=k)}(),function(){"use strict";var e={};n.r(e),n.d(e,{Decoder:function(){return Ho},Encoder:function(){return Mo},PacketType:function(){return Oo},protocol:function(){return Io}});var t=n(540),r=n(961);function o(){return o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o.apply(this,arguments)}function i(e,t){return i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},i(e,t)}function a(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,i(e,t)}var l,u=n(658),s=n.n(u);function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function f(e,t,n){return t&&c(e.prototype,t),n&&c(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}!function(e){e.ru_RU="ru_RU",e.en_GB="en_GB"}(l||(l={}));var d=l.ru_RU,p=t.createContext({locale:{},langCode:d});function h(e,t){return void 0===t&&(t=1),Math.min(t,Math.max(0,e))}function g(e){return parseFloat((parseFloat(e)/100).toFixed(5))}function y(e,t){return void 0===t&&(t=2),parseFloat(e.toFixed(t))}function m(e,t){var n=t.exec(e);if(!n)throw new Error(e+" does not match color patterns: [\n "+t+"\n ]");return n}function b(e,t){return e.endsWith("%")?function(e,t){return Math.round(parseFloat(e)*t/100)}(e,t):parseInt(e,10)}function v(e){return e.endsWith("%")?g(e):parseFloat(e)}function k(e,t,n){var r=function(e){return e<0?e+1:e>1?e-1:e}(e);return r<1/6?n+6*(t-n)*r:r<.5?t:r<2/3?n+(t-n)*(2/3-r)*6:n}p.displayName="LocaleContext",p.__KONTUR_REACT_UI__="LocaleContext";var w=n(771),x=n.n(w),S={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgrey:"#a9a9a9",darkgreen:"#006400",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",grey:"#808080",green:"#008000",greenyellow:"#adff2f",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgrey:"#d3d3d3",lightgreen:"#90ee90",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370d8",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#d87093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"},C=function(){function e(e,t,n){this.rgb=e,this.alpha=t,this.type=n}var t=e.prototype;return t.luma=function(){var e=this.rgb[0]/255,t=this.rgb[1]/255,n=this.rgb[2]/255;return.2126*(e=e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4))+.7152*(t=t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.0722*(n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4))},t.toHEXString=function(){return x()(1===this.alpha,"There is an alpha channel="+this.alpha+", converting to HEX will discard opacity"),"#"+this.rgb.map((function(e){var t=h(Math.round(e),255);return(t<16?"0":"")+t.toString(16)})).join("")},t.toRGB=function(){return{r:this.rgb[0],g:this.rgb[1],b:this.rgb[2],a:this.alpha}},t.toRGBString=function(){return this.alpha<1?"rgba("+this.rgb[0]+", "+this.rgb[1]+", "+this.rgb[2]+", "+this.alpha+")":"rgb("+this.rgb[0]+", "+this.rgb[1]+", "+this.rgb[2]+")"},t.toHSL=function(){var e=this.rgb[0]/255,t=this.rgb[1]/255,n=this.rgb[2]/255,r=Math.max(e,t,n),o=Math.min(e,t,n),i=0,a=0,l=(r+o)/2;if(r!==o){var u=r-o;switch(a=l>.5?u/(2-r-o):u/(r+o),r){case e:i=(t-n)/u+(t<n?6:0);break;case t:i=(n-e)/u+2;break;case n:i=(e-t)/u+4}i=Math.round(60*i)}return{h:i,s:y(a,2),l:y(l,2),a:this.alpha}},t.toHSLString=function(){var e=this.toHSL();return e.a<1?"hsla("+e.h+", "+100*e.s+"%, "+100*e.l+"%, "+e.a+")":"hsl("+e.h+", "+100*e.s+"%, "+100*e.l+"%)"},t.toColorString=function(e){switch(void 0===e&&(e=this.type),e){case"rgb":case"rgba":return this.toRGBString();case"hsl":case"hsla":return this.toHSLString();case"transparent":return"transparent";default:return this.toHEXString()}},t.clone=function(){return new e(this.rgb,this.alpha,this.type)},e}(),P=/(?:rgba|rgb)\(\s*(\d{1,3}(?:(?:\.\d+)?%)?)\s*,?\s*(\d{1,3}(?:(?:\.\d+)?%)?)\s*,?\s*(\d{1,3}(?:(?:\.\d+)?%)?)\s*(?:\)|(?:,|\/)?\s*(0|0\.\d+|1|1\.0+|\d{1,3}(?:(?:\.\d+)?%))\s*\))/,B=/(?:hsla|hsl)\(\s*(\d{1,3}(?:deg)?\b)\s*,?\s*(\d{1,3}\.?\d*%|[0-1](?:\.\d*)?\b)\s*,?\s*(\d{1,3}\.?\d*%|[0-1](?:\.\d*)?\b)\s*(?:\)|(?:,|\/)?\s*(\d{1,3}\.?\d*%|\d+(?:\.\d*)?)\s*\))/,L=/^#([0-9a-f]{3}|[0-9a-f]{6})$/,E=function(){function e(){}return e.create=function(e){return this.cache[e]||(this.cache[e]=Object.freeze(this.instantiate(e))),this.cache[e]},e.instantiate=function(e){if("string"!=typeof e)return x()(!1,"Invalid type of input ("+typeof e+"), expected a string. Returning transparent color"),new C([0,0,0],1,"transparent");var t=e.toLowerCase().trim();if("transparent"===t)return new C([0,0,0],0,"transparent");if(this.isKeyword(t))return this.fromKeyword(t);if(t.startsWith("rgb")){var n=function(e){var t=b(e[1],255),n=b(e[2],255),r=b(e[3],255),o=e[4]?v(e[4]):1;if(isNaN(t))throw new Error("Could not parse red="+e[1]+" to number");if(isNaN(n))throw new Error("Could not parse green="+e[2]+" to number");if(isNaN(r))throw new Error("Could not parse blue="+e[3]+" to number");if(isNaN(o))throw new Error("Could not parse alpha="+e[4]+" to number");return{r:t,g:n,b:r,a:o}}(m(t,P)),r=n.r,o=n.g,i=n.b,a=n.a;return r=h(r,255),o=h(o,255),i=h(i,255),a=h(a,1),this.fromRGB(r,o,i,a)}if(t.startsWith("hsl")){var l=function(e){var t=parseInt(e[1],10),n=v(e[2]),r=v(e[3]),o=e[4]?v(e[4]):1;if(isNaN(t))throw new Error("Could not parse hue="+e[1]+" to number");if(isNaN(n))throw new Error("Could not parse saturation="+e[2]+" to number");if(isNaN(r))throw new Error("Could not parse lightness="+e[3]+" to number");if(isNaN(o))throw new Error("Could not parse alpha="+e[4]+" to number");return{h:t,s:n,l:r,a:o}}(m(t,B)),u=l.h,s=l.s,c=l.l,f=l.a;return u=h(u,360),s=h(s,1),c=h(c,1),f=h(f,1),this.fromHSL(u,s,c,f)}return this.fromHex(t)},e.isKeyword=function(e){return Object.prototype.hasOwnProperty.call(S,e)},e.fromKeyword=function(e){return this.fromHex(S[e],e)},e.fromHex=function(e,t){if(void 0===t&&(t="hex"),!L.test(e))throw new Error(e+" is not a valid hex color string");var n,r=e.substring(1),o=[0,0,0];return 6===r.length?null==(n=r.match(/.{2}/g))||n.forEach((function(e,t){o[t]=parseInt(e,16)})):3===r.length&&r.split("").forEach((function(e,t){o[t]=parseInt(e+e,16)})),new C(o,1,t)},e.fromRGB=function(e,t,n,r){return void 0===r&&(r=1),new C([e,t,n],r,r<1?"rgba":"rgb")},e.fromHSL=function(e,t,n,r){if(void 0===r&&(r=1),0===t){var o=Math.round(255*n);return new C([o,o,o],r,r<1?"hsla":"hsl")}var i=e/360,a=n<.5?n*(1+t):n+t-n*t,l=2*n-a,u=k(i+1/3,a,l),s=k(i,a,l),c=k(i-1/3,a,l),f=[Math.round(255*u),Math.round(255*s),Math.round(255*c)];return new C(f,r,r<1?"hsla":"hsl")},e}();E.cache=Object.create(null),E.create("#333333"),E.create("#fff");var A=Object.create(null),_=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return e+"("+n.join()+")"},T=function(e,t,n,r){if(!e)return"";if("transparent"===e.toLowerCase())return"transparent";var o;o=h(o="string"==typeof t?t.endsWith("%")?g(t):parseFloat(t):t,1);var i=E.create(e),a=i.toHSL();return"+"===n?a.l+="relative"===r?a.l*o:o:a.l-="relative"===r?a.l*o:o,a.l=h(a.l),(i.alpha<1?E.create("hsla("+a.h+", "+a.s+", "+a.l+", "+a.a+")"):E.create("hsl("+a.h+", "+a.s+", "+a.l+")")).toColorString(i.type)};function O(e,t,n){var r=_("lighten",e,t,n);return void 0===A[r]?(A[r]=T(e,t,"+",n),A[r]):A[r]}function I(e,t,n){var r=_("darken",e,t,n);return void 0===A[r]?(A[r]=T(e,t,"-",n),A[r]):A[r]}var M=function(e,t){var n=_("fade",e,t);if(void 0===A[n]){var r=E.create(e).clone();r.alpha=t,A[n]=r.toColorString("hex"===r.type?"rgba":r.type)}return A[n]},H=n(744),F=n(996);var D=function(e){return null!=e},R=function(e){return function(t){var n;return(null==t||null==(n=t.type)?void 0:n.__KONTUR_REACT_UI__)===e}};R("Input")||R("FxInput")||R("Autocomplete")||R("PasswordInput")||R("CurrencyInput");var z={darkTheme:{key:"__IS_REACT_UI_DARK_THEME__",value:!0},theme2022:{key:"__IS_REACT_UI_THEME_2022__",value:!0}};function N(e,t){for(;D(e);e=Object.getPrototypeOf(e))if(Object.prototype.hasOwnProperty.call(e,t))return Object.getOwnPropertyDescriptor(e,t)||{};return{}}z.darkTheme.key;var j=function(){function e(){}return f(e,null,[{key:"bgSecondary",get:function(){return this.bgDefault}},{key:"borderColorDisabled",get:function(){return this.bgDisabled}},{key:"bgActive",get:function(){return this.blueLight}},{key:"borderColorFocus",get:function(){return this.blueLight}},{key:"borderColorError",get:function(){return this.errorMain}},{key:"borderColorWarning",get:function(){return this.warningMain}},{key:"linkHoverColor",get:function(){return this.linkColor}},{key:"linkDisabledColor",get:function(){return this.textColorDisabled}},{key:"linkGrayedColor",get:function(){return this.textColorDisabled}},{key:"linkGrayedHoverColor",get:function(){return this.textColorDisabled}},{key:"linkGrayedActiveColor",get:function(){return this.textColorDisabled}},{key:"linkLineHoverBorderBottomStyle",get:function(){return this.linkLineBorderBottomStyle}},{key:"tokenTextColorDisabled",get:function(){return this.textColorDisabledContrast}},{key:"tokenFontSize",get:function(){return this.fontSizeSmall}},{key:"tokenFontSizeSmall",get:function(){return this.tokenFontSize}},{key:"tokenFontSizeMedium",get:function(){return this.fontSizeMedium}},{key:"tokenFontSizeLarge",get:function(){return this.fontSizeLarge}},{key:"tokenMarginYSmall",get:function(){return this.tokenMarginY}},{key:"tokenMarginXSmall",get:function(){return this.tokenMarginX}},{key:"tokenLineHeight",get:function(){return this.controlLineHeightSmall}},{key:"tokenLineHeightSmall",get:function(){return this.tokenLineHeight}},{key:"tokenLineHeightMedium",get:function(){return this.controlLineHeightMedium}},{key:"tokenLineHeightLarge",get:function(){return this.controlLineHeightLarge}},{key:"tokenPaddingYSmall",get:function(){return this.tokenPaddingY}},{key:"tokenPaddingXSmall",get:function(){return this.tokenPaddingX}},{key:"tokenDefaultIdle",get:function(){return this.grayXLight}},{key:"tokenDefaultActive",get:function(){return this.brand}},{key:"tokenGrayIdle",get:function(){return this.grayXLight}},{key:"tokenGrayActive",get:function(){return this.grayDark}},{key:"tokenBlueIdle",get:function(){return this.blueLight}},{key:"tokenBlueActive",get:function(){return this.blueDark}},{key:"tokenGreenIdle",get:function(){return this.greenXxLight}},{key:"tokenGreenActive",get:function(){return this.greenDark}},{key:"tokenYellowIdle",get:function(){return this.yellowXxLight}},{key:"tokenYellowActive",get:function(){return this.yellowDark}},{key:"tokenRedIdle",get:function(){return this.redXxLight}},{key:"tokenRedActive",get:function(){return this.redDark}},{key:"tokenWhite",get:function(){return this.white}},{key:"tokenBlack",get:function(){return this.black}},{key:"tokenBorderColorWarning",get:function(){return this.borderColorWarning}},{key:"tokenBorderColorError",get:function(){return this.borderColorError}},{key:"tokenPaddingYDisabled",get:function(){return this.tokenPaddingY}},{key:"tokenPaddingXDisabled",get:function(){return this.tokenPaddingX}},{key:"tokenMarginYDisabled",get:function(){return this.tokenMarginY}},{key:"tokenMarginXDisabled",get:function(){return this.tokenMarginX}},{key:"tokenShadowDisabled",get:function(){return"0 0 0 "+this.tokenBorderWidth+" "+this.borderColorDisabled}},{key:"tokenInputLineHeight",get:function(){return this.controlLineHeightSmall}},{key:"tokenInputLineHeightSmall",get:function(){return this.tokenInputLineHeight}},{key:"tokenInputLineHeightMedium",get:function(){return this.controlLineHeightMedium}},{key:"tokenInputLineHeightLarge",get:function(){return this.controlLineHeightLarge}},{key:"tokenInputBorderColor",get:function(){return this.inputBorderColor}},{key:"tokenInputBorderColorHover",get:function(){return this.inputBorderColorHover}},{key:"tokenInputBorderColorFocus",get:function(){return this.inputBorderColorFocus}},{key:"tokenInputBorderColorError",get:function(){return this.inputBorderColorError}},{key:"tokenInputBorderColorWarning",get:function(){return this.inputBorderColorWarning}},{key:"tokenInputBorderTopColor",get:function(){return this.inputBorderTopColor}},{key:"tokenInputPlaceholderColor",get:function(){return this.inputPlaceholderColor}},{key:"tokenInputPlaceholderColorLight",get:function(){return this.inputPlaceholderColorLight}},{key:"tokenInputDisabledBg",get:function(){return this.inputDisabledBg}},{key:"tokenInputDisabledBorderColor",get:function(){return this.inputDisabledBorderColor}},{key:"tokenInputBorderWidth",get:function(){return this.inputBorderWidth}},{key:"tokenInputOutlineWidth",get:function(){return this.inputOutlineWidth}},{key:"tokenInputBg",get:function(){return this.inputBg}},{key:"tokenInputMenuPopupBg",get:function(){return this.bgSecondary}},{key:"tokenInputShadow",get:function(){return this.inputShadow}},{key:"tokenInputTextColor",get:function(){return this.inputTextColor}},{key:"tokenInputTextColorDisabled",get:function(){return this.textColorDisabledContrast}},{key:"tokenInputPlaceholderColorDisabled",get:function(){return this.textColorDisabledContrast}},{key:"tokenInputPaddingYSmall",get:function(){return this.tokenInputPaddingY}},{key:"tokenInputPaddingXSmall",get:function(){return this.tokenInputPaddingX}},{key:"btnCheckedDisabledBorderColor",get:function(){return this.btnCheckedDisabledBg}},{key:"btnBorderWidth",get:function(){return this.controlBorderWidth}},{key:"btnOutlineWidth",get:function(){return this.controlOutlineWidth}},{key:"btnIconGapSmallLeft",get:function(){return this.btnIconGapSmall}},{key:"btnIconGapMediumLeft",get:function(){return this.btnIconGapMedium}},{key:"btnIconGapLargeLeft",get:function(){return this.btnIconGapLarge}},{key:"btnDefaultCheckedBorderColor",get:function(){return this.btnCheckedBg}},{key:"btnDefaultTextColor",get:function(){return this.textColorDefault}},{key:"btnPayTextColor",get:function(){return this.textColorDefault}},{key:"btnFontSizeSmall",get:function(){return this.fontSizeSmall}},{key:"btnFontSizeMedium",get:function(){return this.fontSizeMedium}},{key:"btnFontSizeLarge",get:function(){return this.fontSizeLarge}},{key:"btnLineHeightSmall",get:function(){return this.controlLineHeightSmall}},{key:"btnLineHeightMedium",get:function(){return this.controlLineHeightMedium}},{key:"btnLineHeightLarge",get:function(){return this.controlLineHeightLarge}},{key:"btnPaddingYSmall",get:function(){return this.controlPaddingYSmall}},{key:"btnPaddingYMedium",get:function(){return this.controlPaddingYMedium}},{key:"btnPaddingYLarge",get:function(){return this.controlPaddingYLarge}},{key:"btnDisabledBg",get:function(){return this.bgDisabled}},{key:"btnBorderColorWarning",get:function(){return this.borderColorWarning}},{key:"btnBorderColorError",get:function(){return this.borderColorError}},{key:"btnHeightSmall",get:function(){return 2*(parseInt(this.btnBorderWidth,10)||0)+2*(parseInt(this.btnPaddingYSmall,10)||0)+(parseInt(this.btnLineHeightSmall,10)||0)+"px"}},{key:"btnHeightMedium",get:function(){return 2*(parseInt(this.btnBorderWidth,10)||0)+2*(parseInt(this.btnPaddingYMedium,10)||0)+(parseInt(this.btnLineHeightMedium,10)||0)+"px"}},{key:"btnHeightLarge",get:function(){return 2*(parseInt(this.btnBorderWidth,10)||0)+2*(parseInt(this.btnPaddingYLarge,10)||0)+(parseInt(this.btnLineHeightLarge,10)||0)+"px"}},{key:"btnLinkColor",get:function(){return this.linkColor}},{key:"btnLinkHoverColor",get:function(){return this.linkHoverColor}},{key:"btnLinkActiveColor",get:function(){return this.linkActiveColor}},{key:"btnLinkHoverTextDecoration",get:function(){return this.linkHoverTextDecoration}},{key:"btnLinkLineBorderBottomColor",get:function(){return this.linkLineBorderBottomColor}},{key:"btnLinkHoverLineBorderBottomStyle",get:function(){return this.btnLinkLineBorderBottomStyle}},{key:"btnLinkLineBorderBottomOpacity",get:function(){return this.linkLineBorderBottomOpacity}},{key:"btnLinkIconMarginRight",get:function(){return this.linkIconMarginRight}},{key:"btnLinkIconMarginLeft",get:function(){return this.linkIconMarginRight}},{key:"btnErrorSecondary",get:function(){return this.errorSecondary}},{key:"btnWarningSecondary",get:function(){return this.warningSecondary}},{key:"btnOutlineColorFocus",get:function(){return this.outlineColorFocus}},{key:"btnBorderColorFocus",get:function(){return this.borderColorFocus}},{key:"btnLinkDisabledColor",get:function(){return this.linkDisabledColor}},{key:"btnDisabledTextColor",get:function(){return this.textColorDisabledContrast}},{key:"btnBacklessBorderColor",get:function(){return this.btnDefaultBorderColor}},{key:"btnBacklessDisabledBorderColor",get:function(){return this.btnDisabledBorderColor}},{key:"btnBacklessHoverBorderColor",get:function(){return this.btnBacklessBorderColor}},{key:"btnBacklessTextColor",get:function(){return this.btnDefaultTextColor}},{key:"btnTextBorderColor",get:function(){return this.btnDefaultBorderColor}},{key:"btnTextTextColor",get:function(){return this.btnDefaultTextColor}},{key:"btnTextHoverBorderColor",get:function(){return this.btnTextHoverBg}},{key:"selectDefaultBg",get:function(){return this.inputBg}},{key:"selectBorderWidth",get:function(){return this.controlBorderWidth}},{key:"selectPlaceholderColorDisabled",get:function(){return this.textColorDisabledContrast}},{key:"selectOutlineWidth",get:function(){return this.controlOutlineWidth}},{key:"selectLineHeightSmall",get:function(){return this.controlLineHeightSmall}},{key:"selectFontSizeSmall",get:function(){return this.fontSizeSmall}},{key:"selectPaddingYSmall",get:function(){return this.controlPaddingYSmall}},{key:"selectBorderRadiusSmall",get:function(){return this.btnBorderRadiusSmall}},{key:"selectLineHeightMedium",get:function(){return this.controlLineHeightMedium}},{key:"selectFontSizeMedium",get:function(){return this.fontSizeMedium}},{key:"selectPaddingYMedium",get:function(){return this.controlPaddingYMedium}},{key:"selectBorderRadiusMedium",get:function(){return this.btnBorderRadiusMedium}},{key:"selectLineHeightLarge",get:function(){return this.controlLineHeightLarge}},{key:"selectFontSizeLarge",get:function(){return this.fontSizeLarge}},{key:"selectPaddingYLarge",get:function(){return this.controlPaddingYLarge}},{key:"selectBorderRadiusLarge",get:function(){return this.btnBorderRadiusLarge}},{key:"selectMenuArrowColor",get:function(){return this.btnMenuArrowColor}},{key:"selectMenuArrowColorDisabled",get:function(){return this.selectMenuArrowColor}},{key:"selectIconSizeSmall",get:function(){return this.btnIconSizeSmall}},{key:"selectIconSizeMedium",get:function(){return this.btnIconSizeMedium}},{key:"selectIconSizeLarge",get:function(){return this.btnIconSizeLarge}},{key:"selectTextColorDisabled",get:function(){return this.btnDisabledTextColor}},{key:"selectBgDisabled",get:function(){return this.btnDisabledBg}},{key:"selectBorderColorDisabled",get:function(){return this.btnDisabledBorderColor}},{key:"selectMenuOffsetY",get:function(){return this.menuOffsetY}},{key:"selectBorderColorHover",get:function(){return this.btnDefaultHoverBorderColor}},{key:"tooltipTextColor",get:function(){return this.textColorDefault}},{key:"tooltipBorder",get:function(){return this.popupBorder}},{key:"tooltipBorderRadius",get:function(){return this.popupBorderRadius}},{key:"tooltipPinSize",get:function(){return this.popupPinSize}},{key:"tooltipFontSize",get:function(){return this.fontSizeSmall}},{key:"tooltipLineHeight",get:function(){return this.controlLineHeightSmall}},{key:"tooltipMenuPinOffset",get:function(){return this.popupPinOffset}},{key:"tooltipMenuMargin",get:function(){return this.popupMargin}},{key:"tooltipMenuPinSize",get:function(){return this.popupPinSize}},{key:"kebabPinOffset",get:function(){return this.popupPinOffset}},{key:"kebabPinSize",get:function(){return this.popupPinSize}},{key:"kebabBackgroundActive",get:function(){return this.kebabBackgroundHover}},{key:"modalBg",get:function(){return this.bgSecondary}},{key:"modalFixedHeaderBg",get:function(){return this.bgSecondary}},{key:"modalFixedHeaderShadow",get:function(){return this.fixedPanelShadow}},{key:"modalFixedFooterShadow",get:function(){return this.fixedPanelShadow}},{key:"modalHeaderTextColor",get:function(){return this.textColorDefault}},{key:"modalFixedHeaderPaddingBottom",get:function(){return Math.round(parseInt(this.modalHeaderPaddingBottom)/2)+"px"}},{key:"sidePageBgDefault",get:function(){return this.bgSecondary}},{key:"sidePageHeaderTextColor",get:function(){return this.textColorDefault}},{key:"sidePageFixedHeaderShadow",get:function(){return this.fixedPanelShadow}},{key:"sidePageFixedFooterShadow",get:function(){return this.fixedPanelShadow}},{key:"dateInputIconColor",get:function(){return this.textColorDefault}},{key:"dateInputComponentSelectedTextColor",get:function(){return this.textColorDefault}},{key:"calendarBottomSeparatorBorderColor",get:function(){return M(this.calendarMonthTitleBorderBottomColor,1)}},{key:"calendarBottomSeparatorBorderWidth",get:function(){return"1px"}},{key:"calendarBottomSeparatorBorder",get:function(){return this.calendarBottomSeparatorBorderWidth+" solid "+this.calendarBottomSeparatorBorderColor}},{key:"calendarBg",get:function(){return this.bgSecondary}},{key:"calendarCellBg",get:function(){return this.bgSecondary}},{key:"calendarCellLineHeight",get:function(){return"calc("+this.calendarCellSize+" - 2px)"}},{key:"calendarMonthHeaderStickedBgColor",get:function(){return this.bgSecondary}},{key:"calendarCellHoverBgColor",get:function(){return this.bgActive}},{key:"dateSelectTextColorDisabled",get:function(){return this.textColorDisabled}},{key:"dateSelectTextColorDefault",get:function(){return this.textColorDefault}},{key:"dateSelectLinkColor",get:function(){return this.linkColor}},{key:"dateSelectPopupBoxShadow",get:function(){return this.popupBoxShadow}},{key:"dateSelectTextColorInvert",get:function(){return this.textColorInvert}},{key:"datePickerOpenBtnColor",get:function(){return this.textColorDefault}},{key:"pickerBg",get:function(){return this.bgSecondary}},{key:"pickerTodayWrapperBgColor",get:function(){return this.bgSecondary}},{key:"dateSelectMenuBg",get:function(){return this.bgSecondary}},{key:"dateSelectMenuItemBgActive",get:function(){return this.bgActive}},{key:"dateSelectMenuItemBgDisabled",get:function(){return this.bgSecondary}},{key:"dateSelectMenuItemFontActive",get:function(){return this.textColorInvert}},{key:"dateSelectMenuItemFontSelected",get:function(){return this.textColorDefault}},{key:"dateSelectMenuItemFontDisabled",get:function(){return this.textColorDisabled}},{key:"pagingFontSize",get:function(){return this.fontSizeMedium}},{key:"pagingForwardIconSize",get:function(){return this.pagingFontSize}},{key:"pagingPageLinkActiveColor",get:function(){return this.textColorDefault}},{key:"pagingPageLinkHintColor",get:function(){return this.placeholderColor}},{key:"pagingForwardLinkColor",get:function(){return this.linkColor}},{key:"pagingForwardLinkDisabledColor",get:function(){return this.linkDisabledColor}},{key:"pagingDotsDisabledColor",get:function(){return this.textColorDisabled}},{key:"hintColor",get:function(){return this.textColorInvert}},{key:"mobileHintColor",get:function(){return this.hintColor}},{key:"hintFontSize",get:function(){return this.fontSizeSmall}},{key:"hintLineHeight",get:function(){return this.controlLineHeightSmall}},{key:"toastFontSize",get:function(){return this.fontSizeSmall}},{key:"toastLineHeight",get:function(){return this.controlLineHeightSmall}},{key:"dropdownMenuHoverBorderColor",get:function(){return this.btnDefaultHoverBorderColor}},{key:"dropdownMenuHoverBg",get:function(){return this.bgActive}},{key:"dropdownMenuOffsetY",get:function(){return this.menuOffsetY}},{key:"dropdownMenuMenuOffsetY",get:function(){return this.menuOffsetY}},{key:"dropdownDefaultBg",get:function(){return this.btnDefaultBg}},{key:"dropdownBorderWidth",get:function(){return this.btnBorderWidth}},{key:"dropdownOutlineWidth",get:function(){return this.btnOutlineWidth}},{key:"dropdownLineHeightSmall",get:function(){return this.btnLineHeightSmall}},{key:"dropdownFontSizeSmall",get:function(){return this.btnFontSizeSmall}},{key:"dropdownPaddingXSmall",get:function(){return this.selectPaddingXSmall}},{key:"dropdownPaddingYSmall",get:function(){return this.btnPaddingYSmall}},{key:"dropdownIconSizeSmall",get:function(){return this.btnIconSizeSmall}},{key:"dropdownLineHeightMedium",get:function(){return this.btnLineHeightMedium}},{key:"dropdownFontSizeMedium",get:function(){return this.btnFontSizeMedium}},{key:"dropdownPaddingXMedium",get:function(){return this.selectPaddingXMedium}},{key:"dropdownPaddingYMedium",get:function(){return this.btnPaddingYMedium}},{key:"dropdownIconSizeMedium",get:function(){return this.btnIconSizeMedium}},{key:"dropdownLineHeightLarge",get:function(){return this.btnLineHeightLarge}},{key:"dropdownFontSizeLarge",get:function(){return this.btnFontSizeLarge}},{key:"dropdownPaddingXLarge",get:function(){return this.selectPaddingXLarge}},{key:"dropdownPaddingYLarge",get:function(){return this.btnPaddingYLarge}},{key:"dropdownIconSizeLarge",get:function(){return this.btnIconSizeLarge}},{key:"dropdownBgDisabled",get:function(){return this.btnDisabledBg}},{key:"dropdownBorderColorDisabled",get:function(){return this.btnDisabledBorderColor}},{key:"dropdownTextColorDisabled",get:function(){return this.btnDisabledTextColor}},{key:"menuBgDefault",get:function(){return this.bgSecondary}},{key:"menuBorderRadius",get:function(){return"0px"}},{key:"menuItemTextColor",get:function(){return this.textColorDefault}},{key:"menuItemSelectedBg",get:function(){return this.dropdownMenuSelectedBg}},{key:"menuItemHoverBg",get:function(){return this.dropdownMenuHoverBg}},{key:"menuItemIconWidthSmall",get:function(){return this.menuItemIconWidth}},{key:"menuItemPaddingForIcon",get:function(){return parseInt(this.menuItemPaddingXSmall)+parseInt(this.menuItemIconWidthSmall)+parseInt(this.menuItemIconGap)+parseInt(this.menuItemIconLegacyMargin)+"px"}},{key:"menuItemPaddingForIconSmall",get:function(){return this.menuItemPaddingForIcon}},{key:"menuItemPaddingForIconMedium",get:function(){return parseInt(this.menuItemPaddingXMedium)+parseInt(this.menuItemIconWidthMedium)+parseInt(this.menuItemIconGap)+parseInt(this.menuItemIconLegacyMargin)+"px"}},{key:"menuItemPaddingForIconLarge",get:function(){return parseInt(this.menuItemPaddingXLarge)+parseInt(this.menuItemIconWidthLarge)+parseInt(this.menuItemIconGap)+parseInt(this.menuItemIconLegacyMargin)+"px"}},{key:"menuItemLineHeight",get:function(){return this.controlLineHeightSmall}},{key:"menuItemLineHeightSmall",get:function(){return this.menuItemLineHeight}},{key:"menuItemLineHeightMedium",get:function(){return this.controlLineHeightMedium}},{key:"menuItemLineHeightLarge",get:function(){return this.controlLineHeightLarge}},{key:"menuItemFontSize",get:function(){return this.fontSizeSmall}},{key:"menuItemFontSizeSmall",get:function(){return this.menuItemFontSize}},{key:"menuItemFontSizeMedium",get:function(){return this.fontSizeMedium}},{key:"menuItemFontSizeLarge",get:function(){return this.fontSizeLarge}},{key:"menuItemPaddingXSmall",get:function(){return this.menuItemPaddingX}},{key:"menuItemPaddingYSmall",get:function(){return this.menuItemPaddingY}},{key:"menuItemHoverColor",get:function(){return this.textColorInvert}},{key:"menuItemLinkColor",get:function(){return this.linkColor}},{key:"menuItemLineHeightMobile",get:function(){return this.lineHeightMobile}},{key:"menuItemFontSizeMobile",get:function(){return this.fontSizeMobile}},{key:"menuItemDisabledColor",get:function(){return this.textColorDisabled}},{key:"menuMessageTextColor",get:function(){return this.menuItemDisabledColor}},{key:"menuMessageBg",get:function(){return this.menuItemDisabledBg}},{key:"menuMessagePaddingY",get:function(){return this.menuItemPaddingYSmall}},{key:"menuMessagePaddingX",get:function(){return this.menuItemPaddingXSmall}},{key:"menuMessageDisplay",get:function(){return this.menuItemDisplay}},{key:"menuMessagePaddingMobile",get:function(){return this.menuItemPaddingMobile}},{key:"menuMessageLineHeight",get:function(){return this.menuItemLineHeightSmall}},{key:"menuMessageLineHeightMobile",get:function(){return this.menuItemLineHeightMobile}},{key:"menuMessageFontSize",get:function(){return this.menuItemFontSizeSmall}},{key:"menuMessageFontSizeMobile",get:function(){return this.menuItemFontSizeMobile}},{key:"menuMessageFontSizeSmall",get:function(){return this.menuItemFontSizeSmall}},{key:"menuMessageFontSizeMedium",get:function(){return this.menuItemFontSizeMedium}},{key:"menuMessageFontSizeLarge",get:function(){return this.menuItemFontSizeLarge}},{key:"menuMessageLineHeightSmall",get:function(){return this.menuItemLineHeightSmall}},{key:"menuMessageLineHeightMedium",get:function(){return this.menuItemLineHeightMedium}},{key:"menuMessageLineHeightLarge",get:function(){return this.menuItemLineHeightLarge}},{key:"menuHeaderLineHeightSmall",get:function(){return this.menuHeaderLineHeight}},{key:"menuHeaderFontSizeSmall",get:function(){return this.menuHeaderFontSize}},{key:"menuHeaderPaddingXSmall",get:function(){return this.menuHeaderPaddingX}},{key:"menuHeaderPaddingTopSmall",get:function(){return this.menuHeaderPaddingTop}},{key:"menuHeaderPaddingBottomSmall",get:function(){return this.menuHeaderPaddingBottom}},{key:"menuFooterColor",get:function(){return this.menuHeaderColor}},{key:"menuFooterLineHeightSmall",get:function(){return this.menuHeaderLineHeightSmall}},{key:"menuFooterLineHeightMedium",get:function(){return this.menuHeaderLineHeightMedium}},{key:"menuFooterLineHeightLarge",get:function(){return this.menuHeaderLineHeightLarge}},{key:"menuFooterFontSizeSmall",get:function(){return this.menuHeaderFontSizeSmall}},{key:"menuFooterFontSizeMedium",get:function(){return this.menuHeaderFontSizeMedium}},{key:"menuFooterFontSizeLarge",get:function(){return this.menuHeaderFontSizeLarge}},{key:"menuFooterPaddingXSmall",get:function(){return this.menuHeaderPaddingXSmall}},{key:"menuFooterPaddingXMedium",get:function(){return this.menuHeaderPaddingXMedium}},{key:"menuFooterPaddingXLarge",get:function(){return this.menuHeaderPaddingXLarge}},{key:"menuFooterPaddingTopSmall",get:function(){return this.menuHeaderPaddingBottomSmall}},{key:"menuFooterPaddingTopMedium",get:function(){return this.menuHeaderPaddingBottomMedium}},{key:"menuFooterPaddingTopLarge",get:function(){return this.menuHeaderPaddingBottomLarge}},{key:"menuFooterPaddingBottomSmall",get:function(){return this.menuHeaderPaddingTopSmall}},{key:"menuFooterPaddingBottomMedium",get:function(){return this.menuHeaderPaddingTopMedium}},{key:"menuFooterPaddingBottomLarge",get:function(){return this.menuHeaderPaddingTopLarge}},{key:"toggleFontSize",get:function(){return this.fontSizeSmall}},{key:"toggleLineHeight",get:function(){return this.controlLineHeightSmall}},{key:"toggleLineHeightSmall",get:function(){return this.toggleLineHeight}},{key:"toggleLineHeightMedium",get:function(){return this.controlLineHeightMedium}},{key:"toggleLineHeightLarge",get:function(){return this.controlLineHeightLarge}},{key:"toggleFontSizeSmall",get:function(){return this.toggleFontSize}},{key:"toggleFontSizeMedium",get:function(){return this.fontSizeMedium}},{key:"toggleFontSizeLarge",get:function(){return this.fontSizeLarge}},{key:"toggleTextColor",get:function(){return this.textColorDefault}},{key:"toggleHandleBorderRadius",get:function(){return((parseInt(this.toggleHeightSmall,10)||0)-2*(parseInt(this.toggleBorderWidth,10)||0))/2+"px"}},{key:"toggleHandleBorderRadiusSmall",get:function(){return this.toggleHandleBorderRadius}},{key:"toggleHandleBorderRadiusMedium",get:function(){return((parseInt(this.toggleHeightMedium,10)||0)-2*(parseInt(this.toggleBorderWidth,10)||0))/2+"px"}},{key:"toggleHandleBorderRadiusLarge",get:function(){return((parseInt(this.toggleHeightLarge,10)||0)-2*(parseInt(this.toggleBorderWidth,10)||0))/2+"px"}},{key:"toggleHeightSmall",get:function(){return this.toggleHeight}},{key:"toggleWidthSmall",get:function(){return this.toggleWidth}},{key:"toggleBorderRadius",get:function(){return"calc("+this.toggleHeightSmall+" * 0.5)"}},{key:"toggleBorderRadiusSmall",get:function(){return this.toggleBorderRadius}},{key:"toggleBorderRadiusMedium",get:function(){return"calc("+this.toggleHeightMedium+" * 0.5)"}},{key:"toggleBorderRadiusLarge",get:function(){return"calc("+this.toggleHeightLarge+" * 0.5)"}},{key:"toggleBgDisabled",get:function(){return this.bgDisabled}},{key:"toggleBorderWidth",get:function(){return this.controlBorderWidth}},{key:"toggleOutlineWidth",get:function(){return(parseInt(this.controlOutlineWidth,10)||0)+(parseInt(this.toggleBorderWidth,10)||0)+"px"}},{key:"toggleBorderColorDisabled",get:function(){return this.toggleBorderColor}},{key:"toggleBorderColorDisabledChecked",get:function(){return this.toggleBorderColor}},{key:"toggleHandleSize",get:function(){return(parseInt(this.toggleHeightSmall,10)||0)-2*(parseInt(this.toggleBorderWidth,10)||0)+"px"}},{key:"toggleHandleSizeSmall",get:function(){return this.toggleHandleSize}},{key:"toggleHandleSizeMedium",get:function(){return(parseInt(this.toggleHeightMedium,10)||0)-2*(parseInt(this.toggleBorderWidth,10)||0)+"px"}},{key:"toggleHandleSizeLarge",get:function(){return(parseInt(this.toggleHeightLarge,10)||0)-2*(parseInt(this.toggleBorderWidth,10)||0)+"px"}},{key:"toggleHandleLeft",get:function(){return this.toggleBorderWidth}},{key:"toggleHandleTop",get:function(){return this.toggleBorderWidth}},{key:"toggleShadowColorError",get:function(){return this.errorMain}},{key:"toggleShadowColorWarning",get:function(){return this.warningMain}},{key:"toggleFocusShadowColor",get:function(){return this.borderColorFocus}},{key:"toggleOutlineColorFocus",get:function(){return this.outlineColorFocus}},{key:"toggleHandleBoxShadowOld",get:function(){return"0 "+this.toggleBorderWidth+" 0 0 rgba(0, 0, 0, 0.15), 0 0 0 "+this.toggleBorderWidth+" rgba(0, 0, 0, 0.15)"}},{key:"toggleContainerBgHover",get:function(){return this.toggleBgHover}},{key:"toggleContainerBgChecked",get:function(){return this.toggleBgChecked}},{key:"toggleHandleBg",get:function(){return this.toggleBg}},{key:"popupTextColor",get:function(){return this.textColorDefault}},{key:"popupBackground",get:function(){return this.bgSecondary}},{key:"inputTextColor",get:function(){return this.textColorDefault}},{key:"inputFocusedIconColor",get:function(){return this.inputIconColor}},{key:"inputTextColorDisabled",get:function(){return this.textColorDisabledContrast}},{key:"inputFontSizeSmall",get:function(){return this.fontSizeSmall}},{key:"inputFontSizeMedium",get:function(){return this.fontSizeMedium}},{key:"inputFontSizeLarge",get:function(){return this.fontSizeLarge}},{key:"inputLineHeightSmall",get:function(){return this.controlLineHeightSmall}},{key:"inputLineHeightMedium",get:function(){return this.controlLineHeightMedium}},{key:"inputLineHeightLarge",get:function(){return this.controlLineHeightLarge}},{key:"inputHeightSmall",get:function(){return 2*(parseInt(this.inputBorderWidth,10)||0)+2*(parseInt(this.inputPaddingYSmall,10)||0)+(parseInt(this.inputLineHeightSmall,10)||0)+"px"}},{key:"inputHeightMedium",get:function(){return 2*(parseInt(this.inputBorderWidth,10)||0)+2*(parseInt(this.inputPaddingYMedium,10)||0)+(parseInt(this.inputLineHeightMedium,10)||0)+"px"}},{key:"inputHeightLarge",get:function(){return 2*(parseInt(this.inputBorderWidth,10)||0)+2*(parseInt(this.inputPaddingYLarge,10)||0)+(parseInt(this.inputLineHeightLarge,10)||0)+"px"}},{key:"inputPaddingYSmall",get:function(){return this.controlPaddingYSmall}},{key:"inputPaddingYMedium",get:function(){return this.controlPaddingYMedium}},{key:"inputPaddingYLarge",get:function(){return this.controlPaddingYLarge}},{key:"inputFocusShadow",get:function(){return"0 0 0 "+this.inputOutlineWidth+" "+this.borderColorFocus}},{key:"inputFocusedBg",get:function(){return this.inputBg}},{key:"inputDisabledBg",get:function(){return this.bgDisabled}},{key:"inputDisabledBorderColor",get:function(){return this.borderColorDisabled}},{key:"inputFocusOutline",get:function(){return this.borderColorFocus}},{key:"inputBorderWidth",get:function(){return this.controlBorderWidth}},{key:"inputOutlineWidth",get:function(){return"calc("+this.controlOutlineWidth+" - 1px)"}},{key:"inputBorderColor",get:function(){return this.borderColorGrayLight}},{key:"inputBorderColorHover",get:function(){return this.inputBorderColor}},{key:"inputBorderColorFocus",get:function(){return this.borderColorFocus}},{key:"inputBorderColorError",get:function(){return this.borderColorError}},{key:"inputBorderColorWarning",get:function(){return this.borderColorWarning}},{key:"inputPlaceholderColor",get:function(){return this.placeholderColor}},{key:"inputPlaceholderColorDisabled",get:function(){return this.textColorDisabledContrast}},{key:"inputPlaceholderColorLight",get:function(){return this.placeholderColorLight}},{key:"inputBlinkColor",get:function(){return this.blinkColor}},{key:"checkboxFontSize",get:function(){return this.fontSizeSmall}},{key:"checkboxFontSizeSmall",get:function(){return this.checkboxFontSize}},{key:"checkboxFontSizeMedium",get:function(){return this.fontSizeMedium}},{key:"checkboxFontSizeLarge",get:function(){return this.fontSizeLarge}},{key:"checkboxLineHeight",get:function(){return this.controlLineHeightSmall}},{key:"checkboxLineHeightSmall",get:function(){return this.checkboxLineHeight}},{key:"checkboxLineHeightMedium",get:function(){return this.controlLineHeightMedium}},{key:"checkboxLineHeightLarge",get:function(){return this.controlLineHeightLarge}},{key:"checkboxPaddingY",get:function(){return((parseInt(this.controlHeightSmall,10)||0)-(parseInt(this.checkboxLineHeightSmall,10)||0))/2+"px"}},{key:"checkboxPaddingYSmall",get:function(){return this.checkboxPaddingY}},{key:"checkboxPaddingYMedium",get:function(){return((parseInt(this.controlHeightMedium,10)||0)-(parseInt(this.checkboxLineHeightMedium,10)||0))/2+"px"}},{key:"checkboxPaddingYLarge",get:function(){return((parseInt(this.controlHeightLarge,10)||0)-(parseInt(this.checkboxLineHeightLarge,10)||0))/2+"px"}},{key:"checkboxTextColorDefault",get:function(){return this.textColorDefault}},{key:"checkboxTextColorDisabled",get:function(){return this.textColorDisabled}},{key:"checkboxShadowDisabled",get:function(){return"0 0 0 "+this.checkboxBorderWidth+" "+this.borderColorDisabled}},{key:"checkboxBorderWidth",get:function(){return this.controlBorderWidth}},{key:"checkboxShadow",get:function(){return"0 0 0 "+this.checkboxBorderWidth+" rgba(0, 0, 0, 0.15)"}},{key:"checkboxShadowHover",get:function(){return"0 0 0 "+this.checkboxBorderWidth+" #c3c3c3"}},{key:"checkboxOutlineColorFocus",get:function(){return this.outlineColorFocus}},{key:"checkboxBorderColorWarning",get:function(){return this.borderColorWarning}},{key:"checkboxBorderColorError",get:function(){return this.borderColorError}},{key:"checkboxCheckedHoverShadow",get:function(){return"0 0 0 "+this.checkboxBorderWidth+" "+this.checkboxCheckedHoverBg}},{key:"checkboxOutlineWidth",get:function(){return this.controlOutlineWidth}},{key:"checkboxCheckedShadow",get:function(){return"0 0 0 "+this.checkboxBorderWidth+" "+this.checkboxCheckedBg}},{key:"checkboxCheckedActiveShadow",get:function(){return"0 0 0 "+this.checkboxBorderWidth+" "+this.checkboxCheckedActiveBg}},{key:"checkboxBorderColorFocus",get:function(){return this.borderColorFocus}},{key:"checkboxHoverBg",get:function(){return this.btnDefaultHoverBg}},{key:"checkboxActiveBg",get:function(){return this.btnDefaultActiveBg}},{key:"checkboxCheckedBg",get:function(){return this.borderColorFocus}},{key:"checkboxBgDisabled",get:function(){return this.bgDisabled}},{key:"checkboxCheckedHoverBg",get:function(){return I(this.checkboxCheckedBg,"5%")}},{key:"checkboxCheckedActiveBg",get:function(){return I(this.checkboxCheckedBg,"15%")}},{key:"checkboxShadowActive",get:function(){return"0 0 0 "+this.checkboxBorderWidth+" #c3c3c3"}},{key:"textareaColor",get:function(){return this.textColorDefault}},{key:"textareaTextColorDisabled",get:function(){return this.textColorDisabledContrast}},{key:"textareaPlaceholderColorLight",get:function(){return this.placeholderColorLight}},{key:"textareaPlaceholderColor",get:function(){return this.placeholderColor}},{key:"textareaPlaceholderColorDisabled",get:function(){return this.textColorDisabledContrast}},{key:"textareaFontSize",get:function(){return this.fontSizeSmall}},{key:"textareaFontSizeSmall",get:function(){return this.textareaFontSize}},{key:"textareaFontSizeMedium",get:function(){return this.fontSizeMedium}},{key:"textareaFontSizeLarge",get:function(){return this.fontSizeLarge}},{key:"textareaLineHeight",get:function(){return this.controlLineHeightSmall}},{key:"textareaLineHeightSmall",get:function(){return this.textareaLineHeight}},{key:"textareaLineHeightMedium",get:function(){return this.controlLineHeightMedium}},{key:"textareaLineHeightLarge",get:function(){return this.controlLineHeightLarge}},{key:"textareaBorderWidth",get:function(){return this.controlBorderWidth}},{key:"textareaOutlineWidth",get:function(){return(parseInt(this.controlOutlineWidth,10)||0)-(parseInt(this.textareaBorderWidth,10)||0)+"px"}},{key:"textareaMinHeight",get:function(){return(parseInt(this.textareaLineHeightSmall,10)||0)+2*(parseInt(this.textareaPaddingYSmall,10)||0)+2*(parseInt(this.textareaBorderWidth,10)||0)+"px"}},{key:"textareaMinHeightSmall",get:function(){return this.textareaMinHeight}},{key:"textareaMinHeightMedium",get:function(){return(parseInt(this.textareaLineHeightMedium,10)||0)+2*(parseInt(this.textareaPaddingYMedium,10)||0)+2*(parseInt(this.textareaBorderWidth,10)||0)+"px"}},{key:"textareaMinHeightLarge",get:function(){return(parseInt(this.textareaLineHeightLarge,10)||0)+2*(parseInt(this.textareaPaddingYLarge,10)||0)+2*(parseInt(this.textareaBorderWidth,10)||0)+"px"}},{key:"textareaPaddingXSmall",get:function(){return this.textareaPaddingX}},{key:"textareaPaddingY",get:function(){return this.controlPaddingYSmall}},{key:"textareaPaddingYSmall",get:function(){return this.textareaPaddingY}},{key:"textareaPaddingYMedium",get:function(){return this.controlPaddingYMedium}},{key:"textareaPaddingYLarge",get:function(){return this.controlPaddingYLarge}},{key:"textareaBorderColor",get:function(){return this.borderColorGrayLight}},{key:"textareaBorderColorFocus",get:function(){return this.borderColorFocus}},{key:"textareaBorderColorHover",get:function(){return this.inputBorderColorHover}},{key:"textareaBorderColorWarning",get:function(){return this.borderColorWarning}},{key:"textareaBorderColorError",get:function(){return this.borderColorError}},{key:"textareaCounterColor",get:function(){return this.gray}},{key:"textareaCounterBg",get:function(){return M(this.textareaBg,.9)}},{key:"textareaCounterErrorColor",get:function(){return this.errorText}},{key:"textareaCounterHelpIconColor",get:function(){return this.linkColor}},{key:"radioBulletSizeSmall",get:function(){return this.radioBulletSize}},{key:"radioOutlineWidth",get:function(){return this.controlOutlineWidth}},{key:"radioTextColor",get:function(){return this.textColorDefault}},{key:"radioSizeSmall",get:function(){return this.radioSize}},{key:"radioFontSize",get:function(){return this.fontSizeSmall}},{key:"radioFontSizeSmall",get:function(){return this.radioFontSize}},{key:"radioFontSizeMedium",get:function(){return this.fontSizeMedium}},{key:"radioFontSizeLarge",get:function(){return this.fontSizeLarge}},{key:"radioLineHeight",get:function(){return this.controlLineHeightSmall}},{key:"radioLineHeightSmall",get:function(){return this.radioLineHeight}},{key:"radioLineHeightMedium",get:function(){return this.controlLineHeightMedium}},{key:"radioLineHeightLarge",get:function(){return this.controlLineHeightLarge}},{key:"radioPaddingY",get:function(){return((parseInt(this.controlHeightSmall,10)||0)-(parseInt(this.radioLineHeightSmall,10)||0))/2+"px"}},{key:"radioPaddingYSmall",get:function(){return this.radioPaddingY}},{key:"radioPaddingYMedium",get:function(){return((parseInt(this.controlHeightMedium,10)||0)-(parseInt(this.radioLineHeightMedium,10)||0))/2+"px"}},{key:"radioPaddingYLarge",get:function(){return((parseInt(this.controlHeightLarge,10)||0)-(parseInt(this.radioLineHeightLarge,10)||0))/2+"px"}},{key:"radioHoverBg",get:function(){return this.checkboxHoverBg}},{key:"radioActiveBg",get:function(){return this.checkboxActiveBg}},{key:"radioBorderWidth",get:function(){return this.controlBorderWidth}},{key:"radioBorderColor",get:function(){return this.borderColorGrayLight}},{key:"radioBorder",get:function(){return this.radioBorderWidth+" solid "+this.radioBorderColor}},{key:"radioBorderColorFocus",get:function(){return this.borderColorFocus}},{key:"radioBorderColorWarning",get:function(){return this.borderColorWarning}},{key:"radioBorderColorError",get:function(){return this.borderColorError}},{key:"radioFocusShadow",get:function(){return"inset 0 0 0 1px "+this.outlineColorFocus}},{key:"radioCheckedBgColor",get:function(){return this.checkboxCheckedBg}},{key:"radioCheckedHoverBgColor",get:function(){return I(this.checkboxCheckedBg,"5%")}},{key:"radioDisabledBg",get:function(){return this.bgDisabled}},{key:"radioDisabledShadow",get:function(){return"0 0 0 "+this.radioBorderWidth+" "+this.borderColorDisabled}},{key:"radioCheckedDisabledBulletBg",get:function(){return this.gray}},{key:"tabFontSize",get:function(){return this.fontSizeLarge}},{key:"tabFontSizeSmall",get:function(){return this.fontSizeSmall}},{key:"tabFontSizeMedium",get:function(){return this.fontSizeMedium}},{key:"tabFontSizeLarge",get:function(){return this.tabFontSize}},{key:"tabLineHeight",get:function(){return this.controlLineHeightLarge}},{key:"tabLineHeightSmall",get:function(){return this.controlLineHeightSmall}},{key:"tabLineHeightMedium",get:function(){return this.controlLineHeightMedium}},{key:"tabLineHeightLarge",get:function(){return this.tabLineHeight}},{key:"tabPaddingXLarge",get:function(){return this.tabPaddingX}},{key:"tabsMarginX",get:function(){return this.tabPaddingX}},{key:"tabPaddingY",get:function(){return parseInt(this.controlPaddingYLarge)+parseInt(this.controlBorderWidth)+"px"}},{key:"tabPaddingYSmall",get:function(){return parseInt(this.controlPaddingYSmall)+parseInt(this.controlBorderWidth)+"px"}},{key:"tabPaddingYMedium",get:function(){return parseInt(this.controlPaddingYMedium)+parseInt(this.controlBorderWidth)+"px"}},{key:"tabPaddingYLarge",get:function(){return this.tabPaddingY}},{key:"tabOutlineWidth",get:function(){return this.controlOutlineWidth}},{key:"tabTextColorDefault",get:function(){return this.textColorDefault}},{key:"tabColorFocus",get:function(){return this.borderColorFocus}},{key:"tabColorError",get:function(){return this.btnDangerBg}},{key:"tabColorWarning",get:function(){return this.btnPayBg}},{key:"tabColorSuccess",get:function(){return this.btnSuccessBg}},{key:"tabColorPrimary",get:function(){return this.btnPrimaryBg}},{key:"tabColorHover",get:function(){return this.borderColorFocusLight}},{key:"tabColorHoverError",get:function(){return O(this.tabColorError,"25%")}},{key:"tabColorHoverWarning",get:function(){return O(this.tabColorWarning,"25%")}},{key:"tabColorHoverSuccess",get:function(){return O(this.tabColorSuccess,"25%")}},{key:"tabColorHoverPrimary",get:function(){return O(this.tabColorPrimary,"25%")}},{key:"spinnerBgColor",get:function(){return this.grayXLight}},{key:"spinnerColor",get:function(){return this.red}},{key:"spinnerDimmedColor",get:function(){return this.gray}},{key:"spinnerCaptionColor",get:function(){return this.gray}},{key:"spinnerFontSizeSmall",get:function(){return this.fontSizeSmall}},{key:"spinnerFontSizeMedium",get:function(){return this.fontSizeMedium}},{key:"spinnerFontSizeLarge",get:function(){return this.fontSizeLarge}},{key:"spinnerLineHeightSmall",get:function(){return this.controlLineHeightSmall}},{key:"spinnerLineHeightMedium",get:function(){return this.controlLineHeightMedium}},{key:"spinnerLineHeightLarge",get:function(){return this.controlLineHeightLarge}},{key:"switcherTextColor",get:function(){return this.textColorDefault}},{key:"switcherOutlineWidth",get:function(){return this.btnOutlineWidth}},{key:"switcherCaptionFontSizeSmall",get:function(){return this.btnFontSizeSmall}},{key:"switcherCaptionFontSizeMedium",get:function(){return this.btnFontSizeMedium}},{key:"switcherCaptionFontSizeLarge",get:function(){return this.btnFontSizeLarge}},{key:"switcherCaptionLineHeightSmall",get:function(){return this.btnLineHeightSmall}},{key:"switcherCaptionLineHeightMedium",get:function(){return this.btnLineHeightMedium}},{key:"switcherCaptionLineHeightLarge",get:function(){return this.btnLineHeightLarge}},{key:"switcherCaptionGapSmall",get:function(){return this.btnPaddingXSmall}},{key:"switcherCaptionGapMedium",get:function(){return this.btnPaddingXMedium}},{key:"switcherCaptionGapLarge",get:function(){return this.btnPaddingXLarge}},{key:"switcherButtonPaddingYSmall",get:function(){return this.btnPaddingYSmall}},{key:"switcherButtonPaddingYMedium",get:function(){return this.btnPaddingYMedium}},{key:"switcherButtonPaddingYLarge",get:function(){return this.btnPaddingYLarge}},{key:"switcherButtonLineHeightSmall",get:function(){return this.btnLineHeightSmall}},{key:"switcherButtonLineHeightMedium",get:function(){return this.btnLineHeightMedium}},{key:"switcherButtonLineHeightLarge",get:function(){return this.btnLineHeightLarge}},{key:"switcherButtonFontSizeSmall",get:function(){return this.btnFontSizeSmall}},{key:"switcherButtonFontSizeMedium",get:function(){return this.btnFontSizeMedium}},{key:"switcherButtonFontSizeLarge",get:function(){return this.btnFontSizeLarge}},{key:"switcherButtonBorderRadiusSmall",get:function(){return this.btnBorderRadiusSmall}},{key:"switcherButtonBorderRadiusMedium",get:function(){return this.btnBorderRadiusMedium}},{key:"switcherButtonBorderRadiusLarge",get:function(){return this.btnBorderRadiusLarge}},{key:"switcherButtonBorderWidth",get:function(){return this.btnBorderWidth}},{key:"switcherButtonDisabledBorderColor",get:function(){return this.switcherBtnDisabledBorderColor}},{key:"switcherButtonCheckedDisabledShadow",get:function(){return this.btnCheckedDisabledShadow}},{key:"mobilePopupHeaderFontSize",get:function(){return this.fontSizeMobile}},{key:"mobilePopupHeaderLineHeight",get:function(){return this.lineHeightMobile}},{key:"globalLoaderColor",get:function(){return this.blueLight}},{key:"fileUploaderFontSize",get:function(){return this.fontSizeSmall}},{key:"fileUploaderPaddingXSmall",get:function(){return this.inputPaddingXSmall}},{key:"fileUploaderPaddingXMedium",get:function(){return this.inputPaddingXMedium}},{key:"fileUploaderPaddingXLarge",get:function(){return this.inputPaddingXLarge}},{key:"fileUploaderFontSizeSmall",get:function(){return this.fontSizeSmall}},{key:"fileUploaderFontSizeMedium",get:function(){return this.fontSizeMedium}},{key:"fileUploaderFontSizeLarge",get:function(){return this.fontSizeLarge}},{key:"fileUploaderLineHeight",get:function(){return this.controlLineHeightSmall}},{key:"fileUploaderLineHeightSmall",get:function(){return this.fileUploaderLineHeight}},{key:"fileUploaderLineHeightMedium",get:function(){return this.controlLineHeightMedium}},{key:"fileUploaderLineHeightLarge",get:function(){return this.controlLineHeightLarge}},{key:"fileUploaderPaddingYSmall",get:function(){return this.fileUploaderPaddingY}},{key:"fileUploaderPaddingYMedium",get:function(){return this.controlPaddingYMedium}},{key:"fileUploaderPaddingYLarge",get:function(){return this.controlPaddingYLarge}},{key:"fileUploaderTextColorDefault",get:function(){return this.textColorDefault}},{key:"fileUploaderPaddingY",get:function(){return this.controlPaddingYSmall}},{key:"fileUploaderBorderWidth",get:function(){return this.controlBorderWidth}},{key:"fileUploaderDisabledBorder",get:function(){return this.fileUploaderBorderWidth+" solid "+this.fileUploaderDisabledBorderColor}},{key:"fileUploaderBorderColorFocus",get:function(){return this.borderColorFocus}},{key:"fileUploaderLinkColor",get:function(){return this.linkColor}},{key:"fileUploaderBorderColorError",get:function(){return this.borderColorError}},{key:"fileUploaderBorderColorWarning",get:function(){return this.borderColorWarning}},{key:"fileUploaderLinkHoverTextDecoration",get:function(){return this.linkHoverTextDecoration}},{key:"fileUploaderDragOverBorderColor",get:function(){return this.borderColorFocus}},{key:"closeBtnIconFocusShadow",get:function(){return"inset 0 0 0 1px "+this.borderColorFocus+", inset 0 0 0 2px "+this.outlineColorFocus}}]),e}();j.fontFamilyCompensationBaseline="0px",j.labGrotesqueBaselineCompensation="1",j.brandXLight="#cae5f5",j.brandLight="#3094d0",j.brand="#2291ff",j.brandDark="#1363a0",j.brandXDark="#084f85",j.white="#fff",j.grayXxLight="#f2f2f2",j.grayXLight="#ebebeb",j.grayLight="#a0a0a0",j.gray="#858585",j.grayDark="#333",j.black="#000",j.blueXxLight="#cdedff",j.blueLight="#1f87ef",j.blue="#1874cf",j.blueDark="#1874cf",j.blueXDark="#044785",j.greenXxLight="#d7f8ae",j.green="#538a1b",j.greenDark="#477916",j.redXxLight="#ffddd6",j.red="#dd473b",j.redDark="#cb3d35",j.yellowXxLight="#ffeec2",j.yellow="#fcb73e",j.yellowDark="#ef8b17",j.bgDefault="#fff",j.bgDisabled="#f6f6f6",j.errorMain="#dd473b",j.errorSecondary="#ffd6d6",j.errorText="#cb3d35",j.warningMain="#fcb73e",j.warningSecondary="#fff0bc",j.warningText="#d97e00",j.borderColorFocusLight="#cdedff",j.borderColorGrayDark="rgba(0, 0, 0, 0.28)",j.borderColorGrayLight="rgba(0, 0, 0, 0.16)",j.placeholderColor="#adadad",j.outlineColorFocus="#fff",j.placeholderColorLight="#cdcdcd",j.blinkColor="rgba(0, 136, 255, 0.2)",j.controlBorderWidth="1px",j.controlOutlineWidth="2px",j.controlLineHeightSmall="20px",j.controlLineHeightMedium="22px",j.controlLineHeightLarge="24px",j.controlPaddingYSmall="5px",j.controlPaddingYMedium="8px",j.controlPaddingYLarge="11px",j.textColorDefault="#222222",j.textColorInvert="#fff",j.textColorDisabled="#adadad",j.textColorDisabledContrast="#858585",j.fontSizeSmall="14px",j.fontSizeMedium="16px",j.fontSizeLarge="18px",j.fontSizeMobile="18px",j.lineHeightMobile="24px",j.specificityLevel="0",j.fixedPanelShadow="0 0 16px 1px rgba(0, 0, 0, 0.3)",j.controlHeightSmall="32px",j.controlHeightMedium="40px",j.controlHeightLarge="48px",j.mobileMediaQuery="(max-width: 576px) and (hover: none) and (pointer: coarse)",j.transitionDuration="100ms",j.transitionTimingFunction="cubic-bezier(0.5, 1, 0.89, 1)",j.linkColor="#1874cf",j.linkActiveColor="#1260ae",j.linkHoverTextDecoration="underline",j.linkSuccessColor="#477916",j.linkSuccessHoverColor="#477916",j.linkSuccessActiveColor="#325a0c",j.linkDangerColor="#cb3d35",j.linkDangerHoverColor="#cb3d35",j.linkDangerActiveColor="#a92a27",j.linkIconMarginRight="4px",j.linkIconMarginLeft="4px",j.linkButtonLineHeight="34px",j.linkButtonPaddingX="10px",j.linkLineBorderBottomStyle="",j.linkLineBorderBottomWidth="0px",j.linkLineBorderBottomOpacity="0.5",j.linkLineBorderBottomColor="color-mix(in srgb, currentColor "+100*parseFloat(j.linkLineBorderBottomOpacity)+"%, transparent)",j.linkFocusOutlineColor="transparent",j.linkFocusOutlineWidth="0px",j.linkFocusOutline="none",j.tokenDisabledBg="rgba(0, 0, 0, 0.05)",j.tokenMarginY="3px",j.tokenMarginX="2px",j.tokenMarginYMedium="3px",j.tokenMarginXMedium="3px",j.tokenMarginYLarge="3px",j.tokenMarginXLarge="4px",j.tokenPaddingY="1px",j.tokenPaddingX="3px",j.tokenPaddingYMedium="2px",j.tokenPaddingXMedium="5px",j.tokenPaddingYLarge="3px",j.tokenPaddingXLarge="7px",j.tokenMarginBeforeIcon="4px",j.tokenRemoveIconSize="8px",j.tokenRemoveIconPaddingY="4px",j.tokenRemoveIconPaddingX="4px",j.tokenRemoveIconGap="4px",j.tokenRemoveIconBoxSizing="content-box",j.tokenBorderRadius="1px",j.tokenBorderWidth="1px",j.tokenBorderColorDisabled="transparent",j.tokenOutlineWidth="2px",j.tokenLegacyTextShift="0px",j.tokenDefaultIdleBg="",j.tokenDefaultIdleColor="",j.tokenDefaultIdleBorderColor="",j.tokenDefaultIdleBgHover="",j.tokenDefaultIdleColorHover="",j.tokenDefaultIdleBorderColorHover="",j.tokenDefaultActiveBg="",j.tokenDefaultActiveColor="",j.tokenDefaultActiveBorderColor="",j.tokenInputBorderRadius="0px",j.tokenInputPaddingY="1px",j.tokenInputPaddingX="2px",j.tokenInputPaddingYMedium="3px",j.tokenInputPaddingXMedium="3px",j.tokenInputPaddingYLarge="5px",j.tokenInputPaddingXLarge="4px",j.tokenInputPopupOffset="0px",j.tokenInputPopupMarginSmall="7px",j.tokenInputPopupMarginMedium="10px",j.tokenInputPopupMarginLarge="13px",j.loaderBg="rgba(255, 255, 255, 0.8)",j.loaderOpacity="0.8",j.loaderBorderRadius="0px",j.btnBackgroundClip="padding-box",j.btnArrowBgImageActive="none",j.btnArrowBgImageChecked="none",j.btnLinkBorderRadius="2px",j.btnFocusShadowWidth="2px",j.btnBorderColorTransition="",j.btnDisabledBorderColor="rgba(0, 0, 0, 0.05)",j.btnCheckedBg="#7e7e7e",j.btnCheckedDisabledBg="#a0a0a0",j.btnCheckedDisabledColor="rgba(255, 255, 255, 0.7)",j.btnCheckedTextColor="#fff",j.btnCheckedShadow="none",j.btnCheckedDisabledShadow="none",j.btnBorderRadiusSmall="1px",j.btnBorderRadiusMedium="1px",j.btnBorderRadiusLarge="1px",j.btnInsetWidth="1px",j.btnPaddingXSmall="15px",j.btnPaddingXMedium="15px",j.btnPaddingXLarge="19px",j.btnIconGapSmall="4px",j.btnIconGapSmallRight="4px",j.btnIconGapMedium="4px",j.btnIconGapMediumRight="4px",j.btnIconGapLarge="4px",j.btnIconGapLargeRight="4px",j.btnIconSizeSmall="16px",j.btnIconSizeMedium="18px",j.btnIconSizeLarge="20px",j.btnDefaultBg="#fff",j.btnDefaultBgStart="none",j.btnDefaultBgEnd="none",j.btnDefaultHoverBg="#f2f2f2",j.btnDefaultHoverBgStart="none",j.btnDefaultHoverBgEnd="none",j.btnDefaultActiveBg="#ebebeb",j.btnDefaultHoverBorderColor="rgba(0, 0, 0, 0.16)",j.btnDefaultHoverBorderBottomColor="",j.btnDefaultHoverTextColor="",j.btnDefaultActiveBorderColor="rgba(0, 0, 0, 0.16)",j.btnDefaultActiveBorderTopColor="",j.btnDefaultBorderColor="rgba(0, 0, 0, 0.16)",j.btnDefaultBorderBottomColor="",j.btnDefaultActiveShadow="none",j.btnSuccessBg="#538a1b",j.btnSuccessHoverBg="#477916",j.btnSuccessHoverBorderColor="#477916",j.btnSuccessHoverBorderBottomColor="",j.btnSuccessHoverTextColor="",j.btnSuccessBorderColor="#538a1b",j.btnSuccessBorderBottomColor="",j.btnSuccessBgStart="none",j.btnSuccessBgEnd="none",j.btnSuccessTextColor="#fff",j.btnSuccessHoverBgStart="none",j.btnSuccessHoverBgEnd="none",j.btnSuccessActiveBg="#3a6710",j.btnSuccessActiveBorderColor="#3a6710",j.btnSuccessActiveBorderTopColor="",j.btnSuccessActiveShadow="none",j.btnPrimaryBg="#1c7edf",j.btnPrimaryHoverBg="#1874cf",j.btnPrimaryHoverBorderColor="#1874cf",j.btnPrimaryHoverBorderBottomColor="",j.btnPrimaryHoverTextColor="",j.btnPrimaryBorderColor="#1c7edf",j.btnPrimaryBorderBottomColor="",j.btnPrimaryBgStart="none",j.btnPrimaryBgEnd="none",j.btnPrimaryTextColor="#fff",j.btnPrimaryHoverBgStart="none",j.btnPrimaryHoverBgEnd="none",j.btnPrimaryActiveBg="#156abe",j.btnPrimaryActiveBorderColor="#156abe",j.btnPrimaryActiveBorderTopColor="",j.btnPrimaryActiveShadow="none",j.btnDangerBg="#dd473b",j.btnDangerHoverBg="#cb3d35",j.btnDangerHoverBorderColor="#cb3d35",j.btnDangerHoverBorderBottomColor="",j.btnDangerHoverTextColor="",j.btnDangerBorderColor="#dd473b",j.btnDangerBorderBottomColor="",j.btnDangerBgStart="none",j.btnDangerBgEnd="none",j.btnDangerTextColor="#fff",j.btnDangerHoverBgStart="none",j.btnDangerHoverBgEnd="none",j.btnDangerActiveBg="#ba342e",j.btnDangerActiveBorderColor="#ba342e",j.btnDangerActiveBorderTopColor="",j.btnDangerActiveShadow="none",j.btnPayBg="#fcb73e",j.btnPayHoverBg="#fda70c",j.btnPayHoverBorderColor="#fda70c",j.btnPayHoverBorderBottomColor="",j.btnPayHoverTextColor="",j.btnPayBorderColor="#fcb73e",j.btnPayBorderBottomColor="",j.btnPayBgStart="none",j.btnPayBgEnd="none",j.btnPayHoverBgStart="none",j.btnPayHoverBgEnd="none",j.btnPayActiveBg="#f69912",j.btnPayActiveBorderColor="#f69912",j.btnPayActiveBorderTopColor="",j.btnPayActiveShadow="none",j.btnMenuArrowColor="#a6a6a6",j.btnLinkLineBorderBottomStyle="",j.btnLinkLineBorderBottomWidth="0px",j.btnInsetColor="#fff",j.btnBacklessBg="transparent !important",j.btnBacklessHoverBg="rgba(0, 0, 0, 0.04) !important",j.btnBacklessActiveBg="rgba(0, 0, 0, 0.1) !important",j.btnBacklessHoverTextColor="",j.btnTextBg="transparent",j.btnTextHoverBg="rgba(0, 0, 0, 0.04)",j.btnTextActiveBg="rgba(0, 0, 0, 0.1)",j.btnTextHoverTextColor="",j.btnWithIconPaddingLeftSmall="",j.btnWithIconPaddingLeftMedium="",j.btnWithIconPaddingLeftLarge="",j.btnIconColor="",j.btnIconHoverColor="",j.btnIconDisabledColor="",j.selectPlaceholderColor="#adadad",j.selectPaddingXSmall="7px",j.selectIconGapSmall="4px",j.selectPaddingXMedium="11px",j.selectIconGapMedium="8px",j.selectPaddingXLarge="15px",j.selectIconGapLarge="12px",j.selectRootWidthMobile="auto",j.mobileSelectMaxWidth="100%",j.selectBorderColorTransition="box-shadow "+j.transitionDuration+" "+j.transitionTimingFunction+";",j.tooltipPaddingY="16px",j.tooltipPaddingX="16px",j.tooltipCloseBtnPadding="8px",j.tooltipCloseBtnSide="8px",j.tooltipCloseBtnColor="rgba(0, 0, 0, 0.32)",j.tooltipCloseBtnHoverColor="rgba(0, 0, 0, 0.5)",j.tooltipBg="#fff",j.tooltipPinOffset="0px",j.tooltipPinOffsetX="16px",j.tooltipPinOffsetY="18px",j.tooltipMargin="10px",j.kebabMargin="4px",j.kebabBackground="transparent",j.kebabBackgroundHover="rgba(0, 0, 0, 0.09)",j.kebabBorderRadius="50%",j.kebabBorder="2px solid transparent",j.kebabSizeSmall="26px",j.kebabSizeMedium="26px",j.kebabSizeLarge="26px",j.kebabIconSizeSmall="14px",j.kebabIconSizeMedium="18px",j.kebabIconSizeLarge="20px",j.kebabIconColor="#757575",j.modalWindowShadow="0 5px 10px rgba(0, 0, 0, 0.2);",j.modalBackBg="#222",j.modalBackOpacity="0.6",j.modalCloseButtonColor="rgba(0, 0, 0, 0.32)",j.modalCloseButtonDisabledColor="#8b8b8b",j.modalCloseButtonHoverColor="rgba(0, 0, 0, 0.865)",j.modalCloseButtonPadding="36px",j.modalCloseButtonLegacyShift="0px",j.modalCloseButtonBottomPadding="20px",j.modalCloseButtonClickArea="10px",j.modalCloseIconSize="12px",j.modalCloseLegacyGap="0px",j.modalCloseWrapperLegacyGap="0px",j.modalBorderRadius="0px",j.modalFixedHeaderBorder="none",j.modalFixedFooterBorder="none",j.modalFixedPanelShadow="none",j.modalFooterBg="#ebebeb",j.modalAdaptiveThreshold="425px",j.modalPaddingTop="24px",j.modalPaddingLeft="32px",j.modalPaddingRight="36px",j.modalHeaderFontSize="24px",j.modalHeaderFontWeight="400",j.modalHeaderLineHeight="32px",j.modalHeaderPaddingBottom="16px",j.modalHeaderPaddingTop="24px",j.modalHeaderAdditionalPaddingBottom="22px",j.modalFixedHeaderMarginBottom="10px",j.modalFixedFooterPaddingTop="20px",j.modalFixedFooterMarginTop="10px",j.modalSeparatorBorderBottom="none",j.modalBodyTextColor="inherit",j.modalFooterTextColor="inherit",j.modalBodyPaddingTop="0",j.modalBodyPaddingBottom="24px",j.modalBodyBorderRadius="0px",j.modalFooterPaddingTop="0px",j.modalFooterPaddingBottom="32px",j.modalPaddingBottom="40px",j.modalFooterPanelPaddingTop="20px",j.modalFooterPanelPaddingBottom="20px",j.mobileModalCloseButtonRightPadding="16px",j.mobileModalCloseButtonTopPadding="12px",j.mobileModalCloseButtonClickArea="16px",j.mobileModalCloseIconSize="12px",j.mobileModalHeaderFontSize="24px",j.mobileModalHeaderLineHeight="32px",j.mobileModalHeaderPadding="16px",j.mobileModalBodyPadding="0 16px 16px 16px",j.mobileModalBodyFontSize="16px",j.mobileModalFooterPadding="16px",j.mobileModalPaddingBottom="16px",j.mobileModalContainerHeight="100%",j.mobileModalContainerMarginTop="0",j.mobileModalContainerMarginRight="0",j.mobileModalContainerMarginBottom="0",j.mobileModalContainerMarginLeft="0",j.sidePageFooterPanelBg="#ebebeb",j.sidePageBackingBg="#222",j.sidePageBackingBgOpacity="0.6",j.sidePageCloseButtonColor="rgba(0, 0, 0, 0.374)",j.sidePageCloseButtonHoverColor="rgba(0, 0, 0, 0.5)",j.sidePageContainerShadow="0 5px 10px rgba(0, 0, 0, 0.2)",j.mobileSidePagePaddingLeft="16px",j.mobileSidePagePaddingRight="16px",j.mobileSidePagePaddingTop="16px",j.mobileSidePagePaddingBottom="16px",j.mobileSidePageFooterPadding="16px",j.sidePagePaddingLeft="32px",j.sidePagePaddingRight="36px",j.sidePagePaddingTop="24px",j.sidePagePaddingBottom="40px",j.sidePageFooterPaddingTop="24px",j.sidePageFooterPaddingBottom="32px",j.sidePageBodyTextColor="inherit",j.sidePageFooterTextColor="inherit",j.sidePageHeaderFontSize="24px",j.sidePageHeaderLineHeight="32px",j.sidePageHeaderPaddingBottom="16px",j.sidePageHeaderPaddingTop="24px",j.sidePageHeaderFixedFontSize="18px",j.sidePageHeaderFixedLineHeight="28px",j.sidePageHeaderFixedPaddingY="10px",j.sidePageHeaderStickyOffset="5px",j.sidePageCloseButtonPadding="36px",j.mobileSidePageCloseButtonPadding="16px",j.sidePageCloseButtonLegacyPaddingLeft="36px",j.sidePageFooterPanelPaddingTop="20px",j.sidePageFooterPanelPaddingBottom="20px",j.sidePageCloseIconSize="12px",j.sidePageCloseButtonClickArea="10px",j.mobileSidePageCloseButtonClickArea="16px",j.sidePageFixedPanelShadow="none",j.mobileSidePageHeaderFontSize="24px",j.mobileSidePageHeaderLineHeight="32px",j.mobileSidePageHeaderPaddingBottom="16px",j.mobileSidePageHeaderPaddingTop="16px",j.sidePageHeaderFontWeight="",j.dateInputMaskColor="#b8b8b8",j.dateInputComponentSelectedBgColor="#cdedff",j.calendarCellHoverColor="white",j.calendarCellActiveHoverColor="white",j.calendarCellWeekendColor="#cb3d35",j.calendarCellTodayBorder="1px solid rgba(0, 0, 0, 0.32)",j.calendarCellSelectedBgColor="#ebebeb",j.calendarCellSelectedFontColor="inherit",j.calendarCellSize="32px",j.calendarMonthTitleBorderBottomColor="#dfdede",j.calendarPaddingX="18px",j.calendarMonthTitleLineHeight="20px",j.calendarMonthTitlePaddingTop="12px",j.calendarMonthTitlePaddingBottom="8px",j.calendarMonthTitleMarginX="6px",j.calendarMonthTitleMarginBottom="6px",j.calendarWrapperHeight=" 330px",j.calendarMonthMarginBottom="6px",j.calendarMaxMonthsToAppendOnScroll="5",j.dateSelectLineHeight="20px",j.dateSelectFontSize="14px",j.dateSelectFontWeight="bold",j.dateSelectMenuItemBgSelected="#ececec",j.datePickerMenuOffsetY="2px",j.pickerShadow="0 4px 12px 0 rgba(0, 0, 0, 0.16)",j.pickerTodayWrapperBorderTop="1px solid #dfdede",j.pickerTodayWrapperHoverBgColor="#f5f5f5",j.pickerTodayWrapperFontSize="14px",j.pickerTodayWrapperLineHeight="20px",j.pickerTodayWrapperPaddingTop="6px",j.pickerTodayWrapperPaddingBottom="6px",j.pickerBorderRadius="",j.pagingForwardIconMarginTop="1px",j.pagingPageLinkBoxSizing="content-box",j.pagingPageLinkPaddingX="0.625em",j.pagingPageLinkPaddingY="0.3125em",j.pagingPageLinkLegacyPaddingY="0px",j.pagingPageLinkMinWidth="0.75em",j.pagingPageForwardLinkMarginTop="0.35em",j.pagingPageForwardLinkMarginLeft="10px",j.pagingPageForwardLinkPaddingRight="1.375em",j.pagingLineHeight="1.375em",j.pagingDotsColor="gray",j.pagingDotsPadding="0.375em 0.625em 0",j.pagingPageLinkActiveBg="rgba(0, 0, 0, 0.09)",j.pagingPageLinkDisabledActiveBg="rgba(0, 0, 0, 0.04)",j.pagingPageLinkHoverBg="rgba(0, 0, 0, 0.05)",j.pagingPageLinkBorderRadius="9999px",j.pagingPageLinkHintFontSize="12px",j.pagingPageLinkHintLineHeight="16px",j.pagingPageLinkHintMargin="0 -20px",j.pagingPageLinkMargin="0px 1px",j.hintMaxWidth="200px",j.hintPaddingY="6px",j.hintPaddingX="8px",j.hintTextAlign="center",j.hintBgColor="rgba(51, 51, 51, 0.8)",j.hintBorder="none",j.hintBorderRadius="2px",j.hintPinOffset="8px",j.hintMargin="8px",j.toastPaddingY="10px",j.toastPaddingX="16px",j.toastBorderRadius="2px",j.toastBorder="none",j.toastTop="24px",j.toastBg="rgba(51, 51, 51, 0.8)",j.toastColor="white",j.toastLinkColor="#8fcdff",j.toastLinkTextDecorationHover="underline",j.toastLinkBgHover="",j.toastLinkBgActive="",j.toastClosePadding="16px",j.toastCloseColor="rgba(255, 255, 255, 0.6)",j.toastCloseHoverColor="white",j.toastCloseSize="8px",j.dropdownMenuSelectedBg="#f1f1f1",j.dropdownMenuBorderColorTransition="",j.dropdownMenuMenuBoxSizing="content-box",j.dropdownButtonBorderRadiusSmall="1px",j.dropdownButtonBorderRadiusMedium="1px",j.dropdownButtonBorderRadiusLarge="1px",j.menuBorder="none",j.menuShadow="0 4px 12px rgba(0, 0, 0, 0.16)",j.menuPaddingY="0px",j.menuLegacyPaddingY="5px",j.menuScrollContainerContentWrapperPaddingY="4px",j.mobileMenuPaddingY="0px",j.mobileMenuScrollContainerContentWrapperPaddingY="0px",j.menuPaddingX="0px",j.mobileMenuPaddingX="8px",j.menuOffsetY="0px",j.menuBoxSizing="content-box",j.menuItemIconWidth="16px",j.menuItemIconWidthMedium="20px",j.menuItemIconWidthLarge="24px",j.menuItemIconGap="4px",j.menuItemIconLegacyMargin="0px",j.menuItemIconLegacyShift="0px",j.menuItemPaddingX="8px",j.menuItemPaddingY="6px",j.menuItemPaddingXMedium="12px",j.menuItemPaddingYMedium="9px",j.menuItemPaddingXLarge="16px",j.menuItemPaddingYLarge="12px",j.menuItemBorderRadius="0px",j.menuItemLegacyPaddingX="0px",j.menuItemLegacyPaddingY="0px",j.menuItemCommentColor="#adadad",j.menuItemCommentOpacity="",j.menuItemCommentColorHover="#fff",j.menuItemDisplay="block",j.menuItemPaddingMobile="12px 16px",j.menuItemDisabledBg="transparent",j.menuItemGap="0px",j.menuHeaderColor="#757575",j.menuHeaderLineHeight="16px",j.menuHeaderLineHeightMedium="20px",j.menuHeaderLineHeightLarge="22px",j.menuHeaderFontSize="12px",j.menuHeaderFontSizeMedium="14px",j.menuHeaderFontSizeLarge="16px",j.menuHeaderPaddingX="8px",j.menuHeaderPaddingTop="12px",j.menuHeaderPaddingBottom="4px",j.menuHeaderPaddingXMedium="12px",j.menuHeaderPaddingTopMedium="14px",j.menuHeaderPaddingBottomMedium="6px",j.menuHeaderPaddingXLarge="16px",j.menuHeaderPaddingTopLarge="18px",j.menuHeaderPaddingBottomLarge="8px",j.menuHeaderTotalCountPaddingTopSmall="4px",j.menuHeaderTotalCountPaddingTopMedium="6px",j.menuHeaderTotalCountPaddingTopLarge="8px",j.menuHeaderTotalCountPaddingBottomSmall="12px",j.menuHeaderTotalCountPaddingBottomMedium="14px",j.menuHeaderTotalCountPaddingBottomLarge="18px",j.menuHeaderLegacyPaddingRight="0px",j.menuFooterLegacyPaddingRight="0px",j.menuSeparatorBorderColor="#ebebeb",j.menuSeparatorMarginY="2px",j.menuSeparatorMarginX="0px",j.menuSeparatorBorderWidth="1px",j.mobileMenuSeparatorMarginY="4px",j.mobileMenuSeparatorMarginX="24px",j.toggleHandleActiveWidthIncrement="4px",j.toggleHeight="20px",j.toggleWidth="32px",j.toggleHeightMedium="22px",j.toggleWidthMedium="34px",j.toggleHeightLarge="24px",j.toggleWidthLarge="36px",j.toggleBg="#fff",j.toggleCheckedBg="#fff",j.toggleDisabledHandleBg="#fff",j.toggleBaseBg="#fff",j.toggleBgDisabledChecked="#dadada",j.toggleBgHover="#f3f3f2",j.toggleCheckedBgHover="#f3f3f2",j.toggleBgChecked="#1874cf",j.toggleBorderColor="rgba(0, 0, 0, 0.16)",j.toggleBgFocus="linear-gradient(-180deg, #f1f1f1, #dedede)",j.toggleBgActive="#e5e5e5",j.toggleCaptionGap="8px",j.toggleButtonOffsetY="0px",j.toggleContainerBg="",j.toggleContainerBgCheckedHover="",j.toggleContainerBoxShadow="",j.toggleContainerBoxShadowHover="",j.toggleContainerBoxShadowChecked="",j.toggleContainerBoxShadowCheckedHover="",j.toggleHandleBgHover="",j.toggleHandleBgChecked="",j.toggleHandleBgCheckedHover="",j.toggleHandleBoxShadow="",j.toggleHandleBoxShadowHover="",j.toggleHandleBoxShadowChecked="",j.toggleHandleBoxShadowCheckedHover="",j.toggleContainerBgDisabled="",j.toggleHandleBgDisabled="",j.toggleContainerBoxShadowDisabled="",j.toggleHandleBoxShadowDisabled="",j.toggleContainerBgDisabledChecked="",j.toggleHandleBgDisabledChecked="",j.toggleContainerBoxShadowDisabledChecked="",j.toggleHandleBoxShadowDisabledChecked="",j.popupBorder="none",j.popupBorderRadius="2px",j.popupBorderColor="transparent",j.popupDropShadow="drop-shadow(0 4px 12px rgba(0, 0, 0, 0.16))",j.popupBoxShadow="0 4px 12px 0 rgba(0, 0, 0, 0.16)",j.popupPinOffset="0px",j.popupPinOffsetX="16px",j.popupPinOffsetY="16px",j.popupMargin="10px",j.popupPinSize="8px",j.popupMenuMenuOffsetY="0px",j.inputShadow="none",j.inputBg="white",j.inputIconColor="#a9a9a9",j.inputColor="inherit",j.inputWidth="200px",j.inputPaddingXSmall="7px",j.inputPaddingXMedium="11px",j.inputPaddingXLarge="15px",j.inputIconGapSmall="4px",j.inputIconGapMedium="8px",j.inputIconGapLarge="12px",j.inputIconSizeSmall="16px",j.inputIconSizeMedium="18px",j.inputIconSizeLarge="20px",j.inputBackgroundClip="padding-box",j.inputBorderRadiusSmall="0px",j.inputBorderRadiusMedium="0px",j.inputBorderRadiusLarge="0px",j.inputDisabledBackgroundClip="",j.inputBorderTopColor="rgba(0, 0, 0, 0.15)",j.inputColorScheme="light",j.checkboxBoxSize="16px",j.checkboxBoxSizeSmall="16px",j.checkboxBoxSizeMedium="20px",j.checkboxBoxSizeLarge="24px",j.checkboxCaptionGap="8px",j.checkboxBoxOffsetY="1px",j.checkboxBgStart="#fdfdfd",j.checkboxBgEnd="#ededed",j.checkboxBorder="none",j.checkboxCheckedColor="#fff",j.checkboxBorderRadius="1px",j.checkboxBg="#fff",j.textareaBg="#fff",j.textareaShadow="none",j.textareaBackgroundClip="border-box",j.textareaBorderRadius="0px",j.textareaWidth="250px",j.textareaPaddingX="7px",j.textareaPaddingXMedium="11px",j.textareaPaddingXLarge="15px",j.textareaBorderTopColor="rgba(0, 0, 0, 0.16)",j.textareaDisabledBg="rgba(0, 0, 0, 0.05)",j.textareaDisabledBorderColor="transparent",j.radioBulletSize="8px",j.radioBulletSizeMedium="10px",j.radioBulletSizeLarge="12px",j.radioSize="16px",j.radioSizeMedium="20px",j.radioSizeLarge="24px",j.radioCaptionGap="8px",j.radioVerticalAlign="top",j.radioBgImage="none",j.radioBgColor="#fff",j.radioBoxShadow="none",j.radioHoverShadow="none",j.radioActiveShadow="none",j.radioCheckedBorderColor="transparent",j.radioCheckedBulletColor="#fff",j.radioCaptionDisplay="inline-flex",j.radioBorderWidthCompensation="0px",j.radioCircleOffsetY="1px",j.radioGroupLegacyItemGap="0px",j.tabPaddingX="12px",j.tabPaddingXSmall="8px",j.tabPaddingXMedium="10px",j.tabBorderWidth="2px",j.tabIndicatorBorderRadius="0px",j.spinnerCaptionGapSmall="6px",j.spinnerCaptionGapMedium="-4px",j.spinnerCaptionGapLarge="-3px",j.spinnerCaptionMarginSmall="0 0 0 6px",j.spinnerCaptionMarginMedium="0 0 0 6px",j.spinnerCaptionMarginLarge="0 0 0 6px",j.switcherBorderRadius="2px",j.switcherButtonPaddingXSmall="7px",j.switcherButtonPaddingXMedium="11px",j.switcherButtonPaddingXLarge="15px",j.switcherBtnDisabledBorderColor="rgba(0, 0, 0, 0.16)",j.mobilePopupTopPadding="80px",j.mobilePopupContainerBottomPadding="8px",j.mobilePopupHeaderPadding="16px 16px 8px 16px",j.mobilePopupContainerBorderRadius="16px",j.mobilePopupHeaderFontWeight="500",j.mobilePopupHeaderChildPadding="12px",j.mobilePopupOuterIndentY="24px",j.scrollContainerScrollBarSize="4px",j.scrollContainerScrollBarHoverSize="10px",j.scrollContainerScrollBarColor="rgba(183, 183, 183, 0.7)",j.scrollContainerScrollBarInvertColor="rgba(255, 255, 255, 0.5)",j.scrollContainerScrollBarOffsetY="4px",j.dropdownMenuScrollContainerScrollBarOffsetY="0px",j.passwordInputVisibilityIconColor="#000",j.passwordInputVisibilityIconOpacity="0.6",j.passwordInputVisibilityIconHoverColor="#000",j.passwordInputVisibilityIconHoverOpacity="1",j.globalLoaderHeight="4px",j.globalLoaderWidth="100%",j.globalLoaderPosition="fixed",j.globalLoaderTop="0px",j.globalLoaderLeft="0px",j.globalLoaderBottom="auto",j.globalLoaderRight="auto",j.globalLoaderBackgroundColor="transparent",j.globalLoaderTransitionToSpinnerDuration="500",j.globalLoaderSpinnerAnimationDuration="2000",j.globalLoaderSlowAnimationDuration="20000",j.globalLoaderTransitionFromSpinnerDuration="200",j.fileUploaderWidth="362px",j.fileUploaderBg="#fff",j.fileUploaderUploadButtonBg="",j.fileUploaderPaddingX="7px",j.fileUploaderBorderRadius="2px",j.fileUploaderBorderColor="rgba(0, 0, 0, 0.37)",j.fileUploaderBorderStyle="dashed",j.fileUploaderAfterLinkColor="",j.fileUploaderIconSize="14px",j.fileUploaderIconColor="#808080",j.fileUploaderIconHoverColor="#333",j.fileUploaderDisabledBg="#f2f2f2",j.fileUploaderDisabledBgClip="",j.fileUploaderDisabledBorderColor="#f2f2f2",j.fileUploaderDisabledTextColor="#808080",j.fileUploaderDisabledLinkColor="#808080",j.fileUploaderDisabledIconColor="#A0A0A0",j.fileUploaderHoveredBg="none",j.fileUploaderHoveredBorderColor="",j.fileUploaderIconGapSmall="4px",j.fileUploaderIconGapMedium="6px",j.fileUploaderIconGapLarge="8px",j.fileUploaderDragOverShadow="0px 0px 0px 3px #2da4f9, 0px 0px 0px 8px rgba(45, 164, 249, 0.35)",j.closeBtnIconColor="rgba(0, 0, 0, 0.32)",j.closeBtnIconDisabledColor="#8b8b8b",j.closeBtnIconHoverColor="rgba(0, 0, 0, 0.865)",j.closeBtnIconBorderRadius="4px",j.internalMenuPaddingY="5px",j.autocompleteMenuOffsetY="2px",j.comboboxMenuOffsetY="2px",j.miniModalHeaderPaddingBottom="0",j.miniModalBodyPaddingTop="16px",j.miniModalBodyPaddingBottom="0",j.miniModalHeaderPaddingTop="32px",j.miniModalActionGap="8px",j.miniModalCancelIndent="8px",j.miniModalFooterPaddingTop="24px",j.miniModalFooterPaddingBottom="32px",j.miniModalTitleMarginTop="16px",j.miniModalHeightMobile="auto",j.miniModalMarginTopMobile="80px",j.miniModalMarginLeftMobile="24px",j.miniModalMarginRightMobile="24px",j.miniModalFooterPaddingMobile="24px 16px 16px",j.miniModalHeaderPaddingMobile="32px 16px 0",j.miniModalBodyPaddingMobile="16px 16px 0";var U,W,Y,X,$,G=(U=j,W=Object.getOwnPropertyDescriptors(U),Object.keys(W).forEach((function(e){var t=W[e];"function"==typeof t.get&&t.configurable&&(t.enumerable=!0,Object.defineProperty(U,e,t))})),U),V=function(){function e(){}return e.create=function(e,t){var n=t||G;return this.constructTheme(n,e)},e.overrideDefaultTheme=function(t){e.getKeys(G).forEach((function(e){var n=N(t,e);Object.defineProperty(G,e,n)})),Object.values(z).forEach((function(e){var n=N(t,e.key);Object.defineProperty(G,e.key,n)}))},e.getKeys=function(e){for(var t=[];D(e);)Object.keys(e).forEach((function(e){t.includes(e)||t.push(e)})),e=Object.getPrototypeOf(e);return t.sort()},e.constructTheme=function(e,t){var n=Object.create(e);return Object.keys(t).forEach((function(e){var r=Object.getOwnPropertyDescriptor(t,e);r&&Object.defineProperty(n,e,r)})),Object.freeze(n)},e}(),q=V.create({},G),K=t.createContext(q);K.displayName="ThemeContext",K.__KONTUR_REACT_UI__="ThemeContext";var Q=((null==(Y=F.globalObject.navigator)?void 0:Y.platform)||"").toLowerCase(),J=((null==(X=F.globalObject.navigator)?void 0:X.userAgent)||"").toLowerCase(),Z=((null==($=F.globalObject.navigator)?void 0:$.vendor)||"").toLowerCase(),ee=(Q.includes("mac"),Q.includes("win"),/version\/(\d+).+?safari/.test(J)),te=(/(?:firefox|fxios)\/(\d+)/.test(J),/(?:^opera.+?version|opr)\/(\d+)/.test(J),Z.includes("google inc")&&/(?:chrome|crios)\/(\d+)/.test(J),J.includes("edge/"),J.includes("trident/")),ne=(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(J)&&F.globalObject.document&&F.globalObject.document.documentElement,/(ip[ao]d|iphone)/gi.test(J),ee&&J.includes("version/17"),function(e,t){var n=this;this.interval=null,this.start=function(){n.animations.forEach((function(e){return e.start()})),n.interval=re((function(){n.animations.forEach((function(e){return e.step()}))}),n.FPS)},this.stop=function(){n.interval&&(n.interval.clear(),n.animations.forEach((function(e){return e.finish()})))},this.animations=e,this.FPS=t,this.start()}),re=function(e,t){var n=0,r=!1,o=0;return function i(){if(!r){var a=(new Date).getTime();n||(n=a),a-n>t&&(e(),n=a),F.globalObject.requestAnimationFrame&&(o=F.globalObject.requestAnimationFrame(i))}}(),{clear:function(){r=!0,null==F.globalObject.cancelAnimationFrame||F.globalObject.cancelAnimationFrame(o)}}},oe=function(e,t,n){var r=this;this.startTime=0,this.isFinished=!1,this.step=function(){if(!r.isFinished){var e=(new Date).getTime();r.startTime||(r.startTime=e);var t=(e-r.startTime)/r.duration;r.onProgress(t),t>=1&&r.finish()}},this.reset=function(){r.startTime=0,r.isFinished=!1},this.finish=function(){r.isFinished=!0,r.onFinish&&r.onFinish(r)},this.start=function(){r.isFinished||r.step()},this.duration=e,this.onProgress=t,this.onFinish=n},ie=function(e,t,n,r,o){return void 0===o&&(o=""),new oe(n,(function(n){r("stroke-dashoffset",""+(e+(t-e)*n)+o)}),(function(e){e.reset()}))},ae=function(e,t,n,r,o){void 0===o&&(o="");var i=!1;return new oe(n,(function(n){var a=i?1-n:n,l=[e[0]+(t[0]-e[0])*a,e[1]+(t[1]-e[1])*a];r("stroke-dasharray",""+l[0]+o+" "+l[1]+o)}),(function(e){i=!i,e.reset()}))},le=function(e,t,n){var r=e.map((function(e){return E.create(e).rgb})),o=0,i=1;return new oe(t,(function(e){var t=r[o],a=r[i];if(t&&a){var l=[Math.round(t[0]+(a[0]-t[0])*e),Math.round(t[1]+(a[1]-t[1])*e),Math.round(t[2]+(a[2]-t[2])*e)];n("stroke","rgb("+l+")")}}),(function(t){t.reset(),o=i,i=(i+1)%e.length}))},ue=function(e,t,n,r,o){return void 0===o&&(o="deg"),new oe(n,(function(n){var i=Math.round(e+(t-e)*n);r("transform","rotate("+i+o+")")}),(function(e){e.reset()}))},se=n(606),ce=void 0!==se&&void 0!==se.env,fe=function(){if("undefined"!=typeof REACT_UI_TEST&&Boolean(REACT_UI_TEST))return!0;if(ce)switch(!0){case Boolean(se.env.REACT_UI_TEST):case Boolean(se.env.REACT_APP_REACT_UI_TEST):case Boolean(se.env.STORYBOOK_REACT_UI_TEST):case Boolean(se.env.enableReactTesting):return!0}return!1}(),de=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{n.insertRule(e,n.cssRules.length)}catch(e){}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){return e.parentNode&&e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0},e}(),pe=Math.abs,he=String.fromCharCode,ge=Object.assign;function ye(e){return e.trim()}function me(e,t,n){return e.replace(t,n)}function be(e,t){return e.indexOf(t)}function ve(e,t){return 0|e.charCodeAt(t)}function ke(e,t,n){return e.slice(t,n)}function we(e){return e.length}function xe(e){return e.length}function Se(e,t){return t.push(e),e}var Ce=1,Pe=1,Be=0,Le=0,Ee=0,Ae="";function _e(e,t,n,r,o,i,a){return{value:e,root:t,parent:n,type:r,props:o,children:i,line:Ce,column:Pe,length:a,return:""}}function Te(e,t){return ge(_e("",null,null,"",null,null,0),e,{length:-e.length},t)}function Oe(){return Ee=Le>0?ve(Ae,--Le):0,Pe--,10===Ee&&(Pe=1,Ce--),Ee}function Ie(){return Ee=Le<Be?ve(Ae,Le++):0,Pe++,10===Ee&&(Pe=1,Ce++),Ee}function Me(){return ve(Ae,Le)}function He(){return Le}function Fe(e,t){return ke(Ae,e,t)}function De(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Re(e){return Ce=Pe=1,Be=we(Ae=e),Le=0,[]}function ze(e){return Ae="",e}function Ne(e){return ye(Fe(Le-1,We(91===e?e+2:40===e?e+1:e)))}function je(e){for(;(Ee=Me())&&Ee<33;)Ie();return De(e)>2||De(Ee)>3?"":" "}function Ue(e,t){for(;--t&&Ie()&&!(Ee<48||Ee>102||Ee>57&&Ee<65||Ee>70&&Ee<97););return Fe(e,He()+(t<6&&32==Me()&&32==Ie()))}function We(e){for(;Ie();)switch(Ee){case e:return Le;case 34:case 39:34!==e&&39!==e&&We(Ee);break;case 40:41===e&&We(e);break;case 92:Ie()}return Le}function Ye(e,t){for(;Ie()&&e+Ee!==57&&(e+Ee!==84||47!==Me()););return"/*"+Fe(t,Le-1)+"*"+he(47===e?e:Ie())}function Xe(e){for(;!De(Me());)Ie();return Fe(e,Le)}var $e="-ms-",Ge="-moz-",Ve="-webkit-",qe="comm",Ke="rule",Qe="decl",Je="@keyframes";function Ze(e,t){for(var n="",r=xe(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function et(e,t,n,r){switch(e.type){case"@import":case Qe:return e.return=e.return||e.value;case qe:return"";case Je:return e.return=e.value+"{"+Ze(e.children,r)+"}";case Ke:e.value=e.props.join(",")}return we(n=Ze(e.children,r))?e.return=e.value+"{"+n+"}":""}function tt(e){return ze(nt("",null,null,null,[""],e=Re(e),0,[0],e))}function nt(e,t,n,r,o,i,a,l,u){for(var s=0,c=0,f=a,d=0,p=0,h=0,g=1,y=1,m=1,b=0,v="",k=o,w=i,x=r,S=v;y;)switch(h=b,b=Ie()){case 40:if(108!=h&&58==ve(S,f-1)){-1!=be(S+=me(Ne(b),"&","&\f"),"&\f")&&(m=-1);break}case 34:case 39:case 91:S+=Ne(b);break;case 9:case 10:case 13:case 32:S+=je(h);break;case 92:S+=Ue(He()-1,7);continue;case 47:switch(Me()){case 42:case 47:Se(ot(Ye(Ie(),He()),t,n),u);break;default:S+="/"}break;case 123*g:l[s++]=we(S)*m;case 125*g:case 59:case 0:switch(b){case 0:case 125:y=0;case 59+c:p>0&&we(S)-f&&Se(p>32?it(S+";",r,n,f-1):it(me(S," ","")+";",r,n,f-2),u);break;case 59:S+=";";default:if(Se(x=rt(S,t,n,s,c,o,l,v,k=[],w=[],f),i),123===b)if(0===c)nt(S,t,x,x,k,i,f,l,w);else switch(99===d&&110===ve(S,3)?100:d){case 100:case 109:case 115:nt(e,x,x,r&&Se(rt(e,x,x,0,0,o,l,v,o,k=[],f),w),o,w,f,l,r?k:w);break;default:nt(S,x,x,x,[""],w,0,l,w)}}s=c=p=0,g=m=1,v=S="",f=a;break;case 58:f=1+we(S),p=h;default:if(g<1)if(123==b)--g;else if(125==b&&0==g++&&125==Oe())continue;switch(S+=he(b),b*g){case 38:m=c>0?1:(S+="\f",-1);break;case 44:l[s++]=(we(S)-1)*m,m=1;break;case 64:45===Me()&&(S+=Ne(Ie())),d=Me(),c=f=we(v=S+=Xe(He())),b++;break;case 45:45===h&&2==we(S)&&(g=0)}}return i}function rt(e,t,n,r,o,i,a,l,u,s,c){for(var f=o-1,d=0===o?i:[""],p=xe(d),h=0,g=0,y=0;h<r;++h)for(var m=0,b=ke(e,f+1,f=pe(g=a[h])),v=e;m<p;++m)(v=ye(g>0?d[m]+" "+b:me(b,/&\f/g,d[m])))&&(u[y++]=v);return _e(e,t,n,0===o?Ke:l,u,s,c)}function ot(e,t,n){return _e(e,t,n,qe,he(Ee),ke(e,2,-2),0)}function it(e,t,n,r){return _e(e,t,n,Qe,ke(e,0,r),ke(e,r+1,-1),r)}var at=function(e,t,n){for(var r=0,o=0;r=o,o=Me(),38===r&&12===o&&(t[n]=1),!De(o);)Ie();return Fe(e,Le)},lt=new WeakMap,ut=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||lt.get(n))&&!r){lt.set(e,!0);for(var o=[],i=function(e,t){return ze(function(e,t){var n=-1,r=44;do{switch(De(r)){case 0:38===r&&12===Me()&&(t[n]=1),e[n]+=at(Le-1,t,n);break;case 2:e[n]+=Ne(r);break;case 4:if(44===r){e[++n]=58===Me()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=he(r)}}while(r=Ie());return e}(Re(e),t))}(t,o),a=n.props,l=0,u=0;l<i.length;l++)for(var s=0;s<a.length;s++,u++)e.props[u]=o[l]?i[l].replace(/&\f/g,a[s]):a[s]+" "+i[l]}}},st=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function ct(e,t){switch(function(e,t){return 45^ve(e,0)?(((t<<2^ve(e,0))<<2^ve(e,1))<<2^ve(e,2))<<2^ve(e,3):0}(e,t)){case 5103:return Ve+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return Ve+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Ve+e+Ge+e+$e+e+e;case 6828:case 4268:return Ve+e+$e+e+e;case 6165:return Ve+e+$e+"flex-"+e+e;case 5187:return Ve+e+me(e,/(\w+).+(:[^]+)/,Ve+"box-$1$2"+$e+"flex-$1$2")+e;case 5443:return Ve+e+$e+"flex-item-"+me(e,/flex-|-self/,"")+e;case 4675:return Ve+e+$e+"flex-line-pack"+me(e,/align-content|flex-|-self/,"")+e;case 5548:return Ve+e+$e+me(e,"shrink","negative")+e;case 5292:return Ve+e+$e+me(e,"basis","preferred-size")+e;case 6060:return Ve+"box-"+me(e,"-grow","")+Ve+e+$e+me(e,"grow","positive")+e;case 4554:return Ve+me(e,/([^-])(transform)/g,"$1"+Ve+"$2")+e;case 6187:return me(me(me(e,/(zoom-|grab)/,Ve+"$1"),/(image-set)/,Ve+"$1"),e,"")+e;case 5495:case 3959:return me(e,/(image-set\([^]*)/,Ve+"$1$`$1");case 4968:return me(me(e,/(.+:)(flex-)?(.*)/,Ve+"box-pack:$3"+$e+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Ve+e+e;case 4095:case 3583:case 4068:case 2532:return me(e,/(.+)-inline(.+)/,Ve+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(we(e)-1-t>6)switch(ve(e,t+1)){case 109:if(45!==ve(e,t+4))break;case 102:return me(e,/(.+:)(.+)-([^]+)/,"$1"+Ve+"$2-$3$1"+Ge+(108==ve(e,t+3)?"$3":"$2-$3"))+e;case 115:return~be(e,"stretch")?ct(me(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==ve(e,t+1))break;case 6444:switch(ve(e,we(e)-3-(~be(e,"!important")&&10))){case 107:return me(e,":",":"+Ve)+e;case 101:return me(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Ve+(45===ve(e,14)?"inline-":"")+"box$3$1"+Ve+"$2$3$1"+$e+"$2box$3")+e}break;case 5936:switch(ve(e,t+11)){case 114:return Ve+e+$e+me(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Ve+e+$e+me(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Ve+e+$e+me(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Ve+e+$e+e+e}return e}var ft=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case Qe:e.return=ct(e.value,e.length);break;case Je:return Ze([Te(e,{value:me(e.value,"@","@"+Ve)})],r);case Ke:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=/(::plac\w+|:read-\w+)/.exec(e))?e[0]:e}(t)){case":read-only":case":read-write":return Ze([Te(e,{props:[me(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return Ze([Te(e,{props:[me(t,/:(plac\w+)/,":"+Ve+"input-$1")]}),Te(e,{props:[me(t,/:(plac\w+)/,":-moz-$1")]}),Te(e,{props:[me(t,/:(plac\w+)/,$e+"input-$1")]})],r)}return""}))}}],dt=function(e){for(var t,n=0,r=0,o=e.length;o>=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)},pt={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},ht=/[A-Z]|^ms/g,gt=/_EMO_([^_]+?)_([^]*?)_EMO_/g,yt=function(e){return 45===e.charCodeAt(1)},mt=function(e){return null!=e&&"boolean"!=typeof e},bt=function(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}((function(e){return yt(e)?e:e.replace(ht,"-$&").toLowerCase()})),vt=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(gt,(function(e,t,n){return wt={name:t,styles:n,next:wt},t}))}return 1===pt[e]||yt(e)||"number"!=typeof t||0===t?t:t+"px"};function kt(e,t,n){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return wt={name:n.name,styles:n.styles,next:wt},n.name;if(void 0!==n.styles){var r=n.next;if(void 0!==r)for(;void 0!==r;)wt={name:r.name,styles:r.styles,next:wt},r=r.next;return n.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=kt(e,t,n[o])+";";else for(var i in n){var a=n[i];if("object"!=typeof a)null!=t&&void 0!==t[a]?r+=i+"{"+t[a]+"}":mt(a)&&(r+=bt(i)+":"+vt(i,a)+";");else if(!Array.isArray(a)||"string"!=typeof a[0]||null!=t&&void 0!==t[a[0]]){var l=kt(e,t,a);switch(i){case"animation":case"animationName":r+=bt(i)+":"+l+";";break;default:r+=i+"{"+l+"}"}}else for(var u=0;u<a.length;u++)mt(a[u])&&(r+=bt(i)+":"+vt(i,a[u])+";")}return r}(e,t,n);case"function":if(void 0!==e){var o=wt,i=n(e);return wt=o,kt(e,t,i)}}if(null==t)return n;var a=t[n];return void 0!==a?a:n}var wt,xt=/label:\s*([^\s;\n{]+)\s*(;|$)/g,St=function(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,o="";wt=void 0;var i=e[0];null==i||void 0===i.raw?(r=!1,o+=kt(n,t,i)):o+=i[0];for(var a=1;a<e.length;a++)o+=kt(n,t,e[a]),r&&(o+=i[a]);xt.lastIndex=0;for(var l,u="";null!==(l=xt.exec(o));)u+="-"+l[1];return{name:dt(o)+u,styles:o,next:wt}};function Ct(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]+";"):r+=n+" "})),r}function Pt(e,t){if(void 0===e.inserted[t.name])return e.insert("",t,e.sheet,!0)}function Bt(e,t,n){var r=[],o=Ct(e,r,n);return r.length<2?n:o+t(r)}var Lt,Et=function e(t){for(var n="",r=0;r<t.length;r++){var o=t[r];if(null!=o){var i=void 0;switch(typeof o){case"boolean":break;case"object":if(Array.isArray(o))i=e(o);else for(var a in i="",o)o[a]&&a&&(i&&(i+=" "),i+=a);break;default:i=o}i&&(n&&(n+=" "),n+=i)}}return n},At=(F.setWindow,"react-ui"),_t=new Array(0).fill("."+At).join(""),Tt=function(e){var t=function(e){var t=e.key;if("css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var r,o,i=e.stylisPlugins||ft,a={},l=[];r=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)a[t[n]]=!0;l.push(e)}));var u,s,c,f,d=[et,(f=function(e){u.insert(e)},function(e){e.root||(e=e.return)&&f(e)})],p=(s=[ut,st].concat(i,d),c=xe(s),function(e,t,n,r){for(var o="",i=0;i<c;i++)o+=s[i](e,t,n,r)||"";return o});o=function(e,t,n,r){u=n,function(e){Ze(tt(e),p)}(e?e+"{"+t.styles+"}":t.styles),r&&(h.inserted[t.name]=!0)};var h={key:t,sheet:new de({key:t,container:r,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:a,registered:{},insert:o};return h.sheet.hydrate(l),h}(e);t.sheet.speedy=function(e){this.isSpeedy=e},t.compat=!0;var n=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var o=St(n,t.registered,void 0);return function(e,t,n){!function(e,t,n){var r=e.key+"-"+t.name;void 0===e.registered[r]&&(e.registered[r]=t.styles)}(e,t);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var o=t;do{e.insert(t===o?"."+r:"",o,e.sheet,!0),o=o.next}while(void 0!==o)}}(t,o),t.key+"-"+o.name};return{css:n,cx:function(){for(var e=arguments.length,r=new Array(e),o=0;o<e;o++)r[o]=arguments[o];return Bt(t.registered,n,Et(r))},injectGlobal:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var o=St(n,t.registered);Pt(t,o)},keyframes:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var o=St(n,t.registered),i="animation-"+o.name;return Pt(t,{name:o.name,styles:"@keyframes "+i+"{"+o.styles+"}"}),i},hydrate:function(e){e.forEach((function(e){t.inserted[e]=!0}))},flush:function(){t.registered={},t.inserted={},t.sheet.flush()},sheet:t.sheet,cache:t,getRegisteredStyles:Ct.bind(null,t.registered),merge:Bt.bind(null,t.registered,n)}}({key:At,prepend:!0,stylisPlugins:_t?[function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t.map((function(e){return e.trim()}));return function(e,t,n,o,i,a,l,u){if(-1===e){var s=n[0];n[0]=r[0]+" "+s;for(var c=1;c<r.length;c++)n.push(r[c]+" "+s)}}}(_t)]:void 0,container:null==(Lt=F.globalObject.document)?void 0:Lt.head}),Ot=(Tt.flush,Tt.hydrate,Tt.cx),It=(Tt.merge,Tt.getRegisteredStyles,Tt.injectGlobal,Tt.keyframes),Mt=Tt.css;Tt.sheet,Tt.cache;var Ht,Ft,Dt,Rt,zt=function(e){return Object.keys(e).forEach((function(t){return e[t]=function(e){if(function(e){return 0===e.length}(e)){var t,n=!1;return function(){return n||(n=!0,t=e()),t}}var r=new WeakMap;return function(t){return r.has(t)||r.set(t,e(t)),r.get(t)}}(e[t])})),e};function Nt(e,t){return t||(t=e.slice(0)),e.raw=t,e}var jt=zt({root:function(){return Mt(Ht||(Ht=Nt(["\n display: inline-block;\n margin-left: -1px;\n margin-right: -1px;\n "])))},rootInline:function(){return Mt(Ft||(Ft=Nt(["\n margin-left: -0.0714285714285714em;\n margin-right: -0.0714285714285714em;\n "])))},icon:function(){return Mt(Dt||(Dt=Nt(["\n margin-bottom: -3px;\n border-radius: 50%;\n overflow: visible;\n "])))},iconInline:function(){return Mt(Rt||(Rt=Nt(["\n height: 1.1428571428571428em;\n width: 1.1428571428571428em;\n margin-bottom: -0.2428571428571428em;\n stroke-width: 0.10714285714285714em;\n "])))}}),Ut={big:{size:96,width:4,radius:32},normal:{size:48,width:2,radius:16},mini:{size:16,width:1.5,radius:6}},Wt=function(e){var n,r,o=e.size,i=e.className,a=e.dimmed,l=e.inline,u=e.width,s=e.color,c=function(e){return"string"==typeof e&&e in Ut}(o)?Ut[o]:o,f=l?Ut.mini:c,d=t.useRef(null);if(te&&!fe){var p=t.useRef(null),h=t.useContext(K),g=h.red,y=h.yellow,m=h.green,b=h.brand;t.useEffect((function(){var e=d.current,t=function(){var t;e&&(t=e.style).setProperty.apply(t,arguments)};return p.current=new ne([ie(0,-230,1e3,t,"%"),ae([62,168],[187,43],2e3,t,"%"),ue(0,360,2e3,t)].concat(a?[]:[le([g,y,m,b],1500,t)]),1e3/60),function(){var t=p.current;t&&t.stop(),e&&e.removeAttribute("style")}}),[a,g,y,m,b])}return t.createElement("span",{className:Ot(jt.root(),(n={},n[jt.rootInline()]=l,n))},t.createElement("svg",{viewBox:"0 0 "+f.size+" "+f.size,className:Ot(jt.icon(),i,(r={},r[jt.iconInline()]=l,r)),width:f.size,height:f.size,fill:"none",stroke:s,strokeDasharray:10*f.radius/6+", "+27*f.radius/6,strokeDashoffset:"0",strokeWidth:u||f.width,ref:d,focusable:"false","aria-hidden":"true"},t.createElement("circle",{cx:f.size/2,cy:f.size/2,r:f.radius})))};function Yt(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}var Xt=n(847),$t=n.n(Xt);function Gt(e,t){return!!t&&e instanceof t}var Vt=function(e){if(!F.globalObject.document||!e)return null;if(Gt(e,F.globalObject.Element))return e;var t;if(Kt(e)&&(Gt(e,F.globalObject.Node)||(t=e.getRootNode())),void 0!==t)return t;try{t=(0,r.findDOMNode)(e)}catch(e){return x()(!1,"[getRootNode]: can`t fallback to findDOMNode.\nSee https://github.com/skbkontur/retail-ui/blob/master/packages/react-ui/README.md#strictmode\n\n"+e.message),null}return Gt(t,F.globalObject.Element)?t:null};function qt(e){var t,n,r=(n=t=function(t){function n(){var n;return(n=t.call(this,arguments.length<=0?void 0:arguments[0])||this).rootNode=e.defaultRootNode,n.rootNodeEmitter=new($t()),n.setRootNode=function(e){var t=Vt(e);t!==n.rootNode&&(n.rootNode=t,n.rootNodeEmitter.emit("change",t))},n.getRootNode=function(){return n.rootNode},n.addRootNodeChangeListener=function(e){return n.rootNodeEmitter.addListener("change",e),{remove:function(){n.rootNodeEmitter.removeListener("change",e)}}},n}return a(n,t),n}(e),t.__KONTUR_REACT_UI__=e.__KONTUR_REACT_UI__,t.displayName=e.displayName,n),o=Object.getOwnPropertyDescriptor(r,"name");return o&&!o.configurable||Object.defineProperty(r,"name",{value:e.name}),r}var Kt=function(e){return Boolean(e)&&Object.prototype.hasOwnProperty.call(e,"getRootNode")},Qt=function(e){switch(!0){case"className"===e:case"style"===e:case"rootNodeRef"===e:case"children"===e:case 0===e.indexOf("data-"):return!0;default:return!1}};var Jt,Zt,en,tn=function(e){return"boolean"==typeof e?e:void 0},nn=["className","style","children","rootNodeRef"],rn=qt((en=Zt=function(e){function n(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).rootNodeSubscription=null,t.ref=function(e){var n,r;t.setRootNode(e),null==t.props.rootNodeRef||t.props.rootNodeRef(Vt(e)),null==(n=t.rootNodeSubscription)||n.remove(),t.rootNodeSubscription=null,e&&Kt(e)&&(t.rootNodeSubscription=null==e.addRootNodeChangeListener?void 0:e.addRootNodeChangeListener((function(e){t.setRootNode(e),null==t.props.rootNodeRef||t.props.rootNodeRef(e)})));var o=null==(r=t.child)?void 0:r.ref;o&&function(e,t){e&&("function"==typeof e&&e(t),Object.prototype.hasOwnProperty.call(e,"current")&&(e.current=t))}(o,e)},t}return a(n,e),n.prototype.render=function(){var e,n,r,i,a=function(e){var t={},n={};for(var r in e)Qt(r)?t[r]=e[r]:n[r]=e[r];return[t,n]}(this.props),l=a[0],u=l.className,s=l.style,c=l.children,f=(l.rootNodeRef,Yt(l,nn)),d=o({},a[1]);return this.child="function"==typeof c?c(d):c,t.isValidElement(this.child)?t.cloneElement(this.child,o({ref:(r=this.child,Boolean(function(e){return"string"==typeof e.type}(r)||(i=r.type,Boolean("function"==typeof i&&i.prototype&&i.prototype.isReactComponent))||(0,H.isForwardRef)(r))?this.ref:null),className:Ot(this.child.props.className,u),style:o({},this.child.props.style,s)},(n={error:tn((e=d).error),warning:tn(e.warning)},Object.entries(n).reduce((function(e,t){return n=e,r=t[0],null!=(o=t[1])&&(n["data-visual-state-"+function(e){return e?e.split(/\.?(?=[A-Z])/).join("-").toLowerCase():""}(r)]=String(o)),n;var n,r,o}),{})),f)):this.child},n}(t.Component),Zt.__KONTUR_REACT_UI__="CommonWrapper",Zt.displayName="CommonWrapper",Jt=en))||Jt,on={tokenInputRemoveWhitespaceFromDefaultDelimiters:!1,kebabHintRemovePin:!1,sidePageEnableFocusLockWhenBackgroundBlocked:!1,spinnerLoaderRemoveDefaultCaption:!1,menuItemsAtAnyLevel:!1,textareaUseSafari17Workaround:!1,linkFocusOutline:!1,comboBoxAllowValueChangeInEditingState:!1,hintAddDynamicPositioning:!1},an=t.createContext(on);an.displayName="ReactUIFeatureFlagsContext",an.__KONTUR_REACT_UI__="ReactUIFeatureFlagsContext";var ln,un,sn,cn,fn,dn,pn,hn,gn,yn,mn,bn,vn,kn,wn,xn,Sn,Cn,Pn,Bn,Ln,En,An=function(e){return o({},on,e)},_n=function(){return It(ln||(ln=Nt(["\n 0% { stroke-dashoffset: 231.25%; }\n 100% { stroke-dashoffset: 0%; }\n "])))},Tn=function(){return It(un||(un=Nt(["\n 0% { stroke-dasharray: 62.5%, 168.75%; }\n 50% { stroke-dasharray: 187.5%, 43.75%; }\n 100% { stroke-dasharray: 62.5%, 168.75%; }\n "])))},On=function(){return It(sn||(sn=Nt(["\n 100% { transform: rotate(360deg); }\n "])))},In=zt({circle:function(e){return Mt(fn||(fn=Nt(["\n stroke: ",";\n\n ","\n "])),e.spinnerColor,!te&&"\n animation: "+_n()+" 1s cubic-bezier(0.5, 0.2, 0.5, 0.8) infinite,\n "+Tn()+" 2s cubic-bezier(0.36, 0.14, 0.38, 0.69) infinite,\n "+On()+" 2s linear infinite,\n "+function(e){return It(cn||(cn=Nt(["\n 100%, 0% { stroke: ","; }\n 40% { stroke: ","; }\n 66% { stroke: ","; }\n 80%, 90% { stroke: ","; }\n "])),e.red,e.yellow,e.green,e.brand)}(e)+" 6s ease-in-out infinite;\n ")},circleDimmedColor:function(e){return Mt(dn||(dn=Nt(["\n stroke: ",";\n "])),e.spinnerDimmedColor)},circleWithoutColorAnimation:function(){return Mt(pn||(pn=Nt(["\n ","\n "])),!te&&"\n animation: "+_n()+" 1s cubic-bezier(0.5, 0.2, 0.5, 0.8) infinite,\n "+Tn()+" 2s cubic-bezier(0.36, 0.14, 0.38, 0.69) infinite,\n "+On()+" 2s linear infinite;\n ")},captionColor:function(e){return Mt(hn||(hn=Nt(["\n color: ",";\n "])),e.spinnerCaptionColor)},inline:function(){return Mt(gn||(gn=Nt(["\n font-size: inherit;\n line-height: inherit;\n "])))},mini:function(e){return Mt(yn||(yn=Nt(["\n margin-left: ",";\n font-size: ",";\n line-height: ",";\n "])),e.spinnerCaptionGapSmall,e.spinnerFontSizeSmall,e.spinnerLineHeightSmall)},small:function(e){return Mt(mn||(mn=Nt(["\n margin: ",";\n font-size: ",";\n line-height: ",";\n "])),e.spinnerCaptionMarginSmall,e.spinnerFontSizeSmall,e.spinnerLineHeightSmall)},normal:function(e){return Mt(bn||(bn=Nt(["\n display: block;\n font-size: ",";\n line-height: ",";\n margin-top: ",";\n "])),e.spinnerFontSizeMedium,e.spinnerLineHeightMedium,e.spinnerCaptionGapMedium)},medium:function(e){return Mt(vn||(vn=Nt(["\n margin: ",";\n font-size: ",";\n line-height: ",";\n "])),e.spinnerCaptionMarginMedium,e.spinnerFontSizeMedium,e.spinnerLineHeightMedium)},big:function(e){return Mt(kn||(kn=Nt(["\n display: block;\n font-size: ",";\n line-height: ",";\n margin-top: ",";\n "])),e.spinnerFontSizeLarge,e.spinnerLineHeightLarge,e.spinnerCaptionGapLarge)},large:function(e){return Mt(wn||(wn=Nt(["\n font-size: ",";\n line-height: ",";\n margin: ",";\n "])),e.spinnerFontSizeLarge,e.spinnerLineHeightLarge,e.spinnerCaptionMarginLarge)},spinner:function(){return Mt(xn||(xn=Nt(["\n display: inline-block;\n text-align: center;\n line-height: normal;\n "])))},inner:function(){return Mt(Sn||(Sn=Nt(["\n display: inline-block;\n "])))}}),Mn=new(function(){function e(e,t){void 0===t&&(t=d),this.locales=e,this.defaultLangCode=t}return e.prototype.get=function(e){return void 0===e&&(e=this.defaultLangCode),this.locales[e]||this.locales[this.defaultLangCode]||{}},e}())({ru_RU:{loading:"Загрузка"},en_GB:{loading:"Loading"}}),Hn=["big","mini","normal"],Fn=("Spinner",En=Mn,Cn=function(e){var t,n,r=(n=t=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).controlName="Spinner",t.localeHelper=En,t}return a(t,e),f(t,[{key:"locale",get:function(){var e,t=null==(e=this.context.locale)?void 0:e[this.controlName];return Object.assign({},this.localeHelper.get(this.context.langCode),t)},set:function(e){}},{key:"langCode",get:function(){var e;return null!=(e=this.context.langCode)?e:d}}]),t}(e),t.contextType=p,n),o=Object.getOwnPropertyDescriptor(r,"name");return o&&!o.configurable||Object.defineProperty(r,"name",{value:e.name}),r},qt(Pn=Cn((Ln=Bn=function(e){function n(){for(var r,o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];return(r=e.call.apply(e,[this].concat(i))||this).getProps=(n.defaultProps,function(){return this.props}),r.renderSpinner=function(e,n,o){var i;return t.createElement(Wt,{size:e,className:Ot((i={},i[In.circle(r.theme)]=!n&&!r.props.color,i[In.circleDimmedColor(r.theme)]=n,i[In.circleWithoutColorAnimation()]=n||!!r.props.color,i)),dimmed:n,width:r.props.width,color:r.props.color,inline:o})},r.renderCaption=function(e,n){return t.createElement("span",{className:Ot(In[e](r.theme),In.captionColor(r.theme))},n)},r}a(n,e);var r=n.prototype;return r.render=function(){var e=this;return t.createElement(an.Consumer,null,(function(n){return e.featureFlags=An(n),t.createElement(K.Consumer,null,(function(t){return e.theme=t,e.renderMain()}))}))},r.renderMain=function(){var e=this.featureFlags.spinnerLoaderRemoveDefaultCaption?null:this.locale.loading,n=this.props,r=n.caption,i=void 0===r?e:r,a=n.dimmed,l=n.inline,u=this.getProps().type;return t.createElement(rn,o({rootNodeRef:this.setRootNode},this.props),t.createElement("div",{"data-tid":"Spinner__root",className:In.spinner()},t.createElement("span",{className:In.inner()},this.renderSpinner(u,a,l)),i&&this.renderCaption(u,i)))},n}(t.Component),Bn.__KONTUR_REACT_UI__="Spinner",Bn.displayName="Spinner",Bn.propTypes={caption:s().node,dimmed:s().bool,type:s().oneOf(Hn)},Bn.defaultProps={type:"normal"},Bn.Types=Object.assign.apply(Object,[{}].concat(Hn.map((function(e){var t;return(t={})[e]=e,t})))),Pn=Ln))||Pn)||Pn),Dn=n(417),Rn=n.n(Dn),zn=n(614),Nn=n(363),jn="undefined"!=typeof self?self:"undefined"!=typeof window?window:Function("return this")();function Un(e){var t=e.xdomain;try{if("undefined"!=typeof XMLHttpRequest&&(!t||Nn))return new XMLHttpRequest}catch(e){}if(!t)try{return new(jn[["Active"].concat("Object").join("X")])("Microsoft.XMLHTTP")}catch(e){}}function Wn(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return n.reduce((function(t,n){return e.hasOwnProperty(n)&&(t[n]=e[n]),t}),{})}var Yn=setTimeout,Xn=clearTimeout;function $n(e,t){t.useNativeTimers?(e.setTimeoutFn=Yn.bind(jn),e.clearTimeoutFn=Xn.bind(jn)):(e.setTimeoutFn=setTimeout.bind(jn),e.clearTimeoutFn=clearTimeout.bind(jn))}var Gn=n(555),Vn=Object.create(null);Vn.open="0",Vn.close="1",Vn.ping="2",Vn.pong="3",Vn.message="4",Vn.upgrade="5",Vn.noop="6";var qn=Object.create(null);Object.keys(Vn).forEach((function(e){qn[Vn[e]]=e}));for(var Kn={type:"error",data:"parser error"},Qn="function"==typeof Blob||"undefined"!=typeof Blob&&"[object BlobConstructor]"===Object.prototype.toString.call(Blob),Jn="function"==typeof ArrayBuffer,Zn=function(e,t){var n=new FileReader;return n.onload=function(){var e=n.result.split(",")[1];t("b"+e)},n.readAsDataURL(e)},er=function(e,t,n){var r,o=e.type,i=e.data;return Qn&&i instanceof Blob?t?n(i):Zn(i,n):Jn&&(i instanceof ArrayBuffer||(r=i,"function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(r):r&&r.buffer instanceof ArrayBuffer))?t?n(i):Zn(new Blob([i]),n):n(Vn[o]+(i||""))},tr="undefined"==typeof Uint8Array?[]:new Uint8Array(256),nr=0;nr<64;nr++)tr["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charCodeAt(nr)]=nr;var rr="function"==typeof ArrayBuffer,or=function(e,t){if(rr){var n=function(e){var t,n,r,o,i,a=.75*e.length,l=e.length,u=0;"="===e[e.length-1]&&(a--,"="===e[e.length-2]&&a--);var s=new ArrayBuffer(a),c=new Uint8Array(s);for(t=0;t<l;t+=4)n=tr[e.charCodeAt(t)],r=tr[e.charCodeAt(t+1)],o=tr[e.charCodeAt(t+2)],i=tr[e.charCodeAt(t+3)],c[u++]=n<<2|r>>4,c[u++]=(15&r)<<4|o>>2,c[u++]=(3&o)<<6|63&i;return s}(e);return ir(n,t)}return{base64:!0,data:e}},ir=function(e,t){return"blob"===t&&e instanceof ArrayBuffer?new Blob([e]):e},ar=function(e,t){if("string"!=typeof e)return{type:"message",data:ir(e,t)};var n=e.charAt(0);return"b"===n?{type:"message",data:or(e.substring(1),t)}:qn[n]?e.length>1?{type:qn[n],data:e.substring(1)}:{type:qn[n]}:Kn},lr=String.fromCharCode(30);function ur(e){return ur="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ur(e)}function sr(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,cr(r.key),r)}}function cr(e){var t=function(e,t){if("object"!=ur(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!=ur(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==ur(t)?t:t+""}function fr(e,t,n){return t=hr(t),function(e,t){if(t&&("object"==ur(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,dr()?Reflect.construct(t,n||[],hr(e).constructor):t.apply(e,n))}function dr(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(dr=function(){return!!e})()}function pr(){return pr="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!{}.hasOwnProperty.call(e,t)&&null!==(e=hr(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(arguments.length<3?e:n):o.value}},pr.apply(null,arguments)}function hr(e){return hr=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},hr(e)}function gr(e,t){return gr=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},gr(e,t)}var yr=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=fr(this,t)).writable=!1,$n(n,e),n.opts=e,n.query=e.query,n.readyState="",n.socket=e.socket,n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&gr(e,t)}(t,e),n=t,(r=[{key:"onError",value:function(e,n){var r=new Error(e);return r.type="TransportError",r.description=n,pr(hr(t.prototype),"emit",this).call(this,"error",r),this}},{key:"open",value:function(){return"closed"!==this.readyState&&""!==this.readyState||(this.readyState="opening",this.doOpen()),this}},{key:"close",value:function(){return"opening"!==this.readyState&&"open"!==this.readyState||(this.doClose(),this.onClose()),this}},{key:"send",value:function(e){"open"===this.readyState&&this.write(e)}},{key:"onOpen",value:function(){this.readyState="open",this.writable=!0,pr(hr(t.prototype),"emit",this).call(this,"open")}},{key:"onData",value:function(e){var t=ar(e,this.socket.binaryType);this.onPacket(t)}},{key:"onPacket",value:function(e){pr(hr(t.prototype),"emit",this).call(this,"packet",e)}},{key:"onClose",value:function(){this.readyState="closed",pr(hr(t.prototype),"emit",this).call(this,"close")}}])&&sr(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r}(Gn.v),mr=n(613),br=n(608);function vr(e){return vr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},vr(e)}function kr(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,wr(r.key),r)}}function wr(e){var t=function(e,t){if("object"!=vr(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!=vr(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==vr(t)?t:t+""}function xr(e,t,n){return t=Cr(t),function(e,t){if(t&&("object"==vr(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Sr()?Reflect.construct(t,n||[],Cr(e).constructor):t.apply(e,n))}function Sr(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Sr=function(){return!!e})()}function Cr(e){return Cr=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Cr(e)}function Pr(e,t){return Pr=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Pr(e,t)}var Br=function(e){function t(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(e=xr(this,t,arguments)).polling=!1,e}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Pr(e,t)}(t,e),n=t,r=[{key:"name",get:function(){return"polling"}},{key:"doOpen",value:function(){this.poll()}},{key:"pause",value:function(e){var t=this;this.readyState="pausing";var n=function(){t.readyState="paused",e()};if(this.polling||!this.writable){var r=0;this.polling&&(r++,this.once("pollComplete",(function(){--r||n()}))),this.writable||(r++,this.once("drain",(function(){--r||n()})))}else n()}},{key:"poll",value:function(){this.polling=!0,this.doPoll(),this.emit("poll")}},{key:"onData",value:function(e){var t=this;(function(e,t){for(var n=e.split(lr),r=[],o=0;o<n.length;o++){var i=ar(n[o],t);if(r.push(i),"error"===i.type)break}return r})(e,this.socket.binaryType).forEach((function(e){if("opening"===t.readyState&&"open"===e.type&&t.onOpen(),"close"===e.type)return t.onClose(),!1;t.onPacket(e)})),"closed"!==this.readyState&&(this.polling=!1,this.emit("pollComplete"),"open"===this.readyState&&this.poll())}},{key:"doClose",value:function(){var e=this,t=function(){e.write([{type:"close"}])};"open"===this.readyState?t():this.once("open",t)}},{key:"write",value:function(e){var t=this;this.writable=!1,function(e,n){var r=e.length,o=new Array(r),i=0;e.forEach((function(e,n){er(e,!1,(function(e){var a;o[n]=e,++i===r&&(a=o.join(lr),t.doWrite(a,(function(){t.writable=!0,t.emit("drain")})))}))}))}(e)}},{key:"uri",value:function(){var e=this.query||{},t=this.opts.secure?"https":"http",n="";!1!==this.opts.timestampRequests&&(e[this.opts.timestampParam]=mr()),this.supportsBinary||e.sid||(e.b64=1),this.opts.port&&("https"===t&&443!==Number(this.opts.port)||"http"===t&&80!==Number(this.opts.port))&&(n=":"+this.opts.port);var r=br.encode(e);return t+"://"+(-1!==this.opts.hostname.indexOf(":")?"["+this.opts.hostname+"]":this.opts.hostname)+n+this.opts.path+(r.length?"?"+r:"")}}],r&&kr(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r}(yr);function Lr(e){return Lr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Lr(e)}function Er(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ar(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Tr(r.key),r)}}function _r(e,t,n){return t&&Ar(e.prototype,t),n&&Ar(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function Tr(e){var t=function(e,t){if("object"!=Lr(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!=Lr(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Lr(t)?t:t+""}function Or(e,t,n){return t=Mr(t),function(e,t){if(t&&("object"==Lr(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Ir()?Reflect.construct(t,n||[],Mr(e).constructor):t.apply(e,n))}function Ir(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Ir=function(){return!!e})()}function Mr(e){return Mr=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Mr(e)}function Hr(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Fr(e,t)}function Fr(e,t){return Fr=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Fr(e,t)}function Dr(){}var Rr=null!=new Un({xdomain:!1}).responseType,zr=function(e){function t(e){var n;if(Er(this,t),n=Or(this,t,[e]),"undefined"!=typeof location){var r="https:"===location.protocol,o=location.port;o||(o=r?"443":"80"),n.xd="undefined"!=typeof location&&e.hostname!==location.hostname||o!==e.port,n.xs=e.secure!==r}var i=e&&e.forceBase64;return n.supportsBinary=Rr&&!i,n}return Hr(t,e),_r(t,[{key:"request",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.assign(e,{xd:this.xd,xs:this.xs},this.opts),new Nr(this.uri(),e)}},{key:"doWrite",value:function(e,t){var n=this,r=this.request({method:"POST",data:e});r.on("success",t),r.on("error",(function(e){n.onError("xhr post error",e)}))}},{key:"doPoll",value:function(){var e=this,t=this.request();t.on("data",this.onData.bind(this)),t.on("error",(function(t){e.onError("xhr poll error",t)})),this.pollXhr=t}}])}(Br),Nr=function(e){function t(e,n){var r;return Er(this,t),$n(r=Or(this,t),n),r.opts=n,r.method=n.method||"GET",r.uri=e,r.async=!1!==n.async,r.data=void 0!==n.data?n.data:null,r.create(),r}return Hr(t,e),_r(t,[{key:"create",value:function(){var e=this,n=Wn(this.opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");n.xdomain=!!this.opts.xd,n.xscheme=!!this.opts.xs;var r=this.xhr=new Un(n);try{r.open(this.method,this.uri,this.async);try{if(this.opts.extraHeaders)for(var o in r.setDisableHeaderCheck&&r.setDisableHeaderCheck(!0),this.opts.extraHeaders)this.opts.extraHeaders.hasOwnProperty(o)&&r.setRequestHeader(o,this.opts.extraHeaders[o])}catch(e){}if("POST"===this.method)try{r.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch(e){}try{r.setRequestHeader("Accept","*/*")}catch(e){}"withCredentials"in r&&(r.withCredentials=this.opts.withCredentials),this.opts.requestTimeout&&(r.timeout=this.opts.requestTimeout),r.onreadystatechange=function(){4===r.readyState&&(200===r.status||1223===r.status?e.onLoad():e.setTimeoutFn((function(){e.onError("number"==typeof r.status?r.status:0)}),0))},r.send(this.data)}catch(t){return void this.setTimeoutFn((function(){e.onError(t)}),0)}"undefined"!=typeof document&&(this.index=t.requestsCount++,t.requests[this.index]=this)}},{key:"onSuccess",value:function(){this.emit("success"),this.cleanup()}},{key:"onData",value:function(e){this.emit("data",e),this.onSuccess()}},{key:"onError",value:function(e){this.emit("error",e),this.cleanup(!0)}},{key:"cleanup",value:function(e){if(void 0!==this.xhr&&null!==this.xhr){if(this.xhr.onreadystatechange=Dr,e)try{this.xhr.abort()}catch(e){}"undefined"!=typeof document&&delete t.requests[this.index],this.xhr=null}}},{key:"onLoad",value:function(){var e=this.xhr.responseText;null!==e&&this.onData(e)}},{key:"abort",value:function(){this.cleanup()}}])}(Gn.v);function jr(){for(var e in Nr.requests)Nr.requests.hasOwnProperty(e)&&Nr.requests[e].abort()}Nr.requestsCount=0,Nr.requests={},"undefined"!=typeof document&&("function"==typeof attachEvent?attachEvent("onunload",jr):"function"==typeof addEventListener&&addEventListener("onpagehide"in jn?"pagehide":"unload",jr,!1));var Ur="function"==typeof Promise&&"function"==typeof Promise.resolve?function(e){return Promise.resolve().then(e)}:function(e,t){return t(e,0)},Wr=jn.WebSocket||jn.MozWebSocket;function Yr(e){return Yr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Yr(e)}function Xr(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,$r(r.key),r)}}function $r(e){var t=function(e,t){if("object"!=Yr(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!=Yr(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Yr(t)?t:t+""}function Gr(e,t,n){return t=qr(t),function(e,t){if(t&&("object"==Yr(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Vr()?Reflect.construct(t,n||[],qr(e).constructor):t.apply(e,n))}function Vr(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Vr=function(){return!!e})()}function qr(e){return qr=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},qr(e)}function Kr(e,t){return Kr=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Kr(e,t)}var Qr="undefined"!=typeof navigator&&"string"==typeof navigator.product&&"reactnative"===navigator.product.toLowerCase(),Jr=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=Gr(this,t,[e])).supportsBinary=!e.forceBase64,n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Kr(e,t)}(t,e),n=t,r=[{key:"name",get:function(){return"websocket"}},{key:"doOpen",value:function(){if(this.check()){var e=this.uri(),t=this.opts.protocols,n=Qr?{}:Wn(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(n.headers=this.opts.extraHeaders);try{this.ws=Qr?new Wr(e,t,n):t?new Wr(e,t):new Wr(e)}catch(e){return this.emit("error",e)}this.ws.binaryType=this.socket.binaryType||"arraybuffer",this.addEventListeners()}}},{key:"addEventListeners",value:function(){var e=this;this.ws.onopen=function(){e.opts.autoUnref&&e.ws._socket.unref(),e.onOpen()},this.ws.onclose=this.onClose.bind(this),this.ws.onmessage=function(t){return e.onData(t.data)},this.ws.onerror=function(t){return e.onError("websocket error",t)}}},{key:"write",value:function(e){var t=this;this.writable=!1;for(var n=function(){var n=e[r],o=r===e.length-1;er(n,t.supportsBinary,(function(e){try{t.ws.send(e)}catch(e){}o&&Ur((function(){t.writable=!0,t.emit("drain")}),t.setTimeoutFn)}))},r=0;r<e.length;r++)n()}},{key:"doClose",value:function(){void 0!==this.ws&&(this.ws.close(),this.ws=null)}},{key:"uri",value:function(){var e=this.query||{},t=this.opts.secure?"wss":"ws",n="";this.opts.port&&("wss"===t&&443!==Number(this.opts.port)||"ws"===t&&80!==Number(this.opts.port))&&(n=":"+this.opts.port),this.opts.timestampRequests&&(e[this.opts.timestampParam]=mr()),this.supportsBinary||(e.b64=1);var r=br.encode(e);return t+"://"+(-1!==this.opts.hostname.indexOf(":")?"["+this.opts.hostname+"]":this.opts.hostname)+n+this.opts.path+(r.length?"?"+r:"")}},{key:"check",value:function(){return!(!Wr||"__initialize"in Wr&&this.name===t.prototype.name)}}],r&&Xr(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r}(yr),Zr={websocket:Jr,polling:zr};function eo(e){return eo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},eo(e)}function to(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,no(r.key),r)}}function no(e){var t=function(e,t){if("object"!=eo(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!=eo(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==eo(t)?t:t+""}function ro(e,t,n){return t=io(t),function(e,t){if(t&&("object"==eo(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,oo()?Reflect.construct(t,n||[],io(e).constructor):t.apply(e,n))}function oo(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(oo=function(){return!!e})()}function io(e){return io=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},io(e)}function ao(e,t){return ao=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},ao(e,t)}var lo=function(e){function t(e){var n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=ro(this,t),e&&"object"===eo(e)&&(r=e,e=null),e?(e=zn(e),r.hostname=e.host,r.secure="https"===e.protocol||"wss"===e.protocol,r.port=e.port,e.query&&(r.query=e.query)):r.host&&(r.hostname=zn(r.host).host),$n(n,r),n.secure=null!=r.secure?r.secure:"undefined"!=typeof location&&"https:"===location.protocol,r.hostname&&!r.port&&(r.port=n.secure?"443":"80"),n.hostname=r.hostname||("undefined"!=typeof location?location.hostname:"localhost"),n.port=r.port||("undefined"!=typeof location&&location.port?location.port:n.secure?"443":"80"),n.transports=r.transports||["polling","websocket"],n.readyState="",n.writeBuffer=[],n.prevBufferLen=0,n.opts=Object.assign({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,timestampParam:"t",rememberUpgrade:!1,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!0},r),n.opts.path=n.opts.path.replace(/\/$/,"")+"/","string"==typeof n.opts.query&&(n.opts.query=br.decode(n.opts.query)),n.id=null,n.upgrades=null,n.pingInterval=null,n.pingTimeout=null,n.pingTimeoutTimer=null,"function"==typeof addEventListener&&(n.opts.closeOnBeforeunload&&addEventListener("beforeunload",(function(){n.transport&&(n.transport.removeAllListeners(),n.transport.close())}),!1),"localhost"!==n.hostname&&(n.offlineEventListener=function(){n.onClose("transport close")},addEventListener("offline",n.offlineEventListener,!1))),n.open(),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ao(e,t)}(t,e),n=t,r=[{key:"createTransport",value:function(e){var t=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}(this.opts.query);t.EIO=4,t.transport=e,this.id&&(t.sid=this.id);var n=Object.assign({},this.opts.transportOptions[e],this.opts,{query:t,socket:this,hostname:this.hostname,secure:this.secure,port:this.port});return new Zr[e](n)}},{key:"open",value:function(){var e,n=this;if(this.opts.rememberUpgrade&&t.priorWebsocketSuccess&&-1!==this.transports.indexOf("websocket"))e="websocket";else{if(0===this.transports.length)return void this.setTimeoutFn((function(){n.emitReserved("error","No transports available")}),0);e=this.transports[0]}this.readyState="opening";try{e=this.createTransport(e)}catch(e){return this.transports.shift(),void this.open()}e.open(),this.setTransport(e)}},{key:"setTransport",value:function(e){var t=this;this.transport&&this.transport.removeAllListeners(),this.transport=e,e.on("drain",this.onDrain.bind(this)).on("packet",this.onPacket.bind(this)).on("error",this.onError.bind(this)).on("close",(function(){t.onClose("transport close")}))}},{key:"probe",value:function(e){var n=this,r=this.createTransport(e),o=!1;t.priorWebsocketSuccess=!1;var i=function(){o||(r.send([{type:"ping",data:"probe"}]),r.once("packet",(function(e){if(!o)if("pong"===e.type&&"probe"===e.data){if(n.upgrading=!0,n.emitReserved("upgrading",r),!r)return;t.priorWebsocketSuccess="websocket"===r.name,n.transport.pause((function(){o||"closed"!==n.readyState&&(f(),n.setTransport(r),r.send([{type:"upgrade"}]),n.emitReserved("upgrade",r),r=null,n.upgrading=!1,n.flush())}))}else{var i=new Error("probe error");i.transport=r.name,n.emitReserved("upgradeError",i)}})))};function a(){o||(o=!0,f(),r.close(),r=null)}var l=function(e){var t=new Error("probe error: "+e);t.transport=r.name,a(),n.emitReserved("upgradeError",t)};function u(){l("transport closed")}function s(){l("socket closed")}function c(e){r&&e.name!==r.name&&a()}var f=function(){r.removeListener("open",i),r.removeListener("error",l),r.removeListener("close",u),n.off("close",s),n.off("upgrading",c)};r.once("open",i),r.once("error",l),r.once("close",u),this.once("close",s),this.once("upgrading",c),r.open()}},{key:"onOpen",value:function(){if(this.readyState="open",t.priorWebsocketSuccess="websocket"===this.transport.name,this.emitReserved("open"),this.flush(),"open"===this.readyState&&this.opts.upgrade&&this.transport.pause)for(var e=0,n=this.upgrades.length;e<n;e++)this.probe(this.upgrades[e])}},{key:"onPacket",value:function(e){if("opening"===this.readyState||"open"===this.readyState||"closing"===this.readyState)switch(this.emitReserved("packet",e),this.emitReserved("heartbeat"),e.type){case"open":this.onHandshake(JSON.parse(e.data));break;case"ping":this.resetPingTimeout(),this.sendPacket("pong"),this.emitReserved("ping"),this.emitReserved("pong");break;case"error":var t=new Error("server error");t.code=e.data,this.onError(t);break;case"message":this.emitReserved("data",e.data),this.emitReserved("message",e.data)}}},{key:"onHandshake",value:function(e){this.emitReserved("handshake",e),this.id=e.sid,this.transport.query.sid=e.sid,this.upgrades=this.filterUpgrades(e.upgrades),this.pingInterval=e.pingInterval,this.pingTimeout=e.pingTimeout,this.onOpen(),"closed"!==this.readyState&&this.resetPingTimeout()}},{key:"resetPingTimeout",value:function(){var e=this;this.clearTimeoutFn(this.pingTimeoutTimer),this.pingTimeoutTimer=this.setTimeoutFn((function(){e.onClose("ping timeout")}),this.pingInterval+this.pingTimeout),this.opts.autoUnref&&this.pingTimeoutTimer.unref()}},{key:"onDrain",value:function(){this.writeBuffer.splice(0,this.prevBufferLen),this.prevBufferLen=0,0===this.writeBuffer.length?this.emitReserved("drain"):this.flush()}},{key:"flush",value:function(){"closed"!==this.readyState&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length&&(this.transport.send(this.writeBuffer),this.prevBufferLen=this.writeBuffer.length,this.emitReserved("flush"))}},{key:"write",value:function(e,t,n){return this.sendPacket("message",e,t,n),this}},{key:"send",value:function(e,t,n){return this.sendPacket("message",e,t,n),this}},{key:"sendPacket",value:function(e,t,n,r){if("function"==typeof t&&(r=t,t=void 0),"function"==typeof n&&(r=n,n=null),"closing"!==this.readyState&&"closed"!==this.readyState){(n=n||{}).compress=!1!==n.compress;var o={type:e,data:t,options:n};this.emitReserved("packetCreate",o),this.writeBuffer.push(o),r&&this.once("flush",r),this.flush()}}},{key:"close",value:function(){var e=this,t=function(){e.onClose("forced close"),e.transport.close()},n=function n(){e.off("upgrade",n),e.off("upgradeError",n),t()},r=function(){e.once("upgrade",n),e.once("upgradeError",n)};return"opening"!==this.readyState&&"open"!==this.readyState||(this.readyState="closing",this.writeBuffer.length?this.once("drain",(function(){e.upgrading?r():t()})):this.upgrading?r():t()),this}},{key:"onError",value:function(e){t.priorWebsocketSuccess=!1,this.emitReserved("error",e),this.onClose("transport error",e)}},{key:"onClose",value:function(e,t){"opening"!==this.readyState&&"open"!==this.readyState&&"closing"!==this.readyState||(this.clearTimeoutFn(this.pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),"function"==typeof removeEventListener&&removeEventListener("offline",this.offlineEventListener,!1),this.readyState="closed",this.id=null,this.emitReserved("close",e,t),this.writeBuffer=[],this.prevBufferLen=0)}},{key:"filterUpgrades",value:function(e){for(var t=[],n=0,r=e.length;n<r;n++)~this.transports.indexOf(e[n])&&t.push(e[n]);return t}}],r&&to(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r}(Gn.v);function uo(e){return uo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},uo(e)}lo.protocol=4,lo.protocol;var so="function"==typeof ArrayBuffer,co=function(e){return"function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(e):e.buffer instanceof ArrayBuffer},fo=Object.prototype.toString,po="function"==typeof Blob||"undefined"!=typeof Blob&&"[object BlobConstructor]"===fo.call(Blob),ho="function"==typeof File||"undefined"!=typeof File&&"[object FileConstructor]"===fo.call(File);function go(e){return so&&(e instanceof ArrayBuffer||co(e))||po&&e instanceof Blob||ho&&e instanceof File}function yo(e,t){if(!e||"object"!==uo(e))return!1;if(Array.isArray(e)){for(var n=0,r=e.length;n<r;n++)if(yo(e[n]))return!0;return!1}if(go(e))return!0;if(e.toJSON&&"function"==typeof e.toJSON&&1===arguments.length)return yo(e.toJSON(),!0);for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)&&yo(e[o]))return!0;return!1}function mo(e){return mo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},mo(e)}function bo(e){var t=[],n=e.data,r=e;return r.data=vo(n,t),r.attachments=t.length,{packet:r,buffers:t}}function vo(e,t){if(!e)return e;if(go(e)){var n={_placeholder:!0,num:t.length};return t.push(e),n}if(Array.isArray(e)){for(var r=new Array(e.length),o=0;o<e.length;o++)r[o]=vo(e[o],t);return r}if("object"===mo(e)&&!(e instanceof Date)){var i={};for(var a in e)e.hasOwnProperty(a)&&(i[a]=vo(e[a],t));return i}return e}function ko(e,t){return e.data=wo(e.data,t),e.attachments=void 0,e}function wo(e,t){if(!e)return e;if(e&&e._placeholder)return t[e.num];if(Array.isArray(e))for(var n=0;n<e.length;n++)e[n]=wo(e[n],t);else if("object"===mo(e))for(var r in e)e.hasOwnProperty(r)&&(e[r]=wo(e[r],t));return e}function xo(e){return xo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},xo(e)}function So(e,t,n){return t=Bo(t),function(e,t){if(t&&("object"==xo(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Co()?Reflect.construct(t,n||[],Bo(e).constructor):t.apply(e,n))}function Co(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Co=function(){return!!e})()}function Po(){return Po="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!{}.hasOwnProperty.call(e,t)&&null!==(e=Bo(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(arguments.length<3?e:n):o.value}},Po.apply(null,arguments)}function Bo(e){return Bo=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Bo(e)}function Lo(e,t){return Lo=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Lo(e,t)}function Eo(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ao(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,To(r.key),r)}}function _o(e,t,n){return t&&Ao(e.prototype,t),n&&Ao(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function To(e){var t=function(e,t){if("object"!=xo(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!=xo(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==xo(t)?t:t+""}var Oo,Io=5;!function(e){e[e.CONNECT=0]="CONNECT",e[e.DISCONNECT=1]="DISCONNECT",e[e.EVENT=2]="EVENT",e[e.ACK=3]="ACK",e[e.CONNECT_ERROR=4]="CONNECT_ERROR",e[e.BINARY_EVENT=5]="BINARY_EVENT",e[e.BINARY_ACK=6]="BINARY_ACK"}(Oo||(Oo={}));var Mo=function(){return _o((function e(){Eo(this,e)}),[{key:"encode",value:function(e){return e.type!==Oo.EVENT&&e.type!==Oo.ACK||!yo(e)?[this.encodeAsString(e)]:(e.type=e.type===Oo.EVENT?Oo.BINARY_EVENT:Oo.BINARY_ACK,this.encodeAsBinary(e))}},{key:"encodeAsString",value:function(e){var t=""+e.type;return e.type!==Oo.BINARY_EVENT&&e.type!==Oo.BINARY_ACK||(t+=e.attachments+"-"),e.nsp&&"/"!==e.nsp&&(t+=e.nsp+","),null!=e.id&&(t+=e.id),null!=e.data&&(t+=JSON.stringify(e.data)),t}},{key:"encodeAsBinary",value:function(e){var t=bo(e),n=this.encodeAsString(t.packet),r=t.buffers;return r.unshift(n),r}}])}(),Ho=function(e){function t(){return Eo(this,t),So(this,t)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Lo(e,t)}(t,e),_o(t,[{key:"add",value:function(e){var n;if("string"==typeof e)(n=this.decodeString(e)).type===Oo.BINARY_EVENT||n.type===Oo.BINARY_ACK?(this.reconstructor=new Fo(n),0===n.attachments&&Po(Bo(t.prototype),"emitReserved",this).call(this,"decoded",n)):Po(Bo(t.prototype),"emitReserved",this).call(this,"decoded",n);else{if(!go(e)&&!e.base64)throw new Error("Unknown type: "+e);if(!this.reconstructor)throw new Error("got binary data when not reconstructing a packet");(n=this.reconstructor.takeBinaryData(e))&&(this.reconstructor=null,Po(Bo(t.prototype),"emitReserved",this).call(this,"decoded",n))}}},{key:"decodeString",value:function(e){var n=0,r={type:Number(e.charAt(0))};if(void 0===Oo[r.type])throw new Error("unknown packet type "+r.type);if(r.type===Oo.BINARY_EVENT||r.type===Oo.BINARY_ACK){for(var o=n+1;"-"!==e.charAt(++n)&&n!=e.length;);var i=e.substring(o,n);if(i!=Number(i)||"-"!==e.charAt(n))throw new Error("Illegal attachments");r.attachments=Number(i)}if("/"===e.charAt(n+1)){for(var a=n+1;++n&&","!==e.charAt(n)&&n!==e.length;);r.nsp=e.substring(a,n)}else r.nsp="/";var l=e.charAt(n+1);if(""!==l&&Number(l)==l){for(var u=n+1;++n;){var s=e.charAt(n);if(null==s||Number(s)!=s){--n;break}if(n===e.length)break}r.id=Number(e.substring(u,n+1))}if(e.charAt(++n)){var c=function(e){try{return JSON.parse(e)}catch(e){return!1}}(e.substr(n));if(!t.isPayloadValid(r.type,c))throw new Error("invalid payload");r.data=c}return r}},{key:"destroy",value:function(){this.reconstructor&&this.reconstructor.finishedReconstruction()}}],[{key:"isPayloadValid",value:function(e,t){switch(e){case Oo.CONNECT:return"object"===xo(t);case Oo.DISCONNECT:return void 0===t;case Oo.CONNECT_ERROR:return"string"==typeof t||"object"===xo(t);case Oo.EVENT:case Oo.BINARY_EVENT:return Array.isArray(t)&&t.length>0;case Oo.ACK:case Oo.BINARY_ACK:return Array.isArray(t)}}}])}(Gn.v),Fo=function(){return _o((function e(t){Eo(this,e),this.packet=t,this.buffers=[],this.reconPack=t}),[{key:"takeBinaryData",value:function(e){if(this.buffers.push(e),this.buffers.length===this.reconPack.attachments){var t=ko(this.reconPack,this.buffers);return this.finishedReconstruction(),t}return null}},{key:"finishedReconstruction",value:function(){this.reconPack=null,this.buffers=[]}}])}();function Do(e,t,n){return e.on(t,n),function(){e.off(t,n)}}function Ro(e){return Ro="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ro(e)}function zo(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function No(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,jo(r.key),r)}}function jo(e){var t=function(e,t){if("object"!=Ro(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!=Ro(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Ro(t)?t:t+""}function Uo(e,t,n){return t=Xo(t),function(e,t){if(t&&("object"==Ro(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Wo()?Reflect.construct(t,n||[],Xo(e).constructor):t.apply(e,n))}function Wo(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Wo=function(){return!!e})()}function Yo(){return Yo="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!{}.hasOwnProperty.call(e,t)&&null!==(e=Xo(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(arguments.length<3?e:n):o.value}},Yo.apply(null,arguments)}function Xo(e){return Xo=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Xo(e)}function $o(e,t){return $o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},$o(e,t)}var Go=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1}),Vo=function(e){function t(e,n,r){var o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(o=Uo(this,t)).connected=!1,o.disconnected=!0,o.receiveBuffer=[],o.sendBuffer=[],o.ids=0,o.acks={},o.flags={},o.io=e,o.nsp=n,r&&r.auth&&(o.auth=r.auth),o.io._autoConnect&&o.open(),o}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&$o(e,t)}(t,e),n=t,r=[{key:"subEvents",value:function(){if(!this.subs){var e=this.io;this.subs=[Do(e,"open",this.onopen.bind(this)),Do(e,"packet",this.onpacket.bind(this)),Do(e,"error",this.onerror.bind(this)),Do(e,"close",this.onclose.bind(this))]}}},{key:"active",get:function(){return!!this.subs}},{key:"connect",value:function(){return this.connected||(this.subEvents(),this.io._reconnecting||this.io.open(),"open"===this.io._readyState&&this.onopen()),this}},{key:"open",value:function(){return this.connect()}},{key:"send",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.unshift("message"),this.emit.apply(this,t),this}},{key:"emit",value:function(e){if(Go.hasOwnProperty(e))throw new Error('"'+e+'" is a reserved event name');for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];n.unshift(e);var o={type:Oo.EVENT,data:n,options:{}};if(o.options.compress=!1!==this.flags.compress,"function"==typeof n[n.length-1]){var i=this.ids++,a=n.pop();this._registerAckCallback(i,a),o.id=i}var l=this.io.engine&&this.io.engine.transport&&this.io.engine.transport.writable;return this.flags.volatile&&(!l||!this.connected)||(this.connected?this.packet(o):this.sendBuffer.push(o)),this.flags={},this}},{key:"_registerAckCallback",value:function(e,t){var n=this,r=this.flags.timeout;if(void 0!==r){var o=this.io.setTimeoutFn((function(){delete n.acks[e];for(var r=0;r<n.sendBuffer.length;r++)n.sendBuffer[r].id===e&&n.sendBuffer.splice(r,1);t.call(n,new Error("operation has timed out"))}),r);this.acks[e]=function(){n.io.clearTimeoutFn(o);for(var e=arguments.length,r=new Array(e),i=0;i<e;i++)r[i]=arguments[i];t.apply(n,[null].concat(r))}}else this.acks[e]=t}},{key:"packet",value:function(e){e.nsp=this.nsp,this.io._packet(e)}},{key:"onopen",value:function(){var e=this;"function"==typeof this.auth?this.auth((function(t){e.packet({type:Oo.CONNECT,data:t})})):this.packet({type:Oo.CONNECT,data:this.auth})}},{key:"onerror",value:function(e){this.connected||this.emitReserved("connect_error",e)}},{key:"onclose",value:function(e){this.connected=!1,this.disconnected=!0,delete this.id,this.emitReserved("disconnect",e)}},{key:"onpacket",value:function(e){if(e.nsp===this.nsp)switch(e.type){case Oo.CONNECT:if(e.data&&e.data.sid){var t=e.data.sid;this.onconnect(t)}else this.emitReserved("connect_error",new Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));break;case Oo.EVENT:case Oo.BINARY_EVENT:this.onevent(e);break;case Oo.ACK:case Oo.BINARY_ACK:this.onack(e);break;case Oo.DISCONNECT:this.ondisconnect();break;case Oo.CONNECT_ERROR:this.destroy();var n=new Error(e.data.message);n.data=e.data.data,this.emitReserved("connect_error",n)}}},{key:"onevent",value:function(e){var t=e.data||[];null!=e.id&&t.push(this.ack(e.id)),this.connected?this.emitEvent(t):this.receiveBuffer.push(Object.freeze(t))}},{key:"emitEvent",value:function(e){if(this._anyListeners&&this._anyListeners.length){var n,r=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return zo(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?zo(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){l=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(l)throw i}}}}(this._anyListeners.slice());try{for(r.s();!(n=r.n()).done;)n.value.apply(this,e)}catch(e){r.e(e)}finally{r.f()}}Yo(Xo(t.prototype),"emit",this).apply(this,e)}},{key:"ack",value:function(e){var t=this,n=!1;return function(){if(!n){n=!0;for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];t.packet({type:Oo.ACK,id:e,data:o})}}}},{key:"onack",value:function(e){var t=this.acks[e.id];"function"==typeof t&&(t.apply(this,e.data),delete this.acks[e.id])}},{key:"onconnect",value:function(e){this.id=e,this.connected=!0,this.disconnected=!1,this.emitBuffered(),this.emitReserved("connect")}},{key:"emitBuffered",value:function(){var e=this;this.receiveBuffer.forEach((function(t){return e.emitEvent(t)})),this.receiveBuffer=[],this.sendBuffer.forEach((function(t){return e.packet(t)})),this.sendBuffer=[]}},{key:"ondisconnect",value:function(){this.destroy(),this.onclose("io server disconnect")}},{key:"destroy",value:function(){this.subs&&(this.subs.forEach((function(e){return e()})),this.subs=void 0),this.io._destroy(this)}},{key:"disconnect",value:function(){return this.connected&&this.packet({type:Oo.DISCONNECT}),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}},{key:"close",value:function(){return this.disconnect()}},{key:"compress",value:function(e){return this.flags.compress=e,this}},{key:"volatile",get:function(){return this.flags.volatile=!0,this}},{key:"timeout",value:function(e){return this.flags.timeout=e,this}},{key:"onAny",value:function(e){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(e),this}},{key:"prependAny",value:function(e){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(e),this}},{key:"offAny",value:function(e){if(!this._anyListeners)return this;if(e){for(var t=this._anyListeners,n=0;n<t.length;n++)if(e===t[n])return t.splice(n,1),this}else this._anyListeners=[];return this}},{key:"listenersAny",value:function(){return this._anyListeners||[]}}],r&&No(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r}(Gn.v),qo=n(959);function Ko(e){return Ko="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ko(e)}function Qo(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Jo(r.key),r)}}function Jo(e){var t=function(e,t){if("object"!=Ko(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!=Ko(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Ko(t)?t:t+""}function Zo(e,t,n){return t=ti(t),function(e,t){if(t&&("object"==Ko(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,ei()?Reflect.construct(t,n||[],ti(e).constructor):t.apply(e,n))}function ei(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(ei=function(){return!!e})()}function ti(e){return ti=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},ti(e)}function ni(e,t){return ni=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},ni(e,t)}var ri=function(t){function n(t,r){var o,i;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),(o=Zo(this,n)).nsps={},o.subs=[],t&&"object"===Ko(t)&&(r=t,t=void 0),(r=r||{}).path=r.path||"/socket.io",o.opts=r,$n(o,r),o.reconnection(!1!==r.reconnection),o.reconnectionAttempts(r.reconnectionAttempts||1/0),o.reconnectionDelay(r.reconnectionDelay||1e3),o.reconnectionDelayMax(r.reconnectionDelayMax||5e3),o.randomizationFactor(null!==(i=r.randomizationFactor)&&void 0!==i?i:.5),o.backoff=new qo({min:o.reconnectionDelay(),max:o.reconnectionDelayMax(),jitter:o.randomizationFactor()}),o.timeout(null==r.timeout?2e4:r.timeout),o._readyState="closed",o.uri=t;var a=r.parser||e;return o.encoder=new a.Encoder,o.decoder=new a.Decoder,o._autoConnect=!1!==r.autoConnect,o._autoConnect&&o.open(),o}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ni(e,t)}(n,t),r=n,o=[{key:"reconnection",value:function(e){return arguments.length?(this._reconnection=!!e,this):this._reconnection}},{key:"reconnectionAttempts",value:function(e){return void 0===e?this._reconnectionAttempts:(this._reconnectionAttempts=e,this)}},{key:"reconnectionDelay",value:function(e){var t;return void 0===e?this._reconnectionDelay:(this._reconnectionDelay=e,null===(t=this.backoff)||void 0===t||t.setMin(e),this)}},{key:"randomizationFactor",value:function(e){var t;return void 0===e?this._randomizationFactor:(this._randomizationFactor=e,null===(t=this.backoff)||void 0===t||t.setJitter(e),this)}},{key:"reconnectionDelayMax",value:function(e){var t;return void 0===e?this._reconnectionDelayMax:(this._reconnectionDelayMax=e,null===(t=this.backoff)||void 0===t||t.setMax(e),this)}},{key:"timeout",value:function(e){return arguments.length?(this._timeout=e,this):this._timeout}},{key:"maybeReconnectOnOpen",value:function(){!this._reconnecting&&this._reconnection&&0===this.backoff.attempts&&this.reconnect()}},{key:"open",value:function(e){var t=this;if(~this._readyState.indexOf("open"))return this;this.engine=new lo(this.uri,this.opts);var n=this.engine,r=this;this._readyState="opening",this.skipReconnect=!1;var o=Do(n,"open",(function(){r.onopen(),e&&e()})),i=Do(n,"error",(function(n){r.cleanup(),r._readyState="closed",t.emitReserved("error",n),e?e(n):r.maybeReconnectOnOpen()}));if(!1!==this._timeout){var a=this._timeout;0===a&&o();var l=this.setTimeoutFn((function(){o(),n.close(),n.emit("error",new Error("timeout"))}),a);this.opts.autoUnref&&l.unref(),this.subs.push((function(){clearTimeout(l)}))}return this.subs.push(o),this.subs.push(i),this}},{key:"connect",value:function(e){return this.open(e)}},{key:"onopen",value:function(){this.cleanup(),this._readyState="open",this.emitReserved("open");var e=this.engine;this.subs.push(Do(e,"ping",this.onping.bind(this)),Do(e,"data",this.ondata.bind(this)),Do(e,"error",this.onerror.bind(this)),Do(e,"close",this.onclose.bind(this)),Do(this.decoder,"decoded",this.ondecoded.bind(this)))}},{key:"onping",value:function(){this.emitReserved("ping")}},{key:"ondata",value:function(e){this.decoder.add(e)}},{key:"ondecoded",value:function(e){this.emitReserved("packet",e)}},{key:"onerror",value:function(e){this.emitReserved("error",e)}},{key:"socket",value:function(e,t){var n=this.nsps[e];return n||(n=new Vo(this,e,t),this.nsps[e]=n),n}},{key:"_destroy",value:function(e){for(var t=0,n=Object.keys(this.nsps);t<n.length;t++){var r=n[t];if(this.nsps[r].active)return}this._close()}},{key:"_packet",value:function(e){for(var t=this.encoder.encode(e),n=0;n<t.length;n++)this.engine.write(t[n],e.options)}},{key:"cleanup",value:function(){this.subs.forEach((function(e){return e()})),this.subs.length=0,this.decoder.destroy()}},{key:"_close",value:function(){this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close"),this.engine&&this.engine.close()}},{key:"disconnect",value:function(){return this._close()}},{key:"onclose",value:function(e){this.cleanup(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",e),this._reconnection&&!this.skipReconnect&&this.reconnect()}},{key:"reconnect",value:function(){var e=this;if(this._reconnecting||this.skipReconnect)return this;var t=this;if(this.backoff.attempts>=this._reconnectionAttempts)this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{var n=this.backoff.duration();this._reconnecting=!0;var r=this.setTimeoutFn((function(){t.skipReconnect||(e.emitReserved("reconnect_attempt",t.backoff.attempts),t.skipReconnect||t.open((function(n){n?(t._reconnecting=!1,t.reconnect(),e.emitReserved("reconnect_error",n)):t.onreconnect()})))}),n);this.opts.autoUnref&&r.unref(),this.subs.push((function(){clearTimeout(r)}))}}},{key:"onreconnect",value:function(){var e=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",e)}}],o&&Qo(r.prototype,o),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,o}(Gn.v);function oi(e){return oi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},oi(e)}var ii={};function ai(e,t){"object"===oi(e)&&(t=e,e=void 0);var n,r=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2?arguments[2]:void 0,r=e;n=n||"undefined"!=typeof location&&location,null==e&&(e=n.protocol+"//"+n.host),"string"==typeof e&&("/"===e.charAt(0)&&(e="/"===e.charAt(1)?n.protocol+e:n.host+e),/^(https?|wss?):\/\//.test(e)||(e=void 0!==n?n.protocol+"//"+e:"https://"+e),r=zn(e)),r.port||(/^(http|ws)$/.test(r.protocol)?r.port="80":/^(http|ws)s$/.test(r.protocol)&&(r.port="443")),r.path=r.path||"/";var o=-1!==r.host.indexOf(":")?"["+r.host+"]":r.host;return r.id=r.protocol+"://"+o+":"+r.port+t,r.href=r.protocol+"://"+o+(n&&n.port===r.port?"":":"+r.port),r}(e,(t=t||{}).path||"/socket.io"),o=r.source,i=r.id,a=r.path,l=ii[i]&&a in ii[i].nsps;return t.forceNew||t["force new connection"]||!1===t.multiplex||l?n=new ri(o,t):(ii[i]||(ii[i]=new ri(o,t)),n=ii[i]),r.query&&!t.query&&(t.query=r.queryKey),n.socket(r.path,t)}Object.assign(ai,{Manager:ri,Socket:Vo,io:ai,connect:ai});var li,ui,si,ci,fi,di,pi,hi,gi,yi,mi,bi,vi,ki,wi,xi,Si,Ci,Pi,Bi,Li,Ei,Ai,_i,Ti,Oi,Ii,Mi,Hi,Fi,Di,Ri,zi=new function(){var e=this;this.isTabPressed=!1,this.isArrowPressed=!1,null==F.globalObject.addEventListener||F.globalObject.addEventListener("keydown",(function(t){e.isTabPressed=function(e){return"Tab"===e.key}(t),e.isArrowPressed=function(e){return function(e){return function(e){return"ArrowRight"===e.key||"Right"===e.key}(e)||function(e){return"ArrowLeft"===e.key||"Left"===e.key}(e)}(e)||function(e){return function(e){return"ArrowUp"===e.key||"Up"===e.key}(e)||function(e){return"ArrowDown"===e.key||"Down"===e.key}(e)}(e)}(t)})),null==F.globalObject.addEventListener||F.globalObject.addEventListener("mousedown",(function(){e.isTabPressed=!1,e.isArrowPressed=!1}))},Ni=function(e,t,n){return"\n color: "+e+";\n\n &:hover {\n color: "+t+";\n }\n\n &:active {\n color: "+n+";\n }\n "},ji=function(e){return"\n animation: none !important;\n border-bottom-style: "+e+";\n "},Ui=("link",void 0===Hi&&(Hi=At),function(e){return Object.keys(e).reduce((function(t,n){var r;return o({},t,((r={})[n]=Hi+"-link-"+e[n],r))}),{})})({textWrapper:"textWrapper",text:"text"}),Wi=It(li||(li=Nt(["\n 0% {\n border-bottom-color: inherit;\n }\n 100% {\n border-bottom-color: transparent;\n }\n"]))),Yi=function(e){var t=parseFloat(e.linkLineBorderBottomOpacity)-1;return Mt(ui||(ui=Nt(["\n border-bottom-style: ",";\n border-bottom-width: ",";\n animation: "," 1s linear !important; // override creevey\n animation-play-state: paused !important;\n animation-delay: ","s !important;\n animation-fill-mode: forwards !important;\n "])),e.linkLineBorderBottomStyle,e.linkLineBorderBottomWidth,Wi,t)},Xi=zt({root:function(e){return Mt(si||(si=Nt(["\n ",";\n position: relative;\n "])),"\n border-radius: 1px;\n outline: none;\n text-decoration: none;\n\n &:hover {\n text-decoration: "+e.linkHoverTextDecoration+";\n }\n ")},lineRoot:function(){return Mt(ci||(ci=Nt(["\n border-radius: 1px;\n outline: none;\n text-decoration: none;\n &:hover ."," {\n border-bottom-color: currentColor !important;\n }\n "])),Ui.text)},lineTextWrapper:function(e){return Mt(fi||(fi=Nt(["\n @supports (border-bottom-color: ",") {\n transition: border-bottom-color "," ",";\n border-bottom-style: ",";\n border-bottom-width: ",";\n border-bottom-color: transparent;\n }\n "])),e.linkLineBorderBottomColor,e.transitionDuration,e.transitionTimingFunction,e.linkLineBorderBottomStyle,e.linkLineBorderBottomWidth)},lineTextWrapperFocused:function(e){return Mt(di||(di=Nt(["\n @supports (border-bottom-color: ",") {\n border-bottom-color: currentColor;\n border-bottom-style: ",";\n }\n "])),e.linkLineBorderBottomColor,e.linkLineHoverBorderBottomStyle)},lineText:function(e){return Mt(pi||(pi=Nt(["\n @supports (border-bottom-color: ",") {\n border-bottom-style: ",";\n border-bottom-width: ",";\n border-bottom-color: ",";\n }\n @supports not (border-bottom-color: ",") {\n ",";\n }\n "])),e.linkLineBorderBottomColor,e.linkLineBorderBottomStyle,e.linkLineBorderBottomWidth,e.linkLineBorderBottomColor,e.linkLineBorderBottomColor,Yi(e))},lineTextIE11:function(e){return Mt(hi||(hi=Nt(["\n ",";\n "])),Yi(e))},lineFocus:function(e){return Mt(gi||(gi=Nt(["\n color: ",";\n\n ."," {\n ","\n }\n "])),e.linkHoverColor,Ui.text,ji(e.linkLineHoverBorderBottomStyle))},lineFocusSuccess:function(e){return Mt(yi||(yi=Nt(["\n color: "," !important;\n\n ."," {\n ","\n }\n "])),e.linkSuccessHoverColor,Ui.text,ji(e.linkLineHoverBorderBottomStyle))},lineFocusDanger:function(e){return Mt(mi||(mi=Nt(["\n color: "," !important;\n\n ."," {\n ","\n }\n "])),e.linkDangerHoverColor,Ui.text,ji(e.linkLineHoverBorderBottomStyle))},lineFocusGrayed:function(e){return Mt(bi||(bi=Nt(["\n color: "," !important;\n\n ."," {\n ","\n }\n "])),e.linkGrayedHoverColor,Ui.text,ji(e.linkLineHoverBorderBottomStyle))},button:function(e){return Mt(vi||(vi=Nt(["\n display: inline-block;\n line-height: ",";\n padding-left: ",";\n padding-right: ",";\n "])),e.linkButtonLineHeight,e.linkButtonPaddingX,e.linkButtonPaddingX)},buttonOpened:function(e){return Mt(ki||(ki=Nt(["\n background: ",";\n "])),e.btnDefaultActiveBg)},arrow:function(){return Mt(wi||(wi=Nt(["\n border: 4px solid transparent;\n border-bottom-width: 0;\n border-top-color: #a0a0a0;\n display: inline-block;\n margin-bottom: 3px;\n margin-left: 3px;\n vertical-align: middle;\n "])))},useRoot:function(){return Mt(xi||(xi=Nt(["\n border-bottom-color: currentColor;\n "])))},useDefault:function(e){return Mt(Si||(Si=Nt(["\n ",";\n ."," {\n :hover {\n ","\n }\n }\n "])),Ni(e.linkColor,e.linkHoverColor,e.linkActiveColor),Ui.text,ji(e.linkLineHoverBorderBottomStyle))},useSuccess:function(e){return Mt(Ci||(Ci=Nt(["\n ",";\n ."," {\n :hover {\n ","\n }\n }\n "])),Ni(e.linkSuccessColor,e.linkSuccessHoverColor,e.linkSuccessActiveColor),Ui.text,ji(e.linkLineHoverBorderBottomStyle))},useDanger:function(e){return Mt(Pi||(Pi=Nt(["\n ",";\n ."," {\n :hover {\n ","\n }\n }\n "])),Ni(e.linkDangerColor,e.linkDangerHoverColor,e.linkDangerActiveColor),Ui.text,ji(e.linkLineHoverBorderBottomStyle))},useGrayed:function(e){return Mt(Bi||(Bi=Nt(["\n ",";\n ."," {\n :hover {\n ","\n }\n }\n "])),Ni(e.linkGrayedColor,e.linkGrayedHoverColor,e.linkGrayedActiveColor),Ui.text,ji(e.linkLineHoverBorderBottomStyle))},useGrayedFocus:function(e){return Mt(Li||(Li=Nt(["\n color: ",";\n "])),e.linkDisabledColor)},focus:function(e){return Mt(Ei||(Ei=Nt(["\n text-decoration: ",";\n "])),e.linkHoverTextDecoration)},focus2022:function(e){return Mt(Ai||(Ai=Nt(["\n outline: ",";\n\n ."," {\n &,\n &:hover {\n ","\n }\n }\n\n ."," {\n border-bottom-style: none;\n }\n "])),e.linkFocusOutline,Ui.text,ji("none"),Ui.textWrapper)},disabled:function(e){return Mt(_i||(_i=Nt(["\n ",";\n\n color: "," !important; // override root color\n\n &:hover {\n color: ",";\n }\n "])),"\n box-shadow: none;\n cursor: default;\n pointer-events: none;\n text-decoration: none;\n\n &:hover {\n text-decoration: none;\n }\n ",e.linkDisabledColor,e.linkDisabledColor)},disabledDark22Theme:function(e){return Mt(Ti||(Ti=Nt(["\n ."," {\n ","\n }\n "])),Ui.text,ji(e.linkLineHoverBorderBottomStyle))},icon:function(){return Mt(Oi||(Oi=Nt(["\n display: inline-block;\n "])))},iconLeft:function(e){return Mt(Ii||(Ii=Nt(["\n margin-right: ",";\n "])),e.linkIconMarginRight)},iconRight:function(e){return Mt(Mi||(Mi=Nt(["\n margin-left: ",";\n "])),e.linkIconMarginLeft)}}),$i=function(e){var n=e.icon,r=e.loading,o=e.hasBothIcons,i=e.position,a=(0,t.useContext)(K);return t.createElement("span",{className:Ot(Xi.icon(),"left"===i&&Xi.iconLeft(a),"right"===i&&Xi.iconRight(a))},r&&!o?t.createElement(Fn,{caption:null,dimmed:!0,inline:!0}):n)},Gi=["disabled","href","icon","rightIcon","use","loading","_button","_buttonOpened","rel","as","focused"],Vi=qt((Ri=Di=function(e){function n(){for(var r,i=arguments.length,a=new Array(i),l=0;l<i;l++)a[l]=arguments[l];return(r=e.call.apply(e,[this].concat(a))||this).getProps=(n.defaultProps,function(){return this.props}),r.state={focusedByTab:!1},r.renderMain=function(e){var n=e.disabled,i=e.href,a=e.icon,l=e.rightIcon,u=e.use,s=e.loading,c=e._button,f=e._buttonOpened,d=e.rel,p=e.as,h=e.focused,g=void 0!==h&&h,y=Yt(e,Gi),m=function(e){return e[z.theme2022.key]===z.theme2022.value}(r.theme),b=null;c&&(b=t.createElement("span",{className:Xi.arrow()}));var v,k=d;void 0===k&&i&&(k="noopener"+(v=i,(0,F.isBrowser)(F.globalObject)&&new RegExp("^(https?:)?//(?!"+F.globalObject.location.host+")\\S+","gi").test(v)?" noreferrer":""));var w,x,S=!n&&(r.state.focusedByTab||g),C=a&&t.createElement($i,{icon:a,loading:s,position:"left"}),P=l&&t.createElement($i,{hasBothIcons:!!a&&!!l,icon:l,loading:s,position:"right"}),B={className:Ot(Xi.useRoot(),"default"===u&&Xi.useDefault(r.theme),"success"===u&&Xi.useSuccess(r.theme),"danger"===u&&Xi.useDanger(r.theme),"grayed"===u&&Xi.useGrayed(r.theme),!!c&&Xi.button(r.theme),!!f&&Xi.buttonOpened(r.theme),r.getLinkClassName(S,Boolean(n||s),m)),href:i,rel:k,onClick:r.handleClick,onFocus:r.handleFocus,onBlur:r.handleBlur,tabIndex:n||s?-1:r.props.tabIndex},L=r.props.children;return m&&(L=t.createElement("span",{className:Ot(Ui.textWrapper,Xi.lineTextWrapper(r.theme),(w={},w[Xi.lineTextWrapperFocused(r.theme)]=S,w))},t.createElement("span",{className:Ot(Ui.text,(x={},x[Xi.lineText(r.theme)]=!te,x[Xi.lineTextIE11(r.theme)]=te,x))},r.props.children))),t.createElement(p,o({"data-tid":"Link__root"},y,B),C,L,P,b)},r.handleFocus=function(){r.props.disabled||null==F.globalObject.requestAnimationFrame||F.globalObject.requestAnimationFrame((function(){zi.isTabPressed&&r.setState({focusedByTab:!0})}))},r.handleBlur=function(){r.setState({focusedByTab:!1})},r.handleClick=function(e){var t=r.props,n=t.onClick,o=t.disabled,i=t.loading;r.getProps().href||e.preventDefault(),!n||o||i||n(e)},r}a(n,e);var r=n.prototype;return r.render=function(){var e=this;return t.createElement(an.Consumer,null,(function(n){return e.linkFocusOutline=An(n).linkFocusOutline,t.createElement(K.Consumer,null,(function(n){return e.theme=e.props.theme?V.create(e.props.theme,n):n,t.createElement(rn,o({rootNodeRef:e.setRootNode},e.getProps()),e.renderMain)}))}))},r.getLinkClassName=function(e,t,n){var r=this.getProps().use,o=e&&!t;return parseInt(this.theme.linkLineBorderBottomWidth)>0?Ot(Xi.lineRoot(),t&&Xi.disabled(this.theme),t&&n&&function(e){return e[z.darkTheme.key]===z.darkTheme.value}(this.theme)&&Xi.disabledDark22Theme(this.theme),o&&"default"===r&&Xi.lineFocus(this.theme),o&&"success"===r&&Xi.lineFocusSuccess(this.theme),o&&"danger"===r&&Xi.lineFocusDanger(this.theme),o&&"grayed"===r&&Xi.lineFocusGrayed(this.theme),o&&n&&this.linkFocusOutline&&Xi.focus2022(this.theme)):Ot(Xi.root(this.theme),o&&Xi.focus(this.theme),t&&Xi.disabled(this.theme),"grayed"===r&&e&&Xi.useGrayedFocus(this.theme))},n}(t.Component),Di.__KONTUR_REACT_UI__="Link",Di.displayName="Link",Di.propTypes={disabled:s().bool,href:s().string,icon:s().node,use:s().oneOf(["default","success","danger","grayed"])},Di.defaultProps={href:"",use:"default",as:"a"},Fi=Ri))||Fi;function qi(e){return qi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},qi(e)}function Ki(){Ki=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(e,t,n){e[t]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",l=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function s(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(e){s=function(e,t,n){return e[t]=n}}function c(e,t,n,r){var i=t&&t.prototype instanceof m?t:m,a=Object.create(i.prototype),l=new _(r||[]);return o(a,"_invoke",{value:B(e,n,l)}),a}function f(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=c;var d="suspendedStart",p="suspendedYield",h="executing",g="completed",y={};function m(){}function b(){}function v(){}var k={};s(k,a,(function(){return this}));var w=Object.getPrototypeOf,x=w&&w(w(T([])));x&&x!==n&&r.call(x,a)&&(k=x);var S=v.prototype=m.prototype=Object.create(k);function C(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function P(e,t){function n(o,i,a,l){var u=f(e[o],e,i);if("throw"!==u.type){var s=u.arg,c=s.value;return c&&"object"==qi(c)&&r.call(c,"__await")?t.resolve(c.__await).then((function(e){n("next",e,a,l)}),(function(e){n("throw",e,a,l)})):t.resolve(c).then((function(e){s.value=e,a(s)}),(function(e){return n("throw",e,a,l)}))}l(u.arg)}var i;o(this,"_invoke",{value:function(e,r){function o(){return new t((function(t,o){n(e,r,t,o)}))}return i=i?i.then(o,o):o()}})}function B(t,n,r){var o=d;return function(i,a){if(o===h)throw Error("Generator is already running");if(o===g){if("throw"===i)throw a;return{value:e,done:!0}}for(r.method=i,r.arg=a;;){var l=r.delegate;if(l){var u=L(l,r);if(u){if(u===y)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===d)throw o=g,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=h;var s=f(t,n,r);if("normal"===s.type){if(o=r.done?g:p,s.arg===y)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(o=g,r.method="throw",r.arg=s.arg)}}}function L(t,n){var r=n.method,o=t.iterator[r];if(o===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,L(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),y;var i=f(o,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,y;var a=i.arg;return a?a.done?(n[t.resultName]=a.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,y):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,y)}function E(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function _(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(E,this),this.reset(!0)}function T(t){if(t||""===t){var n=t[a];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function n(){for(;++o<t.length;)if(r.call(t,o))return n.value=t[o],n.done=!1,n;return n.value=e,n.done=!0,n};return i.next=i}}throw new TypeError(qi(t)+" is not iterable")}return b.prototype=v,o(S,"constructor",{value:v,configurable:!0}),o(v,"constructor",{value:b,configurable:!0}),b.displayName=s(v,u,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===b||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,s(e,u,"GeneratorFunction")),e.prototype=Object.create(S),e},t.awrap=function(e){return{__await:e}},C(P.prototype),s(P.prototype,l,(function(){return this})),t.AsyncIterator=P,t.async=function(e,n,r,o,i){void 0===i&&(i=Promise);var a=new P(c(e,n,r,o),i);return t.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},C(S),s(S,u,"Generator"),s(S,a,(function(){return this})),s(S,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=T,_.prototype={constructor:_,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(A),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function o(r,o){return l.type="throw",l.arg=t,n.next=r,o&&(n.method="next",n.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],l=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=r.call(a,"catchLoc"),s=r.call(a,"finallyLoc");if(u&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,y):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),y},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),A(n),y}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;A(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:T(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),y}},t}function Qi(e,t,n,r,o,i,a){try{var l=e[i](a),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,o)}function Ji(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Zi(r.key),r)}}function Zi(e){var t=function(e,t){if("object"!=qi(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!=qi(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==qi(t)?t:t+""}var ea=function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)},null,t=[{key:"getFileRaw",value:(n=Ki().mark((function e(){var t,n,r;return Ki().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,fetch("https://git.skbkontur.ru/api/v4/projects/13527/repository/files/tips-and-tricks.json/raw?ref=master",{headers:{"PRIVATE-TOKEN":"1HyDzbd2Mnx_cEByq4-h"}});case 2:if((t=e.sent).status>=200&&t.status<300){e.next=11;break}return e.next=6,t.text();case 6:n=e.sent;try{r=JSON.parse(n)}catch(e){r=void 0}if(null==r){e.next=10;break}throw new Error(r.Message||r.message||r.Error);case 10:throw new Error(n);case 11:return e.abrupt("return",t.json());case 12:case"end":return e.stop()}}),e)})),r=function(){var e=this,t=arguments;return new Promise((function(r,o){var i=n.apply(e,t);function a(e){Qi(i,r,o,a,l,"next",e)}function l(e){Qi(i,r,o,a,l,"throw",e)}a(void 0)}))},function(){return r.apply(this,arguments)})}],t&&Ji(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,n,r}(),ta=n(41),na=n.n(ta);function ra(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var oa=function(e){var t;return null!==(t=e[Math.floor(Math.random()*e.length)])&&void 0!==t?t:function(e){if(e instanceof Error)throw e;throw new Error("Undefined is not allowed")}()},ia={text:"Улыбнись!"};function aa(){var e,n,r=(e=t.useState(ia),n=2,function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,l=[],u=!0,s=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;u=!1}else for(;!(u=(r=i.call(n)).done)&&(l.push(r.value),l.length!==t);u=!0);}catch(e){s=!0,o=e}finally{try{if(!u&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(s)throw o}}return l}}(e,n)||function(e,t){if(e){if("string"==typeof e)return ra(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ra(e,t):void 0}}(e,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),o=r[0],i=r[1];return t.useEffect((function(){ea.getFileRaw().then((function(e){e.length>0&&i(oa(e))})).catch((function(){return i(ia)}))}),[]),t.createElement("div",{className:na()("container")},t.createElement("div",{className:na()("text-block")},o.link?t.createElement(Vi,{href:o.link},o.text):t.createElement(t.Fragment,null,o.text)),o.img&&t.createElement("img",{src:o.img,alt:o.text}))}var la=n(142),ua=n.n(la);function sa(e){return function(e){if(Array.isArray(e))return fa(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||ca(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ca(e,t){if(e){if("string"==typeof e)return fa(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?fa(e,t):void 0}}function fa(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function da(){var e,n,r=(e=t.useState([]),n=2,function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,l=[],u=!0,s=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;u=!1}else for(;!(u=(r=i.call(n)).done)&&(l.push(r.value),l.length!==t);u=!0);}catch(e){s=!0,o=e}finally{try{if(!u&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(s)throw o}}return l}}(e,n)||ca(e,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),o=r[0],i=r[1],a=t.useRef(pa);return t.useEffect((function(){var e=ai("localhost:9043",{transports:["websocket","polling"],path:"/build-info"});return e.on("message",(function(e){i((function(t){return[].concat(sa(t),sa(e.split("\n").filter((function(e){return""!==e}))))})),null!=a.current&&(a.current.scrollTop=a.current.scrollHeight)})),function(){e.disconnect()}}),[]),t.createElement("div",{className:ua()("root")},t.createElement(aa,null),t.createElement("div",{className:ua()("spinner-container")},t.createElement(Fn,{caption:"Сборка формы",type:"big"})),t.createElement("div",{className:ua()("logs-container"),ref:a},t.createElement("pre",null,t.createElement(Rn(),null,o.join("\n")))))}var pa=null,ha=n(353),ga=n.n(ha);function ya(e){return t.createElement("div",{className:ga()("root")},t.createElement("h3",null,"Failed to execute form start:"),t.createElement("pre",{className:ga()("error")},e.text))}function ma(e){return ma="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ma(e)}function ba(){ba=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(e,t,n){e[t]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",l=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function s(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(e){s=function(e,t,n){return e[t]=n}}function c(e,t,n,r){var i=t&&t.prototype instanceof m?t:m,a=Object.create(i.prototype),l=new _(r||[]);return o(a,"_invoke",{value:B(e,n,l)}),a}function f(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=c;var d="suspendedStart",p="suspendedYield",h="executing",g="completed",y={};function m(){}function b(){}function v(){}var k={};s(k,a,(function(){return this}));var w=Object.getPrototypeOf,x=w&&w(w(T([])));x&&x!==n&&r.call(x,a)&&(k=x);var S=v.prototype=m.prototype=Object.create(k);function C(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function P(e,t){function n(o,i,a,l){var u=f(e[o],e,i);if("throw"!==u.type){var s=u.arg,c=s.value;return c&&"object"==ma(c)&&r.call(c,"__await")?t.resolve(c.__await).then((function(e){n("next",e,a,l)}),(function(e){n("throw",e,a,l)})):t.resolve(c).then((function(e){s.value=e,a(s)}),(function(e){return n("throw",e,a,l)}))}l(u.arg)}var i;o(this,"_invoke",{value:function(e,r){function o(){return new t((function(t,o){n(e,r,t,o)}))}return i=i?i.then(o,o):o()}})}function B(t,n,r){var o=d;return function(i,a){if(o===h)throw Error("Generator is already running");if(o===g){if("throw"===i)throw a;return{value:e,done:!0}}for(r.method=i,r.arg=a;;){var l=r.delegate;if(l){var u=L(l,r);if(u){if(u===y)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===d)throw o=g,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=h;var s=f(t,n,r);if("normal"===s.type){if(o=r.done?g:p,s.arg===y)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(o=g,r.method="throw",r.arg=s.arg)}}}function L(t,n){var r=n.method,o=t.iterator[r];if(o===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,L(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),y;var i=f(o,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,y;var a=i.arg;return a?a.done?(n[t.resultName]=a.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,y):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,y)}function E(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function _(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(E,this),this.reset(!0)}function T(t){if(t||""===t){var n=t[a];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function n(){for(;++o<t.length;)if(r.call(t,o))return n.value=t[o],n.done=!1,n;return n.value=e,n.done=!0,n};return i.next=i}}throw new TypeError(ma(t)+" is not iterable")}return b.prototype=v,o(S,"constructor",{value:v,configurable:!0}),o(v,"constructor",{value:b,configurable:!0}),b.displayName=s(v,u,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===b||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,s(e,u,"GeneratorFunction")),e.prototype=Object.create(S),e},t.awrap=function(e){return{__await:e}},C(P.prototype),s(P.prototype,l,(function(){return this})),t.AsyncIterator=P,t.async=function(e,n,r,o,i){void 0===i&&(i=Promise);var a=new P(c(e,n,r,o),i);return t.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},C(S),s(S,u,"Generator"),s(S,a,(function(){return this})),s(S,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=T,_.prototype={constructor:_,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(A),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function o(r,o){return l.type="throw",l.arg=t,n.next=r,o&&(n.method="next",n.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],l=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=r.call(a,"catchLoc"),s=r.call(a,"finallyLoc");if(u&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,y):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),y},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),A(n),y}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;A(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:T(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),y}},t}function va(e,t,n,r,o,i,a){try{var l=e[i](a),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,o)}function ka(e){return"string"==typeof e?"false"!==e&&"true"===e:Boolean(e)}var wa={authorized:ka("{authorized}"),cauldronApiUrl:"{cauldronApiUrl}",abonId:"{abonId}",orgId:"{orgId}",userId:"{userId}",isTestServer:ka("{isTestServer}"),renderCachingForIE8:ka("{renderCachingForIE8}"),normalizationOnServer:ka("{normalizationOnServer}"),normativeUrl:"{normativeUrl}",konturDomains:"{konturDomains}",ndsPlusApiUrl:"{ndsPlusApiUrl}"},xa="{keformsUrl}",Sa="{staffServiceUrl}",Ca="{picklistApiUrl}",Pa="{nidusApiUrl}",Ba="{fsprinterApiUrl}",La="{contractorsApiUrl}";function Ea(e,t,n){var r=function(e){return"{".concat(e,"}")},o=e.toString(),i=o.indexOf("//# sourceMappingURL=client.js.map");return i>=0&&(o=o.substring(0,i),o+="\n//# sourceMappingURL=/static/public/scripts/client.js.map"),(o=(o=(o=(o=(o=(o=(o=(o=(o=(o=(o=(o=o.replace(r("keformsUrl"),t)).replace(r("konturDomains"),n.konturDomains)).replace(r("authorized"),n.authorized.toString())).replace(r("normalizationOnServer"),n.normalizationOnServer.toString())).replace(r("renderCachingForIE8"),n.renderCachingForIE8.toString())).replace(r("normativeUrl"),n.normativeUrl)).replace(r("staffServiceUrl"),Sa)).replace(r("picklistApiUrl"),Ca)).replace(r("nidusApiUrl"),Pa)).replace(r("fsprinterApiUrl"),Ba)).replace(r("contractorsApiUrl"),La)).replace(r("isTestServer"),n.isTestServer.toString())).replace(r("ndsPlusApiUrl"),n.ndsPlusApiUrl)}function Aa(e,t,n){return _a.apply(this,arguments)}function _a(){var e;return e=ba().mark((function e(n,o,i){var a,l,u,s,c,f,d;return ba().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=document.createElement("div"),document.body.appendChild(a),r.render(t.createElement(da,null),a),e.next=5,fetch(Ta("/static/public/scripts/client-original.js"),{method:"GET"});case 5:return l=e.sent,e.t0=Ea,e.next=9,l.text();case 9:e.t1=e.sent,e.t2=xa,e.t3=wa,u=(0,e.t0)(e.t1,e.t2,e.t3),(s=document.createElement("script")).type="text/javascript",s.text="try {\n"+u+"\n} catch(e) { window.CF.loadError = e; console.error(window.loadError); }",document.head.appendChild(s),window.CF.start==Aa?r.render(t.createElement(ya,{text:"".concat(null!==(c=window.CF.loadError)&&void 0!==c?c:"")}),a):(f="string"==typeof n?document.querySelector(n):n,d=setInterval((function(){(null==f||(null==f?void 0:f.children.length)>0)&&(clearInterval(d),r.unmountComponentAtNode(a))}),100),window.CF.start(n,o,(function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];null==i||i.apply(void 0,t)})));case 18:case"end":return e.stop()}}),e)})),_a=function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){va(i,r,o,a,l,"next",e)}function l(e){va(i,r,o,a,l,"throw",e)}a(void 0)}))},_a.apply(this,arguments)}function Ta(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",r=null!==(e=n.g.CF.keformsUrl)&&void 0!==e?e:"";return"".concat(r,"/").concat(t).replace(/([^:])\/{2,}/g,"$1/")}window.CF={start:Aa,entryPoint:{},partialRenderingForIE8:ka("{partialRenderingForIE8}"),keformsUrl:"{keformsUrl}",staffServiceUrl:"{staffServiceUrl}",picklistUrl:"{picklistApiUrl}",nidusUrl:"{nidusApiUrl}",fsPrinterUrl:"{fsprinterApiUrl}",contractorsApiUrl:"{contractorsApiUrl}"}}()}();