/*! For license information please see captcha_smart.f077a5de5fff8bc90b0f.js.LICENSE.txt */ !function(){var e={19465:function(e,t){"use strict";function r(e){function t(t,i,o,a){var s=i?r+t+e.e+i:r+t,u=s;if(o){var c=" "+u+e.m;for(var l in o)if(o.hasOwnProperty(l)){var f=o[l];!0===f?u+=c+l:f&&(u+=c+l+n+f)}}if(void 0!==a)for(var d=0,p=a.length;d

0&&(r+=" "),r+=a)}return r}},47939:function(e,t,r){"use strict";e.exports=r(68013)},9759:function(e,t,r){"use strict";function n(e,t,r){var n,i,o,c=function(c){var l,f;return n=n||s.cn(e),i=i||n(),a.forwardRef((function(e,s){var d=(o=o||Object.keys(t)).every((function(r){var n=t[r],i=e[r];return n===i||"*"===n&&Boolean(i)})),p=Object.assign({},e,{ref:s});if(d){var h=o.reduce((function(e,r){return"*"!==t[r]&&(e[r]=t[r]),e}),{});return f=f||n(h),p.className=u.classnames(f,e.className).replace(i+" ",""),"function"==typeof r?void 0===l&&(l=r(c)):l=c,a.createElement(l,p)}return a.createElement(c,p)}))},l=r||{},f=l.__passToProps,d=void 0===f||f,p=l.__simple,h=void 0!==p&&p,v=Object.keys(t),m=v[0],g=t[v[0]];return(c.__isSimple=!r&&1===v.length||h)&&(c.__blockName=e,c.__mod=m,c.__value=g,c.__passToProps=d),c}function i(e){for(var t={},r={},n=s.cn(e[0].__blockName),i=0,o=e;is.right||s.left>a.right)&&!(a.top>s.bottom||s.top>a.bottom)}function l(e){var t=e.getAttribute("type");return"INPUT"===e.tagName&&("checkbox"===t||"radio"===t)}function f(e){var t=e.key,r=e.target,n=r.getAttribute("role"),i="A"===r.tagName&&r.hasAttribute("href"),o=r.getAttribute("contenteditable");return!((l(r)||"Enter"!==t)&&" "!==t&&"Spacebar"!==t||"true"===o||i&&("button"!==n||"Enter"===t)||"link"===n&&"Enter"!==t)}var d="idle",p="";function h(){return document.documentElement.style.userSelect||document.documentElement.style.webkitUserSelect}function v(e){document.documentElement.style.userSelect=e,document.documentElement.style.webkitUserSelect=e}function m(){"disabled"===d&&(d="restoring",setTimeout((function(){requestAnimationFrame((function(){"restoring"===d&&("none"===h()&&v(p),p="",d="idle")}))}),300))}function g(e,t){for(var r=e.changedTouches,n=0;n0?t[0]:null}(r.nativeEvent);!s||e.isPressed||i||(t||a(r.currentTarget),E(r.currentTarget,s.identifier),n(u(r,r.currentTarget,"touch")),o(document,"touchmove",O,!1),o(document,"touchend",P,!1),o(document,"touchcancel",A,!1))}}return r}),[o,t,s]);return(0,n.useEffect)((function(){return m}),[]),{isPressed:b,pressProps:E}}function b(){for(var e=[],t=0;t=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.resolveI18nLang=t.getI18nLang=t.setI18nLang=t.i18nRaw=void 0;var o=i(r(76102)),a=i(r(98053)),s=i(r(78111)),u=i(r(64207)),c=i(r(19552)),l=i(r(22503)),f=i(r(63037)),d=i(r(10452)),p=i(r(10965)),h=i(r(51459)),v=i(r(32164)),m=i(r(99709)),g=i(r(45764)),y=i(r(90995)),b=i(r(61650)),_=i(r(54752)),w=i(r(48926)),S=i(r(63142)),E=i(r(4880)),x=i(r(43254)),C=i(r(56863)),k=i(r(15545)),T=i(r(66282)),O=i(r(78510)),P=i(r(8062)),A=i(r(68092)),M=i(r(10978)),j={be:o.default,en:a.default,id:s.default,kk:u.default,ru:c.default,tr:l.default,tt:f.default,uk:d.default,uz:p.default,de:h.default,es:v.default,hy:m.default,ka:g.default,ky:y.default,sr:b.default,fr:_.default,lv:w.default,lt:S.default,ro:E.default,fi:x.default,az:C.default,zh:k.default,he:T.default,et:O.default,no:P.default,sv:A.default,pt:M.default},R=["ru"];function L(e){return-1===["tr","id","fi","lt","pl","et","lv"].indexOf(e)?"ru":"en"}function I(e,t){for(var r=[],n=e.length,i=0;i1&&r<5&&(n<10||n>20)?t.some:t.many||"":t.none||""}},90995:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=n(r(19552));t.default=i.default},63142:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=n(r(19552));t.default=i.default},48926:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=n(r(19552));t.default=i.default},8062:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=n(r(78111));t.default=i.default},10978:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=n(r(98053));t.default=i.default},4880:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=n(r(19552));t.default=i.default},19552:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var r=e%10,n=e%100;return e?1===r&&11!==n?t.one:r>=2&&r<=4&&12!==n&&13!==n&&14!==n?t.some:t.many||"":t.none||""}},61650:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=n(r(19552));t.default=i.default},68092:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=n(r(78111));t.default=i.default},22503:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var r=e%10,n=e%100;return e?1===r&&11!==n?t.one:r>1&&r<5&&(n<10||n>20)?t.some:t.many||"":t.none||""}},63037:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var r=e%10,n=e%100;return e?1===r&&11!==n?t.one:r>1&&r<5&&(n<10||n>20)?t.some:t.many||"":t.none||""}},10452:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=n(r(19552));t.default=i.default},10965:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var r=e%10,n=e%100;return e?1===r&&11!==n?t.one:r>1&&r<5&&(n<10||n>20)?t.some:t.many||"":t.none||""}},15545:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=n(r(98053));t.default=i.default},64691:function(e,t,r){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},n(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),o=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&o(t,e,r);return a(t,e),t},u=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},c=this&&this.__spread||function(){for(var e=[],t=0;tV&&(V=Y,H=q,e.emit({metricName:"cls-debug",value:V,params:{clsEntries:H,target:te(H)}}))}function te(e){var t;if(!e)return null;var r=null;if((t=e.reduce((function(e,t){return e&&e.value>t.value?e:t})))&&t.sources&&t.sources.length){for(var n=0;n":t.replace(/\?.*$/,""):t}function ye(t,r,n){if(me()){var i=e.getTime(),o="undefined"!=typeof PerformanceLongAnimationFrameTiming&&e.getSetting("sendLongAnimationFrames");be((function(a){var u,c={2796.2797:_e(he(),r),689.2322:s(i)};if(o){var l=function(e){var t=ve();if(t)return e?t.filter((function(t){return t.startTime+t.duration>=e})):t}(r);l&&(c["loaf.2797"]=_e(l,void 0,{useName:!1}),1===e.getSetting("longAnimationFramesMode")&&(c["-additional"]=encodeURIComponent(JSON.stringify({loaf:(u=l,u.map(we))}))))}n&&Object.keys(n).forEach((function(e){c[e]=n[e]})),C(t||"2795",a,!0,c,{force:Boolean(o)}),e._tti.fired=!0}),r)}}function be(t,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=n.mode,a=void 0===o?1:o;function s(){var n,o=r,u=e.getTime(),c=1===a?he():ve()||[],l=c.length;0!==l&&(n=c[l-1],o=Math.max(o,Math.floor(n.startTime+n.duration))),u-o>=3e3?t(o):i(s,1e3)}me()&&(r||(r=e.getTime()),s())}function _e(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=r.useName,i=void 0===n||n;return t=t||0,(e=e||[]).filter((function(e){return t-e.startTime<=50})).map((function(e){var t=Math.floor(e.startTime),r=Math.floor(t+e.duration);return i?(e.name?e.name.split("-").map((function(e){return e[0]})).join(""):"u")+"-"+t+"-"+r:t+"-"+r})).join(".")}function we(e){var t=e.blockingDuration,r=e.duration,n=e.firstUIEventTimestamp,i=e.renderStart,o=e.scripts,a=e.startTime,s=e.styleAndLayoutStart;return[Math.round(a),Math.round(r),o.map(Se),Math.round(t),Math.round(n),Math.round(i),Math.round(s)]}function Se(e){var t=e.invoker,r=e.sourceURL,n=e.sourceFunctionName,i=e.sourceCharPosition,o=e.startTime,a=e.duration,s=e.windowAttribution,u=e.executionStart,c=e.forcedStyleAndLayoutDuration,l=e.pauseDuration;return[ge(t),ge(r),n,i,Math.round(o),Math.round(a),s,Math.round(u),Math.round(c),Math.round(l)]}var Ee=document.createElement("a"),xe=0,Ce={};function ke(){if(window.PerformanceObserver){Ce={},xe=0;var e=function(e){!function(e){if(!e||!e.length)return;for(var t=Ce,r=0;r=t)return!1;for(var r=Object.keys(Ce),n="",i=0;i1)){var m=this.getLineHeight();"number"==typeof m&&(p.maxHeight=f*m+"px")}return i.default.createElement(a,n.__assign({ref:this.setTextElement.bind(this),style:p,className:t.cnText({color:h,align:u,overflow:c},[s])},v))},r.displayName=t.cnText(),r}(i.PureComponent);t.Text=s},90267:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),r(70655).__exportStar(r(6296),t)},66790:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.withTypographyControlL=void 0,r(96823);var n=r(87756),i=r(6296);t.withTypographyControlL=n.withBemMod(i.cnText(),{typography:"control-l"})},92174:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.withTypographyControlS=void 0,r(16582);var n=r(87756),i=r(6296);t.withTypographyControlS=n.withBemMod(i.cnText(),{typography:"control-s"})},53717:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.withTypographyControlXXL=void 0,r(73102);var n=r(87756),i=r(6296);t.withTypographyControlXXL=n.withBemMod(i.cnText(),{typography:"control-xxl"})},44807:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.withWeightRegular=void 0;var n=r(70655);r(79383);var i=r(87756),o=n.__importDefault(r(63804)),a=r(6296);t.withWeightRegular=i.withBemMod(a.cnText(),{weight:"regular"},(function(e){return function(t){t.weight;var r=n.__rest(t,["weight"]);return o.default.createElement(e,n.__assign({},r))}}))},41325:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TextinputBox=void 0;var n=r(70655),i=n.__importDefault(r(63804)),o=r(60860);r(33287);t.TextinputBox=function(e){var t=e.className,r=n.__rest(e,["className"]);return i.default.createElement("span",n.__assign({},r,{className:o.cnTextinput("Box",null,[t])}))}},18269:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TextinputClear=void 0;var n=r(70655),i=n.__importDefault(r(63804)),o=r(12818),a=r(87756),s=r(63671),u=r(21556),c=r(86976),l=r(7645),f=r(60860);r(69561);var d=a.compose(l.withGlyphXSign,a.composeU(u.withTypeCross,c.withTypeCrossWebsearch))(s.Icon);t.TextinputClear=function(e){var t=e.visible,r=e.className,a=e.theme,s=e.view,u=e.icon,c=n.__rest(e,["visible","className","theme","view","icon"]),l=o.useComponentRegistry(f.cnTextinput()).Icon,p={className:f.cnTextinput("Clear",{visible:t},[r])},h=u?i.default.cloneElement(u,p):i.default.createElement(d,n.__assign({},function(e,t){return"default"===t?{glyph:"x-sign"}:"websearch"===e?{type:"cross-websearch"}:{type:"cross"}}(a,s),p));return i.default.createElement(l,n.__assign({},c,{component:h}))}},62909:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TextinputControl=void 0;var n=r(70655),i=n.__importDefault(r(63804)),o=r(60860);r(98692);t.TextinputControl=function(e){var t=e.autoComplete,r=void 0===t?"off":t,a=e.autoFocus,s=e.className,u=e.controlRef,c=e.defaultValue,l=e.disabled,f=e.id,d=e.inputMode,p=e.max,h=e.maxLength,v=e.min,m=e.name,g=e.onBlur,y=e.onChange,b=e.onFocus,_=e.onKeyDown,w=e.onKeyPress,S=e.onKeyUp,E=e.pattern,x=e.placeholder,C=e.readOnly,k=e.required,T=e.tabIndex,O=e.type,P=e.value,A=n.__rest(e,["autoComplete","autoFocus","className","controlRef","defaultValue","disabled","id","inputMode","max","maxLength","min","name","onBlur","onChange","onFocus","onKeyDown","onKeyPress","onKeyUp","pattern","placeholder","readOnly","required","tabIndex","type","value"]);return i.default.createElement("input",n.__assign({},A,{autoComplete:r,autoFocus:a,className:o.cnTextinput("Control",null,[s]),defaultValue:c,disabled:l,id:f,inputMode:d,max:p,maxLength:h,min:v,name:m,onBlur:g,onChange:y,onFocus:b,onKeyDown:_,onKeyPress:w,onKeyUp:S,pattern:E,placeholder:x,readOnly:C,ref:u,required:k,tabIndex:T,type:O,value:P}))}},88278:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TextinputHint=void 0;var n=r(70655).__importDefault(r(63804)),i=r(60860);r(16351);t.TextinputHint=function(e){var t=e.leave,r=e.onAnimationEnd,o=e.children,a=e.id;return n.default.createElement("span",{className:i.cnTextinput("Hint",{leave:t}),onAnimationEnd:r,id:a},o)}},76760:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TextinputIcon=void 0;var n=r(70655),i=r(63804),o=r(60860);r(15216),r(8821),r(74475);t.TextinputIcon=function(e){var t=e.component,r=e.side,a=n.__rest(e,["component","side"]);return i.cloneElement(t,n.__assign(n.__assign({},a),{className:o.cnTextinput("Icon",{side:r},[t.props.className])}))}},60860:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Textinput=t.cnTextinput=void 0;var n=r(70655),i=n.__importDefault(r(63804)),o=r(12818),a=r(81504),s=r(81677),u=r(85982),c=r(25937),l=r(64308);r(82676),t.cnTextinput=a.cn("Textinput");var f=function(e){var r=e.addonAfter,a=e.addonBefore,l=e.className,f=e.disabled,d=e.focused,p=e.iconLeft,h=e.iconRight,v=e.innerRef,m=e.onMouseEnter,g=e.onMouseLeave,y=e.style,b=(e.pressed,e.view,e.pin,e.size,e.theme,e.hint),_=e.state,w=e.title,S=e.renderControl,E=n.__rest(e,["addonAfter","addonBefore","className","disabled","focused","iconLeft","iconRight","innerRef","onMouseEnter","onMouseLeave","style","pressed","view","pin","size","theme","hint","state","title","renderControl"]),x=o.useComponentRegistry(t.cnTextinput()),C=x.Control,k=x.Box,T=x.Icon,O=x.Hint,P=s.useRenderOverride(C,S),A=u.useUniqId("hint"),M=c.useTextFieldHint({hint:b}),j=M.hint,R=M.hintProps;return i.default.createElement("span",{className:t.cnTextinput({disabled:f,focused:d,iconRight:void 0!==h,iconLeft:void 0!==p,state:_},[l]),onMouseEnter:m,onMouseLeave:g,ref:v,style:y,title:w},a,p&&i.default.createElement(T,{side:"left",component:p}),h&&i.default.createElement(T,{side:"right",component:h}),i.default.createElement(P,n.__assign({},E,{"aria-invalid":"error"===_,disabled:f,"aria-describedby":j?A:void 0})),i.default.createElement(k,null),r,j&&i.default.createElement(O,n.__assign({},R,{id:A}),j))};f.displayName=t.cnTextinput(),t.Textinput=l.withControl(f)},50326:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.textinputRegistry=void 0;var n=r(12818),i=r(60860),o=r(62909),a=r(41325),s=r(76760),u=r(88278);t.textinputRegistry=new n.Registry({id:i.cnTextinput()}),t.textinputRegistry.set("Control",o.TextinputControl).set("Box",a.TextinputBox).set("Icon",s.TextinputIcon).set("Hint",u.TextinputHint)},44860:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Textinput=void 0;var n=r(70655),i=n.__importDefault(r(63804)),o=r(87756),a=r(12818),s=r(69063),u=r(95833),c=r(60860),l=r(50326);n.__exportStar(r(60860),t),t.Textinput=o.compose(a.withRegistry(l.textinputRegistry),s.withControl,u.withAutoFocus)((function(e){var t=e.className,r=e.hovered,o=n.__rest(e,["className","hovered"]);return i.default.createElement(c.Textinput,n.__assign({},o,{className:c.cnTextinput({hovered:r},[t])}))}))},67376:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.withHasClear=void 0;var n=r(70655),i=n.__importStar(r(63804)),o=r(87756),a=r(12818),s=r(83934),u=r(60860);t.withHasClear=o.withBemMod(u.cnTextinput(),{hasClear:!0},(function(e){return function(t){function r(){var e=null!==t&&t.apply(this,arguments)||this;return e.controlRef=i.createRef(),e.onMouseDown=function(e){e.preventDefault()},e.onClick=function(t){if(null!==e.controlRef.current&&!t.isDefaultPrevented()&&(e.controlRef.current.focus(),void 0!==e.props.onChange)){var r=e.controlRef.current.value,n=Object.create(t);n.target=e.controlRef.current,n.currentTarget=e.controlRef.current,e.controlRef.current.value="",e.props.onChange(n),e.controlRef.current.value=r}void 0!==e.props.onClearClick&&e.props.onClearClick(t)},e}return n.__extends(r,t),r.prototype.render=function(){var t=this,r=this.props,o=r.addonBefore,c=(r.onClearClick,r.hasClear,r.controlRef),l=(r.clearIcon,n.__rest(r,["addonBefore","onClearClick","hasClear","controlRef","clearIcon"]));return i.default.createElement(a.ComponentRegistryConsumer,{id:u.cnTextinput()},(function(r){var a=r.Clear;return i.default.createElement(e,n.__assign({},l,{controlRef:s.mergeAllRefs(t.controlRef,c),addonBefore:i.default.createElement(i.default.Fragment,null,i.default.createElement(a,{onClick:t.onClick,onMouseDown:t.onMouseDown,size:t.props.size,theme:t.props.theme,view:t.props.view,icon:t.props.clearIcon,visible:Boolean(t.props.value)}),o)}))}))},r}(i.PureComponent)}))},67979:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.textinputRegistry=void 0;var n=r(18269),i=r(50326);t.textinputRegistry=i.textinputRegistry.set("Clear",n.TextinputClear)},97464:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.withHasClear=void 0;var n=r(70655),i=r(87756),o=r(12818),a=r(67979),s=r(67376);n.__exportStar(r(67376),t),t.withHasClear=i.compose(o.withRegistry(a.textinputRegistry),s.withHasClear)},94292:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.withSizeM=void 0;var n=r(87756),i=r(60860);r(66956),t.withSizeM=n.withBemMod(i.cnTextinput(),{size:"m"})},93260:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.theme=void 0,r(62781),r(7181),t.theme={color:"yandex-default",root:"default"}},70490:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TooltipBackdrop=void 0;var n=r(70655).__importDefault(r(63804)),i=r(8668);r(13275);t.TooltipBackdrop=function(e){var t=e.children;return n.default.createElement("div",{className:i.cnTooltip("Backdrop")},t)}},8668:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Tooltip=t.cnTooltip=void 0;var n=r(70655).__importDefault(r(63804)),i=r(81504),o=r(12818),a=r(70490);r(88251),t.cnTooltip=i.cn("Tooltip");t.Tooltip=function(e){var r=e.anchor,i=e.boundary,s=e.children,u=e.className,c=e.direction,l=e.hasTail,f=e.id,d=e.innerRef,p=e.keepMounted,h=e.mainOffset,v=e.modifiers,m=e.disableOverlay,g=e.onClick,y=e.onClose,b=e.scope,_=e.secondaryOffset,w=e.state,S=e.tailOffset,E=e.viewportOffset,x=e.visible,C=e.zIndex,k=l?0:4,T=o.useComponentRegistry(t.cnTooltip()).Popup;return n.default.createElement(T,{anchor:r,boundary:i,className:t.cnTooltip({visible:x,state:w},[u]),direction:c,disableOverlay:m,hasTail:l,innerRef:d,keepMounted:p,mainOffset:h||k,modifiers:v,onClick:g,onClose:y,scope:b,secondaryOffset:_,tailOffset:S,target:"anchor",unstable_onRenderTail:function(e){return n.default.createElement(a.TooltipBackdrop,null,l&&e)},view:"default",viewportOffset:E,visible:x,zIndex:C},n.default.createElement("div",{role:"tooltip",id:f,className:t.cnTooltip("Content")},s))},t.Tooltip.displayName="Tooltip"},81239:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.withSizeS=void 0;var n=r(87756),i=r(8668);r(21965),t.withSizeS=n.withBemMod(i.cnTooltip(),{size:"s"})},87956:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.withViewDefault=void 0;var n=r(87756),i=r(8668);r(45735),t.withViewDefault=n.withBemMod(i.cnTooltip(),{view:"default"})},11668:function(e,t,r){"use strict";r.r(t),r.d(t,{Drawer:function(){return $},withViewDefault:function(){return X}});var n,i=r(12818),o=r(70655),a=r(63804),s=r.n(a),u=r(23413),c=r(50394);function l(){return"undefined"!=typeof window&&window.navigator&&(/iP(ad|hone|od)/.test(window.navigator.platform)||"MacIntel"===window.navigator.platform&&window.navigator.maxTouchPoints>1)}function f(e,t){var r={};for(var n in t)t.hasOwnProperty(n)&&(r[n]=e.style[n]);for(var n in t)t.hasOwnProperty(n)&&(e.style[n]=t[n]);return r}function d(e){var t=getComputedStyle(e);return/(auto|scroll)/.test(t.overflow+t.overflowX+t.overflowY)}function p(e){return e===document.body||e===document.documentElement}var h="__scrollLockState$"+Math.random().toString(36).slice(2);function v(e){return e[h]}function m(e){var t=p(e)&&window.innerWidth-document.documentElement.clientWidth>0,r=e.scrollHeight>e.clientHeight;return t||r||function(e){var t=getComputedStyle(e).overflowY;return/scroll/.test(t)}(e)?function(){if("undefined"==typeof document)return 0;if(void 0===n){var e=document.createElement("div");e.style.width="100%",e.style.height="200px";var t=document.createElement("div");t.style.position="absolute",t.style.top="0",t.style.left="0",t.style.pointerEvents="none",t.style.visibility="hidden",t.style.width="200px",t.style.height="150px",t.style.overflow="hidden",t.appendChild(e),document.body.appendChild(t);var r=e.offsetWidth;t.style.overflow="scroll";var i=e.offsetWidth;r===i&&(i=t.clientWidth),document.body.removeChild(t),n=r-i}return n}():0}function g(e){var t=v(e);if(t)t.count++;else{var r=m(e);!function(e,t){e[h]=t}(e,{initialStyle:f(e,{paddingRight:parseInt(getComputedStyle(e).getPropertyValue("padding-right"),10)+r+"px",overflow:"hidden",overflowX:"hidden",overflowY:"hidden"}),count:1})}}function y(e){var t=v(e);t&&(t.count--,0===t.count&&(f(e,t.initialStyle),delete e[h]))}var b=function(){var e=!1;if(!(0,c.N)())return!1;try{var t=function(){return null},r={get passive(){e=!0}};window.addEventListener("testPassive",t,r),window.removeEventListener("testPassive",t)}catch(e){}return e}()?{passive:!1}:void 0,_={count:0,lastX:0,lastY:0,scrollable:null,scrollX:0,scrollY:0};function w(e){if(1===e.changedTouches.length){if(_.scrollable=function(e){for(;e&&!d(e);)e=e.parentElement;return e||document.documentElement}(e.target),p(_.scrollable))return;_.lastX=e.changedTouches[0].pageX,_.lastY=e.changedTouches[0].pageY}}function S(e){var t=_.scrollable,r=_.lastX,n=_.lastY;if(!(e.changedTouches.length>1))if(t&&!p(t)){var i=e.changedTouches[0].pageX,o=e.changedTouches[0].pageY,a=Math.abs(n-o)>Math.abs(r-i),s=t.scrollTop,u=t.scrollHeight-t.clientHeight,c=t.scrollLeft,l=t.scrollWidth-t.clientWidth;(a&&(s<=0&&o>n||s>=u&&or||c>=l&&i=.1?v>0?V():g(1):h/p>=.3?V():g(1);if(h>0){m(!0);var y=Math.max(0,1-h/p);return 0===y?V():g(y)}}}},B=(0,a.useRef)(),U=(0,a.useRef)(),F=(0,a.useRef)(),z=(0,a.useCallback)((function(e){if(e.currentTarget.contains(e.target)){var t=F.current||T,r=U.current,n=Array.from(e.changedTouches).find((function(e){return e.identifier===B.current}));r||"touchstart"!==e.type||1!==e.changedTouches.length||(n=e.changedTouches[0],B.current=n.identifier,U.current=r={first:!0,last:!1,startTime:e.timeStamp,initialPosition:{x:n.clientX,y:n.clientY},data:{}}),r&&n&&(r.event=e,"touchmove"===e.type&&(r.first=!1,r.previousPosition=r.currentPosition),"touchstart"!==e.type&&"touchmove"!==e.type||(r.currentPosition={x:n.clientX,y:n.clientY},r.movement={x:r.currentPosition.x-r.initialPosition.x,y:r.currentPosition.y-r.initialPosition.y},r.delta={x:r.currentPosition.x-(r.previousPosition||r.initialPosition).x,y:r.currentPosition.y-(r.previousPosition||r.initialPosition).y},r.velocity={x:r.delta.x/(e.timeStamp-r.startTime-r.elapsedTime)||0,y:r.delta.y/(e.timeStamp-r.startTime-r.elapsedTime)||0},r.elapsedTime=e.timeStamp-r.startTime),"touchend"!==e.type&&"touchcancel"!==e.type||(r.first=!1,r.last=!0,U.current=void 0,B.current=void 0),t(r))}}),[]),F.current=M,{dragProps:{onTouchStart:z,onTouchMove:z,onTouchEnd:z,onTouchCancel:z}}).dragProps;return s().createElement("div",(0,o.__assign)({className:N},H),s().createElement("div",{className:j,style:{opacity:k},onClick:function(){return V()}}),s().createElement("div",{className:D,style:A,ref:P,tabIndex:-1,role:"dialog","aria-modal":1===l},s().createElement("div",{className:I,style:{opacity:k}}),h&&s().createElement("div",{className:L},h),s().createElement("div",{className:R,ref:_},v)))},U={dragImmediate:!1,disabled:!1,tension:230,friction:24},F=function(e){var t=(0,i.useComponentRegistry)(M()).Popup,r=e.onOpenEnd,n=void 0===r?T:r,l=e.className,f=e.visible,d=e.nested,p=e.direction,h=void 0===p?"bottom":p,v=e.innerRef,m=e.preventScrollDisabled,g=e.preventScrollOnClose,y=e.animation,b=void 0===y?U:y,_=e.ariaHidden,w=(0,o.__read)((0,a.useState)(0),2),S=w[0],E=w[1],x=(0,o.__read)((0,a.useState)(!1),2),A=x[0],j=x[1],R=b.dragImmediate&&A||b.disabled,L=function(e,t,r,n){var i=(0,o.__read)((0,a.useState)(null),2),s=i[0],u=i[1],c=(0,o.__read)((0,a.useState)(e),2),l=c[0],f=c[1],d=(0,a.useMemo)((function(){return{onSpringUpdate:function(e){var t=e.getCurrentValue();f(t)}}}),[]),p=(0,a.useCallback)((function(){s&&(s.removeListener(d),u(null))}),[s,d]);return(0,a.useEffect)((function(){if(n)p();else if(!s){var i=(new O.SpringSystem).createSpring(t,r);i.setCurrentValue(e),u(i),f(e),i.addListener(d)}return p}),[t,r,n,s,d,p]),(0,a.useEffect)((function(){s&&s.setEndValue(e)}),[s,e]),n?e:l}(S,b.tension,b.friction,R),I=L>0;(0,a.useEffect)((function(){1===L&&n()}),[L]);var D,N,F,z,V,H=function(){var e=(0,o.__read)((0,a.useState)((0,c.N)()?P():void 0),2),t=e[0],r=e[1],n=(0,a.useCallback)((function(){return r(P())}),[]);return(0,u.L)((function(){return window.addEventListener("resize",n),function(){window.removeEventListener("resize",n)}}),[n]),t}(),q=(0,a.useMemo)((function(){return{height:H&&H+"px"}}),[H]),Y=s().useMemo((function(){return!m&&(g?I:f)}),[m,g,I,f]);return N=(D={enabled:Y}).enabled,F=D.containerRef,z=(0,a.useRef)(null),V=(0,a.useRef)(!1),(0,u.L)((function(){var e=F?F.current:null;z.current!==e&&(N&&V.current&&(k(z.current),C(e)),z.current=e)})),(0,u.L)((function(){if(N)return V.current=!0,C(z.current),function(){V.current=!1,k(z.current)}}),[N]),(0,a.useEffect)((function(){j(!1),E(f?1:0)}),[f,b]),s().createElement(t,{className:M({visible:I,direction:h,nested:d},[l]),visible:I,innerRef:v,style:q,keepMounted:e.keepMounted,zIndex:e.zIndex,scope:e.scope,"aria-hidden":_},s().createElement(B,(0,o.__assign)({},e,{springValue:L,setProgress:E,setSpringDisabled:j})))};F.displayName=M();var z=r(87973),V=r(22893),H=r(59368),q=(0,A.cn)("Popup2"),Y=function(e){var t=e.addonAfter,r=e.addonBefore,n=e.children,u=e.className,c=e.direction,l=e.hasTail,f=e.innerRef,d=e.keepMounted,p=e.scope,h=e.style,v=e.tailRef,m=e.tailSize,g=e.visible,y=e.zIndex,b=e.disableOverlay,_=e.unstable_onRenderTail,w=e.onClose,S=e.unstable_essentialRefs,E=void 0===S?[]:S,x=e.onClick,C=(e.theme,e.view,e.nonvisual,(0,o.__rest)(e,["addonAfter","addonBefore","children","className","direction","hasTail","innerRef","keepMounted","scope","style","tailRef","tailSize","visible","zIndex","disableOverlay","unstable_onRenderTail","onClose","unstable_essentialRefs","onClick","theme","view","nonvisual"])),k=(0,a.useRef)(null),T=(0,i.useComponentRegistry)(q()).Tail;return(0,H.I)({onClose:w,visible:!b&&g,essentialRefs:(0,o.__spread)([k],E)}),s().createElement(V.h,{scope:p,visible:g,keepMounted:d},s().createElement("div",(0,o.__assign)({},C,{className:q({visible:g},[u]),"data-popper-placement":c,onClick:x,ref:(0,z.c)(k,f),style:(0,o.__assign)((0,o.__assign)({},h),{zIndex:y})}),r,"function"==typeof n?n({tailRef:v}):n,t,_&&_(s().createElement(T,{ref:v,style:{height:m,width:m}})),!_&&l&&s().createElement(T,{ref:v,style:{height:m,width:m}})))};Y.displayName=q();var K=(0,a.forwardRef)((function(e,t){var r=e.className,n=(0,o.__rest)(e,["className"]);return s().createElement("div",(0,o.__assign)({},n,{ref:t,className:q("Tail",null,[r])}),s().createElement("svg",{viewBox:"0 0 24 24",className:q("TailSvg")},s().createElement("path",{className:q("TailFill"),d:"M12 16C15 16 18 24 24 24H0C6 24 9 16 12 16Z",fill:"none"}),s().createElement("path",{className:q("TailBorder"),d:"M8.05888 18.9807C6.77697 20.3966 5.32977 21.9951 3.57172 23H0C2.53449 23 4.52121 21.3153 6.39546 19.3161C6.68742 19.0046 6.98315 18.6782 7.27806 18.3526L7.27807 18.3526C7.87384 17.6949 8.46631 17.0408 9.01776 16.5218C9.82327 15.7637 10.827 15 12 15C13.173 15 14.1767 15.7637 14.9822 16.5218C15.5337 17.0408 16.1262 17.6949 16.7219 18.3526L16.7219 18.3526L16.7222 18.3529C17.017 18.6783 17.3127 19.0047 17.6045 19.3161C19.4788 21.3153 21.4655 23 24 23H20.4283C18.6702 21.9951 17.223 20.3966 15.9411 18.9807C14.4853 17.3726 13.2426 16 12 16C10.7574 16 9.51472 17.3726 8.05888 18.9807Z",fill:"none"})))})),G=new i.Registry({id:q()});G.set("Tail",K);var J=(0,i.withRegistry)(G)(Y),W=new i.Registry({id:M()});W.set("Popup",J);var $=(0,i.withRegistry)(W)(F),X=(0,r(87756).withBemMod)(M(),{view:"default"})},22893:function(e,t,r){"use strict";r.d(t,{h:function(){return u}});var n=r(70655),i=r(63804),o=r(27196),a=(0,r(50394).N)(),s=a?document.body:null,u=function(e){var t=e.visible,r=e.keepMounted,u=void 0===r||r,c=e.children,l=e.scope,f=(0,n.__read)((0,i.useState)(s),2),d=f[0],p=f[1],h="inplace"===l,v=(0,i.useRef)(!1);return(0,i.useEffect)((function(){"object"==typeof l&&p(l.current)}),[l]),t&&(v.current=!0),a&&(t||u&&v.current)||!a&&t?h?c:d?(0,o.createPortal)(c,d):null:null}},49925:function(e,t,r){"use strict";r.r(t),r.d(t,{Portal:function(){return n.h}});var n=r(22893)},235:function(e,t,r){"use strict";r.r(t),r.d(t,{cnTheme:function(){return o},configureRootTheme:function(){return s}});var n=r(81504),i=r(50394),o=(0,n.cn)("Theme"),a="",s=function(e){var t=e.theme,r=e.root,n=void 0===r?(0,i.N)()?document.body:null:r;if((0,i.N)()){if(!n)throw new Error("Значение в root не является DOM-элементом, невозможно установить глобальную тему.");var s=n.className.replace(a,"");a=o(t),n.className=s+" "+a}}},50394:function(e,t,r){"use strict";r.d(t,{N:function(){return n}});var n=function(){return"undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement}},81677:function(e,t,r){"use strict";r.r(t),r.d(t,{MultiRenderOverrideProvider:function(){return u},RenderOverrideProvider:function(){return s},useRenderOverride:function(){return a}});var n=r(70655),i=r(63804),o=r(23413);function a(e,t){var r,a,s=(0,i.useRef)((r=[e,t],a={state:r,setState:function(e){a.state=e,a.setters.forEach((function(e){return e(a.state)}))},setters:[]},function(){var e=(0,n.__read)((0,i.useState)(a.state),2),t=e[0],r=e[1];return(0,i.useEffect)((function(){return function(){a.setters=a.setters.filter((function(e){return e!==r}))}}),[]),(0,o.L)((function(){-1===a.setters.indexOf(r)&&a.setters.push(r)})),[t,a.setState]})).current,u=(0,n.__read)(s(),2)[1],c=(0,i.useRef)((function(e){var t=(0,n.__read)(s(),1)[0],r=(0,n.__read)(t||[],2),o=r[0],a=r[1];return void 0===t||void 0===a?(0,i.createElement)(o,e):a(e,o)})).current;return(0,i.useEffect)((function(){u([e,t])}),[u,e,t]),c}var s=function(e){return(0,e.children)(a(e.component,e.render))};s.displayName="RenderOverrideProvider";var u=function(e){var t=e.children,r=e.components.map((function(e){var t=(0,n.__read)(e,2);return a(t[0],t[1])}));return t.apply(void 0,(0,n.__spread)(r))};u.displayName="MultiRenderOverrideProvider"},21797:function(e,t,r){"use strict";r.r(t);var n=r(50394),i=function(){function e(){var e=this;this.onKeyDown=function(){window.clearTimeout(e.timeoutId),e.isPointer=!1},this.onPointerCall=function(){e.isPointer=!0,window.clearTimeout(e.timeoutId),e.timeoutId=window.setTimeout((function(){e.isPointer=!1}),600)},this.onFocus=function(){var t=window.document.body.classList;e.isPointer?(t.add("pointerfocus"),t.remove("utilityfocus")):(t.add("utilityfocus"),t.remove("pointerfocus"))},this.onBlur=function(){window.addEventListener("focus",e.setIsPointerOnTabFocus,!0)},this.setIsPointerOnTabFocus=function(){window.removeEventListener("focus",e.setIsPointerOnTabFocus,!0),window.document.body&&window.document.body.classList.contains("pointerfocus")&&(e.isPointer=!0,window.setTimeout((function(){e.isPointer=!1})))},this.timeoutId=0,this.isPointer=!1,window.addEventListener("blur",this.onBlur,!1);var t=window.document;t.addEventListener("keydown",this.onKeyDown,!0),t.addEventListener("mousedown",this.onPointerCall,!0),t.addEventListener("mouseup",this.onPointerCall,!0),t.addEventListener("focusin",this.onFocus,!0),t.addEventListener("pointerdown",this.onPointerCall,!0),t.addEventListener("pointerup",this.onPointerCall,!0),t.body.classList.contains("pointerfocus")||t.documentElement.classList.contains("pointerfocus")||t.body.classList.add("utilityfocus")}return e.create=function(){return new e},e.prototype.dispose=function(){window.removeEventListener("blur",this.onBlur,!1);var e=window.document;e.removeEventListener("keydown",this.onKeyDown,!0),e.removeEventListener("mousedown",this.onPointerCall,!0),e.removeEventListener("mouseup",this.onPointerCall,!0),e.removeEventListener("focusin",this.onFocus,!0),e.removeEventListener("pointerdown",this.onPointerCall,!0),e.removeEventListener("pointerup",this.onPointerCall,!0),e.body.classList.remove("pointerfocus","utilityfocus")},e}(),o=null,a=!1;function s(){a||o||(o=i.create())}(0,n.N)()&&("loading"===document.readyState?document.addEventListener("DOMContentLoaded",s):window.setTimeout(s))},24989:function(e,t,r){"use strict";r.r(t),r.d(t,{useForkRef:function(){return n.c}});var n=r(87973)},87973:function(e,t,r){"use strict";r.d(t,{c:function(){return i}});var n=r(63804);function i(e,t){return(0,n.useMemo)((function(){return e||t?function(r){e&&o(e,r),t&&o(t,r)}:null}),[e,t])}function o(e,t){"function"==typeof e?e(t):e&&(e.current=t)}},23413:function(e,t,r){"use strict";r.d(t,{L:function(){return o}});var n=r(63804),i=r(50394);function o(e,t){return(0,i.N)()?(0,n.useLayoutEffect)(e,t):(0,n.useEffect)(e,t)}},30542:function(e,t,r){"use strict";r.d(t,{a:function(){return n}});var n=function(){function e(){this.overlays=[],this.eventTarget=null,this.onDocumentKeyUp=this.onDocumentKeyUp.bind(this),this.onDocumentMouseDown=this.onDocumentMouseDown.bind(this),this.onDocumentClick=this.onDocumentClick.bind(this)}return e.getInstance=function(){return this.instance||(this.instance=new e),this.instance},e.prototype.count=function(){return this.overlays.length},e.prototype.addOverlay=function(e){0===this.overlays.length&&this.attachEvents(),this.overlays.push(e)},e.prototype.removeOverlay=function(e){this.overlays.splice(this.overlays.indexOf(e),1),0===this.overlays.length&&this.detachEvents()},e.prototype.getTopOverlayOptions=function(){return this.overlays[this.overlays.length-1]},e.prototype.isEssentionalClick=function(e,t){return e.some((function(e){return e.current instanceof HTMLElement&&e.current.contains(t)}))},e.prototype.handleClose=function(e,t,r){var n=this.getTopOverlayOptions();!n||!n.onClose||r&&r!==n.closeStrategy||"click"===t&&this.isEssentionalClick(n.refs,e.target)||n.onClose(e,t)},e.prototype.onDocumentKeyUp=function(e){var t=e.key;"Escape"!==t&&"Esc"!==t||this.handleClose(e,"esc")},e.prototype.onDocumentMouseDown=function(e){this.eventTarget=e.target,this.activeOverlay=this.getTopOverlayOptions(),this.handleClose(e,"click","pressdown")},e.prototype.onDocumentClick=function(e){var t=this.eventTarget;this.eventTarget=null;var r=this.activeOverlay;this.activeOverlay=null,e.button>0||r===this.getTopOverlayOptions()&&t===e.target&&this.handleClose(e,"click","pressup")},e.prototype.attachEvents=function(){document.addEventListener("keyup",this.onDocumentKeyUp),document.addEventListener("mousedown",this.onDocumentMouseDown,!0),document.addEventListener("click",this.onDocumentClick,!0)},e.prototype.detachEvents=function(){document.removeEventListener("keyup",this.onDocumentKeyUp),document.removeEventListener("mousedown",this.onDocumentMouseDown,!0),document.removeEventListener("click",this.onDocumentClick,!0)},e}()},84971:function(e,t,r){"use strict";r.r(t),r.d(t,{useOverlay:function(){return n.I},OverlayManager:function(){return i.a}});var n=r(59368),i=r(30542)},59368:function(e,t,r){"use strict";r.d(t,{I:function(){return o}});var n=r(63804),i=r(30542);function o(e){var t=e.visible,r=e.onClose,o=e.essentialRefs,a=e.unsafe_strategy,s=void 0===a?"pressdown":a,u=(0,n.useRef)({onClose:r,refs:o,closeStrategy:s});(0,n.useEffect)((function(){u.current.onClose!==r&&(u.current.onClose=r),u.current.refs!==o&&(u.current.refs=o)}),[r,o]),(0,n.useEffect)((function(){if(t){var e=u.current,r=i.a.getInstance();return r.addOverlay(e),function(){r.removeOverlay(e)}}}),[t])}},46380:function(e,t,r){"use strict";r.r(t),r.d(t,{applyMaxHeight:function(){return Ee},applyMinWidth:function(){return Se},directions:function(){return ce},usePopper:function(){return be},useVirtualElementRef:function(){return we}});var n=r(70655),i=r(63804);function o(e,t){if(e===t)return!0;if(e&&t&&"object"==typeof e&&"object"==typeof t){if(e.constructor!==t.constructor)return!1;var r,n,i=void 0;if(Array.isArray(e)){if((r=e.length)!==t.length)return!1;for(i=r;0!=i--;)if(!o(e[i],t[i]))return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===t.toString();if((r=(n=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(i=r;0!=i--;)if(!Object.prototype.hasOwnProperty.call(t,n[i]))return!1;if("undefined"!=typeof Element&&e instanceof Element)return!1;for(i=r;0!=i--;)if(("_owner"!==n[i]&&"__v"!==n[i]&&"__o"!==n[i]||!e.$$typeof)&&!o(e[n[i]],t[n[i]]))return!1;return!0}return e!=e&&t!=t}var a=r(23413);function s(e){var t=e.getBoundingClientRect();return{width:t.width,height:t.height,top:t.top,right:t.right,bottom:t.bottom,left:t.left,x:t.left,y:t.top}}function u(e){if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function c(e){var t=u(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function l(e){return e instanceof u(e).Element||e instanceof Element}function f(e){return e instanceof u(e).HTMLElement||e instanceof HTMLElement}function d(e){return e?(e.nodeName||"").toLowerCase():null}function p(e){return((l(e)?e.ownerDocument:e.document)||window.document).documentElement}function h(e){return s(p(e)).left+c(e).scrollLeft}function v(e){return u(e).getComputedStyle(e)}function m(e){var t=v(e),r=t.overflow,n=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+i+n)}function g(e,t,r){void 0===r&&(r=!1);var n,i,o=p(t),a=s(e),l=f(t),v={scrollLeft:0,scrollTop:0},g={x:0,y:0};return(l||!l&&!r)&&(("body"!==d(t)||m(o))&&(v=(n=t)!==u(n)&&f(n)?{scrollLeft:(i=n).scrollLeft,scrollTop:i.scrollTop}:c(n)),f(t)?((g=s(t)).x+=t.clientLeft,g.y+=t.clientTop):o&&(g.x=h(o))),{x:a.left+v.scrollLeft-g.x,y:a.top+v.scrollTop-g.y,width:a.width,height:a.height}}function y(e){return{x:e.offsetLeft,y:e.offsetTop,width:e.offsetWidth,height:e.offsetHeight}}function b(e){return"html"===d(e)?e:e.assignedSlot||e.parentNode||e.host||p(e)}function _(e){return["html","body","#document"].indexOf(d(e))>=0?e.ownerDocument.body:f(e)&&m(e)?e:_(b(e))}function w(e,t){void 0===t&&(t=[]);var r=_(e),n="body"===d(r),i=u(r),o=n?[i].concat(i.visualViewport||[],m(r)?r:[]):r,a=t.concat(o);return n?a:a.concat(w(b(o)))}function S(e){return["table","td","th"].indexOf(d(e))>=0}function E(e){if(!f(e)||"fixed"===v(e).position)return null;var t=e.offsetParent;if(t){var r=p(t);if("body"===d(t)&&"static"===v(t).position&&"static"!==v(r).position)return r}return t}function x(e){for(var t=u(e),r=E(e);r&&S(r)&&"static"===v(r).position;)r=E(r);return r&&"body"===d(r)&&"static"===v(r).position?t:r||function(e){for(var t=b(e);f(t)&&["html","body"].indexOf(d(t))<0;){var r=v(t);if("none"!==r.transform||"none"!==r.perspective||r.willChange&&"auto"!==r.willChange)return t;t=t.parentNode}return null}(e)||t}var C="top",k="bottom",T="right",O="left",P="auto",A=[C,k,T,O],M="start",j="end",R="viewport",L="popper",I=A.reduce((function(e,t){return e.concat([t+"-"+M,t+"-"+j])}),[]),D=[].concat(A,[P]).reduce((function(e,t){return e.concat([t,t+"-"+M,t+"-"+j])}),[]),N=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function B(e){var t=new Map,r=new Set,n=[];function i(e){r.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!r.has(e)){var n=t.get(e);n&&i(n)}})),n.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){r.has(e.name)||i(e)})),n}var U={placement:"bottom",modifiers:[],strategy:"absolute"};function F(){for(var e=arguments.length,t=new Array(e),r=0;r=0?"x":"y"}function Y(e,t,r){return Math.max(e,Math.min(t,r))}function K(e){return Object.assign(Object.assign({},{top:0,right:0,bottom:0,left:0}),e)}function G(e,t){return t.reduce((function(t,r){return t[r]=e,t}),{})}var J={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,r=e.state,n=e.name,i=r.elements.arrow,o=r.modifiersData.popperOffsets,a=V(r.placement),s=q(a),u=[O,T].indexOf(a)>=0?"height":"width";if(i&&o){var c=r.modifiersData[n+"#persistent"].padding,l=y(i),f="y"===s?C:O,d="y"===s?k:T,p=r.rects.reference[u]+r.rects.reference[s]-o[s]-r.rects.popper[u],h=o[s]-r.rects.reference[s],v=x(i),m=v?"y"===s?v.clientHeight||0:v.clientWidth||0:0,g=p/2-h/2,b=c[f],_=m-l[u]-c[d],w=m/2-l[u]/2+g,S=Y(b,w,_),E=s;r.modifiersData[n]=((t={})[E]=S,t.centerOffset=S-w,t)}},effect:function(e){var t=e.state,r=e.options,n=e.name,i=r.element,o=void 0===i?"[data-popper-arrow]":i,a=r.padding,s=void 0===a?0:a;null!=o&&("string"!=typeof o||(o=t.elements.popper.querySelector(o)))&&H(t.elements.popper,o)&&(t.elements.arrow=o,t.modifiersData[n+"#persistent"]={padding:K("number"!=typeof s?s:G(s,A))})},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},W={top:"auto",right:"auto",bottom:"auto",left:"auto"};function $(e){var t,r=e.popper,n=e.popperRect,i=e.placement,o=e.offsets,a=e.position,s=e.gpuAcceleration,c=e.adaptive,l=function(e){var t=e.x,r=e.y,n=window.devicePixelRatio||1;return{x:Math.round(t*n)/n||0,y:Math.round(r*n)/n||0}}(o),f=l.x,d=l.y,h=o.hasOwnProperty("x"),v=o.hasOwnProperty("y"),m=O,g=C,y=window;if(c){var b=x(r);b===u(r)&&(b=p(r)),i===C&&(g=k,d-=b.clientHeight-n.height,d*=s?1:-1),i===O&&(m=T,f-=b.clientWidth-n.width,f*=s?1:-1)}var _,w=Object.assign({position:a},c&&W);return s?Object.assign(Object.assign({},w),{},((_={})[g]=v?"0":"",_[m]=h?"0":"",_.transform=(y.devicePixelRatio||1)<2?"translate("+f+"px, "+d+"px)":"translate3d("+f+"px, "+d+"px, 0)",_)):Object.assign(Object.assign({},w),{},((t={})[g]=v?d+"px":"",t[m]=h?f+"px":"",t.transform="",t))}var X={passive:!0};var Z={left:"right",right:"left",bottom:"top",top:"bottom"};function Q(e){return e.replace(/left|right|bottom|top/g,(function(e){return Z[e]}))}var ee={start:"end",end:"start"};function te(e){return e.replace(/start|end/g,(function(e){return ee[e]}))}function re(e){return Object.assign(Object.assign({},e),{},{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function ne(e,t){return t===R?re(function(e){var t=u(e),r=p(e),n=t.visualViewport,i=r.clientWidth,o=r.clientHeight,a=0,s=0;return n&&(i=n.width,o=n.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(a=n.offsetLeft,s=n.offsetTop)),{width:i,height:o,x:a+h(e),y:s}}(e)):f(t)?function(e){var t=s(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}(t):re(function(e){var t=p(e),r=c(e),n=e.ownerDocument.body,i=Math.max(t.scrollWidth,t.clientWidth,n?n.scrollWidth:0,n?n.clientWidth:0),o=Math.max(t.scrollHeight,t.clientHeight,n?n.scrollHeight:0,n?n.clientHeight:0),a=-r.scrollLeft+h(e),s=-r.scrollTop;return"rtl"===v(n||t).direction&&(a+=Math.max(t.clientWidth,n?n.clientWidth:0)-i),{width:i,height:o,x:a,y:s}}(p(e)))}function ie(e,t,r){var n="clippingParents"===t?function(e){var t=w(b(e)),r=["absolute","fixed"].indexOf(v(e).position)>=0&&f(e)?x(e):e;return l(r)?t.filter((function(e){return l(e)&&H(e,r)&&"body"!==d(e)})):[]}(e):[].concat(t),i=[].concat(n,[r]),o=i[0],a=i.reduce((function(t,r){var n=ne(e,r);return t.top=Math.max(n.top,t.top),t.right=Math.min(n.right,t.right),t.bottom=Math.min(n.bottom,t.bottom),t.left=Math.max(n.left,t.left),t}),ne(e,o));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function oe(e){return e.split("-")[1]}function ae(e){var t,r=e.reference,n=e.element,i=e.placement,o=i?V(i):null,a=i?oe(i):null,s=r.x+r.width/2-n.width/2,u=r.y+r.height/2-n.height/2;switch(o){case C:t={x:s,y:r.y-n.height};break;case k:t={x:s,y:r.y+r.height};break;case T:t={x:r.x+r.width,y:u};break;case O:t={x:r.x-n.width,y:u};break;default:t={x:r.x,y:r.y}}var c=o?q(o):null;if(null!=c){var l="y"===c?"height":"width";switch(a){case M:t[c]=Math.floor(t[c])-Math.floor(r[l]/2-n[l]/2);break;case j:t[c]=Math.floor(t[c])+Math.ceil(r[l]/2-n[l]/2)}}return t}function se(e,t){void 0===t&&(t={});var r=t,n=r.placement,i=void 0===n?e.placement:n,o=r.boundary,a=void 0===o?"clippingParents":o,u=r.rootBoundary,c=void 0===u?R:u,f=r.elementContext,d=void 0===f?L:f,h=r.altBoundary,v=void 0!==h&&h,m=r.padding,g=void 0===m?0:m,y=K("number"!=typeof g?g:G(g,A)),b=d===L?"reference":L,_=e.elements.reference,w=e.rects.popper,S=e.elements[v?b:d],E=ie(l(S)?S:S.contextElement||p(e.elements.popper),a,c),x=s(_),O=ae({reference:x,element:w,strategy:"absolute",placement:i}),P=re(Object.assign(Object.assign({},w),O)),M=d===L?P:x,j={top:E.top-M.top+y.top,bottom:M.bottom-E.bottom+y.bottom,left:E.left-M.left+y.left,right:M.right-E.right+y.right},I=e.modifiersData.offset;if(d===L&&I){var D=I[i];Object.keys(j).forEach((function(e){var t=[T,k].indexOf(e)>=0?1:-1,r=[C,k].indexOf(e)>=0?"y":"x";j[e]+=D[r]*t}))}return j}var ue={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,r=e.options,n=e.name,i=r.mainAxis,o=void 0===i||i,a=r.altAxis,s=void 0!==a&&a,u=r.boundary,c=r.rootBoundary,l=r.altBoundary,f=r.padding,d=r.tether,p=void 0===d||d,h=r.tetherOffset,v=void 0===h?0:h,m=se(t,{boundary:u,rootBoundary:c,padding:f,altBoundary:l}),g=V(t.placement),b=oe(t.placement),_=!b,w=q(g),S="x"===w?"y":"x",E=t.modifiersData.popperOffsets,P=t.rects.reference,A=t.rects.popper,j="function"==typeof v?v(Object.assign(Object.assign({},t.rects),{},{placement:t.placement})):v,R={x:0,y:0};if(E){if(o){var L="y"===w?C:O,I="y"===w?k:T,D="y"===w?"height":"width",N=E[w],B=E[w]+m[L],U=E[w]-m[I],F=p?-A[D]/2:0,z=b===M?P[D]:A[D],H=b===M?-A[D]:-P[D],K=t.elements.arrow,G=p&&K?y(K):{width:0,height:0},J=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},W=J[L],$=J[I],X=Y(0,P[D],G[D]),Z=_?P[D]/2-F-X-W-j:z-X-W-j,Q=_?-P[D]/2+F+X+$+j:H+X+$+j,ee=t.elements.arrow&&x(t.elements.arrow),te=ee?"y"===w?ee.clientTop||0:ee.clientLeft||0:0,re=t.modifiersData.offset?t.modifiersData.offset[t.placement][w]:0,ne=E[w]+Z-re-te,ie=E[w]+Q-re,ae=Y(p?Math.min(B,ne):B,N,p?Math.max(U,ie):U);E[w]=ae,R[w]=ae-N}if(s){var ue="x"===w?C:O,ce="x"===w?k:T,le=E[S],fe=Y(le+m[ue],le,le-m[ce]);E[S]=fe,R[S]=fe-le}t.modifiersData[n]=R}},requiresIfExists:["offset"]};var ce=["top-start","top","top-end","bottom-start","bottom","bottom-end","right-start","right","right-end","left-start","left","left-end"],le="top",fe="left",de="right",pe="bottom";function he(e,t){var r=function(e){return e.split("-")[0]}(e),n=[fe,le].indexOf(r)>=0?-1:1,i=t[0]||0,o=(t[1]||0)*n;return[fe,de].indexOf(r)>=0?{x:o,y:i}:{x:i,y:o}}var ve={name:"patchScaleFactor",enabled:!0,fn:function(e){var t,r=e.state,i=e.instance;i.__patchCounter=null!==(t=i.__patchCounter)&&void 0!==t?t:0;var o=r.elements.reference,a=i.__patchCounter;if(a>2)return;if(!(o instanceof HTMLElement))return;var s=(0,n.__read)(function(e){var t=window.getComputedStyle(e),r=t.transform||t.webkitTransform,n=r.indexOf("3d")>=0?"3d":"2d",i=r.match(/matrix.*\((.+)\)/);if("2d"===n&&null!==i){var o=i[1].split(", ");return[Number(o[0]),Number(o[3])]}return[1,1]}(o),2),u=s[0],c=s[1];if(1===a&&(1!==u||1!==c)){var l=r.rects.reference,f=l.width,d=l.height,p=Number((f/u).toFixed(2)),h=Number((d/c).toFixed(2)),v=(p-f)/2,m=(h-d)/2;r.rects.reference={x:Math.round(r.rects.reference.x-v),y:Math.round(r.rects.reference.y-m),width:p,height:h}}i.__patchCounter++},phase:"beforeRead",requires:["popperOffsets"]};function me(e,t,r){return void 0===r&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function ge(e){return[le,de,pe,fe].some((function(t){return e[t]>=0}))}var ye=z({defaultModifiers:[{name:"applyStyles",enabled:!0,fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var r=t.styles[e]||{},n=t.attributes[e]||{},i=t.elements[e];i instanceof HTMLElement&&(Object.assign(i.style,r),Object.keys(n).forEach((function(e){var t=n[e];!1===t?i.removeAttribute(e):i.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,r={position:t.options.strategy,left:0,top:0,right:"auto",bottom:"auto",margin:0};Object.assign(t.elements.popper.style,r)},phase:"write",requires:["computeStyles"]},J,{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,r=e.options,n=r.gpuAcceleration,i=void 0===n||n,o=r.adaptive,a=void 0===o||o,s={placement:V(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign(Object.assign({},t.styles.popper),$(Object.assign(Object.assign({},s),{},{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign(Object.assign({},t.styles.arrow),$(Object.assign(Object.assign({},s),{},{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1})))),t.attributes.popper=Object.assign(Object.assign({},t.attributes.popper),{},{"data-popper-placement":t.placement})},data:{}},{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,r=e.instance,n=e.options,i=n.scroll,o=void 0===i||i,a=n.resize,s=void 0===a||a,c=u(t.elements.popper),l=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&l.forEach((function(e){e.addEventListener("scroll",r.update,X)})),s&&c.addEventListener("resize",r.update,X),function(){o&&l.forEach((function(e){e.removeEventListener("scroll",r.update,X)})),s&&c.removeEventListener("resize",r.update,X)}},data:{}},{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,r=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var i=r.mainAxis,o=void 0===i||i,a=r.altAxis,s=void 0===a||a,u=r.fallbackPlacements,c=r.padding,l=r.boundary,f=r.rootBoundary,d=r.altBoundary,p=r.flipVariations,h=void 0===p||p,v=r.allowedAutoPlacements,m=t.options.placement,g=V(m),y=u||(g===m||!h?[Q(m)]:function(e){if(V(e)===P)return[];var t=Q(e);return[te(e),t,te(t)]}(m)),b=[m].concat(y).reduce((function(e,r){return e.concat(V(r)===P?function(e,t){void 0===t&&(t={});var r=t,n=r.placement,i=r.boundary,o=r.rootBoundary,a=r.padding,s=r.flipVariations,u=r.allowedAutoPlacements,c=void 0===u?D:u,l=oe(n),f=l?s?I:I.filter((function(e){return oe(e)===l})):A,d=f.filter((function(e){return c.indexOf(e)>=0}));0===d.length&&(d=f);var p=d.reduce((function(t,r){return t[r]=se(e,{placement:r,boundary:i,rootBoundary:o,padding:a})[V(r)],t}),{});return Object.keys(p).sort((function(e,t){return p[e]-p[t]}))}(t,{placement:r,boundary:l,rootBoundary:f,padding:c,flipVariations:h,allowedAutoPlacements:v}):r)}),[]),_=t.rects.reference,w=t.rects.popper,S=new Map,E=!0,x=b[0],j=0;j=0,U=B?"width":"height",F=se(t,{placement:R,boundary:l,rootBoundary:f,altBoundary:d,padding:c}),z=B?N?T:O:N?k:C;_[U]>w[U]&&(z=Q(z));var H=Q(z),q=[];if(o&&q.push(F[L]<=0),s&&q.push(F[z]<=0,F[H]<=0),q.every((function(e){return e}))){x=R,E=!1;break}S.set(R,q)}if(E)for(var Y=function(e){var t=b.find((function(t){var r=S.get(t);if(r)return r.slice(0,e).every((function(e){return e}))}));if(t)return x=t,"break"},K=h?3:1;K>0;K--){if("break"===Y(K))break}t.placement!==x&&(t.modifiersData[n]._skip=!0,t.placement=x,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,r=e.name,i=e.options.boundary,o=t.rects.reference,a=t.rects.popper,s=t.modifiersData.preventOverflow,u=se(t,{elementContext:"reference",boundary:i}),c=se(t,{altBoundary:!0,boundary:i}),l=me(u,o),f=me(c,a,s),d=ge(l),p=ge(f);t.modifiersData[r]={referenceClippingOffsets:l,popperEscapeOffsets:f,isReferenceHidden:d,hasPopperEscaped:p},t.attributes.popper=(0,n.__assign)((0,n.__assign)({},t.attributes.popper),{"data-popper-reference-hidden":d,"data-popper-escaped":p})}},{name:"offset",enabled:!0,fn:function(e){var t=e.state,r=e.options,n=r.offset,i=void 0===n?[0,0]:n,o=r.tailOffset;t.modifiersData.arrow&&o&&(t.modifiersData.arrow.x&&(t.modifiersData.arrow.x+=o),t.modifiersData.arrow.y&&(t.modifiersData.arrow.y+=o));if(t.modifiersData.popperOffsets&&t.elements.arrow){var a=(l=t.elements.arrow,{x:l.offsetLeft,y:l.offsetTop,width:l.offsetWidth,height:l.offsetHeight}).width,s=he(t.placement,[0,a/2]),u=s.x,c=s.y;t.modifiersData.popperOffsets.x+=u,t.modifiersData.popperOffsets.y+=c}var l;var f=ce.reduce((function(e,t){return e[t]=he(t,i),e}),{}),d=f[t.placement],p=d.x,h=d.y;t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x=Math.round(t.modifiersData.popperOffsets.x+p),t.modifiersData.popperOffsets.y=Math.round(t.modifiersData.popperOffsets.y+h));t.modifiersData.offset=f},phase:"main",requires:["popperOffsets"]},ve,{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,r=e.name;t.modifiersData[r]=ae({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},ue]});function be(e){var t=e.anchorRef,r=e.arrowMarginThreshold,s=void 0===r?4:r,u=e.placement,c=void 0===u?"bottom":u,l=e.enabled,f=void 0===l||l,d=e.marginThreshold,p=void 0===d?16:d,h=e.modifiers,v=void 0===h?[]:h,m=e.motionless,g=e.offset,y=e.unsafe_tailOffset,b=e.children,_=e.boundary,w=Array.isArray(c)?c:[c],S=(0,i.useRef)(null),E=(0,i.useRef)(null),x=(0,n.__read)((0,i.useState)(null),2),C=x[0],k=x[1],T=(0,n.__read)((0,i.useState)(null),2),O=T[0],P=T[1],A=(0,i.useMemo)((function(){var e=(0,n.__read)(w),t=e[0],r=e.slice(1),i=function(e){var t=(Array.isArray(e)?e:[e]).reduce((function(e,t){return t&&t.current&&e.push(t.current),e}),[]);return t.length?t:void 0}(_),a={children:b,placement:t,modifiers:(0,n.__spread)([{name:"eventListeners",enabled:!m},{name:"offset",options:{offset:g,tailOffset:y}},{name:"computeStyles",options:{gpuAcceleration:!1}},{name:"preventOverflow",options:{altBoundary:!0,boundary:i}},{name:"arrow",enabled:Boolean(O),options:{element:O,padding:s}},{name:"flip",options:{padding:p,fallbackPlacements:r,altBoundary:!0,boundary:i}},{name:"hide",options:{boundary:i}}],v)};return o(E.current,a)?E.current||a:E.current=a}),[w,g,O,s,m,p,y,v,b,_]);return(0,a.L)((function(){null!==S.current&&S.current.setOptions(A)}),[A]),(0,a.L)((function(){return t.current&&C&&f&&(S.current=ye(t.current,C,A),S.current.forceUpdate()),function(){null!==S.current&&(S.current.destroy(),S.current=null)}}),[t,C,f]),{popper:S.current,setArrowRef:P,setPopupRef:k}}var _e={top:0,right:0,bottom:0,left:0};function we(e){void 0===e&&(e={});var t=e.rect,r=e.contextElement,n=(0,i.useRef)(_e),o=(0,i.useRef)({contextElement:r,getBoundingClientRect:function(){var e=n.current,t=e.top,r=e.right,i=e.bottom,o=e.left;return{top:t,right:r,bottom:i,left:o,width:r-o,height:i-t}}});if(o.current.contextElement=r,t){var a=t.top,s=void 0===a?0:a,u=t.left,c=void 0===u?0:u,l=t.right,f=void 0===l?c:l,d=t.bottom,p=void 0===d?s:d;n.current={top:s,right:f,bottom:p,left:c}}else n.current=_e;return o}var Se={name:"applyMinWidth",enabled:!0,fn:function(e){var t=e.state;t.styles.popper.minWidth=t.rects.reference.width+"px"},effect:function(e){var t=e.state;t.elements.reference instanceof HTMLElement&&(t.elements.popper.style.minWidth=t.elements.reference.offsetWidth+"px")},phase:"beforeWrite",requires:["computeStyles"]};var Ee={name:"applyMaxHeight",enabled:!0,fn:function(e){var t=e.state,r=e.options,i=r.maxHeight,o=r.padding,a=se(t,{padding:void 0===o?16:o}),s=(t.modifiersData.preventOverflow||{y:0}).y,u=t.rects.popper.height,c=(0,n.__read)(t.placement.split("-"),1)[0],l=u-a["top"===c?"top":"bottom"]-s,f=i?Math.min(l-s,i):l;t.styles.popper=(0,n.__assign)((0,n.__assign)({},t.styles.popper),{maxHeight:f+"px"})},phase:"main",requires:["computeStyles"]}},25937:function(e,t,r){"use strict";r.r(t),r.d(t,{useTextFieldHint:function(){return o}});var n=r(70655),i=r(63804);function o(e){var t,r,o,a,s=e.hint,u=(0,n.__read)((0,i.useState)(s),2),c=u[0],l=u[1],f=(0,n.__read)((0,i.useState)(!1),2),d=f[0],p=f[1],h=(0,i.useRef)(s);return t=function(){s&&l(s),p(Boolean(h.current&&!s)),h.current=s},r=[s],o=(0,i.useRef)(!0),(a=(0,i.useRef)(t)).current=t,(0,i.useEffect)((function(){if(!o.current)return a.current();o.current=!1}),r),{hint:c,hintProps:{leave:d,onAnimationEnd:(0,i.useCallback)((function(){s||(l(""),p(!1))}),[s])}}}},85982:function(e,t,r){"use strict";r.r(t),r.d(t,{useUniqId:function(){return s}});var n=r(70655),i=r(63804),o="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement,a=r(1271);function s(e){var t=function(e){var t=(0,i.useContext)(a.qh),r=(0,n.__read)((0,i.useState)((function(){return"xuniq-"+t.id+"-"+ ++t.value})),1)[0];return console.assert(o||t!==a.HZ,"When using ssr in a project, you must wrap the application in for id synchronization between the server and the client."),e||r}();return(0,n.__read)((0,i.useState)((function(){return e?e+t.replace("xuniq",""):t})),1)[0]}},71797:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.canUseDOM=void 0;t.canUseDOM=function(){return"undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement}},29067:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getDisplayName=void 0,t.getDisplayName=function(e){return e.displayName||e.name||"Component"}},83934:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mergeAllRefs=t.mergeRefs=void 0;var n=r(71797);t.mergeRefs=function(e){for(var t=[],r=1;r0?f-4:f;for(e=0;e>16&255,h[a++]=r>>8&255,h[a++]=255&r;2===u&&(r=n[t.charCodeAt(e)]<<2|n[t.charCodeAt(e+1)]>>4,h[a++]=255&r);1===u&&(r=n[t.charCodeAt(e)]<<10|n[t.charCodeAt(e+1)]<<4|n[t.charCodeAt(e+2)]>>2,h[a++]=r>>8&255,h[a++]=255&r);return h},r.fromByteArray=function(t){for(var r,n=t.length,o=n%3,i=[],f=16383,u=0,s=n-o;us?s:u+f));1===o?(r=t[n-1],i.push(e[r>>2]+e[r<<4&63]+"==")):2===o&&(r=(t[n-2]<<8)+t[n-1],i.push(e[r>>10]+e[r>>4&63]+e[r<<2&63]+"="));return i.join("")};for(var e=[],n=[],o="undefined"!=typeof Uint8Array?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",f=0,u=i.length;f0)throw new Error("Invalid string. Length must be a multiple of 4");var e=t.indexOf("=");return-1===e&&(e=r),[e,e===r?0:4-e%4]}function h(t,r,n){for(var o,i,f=[],u=r;u>18&63]+e[i>>12&63]+e[i>>6&63]+e[63&i]);return f.join("")}n["-".charCodeAt(0)]=62,n["_".charCodeAt(0)]=63},423:function(t,r,e){"use strict";function n(t,r){if(!(t instanceof r))throw new TypeError("Cannot call a class as a function")}function o(t,r){for(var e=0;eg)throw new RangeError(\'The value "\'+t+\'" is invalid for option "size"\');var r=new Uint8Array(t);return Object.setPrototypeOf(r,d.prototype),r}function d(t,r,e){if("number"==typeof t){if("string"==typeof r)throw new TypeError(\'The "string" argument must be of type string. Received type number\');return b(t)}return v(t,r,e)}function v(t,r,e){if("string"==typeof t)return function(t,r){"string"==typeof r&&""!==r||(r="utf8");if(!d.isEncoding(r))throw new TypeError("Unknown encoding: "+r);var e=0|A(t,r),n=y(e),o=n.write(t,r);o!==e&&(n=n.slice(0,o));return n}(t,r);if(ArrayBuffer.isView(t))return function(t){if(nt(t,Uint8Array)){var r=new Uint8Array(t);return B(r.buffer,r.byteOffset,r.byteLength)}return m(t)}(t);if(null==t)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+a(t));if(nt(t,ArrayBuffer)||t&&nt(t.buffer,ArrayBuffer))return B(t,r,e);if("undefined"!=typeof SharedArrayBuffer&&(nt(t,SharedArrayBuffer)||t&&nt(t.buffer,SharedArrayBuffer)))return B(t,r,e);if("number"==typeof t)throw new TypeError(\'The "value" argument must not be of type number. Received type number\');var n=t.valueOf&&t.valueOf();if(null!=n&&n!==t)return d.from(n,r,e);var o=function(t){if(d.isBuffer(t)){var r=0|E(t.length),e=y(r);return 0===e.length||t.copy(e,0,0,r),e}if(void 0!==t.length)return"number"!=typeof t.length||ot(t.length)?y(0):m(t);if("Buffer"===t.type&&Array.isArray(t.data))return m(t.data)}(t);if(o)return o;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof t[Symbol.toPrimitive])return d.from(t[Symbol.toPrimitive]("string"),r,e);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+a(t))}function w(t){if("number"!=typeof t)throw new TypeError(\'"size" argument must be of type number\');if(t<0)throw new RangeError(\'The value "\'+t+\'" is invalid for option "size"\')}function b(t){return w(t),y(t<0?0:0|E(t))}function m(t){for(var r=t.length<0?0:0|E(t.length),e=y(r),n=0;n=g)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+g.toString(16)+" bytes");return 0|t}function A(t,r){if(d.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||nt(t,ArrayBuffer))return t.byteLength;if("string"!=typeof t)throw new TypeError(\'The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type \'+a(t));var e=t.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===e)return 0;for(var o=!1;;)switch(r){case"ascii":case"latin1":case"binary":return e;case"utf8":case"utf-8":return tt(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*e;case"hex":return e>>>1;case"base64":return rt(t).length;default:if(o)return n?-1:tt(t).length;r=(""+r).toLowerCase(),o=!0}}function _(t,r,e){var n=!1;if((void 0===r||r<0)&&(r=0),r>this.length)return"";if((void 0===e||e>this.length)&&(e=this.length),e<=0)return"";if((e>>>=0)<=(r>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return N(this,r,e);case"utf8":case"utf-8":return C(this,r,e);case"ascii":return P(this,r,e);case"latin1":case"binary":return j(this,r,e);case"base64":return L(this,r,e);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return z(this,r,e);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}function I(t,r,e){var n=t[r];t[r]=t[e],t[e]=n}function U(t,r,e,n,o){if(0===t.length)return-1;if("string"==typeof e?(n=e,e=0):e>2147483647?e=2147483647:e<-2147483648&&(e=-2147483648),ot(e=+e)&&(e=o?0:t.length-1),e<0&&(e=t.length+e),e>=t.length){if(o)return-1;e=t.length-1}else if(e<0){if(!o)return-1;e=0}if("string"==typeof r&&(r=d.from(r,n)),d.isBuffer(r))return 0===r.length?-1:R(t,r,e,n,o);if("number"==typeof r)return r&=255,"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(t,r,e):Uint8Array.prototype.lastIndexOf.call(t,r,e):R(t,[r],e,n,o);throw new TypeError("val must be string, number or Buffer")}function R(t,r,e,n,o){var i,f=1,u=t.length,s=r.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(t.length<2||r.length<2)return-1;f=2,u/=2,s/=2,e/=2}function h(t,r){return 1===f?t[r]:t.readUInt16BE(r*f)}if(o){var a=-1;for(i=e;iu&&(e=u-s),i=e;i>=0;i--){for(var c=!0,p=0;po&&(n=o):n=o;var i,f=r.length;for(n>f/2&&(n=f/2),i=0;i>8,o=e%256,i.push(o),i.push(n);return i}(r,t.length-e),t,e,n)}function L(t,r,e){return 0===r&&e===t.length?c.fromByteArray(t):c.fromByteArray(t.slice(r,e))}function C(t,r,e){e=Math.min(t.length,e);for(var n=[],o=r;o239?4:i>223?3:i>191?2:1;if(o+u<=e){var s=void 0,h=void 0,a=void 0,c=void 0;switch(u){case 1:i<128&&(f=i);break;case 2:128==(192&(s=t[o+1]))&&(c=(31&i)<<6|63&s)>127&&(f=c);break;case 3:s=t[o+1],h=t[o+2],128==(192&s)&&128==(192&h)&&(c=(15&i)<<12|(63&s)<<6|63&h)>2047&&(c<55296||c>57343)&&(f=c);break;case 4:s=t[o+1],h=t[o+2],a=t[o+3],128==(192&s)&&128==(192&h)&&128==(192&a)&&(c=(15&i)<<18|(63&s)<<12|(63&h)<<6|63&a)>65535&&c<1114112&&(f=c)}}null===f?(f=65533,u=1):f>65535&&(f-=65536,n.push(f>>>10&1023|55296),f=56320|1023&f),n.push(f),o+=u}return function(t){var r=t.length;if(r<=k)return String.fromCharCode.apply(String,t);var e="",n=0;for(;nn.length?(d.isBuffer(i)||(i=d.from(i)),i.copy(n,o)):Uint8Array.prototype.set.call(n,i,o);else{if(!d.isBuffer(i))throw new TypeError(\'"list" argument must be an Array of Buffers\');i.copy(n,o)}o+=i.length}return n},d.byteLength=A,d.prototype._isBuffer=!0,d.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;re&&(t+=" ... "),""},l&&(d.prototype[l]=d.prototype.inspect),d.prototype.compare=function(t,r,e,n,o){if(nt(t,Uint8Array)&&(t=d.from(t,t.offset,t.byteLength)),!d.isBuffer(t))throw new TypeError(\'The "target" argument must be one of type Buffer or Uint8Array. Received type \'+a(t));if(void 0===r&&(r=0),void 0===e&&(e=t?t.length:0),void 0===n&&(n=0),void 0===o&&(o=this.length),r<0||e>t.length||n<0||o>this.length)throw new RangeError("out of range index");if(n>=o&&r>=e)return 0;if(n>=o)return-1;if(r>=e)return 1;if(this===t)return 0;for(var i=(o>>>=0)-(n>>>=0),f=(e>>>=0)-(r>>>=0),u=Math.min(i,f),s=this.slice(n,o),h=t.slice(r,e),c=0;c>>=0,isFinite(e)?(e>>>=0,void 0===n&&(n="utf8")):(n=e,e=void 0)}var o=this.length-r;if((void 0===e||e>o)&&(e=o),t.length>0&&(e<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var i=!1;;)switch(n){case"hex":return O(this,t,r,e);case"utf8":case"utf-8":return x(this,t,r,e);case"ascii":case"latin1":case"binary":return M(this,t,r,e);case"base64":return T(this,t,r,e);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return S(this,t,r,e);default:if(i)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),i=!0}},d.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var k=4096;function P(t,r,e){var n="";e=Math.min(t.length,e);for(var o=r;on)&&(e=n);for(var o="",i=r;ie)throw new RangeError("Trying to access beyond buffer length")}function D(t,r,e,n,o,i){if(!d.isBuffer(t))throw new TypeError(\'"buffer" argument must be a Buffer instance\');if(r>o||rt.length)throw new RangeError("Index out of range")}function Y(t,r,e,n,o){K(r,n,o,t,e,7);var i=Number(r&BigInt(4294967295));t[e++]=i,i>>=8,t[e++]=i,i>>=8,t[e++]=i,i>>=8,t[e++]=i;var f=Number(r>>BigInt(32)&BigInt(4294967295));return t[e++]=f,f>>=8,t[e++]=f,f>>=8,t[e++]=f,f>>=8,t[e++]=f,e}function W(t,r,e,n,o){K(r,n,o,t,e,7);var i=Number(r&BigInt(4294967295));t[e+7]=i,i>>=8,t[e+6]=i,i>>=8,t[e+5]=i,i>>=8,t[e+4]=i;var f=Number(r>>BigInt(32)&BigInt(4294967295));return t[e+3]=f,f>>=8,t[e+2]=f,f>>=8,t[e+1]=f,f>>=8,t[e]=f,e+8}function G(t,r,e,n,o,i){if(e+n>t.length)throw new RangeError("Index out of range");if(e<0)throw new RangeError("Index out of range")}function H(t,r,e,n,o){return r=+r,e>>>=0,o||G(t,0,e,4),p.write(t,r,e,n,23,4),e+4}function V(t,r,e,n,o){return r=+r,e>>>=0,o||G(t,0,e,8),p.write(t,r,e,n,52,8),e+8}d.prototype.slice=function(t,r){var e=this.length;(t=~~t)<0?(t+=e)<0&&(t=0):t>e&&(t=e),(r=void 0===r?e:~~r)<0?(r+=e)<0&&(r=0):r>e&&(r=e),r>>=0,r>>>=0,e||F(t,r,this.length);for(var n=this[t],o=1,i=0;++i>>=0,r>>>=0,e||F(t,r,this.length);for(var n=this[t+--r],o=1;r>0&&(o*=256);)n+=this[t+--r]*o;return n},d.prototype.readUint8=d.prototype.readUInt8=function(t,r){return t>>>=0,r||F(t,1,this.length),this[t]},d.prototype.readUint16LE=d.prototype.readUInt16LE=function(t,r){return t>>>=0,r||F(t,2,this.length),this[t]|this[t+1]<<8},d.prototype.readUint16BE=d.prototype.readUInt16BE=function(t,r){return t>>>=0,r||F(t,2,this.length),this[t]<<8|this[t+1]},d.prototype.readUint32LE=d.prototype.readUInt32LE=function(t,r){return t>>>=0,r||F(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},d.prototype.readUint32BE=d.prototype.readUInt32BE=function(t,r){return t>>>=0,r||F(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},d.prototype.readBigUInt64LE=ft((function(t){Q(t>>>=0,"offset");var r=this[t],e=this[t+7];void 0!==r&&void 0!==e||X(t,this.length-8);var n=r+this[++t]*Math.pow(2,8)+this[++t]*Math.pow(2,16)+this[++t]*Math.pow(2,24),o=this[++t]+this[++t]*Math.pow(2,8)+this[++t]*Math.pow(2,16)+e*Math.pow(2,24);return BigInt(n)+(BigInt(o)<>>=0,"offset");var r=this[t],e=this[t+7];void 0!==r&&void 0!==e||X(t,this.length-8);var n=r*Math.pow(2,24)+this[++t]*Math.pow(2,16)+this[++t]*Math.pow(2,8)+this[++t],o=this[++t]*Math.pow(2,24)+this[++t]*Math.pow(2,16)+this[++t]*Math.pow(2,8)+e;return(BigInt(n)<>>=0,r>>>=0,e||F(t,r,this.length);for(var n=this[t],o=1,i=0;++i=(o*=128)&&(n-=Math.pow(2,8*r)),n},d.prototype.readIntBE=function(t,r,e){t>>>=0,r>>>=0,e||F(t,r,this.length);for(var n=r,o=1,i=this[t+--n];n>0&&(o*=256);)i+=this[t+--n]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*r)),i},d.prototype.readInt8=function(t,r){return t>>>=0,r||F(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},d.prototype.readInt16LE=function(t,r){t>>>=0,r||F(t,2,this.length);var e=this[t]|this[t+1]<<8;return 32768&e?4294901760|e:e},d.prototype.readInt16BE=function(t,r){t>>>=0,r||F(t,2,this.length);var e=this[t+1]|this[t]<<8;return 32768&e?4294901760|e:e},d.prototype.readInt32LE=function(t,r){return t>>>=0,r||F(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},d.prototype.readInt32BE=function(t,r){return t>>>=0,r||F(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},d.prototype.readBigInt64LE=ft((function(t){Q(t>>>=0,"offset");var r=this[t],e=this[t+7];void 0!==r&&void 0!==e||X(t,this.length-8);var n=this[t+4]+this[t+5]*Math.pow(2,8)+this[t+6]*Math.pow(2,16)+(e<<24);return(BigInt(n)<>>=0,"offset");var r=this[t],e=this[t+7];void 0!==r&&void 0!==e||X(t,this.length-8);var n=(r<<24)+this[++t]*Math.pow(2,16)+this[++t]*Math.pow(2,8)+this[++t];return(BigInt(n)<>>=0,r||F(t,4,this.length),p.read(this,t,!0,23,4)},d.prototype.readFloatBE=function(t,r){return t>>>=0,r||F(t,4,this.length),p.read(this,t,!1,23,4)},d.prototype.readDoubleLE=function(t,r){return t>>>=0,r||F(t,8,this.length),p.read(this,t,!0,52,8)},d.prototype.readDoubleBE=function(t,r){return t>>>=0,r||F(t,8,this.length),p.read(this,t,!1,52,8)},d.prototype.writeUintLE=d.prototype.writeUIntLE=function(t,r,e,n){(t=+t,r>>>=0,e>>>=0,n)||D(this,t,r,e,Math.pow(2,8*e)-1,0);var o=1,i=0;for(this[r]=255&t;++i>>=0,e>>>=0,n)||D(this,t,r,e,Math.pow(2,8*e)-1,0);var o=e-1,i=1;for(this[r+o]=255&t;--o>=0&&(i*=256);)this[r+o]=t/i&255;return r+e},d.prototype.writeUint8=d.prototype.writeUInt8=function(t,r,e){return t=+t,r>>>=0,e||D(this,t,r,1,255,0),this[r]=255&t,r+1},d.prototype.writeUint16LE=d.prototype.writeUInt16LE=function(t,r,e){return t=+t,r>>>=0,e||D(this,t,r,2,65535,0),this[r]=255&t,this[r+1]=t>>>8,r+2},d.prototype.writeUint16BE=d.prototype.writeUInt16BE=function(t,r,e){return t=+t,r>>>=0,e||D(this,t,r,2,65535,0),this[r]=t>>>8,this[r+1]=255&t,r+2},d.prototype.writeUint32LE=d.prototype.writeUInt32LE=function(t,r,e){return t=+t,r>>>=0,e||D(this,t,r,4,4294967295,0),this[r+3]=t>>>24,this[r+2]=t>>>16,this[r+1]=t>>>8,this[r]=255&t,r+4},d.prototype.writeUint32BE=d.prototype.writeUInt32BE=function(t,r,e){return t=+t,r>>>=0,e||D(this,t,r,4,4294967295,0),this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=255&t,r+4},d.prototype.writeBigUInt64LE=ft((function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Y(this,t,r,BigInt(0),BigInt("0xffffffffffffffff"))})),d.prototype.writeBigUInt64BE=ft((function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return W(this,t,r,BigInt(0),BigInt("0xffffffffffffffff"))})),d.prototype.writeIntLE=function(t,r,e,n){if(t=+t,r>>>=0,!n){var o=Math.pow(2,8*e-1);D(this,t,r,e,o-1,-o)}var i=0,f=1,u=0;for(this[r]=255&t;++i>0)-u&255;return r+e},d.prototype.writeIntBE=function(t,r,e,n){if(t=+t,r>>>=0,!n){var o=Math.pow(2,8*e-1);D(this,t,r,e,o-1,-o)}var i=e-1,f=1,u=0;for(this[r+i]=255&t;--i>=0&&(f*=256);)t<0&&0===u&&0!==this[r+i+1]&&(u=1),this[r+i]=(t/f>>0)-u&255;return r+e},d.prototype.writeInt8=function(t,r,e){return t=+t,r>>>=0,e||D(this,t,r,1,127,-128),t<0&&(t=255+t+1),this[r]=255&t,r+1},d.prototype.writeInt16LE=function(t,r,e){return t=+t,r>>>=0,e||D(this,t,r,2,32767,-32768),this[r]=255&t,this[r+1]=t>>>8,r+2},d.prototype.writeInt16BE=function(t,r,e){return t=+t,r>>>=0,e||D(this,t,r,2,32767,-32768),this[r]=t>>>8,this[r+1]=255&t,r+2},d.prototype.writeInt32LE=function(t,r,e){return t=+t,r>>>=0,e||D(this,t,r,4,2147483647,-2147483648),this[r]=255&t,this[r+1]=t>>>8,this[r+2]=t>>>16,this[r+3]=t>>>24,r+4},d.prototype.writeInt32BE=function(t,r,e){return t=+t,r>>>=0,e||D(this,t,r,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=255&t,r+4},d.prototype.writeBigInt64LE=ft((function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Y(this,t,r,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),d.prototype.writeBigInt64BE=ft((function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return W(this,t,r,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),d.prototype.writeFloatLE=function(t,r,e){return H(this,t,r,!0,e)},d.prototype.writeFloatBE=function(t,r,e){return H(this,t,r,!1,e)},d.prototype.writeDoubleLE=function(t,r,e){return V(this,t,r,!0,e)},d.prototype.writeDoubleBE=function(t,r,e){return V(this,t,r,!1,e)},d.prototype.copy=function(t,r,e,n){if(!d.isBuffer(t))throw new TypeError("argument should be a Buffer");if(e||(e=0),n||0===n||(n=this.length),r>=t.length&&(r=t.length),r||(r=0),n>0&&n=this.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),t.length-r>>=0,e=void 0===e?this.length:e>>>0,t||(t=0),"number"==typeof t)for(i=r;i=n+4;e-=3)r="_".concat(t.slice(e-3,e)).concat(r);return"".concat(t.slice(0,e)).concat(r)}function K(t,r,e,n,o,i){if(t>e||t3?0===r||r===BigInt(0)?">= 0".concat(u," and < 2").concat(u," ** ").concat(8*(i+1)).concat(u):">= -(2".concat(u," ** ").concat(8*(i+1)-1).concat(u,") and < 2 ** ")+"".concat(8*(i+1)-1).concat(u):">= ".concat(r).concat(u," and <= ").concat(e).concat(u),new q.ERR_OUT_OF_RANGE("value",f,t)}!function(t,r,e){Q(r,"offset"),void 0!==t[r]&&void 0!==t[r+e]||X(r,t.length-(e+1))}(n,o,i)}function Q(t,r){if("number"!=typeof t)throw new q.ERR_INVALID_ARG_TYPE(r,"number",t)}function X(t,r,e){if(Math.floor(t)!==t)throw Q(t,e),new q.ERR_OUT_OF_RANGE(e||"offset","an integer",t);if(r<0)throw new q.ERR_BUFFER_OUT_OF_BOUNDS;throw new q.ERR_OUT_OF_RANGE(e||"offset",">= ".concat(e?1:0," and <= ").concat(r),t)}J("ERR_BUFFER_OUT_OF_BOUNDS",(function(t){return t?"".concat(t," is outside of buffer bounds"):"Attempt to access memory outside buffer bounds"}),RangeError),J("ERR_INVALID_ARG_TYPE",(function(t,r){return\'The "\'.concat(t,\'" argument must be of type number. Received type \').concat(a(r))}),TypeError),J("ERR_OUT_OF_RANGE",(function(t,r,e){var n=\'The value of "\'.concat(t,\'" is out of range.\'),o=e;return Number.isInteger(e)&&Math.abs(e)>Math.pow(2,32)?o=Z(String(e)):"bigint"==typeof e&&(o=String(e),(e>Math.pow(BigInt(2),BigInt(32))||e<-Math.pow(BigInt(2),BigInt(32)))&&(o=Z(o)),o+="n"),n+=" It must be ".concat(r,". Received ").concat(o)}),RangeError);var $=/[^+/0-9A-Za-z-_]/g;function tt(t,r){var e;r=r||1/0;for(var n=t.length,o=null,i=[],f=0;f55295&&e<57344){if(!o){if(e>56319){(r-=3)>-1&&i.push(239,191,189);continue}if(f+1===n){(r-=3)>-1&&i.push(239,191,189);continue}o=e;continue}if(e<56320){(r-=3)>-1&&i.push(239,191,189),o=e;continue}e=65536+(o-55296<<10|e-56320)}else o&&(r-=3)>-1&&i.push(239,191,189);if(o=null,e<128){if((r-=1)<0)break;i.push(e)}else if(e<2048){if((r-=2)<0)break;i.push(e>>6|192,63&e|128)}else if(e<65536){if((r-=3)<0)break;i.push(e>>12|224,e>>6&63|128,63&e|128)}else{if(!(e<1114112))throw new Error("Invalid code point");if((r-=4)<0)break;i.push(e>>18|240,e>>12&63|128,e>>6&63|128,63&e|128)}}return i}function rt(t){return c.toByteArray(function(t){if((t=(t=t.split("=")[0]).trim().replace($,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function et(t,r,e,n){var o;for(o=0;o=r.length||o>=t.length);++o)r[o+e]=t[o];return o}function nt(t,r){return t instanceof r||null!=t&&null!=t.constructor&&null!=t.constructor.name&&t.constructor.name===r.name}function ot(t){return t!=t}var it=function(){for(var t="0123456789abcdef",r=new Array(256),e=0;e<16;++e)for(var n=16*e,o=0;o<16;++o)r[n+o]=t[e]+t[o];return r}();function ft(t){return"undefined"==typeof BigInt?ut:t}function ut(){throw new Error("BigInt not supported")}},429:function(t,r){r.read=function(t,r,e,n,o){var i,f,u=8*o-n-1,s=(1<>1,a=-7,c=e?o-1:0,p=e?-1:1,l=t[r+c];for(c+=p,i=l&(1<<-a)-1,l>>=-a,a+=u;a>0;i=256*i+t[r+c],c+=p,a-=8);for(f=i&(1<<-a)-1,i>>=-a,a+=n;a>0;f=256*f+t[r+c],c+=p,a-=8);if(0===i)i=1-h;else{if(i===s)return f?NaN:1/0*(l?-1:1);f+=Math.pow(2,n),i-=h}return(l?-1:1)*f*Math.pow(2,i-n)},r.write=function(t,r,e,n,o,i){var f,u,s,h=8*i-o-1,a=(1<>1,p=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,l=n?0:i-1,g=n?1:-1,y=r<0||0===r&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(u=isNaN(r)?1:0,f=a):(f=Math.floor(Math.log(r)/Math.LN2),r*(s=Math.pow(2,-f))<1&&(f--,s*=2),(r+=f+c>=1?p/s:p*Math.pow(2,1-c))*s>=2&&(f++,s/=2),f+c>=a?(u=0,f=a):f+c>=1?(u=(r*s-1)*Math.pow(2,o),f+=c):(u=r*Math.pow(2,c-1)*Math.pow(2,o),f=0));o>=8;t[e+l]=255&u,l+=g,u/=256,o-=8);for(f=f<0;t[e+l]=255&f,l+=g,f/=256,h-=8);t[e+l-g]|=128*y}},474:function(t,r,e){"use strict";var n=e(957),o=e(158);function i(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}r.BlockHash=i,i.prototype.update=function(t,r){if(t=n.toArray(t,r),this.pending?this.pending=this.pending.concat(t):this.pending=t,this.pendingTotal+=t.length,this.pending.length>=this._delta8){var e=(t=this.pending).length%this._delta8;this.pending=t.slice(t.length-e,t.length),0===this.pending.length&&(this.pending=null),t=n.join32(t,0,t.length-e,this.endian);for(var o=0;o>>24&255,n[o++]=t>>>16&255,n[o++]=t>>>8&255,n[o++]=255&t}else for(n[o++]=255&t,n[o++]=t>>>8&255,n[o++]=t>>>16&255,n[o++]=t>>>24&255,n[o++]=0,n[o++]=0,n[o++]=0,n[o++]=0,i=8;i>>3},r.g1_256=function(t){return n(t,17)^n(t,19)^t>>>10}},957:function(t,r,e){"use strict";var n=e(158),o=e(842);function i(t,r){return 55296==(64512&t.charCodeAt(r))&&(!(r<0||r+1>=t.length)&&56320==(64512&t.charCodeAt(r+1)))}function f(t){return(t>>>24|t>>>8&65280|t<<8&16711680|(255&t)<<24)>>>0}function u(t){return 1===t.length?"0"+t:t}function s(t){return 7===t.length?"0"+t:6===t.length?"00"+t:5===t.length?"000"+t:4===t.length?"0000"+t:3===t.length?"00000"+t:2===t.length?"000000"+t:1===t.length?"0000000"+t:t}r.inherits=o,r.toArray=function(t,r){if(Array.isArray(t))return t.slice();if(!t)return[];var e=[];if("string"==typeof t)if(r){if("hex"===r)for((t=t.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(t="0"+t),o=0;o>6|192,e[n++]=63&f|128):i(t,o)?(f=65536+((1023&f)<<10)+(1023&t.charCodeAt(++o)),e[n++]=f>>18|240,e[n++]=f>>12&63|128,e[n++]=f>>6&63|128,e[n++]=63&f|128):(e[n++]=f>>12|224,e[n++]=f>>6&63|128,e[n++]=63&f|128)}else for(o=0;o>>0}return f},r.split32=function(t,r){for(var e=new Array(4*t.length),n=0,o=0;n>>24,e[o+1]=i>>>16&255,e[o+2]=i>>>8&255,e[o+3]=255&i):(e[o+3]=i>>>24,e[o+2]=i>>>16&255,e[o+1]=i>>>8&255,e[o]=255&i)}return e},r.rotr32=function(t,r){return t>>>r|t<<32-r},r.rotl32=function(t,r){return t<>>32-r},r.sum32=function(t,r){return t+r>>>0},r.sum32_3=function(t,r,e){return t+r+e>>>0},r.sum32_4=function(t,r,e,n){return t+r+e+n>>>0},r.sum32_5=function(t,r,e,n,o){return t+r+e+n+o>>>0},r.sum64=function(t,r,e,n){var o=t[r],i=n+t[r+1]>>>0,f=(i>>0,t[r+1]=i},r.sum64_hi=function(t,r,e,n){return(r+n>>>0>>0},r.sum64_lo=function(t,r,e,n){return r+n>>>0},r.sum64_4_hi=function(t,r,e,n,o,i,f,u){var s=0,h=r;return s+=(h=h+n>>>0)>>0)>>0)>>0},r.sum64_4_lo=function(t,r,e,n,o,i,f,u){return r+n+i+u>>>0},r.sum64_5_hi=function(t,r,e,n,o,i,f,u,s,h){var a=0,c=r;return a+=(c=c+n>>>0)>>0)>>0)>>0)>>0},r.sum64_5_lo=function(t,r,e,n,o,i,f,u,s,h){return r+n+i+u+h>>>0},r.rotr64_hi=function(t,r,e){return(r<<32-e|t>>>e)>>>0},r.rotr64_lo=function(t,r,e){return(t<<32-e|r>>>e)>>>0},r.shr64_hi=function(t,r,e){return t>>>e},r.shr64_lo=function(t,r,e){return(t<<32-e|r>>>e)>>>0}},842:function(t){"function"==typeof Object.create?t.exports=function(t,r){r&&(t.super_=r,t.prototype=Object.create(r.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:t.exports=function(t,r){if(r){t.super_=r;var e=function(){};e.prototype=r.prototype,t.prototype=new e,t.prototype.constructor=t}}},158:function(t){function r(t,r){if(!t)throw new Error(r||"Assertion failed")}t.exports=r,r.equal=function(t,r,e){if(t!=r)throw new Error(e||"Assertion failed: "+t+" != "+r)}},1:function(t,r,e){"use strict";r.utils=e(897),r.Bloom=e(492),r.Solver=e(634),r.Verifier=e(865)},492:function(t){"use strict";function r(t,r,e){this.filter=new Uint32Array(Math.ceil(t/32)),this.size=t,this.n=r,this.tweak=e}function e(t,r){var e,n,o,i=65535&t,f=65535&r;return o=(t>>>16)*f+(r>>>16)*i&65535,(e=(o+=(n=i*f)>>>16)<<16|(n&=65535))<0&&(e+=4294967296),e}function n(t,r){var e=t+r&4294967295;return e<0&&(e+=4294967296),e}function o(t,r){return t<>>32-r}t.exports=r,r.prototype.hash=function(t,r){return function(t,r){var i,f,u,s,h=3432918353,a=461845907,c=15,p=13,l=5,g=3864292196,y=r;for(i=0;i+4<=t.length;i+=4)f=e(f=t[i]|t[i+1]<<8|t[i+2]<<16|t[i+3]<<24,h),f=e(f=o(f,c),a),y=n(y=e(y=o(y^=f,p),l),g);if(i!==t.length){for(u=0,s=t.length-1;s>=i;s--)u=u<<8|t[s];(u=o(u=e(u,h),c))<0&&(u+=4294967296),y^=u=e(u,a)}y^=t.length,y=e(y^=y>>>16,2246822507),y=e(y^=y>>>13,3266489909),(y^=y>>>16)<0&&(y+=4294967296);return y}(t,n(e(r,4221880213),this.tweak))%this.size},r.prototype.reset=function(){this.filter.fill(0)},r.prototype.add=function(t){for(var r=0;r>5;this.filter[o]|=n}},r.prototype.test=function(t){for(var r=0;r>5;if(0==(this.filter[o]&n))return!1}return!0}},634:function(t,r,e){"use strict";var n=e(897);function o(){}t.exports=o,o.prototype._genNonce=function(t){for(var r=Date.now(),e=n.writeTimestamp(t,r,0),o=e+4*((t.length-e)/4|0);e>>0,e);for(;e>>0},o.prototype.solve=function(t,r){for(var e=n.allocBuffer(16);;){this._genNonce(e);var o=n.hash(e,r);if(n.checkComplexity(o,t))return e}}},897:function(t,r,e){"use strict";var n=e(670);function o(t,r){return(t[r]<<24|t[r+1]<<16|t[r+2]<<8|t[r+3])>>>0}function i(t,r,e){return t[e]=r>>>24&255,t[e+1]=r>>>16&255,t[e+2]=r>>>8&255,t[e+3]=255&r,e+4}r.EMPTY_BUFFER=[],r.allocBuffer=function(t){for(var r=new Array(t),e=0;e>>0;return e=i(t,r/4294967296>>>0,e),i(t,n,e)},r.readTimestamp=function(t,r){return 4294967296*o(t,r)+o(t,r+4)},r.hash=function(t,r){var e=n();return r&&e.update(r),e.update(t),e.digest()},r.checkComplexity=e(591).checkComplexity},591:function(t,r,e){"use strict";var n=e(158);r.checkComplexity=function(t,r){n(r<8*t.length,"Complexity is too high");var e,o=0;for(e=0;e<=r-8;e+=8,o++)if(0!==t[o])return!1;var i=255<<8+e-r;return 0==(t[o]&i)}},865:function(t,r,e){"use strict";var n=e(1),o=n.utils,i=n.Bloom;function f(t){var r=function(){return new i(t.size,t.n,4294967296*Math.random()>>>0)};this.blooms=[r(),r()],this.complexity=t.complexity,this.validity=t.validity||6e4,this.prefix=t.prefix||o.EMPTY_BUFFER}t.exports=f,f.prototype.check=function(t,r){var e=this.prefix;if(t.length<8)return!1;if(t.length>32)return!1;var n=o.readTimestamp(t,0),i=Date.now();if(Math.abs(n-i)>this.validity)return!1;for(var f=0;f=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var s=n.call(o,"catchLoc"),u=n.call(o,"finallyLoc");if(s&&u){if(this.prev=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),x(r),d}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var i=n.arg;x(r)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:k(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),d}},e}function a(e,t,r,n,i,o,a){try{var s=e[o](a),u=s.value}catch(e){return void r(e)}s.done?t(u):Promise.resolve(u).then(n,i)}var s,u=(s=null,{getWorker:function(){return null===s&&(s=t()()),s},stopWorker:function(){null==s||s.terminate(),s=null}}),c=u.getWorker,l=u.stopWorker,f=function(){var e,t=(e=o().mark((function e(t){var r,n,i,a;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.prefix,n=t.complexity,l(),i={id:"".concat(Date.now(),"-").concat(r),prefix:r,complexity:n},a=c(),e.abrupt("return",new Promise((function(e,t){var r=!1,n=void 0,o=void 0;o=function(s){s.id===i.id&&(r=!0,"error"===s.status?t(s.error):e({nonce:s.nonce,calctime:s.calctime}),"function"==typeof n&&a.removeEventListener("error",n),"function"==typeof o&&a.removeEventListener("message",o))},n=function(e){"function"==typeof n&&a.removeEventListener("error",n),"function"==typeof o&&a.removeEventListener("message",o),r=!0,t(e)},a.addEventListener("message",o),a.addEventListener("error",n),a.solve(i).then(o),setTimeout((function(){r||(l(),t("Worker timeout"))}),6e4)})));case 5:case"end":return e.stop()}}),e)})),function(){var t=this,r=arguments;return new Promise((function(n,i){var o=e.apply(t,r);function s(e){a(o,n,i,s,u,"next",e)}function u(e){a(o,n,i,s,u,"throw",e)}s(void 0)}))});return function(e){return t.apply(this,arguments)}}()}(),e.exports=i}()},10723:function(e,t,r){"use strict";function n(e){o.length||(i(),!0),o[o.length]=e}e.exports=n;var i,o=[],a=0;function s(){for(;a1024){for(var t=0,r=o.length-a;t